Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/ps
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Default page is 0. Calculate size even when we have no target yet.Marco Pesenti Gritti2005-02-281-49/+16
| | | | | | | | | | 2005-02-28 Marco Pesenti Gritti <marco@gnome.org> * ps/ps-document.c: (ps_document_init), (ps_document_cleanup), (set_up_page), (document_load), (ps_document_set_zoom): Default page is 0. Calculate size even when we have no target yet.
* Separate page/scale notificationsMarco Pesenti Gritti2005-02-242-2/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-02-24 Marco Pesenti Gritti <marco@gnome.org> * backend/ev-document.c: (ev_document_class_init), (ev_document_page_changed), (ev_document_scale_changed): * backend/ev-document.h: Separate page/scale notifications * pdf/xpdf/pdf-document.cc: Emit the new signals. Do not display the pdf page in _render, do it when scale/page are requested. * ps/ps-document.c: (ps_document_set_zoom), (ps_document_widget_event): * ps/ps-document.h: Emit the new signals. * shell/ev-view.c: (ev_view_size_request), (expose_bin_window), (ev_view_init), (page_changed_callback), (scale_changed_callback), (ev_view_set_document), (ev_view_zoom), (ev_view_zoom_in), (ev_view_zoom_out), (size_to_zoom_factor), (ev_view_set_size): * shell/ev-view.h: * shell/ev-window.c: (ev_window_cmd_view_normal_size), (ev_window_cmd_view_page_width), (size_allocate_cb), (ev_window_set_sizing_mode): Rework sizing to be pixel based. There are bugs but should be already way better.
* ps pages are 0 based, convertMarco Pesenti Gritti2005-02-211-2/+2
| | | | | | | | 2005-02-21 Marco Pesenti Gritti <marco@gnome.org> * ps/ps-document.c: (ps_document_set_page), (ps_document_get_page): ps pages are 0 based, convert
* Initialize correct parent class. Set GError on document loadMarco Pesenti Gritti2005-02-211-2/+8
| | | | | | | | 2005-02-21 Marco Pesenti Gritti <marco@gnome.org> * ps/ps-document.c: (ps_document_class_init), (ps_document_load): Initialize correct parent class. Set GError on document load
* Fix compilation on non-gcc platformsMarco Pesenti Gritti2005-02-091-15/+15
| | | | | | | | | | | | | | | | 2005-02-09 Marco Pesenti Gritti <marco@gnome.org> * lib/ev-debug.c: * lib/ev-debug.h: * ps/ps-document.c: (ps_document_finalize), (set_up_page), (start_interpreter), (stop_interpreter), (document_load), (ps_document_next_page), (ps_document_goto_page), (ps_document_set_page_size), (ps_document_widget_event), (ps_document_render): * shell/ev-page-view.c: (ev_page_view_dispose): * shell/ev-view.c: (ev_view_finalize), (expose_bin_window): Fix compilation on non-gcc platforms
* Log gs propertyMarco Pesenti Gritti2005-02-071-0/+2
| | | | | | | | 2005-02-07 Marco Pesenti Gritti <marco@gnome.org> * ps/ps-document.c: (set_up_page): Log gs property
* Log gs env varMarco Pesenti Gritti2005-02-071-5/+6
| | | | | | | | 2005-02-07 Marco Pesenti Gritti <marco@gnome.org> * ps/ps-document.c: (start_interpreter): Log gs env var
* Some cleanups, stop the interpreter on finalizeMarco Pesenti Gritti2005-02-071-38/+28
| | | | | | | | | | | | | | 2005-02-07 Marco Pesenti Gritti <marco@gnome.org> * ps/ps-document.c: (ps_document_finalize), (ps_document_get_n_pages), (ps_document_get_page): Some cleanups, stop the interpreter on finalize * shell/ev-page-view.c: (ev_page_view_dispose), (ev_page_view_class_init): Release our reference on the document
* Add debugging helpersMarco Pesenti Gritti2005-02-072-0/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-02-07 Marco Pesenti Gritti <marco@gnome.org> * Makefile.am: * configure.ac: * doc/debugging.txt: * lib/.cvsignore: * lib/Makefile.am: * lib/ev-debug.c: (log_module), (trap_handler), (ev_debug_init), (ev_profiler_new), (ev_should_profile), (ev_profiler_dump), (ev_profiler_free), (ev_profiler_start), (ev_profiler_stop): * lib/ev-debug.h: Add debugging helpers * ps/Makefile.am: * ps/ps-document.c: (set_up_page), (start_interpreter), (stop_interpreter), (document_load), (ps_document_next_page), (ps_document_goto_page), (ps_document_set_page_size), (ps_document_widget_event), (ps_document_render): * shell/Makefile.am: * shell/ev-view.c: (expose_bin_window): * shell/main.c: (main): Add some logs
* Initialize message_window, this should make ps rendering really work!Marco Pesenti Gritti2005-02-071-0/+2
| | | | | | | | | | 2005-02-07 Marco Pesenti Gritti <marco@gnome.org> * ps/ps-document.c: (ps_document_widget_event): Initialize message_window, this should make ps rendering really work! (Never noticed because I was testing with a ps that is causing gs to exit every time!)
* New file with some random thoughts.Jonathan Blandford2005-02-021-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Wed Feb 2 21:13:11 2005 Jonathan Blandford <jrb@redhat.com> * NOTES: New file with some random thoughts. * TODO: Update. * backend/ev-document-misc.c: (ev_document_misc_get_page_border_size): New function to canonicalize shadow drawing sizes. Possibly goofy. * shell/ev-view.c: (ev_view_size_request), (set_document_page), (ev_view_best_fit), (ev_view_fit_width): * pdf/xpdf/pdf-document.cc: * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size): * ps/ps-document.c: (ps_document_get_page_size): * backend/ev-document-misc.h: * backend/ev-document.c: (ev_document_get_page_size): * backend/ev-document.h: get_page_size now takes a page number parameter. Made all the backends/frontends honor it. * data/evince-ui.xml: Added a multiple-page mode. Uncomment to see. Doesn't work yet. * shell/Makefile.am: * shell/ev-page-view.[ch]: New multi-page view. Really rough. Doesn't do anything yet. * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_set_document): [1..n_pages] instead of [0..n_pages-1] * shell/ev-window.c: (update_action_sensitivity), (ev_window_setup_document), (ev_window_set_page_mode), (ev_window_page_mode_cb), (ev_window_init): Clean up the view-swapping code a bit so we can have multiple views on a document. Add the multi-page view, though it can't be turned on yet.
* Zero page_[xy]_offset.Martin Kretzschmar2005-01-211-0/+3
| | | | * ps/ps-document.c (ps_document_init): Zero page_[xy]_offset.
* add page_[xy]_offset fields.Martin Kretzschmar2005-01-212-3/+22
| | | | | | | | | * ps/ps-document.h: add page_[xy]_offset fields. * ps/ps-document.c (ps_document_set_page_offset) (ps_document_render): Keep offset in consideration in a few places. Bug #164752 "postscript documents are not centered in window"
* stub out missing methods for complete EvDocument implementation. FixesMartin Kretzschmar2005-01-211-0/+18
| | | | | | | | | | * pixbuf/pixbuf-document.c (pixbuf_document_get_n_pages) (pixbuf_document_get_text, pixbuf_document_document_iface_init): stub out missing methods for complete EvDocument implementation. Fixes segfaults with Save A Copy and Copy actions. * ps/ps-document.c (ps_document_save, ps_document_get_text) (ps_document_document_iface_init): ditto.
* View status message support, use it to show the links. Needs work...Marco Pesenti Gritti2005-01-131-0/+9
| | | | | | | | | | | | | | | | | | | | | | 2005-01-13 Marco Pesenti Gritti <marco@gnome.org> * pixbuf/pixbuf-document.c: (pixbuf_document_get_link), (pixbuf_document_document_iface_init): * ps/ps-document.c: (ps_document_get_link), (ps_document_document_iface_init): * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event), (status_message_from_link), (ev_view_set_status), (ev_view_set_find_status), (ev_view_motion_notify_event), (ev_view_button_release_event), (ev_view_set_property), (ev_view_get_property), (ev_view_class_init), (ev_view_init), (ev_view_get_find_status_message), (update_find_results), (ev_view_get_status), (ev_view_get_find_status): * shell/ev-view.h: * shell/ev-window.c: (view_status_changed_cb), (view_find_status_changed_cb), (ev_window_init): View status message support, use it to show the links. Needs work...
* Fix page switching on multipage documentsMarco Pesenti Gritti2005-01-131-3/+5
| | | | | | | | 2005-01-13 Marco Pesenti Gritti <marco@gnome.org> * ps/ps-document.c: (ps_document_goto_page): Fix page switching on multipage documents
* implement get/set propertiesJeff Muizelaar2005-01-131-3/+3
| | | | | | | | | 2005-01-12 Jeff Muizelaar <jeff@nit.ca> * pixbuf/pixbuf-document.c: (pixbuf_document_class_init), (pixbuf_document_set_property), (pixbuf_document_get_property): implement get/set properties
* Initial support for document title. Not working yet.Marco Pesenti Gritti2005-01-033-11/+49
| | | | | | | | | | | | | | | | | | | 2005-01-03 Marco Pesenti Gritti <marco@gnome.org> * backend/ev-document.c: (ev_document_get_type), (ev_document_class_init), (ev_document_load), (ev_document_get_title): * backend/ev-document.h: * pdf/xpdf/pdf-document.cc: * ps/ps-document.c: (ps_document_set_property), (ps_document_get_property), (ps_document_class_init), (document_load): * ps/ps-document.h: * ps/ps.h: * shell/ev-window.c: (update_window_title), (ev_window_open), (ev_window_init): Initial support for document title. Not working yet.
* Fix distcheckMarco Pesenti Gritti2005-01-021-0/+1
| | | | | | | | | | | | | | | 2005-01-02 Marco Pesenti Gritti <marco@gnome.org> * Makefile.am: * backend/Makefile.am: * data/Makefile.am: * dvi/Makefile.am: * dvi/dvilib/Makefile.am: * pdf/xpdf/Makefile.am: * po/POTFILES.in: * ps/Makefile.am: Fix distcheck
* *** empty log message ***Marco Pesenti Gritti2005-01-011-0/+2
|
* Rename GtkGS to PSDocumentMarco Pesenti Gritti2005-01-014-113/+111
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-01-01 Marco Pesenti Gritti <marco@gnome.org> * ps/Makefile.am: * ps/gstypes.h: * ps/gtkgs.c: * ps/gtkgs.h: * ps/ps-document.c: (catchPipe), (ps_document_init), (ps_document_class_init), (ps_document_cleanup), (ps_document_finalize), (send_ps), (ps_document_get_orientation), (set_up_page), (close_pipe), (is_interpreter_ready), (interpreter_failed), (output), (input), (start_interpreter), (stop_interpreter), (file_length), (file_readable), (check_filecompressed), (check_pdf), (compute_xdpi), (compute_ydpi), (compute_size), (ps_document_enable_interpreter), (ps_document_get_type), (ps_document_emit_error_msg), (document_load), (ps_document_next_page), (ps_document_get_current_page), (ps_document_get_page_count), (ps_document_goto_page), (ps_document_set_page_size), (ps_document_zoom_to_fit), (ps_document_set_zoom), (ps_document_load), (ps_document_get_n_pages), (ps_document_set_page), (ps_document_get_page), (ps_document_widget_event), (ps_document_set_target), (ps_document_set_scale), (ps_document_set_page_offset), (ps_document_get_page_size), (ps_document_render), (ps_document_document_iface_init): * ps/ps-document.h: * ps/ps.c: * shell/ev-window.c: (ev_window_open): Rename GtkGS to PSDocument
* Some more leftover...Marco Pesenti Gritti2005-01-012-9/+1
| | | | | | | | | 2005-01-01 Marco Pesenti Gritti <marco@gnome.org> * ps/gtkgs.c: (gtk_gs_class_init): * ps/gtkgs.h: Some more leftover...
* Remove unused code and make a lot of stuff privateMarco Pesenti Gritti2005-01-012-579/+72
| | | | | | | | | | | 2005-01-01 Marco Pesenti Gritti <marco@gnome.org> * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_get_orientation), (output), (stop_interpreter), (gtk_gs_emit_error_msg), (gtk_gs_zoom_to_fit), (gtk_gs_set_zoom): * ps/gtkgs.h: Remove unused code and make a lot of stuff private
* *** empty log message ***Marco Pesenti Gritti2005-01-011-0/+52
|
* Cleanup headers dependenciesMarco Pesenti Gritti2005-01-015-42/+26
| | | | | | | | | | | | | 2005-01-01 Marco Pesenti Gritti <marco@gnome.org> * ps/gsdefaults.c: (gtk_gs_defaults_gconf_client), (gtk_gs_defaults_changed): * ps/gsdefaults.h: * ps/gtkgs.c: * ps/gtkgs.h: * ps/ps.h: Cleanup headers dependencies
* Get rid of ggvutilsMarco Pesenti Gritti2005-01-016-139/+50
| | | | | | | | | | | | | | | 2005-01-01 Marco Pesenti Gritti <marco@gnome.org> * ps/Makefile.am: * ps/ggvutils.c: * ps/ggvutils.h: * ps/gsdefaults.c: (gtk_gs_defaults_get_paper_sizes): * ps/gsdefaults.h: * ps/gtkgs.c: (file_length), (file_readable), (check_filecompressed), (check_pdf), (gtk_gs_load), (gtk_gs_get_postscript): Get rid of ggvutils
* CleanupsMarco Pesenti Gritti2004-12-314-25/+2
| | | | | | | | | | | 2004-12-31 Marco Pesenti Gritti <marco@gnome.org> * ps/ggvutils.c: * ps/ggvutils.h: * ps/gsio.h: * ps/gtkgs.c: (gtk_gs_set_zoom): Cleanups
* Ensure the page is rerendered when changing zoomMarco Pesenti Gritti2004-12-311-0/+3
| | | | | | | | 2004-12-31 Marco Pesenti Gritti <marco@gnome.org> * ps/gtkgs.c: (gtk_gs_set_zoom), (gtk_gs_set_zoom_mode): Ensure the page is rerendered when changing zoom
* Add a changed event that is emitted when the page content changes. This isMarco Pesenti Gritti2004-12-311-1/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* display an error if the document doesn't support find (better ideas?)Havoc Pennington2004-12-231-14/+0
| | | | | | | | | | | | | | | | 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
* Fix a few bugsMarco Pesenti Gritti2004-12-222-7/+22
| | | | | | | | | | | 2004-12-22 Marco Pesenti Gritti <marco@gnome.org> * ps/gtkgs.c: (gtk_gs_init), (set_up_page), (ps_document_set_target), (ps_document_get_page_size), (ps_document_render): * ps/gtkgs.h: Fix a few bugs
* Remove unused utilsMarco Pesenti Gritti2004-12-223-308/+6
| | | | | | | | | | | 2004-12-22 Marco Pesenti Gritti <marco@gnome.org> * ps/ggvutils.c: (ggv_file_readable): * ps/ggvutils.h: * ps/gtkgs.c: (check_filecompressed), (check_pdf), (gtk_gs_get_postscript): Remove unused utils
* Another check point for the ps backend. Now I can get it to show pages!Marco Pesenti Gritti2004-12-222-510/+48
| | | | | | | | | | | | | | | | | | | 2004-12-22 Marco Pesenti Gritti <marco@gnome.org> * ps/gtkgs.c: (gtk_gs_init), (gtk_gs_class_init), (gtk_gs_cleanup), (gtk_gs_finalize), (gtk_gs_set_center), (set_up_page), (output), (start_interpreter), (compute_size), (gtk_gs_enable_interpreter), (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_reload), (gtk_gs_emit_error_msg), (gtk_gs_disable_interpreter), (gtk_gs_load), (gtk_gs_goto_page), (gtk_gs_set_page_size), (gtk_gs_set_override_orientation), (gtk_gs_set_override_size), (gtk_gs_set_zoom), (gtk_gs_set_default_orientation), (gtk_gs_set_antialiasing), (ps_document_load), (ps_document_render): * ps/gtkgs.h: Another check point for the ps backend. Now I can get it to show pages!
* *** empty log message ***Marco Pesenti Gritti2004-12-223-276/+148
|