Mike Gorse [Mon, 19 Mar 2012 21:41:26 +0000 (16:41 -0500)]
Release v2.3.92
Mike Gorse [Sat, 17 Mar 2012 17:12:37 +0000 (12:12 -0500)]
Fix crash fetching error when retrieving a property
Mike Gorse [Fri, 16 Mar 2012 21:10:29 +0000 (16:10 -0500)]
Increase the keystroke event timeout
It seems that it is currently possible for at-spi2-atk to get bogged
down when sending a keystroke notification, so 1 second is a short time
to wait for a reply. It may be possible to mitigate this in the future,
in which case we could reduce the timeout again, but not going to do
this for 3.4. See comment on
https://bugzilla.gnome.org/show_bug.cgi?id=671976.
Mike Gorse [Wed, 14 Mar 2012 20:55:46 +0000 (15:55 -0500)]
[registry] Send a ping to a process when marking as hung
Sometimes keys that should be captured by event listeners are instead
passed through to the application. It seems that at-spi2-registryd might
not always be removing the process from the list of hung processes. I
have not reproduced this recently, and I'm not sure where the root
problem is. Hoping that it will help to send the process a ping and use
the reply as a queue that it is un-hung (previously we were relying on
receiving a reply to the original key event notification).
https://bugzilla.gnome.org/show_bug.cgi?id=671976
Praveen Arimbrathodiyil [Mon, 12 Mar 2012 16:11:58 +0000 (21:41 +0530)]
Malayalam translation by Anish
Timo Jyrinki [Mon, 12 Mar 2012 08:44:10 +0000 (10:44 +0200)]
Finnish translation update from l10n.laxstrom.name/wiki/Gnome_3.4 translation sprint
Khoem Sokhem [Sat, 10 Mar 2012 12:51:31 +0000 (13:51 +0100)]
Add initial Khmer translation
Mike Gorse [Tue, 6 Mar 2012 00:35:36 +0000 (18:35 -0600)]
Fix a couple of NEWS typos
Mike Gorse [Tue, 6 Mar 2012 00:16:01 +0000 (18:16 -0600)]
Release v2.3.91
Mike Gorse [Mon, 5 Mar 2012 23:32:32 +0000 (17:32 -0600)]
Enable caching on a call to atspi_accessible_set_cache_mask
Previously, caching was always disabled unless atspi_event_main() was
called to start a main loop, since we need to handle the case of a
simple application/script that performs an action and then sleeps rather
than entering a main loop. In such a case, libatspi will not be able to
detect that an event has been fired to update the cache, so caching
should be disabled. However, an application may want to start a main
loop through some other mechanism than by calling atspi-event_main(),
and caching should be done in such a case. So we'll assume that, if
atspi_accessible_set_cache_mask is called, then the application expects
caching to work and will run a main loop one way or another. Note that
it is possible for a script to run a main loop in some instances but not
others, and, in such a case, if it is not using atspi_event_main(), then
it should set caching to ATSPI_CACHE_NONE when not in a main loop and
back to ATSPI_CACHE_DEFAULT when running a main loop.
Priit Laes [Thu, 1 Mar 2012 17:40:51 +0000 (19:40 +0200)]
[l10n] Added Estonian (et) to LINGUAS
Mattias Põldaru [Thu, 1 Mar 2012 17:38:43 +0000 (19:38 +0200)]
[l10n] Updated Estonian translation
Mike Gorse [Tue, 28 Feb 2012 20:26:57 +0000 (14:26 -0600)]
Don't cache data for transient objects
If an object is known to be transient, then ignore its cache, since it
seems better not to rely on a toolkit to send updates for transient
objects.
Note that this isn't really a complete solution, since it only disables
the cache if STATE_TRANSIENT is known to be present. If AddAccessible
was not sent for the object and atspi_accessible_get_state_set has not
been called, then the state set is not known, so STATE_TRANSIENT is not
"known to be present..." It may be a good idea to fetch the state set if
it is not known, or check the parent for STATE_MANAGES_DESCENDANTS,
although in the latter case it is also possible that the parent's state
set is not known, and it may be needed to check the parent's parent and
so on.
Bahodir Mansurov [Sun, 26 Feb 2012 05:41:50 +0000 (00:41 -0500)]
Adding Uzbek@cyrillic translation.
Mike Gorse [Fri, 24 Feb 2012 22:25:41 +0000 (16:25 -0600)]
Reduce the method call timeout slightly
It is likely a good idea for the method call timeout to be lower than
the registry daemon's keystroke listener timeout. This way, if an AT
makes a method call that times out while in a keystroke event listener,
it will still have time to exit the listener before the registry daemon
presumes it hung.
Mike Gorse [Fri, 24 Feb 2012 22:22:50 +0000 (16:22 -0600)]
Send key events to listeners assumed to be hung, but don't block
Orca would sometimes fail to notice that its modifier key was released
since it was presumed to be hung and would not be sent the event. So,
rather than ignore event listeners assumed to be hung, we'll send them
the notifications for the keys that they're listening to but not wait
for a reply, instead assuming that they are not consumed.
Mike Gorse [Thu, 23 Feb 2012 22:51:31 +0000 (16:51 -0600)]
Expect a signed int for GetIndexInParent, per the spec
Mike Gorse [Thu, 23 Feb 2012 20:51:51 +0000 (14:51 -0600)]
Fix atspi_table_get_row_column_extents_at_index
atspi_table_get_row_column_extents_at_index was trying to read
parameters from the dbus message in the wrong order and also not
returning the row.
Mike Gorse [Thu, 23 Feb 2012 20:49:16 +0000 (14:49 -0600)]
Fix message displayed when a call returns the wrong type
The message displayed by dbind for a type mismatch had its parameters
inverted.
Mike Gorse [Tue, 21 Feb 2012 16:58:02 +0000 (10:58 -0600)]
Invalidate states when receiving a focus event
Sometimes we get "focus" events from gtk, but the cache still does not
indicate that the object has STATE_FOCUSED. Really should get to the
bottom of this but don't have time to investigate more right now. Might
be some kind of issue with the accessible being added to the cache
before it is fully initialized--perhaps AddAccessible really doesn't
make sense.
https://bugzilla.gnome.org/show_bug.cgi?id=663992
Mike Gorse [Mon, 20 Feb 2012 23:00:48 +0000 (17:00 -0600)]
Release v2.3.90
Mike Gorse [Sun, 19 Feb 2012 22:23:42 +0000 (16:23 -0600)]
Don't g_object_unref a NULL object for event variant
If we get an event with what appears to be an accessible as the variant
but we do not succeed in marshalling the accessible (possibly because it
is the null path), do not unref the null object. Stops a glib warning.
Mike Gorse [Mon, 13 Feb 2012 21:22:23 +0000 (15:22 -0600)]
If a keystroke listener does not respond, disable until it responds
If an AT is hung or is suspended while having a keystroke listener
registered, then this should not lock up the desktop, as would happen if
we wait indefinitely for the keystroke listener to respond.
Mike Gorse [Mon, 13 Feb 2012 17:32:47 +0000 (11:32 -0600)]
At-spi-bus-launcher signal emission fixes
Emit PropertiesChanged from the correct interface. Also, create
GVariantBuilders on the stack; fixes memory leaks.
Mike Gorse [Mon, 6 Feb 2012 22:17:05 +0000 (16:17 -0600)]
Release v2.3.5
Mike Gorse [Mon, 6 Feb 2012 20:50:46 +0000 (14:50 -0600)]
For IsScreenReaderEnabled, listen for the correct gsettings change signal
Mike Gorse [Mon, 6 Feb 2012 15:55:12 +0000 (09:55 -0600)]
Fix atspi_collection_get_matches_to prototype
Mike Gorse [Fri, 3 Feb 2012 23:21:33 +0000 (17:21 -0600)]
For atspi_collection_get_matches_to, rename restrict to limit_scope
Restrict can be a keyword. Don't use it as a variable name.
Also update D-Bus introspection.
https://bugzilla.gnome.org/show_bug.cgi?id=669344
Kjartan Maraas [Tue, 24 Jan 2012 13:57:07 +0000 (14:57 +0100)]
Updated Norwegian bokmål translation
Mike Gorse [Sun, 22 Jan 2012 18:30:48 +0000 (12:30 -0600)]
Add ScreenReaderEnabled d-bus property and proxy for GNOME setting
Add a ScreenReaderEnabled property to org.a11y.Bus, and proxy the
org.gnome.desktop.a11y.applications screen-reader-enabled gsettings key.
This will allow Orca to monitor the key without depending on gsettings
and a GNOME-specific key.
Mike Gorse [Sat, 21 Jan 2012 18:26:51 +0000 (12:26 -0600)]
Call g_settings_sync after updating IsEnabled
Ensure that the GSettings key is updated immediately upon receiving a
D-Bus message to set the property.
Mike Gorse [Fri, 20 Jan 2012 18:55:40 +0000 (12:55 -0600)]
Have dbind_method_call_reentrant_va check the signature of replies
When making a method call, we should check that the signature of the
reply matches what we expect and throw an error if not. Otherwise we may
crash.
José Millán Soto [Fri, 20 Jan 2012 12:13:38 +0000 (13:13 +0100)]
Set correct end offset in atspi_text_get_attributes
Fixes bug 668334
Mike Gorse [Mon, 16 Jan 2012 03:54:21 +0000 (21:54 -0600)]
Release v2.3.4
Mike Gorse [Sun, 15 Jan 2012 18:29:56 +0000 (12:29 -0600)]
Avoid making calls on processes thought to be hung
If a method call times out, record the process as being hung, and send a
ping. Consider the process to be no longer hung when a response to the
ping is received.
Hopefully this will prevent long delays if an AT makes consecutive calls
on an application that is not responding.
José Millán Soto [Wed, 4 Jan 2012 12:48:48 +0000 (13:48 +0100)]
Using value instead of memory address when calling _atspi_dbus_call
The following functions are changed: atspi_selection_select_child,
atspi_selection_deselect_child and atspi_selection_is_child_selected
Fixes bug 667254
Mike Gorse [Thu, 5 Jan 2012 20:36:18 +0000 (14:36 -0600)]
Allow applications to query keyboard and mouse listeners
Add methods to list the currently-active keyboard and mouse listeners
and signals to be fired when listeners are registered or deregistered.
Part of the fix for http://bugzilla.gnome.org/show_bug.cgi?id=666870
Mike Gorse [Thu, 29 Dec 2011 14:23:10 +0000 (08:23 -0600)]
Warn if a device listener returns a non-bool, rather than crash
Mike Gorse [Wed, 28 Dec 2011 03:23:41 +0000 (22:23 -0500)]
Revert part of last commit
Modifiers and hw_code are still sent as int16 for now, so it was wrong
to remove the code to parse them as int16, at least for the time being.
Mike Gorse [Tue, 27 Dec 2011 23:05:16 +0000 (18:05 -0500)]
Add some type checks for dbus messages, and remove some old code
Added a couple of message signature checks where it was still TODO (and
might have led to a crash if the wrong signature was sent). Also removed
some cases where two different signature types were accepted for API
compatibility reasons--the old API is no longer used.
Hideki Yamane [Mon, 26 Dec 2011 00:46:34 +0000 (09:46 +0900)]
Add new Japanese translation
Mike Gorse [Mon, 19 Dec 2011 19:30:59 +0000 (14:30 -0500)]
Release v2.3.3
Mike Gorse [Fri, 16 Dec 2011 18:29:32 +0000 (13:29 -0500)]
Free match rule array only once when deregistering event listeners
Mike Gorse [Thu, 15 Dec 2011 02:06:21 +0000 (21:06 -0500)]
Support sub-details for events
Firefox sometimes adds a ":system" suffix to events, and event listeners
should automatically catch events with this suffix, as this was done in
AT-SPI1, and the "system" suffix may become a documented part of the ATK
spec (see bug 639466). Note that atk uses a : to delimit the "system"
suffix in the detail, but this is changed to a / over D-Bus to allow use
of arg0path when constructing a match rule.
Mike Gorse [Mon, 21 Nov 2011 22:44:43 +0000 (16:44 -0600)]
Release v2.3.2
Ahmed Noor Kader Mustajir Md Eusoff [Tue, 15 Nov 2011 15:46:29 +0000 (16:46 +0100)]
Updated Malay translation
Aline Bessa [Thu, 4 Aug 2011 22:47:06 +0000 (19:47 -0300)]
Adding descriptions for atspi-types.
Aline Bessa [Thu, 4 Aug 2011 22:41:28 +0000 (19:41 -0300)]
Improving atspi-types documentation.
Aline Bessa [Fri, 5 Aug 2011 22:12:14 +0000 (19:12 -0300)]
Adding descriptions to atspi-hyperlink documentation
Aline Bessa [Fri, 5 Aug 2011 22:02:16 +0000 (19:02 -0300)]
Improving atspi-hyperlink documentation
Mike Gorse [Tue, 25 Oct 2011 17:20:03 +0000 (12:20 -0500)]
Release v2.3.1
Mike Gorse [Fri, 21 Oct 2011 19:25:30 +0000 (14:25 -0500)]
Fix return type of org.a11y.Bus.IsEnabled property
org.a11y.Bus.Enabled was returning a variant struct with a bool, where
it should directly be returning a bool in the variant.
Matthias Clasen [Wed, 19 Oct 2011 22:48:25 +0000 (18:48 -0400)]
Declare void functions as such
handle_a11y_enabled_changed was missing a 'static void', causing
static analyzers to complain about returns.
https://bugzilla.gnome.org/show_bug.cgi?id=662249
Mike Gorse [Mon, 17 Oct 2011 22:01:50 +0000 (17:01 -0500)]
Release v2.2.1
Mike Gorse [Thu, 6 Oct 2011 15:44:40 +0000 (10:44 -0500)]
BGO#660947: Gracefully exit when already running, rather than SIGABRT
Tommi Vainikainen [Wed, 5 Oct 2011 08:18:56 +0000 (11:18 +0300)]
.gitignore: Ignore generated pot template files in po/ dir
Tommi Vainikainen [Wed, 5 Oct 2011 08:16:52 +0000 (11:16 +0300)]
Initial Finnish translation
Mike Gorse [Mon, 3 Oct 2011 21:04:50 +0000 (16:04 -0500)]
Check gsettings schema, if available, for initial a11y state
At least on my system, at-spi-bus-launcher is being launched at start-up
without --launch-immediately (may be a race), so it incorrectly assumed
that accessibility was not enabled. If the gsettings schema is present,
then now we check that at start-up and consider it authoritative.
Mike Gorse [Mon, 26 Sep 2011 23:09:45 +0000 (18:09 -0500)]
Release v2.2.0
Funda Wang [Thu, 22 Sep 2011 20:53:07 +0000 (22:53 +0200)]
fix string literal
Mike Gorse [Mon, 19 Sep 2011 21:50:07 +0000 (16:50 -0500)]
Release v2.1.92
Mike Gorse [Mon, 19 Sep 2011 20:51:14 +0000 (15:51 -0500)]
Make the correct method call when deregistering an event listener
When deregistering an event listener, we should call
DeregisterEventListener, not RegisterEventListener.
Mike Gorse [Mon, 19 Sep 2011 20:43:42 +0000 (15:43 -0500)]
Avoid dereferencing a null message
Vincent Untz [Tue, 6 Sep 2011 06:21:22 +0000 (08:21 +0200)]
Fix missing return statements
https://bugzilla.gnome.org/show_bug.cgi?id=658337
Li Yuan [Mon, 19 Sep 2011 03:02:08 +0000 (22:02 -0500)]
BGO#657051: Fix build error on Solaris
Tiffany Antopolski [Fri, 16 Sep 2011 23:04:32 +0000 (19:04 -0400)]
Added en_CA.po
Piotr Drąg [Fri, 16 Sep 2011 18:43:13 +0000 (20:43 +0200)]
Updated POTFILES.in
Mike Gorse [Thu, 15 Sep 2011 21:41:28 +0000 (16:41 -0500)]
Add some defensive checks to prevent problems with defunct objects
Mike Gorse [Wed, 14 Sep 2011 20:23:26 +0000 (15:23 -0500)]
Fix for BGO#659088: Correctly define ATSPI_MODIFIER_NUMLOCK
I Felix [Tue, 13 Sep 2011 08:57:48 +0000 (14:27 +0530)]
Updated linguas with ta
I Felix [Tue, 13 Sep 2011 08:57:25 +0000 (14:27 +0530)]
Updated Tamil Translations
Mike Gorse [Fri, 9 Sep 2011 21:06:55 +0000 (16:06 -0500)]
Fix crash when handling event listeners
When g_strsplit is called and returns one element, we should not try to write
to the third element in the returned array, since this will be an
invalid write and will likely lead to a crash.
Mike Gorse [Mon, 5 Sep 2011 22:58:49 +0000 (17:58 -0500)]
Release v2.1.91
Mike Gorse [Mon, 5 Sep 2011 22:40:04 +0000 (17:40 -0500)]
Make dbus IsEnabled property readwrite
Piotr Drąg [Mon, 5 Sep 2011 21:21:50 +0000 (23:21 +0200)]
Updated LINGUAS
Mike Gorse [Mon, 5 Sep 2011 18:25:36 +0000 (13:25 -0500)]
Fix crash when unregistering device listeners
Mike Gorse [Mon, 29 Aug 2011 21:59:03 +0000 (16:59 -0500)]
Release v2.1.90
Mike Gorse [Mon, 29 Aug 2011 21:10:16 +0000 (16:10 -0500)]
Update template
Mike Gorse [Mon, 29 Aug 2011 19:52:00 +0000 (14:52 -0500)]
atspi_accessible_new -> _atspi_accessible_new
Mike Gorse [Mon, 29 Aug 2011 12:48:53 +0000 (07:48 -0500)]
Fix for BGO#657585: The bus launcher should not flush a NULL display
Mike Gorse [Mon, 29 Aug 2011 02:32:45 +0000 (21:32 -0500)]
Clean up device listeners from disconnected applications
Aline Bessa [Tue, 26 Jul 2011 17:29:57 +0000 (14:29 -0300)]
Adding descriptions to atspi-text
Aline Bessa [Tue, 26 Jul 2011 17:20:25 +0000 (14:20 -0300)]
Improving atspi-text.c documentation
Aline Bessa [Tue, 26 Jul 2011 18:31:45 +0000 (15:31 -0300)]
Adding descriptions to atspi-image
Aline Bessa [Tue, 26 Jul 2011 18:19:17 +0000 (15:19 -0300)]
Improving atspi-image.c documentation
Aline Bessa [Wed, 27 Jul 2011 04:02:53 +0000 (01:02 -0300)]
Adding Mike Gorse's suggestions
Aline Bessa [Tue, 26 Jul 2011 17:18:00 +0000 (14:18 -0300)]
Adding descriptions to atspiaccessible
Aline Bessa [Tue, 26 Jul 2011 16:44:06 +0000 (13:44 -0300)]
Changing atspi-accessible C file
Aline Bessa [Wed, 27 Jul 2011 04:26:45 +0000 (01:26 -0300)]
Improving atspi-document.c documentation
Aline Bessa [Wed, 27 Jul 2011 05:07:07 +0000 (02:07 -0300)]
Adding descriptions for atspi-hypertext.c
Aline Bessa [Wed, 27 Jul 2011 05:01:46 +0000 (02:01 -0300)]
Improving atspi-hypertext.c documentation
Aline Bessa [Thu, 28 Jul 2011 00:00:58 +0000 (21:00 -0300)]
Adding Mike Gorse's suggestions
Aline Bessa [Wed, 27 Jul 2011 04:47:26 +0000 (01:47 -0300)]
Adding descriptions for atspi-value.c
Aline Bessa [Wed, 27 Jul 2011 04:43:29 +0000 (01:43 -0300)]
Improving atspi-value.c documentation
Aline Bessa [Mon, 1 Aug 2011 22:49:44 +0000 (19:49 -0300)]
Adding descriptions for atspi-component.
Aline Bessa [Mon, 1 Aug 2011 22:40:04 +0000 (19:40 -0300)]
Improving atspi-component documentation.
Aline Bessa [Tue, 2 Aug 2011 03:25:34 +0000 (00:25 -0300)]
Adding descriptions for atspi-stateset.
Aline Bessa [Tue, 2 Aug 2011 03:06:07 +0000 (00:06 -0300)]
Improving atspi-stateset documentation.
Aline Bessa [Tue, 2 Aug 2011 21:08:59 +0000 (18:08 -0300)]
Adding descriptions for atspi-application.
Aline Bessa [Tue, 2 Aug 2011 21:36:31 +0000 (18:36 -0300)]
Adding descriptions for atspi-relation.