]> www.fi.muni.cz Git - evince.git/log
evince.git
19 years agoMassive changes. We now support text selection of pdfs, and not just
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.

19 years agoFix for Bug 309080: crash on window close.
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).

19 years agoAdded sk.
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.

19 years agoAdded Slovak translation by Mário Vrablanský.
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ý.

19 years agoUpdated Japanese translation for v0.3.2.
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.

19 years agoMake rotate menu entries unsensitive if there is not a document open
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

19 years agoRelease 0.3.2
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

19 years agoImplement rotation and cleanup the code a bit.
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.

19 years agoEnable rotation, require poppler cvs. Fix a leak.
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.

19 years agoUpdated Canadian English translation.
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.

19 years agoMake properties unsensitive if document backend doesn't provide info
Nickolay V. Shmyrev [Thu, 23 Jun 2005 22:17:31 +0000 (22:17 +0000)]
Make properties unsensitive if document backend doesn't provide info

19 years agoHungarian translation updated.
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.

19 years agoRename xmalloc to mdvi_malloc to avoid libtool conflict, update year in
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.

19 years agoFix for 170874 - arrow keys switch pages in presentation mode
Nickolay V. Shmyrev [Thu, 23 Jun 2005 14:52:24 +0000 (14:52 +0000)]
Fix for 170874 - arrow keys switch pages in presentation mode

19 years agoFix fir bug 308265: Sidebar dissappears coming out of 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

19 years agoFix for bug 308402 - provide templates in Save dialog
Nickolay V. Shmyrev [Thu, 23 Jun 2005 14:23:20 +0000 (14:23 +0000)]
Fix for bug 308402 - provide templates in Save dialog

19 years agoUpdated Russian translation.
Nickolay V. Shmyrev [Thu, 23 Jun 2005 00:28:32 +0000 (00:28 +0000)]
Updated Russian translation.

* ru.po: Updated Russian translation.

19 years agoTranslation updated by Tino Meinen.
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.

19 years agoSome leaks fixed
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

19 years agoFix buglet in !show_numbers case.
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.

19 years agoUse pango ellipsisation.
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.

19 years agoRemoved EggRecentViewGtk
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

19 years agoFix memory leak
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.

19 years agoFix update of zoom control. Bug 308268
Nickolay V. Shmyrev [Sun, 19 Jun 2005 10:38:38 +0000 (10:38 +0000)]
Fix update of zoom control. Bug 308268

19 years agoFix broken translation
Nickolay V. Shmyrev [Sun, 19 Jun 2005 09:24:07 +0000 (09:24 +0000)]
Fix broken translation

19 years agoCleaned up some copied translations.
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.

19 years agoUpdated Traditional Chinese translation.
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.

19 years agoescape the text correctly. Handles non-UTF-8 properties and escaped
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.

19 years agoVarious small fixes, mostly memory leaks. Thanks to valgrind.
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.

19 years agoremove the locale.h include again ;-). And kill the (bogus)
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.

19 years agoInclude locale.h to fix build
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)

19 years agoCheck for incorrect dvi files. Fix parsing dvi on AMD64 platform. Thanks
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).

19 years agoFixed lot's of memory leaks, for example, memory leak on reload, described
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.

19 years agoRefresh thumbnails when changing orientation. Not fully working yet
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.

19 years agoSync with libegg (ellipsize labels)
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)

19 years agoShift + PageUp moves 10 Pages. Fix for 306125
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

19 years agoAdd a flag to check if orientation has been overriden
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

19 years agoread "Creator:" comment, free creator field if necessary.
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.

19 years agos/PDF Version/Format
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

19 years agoRemove unnecessary translations
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

19 years agoCorrect library name
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

19 years ago*** empty log message ***
Marco Pesenti Gritti [Fri, 17 Jun 2005 11:00:23 +0000 (11:00 +0000)]
*** empty log message ***

19 years agoBetter makefile for toolbar editor and update everything to latest libegg.
Marco Pesenti Gritti [Fri, 17 Jun 2005 10:58:37 +0000 (10:58 +0000)]
Better makefile for toolbar editor and update everything to latest libegg.

