platform/core/uifw/aurum.git
3 years agobootstrap: add package infomation to result of findelement 45/258445/1
Hosang Kim [Tue, 18 May 2021 04:11:06 +0000 (13:11 +0900)]
bootstrap: add package infomation to result of findelement

Change-Id: I7689152cf2328b5331dd523c015a9c30943036db

3 years agolibaurum: add synchronize API
Hosang Kim [Mon, 12 Apr 2021 10:45:34 +0000 (19:45 +0900)]
libaurum: add synchronize API

Add two api for synchronize, waitForEvents, sendKeyAndWaitForEvents.

sample:
mDevice->sendKeyAndWaitForEvents("Left", A11yEvent::EVENT_STATE_CHANGED_FOCUSED, 5000)
mDevice->waitForEvents(A11yEvent::EVENT_WINDOW_DEACTIVATE, 5000)

Change-Id: If3886af4b2331f5e50f35e1dfcd27780c9618b93

3 years agolibaurum: disable stderr log submit/tizen/20210412.073235
Hosang Kim [Fri, 9 Apr 2021 08:11:25 +0000 (17:11 +0900)]
libaurum: disable stderr log

Change-Id: Ib333d125a7d867456fa244f76ee1daa6f26d297f

3 years agolibaurum: apply pkg name for accesible node 85/256685/2
Hosang Kim [Fri, 9 Apr 2021 07:29:50 +0000 (16:29 +0900)]
libaurum: apply pkg name for accesible node

Change-Id: Iba4cbbaa72b3d03b81ff6a964d2d617e3b69c1e6

3 years agolibaurum: find type of attributes with "t" 35/255835/3
Hosang Kim [Wed, 24 Mar 2021 06:58:11 +0000 (15:58 +0900)]
libaurum: find type of attributes with "t"

NUI/dali use keyword "t" instead of "type"

Change-Id: I51986e6aadc9e98d2df48397ea9402a1ce42f3b9

3 years agolibaurum: enable early return. 30/255730/1
Hosang Kim [Tue, 23 Mar 2021 05:28:35 +0000 (14:28 +0900)]
libaurum: enable early return.

Change-Id: I660e0aab32ad7865db08605efdd6f3d4736da6a1

3 years agoAdd Aurum.h to manage headers. submit/tizen/20210312.055645
Woochanlee [Wed, 3 Mar 2021 05:49:50 +0000 (14:49 +0900)]
Add Aurum.h to manage headers.

Change-Id: Ib8e7fed4ddd8e9aed4836c1fc7c0ac611bfb6021

3 years agobuild: create package config and include headers 18/253918/2
Hosang Kim [Fri, 19 Feb 2021 08:16:28 +0000 (17:16 +0900)]
build: create package config and include headers

Change-Id: Id1c8b9cd693105492afffe3c8eecfa54079bf872

3 years agolibaurum: fix crash caused by double free logic accepted/tizen/unified/20210127.024808 submit/tizen/20210126.105426
Wonki Kim [Tue, 26 Jan 2021 09:44:57 +0000 (18:44 +0900)]
libaurum: fix crash caused by double free logic

result of g_hash_table_lookup is owned by g_hash.
freeing the result cause double free later.
this patch fixes the problem.

Change-Id: Ice3a63bf84f2262b2a5469bc9bc4336d52e43b29

3 years agolibaurum: wrap atspi capi set to adopt lock logic
Wonki Kim [Tue, 26 Jan 2021 09:42:39 +0000 (18:42 +0900)]
libaurum: wrap atspi capi set to adopt lock logic

there are basically two threads. one is for grpc, and another one is for atspi.
and they call atspi api at the same time, which can cause a problem.
this patch adopt a wrapper class to lock that api set.

Change-Id: I84d55ae67af56cf5be9ff8c9e00b8801a853afa5

3 years agobootstrap: ask privacy permissions to user accepted/tizen/unified/20210113.121029 submit/tizen/20210112.115542
Wonki Kim [Mon, 11 Jan 2021 10:24:00 +0000 (19:24 +0900)]
bootstrap: ask privacy permissions to user

