platform/core/uifw/aurum.git
20 months agolibaurum: add REPEAT to sendKey command 52/281452/10 accepted/tizen_7.0_unified_hotfix tizen_7.0_hotfix accepted/tizen/7.0/unified/hotfix/20221116.105913 accepted/tizen/unified/20220922.114019 tizen_7.0_m2_release
Chihun Jeong [Thu, 22 Sep 2022 02:06:25 +0000 (11:06 +0900)]
libaurum: add REPEAT to sendKey command

This command simulates repeat press of the given key.

How to use
Sends Right key every 100ms for a total of 2000ms:
stub.sendKey(ReqKey(type='XF86', actionType='REPEAT', XF86keyCode='Right', durationMs=2000, intervalMs=100))

Change-Id: I03ec7a8b79a28d6802fac5318a333e7ff5cbda59

20 months agoaurum.proto: Changes case style to camel 23/281723/2
WoochanLee [Wed, 21 Sep 2022 05:14:55 +0000 (14:14 +0900)]
aurum.proto: Changes case style to camel

Change-Id: If5755aced7b1df65f072c9db628f201489dd73dc

20 months agoRevert "aurum: Add submodule(aurum-proto)" 14/281714/1
WoochanLee [Wed, 21 Sep 2022 04:33:58 +0000 (13:33 +0900)]
Revert "aurum: Add submodule(aurum-proto)"

This reverts commit 9339c7849141c96cbb6502eb82f3d38ee3c71bf5.

Change-Id: Id2fe8afa6a745a2c5c1a8e5874d6a1dd89bf4208

20 months agoaurum: Add submodule(aurum-proto) 86/281486/1
WoochanLee [Mon, 19 Sep 2022 11:18:03 +0000 (20:18 +0900)]
aurum: Add submodule(aurum-proto)

Change-Id: I54c033a8b886f49f70a7edab5ad083c374ad78f5

20 months agoFix Svace Issue 69/281269/1 accepted/tizen/unified/20220921.091749
Wonsik Jung [Thu, 15 Sep 2022 05:51:16 +0000 (14:51 +0900)]
Fix Svace Issue

Fix Svace issue that is WID:49252874.
WID:49252874 Constructor declared at UiSelector.cc:24 may not initialize class members of 'Aurum::UiSelector'. Following members aren't initialized: mGeometryIsEqual.

Change-Id: Id8342f0d1c3883e54089d227b6ac173715bf3c52

20 months agoAurumXML: fix error AtspiAccessibleWatcher uses XMLDocMap before creation of XMLTree. 30/281030/3 accepted/tizen/unified/20220914.164041 accepted/tizen/unified/20220916.124723 accepted/tizen/unified/20220919.012607
Chihun Jeong [Thu, 8 Sep 2022 05:07:59 +0000 (14:07 +0900)]
AurumXML: fix error AtspiAccessibleWatcher uses XMLDocMap before creation of XMLTree.

Change-Id: I3575692f7beeacf1315ac429ff939d1bb5f0c03b

20 months agolibaurum: add initializing variable submit/tizen/20220908.070031
Hosang Kim [Wed, 7 Sep 2022 10:14:53 +0000 (19:14 +0900)]
libaurum: add initializing variable

Change-Id: I9b39305d92ab109e820a13361d8d062ac511c148

20 months agolibaurum: Fix check_after_deref
Woochanlee [Wed, 7 Sep 2022 05:45:29 +0000 (14:45 +0900)]
libaurum: Fix check_after_deref

iter checked after refed.

Change-Id: I0f86fb95befb894c55fc67c89f35fb9b07ad0b22

20 months agolibaurum: change location of class member
Hosang Kim [Wed, 7 Sep 2022 05:29:27 +0000 (14:29 +0900)]
libaurum: change location of class member

Change-Id: I853b589dd31a93c66118179f6f469e962e96e23a

20 months agolibaurum: Gets pid from window node instead of it's parent. 78/280678/2
Woochanlee [Fri, 2 Sep 2022 05:36:01 +0000 (14:36 +0900)]
libaurum: Gets pid from window node instead of it's parent.

Some of the temporarily activated node has no parent.

Change-Id: Id2cbb4f6bf79a96d751d5019cafc7f911eb9425f

20 months agolibaurum: fix build error 45/280445/2 submit/tizen/20220831.093959
Hosang Kim [Tue, 30 Aug 2022 07:16:54 +0000 (16:16 +0900)]
libaurum: fix build error

Change-Id: I06f461e410bd7c0742b63b15c8b8a4cb95f5f4e9

