Iain Lane [Tue, 23 May 2017 09:39:44 +0000 (10:39 +0100)]
Fix -Wmisleading-indentation warnings
There are a couple of places where code is indented as if it should be
part of an `if' block, but it isn't because there are no braces. Fix
those by unindenting.
Caught by -Werror=misleading-indentation.
Mike Gorse [Fri, 26 May 2017 02:03:45 +0000 (21:03 -0500)]
bump version
Mike Gorse [Tue, 23 May 2017 01:31:44 +0000 (20:31 -0500)]
2.25.2
Joanmarie Diggs [Fri, 19 May 2017 07:58:16 +0000 (09:58 +0200)]
Add a "footnote" role.
https://bugzilla.gnome.org/show_bug.cgi?id=782820
Joanmarie Diggs [Wed, 17 May 2017 15:25:17 +0000 (17:25 +0200)]
Add roles for description list, description term, and description value
https://bugzilla.gnome.org/show_bug.cgi?id=782041
Mike Gorse [Thu, 18 May 2017 18:04:48 +0000 (13:04 -0500)]
bump version
Mike Gorse [Mon, 8 May 2017 23:59:40 +0000 (18:59 -0500)]
atspi_accessible_get_parent: move check for NULL AtspiApplication object
Now, if we don't have a cached parent, then we always either return NULL
or make a D-Bus call. This might make the code more robust, and hoping
that it will fix https://bugzilla.gnome.org/show_bug.cgi?id=767074,
though in theory it should make no difference there.
Mike Gorse [Mon, 24 Apr 2017 22:42:52 +0000 (17:42 -0500)]
2.25.1
Mike Gorse [Mon, 27 Mar 2017 17:57:35 +0000 (12:57 -0500)]
atspi_table_cell_get_position: don't crash on error
Yuras Shumovich [Sun, 26 Mar 2017 15:32:01 +0000 (15:32 +0000)]
Update Belarusian translation
Mike Gorse [Mon, 20 Mar 2017 22:21:30 +0000 (17:21 -0500)]
2.24.0
Mike Gorse [Mon, 13 Mar 2017 22:04:47 +0000 (17:04 -0500)]
2.23.92
Mike Gorse [Mon, 13 Mar 2017 21:56:34 +0000 (16:56 -0500)]
Table cell API fixes
We had a non-working get_column_index function and no get_row_index
function. GetPosition is the only function implemented on at-spi2-atk.
Removed the non-working functions, for consistency, and add a missing
prototype for atspi_table_cell_get_position.
https://bugzilla.gnome.org/show_bug.cgi?id=779835
Mike Gorse [Mon, 13 Feb 2017 22:44:58 +0000 (16:44 -0600)]
2.23.90
Mike Gorse [Wed, 25 Jan 2017 00:10:52 +0000 (18:10 -0600)]
atspi_application_dispose: clear root accessible's ref to the app
Hoping that this might fix https://bugzilla.gnome.org/show_bug.cgi?id=767074
Mike Gorse [Tue, 17 Jan 2017 02:08:04 +0000 (20:08 -0600)]
2.23.4
Alejandro Piñeiro [Mon, 9 Jan 2017 16:20:44 +0000 (14:20 -0200)]
roles: EXTENDED roles are deprecated
ATK extended roles were deprecated some years ago.
https://bugzilla.gnome.org/show_bug.cgi?id=720123
Alejandro Piñeiro [Thu, 5 Dec 2013 12:31:22 +0000 (13:31 +0100)]
events: add recently added page changed event
https://bugzilla.gnome.org/show_bug.cgi?id=719898
Alberts Muktupāvels [Sun, 4 Dec 2016 13:42:01 +0000 (15:42 +0200)]
at-spi-bus-launcher: session management fixes
Mike Gorse [Wed, 28 Dec 2016 17:40:43 +0000 (12:40 -0500)]
Revert "at-spi-bus-launcher: session management fixes"
https://bugzilla.gnome.org/show_bug.cgi?id=774441
This reverts commit
253ada975e0a374e7b1a6a07d2a483dd1d8c52fa.
Mike Gorse [Wed, 28 Dec 2016 17:40:34 +0000 (12:40 -0500)]
Revert "At-spi-bus-launcher: fix uninitialized variable"
https://bugzilla.gnome.org/show_+bug.cgi?id=774441
This reverts commit
995a8cd70cad2a1e8d434a59d87e8cebd5817612.
Mike Gorse [Wed, 28 Dec 2016 17:38:23 +0000 (12:38 -0500)]
Revert "Fix return value error in session_manager_connect"
These session management fixes appear to have been wrong, as gnome-session
waits for the bus launcher to register before entering the application
start-up phase.
https://bugzilla.gnome.org/show_bug.cgi?id=774441
This reverts commit
f66c04544575532849a60b1d145fd69fc0261352.
Emmanuele Bassi [Fri, 18 Nov 2016 11:03:36 +0000 (11:03 +0000)]
Ensure that X11 symbols are only used when necessary
Since at-spi2-core can be build with X11 support disabled, we need to
ensure that we include and build the X11-specific bits only when needed.
https://bugzilla.gnome.org/show_bug.cgi?id=773710
Emmanuele Bassi [Fri, 18 Nov 2016 10:57:42 +0000 (10:57 +0000)]
Revert "Block out X11 API with #ifdefs"
This reverts commit
27e7b242d65a78d40d68f20ac375929914c3b7a8.
The build breaks with X11 support enabled.
https://bugzilla.gnome.org/show_bug.cgi?id=773710
Mike Gorse [Sat, 19 Nov 2016 08:57:49 +0000 (02:57 -0600)]
Revert "registryd: Include config.h before checking HAVE_X11"
event-source.h shouldn't be compiled if X is disabled, so shouldn't be needed.
This reverts commit
1a09fbfebd6cf3361b29cf1386a402560c7c7b3b.
Philip Withnall [Thu, 17 Nov 2016 10:57:51 +0000 (10:57 +0000)]
registryd: Include config.h before checking HAVE_X11
https://bugzilla.gnome.org/show_bug.cgi?id=773710
Philip Chimento [Mon, 31 Oct 2016 05:24:04 +0000 (22:24 -0700)]
Block out X11 API with #ifdefs
We should not include any X11 headers when building with --disable-x11,
so put them inside #ifdef guards, and don't use X symbols.
https://bugzilla.gnome.org/show_bug.cgi?id=773710
Philip Chimento [Mon, 31 Oct 2016 05:12:46 +0000 (22:12 -0700)]
Copy in key mask defines from Xlib.h
This is to avoid including Xlib.h when building with --disable-x11.
https://bugzilla.gnome.org/show_bug.cgi?id=773710
Mike Gorse [Mon, 26 Sep 2016 01:15:08 +0000 (20:15 -0500)]
2.22.0
gogo [Sat, 24 Sep 2016 10:22:58 +0000 (10:22 +0000)]
Added Croatian translation
David King [Sun, 18 Sep 2016 10:39:10 +0000 (12:39 +0200)]
Update British English translation
Ting-Wei Lan [Sat, 16 Jul 2016 13:12:08 +0000 (21:12 +0800)]
Fix return value error in session_manager_connect
https://bugzilla.gnome.org/show_bug.cgi?id=768881
Piotr Drąg [Mon, 22 Aug 2016 18:43:15 +0000 (20:43 +0200)]
Updated Polish translation
Mike Gorse [Wed, 27 Jul 2016 16:59:29 +0000 (11:59 -0500)]
At-spi-bus-launcher: fix uninitialized variable
Mike Gorse [Mon, 18 Jul 2016 23:51:43 +0000 (18:51 -0500)]
2.21.4
Piotr Drąg [Thu, 14 Jul 2016 18:15:01 +0000 (20:15 +0200)]
Add Language headers to po files
Future versions of gettext will fail if this header is missing.
Mike Gorse [Thu, 14 Jul 2016 16:38:25 +0000 (11:38 -0500)]
at-spi-bus-launcher: session management fixes
At-spi-bus-launcher was attempting to register with gnome-session but
typically failed because it was started before gnome-session is initialized.
Now we check whether gnome-session is running and only attempt to register
if it is; otherwise watch for SessionRunning and register when se wee it.
Also, handle SessionOver.
Mike Gorse [Thu, 2 Jun 2016 23:53:26 +0000 (18:53 -0500)]
Correctly handle at-spi2-registryd dying when processing NameOwnerChanged
If at-spi2-registryd dies, then we receive two NameOwnerChanged signals,
one for org.a11y.atspi.Registry and the other for the initial dbus-issued
name. When we received the latter, we were matching it to the AtspiApplication
corresponding to the desktop and inadvertently disposing it, leading to a
crash later on.
Mike Gorse [Tue, 31 May 2016 19:44:17 +0000 (14:44 -0500)]
atspi_accessible_clear_cache: don't crash if we have no children
If an accessible is disposed, then its list of children may be NULL.
https://bugzilla.gnome.org/show_bug.cgi?id=767075
Cédric Valmary [Mon, 30 May 2016 18:48:48 +0000 (18:48 +0000)]
Updated Occitan translation
Mike Gorse [Mon, 23 May 2016 23:39:46 +0000 (18:39 -0500)]
2.21.2
Mike Gorse [Sun, 22 May 2016 12:15:21 +0000 (07:15 -0500)]
ref_accessible_desktop: don't unref reply until we're finished with it
Oops!
dolphinling [Mon, 9 May 2016 12:21:55 +0000 (08:21 -0400)]
Allow building without Xtst, Xi with --disable-x11
This also fixes a bug where specifying --enable-x11 would disable x11
support.
Cédric Valmary [Thu, 5 May 2016 20:26:10 +0000 (20:26 +0000)]
Updated Occitan translation
GNOME Translation Robot [Thu, 28 Apr 2016 13:53:59 +0000 (13:53 +0000)]
Added Scottish Gaelic translation
Mike Gorse [Mon, 25 Apr 2016 23:43:09 +0000 (18:43 -0500)]
2.21.1
Alexander Volkov [Mon, 18 Apr 2016 14:54:47 +0000 (17:54 +0300)]
at-spi-bus-launcher: fix parsing command line arguments
Fix parsing --a11y=... and --screen-reader=...
sscanf returns the number of input items successfully matched,
and for one argument it is 1, but not 2.
https://bugzilla.gnome.org/show_bug.cgi?id=765220
Rui Matos [Wed, 6 Apr 2016 15:10:03 +0000 (17:10 +0200)]
atspi-event-listener: Plug a memory leak
https://bugzilla.gnome.org/show_bug.cgi?id=764688
Rui Matos [Wed, 6 Apr 2016 14:40:44 +0000 (16:40 +0200)]
registryd: Avoid crashing with a NULL keystring
From a coverity check:
1. at-spi2-core-2.14.1/registryd/deviceeventcontroller-x11.c:1167:
deref_ptr_in_call: Dereferencing pointer "keystring".
2. at-spi2-core-2.14.1/registryd/deviceeventcontroller-x11.c:1169:
check_after_deref: Null-checking "keystring" suggests that it may be
null, but it has already been dereferenced on all paths leading to the
check.
(keystring, -1, &c))) {
https://bugzilla.gnome.org/show_bug.cgi?id=764688
Thomas Petazzoni [Wed, 25 Jun 2014 20:12:16 +0000 (22:12 +0200)]
Get rid of the DBIND_ALIGNOF_* definitions and directly use ALIGNOF_*
Since the AC_CHECK_ALIGNOF() macro fills the config.h header with
ALIGNOF_<type> definitions, there's no longer a need for the
DBIND_ALIGNOF_<type> definitions. This commit gets rid of them, and
also gets rid of the dbing-config.h file.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thomas Petazzoni [Wed, 25 Jun 2014 20:01:38 +0000 (22:01 +0200)]
dbind/Makefile.am: specify subdir-objects automake option
As recommended during autoreconf:
dbind/Makefile.am:1: while processing Libtool library 'libdbind.la'
dbind/Makefile.am:23: warning: source file '../atspi/atspi-gmain.c' is in a subdirectory,
dbind/Makefile.am:23: but option 'subdir-objects' is disabled
automake: warning: possible forward-incompatibility.
automake: At least a source file is in a subdirectory, but the 'subdir-objects'
automake: automake option hasn't been enabled. For now, the corresponding output
automake: object file(s) will be placed in the top-level directory. However,
automake: this behaviour will change in future Automake versions: they will
automake: unconditionally cause object files to be placed in the same subdirectory
automake: of the corresponding sources.
automake: You are advised to start using 'subdir-objects' option throughout your
automake: project, to avoid future incompatibilities.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thomas Petazzoni [Wed, 25 Jun 2014 19:57:59 +0000 (21:57 +0200)]
configure.ac: add AM_PROG_AR
During an autoreconf, automake recommends:
/usr/share/automake-1.14/am/ltlibrary.am: warning: 'libatspi.la': linking libtool libraries using a non-POSIX
/usr/share/automake-1.14/am/ltlibrary.am: archiver requires 'AM_PROG_AR' in 'configure.ac'
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thomas Petazzoni [Fri, 1 Apr 2016 16:29:28 +0000 (11:29 -0500)]
acinclude.m4: remove no longer needed file
Now the DBIND_CHECK_ALIGNOF() autoconf macro is no longer used, this
commit gets rid of the acinclude.m4 file.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thomas Petazzoni [Wed, 25 Jun 2014 17:45:28 +0000 (19:45 +0200)]
configure: use AC_CHECK_ALIGNOF() instead of custom DBIND_CHECK_ALIGNOF()
DBIND_CHECK_ALIGNOF() is a custom autoconf macro from at-spi2-core
that tests the alignment required on the current platform for a given
C type. Unfortunately, this macro uses AC_TRY_RUN(), which requires
running a test program on the target platform, which is fundamentally
incompatible with cross-compilation.
Therefore, this patch switches the configure.ac code to use
AC_CHECK_ALIGNOF() instead, which is available in the standard set of
autoconf macros, and is able to test the required alignment for C
types without using AC_TRY_RUN(). Consequently, it adjusts the
dbind/dbind-config.h.in definitions to use the definitions created by
the AC_CHECK_ALIGNOF() macros, which are not substituted by autoconf,
but directly available from config.h.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Fabio Tomat [Wed, 23 Mar 2016 17:17:13 +0000 (17:17 +0000)]
Updated Friulian translation
Mike Gorse [Tue, 22 Mar 2016 00:10:07 +0000 (19:10 -0500)]
2.20.0
Mike Gorse [Mon, 14 Mar 2016 22:12:11 +0000 (17:12 -0500)]
2.19.92
Ikey Doherty [Sat, 12 Mar 2016 16:43:16 +0000 (16:43 +0000)]
Support a stateless configuration by default
Using a stateless configuration, we ship sensible defaults in our vendor-config
file to live in the /usr/share/ filesystem, which is considered to be provided
by the vendor, and to all intents and purposes, read-only.
With this change we can fall-back to the vendor system configuration to
always do the right thing, in the absence of a local system administrator
configuration file in the /etc/ tree.
Notably, this saves users from the potential risks and pitfalls of so called
"three way merges" on upgrades, and offers the immediate benefit that one
can perform a factory reset of the software, simply by removing the relevant
file in /etc/.
This change also resolves a memory leak in the launch code, where a string
allocation was entirely unnecessary.
Signed-off-by: Ikey Doherty <michael.i.doherty@intel.com>
Mike Gorse [Tue, 1 Mar 2016 01:48:16 +0000 (19:48 -0600)]
NEWS: fix typo
Mike Gorse [Tue, 1 Mar 2016 01:35:35 +0000 (19:35 -0600)]
2.19.91
Mike Gorse [Mon, 29 Feb 2016 17:51:45 +0000 (11:51 -0600)]
Don't display warnings when connecting to an app that no longer exists
If an application starts and subsequently exits before we've had time to
connect to it, then this at the very least should not trigger a warning.
Mike Gorse [Mon, 15 Feb 2016 22:13:02 +0000 (16:13 -0600)]
2.19.90
Samuel Thibault [Mon, 8 Feb 2016 19:24:25 +0000 (13:24 -0600)]
Don't display warning if unable to connect when logged in via ssh
https://bugzilla.gnome.org/show_bug.cgi?id=761600
Alberts Muktupāvels [Fri, 18 Sep 2015 00:28:51 +0000 (03:28 +0300)]
at-spi-bus-launcher: register with session manager
This application is started in Initialization phase. In this phase
it is required to register with session manager. See:
https://wiki.gnome.org/Projects/SessionManagement/NewGnomeSession
https://bugzilla.gnome.org/show_bug.cgi?id=753931
Mike Gorse [Tue, 26 Jan 2016 17:20:51 +0000 (11:20 -0600)]
Revert "at-spi-bus-launcher: register with session manager"
Committed the wrong patch.
This reverts commit
d2004dbb0d0903548f734029718ee5bf212d107c.
Alberts Muktupāvels [Tue, 15 Sep 2015 16:31:52 +0000 (19:31 +0300)]
at-spi-bus-launcher: register with session manager
This application is started in Initialization phase. In this phase
it is required to register with session manager. See:
https://wiki.gnome.org/Projects/SessionManagement/NewGnomeSession
https://bugzilla.gnome.org/show_bug.cgi?id=753931
Mike Gorse [Tue, 24 Nov 2015 01:16:31 +0000 (19:16 -0600)]
2.19.2
Samuel Thibault [Sat, 14 Nov 2015 15:06:45 +0000 (09:06 -0600)]
Don't crash when trying to set an invalid state
https://bugzilla.gnome.org/show_bug.cgi?id=757915
Mike Gorse [Mon, 9 Nov 2015 23:03:13 +0000 (17:03 -0600)]
get_index_in_parent: Don't crash if parent is defunct
Mike Gorse [Wed, 28 Oct 2015 19:00:35 +0000 (14:00 -0500)]
Disable xevie by default
I have no idea if this code is still usable, and afaik xevie has
been unmaintained for years. Often the extension is missing on the X
server, in which case our xevie code has no effect other than to spam the
user's log.
Mike Gorse [Mon, 26 Oct 2015 22:06:53 +0000 (17:06 -0500)]
2.19.1
Tomasz Olszak [Tue, 13 Oct 2015 15:37:38 +0000 (17:37 +0200)]
Fixed crash during removal of last application in registryd.
Function find_index_of_reference always returned invalid index.
https://bugzilla.gnome.org/show_bug.cgi?id=756513
Owen W. Taylor [Fri, 23 Oct 2015 07:40:13 +0000 (03:40 -0400)]
Fix reversed check for NULL child
The check for an unknown child path resulting in a NULL child
added in
a614d447f was backwards.
https://bugzilla.gnome.org/show_bug.cgi?id=755951
Patryk Kaczmarek [Mon, 28 Sep 2015 12:23:15 +0000 (14:23 +0200)]
Fixed atspi_text_ functions
* atspi_text_get_text_attribute_value
Fixed dbus signature in _atspi_dbus_call function
and add missing argument for string.
* atspi_text_get_default_attributes
Receiving return value by reference from hash table
https://bugzilla.gnome.org/show_bug.cgi?id=755731
Patryk Kaczmarek [Mon, 28 Sep 2015 12:34:12 +0000 (14:34 +0200)]
Add default values for atspi_hyperlink_get_index_range variables
If there are no default values, after unsuccessful dbus call,
some random values of start_offset and end_offset are set.
https://bugzilla.gnome.org/show_bug.cgi?id=755727
Owen W. Taylor [Thu, 1 Oct 2015 16:43:23 +0000 (12:43 -0400)]
Don't crash if we get a object:children-changed event with a non-existent child
If we get a :children-changed event with the path for the child not matching
any accessible in the application, event->any_data would end up with a NULL
child, triggering a crash.
https://bugzilla.gnome.org/show_bug.cgi?id=755951
Simon McVittie [Fri, 25 Sep 2015 16:07:40 +0000 (17:07 +0100)]
Add a systemd user service corresponding to the D-Bus session service
When using a systemd user session, this ensures that org.a11y.Bus
and its child processes (such as org.a11y.atspi.Registry) are placed in
their own cgroup, instead of being treated as part of dbus.service.
https://bugzilla.gnome.org/show_bug.cgi?id=755637
Mike Gorse [Mon, 21 Sep 2015 22:13:08 +0000 (17:13 -0500)]
2.18.0
Arash Mousavi [Wed, 16 Sep 2015 18:54:06 +0000 (23:24 +0430)]
Update Persian Translation
Mike Gorse [Mon, 17 Aug 2015 19:28:14 +0000 (14:28 -0500)]
Release v2.17.90
Mike Gorse [Fri, 19 Jun 2015 01:04:31 +0000 (20:04 -0500)]
Modified cache API to include index and child count rather than children
The original cache API was problematic for QT AT-SPI because it forces
enumeration of all children, preventing lazy instantiation of objects.
The API now sends the object's index in parent and child count (or -1 if
not known / children should not be cached) rather than an array of
children.
Also made cache of children a GPtrArray rather than a GList, since it
may contain holes. If an object has not yet been instantiated for a
particular child, then its value will be set to NULL, and
atspi_accessible_get_child_at_index will make a dbus call to fetch the
child, at which point it will be cached.
https://bugzilla.gnome.org/show_bug.cgi?id=650090
Mike Gorse [Fri, 14 Aug 2015 23:49:38 +0000 (18:49 -0500)]
Bump version
Mike Gorse [Mon, 20 Jul 2015 23:41:07 +0000 (18:41 -0500)]
Release v2.17.1
Pedro Albuquerque [Wed, 1 Jul 2015 21:57:56 +0000 (21:57 +0000)]
Updated Portuguese translation
Daniel Șerbănescu [Mon, 22 Jun 2015 18:11:48 +0000 (20:11 +0200)]
Updated Romanian Translation
Mike Gorse [Thu, 18 Jun 2015 01:22:05 +0000 (20:22 -0500)]
Fix atspi_table_cell_get_position
Cédric Valmary [Sun, 24 May 2015 08:46:57 +0000 (08:46 +0000)]
Added Occitan translation
Mike Gorse [Wed, 20 May 2015 02:58:17 +0000 (21:58 -0500)]
Void functions shouldn't try to return values
https://bugzilla.gnome.org/show_bug.cgi?id=749330
Mattias Põldaru [Wed, 8 Apr 2015 17:19:37 +0000 (20:19 +0300)]
[l10n] Updated Estonian translation
Mike Gorse [Mon, 23 Mar 2015 23:30:45 +0000 (18:30 -0500)]
2.16.0
Dieter Verfaillie [Mon, 2 Sep 2013 15:26:18 +0000 (17:26 +0200)]
Fix GTK-Doc comment blocks
https://bugs.freedesktop.org/show_bug.cgi?id=89678
Samir Ribic [Fri, 13 Mar 2015 20:57:20 +0000 (20:57 +0000)]
Added Bosnian translation
Alexander Shopov [Mon, 9 Mar 2015 17:17:20 +0000 (19:17 +0200)]
Updated Bulgarian translation
Dušan Kazik [Sat, 28 Feb 2015 12:16:27 +0000 (12:16 +0000)]
Updated Slovak translation
Mike Gorse [Mon, 16 Feb 2015 17:43:36 +0000 (11:43 -0600)]
Release v2.15.90
Joanmarie Diggs [Fri, 23 Jan 2015 14:56:04 +0000 (09:56 -0500)]
Add new roles for fractions, roots, subscripts, and superscripts
https://bugzilla.gnome.org/show_bug.cgi?id=743403
Mike Gorse [Fri, 23 Jan 2015 18:37:42 +0000 (12:37 -0600)]
Bump version
Mario Sanchez Prada [Mon, 19 Jan 2015 17:56:34 +0000 (17:56 +0000)]
Deprecate atspi_text_get_text_{before,at,after}_offset()
https://bugzilla.gnome.org/show_bug.cgi?id=697969
Mike Gorse [Mon, 19 Jan 2015 22:53:13 +0000 (16:53 -0600)]
Release v2.15.4
Joanmarie Diggs [Thu, 15 Jan 2015 22:00:51 +0000 (17:00 -0500)]
Add ATSPI_STATE_READ_ONLY
https://bugzilla.gnome.org/show_bug.cgi?id=690004