platform/core/uifw/aurum.git
2 years agolibaurum: fix critical error on glib. 58/261058/3 accepted/tizen/unified/20210712.055211 submit/tizen/20210709.081442
Hosang Kim [Fri, 9 Jul 2021 08:00:56 +0000 (17:00 +0900)]
libaurum: fix critical error on glib.

Change-Id: Ied81da3a54afa8cd844835778a873af0f70ed849

2 years agolibaurum: Delete double lock for atspi API thread safe call 49/261049/4
Woochanlee [Fri, 9 Jul 2021 05:13:29 +0000 (14:13 +0900)]
libaurum: Delete double lock for atspi API thread safe call

atspi API is safe through a unique lock at there

Change-Id: I817b49086fb61f63fb98bd490c86e719f1b7b03f

2 years agobootstrap: Fix indentation and code clean up 54/261054/3
Woochanlee [Fri, 9 Jul 2021 06:13:47 +0000 (15:13 +0900)]
bootstrap: Fix indentation and code clean up

Change-Id: I813501c1222bed9292a983fecc0b6c5bfabdf7ca

2 years agoproto: Delete an invalid type values 47/261047/2
Woochanlee [Fri, 9 Jul 2021 04:49:08 +0000 (13:49 +0900)]
proto: Delete an invalid type values

attribute checks and returns only bool type.

Change-Id: Iadc2aec7f3647044dceee7641a25ef9564963403

2 years agolibaurum: Fix indentation and clean code up 46/261046/2
Woochanlee [Fri, 9 Jul 2021 04:36:04 +0000 (13:36 +0900)]
libaurum: Fix indentation and clean code up

Change-Id: Idb5cd19e866da6d9471b052424cd32af6b8b2f51

2 years agoAurum: Disable Mock test at build time 43/261043/2
Woochanlee [Fri, 9 Jul 2021 04:16:27 +0000 (13:16 +0900)]
Aurum: Disable Mock test at build time

It's not need do every build, changed it as optional.

Change-Id: I456425fc47c2fd8c4fa01166792a157eefd8f8f0

2 years agobootstrap: Delete check display state and wake up 42/261042/1
Woochanlee [Fri, 9 Jul 2021 04:13:01 +0000 (13:13 +0900)]
bootstrap: Delete check display state and wake up

It's not good for performance and user can do this at user side.

Change-Id: Ie964ea2eba3f7bc3acc6dd45296a65be20fb66f4

2 years agolibaurum: Delete class name in log 11/261011/1
Woochanlee [Thu, 8 Jul 2021 09:10:16 +0000 (18:10 +0900)]
libaurum: Delete class name in log

class name will be added at the defined macro.

Change-Id: I960c109688832f5e97c530116afd69705dbdb592

2 years agoAurum: Gets meaningful log from lib and fix build error on 64bit system 04/261004/1 accepted/tizen/unified/20210709.081216 submit/tizen/20210708.081050
Woochanlee [Thu, 8 Jul 2021 08:07:03 +0000 (17:07 +0900)]
Aurum: Gets meaningful log from lib and fix build error on 64bit system

Change-Id: I0824512b64b32034e8f6db5ef683cb33bb5f2aac

2 years agobootstrap: Avoid unnecessary object search and clean 87/260987/2 submit/tizen/20210708.061620 submit/tizen/20210708.061625
Woochanlee [Thu, 8 Jul 2021 05:40:38 +0000 (14:40 +0900)]
bootstrap: Avoid unnecessary object search and clean

A command that does not create an object no need to clean the object.

Change-Id: I2c4e81a3a8739b2b4e28e8bf98ff8ed68aa961ba

2 years agoAurum: Using #pragma once to safe include guard 54/260954/2
Woochanlee [Wed, 7 Jul 2021 10:54:31 +0000 (19:54 +0900)]
Aurum: Using #pragma once to safe include guard

Tizen gcc support this and it fatser than previous way conceptually.

Change-Id: I049f938ac1ca1f863b896eaf09bceaaba5761651

2 years agobootstrap: Log & code clean up 53/260953/6
Woochanlee [Wed, 7 Jul 2021 10:41:37 +0000 (19:41 +0900)]
bootstrap: Log & code clean up

Change-Id: Idba082a3f2e3f6396cdfad101f4f843aedf042f4

2 years agobootstrap: Code and logic clean up when display off state 52/260952/6
Woochanlee [Wed, 7 Jul 2021 10:06:24 +0000 (19:06 +0900)]
bootstrap: Code and logic clean up when display off state