20 months agoaurum: Add interface for searching objects by geometry. 83/280383/2
Hosang Kim [Mon, 29 Aug 2022 09:16:02 +0000 (18:16 +0900)]
aurum: Add interface for searching objects by geometry.

Change-Id: I144af89209892cefa640ddb4e85e5c013dcf536b

20 months agoMake bootstrap as preloaded app to get appdebugging privilege 80/280280/2 accepted/tizen/unified/20220829.215642 submit/tizen/20220826.065439 submit/tizen/20220829.070219
Woochanlee [Fri, 26 Aug 2022 06:35:31 +0000 (15:35 +0900)]
Make bootstrap as preloaded app to get appdebugging privilege

bootstrap works debug IP on emulator.
So it needs appdebug privilege.

Change-Id: I74fc29e25fe54532730297125390b032a0f2f6b7

20 months agoIntroduce getTextMinBoundingRect command 73/280073/5 submit/tizen/20220826.010518
Chihun Jeong [Wed, 24 Aug 2022 07:20:26 +0000 (16:20 +0900)]
Introduce getTextMinBoundingRect command

Change-Id: I3a7679b6dddd2126e8cfefdad4428700a5f8f5d5

21 months agoIntroduce Intelligent Ui Automation thorough Screen Analyzer 52/279252/7
Woochanlee [Thu, 4 Aug 2022 10:18:35 +0000 (19:18 +0900)]
Introduce Intelligent Ui Automation thorough Screen Analyzer

+libaurum: Change name ElementType -> Type
+libaurum: efl_util API resource protection with mutex
+ScreenAnalyzer: Add mqtt_enabled option for build with or without mosquitto lib
                 ScreenAnalyzer Enable build command : gbs build -A armv7l --define "mqtt 1" --include-all
+ScreenAnlayzer: Add SetServerIP for user can choose server
ScreenAnalyzer: Code re-arrange and fix warning
ScreenAnalyzer: Add commands for GSA with specific features (FR15, FR13, FR14, FR8)
ScreenAnalyzer: Add command to get application toolkit info (FR3, FR1)
ScreenAnalyzer: Use secvideo_capture API instead of efl_util's for performance (NFR2)
ScreenAnalyzer: Add IObject interface then implement in Node, UiObject, SaObject (FR10, FR6, FR11)
ScreenAnalyzer: Gets focused app Id and check the atspi window activated or not (FR10)
ScreenAnalyzer: Support Ui-Analzyer (FR12)
ScreenAnalyzer: Support compatibility Atspi with Screen Analyzer in command (FR9)
ScreenAnalyzer: Add functions for request ScreenAnalyzer (FR4)
ScreenAnalyzer: Gets UI information from Screen Analyzer and parse it to saobject (FR4, FR5, FR7, FR8)
ScreenAnalyzer: Check the extenal application state at runtime (FR3)
ScreenAnalyzer: Introduce object class for screen analayzer (FR5)

Change-Id: I4f75f61f93985b6ad9a1fe172ddff0882697ad30

21 months agoAccessibleNode: initialize pid 06/279006/1
Hosang Kim [Fri, 29 Jul 2022 07:47:25 +0000 (16:47 +0900)]
AccessibleNode: initialize pid

Change-Id: I4fbbbf6c6ef3d47845ccd12d8e8ef3ef14dd0a3c

21 months agolibaurum: Get window info from window system 64/278564/6 accepted/tizen/unified/20220726.132043 submit/tizen/20220725.064214
Woochanlee [Fri, 22 Jul 2022 04:20:27 +0000 (13:20 +0900)]
libaurum: Get window info from window system

We uesed to atspi window event to search target window.
It can't support multi window situation and something wrong state has window as well.

Change-Id: I0a3f61104402332fb6d8feb74e13d11323cc8401

22 months agolibaurum: change delay time between key down and key up 93/278493/1 submit/tizen/20220721.070719
Hosang Kim [Thu, 21 Jul 2022 06:33:09 +0000 (15:33 +0900)]
libaurum: change delay time between key down and key up

Change-Id: I83afa617dd23f917fb57b21726173b33a7a55513

22 months agolibaurum: check nullptr with rawHandler 85/278485/1
Hosang Kim [Thu, 21 Jul 2022 05:10:21 +0000 (14:10 +0900)]
libaurum: check nullptr with rawHandler

Change-Id: I5a64588645bbd0357b6f8fb2269ea8281443eb33

22 months agoAtspiWrapper: add get_process_id API 20/277420/2
Hosang Kim [Wed, 6 Jul 2022 11:32:59 +0000 (20:32 +0900)]
AtspiWrapper: add get_process_id API

