1 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
3 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb),
4 (ev_sidebar_bookmarks_construct), (do_one_iteration):
6 Hook up bookmarks navigation
8 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
10 * backend/Makefile.am:
11 * backend/ev-bookmark.c: (ev_bookmark_type_get_type),
12 (ev_bookmark_get_title), (ev_bookmark_set_title),
13 (ev_bookmark_get_bookmark_type), (ev_bookmark_set_bookmark_type),
14 (ev_bookmark_get_page), (ev_bookmark_set_page),
15 (ev_bookmark_get_property), (ev_bookmark_set_property),
16 (ev_window_dispose), (ev_bookmark_init), (ev_bookmark_class_init),
18 * backend/ev-bookmark.h:
19 * backend/ev-document-bookmarks.c:
20 (ev_document_bookmarks_get_bookmark):
21 * backend/ev-document-bookmarks.h:
22 * pdf/xpdf/pdf-document.cc:
23 * shell/ev-sidebar-bookmarks.c: (do_one_iteration):
25 Add a bookmark object to the backend and use it instead of get_values
27 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
31 Cleanup and add select all.
33 * shell/ev-view.c: (ev_view_select_all),
34 (ev_view_button_press_event):
36 * shell/ev-window.c: (ev_window_cmd_edit_select_all):
39 Clear selection on click.
41 Fri Jan 7 01:28:58 2005 Jonathan Blandford <jrb@redhat.com>
43 * shell/ev-sidebar-thumbnails.c
44 (ev_sidebar_thumbnails_set_document): forgot to unref the
47 Fri Jan 7 01:22:48 2005 Jonathan Blandford <jrb@redhat.com>
49 * shell/ev-sidebar-thumbnails.c: fill in the thumbnails starting
50 at the visible page, not just linearly. This makes it look fast.
52 Thu Jan 6 18:48:11 2005 Jonathan Blandford <jrb@redhat.com>
54 * backend/ev-document-misc.c
55 (ev_document_misc_get_thumbnail_frame): fill in the thumbnail with
57 * backend/ev-document-thumbnails.h: New interface to get the size
60 2005-01-06 Jeremy Katz <katzj@redhat.com>
62 * shell/Makefile.am (evince_SOURCES): Add ev-utils.[ch] so that
65 Wed Jan 5 15:38:28 2005 Jonathan Blandford <jrb@redhat.com>
67 * pdf/xpdf/pdf-document.cc (bitmap_to_pixbuf): bypass
68 GDKSplashOutputDev and just use a normal SplashOutputDev. Speeds
71 * shell/ev-sidebar-thumbnail.c: start of some profiling code.
73 2005-01-05 Martin Kretzschmar <martink@gnome.org>
75 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): match only outline
76 fonts. Should fix font problems on systems that have the base
77 fonts in bitmap format. Reported by James Henstridge
80 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
83 * pdf/xpdf/GfxState.cc:
87 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
89 * shell/ev-view.c: (ev_view_copy):
91 * shell/ev-window.c: (ev_window_cmd_edit_copy):
95 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
97 * backend/ev-document.c: (ev_document_get_text):
98 * backend/ev-document.h:
99 * pdf/xpdf/pdf-document.cc:
100 * shell/ev-view.c: (ev_view_realize), (expose_bin_window),
101 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
102 (ev_view_update_primary_selection), (ev_view_button_press_event),
103 (ev_view_motion_notify_event), (ev_view_button_release_event):
105 Beginnings of clipboard support. Incomplete but primary sort
108 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
110 * shell/ev-view.c: (ev_gdk_color_to_rgb), (draw_rubberband),
113 Nicer rubberband drawing, from GtkIconView.
115 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
117 * backend/ev-document.c: (ev_document_save):
118 * backend/ev-document.h:
119 * data/evince-ui.xml:
120 * pdf/xpdf/pdf-document.cc:
121 * shell/ev-window.c: (save_error_dialog), (ev_window_cmd_save_as):
123 Implement "Save a copy..." menu item
125 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
127 * shell/ev-view.c: (ev_view_zoom):
129 Queue a resize when zoom changes
131 Wed Jan 5 02:33:06 2005 Jonathan Blandford <jrb@redhat.com>
133 * backend/ev-document-misc.[ch]: New misc file to do simple drop
136 * pdf/xpdf/pdf-document.cc: use the drop shadows in both types of
139 Tue Jan 4 22:32:32 2005 Jonathan Blandford <jrb@redhat.com>
141 * pdf/xpdf/pdf-document.cc
142 (pdf_document_thumbnails_get_page_pixbuf): poor man's dropshadow.
144 Tue Jan 4 21:25:05 2005 Jonathan Blandford <jrb@redhat.com>
146 * pdf/xpdf/pdf-document.cc: Do real thumbnailing of PDF files.
147 It's slow, but I'll speed it up next!
149 2005-01-04 Jeff Muizelaar <jrmuizel@nit.ca>
151 * shell/main.c (load_files):
153 use gnome_vfs_make_uri_from_shell_arg so that relative paths work
154 from the command line and because it seems more appropriate.
156 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
158 * data/evince-ui.xml:
159 * shell/ev-window.c: (update_action_sensitivity),
160 (ev_window_cmd_go_page_up), (ev_window_cmd_go_page_down):
162 s/next page/page down
163 s/previous page/page up
165 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
167 * data/evince-ui.xml:
169 Change the layout to match clarkbw design.
172 * shell/ev-navigation-action.c: (build_menu), (menu_activated_cb),
173 (set_tooltip_cb), (connect_proxy), (ev_navigation_action_init),
174 (ev_navigation_action_finalize),
175 (ev_navigation_action_set_property),
176 (ev_navigation_action_get_property),
177 (ev_navigation_action_class_init):
178 * shell/ev-navigation-action.h:
180 Implement clarkbw toolbar navigation controls (incomplete)
182 * shell/ev-page-action.c: (update_label), (update_spin),
183 (value_changed_cb), (create_tool_item), (connect_proxy),
184 (ev_page_action_init), (ev_page_action_finalize),
185 (ev_page_action_set_property), (ev_page_action_get_property),
186 (ev_page_action_set_current_page),
187 (ev_page_action_set_total_pages), (ev_page_action_class_init):
188 * shell/ev-page-action.h:
190 Implement a page switcher in the toolbar
192 * shell/ev-view.c: (ev_view_scroll_view):
193 * shell/ev-window.c: (update_total_pages), (ev_window_open),
194 (update_current_page), (view_page_changed_cb), (goto_page_cb),
195 (register_custom_actions), (ev_window_init):
197 Change page on PageUp/Down.
199 Tue Jan 4 03:22:56 2005 Jonathan Blandford <jrb@redhat.com>
201 * pdf/xpdf/pdf-document.cc
202 (pdf_document_thumbnails_get_thumbnail): initial stab at
203 implementing thumbnail support for pdfs. It only does documents
204 with precached pdfs now.
206 Mon Jan 3 17:22:25 2005 Jonathan Blandford <jrb@redhat.com>
208 * shell/ev-sidebar-thumbnails.c (do_one_iteration): move the
209 thumbnail code into a time-based idle as well. Also, turn off the
210 shadow temporarily as it's really slow.
212 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
214 * backend/ev-document.c: (ev_document_class_init):
215 * pdf/xpdf/pdf-document.cc:
216 * shell/ev-window.c: (ev_window_open):
218 Fix document title bugs and fallback to
219 filename when not available.
221 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
223 * backend/ev-document.c: (ev_document_get_type),
224 (ev_document_class_init), (ev_document_load),
225 (ev_document_get_title):
226 * backend/ev-document.h:
227 * pdf/xpdf/pdf-document.cc:
228 * ps/ps-document.c: (ps_document_set_property),
229 (ps_document_get_property), (ps_document_class_init),
233 * shell/ev-window.c: (update_window_title), (ev_window_open),
236 Initial support for document title. Not working yet.
238 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
240 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event):
242 Grab focus on the view when clicking it
244 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
246 * shell/ev-marshal.list:
247 * shell/ev-view.c: (ev_view_realize), (add_scroll_binding),
248 (ev_view_scroll_view), (ev_view_class_init), (ev_view_init):
250 Add key bindings to the view. Now if the focus would work
253 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
256 * backend/Makefile.am:
259 * dvi/dvilib/Makefile.am:
260 * pdf/xpdf/Makefile.am:
266 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
268 * shell/ev-view.c: (ev_view_realize):
270 Fix mouse wheel scrolling
272 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
278 * ps/ps-document.c: (catchPipe), (ps_document_init),
279 (ps_document_class_init), (ps_document_cleanup),
280 (ps_document_finalize), (send_ps), (ps_document_get_orientation),
281 (set_up_page), (close_pipe), (is_interpreter_ready),
282 (interpreter_failed), (output), (input), (start_interpreter),
283 (stop_interpreter), (file_length), (file_readable),
284 (check_filecompressed), (check_pdf), (compute_xdpi),
285 (compute_ydpi), (compute_size), (ps_document_enable_interpreter),
286 (ps_document_get_type), (ps_document_emit_error_msg),
287 (document_load), (ps_document_next_page),
288 (ps_document_get_current_page), (ps_document_get_page_count),
289 (ps_document_goto_page), (ps_document_set_page_size),
290 (ps_document_zoom_to_fit), (ps_document_set_zoom),
291 (ps_document_load), (ps_document_get_n_pages),
292 (ps_document_set_page), (ps_document_get_page),
293 (ps_document_widget_event), (ps_document_set_target),
294 (ps_document_set_scale), (ps_document_set_page_offset),
295 (ps_document_get_page_size), (ps_document_render),
296 (ps_document_document_iface_init):
299 * shell/ev-window.c: (ev_window_open):
301 Rename GtkGS to PSDocument
303 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
305 * ps/gtkgs.c: (gtk_gs_class_init):
308 Some more leftover...
310 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
312 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_get_orientation),
313 (output), (stop_interpreter), (gtk_gs_emit_error_msg),
314 (gtk_gs_zoom_to_fit), (gtk_gs_set_zoom):
317 Remove unused code and make a lot of stuff private
319 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
321 * ps/gsdefaults.c: (gtk_gs_defaults_gconf_client),
322 (gtk_gs_defaults_changed):
328 Cleanup headers dependencies
330 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
335 * ps/gsdefaults.c: (gtk_gs_defaults_get_paper_sizes):
337 * ps/gtkgs.c: (file_length), (file_readable),
338 (check_filecompressed), (check_pdf), (gtk_gs_load),
339 (gtk_gs_get_postscript):
343 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
348 * ps/gtkgs.c: (gtk_gs_set_zoom):
352 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
354 * ps/gtkgs.c: (gtk_gs_set_zoom), (gtk_gs_set_zoom_mode):
356 Ensure the page is rerendered when changing zoom
358 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
360 * backend/ev-document.c: (ev_document_base_init),
361 (ev_document_changed):
362 * backend/ev-document.h:
364 Add a changed event that is emitted when the page content
365 changes. This is necessary to deal with the fact that
366 in ps backend rendering happen asycrounously.
367 This makes the ps backend mostly work.
369 * pdf/xpdf/pdf-document.cc:
373 * ps/gtkgs.c: (set_up_page), (gtk_gs_widget_event),
374 (ps_document_set_target):
378 * shell/ev-view.c: (document_changed_callback),
379 (ev_view_set_document), (ev_view_set_page):
381 Redraw on the changed signal
383 2004-12-25 Raphael Higino <raphaelh@cvs.gnome.org>
385 * configure.ac: Added pt_BR to ALL_LINGUAS.
387 Fri Dec 24 00:48:44 2004 Jonathan Blandford <jrb@redhat.com>
389 * backend/ev-document-bookmarks.c:
390 (ev_document_bookmarks_get_child): *
391 backend/ev-document-bookmarks.h: * pdf/xpdf/Makefile.am: *
392 pdf/xpdf/pdf-document.cc: * pdf/xpdf/pdf-document.h: *
393 shell/Makefile.am: * shell/ev-sidebar-bookmarks.c:
394 (ev_sidebar_bookmarks_destroy),
395 (ev_sidebar_bookmarks_class_init),
396 (ev_sidebar_bookmarks_construct), (stack_data_free),
397 (do_one_iteration), (populate_bookmarks_idle),
398 (ev_sidebar_bookmarks_clear_document),
399 (ev_sidebar_bookmarks_set_document): *
400 shell/ev-sidebar-bookmarks.h: * shell/ev-sidebar.c:
401 (ev_sidebar_add_page),
402 (ev_sidebar_set_document): * shell/ev-window.c: (ev_window_open):
403 Initial stab at a bookmarks sidebar. It doesn't navigate yet, but
404 it displays both the topics and the page numbers.
406 2004-12-23 Kristian Høgsberg <krh@redhat.com>
408 * shell/ev-window.c (ev_window_view_sidebar_cb): Hook up sidebar
410 * shell/ev-window.c (toggle_entries): Set sidebar default value to
413 2004-12-23 Adam Weinberger <adamw@gnome.org>
415 * configure.ac: Added en_CA to ALL_LINGUAS.
417 2004-12-23 Martin Kretzschmar <martink@gnome.org>
419 * ChangeLog: replace bottom of this ChangeLog (merged history of
420 ggv and gpdf; where all paths were wrong and most of the files are
421 not even in this tree) with ChangeLog (from arch) of the shell
424 2004-12-23 Havoc Pennington <hp@redhat.com>
426 * shell/ev-window.c: hook up potentially-questionable "find
427 results status text" feature - something involving the sidebar or
428 scrollbar or a continuous all-pages-on-giant-roll-of-paper-view
429 might be better in the end.
431 * shell/ev-view.c (ev_view_get_find_status_message): new function,
432 with corresponding signal when it should be updated
434 * shell/eggfindbar.c (egg_find_bar_set_status_text): new function
436 2004-12-22 Havoc Pennington <hp@redhat.com>
438 * pdf/xpdf/pdf-document.cc (pdf_document_find_begin): make search
439 find stuff on other pages, sort of (only returns one result on
440 invisible pages, to show they have results; updates full results
441 for a page when you view it). Currently repaints the current page
442 every time a new result is found on any page, which isn't so nice.
444 2004-12-22 Havoc Pennington <hp@redhat.com>
446 * shell/ev-window.c (ev_window_cmd_edit_find): display an error if
447 the document doesn't support find (better ideas?)
448 (find_bar_search_changed_cb): handle missing document or document
449 that doesn't support find
451 * pdf/xpdf/pdf-document.cc: port to implement the new
454 * backend/ev-document-find.c: create a new interface for searching
456 * backend/ev-document.h, backend/ev-document.c: delete the find stuff
458 2004-12-23 Martin Kretzschmar <martink@gnome.org>
460 * pdf/xpdf/Makefile.am (libpdfdocument_la_LIBADD): add
463 * shell/ev-window.c (ev_window_print): add GnomePrintJob to
464 EvPrintJob constructor arguments.
466 * backend/ev-ps-exporter.c, backend/ev-ps-exporter.h: interface
467 for documents that can export PostScript (page by page).
469 * backend/Makefile.am (libevbackend_la_SOURCES): add them.
471 * pdf/xpdf/pdf-document.cc (pdf_document_ps_export_begin)
472 (pdf_document_ps_export_do_page, pdf_document_ps_export_end)
473 (pdf_document_ps_exporter_iface_init:
474 Implement EvPSExporter.
476 * pdf/xpdf/Makefile.am (libxpdf_la_SOURCES): build PSOutputDev.
478 2004-12-22 Anders Carlsson <andersca@gnome.org>
480 * backend/Makefile.am:
481 * backend/ev-document-thumbnails.c:
482 (ev_document_thumbnails_get_type),
483 (ev_document_thumbnails_get_thumbnail):
484 * backend/ev-document-thumbnails.h:
485 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
486 (pixbuf_document_thumbnails_get_thumbnail),
487 (pixbuf_document_document_thumbnails_iface_init):
489 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_destroy),
490 (ev_sidebar_thumbnails_class_init), (ev_sidebar_thumbnails_init),
491 (populate_thumbnails), (ev_sidebar_thumbnails_set_document):
492 * shell/ev-sidebar-thumbnails.h:
493 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
494 (ev_sidebar_set_document):
495 * shell/ev-utils.c: (gaussian), (create_blur_filter),
496 (create_shadow), (ev_pixbuf_add_shadow):
498 Add thumbnail support.
500 2004-12-22 Martin Kretzschmar <martink@gnome.org>
502 * shell/ev-window.c (ev_window_cmd_file_print, ev_window_print)
503 (using_postscript_printer): Set up a print dialog for "PostScript
506 * shell/ev-print-job.h, shell/ev-print-job.c: stub classes for
509 * shell/Makefile.am (evince_SOURCES): add ev-print-job.[ch]
511 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
513 * ps/gtkgs.c: (gtk_gs_init), (set_up_page),
514 (ps_document_set_target), (ps_document_get_page_size),
515 (ps_document_render):
520 2004-12-22 Christian Rose <menthos@menthos.com>
522 * configure.ac: Added "sv" to ALL_LINGUAS.
524 Wed Dec 22 14:47:38 2004 Jonathan Blandford <jrb@redhat.com>
526 * backend/ev-document-bookmarks.[ch]: new interface to indicate
527 document supports bookmarks.
529 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
531 * ps/ggvutils.c: (ggv_file_readable):
533 * ps/gtkgs.c: (check_filecompressed), (check_pdf),
534 (gtk_gs_get_postscript):
538 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
540 * ps/gtkgs.c: (gtk_gs_init), (gtk_gs_class_init), (gtk_gs_cleanup),
541 (gtk_gs_finalize), (gtk_gs_set_center), (set_up_page), (output),
542 (start_interpreter), (compute_size), (gtk_gs_enable_interpreter),
543 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_reload),
544 (gtk_gs_emit_error_msg), (gtk_gs_disable_interpreter),
545 (gtk_gs_load), (gtk_gs_goto_page), (gtk_gs_set_page_size),
546 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
547 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
548 (gtk_gs_set_antialiasing), (ps_document_load),
549 (ps_document_render):
552 Another check point for the ps backend. Now I can get it to show
555 Wed Dec 22 13:41:01 2004 Jonathan Blandford <jrb@redhat.com>
557 * shell/ev-sidebar.c (ev_sidebar_set_document): initial sidebar
558 document setting code.
560 2004-12-22 Anders Carlsson <andersca@gnome.org>
562 * shell/eggfindbar.c: (entry_activate_callback):
563 Animate the next button when activate is pressed.
565 2004-12-22 Anders Carlsson <andersca@gnome.org>
567 * shell/ev-window.c: (ev_window_cmd_edit_find),
568 (update_fullscreen_popup), (ev_window_fullscreen),
569 (ev_window_unfullscreen), (ev_window_state_event_cb),
570 (ev_window_focus_out_cb), (find_bar_close_cb), (ev_window_init):
571 Fix bugs in fullscreen code.
573 2004-12-22 Anders Carlsson <andersca@gnome.org>
577 * pixbuf/Makefile.am:
578 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
579 (pixbuf_document_load), (pixbuf_document_get_n_pages),
580 (pixbuf_document_set_page), (pixbuf_document_get_page),
581 (pixbuf_document_set_target), (pixbuf_document_set_scale),
582 (pixbuf_document_set_page_offset), (pixbuf_document_get_page_size),
583 (pixbuf_document_render), (pixbuf_document_begin_find),
584 (pixbuf_document_end_find), (pixbuf_document_finalize),
585 (pixbuf_document_class_init),
586 (pixbuf_document_document_iface_init), (pixbuf_document_init):
587 * pixbuf/pixbuf-document.h:
589 * shell/ev-application.c: (ev_application_open):
590 * shell/ev-window.c: (mime_type_supported_by_gdk_pixbuf),
594 Tue Dec 21 21:45:43 2004 Soeren Sandmann <sandmann@redhat.com>
597 * dvi/dvilib/Makefile.am:
599 * configure.ac: Auto*ify dvi and dvi/dvilib
601 * dvi/Makefile: Remove from CVS
603 * dvi/dvilib/dl-pkfont.cc (unpack_bitmap): Fix uchar/uint
606 * dvi/dvilib/dl-fontdefinition.{cc,hh}: New DviFontMap class
608 * dvi/dvilib/dl-vffont.{cc,hh}: Many bugfixes to VF code.
610 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
613 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_finalize),
614 (gtk_gs_value_adjustment_changed), (compute_size),
615 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_new_from_file),
616 (gtk_gs_center_page), (gtk_gs_load), (gtk_gs_set_page_size),
617 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
618 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
619 (gtk_gs_start_scroll), (gtk_gs_get_postscript),
620 (gtk_gs_set_adjustments), (gtk_gs_set_available_size),
621 (ps_document_load), (ps_document_get_n_pages),
622 (ps_document_set_page), (ps_document_get_page),
623 (ps_document_set_target), (ps_document_set_scale),
624 (ps_document_set_page_offset), (ps_document_get_page_size),
625 (ps_document_render), (ps_document_begin_find),
626 (ps_document_end_find), (ps_document_document_iface_init):
629 * shell/ev-window.c: (ev_window_open):
631 Some work to integrate gtkgs with EvDocument
633 2004-12-22 Anders Carlsson <andersca@gnome.org>
635 * shell/ev-window.c: (update_fullscreen_popup),
636 (screen_size_changed_cb), (destroy_exit_fullscreen_popup),
637 (exit_fullscreen_button_clicked_cb),
638 (fullscreen_popup_size_request_cb), (ev_window_fullscreen),
639 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
640 (ev_window_state_event_cb), (ev_window_init):
641 Add fullscreen support from Epiphany.
643 2004-12-22 Mark McLoughlin <mark@skynet.ie>
645 * data/ev-stock-zoom-fit-width.png: fit-width
646 stock icon from gpdf.
648 * shell/ev-stock-icons.[ch]: copied from gpdf.
650 * shell/main.c: (main): init stock icons.
652 * shell/ev-window.c: use the fit-width icon.
654 * data/evince-ui.xml: add zooming toolbar items.
656 2004-12-22 Mark McLoughlin <mark@skynet.ie>
659 (ev_view_best_fit), (ev_view_fit_width): because
660 get_page_size() returns the scaled page size, we
661 need to calculate the scale factor relative to
662 the previous scale factor. Should really just
663 add get_real_page_size().
665 2004-12-22 Mark McLoughlin <mark@skynet.ie>
667 * shell/ev-view.[ch]:
668 (ev_view_zoom), (ev_view_zoom_in), (ev_view_zoom_out),
669 (ev_view_normal_size), (ev_view_best_fit), (ev_view_fit_width):
672 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
673 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_normal_size),
674 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width):
677 * pdf/xpdf/pdf-document.cc:
678 (pdf_document_begin_find),
679 (pdf_document_end_find): make static.
681 2004-12-22 Martin Kretzschmar <martink@gnome.org>
683 * pdf/xpdf/GlobalParams.h (setupBaseFontsFc): add prototype.
685 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): maps base font
686 names to fontconfig patterns.
687 (setupBaseFontsFc): setupBaseFonts reimplemented using fontconfig.
689 * pdf/xpdf/pdf-document.cc (pdf_document_load): use
692 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
708 Import ggv backend. Not hooked up yet.
710 2004-12-22 Mark McLoughlin <mark@skynet.ie>
712 * shell/main.c: (load_files), (main): load files
713 from the command line.
715 2004-12-22 Mark McLoughlin <mark@skynet.ie>
717 * configure.ac: don't require bonobo.
719 * cut-n-paste/recent-files/*: kill bonobo recent
723 (ev_window_is_empty): upd.
724 (unable_to_load), (ev_window_open): load backend
725 based on the mime type.
727 2004-12-22 Martin Kretzschmar <martink@gnome.org>
729 * backend/.cvsignore: ignore generated marshalers source.
731 * shell/main.c (main): this is not epiphany.
733 2004-12-22 Havoc Pennington <hp@redhat.com>
735 * shell/ev-view.c (ev_view_set_document): connect to "found" signal
736 (expose_bin_window): draw find highlights
738 * shell/ev-window.c (find_bar_search_changed_cb): implement
740 * pdf/xpdf/pdf-document.cc (pdf_document_begin_find)
741 (pdf_document_end_find): implement this interface
743 * backend/ev-document.c (ev_document_found): add this to emit
746 Tue Dec 21 23:57:37 2004 Owen Taylor <otaylor@redhat.com>
748 * data/evince-ui.xml: Add a few more toolbar items.
750 * shell/ev-window.c: Hook up page navigation toolbar
753 * shell/ev-view.[ch]: add ev_view_set/get_page and
754 a page-changed signal.
756 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc::
757 Add ev_document_get_page().
759 * shell/ev-window.c: Sensitize/desensitize navigation
762 2004-12-21 Havoc Pennington <hp@redhat.com>
764 * backend/ev-backend-marshal.c,
765 backend/ev-backend-marshalers.list, backend/Makefile.am: add
766 marshaler-generator thingy. I'm sure there's a better way to do
767 this in the modern world.
769 * backend/ev-document.h (struct _EvDocumentIface): add begin_find,
770 end_find methods and "found" signal.
772 * configure.ac: find glib-genmarshal
774 Tue Dec 21 23:20:35 2004 Jonathan Blandford <jrb@redhat.com>
776 * shell/ev-sidebar.c: Construct an actual sidebar.
777 * shell/ev-sidebar-bookmarks.[ch]:
778 * shell/ev-sidebar-thumbnails.[ch]: Stub out sidebars.
780 Tue Dec 21 23:05:51 2004 Owen Taylor <otaylor@redhat.com>
782 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc:
785 * shell/ev-view.c: Track the size from the document.
787 Tue Dec 21 22:17:04 2004 Owen Taylor <otaylor@redhat.com>
789 * pdf/xpdf/pdf-document.cc (pdf_document_load): PDFDoc
790 constructor assumes ownership of the string passed in.
792 * shell/ev-window.c (ev_window_open): Destroy the error
793 dialog once we've displayed it.
795 Tue Dec 21 21:58:56 2004 Owen Taylor <otaylor@redhat.com>
797 * pdf/xpdf/pdf-document.cc shell/ev-view.c: Hook things up
798 a bit, it works! (sort of)
800 * pdf/xpdf/Makefile.am pdf/xpdf/pdf-document.cc:
801 Move to .cc since we need to use C++ in the implementation.
803 * shell/dummy.cc: Add a CC file to force evince
804 to be linked as a C++ program.
806 Tue Dec 21 21:07:55 2004 Owen Taylor <otaylor@redhat.com>
808 * shell/ev-view.[ch]: Start of content-area widget.
810 * shell/ev-window.c: Create a EvView, update it
811 as we change documents.
813 * shell/Makefile.am shell/ev-marshal.list: Add
814 generated marshalers.
816 Tue Dec 21 20:28:11 2004 Jonathan Blandford <jrb@redhat.com>
818 * Makefile.am (SUBDIRS): move shell.
820 Tue Dec 21 19:28:55 2004 Owen Taylor <otaylor@redhat.com>
822 * pdf/{goo,fofi,splash,xpdf}/Makefile.am: Switch from
823 .a to libtool convenience libraries.
825 * shell/ev-window.c (ev_window_open): Hard code loading
828 * backend/ev-document.h: Add a boolean return to load(),
829 fix GError * to GError **.
831 * pdf/xpdf/pdf-document.[ch] Makefile.am: Add a stub
832 object for a PDF backend EvDocument.
834 Tue Dec 21 18:55:06 2004 Søren Sandmann <sandmann@redhat.com>
836 * dvi/*: New directory with the beginning of a .dvi backend.
838 2004-12-21 Havoc Pennington <hp@redhat.com>
840 * shell/eggfindbar.c (egg_find_bar_init): change buttons to
841 previous/next instead of back/forward
843 Tue Dec 21 18:26:24 2004 Owen Taylor <otaylor@redhat.com>
845 * backend/ev-document.[ch]: Fix a couple of problems so
848 Tue Dec 21 18:20:40 2004 Owen Taylor <otaylor@redhat.com>
850 * viewer/* backend/* configure.ac Makefile.am: Move viewer directory
851 to backend/ directory, rename EvViewer to EvDocument.
853 2004-12-21 Havoc Pennington <hp@redhat.com>
855 * shell/ev-window.c: hook up the find bar widget; now we just need
856 a document to find things in
858 * shell/eggfindbar.c: a find bar widget
860 Tue Dec 21 17:20:16 2004 Jonathan Blandford <jrb@redhat.com>
862 * shell/ev-sidebar.[ch]: initial sidebar boilerplate.
864 Tue Dec 21 16:30:58 2004 Owen Taylor <otaylor@redhat.com>
866 * pdf/**: Import of xpdf code from gpdf.
868 * pdf/xpdf/xpdfconfig.h: Move the non-config.h config.h to xpdfconfig.h
870 * pdf/splash/SplashFTFont.{cc,h} pdf/splash/SplashFTFont.h
871 pdf/splash/SplashFTFontEngine.h pdf/splash/SplashFTFontFile.h:
872 Fix FreeType includes.
874 * pdf/xpdf/{Error.h GnomeVFSStream.cc ImageOutputDev.cc PDFDoc.cc\
875 pdffonts.cc pdfimages.cc pdfinfo.cc pdftoppm.cc pdftops.cc
876 pdftotext.cc PSOutputDev.cc PSOutputDev.h SplashOutputDev.h
877 Stream.cc TextOutputDev.cc XPDFApp.cc xpdf.cc XPDFViewer.cc
878 pdf/xpdf/Error.h PSOutputDev.h SplashOutputDev.h}:
881 Tue Dec 21 16:08:17 2004 Jonathan Blandford <jrb@redhat.com>
883 * shell/ev-window.c (ev_window_dispose): dispose can be called
886 2004-12-21 Havoc Pennington <hp@redhat.com>
888 * shell/ev-window.c (ev_window_init): set title to Document Viewer
891 * data/evince-ui.xml, shell/ev-window.c: add a bunch of stub menu
892 items; really they should be synced with the strings, etc. from
893 current gpdf, but just getting the boring typing out of the way
895 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
898 * shell/ev-application.c: (window_destroy_cb):
900 * shell/main.c: (main):
902 Actually show the window...
904 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
908 * shell/ev-application.c: (ev_application_class_init):
909 * shell/ev-window.c: (ev_window_dispose), (ev_window_class_init):
913 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
917 * Remove copies of gpdf and ggv trees.
918 * Rip out all the recursive configure code.
919 * Remove bonobo machinery.
920 * viewer/*: GInterfaces that backends should/can implement.
922 2004-11-09 Martin Kretzschmar <m_kretzschmar@gmx.net>
924 * shell/ev-window.c (ev_window_cmd_help_about): fix "documentors"
927 2004-10-28 Martin Kretzschmar <m_kretzschmar@gmx.net>
929 * shell/ev-application.c (EV_APPLICATION_GET_PRIVATE)
930 (ev_application_finalize, ev_application_class_init)
931 (ev_application_init): use GType instance private data for priv.
933 * shell/ev-window.c (EV_WINDOW_GET_PRIVATE)
934 (ev_window_finalize, ev_window_class_init)
935 (ev_window_init): ditto.
937 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
939 * shell/ev-application.c (ev_application_new_window): make public
940 (ev_application_show_initial_window): kill.
942 * shell/ev-application.h: update prototypes.
944 * shell/main.cc (main): inline ev_application_show_initial_window.
946 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
948 * shell/ev-application.c (ev_application_new_window): impl.
949 (ev_application_show_initial_window): use it.
950 (is_window_empty, ev_application_get_empty_window): returns an
951 existing empty window or a new one.
952 (ev_application_open): from ev_window_cmd_file_open.
954 * shell/ev-application.h: update prototypes
956 * shell/ev-window.c (ev_window_is_empty): impl.
957 (ev_window_open): make public.
958 (ev_window_cmd_file_open): use ev_application_open
960 * shell/ev-window.h: update prototypes, remove unused.
962 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
964 * shell/ev-window.c (ev_window_destroy, ev_window_class_init):
965 move destroy handler out of here...
967 * shell/ev-application.c, shell/ev-application.h: ...into this new
968 class. Also handles initial window creation.
970 * shell/main.cc (main): use EvApplication to create initial
973 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
975 * Makefile.am (SUBDIRS): add cut-n-paste
977 * cut-n-paste/Makefile.am: add
979 * configure.ac: generate Makefiles in cut-n-paste
981 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
983 * shell/ev-window.c (ev_window_dispose): new, unref the ui_manager
984 (ev_window_class_init): install ev_window_dispose.
986 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
988 * shell/ev-window.h, shell/ev-window.c: replace gchar with
989 char (gchar looks stupid).
991 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
993 * po/de.po: updated German translation.
995 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
997 * configure.ac: add more pkg-config library checks for gnome-vfs,
1000 * gpdf/configure.in: temporarily disable libpaper
1001 checks. Otherwise I'd have to add the checks for the shell, too.
1003 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1005 * shell/ev-window.c (ev_window_cmd_file_open): add ps+pdf, ps, pdf
1006 and * file filters to the file choose.
1008 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1010 * po/de.po: Updated German translation.
1012 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1014 * shell/ev-window.c: use "S" as mnemonic for Statusbar.
1016 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1018 * data/evince-ui.xml: add View->Toolbar and View->Statusbar.
1020 * shell/ev-window.c (menu_item_select_cb, menu_item_select_cb)
1021 (ev_window_init): implement those menuitems.
1023 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1025 * data/evince-ui.xml: add a toolbar (with FileOpen action)
1027 * shell/ev-window.c (ev_window_init): use the toolbar.
1029 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1031 * shell/ev-window.c (ev_window_init): use menu translations
1033 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1035 * configure.ac: add "de" to ALL_LINGUAS.
1037 * po/de.po: add German translation.
1039 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1041 * Makefile.am (SUBDIRS): add po
1043 * configure.ac: check intltool, glib-gettext etc, generate
1046 * po, po/POTFILES.in, po/POTFILES.skip: new.
1048 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1050 * shell/Makefile.am (INCLUDES): define GNOMELOCALEDIR which we
1051 already use (#ifdef ENABLE_NLS)
1053 * shell/ev-window.c (ev_window_cmd_help_about): fix two star
1054 pointer indirection thinko.
1056 * shell/main.c: include gi18n.h for bindtextdomain etc.
1058 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1060 * shell/ev-window.c (menu_item_select_cb, menu_item_deselect_cb)
1061 (connect_proxy_cb, disconnect_proxy_cb, ev_window_init): show
1062 tooltips for menu items in the statusbar.
1064 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1066 * configure.ac, data/Makefile.am, shell/Makefile.am: use
1067 pkgdatadir drop UIDIR
1069 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1071 * data/evince-ui.xml: Add File->Open menu item
1073 * shell/ev-window.c (ev_window_cmd_file_open): impl. (shows a file
1074 chooser), hook it up in the ui manager.
1076 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1078 * shell/ev-window.c: fix Help->About tooltip.
1080 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1082 * configure.ac: set CFLAGS for libevprivate.
1084 * lib/ev-stock-icons.h, lib/ev-stock-icons.c: stock icon
1085 definitions, factory etc.
1087 * lib/Makefile.am: build libevprivate.a (only stock icon code).
1089 * shell/Makefile.am: link against libevprivate.a.
1091 * shell/ev-window.c (entries): add stock icon to Help->About.
1093 * shell/main.c (main): init stock icon code.
1095 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1097 * lib/recent-files: egg recent files code
1099 * lib/Makefile.am: add.
1101 * Makefile.am: add lib subdir.
1103 * configure.ac: gen. lib/Makefile and lib/recent-files/Makefile,
1104 set CFLAGS for recent-files.
1106 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1108 * configure.ac: disable -ansi and -pedantic gcc flags. They
1109 disable POSIX stuff in stdio.h, but egg-recent uses them.
1111 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1113 * configure.ac: add --disable-deprecated flag (defaults to on in
1116 * shell/Makefile.am (INCLUDES): use it.
1118 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1120 * shell/main.c: add missing #include.
1122 * shell/ev-window.c: fix for pedantic gcc.
1123 (ev_window_cmd_help_about): split license into paragraphs for
1124 translators and pedantic compilers.
1126 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1128 * configure.ac: add more warning flags if compiling with gcc from
1129 cvs (or explicitly requested with --enable-more-warnings).
1131 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1133 * data/evince-ui.xml: add File and File->Close menu.
1135 * shell/ev-window.c (ev_window_cmd_file_close_window): impl.
1136 (ev_window_destroy): quit after destroy.
1137 (ev_window_class_init): override GtkObject::destroy.
1138 (entries): install close_window callback.
1140 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1142 * Makefile.am (SUBDIRS): add data subdir.
1144 * configure.ac (UIDIR): gen data/Makefile, define UIDIR. Require
1145 gtk+ 2.5.0 for GtkAboutDialog.
1147 * data/Makefile.am, data/evince-ui.xml: add, ui definition for the
1150 * shell/Makefile.am (INCLUDES): propagate UIDIR definition.
1152 * shell/ev-window.c (ev_window_init): create a menubar, using a ui
1154 (ev_window_cmd_help_about): about command, using GtkAboutDialog.
1156 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1158 * shell/ev-window.c, shell/ev-window.h: Created an EvWindow class.
1160 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
1162 * shell/main.c: make it a trivial gtk+ program, adjust configure.ac
1164 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
1166 * shell/*: Added shell directory boilerplate, build it.
1168 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
1170 * configure.ac, Makefile.am: Added top-level configure.ac and