summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2017-08-31Rename Fit Page Width as Fit WidthWilliam Jon McCann6-26/+26
https://bugzilla.gnome.org/show_bug.cgi?id=689468 origin commit: https://git.gnome.org/browse/evince/commit/?h=gnome-3-10&id=88d7a4a
2017-08-31Rename Best Fit mode as Fit PageWilliam Jon McCann10-59/+60
https://bugzilla.gnome.org/show_bug.cgi?id=689468 origin commit: https://git.gnome.org/browse/evince/commit/?h=gnome-3-10&id=ffd3853
2017-08-31Move dual page with odd pages left to the view menuCarlos Garcia Campos3-22/+10
As a toggle option only available in dual mode. origin commit: https://git.gnome.org/browse/evince/commit/?h=gnome-3-10&id=1078b8f
2017-08-31pre-bump versionraveit652-1/+3
2017-08-31libview: drop deprecated usage of gtk_container_set_resize_moderaveit651-1/+0
see https://developer.gnome.org/gtk3/unstable/GtkContainer.html#gtk-container-set-resize-mode They aren’t necessary anymore since frame clocks and might introduce obscure bugs if used. Gtk3-inspector shows me that resize-mode-is-parent (default) is used.
2017-08-29release 1.19.2v1.19.2raveit652-1/+44
2017-08-29sync with transifexraveit658-26/+28
2017-08-28shell: Check if doc implements Annotations interface before castJosé Aliste1-2/+4
Without this check, evince will crash when a right-click on a non-pdf document is performed. https://bugzilla.gnome.org/show_bug.cgi?id=737197 origin commit: https://git.gnome.org/browse/evince/commit/?id=0f59861
2017-08-28Refreshing annotations' sidebar upon deletionGiselle Machado5-4/+38
When an annotation is deleted, the sidebar needs to be refreshed so that the annotation is removed from the list See item 3 in this comment: https://bugzilla.gnome.org/show_bug.cgi?id=649044#c33 origin commit: https://git.gnome.org/browse/evince/commit/?id=13defb2
2017-08-28libdocument: Make ev_mapping_list_remove voidCarlos Garcia Campos2-3/+2
There's no reason to return the EvMappingList since it can't be modified by this function.
2017-08-28page-cache: Add flags parameter to ev_page_cache_mark_dirty()Carlos Garcia Campos3-5/+28
This allows to specify what is dirty so that it's freed before being cached again. origin commit: https://git.gnome.org/browse/evince/commit/?h=gnome-3-14&id=20c6b3b
2017-08-28pdf: Reset the annotation mapping when there are no more annotationsGiselle Machado1-0/+2
https://bugzilla.gnome.org/show_bug.cgi?id=649044 origin commit: https://git.gnome.org/browse/evince/commit/?id=06e9129
2017-08-28Add an option to remove annotations to the view popup menuraveit652-1/+21
https://bugzilla.gnome.org/show_bug.cgi?id=649044 inspired by: https://git.gnome.org/browse/evince/commit/?id=0f19833
2017-08-28libview: add ev_view_remove_annotationGermán Poo-Caamaño2-0/+36
Hide annotation windows if necessary and unset selected element before removing an annotation. https://bugzilla.gnome.org/show_bug.cgi?id=649044 origin commit: https://git.gnome.org/browse/evince/commit/?id=927e956
2017-08-28pdf: Implement remove_annotation virtual funcGermán Poo-Caamaño1-0/+31
https://bugzilla.gnome.org/show_bug.cgi?id=649044 origin commit: https://git.gnome.org/browse/evince/commit/?id=38ca871
2017-08-28libdocument: add ev_mapping_list_removeGermán Poo-Caamaño2-0/+21
Needed to remove annotations from a mapping list https://bugzilla.gnome.org/show_bug.cgi?id=649044 origin commit: https://git.gnome.org/browse/evince/commit/?id=5aac9ac
2017-08-28libdocument: Add remove_annotation to DocumentAnnotations.José Aliste2-1/+25
https://bugzilla.gnome.org/show_bug.cgi?id=649044 origin commit: https://git.gnome.org/browse/evince/commit/?id=d0ed4e6
2017-08-28pdf: Make annotation names uniqueGiselle Machado1-13/+14
Naming the annotations sequentially by number is problematic when they can be removed (see https://bugzilla.gnome.org/show_bug.cgi?id=649044#c33). This patch changes the annotation names to timestamps, guaranteeing that they are indeed unique. https://bugzilla.gnome.org/show_bug.cgi?id=649044 origin commit: https://git.gnome.org/browse/evince/commit/?id=0f38a27 fix build warning: https://git.gnome.org/browse/evince/commit/?id=6197eba
2017-08-28pdf: Add support for adding other types of annotationsGiselle Machado1-9/+16
Implementing switch/case to support new annotations as they are implemented. origin commit: https://git.gnome.org/browse/evince/commit/?id=320d10f
2017-08-28libview: Rename ev_view_set_focused_element and make it publicJoanmarie Diggs2-11/+15
internally This will be needed in order to implement atk_component_grab_focus https://bugzilla.gnome.org/show_bug.cgi?id=728475 origin commit: https://git.gnome.org/browse/evince/commit/?id=617dc0c
2017-08-28Change the opacity of the annotation windowGiselle Machado1-0/+27
Implements the functions needed to change the opacity of the annotation windows. https://bugzilla.gnome.org/show_bug.cgi?id=725571 origin commit: https://git.gnome.org/browse/evince/commit/?id=b968cfb
2017-08-28Change color of annotation windowGiselle Machado1-1/+1
When the color of the annotation window is chosen in the properties dialog and apply is clicked, the color of the window changes immediately. Fixed by making ev_annotation_set_rgba send both "color" and "rgba" signals. https://bugzilla.gnome.org/show_bug.cgi?id=725571 origin commit: https://git.gnome.org/browse/evince/commit/?id=d23d6c1
2017-08-28libview: Grab focus for form fields and links on mouse pressAntia Puentes2-144/+282
Rewritten focus annotations in a generic way. https://bugzilla.gnome.org/show_bug.cgi?id=706244 origin commit: https://git.gnome.org/browse/evince/commit/?id=fddb9ee
2017-08-28libdocument: Added ev_mapping_list_getAntia Puentes2-8/+33
returns the EvMapping in the EvMappingList at coordinates (x,y). origin commit: https://git.gnome.org/browse/evince/commit/?id=2de7a65
2017-08-28pdf: Add activation link for Fields that have it.José Aliste1-2/+8
origin commit: https://git.gnome.org/browse/evince/commit/?h=gnome-3-10&id=01254fb
2017-08-28libview: Handle activation link of a Form Field if presentJosé Aliste1-0/+3
origin commit: https://git.gnome.org/browse/evince/commit/?h=gnome-3-10&id=90e431d
2017-08-28libdocument: Add activation_link to EvFormField structJosé Aliste2-0/+4
origin commit: https://git.gnome.org/browse/evince/commit/?h=gnome-3-10&id=5410cf9
2017-08-25ev-properties-licence: don't use deprecated GtkAlignmentraveit651-7/+4
- drop gtk_alignment_new - drop gtk_alignment_set_padding
2017-08-25libview: : avoid deprecated gtk_adjustment_changedraveit651-0/+2
gtk_adjustment_changed has been deprecated since version 3.18 and GTK+ emits “changed” itself whenever any of the properties (other than value) change. see https://developer.gnome.org/gtk3/unstable/GtkAdjustment.html#gtk-adjustment-changed
2017-08-24ev-job-find: mark two methods as skipCosimo Cecchi2-0/+12
Methods that use a double pointer to a GList cannot be annotated properly, so skip them until we have a better introspectable API. https://bugzilla.gnome.org/show_bug.cgi?id=691354
2017-08-24ev-jobs: have ev_job_failed_from_error shadow ev_job_failedCosimo Cecchi1-0/+7
Since the latter uses varargs and will never be introspectable. https://bugzilla.gnome.org/show_bug.cgi?id=691354 origin commit: https://git.gnome.org/browse/evince/commit/?h=gnome-3-8&id=1d87fc5
2017-08-24libview: add missing transfer and element-type annotationsCosimo Cecchi2-0/+17
https://bugzilla.gnome.org/show_bug.cgi?id=691354 origin commit: https://git.gnome.org/browse/evince/commit/?h=gnome-3-8&id=4bc744c
2017-08-24ev-mapping-list: make a boxed typeCosimo Cecchi2-0/+49
And fix a number of introspection warnings. https://bugzilla.gnome.org/show_bug.cgi?id=691354 origin commit: https://git.gnome.org/browse/evince/commit/?h=gnome-3-8&id=d6f7e03dd53639e2a3470f128d3b327636cf3dea
2017-08-24libdocument: add missing transfer and element-type annotationsCosimo Cecchi7-0/+70
https://bugzilla.gnome.org/show_bug.cgi?id=691354 origin commit: https://git.gnome.org/browse/evince/commit/?h=gnome-3-8&id=7917b62
2017-08-20gtk 3.22: avoid deprecated gdk_screen_get_monitor... functions:ZenWalker3-0/+57
avoid deprecated: gdk_screen_get_monitor_geometry gdk_screen_get_monitor_at_window gdk_screen_get_monitor_at_point
2017-08-20avoid gdk_screen_get_primary_monitor/gdk_screen_get_monitor_scale_factorZenWalker5-15/+46
2017-08-20ev-document-misc.c: avoid deprecated gdk_screen_get_width/height_mmZenWalker1-0/+9
Fixes #177
2017-08-20avoid deprecated gdk_screen_get_width/heightZenWalker4-9/+27
2017-08-20dvi: Mitigate command injection attacks by quoting filenameTobias Mueller1-2/+4
With commit 1fcca0b8041de0d6074d7e17fba174da36c65f99 came a DVI backend. It exports to PDF via the dvipdfm tool. It calls that tool with the filename of the currently loaded document. If that filename is cleverly crafted, it can escape the currently used manual quoting of the filename. Instead of manually quoting the filename, we use g_shell_quote. https://bugzilla.gnome.org/show_bug.cgi?id=784947 origin commit: https://git.gnome.org/browse/evince/commit/?id=350404c
2017-08-20mdvi-lib: Fix compilation warning (const-correctness)Tobias Mueller1-1/+1
const char accessed via pointer to char. backend/dvi/mdvi-lib/fontmap.c: In function ‘mdvi_init_fontmaps’: backend/dvi/mdvi-lib/fontmap.c:725:9: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] config = kpse_cnf_get("mdvi-config"); ^ https://bugzilla.gnome.org/show_bug.cgi?id=784912 origin commit: https://git.gnome.org/browse/evince/commit/?id=e3dccc1
2017-08-19libmisc: set width chars for page labelraveit651-0/+6
and use xalign fixes https://github.com/mate-desktop/atril/issues/275
2017-08-18libview: Scroll small pages in non-continuous modeMarek Kasik1-14/+82
Check whether currently shown page fits actual view and allow user to scroll to previous/next page in that case (also in Dual page mode). Allow also scrolling if only one axis fits the view and the event happenned in the same axis. https://bugzilla.gnome.org/show_bug.cgi?id=562257 origin commit links: https://git.gnome.org/browse/evince/commit/?id=077bab6 https://git.gnome.org/browse/evince/commit/?id=45f527e
2017-08-18libview: Enable GDK_SMOOTH_SCROLL events for viewXiao-Long Chen2-21/+52
This enables the smooth/kinetic scrolling support found in GTK+ 3.3.18 with the document view, and handles them for the Ctrl+scroll, Shift+scroll, and non-continuous best-fit mode scrolling cases. https://bugzilla.gnome.org/show_bug.cgi?id=674098 origin commit link: https://git.gnome.org/browse/evince/commit/?id=34d0d5d
2017-08-18libview: Ctrl+mouse wheel zoom should be pointer-centered, not window-centeredClement Lefebvre2-3/+21
https://bugzilla.gnome.org/show_bug.cgi?id=731669 Upstream commit, Frédéric Moenne-loccoz committed with Carlos Garcia Campos on 15 Feb 2015: https://github.com/GNOME/evince/commit/9d9e14dfa9ae782e879961b7307f55b41b2a60b3
2017-08-18ev-view: Add pan gesture to switch pageClement Lefebvre2-0/+80
This only applies on non-continuous mode, and the page fits with no horizontal scrolling. The gesture is actually connected to the parent GtkScrolledWindow (tracked through hierarchy events), so it is able to interact with kinetic scrolling gestures there, and cancel those if the pan gesture is recognized. Upstream commits by garnacho on 6 May and 15 Aug 2014: https://github.com/GNOME/evince/commit/afc50e7e07c135e22137a33cbf9913713692bf49 https://github.com/GNOME/evince/commit/2280b09ec71ee88eeeb7fd8d02adb2985d17a765
2017-08-18ev-view: explicitly require a GtkScrolledWindow as the parent widgetClement Lefebvre1-0/+11
This is implicitly needed in a few places in code, so make the requirement explicit on ::parent-set. Upstream commit by garnacho on 11 Aug 2014: https://github.com/GNOME/evince/commit/6288e48
2017-08-18ev-view: Add pinch/zoom gesture to handle document zoomingClement Lefebvre3-10/+64
This is delegated on a GtkGestureZoom. When triggered, the document will be zoomed based on the distance changes between both fingers. When the gesture is not active, regular event handling (text selection, clicking, etc...) will happen. Upstream commit from garnacho on 28 Mar 2014: https://github.com/GNOME/evince/commit/36c7f21
2017-08-15release 1.19.1v1.19.1raveit652-13/+46
2017-08-15sync with transifexraveit65105-20484/+21446
2017-08-15sidebar-thumbnails: fix unwanted move to start after fullscreenNelson Benitez Leon1-0/+20
After activating or deactivating fullscreen mode, the sidebar window is automatically moved to its start, while scroll bar stays in its original position. The sidebar window move is unwanted and unsolicited, and it's most probably caused by GtkIconView or GtkScrolledWindow bug. Workaround this by having the sidebar sync its window with the current scroll position after a fullscreen operation, do that by just emitting a "value-changed" on the current scroll adjustment. https://bugzilla.gnome.org/show_bug.cgi?id=783404 origin commit: https://git.gnome.org/browse/evince/commit/?id=2bfb8fa