Change-Id: I97d2eda3745aabfa6c941108815d15e28b12fa99

22 months agoDelete requirement packages version 67/277067/2 accepted/tizen/unified/20220704.212943 submit/tizen/20220701.080520
Woochanlee [Thu, 30 Jun 2022 06:12:17 +0000 (15:12 +0900)]
Delete requirement packages version

Change-Id: Ia1bcfd5b8f6ca7614d60977087d8dba63e948973

22 months agobootstrap: fix crash when element id is invalid 75/277075/1
Hosang Kim [Thu, 30 Jun 2022 06:45:55 +0000 (15:45 +0900)]
bootstrap: fix crash when element id is invalid

Change-Id: Ie39e166be8ee5fa2ae770d655a2337fc55737494

22 months agoComparer: fix depth start at 1
Hosang Kim [Thu, 23 Jun 2022 10:03:56 +0000 (19:03 +0900)]
Comparer: fix depth start at 1

Change-Id: Id5013a7d0a6746c5f3fe3939deea026df0b16c1c

23 months agoaurum-service: app_context destroy after use 70/275570/2
Woochanlee [Thu, 26 May 2022 09:07:00 +0000 (18:07 +0900)]
aurum-service: app_context destroy after use

Change-Id: Id920bf95e1f0bb6448822ad4fab92865fbb0907d

23 months agoAccessibleNode: fix return value for setValue 48/276148/3
Hosang Kim [Fri, 10 Jun 2022 05:47:00 +0000 (14:47 +0900)]
AccessibleNode: fix return value for setValue

Change-Id: Ib82f74c691fb830617b85ac469df9df251a01c2e

23 months agolibaurum: Introduce new value commands 24/275224/4
Hosang Kim [Wed, 18 May 2022 11:51:57 +0000 (20:51 +0900)]
libaurum: Introduce new value commands

-get minimum value
-get maximum value
-get current value
-get minimum increment
-set current value

Change-Id: I82fd2b4b9066cdaa7645ee3418db39876aaf5a75

23 months agoUiSelector: fix build warning 25/275225/2
Hosang Kim [Wed, 18 May 2022 12:03:02 +0000 (21:03 +0900)]
UiSelector: fix build warning

Change-Id: I5dec5b361ba7fb6c9ceda2f1cec27cc58e4e8c91

23 months agopugixml: fix build error 21/275221/2
Hosang Kim [Wed, 18 May 2022 08:41:30 +0000 (17:41 +0900)]
pugixml: fix build error

Change-Id: Ic512488e2f21aa926d226bb044f7d7d9cfe5382d

23 months agoaurum-service: remove unnecessary list tracking to search object. 43/276643/1
Woochanlee [Wed, 22 Jun 2022 11:05:37 +0000 (20:05 +0900)]
aurum-service: remove unnecessary list tracking to search object.

Change-Id: I4db9f82dc8a046196f7c958047b442034f6d1baa

23 months agolibaurum: apply quick search when isShowing is on. 49/276349/1 accepted/tizen/unified/20220621.140403 submit/tizen/20220617.063744
Hosang Kim [Wed, 15 Jun 2022 05:27:47 +0000 (14:27 +0900)]
libaurum: apply quick search when isShowing is on.

Change-Id: Ic945b77b7f48f09d890e1743f12ad5ad78a37163

2 years agoAurum: check package name is empty or not when XMLDocMap is created 31/274331/6
Hosang Kim [Tue, 26 Apr 2022 07:30:51 +0000 (16:30 +0900)]
Aurum: check package name is empty or not when XMLDocMap is created

Change-Id: I07e71e4324b680169aa57344dec399108e5bfd2a

2 years agolibaurum: fix memory leak in takeScreenshot 43/274943/2 submit/tizen/20220512.102556
Hosang Kim [Thu, 12 May 2022 10:01:20 +0000 (19:01 +0900)]
libaurum: fix memory leak in takeScreenshot

Change-Id: I0d98b8c1f665c94585b0e657774f04ee48fd69fa

2 years agoAurumXML: apply early return and update XMLTree when findObjects function is called 54/273854/2
Hosang Kim [Thu, 14 Apr 2022 11:28:41 +0000 (20:28 +0900)]
AurumXML: apply early return and update XMLTree when findObjects function is called

Change-Id: Id1843e0490f2b13faf8e09b38222e7783f647203

2 years agoIntroduce a new FindElements command 53/273853/9
Hosang Kim [Tue, 12 Apr 2022 05:53:02 +0000 (14:53 +0900)]
Introduce a new FindElements command

Change-Id: I80e554ac877dd391437f583a44f7184f8df305d4

