platform/upstream/at-spi2-core.git
2 years agoregistryd: handle 'showing' window 50/275450/1
Shinwoo Kim [Wed, 25 May 2022 04:47:14 +0000 (13:47 +0900)]
registryd: handle 'showing' window

For multi-window case and multi-AT-client case, registryd keep the
information about 'showing' window.

This patch works well with following related patch:
https://review.tizen.org/gerrit/#/c/platform/core/accessibility/screen-reader/+/275382/
https://review.tizen.org/gerrit/#/c/platform/core/uifw/dali-adaptor/+/275412/

Change-Id: I39a7094c6745d5b83b480a589322b0bc35b9191e

2 years agoFix memory leak 00/275300/1 accepted/tizen/unified/20220524.050443 submit/tizen/20220520.094924
Shinwoo Kim [Fri, 20 May 2022 07:05:10 +0000 (16:05 +0900)]
Fix memory leak

This patch is removing memory leak detected by analysis tool.

Change-Id: I473e2a6d20b92a9e28300ed758e9bd3508b78fcb

2 years ago[Tizen] Provide GetForegroundWindows interface 44/274044/9 submit/tizen/20220520.004100
Shinwoo Kim [Wed, 20 Apr 2022 08:22:12 +0000 (17:22 +0900)]
[Tizen] Provide GetForegroundWindows interface

This interface will work for selecting a window on x,y position.
It will be needed in multi-window environment.

Change-Id: Idc86f360de0d43c867dddec5f958a26aa2693c08

2 years agoFix meson 0.60.3 errors 29/271429/3 accepted/tizen/unified/20220221.102011 submit/tizen/20220221.101853
Artur Świgoń [Mon, 21 Feb 2022 09:34:35 +0000 (10:34 +0100)]
Fix meson 0.60.3 errors

Change-Id: I74be6c48e1dd6a5120a506109a7b6849793d20ae

2 years agoMerge tag 'upstream/2.42.0' into tizen 09/270509/1 accepted/tizen/unified/20220212.064819 submit/tizen/20220211.003138
Artur Świgoń [Thu, 3 Feb 2022 17:06:03 +0000 (18:06 +0100)]
Merge tag 'upstream/2.42.0' into tizen

Change-Id: I87038728bc8e0c601919628524be8f7e0bba6c08

2 years ago2.42.0 02/270402/1 upstream/2.42.0
Artur Świgoń [Tue, 1 Feb 2022 10:01:46 +0000 (11:01 +0100)]
2.42.0

Change-Id: Ie3cf2615d77cd923b22e9f6c9a7233fe8682f95a

2 years ago[Tizen] Provide GetActiveWindow interface 13/267313/9 accepted/tizen/unified/20211228.140402 submit/tizen/20211227.065503
Shinwoo Kim [Wed, 1 Dec 2021 08:36:19 +0000 (17:36 +0900)]
[Tizen] Provide GetActiveWindow interface

If there are two AT clients, AT server does not send 'activate' signal
for the second AT client. Because AT server send the 'activate' signal
when the 'IsEnabled' status was set to be TRUE.

AT client is able to search the 'activate' window using the desktop and
its children - applications, but some times it is very slow. Probably..
It is caused by 'throttle' feature of EFL application.

We need to keep the 'activate' window information for the second client.
The at-spi2-registryd will keep the 'activate' window information.
The AT client gets the information using atspi_get_activate_window.

Change-Id: Ia5f22465b10a46411768866f245aa8309b2cc013

3 years agotest: remove warning message 26/262326/1 accepted/tizen_6.5_unified tizen_6.5 accepted/tizen/6.5/unified/20211028.223505 accepted/tizen/unified/20210816.122905 submit/tizen/20210809.014518 submit/tizen_6.5/20211028.163301 tizen_6.5.m2_release
Shinwoo Kim [Fri, 6 Aug 2021 10:29:28 +0000 (19:29 +0900)]
test: remove warning message

This change is removing following message.

 GLib-CRITICAL: g_atomic_ref_count_dec:
  assertion 'g_atomic_int_get (arc) > 0' failed

It seems that the variant is removed in g_dbus_proxy_call_sync.

Change-Id: Ibf1c5990f32a7290aa40fbbdc413c29bb125f11e

3 years agoRemoving formatted printing of accessible object path by at_spi2_tool 51/256751/2 accepted/tizen/unified/20210607.124341 submit/tizen/20210514.080747 submit/tizen/20210601.084003 submit/tizen/20210607.013021
Lukasz Oleksak [Mon, 12 Apr 2021 08:37:07 +0000 (10:37 +0200)]
Removing formatted printing of accessible object path by at_spi2_tool

Format of accessible object path (handle) may vary in different toolkits
so hardcoded formatting "%llu" cannot be used. Additionaly, the information
is redundant as unformatted (raw) object path is already printed as the
last section (after last ":") of object unique id.

Change-Id: Idedbea550e759335a10141adf4873a37737dde12

3 years agoRemoved unused unref from _atspi_dbus_get_property 18/254818/2 accepted/tizen/unified/20210323.122738 submit/tizen/20210323.004021
Bartlomiej Grzelewski [Mon, 8 Mar 2021 09:20:39 +0000 (10:20 +0100)]
Removed unused unref from _atspi_dbus_get_property

Newest at-spi2-core does not contain path that is passing
pointer to accessiblity object as "data" paramter.

