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

12 years agoFix message displayed when a call returns the wrong type
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.

12 years agoInvalidate states when receiving a focus event
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

12 years agoRelease v2.3.90 AT_SPI2_CORE_2_3_90
Mike Gorse [Mon, 20 Feb 2012 23:00:48 +0000 (17:00 -0600)]
Release v2.3.90

12 years agoDon't g_object_unref a NULL object for event variant
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.

12 years agoIf a keystroke listener does not respond, disable until it responds
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.

12 years agoAt-spi-bus-launcher signal emission fixes
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.

12 years agoRelease v2.3.5 AT_SPI2_CORE_2_3_5
Mike Gorse [Mon, 6 Feb 2012 22:17:05 +0000 (16:17 -0600)]
Release v2.3.5

12 years agoFor IsScreenReaderEnabled, listen for the correct gsettings change signal
Mike Gorse [Mon, 6 Feb 2012 20:50:46 +0000 (14:50 -0600)]
For IsScreenReaderEnabled, listen for the correct gsettings change signal

12 years agoFix atspi_collection_get_matches_to prototype
Mike Gorse [Mon, 6 Feb 2012 15:55:12 +0000 (09:55 -0600)]
Fix atspi_collection_get_matches_to prototype

12 years agoFor atspi_collection_get_matches_to, rename restrict to limit_scope
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

12 years agoUpdated Norwegian bokmål translation
Kjartan Maraas [Tue, 24 Jan 2012 13:57:07 +0000 (14:57 +0100)]
Updated Norwegian bokmål translation

12 years agoAdd ScreenReaderEnabled d-bus property and proxy for GNOME setting
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.

12 years agoCall g_settings_sync after updating IsEnabled
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.

12 years agoHave dbind_method_call_reentrant_va check the signature of replies
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.

12 years agoSet correct end offset in atspi_text_get_attributes
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

12 years agoRelease v2.3.4 AT_SPI2_CORE_2_3_4
Mike Gorse [Mon, 16 Jan 2012 03:54:21 +0000 (21:54 -0600)]
Release v2.3.4

12 years agoAvoid making calls on processes thought to be hung
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.

12 years agoUsing value instead of memory address when calling _atspi_dbus_call
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

12 years agoAllow applications to query keyboard and mouse listeners
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

12 years agoWarn if a device listener returns a non-bool, rather than crash
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

12 years agoRevert part of last commit
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.

12 years agoAdd some type checks for dbus messages, and remove some old code
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.

12 years agoAdd new Japanese translation
Hideki Yamane [Mon, 26 Dec 2011 00:46:34 +0000 (09:46 +0900)]
Add new Japanese translation

12 years agoRelease v2.3.3 AT_SPI2_CORE_2_3_3
Mike Gorse [Mon, 19 Dec 2011 19:30:59 +0000 (14:30 -0500)]
Release v2.3.3

12 years agoFree match rule array only once when deregistering event listeners
Mike Gorse [Fri, 16 Dec 2011 18:29:32 +0000 (13:29 -0500)]
Free match rule array only once when deregistering event listeners

12 years agoSupport sub-details for events
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.

12 years agoRelease v2.3.2 AT_SPI2_CORE_2_3_2
Mike Gorse [Mon, 21 Nov 2011 22:44:43 +0000 (16:44 -0600)]
Release v2.3.2

12 years agoUpdated Malay translation
Ahmed Noor Kader Mustajir Md Eusoff [Tue, 15 Nov 2011 15:46:29 +0000 (16:46 +0100)]
Updated Malay translation

12 years agoAdding descriptions for atspi-types.
Aline Bessa [Thu, 4 Aug 2011 22:47:06 +0000 (19:47 -0300)]
Adding descriptions for atspi-types.

12 years agoImproving atspi-types documentation.
Aline Bessa [Thu, 4 Aug 2011 22:41:28 +0000 (19:41 -0300)]
Improving atspi-types documentation.

12 years agoAdding descriptions to atspi-hyperlink documentation
Aline Bessa [Fri, 5 Aug 2011 22:12:14 +0000 (19:12 -0300)]
Adding descriptions to atspi-hyperlink documentation