App can't utilize privacy related information such as location information,
unless user explicitly grants them.

this patch fix this to ask those permissions to user at the first use.
even if user denies, the app runs normally.
however information related a denied permisison can't be retrieved.

Change-Id: Ie1481a2724a65256fe56d4f5a5aeef1565f56dcb

3 years agoaurum-bootstrap: extend buffer size to avoid BOF
Wonki Kim [Wed, 23 Dec 2020 03:45:16 +0000 (12:45 +0900)]
aurum-bootstrap: extend buffer size to avoid BOF

static analytic reports buffer can be overflowed.
this patch changes the size of buffer to avoid buffer over flow.

Change-Id: I54481a211518da3818447ed188e6d072d73b1e4c

3 years agoaurum-bootstrap: handle exception from app_main_service API.
Wonki Kim [Wed, 23 Dec 2020 03:28:05 +0000 (12:28 +0900)]
aurum-bootstrap: handle exception from app_main_service API.

static analytics indicates that app_main_service() can throw an exception,
but the exception isn't all that handled properly.
this patch adds a try-catch block to handle that.

Change-Id: I5f9373b419593e29584ae62ba742c0ace1fc2135

3 years agolibaurum: Add files that previous commit should've contained
Wonki Kim [Wed, 23 Dec 2020 00:16:01 +0000 (09:16 +0900)]
libaurum: Add files that previous commit should've contained

some files  are missed to add by mistake.
this patch adds them.

Change-Id: I5f27911887671046c9fb48aa380fdc882995a3ec

3 years agoaurum-bootstrap: clean invalid objects in object mapper
Wonki Kim [Tue, 22 Dec 2020 13:00:10 +0000 (22:00 +0900)]
aurum-bootstrap: clean invalid objects in object mapper

aurum-bootstrap handles objects to map a key to an object.
for removing unnecessary objects which are invalid,
this patch add a logic to clean those objects.

Change-Id: I82b0057a7be7c6aac9a4594199067c91e7d10d03

3 years agolibaurum: make an uiobject not to use an invalid inner handler.
Wonki Kim [Tue, 22 Dec 2020 12:55:56 +0000 (21:55 +0900)]
libaurum: make an uiobject not to use an invalid inner handler.

An atspi object can be removed even if ref count isn't zero, when a parent window is destroyed.
on object destroyed callback, uiobject set invalid flag by itself
to prevent crahsing by calling atspi api with invalid handler.

Change-Id: Ifb8efee7b97d46e418404aea30198a72ebe90fcd

3 years agolibaurum: prevent from infinite sleep
Wonki Kim [Tue, 22 Dec 2020 12:56:33 +0000 (21:56 +0900)]
libaurum: prevent from infinite sleep

in some case, argument for sleep function becomes a negative value.
and it causes infinite sleep.
the problem is caused by an unsigned keyword.
and this patch fix them to prevent the problem.

Change-Id: I2a450c77a6c61c311f932d8b0067216e2f9b484f

3 years agospec: fix build failure in asan build accepted/tizen/unified/20201124.123022 submit/tizen/20201124.014823
Wonki Kim [Tue, 24 Nov 2020 01:47:10 +0000 (10:47 +0900)]
spec: fix build failure in asan build

Change-Id: I8da042ac97dad209cf29c7d1ebca4d3dee1b16a1

4 years agolibaurum: handles exception cases accepted/tizen/unified/20201102.124233 submit/tizen/20201012.232328 submit/tizen/20201018.221456 submit/tizen/20201101.231042
Wonki Kim [Tue, 6 Oct 2020 08:21:16 +0000 (17:21 +0900)]
libaurum: handles exception cases

api fails.
this patch handles exception cases.

Change-Id: I275881504b77c05855f15708bb4528f477273187

