platform/core/uifw/aurum.git
5 weeks agoBump up version 1.0.12 94/321194/1 accepted/tizen_unified accepted/tizen_unified_x accepted/tizen/unified/20250317.143620 accepted/tizen/unified/x/20250318.035658
jykeon [Mon, 17 Mar 2025 06:01:34 +0000 (15:01 +0900)]
Bump up version 1.0.12

Change-Id: I4c1bb09f28fe8f501ab6e30e680c5dec1aab3187
Signed-off-by: jykeon <jykeon@samsung.com>
8 weeks agoAdd click and press API to C bindings 83/320183/2
Youngsun Suh [Tue, 25 Feb 2025 04:40:30 +0000 (13:40 +0900)]
Add click and press API to C bindings

Change-Id: Idd8bf5b990c25f17d90c7f370a96301f6c55c204

8 weeks agoUpdate DumpTree result in C Bindings 85/319885/2
Youngsun Suh [Wed, 19 Feb 2025 07:11:56 +0000 (16:11 +0900)]
Update DumpTree result in C Bindings

Change-Id: I38be0f14dc34cbe2e8ad1f0a4e22e7c09243a17a

2 months agoBump up version 1.0.11 57/319957/1 accepted/tizen/unified/20250221.111437 accepted/tizen/unified/x/20250221.231500
jykeon [Thu, 20 Feb 2025 07:37:53 +0000 (16:37 +0900)]
Bump up version 1.0.11

Change-Id: I50893a86e05046d8e28132430a993a99f2246af2
Signed-off-by: jykeon <jykeon@samsung.com>
2 months agoSupports to remove scree shot file when takescreenshot works. 54/319954/1
Wonsik Jung [Wed, 20 Nov 2024 04:17:15 +0000 (13:17 +0900)]
Supports to remove scree shot file when takescreenshot works.

Supports to removw screen shot file when takescreenshot works.
Is is for preventing disk memory overflow.

Change-Id: I03a690c511234d9b6073b832ff56ad9b3e47cf1e

2 months agolibaurum: remove unnecessary unlock 53/319953/1
Hosang Kim [Thu, 20 Feb 2025 07:03:16 +0000 (16:03 +0900)]
libaurum: remove unnecessary unlock

- coverity

Change-Id: I3411b693d930150530fba7ab7ab81c45c252dc39

2 months agolibaurum: add highlighted property 06/319306/5
Hosang Kim [Fri, 7 Feb 2025 09:10:27 +0000 (18:10 +0900)]
libaurum: add highlighted property

Change-Id: I74c12ecf39cd27cedf4b3c4eb17ae871d138b0a8

2 months agoUpdate README file for Ubuntu local build 34/319234/1
Seoyeon [Thu, 6 Feb 2025 05:14:08 +0000 (14:14 +0900)]
Update README file for Ubuntu local build

- There's an error message using `meson compile -C builddir/` command
```
usage: meson [-h] {setup,configure,dist,install,introspect,init,test,wrap,subprojects,help,rewrite} ...
meson: error: unrecognized arguments: -C builddir/
```

- Update the README.md file for the command  to use
 `ninja` build system with `-C` option.

Change-Id: Ia0930fc96ece568fbc2fd329e650594c63c08416
Signed-off-by: Seoyeon <seoyeon2.kim@samsung.com>
2 months agoAdd gen_c_bindings gbs build option 92/319192/1
Youngsun Suh [Wed, 5 Feb 2025 07:14:09 +0000 (16:14 +0900)]
Add gen_c_bindings gbs build option

Change-Id: I1329a73a5a958de25b895743cbc4486d8f22861c

3 months agoFix gbs build from external lib including Aurum.h 55/318755/2 accepted/tizen_unified_x_asan accepted/tizen/unified/20250124.043542 accepted/tizen/unified/x/20250124.061122 accepted/tizen/unified/x/asan/20250211.003515
Youngsun Suh [Thu, 23 Jan 2025 08:44:34 +0000 (17:44 +0900)]
Fix gbs build from external lib including Aurum.h

Change-Id: I5fe25f8b7a7dbefbdb2df270006fe7ff5214b75c

3 months agoBump up version 1.0.10 64/318664/1
jykeon [Wed, 22 Jan 2025 02:25:45 +0000 (11:25 +0900)]
Bump up version 1.0.10

Change-Id: Id61714e4e068e4acf6db82785d81a8dc5cd44eda
Signed-off-by: jykeon <jykeon@samsung.com>
3 months agoAdd dumpTree api to AccessibleNode 80/318580/2
Youngsun Suh [Tue, 21 Jan 2025 01:39:01 +0000 (10:39 +0900)]
Add dumpTree api to AccessibleNode

Change-Id: Ibca686636e01156240614728a0796e2ce2566079

3 months agoAdd C Bindings for rust link 19/318519/1
Youngsun Suh [Mon, 20 Jan 2025 02:26:10 +0000 (11:26 +0900)]
Add C Bindings for rust link

Change-Id: I96dae3ed444c58901a6fde73953c07b8be266a0c

