Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/ps
Commit message (Collapse)AuthorAgeFilesLines
* Use consistent quoting style. Fix for the bug #320285.Nickolay V. Shmyrev2006-05-271-4/+4
| | | | | | | | | | | | | | | | | * backend/ev-attachment.c: (ev_attachment_save), (ev_attachment_launch_app), (ev_attachment_open): * backend/ev-document-factory.c: (get_document_from_uri): * cut-n-paste/recent-files/egg-recent-view-uimanager.c: (egg_recent_view_uimanager_set_list): * ps/ps-document.c: (check_filecompressed), (document_load), (ps_document_load): * shell/ev-metadata-manager.c: (load_values): * shell/ev-password.c: (ev_password_dialog_set_property): * shell/ev-view.c: (tip_from_link): * shell/ev-window.c: (file_save_dialog_response_cb), (ev_window_print_dialog_response_cb): Use consistent quoting style. Fix for the bug #320285.
* Due to broken libtool that is unable to track dependenciesNickolay V. Shmyrev2006-05-051-1/+0
| | | | | of noinst libraries we are forced to explicitely point libraries for binary. Fix for the bug #333334.
* Add checks that are useful in the case of empty ps document.Nickolay V. Shmyrev2006-02-161-0/+6
|
* Runtime check for gs interpreter. Fix for the bug #320868. Thanks toNickolay V. Shmyrev2006-02-123-24/+31
| | | | | | | | | | * configure.ac: * ps/gsdefaults.c: (gtk_gs_defaults_get_paper_sizes): * ps/gsdefaults.h: * ps/ps-document.c: (start_interpreter), (ps_document_load): Runtime check for gs interpreter. Fix for the bug #320868. Thanks to Antoine Dopffer antoine.dopffer@free.fr
* Commit workaround Mozilla problem. Fix for the bug #325919Nickolay V. Shmyrev2006-01-061-9/+16
| | | | | | | | | | | * ps/ps.c: (psscan): Commit workaround Mozilla problem. Fix for the bug #325919 * shell/ev-metadata-manager.c: (parse_value), (parseItem), (save_item): Fix for year 2038 problem.
* Fix unstructured documents save and printMarco Pesenti Gritti2005-09-221-19/+58
| | | | | | | | | | 2005-09-22 Marco Pesenti Gritti <mpg@redhat.com> * ps/ps-document.c: (save_document), (ps_document_save), (ps_document_ps_export_begin), (ps_document_ps_export_do_page), (ps_document_ps_export_end): Fix unstructured documents save and print
* Fix orientation in the postscript documentMarco Pesenti Gritti2005-08-242-62/+18
| | | | | | | | | | | | | | 2005-08-24 Marco Pesenti Gritti <mpg@redhat.com> * backend/ev-async-renderer.c: (ev_async_renderer_render_pixbuf): * backend/ev-async-renderer.h: * ps/ps-document.c: (ps_document_init), (setup_pixmap), (setup_page), (ps_document_get_page_size), (ps_async_renderer_render_pixbuf): * ps/ps-document.h: * shell/ev-jobs.c: (ev_job_render_run): Fix orientation in the postscript document
* Adapt to the new poppler rotation API. Fix text maps on landscapeMarco Pesenti Gritti2005-08-231-0/+3
| | | | | | | | | | | 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.
* Use g_filename_display_name for displaying filenames and revert stringCarlos Garcia Campos2005-08-171-33/+15
| | | | | | 2005-08-17 Carlos Garcia Campos <carlosgc@gnome.org> * ps/ps-document.c: Use g_filename_display_name for displaying filenames and revert string freeze breackage
* convert filename to utf8 when there is an error loading document. FixesCarlos Garcia Campos2005-08-161-15/+52
| | | | | | 2005-08-16 Carlos Garcia Campos <carlosgc@gnome.org> * ps/ps-document.c: convert filename to utf8 when there is an error loading document. Fixes #309915
* Use unzipped document when printing. Thanks to Colin SlaterNickolay V. Shmyrev2005-08-051-1/+2
| | | | | | | * ps/ps-document.c: (save_page_list): Use unzipped document when printing. Thanks to Colin Slater <kiltedtaco@gmail.com>. Fix for bug 311016.
* Use rotation rather than orientation. It's easier and enough for ourMarco Pesenti Gritti2005-07-291-30/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-26/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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/+2
| | | | | | | | | | | | | * 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.
* Do not leak the target windowMarco Pesenti Gritti2005-07-082-6/+12
| | | | | | | | | | 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com> * ps/ps-document.c: (ps_document_dispose), (ps_async_renderer_render_pixbuf): * ps/ps-document.h: Do not leak the target window
* Make frontends depend on just libev. Rework and group CFLAGS/LIBSMarco Pesenti Gritti2005-07-071-2/+1
| | | | | | | | | | | | | | | | | | | | | | | 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-11/+16
|
* remove the locale.h include again ;-). And kill the (bogus)Martin Kretzschmar2005-06-181-20/+6
| | | | setlocale/savelocale business.
* Include locale.h to fix buildNickolay V. Shmyrev2005-06-181-0/+4
| | | | | | | | | | | | * ps/ps-document.c: Include locale.h to fix build * shell/ev-sidebar.c: Remove unnecessary includes Thanks to jaap@haitsma.org (Jaap A. Haitsma)
* read "Creator:" comment, free creator field if necessary.Martin Kretzschmar2005-06-173-1/+13
| | | | | | | | | | * ps/ps.c (psscan, psfree): read "Creator:" comment, free creator field if necessary. * ps/ps.h: add creator field to document. * ps/ps-document.c (ps_document_get_info): set format to PostScript, set creator field.
* Add a get_orientation api. Improve set_orientation.Marco Pesenti Gritti2005-06-161-3/+30
| | | | | | | | | | | | | | | | | | | | | 2005-06-16 Marco Pesenti Gritti <mpg@redhat.com> * backend/ev-document.c: (ev_document_get_orientation): * backend/ev-document.h: * pdf/ev-poppler.cc: * ps/ps-document.c: (ps_document_get_orientation), (ps_document_set_orientation), (ps_document_document_iface_init): Add a get_orientation api. Improve set_orientation. * data/evince-ui.xml: * shell/ev-view.c: (ev_view_set_orientation), (ev_view_rotate_right), (ev_view_rotate_left): * shell/ev-view.h: * shell/ev-window.c: (ev_window_cmd_edit_rotate_left), (ev_window_cmd_edit_rotate_right): Better ui for changing document orientation
* *** empty log message ***Marco Pesenti Gritti2005-06-141-0/+2
|
* Implement orientation here tooMarco Pesenti Gritti2005-06-142-6/+32
| | | | | | | | | | | | | | | | | 2005-06-14 Marco Pesenti Gritti <mpg@redhat.com> * ps/gstypes.h: * ps/ps-document.c: (ps_document_init), (get_page_orientation), (ps_document_set_orientation), (ps_document_document_iface_init): * ps/ps-document.h: Implement orientation here too * shell/ev-properties.c: (ev_properties_new): * data/evince-properties.glade: Hide the fonts page for backends that doesnt support it.
* Big cleanup of the ps codeMarco Pesenti Gritti2005-06-072-557/+448
| | | | | | | | | | | | | 2005-06-07 Marco Pesenti Gritti <mpg@redhat.com> * ps/ps-document.c: (ps_document_init), (send_ps), (get_page_box), (output), (catchPipe), (input), (stop_interpreter), (file_length), (file_readable), (check_filecompressed), (ps_document_enable_interpreter), (document_load), (ps_async_renderer_render_pixbuf): * ps/ps-document.h: Big cleanup of the ps code
* Add an async renderer interface (method + callback) which is useful forMarco Pesenti Gritti2005-06-071-31/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-06-07 Marco Pesenti Gritti <mpg@redhat.com> * backend/Makefile.am: * backend/ev-async-renderer.c: (ev_async_renderer_get_type), (ev_async_renderer_class_init), (ev_async_renderer_render_pixbuf): * backend/ev-async-renderer.h: Add an async renderer interface (method + callback) which is useful for backends like ps. * backend/ev-job-queue.c: (remove_job_from_async_queue), (add_job_to_async_queue), (job_finished_cb), (handle_job), (ev_job_queue_run_next), (ev_job_queue_init), (find_queue), (ev_job_queue_add_job), (move_job_async), (move_job), (ev_job_queue_update_job), (ev_job_queue_remove_job): Add queues for async renderer, these are executed on the main thread. * backend/ev-jobs.c: (ev_job_render_new), (render_finished_cb), (ev_job_render_run): * backend/ev-jobs.h: If the backend support async renderer interface use it. * ps/ps-document.c: (ps_document_init), (push_pixbuf), (setup_pixmap), (ps_document_get_type), (ps_async_renderer_render_pixbuf), (ps_document_document_iface_init), (ps_async_renderer_iface_init): Implement async renderer interface.
* Fix warning when loading psMarco Pesenti Gritti2005-06-061-1/+0
| | | | | | | | 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com> * ps/ps-document.c: (start_interpreter): Fix warning when loading ps
* Fix crash when priting gs error messages.Marco Pesenti Gritti2005-06-061-1/+1
| | | | | | | | 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com> * ps/ps-document.c: (output): Fix crash when priting gs error messages.
* Rework properties code to take only EvPropertyInfo in the constructor soMarco Pesenti Gritti2005-06-041-1/+3
| | | | | | | | | | | | | | | | | | | | | 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com> * backend/ev-document-info.h: * backend/ev-document.c: (ev_document_info_free): * data/evince-properties.glade: * pdf/ev-poppler.cc: * ps/ps-document.c: (ps_document_get_info): * shell/ev-properties.c: (ev_properties_format_date), (set_property), (ev_properties_new): * shell/ev-properties.h: * shell/ev-window.c: (ev_window_cmd_file_properties): Rework properties code to take only EvPropertyInfo in the constructor so that it can be useful for nautilus plugin too. Deal with backends that doesnt support some properties. Make set property code generic.
* Try to render even if psscan fails.Marco Pesenti Gritti2005-06-022-22/+2
| | | | | | | | | 2005-06-02 Marco Pesenti Gritti <mpg@redhat.com> * ps/ps-document.c: (output): * ps/ps.c: (psscan): Try to render even if psscan fails.
* Port buffered reading code from gvMarco Pesenti Gritti2005-06-011-307/+364
| | | | | | | | 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com> * ps/ps.c: (psscan), (pscopydoc): Port buffered reading code from gv
* Do not fail on interpreter messagesMarco Pesenti Gritti2005-06-011-1/+8
| | | | | | | | 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com> * ps/ps-document.c: (interpreter_message), (output): Do not fail on interpreter messages
* Forgot to chain it to the parent. Thanks chpe.Marco Pesenti Gritti2005-05-311-0/+2
| | | | | | | | 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com> * ps/ps-document.c: (ps_document_dispose): Forgot to chain it to the parent. Thanks chpe.
* Cleanup dispose a bit. Dont leak the whole pixmap.Marco Pesenti Gritti2005-05-311-65/+41
| | | | | | | | | 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com> * ps/ps-document.c: (ps_document_dispose), (ps_document_class_init), (stop_interpreter), (document_load): Cleanup dispose a bit. Dont leak the whole pixmap.
* Fix a double freeMarco Pesenti Gritti2005-05-311-1/+1
| | | | | | | | 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com> * ps/ps-document.c: (ps_document_get_info): Fix a double free
* Adapt to new poppler apiMarco Pesenti Gritti2005-05-181-1/+2
| | | | | | | | | | | | 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com> * backend/ev-ps-exporter.c: (ev_ps_exporter_begin): * backend/ev-ps-exporter.h: * pdf/ev-poppler.cc: * ps/ps-document.c: (ps_document_ps_export_begin): * shell/ev-print-job.c: (idle_print_handler): Adapt to new poppler api
* Remove get_title from the interface, we can just use document infoMarco Pesenti Gritti2005-04-191-46/+14
| | | | | | | | | | | | | | | | 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com> * backend/ev-document.c: (ev_document_class_init), (ev_document_get_info), (ev_document_render_pixbuf): * backend/ev-document.h: * backend/ev-page-cache.c: (_ev_page_cache_new): * pdf/ev-poppler.cc: * pixbuf/pixbuf-document.c: (pixbuf_document_class_init), (pixbuf_document_get_info), (pixbuf_document_document_iface_init): * ps/ps-document.c: (ps_document_class_init), (document_load), (ps_document_get_info), (ps_document_document_iface_init): Remove get_title from the interface, we can just use document info
* Respect document orientationMarco Pesenti Gritti2005-04-181-0/+6
| | | | | | | | 2005-04-18 Marco Pesenti Gritti <mpg@redhat.com> * ps/ps-document.c: (get_page_orientation): Respect document orientation
* Based on a patch by J�rg Billeter <j@bitron.ch>Marco Pesenti Gritti2005-04-152-2/+107
| | | | | | | | | | | | | | | 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com> * ps/ps-document.c: (ps_document_init), (ps_document_get_type), (save_page_list), (ps_document_save), (ps_document_document_iface_init), (ps_document_ps_export_begin), (ps_document_ps_export_do_page), (ps_document_ps_export_end), (ps_document_ps_exporter_iface_init): * ps/ps-document.h: Based on a patch by J�rg Billeter <j@bitron.ch> Implement print and save a copy for the ps backend.
* Fix the crash when trying to copy in backends that doesnt support it. WeMarco Pesenti Gritti2005-04-141-5/+4
| | | | | | | | | | | | | | | | | | | | | 2005-04-14 Marco Pesenti Gritti <mpg@redhat.com> * backend/ev-document.h: * djvu/djvu-document.c: (djvu_document_can_get_text), (djvu_document_document_iface_init): * dvi/dvi-document.c: (dvi_document_can_get_text), (dvi_document_document_iface_init): * pdf/ev-poppler.cc: * pixbuf/pixbuf-document.c: (pixbuf_document_can_get_text), (pixbuf_document_document_iface_init): * ps/ps-document.c: (ps_document_can_get_text), (ps_document_document_iface_init): * shell/ev-view.c: (ev_view_copy), (ev_view_primary_get_cb): * shell/ev-window.c: (update_action_sensitivity): Fix the crash when trying to copy in backends that doesnt support it. We can implement a better solution once we do real text selection.
* Release 0.2.0Marco Pesenti Gritti2005-04-061-2/+0
| | | | | | | | | | | | | 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com> * NEWS: * configure.ac: Release 0.2.0 * ps/ps-document.c: (setup_pixmap): Remove debug code
* Fix page size calculationMarco Pesenti Gritti2005-04-051-33/+89
| | | | | | | | 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com> * ps/ps-document.c: (get_page_box): Fix page size calculation
* More refactoring to adapt to EvDocument changesMarco Pesenti Gritti2005-04-052-131/+118
| | | | | | | | | | | | 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com> * ps/ps-document.c: (ps_document_init), (push_pixbuf), (ps_document_cleanup), (setup_pixmap), (get_page_box), (get_page_orientation), (setup_page), (document_load), (ps_document_get_page_size), (render_pixbuf_idle): * ps/ps-document.h: More refactoring to adapt to EvDocument changes
* Actually add alpha argsMarco Pesenti Gritti2005-04-051-0/+3
| | | | | | | | 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com> * ps/ps-document.c: (start_interpreter): Actually add alpha args
* Make searching work again.Kristian Høgsberg2005-04-051-59/+27
| | | | | | | | | | | | | | | | | | | 2005-04-04 Kristian Høgsberg <krh@redhat.com> Make searching work again. * backend/ev-document.c: * backend/ev-document.h: * backend/ev-document-find.c: * backend/ev-document-find.h: Change EvDocumentIface so we no longer store the current page or zoom level in the document. The consequence is that all calls that operate on the current page now instead take the page number as an extra argument, and all coordinates are now doubles in document coordinate system. * pdf/ev-poppler.cc: * pixbuf/pixbuf-document.c: * ps/ps-document.c: Update backends accordingly.
* Remove pixbuf backend for nowJonathan Blandford2005-03-311-16/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Thu Mar 31 01:21:58 2005 Jonathan Blandford <jrb@redhat.com> * Makefile.am: Remove pixbuf backend for now * configure.ac: Require poppler-glib instead of just poppler. * backend/ev-document-thumbnails.h: Add a comment * backend/ev-document.h: * backend/ev-document.c: (ev_document_class_init), (ev_document_load), (ev_document_get_link), (ev_document_get_links): Remove 3 methods and add get_links. Also, made 0 based. * backend/ev-jobs.c: (ev_job_render_new), (ev_job_render_run): * backend/ev-jobs.h: now EvJobRender can grab the links for a document. * backend/ev-link.c: (ev_link_set_title), (ev_link_mapping_free_foreach), (ev_link_mapping_free), (ev_link_mapping_find): * backend/ev-link.h: Allow NULL titles. Also, introduce a mapping link. * backend/ev-page-cache.c: (ev_page_cache_init), (_ev_page_cache_new), (ev_page_cache_set_current_page), (ev_page_cache_get_size), (ev_page_cache_next_page), (ev_page_cache_prev_page): Fix to be 0 based. * pdf/Makefile.am: * pdf/ev-poppler.h: * pdf/ev-poppler.cc: New backend. * ps/ps-document.c: (ps_document_init), (ps_document_set_page), (ps_document_get_page), (ps_document_document_iface_init): * shell/ev-pixbuf-cache.h: * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init), (dispose_cache_job_info), (job_finished_cb), (move_one_job), (ev_pixbuf_cache_update_range), (copy_job_to_job_info), (add_job_if_needed), (ev_pixbuf_cache_set_page_range), (ev_pixbuf_cache_get_pixbuf), (ev_pixbuf_cache_get_link_mapping): Fix up code to grab a page cache per each doc. Also, fix to be 0 based. * shell/ev-sidebar-thumbnails.c: (ev_sidebar_tree_selection_changed), (page_changed_cb), (ev_sidebar_thumbnails_set_document): Fix to be 0 based. * shell/ev-view.c: (status_message_from_link), (find_page_at_location), (get_link_at_location), (ev_view_motion_notify_event), (ev_view_button_release_event), (ev_view_init): Use the new link code. Fix to be 0 based. * shell/ev-window.c: (update_action_sensitivity), (document_supports_sidebar): 0 based.
* merge evince-threads branchMarco Pesenti Gritti2005-03-234-961/+520
|
* Some more sanitization of the ps backend. Remove a lot of unused code andMarco Pesenti Gritti2005-03-085-625/+22
| | | | | | | | | | | | | | | | | | | 2005-03-08 Marco Pesenti Gritti <marco@gnome.org> * ps/Makefile.am: * ps/gsdefaults.c: (gtk_gs_defaults_get_interpreter_cmd), (gtk_gs_defaults_get_alpha_parameters), (gtk_gs_defaults_get_ungzip_cmd), (gtk_gs_defaults_get_unbzip2_cmd): * ps/gsdefaults.h: * ps/ps-document.c: (ps_document_init), (ps_document_class_init), (ps_document_get_orientation), (document_load), (ps_document_goto_page), (ps_document_set_page_size): * ps/ps-document.h: Some more sanitization of the ps backend. Remove a lot of unused code and do not base our defaults on ggv preferences (ugh!)
* Make it C89 compliantJens Granseuer2005-03-031-4/+4
| | | | | | | | 2005-03-03 Jens Granseuer <jensgr@gmx.net> * ps/ps-document.c: (set_up_page), (start_interpreter): Make it C89 compliant
* Disconnect the widget event signal on finalize. Some code cleanups.Marco Pesenti Gritti2005-02-281-48/+60
| | | | | | | | | | | 2005-02-28 Marco Pesenti Gritti <marco@gnome.org> * ps/ps-document.c: (ps_document_widget_event), (ps_document_set_target), (ps_document_finalize), (ps_document_get_page): Disconnect the widget event signal on finalize. Some code cleanups.
* If there is no bpixmap create one, even if size is not changed.Marco Pesenti Gritti2005-02-281-1/+1
| | | | | | | | | 2005-02-28 Marco Pesenti Gritti <marco@gnome.org> * ps/ps-document.c: (set_up_page): If there is no bpixmap create one, even if size is not changed.