4 years agotests: leave stuffs for debug and organize a little accepted/tizen_6.0_unified accepted/tizen_6.0_unified_hotfix tizen_6.0 tizen_6.0_hotfix accepted/tizen/6.0/unified/20201030.113746 accepted/tizen/6.0/unified/hotfix/20201103.001817 accepted/tizen/unified/20200928.072821 submit/tizen/20200924.095413 submit/tizen/20200927.213403 submit/tizen_6.0/20201029.205105 submit/tizen_6.0_hotfix/20201102.192505 submit/tizen_6.0_hotfix/20201103.114805 tizen_6.0.m2_release
Wonki Kim [Thu, 24 Sep 2020 09:48:04 +0000 (18:48 +0900)]
tests: leave stuffs for debug and organize a little

that's it

Change-Id: I8de374296b4b8c1eb9ae37b05f17ca750514c4c7

4 years agolibaurum: clear dirty logs up
Wonki Kim [Thu, 24 Sep 2020 09:47:58 +0000 (18:47 +0900)]
libaurum: clear dirty logs up

that's it

Change-Id: I100788e1df34fec93ae176b685c1f6b5beb45ace

4 years agolibaurum: add childat api on uiobject
Wonki Kim [Thu, 24 Sep 2020 09:47:29 +0000 (18:47 +0900)]
libaurum: add childat api on uiobject

uiobject doesn't have a api to get child at a specific index.
this patch add it.

Change-Id: Id06ed04de599a3734ef2f4b84cf8e4ad29d9a7d0

4 years agolibaurum: modify a method signature to receive earlyreturn param
Wonki Kim [Thu, 24 Sep 2020 09:46:32 +0000 (18:46 +0900)]
libaurum: modify a method signature to receive earlyreturn param

to get the api support earlyreturn param  this patch modifies a signature of the api
Change-Id: I170937a359c80d88755b4cc7f93e3bb7df49c12c

4 years agobootstrap: reform DumpObjectTree command
Wonki Kim [Wed, 23 Sep 2020 09:16:53 +0000 (18:16 +0900)]
bootstrap: reform DumpObjectTree command

to use new api that gets descendant of an uiobject object,
this pathc reform dumpObjectTree command.

Change-Id: I4bda611dfe81a52585ca5ac4609731974ff1501f

4 years agospec: bump up version to 0.1.2 v0.1.2
Wonki Kim [Mon, 21 Sep 2020 02:41:19 +0000 (11:41 +0900)]
spec: bump up version to 0.1.2

Change-Id: I9589398faf883bf2913aa3a8f7eeb5b63fd8cfda

4 years agotests: organize test cases
Wonki Kim [Mon, 21 Sep 2020 00:37:16 +0000 (09:37 +0900)]
tests: organize test cases

this patch organizes test cases.

Change-Id: I6ef9fbfde321360f9ea251cda7623982cd7f813b

4 years agotests: modify to initialize gmock class members at ctor accepted/tizen/unified/20200917.210648 submit/tizen/20200917.075940
Wonki Kim [Thu, 17 Sep 2020 07:58:52 +0000 (16:58 +0900)]
tests: modify to initialize gmock class members at ctor

Change-Id: I09bee58b8d9d72b3b5f9225e5d032737c980abaf

4 years agofix potentional false positive tests due to timing submit/tizen/20200917.073536
Wonki Kim [Wed, 16 Sep 2020 09:04:02 +0000 (18:04 +0900)]
fix potentional false positive tests due to timing

few tests could be failed due to timing.
this patch fixes them.

Change-Id: I8c2c8c7734ed03569044f61121cfc1bcc8c36581

4 years agobuild: modify spec file to print testing logs
Wonki Kim [Wed, 16 Sep 2020 02:36:47 +0000 (11:36 +0900)]
build: modify spec file to print testing logs

Change-Id: Ib962ec7b66cbdb687f96734f52d51ca7fe376126

4 years agoremove debug messages submit/tizen/20200915.093548
Wonki Kim [Tue, 15 Sep 2020 09:35:12 +0000 (18:35 +0900)]
remove debug messages

this patch removes debug messages