3 months agoEnable local build with libaurum_only option 41/317841/2
Youngsun Suh [Thu, 9 Jan 2025 00:25:21 +0000 (09:25 +0900)]
Enable local build with libaurum_only option

Change-Id: I6489ab135bf1a9fa568befb89b97b99a9f0bc07b

4 months agoBump up version 1.0.9 19/316619/1 accepted/tizen/unified/20241216.185849 accepted/tizen/unified/x/20241218.032740 accepted/tizen/unified/x/asan/20241224.004506
jykeon [Mon, 16 Dec 2024 06:16:22 +0000 (15:16 +0900)]
Bump up version 1.0.9

Change-Id: I483efa05b7f0ce15413c81db105ad6f05e44627f
Signed-off-by: jykeon <jykeon@samsung.com>
4 months agoaurum: add image source information 81/316181/1
Hosang Kim [Fri, 29 Nov 2024 04:44:10 +0000 (13:44 +0900)]
aurum: add image source information

Change-Id: I92c9ec52a12a1a31dd55e6b810f58f1d0db76ae0

4 months agolibaurum: Introduce new setIncludeHidden/getIncludeHidden 20/320320/4
Hosang Kim [Wed, 13 Nov 2024 06:31:18 +0000 (15:31 +0900)]
libaurum: Introduce new setIncludeHidden/getIncludeHidden

Change-Id: I25ca1289128ad1a16b5079aadb8e7c8ec9d45d0b

4 months agoBump up version 1.0.8 96/320996/1 accepted/tizen/unified/20241127.050323
jykeon [Tue, 26 Nov 2024 09:33:01 +0000 (18:33 +0900)]
Bump up version 1.0.8

Change-Id: I42d528b8307834b3648cecdecc7c3160512fbdd5
Signed-off-by: jykeon <jykeon@samsung.com>
5 months agoaurum: changed name in order to solve a keyword collision issue in Java. 77/320077/2
Hosang Kim [Thu, 7 Nov 2024 10:28:32 +0000 (19:28 +0900)]
aurum: changed name in order to solve a keyword collision issue in Java.

Change-Id: Ia24909309fb1bacf51cf17f9a3a347d5edd0a253

5 months agoAurum: add generating mouse device event. 22/319722/3
Hosang Kim [Thu, 31 Oct 2024 01:21:58 +0000 (10:21 +0900)]
Aurum: add generating mouse device event.

Change-Id: I1adb196493e03523e72ffc3c5586f7558d5a83ad

7 months agoBump up version 1.0.7. 57/317157/1 accepted/tizen_unified_dev accepted/tizen_unified_toolchain accepted/tizen/9.0/unified/20241030.234439 accepted/tizen/unified/20240909.100113 accepted/tizen/unified/dev/20240910.111526 accepted/tizen/unified/toolchain/20241004.101910 accepted/tizen/unified/x/20240910.014259 accepted/tizen/unified/x/asan/20241014.000251 tizen_9.0_m2_release
jykeon [Thu, 5 Sep 2024 02:09:55 +0000 (11:09 +0900)]
Bump up version 1.0.7.

Change-Id: I0b4aed8d1221d1f42aac163a1d0f383892e52189
Signed-off-by: jykeon <jykeon@samsung.com>
7 months agoCreate SAM exclude Code. 40/317040/2
jykeon [Tue, 3 Sep 2024 06:01:58 +0000 (15:01 +0900)]
Create SAM exclude Code.

Change-Id: I5f8e3f5badcb5a4ecd7180fbb74779248d599fb1
Signed-off-by: jykeon <jykeon@samsung.com>
8 months agolibaurum: use ecore_main_loop_thread_safe_call_sync for avoiding crash 04/316404/3
Hosang Kim [Wed, 21 Aug 2024 03:51:22 +0000 (12:51 +0900)]
libaurum: use ecore_main_loop_thread_safe_call_sync for avoiding crash

Sometimes fd handler is called before fd handler is fully created.

Change-Id: I48c965061383abb57b77dd3768788cd5bdb0e0b7

8 months agoBump up version 1.0.6. 82/316082/1 accepted/tizen/unified/20240814.180327 accepted/tizen/unified/dev/20240819.095621 accepted/tizen/unified/x/20240819.023341
jykeon [Tue, 13 Aug 2024 09:57:48 +0000 (18:57 +0900)]
Bump up version 1.0.6.

Change-Id: If75dfcf8c5146a389196c8093cbcf1c7d28c494c
Signed-off-by: jykeon <jykeon@samsung.com>
8 months agoModify priviliage of org.tizen.aurum-bootstrap. 62/315462/1
Wonsik Jung [Thu, 1 Aug 2024 07:47:06 +0000 (16:47 +0900)]
Modify priviliage of org.tizen.aurum-bootstrap.

Modify priviliage of org.tizen.aurum-bootstrap for user binary.

Change-Id: If29781c286c8ebe1f4cd82ac2159583beffc0436

9 months agoAurum: fix svace issue 84/314084/1
Hosang Kim [Fri, 5 Jul 2024 04:16:02 +0000 (13:16 +0900)]
Aurum: fix svace issue

