summaryrefslogtreecommitdiff
path: root/atk-adaptor/bridge.h
Commit message (Collapse)AuthorAgeFilesLines
* adaptor: Fix missing events at startupColomban Wendling2019-12-031-1/+2
| | | | | | | | | | | | | | | | We need to register the application before anything else happens, otherwise we might miss some events sent before registration. As we want to register only from the main loop to avoid registering an application that won't respond to calls [1], we used an idle callback; but it doesn't run early enough in all cases, e.g. in Firefox. So, switch to a high-priority 0-timeout so that it should be dispatched among the first ones in the next main loop iteration, then being run before other callbacks that might generate events. Fixes https://gitlab.gnome.org/GNOME/gtk/issues/2186 [1] https://gitlab.gnome.org/GNOME/at-spi2-core/issues/16
* Relicense as LGPL 2.1Mike Gorse2019-08-281-4/+4
| | | | Fixes https://gitlab.gnome.org/GNOME/at-spi2-atk/issues/2
* Fix old FSF addressMike Gorse2019-08-271-2/+2
|
* When switching the main context, move pending register_application callMike Gorse2019-08-151-0/+3
| | | | | | | Commit f603c8 broke java-atk-wrapper, since the default main loop context isn't used there. Fixes https://gitlab.gnome.org/GNOME/at-spi2-core/issues/16
* Support sending data with eventsMike Gorse2014-02-031-0/+20
| | | | | | | | Handle requests for additional data from event listeners (ie, registered with atspi_event_listener_register_full), and allow sending interfaces and screen extents in this way. https://bugzilla.gnome.org/show_bug.cgi?id=708695
* Only create a directory and a socket when requestedMike Gorse2012-07-051-0/+2
| | | | | | | | | Currently, atk-bridge clutters XDG_RUNTIME_DIR with directories for sockets, which is especially annoying since gtk currently does not call atk_bridge_adaptor_cleanup, so the directories never go away. This change does not really solve the problem--it only hides it from users who do not really need AT-SPI--but, nevertheless, there is no reason to create a directory or a socket if nothing has requested it, so doing this lazily makes sense.
* Use XDG_RUNTIME_DIR to hold sockets, and do not make a world-writable dirMike Gorse2012-06-251-1/+2
| | | | | | | | If we use XDG_RUNTIME_DIR, then the directory should be owned by the appropriate user, so it should not need to be world-writable. Hopefully this won't break accessibility for administrative apps on some distro. https://bugzilla.gnome.org/show_bug.cgi?id=678348
* Move adaptor_*() functions into their own headerBastien Nocera2012-06-141-2/+0
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=678037
* Export adaptor_init() and adaptor_cleanup()Bastien Nocera2012-06-141-0/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=678037
* Only register for events when something is listeningMike Gorse2011-06-211-0/+3
| | | | | | | | Track whether clients are listening, based on calls to GetItems and event listener registrations, and disable event handlers if no clients are listening. Note that this currently handles event listeners in bulk and could be refined to only connect to individual signals that are being listened to.
* Merge branch 'master' into p2pMike Gorse2010-10-071-0/+1
|\ | | | | | | | | Conflicts: configure.ac
| * Fire all events until we receive a reply from GetRegisteredEventsMike Gorse2010-10-071-0/+1
| |
* | Peer-to-peer fixes; work in progressMike Gorse2010-08-301-0/+3
| |
* | enable peer to peer comunication for at-spi2Trevor Saunders2010-08-301-0/+1
|/ | | | | | | | | 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.
* Only send events when something is listening for themMike Gorse2010-08-161-0/+8
|
* Change the keystroke delivery methid re-entrancy fromMark Doffman2010-02-021-0/+2
| | | | | | | 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.
* Integrate leasing scheme in-to atk-bridge.Mark Doffman2010-01-051-5/+19
| | | | | | | | | | | | 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.
* Code style enforcement.Mark Doffman2010-01-051-3/+3
| | | | | | All files in atk-adaptor now use gnu style indentation. 'indent --no-tabs'
* 2009-01-12 Mark Doffman <mark.doffman@codethink.co.uk>Mark Doffman2009-01-121-23/+6
| | | | | | | | | | | | * atk-adaptors/ Large code-structure refactor. D-Bus adaptors have been renamed to *-adaptor.c. atk-dbus.c has been renamed to accessible-register.c to better indicate its function. The marshalling code has been split out.
* 2008-12-17 Mark Doffman <mark.doffman@codethink.co.uk>Mark Doffman2008-12-181-2/+32
| | | | | | | | | | | | | | | | | Mega commit that changes droute, adding an interface for creating a droute context and registering single, or multiple objects with the droute context. Modifies atk-adaptor and registryd to use the new interface. * droute/ New interface * atk-adaptor Use new droute interface * registryd Use new droute interface * pyatspi Bug fix, methods were using "null" interface.
* 2008-08-29 Mark Doffman <mark.doffman@codethink.co.uk>Mark Doffman2008-09-041-0/+29
* atk-adaptor/ Large rework of two sections of the code. The event functionality has been moved out of bridge.c and into event.c. The events themselves have been changed. Whereas previously all events came from a single interface. "org.freedesktop.atspi.Accessible" they now come from different interfaces, depending on the event. The 'major', 'minor' and 'klass' sections of the interface name have been moved to the signal name , first message argument, and interface name respectively. Also reworked was the Client side cache, and Tree interface functionality. There was a problem with the old code where accessibles not part of the main tree. (Theoretically possible to access through a RelationSet) would not be transfered to the cache. There was a bug where Acessibles would not be removed from the server side registry when the AtkObject backing them had been deleted. * pyatspi/ Add event registration to the registry interface. Add a whole new event framework, begin rework of the tree update structure. Complete the modification of the event framework on the client side and the rework of the client side cache transfer framework.