platform/core/uifw/aurum.git
3 weeks agolibaurum: add description(subtext) information. 98/310198/1 accepted/tizen/7.0/unified/20240425.011922
Hosang Kim [Wed, 24 Apr 2024 05:00:03 +0000 (14:00 +0900)]
libaurum: add description(subtext) information.

Change-Id: I8eae2f7f259a03eabebdf6fa755c8db0f697bf21
(cherry picked from commit 9436e77080d8415bd02f590ee3bbbf03a39c70ec)

3 weeks agolibaurum: Introduce next/prev/first/last API
Hosang Kim [Thu, 18 Apr 2024 11:09:44 +0000 (20:09 +0900)]
libaurum: Introduce next/prev/first/last API

Change-Id: Icbf4fda7c3bdf799bc02c5f332ca32bdb7fa5e57

3 weeks agolibaurum: Introduce new moveTo API
Hosang Kim [Wed, 17 Apr 2024 07:22:15 +0000 (16:22 +0900)]
libaurum: Introduce new moveTo API

Change-Id: I5eed0a5290d1a0252bc168efd0be85563f235526

3 weeks agoAtspiAccessibleWatcher: refactoring processing event for performance.
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

3 weeks agoAtspiAccessibleWatcher: fix memory leak
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

3 weeks agoAtspiAccessibleWatcher: separating event registration.
Hosang Kim [Tue, 16 Apr 2024 06:10:19 +0000 (15:10 +0900)]
AtspiAccessibleWatcher: separating event registration.

Change-Id: Id0edffbd110ca4e87a32261ae7ffc543c29eeff7

3 weeks agobootstrap: add feature to change port number(50051-50060).
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

5 weeks agoFix memory leak in ATSPI event callback. 22/309622/1
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

6 weeks agoMerge branch 'tizen' into tizen_7.0 accepted/tizen/7.0/unified/20240408.153000
Hosang Kim [Fri, 5 Apr 2024 09:10:59 +0000 (18:10 +0900)]
Merge branch 'tizen' into tizen_7.0

Change-Id: I2b82221388149fecbe6b5236ccaa141bf7d5a7be

7 weeks 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>
7 weeks 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

7 weeks 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

7 weeks agoAurum: add updateApplication for updateXpath accepted/tizen/7.0/unified/20240329.114618
Hosang Kim [Mon, 25 Mar 2024 11:15:31 +0000 (20:15 +0900)]
Aurum: add updateApplication for updateXpath

Change-Id: I00b3827eccfe33ad97fd85a7abd4ae19cb4853b9

7 weeks agoBump up 1.0.1.
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>
7 weeks agoMerge branch 'tizen' into tizen_7.0
Hosang Kim [Mon, 25 Mar 2024 02:53:37 +0000 (11:53 +0900)]
Merge branch 'tizen' into tizen_7.0

Change-Id: I9f27d15f2de535e258063df698ee5744610c3f1f

8 weeks 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>
8 weeks 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

2 months agoMerge branch 'tizen' into tizen_7.0 accepted/tizen/7.0/unified/20240322.171751
Hosang Kim [Mon, 18 Mar 2024 04:49:36 +0000 (13:49 +0900)]
Merge branch 'tizen' into tizen_7.0

Change-Id: I7307f46177e45387744d856b38e78329033fbad8

2 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

2 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

3 months agoMerge branch 'tizen' into tizen_7.0 accepted/tizen/7.0/unified/20240216.161228
Woochan Lee [Fri, 16 Feb 2024 05:16:26 +0000 (14:16 +0900)]
Merge branch 'tizen' into tizen_7.0

Change-Id: I44f48fa6c750063a976510179513e790068c3d91

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

4 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

4 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

4 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

4 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

4 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

5 months agoMerge branch 'tizen' into tizen_7.0 accepted/tizen/7.0/unified/20240201.093807
Hosang Kim [Tue, 12 Dec 2023 10:19:05 +0000 (19:19 +0900)]
Merge branch 'tizen' into tizen_7.0

Change-Id: I7786b4ffcaed1b672ddb7b1e9f95ae840010da9e

5 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

6 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

6 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

6 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

6 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

6 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

6 months agoMerge branch 'tizen' into tizen_7.0 accepted/tizen/7.0/unified/20231101.053159
Hosang Kim [Mon, 23 Oct 2023 05:42:16 +0000 (14:42 +0900)]
Merge branch 'tizen' into tizen_7.0

Change-Id: Iee6220b04c61306e4b2e0d543ae7d621b9918a53

6 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

7 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

7 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

7 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

7 months agoAurumXML: clear XPath cache when findObject is called 25/299025/1 accepted/tizen/7.0/unified/20230920.022055
Hosang Kim [Fri, 28 Jul 2023 11:16:51 +0000 (20:16 +0900)]
AurumXML: clear XPath cache when findObject is called