there is no need to call device_power_wakeup(), if display already on

Change-Id: Ic42d9625cf04b0a1ffec79652c4c8a5fb0d363e3

2 years agobootstrap: Fix typo 45/260945/1
Woochanlee [Wed, 7 Jul 2021 09:23:53 +0000 (18:23 +0900)]
bootstrap: Fix typo

Change-Id: I3a1864a5c7825f372975adfbe873a646a1169ed9

2 years agoAurum: Remove build warnings 39/260939/2
Woochanlee [Wed, 7 Jul 2021 07:52:00 +0000 (16:52 +0900)]
Aurum: Remove build warnings

Change-Id: Ifcd13621d8559a4d5d33865c39262fca70caad37

2 years agobootstrap: Delete privacy_privilege for location, mediastroge 33/260933/1
Woochanlee [Wed, 7 Jul 2021 07:18:34 +0000 (16:18 +0900)]
bootstrap: Delete privacy_privilege for location, mediastroge

It's not need on current status

Change-Id: I122319a2bab50c463a4305f2a72bdadfa29357e7

2 years agoAurum: Delete libloguru dependency 31/260931/1
Woochanlee [Wed, 7 Jul 2021 07:04:31 +0000 (16:04 +0900)]
Aurum: Delete libloguru dependency

Change-Id: I92b583cc4383093b63dac1ed99468ece395e6082

2 years agolibaurum, bootstrap: change log system to dlog instead of loguru 93/260893/4
Woochanlee [Tue, 6 Jul 2021 09:03:35 +0000 (18:03 +0900)]
libaurum, bootstrap: change log system to dlog instead of loguru

Change-Id: Ib2af00fb9cc14555e869e1fd4c568680a7695eca

2 years agolibaurum: Sync connect mouse device when wheel needed and code clean up 99/260699/1 submit/tizen/20210706.064323
Woochanlee [Thu, 1 Jul 2021 07:40:30 +0000 (16:40 +0900)]
libaurum: Sync connect mouse device when wheel needed and code clean up

File log update

Change-Id: I0c8bd1a9bc44e286cf5389aa5a50540bfa487e69

2 years agolibaurum: Re-arrange headers 59/260659/2
Woochanlee [Wed, 30 Jun 2021 10:57:36 +0000 (19:57 +0900)]
libaurum: Re-arrange headers

Divide interface, Combine Accessble, Move header to proper location etc...

Change-Id: I6c27896543ceca46cf61c57a746f2060e16ac4b5

2 years agoaurum: add package name for findElement API 58/260658/2
Hosang Kim [Wed, 30 Jun 2021 10:09:57 +0000 (19:09 +0900)]
aurum: add package name for findElement API

Change-Id: Ia5f3c24d40b5e64ebb0ca65d6553119f9a175608

2 years agolibaurum: apply cache clear when element is updated. 86/260586/2
Hosang Kim [Tue, 29 Jun 2021 10:47:07 +0000 (19:47 +0900)]
libaurum: apply cache clear when element is updated.

Change-Id: Iac3a6c2811ac36237456b55792e634103f4f9b8d

2 years agolibaurum: Print dlog instead of file write(loguru) 40/260640/1
Woochanlee [Wed, 30 Jun 2021 06:11:21 +0000 (15:11 +0900)]
libaurum: Print dlog instead of file write(loguru)

Change-Id: I634bf285fa4551166c9afdd9a1e3c93fd6052df7

2 years agoaurum-bootstrap: Add element infomation 60/260160/3 accepted/tizen/unified/20210629.130417 submit/tizen/20210629.075325
Woochanlee [Mon, 21 Jun 2021 10:44:16 +0000 (19:44 +0900)]
aurum-bootstrap: Add element infomation

Change-Id: I74d727061ae41adf9ba5b360dcac2f4f18db8a4d

2 years agobootstrap: avoid creating duplicate objects 93/260493/1
Hosang Kim [Fri, 25 Jun 2021 10:26:08 +0000 (19:26 +0900)]
bootstrap: avoid creating duplicate objects

Change-Id: Ie289fb4d877636207b0fa8d12b4b20944a9e0623

2 years agolibaurum: check invalid accessible object 19/260419/1
Hosang Kim [Thu, 24 Jun 2021 10:34:39 +0000 (19:34 +0900)]
libaurum: check invalid accessible object

Change-Id: I912df64eae169eb60b57d39d4fdbb7e7f4811360