Change-Id: I0394aa3bc7754277c224c26bf7a3b00a9689de5c

9 months agoBump up version 1.0.5. 29/313829/1 accepted/tizen/unified/20240703.100051 accepted/tizen/unified/dev/20240704.065623 accepted/tizen/unified/toolchain/20240812.133246 accepted/tizen/unified/x/20240704.022931 accepted/tizen/unified/x/asan/20240813.231719
jykeon [Tue, 2 Jul 2024 09:14:51 +0000 (18:14 +0900)]
Bump up version 1.0.5.

Change-Id: I0bf75edd34c08953f78c7c435e76ca77f5df846c
Signed-off-by: jykeon <jykeon@samsung.com>
9 months agoaurum: Check app name for Quickpanel, Keyboard, volume app. 22/312822/2
Hosang Kim [Fri, 14 Jun 2024 10:06:01 +0000 (19:06 +0900)]
aurum: Check app name for Quickpanel, Keyboard, volume app.

Change-Id: Ic93b0e7056954dd1b72765e63012419ca8fe02cf

10 months agolibaurum: add role option for getMatches and getMatchesInMatches. 55/311455/5
Hosang Kim [Tue, 21 May 2024 10:22:14 +0000 (19:22 +0900)]
libaurum: add role option for getMatches and getMatchesInMatches.

Change-Id: I4dc0f1239e1df67c60d0a606a799cf78b4b380bc

10 months agolibaurum: Added fixes for GCC-14 90/312290/1 accepted/tizen/unified/20240611.122825 accepted/tizen/unified/dev/20240620.005908 accepted/tizen/unified/toolchain/20240610.172352 accepted/tizen/unified/x/20240610.222954 accepted/tizen/unified/x/asan/20240625.092604
Michal Szczecinski [Wed, 5 Jun 2024 13:00:25 +0000 (15:00 +0200)]
libaurum: Added fixes for GCC-14

Change-Id: I003f054fc513823116bf2085d3daba410612c9f1

11 months agolibaurum: add checking visibility of input window. 67/311067/1
Hosang Kim [Mon, 13 May 2024 12:02:56 +0000 (21:02 +0900)]
libaurum: add checking visibility of input window.

Input window(like as keyboard) is always activated.
So we can't know input window is showing actually.

Change-Id: I8b01fdf38b05ba49cb1ad645f1179eb884219f49

11 months agoBump up version 1.0.4. 85/310485/1 accepted/tizen/unified/20240502.044656 accepted/tizen/unified/toolchain/20240507.011905 accepted/tizen/unified/x/20240503.091149
jykeon [Tue, 30 Apr 2024 01:13:17 +0000 (10:13 +0900)]
Bump up version 1.0.4.
X

Change-Id: I534dc93e84db41bb6513ed6cb7e08b1184bd714d
Signed-off-by: jykeon <jykeon@samsung.com>
12 months agolibaurum: Introduce new getParent API 49/310249/1
Hosang Kim [Wed, 24 Apr 2024 10:43:22 +0000 (19:43 +0900)]
libaurum: Introduce new getParent API

Change-Id: I9d7be2d670286b949d5461a9ab0d1d59b1659416

12 months agolibaurum: add description(subtext) information. 96/310196/1
Hosang Kim [Wed, 24 Apr 2024 05:00:03 +0000 (14:00 +0900)]
libaurum: add description(subtext) information.

Change-Id: I8eae2f7f259a03eabebdf6fa755c8db0f697bf21

12 months agoupdate README
Hosang Kim [Tue, 23 Apr 2024 02:55:24 +0000 (11:55 +0900)]
update README

Change-Id: I6e36d85f8fe56fb7fde9d1d918555aba1de24568

12 months agoBump up version 1.0.3. 85/310085/1 accepted/tizen/unified/20240424.063514 accepted/tizen/unified/x/20240425.051130
jykeon [Mon, 22 Apr 2024 08:13:15 +0000 (17:13 +0900)]
Bump up version 1.0.3.

Change-Id: Iac5ebb8bb32d79bb94f6ecbe7e791e47bbf8420e
Signed-off-by: jykeon <jykeon@samsung.com>
12 months agolibaurum: Introduce next/prev/first/last API 68/309968/5
Hosang Kim [Thu, 18 Apr 2024 11:09:44 +0000 (20:09 +0900)]
libaurum: Introduce next/prev/first/last API

Change-Id: Icbf4fda7c3bdf799bc02c5f332ca32bdb7fa5e57

12 months agolibaurum: Introduce new moveTo API 45/309845/4
Hosang Kim [Wed, 17 Apr 2024 07:22:15 +0000 (16:22 +0900)]
libaurum: Introduce new moveTo API

Change-Id: I5eed0a5290d1a0252bc168efd0be85563f235526

12 months agoAtspiAccessibleWatcher: refactoring processing event for performance. 50/309750/4
Hosang Kim [Tue, 16 Apr 2024 07:39:41 +0000 (16:39 +0900)]
AtspiAccessibleWatcher: refactoring processing event for performance.

