]> www.fi.muni.cz Git - evince.git/log
evince.git
19 years agoshut up cvs
Jonathan Blandford [Mon, 3 Jan 2005 20:01:07 +0000 (20:01 +0000)]
shut up cvs

19 years agoFix document title bugs and fallback to filename when not available.
Marco Pesenti Gritti [Mon, 3 Jan 2005 18:18:57 +0000 (18:18 +0000)]
Fix document title bugs and fallback to filename when not available.

2005-01-03  Marco Pesenti Gritti  <marco@gnome.org>

        * backend/ev-document.c: (ev_document_class_init):
        * pdf/xpdf/pdf-document.cc:
        * shell/ev-window.c: (ev_window_open):

        Fix document title bugs and fallback to
        filename when not available.

19 years agoInitial support for document title. Not working yet.
Marco Pesenti Gritti [Mon, 3 Jan 2005 13:43:31 +0000 (13:43 +0000)]
Initial support for document title. Not working yet.

2005-01-03  Marco Pesenti Gritti  <marco@gnome.org>

        * backend/ev-document.c: (ev_document_get_type),
        (ev_document_class_init), (ev_document_load),
        (ev_document_get_title):
        * backend/ev-document.h:
        * pdf/xpdf/pdf-document.cc:
        * ps/ps-document.c: (ps_document_set_property),
        (ps_document_get_property), (ps_document_class_init),
        (document_load):
        * ps/ps-document.h:
        * ps/ps.h:
        * shell/ev-window.c: (update_window_title), (ev_window_open),
        (ev_window_init):

        Initial support for document title. Not working yet.

19 years agoUpdated pt_BR translation
Raphael Higino [Mon, 3 Jan 2005 01:17:08 +0000 (01:17 +0000)]
Updated pt_BR translation

19 years agoAdded cs to ALL_LINGUAS.
Miloslav Trmac [Sun, 2 Jan 2005 17:05:51 +0000 (17:05 +0000)]
Added cs to ALL_LINGUAS.

2005-01-02  Miloslav Trmac  <mitr@volny.cz>

* configure.ac: Added cs to ALL_LINGUAS.

19 years agoAdded Czech translation.
Miloslav Trmac [Sun, 2 Jan 2005 17:05:50 +0000 (17:05 +0000)]
Added Czech translation.

2005-01-02  Miloslav Trmac  <mitr@volny.cz>

* cs.po: Added Czech translation.

19 years agoGrab focus on the view when clicking it
Marco Pesenti Gritti [Sun, 2 Jan 2005 15:27:31 +0000 (15:27 +0000)]
Grab focus on the view when clicking it

2005-01-02  Marco Pesenti Gritti  <marco@gnome.org>

        * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event):

        Grab focus on the view when clicking it

19 years agoAdd key bindings to the view. Now if the focus would work right...
Marco Pesenti Gritti [Sun, 2 Jan 2005 15:07:30 +0000 (15:07 +0000)]
Add key bindings to the view. Now if the focus would work right...

2005-01-02  Marco Pesenti Gritti  <marco@gnome.org>

        * shell/ev-marshal.list:
        * shell/ev-view.c: (ev_view_realize), (add_scroll_binding),
        (ev_view_scroll_view), (ev_view_class_init), (ev_view_init):

        Add key bindings to the view. Now if the focus would work
        right...

19 years ago*** empty log message ***
Marco Pesenti Gritti [Sun, 2 Jan 2005 12:27:16 +0000 (12:27 +0000)]
*** empty log message ***

19 years agoFix distcheck
Marco Pesenti Gritti [Sun, 2 Jan 2005 12:27:03 +0000 (12:27 +0000)]
Fix distcheck

2005-01-02  Marco Pesenti Gritti  <marco@gnome.org>

        * Makefile.am:
        * backend/Makefile.am:
        * data/Makefile.am:
        * dvi/Makefile.am:
        * dvi/dvilib/Makefile.am:
        * pdf/xpdf/Makefile.am:
        * po/POTFILES.in:
        * ps/Makefile.am:

        Fix distcheck

19 years agoFix mouse wheel scrolling
Marco Pesenti Gritti [Sat, 1 Jan 2005 19:20:26 +0000 (19:20 +0000)]
Fix mouse wheel scrolling

2005-01-01  Marco Pesenti Gritti  <marco@gnome.org>

        * shell/ev-view.c: (ev_view_realize):

        Fix mouse wheel scrolling

19 years ago*** empty log message ***
Marco Pesenti Gritti [Sat, 1 Jan 2005 12:28:28 +0000 (12:28 +0000)]
*** empty log message ***

19 years agoRename GtkGS to PSDocument
Marco Pesenti Gritti [Sat, 1 Jan 2005 12:28:12 +0000 (12:28 +0000)]
Rename GtkGS to PSDocument

2005-01-01  Marco Pesenti Gritti  <marco@gnome.org>

        * ps/Makefile.am:
        * ps/gstypes.h:
        * ps/gtkgs.c:
        * ps/gtkgs.h:
        * ps/ps-document.c: (catchPipe), (ps_document_init),
        (ps_document_class_init), (ps_document_cleanup),
        (ps_document_finalize), (send_ps), (ps_document_get_orientation),
        (set_up_page), (close_pipe), (is_interpreter_ready),
        (interpreter_failed), (output), (input), (start_interpreter),
        (stop_interpreter), (file_length), (file_readable),
        (check_filecompressed), (check_pdf), (compute_xdpi),
        (compute_ydpi), (compute_size), (ps_document_enable_interpreter),
        (ps_document_get_type), (ps_document_emit_error_msg),
        (document_load), (ps_document_next_page),
        (ps_document_get_current_page), (ps_document_get_page_count),
        (ps_document_goto_page), (ps_document_set_page_size),
        (ps_document_zoom_to_fit), (ps_document_set_zoom),
        (ps_document_load), (ps_document_get_n_pages),
        (ps_document_set_page), (ps_document_get_page),
        (ps_document_widget_event), (ps_document_set_target),
        (ps_document_set_scale), (ps_document_set_page_offset),
        (ps_document_get_page_size), (ps_document_render),
        (ps_document_document_iface_init):
        * ps/ps-document.h:
        * ps/ps.c:
        * shell/ev-window.c: (ev_window_open):

        Rename GtkGS to PSDocument

