| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
| |
2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
* NEWS:
* configure.ac:
* shell/ev-view.c:
Add another check for find interface
Release 0.1.3
|
|
|
|
|
|
|
|
|
|
| |
2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
* TODO:
* shell/ev-view.c: (set_document_page):
Clamp page number, dont try to move to
not existant pages.
|
|
|
|
|
|
|
|
|
|
|
|
| |
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-02-01 Marco Pesenti Gritti <marco@gnome.org>
* shell/ev-application.c: (ev_application_open):
* shell/ev-view.c: (expose_bin_window):
* shell/ev-window.c: (ev_window_open):
Support eps and check document supports find
before drawing highlightings in expose.
|
|
|
|
|
|
|
|
| |
2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
* shell/ev-view.c: (set_document_page):
Scroll at the top of the page when changing page
|
|
|
|
|
|
|
|
| |
2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
* shell/ev-view.c: (ev_view_motion_notify_event):
Do not redraw unnecessarily
|
|
|
|
|
|
|
|
|
|
| |
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-27 Marco Pesenti Gritti <marco@gnome.org>
* data/evince-ui.xml:
* shell/Makefile.am:
* shell/ev-history.c:
* shell/ev-history.h:
* shell/ev-navigation-action.c:
* shell/ev-navigation-action.h:
* shell/ev-view.c: (ev_view_finalize), (ev_view_go_to_link),
(ev_view_set_page), (ev_view_fit_width):
* shell/ev-view.h:
* shell/ev-window.c: (update_action_sensitivity),
(ev_window_setup_document), (register_custom_actions):
Kill session history
|
|
|
|
|
|
|
|
|
|
| |
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-21 Marco Pesenti Gritti <marco@gnome.org>
* shell/ev-view.c: (ev_view_button_press_event),
(ev_view_motion_notify_event):
Make selection work in any direction
|
|
|
|
|
|
| |
Thu Jan 20 18:56:35 2005 Jonathan Blandford <jrb@redhat.com>
* shell/ev-view.c (ev_view_realize): make the bg color darker.
|
|
|
|
| |
changes (test with Free Culture, page 2).
|
| |
|
|
|
|
|
|
|
|
|
|
| |
2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
* shell/ev-view.c: (ev_view_size_request), (ev_view_realize),
(expose_bin_window), (ev_view_class_init), (ev_view_init):
Use normal style color for the widget background and
draw a black box around the page.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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-20 Marco Pesenti Gritti <marco@gnome.org>
* shell/ev-sidebar-thumbnails.c:
(ev_sidebar_tree_selection_changed),
(ev_sidebar_thumbnails_select_page):
* shell/ev-sidebar-thumbnails.h:
* shell/ev-view.c: (ev_view_set_document), (ev_view_can_go_back),
(ev_view_can_go_forward):
* shell/ev-window.c: (ev_window_open_page),
(ev_window_setup_document), (update_current_page),
(view_page_changed_cb), (ev_window_init):
* shell/ev-window.h:
Ensure thumbnails selection, toolbar page control and
current page are in sync.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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-14 Dave Malcolm <dmalcolm@redhat.com>
* shell/ev-view.h:
* shell/ev-view.c (ev_view_can_go_back), (ev_view_can_go_forward):
new functions to help with implementation of sensitivity code
* shell/ev-window.c (update_action_sensitivity): Fix sensitivity
of all actions that might require it. Fixes a crash when you
click on the Zoom actions in a window lacking a document.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
* pixbuf/pixbuf-document.c: (pixbuf_document_get_link),
(pixbuf_document_document_iface_init):
* ps/ps-document.c: (ps_document_get_link),
(ps_document_document_iface_init):
* shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event),
(status_message_from_link), (ev_view_set_status),
(ev_view_set_find_status), (ev_view_motion_notify_event),
(ev_view_button_release_event), (ev_view_set_property),
(ev_view_get_property), (ev_view_class_init), (ev_view_init),
(ev_view_get_find_status_message), (update_find_results),
(ev_view_get_status), (ev_view_get_find_status):
* shell/ev-view.h:
* shell/ev-window.c: (view_status_changed_cb),
(view_find_status_changed_cb), (ev_window_init):
View status message support, use it to show the links.
Needs work...
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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-11 Marco Pesenti Gritti <marco@gnome.org>
* shell/ev-history.c: (ev_history_get_property),
(ev_history_set_property), (ev_history_class_init),
(ev_history_add_page), (ev_history_set_current_index):
* shell/ev-navigation-action.c: (ev_navigation_action_set_history),
(activate_menu_item_cb), (new_history_menu_item), (build_menu),
(ev_navigation_action_finalize):
* shell/ev-navigation-action.h:
* shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
(ev_view_go_forward), (ev_view_get_find_status_message),
(history_index_changed_cb), (ev_view_set_history):
* shell/ev-view.h:
* shell/ev-window.c: (update_total_pages), (ev_window_open),
(update_current_page), (register_custom_actions):
Implement history dropdowns
|
|
|
|
|
|
|
|
|
|
|
| |
2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
* shell/ev-history.c: (ev_history_init), (ev_history_add_link):
* shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
(ev_view_go_forward):
* shell/ev-window.c: (register_custom_actions):
Fix several history bugs
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
* shell/Makefile.am:
* shell/ev-application.c: (ev_application_open_bookmark):
* shell/ev-application.h:
* shell/ev-history.c: (ev_history_init), (free_links_list),
(ev_history_finalize), (ev_history_class_init),
(ev_history_add_link), (ev_history_add_page),
(ev_history_get_link_nth), (ev_history_get_n_links),
(ev_history_get_current_index), (ev_history_set_current_index),
(ev_history_new):
* shell/ev-history.h:
* shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
* shell/ev-view.c: (ev_view_finalize), (ev_view_set_document),
(set_document_page), (go_to_bookmark), (ev_view_go_to_bookmark),
(go_to_index), (ev_view_go_back), (ev_view_go_forward),
(ev_view_set_page):
* shell/ev-view.h:
* shell/ev-window.c: (ev_window_open_bookmark),
(ev_window_cmd_go_back), (ev_window_cmd_go_forward),
(goto_page_cb), (register_custom_actions):
* shell/ev-window.h:
Initial history implementation. Needs work.
|
|
|
|
| |
implements the EvDocumentFind interface.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
* data/evince-ui.xml:
Cleanup and add select all.
* shell/ev-view.c: (ev_view_select_all),
(ev_view_button_press_event):
* shell/ev-view.h:
* shell/ev-window.c: (ev_window_cmd_edit_select_all):
Add select all.
Clear selection on click.
|
|
|
|
|
|
|
|
|
|
| |
2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
* shell/ev-view.c: (ev_view_copy):
* shell/ev-view.h:
* shell/ev-window.c: (ev_window_cmd_edit_copy):
Implement Edit->Copy
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
* shell/ev-view.c: (ev_gdk_color_to_rgb), (draw_rubberband),
(expose_bin_window):
Nicer rubberband drawing, from GtkIconView.
|
|
|
|
|
|
|
|
| |
2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
* shell/ev-view.c: (ev_view_zoom):
Queue a resize when zoom changes
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
* data/evince-ui.xml:
Change the layout to match clarkbw design.
* shell/Makefile.am:
* shell/ev-navigation-action.c: (build_menu), (menu_activated_cb),
(set_tooltip_cb), (connect_proxy), (ev_navigation_action_init),
(ev_navigation_action_finalize),
(ev_navigation_action_set_property),
(ev_navigation_action_get_property),
(ev_navigation_action_class_init):
* shell/ev-navigation-action.h:
Implement clarkbw toolbar navigation controls (incomplete)
* shell/ev-page-action.c: (update_label), (update_spin),
(value_changed_cb), (create_tool_item), (connect_proxy),
(ev_page_action_init), (ev_page_action_finalize),
(ev_page_action_set_property), (ev_page_action_get_property),
(ev_page_action_set_current_page),
(ev_page_action_set_total_pages), (ev_page_action_class_init):
* shell/ev-page-action.h:
Implement a page switcher in the toolbar
* shell/ev-view.c: (ev_view_scroll_view):
* shell/ev-window.c: (update_total_pages), (ev_window_open),
(update_current_page), (view_page_changed_cb), (goto_page_cb),
(register_custom_actions), (ev_window_init):
Change page on PageUp/Down.
|
|
|
|
|
|
|
|
| |
2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
* shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event):
Grab focus on the view when clicking it
|
|
|
|
|
|
|
|
|
|
|
| |
2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
* shell/ev-marshal.list:
* shell/ev-view.c: (ev_view_realize), (add_scroll_binding),
(ev_view_scroll_view), (ev_view_class_init), (ev_view_init):
Add key bindings to the view. Now if the focus would work
right...
|
|
|
|
|
|
|
|
| |
2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
* shell/ev-view.c: (ev_view_realize):
Fix mouse wheel scrolling
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
* backend/ev-document.c: (ev_document_base_init),
(ev_document_changed):
* backend/ev-document.h:
Add a changed event that is emitted when the page content
changes. This is necessary to deal with the fact that
in ps backend rendering happen asycrounously.
This makes the ps backend mostly work.
* pdf/xpdf/pdf-document.cc:
Emit changed event
* ps/gtkgs.c: (set_up_page), (gtk_gs_widget_event),
(ps_document_set_target):
Emit changed event
* shell/ev-view.c: (document_changed_callback),
(ev_view_set_document), (ev_view_set_page):
Redraw on the changed signal
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2004-12-23 Havoc Pennington <hp@redhat.com>
* shell/ev-window.c: hook up potentially-questionable "find
results status text" feature - something involving the sidebar or
scrollbar or a continuous all-pages-on-giant-roll-of-paper-view
might be better in the end.
* shell/ev-view.c (ev_view_get_find_status_message): new function,
with corresponding signal when it should be updated
* shell/eggfindbar.c (egg_find_bar_set_status_text): new function
|
|
|
|
|
|
|
|
|
|
| |
2004-12-22 Havoc Pennington <hp@redhat.com>
* pdf/xpdf/pdf-document.cc (pdf_document_find_begin): make search
find stuff on other pages, sort of (only returns one result on
invisible pages, to show they have results; updates full results
for a page when you view it). Currently repaints the current page
every time a new result is found on any page, which isn't so nice.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2004-12-22 Havoc Pennington <hp@redhat.com>
* shell/ev-window.c (ev_window_cmd_edit_find): display an error if
the document doesn't support find (better ideas?)
(find_bar_search_changed_cb): handle missing document or document
that doesn't support find
* pdf/xpdf/pdf-document.cc: port to implement the new
EvDocumentFindIface
* backend/ev-document-find.c: create a new interface for searching
* backend/ev-document.h, backend/ev-document.c: delete the find stuff
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
2004-12-22 Mark McLoughlin <mark@skynet.ie>
* shell/ev-view.c:
(ev_view_best_fit), (ev_view_fit_width): because
get_page_size() returns the scaled page size, we
need to calculate the scale factor relative to
the previous scale factor. Should really just
add get_real_page_size().
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2004-12-22 Mark McLoughlin <mark@skynet.ie>
* shell/ev-view.[ch]:
(ev_view_zoom), (ev_view_zoom_in), (ev_view_zoom_out),
(ev_view_normal_size), (ev_view_best_fit), (ev_view_fit_width):
add zooming.
* shell/ev-window.c: (ev_window_cmd_view_zoom_in),
(ev_window_cmd_view_zoom_out), (ev_window_cmd_view_normal_size),
(ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width):
hook it up.
* pdf/xpdf/pdf-document.cc:
(pdf_document_begin_find),
(pdf_document_end_find): make static.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2004-12-22 Havoc Pennington <hp@redhat.com>
* shell/ev-view.c (ev_view_set_document): connect to "found" signal
(expose_bin_window): draw find highlights
* shell/ev-window.c (find_bar_search_changed_cb): implement
* pdf/xpdf/pdf-document.cc (pdf_document_begin_find)
(pdf_document_end_find): implement this interface
* backend/ev-document.c (ev_document_found): add this to emit
signal
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Tue Dec 21 23:57:37 2004 Owen Taylor <otaylor@redhat.com>
* data/evince-ui.xml: Add a few more toolbar items.
* shell/ev-window.c: Hook up page navigation toolbar
items.
* shell/ev-view.[ch]: add ev_view_set/get_page and
a page-changed signal.
* backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc::
Add ev_document_get_page().
* shell/ev-window.c: Sensitize/desensitize navigation
actions.
|
|
|
|
|
|
|
|
|
| |
Tue Dec 21 23:05:51 2004 Owen Taylor <otaylor@redhat.com>
* backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc:
Redo size handling.
* shell/ev-view.c: Track the size from the document.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Tue Dec 21 21:58:56 2004 Owen Taylor <otaylor@redhat.com>
* pdf/xpdf/pdf-document.cc shell/ev-view.c: Hook things up
a bit, it works! (sort of)
* pdf/xpdf/Makefile.am pdf/xpdf/pdf-document.cc:
Move to .cc since we need to use C++ in the implementation.
* shell/dummy.cc: Add a CC file to force evince
to be linked as a C++ program.x
|
|
Tue Dec 21 21:07:55 2004 Owen Taylor <otaylor@redhat.com>
* shell/ev-view.[ch]: Start of content-area widget.
* shell/ev-window.c: Create a EvView, update it
as we change documents.
* shell/Makefile.am shell/ev-marshal.list: Add
generated marshalers.
|