summaryrefslogtreecommitdiff
path: root/libview/ev-pixbuf-cache.c
AgeCommit message (Collapse)AuthorFilesLines
2017-09-06ev-pixbuf-cache: schedule prev or next jobs first depending on the scroll ↵Carlos Garcia Campos1-14/+69
direction If we are scrolling down schedule next pages first, otherwise schedule the previous pages first. origin commit: https://git.gnome.org/browse/evince/commit/?h=gnome-3-10&id=b6f27b6
2017-09-06ev-pixbuf-cache: Schedule jobs to render previous pages in inverse orderCarlos Garcia Campos1-1/+1
origin commit: https://git.gnome.org/browse/evince/commit/?h=gnome-3-10&id=ceacd4e
2017-09-06libview: Use prepend + reverse instead of append to create selections listCarlos Garcia Campos1-4/+4
origin commit: https://git.gnome.org/browse/evince/commit/?h=gnome-3-10&id=c30e9b1
2017-09-06libview: Use GSlice to allocate EvViewSelectionCarlos Garcia Campos1-3/+3
These structs are allocated and deallocated a lot while selecting text and merging selection regions. orign commit: https://git.gnome.org/browse/evince/commit/?h=gnome-3-10&id=dc1e75b7be87
2017-09-06libview: Split ev_pixbuf_cache_get_selection_surface into two functionsJason Crain1-25/+98
ev_pixbuf_cache_get_selection_surface returns the selection surface, and new function ev_pixbuf_cache_get_selection_region returns the selection region. https://bugzilla.gnome.org/show_bug.cgi?id=669022 origin commit: https://git.gnome.org/browse/evince/commit/?h=gnome-3-10&id=90d6580
2017-09-06libview: Draw selection highlight from regionJason Crain1-29/+18
Allows a fallback for backends which can implement get_selection_region but not render_selection. Changes ev-pixbuf-cache so a redraw is only done when the scale changes. https://bugzilla.gnome.org/show_bug.cgi?id=669022 origin commit: https://git.gnome.org/browse/evince/commit/?h=gnome-3-10&id=9e89fb1
2017-08-12Add hi-dpi support for main view.Matthew Petroff1-14/+50
Based on Evince commits 8b965e769808815df9c75a10a0e4972c0904d26a and a612f809e4e23d88a661a9604ce84f332189a658. https://github.com/linuxmint/xreader/commit/4eccf6b
2017-02-20First page should not reloadednanxiongchao1-1/+1
For the displayed page, do not reload every time, should be displayed immediately Tested successfully on Loongson 3A2000 with fedora25(mips64el distribution).
2016-11-23move to GTK+3 (>= 3.14), drop GTK+2 code and --with-gtk build optionmonsta1-37/+0
and require caja >= 1.17.1
2014-12-10Gtk3: libview: Port EvView and EvPixbufCache to GtkStyleContextinfirit1-0/+41
Taken from evince commit: 7d5e358fb59172812ea0a4bf8ee6502405abc58e From: Carlos Garcia Campos <[email protected]>
2014-12-09libview: Make sure we have a valid page range before getting/setting ↵infirit1-0/+6
selection list Taken from evince commit: a3b87cb28e46958b37e384a47604032ea0889807 From: Carlos Garcia Campos <[email protected]> Gnome bug: https://bugzilla.gnome.org/show_bug.cgi?id=630999
2014-08-21Fix crash when clicking empty canvas while loading.Matvey Soloviev1-1/+1
2011-11-09inicialPerberos1-0/+1192