platform/core/uifw/aurum.git
4 years agobuild: enable coverage analytics
Wonki Kim [Fri, 24 Apr 2020 10:48:28 +0000 (19:48 +0900)]
build: enable coverage analytics

you can build this package to check coverage,
by passing --define "gcov 1" to gbs build option.

Change-Id: I5d2dc750a8d89979a89caf7e0b62ab1323e0ee3b

4 years agobootstrap: implement getDeviceTime command
Wonki Kim [Fri, 24 Apr 2020 10:03:11 +0000 (19:03 +0900)]
bootstrap: implement getDeviceTime command

this patch implement getDeviceTime command.
the command serves a caller 1ms resolution timestamp.
which means a unit of return value present in ms unit.

Change-Id: Ic9f4dfa12f1e5a95ceb35a27b710903dea41887b

4 years agobootstrap: turn display on just before executing commands
Wonki Kim [Fri, 24 Apr 2020 10:52:42 +0000 (19:52 +0900)]
bootstrap: turn display on just before executing commands

commands might be working properly while display isn't in off state.
this patch turns the display on just before executing commands.

Change-Id: I8a6b38fbe13a7d1b04e6ba65e9f1c58492ab7578

4 years agoexample: rename a script to use it as internal test
Wonki Kim [Fri, 24 Apr 2020 09:58:28 +0000 (18:58 +0900)]
example: rename a script to use it as internal test

there is a script that calls commands which are for internal use only.
this patch rename the script as according purpose

Change-Id: Iacea3beae4fdab364ec7be35ab640a3eb076cb02

4 years agoexample/python: introduce a script to whole features submit/tizen/20200423.214459 submit/tizen/20200424.020557
Wonki Kim [Mon, 20 Apr 2020 15:50:45 +0000 (00:50 +0900)]
example/python: introduce a script to whole features

this patch introduces a python script that is testing whole aurum features.
Though some tests are crappy due to a kind of lack of feature for now,
it will be supported by libaurum later.

Change-Id: Icb7ebfa5887f53c70735dd3a739a04c364e11e1f

4 years agoaurum: enhance tizen implementations
Wonki Kim [Mon, 20 Apr 2020 15:45:26 +0000 (00:45 +0900)]
aurum: enhance tizen implementations

this patch contains
 * add more privileges into tizen service app manifest
 * fine tune bootstrap commands
 * fix bugs in tizen device impl

Change-Id: Iee68ce9e4dc6c1d7b28e242cae27a6ef19b305fc

4 years agolibaurum: integrate to use a ecore main loop
Wonki Kim [Sat, 18 Apr 2020 02:45:39 +0000 (11:45 +0900)]
libaurum: integrate to use a ecore main loop

tizen service app uses ecore main loop.
and efl_util* works in the loop.
this patch modifies it to use ecore main loop.

Change-Id: I6a937a7820a89371b2e081739cb4cdf974f394cf

4 years agobootstrap: Add a new privillege for bootstrap
Wonki Kim [Fri, 17 Apr 2020 09:22:58 +0000 (18:22 +0900)]
bootstrap: Add a new privillege for bootstrap

this privilege is necessary to generate a fake input.

Change-Id: I48551e307bae05f05eb003e292def8b615afbb61

4 years agobootstrap: Add a new privilege into bootstrap service submit/tizen/20200417.234115 submit/tizen/20200419.220844 submit/tizen/20200420.213352 submit/tizen/20200421.221442 submit/tizen/20200422.215015
Wonki Kim [Tue, 14 Apr 2020 13:00:03 +0000 (22:00 +0900)]
bootstrap: Add a new privilege into bootstrap service

missing privilege has been appended

Change-Id: I5ef5347d2cdf6bbb560a92a9952580c72bd4da84

4 years agobootstrap: implement few more properties
Wonki Kim [Mon, 13 Apr 2020 01:03:40 +0000 (10:03 +0900)]
bootstrap: implement few more properties

this patch implements few more properties to retrieve a attr of object

Change-Id: Id7403ded0f4ce4755f333d2fbfeeab5329879ad3

4 years agoAdd a return statement in non-void function
Wonki Kim [Thu, 2 Apr 2020 00:40:25 +0000 (09:40 +0900)]
Add a return statement in non-void function

Change-Id: I8bb3d95187c5af78fd2f85a8fe3cd3387cd6eac6

4 years agobootstrap: rework findelement command
Wonki Kim [Thu, 26 Mar 2020 09:43:18 +0000 (18:43 +0900)]
bootstrap: rework findelement command