2005-06-17  Marco Pesenti Gritti  <mpg@redhat.com>

        * configure.ac:
        * cut-n-paste/recent-files/egg-recent-model.c:
        (egg_recent_model_write_raw), (egg_recent_model_lock_file),
        (egg_recent_model_unlock_file):
        * cut-n-paste/recent-files/egg-recent-util.c:
        (egg_recent_util_get_unique_id):
        * cut-n-paste/recent-files/update-from-egg.sh:
        * cut-n-paste/toolbar-editor/Makefile.am:
        * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
        * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
        * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
        * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
        (egg_toolbars_model_get_type):
        * cut-n-paste/toolbar-editor/egg-toolbars-model.h:

        Better makefile for toolbar editor and update everything
        to latest libegg.

19 years agoPrefer presentation mode when the document require fullscreen.
Marco Pesenti Gritti [Fri, 17 Jun 2005 10:21:16 +0000 (10:21 +0000)]
Prefer presentation mode when the document require fullscreen.

2005-06-17  Marco Pesenti Gritti  <mpg@redhat.com>

        * shell/ev-window.c: (update_document_mode):

        Prefer presentation mode when the document
        require fullscreen.

19 years agoAdd control-equal for zooming
Marco Pesenti Gritti [Fri, 17 Jun 2005 09:57:57 +0000 (09:57 +0000)]
Add control-equal for zooming

2005-06-17  Marco Pesenti Gritti  <mpg@redhat.com>

        * data/evince-ui.xml:
        * shell/ev-window.c:

        Add control-equal for zooming

19 years agoAdded 'th' (Thai) to ALL_LINGUAS. Added Thai translation by Isriya
Theppitak Karoonboonyanan [Fri, 17 Jun 2005 05:19:14 +0000 (05:19 +0000)]
Added 'th' (Thai) to ALL_LINGUAS. Added Thai translation by Isriya

2005-06-17  Theppitak Karoonboonyanan  <thep@linux.thai.net>

* configure.ac: Added 'th' (Thai) to ALL_LINGUAS.
* po/th.po: Added Thai translation by
Isriya Paireepairit <markpeak@gmail.com>.

19 years agoUpdated Canadian English translation.
Adam Weinberger [Fri, 17 Jun 2005 05:14:27 +0000 (05:14 +0000)]
Updated Canadian English translation.

2005-06-17  Adam Weinberger  <adamw@gnome.org>

* en_CA.po: Updated Canadian English translation.

19 years agoAdd a get_orientation api. Improve set_orientation.
Marco Pesenti Gritti [Thu, 16 Jun 2005 16:40:40 +0000 (16:40 +0000)]
Add a get_orientation api. Improve set_orientation.

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

19 years agoAutoraise toolbar on GoToPage action and fix keyboard accelerators in sidebar
Nickolay V. Shmyrev [Thu, 16 Jun 2005 08:34:13 +0000 (08:34 +0000)]
Autoraise toolbar on GoToPage action and fix keyboard accelerators in sidebar
thumbnailer page

19 years agoHide the progress label when finished; bug #307697.
Christian Persch [Wed, 15 Jun 2005 16:20:57 +0000 (16:20 +0000)]
Hide the progress label when finished; bug #307697.

2005-06-15  Christian Persch  <chpe@cvs.gnome.org>

* shell/ev-properties.c: (update_progress_label):

Hide the progress label when finished; bug #307697.

19 years agoEnable is_open for links, you will need poppler cvs
Marco Pesenti Gritti [Wed, 15 Jun 2005 15:29:19 +0000 (15:29 +0000)]
Enable is_open for links, you will need poppler cvs

2005-06-15  Marco Pesenti Gritti <mpg@redhat.com>

        * pdf/ev-poppler.cc:

        Enable is_open for links, you will need poppler cvs

        * shell/ev-properties.c: (job_fonts_finished_cb):

        Get a lock on the document when filling the tree view

19 years agoExpand links when specified by the document. Depend on a poppler api
Marco Pesenti Gritti [Wed, 15 Jun 2005 14:06:40 +0000 (14:06 +0000)]
Expand links when specified by the document. Depend on a poppler api

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)

