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