| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
| |
2005-01-13 Jeff Muizelaar <jeff@nit.ca>
* pixbuf/pixbuf-document.c:
(pixbuf_document_thumbnails_get_dimensions),
(pixbuf_document_document_thumbnails_iface_init):
implement get_dimensions
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* shell/ev-sidebar-thumbnails.c (ev_sidebar_thumbnails_destroy)
(ev_sidebar_thumbnails_class_init): use G_DEFINE_TYPE-supplied
ev_sidebar_thumbnails_parent_class variable, don't define another
parent_class variable.
* shell/ev-page-action.c (connect_proxy, ev_page_action_finalize)
(ev_page_action_class_init): ditto.
* pixbuf/pixbuf-document.c (pixbuf_document_finalize)
(pixbuf_document_class_init): ditto.
* backend/ev-link.c (ev_window_dispose, ev_link_class_init):
ditto.
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
| |
division to calculate page_ratio. Fixes crash with landscape format
pixbufs.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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...
|
|
|
|
|
|
|
|
|
|
| |
2005-01-13 Jeff Muizelaar <jeff@nit.ca>
* pixbuf/pixbuf-document.c:
(pixbuf_document_thumbnails_get_dimensions),
(pixbuf_document_document_thumbnails_iface_init):
implement get_dimensions
|
|
|
|
|
|
|
|
| |
2005-01-12 Jeff Muizelaar <jrmuizel@nit.ca>
* pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
check for NULL before assigning to width and height parameters
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2004-12-22 Anders Carlsson <andersca@gnome.org>
* backend/Makefile.am:
* backend/ev-document-thumbnails.c:
(ev_document_thumbnails_get_type),
(ev_document_thumbnails_get_thumbnail):
* backend/ev-document-thumbnails.h:
* pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
(pixbuf_document_thumbnails_get_thumbnail),
(pixbuf_document_document_thumbnails_iface_init):
* shell/Makefile.am:
* shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_destroy),
(ev_sidebar_thumbnails_class_init), (ev_sidebar_thumbnails_init),
(populate_thumbnails), (ev_sidebar_thumbnails_set_document):
* shell/ev-sidebar-thumbnails.h:
* shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
(ev_sidebar_set_document):
* shell/ev-utils.c: (gaussian), (create_blur_filter),
(create_shadow), (ev_pixbuf_add_shadow):
* shell/ev-utils.h:
Add thumbnail support.
|
| |
|
|
2004-12-22 Anders Carlsson <andersca@gnome.org>
* Makefile.am:
* configure.ac:
* pixbuf/Makefile.am:
* pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
(pixbuf_document_load), (pixbuf_document_get_n_pages),
(pixbuf_document_set_page), (pixbuf_document_get_page),
(pixbuf_document_set_target), (pixbuf_document_set_scale),
(pixbuf_document_set_page_offset), (pixbuf_document_get_page_size),
(pixbuf_document_render), (pixbuf_document_begin_find),
(pixbuf_document_end_find), (pixbuf_document_finalize),
(pixbuf_document_class_init),
(pixbuf_document_document_iface_init), (pixbuf_document_init):
* pixbuf/pixbuf-document.h:
* shell/Makefile.am:
* shell/ev-application.c: (ev_application_open):
* shell/ev-window.c: (mime_type_supported_by_gdk_pixbuf),
(ev_window_open):
Add pixbuf backend.
|