1 2005-01-19 Marco Pesenti Gritti <marco@gnome.org>
7 Wed Jan 19 01:10:57 2005 Jonathan Blandford <jrb@redhat.com>
10 * backend/ev-document-links.h:
11 * backend/ev-document-security.c: (ev_document_security_get_type),
12 (ev_document_security_has_document_security),
13 (ev_document_security_set_password):
14 * backend/ev-document-security.h:
15 * backend/ev-document.c: (ev_document_error_quark):
16 * backend/ev-document.h:
18 * data/evince-password.glade:
19 * pdf/xpdf/pdf-document.cc:
21 * shell/ev-password.c: (ev_password_set_bad_password_label),
22 (ev_window_password_entry_changed_cb), (ev_password_dialog_new),
23 (ev_password_dialog_get_password),
24 (ev_password_dialog_set_bad_pass):
25 * shell/ev-password.h:
26 * shell/ev-window.c: (ev_window_get_attribute),
27 (ev_window_set_property), (update_action_sensitivity),
28 (ev_window_is_empty), (mime_type_supported_by_gdk_pixbuf),
29 (ev_window_setup_document), (ev_window_get_password),
30 (ev_window_open), (ev_window_cmd_save_as),
31 (using_postscript_printer), (ev_window_print),
32 (find_not_supported_dialog), (ev_window_cmd_edit_find),
33 (update_fullscreen_popup), (ev_window_fullscreen),
34 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
35 (ev_window_focus_out_cb), (ev_window_cmd_help_about),
36 (menu_item_select_cb), (find_bar_search_changed_cb),
37 (ev_window_dispose), (ev_window_init):
39 Add initial support for password-supported dialogs. This could be
40 a lot cooler, but it'll do for now.
42 2005-01-18 Marco Pesenti Gritti <marco@gnome.org>
44 * pdf/xpdf/pdf-document.cc:
45 * shell/ev-view.c: (status_message_from_link),
46 (ev_view_set_status), (ev_view_set_cursor),
47 (ev_view_motion_notify_event), (ev_view_init):
48 * shell/ev-window.c: (view_status_changed_cb), (ev_window_init):
50 Fix bugs in the links implementation and change cursor
53 2005-01-17 Bryan Clark <clarkbw@cvs.gnome.org>
55 * viewer/.cvsignore: added cvsignore file for viewer directory
57 * TODO: created TODO document
59 2005-01-14 Dave Malcolm <dmalcolm@redhat.com>
62 * shell/ev-view.c (ev_view_can_go_back), (ev_view_can_go_forward):
63 new functions to help with implementation of sensitivity code
64 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
65 of all actions that might require it. Fixes a crash when you
66 click on the Zoom actions in a window lacking a document.
68 2005-01-13 Dave Malcolm <dmalcolm@redhat.com>
70 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
73 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
75 * pixbuf/pixbuf-document.c: (pixbuf_document_get_link),
76 (pixbuf_document_document_iface_init):
77 * ps/ps-document.c: (ps_document_get_link),
78 (ps_document_document_iface_init):
79 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event),
80 (status_message_from_link), (ev_view_set_status),
81 (ev_view_set_find_status), (ev_view_motion_notify_event),
82 (ev_view_button_release_event), (ev_view_set_property),
83 (ev_view_get_property), (ev_view_class_init), (ev_view_init),
84 (ev_view_get_find_status_message), (update_find_results),
85 (ev_view_get_status), (ev_view_get_find_status):
87 * shell/ev-window.c: (view_status_changed_cb),
88 (view_find_status_changed_cb), (ev_window_init):
90 View status message support, use it to show the links.
93 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
95 * backend/ev-document.c: (ev_document_get_link):
96 * backend/ev-document.h:
97 * pdf/xpdf/pdf-document.cc:
98 * shell/ev-application.c: (ev_application_open):
99 * shell/ev-application.h:
100 * shell/ev-sidebar-links.c: (selection_changed_cb):
101 * shell/ev-view.c: (ev_view_button_release_event), (go_to_link),
102 (ev_view_go_to_link):
104 Add support for document links
106 2005-01-13 Anders Carlsson <andersca@gnome.org>
108 * shell/ev-page-action.c: (update_spin), (total_pages_changed_cb),
110 Set the spin button limits correctly.
112 * shell/ev-sidebar-thumbnails.c:
113 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init):
114 Support changing pages by clicking on the thumbnails.
116 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
118 * pixbuf/pixbuf-document.c:
119 (pixbuf_document_thumbnails_get_dimensions),
120 (pixbuf_document_document_thumbnails_iface_init):
122 implement get_dimensions
124 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
126 * ps/ps-document.c: (ps_document_goto_page):
128 Fix page switching on multipage documents
130 2005-01-12 Jeff Muizelaar <jrmuizel@nit.ca>
132 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
134 check for NULL before assigning to width and height parameters
136 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
138 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
139 (pixbuf_document_set_property), (pixbuf_document_get_property):
141 implement get/set properties
143 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
145 * pdf/xpdf/pdf-document.cc: (pdf_info_dict_get_string):
147 return NULL instead of "Unknown", letting the title get set to
148 the filename when the pdf has no title.
150 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
152 * ps/ps-document.c: (ps_document_get_page_count),
153 (ps_document_goto_page):
155 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
157 * shell/ev-history.c: (ev_history_get_property),
158 (ev_history_set_property), (ev_history_class_init),
159 (ev_history_add_page), (ev_history_set_current_index):
160 * shell/ev-navigation-action.c: (ev_navigation_action_set_history),
161 (activate_menu_item_cb), (new_history_menu_item), (build_menu),
162 (ev_navigation_action_finalize):
163 * shell/ev-navigation-action.h:
164 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
165 (ev_view_go_forward), (ev_view_get_find_status_message),
166 (history_index_changed_cb), (ev_view_set_history):
168 * shell/ev-window.c: (update_total_pages), (ev_window_open),
169 (update_current_page), (register_custom_actions):
171 Implement history dropdowns
173 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
175 * shell/ev-history.c: (ev_history_init), (ev_history_add_link):
176 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
177 (ev_view_go_forward):
178 * shell/ev-window.c: (register_custom_actions):
180 Fix several history bugs
182 2005-01-11 Kjartan Maraas <kmaraas@gnome.org>
184 * configure.ac: Add «nb» to ALL_LINGUAS.
186 2005-01-10 Marco Pesenti Gritti <marco@gnome.org>
188 * backend/Makefile.am:
189 * backend/ev-bookmark.c:
190 * backend/ev-bookmark.h:
191 * backend/ev-document-bookmarks.c:
192 * backend/ev-document-bookmarks.h:
193 * backend/ev-document-links.c: (ev_document_links_get_type),
194 (ev_document_links_has_document_links),
195 (ev_document_links_begin_read), (ev_document_links_get_link),
196 (ev_document_links_get_child), (ev_document_links_next),
197 (ev_document_links_free_iter):
198 * backend/ev-document-links.h:
199 * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_title),
200 (ev_link_set_title), (ev_link_get_uri), (ev_link_set_uri),
201 (ev_link_get_link_type), (ev_link_set_link_type),
202 (ev_link_get_page), (ev_link_set_page), (ev_link_get_property),
203 (ev_link_set_property), (ev_window_dispose), (ev_link_init),
204 (ev_link_class_init), (ev_link_new_title), (ev_link_new_page),
205 (ev_link_new_external):
207 * pdf/xpdf/pdf-document.cc:
209 * shell/ev-application.c: (ev_application_open_link):
210 * shell/ev-application.h:
211 * shell/ev-history.c: (ev_history_add_link), (ev_history_add_page),
212 (ev_history_get_link_nth):
213 * shell/ev-history.h:
214 * shell/ev-sidebar-bookmarks.c:
215 * shell/ev-sidebar-bookmarks.h:
216 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
217 (ev_sidebar_links_class_init), (selection_changed_cb),
218 (ev_sidebar_links_construct), (ev_sidebar_links_init),
219 (links_page_num_func), (ev_sidebar_links_new), (stack_data_free),
220 (do_one_iteration), (populate_links_idle),
221 (ev_sidebar_links_clear_document), (ev_sidebar_links_set_document):
222 * shell/ev-sidebar-links.h:
223 * shell/ev-sidebar.c: (ev_sidebar_set_document):
224 * shell/ev-view.c: (go_to_link), (ev_view_go_to_link),
227 * shell/ev-window.c: (ev_window_open_link), (ev_window_init):
230 Rename bookmark to link, and use "Index" for the sidebar panel.
232 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
235 * shell/ev-application.c: (ev_application_open_bookmark):
236 * shell/ev-application.h:
237 * shell/ev-history.c: (ev_history_init), (free_links_list),
238 (ev_history_finalize), (ev_history_class_init),
239 (ev_history_add_link), (ev_history_add_page),
240 (ev_history_get_link_nth), (ev_history_get_n_links),
241 (ev_history_get_current_index), (ev_history_set_current_index),
243 * shell/ev-history.h:
244 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
245 * shell/ev-view.c: (ev_view_finalize), (ev_view_set_document),
246 (set_document_page), (go_to_bookmark), (ev_view_go_to_bookmark),
247 (go_to_index), (ev_view_go_back), (ev_view_go_forward),
250 * shell/ev-window.c: (ev_window_open_bookmark),
251 (ev_window_cmd_go_back), (ev_window_cmd_go_forward),
252 (goto_page_cb), (register_custom_actions):
255 Initial history implementation. Needs work.
257 2005-01-09 Martin Kretzschmar <martink@gnome.org>
259 * pdf/xpdf/GDKSplashOutputDev.cc (redraw): fix pixbuf data offset.
261 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
263 * cut-n-paste/recent-files/egg-recent-item.c:
264 * cut-n-paste/recent-files/egg-recent-item.h:
265 * cut-n-paste/recent-files/egg-recent-model.c:
266 * cut-n-paste/recent-files/egg-recent-util.c:
267 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
268 * cut-n-paste/recent-files/egg-recent-view.c:
272 2005-01-08 Martin Kretzschmar <martink@gnome.org>
274 * pdf/splash/Splash.cc (clear, drawPixel, drawSpan, xorSpan, getPixel)
275 (fillGlyph, fillImageMask, drawImage):
276 pdf/splash/SplashBitmap.cc (SplashBitmap, ~SplashBitmap, writePNMFile):
277 pdf/splash/SplashTypes.h:
278 pdf/xpdf/SplashOutputDev (startPage, getColor, imageSrc): implement RGB8
279 packed mode for Splash.
281 * pdf/xpdf/GDKSplashOutputDev.cc (GDKSplashOutputDev, redraw): use
282 RGB8 packed mode, eliminates the pixbuf data creation loop.
284 * shell/ev-print-job.c (ev_print_job_finalize)
285 (ev_print_job_set_property, ev_print_job_get_property)
286 (ev_print_job_set_gnome_print_job, ev_print_job_set_document)
287 (ev_print_job_use_print_dialog_settings, idle_print_handler)
288 (print_closure_finalize, ev_print_job_print): implement
289 printing (for backends with EvPsExporter)
291 * shell/ev_print_job.h: update prototypes.
293 * shell/ev-window.c (ev_window_print): unref print job after
296 * shell/ev-view.c (ev_view_set_document): don't connect to "found"
297 unless the document implements the EvDocumentFind interface.
299 2005-01-08 Satoru SATOH <ss@gnome.gr.jp>
301 * configure.ac: Added ja to ALL_LINGUAS.
303 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
305 * pdf/xpdf/pdf-document.cc:
307 add a FIXME. We should probably not allocate
308 a bookmark object every time
310 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
312 * shell/ev-application.c: (ev_application_open),
313 (ev_application_open_bookmark):
314 * shell/ev-application.h:
316 Add a way to open bookmarks
318 * backend/ev-bookmark.c: (ev_bookmark_get_uri),
319 (ev_bookmark_set_uri), (ev_bookmark_get_property),
320 (ev_bookmark_set_property), (ev_bookmark_class_init),
321 (ev_bookmark_new_title), (ev_bookmark_new_link),
322 (ev_bookmark_new_external):
324 Support for external uris, better constructors.
326 * backend/ev-bookmark.h:
327 * pdf/xpdf/pdf-document.cc:
328 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
332 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
334 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb),
335 (ev_sidebar_bookmarks_construct), (do_one_iteration):
337 Hook up bookmarks navigation
339 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
341 * backend/Makefile.am:
342 * backend/ev-bookmark.c: (ev_bookmark_type_get_type),
343 (ev_bookmark_get_title), (ev_bookmark_set_title),
344 (ev_bookmark_get_bookmark_type), (ev_bookmark_set_bookmark_type),
345 (ev_bookmark_get_page), (ev_bookmark_set_page),
346 (ev_bookmark_get_property), (ev_bookmark_set_property),
347 (ev_window_dispose), (ev_bookmark_init), (ev_bookmark_class_init),
349 * backend/ev-bookmark.h:
350 * backend/ev-document-bookmarks.c:
351 (ev_document_bookmarks_get_bookmark):
352 * backend/ev-document-bookmarks.h:
353 * pdf/xpdf/pdf-document.cc:
354 * shell/ev-sidebar-bookmarks.c: (do_one_iteration):
356 Add a bookmark object to the backend and use it instead of get_values
358 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
360 * data/evince-ui.xml:
362 Cleanup and add select all.
364 * shell/ev-view.c: (ev_view_select_all),
365 (ev_view_button_press_event):
367 * shell/ev-window.c: (ev_window_cmd_edit_select_all):
370 Clear selection on click.
372 Fri Jan 7 01:28:58 2005 Jonathan Blandford <jrb@redhat.com>
374 * shell/ev-sidebar-thumbnails.c
375 (ev_sidebar_thumbnails_set_document): forgot to unref the
378 Fri Jan 7 01:22:48 2005 Jonathan Blandford <jrb@redhat.com>
380 * shell/ev-sidebar-thumbnails.c: fill in the thumbnails starting
381 at the visible page, not just linearly. This makes it look fast.
383 Thu Jan 6 18:48:11 2005 Jonathan Blandford <jrb@redhat.com>
385 * backend/ev-document-misc.c
386 (ev_document_misc_get_thumbnail_frame): fill in the thumbnail with
388 * backend/ev-document-thumbnails.h: New interface to get the size
391 2005-01-06 Jeremy Katz <katzj@redhat.com>
393 * shell/Makefile.am (evince_SOURCES): Add ev-utils.[ch] so that
396 Wed Jan 5 15:38:28 2005 Jonathan Blandford <jrb@redhat.com>
398 * pdf/xpdf/pdf-document.cc (bitmap_to_pixbuf): bypass
399 GDKSplashOutputDev and just use a normal SplashOutputDev. Speeds
402 * shell/ev-sidebar-thumbnail.c: start of some profiling code.
404 2005-01-05 Martin Kretzschmar <martink@gnome.org>
406 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): match only outline
407 fonts. Should fix font problems on systems that have the base
408 fonts in bitmap format. Reported by James Henstridge
409 <james@jamesh.id.au>.
411 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
414 * pdf/xpdf/GfxState.cc:
416 Fix for CAN-2004-1125
418 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
420 * shell/ev-view.c: (ev_view_copy):
422 * shell/ev-window.c: (ev_window_cmd_edit_copy):
426 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
428 * backend/ev-document.c: (ev_document_get_text):
429 * backend/ev-document.h:
430 * pdf/xpdf/pdf-document.cc:
431 * shell/ev-view.c: (ev_view_realize), (expose_bin_window),
432 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
433 (ev_view_update_primary_selection), (ev_view_button_press_event),
434 (ev_view_motion_notify_event), (ev_view_button_release_event):
436 Beginnings of clipboard support. Incomplete but primary sort
439 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
441 * shell/ev-view.c: (ev_gdk_color_to_rgb), (draw_rubberband),
444 Nicer rubberband drawing, from GtkIconView.
446 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
448 * backend/ev-document.c: (ev_document_save):
449 * backend/ev-document.h:
450 * data/evince-ui.xml:
451 * pdf/xpdf/pdf-document.cc:
452 * shell/ev-window.c: (save_error_dialog), (ev_window_cmd_save_as):
454 Implement "Save a copy..." menu item
456 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
458 * shell/ev-view.c: (ev_view_zoom):
460 Queue a resize when zoom changes
462 Wed Jan 5 02:33:06 2005 Jonathan Blandford <jrb@redhat.com>
464 * backend/ev-document-misc.[ch]: New misc file to do simple drop
467 * pdf/xpdf/pdf-document.cc: use the drop shadows in both types of
470 Tue Jan 4 22:32:32 2005 Jonathan Blandford <jrb@redhat.com>
472 * pdf/xpdf/pdf-document.cc
473 (pdf_document_thumbnails_get_page_pixbuf): poor man's dropshadow.
475 Tue Jan 4 21:25:05 2005 Jonathan Blandford <jrb@redhat.com>
477 * pdf/xpdf/pdf-document.cc: Do real thumbnailing of PDF files.
478 It's slow, but I'll speed it up next!
480 2005-01-04 Jeff Muizelaar <jrmuizel@nit.ca>
482 * shell/main.c (load_files):
484 use gnome_vfs_make_uri_from_shell_arg so that relative paths work
485 from the command line and because it seems more appropriate.
487 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
489 * data/evince-ui.xml:
490 * shell/ev-window.c: (update_action_sensitivity),
491 (ev_window_cmd_go_page_up), (ev_window_cmd_go_page_down):
493 s/next page/page down
494 s/previous page/page up
496 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
498 * data/evince-ui.xml:
500 Change the layout to match clarkbw design.
503 * shell/ev-navigation-action.c: (build_menu), (menu_activated_cb),
504 (set_tooltip_cb), (connect_proxy), (ev_navigation_action_init),
505 (ev_navigation_action_finalize),
506 (ev_navigation_action_set_property),
507 (ev_navigation_action_get_property),
508 (ev_navigation_action_class_init):
509 * shell/ev-navigation-action.h:
511 Implement clarkbw toolbar navigation controls (incomplete)
513 * shell/ev-page-action.c: (update_label), (update_spin),
514 (value_changed_cb), (create_tool_item), (connect_proxy),
515 (ev_page_action_init), (ev_page_action_finalize),
516 (ev_page_action_set_property), (ev_page_action_get_property),
517 (ev_page_action_set_current_page),
518 (ev_page_action_set_total_pages), (ev_page_action_class_init):
519 * shell/ev-page-action.h:
521 Implement a page switcher in the toolbar
523 * shell/ev-view.c: (ev_view_scroll_view):
524 * shell/ev-window.c: (update_total_pages), (ev_window_open),
525 (update_current_page), (view_page_changed_cb), (goto_page_cb),
526 (register_custom_actions), (ev_window_init):
528 Change page on PageUp/Down.
530 Tue Jan 4 03:22:56 2005 Jonathan Blandford <jrb@redhat.com>
532 * pdf/xpdf/pdf-document.cc
533 (pdf_document_thumbnails_get_thumbnail): initial stab at
534 implementing thumbnail support for pdfs. It only does documents
535 with precached pdfs now.
537 Mon Jan 3 17:22:25 2005 Jonathan Blandford <jrb@redhat.com>
539 * shell/ev-sidebar-thumbnails.c (do_one_iteration): move the
540 thumbnail code into a time-based idle as well. Also, turn off the
541 shadow temporarily as it's really slow.
543 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
545 * backend/ev-document.c: (ev_document_class_init):
546 * pdf/xpdf/pdf-document.cc:
547 * shell/ev-window.c: (ev_window_open):
549 Fix document title bugs and fallback to
550 filename when not available.
552 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
554 * backend/ev-document.c: (ev_document_get_type),
555 (ev_document_class_init), (ev_document_load),
556 (ev_document_get_title):
557 * backend/ev-document.h:
558 * pdf/xpdf/pdf-document.cc:
559 * ps/ps-document.c: (ps_document_set_property),
560 (ps_document_get_property), (ps_document_class_init),
564 * shell/ev-window.c: (update_window_title), (ev_window_open),
567 Initial support for document title. Not working yet.
569 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
571 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event):
573 Grab focus on the view when clicking it
575 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
577 * shell/ev-marshal.list:
578 * shell/ev-view.c: (ev_view_realize), (add_scroll_binding),
579 (ev_view_scroll_view), (ev_view_class_init), (ev_view_init):
581 Add key bindings to the view. Now if the focus would work
584 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
587 * backend/Makefile.am:
590 * dvi/dvilib/Makefile.am:
591 * pdf/xpdf/Makefile.am:
597 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
599 * shell/ev-view.c: (ev_view_realize):
601 Fix mouse wheel scrolling
603 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
609 * ps/ps-document.c: (catchPipe), (ps_document_init),
610 (ps_document_class_init), (ps_document_cleanup),
611 (ps_document_finalize), (send_ps), (ps_document_get_orientation),
612 (set_up_page), (close_pipe), (is_interpreter_ready),
613 (interpreter_failed), (output), (input), (start_interpreter),
614 (stop_interpreter), (file_length), (file_readable),
615 (check_filecompressed), (check_pdf), (compute_xdpi),
616 (compute_ydpi), (compute_size), (ps_document_enable_interpreter),
617 (ps_document_get_type), (ps_document_emit_error_msg),
618 (document_load), (ps_document_next_page),
619 (ps_document_get_current_page), (ps_document_get_page_count),
620 (ps_document_goto_page), (ps_document_set_page_size),
621 (ps_document_zoom_to_fit), (ps_document_set_zoom),
622 (ps_document_load), (ps_document_get_n_pages),
623 (ps_document_set_page), (ps_document_get_page),
624 (ps_document_widget_event), (ps_document_set_target),
625 (ps_document_set_scale), (ps_document_set_page_offset),
626 (ps_document_get_page_size), (ps_document_render),
627 (ps_document_document_iface_init):
630 * shell/ev-window.c: (ev_window_open):
632 Rename GtkGS to PSDocument
634 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
636 * ps/gtkgs.c: (gtk_gs_class_init):
639 Some more leftover...
641 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
643 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_get_orientation),
644 (output), (stop_interpreter), (gtk_gs_emit_error_msg),
645 (gtk_gs_zoom_to_fit), (gtk_gs_set_zoom):
648 Remove unused code and make a lot of stuff private
650 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
652 * ps/gsdefaults.c: (gtk_gs_defaults_gconf_client),
653 (gtk_gs_defaults_changed):
659 Cleanup headers dependencies
661 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
666 * ps/gsdefaults.c: (gtk_gs_defaults_get_paper_sizes):
668 * ps/gtkgs.c: (file_length), (file_readable),
669 (check_filecompressed), (check_pdf), (gtk_gs_load),
670 (gtk_gs_get_postscript):
674 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
679 * ps/gtkgs.c: (gtk_gs_set_zoom):
683 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
685 * ps/gtkgs.c: (gtk_gs_set_zoom), (gtk_gs_set_zoom_mode):
687 Ensure the page is rerendered when changing zoom
689 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
691 * backend/ev-document.c: (ev_document_base_init),
692 (ev_document_changed):
693 * backend/ev-document.h:
695 Add a changed event that is emitted when the page content
696 changes. This is necessary to deal with the fact that
697 in ps backend rendering happen asycrounously.
698 This makes the ps backend mostly work.
700 * pdf/xpdf/pdf-document.cc:
704 * ps/gtkgs.c: (set_up_page), (gtk_gs_widget_event),
705 (ps_document_set_target):
709 * shell/ev-view.c: (document_changed_callback),
710 (ev_view_set_document), (ev_view_set_page):
712 Redraw on the changed signal
714 2004-12-25 Raphael Higino <raphaelh@cvs.gnome.org>
716 * configure.ac: Added pt_BR to ALL_LINGUAS.
718 Fri Dec 24 00:48:44 2004 Jonathan Blandford <jrb@redhat.com>
720 * backend/ev-document-bookmarks.c:
721 (ev_document_bookmarks_get_child): *
722 backend/ev-document-bookmarks.h: * pdf/xpdf/Makefile.am: *
723 pdf/xpdf/pdf-document.cc: * pdf/xpdf/pdf-document.h: *
724 shell/Makefile.am: * shell/ev-sidebar-bookmarks.c:
725 (ev_sidebar_bookmarks_destroy),
726 (ev_sidebar_bookmarks_class_init),
727 (ev_sidebar_bookmarks_construct), (stack_data_free),
728 (do_one_iteration), (populate_bookmarks_idle),
729 (ev_sidebar_bookmarks_clear_document),
730 (ev_sidebar_bookmarks_set_document): *
731 shell/ev-sidebar-bookmarks.h: * shell/ev-sidebar.c:
732 (ev_sidebar_add_page),
733 (ev_sidebar_set_document): * shell/ev-window.c: (ev_window_open):
734 Initial stab at a bookmarks sidebar. It doesn't navigate yet, but
735 it displays both the topics and the page numbers.
737 2004-12-23 Kristian Høgsberg <krh@redhat.com>
739 * shell/ev-window.c (ev_window_view_sidebar_cb): Hook up sidebar
741 * shell/ev-window.c (toggle_entries): Set sidebar default value to
744 2004-12-23 Adam Weinberger <adamw@gnome.org>
746 * configure.ac: Added en_CA to ALL_LINGUAS.
748 2004-12-23 Martin Kretzschmar <martink@gnome.org>
750 * ChangeLog: replace bottom of this ChangeLog (merged history of
751 ggv and gpdf; where all paths were wrong and most of the files are
752 not even in this tree) with ChangeLog (from arch) of the shell
755 2004-12-23 Havoc Pennington <hp@redhat.com>
757 * shell/ev-window.c: hook up potentially-questionable "find
758 results status text" feature - something involving the sidebar or
759 scrollbar or a continuous all-pages-on-giant-roll-of-paper-view
760 might be better in the end.
762 * shell/ev-view.c (ev_view_get_find_status_message): new function,
763 with corresponding signal when it should be updated
765 * shell/eggfindbar.c (egg_find_bar_set_status_text): new function
767 2004-12-22 Havoc Pennington <hp@redhat.com>
769 * pdf/xpdf/pdf-document.cc (pdf_document_find_begin): make search
770 find stuff on other pages, sort of (only returns one result on
771 invisible pages, to show they have results; updates full results
772 for a page when you view it). Currently repaints the current page
773 every time a new result is found on any page, which isn't so nice.
775 2004-12-22 Havoc Pennington <hp@redhat.com>
777 * shell/ev-window.c (ev_window_cmd_edit_find): display an error if
778 the document doesn't support find (better ideas?)
779 (find_bar_search_changed_cb): handle missing document or document
780 that doesn't support find
782 * pdf/xpdf/pdf-document.cc: port to implement the new
785 * backend/ev-document-find.c: create a new interface for searching
787 * backend/ev-document.h, backend/ev-document.c: delete the find stuff
789 2004-12-23 Martin Kretzschmar <martink@gnome.org>
791 * pdf/xpdf/Makefile.am (libpdfdocument_la_LIBADD): add
794 * shell/ev-window.c (ev_window_print): add GnomePrintJob to
795 EvPrintJob constructor arguments.
797 * backend/ev-ps-exporter.c, backend/ev-ps-exporter.h: interface
798 for documents that can export PostScript (page by page).
800 * backend/Makefile.am (libevbackend_la_SOURCES): add them.
802 * pdf/xpdf/pdf-document.cc (pdf_document_ps_export_begin)
803 (pdf_document_ps_export_do_page, pdf_document_ps_export_end)
804 (pdf_document_ps_exporter_iface_init:
805 Implement EvPSExporter.
807 * pdf/xpdf/Makefile.am (libxpdf_la_SOURCES): build PSOutputDev.
809 2004-12-22 Anders Carlsson <andersca@gnome.org>
811 * backend/Makefile.am:
812 * backend/ev-document-thumbnails.c:
813 (ev_document_thumbnails_get_type),
814 (ev_document_thumbnails_get_thumbnail):
815 * backend/ev-document-thumbnails.h:
816 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
817 (pixbuf_document_thumbnails_get_thumbnail),
818 (pixbuf_document_document_thumbnails_iface_init):
820 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_destroy),
821 (ev_sidebar_thumbnails_class_init), (ev_sidebar_thumbnails_init),
822 (populate_thumbnails), (ev_sidebar_thumbnails_set_document):
823 * shell/ev-sidebar-thumbnails.h:
824 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
825 (ev_sidebar_set_document):
826 * shell/ev-utils.c: (gaussian), (create_blur_filter),
827 (create_shadow), (ev_pixbuf_add_shadow):
829 Add thumbnail support.
831 2004-12-22 Martin Kretzschmar <martink@gnome.org>
833 * shell/ev-window.c (ev_window_cmd_file_print, ev_window_print)
834 (using_postscript_printer): Set up a print dialog for "PostScript
837 * shell/ev-print-job.h, shell/ev-print-job.c: stub classes for
840 * shell/Makefile.am (evince_SOURCES): add ev-print-job.[ch]
842 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
844 * ps/gtkgs.c: (gtk_gs_init), (set_up_page),
845 (ps_document_set_target), (ps_document_get_page_size),
846 (ps_document_render):
851 2004-12-22 Christian Rose <menthos@menthos.com>
853 * configure.ac: Added "sv" to ALL_LINGUAS.
855 Wed Dec 22 14:47:38 2004 Jonathan Blandford <jrb@redhat.com>
857 * backend/ev-document-bookmarks.[ch]: new interface to indicate
858 document supports bookmarks.
860 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
862 * ps/ggvutils.c: (ggv_file_readable):
864 * ps/gtkgs.c: (check_filecompressed), (check_pdf),
865 (gtk_gs_get_postscript):
869 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
871 * ps/gtkgs.c: (gtk_gs_init), (gtk_gs_class_init), (gtk_gs_cleanup),
872 (gtk_gs_finalize), (gtk_gs_set_center), (set_up_page), (output),
873 (start_interpreter), (compute_size), (gtk_gs_enable_interpreter),
874 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_reload),
875 (gtk_gs_emit_error_msg), (gtk_gs_disable_interpreter),
876 (gtk_gs_load), (gtk_gs_goto_page), (gtk_gs_set_page_size),
877 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
878 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
879 (gtk_gs_set_antialiasing), (ps_document_load),
880 (ps_document_render):
883 Another check point for the ps backend. Now I can get it to show
886 Wed Dec 22 13:41:01 2004 Jonathan Blandford <jrb@redhat.com>
888 * shell/ev-sidebar.c (ev_sidebar_set_document): initial sidebar
889 document setting code.
891 2004-12-22 Anders Carlsson <andersca@gnome.org>
893 * shell/eggfindbar.c: (entry_activate_callback):
894 Animate the next button when activate is pressed.
896 2004-12-22 Anders Carlsson <andersca@gnome.org>
898 * shell/ev-window.c: (ev_window_cmd_edit_find),
899 (update_fullscreen_popup), (ev_window_fullscreen),
900 (ev_window_unfullscreen), (ev_window_state_event_cb),
901 (ev_window_focus_out_cb), (find_bar_close_cb), (ev_window_init):
902 Fix bugs in fullscreen code.
904 2004-12-22 Anders Carlsson <andersca@gnome.org>
908 * pixbuf/Makefile.am:
909 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
910 (pixbuf_document_load), (pixbuf_document_get_n_pages),
911 (pixbuf_document_set_page), (pixbuf_document_get_page),
912 (pixbuf_document_set_target), (pixbuf_document_set_scale),
913 (pixbuf_document_set_page_offset), (pixbuf_document_get_page_size),
914 (pixbuf_document_render), (pixbuf_document_begin_find),
915 (pixbuf_document_end_find), (pixbuf_document_finalize),
916 (pixbuf_document_class_init),
917 (pixbuf_document_document_iface_init), (pixbuf_document_init):
918 * pixbuf/pixbuf-document.h:
920 * shell/ev-application.c: (ev_application_open):
921 * shell/ev-window.c: (mime_type_supported_by_gdk_pixbuf),
925 Tue Dec 21 21:45:43 2004 Soeren Sandmann <sandmann@redhat.com>
928 * dvi/dvilib/Makefile.am:
930 * configure.ac: Auto*ify dvi and dvi/dvilib
932 * dvi/Makefile: Remove from CVS
934 * dvi/dvilib/dl-pkfont.cc (unpack_bitmap): Fix uchar/uint
937 * dvi/dvilib/dl-fontdefinition.{cc,hh}: New DviFontMap class
939 * dvi/dvilib/dl-vffont.{cc,hh}: Many bugfixes to VF code.
941 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
944 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_finalize),
945 (gtk_gs_value_adjustment_changed), (compute_size),
946 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_new_from_file),
947 (gtk_gs_center_page), (gtk_gs_load), (gtk_gs_set_page_size),
948 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
949 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
950 (gtk_gs_start_scroll), (gtk_gs_get_postscript),
951 (gtk_gs_set_adjustments), (gtk_gs_set_available_size),
952 (ps_document_load), (ps_document_get_n_pages),
953 (ps_document_set_page), (ps_document_get_page),
954 (ps_document_set_target), (ps_document_set_scale),
955 (ps_document_set_page_offset), (ps_document_get_page_size),
956 (ps_document_render), (ps_document_begin_find),
957 (ps_document_end_find), (ps_document_document_iface_init):
960 * shell/ev-window.c: (ev_window_open):
962 Some work to integrate gtkgs with EvDocument
964 2004-12-22 Anders Carlsson <andersca@gnome.org>
966 * shell/ev-window.c: (update_fullscreen_popup),
967 (screen_size_changed_cb), (destroy_exit_fullscreen_popup),
968 (exit_fullscreen_button_clicked_cb),
969 (fullscreen_popup_size_request_cb), (ev_window_fullscreen),
970 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
971 (ev_window_state_event_cb), (ev_window_init):
972 Add fullscreen support from Epiphany.
974 2004-12-22 Mark McLoughlin <mark@skynet.ie>
976 * data/ev-stock-zoom-fit-width.png: fit-width
977 stock icon from gpdf.
979 * shell/ev-stock-icons.[ch]: copied from gpdf.
981 * shell/main.c: (main): init stock icons.
983 * shell/ev-window.c: use the fit-width icon.
985 * data/evince-ui.xml: add zooming toolbar items.
987 2004-12-22 Mark McLoughlin <mark@skynet.ie>
990 (ev_view_best_fit), (ev_view_fit_width): because
991 get_page_size() returns the scaled page size, we
992 need to calculate the scale factor relative to
993 the previous scale factor. Should really just
994 add get_real_page_size().
996 2004-12-22 Mark McLoughlin <mark@skynet.ie>
998 * shell/ev-view.[ch]:
999 (ev_view_zoom), (ev_view_zoom_in), (ev_view_zoom_out),
1000 (ev_view_normal_size), (ev_view_best_fit), (ev_view_fit_width):
1003 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
1004 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_normal_size),
1005 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width):
1008 * pdf/xpdf/pdf-document.cc:
1009 (pdf_document_begin_find),
1010 (pdf_document_end_find): make static.
1012 2004-12-22 Martin Kretzschmar <martink@gnome.org>
1014 * pdf/xpdf/GlobalParams.h (setupBaseFontsFc): add prototype.
1016 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): maps base font
1017 names to fontconfig patterns.
1018 (setupBaseFontsFc): setupBaseFonts reimplemented using fontconfig.
1020 * pdf/xpdf/pdf-document.cc (pdf_document_load): use
1023 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
1039 Import ggv backend. Not hooked up yet.
1041 2004-12-22 Mark McLoughlin <mark@skynet.ie>
1043 * shell/main.c: (load_files), (main): load files
1044 from the command line.
1046 2004-12-22 Mark McLoughlin <mark@skynet.ie>
1048 * configure.ac: don't require bonobo.
1050 * cut-n-paste/recent-files/*: kill bonobo recent
1053 * shell/ev-window.c:
1054 (ev_window_is_empty): upd.
1055 (unable_to_load), (ev_window_open): load backend
1056 based on the mime type.
1058 2004-12-22 Martin Kretzschmar <martink@gnome.org>
1060 * backend/.cvsignore: ignore generated marshalers source.
1062 * shell/main.c (main): this is not epiphany.
1064 2004-12-22 Havoc Pennington <hp@redhat.com>
1066 * shell/ev-view.c (ev_view_set_document): connect to "found" signal
1067 (expose_bin_window): draw find highlights
1069 * shell/ev-window.c (find_bar_search_changed_cb): implement
1071 * pdf/xpdf/pdf-document.cc (pdf_document_begin_find)
1072 (pdf_document_end_find): implement this interface
1074 * backend/ev-document.c (ev_document_found): add this to emit
1077 Tue Dec 21 23:57:37 2004 Owen Taylor <otaylor@redhat.com>
1079 * data/evince-ui.xml: Add a few more toolbar items.
1081 * shell/ev-window.c: Hook up page navigation toolbar
1084 * shell/ev-view.[ch]: add ev_view_set/get_page and
1085 a page-changed signal.
1087 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc::
1088 Add ev_document_get_page().
1090 * shell/ev-window.c: Sensitize/desensitize navigation
1093 2004-12-21 Havoc Pennington <hp@redhat.com>
1095 * backend/ev-backend-marshal.c,
1096 backend/ev-backend-marshalers.list, backend/Makefile.am: add
1097 marshaler-generator thingy. I'm sure there's a better way to do
1098 this in the modern world.
1100 * backend/ev-document.h (struct _EvDocumentIface): add begin_find,
1101 end_find methods and "found" signal.
1103 * configure.ac: find glib-genmarshal
1105 Tue Dec 21 23:20:35 2004 Jonathan Blandford <jrb@redhat.com>
1107 * shell/ev-sidebar.c: Construct an actual sidebar.
1108 * shell/ev-sidebar-bookmarks.[ch]:
1109 * shell/ev-sidebar-thumbnails.[ch]: Stub out sidebars.
1111 Tue Dec 21 23:05:51 2004 Owen Taylor <otaylor@redhat.com>
1113 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc:
1116 * shell/ev-view.c: Track the size from the document.
1118 Tue Dec 21 22:17:04 2004 Owen Taylor <otaylor@redhat.com>
1120 * pdf/xpdf/pdf-document.cc (pdf_document_load): PDFDoc
1121 constructor assumes ownership of the string passed in.
1123 * shell/ev-window.c (ev_window_open): Destroy the error
1124 dialog once we've displayed it.
1126 Tue Dec 21 21:58:56 2004 Owen Taylor <otaylor@redhat.com>
1128 * pdf/xpdf/pdf-document.cc shell/ev-view.c: Hook things up
1129 a bit, it works! (sort of)
1131 * pdf/xpdf/Makefile.am pdf/xpdf/pdf-document.cc:
1132 Move to .cc since we need to use C++ in the implementation.
1134 * shell/dummy.cc: Add a CC file to force evince
1135 to be linked as a C++ program.
1137 Tue Dec 21 21:07:55 2004 Owen Taylor <otaylor@redhat.com>
1139 * shell/ev-view.[ch]: Start of content-area widget.
1141 * shell/ev-window.c: Create a EvView, update it
1142 as we change documents.
1144 * shell/Makefile.am shell/ev-marshal.list: Add
1145 generated marshalers.
1147 Tue Dec 21 20:28:11 2004 Jonathan Blandford <jrb@redhat.com>
1149 * Makefile.am (SUBDIRS): move shell.
1151 Tue Dec 21 19:28:55 2004 Owen Taylor <otaylor@redhat.com>
1153 * pdf/{goo,fofi,splash,xpdf}/Makefile.am: Switch from
1154 .a to libtool convenience libraries.
1156 * shell/ev-window.c (ev_window_open): Hard code loading
1159 * backend/ev-document.h: Add a boolean return to load(),
1160 fix GError * to GError **.
1162 * pdf/xpdf/pdf-document.[ch] Makefile.am: Add a stub
1163 object for a PDF backend EvDocument.
1165 Tue Dec 21 18:55:06 2004 Søren Sandmann <sandmann@redhat.com>
1167 * dvi/*: New directory with the beginning of a .dvi backend.
1169 2004-12-21 Havoc Pennington <hp@redhat.com>
1171 * shell/eggfindbar.c (egg_find_bar_init): change buttons to
1172 previous/next instead of back/forward
1174 Tue Dec 21 18:26:24 2004 Owen Taylor <otaylor@redhat.com>
1176 * backend/ev-document.[ch]: Fix a couple of problems so
1179 Tue Dec 21 18:20:40 2004 Owen Taylor <otaylor@redhat.com>
1181 * viewer/* backend/* configure.ac Makefile.am: Move viewer directory
1182 to backend/ directory, rename EvViewer to EvDocument.
1184 2004-12-21 Havoc Pennington <hp@redhat.com>
1186 * shell/ev-window.c: hook up the find bar widget; now we just need
1187 a document to find things in
1189 * shell/eggfindbar.c: a find bar widget
1191 Tue Dec 21 17:20:16 2004 Jonathan Blandford <jrb@redhat.com>
1193 * shell/ev-sidebar.[ch]: initial sidebar boilerplate.
1195 Tue Dec 21 16:30:58 2004 Owen Taylor <otaylor@redhat.com>
1197 * pdf/**: Import of xpdf code from gpdf.
1199 * pdf/xpdf/xpdfconfig.h: Move the non-config.h config.h to xpdfconfig.h
1201 * pdf/splash/SplashFTFont.{cc,h} pdf/splash/SplashFTFont.h
1202 pdf/splash/SplashFTFontEngine.h pdf/splash/SplashFTFontFile.h:
1203 Fix FreeType includes.
1205 * pdf/xpdf/{Error.h GnomeVFSStream.cc ImageOutputDev.cc PDFDoc.cc\
1206 pdffonts.cc pdfimages.cc pdfinfo.cc pdftoppm.cc pdftops.cc
1207 pdftotext.cc PSOutputDev.cc PSOutputDev.h SplashOutputDev.h
1208 Stream.cc TextOutputDev.cc XPDFApp.cc xpdf.cc XPDFViewer.cc
1209 pdf/xpdf/Error.h PSOutputDev.h SplashOutputDev.h}:
1210 Include xpdfconfig.h
1212 Tue Dec 21 16:08:17 2004 Jonathan Blandford <jrb@redhat.com>
1214 * shell/ev-window.c (ev_window_dispose): dispose can be called
1217 2004-12-21 Havoc Pennington <hp@redhat.com>
1219 * shell/ev-window.c (ev_window_init): set title to Document Viewer
1222 * data/evince-ui.xml, shell/ev-window.c: add a bunch of stub menu
1223 items; really they should be synced with the strings, etc. from
1224 current gpdf, but just getting the boring typing out of the way
1226 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
1229 * shell/ev-application.c: (window_destroy_cb):
1230 * shell/ev-window.c:
1231 * shell/main.c: (main):
1233 Actually show the window...
1235 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
1238 * shell/Makefile.am:
1239 * shell/ev-application.c: (ev_application_class_init):
1240 * shell/ev-window.c: (ev_window_dispose), (ev_window_class_init):
1244 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
1246 Import to gnome cvs.
1248 * Remove copies of gpdf and ggv trees.
1249 * Rip out all the recursive configure code.
1250 * Remove bonobo machinery.
1251 * viewer/*: GInterfaces that backends should/can implement.
1253 2004-11-09 Martin Kretzschmar <m_kretzschmar@gmx.net>
1255 * shell/ev-window.c (ev_window_cmd_help_about): fix "documentors"
1258 2004-10-28 Martin Kretzschmar <m_kretzschmar@gmx.net>
1260 * shell/ev-application.c (EV_APPLICATION_GET_PRIVATE)
1261 (ev_application_finalize, ev_application_class_init)
1262 (ev_application_init): use GType instance private data for priv.
1264 * shell/ev-window.c (EV_WINDOW_GET_PRIVATE)
1265 (ev_window_finalize, ev_window_class_init)
1266 (ev_window_init): ditto.
1268 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
1270 * shell/ev-application.c (ev_application_new_window): make public
1271 (ev_application_show_initial_window): kill.
1273 * shell/ev-application.h: update prototypes.
1275 * shell/main.cc (main): inline ev_application_show_initial_window.
1277 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
1279 * shell/ev-application.c (ev_application_new_window): impl.
1280 (ev_application_show_initial_window): use it.
1281 (is_window_empty, ev_application_get_empty_window): returns an
1282 existing empty window or a new one.
1283 (ev_application_open): from ev_window_cmd_file_open.
1285 * shell/ev-application.h: update prototypes
1287 * shell/ev-window.c (ev_window_is_empty): impl.
1288 (ev_window_open): make public.
1289 (ev_window_cmd_file_open): use ev_application_open
1291 * shell/ev-window.h: update prototypes, remove unused.
1293 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
1295 * shell/ev-window.c (ev_window_destroy, ev_window_class_init):
1296 move destroy handler out of here...
1298 * shell/ev-application.c, shell/ev-application.h: ...into this new
1299 class. Also handles initial window creation.
1301 * shell/main.cc (main): use EvApplication to create initial
1304 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
1306 * Makefile.am (SUBDIRS): add cut-n-paste
1308 * cut-n-paste/Makefile.am: add
1310 * configure.ac: generate Makefiles in cut-n-paste
1312 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
1314 * shell/ev-window.c (ev_window_dispose): new, unref the ui_manager
1315 (ev_window_class_init): install ev_window_dispose.
1317 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
1319 * shell/ev-window.h, shell/ev-window.c: replace gchar with
1320 char (gchar looks stupid).
1322 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
1324 * po/de.po: updated German translation.
1326 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
1328 * configure.ac: add more pkg-config library checks for gnome-vfs,
1331 * gpdf/configure.in: temporarily disable libpaper
1332 checks. Otherwise I'd have to add the checks for the shell, too.
1334 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1336 * shell/ev-window.c (ev_window_cmd_file_open): add ps+pdf, ps, pdf
1337 and * file filters to the file choose.
1339 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1341 * po/de.po: Updated German translation.
1343 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1345 * shell/ev-window.c: use "S" as mnemonic for Statusbar.
1347 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1349 * data/evince-ui.xml: add View->Toolbar and View->Statusbar.
1351 * shell/ev-window.c (menu_item_select_cb, menu_item_select_cb)
1352 (ev_window_init): implement those menuitems.
1354 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1356 * data/evince-ui.xml: add a toolbar (with FileOpen action)
1358 * shell/ev-window.c (ev_window_init): use the toolbar.
1360 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1362 * shell/ev-window.c (ev_window_init): use menu translations
1364 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1366 * configure.ac: add "de" to ALL_LINGUAS.
1368 * po/de.po: add German translation.
1370 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1372 * Makefile.am (SUBDIRS): add po
1374 * configure.ac: check intltool, glib-gettext etc, generate
1377 * po, po/POTFILES.in, po/POTFILES.skip: new.
1379 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1381 * shell/Makefile.am (INCLUDES): define GNOMELOCALEDIR which we
1382 already use (#ifdef ENABLE_NLS)
1384 * shell/ev-window.c (ev_window_cmd_help_about): fix two star
1385 pointer indirection thinko.
1387 * shell/main.c: include gi18n.h for bindtextdomain etc.
1389 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1391 * shell/ev-window.c (menu_item_select_cb, menu_item_deselect_cb)
1392 (connect_proxy_cb, disconnect_proxy_cb, ev_window_init): show
1393 tooltips for menu items in the statusbar.
1395 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1397 * configure.ac, data/Makefile.am, shell/Makefile.am: use
1398 pkgdatadir drop UIDIR
1400 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1402 * data/evince-ui.xml: Add File->Open menu item
1404 * shell/ev-window.c (ev_window_cmd_file_open): impl. (shows a file
1405 chooser), hook it up in the ui manager.
1407 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1409 * shell/ev-window.c: fix Help->About tooltip.
1411 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1413 * configure.ac: set CFLAGS for libevprivate.
1415 * lib/ev-stock-icons.h, lib/ev-stock-icons.c: stock icon
1416 definitions, factory etc.
1418 * lib/Makefile.am: build libevprivate.a (only stock icon code).
1420 * shell/Makefile.am: link against libevprivate.a.
1422 * shell/ev-window.c (entries): add stock icon to Help->About.
1424 * shell/main.c (main): init stock icon code.
1426 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1428 * lib/recent-files: egg recent files code
1430 * lib/Makefile.am: add.
1432 * Makefile.am: add lib subdir.
1434 * configure.ac: gen. lib/Makefile and lib/recent-files/Makefile,
1435 set CFLAGS for recent-files.
1437 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1439 * configure.ac: disable -ansi and -pedantic gcc flags. They
1440 disable POSIX stuff in stdio.h, but egg-recent uses them.
1442 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1444 * configure.ac: add --disable-deprecated flag (defaults to on in
1447 * shell/Makefile.am (INCLUDES): use it.
1449 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1451 * shell/main.c: add missing #include.
1453 * shell/ev-window.c: fix for pedantic gcc.
1454 (ev_window_cmd_help_about): split license into paragraphs for
1455 translators and pedantic compilers.
1457 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1459 * configure.ac: add more warning flags if compiling with gcc from
1460 cvs (or explicitly requested with --enable-more-warnings).
1462 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1464 * data/evince-ui.xml: add File and File->Close menu.
1466 * shell/ev-window.c (ev_window_cmd_file_close_window): impl.
1467 (ev_window_destroy): quit after destroy.
1468 (ev_window_class_init): override GtkObject::destroy.
1469 (entries): install close_window callback.
1471 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1473 * Makefile.am (SUBDIRS): add data subdir.
1475 * configure.ac (UIDIR): gen data/Makefile, define UIDIR. Require
1476 gtk+ 2.5.0 for GtkAboutDialog.
1478 * data/Makefile.am, data/evince-ui.xml: add, ui definition for the
1481 * shell/Makefile.am (INCLUDES): propagate UIDIR definition.
1483 * shell/ev-window.c (ev_window_init): create a menubar, using a ui
1485 (ev_window_cmd_help_about): about command, using GtkAboutDialog.
1487 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1489 * shell/ev-window.c, shell/ev-window.h: Created an EvWindow class.
1491 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
1493 * shell/main.c: make it a trivial gtk+ program, adjust configure.ac
1495 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
1497 * shell/*: Added shell directory boilerplate, build it.
1499 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
1501 * configure.ac, Makefile.am: Added top-level configure.ac and