There is no point in releasing data under this pointer.

Change-Id: I729db3a0aaef274657121084affb33a69fd8c02d

3 years agoAtspiDeviceListenerCB: remove const from event prototype 17/254817/1
Mike Gorse [Tue, 23 Feb 2021 16:12:15 +0000 (10:12 -0600)]
AtspiDeviceListenerCB: remove const from event prototype

The parameter is marked with (transfer full), and the code expects the caller
to free the event, so adjust the prototype to clarify the expected behavior.
Also fix a related memory leak in atspi-device-legacy.c.

Fixes #31

Change-Id: I268c80df3f251ca99456827a878e78f191a18736

3 years agoRemove debug print 16/254816/1
Mike Gorse [Mon, 22 Feb 2021 21:55:11 +0000 (15:55 -0600)]
Remove debug print

Change-Id: I1f71997aaf68f2eab803827971ffc4f2d7332657

3 years agoatspi_accessible_get_(name|description): fix memory leak 15/254815/1
Mike Gorse [Mon, 22 Feb 2021 21:53:35 +0000 (15:53 -0600)]
atspi_accessible_get_(name|description): fix memory leak

This is likely what the backed-out part of !53 was trying to do.

Change-Id: Id6f8bc3eb34caaa8df8a8734a60ce24d7f64aa9f

3 years agoVersion 2.39.90.1 34/254634/1
Bartlomiej Grzelewski [Thu, 4 Mar 2021 11:26:54 +0000 (12:26 +0100)]
Version 2.39.90.1

Change-Id: I862adfd66284175a3696f90a7c669845735dd238

3 years agoMerge branch 'upstream' into tizen 54/254554/2
Bartlomiej Grzelewski [Thu, 4 Mar 2021 09:55:38 +0000 (10:55 +0100)]
Merge branch 'upstream' into tizen

Change-Id: I729b65879ba90b87ac04e71ab775656c0168868b

3 years ago2.39.90.1 53/254553/1 upstream/2.39.90
Bartlomiej Grzelewski [Thu, 4 Mar 2021 09:43:37 +0000 (10:43 +0100)]
2.39.90.1

Change-Id: I3d30aea2ebdc1e9ff5d24b564c2977d798f285d6

4 years agoPrevent passing null to g_hash_table_unref 54/246954/1 accepted/tizen/unified/20201116.220348 submit/tizen/20201108.215920 submit/tizen/20201115.212153
Bartlomiej Grzelewski [Thu, 5 Nov 2020 09:39:36 +0000 (10:39 +0100)]
Prevent passing null to g_hash_table_unref

This commit removes annoying message from glib2:

"GLib-CRITICAL g_hash_table_unref: assertion 'hash_table != NULL'
failed"

Change-Id: Idf9eaaebc03f0b0fe8c6275c625d902e3361343a

4 years agoFix invalid memory access 59/245959/2 accepted/tizen/unified/20201028.123905 submit/tizen/20201027.091012
Bartlomiej Grzelewski [Tue, 20 Oct 2020 13:28:42 +0000 (15:28 +0200)]
Fix invalid memory access

Change-Id: I36ca4b0ac8772ba9b7e34d60449971e0b681ceda

4 years agomisc: unref bus at the end of cleanup 29/245929/1 submit/tizen/20201020.112528
Shinwoo Kim [Mon, 19 Oct 2020 05:21:29 +0000 (14:21 +0900)]
misc: unref bus at the end of cleanup

The g_object_run_dispose needs bus as below.

  g_object_run_dispose > atspi_application_dispose > _atspi_bus

So close, unref and set bus to NULL after using bus is done.

Change-Id: Idc68f7f0be02119617371efa023e7ef5b4dbb0f5

4 years agoAPI for comparing AtspiAccessible objects by unique_id 67/245767/8
Lukasz Oleksak [Thu, 15 Oct 2020 11:21:59 +0000 (13:21 +0200)]
API for comparing AtspiAccessible objects by unique_id

Change-Id: I925a9761013ac6656b1e09ac91cd79397b8b042f

4 years agoFix memory leak, handle hash table size 58/245558/7
Shinwoo Kim [Mon, 12 Oct 2020 09:17:29 +0000 (18:17 +0900)]
Fix memory leak, handle hash table size

(1) Fix memory leak of atspi_accessible_get_reading_material.
(2) Remove defunct accessible from application hash table.
  In case of chromium-efl, it emits lots of "defunct" events without
  "RemoveAccessible", and this makes application hash table too big
  which could cause a Memory Alert on TV product.
(3) If AT-server does not emit "RemoveAccessible", then there is not
  a chance to remove accessible from the application hash table. And
  then the memory usage of AT-client grows bigger and bigger. So this
  patch is using newly defined value HASH_TABLE_SIZE_MAX.

Change-Id: If60d1fa1714d8bbf73b48cf16b1e1274f5a30cb9

4 years agofix memory leak in atspi_accessible_get_default_label_info 74/245574/8
Lukasz Oleksak [Mon, 12 Oct 2020 11:03:07 +0000 (13:03 +0200)]
fix memory leak in atspi_accessible_get_default_label_info

Change-Id: I8e6094e96381fbf276556c04a1f87e0cb656d1b3

4 years agoFix memory leak 67/245867/2 submit/tizen/20201018.221456
Bartlomiej Grzelewski [Tue, 6 Oct 2020 08:30:59 +0000 (10:30 +0200)]
Fix memory leak