1. add processWindowEvent
2. add processPostRender
3. only call dbus function when necessary.

Change-Id: I1e99244f868c7b540b8c7448328f7cbac4f84bbd

12 months agoAtspiAccessibleWatcher: fix memory leak 34/309734/1
Hosang Kim [Fri, 12 Apr 2024 10:44:32 +0000 (19:44 +0900)]
AtspiAccessibleWatcher: fix memory leak

If executeAndWaitForEvent is not called, mEventQueue is not freed.
So it looks like memory leak.

Change-Id: Ibe497fc6536b87df039e7d7a4c222cdc41716e00

12 months agoAtspiAccessibleWatcher: separating event registration. 33/309733/1
Hosang Kim [Tue, 16 Apr 2024 06:10:19 +0000 (15:10 +0900)]
AtspiAccessibleWatcher: separating event registration.

Change-Id: Id0edffbd110ca4e87a32261ae7ffc543c29eeff7

12 months agobootstrap: add feature to change port number(50051-50060). 58/309258/4
Hosang Kim [Mon, 8 Apr 2024 04:57:53 +0000 (13:57 +0900)]
bootstrap: add feature to change port number(50051-50060).

ex)
tv
app_launcher -s org.tizen.aurum-bootstrap port 50051

fhub
app_launcher -s org.tizen.aurum-bootstrap port 50052

Change-Id: I4b4fef76d8815192a06a54fcb1dc0307515797a4

12 months agoFix memory leak in ATSPI event callback. 84/308984/2
Wonsik Jung [Wed, 3 Apr 2024 08:29:33 +0000 (17:29 +0900)]
Fix memory leak in ATSPI event callback.

Fix Memory leak in ATSPI event callback.
The memory leak is related to application instance.

Change-Id: I8ac3106ef409ad0691cf78d4d45f42f232d45d26

12 months agoBump up version 1.0.2. 15/308715/1 accepted/tizen/unified/20240329.230546 accepted/tizen/unified/x/20240401.142521
jykeon [Fri, 29 Mar 2024 06:39:52 +0000 (15:39 +0900)]
Bump up version 1.0.2.

Change-Id: Ibce0b0de43f68f6c75870cf9c869cfa0fcdbc806
Signed-off-by: jykeon <jykeon@samsung.com>
12 months agoFix memory leak for at-spi event. 93/308693/1
Wonsik Jung [Fri, 29 Mar 2024 02:26:41 +0000 (11:26 +0900)]
Fix memory leak for at-spi event.

This patch serves to address potential memory leaks and input parameter exception issues.

Change-Id: Ica681deeef809892ee00b202a1d96153dd191352

12 months agoAurum: add updateApplication for updateXpath
Hosang Kim [Mon, 25 Mar 2024 11:15:31 +0000 (20:15 +0900)]
Aurum: add updateApplication for updateXpath

Change-Id: I00b3827eccfe33ad97fd85a7abd4ae19cb4853b9

13 months agoBump up 1.0.1. accepted/tizen/unified/20240322.174323 accepted/tizen/unified/x/20240326.073529
jykeon [Fri, 22 Mar 2024 00:26:26 +0000 (09:26 +0900)]
Bump up 1.0.1.

Change-Id: I57bffc49b660659c36cfaa730a0a3f00ee4ef3e1
Signed-off-by: jykeon <jykeon@samsung.com>
13 months agoaurum: support xpath creation when processes name are same. 36/308336/1
Hosang Kim [Thu, 21 Mar 2024 10:42:29 +0000 (19:42 +0900)]
aurum: support xpath creation when processes name are same.

Use name and process id as key value.

Change-Id: If237b63840c0bfd1157f9f622d931e5c244fa7bb

13 months agoAurumXML: fix strict weak ordering. 00/308100/1 accepted/tizen/unified/20240319.141032 accepted/tizen/unified/20240319.154828 accepted/tizen/unified/x/20240320.133023
Hosang Kim [Mon, 18 Mar 2024 04:43:17 +0000 (13:43 +0900)]
AurumXML: fix strict weak ordering.

Change-Id: I444ac7f512abfbef2340f132d83964ac236ed903

13 months agolibaurum: fix memory leak case. 11/307911/1 accepted/tizen/unified/20240315.033000 accepted/tizen/unified/x/20240318.021738
Hosang Kim [Thu, 14 Mar 2024 06:48:15 +0000 (15:48 +0900)]
libaurum: fix memory leak case.

Free node info before return.
Change-Id: I0bb1c81c974b1ee2abf25fc2b4bfb0b5825aa32a

14 months agoAurum: fix double free corruption 48/305648/2 accepted/tizen/unified/20240216.161327 accepted/tizen/unified/toolchain/20240311.065632 accepted/tizen/unified/x/20240220.150020
Hosang Kim [Tue, 6 Feb 2024 02:52:31 +0000 (11:52 +0900)]
Aurum: fix double free corruption

Change-Id: I9c439b724f195e8df8ba3637055ea17043d4f39d

14 months agoAurum: Introduce description property 10/305410/3
Hosang Kim [Thu, 1 Feb 2024 08:03:00 +0000 (17:03 +0900)]
Aurum: Introduce description property

