]>
www.fi.muni.cz Git - evince.git/log
Nickolay V. Shmyrev [Thu, 7 Jul 2005 19:31:40 +0000 (19:31 +0000)]
Fix djvu and dvi backend build.
Christian Persch [Thu, 7 Jul 2005 19:12:10 +0000 (19:12 +0000)]
Don't leak windows.
2005-07-07 Christian Persch <chpe@cvs.gnome.org>
* cut-n-paste/toolbar-editor/egg-editable-toolbar.c: (new_pixbuf_from_widget),
(new_separator_pixbuf):
Don't leak windows.
Christian Persch [Thu, 7 Jul 2005 17:47:59 +0000 (17:47 +0000)]
HIGification of toolbar editor dialogue.
2005-07-07 Christian Persch <chpe@cvs.gnome.org>
* shell/ev-window.c: (ev_window_cmd_edit_toolbar):
HIGification of toolbar editor dialogue.
Marco Pesenti Gritti [Thu, 7 Jul 2005 15:35:16 +0000 (15:35 +0000)]
Ever build metadata manager since it's just disabled at runtime now.
2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
* configure.ac:
* shell/Makefile.am:
Ever build metadata manager since it's just
disabled at runtime now.
Marco Pesenti Gritti [Thu, 7 Jul 2005 14:57:39 +0000 (14:57 +0000)]
Add an _init functions that enabled metadata management at runtime.
2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
* shell/ev-metadata-manager.c: (ev_metadata_manager_init),
(ev_metadata_manager_get), (ev_metadata_manager_set):
* shell/ev-metadata-manager.h:
Add an _init functions that enabled metadata management
at runtime.
* shell/ev-window.c: (page_changed_cb),
(setup_document_from_metadata), (ev_window_setup_document),
(setup_view_from_metadata), (ev_window_open_uri),
(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_dual_mode_changed_cb), (window_state_event_cb),
(window_configure_event_cb):
Remove all ugly metadata define since we deal with it
at runtime now.
* shell/main.c: (load_files_remote), (main):
Add support for dbus cvs head. Hopefully didnt break one
of the other versions now!
If we dont get a response from the dbus server just
give up with it and not enable metadata.
Marco Pesenti Gritti [Thu, 7 Jul 2005 12:11:49 +0000 (12:11 +0000)]
*** empty log message ***
Marco Pesenti Gritti [Thu, 7 Jul 2005 12:11:25 +0000 (12:11 +0000)]
Make frontends depend on just libev. Rework and group CFLAGS/LIBS
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.
Marco Pesenti Gritti [Thu, 7 Jul 2005 09:34:45 +0000 (09:34 +0000)]
do not unnecessarily save zoom
2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
* shell/ev-window:
do not unnecessarily save zoom
* configure.ac:
* lib/ev-file-helpers.c: (ev_dot_dir):
* shell/Makefile.am:
* shell/dummy.cc:
Some cleanups
Marco Pesenti Gritti [Thu, 7 Jul 2005 00:36:01 +0000 (00:36 +0000)]
Remove unnecessary dependencies
2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
* configure.ac:
Remove unnecessary dependencies
Marco Pesenti Gritti [Thu, 7 Jul 2005 00:28:21 +0000 (00:28 +0000)]
Some more cleanups. Was really necessary but I probably introduced bugs,
2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
* properties/Makefile.am:
* thumbnailer/Makefile.am:
* tiff/Makefile.am:
Some more cleanups. Was really necessary
but I probably introduced bugs, feel free
to flame :)
Marco Pesenti Gritti [Thu, 7 Jul 2005 00:16:17 +0000 (00:16 +0000)]
*** empty log message ***
Marco Pesenti Gritti [Wed, 6 Jul 2005 23:05:39 +0000 (23:05 +0000)]
This should solve the circular dep without requiring dir reorg!
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.
Christian Persch [Wed, 6 Jul 2005 20:10:13 +0000 (20:10 +0000)]
Return a boolean from timeout func. Fix ported from gedit.
2005-07-06 Christian Persch <chpe@cvs.gnome.org>
* shell/ev-metadata-manager.c: (ev_metadata_manager_save):
Return a boolean from timeout func. Fix ported from gedit.
Iñaki Larrañaga [Wed, 6 Jul 2005 16:45:03 +0000 (16:45 +0000)]
Added "eu" (Basque) to ALL_LINGUAS.
2005-07-07 Iñaki Larrañaga <dooteo@euskalgnu.org>
* configure.ac: Added "eu" (Basque) to ALL_LINGUAS.
Iñaki Larrañaga [Wed, 6 Jul 2005 16:43:54 +0000 (16:43 +0000)]
Added Basque translation.
2005-07-07 Iñaki Larrañaga <dooteo@euskalgnu.org>
* eu.po: Added Basque translation.
Carlos Garcia Campos [Wed, 6 Jul 2005 15:07:01 +0000 (15:07 +0000)]
set "All Documents" as default filter in open dialog
2005-07-06 Carlos Garcia Campos <carlosgc@gnome.org>
* shell/ev-document-types.c: set "All Documents" as default filter in
open dialog
Martin Kretzschmar [Wed, 6 Jul 2005 13:05:39 +0000 (13:05 +0000)]
(ev_metadata_manager_set_int) (ev_metadata_manager_set_double,
ev_metadata_manager_set_string) (ev_metadata_manager_set_boolean): fix
value/val thinko.
Marco Pesenti Gritti [Wed, 6 Jul 2005 12:21:08 +0000 (12:21 +0000)]
Remember window position and maximized state
2005-07-06 Marco Pesenti Gritti <mpg@redhat.com>
* shell/ev-window.c: (setup_view_from_metadata),
(window_state_event_cb), (window_configure_event_cb),
(ev_window_init):
Remember window position and maximized state
Christian Persch [Wed, 6 Jul 2005 11:10:37 +0000 (11:10 +0000)]
Fix DBUS configure checks.
2005-07-06 Christian Persch <chpe@cvs.gnome.org>
* configure.ac:
Fix DBUS configure checks.
* shell/ev-metadata-manager.c: (ev_metadata_manager_set_int),
(ev_metadata_manager_set_double), (ev_metadata_manager_set_string),
(ev_metadata_manager_set_boolean):
Plug mem leaks.
* shell/ev-window.c: (page_changed_cb), (ev_window_run_fullscreen),
(ev_window_stop_fullscreen), (ev_window_run_presentation),
(ev_window_stop_presentation), (ev_window_zoom_changed_cb),
(ev_window_continuous_changed_cb),
(ev_window_dual_mode_changed_cb), (ev_window_new):
Fix the build without DBUS.
Marco Pesenti Gritti [Wed, 6 Jul 2005 10:36:28 +0000 (10:36 +0000)]
Add support for some more types
2005-07-06 Marco Pesenti Gritti <set EMAIL_ADDRESS environment variable>
* shell/ev-metadata-manager.c: (parse_value), (save_values),
(ev_metadata_manager_set_int), (ev_metadata_manager_set_double),
(ev_metadata_manager_set_string),
(ev_metadata_manager_set_boolean):
* shell/ev-metadata-manager.h:
Add support for some more types
* shell/ev-view.c: (scroll_to_current_page),
(ev_view_get_continuous), (ev_view_set_continuous),
(ev_view_get_dual_page):
* shell/ev-view.h:
* shell/ev-window.c: (page_changed_cb),
(setup_document_from_metadata), (ev_window_setup_document),
(setup_view_from_metadata), (ev_window_open_uri),
(ev_window_run_fullscreen), (ev_window_stop_fullscreen),
(ev_window_run_presentation), (ev_window_stop_presentation),
(save_sizing_mode), (ev_window_sizing_mode_changed_cb),
(ev_window_zoom_changed_cb), (ev_window_update_continuous_action),
(ev_window_update_dual_page_action),
(ev_window_continuous_changed_cb),
(ev_window_dual_mode_changed_cb), (ev_window_init):
Remember a bunch of view/document properties. Prolly some
are still missing but it's getting interesting.
Martin Kretzschmar [Tue, 5 Jul 2005 21:25:06 +0000 (21:25 +0000)]
check if dbus-binding-tool is installed. Not the case on current
Ubuntu breezy, it seems.
Nickolay V. Shmyrev [Tue, 5 Jul 2005 20:07:25 +0000 (20:07 +0000)]
Allow open uri lists and add TryExec field
Marco Pesenti Gritti [Tue, 5 Jul 2005 18:39:09 +0000 (18:39 +0000)]
Enable dbus when available, do not require a configure option.
2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
* configure.ac:
Enable dbus when available, do not require a configure
option.
Christian Persch [Tue, 5 Jul 2005 17:31:30 +0000 (17:31 +0000)]
Use AM_CONDITIONAL unconditionally, fixes the build with DBUS disabled.
2005-07-05 Christian Persch <chpe@cvs.gnome.org>
* configure.ac:
Use AM_CONDITIONAL unconditionally, fixes the build with DBUS
disabled.
Carlos Garcia Campos [Tue, 5 Jul 2005 17:02:52 +0000 (17:02 +0000)]
Marco Pesenti Gritti <mpg@redhat.com>
2005-07-05 Carlos Garcia Campos <carlosgc@gnome.org>
Marco Pesenti Gritti <mpg@redhat.com>
* shell/Makefile.am: Add --prefix for dbus-binding-tool script
* shell/ev-application.[ch], shell/ev-window.c: change dbus RPC
functions to the format required by dbus
* shell/main.c: use G_TYPE instead of DBUS_TYPE to fix compilation
errors. Use the RPC parameters in the expected way
Marco Pesenti Gritti [Tue, 5 Jul 2005 16:03:47 +0000 (16:03 +0000)]
Support all mime types
2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
* Makefile.am:
* properties/Makefile.am:
* properties/ev-properties-main.c: (ev_properties_get_pages):
Support all mime types
* shell/Makefile.am:
* thumbnailer/Makefile.am:
* thumbnailer/evince-thumbnailer.c: (get_document_from_uri),
(evince_thumbnail_pngenc_get):
Use the document factory
Marco Pesenti Gritti [Tue, 5 Jul 2005 15:31:17 +0000 (15:31 +0000)]
Rework document types managing to avoid code duplication and actually
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.
Christian Persch [Tue, 5 Jul 2005 15:08:35 +0000 (15:08 +0000)]
Plug a mem leak. HIG spacings.
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.
Matthew S. Wilson [Tue, 5 Jul 2005 02:47:49 +0000 (02:47 +0000)]
only call ev_properties_fonts_set_document() if the document implements
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
Marco Pesenti Gritti [Mon, 4 Jul 2005 22:49:27 +0000 (22:49 +0000)]
Implement nautilus plugin for properties. Works only for pdf atm, I need
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...
Martin Kretzschmar [Mon, 4 Jul 2005 20:49:56 +0000 (20:49 +0000)]
(enum): kill redundant columns enum
(ev_properties_fonts_set_document): use
EV_DOCUMENT_FONTS_COLUMN_NUM_COLUMNS.
Matthew S. Wilson [Mon, 4 Jul 2005 20:38:48 +0000 (20:38 +0000)]
remove TRUE and FALSE definitions, glib provides them (PlaceImage,
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.
Martin Kretzschmar [Mon, 4 Jul 2005 19:52:21 +0000 (19:52 +0000)]
include libgnomeui/gnome-authentication-manager.h (main): to call
* 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.
Matthew S. Wilson [Mon, 4 Jul 2005 19:19:34 +0000 (19:19 +0000)]
use the new tiff2ps interfaces
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.
Nickolay V. Shmyrev [Mon, 4 Jul 2005 19:12:26 +0000 (19:12 +0000)]
Unref the completion after setting it to the entry
Christian Rose [Mon, 4 Jul 2005 17:43:10 +0000 (17:43 +0000)]
Sorted and added missing files, and removed no longer existing ones.
2005-07-04 Christian Rose <menthos@menthos.com>
* POTFILES.in: Sorted and added missing files, and removed no
longer existing ones.
* sv.po: Updated Swedish translation.
Matthew S. Wilson [Mon, 4 Jul 2005 17:09:22 +0000 (17:09 +0000)]
disable generating encapsulated postscript files
2005-07-04 Matthew S. Wilson <msw@rpath.com>
* tiff/tiff2ps.c (generateEPSF): disable generating encapsulated
postscript files
Hendrik Richter [Mon, 4 Jul 2005 15:24:26 +0000 (15:24 +0000)]
Fixed German translation by Jens Seidel <jensseidel@users.sf.net>.
2005-07-04 Hendrik Richter <hendi@gnome-de.org>
* de.po: Fixed German translation by
Jens Seidel <jensseidel@users.sf.net>.
Matthew S. Wilson [Mon, 4 Jul 2005 14:26:18 +0000 (14:26 +0000)]
disable File->Print if the document does not implement the ps exporter
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
Marco Pesenti Gritti [Mon, 4 Jul 2005 11:58:56 +0000 (11:58 +0000)]
*** empty log message ***
Marco Pesenti Gritti [Mon, 4 Jul 2005 11:58:16 +0000 (11:58 +0000)]
Split the properties pages in two different objects, depend only on the
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.
Matthew S. Wilson [Sun, 3 Jul 2005 14:00:45 +0000 (14:00 +0000)]
implement the ps exporter interface for tiff documents
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
Nickolay V. Shmyrev [Sun, 3 Jul 2005 10:36:35 +0000 (10:36 +0000)]
Scroll to current page when exit from presentation.
Nickolay V. Shmyrev [Sun, 3 Jul 2005 10:35:42 +0000 (10:35 +0000)]
Scroll to current page when exit from presentation
Nickolay V. Shmyrev [Sun, 3 Jul 2005 09:59:32 +0000 (09:59 +0000)]
Exit from fullscreen mode when switch to presentation. Fix for bug 309365
* 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
Matthew S. Wilson [Sat, 2 Jul 2005 16:15:00 +0000 (16:15 +0000)]
return NULL if the document does not implement the selection interface.
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.
Martin Kretzschmar [Sat, 2 Jul 2005 15:08:14 +0000 (15:08 +0000)]
Removed conflict markers from ChangeLog
Matthew S. Wilson [Sat, 2 Jul 2005 14:49:23 +0000 (14:49 +0000)]
scale the reported height by using the resolution aspect ratio
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
Nickolay V. Shmyrev [Fri, 1 Jul 2005 07:44:23 +0000 (07:44 +0000)]
Require libgnomeprint >= 2.5.1. Thanks to Colin Slater
* 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
Jonathan Blandford [Fri, 1 Jul 2005 04:11:08 +0000 (04:11 +0000)]
Add I-Beam support to EvView. Now we can see where we can select! Sweet!
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!
Kristian Høgsberg [Thu, 30 Jun 2005 22:09:18 +0000 (22:09 +0000)]
Fix event->y + view->scroll_x typo.
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.
Kristian Høgsberg [Thu, 30 Jun 2005 22:01:33 +0000 (22:01 +0000)]
Adjust to poppler API changes; use a sub-GdkPixbuf instead of passing
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.
Alex Duggan [Thu, 30 Jun 2005 17:52:15 +0000 (17:52 +0000)]
Fix compilation
2005-06-30 Alex Duggan <aldug@astrolinux.com>
* shell/ev-window.c: (window_configure_event_cb):
Fix compilation
Kjartan Maraas [Thu, 30 Jun 2005 13:57:34 +0000 (13:57 +0000)]
Updated Norwegian bokmål translation. Same
2005-06-30 Kjartan Maraas <kmaraas@gnome.org>
* nb.po: Updated Norwegian bokmål translation.
* no.po: Same
Marco Pesenti Gritti [Thu, 30 Jun 2005 13:56:01 +0000 (13:56 +0000)]
*** empty log message ***
Marco Pesenti Gritti [Thu, 30 Jun 2005 13:52:45 +0000 (13:52 +0000)]
Fix compilation
2005-06-30 Marco Pesenti Gritti <mpg@redhat.com>
* pdf/ev-poppler.cc:
Fix compilation
Marco Pesenti Gritti [Thu, 30 Jun 2005 13:32:05 +0000 (13:32 +0000)]
Metadata manager from gedit but modified to use GValue, so that we dont
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.
Marco Pesenti Gritti [Thu, 30 Jun 2005 08:16:45 +0000 (08:16 +0000)]
Add an optional dbus interface (--enable-dbus). Rework application code,
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!
Jonathan Blandford [Thu, 30 Jun 2005 05:50:58 +0000 (05:50 +0000)]
unref the pixbuf iff it exists.
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.
Jonathan Blandford [Thu, 30 Jun 2005 05:44:28 +0000 (05:44 +0000)]
Massive changes. We now support text selection of pdfs, and not just
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.
Nickolay V. Shmyrev [Tue, 28 Jun 2005 07:36:08 +0000 (07:36 +0000)]
Fix for Bug 309080: crash on window close.
* 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).
Marcel Telka [Sat, 25 Jun 2005 23:46:24 +0000 (23:46 +0000)]
Added sk.
2005-06-25 Marcel Telka <marcel@telka.sk>
* configure.in (ALL_LINGUAS): Added sk.
Marcel Telka [Sat, 25 Jun 2005 23:45:27 +0000 (23:45 +0000)]
Added Slovak translation by Mário Vrablanský.
2005-06-25 Marcel Telka <marcel@telka.sk>
* sk.po: Added Slovak translation by Mário Vrablanský.
Takeshi AIHANA [Sat, 25 Jun 2005 15:43:50 +0000 (15:43 +0000)]
Updated Japanese translation for v0.3.2.
2005-06-25 Takeshi AIHANA <aihana@gnome.gr.jp>
* ja.po: Updated Japanese translation for v0.3.2.
Carlos Garcia Campos [Fri, 24 Jun 2005 17:40:59 +0000 (17:40 +0000)]
Make rotate menu entries unsensitive if there is not a document open
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
Marco Pesenti Gritti [Fri, 24 Jun 2005 09:14:31 +0000 (09:14 +0000)]
Release 0.3.2
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
Marco Pesenti Gritti [Fri, 24 Jun 2005 08:59:56 +0000 (08:59 +0000)]
Implement rotation and cleanup the code a bit.
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.
Marco Pesenti Gritti [Fri, 24 Jun 2005 08:11:00 +0000 (08:11 +0000)]
Enable rotation, require poppler cvs. Fix a leak.
2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
* pdf/ev-poppler.cc:
Enable rotation, require poppler cvs. Fix a leak.
Adam Weinberger [Thu, 23 Jun 2005 23:11:27 +0000 (23:11 +0000)]
Updated Canadian English translation.
2005-06-23 Adam Weinberger <adamw@gnome.org>
* en_CA.po: Updated Canadian English translation.
Nickolay V. Shmyrev [Thu, 23 Jun 2005 22:17:31 +0000 (22:17 +0000)]
Make properties unsensitive if document backend doesn't provide info
Gabor Kelemen [Thu, 23 Jun 2005 22:00:45 +0000 (22:00 +0000)]
Hungarian translation updated.
2005-06-24 Gabor Kelemen <kelemeng@gnome.hu>
* hu.po: Hungarian translation updated.
Nickolay V. Shmyrev [Thu, 23 Jun 2005 21:05:32 +0000 (21:05 +0000)]
Rename xmalloc to mdvi_malloc to avoid libtool conflict, update year in
copyright.
Nickolay V. Shmyrev [Thu, 23 Jun 2005 14:52:24 +0000 (14:52 +0000)]
Fix for 170874 - arrow keys switch pages in presentation mode
Nickolay V. Shmyrev [Thu, 23 Jun 2005 14:46:29 +0000 (14:46 +0000)]
Fix fir bug 308265: Sidebar dissappears coming out of Presentation mode
Nickolay V. Shmyrev [Thu, 23 Jun 2005 14:23:20 +0000 (14:23 +0000)]
Fix for bug 308402 - provide templates in Save dialog
Nickolay V. Shmyrev [Thu, 23 Jun 2005 00:28:32 +0000 (00:28 +0000)]
Updated Russian translation.
* ru.po: Updated Russian translation.
Vincent van Adrighem [Wed, 22 Jun 2005 21:03:24 +0000 (21:03 +0000)]
Translation updated by Tino Meinen.
2005-06-22 Vincent van Adrighem <adrighem@gnome.org>
* nl.po: Translation updated by Tino Meinen.
Nickolay V. Shmyrev [Sun, 19 Jun 2005 20:58:21 +0000 (20:58 +0000)]
Some leaks fixed
* pdf/ev-poppler.cc:
* shell/ev-sidebar-links.c: (job_finished_callback):
* shell/ev-view.c: (update_find_status_message):
Some leaks fixed
Christian Persch [Sun, 19 Jun 2005 19:11:59 +0000 (19:11 +0000)]
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:
(egg_recent_view_uimanager_set_list):
Fix buglet in !show_numbers case.
Christian Persch [Sun, 19 Jun 2005 18:20:55 +0000 (18:20 +0000)]
Use pango ellipsisation.
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.
Nickolay V. Shmyrev [Sun, 19 Jun 2005 17:36:16 +0000 (17:36 +0000)]
Removed EggRecentViewGtk
* 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
Nickolay V. Shmyrev [Sun, 19 Jun 2005 13:10:20 +0000 (13:10 +0000)]
Fix memory leak
* 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.
Nickolay V. Shmyrev [Sun, 19 Jun 2005 10:38:38 +0000 (10:38 +0000)]
Fix update of zoom control. Bug 308268
Nickolay V. Shmyrev [Sun, 19 Jun 2005 09:24:07 +0000 (09:24 +0000)]
Fix broken translation
Theppitak Karoonboonyanan [Sun, 19 Jun 2005 06:55:35 +0000 (06:55 +0000)]
Cleaned up some copied translations.
2005-06-19 Theppitak Karoonboonyanan <thep@linux.thai.net>
* th.po: Cleaned up some copied translations.
Chao-Hsiung Liao [Sun, 19 Jun 2005 05:51:49 +0000 (05:51 +0000)]
Updated Traditional Chinese translation.
2005-06-18 Chao-Hsiung Liao <j_h_liau@yahoo.com.tw>
* zh_TW.po: Updated Traditional Chinese translation.
Jonathan Blandford [Sun, 19 Jun 2005 03:04:20 +0000 (03:04 +0000)]
escape the text correctly. Handles non-UTF-8 properties and escaped
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.
Nickolay V. Shmyrev [Sun, 19 Jun 2005 01:33:07 +0000 (01:33 +0000)]
Various small fixes, mostly memory leaks. Thanks to valgrind.
* 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.
Martin Kretzschmar [Sat, 18 Jun 2005 22:27:04 +0000 (22:27 +0000)]
remove the locale.h include again ;-). And kill the (bogus)
setlocale/savelocale business.
Nickolay V. Shmyrev [Sat, 18 Jun 2005 21:59:29 +0000 (21:59 +0000)]
Include locale.h to fix build
* 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)
Nickolay V. Shmyrev [Sat, 18 Jun 2005 21:43:31 +0000 (21:43 +0000)]
Check for incorrect dvi files. Fix parsing dvi on AMD64 platform. Thanks
* 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).
Nickolay V. Shmyrev [Sat, 18 Jun 2005 19:22:00 +0000 (19:22 +0000)]
Fixed lot's of memory leaks, for example, memory leak on reload, described
* 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.
Marco Pesenti Gritti [Sat, 18 Jun 2005 15:51:52 +0000 (15:51 +0000)]
Refresh thumbnails when changing orientation. Not fully working yet
2005-06-18 Marco Pesenti Gritti <mpg@redhat.com>
* pdf/ev-poppler.cc:
* shell/ev-sidebar-thumbnails.c: (clear_range), (add_range),
(update_visible_range), (adjustment_changed_cb),
(ev_sidebar_thumbnails_fill_model),
(ev_sidebar_thumbnails_refresh),
(ev_sidebar_tree_selection_changed),
(ev_sidebar_icon_selection_changed),
(ev_sidebar_thumbnails_use_icon_view),
(ev_sidebar_thumbnails_set_document):
* shell/ev-sidebar-thumbnails.h:
* shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
(ev_window_cmd_edit_rotate_right), (ev_window_init):
Refresh thumbnails when changing orientation. Not fully
working yet becuase of a sidebar bug.
Set page orientation to poppler page everywhere. This sucks
really need to fix poppler.
Marco Pesenti Gritti [Sat, 18 Jun 2005 10:32:47 +0000 (10:32 +0000)]
Sync with libegg (ellipsize labels)
2005-06-18 Marco Pesenti Gritti <mpg@redhat.com>
* cut-n-paste/recent-files/egg-recent-view-gtk.c:
(egg_recent_view_gtk_new_menu_item),
(egg_recent_view_gtk_set_property),
(egg_recent_view_gtk_get_property),
(egg_recent_view_gtk_class_init), (egg_recent_view_gtk_init),
(egg_recent_view_gtk_set_tooltip_func),
(egg_recent_view_gtk_set_label_width),
(egg_recent_view_gtk_get_label_width):
* cut-n-paste/recent-files/egg-recent-view-gtk.h:
Sync with libegg (ellipsize labels)
Nickolay V. Shmyrev [Sat, 18 Jun 2005 06:50:29 +0000 (06:50 +0000)]
Shift + PageUp moves 10 Pages. Fix for 306125
* data/evince-ui.xml:
* shell/ev-window.c: (ev_window_cmd_go_forward),
(ev_window_cmd_go_backward):
Shift + PageUp moves 10 Pages. Fix for 306125
Marco Pesenti Gritti [Fri, 17 Jun 2005 14:18:04 +0000 (14:18 +0000)]
Add a flag to check if orientation has been overriden
2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
* pdf/ev-poppler.cc:
Add a flag to check if orientation has been overriden
Martin Kretzschmar [Fri, 17 Jun 2005 13:33:00 +0000 (13:33 +0000)]
read "Creator:" comment, free creator field if necessary.
* ps/ps.c (psscan, psfree): read "Creator:" comment, free creator
field if necessary.
* ps/ps.h: add creator field to document.
* ps/ps-document.c (ps_document_get_info): set format to PostScript,
set creator field.
Marco Pesenti Gritti [Fri, 17 Jun 2005 12:11:53 +0000 (12:11 +0000)]
s/PDF Version/Format
2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
* data/evince-properties.glade:
* shell/ev-properties.c: (ev_properties_set_document):
s/PDF Version/Format
Marco Pesenti Gritti [Fri, 17 Jun 2005 11:35:06 +0000 (11:35 +0000)]
Remove unnecessary translations
2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
* shell/ev-properties.c: (ev_properties_set_document):
Remove unnecessary translations
Marco Pesenti Gritti [Fri, 17 Jun 2005 11:12:09 +0000 (11:12 +0000)]
Correct library name
2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
* cut-n-paste/toolbar-editor/Makefile.am:
Correct library name