Change-Id: I174d25f5019e392a25ce5282995e510d4c7a7efb

4 years agofix unexpected crashing caused by nullptr mNode
Wonki Kim [Tue, 15 Sep 2020 08:21:06 +0000 (17:21 +0900)]
fix unexpected crashing caused by nullptr mNode

atspi api return nullptr sometime.
this patch handles the case to avoid crashing.

Change-Id: I3199e62bd79a27a5cca87f42d0b83ff32dabee98

4 years agointroduce a new set of tests accepted/tizen/unified/20200914.131345 submit/tizen/20200913.215058
Wonki Kim [Mon, 7 Sep 2020 07:35:02 +0000 (16:35 +0900)]
introduce a new set of tests

this patch introduces anew pack of test set.
test will be verify behaviors of libaurum while building on gbs
you can also test it by executing '$ meson test' in your host shell (not in gbs)

Change-Id: I2d0b380ce972d199ebe2a7777ed027b94c69e17d

4 years agorefactor atspi related classes to mock atspi interface.
Wonki Kim [Mon, 7 Sep 2020 07:30:43 +0000 (16:30 +0900)]
refactor atspi related classes to mock atspi interface.

this patch refactors atspi related classes to mock atspi interface.

Change-Id: I2cfa273b29f4a8822ccb35364a9ce9977eeb9392

4 years agooverload equal operator for some data structures
Wonki Kim [Fri, 11 Sep 2020 03:10:39 +0000 (12:10 +0900)]
overload equal operator for some data structures

Rect and Point2D didn't have == operator overloadded.
now they have.

Change-Id: I47ec30ae1c2d506ccb2ac8b7bf8867009cf340d4

4 years agoreplace ifndef usages with pragma once
Wonki Kim [Mon, 7 Sep 2020 06:44:48 +0000 (15:44 +0900)]
replace ifndef usages with pragma once

Change-Id: I3c5d200b588bb0b7b52216279aaf688cae62f9af

4 years agolibaurum: initialize a member variable accepted/tizen/unified/20200907.045057 submit/tizen/20200830.214225 submit/tizen/20200901.214039 submit/tizen/20200906.212734
Wonki Kim [Tue, 18 Aug 2020 07:34:14 +0000 (16:34 +0900)]
libaurum: initialize a member variable

A member variable is execlued from initialzation list.
this patch add it to init.

Change-Id: Iab55479933d40ed451d15fa928e92f80d736abc6

4 years agolibaurum: add an exception handling logic
Wonki Kim [Fri, 14 Aug 2020 05:47:25 +0000 (14:47 +0900)]
libaurum: add an exception handling logic

there is a lack of exception handling logic in screenshot capturing feature. this patch improves it.

Change-Id: Icedfbc1c028d75c6ef04cf4b8c80bc67b93f7c73

4 years agolibaurum: fix potentional errors reported from svace/coverity
Wonki Kim [Fri, 14 Aug 2020 05:46:53 +0000 (14:46 +0900)]
libaurum: fix potentional errors reported from svace/coverity

Change-Id: I9f433d4dba192ff3197cb0c2a538a870d69279ad

4 years agobootstrap: introduce a new command for dumping object tree
Wonki Kim [Thu, 13 Aug 2020 05:41:48 +0000 (14:41 +0900)]
bootstrap: introduce a new command for dumping object tree

this patch introduces a new command for dumping object tree
by this patch, user can retreive tree dump without composition of findElement commands

Change-Id: I4a360fe11ac9df02bbdda8c65cc7275c47e1466c

4 years agoexample/python: remove a redundent case
Wonki Kim [Thu, 13 Aug 2020 05:32:14 +0000 (14:32 +0900)]
example/python: remove a redundent case

Change-Id: Ic509c552836ca119235e5486850b5a43b417b8fb

4 years agobuild: build service app for tizen only
Wonki Kim [Thu, 13 Aug 2020 05:31:47 +0000 (14:31 +0900)]
build: build service app for tizen only

