Aline Bessa [Tue, 2 Aug 2011 23:36:55 +0000 (20:36 -0300)]
Adding descriptions for atspi-matchrule.
Aline Bessa [Tue, 2 Aug 2011 23:32:21 +0000 (20:32 -0300)]
Improving atspi-matchrule documentation.
Aline Bessa [Wed, 3 Aug 2011 00:50:25 +0000 (21:50 -0300)]
Adding descriptions for atspi-devicelistener.
Aline Bessa [Wed, 3 Aug 2011 00:44:54 +0000 (21:44 -0300)]
Improving atspi-devicelistener documentation.
Aline Bessa [Thu, 4 Aug 2011 05:58:45 +0000 (02:58 -0300)]
Adding descriptions for atspi-registry.
Aline Bessa [Thu, 4 Aug 2011 05:48:19 +0000 (02:48 -0300)]
Improving atspi-registry documentation.
Aline Bessa [Fri, 5 Aug 2011 23:23:09 +0000 (20:23 -0300)]
Adding descriptions to atspi-event-listener documentation
Aline Bessa [Fri, 5 Aug 2011 23:17:38 +0000 (20:17 -0300)]
Improving atspi-event-listener documentation
Aline Bessa [Sat, 6 Aug 2011 00:09:12 +0000 (21:09 -0300)]
Adding descriptions to atspi-misc documentation
Aline Bessa [Fri, 5 Aug 2011 23:56:18 +0000 (20:56 -0300)]
Improving atspi-misc documentation
Aline Bessa [Thu, 11 Aug 2011 03:54:04 +0000 (00:54 -0300)]
Fixing a typo
Aline Bessa [Thu, 28 Jul 2011 02:14:33 +0000 (23:14 -0300)]
Adding descriptions to atspi-table.c
Aline Bessa [Thu, 28 Jul 2011 02:09:11 +0000 (23:09 -0300)]
Improving atspi-table.c documentation
Aline Bessa [Thu, 11 Aug 2011 04:07:30 +0000 (01:07 -0300)]
Fixing grammar issue
Aline Bessa [Thu, 28 Jul 2011 02:55:21 +0000 (23:55 -0300)]
Adding descriptions to atspi-selection.c
Aline Bessa [Thu, 28 Jul 2011 02:49:04 +0000 (23:49 -0300)]
Improving atspi-selection.c documentation
Aline Bessa [Fri, 19 Aug 2011 02:14:02 +0000 (23:14 -0300)]
Fixing traverse recurse/restrict documentations
Aline Bessa [Tue, 2 Aug 2011 00:56:24 +0000 (21:56 -0300)]
Adding descriptions for atspi-collection.
Aline Bessa [Tue, 2 Aug 2011 00:30:45 +0000 (21:30 -0300)]
Improving atspi-collection documentation.
Aline Bessa [Tue, 26 Jul 2011 16:17:57 +0000 (13:17 -0300)]
Starting to improve atspi-collection
Aline Bessa [Fri, 19 Aug 2011 01:39:38 +0000 (22:39 -0300)]
Removing bitset sentences
Aline Bessa [Sat, 13 Aug 2011 01:14:19 +0000 (22:14 -0300)]
Adding documentation to atspi_collection_match_invalid
Aline Bessa [Sat, 13 Aug 2011 00:22:18 +0000 (21:22 -0300)]
Padronizing accessible references
Aline Bessa [Sat, 13 Aug 2011 00:07:53 +0000 (21:07 -0300)]
s/note/Note/g
Aline Bessa [Sat, 13 Aug 2011 00:06:39 +0000 (21:06 -0300)]
Fixing general inconsistency with capital letters, dots etc
Aline Bessa [Fri, 12 Aug 2011 21:54:07 +0000 (18:54 -0300)]
Fixing a spelling error
Aline Bessa [Tue, 9 Aug 2011 05:16:47 +0000 (02:16 -0300)]
Adding descriptions for constants - not only enumerations. AtspiCollectionSortOrder and AtspiCollectionTreeTraversalType were not documented, since I am waiting for some feedback on them.
Aline Bessa [Fri, 5 Aug 2011 04:28:33 +0000 (01:28 -0300)]
Adding descriptions to atspi-constants documentation
Aline Bessa [Fri, 5 Aug 2011 04:22:26 +0000 (01:22 -0300)]
Improving atspi-constants documentation
Aline Bessa [Fri, 19 Aug 2011 00:55:43 +0000 (21:55 -0300)]
Removing -1 length documentation
Aline Bessa [Thu, 11 Aug 2011 04:22:12 +0000 (01:22 -0300)]
Adding more documentation to length parameter at atspi_editable_text_insert_text
Aline Bessa [Thu, 28 Jul 2011 00:57:52 +0000 (21:57 -0300)]
Adding descriptions for atspi-editabletext
Aline Bessa [Thu, 28 Jul 2011 00:39:32 +0000 (21:39 -0300)]
Improving atspi-editabletext.c documentation
Mike Gorse [Tue, 23 Aug 2011 16:52:07 +0000 (11:52 -0500)]
Revert "Have atspi_accessible_get_relation_set return a GPtrArray"
This change is no longer needed for the newest pygobject and crashes
with pygobject 2.28.x (see BGO#656004), so reverting, although may need
to reconsider this issue in general pending the resolution of
BGO#657120.
This reverts commit
229a6039d0c7a91cee71037741173d9a94a39e77.
Mike Gorse [Tue, 23 Aug 2011 16:41:18 +0000 (11:41 -0500)]
Add org.a11y.Status.IsEnabled to return whether accessibility is enabled
Partly implement Frederik Gladhorn's accessibility enabling/toggling
proposal
(https://mail.gnome.org/archives/desktop-devel-list/2011-May/msg00397.html)
Currently only implementing the ability to read the property. Toggling
via write still TODO.
Mike Gorse [Mon, 22 Aug 2011 18:00:18 +0000 (13:00 -0500)]
Fix a memory leak
Mike Gorse [Mon, 15 Aug 2011 21:25:38 +0000 (16:25 -0500)]
Release v2.1.5
Mike Gorse [Sun, 31 Jul 2011 22:17:01 +0000 (17:17 -0500)]
Have atspi_accessible_get_relation_set return a GPtrArray
gobject-introspection/pygobject is not handling GArrays returning
GObject pointers very well (BGO#655127), so committing this change, at
least for now. It is an API break, but afaik no one is currently
calling libatspi directly with pyatspi being the only consumer...
Mike Gorse [Thu, 28 Jul 2011 19:36:18 +0000 (14:36 -0500)]
Remove support for relocated CORBA, as discussed at the a11y meeting
Mike Gorse [Wed, 27 Jul 2011 21:54:19 +0000 (16:54 -0500)]
Move DBus interface name constants into atspi-constants.h
Move DBus interface name constants into a public header, so that they can be
used by application-side AT-SPI code (ie, at-spi2-atk).
Mike Gorse [Wed, 27 Jul 2011 01:34:25 +0000 (20:34 -0500)]
Clean up names of private functions
If a function is non-static and not intended to be public, then precede
its name with an _.
Mike Gorse [Wed, 27 Jul 2011 01:16:45 +0000 (20:16 -0500)]
Properly free dbus error in atspi_accessible_get_process_id
Mike Gorse [Mon, 25 Jul 2011 22:13:51 +0000 (17:13 -0500)]
Release v2.1.4
Mike Gorse [Mon, 25 Jul 2011 19:31:57 +0000 (14:31 -0500)]
Add documentation templates to the repository
Mike Gorse [Sun, 24 Jul 2011 18:10:06 +0000 (13:10 -0500)]
Fix check box role name
Mike Gorse [Mon, 25 Jul 2011 18:25:52 +0000 (13:25 -0500)]
Add new roles corresponding to those added to atk
Michael Terry [Tue, 19 Jul 2011 19:16:09 +0000 (15:16 -0400)]
Add Unity to OnlyShowIn value
https://bugzilla.gnome.org/show_bug.cgi?id=654921
Mike Gorse [Wed, 13 Jul 2011 02:13:59 +0000 (21:13 -0500)]
Reformat atspi-constants.h
Remove CDATA meta-markup from atspi-constants.h, and reformat comments
longer
than 80 characters.
Mike Gorse [Sat, 9 Jul 2011 20:47:59 +0000 (15:47 -0500)]
Fix for BGO#654314: Make role names consistent with atk
Role names sometimes differed slightly between ATK and AT-SPI (in
general,
AT-SPI would often include a hyphen where ATK included a space or simply
compounded the words). This caused changes in behavior when AT-SPI
began to use its stored values for role names, since they were now
different from those provided by ATK.
Mike Gorse [Wed, 6 Jul 2011 21:01:21 +0000 (16:01 -0500)]
API changes to device and event listeners for compatibility with js
Skip atspi_device_listener_new_simple and
atspi-event_listener_new_simple, since Javascript throws an error for
callback functions that don't provide user_data.
Add atspi_event_listener_new.
Change order of user_data and destroy notify parameters in
atspi_device_listener_new to match the order used other places in GNOME.
The old order was triggering an IndexError because of what appears to be
a bug in pygobject. Note that this is an API change and would
ordinarily be a bad idea, but at this point I don't know of anyone using
libatspi directly, so going to commit it.
Some introspection fixes.
Mike Gorse [Mon, 4 Jul 2011 21:47:21 +0000 (16:47 -0500)]
Release v2.1.3
Aurimas Černius [Wed, 29 Jun 2011 10:58:34 +0000 (13:58 +0300)]
Added Lithuanian translation.
Mike Gorse [Tue, 28 Jun 2011 20:00:41 +0000 (15:00 -0500)]
Fix a failure to respond to children-changed events in some cases
When a children-changed event is received, the cache of children should
be updated if present. However, to test this, the code was checking for
the presence of a non-NULL list of children, which would be the case if
the object initially had 0 children. The correct thing to do is to
check the accessible's cached_properties.
Mike Gorse [Mon, 27 Jun 2011 22:18:05 +0000 (17:18 -0500)]
Add atspi_accessible_get_process_id
Trevor Saunders [Mon, 27 Jun 2011 14:32:08 +0000 (09:32 -0500)]
Set the gerror for a dbus error in _atspi_dbus_call
Mike Gorse [Sun, 26 Jun 2011 03:02:04 +0000 (22:02 -0500)]
Try to fix gtk-doc flags/libs
Ihar Hrachyshka [Sat, 25 Jun 2011 15:04:40 +0000 (18:04 +0300)]
Added Belarusian translation.
Mike Gorse [Wed, 22 Jun 2011 16:06:19 +0000 (11:06 -0500)]
BGO#652596: Use DBus property to set value
Patrick Welche [Tue, 21 Jun 2011 11:02:29 +0000 (12:02 +0100)]
One check for gio is enough.
Patrick Welche [Wed, 15 Jun 2011 22:11:32 +0000 (23:11 +0100)]
Don't pollute installed header files with config.h.
atspi.h -> atspi-gmain.h -> config.h
Mike Gorse [Wed, 15 Jun 2011 20:33:33 +0000 (15:33 -0500)]
Use stored values for AT-SPI role names
When atspi_accessible_get_role returns a recognized role that isn't
ATSPI_ROLE_EXTENDED, use a stored role name in order to take advantage
of roles being cached.
Mike Gorse [Mon, 13 Jun 2011 22:31:38 +0000 (17:31 -0500)]
Release v2.1.2
Mike Gorse [Thu, 9 Jun 2011 16:50:58 +0000 (11:50 -0500)]
Make the bus launcher abort if an instance is already running
Upon starting up, at-spi-bus-launcher now looks for an X property with
the bus address and tries to connect to it, aborting if successful.
This fixes a bug where, if the launcher was run twice (perhaps by both
an autostart script and a request for the bus address), the second
instance would start its main loop, eventually abort, and delete the X
property, which would cause a new X property to be created later,
overriding the old one, if a different user requested the address,
leading to a11y breakage.
Mike Gorse [Sun, 29 May 2011 22:27:02 +0000 (17:27 -0500)]
Revert "Clean up enums"
This reverts commit
a12d7458110c57e183916255d701b1e0d7c070e1.
Conflicts:
atspi/atspi-constants.h
Reverting these enum clean-ups for now, since they require pygobject 2.28.0
for pyatspi, at least one user is pulling git while using pygobject 2.26.0,
upgrading pygobject is likely to be a complicated process that may break
things, and these changes are only code clean-ups that will not really benefit
users. Will reinstate in a separate branch and merge some time in the future.
Mike Gorse [Sun, 29 May 2011 22:24:44 +0000 (17:24 -0500)]
Revert "Install enum header, and try to get role name from enum"
This reverts commit
9ddf777a096440afe521c094544942e85e3ee838.
Mike Gorse [Sun, 29 May 2011 22:24:38 +0000 (17:24 -0500)]
Revert "Remove redundant tables of state and role names"
This reverts commit
73b811b78954dfb0f8b407354c146d9fbd47dea3.
Mike Gorse [Sun, 29 May 2011 13:37:17 +0000 (08:37 -0500)]
Fix the build
Include atspi-gmain.h from dbind rather than atspi.h, since atspi.h includes
atspi-enum-types.h, which has not yet been built.
Gil Forcada [Sun, 29 May 2011 11:57:30 +0000 (13:57 +0200)]
[l10n]Added Catalan (Valencian) translation
Mike Gorse [Fri, 27 May 2011 04:36:22 +0000 (23:36 -0500)]
Add Li Yuan to MAINTAINERS and .doap
Mike Gorse [Fri, 27 May 2011 04:03:15 +0000 (23:03 -0500)]
Make deferred_messages a GQueue rather than a GList
If an application sends a large number of events, then deferred_messages can
become quite large (possibly holding several thousand messages), so appending
to a GList can become a performance hit. Thus, use a GQueue instead.
Mike Gorse [Thu, 26 May 2011 22:27:28 +0000 (17:27 -0500)]
Allow caching of attributes
Attributes can now be cached, but not enabling by default, since there
is currently no event to notify AT-SPI that attributes have changed (see
BGO#649771), so this is dangerous but may improve performance if we can
reliably assume that attributes will not change.
Mike Gorse [Wed, 25 May 2011 19:36:52 +0000 (14:36 -0500)]
Remove redundant tables of state and role names
Use the generated enum type to convert state names to numeric values rather
than a string table that needs to be maintained in parallel. Also, remove
atspi_role_get_name since it was unused, marked deprecated, and relied on a
string table which is now redundant with the enum type.
Mike Gorse [Wed, 25 May 2011 18:00:24 +0000 (13:00 -0500)]
Install enum header, and try to get role name from enum
Have atspi_accessible_get_role_name try to use the internal string associated
with the accessible's role rather than calling GetRoleName. This avoids
making a DBus call when the role is cached.
Also, atspi.h now includes atspi-enum-types.h, and the latter is now installed.
Mike Gorse [Wed, 25 May 2011 15:10:10 +0000 (10:10 -0500)]
Catch toolkit name/version and AT-SPI version per-application
Mike Gorse [Tue, 24 May 2011 22:15:13 +0000 (17:15 -0500)]
Disable caching if ATSPI_NO_CACHE is set in the environment and not 0
Mike Gorse [Tue, 24 May 2011 21:56:42 +0000 (16:56 -0500)]
Add atspi_accessible_clear_cache
Mike Gorse [Tue, 24 May 2011 21:24:09 +0000 (16:24 -0500)]
Clean up enums
Use glib-enums to generate GTypes for enums, and modify enum definitions so
that they will be marked as bitflags where appropriate. This helps with
introspection and allows functions that take flags to be prototyped as such
rather than being marked as taking a gint.
Mike Gorse [Mon, 23 May 2011 23:04:01 +0000 (18:04 -0500)]
Fix get_toolkit_version, and add get_atspi_version for accessibles
Mike Gorse [Mon, 23 May 2011 22:46:46 +0000 (17:46 -0500)]
Disable caching when not in atspi_event_main
If we are not in a GLib main loop, then we will not see signals to update
the cache, so cached data will become invalid. Assume that, if
atspi-event_main has not been called, then we are, for instance, in a simple
pyatspi script without a main loop, so we should disable caching.
Trương Ứng Minh [Mon, 23 May 2011 12:15:05 +0000 (19:15 +0700)]
Updated Vietnamese translation
Mike Gorse [Mon, 23 May 2011 02:53:36 +0000 (21:53 -0500)]
Dynamically allocate reentrant call closures
Putting reentrant call closures on the stack can be dangerous if set_reply
is called after the caller has timed out and returned, for instance, so better
to dynamically allocate them. This will hopefully fix some crashes and
hopefully not leak memory.
Mike Gorse [Sun, 22 May 2011 23:37:27 +0000 (18:37 -0500)]
Fix/rework selective caching
Previously, atspi_accessible_set_cache_mask would not affect accessibles
which were already cached, but this was not very useful, as caching is done
automatically when a new app is discovered. Functions that may retrieve
cached data now test the cache setting for the application--not just whether
there is a value stored for the data--whe ndetermining whether to call the app.
Also, annotate atspi_accessible_set_cache_mask as a gint. This is temporary;
properly generating GTypes for enums/flags is TODO for 2.2.
Daniel Martinez Cucalon [Thu, 19 May 2011 08:49:10 +0000 (10:49 +0200)]
Added Aragonese translation
Mike Gorse [Tue, 17 May 2011 22:06:39 +0000 (17:06 -0500)]
Fix table properties that return objects
Mike Gorse [Tue, 17 May 2011 21:21:50 +0000 (16:21 -0500)]
Annotate atspi_table_get_row_column_extents_at_index out parameters
Mike Gorse [Tue, 17 May 2011 19:00:40 +0000 (14:00 -0500)]
In atspi_match_rule_get_attributes, copy the hash rather than ref it
It is not safe to ref a hash marked (transfer none) and expect its elements
to remain, since the caller will assume that it owns the elements and may
deallocate them (this is done by pygobject). It would also be problematic
to simply mark the hash (transfer full), since we need to either assume that
the caller passed a destroy function when creating the hash (pygobject does
not) or deallocate the values ourselves when the match rule is finalized
(which requires making assumptions about the correct free function needed to
deallocate the values that the caller allocated). So it seems that the only
safe thing to do is to copy the hash.
Kristjan SCHMIDT [Sun, 15 May 2011 13:35:30 +0000 (15:35 +0200)]
Add Esperanto translation
Patrick Welche [Sat, 14 May 2011 16:57:42 +0000 (17:57 +0100)]
Build fixes.
- atspi-application.h makes use of DBusConnection* .
- -Werror-implicit-function-declaration doesn't contain an equal sign in
my copy of gcc, and is gcc specific.
- The default behaviour of AC_CHECK_LIB glib-2.0 is to add -lglib-2.0 to
LIBS which can then cause the search for a dlopen function to fail
because the flags to find libglib aren't included. Solution is to
tell AC_CHECK_LIB to do nothing(!)
Mike Gorse [Mon, 9 May 2011 13:55:28 +0000 (15:55 +0200)]
Release v2.1.1
Mike Gorse [Fri, 6 May 2011 15:59:45 +0000 (10:59 -0500)]
Call g_error if unable to find the accessibility bus
Previously, AT-SPI would wind up passing a NULL connection to libdbus if it
couldn't connect to the bus, causing a cryptic abort. This change makes it
at least abort with a sensible error message in that case.
Also, if unable to find the accessibility bus address via the session bus,
save and print the DBusError, if any.
Mike Gorse [Fri, 6 May 2011 00:39:33 +0000 (19:39 -0500)]
Fix memory leaks in get_toolkit_name and get_toolkit_version
_atspi_dbus_get_property calls g_strdup when it returns a string, so we
should not g_strdup the result unless we're caching a copy for later use.
Mike Gorse [Thu, 5 May 2011 22:14:02 +0000 (17:14 -0500)]
Remove some redundant out-of-memory checks
If malloc returns NULL, then g_malloc will call g_error and thus abort, so
it is redundant to check the return value of g_new0 and the like, since glib
will already have aborted the program rather than returning a NULL value.
"Cleaning up" the code by removing some of these checks.
Mike Gorse [Thu, 5 May 2011 21:57:25 +0000 (16:57 -0500)]
Don't translate g_warning messages
The consensus seems to be that messages written out as a result of calls to
g_warning/g_log should ot be translated; ie:
http://mail.gnome.org/archives/desktop-devel-list/2011-March/msg00070.html
So removing translations from these calls.
Mike Gorse [Wed, 4 May 2011 19:34:48 +0000 (14:34 -0500)]
Fix a possible crash when an application is short-lived
When GetAPplicationBusAddress is called, at-spi sets a callback to handle the
reply. It is possible that the application will go away and the
AtspiApplication will be disposed before this callback is reached, in which
case the reference to the accessibility bus connection will have gone away.
In this case, we should not call GetItems, since app->bus will be NULL and
libdbus will throw a SIGABRT.
Matthias Clasen [Fri, 29 Apr 2011 14:31:02 +0000 (10:31 -0400)]
Only flush a display if we have one
This was causing occasional segfaults in the gdm session.
https://bugzilla.gnome.org/show_bug.cgi?id=648942
Mike Gorse [Mon, 25 Apr 2011 23:41:51 +0000 (18:41 -0500)]
Release v2.0.1
Daiki Ueno [Mon, 25 Apr 2011 02:02:27 +0000 (11:02 +0900)]
Remove doc about non-existent ATSPI_KEYSET_ALL_KEYS.
Xandru Armesto [Mon, 25 Apr 2011 06:23:15 +0000 (08:23 +0200)]
Updated asturian translation
Xandru Armesto [Mon, 25 Apr 2011 06:22:59 +0000 (08:22 +0200)]
Added asturian language
Muhammet Kara [Fri, 22 Apr 2011 21:13:55 +0000 (00:13 +0300)]
Added Turkish translation