12 years agoImproving atspi-hyperlink documentation
Aline Bessa [Fri, 5 Aug 2011 22:02:16 +0000 (19:02 -0300)]
Improving atspi-hyperlink documentation

12 years agoRelease v2.3.1 AT_SPI2_CORE_2_3_1
Mike Gorse [Tue, 25 Oct 2011 17:20:03 +0000 (12:20 -0500)]
Release v2.3.1

12 years agoFix return type of org.a11y.Bus.IsEnabled property
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.

12 years agoDeclare void functions as such
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

12 years agoRelease v2.2.1 AT_SPI2_CORE_2_2_1
Mike Gorse [Mon, 17 Oct 2011 22:01:50 +0000 (17:01 -0500)]
Release v2.2.1

12 years agoBGO#660947: Gracefully exit when already running, rather than SIGABRT
Mike Gorse [Thu, 6 Oct 2011 15:44:40 +0000 (10:44 -0500)]
BGO#660947: Gracefully exit when already running, rather than SIGABRT

12 years ago.gitignore: Ignore generated pot template files in po/ dir
Tommi Vainikainen [Wed, 5 Oct 2011 08:18:56 +0000 (11:18 +0300)]
.gitignore: Ignore generated pot template files in po/ dir

12 years agoInitial Finnish translation
Tommi Vainikainen [Wed, 5 Oct 2011 08:16:52 +0000 (11:16 +0300)]
Initial Finnish translation

12 years agoCheck gsettings schema, if available, for initial a11y state
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.

12 years agoRelease v2.2.0 AT_SPI2_CORE_2_2_0
Mike Gorse [Mon, 26 Sep 2011 23:09:45 +0000 (18:09 -0500)]
Release v2.2.0

12 years agofix string literal
Funda Wang [Thu, 22 Sep 2011 20:53:07 +0000 (22:53 +0200)]
fix string literal

12 years agoRelease v2.1.92 AT_SPI2_CORE_2_1_92
Mike Gorse [Mon, 19 Sep 2011 21:50:07 +0000 (16:50 -0500)]
Release v2.1.92

12 years agoMake the correct method call when deregistering an event listener
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.

12 years agoAvoid dereferencing a null message
Mike Gorse [Mon, 19 Sep 2011 20:43:42 +0000 (15:43 -0500)]
Avoid dereferencing a null message

12 years agoFix missing return statements
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

12 years agoBGO#657051: Fix build error on Solaris
Li Yuan [Mon, 19 Sep 2011 03:02:08 +0000 (22:02 -0500)]
BGO#657051: Fix build error on Solaris

12 years agoAdded en_CA.po
Tiffany Antopolski [Fri, 16 Sep 2011 23:04:32 +0000 (19:04 -0400)]
Added en_CA.po

12 years agoUpdated POTFILES.in
Piotr Drąg [Fri, 16 Sep 2011 18:43:13 +0000 (20:43 +0200)]
Updated POTFILES.in

12 years agoAdd some defensive checks to prevent problems with defunct objects
Mike Gorse [Thu, 15 Sep 2011 21:41:28 +0000 (16:41 -0500)]
Add some defensive checks to prevent problems with defunct objects

12 years agoFix for BGO#659088: Correctly define ATSPI_MODIFIER_NUMLOCK
Mike Gorse [Wed, 14 Sep 2011 20:23:26 +0000 (15:23 -0500)]
Fix for BGO#659088: Correctly define ATSPI_MODIFIER_NUMLOCK

12 years agoUpdated linguas with ta
I Felix [Tue, 13 Sep 2011 08:57:48 +0000 (14:27 +0530)]
Updated linguas with ta

12 years agoUpdated Tamil Translations
I Felix [Tue, 13 Sep 2011 08:57:25 +0000 (14:27 +0530)]
Updated Tamil Translations

12 years agoFix crash when handling event listeners
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.

12 years agoRelease v2.1.91 AT_SPI2_CORE_2_1_91
Mike Gorse [Mon, 5 Sep 2011 22:58:49 +0000 (17:58 -0500)]
Release v2.1.91

12 years agoMake dbus IsEnabled property readwrite
Mike Gorse [Mon, 5 Sep 2011 22:40:04 +0000 (17:40 -0500)]
Make dbus IsEnabled property readwrite