Change-Id: Ifecf25b5115a9a081e562f39fcf821a9732dcb9b

4 years agobootstrap: change bootstrap to a tizen service app
Wonki kim [Sun, 12 Apr 2020 15:01:45 +0000 (08:01 -0700)]
bootstrap: change bootstrap to a tizen service app

to make user able to run/kill bootstrap server,
this patch change bootstrap to a tizen service app.

Change-Id: Id604c2fbeabae0fd44536367151f306a181a1167

4 years agobootstrap: rework ClearCommand accepted/tizen/unified/20200409.083718 submit/tizen/20200405.220557 submit/tizen/20200406.235844 submit/tizen/20200407.212858 submit/tizen/20200408.212617
Wonki Kim [Thu, 26 Mar 2020 09:58:27 +0000 (18:58 +0900)]
bootstrap: rework ClearCommand

Change-Id: Id515e6b377e0fe1c52d5f3af0d9027b3acf9011b

4 years agobootstrap/aurum: rework GetAttributeCommand
Wonki Kim [Fri, 27 Mar 2020 05:06:10 +0000 (14:06 +0900)]
bootstrap/aurum: rework GetAttributeCommand

to support GetAttributeCommand, this patch implements regarding stuffs.

Change-Id: I8fa93837b0bc14899091b6a7e3b24af3a3d4905b

4 years agobootstrap: refactoring ClickCommand
Wonki Kim [Thu, 26 Mar 2020 10:30:04 +0000 (19:30 +0900)]
bootstrap: refactoring ClickCommand

this patch modifies ClickCommand to use polypolphic call

Change-Id: I3583a30110153d5a75db767a4d9cff732778edd6

4 years agofix build failure
Wonki Kim [Tue, 24 Mar 2020 11:51:09 +0000 (20:51 +0900)]
fix build failure

Change-Id: Ia9f363e4f28ae267a676c6603b8d21f40e21a4cf

4 years agolibaurum: add a missing header accepted/tizen/unified/20200401.132604 submit/tizen/20200331.015913
Wonki Kim [Wed, 25 Mar 2020 01:22:10 +0000 (10:22 +0900)]
libaurum: add a missing header

string.h is needed to use strdup

Change-Id: Icf6e14ea3a5425054c4c817ba72886ffb058c167

4 years agobootstrap: findelement refactoring accepted/tizen/unified/20200325.055659 submit/tizen/20200324.103919
Wonki Kim [Mon, 23 Mar 2020 12:06:17 +0000 (21:06 +0900)]
bootstrap: findelement refactoring

Change-Id: If1ecec77bb8cdaf415ef89cf0b7b470437871037

4 years agolibaurum: fix leaking memory by using smart pointer
Wonki Kim [Mon, 23 Mar 2020 08:43:52 +0000 (17:43 +0900)]
libaurum: fix leaking memory by using smart pointer

Change-Id: I5881a568c4ed16234c19521392750b9b84b3b4ab

4 years agolibaurum: extract methods into Utils class
Wonki Kim [Mon, 23 Mar 2020 08:59:37 +0000 (17:59 +0900)]
libaurum: extract methods into Utils class

Change-Id: Ieea9356d5f5683485d342b1adeed828a3df57019

util error

Change-Id: Ie32a3ad432b0684182a9212bc63891e9cbe87660

4 years agolibaurum: rename a impl of device interface
Wonki Kim [Wed, 18 Mar 2020 07:53:07 +0000 (16:53 +0900)]
libaurum: rename a impl of device interface

tm1 is too specific to be a name of a file.
this patch renames it more general.

Change-Id: I79b97efebbf138485249786659f0833522e51ff7

4 years agobootstrap: fix svace/coverity issues for some commands
Wonki Kim [Mon, 23 Mar 2020 12:06:31 +0000 (21:06 +0900)]
bootstrap: fix svace/coverity issues for some commands

Change-Id: I591d160243446ae0eec9d571b3630734543a6338

4 years agolibaurum: modify to register at callbacks before enabling atspi
Wonki Kim [Mon, 23 Mar 2020 09:04:45 +0000 (18:04 +0900)]
libaurum: modify to register at callbacks before enabling atspi

events get missed once callbacks are registered after enabling atspi
this patch modifies it.

Change-Id: I568455eaf07efd37e12eb2c821873255f920fa99

4 years agomisc: update a helper script
Wonki Kim [Mon, 23 Mar 2020 09:14:57 +0000 (18:14 +0900)]
misc: update a helper script