* Release memory before pointer overwrite.
* Free memory before overwrite pointer.
* Memory leak with ref_accessible.
* Leak in atspi_state_type_get_type.
* Remove memory leak in
  atspi_event_listener_register_from_callback_full.
* Reduce memory leaks reported on program exit.
* This api is unused by efl but still let's fix it.

Change-Id: Ifde65dd44643f2e58442cf70809703f979436e09

4 years agoAdded printing toolkit name to at_spi2_tool 17/235017/1 accepted/tizen_6.0_unified_hotfix tizen_6.0_hotfix accepted/tizen/6.0/unified/20201030.104449 accepted/tizen/6.0/unified/hotfix/20201103.000427 accepted/tizen/unified/20200608.214806 submit/tizen/20200608.010949 submit/tizen_6.0/20201029.205501 submit/tizen_6.0_hotfix/20201102.192901 submit/tizen_6.0_hotfix/20201103.115101 tizen_6.0.m2_release
Maria Bialota [Tue, 26 May 2020 16:11:38 +0000 (18:11 +0200)]
Added printing toolkit name to at_spi2_tool

Change-Id: Ia8ab65788ff932a9371dfdf8a941693b2ac8b552

4 years agoAdded printing supported actions to at_spi2_tool 00/234900/7
Maria Bialota [Tue, 26 May 2020 16:11:38 +0000 (18:11 +0200)]
Added printing supported actions to at_spi2_tool

Change-Id: I15ba50fb0b06990d314a1f8ad554baf909c2312b

4 years agospec: update license from LGPL-2.0+ to LGPL-2.1+ 59/232059/1 accepted/tizen/unified/20200510.220355 submit/tizen/20200505.220303 submit/tizen/20200506.062648 submit/tizen/20200506.224620 submit/tizen/20200507.060934 submit/tizen/20200507.214726 submit/tizen/20200508.001045
Jongmin Lee [Tue, 28 Apr 2020 04:09:55 +0000 (13:09 +0900)]
spec: update license from LGPL-2.0+ to LGPL-2.1+

Change-Id: If2866311d3282b9036c14459934d496a0ba9c7f9

4 years agoFix memory management issues 90/224990/3 accepted/tizen/unified/20200221.093534 submit/tizen/20200217.221032 submit/tizen/20200218.214546 submit/tizen/20200219.213751 submit/tizen/20200220.222107
Artur Świgoń [Fri, 14 Feb 2020 11:12:04 +0000 (12:12 +0100)]
Fix memory management issues

atspi/atspi-mutter.c

Dynamic memory referenced by 'name' was allocated at
atspi-accessible.c:307 by calling function 'atspi_accessible_get_name'
at atspi-mutter.c:398 and lost at atspi-mutter.c:401.

Pointer '&data.rd_session_path[0]' returned from function 'g_strdup' at
atspi-mutter.c:82 may be null, and it is dereferenced at
atspi-mutter.c:83.

atspi/atspi-event-listener.c

Return value of a function '_atspi_dbus_return_accessible_from_iter' is
dereferenced at atspi-event-listener.c:1094 without checking, but it is
usually checked for this function (5/6).

Change-Id: Ie311948f4d8f71025d0b1769a97e2904ee4af387

4 years agoFix upstream in .gbs.conf 81/224981/2
Artur Świgoń [Fri, 14 Feb 2020 10:28:41 +0000 (11:28 +0100)]
Fix upstream in .gbs.conf

Change-Id: Ia07c670b92bffc0e0d3ba0f7630ce8b88f5db8f1

4 years agoatspi-misc: Prevent memory leak of main_loop pointer 65/224965/1
JunsuChoi [Fri, 14 Feb 2020 08:24:14 +0000 (17:24 +0900)]
atspi-misc: Prevent memory leak of main_loop pointer

atspi_main_loop is generated with g_main_loop_new
The loop ends and a memory leak occurs.
Call unref on atspi_main_loop to prevent leaks.

Change-Id: If8158f0113bf3eb31ff7b2558c835a92219a40d2

4 years agoMerge tag 'upstream/2.34.0' into tizen 02/224302/2 submit/tizen/20200213.221652
Artur Świgoń [Fri, 7 Feb 2020 13:01:49 +0000 (14:01 +0100)]
Merge tag 'upstream/2.34.0' into tizen

Change-Id: I480c8e572f5fe7d3d7d2d6f1f0aa2a76f009c9a8

4 years ago2.34.0 73/224273/1 upstream/2.34.0
Artur Świgoń [Fri, 7 Feb 2020 06:35:42 +0000 (07:35 +0100)]
2.34.0

Change-Id: I514111ff14f955ae7cc405bf8ff6298d7e982175

5 years agoApply systemd-based dbus activation 77/216677/1 accepted/tizen/unified/20191114.123442 submit/tizen/20191111.211104 submit/tizen/20191113.212006 submit/tizen/20191113.212830
Maria Bialota [Wed, 30 Oct 2019 14:49:41 +0000 (15:49 +0100)]
Apply systemd-based dbus activation

Change-Id: I3ccf53942b6c49fbe656e2e4387cc681809c2c98

