1 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
4 * shell/ev-application.c: (ev_application_open_bookmark):
5 * shell/ev-application.h:
6 * shell/ev-history.c: (ev_history_init), (free_links_list),
7 (ev_history_finalize), (ev_history_class_init),
8 (ev_history_add_link), (ev_history_add_page),
9 (ev_history_get_link_nth), (ev_history_get_n_links),
10 (ev_history_get_current_index), (ev_history_set_current_index),
13 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
14 * shell/ev-view.c: (ev_view_finalize), (ev_view_set_document),
15 (set_document_page), (go_to_bookmark), (ev_view_go_to_bookmark),
16 (go_to_index), (ev_view_go_back), (ev_view_go_forward),
19 * shell/ev-window.c: (ev_window_open_bookmark),
20 (ev_window_cmd_go_back), (ev_window_cmd_go_forward),
21 (goto_page_cb), (register_custom_actions):
24 Initial history implementation. Needs work.
26 2005-01-09 Martin Kretzschmar <martink@gnome.org>
28 * pdf/xpdf/GDKSplashOutputDev.cc (redraw): fix pixbuf data offset.
30 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
32 * cut-n-paste/recent-files/egg-recent-item.c:
33 * cut-n-paste/recent-files/egg-recent-item.h:
34 * cut-n-paste/recent-files/egg-recent-model.c:
35 * cut-n-paste/recent-files/egg-recent-util.c:
36 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
37 * cut-n-paste/recent-files/egg-recent-view.c:
41 2005-01-08 Martin Kretzschmar <martink@gnome.org>
43 * pdf/splash/Splash.cc (clear, drawPixel, drawSpan, xorSpan, getPixel)
44 (fillGlyph, fillImageMask, drawImage):
45 pdf/splash/SplashBitmap.cc (SplashBitmap, ~SplashBitmap, writePNMFile):
46 pdf/splash/SplashTypes.h:
47 pdf/xpdf/SplashOutputDev (startPage, getColor, imageSrc): implement RGB8
48 packed mode for Splash.
50 * pdf/xpdf/GDKSplashOutputDev.cc (GDKSplashOutputDev, redraw): use
51 RGB8 packed mode, eliminates the pixbuf data creation loop.
53 * shell/ev-print-job.c (ev_print_job_finalize)
54 (ev_print_job_set_property, ev_print_job_get_property)
55 (ev_print_job_set_gnome_print_job, ev_print_job_set_document)
56 (ev_print_job_use_print_dialog_settings, idle_print_handler)
57 (print_closure_finalize, ev_print_job_print): implement
58 printing (for backends with EvPsExporter)
60 * shell/ev_print_job.h: update prototypes.
62 * shell/ev-window.c (ev_window_print): unref print job after
65 * shell/ev-view.c (ev_view_set_document): don't connect to "found"
66 unless the document implements the EvDocumentFind interface.
68 2005-01-08 Satoru SATOH <ss@gnome.gr.jp>
70 * configure.ac: Added ja to ALL_LINGUAS.
72 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
74 * pdf/xpdf/pdf-document.cc:
76 add a FIXME. We should probably not allocate
77 a bookmark object every time
79 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
81 * shell/ev-application.c: (ev_application_open),
82 (ev_application_open_bookmark):
83 * shell/ev-application.h:
85 Add a way to open bookmarks
87 * backend/ev-bookmark.c: (ev_bookmark_get_uri),
88 (ev_bookmark_set_uri), (ev_bookmark_get_property),
89 (ev_bookmark_set_property), (ev_bookmark_class_init),
90 (ev_bookmark_new_title), (ev_bookmark_new_link),
91 (ev_bookmark_new_external):
93 Support for external uris, better constructors.
95 * backend/ev-bookmark.h:
96 * pdf/xpdf/pdf-document.cc:
97 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
101 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
103 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb),
104 (ev_sidebar_bookmarks_construct), (do_one_iteration):
106 Hook up bookmarks navigation
108 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
110 * backend/Makefile.am:
111 * backend/ev-bookmark.c: (ev_bookmark_type_get_type),
112 (ev_bookmark_get_title), (ev_bookmark_set_title),
113 (ev_bookmark_get_bookmark_type), (ev_bookmark_set_bookmark_type),
114 (ev_bookmark_get_page), (ev_bookmark_set_page),
115 (ev_bookmark_get_property), (ev_bookmark_set_property),
116 (ev_window_dispose), (ev_bookmark_init), (ev_bookmark_class_init),
118 * backend/ev-bookmark.h:
119 * backend/ev-document-bookmarks.c:
120 (ev_document_bookmarks_get_bookmark):
121 * backend/ev-document-bookmarks.h:
122 * pdf/xpdf/pdf-document.cc:
123 * shell/ev-sidebar-bookmarks.c: (do_one_iteration):
125 Add a bookmark object to the backend and use it instead of get_values
127 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
129 * data/evince-ui.xml:
131 Cleanup and add select all.
133 * shell/ev-view.c: (ev_view_select_all),
134 (ev_view_button_press_event):
136 * shell/ev-window.c: (ev_window_cmd_edit_select_all):
139 Clear selection on click.
141 Fri Jan 7 01:28:58 2005 Jonathan Blandford <jrb@redhat.com>
143 * shell/ev-sidebar-thumbnails.c
144 (ev_sidebar_thumbnails_set_document): forgot to unref the
147 Fri Jan 7 01:22:48 2005 Jonathan Blandford <jrb@redhat.com>
149 * shell/ev-sidebar-thumbnails.c: fill in the thumbnails starting
150 at the visible page, not just linearly. This makes it look fast.
152 Thu Jan 6 18:48:11 2005 Jonathan Blandford <jrb@redhat.com>
154 * backend/ev-document-misc.c
155 (ev_document_misc_get_thumbnail_frame): fill in the thumbnail with
157 * backend/ev-document-thumbnails.h: New interface to get the size
160 2005-01-06 Jeremy Katz <katzj@redhat.com>
162 * shell/Makefile.am (evince_SOURCES): Add ev-utils.[ch] so that
165 Wed Jan 5 15:38:28 2005 Jonathan Blandford <jrb@redhat.com>
167 * pdf/xpdf/pdf-document.cc (bitmap_to_pixbuf): bypass
168 GDKSplashOutputDev and just use a normal SplashOutputDev. Speeds
171 * shell/ev-sidebar-thumbnail.c: start of some profiling code.
173 2005-01-05 Martin Kretzschmar <martink@gnome.org>
175 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): match only outline
176 fonts. Should fix font problems on systems that have the base
177 fonts in bitmap format. Reported by James Henstridge
178 <james@jamesh.id.au>.
180 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
183 * pdf/xpdf/GfxState.cc:
185 Fix for CAN-2004-1125
187 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
189 * shell/ev-view.c: (ev_view_copy):
191 * shell/ev-window.c: (ev_window_cmd_edit_copy):
195 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
197 * backend/ev-document.c: (ev_document_get_text):
198 * backend/ev-document.h:
199 * pdf/xpdf/pdf-document.cc:
200 * shell/ev-view.c: (ev_view_realize), (expose_bin_window),
201 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
202 (ev_view_update_primary_selection), (ev_view_button_press_event),
203 (ev_view_motion_notify_event), (ev_view_button_release_event):
205 Beginnings of clipboard support. Incomplete but primary sort
208 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
210 * shell/ev-view.c: (ev_gdk_color_to_rgb), (draw_rubberband),
213 Nicer rubberband drawing, from GtkIconView.
215 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
217 * backend/ev-document.c: (ev_document_save):
218 * backend/ev-document.h:
219 * data/evince-ui.xml:
220 * pdf/xpdf/pdf-document.cc:
221 * shell/ev-window.c: (save_error_dialog), (ev_window_cmd_save_as):
223 Implement "Save a copy..." menu item
225 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
227 * shell/ev-view.c: (ev_view_zoom):
229 Queue a resize when zoom changes
231 Wed Jan 5 02:33:06 2005 Jonathan Blandford <jrb@redhat.com>
233 * backend/ev-document-misc.[ch]: New misc file to do simple drop
236 * pdf/xpdf/pdf-document.cc: use the drop shadows in both types of
239 Tue Jan 4 22:32:32 2005 Jonathan Blandford <jrb@redhat.com>
241 * pdf/xpdf/pdf-document.cc
242 (pdf_document_thumbnails_get_page_pixbuf): poor man's dropshadow.
244 Tue Jan 4 21:25:05 2005 Jonathan Blandford <jrb@redhat.com>
246 * pdf/xpdf/pdf-document.cc: Do real thumbnailing of PDF files.
247 It's slow, but I'll speed it up next!
249 2005-01-04 Jeff Muizelaar <jrmuizel@nit.ca>
251 * shell/main.c (load_files):
253 use gnome_vfs_make_uri_from_shell_arg so that relative paths work
254 from the command line and because it seems more appropriate.
256 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
258 * data/evince-ui.xml:
259 * shell/ev-window.c: (update_action_sensitivity),
260 (ev_window_cmd_go_page_up), (ev_window_cmd_go_page_down):
262 s/next page/page down
263 s/previous page/page up
265 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
267 * data/evince-ui.xml:
269 Change the layout to match clarkbw design.
272 * shell/ev-navigation-action.c: (build_menu), (menu_activated_cb),
273 (set_tooltip_cb), (connect_proxy), (ev_navigation_action_init),
274 (ev_navigation_action_finalize),
275 (ev_navigation_action_set_property),
276 (ev_navigation_action_get_property),
277 (ev_navigation_action_class_init):
278 * shell/ev-navigation-action.h:
280 Implement clarkbw toolbar navigation controls (incomplete)
282 * shell/ev-page-action.c: (update_label), (update_spin),
283 (value_changed_cb), (create_tool_item), (connect_proxy),
284 (ev_page_action_init), (ev_page_action_finalize),
285 (ev_page_action_set_property), (ev_page_action_get_property),
286 (ev_page_action_set_current_page),
287 (ev_page_action_set_total_pages), (ev_page_action_class_init):
288 * shell/ev-page-action.h:
290 Implement a page switcher in the toolbar
292 * shell/ev-view.c: (ev_view_scroll_view):
293 * shell/ev-window.c: (update_total_pages), (ev_window_open),
294 (update_current_page), (view_page_changed_cb), (goto_page_cb),
295 (register_custom_actions), (ev_window_init):
297 Change page on PageUp/Down.
299 Tue Jan 4 03:22:56 2005 Jonathan Blandford <jrb@redhat.com>
301 * pdf/xpdf/pdf-document.cc
302 (pdf_document_thumbnails_get_thumbnail): initial stab at
303 implementing thumbnail support for pdfs. It only does documents
304 with precached pdfs now.
306 Mon Jan 3 17:22:25 2005 Jonathan Blandford <jrb@redhat.com>
308 * shell/ev-sidebar-thumbnails.c (do_one_iteration): move the
309 thumbnail code into a time-based idle as well. Also, turn off the
310 shadow temporarily as it's really slow.
312 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
314 * backend/ev-document.c: (ev_document_class_init):
315 * pdf/xpdf/pdf-document.cc:
316 * shell/ev-window.c: (ev_window_open):
318 Fix document title bugs and fallback to
319 filename when not available.
321 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
323 * backend/ev-document.c: (ev_document_get_type),
324 (ev_document_class_init), (ev_document_load),
325 (ev_document_get_title):
326 * backend/ev-document.h:
327 * pdf/xpdf/pdf-document.cc:
328 * ps/ps-document.c: (ps_document_set_property),
329 (ps_document_get_property), (ps_document_class_init),
333 * shell/ev-window.c: (update_window_title), (ev_window_open),
336 Initial support for document title. Not working yet.
338 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
340 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event):
342 Grab focus on the view when clicking it
344 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
346 * shell/ev-marshal.list:
347 * shell/ev-view.c: (ev_view_realize), (add_scroll_binding),
348 (ev_view_scroll_view), (ev_view_class_init), (ev_view_init):
350 Add key bindings to the view. Now if the focus would work
353 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
356 * backend/Makefile.am:
359 * dvi/dvilib/Makefile.am:
360 * pdf/xpdf/Makefile.am:
366 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
368 * shell/ev-view.c: (ev_view_realize):
370 Fix mouse wheel scrolling
372 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
378 * ps/ps-document.c: (catchPipe), (ps_document_init),
379 (ps_document_class_init), (ps_document_cleanup),
380 (ps_document_finalize), (send_ps), (ps_document_get_orientation),
381 (set_up_page), (close_pipe), (is_interpreter_ready),
382 (interpreter_failed), (output), (input), (start_interpreter),
383 (stop_interpreter), (file_length), (file_readable),
384 (check_filecompressed), (check_pdf), (compute_xdpi),
385 (compute_ydpi), (compute_size), (ps_document_enable_interpreter),
386 (ps_document_get_type), (ps_document_emit_error_msg),
387 (document_load), (ps_document_next_page),
388 (ps_document_get_current_page), (ps_document_get_page_count),
389 (ps_document_goto_page), (ps_document_set_page_size),
390 (ps_document_zoom_to_fit), (ps_document_set_zoom),
391 (ps_document_load), (ps_document_get_n_pages),
392 (ps_document_set_page), (ps_document_get_page),
393 (ps_document_widget_event), (ps_document_set_target),
394 (ps_document_set_scale), (ps_document_set_page_offset),
395 (ps_document_get_page_size), (ps_document_render),
396 (ps_document_document_iface_init):
399 * shell/ev-window.c: (ev_window_open):
401 Rename GtkGS to PSDocument
403 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
405 * ps/gtkgs.c: (gtk_gs_class_init):
408 Some more leftover...
410 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
412 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_get_orientation),
413 (output), (stop_interpreter), (gtk_gs_emit_error_msg),
414 (gtk_gs_zoom_to_fit), (gtk_gs_set_zoom):
417 Remove unused code and make a lot of stuff private
419 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
421 * ps/gsdefaults.c: (gtk_gs_defaults_gconf_client),
422 (gtk_gs_defaults_changed):
428 Cleanup headers dependencies
430 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
435 * ps/gsdefaults.c: (gtk_gs_defaults_get_paper_sizes):
437 * ps/gtkgs.c: (file_length), (file_readable),
438 (check_filecompressed), (check_pdf), (gtk_gs_load),
439 (gtk_gs_get_postscript):
443 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
448 * ps/gtkgs.c: (gtk_gs_set_zoom):
452 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
454 * ps/gtkgs.c: (gtk_gs_set_zoom), (gtk_gs_set_zoom_mode):
456 Ensure the page is rerendered when changing zoom
458 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
460 * backend/ev-document.c: (ev_document_base_init),
461 (ev_document_changed):
462 * backend/ev-document.h:
464 Add a changed event that is emitted when the page content
465 changes. This is necessary to deal with the fact that
466 in ps backend rendering happen asycrounously.
467 This makes the ps backend mostly work.
469 * pdf/xpdf/pdf-document.cc:
473 * ps/gtkgs.c: (set_up_page), (gtk_gs_widget_event),
474 (ps_document_set_target):
478 * shell/ev-view.c: (document_changed_callback),
479 (ev_view_set_document), (ev_view_set_page):
481 Redraw on the changed signal
483 2004-12-25 Raphael Higino <raphaelh@cvs.gnome.org>
485 * configure.ac: Added pt_BR to ALL_LINGUAS.
487 Fri Dec 24 00:48:44 2004 Jonathan Blandford <jrb@redhat.com>
489 * backend/ev-document-bookmarks.c:
490 (ev_document_bookmarks_get_child): *
491 backend/ev-document-bookmarks.h: * pdf/xpdf/Makefile.am: *
492 pdf/xpdf/pdf-document.cc: * pdf/xpdf/pdf-document.h: *
493 shell/Makefile.am: * shell/ev-sidebar-bookmarks.c:
494 (ev_sidebar_bookmarks_destroy),
495 (ev_sidebar_bookmarks_class_init),
496 (ev_sidebar_bookmarks_construct), (stack_data_free),
497 (do_one_iteration), (populate_bookmarks_idle),
498 (ev_sidebar_bookmarks_clear_document),
499 (ev_sidebar_bookmarks_set_document): *
500 shell/ev-sidebar-bookmarks.h: * shell/ev-sidebar.c:
501 (ev_sidebar_add_page),
502 (ev_sidebar_set_document): * shell/ev-window.c: (ev_window_open):
503 Initial stab at a bookmarks sidebar. It doesn't navigate yet, but
504 it displays both the topics and the page numbers.
506 2004-12-23 Kristian Høgsberg <krh@redhat.com>
508 * shell/ev-window.c (ev_window_view_sidebar_cb): Hook up sidebar
510 * shell/ev-window.c (toggle_entries): Set sidebar default value to
513 2004-12-23 Adam Weinberger <adamw@gnome.org>
515 * configure.ac: Added en_CA to ALL_LINGUAS.
517 2004-12-23 Martin Kretzschmar <martink@gnome.org>
519 * ChangeLog: replace bottom of this ChangeLog (merged history of
520 ggv and gpdf; where all paths were wrong and most of the files are
521 not even in this tree) with ChangeLog (from arch) of the shell
524 2004-12-23 Havoc Pennington <hp@redhat.com>
526 * shell/ev-window.c: hook up potentially-questionable "find
527 results status text" feature - something involving the sidebar or
528 scrollbar or a continuous all-pages-on-giant-roll-of-paper-view
529 might be better in the end.
531 * shell/ev-view.c (ev_view_get_find_status_message): new function,
532 with corresponding signal when it should be updated
534 * shell/eggfindbar.c (egg_find_bar_set_status_text): new function
536 2004-12-22 Havoc Pennington <hp@redhat.com>
538 * pdf/xpdf/pdf-document.cc (pdf_document_find_begin): make search
539 find stuff on other pages, sort of (only returns one result on
540 invisible pages, to show they have results; updates full results
541 for a page when you view it). Currently repaints the current page
542 every time a new result is found on any page, which isn't so nice.
544 2004-12-22 Havoc Pennington <hp@redhat.com>
546 * shell/ev-window.c (ev_window_cmd_edit_find): display an error if
547 the document doesn't support find (better ideas?)
548 (find_bar_search_changed_cb): handle missing document or document
549 that doesn't support find
551 * pdf/xpdf/pdf-document.cc: port to implement the new
554 * backend/ev-document-find.c: create a new interface for searching
556 * backend/ev-document.h, backend/ev-document.c: delete the find stuff
558 2004-12-23 Martin Kretzschmar <martink@gnome.org>
560 * pdf/xpdf/Makefile.am (libpdfdocument_la_LIBADD): add
563 * shell/ev-window.c (ev_window_print): add GnomePrintJob to
564 EvPrintJob constructor arguments.
566 * backend/ev-ps-exporter.c, backend/ev-ps-exporter.h: interface
567 for documents that can export PostScript (page by page).
569 * backend/Makefile.am (libevbackend_la_SOURCES): add them.
571 * pdf/xpdf/pdf-document.cc (pdf_document_ps_export_begin)
572 (pdf_document_ps_export_do_page, pdf_document_ps_export_end)
573 (pdf_document_ps_exporter_iface_init:
574 Implement EvPSExporter.
576 * pdf/xpdf/Makefile.am (libxpdf_la_SOURCES): build PSOutputDev.
578 2004-12-22 Anders Carlsson <andersca@gnome.org>
580 * backend/Makefile.am:
581 * backend/ev-document-thumbnails.c:
582 (ev_document_thumbnails_get_type),
583 (ev_document_thumbnails_get_thumbnail):
584 * backend/ev-document-thumbnails.h:
585 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
586 (pixbuf_document_thumbnails_get_thumbnail),
587 (pixbuf_document_document_thumbnails_iface_init):
589 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_destroy),
590 (ev_sidebar_thumbnails_class_init), (ev_sidebar_thumbnails_init),
591 (populate_thumbnails), (ev_sidebar_thumbnails_set_document):
592 * shell/ev-sidebar-thumbnails.h:
593 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
594 (ev_sidebar_set_document):
595 * shell/ev-utils.c: (gaussian), (create_blur_filter),
596 (create_shadow), (ev_pixbuf_add_shadow):
598 Add thumbnail support.
600 2004-12-22 Martin Kretzschmar <martink@gnome.org>
602 * shell/ev-window.c (ev_window_cmd_file_print, ev_window_print)
603 (using_postscript_printer): Set up a print dialog for "PostScript
606 * shell/ev-print-job.h, shell/ev-print-job.c: stub classes for
609 * shell/Makefile.am (evince_SOURCES): add ev-print-job.[ch]
611 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
613 * ps/gtkgs.c: (gtk_gs_init), (set_up_page),
614 (ps_document_set_target), (ps_document_get_page_size),
615 (ps_document_render):
620 2004-12-22 Christian Rose <menthos@menthos.com>
622 * configure.ac: Added "sv" to ALL_LINGUAS.
624 Wed Dec 22 14:47:38 2004 Jonathan Blandford <jrb@redhat.com>
626 * backend/ev-document-bookmarks.[ch]: new interface to indicate
627 document supports bookmarks.
629 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
631 * ps/ggvutils.c: (ggv_file_readable):
633 * ps/gtkgs.c: (check_filecompressed), (check_pdf),
634 (gtk_gs_get_postscript):
638 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
640 * ps/gtkgs.c: (gtk_gs_init), (gtk_gs_class_init), (gtk_gs_cleanup),
641 (gtk_gs_finalize), (gtk_gs_set_center), (set_up_page), (output),
642 (start_interpreter), (compute_size), (gtk_gs_enable_interpreter),
643 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_reload),
644 (gtk_gs_emit_error_msg), (gtk_gs_disable_interpreter),
645 (gtk_gs_load), (gtk_gs_goto_page), (gtk_gs_set_page_size),
646 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
647 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
648 (gtk_gs_set_antialiasing), (ps_document_load),
649 (ps_document_render):
652 Another check point for the ps backend. Now I can get it to show
655 Wed Dec 22 13:41:01 2004 Jonathan Blandford <jrb@redhat.com>
657 * shell/ev-sidebar.c (ev_sidebar_set_document): initial sidebar
658 document setting code.
660 2004-12-22 Anders Carlsson <andersca@gnome.org>
662 * shell/eggfindbar.c: (entry_activate_callback):
663 Animate the next button when activate is pressed.
665 2004-12-22 Anders Carlsson <andersca@gnome.org>
667 * shell/ev-window.c: (ev_window_cmd_edit_find),
668 (update_fullscreen_popup), (ev_window_fullscreen),
669 (ev_window_unfullscreen), (ev_window_state_event_cb),
670 (ev_window_focus_out_cb), (find_bar_close_cb), (ev_window_init):
671 Fix bugs in fullscreen code.
673 2004-12-22 Anders Carlsson <andersca@gnome.org>
677 * pixbuf/Makefile.am:
678 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
679 (pixbuf_document_load), (pixbuf_document_get_n_pages),
680 (pixbuf_document_set_page), (pixbuf_document_get_page),
681 (pixbuf_document_set_target), (pixbuf_document_set_scale),
682 (pixbuf_document_set_page_offset), (pixbuf_document_get_page_size),
683 (pixbuf_document_render), (pixbuf_document_begin_find),
684 (pixbuf_document_end_find), (pixbuf_document_finalize),
685 (pixbuf_document_class_init),
686 (pixbuf_document_document_iface_init), (pixbuf_document_init):
687 * pixbuf/pixbuf-document.h:
689 * shell/ev-application.c: (ev_application_open):
690 * shell/ev-window.c: (mime_type_supported_by_gdk_pixbuf),
694 Tue Dec 21 21:45:43 2004 Soeren Sandmann <sandmann@redhat.com>
697 * dvi/dvilib/Makefile.am:
699 * configure.ac: Auto*ify dvi and dvi/dvilib
701 * dvi/Makefile: Remove from CVS
703 * dvi/dvilib/dl-pkfont.cc (unpack_bitmap): Fix uchar/uint
706 * dvi/dvilib/dl-fontdefinition.{cc,hh}: New DviFontMap class
708 * dvi/dvilib/dl-vffont.{cc,hh}: Many bugfixes to VF code.
710 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
713 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_finalize),
714 (gtk_gs_value_adjustment_changed), (compute_size),
715 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_new_from_file),
716 (gtk_gs_center_page), (gtk_gs_load), (gtk_gs_set_page_size),
717 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
718 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
719 (gtk_gs_start_scroll), (gtk_gs_get_postscript),
720 (gtk_gs_set_adjustments), (gtk_gs_set_available_size),
721 (ps_document_load), (ps_document_get_n_pages),
722 (ps_document_set_page), (ps_document_get_page),
723 (ps_document_set_target), (ps_document_set_scale),
724 (ps_document_set_page_offset), (ps_document_get_page_size),
725 (ps_document_render), (ps_document_begin_find),
726 (ps_document_end_find), (ps_document_document_iface_init):
729 * shell/ev-window.c: (ev_window_open):
731 Some work to integrate gtkgs with EvDocument
733 2004-12-22 Anders Carlsson <andersca@gnome.org>
735 * shell/ev-window.c: (update_fullscreen_popup),
736 (screen_size_changed_cb), (destroy_exit_fullscreen_popup),
737 (exit_fullscreen_button_clicked_cb),
738 (fullscreen_popup_size_request_cb), (ev_window_fullscreen),
739 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
740 (ev_window_state_event_cb), (ev_window_init):
741 Add fullscreen support from Epiphany.
743 2004-12-22 Mark McLoughlin <mark@skynet.ie>
745 * data/ev-stock-zoom-fit-width.png: fit-width
746 stock icon from gpdf.
748 * shell/ev-stock-icons.[ch]: copied from gpdf.
750 * shell/main.c: (main): init stock icons.
752 * shell/ev-window.c: use the fit-width icon.
754 * data/evince-ui.xml: add zooming toolbar items.
756 2004-12-22 Mark McLoughlin <mark@skynet.ie>
759 (ev_view_best_fit), (ev_view_fit_width): because
760 get_page_size() returns the scaled page size, we
761 need to calculate the scale factor relative to
762 the previous scale factor. Should really just
763 add get_real_page_size().
765 2004-12-22 Mark McLoughlin <mark@skynet.ie>
767 * shell/ev-view.[ch]:
768 (ev_view_zoom), (ev_view_zoom_in), (ev_view_zoom_out),
769 (ev_view_normal_size), (ev_view_best_fit), (ev_view_fit_width):
772 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
773 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_normal_size),
774 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width):
777 * pdf/xpdf/pdf-document.cc:
778 (pdf_document_begin_find),
779 (pdf_document_end_find): make static.
781 2004-12-22 Martin Kretzschmar <martink@gnome.org>
783 * pdf/xpdf/GlobalParams.h (setupBaseFontsFc): add prototype.
785 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): maps base font
786 names to fontconfig patterns.
787 (setupBaseFontsFc): setupBaseFonts reimplemented using fontconfig.
789 * pdf/xpdf/pdf-document.cc (pdf_document_load): use
792 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
808 Import ggv backend. Not hooked up yet.
810 2004-12-22 Mark McLoughlin <mark@skynet.ie>
812 * shell/main.c: (load_files), (main): load files
813 from the command line.
815 2004-12-22 Mark McLoughlin <mark@skynet.ie>
817 * configure.ac: don't require bonobo.
819 * cut-n-paste/recent-files/*: kill bonobo recent
823 (ev_window_is_empty): upd.
824 (unable_to_load), (ev_window_open): load backend
825 based on the mime type.
827 2004-12-22 Martin Kretzschmar <martink@gnome.org>
829 * backend/.cvsignore: ignore generated marshalers source.
831 * shell/main.c (main): this is not epiphany.
833 2004-12-22 Havoc Pennington <hp@redhat.com>
835 * shell/ev-view.c (ev_view_set_document): connect to "found" signal
836 (expose_bin_window): draw find highlights
838 * shell/ev-window.c (find_bar_search_changed_cb): implement
840 * pdf/xpdf/pdf-document.cc (pdf_document_begin_find)
841 (pdf_document_end_find): implement this interface
843 * backend/ev-document.c (ev_document_found): add this to emit
846 Tue Dec 21 23:57:37 2004 Owen Taylor <otaylor@redhat.com>
848 * data/evince-ui.xml: Add a few more toolbar items.
850 * shell/ev-window.c: Hook up page navigation toolbar
853 * shell/ev-view.[ch]: add ev_view_set/get_page and
854 a page-changed signal.
856 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc::
857 Add ev_document_get_page().
859 * shell/ev-window.c: Sensitize/desensitize navigation
862 2004-12-21 Havoc Pennington <hp@redhat.com>
864 * backend/ev-backend-marshal.c,
865 backend/ev-backend-marshalers.list, backend/Makefile.am: add
866 marshaler-generator thingy. I'm sure there's a better way to do
867 this in the modern world.
869 * backend/ev-document.h (struct _EvDocumentIface): add begin_find,
870 end_find methods and "found" signal.
872 * configure.ac: find glib-genmarshal
874 Tue Dec 21 23:20:35 2004 Jonathan Blandford <jrb@redhat.com>
876 * shell/ev-sidebar.c: Construct an actual sidebar.
877 * shell/ev-sidebar-bookmarks.[ch]:
878 * shell/ev-sidebar-thumbnails.[ch]: Stub out sidebars.
880 Tue Dec 21 23:05:51 2004 Owen Taylor <otaylor@redhat.com>
882 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc:
885 * shell/ev-view.c: Track the size from the document.
887 Tue Dec 21 22:17:04 2004 Owen Taylor <otaylor@redhat.com>
889 * pdf/xpdf/pdf-document.cc (pdf_document_load): PDFDoc
890 constructor assumes ownership of the string passed in.
892 * shell/ev-window.c (ev_window_open): Destroy the error
893 dialog once we've displayed it.
895 Tue Dec 21 21:58:56 2004 Owen Taylor <otaylor@redhat.com>
897 * pdf/xpdf/pdf-document.cc shell/ev-view.c: Hook things up
898 a bit, it works! (sort of)
900 * pdf/xpdf/Makefile.am pdf/xpdf/pdf-document.cc:
901 Move to .cc since we need to use C++ in the implementation.
903 * shell/dummy.cc: Add a CC file to force evince
904 to be linked as a C++ program.
906 Tue Dec 21 21:07:55 2004 Owen Taylor <otaylor@redhat.com>
908 * shell/ev-view.[ch]: Start of content-area widget.
910 * shell/ev-window.c: Create a EvView, update it
911 as we change documents.
913 * shell/Makefile.am shell/ev-marshal.list: Add
914 generated marshalers.
916 Tue Dec 21 20:28:11 2004 Jonathan Blandford <jrb@redhat.com>
918 * Makefile.am (SUBDIRS): move shell.
920 Tue Dec 21 19:28:55 2004 Owen Taylor <otaylor@redhat.com>
922 * pdf/{goo,fofi,splash,xpdf}/Makefile.am: Switch from
923 .a to libtool convenience libraries.
925 * shell/ev-window.c (ev_window_open): Hard code loading
928 * backend/ev-document.h: Add a boolean return to load(),
929 fix GError * to GError **.
931 * pdf/xpdf/pdf-document.[ch] Makefile.am: Add a stub
932 object for a PDF backend EvDocument.
934 Tue Dec 21 18:55:06 2004 Søren Sandmann <sandmann@redhat.com>
936 * dvi/*: New directory with the beginning of a .dvi backend.
938 2004-12-21 Havoc Pennington <hp@redhat.com>
940 * shell/eggfindbar.c (egg_find_bar_init): change buttons to
941 previous/next instead of back/forward
943 Tue Dec 21 18:26:24 2004 Owen Taylor <otaylor@redhat.com>
945 * backend/ev-document.[ch]: Fix a couple of problems so
948 Tue Dec 21 18:20:40 2004 Owen Taylor <otaylor@redhat.com>
950 * viewer/* backend/* configure.ac Makefile.am: Move viewer directory
951 to backend/ directory, rename EvViewer to EvDocument.
953 2004-12-21 Havoc Pennington <hp@redhat.com>
955 * shell/ev-window.c: hook up the find bar widget; now we just need
956 a document to find things in
958 * shell/eggfindbar.c: a find bar widget
960 Tue Dec 21 17:20:16 2004 Jonathan Blandford <jrb@redhat.com>
962 * shell/ev-sidebar.[ch]: initial sidebar boilerplate.
964 Tue Dec 21 16:30:58 2004 Owen Taylor <otaylor@redhat.com>
966 * pdf/**: Import of xpdf code from gpdf.
968 * pdf/xpdf/xpdfconfig.h: Move the non-config.h config.h to xpdfconfig.h
970 * pdf/splash/SplashFTFont.{cc,h} pdf/splash/SplashFTFont.h
971 pdf/splash/SplashFTFontEngine.h pdf/splash/SplashFTFontFile.h:
972 Fix FreeType includes.
974 * pdf/xpdf/{Error.h GnomeVFSStream.cc ImageOutputDev.cc PDFDoc.cc\
975 pdffonts.cc pdfimages.cc pdfinfo.cc pdftoppm.cc pdftops.cc
976 pdftotext.cc PSOutputDev.cc PSOutputDev.h SplashOutputDev.h
977 Stream.cc TextOutputDev.cc XPDFApp.cc xpdf.cc XPDFViewer.cc
978 pdf/xpdf/Error.h PSOutputDev.h SplashOutputDev.h}:
981 Tue Dec 21 16:08:17 2004 Jonathan Blandford <jrb@redhat.com>
983 * shell/ev-window.c (ev_window_dispose): dispose can be called
986 2004-12-21 Havoc Pennington <hp@redhat.com>
988 * shell/ev-window.c (ev_window_init): set title to Document Viewer
991 * data/evince-ui.xml, shell/ev-window.c: add a bunch of stub menu
992 items; really they should be synced with the strings, etc. from
993 current gpdf, but just getting the boring typing out of the way
995 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
998 * shell/ev-application.c: (window_destroy_cb):
1000 * shell/main.c: (main):
1002 Actually show the window...
1004 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
1007 * shell/Makefile.am:
1008 * shell/ev-application.c: (ev_application_class_init):
1009 * shell/ev-window.c: (ev_window_dispose), (ev_window_class_init):
1013 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
1015 Import to gnome cvs.
1017 * Remove copies of gpdf and ggv trees.
1018 * Rip out all the recursive configure code.
1019 * Remove bonobo machinery.
1020 * viewer/*: GInterfaces that backends should/can implement.
1022 2004-11-09 Martin Kretzschmar <m_kretzschmar@gmx.net>
1024 * shell/ev-window.c (ev_window_cmd_help_about): fix "documentors"
1027 2004-10-28 Martin Kretzschmar <m_kretzschmar@gmx.net>
1029 * shell/ev-application.c (EV_APPLICATION_GET_PRIVATE)
1030 (ev_application_finalize, ev_application_class_init)
1031 (ev_application_init): use GType instance private data for priv.
1033 * shell/ev-window.c (EV_WINDOW_GET_PRIVATE)
1034 (ev_window_finalize, ev_window_class_init)
1035 (ev_window_init): ditto.
1037 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
1039 * shell/ev-application.c (ev_application_new_window): make public
1040 (ev_application_show_initial_window): kill.
1042 * shell/ev-application.h: update prototypes.
1044 * shell/main.cc (main): inline ev_application_show_initial_window.
1046 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
1048 * shell/ev-application.c (ev_application_new_window): impl.
1049 (ev_application_show_initial_window): use it.
1050 (is_window_empty, ev_application_get_empty_window): returns an
1051 existing empty window or a new one.
1052 (ev_application_open): from ev_window_cmd_file_open.
1054 * shell/ev-application.h: update prototypes
1056 * shell/ev-window.c (ev_window_is_empty): impl.
1057 (ev_window_open): make public.
1058 (ev_window_cmd_file_open): use ev_application_open
1060 * shell/ev-window.h: update prototypes, remove unused.
1062 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
1064 * shell/ev-window.c (ev_window_destroy, ev_window_class_init):
1065 move destroy handler out of here...
1067 * shell/ev-application.c, shell/ev-application.h: ...into this new
1068 class. Also handles initial window creation.
1070 * shell/main.cc (main): use EvApplication to create initial
1073 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
1075 * Makefile.am (SUBDIRS): add cut-n-paste
1077 * cut-n-paste/Makefile.am: add
1079 * configure.ac: generate Makefiles in cut-n-paste
1081 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
1083 * shell/ev-window.c (ev_window_dispose): new, unref the ui_manager
1084 (ev_window_class_init): install ev_window_dispose.
1086 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
1088 * shell/ev-window.h, shell/ev-window.c: replace gchar with
1089 char (gchar looks stupid).
1091 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
1093 * po/de.po: updated German translation.
1095 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
1097 * configure.ac: add more pkg-config library checks for gnome-vfs,
1100 * gpdf/configure.in: temporarily disable libpaper
1101 checks. Otherwise I'd have to add the checks for the shell, too.
1103 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1105 * shell/ev-window.c (ev_window_cmd_file_open): add ps+pdf, ps, pdf
1106 and * file filters to the file choose.
1108 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1110 * po/de.po: Updated German translation.
1112 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1114 * shell/ev-window.c: use "S" as mnemonic for Statusbar.
1116 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1118 * data/evince-ui.xml: add View->Toolbar and View->Statusbar.
1120 * shell/ev-window.c (menu_item_select_cb, menu_item_select_cb)
1121 (ev_window_init): implement those menuitems.
1123 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1125 * data/evince-ui.xml: add a toolbar (with FileOpen action)
1127 * shell/ev-window.c (ev_window_init): use the toolbar.
1129 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1131 * shell/ev-window.c (ev_window_init): use menu translations
1133 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1135 * configure.ac: add "de" to ALL_LINGUAS.
1137 * po/de.po: add German translation.
1139 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1141 * Makefile.am (SUBDIRS): add po
1143 * configure.ac: check intltool, glib-gettext etc, generate
1146 * po, po/POTFILES.in, po/POTFILES.skip: new.
1148 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1150 * shell/Makefile.am (INCLUDES): define GNOMELOCALEDIR which we
1151 already use (#ifdef ENABLE_NLS)
1153 * shell/ev-window.c (ev_window_cmd_help_about): fix two star
1154 pointer indirection thinko.
1156 * shell/main.c: include gi18n.h for bindtextdomain etc.
1158 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1160 * shell/ev-window.c (menu_item_select_cb, menu_item_deselect_cb)
1161 (connect_proxy_cb, disconnect_proxy_cb, ev_window_init): show
1162 tooltips for menu items in the statusbar.
1164 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1166 * configure.ac, data/Makefile.am, shell/Makefile.am: use
1167 pkgdatadir drop UIDIR
1169 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1171 * data/evince-ui.xml: Add File->Open menu item
1173 * shell/ev-window.c (ev_window_cmd_file_open): impl. (shows a file
1174 chooser), hook it up in the ui manager.
1176 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1178 * shell/ev-window.c: fix Help->About tooltip.
1180 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1182 * configure.ac: set CFLAGS for libevprivate.
1184 * lib/ev-stock-icons.h, lib/ev-stock-icons.c: stock icon
1185 definitions, factory etc.
1187 * lib/Makefile.am: build libevprivate.a (only stock icon code).
1189 * shell/Makefile.am: link against libevprivate.a.
1191 * shell/ev-window.c (entries): add stock icon to Help->About.
1193 * shell/main.c (main): init stock icon code.
1195 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1197 * lib/recent-files: egg recent files code
1199 * lib/Makefile.am: add.
1201 * Makefile.am: add lib subdir.
1203 * configure.ac: gen. lib/Makefile and lib/recent-files/Makefile,
1204 set CFLAGS for recent-files.
1206 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1208 * configure.ac: disable -ansi and -pedantic gcc flags. They
1209 disable POSIX stuff in stdio.h, but egg-recent uses them.
1211 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1213 * configure.ac: add --disable-deprecated flag (defaults to on in
1216 * shell/Makefile.am (INCLUDES): use it.
1218 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1220 * shell/main.c: add missing #include.
1222 * shell/ev-window.c: fix for pedantic gcc.
1223 (ev_window_cmd_help_about): split license into paragraphs for
1224 translators and pedantic compilers.
1226 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1228 * configure.ac: add more warning flags if compiling with gcc from
1229 cvs (or explicitly requested with --enable-more-warnings).
1231 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1233 * data/evince-ui.xml: add File and File->Close menu.
1235 * shell/ev-window.c (ev_window_cmd_file_close_window): impl.
1236 (ev_window_destroy): quit after destroy.
1237 (ev_window_class_init): override GtkObject::destroy.
1238 (entries): install close_window callback.
1240 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1242 * Makefile.am (SUBDIRS): add data subdir.
1244 * configure.ac (UIDIR): gen data/Makefile, define UIDIR. Require
1245 gtk+ 2.5.0 for GtkAboutDialog.
1247 * data/Makefile.am, data/evince-ui.xml: add, ui definition for the
1250 * shell/Makefile.am (INCLUDES): propagate UIDIR definition.
1252 * shell/ev-window.c (ev_window_init): create a menubar, using a ui
1254 (ev_window_cmd_help_about): about command, using GtkAboutDialog.
1256 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1258 * shell/ev-window.c, shell/ev-window.h: Created an EvWindow class.
1260 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
1262 * shell/main.c: make it a trivial gtk+ program, adjust configure.ac
1264 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
1266 * shell/*: Added shell directory boilerplate, build it.
1268 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
1270 * configure.ac, Makefile.am: Added top-level configure.ac and