| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2005-06-16 Marco Pesenti Gritti <mpg@redhat.com>
* 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
|
|
|
|
| |
thumbnailer page
|
|
|
|
|
|
|
|
| |
2005-06-15 Christian Persch <chpe@cvs.gnome.org>
* shell/ev-properties.c: (update_progress_label):
Hide the progress label when finished; bug #307697.
|
|
|
|
|
|
|
|
|
|
|
|
| |
2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
* 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 <mpg@redhat.com>
* 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 <mpg@redhat.com>
* 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 <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
* 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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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 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.
|
|
|
|
|
| |
load document in background and a statusbar to display this process.
FileChooser now can select multiple uris.
|
|
|
|
| |
306545
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
* 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 <mpg@redhat.com>
* shell/ev-sidebar-links.c: (job_finished_callback),
(ev_sidebar_links_set_document):
Cleanup the old job when changing document
|
| |
|
| |
|
|
|
|
|
| |
* shell/ev-window.c (ev_window_cmd_file_properties): fix
compilation.
|
|
|
|
| |
problems on startup. Make properties window transient to parent.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
* 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 <mpg@redhat.com>
* 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 <jrb@redhat.com>
* 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.
|
|
|
|
| |
strftime result needs to be converted to UTF-8. Thanks to chpe.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
* 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-03 Marco Pesenti Gritti <mpg@redhat.com>
* 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 <emil@soleyman.com>.
Needs love see #169583
|
|
|
|
|
|
|
|
|
|
| |
2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
* 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 <mpg@redhat.com>
* shell/ev-view.c: (ev_view_set_document):
Release ref on the pixbuf cache when changing
document.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
* 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 <nshmyrev@yandex.ru>.
Fix bug 305377
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Sat May 28 07:38:03 2005 Jonathan Blandford <jrb@redhat.com>
* 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.
|
| |
|
|
|
|
|
| |
"zoom" property and make zoom control change it's value on
notify::zoom signals. Fix for 305080.
|
| |
|
|
|
|
|
|
| |
Sat May 21 23:18:30 2005 Jonathan Blandford <jrb@redhat.com>
* tiff/tiff-document.c: Rough TIFF backend.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2005-05-21 Marco Pesenti Gritti <mpg@redhat.com>
* shell/ev-view.c: (jump_to_find_result), (ev_view_can_find_next),
(ev_view_find_next), (ev_view_find_previous):
Remove the locks around get_n_results
2005-05-21 Juerg Billeter <j@bitron.ch>
* pdf/ev-poppler.c: (pdf_document_ps_exporter_begin):
Pass correct number of pages to poppler.
|
|
|
|
|
|
|
|
|
|
|
| |
Sat May 21 00:21:30 2005 Jonathan Blandford <jrb@redhat.com>
* shell/ev-view.c: (view_update_adjustments),
(view_set_adjustment_values): cast adjustmen->value to (int)
before using it. Otherwise, we get off by a pixel in some
situations.
(draw_one_page): Draw the border on expose.
|
|
|
|
|
|
|
| |
Fri May 20 22:05:25 2005 Jonathan Blandford <jrb@redhat.com>
* *shell/ev-view.c: Patch from Nickolay V. Shmyrev to reset the
adjustment when the mode changes, #304923
|
| |
|
|
|
|
|
|
|
| |
Fri May 20 01:46:57 2005 Jonathan Blandford <jrb@redhat.com>
* shell/ev-view.c: Patch from Nickolay Shmyrev to fix the -p
option, #170458
|
|
|
|
|
|
|
| |
Fri May 20 01:27:01 2005 Jonathan Blandford <jrb@redhat.com>
* shell/ev-view.c: Patch from Nickolay Shmyrev to to scroll to
second page on page_changed if possible, #304669
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fri May 20 01:07:15 2005 Jonathan Blandford <jrb@redhat.com>
* shell/ev-view.c (view_update_adjustments): Use gdk_window_scroll
instead of gtk_widget_queue_draw. Massive speedups in scrolling.
Fri May 20 01:05:10 2005 Jonathan Blandford <jrb@redhat.com>
* .cvsignore:
* shell/ev-view.c:(ev_view_size_allocate), (ev_view_class_init),
(zoom_for_size_fit_width), (zoom_for_size_best_fit),
(ev_view_zoom_for_size_presentation),
(ev_view_zoom_for_size_continuous_and_dual_page),
(ev_view_zoom_for_size_continuous),
(ev_view_zoom_for_size_dual_page),
(ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size):
* shell/ev-view.h:
* shell/ev-window.c: (update_view_size),
(ev_window_sizing_mode_changed_cb):
Patch from Nickolay Shmyrev <nshmyrev@yandex.ru> to handle
the scrollbars. It's not 100% right, but it's much closer. Kills
an infinite loop, #304769
|
|
|
|
|
|
|
|
|
|
| |
2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
* data/evince-ui.xml:
* shell/ev-view.c: (ev_view_scroll_view), (ev_view_class_init):
* shell/ev-window.c: (set_view_actions_sensitivity):
Make PgUp/Down behave like Space
|
|
|
|
|
|
|
|
|
|
|
|
| |
2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
* backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
* backend/ev-ps-exporter.h:
* pdf/ev-poppler.cc:
* ps/ps-document.c: (ps_document_ps_export_begin):
* shell/ev-print-job.c: (idle_print_handler):
Adapt to new poppler api
|
|
|
|
|
|
|
| |
2005-05-18 James Bowes <bowes@cs.dal.ca>
* shell/ev-window.c: (ev_window_init): Give focus to the ev-view,
rather than the scrolled_window that it's in. Fixes bug #304655.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Tue May 17 22:54:17 2005 Jonathan Blandford <jrb@redhat.com>
* shell/ev-view.c: (view_update_adjustments),
(view_set_adjustment_values), (view_update_range_and_current_page),
(view_scroll_to_page), (set_scroll_adjustment),
(ev_view_set_scroll_adjustments), (add_scroll_binding_keypad),
(ev_view_scroll), (ev_view_scroll_view),
(ensure_rectangle_is_visible), (find_page_at_location),
(get_link_at_location), (go_to_link), (status_message_from_link),
(ev_view_size_request_continuous_dual_page),
(ev_view_size_request), (ev_view_size_allocate), (ev_view_realize),
(ev_view_unrealize), (ev_view_expose_event),
(ev_view_button_press_event), (ev_view_motion_notify_event),
(ev_view_button_release_event), (ev_gdk_color_to_rgb),
(draw_rubberband), (highlight_find_results), (draw_one_page),
(ev_view_finalize), (ev_view_destroy), (ev_view_class_init),
(ev_view_init), (find_changed_cb), (page_changed_cb),
(on_adjustment_value_changed), (ev_view_new),
(ev_view_set_document), (ev_view_set_zoom),
(ev_view_set_continuous), (ev_view_set_dual_page),
(ev_view_set_presentation), (ev_view_zoom_in), (ev_view_zoom_out),
(zoom_for_size_fit_width), (zoom_for_size_best_fit),
(ev_view_zoom_for_size_presentation),
(ev_view_zoom_for_size_continuous_dual_page),
(ev_view_zoom_for_size_continuous),
(ev_view_zoom_for_size_dual_page),
(ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
(ev_view_get_status), (ev_view_set_status),
(update_find_status_message), (ev_view_get_find_status),
(ev_view_set_find_status), (jump_to_find_result),
(jump_to_find_page), (compute_selections), (clear_selection),
(ev_view_select_all), (get_selected_text), (ev_view_copy),
(ev_view_primary_get_cb), (ev_view_primary_clear_cb),
(ev_view_update_primary_selection),
(ev_view_create_invisible_cursor), (ev_view_set_cursor):
* shell/ev-view.h:
* shell/ev-window.c: (ev_window_open_page_label),
(ev_window_cmd_view_reload), (ev_window_sizing_mode_changed_cb),
(ev_window_init):
* shell/ev-window.h:
* shell/main.c: (load_files):
Massive code clean up from Nickolay Shmyrev. Keep page offset
when resizing. Remove the bin_window(). Also, patch from James
Bowes to fix command line page, #300641
|
|
|
|
|
|
|
|
|
|
|
| |
2005-05-17 Marco Pesenti Gritti <mpg@redhat.com>
* data/evince-ui.xml:
* shell/ev-view.c:
* shell/ev-view.h:
* shell/ev-window.c: (update_action_sensitivity):
Get rid of View->Normal Size, it's just confusing
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Tue May 17 00:51:21 2005 Jonathan Blandford <jrb@redhat.com>
* backend/ev-document-info.h:
* backend/ev-document.c: (ev_document_info_free): Free the
EvDocumentInfo.
* shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
(clear_range), (add_range), (update_visible_range),
(adjustment_changed_cb), (ev_sidebar_thumbnails_init),
(ev_sidebar_thumbnails_set_document):
* shell/ev-window.c: (ev_window_setup_document): Only render the
visible thumbnails. It takes an instant to render, but it uses
much less memory.
|