]> www.fi.muni.cz Git - evince.git/blobdiff - ChangeLog
Implement orientation here too
[evince.git] / ChangeLog
index e20c0df4d6bf78c4ace6b135c6832f157d9475be..d7fdf661edf28e2213ff8d2472d67b4f15377731 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,315 @@
+2005-06-14  Marco Pesenti Gritti <mpg@redhat.com>
+
+       * 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 <mpg@redhat.com>
+
+       * 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 <mpg@redhat.com>
+
+       * 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 <mpg@redhat.com>
+
+       * 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 <nshmyrev@yandex.ru>
+
+       * 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 <mpg@redhat.com>
+
+       * 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  <jrb@redhat.com>
+
+       * 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  <nshmyrev@yandex.ru>
+
+       * 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 <carlosgc@gnome.org>
+  
+       * 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  <nshmyrev@yandex.ru>
+
+       * 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 <mpg@redhat.com>
+
+       * 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 <mpg@redhat.com>
+
+       * 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  <<nshmyrev@yandex.ru>>
+
+       * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose):
+
+       Cleanup links job on exit.
+
+2005-06-07  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
+
+       * 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 <mpg@redhat.com>
 
        * ps/ps-document.c: (start_interpreter):