1. 27 May, 2011 2 commits
  2. 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
  3. 25 May, 2011 3 commits
  4. 24 May, 2011 3 commits
  5. 23 May, 2011 4 commits
  6. 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
  7. 19 May, 2011 1 commit
  8. 17 May, 2011 3 commits
  9. 15 May, 2011 1 commit
  10. 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
  11. 09 May, 2011 1 commit
  12. 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
  13. 05 May, 2011 2 commits
  14. 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
  15. 29 Apr, 2011 1 commit
  16. 25 Apr, 2011 4 commits
  17. 22 Apr, 2011 4 commits
  18. 19 Apr, 2011 1 commit
  19. 18 Apr, 2011 4 commits