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