| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
* pdf/pdf-document.cc:
Remove 4 pixels of useless border from the
thumbnail.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
| |
2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
* pdf/xpdf/pdf-document.cc:
Fix crash when opening in new window
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
| |
2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
* pdf/xpdf/pdf-document.cc:
Fix a crasher on exit. Unused code, put a TODO
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
2005-02-08 Marco Pesenti Gritti <marco@gnome.org>
* pdf/xpdf/pdf-document.cc:
Add warnings about unimplemented/unknown link
types.
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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-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...
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
| |
2005-01-26 Marco Pesenti Gritti <marco@gnome.org>
* configure.ac:
* pdf/splash/SplashFTFontEngine.cc:
Fix CID fonts with freetype 2.1.9
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
removed the Adobe font names and hope that the URW fonts are always in
outline format. Bug #164934
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
* pdf/xpdf/pdf-document.cc:
* shell/ev-view.c: (ev_view_set_cursor),
(ev_view_motion_notify_event), (document_changed_callback),
(set_document_page):
Show a wait cursor while the page is rendering
|
|
|
|
|
|
|
|
| |
2005-01-19 Marco Pesenti Gritti <marco@gnome.org>
* pdf/xpdf/XRef.cc:
Fix CAN-2005-0064
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Wed Jan 19 01:10:57 2005 Jonathan Blandford <jrb@redhat.com>
* backend/Makefile.am:
* backend/ev-document-links.h:
* backend/ev-document-security.c: (ev_document_security_get_type),
(ev_document_security_has_document_security),
(ev_document_security_set_password):
* backend/ev-document-security.h:
* backend/ev-document.c: (ev_document_error_quark):
* backend/ev-document.h:
* data/Makefile.am:
* data/evince-password.glade:
* pdf/xpdf/pdf-document.cc:
* shell/Makefile.am:
* shell/ev-password.c: (ev_password_set_bad_password_label),
(ev_window_password_entry_changed_cb), (ev_password_dialog_new),
(ev_password_dialog_get_password),
(ev_password_dialog_set_bad_pass):
* shell/ev-password.h:
* shell/ev-window.c: (ev_window_get_attribute),
(ev_window_set_property), (update_action_sensitivity),
(ev_window_is_empty), (mime_type_supported_by_gdk_pixbuf),
(ev_window_setup_document), (ev_window_get_password),
(ev_window_open), (ev_window_cmd_save_as),
(using_postscript_printer), (ev_window_print),
(find_not_supported_dialog), (ev_window_cmd_edit_find),
(update_fullscreen_popup), (ev_window_fullscreen),
(ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
(ev_window_focus_out_cb), (ev_window_cmd_help_about),
(menu_item_select_cb), (find_bar_search_changed_cb),
(ev_window_dispose), (ev_window_init):
Add initial support for password-supported dialogs. This could be
a lot cooler, but it'll do for now.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2005-01-18 Marco Pesenti Gritti <marco@gnome.org>
* pdf/xpdf/pdf-document.cc:
* shell/ev-view.c: (status_message_from_link),
(ev_view_set_status), (ev_view_set_cursor),
(ev_view_motion_notify_event), (ev_view_init):
* shell/ev-window.c: (view_status_changed_cb), (ev_window_init):
Fix bugs in the links implementation and change cursor
when hovering a link.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
* backend/ev-document.c: (ev_document_get_link):
* backend/ev-document.h:
* pdf/xpdf/pdf-document.cc:
* shell/ev-application.c: (ev_application_open):
* shell/ev-application.h:
* shell/ev-sidebar-links.c: (selection_changed_cb):
* shell/ev-view.c: (ev_view_button_release_event), (go_to_link),
(ev_view_go_to_link):
Add support for document links
|
|
|
|
|
|
|
|
|
| |
2005-01-12 Jeff Muizelaar <jeff@nit.ca>
* pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
(pixbuf_document_set_property), (pixbuf_document_get_property):
implement get/set properties
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
* pdf/splash/Splash.cc (clear, drawPixel, drawSpan, xorSpan, getPixel)
(fillGlyph, fillImageMask, drawImage):
pdf/splash/SplashBitmap.cc (SplashBitmap, ~SplashBitmap, writePNMFile):
pdf/splash/SplashTypes.h:
pdf/xpdf/SplashOutputDev (startPage, getColor, imageSrc): implement RGB8
packed mode for Splash.
* pdf/xpdf/GDKSplashOutputDev.cc (GDKSplashOutputDev, redraw): use
RGB8 packed mode, eliminates the pixbuf data creation loop.
|
|
|
|
|
|
|
|
|
| |
2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
* pdf/xpdf/pdf-document.cc:
add a FIXME. We should probably not allocate
a bookmark object every time
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
* shell/ev-application.c: (ev_application_open),
(ev_application_open_bookmark):
* shell/ev-application.h:
Add a way to open bookmarks
* backend/ev-bookmark.c: (ev_bookmark_get_uri),
(ev_bookmark_set_uri), (ev_bookmark_get_property),
(ev_bookmark_set_property), (ev_bookmark_class_init),
(ev_bookmark_new_title), (ev_bookmark_new_link),
(ev_bookmark_new_external):
Support for external uris, better constructors.
* backend/ev-bookmark.h:
* pdf/xpdf/pdf-document.cc:
* shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
Handle external uris
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
* backend/Makefile.am:
* backend/ev-bookmark.c: (ev_bookmark_type_get_type),
(ev_bookmark_get_title), (ev_bookmark_set_title),
(ev_bookmark_get_bookmark_type), (ev_bookmark_set_bookmark_type),
(ev_bookmark_get_page), (ev_bookmark_set_page),
(ev_bookmark_get_property), (ev_bookmark_set_property),
(ev_window_dispose), (ev_bookmark_init), (ev_bookmark_class_init),
(ev_bookmark_new):
* backend/ev-bookmark.h:
* backend/ev-document-bookmarks.c:
(ev_document_bookmarks_get_bookmark):
* backend/ev-document-bookmarks.h:
* pdf/xpdf/pdf-document.cc:
* shell/ev-sidebar-bookmarks.c: (do_one_iteration):
Add a bookmark object to the backend and use it instead of get_values
|
|
|
|
|
|
|
|
|
|
| |
Thu Jan 6 18:48:11 2005 Jonathan Blandford <jrb@redhat.com>
* backend/ev-document-misc.c
(ev_document_misc_get_thumbnail_frame): fill in the thumbnail with
white.
* backend/ev-document-thumbnails.h: New interface to get the size
of a page.
|
|
|
|
|
|
|
|
|
|
| |
Wed Jan 5 15:38:28 2005 Jonathan Blandford <jrb@redhat.com>
* pdf/xpdf/pdf-document.cc (bitmap_to_pixbuf): bypass
GDKSplashOutputDev and just use a normal SplashOutputDev. Speeds
things up a bit.
* shell/ev-sidebar-thumbnail.c: start of some profiling code.
|
|
|
|
|
| |
on systems that have the base fonts in bitmap format. Reported by
James Henstridge <james@jamesh.id.au>.
|
|
|
|
|
|
|
|
|
| |
2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
* pdf/xpdf/Gfx.cc:
* pdf/xpdf/GfxState.cc:
Fix for CAN-2004-1125
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
* backend/ev-document.c: (ev_document_get_text):
* backend/ev-document.h:
* pdf/xpdf/pdf-document.cc:
* shell/ev-view.c: (ev_view_realize), (expose_bin_window),
(ev_view_primary_get_cb), (ev_view_primary_clear_cb),
(ev_view_update_primary_selection), (ev_view_button_press_event),
(ev_view_motion_notify_event), (ev_view_button_release_event):
Beginnings of clipboard support. Incomplete but primary sort
of work.
|
|
|
|
|
|
|
|
|
|
|
|
| |
2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
* backend/ev-document.c: (ev_document_save):
* backend/ev-document.h:
* data/evince-ui.xml:
* pdf/xpdf/pdf-document.cc:
* shell/ev-window.c: (save_error_dialog), (ev_window_cmd_save_as):
Implement "Save a copy..." menu item
|