Some widget use description property for subtext.

Change-Id: Ie7504bba3afdd5d0571ee304eb23d23ba81433c0

14 months agoComparer: fix bug when find element with showing condition. 91/305391/2
Hosang Kim [Thu, 1 Feb 2024 05:35:38 +0000 (14:35 +0900)]
Comparer: fix bug when find element with showing condition.

Comparer checks only matchshowing, so it can't find hidden element.
Add checks isshowing also.

Change-Id: I82f491f91ab95e78f99356feace5d6fa405c63cb

14 months agolibaurum: Deprecate press* methods 04/305404/1
Woochan Lee [Thu, 1 Feb 2024 07:27:42 +0000 (16:27 +0900)]
libaurum: Deprecate press* methods

It does not defined at IDevice.h
Addtional keys will be added in KeyType then use generateKey() method
instead of press*

Change-Id: I3726916bcf69c580d8d520455815bd7c7bc7c819

14 months agolibaurum: Apply clean code to object releated classes 98/305298/2
Hosang Kim [Wed, 31 Jan 2024 05:07:11 +0000 (14:07 +0900)]
libaurum: Apply clean code to object releated classes

The IObject interface seems to have been added in the past to define a common interface between the ScreenAnalyzer object and the Ui Object.
It seems better to delete it because there is no abstracted object other than UiObject.

Clean Code was applied to the fact that UiObject calls getAccessibleNode even though it has Node.

Change-Id: Icf1262cd5ef69a596fa8793721219404117eef34

14 months agolibaurum: Apply factory pattern for OCP, LSP using TDD 72/305172/3
Woochan Lee [Mon, 29 Jan 2024 11:30:01 +0000 (20:30 +0900)]
libaurum: Apply factory pattern for OCP, LSP using TDD

Adds generateKey method and Tests for this.

apply factory pattern for Key generates it able to be added or changed
without changing exising code.

It also no problem in the operation of the program even if an object of a child
class is replaced with an object of the parent class.

For advantaging of being easy to maintain and highly extensibel.

Change-Id: I5ee504a82f2f7cc5c3ffea9be8914034975bf015

14 months agolibaurum: Add ISearchable interface for common methods 88/305088/6
Hosang Kim [Fri, 26 Jan 2024 09:20:57 +0000 (18:20 +0900)]
libaurum: Add ISearchable interface for common methods

Implement the ISearchable abstract class in UiObject and UiDevice
to improve code readability and maintainability by separating interface from implementation.

Change-Id: I2ef4d467024f0971622b7f97bba1a6daee30b15a

14 months agolibaurum: Applying strategy pattern for OCP 22/304922/2
Woochan Lee [Thu, 25 Jan 2024 12:22:35 +0000 (21:22 +0900)]
libaurum: Applying strategy pattern for OCP

Existing code was violating the SOLID principle OCP by being closed for additional events.

To solve this problem, the strategy pattern was applied so that even if new events were added,
the existing business logic remained unchanged and the structure was improved so that new classes could be added.

Change-Id: I386ef353d9a0427dc8e32a89fb1e386a30bafc76

14 months agolibaurum: Refactoring using TDD to observe the SRP 04/304904/3
Woochan Lee [Thu, 25 Jan 2024 07:37:51 +0000 (16:37 +0900)]
libaurum: Refactoring using TDD to observe the SRP

The existing AccessibleWatcher was handling event processing and app managing.
Since this violates the single responsibility principle, AccessibleWatcher is responsible for event processing only,
and the structure has been changed so that AccessibleAppManager manages apps.

To this end, we created a test with a structure that adds a MockAccessibleAppManager,
and made sure that the test is satisfied through additional implementation.

Change-Id: I8a619384ac5a7d62b89cd16c960875e56a4a1276

14 months agolibaurum: Add test case for new refresh interface 47/304547/2
Woochan Lee [Fri, 19 Jan 2024 07:44:28 +0000 (16:44 +0900)]
libaurum: Add test case for new refresh interface

This patch contains the test case used for TDD when writing the patch below
which was missing when relfecting the previous patch.

libaurum: new interface applied to improve performance

In addition, it includes code deduplication and removal of unnecessary clear action to improve performance.

Change-Id: I68525d3d8d9bf03f3c94452de26f22f44063fcff

15 months agolibaurum: Add Mock and unit tests for getMatches* interfaces 89/304689/1
Woochan Lee [Tue, 23 Jan 2024 07:21:12 +0000 (16:21 +0900)]
libaurum: Add Mock and unit tests for getMatches* interfaces

Added a mock and tests for and interfaces that operates using UIFW atspi bridge.

Change-Id: I146402e07d43319f6392ec467a720b6c3289efe3

15 months agoIntroduce new getMatchesInMatches API. 94/303694/5 accepted/tizen/unified/20240205.162750 accepted/tizen/unified/x/20240206.004203
Hosang Kim [Wed, 3 Jan 2024 10:47:30 +0000 (19:47 +0900)]
Introduce new getMatchesInMatches API.

