platform/upstream/at-spi2-core.git
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

7 years agoMore meson fixes
Mike Gorse [Tue, 8 Aug 2017 02:25:13 +0000 (21:25 -0500)]
More meson fixes

7 years ago2.25.90 AT_SPI2_CORE_2_25_90
Mike Gorse [Tue, 8 Aug 2017 00:07:36 +0000 (19:07 -0500)]
2.25.90

7 years agomeson: add support for gobject-introspection
Mike Gorse [Tue, 8 Aug 2017 00:01:18 +0000 (19:01 -0500)]
meson: add support for gobject-introspection

Not 100% sure that this is done. The shared-library line seems wrong.

7 years agoAdd Nepali translation
Pawan Chitrakar [Tue, 25 Jul 2017 09:25:28 +0000 (09:25 +0000)]
Add Nepali translation

7 years agoDecrements the reference count of session_bus
Shinwoo Kim [Fri, 23 Jun 2017 02:02:47 +0000 (11:02 +0900)]
Decrements the reference count of session_bus

dbus_bus_get increments reference count of a DBusConnection.
It is callers responsibility to all dbus_connection_unref after use.

7 years agobus: follow D-bus policy 95/139495/1 accepted/tizen/4.0/unified/20170816.011001 accepted/tizen/4.0/unified/20170816.014537 accepted/tizen/unified/20170721.201739 submit/tizen/20170721.005824 submit/tizen_4.0/20170811.094300 submit/tizen_4.0/20170814.115522 submit/tizen_4.0_unified/20170814.115522
Shinwoo Kim [Wed, 19 Jul 2017 06:15:28 +0000 (15:15 +0900)]
bus: follow D-bus policy

Tizen D-bus policy does not support Smack rule.
The following patch set of D-bus probably affects dbus-daemon which is used for
accessibility.

https://review.tizen.org/gerrit/#/c/133270/

It was not possilbe to launch dbus-daemon with following error message.

org.a11y.Bus[2457]: Failed to start message bus:
Attribute "smack" is invalid on <policy> element in this context
org.a11y.Bus[2457]: Failed to launch bus: Bus exited with code 1

Change-Id: I67435b1a27f91193348d1e699805b6d09be8fddc

7 years agoadd attributes table to at_spi2_tool 72/139172/3
Pawel Kurowski [Mon, 17 Jul 2017 20:15:35 +0000 (22:15 +0200)]
add attributes table to at_spi2_tool

atributes table will be printed, when atributes string is too long

add relations_found flag which tells if relation table legend should be printed

Change-Id: I2a0b71f5e8b439881f5b83e9b7f1a17556f9e713

7 years agoAdd relation-dump option to at_spi2_tool 47/136647/5
Pawel Kurowski [Thu, 1 Jun 2017 10:45:08 +0000 (12:45 +0200)]
Add relation-dump option to at_spi2_tool

Flags -d and -c now inform when object has relations to list.

Change-Id: I0c9a03c8d18ddf965c72ceac2bb804742c4540bf

7 years agoFix a couple of introspection issues
Rico Tzschichholz [Mon, 3 Jul 2017 17:42:48 +0000 (19:42 +0200)]
Fix a couple of introspection issues

This mainly restores the gir entry for AtspiApplication.

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

7 years agoatspi_action_do_action_name: change parameter type 42/136542/1 accepted/tizen/unified/20170711.181149 submit/tizen/20170707.071852 submit/tizen/20170711.023244
Shinwoo Kim [Fri, 30 Jun 2017 06:50:52 +0000 (15:50 +0900)]
atspi_action_do_action_name: change parameter type

The name is not changed in atspi_action_do_action_name.
So the type of name should be const gchar*

Change-Id: I6a9329ea34ef566dd444cae5112dead99ef4a9ce

7 years agoMerge "Add MoveOuted signal" into tizen
JunsuChoi [Thu, 29 Jun 2017 09:56:11 +0000 (09:56 +0000)]
Merge "Add MoveOuted signal" into tizen

7 years agoMerge "Support many at-spi clients" into tizen
Shinwoo Kim [Thu, 29 Jun 2017 01:12:19 +0000 (01:12 +0000)]
Merge "Support many at-spi clients" into tizen