5 years agoResolve the possible use of negative value (detected by coverity tool) 49/215349/1 accepted/tizen_5.5_unified_mobile_hotfix tizen_5.5_mobile_hotfix tizen_5.5_tv accepted/tizen/5.5/unified/20191031.010026 accepted/tizen/5.5/unified/mobile/hotfix/20201027.063207 accepted/tizen/unified/20191009.231729 accepted/tizen/unified/20191011.015423 submit/tizen/20191007.211537 submit/tizen/20191008.054628 submit/tizen/20191009.211935 submit/tizen_5.5/20191031.000006 submit/tizen_5.5_mobile_hotfix/20201026.185106 tizen_5.5.m2_release
Jongmin Lee [Mon, 7 Oct 2019 08:36:29 +0000 (17:36 +0900)]
Resolve the possible use of negative value (detected by coverity tool)

Change-Id: Ibb68f024ef14a0beb10d2bc63ff28fe03d55762f

5 years agoMerge "Revert "tizen: Add additional unit for "unified" user session"" into tizen accepted/tizen/unified/20190905.232214 submit/tizen/20190828.061756 submit/tizen/20190829.043227 submit/tizen/20190829.094028 submit/tizen/20190830.023608 submit/tizen/20190830.034707 submit/tizen/20190905.064609
Jongmin Lee [Thu, 22 Aug 2019 21:27:46 +0000 (21:27 +0000)]
Merge "Revert "tizen: Add additional unit for "unified" user session"" into tizen

5 years agofix for potential resource leak 45/212245/2
Radoslaw Cybulski [Mon, 19 Aug 2019 08:06:58 +0000 (10:06 +0200)]
fix for potential resource leak

fix for potential memory leak, where pointer memory allocated and
stored in a11y_bus_address property could be overwritten
without releasing.

Change-Id: I0835ec807c96192cc011374b81e2eb14bc910c58

5 years agoRevert "tizen: Add additional unit for "unified" user session" 02/212302/1
Yunmi Ha [Tue, 20 Aug 2019 07:19:22 +0000 (07:19 +0000)]
Revert "tizen: Add additional unit for "unified" user session"

This reverts commit c64ea0f61a0842c7b71c3ccb9018fd9dce088164.

We've optimized systemd-user without unified system/session.
So, we revert the patch for unified system/session.

Change-Id: I4790604bf3b41c484aef3ffd029719f04a92fbce

5 years agoMerge "at_spi2_tool is now in path'ed directory" into tizen accepted/tizen/unified/20190603.095321 accepted/tizen/unified/20190604.014643 submit/tizen/20190530.111225 submit/tizen/20190531.122943 submit/tizen/20190603.083549
Lukasz Oleksak [Tue, 21 May 2019 13:02:31 +0000 (13:02 +0000)]
Merge "at_spi2_tool is now in path'ed directory" into tizen

5 years agoat_spi2_tool is now in path'ed directory 79/206579/1
Radoslaw Cybulski [Tue, 21 May 2019 10:43:14 +0000 (12:43 +0200)]
at_spi2_tool is now in path'ed directory

Change-Id: Iee3957bc7259622191e09b2f06e6d2262e67faf5

5 years agoFix meson build error 18/205518/1 accepted/tizen/unified/20190507.221734 submit/tizen/20190507.071707
YoungGun Chun [Tue, 7 May 2019 05:53:00 +0000 (14:53 +0900)]
Fix meson build error

Change-Id: If9f9fcbd94c9f562d239d4b134f97bfb3a4ea705

5 years agoMerge "tizen: Add additional unit for "unified" user session" into tizen
Jongmin Lee [Thu, 2 May 2019 06:43:03 +0000 (06:43 +0000)]
Merge "tizen: Add additional unit for "unified" user session" into tizen

5 years agotizen: Add additional unit for "unified" user session 28/204128/1
Mateusz Moscicki [Fri, 19 Apr 2019 08:51:11 +0000 (10:51 +0200)]
tizen: Add additional unit for "unified" user session

The unified user session is about moving user session units, managed by
systemd --user, to main systemd, where it's managed as part of newly
created user@.target.

user@.target will contain same units as previously available in user/,
with same UID and environment setup.  systemd instance is used for unit
to be able to specify UID (inherited from user@.target).

The rationale behind this work is following:

* VD requirement to remove user session support
* boot time optimization requirements, due to:

   + 'systemd --user' taking 1s its own startup that could be used for
     unit startup
   + ability to better rearrange units if these managed by one systemd
     instance

Unit installed by this commit will not be used till user login mechanism
will be changed in systemd package (via changing pam_systemd to start
user@.target, rather than user@.service).

Change-Id: I232c8be6cc6fce07ae694d5b0ac2f08d8b98c3a0

5 years agoFixes SVACE issue with thread-unsafe calls to strerror 09/204009/3 accepted/tizen/unified/20190425.014541 submit/tizen/20190424.060632 submit/tizen/20190424.080239
Radoslaw Cybulski [Thu, 18 Apr 2019 10:26:46 +0000 (12:26 +0200)]
Fixes SVACE issue with thread-unsafe calls to strerror

Calls to strerror were replaced with calls to strerror_r, which
is thread-safe.

Change-Id: I6ee4908672118248b96590f375005ee424daea85

5 years agoFix for missing -fPIE build flag 52/202452/2 accepted/tizen/unified/20190404.022012 submit/tizen/20190402.051338 submit/tizen/20190402.080200 submit/tizen/20190403.050239 submit/tizen/20190403.055426 submit/tizen/20190403.063646
Radoslaw Cybulski [Thu, 28 Mar 2019 13:02:03 +0000 (14:02 +0100)]
Fix for missing -fPIE build flag