19 years agoSome more leftover...
Marco Pesenti Gritti [Sat, 1 Jan 2005 12:15:46 +0000 (12:15 +0000)]
Some more leftover...

2005-01-01  Marco Pesenti Gritti  <marco@gnome.org>

        * ps/gtkgs.c: (gtk_gs_class_init):
        * ps/gtkgs.h:

        Some more leftover...

19 years agoRemove unused code and make a lot of stuff private
Marco Pesenti Gritti [Sat, 1 Jan 2005 12:09:40 +0000 (12:09 +0000)]
Remove unused code and make a lot of stuff private

2005-01-01  Marco Pesenti Gritti  <marco@gnome.org>

        * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_get_orientation),
        (output), (stop_interpreter), (gtk_gs_emit_error_msg),
        (gtk_gs_zoom_to_fit), (gtk_gs_set_zoom):
        * ps/gtkgs.h:

        Remove unused code and make a lot of stuff private

19 years ago*** empty log message ***
Marco Pesenti Gritti [Sat, 1 Jan 2005 11:21:55 +0000 (11:21 +0000)]
*** empty log message ***

19 years agoCleanup headers dependencies
Marco Pesenti Gritti [Sat, 1 Jan 2005 11:21:33 +0000 (11:21 +0000)]
Cleanup headers dependencies

2005-01-01  Marco Pesenti Gritti  <marco@gnome.org>

        * ps/gsdefaults.c: (gtk_gs_defaults_gconf_client),
        (gtk_gs_defaults_changed):
        * ps/gsdefaults.h:
        * ps/gtkgs.c:
        * ps/gtkgs.h:
        * ps/ps.h:

        Cleanup headers dependencies

19 years agoGet rid of ggvutils
Marco Pesenti Gritti [Sat, 1 Jan 2005 11:09:50 +0000 (11:09 +0000)]
Get rid of ggvutils

2005-01-01  Marco Pesenti Gritti  <marco@gnome.org>

        * ps/Makefile.am:
        * ps/ggvutils.c:
        * ps/ggvutils.h:
        * ps/gsdefaults.c: (gtk_gs_defaults_get_paper_sizes):
        * ps/gsdefaults.h:
        * ps/gtkgs.c: (file_length), (file_readable),
        (check_filecompressed), (check_pdf), (gtk_gs_load),
        (gtk_gs_get_postscript):

        Get rid of ggvutils

19 years agoCleanups
Marco Pesenti Gritti [Fri, 31 Dec 2004 17:41:57 +0000 (17:41 +0000)]
Cleanups

2004-12-31  Marco Pesenti Gritti  <marco@gnome.org>

        * ps/ggvutils.c:
        * ps/ggvutils.h:
        * ps/gsio.h:
        * ps/gtkgs.c: (gtk_gs_set_zoom):

        Cleanups

19 years agoEnsure the page is rerendered when changing zoom
Marco Pesenti Gritti [Fri, 31 Dec 2004 17:17:56 +0000 (17:17 +0000)]
Ensure the page is rerendered when changing zoom

2004-12-31  Marco Pesenti Gritti  <marco@gnome.org>

        * ps/gtkgs.c: (gtk_gs_set_zoom), (gtk_gs_set_zoom_mode):

        Ensure the page is rerendered when changing zoom

19 years agoAdd a changed event that is emitted when the page content changes. This is
Marco Pesenti Gritti [Fri, 31 Dec 2004 17:10:25 +0000 (17:10 +0000)]
Add a changed event that is emitted when the page content changes. This is

2004-12-31  Marco Pesenti Gritti  <marco@gnome.org>

        * backend/ev-document.c: (ev_document_base_init),
        (ev_document_changed):
        * backend/ev-document.h:

        Add a changed event that is emitted when the page content
        changes. This is necessary to deal with the fact that
        in ps backend rendering happen asycrounously.
        This makes the ps backend mostly work.

        * pdf/xpdf/pdf-document.cc:

        Emit changed event

        * ps/gtkgs.c: (set_up_page), (gtk_gs_widget_event),
        (ps_document_set_target):

        Emit changed event

        * shell/ev-view.c: (document_changed_callback),
        (ev_view_set_document), (ev_view_set_page):

        Redraw on the changed signal

19 years agoAdded nl to ALL_LINGUAS.
Vincent van Adrighem [Tue, 28 Dec 2004 14:07:16 +0000 (14:07 +0000)]
Added nl to ALL_LINGUAS.

2004-12-28  Vincent van Adrighem  <adrighem@gnome.org>

* configure.ac: Added nl to ALL_LINGUAS.

19 years agoTranslation added by Tino Meinen.
Vincent van Adrighem [Tue, 28 Dec 2004 14:07:14 +0000 (14:07 +0000)]
Translation added by Tino Meinen.

2004-12-28  Vincent van Adrighem  <adrighem@gnome.org>

* nl.po: Translation added by Tino Meinen.

20 years agoAdded pt_BR translation
Raphael Higino [Sat, 25 Dec 2004 13:09:57 +0000 (13:09 +0000)]
Added pt_BR translation

20 years agoAdded Simplified Chinese translation
Funda Wang [Fri, 24 Dec 2004 13:59:07 +0000 (13:59 +0000)]
Added Simplified Chinese translation

20 years ago* backend/ev-document-bookmarks.h: * pdf/xpdf/Makefile.am: *
Jonathan Blandford [Fri, 24 Dec 2004 05:50:50 +0000 (05:50 +0000)]
* backend/ev-document-bookmarks.h: * pdf/xpdf/Makefile.am: *

