summaryrefslogtreecommitdiff
path: root/atspi/atspi-event-listener.h
Commit message (Collapse)AuthorAgeFilesLines
* Reformat all the *.[ch] files with clang-formatFederico Mena Quintero2022-12-061-44/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I ran this on each directory with C files: clang-format -i *.[ch] "-i" is the in-place option. I also adjusted the order of #includes for some files which failed to build after that: Clang-format reorders blocks of #include directives alphabetically, but they can be grouped and separated by blank lines. If there is a blank line between blocks, like #include "zork.h" #include "bar.h" #include "foo.h" then it will not put zork.h after the other two. The last two header files will be sorted alphabetically. We can adjust the formatting of chunks of code by hand with comments like these: /* clang-format off */ this code { is, formatted, by, hand; } /* clang-format on */ See https://clang.llvm.org/docs/ClangFormat.html for the general manual and https://clang.llvm.org/docs/ClangFormatStyleOptions.html for the style options and the comments described above.
* Add atspi_event_listener_register_with_appMike Gorse2022-07-021-0/+16
| | | | | | Allows an event listener to be registered only for a given application. Fixes #52
* Relicense as LGPL 2.1Mike Gorse2019-08-281-4/+4
| | | | Fixes https://gitlab.gnome.org/GNOME/at-spi2-core/issues/2
* Fix outdated FSF addressMike Gorse2019-08-271-2/+2
|
* Allow caching of data sent with events and requesting such dataMike Gorse2014-02-011-0/+14
| | | | | | | | | | | | | Add atspi_event_listener_register_full, to request that particular data be sent with an event, and cache the data for the duration of the event callback. This also extends the D-Bus protocol, adding an a{sv} to an event to send this data along, but we will still read events without this array added for backwards compatibility (and compatibilllity with QT-AT-SPI, which does not send this data for now). https://bugzilla.gnome.org/show_bug.cgi?id=708695
* Make AtspiEventListenerCb not call for a const datumMike Gorse2013-10-101-1/+1
| | | | | AtspiEventListenerCb is currently defined as (transfer full), so the caller owns the struct and needs to free it, so it should not be const.
* Add G_BEGIN_DECLS and G_END_DECLS macros for prototypes to fix c++ linkageMike Gorse2012-05-211-0/+5
|
* API changes to device and event listeners for compatibility with jsMike Gorse2011-07-061-0/+5
| | | | | | | | | | | | | | 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.
* Update copyright and add some missing license infoMike Gorse2011-01-311-0/+1
|
* More error handling fixesMike Gorse2011-01-241-6/+12
| | | | | | Set the GError in some more cases where we were previously printing warnings. Also added an error parameter to event register/deregister functions, as it makes calls over the wire.
* Various fixesMike Gorse2010-11-291-2/+4
| | | | | | | Events and DeviceEvents are now sent with transfer full to work around a possible pygi bug. Various other fixes.
* Various component fixes, and fix dbind_method_call_reentrant_vaMike Gorse2010-11-171-7/+43
|
* Box some types, add missing header file, and other fixesMike Gorse2010-11-071-0/+19
|
* Some work on event support; many bug fixesMike Gorse2010-11-051-0/+52