Change-Id: If04238af44c852029199aad5212d36540f954024
(cherry picked from commit 6c0de4c4b0e8ab0d6f8600fc17d7b150e4b764c5)

7 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

8 months agoAtspiAccessibleWatcher: fix memory leak 22/297722/1 accepted/tizen/7.0/unified/20230824.162141
Hosang Kim [Mon, 7 Aug 2023 07:10:03 +0000 (16:10 +0900)]
AtspiAccessibleWatcher: fix memory leak

Change-Id: I0ee097b8277a96227aee24cbfd0c22e0329fe8a8
(cherry picked from commit d31a251f5d1b52d239275a3a5acb62a11c1a74bb)

9 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

9 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

9 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

10 months agobootstrap: use thread for grpc server 91/295591/1 accepted/tizen/7.0/unified/20230713.041536
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
(cherry picked from commit a9f7121a1b5b7f87a958efb33c9a43c619883050)

10 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

10 months agoAurumXML: enhance speed of creating XPath and disable creating XPath 86/295486/1
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
(cherry picked from commit 6bc8429475341ff717f022bbf3980e600681bf75)

10 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

10 months agolibaurum: disable dbus timeout for avoiding abort 43/295143/1 accepted/tizen/7.0/unified/20230704.165307
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
(cherry picked from commit 5e5c88ca9c81216e077a4bac36fdc70a8f521347)

10 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

10 months agoMerge branch 'tizen' into tizen_7.0 accepted/tizen/7.0/unified/20230630.105248
Woochan Lee [Thu, 29 Jun 2023 02:41:44 +0000 (11:41 +0900)]
Merge branch 'tizen' into tizen_7.0

Change-Id: I7d81387ff7722f4d3ca5d51099d76f29d54d7c0a

10 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

10 months agoMerge branch 'tizen' into tizen_7.0 accepted/tizen/7.0/unified/20230623.162719
Woochan Lee [Thu, 22 Jun 2023 07:16:16 +0000 (16:16 +0900)]
Merge branch 'tizen' into tizen_7.0

Change-Id: I5f2a9b360363cb466c0c4dec95834e08e79385ce

10 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

10 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

10 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

10 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

11 months agoMerge branch 'tizen' into tizen_7.0 accepted/tizen/7.0/unified/20230619.172239
Woochan Lee [Fri, 16 Jun 2023 06:03:34 +0000 (15:03 +0900)]
Merge branch 'tizen' into tizen_7.0

Change-Id: I1595b28e110f8a599e070da6fd2af8bfd2d54c58

11 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

11 months agoMerge branch 'tizen' into tizen_7.0 accepted/tizen/7.0/unified/20230614.162017
Woochan Lee [Tue, 13 Jun 2023 10:46:04 +0000 (19:46 +0900)]
Merge branch 'tizen' into tizen_7.0

Change-Id: If606b44f6bd580c1cfbc1ceedba45cc17a162490

11 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

11 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

11 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

11 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>
12 months agoMerge branch 'tizen_7.0' of ssh://review.tizen.org:29418/platform/core/uifw/aurum...
Woochan Lee [Fri, 12 May 2023 06:31:19 +0000 (15:31 +0900)]
Merge branch 'tizen_7.0' of ssh://review.tizen.org:29418/platform/core/uifw/aurum into tizen_7.0

Change-Id: Ic1f3d67f9d88f473c7b4efa0c86a54542699166e

12 months agoMerge branch 'tizen' into tizen_7.0 accepted/tizen/7.0/unified/20230515.132826 accepted/tizen/7.0/unified/20230515.152730
Woochan Lee [Fri, 12 May 2023 06:25:45 +0000 (15:25 +0900)]
Merge branch 'tizen' into tizen_7.0

Change-Id: I6ad71814a8ca9dde656aef7bb9a58845b9aae862

12 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

12 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

12 months agolibaurum: Support EVENT_WINDOW_RENDER_POST event for application 92/292692/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

12 months agolibaurum: Support EVENT_WINDOW_RENDER_POST event for application
Woochan Lee [Thu, 11 May 2023 09:11:38 +0000 (18:11 +0900)]
libaurum: Support EVENT_WINDOW_RENDER_POST event for application

Change-Id: I84d171a3b8e8d2440f5388f8d091af9f2e5d2581

Signed-off-by: Woochan Lee <wc0917.lee@samsung.com>
12 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

12 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

12 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

12 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

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

Change-Id: I00f290ff3e41bd514800c0af30d0a4218507ee58

12 months agoMerge branch 'tizen' into tizen_7.0 accepted/tizen/7.0/unified/20230502.051237
Woochan Lee [Wed, 26 Apr 2023 07:43:08 +0000 (16:43 +0900)]
Merge branch 'tizen' into tizen_7.0