2 years agoaurum: remove ecore_main_loop_thread API 09/259509/4
Hosang Kim [Tue, 8 Jun 2021 08:20:32 +0000 (17:20 +0900)]
aurum: remove ecore_main_loop_thread API

Change-Id: I09e7a17fba305d4e427e785193fdaafff0dd01a6

3 years agobootstrap: change size of screenshot.
Hosang Kim [Fri, 11 Jun 2021 05:02:14 +0000 (14:02 +0900)]
bootstrap: change size of screenshot.

3 years agolibaurum: Add attribute 'class' for NUI app. 12/259412/1
Woochanlee [Mon, 7 Jun 2021 11:40:00 +0000 (20:40 +0900)]
libaurum: Add attribute 'class' for NUI app.

Change-Id: I8e990ac4b8145e8cb992a03f8d3dc5c99e8dabed

3 years agoprotocol: Add mobile demo test script and application RPM 03/258903/3
Woochanlee [Thu, 27 May 2021 10:45:10 +0000 (19:45 +0900)]
protocol: Add mobile demo test script and application RPM

Change-Id: If8224d09786622c35d4e1643075c12f0a14a5770

3 years agoprotocol: Code clean up 52/259052/1
Woochanlee [Mon, 31 May 2021 09:23:23 +0000 (18:23 +0900)]
protocol: Code clean up

Fix typo.
Delete whitespace.

Change-Id: If9c919ac38de2dd76df9160bee747d94af8c05ec

3 years agobootstrap: Delete Sync Command 63/258963/1
Woochanlee [Fri, 28 May 2021 08:55:19 +0000 (17:55 +0900)]
bootstrap: Delete Sync Command

It do nothing.

Change-Id: I0a17b090566172c6b7dc474ae3ca2271f97afa3d

3 years agolibaurum: fix build warning in AtspiAccessibleWatcher 66/258766/1
Hosang Kim [Tue, 25 May 2021 09:56:03 +0000 (18:56 +0900)]
libaurum: fix build warning in AtspiAccessibleWatcher

Change-Id: Ibe12ecfbb187cd0ce77f1afa643f1c5019635aaa

3 years agolibaurum: fix build warning in DeviceImpl.cc 47/258747/1
Hosang Kim [Tue, 25 May 2021 05:43:59 +0000 (14:43 +0900)]
libaurum: fix build warning in DeviceImpl.cc

Change-Id: I198973bd6d82c3b1646549449fa13f3aa1fb7275

3 years agolibaurum: Fix resource leak. 19/258719/2 submit/tizen/20210525.032747
Woochanlee [Tue, 25 May 2021 01:43:44 +0000 (10:43 +0900)]
libaurum: Fix resource leak.

GError need to free when it done.

Change-Id: I324f44c51eaf1909f8e655736c8517731d8d73f5

3 years agolibaurum: unref GVariant to avoid leak. 17/258717/4
Woochanlee [Tue, 25 May 2021 01:31:39 +0000 (10:31 +0900)]
libaurum: unref GVariant to avoid leak.

It deleted by 373712d219167dad48d10c76e4cd3fc98c36fc63

Change-Id: I406e62fb0e939ecd6daf9b5df6d65c88b51918a9

3 years agolibloguru: Fix coverity(uninit_use_in_call) 21/258721/2
Woochanlee [Tue, 25 May 2021 01:56:25 +0000 (10:56 +0900)]
libloguru: Fix coverity(uninit_use_in_call)

Change-Id: Ib5a5658e4c16256dff7b986251503788c8cfe2a9
CID:1227411

3 years agolibaurum: Fix build warning in Waiter.cc 22/258722/3
Woochanlee [Tue, 25 May 2021 02:11:20 +0000 (11:11 +0900)]
libaurum: Fix build warning in Waiter.cc

fix argument type dismatch build warning.

Change-Id: I6ddddc6509578f4286ef38c6989179409665456b

3 years agolibaurum: Fix build warning in Comparer.cc 25/258725/2
Woochanlee [Tue, 25 May 2021 02:28:47 +0000 (11:28 +0900)]
libaurum: Fix build warning in Comparer.cc

fix argument type mismatch.

Change-Id: I15918811ef1d987618e9de2fae78d11f11ce58c5

3 years agolibaurum: Fix build warning in Until.cc 29/258729/1
Woochanlee [Tue, 25 May 2021 03:21:02 +0000 (12:21 +0900)]
libaurum: Fix build warning in Until.cc

shared ptr can't cast to void * (%p)

Change-Id: Ia5b614fa29e6ae34000db9ca37b755dc440a9981

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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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