| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Sat Apr 2 18:57:00 2005 Jonathan Blandford <jrb@redhat.com>
* shell/evwindow.c: Patch from Alberto Mesas <amesas@gmail.com> to
make F1 bring up non-existent help.
* shell/eggfindbar.c: Patch from Christian Persch to sync to
epiphany's find bar, #167477
* shell/ev-view.c (ev_view_jump): Patch from Emil Soleyman-Zomalan
<emil@nishra.com> to add space-bar scrolling,
* shell/ev-window.c (static GtkActionEntry entries): add default
keybinding for Help (F1)
Fixes #171068
* shell/ev-view.c (ev_view_show_cursor): Fix from Yuval Tanny
changing EV_VIEW_CURSOR_LINK to EV_VIEW_CURSOR_NORMAL resolves bug
170110
|
|
|
|
|
|
|
| |
Fri Apr 1 02:33:41 2005 Jonathan Blandford <jrb@redhat.com>
* shell/ev-sidebar-links.c (create_loading_model): Fix mismatch in
model types, noticed by Martin Kretzschmar.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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,
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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>
* 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-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.
|
|
|
|
|
|
|
|
| |
2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
* shell/ev-sidebar-links.c: (ev_sidebar_links_clear_document):
Clear idle stack before unsetting the document
|
|
|
|
|
|
| |
2005-02-28 Carlos Garcia Campos <carlosgc@gnome.org>
* shell/ev-sidebar.c: expand the selection widget to be always as
wide as the sidebar
|
|
|
|
|
|
|
|
|
| |
2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
* shell/ev-sidebar-thumbnails.c:
(ev_sidebar_thumbnails_set_document):
Clear the list store when setting document
|
|
|
|
|
|
|
|
|
|
| |
2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
* shell/ev-page-action.c: (update_entry), (sync_entry),
(activate_cb), (entry_size_request_cb), (create_tool_item),
(connect_proxy):
Use an entry for the page control instead of spinbuttons
|
|
|
|
|
|
|
|
|
|
| |
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>
* shell/ev-window.c:
Remove unused header -> fix distcheck
|
|
|
|
|
|
|
|
|
| |
2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
* shell/ev-window.c: (update_window_title),
(ev_window_popup_password_dialog):
Unescape filename for display
|
|
|
|
|
|
|
|
| |
2005-02-25 Pedro Villavicencio <pvillavi@gnome.cl>
* shell/ev-window.c:
Make page width the default sizing mode
|
|
|
|
|
|
|
|
|
|
| |
2005-02-25 Carlos Garcia Campos <carlosgc@gnome.org>
Marco Pesenti Gritti <marco@gnome.org>
* shell/ev-window.c: Remember the sidebar size
* data/evince.schemas.in: Add a new gconf key to store the size of
the sidebar
|
|
|
|
|
|
|
|
|
|
| |
2005-02-24 Kai Willadsen <kaiw@itee.uq.edu.au>
* data/evince-ui.xml:
* shell/ev-window.c: (update_action_sensitivity),
(ev_window_cmd_view_reload):
Add a "Reload" action and menu entry
|
|
|
|
|
|
|
| |
Thu Feb 24 23:07:33 2005 Jonathan Blandford <jrb@redhat.com>
* shell/ev-window.c (hide_sidebar_and_actions): Hide the sidebar
iff the type doesn't support thumbnailing and indexing.
|
|
|
|
|
|
|
|
|
| |
2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
* shell/ev-window.c: (update_sizing_buttons), (update_view_size),
(size_allocate_cb), (ev_window_set_sizing_mode):
Update size when switching mode
|
|
|
|
|
|
|
|
|
|
| |
2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
* shell/ev-window.c: (ev_window_cmd_view_best_fit),
(ev_window_cmd_view_page_width), (update_sizing_buttons),
(ev_window_cmd_view_normal_size):
Fix size toggle buttons behavior
|
|
|
|
|
|
|
|
|
|
|
| |
2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
* shell/ev-view.c: (ev_view_get_offsets), (view_rect_to_doc_rect),
(doc_rect_to_view_rect), (ev_view_size_allocate),
(expose_bin_window), (ev_view_select_all), (page_changed_callback),
(scale_changed_callback):
Do not cache offsets in size_allocate.
|
|
|
|
|
|
|
|
|
| |
2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
* shell/ev-view.c: (ev_view_size_allocate):
Calculate offsets before calling the parent
class (which does a redraw)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
| |
2005-02-23 Marco Pesenti Gritti <marco@gnome.org>
* shell/ev-window.c: (ev_window_init):
Do not allow to shrink sidebar smaller then
child requisition
|
|
|
|
|
|
|
|
|
| |
2005-02-23 Carlos Garcia Campos <carlosgc@gnome.org>
* shell/ev-sidebar.[ch]
* shell/ev-window.c:
Improved sidebar widget. Fixes #166683
|
|
|
|
|
|
|
| |
2005-02-23 Tommi Vainikainen <thv@iki.fi>
* shell/ev-view.c (update_find_status_message): Give translators
more flexibility with ngettext plural handling.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
| |
2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
* shell/ev-view.c: (ev_view_best_fit):
Do not try to best fit if the view is not realized
|
|
|
|
|
|
| |
Fri Feb 18 16:06:39 2005 Jonathan Blandford <jrb@redhat.com>
* shell/ev-window.c (ev_window_focus_in_event): missed a case.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fri Feb 18 15:32:57 2005 Jonathan Blandford <jrb@redhat.com>
* shell/ev-window.c: Change the fullscreen toolbar to always be in
the popup window. That prevents it resizing when in full screen
mode.
* shell/ev-view.c: Change Zoom epsilon as a bad hack to avoid
multiple rerenders. This pretty much sucks.
* data/evince-ui.xml: Change the fullscreen toolbar to include the
rest of the toolbar.
|
|
|
|
|
|
| |
2005-02-16 Bryan Clark <clarkbw@cvs.gnome.org>
* shell/ev-window.c: added ellipsis to Print item. Fixes bug 166915
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2005-02-16 Marco Pesenti Gritti <marco@gnome.org>
* shell/ev-view.c: (ev_view_realize), (highlight_find_results),
(ev_view_create_invisible_cursor), (ev_view_set_cursor),
(set_document_page), (document_changed_callback),
(ev_view_set_document), (ev_view_find_previous),
(ev_view_hide_cursor), (ev_view_show_cursor):
* shell/ev-view.h:
* shell/ev-window.c: (update_chrome_visibility),
(fullscreen_timeout_cb), (fullscreen_set_timeout),
(fullscreen_clear_timeout), (fullscreen_motion_notify_cb),
(fullscreen_leave_notify_cb), (ev_window_fullscreen),
(ev_window_unfullscreen):
* shell/main.c: (main):
Automatically hide the fullscreen button.
Patch by Kristian Høgsberg <krh@redhat.com>
|
|
|
|
|
|
|
| |
2005-02-16 Vincent Noel <vnoel@cox.net>
* shell/main.c (main): Specify an icon for the window. Patch by
Jaap A. Haitsma. Fixes #166177.
|
|
|
|
|
|
| |
Wed Feb 16 06:30:13 2005 Jonathan Blandford <jrb@redhat.com>
* shell/ev-view.c (ev_view_realize): get rid of the black flash.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* shell/ev-view.c (ev_view_best_fit, ev_view_fit_width): add
parameters providing allocation width and height without
scrollbars and width of a possible vertical scrollbar. With this
additional information the functions can work as
intended. Unfortunately they're not idempotent. We should
transform these commands to toggles. Fixes Bug #164976
Initial patch by Stephane Loeuillet, then heavily modified.
* shell/ev-view.h: update prototypes.
* shell/ev-window.c (ev_window_cmd_view_best_fit)
(ev_window_cmd_view_page_width): provide EvView fit functions with
all the information they need. Formulas to calculate this
information taken from GtkScrolledWindow.
|
|
|
|
|
|
|
|
| |
2005-02-14 Crispin Flowerday <gnome@flowerday.cx>
* shell/ev-sidebar-thumbnails.c: Ensure that after we have
created a thumbnail, the list store is updated to know
that the thumbnail is set. Fixes bug #166792
|
|
|
|
|
|
|
|
| |
2005-02-11 Bryan Clark <clarkbw@cvs.gnome.org>
* shell/ev-window.c: fixed typo, closes bug 166897
* TODO: updated TODO with bug numbers that are relevant
|
|
|
|
|
| |
2005-02-09 Carlos Garcia Campos <carlosgc@gnome.org>
* shell/ev-window.c: Support for DnD of files. Fixes #164813
|
|
|
|
|
|
|
| |
2005-02-09 Vincent Noel <vnoel@cox.net>
* shell/ev-window.c: (set_action_properties): Set the "Previous"
and "Next" toolbar buttons as important to make them stand out.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
* lib/ev-debug.c:
* lib/ev-debug.h:
* ps/ps-document.c: (ps_document_finalize), (set_up_page),
(start_interpreter), (stop_interpreter), (document_load),
(ps_document_next_page), (ps_document_goto_page),
(ps_document_set_page_size), (ps_document_widget_event),
(ps_document_render):
* shell/ev-page-view.c: (ev_page_view_dispose):
* shell/ev-view.c: (ev_view_finalize), (expose_bin_window):
Fix compilation on non-gcc platforms
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2005-02-09 Luca Ferretti <elle.uca@libero.it>
* data/Makefile.am:
* data/evince-ui.xml:
* shell/ev-stock-icons.c: (ev_stock_icons_init):
* shell/ev-stock-icons.h:
* shell/ev-window.c: (update_action_sensitivity),
(ev_window_cmd_go_previous_page), (ev_window_cmd_go_next_page),
(set_action_properties):
Improve toolbar layout/icons
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
* shell/ev-page-view.c: (ev_page_view_dispose):
* shell/ev-view.c: (ev_view_finalize):
* shell/ev-window.c: (ev_window_setup_document),
(ev_window_dispose), (ev_window_init):
Solve more refs issues.
I commented out the page_view initialization for now:
it was never destroyed (because it's never added
to a container). Because of that we was leaking
gs processes. Couldnt think to a clean fix.
We need to figure this out, password view has the
same issue probably.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
* ps/ps-document.c: (ps_document_finalize),
(ps_document_get_n_pages), (ps_document_get_page):
Some cleanups, stop the interpreter on finalize
* shell/ev-page-view.c: (ev_page_view_dispose),
(ev_page_view_class_init):
Release our reference on the document
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
* Makefile.am:
* configure.ac:
* doc/debugging.txt:
* lib/.cvsignore:
* lib/Makefile.am:
* lib/ev-debug.c: (log_module), (trap_handler), (ev_debug_init),
(ev_profiler_new), (ev_should_profile), (ev_profiler_dump),
(ev_profiler_free), (ev_profiler_start), (ev_profiler_stop):
* lib/ev-debug.h:
Add debugging helpers
* ps/Makefile.am:
* ps/ps-document.c: (set_up_page), (start_interpreter),
(stop_interpreter), (document_load), (ps_document_next_page),
(ps_document_goto_page), (ps_document_set_page_size),
(ps_document_widget_event), (ps_document_render):
* shell/Makefile.am:
* shell/ev-view.c: (expose_bin_window):
* shell/main.c: (main):
Add some logs
|