Change-Id: I74a106c1850bad4da9976d1856377641c59ffc54

12 months agolibaurum: Add window events for automate script 16/292016/2 accepted/tizen/unified/20230427.155836
Woochan Lee [Wed, 26 Apr 2023 07:39:16 +0000 (16:39 +0900)]
libaurum: Add window events for automate script

+ Add require libraries for image processing.

Change-Id: I45b3f97beca90f64024d4789cf5ed6f75488faf0

12 months agoAurum: Change not to delete XML information when window is minimized 34/291934/1
ANZ1217 [Tue, 25 Apr 2023 07:56:51 +0000 (16:56 +0900)]
Aurum: Change not to delete XML information when window is minimized

Change-Id: I088ad699fbe694405875cffc1efd2c381f9affb6

12 months agoAurum: Introduce SetXMLSync Command 93/291693/6
ANZ1217 [Thu, 20 Apr 2023 08:49:33 +0000 (17:49 +0900)]
Aurum: Introduce SetXMLSync Command

Change-Id: I495fe584ecb55fe4036f305aa73a40fc0a9ed245

12 months agolibaurum: fix type for calculating without miss casting 79/291679/1
Hosang Kim [Thu, 20 Apr 2023 07:16:20 +0000 (16:16 +0900)]
libaurum: fix type for calculating without miss casting

Change-Id: I1eb1c1a5fba05211828a23a2ffbf89151629db0b

13 months agolibaurum: Delete moved header in Aurum.h 96/291296/1
Woochan Lee [Thu, 13 Apr 2023 04:26:53 +0000 (13:26 +0900)]
libaurum: Delete moved header in Aurum.h

TizenWindow.h has been moved to impl.

Change-Id: Ic951c2b3621cdd0334873ef7545b55ac768f35c2

13 months agoMove getWindowRoot() implementation to DeviceImpl 53/291053/3
Daekwang Ryu [Thu, 6 Apr 2023 05:16:21 +0000 (14:16 +0900)]
Move getWindowRoot() implementation to DeviceImpl

The getTizenWindowInfo function depends on Tizen platform.
It has been moved to TizenDeviceImpl.

This change helps in running and implementing UTC.

Change-Id: Icfe725a21e9178244ae7b9698c1be13fa60efb95

13 months agoAurumXML: fix find elements for XPath. 74/291074/1 accepted/tizen/unified/20230413.123737
Hosang Kim [Fri, 7 Apr 2023 10:17:03 +0000 (19:17 +0900)]
AurumXML: fix find elements for XPath.

The previous approach involved creating a new tree and then finding the item, but it has been modified to first find the item and if unsuccessful, then create a new tree.

Change-Id: I409a4af4d7bb6a4bcfb13bfdab002fd78a2b1e20

13 months agolibaurum: change timer logic 02/291002/4
Hosang Kim [Thu, 6 Apr 2023 06:58:23 +0000 (15:58 +0900)]
libaurum: change timer logic

Change-Id: I8ea4544f96b904c68a83680bb2c1c3e8ab041893

13 months agolibaurum: add updateApplication information 95/290995/1
Hosang Kim [Thu, 6 Apr 2023 06:43:02 +0000 (15:43 +0900)]
libaurum: add updateApplication information

Change-Id: Id25717aebac97fd163db004db40c8ab719a40f42

13 months agoMerge branch 'tizen' into tizen_7.0 accepted/tizen/7.0/unified/20230405.151605
Woochan Lee [Tue, 4 Apr 2023 08:25:37 +0000 (17:25 +0900)]
Merge branch 'tizen' into tizen_7.0

Change-Id: Id522d16a52406514235b6fb358e82e5926cb72f1

13 months agolibaurum: Delete accidentally merged debuging log 61/290861/1 accepted/tizen/unified/20230411.161256
Woochan Lee [Tue, 4 Apr 2023 08:18:27 +0000 (17:18 +0900)]
libaurum: Delete accidentally merged debuging log

Change-Id: I0a727172ccb8c18ac14a097ee84dfa061c05f8ad

13 months agoMerge remote-tracking branch 'origin/tizen' into tizen_7.0 20/290820/1
Woochan Lee [Tue, 4 Apr 2023 02:02:59 +0000 (11:02 +0900)]
Merge remote-tracking branch 'origin/tizen' into tizen_7.0

Change-Id: If6b177a3f6922e12f672923a75453016cfe8f498

13 months agolibaurum: Add option to receive pixel data of screenshot image 87/290787/3
Woochan Lee [Mon, 3 Apr 2023 07:56:07 +0000 (16:56 +0900)]
libaurum: Add option to receive pixel data of screenshot image

To provide past performance in case that pixel data is needed without stroing image

Remove unnecessary params such as scale, quality.

Change-Id: Ibc6db0b33375a8597b576ba410eb520126335ef5