Fri Dec 24 00:48:44 2004  Jonathan Blandford  <jrb@redhat.com>

        * backend/ev-document-bookmarks.c:
        (ev_document_bookmarks_get_child): *
        backend/ev-document-bookmarks.h: * pdf/xpdf/Makefile.am: *
        pdf/xpdf/pdf-document.cc: * pdf/xpdf/pdf-document.h: *
        shell/Makefile.am: * shell/ev-sidebar-bookmarks.c:
        (ev_sidebar_bookmarks_destroy),
        (ev_sidebar_bookmarks_class_init),
        (ev_sidebar_bookmarks_construct), (stack_data_free),
        (do_one_iteration), (populate_bookmarks_idle),
        (ev_sidebar_bookmarks_clear_document),
        (ev_sidebar_bookmarks_set_document): *
        shell/ev-sidebar-bookmarks.h: * shell/ev-sidebar.c:
        (ev_sidebar_add_page),
        (ev_sidebar_set_document): * shell/ev-window.c: (ev_window_open):
        Initial stab at a bookmarks sidebar.  It doesn't navigate yet, but
        it displays both the topics and the page numbers.

20 years agoSet sidebar default value to visible.
Kristian Høgsberg [Thu, 23 Dec 2004 17:10:52 +0000 (17:10 +0000)]
Set sidebar default value to visible.

20 years agoHook up sidebar toggle.
Kristian Høgsberg [Thu, 23 Dec 2004 16:31:00 +0000 (16:31 +0000)]
Hook up sidebar toggle.

2004-12-23  Kristian Høgsberg  <krh@redhat.com>

        * shell/ev-window.c (ev_window_view_sidebar_cb): Hook up sidebar
        toggle.

20 years agoAdded en_CA to ALL_LINGUAS. Added Canadian English translation.
Adam Weinberger [Thu, 23 Dec 2004 15:36:45 +0000 (15:36 +0000)]
Added en_CA to ALL_LINGUAS. Added Canadian English translation.

* configure.ac: Added en_CA to ALL_LINGUAS.
* po/en_CA.po: Added Canadian English translation.

