platform/core/uifw/aurum.git
2 years agolibaurum: Set role name as type for object that don't have type 12/272312/1
Woochanlee [Mon, 14 Mar 2022 10:40:20 +0000 (19:40 +0900)]
libaurum: Set role name as type for object that don't have type

This patch for EFL app list item doesn't have type.

Change-Id: I42f1fa0c9c8628df60eeae352b65bcef8b099e3e

2 years agolibaurum: Change text matching way to avoid use regex 10/272310/1
Woochanlee [Mon, 14 Mar 2022 10:02:09 +0000 (19:02 +0900)]
libaurum: Change text matching way to avoid use regex

regex can't search text which has '('

Change-Id: I7ca10cb75ba77753e0c0d215b91799d53d429cad

2 years agoAtspiAccessibleWatcher: use thread context instead of default context. 78/270878/2 accepted/tizen/unified/20220212.064819 submit/tizen/20220211.035944
Hosang Kim [Thu, 10 Feb 2022 10:51:49 +0000 (19:51 +0900)]
AtspiAccessibleWatcher: use thread context instead of default context.

Change-Id: I71c3800360bcdb2fe7adb4f875587fb34d312f75

2 years agolibaurum: install private header files. 53/270853/2
Hosang Kim [Thu, 10 Feb 2022 06:09:30 +0000 (15:09 +0900)]
libaurum: install private header files.

Change-Id: I8d2259b284b2d1c5bdb1ec26a4e66ebeaefc5f0b
Signed-off-by: Hosang Kim <hosang12.kim@samsung.com>
2 years agolibaurum: Introduce setFocus command 69/270869/2
Woochanlee [Thu, 10 Feb 2022 08:38:25 +0000 (17:38 +0900)]
libaurum: Introduce setFocus command

This command can sets focus to specific ui object.

sample usage : ret = stub.setFocus(ReqSetFocus(elementId="ID"))

Change-Id: I3d4fbe61620dabc2b5e309f65d6963a97a58e473

2 years agobootstrap: Fix resource leak issue in InstallAppCommand 64/270664/2
Woochanlee [Mon, 7 Feb 2022 11:10:09 +0000 (20:10 +0900)]
bootstrap: Fix resource leak issue in InstallAppCommand

pkgRequest alloc in create and it has to free before end of function scope.

Change-Id: I753fcf1f9c3c911daa3ae108220f38fa22160dcd

2 years agoUpdate README 58/270658/2
Woochanlee [Mon, 7 Feb 2022 09:30:29 +0000 (18:30 +0900)]
Update README

Add known issue

Change-Id: I60c2cce814536365729b7bb43ba576721b91a884

2 years agobootstrap: fix logic error 17/269017/2
Hosang Kim [Thu, 6 Jan 2022 08:43:08 +0000 (17:43 +0900)]
bootstrap: fix logic error

Element id value should be compared instead of automation id.

Change-Id: I2f69f62e9f477b9a11cd0c774cb1f912ed3fec68

2 years agoatspi: change deprecated API 26/270026/2 accepted/tizen/unified/20220126.212958 submit/tizen/20220124.100253
Hosang Kim [Mon, 24 Jan 2022 09:17:40 +0000 (18:17 +0900)]
atspi: change deprecated API

- change atspi_accessible_get_editable_text to
atspi_accessible_get_editable_text_iface
- call g_object_unref when it is finished using iface.

Change-Id: If66f8226d31bbe473c08ba093cad1d91fa7e3b63

2 years agoaurum: fix return value for setValue API 30/269630/2
Hosang Kim [Wed, 19 Jan 2022 08:52:12 +0000 (17:52 +0900)]
aurum: fix return value for setValue API

Sometimes we need to check whether it is successful or not.

Change-Id: Ie1fb3fd2fa6f6a6db51407af704a28a0c80791e7

2 years agoaurum: Introduce ActionAndWaitEvent feature 43/268643/6
Woochanlee [Tue, 28 Dec 2021 10:52:49 +0000 (19:52 +0900)]
aurum: Introduce ActionAndWaitEvent feature

Do user request action and wait A11y event. such as window activate, focus changed.

Change-Id: I84534b11bceaad2e1fbcc7e3805bac18e34cfe75

2 years agoaurum-service: Add textPartialMatch interface to search part of text in full text 31/268331/4
Woochanlee [Mon, 20 Dec 2021 12:00:04 +0000 (21:00 +0900)]
aurum-service: Add textPartialMatch interface to search part of text in full text

There was a constraint that the entire text must match.
It is a function that improves usability through interface expansion.

Change-Id: I8b4b996aa4d3a3badbe118c2fee44892a74a830a

2 years agolibaurum: Fix Can't find object when combined multiple conditions on efl app 70/266970/1 dev/wonsik accepted/tizen/unified/20211213.132436 submit/tizen/20211208.013357
Woochanlee [Tue, 23 Nov 2021 07:38:51 +0000 (16:38 +0900)]
libaurum: Fix Can't find object when combined multiple conditions on efl app

Change-Id: I7b73c97a412f11e53547500ba9fa1a371e498e19

3 years agoAurum Version 1.0.0 release 10/266110/2 accepted/tizen/6.5/unified/20211109.041745 accepted/tizen/unified/20211109.043026 submit/tizen/20211108.100132 submit/tizen_6.5/20211108.100005
Woochanlee [Mon, 8 Nov 2021 04:16:23 +0000 (13:16 +0900)]
Aurum Version 1.0.0 release

Change-Id: I1d242ba5fe90c5edd69461889272ace99c9470ef

3 years agoimplement getscreensize feature 17/266117/5
Hosang Kim [Mon, 8 Nov 2021 04:45:30 +0000 (13:45 +0900)]
implement getscreensize feature

Change-Id: I83baf89a7003424b800ca68aa5ec51e8e7e97f09

3 years agobootstrap: Delete wrong colons 25/266125/2
Woochanlee [Mon, 8 Nov 2021 06:17:34 +0000 (15:17 +0900)]
bootstrap: Delete wrong colons

Change-Id: Ica97e195731de19db169f4a10efc3a0a3834ceb6

3 years agolibaurum: Fix released tizen version as 6.5 43/266043/3
Woochanlee [Thu, 4 Nov 2021 11:20:05 +0000 (20:20 +0900)]
libaurum: Fix released tizen version as 6.5

aurum 1.0 will release since tizen 6.5.

Change-Id: I3509c94d5849f5c1682f2c2e3f9d302b9f5a26a4

3 years agoaurum: Use Aurum namespace 99/265399/6
Woochanlee [Mon, 18 Oct 2021 07:28:04 +0000 (16:28 +0900)]
aurum: Use Aurum namespace

This is for prepare Aurum 1.0 version release.

namespaces - Aurum for public classes
             AurumInternal for internal headers such as atspi, impl classes
             AurumInternal::Mock for Mock wrapper.

We will add more namespace if we added other back-end instead of ATSPI,
or other Node type needed.

Change-Id: Ia47ff40387d322e3e0932b3b0cda45b0d4a5f19a

3 years agolibaurum: Add doc for Public classes 16/265516/8
Woochanlee [Thu, 21 Oct 2021 08:26:04 +0000 (17:26 +0900)]
libaurum: Add doc for Public classes

It includes performance improve feature.
 - Using the unique_ptr variable, the phenomenon of continuous
   memory reference occured is that it has improved performance
   through a variable static declaration.

Change-Id: I1f3a42c73136e9c0e9843b1a13e31eb7f19994f7

3 years agolibaurum: Add doc for Accessible, AtspiAccessible classes 23/265623/4
Woochanlee [Mon, 25 Oct 2021 10:37:43 +0000 (19:37 +0900)]
libaurum: Add doc for Accessible, AtspiAccessible classes

Change-Id: I3ddc06de57dea697a2a522c6750beeed6b576e08

3 years agolibaurum: Add doc for Object(Node) classes 69/265469/5 accepted/tizen/unified/20211102.133834 submit/tizen/20211102.023704
Woochanlee [Wed, 20 Oct 2021 06:49:30 +0000 (15:49 +0900)]
libaurum: Add doc for Object(Node) classes

Change-Id: I6c2272926e6b3f2e0faa5bfc613170af37f66586

3 years agolibaurum: Fix doc for Device class 24/265624/1
Woochanlee [Mon, 25 Oct 2021 11:22:15 +0000 (20:22 +0900)]
libaurum: Fix doc for Device class

Change-Id: I6c6fce04f2eeeb3cc89e022fd9f2d5da311e2e6a

3 years agoaurum: Change #pragma once to include guards 19/265319/4
Woochanlee [Fri, 15 Oct 2021 01:25:26 +0000 (10:25 +0900)]
aurum: Change #pragma once to include guards

pragma once works well but it may not work on older compiler.
I changed it for stability and versatility.

Change-Id: I6d44fb970a47345516106cc4dcf698d98de1be94

3 years agoaurum: Add boilerplate 80/265280/2
Woochanlee [Thu, 14 Oct 2021 04:16:36 +0000 (13:16 +0900)]
aurum: Add boilerplate

Change-Id: I64b7669e9020d792a36aa9ca3839dc1238377c09

3 years agolibaurum: reset states data before update. 79/265279/1
Woochanlee [Thu, 14 Oct 2021 01:26:06 +0000 (10:26 +0900)]
libaurum: reset states data before update.

Aurum managed state with bit operation for each state.
But the state is not updated, if the exist state is changed.
So i fixed it as reset bit before state update.

Change-Id: I7ecf8b416a80baa7cd099b221c42b509267f87b6

3 years agoaurum: Fix root permission not require in host 39/264839/6 submit/tizen/20211007.062212
Woochanlee [Fri, 1 Oct 2021 02:13:27 +0000 (11:13 +0900)]
aurum: Fix root permission not require in host

1. bootrap service app add in system
2. touch force enable by vconf API
3. Use sync API to avoid winfo command in host

Change-Id: I72afd5f48677d5be7c4cc3114a8231c0d3950a67

3 years agoaurum: Add screen size getter and fix screen capture file naming rule 97/263797/6
Woochanlee [Fri, 10 Sep 2021 07:17:25 +0000 (16:17 +0900)]
aurum: Add screen size getter and fix screen capture file naming rule

gets screen size from system API.
puts system date time for screenshot file name.

Change-Id: I9a2ad8ebefd8f09421b2cb0de70ea0167d6feba3

3 years agolibaurum: Add doc for Device classes. 42/264542/2 submit/tizen/20210928.232914
Woochanlee [Fri, 24 Sep 2021 07:38:30 +0000 (16:38 +0900)]
libaurum: Add doc for Device classes.

Change-Id: I01816661088c9afe3f0c13afb65127f720c541b8

3 years agoaurum: Code clean up for 1.0 Release 97/264197/5
Woochanlee [Tue, 14 Sep 2021 08:10:38 +0000 (17:10 +0900)]
aurum: Code clean up for 1.0 Release

1. Delete useless class such as capi, AccessibleUtils.
2. Delete commented out codes.
3. Delete useless build configure.
4. Delete uesless methods.
5. Delete useless event types.
6. Code indentations.

Change-Id: I5bd1495ebfd41990b52f5c9ecc4a630ed43a057f

3 years agoaurum: re-arrange files and add guide & scripts for TV 77/263077/7 accepted/tizen/6.5/unified/20211028.113644 accepted/tizen/unified/20210901.050233 submit/tizen/20210831.022718 submit/tizen_6.5/20211028.163101 tizen_6.5.m2_release
Woochanlee [Wed, 25 Aug 2021 11:46:48 +0000 (20:46 +0900)]
aurum: re-arrange files and add guide & scripts for TV

Change-Id: Ibdc2684cfcc984fabf7f02a80143abb2cf2b3c88

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