Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/pdf
Commit message (Collapse)AuthorAgeFilesLines
* modify the expose handling to get the shadows.Jonathan Blandford2005-05-291-0/+16
| | | | | | | | | | | | | | 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.
* Remove the locks around get_n_resultsMarco Pesenti Gritti2005-05-211-1/+2
| | | | | | | | | | | | | | | 2005-05-21 Marco Pesenti Gritti <mpg@redhat.com> * shell/ev-view.c: (jump_to_find_result), (ev_view_can_find_next), (ev_view_find_next), (ev_view_find_previous): Remove the locks around get_n_results 2005-05-21 Juerg Billeter <j@bitron.ch> * pdf/ev-poppler.c: (pdf_document_ps_exporter_begin): Pass correct number of pages to poppler.
* Adapt to new poppler apiMarco Pesenti Gritti2005-05-181-5/+4
| | | | | | | | | | | | 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com> * backend/ev-ps-exporter.c: (ev_ps_exporter_begin): * backend/ev-ps-exporter.h: * pdf/ev-poppler.cc: * ps/ps-document.c: (ps_document_ps_export_begin): * shell/ev-print-job.c: (idle_print_handler): Adapt to new poppler api
* make page size calculation consistent and set it to (int)( width * scale +Jonathan Blandford2005-05-111-2/+2
| | | | | | | | | | | | Wed May 11 01:18:29 2005 Jonathan Blandford <jrb@redhat.com> * pdf/ev-poppler.cc: * backend/ev-page-cache.c: make page size calculation consistent and set it to (int)( width * scale + 0.5). This makes the weird line going through the middle of the page go away. * shell/ev-view.c: move painting the background page after checking the expose area covers us.
* Fix find on single page documentsMarco Pesenti Gritti2005-04-221-5/+4
| | | | | | | | | 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com> * pdf/ev-poppler.cc: * shell/ev-view.c: (highlight_find_results): Fix find on single page documents
* actually remove the job.Jonathan Blandford2005-04-221-5/+7
| | | | | | | | | | Thu Apr 21 23:37:52 2005 Jonathan Blandford <jrb@redhat.com> * shell/ev-pixbuf-cache.c (dispose_cache_job_info): actually remove the job. * backend/ev-document.h: Remove EV_DOC_MUTEX in favor of a locking function. This helps debugging.
* Remove get_title from the interface, we can just use document infoMarco Pesenti Gritti2005-04-191-32/+0
| | | | | | | | | | | | | | | | 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
* Initial support for document info. Based on jrb patch.Marco Pesenti Gritti2005-04-191-0/+96
| | | | | | | | | | | 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com> * backend/Makefile.am: * backend/ev-document.c: (ev_document_render_get_info): * backend/ev-document.h: * pdf/ev-poppler.cc: Initial support for document info. Based on jrb patch.
* Fix the crash when trying to copy in backends that doesnt support it. WeMarco Pesenti Gritti2005-04-141-2/+7
| | | | | | | | | | | | | | | | | | | | | 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.
* Make printing work againMarco Pesenti Gritti2005-04-081-6/+41
| | | | | | | | | 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com> * pdf/ev-poppler.cc: * shell/ev-print-job.c: (idle_print_handler): Make printing work again
* Recent files support.Nickolay V. Shmyrev2005-04-071-5/+0
| | | | | | | | | | | | | | | | | | | 2005-04-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru> * cut-n-paste/recent-files/Makefile.am: * data/evince-ui.xml, shell/Makefile.am: * shell/ev-application.c, shell/ev-application.h: * shell/ev-window.c: Recent files support. * configure.ac: Added "ru" to ALL_LINGUAS. * dvju: new backend to support DJVU files. * dvi: new backend to support DVI. * configure.ac, Makefile.am, shell/Makefile.am, ev-window.c: * ev-application.c: Support for new backends. * help, ev-window.c, main.c shell/Makefile.am:
* Make clipboard work againMarco Pesenti Gritti2005-04-051-1/+22
| | | | | | | | 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com> * pdf/ev-poppler.cc: Make clipboard work again
* Make searching work again.Kristian Høgsberg2005-04-051-106/+52
| | | | | | | | | | | | | | | | | | | 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.
* Implement search based on poppler_page_find_text(). Currently a bit crudeKristian Høgsberg2005-04-011-2/+231
| | | | | | | | | | | | | | | 2005-04-01 Kristian Høgsberg <krh@redhat.com> * pdf/ev-poppler.cc: Implement search based on poppler_page_find_text(). Currently a bit crude since we remember all matches from all pages. Also, we grab the big document lock when we search since searching changes the underlying stream and thus conflicts with the rendering thread. * shell/ev-view.c: (draw_rubberband), (highlight_find_results), (jump_to_find_page), (ev_view_set_document), (ev_view_find_next), (ev_view_find_previous): Fix some page indexes to be 0 based, offset rubber band by view offset,
* Update to work with PopplerRectangle change from poppler CVS.Kristian Høgsberg2005-04-011-4/+4
| | | | | | | 2005-03-31 Kristian Høgsberg <krh@redhat.com> * pdf/ev-poppler.cc (pdf_document_get_links): Update to work with PopplerRectangle change from poppler CVS.
* Cr 31 13:27:50 2005 Jonathan Blandford <jrb@redhat.com>Jonathan Blandford2005-03-311-0/+21
| | | | | | | | | | | | | | | | | | | | | | | 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:
* Remove pixbuf backend for nowJonathan Blandford2005-03-313-11/+634
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Patch from Fernando Herrera <fherrera@onirica.com> to fix my quick fix toJonathan Blandford2005-03-251-5/+2
| | | | | | | | Fri Mar 25 16:55:58 2005 Jonathan Blandford <jrb@redhat.com> * pdf/pdf-document.cc: Patch from Fernando Herrera <fherrera@onirica.com> to fix my quick fix to get_thumbnail. *blush*
* add 1 to the page, as this seems to be 1 based. I thought we has thisJonathan Blandford2005-03-241-0/+3
| | | | | | | | Wed Mar 23 23:49:41 2005 Jonathan Blandford <jrb@redhat.com> * pdf/pdf-document.cc (pdf_document_thumbnails_get_thumbnail): add 1 to the page, as this seems to be 1 based. I thought we has this fixed. grump.
* merge evince-threads branchMarco Pesenti Gritti2005-03-231-24/+126
|
* Fix the mess we did with thumbnails and 1-basednessMarco Pesenti Gritti2005-03-121-4/+3
| | | | | | | | | | 2005-03-12 Marco Pesenti Gritti <marco@gnome.org> * pdf/pdf-document.cc: * shell/ev-sidebar-thumbnails.c: (adjustment_changed_cb), (do_one_iteration), (ev_sidebar_thumbnails_set_document): Fix the mess we did with thumbnails and 1-basedness
* Remove 4 pixels of useless border from the thumbnail.Marco Pesenti Gritti2005-03-071-2/+3
| | | | | | | | | 2005-03-07 Marco Pesenti Gritti <marco@gnome.org> * pdf/pdf-document.cc: Remove 4 pixels of useless border from the thumbnail.
* Rework API a bit. Add a border flag and change sizing logic (now the sizeMarco Pesenti Gritti2005-03-071-22/+37
| | | | | | | | | | | | | | | | | | | | | 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.
* revert accidental commitMarco Pesenti Gritti2005-03-031-1/+1
|
* Add a nautilus thumbnailer. Based on patch by Fernando HerreraMarco Pesenti Gritti2005-03-032-1/+2
| | | | | | | | | | | | | | | | | 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>.
* Use poppler instead of including xpdf source code. Poppler is a fork ofKristian Høgsberg2005-03-01221-77854/+75
| | | | | | | | | | | | | | | | | | | | | | | | 2005-03-01 Kristian Høgsberg <krh@redhat.com> Use poppler instead of including xpdf source code. Poppler is a fork of xpdf to build it as a shared library. See http://freedesktop.org/wiki/Software/poppler. * pdf/xpdf/*, pdf/goo/*, pdf/splash/*, pdf/fofi/*: Remove included xpdf fork. * pdf/Makefile.am: Build libpdfdocument.a here. * pdf/GDKSplashOutputDev.cc: * pdf/GDKSplashOutputDev.h: * pdf/GnomeVFSStream.cc: * pdf/GnomeVFSStream.h: * pdf-document.cc: * pdf-document.h: * test-gdk-output-dev.cc * Thumb.cc: * Thumb.h: Pull these files out of pdf/xpdf and adjust to compile against poppler.
* Handle title links for real. Gosh, how long has this been broken.Jonathan Blandford2005-02-281-1/+3
| | | | | | | | | | Sun Feb 27 23:00:31 2005 Jonathan Blandford <jrb@redhat.com> * shell/ev-sidebar-links.c (do_one_iteration): Handle title links for real. Gosh, how long has this been broken. * pdf/xpdf/pdf-document.cc (build_link_from_action): add back the check for a NULL link. We crash otherwise.
* In get_page_size deal with rotation. Also cleanup the function a bit.Marco Pesenti Gritti2005-02-251-11/+32
| | | | | | | | | 2005-02-25 Marco Pesenti Gritti <marco@gnome.org> * pdf/xpdf/pdf-document.cc: In get_page_size deal with rotation. Also cleanup the function a bit.
* Fix crash when opening in new windowMarco Pesenti Gritti2005-02-251-14/+15
| | | | | | | | 2005-02-25 Marco Pesenti Gritti <marco@gnome.org> * pdf/xpdf/pdf-document.cc: Fix crash when opening in new window
* Port fix for a crasher from kde bugMarco Pesenti Gritti2005-02-241-1/+1
| | | | | | | | | 2005-02-24 Marco Pesenti Gritti <marco@gnome.org> * pdf/splash/Splash.cc: Port fix for a crasher from kde bug http://bugs.kde.org/show_bug.cgi?id=97131
* Return a link even if it's of an unrecognized type. Otherwise we go in anMarco Pesenti Gritti2005-02-241-3/+5
| | | | | | | | | 2005-02-24 Marco Pesenti Gritti <marco@gnome.org> * pdf/xpdf/pdf-document.cc: Return a link even if it's of an unrecognized type. Otherwise we go in an infinte cycle.
* Fix a crasher on exit. Unused code, put a TODOMarco Pesenti Gritti2005-02-241-1/+1
| | | | | | | | 2005-02-24 Marco Pesenti Gritti <marco@gnome.org> * pdf/xpdf/pdf-document.cc: Fix a crasher on exit. Unused code, put a TODO
* Separate page/scale notificationsMarco Pesenti Gritti2005-02-241-34/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-02-24 Marco Pesenti Gritti <marco@gnome.org> * backend/ev-document.c: (ev_document_class_init), (ev_document_page_changed), (ev_document_scale_changed): * backend/ev-document.h: Separate page/scale notifications * pdf/xpdf/pdf-document.cc: Emit the new signals. Do not display the pdf page in _render, do it when scale/page are requested. * ps/ps-document.c: (ps_document_set_zoom), (ps_document_widget_event): * ps/ps-document.h: Emit the new signals. * shell/ev-view.c: (ev_view_size_request), (expose_bin_window), (ev_view_init), (page_changed_callback), (scale_changed_callback), (ev_view_set_document), (ev_view_zoom), (ev_view_zoom_in), (ev_view_zoom_out), (size_to_zoom_factor), (ev_view_set_size): * shell/ev-view.h: * shell/ev-window.c: (ev_window_cmd_view_normal_size), (ev_window_cmd_view_page_width), (size_allocate_cb), (ev_window_set_sizing_mode): Rework sizing to be pixel based. There are bugs but should be already way better.
* Patch from Crispin Flowerday <gnome@flowerday.cx> to avoid rendering theJonathan Blandford2005-02-211-10/+4
| | | | | | | | Mon Feb 21 17:52:08 2005 Jonathan Blandford <jrb@redhat.com> * pdf/xpdf/pdf-document.cc (pdf_document_get_page_size): Patch from Crispin Flowerday <gnome@flowerday.cx> to avoid rendering the page when we get the page size.
* Fixup selection offset calculationMarco Pesenti Gritti2005-02-211-4/+4
| | | | | | | | | | | | | | | | 2005-02-21 Marco Pesenti Gritti <marco@gnome.org> * pdf/xpdf/pdf-document.cc: Fixup selection offset calculation * shell/ev-view.c: (view_rect_to_doc_rect), (doc_rect_to_view_rect), (ev_view_size_allocate), (expose_bin_window), (ev_view_select_all), (ev_view_copy), (ev_view_primary_get_cb), (ev_view_motion_notify_event): Store selection as document relative, so that zooming and offset changing doesnt break it.
* New function to canonicalize sizing/painting a border.Jonathan Blandford2005-02-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | Tue Feb 15 22:27:13 2005 Jonathan Blandford <jrb@redhat.com> * backend/ev-document-misc.h: * backend/ev-document-misc.c: (ev_document_misc_get_page_border_size), (ev_document_misc_paint_one_page): New function to canonicalize sizing/painting a border. * shell/Makefile.am: Remove ev-page-view.c entirely as it's not used. * pdf/xpdf/pdf-document.cc: use new function * shell/ev-view.c: (ev_view_size_request), (expose_bin_window), (ev_view_init), (ev_view_set_mode), (ev_view_zoom), (ev_view_best_fit), (ev_view_fit_width): * shell/ev-view.h: * shell/ev-window.c: (update_sizing_buttons), (ev_window_setup_document), (ev_window_cmd_view_zoom_in), (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width), (size_allocate_cb), (ev_window_set_sizing_mode), (ev_window_init): make the "best fit" and "fit width" values act as toggle buttons so they stay toggled. It's not 100% perfect, and it's a little slow, but it's good enough to commit I think.
* Release 0.1.4Marco Pesenti Gritti2005-02-092-10/+10
| | | | | | | | | | | | | | 2005-02-09 Marco Pesenti Gritti <marco@gnome.org> * NEWS: * configure.ac: Release 0.1.4 * pdf/xpdf/Catalog.cc: * pdf/xpdf/XRef.cc: Fix the fix for CAN-2004-0888
* Add warnings about unimplemented/unknown link types.Marco Pesenti Gritti2005-02-081-2/+15
| | | | | | | | | 2005-02-08 Marco Pesenti Gritti <marco@gnome.org> * pdf/xpdf/pdf-document.cc: Add warnings about unimplemented/unknown link types.
* Fix several bugs with findMarco Pesenti Gritti2005-02-041-5/+13
| | | | | | | | | | | | 2005-02-04 Marco Pesenti Gritti <marco@gnome.org> * backend/ev-document-find.c: (ev_document_find_changed): * backend/ev-document-find.h: * pdf/xpdf/pdf-document.cc: * shell/ev-view.c: (jump_to_find_result), (ev_view_set_document): * shell/ev-window.c: (find_bar_search_changed_cb): Fix several bugs with find
* New file with some random thoughts.Jonathan Blandford2005-02-021-8/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Yay! find works now... Now to find bugs...Marco Pesenti Gritti2005-01-301-9/+30
| | | | | | | | | | 2005-01-30 Marco Pesenti Gritti <marco@gnome.org> * pdf/xpdf/pdf-document.cc: * shell/ev-view.c: (draw_rubberband), (highlight_find_results), (expose_bin_window), (find_changed_cb): Yay! find works now... Now to find bugs...
* More work on find implementation, mostly there nowMarco Pesenti Gritti2005-01-301-21/+18
| | | | | | | | | | | | | | | | | | 2005-01-30 Marco Pesenti Gritti <marco@gnome.org> * backend/ev-document-find.c: (ev_document_find_base_init), (ev_document_find_changed): * backend/ev-document-find.h: * pdf/xpdf/pdf-document.cc: * shell/ev-view.c: (draw_rubberband), (highlight_find_results), (expose_bin_window), (ev_view_init), (set_document_page), (ensure_rectangle_is_visible), (jump_to_find_result), (jump_to_find_page), (find_changed_cb), (ev_view_set_document), (ev_view_find_next), (ev_view_find_previous): * shell/ev-view.h: * shell/ev-window.c: (find_bar_previous_cb), (find_bar_next_cb): More work on find implementation, mostly there now
* Enanche the find interface to be really able to do multi page find.Marco Pesenti Gritti2005-01-291-72/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | 2005-01-29 Marco Pesenti Gritti <marco@gnome.org> * backend/ev-backend-marshalers.list: * backend/ev-document-find.c: (ev_document_find_base_init), (ev_document_find_cancel), (ev_document_find_page_has_results), (ev_document_find_get_n_results), (ev_document_find_get_result), (ev_document_find_get_progress), (ev_document_find_changed): * backend/ev-document-find.h: Enanche the find interface to be really able to do multi page find. * pdf/xpdf/pdf-document.cc: Implement * shell/ev-view.c: (ev_view_finalize), (highlight_find_results), (expose_bin_window), (ev_view_init), (ev_view_get_find_status_message), (find_changed_cb), (ev_view_set_document), (set_document_page): Adapt to the new interface. A few things are regressed sorry, I will finish it soon.
* Fix CID fonts with freetype 2.1.9Marco Pesenti Gritti2005-01-261-0/+7
| | | | | | | | | 2005-01-26 Marco Pesenti Gritti <marco@gnome.org> * configure.ac: * pdf/splash/SplashFTFontEngine.cc: Fix CID fonts with freetype 2.1.9
* guard against unloaded docs when the title is accessed.Jonathan Blandford2005-01-251-0/+2
| | | | | | | | | | | | | Tue Jan 25 00:59:34 2005 Jonathan Blandford <jrb@redhat.com> * pdf/xpdf/pdf-document.cc (pdf_document_get_title): guard against unloaded docs when the title is accessed. * shell/ev-password-view.[hc]: New widget for displaying password state. * shell/ev-window.[ch]: Refactor password handling code to handle the new view.
* ignore page offset here, to make search results independent of it,Stephane LOEUILLET2005-01-231-4/+4
| | | | | | | | | | 2005-01-23 Stephane LOEUILLET <stephane.loeuillet@tiscali.fr> * pdf/xpdf/pdf-document.cc (pdf_document_search_page_changed): ignore page offset here, to make search results independent of it, * shell/ev-view.c (expose_bin_window): but take offsets into account here. Bug #164932
* divide by scale at the right time. Bug #164996Stephane LOEUILLET2005-01-231-6/+6
| | | | | | | 2005-01-23 Stephane LOEUILLET <stephane.loeuillet@tiscali.fr> * pdf/xpdf/pdf-document.cc (pdf_document_get_link): divide by scale at the right time. Bug #164996
* My 2005-01-05 change didn't actually fix the problem. Now I justMartin Kretzschmar2005-01-221-14/+16
| | | | | removed the Adobe font names and hope that the URW fonts are always in outline format. Bug #164934
* Check the links info is initialized before using it. Should fix a crash onMarco Pesenti Gritti2005-01-211-0/+4
| | | | | | | | | 2005-01-21 Marco Pesenti Gritti <marco@gnome.org> * pdf/xpdf/pdf-document.cc: Check the links info is initialized before using it. Should fix a crash on startup.
* Keep offset in consideration in a few placesMarco Pesenti Gritti2005-01-201-11/+20
| | | | | | | | | | | | 2005-01-20 Marco Pesenti Gritti <marco@gnome.org> * pdf/xpdf/pdf-document.cc: Keep offset in consideration in a few places * shell/ev-view.c: (expose_bin_window): Set the offsets so that the document is ever centered