| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
2006-08-21 Carlos Garcia Campos <carlosgc@gnome.org>
* backend/ev-document-factory.c: (ev_document_factory_get_document):
Fix crash when opening a pdf with password protection.
|
|
|
|
|
|
|
|
|
|
|
| |
2006-08-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
* backend/ev-document-factory.c:
(ev_document_factory_get_document):
* tiff/tiff-document.c: (tiff_document_finalize):
More correct handling of document loading. Fixes
bug #349043.
|
|
|
|
|
|
|
| |
2006-08-14 Carlos Garcia Campos <carlosgc@gnome.org>
* backend/ev-attachment.c: (ev_attachment_save):
Remove GNOME_VFS_OPEN_TRUNCATE flag which is only available with
gnome-vfs >= 2.9.3 and it's not really needed. Fixes bug #351493
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2006-07-11 Bastien Nocera <hadess@hadess.net>
* Makefile.am:
* backend/Makefile.am:
* backend/ev-document-factory.c: (ev_document_factory_add_filters):
* backend/ev-document-factory.h:
* configure.ac:
* impress/.cvsignore:
* impress/Makefile.am:
* impress/common.h:
* impress/document.c: (_imp_load_xml), (imp_open), (imp_nr_pages),
(imp_get_page), (imp_next_page), (imp_prev_page),
(imp_get_page_no), (imp_get_page_name), (imp_get_xml), (imp_close):
* impress/f_oasis.c: (render_object), (render_page),
(get_geometry), (_imp_oasis_load):
* impress/f_oo13.c: (render_object), (render_page), (get_geometry),
(_imp_oo13_load):
* impress/iksemel.c: (iks_malloc), (iks_free), (iks_set_mem_funcs),
(iks_strdup), (iks_strcat), (iks_strcmp), (iks_strcasecmp),
(iks_strncmp), (iks_strncasecmp), (iks_strlen), (iks_escape),
(iks_unescape), (find_space), (iks_stack_new), (iks_stack_alloc),
(iks_stack_strdup), (iks_stack_strcat), (iks_stack_stat),
(iks_stack_delete), (iks_sax_new), (iks_sax_extend),
(iks_parser_stack), (iks_user_data), (iks_nr_bytes),
(iks_nr_lines), (stack_init), (stack_expand), (sax_core),
(iks_parse), (iks_parser_reset), (iks_parser_delete), (iks_new),
(iks_new_within), (iks_insert), (iks_insert_cdata),
(iks_insert_attrib), (iks_insert_node), (iks_hide), (iks_delete),
(iks_next), (iks_next_tag), (iks_prev), (iks_prev_tag),
(iks_parent), (iks_root), (iks_child), (iks_first_tag),
(iks_attrib), (iks_find), (iks_find_cdata), (iks_find_attrib),
(iks_find_with_attrib), (iks_stack), (iks_type), (iks_name),
(iks_cdata), (iks_cdata_size), (iks_has_children),
(iks_has_attribs), (escape_size), (my_strcat), (escape),
(iks_string), (iks_copy_within), (iks_copy), (tagHook),
(cdataHook), (deleteHook), (iks_dom_new), (iks_set_size_hint),
(iks_tree), (iks_load), (iks_save):
* impress/iksemel.h:
* impress/imposter.h:
* impress/impress-document.c: (G_DEFINE_TYPE_WITH_CODE),
(imp_render_draw_bezier_real), (imp_render_get_size),
(imp_render_set_fg_color), (imp_render_draw_line),
(imp_render_draw_rect), (imp_render_draw_polygon),
(imp_render_draw_arc), (imp_render_draw_bezier),
(imp_render_open_image), (imp_render_get_image_size),
(imp_render_scale_image), (imp_render_draw_image),
(imp_render_close_image), (imp_render_markup),
(imp_render_get_text_size), (imp_render_draw_text),
(impress_document_load), (impress_document_save),
(impress_document_get_n_pages), (impress_document_get_page_size),
(imp_render_get_from_drawable), (impress_document_render_pixbuf),
(impress_document_finalize), (impress_document_class_init),
(impress_document_can_get_text), (impress_document_get_info),
(impress_document_document_iface_init),
(impress_document_thumbnails_get_thumbnail),
(impress_document_thumbnails_get_dimensions),
(impress_document_document_thumbnails_iface_init),
(impress_document_init):
* impress/impress-document.h:
* impress/internal.h:
* impress/r_back.c: (_imp_fill_back):
* impress/r_draw.c: (_imp_draw_rect), (_imp_draw_line_end),
(_imp_draw_image), (_imp_tile_image):
* impress/r_geometry.c: (r_parse_color), (r_get_color), (fg_color),
(r_get_x), (r_get_y), (r_get_angle), (r_get_viewbox), (r_polygon),
(r_polyline):
* impress/r_gradient.c: (poly_rotate), (r_draw_gradient_simple),
(r_draw_gradient_complex), (r_draw_gradient):
* impress/r_style.c: (get_style), (r_get_style), (get_style_x),
(r_get_bullet):
* impress/r_text.c: (add_line), (add_span), (calc_sizes),
(calc_pos), (_imp_draw_layout), (text_span), (text_p), (text_list),
(r_text):
* impress/render.c: (imp_create_context), (imp_context_set_page),
(imp_context_set_step), (imp_render), (imp_delete_context):
* impress/render.h:
* impress/zip.c: (zip_error), (find_cd), (get_long), (get_word),
(list_files), (zip_open), (zip_close), (find_file), (seek_file),
(zip_load_xml), (zip_get_size), (zip_load):
* impress/zip.h:
* shell/ev-utils.c:
New backend to support impress slides. Fixes bug #30867.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* backend/ev-attachment.c: (ev_attachment_save),
(ev_attachment_launch_app), (ev_attachment_open):
* backend/ev-document-factory.c: (get_document_from_uri):
* cut-n-paste/recent-files/egg-recent-view-uimanager.c:
(egg_recent_view_uimanager_set_list):
* ps/ps-document.c: (check_filecompressed), (document_load),
(ps_document_load):
* shell/ev-metadata-manager.c: (load_values):
* shell/ev-password.c: (ev_password_dialog_set_property):
* shell/ev-view.c: (tip_from_link):
* shell/ev-window.c: (file_save_dialog_response_cb),
(ev_window_print_dialog_response_cb):
Use consistent quoting style. Fix for the bug #320285.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* backend/ev-link-dest.c: (ev_link_dest_type_get_type),
(ev_link_dest_get_page_label), (ev_link_dest_get_property),
(ev_link_dest_set_property), (ev_link_dest_finalize),
(ev_link_dest_class_init), (ev_link_dest_new_named),
(ev_link_dest_new_page_label):
* backend/ev-link-dest.h:
* shell/ev-application.c: (ev_application_open_uri):
* shell/ev-view.c: (goto_dest):
* shell/ev-window.c:
* shell/ev-window.h:
Fix page-label command line option. Bug #342070.
|
|
|
|
|
|
|
|
|
|
| |
2006-05-03 Carlos Garcia Campos <carlosgc@gnome.org>
* backend/ev-link-action.[ch]:
* pdf/ev-poppler.cc: (ev_link_from_action):
* shell/ev-view-private.h:
* shell/ev-view.c: (ev_view_handle_link), (tip_from_action_named):
* shell/ev-window.c: (do_action_named), (view_external_link_cb):
Add support for Named Action links
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2006-05-02 Carlos Garcia Campos <carlosgc@gnome.org>
* backend/Makefile.am:
* backend/ev-document-links.[ch]:
* backend/ev-document.[ch]:
* backend/ev-link-action.[ch]:
* backend/ev-link-dest.[ch]:
* backend/ev-link.[ch]:
* pdf/ev-poppler.cc: (pdf_document_find_link_dest),
(ev_link_dest_from_dest), (ev_link_from_action), (build_tree):
* shell/ev-page-action.c: (build_new_tree_cb):
* shell/ev-sidebar-links.c: (get_page_from_dest), (print_section_cb),
(links_page_num_func), (update_page_callback):
* shell/ev-view.[ch]: (ev_view_goto_dest), (ev_view_handle_link),
(tip_from_link):
* shell/ev-jobs.c:
* shell/ev-window.[ch]: (ev_window_open_uri),
(sidebar_links_link_activated_cb), (ev_view_popup_cmd_open_link):
* shell/ev-application.[ch]: (ev_application_open_window),
(ev_application_open_uri):
Rework links system, it adds support for remote links now and it makes
easier to add new kinds of actions and destinations. Fixes bug #317292
|
|
|
|
|
|
|
|
| |
2006-04-29 Carlos Garcia Campos <carlosgc@gnome.org>
* backend/ev-attachment.c:
* shell/ev-attachment-bar.c:
* shell/ev-window.c:
Allow multiple selection of attachments
|
|
|
|
|
|
| |
2006-04-06 Carlos Garcia Campos <carlosgc@gnome.org>
* backend/ev-document-factory.c:
Do not load the document twice when there isn't errors
|
|
|
|
|
|
|
| |
2006-04-03 Carlos Garcia Campos <carlosgc@gnome.org>
* backend/ev-attachment.c:
Fix a crash when there isn't a default application to open an
attachment
|
| |
|
|
|
|
|
|
|
| |
2006-04-03 Carlos Garcia Campos <carlosgc@gnome.org>
* backend/ev-attachment.[ch]:
* shell/ev-attachment-bar.[ch]:
Added missing files.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* backend/Makefile.am:
* data/evince-ui.xml:
* backend/ev-attachment.[ch]:
* backend/ev-document.[ch]: (ev_document_has_attachments),
(ev_document_get_attachments):
* pdf/ev-poppler.cc: (pdf_document_has_attachments),
(attachment_save_to_buffer), (pdf_document_get_attachments),
(pdf_document_document_iface_init):
* shell/Makefile.am:
* shell/ev-attachment-bar.[ch]:
* shell/ev-window.c:
Add support for PDF attachments. Fixes bug #325143
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* backend/ev-document-factory.c: (get_document_from_uri),
(ev_document_factory_get_document):
* backend/ev-document-factory.h:
* properties/ev-properties-main.c: (ev_properties_get_pages):
* shell/Makefile.am:
* 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-job-queue.h:
* shell/ev-job-xfer.c:
* shell/ev-job-xfer.h:
* shell/ev-jobs.c: (ev_job_fonts_init), (ev_job_fonts_class_init),
(ev_job_fonts_new), (ev_job_fonts_run), (ev_job_xfer_init),
(ev_job_xfer_dispose), (ev_job_xfer_class_init), (ev_job_xfer_new),
(ev_job_xfer_run):
* shell/ev-jobs.h:
* shell/ev-window.c: (ev_window_is_empty),
(password_dialog_response), (ev_window_clear_xfer_job),
(ev_window_xfer_job_cb), (ev_window_open_uri),
(ev_window_cmd_focus_page_selector),
(ev_window_cmd_scroll_forward), (ev_window_cmd_scroll_backward),
(ev_window_cmd_continuous), (ev_window_cmd_dual),
(ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
(ev_window_dispose):
* thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
* Cleanup mime type detection on document load. Fix for the
bug #336448.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* backend/ev-document-factory.c:
(ev_document_factory_get_from_mime),
(ev_document_factory_get_all_mime_types), (get_document_from_uri),
(ev_document_factory_get_document),
(file_filter_add_mime_list_and_free),
(ev_document_factory_add_filters):
* backend/ev-document-factory.h:
* properties/ev-properties-main.c: (ev_properties_get_pages):
* shell/Makefile.am:
* shell/ev-application.c:
* shell/ev-job-xfer.c: (ev_job_xfer_run):
* shell/ev-window.c: (ev_window_cmd_file_open),
(ev_window_cmd_save_as):
* thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
Rework factory functions so they are placed now in a single
file ev-document-factory.c
|
|
|
|
|
|
|
|
|
| |
* backend/ev-document-misc.c: (ev_document_misc_paint_one_page):
* backend/ev-document-misc.h:
* shell/ev-view.c: (draw_one_page):
Clairfy what page the toolbar page number applies to. Fix
for the bug #328102.
|
|
|
|
|
|
|
|
| |
2006-01-18 Jani Monoses <jani.monoses@gmail.com>
* backend/ev-document-factory.c: (ev_document_factory_get_backend):
Fix crash when saving pixbuf.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* backend/ev-document-factory.c: (gdk_pixbuf_mime_type_list),
(mime_type_supported_by_gdk_pixbuf),
(ev_document_factory_get_mime_types),
(ev_document_factory_get_all_mime_types):
Don't add pixbuf mime types if pixbuf backend is disabled.
* shell/ev-application.c: (ev_application_get_uri_window):
Fix for the bug 325815 - unhandled MIME type message doesn't
appear a second time.
* shell/ev-document-types.c: (ev_document_types_add_filters):
* shell/ev-window.c: (page_changed_cb), (ev_window_setup_document),
(password_dialog_response), (ev_window_popup_password_dialog),
(ev_window_load_job_cb), (ev_window_sidebar_position_change_cb),
(ev_window_run_fullscreen), (ev_window_stop_fullscreen),
(ev_window_run_presentation), (ev_window_stop_presentation),
(save_sizing_mode), (ev_window_zoom_changed_cb),
(ev_window_continuous_changed_cb), (ev_window_rotation_changed_cb),
(ev_window_dual_mode_changed_cb),
(ev_window_sidebar_current_page_changed_cb),
(ev_window_sidebar_visibility_changed_cb), (ev_window_dispose),
(window_state_event_cb), (window_configure_event_cb):
Cleanup additional uris holded by EvWindow.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* backend/ev-link.c: (ev_link_get_page), (ev_link_init):
* shell/ev-page-action.c: (build_new_tree_cb):
* shell/ev-sidebar-links.c: (links_page_num_func),
(update_page_callback_foreach), (update_page_callback):
* shell/ev-view.c: (scroll_to_current_page):
Fix for the bug #325067 with more intelligent selection
of current link in sidebar. Make sidebar handle links
of FITR-like type more correctly.
* dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
(dvi_pixbuf_put_pixel):
Fix memory consumtion with disabled alpha channel.
|
|
|
|
|
|
|
|
|
|
|
|
| |
2005-12-21 Eduardo Lima <eduardo.lima@indt.org.br>
* Makefile.am:
* configure.ac:
* backend/Makefile.am:
* backend/ev-document-factory.c:
* shell/ev-document-types.c:
Included option in configure to make ps backend
compilation optional with --disable-ps.
|
|
|
|
|
|
|
|
|
|
|
| |
* backend/ev-document-factory.c:
* comics/Makefile.am:
* comics/comics-document.c: (comics_document_load):
* comics/ev-cbr-mime.xml:
* configure.ac:
Comics mime types are added to shared-mime-info CVS. Now
we don't need to install our own mime types.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2005-11-14 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
* Makefile.am:
* backend/Makefile.am:
* backend/ev-document-factory.c:
* backend/ev-document-factory.h:
* comics/Makefile.am:
* comics/comics-document.c: (G_DEFINE_TYPE_WITH_CODE),
(comics_document_load), (comics_document_save),
(comics_document_get_n_pages), (comics_document_get_page_size),
(get_page_size_area_prepared_cb), (comics_document_render_pixbuf) (render_pixbuf_size_prepared_cb), (comics_document_finalize),
(comics_document_class_init), (comics_document_can_get_text),
(comics_document_get_info), (comics_document_document_iface_init),
(comics_document_init), (get_supported_image_extensions),
(comics_document_thumbnails_get_geometry),
(comics_document_thumbnails_get_thumbnail),
(comics_document_thumbnails_get_dimensions),
(comics_document_document_thumbnails_iface_init), (extract_argv):
* comics/comics-document.h:
* comics/ev-cbr-mime.xml:
* configure.ac:
* po/POTFILES.in:
* shell/ev-application.c: (ev_application_register_service):
* shell/ev-document-types.c: (ev_document_types_add_filters):
* thumbnailer/Makefile.am:
* thumbnailer/evince-thumbnailer-comics.schemas.in:
New CBR/CBZ backend for comic books.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2005-09-26 Marco Pesenti Gritti <mpg@redhat.com>
* backend/ev-link.c: (ev_link_type_get_type),
(ev_link_get_filename), (ev_link_get_params),
(ev_link_get_property), (ev_link_set_property),
(ev_window_dispose), (ev_link_class_init), (ev_link_new_launch):
* backend/ev-link.h:
* pdf/ev-poppler.cc:
* shell/ev-view.c: (ev_view_goto_link), (ev_view_class_init):
* shell/ev-window.c: (launch_link), (view_external_link_cb),
(ev_window_init):
Implement launch links. Delegate external link opening to
the window.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2005-09-24 Marco Pesenti Gritti <mpg@redhat.com>
* backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_bottom),
(ev_link_get_right), (ev_link_get_property),
(ev_link_set_property), (ev_link_class_init),
(ev_link_new_page_fitv), (ev_link_new_page_fitr):
* backend/ev-link.h:
* pdf/ev-poppler.cc:
* shell/ev-view.c: (goto_fitr_link), (ev_view_goto_link):
Implement fitr links
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2005-09-24 Marco Pesenti Gritti <mpg@redhat.com>
* backend/ev-link.c: (ev_link_type_get_type),
(ev_link_new_page_fith), (ev_link_new_page_fitv):
* backend/ev-link.h:
* pdf/ev-poppler.cc:
* shell/ev-view.c: (goto_fitv_link), (goto_fith_link),
(ev_view_goto_link), (ev_view_size_request_continuous_dual_page),
(ev_view_size_request_continuous),
(ev_view_size_request_dual_page),
(ev_view_size_request_single_page), (ev_view_size_allocate),
(zoom_for_size_fit_height),
(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_sizing_mode_get_type):
* shell/ev-view.h:
* shell/ev-window.c: (ev_window_sizing_mode_changed_cb):
Implement FIT_HEIGHT mode (only for links).
Implement FITH links
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
* backend/ev-link.c: (ev_link_type_get_type),
(ev_link_new_page_xyz), (ev_link_new_page_fit),
(ev_link_new_page_fith):
* backend/ev-link.h:
* pdf/ev-poppler.cc:
* shell/ev-view.c: (goto_fith_link), (ev_view_goto_link):
Implement FIT and FITH links
|
|
|
|
|
|
|
|
| |
2005-09-16 Marco Pesenti Gritti <mpg@redhat.com>
* backend/ev-link.c: (ev_link_class_init):
Allow negative doubles in left/top properties
|
|
|
|
|
|
|
|
|
|
| |
2005-09-08 Marco Pesenti Gritti <mpg@redhat.com>
* backend/ev-link.c: (ev_link_new_page_xyz):
* pdf/ev-poppler.cc:
* shell/ev-view.c: (goto_xyz_link), (ev_view_goto_link):
Fix some bugs with xyz links, respect zoom
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2005-09-07 Marco Pesenti Gritti <mpg@redhat.com>
* backend/ev-document.h:
* backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_top),
(ev_link_get_left), (ev_link_get_zoom), (ev_link_get_property),
(ev_link_set_property), (ev_window_dispose), (ev_link_class_init),
(ev_link_new_page), (ev_link_new_page_xyz):
* backend/ev-link.h:
* pdf/ev-poppler.cc:
* shell/ev-view.c: (doc_point_to_view_point), (scroll_to_xyz_link),
(go_to_link), (tip_from_link):
Implement xyz links, still not functional. Links are a total
mess, will need to refactor and bugfix a lot :(
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|