platform/upstream/at-spi2-core.git
13 years agoImproving atspi-text.c documentation
Aline Bessa [Tue, 26 Jul 2011 17:20:25 +0000 (14:20 -0300)]
Improving atspi-text.c documentation

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

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

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

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

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

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

13 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

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

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

13 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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

13 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

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

13 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

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

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

13 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

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

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

13 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

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

13 years agoFixing traverse recurse/restrict documentations
Aline Bessa [Fri, 19 Aug 2011 02:14:02 +0000 (23:14 -0300)]
Fixing traverse recurse/restrict documentations

13 years agoAdding descriptions for atspi-collection.
Aline Bessa [Tue, 2 Aug 2011 00:56:24 +0000 (21:56 -0300)]
Adding descriptions for atspi-collection.

13 years agoImproving atspi-collection documentation.
Aline Bessa [Tue, 2 Aug 2011 00:30:45 +0000 (21:30 -0300)]
Improving atspi-collection documentation.

13 years agoStarting to improve atspi-collection
Aline Bessa [Tue, 26 Jul 2011 16:17:57 +0000 (13:17 -0300)]
Starting to improve atspi-collection

13 years agoRemoving bitset sentences
Aline Bessa [Fri, 19 Aug 2011 01:39:38 +0000 (22:39 -0300)]
Removing bitset sentences

13 years agoAdding documentation to atspi_collection_match_invalid
Aline Bessa [Sat, 13 Aug 2011 01:14:19 +0000 (22:14 -0300)]
Adding documentation to atspi_collection_match_invalid

13 years agoPadronizing accessible references
Aline Bessa [Sat, 13 Aug 2011 00:22:18 +0000 (21:22 -0300)]
Padronizing accessible references

13 years agos/note/Note/g
Aline Bessa [Sat, 13 Aug 2011 00:07:53 +0000 (21:07 -0300)]
s/note/Note/g

13 years agoFixing general inconsistency with capital letters, dots etc
Aline Bessa [Sat, 13 Aug 2011 00:06:39 +0000 (21:06 -0300)]
Fixing general inconsistency with capital letters, dots etc

13 years agoFixing a spelling error
Aline Bessa [Fri, 12 Aug 2011 21:54:07 +0000 (18:54 -0300)]
Fixing a spelling error

13 years agoAdding descriptions for constants - not only enumerations. AtspiCollectionSortOrder...
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.

13 years agoAdding descriptions to atspi-constants documentation
Aline Bessa [Fri, 5 Aug 2011 04:28:33 +0000 (01:28 -0300)]
Adding descriptions to atspi-constants documentation

13 years agoImproving atspi-constants documentation
Aline Bessa [Fri, 5 Aug 2011 04:22:26 +0000 (01:22 -0300)]
Improving atspi-constants documentation

13 years agoRemoving -1 length documentation
Aline Bessa [Fri, 19 Aug 2011 00:55:43 +0000 (21:55 -0300)]
Removing -1 length documentation

13 years agoAdding more documentation to length parameter at atspi_editable_text_insert_text
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

13 years agoAdding descriptions for atspi-editabletext
Aline Bessa [Thu, 28 Jul 2011 00:57:52 +0000 (21:57 -0300)]
Adding descriptions for atspi-editabletext

13 years agoImproving atspi-editabletext.c documentation
Aline Bessa [Thu, 28 Jul 2011 00:39:32 +0000 (21:39 -0300)]
Improving atspi-editabletext.c documentation

13 years agoRevert "Have atspi_accessible_get_relation_set return a GPtrArray"
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.

13 years agoAdd org.a11y.Status.IsEnabled to return whether accessibility is enabled
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.

13 years agoFix a memory leak
Mike Gorse [Mon, 22 Aug 2011 18:00:18 +0000 (13:00 -0500)]
Fix a memory leak

13 years agoRelease v2.1.5 AT_SPI2_CORE_2_1_5
Mike Gorse [Mon, 15 Aug 2011 21:25:38 +0000 (16:25 -0500)]
Release v2.1.5

13 years agoHave atspi_accessible_get_relation_set return a GPtrArray
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...

13 years agoRemove support for relocated CORBA, as discussed at the a11y meeting
Mike Gorse [Thu, 28 Jul 2011 19:36:18 +0000 (14:36 -0500)]
Remove support for relocated CORBA, as discussed at the a11y meeting

13 years agoMove DBus interface name constants into atspi-constants.h
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).

13 years agoClean up names of private functions
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 _.

13 years agoProperly free dbus error in atspi_accessible_get_process_id
Mike Gorse [Wed, 27 Jul 2011 01:16:45 +0000 (20:16 -0500)]
Properly free dbus error in atspi_accessible_get_process_id

13 years agoRelease v2.1.4 AT_SPI2_CORE_2_1_4
Mike Gorse [Mon, 25 Jul 2011 22:13:51 +0000 (17:13 -0500)]
Release v2.1.4

