1. 29 May, 2011 6 commits
    • Mike Gorse's avatar
      Enum clean-ups · 7afb51e5
      Mike Gorse authored
      Generate enum types where appropriate.
      Fix prototypes where a method took a "gint" that was really a bitflag.
      Remove tables of state and role names, since these are now redundant with data
      from the generated enums and would need to be maintained in parallel.
      
      These changes were originally in master but have been backed out since they
      break compatibility with pygobject 2.26.0, which some users are still using.
      7afb51e5
    • Mike Gorse's avatar
      Revert "Clean up enums" · e5198adb
      Mike Gorse authored
      This reverts commit a12d7458.
      
      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.
      e5198adb
    • Mike Gorse's avatar
      Revert "Install enum header, and try to get role name from enum" · 0c418b12
      Mike Gorse authored
      This reverts commit 9ddf777a.
      0c418b12
    • Mike Gorse's avatar
      Revert "Remove redundant tables of state and role names" · 65caa813
      Mike Gorse authored
      This reverts commit 73b811b7.
      65caa813
    • Mike Gorse's avatar
      Fix the build · 01127dee
      Mike Gorse authored
      Include atspi-gmain.h from dbind rather than atspi.h, since atspi.h includes
      atspi-enum-types.h, which has not yet been built.
      01127dee
    • Gil Forcada's avatar
      [l10n]Added Catalan (Valencian) translation · 27ff0e28
      Gil Forcada authored
      27ff0e28
  2. 27 May, 2011 2 commits
  3. 26 May, 2011 1 commit
    • Mike Gorse's avatar
      Allow caching of attributes · ee593292
      Mike Gorse authored
      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.
      ee593292
  4. 25 May, 2011 3 commits
  5. 24 May, 2011 3 commits
  6. 23 May, 2011 4 commits
  7. 22 May, 2011 1 commit
    • Mike Gorse's avatar
      Fix/rework selective caching · 78beee3d
      Mike Gorse authored
      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.
      78beee3d
  8. 19 May, 2011 1 commit
  9. 17 May, 2011 3 commits
  10. 15 May, 2011 1 commit
  11. 14 May, 2011 1 commit
    • Patrick Welche's avatar
      Build fixes. · 377ef7c3
      Patrick Welche authored
      - 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(!)
      377ef7c3
  12. 09 May, 2011 1 commit
  13. 06 May, 2011 2 commits
    • Mike Gorse's avatar
      Call g_error if unable to find the accessibility bus · 112afd0b
      Mike Gorse authored
      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.
      112afd0b
    • Mike Gorse's avatar
      Fix memory leaks in get_toolkit_name and get_toolkit_version · b12cdda6
      Mike Gorse authored
      _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.
      b12cdda6
  14. 05 May, 2011 2 commits
  15. 04 May, 2011 1 commit
    • Mike Gorse's avatar
      Fix a possible crash when an application is short-lived · b592fea7
      Mike Gorse authored
      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.
      b592fea7
  16. 29 Apr, 2011 1 commit
  17. 25 Apr, 2011 4 commits
  18. 22 Apr, 2011 3 commits