| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
| |
2005-07-05 Christian Persch <chpe@cvs.gnome.org>
* properties/ev-properties-view.c: (ev_properties_view_set_info):
Plug a mem leak.
* shell/ev-properties-dialog.c: (ev_properties_dialog_init):
HIG spacings.
|
|
|
|
|
|
|
|
|
| |
2005-07-04 Matthew S. Wilson <msw@rpath.com>
* shell/ev-properties-dialog.c
(ev_properties_dialog_set_document): only call
ev_properties_fonts_set_document() if the document implements the
fonts interface
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
* configure.ac:
* properties/Makefile.am:
* properties/ev-properties-view.c:
(ev_properties_view_register_type):
* properties/ev-properties-view.h:
* properties/ev-properties-main.h:
Implement nautilus plugin for properties.
Works only for pdf atm, I need to rework the
document types stuff to get this to work
for all backends...
|
|
|
|
|
| |
(ev_properties_fonts_set_document): use
EV_DOCUMENT_FONTS_COLUMN_NUM_COLUMNS.
|
|
|
|
|
|
|
|
|
| |
2005-07-04 Matthew S. Wilson <msw@rpath.com>
* tiff/tiff2ps.c: remove TRUE and FALSE definitions, glib provides
them
(PlaceImage, tiff2ps_process_page): use
g_ascii_dtostr to convert floats to strings in a locale-safe way.
|
|
|
|
|
|
|
|
| |
* shell/main.c: include libgnomeui/gnome-authentication-manager.h
(main): to call gnome_authentication_manager_init. Should fix
Bug #308510
* configure.ac: that requires libgnomeui 2.6.0.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2005-07-04 Matthew S. Wilson <msw@rpath.com>
* tiff/tiff-document.c (tiff_document_ps_export_begin)
(tiff_document_ps_export_do_page, tiff_document_ps_export_end):
use the new tiff2ps interfaces
* tiff/tiff2ps.h (tiff2ps_context_new, tiff2ps_process_page)
(tiff2ps_context_finalize): implement new interfaces for tiff2ps
* tiff/tiff2ps.c: refactor tiff2ps code to use a context
structure instead of global variables. Remove use of static
variables in functions.
|
| |
|
|
|
|
|
|
|
| |
2005-07-04 Matthew S. Wilson <msw@rpath.com>
* tiff/tiff2ps.c (generateEPSF): disable generating encapsulated
postscript files
|
|
|
|
|
|
|
|
| |
2005-07-04 Matthew S. Wilson <msw@rpath.com>
* shell/ev-window.c (update_action_sensitivity): disable
File->Print if the document does not implement the ps exporter
interface
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2005-07-04 Marco Pesenti Gritti <mpg@redhat.com>
* Makefile.am:
* configure.ac:
* data/evince-properties.glade:
* properties/.cvsignore:
* properties/Makefile.am:
* properties/ev-properties-view.c: (ev_properties_view_dispose),
(ev_properties_view_class_init), (ev_properties_view_format_date),
(make_valid_utf8), (set_property), (ev_properties_view_set_info),
(ev_properties_view_init), (ev_properties_view_new):
* properties/ev-properties-view.h:
* shell/Makefile.am:
* shell/ev-properties-dialog.c: (ev_properties_dialog_class_init),
(ev_properties_dialog_init), (ev_properties_dialog_set_document),
(ev_properties_dialog_new):
* shell/ev-properties-dialog.h:
* shell/ev-properties-fonts.c: (ev_properties_fonts_dispose),
(ev_properties_fonts_class_init), (ev_properties_fonts_init),
(update_progress_label), (job_fonts_finished_cb),
(ev_properties_fonts_set_document), (ev_properties_fonts_new):
* shell/ev-properties-fonts.h:
* shell/ev-properties.c:
* shell/ev-properties.h:
* shell/ev-window.c: (ev_window_setup_document),
(ev_window_cmd_file_properties):
Split the properties pages in two different objects, depend
only on the backend where possible, use widgets instead
of gobject for the glade part, reimplement the dialog
itself with gtk.
I need this to implement nautilus properties page.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2005-07-03 Matthew S. Wilson <msw@rpath.com>
* tiff/tiff-document.c (tiff_document_ps_export_begin)
(tiff_document_ps_export_do_page, tiff_document_ps_export_end)
(tiff_document_document_ps_exporter_iface_init): implement the ps
exporter interface for tiff documents
* tiff/tiff2ps.c: added a modified version of tiff2ps.c from
libtiff to implement TIFF postscript export
* tiff/tiff2ps.h: added a header file for external tiff2ps
functions.
* tiff/Makefile.am (libtiffdocument_la_SOURCES): add tiff2ps.c and
tiff2ps.h
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* shell/ev-window.c: (update_document_mode),
(ev_window_run_fullscreen), (ev_window_stop_fullscreen),
(ev_window_cmd_view_fullscreen), (ev_window_stop_presentation),
(ev_window_cmd_view_presentation), (ev_window_cmd_escape):
Exit from fullscreen mode when switch to presentation. Fix for
bug 309365
|
|
|
|
|
|
|
|
| |
2005-07-02 Matthew S. Wilson <msw@rpath.com>
* shell/ev-pixbuf-cache.c (ev_pixbuf_cache_get_selection_pixbuf):
return NULL if the document does not implement the selection
interface.
|
|
|
|
|
|
|
|
|
| |
2005-07-02 Matthew S. Wilson <msw@rpath.com>
* tiff/tiff-document.c (tiff_document_get_page_size): scale the
reported height by using the resolution aspect ratio
(tiff_document_render_pixbuf): scale the pixbuf using the
resolution aspect ratio
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* configure.ac:
Require libgnomeprint >= 2.5.1. Thanks to Colin Slater
<kiltedaco@gmail.com>
* djvu/djvu-document.c: (djvu_document_get_orientation),
(djvu_document_set_orientation), (djvu_document_get_page_size),
(rotate_pixbuf), (djvu_document_render_pixbuf),
(djvu_document_document_iface_init):
* dvi/dvi-document.c: (dvi_document_get_orientation),
(dvi_document_set_orientation), (dvi_document_get_page_size),
(rotate_pixbuf), (dvi_document_render_pixbuf),
(dvi_document_document_iface_init):
Dvi and djvu backends are ported to new API
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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!
|
|
|
|
|
|
|
| |
2005-06-30 Kristian Høgsberg <krh@redhat.com>
* shell/ev-view.c (ev_view_button_press_event): Fix
event->y + view->scroll_x typo.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2005-06-30 Kristian Høgsberg <krh@redhat.com>
* pdf/ev-poppler.cc: Adjust to poppler API changes; use a
sub-GdkPixbuf instead of passing dest_x and dest_y.
* shell/ev-view.c: (view_point_to_doc_point),
(view_rect_to_doc_rect), (ev_view_button_press_event),
(ev_view_motion_notify_event), (compute_new_selection_rect),
(gdk_rectangle_point_in), (compute_new_selection_text),
(compute_selections): Update selection code to keep the selection
around as two points and not as a normalized rectangle, and fix
page level selection in two-column mode.
|
|
|
|
|
|
|
|
| |
2005-06-30 Alex Duggan <aldug@astrolinux.com>
* shell/ev-window.c: (window_configure_event_cb):
Fix compilation
|
|
|
|
|
|
|
|
| |
2005-06-30 Marco Pesenti Gritti <mpg@redhat.com>
* pdf/ev-poppler.cc:
Fix compilation
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2005-06-30 Marco Pesenti Gritti <mpg@redhat.com>
* shell/Makefile.am:
* shell/ev-metadata-manager.c: (item_free),
(ev_metadata_manager_init), (ev_metadata_manager_shutdown),
(parse_value), (parseItem), (load_values),
(ev_metadata_manager_get), (value_free), (ev_metadata_manager_set),
(save_values), (save_item), (get_oldest), (resize_items),
(ev_metadata_manager_save), (ev_metadata_manager_set_int):
* shell/ev-metadata-manager.h:
Metadata manager from gedit but modified to use GValue, so that
we dont need to keep converting from strings.
* configure.ac:
ENABLE_METADATA conditional, on when dbus is on
* shell/ev-application.c: (ev_application_open_uri):
Show the window after load so that we can initialize
window size before it's showed.
* shell/ev-window.c: (ev_window_setup_from_metadata),
(ev_window_open_uri), (window_configure_event_cb),
(ev_window_init):
Save and load metadata information about window size.
Not yet keeping states in account.
* shell/main.c: (main):
Shutdown metadata manager.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
* shell/ev-application-service.xml:
* configure.ac:
* shell/Makefile.am:
* shell/ev-application.c:
* shell/ev-application.h:
* shell/ev-window.c:
* shell/ev-window.h:
* shell/main.c:
Add an optional dbus interface (--enable-dbus).
Rework application code, mainly to be easier to
use "remotely".
Do not open multiple windows with the same document,
spatial evince!
|
|
|
|
|
|
|
| |
Thu Jun 30 01:50:14 2005 Jonathan Blandford <jrb@redhat.com>
* shell/ev-pixbuf-cache.c (clear_selection_if_needed): unref the
pixbuf iff it exists.
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
| |
* pdf/ev-poppler.cc:
Fix for Bug 309080: crash on window close.
* shell/ev-page-action.c: (page_changed_cb):
Fix for Bug 309168: Fix build with gcc 2.95. Thanks to
jensgr@gmx.net (Jens Granseuer).
|
|
|
|
|
|
| |
2005-06-25 Marcel Telka <marcel@telka.sk>
* configure.in (ALL_LINGUAS): Added sk.
|
|
|
|
|
|
| |
2005-06-24 Carlos Garcia Campos <carlosgc@gnome.org>
* shell/ev-window.c: Make rotate menu entries unsensitive if there is
not a document open
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
* NEWS:
* configure.ac:
Release 0.3.2
* cut-n-paste/recent-files/Makefile.am:
Fix make distcheck
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
* pixbuf/pixbuf-document.c: (pixbuf_document_get_orientation),
(pixbuf_document_set_orientation), (rotate_pixbuf),
(pixbuf_document_get_page_size), (pixbuf_document_render_pixbuf),
(pixbuf_document_document_iface_init), (pixbuf_document_init):
Implement rotation and cleanup the code a bit.
* tiff/tiff-document.c: (tiff_document_get_page_size),
(tiff_document_get_orientation), (tiff_document_set_orientation),
(rotate_pixbuf), (tiff_document_render_pixbuf),
(tiff_document_document_iface_init), (tiff_document_init):
Implement rotation. Was the quicker solution for the release
but we really need to share this code in the shell.
|
|
|
|
|
|
|
|
| |
2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
* pdf/ev-poppler.cc:
Enable rotation, require poppler cvs. Fix a leak.
|
| |
|
|
|
|
| |
copyright.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
* pdf/ev-poppler.cc:
* shell/ev-sidebar-links.c: (job_finished_callback):
* shell/ev-view.c: (update_find_status_message):
Some leaks fixed
|
|
|
|
|
|
|
|
|
| |
2005-06-19 Christian Persch <chpe@cvs.gnome.org>
* cut-n-paste/recent-files/egg-recent-view-uimanager.c:
(egg_recent_view_uimanager_set_list):
Fix buglet in !show_numbers case.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2005-06-19 Christian Persch <chpe@cvs.gnome.org>
* cut-n-paste/recent-files/egg-recent-view-uimanager.c:
(connect_proxy_cb), (egg_recent_view_uimanager_set_list):
Use pango ellipsisation.
* pdf/ev-poppler.cc:
Fix refcount leak, from nsh.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* cut-n-paste/recent-files/Makefile.am:
* cut-n-paste/recent-files/egg-recent-view-gtk.c:
* cut-n-paste/recent-files/egg-recent-view-gtk.h:
Removed EggRecentViewGtk
* cut-n-paste/recent-files/egg-recent-view-uimanager.c:
* cut-n-paste/recent-files/egg-recent-view-uimanager.h:
* shell/ev-window.c: (ev_window_cmd_recent_file_activate),
(ev_window_setup_recent):
Use ViewUIManager instead of ViewGtk. Less leaks, more compatibility
with other projects
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* cut-n-paste/recent-files/egg-recent-view-gtk.c:
(egg_recent_view_gtk_finalize):
Fix memory leak
* cut-n-paste/toolbar-editor/Makefile.am:
Fix location of cursor icon.
* pdf/ev-poppler.cc:
* shell/ev-page-action.c: (build_new_tree_cb), (match_selected_cb),
(display_completion_text), (match_completion):
* shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
(selection_changed_callback), (create_loading_model),
(print_section_cb), (links_page_num_func),
(update_page_callback_foreach):
* shell/ev-window.c: (ev_window_dispose):
Small memory fixes. Links model now store objects instead
of pointers to improve memory management.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Sat Jun 18 22:46:42 2005 Jonathan Blandford <jrb@redhat.com>
* shell/ev-properties.c (set_property): escape the text correctly.
Handles non-UTF-8 properties and escaped properties. Also, sets
the text to "<i>None</i>" if the property isn't set.
* data/evince-properties.glade: Change the label to be ellipsized,
and give it a minimum size.
|
|
|
|
|
|
|
|
|
|
| |
* lib/ev-file-helpers.c: (ev_file_helpers_shutdown):
* shell/ev-sidebar-links.c: (create_loading_model):
* shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose):
* shell/ev-view.c: (ev_view_set_document):
* shell/ev-window.c: (ev_window_dispose):
Various small fixes, mostly memory leaks. Thanks to valgrind.
|
|
|
|
| |
setlocale/savelocale business.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* ps/ps-document.c:
Include locale.h to fix build
* shell/ev-sidebar.c:
Remove unnecessary includes
Thanks to jaap@haitsma.org (Jaap A. Haitsma)
|
|
|
|
|
|
|
|
|
| |
* dvi/dvi-document.c: (dvi_document_load):
* dvi/mdvi-lib/dviread.c: (mdvi_init_context):
* po/POTFILES.in:
Check for incorrect dvi files. Fix parsing dvi on AMD64
platform. Thanks to tester@tester.ca (Olivier Crete).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* shell/ev-page-action.c: (match_selected_cb),
(display_completion_text), (match_completion), (update_model):
* shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
(expand_open_links):
* shell/ev-sidebar.c: (ev_sidebar_destroy),
(ev_sidebar_menu_item_activate_cb), (ev_sidebar_add_page),
(ev_sidebar_set_document):
* shell/ev-window.c: (ev_window_xfer_job_cb),
(sidebar_widget_model_set), (sidebar_page_main_widget_update_cb):
Fixed lot's of memory leaks, for example, memory leak on reload,
described in bug 307793.
|