Change-Id: Ic4214a48df27682dc9dd4bd152f149b3d8510bda

4 years agolibaurum: apply smart pointer wider and extract impl out
Wonki Kim [Thu, 13 Aug 2020 02:35:45 +0000 (11:35 +0900)]
libaurum: apply smart pointer wider and extract impl out

this patch refactors few things.
* smart pointer
  smart pointer has been used but raw pointers are used in some place.
  this patch refactor libaurum to apply smart pointers wider.
* extracting implementation out
  extract low level dependency(atspi) out of base classes to make code mockable

Change-Id: I680015f80e6538573be12a5572e49a45345f9b96

4 years agobuild: get doxygen generating selective
Wonki Kim [Tue, 11 Aug 2020 08:52:14 +0000 (17:52 +0900)]
build: get doxygen generating selective

doxygen documentation is always generated once doxygen has been adopted to this project.
this patch modifies some build scripts to get it selective.

Change-Id: I9a432b811f1d13e6ebcadf93321cfe2c7e9fc7ae

4 years agoimplement screenshot feature accepted/tizen/unified/20200729.165607 submit/tizen/20200728.225405
Jaeun Choi [Wed, 6 May 2020 11:49:32 +0000 (20:49 +0900)]
implement screenshot feature

Change-Id: I9e7ffd96449ba6329994ad2d985c280dfe1f6449

4 years agofix potentional bugs from coverity report 94/237494/1 accepted/tizen/unified/20200707.141002 submit/tizen/20200705.221213
Wonki Kim [Wed, 1 Jul 2020 02:30:53 +0000 (11:30 +0900)]
fix potentional bugs from coverity report

this patch fixes potentional bugs which has reported from static analyzer

Change-Id: I35f2363fcedf8f649bb1288e6a2ba57b3fa0f744

4 years agolibaurum: fix a build failure for 64-bit architecture 12/237312/1 accepted/tizen/unified/20200701.032334 submit/tizen/20200629.234316 submit/tizen/20200630.100857 submit/tizen/20200630.101739
Wonki Kim [Mon, 29 Jun 2020 05:41:37 +0000 (14:41 +0900)]
libaurum: fix a build failure for 64-bit architecture

this patch fixes a build failure while casting void* type return value to int.
even thought there isn't any chance to lose anything for 'result' variable.
because the range of the actual value is between 32bit integer range.

Change-Id: Ib336314dbac4d9d22d593030ce0be986c07c2521

4 years agoaurum: fix potentional bugs submit/tizen/20200629.001406
Wonki Kim [Wed, 24 Jun 2020 04:47:46 +0000 (13:47 +0900)]
aurum: fix potentional bugs

this patch fixes potentional bugs by checking a return value of several api callings

Change-Id: I79492263f1273d8de6aae9747979da480e170b7c

4 years agoaurum: rework touch command to support multi touch
Wonki Kim [Tue, 23 Jun 2020 09:15:05 +0000 (18:15 +0900)]
aurum: rework touch command to support multi touch

when user call touchDown command, it will return touch sequenceId.
and touchMove and touchUp commands should be called with it.

if user call touchDown twice, the user gets 2 touch seq ids.
user can manipulate multi touch with them.

Change-Id: I6c6fdcdec4c14b2c547f167a9184427e7eda217a

4 years agoaurum: rework sendKey protocol
Wonki Kim [Tue, 23 Jun 2020 08:51:34 +0000 (17:51 +0900)]
aurum: rework sendKey protocol

- remove an action to send ascii keycode
- implement a behavior related with keyaction type

Change-Id: I74f2da09f9d144e1f7d2ae31f97cf3ca4f29b849

4 years agoaurum: implement an atspi action for uiobject
Wonki Kim [Tue, 23 Jun 2020 06:50:16 +0000 (15:50 +0900)]
aurum: implement an atspi action for uiobject

atspi accessible object has an "action" interface.
and it is used for invoking event such as "click" for an object through atspi.
this patch implement an atspi action for uiobject