19 years agoMake it an object, cleanup the code, api to show it as transient and to
Marco Pesenti Gritti [Wed, 15 Jun 2005 00:11:33 +0000 (00:11 +0000)]
Make it an object, cleanup the code, api to show it as transient and to

2005-06-15  Marco Pesenti Gritti <mpg@redhat.com>

        * shell/ev-properties.c: (ev_properties_dispose),
        (ev_properties_class_init), (dialog_destroy_cb),
        (ev_properties_init), (job_fonts_finished_cb), (setup_fonts_view),
        (ev_properties_set_document), (ev_properties_new),
        (ev_properties_show):
        * shell/ev-properties.h:

        Make it an object, cleanup the code, api to show it as transient
        and to set the document.

        * shell/ev-window.c: (ev_window_setup_document),
        (ev_window_cmd_file_properties):

        Adapt to EvProperties changes, do not show multiple
        times, update it when document changes.

19 years ago*** empty log message ***
Marco Pesenti Gritti [Tue, 14 Jun 2005 21:29:03 +0000 (21:29 +0000)]
*** empty log message ***

19 years agoImplement orientation here too
Marco Pesenti Gritti [Tue, 14 Jun 2005 21:28:47 +0000 (21:28 +0000)]
Implement orientation here too

2005-06-14  Marco Pesenti Gritti <mpg@redhat.com>

        * ps/gstypes.h:
        * ps/ps-document.c: (ps_document_init), (get_page_orientation),
        (ps_document_set_orientation), (ps_document_document_iface_init):
        * ps/ps-document.h:

        Implement orientation here too

        * shell/ev-properties.c: (ev_properties_new):
        * data/evince-properties.glade:

        Hide the fonts page for backends that doesnt
        support it.

19 years agoAdd orientation api. Currently poppler api is not optimal, we need to set
Marco Pesenti Gritti [Tue, 14 Jun 2005 21:04:23 +0000 (21:04 +0000)]
Add orientation api. Currently poppler api is not optimal, we need to set

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

19 years agoUpdated Traditional Chinese translation
Chao-Hsiung Liao [Tue, 14 Jun 2005 09:09:40 +0000 (09:09 +0000)]
Updated Traditional Chinese translation

2005-06-14  Chao-Hsiung Liao  <j_h_liau@yahoo.com.tw>

* zh_TW.po: Updated Traditional Chinese translation

19 years agoSeparate scan and fill so that we can incrementally fill from the main
Marco Pesenti Gritti [Mon, 13 Jun 2005 18:45:06 +0000 (18:45 +0000)]
Separate scan and fill so that we can incrementally fill from the main

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.

19 years agoUpdate Norwegian bokmål translation Update Norwegian bokmål translation
Kjartan Maraas [Sun, 12 Jun 2005 19:59:24 +0000 (19:59 +0000)]
Update Norwegian bokmål translation Update Norwegian bokmål translation

2005-06-12  Kjartan Maraas  <kmaraas@gnome.org>

* nb.po: Update Norwegian bokmål translation
* no.po: Update Norwegian bokmål translation

19 years agoUpdated Czech translation.
Miloslav Trmac [Sun, 12 Jun 2005 12:44:58 +0000 (12:44 +0000)]
Updated Czech translation.

2005-06-12  Miloslav Trmac  <mitr@volny.cz>

* cs.po: Updated Czech translation.

19 years agoMake fonts model fill incrementally.
Marco Pesenti Gritti [Sat, 11 Jun 2005 14:15:42 +0000 (14:15 +0000)]
Make fonts model fill incrementally.

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.

19 years agoDoesn't translate mdvi lib
Nickolay V. Shmyrev [Fri, 10 Jun 2005 22:23:24 +0000 (22:23 +0000)]
Doesn't translate mdvi lib

19 years agoPOFILES.in: update.
Martin Kretzschmar [Fri, 10 Jun 2005 21:04:33 +0000 (21:04 +0000)]
POFILES.in: update.

19 years agoTransfer remote documents to tmp directory to display them later
Nickolay V. Shmyrev [Fri, 10 Jun 2005 14:49:25 +0000 (14:49 +0000)]
Transfer remote documents to tmp directory to display them later

