platform/core/uifw/aurum.git
3 years agobootstrap: Fix dumpObject not work issue 88/262988/2 submit/tizen/20210824.084648
Woochanlee [Tue, 24 Aug 2021 08:24:40 +0000 (17:24 +0900)]
bootstrap: Fix dumpObject not work issue

move obj can cause lose pointer at runtime.

Change-Id: I37020dae24d6fdd48eff8358758dcb2ae49d8c71

3 years agolibaurum: Fix internal code logic 82/262982/1
Woochanlee [Tue, 24 Aug 2021 07:49:03 +0000 (16:49 +0900)]
libaurum: Fix internal code logic

It's wrong code copy & paste.

Change-Id: I426194aec290cd312f8ca852de3862e3f19997b8

3 years agoaurum: Performance improvement 67/262567/4 accepted/tizen/unified/20210820.101825 submit/tizen/20210818.120243
Woochanlee [Fri, 13 Aug 2021 08:18:29 +0000 (17:18 +0900)]
aurum: Performance improvement

Improved internal logic and structure of getting all information
from atspi and updating it.

Change-Id: I1558e6a78b67140d70c551beb365f453bc468512

3 years agobootstrap: Modify the id for object management as giving by atspi 45/261945/7 submit/tizen/20210811.053854
Woochanlee [Thu, 29 Jul 2021 09:27:28 +0000 (18:27 +0900)]
bootstrap: Modify the id for object management as giving by atspi

The bootstrap was managed by the object that was granted by its own.
Unified by the id granted by atspi, it removes unnecessary operation.

ABI break - i deleted id in proto. script can't use id anymore.

Change-Id: Ic6e3e8a18a2fe35b152c86b2214c0037b0ad6f81

3 years agolibaurum: Delete useless node update(refresh) 61/261961/3
Woochanlee [Thu, 29 Jul 2021 13:06:59 +0000 (22:06 +0900)]
libaurum: Delete useless node update(refresh)

It updated when it created.
It fixes duplicated node update.

Change-Id: I072464e8516c919198bb68445f0ce0360b48ddaa

3 years agoaurum: Fix long click duration 87/261987/1
Woochanlee [Fri, 30 Jul 2021 05:34:30 +0000 (14:34 +0900)]
aurum: Fix long click duration

long click = 0.5sec down
0.5sec = 500 * 1000 = 500000 micro sec.

Change-Id: I1247ae865c8eb6fd66c5b766a74f1f67da24d29f

3 years agolibaurum: Fix build error on 64bit system 56/261756/1 submit/tizen/20210729.050326
Woochanlee [Fri, 23 Jul 2021 12:10:43 +0000 (21:10 +0900)]
libaurum: Fix build error on 64bit system

vector size will generated as long int in 64bit system.
This patch to avoid it.

Change-Id: I0fb0415f1c430828cf1ec55a32402cf1f3c333b0

3 years agobootstrap: Add feature to support extra data sets when app launch 13/261713/4 submit/tizen/20210723.091024
Woochanlee [Fri, 23 Jul 2021 06:14:56 +0000 (15:14 +0900)]
bootstrap: Add feature to support extra data sets when app launch

User may want to set various data set for launching app.
after this implementation.
user can do like below

  - python
    extraData1 = LaunchData()
    extraData1.key = 'Key1'
    extraData1.value = 'Value1'
    extraData2 = LaunchData()
    extraData2.key = 'Key2'
    extraData2.value = 'Value2'

    datas = [extraData1, extraData2]
    stub.launchApp(ReqLaunchApp(packageName='org.tizen.example.NUITizenGallery', data=datas))

Change-Id: Id7756a080acb9e940d0679a4ae0ae89ccc9fb57e

3 years agoaurum: Add command to get coord relative to the widget's top-level window 58/261658/4
Woochanlee [Thu, 22 Jul 2021 07:05:53 +0000 (16:05 +0900)]
aurum: Add command to get coord relative to the widget's top-level window

There are two diffrent type of coord.
one is screen relative, other one is window relative.

This patch to support window relative coord.

https://github.sec.samsung.net/tizen/aurum/issues/5

Change-Id: I4fbec6d27f2e6a011a55282869a42e8cbaadb8ba

3 years agobootstrap: Add feature to send additional data to app_control 89/261389/2
Woochanlee [Fri, 16 Jul 2021 08:54:52 +0000 (17:54 +0900)]
bootstrap: Add feature to send additional data to app_control

Add app_control_add_extra_data() wrapper.

Change-Id: I934968c149cd9d9f0745ffb8ae83f7bd5aba17f8

3 years agoAurum: findObject performance improvement 82/261382/4
Woochanlee [Fri, 16 Jul 2021 07:50:21 +0000 (16:50 +0900)]
Aurum: findObject performance improvement

Improved object search logic

as is -
 1. process list up <- performance degradation point
 2. active window list up
to be -
 1. activated window's process list up
 2. active window list up

Use runnable feature to look up window event when app launched.

Change-Id: I607ae2c20b594b256b2e7b23d5a32eaad90eb255

3 years agobootstrap: remove unnecessary mainloop and thread. 81/261481/1
Hosang Kim [Tue, 20 Jul 2021 03:43:26 +0000 (12:43 +0900)]
bootstrap: remove unnecessary mainloop and thread.

There is problem of CPU usage.
Unnecessary mainloop and thread make its problem.

Change-Id: Ib892b611ed087bcf37dc4066dde77b3d04a4b96e

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

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