2006-12-25 Carlos Garcia Campos * test/test1.py: * test/test2.py: Use C locale in tests. 2006-12-24 Carlos Garcia Campos * shell/ev-window.c: (ev_window_run_presentation): * shell/ev-view-private.h: * shell/ev-view.c: (ev_view_set_presentation): Restore zoom settings when back from presentation mode. 2006-12-24 Wouter Bolsterlee * shell/ev-window.c: (ev_window_run_presentation): Always use "best fit" zoom in presentation mode. Fixes bug #389195. 2006-12-24 Wouter Bolsterlee * shell/ev-view.c: (ev_view_goto_window_create): Show "Jump to page" label in the page jumping popup in presentation mode instead of just a GtkEntry. 2006-12-23 Carlos Garcia Campos * shell/ev-window.c: (launch_external_uri): Do not escape uri before calling gnome_vfs_url_show(). Fixes bug #378085. 2006-12-22 Elijah Newren * configure.ac: explicitly check for libxml2. Fixes #388795 2006-12-22 Carlos Garcia Campos * shell/ev-view-private.h: * shell/ev-view.c: (send_focus_change), (ev_view_goto_window_hide), (ev_view_goto_window_delete_event), (key_is_numeric), (ev_view_goto_window_key_press_event), (ev_view_goto_window_button_press_event), (ev_view_goto_entry_activate), (ev_view_goto_window_create), (ev_view_goto_entry_grab_focus), (ev_view_goto_window_send_key_event), (ev_view_key_press_event), (ev_view_focus_out), (ev_view_destroy): Allow jumping to another page by typing a page number in presentation mode. It uses a popup window with an entry. Fixes bug #353625. 2006-12-21 Nickolay V. Shmyrev * configure.ac: * properties/ev-properties-view.c: (ev_get_default_user_units), (ev_regular_paper_size): Check for NL_MEASUREMENT. Fixes bug #376469. Thanks to Damien Carbery and Yevgen Muntyan . 2006-12-20 Wouter Bolsterlee * shell/ev-window.c: (setup_document_from_metadata): Make sure Evince doesn't restore the view on the last page when a document is reopened. Fixes bug #383381. 2006-12-18 Jens Granseuer * shell/ev-view.c: (draw_loading_text): Fix compilation with older compilers like gcc 2. Fixes bug #387237. 2006-12-18 Carlos Garcia Campos * configure.ac: * NEWS: Release 0.7.0 2006-12-18 Carlos Garcia Campos * configure.ac: * pdf/ev-poppler.cc: (pdf_print_context_free), (pdf_document_file_exporter_begin), (pdf_document_file_exporter_do_page): Make cairo-pdf depedency optional. 2006-12-18 Carlos Garcia Campos * shell/ev-print-job.c: (idle_print_handler), (ev_print_job_print): Use ev_file_exporter instead of ev_ps_exporter in ev-print-job. 2006-12-18 Carlos Garcia Campos * backend/ev-document.[ch]: (ev_document_get_fc_mutex), (ev_document_fc_mutex_lock), (ev_document_fc_mutex_unlock): * pdf/ev-poppler.cc: (make_thumbnail_for_size): * shell/ev-jobs.c: (ev_job_render_run), (ev_job_fonts_run): * shell/ev-view.c: (draw_loading_text): * shell/ev-window.c: (ev_window_cmd_file_properties): Use an specific lock for FontConfig. Hopefully it fixes some crashes related to using FontConfig from different threads. 2006-12-18 Carlos Garcia Campos * shell/ev-view.c: (draw_loading_text): Acquire lock document when drawing "Loading..." text so that only one thread will use FontConfig at the same time. Fixes bug #374750. 2006-12-15 Carlos Garcia Campos * shell/ev-page-action.[ch]: (activate_cb): * shell/ev-window.c: (activate_label_cb): Check if text inserted in page entry is a valid page number when it doesn't match to any document page label. Fixes bug #383165. 2006-12-14 Julien Rebetez, * shell/ev-window.c: GTK_STOCK_SELECT_ALL is used in menu definition, but isn't available with GTK < 2.10. Added an ifdef to avoid compilation error. 2006-12-14 Carlos Garcia Campos * configure.ac: * ps/ps-document.c: (start_interpreter), (ps_document_next_page): Fix ps backend in multihead systems. 2006-12-14 Carlos Garcia Campos * ps/ps-document.c: (setup_page), (ps_document_get_page_size): * shell/ev-window.c: (ev_window_get_screen_dpi), (ev_window_update_actions), (setup_view_from_metadata), (ev_window_zoom_changed_cb), (zoom_control_changed_cb): Take screen DPI into account when zooming. Fixes bug #318285. 2006-12-14 Wouter Bolsterlee * data/Makefile.am: Cleaned up/slightly refactored Makefile.am. Added GConf schemas uninstallation as well. 2006-12-13 Wouter Bolsterlee * Makefile.am: * test/Makefile.am: Fight with autotools to fix make check. Make distcheck works fine as well now! 2006-12-13 Wouter Bolsterlee * shell/ev-view.c: (draw_end_presentation_page): Corrected "end of presentation" string. 2006-12-13 Wouter Bolsterlee * shell/ev-view.c: (ev_view_key_press_event): Correctly propagate key press event so that up/down keys work as expected (correct behaviour was broken by black/white screen key bindings for presentations). 2006-12-13 Carlos Garcia Campos * pdf/ev-poppler.cc: (pdf_document_find_get_n_results), (pdf_document_find_get_result), (pdf_document_find_page_has_results), (pdf_document_find_get_progress), (pdf_selection_render_selection), (pdf_selection_get_selection_region), (pdf_selection_get_selection_map): Add "static" to some private functions. 2006-12-13 P. Henrique Silva * lib/ev-tooltip.h: * properties/ev-properties-view.h: * shell/ev-jobs.h: * shell/ev-properties-dialog.h: * shell/ev-properties-fonts.h: * shell/ev-sidebar-links.h: * shell/ev-sidebar-thumbnails.h: * shell/ev-sidebar.h: * shell/ev-window.h: Fixes CHACK type in class casts. See bug #385343 for details. 2006-12-10 Carlos Garcia Campos * shell/ev-view-private.h: * shell/ev-view.c: (draw_end_presentation_page), (ev_view_expose_event), (ev_view_key_press_event), (ev_view_class_init), (ev_view_init): Blank screen in presentation mode when pressing 'b' (filling with black) or 'w' (filling with white) keys. Fixes bug #358132. 2006-12-09 Gabriel Felipe Cornejo * data/evince-toolbar.xml: * shell/ev-window.c: Use stock icon for Select All action. Fixes bug #382652. 2006-12-09 Radoslav Dorcik * shell/ev-view.c: (get_doc_point_from_offset), (ev_view_get_link_at_location), (ev_view_motion_notify_event): Add links support in rotated documents. Fixes bug #343733. 2006-12-09 Carlos Garcia Campos * shell/ev-view-private.h: * shell/ev-view.c: (draw_end_presentation_page), (ev_view_expose_event), (ev_view_init), (ev_view_set_presentation): Show a blank page after the last page in presentation mode with a message indicating that presentation has finished and how to exit. 2006-12-09 Carlos Garcia Campos * shell/ev-window.c: (fullscreen_timeout_cb): Hide cursor after a while in presentation mode. 2006-12-04 Wouter Bolsterlee * backend/ev-document-info.h: * data/evince-properties.glade: * pdf/ev-poppler.cc: * properties/ev-properties-view.c: (ev_regular_paper_size), (ev_properties_view_set_info): * ps/ps-document.c: (ps_document_get_info): Adds a paper size field to the properties dialog. Fixes bug #307315. Patch by Kasper Svendsen (with some i18n changes done by me). 2006-12-03 Nickolay V. Shmyrev * cut-n-paste/totem-screensaver/totem-scrsaver.c: (screensaver_init_dbus), (totem_scrsaver_new), (totem_scrsaver_init): * cut-n-paste/totem-screensaver/totem-scrsaver.h: * shell/ev-application.c: (ev_application_register_service), (ev_application_screensaver_enable), (ev_application_screensaver_disable): * shell/ev-application.h: * shell/ev-window.c: (ev_window_run_presentation), (ev_window_stop_presentation), (build_comments_string), (ev_window_init): Move screensaver handling to application. No more message on startup. 2006-12-03 Carlos Garcia Campos * configure.ac: * backend/Makefile.am: * backend/ev-file-exporter.[ch]: * pdf/ev-poppler.cc: (pdf_document_file_exporter_*): * ps/ps-document.c: (ps_document_file_exporter_*): * tiff/tiff-document.c: (tiff_document_document_file_exporter_*): * shell/ev-jobs.[ch]: (ev_job_print_new), (ev_job_print_run): * shell/ev-window.c: (ev_window_setup_action_sensitivity), (ev_window_print_dialog_response_cb), (ev_window_print_range): Allow printing to PDF when suppoted by the backend. 2006-12-03 Carlos Garcia Campos * shell/ev-window.c: (build_comments_string): Use always "Document Viewer" in about dialog. 2006-12-03 Carlos Garcia Campos * djvu/djvu-document.c: (djvu_document_get_page_size): Display a warning message when get_pageinfo fails. 2006-11-30 Yevgen Muntyan * Makefile.am: * backend/Makefile.am: * backend/ev-document-factory.c: (ev_document_factory_add_filters): * configure.ac: * shell/ev-window.c: (build_comments_string): Make pdf compilation optional. See bug #38007. 2006-11-30 Carlos Garcia Campos * ps/ps.c: (get_next_text): Fix CVE-2006-5864. 2006-11-22 Carlos Garcia Campos * shell/ev-history.c: (ev_history_finalize), (ev_history_class_init): * shell/ev-navigation-action.c: (connect_proxy), (ev_navigation_action_finalize), (ev_navigation_action_class_init): Do not call g_type_class_peek_parent twice. 2006-11-22 Nickolay V. Shmyrev * configure.ac: * data/icons/24x24/.cvsignore: * data/icons/24x24/Makefile.am: * data/icons/24x24/evince.png: * data/icons/Makefile.am: Add 24x24 icon. Thanks to Michael Monreal . 2006-11-22 Nickolay V. Shmyrev * configure.ac: Fix typo in configure.ac. Thanks to dmacks@netspace.org for notification. 2006-11-22 Nickolay V. Shmyrev * cut-n-paste/totem-screensaver/totem-scrsaver.c: Drop dbus include, fixes compilation with older dbus. 2006-11-22 Wouter Bolsterlee * configure.ac: * cut-n-paste/Makefile.am: * cut-n-paste/totem-screensaver/.cvsignore * cut-n-paste/totem-screensaver/Makefile.am: * cut-n-paste/totem-screensaver/README: * cut-n-paste/totem-screensaver/totem-scrsaver.c: * cut-n-paste/totem-screensaver/totem-scrsaver.h: * shell/Makefile.am: * shell/ev-window.c: (ev_window_run_presentation), (ev_window_stop_presentation), (ev_window_cmd_help_about), (ev_window_init): Implemented screensaver enabling/disabling for presentation mode (not fullscreen mode). Code stolen from Totem (with some minor tweaks). Fixes bug #338889. 2006-11-19 Wouter Bolsterlee * configure.ac: Bump gnome-icon-theme requirements. We use the rotation icons that appeared recently. 2006-11-19 Nickolay V. Shmyrev * shell/ev-history.c: (ev_history_add_page): * shell/ev-history.h: * shell/ev-window.c: (page_changed_cb): Use page labels instead of numbers. 2006-11-19 Nickolay V. Shmyrev * data/evince-toolbar.xml: * po/POTFILES.in: * shell/Makefile.am: * shell/ev-navigation-action-widget.c: (ev_navigation_action_widget_init), (ev_navigation_action_widget_class_init), (menu_deactivate_cb), (menu_detacher), (ev_navigation_action_widget_set_menu), (menu_position_func), (popup_menu_under_arrow), (ev_navigation_action_widget_toggled), (ev_navigation_action_widget_button_press_event): * shell/ev-navigation-action-widget.h: * shell/ev-navigation-action.c: (ev_navigation_action_set_history), (ev_navigation_action_set_window), (activate_menu_item_cb), (new_history_menu_item), (new_empty_history_menu_item), (build_menu), (menu_activated_cb), (connect_proxy), (create_tool_item), (ev_navigation_action_init), (ev_navigation_action_finalize), (ev_navigation_action_class_init): * shell/ev-navigation-action.h: * shell/ev-page-action-widget.c: (ev_page_action_widget_init), (ev_page_action_widget_set_page_cache), (ev_page_action_widget_finalize), (ev_page_action_widget_class_init), (match_selected_cb), (display_completion_text), (match_completion), (build_new_tree_cb), (get_filter_model_from_model), (ev_page_action_widget_update_model): * shell/ev-page-action-widget.h: * shell/ev-page-action.c: (activate_link_cb), (update_model), (connect_proxy): * shell/ev-page-action.h: * shell/ev-stock-icons.c: * shell/ev-stock-icons.h: * shell/ev-window.c: (ev_window_setup_action_sensitivity), (page_changed_cb), (ev_window_setup_document), (ev_window_dispose), (register_custom_actions): * shell/main.c: Preliminary history implementation 2006-11-16 Nickolay V. Shmyrev * dvi/dvi-document.c: (dvi_document_load), (dvi_document_finalize), (dvi_document_class_init), (dvi_document_init_params): * dvi/mdvi-lib/font.c: (font_reference): Add reference to subfont. Fixes bug #374277. 2006-11-16 Carlos Garcia Campos * shell/ev-window.c: (ev_window_create_tmp_symlink), (ev_window_cmd_file_open_copy_at_dest): Fix a race condition when creating symlink. Increase the counter avoiding an infinite loop. Really fixes bug #357472. (Based on patch by Mathias Hasselmann). 2006-11-15 Carlos Garcia Campos * backend/Makefile.am: * backend/ev-attachment.c: (ev_attachment_open): * lib/ev-file-helpers.[ch]: (ensure_dir_exists), (ev_dot_dir), (ev_tmp_dir), (ev_tmp_filename): * shell/ev-sidebar-attachments.c: (ev_sidebar_attachments_drag_data_get): * shell/ev-window.c: (ev_window_clear_temp_file): Use always ev_tmp_dir instead of g_get_tmp_dir. Fix a race condition in ensure_dir_exists. Abort without crashing when we can't create user's directory. 2006-11-14 Carlos Garcia Campos * data/evince-ui.xml: * shell/ev-window.c: (ev_window_setup_action_sensitivity), (ev_window_xfer_job_cb), (ev_window_get_copy_tmp_name), (ev_window_cmd_file_open_copy_at_dest), (ev_window_cmd_file_open_copy), (view_menu_popup_cb), (ev_view_popup_cmd_open_link_new_window): Allow opening a copy of the current document in a new window. Fixes bug #357472 2006-11-11 Nickolay V. Shmyrev * data/evince-toolbar.xml: Add rotate right and rotate left to available items for toolbar. * data/evince-ui.xml: * shell/ev-window.c: (ev_window_init): Customize toolbar with right click. Fixes bug #372451. 2006-11-11 Claudio Saavedra * shell/ev-window.c: Use "object-rotate-{left,right}" stock icons. Fixes bug #373863. 2006-11-10 Carlos Garcia Campos * shell/ev-application.[ch]: (get_unlink_temp_file_from_args), (ev_application_open_uri_at_dest), (ev_application_open_uri): * shell/ev-window.[ch]: (ev_window_clear_temp_file), (ev_window_open_uri): * shell/main.c: (arguments_parse): Remove temp file created when evince is used by GTK+ in preview mode. Fixes bug #365282. 2006-11-10 Nickolay V. Shmyrev * shell/ev-window.c: (ev_window_sidebar_visibility_changed_cb): Fixes bug #372474 - Side pane disabled when entering and leaving fullscreen mode. 2006-11-10 Nickolay V. Shmyrev * cut-n-paste/toolbar-editor/egg-toolbar-editor.c: (setup_editor): * data/Makefile.am: * data/evince-preview-toolbar.xml: * data/evince-toolbar.xml: * shell/ev-application.c: (ev_application_shutdown), (ev_application_init), (ev_application_get_toolbars_model): * shell/ev-application.h: * shell/ev-window.c: (update_chrome_visibility), (ev_window_create_fullscreen_popup), (ev_window_run_preview), (ev_window_cmd_edit_toolbar), (ev_window_init): Fixes bug #364364 - toolbar editor shows zoom actions again. 2006-11-09 Carlos Garcia Campos * shell/ev-window.c: (ev_window_print_dialog_response_cb): Do not take margins into consideration for paper size when printing. Really fixes bug #350491. 2006-11-08 Carlos Garcia Campos * data/evince-ui.xml: * shell/ev-window.c: (ev_window_print_page_setup_done_cb), (ev_window_cmd_file_print_setup), (ev_window_print_dialog_response_cb), (ev_window_setup_action_sensitivity): Add page setup settings for printing. Fixes bugs #363860 and #350491. 2006-11-08 Carlos Garcia Campos * shell/ev-window.c: (ev_window_print_range): Revert my previuos commit, since printing to PDF is not supported by evince yet. 2006-11-08 Carlos Garcia Campos * shell/ev-window.c: (ev_window_print_range): Enable print to a PDF. Fixes bug #332121. 2006-10-31 Carlos Garcia Campos * shell/ev-application-service.xml: * shell/ev-application.[ch]: (ev_application_open_window), (ev_application_get_empty_window), (ev_application_open_uri_at_dest), (ev_application_open_uri), (ev_application_open_uri_list): * shell/ev-window.c: (file_open_dialog_response_cb), (ev_window_cmd_recent_file_activate), (ev_window_setup_recent), (drag_data_received_cb), (open_remote_link): * shell/main.c: (arguments_parse), (load_files), (load_files_remote): Add support for multiscreen systems. Fixes bug #316206. 2006-10-30 Carlos Garcia Campos * shell/ev-jobs.[ch]: (ev_job_print_new), (ev_print_job_print_page_in_range), (ev_print_job_print_page_in_set), (ev_job_print_do_page): * shell/ev-window.[ch]: (ev_window_print_dialog_response_cb): Allow printing only odd/even pages. Fixes bug #367289. 2006-10-29 Wouter Bolsterlee * test/test1.py: * test/test2.py: Re-add locale settings to test files. 2006-10-29 Nickolay V. Shmyrev * data/evince-ui.xml: * shell/ev-window.c: (set_action_properties): Removed garbage from code and ui. 2006-10-29 Wouter Bolsterlee * shell/ev-window.c: (ev_window_cmd_help_about): Shamelessly add my name to the list of contributors. 2006-10-29 Wouter Bolsterlee * test/test1.py: * test/test2.py: Cleaned up the dogtail scripts. 2006-10-27 Wouter Bolsterlee * shell/ev-view.c: (draw_loading_text): Don't render "loading..." text in presentation mode. Temporary workaround for bug #320352. 2006-10-24 Carlos Garcia Campos * shell/ev-jobs.[ch]: (ev_job_print_new), (ev_job_print_run): * shell/ev-window.c: (ev_window_print_dialog_response_cb): Use print settings scale, copies, collate and reverse which were ignored. Fixes bug #359032. 2006-10-24 Nickolay V. Shmyrev * configure.ac: * data/evince-password.glade: * test/Makefile.am: * test/test-encrypt.pdf: * test/test-links.pdf: * test/test1.py: * test/test2.py: Add automated UI tests for evince with dogtail. See bug #300948. 2006-10-22 Carlos Garcia Campos * shell/ev-window.c: (fullscreen_timeout_cb), (ev_window_init): Hide fullscreen toolbar when switching to another desktop workspace. Fixes bug #338871 2006-10-20 Nickolay V. Shmyrev * shell/ev-window-title.c: Test for .dvi in title of pdf documents. 2006-10-19 Wouter Bolsterlee * shell/ev-view.c: (ev_view_scroll): Page Up/Down should do page jumps in "Best fit" mode. If a user has explicitly chosen to view exactly one page at a time, scrolling just a part of the page when pressing Page Up/Down is not right. Fixes bug #323107. 2006-10-09 Nickolay V. Shmyrev * NEWS: * configure.ac: Update for 0.6.1 2006-10-09 Nickolay V. Shmyrev * shell/ev-properties-fonts.c: (ev_properties_fonts_dispose), (job_fonts_finished_cb), (ev_properties_fonts_set_document): Correctly disconnect from job signals on destroy. 2006-10-08 Nickolay V. Shmyrev * shell/ev-view-private.h: * shell/ev-view.c: (view_set_adjustment_values), (view_update_range_and_current_page), (ensure_rectangle_is_visible), (ev_view_size_allocate): Fixes bug #343199, current page now follows find page. 2006-10-08 Wouter Bolsterlee * backend/ev-document-factory.c: * configure.ac: Assigned OpenDocument presenation MIME type to the Impress backend. Added some missing (but harmless) #ifdefs in the document factory as well to make things consistent again. Fixes bug #360658. 2006-10-08 Christian Persch * backend/ev-async-renderer.c: (ev_async_renderer_get_type): * backend/ev-document-find.c: (ev_document_find_get_type): * backend/ev-document-fonts.c: (ev_document_fonts_get_type): * backend/ev-document-links.c: (ev_document_links_get_type): * backend/ev-document-security.c: (ev_document_security_get_type): * backend/ev-document-thumbnails.c: (ev_document_thumbnails_get_type): * backend/ev-document.c: (ev_document_get_type): * backend/ev-ps-exporter.c: (ev_ps_exporter_get_type): * backend/ev-selection.c: (ev_selection_get_type): * cut-n-paste/recent-files/egg-recent-model.c: (egg_recent_model_get_type): * cut-n-paste/recent-files/egg-recent-view-uimanager.c: (egg_recent_view_uimanager_get_type): * cut-n-paste/recent-files/egg-recent-view.c: (egg_recent_view_get_type): * cut-n-paste/toolbar-editor/egg-editable-toolbar.c: (egg_editable_toolbar_get_type): * cut-n-paste/toolbar-editor/egg-toolbar-editor.c: (egg_toolbar_editor_get_type): * cut-n-paste/toolbar-editor/egg-toolbars-model.c: (egg_toolbars_model_get_type): * cut-n-paste/toolbar-editor/eggtreemultidnd.c: (egg_tree_multi_drag_source_get_type): * cut-n-paste/zoom-control/ephy-zoom-action.c: (ephy_zoom_action_get_type): * cut-n-paste/zoom-control/ephy-zoom-control.c: (ephy_zoom_control_get_type): * impress/r_back.c: (_imp_fill_back): * properties/ev-properties-main.c: (ev_properties_plugin_register_type): * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type): * shell/ev-view-accessible.c: (ev_view_accessible_get_type), (ev_view_accessible_factory_get_type): Reduce relocations. Bug #360616. 2006-10-08 Nickolay V. Shmyrev * backend/ev-document-factory.c: (ev_document_factory_get_document): Load document even if extension is wrong. 2006-10-03 Nickolay V. Shmyrev * shell/ev-metadata-manager.c: (save_values): * shell/ev-window.c: (setup_size_from_metadata), (setup_view_from_metadata), (ev_window_setup_document), (ev_window_xfer_job_cb), (window_configure_event_cb): Set size according to the document size/page size ratio. That should correct rather wierd behaviour of the previous commit. 2006-10-03 Nickolay V. Shmyrev * shell/ev-window.c: (setup_view_from_metadata): Set size for new windows from previous window size. See bugs #354968 and #168450 for details. Thanks to Meik Hellmund. 2006-10-01 Carlos Garcia Campos * djvu/djvu-links.c: (build_tree): Fix memory leak. 2006-10-01 Nickolay V. Shmyrev * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_set_document): Don't make sidebar close button insensitive. Fixes bug #357871. 2006-10-01 Nickolay V. Shmyrev * shell/ev-window.c: (ev_window_setup_action_sensitivity), (ev_window_set_view_accels_sensitivity): Don't enable Slash on documents which don't support find. Fixes bug #358648. 2006-10-01 Wouter Bolsterlee * shell/ev-window.c: (ev_window_cmd_file_open): Make the open dialog fall back to the current document uri if the filechooser hasn't been used before. Fixes bug #356980. 2006-09-24 Mathias Hasselmann * shell/ev-window.c: (ev_window_setup_recent), (ev_window_get_recent_file_label): Escape underscores in filenames of recent file items. 2006-09-24 Nickolay V. Shmyrev * configure.ac: Bumped poppler requirements, really 0.5.3 is very buggy, now we require 0.5.4. 2006-09-17 Nickolay V. Shmyrev * djvu/Makefile.am: * djvu/djvu-document.c: (G_DEFINE_TYPE_WITH_CODE), (djvu_document_find_iface_init), (djvu_document_links_get_links), (djvu_document_document_links_iface_init): * djvu/djvu-links.c: (number_from_miniexp), (string_from_miniexp), (number_from_string_10), (get_djvu_link_dest), (get_djvu_link_action), (build_tree), (get_djvu_hyperlink_area), (get_djvu_hyperlink_mapping), (djvu_links_has_document_links), (djvu_links_get_links), (djvu_links_find_link_dest), (djvu_links_get_links_model): * djvu/djvu-links.h: Add support for links and bookmarks in djvu documents. Thanks to Pauli Virtanen for the wonderful patch. 2006-09-14 Nickolay V. Shmyrev * shell/ev-application.c: (ev_application_open_uri_at_dest): Reopen should reload document. Fixes bug 327951. 2006-09-07 Nickolay V. Shmyrev * configure.ac: * data/Makefile.am: * data/evince-16.png: * data/evince-22.png: * data/evince.png: * data/evince.svg: * data/icons/16x16/Makefile.am: * data/icons/16x16/evince.png: * data/icons/22x22/Makefile.am: * data/icons/22x22/evince.png: * data/icons/48x48/Makefile.am: * data/icons/48x48/evince.png: * data/icons/Makefile.am: * data/icons/scalable/Makefile.am: * data/icons/scalable/evince.svg: Install icons with correct names. Fixes bug #354429. 2006-09-07 Carlos Garcia Campos * shell/ev-view.c: (ev_view_button_release_event): Don't open links with middle mouse button. Fixes bug #353649 2006-09-04 Nickolay V. Shmyrev * NEWS: * configure.ac: Update for release 0.6.0 2006-08-28 Nickolay V. Shmyrev * shell/ev-window.c: (ev_window_xfer_job_cb), (do_action_named): Implement Close named action. Patch by Carlos Garcia Campos. 2006-08-28 Nickolay V. Shmyrev * shell/ev-pixbuf-cache.c: (copy_job_to_job_info): Don't clear link mapping on copy_job_to_job_info. Fixes bug 346168. 2006-08-21 Carlos Garcia Campos * shell/main.c: (main): Revert my previous commit, gnome_program_init owns the option context. Fix another memory leak in main. Both caught by Christian Persch. 2006-08-21 Carlos Garcia Campos * shell/main.c: (main): Fix memory leak. 2006-08-21 Carlos Garcia Campos * backend/ev-document-factory.c: (ev_document_factory_get_document): Fix crash when opening a pdf with password protection. 2006-08-19 Carlos Garcia Campos * pdf/ev-poppler.cc: (pdf_document_search_free): Fix memory leak. 2006-08-17 Nickolay V. Shmyrev * backend/ev-document-factory.c: (ev_document_factory_get_document): * tiff/tiff-document.c: (tiff_document_finalize): More correct handling of document loading. Fixes bug #349043. 2006-08-14 Carlos Garcia Campos * backend/ev-attachment.c: (ev_attachment_save): Remove GNOME_VFS_OPEN_TRUNCATE flag which is only available with gnome-vfs >= 2.9.3 and it's not really needed. Fixes bug #351493 2006-08-15 Julien Rebetez * shell/ev-window.c: (ev_window_cmd_recent_file_activate): Fixed a compilation error if HAVE_GTK_RECENT isn't defined. 2006-08-14 Carlos Garcia Campos * shell/ev-sidebar-thumbnails.c: Do not render thumbnails unless thumbnails page is active in the sidebar. 2006-08-14 Christian Persch * shell/ev-properties-dialog.c: Fix dialogue spacing. Bug #351370. 2006-08-13 Wouter Bolsterlee * configure.ac: Use lowercase gettext catalog file names (evince.mo instead of Evince.mo) 2006-08-13 Carlos Garcia Campos * shell/ev-sidebar-attachments.c: GtkIconTheme is now screen safe too. Fixes bug #350878 2006-08-11 Carlos Garcia Campos * shell/ev-window.c: GtkRecent manager is now screen safe. Fixes bug #350145 2006-08-11 Nickolay V. Shmyrev * shell/ev-sidebar.c: (ev_sidebar_init): Make sidebar close icon smaller. Fix for bug 350177. See also bugs 350176 and 165770. 2006-08-10 Carlos Garcia Campos * shell/ev-view.c: (goto_fith_dest), (goto_fit_dest), (goto_xyz_dest): Ignore zoom for xyz destinations when it's <= 1, keeping user preferences instead. Set correct sizing-mode for fith and fitv destinations rather than EV_SIZING_FREE. Fixes bug #349433 2006-08-08 Nickolay V. Shmyrev * NEWS: * configure.ac: Update for release 0.5.5 2006-08-07 Radoslav Dorcik * shell/ev-window.c: (ev_window_cmd_escape) Escape unfocus page entry. Fixes bug #345809. 2006-08-06 Carlos Garcia Campos * pdf/ev-poppler.cc: (ev_link_dest_from_dest), (ev_link_from_action), (build_tree), (pdf_document_links_get_links), (pdf_document_links_find_link_dest): * shell/ev-view.c: (goto_fitr_dest), (goto_fith_dest), (goto_xyz_dest): Convert from PDF style coordinates to X style coordinates in the backend rather than in the view. Fixes bug #338440 2006-08-06 Nickolay V. Shmyrev * shell/ev-window.c: Remove Ctrl+Shift+T shortcut for toolbars. See the bug #350098. 2006-08-05 Carlos Garcia Campos * configure.ac: Use [] in AC_DEFINE for GtkRecent. Probably build was failing because of this. 2006-08-05 Carlos Garcia Campos * configure.ac: * cut-n-paste/Makefile.am: * data/evince-ui.xml: * shell/Makefile.am: * shell/ev-application.[ch]: * shell/ev-window.c: Use GtkRecent instead of EggRecent when it's available. Fixes bug #349273 2006-08-04 Wouter Bolsterlee * shell/eggfindbar.c: (egg_find_bar_init): Fixed typo in findbar code: s/help/search/ 2006-08-04 Ricardo Markiewicz * shell/ev-window.c: (setup_document_from_metadata), (setup_chrome_from_metadata), (setup_sidebar_from_metadata), (setup_view_from_metadata): Fix memory leaks. 2006-07-31 Christian Persch * autogen.sh, configure.ac: Update automake usage. See bug 349292. 2006-07-30 Nickolay V. Shmyrev * shell/eggfindbar.c: (egg_find_bar_class_init), (entry_activate_callback), (egg_find_bar_init), (egg_find_bar_set_status_text): * shell/eggfindbar.h: Unify Evince findbar with Epiphany. Nice patch from Fabricio Silva and Frederic Peters . See bug #339966 for details. 2006-07-27 Nickolay V. Shmyrev * data/evince.desktop.in.in: Correct information for bugzilla. Thanks to Olaf Vitters, see bug #348855. 2006-07-26 Carlos Garcia Campos * shell/ev-jobs.[ch]: * shell/ev-sidebar-links.c: * shell/ev-window.[ch]: GtkPrintJob doesn't support print ranges or current page, so we export to a ps file now when printing ranges or current page. 2006-07-26 Nickolay V. Shmyrev * pdf/ev-poppler.cc: * shell/ev-window.c: (do_action_named): We should be more clear about bugzilla. See the poppler bug #7623. 2006-07-23 Carlos Garcia Campos * configure.ac: * shell/Makefile.am: * shell/ev-job-queue.c: * shell/ev-jobs.[ch]: * shell/ev-sidebar-links.c: * shell/ev-window.[ch]: Use GtkPrint instead of GnomePrint when it's available. Fixes bug #348422 2006-07-17 Carlos Garcia Campos * data/evince-toolbar.xml: Add preview toolbar (hidden by default) * shell/ev-application-service.xml: * shell/ev-application.[ch]: * shell/ev-jobs.[ch]: * shell/ev-window.[ch]: (ev_window_run_preview): * shell/main.c: Add preview mode to use evince as a printing previewer. It also adds other command line options for fullscreen and presentation modes. Fixes bugs #347822, #317031 2006-07-11 Nickolay V. Shmyrev * NEWS: * configure.ac: Update for release 0.5.4 2006-07-11 Bastien Nocera * Makefile.am: * backend/Makefile.am: * backend/ev-document-factory.c: (ev_document_factory_add_filters): * backend/ev-document-factory.h: * configure.ac: * impress/.cvsignore: * impress/Makefile.am: * impress/common.h: * impress/document.c: (_imp_load_xml), (imp_open), (imp_nr_pages), (imp_get_page), (imp_next_page), (imp_prev_page), (imp_get_page_no), (imp_get_page_name), (imp_get_xml), (imp_close): * impress/f_oasis.c: (render_object), (render_page), (get_geometry), (_imp_oasis_load): * impress/f_oo13.c: (render_object), (render_page), (get_geometry), (_imp_oo13_load): * impress/iksemel.c: (iks_malloc), (iks_free), (iks_set_mem_funcs), (iks_strdup), (iks_strcat), (iks_strcmp), (iks_strcasecmp), (iks_strncmp), (iks_strncasecmp), (iks_strlen), (iks_escape), (iks_unescape), (find_space), (iks_stack_new), (iks_stack_alloc), (iks_stack_strdup), (iks_stack_strcat), (iks_stack_stat), (iks_stack_delete), (iks_sax_new), (iks_sax_extend), (iks_parser_stack), (iks_user_data), (iks_nr_bytes), (iks_nr_lines), (stack_init), (stack_expand), (sax_core), (iks_parse), (iks_parser_reset), (iks_parser_delete), (iks_new), (iks_new_within), (iks_insert), (iks_insert_cdata), (iks_insert_attrib), (iks_insert_node), (iks_hide), (iks_delete), (iks_next), (iks_next_tag), (iks_prev), (iks_prev_tag), (iks_parent), (iks_root), (iks_child), (iks_first_tag), (iks_attrib), (iks_find), (iks_find_cdata), (iks_find_attrib), (iks_find_with_attrib), (iks_stack), (iks_type), (iks_name), (iks_cdata), (iks_cdata_size), (iks_has_children), (iks_has_attribs), (escape_size), (my_strcat), (escape), (iks_string), (iks_copy_within), (iks_copy), (tagHook), (cdataHook), (deleteHook), (iks_dom_new), (iks_set_size_hint), (iks_tree), (iks_load), (iks_save): * impress/iksemel.h: * impress/imposter.h: * impress/impress-document.c: (G_DEFINE_TYPE_WITH_CODE), (imp_render_draw_bezier_real), (imp_render_get_size), (imp_render_set_fg_color), (imp_render_draw_line), (imp_render_draw_rect), (imp_render_draw_polygon), (imp_render_draw_arc), (imp_render_draw_bezier), (imp_render_open_image), (imp_render_get_image_size), (imp_render_scale_image), (imp_render_draw_image), (imp_render_close_image), (imp_render_markup), (imp_render_get_text_size), (imp_render_draw_text), (impress_document_load), (impress_document_save), (impress_document_get_n_pages), (impress_document_get_page_size), (imp_render_get_from_drawable), (impress_document_render_pixbuf), (impress_document_finalize), (impress_document_class_init), (impress_document_can_get_text), (impress_document_get_info), (impress_document_document_iface_init), (impress_document_thumbnails_get_thumbnail), (impress_document_thumbnails_get_dimensions), (impress_document_document_thumbnails_iface_init), (impress_document_init): * impress/impress-document.h: * impress/internal.h: * impress/r_back.c: (_imp_fill_back): * impress/r_draw.c: (_imp_draw_rect), (_imp_draw_line_end), (_imp_draw_image), (_imp_tile_image): * impress/r_geometry.c: (r_parse_color), (r_get_color), (fg_color), (r_get_x), (r_get_y), (r_get_angle), (r_get_viewbox), (r_polygon), (r_polyline): * impress/r_gradient.c: (poly_rotate), (r_draw_gradient_simple), (r_draw_gradient_complex), (r_draw_gradient): * impress/r_style.c: (get_style), (r_get_style), (get_style_x), (r_get_bullet): * impress/r_text.c: (add_line), (add_span), (calc_sizes), (calc_pos), (_imp_draw_layout), (text_span), (text_p), (text_list), (r_text): * impress/render.c: (imp_create_context), (imp_context_set_page), (imp_context_set_step), (imp_render), (imp_delete_context): * impress/render.h: * impress/zip.c: (zip_error), (find_cd), (get_long), (get_word), (list_files), (zip_open), (zip_close), (find_file), (seek_file), (zip_load_xml), (zip_get_size), (zip_load): * impress/zip.h: * shell/ev-utils.c: New backend to support impress slides. Fixes bug #30867. 2006-07-10 Ghee Teo * shell/ev-utils.c: (using_postscript_printer): Fixes crash when print using PAPI backend, bug #345012. 2006-06-09 Pat Rondon * shell/ev-jobs.c: (ev_job_xfer_run): * shell/ev-window.c: (password_dialog_response), (ev_window_popup_password_dialog), (ev_window_xfer_job_cb), (ev_window_dispose): Fixes bug #344160: if the xfer job doesn't complete because a password is required, reload the existing instance instead of creating a new one. 2006-06-01 Nickolay V. Shmyrev * shell/main.c: (main): Call gdk_threads_init. Thus we'll avoid errors in auth dialog. Fix for the bug #343347. 2006-06-01 Wouter Bolsterlee * configure.ac: Advertise pixbuf support, fix for the bug 343317. 2006-05-29 Nickolay V. Shmyrev * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_refresh), (ev_sidebar_thumbnails_set_document): Update sidebar thumbnails after reloading. 2006-05-29 Nickolay V. Shmyrev * shell/ev-jobs.c: (ev_job_xfer_dispose), (ev_job_xfer_new): * shell/ev-jobs.h: * shell/ev-window.c: (ev_window_xfer_job_cb), (ev_window_open_uri), (ev_window_cmd_view_reload), (ev_window_init): Don't crash on reload. Fix for the bug #343167. 2006-05-28 Nickolay V. Shmyrev * shell/ev-jobs.c: (ev_job_render_run): Check for document links. 2006-05-27 Nickolay V. Shmyrev * backend/ev-attachment.c: (ev_attachment_save), (ev_attachment_launch_app), (ev_attachment_open): * backend/ev-document-factory.c: (get_document_from_uri): * cut-n-paste/recent-files/egg-recent-view-uimanager.c: (egg_recent_view_uimanager_set_list): * ps/ps-document.c: (check_filecompressed), (document_load), (ps_document_load): * shell/ev-metadata-manager.c: (load_values): * shell/ev-password.c: (ev_password_dialog_set_property): * shell/ev-view.c: (tip_from_link): * shell/ev-window.c: (file_save_dialog_response_cb), (ev_window_print_dialog_response_cb): Use consistent quoting style. Fix for the bug #320285. 2006-05-27 Nickolay V. Shmyrev * shell/ev-jobs.c: (ev_job_xfer_run): * shell/main.c: (load_files): Open links with anchors. Fix for the bug #339836. 2006-05-27 Nickolay V. Shmyrev * backend/ev-link-dest.c: (ev_link_dest_type_get_type), (ev_link_dest_get_page_label), (ev_link_dest_get_property), (ev_link_dest_set_property), (ev_link_dest_finalize), (ev_link_dest_class_init), (ev_link_dest_new_named), (ev_link_dest_new_page_label): * backend/ev-link-dest.h: * shell/ev-application.c: (ev_application_open_uri): * shell/ev-view.c: (goto_dest): * shell/ev-window.c: * shell/ev-window.h: Fix page-label command line option. Bug #342070. 2006-05-27 Ricardo Markiewicz * shell/ev-view.c: (ev_view_expose_event), (draw_one_page): Don't show highlight rects if page can't be showed. Fix for the bug #342076 2006-05-27 Nickolay V. Shmyrev * shell/ev-window.c: (setup_sidebar_from_metadata), (ev_window_sidebar_visibility_changed_cb), (ev_window_init): Setup sidebar from metadata even if there is no document loaded. Fix for the bug #342807. 2006-05-26 Nickolay V. Shmyrev * cut-n-paste/toolbar-editor/Makefile.am: * cut-n-paste/toolbar-editor/egg-editable-toolbar.c: (get_dock_position), (get_toolbar_position), (get_toolbar_nth), (find_action), (drag_data_delete_cb), (drag_begin_cb), (drag_end_cb), (drag_data_get_cb), (move_item_cb), (remove_item_cb), (remove_toolbar_cb), (popup_context_deactivate), (popup_context_menu_cb), (button_press_event_cb), (configure_item_sensitivity), (configure_item_cursor), (configure_item_tooltip), (connect_widget_signals), (action_sensitive_cb), (create_item_from_action), (create_item_from_position), (toolbar_drag_data_received_cb), (toolbar_drag_drop_cb), (toolbar_drag_motion_cb), (toolbar_drag_leave_cb), (configure_drag_dest), (toggled_visibility_cb), (toolbar_visibility_refresh), (create_dock), (toolbar_changed_cb), (unparent_fixed), (update_fixed), (toolbar_added_cb), (toolbar_removed_cb), (item_added_cb), (item_removed_cb), (egg_editable_toolbar_build), (egg_editable_toolbar_set_model), (egg_editable_toolbar_init), (egg_editable_toolbar_dispose), (egg_editable_toolbar_set_ui_manager), (egg_editable_toolbar_get_selected), (egg_editable_toolbar_set_selected), (set_edit_mode), (egg_editable_toolbar_set_property), (egg_editable_toolbar_get_property), (egg_editable_toolbar_class_init), (egg_editable_toolbar_new), (egg_editable_toolbar_new_with_model), (egg_editable_toolbar_get_edit_mode), (egg_editable_toolbar_set_edit_mode), (egg_editable_toolbar_add_visibility), (egg_editable_toolbar_show), (egg_editable_toolbar_hide), (egg_editable_toolbar_set_fixed): * cut-n-paste/toolbar-editor/egg-editable-toolbar.h: * cut-n-paste/toolbar-editor/egg-toolbar-editor.c: (compare_items), (item_added_or_removed_cb), (toolbar_removed_cb), (egg_toolbar_editor_set_model), (egg_toolbar_editor_class_init), (egg_toolbar_editor_finalize), (drag_begin_cb), (drag_end_cb), (drag_data_get_cb), (set_drag_cursor), (editor_create_item), (editor_create_item_from_name), (append_table), (update_editor_sheet), (egg_toolbar_editor_init): * cut-n-paste/toolbar-editor/egg-toolbar-editor.h: * cut-n-paste/toolbar-editor/egg-toolbars-model.c: (egg_toolbars_model_to_xml), (egg_toolbars_model_save_toolbars), (is_unique), (toolbar_node_new), (item_node_new), (item_node_free), (toolbar_node_free), (egg_toolbars_model_get_flags), (egg_toolbars_model_set_flags), (egg_toolbars_model_get_data), (egg_toolbars_model_get_name), (impl_add_item), (egg_toolbars_model_add_item), (egg_toolbars_model_add_toolbar), (parse_data_list), (parse_item_list), (parse_toolbars), (egg_toolbars_model_load_toolbars), (parse_available_list), (parse_names), (egg_toolbars_model_load_names), (egg_toolbars_model_class_init), (egg_toolbars_model_init), (egg_toolbars_model_finalize), (egg_toolbars_model_remove_toolbar), (egg_toolbars_model_remove_item), (egg_toolbars_model_move_item), (egg_toolbars_model_delete_item), (egg_toolbars_model_n_items), (egg_toolbars_model_item_nth), (egg_toolbars_model_n_toolbars), (egg_toolbars_model_toolbar_nth), (egg_toolbars_model_get_types), (egg_toolbars_model_set_types), (fill_avail_array), (egg_toolbars_model_get_name_avail), (egg_toolbars_model_get_name_flags), (egg_toolbars_model_set_name_flags): * cut-n-paste/toolbar-editor/egg-toolbars-model.h: * cut-n-paste/toolbar-editor/eggintl.h: * cut-n-paste/toolbar-editor/eggtreemultidnd.c: (egg_tree_multi_drag_source_get_type), (egg_tree_multi_drag_source_row_draggable), (egg_tree_multi_drag_source_drag_data_delete), (egg_tree_multi_drag_source_drag_data_get), (stop_drag_check), (egg_tree_multi_drag_button_release_event), (selection_foreach), (path_list_free), (set_context_data), (get_context_data), (get_info), (egg_tree_multi_drag_drag_data_get), (egg_tree_multi_drag_motion_event), (egg_tree_multi_drag_button_press_event), (egg_tree_multi_drag_add_drag_support): * cut-n-paste/toolbar-editor/eggtreemultidnd.h: * shell/ev-application.c: (ev_application_init), (ev_application_save_toolbars_model): * shell/ev-window.c: (ev_window_create_fullscreen_popup), (ev_window_cmd_edit_toolbar), (ev_window_init): Sync toolbareditor with epiphany and libegg 2006-05-23 Carlos Garcia Campos * configure.ac: Depend on poppler 0.5.2 2006-05-22 Nickolay V. Shmyrev * shell/ev-jobs.c: (ev_job_render_run): Check if document supports links iterface. 2006-05-16 Nickolay V. Shmyrev * NEWS: * configure.ac: Update for release 0.5.3 2006-05-13 Michael Plump * configure.ac: * shell/Makefile.am: * shell/main.c: (main): Port to GOption command line parsing. Fix for the bug #327518 2006-05-13 Nickolay V. Shmyrev * shell/ev-window.c: (ev_window_cmd_help_about): Do not wrap license. Fix for the bug #309460. 2006-05-13 Nickolay V. Shmyrev * configure.ac: * properties/ev-properties-main.c: (ev_properties_get_pages): * shell/ev-application.c: (ev_application_open_window), (ev_application_open_uri_at_dest): * shell/ev-sidebar-attachments.c: (ev_sidebar_attachments_init): * shell/ev-sidebar-thumbnails.c: (adjustment_changed_cb), (ev_sidebar_thumbnails_use_icon_view), (page_changed_cb): * shell/ev-utils.c: (save_print_config_to_file): * shell/ev-window.c: (ev_window_cmd_save_as), (ev_attachment_popup_cmd_save_attachment_as): * shell/main.c: (load_files_remote): Bump requirements to gtk 2.8 and drop all ifdefs used. 2006-05-11 Nickolay V. Shmyrev * shell/ev-sidebar-attachments.c: (ev_sidebar_attachments_init): * shell/ev-window.c: (ev_window_init): Show attachments page. 2006-05-10 Nickolay V. Shmyrev * po/POTFILES.in: * shell/ev-attachment-bar.c: * shell/ev-attachment-bar.h: * shell/ev-sidebar-attachments.c: (ev_sidebar_attachments_icon_cache_add), (icon_theme_get_pixbuf_from_mime_type), (ev_sidebar_attachments_icon_cache_get), (icon_cache_update_icon), (ev_sidebar_attachments_icon_cache_refresh), (ev_sidebar_attachments_get_attachment_at_pos), (ev_sidebar_attachments_popup_menu_show), (ev_sidebar_attachments_popup_menu), (ev_sidebar_attachments_button_press), (ev_sidebar_attachments_update_icons), (ev_sidebar_attachments_drag_data_get), (ev_sidebar_attachments_get_property), (ev_sidebar_attachments_destroy), (ev_sidebar_attachments_class_init), (ev_sidebar_attachments_init), (ev_sidebar_attachments_new), (ev_sidebar_attachments_set_document), (ev_sidebar_attachments_support_document), (ev_sidebar_attachments_get_label), (ev_sidebar_attachments_page_iface_init): * shell/ev-sidebar-attachments.h: * shell/ev-window.c: (update_chrome_visibility), (setup_sidebar_from_metadata), (ev_window_setup_document), (ev_window_sidebar_current_page_changed_cb), (attachment_bar_menu_popup_cb), (ev_window_init): Move attachments bar to sidebar. 2006-05-09 Carlos Garcia Campos * pdf/ev-poppler.cc: * shell/ev-application.[ch]: * shell/main.c: Fix some memory leaks. 2006-05-09 Wouter Bolsterlee * shell/ev-properties-dialog.c: (ev_properties_dialog_init): Change the properties dialog response to GTK_RESPONSE_CANCEL instead of GTK_RESPONSE_CLOSE. This will make the dialog go away when the user presses enter. With gtk+ >= 2.9 this will happen anyway, but for older gtk+ versions only GTK_RESPONSE_CANCEL is bound to escape by default. Fixes bug #340539. See also bug #101293 for the gtk+ part. 2006-05-08 Francisco Javier F. Serrador * shell/ev-view.c (tip_from_action_named): Replace some strings that were wrong. Closes #340970. 2006-05-08 Carlos Garcia Campos * shell/ev-window.c: (ev_window_sidebar_visibility_changed_cb): Update sidebar chrome flag when sidebar visibility changes. Fixes bug #341049 2006-05-05 Nickolay V. Shmyrev * djvu/Makefile.am: * dvi/Makefile.am: * dvi/mdvi-lib/Makefile.am: * properties/Makefile.am: * ps/Makefile.am: * shell/Makefile.am: * thumbnailer/Makefile.am: Due to broken libtool that is unable to track dependencies of noinst libraries we are forced to explicitely point libraries for binary. Fix for the bug #333334. 2006-05-05 Nickolay V. Shmyrev * data/evince.desktop.in.in: * shell/ev-view.c: (view_update_range_and_current_page), (ev_view_next_page), (ev_view_previous_page): * shell/ev-window.c: (update_chrome_visibility), (setup_sidebar_from_metadata), (ev_window_setup_document), (ev_window_update_fullscreen_popup), (fullscreen_timeout_cb), (fullscreen_set_timeout), (fullscreen_clear_timeout), (fullscreen_motion_notify_cb), (ev_window_run_fullscreen), (ev_window_stop_fullscreen), (ev_window_run_presentation), (ev_window_stop_presentation), (ev_window_focus_in_event), (ev_window_focus_out_event), (ev_window_view_sidebar_cb), (ev_window_init): * thumbnailer/Makefile.am: Update fullscreen and presentation timeout handling. Hide cursor in presentation after timeout. Fix for the bugs #136359 and #336981. 2006-05-03 Carlos Garcia Campos * backend/ev-link-action.[ch]: * pdf/ev-poppler.cc: (ev_link_from_action): * shell/ev-view-private.h: * shell/ev-view.c: (ev_view_handle_link), (tip_from_action_named): * shell/ev-window.c: (do_action_named), (view_external_link_cb): Add support for Named Action links 2006-05-02 Carlos Garcia Campos * backend/Makefile.am: * backend/ev-document-links.[ch]: * backend/ev-document.[ch]: * backend/ev-link-action.[ch]: * backend/ev-link-dest.[ch]: * backend/ev-link.[ch]: * pdf/ev-poppler.cc: (pdf_document_find_link_dest), (ev_link_dest_from_dest), (ev_link_from_action), (build_tree): * shell/ev-page-action.c: (build_new_tree_cb): * shell/ev-sidebar-links.c: (get_page_from_dest), (print_section_cb), (links_page_num_func), (update_page_callback): * shell/ev-view.[ch]: (ev_view_goto_dest), (ev_view_handle_link), (tip_from_link): * shell/ev-jobs.c: * shell/ev-window.[ch]: (ev_window_open_uri), (sidebar_links_link_activated_cb), (ev_view_popup_cmd_open_link): * shell/ev-application.[ch]: (ev_application_open_window), (ev_application_open_uri): Rework links system, it adds support for remote links now and it makes easier to add new kinds of actions and destinations. Fixes bug #317292 2006-05-02 Nickolay V. Shmyrev * data/Makefile.am: * data/evince.png: * data/evince-16.png: * data/evince-22.png: * data/evince.svg: * shell/main.c: (main): Evince use it's own icon. Fix for the bug #313392. * shell/ev-window.c: (fullscreen_timeout_cb), (fullscreen_set_timeout), (fullscreen_clear_timeout), (ev_window_cmd_help_about), (ev_window_dispose): Simplify fullscreen timeout code. 2006-04-29 Carlos Garcia Campos * backend/ev-attachment.c: * shell/ev-attachment-bar.c: * shell/ev-window.c: Allow multiple selection of attachments 2006-04-29 Nickolay V. Shmyrev * shell/ev-view.c: (view_update_range_and_current_page), (ev_view_scroll): Fix for the bug #312573 – Optimal selection of current page among visible pages. 2006-04-29 Nickolay V. Shmyrev * configure.ac: * djvu/Makefile.am: * djvu/djvu-text.h: Update to djvulibre-3.5.17, now it uses pkg-config. Fix for the bug 339868. 2006-04-22 Kjartan Maraas * configure.ac: Fix the LINGUAS stuff here too so it builds. 2006-04-21 Wouter Bolsterlee * shell/ev-window.c: Add ellipsis to the Find... menu item, as dictated by the GNOME HIG. Fixes bug #339235. 2006-04-20 Wouter Bolsterlee * data/evince-ui.xml: * shell/ev-view.c: (ev_view_can_find_previous): * shell/ev-view.h: * shell/ev-window.c: (ev_window_update_actions), (ev_window_cmd_edit_find_previous): Add support for "Find Previous" as dictated by the GNOME HIG. A menu item is added and some glue code to make it all work is added to various files. 2006-04-09 Wouter Bolsterlee * configure.ac: Award myself the "useless use of cat" award. 2006-04-09 Wouter Bolsterlee * po/LINGUAS: New file listing all supported languages. * configure.in: Use po/LINGUAS instead of including all languages directly in this file. See the wiki for more information: http://live.gnome.org/GnomeGoals/PoLinguas 2006-04-06 Carlos Garcia Campos * backend/ev-document-factory.c: Do not load the document twice when there isn't errors 2006-04-03 Carlos Garcia Campos * backend/ev-attachment.c: Fix a crash when there isn't a default application to open an attachment 2006-04-03 Carlos Garcia Campos * backend/ev-attachment.[ch]: * shell/ev-attachment-bar.[ch]: Added missing files. 2006-04-03 Carlos Garcia Campos * backend/Makefile.am: * data/evince-ui.xml: * backend/ev-attachment.[ch]: * backend/ev-document.[ch]: (ev_document_has_attachments), (ev_document_get_attachments): * pdf/ev-poppler.cc: (pdf_document_has_attachments), (attachment_save_to_buffer), (pdf_document_get_attachments), (pdf_document_document_iface_init): * shell/Makefile.am: * shell/ev-attachment-bar.[ch]: * shell/ev-window.c: Add support for PDF attachments. Fixes bug #325143 2006-04-03 Nickolay V. Shmyrev * backend/ev-document-factory.c: (get_document_from_uri), (ev_document_factory_get_document): * backend/ev-document-factory.h: * properties/ev-properties-main.c: (ev_properties_get_pages): * shell/Makefile.am: * shell/ev-job-queue.c: (handle_job), (search_for_jobs_unlocked), (no_jobs_available_unlocked), (ev_job_queue_init), (find_queue), (ev_job_queue_remove_job): * shell/ev-job-queue.h: * shell/ev-job-xfer.c: * shell/ev-job-xfer.h: * shell/ev-jobs.c: (ev_job_fonts_init), (ev_job_fonts_class_init), (ev_job_fonts_new), (ev_job_fonts_run), (ev_job_xfer_init), (ev_job_xfer_dispose), (ev_job_xfer_class_init), (ev_job_xfer_new), (ev_job_xfer_run): * shell/ev-jobs.h: * shell/ev-window.c: (ev_window_is_empty), (password_dialog_response), (ev_window_clear_xfer_job), (ev_window_xfer_job_cb), (ev_window_open_uri), (ev_window_cmd_focus_page_selector), (ev_window_cmd_scroll_forward), (ev_window_cmd_scroll_backward), (ev_window_cmd_continuous), (ev_window_cmd_dual), (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width), (ev_window_dispose): * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get): * Cleanup mime type detection on document load. Fix for the bug #336448. 2006-04-02 Nickolay V. Shmyrev * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose): Fix crash on exit, described in the bug #336825. 2006-03-31 Nickolay V. Shmyrev * backend/ev-document-factory.c: (ev_document_factory_get_from_mime), (ev_document_factory_get_all_mime_types), (get_document_from_uri), (ev_document_factory_get_document), (file_filter_add_mime_list_and_free), (ev_document_factory_add_filters): * backend/ev-document-factory.h: * properties/ev-properties-main.c: (ev_properties_get_pages): * shell/Makefile.am: * shell/ev-application.c: * shell/ev-job-xfer.c: (ev_job_xfer_run): * shell/ev-window.c: (ev_window_cmd_file_open), (ev_window_cmd_save_as): * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get): Rework factory functions so they are placed now in a single file ev-document-factory.c 2006-03-28 Nickolay V. Shmyrev * shell/ev-window.c: (update_chrome_visibility): Fix for the bug 166566 - don't show menubar in fullscreen mode. 2006-03-22 Tommi Vainikainen * configure.ac (ALL_LINGUAS): Added Dzongkha (dz). 2006-03-21 Nickolay V. Shmyrev * shell/ev-view.c: (ev_view_expose_event): More correctly draw loading text when document is empty. 2006-03-21 Nickolay V. Shmyrev * shell/ev-view.c: (ev_view_scroll): Fix for the bug #334854, page down and page up switch pages in presentation mode. 2006-03-21 Nickolay V. Shmyrev * shell/ev-window.c: (ev_window_set_action_sensitive), (ev_window_setup_action_sensitivity), (ev_window_update_actions), (ev_window_set_view_accels_sensitivity), (update_chrome_visibility), (ev_window_cmd_focus_page_selector), (ev_window_cmd_continuous), (ev_window_cmd_dual), (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width), (find_changed_cb), (page_changed_cb), (ev_window_setup_document), (ev_window_cmd_edit_find), (ev_window_set_page_mode), (ev_window_cmd_edit_toolbar_cb), (ev_window_zoom_changed_cb), (ev_window_has_selection_changed_cb), (find_bar_search_changed_cb), (view_actions_focus_in_cb), (ev_window_init): Fix for the bug #333902, now it's possible to search words with slash. 2006-03-16 Jérémy Ar Floc'h * configure.ac: Added Breton translation. * po/br.po: Added Breton translation. 2006-03-14 Carlos Garcia Campos * shell/ev-window-title (ev_window_title_update): Fix memory leak in window title. Fixes bug #333944 2006-03-14 Carlos Garcia Campos * shell/ev-metadata-manager.c (parseItem): Fix memory leaks. Fixes bug #333945 2006-03-13 Nickolay V. Shmyrev * NEWS, configure.ac, TODO: Update for release 0.5.2. 2006-03-05 Nickolay V. Shmyrev * shell/ev-view.c: (view_update_range_and_current_page), (page_changed_cb): Don't jump on scrolling, fix for the bug #333127. 2006-03-01 Nickolay V. Shmyrev * shell/ev-view.c: (ev_view_next_page), (ev_view_previous_page): Scroll by one page in presentation mode. Fix for the bug #332993. 2006-03-01 Vladimer SIchinava * configure.ac: Added ka (Georgian) to ALL_LINGUAS line. 2006-02-28 Clytie Siddall * configure.ac Added lv in ALL_LINGUAS line. 2006-02-27 Nickolay V. Shmyrev * NEWS, configure.ac: Update for release 0.5.1 2006-02-24 Ricardo Markiewicz * backend/ev-document-misc.c: (ev_document_misc_paint_one_page): * backend/ev-document-misc.h: * shell/ev-view.c: (draw_one_page): Clairfy what page the toolbar page number applies to. Fix for the bug #328102. 2006-02-24 Stanislav Slusny * shell/ev-view-private.h: * shell/ev-view.c: (ev_view_scroll), (ev_view_scroll_event), (ev_view_init), (find_changed_cb), (ev_view_find_previous), (ev_view_search_changed): * shell/ev-view.h: * shell/ev-window.c: (find_bar_search_changed_cb): Dont't jump to find result if window was scrolled during search. Fix for the bug #313266. 2006-02-21 Stanislav Slusny * shell/eggfindbar.c: (egg_find_bar_class_init): * shell/eggfindbar.h: * shell/ev-view-accessible.c: (ev_view_accessible_idle_do_action): * shell/ev-view-private.h: * shell/ev-view.c: (add_scroll_binding_keypad), (ev_view_scroll), (ev_view_class_init), (ev_sizing_mode_get_type), (ev_scroll_type_get_type): * shell/ev-view.h: * shell/ev-window.c: (ev_window_cmd_scroll_forward), (ev_window_cmd_scroll_backward), (find_bar_scroll), (ev_window_init): Fix for the bug 319133 - Find entry should allow text scroll. 2006-02-20 Antoine Dopffer * shell/ev-view-private.h: * shell/ev-view.c: (view_update_range_and_current_page), (highlight_find_results), (find_changed_cb), (page_changed_cb), (ev_view_set_document), (update_find_status_message), (jump_to_find_result), (jump_to_find_page), (ev_view_find_next), (ev_view_find_previous): Fix for the bug #319137. Search now takes account for scrolling. 2006-02-19 Michael Hofmann * configure.ac: * djvu/Makefile.am: * djvu/djvu-document-private.h: * djvu/djvu-document.c: (G_DEFINE_TYPE_WITH_CODE), (djvu_handle_events), (djvu_document_load), (djvu_document_save), (djvu_document_get_page_size), (djvu_document_render_pixbuf), (djvu_document_can_get_text), (djvu_document_get_text), (djvu_document_document_iface_init), (djvu_document_thumbnails_get_thumbnail), (djvu_document_find_begin), (djvu_document_find_get_n_results), (djvu_document_find_get_result), (djvu_document_find_page_has_results), (djvu_document_find_get_progress), (djvu_document_find_cancel), (djvu_document_find_iface_init): * djvu/djvu-text-page.c: (djvu_text_page_selection_process), (djvu_text_page_selection), (djvu_text_page_limits_process), (djvu_text_page_limits), (djvu_text_page_copy), (djvu_text_page_position), (djvu_text_page_union), (djvu_text_page_sexpr_process), (djvu_text_page_sexpr), (djvu_text_page_box), (djvu_text_page_append_text), (djvu_text_page_search), (djvu_text_page_prepare_search), (djvu_text_page_new), (djvu_text_page_free): * djvu/djvu-text-page.h: * djvu/djvu-text.c: (djvu_text_idle_callback), (djvu_text_new), (djvu_text_copy), (djvu_text_free), (djvu_text_get_text), (djvu_text_n_results), (djvu_text_has_results), (djvu_text_get_result), (djvu_text_get_progress): * djvu/djvu-text.h: Text search in djvu. Fix for the bug #303415. 2006-02-18 Nickolay V. Shmyrev * configure.ac: * shell/ev-window.c: (ev_window_cmd_save_as): Ask filechooser to confirm overwrite. Fix for the bug #328266. Thanks to Gary Coady 2006-02-18 Nickolay V. Shmyrev * shell/ev-print-job.c: (idle_print_handler): Inverse order printing, bug #320919. 2006-02-17 Nickolay V. Shmyrev * data/evince-toolbar.xml: * shell/ev-window.c: Allow to add sidebar checkbutton on toolbar. Fix for the bug #144577. 2006-02-16 Nickolay V. Shmyrev * ps/ps-document.c: (push_pixbuf), (setup_pixmap): Add checks that have sense for empty ps document. 2006-02-15 Luca Ferretti * configure.ac: Include PS in mime types list. 2006-02-13 Nickolay V. Shmyrev * configure.ac: * ps/gsdefaults.c: (gtk_gs_defaults_get_paper_sizes): * ps/gsdefaults.h: * ps/ps-document.c: (start_interpreter), (ps_document_load): Runtime check for gs interpreter. Fix for the bug #320868. Thanks to Antoine Dopffer antoine.dopffer@free.fr 2006-02-12 Carlos Garcia Campos * shell/ev-application.c: Use DBUS_NAME_FLAG_DO_NOT_QUEUE flag in RequestName method when dbus>=0.60, so that the request is not queued. 2006-02-10 Nickolay V. Shmyrev * configure.ac: * shell/Makefile.am: * shell/ev-sidebar-links.c: (print_section_cb): * shell/ev-utils.c: * shell/ev-utils.h: * shell/ev-window.c: (update_action_sensitivity), (ev_window_close_dialogs), (ev_window_print): * shell/ev-window.h: Make printing support optional. Patch from Eduardo de Barros Lima for the bug #330546. 2006-02-07 Nickolay V. Shmyrev * shell/ev-view-private.h: * shell/ev-view.c: (ev_view_expose_event), (ev_view_set_loading), (ev_view_set_document): * shell/ev-view.h: * shell/ev-window.c: (ev_window_load_job_cb), (ev_window_xfer_job_cb), (ev_window_open_uri), (ev_window_dispose), (ev_window_init): Draw Loading message during xfer job. Fix for the bug #329495. 2006-02-03 Nickolay V. Shmyrev * comics/comics-document.c: (comics_regex_quote), (comics_document_load), (extract_argv): Correcly quote regexp before passing it to unzip. 2006-02-01 Nickolay V. Shmyrev * shell/ev-page-cache.c: (build_height_to_page), (ev_page_cache_new), (ev_page_cache_get_max_label_chars), (ev_page_cache_get_dual_even_left): * shell/ev-page-cache.h: * shell/ev-view.c: (view_update_range_and_current_page), (get_page_y_offset), (get_page_extents): Place even pages to the left if document has less then two pages. Fix for the bug #328856. 2006-01-31 Nickolay V. Shmyrev * thumbnailer/evince-thumbnailer-comics.schemas.in: Correct comics scheme. This make evince create thumbnails for comic books. Fix for the bug 329088. 2006-01-31 Christopher Aillon * data/evince-password.glade: Don't explicitly set invisible_char to the current default value in case the default changes; let GTK+ do its magic. 2006-01-29 Nickolay V. Shmyrev * shell/ev-job-xfer.c: (ev_job_xfer_run): Append real filename to tmp filename since often document type is determined by extension. 2006-01-24 Ricardo Markiewicz * shell/ev-view.c: (add_scroll_binding_keypad), (ev_view_binding_activated), (ev_view_class_init): Add keybindings for percision-scrolling of display area. Fix for the bug #314072. 2006-01-21 Nickolay V. Shmyrev * data/evince.desktop.in.in: Add GTK to the list of categories. Fix for the bug #328034. 2006-01-21 Nickolay V. Shmyrev * shell/ev-application.c: (ev_application_shutdown), (ev_application_set_chooser_uri), (ev_application_get_chooser_uri): * shell/ev-application.h: * shell/ev-window.c: (file_open_dialog_response_cb), (ev_window_cmd_file_open): Save last uri in file chooser dialog. Fix for the bug #327950. 2006-01-20 Nickolay V. Shmyrev * NEWS: * README: Final update for release 0.5.0 * shell/Makefile.am: Remove disable deprecated until we'll require libgnome-2.13.7 and port to GOption argument parsing. See bug 327518. 2006-01-19 Jani Monoses * comics/comics-document.c: (comics_document_save): * djvu/djvu-document.c: (djvu_document_save): * dvi/dvi-document.c: (dvi_document_save): * lib/ev-file-helpers.c: (ev_tmp_filename), (ev_xfer_uri_simple): * lib/ev-file-helpers.h: * pixbuf/pixbuf-document.c: (pixbuf_document_save): * tiff/tiff-document.c: (tiff_document_save): Use common save function for backends. 2006-01-18 Jani Monoses * backend/ev-document-types.c: Fix crash on saving pixbuf. 2006-01-18 Nickolay V. Shmyrev * cut-n-paste/recent-files/egg-recent-item.c: (get_uri_shortname_for_display), (egg_recent_item_get_short_name): * cut-n-paste/recent-files/egg-recent-model.c: (parse_info_init), (parse_info_free), (valid_element), (start_element_handler), (end_element_handler), (text_handler), (egg_recent_model_filter), (egg_recent_model_monitor_cb), (egg_recent_model_poll_timeout), (egg_recent_model_monitor), (egg_recent_model_read), (egg_recent_model_open_file), (egg_recent_model_lock_file), (egg_recent_model_unlock_file), (egg_recent_model_finalize), (egg_recent_model_set_property), (egg_recent_model_class_init), (egg_recent_model_init), (egg_recent_model_add_full), (egg_recent_model_delete), (egg_recent_model_get_list), (egg_recent_model_clear), (egg_recent_model_clear_mime_filter), (egg_recent_model_set_filter_mime_types), (egg_recent_model_clear_group_filter), (egg_recent_model_set_filter_groups), (egg_recent_model_clear_scheme_filter), (egg_recent_model_set_filter_uri_schemes), (egg_recent_model_remove_expired): * cut-n-paste/recent-files/egg-recent-util.c: (egg_recent_util_get_icon): * cut-n-paste/recent-files/egg-recent-util.h: * cut-n-paste/recent-files/egg-recent-view-uimanager.c: (connect_proxy_cb), (egg_recent_view_uimanager_set_list), (egg_recent_view_uimanager_set_empty_list), (model_changed_cb), (egg_recent_view_uimanager_set_property), (egg_recent_view_uimanager_get_property), (egg_recent_view_uimanager_class_init), (egg_recent_view_uimanager_init), (egg_recent_view_uimanager_set_label_width), (egg_recent_view_uimanager_get_label_width): * cut-n-paste/recent-files/egg-recent-view-uimanager.h: * cut-n-paste/toolbar-editor/egg-editable-toolbar.c: * cut-n-paste/toolbar-editor/egg-editable-toolbar.h: * cut-n-paste/toolbar-editor/egg-toolbar-editor.c: * cut-n-paste/toolbar-editor/egg-toolbars-model.c: * cut-n-paste/toolbar-editor/egg-toolbars-model.h: Update from libegg. 2006-01-07 Nickolay V. Shmyrev * shell/ev-page-cache.c: (build_height_to_page), (ev_page_cache_get_height_to_page): * shell/ev-page-cache.h: * shell/ev-view.c: (view_update_range_and_current_page), (get_page_y_offset), (get_page_extents), (ev_view_next_page), (ev_view_previous_page): Dual mode places even pages to the left. Fix for the bug #309393. * shell/ev-view.h: * shell/ev-window.c: (update_action_sensitivity), (setup_view_from_metadata), (view_menu_popup_cb): Don't restore presentation in empty windows, more intelligent next page behaviour in dual mode. * shell/ev-pixbuf-cache.c: (check_job_size_and_unref), (ev_pixbuf_cache_clear_job_sizes): Cleanup job callback on removal. Fix for the bug #325886. 2006-01-07 Nickolay V. Shmyrev * ps/ps.c: (psscan): Commit workaround Mozilla problem. Fix for the bug #325919 * shell/ev-metadata-manager.c: (parse_value), (parseItem), (save_item): Fix for year 2038 problem. 2006-01-06 Nickolay V. Shmyrev * shell/ev-window.c: (setup_document_from_metadata), (ev_window_cmd_view_reload): Clamp page recieved from metadata in valid values. Fix for the bug #325986. 2006-01-06 Nickolay V. Shmyrev * MAINTAINERS: Add MAINTAINERS as requested on desktop-devel-list. 2006-01-06 Nickolay V. Shmyrev * backend/ev-document-factory.c: (gdk_pixbuf_mime_type_list), (mime_type_supported_by_gdk_pixbuf), (ev_document_factory_get_mime_types), (ev_document_factory_get_all_mime_types): Don't add pixbuf mime types if pixbuf backend is disabled. * shell/ev-application.c: (ev_application_get_uri_window): Fix for the bug 325815 - unhandled MIME type message doesn't appear a second time. * shell/ev-document-types.c: (ev_document_types_add_filters): * shell/ev-window.c: (page_changed_cb), (ev_window_setup_document), (password_dialog_response), (ev_window_popup_password_dialog), (ev_window_load_job_cb), (ev_window_sidebar_position_change_cb), (ev_window_run_fullscreen), (ev_window_stop_fullscreen), (ev_window_run_presentation), (ev_window_stop_presentation), (save_sizing_mode), (ev_window_zoom_changed_cb), (ev_window_continuous_changed_cb), (ev_window_rotation_changed_cb), (ev_window_dual_mode_changed_cb), (ev_window_sidebar_current_page_changed_cb), (ev_window_sidebar_visibility_changed_cb), (ev_window_dispose), (window_state_event_cb), (window_configure_event_cb): Cleanup additional uris holded by EvWindow. 2006-01-06 Nickolay V. Shmyrev * shell/ev-view.c: (ev_view_scroll), (ev_view_previous_page), (ev_view_can_previous_page), (ev_view_can_next_page): * shell/ev-view.h: * shell/ev-window.c: (update_action_sensitivity): Two page scrolling with Space and PageUp in dual mode. Second fix for the bug #316608. 2006-01-05 Nickolay V. Shmyrev * shell/ev-view.c: (scroll_to_current_page): Correctly clamp adjustment value. Fix for the bug #325808. 2006-01-04 Nickolay V. Shmyrev * shell/ev-sidebar-links.c: (print_section_cb): * shell/ev-window.c: (ev_window_get_uri), (ev_window_close_dialogs), (ev_window_open_uri), (ev_window_print), (ev_window_print_dialog_response_cb), (ev_window_print_range), (ev_window_dispose): Make print dialog non-modal. Fix for the bug #325622. 2006-01-04 Nickolay V. Shmyrev * shell/ev-metadata-manager.c: * shell/ev-utils.c: (using_pdf_printer), (using_postscript_printer), (load_print_config_from_file), (save_print_config_to_file): * shell/ev-utils.h: * shell/ev-window.c: (update_sizing_buttons), (page_changed_cb), (update_sidebar_visibility), (setup_sidebar_from_metadata), (setup_view_from_metadata), (ev_window_setup_document), (ev_window_load_job_cb), (ev_window_sidebar_position_change_cb), (ev_window_run_fullscreen), (ev_window_stop_fullscreen), (ev_window_run_presentation), (ev_window_stop_presentation), (save_sizing_mode), (ev_window_zoom_changed_cb), (ev_window_continuous_changed_cb), (ev_window_rotation_changed_cb), (ev_window_dual_mode_changed_cb), (ev_window_sidebar_current_page_changed_cb), (ev_window_sidebar_visibility_changed_cb), (ev_window_dispose), (window_state_event_cb), (window_configure_event_cb), (ev_window_init): Setting saving behaviour fixes. 2005-12-30 Nickolay V. Shmyrev * configure.ac: Make antialiasing gs options better and allow to change them during configure. Fix for the bug #319049. 2005-12-29 Nickolay V. Shmyrev * shell/ev-window.c: (setup_view_from_metadata): Remember if last window was maximized. Fix for the bug #323797. 2005-12-28 Abel Cheung * configure.ac: Added "zh_HK" to ALL_LINGUAS. 2005-12-28 Nickolay V. Shmyrev * backend/ev-link.c: (ev_link_get_page), (ev_link_init): * shell/ev-page-action.c: (build_new_tree_cb): * shell/ev-sidebar-links.c: (links_page_num_func), (update_page_callback_foreach), (update_page_callback): * shell/ev-view.c: (scroll_to_current_page): Fix for the bug #325067 with more intelligent selection of current link in sidebar. Make sidebar handle links of FITR-like type more correctly. * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule), (dvi_pixbuf_put_pixel): Fix memory consumtion with disabled alpha channel. 2005-12-28 Nickolay V. Shmyrev * data/evince-ui.xml: * shell/ev-window.c: (view_menu_popup_cb), (ev_popup_cmd_open_link), (ev_window_init): Update context menu for internal links. Fix for the bug #325066. 2005-12-28 Nickolay V. Shmyrev * shell/ev-view.c: (ev_view_popup_menu), (ev_view_class_init): Bind context menu to keyboard also. Fix for the bug #325065. 2005-12-27 Nickolay V. Shmyrev * shell/ev-view.c: (selection_scroll_timeout_cb): Horizontal scroll on selection also. 2005-12-26 Nickolay V. Shmyrev * shell/ev-metadata-manager.c: (parse_value): * shell/ev-view.c: (goto_xyz_link): Correct zoom setup and metadata save broken in some locales. 2005-12-26 Nickolay V. Shmyrev * shell/ev-view-private.h: * shell/ev-view.c: (scroll_to_current_page), (view_set_adjustment_values), (goto_fitr_link), (goto_fitv_link), (goto_fith_link), (goto_fit_link), (goto_xyz_link), (page_changed_cb), (ev_view_set_continuous), (ev_view_set_dual_page), (ev_view_set_presentation): Delay scroll until allocation to correctly position page. Fix for the bug #317334. 2005-12-25 Nickolay V. Shmyrev * NEWS: * configure.ac: Update NEWS and require poppler 0.5.0. 2005-12-25 Carlos Garcia Campos * data/evince-ui.xml: * shell/ev-view-private.h: * shell/ev-view.c: (ev_view_get_link_at_location), (handle_link_over_xy), (ev_view_button_press_event), (ev_view_button_release_event), (ev_view_class_init): * shell/ev-window.c: (view_menu_popup_cb), (ev_window_dispose), (ev_popup_cmd_open_link), (ev_popup_cmd_copy_link_address), (ev_window_init): Implement right-click context menu. 2005-12-25 Nickolay V. Shmyrev * djvu/djvu-document.c: (djvu_document_thumbnails_get_thumbnail): * dvi/pixbuf-device.c: (dvi_pixbuf_create_image), (mdvi_pixbuf_device_render): * pdf/ev-poppler.cc: Don't generate thumbnails with alpha. See bug #324077. Thanks to Jeroen Zwartepoorte . 2005-12-25 Nickolay V. Shmyrev * shell/ev-window.c: (setup_chrome_from_metadata): Fix typo that was hiding toolbar. 2005-12-25 Nickolay V. Shmyrev * shell/ev-view-private.h: * shell/ev-view.c: (ev_view_realize), (selection_update_idle_cb), (selection_scroll_timeout_cb), (ev_view_motion_notify_event), (ev_view_button_release_event), (ev_view_destroy): Small cleanup and autoscrolling during selection. Thanks to Ricardo Markiewicz . 2005-12-22 Jani Monoses * configure.ac: Correctly check for comics option. 2005-12-21 Eduardo Lima * Makefile.am: * configure.ac: * backend/Makefile.am: * backend/ev-document-factory.c: * shell/ev-document-types.c: Included option in configure to make ps backend compilation optional with --disable-ps. 2005-12-20 Nickolay V. Shmyrev * backend/ev-document-factory.c: * comics/Makefile.am: * comics/comics-document.c: (comics_document_load): * comics/ev-cbr-mime.xml: * configure.ac: Comics mime types are added to shared-mime-info CVS. Now we don't need to install our own mime types. 2005-12-20 Nickolay V. Shmyrev * shell/ev-window.c: Add shortcut for "save a copy" menu entry. Fix for the bug #324582. 2005-12-19 Nickolay V. Shmyrev * shell/ev-pixbuf-cache.c: (dispose_cache_job_info), (job_finished_cb), (new_selection_pixbuf_needed), (ev_pixbuf_cache_get_selection_pixbuf), (update_job_selection), (clear_job_selection), (ev_pixbuf_cache_set_selection_list): Rework selection job info logic and fix critical warning. 2005-12-17 Abel Cheung * configure.ac: Added "cy" "fa" "mk" "vi" to ALL_LINGUAS. 2005-11-27 Jaap A. Haitsma * data/evince-ui.xml: * shell/ev-window.c: (ev_window_set_view_accels_sensitivity): Enter as shortcut key for next page. Fix for the bug #321394. 2005-11-18 Ales Nyakhaychyk * configure.ac: Added "be" (Belarusian) to ALL_LINGUAS. 2005-11-17 Nickolay V. Shmyrev * shell/ev-pixbuf-cache.c: (dispose_cache_job_info), (job_finished_cb), (copy_job_to_job_info), (add_job_if_needed), (new_selection_pixbuf_needed), (ev_pixbuf_cache_get_selection_pixbuf), (update_job_selection), (clear_job_selection): Too early for 0.5. Pixbuf cache code cleaned a bit. 2005-11-14 Nickolay V. Shmyrev * NEWS: * configure.ac: Release 0.5.0 preparation 2005-11-14 Nickolay V. Shmyrev * comics/Makefile.am: * configure.ac: * shell/ev-document-types.c: (ev_document_types_add_filters): More advanced handling of custom mime type installation. 2005-11-14 Nickolay V. Shmyrev * data/evince.schemas.in: * shell/ev-metadata-manager.c: (value_free), (ev_metadata_manager_get_last), (ev_metadata_manager_set_last), (ev_metadata_manager_get), (ev_metadata_manager_set): * shell/ev-metadata-manager.h: * shell/ev-window.c: (update_chrome_flag), (ev_window_cmd_focus_page_selector), (update_sidebar_visibility), (setup_document_from_metadata), (setup_chrome_from_metadata), (setup_sidebar_from_metadata), (setup_view_from_metadata), (ev_window_cmd_edit_find), (ev_window_cmd_escape), (ev_window_view_toolbar_cb), (ev_window_sidebar_visibility_changed_cb), (find_bar_close_cb), (view_actions_focus_in_cb), (ev_window_init), (ev_window_new): Save last document settings and reuse them for new documents. 2005-11-14 Nickolay V. Shmyrev * Makefile.am: * backend/Makefile.am: * backend/ev-document-factory.c: * backend/ev-document-factory.h: * comics/Makefile.am: * comics/comics-document.c: (G_DEFINE_TYPE_WITH_CODE), (comics_document_load), (comics_document_save), (comics_document_get_n_pages), (comics_document_get_page_size), (get_page_size_area_prepared_cb), (comics_document_render_pixbuf) (render_pixbuf_size_prepared_cb), (comics_document_finalize), (comics_document_class_init), (comics_document_can_get_text), (comics_document_get_info), (comics_document_document_iface_init), (comics_document_init), (get_supported_image_extensions), (comics_document_thumbnails_get_geometry), (comics_document_thumbnails_get_thumbnail), (comics_document_thumbnails_get_dimensions), (comics_document_document_thumbnails_iface_init), (extract_argv): * comics/comics-document.h: * comics/ev-cbr-mime.xml: * configure.ac: * po/POTFILES.in: * shell/ev-application.c: (ev_application_register_service): * shell/ev-document-types.c: (ev_document_types_add_filters): * thumbnailer/Makefile.am: * thumbnailer/evince-thumbnailer-comics.schemas.in: New CBR/CBZ backend for comic books. 2005-11-10 Nickolay V. Shmyrev * shell/main.c: (load_files_remote): Thanks to Robert McQueen . Dbus warning on startup of second instance is fixed. It is bug #320353. 2005-10-30 Nickolay V. Shmyrev * shell/ev-window.c: (ev_window_finalize): Fix double free that cause crash. 2005-10-29 Bastien Nocera * tiff/tiff-document.c: (tiff_document_load): Fix memory leak. 2005-10-29 Nickolay V. Shmyrev * po/POTFILES.in: * shell/Makefile.am: * shell/ev-view-accessible.c: (ev_view_accessible_get_priv), (ev_view_accessible_free_priv), (ev_view_accessible_class_init), (ev_view_accessible_get_text), (ev_view_accessible_get_character_at_offset), (ev_view_accessible_get_text_before_offset), (ev_view_accessible_get_text_at_offset), (ev_view_accessible_get_text_after_offset), (ev_view_accessible_get_character_count), (ev_view_accessible_get_caret_offset), (ev_view_accessible_set_caret_offset), (ev_view_accessible_get_run_attributes), (ev_view_accessible_get_default_attributes), (ev_view_accessible_get_character_extents), (ev_view_accessible_get_offset_at_point), (ev_view_accessible_get_n_selections), (ev_view_accessible_get_selection), (ev_view_accessible_add_selection), (ev_view_accessible_remove_selection), (ev_view_accessible_set_selection), (ev_view_accessible_text_iface_init), (ev_view_accessible_idle_do_action), (ev_view_accessible_action_do_action), (ev_view_accessible_action_get_n_actions), (ev_view_accessible_action_get_description), (ev_view_accessible_action_get_name), (ev_view_accessible_action_set_description), (ev_view_accessible_action_iface_init), (ev_view_accessible_get_type), (ev_view_accessible_new), (ev_view_accessible_factory_get_accessible_type), (ev_view_accessible_factory_create_accessible), (ev_view_accessible_factory_class_init), (ev_view_accessible_factory_get_type): * shell/ev-view-accessible.h: * shell/ev-view-private.h: * shell/ev-view.c: (ev_view_get_accessible), (ev_view_class_init): * shell/ev-view.h: Initial accessibility support. 2005-10-27 Erdal Ronahi * configure.ac: Added ku (Kurdish) to ALL_LINGUAS 2005-10-26 Hubert Figuiere * shell/ev-print-job.c: (idle_print_handler): Fix for bug Bug 318916: Printing multiple pages. 2005-10-20 Runa Bhattacharjee * configure.ac: Added "bn" (Bengali) to ALL_LINGUAS. 2005-10-18 Nickolay V. Shmyrev * pdf/ev-poppler.cc: Thumnail dimensions unified with other backends. * shell/ev-window-title.c: (ev_window_title_update): Fix warning. 2005-10-17 Nickolay V. Shmyrev * data/ev-stock-zoom-fit-width.png: Remove unused file. 2005-10-17 Nickolay V. Shmyrev * configure.ac: * djvu/djvu-document.c: (djvu_document_load), (djvu_document_save), (djvu_document_finalize): * dvi/dvi-document.c: (dvi_document_load), (dvi_document_save), (dvi_document_finalize): * pixbuf/pixbuf-document.c: (pixbuf_document_load), (pixbuf_document_save), (pixbuf_document_finalize): * tiff/tiff-document.c: (tiff_document_load), (tiff_document_save), (tiff_document_finalize): Save a copy implemented for various backends. 2005-10-17 Daniel Gryniewicz * configure.ac: Don't link with ltiff if tiff is disabled. 2005-10-14 Nickolay V. Shmyrev * pdf/GDKSplashOutputDev.cc: * pdf/GDKSplashOutputDev.h: * pdf/Thumb.cc: * pdf/Thumb.h: * pdf/pdf-document.cc: * pdf/pdf-document.h: * pdf/test-gdk-output-dev.cc: Remove old unused files. 2005-10-12 Nickolay V. Shmyrev * shell/ev-window.c: (ev_window_setup_document): Fixed warnings on reload and probably crash reason. 2005-10-12 Nickolay V. Shmyrev * properties/ev-properties-view.c: (ev_properties_view_format_date): Check if date is invalid. Fix for bug 318134. 2005-10-02 Wouter Bolsterlee * shell/ev-window-title.c: Add .indd files (Adobe Indesign) to the list of "bad extensions". 2005-10-02 Nickolay V. Shmyrev * data/evince-ui.xml: * shell/ev-window.c: (ev_window_set_view_accels_sensitivity): Add KP_Add and KP_Substract bindings. 2005-09-27 Christian Persch * shell/ev-window.c: (launch_link), (launch_external_uri), (view_external_link_cb): URL-escape link before passing it to gnome_vfs_url_show. 2005-09-27 Carlos Garcia Campos * shell/ev-view.[ch], shell/ev-window.c: Disable copy action when there isn't text selected. 2005-09-27 Marco Pesenti Gritti * shell/ev-view.c: (handle_link_over_xy): Check tooltip is valid utf8 before showing it 2005-09-27 Carlos Garcia Campos * shell/ev-view.c: Allow drag and drop of text. Fixes #316772 2005-09-27 Christian Persch * shell/ev-window-title.c: (ev_window_title_update): Guard against using g_strstrip on NULL. Fixes bug #317291. 2005-09-26 Marco Pesenti Gritti * pdf/ev-poppler.cc: Show title even for unknown links 2005-09-26 Marco Pesenti Gritti * shell/ev-window-title.c: (ev_window_title_update): Strip the title string 2005-09-26 Marco Pesenti Gritti * shell/ev-window-title.c: Add .rtf to the bad extensions list 2005-09-26 Marco Pesenti Gritti * shell/ev-view.c: (doc_point_to_view_point), (goto_fitr_link), (goto_fitv_link), (goto_fith_link), (goto_xyz_link): Ignore link coordinates if they are outside page bounds 2005-09-26 Marco Pesenti Gritti * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_filename), (ev_link_get_params), (ev_link_get_property), (ev_link_set_property), (ev_window_dispose), (ev_link_class_init), (ev_link_new_launch): * backend/ev-link.h: * pdf/ev-poppler.cc: * shell/ev-view.c: (ev_view_goto_link), (ev_view_class_init): * shell/ev-window.c: (launch_link), (view_external_link_cb), (ev_window_init): Implement launch links. Delegate external link opening to the window. 2005-09-24 Marco Pesenti Gritti * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_bottom), (ev_link_get_right), (ev_link_get_property), (ev_link_set_property), (ev_link_class_init), (ev_link_new_page_fitv), (ev_link_new_page_fitr): * backend/ev-link.h: * pdf/ev-poppler.cc: * shell/ev-view.c: (goto_fitr_link), (ev_view_goto_link): Implement fitr links 2005-09-24 Marco Pesenti Gritti * shell/ev-view.c: (ev_view_get_width), (ev_view_get_height), (goto_fitv_link), (goto_fith_link), (goto_fit_link), (ev_view_goto_link), (ev_view_size_request_continuous_dual_page), (ev_view_size_request_continuous), (ev_view_size_request_dual_page), (ev_view_size_request_single_page), (ev_view_size_allocate), (ev_view_zoom_for_size_continuous_and_dual_page), (ev_view_zoom_for_size_continuous), (ev_view_zoom_for_size_dual_page), (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size), (ev_sizing_mode_get_type): * shell/ev-view.h: * shell/ev-window.c: (ev_window_sizing_mode_changed_cb): Do not use modes for link, we need to calculate size ad hoc. Still not perfect because of the usual scrollbar issues grrr. 2005-09-24 Marco Pesenti Gritti * backend/ev-link.c: (ev_link_type_get_type), (ev_link_new_page_fith), (ev_link_new_page_fitv): * backend/ev-link.h: * pdf/ev-poppler.cc: * shell/ev-view.c: (goto_fitv_link), (goto_fith_link), (ev_view_goto_link), (ev_view_size_request_continuous_dual_page), (ev_view_size_request_continuous), (ev_view_size_request_dual_page), (ev_view_size_request_single_page), (ev_view_size_allocate), (zoom_for_size_fit_height), (ev_view_zoom_for_size_continuous_and_dual_page), (ev_view_zoom_for_size_continuous), (ev_view_zoom_for_size_dual_page), (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size), (ev_sizing_mode_get_type): * shell/ev-view.h: * shell/ev-window.c: (ev_window_sizing_mode_changed_cb): Implement FIT_HEIGHT mode (only for links). Implement FITH links 2005-09-24 Marco Pesenti Gritti * shell/ev-window-title.c: (get_filename_from_uri), (ev_window_title_sanitize_extension), (ev_window_title_update), (ev_window_title_set_document), (ev_window_title_set_uri), (ev_window_title_free): * shell/ev-window-title.h: * shell/ev-window.c: (ev_window_setup_document), (ev_window_popup_password_dialog): Refactor window title building while fixing it for password documents. 2005-09-24 Marco Pesenti Gritti * pdf/ev-poppler.cc: Escape link title before setting it in the model 2005-09-23 Marco Pesenti Gritti * shell/ev-application.c: (removed_from_session), (save_session), (init_session), (ev_application_get_empty_window), (ev_application_init), (ev_application_get_windows): * shell/ev-application.h: * shell/ev-window.c: (ev_window_finalize): Add a function to retrieve window list and share it where necessary. Implement session handling, works pretty well thanks to the metadata system. 2005-09-22 Nickolay V. Shmyrev * shell/ev-password.c: (ev_password_item_created_callback), (ev_password_dialog_save_password): Fix for bug 316972. Use async gnome-keyring API. 2005-09-22 Christian Persch * shell/ev-view.c: (ev_view_scroll_event), (ev_view_class_init): Remove unused unrealize handler. Add scroll handling to ev_view_scroll_event for presentation mode (bug #316708), and fix the event state checks there. 2005-09-22 Marco Pesenti Gritti * shell/ev-page-action.c: (page_changed_cb): "marco, maybe we should be crazy and jump right to 6! :)" Bryan Clark, Sep 2005 2005-09-22 Marco Pesenti Gritti * ps/ps-document.c: (save_document), (ps_document_save), (ps_document_ps_export_begin), (ps_document_ps_export_do_page), (ps_document_ps_export_end): Fix unstructured documents save and print 2005-09-22 Marco Pesenti Gritti * shell/ev-application.c: (ev_application_open_uri): Fix window size persistance 2005-09-22 Marco Pesenti Gritti * shell/ev-view.c: (ev_view_button_release_event): Based on a patch from carlosgc@gnome.org. Mouse buttons switch pages in presentation mode. 2005-09-19 Marco Pesenti Gritti * shell/ev-page-cache.c: (ev_page_cache_get_size): Dont cast to int before scaling 2005-09-19 Marco Pesenti Gritti * backend/ev-link.c: (ev_link_type_get_type), (ev_link_new_page_xyz), (ev_link_new_page_fit), (ev_link_new_page_fith): * backend/ev-link.h: * pdf/ev-poppler.cc: * shell/ev-view.c: (goto_fith_link), (ev_view_goto_link): Implement FIT and FITH links 2005-09-19 Marco Pesenti Gritti * pdf/ev-poppler.cc: Return 0 results when search is not in progress. * shell/ev-window.c: (ev_window_cmd_go_previous_page), (ev_window_cmd_go_next_page), (find_bar_search_changed_cb): Update menu sensitivity when cancelling search 2005-09-19 Marco Pesenti Gritti * shell/ev-view.c: (ev_view_can_find_next): Take all pages in consideration, not just current one 2005-09-19 Marco Pesenti Gritti * shell/ev-page-cache.c: * shell/ev-page-cache.h: * shell/ev-view.c: (ev_view_binding_activated), (ev_view_next_page), (ev_view_previous_page), (ev_sizing_mode_get_type): * shell/ev-view.h: * shell/ev-window.c: (ev_window_cmd_go_previous_page), (ev_window_cmd_go_next_page): Move page next/previous functions from page chace to view and change it to move by 2 page steps in dual mode. 2005-09-19 Marco Pesenti Gritti * shell/ev-window.c: (update_sidebar_visibility), (setup_sidebar_from_metadata), (ev_window_setup_document), (setup_view_from_metadata): Show the index by default when there is one 2005-09-19 Marco Pesenti Gritti * shell/ev-window-title.c: (ev_window_title_set_document): Missing null check 2005-09-17 Nickolay V. Shmyrev * shell/ev-view.c: (view_update_range_and_current_page): Allow display of last odd page in dual view. Fix for 316347. 2005-09-17 Wouter Bolsterlee * shell/ev-window.c: (ev_window_cmd_edit_toolbar): Make close button default. Fix for 316383. 2005-09-17 Nickolay V. Shmyrev * shell/ev-properties-dialog.c: (ev_properties_dialog_init): Mark close button as default. Fix for 316381. 2005-09-16 Marco Pesenti Gritti * backend/ev-link.c: (ev_link_class_init): Allow negative doubles in left/top properties 2005-09-16 Marco Pesenti Gritti * shell/ev-window.c: Remove a bunch of strings that was used only by the statusbar. 2005-09-16 Marco Pesenti Gritti * shell/ev-window-title.c: (get_filename_from_uri), (ev_window_title_set_document): When title has a confusing extension, show also the document filename inside () 2005-09-16 Marco Pesenti Gritti * shell/Makefile.am: * shell/ev-window-title.c: (ev_window_title_new), (ev_window_title_update), (ev_window_title_set_type), (ev_window_title_set_document), (ev_window_title_free): * shell/ev-window-title.h: * shell/ev-window.c: (ev_window_setup_document), (password_dialog_response), (ev_window_popup_password_dialog), (ev_window_dispose), (ev_window_init): Factor out and cleanup window title code 2005-09-16 Marco Pesenti Gritti * shell/ev-window.c: (unable_to_load_dialog_response_cb), (unable_to_load): Make dialog transient so it doesnt block other windows 2005-09-13 Nickolay V. Shmyrev * pdf/ev-poppler.cc: Fix pdf thumbnails rendering. 2005-09-13 Wouter Bolsterlee * shell/ev-window.c: (fullscreen_set_timeout): Increase timeout to hide full screen popup. Bug 316123. 2005-09-13 Nickolay V. Shmyrev * data/evince.schemas.in: * shell/ev-window.c: (update_action_sensitivity): Allow the user to override document restrictions. Fix for bug 305818. 2005-09-13 Christian Persch * shell/ev-window.c: (ev_window_update_fullscreen_popup), (ev_window_create_fullscreen_popup), (ev_window_screen_changed), (ev_window_class_init): Fix multihead behaviour of fullscreen toolbar popup. Fixes bug #315451. 2005-09-13 Nickolay V. Shmyrev * configure.ac: * data/evince-password.glade: * shell/ev-password.c: (ev_password_dialog_set_property), (ev_password_dialog_finalize), (ev_password_dialog_class_init), (ev_password_dialog_init), (ev_password_set_bad_password_label), (ev_password_dialog_entry_changed_cb), (ev_password_dialog_entry_activated_cb), (ev_password_dialog_save_password), (ev_password_keyring_found_cb), (ev_password_search_in_keyring), (ev_password_dialog_get_password), (ev_password_dialog_set_bad_pass): * shell/ev-password.h: * shell/ev-window.c: (password_dialog_response), (ev_window_popup_password_dialog): Support for gnome-keyring for encrypted PDF's. 2005-09-11 Nickolay V. Shmyrev * shell/ev-view.c: (handle_link_over_xy), (ev_view_realize), (ev_view_motion_notify_event), (ev_view_leave_notify_event), (ev_view_enter_notify_event), (ev_view_class_init): More precise handling of enter_notify/leave_notify events in EvView. Fix for bug 315470. 2005-09-08 Christopher Aillon * shell/ev-window.c: (fullscreen_timeout_cb), (fullscreen_set_timeout), (fullscreen_clear_timeout), (ev_window_dispose): leak fix: unref fullscreen_timeout_source before clearing it 2005-09-08 Nickolay V. Shmyrev * configure.ac, dvi/mdvi/Makefile.am: Use lt1 instead lt1lib. Thanks to yselkowitz@users.sourceforge.net 2005-09-08 Marco Pesenti Gritti * backend/ev-link.c: (ev_link_new_page_xyz): * pdf/ev-poppler.cc: * shell/ev-view.c: (goto_xyz_link), (ev_view_goto_link): Fix some bugs with xyz links, respect zoom 2005-09-08 Marco Pesenti Gritti * shell/ev-window.c: (page_changed_cb), (setup_document_from_metadata), (update_sidebar_visibility), (setup_view_from_metadata), (ev_window_run_fullscreen), (ev_window_stop_fullscreen), (ev_window_run_presentation), (ev_window_stop_presentation), (ev_window_continuous_changed_cb), (ev_window_dual_mode_changed_cb), (ev_window_sidebar_current_page_changed_cb): null check uri before setting and getting metadata 2005-09-08 Marco Pesenti Gritti * dvi/Makefile.am: * properties/Makefile.am: * shell/Makefile.am: * thumbnailer/Makefile.am: Some build fixes for cygwin. Patch by yselkowitz@users.sourceforge.net 2005-09-08 Marco Pesenti Gritti * shell/ev-sidebar-links.c: (ev_sidebar_links_class_init), (selection_changed_callback): * shell/ev-sidebar-links.h: Add a signal for link activation. * shell/ev-view.c: (ev_view_goto_link), (ev_view_button_release_event): * shell/ev-view.h: * shell/ev-window.c: (sidebar_links_link_activated_cb), (ev_window_init): Implement the signal so that we can handle all link types. * shell/ev-page-cache.c: Remove unused set_link function 2005-09-08 Marco Pesenti Gritti * lib/ev-tooltip.c: (ev_tooltip_set_position): Add some space from the cursor, hardcoded but I couldnt find a better way. 2005-09-07 Marco Pesenti Gritti * lib/ev-tooltip.c: Use mozilla style vs gtk style, way better for links. * shell/ev-view.c: (ev_view_motion_notify_event), (ev_view_destroy), (ev_view_init): Deactive tooltip when the link hovered is changed. 2005-09-07 Marco Pesenti Gritti * backend/ev-document.h: * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_top), (ev_link_get_left), (ev_link_get_zoom), (ev_link_get_property), (ev_link_set_property), (ev_window_dispose), (ev_link_class_init), (ev_link_new_page), (ev_link_new_page_xyz): * backend/ev-link.h: * pdf/ev-poppler.cc: * shell/ev-view.c: (doc_point_to_view_point), (scroll_to_xyz_link), (go_to_link), (tip_from_link): Implement xyz links, still not functional. Links are a total mess, will need to refactor and bugfix a lot :( 2005-09-05 Alessio Frusciante * configure.ac: Added "it" (Italian) to ALL_LINGUAS. 2005-09-05 Marco Pesenti Gritti * data/evince-ui.xml: * data/evince.schemas.in: * shell/Makefile.am: * shell/ev-window.c: (update_chrome_visibility), (password_dialog_response), (ev_window_load_job_cb), (ev_window_xfer_job_cb), (ev_window_open_uri), (ev_window_class_init), (set_chrome_actions), (load_chrome), (ev_window_init): Remove the statusbar. This regress loading feedback, need to check with Bryan what we want to do there... 2005-09-05 Marco Pesenti Gritti * lib/ev-tooltip.c: (ev_tooltip_init): Fix tooltip border and size handling 2005-09-05 Marco Pesenti Gritti * lib/ev-tooltip.c: (ev_tooltip_dispose), (ev_tooltip_class_init), (ev_tooltip_set_position), (ev_tooltip_recently_shown), (ev_tooltip_timeout), (ev_tooltip_activate), (ev_tooltip_deactivate): * lib/ev-tooltip.h: * shell/ev-view.c: (ev_view_motion_notify_event): Delay popup showing. Mirror gtk logic/times. 2005-09-03 Marco Pesenti Gritti * lib/Makefile.am: * lib/ev-tooltip.c: (ev_tooltip_expose_event), (ev_tooltip_class_init), (ev_tooltip_init), (ev_tooltip_new), (ev_tooltip_set_text), (ev_tooltip_set_position): * lib/ev-tooltip.h: Simple widget to show tooltips at a custom position * shell/ev-view.c: (tip_from_link), (ev_view_motion_notify_event), (ev_view_destroy): Use it for links. First go, needs work 2005-08-17 Dennis Cranston * shell/ev-window.c: (ev_window_cmd_edit_toolbar): A couple small HIG fixes. Use title capitalization for window title. Use 12 pixels of space between the dialog's vbox and action area. 2005-09-02 Marco Pesenti Gritti * shell/ev-window.c: (file_open_dialog_response_cb), (ev_window_cmd_file_open), (file_save_dialog_response_cb), (ev_window_cmd_save_as): Make file pickers not modal and refactor code some 2005-09-02 Marco Pesenti Gritti * shell/ev-sidebar.h: * shell/ev-sidebar.c: (ev_sidebar_set_property), (ev_sidebar_get_current_page), (ev_sidebar_get_property), (ev_sidebar_class_init), (ev_sidebar_select_page), (ev_sidebar_menu_item_activate_cb), (ev_sidebar_new), (ev_sidebar_set_page): Add a current page property and allow to get/set it * shell/ev-window.c: (setup_view_from_metadata), (ev_window_sidebar_current_page_changed_cb), (ev_window_init): Persist current sidebar page per document 2005-09-02 Marco Pesenti Gritti * data/evince.schemas.in: * shell/ev-window.c: (update_chrome_visibility), (setup_document_from_metadata), (update_sidebar_visibility), (setup_view_from_metadata), (ev_window_sidebar_position_change_cb), (ev_window_run_fullscreen), (ev_window_stop_fullscreen), (ev_window_run_presentation), (ev_window_stop_presentation), (ev_window_view_sidebar_cb), (ev_window_sidebar_visibility_changed_cb), (set_chrome_actions), (load_chrome), (ev_window_init): Persist size/visibility of sidebar per document Fri Sep 2 00:59:55 2005 Jonathan Blandford * shell/ev-view.c (draw_loading_text): Draw loading text. 2005-09-02 Dan Damian * configure.in: Added "ro" to ALL_LINGUAS. 2005-09-01 Marco Pesenti Gritti * shell/ev-view.c: (clear_caches): ev_page_cache_get doesnt return a reference, dont try to unref it. 2005-09-01 Marco Pesenti Gritti * shell/main.c: (load_files_remote): Fix timestamp parameter with dbus <= 0.33 2005-08-31 Marco Pesenti Gritti * data/evince.schemas.in: Add missing full stop 2005-08-31 Hiroyuki Ikezoe * shell/ev-pixbuf-cache.c: (dispose_cache_job_info): * shell/ev-window.c: (ev_window_print_range), (ev_window_dispose): Plug some memory leaks 2005-08-29 Christian Persch * configure.ac: * lib/ev-debug.c: (trap_handler): Check for execinfo.h and use it only if it exists. Ported from Epiphany (bug #314776). 2005-08-29 Duarte Loreto * configure.ac: Added Portuguese (pt) to ALL_LINGUAS. 2005-08-27 Mohammad DAMT * configure.ac: Added Indonesian "id" to ALL_LINGUAS * po/id.po : Added Indonesian translation Fri Aug 26 00:45:09 2005 Jonathan Blandford * shell/main.c: * shell/ev-application.c: Last minute GTK-2.6 fixes. * NEWS: Release 0.4.0 Thu Aug 25 23:40:23 2005 Jonathan Blandford * configure.ac: catch another gtk+-2.8ism * shell/main.c: Make work with gtk+-2.6 2005-08-25 Ryan Lortie * shell/ev-application-service.xml: Add 'timestamp' argument to ev_application_open_window and ev_application_open_uri methods. * shell/ev-application.h: Add 'timestamp' argument to ev_application_open_window, ev_application_open_uri, and ev_application_open_uri_list functions. * shell/ev-application.c (ev_application_open_window, ev_application_open_uri, ev_application_open_uri_list): Change functions that show/present windows to use a timestamp if one is passed in. * shell/ev-window.c (ev_window_cmd_file_open, ev_window_cmd_recent_file_activate, drag_data_received_cb): * shell/main.c (load_files): Modify calls to ev_application to include GDK_CURRENT_TIME as timestamp. * shell/main.c (load_files_remote): Obtain timestamp for client instance from GDK and pass to server instance so new windows are focused properly. Fix dbus_g_proxy_call() calls by including second G_TYPE_INVALID. Closes bug #314475. Thu Aug 25 22:13:08 2005 Jonathan Blandford * shell/ev-window.c (ev_window_finalize): Check for avail. EvWindows when quiting to handle the finalize better, #314497 2005-08-26 Nickolay V. Shmyrev * properties/ev-properties-view.c: Set textdomain to libglade. Fixes translation problem in property page. 2005-08-26 Nickolay V. Shmyrev * djvu/djvu-document.c: (djvu_document_thumbnails_get_thumbnail): * dvi/Makefile.am: * dvi/dvi-document.c: (dvi_document_thumbnails_get_thumbnail): * dvi/mdvi-lib/Makefile.am: Fix rotation of thumbnails, ported to new API. Moved library dependencies earlier, probably it will fix linkage problem. Thu Aug 25 02:32:32 2005 Jonathan Blandford * backend/ev-document-misc.c: (ev_document_misc_get_thumbnail_frame): * backend/ev-document-misc.h: * configure.ac: * pdf/ev-poppler.cc: * shell/Makefile.am: * shell/ev-sidebar-thumbnails.c: (add_range), (ev_sidebar_thumbnails_set_loading_icon), (ev_sidebar_thumbnails_refresh), (ev_sidebar_thumbnails_set_document): * shell/ev-sidebar-thumbnails.h: * shell/ev-view.c: (ev_view_motion_notify_event), (ev_view_set_property), (ev_view_get_property), (ev_view_class_init), (ev_view_set_rotation): * shell/ev-window.c: (ev_window_cmd_edit_rotate_left), (ev_window_cmd_edit_rotate_right), (ev_window_rotation_changed_cb), (ev_window_init): * tiff/tiff-document.c: (tiff_document_thumbnails_get_thumbnail): Redo rotation (again). prepare for 0.4.0 2005-08-24 Kristian Høgsberg * configure.ac: Bump poppler requirement to 0.4.1. * pdf/ev-poppler.cc (pdf_selection_render_selection): Add rotation argument to poppler_page_render_selection() call. 2005-08-24 Nickolay V. Shmyrev * djvu/djvu-document.c: (djvu_document_render_pixbuf), (djvu_document_thumbnails_get_thumbnail): * dvi/dvi-document.c: (dvi_document_render_pixbuf), (dvi_document_thumbnails_get_thumbnail): * pixbuf/pixbuf-document.c: (pixbuf_document_render_pixbuf), (pixbuf_document_thumbnails_get_thumbnail): * tiff/tiff-document.c: (tiff_document_render_pixbuf): Update rotation direction of backends to fit with pdf and ps. 2005-08-24 Marco Pesenti Gritti * backend/ev-async-renderer.c: (ev_async_renderer_render_pixbuf): * backend/ev-async-renderer.h: * ps/ps-document.c: (ps_document_init), (setup_pixmap), (setup_page), (ps_document_get_page_size), (ps_async_renderer_render_pixbuf): * ps/ps-document.h: * shell/ev-jobs.c: (ev_job_render_run): Fix orientation in the postscript document 2005-08-23 Marco Pesenti Gritti * pdf/ev-poppler.cc: * ps/ps-document.c: (push_pixbuf), (ps_document_widget_event): * shell/ev-view.c: (highlight_find_results): Adapt to the new poppler rotation API. Fix text maps on landscape documents. Sat Aug 20 17:13:48 2005 Jonathan Blandford * shell/ev-view.c (compute_new_selection_text): get the correct region when selecting in modes other than continuous. Sat Aug 20 13:10:01 2005 Jonathan Blandford * shell/main.c (main): remove redundant g_warnings. 2005-08-19 Nickolay V. Shmyrev * shell/Makefile.am: Don't include autogenerated file ev-application-service.h into distribution, since it causes dbus crash. Fix for bugs 313724 and 313443. 2005-08-18 Nickolay V. Shmyrev * configure.ac: Fix sed expression for FreeBSD. Thanks to Joe Marcus Clark * shell/eggfindbar.c: (entry_activate_callback), (entry_changed_callback), (egg_find_bar_init), (egg_find_bar_set_search_string): Made findbar buttons unsensitive if there is no text in entry. Fix for the bug 313285. 2005-08-17 Carlos Garcia Campos * ps/ps-document.c: Use g_filename_display_name for displaying filenames and revert string freeze breackage 2005-08-17 Marco Pesenti Gritti * NEWS: * configure.ac: Update for 0.3.4 * shell/Makefile.am: Add ev-application-service.xml to extra dist * shell/ev-view.c: (find_page_at_location): Remove unused function (fix warning) 2005-08-17 Nickolay V. Shmyrev * dvi/mdvi-lib/t1.c: (t1_reset_resolution), (t1_really_load_font), (t1_load_font), (t1_glyph_bitmap), (t1_font_remove): Fix warnings and compilation with t1lib-5.0 and newer. Fix for bug 313623. 2005-08-16 Nickolay V. Shmyrev * shell/ev-utils.c: (set_umask_permissions), (write_to_temp_file): * shell/ev-window.c: Fix build warnings 2005-08-16 Carlos Garcia Campos * configure.ac: Update script to get dbus version. Fix for the bug #313443. 2005-08-16 Nickolay V. Shmyrev * shell/ev-window.c: (ev_window_cmd_escape): Return focus back to view on escape. Fix for bug 313295. 2005-08-16 Nickolay V. Shmyrev * shell/ev-window.c: (update_window_title), (ev_window_popup_password_dialog), (ev_window_load_job_cb), (ev_window_cmd_save_as): Correct conversion from uri to displayable string. Fix for bug 313296. 2005-08-16 Carlos Garcia Campos * ps/ps-document.c: convert filename to utf8 when there is an error loading document. Fixes #309915 2005-08-16 Marco Pesenti Gritti * configure.ac: We depend on poppler 0.4.0 Mon Aug 15 21:53:05 2005 Jonathan Blandford * configure.ac: * NEWS: Release 0.3.3. * thumbnailer/evince-thumbnailer.c: Remove pdf icon. 2005-08-14 Dennis Cranston * shell/ev-window.c: (ev_window_cmd_file_open): HIG fixes: add a couple missing mnemonics to menu items, use title capitalization for menu items and window titles, and add ellipsis to open menu item. Mon Aug 15 00:40:21 2005 Jonathan Blandford * pdf/ev-poppler.cc: * shell/ev-metadata-manager.c: (ev_metadata_manager_init): * shell/ev-view.c: (ev_view_rotate_left), (ev_view_set_rotation), (ev_view_get_rotation): * shell/ev-view.h: * shell/ev-window.c: (setup_view_from_metadata), (save_rotation_to_file), (ev_window_cmd_edit_rotate_left), (ev_window_cmd_edit_rotate_right): Fix rotation. Save it to disk. 2005-08-14 Baris Cicek * configure.ac: Added tr to ALL_LINGUAS 2005-08-12 Nickolay V. Shmyrev * shell/ev-view.c: Fix for bug Bug 311838. Search backward requires several clicks to find word. Thanks to Colin Slater . 2005-08-11 Bryan Clark * data/evince.desktop.in.in: Hide menu entry and rename it to "Document Viewer". Fix for bug #312399. 2005-08-11 Crispin Flowerday * shell/ev-page-action.c (ev_page_action_class_init): Point to the correct function in constructor of the activate_label signal Tue Aug 9 02:17:13 2005 Jonathan Blandford * shell/ev-jobs.c: (ev_job_render_new), (ev_job_render_run): * shell/ev-jobs.h: Make thread safe. 2005-08-07 Nickolay V. Shmyrev * shell/ev-view.c: (view_update_range_and_current_page): Don't update page range if we are scrolling to some document point. 2005-08-07 Nickolay V. Shmyrev * shell/ev-view.c: (get_page_extents): reverse rotation/scale when getting max_page_width, fix drawing in dual mode. Sun Aug 7 02:06:08 2005 Jonathan Blandford * shell/ev-view.c (ev_view_select_all): reverse rotation/page when getting the area for select_all. 2005-08-06 Kristian Høgsberg * backend/ev-selection.c: (ev_selection_render_selection): * backend/ev-selection.h: * pdf/ev-poppler.cc: * shell/ev-jobs.c: (ev_job_render_new): * shell/ev-jobs.h: * shell/ev-pixbuf-cache.c: (get_selection_colors), (add_job_if_needed), (ev_pixbuf_cache_get_selection_pixbuf): * shell/ev-view.c: (ev_view_focus_in), (ev_view_focus_out), (ev_view_class_init): Change selection color on focus in and focus out events. Also, poppler now uses GdkColor for specifying the selection colors, so drop some awkward conversion code. 2005-08-06 Yair Hershkovitz * configure.ac: Added Hebrew translation Sat Aug 6 01:12:44 2005 Jonathan Blandford * NOTES: * backend/ev-selection.c: (ev_selection_render_selection): * backend/ev-selection.h: * pdf/ev-poppler.cc: * shell/ev-jobs.c: (ev_job_render_dispose), (ev_job_render_new), (ev_job_render_run): * shell/ev-jobs.h: * shell/ev-pixbuf-cache.c: (dispose_cache_job_info), (ev_pixbuf_cache_new), (job_finished_cb), (add_job_if_needed), (convert_gdk_color_to_uint), (ev_pixbuf_cache_get_text_mapping), (ev_pixbuf_cache_style_changed), (ev_pixbuf_cache_get_selection_pixbuf), (ev_pixbuf_cache_set_selection_list), (ev_pixbuf_cache_get_selection_list): * shell/ev-pixbuf-cache.h: * shell/ev-utils.c: (ev_print_region_contents): * shell/ev-utils.h: * shell/ev-view.c: (ev_view_queue_draw_page), (selection_update_idle_cb), (ev_view_motion_notify_event), (ev_view_style_set), (draw_one_page), (ev_view_class_init), (setup_caches), (ev_view_find_next), (merge_selection_region), (selection_free): * shell/ev-window.c: (ev_window_update_fullscreen_popup): Clean up selection to be much smoother! 2005-08-05 Kristian Høgsberg * pdf/ev-poppler.cc (pdf_selection_render_selection): Pass colors to poppler_page_render_selection(). 2005-08-05 Nickolay V. Shmyrev * ps/ps-document.c: (save_page_list): Use unzipped document when printing. Thanks to Colin Slater . Fix for bug 311016. 2005-08-03 Nickolay V. Shmyrev * shell/ev-window.c: (update_action_sensitivity): Disable print and save respect to lockdown gconf keys. Fix for 312342. 2005-08-03 Nickolay V. Shmyrev * configure.ac: * shell/ev-utils.c: (rename_file), (set_umask_permissions), (write_to_temp_file), (ev_file_set_contents): * shell/ev-utils.h: * shell/ev-window.c: (save_print_config_to_file): Copy-paste g_file_set_contents to keep compatibility with gtk 2.6 Fix for bug 312238 2005-07-31 Christian Persch * shell/ev-window.c: (load_print_config_from_file), (save_print_config_to_file), (ev_window_print_range): Persist the print settings. Fixes bug #311578. 2005-07-31 Nickolay V. Shmyrev * djvu/djvu-document.c: (djvu_document_get_page_size), (djvu_document_render_pixbuf), (djvu_document_document_iface_init), (djvu_document_thumbnails_get_thumbnail): * dvi/dvi-document.c: (dvi_document_get_page_size), (dvi_document_render_pixbuf), (dvi_document_document_iface_init), (dvi_document_thumbnails_get_dimensions), (dvi_document_thumbnails_get_thumbnail): * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size), (pixbuf_document_render_pixbuf), (pixbuf_document_document_iface_init), (pixbuf_document_thumbnails_get_thumbnail): Update backends to make them build with new rotation system. 2005-07-31 Nickolay V. Shmyrev * help/C/figures/evince_start_window.png: Update documentation image from Luca Ferretti Sat Jul 30 19:09:34 2005 Jonathan Blandford * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_clear): * shell/ev-pixbuf-cache.h: * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_get_property), (add_range), (adjustment_changed_cb): * shell/ev-view.c: (ev_view_set_rotation): Fix rotation and the pixbuf cache. Make thumbnailing work again. Also, fix bug where we were thumbnailing the entire docment on startup, slowing us down hugely. Fri Jul 29 23:14:28 2005 Jonathan Blandford * shell/ev-page-cache.c: (ev_page_cache_new): * shell/ev-window.c: (update_action_sensitivity): Handle n_pages == 0, fixes #310306. 2005-07-29 Marco Pesenti Gritti * shell/ev-view.c: (doc_rect_to_view_rect), (ev_view_rotate_right), (ev_view_rotate_left): Account rotation in doc_rect_to_view_rect. Ensure rotation doesnt go out of bounds. 2005-07-29 Marco Pesenti Gritti * shell/ev-page-cache.c: (ev_page_cache_get_size): Correct and cleanup w/h swapping 2005-07-29 Marco Pesenti Gritti * backend/ev-document-thumbnails.c: (ev_document_thumbnails_get_thumbnail): * backend/ev-document-thumbnails.h: * backend/ev-document.c: * backend/ev-document.h: * backend/ev-render-context.c: (ev_render_context_new), (ev_render_context_set_rotation): * backend/ev-render-context.h: * pdf/ev-poppler.cc: * ps/ps-document.c: (ps_document_document_iface_init): * shell/ev-jobs.c: (ev_job_thumbnail_new), (ev_job_thumbnail_run): * shell/ev-jobs.h: * shell/ev-page-cache.c: (build_height_to_page), (ev_page_cache_new), (ev_page_cache_get_size), (ev_page_cache_get_max_width), (ev_page_cache_get_max_height), (ev_page_cache_get_height_to_page): * shell/ev-page-cache.h: * shell/ev-pixbuf-cache.c: (check_job_size_and_unref), (add_job_if_needed), (ev_pixbuf_cache_add_jobs_if_needed), (ev_pixbuf_cache_set_page_range), (new_selection_pixbuf_needed), (ev_pixbuf_cache_get_selection_pixbuf): * shell/ev-pixbuf-cache.h: * shell/ev-print-job.c: (idle_print_handler): * shell/ev-sidebar-thumbnails.c: (add_range): * shell/ev-view.c: (view_update_range_and_current_page), (get_page_y_offset), (get_page_extents), (ev_view_size_request_continuous_dual_page), (ev_view_size_request_continuous), (ev_view_size_request_dual_page), (ev_view_size_request_single_page), (draw_one_page), (ev_view_set_rotation), (ev_view_rotate_right), (ev_view_rotate_left), (ev_view_zoom_for_size_presentation), (ev_view_zoom_for_size_continuous_and_dual_page), (ev_view_zoom_for_size_continuous), (ev_view_zoom_for_size_dual_page), (ev_view_zoom_for_size_single_page), (compute_new_selection_text), (ev_view_select_all): * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get): * tiff/tiff-document.c: (tiff_document_render_pixbuf), (tiff_document_document_iface_init), (tiff_document_thumbnails_get_thumbnail): Use rotation rather than orientation. It's easier and enough for our needs. 2005-07-29 Marco Pesenti Gritti * shell/ev-page-cache.c: (build_height_to_page), (ev_page_cache_new), (ev_page_cache_get_size), (ev_page_cache_get_max_width), (ev_page_cache_get_max_height), (ev_page_cache_get_height_to_page): * shell/ev-page-cache.h: * shell/ev-view.c: (get_page_y_offset), (get_page_extents), (ev_view_size_request_continuous_dual_page), (ev_view_size_request_continuous), (ev_view_zoom_for_size_continuous_and_dual_page), (ev_view_zoom_for_size_continuous): Make the page cache aware of page orientation. 2005-07-29 Marco Pesenti Gritti * backend/ev-document-thumbnails.c: (ev_document_thumbnails_get_thumbnail): * backend/ev-document-thumbnails.h: * backend/ev-document.c: * backend/ev-document.h: * backend/ev-ps-exporter.c: (ev_ps_exporter_do_page): * backend/ev-ps-exporter.h: * pdf/ev-poppler.cc: * ps/ps-document.c: (ps_document_document_iface_init), (ps_document_ps_export_do_page): * shell/ev-jobs.c: (ev_job_thumbnail_new), (ev_job_thumbnail_run): * shell/ev-jobs.h: * shell/ev-page-cache.c: (ev_page_cache_get_size), (ev_page_cache_get): * shell/ev-page-cache.h: * shell/ev-pixbuf-cache.c: (check_job_size_and_unref), (add_job_if_needed), (ev_pixbuf_cache_add_jobs_if_needed), (ev_pixbuf_cache_set_page_range), (new_selection_pixbuf_needed): * shell/ev-pixbuf-cache.h: * shell/ev-print-job.c: (idle_print_handler): * shell/ev-sidebar-thumbnails.c: (add_range): * shell/ev-view.c: (view_update_range_and_current_page), (get_page_extents), (ev_view_size_request_dual_page), (ev_view_size_request_single_page), (draw_one_page), (clear_caches), (ev_view_set_orientation), (ev_view_rotate_right), (ev_view_rotate_left), (ev_view_zoom_for_size_presentation), (ev_view_zoom_for_size_dual_page), (ev_view_zoom_for_size_single_page), (compute_new_selection_text), (ev_view_select_all): * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get): * tiff/tiff-document.c: (tiff_document_get_page_size), (tiff_document_get_orientation), (rotate_pixbuf), (tiff_document_render_pixbuf), (tiff_document_document_iface_init), (tiff_document_thumbnails_get_thumbnail), (tiff_document_ps_export_do_page), (tiff_document_init): Really make use of the orientation bit of the render context. Use the render context in a few more places in the backend API. This regress orientation, but now it's done right. Will try to fix it up asap... 2005-07-29 Marco Pesenti Gritti * shell/ev-view.c: (ensure_rectangle_is_visible): Patch by Nickolay V. Shmyrev to fix find flickering 2005-07-27 Martin Kretzschmar * backend/ev-ps-exporter.h: add paper_width, paper_height, and duplex parameters to ::begin. * tiff/tiff-document.c (tiff_document_ps_export_begin): * shell/ev-print-job.c (idle_print_handler): * ps/ps-document.c (ps_document_ps_export_begin): * pdf/ev-poppler.cc (pdf_document_ps_exporter_begin): * backend/ev-ps-exporter.c (ev_ps_exporter_begin): update implementations. Poppler backend needs poppler cvs. Rest has unchanged behavior. 2005-07-25 Martin Kretzschmar * shell/ev-window.c (using_pdf_printer): new function. (ev_window_print_range): print a less techy message if someone tries to print to PDF. 2005-07-25 Martin Kretzschmar * pdf/ev-poppler.cc (font_type_to_string): Remove trailing space from "unknown font" string. Bug #311431 2005-07-24 Martin Kretzschmar * help/es/.cvsignore, help/sr/.cvsignore: ignore xmlpo output. 2005-07-24 Martin Kretzschmar Bug #311280 * pdf/ev-poppler.cc (font_type_to_string): new, returns user readable name for PopplerFontTypes (pdf_document_fonts_fill_model): add font type to the detail column * backend/ev-document-fonts.h: added EV_DOCUMENT_FONTS_COLUMN_DETAILS. * shell/ev-properties-fonts.c (font_cell_data_func): glue together font name and font details, add a little markup. (ev_properties_fonts_init): use the new cell data func, specify ypad property for the cell renderer. (ev_properties_fonts_set_document): add the details column. 2005-07-24 Artur Flinta * configure.ac: Added "pl" to ALL_LINGUAS. 2005-07-24 Danilo Šegan * configure.ac: Added "sr" and "sr@Latn" to ALL_LINGUAS. 2005-07-23 Tommi Vainikainen * help/ChangeLog: Started this for translations of manual. * configure.ac, autogen.sh, .cvsignore: Migrated to gnome-doc-utils. Patch in bug #311222. 2005-07-22 Martin Kretzschmar * backend/ev-document-factory.c (mime_type_supported_by_gdk_pixbuf): #ifdef this away to fix an unused-function warning. 2005-07-22 Ignacio Casal Quinteiro * configure.ac: Added 'gl' to ALL_LINGUAS. 2005-07-22 Pawan Chitrakar * configure.ac: Added ne in ALL_LINGUAS 2005-07-22 Nickolay V. Shmyrev * shell/ev-view.c: (ev_view_leave_notify_event): Clear status message when pointer leaves view. Fix for bug #310818 2005-07-20 Ankit Patel * configure.ac: Gujarati (gu) added to ALL_LINGUAS 2005-07-17 Nickolay V. Shmyrev * shell/ev-view.c: (ev_view_leave_notify_event), (ev_view_class_init): Set cursor to normal then leaving view. 2005-07-17 Nickolay V. Shmyrev * configure.ac: Fix required djvulibre version. 2005-07-15 Rajesh Ranjan *configure.ac: Hindi (hi) language added 2005-07-15 Amanpreet Singh Brar *configure.ac: Punjabi (pa) Language added 2005-07-12 Nickolay V. Shmyrev * data/evince-ui.xml, shell/ev-window.c: Add keypad accelerators for zooming. Fix for bug 308128. 2005-07-11 Marco Pesenti Gritti * Makefile.am: * backend/Makefile.am: * backend/ev-document-factory.c: (ev_document_type_get_from_mime): * configure.ac: * shell/ev-document-types.c: (ev_document_types_add_filters): Allow to enable/disable the pixbuf backend. Default to off for now. If we want it enabled we should really put mime types in the desktop, implement properties etc. * properties/evince-properties.c: Initialize error to NULL. Check error is not NULL before freeing. 2005-07-11 Marco Pesenti Gritti * shell/ev-window.c: Use F5 as presentation accell 2005-07-11 Marco Pesenti Gritti * shell/ev-window.c: (update_chrome_visibility), (ev_window_create_fullscreen_popup), (ev_window_init): Do not leak the fullscreen toolbar 2005-07-11 Marco Pesenti Gritti * shell/ev-window.c: (view_actions_focus_in_cb), (view_actions_focus_out_cb): These has a return value! Fix totally random focus issues we was seeing. 2005-07-11 Carlos Garcia Campos * shell/main.c: (load_files_remote): Allow open more than one file 2005-07-11 Marco Pesenti Gritti * shell/main.c: (load_files_remote): Fix for dbus 0.33. bug #309975 2005-07-08 Marco Pesenti Gritti * properties/ev-properties-main.c: (ev_properties_get_pages): Actually return NULL for types we dont support 2005-07-08 Christian Persch * po/POTFILES.in: Remove empty lines. 2005-07-08 Marco Pesenti Gritti * backend/ev-document-factory.c: (ev_document_factory_get_document): Do not try to create the object if type is invalid. 2005-07-08 Marco Pesenti Gritti * ps/ps-document.c: (ps_document_dispose), (ps_async_renderer_render_pixbuf): * ps/ps-document.h: Do not leak the target window 2005-07-08 Marco Pesenti Gritti * shell/ev-application.c: (ev_application_init): Let tbe check file existence for us. Add a comment about eggrecent mime filter. 2005-07-08 Marco Pesenti Gritti * data/evince-ui.xml: * shell/ev-application.c: (ev_application_shutdown), (ev_application_init), (ev_application_get_toolbars_model), (ev_application_get_recent_model), (ev_application_save_toolbars_model): * shell/ev-application.h: * shell/ev-window.c: (ev_window_add_recent), (ev_window_setup_recent), (ev_window_cmd_edit_toolbar_cb), (ev_window_cmd_edit_toolbar), (ev_window_dispose), (ev_window_init): Use common toolbar and recent models for all windows. Patch by Nickolay V. Shmyrev Thu Jul 7 23:10:01 2005 Jonathan Blandford * configure.ac: add FRONTEND_CORE_LIBS to evince_save_LIBS so we successfully check for gtk_icon_view_get_visible_range. 2005-07-07 Nickolay V. Shmyrev * djvu/Makefile.am: * dvi/Makefile.am: Fix djvu and dvi backend build. 2005-07-07 Christian Persch * cut-n-paste/toolbar-editor/egg-editable-toolbar.c: (new_pixbuf_from_widget), (new_separator_pixbuf): Don't leak windows. 2005-07-07 Christian Persch * shell/ev-window.c: (ev_window_cmd_edit_toolbar): HIGification of toolbar editor dialogue. 2005-07-07 Marco Pesenti Gritti * configure.ac: * shell/Makefile.am: Ever build metadata manager since it's just disabled at runtime now. 2005-07-07 Marco Pesenti Gritti * shell/ev-metadata-manager.c: (ev_metadata_manager_init), (ev_metadata_manager_get), (ev_metadata_manager_set): * shell/ev-metadata-manager.h: Add an _init functions that enabled metadata management at runtime. * shell/ev-window.c: (page_changed_cb), (setup_document_from_metadata), (ev_window_setup_document), (setup_view_from_metadata), (ev_window_open_uri), (ev_window_run_fullscreen), (ev_window_stop_fullscreen), (ev_window_run_presentation), (ev_window_stop_presentation), (save_sizing_mode), (ev_window_zoom_changed_cb), (ev_window_continuous_changed_cb), (ev_window_dual_mode_changed_cb), (window_state_event_cb), (window_configure_event_cb): Remove all ugly metadata define since we deal with it at runtime now. * shell/main.c: (load_files_remote), (main): Add support for dbus cvs head. Hopefully didnt break one of the other versions now! If we dont get a response from the dbus server just give up with it and not enable metadata. 2005-07-07 Marco Pesenti Gritti * Makefile.am: * backend/Makefile.am: * configure.ac: * cut-n-paste/recent-files/Makefile.am: * cut-n-paste/toolbar-editor/Makefile.am: * cut-n-paste/zoom-control/Makefile.am: * lib/Makefile.am: * pdf/Makefile.am: * pixbuf/Makefile.am: * properties/Makefile.am: * ps/Makefile.am: * shell/Makefile.am: * thumbnailer/Makefile.am: * tiff/Makefile.am: Make frontends depend on just libev. Rework and group CFLAGS/LIBS definitions. Cleanups. 2005-07-07 Marco Pesenti Gritti * shell/ev-window: do not unnecessarily save zoom * configure.ac: * lib/ev-file-helpers.c: (ev_dot_dir): * shell/Makefile.am: * shell/dummy.cc: Some cleanups 2005-07-07 Marco Pesenti Gritti * configure.ac: Remove unnecessary dependencies 2005-07-07 Marco Pesenti Gritti * properties/Makefile.am: * thumbnailer/Makefile.am: * tiff/Makefile.am: Some more cleanups. Was really necessary but I probably introduced bugs, feel free to flame :) 2005-07-07 Marco Pesenti Gritti * backend/Makefile.am: * configure.ac: * cut-n-paste/recent-files/Makefile.am: * cut-n-paste/toolbar-editor/Makefile.am: * cut-n-paste/zoom-control/Makefile.am: * lib/Makefile.am: * pdf/Makefile.am: * pixbuf/Makefile.am: * properties/Makefile.am: * ps/Makefile.am: * shell/Makefile.am: * thumbnailer/Makefile.am: * tiff/Makefile.am: Use gnome-common macros when possible. Cleanup dependencies. Actually disable deprecated where possible. 2005-07-07 Marco Pesenti Gritti * Makefile.am: * backend/Makefile.am: * properties/Makefile.am: * shell/Makefile.am: * thumbnailer/Makefile.am: This should solve the circular dep without requiring dir reorg! * shell/ev-window.c: (setup_view_from_metadata): Never restore window size/position when the window is already visible. 2005-07-06 Christian Persch * shell/ev-metadata-manager.c: (ev_metadata_manager_save): Return a boolean from timeout func. Fix ported from gedit. 2005-07-07 Iñaki Larrañaga * configure.ac: Added "eu" (Basque) to ALL_LINGUAS. 2005-07-06 Carlos Garcia Campos * shell/ev-document-types.c: set "All Documents" as default filter in open dialog 2005-07-06 Martin Kretzschmar * shell/ev-metadata-manager.c (ev_metadata_manager_set_int) (ev_metadata_manager_set_double, ev_metadata_manager_set_string) (ev_metadata_manager_set_boolean): fix value/val thinko. 2005-07-06 Marco Pesenti Gritti * shell/ev-window.c: (setup_view_from_metadata), (window_state_event_cb), (window_configure_event_cb), (ev_window_init): Remember window position and maximized state 2005-07-06 Christian Persch * configure.ac: Fix DBUS configure checks. * shell/ev-metadata-manager.c: (ev_metadata_manager_set_int), (ev_metadata_manager_set_double), (ev_metadata_manager_set_string), (ev_metadata_manager_set_boolean): Plug mem leaks. * shell/ev-window.c: (page_changed_cb), (ev_window_run_fullscreen), (ev_window_stop_fullscreen), (ev_window_run_presentation), (ev_window_stop_presentation), (ev_window_zoom_changed_cb), (ev_window_continuous_changed_cb), (ev_window_dual_mode_changed_cb), (ev_window_new): Fix the build without DBUS. 2005-07-06 Marco Pesenti Gritti * shell/ev-metadata-manager.c: (parse_value), (save_values), (ev_metadata_manager_set_int), (ev_metadata_manager_set_double), (ev_metadata_manager_set_string), (ev_metadata_manager_set_boolean): * shell/ev-metadata-manager.h: Add support for some more types * shell/ev-view.c: (scroll_to_current_page), (ev_view_get_continuous), (ev_view_set_continuous), (ev_view_get_dual_page): * shell/ev-view.h: * shell/ev-window.c: (page_changed_cb), (setup_document_from_metadata), (ev_window_setup_document), (setup_view_from_metadata), (ev_window_open_uri), (ev_window_run_fullscreen), (ev_window_stop_fullscreen), (ev_window_run_presentation), (ev_window_stop_presentation), (save_sizing_mode), (ev_window_sizing_mode_changed_cb), (ev_window_zoom_changed_cb), (ev_window_update_continuous_action), (ev_window_update_dual_page_action), (ev_window_continuous_changed_cb), (ev_window_dual_mode_changed_cb), (ev_window_init): Remember a bunch of view/document properties. Prolly some are still missing but it's getting interesting. 2005-07-05 Martin Kretzschmar * configure.ac: check if dbus-binding-tool is installed. Not the case on current Ubuntu breezy, it seems. 2005-07-05 Luca Ferretti * data/evince.desktop.in.in: Allow open uri lists and add TryExec field. 2005-07-05 Marco Pesenti Gritti * configure.ac: Enable dbus when available, do not require a configure option. 2005-07-05 Christian Persch * configure.ac: Use AM_CONDITIONAL unconditionally, fixes the build with DBUS disabled. 2005-07-05 Carlos Garcia Campos Marco Pesenti Gritti * shell/Makefile.am: Add --prefix for dbus-binding-tool script * shell/ev-application.[ch], shell/ev-window.c: change dbus RPC functions to the format required by dbus * shell/main.c: use G_TYPE instead of DBUS_TYPE to fix compilation errors. Use the RPC parameters in the expected way 2005-07-05 Marco Pesenti Gritti * Makefile.am: * properties/Makefile.am: * properties/ev-properties-main.c: (ev_properties_get_pages): Support all mime types * shell/Makefile.am: * thumbnailer/Makefile.am: * thumbnailer/evince-thumbnailer.c: (get_document_from_uri), (evince_thumbnail_pngenc_get): Use the document factory 2005-07-05 Marco Pesenti Gritti * backend/Makefile.am: * backend/ev-document-factory.c: (mime_type_supported_by_gdk_pixbuf), (ev_document_type_get_from_mime), (ev_document_factory_get_document), (ev_document_factory_get_backend), (ev_document_factory_get_mime_types), (ev_document_factory_get_all_mime_types): * backend/ev-document-factory.h: * shell/Makefile.am: * shell/ev-document-types.c: (get_document_from_uri), (ev_document_types_get_document), (file_filter_add_mime_list_and_free), (ev_document_types_add_filters): * shell/ev-document-types.h: * shell/ev-job-xfer.c: (ev_job_xfer_run): * shell/ev-properties-dialog.c: (ev_properties_dialog_set_document): * shell/ev-window.c: (ev_window_cmd_file_open), (ev_window_cmd_save_as): * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get): Rework document types managing to avoid code duplication and actually abstract from backend implementations. Also provide a minimal factory api that can be used by thumbnailer/properties. 2005-07-05 Christian Persch * properties/ev-properties-view.c: (ev_properties_view_set_info): Plug a mem leak. * shell/ev-properties-dialog.c: (ev_properties_dialog_init): HIG spacings. 2005-07-04 Matthew S. Wilson * shell/ev-properties-dialog.c (ev_properties_dialog_set_document): only call ev_properties_fonts_set_document() if the document implements the fonts interface 2005-07-05 Marco Pesenti Gritti * configure.ac: * properties/Makefile.am: * properties/ev-properties-view.c: (ev_properties_view_register_type): * properties/ev-properties-view.h: * properties/ev-properties-main.h: Implement nautilus plugin for properties. Works only for pdf atm, I need to rework the document types stuff to get this to work for all backends... 2005-07-04 Martin Kretzschmar * shell/ev-properties-fonts.c (enum): kill redundant columns enum (ev_properties_fonts_set_document): use EV_DOCUMENT_FONTS_COLUMN_NUM_COLUMNS. 2005-07-04 Matthew S. Wilson * tiff/tiff2ps.c: remove TRUE and FALSE definitions, glib provides them (PlaceImage, tiff2ps_process_page): use g_ascii_dtostr to convert floats to strings in a locale-safe way. 2005-07-04 Martin Kretzschmar * shell/main.c: include libgnomeui/gnome-authentication-manager.h (main): to call gnome_authentication_manager_init. Should fix Bug #308510 * configure.ac: that requires libgnomeui 2.6.0. 2005-07-04 Matthew S. Wilson * tiff/tiff-document.c (tiff_document_ps_export_begin) (tiff_document_ps_export_do_page, tiff_document_ps_export_end): use the new tiff2ps interfaces * tiff/tiff2ps.h (tiff2ps_context_new, tiff2ps_process_page) (tiff2ps_context_finalize): implement new interfaces for tiff2ps * tiff/tiff2ps.c: refactor tiff2ps code to use a context structure instead of global variables. Remove use of static variables in functions. 2005-07-04 Carlos Garcia Campos * shell/ev-page-action.c: unref the completion after setting it to the entry 2005-07-04 Matthew S. Wilson * tiff/tiff2ps.c (generateEPSF): disable generating encapsulated postscript files 2005-07-04 Matthew S. Wilson * shell/ev-window.c (update_action_sensitivity): disable File->Print if the document does not implement the ps exporter interface 2005-07-04 Marco Pesenti Gritti * Makefile.am: * configure.ac: * data/evince-properties.glade: * properties/.cvsignore: * properties/Makefile.am: * properties/ev-properties-view.c: (ev_properties_view_dispose), (ev_properties_view_class_init), (ev_properties_view_format_date), (make_valid_utf8), (set_property), (ev_properties_view_set_info), (ev_properties_view_init), (ev_properties_view_new): * properties/ev-properties-view.h: * shell/Makefile.am: * shell/ev-properties-dialog.c: (ev_properties_dialog_class_init), (ev_properties_dialog_init), (ev_properties_dialog_set_document), (ev_properties_dialog_new): * shell/ev-properties-dialog.h: * shell/ev-properties-fonts.c: (ev_properties_fonts_dispose), (ev_properties_fonts_class_init), (ev_properties_fonts_init), (update_progress_label), (job_fonts_finished_cb), (ev_properties_fonts_set_document), (ev_properties_fonts_new): * shell/ev-properties-fonts.h: * shell/ev-properties.c: * shell/ev-properties.h: * shell/ev-window.c: (ev_window_setup_document), (ev_window_cmd_file_properties): Split the properties pages in two different objects, depend only on the backend where possible, use widgets instead of gobject for the glade part, reimplement the dialog itself with gtk. I need this to implement nautilus properties page. 2005-07-03 Matthew S. Wilson * tiff/tiff-document.c (tiff_document_ps_export_begin) (tiff_document_ps_export_do_page, tiff_document_ps_export_end) (tiff_document_document_ps_exporter_iface_init): implement the ps exporter interface for tiff documents * tiff/tiff2ps.c: added a modified version of tiff2ps.c from libtiff to implement TIFF postscript export * tiff/tiff2ps.h: added a header file for external tiff2ps functions. * tiff/Makefile.am (libtiffdocument_la_SOURCES): add tiff2ps.c and tiff2ps.h 2005-07-03 Nickolay V. Shmyrev * shell/ev-view.c: (scroll_to_current_page), (ev_view_set_fullscreen), (ev_view_set_presentation): Scroll to current page when exit from presentation 2005-07-03 Nickolay V. Shmyrev * shell/ev-window.c: (update_document_mode), (ev_window_run_fullscreen), (ev_window_stop_fullscreen), (ev_window_cmd_view_fullscreen), (ev_window_stop_presentation), (ev_window_cmd_view_presentation), (ev_window_cmd_escape): Exit from fullscreen mode when switch to presentation. Fix for bug 309365 2005-07-02 Matthew S. Wilson * shell/ev-pixbuf-cache.c (ev_pixbuf_cache_get_selection_pixbuf): return NULL if the document does not implement the selection interface. 2005-07-02 Matthew S. Wilson * tiff/tiff-document.c (tiff_document_get_page_size): scale the reported height by using the resolution aspect ratio (tiff_document_render_pixbuf): scale the pixbuf using the resolution aspect ratio 2005-07-01 Nickolay V. Shmyrev * configure.ac: Require libgnomeprint >= 2.5.1. Thanks to Colin Slater * djvu/djvu-document.c: (djvu_document_get_orientation), (djvu_document_set_orientation), (djvu_document_get_page_size), (rotate_pixbuf), (djvu_document_render_pixbuf), (djvu_document_document_iface_init): * dvi/dvi-document.c: (dvi_document_get_orientation), (dvi_document_set_orientation), (dvi_document_get_page_size), (rotate_pixbuf), (dvi_document_render_pixbuf), (dvi_document_document_iface_init): Dvi and djvu backends are ported to new API Fri Jul 1 00:10:15 2005 Jonathan Blandford * backend/ev-selection.c: (ev_selection_get_selection_region), (ev_selection_get_selection_map): * backend/ev-selection.h: * pdf/ev-poppler.cc: * shell/ev-jobs.c: (ev_job_render_new), (ev_job_render_run): * shell/ev-jobs.h: * shell/ev-pixbuf-cache.c: (dispose_cache_job_info), (job_finished_cb), (copy_job_to_job_info), (add_job_if_needed), (ev_pixbuf_cache_get_text_mapping): * shell/ev-pixbuf-cache.h: * shell/ev-view.c: (location_in_text), (ev_view_motion_notify_event), (ev_view_set_cursor): Add I-Beam support to EvView. Now we can see where we can select! Sweet! 2005-06-30 Kristian Høgsberg * shell/ev-view.c (ev_view_button_press_event): Fix event->y + view->scroll_x typo. 2005-06-30 Kristian Høgsberg * pdf/ev-poppler.cc: Adjust to poppler API changes; use a sub-GdkPixbuf instead of passing dest_x and dest_y. * shell/ev-view.c: (view_point_to_doc_point), (view_rect_to_doc_rect), (ev_view_button_press_event), (ev_view_motion_notify_event), (compute_new_selection_rect), (gdk_rectangle_point_in), (compute_new_selection_text), (compute_selections): Update selection code to keep the selection around as two points and not as a normalized rectangle, and fix page level selection in two-column mode. 2005-06-30 Alex Duggan * shell/ev-window.c: (window_configure_event_cb): Fix compilation 2005-06-30 Marco Pesenti Gritti * pdf/ev-poppler.cc: Fix compilation 2005-06-30 Marco Pesenti Gritti * shell/Makefile.am: * shell/ev-metadata-manager.c: (item_free), (ev_metadata_manager_init), (ev_metadata_manager_shutdown), (parse_value), (parseItem), (load_values), (ev_metadata_manager_get), (value_free), (ev_metadata_manager_set), (save_values), (save_item), (get_oldest), (resize_items), (ev_metadata_manager_save), (ev_metadata_manager_set_int): * shell/ev-metadata-manager.h: Metadata manager from gedit but modified to use GValue, so that we dont need to keep converting from strings. * configure.ac: ENABLE_METADATA conditional, on when dbus is on * shell/ev-application.c: (ev_application_open_uri): Show the window after load so that we can initialize window size before it's showed. * shell/ev-window.c: (ev_window_setup_from_metadata), (ev_window_open_uri), (window_configure_event_cb), (ev_window_init): Save and load metadata information about window size. Not yet keeping states in account. * shell/main.c: (main): Shutdown metadata manager. 2005-06-24 Marco Pesenti Gritti * shell/ev-application-service.xml: * configure.ac: * shell/Makefile.am: * shell/ev-application.c: * shell/ev-application.h: * shell/ev-window.c: * shell/ev-window.h: * shell/main.c: Add an optional dbus interface (--enable-dbus). Rework application code, mainly to be easier to use "remotely". Do not open multiple windows with the same document, spatial evince! Thu Jun 30 01:50:14 2005 Jonathan Blandford * shell/ev-pixbuf-cache.c (clear_selection_if_needed): unref the pixbuf iff it exists. Thu Jun 30 01:43:00 2005 Jonathan Blandford * shell/*: * backend/ev-render-context.[ch]: * backend/ev-selection.[ch]: Massive changes. We now support text selection of pdfs, and not just rectangular selection. This is pretty broken still, but I want to get something into CVS. 2005-06-28 Nickolay V. Shmyrev * pdf/ev-poppler.cc: Fix for Bug 309080: crash on window close. * shell/ev-page-action.c: (page_changed_cb): Fix for Bug 309168: Fix build with gcc 2.95. Thanks to jensgr@gmx.net (Jens Granseuer). 2005-06-25 Marcel Telka * configure.in (ALL_LINGUAS): Added sk. 2005-06-24 Carlos Garcia Campos * shell/ev-window.c: Make rotate menu entries unsensitive if there is not a document open 2005-06-24 Marco Pesenti Gritti * NEWS: * configure.ac: Release 0.3.2 * cut-n-paste/recent-files/Makefile.am: Fix make distcheck 2005-06-24 Marco Pesenti Gritti * pixbuf/pixbuf-document.c: (pixbuf_document_get_orientation), (pixbuf_document_set_orientation), (rotate_pixbuf), (pixbuf_document_get_page_size), (pixbuf_document_render_pixbuf), (pixbuf_document_document_iface_init), (pixbuf_document_init): Implement rotation and cleanup the code a bit. * tiff/tiff-document.c: (tiff_document_get_page_size), (tiff_document_get_orientation), (tiff_document_set_orientation), (rotate_pixbuf), (tiff_document_render_pixbuf), (tiff_document_document_iface_init), (tiff_document_init): Implement rotation. Was the quicker solution for the release but we really need to share this code in the shell. 2005-06-24 Marco Pesenti Gritti * pdf/ev-poppler.cc: Enable rotation, require poppler cvs. Fix a leak. 2005-06-24 Nickolay V. Shmyrev * shell/ev-window.c: (update_action_sensitivity): Make properties unsensitive if document backend doesn't provide any info 2005-06-24 Nickolay V. Shmyrev * dvi/mdvi-lib/bitmap.c: (bitmap_alloc), (bitmap_alloc_raw), (bitmap_flip_horizontally), (bitmap_flip_vertically), (bitmap_flip_diagonally), (bitmap_rotate_clockwise), (bitmap_rotate_counter_clockwise), (bitmap_flip_rotate_clockwise), (bitmap_flip_rotate_counter_clockwise): * dvi/mdvi-lib/color.c: (mdvi_push_color), (get_color_table): * dvi/mdvi-lib/common.c: (read_string), (buff_free), (buff_add), (buff_gets): * dvi/mdvi-lib/common.h: * dvi/mdvi-lib/dvimisc.c: (mdvi_push_color): * dvi/mdvi-lib/dviread.c: (get_bytes), (dreset), (define_font), (opendvi), (mdvi_reload), (mdvi_init_context), (mdvi_destroy_context), (mdvi_dopage), (special): * dvi/mdvi-lib/font.c: (font_drop_one), (font_free_unused): * dvi/mdvi-lib/fontmap.c: (read_encoding), (destroy_encoding), (file_hash_free), (register_encoding), (parse_spec), (mdvi_load_fontmap), (free_ent), (mdvi_init_fontmaps), (mdvi_add_fontmap_file), (mdvi_ps_read_fontmap), (mdvi_ps_flush_fonts), (mdvi_ps_find_font), (mdvi_ps_get_metrics): * dvi/mdvi-lib/fontsrch.c: (mdvi_list_font_class), (mdvi_register_font_type), (mdvi_unregister_font_type), (lookup_font), (mdvi_add_font), (mdvi_font_retry): * dvi/mdvi-lib/gf.c: (gf_read_bitmap), (gf_load_font): * dvi/mdvi-lib/hash.c: (mdvi_hash_remove), (mdvi_hash_remove_ptr), (mdvi_hash_destroy_key), (mdvi_hash_reset): * dvi/mdvi-lib/pagesel.c: (mdvi_parse_range), (mdvi_parse_page_spec), (mdvi_free_page_spec), (main): * dvi/mdvi-lib/paper.c: (mdvi_free_paper_specs): * dvi/mdvi-lib/pk.c: (pk_lookup), (pk_lookupn), (pk_load_font): * dvi/mdvi-lib/sp-epsf.c: (epsf_special): * dvi/mdvi-lib/special.c: (mdvi_register_special), (mdvi_unregister_special), (mdvi_flush_specials): * dvi/mdvi-lib/t1.c: (t1_lookup_font), (t1_really_load_font), (t1_font_remove): * dvi/mdvi-lib/tfm.c: (get_tfm_chars): * dvi/mdvi-lib/tfmfile.c: (afm_load_file), (tfm_load_file), (ofm1_load_file), (ofm_load_file), (get_font_metrics), (free_font_metrics), (flush_font_metrics): * dvi/mdvi-lib/tt.c: (tt_really_load_font), (tt_get_bitmap), (tt_font_remove): * dvi/mdvi-lib/util.c: (mdvi_malloc), (mdvi_realloc), (mdvi_calloc), (mdvi_free), (mdvi_strdup), (mdvi_strncpy), (mdvi_strndup), (mdvi_memdup), (xstradd), (dstring_append), (dstring_insert), (dstring_new), (dstring_reset): * dvi/mdvi-lib/vf.c: (vf_load_font), (vf_free_macros): Rename xmalloc and xfree to mdvi_malloc and mdvi_free to avoid conflict with libtool on FC4 * shell/ev-window.c: (ev_window_cmd_help_about): Update copyright year. Fix for bug 308828. 2005-06-23 Nikolay V. Shmyrev * shell/ev-view.c: (add_scroll_binding_keypad), (ev_view_binding_activated), (ev_view_class_init), (on_adjustment_value_changed): Bug 170874: Arrow keys switch pages in presentation mode 2005-06-23 Nikolay V. Shmyrev * shell/ev-window.c: (ev_window_sidebar_visibility_changed_cb): Fix for Bug 308265: Sidebar dissappears coming out of Presentation mode 2005-06-23 Nikolay V. Shmyrev * shell/ev-application.c: (ev_application_open): * shell/ev-document-types.c: (ev_document_types_add_filters), (ev_document_types_add_filters_for_type): * shell/ev-document-types.h: * shell/ev-window.c: (ev_window_cmd_save_as): Suggest basename as template when saving, provide filters for save dialog. It's bug 308402 2005-06-20 Nickolay V. Shmyrev * pdf/ev-poppler.cc: * shell/ev-sidebar-links.c: (job_finished_callback): * shell/ev-view.c: (update_find_status_message): Some leaks fixed 2005-06-19 Christian Persch * cut-n-paste/recent-files/egg-recent-view-uimanager.c: (egg_recent_view_uimanager_set_list): Fix buglet in !show_numbers case. 2005-06-19 Christian Persch * cut-n-paste/recent-files/egg-recent-view-uimanager.c: (connect_proxy_cb), (egg_recent_view_uimanager_set_list): Use pango ellipsisation. * pdf/ev-poppler.cc: Fix refcount leak, from nsh. 2005-06-19 Nickolay V. Shmyrev * cut-n-paste/recent-files/Makefile.am: * cut-n-paste/recent-files/egg-recent-view-gtk.c: * cut-n-paste/recent-files/egg-recent-view-gtk.h: Removed EggRecentViewGtk * cut-n-paste/recent-files/egg-recent-view-uimanager.c: * cut-n-paste/recent-files/egg-recent-view-uimanager.h: * shell/ev-window.c: (ev_window_cmd_recent_file_activate), (ev_window_setup_recent): Use ViewUIManager instead of ViewGtk. Less leaks, more compatibility with other projects 2005-06-19 Nickolay V. Shmyrev * cut-n-paste/recent-files/egg-recent-view-gtk.c: (egg_recent_view_gtk_finalize): Fix memory leak * cut-n-paste/toolbar-editor/Makefile.am: Fix location of cursor icon. * pdf/ev-poppler.cc: * shell/ev-page-action.c: (build_new_tree_cb), (match_selected_cb), (display_completion_text), (match_completion): * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose), (selection_changed_callback), (create_loading_model), (print_section_cb), (links_page_num_func), (update_page_callback_foreach): * shell/ev-window.c: (ev_window_dispose): Small memory fixes. Links model now store objects instead of pointers to improve memory management. 2005-06-19 Nickolay V. Shmyrev * shell/ev-window.c: (zoom_control_changed_cb): Fix update of zoom control (bug 308268). Sat Jun 18 22:46:42 2005 Jonathan Blandford * shell/ev-properties.c (set_property): escape the text correctly. Handles non-UTF-8 properties and escaped properties. Also, sets the text to "None" if the property isn't set. * data/evince-properties.glade: Change the label to be ellipsized, and give it a minimum size. 2005-06-19 Nickolay V. Shmyrev * lib/ev-file-helpers.c: (ev_file_helpers_shutdown): * shell/ev-sidebar-links.c: (create_loading_model): * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose): * shell/ev-view.c: (ev_view_set_document): * shell/ev-window.c: (ev_window_dispose): Various small fixes, mostly memory leaks. Thanks to valgrind. 2005-06-19 Martin Kretzschmar * ps/ps-document.c: remove the locale.h include again ;-). And kill the (bogus) setlocale/savelocale business. 2005-06-19 Jaap A. Haitsma * ps/ps-document.c: Include locale.h to fix build * shell/ev-sidebar.c: Remove unnecessary includes 2005-06-19 Nickolay V. Shmyrev * dvi/dvi-document.c: (dvi_document_load): * dvi/mdvi-lib/dviread.c: (mdvi_init_context): * po/POTFILES.in: Check for incorrect dvi files. Fix parsing dvi on AMD64 platform. Thanks to tester@tester.ca (Olivier Crete). 2005-06-18 Nickolay V. Shmyrev * shell/ev-page-action.c: (match_selected_cb), (display_completion_text), (match_completion), (update_model): * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose), (expand_open_links): * shell/ev-sidebar.c: (ev_sidebar_destroy), (ev_sidebar_menu_item_activate_cb), (ev_sidebar_add_page), (ev_sidebar_set_document): * shell/ev-window.c: (ev_window_xfer_job_cb), (sidebar_widget_model_set), (sidebar_page_main_widget_update_cb): Fixed lot's of memory leaks, for example, memory leak on reload, described in bug 307793. 2005-06-18 Marco Pesenti Gritti * pdf/ev-poppler.cc: * shell/ev-sidebar-thumbnails.c: (clear_range), (add_range), (update_visible_range), (adjustment_changed_cb), (ev_sidebar_thumbnails_fill_model), (ev_sidebar_thumbnails_refresh), (ev_sidebar_tree_selection_changed), (ev_sidebar_icon_selection_changed), (ev_sidebar_thumbnails_use_icon_view), (ev_sidebar_thumbnails_set_document): * shell/ev-sidebar-thumbnails.h: * shell/ev-window.c: (ev_window_cmd_edit_rotate_left), (ev_window_cmd_edit_rotate_right), (ev_window_init): Refresh thumbnails when changing orientation. Not fully working yet becuase of a sidebar bug. Set page orientation to poppler page everywhere. This sucks really need to fix poppler. 2005-06-18 Marco Pesenti Gritti * cut-n-paste/recent-files/egg-recent-view-gtk.c: (egg_recent_view_gtk_new_menu_item), (egg_recent_view_gtk_set_property), (egg_recent_view_gtk_get_property), (egg_recent_view_gtk_class_init), (egg_recent_view_gtk_init), (egg_recent_view_gtk_set_tooltip_func), (egg_recent_view_gtk_set_label_width), (egg_recent_view_gtk_get_label_width): * cut-n-paste/recent-files/egg-recent-view-gtk.h: Sync with libegg (ellipsize labels) 2005-06-18 Nickolay V. Shmyrev * data/evince-ui.xml: * shell/ev-window.c: (ev_window_cmd_go_forward), (ev_window_cmd_go_backward): Shift + PageUp moves 10 Pages. Fix for 306125 2005-06-17 Marco Pesenti Gritti * pdf/ev-poppler.cc: Add a flag to check if orientation has been overriden 2005-06-17 Martin Kretzschmar * ps/ps.c (psscan, psfree): read "Creator:" comment, free creator field if necessary. * ps/ps.h: add creator field to document. * ps/ps-document.c (ps_document_get_info): set format to PostScript, set creator field. 2005-06-17 Marco Pesenti Gritti * data/evince-properties.glade: * shell/ev-properties.c: (ev_properties_set_document): s/PDF Version/Format 2005-06-17 Marco Pesenti Gritti * shell/ev-properties.c: (ev_properties_set_document): Remove unnecessary translations 2005-06-17 Marco Pesenti Gritti * cut-n-paste/toolbar-editor/Makefile.am: Correct library name 2005-06-17 Marco Pesenti Gritti * configure.ac: * cut-n-paste/recent-files/egg-recent-model.c: (egg_recent_model_write_raw), (egg_recent_model_lock_file), (egg_recent_model_unlock_file): * cut-n-paste/recent-files/egg-recent-util.c: (egg_recent_util_get_unique_id): * cut-n-paste/recent-files/update-from-egg.sh: * cut-n-paste/toolbar-editor/Makefile.am: * cut-n-paste/toolbar-editor/egg-editable-toolbar.c: * cut-n-paste/toolbar-editor/egg-editable-toolbar.h: * cut-n-paste/toolbar-editor/egg-toolbar-editor.c: * cut-n-paste/toolbar-editor/egg-toolbars-model.c: (egg_toolbars_model_get_type): * cut-n-paste/toolbar-editor/egg-toolbars-model.h: Better makefile for toolbar editor and update everything to latest libegg. 2005-06-17 Marco Pesenti Gritti * shell/ev-window.c: (update_document_mode): Prefer presentation mode when the document require fullscreen. 2005-06-17 Marco Pesenti Gritti * data/evince-ui.xml: * shell/ev-window.c: Add control-equal for zooming 2005-06-17 Theppitak Karoonboonyanan * configure.ac: Added 'th' (Thai) to ALL_LINGUAS. 2005-06-16 Marco Pesenti Gritti * backend/ev-document.c: (ev_document_get_orientation): * backend/ev-document.h: * pdf/ev-poppler.cc: * ps/ps-document.c: (ps_document_get_orientation), (ps_document_set_orientation), (ps_document_document_iface_init): Add a get_orientation api. Improve set_orientation. * data/evince-ui.xml: * shell/ev-view.c: (ev_view_set_orientation), (ev_view_rotate_right), (ev_view_rotate_left): * shell/ev-view.h: * shell/ev-window.c: (ev_window_cmd_edit_rotate_left), (ev_window_cmd_edit_rotate_right): Better ui for changing document orientation 2005-06-16 Nickolay V. Shmyrev * shell/ev-sidebar-links.c: (ev_sidebar_links_get_property), (ev_sidebar_links_class_init), (ev_sidebar_links_get_label): * shell/ev-sidebar-links.h: * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type), (ev_sidebar_page_iface_init): * shell/ev-sidebar-page.h: * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_get_property), (ev_sidebar_thumbnails_class_init), (ev_sidebar_thumbnails_set_document): * shell/ev-sidebar-thumbnails.h: * shell/ev-view.c: (ev_view_motion_notify_event): * shell/ev-window.c: (update_chrome_visibility), (ev_window_cmd_focus_page_selector), (ev_window_update_fullscreen_popup), (view_actions_focus_in_cb), (sidebar_page_main_widget_update_cb), (ev_window_init): Autoraise toolbar on GoToPage binding and fix bindings in EvSidebarThumbnails page. 2005-06-15 Christian Persch * shell/ev-properties.c: (update_progress_label): Hide the progress label when finished; bug #307697. 2005-06-15 Marco Pesenti Gritti * pdf/ev-poppler.cc: Enable is_open for links, you will need poppler cvs * shell/ev-properties.c: (job_fonts_finished_cb): Get a lock on the document when filling the tree view 2005-06-15 Marco Pesenti Gritti * backend/ev-document-links.h: * pdf/ev-poppler.cc: * shell/ev-sidebar-links.c: (create_loading_model), (expand_open_links), (job_finished_callback): Expand links when specified by the document. Depend on a poppler api (defined out for now) 2005-06-15 Marco Pesenti Gritti * shell/ev-properties.c: (ev_properties_dispose), (ev_properties_class_init), (dialog_destroy_cb), (ev_properties_init), (job_fonts_finished_cb), (setup_fonts_view), (ev_properties_set_document), (ev_properties_new), (ev_properties_show): * shell/ev-properties.h: Make it an object, cleanup the code, api to show it as transient and to set the document. * shell/ev-window.c: (ev_window_setup_document), (ev_window_cmd_file_properties): Adapt to EvProperties changes, do not show multiple times, update it when document changes. 2005-06-14 Marco Pesenti Gritti * ps/gstypes.h: * ps/ps-document.c: (ps_document_init), (get_page_orientation), (ps_document_set_orientation), (ps_document_document_iface_init): * ps/ps-document.h: Implement orientation here too * shell/ev-properties.c: (ev_properties_new): * data/evince-properties.glade: Hide the fonts page for backends that doesnt support it. 2005-06-14 Marco Pesenti Gritti * backend/ev-document.c: (ev_document_set_orientation): * backend/ev-document.h: * pdf/ev-poppler.cc: Add orientation api. Currently poppler api is not optimal, we need to set orientation every time we _get a page. I will try to fix that at some point. * data/evince-ui.xml: * shell/ev-window.c: (ev_window_cmd_edit_landscape), (ev_window_cmd_edit_portrait), (ev_window_cmd_edit_flip): Add orientation menu items * shell/ev-page-cache.c: (ev_page_cache_clear): * shell/ev-page-cache.h: Add api to clear the cache * shell/ev-view.c: (setup_caches), (clear_caches), (ev_view_set_document), (ev_view_zoom_out), (ev_view_set_orientation): * shell/ev-view.h: Implement orientation changing 2005-06-13 Marco Pesenti Gritti * backend/ev-document-fonts.c: (ev_document_fonts_get_progress), (ev_document_fonts_scan), (ev_document_fonts_fill_model): * backend/ev-document-fonts.h: Separate scan and fill so that we can incrementally fill from the main thread. Add a progress api. * data/evince-properties.glade: * pdf/ev-poppler.cc: * shell/ev-jobs.c: (ev_job_fonts_new), (ev_job_fonts_run): * shell/ev-jobs.h: * shell/ev-properties.c: (update_progress_label), (job_fonts_finished_cb), (setup_fonts_view): Incrementally feel the list and show the progress percentage in a label like acrobat does. You are going to need poppler cvs 2005-06-11 Marco Pesenti Gritti * backend/ev-document-fonts.c: (ev_document_fonts_fill_model): * backend/ev-document-fonts.h: * pdf/ev-poppler.cc: Make fonts model fill incrementally. * shell/ev-job-queue.c: (handle_job), (search_for_jobs_unlocked), (no_jobs_available_unlocked), (ev_job_queue_init), (find_queue), (ev_job_queue_remove_job): * shell/ev-jobs.c: (ev_job_fonts_init), (ev_job_fonts_class_init), (ev_job_fonts_new), (ev_job_fonts_run): * shell/ev-jobs.h: New job for fonts scanning * shell/ev-properties.c: (job_fonts_finished_cb), (fill_fonts_treeview), (setup_fonts_view), (ev_properties_new): * shell/ev-properties.h: * shell/ev-window.c: (ev_window_cmd_file_properties): Incrementally feel the treeview using the new job. Show Loading... message until scanning is completed. Hopefully I didnt break the build without the poppler patch. 2005-06-10 Nickolay V. Shmyrev * shell/ev-application.c: (ev_application_open): * shell/ev-document-types.c: (ev_document_type_from_from_mime), (ev_document_type_get_type), (ev_document_type_lookup): * shell/ev-document-types.h: * shell/ev-job-xfer.c: (ev_job_xfer_dispose), (ev_job_xfer_run): * shell/ev-job-xfer.h: * shell/ev-window.c: (ev_window_clear_local_uri), (ev_window_load_job_cb), (ev_window_xfer_job_cb), (ev_window_open_uri), (ev_window_add_recent), (ev_window_dispose): * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get): Transfer remote documents to tmp directory to display them later. 2005-06-10 Marco Pesenti Gritti * backend/ev-document-info.h: * shell/ev-properties.c: (ev_properties_new): s/GTime*/GTime. Not sure why we was using a pointer at all there! Wed Jun 8 01:04:22 2005 Jonathan Blandford * shell/ev-sidebar-thumbnails.c: Use a GtkIconView in certain situations. That situation is that you're using GTK+-HEAD with the patch at #306726 is applied, and you have a document with < 1500 pages in it. It's not quite as uniformly nice as the TreeView, but should be better in the long run. I'm pretty sure I guarded against breaking compilation with HAVE_GTK_ICON_VIEW_GET_VISIBLE_RANGE gaurds, though it's possible I missed some. * shell/ev-window.c (ev_window_init): We don't have our tree/list widget yet, so I commented that code out enable_view_actions_for_widget() for now. Need to figure this out. * shell/ev-page-action.c (match_selected_cb): emit the right signals. Our cool C-l completion now works. 2005-06-08 Nickolay V. Shmyrev * backend/Makefile.am: * backend/ev-document-fonts.c: * backend/ev-document-links.c: * backend/ev-document.c: (ev_document_load): * backend/ev-document.h: * backend/ev-job-queue.c: * backend/ev-job-queue.h: * backend/ev-jobs.c: * backend/ev-jobs.h: * backend/ev-page-cache.c: * backend/ev-page-cache.h: EvPageCache and EvJobs are moved to shell. * lib/ev-file-helpers.c: (ev_file_helpers_shutdown), (ev_tmp_filename): * lib/ev-file-helpers.h: New helper to work with temporary files * shell/Makefile.am: * shell/ev-application.c: (ev_application_open): * shell/ev-application.h: * shell/ev-job-queue.c: (remove_job_from_queue_locked), (remove_job_from_async_queue), (add_job_to_async_queue), (add_job_to_queue_locked), (notify_finished), (job_finished_cb), (handle_job), (search_for_jobs_unlocked), (no_jobs_available_unlocked), (ev_render_thread), (ev_job_queue_run_next), (ev_job_queue_init), (find_queue), (ev_job_queue_add_job), (move_job_async), (move_job), (ev_job_queue_update_job), (ev_job_queue_remove_job): * shell/ev-job-queue.h: * shell/ev-job-xfer.c: (ev_job_xfer_init), (ev_job_xfer_dispose), (ev_job_xfer_class_init), (ev_job_xfer_new), (ev_job_xfer_run): * shell/ev-job-xfer.h: * shell/ev-jobs.c: (ev_job_init), (ev_job_dispose), (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose), (ev_job_links_class_init), (ev_job_render_init), (ev_job_render_dispose), (ev_job_render_class_init), (ev_job_thumbnail_init), (ev_job_thumbnail_dispose), (ev_job_thumbnail_class_init), (ev_job_load_init), (ev_job_load_dispose), (ev_job_load_class_init), (ev_job_finished), (ev_job_links_new), (ev_job_links_run), (ev_job_render_new), (render_finished_cb), (ev_job_render_run), (ev_job_thumbnail_new), (ev_job_thumbnail_run), (ev_job_load_new), (ev_job_load_run): * shell/ev-jobs.h: * shell/ev-page-action.c: (ev_page_action_set_document): * shell/ev-page-cache.c: (ev_page_cache_init), (ev_page_cache_class_init), (ev_page_cache_finalize), (ev_page_cache_new), (ev_page_cache_get_n_pages), (ev_page_cache_get_current_page), (ev_page_cache_set_current_page), (ev_page_cache_set_page_label), (ev_page_cache_set_link), (ev_page_cache_get_title), (ev_page_cache_get_size), (ev_page_cache_get_max_width), (ev_page_cache_get_max_height), (ev_page_cache_get_height_to_page), (ev_page_cache_get_max_label_chars), (ev_page_cache_get_page_label), (ev_page_cache_has_nonnumeric_page_labels), (ev_page_cache_get_info), (ev_page_cache_next_page), (ev_page_cache_prev_page), (ev_page_cache_get): * shell/ev-page-cache.h: * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_update_range), (ev_pixbuf_cache_clear_job_sizes), (ev_pixbuf_cache_add_jobs_if_needed), (ev_pixbuf_cache_set_page_range): * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings): * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document): * shell/ev-sidebar-thumbnails.c: (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_set_document): * shell/ev-statusbar.c: (ev_statusbar_destroy), (ev_statusbar_class_init), (ev_statusbar_init), (ev_statusbar_new), (ev_statusbar_get_context_id), (ev_statusbar_push), (ev_statusbar_pop), (ev_statusbar_set_maximized), (ev_statusbar_pulse), (ev_statusbar_show_progress), (ev_statusbar_set_progress): * shell/ev-statusbar.h: * shell/ev-view.c: (ev_view_set_document), (ev_view_find_next), (ev_view_find_previous): * shell/ev-window.c: (ev_window_is_empty), (ev_window_setup_document), (password_dialog_response), (ev_window_clear_jobs), (ev_window_load_job_cb), (ev_window_xfer_job_cb), (ev_window_open_uri), (ev_window_open_uri_list), (ev_window_cmd_recent_file_activate), (ev_window_print), (ev_window_print_range), (ev_window_state_event), (ev_window_cmd_view_reload), (menu_item_select_cb), (menu_item_deselect_cb), (view_status_changed_cb), (ev_window_dispose), (drag_data_received_cb), (ev_window_init): * shell/ev-window.h: * shell/main.c: (load_files): New statusbar to show progress on idle. Two new jobs - xfer job and load job to load document in background. And update of page_cache clients to new location of code. 2005-06-08 Carlos Garcia Campos * shell/ev-application.c, shell/ev-window.[ch]: Allow multiple selection in open dialog. It also remembers the last visited directory in the current session. 2005-06-08 Nickolay V. Shmyrev * shell/ev-properties.c: (ev_properties_new): * shell/ev-properties.h: * shell/ev-window.c: (ev_window_cmd_file_properties): Get document info from page cache instead of document itself. This should fix crash related to race conditions described in bug 306545. 2005-06-07 Marco Pesenti Gritti * ps/ps-document.c: (ps_document_init), (send_ps), (get_page_box), (output), (catchPipe), (input), (stop_interpreter), (file_length), (file_readable), (check_filecompressedb), (ps_document_enable_interpreter), (document_load), (ps_async_renderer_render_pixbuf): * ps/ps-document.h: Big cleanup of the ps code 2005-06-07 Marco Pesenti Gritti * backend/Makefile.am: * backend/ev-async-renderer.c: (ev_async_renderer_get_type), (ev_async_renderer_class_init), (ev_async_renderer_render_pixbuf): * backend/ev-async-renderer.h: Add an async renderer interface (method + callback) which is useful for backends like ps. * backend/ev-job-queue.c: (remove_job_from_async_queue), (add_job_to_async_queue), (job_finished_cb), (handle_job), (ev_job_queue_run_next), (ev_job_queue_init), (find_queue), (ev_job_queue_add_job), (move_job_async), (move_job), (ev_job_queue_update_job), (ev_job_queue_remove_job): Add queues for async renderer, these are executed on the main thread. * backend/ev-jobs.c: (ev_job_render_new), (render_finished_cb), (ev_job_render_run): * backend/ev-jobs.h: If the backend support async renderer interface use it. * ps/ps-document.c: (ps_document_init), (push_pixbuf), (setup_pixmap), (ps_document_get_type), (ps_async_renderer_render_pixbuf), (ps_document_document_iface_init), (ps_async_renderer_iface_init): Implement async renderer interface. 2005-06-07 Nickolay V. Shmyrev * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose): Cleanup links job on exit. 2005-06-07 Nickolay V. Shmyrev * cut-n-paste/toolbar-editor/egg-editable-toolbar.c: (drag_data_get_cb), (drag_data_received_cb): * cut-n-paste/toolbar-editor/egg-toolbar-editor.c: (drag_data_get_cb), (parse_item_list), (egg_toolbar_editor_load_actions): * cut-n-paste/toolbar-editor/egg-toolbars-model.c: (egg_toolbars_model_to_xml), (egg_toolbars_model_save), (parse_item_list), (parse_toolbars): * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule), (dvi_pixbuf_put_pixel): Fix gcc 4.0 warnings 2005-06-06 Marco Pesenti Gritti * ps/ps-document.c: (start_interpreter): Fix warning when loading ps 2005-06-06 Marco Pesenti Gritti * ps/ps-document.c: (output): Fix crash when priting gs error messages. 2005-06-06 Marco Pesenti Gritti * backend/ev-page-cache.c: (_ev_page_cache_new): * backend/ev-page-cache.h: Use a const to return title so that we dont double free it. Small cleanup and fix a leak. * shell/ev-window.c: (update_window_title): strdup value from get_title. 2005-06-06 Marco Pesenti Gritti * shell/ev-sidebar-links.c: (job_finished_callback), (ev_sidebar_links_set_document): Cleanup the old job when changing document 2005-06-05 Nickolay V. Shmyrev * shell/ev-stock-icons.c: * shell/ev-stock-icons.h: * shell/ev-window.c: Add stock icons for actions that can appear in toolbar. Fix for bug 306566. 2005-06-05 Nickolay V. Shmyrev * backend/ev-page-cache.c: (ev_page_cache_finalize), (_ev_page_cache_new), (ev_page_cache_get_max_width), (ev_page_cache_get_max_height), (ev_page_cache_get_height_to_page): * backend/ev-page-cache.h: * shell/ev-view.c: (scroll_to_current_page), (view_update_range_and_current_page), (get_page_y_offset), (get_page_extents), (ev_view_size_request_continuous_dual_page), (ev_view_size_request_continuous), (ev_view_zoom_for_size_continuous_and_dual_page), (ev_view_zoom_for_size_continuous): More compact EvView layout in document with pages of different size. Sat Jun 4 19:20:57 2005 Jonathan Blandford * shell/ev-window.c (ev_window_cmd_file_properties): fix compilation. 2005-06-05 Nickolay V. Shmyrev * shell/ev-view.c: (view_set_adjustment_values): * shell/ev-window.c: (ev_window_cmd_file_properties): A bit different fix for rounding problem but it has no problems on startup. Make properties window transient to parent. 2005-06-04 Nickolay V. Shmyrev * pdf/ev-poppler.cc: More commenting of font stuff. 2005-06-04 Marco Pesenti Gritti * pdf/ev-poppler.cc: Comment out some more fonts stuff. Should really work without the poppler patch now. 2005-06-04 Marco Pesenti Gritti * pdf/ev-poppler.cc: Adapt to api change 2005-06-04 Marco Pesenti Gritti * data/evince-properties.glade: * pdf/ev-poppler.cc: * shell/ev-properties.c: (setup_fonts_view): Set the column title. Show the dialog only once everything is setup. Getting font info can be very slow... will prolly need to make this threaded too. 2005-06-04 Marco Pesenti Gritti * backend/Makefile.am: * backend/ev-document-fonts.c: (ev_document_fonts_get_type), (ev_document_fonts_get_fonts_model): * backend/ev-document-fonts.h: * data/evince-properties.glade: * pdf/ev-poppler.cc: * shell/ev-properties.c: (setup_fonts_view), (ev_properties_new): * shell/ev-properties.h: * shell/ev-window.c: (ev_window_cmd_file_properties): Implement fonts list. Defined out for now, since it depends on a not yet committed poppler patch. Fri Jun 3 21:07:57 2005 Jonathan Blandford * shell/ev-view.c (get_page_extents): other_page isn't necessarily page + 1. * shell/ev-window.c: Make sure we add the timeout when we get a focus-in event. * shell/ev-view.c (view_set_adjustment_values): Add 0.5 to adjustment->value before calculating the zoom factor to average out all of our rounding errors. The page no longer 'drifts' when resizing. 2005-06-04 Nickolay V. Shmyrev * data/evince-properties.glade: * shell/ev-properties.c: (ev_properties_format_date), (set_property): Labels don't expand when the dialogue is resized. strftime result needs to be converted to UTF-8. Thanks to Christian Persch . 2005-06-04 Marco Pesenti Gritti * data/evince-properties.glade: Hide the fonts tab 2005-06-04 Marco Pesenti Gritti * backend/ev-document-info.h: * backend/ev-document.c: (ev_document_info_free): * data/evince-properties.glade: * pdf/ev-poppler.cc: * ps/ps-document.c: (ps_document_get_info): * shell/ev-properties.c: (ev_properties_format_date), (set_property), (ev_properties_new): * shell/ev-properties.h: * shell/ev-window.c: (ev_window_cmd_file_properties): Rework properties code to take only EvPropertyInfo in the constructor so that it can be useful for nautilus plugin too. Deal with backends that doesnt support some properties. Make set property code generic. 2005-06-04 Christian Persch * data/evince-properties.glade: fix spacings, make resizeable, and make data labels selectable + ellipsised 2005-06-03 Marco Pesenti Gritti * backend/ev-document-info.h: * data/Makefile.am: * data/evince-ui.xml: * pdf/ev-poppler.cc: * shell/Makefile.am: * shell/ev-window.c: (update_action_sensitivity), (ev_window_cmd_file_properties): Initial go at file properties. Patch by Emil Soleyman-Zomalan . Needs love see #169583 2005-06-02 Marco Pesenti Gritti * ps/ps-document.c: (output): * ps/ps.c: (psscan): Try to render even if psscan fails. 2005-06-01 Marco Pesenti Gritti * ps/ps.c: (psscan), (pscopydoc): Port buffered reading code from gv 2005-06-01 Marco Pesenti Gritti * ps/ps-document.c: (interpreter_message), (output): Do not fail on interpreter messages 2005-06-01 Marco Pesenti Gritti * backend/ev-document-misc.c: (ev_document_misc_get_thumbnail_frame): Pages can be 0 x 0, dont assert on this case 2005-05-31 Marco Pesenti Gritti * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose), (ev_sidebar_links_class_init), (ev_sidebar_links_set_document): Correctly manage our reference on document. Finally the reload huge leak is gone... 2005-05-31 Marco Pesenti Gritti * ps/ps-document.c: (ps_document_dispose): Forgot to chain it to the parent. Thanks chpe. 2005-05-31 Marco Pesenti Gritti * ps/ps-document.c: (ps_document_dispose), (ps_document_class_init), (stop_interpreter), (document_load): Cleanup dispose a bit. Dont leak the whole pixmap. 2005-05-31 Marco Pesenti Gritti * pdf/ev-poppler.cc: Release the poppler document on dispose 2005-05-31 Marco Pesenti Gritti * shell/ev-view.c: (ev_view_set_document): Release ref on the pixbuf cache when changing document. 2005-05-31 Marco Pesenti Gritti * ps/ps-document.c: (ps_document_get_info): Fix a double free 2005-05-31 Nikolay V. Shmyrev * backend/ev-page-cache.c: (ev_page_cache_init), (_ev_page_cache_new), (ev_page_cache_get_max_label_chars): * backend/ev-page-cache.h: * shell/ev-page-action.c: (page_changed_cb): Set page action entry width depending on labels width. Fix for bug 305202. 2005-05-31 Marco Pesenti Gritti * backend/ev-link.c: (ev_link_class_init): Allow -1 as page value (error) 2005-05-31 Marco Pesenti Gritti * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_set_document): * shell/ev-view.c: (scroll_to_current_page), (view_set_adjustment_values), (ev_view_set_scroll_adjustments), (page_changed_cb), (on_adjustment_value_changed), (ev_view_set_document): Slightly modified patch by Nickolay V. Shmyrev . Fix bug 305377 2005-05-29 Nickolay V. Shmyrev * configure.ac: * djvu/djvu-document.c: (djvu_document_get_page_size): Require djvulibre CVS. Now djvu loading is much faster. Fix for bug 301993. Sat May 28 07:38:03 2005 Jonathan Blandford * shell/ev-view.c (draw_one_page): modify the expose handling to get the shadows. * shell/ev-window.c (update_action_sensitivity): Respect permissions field. Kowtow to the man. * pdf/ev-poppler.cc: Get the permissions field. * tiff/*c: Make a tiny bit more robust. 2005-05-26 Nickolay V. Shmyrev * djvu/djvu-document.c: Pop messages from djvu context message queue. 2005-05-24 Nickolay V. Shmyrev * configure.ac, Makefile.am, shell/Makefile.am: * tiff/Makefile.am, shell/ev-document-types.c: Cleanup tiff configure checks. Fix for bug 305218. 2005-05-24 Maxim V. Dziumanenko * configure.ac: Added "uk" to ALL_LINGUAS. 2005-05-22 Nickolay V. Shmyrev * cut-n-paste/zoom-control/ephy-zoom.c: (ephy_zoom_get_changed_zoom_level): * cut-n-paste/zoom-control/ephy-zoom.h: * shell/ev-view.c: (ev_view_scroll_event), (ev_view_set_property), (ev_view_get_property), (ev_view_class_init), (ev_view_set_zoom): * shell/ev-window.c: (ev_window_cmd_view_zoom_in), (ev_window_cmd_view_zoom_out), (ev_window_zoom_changed_cb), (zoom_control_changed_cb), (ev_window_init): Fix minor points related to moving best fit up. Introduce "zoom" property and make zoom control change it's value on notify::zoom signals. Fix for 305080. 2005-05-22 Nickolay V. Shmyrev * data/evince-ui.xml: * shell/ev-window.c: (set_view_actions_sensitivity): Use + and - as accels for zoom in and zoom out. Fix for 305001. 2005-05-22 Marco Pesenti Gritti * configure.ac: Depends on poppler 0.3.2 2005-05-22 Marco Pesenti Gritti * cut-n-paste/recent-files/egg-recent-item.c: (egg_recent_item_get_short_name): * cut-n-paste/toolbar-editor/Makefile.am: * cut-n-paste/toolbar-editor/egg-editable-toolbar.c: (new_pixbuf_from_widget): * cut-n-paste/toolbar-editor/egg-editable-toolbar.h: * cut-n-paste/toolbar-editor/egg-marshal.c: * cut-n-paste/toolbar-editor/egg-toolbar-editor.c: * cut-n-paste/toolbar-editor/egg-toolbars-model.c: Sync Sat May 21 23:18:30 2005 Jonathan Blandford * tiff/tiff-document.c: Rough TIFF backend. 2005-05-21 Marco Pesenti Gritti * NEWS: * configure.ac: * cut-n-paste/toolbar-editor/Makefile.am: Release 0.3.1 2005-05-21 Marco Pesenti Gritti * shell/ev-view.c: (jump_to_find_result), (ev_view_can_find_next), (ev_view_find_next), (ev_view_find_previous): Remove the locks around get_n_results 2005-05-21 Juerg Billeter * pdf/ev-poppler.c: (pdf_document_ps_exporter_begin): Pass correct number of pages to poppler. 2005-05-21 Nickolay V. Shmyrev * configure.ac: * data/Makefile.am: * data/evince.desktop.in: * data/evince.desktop.in.in: * po/POTFILES.in: Add conditionally dvi and djvu to desktop types. Fix for 304658. Sat May 21 00:21:30 2005 Jonathan Blandford * shell/ev-view.c: (view_update_adjustments), (view_set_adjustment_values): cast adjustmen->value to (int) before using it. Otherwise, we get off by a pixel in some situations. (draw_one_page): Draw the border on expose. Fri May 20 22:05:25 2005 Jonathan Blandford * *shell/ev-view.c: Patch from Nickolay V. Shmyrev to reset the adjustment when the mode changes, #304923 Fri May 20 02:00:03 2005 Nickolay V. Shmyrev * shell/ev-view.c: Use gdk_widget_queue_draw to remove flickering on resize but still use gdk_window_scroll on scrolling Fri May 20 01:46:57 2005 Jonathan Blandford * shell/ev-view.c: Patch from Nickolay Shmyrev to fix the -p option, #170458 Fri May 20 01:27:01 2005 Jonathan Blandford * shell/ev-view.c: Patch from Nickolay Shmyrev to to scroll to second page on page_changed if possible, #304669 Fri May 20 01:07:15 2005 Jonathan Blandford * shell/ev-view.c (view_update_adjustments): Use gdk_window_scroll instead of gtk_widget_queue_draw. Massive speedups in scrolling. Fri May 20 01:05:10 2005 Jonathan Blandford * .cvsignore: * shell/ev-view.c:(ev_view_size_allocate), (ev_view_class_init), (zoom_for_size_fit_width), (zoom_for_size_best_fit), (ev_view_zoom_for_size_presentation), (ev_view_zoom_for_size_continuous_and_dual_page), (ev_view_zoom_for_size_continuous), (ev_view_zoom_for_size_dual_page), (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size): * shell/ev-view.h: * shell/ev-window.c: (update_view_size), (ev_window_sizing_mode_changed_cb): Patch from Nickolay Shmyrev to handle the scrollbars. It's not 100% right, but it's much closer. Kills an infinite loop, #304769 2005-05-18 Marco Pesenti Gritti * data/evince-ui.xml: * shell/ev-view.c: (ev_view_scroll_view), (ev_view_class_init): * shell/ev-window.c: (set_view_actions_sensitivity): Make PgUp/Down behave like Space 2005-05-18 Marco Pesenti Gritti * backend/ev-ps-exporter.c: (ev_ps_exporter_begin): * backend/ev-ps-exporter.h: * pdf/ev-poppler.cc: * ps/ps-document.c: (ps_document_ps_export_begin): * shell/ev-print-job.c: (idle_print_handler): Adapt to new poppler api 2005-05-18 Marco Pesenti Gritti * cut-n-paste/zoom-control/ephy-zoom-control.c: (ephy_zoom_control_init): Translate zoom levels 2005-05-18 Marco Pesenti Gritti * cut-n-paste/zoom-control/ephy-zoom.c: (ephy_zoom_get_zoom_level_index): Fix current zoom -> zoom control match 2005-05-18 James Bowes * shell/ev-window.c: (ev_window_init): Give focus to the ev-view, rather than the scrolled_window that it's in. Fixes bug #304655. Tue May 17 22:54:17 2005 Jonathan Blandford * shell/ev-view.c: (view_update_adjustments), (view_set_adjustment_values), (view_update_range_and_current_page), (view_scroll_to_page), (set_scroll_adjustment), (ev_view_set_scroll_adjustments), (add_scroll_binding_keypad), (ev_view_scroll), (ev_view_scroll_view), (ensure_rectangle_is_visible), (find_page_at_location), (get_link_at_location), (go_to_link), (status_message_from_link), (ev_view_size_request_continuous_dual_page), (ev_view_size_request), (ev_view_size_allocate), (ev_view_realize), (ev_view_unrealize), (ev_view_expose_event), (ev_view_button_press_event), (ev_view_motion_notify_event), (ev_view_button_release_event), (ev_gdk_color_to_rgb), (draw_rubberband), (highlight_find_results), (draw_one_page), (ev_view_finalize), (ev_view_destroy), (ev_view_class_init), (ev_view_init), (find_changed_cb), (page_changed_cb), (on_adjustment_value_changed), (ev_view_new), (ev_view_set_document), (ev_view_set_zoom), (ev_view_set_continuous), (ev_view_set_dual_page), (ev_view_set_presentation), (ev_view_zoom_in), (ev_view_zoom_out), (zoom_for_size_fit_width), (zoom_for_size_best_fit), (ev_view_zoom_for_size_presentation), (ev_view_zoom_for_size_continuous_dual_page), (ev_view_zoom_for_size_continuous), (ev_view_zoom_for_size_dual_page), (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size), (ev_view_get_status), (ev_view_set_status), (update_find_status_message), (ev_view_get_find_status), (ev_view_set_find_status), (jump_to_find_result), (jump_to_find_page), (compute_selections), (clear_selection), (ev_view_select_all), (get_selected_text), (ev_view_copy), (ev_view_primary_get_cb), (ev_view_primary_clear_cb), (ev_view_update_primary_selection), (ev_view_create_invisible_cursor), (ev_view_set_cursor): * shell/ev-view.h: * shell/ev-window.c: (ev_window_open_page_label), (ev_window_cmd_view_reload), (ev_window_sizing_mode_changed_cb), (ev_window_init): * shell/ev-window.h: * shell/main.c: (load_files): Massive code clean up from Nickolay Shmyrev. Keep page offset when resizing. Remove the bin_window(). Also, patch from James Bowes to fix command line page, #300641 2005-05-17 Marco Pesenti Gritti * data/evince-ui.xml: * shell/ev-view.c: * shell/ev-view.h: * shell/ev-window.c: (update_action_sensitivity): Get rid of View->Normal Size, it's just confusing Tue May 17 00:51:21 2005 Jonathan Blandford * backend/ev-document-info.h: * backend/ev-document.c: (ev_document_info_free): Free the EvDocumentInfo. * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose), (clear_range), (add_range), (update_visible_range), (adjustment_changed_cb), (ev_sidebar_thumbnails_init), (ev_sidebar_thumbnails_set_document): * shell/ev-window.c: (ev_window_setup_document): Only render the visible thumbnails. It takes an instant to render, but it uses much less memory. 2005-05-16 Marco Pesenti Gritti * shell/ev-sidebar-links.c: (popup_menu_cb): Select first item 2005-05-16 Marco Pesenti Gritti * lib/Makefile.am: * shell/ev-sidebar-links.c: (build_popup_menu), (popup_menu_cb), (button_press_cb), (ev_sidebar_links_construct): Show the popup menu also on keybindings 2005-05-16 Marco Pesenti Gritti * shell/ev-window.c: (ev_window_print), (ev_window_print_range): * shell/ev-window.h: Expose api to print a range (with dialog). Make private _print use it. * shell/ev-sidebar-links.c: (print_section_cb), (button_press_cb), (ev_sidebar_links_construct): Show a print context menu on linkx, it prints the selected section. 2005-05-15 Carlos Garcia Campos * shell/ev-sidebar.c: make the drop down menu as width as the toggle button. 2005-05-12 Marco Pesenti Gritti * AUTHORS: Update * shell/ev-window.c: (build_comments_string), (ev_window_cmd_help_about): Show poppler version/backend and authors 2005-05-11 Marco Pesenti Gritti * cut-n-paste/zoom-control/ephy-zoom.c: (ephy_zoom_get_zoom_level_index): * cut-n-paste/zoom-control/ephy-zoom.h: Move the best fit items at the top of the list 2005-05-11 Marco Pesenti Gritti * shell/ev-marshal.list: * shell/ev-page-action.c: (ev_page_action_widget_class_init), (activate_cb), (match_selected_cb), (activate_link_cb), (connect_proxy), (ev_page_action_class_init): * shell/ev-page-action.h: Use signals to notify action activation. Hopefully I did not break completion since I cant test... * shell/ev-window.c: (activate_link_cb), (activate_label_cb), (register_custom_actions): Connect to page selector actions and also grab focus on the view when activated. Wed May 11 01:18:29 2005 Jonathan Blandford * pdf/ev-poppler.cc: * backend/ev-page-cache.c: make page size calculation consistent and set it to (int)( width * scale + 0.5). This makes the weird line going through the middle of the page go away. * shell/ev-view.c: move painting the background page after checking the expose area covers us. 2005-05-11 Nickolay V. Shmyrev * data/evince-password.glade: Mark labels as not translatable. Fix for bug 302842. 2005-05-10 Francisco Javier F. Serrador * configure.ac: Added "es" to ALL_LINGUAS. 2005-05-10 Marco Pesenti Gritti * data/evince-toolbar.xml: * shell/ev-window.c: (update_action_sensitivity), (ev_window_setup_document), (ev_window_set_page_mode), (ev_window_init): Remove some leftover code from jrb first continous attempt. Use the new actions, we still need good icons though... 2005-05-10 Marco Pesenti Gritti * shell/ev-page-action.c: (update_pages_label), (connect_proxy): Update label when connecting proxy. Fix a warning with NULL page_cache. 2005-05-10 Marco Pesenti Gritti * data/evince-ui.xml: * shell/ev-page-action.c: (ev_page_action_grab_focus): * shell/ev-page-action.h: * shell/ev-window.c: (ev_window_cmd_focus_page_selector): Add mnemonic for edit toolbar. ctrl+l focus the page entry. 2005-05-10 Marco Pesenti Gritti * lib/Makefile.am: * shell/ev-window.c: (ev_window_cmd_edit_toolbar_cb), (ev_window_init): * shell/main.c: (main): Put the toolbar xml in evince own dot dir 2005-05-10 Marco Pesenti Gritti * shell/ev-window.c: (ev_window_init): Make the toolbar not removable 2005-05-10 Marco Pesenti Gritti * data/evince-ui.xml: * shell/ev-sidebar-links.c: (ev_sidebar_links_get_treeview): * shell/ev-sidebar-links.h: * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_get_treeview): * shell/ev-sidebar-thumbnails.h: * shell/ev-view.c: (ev_view_scroll), (ev_view_scroll_view), (ev_view_class_init): * shell/ev-view.h: * shell/ev-window.c: (update_action_sensitivity), (ev_window_cmd_scroll_forward), (ev_window_cmd_scroll_backward), (set_view_actions_sensitivity), (view_actions_focus_in_cb), (view_actions_focus_out_cb), (enable_view_actions_for_widget), (ev_window_init): This is evil... Make space/backspace global accelerators but enable them only for some widgets (sidebars and view). I dont like it, but I dont know a better way... :/ 2005-05-10 Marco Pesenti Gritti * shell/ev-page-action.c: (ev_page_action_widget_set_page_cache), (ev_page_action_widget_finalize), (ev_page_action_widget_class_init), (update_page_cache): Keep a weak reference on proxy->page_cache so that we dont try to disconnect the signal if the object is already gone. Maybe there is a better way to cleanup reference handling in page action though... 2005-05-10 Juerg Billeter * backend/ev-ps-exporter.c: (ev_ps_exporter_begin): * backend/ev-ps-exporter.h: * pdf/ev-poppler.cc: (pdf_document_ps_exporter_begin): * ps/ps-document.c: (ps_document_ps_export_begin): Change api to pass print range to ps_exporter_begin. The pdf backend requires this information. * shell/ev-print-job.c: (idle_print_handler): Adapt to api change 2005-05-10 Juerg Billeter * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings), (idle_print_handler) * shell/ev-window.c: (ev_window_print): Support printing page range, based on patch by Amaury Jacquot 2005-05-10 Marco Pesenti Gritti * data/evince-toolbar.xml: Add zoom control to available items 2005-05-10 Marco Pesenti Gritti * shell/ev-window.c: (update_action_sensitivity): Set slash action insensitive when appropriate 2005-05-10 Christian Persch * cut-n-paste/zoom-control/ephy-zoom-action.c: (create_menu_item): Fix warning on the overflow menu 2005-05-10 Marco Pesenti Gritti * shell/ev-window.c: (sanity_check_uri), (ev_window_open): Check for uri correctness/existence 2005-05-09 Juerg Billeter * shell/ev-window.c: (using_postscript_printer): LPD printers use postscript, too 2005-05-09 Marco Pesenti Gritti * shell/ev-window.c: (register_custom_actions): The zoom one is actually sort of useful, put it back 2005-05-09 Marco Pesenti Gritti * shell/ev-window.c: (register_custom_actions): Hide page/zoom controls from overflow, they are useless. 2005-05-09 Marco Pesenti Gritti * cut-n-paste/update-from-egg.sh: Share it between all cut-n-paste subdirs * cut-n-paste/recent-files/Makefile.am: Fix to use "global" update-from-egg.sh * cut-n-paste/recent-files/egg-recent-model.c: (egg_recent_model_changed_timeout), (egg_recent_model_finalize): * cut-n-paste/recent-files/egg-recent-view-gtk.c: (egg_recent_view_gtk_clear), (egg_recent_view_gtk_set_list), (egg_recent_view_gtk_finalize), (egg_recent_view_gtk_set_menu): Update from libegg * cut-n-paste/toolbar-editor/Makefile.am: Fix to use "global" update-from-egg.sh * cut-n-paste/toolbar-editor/eggmarshalers.list: Update from libegg 2005-05-09 Marco Pesenti Gritti * configure.ac: * cut-n-paste/Makefile.am: * cut-n-paste/recent-files/Makefile.am: * cut-n-paste/toolbar-editor/.cvsignore: * cut-n-paste/toolbar-editor/Makefile.am: * cut-n-paste/toolbar-editor/egg-editable-toolbar.c: (egg_editable_toolbar_get_type), (get_toolbar_position), (get_n_toolbars), (get_dock_nth), (get_toolbar_nth), (find_action), (drag_data_delete_cb), (drag_begin_cb), (drag_end_cb), (drag_data_get_cb), (set_drag_cursor), (unset_drag_cursor), (set_item_drag_source), (create_item_from_action), (create_item), (data_is_separator), (drag_data_received_cb), (remove_toolbar_cb), (popup_toolbar_context_menu_cb), (free_dragged_item), (toolbar_drag_drop_cb), (toolbar_drag_motion_cb), (toolbar_drag_leave_cb), (create_dock), (set_fixed_style), (unset_fixed_style), (toolbar_changed_cb), (unparent_fixed), (update_fixed), (toolbar_added_cb), (toolbar_removed_cb), (item_added_cb), (item_removed_cb), (egg_editable_toolbar_construct), (egg_editable_toolbar_disconnect_model), (egg_editable_toolbar_deconstruct), (egg_editable_toolbar_set_model), (egg_editable_toolbar_set_ui_manager), (egg_editable_toolbar_set_property), (egg_editable_toolbar_get_property), (egg_editable_toolbar_class_init), (egg_editable_toolbar_init), (egg_editable_toolbar_finalize), (egg_editable_toolbar_new), (egg_editable_toolbar_new_with_model), (egg_editable_toolbar_get_edit_mode), (egg_editable_toolbar_set_edit_mode), (egg_editable_toolbar_show), (egg_editable_toolbar_hide), (egg_editable_toolbar_set_fixed), (egg_editable_toolbar_set_drag_dest), (fake_expose_widget), (new_pixbuf_from_widget), (new_separator_pixbuf), (update_separator_image), (style_set_cb), (_egg_editable_toolbar_new_separator_image), (egg_editable_toolbar_get_model): * cut-n-paste/toolbar-editor/egg-editable-toolbar.h: * cut-n-paste/toolbar-editor/egg-marshal.c: * cut-n-paste/toolbar-editor/egg-toolbar-editor.c: (egg_toolbar_editor_get_type), (compare_actions), (find_action), (egg_toolbar_editor_set_ui_manager), (toolbar_removed_cb), (egg_toolbar_editor_set_model), (egg_toolbar_editor_set_property), (egg_toolbar_editor_get_property), (egg_toolbar_editor_class_init), (egg_toolbar_editor_finalize), (egg_toolbar_editor_new), (drag_begin_cb), (drag_end_cb), (editor_drag_data_received_cb), (editor_drag_data_delete_cb), (drag_data_get_cb), (elide_underscores), (set_drag_cursor), (event_box_realize_cb), (editor_create_item), (update_editor_sheet), (setup_editor), (egg_toolbar_editor_init), (egg_toolbar_editor_add_action), (parse_item_list), (model_has_action), (update_actions_list), (egg_toolbar_editor_load_actions): * cut-n-paste/toolbar-editor/egg-toolbar-editor.h: * cut-n-paste/toolbar-editor/egg-toolbars-model.c: (egg_toolbars_model_get_type), (egg_toolbars_model_to_xml), (safe_save_xml), (egg_toolbars_model_save), (toolbars_toolbar_new), (toolbars_item_new), (free_toolbar_node), (free_item_node), (egg_toolbars_model_get_flags), (egg_toolbars_model_set_flags), (egg_toolbars_model_add_separator), (impl_add_item), (parse_item_list), (egg_toolbars_model_add_toolbar), (parse_toolbars), (egg_toolbars_model_load), (impl_get_item_id), (impl_get_item_data), (impl_get_item_type), (_egg_accumulator_STRING), (egg_toolbars_model_class_init), (egg_toolbars_model_init), (free_toolbar), (egg_toolbars_model_finalize), (egg_toolbars_model_new), (egg_toolbars_model_remove_toolbar), (egg_toolbars_model_remove_item), (egg_toolbars_model_move_item), (egg_toolbars_model_n_items), (egg_toolbars_model_item_nth), (egg_toolbars_model_n_toolbars), (egg_toolbars_model_toolbar_nth), (egg_toolbars_model_add_item), (egg_toolbars_model_get_item_id), (egg_toolbars_model_get_item_data), (egg_toolbars_model_get_item_type): * cut-n-paste/toolbar-editor/egg-toolbars-model.h: * cut-n-paste/toolbar-editor/eggmarshalers.list: * data/Makefile.am: * data/evince-toolbar.xml: * data/evince-ui.xml: * data/hand-open.png: * po/POTFILES.in: * shell/Makefile.am: * shell/ev-window.c: (update_chrome_visibility), (ev_window_cmd_edit_toolbar_cb), (ev_window_cmd_edit_toolbar), (ev_window_dispose), (ev_window_init): Implement epiphany like toolbar editor. Based on patch by Nickolay V. Shmyrev 2005-05-09 Marco Pesenti Gritti * shell/ev-sidebar-thumbnails.c: (page_changed_cb): Use set_cursor instead of set_selection, so that the keyboard focus moves too. 2005-05-09 Aleksey Kliger * dvi/mdvi-lib/tfmfile.c: (lookup_font_metrics): Fix infinite loop when loading Type1 fonts 2005-05-09 Marco Pesenti Gritti * data/evince-ui.xml: * shell/ev-window.c: Slash -> Find 2005-05-09 Thomas de Grenier de Latour * configure.ac: Make --disable really disable 2005-05-07 Juerg Billeter * backend/ev-page-cache.c: (ev_page_cache_set_page_label): Compare page labels even without has_labels set, fixes setting page with entry 2005-05-09 Marco Pesenti Gritti * shell/ev-view.c: (ev_view_create_invisible_cursor), (ev_view_set_cursor), (ev_view_button_press_event), (ev_view_motion_notify_event), (ev_view_button_release_event), (ev_view_init): Implement middle button scrolling. Based on a patch by Tommi Komulainen . 2005-05-08 Marco Pesenti Gritti * shell/ev-document-types.c: (get_slow_mime_type), (get_document_type_from_mime), (ev_document_type_lookup): * shell/ev-document-types.h: Change api to lookup from uri. Do fast lookup first, if the type is unknown try with data sniffing. * shell/ev-window.c: (ev_window_open), (ev_window_open_uri_list): * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get): Adapt to api change 2005-05-07 Marco Pesenti Gritti * thumbnailer/Makefile.am: Fix distcheck 2005-05-07 Marco Pesenti Gritti * NEWS: * configure.ac: Release 0.3.0 * data/evince-ui.xml: Hide presentation mode for now * shell/ev-view.c: (highlight_find_results): Show current find selection only on current page 2005-05-07 Marco Pesenti Gritti * shell/ev-view.c: (ev_view_select_all): Compute size of the actual page, not of the current one. 2005-05-07 Marco Pesenti Gritti * shell/ev-view.c: (clear_selection), (ev_view_finalize), (view_rect_to_doc_rect), (compute_selections), (ev_view_bin_expose), (ev_view_select_all), (get_selected_text), (ev_view_copy), (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), (page_changed_cb): Fix text selection 2005-05-07 Marco Pesenti Gritti * shell/ev-view.c: (compute_border), (get_page_extents), (doc_rect_to_view_rect), (highlight_find_results), (ev_view_bin_expose), (ev_view_select_all), (ev_view_motion_notify_event), (update_find_status_message), (jump_to_find_result), (jump_to_find_page): First go at fixing search, still buggy 2005-05-04 Kristian Høgsberg * shell/ev-sidebar.c (ev_sidebar_init): Remove frame around dropdown box and button at the top of the sidebar. 2005-05-02 James Bowes * configure.ac: Output zoom-control Makefile. * cut-n-paste/Makefile.am: build zoom-control subdir. * cut-n-paste/zoom-control/ephy-zoom-action.c: * cut-n-paste/zoom-control/ephy-zoom-action.h: * cut-n-paste/zoom-control/ephy-zoom-control.c: * cut-n-paste/zoom-control/ephy-zoom-control.h: * cut-n-paste/zoom-control/ephy-zoom.c: * cut-n-paste/zoom-control/ephy-zoom.h: New files imported from epiphany, and modified to add a separator into the menu. * cut-n-paste/zoom-control/Makefile.am: Build zoom-control. * data/evince-ui.xml: Replace old zoom toolbar actions with new zoom-control action. * shell/Makefile.am: Include zoom-control flags. * shell/ev-view.c: (ev_view_set_zoom), (ev_view_get_zoom), (ev_view_get_sizing_mode), (ev_view_zoom_in), (ev_view_zoom_out), (ev_view_zoom_for_size_presentation), (ev_view_zoom_for_size_continuous_and_dual_page), (ev_view_zoom_for_size_continuous), (ev_view_zoom_for_size_dual_page), (ev_view_zoom_for_size_single_page), (ev_view_zoom_normal): s/ev_view_zoom/ev_view_set_zoom/ and make public, add ev_view_get_zoom and ev_view_get_sizing_mode. * shell/ev-view.h: * shell/ev-window.c: (update_action_sensitivity), (update_sizing_buttons), (zoom_control_changed_cb), (register_custom_actions): Initialize and use the zoom-control widget. Sun May 1 00:46:47 2005 Jonathan Blandford * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init): Change the preview cache back to 1. Don't know when it got set to 0. * shell/ev-view.c: (compute_border), (ev_view_realize), (draw_one_page), (ev_view_set_property), (ev_view_get_property), (ev_view_class_init), (ev_view_init), (ev_view_set_fullscreen), (ev_view_get_fullscreen), (ev_view_set_presentation), (ev_view_get_presentation), (ev_view_set_sizing_mode), (ev_view_zoom_for_size_presentation), (ev_view_set_zoom_for_size): * shell/ev-view.h: * shell/ev-window.c: (update_chrome_visibility), (ev_window_cmd_continuous), (ev_window_cmd_dual), (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width), (update_document_mode), (ev_window_update_fullscreen_action), (ev_window_fullscreen), (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen), (ev_window_update_presentation_action), (ev_window_run_presentation), (ev_window_stop_presentation), (ev_window_cmd_view_presentation), (ev_window_state_event), (ev_window_focus_in_event), (ev_window_focus_out_event), (ev_window_cmd_escape), (ev_window_sidebar_visibility_changed_cb): * data/evince-ui.xml: Initial presentation mode. We should probably hide this until it's done, as it's quite rough. Also, change full-screen to fullscreen and add two getters to EvView. 2005-04-29 Marco Pesenti Gritti * shell/ev-page-action.c: (update_page_cache), (ev_page_action_dispose): * shell/ev-window.c: (destroy_fullscreen_popup), (ev_window_create_fullscreen_popup): Use connect_object rather than explicitly disconnect on dispose. 2005-04-29 Marco Pesenti Gritti * shell/ev-page-action.c: (update_page_cache), (ev_page_action_dispose): 2005-04-28 Nickolay V. Shmyrev * backend/ev-page-cache.c: (_ev_page_cache_new), (ev_page_cache_set_page_label), (ev_page_cache_has_nonnumeric_page_labels): * backend/ev-page-cache.h: * shell/ev-page-action.c: (update_pages_label): If all page labels are numeric, fallback to default way to display number of pages. See bug 173185. 2005-04-28 Nickolay V. Shmyrev * shell/ev-page-action.c: (ev_page_action_dispose): * shell/ev-view.c: (view_update_range_and_current_page): * shell/ev-window.c: (ev_window_dispose): Set page on scroll in continuous mode. Fixes bug 301986. Also cleanup callbacks on destroy of EvWindow and EvPageAction. 2005-04-26 Marco Pesenti Gritti * configure.ac: Require poppler 0.3.0 2005-04-26 Nickolay V. Shmyrev * shell/Makefile.am, configure.ac: Fix build problems with t1lib. Bug 301996. 2005-04-25 Nickolay V. Shmyrev * shell/ev-view.c: (ev_view_scroll_event): Scroll up increase zoom 2005-04-25 Nickolay V. Shmyrev * shell/ev-view.c: (ev_view_scroll_event), (ev_view_class_init), (ev_view_set_sizing_mode), (ev_view_zoom_for_size_continuous_and_dual_page), (ev_view_zoom_for_size_continuous): * shell/ev-window.c: (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width), (ev_window_cmd_view_zoom_in), (ev_window_cmd_view_zoom_out), (ev_window_sizing_mode_changed_cb), (ev_window_init): Control + Scroll does zooming, Shift + Scroll scrolls horizontally Fix for 165473 and 165472. 2005-04-24 Nickolay V. Shmyrev * po/POTFILES.in: * thumbnailer/Makefile.am: * thumbnailer/evince-thumbnailer-djvu.schemas.in: * thumbnailer/evince-thumbnailer-dvi.schemas.in: * thumbnailer/evince-thumbnailer.schemas.in: Make thumbnailer schemas translatable. Fix for bug 301773 * thumbnailer/evince-thumbnailer-djvu.schemas: * thumbnailer/evince-thumbnailer-dvi.schemas: * thumbnailer/evince-thumbnailer.schemas: Removed files Sun Apr 24 01:37:39 2005 Jonathan Blandford * shell/ev-view.c (ev_view_init): forgot to set this. Sun Apr 24 01:07:27 2005 Jonathan Blandford * shell/ev-view.c: (find_page_at_location), (get_link_at_location), (ev_view_set_show_border), (ev_view_set_spacing), (ev_view_zoom_for_size_continuous_and_dual_page), (ev_view_zoom_for_size_continuous): Fix links for dual/continuous. Also, add a quick fix measuring of widths. Also, removed ev_view_set_spacing and ev_view_set_show_border. * shell/ev-window.c: (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen): Don't adjust the border/spacing. 2005-04-24 Nickolay V. Shmyrev * shell/ev-view.c: (view_update_range_and_current_page), (page_changed_cb): Fix crash on exit and scrolling to page in continuous view. Sat Apr 23 13:13:04 2005 Jonathan Blandford * TODO: * backend/ev-page-cache.c: (_ev_page_cache_new), (ev_page_cache_get_max_width_size), (ev_page_cache_get_max_height_size): * backend/ev-page-cache.h: * data/evince-ui.xml: * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init): * shell/ev-view.c: (view_update_adjustments), (view_update_range_and_current_page), (get_bounding_box_size), (ev_view_size_request_continuous_and_dual_page), (ev_view_size_request_continuous), (ev_view_size_request_dual_page), (ev_view_size_request_single_page), (ev_view_size_request), (ev_view_size_allocate), (get_page_extents), (draw_one_page), (ev_view_bin_expose), (ev_view_expose_event), (ev_view_set_property), (ev_view_get_property), (ev_view_class_init), (ev_view_init), (ev_view_new), (page_changed_cb), (ev_view_zoom), (ev_view_set_continuous), (ev_view_set_dual_page), (ev_view_set_full_screen), (ev_view_set_presentation), (ev_view_set_sizing_mode), (ev_view_can_zoom_in), (ev_view_can_zoom_out), (ev_view_zoom_in), (ev_view_zoom_out), (zoom_for_size_fit_width), (zoom_for_size_best_fit), (ev_view_zoom_for_size_continuous_and_dual_page), (ev_view_zoom_for_size_continuous), (ev_view_zoom_for_size_dual_page), (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size), (ev_view_show_cursor), (ev_sizing_mode_get_type): * shell/ev-view.h: * shell/ev-window.c: (update_action_sensitivity), (ev_window_cmd_continuous), (ev_window_cmd_dual), (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width), (update_sizing_buttons), (ev_window_cmd_view_zoom_in), (ev_window_cmd_view_zoom_out), (update_view_size), (ev_window_set_sizing_mode), (ev_window_init): Add Continuous and Dual page modes. 2005-04-23 James Bowes * dvi/dvi-document.c: (dvi_document_load), (dvi_document_thumbnails_get_thumbnail), (dvi_document_init_params): Fix up some mixups between width and height to correct thumbnail rendering. 2005-04-23 Nickolay V. Shmyrev * dvi/mdvi-lib/private.h: * dvi/mdvi-lib/setup.c: (mdvi_init_kpathsea): Suppess output for kpathsea during font generation. Thanks to James Bowes Fri Apr 22 19:57:46 2005 Jonathan Blandford * NEWS: * configure.ac: Release 0.2.1 * Makefile.am: fix distcheck. 2005-04-23 Nickolay V. Shmyrev * shell/ev-sidebar-links.c: (selection_changed_callback), (update_page_callback), (row_activated_callback), (job_finished_callback), (ev_sidebar_links_set_document): Fix for bug #169901. Double click on links expands tree. 2005-03-14 Bryan Clark * shell/ev-window.c (ev_window_init): Removed fullscreen toolbar hard-coded style. Fix for bug 170111 2005-04-22 Kristian Høgsberg * shell/ev-view.c (highlight_find_results): Remove unnecessary locking. 2005-04-22 Bryan Clark * thumbnailer/evince-thumbnailer.schemas: real fix for bug 172496 2005-04-22 Marco Pesenti Gritti * pdf/ev-poppler.cc: * shell/ev-view.c: (highlight_find_results): Fix find on single page documents 2005-04-22 Bryan Clark * data/evince.schemas.in: fix for bug 301390 2005-04-22 Marco Pesenti Gritti * shell/ev-view.c: (ev_view_can_zoom_in), (ev_view_can_zoom_out), (ev_view_zoom_out), (ev_view_zoom_normal): * shell/ev-view.h: * shell/ev-window.c: (update_action_sensitivity), (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width), (ev_window_cmd_view_zoom_in), (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_normal_size): Fix normal size zoom. Make zoom in/zoom out unsensitive when they are behyond the limits. Tweak MAX_ZOOM to 6, sucks but better than oom. 2005-04-22 Marco Pesenti Gritti * configure.ac: Depend on 2.57, 2.59 doesnt seem to be necessary 2005-04-22 Marco Pesenti Gritti * shell/ev-page-action.c: (update_pages_label), (page_changed_cb), (create_tool_item): Put back total number of pages as (1 of 1234) Thu Apr 21 23:37:52 2005 Jonathan Blandford * shell/ev-pixbuf-cache.c (dispose_cache_job_info): actually remove the job. * backend/ev-document.h: Remove EV_DOC_MUTEX in favor of a locking function. This helps debugging. 2005-04-21 Nickolay V. Shmyrev * djvu/djvu-document.c: (djvu_document_class_init), (djvu_document_get_info), (djvu_document_document_iface_init): * dvi/dvi-document.c: (dvi_document_class_init), (dvi_document_get_info), (dvi_document_document_iface_init): Dummy implementation of get_info method for dvi and djvu. Fix crashes with those backends 2005-04-20 Marco Pesenti Gritti * data/evince.desktop.in: Add application/x-gzpostscript 2005-04-20 Bryan Clark * data/evince.schemas.in: Added real long descriptions, closes bug 172496 * README: Added actual text, closes bug 171869 2005-04-19 Marco Pesenti Gritti * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get): Thumbnail page 0 2005-04-19 Marco Pesenti Gritti * backend/ev-document-info.h: s/GDate */GDate so we can just use g_free 2005-04-19 Marco Pesenti Gritti * shell/ev-window.c: (update_document_mode), (ev_window_setup_document): Show the window in fullscreen when specified by the document 2005-04-19 Marco Pesenti Gritti * backend/ev-document.c: (ev_document_class_init), (ev_document_get_info), (ev_document_render_pixbuf): * backend/ev-document.h: * backend/ev-page-cache.c: (_ev_page_cache_new): * pdf/ev-poppler.cc: * pixbuf/pixbuf-document.c: (pixbuf_document_class_init), (pixbuf_document_get_info), (pixbuf_document_document_iface_init): * ps/ps-document.c: (ps_document_class_init), (document_load), (ps_document_get_info), (ps_document_document_iface_init): Remove get_title from the interface, we can just use document info 2005-04-19 Marco Pesenti Gritti * backend/Makefile.am: * backend/ev-document.c: (ev_document_render_get_info): * backend/ev-document.h: * pdf/ev-poppler.cc: Initial support for document info. Based on jrb patch. 2005-04-19 Paolo Borelli * shell/ev-window.c: (ev_window_state_event), (ev_window_class_init), (ev_window_init): Doesn't show resize grip when maximized. See bug #301053 2005-04-19 Nickolay V. Shmyrev * po/POTFILES.in: ev-sidebar-thumbnails now has translatable labels * shell/Makefile.am: * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document), (ev_sidebar_links_support_document), (ev_sidebar_links_get_label), (ev_sidebar_links_page_iface_init): * shell/ev-sidebar-links.h: * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type), (ev_sidebar_page_support_document), (ev_sidebar_page_set_document), (ev_sidebar_page_get_label): * shell/ev-sidebar-page.h: * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_new), (ev_sidebar_thumbnails_set_document), (ev_sidebar_thumbnails_support_document), (ev_sidebar_thumbnails_get_label), (ev_sidebar_thumbnails_page_iface_init): * shell/ev-sidebar-thumbnails.h: * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page), (ev_sidebar_set_document): * shell/ev-sidebar.h: * shell/ev-window.c: (ev_window_setup_document), (ev_window_init): Small rework of sidebar code. Now sidebar pages should implement EvSidebarPage interface. That makes page management in EvSidebar easier. See bug #164811 for details 2005-04-19 Nickolay V. Shmyrev * shell/ev-application.c: (ev_application_open): * shell/ev-document-types.c: Fix build error and small problem with application exit 2005-04-19 Nickolay V. Shmyrev * thumbnailer/Makefile.am: * thumbnailer/evince-thumbnailer-djvu.schemas: * thumbnailer/evince-thumbnailer-dvi.schemas: Conditionally install schemas for djvu/dvi thumbnailer 2005-04-18 David Malcolm * shell/ev-document-types.h: * shell/ev-document-types.c: New files, handling the mapping from mimetypes to backends * shell/ev-window.c: * thumbnailer/evince-thumbnailer.c: Use the ev-document-types code * shell/Makefile.am: Added new convenience library libevbackendfactory_la, containing the new mimetype->backend logic; moved the backends into it. * thumbnailer/Makefile.am: Make the thumbnailer link with the libevbackend.la convenience library, rather than having a duplicate of the backend logic here. 2005-04-18 Paolo Borelli * shell/ev-stock-icons.c: constify some vars. * shell/ev-window.c: ditto. 2005-04-18 Marco Pesenti Gritti * ps/ps-document.c (get_page_orientation): Respect document orientation 2005-04-17 Nickolay V. Shmyrev * djvu/Makefile.am: * dvi/Makefile.am: * shell/Makefile.am: Move library dependencies to components. * shell/ev-window.c: (update_window_title), (start_loading_document): Fix display of uris with spaces. Bug 168358. Sat Apr 16 18:53:47 2005 Jonathan Blandford * shell/ev-sidebar-links.c: (selection_changed_cb): * shell/ev-view.c: (ev_view_finalize), (go_to_link), (ev_view_button_release_event), (ev_view_set_document): * shell/ev-view.h: * shell/ev-window.c: (find_bar_search_changed_cb): * shell/ev-window.h: Minor cleanups removing some dead code. 2005-04-16 Nickolay V. Shmyrev * backend/ev-page-cache.c: (_ev_page_cache_new): Set current page to 0 if document has pages. 2005-04-16 Marco Pesenti Gritti * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get): Initialize GError to NULL, fix a crash when loading fails. 2005-04-16 Marco Pesenti Gritti * shell/ev-window.c: (update_view_size): Calculate shadow size only when there is actually a shadow. 2005-04-16 Marco Pesenti Gritti * shell/ev-view.c: (ev_view_set_spacing), (ev_view_init): * shell/ev-view.h: Allow setting view spacing, default to 0 * shell/ev-window.c: (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen), (ev_window_init): Remove spacing in fullscreen mode 2005-04-16 Marco Pesenti Gritti * shell/ev-view.c: (compute_border), (compute_zoom_factor), (ev_view_size_request), (expose_bin_window), (ev_view_set_show_border), (ev_view_init), (page_changed_cb): * shell/ev-view.h: * shell/ev-window.c: (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen): Do not draw the border in fulscreen 2005-04-16 Marco Pesenti Gritti * shell/ev-view.c: (ev_view_get_offsets), (compute_zoom_factor), (ev_view_size_request), (expose_bin_window), (ev_view_select_all), (find_page_at_location), (page_changed_cb): Rework border calculation, so that I can more easily disable it. Code somewhat cleaner too. 2005-04-16 Marco Pesenti Gritti * backend/ev-page-cache.c: (ev_page_cache_init), (_ev_page_cache_new): Remove some assertions, documents can have 0 pages. Make initial current page -1. * shell/ev-page-action.c: (page_changed_cb): Show "" if current page is -1 * shell/ev-window.c: (update_action_sensitivity), (ev_window_setup_document): When document has 0 pages do not set the view and make nearly everything insensitive. 2005-04-16 Nickolay V. Shmyrev * shell/ev-page-view.c: * shell/ev-page-view.h: Remove unused files. * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_set_document): * shell/ev-sidebar.c: (ev_sidebar_set_document), (ev_sidebar_supports_document): * shell/ev-sidebar.h: * shell/ev-window.c: (ev_window_setup_document): Doesn't show thumbnails if document has 1 page. Make sidebar menu entries sensitive only if if they have sense. Fix bug 164811. 2005-04-15 Marco Pesenti Gritti * shell/ev-view.c: (compute_zoom_factor), (ev_view_size_request), (page_changed_cb), (ev_view_zoom), (ev_view_zoom_in), (ev_view_zoom_out), (ev_view_set_size): Rework sizing to deal with documents with not uniform page size. 2005-04-15 Marco Pesenti Gritti * backend/ev-page-cache.c: (_ev_page_cache_new): Fix several page size caching bugs 2005-04-15 Luca Ferretti * shell/ev-window.c: (set_action_properties): Make all toolbar items translatable 2005-04-15 Marco Pesenti Gritti * ps/ps-document.c: (ps_document_init), (ps_document_get_type), (save_page_list), (ps_document_save), (ps_document_document_iface_init), (ps_document_ps_export_begin), (ps_document_ps_export_do_page), (ps_document_ps_export_end), (ps_document_ps_exporter_iface_init): * ps/ps-document.h: Based on a patch by J�rg Billeter Implement print and save a copy for the ps backend. 2005-04-14 Marco Pesenti Gritti * backend/ev-document.h: * djvu/djvu-document.c: (djvu_document_can_get_text), (djvu_document_document_iface_init): * dvi/dvi-document.c: (dvi_document_can_get_text), (dvi_document_document_iface_init): * pdf/ev-poppler.cc: * pixbuf/pixbuf-document.c: (pixbuf_document_can_get_text), (pixbuf_document_document_iface_init): * ps/ps-document.c: (ps_document_can_get_text), (ps_document_document_iface_init): * shell/ev-view.c: (ev_view_copy), (ev_view_primary_get_cb): * shell/ev-window.c: (update_action_sensitivity): Fix the crash when trying to copy in backends that doesnt support it. We can implement a better solution once we do real text selection. 2005-04-12 Marco Pesenti Gritti * data/evince-ui.xml: * shell/ev-window.c: (ev_window_cmd_escape): Work around the Escape conflict (find bar and unfullscreen) 2005-04-12 Nikolay V. Shmyrev * backend/ev-page-cache.c: (ev_page_cache_next_page): Fix for #300233. Next page correctly handles document end. * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose), (ev_sidebar_thumbnails_class_init), (ev_sidebar_thumbnails_set_document), (ev_sidebar_thumbnails_clear_job), (ev_sidebar_thumbnails_clear_model): Cleanup thumbnail jobs on document changes. * shell/ev-view.c: (add_scroll_binding_keypad), (add_scroll_binding_shifted), (ev_view_class_init): Shift + Space scrolls up. Fix for #173184 * shell/ev-window.c: (ev_window_open_page), (ev_window_cmd_view_reload): Fix reload (Bug #300094) 2005-04-09 Nickolay V. Shmyrev * dvi/mdvi-lib/assoc.c: * dvi/mdvi-lib/assoc.h: Removed garbage files * dvi/mdvi-lib/bitmap.c: * dvi/mdvi-lib/color.c: (mdvi_set_color), (mdvi_push_color), (mdvi_pop_color), (mdvi_reset_color), (get_color_table): * dvi/mdvi-lib/color.h: Antialias of rules * dvi/mdvi-lib/common.h: * dvi/mdvi-lib/dviread.c: (mdvi_configure), (mdvi_init_context), (mdvi_destroy_context), (draw_shrink_rule), (draw_box), (set_rule): * dvi/mdvi-lib/files.c: * dvi/mdvi-lib/fontmap.c: (ps_init_default_paths): * dvi/mdvi-lib/mdvi.h: * dvi/mdvi-lib/sp-epsf.c: (epsf_special): * dvi/mdvi-lib/tfmfile.c: (ofm_load_file): * dvi/mdvi-lib/util.c: Fix compile warnings * dvi/dvi-document.c: (dvi_document_load), (dvi_document_thumbnails_get_dimensions), (dvi_document_thumbnails_get_thumbnail), (dvi_document_document_thumbnails_iface_init): * dvi/mdvi-lib/Makefile.am: * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule), (dvi_pixbuf_set_color), (mdvi_pixbuf_device_render): Dvi backend now renders thumbnails 2005-04-09 Christian Persch * shell/main.c: (main): Save accelerators on exit. Fixes bug #172095. Sat Apr 9 01:05:09 2005 Jonathan Blandford * shell/ev-pixbuf-cache.c (move_one_job): Actually fix the "FIXME: update priority" comment. * backend/ev-job-queue.c: Give a way to change priority. Sat Apr 9 00:05:36 2005 Jonathan Blandford * shell/ev-page-action.c: Fix logic. 2005-04-08 Marco Pesenti Gritti * shell/ev-view.c: (ev_view_can_find_next): * shell/ev-window.c: (ev_window_setup_document): Check that the document supports find 2005-04-08 Marco Pesenti Gritti * data/evince-ui.xml: * shell/ev-view.c: (ev_view_can_find_next): * shell/ev-view.h: * shell/ev-window.c: (update_action_sensitivity), (find_changed_cb), (ev_window_setup_document), (ev_window_cmd_edit_find_next): Add Edit->Find Next 2005-04-08 Marco Pesenti Gritti * pdf/ev-poppler.cc: * shell/ev-print-job.c: (idle_print_handler): Make printing work again Fri Apr 8 01:12:24 2005 Jonathan Blandford * shell/ev-page-action.h: * shell/ev-page-action.c: (ev_page_action_widget_init), (ev_page_action_widget_class_init), (page_changed_cb), (create_tool_item), (update_page_cache), (build_new_tree_cb), (get_filter_model_from_model), (match_selected_cb), (display_completion_text), (match_completion), (update_model), (connect_proxy), (ev_page_action_set_property), (ev_page_action_get_property), (ev_page_action_set_document), (ev_page_action_set_model), (ev_page_action_class_init): Big reworking to make completions work iff we have >= GTK-2.7.0 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_property), (ev_sidebar_links_get_property), (ev_sidebar_links_class_init), (job_finished_cb): We now have a 'model' property that is set when the links are loaded. This can be caught with "notify::model" * shell/ev-window.c: (sidebar_widget_model_set), (ev_window_init): listen for the model to be set, and propagate it to the action. 2005-04-08 Nickolay V. Shmyrev * cut-n-paste/recent-files/egg-recent-item.c: (egg_recent_item_set_uri), (make_valid_utf8), (egg_recent_item_set_mime_type), (egg_recent_item_get_mime_type): * cut-n-paste/recent-files/egg-recent-item.h: Update egg-recent from libegg. This should fix long startup problem. For details see http://bugzilla.gnome.org/show_bug.cgi?id=160531 2005-04-07 Nickolay V. Shmyrev * cut-n-paste/recent-files/Makefile.am: * data/evince-ui.xml, shell/Makefile.am: * shell/ev-application.c, shell/ev-application.h: * shell/ev-window.c: Recent files support. * configure.ac: Added "ru" to ALL_LINGUAS. * dvju: new backend to support DJVU files. * dvi: new backend to support DVI. * configure.ac, Makefile.am, shell/Makefile.am, ev-window.c: * ev-application.c: Support for new backends. * help, ev-window.c, main.c shell/Makefile.am: Evince user documentation. 2005-04-06 Marco Pesenti Gritti * po/POTFILES.in: * shell/ev-window.c: * thumbnailer/evince-thumbnailer.c: s/pdf-document/ev-poppler 2005-04-06 Marco Pesenti Gritti * NEWS: * configure.ac: Release 0.2.0 * ps/ps-document.c: (setup_pixmap): Remove debug code 2005-04-05 Kristian Høgsberg * backend/ev-page-cache.c (ev_page_cache_next_page): * shell/ev-window.c (ev_window_cmd_go_next_page) (ev_window_cmd_go_first_page): Fix of by one errors. 2005-04-05 Marco Pesenti Gritti * ps/ps-document.c: (get_page_box): Fix page size calculation 2005-04-05 Marco Pesenti Gritti * ps/ps-document.c: (ps_document_init), (push_pixbuf), (ps_document_cleanup), (setup_pixmap), (get_page_box), (get_page_orientation), (setup_page), (document_load), (ps_document_get_page_size), (render_pixbuf_idle): * ps/ps-document.h: More refactoring to adapt to EvDocument changes 2005-04-05 Marco Pesenti Gritti * ps/ps-document.c: (start_interpreter): Actually add alpha args 2005-04-05 Marco Pesenti Gritti * pdf/ev-poppler.cc: Make clipboard work again 2005-04-04 Kristian Høgsberg 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. 2005-04-04 Marco Pesenti Gritti * autogen.sh: Add required gettext version Sat Apr 2 18:57:00 2005 Jonathan Blandford * shell/evwindow.c: Patch from Alberto Mesas 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 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 2005-04-01 David Malcolm * Makefile.am: * pixbuf/pixbuf-document.c: Got pixbuf backend working again 2005-04-01 Steve Murphy * configure.in: Added "rw" to ALL_LINGUAS. Fri Apr 1 02:33:41 2005 Jonathan Blandford * shell/ev-sidebar-links.c (create_loading_model): Fix mismatch in model types, noticed by Martin Kretzschmar. 2005-04-01 Kristian Høgsberg * 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 01 09:21:12 2005 Pablo Saratxaga * configure.ac: Added Walloon (wa) to ALL_LINGUAS. Fri Apr 1 01:59:39 2005 Jonathan Blandford * 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 2005-03-31 Kristian Høgsberg * pdf/ev-poppler.cc (pdf_document_get_links): Update to work with PopplerRectangle change from poppler CVS. Thu Mar 31 13:27:50 2005 Jonathan Blandford * 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. Thu Mar 31 01:21:58 2005 Jonathan Blandford * 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. Fri Mar 25 16:55:58 2005 Jonathan Blandford * pdf/pdf-document.cc: Patch from Fernando Herrera to fix my quick fix to get_thumbnail. *blush* Wed Mar 23 23:49:41 2005 Jonathan Blandford * 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-23 Marco Pesenti Gritti * TODO: * backend/Makefile.am: * backend/ev-document-links.c: (ev_document_links_has_document_links), (ev_document_links_get_links_model): * backend/ev-document-links.h: * backend/ev-document.c: (ev_document_get_page_cache), (ev_document_get_doc_mutex), (ev_document_load), (ev_document_save), (ev_document_get_title), (ev_document_get_n_pages), (ev_document_set_page), (ev_document_get_page), (ev_document_set_target), (ev_document_set_scale), (ev_document_set_page_offset), (ev_document_get_page_size), (ev_document_get_text), (ev_document_get_link), (ev_document_render), (ev_document_render_pixbuf), (ev_document_scale_changed): * backend/ev-document.h: * backend/ev-job-queue.c: (remove_object_from_queue), (notify_finished), (handle_job), (search_for_jobs_unlocked), (no_jobs_available_unlocked), (ev_render_thread), (ev_job_queue_init), (find_queue), (ev_job_queue_add_job), (ev_job_queue_remove_job): * backend/ev-job-queue.h: * backend/ev-jobs.c: (ev_job_init), (ev_job_dispose), (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose), (ev_job_links_class_init), (ev_job_render_init), (ev_job_render_dispose), (ev_job_render_class_init), (ev_job_thumbnail_init), (ev_job_thumbnail_dispose), (ev_job_thumbnail_class_init), (ev_job_finished), (ev_job_links_new), (ev_job_links_run), (ev_job_render_new), (ev_job_render_run), (ev_job_thumbnail_new), (ev_job_thumbnail_run): * backend/ev-jobs.h: * backend/ev-link.c: * backend/ev-link.h: * backend/ev-page-cache.c: (ev_page_cache_init), (ev_page_cache_class_init), (ev_page_cache_finalize), (_ev_page_cache_new), (ev_page_cache_get_n_pages), (ev_page_cache_get_current_page), (ev_page_cache_set_current_page), (ev_page_cache_set_link), (ev_page_cache_get_title), (ev_page_cache_get_size), (ev_page_cache_next_page), (ev_page_cache_prev_page): * backend/ev-page-cache.h: * pdf/pdf-document.cc: * ps/gsdefaults.c: * ps/gsdefaults.h: * ps/ps-document.c: (ps_document_init), (ps_document_class_init), (push_pixbuf), (interpreter_failed), (ps_document_cleanup), (ps_document_widget_event), (ps_document_finalize), (get_xdpi), (get_ydpi), (setup_pixmap), (setup_page), (close_pipe), (is_interpreter_ready), (output), (catchPipe), (input), (start_interpreter), (check_filecompressed), (compute_dimensions), (ps_document_enable_interpreter), (document_load), (ps_document_next_page), (render_page), (ps_document_set_page), (ps_document_set_scale), (render_pixbuf_idle), (ps_document_render_pixbuf), (ps_document_document_iface_init): * ps/ps-document.h: * shell/Makefile.am: * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init), (ev_pixbuf_cache_class_init), (ev_pixbuf_cache_finalize), (dispose_cache_job_info), (ev_pixbuf_cache_dispose), (ev_pixbuf_cache_new), (job_finished_cb), (check_job_size_and_unref), (move_one_job), (ev_pixbuf_cache_update_range), (find_job_cache), (ev_pixbuf_cache_clear_job_sizes), (add_job_if_needed), (ev_pixbuf_cache_add_jobs_if_needed), (ev_pixbuf_cache_set_page_range), (ev_pixbuf_cache_get_pixbuf): * shell/ev-pixbuf-cache.h: * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings), (idle_print_handler): * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy), (selection_changed_cb), (create_loading_model), (ev_sidebar_links_construct), (links_page_num_func), (ev_sidebar_links_clear_document), (update_page_callback_foreach), (update_page_callback), (job_finished_cb), (ev_sidebar_links_set_document): * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_class_init), (adjustment_changed_cb), (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init), (page_changed_cb), (thumbnail_job_completed_callback), (ev_sidebar_thumbnails_set_document): * shell/ev-sidebar-thumbnails.h: * shell/ev-sidebar.c: (ev_sidebar_set_document): * shell/ev-view.c: (ev_view_finalize), (ev_view_destroy), (ev_view_get_offsets), (ev_view_size_request), (ev_view_realize), (ev_view_unrealize), (highlight_find_results), (expose_bin_window), (ev_view_select_all), (ev_view_copy), (ev_view_primary_get_cb), (ev_view_create_invisible_cursor), (ev_view_motion_notify_event), (ev_view_button_release_event), (ev_view_scroll_view), (ev_view_class_init), (ev_view_init), (update_find_status_message), (jump_to_find_result), (jump_to_find_page), (find_changed_cb), (ev_view_new), (job_finished_cb), (page_changed_cb), (ev_view_set_document), (go_to_link), (ev_view_zoom), (size_to_zoom_factor), (ev_view_set_size), (ev_view_find_next), (ev_view_find_previous): * shell/ev-view.h: * shell/ev-window.c: (update_action_sensitivity), (ev_window_open_page), (update_window_title), (update_total_pages), (page_changed_cb), (ev_window_setup_document), (password_dialog_response), (ev_window_cmd_save_as), (ev_window_print), (ev_window_cmd_go_previous_page), (ev_window_cmd_go_next_page), (ev_window_cmd_go_first_page), (ev_window_cmd_go_last_page), (ev_window_cmd_view_reload), (find_bar_search_changed_cb), (goto_page_cb), (ev_window_init): * shell/main.c: (main): Merge evince-threads branch 2005-03-16 Žygimantas Beručka * configure.ac: Added "lt" to ALL_LINGUAS. 2005-03-14 Marco Pesenti Gritti * NEWS: * configure.ac: Release 0.1.9 2005-03-13 Fernando Herrera * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get): Fix here also the thumbnails 1-basedness :) 2005-03-12 Marco Pesenti Gritti * NEWS: * configure.ac: Release 0.1.8 2005-03-12 Marco Pesenti Gritti * 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-12 Changwoo Ryu * configure.ac (ALL_LINGUAS): Added "ko" (Korean). 2005-03-09 Marco Pesenti Gritti * NEWS: * configure.ac: Release 0.1.7 2005-03-08 Marco Pesenti Gritti * ps/Makefile.am: * ps/gsdefaults.c: (gtk_gs_defaults_get_interpreter_cmd), (gtk_gs_defaults_get_alpha_parameters), (gtk_gs_defaults_get_ungzip_cmd), (gtk_gs_defaults_get_unbzip2_cmd): * ps/gsdefaults.h: * ps/ps-document.c: (ps_document_init), (ps_document_class_init), (ps_document_get_orientation), (document_load), (ps_document_goto_page), (ps_document_set_page_size): * ps/ps-document.h: Some more sanitization of the ps backend. Remove a lot of unused code and do not base our defaults on ggv preferences (ugh!) 2005-03-08 Fernando Herrera * thumbnailer/evince-thumbnailer.schemas: * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get), (main): add -s option for thumbnail size. 2005-03-07 Christian Persch * configure.ac: AC_PROG_RANLIB is rendered obsolete by AC_PROG_LIBTOOL; remove it. 2005-03-07 Marco Pesenti Gritti * pdf/pdf-document.cc: Remove 4 pixels of useless border from the thumbnail. 2005-03-07 Marco Pesenti Gritti * 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 Fernando Herrera * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get): take thumbnails from page "0" instead of "1". Added a copyright header. 2005-03-03 Jens Granseuer * ps/ps-document.c: (set_up_page), (start_interpreter): Make it C89 compliant 2005-03-03 Marco Pesenti Gritti * 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 . 2005-03-02 Marco Pesenti Gritti * NEWS: * configure.ac: * po/POTFILES.in: Release 0.1.6 2005-03-01 Kristian Høgsberg 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 * shell/ev-sidebar-links.c: (ev_sidebar_links_clear_document): Clear idle stack before unsetting the document 2005-02-28 Marco Pesenti Gritti * ps/ps-document.c: (ps_document_widget_event), (ps_document_set_target), (ps_document_finalize), (ps_document_get_page): Disconnect the widget event signal on finalize. Some code cleanups. 2005-02-28 Marco Pesenti Gritti * ps/ps-document.c: (set_up_page): If there is no bpixmap create one, even if size is not changed. 2005-02-28 Marco Pesenti Gritti * ps/ps-document.c: (ps_document_init), (ps_document_cleanup), (set_up_page), (document_load), (ps_document_set_zoom): Default page is 0. Calculate size even when we have no target yet. 2005-02-28 Carlos Garcia Campos * shell/ev-sidebar.c: expand the selection widget to be always as wide as the sidebar 2005-02-28 Marco Pesenti Gritti * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_set_document): Clear the list store when setting document 2005-02-28 Marco Pesenti Gritti * 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 2005-02-28 Marco Pesenti Gritti * data/evince.schemas.in: Correct confusing string Sun Feb 27 23:00:31 2005 Jonathan Blandford * 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-27 Marco Pesenti Gritti * NEWS: * configure.ac: Release 0.1.5 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 2005-02-09 Marco Pesenti Gritti * NEWS: * configure.ac: Release 0.1.4 * pdf/xpdf/Catalog.cc: * pdf/xpdf/XRef.cc: Fix the fix for CAN-2004-0888 2005-02-09 Luca Ferretti * 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-08 Marco Pesenti Gritti * pdf/xpdf/pdf-document.cc: Add warnings about unimplemented/unknown link types. 2005-02-07 Marco Pesenti Gritti * ps/ps-document.c: (set_up_page): Log gs property 2005-02-07 Marco Pesenti Gritti * ps/ps-document.c: (start_interpreter): Log gs env var 2005-02-07 Marco Pesenti Gritti * 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 * 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 * 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 2005-02-07 Marco Pesenti Gritti * ps/ps-document.c: (ps_document_widget_event): Initialize message_window, this should make ps rendering really work! (Never noticed because I was testing with a ps that is causing gs to exit every time!) 2005-02-07 Bryan Clark * data/evince.schemas.in: updated simple error in applyto closing tag 2005-02-07 Christian Persch * Makefile.am: * configure.ac: * data/.cvsignore: * data/Makefile.am: * data/evince-ui.xml: A data/evince.schemas.in: * po/POTFILES.in: * shell/ev-stock-icons.c: (ev_stock_icons_init): * shell/ev-stock-icons.h: * shell/ev-window.c: (update_chrome_visibility), (update_chrome_flag), (ev_window_cmd_edit_find), (ev_window_update_fullscreen_popup), (ev_window_fullscreen), (ev_window_unfullscreen), (ev_window_focus_in_event), (ev_window_focus_out_event), (ev_window_cmd_leave_fullscreen), (ev_window_view_toolbar_cb), (ev_window_view_statusbar_cb), (ev_window_view_sidebar_cb), (find_bar_close_cb), (ev_window_dispose), (ev_window_class_init), (set_action_properties), (set_chrome_actions), (load_chrome), (ev_window_init): Implement fullscreen mode changes from bug #164776. Also implement persistent chrome toggles. 2005-02-07 Jordi Mallach * configure.ac (ALL_LINGUAS): Added "ca" (Catalan). 2005-02-04 Marco Pesenti Gritti * NEWS: * configure.ac: * shell/ev-view.c: Add another check for find interface Release 0.1.3 2005-02-04 Marco Pesenti Gritti * shell/ev-application.c: (ev_application_open): * shell/ev-window.c: (ev_window_open): Open gzipped ps documents 2005-02-04 Marco Pesenti Gritti * 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 * 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 2005-02-04 Martin Kretzschmar * shell/ev-sidebar-thumbnails.c (ev_sidebar_thumbnails_select_page): do nothing unless we have a document. Prevents warning from scroll_to_cell. 2005-02-02 Kjartan Maraas * configure.ac: Add «nb» to ALL_LINGUAS too. Wed Feb 2 21:13:11 2005 Jonathan Blandford * 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 * 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-13 Jeff Muizelaar * pixbuf/pixbuf-document.c: (pixbuf_document_thumbnails_get_dimensions), (pixbuf_document_document_thumbnails_iface_init): implement get_dimensions 2005-02-01 Marco Pesenti Gritti * NEWS: * configure.ac: Release 0.1.2 2005-01-30 Marco Pesenti Gritti * shell/ev-view.c: (set_document_page): Scroll at the top of the page when changing page 2005-01-30 Marco Pesenti Gritti * shell/ev-view.c: (ev_view_motion_notify_event): Do not redraw unnecessarily 2005-01-30 Marco Pesenti Gritti * 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 * 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 * 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-28 Martin Kretzschmar * shell/ev-sidebar-thumbnails.c (ev_sidebar_thumbnails_destroy) (ev_sidebar_thumbnails_class_init): use G_DEFINE_TYPE-supplied ev_sidebar_thumbnails_parent_class variable, don't define another parent_class variable. * shell/ev-page-action.c (connect_proxy, ev_page_action_finalize) (ev_page_action_class_init): ditto. * pixbuf/pixbuf-document.c (pixbuf_document_finalize) (pixbuf_document_class_init): ditto. * backend/ev-link.c (ev_window_dispose, ev_link_class_init): ditto. * .cvsignore: ignore various valgrind output files. 2005-01-27 Marco Pesenti Gritti * 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-27 Marco Pesenti Gritti * shell/ev-window.c: (update_action_sensitivity): Fix inverted up/down buttons 2005-01-27 Martin Kretzschmar * shell/ev-sidebar-thumbnails.c (ev_sidebar_thumbnails_select_page): make sure the selected thumbnail stays visible. 2005-01-26 Martin Kretzschmar * shell/ev-window.c (ev_window_init): add GTK_SHADOW_IN to the scrolled window for Federico. 2005-01-26 Ole Laursen * configure.ac: Added "da" (Danish) to ALL_LINGUAS. 2005-01-26 Marco Pesenti Gritti * configure.ac: * pdf/splash/SplashFTFontEngine.cc: Fix CID fonts with freetype 2.1.9 2005-01-26 Bryan Clark * TODO: added item for desktop icon thumbnailer Tue Jan 25 00:59:34 2005 Jonathan Blandford * 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-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. 2005-01-08 Satoru SATOH * configure.ac: Added ja to ALL_LINGUAS. 2005-01-07 Marco Pesenti Gritti * pdf/xpdf/pdf-document.cc: add a FIXME. We should probably not allocate a bookmark object every time 2005-01-07 Marco Pesenti Gritti * 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 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb), (ev_sidebar_bookmarks_construct), (do_one_iteration): Hook up bookmarks navigation 2005-01-07 Marco Pesenti Gritti * 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 2005-01-07 Marco Pesenti Gritti * 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. Fri Jan 7 01:28:58 2005 Jonathan Blandford * shell/ev-sidebar-thumbnails.c (ev_sidebar_thumbnails_set_document): forgot to unref the loading_icon. Fri Jan 7 01:22:48 2005 Jonathan Blandford * shell/ev-sidebar-thumbnails.c: fill in the thumbnails starting at the visible page, not just linearly. This makes it look fast. Thu Jan 6 18:48:11 2005 Jonathan Blandford * 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. 2005-01-06 Jeremy Katz * shell/Makefile.am (evince_SOURCES): Add ev-utils.[ch] so that make dist works Wed Jan 5 15:38:28 2005 Jonathan Blandford * 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. 2005-01-05 Martin Kretzschmar * pdf/xpdf/GlobalParams.cc (displayFontTabFc): match only outline fonts. Should fix font problems on systems that have the base fonts in bitmap format. Reported by James Henstridge . 2005-01-05 Marco Pesenti Gritti * pdf/xpdf/Gfx.cc: * pdf/xpdf/GfxState.cc: Fix for CAN-2004-1125 2005-01-05 Marco Pesenti Gritti * 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 * 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 * 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 * 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 2005-01-05 Marco Pesenti Gritti * shell/ev-view.c: (ev_view_zoom): Queue a resize when zoom changes Wed Jan 5 02:33:06 2005 Jonathan Blandford * backend/ev-document-misc.[ch]: New misc file to do simple drop shadows. * pdf/xpdf/pdf-document.cc: use the drop shadows in both types of thumbnails.. Tue Jan 4 22:32:32 2005 Jonathan Blandford * pdf/xpdf/pdf-document.cc (pdf_document_thumbnails_get_page_pixbuf): poor man's dropshadow. Tue Jan 4 21:25:05 2005 Jonathan Blandford * pdf/xpdf/pdf-document.cc: Do real thumbnailing of PDF files. It's slow, but I'll speed it up next! 2005-01-04 Jeff Muizelaar * shell/main.c (load_files): use gnome_vfs_make_uri_from_shell_arg so that relative paths work from the command line and because it seems more appropriate. 2005-01-04 Marco Pesenti Gritti * data/evince-ui.xml: * shell/ev-window.c: (update_action_sensitivity), (ev_window_cmd_go_page_up), (ev_window_cmd_go_page_down): s/next page/page down s/previous page/page up 2005-01-04 Marco Pesenti Gritti * 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. Tue Jan 4 03:22:56 2005 Jonathan Blandford * pdf/xpdf/pdf-document.cc (pdf_document_thumbnails_get_thumbnail): initial stab at implementing thumbnail support for pdfs. It only does documents with precached pdfs now. Mon Jan 3 17:22:25 2005 Jonathan Blandford * shell/ev-sidebar-thumbnails.c (do_one_iteration): move the thumbnail code into a time-based idle as well. Also, turn off the shadow temporarily as it's really slow. 2005-01-03 Marco Pesenti Gritti * backend/ev-document.c: (ev_document_class_init): * pdf/xpdf/pdf-document.cc: * shell/ev-window.c: (ev_window_open): Fix document title bugs and fallback to filename when not available. 2005-01-03 Marco Pesenti Gritti * backend/ev-document.c: (ev_document_get_type), (ev_document_class_init), (ev_document_load), (ev_document_get_title): * backend/ev-document.h: * pdf/xpdf/pdf-document.cc: * ps/ps-document.c: (ps_document_set_property), (ps_document_get_property), (ps_document_class_init), (document_load): * ps/ps-document.h: * ps/ps.h: * shell/ev-window.c: (update_window_title), (ev_window_open), (ev_window_init): Initial support for document title. Not working yet. 2005-01-02 Marco Pesenti Gritti * 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 * 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-02 Marco Pesenti Gritti * Makefile.am: * backend/Makefile.am: * data/Makefile.am: * dvi/Makefile.am: * dvi/dvilib/Makefile.am: * pdf/xpdf/Makefile.am: * po/POTFILES.in: * ps/Makefile.am: Fix distcheck 2005-01-01 Marco Pesenti Gritti * shell/ev-view.c: (ev_view_realize): Fix mouse wheel scrolling 2005-01-01 Marco Pesenti Gritti * ps/Makefile.am: * ps/gstypes.h: * ps/gtkgs.c: * ps/gtkgs.h: * ps/ps-document.c: (catchPipe), (ps_document_init), (ps_document_class_init), (ps_document_cleanup), (ps_document_finalize), (send_ps), (ps_document_get_orientation), (set_up_page), (close_pipe), (is_interpreter_ready), (interpreter_failed), (output), (input), (start_interpreter), (stop_interpreter), (file_length), (file_readable), (check_filecompressed), (check_pdf), (compute_xdpi), (compute_ydpi), (compute_size), (ps_document_enable_interpreter), (ps_document_get_type), (ps_document_emit_error_msg), (document_load), (ps_document_next_page), (ps_document_get_current_page), (ps_document_get_page_count), (ps_document_goto_page), (ps_document_set_page_size), (ps_document_zoom_to_fit), (ps_document_set_zoom), (ps_document_load), (ps_document_get_n_pages), (ps_document_set_page), (ps_document_get_page), (ps_document_widget_event), (ps_document_set_target), (ps_document_set_scale), (ps_document_set_page_offset), (ps_document_get_page_size), (ps_document_render), (ps_document_document_iface_init): * ps/ps-document.h: * ps/ps.c: * shell/ev-window.c: (ev_window_open): Rename GtkGS to PSDocument 2005-01-01 Marco Pesenti Gritti * ps/gtkgs.c: (gtk_gs_class_init): * ps/gtkgs.h: Some more leftover... 2005-01-01 Marco Pesenti Gritti * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_get_orientation), (output), (stop_interpreter), (gtk_gs_emit_error_msg), (gtk_gs_zoom_to_fit), (gtk_gs_set_zoom): * ps/gtkgs.h: Remove unused code and make a lot of stuff private 2005-01-01 Marco Pesenti Gritti * ps/gsdefaults.c: (gtk_gs_defaults_gconf_client), (gtk_gs_defaults_changed): * ps/gsdefaults.h: * ps/gtkgs.c: * ps/gtkgs.h: * ps/ps.h: Cleanup headers dependencies 2005-01-01 Marco Pesenti Gritti * ps/Makefile.am: * ps/ggvutils.c: * ps/ggvutils.h: * ps/gsdefaults.c: (gtk_gs_defaults_get_paper_sizes): * ps/gsdefaults.h: * ps/gtkgs.c: (file_length), (file_readable), (check_filecompressed), (check_pdf), (gtk_gs_load), (gtk_gs_get_postscript): Get rid of ggvutils 2004-12-31 Marco Pesenti Gritti * ps/ggvutils.c: * ps/ggvutils.h: * ps/gsio.h: * ps/gtkgs.c: (gtk_gs_set_zoom): Cleanups 2004-12-31 Marco Pesenti Gritti * ps/gtkgs.c: (gtk_gs_set_zoom), (gtk_gs_set_zoom_mode): Ensure the page is rerendered when changing zoom 2004-12-31 Marco Pesenti Gritti * 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-25 Raphael Higino * configure.ac: Added pt_BR to ALL_LINGUAS. Fri Dec 24 00:48:44 2004 Jonathan Blandford * backend/ev-document-bookmarks.c: (ev_document_bookmarks_get_child): * backend/ev-document-bookmarks.h: * pdf/xpdf/Makefile.am: * pdf/xpdf/pdf-document.cc: * pdf/xpdf/pdf-document.h: * shell/Makefile.am: * shell/ev-sidebar-bookmarks.c: (ev_sidebar_bookmarks_destroy), (ev_sidebar_bookmarks_class_init), (ev_sidebar_bookmarks_construct), (stack_data_free), (do_one_iteration), (populate_bookmarks_idle), (ev_sidebar_bookmarks_clear_document), (ev_sidebar_bookmarks_set_document): * shell/ev-sidebar-bookmarks.h: * shell/ev-sidebar.c: (ev_sidebar_add_page), (ev_sidebar_set_document): * shell/ev-window.c: (ev_window_open): Initial stab at a bookmarks sidebar. It doesn't navigate yet, but it displays both the topics and the page numbers. 2004-12-23 Kristian Høgsberg * shell/ev-window.c (ev_window_view_sidebar_cb): Hook up sidebar toggle. * shell/ev-window.c (toggle_entries): Set sidebar default value to visible. 2004-12-23 Adam Weinberger * configure.ac: Added en_CA to ALL_LINGUAS. 2004-12-23 Martin Kretzschmar * ChangeLog: replace bottom of this ChangeLog (merged history of ggv and gpdf; where all paths were wrong and most of the files are not even in this tree) with ChangeLog (from arch) of the shell code. 2004-12-23 Havoc Pennington * 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 * 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 * 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-23 Martin Kretzschmar * pdf/xpdf/Makefile.am (libpdfdocument_la_LIBADD): add libevbackend.la. * shell/ev-window.c (ev_window_print): add GnomePrintJob to EvPrintJob constructor arguments. * backend/ev-ps-exporter.c, backend/ev-ps-exporter.h: interface for documents that can export PostScript (page by page). * backend/Makefile.am (libevbackend_la_SOURCES): add them. * pdf/xpdf/pdf-document.cc (pdf_document_ps_export_begin) (pdf_document_ps_export_do_page, pdf_document_ps_export_end) (pdf_document_ps_exporter_iface_init: Implement EvPSExporter. * pdf/xpdf/Makefile.am (libxpdf_la_SOURCES): build PSOutputDev. 2004-12-22 Anders Carlsson * backend/Makefile.am: * backend/ev-document-thumbnails.c: (ev_document_thumbnails_get_type), (ev_document_thumbnails_get_thumbnail): * backend/ev-document-thumbnails.h: * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE), (pixbuf_document_thumbnails_get_thumbnail), (pixbuf_document_document_thumbnails_iface_init): * shell/Makefile.am: * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_destroy), (ev_sidebar_thumbnails_class_init), (ev_sidebar_thumbnails_init), (populate_thumbnails), (ev_sidebar_thumbnails_set_document): * shell/ev-sidebar-thumbnails.h: * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page), (ev_sidebar_set_document): * shell/ev-utils.c: (gaussian), (create_blur_filter), (create_shadow), (ev_pixbuf_add_shadow): * shell/ev-utils.h: Add thumbnail support. 2004-12-22 Martin Kretzschmar * shell/ev-window.c (ev_window_cmd_file_print, ev_window_print) (using_postscript_printer): Set up a print dialog for "PostScript injection" method. * shell/ev-print-job.h, shell/ev-print-job.c: stub classes for EvPrintJob. * shell/Makefile.am (evince_SOURCES): add ev-print-job.[ch] 2004-12-22 Marco Pesenti Gritti * ps/gtkgs.c: (gtk_gs_init), (set_up_page), (ps_document_set_target), (ps_document_get_page_size), (ps_document_render): * ps/gtkgs.h: Fix a few bugs 2004-12-22 Christian Rose * configure.ac: Added "sv" to ALL_LINGUAS. Wed Dec 22 14:47:38 2004 Jonathan Blandford * backend/ev-document-bookmarks.[ch]: new interface to indicate document supports bookmarks. 2004-12-22 Marco Pesenti Gritti * ps/ggvutils.c: (ggv_file_readable): * ps/ggvutils.h: * ps/gtkgs.c: (check_filecompressed), (check_pdf), (gtk_gs_get_postscript): Remove unused utils 2004-12-22 Marco Pesenti Gritti * ps/gtkgs.c: (gtk_gs_init), (gtk_gs_class_init), (gtk_gs_cleanup), (gtk_gs_finalize), (gtk_gs_set_center), (set_up_page), (output), (start_interpreter), (compute_size), (gtk_gs_enable_interpreter), (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_reload), (gtk_gs_emit_error_msg), (gtk_gs_disable_interpreter), (gtk_gs_load), (gtk_gs_goto_page), (gtk_gs_set_page_size), (gtk_gs_set_override_orientation), (gtk_gs_set_override_size), (gtk_gs_set_zoom), (gtk_gs_set_default_orientation), (gtk_gs_set_antialiasing), (ps_document_load), (ps_document_render): * ps/gtkgs.h: Another check point for the ps backend. Now I can get it to show pages! Wed Dec 22 13:41:01 2004 Jonathan Blandford * shell/ev-sidebar.c (ev_sidebar_set_document): initial sidebar document setting code. 2004-12-22 Anders Carlsson * shell/eggfindbar.c: (entry_activate_callback): Animate the next button when activate is pressed. 2004-12-22 Anders Carlsson * shell/ev-window.c: (ev_window_cmd_edit_find), (update_fullscreen_popup), (ev_window_fullscreen), (ev_window_unfullscreen), (ev_window_state_event_cb), (ev_window_focus_out_cb), (find_bar_close_cb), (ev_window_init): Fix bugs in fullscreen code. 2004-12-22 Anders Carlsson * Makefile.am: * configure.ac: * pixbuf/Makefile.am: * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE), (pixbuf_document_load), (pixbuf_document_get_n_pages), (pixbuf_document_set_page), (pixbuf_document_get_page), (pixbuf_document_set_target), (pixbuf_document_set_scale), (pixbuf_document_set_page_offset), (pixbuf_document_get_page_size), (pixbuf_document_render), (pixbuf_document_begin_find), (pixbuf_document_end_find), (pixbuf_document_finalize), (pixbuf_document_class_init), (pixbuf_document_document_iface_init), (pixbuf_document_init): * pixbuf/pixbuf-document.h: * shell/Makefile.am: * shell/ev-application.c: (ev_application_open): * shell/ev-window.c: (mime_type_supported_by_gdk_pixbuf), (ev_window_open): Add pixbuf backend. Tue Dec 21 21:45:43 2004 Soeren Sandmann * Makefile.am: * dvi/dvilib/Makefile.am: * dvi/Makefile.am: * configure.ac: Auto*ify dvi and dvi/dvilib * dvi/Makefile: Remove from CVS * dvi/dvilib/dl-pkfont.cc (unpack_bitmap): Fix uchar/uint confusion. * dvi/dvilib/dl-fontdefinition.{cc,hh}: New DviFontMap class * dvi/dvilib/dl-vffont.{cc,hh}: Many bugfixes to VF code. 2004-12-22 Marco Pesenti Gritti * ps/Makefile.am: * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_finalize), (gtk_gs_value_adjustment_changed), (compute_size), (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_new_from_file), (gtk_gs_center_page), (gtk_gs_load), (gtk_gs_set_page_size), (gtk_gs_set_override_orientation), (gtk_gs_set_override_size), (gtk_gs_set_zoom), (gtk_gs_set_default_orientation), (gtk_gs_start_scroll), (gtk_gs_get_postscript), (gtk_gs_set_adjustments), (gtk_gs_set_available_size), (ps_document_load), (ps_document_get_n_pages), (ps_document_set_page), (ps_document_get_page), (ps_document_set_target), (ps_document_set_scale), (ps_document_set_page_offset), (ps_document_get_page_size), (ps_document_render), (ps_document_begin_find), (ps_document_end_find), (ps_document_document_iface_init): * ps/gtkgs.h: * shell/Makefile.am: * shell/ev-window.c: (ev_window_open): Some work to integrate gtkgs with EvDocument 2004-12-22 Anders Carlsson * shell/ev-window.c: (update_fullscreen_popup), (screen_size_changed_cb), (destroy_exit_fullscreen_popup), (exit_fullscreen_button_clicked_cb), (fullscreen_popup_size_request_cb), (ev_window_fullscreen), (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen), (ev_window_state_event_cb), (ev_window_init): Add fullscreen support from Epiphany. 2004-12-22 Mark McLoughlin * data/ev-stock-zoom-fit-width.png: fit-width stock icon from gpdf. * shell/ev-stock-icons.[ch]: copied from gpdf. * shell/main.c: (main): init stock icons. * shell/ev-window.c: use the fit-width icon. * data/evince-ui.xml: add zooming toolbar items. 2004-12-22 Mark McLoughlin * 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 * 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 Martin Kretzschmar * pdf/xpdf/GlobalParams.h (setupBaseFontsFc): add prototype. * pdf/xpdf/GlobalParams.cc (displayFontTabFc): maps base font names to fontconfig patterns. (setupBaseFontsFc): setupBaseFonts reimplemented using fontconfig. * pdf/xpdf/pdf-document.cc (pdf_document_load): use setupBaseFontsFc. 2004-12-22 Marco Pesenti Gritti * Makefile.am: * configure.ac: * ps/Makefile.am: * ps/ggvutils.c: * ps/ggvutils.h: * ps/gsdefaults.c: * ps/gsdefaults.h: * ps/gsio.c: * ps/gsio.h: * ps/gtkgs.c: * ps/gtkgs.h: * ps/ps.c: * ps/ps.h: Import ggv backend. Not hooked up yet. 2004-12-22 Mark McLoughlin * shell/main.c: (load_files), (main): load files from the command line. 2004-12-22 Mark McLoughlin * configure.ac: don't require bonobo. * cut-n-paste/recent-files/*: kill bonobo recent view. * shell/ev-window.c: (ev_window_is_empty): upd. (unable_to_load), (ev_window_open): load backend based on the mime type. 2004-12-22 Martin Kretzschmar * backend/.cvsignore: ignore generated marshalers source. * shell/main.c (main): this is not epiphany. 2004-12-22 Havoc Pennington * 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 * 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. 2004-12-21 Havoc Pennington * backend/ev-backend-marshal.c, backend/ev-backend-marshalers.list, backend/Makefile.am: add marshaler-generator thingy. I'm sure there's a better way to do this in the modern world. * backend/ev-document.h (struct _EvDocumentIface): add begin_find, end_find methods and "found" signal. * configure.ac: find glib-genmarshal Tue Dec 21 23:20:35 2004 Jonathan Blandford * shell/ev-sidebar.c: Construct an actual sidebar. * shell/ev-sidebar-bookmarks.[ch]: * shell/ev-sidebar-thumbnails.[ch]: Stub out sidebars. Tue Dec 21 23:05:51 2004 Owen Taylor * 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 22:17:04 2004 Owen Taylor * pdf/xpdf/pdf-document.cc (pdf_document_load): PDFDoc constructor assumes ownership of the string passed in. * shell/ev-window.c (ev_window_open): Destroy the error dialog once we've displayed it. Tue Dec 21 21:58:56 2004 Owen Taylor * 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. Tue Dec 21 21:07:55 2004 Owen Taylor * 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. Tue Dec 21 20:28:11 2004 Jonathan Blandford * Makefile.am (SUBDIRS): move shell. Tue Dec 21 19:28:55 2004 Owen Taylor * pdf/{goo,fofi,splash,xpdf}/Makefile.am: Switch from .a to libtool convenience libraries. * shell/ev-window.c (ev_window_open): Hard code loading a PDF document. * backend/ev-document.h: Add a boolean return to load(), fix GError * to GError **. * pdf/xpdf/pdf-document.[ch] Makefile.am: Add a stub object for a PDF backend EvDocument. Tue Dec 21 18:55:06 2004 Søren Sandmann * dvi/*: New directory with the beginning of a .dvi backend. 2004-12-21 Havoc Pennington * shell/eggfindbar.c (egg_find_bar_init): change buttons to previous/next instead of back/forward Tue Dec 21 18:26:24 2004 Owen Taylor * backend/ev-document.[ch]: Fix a couple of problems so it compile. Tue Dec 21 18:20:40 2004 Owen Taylor * viewer/* backend/* configure.ac Makefile.am: Move viewer directory to backend/ directory, rename EvViewer to EvDocument. 2004-12-21 Havoc Pennington * shell/ev-window.c: hook up the find bar widget; now we just need a document to find things in * shell/eggfindbar.c: a find bar widget Tue Dec 21 17:20:16 2004 Jonathan Blandford * shell/ev-sidebar.[ch]: initial sidebar boilerplate. Tue Dec 21 16:30:58 2004 Owen Taylor * pdf/**: Import of xpdf code from gpdf. * pdf/xpdf/xpdfconfig.h: Move the non-config.h config.h to xpdfconfig.h * pdf/splash/SplashFTFont.{cc,h} pdf/splash/SplashFTFont.h pdf/splash/SplashFTFontEngine.h pdf/splash/SplashFTFontFile.h: Fix FreeType includes. * pdf/xpdf/{Error.h GnomeVFSStream.cc ImageOutputDev.cc PDFDoc.cc\ pdffonts.cc pdfimages.cc pdfinfo.cc pdftoppm.cc pdftops.cc pdftotext.cc PSOutputDev.cc PSOutputDev.h SplashOutputDev.h Stream.cc TextOutputDev.cc XPDFApp.cc xpdf.cc XPDFViewer.cc pdf/xpdf/Error.h PSOutputDev.h SplashOutputDev.h}: Include xpdfconfig.h Tue Dec 21 16:08:17 2004 Jonathan Blandford * shell/ev-window.c (ev_window_dispose): dispose can be called multiple times. 2004-12-21 Havoc Pennington * shell/ev-window.c (ev_window_init): set title to Document Viewer rather than Evince * data/evince-ui.xml, shell/ev-window.c: add a bunch of stub menu items; really they should be synced with the strings, etc. from current gpdf, but just getting the boring typing out of the way 2004-12-21 Marco Pesenti Gritti * po/POTFILES.in: * shell/ev-application.c: (window_destroy_cb): * shell/ev-window.c: * shell/main.c: (main): Actually show the window... 2004-12-21 Marco Pesenti Gritti * Makefile.am: * shell/Makefile.am: * shell/ev-application.c: (ev_application_class_init): * shell/ev-window.c: (ev_window_dispose), (ev_window_class_init): Make it build again 2004-12-21 Marco Pesenti Gritti Import to gnome cvs. * Remove copies of gpdf and ggv trees. * Rip out all the recursive configure code. * Remove bonobo machinery. * viewer/*: GInterfaces that backends should/can implement. 2004-11-09 Martin Kretzschmar * shell/ev-window.c (ev_window_cmd_help_about): fix "documentors" typo 2004-10-28 Martin Kretzschmar * shell/ev-application.c (EV_APPLICATION_GET_PRIVATE) (ev_application_finalize, ev_application_class_init) (ev_application_init): use GType instance private data for priv. * shell/ev-window.c (EV_WINDOW_GET_PRIVATE) (ev_window_finalize, ev_window_class_init) (ev_window_init): ditto. 2004-10-27 Martin Kretzschmar * shell/ev-application.c (ev_application_new_window): make public (ev_application_show_initial_window): kill. * shell/ev-application.h: update prototypes. * shell/main.cc (main): inline ev_application_show_initial_window. 2004-10-27 Martin Kretzschmar * shell/ev-application.c (ev_application_new_window): impl. (ev_application_show_initial_window): use it. (is_window_empty, ev_application_get_empty_window): returns an existing empty window or a new one. (ev_application_open): from ev_window_cmd_file_open. * shell/ev-application.h: update prototypes * shell/ev-window.c (ev_window_is_empty): impl. (ev_window_open): make public. (ev_window_cmd_file_open): use ev_application_open * shell/ev-window.h: update prototypes, remove unused. 2004-10-26 Martin Kretzschmar * shell/ev-window.c (ev_window_destroy, ev_window_class_init): move destroy handler out of here... * shell/ev-application.c, shell/ev-application.h: ...into this new class. Also handles initial window creation. * shell/main.cc (main): use EvApplication to create initial window. 2004-10-26 Martin Kretzschmar * Makefile.am (SUBDIRS): add cut-n-paste * cut-n-paste/Makefile.am: add * configure.ac: generate Makefiles in cut-n-paste 2004-10-26 Martin Kretzschmar * shell/ev-window.c (ev_window_dispose): new, unref the ui_manager (ev_window_class_init): install ev_window_dispose. 2004-10-25 Martin Kretzschmar * shell/ev-window.h, shell/ev-window.c: replace gchar with char (gchar looks stupid). 2004-10-25 Martin Kretzschmar * po/de.po: updated German translation. 2004-10-25 Martin Kretzschmar * configure.ac: add more pkg-config library checks for gnome-vfs, bonobo etc. * gpdf/configure.in: temporarily disable libpaper checks. Otherwise I'd have to add the checks for the shell, too. 2004-10-24 Martin Kretzschmar * shell/ev-window.c (ev_window_cmd_file_open): add ps+pdf, ps, pdf and * file filters to the file choose. 2004-10-24 Martin Kretzschmar * po/de.po: Updated German translation. 2004-10-24 Martin Kretzschmar * shell/ev-window.c: use "S" as mnemonic for Statusbar. 2004-10-24 Martin Kretzschmar * data/evince-ui.xml: add View->Toolbar and View->Statusbar. * shell/ev-window.c (menu_item_select_cb, menu_item_select_cb) (ev_window_init): implement those menuitems. 2004-10-24 Martin Kretzschmar * data/evince-ui.xml: add a toolbar (with FileOpen action) * shell/ev-window.c (ev_window_init): use the toolbar. 2004-10-24 Martin Kretzschmar * shell/ev-window.c (ev_window_init): use menu translations 2004-10-24 Martin Kretzschmar * configure.ac: add "de" to ALL_LINGUAS. * po/de.po: add German translation. 2004-10-24 Martin Kretzschmar * Makefile.am (SUBDIRS): add po * configure.ac: check intltool, glib-gettext etc, generate po/Makefile.in * po, po/POTFILES.in, po/POTFILES.skip: new. 2004-10-24 Martin Kretzschmar * shell/Makefile.am (INCLUDES): define GNOMELOCALEDIR which we already use (#ifdef ENABLE_NLS) * shell/ev-window.c (ev_window_cmd_help_about): fix two star pointer indirection thinko. * shell/main.c: include gi18n.h for bindtextdomain etc. 2004-10-23 Martin Kretzschmar * shell/ev-window.c (menu_item_select_cb, menu_item_deselect_cb) (connect_proxy_cb, disconnect_proxy_cb, ev_window_init): show tooltips for menu items in the statusbar. 2004-10-23 Martin Kretzschmar * configure.ac, data/Makefile.am, shell/Makefile.am: use pkgdatadir drop UIDIR 2004-10-23 Martin Kretzschmar * data/evince-ui.xml: Add File->Open menu item * shell/ev-window.c (ev_window_cmd_file_open): impl. (shows a file chooser), hook it up in the ui manager. 2004-10-23 Martin Kretzschmar * shell/ev-window.c: fix Help->About tooltip. 2004-10-23 Martin Kretzschmar * configure.ac: set CFLAGS for libevprivate. * lib/ev-stock-icons.h, lib/ev-stock-icons.c: stock icon definitions, factory etc. * lib/Makefile.am: build libevprivate.a (only stock icon code). * shell/Makefile.am: link against libevprivate.a. * shell/ev-window.c (entries): add stock icon to Help->About. * shell/main.c (main): init stock icon code. 2004-10-23 Martin Kretzschmar * lib/recent-files: egg recent files code * lib/Makefile.am: add. * Makefile.am: add lib subdir. * configure.ac: gen. lib/Makefile and lib/recent-files/Makefile, set CFLAGS for recent-files. 2004-10-23 Martin Kretzschmar * configure.ac: disable -ansi and -pedantic gcc flags. They disable POSIX stuff in stdio.h, but egg-recent uses them. 2004-10-23 Martin Kretzschmar * configure.ac: add --disable-deprecated flag (defaults to on in "cvs" builds). * shell/Makefile.am (INCLUDES): use it. 2004-10-23 Martin Kretzschmar * shell/main.c: add missing #include. * shell/ev-window.c: fix for pedantic gcc. (ev_window_cmd_help_about): split license into paragraphs for translators and pedantic compilers. 2004-10-23 Martin Kretzschmar * configure.ac: add more warning flags if compiling with gcc from cvs (or explicitly requested with --enable-more-warnings). 2004-10-23 Martin Kretzschmar * data/evince-ui.xml: add File and File->Close menu. * shell/ev-window.c (ev_window_cmd_file_close_window): impl. (ev_window_destroy): quit after destroy. (ev_window_class_init): override GtkObject::destroy. (entries): install close_window callback. 2004-10-23 Martin Kretzschmar * Makefile.am (SUBDIRS): add data subdir. * configure.ac (UIDIR): gen data/Makefile, define UIDIR. Require gtk+ 2.5.0 for GtkAboutDialog. * data/Makefile.am, data/evince-ui.xml: add, ui definition for the main window. * shell/Makefile.am (INCLUDES): propagate UIDIR definition. * shell/ev-window.c (ev_window_init): create a menubar, using a ui manager. (ev_window_cmd_help_about): about command, using GtkAboutDialog. 2004-10-23 Martin Kretzschmar * shell/ev-window.c, shell/ev-window.h: Created an EvWindow class. 2004-10-22 Martin Kretzschmar * shell/main.c: make it a trivial gtk+ program, adjust configure.ac 2004-10-22 Martin Kretzschmar * shell/*: Added shell directory boilerplate, build it. 2004-10-22 Martin Kretzschmar * configure.ac, Makefile.am: Added top-level configure.ac and Makefile.am