19 years agos/GTime*/GTime. Not sure why we was using a pointer at all there!
Marco Pesenti Gritti [Fri, 10 Jun 2005 11:47:15 +0000 (11:47 +0000)]
s/GTime*/GTime. Not sure why we was using a pointer at all there!

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!

19 years agoUpdated Canadian English translation.
Adam Weinberger [Wed, 8 Jun 2005 21:32:28 +0000 (21:32 +0000)]
Updated Canadian English translation.

2005-06-08  Adam Weinberger  <adamw@gnome.org>

* en_CA.po: Updated Canadian English translation.

19 years agoUse a GtkIconView in certain situations. That situation is that you're
Jonathan Blandford [Wed, 8 Jun 2005 05:12:47 +0000 (05:12 +0000)]
Use a GtkIconView in certain situations. That situation is that you're

Wed Jun  8 01:04:22 2005  Jonathan Blandford  <jrb@redhat.com>

        * shell/ev-sidebar-thumbnails.c: Use a GtkIconView in certain
        situations.  That situation is that you're using GTK+-HEAD with
        the patch at #306726 is applied, and you have a document with <
        1500 pages in it.  It's not quite as uniformly nice as the
        TreeView, but should be better in the long run.

        I'm pretty sure I guarded against breaking compilation with
        HAVE_GTK_ICON_VIEW_GET_VISIBLE_RANGE gaurds, though it's possible
        I missed some.

        * shell/ev-window.c (ev_window_init): We don't have our tree/list
        widget yet, so I commented that code out
        enable_view_actions_for_widget() for now.  Need to figure this
        out.

        * shell/ev-page-action.c (match_selected_cb): emit the right
        signals.  Our cool C-l completion now works.

19 years agoPageCache and EvJobs are moved from backend to shell. Two new jobs to
Nickolay V. Shmyrev [Tue, 7 Jun 2005 23:28:54 +0000 (23:28 +0000)]
PageCache and EvJobs are moved from backend to shell. Two new jobs to
load document in background and a statusbar to display this process.
FileChooser now can select multiple uris.

19 years agoUse document info from page cache instead of document itself. fix for crash
Nickolay V. Shmyrev [Tue, 7 Jun 2005 21:46:46 +0000 (21:46 +0000)]
Use document info from page cache instead of document itself. fix for crash
306545

19 years agoBig cleanup of the ps code
Marco Pesenti Gritti [Tue, 7 Jun 2005 10:41:52 +0000 (10:41 +0000)]
Big cleanup of the ps code

2005-06-07  Marco Pesenti Gritti <mpg@redhat.com>

        * ps/ps-document.c: (ps_document_init),
        (send_ps), (get_page_box), (output), (catchPipe), (input),
        (stop_interpreter), (file_length), (file_readable),
        (check_filecompressed), (ps_document_enable_interpreter),
        (document_load), (ps_async_renderer_render_pixbuf):
        * ps/ps-document.h:

        Big cleanup of the ps code

19 years agoAdd an async renderer interface (method + callback) which is useful for
Marco Pesenti Gritti [Tue, 7 Jun 2005 09:20:35 +0000 (09:20 +0000)]
Add an async renderer interface (method + callback) which is useful for

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.

19 years agoCleanup links job on exit
Nickolay V. Shmyrev [Mon, 6 Jun 2005 23:37:15 +0000 (23:37 +0000)]
Cleanup links job on exit

19 years agoFix gcc 4.0 warnings. Second part
Nickolay V. Shmyrev [Mon, 6 Jun 2005 21:23:46 +0000 (21:23 +0000)]
Fix gcc 4.0 warnings. Second part

19 years agoFix gcc 4.0 warnings
Nickolay V. Shmyrev [Mon, 6 Jun 2005 20:42:49 +0000 (20:42 +0000)]
Fix gcc 4.0 warnings

19 years agoFix warning when loading ps
Marco Pesenti Gritti [Mon, 6 Jun 2005 11:42:27 +0000 (11:42 +0000)]
Fix warning when loading ps

2005-06-06  Marco Pesenti Gritti <mpg@redhat.com>

        * ps/ps-document.c: (start_interpreter):

        Fix warning when loading ps