Adds -fPIE build flag to meson, which is required, because not ASLR
binaries won't be allowed to run on target.

Change-Id: I1f725eb4c7f39a32c43dd104255b16b0628d7a38

5 years agoFix for invalid at-spi configuration 08/200808/2 accepted/tizen/unified/20190327.160535 submit/tizen/20190311.042353 submit/tizen/20190311.104527 submit/tizen/20190314.062257 submit/tizen/20190314.080413 submit/tizen/20190314.103410 submit/tizen/20190318.043555 submit/tizen/20190318.114709 submit/tizen/20190319.041006 submit/tizen/20190327.041330
Radoslaw Cybulski [Mon, 4 Mar 2019 12:09:32 +0000 (13:09 +0100)]
Fix for invalid at-spi configuration

Fixes not working configuration (dbus-daemon binary not found), which
caused at-spi2-bus-launcher not to start.
Fixes crash due to missing schema for GSetting.

Change-Id: I5f1692144b4c7487f33739832780224707be001c

5 years agoresolve build error in aarch64 and x86_64 55/199655/1 accepted/tizen/unified/20190218.063851 submit/tizen/20190215.002439
Jongmin Lee [Wed, 13 Feb 2019 23:42:07 +0000 (08:42 +0900)]
resolve build error in aarch64 and x86_64

Change-Id: I7cb193c626a19a818ed0c232d3cc788866679c82

5 years agoMerge upstream branch 2.31.1 into branch origin/tizen 19/199119/6 submit/tizen/20190213.001307 submit/tizen/20190213.060634
Radoslaw Cybulski [Fri, 1 Feb 2019 11:48:14 +0000 (12:48 +0100)]
Merge upstream branch 2.31.1 into branch origin/tizen

Change-Id: I02fb778191626e1445e40c4477fc17f79ce2fcd0

5 years ago2.31.1 87/198387/2 upstream/2.31.1
Radoslaw Cybulski [Wed, 23 Jan 2019 14:38:41 +0000 (15:38 +0100)]
2.31.1

Change-Id: I5608051794e244fbcec00fbfafb9a6d71f485254

6 years agoRedefine universal-switch vconf keys. 76/167276/2 accepted/tizen_5.0_unified tizen_5.0 accepted/tizen/5.0/unified/20181102.023524 accepted/tizen/unified/20180803.172634 submit/tizen/20180802.025248 submit/tizen/20180802.030818 submit/tizen/20180803.032352 submit/tizen/20180803.043714 submit/tizen_5.0/20181101.000005
Pawel Kurowski [Tue, 16 Jan 2018 14:42:06 +0000 (15:42 +0100)]
Redefine universal-switch vconf keys.

Change-Id: Ib01e580d4b263af6694cd473a3c313d6cdfc8bd6

6 years agolaunch universal-switch, if any of associated vconf flags is set 81/166981/5
Pawel Kurowski [Sun, 14 Jan 2018 13:08:54 +0000 (14:08 +0100)]
launch universal-switch, if any of associated vconf flags is set

Change-Id: I9efc756419d76bc79b8dd9a531a775f3eacdfe13

6 years ago[prevent][73691] Fix for resource leak 67/176767/1 accepted/tizen/unified/20180430.172433 submit/tizen/20180428.005615 submit/tizen/20180430.064002
Paweł Stawicki [Mon, 23 Apr 2018 09:16:20 +0000 (11:16 +0200)]
[prevent][73691] Fix for resource leak

Change-Id: I7030fa9b835457b72ca2b826df4e2e9942d69d34

6 years ago[prevent][76366] Fix for resource leak 82/176682/1
Paweł Stawicki [Fri, 20 Apr 2018 16:15:56 +0000 (18:15 +0200)]
[prevent][76366] Fix for resource leak

Change-Id: Ieaab30db6d430f898ab3959528bacd4056bfefd8

6 years agoMerge branch 'upstream/2.26.1' into tizen 04/175804/2 accepted/tizen/unified/20180425.062248 submit/tizen/20180419.063831 submit/tizen/20180423.061623
Paweł Stawicki [Wed, 4 Apr 2018 13:39:34 +0000 (15:39 +0200)]
Merge branch 'upstream/2.26.1' into tizen

Change-Id: Iab32f00420decb25c5393dbfdf31bc6a1c7495bf

6 years agoAdd member of default label info that check for default label enabed 57/174657/1 accepted/tizen/unified/20180413.073556 submit/tizen/20180412.065812 submit/tizen/20180412.094011
JunsuChoi [Tue, 3 Apr 2018 10:02:28 +0000 (19:02 +0900)]
Add member of default label info that check for default label enabed

Change-Id: I9f20e4aed82de71c5f64210817f8b11f6505f63d

6 years ago[prevent][38358] Fix for resource leak 40/173340/2 accepted/tizen/unified/20180405.005254 submit/tizen/20180403.101617 submit/tizen/20180404.045219 submit/tizen/20180404.084838
Paweł Stawicki [Tue, 20 Mar 2018 17:32:38 +0000 (18:32 +0100)]
[prevent][38358] Fix for resource leak

Change-Id: I26e7404fa047899f55d4150e2ed427aa097a681f