12 years agoUpdated LINGUAS
Piotr Drąg [Mon, 5 Sep 2011 21:21:50 +0000 (23:21 +0200)]
Updated LINGUAS

12 years agoFix crash when unregistering device listeners
Mike Gorse [Mon, 5 Sep 2011 18:25:36 +0000 (13:25 -0500)]
Fix crash when unregistering device listeners

12 years agoRelease v2.1.90 AT_SPI2_CORE_2_1_90
Mike Gorse [Mon, 29 Aug 2011 21:59:03 +0000 (16:59 -0500)]
Release v2.1.90

12 years agoUpdate template
Mike Gorse [Mon, 29 Aug 2011 21:10:16 +0000 (16:10 -0500)]
Update template

12 years agoatspi_accessible_new -> _atspi_accessible_new
Mike Gorse [Mon, 29 Aug 2011 19:52:00 +0000 (14:52 -0500)]
atspi_accessible_new -> _atspi_accessible_new

12 years agoFix for BGO#657585: The bus launcher should not flush a NULL display
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

12 years agoClean up device listeners from disconnected applications
Mike Gorse [Mon, 29 Aug 2011 02:32:45 +0000 (21:32 -0500)]
Clean up device listeners from disconnected applications

12 years agoAdding descriptions to atspi-text
Aline Bessa [Tue, 26 Jul 2011 17:29:57 +0000 (14:29 -0300)]
Adding descriptions to atspi-text

12 years agoImproving atspi-text.c documentation
Aline Bessa [Tue, 26 Jul 2011 17:20:25 +0000 (14:20 -0300)]
Improving atspi-text.c documentation

12 years agoAdding descriptions to atspi-image
Aline Bessa [Tue, 26 Jul 2011 18:31:45 +0000 (15:31 -0300)]
Adding descriptions to atspi-image

12 years agoImproving atspi-image.c documentation
Aline Bessa [Tue, 26 Jul 2011 18:19:17 +0000 (15:19 -0300)]
Improving atspi-image.c documentation

12 years agoAdding Mike Gorse's suggestions
Aline Bessa [Wed, 27 Jul 2011 04:02:53 +0000 (01:02 -0300)]
Adding Mike Gorse's suggestions

12 years agoAdding descriptions to atspiaccessible
Aline Bessa [Tue, 26 Jul 2011 17:18:00 +0000 (14:18 -0300)]
Adding descriptions to atspiaccessible

12 years agoChanging atspi-accessible C file
Aline Bessa [Tue, 26 Jul 2011 16:44:06 +0000 (13:44 -0300)]
Changing atspi-accessible C file

12 years agoImproving atspi-document.c documentation
Aline Bessa [Wed, 27 Jul 2011 04:26:45 +0000 (01:26 -0300)]
Improving atspi-document.c documentation

12 years agoAdding descriptions for atspi-hypertext.c
Aline Bessa [Wed, 27 Jul 2011 05:07:07 +0000 (02:07 -0300)]
Adding descriptions for atspi-hypertext.c

12 years agoImproving atspi-hypertext.c documentation
Aline Bessa [Wed, 27 Jul 2011 05:01:46 +0000 (02:01 -0300)]
Improving atspi-hypertext.c documentation

12 years agoAdding Mike Gorse's suggestions
Aline Bessa [Thu, 28 Jul 2011 00:00:58 +0000 (21:00 -0300)]
Adding Mike Gorse's suggestions

12 years agoAdding descriptions for atspi-value.c
Aline Bessa [Wed, 27 Jul 2011 04:47:26 +0000 (01:47 -0300)]
Adding descriptions for atspi-value.c

12 years agoImproving atspi-value.c documentation
Aline Bessa [Wed, 27 Jul 2011 04:43:29 +0000 (01:43 -0300)]
Improving atspi-value.c documentation

12 years agoAdding descriptions for atspi-component.
Aline Bessa [Mon, 1 Aug 2011 22:49:44 +0000 (19:49 -0300)]
Adding descriptions for atspi-component.

12 years agoImproving atspi-component documentation.
Aline Bessa [Mon, 1 Aug 2011 22:40:04 +0000 (19:40 -0300)]
Improving atspi-component documentation.

