Age | Commit message (Collapse) | Author | Files | Lines |
|
this also disables it when no document is loaded
|
|
follow-up to 9c08159f6ce959f1aa0fc87da265854e9672365e - this action
should be disabled when e.g. a truncated pdf is loaded
|
|
....instead of our own implementation
origin commit:
https://git.gnome.org/browse/evince/commit/?h=gnome-3-0&id=91a30f4
|
|
The code to overlay an icon is unused since commit
https://git.gnome.org/browse/evince/commit/?id=808285c
origin commit:
https://git.gnome.org/browse/evince/commit/?id=171918f
|
|
origin commit:
https://git.gnome.org/browse/evince/commit/?h=gnome-3-8&id=38528f9
|
|
.... and misc_paint_one_page()
origin commit:
https://git.gnome.org/browse/evince/commit/?h=gnome-3-8&id=a610d49
|
|
So it can be styled with CSS.
https://bugzilla.gnome.org/show_bug.cgi?id=653294
origin commit:
https://git.gnome.org/browse/evince/commit/?h=gnome-3-8&id=7a6b53a
https://git.gnome.org/browse/evince/commit/?h=gnome-3-8&id=4657961
|
|
This modifies ev_page_accessible_get_range_for_boundary to ensure that
the start and end offsets it returns are within the allowed range.
https://bugzilla.gnome.org/show_bug.cgi?id=777992
origin commit:
https://git.gnome.org/browse/evince/commit/?id=e95a4e3
|
|
ev_page_accessible_get_substring gets called with out of bounds values
leading to a crash. Clamp start_offset to a valid range.
https://bugzilla.gnome.org/show_bug.cgi?id=777992
origin commit:
https://git.gnome.org/browse/evince/commit/?id=b34f357
|
|
inspired by:
https://git.gnome.org/browse/evince/commit/?h=gnome-3-8&id=a56186e
|
|
origin commit:
https://git.gnome.org/browse/evince/commit/?h=gnome-3-8&id=3fd4162
|
|
taken from:
https://github.com/GNOME/evince/commit/91ac78bc587eb2ac931136c9da9609b142410209
|
|
Fixes https://github.com/mate-desktop/atril/issues/308
|
|
|
|
|
|
otherwise atril crashes
https://bugzilla.gnome.org/show_bug.cgi?id=685591
origin commit:
https://git.gnome.org/browse/evince/commit/?h=gnome-3-8&id=b4bf316
|
|
https://bugzilla.gnome.org/show_bug.cgi?id=693749
origin commit:
https://git.gnome.org/browse/evince/commit/?h=gnome-3-8&id=53d6a3
|
|
It wasn't correctly set as modal.
origin commit:
https://git.gnome.org/browse/evince/commit/?h=gnome-3-2&id=987aab6
|
|
....in ev-view-presentation
This was introduced again in previous commit.
|
|
Create rendering jobs with a scale that incorporate the scale factor of
the widget, and then use cairo_surface_set_device_scale() to make the
resulting surfaces render at the correct size. Handle changes to the scale
factor both for the cached surfaces, and also for the monitor dimensions,
which are reported in scaled coordinates.
https://bugzilla.gnome.org/show_bug.cgi?id=723431
origin commit:
https://git.gnome.org/browse/evince/commit/?id=37c13b
|
|
Fail when device scale is not 1 if hidpi is not available, we were doing
the opposite.
origin commit:
https://git.gnome.org/browse/evince/commit/?id=90a258
|
|
Make EvPixbufCache generate surfaces with extra resolution based on
gtk_widget_get_scale_factor(). Handle cairo surfaces with a device
scale in ev_view_draw(). Trigger an update of the pixbuf cache when
the scale factor changes.
https://bugzilla.gnome.org/show_bug.cgi?id=723431
origin commit:
https://git.gnome.org/browse/evince/commit/?id=a612f8
|
|
|
|
With the recent changes in gtk+, widgets have to draw themselves,
causing the current use of gdk_window_set_background_rgba to fail.
https://bugzilla.gnome.org/show_bug.cgi?id=765557
view: Redraw ev-view-presentation when setting normal and black mode.
The black and normal mode are the same from the CSS point of view.
The difference is that in the draw function the page is not drawn
in black mode. Hence, we need to explicitly queue a redraw in these
cases. Since setting the white mode add a CSS class, this queues
the redraw for us.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=772390.
origin commits:
https://git.gnome.org/browse/evince/commit/?id=2b352b3
https://git.gnome.org/browse/evince/commit/?id=b3f49f4
Fixes https://github.com/mate-desktop/atril/issues/232
|
|
origin commit:
https://git.gnome.org/browse/evince/commit/shell?h=gnome-3-6&id=65fa4ff
|
|
origin commit:
https://git.gnome.org/browse/evince/commit/?h=gnome-3-6&id=ba06a5e
|
|
origin commit:
https://git.gnome.org/browse/evince/commit/?h=gnome-3-6&id=8c240d9
|
|
origin commit:
https://git.gnome.org/browse/evince/commit/?h=gnome-3-6&id=45be486
|
|
origin commit:
https://git.gnome.org/browse/evince/commit/?id=119e6ac
|
|
|
|
|
|
Check whether there are some pages in the opened document
when processing button events to avoid crash.
https://bugzilla.gnome.org/show_bug.cgi?id=769700
origin commit:
https://git.gnome.org/browse/evince/commit/?id=f30aed7
|
|
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
|
|
Fix crash on corrupted PDF with no pages.
Thanks to Juha Kylmänen from OUSPG who were testing robutness.
(CVE-2013-3718).
libview: Fix warning on ev_view_document_changed_cb
There was an introduction of a warning when fixing the bug
https://bugzilla.gnome.org/show_bug.cgi?id=701302
If ev_view_document_changed_cb () is emitted when there
is no previous document, the check fails.
This patch change the order of the condition checks.
origin commits:
https://git.gnome.org/browse/evince/commit/?h=gnome-3-8&id=62b1585
https://git.gnome.org/browse/evince/commit/?h=gnome-3-8&id=5431595
|
|
Remove the EvLoadingWindow from libview and move the implementation to
the shell using a EvLoadingMessage widget and GtkOverlay. EvView has now
a is-loading property that allows the users to implement their own
loading notification system. This fixes several realted to the loading
window.
origin commit:
https://git.gnome.org/browse/evince/commit/?h=gnome-3-8&id=035c1cb
|
|
Since there was only the one, also remove the whole glib-genmarshal setup.
If we ever need another non-stock marshaler, we'll just use the new glib
generic marshaler.
origin commit:
https://git.gnome.org/browse/evince/commit/?h=gnome-3-6&id=fe7f842
|
|
Use g_printerr, not g_print.
origin commit:
https://git.gnome.org/browse/evince/commit/?h=gnome-3-6&id=3b59d64
|
|
Remove TotemScrsaver copy, and use GtkApplication inhibition instead.
origin commit:
https://git.gnome.org/browse/evince/commit/?h=gnome-3-6&id=612701f
|
|
origin commit:
https://git.gnome.org/browse/evince/commit/?h=gnome-3-6&id=b999bdd
|
|
These are really runtime errors, not warnings, so just use g_printerr.
origin commit:
https://git.gnome.org/browse/evince/commit/?id=adbed8b
|
|
origin commit:
https://git.gnome.org/browse/evince/commit/?h=gnome-3-6&id=1b3d4dd
|
|
origin commit:
https://git.gnome.org/browse/evince/commit/?h=gnome-3-6&id=1aac15e
|
|
origin commit:
https://git.gnome.org/browse/evince/commit/?h=gnome-3-6&id=5141dcb
|
|
origin commit:
https://git.gnome.org/browse/evince/commit/?h=gnome-3-6&id=c9aada8
|
|
The web-view callback for inverted colors got called, and if it did not find a web-view open
it defaulted to FALSE for inverted colors.
origin commit:
https://github.com/linuxmint/xreader/commit/abb5060
https://github.com/linuxmint/xreader/issues/38
|
|
Getting colors for a state different from the current state of the
corresponding widget without saving the context might trigger an
invalidation and a redraw. Because this was happening from the draw
function this resulted in a redraw loop and constant high CPU usage.
This could be triggered by selecting text or searching.
https://bugzilla.gnome.org/show_bug.cgi?id=755442
inspired by:
https://git.gnome.org/browse/evince/commit/?id=1987f04
https://github.com/linuxmint/xreader/commit/e76a18d
|
|
inspired by:
https://github.com/linuxmint/xreader/commit/63a28f
https://github.com/linuxmint/xreader/issues/165
|
|
origin commit:
https://github.com/linuxmint/xreader/commit/6ed0ee1
Note: origin commit causes some serious build warnings,
......fixed.
|
|
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
|
|
fixes conflict with zoom_in
|