1 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
7 * ps/ps-document.c: (catchPipe), (ps_document_init),
8 (ps_document_class_init), (ps_document_cleanup),
9 (ps_document_finalize), (send_ps), (ps_document_get_orientation),
10 (set_up_page), (close_pipe), (is_interpreter_ready),
11 (interpreter_failed), (output), (input), (start_interpreter),
12 (stop_interpreter), (file_length), (file_readable),
13 (check_filecompressed), (check_pdf), (compute_xdpi),
14 (compute_ydpi), (compute_size), (ps_document_enable_interpreter),
15 (ps_document_get_type), (ps_document_emit_error_msg),
16 (document_load), (ps_document_next_page),
17 (ps_document_get_current_page), (ps_document_get_page_count),
18 (ps_document_goto_page), (ps_document_set_page_size),
19 (ps_document_zoom_to_fit), (ps_document_set_zoom),
20 (ps_document_load), (ps_document_get_n_pages),
21 (ps_document_set_page), (ps_document_get_page),
22 (ps_document_widget_event), (ps_document_set_target),
23 (ps_document_set_scale), (ps_document_set_page_offset),
24 (ps_document_get_page_size), (ps_document_render),
25 (ps_document_document_iface_init):
28 * shell/ev-window.c: (ev_window_open):
30 Rename GtkGS to PSDocument
32 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
34 * ps/gtkgs.c: (gtk_gs_class_init):
39 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
41 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_get_orientation),
42 (output), (stop_interpreter), (gtk_gs_emit_error_msg),
43 (gtk_gs_zoom_to_fit), (gtk_gs_set_zoom):
46 Remove unused code and make a lot of stuff private
48 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
50 * ps/gsdefaults.c: (gtk_gs_defaults_gconf_client),
51 (gtk_gs_defaults_changed):
57 Cleanup headers dependencies
59 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
64 * ps/gsdefaults.c: (gtk_gs_defaults_get_paper_sizes):
66 * ps/gtkgs.c: (file_length), (file_readable),
67 (check_filecompressed), (check_pdf), (gtk_gs_load),
68 (gtk_gs_get_postscript):
72 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
77 * ps/gtkgs.c: (gtk_gs_set_zoom):
81 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
83 * ps/gtkgs.c: (gtk_gs_set_zoom), (gtk_gs_set_zoom_mode):
85 Ensure the page is rerendered when changing zoom
87 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
89 * backend/ev-document.c: (ev_document_base_init),
90 (ev_document_changed):
91 * backend/ev-document.h:
93 Add a changed event that is emitted when the page content
94 changes. This is necessary to deal with the fact that
95 in ps backend rendering happen asycrounously.
96 This makes the ps backend mostly work.
98 * pdf/xpdf/pdf-document.cc:
102 * ps/gtkgs.c: (set_up_page), (gtk_gs_widget_event),
103 (ps_document_set_target):
107 * shell/ev-view.c: (document_changed_callback),
108 (ev_view_set_document), (ev_view_set_page):
110 Redraw on the changed signal
112 2004-12-25 Raphael Higino <raphaelh@cvs.gnome.org>
114 * configure.ac: Added pt_BR to ALL_LINGUAS.
116 Fri Dec 24 00:48:44 2004 Jonathan Blandford <jrb@redhat.com>
118 * backend/ev-document-bookmarks.c:
119 (ev_document_bookmarks_get_child): *
120 backend/ev-document-bookmarks.h: * pdf/xpdf/Makefile.am: *
121 pdf/xpdf/pdf-document.cc: * pdf/xpdf/pdf-document.h: *
122 shell/Makefile.am: * shell/ev-sidebar-bookmarks.c:
123 (ev_sidebar_bookmarks_destroy),
124 (ev_sidebar_bookmarks_class_init),
125 (ev_sidebar_bookmarks_construct), (stack_data_free),
126 (do_one_iteration), (populate_bookmarks_idle),
127 (ev_sidebar_bookmarks_clear_document),
128 (ev_sidebar_bookmarks_set_document): *
129 shell/ev-sidebar-bookmarks.h: * shell/ev-sidebar.c:
130 (ev_sidebar_add_page),
131 (ev_sidebar_set_document): * shell/ev-window.c: (ev_window_open):
132 Initial stab at a bookmarks sidebar. It doesn't navigate yet, but
133 it displays both the topics and the page numbers.
135 2004-12-23 Kristian Høgsberg <krh@redhat.com>
137 * shell/ev-window.c (ev_window_view_sidebar_cb): Hook up sidebar
139 * shell/ev-window.c (toggle_entries): Set sidebar default value to
142 2004-12-23 Adam Weinberger <adamw@gnome.org>
144 * configure.ac: Added en_CA to ALL_LINGUAS.
146 2004-12-23 Martin Kretzschmar <martink@gnome.org>
148 * ChangeLog: replace bottom of this ChangeLog (merged history of
149 ggv and gpdf; where all paths were wrong and most of the files are
150 not even in this tree) with ChangeLog (from arch) of the shell
153 2004-12-23 Havoc Pennington <hp@redhat.com>
155 * shell/ev-window.c: hook up potentially-questionable "find
156 results status text" feature - something involving the sidebar or
157 scrollbar or a continuous all-pages-on-giant-roll-of-paper-view
158 might be better in the end.
160 * shell/ev-view.c (ev_view_get_find_status_message): new function,
161 with corresponding signal when it should be updated
163 * shell/eggfindbar.c (egg_find_bar_set_status_text): new function
165 2004-12-22 Havoc Pennington <hp@redhat.com>
167 * pdf/xpdf/pdf-document.cc (pdf_document_find_begin): make search
168 find stuff on other pages, sort of (only returns one result on
169 invisible pages, to show they have results; updates full results
170 for a page when you view it). Currently repaints the current page
171 every time a new result is found on any page, which isn't so nice.
173 2004-12-22 Havoc Pennington <hp@redhat.com>
175 * shell/ev-window.c (ev_window_cmd_edit_find): display an error if
176 the document doesn't support find (better ideas?)
177 (find_bar_search_changed_cb): handle missing document or document
178 that doesn't support find
180 * pdf/xpdf/pdf-document.cc: port to implement the new
183 * backend/ev-document-find.c: create a new interface for searching
185 * backend/ev-document.h, backend/ev-document.c: delete the find stuff
187 2004-12-23 Martin Kretzschmar <martink@gnome.org>
189 * pdf/xpdf/Makefile.am (libpdfdocument_la_LIBADD): add
192 * shell/ev-window.c (ev_window_print): add GnomePrintJob to
193 EvPrintJob constructor arguments.
195 * backend/ev-ps-exporter.c, backend/ev-ps-exporter.h: interface
196 for documents that can export PostScript (page by page).
198 * backend/Makefile.am (libevbackend_la_SOURCES): add them.
200 * pdf/xpdf/pdf-document.cc (pdf_document_ps_export_begin)
201 (pdf_document_ps_export_do_page, pdf_document_ps_export_end)
202 (pdf_document_ps_exporter_iface_init:
203 Implement EvPSExporter.
205 * pdf/xpdf/Makefile.am (libxpdf_la_SOURCES): build PSOutputDev.
207 2004-12-22 Anders Carlsson <andersca@gnome.org>
209 * backend/Makefile.am:
210 * backend/ev-document-thumbnails.c:
211 (ev_document_thumbnails_get_type),
212 (ev_document_thumbnails_get_thumbnail):
213 * backend/ev-document-thumbnails.h:
214 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
215 (pixbuf_document_thumbnails_get_thumbnail),
216 (pixbuf_document_document_thumbnails_iface_init):
218 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_destroy),
219 (ev_sidebar_thumbnails_class_init), (ev_sidebar_thumbnails_init),
220 (populate_thumbnails), (ev_sidebar_thumbnails_set_document):
221 * shell/ev-sidebar-thumbnails.h:
222 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
223 (ev_sidebar_set_document):
224 * shell/ev-utils.c: (gaussian), (create_blur_filter),
225 (create_shadow), (ev_pixbuf_add_shadow):
227 Add thumbnail support.
229 2004-12-22 Martin Kretzschmar <martink@gnome.org>
231 * shell/ev-window.c (ev_window_cmd_file_print, ev_window_print)
232 (using_postscript_printer): Set up a print dialog for "PostScript
235 * shell/ev-print-job.h, shell/ev-print-job.c: stub classes for
238 * shell/Makefile.am (evince_SOURCES): add ev-print-job.[ch]
240 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
242 * ps/gtkgs.c: (gtk_gs_init), (set_up_page),
243 (ps_document_set_target), (ps_document_get_page_size),
244 (ps_document_render):
249 2004-12-22 Christian Rose <menthos@menthos.com>
251 * configure.ac: Added "sv" to ALL_LINGUAS.
253 Wed Dec 22 14:47:38 2004 Jonathan Blandford <jrb@redhat.com>
255 * backend/ev-document-bookmarks.[ch]: new interface to indicate
256 document supports bookmarks.
258 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
260 * ps/ggvutils.c: (ggv_file_readable):
262 * ps/gtkgs.c: (check_filecompressed), (check_pdf),
263 (gtk_gs_get_postscript):
267 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
269 * ps/gtkgs.c: (gtk_gs_init), (gtk_gs_class_init), (gtk_gs_cleanup),
270 (gtk_gs_finalize), (gtk_gs_set_center), (set_up_page), (output),
271 (start_interpreter), (compute_size), (gtk_gs_enable_interpreter),
272 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_reload),
273 (gtk_gs_emit_error_msg), (gtk_gs_disable_interpreter),
274 (gtk_gs_load), (gtk_gs_goto_page), (gtk_gs_set_page_size),
275 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
276 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
277 (gtk_gs_set_antialiasing), (ps_document_load),
278 (ps_document_render):
281 Another check point for the ps backend. Now I can get it to show
284 Wed Dec 22 13:41:01 2004 Jonathan Blandford <jrb@redhat.com>
286 * shell/ev-sidebar.c (ev_sidebar_set_document): initial sidebar
287 document setting code.
289 2004-12-22 Anders Carlsson <andersca@gnome.org>
291 * shell/eggfindbar.c: (entry_activate_callback):
292 Animate the next button when activate is pressed.
294 2004-12-22 Anders Carlsson <andersca@gnome.org>
296 * shell/ev-window.c: (ev_window_cmd_edit_find),
297 (update_fullscreen_popup), (ev_window_fullscreen),
298 (ev_window_unfullscreen), (ev_window_state_event_cb),
299 (ev_window_focus_out_cb), (find_bar_close_cb), (ev_window_init):
300 Fix bugs in fullscreen code.
302 2004-12-22 Anders Carlsson <andersca@gnome.org>
306 * pixbuf/Makefile.am:
307 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
308 (pixbuf_document_load), (pixbuf_document_get_n_pages),
309 (pixbuf_document_set_page), (pixbuf_document_get_page),
310 (pixbuf_document_set_target), (pixbuf_document_set_scale),
311 (pixbuf_document_set_page_offset), (pixbuf_document_get_page_size),
312 (pixbuf_document_render), (pixbuf_document_begin_find),
313 (pixbuf_document_end_find), (pixbuf_document_finalize),
314 (pixbuf_document_class_init),
315 (pixbuf_document_document_iface_init), (pixbuf_document_init):
316 * pixbuf/pixbuf-document.h:
318 * shell/ev-application.c: (ev_application_open):
319 * shell/ev-window.c: (mime_type_supported_by_gdk_pixbuf),
323 Tue Dec 21 21:45:43 2004 Soeren Sandmann <sandmann@redhat.com>
326 * dvi/dvilib/Makefile.am:
328 * configure.ac: Auto*ify dvi and dvi/dvilib
330 * dvi/Makefile: Remove from CVS
332 * dvi/dvilib/dl-pkfont.cc (unpack_bitmap): Fix uchar/uint
335 * dvi/dvilib/dl-fontdefinition.{cc,hh}: New DviFontMap class
337 * dvi/dvilib/dl-vffont.{cc,hh}: Many bugfixes to VF code.
339 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
342 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_finalize),
343 (gtk_gs_value_adjustment_changed), (compute_size),
344 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_new_from_file),
345 (gtk_gs_center_page), (gtk_gs_load), (gtk_gs_set_page_size),
346 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
347 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
348 (gtk_gs_start_scroll), (gtk_gs_get_postscript),
349 (gtk_gs_set_adjustments), (gtk_gs_set_available_size),
350 (ps_document_load), (ps_document_get_n_pages),
351 (ps_document_set_page), (ps_document_get_page),
352 (ps_document_set_target), (ps_document_set_scale),
353 (ps_document_set_page_offset), (ps_document_get_page_size),
354 (ps_document_render), (ps_document_begin_find),
355 (ps_document_end_find), (ps_document_document_iface_init):
358 * shell/ev-window.c: (ev_window_open):
360 Some work to integrate gtkgs with EvDocument
362 2004-12-22 Anders Carlsson <andersca@gnome.org>
364 * shell/ev-window.c: (update_fullscreen_popup),
365 (screen_size_changed_cb), (destroy_exit_fullscreen_popup),
366 (exit_fullscreen_button_clicked_cb),
367 (fullscreen_popup_size_request_cb), (ev_window_fullscreen),
368 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
369 (ev_window_state_event_cb), (ev_window_init):
370 Add fullscreen support from Epiphany.
372 2004-12-22 Mark McLoughlin <mark@skynet.ie>
374 * data/ev-stock-zoom-fit-width.png: fit-width
375 stock icon from gpdf.
377 * shell/ev-stock-icons.[ch]: copied from gpdf.
379 * shell/main.c: (main): init stock icons.
381 * shell/ev-window.c: use the fit-width icon.
383 * data/evince-ui.xml: add zooming toolbar items.
385 2004-12-22 Mark McLoughlin <mark@skynet.ie>
388 (ev_view_best_fit), (ev_view_fit_width): because
389 get_page_size() returns the scaled page size, we
390 need to calculate the scale factor relative to
391 the previous scale factor. Should really just
392 add get_real_page_size().
394 2004-12-22 Mark McLoughlin <mark@skynet.ie>
396 * shell/ev-view.[ch]:
397 (ev_view_zoom), (ev_view_zoom_in), (ev_view_zoom_out),
398 (ev_view_normal_size), (ev_view_best_fit), (ev_view_fit_width):
401 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
402 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_normal_size),
403 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width):
406 * pdf/xpdf/pdf-document.cc:
407 (pdf_document_begin_find),
408 (pdf_document_end_find): make static.
410 2004-12-22 Martin Kretzschmar <martink@gnome.org>
412 * pdf/xpdf/GlobalParams.h (setupBaseFontsFc): add prototype.
414 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): maps base font
415 names to fontconfig patterns.
416 (setupBaseFontsFc): setupBaseFonts reimplemented using fontconfig.
418 * pdf/xpdf/pdf-document.cc (pdf_document_load): use
421 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
437 Import ggv backend. Not hooked up yet.
439 2004-12-22 Mark McLoughlin <mark@skynet.ie>
441 * shell/main.c: (load_files), (main): load files
442 from the command line.
444 2004-12-22 Mark McLoughlin <mark@skynet.ie>
446 * configure.ac: don't require bonobo.
448 * cut-n-paste/recent-files/*: kill bonobo recent
452 (ev_window_is_empty): upd.
453 (unable_to_load), (ev_window_open): load backend
454 based on the mime type.
456 2004-12-22 Martin Kretzschmar <martink@gnome.org>
458 * backend/.cvsignore: ignore generated marshalers source.
460 * shell/main.c (main): this is not epiphany.
462 2004-12-22 Havoc Pennington <hp@redhat.com>
464 * shell/ev-view.c (ev_view_set_document): connect to "found" signal
465 (expose_bin_window): draw find highlights
467 * shell/ev-window.c (find_bar_search_changed_cb): implement
469 * pdf/xpdf/pdf-document.cc (pdf_document_begin_find)
470 (pdf_document_end_find): implement this interface
472 * backend/ev-document.c (ev_document_found): add this to emit
475 Tue Dec 21 23:57:37 2004 Owen Taylor <otaylor@redhat.com>
477 * data/evince-ui.xml: Add a few more toolbar items.
479 * shell/ev-window.c: Hook up page navigation toolbar
482 * shell/ev-view.[ch]: add ev_view_set/get_page and
483 a page-changed signal.
485 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc::
486 Add ev_document_get_page().
488 * shell/ev-window.c: Sensitize/desensitize navigation
491 2004-12-21 Havoc Pennington <hp@redhat.com>
493 * backend/ev-backend-marshal.c,
494 backend/ev-backend-marshalers.list, backend/Makefile.am: add
495 marshaler-generator thingy. I'm sure there's a better way to do
496 this in the modern world.
498 * backend/ev-document.h (struct _EvDocumentIface): add begin_find,
499 end_find methods and "found" signal.
501 * configure.ac: find glib-genmarshal
503 Tue Dec 21 23:20:35 2004 Jonathan Blandford <jrb@redhat.com>
505 * shell/ev-sidebar.c: Construct an actual sidebar.
506 * shell/ev-sidebar-bookmarks.[ch]:
507 * shell/ev-sidebar-thumbnails.[ch]: Stub out sidebars.
509 Tue Dec 21 23:05:51 2004 Owen Taylor <otaylor@redhat.com>
511 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc:
514 * shell/ev-view.c: Track the size from the document.
516 Tue Dec 21 22:17:04 2004 Owen Taylor <otaylor@redhat.com>
518 * pdf/xpdf/pdf-document.cc (pdf_document_load): PDFDoc
519 constructor assumes ownership of the string passed in.
521 * shell/ev-window.c (ev_window_open): Destroy the error
522 dialog once we've displayed it.
524 Tue Dec 21 21:58:56 2004 Owen Taylor <otaylor@redhat.com>
526 * pdf/xpdf/pdf-document.cc shell/ev-view.c: Hook things up
527 a bit, it works! (sort of)
529 * pdf/xpdf/Makefile.am pdf/xpdf/pdf-document.cc:
530 Move to .cc since we need to use C++ in the implementation.
532 * shell/dummy.cc: Add a CC file to force evince
533 to be linked as a C++ program.
535 Tue Dec 21 21:07:55 2004 Owen Taylor <otaylor@redhat.com>
537 * shell/ev-view.[ch]: Start of content-area widget.
539 * shell/ev-window.c: Create a EvView, update it
540 as we change documents.
542 * shell/Makefile.am shell/ev-marshal.list: Add
543 generated marshalers.
545 Tue Dec 21 20:28:11 2004 Jonathan Blandford <jrb@redhat.com>
547 * Makefile.am (SUBDIRS): move shell.
549 Tue Dec 21 19:28:55 2004 Owen Taylor <otaylor@redhat.com>
551 * pdf/{goo,fofi,splash,xpdf}/Makefile.am: Switch from
552 .a to libtool convenience libraries.
554 * shell/ev-window.c (ev_window_open): Hard code loading
557 * backend/ev-document.h: Add a boolean return to load(),
558 fix GError * to GError **.
560 * pdf/xpdf/pdf-document.[ch] Makefile.am: Add a stub
561 object for a PDF backend EvDocument.
563 Tue Dec 21 18:55:06 2004 Søren Sandmann <sandmann@redhat.com>
565 * dvi/*: New directory with the beginning of a .dvi backend.
567 2004-12-21 Havoc Pennington <hp@redhat.com>
569 * shell/eggfindbar.c (egg_find_bar_init): change buttons to
570 previous/next instead of back/forward
572 Tue Dec 21 18:26:24 2004 Owen Taylor <otaylor@redhat.com>
574 * backend/ev-document.[ch]: Fix a couple of problems so
577 Tue Dec 21 18:20:40 2004 Owen Taylor <otaylor@redhat.com>
579 * viewer/* backend/* configure.ac Makefile.am: Move viewer directory
580 to backend/ directory, rename EvViewer to EvDocument.
582 2004-12-21 Havoc Pennington <hp@redhat.com>
584 * shell/ev-window.c: hook up the find bar widget; now we just need
585 a document to find things in
587 * shell/eggfindbar.c: a find bar widget
589 Tue Dec 21 17:20:16 2004 Jonathan Blandford <jrb@redhat.com>
591 * shell/ev-sidebar.[ch]: initial sidebar boilerplate.
593 Tue Dec 21 16:30:58 2004 Owen Taylor <otaylor@redhat.com>
595 * pdf/**: Import of xpdf code from gpdf.
597 * pdf/xpdf/xpdfconfig.h: Move the non-config.h config.h to xpdfconfig.h
599 * pdf/splash/SplashFTFont.{cc,h} pdf/splash/SplashFTFont.h
600 pdf/splash/SplashFTFontEngine.h pdf/splash/SplashFTFontFile.h:
601 Fix FreeType includes.
603 * pdf/xpdf/{Error.h GnomeVFSStream.cc ImageOutputDev.cc PDFDoc.cc\
604 pdffonts.cc pdfimages.cc pdfinfo.cc pdftoppm.cc pdftops.cc
605 pdftotext.cc PSOutputDev.cc PSOutputDev.h SplashOutputDev.h
606 Stream.cc TextOutputDev.cc XPDFApp.cc xpdf.cc XPDFViewer.cc
607 pdf/xpdf/Error.h PSOutputDev.h SplashOutputDev.h}:
610 Tue Dec 21 16:08:17 2004 Jonathan Blandford <jrb@redhat.com>
612 * shell/ev-window.c (ev_window_dispose): dispose can be called
615 2004-12-21 Havoc Pennington <hp@redhat.com>
617 * shell/ev-window.c (ev_window_init): set title to Document Viewer
620 * data/evince-ui.xml, shell/ev-window.c: add a bunch of stub menu
621 items; really they should be synced with the strings, etc. from
622 current gpdf, but just getting the boring typing out of the way
624 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
627 * shell/ev-application.c: (window_destroy_cb):
629 * shell/main.c: (main):
631 Actually show the window...
633 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
637 * shell/ev-application.c: (ev_application_class_init):
638 * shell/ev-window.c: (ev_window_dispose), (ev_window_class_init):
642 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
646 * Remove copies of gpdf and ggv trees.
647 * Rip out all the recursive configure code.
648 * Remove bonobo machinery.
649 * viewer/*: GInterfaces that backends should/can implement.
651 2004-11-09 Martin Kretzschmar <m_kretzschmar@gmx.net>
653 * shell/ev-window.c (ev_window_cmd_help_about): fix "documentors"
656 2004-10-28 Martin Kretzschmar <m_kretzschmar@gmx.net>
658 * shell/ev-application.c (EV_APPLICATION_GET_PRIVATE)
659 (ev_application_finalize, ev_application_class_init)
660 (ev_application_init): use GType instance private data for priv.
662 * shell/ev-window.c (EV_WINDOW_GET_PRIVATE)
663 (ev_window_finalize, ev_window_class_init)
664 (ev_window_init): ditto.
666 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
668 * shell/ev-application.c (ev_application_new_window): make public
669 (ev_application_show_initial_window): kill.
671 * shell/ev-application.h: update prototypes.
673 * shell/main.cc (main): inline ev_application_show_initial_window.
675 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
677 * shell/ev-application.c (ev_application_new_window): impl.
678 (ev_application_show_initial_window): use it.
679 (is_window_empty, ev_application_get_empty_window): returns an
680 existing empty window or a new one.
681 (ev_application_open): from ev_window_cmd_file_open.
683 * shell/ev-application.h: update prototypes
685 * shell/ev-window.c (ev_window_is_empty): impl.
686 (ev_window_open): make public.
687 (ev_window_cmd_file_open): use ev_application_open
689 * shell/ev-window.h: update prototypes, remove unused.
691 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
693 * shell/ev-window.c (ev_window_destroy, ev_window_class_init):
694 move destroy handler out of here...
696 * shell/ev-application.c, shell/ev-application.h: ...into this new
697 class. Also handles initial window creation.
699 * shell/main.cc (main): use EvApplication to create initial
702 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
704 * Makefile.am (SUBDIRS): add cut-n-paste
706 * cut-n-paste/Makefile.am: add
708 * configure.ac: generate Makefiles in cut-n-paste
710 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
712 * shell/ev-window.c (ev_window_dispose): new, unref the ui_manager
713 (ev_window_class_init): install ev_window_dispose.
715 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
717 * shell/ev-window.h, shell/ev-window.c: replace gchar with
718 char (gchar looks stupid).
720 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
722 * po/de.po: updated German translation.
724 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
726 * configure.ac: add more pkg-config library checks for gnome-vfs,
729 * gpdf/configure.in: temporarily disable libpaper
730 checks. Otherwise I'd have to add the checks for the shell, too.
732 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
734 * shell/ev-window.c (ev_window_cmd_file_open): add ps+pdf, ps, pdf
735 and * file filters to the file choose.
737 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
739 * po/de.po: Updated German translation.
741 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
743 * shell/ev-window.c: use "S" as mnemonic for Statusbar.
745 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
747 * data/evince-ui.xml: add View->Toolbar and View->Statusbar.
749 * shell/ev-window.c (menu_item_select_cb, menu_item_select_cb)
750 (ev_window_init): implement those menuitems.
752 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
754 * data/evince-ui.xml: add a toolbar (with FileOpen action)
756 * shell/ev-window.c (ev_window_init): use the toolbar.
758 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
760 * shell/ev-window.c (ev_window_init): use menu translations
762 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
764 * configure.ac: add "de" to ALL_LINGUAS.
766 * po/de.po: add German translation.
768 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
770 * Makefile.am (SUBDIRS): add po
772 * configure.ac: check intltool, glib-gettext etc, generate
775 * po, po/POTFILES.in, po/POTFILES.skip: new.
777 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
779 * shell/Makefile.am (INCLUDES): define GNOMELOCALEDIR which we
780 already use (#ifdef ENABLE_NLS)
782 * shell/ev-window.c (ev_window_cmd_help_about): fix two star
783 pointer indirection thinko.
785 * shell/main.c: include gi18n.h for bindtextdomain etc.
787 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
789 * shell/ev-window.c (menu_item_select_cb, menu_item_deselect_cb)
790 (connect_proxy_cb, disconnect_proxy_cb, ev_window_init): show
791 tooltips for menu items in the statusbar.
793 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
795 * configure.ac, data/Makefile.am, shell/Makefile.am: use
796 pkgdatadir drop UIDIR
798 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
800 * data/evince-ui.xml: Add File->Open menu item
802 * shell/ev-window.c (ev_window_cmd_file_open): impl. (shows a file
803 chooser), hook it up in the ui manager.
805 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
807 * shell/ev-window.c: fix Help->About tooltip.
809 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
811 * configure.ac: set CFLAGS for libevprivate.
813 * lib/ev-stock-icons.h, lib/ev-stock-icons.c: stock icon
814 definitions, factory etc.
816 * lib/Makefile.am: build libevprivate.a (only stock icon code).
818 * shell/Makefile.am: link against libevprivate.a.
820 * shell/ev-window.c (entries): add stock icon to Help->About.
822 * shell/main.c (main): init stock icon code.
824 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
826 * lib/recent-files: egg recent files code
828 * lib/Makefile.am: add.
830 * Makefile.am: add lib subdir.
832 * configure.ac: gen. lib/Makefile and lib/recent-files/Makefile,
833 set CFLAGS for recent-files.
835 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
837 * configure.ac: disable -ansi and -pedantic gcc flags. They
838 disable POSIX stuff in stdio.h, but egg-recent uses them.
840 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
842 * configure.ac: add --disable-deprecated flag (defaults to on in
845 * shell/Makefile.am (INCLUDES): use it.
847 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
849 * shell/main.c: add missing #include.
851 * shell/ev-window.c: fix for pedantic gcc.
852 (ev_window_cmd_help_about): split license into paragraphs for
853 translators and pedantic compilers.
855 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
857 * configure.ac: add more warning flags if compiling with gcc from
858 cvs (or explicitly requested with --enable-more-warnings).
860 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
862 * data/evince-ui.xml: add File and File->Close menu.
864 * shell/ev-window.c (ev_window_cmd_file_close_window): impl.
865 (ev_window_destroy): quit after destroy.
866 (ev_window_class_init): override GtkObject::destroy.
867 (entries): install close_window callback.
869 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
871 * Makefile.am (SUBDIRS): add data subdir.
873 * configure.ac (UIDIR): gen data/Makefile, define UIDIR. Require
874 gtk+ 2.5.0 for GtkAboutDialog.
876 * data/Makefile.am, data/evince-ui.xml: add, ui definition for the
879 * shell/Makefile.am (INCLUDES): propagate UIDIR definition.
881 * shell/ev-window.c (ev_window_init): create a menubar, using a ui
883 (ev_window_cmd_help_about): about command, using GtkAboutDialog.
885 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
887 * shell/ev-window.c, shell/ev-window.h: Created an EvWindow class.
889 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
891 * shell/main.c: make it a trivial gtk+ program, adjust configure.ac
893 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
895 * shell/*: Added shell directory boilerplate, build it.
897 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
899 * configure.ac, Makefile.am: Added top-level configure.ac and