summaryrefslogtreecommitdiff
path: root/atspi/atspi-text.c
Commit message (Collapse)AuthorAgeFilesLines
* Use const attribute name input in atspi_*_get*_attribute_value()Colomban Wendling2023-04-251-3/+3
| | | | | There is no point in having them mutable, and makes the API look more awkward and harder to use than it actually is.
* Fix a variable nameMike Gorse2023-04-021-4/+4
|
* typos--Harald Sitter2023-03-061-2/+2
|
* Reformat all the *.[ch] files with clang-formatFederico Mena Quintero2022-12-061-87/+85
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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/+15
|
* 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
|
* Refactor the API for the screen reader to notify listeners of its statusMike Gorse2019-07-181-41/+0
| | | | | | | Remove atspi_text_notify_reading_position, and instead add a region_changed signal. Also make the dbus API more like the API used for other events. Per discussion at https://gitlab.gnome.org/GNOME/orca/issues/36
* atspi_text_notify_reading_position: let caller specify end offsetSamuel Thibault2019-05-101-23/+6
| | | | since the screen reader may not be speaking until the end of the text.
* More updates related to reading position notificationsMike Gorse2019-05-051-8/+7
| | | | | | | | | Allow a client to receive notifications through AtspiEventListeners. This involves special casing, since the event is generated by the screen reader, not the GUI, and is, thus, handled by a different DBus interface, but, from the client's perspective, it looks like a normal AT-SPI event. Also renamed atspi_text_notify_read_position to atspi_text_notify_reading_position and fixed a few warnings.
* Add atspi_text_notify_read_positionMike Gorse2019-05-051-0/+59
| | | | https://gitlab.gnome.org/GNOME/at-spi2-core/issues/10
* Update libatspi documentation to indicate that extents are only meaningfulMike Gorse2019-03-031-0/+4
| | | | | | when an object has both STATE_VISIBLE and STATE_SHOWING. Corresponds to merge request GNOME/at-spi2-core!8
* Add ScrollSubstringTo and ScrollSubstringToPoint text interfacesSamuel Thibault2019-01-151-0/+66
|
* Fixed atspi_text_ functionsPatryk Kaczmarek2015-10-121-1/+5
| | | | | | | | | | | * atspi_text_get_text_attribute_value Fixed dbus signature in _atspi_dbus_call function and add missing argument for string. * atspi_text_get_default_attributes Receiving return value by reference from hash table https://bugzilla.gnome.org/show_bug.cgi?id=755731
* Replaced deprecated "Rename to" GTK-Doc tagAlejandro Piñeiro2014-11-251-4/+2
| | | | Replaced by the gi annotation rename-to on the identifier.
* Revert "Replaced deprecated "Rename to" GTK-Doc tag"Mike Gorse2014-11-251-2/+4
| | | | | | Forgot to tag the release; going to revert, tag, then re-apply. This reverts commit b7bd063e3cd805bc50bf03c5e12087b1553436a2.
* Replaced deprecated "Rename to" GTK-Doc tagAlejandro Piñeiro2014-11-251-4/+2
| | | | Replaced by the gi annotation rename-to on the identifier.
* introspection: add some missing Returns: (nullable) annotationsEvan Nemerson2014-06-071-3/+3
|
* Fix atspi_text_get_bounded_rangesMike Gorse2013-11-201-1/+1
|
* Fix some warnings and documentation issuesMike Gorse2013-10-101-5/+1
|
* Add atspi_text_get_string_at_offsetMike Gorse2013-08-191-0/+76
|
* Rename various functions to avoid name collisionsMike Gorse2013-05-151-0/+55
| | | | | | | | | Having functions with common suffixes (ie, atspi_text_get_attributes and atspi_document_get_attributes) results in problems for language bindings. Deprecating these functions in favor of functions with new names to avoid these collisions. https://bugzilla.gnome.org/show_bug.cgi?id=700243
* Set correct end offset in atspi_text_get_attributesJosé Millán Soto2012-01-201-1/+1
| | | | Fixes bug 668334
* Improving atspi-text.c documentationAline Bessa2011-08-231-72/+78
|
* Remove some redundant out-of-memory checksMike Gorse2011-05-051-23/+13
| | | | | | | 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.
* GetNSelections has an out parameter, not an inMike Gorse2011-02-251-1/+1
|
* Avoid returning uninitialized data for some IPC errorsMike Gorse2011-02-151-2/+2
|
* Update copyright and add some missing license infoMike Gorse2011-01-311-0/+1
|
* Fix most compiler warnings and various miscellaneous problemsMike Gorse2011-01-281-5/+3
|
* Fix passing of coordType for some text methodsMike Gorse2011-01-091-5/+5
|
* Return exceptions for errors rather than printing warningsMike Gorse2011-01-041-2/+2
|
* Fix some return valuesMike Gorse2010-12-301-2/+11
|
* Some attribute-related fixesMike Gorse2010-12-091-56/+37
|
* Rename text to content in AtspiTextRange to match original IDLMike Gorse2010-12-091-5/+5
|
* Fix atspi_text_get_default_attributesMike Gorse2010-12-091-1/+1
|
* Add Hypertext and Hyperlink and some refactoring to support themMike Gorse2010-11-201-1/+1
| | | | | | AtspiAccessible is now derived from a base class called AtspiObject which defines the object's application and object path, since this is common with AtspiHyperlink.
* Add first pass at text interfaceMike Gorse2010-11-191-0/+803