6 years ago[prevent][33973] Fix for unchecked return value 39/173339/2
Paweł Stawicki [Tue, 20 Mar 2018 17:01:04 +0000 (18:01 +0100)]
[prevent][33973] Fix for unchecked return value

Change-Id: I528adb092e1f8361dfbcb95ecc2d307587e26aac

6 years ago[prevent][38682] Fix for resource leak 38/173338/2
Paweł Stawicki [Tue, 20 Mar 2018 16:19:37 +0000 (17:19 +0100)]
[prevent][38682] Fix for resource leak

Change-Id: Iea61c399f59d2ddb2b55768f325c3005e01cfcf3

6 years ago[prevent][40806] Fix for dereference after null check 17/172917/2
Paweł Stawicki [Fri, 16 Mar 2018 18:48:50 +0000 (19:48 +0100)]
[prevent][40806] Fix for dereference after null check

Change-Id: Ic7239f40dcd5270a6fa4edf95daf30459ebfcdd4

6 years ago[prevent][24443] Fix for resource leakage 16/172916/2
Paweł Stawicki [Fri, 16 Mar 2018 18:42:52 +0000 (19:42 +0100)]
[prevent][24443] Fix for resource leakage

Change-Id: Ie4377a46c1d96e2a88da9851e72e6aa7b5198d09

6 years ago[prevent][35992] Fix for resource leakage 15/172915/2
Paweł Stawicki [Fri, 16 Mar 2018 18:36:08 +0000 (19:36 +0100)]
[prevent][35992] Fix for resource leakage

Change-Id: Iee9baa0546c1aee54cd9fbea4e37b63360767759

6 years ago[prevent][23957] Remove logically dead code 14/172914/2
Paweł Stawicki [Fri, 16 Mar 2018 18:31:00 +0000 (19:31 +0100)]
[prevent][23957] Remove logically dead code

Change-Id: I63b4a859375ba2813b6805db8d00521a41fe699e

6 years ago[prevent][36018] Fix for unchecked return value 04/172904/3
Paweł Stawicki [Fri, 16 Mar 2018 16:01:03 +0000 (17:01 +0100)]
[prevent][36018] Fix for unchecked return value

Change-Id: I79eba8a9907b44a0ea349eaab0ab2704284a200f

6 years ago[prevent][35766] Fix for unchecked return value 05/172905/3
Paweł Stawicki [Fri, 16 Mar 2018 16:19:05 +0000 (17:19 +0100)]
[prevent][35766] Fix for unchecked return value

Change-Id: I5138fda2b7128e8f8bf06621fc6ec4086829d5c0

6 years ago[prevent][38655] Fix for unchecked return value 06/172906/3
Paweł Stawicki [Fri, 16 Mar 2018 16:32:19 +0000 (17:32 +0100)]
[prevent][38655] Fix for unchecked return value

Change-Id: I117d7d12d0c2aa9f0ab32c239341ed2d91a5c14a

6 years ago[prevent][25425] at_spi2_tool: make sure app_name is set in _atspi_tree_traverse 62/172762/5
Paweł Stawicki [Thu, 15 Mar 2018 17:51:27 +0000 (18:51 +0100)]
[prevent][25425] at_spi2_tool: make sure app_name is set in _atspi_tree_traverse

"prevent" bug 25425 is a false positive, but it's a good practice
to check function arguments before using them

Change-Id: I884803613b670d1126120a689bb21ac78e87b8ab

6 years ago[prevent][43479] Fix for missing va_end in _atspi_dbus_call_partial 13/172913/2
Paweł Stawicki [Fri, 16 Mar 2018 17:08:19 +0000 (18:08 +0100)]
[prevent][43479] Fix for missing va_end in _atspi_dbus_call_partial

Change-Id: Ice71e5aaa543ca7908464538f15f3fbd921c464f

6 years ago[prevent][42662] Fix for unchecked return value 09/172909/3
Paweł Stawicki [Fri, 16 Mar 2018 16:45:31 +0000 (17:45 +0100)]
[prevent][42662] Fix for unchecked return value

Change-Id: Iee850e8fb485800d5c045fe4c7cd81728defd1d6

6 years ago[prevent][42562] Fix for resource leakage 03/172903/2
Paweł Stawicki [Fri, 16 Mar 2018 15:37:03 +0000 (16:37 +0100)]
[prevent][42562] Fix for resource leakage

Change-Id: Iabf4421164e91f6bcafe3b3be43932e0cf4de098

6 years ago[prevent][32379] Fix for resource leakage 02/172902/2
Paweł Stawicki [Fri, 16 Mar 2018 15:30:53 +0000 (16:30 +0100)]
[prevent][32379] Fix for resource leakage

Change-Id: I901af1e8739151b1d13b38c7d596678e1a286704

6 years ago[prevent][42870] Fix for null pointer dereference 88/172888/2
Paweł Stawicki [Fri, 16 Mar 2018 12:05:20 +0000 (13:05 +0100)]
[prevent][42870] Fix for null pointer dereference

Change-Id: I74e51363d0e6ec34e9b771f605d283f1311af803

6 years ago[prevent][36724] Fix for resource leakage 63/172763/2
Paweł Stawicki [Thu, 15 Mar 2018 18:17:23 +0000 (19:17 +0100)]
[prevent][36724] Fix for resource leakage

Change-Id: Ib0407cf3cf1de81e7c78c9d969daa067e0af428a

