| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
svn path=/trunk/; revision=2181
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
| |
2006-08-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
* backend/ev-document-factory.c:
(ev_document_factory_get_document):
* tiff/tiff-document.c: (tiff_document_finalize):
More correct handling of document loading. Fixes
bug #349043.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2006-01-19 Jani Monoses <jani.monoses@gmail.com>
* comics/comics-document.c: (comics_document_save):
* djvu/djvu-document.c: (djvu_document_save):
* dvi/dvi-document.c: (dvi_document_save):
* lib/ev-file-helpers.c: (ev_tmp_filename), (ev_xfer_uri_simple):
* lib/ev-file-helpers.h:
* pixbuf/pixbuf-document.c: (pixbuf_document_save):
* tiff/tiff-document.c: (tiff_document_save):
Use common save function for backends.
|
|
|
|
|
|
| |
* tiff/tiff-document.c: (tiff_document_load):
Fix memory leak.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* configure.ac:
* djvu/djvu-document.c: (djvu_document_load), (djvu_document_save),
(djvu_document_finalize):
* dvi/dvi-document.c: (dvi_document_load), (dvi_document_save),
(dvi_document_finalize):
* pixbuf/pixbuf-document.c: (pixbuf_document_load),
(pixbuf_document_save), (pixbuf_document_finalize):
* tiff/tiff-document.c: (tiff_document_load), (tiff_document_save),
(tiff_document_finalize):
Save a copy implemented for various backends.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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...
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
| |
2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
* properties/Makefile.am:
* thumbnailer/Makefile.am:
* tiff/Makefile.am:
Some more cleanups. Was really necessary
but I probably introduced bugs, feel free
to flame :)
|
| |
|
|
|
|
|
|
|
|
|
| |
2005-07-04 Matthew S. Wilson <msw@rpath.com>
* tiff/tiff2ps.c: remove TRUE and FALSE definitions, glib provides
them
(PlaceImage, tiff2ps_process_page): use
g_ascii_dtostr to convert floats to strings in a locale-safe way.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2005-07-04 Matthew S. Wilson <msw@rpath.com>
* tiff/tiff-document.c (tiff_document_ps_export_begin)
(tiff_document_ps_export_do_page, tiff_document_ps_export_end):
use the new tiff2ps interfaces
* tiff/tiff2ps.h (tiff2ps_context_new, tiff2ps_process_page)
(tiff2ps_context_finalize): implement new interfaces for tiff2ps
* tiff/tiff2ps.c: refactor tiff2ps code to use a context
structure instead of global variables. Remove use of static
variables in functions.
|
|
|
|
|
|
|
| |
2005-07-04 Matthew S. Wilson <msw@rpath.com>
* tiff/tiff2ps.c (generateEPSF): disable generating encapsulated
postscript files
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2005-07-03 Matthew S. Wilson <msw@rpath.com>
* tiff/tiff-document.c (tiff_document_ps_export_begin)
(tiff_document_ps_export_do_page, tiff_document_ps_export_end)
(tiff_document_document_ps_exporter_iface_init): implement the ps
exporter interface for tiff documents
* tiff/tiff2ps.c: added a modified version of tiff2ps.c from
libtiff to implement TIFF postscript export
* tiff/tiff2ps.h: added a header file for external tiff2ps
functions.
* tiff/Makefile.am (libtiffdocument_la_SOURCES): add tiff2ps.c and
tiff2ps.h
|
|
|
|
|
|
|
|
|
| |
2005-07-02 Matthew S. Wilson <msw@rpath.com>
* tiff/tiff-document.c (tiff_document_get_page_size): scale the
reported height by using the resolution aspect ratio
(tiff_document_render_pixbuf): scale the pixbuf using the
resolution aspect ratio
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
* pixbuf/pixbuf-document.c: (pixbuf_document_get_orientation),
(pixbuf_document_set_orientation), (rotate_pixbuf),
(pixbuf_document_get_page_size), (pixbuf_document_render_pixbuf),
(pixbuf_document_document_iface_init), (pixbuf_document_init):
Implement rotation and cleanup the code a bit.
* tiff/tiff-document.c: (tiff_document_get_page_size),
(tiff_document_get_orientation), (tiff_document_set_orientation),
(rotate_pixbuf), (tiff_document_render_pixbuf),
(tiff_document_document_iface_init), (tiff_document_init):
Implement rotation. Was the quicker solution for the release
but we really need to share this code in the shell.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Sat May 28 07:38:03 2005 Jonathan Blandford <jrb@redhat.com>
* shell/ev-view.c (draw_one_page): modify the expose handling to
get the shadows.
* shell/ev-window.c (update_action_sensitivity): Respect
permissions field. Kowtow to the man.
* pdf/ev-poppler.cc: Get the permissions field.
* tiff/*c: Make a tiny bit more robust.
|
| |
|
|
Sat May 21 23:18:30 2005 Jonathan Blandford <jrb@redhat.com>
* tiff/tiff-document.c: Rough TIFF backend.
|