| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
* backend/ev-page-cache.c: (ev_page_cache_init),
(_ev_page_cache_new):
Remove some assertions, documents can have 0 pages.
Make initial current page -1.
* shell/ev-page-action.c: (page_changed_cb):
Show "" if current page is -1
* shell/ev-window.c: (update_action_sensitivity),
(ev_window_setup_document):
When document has 0 pages do not set the view
and make nearly everything insensitive.
|
|
|
|
|
|
|
|
| |
2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
* backend/ev-page-cache.c: (_ev_page_cache_new):
Fix several page size caching bugs
|
|
|
|
| |
and scrolling up with Shift + Space
|
|
|
|
|
|
|
|
| |
2005-04-05 Kristian Høgsberg <krh@redhat.com>
* backend/ev-page-cache.c (ev_page_cache_next_page):
* shell/ev-window.c (ev_window_cmd_go_next_page)
(ev_window_cmd_go_first_page): Fix of by one errors.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
| |
Fri Apr 1 01:59:39 2005 Jonathan Blandford <jrb@redhat.com>
* shell/ev-page-action.c: Changed to use page labels now. Rewrote
completely because I didn't understand GtkActions. I should
read Marco's code more carefully in the future.
* backend/ev-page-cache.h (ev_page_cache_set_page_label): New
function
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Cr 31 13:27:50 2005 Jonathan Blandford <jrb@redhat.com>
* backend/ev-document.c: (ev_document_get_page_label):
* backend/ev-document.h:
* backend/ev-page-cache.c: (_ev_page_cache_new),
(ev_page_cache_get_page_label):
* backend/ev-page-cache.h:
* pdf/ev-poppler.cc:
* shell/ev-sidebar-links.c: (ev_sidebar_links_construct),
(links_page_num_func):
* shell/ev-sidebar-thumbnails.c:
(ev_sidebar_thumbnails_set_document):
* shell/ev-view.c: (status_message_from_link),
(ev_view_motion_notify_event):
* shell/ev-window.c: (document_supports_sidebar): Add in page
label support. It's not perfect yet, but it's the first 'feature'
in a while.
Also, fix a bogus comment noticed by crispin.
VS: Modified Files:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|