Change-Id: Ibc9e4fd493fad0de439277d7716abb537b619369

4 years agopackaging: colorize build logs
Wonki Kim [Mon, 23 Mar 2020 09:01:03 +0000 (18:01 +0900)]
packaging: colorize build logs

Change-Id: Ia87d0d052c0569062db9e9bd87241b649ba22e36

4 years agobootstrap: clean up commands
Wonki Kim [Mon, 23 Mar 2020 09:59:32 +0000 (18:59 +0900)]
bootstrap: clean up commands

this patch
removes a warning,
and a crappy comment.

Change-Id: Ibff7c66ca8347fd3b61db65044ca3f70d549ce39

4 years agobootstrap: fix a potentional null-dereferencing accepted/tizen/unified/20200324.101718 submit/tizen/20200322.220136 submit/tizen/20200323.121436
Wonki Kim [Wed, 18 Mar 2020 05:07:19 +0000 (14:07 +0900)]
bootstrap: fix a potentional null-dereferencing

this patch fixes a potentional null-deref error

Change-Id: I0132cdab6410ea10ebb7b00e00306e8a1d5806b6

4 years agobootstrap: modify to check a unchecked return value.
Wonki Kim [Wed, 18 Mar 2020 05:01:23 +0000 (14:01 +0900)]
bootstrap: modify to check a unchecked return value.

this path modifies to check an unchcked return value of an api.

Change-Id: I12b22e730c950b65312b68e20257a278497a22d8

4 years agolibaurum: fix a potentional error from missing-return
Wonki Kim [Wed, 18 Mar 2020 04:47:05 +0000 (13:47 +0900)]
libaurum: fix a potentional error from missing-return

missing return value can cause a problem related with stack frame.
this patch fixes it in advance.

Change-Id: If3ee0269a9f94d6df800af84e67a83bdc60d5b33

4 years agospec: fix a spec to indicate proper dependencies accepted/tizen/unified/20200304.010541 submit/tizen/20200303.070543 submit/tizen/20200303.214157
Wonki Kim [Fri, 21 Feb 2020 07:11:23 +0000 (16:11 +0900)]
spec: fix a spec to indicate proper dependencies

Change-Id: I1bd729a6c9f38aadac952d082868a10aca37fb7d

4 years agospec: modify 'Requires' dependencies in rpm spec
Wonki Kim [Fri, 21 Feb 2020 04:43:27 +0000 (13:43 +0900)]
spec: modify 'Requires' dependencies in rpm spec

Requires means that a dependency which is required while running or installing.
however aurum.spec was defined to requires a result of pkgconfig().
and it means devel package which is a depedency for building.
it may cause mass increasing of image size.

Change-Id: I4ec27bb92355963f1fe9bf7bb619cebfa73c03c7

4 years agolibaurum: rename Accessible class to AccessibleWatcher
Wonki Kim [Thu, 13 Feb 2020 07:11:35 +0000 (16:11 +0900)]
libaurum: rename Accessible class to AccessibleWatcher

Accessible class monitors atspi event to know the top activated node.
so this patch renames the class to another which is more reasonable.

Change-Id: Id266cba9674b6519fd9c23a928e00612c684e8eb

4 years agobootstrap: main loop integration
Wonki Kim [Thu, 13 Feb 2020 07:23:03 +0000 (16:23 +0900)]
bootstrap: main loop integration

Change-Id: Ifad598eeabbe37d802c819e7c5d2de1944e3220c

4 years agobootstrap: add a infra to handle pre/post moment of execution maion command
Wonki Kim [Thu, 13 Feb 2020 07:22:19 +0000 (16:22 +0900)]
bootstrap: add a infra to handle pre/post moment of execution maion command

bootstrap handles APIs by using Command pattern.
global pre/post commands are executed just after and before execution of the command.
and it gets necessary to handles pre/post moment for each command.
so this patch introduces a infrastructure to handle it.

Change-Id: I2e62cb7b9018ffb020f72666276be55605a588a0

4 years agoaurum: improve implementation
Wonki Kim [Fri, 27 Dec 2019 01:23:53 +0000 (10:23 +0900)]
aurum: improve implementation

this patch improves implementation little

Change-Id: If3cb3f9d56f4b08b800990d7dd88e822e5f18413

4 years agoproto: fix a type of a parameter
Wonki Kim [Fri, 27 Dec 2019 01:21:07 +0000 (10:21 +0900)]
proto: fix a type of a parameter

some parameters have mismatching type.
this patch fixes them.

