platform/core/uifw/at-spi2-atk.git
13 years agoDefine -DG_DISABLE_DEPRECATED, and remove deprecated glib symbol
Mike Gorse [Tue, 3 Aug 2010 01:25:07 +0000 (21:25 -0400)]
Define -DG_DISABLE_DEPRECATED, and remove deprecated glib symbol

FDO#29365

13 years agoRelease v0.3.6
Mike Gorse [Tue, 3 Aug 2010 00:51:26 +0000 (20:51 -0400)]
Release v0.3.6

13 years agoMake initial Embed call asynchronous
Mike Gorse [Fri, 30 Jul 2010 23:13:40 +0000 (19:13 -0400)]
Make initial Embed call asynchronous

The initial Embed does not need to be synchronous, so set a reply callback
instead.  This prevents a long delay if the registry daemon does not respond.
Also unref some related messages that we were leaking.

Also fix a warning.

13 years agoImprove introspection
Mike Gorse [Tue, 20 Jul 2010 13:10:36 +0000 (09:10 -0400)]
Improve introspection

13 years agoRelease v0.3.5
Mike Gorse [Tue, 13 Jul 2010 01:11:00 +0000 (21:11 -0400)]
Release v0.3.5

13 years agoHave a socket retrieve its state set from its embedded plug
Mike Gorse [Tue, 13 Jul 2010 00:31:48 +0000 (20:31 -0400)]
Have a socket retrieve its state set from its embedded plug

13 years agoAT_SPI_CLIENT -> AT_SPI_REENTER_G_MAIN_LOOP
Mike Gorse [Fri, 9 Jul 2010 18:14:45 +0000 (14:14 -0400)]
AT_SPI_CLIENT -> AT_SPI_REENTER_G_MAIN_LOOP

Rename AT_SPI_CLIENT since we may actually need to reenter the main loop for
more than just pyatspi (ie, UiaAtkBridge, since it sends key notifications
on a thread separate from the GLib main loop thread)
Continue to support AT_SPI_CLIENT for now, for backwards compatibility.

13 years agoRelease v0.3.4
Mike Gorse [Mon, 28 Jun 2010 22:39:44 +0000 (18:39 -0400)]
Release v0.3.4

13 years agoSet /desktop/gnome/interface/at-spi-dbus to false by default
Mike Gorse [Mon, 28 Jun 2010 15:27:55 +0000 (11:27 -0400)]
Set /desktop/gnome/interface/at-spi-dbus to false by default

The at-spi-dbus key is only used if --enable-relocate is specified
(which it is not by default).  Specifying --enable-relocate would imply
that at-spi-corba was still intended to be the default, so setting this key to false.

13 years agoFix a warning and an incorrect return value
Mike Gorse [Wed, 23 Jun 2010 13:22:38 +0000 (09:22 -0400)]
Fix a warning and an incorrect return value

13 years agoRemoved the extra boolean parameter added to know when to unref the
Mario Sanchez Prada [Wed, 23 Jun 2010 13:06:28 +0000 (09:06 -0400)]
Removed the extra boolean parameter added to know when to unref the
AtkObject passed as parameter. Instead, just do g_object_unref() when
needed out of that function, right after calling it.

Updated all callers

Bug #28659

13 years agoAdded a new boolean parameter to allow specifying when a call to
Mario Sanchez Prada [Tue, 22 Jun 2010 07:50:37 +0000 (03:50 -0400)]
Added a new boolean parameter to allow specifying when a call to
g_object_unref should be done by the end of that function, since there
are many functions in the ATK API that do not return an extra
reference, and therefore do not need this extra unref.

Updated all callers accordingly.

Bug #622309

13 years agoRemove extra call from impl_GetColumnHeader
Mike Gorse [Mon, 21 Jun 2010 15:08:45 +0000 (11:08 -0400)]
Remove extra call from impl_GetColumnHeader

13 years agoHave ChildCount and GetChildAtIndex take sockets into account
Mike Gorse [Fri, 18 Jun 2010 18:59:51 +0000 (14:59 -0400)]
Have ChildCount and GetChildAtIndex take sockets into account

