2005-01-24 Marco Pesenti Gritti * NEWS: * configure.ac: * data/Makefile.am: Release 0.1.1 2005-01-23 Stephane LOEUILLET * 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 * pdf/xpdf/pdf-document.cc (pdf_document_get_link): divide by scale at the right time. Bug #164996 2005-01-22 Martin Kretzschmar * pdf/xpdf/GlobalParams.cc: My 2005-01-05 change didn't actually fix the problem. Now I just removed the Adobe font names and hope that the URW fonts are always in outline format. Bug #164934 * shell/ev-window.c (update_window_title): empty titles are useless, use filename in that case too. * NEWS: Add some content. 2005-01-21 Bryan Clark * TODO: added one more TODO item and a TODONE section :) 2005-01-21 Martin Kretzschmar * ps/ps-document.h: add page_[xy]_offset fields. * ps/ps-document.c (ps_document_set_page_offset) (ps_document_render): Keep offset in consideration in a few places. Bug #164752 "postscript documents are not centered in window" * data/evince.desktop.in (X-GNOME-Bugzilla-Product): s/gpdf/evince/. Spotted by Stephane Loeuillet. * pixbuf/pixbuf-document.c (pixbuf_document_get_n_pages) (pixbuf_document_get_text, pixbuf_document_document_iface_init): stub out missing methods for complete EvDocument implementation. Fixes segfaults with Save A Copy and Copy actions. * ps/ps-document.c (ps_document_save, ps_document_get_text) (ps_document_document_iface_init): ditto. 2005-01-21 Marco Pesenti Gritti * data/.cvsignore: * data/Makefile.am: * data/evince.desktop.in: Add desktop file 2005-01-21 Marco Pesenti Gritti * shell/ev-view.c: (ev_view_button_press_event), (ev_view_motion_notify_event): Make selection work in any direction 2005-01-21 Marco Pesenti Gritti * TODO: * shell/ev-window.c: (set_short_labels), (ev_window_init): Use shorter labels for some of the toolbars items 2005-01-21 Marco Pesenti Gritti * pdf/xpdf/pdf-document.cc: Check the links info is initialized before using it. Should fix a crash on startup. 2005-01-21 Martin Kretzschmar * pixbuf/pixbuf-document.c (pixbuf_document_thumbnails_get_dimensions): force floating point division to calculate page_ratio. Fixes crash with landscape format pixbufs. Thu Jan 20 18:56:35 2005 Jonathan Blandford * shell/ev-view.c (ev_view_realize): make the bg color darker. 2005-01-20 Martin Kretzschmar * shell/ev-view.c (set_document_page): unset has_selection when the page changes. (set_document_page): handle paper size changes when the page changes (test with Free Culture, page 2). 2005-01-20 Marco Pesenti Gritti * 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 * 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 Bryan Clark * TODO: Added TODO items and finished off the first todo item * AUTHORS: Updated AUTHORS section with piece from gpdf file and reflect current authors 2005-01-20 Marco Pesenti Gritti * 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 * 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-19 Marco Pesenti Gritti * pdf/xpdf/XRef.cc: Fix CAN-2005-0064 Wed Jan 19 01:10:57 2005 Jonathan Blandford * 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 * 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-17 Bryan Clark * viewer/.cvsignore: added cvsignore file for viewer directory * TODO: created TODO document 2005-01-14 Dave Malcolm * 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 Dave Malcolm * shell/ev-window.c (update_action_sensitivity): Fix sensitivity of the Find action 2005-01-13 Marco Pesenti Gritti * 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 * 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-13 Anders Carlsson * shell/ev-page-action.c: (update_spin), (total_pages_changed_cb), (create_tool_item): Set the spin button limits correctly. * shell/ev-sidebar-thumbnails.c: (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init): Support changing pages by clicking on the thumbnails. 2005-01-13 Jeff Muizelaar * pixbuf/pixbuf-document.c: (pixbuf_document_thumbnails_get_dimensions), (pixbuf_document_document_thumbnails_iface_init): implement get_dimensions 2005-01-13 Marco Pesenti Gritti * ps/ps-document.c: (ps_document_goto_page): Fix page switching on multipage documents 2005-01-12 Jeff Muizelaar * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size): check for NULL before assigning to width and height parameters 2005-01-12 Jeff Muizelaar * pixbuf/pixbuf-document.c: (pixbuf_document_class_init), (pixbuf_document_set_property), (pixbuf_document_get_property): implement get/set properties 2005-01-12 Jeff Muizelaar * pdf/xpdf/pdf-document.cc: (pdf_info_dict_get_string): return NULL instead of "Unknown", letting the title get set to the filename when the pdf has no title. 2005-01-11 Marco Pesenti Gritti * ps/ps-document.c: (ps_document_get_page_count), (ps_document_goto_page): 2005-01-11 Marco Pesenti Gritti * 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 * 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-11 Kjartan Maraas * configure.ac: Add «nb» to ALL_LINGUAS. 2005-01-10 Marco Pesenti Gritti * backend/Makefile.am: * backend/ev-bookmark.c: * backend/ev-bookmark.h: * backend/ev-document-bookmarks.c: * backend/ev-document-bookmarks.h: * backend/ev-document-links.c: (ev_document_links_get_type), (ev_document_links_has_document_links), (ev_document_links_begin_read), (ev_document_links_get_link), (ev_document_links_get_child), (ev_document_links_next), (ev_document_links_free_iter): * backend/ev-document-links.h: * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_title), (ev_link_set_title), (ev_link_get_uri), (ev_link_set_uri), (ev_link_get_link_type), (ev_link_set_link_type), (ev_link_get_page), (ev_link_set_page), (ev_link_get_property), (ev_link_set_property), (ev_window_dispose), (ev_link_init), (ev_link_class_init), (ev_link_new_title), (ev_link_new_page), (ev_link_new_external): * backend/ev-link.h: * pdf/xpdf/pdf-document.cc: * shell/Makefile.am: * shell/ev-application.c: (ev_application_open_link): * shell/ev-application.h: * shell/ev-history.c: (ev_history_add_link), (ev_history_add_page), (ev_history_get_link_nth): * shell/ev-history.h: * shell/ev-sidebar-bookmarks.c: * shell/ev-sidebar-bookmarks.h: * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy), (ev_sidebar_links_class_init), (selection_changed_cb), (ev_sidebar_links_construct), (ev_sidebar_links_init), (links_page_num_func), (ev_sidebar_links_new), (stack_data_free), (do_one_iteration), (populate_links_idle), (ev_sidebar_links_clear_document), (ev_sidebar_links_set_document): * shell/ev-sidebar-links.h: * shell/ev-sidebar.c: (ev_sidebar_set_document): * shell/ev-view.c: (go_to_link), (ev_view_go_to_link), (go_to_index): * shell/ev-view.h: * shell/ev-window.c: (ev_window_open_link), (ev_window_init): * shell/ev-window.h: Rename bookmark to link, and use "Index" for the sidebar panel. 2005-01-09 Marco Pesenti Gritti * 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. 2005-01-09 Martin Kretzschmar * pdf/xpdf/GDKSplashOutputDev.cc (redraw): fix pixbuf data offset. 2005-01-09 Marco Pesenti Gritti * cut-n-paste/recent-files/egg-recent-item.c: * cut-n-paste/recent-files/egg-recent-item.h: * cut-n-paste/recent-files/egg-recent-model.c: * cut-n-paste/recent-files/egg-recent-util.c: * cut-n-paste/recent-files/egg-recent-view-gtk.c: * cut-n-paste/recent-files/egg-recent-view.c: Update 2005-01-08 Martin Kretzschmar * 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. * shell/ev-print-job.c (ev_print_job_finalize) (ev_print_job_set_property, ev_print_job_get_property) (ev_print_job_set_gnome_print_job, ev_print_job_set_document) (ev_print_job_use_print_dialog_settings, idle_print_handler) (print_closure_finalize, ev_print_job_print): implement printing (for backends with EvPsExporter) * shell/ev_print_job.h: update prototypes. * shell/ev-window.c (ev_window_print): unref print job after printing. * shell/ev-view.c (ev_view_set_document): don't connect to "found" unless the document implements the EvDocumentFind interface.