summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2017-11-27ev-link-accessible: Improve efficiency of methods to get start and end indicesJoanmarie Diggs1-5/+22
* Store the value to eliminate unnecessary iteration through character rects * Calculate the end index forward from the start index rather than backwards from the last character on the page https://bugzilla.gnome.org/show_bug.cgi?id=732340 origin commit: https://git.gnome.org/browse/evince/commit/?h=gnome-3-14&id=1a6c9df
2017-11-27Expose form fields as AtkObject children of the pageJoanmarie Diggs6-9/+314
https://bugzilla.gnome.org/show_bug.cgi?id=728475 origin commit: https://git.gnome.org/browse/evince/commit/?h=gnome-3-14&id=d707486
2017-11-27Expose images as AtkObject children of the pageJoanmarie Diggs4-2/+272
https://bugzilla.gnome.org/show_bug.cgi?id=728475 origin commit: https://git.gnome.org/browse/evince/commit/?h=gnome-3-14&id=aea890c
2017-11-27Expose links as AtkObject children of the pageraveit652-1/+224
https://bugzilla.gnome.org/show_bug.cgi?id=728475 origin commit: https://git.gnome.org/browse/evince/commit/?h=gnome-3-14&id=004b199
2017-11-27ev-view-accessible: Add a method to determine if a given doc rect is showingJoanmarie Diggs2-0/+29
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-27ev-page-cache: Add method to check if a given page has been cachedJoanmarie Diggs2-0/+16
The Accessibility code will expose child objects (links, images, form fields) of the page, but can only do so after that page has been cached. https://bugzilla.gnome.org/show_bug.cgi?id=728475 origin commit: https://git.gnome.org/browse/evince/commit/?h=gnome-3-14&id=a898d96
2017-11-27libview: Update the caret cursor when jumping to a find resultJoanmarie Diggs1-0/+3
https://bugzilla.gnome.org/show_bug.cgi?id=728996 origin commit: https://git.gnome.org/browse/evince/commit/?h=gnome-3-14&id=fc031f7
2017-11-27libview: Update ATK_STATE_SHOWING when the visible page range changesJoanmarie Diggs3-0/+37
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 Diggs3-0/+79
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-27libview: Fix shift+click text selectionJoanmarie Diggs1-7/+16
https://bugzilla.gnome.org/show_bug.cgi?id=728189 origin commit: https://git.gnome.org/browse/evince/commit/?h=gnome-3-14&id=7cf4c80
2017-11-27a11y: ensure text cached when you request an EvPageAccessibleAlejandro Piñeiro3-0/+22
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ñeiro3-0/+97
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ñeiro3-1/+58
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ñeiro4-163/+135
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ñeiro3-738/+695
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-27a11y: new EvPageAccessibleAlejandro Piñeiro3-0/+222
Basic skeleton for a new accessible class, that represents each individual page. https://bugzilla.gnome.org/show_bug.cgi?id=724965 origin commit: https://git.gnome.org/browse/evince/commit/?h=gnome-3-14&id=c489d3f
2017-11-27libview: Fix some broken aspects EvViewAccessible text supportJoanmarie Diggs3-173/+230
* 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-27libview: Take caret navigation into account when getting AtkHyperlink indicesJoanmarie Diggs1-2/+8
https://bugzilla.gnome.org/show_bug.cgi?id=726310 https://git.gnome.org/browse/evince/commit/?h=gnome-3-12&id=5e4d9f8
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-27view: set_caret_cursor_position should emit "cursor-moved" if appliesAlejandro Piñeiro1-0/+3
https://bugzilla.gnome.org/show_bug.cgi?id=701746 from: https://git.gnome.org/browse/evince/commit/?h=gnome-3-12&id=9809525
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-27Some text fixes for caret message arearaveit651-2/+2
https://git.gnome.org/browse/evince/commit/?h=gnome-3-10&id=f847cd0 https://git.gnome.org/browse/evince/commit/?id=aa76196
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 Puentes3-22/+78
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-11-22shell: remove view_actions_focus_out_cbJosé Aliste1-12/+0
It is now doing nothing origin commit: https://git.gnome.org/browse/evince/commit/?h=gnome-3-10&id=b0f7bfe
2017-11-22shell: Remove ev_window_set_view_accels_sensitivityJosé Aliste1-36/+0
Now that we chain the accels to the focused widget, we do not need anymore to disable accels when the view is not focused. origin commit: https://git.gnome.org/browse/evince/commit/?h=gnome-3-10&id=39defbd
2017-11-22shell: forward accels to the focused widgetraveit651-36/+24
GtkWindow catches keybindings for the menu items _before_ passing them to the focused widget. This is unfortunate and means that pressing ctrl+Left arrow, Ctrl+Right arrow on the search bar ends up turning the EvView instead of moving around the text. Here we override GtkWindow's handler to do the same things that it does, but in the opposite order and then we chain up to the grand parent handler, skipping gtk_window_key_press_event. See https://bugzilla.gnome.org/show_bug.cgi?id=676040 inspired from https://git.gnome.org/browse/evince/commit/?id=70a2c0780b1b44acfa18f4762a3400b89eb123b5 fix rhbz https://bugzilla.redhat.com/show_bug.cgi?id=1513826
2017-11-22Use a global array for view accel actionraveit651-15/+23
and a loop to change their sensitivity inspired from: https://git.gnome.org/browse/evince/commit/?h=gnome-3-2&id=d15eeda https://git.gnome.org/browse/evince/commit/?h=gnome-3-2&id=2ed0f3d https://git.gnome.org/browse/evince/commit/?h=gnome-3-2&id=793361c
2017-11-22pre-bump versionraveit652-1/+3
2017-11-02fix crash when selecting text in djvu documentsmonsta1-2/+4
fixes https://github.com/mate-desktop/atril/issues/283 taken from: https://git.gnome.org/browse/evince/commit/?id=c5a338c00253aeb88901c574ea150b3bd83634e7
2017-10-12release 1.19.4v1.19.4raveit651-0/+82
2017-10-12sync with transifexraveit65104-185/+186
2017-09-09shell: fix stock item for message arearaveit651-3/+3
2017-09-07docs: libview: Re-add type builtins sectionChristian Persch2-1/+16
origin commit: https://git.gnome.org/browse/evince/commit/?h=gnome-3-10&id=1f729d7
2017-09-06Fix crashes of epub documents with caret-navigationraveit651-0/+12
This is a quick fix for getting caret-navigation working in atril. All this code needs to be reworked for epubs. Note: caret-navigation is always enabled if text is selected with epubs, for some reasons.
2017-09-06Store the caret cursor position in document metadataCarlos Garcia Campos1-4/+45
origin commit: https://git.gnome.org/browse/evince/commit/?h=gnome-3-10&id=3e468fa
2017-09-06libview: Add ev_view_set_caret_cursor_positionCarlos Garcia Campos2-0/+21
origin commit: https://git.gnome.org/browse/evince/commit/?h=gnome-3-10&id=b2597d
2017-09-06libview: Update the current page also when pending scroll is to find a locationCarlos Garcia Campos1-1/+2
Pending scroll SCROLL_TO_FIND_LOCATION, can jump to another page if the location is in a different page. We should change the current page in the model in this case too. Origin commit: https://git.gnome.org/browse/evince/commit/?h=gnome-3-10&id=8709b39
2017-09-06libview: Do not schedule a redraw when enabling/disabling caret navigationCarlos Garcia Campos1-1/+3
If the cursor is not in a visible page origin commit: https://git.gnome.org/browse/evince/commit/?h=gnome-3-10&id=c187766
2017-09-06libview: Stop caret cursor blinking when cursor is not in a visible pageCarlos Garcia Campos1-0/+14
origin commit: https://git.gnome.org/browse/evince/commit/?h=gnome-3-10&id=570927e
2017-09-06shell: Enable/disable the caret navigation with F7Antia Puentes3-2/+101
https://bugzilla.gnome.org/show_bug.cgi?id=702079 origin commit: https://git.gnome.org/browse/evince/commit/?h=gnome-3-10&id=fc9b6d1
2017-09-06libview: Add ev_view_supports_caret_navigation()Antia Puentes2-0/+16
https://bugzilla.gnome.org/show_bug.cgi?id=702079 origin commit: https://git.gnome.org/browse/evince/commit/?h=gnome-3-10&id=6127a36
2017-09-06ev-link-accesible: Return the index/offset after the last character in the linkJoanmarie Diggs1-1/+1
https://bugzilla.gnome.org/show_bug.cgi?id=704616 origin commit: https://git.gnome.org/browse/evince/commit/?h=gnome-3-10&id=830dd4e
2017-09-06help: Remove references to removed selection modeCarlos Garcia Campos2-7/+0
origin commit: https://git.gnome.org/browse/evince/commit/?id=f44ee84
2017-09-06libview: Fix selections starting/ending in page marginsCarlos Garcia Campos1-0/+8
Do not take into account the page area borders when looking the pages where the selection starts or ends. This allows to start a new selection from a page margin and prevents selection from disappearing when selecting multiple pages and releasing the mouse between two pages. origin commit: https://git.gnome.org/browse/evince/commit/?h=gnome-3-10&id=4969e2b