13 years agoFix NSelectedRows/Columns in introspection
Mike Gorse [Fri, 18 Jun 2010 15:57:41 +0000 (11:57 -0400)]
Fix NSelectedRows/Columns in introspection

13 years agoFix NSelectedRows and NSelectedColumns
Mike Gorse [Thu, 17 Jun 2010 14:48:51 +0000 (10:48 -0400)]
Fix NSelectedRows and NSelectedColumns

13 years agoAdd GetChildren to Accessible introspection
Mike Gorse [Wed, 16 Jun 2010 21:01:49 +0000 (17:01 -0400)]
Add GetChildren to Accessible introspection

13 years agoref an object while adding it to the cache
Mike Gorse [Wed, 16 Jun 2010 21:01:16 +0000 (17:01 -0400)]
ref an object while adding it to the cache

13 years agoAdd const to some dbind prototypes to fix warnings
Mike Gorse [Tue, 8 Jun 2010 20:00:17 +0000 (16:00 -0400)]
Add const to some dbind prototypes to fix warnings

13 years agoRelease v0.3.3
Mike Gorse [Fri, 4 Jun 2010 19:53:00 +0000 (15:53 -0400)]
Release v0.3.3

13 years agoLease objects that send events if they are not cached
Mike Gorse [Thu, 3 Jun 2010 18:19:24 +0000 (14:19 -0400)]
Lease objects that send events if they are not cached

When sending an event, lease it if it is not in the cache, except for
children-changed events, which should update the cache.
This helps prevent errors with Firefox, which can send property-changed
events on a progress bar that was never otherwise exposed.

13 years agoTreat children-changed::add:system as equivalent to children-changed::add
Mike Gorse [Thu, 3 Jun 2010 15:32:04 +0000 (11:32 -0400)]
Treat children-changed::add:system as equivalent to children-changed::add

13 years agoUse Makefile.include for gtk-3.0 Makefile
Mike Gorse [Wed, 2 Jun 2010 00:02:29 +0000 (20:02 -0400)]
Use Makefile.include for gtk-3.0 Makefile

13 years agoInstall to gtk-3.0 as well as gtk-2.0
Mike Gorse [Sat, 29 May 2010 01:50:06 +0000 (21:50 -0400)]
Install to gtk-3.0 as well as gtk-2.0

13 years agoRemove unneeded gtk check from configure.ac
Mike Gorse [Sat, 29 May 2010 01:18:04 +0000 (21:18 -0400)]
Remove unneeded gtk check from configure.ac

13 years agoUpdate news and bump version
Mike Gorse [Tue, 25 May 2010 00:11:13 +0000 (20:11 -0400)]
Update news and bump version

13 years agoFix cache object path and interface names
Mike Gorse [Mon, 24 May 2010 02:20:18 +0000 (22:20 -0400)]
Fix cache object path and interface names

13 years agoMove cache updates to an idle
Mike Gorse [Tue, 18 May 2010 22:44:48 +0000 (18:44 -0400)]
Move cache updates to an idle