Change-Id: I520ace8245de62331ed929ae50503adecc06c66c

4 years agoexamples: update a dependency definition for python
Wonki Kim [Mon, 6 Jan 2020 11:44:49 +0000 (20:44 +0900)]
examples: update a dependency definition for python

A result of `pip3 freeze` contains a unnecessary dependency in Ubuntu distro.
this patch removes it

Change-Id: I9af03e551764c2908bb3b3389a7303c81a55eb66

4 years agoexamples: bump up npm version for securify reason
Wonki Kim [Wed, 18 Dec 2019 10:54:04 +0000 (19:54 +0900)]
examples: bump up npm version for securify reason

There is a volnerability on some npm packages.
this patch upgrade it.

Change-Id: Ifc8c2bcc956c8dc43c8d2f42994306dd1139e79c

4 years agospec: enables DEP for security reason
Wonki Kim [Wed, 19 Feb 2020 07:11:10 +0000 (16:11 +0900)]
spec: enables DEP for security reason

platform ldflags could contain a option to enable DEP.
however there is a chance that the flag doesn't contain it.
this patch appends a option to enable DEP explicitly.

Change-Id: Id9de352e63522c236af3169a6b0cc947bc24910c

4 years agospec: modify spec according to renaming bootstrap binary
Wonki Kim [Thu, 13 Feb 2020 07:02:33 +0000 (16:02 +0900)]
spec: modify spec according to renaming bootstrap binary

bootstrap binary has renamed as 'aurum_bootstrap'.
but some definition has a name it used before.
this patch modify a spec file to change it as brand new.

Change-Id: If87a9b05d3a08c1cd288d055a3521a3d1bae4bb5

4 years agoremove a dependency of dlog accepted/tizen/unified/20200121.121435 submit/tizen/20200120.211529
Wonki Kim [Tue, 14 Jan 2020 06:16:41 +0000 (15:16 +0900)]
remove a dependency of dlog

dlog is not used over this library.
this patch removes the dependency.

Change-Id: Iae1dab9b957e2a0955fecf2d69045bce06e1b758

4 years agobuild: enable PIE for all executables accepted/tizen/unified/20200120.133108 submit/tizen/20200111.071320 submit/tizen/20200112.211134 submit/tizen/20200114.214303 submit/tizen/20200115.213910 submit/tizen/20200116.005149 submit/tizen/20200116.043425 submit/tizen/20200116.051036 submit/tizen/20200119.232254
Wonki Kim [Wed, 8 Jan 2020 08:25:02 +0000 (17:25 +0900)]
build: enable PIE for all executables

PIE option is a mandantory thing to be applied.

Change-Id: If5c034f859e316f5226aee1c484d7f6e0c1d5209

4 years agofix a build error accepted/tizen/unified/20191230.120941 submit/tizen/20191230.005131
Wonki Kim [Tue, 17 Dec 2019 02:42:28 +0000 (11:42 +0900)]
fix a build error

Change-Id: Id1b75f842edf833fc0a8137da362d1848520112e

4 years agofix potentional errors by svace
Wonki Kim [Tue, 17 Dec 2019 01:56:00 +0000 (10:56 +0900)]
fix potentional errors by svace

Change-Id: I54211f3fc5534f90cd9b3769313a4ce1d610b673

4 years agofix potentional erros according to svace/coverity avalytics
Wonki Kim [Thu, 12 Dec 2019 10:10:37 +0000 (19:10 +0900)]
fix potentional erros according to svace/coverity avalytics

this patch fixes potentional problems according to svace/coverity analytics.
that's it

Change-Id: Ifeb5cad72082d8eacb7d679a67a4932da537b28b

4 years agobuild: add %check directive in spec file 89/220489/1
Jongmin Lee [Thu, 19 Dec 2019 00:59:52 +0000 (09:59 +0900)]
build: add %check directive in spec file

Usually command or series of commands to "test" the software located
under %check directive in spec file. The test will be conducted
after installation.

Change-Id: I69a1279642723f12b0289f8d16fbeb9f22a6a41e

4 years agoIntroduce to a project aurum accepted/tizen/unified/20191213.115146 submit/tizen/20191211.080758 submit/tizen_5.5/20191212.063236
Wonki Kim [Thu, 4 Jul 2019 08:34:17 +0000 (17:34 +0900)]
Introduce to a project aurum

This commit introduces a project which has designed for
Automation framework for Ui testing,
Au{79},
Aurum.

Change-Id: I3407b40d4e5340f88fac170c9bb278356a236d4c