20 years agoreplace bottom of this ChangeLog (merged history of ggv and gpdf;
Martin Kretzschmar [Thu, 23 Dec 2004 09:41:06 +0000 (09:41 +0000)]
replace bottom of this ChangeLog (merged history of ggv and gpdf;
where all paths were wrong and most of the files are not even in this
tree) with ChangeLog (from arch) of the shell code.

20 years agohook up potentially-questionable "find results status text" feature -
Havoc Pennington [Thu, 23 Dec 2004 06:59:04 +0000 (06:59 +0000)]
hook up potentially-questionable "find results status text" feature -

2004-12-23  Havoc Pennington  <hp@redhat.com>

* shell/ev-window.c: hook up potentially-questionable "find
results status text" feature - something involving the sidebar or
scrollbar or a continuous all-pages-on-giant-roll-of-paper-view
might be better in the end.

* shell/ev-view.c (ev_view_get_find_status_message): new function,
with corresponding signal when it should be updated

* shell/eggfindbar.c (egg_find_bar_set_status_text): new function

20 years agocvs add, the root of all evil
Havoc Pennington [Thu, 23 Dec 2004 05:14:17 +0000 (05:14 +0000)]
cvs add, the root of all evil

20 years agomake search find stuff on other pages, sort of (only returns one result on
Havoc Pennington [Thu, 23 Dec 2004 05:12:59 +0000 (05:12 +0000)]
make search find stuff on other pages, sort of (only returns one result on

2004-12-22  Havoc Pennington  <hp@redhat.com>

* pdf/xpdf/pdf-document.cc (pdf_document_find_begin): make search
find stuff on other pages, sort of (only returns one result on
invisible pages, to show they have results; updates full results
for a page when you view it). Currently repaints the current page
every time a new result is found on any page, which isn't so nice.

20 years agodisplay an error if the document doesn't support find (better ideas?)
Havoc Pennington [Thu, 23 Dec 2004 03:09:00 +0000 (03:09 +0000)]
display an error if the document doesn't support find (better ideas?)

2004-12-22  Havoc Pennington  <hp@redhat.com>

* shell/ev-window.c (ev_window_cmd_edit_find): display an error if
the document doesn't support find (better ideas?)
(find_bar_search_changed_cb): handle missing document or document
that doesn't support find

* pdf/xpdf/pdf-document.cc: port to implement the new
EvDocumentFindIface

* backend/ev-document-find.c: create a new interface for searching

* backend/ev-document.h, backend/ev-document.c: delete the find stuff

20 years agoAdded Simplified Chinese translation
Funda Wang [Thu, 23 Dec 2004 03:00:01 +0000 (03:00 +0000)]
Added Simplified Chinese translation

20 years agoadd libevbackend.la.
Martin Kretzschmar [Thu, 23 Dec 2004 01:28:41 +0000 (01:28 +0000)]
add libevbackend.la.

* pdf/xpdf/Makefile.am (libpdfdocument_la_LIBADD): add
libevbackend.la.

20 years agoadd GnomePrintJob to EvPrintJob constructor arguments.
Martin Kretzschmar [Thu, 23 Dec 2004 01:08:19 +0000 (01:08 +0000)]
add GnomePrintJob to EvPrintJob constructor arguments.

* shell/ev-window.c (ev_window_print): add GnomePrintJob to
EvPrintJob constructor arguments.

* backend/ev-ps-exporter.c, backend/ev-ps-exporter.h: interface
for documents that can export PostScript (page by page).

* backend/Makefile.am (libevbackend_la_SOURCES): add them.

* pdf/xpdf/pdf-document.cc (pdf_document_ps_export_begin)
(pdf_document_ps_export_do_page, pdf_document_ps_export_end)
(pdf_document_ps_exporter_iface_init:
Implement EvPSExporter.

* pdf/xpdf/Makefile.am (libxpdf_la_SOURCES): build PSOutputDev.

20 years agoAdd thumbnail support.
Anders Carlsson [Wed, 22 Dec 2004 23:24:47 +0000 (23:24 +0000)]
Add thumbnail support.

2004-12-22  Anders Carlsson  <andersca@gnome.org>

* backend/Makefile.am:
* backend/ev-document-thumbnails.c:
(ev_document_thumbnails_get_type),
(ev_document_thumbnails_get_thumbnail):
* backend/ev-document-thumbnails.h:
* pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
(pixbuf_document_thumbnails_get_thumbnail),
(pixbuf_document_document_thumbnails_iface_init):
* shell/Makefile.am:
* shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_destroy),
(ev_sidebar_thumbnails_class_init), (ev_sidebar_thumbnails_init),
(populate_thumbnails), (ev_sidebar_thumbnails_set_document):
* shell/ev-sidebar-thumbnails.h:
* shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
(ev_sidebar_set_document):
* shell/ev-utils.c: (gaussian), (create_blur_filter),
(create_shadow), (ev_pixbuf_add_shadow):
* shell/ev-utils.h:
Add thumbnail support.

20 years agoSet up a print dialog for "PostScript injection" method.
Martin Kretzschmar [Wed, 22 Dec 2004 22:00:20 +0000 (22:00 +0000)]
Set up a print dialog for "PostScript injection" method.

* shell/ev-window.c (ev_window_cmd_file_print, ev_window_print)
(using_postscript_printer): Set up a print dialog for "PostScript
injection" method.

* shell/ev-print-job.h, shell/ev-print-job.c: stub classes for
EvPrintJob.

* shell/Makefile.am (evince_SOURCES): add ev-print-job.[ch]

20 years agoAdd thumbnail support.
Anders Carlsson [Wed, 22 Dec 2004 20:54:22 +0000 (20:54 +0000)]
Add thumbnail support.

2004-12-22  Anders Carlsson  <andersca@gnome.org>

* backend/Makefile.am:
* backend/ev-document-thumbnails.c:
(ev_document_thumbnails_get_type),
(ev_document_thumbnails_get_thumbnail):
* backend/ev-document-thumbnails.h:
* pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
(pixbuf_document_thumbnails_get_thumbnail),
(pixbuf_document_document_thumbnails_iface_init):
* shell/Makefile.am:
* shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_destroy),
(ev_sidebar_thumbnails_class_init), (ev_sidebar_thumbnails_init),
(populate_thumbnails), (ev_sidebar_thumbnails_set_document):
* shell/ev-sidebar-thumbnails.h:
* shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
(ev_sidebar_set_document):
* shell/ev-utils.c: (gaussian), (create_blur_filter),
(create_shadow), (ev_pixbuf_add_shadow):
* shell/ev-utils.h:
Add thumbnail support.

20 years agoFix a few bugs
Marco Pesenti Gritti [Wed, 22 Dec 2004 20:21:59 +0000 (20:21 +0000)]
Fix a few bugs

2004-12-22  Marco Pesenti Gritti  <marco@gnome.org>

        * ps/gtkgs.c: (gtk_gs_init), (set_up_page),
        (ps_document_set_target), (ps_document_get_page_size),
        (ps_document_render):
        * ps/gtkgs.h:

        Fix a few bugs

20 years agoAdded "sv" to ALL_LINGUAS. Added Swedish translation.
Christian Rose [Wed, 22 Dec 2004 20:14:25 +0000 (20:14 +0000)]
Added "sv" to ALL_LINGUAS. Added Swedish translation.

2004-12-22  Christian Rose  <menthos@menthos.com>

* configure.ac: Added "sv" to ALL_LINGUAS.
* po/sv.po: Added Swedish translation.

20 years agonew interface to indicate document supports bookmarks.
Jonathan Blandford [Wed, 22 Dec 2004 19:49:26 +0000 (19:49 +0000)]
new interface to indicate document supports bookmarks.

Wed Dec 22 14:47:38 2004  Jonathan Blandford  <jrb@redhat.com>

        * backend/ev-document-bookmarks.[ch]: new interface to indicate
        document supports bookmarks.

20 years agoRemove unused utils
Marco Pesenti Gritti [Wed, 22 Dec 2004 19:36:46 +0000 (19:36 +0000)]
Remove unused utils

2004-12-22  Marco Pesenti Gritti  <marco@gnome.org>

        * ps/ggvutils.c: (ggv_file_readable):
        * ps/ggvutils.h:
        * ps/gtkgs.c: (check_filecompressed), (check_pdf),
        (gtk_gs_get_postscript):

        Remove unused utils

20 years agoAnother check point for the ps backend. Now I can get it to show pages!
Marco Pesenti Gritti [Wed, 22 Dec 2004 19:13:00 +0000 (19:13 +0000)]
Another check point for the ps backend. Now I can get it to show pages!

2004-12-22  Marco Pesenti Gritti  <marco@gnome.org>

        * ps/gtkgs.c: (gtk_gs_init), (gtk_gs_class_init), (gtk_gs_cleanup),
        (gtk_gs_finalize), (gtk_gs_set_center), (set_up_page), (output),
        (start_interpreter), (compute_size), (gtk_gs_enable_interpreter),
        (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_reload),
        (gtk_gs_emit_error_msg), (gtk_gs_disable_interpreter),
        (gtk_gs_load), (gtk_gs_goto_page), (gtk_gs_set_page_size),
        (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
        (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
        (gtk_gs_set_antialiasing), (ps_document_load),
        (ps_document_render):
        * ps/gtkgs.h:

        Another check point for the ps backend. Now I can get it to show
        pages!

20 years agoAdded files that were missing according to 'intltool-update --maintain'.
Christian Rose [Wed, 22 Dec 2004 18:48:08 +0000 (18:48 +0000)]
Added files that were missing according to 'intltool-update --maintain'.

2004-12-22  Christian Rose  <menthos@menthos.com>

* POTFILES.in: Added files that were missing according to
'intltool-update --maintain'.
* .cvsignore: Added more files.

20 years agoinitial sidebar document setting code.
Jonathan Blandford [Wed, 22 Dec 2004 18:41:31 +0000 (18:41 +0000)]
initial sidebar document setting code.

Wed Dec 22 13:41:01 2004  Jonathan Blandford  <jrb@redhat.com>

        * shell/ev-sidebar.c (ev_sidebar_set_document): initial sidebar
        document setting code.

20 years agoAnimate the next button when activate is pressed.
Anders Carlsson [Wed, 22 Dec 2004 18:34:53 +0000 (18:34 +0000)]
Animate the next button when activate is pressed.

2004-12-22  Anders Carlsson  <andersca@gnome.org>

* shell/eggfindbar.c: (entry_activate_callback):
Animate the next button when activate is pressed.

20 years agoFix bugs in fullscreen code.
Anders Carlsson [Wed, 22 Dec 2004 18:07:48 +0000 (18:07 +0000)]
Fix bugs in fullscreen code.

2004-12-22  Anders Carlsson  <andersca@gnome.org>

* shell/ev-window.c: (ev_window_cmd_edit_find),
(update_fullscreen_popup), (ev_window_fullscreen),
(ev_window_unfullscreen), (ev_window_state_event_cb),
(ev_window_focus_out_cb), (find_bar_close_cb), (ev_window_init):
Fix bugs in fullscreen code.

20 years agoadd cvsignores
Marco Pesenti Gritti [Wed, 22 Dec 2004 17:46:47 +0000 (17:46 +0000)]
add cvsignores

20 years agoDon't forget the ChangeLog
Anders Carlsson [Wed, 22 Dec 2004 17:25:26 +0000 (17:25 +0000)]
Don't forget the ChangeLog

20 years agoSssshhh
Martin Kretzschmar [Wed, 22 Dec 2004 17:22:45 +0000 (17:22 +0000)]
Sssshhh

20 years agoAdd pixbuf backend.
Anders Carlsson [Wed, 22 Dec 2004 17:20:51 +0000 (17:20 +0000)]
Add pixbuf backend.

2004-12-22  Anders Carlsson  <andersca@gnome.org>

* Makefile.am:
* configure.ac:
* pixbuf/Makefile.am:
* pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
(pixbuf_document_load), (pixbuf_document_get_n_pages),
(pixbuf_document_set_page), (pixbuf_document_get_page),
(pixbuf_document_set_target), (pixbuf_document_set_scale),
(pixbuf_document_set_page_offset), (pixbuf_document_get_page_size),
(pixbuf_document_render), (pixbuf_document_begin_find),
(pixbuf_document_end_find), (pixbuf_document_finalize),
(pixbuf_document_class_init),
(pixbuf_document_document_iface_init), (pixbuf_document_init):
* pixbuf/pixbuf-document.h:
* shell/Makefile.am:
* shell/ev-application.c: (ev_application_open):
* shell/ev-window.c: (mime_type_supported_by_gdk_pixbuf),
(ev_window_open):
Add pixbuf backend.

20 years agoAdd Makefile.am
Søren Sandmann Pedersen [Wed, 22 Dec 2004 16:34:36 +0000 (16:34 +0000)]
Add Makefile.am

20 years agoAuto*ify dvi and dvi/dvilib
Soeren Sandmann [Wed, 22 Dec 2004 16:04:45 +0000 (16:04 +0000)]
Auto*ify dvi and dvi/dvilib

Tue Dec 21 21:45:43 2004  Soeren Sandmann  <sandmann@redhat.com>

* Makefile.am:
* dvi/dvilib/Makefile.am:
* dvi/Makefile.am:
* configure.ac: Auto*ify dvi and dvi/dvilib

* dvi/Makefile: Remove from CVS

* dvi/dvilib/dl-pkfont.cc (unpack_bitmap): Fix uchar/uint
confusion.

* dvi/dvilib/dl-fontdefinition.{cc,hh}: New DviFontMap class

* dvi/dvilib/dl-vffont.{cc,hh}: Many bugfixes to VF code.

20 years ago*** empty log message ***
Marco Pesenti Gritti [Wed, 22 Dec 2004 14:22:25 +0000 (14:22 +0000)]
*** empty log message ***

20 years agoAdd fullscreen support from Epiphany.
Anders Carlsson [Wed, 22 Dec 2004 13:55:37 +0000 (13:55 +0000)]
Add fullscreen support from Epiphany.

2004-12-22  Anders Carlsson  <andersca@gnome.org>

* shell/ev-window.c: (update_fullscreen_popup),
(screen_size_changed_cb), (destroy_exit_fullscreen_popup),
(exit_fullscreen_button_clicked_cb),
(fullscreen_popup_size_request_cb), (ev_window_fullscreen),
(ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
(ev_window_state_event_cb), (ev_window_init):
Add fullscreen support from Epiphany.

20 years agofit-width stock icon from gpdf.
Mark McLoughlin [Wed, 22 Dec 2004 13:28:08 +0000 (13:28 +0000)]
fit-width stock icon from gpdf.

2004-12-22  Mark McLoughlin  <mark@skynet.ie>

        * data/ev-stock-zoom-fit-width.png: fit-width
        stock icon from gpdf.

        * shell/ev-stock-icons.[ch]: copied from gpdf.

        * shell/main.c: (main): init stock icons.

        * shell/ev-window.c: use the fit-width icon.

        * data/evince-ui.xml: add zooming toolbar items.

20 years agobecause get_page_size() returns the scaled page size, we need to calculate
Mark McLoughlin [Wed, 22 Dec 2004 12:59:02 +0000 (12:59 +0000)]
because get_page_size() returns the scaled page size, we need to calculate

2004-12-22  Mark McLoughlin  <mark@skynet.ie>

        * shell/ev-view.c:
        (ev_view_best_fit), (ev_view_fit_width): because
        get_page_size() returns the scaled page size, we
        need to calculate the scale factor relative to
        the previous scale factor. Should really just
        add get_real_page_size().

20 years agoadd zooming.
Mark McLoughlin [Wed, 22 Dec 2004 12:31:53 +0000 (12:31 +0000)]
add zooming.

2004-12-22  Mark McLoughlin  <mark@skynet.ie>

        * shell/ev-view.[ch]:
        (ev_view_zoom), (ev_view_zoom_in), (ev_view_zoom_out),
        (ev_view_normal_size), (ev_view_best_fit), (ev_view_fit_width):
        add zooming.

        * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
        (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_normal_size),
        (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width):
        hook it up.

        * pdf/xpdf/pdf-document.cc:
        (pdf_document_begin_find),
        (pdf_document_end_find): make static.

20 years agoadd prototype.
Martin Kretzschmar [Wed, 22 Dec 2004 11:50:50 +0000 (11:50 +0000)]
add prototype.

* pdf/xpdf/GlobalParams.h (setupBaseFontsFc): add prototype.

* pdf/xpdf/GlobalParams.cc (displayFontTabFc): maps base font
names to fontconfig patterns.
(setupBaseFontsFc): setupBaseFonts reimplemented using fontconfig.

* pdf/xpdf/pdf-document.cc (pdf_document_load): use
setupBaseFontsFc.

20 years ago*** empty log message ***
Martin Kretzschmar [Wed, 22 Dec 2004 11:38:21 +0000 (11:38 +0000)]
*** empty log message ***

20 years ago*** empty log message ***
Marco Pesenti Gritti [Wed, 22 Dec 2004 10:53:55 +0000 (10:53 +0000)]
*** empty log message ***

20 years agoImport ggv backend. Not hooked up yet.
Marco Pesenti Gritti [Wed, 22 Dec 2004 10:53:40 +0000 (10:53 +0000)]
Import ggv backend. Not hooked up yet.

2004-12-22  Marco Pesenti Gritti  <marco@gnome.org>

        * Makefile.am:
        * configure.ac:
        * ps/Makefile.am:
        * ps/ggvutils.c:
        * ps/ggvutils.h:
        * ps/gsdefaults.c:
        * ps/gsdefaults.h:
        * ps/gsio.c:
        * ps/gsio.h:
        * ps/gtkgs.c:
        * ps/gtkgs.h:
        * ps/ps.c:
        * ps/ps.h:

        Import ggv backend. Not hooked up yet.

20 years agoRemoved unused shell/global-params.* (was still there from old evince code)
Martin Kretzschmar [Wed, 22 Dec 2004 09:35:25 +0000 (09:35 +0000)]
Removed unused shell/global-params.* (was still there from old evince code)

20 years agoload files from the command line.
Mark McLoughlin [Wed, 22 Dec 2004 09:32:11 +0000 (09:32 +0000)]
load files from the command line.

2004-12-22  Mark McLoughlin  <mark@skynet.ie>

        * shell/main.c: (load_files), (main): load files
        from the command line.

2004-12-22  Mark McLoughlin  <mark@skynet.ie>

        * configure.ac: don't require bonobo.

        * cut-n-paste/recent-files/*: kill bonobo recent
        view.

        * shell/ev-window.c:
        (ev_window_is_empty): upd.
        (unable_to_load), (ev_window_open): load backend
        based on the mime type.

20 years agoignore generated marshalers source.
Martin Kretzschmar [Wed, 22 Dec 2004 09:20:27 +0000 (09:20 +0000)]
ignore generated marshalers source.

20 years agoremove from cvs.
Martin Kretzschmar [Wed, 22 Dec 2004 09:18:26 +0000 (09:18 +0000)]
remove from cvs.

* evince.pot: remove from cvs.

* de.po: update a little.

* POTFILES.in: update.

* .cvsignore: add *.mo, *.pot.

20 years ago(main): this is not epiphany.
Martin Kretzschmar [Wed, 22 Dec 2004 09:16:16 +0000 (09:16 +0000)]
(main): this is not epiphany.

20 years agoconnect to "found" signal (expose_bin_window): draw find highlights
Havoc Pennington [Wed, 22 Dec 2004 05:30:35 +0000 (05:30 +0000)]
connect to "found" signal (expose_bin_window): draw find highlights

2004-12-22  Havoc Pennington  <hp@redhat.com>

* shell/ev-view.c (ev_view_set_document): connect to "found" signal
(expose_bin_window): draw find highlights

* shell/ev-window.c (find_bar_search_changed_cb): implement

* pdf/xpdf/pdf-document.cc (pdf_document_begin_find)
(pdf_document_end_find): implement this interface

* backend/ev-document.c (ev_document_found): add this to emit
signal

20 years agoAdd a few more toolbar items.
Owen Taylor [Wed, 22 Dec 2004 05:13:37 +0000 (05:13 +0000)]
Add a few more toolbar items.

Tue Dec 21 23:57:37 2004  Owen Taylor  <otaylor@redhat.com>

        * data/evince-ui.xml: Add a few more toolbar items.

        * shell/ev-window.c: Hook up page navigation toolbar
        items.

        * shell/ev-view.[ch]: add ev_view_set/get_page and
        a page-changed signal.

        * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc::
        Add ev_document_get_page().

        * shell/ev-window.c: Sensitize/desensitize navigation
        actions.

20 years agoforgot a file
Havoc Pennington [Wed, 22 Dec 2004 05:09:21 +0000 (05:09 +0000)]
forgot a file

20 years agoadd marshaler-generator thingy. I'm sure there's a better way to do this
Havoc Pennington [Wed, 22 Dec 2004 04:37:26 +0000 (04:37 +0000)]
add marshaler-generator thingy. I'm sure there's a better way to do this

2004-12-21  Havoc Pennington  <hp@redhat.com>

* backend/ev-backend-marshal.c,
backend/ev-backend-marshalers.list, backend/Makefile.am: add
marshaler-generator thingy. I'm sure there's a better way to do
this in the modern world.

* backend/ev-document.h (struct _EvDocumentIface): add begin_find,
end_find methods and "found" signal.

* configure.ac: find glib-genmarshal

20 years agoConstruct an actual sidebar.
Jonathan Blandford [Wed, 22 Dec 2004 04:21:54 +0000 (04:21 +0000)]
Construct an actual sidebar.

Tue Dec 21 23:20:35 2004  Jonathan Blandford  <jrb@redhat.com>

        * shell/ev-sidebar.c: Construct an actual sidebar.
        * shell/ev-sidebar-bookmarks.[ch]:
        * shell/ev-sidebar-thumbnails.[ch]: Stub out sidebars.

20 years agoRedo size handling.
Owen Taylor [Wed, 22 Dec 2004 04:14:06 +0000 (04:14 +0000)]
Redo size handling.

Tue Dec 21 23:05:51 2004  Owen Taylor  <otaylor@redhat.com>

        * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc:
        Redo size handling.

        * shell/ev-view.c: Track the size from the document.

20 years agoPDFDoc constructor assumes ownership of the string passed in.
Owen Taylor [Wed, 22 Dec 2004 03:23:47 +0000 (03:23 +0000)]
PDFDoc constructor assumes ownership of the string passed in.

Tue Dec 21 22:17:04 2004  Owen Taylor  <otaylor@redhat.com>

        * pdf/xpdf/pdf-document.cc (pdf_document_load): PDFDoc
        constructor assumes ownership of the string passed in.

        * shell/ev-window.c (ev_window_open): Destroy the error
        dialog once we've displayed it.

20 years agoHook things up a bit, it works! (sort of)
Owen Taylor [Wed, 22 Dec 2004 03:14:27 +0000 (03:14 +0000)]
Hook things up a bit, it works! (sort of)

Tue Dec 21 21:58:56 2004  Owen Taylor  <otaylor@redhat.com>

        * pdf/xpdf/pdf-document.cc shell/ev-view.c: Hook things up
        a bit, it works! (sort of)

        * pdf/xpdf/Makefile.am pdf/xpdf/pdf-document.cc:
        Move to .cc since we need to use C++ in the implementation.

        * shell/dummy.cc: Add a CC file to force evince
        to be linked as a C++ program.x

20 years agoStart of content-area widget.
Owen Taylor [Wed, 22 Dec 2004 02:19:48 +0000 (02:19 +0000)]
Start of content-area widget.

Tue Dec 21 21:07:55 2004  Owen Taylor  <otaylor@redhat.com>

        * shell/ev-view.[ch]: Start of content-area widget.

        * shell/ev-window.c: Create a EvView, update it
        as we change documents.

        * shell/Makefile.am shell/ev-marshal.list: Add
        generated marshalers.

20 years agomove shell.
Jonathan Blandford [Wed, 22 Dec 2004 01:29:04 +0000 (01:29 +0000)]
move shell.

Tue Dec 21 20:28:11 2004  Jonathan Blandford  <jrb@redhat.com>

        * Makefile.am (SUBDIRS): move shell.

20 years agoSwitch from .a to libtool convenience libraries.
Owen Taylor [Wed, 22 Dec 2004 00:44:41 +0000 (00:44 +0000)]
Switch from .a to libtool convenience libraries.

Tue Dec 21 19:28:55 2004  Owen Taylor  <otaylor@redhat.com>

        * pdf/{goo,fofi,splash,xpdf}/Makefile.am: Switch from
        .a to libtool convenience libraries.

        * shell/ev-window.c (ev_window_open): Hard code loading
        a PDF document.

        * backend/ev-document.h: Add a boolean return to load(),
        fix GError * to GError **.

        * pdf/xpdf/pdf-document.[ch] Makefile.am: Add a stub
        object for a PDF backend EvDocument.

20 years agoRemove .cvsignore in empty dir
Owen Taylor [Wed, 22 Dec 2004 00:11:15 +0000 (00:11 +0000)]
Remove .cvsignore in empty dir

20 years agoNew directory with the beginning of a .dvi backend.
Søren Sandmann [Tue, 21 Dec 2004 23:57:26 +0000 (23:57 +0000)]
New directory with the beginning of a .dvi backend.

Tue Dec 21 18:55:06 2004  Søren Sandmann  <sandmann@redhat.com>

* dvi/*: New directory with the beginning of a .dvi backend.

20 years agochange buttons to previous/next instead of back/forward
Havoc Pennington [Tue, 21 Dec 2004 23:54:34 +0000 (23:54 +0000)]
change buttons to previous/next instead of back/forward

2004-12-21  Havoc Pennington  <hp@redhat.com>

* shell/eggfindbar.c (egg_find_bar_init): change buttons to
previous/next instead of back/forward

20 years agoFix a couple of problems so it compile.
Owen Taylor [Tue, 21 Dec 2004 23:32:07 +0000 (23:32 +0000)]
Fix a couple of problems so it compile.

Tue Dec 21 18:26:24 2004  Owen Taylor  <otaylor@redhat.com>

        * backend/ev-document.[ch]: Fix a couple of problems so
        it compile.

20 years agoMove viewer directory to backend/ directory, rename EvViewer to
Owen Taylor [Tue, 21 Dec 2004 23:29:47 +0000 (23:29 +0000)]
Move viewer directory to backend/ directory, rename EvViewer to

Tue Dec 21 18:20:40 2004  Owen Taylor  <otaylor@redhat.com>

        * viewer/* backend/* configure.ac Makefile.am: Move viewer directory
        to backend/ directory, rename EvViewer to EvDocument.

20 years agohook up the find bar widget; now we just need a document to find things in
Havoc Pennington [Tue, 21 Dec 2004 23:27:49 +0000 (23:27 +0000)]
hook up the find bar widget; now we just need a document to find things in

2004-12-21  Havoc Pennington  <hp@redhat.com>

* shell/ev-window.c: hook up the find bar widget; now we just need
a document to find things in

* shell/eggfindbar.c: a find bar widget

20 years agoforgot these
Jonathan Blandford [Tue, 21 Dec 2004 22:27:26 +0000 (22:27 +0000)]
forgot these

20 years agoinitial sidebar boilerplate.
Jonathan Blandford [Tue, 21 Dec 2004 22:21:16 +0000 (22:21 +0000)]
initial sidebar boilerplate.

Tue Dec 21 17:20:16 2004  Jonathan Blandford  <jrb@redhat.com>

        * shell/ev-sidebar.[ch]: initial sidebar boilerplate.

20 years agoImport of xpdf code from gpdf.
Owen Taylor [Tue, 21 Dec 2004 21:47:36 +0000 (21:47 +0000)]
Import of xpdf code from gpdf.

Tue Dec 21 16:30:58 2004  Owen Taylor  <otaylor@redhat.com>

        * pdf/**: Import of xpdf code from gpdf.

        * pdf/xpdf/xpdfconfig.h: Move the non-config.h config.h to xpdfconfig.h

        * pdf/splash/SplashFTFont.{cc,h} pdf/splash/SplashFTFont.h
        pdf/splash/SplashFTFontEngine.h pdf/splash/SplashFTFontFile.h:
        Fix FreeType includes.

        * pdf/xpdf/{Error.h GnomeVFSStream.cc ImageOutputDev.cc PDFDoc.cc\
        pdffonts.cc pdfimages.cc pdfinfo.cc pdftoppm.cc pdftops.cc
        pdftotext.cc PSOutputDev.cc PSOutputDev.h SplashOutputDev.h
        Stream.cc TextOutputDev.cc XPDFApp.cc xpdf.cc XPDFViewer.cc
        pdf/xpdf/Error.h PSOutputDev.h SplashOutputDev.h}:
        Include xpdfconfig.h

20 years agodispose can be called multiple times.
Jonathan Blandford [Tue, 21 Dec 2004 21:09:52 +0000 (21:09 +0000)]
dispose can be called multiple times.

Tue Dec 21 16:08:17 2004  Jonathan Blandford  <jrb@redhat.com>

        * shell/ev-window.c (ev_window_dispose): dispose can be called
        multiple times.

20 years agoset title to Document Viewer rather than Evince
Havoc Pennington [Tue, 21 Dec 2004 20:52:41 +0000 (20:52 +0000)]
set title to Document Viewer rather than Evince

2004-12-21  Havoc Pennington  <hp@redhat.com>

* shell/ev-window.c (ev_window_init): set title to Document Viewer
rather than Evince

* data/evince-ui.xml, shell/ev-window.c: add a bunch of stub menu
items; really they should be synced with the strings, etc. from
current gpdf, but just getting the boring typing out of the way

20 years agoActually show the window...
Marco Pesenti Gritti [Tue, 21 Dec 2004 18:48:35 +0000 (18:48 +0000)]
Actually show the window...

2004-12-21  Marco Pesenti Gritti  <marco@gnome.org>

        * po/POTFILES.in:
        * shell/ev-application.c: (window_destroy_cb):
        * shell/ev-window.c:
        * shell/main.c: (main):

        Actually show the window...

20 years agoadd cvsignores
Marco Pesenti Gritti [Tue, 21 Dec 2004 18:04:29 +0000 (18:04 +0000)]
add cvsignores

20 years ago*** empty log message ***
Marco Pesenti Gritti [Tue, 21 Dec 2004 17:58:23 +0000 (17:58 +0000)]
*** empty log message ***

20 years agoImport sources start
Marco Pesenti Gritti [Tue, 21 Dec 2004 17:41:03 +0000 (17:41 +0000)]
Import sources

20 years agoInitial revision
Marco Pesenti Gritti [Tue, 21 Dec 2004 17:41:03 +0000 (17:41 +0000)]
Initial revision

20 years agoport from GPdfHIGDialog to GtkMessageDialog. GPDF_2_9_1
Martin Kretzschmar [Mon, 20 Dec 2004 21:08:38 +0000 (21:08 +0000)]
port from GPdfHIGDialog to GtkMessageDialog.

* xpdf/gpdf-control.cc (gpdf_control_private_error_dialog):
(gpdf_control_private_warn_dialog, gpdf_control_private_info_dialog)
(overwrite_existing_file, save_error_dialog): port from GPdfHIGDialog to
GtkMessageDialog.

* xpdf/Makefile.am (libgpdf_a_SOURCES): remove gpdf-hig-dialog.[ch]

* xpdf/gpdf-hig-dialog.c, xpdf/gpdf-hig-dialog.h, xpdf/eog-hig-dialog.c,
xpdf/eog-hig-dialog.h: remove, no longer needed with gtk 2.5

20 years agoFix for a number of integer overflow bugs discovered by Chris Evans. GNOME_2_8_ANCHOR GPDF_2_8_1
Dan Williams [Fri, 5 Nov 2004 18:43:19 +0000 (18:43 +0000)]
Fix for a number of integer overflow bugs discovered by Chris Evans.

2004-11-05  Dan Williams  <dcbw@redhat.com>

* xpdf/Catalog.cc, xpdf/XRef.cc: Fix for a number of integer
overflow bugs discovered by Chris Evans. CAN-2004-0888,
Bug #156729, Red Hat Bug #137420.

20 years agocheck gnome_vfs_foo return values. Fixes crashes with gnome-vfs' http
Mark McLoughlin [Tue, 21 Sep 2004 16:11:26 +0000 (16:11 +0000)]
check gnome_vfs_foo return values. Fixes crashes with gnome-vfs' http

2004-09-20  Mark McLoughlin  <mark@skynet.ie>

* xpdf/GnomeVFSStream.cc (reset, fillBuf): check gnome_vfs_foo
return values.  Fixes crashes with gnome-vfs' http method.  Bug
#153159, #151364, Red Hat Bug #132469, half of Debian Bug #268873.

20 years agosssshhh GPDF_2_7_91 GPDF_2_8_0
Martin Kretzschmar [Sat, 28 Aug 2004 18:29:07 +0000 (18:29 +0000)]
sssshhh