19 years agoFix crash when priting gs error messages.
Marco Pesenti Gritti [Mon, 6 Jun 2005 11:37:14 +0000 (11:37 +0000)]
Fix crash when priting gs error messages.

2005-06-06  Marco Pesenti Gritti <mpg@redhat.com>

        * ps/ps-document.c: (output):

        Fix crash when priting gs error messages.

19 years agoUse a const to return title so that we dont double free it. Small cleanup
Marco Pesenti Gritti [Mon, 6 Jun 2005 09:53:45 +0000 (09:53 +0000)]
Use a const to return title so that we dont double free it. Small cleanup

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.

19 years agoCleanup the old job when changing document
Marco Pesenti Gritti [Mon, 6 Jun 2005 09:01:06 +0000 (09:01 +0000)]
Cleanup the old job when changing document

2005-06-06  Marco Pesenti Gritti <mpg@redhat.com>

        * shell/ev-sidebar-links.c: (job_finished_callback),
        (ev_sidebar_links_set_document):

        Cleanup the old job when changing document

19 years agoUpdated Canadian English translation.
Adam Weinberger [Mon, 6 Jun 2005 02:09:26 +0000 (02:09 +0000)]
Updated Canadian English translation.

2005-06-05  Adam Weinberger  <adamw@gnome.org>

* en_CA.po: Updated Canadian English translation.

19 years agosecond part of commit
Nickolay V. Shmyrev [Sun, 5 Jun 2005 18:44:05 +0000 (18:44 +0000)]
second part of commit

19 years agoAdd stock icons for action that can appear in toolbar. Fix for
Nickolay V. Shmyrev [Sun, 5 Jun 2005 18:42:48 +0000 (18:42 +0000)]
Add stock icons for action that can appear in toolbar. Fix for
bug 306566

19 years agoMore compact EvView layout in documents with different page sizes
Nickolay V. Shmyrev [Sun, 5 Jun 2005 08:35:38 +0000 (08:35 +0000)]
More compact EvView layout in documents with different page sizes

19 years agofix compilation.
Jonathan Blandford [Sat, 4 Jun 2005 23:21:20 +0000 (23:21 +0000)]
fix compilation.

        * shell/ev-window.c (ev_window_cmd_file_properties): fix
        compilation.

19 years agoA bit different fix for rounding problem but it has no
Nickolay V. Shmyrev [Sat, 4 Jun 2005 22:53:48 +0000 (22:53 +0000)]
A bit different fix for rounding problem but it has no
problems on startup. Make properties window transient to parent.

19 years agoMore commenting of font stuff
Nickolay V. Shmyrev [Sat, 4 Jun 2005 17:57:46 +0000 (17:57 +0000)]
More commenting of font stuff

19 years agoComment out some more fonts stuff. Should really work without the poppler
Marco Pesenti Gritti [Sat, 4 Jun 2005 17:09:23 +0000 (17:09 +0000)]
Comment out some more fonts stuff. Should really work without the poppler

2005-06-04  Marco Pesenti Gritti <mpg@redhat.com>

        * pdf/ev-poppler.cc:

        Comment out some more fonts stuff. Should really
        work without the poppler patch now.

19 years agoAdapt to api change
Marco Pesenti Gritti [Sat, 4 Jun 2005 17:01:41 +0000 (17:01 +0000)]
Adapt to api change

2005-06-04  Marco Pesenti Gritti <mpg@redhat.com>

        * pdf/ev-poppler.cc:

        Adapt to api change

19 years agoSet the column title. Show the dialog only once everything is setup.
Marco Pesenti Gritti [Sat, 4 Jun 2005 16:56:51 +0000 (16:56 +0000)]
Set the column title. Show the dialog only once everything is setup.

2005-06-04  Marco Pesenti Gritti <mpg@redhat.com>

        * data/evince-properties.glade:
        * pdf/ev-poppler.cc:
        * shell/ev-properties.c: (setup_fonts_view):

        Set the column title. Show the dialog only
        once everything is setup.
        Getting font info can be very slow... will
        prolly need to make this threaded too.