The getMatchesInMatches API gets the object that satisfied with both condition in the object tree.
It runs quickly because the search happens in the app.

Change-Id: I377fd73360014d4c99d43d388257d27dc1247c87

15 months agolibaurum: new interface applied to improve performance 64/303764/2
Woochan Lee [Thu, 4 Jan 2024 11:15:11 +0000 (20:15 +0900)]
libaurum: new interface applied to improve performance

Use GetNodeInfo interface brings each node's information into a single call
rather than individual API calls, resulting in a huge performance improvement.

Change-Id: Ib76151157f7e750548bdba2f9374188b084aefe7

15 months agolibaurum: add updateInterface and getInterface API 19/302819/2
Hosang Kim [Thu, 14 Dec 2023 06:47:21 +0000 (15:47 +0900)]
libaurum: add updateInterface and getInterface API

Atspi interface is a set of pointers to all interfaces supported by an AtspiAccessible.
We able to check possible feature with interface information. e.g. EditableText, Value and so on.

Change-Id: I6122e135035b15950c1a55f40b47cfb785675eda

15 months agoAurumXML: Sort child objects by coordinates. 49/302649/3
Hosang Kim [Mon, 11 Dec 2023 10:57:28 +0000 (19:57 +0900)]
AurumXML: Sort child objects by coordinates.

Sometimes the order of child objects is not consistent.
Therefore, we sort them to always ensure the same order.

Change-Id: Ia49c88bc1fa32d1e73ebeca1c8415789d9d1594e

16 months agoIntroduce new getMatches API. 90/302290/4
Hosang Kim [Tue, 5 Dec 2023 06:17:04 +0000 (15:17 +0900)]
Introduce new getMatches API.

the getMatches can find objects under specific conditions.
It runs quickly because the search happens in the app.
Internally, this API uses atspi_collection_get_matches and includes a new class, AtspiMatchRuleConvertor, to convert UiSelector to AtspiMatchRule.

Change-Id: I2856a81aa5e70d8290e33faa0df231c95749eb35

16 months agoTakeScreenshot: fix screenshot image buffer size. 91/302591/2 accepted/tizen_unified_riscv accepted/tizen/unified/20231220.165130 accepted/tizen/unified/riscv/20231226.211524
Hosang Kim [Mon, 11 Dec 2023 02:20:27 +0000 (11:20 +0900)]
TakeScreenshot: fix screenshot image buffer size.

The reason for multiplying by 4 is that image is a 32-bit RGBA PNG file.
So it is maximum image file size.
Change-Id: I0396310cd104d5e1786c11fd9816a47548858abf

17 months agoTests: Fix failed tests and add more negative tests for increase coverege 74/300674/4 accepted/tizen/unified/20231115.024849
Woochan Lee [Tue, 31 Oct 2023 06:44:07 +0000 (15:44 +0900)]
Tests: Fix failed tests and add more negative tests for increase coverege

fix 17 failed tests
add 25 new tests

Change-Id: I5243e008181fedd9b7d322fbb47950f78fed0b3f

17 months agolibaurum: Add cache when gets target windows 47/300647/3 accepted/tizen/unified/20231101.174502
Woochan Lee [Mon, 30 Oct 2023 12:04:48 +0000 (21:04 +0900)]
libaurum: Add cache when gets target windows

If a windows related event does not com from at-spi, We can reuse existing information.

Each operation can remove at least 200ms up to 500ms.
Usually, repeated data is requested in one window(app), so in the actual test it can improve great performance.

Change-Id: I25d6b3a1f06548f05a03fce517dfa0b37e6bccb6

17 months agoDelete Screen Analyzer client code 68/300468/2
Woochan Lee [Wed, 25 Oct 2023 11:04:47 +0000 (20:04 +0900)]
Delete Screen Analyzer client code

Screen Analyzer server is not working anymore since 2023/05
So currently aurum client codes has become useless
Developed on the client code and the diff is growing so delete all related codes

Change-Id: I8b33c9ded88abfbeff3c6a0420488c2a72e3c07f

18 months agoFix build error 46/300446/1
Woochan Lee [Wed, 25 Oct 2023 06:37:39 +0000 (15:37 +0900)]
Fix build error

Change-Id: I17db0ab2e13d499065e74068fc48c0d3896c7062

18 months agoaurum-service: code clean up 38/300038/2
Woochan Lee [Mon, 16 Oct 2023 04:29:11 +0000 (13:29 +0900)]
aurum-service: code clean up

It contains below changes

- delete unused header include (config.h)
- update bolier-plate
- use pragma intead of ifdef
- adjust tizen c++ code indentation
- re-arrage header file
- log cleanup

Change-Id: I41e4ff1fc67b9f634cab0994e67d9b748f8bcc96

18 months agoTizenDeviceImpl: fix thread safety 06/300306/2 accepted/tizen/unified/20231024.032154
Hosang Kim [Fri, 20 Oct 2023 06:57:40 +0000 (15:57 +0900)]
TizenDeviceImpl: fix thread safety

Remove static variable for thread safe

Change-Id: I512484329c7c13e5c1bab56c6df3e73ea6bb94fe

