]> www.fi.muni.cz Git - evince.git/commit
Remove pixbuf backend for now
authorJonathan Blandford <jrb@redhat.com>
Thu, 31 Mar 2005 15:34:35 +0000 (15:34 +0000)
committerJonathan Blandford <jrb@src.gnome.org>
Thu, 31 Mar 2005 15:34:35 +0000 (15:34 +0000)
commite8096c18ba580156072e8c84103bee6f6d3f0bfc
tree4da3a4264a48a6830e7b12ec734ee4dc34de2b65
parent52ba586fff36cceccb753342a38deff970b18107
Remove pixbuf backend for now

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.
20 files changed:
ChangeLog
Makefile.am
backend/ev-document-thumbnails.h
backend/ev-document.c
backend/ev-document.h
backend/ev-jobs.c
backend/ev-jobs.h
backend/ev-link.c
backend/ev-link.h
backend/ev-page-cache.c
configure.ac
pdf/Makefile.am
pdf/ev-poppler.cc [new file with mode: 0644]
pdf/ev-poppler.h [new file with mode: 0644]
ps/ps-document.c
shell/ev-pixbuf-cache.c
shell/ev-pixbuf-cache.h
shell/ev-sidebar-thumbnails.c
shell/ev-view.c
shell/ev-window.c