Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/thumbnailer/evince-thumbnailer.c
Commit message (Collapse)AuthorAgeFilesLines
* Release 0.3.3. Remove pdf icon.Jonathan Blandford2005-08-161-4/+0
| | | | | | | | Mon Aug 15 21:53:05 2005 Jonathan Blandford <jrb@redhat.com> * configure.ac: * NEWS: Release 0.3.3. * thumbnailer/evince-thumbnailer.c: Remove pdf icon.
* *** empty log message ***Marco Pesenti Gritti2005-07-291-2/+1
|
* Really make use of the orientation bit of the render context. Use theMarco Pesenti Gritti2005-07-291-1/+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...
* Support all mime typesMarco Pesenti Gritti2005-07-051-3/+34
| | | | | | | | | | | | | | | | | 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com> * Makefile.am: * properties/Makefile.am: * properties/ev-properties-main.c: (ev_properties_get_pages): Support all mime types * shell/Makefile.am: * thumbnailer/Makefile.am: * thumbnailer/evince-thumbnailer.c: (get_document_from_uri), (evince_thumbnail_pngenc_get): Use the document factory
* Rework document types managing to avoid code duplication and actuallyMarco Pesenti Gritti2005-07-051-5/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com> * backend/Makefile.am: * backend/ev-document-factory.c: (mime_type_supported_by_gdk_pixbuf), (ev_document_type_get_from_mime), (ev_document_factory_get_document), (ev_document_factory_get_backend), (ev_document_factory_get_mime_types), (ev_document_factory_get_all_mime_types): * backend/ev-document-factory.h: * shell/Makefile.am: * shell/ev-document-types.c: (get_document_from_uri), (ev_document_types_get_document), (file_filter_add_mime_list_and_free), (ev_document_types_add_filters): * shell/ev-document-types.h: * shell/ev-job-xfer.c: (ev_job_xfer_run): * shell/ev-properties-dialog.c: (ev_properties_dialog_set_document): * shell/ev-window.c: (ev_window_cmd_file_open), (ev_window_cmd_save_as): * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get): Rework document types managing to avoid code duplication and actually abstract from backend implementations. Also provide a minimal factory api that can be used by thumbnailer/properties.
* Transfer remote documents to tmp directory to display them laterNickolay V. Shmyrev2005-06-101-2/+2
|
* Change api to lookup from uri. Do fast lookup first, if the type isMarco Pesenti Gritti2005-05-081-8/+4
| | | | | | | | | | | | | | | | 2005-05-08 Marco Pesenti Gritti <mpg@redhat.com> * shell/ev-document-types.c: (get_slow_mime_type), (get_document_type_from_mime), (ev_document_type_lookup): * shell/ev-document-types.h: Change api to lookup from uri. Do fast lookup first, if the type is unknown try with data sniffing. * shell/ev-window.c: (ev_window_open), (ev_window_open_uri_list): * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get): Adapt to api change
* Thumbnail page 0Marco Pesenti Gritti2005-04-191-1/+1
| | | | | | | | 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com> * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get): Thumbnail page 0
* New files, handling the mapping from mimetypes to backendsDavid Malcolm2005-04-181-25/+40
| | | | | | | | | | | | | | | | | | | | 2005-04-18 David Malcolm <dmalcolm@redhat.com> * shell/ev-document-types.h: * shell/ev-document-types.c: New files, handling the mapping from mimetypes to backends * shell/ev-window.c: * thumbnailer/evince-thumbnailer.c: Use the ev-document-types code * shell/Makefile.am: Added new convenience library libevbackendfactory_la, containing the new mimetype->backend logic; moved the backends into it. * thumbnailer/Makefile.am: Make the thumbnailer link with the libevbackend.la convenience library, rather than having a duplicate of the backend logic here.
* Initialize GError to NULL, fix a crash when loading fails.Marco Pesenti Gritti2005-04-161-1/+1
| | | | | | | | 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com> * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get): Initialize GError to NULL, fix a crash when loading fails.
* s/pdf-document/ev-popplerMarco Pesenti Gritti2005-04-061-1/+1
| | | | | | | | | | 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com> * po/POTFILES.in: * shell/ev-window.c: * thumbnailer/evince-thumbnailer.c: s/pdf-document/ev-poppler
* Fix here also the thumbnails 1-basedness :)Fernando Herrera2005-03-131-1/+1
| | | | | | | | 2005-03-13 Fernando Herrera <fherrera@onirica.com> * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get): Fix here also the thumbnails 1-basedness :)
* add -s option for thumbnail size.Fernando Herrera2005-03-081-7/+24
| | | | | | | | 2005-03-08 Fernando Herrera <fherrera@onirica.com> * thumbnailer/evince-thumbnailer.schemas: * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get), (main): add -s option for thumbnail size.
* Rework API a bit. Add a border flag and change sizing logic (now the sizeMarco Pesenti Gritti2005-03-071-2/+2
| | | | | | | | | | | | | | | | | | | | | 2005-03-07 Marco Pesenti Gritti <marco@gnome.org> * backend/ev-document-thumbnails.c: (ev_document_thumbnails_get_thumbnail): * backend/ev-document-thumbnails.h: Rework API a bit. Add a border flag and change sizing logic (now the size we specify applies to the bigger dimension). * pdf/pdf-document.cc: * pixbuf/pixbuf-document.c: (pixbuf_document_thumbnails_get_thumbnail): * shell/ev-sidebar-thumbnails.c: (do_one_iteration): * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get): Adapt to the new API and do not draw a border for nautilus thumbnailer.
* take thumbnails from page "0" instead of "1". Added a copyright header.Fernando Herrera2005-03-031-1/+21
| | | | | | | 2005-03-03 Fernando Herrera <fherrera@onirica.com> * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get): take thumbnails from page "0" instead of "1". Added a copyright header.
* Add a nautilus thumbnailer. Based on patch by Fernando HerreraMarco Pesenti Gritti2005-03-031-0/+99
2005-03-03 Marco Pesenti Gritti <marco@gnome.org> * Makefile.am: * configure.ac: * pdf/.cvsignore: * pdf/pdf-document.cc: * thumbnailer/Makefile.am: * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get), (main): * thumbnailer/evince-thumbnailer.schemas: * thumbnailer/pdf-icon.png: Add a nautilus thumbnailer. Based on patch by Fernando Herrera <fherrera@onirica.com>.