Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell
Commit message (Collapse)AuthorAgeFilesLines
* Add a changed event that is emitted when the page content changes. This isMarco Pesenti Gritti2004-12-311-3/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-12-31 Marco Pesenti Gritti <marco@gnome.org> * backend/ev-document.c: (ev_document_base_init), (ev_document_changed): * backend/ev-document.h: Add a changed event that is emitted when the page content changes. This is necessary to deal with the fact that in ps backend rendering happen asycrounously. This makes the ps backend mostly work. * pdf/xpdf/pdf-document.cc: Emit changed event * ps/gtkgs.c: (set_up_page), (gtk_gs_widget_event), (ps_document_set_target): Emit changed event * shell/ev-view.c: (document_changed_callback), (ev_view_set_document), (ev_view_set_page): Redraw on the changed signal
* * backend/ev-document-bookmarks.h: * pdf/xpdf/Makefile.am: *Jonathan Blandford2004-12-245-18/+193
| | | | | | | | | | | | | | | | | | | | | Fri Dec 24 00:48:44 2004 Jonathan Blandford <jrb@redhat.com> * backend/ev-document-bookmarks.c: (ev_document_bookmarks_get_child): * backend/ev-document-bookmarks.h: * pdf/xpdf/Makefile.am: * pdf/xpdf/pdf-document.cc: * pdf/xpdf/pdf-document.h: * shell/Makefile.am: * shell/ev-sidebar-bookmarks.c: (ev_sidebar_bookmarks_destroy), (ev_sidebar_bookmarks_class_init), (ev_sidebar_bookmarks_construct), (stack_data_free), (do_one_iteration), (populate_bookmarks_idle), (ev_sidebar_bookmarks_clear_document), (ev_sidebar_bookmarks_set_document): * shell/ev-sidebar-bookmarks.h: * shell/ev-sidebar.c: (ev_sidebar_add_page), (ev_sidebar_set_document): * shell/ev-window.c: (ev_window_open): Initial stab at a bookmarks sidebar. It doesn't navigate yet, but it displays both the topics and the page numbers.
* Set sidebar default value to visible.Kristian Høgsberg2004-12-231-1/+1
|
* Hook up sidebar toggle.Kristian Høgsberg2004-12-231-1/+5
| | | | | | | 2004-12-23 Kristian Høgsberg <krh@redhat.com> * shell/ev-window.c (ev_window_view_sidebar_cb): Hook up sidebar toggle.
* hook up potentially-questionable "find results status text" feature -Havoc Pennington2004-12-235-7/+185
| | | | | | | | | | | | | | 2004-12-23 Havoc Pennington <hp@redhat.com> * shell/ev-window.c: hook up potentially-questionable "find results status text" feature - something involving the sidebar or scrollbar or a continuous all-pages-on-giant-roll-of-paper-view might be better in the end. * shell/ev-view.c (ev_view_get_find_status_message): new function, with corresponding signal when it should be updated * shell/eggfindbar.c (egg_find_bar_set_status_text): new function
* make search find stuff on other pages, sort of (only returns one result onHavoc Pennington2004-12-231-15/+33
| | | | | | | | | | 2004-12-22 Havoc Pennington <hp@redhat.com> * pdf/xpdf/pdf-document.cc (pdf_document_find_begin): make search find stuff on other pages, sort of (only returns one result on invisible pages, to show they have results; updates full results for a page when you view it). Currently repaints the current page every time a new result is found on any page, which isn't so nice.
* display an error if the document doesn't support find (better ideas?)Havoc Pennington2004-12-232-9/+40
| | | | | | | | | | | | | | | | 2004-12-22 Havoc Pennington <hp@redhat.com> * shell/ev-window.c (ev_window_cmd_edit_find): display an error if the document doesn't support find (better ideas?) (find_bar_search_changed_cb): handle missing document or document that doesn't support find * pdf/xpdf/pdf-document.cc: port to implement the new EvDocumentFindIface * backend/ev-document-find.c: create a new interface for searching * backend/ev-document.h, backend/ev-document.c: delete the find stuff
* add GnomePrintJob to EvPrintJob constructor arguments.Martin Kretzschmar2004-12-231-1/+2
| | | | | | | | | | | | | | | | | * shell/ev-window.c (ev_window_print): add GnomePrintJob to EvPrintJob constructor arguments. * backend/ev-ps-exporter.c, backend/ev-ps-exporter.h: interface for documents that can export PostScript (page by page). * backend/Makefile.am (libevbackend_la_SOURCES): add them. * pdf/xpdf/pdf-document.cc (pdf_document_ps_export_begin) (pdf_document_ps_export_do_page, pdf_document_ps_export_end) (pdf_document_ps_exporter_iface_init: Implement EvPSExporter. * pdf/xpdf/Makefile.am (libxpdf_la_SOURCES): build PSOutputDev.
* Set up a print dialog for "PostScript injection" method.Martin Kretzschmar2004-12-224-2/+197
| | | | | | | | | | | * shell/ev-window.c (ev_window_cmd_file_print, ev_window_print) (using_postscript_printer): Set up a print dialog for "PostScript injection" method. * shell/ev-print-job.h, shell/ev-print-job.c: stub classes for EvPrintJob. * shell/Makefile.am (evince_SOURCES): add ev-print-job.[ch]
* Add thumbnail support.Anders Carlsson2004-12-226-13/+384
| | | | | | | | | | | | | | | | | | | | | | | | 2004-12-22 Anders Carlsson <andersca@gnome.org> * backend/Makefile.am: * backend/ev-document-thumbnails.c: (ev_document_thumbnails_get_type), (ev_document_thumbnails_get_thumbnail): * backend/ev-document-thumbnails.h: * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE), (pixbuf_document_thumbnails_get_thumbnail), (pixbuf_document_document_thumbnails_iface_init): * shell/Makefile.am: * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_destroy), (ev_sidebar_thumbnails_class_init), (ev_sidebar_thumbnails_init), (populate_thumbnails), (ev_sidebar_thumbnails_set_document): * shell/ev-sidebar-thumbnails.h: * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page), (ev_sidebar_set_document): * shell/ev-utils.c: (gaussian), (create_blur_filter), (create_shadow), (ev_pixbuf_add_shadow): * shell/ev-utils.h: Add thumbnail support.
* initial sidebar document setting code.Jonathan Blandford2004-12-225-9/+139
| | | | | | | Wed Dec 22 13:41:01 2004 Jonathan Blandford <jrb@redhat.com> * shell/ev-sidebar.c (ev_sidebar_set_document): initial sidebar document setting code.
* Animate the next button when activate is pressed.Anders Carlsson2004-12-221-1/+4
| | | | | | | 2004-12-22 Anders Carlsson <andersca@gnome.org> * shell/eggfindbar.c: (entry_activate_callback): Animate the next button when activate is pressed.
* Fix bugs in fullscreen code.Anders Carlsson2004-12-221-4/+43
| | | | | | | | | | 2004-12-22 Anders Carlsson <andersca@gnome.org> * shell/ev-window.c: (ev_window_cmd_edit_find), (update_fullscreen_popup), (ev_window_fullscreen), (ev_window_unfullscreen), (ev_window_state_event_cb), (ev_window_focus_out_cb), (find_bar_close_cb), (ev_window_init): Fix bugs in fullscreen code.
* Add pixbuf backend.Anders Carlsson2004-12-223-4/+51
| | | | | | | | | | | | | | | | | | | | | | | 2004-12-22 Anders Carlsson <andersca@gnome.org> * Makefile.am: * configure.ac: * pixbuf/Makefile.am: * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE), (pixbuf_document_load), (pixbuf_document_get_n_pages), (pixbuf_document_set_page), (pixbuf_document_get_page), (pixbuf_document_set_target), (pixbuf_document_set_scale), (pixbuf_document_set_page_offset), (pixbuf_document_get_page_size), (pixbuf_document_render), (pixbuf_document_begin_find), (pixbuf_document_end_find), (pixbuf_document_finalize), (pixbuf_document_class_init), (pixbuf_document_document_iface_init), (pixbuf_document_init): * pixbuf/pixbuf-document.h: * shell/Makefile.am: * shell/ev-application.c: (ev_application_open): * shell/ev-window.c: (mime_type_supported_by_gdk_pixbuf), (ev_window_open): Add pixbuf backend.
* *** empty log message ***Marco Pesenti Gritti2004-12-223-1/+6
|
* Add fullscreen support from Epiphany.Anders Carlsson2004-12-221-6/+184
| | | | | | | | | | | | 2004-12-22 Anders Carlsson <andersca@gnome.org> * shell/ev-window.c: (update_fullscreen_popup), (screen_size_changed_cb), (destroy_exit_fullscreen_popup), (exit_fullscreen_button_clicked_cb), (fullscreen_popup_size_request_cb), (ev_window_fullscreen), (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen), (ev_window_state_event_cb), (ev_window_init): Add fullscreen support from Epiphany.
* fit-width stock icon from gpdf.Mark McLoughlin2004-12-225-1/+109
| | | | | | | | | | | | | | | 2004-12-22 Mark McLoughlin <mark@skynet.ie> * data/ev-stock-zoom-fit-width.png: fit-width stock icon from gpdf. * shell/ev-stock-icons.[ch]: copied from gpdf. * shell/main.c: (main): init stock icons. * shell/ev-window.c: use the fit-width icon. * data/evince-ui.xml: add zooming toolbar items.
* because get_page_size() returns the scaled page size, we need to calculateMark McLoughlin2004-12-221-3/+3
| | | | | | | | | | | 2004-12-22 Mark McLoughlin <mark@skynet.ie> * shell/ev-view.c: (ev_view_best_fit), (ev_view_fit_width): because get_page_size() returns the scaled page size, we need to calculate the scale factor relative to the previous scale factor. Should really just add get_real_page_size().
* add zooming.Mark McLoughlin2004-12-223-5/+96
| | | | | | | | | | | | | | | | | | 2004-12-22 Mark McLoughlin <mark@skynet.ie> * shell/ev-view.[ch]: (ev_view_zoom), (ev_view_zoom_in), (ev_view_zoom_out), (ev_view_normal_size), (ev_view_best_fit), (ev_view_fit_width): add zooming. * shell/ev-window.c: (ev_window_cmd_view_zoom_in), (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_normal_size), (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width): hook it up. * pdf/xpdf/pdf-document.cc: (pdf_document_begin_find), (pdf_document_end_find): make static.
* Removed unused shell/global-params.* (was still there from old evince code)Martin Kretzschmar2004-12-222-72/+0
|
* load files from the command line.Mark McLoughlin2004-12-222-69/+78
| | | | | | | | | | | | | | | | | | | 2004-12-22 Mark McLoughlin <mark@skynet.ie> * shell/main.c: (load_files), (main): load files from the command line. 2004-12-22 Mark McLoughlin <mark@skynet.ie> * configure.ac: don't require bonobo. * cut-n-paste/recent-files/*: kill bonobo recent view. * shell/ev-window.c: (ev_window_is_empty): upd. (unable_to_load), (ev_window_open): load backend based on the mime type.
* (main): this is not epiphany.Martin Kretzschmar2004-12-221-1/+1
|
* connect to "found" signal (expose_bin_window): draw find highlightsHavoc Pennington2004-12-222-4/+76
| | | | | | | | | | | | | | | 2004-12-22 Havoc Pennington <hp@redhat.com> * shell/ev-view.c (ev_view_set_document): connect to "found" signal (expose_bin_window): draw find highlights * shell/ev-window.c (find_bar_search_changed_cb): implement * pdf/xpdf/pdf-document.cc (pdf_document_begin_find) (pdf_document_end_find): implement this interface * backend/ev-document.c (ev_document_found): add this to emit signal
* Add a few more toolbar items.Owen Taylor2004-12-224-7/+105
| | | | | | | | | | | | | | | | | | Tue Dec 21 23:57:37 2004 Owen Taylor <otaylor@redhat.com> * data/evince-ui.xml: Add a few more toolbar items. * shell/ev-window.c: Hook up page navigation toolbar items. * shell/ev-view.[ch]: add ev_view_set/get_page and a page-changed signal. * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc:: Add ev_document_get_page(). * shell/ev-window.c: Sensitize/desensitize navigation actions.
* Construct an actual sidebar.Jonathan Blandford2004-12-228-2/+426
| | | | | | | | Tue Dec 21 23:20:35 2004 Jonathan Blandford <jrb@redhat.com> * shell/ev-sidebar.c: Construct an actual sidebar. * shell/ev-sidebar-bookmarks.[ch]: * shell/ev-sidebar-thumbnails.[ch]: Stub out sidebars.
* Redo size handling.Owen Taylor2004-12-221-4/+21
| | | | | | | | | Tue Dec 21 23:05:51 2004 Owen Taylor <otaylor@redhat.com> * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc: Redo size handling. * shell/ev-view.c: Track the size from the document.
* PDFDoc constructor assumes ownership of the string passed in.Owen Taylor2004-12-221-0/+1
| | | | | | | | | | Tue Dec 21 22:17:04 2004 Owen Taylor <otaylor@redhat.com> * pdf/xpdf/pdf-document.cc (pdf_document_load): PDFDoc constructor assumes ownership of the string passed in. * shell/ev-window.c (ev_window_open): Destroy the error dialog once we've displayed it.
* Hook things up a bit, it works! (sort of)Owen Taylor2004-12-223-4/+24
| | | | | | | | | | | | | Tue Dec 21 21:58:56 2004 Owen Taylor <otaylor@redhat.com> * pdf/xpdf/pdf-document.cc shell/ev-view.c: Hook things up a bit, it works! (sort of) * pdf/xpdf/Makefile.am pdf/xpdf/pdf-document.cc: Move to .cc since we need to use C++ in the implementation. * shell/dummy.cc: Add a CC file to force evince to be linked as a C++ program.x
* Start of content-area widget.Owen Taylor2004-12-226-5/+500
| | | | | | | | | | | | Tue Dec 21 21:07:55 2004 Owen Taylor <otaylor@redhat.com> * shell/ev-view.[ch]: Start of content-area widget. * shell/ev-window.c: Create a EvView, update it as we change documents. * shell/Makefile.am shell/ev-marshal.list: Add generated marshalers.
* Switch from .a to libtool convenience libraries.Owen Taylor2004-12-222-2/+35
| | | | | | | | | | | | | | | | Tue Dec 21 19:28:55 2004 Owen Taylor <otaylor@redhat.com> * pdf/{goo,fofi,splash,xpdf}/Makefile.am: Switch from .a to libtool convenience libraries. * shell/ev-window.c (ev_window_open): Hard code loading a PDF document. * backend/ev-document.h: Add a boolean return to load(), fix GError * to GError **. * pdf/xpdf/pdf-document.[ch] Makefile.am: Add a stub object for a PDF backend EvDocument.
* change buttons to previous/next instead of back/forwardHavoc Pennington2004-12-211-3/+31
| | | | | | | 2004-12-21 Havoc Pennington <hp@redhat.com> * shell/eggfindbar.c (egg_find_bar_init): change buttons to previous/next instead of back/forward
* hook up the find bar widget; now we just need a document to find things inHavoc Pennington2004-12-214-2/+820
| | | | | | | | | 2004-12-21 Havoc Pennington <hp@redhat.com> * shell/ev-window.c: hook up the find bar widget; now we just need a document to find things in * shell/eggfindbar.c: a find bar widget
* forgot theseJonathan Blandford2004-12-212-0/+135
|
* initial sidebar boilerplate.Jonathan Blandford2004-12-212-12/+25
| | | | | | Tue Dec 21 17:20:16 2004 Jonathan Blandford <jrb@redhat.com> * shell/ev-sidebar.[ch]: initial sidebar boilerplate.
* dispose can be called multiple times.Jonathan Blandford2004-12-211-1/+4
| | | | | | | Tue Dec 21 16:08:17 2004 Jonathan Blandford <jrb@redhat.com> * shell/ev-window.c (ev_window_dispose): dispose can be called multiple times.
* set title to Document Viewer rather than EvinceHavoc Pennington2004-12-211-2/+198
| | | | | | | | | | | 2004-12-21 Havoc Pennington <hp@redhat.com> * shell/ev-window.c (ev_window_init): set title to Document Viewer rather than Evince * data/evince-ui.xml, shell/ev-window.c: add a bunch of stub menu items; really they should be synced with the strings, etc. from current gpdf, but just getting the boring typing out of the way
* Actually show the window...Marco Pesenti Gritti2004-12-213-3/+8
| | | | | | | | | | | 2004-12-21 Marco Pesenti Gritti <marco@gnome.org> * po/POTFILES.in: * shell/ev-application.c: (window_destroy_cb): * shell/ev-window.c: * shell/main.c: (main): Actually show the window...
* add cvsignoresMarco Pesenti Gritti2004-12-211-0/+3
|
* *** empty log message ***Marco Pesenti Gritti2004-12-213-33/+7
|
* Initial revisionMarco Pesenti Gritti2004-12-218-0/+992