Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/pdf
Commit message (Collapse)AuthorAgeFilesLines
* Reorganize source tree.Nickolay V. Shmyrev2007-01-083-1779/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-01-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru> * Makefile.am: * backend/Makefile.am: * backend/comics/Makefile.am: * backend/djvu/Makefile.am: * backend/dvi/Makefile.am: * backend/ev-async-renderer.c: * backend/ev-async-renderer.h: * backend/ev-attachment.c: * backend/ev-attachment.h: * backend/ev-backend-marshal.c: * backend/ev-document-factory.c: * backend/ev-document-factory.h: * backend/ev-document-find.c: * backend/ev-document-find.h: * backend/ev-document-fonts.c: * backend/ev-document-fonts.h: * backend/ev-document-images.c: * backend/ev-document-images.h: * backend/ev-document-info.h: * backend/ev-document-links.c: * backend/ev-document-links.h: * backend/ev-document-misc.c: * backend/ev-document-misc.h: * backend/ev-document-security.c: * backend/ev-document-security.h: * backend/ev-document-thumbnails.c: * backend/ev-document-thumbnails.h: * backend/ev-document-transition.c: * backend/ev-document-transition.h: * backend/ev-document.c: * backend/ev-document.h: * backend/ev-file-exporter.c: * backend/ev-file-exporter.h: * backend/ev-image.c: * backend/ev-image.h: * backend/ev-link-action.c: * backend/ev-link-action.h: * backend/ev-link-dest.c: * backend/ev-link-dest.h: * backend/ev-link.c: * backend/ev-link.h: * backend/ev-render-context.c: * backend/ev-render-context.h: * backend/ev-selection.c: * backend/ev-selection.h: * backend/impress/Makefile.am: * backend/pdf/Makefile.am: * backend/pixbuf/Makefile.am: * backend/ps/Makefile.am: * backend/ps/ps-document.c: (push_pixbuf), (interpreter_failed), (ps_document_widget_event), (setup_pixmap), (setup_page), (input), (start_interpreter), (stop_interpreter), (document_load), (ps_document_next_page), (render_page): * backend/tiff/Makefile.am: * comics/Makefile.am: * comics/comics-document.c: * comics/comics-document.h: * configure.ac: * cut-n-paste/zoom-control/ephy-zoom-control.c: * djvu/Makefile.am: * djvu/djvu-document-private.h: * djvu/djvu-document.c: * djvu/djvu-document.h: * djvu/djvu-links.c: * djvu/djvu-links.h: * djvu/djvu-text-page.c: * djvu/djvu-text-page.h: * djvu/djvu-text.c: * djvu/djvu-text.h: * dvi/Makefile.am: * dvi/dvi-document.c: * dvi/dvi-document.h: * dvi/fonts.c: * dvi/fonts.h: * dvi/mdvi-lib/Makefile.am: * dvi/mdvi-lib/afmparse.c: * dvi/mdvi-lib/afmparse.h: * dvi/mdvi-lib/bitmap.c: * dvi/mdvi-lib/bitmap.h: * dvi/mdvi-lib/color.c: * dvi/mdvi-lib/color.h: * dvi/mdvi-lib/common.c: * dvi/mdvi-lib/common.h: * dvi/mdvi-lib/defaults.h: * dvi/mdvi-lib/dvimisc.c: * dvi/mdvi-lib/dviopcodes.h: * dvi/mdvi-lib/dviread.c: * dvi/mdvi-lib/files.c: * dvi/mdvi-lib/font.c: * dvi/mdvi-lib/fontmap.c: * dvi/mdvi-lib/fontmap.h: * dvi/mdvi-lib/fontsrch.c: * dvi/mdvi-lib/gf.c: * dvi/mdvi-lib/hash.c: * dvi/mdvi-lib/hash.h: * dvi/mdvi-lib/list.c: * dvi/mdvi-lib/mdvi.h: * dvi/mdvi-lib/pagesel.c: * dvi/mdvi-lib/paper.c: * dvi/mdvi-lib/paper.h: * dvi/mdvi-lib/pk.c: * dvi/mdvi-lib/private.h: * dvi/mdvi-lib/setup.c: * dvi/mdvi-lib/sp-epsf.c: * dvi/mdvi-lib/special.c: * dvi/mdvi-lib/sysdeps.h: * dvi/mdvi-lib/t1.c: * dvi/mdvi-lib/tfm.c: * dvi/mdvi-lib/tfmfile.c: * dvi/mdvi-lib/tt.c: * dvi/mdvi-lib/util.c: * dvi/mdvi-lib/vf.c: * dvi/pixbuf-device.c: * dvi/pixbuf-device.h: * impress/Makefile.am: * impress/common.h: * impress/document.c: * impress/f_oasis.c: * impress/f_oo13.c: * impress/iksemel.c: * impress/iksemel.h: * impress/imposter.h: * impress/impress-document.c: * impress/impress-document.h: * impress/internal.h: * impress/r_back.c: * impress/r_draw.c: * impress/r_geometry.c: * impress/r_gradient.c: * impress/r_style.c: * impress/r_text.c: * impress/render.c: * impress/render.h: * impress/zip.c: * impress/zip.h: * lib/Makefile.am: * lib/ev-debug.c: * lib/ev-debug.h: * lib/ev-file-helpers.c: * lib/ev-file-helpers.h: * lib/ev-gui.c: * lib/ev-gui.h: * lib/ev-tooltip.c: * lib/ev-tooltip.h: * libdocument/Makefile.am: * libdocument/ev-file-helpers.c: * pdf/Makefile.am: * pdf/ev-poppler.cc: * pdf/ev-poppler.h: * pixbuf/Makefile.am: * pixbuf/pixbuf-document.c: * pixbuf/pixbuf-document.h: * properties/Makefile.am: * ps/Makefile.am: * ps/gsdefaults.c: * ps/gsdefaults.h: * ps/gsio.c: * ps/gsio.h: * ps/gstypes.h: * ps/ps-document.c: * ps/ps-document.h: * ps/ps.c: * ps/ps.h: * shell/Makefile.am: * shell/ev-application.h: * shell/ev-sidebar-links.c: * shell/ev-sidebar-links.h: * shell/ev-utils.c: (ev_gui_sanitise_popup_position), (ev_gui_menu_position_tree_selection): * shell/ev-utils.h: * shell/ev-view.c: (ev_view_finalize): * shell/ev-window.c: * shell/main.c: (main): * thumbnailer/Makefile.am: * tiff/Makefile.am: * tiff/tiff-document.c: * tiff/tiff-document.h: * tiff/tiff2ps.c: * tiff/tiff2ps.h: Reorganize source tree. svn path=/trunk/; revision=2197
* Add image handling support. Fixes bugs #310008 and #325047. ImagesCarlos Garcia Campos2007-01-071-0/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-01-07 Carlos Garcia Campos <carlosgc@gnome.org> * configure.ac: * data/evince-ui.xml: * pdf/ev-poppler.cc: (pdf_document_images_get_images), (pdf_document_document_images_iface_init): * backend/Makefile.am: * backend/ev-document-images.[ch]: * backend/ev-image.[ch]: * lib/ev-file-helpers.[ch]: (ev_tmp_filename): * shell/ev-jobs.[ch]: (ev_job_render_new), (ev_job_render_run), (ev_job_xfer_run): * shell/ev-pixbuf-cache.[ch]: (dispose_cache_job_info), (move_one_job), (copy_job_to_job_info), (add_job_if_needed), (ev_pixbuf_cache_get_image_mapping): * shell/ev-window.c: (view_menu_link_popup), (view_menu_image_popup), (view_menu_popup_cb), (ev_window_dispose), (image_save_dialog_response_cb), (ev_view_popup_cmd_save_image_as), (ev_view_popup_cmd_copy_image): * shell/ev-view-private.h: * shell/ev-view.c: (ev_view_get_image_at_location), (ev_view_do_popup_menu), (ev_view_popup_menu), (ev_view_button_press_event), (ev_view_drag_data_get), (ev_view_drag_motion), (ev_view_drag_data_received), (ev_view_motion_notify_event), (ev_view_button_release_event), (ev_view_finalize), (ev_view_class_init): Add image handling support. Fixes bugs #310008 and #325047. Images selection is not supported yet. svn path=/trunk/; revision=2194
* Actually remove .cvsignore filesChristian Persch2006-12-311-3/+0
| | | | svn path=/trunk/; revision=2181
* Add page transition support in presentation mode. At the moment only pageCarlos Garcia Campos2006-12-271-0/+34
| | | | | | | | | | | | | | | | | 2006-12-27 Carlos Garcia Campos <carlosgc@gnome.org> * configure.ac: * backend/Makefile.am: * backend/ev-document-transition.[ch]: * pdf/ev-poppler.cc: (pdf_document_get_page_duration), (pdf_document_page_transition_iface_init): * shell/ev-view-private.h: * shell/ev-view.c: (ev_view_destroy), (page_changed_cb), (ev_view_set_presentation), (transition_next_page), (ev_view_presentation_transition_stop), (ev_view_presentation_transition_start), (ev_view_next_page): Add page transition support in presentation mode. At the moment only page duration is supported, but not transition effects. Fixes bug #309815.
* Make cairo-pdf depedency optional.Carlos Garcia Campos2006-12-181-2/+12
| | | | | | | | | 2006-12-18 Carlos Garcia Campos <carlosgc@gnome.org> * configure.ac: * pdf/ev-poppler.cc: (pdf_print_context_free), (pdf_document_file_exporter_begin), (pdf_document_file_exporter_do_page): Make cairo-pdf depedency optional.
* Use an specific lock for FontConfig. Hopefully it fixes some crashesCarlos Garcia Campos2006-12-181-0/+2
| | | | | | | | | | | | 2006-12-18 Carlos Garcia Campos <carlosgc@gnome.org> * backend/ev-document.[ch]: (ev_document_get_fc_mutex), (ev_document_fc_mutex_lock), (ev_document_fc_mutex_unlock): * pdf/ev-poppler.cc: (make_thumbnail_for_size): * shell/ev-jobs.c: (ev_job_render_run), (ev_job_fonts_run): * shell/ev-view.c: (draw_loading_text): * shell/ev-window.c: (ev_window_cmd_file_properties): Use an specific lock for FontConfig. Hopefully it fixes some crashes related to using FontConfig from different threads.
* Add "static" to some private functions.Carlos Garcia Campos2006-12-131-7/+7
| | | | | | | | | | 2006-12-13 Carlos Garcia Campos <carlosgc@gnome.org> * pdf/ev-poppler.cc: (pdf_document_find_get_n_results), (pdf_document_find_get_result), (pdf_document_find_page_has_results), (pdf_document_find_get_progress), (pdf_selection_render_selection), (pdf_selection_get_selection_region), (pdf_selection_get_selection_map): Add "static" to some private functions.
* Adds a paper size field to the properties dialog. Fixes bug #307315. PatchWouter Bolsterlee2006-12-041-2/+10
| | | | | | | | | | | | | | | 2006-12-04 Wouter Bolsterlee <wbolster@cvs.gnome.org> * backend/ev-document-info.h: * data/evince-properties.glade: * pdf/ev-poppler.cc: * properties/ev-properties-view.c: (ev_regular_paper_size), (ev_properties_view_set_info): * ps/ps-document.c: (ps_document_get_info): Adds a paper size field to the properties dialog. Fixes bug #307315. Patch by Kasper Svendsen (with some i18n changes done by me).
* Allow printing to PDF when suppoted by the backend.Carlos Garcia Campos2006-12-031-24/+116
| | | | | | | | | | | | | | 2006-12-03 Carlos Garcia Campos <carlosgc@gnome.org> * configure.ac: * backend/Makefile.am: * backend/ev-file-exporter.[ch]: * pdf/ev-poppler.cc: (pdf_document_file_exporter_*): * ps/ps-document.c: (ps_document_file_exporter_*): * tiff/tiff-document.c: (tiff_document_document_file_exporter_*): * shell/ev-jobs.[ch]: (ev_job_print_new), (ev_job_print_run): * shell/ev-window.c: (ev_window_setup_action_sensitivity), (ev_window_print_dialog_response_cb), (ev_window_print_range): Allow printing to PDF when suppoted by the backend.
* Fix memory leak.Carlos Garcia Campos2006-08-191-5/+3
| | | | | | 2006-08-19 Carlos Garcia Campos <carlosgc@gnome.org> * pdf/ev-poppler.cc: (pdf_document_search_free): Fix memory leak.
* Convert from PDF style coordinates to X style coordinates in the backendCarlos Garcia Campos2006-08-061-22/+51
| | | | | | | | | | | 2006-08-06 Carlos Garcia Campos <carlosgc@gnome.org> * pdf/ev-poppler.cc: (ev_link_dest_from_dest), (ev_link_from_action), (build_tree), (pdf_document_links_get_links), (pdf_document_links_find_link_dest): * shell/ev-view.c: (goto_fitr_dest), (goto_fith_dest), (goto_xyz_dest): Convert from PDF style coordinates to X style coordinates in the backend rather than in the view. Fixes bug #338440
* We should be more clear about bugzilla. See the poppler bug #7623.Nickolay V. Shmyrev2006-07-261-1/+3
| | | | | | | | | | 2006-07-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru> * pdf/ev-poppler.cc: * shell/ev-window.c: (do_action_named): We should be more clear about bugzilla. See the poppler bug #7623.
* Fix some memory leaks.Carlos Garcia Campos2006-05-091-0/+1
| | | | | | | | 2006-05-09 Carlos Garcia Campos <carlosgc@gnome.org> * pdf/ev-poppler.cc: * shell/ev-application.[ch]: * shell/main.c: Fix some memory leaks.
* Add support for Named Action linksCarlos Garcia Campos2006-05-041-1/+1
| | | | | | | | | | 2006-05-03 Carlos Garcia Campos <carlosgc@gnome.org> * backend/ev-link-action.[ch]: * pdf/ev-poppler.cc: (ev_link_from_action): * shell/ev-view-private.h: * shell/ev-view.c: (ev_view_handle_link), (tip_from_action_named): * shell/ev-window.c: (do_action_named), (view_external_link_cb): Add support for Named Action links
* Rework links system, it adds support for remote links now and it makesCarlos Garcia Campos2006-05-021-166/+224
| | | | | | | | | | | | | | | | | | | | | | | | 2006-05-02 Carlos Garcia Campos <carlosgc@gnome.org> * backend/Makefile.am: * backend/ev-document-links.[ch]: * backend/ev-document.[ch]: * backend/ev-link-action.[ch]: * backend/ev-link-dest.[ch]: * backend/ev-link.[ch]: * pdf/ev-poppler.cc: (pdf_document_find_link_dest), (ev_link_dest_from_dest), (ev_link_from_action), (build_tree): * shell/ev-page-action.c: (build_new_tree_cb): * shell/ev-sidebar-links.c: (get_page_from_dest), (print_section_cb), (links_page_num_func), (update_page_callback): * shell/ev-view.[ch]: (ev_view_goto_dest), (ev_view_handle_link), (tip_from_link): * shell/ev-jobs.c: * shell/ev-window.[ch]: (ev_window_open_uri), (sidebar_links_link_activated_cb), (ev_view_popup_cmd_open_link): * shell/ev-application.[ch]: (ev_application_open_window), (ev_application_open_uri): Rework links system, it adds support for remote links now and it makes easier to add new kinds of actions and destinations. Fixes bug #317292
* Add support for PDF attachments. Fixes bug #325143Nickolay V. Shmyrev2006-04-031-0/+118
| | | | | | | | | | | | | | | | * backend/Makefile.am: * data/evince-ui.xml: * backend/ev-attachment.[ch]: * backend/ev-document.[ch]: (ev_document_has_attachments), (ev_document_get_attachments): * pdf/ev-poppler.cc: (pdf_document_has_attachments), (attachment_save_to_buffer), (pdf_document_get_attachments), (pdf_document_document_iface_init): * shell/Makefile.am: * shell/ev-attachment-bar.[ch]: * shell/ev-window.c: Add support for PDF attachments. Fixes bug #325143
* Don't generate thumbnails with alpha. See bug #324077. Thanks to JeroenNickolay V. Shmyrev2005-12-251-1/+1
| | | | | | | | | | * djvu/djvu-document.c: (djvu_document_thumbnails_get_thumbnail): * dvi/pixbuf-device.c: (dvi_pixbuf_create_image), (mdvi_pixbuf_device_render): * pdf/ev-poppler.cc: Don't generate thumbnails with alpha. See bug #324077. Thanks to Jeroen Zwartepoorte <jeroen.zwartepoorte@gmail.com>.
* Thumnail dimensions unified with other backends.Nickolay V. Shmyrev2005-10-171-27/+14
| | | | | | | | | | * pdf/ev-poppler.cc: Thumnail dimensions unified with other backends. * shell/ev-window-title.c: (ev_window_title_update): Fix warning.
* Remove old unused files.Nickolay V. Shmyrev2005-10-147-2209/+0
| | | | | | | | | | | | * pdf/GDKSplashOutputDev.cc: * pdf/GDKSplashOutputDev.h: * pdf/Thumb.cc: * pdf/Thumb.h: * pdf/pdf-document.cc: * pdf/pdf-document.h: * pdf/test-gdk-output-dev.cc: Remove old unused files.
* Show title even for unknown linksMarco Pesenti Gritti2005-09-261-1/+1
| | | | | | | | 2005-09-26 Marco Pesenti Gritti <mpg@redhat.com> * pdf/ev-poppler.cc: Show title even for unknown links
* Implement launch links. Delegate external link opening to the window.Marco Pesenti Gritti2005-09-261-1/+2
| | | | | | | | | | | | | | | | | 2005-09-26 Marco Pesenti Gritti <mpg@redhat.com> * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_filename), (ev_link_get_params), (ev_link_get_property), (ev_link_set_property), (ev_window_dispose), (ev_link_class_init), (ev_link_new_launch): * backend/ev-link.h: * pdf/ev-poppler.cc: * shell/ev-view.c: (ev_view_goto_link), (ev_view_class_init): * shell/ev-window.c: (launch_link), (view_external_link_cb), (ev_window_init): Implement launch links. Delegate external link opening to the window.
* Implement fitr linksMarco Pesenti Gritti2005-09-241-1/+6
| | | | | | | | | | | | | | 2005-09-24 Marco Pesenti Gritti <mpg@redhat.com> * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_bottom), (ev_link_get_right), (ev_link_get_property), (ev_link_set_property), (ev_link_class_init), (ev_link_new_page_fitv), (ev_link_new_page_fitr): * backend/ev-link.h: * pdf/ev-poppler.cc: * shell/ev-view.c: (goto_fitr_link), (ev_view_goto_link): Implement fitr links
* Implement FIT_HEIGHT mode (only for links). Implement FITH linksMarco Pesenti Gritti2005-09-241-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | 2005-09-24 Marco Pesenti Gritti <mpg@redhat.com> * backend/ev-link.c: (ev_link_type_get_type), (ev_link_new_page_fith), (ev_link_new_page_fitv): * backend/ev-link.h: * pdf/ev-poppler.cc: * shell/ev-view.c: (goto_fitv_link), (goto_fith_link), (ev_view_goto_link), (ev_view_size_request_continuous_dual_page), (ev_view_size_request_continuous), (ev_view_size_request_dual_page), (ev_view_size_request_single_page), (ev_view_size_allocate), (zoom_for_size_fit_height), (ev_view_zoom_for_size_continuous_and_dual_page), (ev_view_zoom_for_size_continuous), (ev_view_zoom_for_size_dual_page), (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size), (ev_sizing_mode_get_type): * shell/ev-view.h: * shell/ev-window.c: (ev_window_sizing_mode_changed_cb): Implement FIT_HEIGHT mode (only for links). Implement FITH links
* Escape link title before setting it in the modelMarco Pesenti Gritti2005-09-241-1/+7
| | | | | | | | 2005-09-24 Marco Pesenti Gritti <mpg@redhat.com> * pdf/ev-poppler.cc: Escape link title before setting it in the model
* Implement FIT and FITH linksMarco Pesenti Gritti2005-09-191-2/+5
| | | | | | | | | | | | | 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com> * backend/ev-link.c: (ev_link_type_get_type), (ev_link_new_page_xyz), (ev_link_new_page_fit), (ev_link_new_page_fith): * backend/ev-link.h: * pdf/ev-poppler.cc: * shell/ev-view.c: (goto_fith_link), (ev_view_goto_link): Implement FIT and FITH links
* Return 0 results when search is not in progress.Marco Pesenti Gritti2005-09-191-3/+1
| | | | | | | | | | | | | 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com> * pdf/ev-poppler.cc: Return 0 results when search is not in progress. * shell/ev-window.c: (ev_window_cmd_go_previous_page), (ev_window_cmd_go_next_page), (find_bar_search_changed_cb): Update menu sensitivity when cancelling search
* Fix thumbnails rendering for pdfNickolay V. Shmyrev2005-09-131-27/+19
| | | | Fix thumbnails rendering for pdf
* Fix some bugs with xyz links, respect zoomMarco Pesenti Gritti2005-09-081-2/+4
| | | | | | | | | | 2005-09-08 Marco Pesenti Gritti <mpg@redhat.com> * backend/ev-link.c: (ev_link_new_page_xyz): * pdf/ev-poppler.cc: * shell/ev-view.c: (goto_xyz_link), (ev_view_goto_link): Fix some bugs with xyz links, respect zoom
* Implement xyz links, still not functional. Links are a total mess, willMarco Pesenti Gritti2005-09-071-6/+82
| | | | | | | | | | | | | | | | | 2005-09-07 Marco Pesenti Gritti <mpg@redhat.com> * backend/ev-document.h: * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_top), (ev_link_get_left), (ev_link_get_zoom), (ev_link_get_property), (ev_link_set_property), (ev_window_dispose), (ev_link_class_init), (ev_link_new_page), (ev_link_new_page_xyz): * backend/ev-link.h: * pdf/ev-poppler.cc: * shell/ev-view.c: (doc_point_to_view_point), (scroll_to_xyz_link), (go_to_link), (tip_from_link): Implement xyz links, still not functional. Links are a total mess, will need to refactor and bugfix a lot :(
* Redo rotation (again). prepare for 0.4.0Jonathan Blandford2005-08-251-2/+12
| | | | | | | | | | | | | | | | | | | | | | | | Thu Aug 25 02:32:32 2005 Jonathan Blandford <jrb@redhat.com> * backend/ev-document-misc.c: (ev_document_misc_get_thumbnail_frame): * backend/ev-document-misc.h: * configure.ac: * pdf/ev-poppler.cc: * shell/Makefile.am: * shell/ev-sidebar-thumbnails.c: (add_range), (ev_sidebar_thumbnails_set_loading_icon), (ev_sidebar_thumbnails_refresh), (ev_sidebar_thumbnails_set_document): * shell/ev-sidebar-thumbnails.h: * shell/ev-view.c: (ev_view_motion_notify_event), (ev_view_set_property), (ev_view_get_property), (ev_view_class_init), (ev_view_set_rotation): * shell/ev-window.c: (ev_window_cmd_edit_rotate_left), (ev_window_cmd_edit_rotate_right), (ev_window_rotation_changed_cb), (ev_window_init): * tiff/tiff-document.c: (tiff_document_thumbnails_get_thumbnail): Redo rotation (again). prepare for 0.4.0
* Bump poppler requirement to 0.4.1.Kristian Høgsberg2005-08-241-1/+1
| | | | | | | | | 2005-08-24 Kristian Høgsberg <krh@redhat.com> * configure.ac: Bump poppler requirement to 0.4.1. * pdf/ev-poppler.cc (pdf_selection_render_selection): Add rotation argument to poppler_page_render_selection() call.
* Adapt to the new poppler rotation API. Fix text maps on landscapeMarco Pesenti Gritti2005-08-231-33/+10
| | | | | | | | | | | 2005-08-23 Marco Pesenti Gritti <mpg@redhat.com> * pdf/ev-poppler.cc: * ps/ps-document.c: (push_pixbuf), (ps_document_widget_event): * shell/ev-view.c: (highlight_find_results): Adapt to the new poppler rotation API. Fix text maps on landscape documents.
* * shell/ev-metadata-manager.c: (ev_metadata_manager_init): *Jonathan Blandford2005-08-151-14/+12
| | | | | | | | | | | | Mon Aug 15 00:40:21 2005 Jonathan Blandford <jrb@redhat.com> * pdf/ev-poppler.cc: * shell/ev-metadata-manager.c: (ev_metadata_manager_init): * shell/ev-view.c: (ev_view_rotate_left), (ev_view_set_rotation), (ev_view_get_rotation): * shell/ev-view.h: * shell/ev-window.c: (setup_view_from_metadata), (save_rotation_to_file), (ev_window_cmd_edit_rotate_left), (ev_window_cmd_edit_rotate_right): Fix rotation. Save it to disk.
* Change selection color on focus in and focus out events. Also, poppler nowKristian Høgsberg2005-08-061-2/+2
| | | | | | | | | | | | | | | | | | 2005-08-06 Kristian Høgsberg <krh@redhat.com> * backend/ev-selection.c: (ev_selection_render_selection): * backend/ev-selection.h: * pdf/ev-poppler.cc: * shell/ev-jobs.c: (ev_job_render_new): * shell/ev-jobs.h: * shell/ev-pixbuf-cache.c: (get_selection_colors), (add_job_if_needed), (ev_pixbuf_cache_get_selection_pixbuf): * shell/ev-view.c: (ev_view_focus_in), (ev_view_focus_out), (ev_view_class_init): Change selection color on focus in and focus out events. Also, poppler now uses GdkColor for specifying the selection colors, so drop some awkward conversion code.
* Clean up selection to be much smoother!Jonathan Blandford2005-08-061-26/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Sat Aug 6 01:12:44 2005 Jonathan Blandford <jrb@redhat.com> * NOTES: * backend/ev-selection.c: (ev_selection_render_selection): * backend/ev-selection.h: * pdf/ev-poppler.cc: * shell/ev-jobs.c: (ev_job_render_dispose), (ev_job_render_new), (ev_job_render_run): * shell/ev-jobs.h: * shell/ev-pixbuf-cache.c: (dispose_cache_job_info), (ev_pixbuf_cache_new), (job_finished_cb), (add_job_if_needed), (convert_gdk_color_to_uint), (ev_pixbuf_cache_get_text_mapping), (ev_pixbuf_cache_style_changed), (ev_pixbuf_cache_get_selection_pixbuf), (ev_pixbuf_cache_set_selection_list), (ev_pixbuf_cache_get_selection_list): * shell/ev-pixbuf-cache.h: * shell/ev-utils.c: (ev_print_region_contents): * shell/ev-utils.h: * shell/ev-view.c: (ev_view_queue_draw_page), (selection_update_idle_cb), (ev_view_motion_notify_event), (ev_view_style_set), (draw_one_page), (ev_view_class_init), (setup_caches), (ev_view_find_next), (merge_selection_region), (selection_free): * shell/ev-window.c: (ev_window_update_fullscreen_popup): Clean up selection to be much smoother!
* Pass colors to poppler_page_render_selection().Kristian Høgsberg2005-08-051-1/+5
| | | | | | | 2005-08-05 Kristian Høgsberg <krh@redhat.com> * pdf/ev-poppler.cc (pdf_selection_render_selection): Pass colors to poppler_page_render_selection().
* Use rotation rather than orientation. It's easier and enough for ourMarco Pesenti Gritti2005-07-291-74/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com> * backend/ev-document-thumbnails.c: (ev_document_thumbnails_get_thumbnail): * backend/ev-document-thumbnails.h: * backend/ev-document.c: * backend/ev-document.h: * backend/ev-render-context.c: (ev_render_context_new), (ev_render_context_set_rotation): * backend/ev-render-context.h: * pdf/ev-poppler.cc: * ps/ps-document.c: (ps_document_document_iface_init): * shell/ev-jobs.c: (ev_job_thumbnail_new), (ev_job_thumbnail_run): * shell/ev-jobs.h: * shell/ev-page-cache.c: (build_height_to_page), (ev_page_cache_new), (ev_page_cache_get_size), (ev_page_cache_get_max_width), (ev_page_cache_get_max_height), (ev_page_cache_get_height_to_page): * shell/ev-page-cache.h: * shell/ev-pixbuf-cache.c: (check_job_size_and_unref), (add_job_if_needed), (ev_pixbuf_cache_add_jobs_if_needed), (ev_pixbuf_cache_set_page_range), (new_selection_pixbuf_needed), (ev_pixbuf_cache_get_selection_pixbuf): * shell/ev-pixbuf-cache.h: * shell/ev-print-job.c: (idle_print_handler): * shell/ev-sidebar-thumbnails.c: (add_range): * shell/ev-view.c: (view_update_range_and_current_page), (get_page_y_offset), (get_page_extents), (ev_view_size_request_continuous_dual_page), (ev_view_size_request_continuous), (ev_view_size_request_dual_page), (ev_view_size_request_single_page), (draw_one_page), (ev_view_set_rotation), (ev_view_rotate_right), (ev_view_rotate_left), (ev_view_zoom_for_size_presentation), (ev_view_zoom_for_size_continuous_and_dual_page), (ev_view_zoom_for_size_continuous), (ev_view_zoom_for_size_dual_page), (ev_view_zoom_for_size_single_page), (compute_new_selection_text), (ev_view_select_all): * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get): * tiff/tiff-document.c: (tiff_document_render_pixbuf), (tiff_document_document_iface_init), (tiff_document_thumbnails_get_thumbnail): Use rotation rather than orientation. It's easier and enough for our needs.
* Really make use of the orientation bit of the render context. Use theMarco Pesenti Gritti2005-07-291-59/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com> * backend/ev-document-thumbnails.c: (ev_document_thumbnails_get_thumbnail): * backend/ev-document-thumbnails.h: * backend/ev-document.c: * backend/ev-document.h: * backend/ev-ps-exporter.c: (ev_ps_exporter_do_page): * backend/ev-ps-exporter.h: * pdf/ev-poppler.cc: * ps/ps-document.c: (ps_document_document_iface_init), (ps_document_ps_export_do_page): * shell/ev-jobs.c: (ev_job_thumbnail_new), (ev_job_thumbnail_run): * shell/ev-jobs.h: * shell/ev-page-cache.c: (ev_page_cache_get_size), (ev_page_cache_get): * shell/ev-page-cache.h: * shell/ev-pixbuf-cache.c: (check_job_size_and_unref), (add_job_if_needed), (ev_pixbuf_cache_add_jobs_if_needed), (ev_pixbuf_cache_set_page_range), (new_selection_pixbuf_needed): * shell/ev-pixbuf-cache.h: * shell/ev-print-job.c: (idle_print_handler): * shell/ev-sidebar-thumbnails.c: (add_range): * shell/ev-view.c: (view_update_range_and_current_page), (get_page_extents), (ev_view_size_request_dual_page), (ev_view_size_request_single_page), (draw_one_page), (clear_caches), (ev_view_set_orientation), (ev_view_rotate_right), (ev_view_rotate_left), (ev_view_zoom_for_size_presentation), (ev_view_zoom_for_size_dual_page), (ev_view_zoom_for_size_single_page), (compute_new_selection_text), (ev_view_select_all): * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get): * tiff/tiff-document.c: (tiff_document_get_page_size), (tiff_document_get_orientation), (rotate_pixbuf), (tiff_document_render_pixbuf), (tiff_document_document_iface_init), (tiff_document_thumbnails_get_thumbnail), (tiff_document_ps_export_do_page), (tiff_document_init): Really make use of the orientation bit of the render context. Use the render context in a few more places in the backend API. This regress orientation, but now it's done right. Will try to fix it up asap...
* add paper_width, paper_height, and duplex parameters to ::begin.Martin Kretzschmar2005-07-271-1/+4
| | | | | | | | | | | | | * backend/ev-ps-exporter.h: add paper_width, paper_height, and duplex parameters to ::begin. * tiff/tiff-document.c (tiff_document_ps_export_begin): * shell/ev-print-job.c (idle_print_handler): * ps/ps-document.c (ps_document_ps_export_begin): * pdf/ev-poppler.cc (pdf_document_ps_exporter_begin): * backend/ev-ps-exporter.c (ev_ps_exporter_begin): update implementations. Poppler backend needs poppler cvs. Rest has unchanged behavior.
* (font_type_to_string): Remove trailing space from "unknown font"Martin Kretzschmar2005-07-251-1/+1
| | | | string. Bug #311431
* Bug #311280Martin Kretzschmar2005-07-241-15/+61
| | | | | | | | | | | | | | | * pdf/ev-poppler.cc (font_type_to_string): new, returns user readable name for PopplerFontTypes (pdf_document_fonts_fill_model): add font type to the detail column * backend/ev-document-fonts.h: added EV_DOCUMENT_FONTS_COLUMN_DETAILS. * shell/ev-properties-fonts.c (font_cell_data_func): glue together font name and font details, add a little markup. (ev_properties_fonts_init): use the new cell data func, specify ypad property for the cell renderer. (ev_properties_fonts_set_document): add the details column.
* Make frontends depend on just libev. Rework and group CFLAGS/LIBSMarco Pesenti Gritti2005-07-071-5/+3
| | | | | | | | | | | | | | | | | | | | | | | 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com> * Makefile.am: * backend/Makefile.am: * configure.ac: * cut-n-paste/recent-files/Makefile.am: * cut-n-paste/toolbar-editor/Makefile.am: * cut-n-paste/zoom-control/Makefile.am: * lib/Makefile.am: * pdf/Makefile.am: * pixbuf/Makefile.am: * properties/Makefile.am: * ps/Makefile.am: * shell/Makefile.am: * thumbnailer/Makefile.am: * tiff/Makefile.am: Make frontends depend on just libev. Rework and group CFLAGS/LIBS definitions. Cleanups.
* *** empty log message ***Marco Pesenti Gritti2005-07-071-3/+4
|
* Add I-Beam support to EvView. Now we can see where we can select! Sweet!Jonathan Blandford2005-07-011-1/+24
| | | | | | | | | | | | | | | | | | Fri Jul 1 00:10:15 2005 Jonathan Blandford <jrb@redhat.com> * backend/ev-selection.c: (ev_selection_get_selection_region), (ev_selection_get_selection_map): * backend/ev-selection.h: * pdf/ev-poppler.cc: * shell/ev-jobs.c: (ev_job_render_new), (ev_job_render_run): * shell/ev-jobs.h: * shell/ev-pixbuf-cache.c: (dispose_cache_job_info), (job_finished_cb), (copy_job_to_job_info), (add_job_if_needed), (ev_pixbuf_cache_get_text_mapping): * shell/ev-pixbuf-cache.h: * shell/ev-view.c: (location_in_text), (ev_view_motion_notify_event), (ev_view_set_cursor): Add I-Beam support to EvView. Now we can see where we can select! Sweet!
* Adjust to poppler API changes; use a sub-GdkPixbuf instead of passingKristian Høgsberg2005-06-301-9/+13
| | | | | | | | | | | | | | | 2005-06-30 Kristian Høgsberg <krh@redhat.com> * pdf/ev-poppler.cc: Adjust to poppler API changes; use a sub-GdkPixbuf instead of passing dest_x and dest_y. * shell/ev-view.c: (view_point_to_doc_point), (view_rect_to_doc_rect), (ev_view_button_press_event), (ev_view_motion_notify_event), (compute_new_selection_rect), (gdk_rectangle_point_in), (compute_new_selection_text), (compute_selections): Update selection code to keep the selection around as two points and not as a normalized rectangle, and fix page level selection in two-column mode.
* *** empty log message ***Marco Pesenti Gritti2005-06-301-0/+2
|
* Fix compilationMarco Pesenti Gritti2005-06-301-19/+19
| | | | | | | | 2005-06-30 Marco Pesenti Gritti <mpg@redhat.com> * pdf/ev-poppler.cc: Fix compilation
* Massive changes. We now support text selection of pdfs, and not justJonathan Blandford2005-06-301-31/+101
| | | | | | | | | | | | Thu Jun 30 01:43:00 2005 Jonathan Blandford <jrb@redhat.com> * shell/*: * backend/ev-render-context.[ch]: * backend/ev-selection.[ch]: Massive changes. We now support text selection of pdfs, and not just rectangular selection. This is pretty broken still, but I want to get something into CVS.
* Fix for Bug 309080: crash on window close.Nickolay V. Shmyrev2005-06-281-0/+5
| | | | | | | | | | | * pdf/ev-poppler.cc: Fix for Bug 309080: crash on window close. * shell/ev-page-action.c: (page_changed_cb): Fix for Bug 309168: Fix build with gcc 2.95. Thanks to jensgr@gmx.net (Jens Granseuer).
* Enable rotation, require poppler cvs. Fix a leak.Marco Pesenti Gritti2005-06-241-6/+5
| | | | | | | | 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com> * pdf/ev-poppler.cc: Enable rotation, require poppler cvs. Fix a leak.