When receiving a children-changed signal, we add a whole subtree to the
cache, but not all of the objects have necessarily been initialized yet,
so we may, eg, indicate in the cache that an object's role is UNKNOWN
(see BNC#600024).
This also fixes a crash when starting Firefox 3.6 with at-spi2.

13 years agoHyperlink fixes
Mike Gorse [Mon, 17 May 2010 20:27:28 +0000 (16:27 -0400)]
Hyperlink fixes

13 years agoAdd NEWS, disable relocate, and bump version to 0.3.1
Mike Gorse [Mon, 3 May 2010 21:16:11 +0000 (17:16 -0400)]
Add NEWS, disable relocate, and bump version to 0.3.1

13 years agoFix handling of MATCH_ANY for empty statesets in a collection match rule
Mike Gorse [Mon, 3 May 2010 21:11:05 +0000 (17:11 -0400)]
Fix handling of MATCH_ANY for empty statesets in a collection match rule

13 years agoFix CLEANFILES to remove schema
Mike Gorse [Mon, 3 May 2010 21:09:37 +0000 (17:09 -0400)]
Fix CLEANFILES to remove schema

13 years agoRemove libxml2 check from configure.ac
mgorse [Sat, 1 May 2010 16:47:09 +0000 (12:47 -0400)]
Remove libxml2 check from configure.ac

13 years agoPrevent crash if calling Embed returns something unexpected
Mike Gorse [Thu, 29 Apr 2010 21:46:36 +0000 (17:46 -0400)]
Prevent crash if calling Embed returns something unexpected

13 years agoInstall plug/socket hooks before initializing the cache
Mike Gorse [Thu, 29 Apr 2010 17:46:59 +0000 (13:46 -0400)]
Install plug/socket hooks before initializing the cache

14 years agoFix errant g_return_val_if_fail calls for hyperlinks
Mike Gorse [Thu, 15 Apr 2010 21:14:10 +0000 (17:14 -0400)]
Fix errant g_return_val_if_fail calls for hyperlinks

14 years agoFix atk-adaptor re-entry problem during register application.
Li Yuan [Thu, 15 Apr 2010 06:28:14 +0000 (14:28 +0800)]
Fix atk-adaptor re-entry problem during register application.

Bug #27626.

14 years ago Do not ignore count for getMatchesTo
Mike Gorse [Mon, 12 Apr 2010 19:27:59 +0000 (15:27 -0400)]
Do not ignore count for getMatchesTo

    BGO #538680

14 years agoBuild fixes
Mike Gorse [Fri, 9 Apr 2010 21:04:53 +0000 (17:04 -0400)]
Build fixes

14 years agoPlug/socket fixes
Mike Gorse [Fri, 9 Apr 2010 20:51:56 +0000 (16:51 -0400)]
Plug/socket fixes

Override GetExtents, GetSize, and GetPosition for a plug to query the socket.
Do not register an application if the root is an AtkPlug.
Move Embedded method to the Socket interface.

14 years agoFix org.freedesktop.DBus.Properties.GetAll
Mike Gorse [Thu, 8 Apr 2010 19:45:27 +0000 (15:45 -0400)]
Fix org.freedesktop.DBus.Properties.GetAll

14 years agoUpdate Chinese (Simplified) translation.
Ray Wang [Thu, 8 Apr 2010 02:13:28 +0000 (10:13 +0800)]
Update Chinese (Simplified) translation.

14 years agoSet GETTEXT_PACKAGE
Mike Gorse [Wed, 7 Apr 2010 14:25:09 +0000 (10:25 -0400)]
Set GETTEXT_PACKAGE

14 years agoAdd potfiles.in
Mike Gorse [Wed, 7 Apr 2010 13:33:33 +0000 (09:33 -0400)]
Add potfiles.in

14 years agoReally add the schema, and some related autoconf/automake fixes
Mike Gorse [Tue, 6 Apr 2010 19:53:35 +0000 (15:53 -0400)]
Really add the schema, and some related autoconf/automake fixes

14 years agoAdd gconf schema and corresponding i18n
Mike Gorse [Tue, 6 Apr 2010 19:23:01 +0000 (15:23 -0400)]
Add gconf schema and corresponding i18n

14 years agoCorrecting my email address in MAINTAINERS and adding to .doap
Mike Gorse [Fri, 2 Apr 2010 02:45:55 +0000 (22:45 -0400)]
Correcting my email address in MAINTAINERS and adding to .doap

14 years agoCorrect email address in AUTHORS
Mike Gorse [Thu, 1 Apr 2010 14:16:05 +0000 (10:16 -0400)]
Correct email address in AUTHORS

14 years agoBump version to 0.1.8
Mike Gorse [Tue, 30 Mar 2010 21:12:12 +0000 (17:12 -0400)]
Bump version to 0.1.8

14 years agoOnly reenter the main loop if AT_SPI_CLIENT is set
Mike Gorse [Sun, 14 Mar 2010 12:49:49 +0000 (08:49 -0400)]
Only reenter the main loop if AT_SPI_CLIENT is set

If AT_SPI_CLIENT is not set, call dbus_connection_read_write_dispatch instead
of re-entering the main loop.  Fixes a deadlock with threaded gtk
applications (ie, gnome-do) where gdk would lock while sending a signal,
at-spi would re-enter the main loop, and gdk would try to process another
signal an re-acquire the lock, causing deadlock because the lock is not
reentrant.

14 years agoAvoid calling g_error and aborting the application on some errors
Mike Gorse [Sun, 14 Mar 2010 12:49:24 +0000 (08:49 -0400)]
Avoid calling g_error and aborting the application on some errors

14 years agoOnly query a relation set if it is non-NULL
Mike Gorse [Fri, 5 Mar 2010 19:56:13 +0000 (14:56 -0500)]
Only query a relation set if it is non-NULL

14 years agoList org.a11y.atspi.Application in interfaces for applications
Mike Gorse [Thu, 4 Mar 2010 15:27:40 +0000 (10:27 -0500)]
List org.a11y.atspi.Application in interfaces for applications

List application interface for objects with their role set to
ATK_ROLE_APPLICATION.

14 years agoModify the droute tests to use the new introspection scheme.
Mark Doffman [Fri, 12 Feb 2010 04:15:39 +0000 (20:15 -0800)]
Modify the droute tests to use the new introspection scheme.

14 years agoBump version number prior to release.
Mark Doffman [Fri, 12 Feb 2010 04:03:01 +0000 (20:03 -0800)]
Bump version number prior to release.

14 years agoFix error of prefix length that was preventing matching of new object references.
Mark Doffman [Fri, 12 Feb 2010 04:00:44 +0000 (20:00 -0800)]
Fix error of prefix length that was preventing matching of new object references.

14 years agoChange the name of interfaces from org.freedesktop.atspi to
Mark Doffman [Fri, 12 Feb 2010 03:52:33 +0000 (19:52 -0800)]
Change the name of interfaces from org.freedesktop.atspi to
org.a11y.atspi.

14 years agoConvert droute introspection to use string literals created from
Mark Doffman [Fri, 12 Feb 2010 02:01:59 +0000 (18:01 -0800)]
Convert droute introspection to use string literals created from
the introspection XML in at-spi2-core.

14 years agoAdd change to fix rpmlint 64bit portability errors.
Mark Doffman [Tue, 9 Feb 2010 01:24:41 +0000 (17:24 -0800)]
Add change to fix rpmlint 64bit portability errors.

14 years agoBump version number to 0.1.6 prior to release.
Mark Doffman [Mon, 8 Feb 2010 16:33:21 +0000 (08:33 -0800)]
Bump version number to 0.1.6 prior to release.

14 years agoAttempt to fix build warning related to 64bit builds.
Mark Doffman [Mon, 8 Feb 2010 16:25:41 +0000 (08:25 -0800)]
Attempt to fix build warning related to 64bit builds.

14 years agoIncrease the lease time to rectify errors seen during orca testing.
Mark Doffman [Sun, 7 Feb 2010 20:44:51 +0000 (12:44 -0800)]
Increase the lease time to rectify errors seen during orca testing.

14 years agoMake AT-SPI/CORBA the default and relocate AT-SPI/D-Bus
Willie Walker [Fri, 5 Feb 2010 19:07:09 +0000 (14:07 -0500)]
Make AT-SPI/CORBA the default and relocate AT-SPI/D-Bus

14 years agoMove the application argument to the end of the event structure
Mark Doffman [Thu, 4 Feb 2010 01:11:35 +0000 (17:11 -0800)]
Move the application argument to the end of the event structure
to allow matching on the minor string.

14 years agoEnhance droute so that unhandled messages are better debugged.
Mark Doffman [Wed, 3 Feb 2010 22:59:16 +0000 (14:59 -0800)]
Enhance droute so that unhandled messages are better debugged.

14 years agoFix error where null objects were sent with wrong address.
Mark Doffman [Wed, 3 Feb 2010 22:53:07 +0000 (14:53 -0800)]
Fix error where null objects were sent with wrong address.
Fix duplicate line in table adaptor header generation.

14 years agoMove spi_object_append_null_reference and adjust its usage
Willie Walker [Wed, 3 Feb 2010 14:51:40 +0000 (09:51 -0500)]
Move spi_object_append_null_reference and adjust its usage

This prevents a compilation failure on OpenSolaris

14 years agoFix issue where we would attempt to reference null objects
Mark Doffman [Wed, 3 Feb 2010 09:15:42 +0000 (01:15 -0800)]
Fix issue where we would attempt to reference null objects
on the child-changed removed signal.

14 years agoPlug/socket fixes, and remove conditional
Mike Gorse [Tue, 2 Feb 2010 20:29:43 +0000 (15:29 -0500)]
Plug/socket fixes, and remove conditional

Always enable plug/socket code.  Bump atk requirement to 1.29.3 accordingly.
Fix cases where we were omitting the parent of a plug if it was unknown.

14 years agoPropertyChange fixes
Mike Gorse [Mon, 1 Feb 2010 19:52:25 +0000 (14:52 -0500)]
PropertyChange fixes

14 years agoChange the keystroke delivery methid re-entrancy from
Mark Doffman [Wed, 3 Feb 2010 00:58:56 +0000 (16:58 -0800)]
Change the keystroke delivery methid re-entrancy from
looping over the bus to entering a g_main_loop.

Modification to the 'Embed' method so that the address of
the desktop object (Application parent) is stored.

14 years agoThe StreamableContent interface is not currently supported.
Mark Doffman [Fri, 22 Jan 2010 09:25:41 +0000 (01:25 -0800)]
The StreamableContent interface is not currently supported.
Stop indicating that it is in the list of interfaces.

14 years agoCorrect the root path definition.
Mark Doffman [Thu, 21 Jan 2010 23:19:31 +0000 (15:19 -0800)]
Correct the root path definition.

14 years agoModify the paths scheme.
Mark Doffman [Thu, 21 Jan 2010 14:13:27 +0000 (06:13 -0800)]
Modify the paths scheme.

The null path now signifies no object. A new root path has been
added representing the root accessible for a given connection.

14 years agoEvent fixes
Mike Gorse [Tue, 19 Jan 2010 15:13:05 +0000 (10:13 -0500)]
Event fixes

14 years agoFix collection interface-checking code
Mike Gorse [Mon, 18 Jan 2010 15:06:31 +0000 (10:06 -0500)]
Fix collection interface-checking code

The collection code to check interfaces was broken (atk_is_ -> ATK_IS_)

14 years agoFix appending attribute set
Mike Gorse [Fri, 15 Jan 2010 19:23:16 +0000 (14:23 -0500)]
Fix appending attribute set

14 years agoFix cache update signature
Mike Gorse [Fri, 15 Jan 2010 17:45:56 +0000 (12:45 -0500)]
Fix cache update signature

14 years agoRe-add spi_dbus_general_error method as it is used by the collections adaptor.
Mark Doffman [Thu, 14 Jan 2010 12:01:58 +0000 (04:01 -0800)]
Re-add spi_dbus_general_error method as it is used by the collections adaptor.

14 years agoAllow make distcheck to still ship the atk-adapter *.desktop.in file.
Willie Walker [Tue, 12 Jan 2010 22:58:48 +0000 (17:58 -0500)]
Allow make distcheck to still ship the atk-adapter *.desktop.in file.
The *.desktop file will still only be built/installed only if --enable-relocate is used.
This fix makes sure that people building from tarballs will still have the *.desktop.in
file.

14 years agoBump version number to 0.1.5 prior to release.
Mark Doffman [Mon, 11 Jan 2010 18:45:25 +0000 (10:45 -0800)]
Bump version number to 0.1.5 prior to release.

14 years agoEnsure the child data is added to children-changed events properly.
Mark Doffman [Mon, 11 Jan 2010 18:24:57 +0000 (10:24 -0800)]
Ensure the child data is added to children-changed events properly.

14 years agoFix build error
Mike Gorse [Mon, 11 Jan 2010 18:04:30 +0000 (13:04 -0500)]
Fix build error

Use g_strcmp0 rather than strcmp, since there was no #include for strcmp.

14 years agoTranslate child changed ATK signals to AT-SPI.
Mark Doffman [Wed, 6 Jan 2010 00:29:30 +0000 (16:29 -0800)]
Translate child changed ATK signals to AT-SPI.

14 years agoFix object lifecycle errors.
Mark Doffman [Tue, 5 Jan 2010 20:50:55 +0000 (12:50 -0800)]
Fix object lifecycle errors.
Add an application reference to the event structure.

14 years agoIntegrate leasing scheme in-to atk-bridge.
Mark Doffman [Tue, 5 Jan 2010 09:47:34 +0000 (01:47 -0800)]
Integrate leasing scheme in-to atk-bridge.

This involved:
Separating the 'cache' and registration
        of accessible objects. This is because
        the leased objects need to be available over
        D-Bus but are not cached.

        Separating the cache updating from the 'events'.
        This is because we should still recieve updates on
        leased accessibles, but they are not cached.

14 years agoAdd a class for taking leased references of GObjects.
Mark Doffman [Sat, 2 Jan 2010 16:34:45 +0000 (08:34 -0800)]
Add a class for taking leased references of GObjects.

14 years agoMove the D-Bus adaptor code into its own folder within the
Mark Doffman [Sat, 2 Jan 2010 16:28:26 +0000 (08:28 -0800)]
Move the D-Bus adaptor code into its own folder within the
atk-adaptor library codebase.

14 years agoCode style enforcement.
Mark Doffman [Sat, 2 Jan 2010 15:54:20 +0000 (07:54 -0800)]
Code style enforcement.

All files in atk-adaptor now use gnu style indentation.

'indent --no-tabs'

14 years agoFix parents of plugs
Mike Gorse [Wed, 6 Jan 2010 14:35:19 +0000 (09:35 -0500)]
Fix parents of plugs

14 years agoFix g_warning
Mike Gorse [Wed, 23 Dec 2009 11:50:26 +0000 (06:50 -0500)]
Fix g_warning

14 years agoBump version number to 0.1.4 prior to release.
Mark Doffman [Fri, 18 Dec 2009 16:03:39 +0000 (08:03 -0800)]
Bump version number to 0.1.4 prior to release.

14 years agoUse datarootdir for finding the introspection XML files. They are now in
Mark Doffman [Thu, 17 Dec 2009 23:10:25 +0000 (15:10 -0800)]
Use datarootdir for finding the introspection XML files. They are now in
a shared directory under 'at-spi2'.

14 years agoReindent colletion-adapter.c using GNU indent
Mike Gorse [Fri, 18 Dec 2009 17:12:33 +0000 (12:12 -0500)]
Reindent colletion-adapter.c using GNU indent

Reindented since the file had a hodge-podge of indentation styles;
wanted to at least have something consistent.

14 years agoFinished collection support
Mike Gorse [Fri, 18 Dec 2009 17:11:06 +0000 (12:11 -0500)]
Finished collection support

14 years agoOnly check for plug if atkplug.h has been included
Mike Gorse [Fri, 11 Dec 2009 16:40:57 +0000 (11:40 -0500)]
Only check for plug if atkplug.h has been included

14 years agoRemove i18n macro that was causing link errors.
Mark Doffman [Thu, 10 Dec 2009 10:50:54 +0000 (02:50 -0800)]
Remove i18n macro that was causing link errors.

14 years agoSend UpdateAccessible for transient objects
Mike Gorse [Mon, 7 Dec 2009 20:59:04 +0000 (15:59 -0500)]
Send UpdateAccessible for transient objects

Send an UpdateAccessible signal if a Transient object is registered.
This should only happen as the result of a query (GetChildAtIndex,
GetAccessibleAt, etc).

14 years agoOnly set parent to the desktop if an accessible is an Application
Mike Gorse [Wed, 25 Nov 2009 23:43:46 +0000 (18:43 -0500)]
Only set parent to the desktop if an accessible is an Application

14 years agoUse the new 'Accessibility' bus if the bus address is available
Mark Doffman [Tue, 8 Dec 2009 22:38:37 +0000 (14:38 -0800)]
Use the new 'Accessibility' bus if the bus address is available
in the AT_SPI_BUS X property.