| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
Tue Aug 9 02:17:13 2005 Jonathan Blandford <jrb@redhat.com>
* shell/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
* shell/ev-jobs.h: Make thread safe.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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...
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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-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.
|
|
load document in background and a statusbar to display this process.
FileChooser now can select multiple uris.
|