2005-02-25 Sebastien Bacher * configure.ac: add the french translation. 2005-02-25 Marco Pesenti Gritti * shell/ev-window.c: Remove unused header -> fix distcheck 2005-02-25 Marco Pesenti Gritti * shell/ev-window.c: (update_window_title), (ev_window_popup_password_dialog): Unescape filename for display 2005-02-25 Marco Pesenti Gritti * pdf/xpdf/pdf-document.cc: In get_page_size deal with rotation. Also cleanup the function a bit. 2005-02-25 Marco Pesenti Gritti * pdf/xpdf/pdf-document.cc: Fix crash when opening in new window 2005-02-25 Marco Pesenti Gritti * configure.ac: Check ghostscript >= 7 2005-02-25 Pedro Villavicencio * shell/ev-window.c: Make page width the default sizing mode 2005-02-25 Carlos Garcia Campos Marco Pesenti Gritti * 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 * 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 * shell/ev-window.c (hide_sidebar_and_actions): Hide the sidebar iff the type doesn't support thumbnailing and indexing. 2005-02-24 Martin Kretzschmar * configure.ac (ALL_LINGUAS): Added "zh_TW" (Traditional Chinese). 2005-02-24 Marco Pesenti Gritti * 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 * 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 * 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 * 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 * 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 * 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 * pdf/xpdf/pdf-document.cc: Fix a crasher on exit. Unused code, put a TODO 2005-02-24 Marco Pesenti Gritti * 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 * shell/ev-window.c: (ev_window_init): Do not allow to shrink sidebar smaller then child requisition 2005-02-23 Carlos Garcia Campos * shell/ev-sidebar.[ch] * shell/ev-window.c: Improved sidebar widget. Fixes #166683 2005-02-23 Tommi Vainikainen * shell/ev-view.c (update_find_status_message): Give translators more flexibility with ngettext plural handling. Mon Feb 21 17:52:08 2005 Jonathan Blandford * pdf/xpdf/pdf-document.cc (pdf_document_get_page_size): Patch from Crispin Flowerday to avoid rendering the page when we get the page size. 2005-02-21 Marco Pesenti Gritti * ps/ps-document.c: (ps_document_set_page), (ps_document_get_page): ps pages are 0 based, convert 2005-02-21 Marco Pesenti Gritti * ps/ps-document.c: (ps_document_class_init), (ps_document_load): Initialize correct parent class. Set GError on document load 2005-02-21 Marco Pesenti Gritti * 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 * shell/ev-view.c: (ev_view_best_fit): Do not try to best fit if the view is not realized 2005-02-20 Kostas Papadimas * configure.ac (ALL_LINGUAS): Added "el" (Greek). Fri Feb 18 16:06:39 2005 Jonathan Blandford * shell/ev-window.c (ev_window_focus_in_event): missed a case. Fri Feb 18 15:32:57 2005 Jonathan Blandford * 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-18 Tommi Vainikainen * configure.ac (ALL_LINGUAS): Added "fi" (Finnish). 2005-02-17 Alexander Shopov * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian) 2005-02-16 Bryan Clark * shell/ev-window.c: added ellipsis to Print item. Fixes bug 166915 2005-02-16 Marco Pesenti Gritti * 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 2005-02-16 Vincent Noel * 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 * shell/ev-view.c (ev_view_realize): get rid of the black flash. Tue Feb 15 22:27:13 2005 Jonathan Blandford * 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-15 David Lodge * configure.ac (ALL_LINGUAS): Added "en_GB" (English (British)). 2005-02-15 Martin Kretzschmar * shell/ev-window.c (update_window_title): replace newlines in the title by spaces. Bug #166107. 2005-02-14 Martin Kretzschmar * 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 * 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 * shell/ev-window.c: fixed typo, closes bug 166897 * TODO: updated TODO with bug numbers that are relevant 2005-02-09 Carlos Garcia Campos * shell/ev-window.c: Support for DnD of files. Fixes #164813 2005-02-09 Vincent Noel * 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 * 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