1 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
3 * shell/ev-application.c: (ev_application_open):
4 * shell/ev-window.c: (ev_window_open):
6 Open gzipped ps documents
8 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
11 * shell/ev-view.c: (set_document_page):
13 Clamp page number, dont try to move to
16 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
18 * backend/ev-document-find.c: (ev_document_find_changed):
19 * backend/ev-document-find.h:
20 * pdf/xpdf/pdf-document.cc:
21 * shell/ev-view.c: (jump_to_find_result), (ev_view_set_document):
22 * shell/ev-window.c: (find_bar_search_changed_cb):
24 Fix several bugs with find
26 2005-02-04 Martin Kretzschmar <martink@gnome.org>
28 * shell/ev-sidebar-thumbnails.c
29 (ev_sidebar_thumbnails_select_page): do nothing unless we have a
30 document. Prevents warning from scroll_to_cell.
32 2005-02-02 Kjartan Maraas <kmaraas@gnome.org>
34 * configure.ac: Add «nb» to ALL_LINGUAS too.
36 Wed Feb 2 21:13:11 2005 Jonathan Blandford <jrb@redhat.com>
38 * NOTES: New file with some random thoughts.
42 * backend/ev-document-misc.c:
43 (ev_document_misc_get_page_border_size): New function to
44 canonicalize shadow drawing sizes. Possibly goofy.
46 * shell/ev-view.c: (ev_view_size_request), (set_document_page),
47 (ev_view_best_fit), (ev_view_fit_width):
48 * pdf/xpdf/pdf-document.cc:
49 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
50 * ps/ps-document.c: (ps_document_get_page_size):
51 * backend/ev-document-misc.h:
52 * backend/ev-document.c: (ev_document_get_page_size):
53 * backend/ev-document.h: get_page_size now takes a page number
54 parameter. Made all the backends/frontends honor it.
56 * data/evince-ui.xml: Added a multiple-page mode. Uncomment to
57 see. Doesn't work yet.
60 * shell/ev-page-view.[ch]: New multi-page view. Really rough.
61 Doesn't do anything yet.
63 * shell/ev-sidebar-thumbnails.c:
64 (ev_sidebar_thumbnails_set_document): [1..n_pages] instead of
67 * shell/ev-window.c: (update_action_sensitivity),
68 (ev_window_setup_document), (ev_window_set_page_mode),
69 (ev_window_page_mode_cb), (ev_window_init): Clean up the
70 view-swapping code a bit so we can have multiple views on a
71 document. Add the multi-page view, though it can't be turned on
74 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
76 * shell/ev-application.c: (ev_application_open):
77 * shell/ev-view.c: (expose_bin_window):
78 * shell/ev-window.c: (ev_window_open):
80 Support eps and check document supports find
81 before drawing highlightings in expose.
83 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
85 * pixbuf/pixbuf-document.c:
86 (pixbuf_document_thumbnails_get_dimensions),
87 (pixbuf_document_document_thumbnails_iface_init):
89 implement get_dimensions
91 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
98 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
100 * shell/ev-view.c: (set_document_page):
102 Scroll at the top of the page when changing page
104 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
106 * shell/ev-view.c: (ev_view_motion_notify_event):
108 Do not redraw unnecessarily
110 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
112 * pdf/xpdf/pdf-document.cc:
113 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
114 (expose_bin_window), (find_changed_cb):
116 Yay! find works now... Now to find bugs...
118 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
120 * backend/ev-document-find.c: (ev_document_find_base_init),
121 (ev_document_find_changed):
122 * backend/ev-document-find.h:
123 * pdf/xpdf/pdf-document.cc:
124 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
125 (expose_bin_window), (ev_view_init), (set_document_page),
126 (ensure_rectangle_is_visible), (jump_to_find_result),
127 (jump_to_find_page), (find_changed_cb), (ev_view_set_document),
128 (ev_view_find_next), (ev_view_find_previous):
130 * shell/ev-window.c: (find_bar_previous_cb), (find_bar_next_cb):
132 More work on find implementation, mostly there now
134 2005-01-29 Marco Pesenti Gritti <marco@gnome.org>
136 * backend/ev-backend-marshalers.list:
137 * backend/ev-document-find.c: (ev_document_find_base_init),
138 (ev_document_find_cancel), (ev_document_find_page_has_results),
139 (ev_document_find_get_n_results), (ev_document_find_get_result),
140 (ev_document_find_get_progress), (ev_document_find_changed):
141 * backend/ev-document-find.h:
143 Enanche the find interface to be really able to do
146 * pdf/xpdf/pdf-document.cc:
150 * shell/ev-view.c: (ev_view_finalize), (highlight_find_results),
151 (expose_bin_window), (ev_view_init),
152 (ev_view_get_find_status_message), (find_changed_cb),
153 (ev_view_set_document), (set_document_page):
155 Adapt to the new interface. A few things are regressed sorry,
156 I will finish it soon.
158 2005-01-28 Martin Kretzschmar <martink@gnome.org>
160 * shell/ev-sidebar-thumbnails.c (ev_sidebar_thumbnails_destroy)
161 (ev_sidebar_thumbnails_class_init): use G_DEFINE_TYPE-supplied
162 ev_sidebar_thumbnails_parent_class variable, don't define another
163 parent_class variable.
165 * shell/ev-page-action.c (connect_proxy, ev_page_action_finalize)
166 (ev_page_action_class_init): ditto.
168 * pixbuf/pixbuf-document.c (pixbuf_document_finalize)
169 (pixbuf_document_class_init): ditto.
171 * backend/ev-link.c (ev_window_dispose, ev_link_class_init):
174 * .cvsignore: ignore various valgrind output files.
176 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
178 * data/evince-ui.xml:
180 * shell/ev-history.c:
181 * shell/ev-history.h:
182 * shell/ev-navigation-action.c:
183 * shell/ev-navigation-action.h:
184 * shell/ev-view.c: (ev_view_finalize), (ev_view_go_to_link),
185 (ev_view_set_page), (ev_view_fit_width):
187 * shell/ev-window.c: (update_action_sensitivity),
188 (ev_window_setup_document), (register_custom_actions):
192 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
194 * shell/ev-window.c: (update_action_sensitivity):
196 Fix inverted up/down buttons
198 2005-01-27 Martin Kretzschmar <martink@gnome.org>
200 * shell/ev-sidebar-thumbnails.c
201 (ev_sidebar_thumbnails_select_page): make sure the selected
202 thumbnail stays visible.
204 2005-01-26 Martin Kretzschmar <martink@gnome.org>
206 * shell/ev-window.c (ev_window_init): add GTK_SHADOW_IN to the
207 scrolled window for Federico.
209 2005-01-26 Ole Laursen <olau@hardworking.dk>
211 * configure.ac: Added "da" (Danish) to ALL_LINGUAS.
213 2005-01-26 Marco Pesenti Gritti <marco@gnome.org>
216 * pdf/splash/SplashFTFontEngine.cc:
218 Fix CID fonts with freetype 2.1.9
220 2005-01-26 Bryan Clark <clarkbw@cvs.gnome.org>
222 * TODO: added item for desktop icon thumbnailer
224 Tue Jan 25 00:59:34 2005 Jonathan Blandford <jrb@redhat.com>
226 * pdf/xpdf/pdf-document.cc (pdf_document_get_title): guard against
227 unloaded docs when the title is accessed.
229 * shell/ev-password-view.[hc]: New widget for displaying password
232 * shell/ev-window.[ch]: Refactor password handling code to handle
235 2005-01-24 Marco Pesenti Gritti <marco@gnome.org>
243 2005-01-23 Stephane LOEUILLET <stephane.loeuillet@tiscali.fr>
245 * pdf/xpdf/pdf-document.cc (pdf_document_search_page_changed):
246 ignore page offset here, to make search results independent of it,
248 * shell/ev-view.c (expose_bin_window): but take offsets into
249 account here. Bug #164932
251 * pdf/xpdf/pdf-document.cc (pdf_document_get_link): divide by
252 scale at the right time. Bug #164996
254 2005-01-22 Martin Kretzschmar <martink@gnome.org>
256 * pdf/xpdf/GlobalParams.cc: My 2005-01-05 change didn't actually
257 fix the problem. Now I just removed the Adobe font names and hope
258 that the URW fonts are always in outline format. Bug #164934
260 * shell/ev-window.c (update_window_title): empty titles are
261 useless, use filename in that case too.
263 * NEWS: Add some content.
265 2005-01-21 Bryan Clark <clarkbw@cvs.gnome.org>
267 * TODO: added one more TODO item and a TODONE section :)
269 2005-01-21 Martin Kretzschmar <martink@gnome.org>
271 * ps/ps-document.h: add page_[xy]_offset fields.
273 * ps/ps-document.c (ps_document_set_page_offset)
274 (ps_document_render): Keep offset in consideration in a few
275 places. Bug #164752 "postscript documents are not centered in
278 * data/evince.desktop.in (X-GNOME-Bugzilla-Product):
279 s/gpdf/evince/. Spotted by Stephane Loeuillet.
281 * pixbuf/pixbuf-document.c (pixbuf_document_get_n_pages)
282 (pixbuf_document_get_text, pixbuf_document_document_iface_init):
283 stub out missing methods for complete EvDocument implementation.
284 Fixes segfaults with Save A Copy and Copy actions.
286 * ps/ps-document.c (ps_document_save, ps_document_get_text)
287 (ps_document_document_iface_init): ditto.
289 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
293 * data/evince.desktop.in:
297 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
299 * shell/ev-view.c: (ev_view_button_press_event),
300 (ev_view_motion_notify_event):
302 Make selection work in any direction
304 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
307 * shell/ev-window.c: (set_short_labels), (ev_window_init):
309 Use shorter labels for some of the toolbars items
311 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
313 * pdf/xpdf/pdf-document.cc:
315 Check the links info is initialized before
316 using it. Should fix a crash on startup.
318 2005-01-21 Martin Kretzschmar <martink@gnome.org>
320 * pixbuf/pixbuf-document.c
321 (pixbuf_document_thumbnails_get_dimensions): force floating point
322 division to calculate page_ratio. Fixes crash with landscape
325 Thu Jan 20 18:56:35 2005 Jonathan Blandford <jrb@redhat.com>
327 * shell/ev-view.c (ev_view_realize): make the bg color darker.
329 2005-01-20 Martin Kretzschmar <martink@gnome.org>
331 * shell/ev-view.c (set_document_page): unset has_selection when
333 (set_document_page): handle paper size changes when the page
334 changes (test with Free Culture, page 2).
336 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
338 * shell/ev-view.c: (ev_view_size_request), (ev_view_realize),
339 (expose_bin_window), (ev_view_class_init), (ev_view_init):
341 Use normal style color for the widget background and
342 draw a black box around the page.
344 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
346 * pdf/xpdf/pdf-document.cc:
348 Keep offset in consideration in a few places
350 * shell/ev-view.c: (expose_bin_window):
352 Set the offsets so that the document is ever centered
354 2005-01-20 Bryan Clark <clarkbw@cvs.gnome.org>
356 * TODO: Added TODO items and finished off the first todo item
358 * AUTHORS: Updated AUTHORS section with piece from gpdf file and
359 reflect current authors
361 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
363 * pdf/xpdf/pdf-document.cc:
364 * shell/ev-view.c: (ev_view_set_cursor),
365 (ev_view_motion_notify_event), (document_changed_callback),
368 Show a wait cursor while the page is rendering
370 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
372 * shell/ev-sidebar-thumbnails.c:
373 (ev_sidebar_tree_selection_changed),
374 (ev_sidebar_thumbnails_select_page):
375 * shell/ev-sidebar-thumbnails.h:
376 * shell/ev-view.c: (ev_view_set_document), (ev_view_can_go_back),
377 (ev_view_can_go_forward):
378 * shell/ev-window.c: (ev_window_open_page),
379 (ev_window_setup_document), (update_current_page),
380 (view_page_changed_cb), (ev_window_init):
383 Ensure thumbnails selection, toolbar page control and
384 current page are in sync.
386 2005-01-19 Marco Pesenti Gritti <marco@gnome.org>
392 Wed Jan 19 01:10:57 2005 Jonathan Blandford <jrb@redhat.com>
394 * backend/Makefile.am:
395 * backend/ev-document-links.h:
396 * backend/ev-document-security.c: (ev_document_security_get_type),
397 (ev_document_security_has_document_security),
398 (ev_document_security_set_password):
399 * backend/ev-document-security.h:
400 * backend/ev-document.c: (ev_document_error_quark):
401 * backend/ev-document.h:
403 * data/evince-password.glade:
404 * pdf/xpdf/pdf-document.cc:
406 * shell/ev-password.c: (ev_password_set_bad_password_label),
407 (ev_window_password_entry_changed_cb), (ev_password_dialog_new),
408 (ev_password_dialog_get_password),
409 (ev_password_dialog_set_bad_pass):
410 * shell/ev-password.h:
411 * shell/ev-window.c: (ev_window_get_attribute),
412 (ev_window_set_property), (update_action_sensitivity),
413 (ev_window_is_empty), (mime_type_supported_by_gdk_pixbuf),
414 (ev_window_setup_document), (ev_window_get_password),
415 (ev_window_open), (ev_window_cmd_save_as),
416 (using_postscript_printer), (ev_window_print),
417 (find_not_supported_dialog), (ev_window_cmd_edit_find),
418 (update_fullscreen_popup), (ev_window_fullscreen),
419 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
420 (ev_window_focus_out_cb), (ev_window_cmd_help_about),
421 (menu_item_select_cb), (find_bar_search_changed_cb),
422 (ev_window_dispose), (ev_window_init):
424 Add initial support for password-supported dialogs. This could be
425 a lot cooler, but it'll do for now.
427 2005-01-18 Marco Pesenti Gritti <marco@gnome.org>
429 * pdf/xpdf/pdf-document.cc:
430 * shell/ev-view.c: (status_message_from_link),
431 (ev_view_set_status), (ev_view_set_cursor),
432 (ev_view_motion_notify_event), (ev_view_init):
433 * shell/ev-window.c: (view_status_changed_cb), (ev_window_init):
435 Fix bugs in the links implementation and change cursor
436 when hovering a link.
438 2005-01-17 Bryan Clark <clarkbw@cvs.gnome.org>
440 * viewer/.cvsignore: added cvsignore file for viewer directory
442 * TODO: created TODO document
444 2005-01-14 Dave Malcolm <dmalcolm@redhat.com>
447 * shell/ev-view.c (ev_view_can_go_back), (ev_view_can_go_forward):
448 new functions to help with implementation of sensitivity code
449 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
450 of all actions that might require it. Fixes a crash when you
451 click on the Zoom actions in a window lacking a document.
453 2005-01-13 Dave Malcolm <dmalcolm@redhat.com>
455 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
458 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
460 * pixbuf/pixbuf-document.c: (pixbuf_document_get_link),
461 (pixbuf_document_document_iface_init):
462 * ps/ps-document.c: (ps_document_get_link),
463 (ps_document_document_iface_init):
464 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event),
465 (status_message_from_link), (ev_view_set_status),
466 (ev_view_set_find_status), (ev_view_motion_notify_event),
467 (ev_view_button_release_event), (ev_view_set_property),
468 (ev_view_get_property), (ev_view_class_init), (ev_view_init),
469 (ev_view_get_find_status_message), (update_find_results),
470 (ev_view_get_status), (ev_view_get_find_status):
472 * shell/ev-window.c: (view_status_changed_cb),
473 (view_find_status_changed_cb), (ev_window_init):
475 View status message support, use it to show the links.
478 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
480 * backend/ev-document.c: (ev_document_get_link):
481 * backend/ev-document.h:
482 * pdf/xpdf/pdf-document.cc:
483 * shell/ev-application.c: (ev_application_open):
484 * shell/ev-application.h:
485 * shell/ev-sidebar-links.c: (selection_changed_cb):
486 * shell/ev-view.c: (ev_view_button_release_event), (go_to_link),
487 (ev_view_go_to_link):
489 Add support for document links
491 2005-01-13 Anders Carlsson <andersca@gnome.org>
493 * shell/ev-page-action.c: (update_spin), (total_pages_changed_cb),
495 Set the spin button limits correctly.
497 * shell/ev-sidebar-thumbnails.c:
498 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init):
499 Support changing pages by clicking on the thumbnails.
501 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
503 * pixbuf/pixbuf-document.c:
504 (pixbuf_document_thumbnails_get_dimensions),
505 (pixbuf_document_document_thumbnails_iface_init):
507 implement get_dimensions
509 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
511 * ps/ps-document.c: (ps_document_goto_page):
513 Fix page switching on multipage documents
515 2005-01-12 Jeff Muizelaar <jrmuizel@nit.ca>
517 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
519 check for NULL before assigning to width and height parameters
521 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
523 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
524 (pixbuf_document_set_property), (pixbuf_document_get_property):
526 implement get/set properties
528 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
530 * pdf/xpdf/pdf-document.cc: (pdf_info_dict_get_string):
532 return NULL instead of "Unknown", letting the title get set to
533 the filename when the pdf has no title.
535 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
537 * ps/ps-document.c: (ps_document_get_page_count),
538 (ps_document_goto_page):
540 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
542 * shell/ev-history.c: (ev_history_get_property),
543 (ev_history_set_property), (ev_history_class_init),
544 (ev_history_add_page), (ev_history_set_current_index):
545 * shell/ev-navigation-action.c: (ev_navigation_action_set_history),
546 (activate_menu_item_cb), (new_history_menu_item), (build_menu),
547 (ev_navigation_action_finalize):
548 * shell/ev-navigation-action.h:
549 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
550 (ev_view_go_forward), (ev_view_get_find_status_message),
551 (history_index_changed_cb), (ev_view_set_history):
553 * shell/ev-window.c: (update_total_pages), (ev_window_open),
554 (update_current_page), (register_custom_actions):
556 Implement history dropdowns
558 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
560 * shell/ev-history.c: (ev_history_init), (ev_history_add_link):
561 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
562 (ev_view_go_forward):
563 * shell/ev-window.c: (register_custom_actions):
565 Fix several history bugs
567 2005-01-11 Kjartan Maraas <kmaraas@gnome.org>
569 * configure.ac: Add «nb» to ALL_LINGUAS.
571 2005-01-10 Marco Pesenti Gritti <marco@gnome.org>
573 * backend/Makefile.am:
574 * backend/ev-bookmark.c:
575 * backend/ev-bookmark.h:
576 * backend/ev-document-bookmarks.c:
577 * backend/ev-document-bookmarks.h:
578 * backend/ev-document-links.c: (ev_document_links_get_type),
579 (ev_document_links_has_document_links),
580 (ev_document_links_begin_read), (ev_document_links_get_link),
581 (ev_document_links_get_child), (ev_document_links_next),
582 (ev_document_links_free_iter):
583 * backend/ev-document-links.h:
584 * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_title),
585 (ev_link_set_title), (ev_link_get_uri), (ev_link_set_uri),
586 (ev_link_get_link_type), (ev_link_set_link_type),
587 (ev_link_get_page), (ev_link_set_page), (ev_link_get_property),
588 (ev_link_set_property), (ev_window_dispose), (ev_link_init),
589 (ev_link_class_init), (ev_link_new_title), (ev_link_new_page),
590 (ev_link_new_external):
592 * pdf/xpdf/pdf-document.cc:
594 * shell/ev-application.c: (ev_application_open_link):
595 * shell/ev-application.h:
596 * shell/ev-history.c: (ev_history_add_link), (ev_history_add_page),
597 (ev_history_get_link_nth):
598 * shell/ev-history.h:
599 * shell/ev-sidebar-bookmarks.c:
600 * shell/ev-sidebar-bookmarks.h:
601 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
602 (ev_sidebar_links_class_init), (selection_changed_cb),
603 (ev_sidebar_links_construct), (ev_sidebar_links_init),
604 (links_page_num_func), (ev_sidebar_links_new), (stack_data_free),
605 (do_one_iteration), (populate_links_idle),
606 (ev_sidebar_links_clear_document), (ev_sidebar_links_set_document):
607 * shell/ev-sidebar-links.h:
608 * shell/ev-sidebar.c: (ev_sidebar_set_document):
609 * shell/ev-view.c: (go_to_link), (ev_view_go_to_link),
612 * shell/ev-window.c: (ev_window_open_link), (ev_window_init):
615 Rename bookmark to link, and use "Index" for the sidebar panel.
617 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
620 * shell/ev-application.c: (ev_application_open_bookmark):
621 * shell/ev-application.h:
622 * shell/ev-history.c: (ev_history_init), (free_links_list),
623 (ev_history_finalize), (ev_history_class_init),
624 (ev_history_add_link), (ev_history_add_page),
625 (ev_history_get_link_nth), (ev_history_get_n_links),
626 (ev_history_get_current_index), (ev_history_set_current_index),
628 * shell/ev-history.h:
629 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
630 * shell/ev-view.c: (ev_view_finalize), (ev_view_set_document),
631 (set_document_page), (go_to_bookmark), (ev_view_go_to_bookmark),
632 (go_to_index), (ev_view_go_back), (ev_view_go_forward),
635 * shell/ev-window.c: (ev_window_open_bookmark),
636 (ev_window_cmd_go_back), (ev_window_cmd_go_forward),
637 (goto_page_cb), (register_custom_actions):
640 Initial history implementation. Needs work.
642 2005-01-09 Martin Kretzschmar <martink@gnome.org>
644 * pdf/xpdf/GDKSplashOutputDev.cc (redraw): fix pixbuf data offset.
646 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
648 * cut-n-paste/recent-files/egg-recent-item.c:
649 * cut-n-paste/recent-files/egg-recent-item.h:
650 * cut-n-paste/recent-files/egg-recent-model.c:
651 * cut-n-paste/recent-files/egg-recent-util.c:
652 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
653 * cut-n-paste/recent-files/egg-recent-view.c:
657 2005-01-08 Martin Kretzschmar <martink@gnome.org>
659 * pdf/splash/Splash.cc (clear, drawPixel, drawSpan, xorSpan, getPixel)
660 (fillGlyph, fillImageMask, drawImage):
661 pdf/splash/SplashBitmap.cc (SplashBitmap, ~SplashBitmap, writePNMFile):
662 pdf/splash/SplashTypes.h:
663 pdf/xpdf/SplashOutputDev (startPage, getColor, imageSrc): implement RGB8
664 packed mode for Splash.
666 * pdf/xpdf/GDKSplashOutputDev.cc (GDKSplashOutputDev, redraw): use
667 RGB8 packed mode, eliminates the pixbuf data creation loop.
669 * shell/ev-print-job.c (ev_print_job_finalize)
670 (ev_print_job_set_property, ev_print_job_get_property)
671 (ev_print_job_set_gnome_print_job, ev_print_job_set_document)
672 (ev_print_job_use_print_dialog_settings, idle_print_handler)
673 (print_closure_finalize, ev_print_job_print): implement
674 printing (for backends with EvPsExporter)
676 * shell/ev_print_job.h: update prototypes.
678 * shell/ev-window.c (ev_window_print): unref print job after
681 * shell/ev-view.c (ev_view_set_document): don't connect to "found"
682 unless the document implements the EvDocumentFind interface.
684 2005-01-08 Satoru SATOH <ss@gnome.gr.jp>
686 * configure.ac: Added ja to ALL_LINGUAS.
688 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
690 * pdf/xpdf/pdf-document.cc:
692 add a FIXME. We should probably not allocate
693 a bookmark object every time
695 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
697 * shell/ev-application.c: (ev_application_open),
698 (ev_application_open_bookmark):
699 * shell/ev-application.h:
701 Add a way to open bookmarks
703 * backend/ev-bookmark.c: (ev_bookmark_get_uri),
704 (ev_bookmark_set_uri), (ev_bookmark_get_property),
705 (ev_bookmark_set_property), (ev_bookmark_class_init),
706 (ev_bookmark_new_title), (ev_bookmark_new_link),
707 (ev_bookmark_new_external):
709 Support for external uris, better constructors.
711 * backend/ev-bookmark.h:
712 * pdf/xpdf/pdf-document.cc:
713 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
717 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
719 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb),
720 (ev_sidebar_bookmarks_construct), (do_one_iteration):
722 Hook up bookmarks navigation
724 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
726 * backend/Makefile.am:
727 * backend/ev-bookmark.c: (ev_bookmark_type_get_type),
728 (ev_bookmark_get_title), (ev_bookmark_set_title),
729 (ev_bookmark_get_bookmark_type), (ev_bookmark_set_bookmark_type),
730 (ev_bookmark_get_page), (ev_bookmark_set_page),
731 (ev_bookmark_get_property), (ev_bookmark_set_property),
732 (ev_window_dispose), (ev_bookmark_init), (ev_bookmark_class_init),
734 * backend/ev-bookmark.h:
735 * backend/ev-document-bookmarks.c:
736 (ev_document_bookmarks_get_bookmark):
737 * backend/ev-document-bookmarks.h:
738 * pdf/xpdf/pdf-document.cc:
739 * shell/ev-sidebar-bookmarks.c: (do_one_iteration):
741 Add a bookmark object to the backend and use it instead of get_values
743 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
745 * data/evince-ui.xml:
747 Cleanup and add select all.
749 * shell/ev-view.c: (ev_view_select_all),
750 (ev_view_button_press_event):
752 * shell/ev-window.c: (ev_window_cmd_edit_select_all):
755 Clear selection on click.
757 Fri Jan 7 01:28:58 2005 Jonathan Blandford <jrb@redhat.com>
759 * shell/ev-sidebar-thumbnails.c
760 (ev_sidebar_thumbnails_set_document): forgot to unref the
763 Fri Jan 7 01:22:48 2005 Jonathan Blandford <jrb@redhat.com>
765 * shell/ev-sidebar-thumbnails.c: fill in the thumbnails starting
766 at the visible page, not just linearly. This makes it look fast.
768 Thu Jan 6 18:48:11 2005 Jonathan Blandford <jrb@redhat.com>
770 * backend/ev-document-misc.c
771 (ev_document_misc_get_thumbnail_frame): fill in the thumbnail with
773 * backend/ev-document-thumbnails.h: New interface to get the size
776 2005-01-06 Jeremy Katz <katzj@redhat.com>
778 * shell/Makefile.am (evince_SOURCES): Add ev-utils.[ch] so that
781 Wed Jan 5 15:38:28 2005 Jonathan Blandford <jrb@redhat.com>
783 * pdf/xpdf/pdf-document.cc (bitmap_to_pixbuf): bypass
784 GDKSplashOutputDev and just use a normal SplashOutputDev. Speeds
787 * shell/ev-sidebar-thumbnail.c: start of some profiling code.
789 2005-01-05 Martin Kretzschmar <martink@gnome.org>
791 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): match only outline
792 fonts. Should fix font problems on systems that have the base
793 fonts in bitmap format. Reported by James Henstridge
794 <james@jamesh.id.au>.
796 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
799 * pdf/xpdf/GfxState.cc:
801 Fix for CAN-2004-1125
803 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
805 * shell/ev-view.c: (ev_view_copy):
807 * shell/ev-window.c: (ev_window_cmd_edit_copy):
811 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
813 * backend/ev-document.c: (ev_document_get_text):
814 * backend/ev-document.h:
815 * pdf/xpdf/pdf-document.cc:
816 * shell/ev-view.c: (ev_view_realize), (expose_bin_window),
817 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
818 (ev_view_update_primary_selection), (ev_view_button_press_event),
819 (ev_view_motion_notify_event), (ev_view_button_release_event):
821 Beginnings of clipboard support. Incomplete but primary sort
824 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
826 * shell/ev-view.c: (ev_gdk_color_to_rgb), (draw_rubberband),
829 Nicer rubberband drawing, from GtkIconView.
831 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
833 * backend/ev-document.c: (ev_document_save):
834 * backend/ev-document.h:
835 * data/evince-ui.xml:
836 * pdf/xpdf/pdf-document.cc:
837 * shell/ev-window.c: (save_error_dialog), (ev_window_cmd_save_as):
839 Implement "Save a copy..." menu item
841 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
843 * shell/ev-view.c: (ev_view_zoom):
845 Queue a resize when zoom changes
847 Wed Jan 5 02:33:06 2005 Jonathan Blandford <jrb@redhat.com>
849 * backend/ev-document-misc.[ch]: New misc file to do simple drop
852 * pdf/xpdf/pdf-document.cc: use the drop shadows in both types of
855 Tue Jan 4 22:32:32 2005 Jonathan Blandford <jrb@redhat.com>
857 * pdf/xpdf/pdf-document.cc
858 (pdf_document_thumbnails_get_page_pixbuf): poor man's dropshadow.
860 Tue Jan 4 21:25:05 2005 Jonathan Blandford <jrb@redhat.com>
862 * pdf/xpdf/pdf-document.cc: Do real thumbnailing of PDF files.
863 It's slow, but I'll speed it up next!
865 2005-01-04 Jeff Muizelaar <jrmuizel@nit.ca>
867 * shell/main.c (load_files):
869 use gnome_vfs_make_uri_from_shell_arg so that relative paths work
870 from the command line and because it seems more appropriate.
872 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
874 * data/evince-ui.xml:
875 * shell/ev-window.c: (update_action_sensitivity),
876 (ev_window_cmd_go_page_up), (ev_window_cmd_go_page_down):
878 s/next page/page down
879 s/previous page/page up
881 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
883 * data/evince-ui.xml:
885 Change the layout to match clarkbw design.
888 * shell/ev-navigation-action.c: (build_menu), (menu_activated_cb),
889 (set_tooltip_cb), (connect_proxy), (ev_navigation_action_init),
890 (ev_navigation_action_finalize),
891 (ev_navigation_action_set_property),
892 (ev_navigation_action_get_property),
893 (ev_navigation_action_class_init):
894 * shell/ev-navigation-action.h:
896 Implement clarkbw toolbar navigation controls (incomplete)
898 * shell/ev-page-action.c: (update_label), (update_spin),
899 (value_changed_cb), (create_tool_item), (connect_proxy),
900 (ev_page_action_init), (ev_page_action_finalize),
901 (ev_page_action_set_property), (ev_page_action_get_property),
902 (ev_page_action_set_current_page),
903 (ev_page_action_set_total_pages), (ev_page_action_class_init):
904 * shell/ev-page-action.h:
906 Implement a page switcher in the toolbar
908 * shell/ev-view.c: (ev_view_scroll_view):
909 * shell/ev-window.c: (update_total_pages), (ev_window_open),
910 (update_current_page), (view_page_changed_cb), (goto_page_cb),
911 (register_custom_actions), (ev_window_init):
913 Change page on PageUp/Down.
915 Tue Jan 4 03:22:56 2005 Jonathan Blandford <jrb@redhat.com>
917 * pdf/xpdf/pdf-document.cc
918 (pdf_document_thumbnails_get_thumbnail): initial stab at
919 implementing thumbnail support for pdfs. It only does documents
920 with precached pdfs now.
922 Mon Jan 3 17:22:25 2005 Jonathan Blandford <jrb@redhat.com>
924 * shell/ev-sidebar-thumbnails.c (do_one_iteration): move the
925 thumbnail code into a time-based idle as well. Also, turn off the
926 shadow temporarily as it's really slow.
928 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
930 * backend/ev-document.c: (ev_document_class_init):
931 * pdf/xpdf/pdf-document.cc:
932 * shell/ev-window.c: (ev_window_open):
934 Fix document title bugs and fallback to
935 filename when not available.
937 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
939 * backend/ev-document.c: (ev_document_get_type),
940 (ev_document_class_init), (ev_document_load),
941 (ev_document_get_title):
942 * backend/ev-document.h:
943 * pdf/xpdf/pdf-document.cc:
944 * ps/ps-document.c: (ps_document_set_property),
945 (ps_document_get_property), (ps_document_class_init),
949 * shell/ev-window.c: (update_window_title), (ev_window_open),
952 Initial support for document title. Not working yet.
954 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
956 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event):
958 Grab focus on the view when clicking it
960 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
962 * shell/ev-marshal.list:
963 * shell/ev-view.c: (ev_view_realize), (add_scroll_binding),
964 (ev_view_scroll_view), (ev_view_class_init), (ev_view_init):
966 Add key bindings to the view. Now if the focus would work
969 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
972 * backend/Makefile.am:
975 * dvi/dvilib/Makefile.am:
976 * pdf/xpdf/Makefile.am:
982 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
984 * shell/ev-view.c: (ev_view_realize):
986 Fix mouse wheel scrolling
988 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
994 * ps/ps-document.c: (catchPipe), (ps_document_init),
995 (ps_document_class_init), (ps_document_cleanup),
996 (ps_document_finalize), (send_ps), (ps_document_get_orientation),
997 (set_up_page), (close_pipe), (is_interpreter_ready),
998 (interpreter_failed), (output), (input), (start_interpreter),
999 (stop_interpreter), (file_length), (file_readable),
1000 (check_filecompressed), (check_pdf), (compute_xdpi),
1001 (compute_ydpi), (compute_size), (ps_document_enable_interpreter),
1002 (ps_document_get_type), (ps_document_emit_error_msg),
1003 (document_load), (ps_document_next_page),
1004 (ps_document_get_current_page), (ps_document_get_page_count),
1005 (ps_document_goto_page), (ps_document_set_page_size),
1006 (ps_document_zoom_to_fit), (ps_document_set_zoom),
1007 (ps_document_load), (ps_document_get_n_pages),
1008 (ps_document_set_page), (ps_document_get_page),
1009 (ps_document_widget_event), (ps_document_set_target),
1010 (ps_document_set_scale), (ps_document_set_page_offset),
1011 (ps_document_get_page_size), (ps_document_render),
1012 (ps_document_document_iface_init):
1015 * shell/ev-window.c: (ev_window_open):
1017 Rename GtkGS to PSDocument
1019 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
1021 * ps/gtkgs.c: (gtk_gs_class_init):
1024 Some more leftover...
1026 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
1028 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_get_orientation),
1029 (output), (stop_interpreter), (gtk_gs_emit_error_msg),
1030 (gtk_gs_zoom_to_fit), (gtk_gs_set_zoom):
1033 Remove unused code and make a lot of stuff private
1035 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
1037 * ps/gsdefaults.c: (gtk_gs_defaults_gconf_client),
1038 (gtk_gs_defaults_changed):
1044 Cleanup headers dependencies
1046 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
1051 * ps/gsdefaults.c: (gtk_gs_defaults_get_paper_sizes):
1053 * ps/gtkgs.c: (file_length), (file_readable),
1054 (check_filecompressed), (check_pdf), (gtk_gs_load),
1055 (gtk_gs_get_postscript):
1059 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
1064 * ps/gtkgs.c: (gtk_gs_set_zoom):
1068 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
1070 * ps/gtkgs.c: (gtk_gs_set_zoom), (gtk_gs_set_zoom_mode):
1072 Ensure the page is rerendered when changing zoom
1074 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
1076 * backend/ev-document.c: (ev_document_base_init),
1077 (ev_document_changed):
1078 * backend/ev-document.h:
1080 Add a changed event that is emitted when the page content
1081 changes. This is necessary to deal with the fact that
1082 in ps backend rendering happen asycrounously.
1083 This makes the ps backend mostly work.
1085 * pdf/xpdf/pdf-document.cc:
1089 * ps/gtkgs.c: (set_up_page), (gtk_gs_widget_event),
1090 (ps_document_set_target):
1094 * shell/ev-view.c: (document_changed_callback),
1095 (ev_view_set_document), (ev_view_set_page):
1097 Redraw on the changed signal
1099 2004-12-25 Raphael Higino <raphaelh@cvs.gnome.org>
1101 * configure.ac: Added pt_BR to ALL_LINGUAS.
1103 Fri Dec 24 00:48:44 2004 Jonathan Blandford <jrb@redhat.com>
1105 * backend/ev-document-bookmarks.c:
1106 (ev_document_bookmarks_get_child): *
1107 backend/ev-document-bookmarks.h: * pdf/xpdf/Makefile.am: *
1108 pdf/xpdf/pdf-document.cc: * pdf/xpdf/pdf-document.h: *
1109 shell/Makefile.am: * shell/ev-sidebar-bookmarks.c:
1110 (ev_sidebar_bookmarks_destroy),
1111 (ev_sidebar_bookmarks_class_init),
1112 (ev_sidebar_bookmarks_construct), (stack_data_free),
1113 (do_one_iteration), (populate_bookmarks_idle),
1114 (ev_sidebar_bookmarks_clear_document),
1115 (ev_sidebar_bookmarks_set_document): *
1116 shell/ev-sidebar-bookmarks.h: * shell/ev-sidebar.c:
1117 (ev_sidebar_add_page),
1118 (ev_sidebar_set_document): * shell/ev-window.c: (ev_window_open):
1119 Initial stab at a bookmarks sidebar. It doesn't navigate yet, but
1120 it displays both the topics and the page numbers.
1122 2004-12-23 Kristian Høgsberg <krh@redhat.com>
1124 * shell/ev-window.c (ev_window_view_sidebar_cb): Hook up sidebar
1126 * shell/ev-window.c (toggle_entries): Set sidebar default value to
1129 2004-12-23 Adam Weinberger <adamw@gnome.org>
1131 * configure.ac: Added en_CA to ALL_LINGUAS.
1133 2004-12-23 Martin Kretzschmar <martink@gnome.org>
1135 * ChangeLog: replace bottom of this ChangeLog (merged history of
1136 ggv and gpdf; where all paths were wrong and most of the files are
1137 not even in this tree) with ChangeLog (from arch) of the shell
1140 2004-12-23 Havoc Pennington <hp@redhat.com>
1142 * shell/ev-window.c: hook up potentially-questionable "find
1143 results status text" feature - something involving the sidebar or
1144 scrollbar or a continuous all-pages-on-giant-roll-of-paper-view
1145 might be better in the end.
1147 * shell/ev-view.c (ev_view_get_find_status_message): new function,
1148 with corresponding signal when it should be updated
1150 * shell/eggfindbar.c (egg_find_bar_set_status_text): new function
1152 2004-12-22 Havoc Pennington <hp@redhat.com>
1154 * pdf/xpdf/pdf-document.cc (pdf_document_find_begin): make search
1155 find stuff on other pages, sort of (only returns one result on
1156 invisible pages, to show they have results; updates full results
1157 for a page when you view it). Currently repaints the current page
1158 every time a new result is found on any page, which isn't so nice.
1160 2004-12-22 Havoc Pennington <hp@redhat.com>
1162 * shell/ev-window.c (ev_window_cmd_edit_find): display an error if
1163 the document doesn't support find (better ideas?)
1164 (find_bar_search_changed_cb): handle missing document or document
1165 that doesn't support find
1167 * pdf/xpdf/pdf-document.cc: port to implement the new
1170 * backend/ev-document-find.c: create a new interface for searching
1172 * backend/ev-document.h, backend/ev-document.c: delete the find stuff
1174 2004-12-23 Martin Kretzschmar <martink@gnome.org>
1176 * pdf/xpdf/Makefile.am (libpdfdocument_la_LIBADD): add
1179 * shell/ev-window.c (ev_window_print): add GnomePrintJob to
1180 EvPrintJob constructor arguments.
1182 * backend/ev-ps-exporter.c, backend/ev-ps-exporter.h: interface
1183 for documents that can export PostScript (page by page).
1185 * backend/Makefile.am (libevbackend_la_SOURCES): add them.
1187 * pdf/xpdf/pdf-document.cc (pdf_document_ps_export_begin)
1188 (pdf_document_ps_export_do_page, pdf_document_ps_export_end)
1189 (pdf_document_ps_exporter_iface_init:
1190 Implement EvPSExporter.
1192 * pdf/xpdf/Makefile.am (libxpdf_la_SOURCES): build PSOutputDev.
1194 2004-12-22 Anders Carlsson <andersca@gnome.org>
1196 * backend/Makefile.am:
1197 * backend/ev-document-thumbnails.c:
1198 (ev_document_thumbnails_get_type),
1199 (ev_document_thumbnails_get_thumbnail):
1200 * backend/ev-document-thumbnails.h:
1201 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
1202 (pixbuf_document_thumbnails_get_thumbnail),
1203 (pixbuf_document_document_thumbnails_iface_init):
1204 * shell/Makefile.am:
1205 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_destroy),
1206 (ev_sidebar_thumbnails_class_init), (ev_sidebar_thumbnails_init),
1207 (populate_thumbnails), (ev_sidebar_thumbnails_set_document):
1208 * shell/ev-sidebar-thumbnails.h:
1209 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
1210 (ev_sidebar_set_document):
1211 * shell/ev-utils.c: (gaussian), (create_blur_filter),
1212 (create_shadow), (ev_pixbuf_add_shadow):
1214 Add thumbnail support.
1216 2004-12-22 Martin Kretzschmar <martink@gnome.org>
1218 * shell/ev-window.c (ev_window_cmd_file_print, ev_window_print)
1219 (using_postscript_printer): Set up a print dialog for "PostScript
1222 * shell/ev-print-job.h, shell/ev-print-job.c: stub classes for
1225 * shell/Makefile.am (evince_SOURCES): add ev-print-job.[ch]
1227 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
1229 * ps/gtkgs.c: (gtk_gs_init), (set_up_page),
1230 (ps_document_set_target), (ps_document_get_page_size),
1231 (ps_document_render):
1236 2004-12-22 Christian Rose <menthos@menthos.com>
1238 * configure.ac: Added "sv" to ALL_LINGUAS.
1240 Wed Dec 22 14:47:38 2004 Jonathan Blandford <jrb@redhat.com>
1242 * backend/ev-document-bookmarks.[ch]: new interface to indicate
1243 document supports bookmarks.
1245 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
1247 * ps/ggvutils.c: (ggv_file_readable):
1249 * ps/gtkgs.c: (check_filecompressed), (check_pdf),
1250 (gtk_gs_get_postscript):
1254 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
1256 * ps/gtkgs.c: (gtk_gs_init), (gtk_gs_class_init), (gtk_gs_cleanup),
1257 (gtk_gs_finalize), (gtk_gs_set_center), (set_up_page), (output),
1258 (start_interpreter), (compute_size), (gtk_gs_enable_interpreter),
1259 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_reload),
1260 (gtk_gs_emit_error_msg), (gtk_gs_disable_interpreter),
1261 (gtk_gs_load), (gtk_gs_goto_page), (gtk_gs_set_page_size),
1262 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
1263 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
1264 (gtk_gs_set_antialiasing), (ps_document_load),
1265 (ps_document_render):
1268 Another check point for the ps backend. Now I can get it to show
1271 Wed Dec 22 13:41:01 2004 Jonathan Blandford <jrb@redhat.com>
1273 * shell/ev-sidebar.c (ev_sidebar_set_document): initial sidebar
1274 document setting code.
1276 2004-12-22 Anders Carlsson <andersca@gnome.org>
1278 * shell/eggfindbar.c: (entry_activate_callback):
1279 Animate the next button when activate is pressed.
1281 2004-12-22 Anders Carlsson <andersca@gnome.org>
1283 * shell/ev-window.c: (ev_window_cmd_edit_find),
1284 (update_fullscreen_popup), (ev_window_fullscreen),
1285 (ev_window_unfullscreen), (ev_window_state_event_cb),
1286 (ev_window_focus_out_cb), (find_bar_close_cb), (ev_window_init):
1287 Fix bugs in fullscreen code.
1289 2004-12-22 Anders Carlsson <andersca@gnome.org>
1293 * pixbuf/Makefile.am:
1294 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
1295 (pixbuf_document_load), (pixbuf_document_get_n_pages),
1296 (pixbuf_document_set_page), (pixbuf_document_get_page),
1297 (pixbuf_document_set_target), (pixbuf_document_set_scale),
1298 (pixbuf_document_set_page_offset), (pixbuf_document_get_page_size),
1299 (pixbuf_document_render), (pixbuf_document_begin_find),
1300 (pixbuf_document_end_find), (pixbuf_document_finalize),
1301 (pixbuf_document_class_init),
1302 (pixbuf_document_document_iface_init), (pixbuf_document_init):
1303 * pixbuf/pixbuf-document.h:
1304 * shell/Makefile.am:
1305 * shell/ev-application.c: (ev_application_open):
1306 * shell/ev-window.c: (mime_type_supported_by_gdk_pixbuf),
1310 Tue Dec 21 21:45:43 2004 Soeren Sandmann <sandmann@redhat.com>
1313 * dvi/dvilib/Makefile.am:
1315 * configure.ac: Auto*ify dvi and dvi/dvilib
1317 * dvi/Makefile: Remove from CVS
1319 * dvi/dvilib/dl-pkfont.cc (unpack_bitmap): Fix uchar/uint
1322 * dvi/dvilib/dl-fontdefinition.{cc,hh}: New DviFontMap class
1324 * dvi/dvilib/dl-vffont.{cc,hh}: Many bugfixes to VF code.
1326 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
1329 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_finalize),
1330 (gtk_gs_value_adjustment_changed), (compute_size),
1331 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_new_from_file),
1332 (gtk_gs_center_page), (gtk_gs_load), (gtk_gs_set_page_size),
1333 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
1334 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
1335 (gtk_gs_start_scroll), (gtk_gs_get_postscript),
1336 (gtk_gs_set_adjustments), (gtk_gs_set_available_size),
1337 (ps_document_load), (ps_document_get_n_pages),
1338 (ps_document_set_page), (ps_document_get_page),
1339 (ps_document_set_target), (ps_document_set_scale),
1340 (ps_document_set_page_offset), (ps_document_get_page_size),
1341 (ps_document_render), (ps_document_begin_find),
1342 (ps_document_end_find), (ps_document_document_iface_init):
1344 * shell/Makefile.am:
1345 * shell/ev-window.c: (ev_window_open):
1347 Some work to integrate gtkgs with EvDocument
1349 2004-12-22 Anders Carlsson <andersca@gnome.org>
1351 * shell/ev-window.c: (update_fullscreen_popup),
1352 (screen_size_changed_cb), (destroy_exit_fullscreen_popup),
1353 (exit_fullscreen_button_clicked_cb),
1354 (fullscreen_popup_size_request_cb), (ev_window_fullscreen),
1355 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
1356 (ev_window_state_event_cb), (ev_window_init):
1357 Add fullscreen support from Epiphany.
1359 2004-12-22 Mark McLoughlin <mark@skynet.ie>
1361 * data/ev-stock-zoom-fit-width.png: fit-width
1362 stock icon from gpdf.
1364 * shell/ev-stock-icons.[ch]: copied from gpdf.
1366 * shell/main.c: (main): init stock icons.
1368 * shell/ev-window.c: use the fit-width icon.
1370 * data/evince-ui.xml: add zooming toolbar items.
1372 2004-12-22 Mark McLoughlin <mark@skynet.ie>
1375 (ev_view_best_fit), (ev_view_fit_width): because
1376 get_page_size() returns the scaled page size, we
1377 need to calculate the scale factor relative to
1378 the previous scale factor. Should really just
1379 add get_real_page_size().
1381 2004-12-22 Mark McLoughlin <mark@skynet.ie>
1383 * shell/ev-view.[ch]:
1384 (ev_view_zoom), (ev_view_zoom_in), (ev_view_zoom_out),
1385 (ev_view_normal_size), (ev_view_best_fit), (ev_view_fit_width):
1388 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
1389 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_normal_size),
1390 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width):
1393 * pdf/xpdf/pdf-document.cc:
1394 (pdf_document_begin_find),
1395 (pdf_document_end_find): make static.
1397 2004-12-22 Martin Kretzschmar <martink@gnome.org>
1399 * pdf/xpdf/GlobalParams.h (setupBaseFontsFc): add prototype.
1401 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): maps base font
1402 names to fontconfig patterns.
1403 (setupBaseFontsFc): setupBaseFonts reimplemented using fontconfig.
1405 * pdf/xpdf/pdf-document.cc (pdf_document_load): use
1408 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
1424 Import ggv backend. Not hooked up yet.
1426 2004-12-22 Mark McLoughlin <mark@skynet.ie>
1428 * shell/main.c: (load_files), (main): load files
1429 from the command line.
1431 2004-12-22 Mark McLoughlin <mark@skynet.ie>
1433 * configure.ac: don't require bonobo.
1435 * cut-n-paste/recent-files/*: kill bonobo recent
1438 * shell/ev-window.c:
1439 (ev_window_is_empty): upd.
1440 (unable_to_load), (ev_window_open): load backend
1441 based on the mime type.
1443 2004-12-22 Martin Kretzschmar <martink@gnome.org>
1445 * backend/.cvsignore: ignore generated marshalers source.
1447 * shell/main.c (main): this is not epiphany.
1449 2004-12-22 Havoc Pennington <hp@redhat.com>
1451 * shell/ev-view.c (ev_view_set_document): connect to "found" signal
1452 (expose_bin_window): draw find highlights
1454 * shell/ev-window.c (find_bar_search_changed_cb): implement
1456 * pdf/xpdf/pdf-document.cc (pdf_document_begin_find)
1457 (pdf_document_end_find): implement this interface
1459 * backend/ev-document.c (ev_document_found): add this to emit
1462 Tue Dec 21 23:57:37 2004 Owen Taylor <otaylor@redhat.com>
1464 * data/evince-ui.xml: Add a few more toolbar items.
1466 * shell/ev-window.c: Hook up page navigation toolbar
1469 * shell/ev-view.[ch]: add ev_view_set/get_page and
1470 a page-changed signal.
1472 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc::
1473 Add ev_document_get_page().
1475 * shell/ev-window.c: Sensitize/desensitize navigation
1478 2004-12-21 Havoc Pennington <hp@redhat.com>
1480 * backend/ev-backend-marshal.c,
1481 backend/ev-backend-marshalers.list, backend/Makefile.am: add
1482 marshaler-generator thingy. I'm sure there's a better way to do
1483 this in the modern world.
1485 * backend/ev-document.h (struct _EvDocumentIface): add begin_find,
1486 end_find methods and "found" signal.
1488 * configure.ac: find glib-genmarshal
1490 Tue Dec 21 23:20:35 2004 Jonathan Blandford <jrb@redhat.com>
1492 * shell/ev-sidebar.c: Construct an actual sidebar.
1493 * shell/ev-sidebar-bookmarks.[ch]:
1494 * shell/ev-sidebar-thumbnails.[ch]: Stub out sidebars.
1496 Tue Dec 21 23:05:51 2004 Owen Taylor <otaylor@redhat.com>
1498 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc:
1501 * shell/ev-view.c: Track the size from the document.
1503 Tue Dec 21 22:17:04 2004 Owen Taylor <otaylor@redhat.com>
1505 * pdf/xpdf/pdf-document.cc (pdf_document_load): PDFDoc
1506 constructor assumes ownership of the string passed in.
1508 * shell/ev-window.c (ev_window_open): Destroy the error
1509 dialog once we've displayed it.
1511 Tue Dec 21 21:58:56 2004 Owen Taylor <otaylor@redhat.com>
1513 * pdf/xpdf/pdf-document.cc shell/ev-view.c: Hook things up
1514 a bit, it works! (sort of)
1516 * pdf/xpdf/Makefile.am pdf/xpdf/pdf-document.cc:
1517 Move to .cc since we need to use C++ in the implementation.
1519 * shell/dummy.cc: Add a CC file to force evince
1520 to be linked as a C++ program.
1522 Tue Dec 21 21:07:55 2004 Owen Taylor <otaylor@redhat.com>
1524 * shell/ev-view.[ch]: Start of content-area widget.
1526 * shell/ev-window.c: Create a EvView, update it
1527 as we change documents.
1529 * shell/Makefile.am shell/ev-marshal.list: Add
1530 generated marshalers.
1532 Tue Dec 21 20:28:11 2004 Jonathan Blandford <jrb@redhat.com>
1534 * Makefile.am (SUBDIRS): move shell.
1536 Tue Dec 21 19:28:55 2004 Owen Taylor <otaylor@redhat.com>
1538 * pdf/{goo,fofi,splash,xpdf}/Makefile.am: Switch from
1539 .a to libtool convenience libraries.
1541 * shell/ev-window.c (ev_window_open): Hard code loading
1544 * backend/ev-document.h: Add a boolean return to load(),
1545 fix GError * to GError **.
1547 * pdf/xpdf/pdf-document.[ch] Makefile.am: Add a stub
1548 object for a PDF backend EvDocument.
1550 Tue Dec 21 18:55:06 2004 Søren Sandmann <sandmann@redhat.com>
1552 * dvi/*: New directory with the beginning of a .dvi backend.
1554 2004-12-21 Havoc Pennington <hp@redhat.com>
1556 * shell/eggfindbar.c (egg_find_bar_init): change buttons to
1557 previous/next instead of back/forward
1559 Tue Dec 21 18:26:24 2004 Owen Taylor <otaylor@redhat.com>
1561 * backend/ev-document.[ch]: Fix a couple of problems so
1564 Tue Dec 21 18:20:40 2004 Owen Taylor <otaylor@redhat.com>
1566 * viewer/* backend/* configure.ac Makefile.am: Move viewer directory
1567 to backend/ directory, rename EvViewer to EvDocument.
1569 2004-12-21 Havoc Pennington <hp@redhat.com>
1571 * shell/ev-window.c: hook up the find bar widget; now we just need
1572 a document to find things in
1574 * shell/eggfindbar.c: a find bar widget
1576 Tue Dec 21 17:20:16 2004 Jonathan Blandford <jrb@redhat.com>
1578 * shell/ev-sidebar.[ch]: initial sidebar boilerplate.
1580 Tue Dec 21 16:30:58 2004 Owen Taylor <otaylor@redhat.com>
1582 * pdf/**: Import of xpdf code from gpdf.
1584 * pdf/xpdf/xpdfconfig.h: Move the non-config.h config.h to xpdfconfig.h
1586 * pdf/splash/SplashFTFont.{cc,h} pdf/splash/SplashFTFont.h
1587 pdf/splash/SplashFTFontEngine.h pdf/splash/SplashFTFontFile.h:
1588 Fix FreeType includes.
1590 * pdf/xpdf/{Error.h GnomeVFSStream.cc ImageOutputDev.cc PDFDoc.cc\
1591 pdffonts.cc pdfimages.cc pdfinfo.cc pdftoppm.cc pdftops.cc
1592 pdftotext.cc PSOutputDev.cc PSOutputDev.h SplashOutputDev.h
1593 Stream.cc TextOutputDev.cc XPDFApp.cc xpdf.cc XPDFViewer.cc
1594 pdf/xpdf/Error.h PSOutputDev.h SplashOutputDev.h}:
1595 Include xpdfconfig.h
1597 Tue Dec 21 16:08:17 2004 Jonathan Blandford <jrb@redhat.com>
1599 * shell/ev-window.c (ev_window_dispose): dispose can be called
1602 2004-12-21 Havoc Pennington <hp@redhat.com>
1604 * shell/ev-window.c (ev_window_init): set title to Document Viewer
1607 * data/evince-ui.xml, shell/ev-window.c: add a bunch of stub menu
1608 items; really they should be synced with the strings, etc. from
1609 current gpdf, but just getting the boring typing out of the way
1611 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
1614 * shell/ev-application.c: (window_destroy_cb):
1615 * shell/ev-window.c:
1616 * shell/main.c: (main):
1618 Actually show the window...
1620 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
1623 * shell/Makefile.am:
1624 * shell/ev-application.c: (ev_application_class_init):
1625 * shell/ev-window.c: (ev_window_dispose), (ev_window_class_init):
1629 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
1631 Import to gnome cvs.
1633 * Remove copies of gpdf and ggv trees.
1634 * Rip out all the recursive configure code.
1635 * Remove bonobo machinery.
1636 * viewer/*: GInterfaces that backends should/can implement.
1638 2004-11-09 Martin Kretzschmar <m_kretzschmar@gmx.net>
1640 * shell/ev-window.c (ev_window_cmd_help_about): fix "documentors"
1643 2004-10-28 Martin Kretzschmar <m_kretzschmar@gmx.net>
1645 * shell/ev-application.c (EV_APPLICATION_GET_PRIVATE)
1646 (ev_application_finalize, ev_application_class_init)
1647 (ev_application_init): use GType instance private data for priv.
1649 * shell/ev-window.c (EV_WINDOW_GET_PRIVATE)
1650 (ev_window_finalize, ev_window_class_init)
1651 (ev_window_init): ditto.
1653 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
1655 * shell/ev-application.c (ev_application_new_window): make public
1656 (ev_application_show_initial_window): kill.
1658 * shell/ev-application.h: update prototypes.
1660 * shell/main.cc (main): inline ev_application_show_initial_window.
1662 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
1664 * shell/ev-application.c (ev_application_new_window): impl.
1665 (ev_application_show_initial_window): use it.
1666 (is_window_empty, ev_application_get_empty_window): returns an
1667 existing empty window or a new one.
1668 (ev_application_open): from ev_window_cmd_file_open.
1670 * shell/ev-application.h: update prototypes
1672 * shell/ev-window.c (ev_window_is_empty): impl.
1673 (ev_window_open): make public.
1674 (ev_window_cmd_file_open): use ev_application_open
1676 * shell/ev-window.h: update prototypes, remove unused.
1678 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
1680 * shell/ev-window.c (ev_window_destroy, ev_window_class_init):
1681 move destroy handler out of here...
1683 * shell/ev-application.c, shell/ev-application.h: ...into this new
1684 class. Also handles initial window creation.
1686 * shell/main.cc (main): use EvApplication to create initial
1689 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
1691 * Makefile.am (SUBDIRS): add cut-n-paste
1693 * cut-n-paste/Makefile.am: add
1695 * configure.ac: generate Makefiles in cut-n-paste
1697 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
1699 * shell/ev-window.c (ev_window_dispose): new, unref the ui_manager
1700 (ev_window_class_init): install ev_window_dispose.
1702 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
1704 * shell/ev-window.h, shell/ev-window.c: replace gchar with
1705 char (gchar looks stupid).
1707 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
1709 * po/de.po: updated German translation.
1711 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
1713 * configure.ac: add more pkg-config library checks for gnome-vfs,
1716 * gpdf/configure.in: temporarily disable libpaper
1717 checks. Otherwise I'd have to add the checks for the shell, too.
1719 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1721 * shell/ev-window.c (ev_window_cmd_file_open): add ps+pdf, ps, pdf
1722 and * file filters to the file choose.
1724 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1726 * po/de.po: Updated German translation.
1728 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1730 * shell/ev-window.c: use "S" as mnemonic for Statusbar.
1732 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1734 * data/evince-ui.xml: add View->Toolbar and View->Statusbar.
1736 * shell/ev-window.c (menu_item_select_cb, menu_item_select_cb)
1737 (ev_window_init): implement those menuitems.
1739 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1741 * data/evince-ui.xml: add a toolbar (with FileOpen action)
1743 * shell/ev-window.c (ev_window_init): use the toolbar.
1745 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1747 * shell/ev-window.c (ev_window_init): use menu translations
1749 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1751 * configure.ac: add "de" to ALL_LINGUAS.
1753 * po/de.po: add German translation.
1755 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1757 * Makefile.am (SUBDIRS): add po
1759 * configure.ac: check intltool, glib-gettext etc, generate
1762 * po, po/POTFILES.in, po/POTFILES.skip: new.
1764 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1766 * shell/Makefile.am (INCLUDES): define GNOMELOCALEDIR which we
1767 already use (#ifdef ENABLE_NLS)
1769 * shell/ev-window.c (ev_window_cmd_help_about): fix two star
1770 pointer indirection thinko.
1772 * shell/main.c: include gi18n.h for bindtextdomain etc.
1774 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1776 * shell/ev-window.c (menu_item_select_cb, menu_item_deselect_cb)
1777 (connect_proxy_cb, disconnect_proxy_cb, ev_window_init): show
1778 tooltips for menu items in the statusbar.
1780 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1782 * configure.ac, data/Makefile.am, shell/Makefile.am: use
1783 pkgdatadir drop UIDIR
1785 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1787 * data/evince-ui.xml: Add File->Open menu item
1789 * shell/ev-window.c (ev_window_cmd_file_open): impl. (shows a file
1790 chooser), hook it up in the ui manager.
1792 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1794 * shell/ev-window.c: fix Help->About tooltip.
1796 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1798 * configure.ac: set CFLAGS for libevprivate.
1800 * lib/ev-stock-icons.h, lib/ev-stock-icons.c: stock icon
1801 definitions, factory etc.
1803 * lib/Makefile.am: build libevprivate.a (only stock icon code).
1805 * shell/Makefile.am: link against libevprivate.a.
1807 * shell/ev-window.c (entries): add stock icon to Help->About.
1809 * shell/main.c (main): init stock icon code.
1811 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1813 * lib/recent-files: egg recent files code
1815 * lib/Makefile.am: add.
1817 * Makefile.am: add lib subdir.
1819 * configure.ac: gen. lib/Makefile and lib/recent-files/Makefile,
1820 set CFLAGS for recent-files.
1822 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1824 * configure.ac: disable -ansi and -pedantic gcc flags. They
1825 disable POSIX stuff in stdio.h, but egg-recent uses them.
1827 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1829 * configure.ac: add --disable-deprecated flag (defaults to on in
1832 * shell/Makefile.am (INCLUDES): use it.
1834 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1836 * shell/main.c: add missing #include.
1838 * shell/ev-window.c: fix for pedantic gcc.
1839 (ev_window_cmd_help_about): split license into paragraphs for
1840 translators and pedantic compilers.
1842 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1844 * configure.ac: add more warning flags if compiling with gcc from
1845 cvs (or explicitly requested with --enable-more-warnings).
1847 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1849 * data/evince-ui.xml: add File and File->Close menu.
1851 * shell/ev-window.c (ev_window_cmd_file_close_window): impl.
1852 (ev_window_destroy): quit after destroy.
1853 (ev_window_class_init): override GtkObject::destroy.
1854 (entries): install close_window callback.
1856 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1858 * Makefile.am (SUBDIRS): add data subdir.
1860 * configure.ac (UIDIR): gen data/Makefile, define UIDIR. Require
1861 gtk+ 2.5.0 for GtkAboutDialog.
1863 * data/Makefile.am, data/evince-ui.xml: add, ui definition for the
1866 * shell/Makefile.am (INCLUDES): propagate UIDIR definition.
1868 * shell/ev-window.c (ev_window_init): create a menubar, using a ui
1870 (ev_window_cmd_help_about): about command, using GtkAboutDialog.
1872 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1874 * shell/ev-window.c, shell/ev-window.h: Created an EvWindow class.
1876 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
1878 * shell/main.c: make it a trivial gtk+ program, adjust configure.ac
1880 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
1882 * shell/*: Added shell directory boilerplate, build it.
1884 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
1886 * configure.ac, Makefile.am: Added top-level configure.ac and