summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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
2017-09-06libview: Reduce the pages to scan for selectionsCarlos Garcia Campos1-26/+58
when selection starts and ends at the same point We can use the current page range in this case, since this will only happen when starting a new word/line selection. origin commit: https://git.gnome.org/browse/evince/commit/?h=gnome-3-10&id=e92c98f
2017-09-06libview: Remove unused rectangle selection modeCarlos Garcia Campos3-65/+5
origin commit: https://git.gnome.org/browse/evince/commit/?h=gnome-3-10&id=848459e
2017-09-06libview: Rework ev_view_accessible_get_selectionAntia Puentes3-19/+105
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-06libview: do not redraw the whole view when caret cursor movesCarlos Garcia Campos1-16/+33
Invalidate the previous and new regions instead. origin commit: https://git.gnome.org/browse/evince/commit/?h=gnome-3-10&id=e39ac99
2017-09-06libview: Update the cursor area after positioning the cursor when moving ↵Carlos Garcia Campos1-0/+3
between lines origin commit: https://git.gnome.org/browse/evince/commit/?h=gnome-3-10&id=074dfec
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-06libview: Use error bell and return early when moving between lines failsCarlos Garcia Campos1-6/+11
origin commit: https://git.gnome.org/browse/evince/commit/?h=gnome-3-10&id=3666096
2017-09-06libview: do not schedule a resize in ensure_rectangle_is_visibleCarlos Garcia Campos1-2/+0
It will be scheduled if the adjustments change. origin commit: https://git.gnome.org/browse/evince/commit/?h=gnome-3-10&id=0597aa7
2017-09-06libview: Stop the cursor blink when there are selections activeCarlos Garcia Campos1-1/+5
Even though the caret cursor is not shown while there are active selections we don't want the cursor blink timeout running and scheduling redraws. origin commit: https://git.gnome.org/browse/evince/commit/?h=gnome-3-10&id=41c660f
2017-09-06libview: Deprecate ev_view_scroll in favor of g_signal_emit_by_nameCarlos Garcia Campos1-0/+1
origin commit: https://git.gnome.org/browse/evince/commit/?h=gnome-3-10&id=4be9bc1
2017-09-06ev-window: Use g_signal_emit_by name instead of ev_view_scrollCarlos Garcia Campos1-15/+2
origin commit: https://git.gnome.org/browse/evince/commit/?h=gnome-3-10&id=3e32b5d
2017-09-06previewer: Remove scroll acceleratorsCarlos Garcia Campos2-32/+0
They are handled by the EvView now. origin commit: https://git.gnome.org/browse/evince/commit/?h=gnome-3-10&id=1649067
2017-09-06ev-window: Remove scroll acceleratorsCarlos Garcia Campos2-25/+0
They are handled by the EvView now. We just leave the page up/down accels, so that they still work even when the view is not focused. origin commit (modified): https://git.gnome.org/browse/evince/commit/?h=gnome-3-10&id=6a7c3db
2017-09-06libview: Add more scroll key bindings to EvViewCarlos Garcia Campos1-0/+20
All keybindings currently used by EvWindow. Having them in the view makes them available to other EvView users and they can be overriden by the themes. origin commit: https://git.gnome.org/browse/evince/commit/?h=gnome-3-10&id=660b741 Fix Return key bidings Do not use the helper function for keypad keys since Return doesn't have a key un the keypad. https://bugzilla.gnome.org/show_bug.cgi?id=704154
2017-09-06libview: Fix second parameter type of scroll signal for h, j, k and l bindingsCarlos Garcia Campos1-8/+12
We were still using G_TYPE_BOOLEAN instead of GTK_TYPE_ORIENTATION. It worked because both are integers in the end. origin commit: https://git.gnome.org/browse/evince/commit/?h=gnome-3-10&id=f9a65d4
2017-09-06libview: Use merge_selection_region passing NULL to clear the selectionsCarlos Garcia Campos1-18/+6
This way only the regions affected by the selection are redrawn and we don't need to schedule a full redraw every time clear_selection is called. origin commit: https://git.gnome.org/browse/evince/commit/?h=gnome-3-10&id=4b4ea6c
2017-09-06ev-pixbuf-cache: Clear the selection region also when clearing the job selectionCarlos Garcia Campos1-0/+5
orign commit: https://git.gnome.org/browse/evince/commit/?h=gnome-3-10&id=1a9ba34
2017-09-06ev-pixbuf-cache: fix the condition for when a new selection is neededCarlos Garcia Campos1-4/+4
If we don't have a selection surface/region and points has been set, we need a new selection surface/region even if the scale hasn't changed. origin commit: https://git.gnome.org/browse/evince/commit/?h=gnome-3-10&id=ca60329
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-06pdf: Implement ev_document_text_get_text_attrs()Antia Puentes1-0/+53
origin commit: https://git.gnome.org/browse/evince/commit/?h=gnome-3-10&id=96b9a1
2017-09-06libview: Get text attributes from backend and save them in page cacheAntia Puentes5-8/+54
origin commit: https://git.gnome.org/browse/evince/commit/?h=gnome-3-10&id=4592007
2017-09-06libdocument: Add ev_document_text_get_text_attrs()Antia Puentes2-1/+17
origin commit: https://git.gnome.org/browse/evince/commit/?h=gnome-3-10&id=f72b619
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-09-06libview: clear the selection when cursor is movedCarlos Garcia Campos1-26/+75
If the cursor is moved with left/right arrow keys the cursor moves the beginning/end of the selection. origin commit: https://git.gnome.org/browse/evince/commit/?h=gnome-3-10&id=9c3816b
2017-09-06libview: Do not show the caret cursor when there are active selectionsCarlos Garcia Campos1-1/+2
https://bugzilla.gnome.org/show_bug.cgi?id=702761 origin commit: https://git.gnome.org/browse/evince/commit/?h=gnome-3-10&id=604cd6d