1 2005-01-08 Martin Kretzschmar <martink@gnome.org>
3 * pdf/splash/Splash.cc (clear, drawPixel, drawSpan, xorSpan, getPixel)
4 (fillGlyph, fillImageMask, drawImage):
5 pdf/splash/SplashBitmap.cc (SplashBitmap, ~SplashBitmap, writePNMFile):
6 pdf/splash/SplashTypes.h:
7 pdf/xpdf/SplashOutputDev (startPage, getColor, imageSrc): implement RGB8
8 packed mode for Splash.
10 * pdf/xpdf/GDKSplashOutputDev.cc (GDKSplashOutputDev, redraw): use
11 RGB8 packed mode, eliminates the pixbuf data creation loop.
13 * shell/ev-print-job.c (ev_print_job_finalize)
14 (ev_print_job_set_property, ev_print_job_get_property)
15 (ev_print_job_set_gnome_print_job, ev_print_job_set_document)
16 (ev_print_job_use_print_dialog_settings, idle_print_handler)
17 (print_closure_finalize, ev_print_job_print): implement
18 printing (for backends with EvPsExporter)
20 * shell/ev_print_job.h: update prototypes.
22 * shell/ev-window.c (ev_window_print): unref print job after
25 * shell/ev-view.c (ev_view_set_document): don't connect to "found"
26 unless the document implements the EvDocumentFind interface.
28 2005-01-08 Satoru SATOH <ss@gnome.gr.jp>
30 * configure.ac: Added ja to ALL_LINGUAS.
32 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
34 * pdf/xpdf/pdf-document.cc:
36 add a FIXME. We should probably not allocate
37 a bookmark object every time
39 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
41 * shell/ev-application.c: (ev_application_open),
42 (ev_application_open_bookmark):
43 * shell/ev-application.h:
45 Add a way to open bookmarks
47 * backend/ev-bookmark.c: (ev_bookmark_get_uri),
48 (ev_bookmark_set_uri), (ev_bookmark_get_property),
49 (ev_bookmark_set_property), (ev_bookmark_class_init),
50 (ev_bookmark_new_title), (ev_bookmark_new_link),
51 (ev_bookmark_new_external):
53 Support for external uris, better constructors.
55 * backend/ev-bookmark.h:
56 * pdf/xpdf/pdf-document.cc:
57 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
61 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
63 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb),
64 (ev_sidebar_bookmarks_construct), (do_one_iteration):
66 Hook up bookmarks navigation
68 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
70 * backend/Makefile.am:
71 * backend/ev-bookmark.c: (ev_bookmark_type_get_type),
72 (ev_bookmark_get_title), (ev_bookmark_set_title),
73 (ev_bookmark_get_bookmark_type), (ev_bookmark_set_bookmark_type),
74 (ev_bookmark_get_page), (ev_bookmark_set_page),
75 (ev_bookmark_get_property), (ev_bookmark_set_property),
76 (ev_window_dispose), (ev_bookmark_init), (ev_bookmark_class_init),
78 * backend/ev-bookmark.h:
79 * backend/ev-document-bookmarks.c:
80 (ev_document_bookmarks_get_bookmark):
81 * backend/ev-document-bookmarks.h:
82 * pdf/xpdf/pdf-document.cc:
83 * shell/ev-sidebar-bookmarks.c: (do_one_iteration):
85 Add a bookmark object to the backend and use it instead of get_values
87 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
91 Cleanup and add select all.
93 * shell/ev-view.c: (ev_view_select_all),
94 (ev_view_button_press_event):
96 * shell/ev-window.c: (ev_window_cmd_edit_select_all):
99 Clear selection on click.
101 Fri Jan 7 01:28:58 2005 Jonathan Blandford <jrb@redhat.com>
103 * shell/ev-sidebar-thumbnails.c
104 (ev_sidebar_thumbnails_set_document): forgot to unref the
107 Fri Jan 7 01:22:48 2005 Jonathan Blandford <jrb@redhat.com>
109 * shell/ev-sidebar-thumbnails.c: fill in the thumbnails starting
110 at the visible page, not just linearly. This makes it look fast.
112 Thu Jan 6 18:48:11 2005 Jonathan Blandford <jrb@redhat.com>
114 * backend/ev-document-misc.c
115 (ev_document_misc_get_thumbnail_frame): fill in the thumbnail with
117 * backend/ev-document-thumbnails.h: New interface to get the size
120 2005-01-06 Jeremy Katz <katzj@redhat.com>
122 * shell/Makefile.am (evince_SOURCES): Add ev-utils.[ch] so that
125 Wed Jan 5 15:38:28 2005 Jonathan Blandford <jrb@redhat.com>
127 * pdf/xpdf/pdf-document.cc (bitmap_to_pixbuf): bypass
128 GDKSplashOutputDev and just use a normal SplashOutputDev. Speeds
131 * shell/ev-sidebar-thumbnail.c: start of some profiling code.
133 2005-01-05 Martin Kretzschmar <martink@gnome.org>
135 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): match only outline
136 fonts. Should fix font problems on systems that have the base
137 fonts in bitmap format. Reported by James Henstridge
138 <james@jamesh.id.au>.
140 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
143 * pdf/xpdf/GfxState.cc:
145 Fix for CAN-2004-1125
147 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
149 * shell/ev-view.c: (ev_view_copy):
151 * shell/ev-window.c: (ev_window_cmd_edit_copy):
155 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
157 * backend/ev-document.c: (ev_document_get_text):
158 * backend/ev-document.h:
159 * pdf/xpdf/pdf-document.cc:
160 * shell/ev-view.c: (ev_view_realize), (expose_bin_window),
161 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
162 (ev_view_update_primary_selection), (ev_view_button_press_event),
163 (ev_view_motion_notify_event), (ev_view_button_release_event):
165 Beginnings of clipboard support. Incomplete but primary sort
168 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
170 * shell/ev-view.c: (ev_gdk_color_to_rgb), (draw_rubberband),
173 Nicer rubberband drawing, from GtkIconView.
175 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
177 * backend/ev-document.c: (ev_document_save):
178 * backend/ev-document.h:
179 * data/evince-ui.xml:
180 * pdf/xpdf/pdf-document.cc:
181 * shell/ev-window.c: (save_error_dialog), (ev_window_cmd_save_as):
183 Implement "Save a copy..." menu item
185 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
187 * shell/ev-view.c: (ev_view_zoom):
189 Queue a resize when zoom changes
191 Wed Jan 5 02:33:06 2005 Jonathan Blandford <jrb@redhat.com>
193 * backend/ev-document-misc.[ch]: New misc file to do simple drop
196 * pdf/xpdf/pdf-document.cc: use the drop shadows in both types of
199 Tue Jan 4 22:32:32 2005 Jonathan Blandford <jrb@redhat.com>
201 * pdf/xpdf/pdf-document.cc
202 (pdf_document_thumbnails_get_page_pixbuf): poor man's dropshadow.
204 Tue Jan 4 21:25:05 2005 Jonathan Blandford <jrb@redhat.com>
206 * pdf/xpdf/pdf-document.cc: Do real thumbnailing of PDF files.
207 It's slow, but I'll speed it up next!
209 2005-01-04 Jeff Muizelaar <jrmuizel@nit.ca>
211 * shell/main.c (load_files):
213 use gnome_vfs_make_uri_from_shell_arg so that relative paths work
214 from the command line and because it seems more appropriate.
216 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
218 * data/evince-ui.xml:
219 * shell/ev-window.c: (update_action_sensitivity),
220 (ev_window_cmd_go_page_up), (ev_window_cmd_go_page_down):
222 s/next page/page down
223 s/previous page/page up
225 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
227 * data/evince-ui.xml:
229 Change the layout to match clarkbw design.
232 * shell/ev-navigation-action.c: (build_menu), (menu_activated_cb),
233 (set_tooltip_cb), (connect_proxy), (ev_navigation_action_init),
234 (ev_navigation_action_finalize),
235 (ev_navigation_action_set_property),
236 (ev_navigation_action_get_property),
237 (ev_navigation_action_class_init):
238 * shell/ev-navigation-action.h:
240 Implement clarkbw toolbar navigation controls (incomplete)
242 * shell/ev-page-action.c: (update_label), (update_spin),
243 (value_changed_cb), (create_tool_item), (connect_proxy),
244 (ev_page_action_init), (ev_page_action_finalize),
245 (ev_page_action_set_property), (ev_page_action_get_property),
246 (ev_page_action_set_current_page),
247 (ev_page_action_set_total_pages), (ev_page_action_class_init):
248 * shell/ev-page-action.h:
250 Implement a page switcher in the toolbar
252 * shell/ev-view.c: (ev_view_scroll_view):
253 * shell/ev-window.c: (update_total_pages), (ev_window_open),
254 (update_current_page), (view_page_changed_cb), (goto_page_cb),
255 (register_custom_actions), (ev_window_init):
257 Change page on PageUp/Down.
259 Tue Jan 4 03:22:56 2005 Jonathan Blandford <jrb@redhat.com>
261 * pdf/xpdf/pdf-document.cc
262 (pdf_document_thumbnails_get_thumbnail): initial stab at
263 implementing thumbnail support for pdfs. It only does documents
264 with precached pdfs now.
266 Mon Jan 3 17:22:25 2005 Jonathan Blandford <jrb@redhat.com>
268 * shell/ev-sidebar-thumbnails.c (do_one_iteration): move the
269 thumbnail code into a time-based idle as well. Also, turn off the
270 shadow temporarily as it's really slow.
272 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
274 * backend/ev-document.c: (ev_document_class_init):
275 * pdf/xpdf/pdf-document.cc:
276 * shell/ev-window.c: (ev_window_open):
278 Fix document title bugs and fallback to
279 filename when not available.
281 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
283 * backend/ev-document.c: (ev_document_get_type),
284 (ev_document_class_init), (ev_document_load),
285 (ev_document_get_title):
286 * backend/ev-document.h:
287 * pdf/xpdf/pdf-document.cc:
288 * ps/ps-document.c: (ps_document_set_property),
289 (ps_document_get_property), (ps_document_class_init),
293 * shell/ev-window.c: (update_window_title), (ev_window_open),
296 Initial support for document title. Not working yet.
298 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
300 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event):
302 Grab focus on the view when clicking it
304 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
306 * shell/ev-marshal.list:
307 * shell/ev-view.c: (ev_view_realize), (add_scroll_binding),
308 (ev_view_scroll_view), (ev_view_class_init), (ev_view_init):
310 Add key bindings to the view. Now if the focus would work
313 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
316 * backend/Makefile.am:
319 * dvi/dvilib/Makefile.am:
320 * pdf/xpdf/Makefile.am:
326 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
328 * shell/ev-view.c: (ev_view_realize):
330 Fix mouse wheel scrolling
332 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
338 * ps/ps-document.c: (catchPipe), (ps_document_init),
339 (ps_document_class_init), (ps_document_cleanup),
340 (ps_document_finalize), (send_ps), (ps_document_get_orientation),
341 (set_up_page), (close_pipe), (is_interpreter_ready),
342 (interpreter_failed), (output), (input), (start_interpreter),
343 (stop_interpreter), (file_length), (file_readable),
344 (check_filecompressed), (check_pdf), (compute_xdpi),
345 (compute_ydpi), (compute_size), (ps_document_enable_interpreter),
346 (ps_document_get_type), (ps_document_emit_error_msg),
347 (document_load), (ps_document_next_page),
348 (ps_document_get_current_page), (ps_document_get_page_count),
349 (ps_document_goto_page), (ps_document_set_page_size),
350 (ps_document_zoom_to_fit), (ps_document_set_zoom),
351 (ps_document_load), (ps_document_get_n_pages),
352 (ps_document_set_page), (ps_document_get_page),
353 (ps_document_widget_event), (ps_document_set_target),
354 (ps_document_set_scale), (ps_document_set_page_offset),
355 (ps_document_get_page_size), (ps_document_render),
356 (ps_document_document_iface_init):
359 * shell/ev-window.c: (ev_window_open):
361 Rename GtkGS to PSDocument
363 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
365 * ps/gtkgs.c: (gtk_gs_class_init):
368 Some more leftover...
370 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
372 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_get_orientation),
373 (output), (stop_interpreter), (gtk_gs_emit_error_msg),
374 (gtk_gs_zoom_to_fit), (gtk_gs_set_zoom):
377 Remove unused code and make a lot of stuff private
379 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
381 * ps/gsdefaults.c: (gtk_gs_defaults_gconf_client),
382 (gtk_gs_defaults_changed):
388 Cleanup headers dependencies
390 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
395 * ps/gsdefaults.c: (gtk_gs_defaults_get_paper_sizes):
397 * ps/gtkgs.c: (file_length), (file_readable),
398 (check_filecompressed), (check_pdf), (gtk_gs_load),
399 (gtk_gs_get_postscript):
403 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
408 * ps/gtkgs.c: (gtk_gs_set_zoom):
412 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
414 * ps/gtkgs.c: (gtk_gs_set_zoom), (gtk_gs_set_zoom_mode):
416 Ensure the page is rerendered when changing zoom
418 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
420 * backend/ev-document.c: (ev_document_base_init),
421 (ev_document_changed):
422 * backend/ev-document.h:
424 Add a changed event that is emitted when the page content
425 changes. This is necessary to deal with the fact that
426 in ps backend rendering happen asycrounously.
427 This makes the ps backend mostly work.
429 * pdf/xpdf/pdf-document.cc:
433 * ps/gtkgs.c: (set_up_page), (gtk_gs_widget_event),
434 (ps_document_set_target):
438 * shell/ev-view.c: (document_changed_callback),
439 (ev_view_set_document), (ev_view_set_page):
441 Redraw on the changed signal
443 2004-12-25 Raphael Higino <raphaelh@cvs.gnome.org>
445 * configure.ac: Added pt_BR to ALL_LINGUAS.
447 Fri Dec 24 00:48:44 2004 Jonathan Blandford <jrb@redhat.com>
449 * backend/ev-document-bookmarks.c:
450 (ev_document_bookmarks_get_child): *
451 backend/ev-document-bookmarks.h: * pdf/xpdf/Makefile.am: *
452 pdf/xpdf/pdf-document.cc: * pdf/xpdf/pdf-document.h: *
453 shell/Makefile.am: * shell/ev-sidebar-bookmarks.c:
454 (ev_sidebar_bookmarks_destroy),
455 (ev_sidebar_bookmarks_class_init),
456 (ev_sidebar_bookmarks_construct), (stack_data_free),
457 (do_one_iteration), (populate_bookmarks_idle),
458 (ev_sidebar_bookmarks_clear_document),
459 (ev_sidebar_bookmarks_set_document): *
460 shell/ev-sidebar-bookmarks.h: * shell/ev-sidebar.c:
461 (ev_sidebar_add_page),
462 (ev_sidebar_set_document): * shell/ev-window.c: (ev_window_open):
463 Initial stab at a bookmarks sidebar. It doesn't navigate yet, but
464 it displays both the topics and the page numbers.
466 2004-12-23 Kristian Høgsberg <krh@redhat.com>
468 * shell/ev-window.c (ev_window_view_sidebar_cb): Hook up sidebar
470 * shell/ev-window.c (toggle_entries): Set sidebar default value to
473 2004-12-23 Adam Weinberger <adamw@gnome.org>
475 * configure.ac: Added en_CA to ALL_LINGUAS.
477 2004-12-23 Martin Kretzschmar <martink@gnome.org>
479 * ChangeLog: replace bottom of this ChangeLog (merged history of
480 ggv and gpdf; where all paths were wrong and most of the files are
481 not even in this tree) with ChangeLog (from arch) of the shell
484 2004-12-23 Havoc Pennington <hp@redhat.com>
486 * shell/ev-window.c: hook up potentially-questionable "find
487 results status text" feature - something involving the sidebar or
488 scrollbar or a continuous all-pages-on-giant-roll-of-paper-view
489 might be better in the end.
491 * shell/ev-view.c (ev_view_get_find_status_message): new function,
492 with corresponding signal when it should be updated
494 * shell/eggfindbar.c (egg_find_bar_set_status_text): new function
496 2004-12-22 Havoc Pennington <hp@redhat.com>
498 * pdf/xpdf/pdf-document.cc (pdf_document_find_begin): make search
499 find stuff on other pages, sort of (only returns one result on
500 invisible pages, to show they have results; updates full results
501 for a page when you view it). Currently repaints the current page
502 every time a new result is found on any page, which isn't so nice.
504 2004-12-22 Havoc Pennington <hp@redhat.com>
506 * shell/ev-window.c (ev_window_cmd_edit_find): display an error if
507 the document doesn't support find (better ideas?)
508 (find_bar_search_changed_cb): handle missing document or document
509 that doesn't support find
511 * pdf/xpdf/pdf-document.cc: port to implement the new
514 * backend/ev-document-find.c: create a new interface for searching
516 * backend/ev-document.h, backend/ev-document.c: delete the find stuff
518 2004-12-23 Martin Kretzschmar <martink@gnome.org>
520 * pdf/xpdf/Makefile.am (libpdfdocument_la_LIBADD): add
523 * shell/ev-window.c (ev_window_print): add GnomePrintJob to
524 EvPrintJob constructor arguments.
526 * backend/ev-ps-exporter.c, backend/ev-ps-exporter.h: interface
527 for documents that can export PostScript (page by page).
529 * backend/Makefile.am (libevbackend_la_SOURCES): add them.
531 * pdf/xpdf/pdf-document.cc (pdf_document_ps_export_begin)
532 (pdf_document_ps_export_do_page, pdf_document_ps_export_end)
533 (pdf_document_ps_exporter_iface_init:
534 Implement EvPSExporter.
536 * pdf/xpdf/Makefile.am (libxpdf_la_SOURCES): build PSOutputDev.
538 2004-12-22 Anders Carlsson <andersca@gnome.org>
540 * backend/Makefile.am:
541 * backend/ev-document-thumbnails.c:
542 (ev_document_thumbnails_get_type),
543 (ev_document_thumbnails_get_thumbnail):
544 * backend/ev-document-thumbnails.h:
545 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
546 (pixbuf_document_thumbnails_get_thumbnail),
547 (pixbuf_document_document_thumbnails_iface_init):
549 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_destroy),
550 (ev_sidebar_thumbnails_class_init), (ev_sidebar_thumbnails_init),
551 (populate_thumbnails), (ev_sidebar_thumbnails_set_document):
552 * shell/ev-sidebar-thumbnails.h:
553 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
554 (ev_sidebar_set_document):
555 * shell/ev-utils.c: (gaussian), (create_blur_filter),
556 (create_shadow), (ev_pixbuf_add_shadow):
558 Add thumbnail support.
560 2004-12-22 Martin Kretzschmar <martink@gnome.org>
562 * shell/ev-window.c (ev_window_cmd_file_print, ev_window_print)
563 (using_postscript_printer): Set up a print dialog for "PostScript
566 * shell/ev-print-job.h, shell/ev-print-job.c: stub classes for
569 * shell/Makefile.am (evince_SOURCES): add ev-print-job.[ch]
571 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
573 * ps/gtkgs.c: (gtk_gs_init), (set_up_page),
574 (ps_document_set_target), (ps_document_get_page_size),
575 (ps_document_render):
580 2004-12-22 Christian Rose <menthos@menthos.com>
582 * configure.ac: Added "sv" to ALL_LINGUAS.
584 Wed Dec 22 14:47:38 2004 Jonathan Blandford <jrb@redhat.com>
586 * backend/ev-document-bookmarks.[ch]: new interface to indicate
587 document supports bookmarks.
589 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
591 * ps/ggvutils.c: (ggv_file_readable):
593 * ps/gtkgs.c: (check_filecompressed), (check_pdf),
594 (gtk_gs_get_postscript):
598 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
600 * ps/gtkgs.c: (gtk_gs_init), (gtk_gs_class_init), (gtk_gs_cleanup),
601 (gtk_gs_finalize), (gtk_gs_set_center), (set_up_page), (output),
602 (start_interpreter), (compute_size), (gtk_gs_enable_interpreter),
603 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_reload),
604 (gtk_gs_emit_error_msg), (gtk_gs_disable_interpreter),
605 (gtk_gs_load), (gtk_gs_goto_page), (gtk_gs_set_page_size),
606 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
607 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
608 (gtk_gs_set_antialiasing), (ps_document_load),
609 (ps_document_render):
612 Another check point for the ps backend. Now I can get it to show
615 Wed Dec 22 13:41:01 2004 Jonathan Blandford <jrb@redhat.com>
617 * shell/ev-sidebar.c (ev_sidebar_set_document): initial sidebar
618 document setting code.
620 2004-12-22 Anders Carlsson <andersca@gnome.org>
622 * shell/eggfindbar.c: (entry_activate_callback):
623 Animate the next button when activate is pressed.
625 2004-12-22 Anders Carlsson <andersca@gnome.org>
627 * shell/ev-window.c: (ev_window_cmd_edit_find),
628 (update_fullscreen_popup), (ev_window_fullscreen),
629 (ev_window_unfullscreen), (ev_window_state_event_cb),
630 (ev_window_focus_out_cb), (find_bar_close_cb), (ev_window_init):
631 Fix bugs in fullscreen code.
633 2004-12-22 Anders Carlsson <andersca@gnome.org>
637 * pixbuf/Makefile.am:
638 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
639 (pixbuf_document_load), (pixbuf_document_get_n_pages),
640 (pixbuf_document_set_page), (pixbuf_document_get_page),
641 (pixbuf_document_set_target), (pixbuf_document_set_scale),
642 (pixbuf_document_set_page_offset), (pixbuf_document_get_page_size),
643 (pixbuf_document_render), (pixbuf_document_begin_find),
644 (pixbuf_document_end_find), (pixbuf_document_finalize),
645 (pixbuf_document_class_init),
646 (pixbuf_document_document_iface_init), (pixbuf_document_init):
647 * pixbuf/pixbuf-document.h:
649 * shell/ev-application.c: (ev_application_open):
650 * shell/ev-window.c: (mime_type_supported_by_gdk_pixbuf),
654 Tue Dec 21 21:45:43 2004 Soeren Sandmann <sandmann@redhat.com>
657 * dvi/dvilib/Makefile.am:
659 * configure.ac: Auto*ify dvi and dvi/dvilib
661 * dvi/Makefile: Remove from CVS
663 * dvi/dvilib/dl-pkfont.cc (unpack_bitmap): Fix uchar/uint
666 * dvi/dvilib/dl-fontdefinition.{cc,hh}: New DviFontMap class
668 * dvi/dvilib/dl-vffont.{cc,hh}: Many bugfixes to VF code.
670 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
673 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_finalize),
674 (gtk_gs_value_adjustment_changed), (compute_size),
675 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_new_from_file),
676 (gtk_gs_center_page), (gtk_gs_load), (gtk_gs_set_page_size),
677 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
678 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
679 (gtk_gs_start_scroll), (gtk_gs_get_postscript),
680 (gtk_gs_set_adjustments), (gtk_gs_set_available_size),
681 (ps_document_load), (ps_document_get_n_pages),
682 (ps_document_set_page), (ps_document_get_page),
683 (ps_document_set_target), (ps_document_set_scale),
684 (ps_document_set_page_offset), (ps_document_get_page_size),
685 (ps_document_render), (ps_document_begin_find),
686 (ps_document_end_find), (ps_document_document_iface_init):
689 * shell/ev-window.c: (ev_window_open):
691 Some work to integrate gtkgs with EvDocument
693 2004-12-22 Anders Carlsson <andersca@gnome.org>
695 * shell/ev-window.c: (update_fullscreen_popup),
696 (screen_size_changed_cb), (destroy_exit_fullscreen_popup),
697 (exit_fullscreen_button_clicked_cb),
698 (fullscreen_popup_size_request_cb), (ev_window_fullscreen),
699 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
700 (ev_window_state_event_cb), (ev_window_init):
701 Add fullscreen support from Epiphany.
703 2004-12-22 Mark McLoughlin <mark@skynet.ie>
705 * data/ev-stock-zoom-fit-width.png: fit-width
706 stock icon from gpdf.
708 * shell/ev-stock-icons.[ch]: copied from gpdf.
710 * shell/main.c: (main): init stock icons.
712 * shell/ev-window.c: use the fit-width icon.
714 * data/evince-ui.xml: add zooming toolbar items.
716 2004-12-22 Mark McLoughlin <mark@skynet.ie>
719 (ev_view_best_fit), (ev_view_fit_width): because
720 get_page_size() returns the scaled page size, we
721 need to calculate the scale factor relative to
722 the previous scale factor. Should really just
723 add get_real_page_size().
725 2004-12-22 Mark McLoughlin <mark@skynet.ie>
727 * shell/ev-view.[ch]:
728 (ev_view_zoom), (ev_view_zoom_in), (ev_view_zoom_out),
729 (ev_view_normal_size), (ev_view_best_fit), (ev_view_fit_width):
732 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
733 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_normal_size),
734 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width):
737 * pdf/xpdf/pdf-document.cc:
738 (pdf_document_begin_find),
739 (pdf_document_end_find): make static.
741 2004-12-22 Martin Kretzschmar <martink@gnome.org>
743 * pdf/xpdf/GlobalParams.h (setupBaseFontsFc): add prototype.
745 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): maps base font
746 names to fontconfig patterns.
747 (setupBaseFontsFc): setupBaseFonts reimplemented using fontconfig.
749 * pdf/xpdf/pdf-document.cc (pdf_document_load): use
752 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
768 Import ggv backend. Not hooked up yet.
770 2004-12-22 Mark McLoughlin <mark@skynet.ie>
772 * shell/main.c: (load_files), (main): load files
773 from the command line.
775 2004-12-22 Mark McLoughlin <mark@skynet.ie>
777 * configure.ac: don't require bonobo.
779 * cut-n-paste/recent-files/*: kill bonobo recent
783 (ev_window_is_empty): upd.
784 (unable_to_load), (ev_window_open): load backend
785 based on the mime type.
787 2004-12-22 Martin Kretzschmar <martink@gnome.org>
789 * backend/.cvsignore: ignore generated marshalers source.
791 * shell/main.c (main): this is not epiphany.
793 2004-12-22 Havoc Pennington <hp@redhat.com>
795 * shell/ev-view.c (ev_view_set_document): connect to "found" signal
796 (expose_bin_window): draw find highlights
798 * shell/ev-window.c (find_bar_search_changed_cb): implement
800 * pdf/xpdf/pdf-document.cc (pdf_document_begin_find)
801 (pdf_document_end_find): implement this interface
803 * backend/ev-document.c (ev_document_found): add this to emit
806 Tue Dec 21 23:57:37 2004 Owen Taylor <otaylor@redhat.com>
808 * data/evince-ui.xml: Add a few more toolbar items.
810 * shell/ev-window.c: Hook up page navigation toolbar
813 * shell/ev-view.[ch]: add ev_view_set/get_page and
814 a page-changed signal.
816 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc::
817 Add ev_document_get_page().
819 * shell/ev-window.c: Sensitize/desensitize navigation
822 2004-12-21 Havoc Pennington <hp@redhat.com>
824 * backend/ev-backend-marshal.c,
825 backend/ev-backend-marshalers.list, backend/Makefile.am: add
826 marshaler-generator thingy. I'm sure there's a better way to do
827 this in the modern world.
829 * backend/ev-document.h (struct _EvDocumentIface): add begin_find,
830 end_find methods and "found" signal.
832 * configure.ac: find glib-genmarshal
834 Tue Dec 21 23:20:35 2004 Jonathan Blandford <jrb@redhat.com>
836 * shell/ev-sidebar.c: Construct an actual sidebar.
837 * shell/ev-sidebar-bookmarks.[ch]:
838 * shell/ev-sidebar-thumbnails.[ch]: Stub out sidebars.
840 Tue Dec 21 23:05:51 2004 Owen Taylor <otaylor@redhat.com>
842 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc:
845 * shell/ev-view.c: Track the size from the document.
847 Tue Dec 21 22:17:04 2004 Owen Taylor <otaylor@redhat.com>
849 * pdf/xpdf/pdf-document.cc (pdf_document_load): PDFDoc
850 constructor assumes ownership of the string passed in.
852 * shell/ev-window.c (ev_window_open): Destroy the error
853 dialog once we've displayed it.
855 Tue Dec 21 21:58:56 2004 Owen Taylor <otaylor@redhat.com>
857 * pdf/xpdf/pdf-document.cc shell/ev-view.c: Hook things up
858 a bit, it works! (sort of)
860 * pdf/xpdf/Makefile.am pdf/xpdf/pdf-document.cc:
861 Move to .cc since we need to use C++ in the implementation.
863 * shell/dummy.cc: Add a CC file to force evince
864 to be linked as a C++ program.
866 Tue Dec 21 21:07:55 2004 Owen Taylor <otaylor@redhat.com>
868 * shell/ev-view.[ch]: Start of content-area widget.
870 * shell/ev-window.c: Create a EvView, update it
871 as we change documents.
873 * shell/Makefile.am shell/ev-marshal.list: Add
874 generated marshalers.
876 Tue Dec 21 20:28:11 2004 Jonathan Blandford <jrb@redhat.com>
878 * Makefile.am (SUBDIRS): move shell.
880 Tue Dec 21 19:28:55 2004 Owen Taylor <otaylor@redhat.com>
882 * pdf/{goo,fofi,splash,xpdf}/Makefile.am: Switch from
883 .a to libtool convenience libraries.
885 * shell/ev-window.c (ev_window_open): Hard code loading
888 * backend/ev-document.h: Add a boolean return to load(),
889 fix GError * to GError **.
891 * pdf/xpdf/pdf-document.[ch] Makefile.am: Add a stub
892 object for a PDF backend EvDocument.
894 Tue Dec 21 18:55:06 2004 Søren Sandmann <sandmann@redhat.com>
896 * dvi/*: New directory with the beginning of a .dvi backend.
898 2004-12-21 Havoc Pennington <hp@redhat.com>
900 * shell/eggfindbar.c (egg_find_bar_init): change buttons to
901 previous/next instead of back/forward
903 Tue Dec 21 18:26:24 2004 Owen Taylor <otaylor@redhat.com>
905 * backend/ev-document.[ch]: Fix a couple of problems so
908 Tue Dec 21 18:20:40 2004 Owen Taylor <otaylor@redhat.com>
910 * viewer/* backend/* configure.ac Makefile.am: Move viewer directory
911 to backend/ directory, rename EvViewer to EvDocument.
913 2004-12-21 Havoc Pennington <hp@redhat.com>
915 * shell/ev-window.c: hook up the find bar widget; now we just need
916 a document to find things in
918 * shell/eggfindbar.c: a find bar widget
920 Tue Dec 21 17:20:16 2004 Jonathan Blandford <jrb@redhat.com>
922 * shell/ev-sidebar.[ch]: initial sidebar boilerplate.
924 Tue Dec 21 16:30:58 2004 Owen Taylor <otaylor@redhat.com>
926 * pdf/**: Import of xpdf code from gpdf.
928 * pdf/xpdf/xpdfconfig.h: Move the non-config.h config.h to xpdfconfig.h
930 * pdf/splash/SplashFTFont.{cc,h} pdf/splash/SplashFTFont.h
931 pdf/splash/SplashFTFontEngine.h pdf/splash/SplashFTFontFile.h:
932 Fix FreeType includes.
934 * pdf/xpdf/{Error.h GnomeVFSStream.cc ImageOutputDev.cc PDFDoc.cc\
935 pdffonts.cc pdfimages.cc pdfinfo.cc pdftoppm.cc pdftops.cc
936 pdftotext.cc PSOutputDev.cc PSOutputDev.h SplashOutputDev.h
937 Stream.cc TextOutputDev.cc XPDFApp.cc xpdf.cc XPDFViewer.cc
938 pdf/xpdf/Error.h PSOutputDev.h SplashOutputDev.h}:
941 Tue Dec 21 16:08:17 2004 Jonathan Blandford <jrb@redhat.com>
943 * shell/ev-window.c (ev_window_dispose): dispose can be called
946 2004-12-21 Havoc Pennington <hp@redhat.com>
948 * shell/ev-window.c (ev_window_init): set title to Document Viewer
951 * data/evince-ui.xml, shell/ev-window.c: add a bunch of stub menu
952 items; really they should be synced with the strings, etc. from
953 current gpdf, but just getting the boring typing out of the way
955 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
958 * shell/ev-application.c: (window_destroy_cb):
960 * shell/main.c: (main):
962 Actually show the window...
964 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
968 * shell/ev-application.c: (ev_application_class_init):
969 * shell/ev-window.c: (ev_window_dispose), (ev_window_class_init):
973 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
977 * Remove copies of gpdf and ggv trees.
978 * Rip out all the recursive configure code.
979 * Remove bonobo machinery.
980 * viewer/*: GInterfaces that backends should/can implement.
982 2004-11-09 Martin Kretzschmar <m_kretzschmar@gmx.net>
984 * shell/ev-window.c (ev_window_cmd_help_about): fix "documentors"
987 2004-10-28 Martin Kretzschmar <m_kretzschmar@gmx.net>
989 * shell/ev-application.c (EV_APPLICATION_GET_PRIVATE)
990 (ev_application_finalize, ev_application_class_init)
991 (ev_application_init): use GType instance private data for priv.
993 * shell/ev-window.c (EV_WINDOW_GET_PRIVATE)
994 (ev_window_finalize, ev_window_class_init)
995 (ev_window_init): ditto.
997 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
999 * shell/ev-application.c (ev_application_new_window): make public
1000 (ev_application_show_initial_window): kill.
1002 * shell/ev-application.h: update prototypes.
1004 * shell/main.cc (main): inline ev_application_show_initial_window.
1006 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
1008 * shell/ev-application.c (ev_application_new_window): impl.
1009 (ev_application_show_initial_window): use it.
1010 (is_window_empty, ev_application_get_empty_window): returns an
1011 existing empty window or a new one.
1012 (ev_application_open): from ev_window_cmd_file_open.
1014 * shell/ev-application.h: update prototypes
1016 * shell/ev-window.c (ev_window_is_empty): impl.
1017 (ev_window_open): make public.
1018 (ev_window_cmd_file_open): use ev_application_open
1020 * shell/ev-window.h: update prototypes, remove unused.
1022 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
1024 * shell/ev-window.c (ev_window_destroy, ev_window_class_init):
1025 move destroy handler out of here...
1027 * shell/ev-application.c, shell/ev-application.h: ...into this new
1028 class. Also handles initial window creation.
1030 * shell/main.cc (main): use EvApplication to create initial
1033 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
1035 * Makefile.am (SUBDIRS): add cut-n-paste
1037 * cut-n-paste/Makefile.am: add
1039 * configure.ac: generate Makefiles in cut-n-paste
1041 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
1043 * shell/ev-window.c (ev_window_dispose): new, unref the ui_manager
1044 (ev_window_class_init): install ev_window_dispose.
1046 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
1048 * shell/ev-window.h, shell/ev-window.c: replace gchar with
1049 char (gchar looks stupid).
1051 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
1053 * po/de.po: updated German translation.
1055 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
1057 * configure.ac: add more pkg-config library checks for gnome-vfs,
1060 * gpdf/configure.in: temporarily disable libpaper
1061 checks. Otherwise I'd have to add the checks for the shell, too.
1063 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1065 * shell/ev-window.c (ev_window_cmd_file_open): add ps+pdf, ps, pdf
1066 and * file filters to the file choose.
1068 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1070 * po/de.po: Updated German translation.
1072 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1074 * shell/ev-window.c: use "S" as mnemonic for Statusbar.
1076 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1078 * data/evince-ui.xml: add View->Toolbar and View->Statusbar.
1080 * shell/ev-window.c (menu_item_select_cb, menu_item_select_cb)
1081 (ev_window_init): implement those menuitems.
1083 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1085 * data/evince-ui.xml: add a toolbar (with FileOpen action)
1087 * shell/ev-window.c (ev_window_init): use the toolbar.
1089 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1091 * shell/ev-window.c (ev_window_init): use menu translations
1093 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1095 * configure.ac: add "de" to ALL_LINGUAS.
1097 * po/de.po: add German translation.
1099 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1101 * Makefile.am (SUBDIRS): add po
1103 * configure.ac: check intltool, glib-gettext etc, generate
1106 * po, po/POTFILES.in, po/POTFILES.skip: new.
1108 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1110 * shell/Makefile.am (INCLUDES): define GNOMELOCALEDIR which we
1111 already use (#ifdef ENABLE_NLS)
1113 * shell/ev-window.c (ev_window_cmd_help_about): fix two star
1114 pointer indirection thinko.
1116 * shell/main.c: include gi18n.h for bindtextdomain etc.
1118 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1120 * shell/ev-window.c (menu_item_select_cb, menu_item_deselect_cb)
1121 (connect_proxy_cb, disconnect_proxy_cb, ev_window_init): show
1122 tooltips for menu items in the statusbar.
1124 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1126 * configure.ac, data/Makefile.am, shell/Makefile.am: use
1127 pkgdatadir drop UIDIR
1129 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1131 * data/evince-ui.xml: Add File->Open menu item
1133 * shell/ev-window.c (ev_window_cmd_file_open): impl. (shows a file
1134 chooser), hook it up in the ui manager.
1136 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1138 * shell/ev-window.c: fix Help->About tooltip.
1140 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1142 * configure.ac: set CFLAGS for libevprivate.
1144 * lib/ev-stock-icons.h, lib/ev-stock-icons.c: stock icon
1145 definitions, factory etc.
1147 * lib/Makefile.am: build libevprivate.a (only stock icon code).
1149 * shell/Makefile.am: link against libevprivate.a.
1151 * shell/ev-window.c (entries): add stock icon to Help->About.
1153 * shell/main.c (main): init stock icon code.
1155 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1157 * lib/recent-files: egg recent files code
1159 * lib/Makefile.am: add.
1161 * Makefile.am: add lib subdir.
1163 * configure.ac: gen. lib/Makefile and lib/recent-files/Makefile,
1164 set CFLAGS for recent-files.
1166 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1168 * configure.ac: disable -ansi and -pedantic gcc flags. They
1169 disable POSIX stuff in stdio.h, but egg-recent uses them.
1171 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1173 * configure.ac: add --disable-deprecated flag (defaults to on in
1176 * shell/Makefile.am (INCLUDES): use it.
1178 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1180 * shell/main.c: add missing #include.
1182 * shell/ev-window.c: fix for pedantic gcc.
1183 (ev_window_cmd_help_about): split license into paragraphs for
1184 translators and pedantic compilers.
1186 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1188 * configure.ac: add more warning flags if compiling with gcc from
1189 cvs (or explicitly requested with --enable-more-warnings).
1191 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1193 * data/evince-ui.xml: add File and File->Close menu.
1195 * shell/ev-window.c (ev_window_cmd_file_close_window): impl.
1196 (ev_window_destroy): quit after destroy.
1197 (ev_window_class_init): override GtkObject::destroy.
1198 (entries): install close_window callback.
1200 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1202 * Makefile.am (SUBDIRS): add data subdir.
1204 * configure.ac (UIDIR): gen data/Makefile, define UIDIR. Require
1205 gtk+ 2.5.0 for GtkAboutDialog.
1207 * data/Makefile.am, data/evince-ui.xml: add, ui definition for the
1210 * shell/Makefile.am (INCLUDES): propagate UIDIR definition.
1212 * shell/ev-window.c (ev_window_init): create a menubar, using a ui
1214 (ev_window_cmd_help_about): about command, using GtkAboutDialog.
1216 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1218 * shell/ev-window.c, shell/ev-window.h: Created an EvWindow class.
1220 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
1222 * shell/main.c: make it a trivial gtk+ program, adjust configure.ac
1224 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
1226 * shell/*: Added shell directory boilerplate, build it.
1228 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
1230 * configure.ac, Makefile.am: Added top-level configure.ac and