18 months agoexample: update package version for security 72/299772/2 accepted/tizen/unified/20231013.095121 accepted/tizen/unified/20231016.042336
Hosang Kim [Tue, 10 Oct 2023 05:42:17 +0000 (14:42 +0900)]
example: update package version for security

Change-Id: I9e90e247fef291368e2f2a61ee8756fa8d0088d4

18 months agodocs: update Gemfile 49/299649/1 accepted/tizen/unified/20231010.162029
Hosang Kim [Fri, 6 Oct 2023 06:01:13 +0000 (15:01 +0900)]
docs: update Gemfile

Change-Id: Ia903d2075cca5f6b8614746428c7cf906538ee15

18 months agosample: remove legacy sample 46/299646/1
Hosang Kim [Fri, 6 Oct 2023 04:41:06 +0000 (13:41 +0900)]
sample: remove legacy sample

Change-Id: I283384897cb1977fd47b3fdaa05137e244b33ed9

19 months agoAurumXML: clear XPath cache when findObject is called 74/296474/4 accepted/tizen/8.0/unified/20231005.093951 accepted/tizen/unified/20230919.091747
Hosang Kim [Fri, 28 Jul 2023 11:16:51 +0000 (20:16 +0900)]
AurumXML: clear XPath cache when findObject is called

Change-Id: If04238af44c852029199aad5212d36540f954024

20 months agoFix Svace Issue 14/297414/1 accepted/tizen/unified/20230821.103303
Wonsik Jung [Fri, 18 Aug 2023 03:28:48 +0000 (12:28 +0900)]
Fix Svace Issue

Fix Svace Issue to check input param

Change-Id: I259d8b1f8facc9e5b80eeee82f0782a3ce8ad112

20 months agoFix coverity issue (copy data during iteration) 84/297284/1
ANZ1217 [Wed, 16 Aug 2023 08:17:15 +0000 (17:17 +0900)]
Fix coverity issue (copy data during iteration)

Change-Id: I629a029f987242addf7bf69ec5b3a4af34f0226d

20 months agoAtspiAccessibleWatcher: fix memory leak 14/296914/1 accepted/tizen/unified/20230809.072000
Hosang Kim [Mon, 7 Aug 2023 07:10:03 +0000 (16:10 +0900)]
AtspiAccessibleWatcher: fix memory leak

Change-Id: I0ee097b8277a96227aee24cbfd0c22e0329fe8a8

21 months agobootstrap: use thread for grpc server 18/295518/2 accepted/tizen/unified/20230713.014419
Hosang Kim [Mon, 10 Jul 2023 07:04:09 +0000 (16:04 +0900)]
bootstrap: use thread for grpc server

Revert "bootstrap: remove unnecessary mainloop and thread."

This reverts commit 0ff9860541bb67fc3372d1261a047c1d29e24412.

Change-Id: I3cd4511e3da32443c373377be1d15582f61451f8

21 months agoAurumXML: enhance speed of creating XPath and disable creating XPath 66/295366/2
Hosang Kim [Thu, 6 Jul 2023 06:03:41 +0000 (15:03 +0900)]
AurumXML: enhance speed of creating XPath and disable creating XPath
partially.

Change-Id: Ie740042a901322c75eb1e88568adb647998682a8

21 months agolibaurum: disable dbus timeout for avoiding abort 32/295132/1 accepted/tizen/unified/20230705.063713
Hosang Kim [Mon, 3 Jul 2023 06:59:11 +0000 (15:59 +0900)]
libaurum: disable dbus timeout for avoiding abort

Aurum uses Grpc but Grpc makes thread when protocol function is called.
So there is dbus timeout race condition, sometimes aurum bootstrap is
aborted.
Use atspi_set_timeout(-1, -1), dbus timeout is disabled.

Change-Id: Ib9b3489ca13c44df72c49a911083374ba54f37ad

21 months agolibaurum: Give name to input generator 30/294930/1 accepted/tizen/unified/20230630.124046
Woochan Lee [Thu, 29 Jun 2023 02:17:41 +0000 (11:17 +0900)]
libaurum: Give name to input generator

Signed-off-by: Woochan Lee <wc0917.lee@samsung.com>
Change-Id: Id6caea8014c21f5073b155910efb6fd63e4fa9fa

22 months agoAtspiAccessibleWatcher: fix setXMLsync 12/294612/3 accepted/tizen/unified/20230623.160703
Hosang Kim [Wed, 21 Jun 2023 11:26:13 +0000 (20:26 +0900)]
AtspiAccessibleWatcher: fix setXMLsync

setXMLsync is not wokring when turning on XMLsync.

Change-Id: I1e2315b8ec9e9cbe5325bc6e724481bcef38d7d5

22 months agoAdd tpk-backend command in setup.py 44/294644/1
Woochan Lee [Thu, 22 Jun 2023 06:45:06 +0000 (15:45 +0900)]
Add tpk-backend command in setup.py

The tpk-backend command has been deleted due to an issue at fhub binary creation.
For proper execution of aurum-bootstrap, tpk-backend should be perfomed at setup time instead.

