Mike Gorse [Mon, 30 Aug 2010 23:07:01 +0000 (19:07 -0400)]
Peer-to-peer fixes; work in progress
Trevor Saunders [Thu, 5 Aug 2010 23:34:14 +0000 (19:34 -0400)]
update introspection.[ch]
Trevor Saunders [Thu, 5 Aug 2010 23:11:34 +0000 (19:11 -0400)]
improve how the dbus address is handled
Create unique socket names of the form
/tmp/at-spi2/socket-<pid>-<random number> This should be much safer
than the old method since each process should have only one dbus
server socket, and the random number should protect against uncleaned
up sockets.
Also set permissions on directory for dbus server sockets.
Trevor Saunders [Thu, 5 Aug 2010 08:39:24 +0000 (04:39 -0400)]
code cleanup
- use mktemp instead of mktmp, mktmp doesn't seem to be defined very
well.
- make function declaration conform to style.
- make dbus method name start with a cap per the dbus spec.
Trevor Saunders [Sat, 31 Jul 2010 05:08:37 +0000 (01:08 -0400)]
enable peer to peer comunication for at-spi2
Each application will setup a dbus server listening on a unix socket in
/tmp/at-spi2/xxxxxx. A getApplicationBusAddress method is added to
atk-adaptors/adaptors/application-adaptor.c so that clients of at-spi2
can get the address of the socket on which to contact the application
server. This method returns a string which is a dbus address so it can
be passed directly to dbus_connection_open.
Kjartan Maraas [Fri, 20 Aug 2010 17:10:57 +0000 (19:10 +0200)]
Fix the build
Mike Gorse [Mon, 16 Aug 2010 23:32:46 +0000 (19:32 -0400)]
Release v0.3.90
Mike Gorse [Mon, 16 Aug 2010 22:27:21 +0000 (18:27 -0400)]
Only send events when something is listening for them
Mike Gorse [Mon, 16 Aug 2010 22:21:06 +0000 (18:21 -0400)]
Ensure that an object is registered before adding it to the cache
We need to ensure that an object is registered before putting it in the
cache, since registering the object adds the weak_ref that we use to know
when the object should be removed from the cache. Prevents a crash in
GetItems.
Mike Gorse [Sun, 15 Aug 2010 22:12:24 +0000 (18:12 -0400)]
Fix droute_add_one / caching (0.3.6 regression)
Mike Gorse [Fri, 6 Aug 2010 00:51:30 +0000 (20:51 -0400)]
Have adaptor_init() return -1 on error and not consider itself initialized
Mike Gorse [Tue, 3 Aug 2010 12:31:13 +0000 (08:31 -0400)]
Change remaining g_error calls to g_warning
Mike Gorse [Tue, 3 Aug 2010 01:25:07 +0000 (21:25 -0400)]
Define -DG_DISABLE_DEPRECATED, and remove deprecated glib symbol
FDO#29365
Mike Gorse [Tue, 3 Aug 2010 00:51:26 +0000 (20:51 -0400)]
Release v0.3.6
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.
Mike Gorse [Tue, 20 Jul 2010 13:10:36 +0000 (09:10 -0400)]
Improve introspection
Mike Gorse [Tue, 13 Jul 2010 01:11:00 +0000 (21:11 -0400)]
Release v0.3.5
Mike Gorse [Tue, 13 Jul 2010 00:31:48 +0000 (20:31 -0400)]
Have a socket retrieve its state set from its embedded plug
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.
Mike Gorse [Mon, 28 Jun 2010 22:39:44 +0000 (18:39 -0400)]
Release v0.3.4
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.
Mike Gorse [Wed, 23 Jun 2010 13:22:38 +0000 (09:22 -0400)]
Fix a warning and an incorrect return value
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
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
Mike Gorse [Mon, 21 Jun 2010 15:08:45 +0000 (11:08 -0400)]
Remove extra call from impl_GetColumnHeader
Mike Gorse [Fri, 18 Jun 2010 18:59:51 +0000 (14:59 -0400)]
Have ChildCount and GetChildAtIndex take sockets into account
Mike Gorse [Fri, 18 Jun 2010 15:57:41 +0000 (11:57 -0400)]
Fix NSelectedRows/Columns in introspection
Mike Gorse [Thu, 17 Jun 2010 14:48:51 +0000 (10:48 -0400)]
Fix NSelectedRows and NSelectedColumns
Mike Gorse [Wed, 16 Jun 2010 21:01:49 +0000 (17:01 -0400)]
Add GetChildren to Accessible introspection
Mike Gorse [Wed, 16 Jun 2010 21:01:16 +0000 (17:01 -0400)]
ref an object while adding it to the cache
Mike Gorse [Tue, 8 Jun 2010 20:00:17 +0000 (16:00 -0400)]
Add const to some dbind prototypes to fix warnings
Mike Gorse [Fri, 4 Jun 2010 19:53:00 +0000 (15:53 -0400)]
Release v0.3.3
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.
Mike Gorse [Thu, 3 Jun 2010 15:32:04 +0000 (11:32 -0400)]
Treat children-changed::add:system as equivalent to children-changed::add
Mike Gorse [Wed, 2 Jun 2010 00:02:29 +0000 (20:02 -0400)]
Use Makefile.include for gtk-3.0 Makefile
Mike Gorse [Sat, 29 May 2010 01:50:06 +0000 (21:50 -0400)]
Install to gtk-3.0 as well as gtk-2.0
Mike Gorse [Sat, 29 May 2010 01:18:04 +0000 (21:18 -0400)]
Remove unneeded gtk check from configure.ac
Mike Gorse [Tue, 25 May 2010 00:11:13 +0000 (20:11 -0400)]
Update news and bump version
Mike Gorse [Mon, 24 May 2010 02:20:18 +0000 (22:20 -0400)]
Fix cache object path and interface names
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.
Mike Gorse [Mon, 17 May 2010 20:27:28 +0000 (16:27 -0400)]
Hyperlink fixes
Mike Gorse [Mon, 3 May 2010 21:16:11 +0000 (17:16 -0400)]
Add NEWS, disable relocate, and bump version to 0.3.1
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
Mike Gorse [Mon, 3 May 2010 21:09:37 +0000 (17:09 -0400)]
Fix CLEANFILES to remove schema
mgorse [Sat, 1 May 2010 16:47:09 +0000 (12:47 -0400)]
Remove libxml2 check from configure.ac
Mike Gorse [Thu, 29 Apr 2010 21:46:36 +0000 (17:46 -0400)]
Prevent crash if calling Embed returns something unexpected
Mike Gorse [Thu, 29 Apr 2010 17:46:59 +0000 (13:46 -0400)]
Install plug/socket hooks before initializing the cache
Mike Gorse [Thu, 15 Apr 2010 21:14:10 +0000 (17:14 -0400)]
Fix errant g_return_val_if_fail calls for hyperlinks
Li Yuan [Thu, 15 Apr 2010 06:28:14 +0000 (14:28 +0800)]
Fix atk-adaptor re-entry problem during register application.
Bug #27626.
Mike Gorse [Mon, 12 Apr 2010 19:27:59 +0000 (15:27 -0400)]
Do not ignore count for getMatchesTo
BGO #538680
Mike Gorse [Fri, 9 Apr 2010 21:04:53 +0000 (17:04 -0400)]
Build 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.
Mike Gorse [Thu, 8 Apr 2010 19:45:27 +0000 (15:45 -0400)]
Fix org.freedesktop.DBus.Properties.GetAll
Ray Wang [Thu, 8 Apr 2010 02:13:28 +0000 (10:13 +0800)]
Update Chinese (Simplified) translation.
Mike Gorse [Wed, 7 Apr 2010 14:25:09 +0000 (10:25 -0400)]
Set GETTEXT_PACKAGE
Mike Gorse [Wed, 7 Apr 2010 13:33:33 +0000 (09:33 -0400)]
Add potfiles.in
Mike Gorse [Tue, 6 Apr 2010 19:53:35 +0000 (15:53 -0400)]
Really add the schema, and some related autoconf/automake fixes
Mike Gorse [Tue, 6 Apr 2010 19:23:01 +0000 (15:23 -0400)]
Add gconf schema and corresponding i18n
Mike Gorse [Fri, 2 Apr 2010 02:45:55 +0000 (22:45 -0400)]
Correcting my email address in MAINTAINERS and adding to .doap
Mike Gorse [Thu, 1 Apr 2010 14:16:05 +0000 (10:16 -0400)]
Correct email address in AUTHORS
Mike Gorse [Tue, 30 Mar 2010 21:12:12 +0000 (17:12 -0400)]
Bump version to 0.1.8
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.
Mike Gorse [Sun, 14 Mar 2010 12:49:24 +0000 (08:49 -0400)]
Avoid calling g_error and aborting the application on some errors
Mike Gorse [Fri, 5 Mar 2010 19:56:13 +0000 (14:56 -0500)]
Only query a relation set if it is non-NULL
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.
Mark Doffman [Fri, 12 Feb 2010 04:15:39 +0000 (20:15 -0800)]
Modify the droute tests to use the new introspection scheme.
Mark Doffman [Fri, 12 Feb 2010 04:03:01 +0000 (20:03 -0800)]
Bump version number prior to release.
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.
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.
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.
Mark Doffman [Tue, 9 Feb 2010 01:24:41 +0000 (17:24 -0800)]
Add change to fix rpmlint 64bit portability errors.
Mark Doffman [Mon, 8 Feb 2010 16:33:21 +0000 (08:33 -0800)]
Bump version number to 0.1.6 prior to release.
Mark Doffman [Mon, 8 Feb 2010 16:25:41 +0000 (08:25 -0800)]
Attempt to fix build warning related to 64bit builds.
Mark Doffman [Sun, 7 Feb 2010 20:44:51 +0000 (12:44 -0800)]
Increase the lease time to rectify errors seen during orca testing.
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
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.
Mark Doffman [Wed, 3 Feb 2010 22:59:16 +0000 (14:59 -0800)]
Enhance droute so that unhandled messages are better debugged.
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.
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
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.
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.
Mike Gorse [Mon, 1 Feb 2010 19:52:25 +0000 (14:52 -0500)]
PropertyChange fixes
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.
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.
Mark Doffman [Thu, 21 Jan 2010 23:19:31 +0000 (15:19 -0800)]
Correct the root path definition.
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.
Mike Gorse [Tue, 19 Jan 2010 15:13:05 +0000 (10:13 -0500)]
Event fixes
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_)
Mike Gorse [Fri, 15 Jan 2010 19:23:16 +0000 (14:23 -0500)]
Fix appending attribute set
Mike Gorse [Fri, 15 Jan 2010 17:45:56 +0000 (12:45 -0500)]
Fix cache update signature
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.
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.
Mark Doffman [Mon, 11 Jan 2010 18:45:25 +0000 (10:45 -0800)]
Bump version number to 0.1.5 prior to release.
Mark Doffman [Mon, 11 Jan 2010 18:24:57 +0000 (10:24 -0800)]
Ensure the child data is added to children-changed events properly.
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.
Mark Doffman [Wed, 6 Jan 2010 00:29:30 +0000 (16:29 -0800)]
Translate child changed ATK signals to AT-SPI.
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.
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.
Mark Doffman [Sat, 2 Jan 2010 16:34:45 +0000 (08:34 -0800)]
Add a class for taking leased references of GObjects.
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.