19 years agoImplement fonts list. Defined out for now, since it depends on a not yet
Marco Pesenti Gritti [Sat, 4 Jun 2005 16:47:07 +0000 (16:47 +0000)]
Implement fonts list. Defined out for now, since it depends on a not yet

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.

19 years agoother_page isn't necessarily page + 1.
Jonathan Blandford [Sat, 4 Jun 2005 14:57:00 +0000 (14:57 +0000)]
other_page isn't necessarily page + 1.

Fri Jun  3 21:07:57 2005  Jonathan Blandford  <jrb@redhat.com>

        * shell/ev-view.c (get_page_extents): other_page isn't necessarily
        page + 1.

        * shell/ev-window.c: Make sure we add the timeout when we get a
        focus-in event.

        * shell/ev-view.c (view_set_adjustment_values): Add 0.5 to
        adjustment->value before calculating the zoom factor to average
        out all of our rounding errors.  The page no longer 'drifts' when
        resizing.

19 years agoLabels don't expand when the dialogue is resized
Nickolay V. Shmyrev [Sat, 4 Jun 2005 13:05:31 +0000 (13:05 +0000)]
Labels don't expand when the dialogue is resized
strftime result needs to be converted to UTF-8. Thanks to chpe.

19 years agoHide the fonts tab
Marco Pesenti Gritti [Sat, 4 Jun 2005 09:42:34 +0000 (09:42 +0000)]
Hide the fonts tab

2005-06-04  Marco Pesenti Gritti <mpg@redhat.com>

        * data/evince-properties.glade:

        Hide the fonts tab

19 years agoRework properties code to take only EvPropertyInfo in the constructor so
Marco Pesenti Gritti [Sat, 4 Jun 2005 09:39:48 +0000 (09:39 +0000)]
Rework properties code to take only EvPropertyInfo in the constructor so

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.

19 years agofix spacings, make resizeable, and make data labels selectable +
Christian Persch [Sat, 4 Jun 2005 07:21:58 +0000 (07:21 +0000)]
fix spacings, make resizeable, and make data labels selectable +

2005-06-04  Christian Persch <chpe@gnome.org>

        * data/evince-properties.glade:

        fix spacings, make resizeable, and make data labels selectable + ellipsised

19 years agoUpdated Canadian English translation.
Adam Weinberger [Sat, 4 Jun 2005 03:52:50 +0000 (03:52 +0000)]
Updated Canadian English translation.

2005-06-03  Adam Weinberger  <adamw@gnome.org>

* en_CA.po: Updated Canadian English translation.

19 years agoInitial go at file properties. Patch by Emil Soleyman-Zomalan
Marco Pesenti Gritti [Fri, 3 Jun 2005 17:57:18 +0000 (17:57 +0000)]
Initial go at file properties. Patch by Emil Soleyman-Zomalan

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

19 years agoTry to render even if psscan fails.
Marco Pesenti Gritti [Thu, 2 Jun 2005 11:38:06 +0000 (11:38 +0000)]
Try to render even if psscan fails.

2005-06-02  Marco Pesenti Gritti <mpg@redhat.com>

        * ps/ps-document.c: (output):
        * ps/ps.c: (psscan):

        Try to render even if psscan fails.

19 years agoPort buffered reading code from gv
Marco Pesenti Gritti [Wed, 1 Jun 2005 18:57:16 +0000 (18:57 +0000)]
Port buffered reading code from gv

2005-06-01  Marco Pesenti Gritti <mpg@redhat.com>

        * ps/ps.c: (psscan), (pscopydoc):

        Port buffered reading code from gv

19 years agoDo not fail on interpreter messages
Marco Pesenti Gritti [Wed, 1 Jun 2005 10:43:11 +0000 (10:43 +0000)]
Do not fail on interpreter messages

2005-06-01  Marco Pesenti Gritti <mpg@redhat.com>

        * ps/ps-document.c: (interpreter_message), (output):

        Do not fail on interpreter messages

19 years agoTranslation updated by Tino Meinen.
Vincent van Adrighem [Wed, 1 Jun 2005 10:16:24 +0000 (10:16 +0000)]
Translation updated by Tino Meinen.

2005-06-01  Vincent van Adrighem  <adrighem@gnome.org>

* nl.po: Translation updated by Tino Meinen.