6 years ago[prevent][109656] Fix for resource leakage 61/172761/1
Paweł Stawicki [Thu, 15 Mar 2018 17:21:04 +0000 (18:21 +0100)]
[prevent][109656] Fix for resource leakage

Change-Id: Ic2abd2a7c7eafd530d147711d8881fb87788e140

6 years agoFixes glib runtime warnings on freeing empty arrays 98/171698/3
Radoslaw Cybulski [Tue, 6 Mar 2018 17:24:49 +0000 (18:24 +0100)]
Fixes glib runtime warnings on freeing empty arrays

Change-Id: Iba679a3cfbcdcdfd252c291d5f8bcf433c4d7198

7 years ago2.26.1 AT_SPI2_CORE_2_26_1 upstream/2.26.1
Mike Gorse [Mon, 30 Oct 2017 16:37:56 +0000 (11:37 -0500)]
2.26.1

7 years agomeson: Actually use the soversion
Jan Alexander Steffens (heftig) [Sun, 10 Sep 2017 07:23:13 +0000 (09:23 +0200)]
meson: Actually use the soversion

7 years agomeson: x11 fixes
Mike Gorse [Tue, 24 Oct 2017 01:21:57 +0000 (20:21 -0500)]
meson: x11 fixes

Meson wasn't defining HAVE_X11, so x11 support wasn't being compiled even
if X was determined to be present.
Also, add an enable-x11 option (default is to auto-detect).

7 years agoMerge "test : enhance accessible state information" into tizen accepted/tizen/unified/20171025.075152 accepted/tizen/unified/20171027.152023 submit/submit/tizen/20171025.103743/20171026.050548 submit/tizen/20171020.120936 submit/tizen/20171026.050851
JunsuChoi [Wed, 18 Oct 2017 09:13:14 +0000 (09:13 +0000)]
Merge "test : enhance accessible state information" into tizen

7 years agotest : enhance accessible state information 05/156405/1
JunsuChoi [Wed, 18 Oct 2017 08:23:17 +0000 (17:23 +0900)]
test : enhance accessible state information

Change-Id: I112a34525f66e204aa5dbab51ad0faadbf25d3da

7 years agotest: enhance accessible tree information 12/156212/1
Shinwoo Kim [Tue, 17 Oct 2017 12:02:32 +0000 (21:02 +0900)]
test: enhance accessible tree information

Enhance node information using eo address expression

Change-Id: I02e057013812073e7b7484cf3d87516f6a9d9053

7 years ago[l10n] Updated Catalan (Valencian) translation
Xavi Ivars [Thu, 5 Oct 2017 11:29:22 +0000 (13:29 +0200)]
[l10n] Updated Catalan (Valencian) translation

7 years agoAdd atspi_accessible_get_default_label_info 33/153833/1 submit/tizen/20171012.123430
Shinwoo Kim [Tue, 19 Sep 2017 10:59:53 +0000 (19:59 +0900)]
Add atspi_accessible_get_default_label_info

It is not possible to support default label feature using current at-spi2-core
APIs without much of IPC. The following would be difficult case to cover.

(top of accessible tree) - (bottom side)
PageTab1 - Panel1 - PageTab2 - Panel2  -  PageTab3 - Panel3(currently showing)

Application could make as below:
PageTab1 - Panel1 - PageTab3 - Panel3  -  PageTab2 - Panel2(currently showing)

or following tree would normally be possilbe:
PageTab1 - Panel1 - PageTab2 - Panel2(currently showing)

There are much of complicated case over there.
So we are handling the default label object stack on toolkit(Elementary) side.

The atspi_accessible_get_default_label_info returns default label information
to be used screen-reader side. This is not stable. And this depends on toolkit
side UI definition. The candidate of default label object could be changed by
UI definition.

AtspiAccessibleDefaultLabelInfo *dli;
dli = atspi_accessible_get_default_label_info(root, &error);

You have to free alocated resource as below, if it is not necessary any more.
g_object_unref(dli->obj);
free(dli);

Change-Id: I444906e6d020ea6fe2536a73473e0e796a015d05

7 years agoRemove dependency on libxkbcommon
Mike Gorse [Thu, 28 Sep 2017 19:32:00 +0000 (14:32 -0500)]
Remove dependency on libxkbcommon

Currently, no functions in libxkbcommon are used, so the dependency is
spurious. Instead, check for XkbGetMap in -lX11.

https://bugzilla.gnome.org/show_bug.cgi?id=787756

7 years agoFix crash, when dbus call in GetNeighbor fails 71/149571/2 accepted/tizen/unified/20170921.072321 submit/tizen/20170920.082902
Radoslaw Cybulski [Tue, 12 Sep 2017 12:45:33 +0000 (14:45 +0200)]
Fix crash, when dbus call in GetNeighbor fails

Failed dbus call would cause a crash by trying to get an iterator
to a reply message, which is null. This patch cleans up
_atspi_dbus_call_partial function to always return NULL on failure
and fixes NULL reply handling in atspi_accessible_get_neighbor and
atspi_accessible_get_navigable_at_point functions.

Change-Id: Ie158a79f8f1452c9a5685137c9b42104563dc717

7 years agoMerge "check reply message of "GetNeighbor"" into tizen submit/tizen/20170915.074959
Shinwoo Kim [Wed, 13 Sep 2017 01:24:42 +0000 (01:24 +0000)]
Merge "check reply message of "GetNeighbor"" into tizen