13 years agoAdd documentation templates to the repository
Mike Gorse [Mon, 25 Jul 2011 19:31:57 +0000 (14:31 -0500)]
Add documentation templates to the repository

13 years agoFix check box role name
Mike Gorse [Sun, 24 Jul 2011 18:10:06 +0000 (13:10 -0500)]
Fix check box role name

13 years agoAdd new roles corresponding to those added to atk
Mike Gorse [Mon, 25 Jul 2011 18:25:52 +0000 (13:25 -0500)]
Add new roles corresponding to those added to atk

13 years agoAdd Unity to OnlyShowIn value
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

13 years agoReformat atspi-constants.h
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.

13 years agoFix for BGO#654314: Make role names consistent with atk
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.

13 years agoAPI changes to device and event listeners for compatibility with js
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.

13 years agoRelease v2.1.3 AT_SPI2_CORE_2_1_3
Mike Gorse [Mon, 4 Jul 2011 21:47:21 +0000 (16:47 -0500)]
Release v2.1.3

13 years agoAdded Lithuanian translation.
Aurimas Černius [Wed, 29 Jun 2011 10:58:34 +0000 (13:58 +0300)]
Added Lithuanian translation.

13 years agoFix a failure to respond to children-changed events in some cases
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.

13 years agoAdd atspi_accessible_get_process_id
Mike Gorse [Mon, 27 Jun 2011 22:18:05 +0000 (17:18 -0500)]
Add atspi_accessible_get_process_id

13 years agoSet the gerror for a dbus error in _atspi_dbus_call
Trevor Saunders [Mon, 27 Jun 2011 14:32:08 +0000 (09:32 -0500)]
Set the gerror for a dbus error in _atspi_dbus_call

13 years agoTry to fix gtk-doc flags/libs
Mike Gorse [Sun, 26 Jun 2011 03:02:04 +0000 (22:02 -0500)]
Try to fix gtk-doc flags/libs

13 years agoAdded Belarusian translation.
Ihar Hrachyshka [Sat, 25 Jun 2011 15:04:40 +0000 (18:04 +0300)]
Added Belarusian translation.

13 years agoBGO#652596: Use DBus property to set value
Mike Gorse [Wed, 22 Jun 2011 16:06:19 +0000 (11:06 -0500)]
BGO#652596: Use DBus property to set value

13 years agoOne check for gio is enough.
Patrick Welche [Tue, 21 Jun 2011 11:02:29 +0000 (12:02 +0100)]
One check for gio is enough.

13 years agoDon't pollute installed header files with config.h.
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

13 years agoUse stored values for AT-SPI role names
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.

13 years agoRelease v2.1.2 AT_SPI2_CORE_2_1_2
Mike Gorse [Mon, 13 Jun 2011 22:31:38 +0000 (17:31 -0500)]
Release v2.1.2

13 years agoMake the bus launcher abort if an instance is already running
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.

13 years agoRevert "Clean up enums"
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.

13 years agoRevert "Install enum header, and try to get role name from enum"
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.

13 years agoRevert "Remove redundant tables of state and role names"
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.

13 years agoFix the build
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.

13 years ago[l10n]Added Catalan (Valencian) translation
Gil Forcada [Sun, 29 May 2011 11:57:30 +0000 (13:57 +0200)]
[l10n]Added Catalan (Valencian) translation

13 years agoAdd Li Yuan to MAINTAINERS and .doap
Mike Gorse [Fri, 27 May 2011 04:36:22 +0000 (23:36 -0500)]
Add Li Yuan to MAINTAINERS and .doap

13 years agoMake deferred_messages a GQueue rather than a GList
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.

13 years agoAllow caching of attributes
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.

13 years agoRemove redundant tables of state and role names
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.

13 years agoInstall enum header, and try to get role name from enum
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.

13 years agoCatch toolkit name/version and AT-SPI version per-application
Mike Gorse [Wed, 25 May 2011 15:10:10 +0000 (10:10 -0500)]
Catch toolkit name/version and AT-SPI version per-application

13 years agoDisable caching if ATSPI_NO_CACHE is set in the environment and not 0
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

13 years agoAdd atspi_accessible_clear_cache
Mike Gorse [Tue, 24 May 2011 21:56:42 +0000 (16:56 -0500)]
Add atspi_accessible_clear_cache

13 years agoClean up enums
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.

13 years agoFix get_toolkit_version, and add get_atspi_version for accessibles
Mike Gorse [Mon, 23 May 2011 23:04:01 +0000 (18:04 -0500)]
Fix get_toolkit_version, and add get_atspi_version for accessibles

13 years agoDisable caching when not in atspi_event_main
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.

13 years agoUpdated Vietnamese translation
Trương Ứng Minh [Mon, 23 May 2011 12:15:05 +0000 (19:15 +0700)]
Updated Vietnamese translation

13 years agoDynamically allocate reentrant call closures
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.