1 2005-01-21 Martin Kretzschmar <martink@gnome.org>
3 * pixbuf/pixbuf-document.c (pixbuf_document_get_n_pages)
4 (pixbuf_document_get_text, pixbuf_document_document_iface_init):
5 stub out missing methods for complete EvDocument implementation.
6 Fixes segfaults with Save A Copy and Copy actions.
8 * ps/ps-document.c (ps_document_save, ps_document_get_text)
9 (ps_document_document_iface_init): ditto.
11 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
15 * data/evince.desktop.in:
19 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
21 * shell/ev-view.c: (ev_view_button_press_event),
22 (ev_view_motion_notify_event):
24 Make selection work in any direction
26 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
29 * shell/ev-window.c: (set_short_labels), (ev_window_init):
31 Use shorter labels for some of the toolbars items
33 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
35 * pdf/xpdf/pdf-document.cc:
37 Check the links info is initialized before
38 using it. Should fix a crash on startup.
40 2005-01-21 Martin Kretzschmar <martink@gnome.org>
42 * pixbuf/pixbuf-document.c
43 (pixbuf_document_thumbnails_get_dimensions): force floating point
44 division to calculate page_ratio. Fixes crash with landscape
47 Thu Jan 20 18:56:35 2005 Jonathan Blandford <jrb@redhat.com>
49 * shell/ev-view.c (ev_view_realize): make the bg color darker.
51 2005-01-20 Martin Kretzschmar <martink@gnome.org>
53 * shell/ev-view.c (set_document_page): unset has_selection when
55 (set_document_page): handle paper size changes when the page
56 changes (test with Free Culture, page 2).
58 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
60 * shell/ev-view.c: (ev_view_size_request), (ev_view_realize),
61 (expose_bin_window), (ev_view_class_init), (ev_view_init):
63 Use normal style color for the widget background and
64 draw a black box around the page.
66 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
68 * pdf/xpdf/pdf-document.cc:
70 Keep offset in consideration in a few places
72 * shell/ev-view.c: (expose_bin_window):
74 Set the offsets so that the document is ever centered
76 2005-01-20 Bryan Clark <clarkbw@cvs.gnome.org>
78 * TODO: Added TODO items and finished off the first todo item
80 * AUTHORS: Updated AUTHORS section with piece from gpdf file and
81 reflect current authors
83 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
85 * pdf/xpdf/pdf-document.cc:
86 * shell/ev-view.c: (ev_view_set_cursor),
87 (ev_view_motion_notify_event), (document_changed_callback),
90 Show a wait cursor while the page is rendering
92 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
94 * shell/ev-sidebar-thumbnails.c:
95 (ev_sidebar_tree_selection_changed),
96 (ev_sidebar_thumbnails_select_page):
97 * shell/ev-sidebar-thumbnails.h:
98 * shell/ev-view.c: (ev_view_set_document), (ev_view_can_go_back),
99 (ev_view_can_go_forward):
100 * shell/ev-window.c: (ev_window_open_page),
101 (ev_window_setup_document), (update_current_page),
102 (view_page_changed_cb), (ev_window_init):
105 Ensure thumbnails selection, toolbar page control and
106 current page are in sync.
108 2005-01-19 Marco Pesenti Gritti <marco@gnome.org>
114 Wed Jan 19 01:10:57 2005 Jonathan Blandford <jrb@redhat.com>
116 * backend/Makefile.am:
117 * backend/ev-document-links.h:
118 * backend/ev-document-security.c: (ev_document_security_get_type),
119 (ev_document_security_has_document_security),
120 (ev_document_security_set_password):
121 * backend/ev-document-security.h:
122 * backend/ev-document.c: (ev_document_error_quark):
123 * backend/ev-document.h:
125 * data/evince-password.glade:
126 * pdf/xpdf/pdf-document.cc:
128 * shell/ev-password.c: (ev_password_set_bad_password_label),
129 (ev_window_password_entry_changed_cb), (ev_password_dialog_new),
130 (ev_password_dialog_get_password),
131 (ev_password_dialog_set_bad_pass):
132 * shell/ev-password.h:
133 * shell/ev-window.c: (ev_window_get_attribute),
134 (ev_window_set_property), (update_action_sensitivity),
135 (ev_window_is_empty), (mime_type_supported_by_gdk_pixbuf),
136 (ev_window_setup_document), (ev_window_get_password),
137 (ev_window_open), (ev_window_cmd_save_as),
138 (using_postscript_printer), (ev_window_print),
139 (find_not_supported_dialog), (ev_window_cmd_edit_find),
140 (update_fullscreen_popup), (ev_window_fullscreen),
141 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
142 (ev_window_focus_out_cb), (ev_window_cmd_help_about),
143 (menu_item_select_cb), (find_bar_search_changed_cb),
144 (ev_window_dispose), (ev_window_init):
146 Add initial support for password-supported dialogs. This could be
147 a lot cooler, but it'll do for now.
149 2005-01-18 Marco Pesenti Gritti <marco@gnome.org>
151 * pdf/xpdf/pdf-document.cc:
152 * shell/ev-view.c: (status_message_from_link),
153 (ev_view_set_status), (ev_view_set_cursor),
154 (ev_view_motion_notify_event), (ev_view_init):
155 * shell/ev-window.c: (view_status_changed_cb), (ev_window_init):
157 Fix bugs in the links implementation and change cursor
158 when hovering a link.
160 2005-01-17 Bryan Clark <clarkbw@cvs.gnome.org>
162 * viewer/.cvsignore: added cvsignore file for viewer directory
164 * TODO: created TODO document
166 2005-01-14 Dave Malcolm <dmalcolm@redhat.com>
169 * shell/ev-view.c (ev_view_can_go_back), (ev_view_can_go_forward):
170 new functions to help with implementation of sensitivity code
171 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
172 of all actions that might require it. Fixes a crash when you
173 click on the Zoom actions in a window lacking a document.
175 2005-01-13 Dave Malcolm <dmalcolm@redhat.com>
177 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
180 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
182 * pixbuf/pixbuf-document.c: (pixbuf_document_get_link),
183 (pixbuf_document_document_iface_init):
184 * ps/ps-document.c: (ps_document_get_link),
185 (ps_document_document_iface_init):
186 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event),
187 (status_message_from_link), (ev_view_set_status),
188 (ev_view_set_find_status), (ev_view_motion_notify_event),
189 (ev_view_button_release_event), (ev_view_set_property),
190 (ev_view_get_property), (ev_view_class_init), (ev_view_init),
191 (ev_view_get_find_status_message), (update_find_results),
192 (ev_view_get_status), (ev_view_get_find_status):
194 * shell/ev-window.c: (view_status_changed_cb),
195 (view_find_status_changed_cb), (ev_window_init):
197 View status message support, use it to show the links.
200 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
202 * backend/ev-document.c: (ev_document_get_link):
203 * backend/ev-document.h:
204 * pdf/xpdf/pdf-document.cc:
205 * shell/ev-application.c: (ev_application_open):
206 * shell/ev-application.h:
207 * shell/ev-sidebar-links.c: (selection_changed_cb):
208 * shell/ev-view.c: (ev_view_button_release_event), (go_to_link),
209 (ev_view_go_to_link):
211 Add support for document links
213 2005-01-13 Anders Carlsson <andersca@gnome.org>
215 * shell/ev-page-action.c: (update_spin), (total_pages_changed_cb),
217 Set the spin button limits correctly.
219 * shell/ev-sidebar-thumbnails.c:
220 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init):
221 Support changing pages by clicking on the thumbnails.
223 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
225 * pixbuf/pixbuf-document.c:
226 (pixbuf_document_thumbnails_get_dimensions),
227 (pixbuf_document_document_thumbnails_iface_init):
229 implement get_dimensions
231 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
233 * ps/ps-document.c: (ps_document_goto_page):
235 Fix page switching on multipage documents
237 2005-01-12 Jeff Muizelaar <jrmuizel@nit.ca>
239 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
241 check for NULL before assigning to width and height parameters
243 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
245 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
246 (pixbuf_document_set_property), (pixbuf_document_get_property):
248 implement get/set properties
250 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
252 * pdf/xpdf/pdf-document.cc: (pdf_info_dict_get_string):
254 return NULL instead of "Unknown", letting the title get set to
255 the filename when the pdf has no title.
257 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
259 * ps/ps-document.c: (ps_document_get_page_count),
260 (ps_document_goto_page):
262 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
264 * shell/ev-history.c: (ev_history_get_property),
265 (ev_history_set_property), (ev_history_class_init),
266 (ev_history_add_page), (ev_history_set_current_index):
267 * shell/ev-navigation-action.c: (ev_navigation_action_set_history),
268 (activate_menu_item_cb), (new_history_menu_item), (build_menu),
269 (ev_navigation_action_finalize):
270 * shell/ev-navigation-action.h:
271 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
272 (ev_view_go_forward), (ev_view_get_find_status_message),
273 (history_index_changed_cb), (ev_view_set_history):
275 * shell/ev-window.c: (update_total_pages), (ev_window_open),
276 (update_current_page), (register_custom_actions):
278 Implement history dropdowns
280 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
282 * shell/ev-history.c: (ev_history_init), (ev_history_add_link):
283 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
284 (ev_view_go_forward):
285 * shell/ev-window.c: (register_custom_actions):
287 Fix several history bugs
289 2005-01-11 Kjartan Maraas <kmaraas@gnome.org>
291 * configure.ac: Add «nb» to ALL_LINGUAS.
293 2005-01-10 Marco Pesenti Gritti <marco@gnome.org>
295 * backend/Makefile.am:
296 * backend/ev-bookmark.c:
297 * backend/ev-bookmark.h:
298 * backend/ev-document-bookmarks.c:
299 * backend/ev-document-bookmarks.h:
300 * backend/ev-document-links.c: (ev_document_links_get_type),
301 (ev_document_links_has_document_links),
302 (ev_document_links_begin_read), (ev_document_links_get_link),
303 (ev_document_links_get_child), (ev_document_links_next),
304 (ev_document_links_free_iter):
305 * backend/ev-document-links.h:
306 * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_title),
307 (ev_link_set_title), (ev_link_get_uri), (ev_link_set_uri),
308 (ev_link_get_link_type), (ev_link_set_link_type),
309 (ev_link_get_page), (ev_link_set_page), (ev_link_get_property),
310 (ev_link_set_property), (ev_window_dispose), (ev_link_init),
311 (ev_link_class_init), (ev_link_new_title), (ev_link_new_page),
312 (ev_link_new_external):
314 * pdf/xpdf/pdf-document.cc:
316 * shell/ev-application.c: (ev_application_open_link):
317 * shell/ev-application.h:
318 * shell/ev-history.c: (ev_history_add_link), (ev_history_add_page),
319 (ev_history_get_link_nth):
320 * shell/ev-history.h:
321 * shell/ev-sidebar-bookmarks.c:
322 * shell/ev-sidebar-bookmarks.h:
323 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
324 (ev_sidebar_links_class_init), (selection_changed_cb),
325 (ev_sidebar_links_construct), (ev_sidebar_links_init),
326 (links_page_num_func), (ev_sidebar_links_new), (stack_data_free),
327 (do_one_iteration), (populate_links_idle),
328 (ev_sidebar_links_clear_document), (ev_sidebar_links_set_document):
329 * shell/ev-sidebar-links.h:
330 * shell/ev-sidebar.c: (ev_sidebar_set_document):
331 * shell/ev-view.c: (go_to_link), (ev_view_go_to_link),
334 * shell/ev-window.c: (ev_window_open_link), (ev_window_init):
337 Rename bookmark to link, and use "Index" for the sidebar panel.
339 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
342 * shell/ev-application.c: (ev_application_open_bookmark):
343 * shell/ev-application.h:
344 * shell/ev-history.c: (ev_history_init), (free_links_list),
345 (ev_history_finalize), (ev_history_class_init),
346 (ev_history_add_link), (ev_history_add_page),
347 (ev_history_get_link_nth), (ev_history_get_n_links),
348 (ev_history_get_current_index), (ev_history_set_current_index),
350 * shell/ev-history.h:
351 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
352 * shell/ev-view.c: (ev_view_finalize), (ev_view_set_document),
353 (set_document_page), (go_to_bookmark), (ev_view_go_to_bookmark),
354 (go_to_index), (ev_view_go_back), (ev_view_go_forward),
357 * shell/ev-window.c: (ev_window_open_bookmark),
358 (ev_window_cmd_go_back), (ev_window_cmd_go_forward),
359 (goto_page_cb), (register_custom_actions):
362 Initial history implementation. Needs work.
364 2005-01-09 Martin Kretzschmar <martink@gnome.org>
366 * pdf/xpdf/GDKSplashOutputDev.cc (redraw): fix pixbuf data offset.
368 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
370 * cut-n-paste/recent-files/egg-recent-item.c:
371 * cut-n-paste/recent-files/egg-recent-item.h:
372 * cut-n-paste/recent-files/egg-recent-model.c:
373 * cut-n-paste/recent-files/egg-recent-util.c:
374 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
375 * cut-n-paste/recent-files/egg-recent-view.c:
379 2005-01-08 Martin Kretzschmar <martink@gnome.org>
381 * pdf/splash/Splash.cc (clear, drawPixel, drawSpan, xorSpan, getPixel)
382 (fillGlyph, fillImageMask, drawImage):
383 pdf/splash/SplashBitmap.cc (SplashBitmap, ~SplashBitmap, writePNMFile):
384 pdf/splash/SplashTypes.h:
385 pdf/xpdf/SplashOutputDev (startPage, getColor, imageSrc): implement RGB8
386 packed mode for Splash.
388 * pdf/xpdf/GDKSplashOutputDev.cc (GDKSplashOutputDev, redraw): use
389 RGB8 packed mode, eliminates the pixbuf data creation loop.
391 * shell/ev-print-job.c (ev_print_job_finalize)
392 (ev_print_job_set_property, ev_print_job_get_property)
393 (ev_print_job_set_gnome_print_job, ev_print_job_set_document)
394 (ev_print_job_use_print_dialog_settings, idle_print_handler)
395 (print_closure_finalize, ev_print_job_print): implement
396 printing (for backends with EvPsExporter)
398 * shell/ev_print_job.h: update prototypes.
400 * shell/ev-window.c (ev_window_print): unref print job after
403 * shell/ev-view.c (ev_view_set_document): don't connect to "found"
404 unless the document implements the EvDocumentFind interface.
406 2005-01-08 Satoru SATOH <ss@gnome.gr.jp>
408 * configure.ac: Added ja to ALL_LINGUAS.
410 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
412 * pdf/xpdf/pdf-document.cc:
414 add a FIXME. We should probably not allocate
415 a bookmark object every time
417 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
419 * shell/ev-application.c: (ev_application_open),
420 (ev_application_open_bookmark):
421 * shell/ev-application.h:
423 Add a way to open bookmarks
425 * backend/ev-bookmark.c: (ev_bookmark_get_uri),
426 (ev_bookmark_set_uri), (ev_bookmark_get_property),
427 (ev_bookmark_set_property), (ev_bookmark_class_init),
428 (ev_bookmark_new_title), (ev_bookmark_new_link),
429 (ev_bookmark_new_external):
431 Support for external uris, better constructors.
433 * backend/ev-bookmark.h:
434 * pdf/xpdf/pdf-document.cc:
435 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
439 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
441 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb),
442 (ev_sidebar_bookmarks_construct), (do_one_iteration):
444 Hook up bookmarks navigation
446 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
448 * backend/Makefile.am:
449 * backend/ev-bookmark.c: (ev_bookmark_type_get_type),
450 (ev_bookmark_get_title), (ev_bookmark_set_title),
451 (ev_bookmark_get_bookmark_type), (ev_bookmark_set_bookmark_type),
452 (ev_bookmark_get_page), (ev_bookmark_set_page),
453 (ev_bookmark_get_property), (ev_bookmark_set_property),
454 (ev_window_dispose), (ev_bookmark_init), (ev_bookmark_class_init),
456 * backend/ev-bookmark.h:
457 * backend/ev-document-bookmarks.c:
458 (ev_document_bookmarks_get_bookmark):
459 * backend/ev-document-bookmarks.h:
460 * pdf/xpdf/pdf-document.cc:
461 * shell/ev-sidebar-bookmarks.c: (do_one_iteration):
463 Add a bookmark object to the backend and use it instead of get_values
465 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
467 * data/evince-ui.xml:
469 Cleanup and add select all.
471 * shell/ev-view.c: (ev_view_select_all),
472 (ev_view_button_press_event):
474 * shell/ev-window.c: (ev_window_cmd_edit_select_all):
477 Clear selection on click.
479 Fri Jan 7 01:28:58 2005 Jonathan Blandford <jrb@redhat.com>
481 * shell/ev-sidebar-thumbnails.c
482 (ev_sidebar_thumbnails_set_document): forgot to unref the
485 Fri Jan 7 01:22:48 2005 Jonathan Blandford <jrb@redhat.com>
487 * shell/ev-sidebar-thumbnails.c: fill in the thumbnails starting
488 at the visible page, not just linearly. This makes it look fast.
490 Thu Jan 6 18:48:11 2005 Jonathan Blandford <jrb@redhat.com>
492 * backend/ev-document-misc.c
493 (ev_document_misc_get_thumbnail_frame): fill in the thumbnail with
495 * backend/ev-document-thumbnails.h: New interface to get the size
498 2005-01-06 Jeremy Katz <katzj@redhat.com>
500 * shell/Makefile.am (evince_SOURCES): Add ev-utils.[ch] so that
503 Wed Jan 5 15:38:28 2005 Jonathan Blandford <jrb@redhat.com>
505 * pdf/xpdf/pdf-document.cc (bitmap_to_pixbuf): bypass
506 GDKSplashOutputDev and just use a normal SplashOutputDev. Speeds
509 * shell/ev-sidebar-thumbnail.c: start of some profiling code.
511 2005-01-05 Martin Kretzschmar <martink@gnome.org>
513 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): match only outline
514 fonts. Should fix font problems on systems that have the base
515 fonts in bitmap format. Reported by James Henstridge
516 <james@jamesh.id.au>.
518 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
521 * pdf/xpdf/GfxState.cc:
523 Fix for CAN-2004-1125
525 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
527 * shell/ev-view.c: (ev_view_copy):
529 * shell/ev-window.c: (ev_window_cmd_edit_copy):
533 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
535 * backend/ev-document.c: (ev_document_get_text):
536 * backend/ev-document.h:
537 * pdf/xpdf/pdf-document.cc:
538 * shell/ev-view.c: (ev_view_realize), (expose_bin_window),
539 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
540 (ev_view_update_primary_selection), (ev_view_button_press_event),
541 (ev_view_motion_notify_event), (ev_view_button_release_event):
543 Beginnings of clipboard support. Incomplete but primary sort
546 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
548 * shell/ev-view.c: (ev_gdk_color_to_rgb), (draw_rubberband),
551 Nicer rubberband drawing, from GtkIconView.
553 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
555 * backend/ev-document.c: (ev_document_save):
556 * backend/ev-document.h:
557 * data/evince-ui.xml:
558 * pdf/xpdf/pdf-document.cc:
559 * shell/ev-window.c: (save_error_dialog), (ev_window_cmd_save_as):
561 Implement "Save a copy..." menu item
563 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
565 * shell/ev-view.c: (ev_view_zoom):
567 Queue a resize when zoom changes
569 Wed Jan 5 02:33:06 2005 Jonathan Blandford <jrb@redhat.com>
571 * backend/ev-document-misc.[ch]: New misc file to do simple drop
574 * pdf/xpdf/pdf-document.cc: use the drop shadows in both types of
577 Tue Jan 4 22:32:32 2005 Jonathan Blandford <jrb@redhat.com>
579 * pdf/xpdf/pdf-document.cc
580 (pdf_document_thumbnails_get_page_pixbuf): poor man's dropshadow.
582 Tue Jan 4 21:25:05 2005 Jonathan Blandford <jrb@redhat.com>
584 * pdf/xpdf/pdf-document.cc: Do real thumbnailing of PDF files.
585 It's slow, but I'll speed it up next!
587 2005-01-04 Jeff Muizelaar <jrmuizel@nit.ca>
589 * shell/main.c (load_files):
591 use gnome_vfs_make_uri_from_shell_arg so that relative paths work
592 from the command line and because it seems more appropriate.
594 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
596 * data/evince-ui.xml:
597 * shell/ev-window.c: (update_action_sensitivity),
598 (ev_window_cmd_go_page_up), (ev_window_cmd_go_page_down):
600 s/next page/page down
601 s/previous page/page up
603 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
605 * data/evince-ui.xml:
607 Change the layout to match clarkbw design.
610 * shell/ev-navigation-action.c: (build_menu), (menu_activated_cb),
611 (set_tooltip_cb), (connect_proxy), (ev_navigation_action_init),
612 (ev_navigation_action_finalize),
613 (ev_navigation_action_set_property),
614 (ev_navigation_action_get_property),
615 (ev_navigation_action_class_init):
616 * shell/ev-navigation-action.h:
618 Implement clarkbw toolbar navigation controls (incomplete)
620 * shell/ev-page-action.c: (update_label), (update_spin),
621 (value_changed_cb), (create_tool_item), (connect_proxy),
622 (ev_page_action_init), (ev_page_action_finalize),
623 (ev_page_action_set_property), (ev_page_action_get_property),
624 (ev_page_action_set_current_page),
625 (ev_page_action_set_total_pages), (ev_page_action_class_init):
626 * shell/ev-page-action.h:
628 Implement a page switcher in the toolbar
630 * shell/ev-view.c: (ev_view_scroll_view):
631 * shell/ev-window.c: (update_total_pages), (ev_window_open),
632 (update_current_page), (view_page_changed_cb), (goto_page_cb),
633 (register_custom_actions), (ev_window_init):
635 Change page on PageUp/Down.
637 Tue Jan 4 03:22:56 2005 Jonathan Blandford <jrb@redhat.com>
639 * pdf/xpdf/pdf-document.cc
640 (pdf_document_thumbnails_get_thumbnail): initial stab at
641 implementing thumbnail support for pdfs. It only does documents
642 with precached pdfs now.
644 Mon Jan 3 17:22:25 2005 Jonathan Blandford <jrb@redhat.com>
646 * shell/ev-sidebar-thumbnails.c (do_one_iteration): move the
647 thumbnail code into a time-based idle as well. Also, turn off the
648 shadow temporarily as it's really slow.
650 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
652 * backend/ev-document.c: (ev_document_class_init):
653 * pdf/xpdf/pdf-document.cc:
654 * shell/ev-window.c: (ev_window_open):
656 Fix document title bugs and fallback to
657 filename when not available.
659 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
661 * backend/ev-document.c: (ev_document_get_type),
662 (ev_document_class_init), (ev_document_load),
663 (ev_document_get_title):
664 * backend/ev-document.h:
665 * pdf/xpdf/pdf-document.cc:
666 * ps/ps-document.c: (ps_document_set_property),
667 (ps_document_get_property), (ps_document_class_init),
671 * shell/ev-window.c: (update_window_title), (ev_window_open),
674 Initial support for document title. Not working yet.
676 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
678 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event):
680 Grab focus on the view when clicking it
682 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
684 * shell/ev-marshal.list:
685 * shell/ev-view.c: (ev_view_realize), (add_scroll_binding),
686 (ev_view_scroll_view), (ev_view_class_init), (ev_view_init):
688 Add key bindings to the view. Now if the focus would work
691 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
694 * backend/Makefile.am:
697 * dvi/dvilib/Makefile.am:
698 * pdf/xpdf/Makefile.am:
704 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
706 * shell/ev-view.c: (ev_view_realize):
708 Fix mouse wheel scrolling
710 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
716 * ps/ps-document.c: (catchPipe), (ps_document_init),
717 (ps_document_class_init), (ps_document_cleanup),
718 (ps_document_finalize), (send_ps), (ps_document_get_orientation),
719 (set_up_page), (close_pipe), (is_interpreter_ready),
720 (interpreter_failed), (output), (input), (start_interpreter),
721 (stop_interpreter), (file_length), (file_readable),
722 (check_filecompressed), (check_pdf), (compute_xdpi),
723 (compute_ydpi), (compute_size), (ps_document_enable_interpreter),
724 (ps_document_get_type), (ps_document_emit_error_msg),
725 (document_load), (ps_document_next_page),
726 (ps_document_get_current_page), (ps_document_get_page_count),
727 (ps_document_goto_page), (ps_document_set_page_size),
728 (ps_document_zoom_to_fit), (ps_document_set_zoom),
729 (ps_document_load), (ps_document_get_n_pages),
730 (ps_document_set_page), (ps_document_get_page),
731 (ps_document_widget_event), (ps_document_set_target),
732 (ps_document_set_scale), (ps_document_set_page_offset),
733 (ps_document_get_page_size), (ps_document_render),
734 (ps_document_document_iface_init):
737 * shell/ev-window.c: (ev_window_open):
739 Rename GtkGS to PSDocument
741 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
743 * ps/gtkgs.c: (gtk_gs_class_init):
746 Some more leftover...
748 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
750 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_get_orientation),
751 (output), (stop_interpreter), (gtk_gs_emit_error_msg),
752 (gtk_gs_zoom_to_fit), (gtk_gs_set_zoom):
755 Remove unused code and make a lot of stuff private
757 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
759 * ps/gsdefaults.c: (gtk_gs_defaults_gconf_client),
760 (gtk_gs_defaults_changed):
766 Cleanup headers dependencies
768 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
773 * ps/gsdefaults.c: (gtk_gs_defaults_get_paper_sizes):
775 * ps/gtkgs.c: (file_length), (file_readable),
776 (check_filecompressed), (check_pdf), (gtk_gs_load),
777 (gtk_gs_get_postscript):
781 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
786 * ps/gtkgs.c: (gtk_gs_set_zoom):
790 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
792 * ps/gtkgs.c: (gtk_gs_set_zoom), (gtk_gs_set_zoom_mode):
794 Ensure the page is rerendered when changing zoom
796 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
798 * backend/ev-document.c: (ev_document_base_init),
799 (ev_document_changed):
800 * backend/ev-document.h:
802 Add a changed event that is emitted when the page content
803 changes. This is necessary to deal with the fact that
804 in ps backend rendering happen asycrounously.
805 This makes the ps backend mostly work.
807 * pdf/xpdf/pdf-document.cc:
811 * ps/gtkgs.c: (set_up_page), (gtk_gs_widget_event),
812 (ps_document_set_target):
816 * shell/ev-view.c: (document_changed_callback),
817 (ev_view_set_document), (ev_view_set_page):
819 Redraw on the changed signal
821 2004-12-25 Raphael Higino <raphaelh@cvs.gnome.org>
823 * configure.ac: Added pt_BR to ALL_LINGUAS.
825 Fri Dec 24 00:48:44 2004 Jonathan Blandford <jrb@redhat.com>
827 * backend/ev-document-bookmarks.c:
828 (ev_document_bookmarks_get_child): *
829 backend/ev-document-bookmarks.h: * pdf/xpdf/Makefile.am: *
830 pdf/xpdf/pdf-document.cc: * pdf/xpdf/pdf-document.h: *
831 shell/Makefile.am: * shell/ev-sidebar-bookmarks.c:
832 (ev_sidebar_bookmarks_destroy),
833 (ev_sidebar_bookmarks_class_init),
834 (ev_sidebar_bookmarks_construct), (stack_data_free),
835 (do_one_iteration), (populate_bookmarks_idle),
836 (ev_sidebar_bookmarks_clear_document),
837 (ev_sidebar_bookmarks_set_document): *
838 shell/ev-sidebar-bookmarks.h: * shell/ev-sidebar.c:
839 (ev_sidebar_add_page),
840 (ev_sidebar_set_document): * shell/ev-window.c: (ev_window_open):
841 Initial stab at a bookmarks sidebar. It doesn't navigate yet, but
842 it displays both the topics and the page numbers.
844 2004-12-23 Kristian Høgsberg <krh@redhat.com>
846 * shell/ev-window.c (ev_window_view_sidebar_cb): Hook up sidebar
848 * shell/ev-window.c (toggle_entries): Set sidebar default value to
851 2004-12-23 Adam Weinberger <adamw@gnome.org>
853 * configure.ac: Added en_CA to ALL_LINGUAS.
855 2004-12-23 Martin Kretzschmar <martink@gnome.org>
857 * ChangeLog: replace bottom of this ChangeLog (merged history of
858 ggv and gpdf; where all paths were wrong and most of the files are
859 not even in this tree) with ChangeLog (from arch) of the shell
862 2004-12-23 Havoc Pennington <hp@redhat.com>
864 * shell/ev-window.c: hook up potentially-questionable "find
865 results status text" feature - something involving the sidebar or
866 scrollbar or a continuous all-pages-on-giant-roll-of-paper-view
867 might be better in the end.
869 * shell/ev-view.c (ev_view_get_find_status_message): new function,
870 with corresponding signal when it should be updated
872 * shell/eggfindbar.c (egg_find_bar_set_status_text): new function
874 2004-12-22 Havoc Pennington <hp@redhat.com>
876 * pdf/xpdf/pdf-document.cc (pdf_document_find_begin): make search
877 find stuff on other pages, sort of (only returns one result on
878 invisible pages, to show they have results; updates full results
879 for a page when you view it). Currently repaints the current page
880 every time a new result is found on any page, which isn't so nice.
882 2004-12-22 Havoc Pennington <hp@redhat.com>
884 * shell/ev-window.c (ev_window_cmd_edit_find): display an error if
885 the document doesn't support find (better ideas?)
886 (find_bar_search_changed_cb): handle missing document or document
887 that doesn't support find
889 * pdf/xpdf/pdf-document.cc: port to implement the new
892 * backend/ev-document-find.c: create a new interface for searching
894 * backend/ev-document.h, backend/ev-document.c: delete the find stuff
896 2004-12-23 Martin Kretzschmar <martink@gnome.org>
898 * pdf/xpdf/Makefile.am (libpdfdocument_la_LIBADD): add
901 * shell/ev-window.c (ev_window_print): add GnomePrintJob to
902 EvPrintJob constructor arguments.
904 * backend/ev-ps-exporter.c, backend/ev-ps-exporter.h: interface
905 for documents that can export PostScript (page by page).
907 * backend/Makefile.am (libevbackend_la_SOURCES): add them.
909 * pdf/xpdf/pdf-document.cc (pdf_document_ps_export_begin)
910 (pdf_document_ps_export_do_page, pdf_document_ps_export_end)
911 (pdf_document_ps_exporter_iface_init:
912 Implement EvPSExporter.
914 * pdf/xpdf/Makefile.am (libxpdf_la_SOURCES): build PSOutputDev.
916 2004-12-22 Anders Carlsson <andersca@gnome.org>
918 * backend/Makefile.am:
919 * backend/ev-document-thumbnails.c:
920 (ev_document_thumbnails_get_type),
921 (ev_document_thumbnails_get_thumbnail):
922 * backend/ev-document-thumbnails.h:
923 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
924 (pixbuf_document_thumbnails_get_thumbnail),
925 (pixbuf_document_document_thumbnails_iface_init):
927 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_destroy),
928 (ev_sidebar_thumbnails_class_init), (ev_sidebar_thumbnails_init),
929 (populate_thumbnails), (ev_sidebar_thumbnails_set_document):
930 * shell/ev-sidebar-thumbnails.h:
931 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
932 (ev_sidebar_set_document):
933 * shell/ev-utils.c: (gaussian), (create_blur_filter),
934 (create_shadow), (ev_pixbuf_add_shadow):
936 Add thumbnail support.
938 2004-12-22 Martin Kretzschmar <martink@gnome.org>
940 * shell/ev-window.c (ev_window_cmd_file_print, ev_window_print)
941 (using_postscript_printer): Set up a print dialog for "PostScript
944 * shell/ev-print-job.h, shell/ev-print-job.c: stub classes for
947 * shell/Makefile.am (evince_SOURCES): add ev-print-job.[ch]
949 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
951 * ps/gtkgs.c: (gtk_gs_init), (set_up_page),
952 (ps_document_set_target), (ps_document_get_page_size),
953 (ps_document_render):
958 2004-12-22 Christian Rose <menthos@menthos.com>
960 * configure.ac: Added "sv" to ALL_LINGUAS.
962 Wed Dec 22 14:47:38 2004 Jonathan Blandford <jrb@redhat.com>
964 * backend/ev-document-bookmarks.[ch]: new interface to indicate
965 document supports bookmarks.
967 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
969 * ps/ggvutils.c: (ggv_file_readable):
971 * ps/gtkgs.c: (check_filecompressed), (check_pdf),
972 (gtk_gs_get_postscript):
976 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
978 * ps/gtkgs.c: (gtk_gs_init), (gtk_gs_class_init), (gtk_gs_cleanup),
979 (gtk_gs_finalize), (gtk_gs_set_center), (set_up_page), (output),
980 (start_interpreter), (compute_size), (gtk_gs_enable_interpreter),
981 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_reload),
982 (gtk_gs_emit_error_msg), (gtk_gs_disable_interpreter),
983 (gtk_gs_load), (gtk_gs_goto_page), (gtk_gs_set_page_size),
984 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
985 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
986 (gtk_gs_set_antialiasing), (ps_document_load),
987 (ps_document_render):
990 Another check point for the ps backend. Now I can get it to show
993 Wed Dec 22 13:41:01 2004 Jonathan Blandford <jrb@redhat.com>
995 * shell/ev-sidebar.c (ev_sidebar_set_document): initial sidebar
996 document setting code.
998 2004-12-22 Anders Carlsson <andersca@gnome.org>
1000 * shell/eggfindbar.c: (entry_activate_callback):
1001 Animate the next button when activate is pressed.
1003 2004-12-22 Anders Carlsson <andersca@gnome.org>
1005 * shell/ev-window.c: (ev_window_cmd_edit_find),
1006 (update_fullscreen_popup), (ev_window_fullscreen),
1007 (ev_window_unfullscreen), (ev_window_state_event_cb),
1008 (ev_window_focus_out_cb), (find_bar_close_cb), (ev_window_init):
1009 Fix bugs in fullscreen code.
1011 2004-12-22 Anders Carlsson <andersca@gnome.org>
1015 * pixbuf/Makefile.am:
1016 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
1017 (pixbuf_document_load), (pixbuf_document_get_n_pages),
1018 (pixbuf_document_set_page), (pixbuf_document_get_page),
1019 (pixbuf_document_set_target), (pixbuf_document_set_scale),
1020 (pixbuf_document_set_page_offset), (pixbuf_document_get_page_size),
1021 (pixbuf_document_render), (pixbuf_document_begin_find),
1022 (pixbuf_document_end_find), (pixbuf_document_finalize),
1023 (pixbuf_document_class_init),
1024 (pixbuf_document_document_iface_init), (pixbuf_document_init):
1025 * pixbuf/pixbuf-document.h:
1026 * shell/Makefile.am:
1027 * shell/ev-application.c: (ev_application_open):
1028 * shell/ev-window.c: (mime_type_supported_by_gdk_pixbuf),
1032 Tue Dec 21 21:45:43 2004 Soeren Sandmann <sandmann@redhat.com>
1035 * dvi/dvilib/Makefile.am:
1037 * configure.ac: Auto*ify dvi and dvi/dvilib
1039 * dvi/Makefile: Remove from CVS
1041 * dvi/dvilib/dl-pkfont.cc (unpack_bitmap): Fix uchar/uint
1044 * dvi/dvilib/dl-fontdefinition.{cc,hh}: New DviFontMap class
1046 * dvi/dvilib/dl-vffont.{cc,hh}: Many bugfixes to VF code.
1048 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
1051 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_finalize),
1052 (gtk_gs_value_adjustment_changed), (compute_size),
1053 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_new_from_file),
1054 (gtk_gs_center_page), (gtk_gs_load), (gtk_gs_set_page_size),
1055 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
1056 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
1057 (gtk_gs_start_scroll), (gtk_gs_get_postscript),
1058 (gtk_gs_set_adjustments), (gtk_gs_set_available_size),
1059 (ps_document_load), (ps_document_get_n_pages),
1060 (ps_document_set_page), (ps_document_get_page),
1061 (ps_document_set_target), (ps_document_set_scale),
1062 (ps_document_set_page_offset), (ps_document_get_page_size),
1063 (ps_document_render), (ps_document_begin_find),
1064 (ps_document_end_find), (ps_document_document_iface_init):
1066 * shell/Makefile.am:
1067 * shell/ev-window.c: (ev_window_open):
1069 Some work to integrate gtkgs with EvDocument
1071 2004-12-22 Anders Carlsson <andersca@gnome.org>
1073 * shell/ev-window.c: (update_fullscreen_popup),
1074 (screen_size_changed_cb), (destroy_exit_fullscreen_popup),
1075 (exit_fullscreen_button_clicked_cb),
1076 (fullscreen_popup_size_request_cb), (ev_window_fullscreen),
1077 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
1078 (ev_window_state_event_cb), (ev_window_init):
1079 Add fullscreen support from Epiphany.
1081 2004-12-22 Mark McLoughlin <mark@skynet.ie>
1083 * data/ev-stock-zoom-fit-width.png: fit-width
1084 stock icon from gpdf.
1086 * shell/ev-stock-icons.[ch]: copied from gpdf.
1088 * shell/main.c: (main): init stock icons.
1090 * shell/ev-window.c: use the fit-width icon.
1092 * data/evince-ui.xml: add zooming toolbar items.
1094 2004-12-22 Mark McLoughlin <mark@skynet.ie>
1097 (ev_view_best_fit), (ev_view_fit_width): because
1098 get_page_size() returns the scaled page size, we
1099 need to calculate the scale factor relative to
1100 the previous scale factor. Should really just
1101 add get_real_page_size().
1103 2004-12-22 Mark McLoughlin <mark@skynet.ie>
1105 * shell/ev-view.[ch]:
1106 (ev_view_zoom), (ev_view_zoom_in), (ev_view_zoom_out),
1107 (ev_view_normal_size), (ev_view_best_fit), (ev_view_fit_width):
1110 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
1111 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_normal_size),
1112 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width):
1115 * pdf/xpdf/pdf-document.cc:
1116 (pdf_document_begin_find),
1117 (pdf_document_end_find): make static.
1119 2004-12-22 Martin Kretzschmar <martink@gnome.org>
1121 * pdf/xpdf/GlobalParams.h (setupBaseFontsFc): add prototype.
1123 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): maps base font
1124 names to fontconfig patterns.
1125 (setupBaseFontsFc): setupBaseFonts reimplemented using fontconfig.
1127 * pdf/xpdf/pdf-document.cc (pdf_document_load): use
1130 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
1146 Import ggv backend. Not hooked up yet.
1148 2004-12-22 Mark McLoughlin <mark@skynet.ie>
1150 * shell/main.c: (load_files), (main): load files
1151 from the command line.
1153 2004-12-22 Mark McLoughlin <mark@skynet.ie>
1155 * configure.ac: don't require bonobo.
1157 * cut-n-paste/recent-files/*: kill bonobo recent
1160 * shell/ev-window.c:
1161 (ev_window_is_empty): upd.
1162 (unable_to_load), (ev_window_open): load backend
1163 based on the mime type.
1165 2004-12-22 Martin Kretzschmar <martink@gnome.org>
1167 * backend/.cvsignore: ignore generated marshalers source.
1169 * shell/main.c (main): this is not epiphany.
1171 2004-12-22 Havoc Pennington <hp@redhat.com>
1173 * shell/ev-view.c (ev_view_set_document): connect to "found" signal
1174 (expose_bin_window): draw find highlights
1176 * shell/ev-window.c (find_bar_search_changed_cb): implement
1178 * pdf/xpdf/pdf-document.cc (pdf_document_begin_find)
1179 (pdf_document_end_find): implement this interface
1181 * backend/ev-document.c (ev_document_found): add this to emit
1184 Tue Dec 21 23:57:37 2004 Owen Taylor <otaylor@redhat.com>
1186 * data/evince-ui.xml: Add a few more toolbar items.
1188 * shell/ev-window.c: Hook up page navigation toolbar
1191 * shell/ev-view.[ch]: add ev_view_set/get_page and
1192 a page-changed signal.
1194 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc::
1195 Add ev_document_get_page().
1197 * shell/ev-window.c: Sensitize/desensitize navigation
1200 2004-12-21 Havoc Pennington <hp@redhat.com>
1202 * backend/ev-backend-marshal.c,
1203 backend/ev-backend-marshalers.list, backend/Makefile.am: add
1204 marshaler-generator thingy. I'm sure there's a better way to do
1205 this in the modern world.
1207 * backend/ev-document.h (struct _EvDocumentIface): add begin_find,
1208 end_find methods and "found" signal.
1210 * configure.ac: find glib-genmarshal
1212 Tue Dec 21 23:20:35 2004 Jonathan Blandford <jrb@redhat.com>
1214 * shell/ev-sidebar.c: Construct an actual sidebar.
1215 * shell/ev-sidebar-bookmarks.[ch]:
1216 * shell/ev-sidebar-thumbnails.[ch]: Stub out sidebars.
1218 Tue Dec 21 23:05:51 2004 Owen Taylor <otaylor@redhat.com>
1220 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc:
1223 * shell/ev-view.c: Track the size from the document.
1225 Tue Dec 21 22:17:04 2004 Owen Taylor <otaylor@redhat.com>
1227 * pdf/xpdf/pdf-document.cc (pdf_document_load): PDFDoc
1228 constructor assumes ownership of the string passed in.
1230 * shell/ev-window.c (ev_window_open): Destroy the error
1231 dialog once we've displayed it.
1233 Tue Dec 21 21:58:56 2004 Owen Taylor <otaylor@redhat.com>
1235 * pdf/xpdf/pdf-document.cc shell/ev-view.c: Hook things up
1236 a bit, it works! (sort of)
1238 * pdf/xpdf/Makefile.am pdf/xpdf/pdf-document.cc:
1239 Move to .cc since we need to use C++ in the implementation.
1241 * shell/dummy.cc: Add a CC file to force evince
1242 to be linked as a C++ program.
1244 Tue Dec 21 21:07:55 2004 Owen Taylor <otaylor@redhat.com>
1246 * shell/ev-view.[ch]: Start of content-area widget.
1248 * shell/ev-window.c: Create a EvView, update it
1249 as we change documents.
1251 * shell/Makefile.am shell/ev-marshal.list: Add
1252 generated marshalers.
1254 Tue Dec 21 20:28:11 2004 Jonathan Blandford <jrb@redhat.com>
1256 * Makefile.am (SUBDIRS): move shell.
1258 Tue Dec 21 19:28:55 2004 Owen Taylor <otaylor@redhat.com>
1260 * pdf/{goo,fofi,splash,xpdf}/Makefile.am: Switch from
1261 .a to libtool convenience libraries.
1263 * shell/ev-window.c (ev_window_open): Hard code loading
1266 * backend/ev-document.h: Add a boolean return to load(),
1267 fix GError * to GError **.
1269 * pdf/xpdf/pdf-document.[ch] Makefile.am: Add a stub
1270 object for a PDF backend EvDocument.
1272 Tue Dec 21 18:55:06 2004 Søren Sandmann <sandmann@redhat.com>
1274 * dvi/*: New directory with the beginning of a .dvi backend.
1276 2004-12-21 Havoc Pennington <hp@redhat.com>
1278 * shell/eggfindbar.c (egg_find_bar_init): change buttons to
1279 previous/next instead of back/forward
1281 Tue Dec 21 18:26:24 2004 Owen Taylor <otaylor@redhat.com>
1283 * backend/ev-document.[ch]: Fix a couple of problems so
1286 Tue Dec 21 18:20:40 2004 Owen Taylor <otaylor@redhat.com>
1288 * viewer/* backend/* configure.ac Makefile.am: Move viewer directory
1289 to backend/ directory, rename EvViewer to EvDocument.
1291 2004-12-21 Havoc Pennington <hp@redhat.com>
1293 * shell/ev-window.c: hook up the find bar widget; now we just need
1294 a document to find things in
1296 * shell/eggfindbar.c: a find bar widget
1298 Tue Dec 21 17:20:16 2004 Jonathan Blandford <jrb@redhat.com>
1300 * shell/ev-sidebar.[ch]: initial sidebar boilerplate.
1302 Tue Dec 21 16:30:58 2004 Owen Taylor <otaylor@redhat.com>
1304 * pdf/**: Import of xpdf code from gpdf.
1306 * pdf/xpdf/xpdfconfig.h: Move the non-config.h config.h to xpdfconfig.h
1308 * pdf/splash/SplashFTFont.{cc,h} pdf/splash/SplashFTFont.h
1309 pdf/splash/SplashFTFontEngine.h pdf/splash/SplashFTFontFile.h:
1310 Fix FreeType includes.
1312 * pdf/xpdf/{Error.h GnomeVFSStream.cc ImageOutputDev.cc PDFDoc.cc\
1313 pdffonts.cc pdfimages.cc pdfinfo.cc pdftoppm.cc pdftops.cc
1314 pdftotext.cc PSOutputDev.cc PSOutputDev.h SplashOutputDev.h
1315 Stream.cc TextOutputDev.cc XPDFApp.cc xpdf.cc XPDFViewer.cc
1316 pdf/xpdf/Error.h PSOutputDev.h SplashOutputDev.h}:
1317 Include xpdfconfig.h
1319 Tue Dec 21 16:08:17 2004 Jonathan Blandford <jrb@redhat.com>
1321 * shell/ev-window.c (ev_window_dispose): dispose can be called
1324 2004-12-21 Havoc Pennington <hp@redhat.com>
1326 * shell/ev-window.c (ev_window_init): set title to Document Viewer
1329 * data/evince-ui.xml, shell/ev-window.c: add a bunch of stub menu
1330 items; really they should be synced with the strings, etc. from
1331 current gpdf, but just getting the boring typing out of the way
1333 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
1336 * shell/ev-application.c: (window_destroy_cb):
1337 * shell/ev-window.c:
1338 * shell/main.c: (main):
1340 Actually show the window...
1342 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
1345 * shell/Makefile.am:
1346 * shell/ev-application.c: (ev_application_class_init):
1347 * shell/ev-window.c: (ev_window_dispose), (ev_window_class_init):
1351 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
1353 Import to gnome cvs.
1355 * Remove copies of gpdf and ggv trees.
1356 * Rip out all the recursive configure code.
1357 * Remove bonobo machinery.
1358 * viewer/*: GInterfaces that backends should/can implement.
1360 2004-11-09 Martin Kretzschmar <m_kretzschmar@gmx.net>
1362 * shell/ev-window.c (ev_window_cmd_help_about): fix "documentors"
1365 2004-10-28 Martin Kretzschmar <m_kretzschmar@gmx.net>
1367 * shell/ev-application.c (EV_APPLICATION_GET_PRIVATE)
1368 (ev_application_finalize, ev_application_class_init)
1369 (ev_application_init): use GType instance private data for priv.
1371 * shell/ev-window.c (EV_WINDOW_GET_PRIVATE)
1372 (ev_window_finalize, ev_window_class_init)
1373 (ev_window_init): ditto.
1375 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
1377 * shell/ev-application.c (ev_application_new_window): make public
1378 (ev_application_show_initial_window): kill.
1380 * shell/ev-application.h: update prototypes.
1382 * shell/main.cc (main): inline ev_application_show_initial_window.
1384 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
1386 * shell/ev-application.c (ev_application_new_window): impl.
1387 (ev_application_show_initial_window): use it.
1388 (is_window_empty, ev_application_get_empty_window): returns an
1389 existing empty window or a new one.
1390 (ev_application_open): from ev_window_cmd_file_open.
1392 * shell/ev-application.h: update prototypes
1394 * shell/ev-window.c (ev_window_is_empty): impl.
1395 (ev_window_open): make public.
1396 (ev_window_cmd_file_open): use ev_application_open
1398 * shell/ev-window.h: update prototypes, remove unused.
1400 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
1402 * shell/ev-window.c (ev_window_destroy, ev_window_class_init):
1403 move destroy handler out of here...
1405 * shell/ev-application.c, shell/ev-application.h: ...into this new
1406 class. Also handles initial window creation.
1408 * shell/main.cc (main): use EvApplication to create initial
1411 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
1413 * Makefile.am (SUBDIRS): add cut-n-paste
1415 * cut-n-paste/Makefile.am: add
1417 * configure.ac: generate Makefiles in cut-n-paste
1419 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
1421 * shell/ev-window.c (ev_window_dispose): new, unref the ui_manager
1422 (ev_window_class_init): install ev_window_dispose.
1424 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
1426 * shell/ev-window.h, shell/ev-window.c: replace gchar with
1427 char (gchar looks stupid).
1429 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
1431 * po/de.po: updated German translation.
1433 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
1435 * configure.ac: add more pkg-config library checks for gnome-vfs,
1438 * gpdf/configure.in: temporarily disable libpaper
1439 checks. Otherwise I'd have to add the checks for the shell, too.
1441 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1443 * shell/ev-window.c (ev_window_cmd_file_open): add ps+pdf, ps, pdf
1444 and * file filters to the file choose.
1446 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1448 * po/de.po: Updated German translation.
1450 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1452 * shell/ev-window.c: use "S" as mnemonic for Statusbar.
1454 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1456 * data/evince-ui.xml: add View->Toolbar and View->Statusbar.
1458 * shell/ev-window.c (menu_item_select_cb, menu_item_select_cb)
1459 (ev_window_init): implement those menuitems.
1461 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1463 * data/evince-ui.xml: add a toolbar (with FileOpen action)
1465 * shell/ev-window.c (ev_window_init): use the toolbar.
1467 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1469 * shell/ev-window.c (ev_window_init): use menu translations
1471 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1473 * configure.ac: add "de" to ALL_LINGUAS.
1475 * po/de.po: add German translation.
1477 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1479 * Makefile.am (SUBDIRS): add po
1481 * configure.ac: check intltool, glib-gettext etc, generate
1484 * po, po/POTFILES.in, po/POTFILES.skip: new.
1486 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1488 * shell/Makefile.am (INCLUDES): define GNOMELOCALEDIR which we
1489 already use (#ifdef ENABLE_NLS)
1491 * shell/ev-window.c (ev_window_cmd_help_about): fix two star
1492 pointer indirection thinko.
1494 * shell/main.c: include gi18n.h for bindtextdomain etc.
1496 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1498 * shell/ev-window.c (menu_item_select_cb, menu_item_deselect_cb)
1499 (connect_proxy_cb, disconnect_proxy_cb, ev_window_init): show
1500 tooltips for menu items in the statusbar.
1502 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1504 * configure.ac, data/Makefile.am, shell/Makefile.am: use
1505 pkgdatadir drop UIDIR
1507 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1509 * data/evince-ui.xml: Add File->Open menu item
1511 * shell/ev-window.c (ev_window_cmd_file_open): impl. (shows a file
1512 chooser), hook it up in the ui manager.
1514 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1516 * shell/ev-window.c: fix Help->About tooltip.
1518 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1520 * configure.ac: set CFLAGS for libevprivate.
1522 * lib/ev-stock-icons.h, lib/ev-stock-icons.c: stock icon
1523 definitions, factory etc.
1525 * lib/Makefile.am: build libevprivate.a (only stock icon code).
1527 * shell/Makefile.am: link against libevprivate.a.
1529 * shell/ev-window.c (entries): add stock icon to Help->About.
1531 * shell/main.c (main): init stock icon code.
1533 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1535 * lib/recent-files: egg recent files code
1537 * lib/Makefile.am: add.
1539 * Makefile.am: add lib subdir.
1541 * configure.ac: gen. lib/Makefile and lib/recent-files/Makefile,
1542 set CFLAGS for recent-files.
1544 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1546 * configure.ac: disable -ansi and -pedantic gcc flags. They
1547 disable POSIX stuff in stdio.h, but egg-recent uses them.
1549 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1551 * configure.ac: add --disable-deprecated flag (defaults to on in
1554 * shell/Makefile.am (INCLUDES): use it.
1556 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1558 * shell/main.c: add missing #include.
1560 * shell/ev-window.c: fix for pedantic gcc.
1561 (ev_window_cmd_help_about): split license into paragraphs for
1562 translators and pedantic compilers.
1564 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1566 * configure.ac: add more warning flags if compiling with gcc from
1567 cvs (or explicitly requested with --enable-more-warnings).
1569 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1571 * data/evince-ui.xml: add File and File->Close menu.
1573 * shell/ev-window.c (ev_window_cmd_file_close_window): impl.
1574 (ev_window_destroy): quit after destroy.
1575 (ev_window_class_init): override GtkObject::destroy.
1576 (entries): install close_window callback.
1578 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1580 * Makefile.am (SUBDIRS): add data subdir.
1582 * configure.ac (UIDIR): gen data/Makefile, define UIDIR. Require
1583 gtk+ 2.5.0 for GtkAboutDialog.
1585 * data/Makefile.am, data/evince-ui.xml: add, ui definition for the
1588 * shell/Makefile.am (INCLUDES): propagate UIDIR definition.
1590 * shell/ev-window.c (ev_window_init): create a menubar, using a ui
1592 (ev_window_cmd_help_about): about command, using GtkAboutDialog.
1594 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1596 * shell/ev-window.c, shell/ev-window.h: Created an EvWindow class.
1598 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
1600 * shell/main.c: make it a trivial gtk+ program, adjust configure.ac
1602 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
1604 * shell/*: Added shell directory boilerplate, build it.
1606 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
1608 * configure.ac, Makefile.am: Added top-level configure.ac and