summaryrefslogtreecommitdiff
path: root/libview
AgeCommit message (Collapse)AuthorFilesLines
2016-07-22Split dual mode option into dual mode with odd and even pages on the leftraveit652-26/+22
2016-07-22document-model: Make dual mode and dual mode odd page left mutally exclusiveraveit651-0/+10
The can't be set at the same time, but they can be both unset. taken from: https://git.gnome.org/browse/evince/commit/?id=39106f4
2016-07-22Use document-send icon for Send To actionraveit652-1/+3
taken from: https://git.gnome.org/browse/evince/commit/?id=fff0e69
2016-07-03ev-view: add missing semicolon to gtk-doc commentraveit651-1/+1
g-ir-scanner will emit a warning otherwise. https://bugzilla.gnome.org/show_bug.cgi?id=691354 taken from: https://git.gnome.org/browse/evince/commit/?id=8ee8b7e
2016-07-03GTK+-3 libview: Fix compiler warningsraveit652-0/+13
Add dummy handling of the GDK_SCROLL_SMOOTH direction. taken from: https://git.gnome.org/browse/evince/commit/?id=231445d
2016-07-03GTK+-3 ev-view-presentation: Fix a crash during the build with introspection ↵raveit651-15/+22
enabled Using GI_SCANNER_DEBUG=save-temps, the temporal files remained. It has been suggested that calling gtk_style_context_add_provider_for_screen() should, inside a g_once_init(), be in the class's _init() (not class_init()) hook. https://bugzilla.gnome.org/show_bug.cgi?id=726812 taken from: https://git.gnome.org/browse/evince/commit/?id=a203fc1
2016-07-03ev-view: Fix compile warningraveit651-1/+1
taken from: https://git.gnome.org/browse/evince/commit/?id=4657961
2016-07-03GTK+-3.20 ev-view: Update EvView style to use CSS node nameraveit651-0/+4
2016-07-03Gtk+-3 ev-view: Set a style class on the view so it can be more easily styledraveit651-0/+15
And share the style we use for other content views. https://bugzilla.gnome.org/show_bug.cgi?id=653294 taken from: https://git.gnome.org/browse/evince/commit/?id=a56186e call gtk_style_context_set_background() Even if we now render a background in _draw() with gtk_render_background, using gtk_style_context_set_background() in realize makes the backing GdkWindow not being completely transparent, which enables GTK to apply optimizations during the paint cycle. The result is, especially in clutter-gtk applications such as Documents, scrolling in a document page is much smoother. taken from: https://git.gnome.org/browse/evince/commit/?id=1785924
2016-07-03GTK+-3 ev-view-private: Use GtkContainer and GtkContainerClass in EvView and ↵raveit651-2/+8
EvViewClass https://bugzilla.gnome.org/show_bug.cgi?id=685362 taken from: https://git.gnome.org/browse/evince/commit/?id=9c007a9
2016-07-03GTK+-3 ev-view: Make EvView inherit from GtkContainer instead of GtkFixedraveit652-25/+217
It makes handling child widgets easier. Based on patch by José aliste, see bug http://bugzilla.gnome.org/show_bug.cgi?id=573748 taken from: https://git.gnome.org/browse/evince/commit/?id=de237e0
2016-06-29libview: Add an option to show odd pages on the left in dual moderaveit652-28/+34
Added a dual_even_left flag to EvView. When this flag is false, odd pages appear left instead of even ones. All the logic has been added to get_dual_even_left(). The patch is a bit more involved because build_height_to_page() was computing dual_even_left directly instead of calling get_dual_even_left(). Rather than implementing the logic twice, we replaced its EvDocument argument by its enclosing EvView in order to be able to call get_dual_even_left() directly. This function was renamed into ev_view_build_height_to_page_cache() to reflect it is now a view method. See http://bugzilla.gnome.org/show_bug.cgi?id=444587 taken from: https://git.gnome.org/browse/evince/commit/?id=f065e36
2016-06-29libview: Add dual-odd-left property to EvDocumentModelraveit652-0/+42
taken from: https://git.gnome.org/browse/evince/commit/?id=1346a98
2016-06-29GTK+-3 ev-view-presentation: Fix a unused-but-set-variable compile warningraveit651-0/+4
taken from: https://git.gnome.org/browse/evince/commit/?id=0981802
2016-06-29GTK+-3: Use ev_document_misc_get_pointer_position() instad of deprecated ↵raveit652-2/+42
gtk_widget_get_pointer()
2016-06-24libdocument: Make EvSourceLink boxed.raveit651-1/+1
https://bugzilla.gnome.org/show_bug.cgi?id=635705 taken from: https://git.gnome.org/browse/evince/commit/?id=0ac0898
2016-06-24document-model: annotate ev_document_model_get_document()raveit651-0/+8
So that introspected bindings can call into this method. https://bugzilla.gnome.org/show_bug.cgi?id=662720 taken from: https://git.gnome.org/browse/evince/commit/?id=a6b50f1
2016-06-24GTK+-3: Use GtkGrid instead of GtkTableraveit651-0/+29
taken from: https://git.gnome.org/browse/evince/commit/?id=da8f31e
2016-06-22GTK3 ev-timeline: don't use deprecated gdk_threads_{enter/leave} ()raveit651-0/+5
2016-06-22GTK+-3: do not use deprecated gtk_{h/v}box_newraveit653-0/+7
2016-02-01fix some build warningsmonsta1-2/+0
2015-09-02libview: removed 'x' attribute from a header filemonsta1-0/+0
2015-08-31drop support for win32/osx/hildon, make smclient mandatoryMonsta1-7/+0
2015-08-08use GObject instead of deprecated GtkObject in GTK+2 as wellMonsta2-50/+1
2015-03-19corrected bug tracker links everywhereMonsta1-2/+2
Closes https://github.com/mate-desktop/atril/pull/132
2015-03-15webkit: indicate that job failed when the thumbnail loading failsMonsta1-7/+8
in GTK+3 build as well
2015-03-15webkit changesMonsta1-16/+42
- GTK+2 build: use signals to get notifications about load finish and errors (instead of polling in idle function) - GTK+2 build: indicate that job failed when the thumbnail loading fails - it doesn't seem to change anything though, but gotta figure out how to do the same in GTK+3 build for consistency - changed lock/unlock logic so that there's no locking in a function and unlocking in a callback
2015-03-15webkit: don't connect signal handlers more than onceMonsta1-12/+33
avoids calling the callback twice and crashing in GTK+3 build (because that callback unlocks the mutex, and glib gets angry when you unlock a mutex twice) Closes https://github.com/mate-desktop/atril/pull/128
2014-12-10libview: clear caches after destroying child widgets.infirit1-1/+1
Taken from evince commit: 4de037ccccb4d836db43bf97fdaacf7c02ffb1f1 From: Marek Kašík <[email protected]>
2014-12-10a11: using ATK_ROLE_DOCUMENT_FRAME it's more correctinfirit1-1/+1
Taken from evince commit: dae88237d66fd49588cc27136c59376c443f9e9f From: danigm <[email protected]>
2014-12-10a11y: fixed offset index errorinfirit1-1/+1
Taken from evince commit: af0c0f056f8e2f64244df3b7cf1132347f4a9716 From: danigm <[email protected]>
2014-12-10a11y: checking null before setting text_buffer textinfirit1-1/+2
Taken from evince commit: 88aee427ed3c45f7d84216f5512fbb07ce164edd From: danigm <[email protected]>
2014-12-10libview: Save contents of FormTextFields when they loss focus.infirit1-1/+17
Taken from evince commit: c8104d3426a7bd7ce6570a87363e4edeea472fce From: José Aliste <[email protected]> Gnome bug: https://bugzilla.gnome.org/show_bug.cgi?id=624921
2014-12-10libview: remove all widgets from the View when reloading the docinfirit1-0/+1
Taken from evince commit: 8434736a712f5b93d1f3909221abe0b88096f78a From: José Aliste <[email protected]> Gnome bug: https://bugzilla.gnome.org/show_bug.cgi?id=632087
2014-12-10libview: Only accept focus on annot windows when pointer is on the windowinfirit1-1/+21
It prevents focus stealing when scrolling with keyboard. Taken from evince commit: 8a635b0b7d54cecc864299c8decbcc51b3c068a9 From: Carlos Garcia Campos <[email protected]> Gnome bug: https://bugzilla.gnome.org/show_bug.cgi?id=623829
2014-12-10libview: Use a popup window instead of a toplevel for loading windowinfirit1-0/+1
Taken from evince commit: 464ec9077f4bc709e50c83372c9d4e1703533efa From: Carlos Garcia Campos <[email protected]> Gnome bug: https://bugzilla.gnome.org/show_bug.cgi?id=633475
2014-12-10presentation: Allow to change rotation in presentation modeinfirit2-18/+76
Taken from evince commit: ef9c2b1a189ddbdbd7cdb10dad6c3c6db4cb0ccd From: Carlos Garcia Campos <[email protected]>
2014-12-10presentation: Make next/previous methods publicinfirit2-4/+4
Taken from evince commit: f0361693221cdd168386509b6ffe97c72d21777a From: Carlos Garcia Campos <[email protected]>
2014-12-10Gtk3: presentation: Make sure background window is black by default in ↵infirit1-1/+17
presentation mode Taken from evince commit: cb45bdc33321121e2e0ec14e0c74530623180858 From: Carlos Garcia Campos <[email protected]>
2014-12-10libview: Make sure a11y is initialized before checking whether it's enabledinfirit1-7/+21
Taken from evince commit: 629c01120f1b2fb0ffdea5e95d2346bab5fb98ee From: Carlos Garcia Campos <[email protected]>
2014-12-10Gtk3: Use gtk_widget_render_icon_pixbuf()infirit1-0/+1
2014-12-10Gtk3: Don't use gdk_cursor_unref()infirit3-0/+12
2014-12-10Gtk3: libview: Port EvViewPresentation to GtkStyleContextinfirit1-9/+31
Taken from evince commit: afa18f6b0d2d1851d5b89aba42b2ab263c00710b From: Carlos Garcia Campos <[email protected]>
2014-12-10Gtk3: libview: Port EvAnnotationWindow to GtkStyleContextinfirit1-2/+28
Taken from evince commit: 0e3c1a6bbc18562c515bd10e2ca9d5bf32b9780f From: Carlos Garcia Campos <[email protected]>
2014-12-10Gtk3: libview: Port EvView and EvPixbufCache to GtkStyleContextinfirit2-7/+80
Taken from evince commit: 7d5e358fb59172812ea0a4bf8ee6502405abc58e From: Carlos Garcia Campos <[email protected]>
2014-12-10Gtk3: libview: Port EvLoadingWindow to GtkStyleContextinfirit1-0/+25
Taken from evince commit: 082ba0dbfeed04fb5cb5bb2e5d81c77c831e8c7a From: Matthias Clasen <[email protected]>
2014-12-09libview: Stop the GtkSpinner when the loading window is hiddeninfirit1-5/+17
Taken from evince commit: 220956ee03fa37fb55079aff63675db26cd908f9 From: Cristian KLEIN <[email protected]> Gnome bug: https://bugzilla.gnome.org/show_bug.cgi?id=637390
2014-12-09libview: make sure gtk_print_operation_cancel() is called from draw-page ↵infirit1-7/+33
callback Fixes crash when printing operation is cancelled. Taken from evince commit: a09aa79195825d5d9c80c36362203c7c36a5e914 From: Carlos Garcia Campos <[email protected]> Gnome bug: https://bugzilla.gnome.org/show_bug.cgi?id=635619
2014-12-09libview: return early when print job was cancelled during page renderinginfirit1-0/+3
Taken from evince commit: ae4835dbed02ae928d96fb6360f7d5c62416044b From: Carlos Garcia Campos <[email protected]>
2014-12-09libview: make sure cancellable object is always cancelled in ev_job_cancel()infirit1-1/+5
It's safe to call it multiple times, and we still don't emit our cancelled signal for finished jobs. Taken from evince commit: 87084fb2aabc726343f6515c09ac6d2bba42afb1 From: Carlos Garcia Campos <[email protected]>