2 years agolibaurum: Support focus skipped window 67/273767/2 accepted/tizen/6.5/unified/20220418.141310 submit/tizen/20220415.071011 submit/tizen_6.5/20220415.071022
Woochanlee [Wed, 13 Apr 2022 10:21:53 +0000 (19:21 +0900)]
libaurum: Support focus skipped window

Some of VD application want to use Aurum on focus skipped window such as volume, tv-viewer

Change-Id: Ic2377d30930fb13cee3e4abcd73c8395a91b46cb

2 years agoaurum: add focus type for ActionAndWaitEvent 67/273267/2
Hosang Kim [Fri, 1 Apr 2022 11:24:16 +0000 (20:24 +0900)]
aurum: add focus type for ActionAndWaitEvent

Change-Id: Ifccab29c1a47fa3843b1231604b4dd492e7c83c2

2 years agoComparer: add condition for searching object with XPath. 57/273257/2
Hosang Kim [Fri, 1 Apr 2022 08:27:56 +0000 (17:27 +0900)]
Comparer: add condition for searching object with XPath.

Change-Id: Id327cc2ce7173559d4a01df5108a86e49af3042f

2 years agoAurumXML: add findObjects API for searching objects with XPath 56/273256/2
Hosang Kim [Fri, 1 Apr 2022 08:27:04 +0000 (17:27 +0900)]
AurumXML: add findObjects API for searching objects with XPath

Change-Id: I26a6b44136ce3ac3ed666884437511cab17c9c0a

2 years agoaurum: add XPath interface to search object in object tree 55/273255/2
Hosang Kim [Fri, 1 Apr 2022 08:22:03 +0000 (17:22 +0900)]
aurum: add XPath interface to search object in object tree

Change-Id: I92e6fd2d0e62ff65634e5e81ee7ae57557017d68

2 years agoaurum: add getXPath method 54/273254/2
Hosang Kim [Thu, 31 Mar 2022 09:12:40 +0000 (18:12 +0900)]
aurum: add getXPath method

Change-Id: Icaa35e6d9b9d66f16183d6104ad981fff816e5db

2 years agolibaurum: add XML document map for parsing XML. 63/272063/3
Hosang Kim [Mon, 7 Mar 2022 14:46:38 +0000 (23:46 +0900)]
libaurum: add XML document map for parsing XML.

Change-Id: I86319b2f4a4f5350997395feaab548908e7b599f

2 years agolibaurum: add updateXPath 62/272062/4
Hosang Kim [Mon, 7 Mar 2022 14:26:49 +0000 (23:26 +0900)]
libaurum: add updateXPath

Change-Id: I61a2f9b89e2d50a8936ba17f67605f82824a93b4

2 years agoAurumXML: introduce a new class for parsing XML. 61/272061/4
Hosang Kim [Mon, 7 Mar 2022 07:27:04 +0000 (16:27 +0900)]
AurumXML: introduce a new class for parsing XML.

Change-Id: Ifd1431428dc900f363735ac56a70e18d71d9df5e

2 years agopugixml: : add library for parsing XML 60/272060/3
Hosang Kim [Fri, 18 Feb 2022 08:27:54 +0000 (17:27 +0900)]
pugixml: : add library for parsing XML

Change-Id: I42ed57edda846a15e182b053b548ce4f4367b44a

2 years agoaurum: add nodejs test sample for tv submit/tizen/20220324.045247
Hosang Kim [Thu, 17 Mar 2022 10:59:30 +0000 (19:59 +0900)]
aurum: add nodejs test sample for tv

Change-Id: I648dff347fcd9c12ae81110a1fbc76befb1b2de8

2 years agolibaurum: add set cache mask API for caching AtspiAccessible. 78/272478/1
Hosang Kim [Thu, 17 Mar 2022 08:52:07 +0000 (17:52 +0900)]
libaurum: add set cache mask API for caching AtspiAccessible.

Change-Id: I909731bb8cfbd5bf7ff3dc7984ad85aa705728f9

2 years agobootstrap: add set_status for SetFocusCommand
Hosang Kim [Mon, 14 Feb 2022 05:26:54 +0000 (14:26 +0900)]
bootstrap: add set_status for SetFocusCommand

Change-Id: I17fcd823ce100b4e2a0595bcbca15452d019ce70

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

2 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

2 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

2 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

2 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

2 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

2 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

2 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

2 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

2 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

2 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

2 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

2 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

2 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

2 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

2 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

2 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

2 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

2 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

2 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

2 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

2 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

2 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

2 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

2 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

2 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

2 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

2 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

2 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

2 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

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