12 years agoAdding descriptions for atspi-stateset.
Aline Bessa [Tue, 2 Aug 2011 03:25:34 +0000 (00:25 -0300)]
Adding descriptions for atspi-stateset.

12 years agoImproving atspi-stateset documentation.
Aline Bessa [Tue, 2 Aug 2011 03:06:07 +0000 (00:06 -0300)]
Improving atspi-stateset documentation.

12 years agoAdding descriptions for atspi-application.
Aline Bessa [Tue, 2 Aug 2011 21:08:59 +0000 (18:08 -0300)]
Adding descriptions for atspi-application.

12 years agoAdding descriptions for atspi-relation.
Aline Bessa [Tue, 2 Aug 2011 21:36:31 +0000 (18:36 -0300)]
Adding descriptions for atspi-relation.

12 years agoImproving atspi-relation documentation.
Aline Bessa [Tue, 2 Aug 2011 21:36:18 +0000 (18:36 -0300)]
Improving atspi-relation documentation.

12 years agoAdding descriptions for atspi-matchrule.
Aline Bessa [Tue, 2 Aug 2011 23:36:55 +0000 (20:36 -0300)]
Adding descriptions for atspi-matchrule.

12 years agoImproving atspi-matchrule documentation.
Aline Bessa [Tue, 2 Aug 2011 23:32:21 +0000 (20:32 -0300)]
Improving atspi-matchrule documentation.

12 years agoAdding descriptions for atspi-devicelistener.
Aline Bessa [Wed, 3 Aug 2011 00:50:25 +0000 (21:50 -0300)]
Adding descriptions for atspi-devicelistener.

12 years agoImproving atspi-devicelistener documentation.
Aline Bessa [Wed, 3 Aug 2011 00:44:54 +0000 (21:44 -0300)]
Improving atspi-devicelistener documentation.

12 years agoAdding descriptions for atspi-registry.
Aline Bessa [Thu, 4 Aug 2011 05:58:45 +0000 (02:58 -0300)]
Adding descriptions for atspi-registry.

12 years agoImproving atspi-registry documentation.
Aline Bessa [Thu, 4 Aug 2011 05:48:19 +0000 (02:48 -0300)]
Improving atspi-registry documentation.

12 years agoAdding descriptions to atspi-event-listener documentation
Aline Bessa [Fri, 5 Aug 2011 23:23:09 +0000 (20:23 -0300)]
Adding descriptions to atspi-event-listener documentation

12 years agoImproving atspi-event-listener documentation
Aline Bessa [Fri, 5 Aug 2011 23:17:38 +0000 (20:17 -0300)]
Improving atspi-event-listener documentation

12 years agoAdding descriptions to atspi-misc documentation
Aline Bessa [Sat, 6 Aug 2011 00:09:12 +0000 (21:09 -0300)]
Adding descriptions to atspi-misc documentation

12 years agoImproving atspi-misc documentation
Aline Bessa [Fri, 5 Aug 2011 23:56:18 +0000 (20:56 -0300)]
Improving atspi-misc documentation

12 years agoFixing a typo
Aline Bessa [Thu, 11 Aug 2011 03:54:04 +0000 (00:54 -0300)]
Fixing a typo

12 years agoAdding descriptions to atspi-table.c
Aline Bessa [Thu, 28 Jul 2011 02:14:33 +0000 (23:14 -0300)]
Adding descriptions to atspi-table.c

12 years agoImproving atspi-table.c documentation
Aline Bessa [Thu, 28 Jul 2011 02:09:11 +0000 (23:09 -0300)]
Improving atspi-table.c documentation

12 years agoFixing grammar issue
Aline Bessa [Thu, 11 Aug 2011 04:07:30 +0000 (01:07 -0300)]
Fixing grammar issue

12 years agoAdding descriptions to atspi-selection.c
Aline Bessa [Thu, 28 Jul 2011 02:55:21 +0000 (23:55 -0300)]
Adding descriptions to atspi-selection.c

12 years agoImproving atspi-selection.c documentation
Aline Bessa [Thu, 28 Jul 2011 02:49:04 +0000 (23:49 -0300)]
Improving atspi-selection.c documentation