summaryrefslogtreecommitdiff
path: root/atspi/atspi-registry.c
Commit message (Collapse)AuthorAgeFilesLines
* Reformat all the *.[ch] files with clang-formatFederico Mena Quintero2022-12-061-64/+67
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* atspi_deregister_device_event_listener(): turn into a no-opFederico Mena Quintero2022-12-051-26/+4
| | | | | Per the previous commits, this function is never called from pyatspi2 nor orca. They do monitoring of mouse events via the Registry interface.
* atspi_register_device_event_listener(): turn into a no-op.Federico Mena Quintero2022-12-051-32/+5
| | | | | | | | | This function is never called from pyatspi2 nor from orca. It was meant to be the way to register for mouse events, but that is done with the Registry.RegisterEvent("mouse", ...) method instead. I've turned the function into a no-op to avoid ABI breakage. We can remove it when we have an ABI break.
* Docs: Move to gi-docgenThomas Booker2022-09-281-0/+12
|
* listeners: Fix crash on NULL listenerSamuel Thibault2022-03-131-7/+15
| | | | | We shouldn't call _atspi_device_listener_get_path before checking that listener is not NULL.
* Add device APIMike Gorse2021-01-111-1/+1
| | | | | | | | | | | This is intended to replace the registry-based method for capturing keystrokes. It is needed because gtk 4 no longer sends key notifications in a way that atk-bridge can process them. Unlike the original API, key grabs are separated from key notifications. Clients wishing to consume keystrokes must proactively register a grab for the given key. Currently, there is a backend for X11 and an unfinished legacy back end using the old registry-based method. Hopefully, there will be a mutter/wayland back end in the future, but we need to define a protocol there first.
* Documentation fixMike Gorse2020-02-161-1/+0
|
* 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
|
* Support mutter remote desktop interface for key/mouse eventsMike Gorse2019-08-051-0/+41
| | | | | | | | | | | | | | Mutter now has a remote desktop interface with methods to synthesize keyboard and mouse events. This functionality has not been available through AT-SPI on wayland since it uses X-specific functions. Also add atspi_set_reference_window. Probably a work in progress; doesn't appear to be behaving as intended. Also requires that introspection be enabled on gnome-shell. Ie, gsettings set org.gnome.shell introspect true https://bugzilla.gnome.org/show_bug.cgi?id=709999 https://gitlab.gnome.org/GNOME/at-spi2-core/issues/14
* Add support for locking/unlocking modifiersSamuel Thibault2018-11-181-3/+4
|
* Fix some warnings and documentation issuesMike Gorse2013-10-101-1/+2
|
* Annotate filter to allow none for device event listenersMike Gorse2013-05-141-2/+2
| | | | | | | | Atspi_register_device_event_listener and atspi_deregister_device_event_listener take a filter (currently unused). It can be NULL, so it should be annotated as such. https://bugzilla.gnome.org/show_bug.cgi?id=700237
* Merge branch 'enum-types'Mike Gorse2013-05-101-1/+2
|\ | | | | | | | | | | Conflicts: atspi/Makefile.am atspi/atspi-accessible.c
| * Enum clean-upsenum-typesMike Gorse2011-05-291-1/+2
| | | | | | | | | | | | | | | | | | | | 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.
* | Fix some warningsMike Gorse2013-02-041-2/+1
| |
* | Re-register keystroke listeners if the registry goes away and returnsMike Gorse2012-11-201-37/+123
| |
* | Fix gtk-doc for AtspiRegistry.Daiki Ueno2012-11-141-21/+29
| | | | | | | | https://bugzilla.gnome.org/show_bug.cgi?id=688224
* | Don't leak errorsWilliam Jon McCann2012-09-141-9/+44
| | | | | | | | https://bugzilla.gnome.org/show_bug.cgi?id=684033
* | Fix crash in atspi_deregister_keystroke_listenerMarcus Habermehl2012-06-041-1/+30
| | | | | | | | | | | | | | | | Atspi_registry_keystroke_listener has code to copy a keyset before passing to dbind, in order to handle NULL keystrings, but this code was not present in atspi_deregister_keystroke_listener. https://bugs.freedesktop.org/show_bug.cgi?id=50578
* | Improving atspi-registry documentation.Aline Bessa2011-08-231-29/+32
|/
* Revert "Clean up enums"Mike Gorse2011-05-291-2/+1
| | | | | | | | | | | | | | 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.
* Clean up enumsMike Gorse2011-05-241-1/+2
| | | | | | | 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.
* Remove some redundant out-of-memory checksMike Gorse2011-05-051-2/+0
| | | | | | | If malloc returns NULL, then g_malloc will call g_error and thus abort, so it is redundant to check the return value of g_new0 and the like, since glib will already have aborted the program rather than returning a NULL value. "Cleaning up" the code by removing some of these checks.
* Remove doc about non-existent ATSPI_KEYSET_ALL_KEYS.Daiki Ueno2011-04-251-10/+4
|
* bug 643384 - atspi_register_keystroke_listener() should take a bitmask not ↵Trevor Saunders2011-03-011-1/+1
| | | | AtspiKeyListenerSyncType.
* Fix most compiler warnings and various miscellaneous problemsMike Gorse2011-01-281-5/+5
|
* Fix keystroke deregister method.Eitan Isaacson2011-01-071-8/+21
|
* Fix a few warnings and documentation issuesMike Gorse2010-12-211-1/+1
|
* Various fixesMike Gorse2010-11-291-12/+38
| | | | | | | Events and DeviceEvents are now sent with transfer full to work around a possible pygi bug. Various other fixes.
* Fix some annotations and documentation issuesMike Gorse2010-11-071-1/+1
|
* Some work on event support; many bug fixesMike Gorse2010-11-051-46/+34
|
* Various bug fixesMike Gorse2010-10-271-6/+3
|
* Initial commit, not even close to being usable yetMike Gorse2010-10-261-0/+364