7 years agoAdd NEIGHBOR_SEARCH_MODE_RECURSE_TO_OUTSIDE mode 35/136235/1
Shinwoo Kim [Thu, 15 Jun 2017 12:29:03 +0000 (21:29 +0900)]
Add NEIGHBOR_SEARCH_MODE_RECURSE_TO_OUTSIDE mode

The "GetNeighbor" method returns an accessible object which has same bus with
root object. But the returned recurse value is 1.

The following is the case.
If embedded object has highlight, and there is no more previous object, then
it returns PROXY object which has embedding side bus information.

In this case, the "GetNeighbor" should find previous sibling object in embedding
process. The "GetNeighbor" is using NEIGHBOR_SEARCH_MODE_RECURSE_TO_OUTSIDE for
this case.

Change-Id: Icae2709b2746bd970643034c2d66b1c196c65ca9

7 years agoUse deputy object sent by "GetNavigableAtPoint" 34/136234/1
Shinwoo Kim [Wed, 14 Jun 2017 04:56:52 +0000 (13:56 +0900)]
Use deputy object sent by "GetNavigableAtPoint"

The deputy means embedding side object works for embedded object.
If there is no object at point on embedded side, then the deputy object should
have highlight.

So far the deputy object is elm_access, and the elm_access takes highlight.
So there is no chance to have highlight on embedded side.

This patch set reuires:
elementary: b82beff73c41f52542d71fd6f4d9ad4ddcb4bacc

Change-Id: I2136242b73883757bd50331b10f3e1f8a6bff986

7 years agoAdd atspi_accessible_get_reading_material 33/136233/1
Shinwoo Kim [Fri, 26 May 2017 13:03:26 +0000 (22:03 +0900)]
Add atspi_accessible_get_reading_material

To get reading material to be used screen-reader side. This is not stable.
You have to handle all alocated memory as below on screen-reader side.

AtspiAccessibleReadingMaterial *rm
g_object_unref(rm->parent);
g_object_unref(rm->described_by_accessible);
g_hash_table_unref(rm->attributes);
free(rm->name);
free(rm->labeled_by_name);
free(rm->text_interface_name);
free(rm->localized_role_name);
free(rm->description);
free(rm);

Related patch set:
https://review.tizen.org/gerrit/#/c/131358/ (this one, at-spi2-core)
https://review.tizen.org/gerrit/#/c/131359/ (elementary)
https://review.tizen.org/gerrit/#/c/131511/ (at-spi2-atk)
https://review.tizen.org/gerrit/#/c/131714/ (screen-reader)

Change-Id: I968b058098162efe1cbec309411492ca29f696c8

7 years agoReduce action related IPC 32/136232/1
Shinwoo Kim [Fri, 19 May 2017 10:44:31 +0000 (19:44 +0900)]
Reduce action related IPC

If there are more than 10 actions on an object, then more than 10 IPC occurs for
doing more than 10th action.

Change-Id: Id3767be2978357d147e7f2ecf96aee8e48641c16

7 years agoAdd navigation helper functions for screen-reader and friends (part 2) 58/136158/1
Radoslaw Cybulski [Thu, 9 Mar 2017 17:09:34 +0000 (18:09 +0100)]
Add navigation helper functions for screen-reader and friends (part 2)

Change-Id: I67eb6da5262a9de721dc2cb569255079dc221ec9

7 years agoAdd navigation helper functions for screen-reader and friends 57/136157/1
Radoslaw Cybulski [Fri, 3 Mar 2017 15:30:04 +0000 (16:30 +0100)]
Add navigation helper functions for screen-reader and friends

This patch adds GetNavigableAtPoint accessibility interface - the
function finds accessibility object at given coordinates.
This massively (10-15 times) reduce amount of IPC calls (and time spent)
in typical screen-reader scenario.

Requires:
- https://review.tizen.org/gerrit/c/117306/ (elementary)

Change-Id: I0515e220f451fb196c0e346ea8e2dbd6d0d7d02f

7 years agoExtends support for uniquely identyfing objects. 56/136156/1
Radoslaw Cybulski [Mon, 10 Apr 2017 08:42:22 +0000 (10:42 +0200)]
Extends support for uniquely identyfing objects.

- adds atspi_accessible_get_unique_id function, which returns unique
identifier across all bridges,
- and atspi_accessible_get_bus_name function, which returns identifier
of the bridge for given object.

Change-Id: Idccd85e3269e5a36c8d96bc8588f4eac175c52f6