summaryrefslogtreecommitdiff
path: root/atspi/atspi-matchrule.c
Commit message (Collapse)AuthorAgeFilesLines
* Reformat all the *.[ch] files with clang-formatFederico Mena Quintero2022-12-061-62/+63
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Docs: Move to gi-docgenThomas Booker2022-09-281-0/+7
|
* 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
|
* atspi: Update error logsTapasweni Pathak2018-10-041-1/+1
| | | | Error logs has different naming convention in atspi/ files.
* Copy interfaces when creating a match ruleMike Gorse2014-08-161-2/+13
| | | | | | | | We shouldn't assume that we own the list of interfaces passed in. The caller may free the list, and then we have a pointer to invalid data in the AtspiMatchRule structure, causing crashes. https://bugzilla.gnome.org/show_bug.cgi?id=734805
* Allow caching of data sent with events and requesting such dataMike Gorse2014-02-011-4/+2
| | | | | | | | | | | | | 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
* Document that multiple attribute values can now be listed in match rules.Mike Gorse2013-09-151-1/+4
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=700865
* Fix some annotations compilation warningsJavier Hernández2012-09-041-22/+13
|
* Improving atspi-matchrule documentation.Aline Bessa2011-08-231-4/+18
|
* In atspi_match_rule_get_attributes, copy the hash rather than ref itMike Gorse2011-05-171-3/+17
| | | | | | | | | | | | It is not safe to ref a hash marked (transfer none) and expect its elements to remain, since the caller will assume that it owns the elements and may deallocate them (this is done by pygobject). It would also be problematic to simply mark the hash (transfer full), since we need to either assume that the caller passed a destroy function when creating the hash (pygobject does not) or deallocate the values ourselves when the match rule is finalized (which requires making assumptions about the correct free function needed to deallocate the values that the caller allocated). So it seems that the only safe thing to do is to copy the hash.
* Update copyright and add some missing license infoMike Gorse2011-01-311-0/+1
|
* Initial pass at adding i18n and proper object disposalMike Gorse2010-12-291-2/+21
| | | | | | | Objects are now "disposed" when RemoveAccessible is received or the application goes away. This allows the objects to be dereferenced and properly cleaned up. Also fix some related bugs and add i18n. Some reference leaks remain, however.
* Really commit fixes; make unit tests passMike Gorse2010-11-281-18/+51
|
* Add first pass at MatchRule/Collection implementationMike Gorse2010-11-231-0/+185