Change-Id: If4643fe2f93dc39c64555d6952190c3fc1571d53

22 months agoComparer: fix printing log 63/294563/2
Hosang Kim [Wed, 21 Jun 2023 07:17:48 +0000 (16:17 +0900)]
Comparer: fix printing log

Comparer logic is changed, so print current node instead of root node.

Change-Id: I9f83fb88067dbc5180415cf5606c7150ee9c71ec

22 months agoAurum: apply auto rotation for screenshot 25/294425/3
Hosang Kim [Mon, 19 Jun 2023 05:54:27 +0000 (14:54 +0900)]
Aurum: apply auto rotation for screenshot

Change-Id: Ibfaf2ba8321c1125c0cbcdd5b32eb6676d9fe57b

22 months agoaurum: Remove tpk-backend aurum-bootstrap 28/294328/1 accepted/tizen/unified/20230620.022439
Woochan Lee [Fri, 16 Jun 2023 05:58:44 +0000 (14:58 +0900)]
aurum: Remove tpk-backend aurum-bootstrap

It cause binary creation fail cuz rpm install order dependency

Change-Id: I63bc19368112cf49553e753c08c8ffe46fba5355

22 months agolibaurum: Exception handling for idle listen already finished 23/294123/1 accepted/tizen/unified/20230615.060047
Woochan Lee [Tue, 13 Jun 2023 10:36:24 +0000 (19:36 +0900)]
libaurum: Exception handling for idle listen already finished

If event listening loop already finished the idle flag will changed to READY
We need to keep READY status for other event listening.

Change-Id: Ida65b41cfadce3caf8b3d2253a57f93eeb60e99e

22 months agoImprove performance of FindElements Command 23/293423/2 accepted/tizen/unified/20230613.170814
ANZ1217 [Fri, 26 May 2023 09:41:48 +0000 (18:41 +0900)]
Improve performance of FindElements Command

Change-Id: Ic6c99f1b3c0ef45e507dc4115d292134c7d2c42a

23 months agoRevert "Add file for UI automation testing." 33/293333/1
Woochan Lee [Wed, 24 May 2023 10:19:27 +0000 (19:19 +0900)]
Revert "Add file for UI automation testing."

This reverts commit ec26d3bbf01262660e906c7325838efac9d7d4bd.

Change-Id: I74a5ca470ae2944622be4682047d5594d5087b44

23 months agoAdd file for UI automation testing. 94/293294/1
jykeon [Wed, 24 May 2023 03:41:49 +0000 (12:41 +0900)]
Add file for UI automation testing.
It is necessary install guide file and use testing python file.

Signed-off-by: jykeon <jykeon@samsung.com>
Change-Id: Id2383c4eb0b4ccec0f813026cf9e2dd829a0a27a
Signed-off-by: jykeon <jykeon@samsung.com>
23 months agodocs: update aurum.proto for tutorial guide 41/292741/1
Hosang Kim [Fri, 12 May 2023 06:23:10 +0000 (15:23 +0900)]
docs: update aurum.proto for tutorial guide

Change-Id: Idcc0825ba9feb6d62a4d75e2560ae042b4db5da3

23 months agolibaurum: Support EVENT_WINDOW_RENDER_POST event for application 93/292693/1
Woochan Lee [Thu, 11 May 2023 09:18:16 +0000 (18:18 +0900)]
libaurum: Support EVENT_WINDOW_RENDER_POST event for application

Signed-off-by: Woochan Lee <wc0917.lee@samsung.com>
Change-Id: I56fee29e6ae23175cc205e83841e28371eea1ebb

23 months agoTizenDeviceImpl: add exception handling for web app case. 01/292601/1
Hosang Kim [Wed, 10 May 2023 05:38:58 +0000 (14:38 +0900)]
TizenDeviceImpl: add exception handling for web app case.

Web app has two atspi application, but one application doesn't have any
children.

Change-Id: I825caa600cbdce662bc6e5af38992d155e68a004

23 months agoAurum: Introduce GetAngleCommand 97/292297/3
Hosang Kim [Wed, 3 May 2023 07:39:01 +0000 (16:39 +0900)]
Aurum: Introduce GetAngleCommand

Change-Id: I6cf209fd097521accde1506ae7484e4f9269ceba

23 months agoUpdate setXMLSync Command in Aurum document 81/292281/1
ANZ1217 [Wed, 3 May 2023 05:14:06 +0000 (14:14 +0900)]
Update setXMLSync Command in Aurum document

Change-Id: I90bf07ebf53e8f5e32b2062a6853041424dab08d

23 months agoTizenWindow: get rotation information from window server 78/292178/1
Hosang Kim [Fri, 28 Apr 2023 10:03:39 +0000 (19:03 +0900)]
TizenWindow: get rotation information from window server

Change-Id: Ib0279950cbdcd7f0f320d2432447de8cae219e4c

23 months agoupdate README
Hosang Kim [Fri, 28 Apr 2023 06:38:30 +0000 (15:38 +0900)]
update README

Change-Id: I00f290ff3e41bd514800c0af30d0a4218507ee58