Change-Id: I9289ccfb6bfd0fe994f08fd8dff57fd94603a890

4 years agobuild: fix package version definitions to be identical accepted/tizen/unified/20200622.134447 submit/tizen/20200621.214257
Wonki Kim [Fri, 12 Jun 2020 01:37:50 +0000 (10:37 +0900)]
build: fix package version definitions to be identical

version descriptions are not identical between build system(meson) and spec
this patch fix them to be identical

Change-Id: I3764edbc9530520d7ad19b446b0bce41b58abf62

4 years agodoc: prepare documenting by adding Doxygen headers
Wonki Kim [Fri, 12 Jun 2020 01:36:58 +0000 (10:36 +0900)]
doc: prepare documenting by adding Doxygen headers

Change-Id: If04fd83a5ea9fbc8332094ca7b1cdbe99d58c8ec

4 years agodoc: add missing files accepted/tizen/unified/20200615.135400 submit/tizen/20200611.221942 submit/tizen/20200614.220219
Wonki Kim [Wed, 10 Jun 2020 01:01:05 +0000 (10:01 +0900)]
doc: add missing files

this patch add missing files which shoud've been added in the previous patch.

Change-Id: If0c0c87a08632150b43357b0b4c3af0c0057b48d

4 years agodoc: enable generating docs by using doxygen
Wonki Kim [Tue, 9 Jun 2020 08:16:23 +0000 (17:16 +0900)]
doc: enable generating docs by using doxygen

this patch turns on doxygen to make documentation,
and contains changes for spec file to pack the docs.

Change-Id: I5205d96b9bb7b796bec5430a91cc06311d23445b

4 years agolibaurum: refactor a flick command and implementation
Wonki Kim [Mon, 8 Jun 2020 12:08:53 +0000 (21:08 +0900)]
libaurum: refactor a flick command and implementation

this patch refactor a flick command and its implementation
it's designed like below.

^drag start                                      ^drag stop
|<----------------- 100ms minimum -------------->|
***-------++--------++++------++--------+++-------###
|<------>|<------->|<------->|<------->|<------->|
  ^25ms minimum for each

 *:touch down
 +:touch move
 #:touch up

Change-Id: Ibeebf61268177ae9ed5dfa368ee21a140381796b

4 years agoAccessibleNode: resolve possible memory leak
Jongmin Lee [Tue, 9 Jun 2020 06:37:11 +0000 (15:37 +0900)]
AccessibleNode: resolve possible memory leak

Change-Id: Ic3489d65ba042a01674c32d7534caed5fb66281e

4 years agoGetAppInfoCommand: resolve possible memory leak
Jongmin Lee [Tue, 9 Jun 2020 06:11:38 +0000 (15:11 +0900)]
GetAppInfoCommand: resolve possible memory leak

Change-Id: I86e9c8785b1e75f306669f2169e909ad7984f343

4 years agoAccessibleWatcher: resolve possible memory leak
Jongmin Lee [Tue, 9 Jun 2020 05:58:18 +0000 (14:58 +0900)]
AccessibleWatcher: resolve possible memory leak

Change-Id: I9b3d063003e01a62364dbc712a9fcd42b084272f

4 years agoLaunchAppCommand: resolve possible memory leak
Jongmin Lee [Tue, 9 Jun 2020 06:16:26 +0000 (15:16 +0900)]
LaunchAppCommand: resolve possible memory leak

Change-Id: I22bd2fbdafbcb51b3a08fae8309a213809cdc742

4 years agolibaurum: fix a potential problem from svace accepted/tizen/unified/20200608.214757 submit/tizen/20200608.010949
Wonki Kim [Fri, 5 Jun 2020 11:56:53 +0000 (20:56 +0900)]
libaurum: fix a potential problem from svace

this patch makes sure initializing member variables in constructor

Change-Id: I99b763b6fb64dfd83ca3d049e1ca935f7b90ab9b

4 years agolibaurum: change to handle a text as regex
Wonki Kim [Wed, 3 Jun 2020 05:56:18 +0000 (14:56 +0900)]
libaurum: change to handle a text as regex

