1 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
3 * shell/ev-view.c: (ev_view_size_request), (ev_view_realize),
4 (expose_bin_window), (ev_view_class_init), (ev_view_init):
6 Use normal style color for the widget background and
7 draw a black box around the page.
9 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
11 * pdf/xpdf/pdf-document.cc:
13 Keep offset in consideration in a few places
15 * shell/ev-view.c: (expose_bin_window):
17 Set the offsets so that the document is ever centered
19 2005-01-20 Bryan Clark <clarkbw@cvs.gnome.org>
21 * TODO: Added TODO items and finished off the first todo item
23 * AUTHORS: Updated AUTHORS section with piece from gpdf file and
24 reflect current authors
26 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
28 * pdf/xpdf/pdf-document.cc:
29 * shell/ev-view.c: (ev_view_set_cursor),
30 (ev_view_motion_notify_event), (document_changed_callback),
33 Show a wait cursor while the page is rendering
35 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
37 * shell/ev-sidebar-thumbnails.c:
38 (ev_sidebar_tree_selection_changed),
39 (ev_sidebar_thumbnails_select_page):
40 * shell/ev-sidebar-thumbnails.h:
41 * shell/ev-view.c: (ev_view_set_document), (ev_view_can_go_back),
42 (ev_view_can_go_forward):
43 * shell/ev-window.c: (ev_window_open_page),
44 (ev_window_setup_document), (update_current_page),
45 (view_page_changed_cb), (ev_window_init):
48 Ensure thumbnails selection, toolbar page control and
49 current page are in sync.
51 2005-01-19 Marco Pesenti Gritti <marco@gnome.org>
57 Wed Jan 19 01:10:57 2005 Jonathan Blandford <jrb@redhat.com>
59 * backend/Makefile.am:
60 * backend/ev-document-links.h:
61 * backend/ev-document-security.c: (ev_document_security_get_type),
62 (ev_document_security_has_document_security),
63 (ev_document_security_set_password):
64 * backend/ev-document-security.h:
65 * backend/ev-document.c: (ev_document_error_quark):
66 * backend/ev-document.h:
68 * data/evince-password.glade:
69 * pdf/xpdf/pdf-document.cc:
71 * shell/ev-password.c: (ev_password_set_bad_password_label),
72 (ev_window_password_entry_changed_cb), (ev_password_dialog_new),
73 (ev_password_dialog_get_password),
74 (ev_password_dialog_set_bad_pass):
75 * shell/ev-password.h:
76 * shell/ev-window.c: (ev_window_get_attribute),
77 (ev_window_set_property), (update_action_sensitivity),
78 (ev_window_is_empty), (mime_type_supported_by_gdk_pixbuf),
79 (ev_window_setup_document), (ev_window_get_password),
80 (ev_window_open), (ev_window_cmd_save_as),
81 (using_postscript_printer), (ev_window_print),
82 (find_not_supported_dialog), (ev_window_cmd_edit_find),
83 (update_fullscreen_popup), (ev_window_fullscreen),
84 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
85 (ev_window_focus_out_cb), (ev_window_cmd_help_about),
86 (menu_item_select_cb), (find_bar_search_changed_cb),
87 (ev_window_dispose), (ev_window_init):
89 Add initial support for password-supported dialogs. This could be
90 a lot cooler, but it'll do for now.
92 2005-01-18 Marco Pesenti Gritti <marco@gnome.org>
94 * pdf/xpdf/pdf-document.cc:
95 * shell/ev-view.c: (status_message_from_link),
96 (ev_view_set_status), (ev_view_set_cursor),
97 (ev_view_motion_notify_event), (ev_view_init):
98 * shell/ev-window.c: (view_status_changed_cb), (ev_window_init):
100 Fix bugs in the links implementation and change cursor
101 when hovering a link.
103 2005-01-17 Bryan Clark <clarkbw@cvs.gnome.org>
105 * viewer/.cvsignore: added cvsignore file for viewer directory
107 * TODO: created TODO document
109 2005-01-14 Dave Malcolm <dmalcolm@redhat.com>
112 * shell/ev-view.c (ev_view_can_go_back), (ev_view_can_go_forward):
113 new functions to help with implementation of sensitivity code
114 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
115 of all actions that might require it. Fixes a crash when you
116 click on the Zoom actions in a window lacking a document.
118 2005-01-13 Dave Malcolm <dmalcolm@redhat.com>
120 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
123 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
125 * pixbuf/pixbuf-document.c: (pixbuf_document_get_link),
126 (pixbuf_document_document_iface_init):
127 * ps/ps-document.c: (ps_document_get_link),
128 (ps_document_document_iface_init):
129 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event),
130 (status_message_from_link), (ev_view_set_status),
131 (ev_view_set_find_status), (ev_view_motion_notify_event),
132 (ev_view_button_release_event), (ev_view_set_property),
133 (ev_view_get_property), (ev_view_class_init), (ev_view_init),
134 (ev_view_get_find_status_message), (update_find_results),
135 (ev_view_get_status), (ev_view_get_find_status):
137 * shell/ev-window.c: (view_status_changed_cb),
138 (view_find_status_changed_cb), (ev_window_init):
140 View status message support, use it to show the links.
143 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
145 * backend/ev-document.c: (ev_document_get_link):
146 * backend/ev-document.h:
147 * pdf/xpdf/pdf-document.cc:
148 * shell/ev-application.c: (ev_application_open):
149 * shell/ev-application.h:
150 * shell/ev-sidebar-links.c: (selection_changed_cb):
151 * shell/ev-view.c: (ev_view_button_release_event), (go_to_link),
152 (ev_view_go_to_link):
154 Add support for document links
156 2005-01-13 Anders Carlsson <andersca@gnome.org>
158 * shell/ev-page-action.c: (update_spin), (total_pages_changed_cb),
160 Set the spin button limits correctly.
162 * shell/ev-sidebar-thumbnails.c:
163 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init):
164 Support changing pages by clicking on the thumbnails.
166 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
168 * pixbuf/pixbuf-document.c:
169 (pixbuf_document_thumbnails_get_dimensions),
170 (pixbuf_document_document_thumbnails_iface_init):
172 implement get_dimensions
174 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
176 * ps/ps-document.c: (ps_document_goto_page):
178 Fix page switching on multipage documents
180 2005-01-12 Jeff Muizelaar <jrmuizel@nit.ca>
182 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
184 check for NULL before assigning to width and height parameters
186 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
188 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
189 (pixbuf_document_set_property), (pixbuf_document_get_property):
191 implement get/set properties
193 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
195 * pdf/xpdf/pdf-document.cc: (pdf_info_dict_get_string):
197 return NULL instead of "Unknown", letting the title get set to
198 the filename when the pdf has no title.
200 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
202 * ps/ps-document.c: (ps_document_get_page_count),
203 (ps_document_goto_page):
205 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
207 * shell/ev-history.c: (ev_history_get_property),
208 (ev_history_set_property), (ev_history_class_init),
209 (ev_history_add_page), (ev_history_set_current_index):
210 * shell/ev-navigation-action.c: (ev_navigation_action_set_history),
211 (activate_menu_item_cb), (new_history_menu_item), (build_menu),
212 (ev_navigation_action_finalize):
213 * shell/ev-navigation-action.h:
214 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
215 (ev_view_go_forward), (ev_view_get_find_status_message),
216 (history_index_changed_cb), (ev_view_set_history):
218 * shell/ev-window.c: (update_total_pages), (ev_window_open),
219 (update_current_page), (register_custom_actions):
221 Implement history dropdowns
223 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
225 * shell/ev-history.c: (ev_history_init), (ev_history_add_link):
226 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
227 (ev_view_go_forward):
228 * shell/ev-window.c: (register_custom_actions):
230 Fix several history bugs
232 2005-01-11 Kjartan Maraas <kmaraas@gnome.org>
234 * configure.ac: Add «nb» to ALL_LINGUAS.
236 2005-01-10 Marco Pesenti Gritti <marco@gnome.org>
238 * backend/Makefile.am:
239 * backend/ev-bookmark.c:
240 * backend/ev-bookmark.h:
241 * backend/ev-document-bookmarks.c:
242 * backend/ev-document-bookmarks.h:
243 * backend/ev-document-links.c: (ev_document_links_get_type),
244 (ev_document_links_has_document_links),
245 (ev_document_links_begin_read), (ev_document_links_get_link),
246 (ev_document_links_get_child), (ev_document_links_next),
247 (ev_document_links_free_iter):
248 * backend/ev-document-links.h:
249 * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_title),
250 (ev_link_set_title), (ev_link_get_uri), (ev_link_set_uri),
251 (ev_link_get_link_type), (ev_link_set_link_type),
252 (ev_link_get_page), (ev_link_set_page), (ev_link_get_property),
253 (ev_link_set_property), (ev_window_dispose), (ev_link_init),
254 (ev_link_class_init), (ev_link_new_title), (ev_link_new_page),
255 (ev_link_new_external):
257 * pdf/xpdf/pdf-document.cc:
259 * shell/ev-application.c: (ev_application_open_link):
260 * shell/ev-application.h:
261 * shell/ev-history.c: (ev_history_add_link), (ev_history_add_page),
262 (ev_history_get_link_nth):
263 * shell/ev-history.h:
264 * shell/ev-sidebar-bookmarks.c:
265 * shell/ev-sidebar-bookmarks.h:
266 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
267 (ev_sidebar_links_class_init), (selection_changed_cb),
268 (ev_sidebar_links_construct), (ev_sidebar_links_init),
269 (links_page_num_func), (ev_sidebar_links_new), (stack_data_free),
270 (do_one_iteration), (populate_links_idle),
271 (ev_sidebar_links_clear_document), (ev_sidebar_links_set_document):
272 * shell/ev-sidebar-links.h:
273 * shell/ev-sidebar.c: (ev_sidebar_set_document):
274 * shell/ev-view.c: (go_to_link), (ev_view_go_to_link),
277 * shell/ev-window.c: (ev_window_open_link), (ev_window_init):
280 Rename bookmark to link, and use "Index" for the sidebar panel.
282 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
285 * shell/ev-application.c: (ev_application_open_bookmark):
286 * shell/ev-application.h:
287 * shell/ev-history.c: (ev_history_init), (free_links_list),
288 (ev_history_finalize), (ev_history_class_init),
289 (ev_history_add_link), (ev_history_add_page),
290 (ev_history_get_link_nth), (ev_history_get_n_links),
291 (ev_history_get_current_index), (ev_history_set_current_index),
293 * shell/ev-history.h:
294 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
295 * shell/ev-view.c: (ev_view_finalize), (ev_view_set_document),
296 (set_document_page), (go_to_bookmark), (ev_view_go_to_bookmark),
297 (go_to_index), (ev_view_go_back), (ev_view_go_forward),
300 * shell/ev-window.c: (ev_window_open_bookmark),
301 (ev_window_cmd_go_back), (ev_window_cmd_go_forward),
302 (goto_page_cb), (register_custom_actions):
305 Initial history implementation. Needs work.
307 2005-01-09 Martin Kretzschmar <martink@gnome.org>
309 * pdf/xpdf/GDKSplashOutputDev.cc (redraw): fix pixbuf data offset.
311 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
313 * cut-n-paste/recent-files/egg-recent-item.c:
314 * cut-n-paste/recent-files/egg-recent-item.h:
315 * cut-n-paste/recent-files/egg-recent-model.c:
316 * cut-n-paste/recent-files/egg-recent-util.c:
317 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
318 * cut-n-paste/recent-files/egg-recent-view.c:
322 2005-01-08 Martin Kretzschmar <martink@gnome.org>
324 * pdf/splash/Splash.cc (clear, drawPixel, drawSpan, xorSpan, getPixel)
325 (fillGlyph, fillImageMask, drawImage):
326 pdf/splash/SplashBitmap.cc (SplashBitmap, ~SplashBitmap, writePNMFile):
327 pdf/splash/SplashTypes.h:
328 pdf/xpdf/SplashOutputDev (startPage, getColor, imageSrc): implement RGB8
329 packed mode for Splash.
331 * pdf/xpdf/GDKSplashOutputDev.cc (GDKSplashOutputDev, redraw): use
332 RGB8 packed mode, eliminates the pixbuf data creation loop.
334 * shell/ev-print-job.c (ev_print_job_finalize)
335 (ev_print_job_set_property, ev_print_job_get_property)
336 (ev_print_job_set_gnome_print_job, ev_print_job_set_document)
337 (ev_print_job_use_print_dialog_settings, idle_print_handler)
338 (print_closure_finalize, ev_print_job_print): implement
339 printing (for backends with EvPsExporter)
341 * shell/ev_print_job.h: update prototypes.
343 * shell/ev-window.c (ev_window_print): unref print job after
346 * shell/ev-view.c (ev_view_set_document): don't connect to "found"
347 unless the document implements the EvDocumentFind interface.
349 2005-01-08 Satoru SATOH <ss@gnome.gr.jp>
351 * configure.ac: Added ja to ALL_LINGUAS.
353 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
355 * pdf/xpdf/pdf-document.cc:
357 add a FIXME. We should probably not allocate
358 a bookmark object every time
360 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
362 * shell/ev-application.c: (ev_application_open),
363 (ev_application_open_bookmark):
364 * shell/ev-application.h:
366 Add a way to open bookmarks
368 * backend/ev-bookmark.c: (ev_bookmark_get_uri),
369 (ev_bookmark_set_uri), (ev_bookmark_get_property),
370 (ev_bookmark_set_property), (ev_bookmark_class_init),
371 (ev_bookmark_new_title), (ev_bookmark_new_link),
372 (ev_bookmark_new_external):
374 Support for external uris, better constructors.
376 * backend/ev-bookmark.h:
377 * pdf/xpdf/pdf-document.cc:
378 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
382 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
384 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb),
385 (ev_sidebar_bookmarks_construct), (do_one_iteration):
387 Hook up bookmarks navigation
389 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
391 * backend/Makefile.am:
392 * backend/ev-bookmark.c: (ev_bookmark_type_get_type),
393 (ev_bookmark_get_title), (ev_bookmark_set_title),
394 (ev_bookmark_get_bookmark_type), (ev_bookmark_set_bookmark_type),
395 (ev_bookmark_get_page), (ev_bookmark_set_page),
396 (ev_bookmark_get_property), (ev_bookmark_set_property),
397 (ev_window_dispose), (ev_bookmark_init), (ev_bookmark_class_init),
399 * backend/ev-bookmark.h:
400 * backend/ev-document-bookmarks.c:
401 (ev_document_bookmarks_get_bookmark):
402 * backend/ev-document-bookmarks.h:
403 * pdf/xpdf/pdf-document.cc:
404 * shell/ev-sidebar-bookmarks.c: (do_one_iteration):
406 Add a bookmark object to the backend and use it instead of get_values
408 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
410 * data/evince-ui.xml:
412 Cleanup and add select all.
414 * shell/ev-view.c: (ev_view_select_all),
415 (ev_view_button_press_event):
417 * shell/ev-window.c: (ev_window_cmd_edit_select_all):
420 Clear selection on click.
422 Fri Jan 7 01:28:58 2005 Jonathan Blandford <jrb@redhat.com>
424 * shell/ev-sidebar-thumbnails.c
425 (ev_sidebar_thumbnails_set_document): forgot to unref the
428 Fri Jan 7 01:22:48 2005 Jonathan Blandford <jrb@redhat.com>
430 * shell/ev-sidebar-thumbnails.c: fill in the thumbnails starting
431 at the visible page, not just linearly. This makes it look fast.
433 Thu Jan 6 18:48:11 2005 Jonathan Blandford <jrb@redhat.com>
435 * backend/ev-document-misc.c
436 (ev_document_misc_get_thumbnail_frame): fill in the thumbnail with
438 * backend/ev-document-thumbnails.h: New interface to get the size
441 2005-01-06 Jeremy Katz <katzj@redhat.com>
443 * shell/Makefile.am (evince_SOURCES): Add ev-utils.[ch] so that
446 Wed Jan 5 15:38:28 2005 Jonathan Blandford <jrb@redhat.com>
448 * pdf/xpdf/pdf-document.cc (bitmap_to_pixbuf): bypass
449 GDKSplashOutputDev and just use a normal SplashOutputDev. Speeds
452 * shell/ev-sidebar-thumbnail.c: start of some profiling code.
454 2005-01-05 Martin Kretzschmar <martink@gnome.org>
456 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): match only outline
457 fonts. Should fix font problems on systems that have the base
458 fonts in bitmap format. Reported by James Henstridge
459 <james@jamesh.id.au>.
461 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
464 * pdf/xpdf/GfxState.cc:
466 Fix for CAN-2004-1125
468 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
470 * shell/ev-view.c: (ev_view_copy):
472 * shell/ev-window.c: (ev_window_cmd_edit_copy):
476 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
478 * backend/ev-document.c: (ev_document_get_text):
479 * backend/ev-document.h:
480 * pdf/xpdf/pdf-document.cc:
481 * shell/ev-view.c: (ev_view_realize), (expose_bin_window),
482 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
483 (ev_view_update_primary_selection), (ev_view_button_press_event),
484 (ev_view_motion_notify_event), (ev_view_button_release_event):
486 Beginnings of clipboard support. Incomplete but primary sort
489 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
491 * shell/ev-view.c: (ev_gdk_color_to_rgb), (draw_rubberband),
494 Nicer rubberband drawing, from GtkIconView.
496 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
498 * backend/ev-document.c: (ev_document_save):
499 * backend/ev-document.h:
500 * data/evince-ui.xml:
501 * pdf/xpdf/pdf-document.cc:
502 * shell/ev-window.c: (save_error_dialog), (ev_window_cmd_save_as):
504 Implement "Save a copy..." menu item
506 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
508 * shell/ev-view.c: (ev_view_zoom):
510 Queue a resize when zoom changes
512 Wed Jan 5 02:33:06 2005 Jonathan Blandford <jrb@redhat.com>
514 * backend/ev-document-misc.[ch]: New misc file to do simple drop
517 * pdf/xpdf/pdf-document.cc: use the drop shadows in both types of
520 Tue Jan 4 22:32:32 2005 Jonathan Blandford <jrb@redhat.com>
522 * pdf/xpdf/pdf-document.cc
523 (pdf_document_thumbnails_get_page_pixbuf): poor man's dropshadow.
525 Tue Jan 4 21:25:05 2005 Jonathan Blandford <jrb@redhat.com>
527 * pdf/xpdf/pdf-document.cc: Do real thumbnailing of PDF files.
528 It's slow, but I'll speed it up next!
530 2005-01-04 Jeff Muizelaar <jrmuizel@nit.ca>
532 * shell/main.c (load_files):
534 use gnome_vfs_make_uri_from_shell_arg so that relative paths work
535 from the command line and because it seems more appropriate.
537 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
539 * data/evince-ui.xml:
540 * shell/ev-window.c: (update_action_sensitivity),
541 (ev_window_cmd_go_page_up), (ev_window_cmd_go_page_down):
543 s/next page/page down
544 s/previous page/page up
546 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
548 * data/evince-ui.xml:
550 Change the layout to match clarkbw design.
553 * shell/ev-navigation-action.c: (build_menu), (menu_activated_cb),
554 (set_tooltip_cb), (connect_proxy), (ev_navigation_action_init),
555 (ev_navigation_action_finalize),
556 (ev_navigation_action_set_property),
557 (ev_navigation_action_get_property),
558 (ev_navigation_action_class_init):
559 * shell/ev-navigation-action.h:
561 Implement clarkbw toolbar navigation controls (incomplete)
563 * shell/ev-page-action.c: (update_label), (update_spin),
564 (value_changed_cb), (create_tool_item), (connect_proxy),
565 (ev_page_action_init), (ev_page_action_finalize),
566 (ev_page_action_set_property), (ev_page_action_get_property),
567 (ev_page_action_set_current_page),
568 (ev_page_action_set_total_pages), (ev_page_action_class_init):
569 * shell/ev-page-action.h:
571 Implement a page switcher in the toolbar
573 * shell/ev-view.c: (ev_view_scroll_view):
574 * shell/ev-window.c: (update_total_pages), (ev_window_open),
575 (update_current_page), (view_page_changed_cb), (goto_page_cb),
576 (register_custom_actions), (ev_window_init):
578 Change page on PageUp/Down.
580 Tue Jan 4 03:22:56 2005 Jonathan Blandford <jrb@redhat.com>
582 * pdf/xpdf/pdf-document.cc
583 (pdf_document_thumbnails_get_thumbnail): initial stab at
584 implementing thumbnail support for pdfs. It only does documents
585 with precached pdfs now.
587 Mon Jan 3 17:22:25 2005 Jonathan Blandford <jrb@redhat.com>
589 * shell/ev-sidebar-thumbnails.c (do_one_iteration): move the
590 thumbnail code into a time-based idle as well. Also, turn off the
591 shadow temporarily as it's really slow.
593 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
595 * backend/ev-document.c: (ev_document_class_init):
596 * pdf/xpdf/pdf-document.cc:
597 * shell/ev-window.c: (ev_window_open):
599 Fix document title bugs and fallback to
600 filename when not available.
602 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
604 * backend/ev-document.c: (ev_document_get_type),
605 (ev_document_class_init), (ev_document_load),
606 (ev_document_get_title):
607 * backend/ev-document.h:
608 * pdf/xpdf/pdf-document.cc:
609 * ps/ps-document.c: (ps_document_set_property),
610 (ps_document_get_property), (ps_document_class_init),
614 * shell/ev-window.c: (update_window_title), (ev_window_open),
617 Initial support for document title. Not working yet.
619 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
621 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event):
623 Grab focus on the view when clicking it
625 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
627 * shell/ev-marshal.list:
628 * shell/ev-view.c: (ev_view_realize), (add_scroll_binding),
629 (ev_view_scroll_view), (ev_view_class_init), (ev_view_init):
631 Add key bindings to the view. Now if the focus would work
634 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
637 * backend/Makefile.am:
640 * dvi/dvilib/Makefile.am:
641 * pdf/xpdf/Makefile.am:
647 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
649 * shell/ev-view.c: (ev_view_realize):
651 Fix mouse wheel scrolling
653 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
659 * ps/ps-document.c: (catchPipe), (ps_document_init),
660 (ps_document_class_init), (ps_document_cleanup),
661 (ps_document_finalize), (send_ps), (ps_document_get_orientation),
662 (set_up_page), (close_pipe), (is_interpreter_ready),
663 (interpreter_failed), (output), (input), (start_interpreter),
664 (stop_interpreter), (file_length), (file_readable),
665 (check_filecompressed), (check_pdf), (compute_xdpi),
666 (compute_ydpi), (compute_size), (ps_document_enable_interpreter),
667 (ps_document_get_type), (ps_document_emit_error_msg),
668 (document_load), (ps_document_next_page),
669 (ps_document_get_current_page), (ps_document_get_page_count),
670 (ps_document_goto_page), (ps_document_set_page_size),
671 (ps_document_zoom_to_fit), (ps_document_set_zoom),
672 (ps_document_load), (ps_document_get_n_pages),
673 (ps_document_set_page), (ps_document_get_page),
674 (ps_document_widget_event), (ps_document_set_target),
675 (ps_document_set_scale), (ps_document_set_page_offset),
676 (ps_document_get_page_size), (ps_document_render),
677 (ps_document_document_iface_init):
680 * shell/ev-window.c: (ev_window_open):
682 Rename GtkGS to PSDocument
684 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
686 * ps/gtkgs.c: (gtk_gs_class_init):
689 Some more leftover...
691 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
693 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_get_orientation),
694 (output), (stop_interpreter), (gtk_gs_emit_error_msg),
695 (gtk_gs_zoom_to_fit), (gtk_gs_set_zoom):
698 Remove unused code and make a lot of stuff private
700 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
702 * ps/gsdefaults.c: (gtk_gs_defaults_gconf_client),
703 (gtk_gs_defaults_changed):
709 Cleanup headers dependencies
711 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
716 * ps/gsdefaults.c: (gtk_gs_defaults_get_paper_sizes):
718 * ps/gtkgs.c: (file_length), (file_readable),
719 (check_filecompressed), (check_pdf), (gtk_gs_load),
720 (gtk_gs_get_postscript):
724 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
729 * ps/gtkgs.c: (gtk_gs_set_zoom):
733 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
735 * ps/gtkgs.c: (gtk_gs_set_zoom), (gtk_gs_set_zoom_mode):
737 Ensure the page is rerendered when changing zoom
739 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
741 * backend/ev-document.c: (ev_document_base_init),
742 (ev_document_changed):
743 * backend/ev-document.h:
745 Add a changed event that is emitted when the page content
746 changes. This is necessary to deal with the fact that
747 in ps backend rendering happen asycrounously.
748 This makes the ps backend mostly work.
750 * pdf/xpdf/pdf-document.cc:
754 * ps/gtkgs.c: (set_up_page), (gtk_gs_widget_event),
755 (ps_document_set_target):
759 * shell/ev-view.c: (document_changed_callback),
760 (ev_view_set_document), (ev_view_set_page):
762 Redraw on the changed signal
764 2004-12-25 Raphael Higino <raphaelh@cvs.gnome.org>
766 * configure.ac: Added pt_BR to ALL_LINGUAS.
768 Fri Dec 24 00:48:44 2004 Jonathan Blandford <jrb@redhat.com>
770 * backend/ev-document-bookmarks.c:
771 (ev_document_bookmarks_get_child): *
772 backend/ev-document-bookmarks.h: * pdf/xpdf/Makefile.am: *
773 pdf/xpdf/pdf-document.cc: * pdf/xpdf/pdf-document.h: *
774 shell/Makefile.am: * shell/ev-sidebar-bookmarks.c:
775 (ev_sidebar_bookmarks_destroy),
776 (ev_sidebar_bookmarks_class_init),
777 (ev_sidebar_bookmarks_construct), (stack_data_free),
778 (do_one_iteration), (populate_bookmarks_idle),
779 (ev_sidebar_bookmarks_clear_document),
780 (ev_sidebar_bookmarks_set_document): *
781 shell/ev-sidebar-bookmarks.h: * shell/ev-sidebar.c:
782 (ev_sidebar_add_page),
783 (ev_sidebar_set_document): * shell/ev-window.c: (ev_window_open):
784 Initial stab at a bookmarks sidebar. It doesn't navigate yet, but
785 it displays both the topics and the page numbers.
787 2004-12-23 Kristian Høgsberg <krh@redhat.com>
789 * shell/ev-window.c (ev_window_view_sidebar_cb): Hook up sidebar
791 * shell/ev-window.c (toggle_entries): Set sidebar default value to
794 2004-12-23 Adam Weinberger <adamw@gnome.org>
796 * configure.ac: Added en_CA to ALL_LINGUAS.
798 2004-12-23 Martin Kretzschmar <martink@gnome.org>
800 * ChangeLog: replace bottom of this ChangeLog (merged history of
801 ggv and gpdf; where all paths were wrong and most of the files are
802 not even in this tree) with ChangeLog (from arch) of the shell
805 2004-12-23 Havoc Pennington <hp@redhat.com>
807 * shell/ev-window.c: hook up potentially-questionable "find
808 results status text" feature - something involving the sidebar or
809 scrollbar or a continuous all-pages-on-giant-roll-of-paper-view
810 might be better in the end.
812 * shell/ev-view.c (ev_view_get_find_status_message): new function,
813 with corresponding signal when it should be updated
815 * shell/eggfindbar.c (egg_find_bar_set_status_text): new function
817 2004-12-22 Havoc Pennington <hp@redhat.com>
819 * pdf/xpdf/pdf-document.cc (pdf_document_find_begin): make search
820 find stuff on other pages, sort of (only returns one result on
821 invisible pages, to show they have results; updates full results
822 for a page when you view it). Currently repaints the current page
823 every time a new result is found on any page, which isn't so nice.
825 2004-12-22 Havoc Pennington <hp@redhat.com>
827 * shell/ev-window.c (ev_window_cmd_edit_find): display an error if
828 the document doesn't support find (better ideas?)
829 (find_bar_search_changed_cb): handle missing document or document
830 that doesn't support find
832 * pdf/xpdf/pdf-document.cc: port to implement the new
835 * backend/ev-document-find.c: create a new interface for searching
837 * backend/ev-document.h, backend/ev-document.c: delete the find stuff
839 2004-12-23 Martin Kretzschmar <martink@gnome.org>
841 * pdf/xpdf/Makefile.am (libpdfdocument_la_LIBADD): add
844 * shell/ev-window.c (ev_window_print): add GnomePrintJob to
845 EvPrintJob constructor arguments.
847 * backend/ev-ps-exporter.c, backend/ev-ps-exporter.h: interface
848 for documents that can export PostScript (page by page).
850 * backend/Makefile.am (libevbackend_la_SOURCES): add them.
852 * pdf/xpdf/pdf-document.cc (pdf_document_ps_export_begin)
853 (pdf_document_ps_export_do_page, pdf_document_ps_export_end)
854 (pdf_document_ps_exporter_iface_init:
855 Implement EvPSExporter.
857 * pdf/xpdf/Makefile.am (libxpdf_la_SOURCES): build PSOutputDev.
859 2004-12-22 Anders Carlsson <andersca@gnome.org>
861 * backend/Makefile.am:
862 * backend/ev-document-thumbnails.c:
863 (ev_document_thumbnails_get_type),
864 (ev_document_thumbnails_get_thumbnail):
865 * backend/ev-document-thumbnails.h:
866 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
867 (pixbuf_document_thumbnails_get_thumbnail),
868 (pixbuf_document_document_thumbnails_iface_init):
870 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_destroy),
871 (ev_sidebar_thumbnails_class_init), (ev_sidebar_thumbnails_init),
872 (populate_thumbnails), (ev_sidebar_thumbnails_set_document):
873 * shell/ev-sidebar-thumbnails.h:
874 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
875 (ev_sidebar_set_document):
876 * shell/ev-utils.c: (gaussian), (create_blur_filter),
877 (create_shadow), (ev_pixbuf_add_shadow):
879 Add thumbnail support.
881 2004-12-22 Martin Kretzschmar <martink@gnome.org>
883 * shell/ev-window.c (ev_window_cmd_file_print, ev_window_print)
884 (using_postscript_printer): Set up a print dialog for "PostScript
887 * shell/ev-print-job.h, shell/ev-print-job.c: stub classes for
890 * shell/Makefile.am (evince_SOURCES): add ev-print-job.[ch]
892 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
894 * ps/gtkgs.c: (gtk_gs_init), (set_up_page),
895 (ps_document_set_target), (ps_document_get_page_size),
896 (ps_document_render):
901 2004-12-22 Christian Rose <menthos@menthos.com>
903 * configure.ac: Added "sv" to ALL_LINGUAS.
905 Wed Dec 22 14:47:38 2004 Jonathan Blandford <jrb@redhat.com>
907 * backend/ev-document-bookmarks.[ch]: new interface to indicate
908 document supports bookmarks.
910 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
912 * ps/ggvutils.c: (ggv_file_readable):
914 * ps/gtkgs.c: (check_filecompressed), (check_pdf),
915 (gtk_gs_get_postscript):
919 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
921 * ps/gtkgs.c: (gtk_gs_init), (gtk_gs_class_init), (gtk_gs_cleanup),
922 (gtk_gs_finalize), (gtk_gs_set_center), (set_up_page), (output),
923 (start_interpreter), (compute_size), (gtk_gs_enable_interpreter),
924 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_reload),
925 (gtk_gs_emit_error_msg), (gtk_gs_disable_interpreter),
926 (gtk_gs_load), (gtk_gs_goto_page), (gtk_gs_set_page_size),
927 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
928 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
929 (gtk_gs_set_antialiasing), (ps_document_load),
930 (ps_document_render):
933 Another check point for the ps backend. Now I can get it to show
936 Wed Dec 22 13:41:01 2004 Jonathan Blandford <jrb@redhat.com>
938 * shell/ev-sidebar.c (ev_sidebar_set_document): initial sidebar
939 document setting code.
941 2004-12-22 Anders Carlsson <andersca@gnome.org>
943 * shell/eggfindbar.c: (entry_activate_callback):
944 Animate the next button when activate is pressed.
946 2004-12-22 Anders Carlsson <andersca@gnome.org>
948 * shell/ev-window.c: (ev_window_cmd_edit_find),
949 (update_fullscreen_popup), (ev_window_fullscreen),
950 (ev_window_unfullscreen), (ev_window_state_event_cb),
951 (ev_window_focus_out_cb), (find_bar_close_cb), (ev_window_init):
952 Fix bugs in fullscreen code.
954 2004-12-22 Anders Carlsson <andersca@gnome.org>
958 * pixbuf/Makefile.am:
959 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
960 (pixbuf_document_load), (pixbuf_document_get_n_pages),
961 (pixbuf_document_set_page), (pixbuf_document_get_page),
962 (pixbuf_document_set_target), (pixbuf_document_set_scale),
963 (pixbuf_document_set_page_offset), (pixbuf_document_get_page_size),
964 (pixbuf_document_render), (pixbuf_document_begin_find),
965 (pixbuf_document_end_find), (pixbuf_document_finalize),
966 (pixbuf_document_class_init),
967 (pixbuf_document_document_iface_init), (pixbuf_document_init):
968 * pixbuf/pixbuf-document.h:
970 * shell/ev-application.c: (ev_application_open):
971 * shell/ev-window.c: (mime_type_supported_by_gdk_pixbuf),
975 Tue Dec 21 21:45:43 2004 Soeren Sandmann <sandmann@redhat.com>
978 * dvi/dvilib/Makefile.am:
980 * configure.ac: Auto*ify dvi and dvi/dvilib
982 * dvi/Makefile: Remove from CVS
984 * dvi/dvilib/dl-pkfont.cc (unpack_bitmap): Fix uchar/uint
987 * dvi/dvilib/dl-fontdefinition.{cc,hh}: New DviFontMap class
989 * dvi/dvilib/dl-vffont.{cc,hh}: Many bugfixes to VF code.
991 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
994 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_finalize),
995 (gtk_gs_value_adjustment_changed), (compute_size),
996 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_new_from_file),
997 (gtk_gs_center_page), (gtk_gs_load), (gtk_gs_set_page_size),
998 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
999 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
1000 (gtk_gs_start_scroll), (gtk_gs_get_postscript),
1001 (gtk_gs_set_adjustments), (gtk_gs_set_available_size),
1002 (ps_document_load), (ps_document_get_n_pages),
1003 (ps_document_set_page), (ps_document_get_page),
1004 (ps_document_set_target), (ps_document_set_scale),
1005 (ps_document_set_page_offset), (ps_document_get_page_size),
1006 (ps_document_render), (ps_document_begin_find),
1007 (ps_document_end_find), (ps_document_document_iface_init):
1009 * shell/Makefile.am:
1010 * shell/ev-window.c: (ev_window_open):
1012 Some work to integrate gtkgs with EvDocument
1014 2004-12-22 Anders Carlsson <andersca@gnome.org>
1016 * shell/ev-window.c: (update_fullscreen_popup),
1017 (screen_size_changed_cb), (destroy_exit_fullscreen_popup),
1018 (exit_fullscreen_button_clicked_cb),
1019 (fullscreen_popup_size_request_cb), (ev_window_fullscreen),
1020 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
1021 (ev_window_state_event_cb), (ev_window_init):
1022 Add fullscreen support from Epiphany.
1024 2004-12-22 Mark McLoughlin <mark@skynet.ie>
1026 * data/ev-stock-zoom-fit-width.png: fit-width
1027 stock icon from gpdf.
1029 * shell/ev-stock-icons.[ch]: copied from gpdf.
1031 * shell/main.c: (main): init stock icons.
1033 * shell/ev-window.c: use the fit-width icon.
1035 * data/evince-ui.xml: add zooming toolbar items.
1037 2004-12-22 Mark McLoughlin <mark@skynet.ie>
1040 (ev_view_best_fit), (ev_view_fit_width): because
1041 get_page_size() returns the scaled page size, we
1042 need to calculate the scale factor relative to
1043 the previous scale factor. Should really just
1044 add get_real_page_size().
1046 2004-12-22 Mark McLoughlin <mark@skynet.ie>
1048 * shell/ev-view.[ch]:
1049 (ev_view_zoom), (ev_view_zoom_in), (ev_view_zoom_out),
1050 (ev_view_normal_size), (ev_view_best_fit), (ev_view_fit_width):
1053 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
1054 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_normal_size),
1055 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width):
1058 * pdf/xpdf/pdf-document.cc:
1059 (pdf_document_begin_find),
1060 (pdf_document_end_find): make static.
1062 2004-12-22 Martin Kretzschmar <martink@gnome.org>
1064 * pdf/xpdf/GlobalParams.h (setupBaseFontsFc): add prototype.
1066 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): maps base font
1067 names to fontconfig patterns.
1068 (setupBaseFontsFc): setupBaseFonts reimplemented using fontconfig.
1070 * pdf/xpdf/pdf-document.cc (pdf_document_load): use
1073 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
1089 Import ggv backend. Not hooked up yet.
1091 2004-12-22 Mark McLoughlin <mark@skynet.ie>
1093 * shell/main.c: (load_files), (main): load files
1094 from the command line.
1096 2004-12-22 Mark McLoughlin <mark@skynet.ie>
1098 * configure.ac: don't require bonobo.
1100 * cut-n-paste/recent-files/*: kill bonobo recent
1103 * shell/ev-window.c:
1104 (ev_window_is_empty): upd.
1105 (unable_to_load), (ev_window_open): load backend
1106 based on the mime type.
1108 2004-12-22 Martin Kretzschmar <martink@gnome.org>
1110 * backend/.cvsignore: ignore generated marshalers source.
1112 * shell/main.c (main): this is not epiphany.
1114 2004-12-22 Havoc Pennington <hp@redhat.com>
1116 * shell/ev-view.c (ev_view_set_document): connect to "found" signal
1117 (expose_bin_window): draw find highlights
1119 * shell/ev-window.c (find_bar_search_changed_cb): implement
1121 * pdf/xpdf/pdf-document.cc (pdf_document_begin_find)
1122 (pdf_document_end_find): implement this interface
1124 * backend/ev-document.c (ev_document_found): add this to emit
1127 Tue Dec 21 23:57:37 2004 Owen Taylor <otaylor@redhat.com>
1129 * data/evince-ui.xml: Add a few more toolbar items.
1131 * shell/ev-window.c: Hook up page navigation toolbar
1134 * shell/ev-view.[ch]: add ev_view_set/get_page and
1135 a page-changed signal.
1137 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc::
1138 Add ev_document_get_page().
1140 * shell/ev-window.c: Sensitize/desensitize navigation
1143 2004-12-21 Havoc Pennington <hp@redhat.com>
1145 * backend/ev-backend-marshal.c,
1146 backend/ev-backend-marshalers.list, backend/Makefile.am: add
1147 marshaler-generator thingy. I'm sure there's a better way to do
1148 this in the modern world.
1150 * backend/ev-document.h (struct _EvDocumentIface): add begin_find,
1151 end_find methods and "found" signal.
1153 * configure.ac: find glib-genmarshal
1155 Tue Dec 21 23:20:35 2004 Jonathan Blandford <jrb@redhat.com>
1157 * shell/ev-sidebar.c: Construct an actual sidebar.
1158 * shell/ev-sidebar-bookmarks.[ch]:
1159 * shell/ev-sidebar-thumbnails.[ch]: Stub out sidebars.
1161 Tue Dec 21 23:05:51 2004 Owen Taylor <otaylor@redhat.com>
1163 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc:
1166 * shell/ev-view.c: Track the size from the document.
1168 Tue Dec 21 22:17:04 2004 Owen Taylor <otaylor@redhat.com>
1170 * pdf/xpdf/pdf-document.cc (pdf_document_load): PDFDoc
1171 constructor assumes ownership of the string passed in.
1173 * shell/ev-window.c (ev_window_open): Destroy the error
1174 dialog once we've displayed it.
1176 Tue Dec 21 21:58:56 2004 Owen Taylor <otaylor@redhat.com>
1178 * pdf/xpdf/pdf-document.cc shell/ev-view.c: Hook things up
1179 a bit, it works! (sort of)
1181 * pdf/xpdf/Makefile.am pdf/xpdf/pdf-document.cc:
1182 Move to .cc since we need to use C++ in the implementation.
1184 * shell/dummy.cc: Add a CC file to force evince
1185 to be linked as a C++ program.
1187 Tue Dec 21 21:07:55 2004 Owen Taylor <otaylor@redhat.com>
1189 * shell/ev-view.[ch]: Start of content-area widget.
1191 * shell/ev-window.c: Create a EvView, update it
1192 as we change documents.
1194 * shell/Makefile.am shell/ev-marshal.list: Add
1195 generated marshalers.
1197 Tue Dec 21 20:28:11 2004 Jonathan Blandford <jrb@redhat.com>
1199 * Makefile.am (SUBDIRS): move shell.
1201 Tue Dec 21 19:28:55 2004 Owen Taylor <otaylor@redhat.com>
1203 * pdf/{goo,fofi,splash,xpdf}/Makefile.am: Switch from
1204 .a to libtool convenience libraries.
1206 * shell/ev-window.c (ev_window_open): Hard code loading
1209 * backend/ev-document.h: Add a boolean return to load(),
1210 fix GError * to GError **.
1212 * pdf/xpdf/pdf-document.[ch] Makefile.am: Add a stub
1213 object for a PDF backend EvDocument.
1215 Tue Dec 21 18:55:06 2004 Søren Sandmann <sandmann@redhat.com>
1217 * dvi/*: New directory with the beginning of a .dvi backend.
1219 2004-12-21 Havoc Pennington <hp@redhat.com>
1221 * shell/eggfindbar.c (egg_find_bar_init): change buttons to
1222 previous/next instead of back/forward
1224 Tue Dec 21 18:26:24 2004 Owen Taylor <otaylor@redhat.com>
1226 * backend/ev-document.[ch]: Fix a couple of problems so
1229 Tue Dec 21 18:20:40 2004 Owen Taylor <otaylor@redhat.com>
1231 * viewer/* backend/* configure.ac Makefile.am: Move viewer directory
1232 to backend/ directory, rename EvViewer to EvDocument.
1234 2004-12-21 Havoc Pennington <hp@redhat.com>
1236 * shell/ev-window.c: hook up the find bar widget; now we just need
1237 a document to find things in
1239 * shell/eggfindbar.c: a find bar widget
1241 Tue Dec 21 17:20:16 2004 Jonathan Blandford <jrb@redhat.com>
1243 * shell/ev-sidebar.[ch]: initial sidebar boilerplate.
1245 Tue Dec 21 16:30:58 2004 Owen Taylor <otaylor@redhat.com>
1247 * pdf/**: Import of xpdf code from gpdf.
1249 * pdf/xpdf/xpdfconfig.h: Move the non-config.h config.h to xpdfconfig.h
1251 * pdf/splash/SplashFTFont.{cc,h} pdf/splash/SplashFTFont.h
1252 pdf/splash/SplashFTFontEngine.h pdf/splash/SplashFTFontFile.h:
1253 Fix FreeType includes.
1255 * pdf/xpdf/{Error.h GnomeVFSStream.cc ImageOutputDev.cc PDFDoc.cc\
1256 pdffonts.cc pdfimages.cc pdfinfo.cc pdftoppm.cc pdftops.cc
1257 pdftotext.cc PSOutputDev.cc PSOutputDev.h SplashOutputDev.h
1258 Stream.cc TextOutputDev.cc XPDFApp.cc xpdf.cc XPDFViewer.cc
1259 pdf/xpdf/Error.h PSOutputDev.h SplashOutputDev.h}:
1260 Include xpdfconfig.h
1262 Tue Dec 21 16:08:17 2004 Jonathan Blandford <jrb@redhat.com>
1264 * shell/ev-window.c (ev_window_dispose): dispose can be called
1267 2004-12-21 Havoc Pennington <hp@redhat.com>
1269 * shell/ev-window.c (ev_window_init): set title to Document Viewer
1272 * data/evince-ui.xml, shell/ev-window.c: add a bunch of stub menu
1273 items; really they should be synced with the strings, etc. from
1274 current gpdf, but just getting the boring typing out of the way
1276 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
1279 * shell/ev-application.c: (window_destroy_cb):
1280 * shell/ev-window.c:
1281 * shell/main.c: (main):
1283 Actually show the window...
1285 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
1288 * shell/Makefile.am:
1289 * shell/ev-application.c: (ev_application_class_init):
1290 * shell/ev-window.c: (ev_window_dispose), (ev_window_class_init):
1294 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
1296 Import to gnome cvs.
1298 * Remove copies of gpdf and ggv trees.
1299 * Rip out all the recursive configure code.
1300 * Remove bonobo machinery.
1301 * viewer/*: GInterfaces that backends should/can implement.
1303 2004-11-09 Martin Kretzschmar <m_kretzschmar@gmx.net>
1305 * shell/ev-window.c (ev_window_cmd_help_about): fix "documentors"
1308 2004-10-28 Martin Kretzschmar <m_kretzschmar@gmx.net>
1310 * shell/ev-application.c (EV_APPLICATION_GET_PRIVATE)
1311 (ev_application_finalize, ev_application_class_init)
1312 (ev_application_init): use GType instance private data for priv.
1314 * shell/ev-window.c (EV_WINDOW_GET_PRIVATE)
1315 (ev_window_finalize, ev_window_class_init)
1316 (ev_window_init): ditto.
1318 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
1320 * shell/ev-application.c (ev_application_new_window): make public
1321 (ev_application_show_initial_window): kill.
1323 * shell/ev-application.h: update prototypes.
1325 * shell/main.cc (main): inline ev_application_show_initial_window.
1327 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
1329 * shell/ev-application.c (ev_application_new_window): impl.
1330 (ev_application_show_initial_window): use it.
1331 (is_window_empty, ev_application_get_empty_window): returns an
1332 existing empty window or a new one.
1333 (ev_application_open): from ev_window_cmd_file_open.
1335 * shell/ev-application.h: update prototypes
1337 * shell/ev-window.c (ev_window_is_empty): impl.
1338 (ev_window_open): make public.
1339 (ev_window_cmd_file_open): use ev_application_open
1341 * shell/ev-window.h: update prototypes, remove unused.
1343 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
1345 * shell/ev-window.c (ev_window_destroy, ev_window_class_init):
1346 move destroy handler out of here...
1348 * shell/ev-application.c, shell/ev-application.h: ...into this new
1349 class. Also handles initial window creation.
1351 * shell/main.cc (main): use EvApplication to create initial
1354 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
1356 * Makefile.am (SUBDIRS): add cut-n-paste
1358 * cut-n-paste/Makefile.am: add
1360 * configure.ac: generate Makefiles in cut-n-paste
1362 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
1364 * shell/ev-window.c (ev_window_dispose): new, unref the ui_manager
1365 (ev_window_class_init): install ev_window_dispose.
1367 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
1369 * shell/ev-window.h, shell/ev-window.c: replace gchar with
1370 char (gchar looks stupid).
1372 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
1374 * po/de.po: updated German translation.
1376 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
1378 * configure.ac: add more pkg-config library checks for gnome-vfs,
1381 * gpdf/configure.in: temporarily disable libpaper
1382 checks. Otherwise I'd have to add the checks for the shell, too.
1384 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1386 * shell/ev-window.c (ev_window_cmd_file_open): add ps+pdf, ps, pdf
1387 and * file filters to the file choose.
1389 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1391 * po/de.po: Updated German translation.
1393 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1395 * shell/ev-window.c: use "S" as mnemonic for Statusbar.
1397 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1399 * data/evince-ui.xml: add View->Toolbar and View->Statusbar.
1401 * shell/ev-window.c (menu_item_select_cb, menu_item_select_cb)
1402 (ev_window_init): implement those menuitems.
1404 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1406 * data/evince-ui.xml: add a toolbar (with FileOpen action)
1408 * shell/ev-window.c (ev_window_init): use the toolbar.
1410 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1412 * shell/ev-window.c (ev_window_init): use menu translations
1414 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1416 * configure.ac: add "de" to ALL_LINGUAS.
1418 * po/de.po: add German translation.
1420 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1422 * Makefile.am (SUBDIRS): add po
1424 * configure.ac: check intltool, glib-gettext etc, generate
1427 * po, po/POTFILES.in, po/POTFILES.skip: new.
1429 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1431 * shell/Makefile.am (INCLUDES): define GNOMELOCALEDIR which we
1432 already use (#ifdef ENABLE_NLS)
1434 * shell/ev-window.c (ev_window_cmd_help_about): fix two star
1435 pointer indirection thinko.
1437 * shell/main.c: include gi18n.h for bindtextdomain etc.
1439 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1441 * shell/ev-window.c (menu_item_select_cb, menu_item_deselect_cb)
1442 (connect_proxy_cb, disconnect_proxy_cb, ev_window_init): show
1443 tooltips for menu items in the statusbar.
1445 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1447 * configure.ac, data/Makefile.am, shell/Makefile.am: use
1448 pkgdatadir drop UIDIR
1450 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1452 * data/evince-ui.xml: Add File->Open menu item
1454 * shell/ev-window.c (ev_window_cmd_file_open): impl. (shows a file
1455 chooser), hook it up in the ui manager.
1457 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1459 * shell/ev-window.c: fix Help->About tooltip.
1461 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1463 * configure.ac: set CFLAGS for libevprivate.
1465 * lib/ev-stock-icons.h, lib/ev-stock-icons.c: stock icon
1466 definitions, factory etc.
1468 * lib/Makefile.am: build libevprivate.a (only stock icon code).
1470 * shell/Makefile.am: link against libevprivate.a.
1472 * shell/ev-window.c (entries): add stock icon to Help->About.
1474 * shell/main.c (main): init stock icon code.
1476 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1478 * lib/recent-files: egg recent files code
1480 * lib/Makefile.am: add.
1482 * Makefile.am: add lib subdir.
1484 * configure.ac: gen. lib/Makefile and lib/recent-files/Makefile,
1485 set CFLAGS for recent-files.
1487 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1489 * configure.ac: disable -ansi and -pedantic gcc flags. They
1490 disable POSIX stuff in stdio.h, but egg-recent uses them.
1492 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1494 * configure.ac: add --disable-deprecated flag (defaults to on in
1497 * shell/Makefile.am (INCLUDES): use it.
1499 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1501 * shell/main.c: add missing #include.
1503 * shell/ev-window.c: fix for pedantic gcc.
1504 (ev_window_cmd_help_about): split license into paragraphs for
1505 translators and pedantic compilers.
1507 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1509 * configure.ac: add more warning flags if compiling with gcc from
1510 cvs (or explicitly requested with --enable-more-warnings).
1512 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1514 * data/evince-ui.xml: add File and File->Close menu.
1516 * shell/ev-window.c (ev_window_cmd_file_close_window): impl.
1517 (ev_window_destroy): quit after destroy.
1518 (ev_window_class_init): override GtkObject::destroy.
1519 (entries): install close_window callback.
1521 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1523 * Makefile.am (SUBDIRS): add data subdir.
1525 * configure.ac (UIDIR): gen data/Makefile, define UIDIR. Require
1526 gtk+ 2.5.0 for GtkAboutDialog.
1528 * data/Makefile.am, data/evince-ui.xml: add, ui definition for the
1531 * shell/Makefile.am (INCLUDES): propagate UIDIR definition.
1533 * shell/ev-window.c (ev_window_init): create a menubar, using a ui
1535 (ev_window_cmd_help_about): about command, using GtkAboutDialog.
1537 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1539 * shell/ev-window.c, shell/ev-window.h: Created an EvWindow class.
1541 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
1543 * shell/main.c: make it a trivial gtk+ program, adjust configure.ac
1545 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
1547 * shell/*: Added shell directory boilerplate, build it.
1549 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
1551 * configure.ac, Makefile.am: Added top-level configure.ac and