1 2005-01-08 Martin Kretzschmar <martink@gnome.org>
3 * shell/ev-print-job.c (ev_print_job_finalize)
4 (ev_print_job_set_property, ev_print_job_get_property)
5 (ev_print_job_set_gnome_print_job, ev_print_job_set_document)
6 (ev_print_job_use_print_dialog_settings, idle_print_handler)
7 (print_closure_finalize, ev_print_job_print): implement
8 printing (for backends with EvPsExporter)
10 * shell/ev_print_job.h: update prototypes.
12 * shell/ev-window.c (ev_window_print): unref print job after
15 * shell/ev-view.c (ev_view_set_document): don't connect to "found"
16 unless the document implements the EvDocumentFind interface.
18 2005-01-08 Satoru SATOH <ss@gnome.gr.jp>
20 * configure.ac: Added ja to ALL_LINGUAS.
22 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
24 * pdf/xpdf/pdf-document.cc:
26 add a FIXME. We should probably not allocate
27 a bookmark object every time
29 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
31 * shell/ev-application.c: (ev_application_open),
32 (ev_application_open_bookmark):
33 * shell/ev-application.h:
35 Add a way to open bookmarks
37 * backend/ev-bookmark.c: (ev_bookmark_get_uri),
38 (ev_bookmark_set_uri), (ev_bookmark_get_property),
39 (ev_bookmark_set_property), (ev_bookmark_class_init),
40 (ev_bookmark_new_title), (ev_bookmark_new_link),
41 (ev_bookmark_new_external):
43 Support for external uris, better constructors.
45 * backend/ev-bookmark.h:
46 * pdf/xpdf/pdf-document.cc:
47 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
51 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
53 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb),
54 (ev_sidebar_bookmarks_construct), (do_one_iteration):
56 Hook up bookmarks navigation
58 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
60 * backend/Makefile.am:
61 * backend/ev-bookmark.c: (ev_bookmark_type_get_type),
62 (ev_bookmark_get_title), (ev_bookmark_set_title),
63 (ev_bookmark_get_bookmark_type), (ev_bookmark_set_bookmark_type),
64 (ev_bookmark_get_page), (ev_bookmark_set_page),
65 (ev_bookmark_get_property), (ev_bookmark_set_property),
66 (ev_window_dispose), (ev_bookmark_init), (ev_bookmark_class_init),
68 * backend/ev-bookmark.h:
69 * backend/ev-document-bookmarks.c:
70 (ev_document_bookmarks_get_bookmark):
71 * backend/ev-document-bookmarks.h:
72 * pdf/xpdf/pdf-document.cc:
73 * shell/ev-sidebar-bookmarks.c: (do_one_iteration):
75 Add a bookmark object to the backend and use it instead of get_values
77 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
81 Cleanup and add select all.
83 * shell/ev-view.c: (ev_view_select_all),
84 (ev_view_button_press_event):
86 * shell/ev-window.c: (ev_window_cmd_edit_select_all):
89 Clear selection on click.
91 Fri Jan 7 01:28:58 2005 Jonathan Blandford <jrb@redhat.com>
93 * shell/ev-sidebar-thumbnails.c
94 (ev_sidebar_thumbnails_set_document): forgot to unref the
97 Fri Jan 7 01:22:48 2005 Jonathan Blandford <jrb@redhat.com>
99 * shell/ev-sidebar-thumbnails.c: fill in the thumbnails starting
100 at the visible page, not just linearly. This makes it look fast.
102 Thu Jan 6 18:48:11 2005 Jonathan Blandford <jrb@redhat.com>
104 * backend/ev-document-misc.c
105 (ev_document_misc_get_thumbnail_frame): fill in the thumbnail with
107 * backend/ev-document-thumbnails.h: New interface to get the size
110 2005-01-06 Jeremy Katz <katzj@redhat.com>
112 * shell/Makefile.am (evince_SOURCES): Add ev-utils.[ch] so that
115 Wed Jan 5 15:38:28 2005 Jonathan Blandford <jrb@redhat.com>
117 * pdf/xpdf/pdf-document.cc (bitmap_to_pixbuf): bypass
118 GDKSplashOutputDev and just use a normal SplashOutputDev. Speeds
121 * shell/ev-sidebar-thumbnail.c: start of some profiling code.
123 2005-01-05 Martin Kretzschmar <martink@gnome.org>
125 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): match only outline
126 fonts. Should fix font problems on systems that have the base
127 fonts in bitmap format. Reported by James Henstridge
128 <james@jamesh.id.au>.
130 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
133 * pdf/xpdf/GfxState.cc:
135 Fix for CAN-2004-1125
137 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
139 * shell/ev-view.c: (ev_view_copy):
141 * shell/ev-window.c: (ev_window_cmd_edit_copy):
145 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
147 * backend/ev-document.c: (ev_document_get_text):
148 * backend/ev-document.h:
149 * pdf/xpdf/pdf-document.cc:
150 * shell/ev-view.c: (ev_view_realize), (expose_bin_window),
151 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
152 (ev_view_update_primary_selection), (ev_view_button_press_event),
153 (ev_view_motion_notify_event), (ev_view_button_release_event):
155 Beginnings of clipboard support. Incomplete but primary sort
158 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
160 * shell/ev-view.c: (ev_gdk_color_to_rgb), (draw_rubberband),
163 Nicer rubberband drawing, from GtkIconView.
165 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
167 * backend/ev-document.c: (ev_document_save):
168 * backend/ev-document.h:
169 * data/evince-ui.xml:
170 * pdf/xpdf/pdf-document.cc:
171 * shell/ev-window.c: (save_error_dialog), (ev_window_cmd_save_as):
173 Implement "Save a copy..." menu item
175 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
177 * shell/ev-view.c: (ev_view_zoom):
179 Queue a resize when zoom changes
181 Wed Jan 5 02:33:06 2005 Jonathan Blandford <jrb@redhat.com>
183 * backend/ev-document-misc.[ch]: New misc file to do simple drop
186 * pdf/xpdf/pdf-document.cc: use the drop shadows in both types of
189 Tue Jan 4 22:32:32 2005 Jonathan Blandford <jrb@redhat.com>
191 * pdf/xpdf/pdf-document.cc
192 (pdf_document_thumbnails_get_page_pixbuf): poor man's dropshadow.
194 Tue Jan 4 21:25:05 2005 Jonathan Blandford <jrb@redhat.com>
196 * pdf/xpdf/pdf-document.cc: Do real thumbnailing of PDF files.
197 It's slow, but I'll speed it up next!
199 2005-01-04 Jeff Muizelaar <jrmuizel@nit.ca>
201 * shell/main.c (load_files):
203 use gnome_vfs_make_uri_from_shell_arg so that relative paths work
204 from the command line and because it seems more appropriate.
206 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
208 * data/evince-ui.xml:
209 * shell/ev-window.c: (update_action_sensitivity),
210 (ev_window_cmd_go_page_up), (ev_window_cmd_go_page_down):
212 s/next page/page down
213 s/previous page/page up
215 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
217 * data/evince-ui.xml:
219 Change the layout to match clarkbw design.
222 * shell/ev-navigation-action.c: (build_menu), (menu_activated_cb),
223 (set_tooltip_cb), (connect_proxy), (ev_navigation_action_init),
224 (ev_navigation_action_finalize),
225 (ev_navigation_action_set_property),
226 (ev_navigation_action_get_property),
227 (ev_navigation_action_class_init):
228 * shell/ev-navigation-action.h:
230 Implement clarkbw toolbar navigation controls (incomplete)
232 * shell/ev-page-action.c: (update_label), (update_spin),
233 (value_changed_cb), (create_tool_item), (connect_proxy),
234 (ev_page_action_init), (ev_page_action_finalize),
235 (ev_page_action_set_property), (ev_page_action_get_property),
236 (ev_page_action_set_current_page),
237 (ev_page_action_set_total_pages), (ev_page_action_class_init):
238 * shell/ev-page-action.h:
240 Implement a page switcher in the toolbar
242 * shell/ev-view.c: (ev_view_scroll_view):
243 * shell/ev-window.c: (update_total_pages), (ev_window_open),
244 (update_current_page), (view_page_changed_cb), (goto_page_cb),
245 (register_custom_actions), (ev_window_init):
247 Change page on PageUp/Down.
249 Tue Jan 4 03:22:56 2005 Jonathan Blandford <jrb@redhat.com>
251 * pdf/xpdf/pdf-document.cc
252 (pdf_document_thumbnails_get_thumbnail): initial stab at
253 implementing thumbnail support for pdfs. It only does documents
254 with precached pdfs now.
256 Mon Jan 3 17:22:25 2005 Jonathan Blandford <jrb@redhat.com>
258 * shell/ev-sidebar-thumbnails.c (do_one_iteration): move the
259 thumbnail code into a time-based idle as well. Also, turn off the
260 shadow temporarily as it's really slow.
262 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
264 * backend/ev-document.c: (ev_document_class_init):
265 * pdf/xpdf/pdf-document.cc:
266 * shell/ev-window.c: (ev_window_open):
268 Fix document title bugs and fallback to
269 filename when not available.
271 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
273 * backend/ev-document.c: (ev_document_get_type),
274 (ev_document_class_init), (ev_document_load),
275 (ev_document_get_title):
276 * backend/ev-document.h:
277 * pdf/xpdf/pdf-document.cc:
278 * ps/ps-document.c: (ps_document_set_property),
279 (ps_document_get_property), (ps_document_class_init),
283 * shell/ev-window.c: (update_window_title), (ev_window_open),
286 Initial support for document title. Not working yet.
288 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
290 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event):
292 Grab focus on the view when clicking it
294 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
296 * shell/ev-marshal.list:
297 * shell/ev-view.c: (ev_view_realize), (add_scroll_binding),
298 (ev_view_scroll_view), (ev_view_class_init), (ev_view_init):
300 Add key bindings to the view. Now if the focus would work
303 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
306 * backend/Makefile.am:
309 * dvi/dvilib/Makefile.am:
310 * pdf/xpdf/Makefile.am:
316 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
318 * shell/ev-view.c: (ev_view_realize):
320 Fix mouse wheel scrolling
322 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
328 * ps/ps-document.c: (catchPipe), (ps_document_init),
329 (ps_document_class_init), (ps_document_cleanup),
330 (ps_document_finalize), (send_ps), (ps_document_get_orientation),
331 (set_up_page), (close_pipe), (is_interpreter_ready),
332 (interpreter_failed), (output), (input), (start_interpreter),
333 (stop_interpreter), (file_length), (file_readable),
334 (check_filecompressed), (check_pdf), (compute_xdpi),
335 (compute_ydpi), (compute_size), (ps_document_enable_interpreter),
336 (ps_document_get_type), (ps_document_emit_error_msg),
337 (document_load), (ps_document_next_page),
338 (ps_document_get_current_page), (ps_document_get_page_count),
339 (ps_document_goto_page), (ps_document_set_page_size),
340 (ps_document_zoom_to_fit), (ps_document_set_zoom),
341 (ps_document_load), (ps_document_get_n_pages),
342 (ps_document_set_page), (ps_document_get_page),
343 (ps_document_widget_event), (ps_document_set_target),
344 (ps_document_set_scale), (ps_document_set_page_offset),
345 (ps_document_get_page_size), (ps_document_render),
346 (ps_document_document_iface_init):
349 * shell/ev-window.c: (ev_window_open):
351 Rename GtkGS to PSDocument
353 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
355 * ps/gtkgs.c: (gtk_gs_class_init):
358 Some more leftover...
360 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
362 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_get_orientation),
363 (output), (stop_interpreter), (gtk_gs_emit_error_msg),
364 (gtk_gs_zoom_to_fit), (gtk_gs_set_zoom):
367 Remove unused code and make a lot of stuff private
369 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
371 * ps/gsdefaults.c: (gtk_gs_defaults_gconf_client),
372 (gtk_gs_defaults_changed):
378 Cleanup headers dependencies
380 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
385 * ps/gsdefaults.c: (gtk_gs_defaults_get_paper_sizes):
387 * ps/gtkgs.c: (file_length), (file_readable),
388 (check_filecompressed), (check_pdf), (gtk_gs_load),
389 (gtk_gs_get_postscript):
393 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
398 * ps/gtkgs.c: (gtk_gs_set_zoom):
402 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
404 * ps/gtkgs.c: (gtk_gs_set_zoom), (gtk_gs_set_zoom_mode):
406 Ensure the page is rerendered when changing zoom
408 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
410 * backend/ev-document.c: (ev_document_base_init),
411 (ev_document_changed):
412 * backend/ev-document.h:
414 Add a changed event that is emitted when the page content
415 changes. This is necessary to deal with the fact that
416 in ps backend rendering happen asycrounously.
417 This makes the ps backend mostly work.
419 * pdf/xpdf/pdf-document.cc:
423 * ps/gtkgs.c: (set_up_page), (gtk_gs_widget_event),
424 (ps_document_set_target):
428 * shell/ev-view.c: (document_changed_callback),
429 (ev_view_set_document), (ev_view_set_page):
431 Redraw on the changed signal
433 2004-12-25 Raphael Higino <raphaelh@cvs.gnome.org>
435 * configure.ac: Added pt_BR to ALL_LINGUAS.
437 Fri Dec 24 00:48:44 2004 Jonathan Blandford <jrb@redhat.com>
439 * backend/ev-document-bookmarks.c:
440 (ev_document_bookmarks_get_child): *
441 backend/ev-document-bookmarks.h: * pdf/xpdf/Makefile.am: *
442 pdf/xpdf/pdf-document.cc: * pdf/xpdf/pdf-document.h: *
443 shell/Makefile.am: * shell/ev-sidebar-bookmarks.c:
444 (ev_sidebar_bookmarks_destroy),
445 (ev_sidebar_bookmarks_class_init),
446 (ev_sidebar_bookmarks_construct), (stack_data_free),
447 (do_one_iteration), (populate_bookmarks_idle),
448 (ev_sidebar_bookmarks_clear_document),
449 (ev_sidebar_bookmarks_set_document): *
450 shell/ev-sidebar-bookmarks.h: * shell/ev-sidebar.c:
451 (ev_sidebar_add_page),
452 (ev_sidebar_set_document): * shell/ev-window.c: (ev_window_open):
453 Initial stab at a bookmarks sidebar. It doesn't navigate yet, but
454 it displays both the topics and the page numbers.
456 2004-12-23 Kristian Høgsberg <krh@redhat.com>
458 * shell/ev-window.c (ev_window_view_sidebar_cb): Hook up sidebar
460 * shell/ev-window.c (toggle_entries): Set sidebar default value to
463 2004-12-23 Adam Weinberger <adamw@gnome.org>
465 * configure.ac: Added en_CA to ALL_LINGUAS.
467 2004-12-23 Martin Kretzschmar <martink@gnome.org>
469 * ChangeLog: replace bottom of this ChangeLog (merged history of
470 ggv and gpdf; where all paths were wrong and most of the files are
471 not even in this tree) with ChangeLog (from arch) of the shell
474 2004-12-23 Havoc Pennington <hp@redhat.com>
476 * shell/ev-window.c: hook up potentially-questionable "find
477 results status text" feature - something involving the sidebar or
478 scrollbar or a continuous all-pages-on-giant-roll-of-paper-view
479 might be better in the end.
481 * shell/ev-view.c (ev_view_get_find_status_message): new function,
482 with corresponding signal when it should be updated
484 * shell/eggfindbar.c (egg_find_bar_set_status_text): new function
486 2004-12-22 Havoc Pennington <hp@redhat.com>
488 * pdf/xpdf/pdf-document.cc (pdf_document_find_begin): make search
489 find stuff on other pages, sort of (only returns one result on
490 invisible pages, to show they have results; updates full results
491 for a page when you view it). Currently repaints the current page
492 every time a new result is found on any page, which isn't so nice.
494 2004-12-22 Havoc Pennington <hp@redhat.com>
496 * shell/ev-window.c (ev_window_cmd_edit_find): display an error if
497 the document doesn't support find (better ideas?)
498 (find_bar_search_changed_cb): handle missing document or document
499 that doesn't support find
501 * pdf/xpdf/pdf-document.cc: port to implement the new
504 * backend/ev-document-find.c: create a new interface for searching
506 * backend/ev-document.h, backend/ev-document.c: delete the find stuff
508 2004-12-23 Martin Kretzschmar <martink@gnome.org>
510 * pdf/xpdf/Makefile.am (libpdfdocument_la_LIBADD): add
513 * shell/ev-window.c (ev_window_print): add GnomePrintJob to
514 EvPrintJob constructor arguments.
516 * backend/ev-ps-exporter.c, backend/ev-ps-exporter.h: interface
517 for documents that can export PostScript (page by page).
519 * backend/Makefile.am (libevbackend_la_SOURCES): add them.
521 * pdf/xpdf/pdf-document.cc (pdf_document_ps_export_begin)
522 (pdf_document_ps_export_do_page, pdf_document_ps_export_end)
523 (pdf_document_ps_exporter_iface_init:
524 Implement EvPSExporter.
526 * pdf/xpdf/Makefile.am (libxpdf_la_SOURCES): build PSOutputDev.
528 2004-12-22 Anders Carlsson <andersca@gnome.org>
530 * backend/Makefile.am:
531 * backend/ev-document-thumbnails.c:
532 (ev_document_thumbnails_get_type),
533 (ev_document_thumbnails_get_thumbnail):
534 * backend/ev-document-thumbnails.h:
535 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
536 (pixbuf_document_thumbnails_get_thumbnail),
537 (pixbuf_document_document_thumbnails_iface_init):
539 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_destroy),
540 (ev_sidebar_thumbnails_class_init), (ev_sidebar_thumbnails_init),
541 (populate_thumbnails), (ev_sidebar_thumbnails_set_document):
542 * shell/ev-sidebar-thumbnails.h:
543 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
544 (ev_sidebar_set_document):
545 * shell/ev-utils.c: (gaussian), (create_blur_filter),
546 (create_shadow), (ev_pixbuf_add_shadow):
548 Add thumbnail support.
550 2004-12-22 Martin Kretzschmar <martink@gnome.org>
552 * shell/ev-window.c (ev_window_cmd_file_print, ev_window_print)
553 (using_postscript_printer): Set up a print dialog for "PostScript
556 * shell/ev-print-job.h, shell/ev-print-job.c: stub classes for
559 * shell/Makefile.am (evince_SOURCES): add ev-print-job.[ch]
561 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
563 * ps/gtkgs.c: (gtk_gs_init), (set_up_page),
564 (ps_document_set_target), (ps_document_get_page_size),
565 (ps_document_render):
570 2004-12-22 Christian Rose <menthos@menthos.com>
572 * configure.ac: Added "sv" to ALL_LINGUAS.
574 Wed Dec 22 14:47:38 2004 Jonathan Blandford <jrb@redhat.com>
576 * backend/ev-document-bookmarks.[ch]: new interface to indicate
577 document supports bookmarks.
579 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
581 * ps/ggvutils.c: (ggv_file_readable):
583 * ps/gtkgs.c: (check_filecompressed), (check_pdf),
584 (gtk_gs_get_postscript):
588 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
590 * ps/gtkgs.c: (gtk_gs_init), (gtk_gs_class_init), (gtk_gs_cleanup),
591 (gtk_gs_finalize), (gtk_gs_set_center), (set_up_page), (output),
592 (start_interpreter), (compute_size), (gtk_gs_enable_interpreter),
593 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_reload),
594 (gtk_gs_emit_error_msg), (gtk_gs_disable_interpreter),
595 (gtk_gs_load), (gtk_gs_goto_page), (gtk_gs_set_page_size),
596 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
597 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
598 (gtk_gs_set_antialiasing), (ps_document_load),
599 (ps_document_render):
602 Another check point for the ps backend. Now I can get it to show
605 Wed Dec 22 13:41:01 2004 Jonathan Blandford <jrb@redhat.com>
607 * shell/ev-sidebar.c (ev_sidebar_set_document): initial sidebar
608 document setting code.
610 2004-12-22 Anders Carlsson <andersca@gnome.org>
612 * shell/eggfindbar.c: (entry_activate_callback):
613 Animate the next button when activate is pressed.
615 2004-12-22 Anders Carlsson <andersca@gnome.org>
617 * shell/ev-window.c: (ev_window_cmd_edit_find),
618 (update_fullscreen_popup), (ev_window_fullscreen),
619 (ev_window_unfullscreen), (ev_window_state_event_cb),
620 (ev_window_focus_out_cb), (find_bar_close_cb), (ev_window_init):
621 Fix bugs in fullscreen code.
623 2004-12-22 Anders Carlsson <andersca@gnome.org>
627 * pixbuf/Makefile.am:
628 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
629 (pixbuf_document_load), (pixbuf_document_get_n_pages),
630 (pixbuf_document_set_page), (pixbuf_document_get_page),
631 (pixbuf_document_set_target), (pixbuf_document_set_scale),
632 (pixbuf_document_set_page_offset), (pixbuf_document_get_page_size),
633 (pixbuf_document_render), (pixbuf_document_begin_find),
634 (pixbuf_document_end_find), (pixbuf_document_finalize),
635 (pixbuf_document_class_init),
636 (pixbuf_document_document_iface_init), (pixbuf_document_init):
637 * pixbuf/pixbuf-document.h:
639 * shell/ev-application.c: (ev_application_open):
640 * shell/ev-window.c: (mime_type_supported_by_gdk_pixbuf),
644 Tue Dec 21 21:45:43 2004 Soeren Sandmann <sandmann@redhat.com>
647 * dvi/dvilib/Makefile.am:
649 * configure.ac: Auto*ify dvi and dvi/dvilib
651 * dvi/Makefile: Remove from CVS
653 * dvi/dvilib/dl-pkfont.cc (unpack_bitmap): Fix uchar/uint
656 * dvi/dvilib/dl-fontdefinition.{cc,hh}: New DviFontMap class
658 * dvi/dvilib/dl-vffont.{cc,hh}: Many bugfixes to VF code.
660 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
663 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_finalize),
664 (gtk_gs_value_adjustment_changed), (compute_size),
665 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_new_from_file),
666 (gtk_gs_center_page), (gtk_gs_load), (gtk_gs_set_page_size),
667 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
668 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
669 (gtk_gs_start_scroll), (gtk_gs_get_postscript),
670 (gtk_gs_set_adjustments), (gtk_gs_set_available_size),
671 (ps_document_load), (ps_document_get_n_pages),
672 (ps_document_set_page), (ps_document_get_page),
673 (ps_document_set_target), (ps_document_set_scale),
674 (ps_document_set_page_offset), (ps_document_get_page_size),
675 (ps_document_render), (ps_document_begin_find),
676 (ps_document_end_find), (ps_document_document_iface_init):
679 * shell/ev-window.c: (ev_window_open):
681 Some work to integrate gtkgs with EvDocument
683 2004-12-22 Anders Carlsson <andersca@gnome.org>
685 * shell/ev-window.c: (update_fullscreen_popup),
686 (screen_size_changed_cb), (destroy_exit_fullscreen_popup),
687 (exit_fullscreen_button_clicked_cb),
688 (fullscreen_popup_size_request_cb), (ev_window_fullscreen),
689 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
690 (ev_window_state_event_cb), (ev_window_init):
691 Add fullscreen support from Epiphany.
693 2004-12-22 Mark McLoughlin <mark@skynet.ie>
695 * data/ev-stock-zoom-fit-width.png: fit-width
696 stock icon from gpdf.
698 * shell/ev-stock-icons.[ch]: copied from gpdf.
700 * shell/main.c: (main): init stock icons.
702 * shell/ev-window.c: use the fit-width icon.
704 * data/evince-ui.xml: add zooming toolbar items.
706 2004-12-22 Mark McLoughlin <mark@skynet.ie>
709 (ev_view_best_fit), (ev_view_fit_width): because
710 get_page_size() returns the scaled page size, we
711 need to calculate the scale factor relative to
712 the previous scale factor. Should really just
713 add get_real_page_size().
715 2004-12-22 Mark McLoughlin <mark@skynet.ie>
717 * shell/ev-view.[ch]:
718 (ev_view_zoom), (ev_view_zoom_in), (ev_view_zoom_out),
719 (ev_view_normal_size), (ev_view_best_fit), (ev_view_fit_width):
722 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
723 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_normal_size),
724 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width):
727 * pdf/xpdf/pdf-document.cc:
728 (pdf_document_begin_find),
729 (pdf_document_end_find): make static.
731 2004-12-22 Martin Kretzschmar <martink@gnome.org>
733 * pdf/xpdf/GlobalParams.h (setupBaseFontsFc): add prototype.
735 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): maps base font
736 names to fontconfig patterns.
737 (setupBaseFontsFc): setupBaseFonts reimplemented using fontconfig.
739 * pdf/xpdf/pdf-document.cc (pdf_document_load): use
742 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
758 Import ggv backend. Not hooked up yet.
760 2004-12-22 Mark McLoughlin <mark@skynet.ie>
762 * shell/main.c: (load_files), (main): load files
763 from the command line.
765 2004-12-22 Mark McLoughlin <mark@skynet.ie>
767 * configure.ac: don't require bonobo.
769 * cut-n-paste/recent-files/*: kill bonobo recent
773 (ev_window_is_empty): upd.
774 (unable_to_load), (ev_window_open): load backend
775 based on the mime type.
777 2004-12-22 Martin Kretzschmar <martink@gnome.org>
779 * backend/.cvsignore: ignore generated marshalers source.
781 * shell/main.c (main): this is not epiphany.
783 2004-12-22 Havoc Pennington <hp@redhat.com>
785 * shell/ev-view.c (ev_view_set_document): connect to "found" signal
786 (expose_bin_window): draw find highlights
788 * shell/ev-window.c (find_bar_search_changed_cb): implement
790 * pdf/xpdf/pdf-document.cc (pdf_document_begin_find)
791 (pdf_document_end_find): implement this interface
793 * backend/ev-document.c (ev_document_found): add this to emit
796 Tue Dec 21 23:57:37 2004 Owen Taylor <otaylor@redhat.com>
798 * data/evince-ui.xml: Add a few more toolbar items.
800 * shell/ev-window.c: Hook up page navigation toolbar
803 * shell/ev-view.[ch]: add ev_view_set/get_page and
804 a page-changed signal.
806 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc::
807 Add ev_document_get_page().
809 * shell/ev-window.c: Sensitize/desensitize navigation
812 2004-12-21 Havoc Pennington <hp@redhat.com>
814 * backend/ev-backend-marshal.c,
815 backend/ev-backend-marshalers.list, backend/Makefile.am: add
816 marshaler-generator thingy. I'm sure there's a better way to do
817 this in the modern world.
819 * backend/ev-document.h (struct _EvDocumentIface): add begin_find,
820 end_find methods and "found" signal.
822 * configure.ac: find glib-genmarshal
824 Tue Dec 21 23:20:35 2004 Jonathan Blandford <jrb@redhat.com>
826 * shell/ev-sidebar.c: Construct an actual sidebar.
827 * shell/ev-sidebar-bookmarks.[ch]:
828 * shell/ev-sidebar-thumbnails.[ch]: Stub out sidebars.
830 Tue Dec 21 23:05:51 2004 Owen Taylor <otaylor@redhat.com>
832 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc:
835 * shell/ev-view.c: Track the size from the document.
837 Tue Dec 21 22:17:04 2004 Owen Taylor <otaylor@redhat.com>
839 * pdf/xpdf/pdf-document.cc (pdf_document_load): PDFDoc
840 constructor assumes ownership of the string passed in.
842 * shell/ev-window.c (ev_window_open): Destroy the error
843 dialog once we've displayed it.
845 Tue Dec 21 21:58:56 2004 Owen Taylor <otaylor@redhat.com>
847 * pdf/xpdf/pdf-document.cc shell/ev-view.c: Hook things up
848 a bit, it works! (sort of)
850 * pdf/xpdf/Makefile.am pdf/xpdf/pdf-document.cc:
851 Move to .cc since we need to use C++ in the implementation.
853 * shell/dummy.cc: Add a CC file to force evince
854 to be linked as a C++ program.
856 Tue Dec 21 21:07:55 2004 Owen Taylor <otaylor@redhat.com>
858 * shell/ev-view.[ch]: Start of content-area widget.
860 * shell/ev-window.c: Create a EvView, update it
861 as we change documents.
863 * shell/Makefile.am shell/ev-marshal.list: Add
864 generated marshalers.
866 Tue Dec 21 20:28:11 2004 Jonathan Blandford <jrb@redhat.com>
868 * Makefile.am (SUBDIRS): move shell.
870 Tue Dec 21 19:28:55 2004 Owen Taylor <otaylor@redhat.com>
872 * pdf/{goo,fofi,splash,xpdf}/Makefile.am: Switch from
873 .a to libtool convenience libraries.
875 * shell/ev-window.c (ev_window_open): Hard code loading
878 * backend/ev-document.h: Add a boolean return to load(),
879 fix GError * to GError **.
881 * pdf/xpdf/pdf-document.[ch] Makefile.am: Add a stub
882 object for a PDF backend EvDocument.
884 Tue Dec 21 18:55:06 2004 Søren Sandmann <sandmann@redhat.com>
886 * dvi/*: New directory with the beginning of a .dvi backend.
888 2004-12-21 Havoc Pennington <hp@redhat.com>
890 * shell/eggfindbar.c (egg_find_bar_init): change buttons to
891 previous/next instead of back/forward
893 Tue Dec 21 18:26:24 2004 Owen Taylor <otaylor@redhat.com>
895 * backend/ev-document.[ch]: Fix a couple of problems so
898 Tue Dec 21 18:20:40 2004 Owen Taylor <otaylor@redhat.com>
900 * viewer/* backend/* configure.ac Makefile.am: Move viewer directory
901 to backend/ directory, rename EvViewer to EvDocument.
903 2004-12-21 Havoc Pennington <hp@redhat.com>
905 * shell/ev-window.c: hook up the find bar widget; now we just need
906 a document to find things in
908 * shell/eggfindbar.c: a find bar widget
910 Tue Dec 21 17:20:16 2004 Jonathan Blandford <jrb@redhat.com>
912 * shell/ev-sidebar.[ch]: initial sidebar boilerplate.
914 Tue Dec 21 16:30:58 2004 Owen Taylor <otaylor@redhat.com>
916 * pdf/**: Import of xpdf code from gpdf.
918 * pdf/xpdf/xpdfconfig.h: Move the non-config.h config.h to xpdfconfig.h
920 * pdf/splash/SplashFTFont.{cc,h} pdf/splash/SplashFTFont.h
921 pdf/splash/SplashFTFontEngine.h pdf/splash/SplashFTFontFile.h:
922 Fix FreeType includes.
924 * pdf/xpdf/{Error.h GnomeVFSStream.cc ImageOutputDev.cc PDFDoc.cc\
925 pdffonts.cc pdfimages.cc pdfinfo.cc pdftoppm.cc pdftops.cc
926 pdftotext.cc PSOutputDev.cc PSOutputDev.h SplashOutputDev.h
927 Stream.cc TextOutputDev.cc XPDFApp.cc xpdf.cc XPDFViewer.cc
928 pdf/xpdf/Error.h PSOutputDev.h SplashOutputDev.h}:
931 Tue Dec 21 16:08:17 2004 Jonathan Blandford <jrb@redhat.com>
933 * shell/ev-window.c (ev_window_dispose): dispose can be called
936 2004-12-21 Havoc Pennington <hp@redhat.com>
938 * shell/ev-window.c (ev_window_init): set title to Document Viewer
941 * data/evince-ui.xml, shell/ev-window.c: add a bunch of stub menu
942 items; really they should be synced with the strings, etc. from
943 current gpdf, but just getting the boring typing out of the way
945 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
948 * shell/ev-application.c: (window_destroy_cb):
950 * shell/main.c: (main):
952 Actually show the window...
954 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
958 * shell/ev-application.c: (ev_application_class_init):
959 * shell/ev-window.c: (ev_window_dispose), (ev_window_class_init):
963 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
967 * Remove copies of gpdf and ggv trees.
968 * Rip out all the recursive configure code.
969 * Remove bonobo machinery.
970 * viewer/*: GInterfaces that backends should/can implement.
972 2004-11-09 Martin Kretzschmar <m_kretzschmar@gmx.net>
974 * shell/ev-window.c (ev_window_cmd_help_about): fix "documentors"
977 2004-10-28 Martin Kretzschmar <m_kretzschmar@gmx.net>
979 * shell/ev-application.c (EV_APPLICATION_GET_PRIVATE)
980 (ev_application_finalize, ev_application_class_init)
981 (ev_application_init): use GType instance private data for priv.
983 * shell/ev-window.c (EV_WINDOW_GET_PRIVATE)
984 (ev_window_finalize, ev_window_class_init)
985 (ev_window_init): ditto.
987 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
989 * shell/ev-application.c (ev_application_new_window): make public
990 (ev_application_show_initial_window): kill.
992 * shell/ev-application.h: update prototypes.
994 * shell/main.cc (main): inline ev_application_show_initial_window.
996 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
998 * shell/ev-application.c (ev_application_new_window): impl.
999 (ev_application_show_initial_window): use it.
1000 (is_window_empty, ev_application_get_empty_window): returns an
1001 existing empty window or a new one.
1002 (ev_application_open): from ev_window_cmd_file_open.
1004 * shell/ev-application.h: update prototypes
1006 * shell/ev-window.c (ev_window_is_empty): impl.
1007 (ev_window_open): make public.
1008 (ev_window_cmd_file_open): use ev_application_open
1010 * shell/ev-window.h: update prototypes, remove unused.
1012 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
1014 * shell/ev-window.c (ev_window_destroy, ev_window_class_init):
1015 move destroy handler out of here...
1017 * shell/ev-application.c, shell/ev-application.h: ...into this new
1018 class. Also handles initial window creation.
1020 * shell/main.cc (main): use EvApplication to create initial
1023 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
1025 * Makefile.am (SUBDIRS): add cut-n-paste
1027 * cut-n-paste/Makefile.am: add
1029 * configure.ac: generate Makefiles in cut-n-paste
1031 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
1033 * shell/ev-window.c (ev_window_dispose): new, unref the ui_manager
1034 (ev_window_class_init): install ev_window_dispose.
1036 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
1038 * shell/ev-window.h, shell/ev-window.c: replace gchar with
1039 char (gchar looks stupid).
1041 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
1043 * po/de.po: updated German translation.
1045 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
1047 * configure.ac: add more pkg-config library checks for gnome-vfs,
1050 * gpdf/configure.in: temporarily disable libpaper
1051 checks. Otherwise I'd have to add the checks for the shell, too.
1053 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1055 * shell/ev-window.c (ev_window_cmd_file_open): add ps+pdf, ps, pdf
1056 and * file filters to the file choose.
1058 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1060 * po/de.po: Updated German translation.
1062 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1064 * shell/ev-window.c: use "S" as mnemonic for Statusbar.
1066 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1068 * data/evince-ui.xml: add View->Toolbar and View->Statusbar.
1070 * shell/ev-window.c (menu_item_select_cb, menu_item_select_cb)
1071 (ev_window_init): implement those menuitems.
1073 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1075 * data/evince-ui.xml: add a toolbar (with FileOpen action)
1077 * shell/ev-window.c (ev_window_init): use the toolbar.
1079 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1081 * shell/ev-window.c (ev_window_init): use menu translations
1083 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1085 * configure.ac: add "de" to ALL_LINGUAS.
1087 * po/de.po: add German translation.
1089 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1091 * Makefile.am (SUBDIRS): add po
1093 * configure.ac: check intltool, glib-gettext etc, generate
1096 * po, po/POTFILES.in, po/POTFILES.skip: new.
1098 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1100 * shell/Makefile.am (INCLUDES): define GNOMELOCALEDIR which we
1101 already use (#ifdef ENABLE_NLS)
1103 * shell/ev-window.c (ev_window_cmd_help_about): fix two star
1104 pointer indirection thinko.
1106 * shell/main.c: include gi18n.h for bindtextdomain etc.
1108 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1110 * shell/ev-window.c (menu_item_select_cb, menu_item_deselect_cb)
1111 (connect_proxy_cb, disconnect_proxy_cb, ev_window_init): show
1112 tooltips for menu items in the statusbar.
1114 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1116 * configure.ac, data/Makefile.am, shell/Makefile.am: use
1117 pkgdatadir drop UIDIR
1119 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1121 * data/evince-ui.xml: Add File->Open menu item
1123 * shell/ev-window.c (ev_window_cmd_file_open): impl. (shows a file
1124 chooser), hook it up in the ui manager.
1126 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1128 * shell/ev-window.c: fix Help->About tooltip.
1130 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1132 * configure.ac: set CFLAGS for libevprivate.
1134 * lib/ev-stock-icons.h, lib/ev-stock-icons.c: stock icon
1135 definitions, factory etc.
1137 * lib/Makefile.am: build libevprivate.a (only stock icon code).
1139 * shell/Makefile.am: link against libevprivate.a.
1141 * shell/ev-window.c (entries): add stock icon to Help->About.
1143 * shell/main.c (main): init stock icon code.
1145 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1147 * lib/recent-files: egg recent files code
1149 * lib/Makefile.am: add.
1151 * Makefile.am: add lib subdir.
1153 * configure.ac: gen. lib/Makefile and lib/recent-files/Makefile,
1154 set CFLAGS for recent-files.
1156 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1158 * configure.ac: disable -ansi and -pedantic gcc flags. They
1159 disable POSIX stuff in stdio.h, but egg-recent uses them.
1161 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1163 * configure.ac: add --disable-deprecated flag (defaults to on in
1166 * shell/Makefile.am (INCLUDES): use it.
1168 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1170 * shell/main.c: add missing #include.
1172 * shell/ev-window.c: fix for pedantic gcc.
1173 (ev_window_cmd_help_about): split license into paragraphs for
1174 translators and pedantic compilers.
1176 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1178 * configure.ac: add more warning flags if compiling with gcc from
1179 cvs (or explicitly requested with --enable-more-warnings).
1181 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1183 * data/evince-ui.xml: add File and File->Close menu.
1185 * shell/ev-window.c (ev_window_cmd_file_close_window): impl.
1186 (ev_window_destroy): quit after destroy.
1187 (ev_window_class_init): override GtkObject::destroy.
1188 (entries): install close_window callback.
1190 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1192 * Makefile.am (SUBDIRS): add data subdir.
1194 * configure.ac (UIDIR): gen data/Makefile, define UIDIR. Require
1195 gtk+ 2.5.0 for GtkAboutDialog.
1197 * data/Makefile.am, data/evince-ui.xml: add, ui definition for the
1200 * shell/Makefile.am (INCLUDES): propagate UIDIR definition.
1202 * shell/ev-window.c (ev_window_init): create a menubar, using a ui
1204 (ev_window_cmd_help_about): about command, using GtkAboutDialog.
1206 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1208 * shell/ev-window.c, shell/ev-window.h: Created an EvWindow class.
1210 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
1212 * shell/main.c: make it a trivial gtk+ program, adjust configure.ac
1214 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
1216 * shell/*: Added shell directory boilerplate, build it.
1218 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
1220 * configure.ac, Makefile.am: Added top-level configure.ac and