| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Thu Aug 25 02:32:32 2005 Jonathan Blandford <jrb@redhat.com>
* backend/ev-document-misc.c:
(ev_document_misc_get_thumbnail_frame):
* backend/ev-document-misc.h:
* configure.ac:
* pdf/ev-poppler.cc:
* shell/Makefile.am:
* shell/ev-sidebar-thumbnails.c: (add_range),
(ev_sidebar_thumbnails_set_loading_icon),
(ev_sidebar_thumbnails_refresh),
(ev_sidebar_thumbnails_set_document):
* shell/ev-sidebar-thumbnails.h:
* shell/ev-view.c: (ev_view_motion_notify_event),
(ev_view_set_property), (ev_view_get_property),
(ev_view_class_init), (ev_view_set_rotation):
* shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
(ev_window_cmd_edit_rotate_right), (ev_window_rotation_changed_cb),
(ev_window_init):
* tiff/tiff-document.c: (tiff_document_thumbnails_get_thumbnail):
Redo rotation (again). prepare for 0.4.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2005-08-24 Marco Pesenti Gritti <mpg@redhat.com>
* backend/ev-async-renderer.c: (ev_async_renderer_render_pixbuf):
* backend/ev-async-renderer.h:
* ps/ps-document.c: (ps_document_init), (setup_pixmap),
(setup_page), (ps_document_get_page_size),
(ps_async_renderer_render_pixbuf):
* ps/ps-document.h:
* shell/ev-jobs.c: (ev_job_render_run):
Fix orientation in the postscript document
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2005-08-06 Kristian Høgsberg <krh@redhat.com>
* 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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Sat Aug 6 01:12:44 2005 Jonathan Blandford <jrb@redhat.com>
* 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-07-29 Marco Pesenti Gritti <mpg@redhat.com>
* 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 <mpg@redhat.com>
* 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...
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
| |
unused-function warning.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
* 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-08 Marco Pesenti Gritti <marco@gnome.org>
* backend/ev-document-factory.c:
(ev_document_factory_get_document):
Do not try to create the object if type
is invalid.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
* 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 <mpg@redhat.com>
* 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-05 Marco Pesenti Gritti <mpg@redhat.com>
* 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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fri Jul 1 00:10:15 2005 Jonathan Blandford <jrb@redhat.com>
* 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!
|
|
|
|
|
|
|
|
|
|
|
|
| |
Thu Jun 30 01:43:00 2005 Jonathan Blandford <jrb@redhat.com>
* 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-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
|
|
|
|
|
|
|
|
|
|
|
|
| |
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-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!
|
|
|
|
|
| |
load document in background and a statusbar to display this process.
FileChooser now can select multiple uris.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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-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-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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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-06-01 Marco Pesenti Gritti <mpg@redhat.com>
* 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 <mpg@redhat.com>
* backend/ev-link.c: (ev_link_class_init):
Allow -1 as page value (error)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
| |
Wed May 11 01:18:29 2005 Jonathan Blandford <jrb@redhat.com>
* pdf/ev-poppler.cc:
* backend/ev-page-cache.c: make page size calculation consistent
and set it to (int)( width * scale + 0.5). This makes the weird
line going through the middle of the page go away.
* shell/ev-view.c: move painting the background page after
checking the expose area covers us.
|
|
|
|
|
|
|
|
|
| |
2005-05-07 Juerg Billeter <j@bitron.ch>
* backend/ev-page-cache.c: (ev_page_cache_set_page_label):
Compare page labels even without has_labels set, fixes setting page
with entry
|
|
|
|
| |
page labels
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Sun Apr 24 01:07:27 2005 Jonathan Blandford <jrb@redhat.com>
* shell/ev-view.c: (find_page_at_location),
(get_link_at_location),
(ev_view_set_show_border), (ev_view_set_spacing),
(ev_view_zoom_for_size_continuous_and_dual_page),
(ev_view_zoom_for_size_continuous): Fix links for dual/continuous.
Also, add a quick fix measuring of widths. Also, removed
ev_view_set_spacing and ev_view_set_show_border.
* shell/ev-window.c: (ev_window_unfullscreen),
(ev_window_cmd_view_fullscreen): Don't adjust the border/spacing.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Sat Apr 23 13:13:04 2005 Jonathan Blandford <jrb@redhat.com>
* TODO:
* backend/ev-page-cache.c: (_ev_page_cache_new),
(ev_page_cache_get_max_width_size),
(ev_page_cache_get_max_height_size):
* backend/ev-page-cache.h:
* data/evince-ui.xml:
* shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init):
* shell/ev-view.c: (view_update_adjustments),
(view_update_range_and_current_page), (get_bounding_box_size),
(ev_view_size_request_continuous_and_dual_page),
(ev_view_size_request_continuous),
(ev_view_size_request_dual_page),
(ev_view_size_request_single_page), (ev_view_size_request),
(ev_view_size_allocate), (get_page_extents), (draw_one_page),
(ev_view_bin_expose), (ev_view_expose_event),
(ev_view_set_property), (ev_view_get_property),
(ev_view_class_init), (ev_view_init), (ev_view_new),
(page_changed_cb), (ev_view_zoom), (ev_view_set_continuous),
(ev_view_set_dual_page), (ev_view_set_full_screen),
(ev_view_set_presentation), (ev_view_set_sizing_mode),
(ev_view_can_zoom_in), (ev_view_can_zoom_out), (ev_view_zoom_in),
(ev_view_zoom_out), (zoom_for_size_fit_width),
(zoom_for_size_best_fit),
(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),
(ev_view_show_cursor), (ev_sizing_mode_get_type):
* shell/ev-view.h:
* shell/ev-window.c: (update_action_sensitivity),
(ev_window_cmd_continuous), (ev_window_cmd_dual),
(ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
(update_sizing_buttons), (ev_window_cmd_view_zoom_in),
(ev_window_cmd_view_zoom_out), (update_view_size),
(ev_window_set_sizing_mode), (ev_window_init):
Add Continuous and Dual page modes.
|
|
|
|
|
|
|
|
|
|
| |
Thu Apr 21 23:37:52 2005 Jonathan Blandford <jrb@redhat.com>
* shell/ev-pixbuf-cache.c (dispose_cache_job_info): actually
remove the job.
* backend/ev-document.h: Remove EV_DOC_MUTEX in favor of a locking
function. This helps debugging.
|
|
|
|
|
|
|
|
| |
2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
* backend/ev-document-info.h:
s/GDate */GDate so we can just use g_free
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
* backend/ev-document.c: (ev_document_class_init),
(ev_document_get_info), (ev_document_render_pixbuf):
* backend/ev-document.h:
* backend/ev-page-cache.c: (_ev_page_cache_new):
* pdf/ev-poppler.cc:
* pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
(pixbuf_document_get_info), (pixbuf_document_document_iface_init):
* ps/ps-document.c: (ps_document_class_init), (document_load),
(ps_document_get_info), (ps_document_document_iface_init):
Remove get_title from the interface, we can just use document info
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
* backend/Makefile.am:
* backend/ev-document.c: (ev_document_render_get_info):
* backend/ev-document.h:
* pdf/ev-poppler.cc:
Initial support for document info. Based on jrb patch.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
* backend/ev-page-cache.c: (ev_page_cache_init),
(_ev_page_cache_new):
Remove some assertions, documents can have 0 pages.
Make initial current page -1.
* shell/ev-page-action.c: (page_changed_cb):
Show "" if current page is -1
* shell/ev-window.c: (update_action_sensitivity),
(ev_window_setup_document):
When document has 0 pages do not set the view
and make nearly everything insensitive.
|
|
|
|
|
|
|
|
| |
2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
* backend/ev-page-cache.c: (_ev_page_cache_new):
Fix several page size caching bugs
|