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