summaryrefslogtreecommitdiff
path: root/libview/ev-view-accessible.c
AgeCommit message (Collapse)AuthorFilesLines
2018-03-22libview: Add check for pageless documents to ev_view_accessible_focus_changedJoanmarie Diggs1-1/+1
Without this check, Evince will crash when opening a document that, for whatever reason, has no pages. https://bugzilla.gnome.org/show_bug.cgi?id=731046 origin commit: https://git.gnome.org/browse/evince/commit/?id=c0ecc95
2018-03-16Check legal boundaries of accessible pagesGermán Poo-Caamaño1-0/+7
Fixes https://github.com/mate-desktop/atril/issues/302 Keep the accessible view end page under the limits of the document. Sometimes when a document is reloaded, it may have less pages making the end page higher than the actual number of pages. Fix end_page reset after reload a page When a document is reloaded, and the accessible end_page is higher than the number of pages, it must be re-initialized to the number of pages minus one because it refers to elements in an array. Fix https://bugzilla.gnome.org/show_bug.cgi?id=735744 origin commits: https://git.gnome.org/browse/evince/commit/?id=feff531 https://git.gnome.org/browse/evince/commit/?id=e6e0d29
2017-11-27ev-view-accessible: Add a method to determine if a given doc rect is showingJoanmarie Diggs1-0/+26
The Accessibility code needs to know this to set and update ATK_STATE_SHOWING. https://bugzilla.gnome.org/show_bug.cgi?id=728475 origin commit: https://git.gnome.org/browse/evince/commit/?h=gnome-3-14&id=5c2ce4e
2017-11-27libview: Update ATK_STATE_SHOWING when the visible page range changesJoanmarie Diggs1-0/+30
https://bugzilla.gnome.org/show_bug.cgi?id=728664 origin commit: https://git.gnome.org/browse/evince/commit/?h=gnome-3-14&id=110a98a https://git.gnome.org/browse/evince/commit/?h=gnome-3-14&id=c4e98b3
2017-11-27libview: Implement AtkComponent for pagesJoanmarie Diggs1-0/+36
https://bugzilla.gnome.org/show_bug.cgi?id=728673 origin commit: https://git.gnome.org/browse/evince/commit/?h=gnome-3-14&id=7d1bf5a
2017-11-27a11y: ensure text cached when you request an EvPageAccessibleAlejandro Piñeiro1-0/+10
https://bugzilla.gnome.org/show_bug.cgi?id=724965 origin commit: https://git.gnome.org/browse/evince/commit/?h=gnome-3-14&id=b5fc924
2017-11-27a11y: managing atk states on EvPageAccessibleAlejandro Piñeiro1-0/+47
This includes: * Implements ref_state_set on EvPageAccessible * Notify FOCUSED state changes https://bugzilla.gnome.org/show_bug.cgi?id=724965 origin commit: https://git.gnome.org/browse/evince/commit/?h=gnome-3-14&id=c421a90
2017-11-27a11y: add if applies ATK_RELATION_FLOWS_TO/FROM on EvPageAccessibleAlejandro Piñeiro1-1/+1
https://bugzilla.gnome.org/show_bug.cgi?id=724965 origin commit: https://git.gnome.org/browse/evince/commit/?h=gnome-3-14&id=f6ae6b7
2017-11-27a11y: move AtkHyperText implementation from EvViewAccessible to EvPageAccessibleAlejandro Piñeiro1-131/+1
https://bugzilla.gnome.org/show_bug.cgi?id=724965 origin commit: https://git.gnome.org/browse/evince/commit/?h=gnome-3-14&id=750f20d
2017-11-27a11y: move AtkText implementation from EvViewAccessible to EvPageAccessibleAlejandro Piñeiro1-737/+9
https://bugzilla.gnome.org/show_bug.cgi?id=724965 origin commit: https://git.gnome.org/browse/evince/commit/?h=gnome-3-14&id=2a458a9
2017-11-27a11y: expose EvPageAccessible as children of EvViewAccessibleAlejandro Piñeiro1-7/+70
https://bugzilla.gnome.org/show_bug.cgi?id=724965 origin commit: https://git.gnome.org/browse/evince/commit/?h=gnome-3-14&id=c1cdf84
2017-11-27libview: Fix some broken aspects EvViewAccessible text supportJoanmarie Diggs1-173/+211
* Stop using GtkTextBuffer: It was a hack more than a real solution * Fix setting and clearing of selection via AtkText for the current page * Strip newline chars out of the sentence strings: Newlines break TTS prosody * Add some logic to heuristically distinguish soft and hard returns https://bugzilla.gnome.org/show_bug.cgi?id=725003 https://git.gnome.org/browse/evince/commit/?h=gnome-3-12&id=03afe27
2017-11-27a11y: cleaning implementation for atk_text_get_caret_offsetAlejandro Piñeiro1-15/+2
If caret access is not enabled (or in any other error) caret_offset should be -1, and not one based on the gtktextbuffer. Based on a previous patch by Joanmarie Diggs https://bugzilla.gnome.org/show_bug.cgi?id=701746 https://git.gnome.org/browse/evince/commit/?h=gnome-3-12&id=3b63aa8
2017-11-27a11y: fixing implementation for atk_text_set_caret_offsetAlejandro Piñeiro1-8/+5
It uses the recently added ev_view_set_caret_cursor_position https://bugzilla.gnome.org/show_bug.cgi?id=701746 https://git.gnome.org/browse/evince/commit/?h=gnome-3-12&id=912d9d5
2017-11-27Remove support for deprecated atk_text_get_text_{before,after}_offset()Joanmarie Diggs1-28/+0
See https://mail.gnome.org/archives/commits-list/2013-June/msg04117.html for the associated commit to ATK. https://bugzilla.gnome.org/show_bug.cgi?id=725162 origin commit: https://git.gnome.org/browse/evince/commit/?h=gnome-3-12&id=b327461
2017-11-27a11y: implement AtkDocument on EvViewAccessibleAlejandro Piñeiro1-0/+54
https://bugzilla.gnome.org/show_bug.cgi?id=719507 origin commit: https://git.gnome.org/browse/evince/commit/?h=gnome-3-12&id=c5c528d
2017-11-27a11y: with caret navigation enabled, accessibility current page is cursor pageAlejandro Piñeiro1-16/+27
https://bugzilla.gnome.org/show_bug.cgi?id=711862 https://git.gnome.org/browse/evince/commit/?h=gnome-3-10&id=b0bf4b6
2017-11-27ev-view-accessible: call document_changed_cb when setting the modelJoanmarie Diggs1-0/+6
When an application embedding an EvView reuses that view to display a new document, the content of last page viewed from the previous document is exposed to assistive technologies. In order to get the content of the current document, the user must change pages. This problem resulted from the assumption that the document would be set after the model was set. https://bugzilla.gnome.org/show_bug.cgi?id=709375 https://git.gnome.org/browse/evince/commit/?h=gnome-3-10&id=3d06f42
2017-11-27ev-view-accessible: Fix a crash in ev_view_accessible_get_linkAntia Puentes1-0/+6
Check array limits returning early if the link index is out of range. https://bugzilla.gnome.org/show_bug.cgi?id=705155 https://git.gnome.org/browse/evince/commit/?h=gnome-3-10&id=7eac53f
2017-11-27ev-view-accessible: Clear the cached data when the current pageAntia Puentes1-20/+69
or document is updated. https://bugzilla.gnome.org/show_bug.cgi?id=704621 https://git.gnome.org/browse/evince/commit/?h=gnome-3-10&id=d71e0d7
2017-09-06libview: Rework ev_view_accessible_get_selectionAntia Puentes1-11/+79
Actually return the text and offset range of the selected text in the current page. https://bugzilla.gnome.org/show_bug.cgi?id=704335 origin commit: https://git.gnome.org/browse/evince/commit/?h=gnome-3-10&id=a178d26
2017-09-06ev-view-accessible: Fix ev_view_accesssible_get_n_selectionsAntia Puentes1-14/+5
Return 1 when there's selected text since evince only supports one selection, and 0 if there isn't selected text. https://bugzilla.gnome.org/show_bug.cgi?id=704396 origin commit: https://git.gnome.org/browse/evince/commit/?h=gnome-3-10&id=3a9d081
2017-09-06ev-view-accessibl: Fix get_caret_offset when the caret navigation is enabledAntia Puentes1-0/+10
https://bugzilla.gnome.org/show_bug.cgi?id=704399 origin commit: https://git.gnome.org/browse/evince/commit/?h=gnome-3-10&id=32a67a6
2017-09-06ev-view-accessible: Rewrite get_run_attributes to return the text attributes ↵Antia Puentes1-13/+111
from the document https://bugzilla.gnome.org/show_bug.cgi?id=639932 origin commit: https://git.gnome.org/browse/evince/commit/?h=gnome-3-10&id=f8a0ce3
2017-09-06libview: Emit the AtkText text-caret-moved and text-selection-changed signalsAntia Puentes1-0/+23
https://bugzilla.gnome.org/show_bug.cgi?id=701732 origin commit: https://git.gnome.org/browse/evince/commit/?h=gnome-3-10&id=2590224
2017-03-07ev-view-accessible: Fix some coding style issuesraveit651-23/+24
taken from: https://git.gnome.org/browse/evince/commit/?h=gnome-3-8&id=23048af
2017-03-07ev-view-accessible: Add helper function to get text before, at or after offsetraveit651-94/+68
To avoid duplicated code. Taken from: https://git.gnome.org/browse/evince/commit/?h=gnome-3-8&id=0897a7d
2017-03-07libview: Implement AtkHypertext interfaceraveit651-8/+131
https://bugzilla.gnome.org/show_bug.cgi?id=639403 taken from: https://git.gnome.org/browse/evince/commit/?h=gnome-3-8&id=6c1d1a2
2017-03-07ev-view-accessible: Use _ev_view_transform_doc_rect_to_view_rect()raveit651-32/+22
In ev_view_accessible_get_character_extents(). taken from: https://git.gnome.org/browse/evince/commit/?h=gnome-3-8&id=ae1ace1
2017-03-07ev-view-accessible: Use _ev_view_transform_view_point_to_doc_point()raveit651-29/+21
In ev_view_accessible_get_offset_at_point(). taken from: https://git.gnome.org/browse/evince/commit/?h=gnome-3-8&id=28bd405
2017-03-07a11y: Do not use AtkFactory to create the EvViewAccessibleraveit651-109/+40
https://bugzilla.gnome.org/show_bug.cgi?id=685828 taken from: https://git.gnome.org/browse/evince/commit/?id=37c58de
2014-12-10a11: using ATK_ROLE_DOCUMENT_FRAME it's more correctinfirit1-1/+1
Taken from evince commit: dae88237d66fd49588cc27136c59376c443f9e9f From: danigm <[email protected]>
2014-12-10a11y: fixed offset index errorinfirit1-1/+1
Taken from evince commit: af0c0f056f8e2f64244df3b7cf1132347f4a9716 From: danigm <[email protected]>
2014-12-10a11y: checking null before setting text_buffer textinfirit1-1/+2
Taken from evince commit: 88aee427ed3c45f7d84216f5512fbb07ce164edd From: danigm <[email protected]>
2011-11-09renaming evince to atrilPerberos1-3/+3
2011-11-09inicialPerberos1-0/+911