1 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
3 * shell/ev-view.c: (ev_view_realize):
5 Fix mouse wheel scrolling
7 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
13 * ps/ps-document.c: (catchPipe), (ps_document_init),
14 (ps_document_class_init), (ps_document_cleanup),
15 (ps_document_finalize), (send_ps), (ps_document_get_orientation),
16 (set_up_page), (close_pipe), (is_interpreter_ready),
17 (interpreter_failed), (output), (input), (start_interpreter),
18 (stop_interpreter), (file_length), (file_readable),
19 (check_filecompressed), (check_pdf), (compute_xdpi),
20 (compute_ydpi), (compute_size), (ps_document_enable_interpreter),
21 (ps_document_get_type), (ps_document_emit_error_msg),
22 (document_load), (ps_document_next_page),
23 (ps_document_get_current_page), (ps_document_get_page_count),
24 (ps_document_goto_page), (ps_document_set_page_size),
25 (ps_document_zoom_to_fit), (ps_document_set_zoom),
26 (ps_document_load), (ps_document_get_n_pages),
27 (ps_document_set_page), (ps_document_get_page),
28 (ps_document_widget_event), (ps_document_set_target),
29 (ps_document_set_scale), (ps_document_set_page_offset),
30 (ps_document_get_page_size), (ps_document_render),
31 (ps_document_document_iface_init):
34 * shell/ev-window.c: (ev_window_open):
36 Rename GtkGS to PSDocument
38 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
40 * ps/gtkgs.c: (gtk_gs_class_init):
45 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
47 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_get_orientation),
48 (output), (stop_interpreter), (gtk_gs_emit_error_msg),
49 (gtk_gs_zoom_to_fit), (gtk_gs_set_zoom):
52 Remove unused code and make a lot of stuff private
54 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
56 * ps/gsdefaults.c: (gtk_gs_defaults_gconf_client),
57 (gtk_gs_defaults_changed):
63 Cleanup headers dependencies
65 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
70 * ps/gsdefaults.c: (gtk_gs_defaults_get_paper_sizes):
72 * ps/gtkgs.c: (file_length), (file_readable),
73 (check_filecompressed), (check_pdf), (gtk_gs_load),
74 (gtk_gs_get_postscript):
78 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
83 * ps/gtkgs.c: (gtk_gs_set_zoom):
87 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
89 * ps/gtkgs.c: (gtk_gs_set_zoom), (gtk_gs_set_zoom_mode):
91 Ensure the page is rerendered when changing zoom
93 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
95 * backend/ev-document.c: (ev_document_base_init),
96 (ev_document_changed):
97 * backend/ev-document.h:
99 Add a changed event that is emitted when the page content
100 changes. This is necessary to deal with the fact that
101 in ps backend rendering happen asycrounously.
102 This makes the ps backend mostly work.
104 * pdf/xpdf/pdf-document.cc:
108 * ps/gtkgs.c: (set_up_page), (gtk_gs_widget_event),
109 (ps_document_set_target):
113 * shell/ev-view.c: (document_changed_callback),
114 (ev_view_set_document), (ev_view_set_page):
116 Redraw on the changed signal
118 2004-12-25 Raphael Higino <raphaelh@cvs.gnome.org>
120 * configure.ac: Added pt_BR to ALL_LINGUAS.
122 Fri Dec 24 00:48:44 2004 Jonathan Blandford <jrb@redhat.com>
124 * backend/ev-document-bookmarks.c:
125 (ev_document_bookmarks_get_child): *
126 backend/ev-document-bookmarks.h: * pdf/xpdf/Makefile.am: *
127 pdf/xpdf/pdf-document.cc: * pdf/xpdf/pdf-document.h: *
128 shell/Makefile.am: * shell/ev-sidebar-bookmarks.c:
129 (ev_sidebar_bookmarks_destroy),
130 (ev_sidebar_bookmarks_class_init),
131 (ev_sidebar_bookmarks_construct), (stack_data_free),
132 (do_one_iteration), (populate_bookmarks_idle),
133 (ev_sidebar_bookmarks_clear_document),
134 (ev_sidebar_bookmarks_set_document): *
135 shell/ev-sidebar-bookmarks.h: * shell/ev-sidebar.c:
136 (ev_sidebar_add_page),
137 (ev_sidebar_set_document): * shell/ev-window.c: (ev_window_open):
138 Initial stab at a bookmarks sidebar. It doesn't navigate yet, but
139 it displays both the topics and the page numbers.
141 2004-12-23 Kristian Høgsberg <krh@redhat.com>
143 * shell/ev-window.c (ev_window_view_sidebar_cb): Hook up sidebar
145 * shell/ev-window.c (toggle_entries): Set sidebar default value to
148 2004-12-23 Adam Weinberger <adamw@gnome.org>
150 * configure.ac: Added en_CA to ALL_LINGUAS.
152 2004-12-23 Martin Kretzschmar <martink@gnome.org>
154 * ChangeLog: replace bottom of this ChangeLog (merged history of
155 ggv and gpdf; where all paths were wrong and most of the files are
156 not even in this tree) with ChangeLog (from arch) of the shell
159 2004-12-23 Havoc Pennington <hp@redhat.com>
161 * shell/ev-window.c: hook up potentially-questionable "find
162 results status text" feature - something involving the sidebar or
163 scrollbar or a continuous all-pages-on-giant-roll-of-paper-view
164 might be better in the end.
166 * shell/ev-view.c (ev_view_get_find_status_message): new function,
167 with corresponding signal when it should be updated
169 * shell/eggfindbar.c (egg_find_bar_set_status_text): new function
171 2004-12-22 Havoc Pennington <hp@redhat.com>
173 * pdf/xpdf/pdf-document.cc (pdf_document_find_begin): make search
174 find stuff on other pages, sort of (only returns one result on
175 invisible pages, to show they have results; updates full results
176 for a page when you view it). Currently repaints the current page
177 every time a new result is found on any page, which isn't so nice.
179 2004-12-22 Havoc Pennington <hp@redhat.com>
181 * shell/ev-window.c (ev_window_cmd_edit_find): display an error if
182 the document doesn't support find (better ideas?)
183 (find_bar_search_changed_cb): handle missing document or document
184 that doesn't support find
186 * pdf/xpdf/pdf-document.cc: port to implement the new
189 * backend/ev-document-find.c: create a new interface for searching
191 * backend/ev-document.h, backend/ev-document.c: delete the find stuff
193 2004-12-23 Martin Kretzschmar <martink@gnome.org>
195 * pdf/xpdf/Makefile.am (libpdfdocument_la_LIBADD): add
198 * shell/ev-window.c (ev_window_print): add GnomePrintJob to
199 EvPrintJob constructor arguments.
201 * backend/ev-ps-exporter.c, backend/ev-ps-exporter.h: interface
202 for documents that can export PostScript (page by page).
204 * backend/Makefile.am (libevbackend_la_SOURCES): add them.
206 * pdf/xpdf/pdf-document.cc (pdf_document_ps_export_begin)
207 (pdf_document_ps_export_do_page, pdf_document_ps_export_end)
208 (pdf_document_ps_exporter_iface_init:
209 Implement EvPSExporter.
211 * pdf/xpdf/Makefile.am (libxpdf_la_SOURCES): build PSOutputDev.
213 2004-12-22 Anders Carlsson <andersca@gnome.org>
215 * backend/Makefile.am:
216 * backend/ev-document-thumbnails.c:
217 (ev_document_thumbnails_get_type),
218 (ev_document_thumbnails_get_thumbnail):
219 * backend/ev-document-thumbnails.h:
220 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
221 (pixbuf_document_thumbnails_get_thumbnail),
222 (pixbuf_document_document_thumbnails_iface_init):
224 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_destroy),
225 (ev_sidebar_thumbnails_class_init), (ev_sidebar_thumbnails_init),
226 (populate_thumbnails), (ev_sidebar_thumbnails_set_document):
227 * shell/ev-sidebar-thumbnails.h:
228 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
229 (ev_sidebar_set_document):
230 * shell/ev-utils.c: (gaussian), (create_blur_filter),
231 (create_shadow), (ev_pixbuf_add_shadow):
233 Add thumbnail support.
235 2004-12-22 Martin Kretzschmar <martink@gnome.org>
237 * shell/ev-window.c (ev_window_cmd_file_print, ev_window_print)
238 (using_postscript_printer): Set up a print dialog for "PostScript
241 * shell/ev-print-job.h, shell/ev-print-job.c: stub classes for
244 * shell/Makefile.am (evince_SOURCES): add ev-print-job.[ch]
246 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
248 * ps/gtkgs.c: (gtk_gs_init), (set_up_page),
249 (ps_document_set_target), (ps_document_get_page_size),
250 (ps_document_render):
255 2004-12-22 Christian Rose <menthos@menthos.com>
257 * configure.ac: Added "sv" to ALL_LINGUAS.
259 Wed Dec 22 14:47:38 2004 Jonathan Blandford <jrb@redhat.com>
261 * backend/ev-document-bookmarks.[ch]: new interface to indicate
262 document supports bookmarks.
264 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
266 * ps/ggvutils.c: (ggv_file_readable):
268 * ps/gtkgs.c: (check_filecompressed), (check_pdf),
269 (gtk_gs_get_postscript):
273 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
275 * ps/gtkgs.c: (gtk_gs_init), (gtk_gs_class_init), (gtk_gs_cleanup),
276 (gtk_gs_finalize), (gtk_gs_set_center), (set_up_page), (output),
277 (start_interpreter), (compute_size), (gtk_gs_enable_interpreter),
278 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_reload),
279 (gtk_gs_emit_error_msg), (gtk_gs_disable_interpreter),
280 (gtk_gs_load), (gtk_gs_goto_page), (gtk_gs_set_page_size),
281 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
282 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
283 (gtk_gs_set_antialiasing), (ps_document_load),
284 (ps_document_render):
287 Another check point for the ps backend. Now I can get it to show
290 Wed Dec 22 13:41:01 2004 Jonathan Blandford <jrb@redhat.com>
292 * shell/ev-sidebar.c (ev_sidebar_set_document): initial sidebar
293 document setting code.
295 2004-12-22 Anders Carlsson <andersca@gnome.org>
297 * shell/eggfindbar.c: (entry_activate_callback):
298 Animate the next button when activate is pressed.
300 2004-12-22 Anders Carlsson <andersca@gnome.org>
302 * shell/ev-window.c: (ev_window_cmd_edit_find),
303 (update_fullscreen_popup), (ev_window_fullscreen),
304 (ev_window_unfullscreen), (ev_window_state_event_cb),
305 (ev_window_focus_out_cb), (find_bar_close_cb), (ev_window_init):
306 Fix bugs in fullscreen code.
308 2004-12-22 Anders Carlsson <andersca@gnome.org>
312 * pixbuf/Makefile.am:
313 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
314 (pixbuf_document_load), (pixbuf_document_get_n_pages),
315 (pixbuf_document_set_page), (pixbuf_document_get_page),
316 (pixbuf_document_set_target), (pixbuf_document_set_scale),
317 (pixbuf_document_set_page_offset), (pixbuf_document_get_page_size),
318 (pixbuf_document_render), (pixbuf_document_begin_find),
319 (pixbuf_document_end_find), (pixbuf_document_finalize),
320 (pixbuf_document_class_init),
321 (pixbuf_document_document_iface_init), (pixbuf_document_init):
322 * pixbuf/pixbuf-document.h:
324 * shell/ev-application.c: (ev_application_open):
325 * shell/ev-window.c: (mime_type_supported_by_gdk_pixbuf),
329 Tue Dec 21 21:45:43 2004 Soeren Sandmann <sandmann@redhat.com>
332 * dvi/dvilib/Makefile.am:
334 * configure.ac: Auto*ify dvi and dvi/dvilib
336 * dvi/Makefile: Remove from CVS
338 * dvi/dvilib/dl-pkfont.cc (unpack_bitmap): Fix uchar/uint
341 * dvi/dvilib/dl-fontdefinition.{cc,hh}: New DviFontMap class
343 * dvi/dvilib/dl-vffont.{cc,hh}: Many bugfixes to VF code.
345 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
348 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_finalize),
349 (gtk_gs_value_adjustment_changed), (compute_size),
350 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_new_from_file),
351 (gtk_gs_center_page), (gtk_gs_load), (gtk_gs_set_page_size),
352 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
353 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
354 (gtk_gs_start_scroll), (gtk_gs_get_postscript),
355 (gtk_gs_set_adjustments), (gtk_gs_set_available_size),
356 (ps_document_load), (ps_document_get_n_pages),
357 (ps_document_set_page), (ps_document_get_page),
358 (ps_document_set_target), (ps_document_set_scale),
359 (ps_document_set_page_offset), (ps_document_get_page_size),
360 (ps_document_render), (ps_document_begin_find),
361 (ps_document_end_find), (ps_document_document_iface_init):
364 * shell/ev-window.c: (ev_window_open):
366 Some work to integrate gtkgs with EvDocument
368 2004-12-22 Anders Carlsson <andersca@gnome.org>
370 * shell/ev-window.c: (update_fullscreen_popup),
371 (screen_size_changed_cb), (destroy_exit_fullscreen_popup),
372 (exit_fullscreen_button_clicked_cb),
373 (fullscreen_popup_size_request_cb), (ev_window_fullscreen),
374 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
375 (ev_window_state_event_cb), (ev_window_init):
376 Add fullscreen support from Epiphany.
378 2004-12-22 Mark McLoughlin <mark@skynet.ie>
380 * data/ev-stock-zoom-fit-width.png: fit-width
381 stock icon from gpdf.
383 * shell/ev-stock-icons.[ch]: copied from gpdf.
385 * shell/main.c: (main): init stock icons.
387 * shell/ev-window.c: use the fit-width icon.
389 * data/evince-ui.xml: add zooming toolbar items.
391 2004-12-22 Mark McLoughlin <mark@skynet.ie>
394 (ev_view_best_fit), (ev_view_fit_width): because
395 get_page_size() returns the scaled page size, we
396 need to calculate the scale factor relative to
397 the previous scale factor. Should really just
398 add get_real_page_size().
400 2004-12-22 Mark McLoughlin <mark@skynet.ie>
402 * shell/ev-view.[ch]:
403 (ev_view_zoom), (ev_view_zoom_in), (ev_view_zoom_out),
404 (ev_view_normal_size), (ev_view_best_fit), (ev_view_fit_width):
407 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
408 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_normal_size),
409 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width):
412 * pdf/xpdf/pdf-document.cc:
413 (pdf_document_begin_find),
414 (pdf_document_end_find): make static.
416 2004-12-22 Martin Kretzschmar <martink@gnome.org>
418 * pdf/xpdf/GlobalParams.h (setupBaseFontsFc): add prototype.
420 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): maps base font
421 names to fontconfig patterns.
422 (setupBaseFontsFc): setupBaseFonts reimplemented using fontconfig.
424 * pdf/xpdf/pdf-document.cc (pdf_document_load): use
427 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
443 Import ggv backend. Not hooked up yet.
445 2004-12-22 Mark McLoughlin <mark@skynet.ie>
447 * shell/main.c: (load_files), (main): load files
448 from the command line.
450 2004-12-22 Mark McLoughlin <mark@skynet.ie>
452 * configure.ac: don't require bonobo.
454 * cut-n-paste/recent-files/*: kill bonobo recent
458 (ev_window_is_empty): upd.
459 (unable_to_load), (ev_window_open): load backend
460 based on the mime type.
462 2004-12-22 Martin Kretzschmar <martink@gnome.org>
464 * backend/.cvsignore: ignore generated marshalers source.
466 * shell/main.c (main): this is not epiphany.
468 2004-12-22 Havoc Pennington <hp@redhat.com>
470 * shell/ev-view.c (ev_view_set_document): connect to "found" signal
471 (expose_bin_window): draw find highlights
473 * shell/ev-window.c (find_bar_search_changed_cb): implement
475 * pdf/xpdf/pdf-document.cc (pdf_document_begin_find)
476 (pdf_document_end_find): implement this interface
478 * backend/ev-document.c (ev_document_found): add this to emit
481 Tue Dec 21 23:57:37 2004 Owen Taylor <otaylor@redhat.com>
483 * data/evince-ui.xml: Add a few more toolbar items.
485 * shell/ev-window.c: Hook up page navigation toolbar
488 * shell/ev-view.[ch]: add ev_view_set/get_page and
489 a page-changed signal.
491 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc::
492 Add ev_document_get_page().
494 * shell/ev-window.c: Sensitize/desensitize navigation
497 2004-12-21 Havoc Pennington <hp@redhat.com>
499 * backend/ev-backend-marshal.c,
500 backend/ev-backend-marshalers.list, backend/Makefile.am: add
501 marshaler-generator thingy. I'm sure there's a better way to do
502 this in the modern world.
504 * backend/ev-document.h (struct _EvDocumentIface): add begin_find,
505 end_find methods and "found" signal.
507 * configure.ac: find glib-genmarshal
509 Tue Dec 21 23:20:35 2004 Jonathan Blandford <jrb@redhat.com>
511 * shell/ev-sidebar.c: Construct an actual sidebar.
512 * shell/ev-sidebar-bookmarks.[ch]:
513 * shell/ev-sidebar-thumbnails.[ch]: Stub out sidebars.
515 Tue Dec 21 23:05:51 2004 Owen Taylor <otaylor@redhat.com>
517 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc:
520 * shell/ev-view.c: Track the size from the document.
522 Tue Dec 21 22:17:04 2004 Owen Taylor <otaylor@redhat.com>
524 * pdf/xpdf/pdf-document.cc (pdf_document_load): PDFDoc
525 constructor assumes ownership of the string passed in.
527 * shell/ev-window.c (ev_window_open): Destroy the error
528 dialog once we've displayed it.
530 Tue Dec 21 21:58:56 2004 Owen Taylor <otaylor@redhat.com>
532 * pdf/xpdf/pdf-document.cc shell/ev-view.c: Hook things up
533 a bit, it works! (sort of)
535 * pdf/xpdf/Makefile.am pdf/xpdf/pdf-document.cc:
536 Move to .cc since we need to use C++ in the implementation.
538 * shell/dummy.cc: Add a CC file to force evince
539 to be linked as a C++ program.
541 Tue Dec 21 21:07:55 2004 Owen Taylor <otaylor@redhat.com>
543 * shell/ev-view.[ch]: Start of content-area widget.
545 * shell/ev-window.c: Create a EvView, update it
546 as we change documents.
548 * shell/Makefile.am shell/ev-marshal.list: Add
549 generated marshalers.
551 Tue Dec 21 20:28:11 2004 Jonathan Blandford <jrb@redhat.com>
553 * Makefile.am (SUBDIRS): move shell.
555 Tue Dec 21 19:28:55 2004 Owen Taylor <otaylor@redhat.com>
557 * pdf/{goo,fofi,splash,xpdf}/Makefile.am: Switch from
558 .a to libtool convenience libraries.
560 * shell/ev-window.c (ev_window_open): Hard code loading
563 * backend/ev-document.h: Add a boolean return to load(),
564 fix GError * to GError **.
566 * pdf/xpdf/pdf-document.[ch] Makefile.am: Add a stub
567 object for a PDF backend EvDocument.
569 Tue Dec 21 18:55:06 2004 Søren Sandmann <sandmann@redhat.com>
571 * dvi/*: New directory with the beginning of a .dvi backend.
573 2004-12-21 Havoc Pennington <hp@redhat.com>
575 * shell/eggfindbar.c (egg_find_bar_init): change buttons to
576 previous/next instead of back/forward
578 Tue Dec 21 18:26:24 2004 Owen Taylor <otaylor@redhat.com>
580 * backend/ev-document.[ch]: Fix a couple of problems so
583 Tue Dec 21 18:20:40 2004 Owen Taylor <otaylor@redhat.com>
585 * viewer/* backend/* configure.ac Makefile.am: Move viewer directory
586 to backend/ directory, rename EvViewer to EvDocument.
588 2004-12-21 Havoc Pennington <hp@redhat.com>
590 * shell/ev-window.c: hook up the find bar widget; now we just need
591 a document to find things in
593 * shell/eggfindbar.c: a find bar widget
595 Tue Dec 21 17:20:16 2004 Jonathan Blandford <jrb@redhat.com>
597 * shell/ev-sidebar.[ch]: initial sidebar boilerplate.
599 Tue Dec 21 16:30:58 2004 Owen Taylor <otaylor@redhat.com>
601 * pdf/**: Import of xpdf code from gpdf.
603 * pdf/xpdf/xpdfconfig.h: Move the non-config.h config.h to xpdfconfig.h
605 * pdf/splash/SplashFTFont.{cc,h} pdf/splash/SplashFTFont.h
606 pdf/splash/SplashFTFontEngine.h pdf/splash/SplashFTFontFile.h:
607 Fix FreeType includes.
609 * pdf/xpdf/{Error.h GnomeVFSStream.cc ImageOutputDev.cc PDFDoc.cc\
610 pdffonts.cc pdfimages.cc pdfinfo.cc pdftoppm.cc pdftops.cc
611 pdftotext.cc PSOutputDev.cc PSOutputDev.h SplashOutputDev.h
612 Stream.cc TextOutputDev.cc XPDFApp.cc xpdf.cc XPDFViewer.cc
613 pdf/xpdf/Error.h PSOutputDev.h SplashOutputDev.h}:
616 Tue Dec 21 16:08:17 2004 Jonathan Blandford <jrb@redhat.com>
618 * shell/ev-window.c (ev_window_dispose): dispose can be called
621 2004-12-21 Havoc Pennington <hp@redhat.com>
623 * shell/ev-window.c (ev_window_init): set title to Document Viewer
626 * data/evince-ui.xml, shell/ev-window.c: add a bunch of stub menu
627 items; really they should be synced with the strings, etc. from
628 current gpdf, but just getting the boring typing out of the way
630 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
633 * shell/ev-application.c: (window_destroy_cb):
635 * shell/main.c: (main):
637 Actually show the window...
639 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
643 * shell/ev-application.c: (ev_application_class_init):
644 * shell/ev-window.c: (ev_window_dispose), (ev_window_class_init):
648 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
652 * Remove copies of gpdf and ggv trees.
653 * Rip out all the recursive configure code.
654 * Remove bonobo machinery.
655 * viewer/*: GInterfaces that backends should/can implement.
657 2004-11-09 Martin Kretzschmar <m_kretzschmar@gmx.net>
659 * shell/ev-window.c (ev_window_cmd_help_about): fix "documentors"
662 2004-10-28 Martin Kretzschmar <m_kretzschmar@gmx.net>
664 * shell/ev-application.c (EV_APPLICATION_GET_PRIVATE)
665 (ev_application_finalize, ev_application_class_init)
666 (ev_application_init): use GType instance private data for priv.
668 * shell/ev-window.c (EV_WINDOW_GET_PRIVATE)
669 (ev_window_finalize, ev_window_class_init)
670 (ev_window_init): ditto.
672 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
674 * shell/ev-application.c (ev_application_new_window): make public
675 (ev_application_show_initial_window): kill.
677 * shell/ev-application.h: update prototypes.
679 * shell/main.cc (main): inline ev_application_show_initial_window.
681 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
683 * shell/ev-application.c (ev_application_new_window): impl.
684 (ev_application_show_initial_window): use it.
685 (is_window_empty, ev_application_get_empty_window): returns an
686 existing empty window or a new one.
687 (ev_application_open): from ev_window_cmd_file_open.
689 * shell/ev-application.h: update prototypes
691 * shell/ev-window.c (ev_window_is_empty): impl.
692 (ev_window_open): make public.
693 (ev_window_cmd_file_open): use ev_application_open
695 * shell/ev-window.h: update prototypes, remove unused.
697 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
699 * shell/ev-window.c (ev_window_destroy, ev_window_class_init):
700 move destroy handler out of here...
702 * shell/ev-application.c, shell/ev-application.h: ...into this new
703 class. Also handles initial window creation.
705 * shell/main.cc (main): use EvApplication to create initial
708 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
710 * Makefile.am (SUBDIRS): add cut-n-paste
712 * cut-n-paste/Makefile.am: add
714 * configure.ac: generate Makefiles in cut-n-paste
716 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
718 * shell/ev-window.c (ev_window_dispose): new, unref the ui_manager
719 (ev_window_class_init): install ev_window_dispose.
721 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
723 * shell/ev-window.h, shell/ev-window.c: replace gchar with
724 char (gchar looks stupid).
726 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
728 * po/de.po: updated German translation.
730 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
732 * configure.ac: add more pkg-config library checks for gnome-vfs,
735 * gpdf/configure.in: temporarily disable libpaper
736 checks. Otherwise I'd have to add the checks for the shell, too.
738 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
740 * shell/ev-window.c (ev_window_cmd_file_open): add ps+pdf, ps, pdf
741 and * file filters to the file choose.
743 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
745 * po/de.po: Updated German translation.
747 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
749 * shell/ev-window.c: use "S" as mnemonic for Statusbar.
751 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
753 * data/evince-ui.xml: add View->Toolbar and View->Statusbar.
755 * shell/ev-window.c (menu_item_select_cb, menu_item_select_cb)
756 (ev_window_init): implement those menuitems.
758 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
760 * data/evince-ui.xml: add a toolbar (with FileOpen action)
762 * shell/ev-window.c (ev_window_init): use the toolbar.
764 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
766 * shell/ev-window.c (ev_window_init): use menu translations
768 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
770 * configure.ac: add "de" to ALL_LINGUAS.
772 * po/de.po: add German translation.
774 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
776 * Makefile.am (SUBDIRS): add po
778 * configure.ac: check intltool, glib-gettext etc, generate
781 * po, po/POTFILES.in, po/POTFILES.skip: new.
783 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
785 * shell/Makefile.am (INCLUDES): define GNOMELOCALEDIR which we
786 already use (#ifdef ENABLE_NLS)
788 * shell/ev-window.c (ev_window_cmd_help_about): fix two star
789 pointer indirection thinko.
791 * shell/main.c: include gi18n.h for bindtextdomain etc.
793 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
795 * shell/ev-window.c (menu_item_select_cb, menu_item_deselect_cb)
796 (connect_proxy_cb, disconnect_proxy_cb, ev_window_init): show
797 tooltips for menu items in the statusbar.
799 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
801 * configure.ac, data/Makefile.am, shell/Makefile.am: use
802 pkgdatadir drop UIDIR
804 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
806 * data/evince-ui.xml: Add File->Open menu item
808 * shell/ev-window.c (ev_window_cmd_file_open): impl. (shows a file
809 chooser), hook it up in the ui manager.
811 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
813 * shell/ev-window.c: fix Help->About tooltip.
815 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
817 * configure.ac: set CFLAGS for libevprivate.
819 * lib/ev-stock-icons.h, lib/ev-stock-icons.c: stock icon
820 definitions, factory etc.
822 * lib/Makefile.am: build libevprivate.a (only stock icon code).
824 * shell/Makefile.am: link against libevprivate.a.
826 * shell/ev-window.c (entries): add stock icon to Help->About.
828 * shell/main.c (main): init stock icon code.
830 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
832 * lib/recent-files: egg recent files code
834 * lib/Makefile.am: add.
836 * Makefile.am: add lib subdir.
838 * configure.ac: gen. lib/Makefile and lib/recent-files/Makefile,
839 set CFLAGS for recent-files.
841 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
843 * configure.ac: disable -ansi and -pedantic gcc flags. They
844 disable POSIX stuff in stdio.h, but egg-recent uses them.
846 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
848 * configure.ac: add --disable-deprecated flag (defaults to on in
851 * shell/Makefile.am (INCLUDES): use it.
853 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
855 * shell/main.c: add missing #include.
857 * shell/ev-window.c: fix for pedantic gcc.
858 (ev_window_cmd_help_about): split license into paragraphs for
859 translators and pedantic compilers.
861 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
863 * configure.ac: add more warning flags if compiling with gcc from
864 cvs (or explicitly requested with --enable-more-warnings).
866 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
868 * data/evince-ui.xml: add File and File->Close menu.
870 * shell/ev-window.c (ev_window_cmd_file_close_window): impl.
871 (ev_window_destroy): quit after destroy.
872 (ev_window_class_init): override GtkObject::destroy.
873 (entries): install close_window callback.
875 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
877 * Makefile.am (SUBDIRS): add data subdir.
879 * configure.ac (UIDIR): gen data/Makefile, define UIDIR. Require
880 gtk+ 2.5.0 for GtkAboutDialog.
882 * data/Makefile.am, data/evince-ui.xml: add, ui definition for the
885 * shell/Makefile.am (INCLUDES): propagate UIDIR definition.
887 * shell/ev-window.c (ev_window_init): create a menubar, using a ui
889 (ev_window_cmd_help_about): about command, using GtkAboutDialog.
891 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
893 * shell/ev-window.c, shell/ev-window.h: Created an EvWindow class.
895 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
897 * shell/main.c: make it a trivial gtk+ program, adjust configure.ac
899 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
901 * shell/*: Added shell directory boilerplate, build it.
903 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
905 * configure.ac, Makefile.am: Added top-level configure.ac and