1 Wed Jan 19 01:10:57 2005 Jonathan Blandford <jrb@redhat.com>
4 * backend/ev-document-links.h:
5 * backend/ev-document-security.c: (ev_document_security_get_type),
6 (ev_document_security_has_document_security),
7 (ev_document_security_set_password):
8 * backend/ev-document-security.h:
9 * backend/ev-document.c: (ev_document_error_quark):
10 * backend/ev-document.h:
12 * data/evince-password.glade:
13 * pdf/xpdf/pdf-document.cc:
15 * shell/ev-password.c: (ev_password_set_bad_password_label),
16 (ev_window_password_entry_changed_cb), (ev_password_dialog_new),
17 (ev_password_dialog_get_password),
18 (ev_password_dialog_set_bad_pass):
19 * shell/ev-password.h:
20 * shell/ev-window.c: (ev_window_get_attribute),
21 (ev_window_set_property), (update_action_sensitivity),
22 (ev_window_is_empty), (mime_type_supported_by_gdk_pixbuf),
23 (ev_window_setup_document), (ev_window_get_password),
24 (ev_window_open), (ev_window_cmd_save_as),
25 (using_postscript_printer), (ev_window_print),
26 (find_not_supported_dialog), (ev_window_cmd_edit_find),
27 (update_fullscreen_popup), (ev_window_fullscreen),
28 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
29 (ev_window_focus_out_cb), (ev_window_cmd_help_about),
30 (menu_item_select_cb), (find_bar_search_changed_cb),
31 (ev_window_dispose), (ev_window_init):
33 Add initial support for password-supported dialogs. This could be
34 a lot cooler, but it'll do for now.
36 2005-01-18 Marco Pesenti Gritti <marco@gnome.org>
38 * pdf/xpdf/pdf-document.cc:
39 * shell/ev-view.c: (status_message_from_link),
40 (ev_view_set_status), (ev_view_set_cursor),
41 (ev_view_motion_notify_event), (ev_view_init):
42 * shell/ev-window.c: (view_status_changed_cb), (ev_window_init):
44 Fix bugs in the links implementation and change cursor
47 2005-01-17 Bryan Clark <clarkbw@cvs.gnome.org>
49 * viewer/.cvsignore: added cvsignore file for viewer directory
51 * TODO: created TODO document
53 2005-01-14 Dave Malcolm <dmalcolm@redhat.com>
56 * shell/ev-view.c (ev_view_can_go_back), (ev_view_can_go_forward):
57 new functions to help with implementation of sensitivity code
58 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
59 of all actions that might require it. Fixes a crash when you
60 click on the Zoom actions in a window lacking a document.
62 2005-01-13 Dave Malcolm <dmalcolm@redhat.com>
64 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
67 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
69 * pixbuf/pixbuf-document.c: (pixbuf_document_get_link),
70 (pixbuf_document_document_iface_init):
71 * ps/ps-document.c: (ps_document_get_link),
72 (ps_document_document_iface_init):
73 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event),
74 (status_message_from_link), (ev_view_set_status),
75 (ev_view_set_find_status), (ev_view_motion_notify_event),
76 (ev_view_button_release_event), (ev_view_set_property),
77 (ev_view_get_property), (ev_view_class_init), (ev_view_init),
78 (ev_view_get_find_status_message), (update_find_results),
79 (ev_view_get_status), (ev_view_get_find_status):
81 * shell/ev-window.c: (view_status_changed_cb),
82 (view_find_status_changed_cb), (ev_window_init):
84 View status message support, use it to show the links.
87 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
89 * backend/ev-document.c: (ev_document_get_link):
90 * backend/ev-document.h:
91 * pdf/xpdf/pdf-document.cc:
92 * shell/ev-application.c: (ev_application_open):
93 * shell/ev-application.h:
94 * shell/ev-sidebar-links.c: (selection_changed_cb):
95 * shell/ev-view.c: (ev_view_button_release_event), (go_to_link),
98 Add support for document links
100 2005-01-13 Anders Carlsson <andersca@gnome.org>
102 * shell/ev-page-action.c: (update_spin), (total_pages_changed_cb),
104 Set the spin button limits correctly.
106 * shell/ev-sidebar-thumbnails.c:
107 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init):
108 Support changing pages by clicking on the thumbnails.
110 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
112 * pixbuf/pixbuf-document.c:
113 (pixbuf_document_thumbnails_get_dimensions),
114 (pixbuf_document_document_thumbnails_iface_init):
116 implement get_dimensions
118 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
120 * ps/ps-document.c: (ps_document_goto_page):
122 Fix page switching on multipage documents
124 2005-01-12 Jeff Muizelaar <jrmuizel@nit.ca>
126 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
128 check for NULL before assigning to width and height parameters
130 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
132 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
133 (pixbuf_document_set_property), (pixbuf_document_get_property):
135 implement get/set properties
137 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
139 * pdf/xpdf/pdf-document.cc: (pdf_info_dict_get_string):
141 return NULL instead of "Unknown", letting the title get set to
142 the filename when the pdf has no title.
144 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
146 * ps/ps-document.c: (ps_document_get_page_count),
147 (ps_document_goto_page):
149 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
151 * shell/ev-history.c: (ev_history_get_property),
152 (ev_history_set_property), (ev_history_class_init),
153 (ev_history_add_page), (ev_history_set_current_index):
154 * shell/ev-navigation-action.c: (ev_navigation_action_set_history),
155 (activate_menu_item_cb), (new_history_menu_item), (build_menu),
156 (ev_navigation_action_finalize):
157 * shell/ev-navigation-action.h:
158 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
159 (ev_view_go_forward), (ev_view_get_find_status_message),
160 (history_index_changed_cb), (ev_view_set_history):
162 * shell/ev-window.c: (update_total_pages), (ev_window_open),
163 (update_current_page), (register_custom_actions):
165 Implement history dropdowns
167 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
169 * shell/ev-history.c: (ev_history_init), (ev_history_add_link):
170 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
171 (ev_view_go_forward):
172 * shell/ev-window.c: (register_custom_actions):
174 Fix several history bugs
176 2005-01-11 Kjartan Maraas <kmaraas@gnome.org>
178 * configure.ac: Add «nb» to ALL_LINGUAS.
180 2005-01-10 Marco Pesenti Gritti <marco@gnome.org>
182 * backend/Makefile.am:
183 * backend/ev-bookmark.c:
184 * backend/ev-bookmark.h:
185 * backend/ev-document-bookmarks.c:
186 * backend/ev-document-bookmarks.h:
187 * backend/ev-document-links.c: (ev_document_links_get_type),
188 (ev_document_links_has_document_links),
189 (ev_document_links_begin_read), (ev_document_links_get_link),
190 (ev_document_links_get_child), (ev_document_links_next),
191 (ev_document_links_free_iter):
192 * backend/ev-document-links.h:
193 * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_title),
194 (ev_link_set_title), (ev_link_get_uri), (ev_link_set_uri),
195 (ev_link_get_link_type), (ev_link_set_link_type),
196 (ev_link_get_page), (ev_link_set_page), (ev_link_get_property),
197 (ev_link_set_property), (ev_window_dispose), (ev_link_init),
198 (ev_link_class_init), (ev_link_new_title), (ev_link_new_page),
199 (ev_link_new_external):
201 * pdf/xpdf/pdf-document.cc:
203 * shell/ev-application.c: (ev_application_open_link):
204 * shell/ev-application.h:
205 * shell/ev-history.c: (ev_history_add_link), (ev_history_add_page),
206 (ev_history_get_link_nth):
207 * shell/ev-history.h:
208 * shell/ev-sidebar-bookmarks.c:
209 * shell/ev-sidebar-bookmarks.h:
210 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
211 (ev_sidebar_links_class_init), (selection_changed_cb),
212 (ev_sidebar_links_construct), (ev_sidebar_links_init),
213 (links_page_num_func), (ev_sidebar_links_new), (stack_data_free),
214 (do_one_iteration), (populate_links_idle),
215 (ev_sidebar_links_clear_document), (ev_sidebar_links_set_document):
216 * shell/ev-sidebar-links.h:
217 * shell/ev-sidebar.c: (ev_sidebar_set_document):
218 * shell/ev-view.c: (go_to_link), (ev_view_go_to_link),
221 * shell/ev-window.c: (ev_window_open_link), (ev_window_init):
224 Rename bookmark to link, and use "Index" for the sidebar panel.
226 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
229 * shell/ev-application.c: (ev_application_open_bookmark):
230 * shell/ev-application.h:
231 * shell/ev-history.c: (ev_history_init), (free_links_list),
232 (ev_history_finalize), (ev_history_class_init),
233 (ev_history_add_link), (ev_history_add_page),
234 (ev_history_get_link_nth), (ev_history_get_n_links),
235 (ev_history_get_current_index), (ev_history_set_current_index),
237 * shell/ev-history.h:
238 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
239 * shell/ev-view.c: (ev_view_finalize), (ev_view_set_document),
240 (set_document_page), (go_to_bookmark), (ev_view_go_to_bookmark),
241 (go_to_index), (ev_view_go_back), (ev_view_go_forward),
244 * shell/ev-window.c: (ev_window_open_bookmark),
245 (ev_window_cmd_go_back), (ev_window_cmd_go_forward),
246 (goto_page_cb), (register_custom_actions):
249 Initial history implementation. Needs work.
251 2005-01-09 Martin Kretzschmar <martink@gnome.org>
253 * pdf/xpdf/GDKSplashOutputDev.cc (redraw): fix pixbuf data offset.
255 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
257 * cut-n-paste/recent-files/egg-recent-item.c:
258 * cut-n-paste/recent-files/egg-recent-item.h:
259 * cut-n-paste/recent-files/egg-recent-model.c:
260 * cut-n-paste/recent-files/egg-recent-util.c:
261 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
262 * cut-n-paste/recent-files/egg-recent-view.c:
266 2005-01-08 Martin Kretzschmar <martink@gnome.org>
268 * pdf/splash/Splash.cc (clear, drawPixel, drawSpan, xorSpan, getPixel)
269 (fillGlyph, fillImageMask, drawImage):
270 pdf/splash/SplashBitmap.cc (SplashBitmap, ~SplashBitmap, writePNMFile):
271 pdf/splash/SplashTypes.h:
272 pdf/xpdf/SplashOutputDev (startPage, getColor, imageSrc): implement RGB8
273 packed mode for Splash.
275 * pdf/xpdf/GDKSplashOutputDev.cc (GDKSplashOutputDev, redraw): use
276 RGB8 packed mode, eliminates the pixbuf data creation loop.
278 * shell/ev-print-job.c (ev_print_job_finalize)
279 (ev_print_job_set_property, ev_print_job_get_property)
280 (ev_print_job_set_gnome_print_job, ev_print_job_set_document)
281 (ev_print_job_use_print_dialog_settings, idle_print_handler)
282 (print_closure_finalize, ev_print_job_print): implement
283 printing (for backends with EvPsExporter)
285 * shell/ev_print_job.h: update prototypes.
287 * shell/ev-window.c (ev_window_print): unref print job after
290 * shell/ev-view.c (ev_view_set_document): don't connect to "found"
291 unless the document implements the EvDocumentFind interface.
293 2005-01-08 Satoru SATOH <ss@gnome.gr.jp>
295 * configure.ac: Added ja to ALL_LINGUAS.
297 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
299 * pdf/xpdf/pdf-document.cc:
301 add a FIXME. We should probably not allocate
302 a bookmark object every time
304 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
306 * shell/ev-application.c: (ev_application_open),
307 (ev_application_open_bookmark):
308 * shell/ev-application.h:
310 Add a way to open bookmarks
312 * backend/ev-bookmark.c: (ev_bookmark_get_uri),
313 (ev_bookmark_set_uri), (ev_bookmark_get_property),
314 (ev_bookmark_set_property), (ev_bookmark_class_init),
315 (ev_bookmark_new_title), (ev_bookmark_new_link),
316 (ev_bookmark_new_external):
318 Support for external uris, better constructors.
320 * backend/ev-bookmark.h:
321 * pdf/xpdf/pdf-document.cc:
322 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
326 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
328 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb),
329 (ev_sidebar_bookmarks_construct), (do_one_iteration):
331 Hook up bookmarks navigation
333 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
335 * backend/Makefile.am:
336 * backend/ev-bookmark.c: (ev_bookmark_type_get_type),
337 (ev_bookmark_get_title), (ev_bookmark_set_title),
338 (ev_bookmark_get_bookmark_type), (ev_bookmark_set_bookmark_type),
339 (ev_bookmark_get_page), (ev_bookmark_set_page),
340 (ev_bookmark_get_property), (ev_bookmark_set_property),
341 (ev_window_dispose), (ev_bookmark_init), (ev_bookmark_class_init),
343 * backend/ev-bookmark.h:
344 * backend/ev-document-bookmarks.c:
345 (ev_document_bookmarks_get_bookmark):
346 * backend/ev-document-bookmarks.h:
347 * pdf/xpdf/pdf-document.cc:
348 * shell/ev-sidebar-bookmarks.c: (do_one_iteration):
350 Add a bookmark object to the backend and use it instead of get_values
352 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
354 * data/evince-ui.xml:
356 Cleanup and add select all.
358 * shell/ev-view.c: (ev_view_select_all),
359 (ev_view_button_press_event):
361 * shell/ev-window.c: (ev_window_cmd_edit_select_all):
364 Clear selection on click.
366 Fri Jan 7 01:28:58 2005 Jonathan Blandford <jrb@redhat.com>
368 * shell/ev-sidebar-thumbnails.c
369 (ev_sidebar_thumbnails_set_document): forgot to unref the
372 Fri Jan 7 01:22:48 2005 Jonathan Blandford <jrb@redhat.com>
374 * shell/ev-sidebar-thumbnails.c: fill in the thumbnails starting
375 at the visible page, not just linearly. This makes it look fast.
377 Thu Jan 6 18:48:11 2005 Jonathan Blandford <jrb@redhat.com>
379 * backend/ev-document-misc.c
380 (ev_document_misc_get_thumbnail_frame): fill in the thumbnail with
382 * backend/ev-document-thumbnails.h: New interface to get the size
385 2005-01-06 Jeremy Katz <katzj@redhat.com>
387 * shell/Makefile.am (evince_SOURCES): Add ev-utils.[ch] so that
390 Wed Jan 5 15:38:28 2005 Jonathan Blandford <jrb@redhat.com>
392 * pdf/xpdf/pdf-document.cc (bitmap_to_pixbuf): bypass
393 GDKSplashOutputDev and just use a normal SplashOutputDev. Speeds
396 * shell/ev-sidebar-thumbnail.c: start of some profiling code.
398 2005-01-05 Martin Kretzschmar <martink@gnome.org>
400 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): match only outline
401 fonts. Should fix font problems on systems that have the base
402 fonts in bitmap format. Reported by James Henstridge
403 <james@jamesh.id.au>.
405 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
408 * pdf/xpdf/GfxState.cc:
410 Fix for CAN-2004-1125
412 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
414 * shell/ev-view.c: (ev_view_copy):
416 * shell/ev-window.c: (ev_window_cmd_edit_copy):
420 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
422 * backend/ev-document.c: (ev_document_get_text):
423 * backend/ev-document.h:
424 * pdf/xpdf/pdf-document.cc:
425 * shell/ev-view.c: (ev_view_realize), (expose_bin_window),
426 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
427 (ev_view_update_primary_selection), (ev_view_button_press_event),
428 (ev_view_motion_notify_event), (ev_view_button_release_event):
430 Beginnings of clipboard support. Incomplete but primary sort
433 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
435 * shell/ev-view.c: (ev_gdk_color_to_rgb), (draw_rubberband),
438 Nicer rubberband drawing, from GtkIconView.
440 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
442 * backend/ev-document.c: (ev_document_save):
443 * backend/ev-document.h:
444 * data/evince-ui.xml:
445 * pdf/xpdf/pdf-document.cc:
446 * shell/ev-window.c: (save_error_dialog), (ev_window_cmd_save_as):
448 Implement "Save a copy..." menu item
450 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
452 * shell/ev-view.c: (ev_view_zoom):
454 Queue a resize when zoom changes
456 Wed Jan 5 02:33:06 2005 Jonathan Blandford <jrb@redhat.com>
458 * backend/ev-document-misc.[ch]: New misc file to do simple drop
461 * pdf/xpdf/pdf-document.cc: use the drop shadows in both types of
464 Tue Jan 4 22:32:32 2005 Jonathan Blandford <jrb@redhat.com>
466 * pdf/xpdf/pdf-document.cc
467 (pdf_document_thumbnails_get_page_pixbuf): poor man's dropshadow.
469 Tue Jan 4 21:25:05 2005 Jonathan Blandford <jrb@redhat.com>
471 * pdf/xpdf/pdf-document.cc: Do real thumbnailing of PDF files.
472 It's slow, but I'll speed it up next!
474 2005-01-04 Jeff Muizelaar <jrmuizel@nit.ca>
476 * shell/main.c (load_files):
478 use gnome_vfs_make_uri_from_shell_arg so that relative paths work
479 from the command line and because it seems more appropriate.
481 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
483 * data/evince-ui.xml:
484 * shell/ev-window.c: (update_action_sensitivity),
485 (ev_window_cmd_go_page_up), (ev_window_cmd_go_page_down):
487 s/next page/page down
488 s/previous page/page up
490 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
492 * data/evince-ui.xml:
494 Change the layout to match clarkbw design.
497 * shell/ev-navigation-action.c: (build_menu), (menu_activated_cb),
498 (set_tooltip_cb), (connect_proxy), (ev_navigation_action_init),
499 (ev_navigation_action_finalize),
500 (ev_navigation_action_set_property),
501 (ev_navigation_action_get_property),
502 (ev_navigation_action_class_init):
503 * shell/ev-navigation-action.h:
505 Implement clarkbw toolbar navigation controls (incomplete)
507 * shell/ev-page-action.c: (update_label), (update_spin),
508 (value_changed_cb), (create_tool_item), (connect_proxy),
509 (ev_page_action_init), (ev_page_action_finalize),
510 (ev_page_action_set_property), (ev_page_action_get_property),
511 (ev_page_action_set_current_page),
512 (ev_page_action_set_total_pages), (ev_page_action_class_init):
513 * shell/ev-page-action.h:
515 Implement a page switcher in the toolbar
517 * shell/ev-view.c: (ev_view_scroll_view):
518 * shell/ev-window.c: (update_total_pages), (ev_window_open),
519 (update_current_page), (view_page_changed_cb), (goto_page_cb),
520 (register_custom_actions), (ev_window_init):
522 Change page on PageUp/Down.
524 Tue Jan 4 03:22:56 2005 Jonathan Blandford <jrb@redhat.com>
526 * pdf/xpdf/pdf-document.cc
527 (pdf_document_thumbnails_get_thumbnail): initial stab at
528 implementing thumbnail support for pdfs. It only does documents
529 with precached pdfs now.
531 Mon Jan 3 17:22:25 2005 Jonathan Blandford <jrb@redhat.com>
533 * shell/ev-sidebar-thumbnails.c (do_one_iteration): move the
534 thumbnail code into a time-based idle as well. Also, turn off the
535 shadow temporarily as it's really slow.
537 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
539 * backend/ev-document.c: (ev_document_class_init):
540 * pdf/xpdf/pdf-document.cc:
541 * shell/ev-window.c: (ev_window_open):
543 Fix document title bugs and fallback to
544 filename when not available.
546 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
548 * backend/ev-document.c: (ev_document_get_type),
549 (ev_document_class_init), (ev_document_load),
550 (ev_document_get_title):
551 * backend/ev-document.h:
552 * pdf/xpdf/pdf-document.cc:
553 * ps/ps-document.c: (ps_document_set_property),
554 (ps_document_get_property), (ps_document_class_init),
558 * shell/ev-window.c: (update_window_title), (ev_window_open),
561 Initial support for document title. Not working yet.
563 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
565 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event):
567 Grab focus on the view when clicking it
569 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
571 * shell/ev-marshal.list:
572 * shell/ev-view.c: (ev_view_realize), (add_scroll_binding),
573 (ev_view_scroll_view), (ev_view_class_init), (ev_view_init):
575 Add key bindings to the view. Now if the focus would work
578 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
581 * backend/Makefile.am:
584 * dvi/dvilib/Makefile.am:
585 * pdf/xpdf/Makefile.am:
591 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
593 * shell/ev-view.c: (ev_view_realize):
595 Fix mouse wheel scrolling
597 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
603 * ps/ps-document.c: (catchPipe), (ps_document_init),
604 (ps_document_class_init), (ps_document_cleanup),
605 (ps_document_finalize), (send_ps), (ps_document_get_orientation),
606 (set_up_page), (close_pipe), (is_interpreter_ready),
607 (interpreter_failed), (output), (input), (start_interpreter),
608 (stop_interpreter), (file_length), (file_readable),
609 (check_filecompressed), (check_pdf), (compute_xdpi),
610 (compute_ydpi), (compute_size), (ps_document_enable_interpreter),
611 (ps_document_get_type), (ps_document_emit_error_msg),
612 (document_load), (ps_document_next_page),
613 (ps_document_get_current_page), (ps_document_get_page_count),
614 (ps_document_goto_page), (ps_document_set_page_size),
615 (ps_document_zoom_to_fit), (ps_document_set_zoom),
616 (ps_document_load), (ps_document_get_n_pages),
617 (ps_document_set_page), (ps_document_get_page),
618 (ps_document_widget_event), (ps_document_set_target),
619 (ps_document_set_scale), (ps_document_set_page_offset),
620 (ps_document_get_page_size), (ps_document_render),
621 (ps_document_document_iface_init):
624 * shell/ev-window.c: (ev_window_open):
626 Rename GtkGS to PSDocument
628 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
630 * ps/gtkgs.c: (gtk_gs_class_init):
633 Some more leftover...
635 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
637 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_get_orientation),
638 (output), (stop_interpreter), (gtk_gs_emit_error_msg),
639 (gtk_gs_zoom_to_fit), (gtk_gs_set_zoom):
642 Remove unused code and make a lot of stuff private
644 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
646 * ps/gsdefaults.c: (gtk_gs_defaults_gconf_client),
647 (gtk_gs_defaults_changed):
653 Cleanup headers dependencies
655 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
660 * ps/gsdefaults.c: (gtk_gs_defaults_get_paper_sizes):
662 * ps/gtkgs.c: (file_length), (file_readable),
663 (check_filecompressed), (check_pdf), (gtk_gs_load),
664 (gtk_gs_get_postscript):
668 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
673 * ps/gtkgs.c: (gtk_gs_set_zoom):
677 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
679 * ps/gtkgs.c: (gtk_gs_set_zoom), (gtk_gs_set_zoom_mode):
681 Ensure the page is rerendered when changing zoom
683 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
685 * backend/ev-document.c: (ev_document_base_init),
686 (ev_document_changed):
687 * backend/ev-document.h:
689 Add a changed event that is emitted when the page content
690 changes. This is necessary to deal with the fact that
691 in ps backend rendering happen asycrounously.
692 This makes the ps backend mostly work.
694 * pdf/xpdf/pdf-document.cc:
698 * ps/gtkgs.c: (set_up_page), (gtk_gs_widget_event),
699 (ps_document_set_target):
703 * shell/ev-view.c: (document_changed_callback),
704 (ev_view_set_document), (ev_view_set_page):
706 Redraw on the changed signal
708 2004-12-25 Raphael Higino <raphaelh@cvs.gnome.org>
710 * configure.ac: Added pt_BR to ALL_LINGUAS.
712 Fri Dec 24 00:48:44 2004 Jonathan Blandford <jrb@redhat.com>
714 * backend/ev-document-bookmarks.c:
715 (ev_document_bookmarks_get_child): *
716 backend/ev-document-bookmarks.h: * pdf/xpdf/Makefile.am: *
717 pdf/xpdf/pdf-document.cc: * pdf/xpdf/pdf-document.h: *
718 shell/Makefile.am: * shell/ev-sidebar-bookmarks.c:
719 (ev_sidebar_bookmarks_destroy),
720 (ev_sidebar_bookmarks_class_init),
721 (ev_sidebar_bookmarks_construct), (stack_data_free),
722 (do_one_iteration), (populate_bookmarks_idle),
723 (ev_sidebar_bookmarks_clear_document),
724 (ev_sidebar_bookmarks_set_document): *
725 shell/ev-sidebar-bookmarks.h: * shell/ev-sidebar.c:
726 (ev_sidebar_add_page),
727 (ev_sidebar_set_document): * shell/ev-window.c: (ev_window_open):
728 Initial stab at a bookmarks sidebar. It doesn't navigate yet, but
729 it displays both the topics and the page numbers.
731 2004-12-23 Kristian Høgsberg <krh@redhat.com>
733 * shell/ev-window.c (ev_window_view_sidebar_cb): Hook up sidebar
735 * shell/ev-window.c (toggle_entries): Set sidebar default value to
738 2004-12-23 Adam Weinberger <adamw@gnome.org>
740 * configure.ac: Added en_CA to ALL_LINGUAS.
742 2004-12-23 Martin Kretzschmar <martink@gnome.org>
744 * ChangeLog: replace bottom of this ChangeLog (merged history of
745 ggv and gpdf; where all paths were wrong and most of the files are
746 not even in this tree) with ChangeLog (from arch) of the shell
749 2004-12-23 Havoc Pennington <hp@redhat.com>
751 * shell/ev-window.c: hook up potentially-questionable "find
752 results status text" feature - something involving the sidebar or
753 scrollbar or a continuous all-pages-on-giant-roll-of-paper-view
754 might be better in the end.
756 * shell/ev-view.c (ev_view_get_find_status_message): new function,
757 with corresponding signal when it should be updated
759 * shell/eggfindbar.c (egg_find_bar_set_status_text): new function
761 2004-12-22 Havoc Pennington <hp@redhat.com>
763 * pdf/xpdf/pdf-document.cc (pdf_document_find_begin): make search
764 find stuff on other pages, sort of (only returns one result on
765 invisible pages, to show they have results; updates full results
766 for a page when you view it). Currently repaints the current page
767 every time a new result is found on any page, which isn't so nice.
769 2004-12-22 Havoc Pennington <hp@redhat.com>
771 * shell/ev-window.c (ev_window_cmd_edit_find): display an error if
772 the document doesn't support find (better ideas?)
773 (find_bar_search_changed_cb): handle missing document or document
774 that doesn't support find
776 * pdf/xpdf/pdf-document.cc: port to implement the new
779 * backend/ev-document-find.c: create a new interface for searching
781 * backend/ev-document.h, backend/ev-document.c: delete the find stuff
783 2004-12-23 Martin Kretzschmar <martink@gnome.org>
785 * pdf/xpdf/Makefile.am (libpdfdocument_la_LIBADD): add
788 * shell/ev-window.c (ev_window_print): add GnomePrintJob to
789 EvPrintJob constructor arguments.
791 * backend/ev-ps-exporter.c, backend/ev-ps-exporter.h: interface
792 for documents that can export PostScript (page by page).
794 * backend/Makefile.am (libevbackend_la_SOURCES): add them.
796 * pdf/xpdf/pdf-document.cc (pdf_document_ps_export_begin)
797 (pdf_document_ps_export_do_page, pdf_document_ps_export_end)
798 (pdf_document_ps_exporter_iface_init:
799 Implement EvPSExporter.
801 * pdf/xpdf/Makefile.am (libxpdf_la_SOURCES): build PSOutputDev.
803 2004-12-22 Anders Carlsson <andersca@gnome.org>
805 * backend/Makefile.am:
806 * backend/ev-document-thumbnails.c:
807 (ev_document_thumbnails_get_type),
808 (ev_document_thumbnails_get_thumbnail):
809 * backend/ev-document-thumbnails.h:
810 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
811 (pixbuf_document_thumbnails_get_thumbnail),
812 (pixbuf_document_document_thumbnails_iface_init):
814 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_destroy),
815 (ev_sidebar_thumbnails_class_init), (ev_sidebar_thumbnails_init),
816 (populate_thumbnails), (ev_sidebar_thumbnails_set_document):
817 * shell/ev-sidebar-thumbnails.h:
818 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
819 (ev_sidebar_set_document):
820 * shell/ev-utils.c: (gaussian), (create_blur_filter),
821 (create_shadow), (ev_pixbuf_add_shadow):
823 Add thumbnail support.
825 2004-12-22 Martin Kretzschmar <martink@gnome.org>
827 * shell/ev-window.c (ev_window_cmd_file_print, ev_window_print)
828 (using_postscript_printer): Set up a print dialog for "PostScript
831 * shell/ev-print-job.h, shell/ev-print-job.c: stub classes for
834 * shell/Makefile.am (evince_SOURCES): add ev-print-job.[ch]
836 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
838 * ps/gtkgs.c: (gtk_gs_init), (set_up_page),
839 (ps_document_set_target), (ps_document_get_page_size),
840 (ps_document_render):
845 2004-12-22 Christian Rose <menthos@menthos.com>
847 * configure.ac: Added "sv" to ALL_LINGUAS.
849 Wed Dec 22 14:47:38 2004 Jonathan Blandford <jrb@redhat.com>
851 * backend/ev-document-bookmarks.[ch]: new interface to indicate
852 document supports bookmarks.
854 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
856 * ps/ggvutils.c: (ggv_file_readable):
858 * ps/gtkgs.c: (check_filecompressed), (check_pdf),
859 (gtk_gs_get_postscript):
863 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
865 * ps/gtkgs.c: (gtk_gs_init), (gtk_gs_class_init), (gtk_gs_cleanup),
866 (gtk_gs_finalize), (gtk_gs_set_center), (set_up_page), (output),
867 (start_interpreter), (compute_size), (gtk_gs_enable_interpreter),
868 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_reload),
869 (gtk_gs_emit_error_msg), (gtk_gs_disable_interpreter),
870 (gtk_gs_load), (gtk_gs_goto_page), (gtk_gs_set_page_size),
871 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
872 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
873 (gtk_gs_set_antialiasing), (ps_document_load),
874 (ps_document_render):
877 Another check point for the ps backend. Now I can get it to show
880 Wed Dec 22 13:41:01 2004 Jonathan Blandford <jrb@redhat.com>
882 * shell/ev-sidebar.c (ev_sidebar_set_document): initial sidebar
883 document setting code.
885 2004-12-22 Anders Carlsson <andersca@gnome.org>
887 * shell/eggfindbar.c: (entry_activate_callback):
888 Animate the next button when activate is pressed.
890 2004-12-22 Anders Carlsson <andersca@gnome.org>
892 * shell/ev-window.c: (ev_window_cmd_edit_find),
893 (update_fullscreen_popup), (ev_window_fullscreen),
894 (ev_window_unfullscreen), (ev_window_state_event_cb),
895 (ev_window_focus_out_cb), (find_bar_close_cb), (ev_window_init):
896 Fix bugs in fullscreen code.
898 2004-12-22 Anders Carlsson <andersca@gnome.org>
902 * pixbuf/Makefile.am:
903 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
904 (pixbuf_document_load), (pixbuf_document_get_n_pages),
905 (pixbuf_document_set_page), (pixbuf_document_get_page),
906 (pixbuf_document_set_target), (pixbuf_document_set_scale),
907 (pixbuf_document_set_page_offset), (pixbuf_document_get_page_size),
908 (pixbuf_document_render), (pixbuf_document_begin_find),
909 (pixbuf_document_end_find), (pixbuf_document_finalize),
910 (pixbuf_document_class_init),
911 (pixbuf_document_document_iface_init), (pixbuf_document_init):
912 * pixbuf/pixbuf-document.h:
914 * shell/ev-application.c: (ev_application_open):
915 * shell/ev-window.c: (mime_type_supported_by_gdk_pixbuf),
919 Tue Dec 21 21:45:43 2004 Soeren Sandmann <sandmann@redhat.com>
922 * dvi/dvilib/Makefile.am:
924 * configure.ac: Auto*ify dvi and dvi/dvilib
926 * dvi/Makefile: Remove from CVS
928 * dvi/dvilib/dl-pkfont.cc (unpack_bitmap): Fix uchar/uint
931 * dvi/dvilib/dl-fontdefinition.{cc,hh}: New DviFontMap class
933 * dvi/dvilib/dl-vffont.{cc,hh}: Many bugfixes to VF code.
935 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
938 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_finalize),
939 (gtk_gs_value_adjustment_changed), (compute_size),
940 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_new_from_file),
941 (gtk_gs_center_page), (gtk_gs_load), (gtk_gs_set_page_size),
942 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
943 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
944 (gtk_gs_start_scroll), (gtk_gs_get_postscript),
945 (gtk_gs_set_adjustments), (gtk_gs_set_available_size),
946 (ps_document_load), (ps_document_get_n_pages),
947 (ps_document_set_page), (ps_document_get_page),
948 (ps_document_set_target), (ps_document_set_scale),
949 (ps_document_set_page_offset), (ps_document_get_page_size),
950 (ps_document_render), (ps_document_begin_find),
951 (ps_document_end_find), (ps_document_document_iface_init):
954 * shell/ev-window.c: (ev_window_open):
956 Some work to integrate gtkgs with EvDocument
958 2004-12-22 Anders Carlsson <andersca@gnome.org>
960 * shell/ev-window.c: (update_fullscreen_popup),
961 (screen_size_changed_cb), (destroy_exit_fullscreen_popup),
962 (exit_fullscreen_button_clicked_cb),
963 (fullscreen_popup_size_request_cb), (ev_window_fullscreen),
964 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
965 (ev_window_state_event_cb), (ev_window_init):
966 Add fullscreen support from Epiphany.
968 2004-12-22 Mark McLoughlin <mark@skynet.ie>
970 * data/ev-stock-zoom-fit-width.png: fit-width
971 stock icon from gpdf.
973 * shell/ev-stock-icons.[ch]: copied from gpdf.
975 * shell/main.c: (main): init stock icons.
977 * shell/ev-window.c: use the fit-width icon.
979 * data/evince-ui.xml: add zooming toolbar items.
981 2004-12-22 Mark McLoughlin <mark@skynet.ie>
984 (ev_view_best_fit), (ev_view_fit_width): because
985 get_page_size() returns the scaled page size, we
986 need to calculate the scale factor relative to
987 the previous scale factor. Should really just
988 add get_real_page_size().
990 2004-12-22 Mark McLoughlin <mark@skynet.ie>
992 * shell/ev-view.[ch]:
993 (ev_view_zoom), (ev_view_zoom_in), (ev_view_zoom_out),
994 (ev_view_normal_size), (ev_view_best_fit), (ev_view_fit_width):
997 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
998 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_normal_size),
999 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width):
1002 * pdf/xpdf/pdf-document.cc:
1003 (pdf_document_begin_find),
1004 (pdf_document_end_find): make static.
1006 2004-12-22 Martin Kretzschmar <martink@gnome.org>
1008 * pdf/xpdf/GlobalParams.h (setupBaseFontsFc): add prototype.
1010 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): maps base font
1011 names to fontconfig patterns.
1012 (setupBaseFontsFc): setupBaseFonts reimplemented using fontconfig.
1014 * pdf/xpdf/pdf-document.cc (pdf_document_load): use
1017 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
1033 Import ggv backend. Not hooked up yet.
1035 2004-12-22 Mark McLoughlin <mark@skynet.ie>
1037 * shell/main.c: (load_files), (main): load files
1038 from the command line.
1040 2004-12-22 Mark McLoughlin <mark@skynet.ie>
1042 * configure.ac: don't require bonobo.
1044 * cut-n-paste/recent-files/*: kill bonobo recent
1047 * shell/ev-window.c:
1048 (ev_window_is_empty): upd.
1049 (unable_to_load), (ev_window_open): load backend
1050 based on the mime type.
1052 2004-12-22 Martin Kretzschmar <martink@gnome.org>
1054 * backend/.cvsignore: ignore generated marshalers source.
1056 * shell/main.c (main): this is not epiphany.
1058 2004-12-22 Havoc Pennington <hp@redhat.com>
1060 * shell/ev-view.c (ev_view_set_document): connect to "found" signal
1061 (expose_bin_window): draw find highlights
1063 * shell/ev-window.c (find_bar_search_changed_cb): implement
1065 * pdf/xpdf/pdf-document.cc (pdf_document_begin_find)
1066 (pdf_document_end_find): implement this interface
1068 * backend/ev-document.c (ev_document_found): add this to emit
1071 Tue Dec 21 23:57:37 2004 Owen Taylor <otaylor@redhat.com>
1073 * data/evince-ui.xml: Add a few more toolbar items.
1075 * shell/ev-window.c: Hook up page navigation toolbar
1078 * shell/ev-view.[ch]: add ev_view_set/get_page and
1079 a page-changed signal.
1081 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc::
1082 Add ev_document_get_page().
1084 * shell/ev-window.c: Sensitize/desensitize navigation
1087 2004-12-21 Havoc Pennington <hp@redhat.com>
1089 * backend/ev-backend-marshal.c,
1090 backend/ev-backend-marshalers.list, backend/Makefile.am: add
1091 marshaler-generator thingy. I'm sure there's a better way to do
1092 this in the modern world.
1094 * backend/ev-document.h (struct _EvDocumentIface): add begin_find,
1095 end_find methods and "found" signal.
1097 * configure.ac: find glib-genmarshal
1099 Tue Dec 21 23:20:35 2004 Jonathan Blandford <jrb@redhat.com>
1101 * shell/ev-sidebar.c: Construct an actual sidebar.
1102 * shell/ev-sidebar-bookmarks.[ch]:
1103 * shell/ev-sidebar-thumbnails.[ch]: Stub out sidebars.
1105 Tue Dec 21 23:05:51 2004 Owen Taylor <otaylor@redhat.com>
1107 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc:
1110 * shell/ev-view.c: Track the size from the document.
1112 Tue Dec 21 22:17:04 2004 Owen Taylor <otaylor@redhat.com>
1114 * pdf/xpdf/pdf-document.cc (pdf_document_load): PDFDoc
1115 constructor assumes ownership of the string passed in.
1117 * shell/ev-window.c (ev_window_open): Destroy the error
1118 dialog once we've displayed it.
1120 Tue Dec 21 21:58:56 2004 Owen Taylor <otaylor@redhat.com>
1122 * pdf/xpdf/pdf-document.cc shell/ev-view.c: Hook things up
1123 a bit, it works! (sort of)
1125 * pdf/xpdf/Makefile.am pdf/xpdf/pdf-document.cc:
1126 Move to .cc since we need to use C++ in the implementation.
1128 * shell/dummy.cc: Add a CC file to force evince
1129 to be linked as a C++ program.
1131 Tue Dec 21 21:07:55 2004 Owen Taylor <otaylor@redhat.com>
1133 * shell/ev-view.[ch]: Start of content-area widget.
1135 * shell/ev-window.c: Create a EvView, update it
1136 as we change documents.
1138 * shell/Makefile.am shell/ev-marshal.list: Add
1139 generated marshalers.
1141 Tue Dec 21 20:28:11 2004 Jonathan Blandford <jrb@redhat.com>
1143 * Makefile.am (SUBDIRS): move shell.
1145 Tue Dec 21 19:28:55 2004 Owen Taylor <otaylor@redhat.com>
1147 * pdf/{goo,fofi,splash,xpdf}/Makefile.am: Switch from
1148 .a to libtool convenience libraries.
1150 * shell/ev-window.c (ev_window_open): Hard code loading
1153 * backend/ev-document.h: Add a boolean return to load(),
1154 fix GError * to GError **.
1156 * pdf/xpdf/pdf-document.[ch] Makefile.am: Add a stub
1157 object for a PDF backend EvDocument.
1159 Tue Dec 21 18:55:06 2004 Søren Sandmann <sandmann@redhat.com>
1161 * dvi/*: New directory with the beginning of a .dvi backend.
1163 2004-12-21 Havoc Pennington <hp@redhat.com>
1165 * shell/eggfindbar.c (egg_find_bar_init): change buttons to
1166 previous/next instead of back/forward
1168 Tue Dec 21 18:26:24 2004 Owen Taylor <otaylor@redhat.com>
1170 * backend/ev-document.[ch]: Fix a couple of problems so
1173 Tue Dec 21 18:20:40 2004 Owen Taylor <otaylor@redhat.com>
1175 * viewer/* backend/* configure.ac Makefile.am: Move viewer directory
1176 to backend/ directory, rename EvViewer to EvDocument.
1178 2004-12-21 Havoc Pennington <hp@redhat.com>
1180 * shell/ev-window.c: hook up the find bar widget; now we just need
1181 a document to find things in
1183 * shell/eggfindbar.c: a find bar widget
1185 Tue Dec 21 17:20:16 2004 Jonathan Blandford <jrb@redhat.com>
1187 * shell/ev-sidebar.[ch]: initial sidebar boilerplate.
1189 Tue Dec 21 16:30:58 2004 Owen Taylor <otaylor@redhat.com>
1191 * pdf/**: Import of xpdf code from gpdf.
1193 * pdf/xpdf/xpdfconfig.h: Move the non-config.h config.h to xpdfconfig.h
1195 * pdf/splash/SplashFTFont.{cc,h} pdf/splash/SplashFTFont.h
1196 pdf/splash/SplashFTFontEngine.h pdf/splash/SplashFTFontFile.h:
1197 Fix FreeType includes.
1199 * pdf/xpdf/{Error.h GnomeVFSStream.cc ImageOutputDev.cc PDFDoc.cc\
1200 pdffonts.cc pdfimages.cc pdfinfo.cc pdftoppm.cc pdftops.cc
1201 pdftotext.cc PSOutputDev.cc PSOutputDev.h SplashOutputDev.h
1202 Stream.cc TextOutputDev.cc XPDFApp.cc xpdf.cc XPDFViewer.cc
1203 pdf/xpdf/Error.h PSOutputDev.h SplashOutputDev.h}:
1204 Include xpdfconfig.h
1206 Tue Dec 21 16:08:17 2004 Jonathan Blandford <jrb@redhat.com>
1208 * shell/ev-window.c (ev_window_dispose): dispose can be called
1211 2004-12-21 Havoc Pennington <hp@redhat.com>
1213 * shell/ev-window.c (ev_window_init): set title to Document Viewer
1216 * data/evince-ui.xml, shell/ev-window.c: add a bunch of stub menu
1217 items; really they should be synced with the strings, etc. from
1218 current gpdf, but just getting the boring typing out of the way
1220 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
1223 * shell/ev-application.c: (window_destroy_cb):
1224 * shell/ev-window.c:
1225 * shell/main.c: (main):
1227 Actually show the window...
1229 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
1232 * shell/Makefile.am:
1233 * shell/ev-application.c: (ev_application_class_init):
1234 * shell/ev-window.c: (ev_window_dispose), (ev_window_class_init):
1238 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
1240 Import to gnome cvs.
1242 * Remove copies of gpdf and ggv trees.
1243 * Rip out all the recursive configure code.
1244 * Remove bonobo machinery.
1245 * viewer/*: GInterfaces that backends should/can implement.
1247 2004-11-09 Martin Kretzschmar <m_kretzschmar@gmx.net>
1249 * shell/ev-window.c (ev_window_cmd_help_about): fix "documentors"
1252 2004-10-28 Martin Kretzschmar <m_kretzschmar@gmx.net>
1254 * shell/ev-application.c (EV_APPLICATION_GET_PRIVATE)
1255 (ev_application_finalize, ev_application_class_init)
1256 (ev_application_init): use GType instance private data for priv.
1258 * shell/ev-window.c (EV_WINDOW_GET_PRIVATE)
1259 (ev_window_finalize, ev_window_class_init)
1260 (ev_window_init): ditto.
1262 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
1264 * shell/ev-application.c (ev_application_new_window): make public
1265 (ev_application_show_initial_window): kill.
1267 * shell/ev-application.h: update prototypes.
1269 * shell/main.cc (main): inline ev_application_show_initial_window.
1271 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
1273 * shell/ev-application.c (ev_application_new_window): impl.
1274 (ev_application_show_initial_window): use it.
1275 (is_window_empty, ev_application_get_empty_window): returns an
1276 existing empty window or a new one.
1277 (ev_application_open): from ev_window_cmd_file_open.
1279 * shell/ev-application.h: update prototypes
1281 * shell/ev-window.c (ev_window_is_empty): impl.
1282 (ev_window_open): make public.
1283 (ev_window_cmd_file_open): use ev_application_open
1285 * shell/ev-window.h: update prototypes, remove unused.
1287 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
1289 * shell/ev-window.c (ev_window_destroy, ev_window_class_init):
1290 move destroy handler out of here...
1292 * shell/ev-application.c, shell/ev-application.h: ...into this new
1293 class. Also handles initial window creation.
1295 * shell/main.cc (main): use EvApplication to create initial
1298 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
1300 * Makefile.am (SUBDIRS): add cut-n-paste
1302 * cut-n-paste/Makefile.am: add
1304 * configure.ac: generate Makefiles in cut-n-paste
1306 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
1308 * shell/ev-window.c (ev_window_dispose): new, unref the ui_manager
1309 (ev_window_class_init): install ev_window_dispose.
1311 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
1313 * shell/ev-window.h, shell/ev-window.c: replace gchar with
1314 char (gchar looks stupid).
1316 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
1318 * po/de.po: updated German translation.
1320 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
1322 * configure.ac: add more pkg-config library checks for gnome-vfs,
1325 * gpdf/configure.in: temporarily disable libpaper
1326 checks. Otherwise I'd have to add the checks for the shell, too.
1328 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1330 * shell/ev-window.c (ev_window_cmd_file_open): add ps+pdf, ps, pdf
1331 and * file filters to the file choose.
1333 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1335 * po/de.po: Updated German translation.
1337 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1339 * shell/ev-window.c: use "S" as mnemonic for Statusbar.
1341 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1343 * data/evince-ui.xml: add View->Toolbar and View->Statusbar.
1345 * shell/ev-window.c (menu_item_select_cb, menu_item_select_cb)
1346 (ev_window_init): implement those menuitems.
1348 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1350 * data/evince-ui.xml: add a toolbar (with FileOpen action)
1352 * shell/ev-window.c (ev_window_init): use the toolbar.
1354 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1356 * shell/ev-window.c (ev_window_init): use menu translations
1358 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1360 * configure.ac: add "de" to ALL_LINGUAS.
1362 * po/de.po: add German translation.
1364 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1366 * Makefile.am (SUBDIRS): add po
1368 * configure.ac: check intltool, glib-gettext etc, generate
1371 * po, po/POTFILES.in, po/POTFILES.skip: new.
1373 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1375 * shell/Makefile.am (INCLUDES): define GNOMELOCALEDIR which we
1376 already use (#ifdef ENABLE_NLS)
1378 * shell/ev-window.c (ev_window_cmd_help_about): fix two star
1379 pointer indirection thinko.
1381 * shell/main.c: include gi18n.h for bindtextdomain etc.
1383 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1385 * shell/ev-window.c (menu_item_select_cb, menu_item_deselect_cb)
1386 (connect_proxy_cb, disconnect_proxy_cb, ev_window_init): show
1387 tooltips for menu items in the statusbar.
1389 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1391 * configure.ac, data/Makefile.am, shell/Makefile.am: use
1392 pkgdatadir drop UIDIR
1394 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1396 * data/evince-ui.xml: Add File->Open menu item
1398 * shell/ev-window.c (ev_window_cmd_file_open): impl. (shows a file
1399 chooser), hook it up in the ui manager.
1401 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1403 * shell/ev-window.c: fix Help->About tooltip.
1405 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1407 * configure.ac: set CFLAGS for libevprivate.
1409 * lib/ev-stock-icons.h, lib/ev-stock-icons.c: stock icon
1410 definitions, factory etc.
1412 * lib/Makefile.am: build libevprivate.a (only stock icon code).
1414 * shell/Makefile.am: link against libevprivate.a.
1416 * shell/ev-window.c (entries): add stock icon to Help->About.
1418 * shell/main.c (main): init stock icon code.
1420 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1422 * lib/recent-files: egg recent files code
1424 * lib/Makefile.am: add.
1426 * Makefile.am: add lib subdir.
1428 * configure.ac: gen. lib/Makefile and lib/recent-files/Makefile,
1429 set CFLAGS for recent-files.
1431 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1433 * configure.ac: disable -ansi and -pedantic gcc flags. They
1434 disable POSIX stuff in stdio.h, but egg-recent uses them.
1436 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1438 * configure.ac: add --disable-deprecated flag (defaults to on in
1441 * shell/Makefile.am (INCLUDES): use it.
1443 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1445 * shell/main.c: add missing #include.
1447 * shell/ev-window.c: fix for pedantic gcc.
1448 (ev_window_cmd_help_about): split license into paragraphs for
1449 translators and pedantic compilers.
1451 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1453 * configure.ac: add more warning flags if compiling with gcc from
1454 cvs (or explicitly requested with --enable-more-warnings).
1456 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1458 * data/evince-ui.xml: add File and File->Close menu.
1460 * shell/ev-window.c (ev_window_cmd_file_close_window): impl.
1461 (ev_window_destroy): quit after destroy.
1462 (ev_window_class_init): override GtkObject::destroy.
1463 (entries): install close_window callback.
1465 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1467 * Makefile.am (SUBDIRS): add data subdir.
1469 * configure.ac (UIDIR): gen data/Makefile, define UIDIR. Require
1470 gtk+ 2.5.0 for GtkAboutDialog.
1472 * data/Makefile.am, data/evince-ui.xml: add, ui definition for the
1475 * shell/Makefile.am (INCLUDES): propagate UIDIR definition.
1477 * shell/ev-window.c (ev_window_init): create a menubar, using a ui
1479 (ev_window_cmd_help_about): about command, using GtkAboutDialog.
1481 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1483 * shell/ev-window.c, shell/ev-window.h: Created an EvWindow class.
1485 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
1487 * shell/main.c: make it a trivial gtk+ program, adjust configure.ac
1489 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
1491 * shell/*: Added shell directory boilerplate, build it.
1493 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
1495 * configure.ac, Makefile.am: Added top-level configure.ac and