7 years agocheck reply message of "GetNeighbor" 51/149551/1
Shinwoo Kim [Tue, 12 Sep 2017 11:37:56 +0000 (20:37 +0900)]
check reply message of "GetNeighbor"

The dbus_message_iter_init makes a crash if a message(reply) is NULL.
The message(reply) is NULL with following error message.

error message: Did not receive a reply. Possible causes include: the remote
application did not send a reply, the message bus security policy blocked the
reply, the reply timeout expired, or the network connection was broken.

Change-Id: I64c9f468f26299af86ee52dff3714b03112d49e3

7 years agoUpdated Dutch translation Master 3.26
hanniedu [Tue, 12 Sep 2017 09:18:40 +0000 (11:18 +0200)]
Updated Dutch translation Master 3.26

7 years ago2.26.0 AT_SPI2_CORE_2_26_0
Mike Gorse [Mon, 11 Sep 2017 19:24:08 +0000 (14:24 -0500)]
2.26.0

7 years agobugfix: at-spi-bus-launcher terminates when unviersal-switch vconf key not defined 03/148303/2
Paweł Stawicki [Thu, 7 Sep 2017 10:37:38 +0000 (12:37 +0200)]
bugfix: at-spi-bus-launcher terminates when unviersal-switch vconf key not defined

Change-Id: I4a891f300aeb4261938a9e5dbdf4cdf5749c7d05

7 years ago2.25.92 AT_SPI2_CORE_2_25_92
Mike Gorse [Mon, 4 Sep 2017 22:29:05 +0000 (17:29 -0500)]
2.25.92

7 years agoOptionally read the dbus address from env var AT_SPI_BUS_ADDRESS
Alexander Larsson [Thu, 31 Aug 2017 15:06:13 +0000 (17:06 +0200)]
Optionally read the dbus address from env var AT_SPI_BUS_ADDRESS

This will be used for flatpak to set a custom bus (which is really
the bus proxy). It can be used for testing purposes too.

For more details, see https://github.com/flatpak/flatpak/issues/79

https://bugzilla.gnome.org/show_bug.cgi?id=787126

7 years agoat-spi-bus-launcher: launch universal-switch 92/132792/4 accepted/tizen/unified/20170901.030041 submit/tizen/20170831.022019
Paweł Stawicki [Mon, 5 Jun 2017 15:40:47 +0000 (17:40 +0200)]
at-spi-bus-launcher: launch universal-switch

Change-Id: I16bff1e30b2c72c812be767f1b21f88a65ee1787

7 years agoUpdate MAINTAINERS
Mike Gorse [Sun, 27 Aug 2017 19:23:38 +0000 (14:23 -0500)]
Update MAINTAINERS

Email address for me was old, and Li and Mark haven't been involved
for several years now.

7 years agoconfigure.ac: make xkb optional, as intended
Patrick Welche [Thu, 24 Aug 2017 13:49:04 +0000 (14:49 +0100)]
configure.ac: make xkb optional, as intended

[] is not sufficient to avoid PKG_CHECK_MODULES' default action of bailing if
xkbcommon-x11 is not found.

7 years agoUpdated Danish translation
Ask Hjorth Larsen [Sat, 26 Aug 2017 14:23:07 +0000 (16:23 +0200)]
Updated Danish translation

7 years ago2.25.91 AT_SPI2_CORE_2_25_91
Mike Gorse [Mon, 21 Aug 2017 21:48:11 +0000 (16:48 -0500)]
2.25.91

7 years agoautoconf: include missing meson build files
Mike Gorse [Mon, 21 Aug 2017 21:44:30 +0000 (16:44 -0500)]
autoconf: include missing meson build files

7 years agomeson: build translations
Mike Gorse [Mon, 21 Aug 2017 20:51:34 +0000 (15:51 -0500)]
meson: build translations

https://bugzilla.gnome.org/show_bug.cgi?id=786377

7 years agoUpdate Malayalam translation
Anish Sheela [Sun, 20 Aug 2017 17:01:48 +0000 (17:01 +0000)]
Update Malayalam translation

7 years agoat_spi2_tool: Apply ASLR to executable files. 56/143756/1 accepted/tizen/4.0/unified/20170828.222518 accepted/tizen/unified/20170821.051106 submit/tizen/20170816.060215 submit/tizen_4.0/20170828.100005
Bowon Ryu [Fri, 11 Aug 2017 07:10:56 +0000 (16:10 +0900)]
at_spi2_tool: Apply ASLR to executable files.

Change-Id: I86b9dd51723548d1b888eed7847668ca9e318110
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
7 years agomeson: fix org.a11y.atspi.Registry.service
Mike Gorse [Thu, 10 Aug 2017 22:18:24 +0000 (17:18 -0500)]
meson: fix org.a11y.atspi.Registry.service

The service.in file references LIBEXECDIR, but meson was setting libexecdir.
Use libexecdir for consistency.

7 years agomove ref_accessible function to public scope 53/143553/4
Mariusz Wachowicz [Thu, 10 Aug 2017 09:29:48 +0000 (11:29 +0200)]
move ref_accessible function to public scope

this function is needed outside at-spi library (other projects, e.g. universal-switch),
to get AtspiAccessible object after it has been received as application name and path name

Change-Id: I51e72af3f191d4a14174cd0b4819522154e3e1ba