please refer to 'std::ECMAScript' syntax for more information.

Change-Id: Ia96c6cb2872fb3b2b4e5dcf185b28d539cd1f7f6

4 years agoexample/python: modify test scripts for reflecting recent changes
Wonki Kim [Thu, 4 Jun 2020 11:59:27 +0000 (20:59 +0900)]
example/python: modify test scripts for reflecting recent changes

Change-Id: Ic240aafe580a152823489eb84cdc0cc3705555f1

4 years agofeature: Add a protocol/logic to generate a wheel event
Wonki Kim [Wed, 3 Jun 2020 10:31:06 +0000 (19:31 +0900)]
feature: Add a protocol/logic to generate a wheel event

wheel event is originally from pointer input device such as mouse.
however this feature provides wheel up/down functionalities
by handling them as hardware key input.

Change-Id: Ic3a7618efc6bb759b7a4f4bd4ae3559b5e4f6d1f

4 years agolibaurum: add a logic to wait for idle
Wonki Kim [Wed, 3 Jun 2020 05:56:01 +0000 (14:56 +0900)]
libaurum: add a logic to wait for idle

everytime aurum does some action, ui will change consequently.
and libaurum should have to wait for idle of ui objects.
this patch add add the logic

Change-Id: I101327be163ce65163bfb6b3a5c0d69518dff91c

4 years agolibaurum: fix a bug for flick method.
Wonki Kim [Wed, 3 Jun 2020 05:55:26 +0000 (14:55 +0900)]
libaurum: fix a bug for flick method.

in case of flicking from bottom to top, flick doesn't work properly.
this patch fixes it

Change-Id: I491945bc8dd8b08205181b46bc2a97203528f8ab

4 years agobootstrap: fix a build failure accepted/tizen/unified/20200510.220346 submit/tizen/20200507.214726 submit/tizen/20200508.001045
Wonki Kim [Thu, 7 May 2020 11:50:55 +0000 (20:50 +0900)]
bootstrap: fix a build failure

this patch fix a build failure for 64bit architecture.

Change-Id: Id58dc44771c595dfe15332aaa50f644f83d1d5d3

4 years agobootstrap: fix display turning on logic submit/tizen/20200507.060934
Wonki Kim [Thu, 7 May 2020 05:03:11 +0000 (14:03 +0900)]
bootstrap: fix display turning on logic

it's necessary for display to be turn on status while executing command.
there is a logic which does a kind of stuffs but which is buggy.
this patch fix the bug.

Change-Id: Ifaa93b00b8a369e05a3c2aa1338048991112e406

4 years agospec: fix build failure in case of gcov enabled submit/tizen/20200506.104119 submit/tizen/20200506.224620
Wonki Kim [Wed, 6 May 2020 10:34:36 +0000 (19:34 +0900)]
spec: fix build failure in case of gcov enabled

when gcov definition is passed to build command,
a package that contains gcoverage information will be generated.

previously, there is a bug that causes building failed.
this patch fix it

Change-Id: I9dbdbc6b250c6086f58cc5e7361734372a32b002

4 years agobootstrap: fix a GetDeviceTime Command bug accepted/tizen/unified/20200427.031423 submit/tizen/20200425.055942 submit/tizen/20200426.100825 submit/tizen/20200426.222620
Wonki Kim [Sat, 25 Apr 2020 03:55:33 +0000 (12:55 +0900)]
bootstrap: fix a GetDeviceTime Command bug

getdevicecommand returns wrong datetime string
because it calculates the string with wrong timestamp.

Change-Id: Ibcc938d80caef52ea8968c9da5c46e09b85b48ed

4 years agoexample: enhance a test script and mismatching protocol
Wonki Kim [Fri, 24 Apr 2020 13:05:21 +0000 (22:05 +0900)]
example: enhance a test script and mismatching protocol

this patch add a bit more tests

Change-Id: Ib3c82e2e3789302583e60db805b620b9e7116efa

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