1 2005-02-07 Bryan Clark <clarkbw@cvs.gnome.org>
3 * data/evince.schemas.in: updated simple error in applyto closing tag
5 2005-02-07 Christian Persch <chpe@cvs.gnome.org>
12 A data/evince.schemas.in:
14 * shell/ev-stock-icons.c: (ev_stock_icons_init):
15 * shell/ev-stock-icons.h:
16 * shell/ev-window.c: (update_chrome_visibility),
17 (update_chrome_flag), (ev_window_cmd_edit_find),
18 (ev_window_update_fullscreen_popup), (ev_window_fullscreen),
19 (ev_window_unfullscreen), (ev_window_focus_in_event),
20 (ev_window_focus_out_event), (ev_window_cmd_leave_fullscreen),
21 (ev_window_view_toolbar_cb), (ev_window_view_statusbar_cb),
22 (ev_window_view_sidebar_cb), (find_bar_close_cb),
23 (ev_window_dispose), (ev_window_class_init),
24 (set_action_properties), (set_chrome_actions), (load_chrome),
27 Implement fullscreen mode changes from bug #164776.
28 Also implement persistent chrome toggles.
30 2005-02-07 Jordi Mallach <jordi@sindominio.net>
32 * configure.ac (ALL_LINGUAS): Added "ca" (Catalan).
34 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
40 Add another check for find interface
44 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
46 * shell/ev-application.c: (ev_application_open):
47 * shell/ev-window.c: (ev_window_open):
49 Open gzipped ps documents
51 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
54 * shell/ev-view.c: (set_document_page):
56 Clamp page number, dont try to move to
59 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
61 * backend/ev-document-find.c: (ev_document_find_changed):
62 * backend/ev-document-find.h:
63 * pdf/xpdf/pdf-document.cc:
64 * shell/ev-view.c: (jump_to_find_result), (ev_view_set_document):
65 * shell/ev-window.c: (find_bar_search_changed_cb):
67 Fix several bugs with find
69 2005-02-04 Martin Kretzschmar <martink@gnome.org>
71 * shell/ev-sidebar-thumbnails.c
72 (ev_sidebar_thumbnails_select_page): do nothing unless we have a
73 document. Prevents warning from scroll_to_cell.
75 2005-02-02 Kjartan Maraas <kmaraas@gnome.org>
77 * configure.ac: Add «nb» to ALL_LINGUAS too.
79 Wed Feb 2 21:13:11 2005 Jonathan Blandford <jrb@redhat.com>
81 * NOTES: New file with some random thoughts.
85 * backend/ev-document-misc.c:
86 (ev_document_misc_get_page_border_size): New function to
87 canonicalize shadow drawing sizes. Possibly goofy.
89 * shell/ev-view.c: (ev_view_size_request), (set_document_page),
90 (ev_view_best_fit), (ev_view_fit_width):
91 * pdf/xpdf/pdf-document.cc:
92 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
93 * ps/ps-document.c: (ps_document_get_page_size):
94 * backend/ev-document-misc.h:
95 * backend/ev-document.c: (ev_document_get_page_size):
96 * backend/ev-document.h: get_page_size now takes a page number
97 parameter. Made all the backends/frontends honor it.
99 * data/evince-ui.xml: Added a multiple-page mode. Uncomment to
100 see. Doesn't work yet.
103 * shell/ev-page-view.[ch]: New multi-page view. Really rough.
104 Doesn't do anything yet.
106 * shell/ev-sidebar-thumbnails.c:
107 (ev_sidebar_thumbnails_set_document): [1..n_pages] instead of
110 * shell/ev-window.c: (update_action_sensitivity),
111 (ev_window_setup_document), (ev_window_set_page_mode),
112 (ev_window_page_mode_cb), (ev_window_init): Clean up the
113 view-swapping code a bit so we can have multiple views on a
114 document. Add the multi-page view, though it can't be turned on
117 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
119 * shell/ev-application.c: (ev_application_open):
120 * shell/ev-view.c: (expose_bin_window):
121 * shell/ev-window.c: (ev_window_open):
123 Support eps and check document supports find
124 before drawing highlightings in expose.
126 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
128 * pixbuf/pixbuf-document.c:
129 (pixbuf_document_thumbnails_get_dimensions),
130 (pixbuf_document_document_thumbnails_iface_init):
132 implement get_dimensions
134 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
141 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
143 * shell/ev-view.c: (set_document_page):
145 Scroll at the top of the page when changing page
147 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
149 * shell/ev-view.c: (ev_view_motion_notify_event):
151 Do not redraw unnecessarily
153 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
155 * pdf/xpdf/pdf-document.cc:
156 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
157 (expose_bin_window), (find_changed_cb):
159 Yay! find works now... Now to find bugs...
161 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
163 * backend/ev-document-find.c: (ev_document_find_base_init),
164 (ev_document_find_changed):
165 * backend/ev-document-find.h:
166 * pdf/xpdf/pdf-document.cc:
167 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
168 (expose_bin_window), (ev_view_init), (set_document_page),
169 (ensure_rectangle_is_visible), (jump_to_find_result),
170 (jump_to_find_page), (find_changed_cb), (ev_view_set_document),
171 (ev_view_find_next), (ev_view_find_previous):
173 * shell/ev-window.c: (find_bar_previous_cb), (find_bar_next_cb):
175 More work on find implementation, mostly there now
177 2005-01-29 Marco Pesenti Gritti <marco@gnome.org>
179 * backend/ev-backend-marshalers.list:
180 * backend/ev-document-find.c: (ev_document_find_base_init),
181 (ev_document_find_cancel), (ev_document_find_page_has_results),
182 (ev_document_find_get_n_results), (ev_document_find_get_result),
183 (ev_document_find_get_progress), (ev_document_find_changed):
184 * backend/ev-document-find.h:
186 Enanche the find interface to be really able to do
189 * pdf/xpdf/pdf-document.cc:
193 * shell/ev-view.c: (ev_view_finalize), (highlight_find_results),
194 (expose_bin_window), (ev_view_init),
195 (ev_view_get_find_status_message), (find_changed_cb),
196 (ev_view_set_document), (set_document_page):
198 Adapt to the new interface. A few things are regressed sorry,
199 I will finish it soon.
201 2005-01-28 Martin Kretzschmar <martink@gnome.org>
203 * shell/ev-sidebar-thumbnails.c (ev_sidebar_thumbnails_destroy)
204 (ev_sidebar_thumbnails_class_init): use G_DEFINE_TYPE-supplied
205 ev_sidebar_thumbnails_parent_class variable, don't define another
206 parent_class variable.
208 * shell/ev-page-action.c (connect_proxy, ev_page_action_finalize)
209 (ev_page_action_class_init): ditto.
211 * pixbuf/pixbuf-document.c (pixbuf_document_finalize)
212 (pixbuf_document_class_init): ditto.
214 * backend/ev-link.c (ev_window_dispose, ev_link_class_init):
217 * .cvsignore: ignore various valgrind output files.
219 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
221 * data/evince-ui.xml:
223 * shell/ev-history.c:
224 * shell/ev-history.h:
225 * shell/ev-navigation-action.c:
226 * shell/ev-navigation-action.h:
227 * shell/ev-view.c: (ev_view_finalize), (ev_view_go_to_link),
228 (ev_view_set_page), (ev_view_fit_width):
230 * shell/ev-window.c: (update_action_sensitivity),
231 (ev_window_setup_document), (register_custom_actions):
235 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
237 * shell/ev-window.c: (update_action_sensitivity):
239 Fix inverted up/down buttons
241 2005-01-27 Martin Kretzschmar <martink@gnome.org>
243 * shell/ev-sidebar-thumbnails.c
244 (ev_sidebar_thumbnails_select_page): make sure the selected
245 thumbnail stays visible.
247 2005-01-26 Martin Kretzschmar <martink@gnome.org>
249 * shell/ev-window.c (ev_window_init): add GTK_SHADOW_IN to the
250 scrolled window for Federico.
252 2005-01-26 Ole Laursen <olau@hardworking.dk>
254 * configure.ac: Added "da" (Danish) to ALL_LINGUAS.
256 2005-01-26 Marco Pesenti Gritti <marco@gnome.org>
259 * pdf/splash/SplashFTFontEngine.cc:
261 Fix CID fonts with freetype 2.1.9
263 2005-01-26 Bryan Clark <clarkbw@cvs.gnome.org>
265 * TODO: added item for desktop icon thumbnailer
267 Tue Jan 25 00:59:34 2005 Jonathan Blandford <jrb@redhat.com>
269 * pdf/xpdf/pdf-document.cc (pdf_document_get_title): guard against
270 unloaded docs when the title is accessed.
272 * shell/ev-password-view.[hc]: New widget for displaying password
275 * shell/ev-window.[ch]: Refactor password handling code to handle
278 2005-01-24 Marco Pesenti Gritti <marco@gnome.org>
286 2005-01-23 Stephane LOEUILLET <stephane.loeuillet@tiscali.fr>
288 * pdf/xpdf/pdf-document.cc (pdf_document_search_page_changed):
289 ignore page offset here, to make search results independent of it,
291 * shell/ev-view.c (expose_bin_window): but take offsets into
292 account here. Bug #164932
294 * pdf/xpdf/pdf-document.cc (pdf_document_get_link): divide by
295 scale at the right time. Bug #164996
297 2005-01-22 Martin Kretzschmar <martink@gnome.org>
299 * pdf/xpdf/GlobalParams.cc: My 2005-01-05 change didn't actually
300 fix the problem. Now I just removed the Adobe font names and hope
301 that the URW fonts are always in outline format. Bug #164934
303 * shell/ev-window.c (update_window_title): empty titles are
304 useless, use filename in that case too.
306 * NEWS: Add some content.
308 2005-01-21 Bryan Clark <clarkbw@cvs.gnome.org>
310 * TODO: added one more TODO item and a TODONE section :)
312 2005-01-21 Martin Kretzschmar <martink@gnome.org>
314 * ps/ps-document.h: add page_[xy]_offset fields.
316 * ps/ps-document.c (ps_document_set_page_offset)
317 (ps_document_render): Keep offset in consideration in a few
318 places. Bug #164752 "postscript documents are not centered in
321 * data/evince.desktop.in (X-GNOME-Bugzilla-Product):
322 s/gpdf/evince/. Spotted by Stephane Loeuillet.
324 * pixbuf/pixbuf-document.c (pixbuf_document_get_n_pages)
325 (pixbuf_document_get_text, pixbuf_document_document_iface_init):
326 stub out missing methods for complete EvDocument implementation.
327 Fixes segfaults with Save A Copy and Copy actions.
329 * ps/ps-document.c (ps_document_save, ps_document_get_text)
330 (ps_document_document_iface_init): ditto.
332 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
336 * data/evince.desktop.in:
340 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
342 * shell/ev-view.c: (ev_view_button_press_event),
343 (ev_view_motion_notify_event):
345 Make selection work in any direction
347 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
350 * shell/ev-window.c: (set_short_labels), (ev_window_init):
352 Use shorter labels for some of the toolbars items
354 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
356 * pdf/xpdf/pdf-document.cc:
358 Check the links info is initialized before
359 using it. Should fix a crash on startup.
361 2005-01-21 Martin Kretzschmar <martink@gnome.org>
363 * pixbuf/pixbuf-document.c
364 (pixbuf_document_thumbnails_get_dimensions): force floating point
365 division to calculate page_ratio. Fixes crash with landscape
368 Thu Jan 20 18:56:35 2005 Jonathan Blandford <jrb@redhat.com>
370 * shell/ev-view.c (ev_view_realize): make the bg color darker.
372 2005-01-20 Martin Kretzschmar <martink@gnome.org>
374 * shell/ev-view.c (set_document_page): unset has_selection when
376 (set_document_page): handle paper size changes when the page
377 changes (test with Free Culture, page 2).
379 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
381 * shell/ev-view.c: (ev_view_size_request), (ev_view_realize),
382 (expose_bin_window), (ev_view_class_init), (ev_view_init):
384 Use normal style color for the widget background and
385 draw a black box around the page.
387 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
389 * pdf/xpdf/pdf-document.cc:
391 Keep offset in consideration in a few places
393 * shell/ev-view.c: (expose_bin_window):
395 Set the offsets so that the document is ever centered
397 2005-01-20 Bryan Clark <clarkbw@cvs.gnome.org>
399 * TODO: Added TODO items and finished off the first todo item
401 * AUTHORS: Updated AUTHORS section with piece from gpdf file and
402 reflect current authors
404 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
406 * pdf/xpdf/pdf-document.cc:
407 * shell/ev-view.c: (ev_view_set_cursor),
408 (ev_view_motion_notify_event), (document_changed_callback),
411 Show a wait cursor while the page is rendering
413 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
415 * shell/ev-sidebar-thumbnails.c:
416 (ev_sidebar_tree_selection_changed),
417 (ev_sidebar_thumbnails_select_page):
418 * shell/ev-sidebar-thumbnails.h:
419 * shell/ev-view.c: (ev_view_set_document), (ev_view_can_go_back),
420 (ev_view_can_go_forward):
421 * shell/ev-window.c: (ev_window_open_page),
422 (ev_window_setup_document), (update_current_page),
423 (view_page_changed_cb), (ev_window_init):
426 Ensure thumbnails selection, toolbar page control and
427 current page are in sync.
429 2005-01-19 Marco Pesenti Gritti <marco@gnome.org>
435 Wed Jan 19 01:10:57 2005 Jonathan Blandford <jrb@redhat.com>
437 * backend/Makefile.am:
438 * backend/ev-document-links.h:
439 * backend/ev-document-security.c: (ev_document_security_get_type),
440 (ev_document_security_has_document_security),
441 (ev_document_security_set_password):
442 * backend/ev-document-security.h:
443 * backend/ev-document.c: (ev_document_error_quark):
444 * backend/ev-document.h:
446 * data/evince-password.glade:
447 * pdf/xpdf/pdf-document.cc:
449 * shell/ev-password.c: (ev_password_set_bad_password_label),
450 (ev_window_password_entry_changed_cb), (ev_password_dialog_new),
451 (ev_password_dialog_get_password),
452 (ev_password_dialog_set_bad_pass):
453 * shell/ev-password.h:
454 * shell/ev-window.c: (ev_window_get_attribute),
455 (ev_window_set_property), (update_action_sensitivity),
456 (ev_window_is_empty), (mime_type_supported_by_gdk_pixbuf),
457 (ev_window_setup_document), (ev_window_get_password),
458 (ev_window_open), (ev_window_cmd_save_as),
459 (using_postscript_printer), (ev_window_print),
460 (find_not_supported_dialog), (ev_window_cmd_edit_find),
461 (update_fullscreen_popup), (ev_window_fullscreen),
462 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
463 (ev_window_focus_out_cb), (ev_window_cmd_help_about),
464 (menu_item_select_cb), (find_bar_search_changed_cb),
465 (ev_window_dispose), (ev_window_init):
467 Add initial support for password-supported dialogs. This could be
468 a lot cooler, but it'll do for now.
470 2005-01-18 Marco Pesenti Gritti <marco@gnome.org>
472 * pdf/xpdf/pdf-document.cc:
473 * shell/ev-view.c: (status_message_from_link),
474 (ev_view_set_status), (ev_view_set_cursor),
475 (ev_view_motion_notify_event), (ev_view_init):
476 * shell/ev-window.c: (view_status_changed_cb), (ev_window_init):
478 Fix bugs in the links implementation and change cursor
479 when hovering a link.
481 2005-01-17 Bryan Clark <clarkbw@cvs.gnome.org>
483 * viewer/.cvsignore: added cvsignore file for viewer directory
485 * TODO: created TODO document
487 2005-01-14 Dave Malcolm <dmalcolm@redhat.com>
490 * shell/ev-view.c (ev_view_can_go_back), (ev_view_can_go_forward):
491 new functions to help with implementation of sensitivity code
492 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
493 of all actions that might require it. Fixes a crash when you
494 click on the Zoom actions in a window lacking a document.
496 2005-01-13 Dave Malcolm <dmalcolm@redhat.com>
498 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
501 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
503 * pixbuf/pixbuf-document.c: (pixbuf_document_get_link),
504 (pixbuf_document_document_iface_init):
505 * ps/ps-document.c: (ps_document_get_link),
506 (ps_document_document_iface_init):
507 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event),
508 (status_message_from_link), (ev_view_set_status),
509 (ev_view_set_find_status), (ev_view_motion_notify_event),
510 (ev_view_button_release_event), (ev_view_set_property),
511 (ev_view_get_property), (ev_view_class_init), (ev_view_init),
512 (ev_view_get_find_status_message), (update_find_results),
513 (ev_view_get_status), (ev_view_get_find_status):
515 * shell/ev-window.c: (view_status_changed_cb),
516 (view_find_status_changed_cb), (ev_window_init):
518 View status message support, use it to show the links.
521 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
523 * backend/ev-document.c: (ev_document_get_link):
524 * backend/ev-document.h:
525 * pdf/xpdf/pdf-document.cc:
526 * shell/ev-application.c: (ev_application_open):
527 * shell/ev-application.h:
528 * shell/ev-sidebar-links.c: (selection_changed_cb):
529 * shell/ev-view.c: (ev_view_button_release_event), (go_to_link),
530 (ev_view_go_to_link):
532 Add support for document links
534 2005-01-13 Anders Carlsson <andersca@gnome.org>
536 * shell/ev-page-action.c: (update_spin), (total_pages_changed_cb),
538 Set the spin button limits correctly.
540 * shell/ev-sidebar-thumbnails.c:
541 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init):
542 Support changing pages by clicking on the thumbnails.
544 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
546 * pixbuf/pixbuf-document.c:
547 (pixbuf_document_thumbnails_get_dimensions),
548 (pixbuf_document_document_thumbnails_iface_init):
550 implement get_dimensions
552 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
554 * ps/ps-document.c: (ps_document_goto_page):
556 Fix page switching on multipage documents
558 2005-01-12 Jeff Muizelaar <jrmuizel@nit.ca>
560 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
562 check for NULL before assigning to width and height parameters
564 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
566 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
567 (pixbuf_document_set_property), (pixbuf_document_get_property):
569 implement get/set properties
571 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
573 * pdf/xpdf/pdf-document.cc: (pdf_info_dict_get_string):
575 return NULL instead of "Unknown", letting the title get set to
576 the filename when the pdf has no title.
578 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
580 * ps/ps-document.c: (ps_document_get_page_count),
581 (ps_document_goto_page):
583 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
585 * shell/ev-history.c: (ev_history_get_property),
586 (ev_history_set_property), (ev_history_class_init),
587 (ev_history_add_page), (ev_history_set_current_index):
588 * shell/ev-navigation-action.c: (ev_navigation_action_set_history),
589 (activate_menu_item_cb), (new_history_menu_item), (build_menu),
590 (ev_navigation_action_finalize):
591 * shell/ev-navigation-action.h:
592 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
593 (ev_view_go_forward), (ev_view_get_find_status_message),
594 (history_index_changed_cb), (ev_view_set_history):
596 * shell/ev-window.c: (update_total_pages), (ev_window_open),
597 (update_current_page), (register_custom_actions):
599 Implement history dropdowns
601 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
603 * shell/ev-history.c: (ev_history_init), (ev_history_add_link):
604 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
605 (ev_view_go_forward):
606 * shell/ev-window.c: (register_custom_actions):
608 Fix several history bugs
610 2005-01-11 Kjartan Maraas <kmaraas@gnome.org>
612 * configure.ac: Add «nb» to ALL_LINGUAS.
614 2005-01-10 Marco Pesenti Gritti <marco@gnome.org>
616 * backend/Makefile.am:
617 * backend/ev-bookmark.c:
618 * backend/ev-bookmark.h:
619 * backend/ev-document-bookmarks.c:
620 * backend/ev-document-bookmarks.h:
621 * backend/ev-document-links.c: (ev_document_links_get_type),
622 (ev_document_links_has_document_links),
623 (ev_document_links_begin_read), (ev_document_links_get_link),
624 (ev_document_links_get_child), (ev_document_links_next),
625 (ev_document_links_free_iter):
626 * backend/ev-document-links.h:
627 * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_title),
628 (ev_link_set_title), (ev_link_get_uri), (ev_link_set_uri),
629 (ev_link_get_link_type), (ev_link_set_link_type),
630 (ev_link_get_page), (ev_link_set_page), (ev_link_get_property),
631 (ev_link_set_property), (ev_window_dispose), (ev_link_init),
632 (ev_link_class_init), (ev_link_new_title), (ev_link_new_page),
633 (ev_link_new_external):
635 * pdf/xpdf/pdf-document.cc:
637 * shell/ev-application.c: (ev_application_open_link):
638 * shell/ev-application.h:
639 * shell/ev-history.c: (ev_history_add_link), (ev_history_add_page),
640 (ev_history_get_link_nth):
641 * shell/ev-history.h:
642 * shell/ev-sidebar-bookmarks.c:
643 * shell/ev-sidebar-bookmarks.h:
644 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
645 (ev_sidebar_links_class_init), (selection_changed_cb),
646 (ev_sidebar_links_construct), (ev_sidebar_links_init),
647 (links_page_num_func), (ev_sidebar_links_new), (stack_data_free),
648 (do_one_iteration), (populate_links_idle),
649 (ev_sidebar_links_clear_document), (ev_sidebar_links_set_document):
650 * shell/ev-sidebar-links.h:
651 * shell/ev-sidebar.c: (ev_sidebar_set_document):
652 * shell/ev-view.c: (go_to_link), (ev_view_go_to_link),
655 * shell/ev-window.c: (ev_window_open_link), (ev_window_init):
658 Rename bookmark to link, and use "Index" for the sidebar panel.
660 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
663 * shell/ev-application.c: (ev_application_open_bookmark):
664 * shell/ev-application.h:
665 * shell/ev-history.c: (ev_history_init), (free_links_list),
666 (ev_history_finalize), (ev_history_class_init),
667 (ev_history_add_link), (ev_history_add_page),
668 (ev_history_get_link_nth), (ev_history_get_n_links),
669 (ev_history_get_current_index), (ev_history_set_current_index),
671 * shell/ev-history.h:
672 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
673 * shell/ev-view.c: (ev_view_finalize), (ev_view_set_document),
674 (set_document_page), (go_to_bookmark), (ev_view_go_to_bookmark),
675 (go_to_index), (ev_view_go_back), (ev_view_go_forward),
678 * shell/ev-window.c: (ev_window_open_bookmark),
679 (ev_window_cmd_go_back), (ev_window_cmd_go_forward),
680 (goto_page_cb), (register_custom_actions):
683 Initial history implementation. Needs work.
685 2005-01-09 Martin Kretzschmar <martink@gnome.org>
687 * pdf/xpdf/GDKSplashOutputDev.cc (redraw): fix pixbuf data offset.
689 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
691 * cut-n-paste/recent-files/egg-recent-item.c:
692 * cut-n-paste/recent-files/egg-recent-item.h:
693 * cut-n-paste/recent-files/egg-recent-model.c:
694 * cut-n-paste/recent-files/egg-recent-util.c:
695 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
696 * cut-n-paste/recent-files/egg-recent-view.c:
700 2005-01-08 Martin Kretzschmar <martink@gnome.org>
702 * pdf/splash/Splash.cc (clear, drawPixel, drawSpan, xorSpan, getPixel)
703 (fillGlyph, fillImageMask, drawImage):
704 pdf/splash/SplashBitmap.cc (SplashBitmap, ~SplashBitmap, writePNMFile):
705 pdf/splash/SplashTypes.h:
706 pdf/xpdf/SplashOutputDev (startPage, getColor, imageSrc): implement RGB8
707 packed mode for Splash.
709 * pdf/xpdf/GDKSplashOutputDev.cc (GDKSplashOutputDev, redraw): use
710 RGB8 packed mode, eliminates the pixbuf data creation loop.
712 * shell/ev-print-job.c (ev_print_job_finalize)
713 (ev_print_job_set_property, ev_print_job_get_property)
714 (ev_print_job_set_gnome_print_job, ev_print_job_set_document)
715 (ev_print_job_use_print_dialog_settings, idle_print_handler)
716 (print_closure_finalize, ev_print_job_print): implement
717 printing (for backends with EvPsExporter)
719 * shell/ev_print_job.h: update prototypes.
721 * shell/ev-window.c (ev_window_print): unref print job after
724 * shell/ev-view.c (ev_view_set_document): don't connect to "found"
725 unless the document implements the EvDocumentFind interface.
727 2005-01-08 Satoru SATOH <ss@gnome.gr.jp>
729 * configure.ac: Added ja to ALL_LINGUAS.
731 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
733 * pdf/xpdf/pdf-document.cc:
735 add a FIXME. We should probably not allocate
736 a bookmark object every time
738 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
740 * shell/ev-application.c: (ev_application_open),
741 (ev_application_open_bookmark):
742 * shell/ev-application.h:
744 Add a way to open bookmarks
746 * backend/ev-bookmark.c: (ev_bookmark_get_uri),
747 (ev_bookmark_set_uri), (ev_bookmark_get_property),
748 (ev_bookmark_set_property), (ev_bookmark_class_init),
749 (ev_bookmark_new_title), (ev_bookmark_new_link),
750 (ev_bookmark_new_external):
752 Support for external uris, better constructors.
754 * backend/ev-bookmark.h:
755 * pdf/xpdf/pdf-document.cc:
756 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
760 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
762 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb),
763 (ev_sidebar_bookmarks_construct), (do_one_iteration):
765 Hook up bookmarks navigation
767 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
769 * backend/Makefile.am:
770 * backend/ev-bookmark.c: (ev_bookmark_type_get_type),
771 (ev_bookmark_get_title), (ev_bookmark_set_title),
772 (ev_bookmark_get_bookmark_type), (ev_bookmark_set_bookmark_type),
773 (ev_bookmark_get_page), (ev_bookmark_set_page),
774 (ev_bookmark_get_property), (ev_bookmark_set_property),
775 (ev_window_dispose), (ev_bookmark_init), (ev_bookmark_class_init),
777 * backend/ev-bookmark.h:
778 * backend/ev-document-bookmarks.c:
779 (ev_document_bookmarks_get_bookmark):
780 * backend/ev-document-bookmarks.h:
781 * pdf/xpdf/pdf-document.cc:
782 * shell/ev-sidebar-bookmarks.c: (do_one_iteration):
784 Add a bookmark object to the backend and use it instead of get_values
786 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
788 * data/evince-ui.xml:
790 Cleanup and add select all.
792 * shell/ev-view.c: (ev_view_select_all),
793 (ev_view_button_press_event):
795 * shell/ev-window.c: (ev_window_cmd_edit_select_all):
798 Clear selection on click.
800 Fri Jan 7 01:28:58 2005 Jonathan Blandford <jrb@redhat.com>
802 * shell/ev-sidebar-thumbnails.c
803 (ev_sidebar_thumbnails_set_document): forgot to unref the
806 Fri Jan 7 01:22:48 2005 Jonathan Blandford <jrb@redhat.com>
808 * shell/ev-sidebar-thumbnails.c: fill in the thumbnails starting
809 at the visible page, not just linearly. This makes it look fast.
811 Thu Jan 6 18:48:11 2005 Jonathan Blandford <jrb@redhat.com>
813 * backend/ev-document-misc.c
814 (ev_document_misc_get_thumbnail_frame): fill in the thumbnail with
816 * backend/ev-document-thumbnails.h: New interface to get the size
819 2005-01-06 Jeremy Katz <katzj@redhat.com>
821 * shell/Makefile.am (evince_SOURCES): Add ev-utils.[ch] so that
824 Wed Jan 5 15:38:28 2005 Jonathan Blandford <jrb@redhat.com>
826 * pdf/xpdf/pdf-document.cc (bitmap_to_pixbuf): bypass
827 GDKSplashOutputDev and just use a normal SplashOutputDev. Speeds
830 * shell/ev-sidebar-thumbnail.c: start of some profiling code.
832 2005-01-05 Martin Kretzschmar <martink@gnome.org>
834 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): match only outline
835 fonts. Should fix font problems on systems that have the base
836 fonts in bitmap format. Reported by James Henstridge
837 <james@jamesh.id.au>.
839 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
842 * pdf/xpdf/GfxState.cc:
844 Fix for CAN-2004-1125
846 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
848 * shell/ev-view.c: (ev_view_copy):
850 * shell/ev-window.c: (ev_window_cmd_edit_copy):
854 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
856 * backend/ev-document.c: (ev_document_get_text):
857 * backend/ev-document.h:
858 * pdf/xpdf/pdf-document.cc:
859 * shell/ev-view.c: (ev_view_realize), (expose_bin_window),
860 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
861 (ev_view_update_primary_selection), (ev_view_button_press_event),
862 (ev_view_motion_notify_event), (ev_view_button_release_event):
864 Beginnings of clipboard support. Incomplete but primary sort
867 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
869 * shell/ev-view.c: (ev_gdk_color_to_rgb), (draw_rubberband),
872 Nicer rubberband drawing, from GtkIconView.
874 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
876 * backend/ev-document.c: (ev_document_save):
877 * backend/ev-document.h:
878 * data/evince-ui.xml:
879 * pdf/xpdf/pdf-document.cc:
880 * shell/ev-window.c: (save_error_dialog), (ev_window_cmd_save_as):
882 Implement "Save a copy..." menu item
884 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
886 * shell/ev-view.c: (ev_view_zoom):
888 Queue a resize when zoom changes
890 Wed Jan 5 02:33:06 2005 Jonathan Blandford <jrb@redhat.com>
892 * backend/ev-document-misc.[ch]: New misc file to do simple drop
895 * pdf/xpdf/pdf-document.cc: use the drop shadows in both types of
898 Tue Jan 4 22:32:32 2005 Jonathan Blandford <jrb@redhat.com>
900 * pdf/xpdf/pdf-document.cc
901 (pdf_document_thumbnails_get_page_pixbuf): poor man's dropshadow.
903 Tue Jan 4 21:25:05 2005 Jonathan Blandford <jrb@redhat.com>
905 * pdf/xpdf/pdf-document.cc: Do real thumbnailing of PDF files.
906 It's slow, but I'll speed it up next!
908 2005-01-04 Jeff Muizelaar <jrmuizel@nit.ca>
910 * shell/main.c (load_files):
912 use gnome_vfs_make_uri_from_shell_arg so that relative paths work
913 from the command line and because it seems more appropriate.
915 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
917 * data/evince-ui.xml:
918 * shell/ev-window.c: (update_action_sensitivity),
919 (ev_window_cmd_go_page_up), (ev_window_cmd_go_page_down):
921 s/next page/page down
922 s/previous page/page up
924 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
926 * data/evince-ui.xml:
928 Change the layout to match clarkbw design.
931 * shell/ev-navigation-action.c: (build_menu), (menu_activated_cb),
932 (set_tooltip_cb), (connect_proxy), (ev_navigation_action_init),
933 (ev_navigation_action_finalize),
934 (ev_navigation_action_set_property),
935 (ev_navigation_action_get_property),
936 (ev_navigation_action_class_init):
937 * shell/ev-navigation-action.h:
939 Implement clarkbw toolbar navigation controls (incomplete)
941 * shell/ev-page-action.c: (update_label), (update_spin),
942 (value_changed_cb), (create_tool_item), (connect_proxy),
943 (ev_page_action_init), (ev_page_action_finalize),
944 (ev_page_action_set_property), (ev_page_action_get_property),
945 (ev_page_action_set_current_page),
946 (ev_page_action_set_total_pages), (ev_page_action_class_init):
947 * shell/ev-page-action.h:
949 Implement a page switcher in the toolbar
951 * shell/ev-view.c: (ev_view_scroll_view):
952 * shell/ev-window.c: (update_total_pages), (ev_window_open),
953 (update_current_page), (view_page_changed_cb), (goto_page_cb),
954 (register_custom_actions), (ev_window_init):
956 Change page on PageUp/Down.
958 Tue Jan 4 03:22:56 2005 Jonathan Blandford <jrb@redhat.com>
960 * pdf/xpdf/pdf-document.cc
961 (pdf_document_thumbnails_get_thumbnail): initial stab at
962 implementing thumbnail support for pdfs. It only does documents
963 with precached pdfs now.
965 Mon Jan 3 17:22:25 2005 Jonathan Blandford <jrb@redhat.com>
967 * shell/ev-sidebar-thumbnails.c (do_one_iteration): move the
968 thumbnail code into a time-based idle as well. Also, turn off the
969 shadow temporarily as it's really slow.
971 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
973 * backend/ev-document.c: (ev_document_class_init):
974 * pdf/xpdf/pdf-document.cc:
975 * shell/ev-window.c: (ev_window_open):
977 Fix document title bugs and fallback to
978 filename when not available.
980 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
982 * backend/ev-document.c: (ev_document_get_type),
983 (ev_document_class_init), (ev_document_load),
984 (ev_document_get_title):
985 * backend/ev-document.h:
986 * pdf/xpdf/pdf-document.cc:
987 * ps/ps-document.c: (ps_document_set_property),
988 (ps_document_get_property), (ps_document_class_init),
992 * shell/ev-window.c: (update_window_title), (ev_window_open),
995 Initial support for document title. Not working yet.
997 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
999 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event):
1001 Grab focus on the view when clicking it
1003 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
1005 * shell/ev-marshal.list:
1006 * shell/ev-view.c: (ev_view_realize), (add_scroll_binding),
1007 (ev_view_scroll_view), (ev_view_class_init), (ev_view_init):
1009 Add key bindings to the view. Now if the focus would work
1012 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
1015 * backend/Makefile.am:
1018 * dvi/dvilib/Makefile.am:
1019 * pdf/xpdf/Makefile.am:
1025 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
1027 * shell/ev-view.c: (ev_view_realize):
1029 Fix mouse wheel scrolling
1031 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
1037 * ps/ps-document.c: (catchPipe), (ps_document_init),
1038 (ps_document_class_init), (ps_document_cleanup),
1039 (ps_document_finalize), (send_ps), (ps_document_get_orientation),
1040 (set_up_page), (close_pipe), (is_interpreter_ready),
1041 (interpreter_failed), (output), (input), (start_interpreter),
1042 (stop_interpreter), (file_length), (file_readable),
1043 (check_filecompressed), (check_pdf), (compute_xdpi),
1044 (compute_ydpi), (compute_size), (ps_document_enable_interpreter),
1045 (ps_document_get_type), (ps_document_emit_error_msg),
1046 (document_load), (ps_document_next_page),
1047 (ps_document_get_current_page), (ps_document_get_page_count),
1048 (ps_document_goto_page), (ps_document_set_page_size),
1049 (ps_document_zoom_to_fit), (ps_document_set_zoom),
1050 (ps_document_load), (ps_document_get_n_pages),
1051 (ps_document_set_page), (ps_document_get_page),
1052 (ps_document_widget_event), (ps_document_set_target),
1053 (ps_document_set_scale), (ps_document_set_page_offset),
1054 (ps_document_get_page_size), (ps_document_render),
1055 (ps_document_document_iface_init):
1058 * shell/ev-window.c: (ev_window_open):
1060 Rename GtkGS to PSDocument
1062 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
1064 * ps/gtkgs.c: (gtk_gs_class_init):
1067 Some more leftover...
1069 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
1071 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_get_orientation),
1072 (output), (stop_interpreter), (gtk_gs_emit_error_msg),
1073 (gtk_gs_zoom_to_fit), (gtk_gs_set_zoom):
1076 Remove unused code and make a lot of stuff private
1078 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
1080 * ps/gsdefaults.c: (gtk_gs_defaults_gconf_client),
1081 (gtk_gs_defaults_changed):
1087 Cleanup headers dependencies
1089 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
1094 * ps/gsdefaults.c: (gtk_gs_defaults_get_paper_sizes):
1096 * ps/gtkgs.c: (file_length), (file_readable),
1097 (check_filecompressed), (check_pdf), (gtk_gs_load),
1098 (gtk_gs_get_postscript):
1102 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
1107 * ps/gtkgs.c: (gtk_gs_set_zoom):
1111 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
1113 * ps/gtkgs.c: (gtk_gs_set_zoom), (gtk_gs_set_zoom_mode):
1115 Ensure the page is rerendered when changing zoom
1117 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
1119 * backend/ev-document.c: (ev_document_base_init),
1120 (ev_document_changed):
1121 * backend/ev-document.h:
1123 Add a changed event that is emitted when the page content
1124 changes. This is necessary to deal with the fact that
1125 in ps backend rendering happen asycrounously.
1126 This makes the ps backend mostly work.
1128 * pdf/xpdf/pdf-document.cc:
1132 * ps/gtkgs.c: (set_up_page), (gtk_gs_widget_event),
1133 (ps_document_set_target):
1137 * shell/ev-view.c: (document_changed_callback),
1138 (ev_view_set_document), (ev_view_set_page):
1140 Redraw on the changed signal
1142 2004-12-25 Raphael Higino <raphaelh@cvs.gnome.org>
1144 * configure.ac: Added pt_BR to ALL_LINGUAS.
1146 Fri Dec 24 00:48:44 2004 Jonathan Blandford <jrb@redhat.com>
1148 * backend/ev-document-bookmarks.c:
1149 (ev_document_bookmarks_get_child): *
1150 backend/ev-document-bookmarks.h: * pdf/xpdf/Makefile.am: *
1151 pdf/xpdf/pdf-document.cc: * pdf/xpdf/pdf-document.h: *
1152 shell/Makefile.am: * shell/ev-sidebar-bookmarks.c:
1153 (ev_sidebar_bookmarks_destroy),
1154 (ev_sidebar_bookmarks_class_init),
1155 (ev_sidebar_bookmarks_construct), (stack_data_free),
1156 (do_one_iteration), (populate_bookmarks_idle),
1157 (ev_sidebar_bookmarks_clear_document),
1158 (ev_sidebar_bookmarks_set_document): *
1159 shell/ev-sidebar-bookmarks.h: * shell/ev-sidebar.c:
1160 (ev_sidebar_add_page),
1161 (ev_sidebar_set_document): * shell/ev-window.c: (ev_window_open):
1162 Initial stab at a bookmarks sidebar. It doesn't navigate yet, but
1163 it displays both the topics and the page numbers.
1165 2004-12-23 Kristian Høgsberg <krh@redhat.com>
1167 * shell/ev-window.c (ev_window_view_sidebar_cb): Hook up sidebar
1169 * shell/ev-window.c (toggle_entries): Set sidebar default value to
1172 2004-12-23 Adam Weinberger <adamw@gnome.org>
1174 * configure.ac: Added en_CA to ALL_LINGUAS.
1176 2004-12-23 Martin Kretzschmar <martink@gnome.org>
1178 * ChangeLog: replace bottom of this ChangeLog (merged history of
1179 ggv and gpdf; where all paths were wrong and most of the files are
1180 not even in this tree) with ChangeLog (from arch) of the shell
1183 2004-12-23 Havoc Pennington <hp@redhat.com>
1185 * shell/ev-window.c: hook up potentially-questionable "find
1186 results status text" feature - something involving the sidebar or
1187 scrollbar or a continuous all-pages-on-giant-roll-of-paper-view
1188 might be better in the end.
1190 * shell/ev-view.c (ev_view_get_find_status_message): new function,
1191 with corresponding signal when it should be updated
1193 * shell/eggfindbar.c (egg_find_bar_set_status_text): new function
1195 2004-12-22 Havoc Pennington <hp@redhat.com>
1197 * pdf/xpdf/pdf-document.cc (pdf_document_find_begin): make search
1198 find stuff on other pages, sort of (only returns one result on
1199 invisible pages, to show they have results; updates full results
1200 for a page when you view it). Currently repaints the current page
1201 every time a new result is found on any page, which isn't so nice.
1203 2004-12-22 Havoc Pennington <hp@redhat.com>
1205 * shell/ev-window.c (ev_window_cmd_edit_find): display an error if
1206 the document doesn't support find (better ideas?)
1207 (find_bar_search_changed_cb): handle missing document or document
1208 that doesn't support find
1210 * pdf/xpdf/pdf-document.cc: port to implement the new
1213 * backend/ev-document-find.c: create a new interface for searching
1215 * backend/ev-document.h, backend/ev-document.c: delete the find stuff
1217 2004-12-23 Martin Kretzschmar <martink@gnome.org>
1219 * pdf/xpdf/Makefile.am (libpdfdocument_la_LIBADD): add
1222 * shell/ev-window.c (ev_window_print): add GnomePrintJob to
1223 EvPrintJob constructor arguments.
1225 * backend/ev-ps-exporter.c, backend/ev-ps-exporter.h: interface
1226 for documents that can export PostScript (page by page).
1228 * backend/Makefile.am (libevbackend_la_SOURCES): add them.
1230 * pdf/xpdf/pdf-document.cc (pdf_document_ps_export_begin)
1231 (pdf_document_ps_export_do_page, pdf_document_ps_export_end)
1232 (pdf_document_ps_exporter_iface_init:
1233 Implement EvPSExporter.
1235 * pdf/xpdf/Makefile.am (libxpdf_la_SOURCES): build PSOutputDev.
1237 2004-12-22 Anders Carlsson <andersca@gnome.org>
1239 * backend/Makefile.am:
1240 * backend/ev-document-thumbnails.c:
1241 (ev_document_thumbnails_get_type),
1242 (ev_document_thumbnails_get_thumbnail):
1243 * backend/ev-document-thumbnails.h:
1244 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
1245 (pixbuf_document_thumbnails_get_thumbnail),
1246 (pixbuf_document_document_thumbnails_iface_init):
1247 * shell/Makefile.am:
1248 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_destroy),
1249 (ev_sidebar_thumbnails_class_init), (ev_sidebar_thumbnails_init),
1250 (populate_thumbnails), (ev_sidebar_thumbnails_set_document):
1251 * shell/ev-sidebar-thumbnails.h:
1252 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
1253 (ev_sidebar_set_document):
1254 * shell/ev-utils.c: (gaussian), (create_blur_filter),
1255 (create_shadow), (ev_pixbuf_add_shadow):
1257 Add thumbnail support.
1259 2004-12-22 Martin Kretzschmar <martink@gnome.org>
1261 * shell/ev-window.c (ev_window_cmd_file_print, ev_window_print)
1262 (using_postscript_printer): Set up a print dialog for "PostScript
1265 * shell/ev-print-job.h, shell/ev-print-job.c: stub classes for
1268 * shell/Makefile.am (evince_SOURCES): add ev-print-job.[ch]
1270 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
1272 * ps/gtkgs.c: (gtk_gs_init), (set_up_page),
1273 (ps_document_set_target), (ps_document_get_page_size),
1274 (ps_document_render):
1279 2004-12-22 Christian Rose <menthos@menthos.com>
1281 * configure.ac: Added "sv" to ALL_LINGUAS.
1283 Wed Dec 22 14:47:38 2004 Jonathan Blandford <jrb@redhat.com>
1285 * backend/ev-document-bookmarks.[ch]: new interface to indicate
1286 document supports bookmarks.
1288 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
1290 * ps/ggvutils.c: (ggv_file_readable):
1292 * ps/gtkgs.c: (check_filecompressed), (check_pdf),
1293 (gtk_gs_get_postscript):
1297 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
1299 * ps/gtkgs.c: (gtk_gs_init), (gtk_gs_class_init), (gtk_gs_cleanup),
1300 (gtk_gs_finalize), (gtk_gs_set_center), (set_up_page), (output),
1301 (start_interpreter), (compute_size), (gtk_gs_enable_interpreter),
1302 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_reload),
1303 (gtk_gs_emit_error_msg), (gtk_gs_disable_interpreter),
1304 (gtk_gs_load), (gtk_gs_goto_page), (gtk_gs_set_page_size),
1305 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
1306 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
1307 (gtk_gs_set_antialiasing), (ps_document_load),
1308 (ps_document_render):
1311 Another check point for the ps backend. Now I can get it to show
1314 Wed Dec 22 13:41:01 2004 Jonathan Blandford <jrb@redhat.com>
1316 * shell/ev-sidebar.c (ev_sidebar_set_document): initial sidebar
1317 document setting code.
1319 2004-12-22 Anders Carlsson <andersca@gnome.org>
1321 * shell/eggfindbar.c: (entry_activate_callback):
1322 Animate the next button when activate is pressed.
1324 2004-12-22 Anders Carlsson <andersca@gnome.org>
1326 * shell/ev-window.c: (ev_window_cmd_edit_find),
1327 (update_fullscreen_popup), (ev_window_fullscreen),
1328 (ev_window_unfullscreen), (ev_window_state_event_cb),
1329 (ev_window_focus_out_cb), (find_bar_close_cb), (ev_window_init):
1330 Fix bugs in fullscreen code.
1332 2004-12-22 Anders Carlsson <andersca@gnome.org>
1336 * pixbuf/Makefile.am:
1337 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
1338 (pixbuf_document_load), (pixbuf_document_get_n_pages),
1339 (pixbuf_document_set_page), (pixbuf_document_get_page),
1340 (pixbuf_document_set_target), (pixbuf_document_set_scale),
1341 (pixbuf_document_set_page_offset), (pixbuf_document_get_page_size),
1342 (pixbuf_document_render), (pixbuf_document_begin_find),
1343 (pixbuf_document_end_find), (pixbuf_document_finalize),
1344 (pixbuf_document_class_init),
1345 (pixbuf_document_document_iface_init), (pixbuf_document_init):
1346 * pixbuf/pixbuf-document.h:
1347 * shell/Makefile.am:
1348 * shell/ev-application.c: (ev_application_open):
1349 * shell/ev-window.c: (mime_type_supported_by_gdk_pixbuf),
1353 Tue Dec 21 21:45:43 2004 Soeren Sandmann <sandmann@redhat.com>
1356 * dvi/dvilib/Makefile.am:
1358 * configure.ac: Auto*ify dvi and dvi/dvilib
1360 * dvi/Makefile: Remove from CVS
1362 * dvi/dvilib/dl-pkfont.cc (unpack_bitmap): Fix uchar/uint
1365 * dvi/dvilib/dl-fontdefinition.{cc,hh}: New DviFontMap class
1367 * dvi/dvilib/dl-vffont.{cc,hh}: Many bugfixes to VF code.
1369 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
1372 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_finalize),
1373 (gtk_gs_value_adjustment_changed), (compute_size),
1374 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_new_from_file),
1375 (gtk_gs_center_page), (gtk_gs_load), (gtk_gs_set_page_size),
1376 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
1377 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
1378 (gtk_gs_start_scroll), (gtk_gs_get_postscript),
1379 (gtk_gs_set_adjustments), (gtk_gs_set_available_size),
1380 (ps_document_load), (ps_document_get_n_pages),
1381 (ps_document_set_page), (ps_document_get_page),
1382 (ps_document_set_target), (ps_document_set_scale),
1383 (ps_document_set_page_offset), (ps_document_get_page_size),
1384 (ps_document_render), (ps_document_begin_find),
1385 (ps_document_end_find), (ps_document_document_iface_init):
1387 * shell/Makefile.am:
1388 * shell/ev-window.c: (ev_window_open):
1390 Some work to integrate gtkgs with EvDocument
1392 2004-12-22 Anders Carlsson <andersca@gnome.org>
1394 * shell/ev-window.c: (update_fullscreen_popup),
1395 (screen_size_changed_cb), (destroy_exit_fullscreen_popup),
1396 (exit_fullscreen_button_clicked_cb),
1397 (fullscreen_popup_size_request_cb), (ev_window_fullscreen),
1398 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
1399 (ev_window_state_event_cb), (ev_window_init):
1400 Add fullscreen support from Epiphany.
1402 2004-12-22 Mark McLoughlin <mark@skynet.ie>
1404 * data/ev-stock-zoom-fit-width.png: fit-width
1405 stock icon from gpdf.
1407 * shell/ev-stock-icons.[ch]: copied from gpdf.
1409 * shell/main.c: (main): init stock icons.
1411 * shell/ev-window.c: use the fit-width icon.
1413 * data/evince-ui.xml: add zooming toolbar items.
1415 2004-12-22 Mark McLoughlin <mark@skynet.ie>
1418 (ev_view_best_fit), (ev_view_fit_width): because
1419 get_page_size() returns the scaled page size, we
1420 need to calculate the scale factor relative to
1421 the previous scale factor. Should really just
1422 add get_real_page_size().
1424 2004-12-22 Mark McLoughlin <mark@skynet.ie>
1426 * shell/ev-view.[ch]:
1427 (ev_view_zoom), (ev_view_zoom_in), (ev_view_zoom_out),
1428 (ev_view_normal_size), (ev_view_best_fit), (ev_view_fit_width):
1431 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
1432 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_normal_size),
1433 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width):
1436 * pdf/xpdf/pdf-document.cc:
1437 (pdf_document_begin_find),
1438 (pdf_document_end_find): make static.
1440 2004-12-22 Martin Kretzschmar <martink@gnome.org>
1442 * pdf/xpdf/GlobalParams.h (setupBaseFontsFc): add prototype.
1444 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): maps base font
1445 names to fontconfig patterns.
1446 (setupBaseFontsFc): setupBaseFonts reimplemented using fontconfig.
1448 * pdf/xpdf/pdf-document.cc (pdf_document_load): use
1451 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
1467 Import ggv backend. Not hooked up yet.
1469 2004-12-22 Mark McLoughlin <mark@skynet.ie>
1471 * shell/main.c: (load_files), (main): load files
1472 from the command line.
1474 2004-12-22 Mark McLoughlin <mark@skynet.ie>
1476 * configure.ac: don't require bonobo.
1478 * cut-n-paste/recent-files/*: kill bonobo recent
1481 * shell/ev-window.c:
1482 (ev_window_is_empty): upd.
1483 (unable_to_load), (ev_window_open): load backend
1484 based on the mime type.
1486 2004-12-22 Martin Kretzschmar <martink@gnome.org>
1488 * backend/.cvsignore: ignore generated marshalers source.
1490 * shell/main.c (main): this is not epiphany.
1492 2004-12-22 Havoc Pennington <hp@redhat.com>
1494 * shell/ev-view.c (ev_view_set_document): connect to "found" signal
1495 (expose_bin_window): draw find highlights
1497 * shell/ev-window.c (find_bar_search_changed_cb): implement
1499 * pdf/xpdf/pdf-document.cc (pdf_document_begin_find)
1500 (pdf_document_end_find): implement this interface
1502 * backend/ev-document.c (ev_document_found): add this to emit
1505 Tue Dec 21 23:57:37 2004 Owen Taylor <otaylor@redhat.com>
1507 * data/evince-ui.xml: Add a few more toolbar items.
1509 * shell/ev-window.c: Hook up page navigation toolbar
1512 * shell/ev-view.[ch]: add ev_view_set/get_page and
1513 a page-changed signal.
1515 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc::
1516 Add ev_document_get_page().
1518 * shell/ev-window.c: Sensitize/desensitize navigation
1521 2004-12-21 Havoc Pennington <hp@redhat.com>
1523 * backend/ev-backend-marshal.c,
1524 backend/ev-backend-marshalers.list, backend/Makefile.am: add
1525 marshaler-generator thingy. I'm sure there's a better way to do
1526 this in the modern world.
1528 * backend/ev-document.h (struct _EvDocumentIface): add begin_find,
1529 end_find methods and "found" signal.
1531 * configure.ac: find glib-genmarshal
1533 Tue Dec 21 23:20:35 2004 Jonathan Blandford <jrb@redhat.com>
1535 * shell/ev-sidebar.c: Construct an actual sidebar.
1536 * shell/ev-sidebar-bookmarks.[ch]:
1537 * shell/ev-sidebar-thumbnails.[ch]: Stub out sidebars.
1539 Tue Dec 21 23:05:51 2004 Owen Taylor <otaylor@redhat.com>
1541 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc:
1544 * shell/ev-view.c: Track the size from the document.
1546 Tue Dec 21 22:17:04 2004 Owen Taylor <otaylor@redhat.com>
1548 * pdf/xpdf/pdf-document.cc (pdf_document_load): PDFDoc
1549 constructor assumes ownership of the string passed in.
1551 * shell/ev-window.c (ev_window_open): Destroy the error
1552 dialog once we've displayed it.
1554 Tue Dec 21 21:58:56 2004 Owen Taylor <otaylor@redhat.com>
1556 * pdf/xpdf/pdf-document.cc shell/ev-view.c: Hook things up
1557 a bit, it works! (sort of)
1559 * pdf/xpdf/Makefile.am pdf/xpdf/pdf-document.cc:
1560 Move to .cc since we need to use C++ in the implementation.
1562 * shell/dummy.cc: Add a CC file to force evince
1563 to be linked as a C++ program.
1565 Tue Dec 21 21:07:55 2004 Owen Taylor <otaylor@redhat.com>
1567 * shell/ev-view.[ch]: Start of content-area widget.
1569 * shell/ev-window.c: Create a EvView, update it
1570 as we change documents.
1572 * shell/Makefile.am shell/ev-marshal.list: Add
1573 generated marshalers.
1575 Tue Dec 21 20:28:11 2004 Jonathan Blandford <jrb@redhat.com>
1577 * Makefile.am (SUBDIRS): move shell.
1579 Tue Dec 21 19:28:55 2004 Owen Taylor <otaylor@redhat.com>
1581 * pdf/{goo,fofi,splash,xpdf}/Makefile.am: Switch from
1582 .a to libtool convenience libraries.
1584 * shell/ev-window.c (ev_window_open): Hard code loading
1587 * backend/ev-document.h: Add a boolean return to load(),
1588 fix GError * to GError **.
1590 * pdf/xpdf/pdf-document.[ch] Makefile.am: Add a stub
1591 object for a PDF backend EvDocument.
1593 Tue Dec 21 18:55:06 2004 Søren Sandmann <sandmann@redhat.com>
1595 * dvi/*: New directory with the beginning of a .dvi backend.
1597 2004-12-21 Havoc Pennington <hp@redhat.com>
1599 * shell/eggfindbar.c (egg_find_bar_init): change buttons to
1600 previous/next instead of back/forward
1602 Tue Dec 21 18:26:24 2004 Owen Taylor <otaylor@redhat.com>
1604 * backend/ev-document.[ch]: Fix a couple of problems so
1607 Tue Dec 21 18:20:40 2004 Owen Taylor <otaylor@redhat.com>
1609 * viewer/* backend/* configure.ac Makefile.am: Move viewer directory
1610 to backend/ directory, rename EvViewer to EvDocument.
1612 2004-12-21 Havoc Pennington <hp@redhat.com>
1614 * shell/ev-window.c: hook up the find bar widget; now we just need
1615 a document to find things in
1617 * shell/eggfindbar.c: a find bar widget
1619 Tue Dec 21 17:20:16 2004 Jonathan Blandford <jrb@redhat.com>
1621 * shell/ev-sidebar.[ch]: initial sidebar boilerplate.
1623 Tue Dec 21 16:30:58 2004 Owen Taylor <otaylor@redhat.com>
1625 * pdf/**: Import of xpdf code from gpdf.
1627 * pdf/xpdf/xpdfconfig.h: Move the non-config.h config.h to xpdfconfig.h
1629 * pdf/splash/SplashFTFont.{cc,h} pdf/splash/SplashFTFont.h
1630 pdf/splash/SplashFTFontEngine.h pdf/splash/SplashFTFontFile.h:
1631 Fix FreeType includes.
1633 * pdf/xpdf/{Error.h GnomeVFSStream.cc ImageOutputDev.cc PDFDoc.cc\
1634 pdffonts.cc pdfimages.cc pdfinfo.cc pdftoppm.cc pdftops.cc
1635 pdftotext.cc PSOutputDev.cc PSOutputDev.h SplashOutputDev.h
1636 Stream.cc TextOutputDev.cc XPDFApp.cc xpdf.cc XPDFViewer.cc
1637 pdf/xpdf/Error.h PSOutputDev.h SplashOutputDev.h}:
1638 Include xpdfconfig.h
1640 Tue Dec 21 16:08:17 2004 Jonathan Blandford <jrb@redhat.com>
1642 * shell/ev-window.c (ev_window_dispose): dispose can be called
1645 2004-12-21 Havoc Pennington <hp@redhat.com>
1647 * shell/ev-window.c (ev_window_init): set title to Document Viewer
1650 * data/evince-ui.xml, shell/ev-window.c: add a bunch of stub menu
1651 items; really they should be synced with the strings, etc. from
1652 current gpdf, but just getting the boring typing out of the way
1654 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
1657 * shell/ev-application.c: (window_destroy_cb):
1658 * shell/ev-window.c:
1659 * shell/main.c: (main):
1661 Actually show the window...
1663 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
1666 * shell/Makefile.am:
1667 * shell/ev-application.c: (ev_application_class_init):
1668 * shell/ev-window.c: (ev_window_dispose), (ev_window_class_init):
1672 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
1674 Import to gnome cvs.
1676 * Remove copies of gpdf and ggv trees.
1677 * Rip out all the recursive configure code.
1678 * Remove bonobo machinery.
1679 * viewer/*: GInterfaces that backends should/can implement.
1681 2004-11-09 Martin Kretzschmar <m_kretzschmar@gmx.net>
1683 * shell/ev-window.c (ev_window_cmd_help_about): fix "documentors"
1686 2004-10-28 Martin Kretzschmar <m_kretzschmar@gmx.net>
1688 * shell/ev-application.c (EV_APPLICATION_GET_PRIVATE)
1689 (ev_application_finalize, ev_application_class_init)
1690 (ev_application_init): use GType instance private data for priv.
1692 * shell/ev-window.c (EV_WINDOW_GET_PRIVATE)
1693 (ev_window_finalize, ev_window_class_init)
1694 (ev_window_init): ditto.
1696 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
1698 * shell/ev-application.c (ev_application_new_window): make public
1699 (ev_application_show_initial_window): kill.
1701 * shell/ev-application.h: update prototypes.
1703 * shell/main.cc (main): inline ev_application_show_initial_window.
1705 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
1707 * shell/ev-application.c (ev_application_new_window): impl.
1708 (ev_application_show_initial_window): use it.
1709 (is_window_empty, ev_application_get_empty_window): returns an
1710 existing empty window or a new one.
1711 (ev_application_open): from ev_window_cmd_file_open.
1713 * shell/ev-application.h: update prototypes
1715 * shell/ev-window.c (ev_window_is_empty): impl.
1716 (ev_window_open): make public.
1717 (ev_window_cmd_file_open): use ev_application_open
1719 * shell/ev-window.h: update prototypes, remove unused.
1721 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
1723 * shell/ev-window.c (ev_window_destroy, ev_window_class_init):
1724 move destroy handler out of here...
1726 * shell/ev-application.c, shell/ev-application.h: ...into this new
1727 class. Also handles initial window creation.
1729 * shell/main.cc (main): use EvApplication to create initial
1732 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
1734 * Makefile.am (SUBDIRS): add cut-n-paste
1736 * cut-n-paste/Makefile.am: add
1738 * configure.ac: generate Makefiles in cut-n-paste
1740 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
1742 * shell/ev-window.c (ev_window_dispose): new, unref the ui_manager
1743 (ev_window_class_init): install ev_window_dispose.
1745 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
1747 * shell/ev-window.h, shell/ev-window.c: replace gchar with
1748 char (gchar looks stupid).
1750 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
1752 * po/de.po: updated German translation.
1754 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
1756 * configure.ac: add more pkg-config library checks for gnome-vfs,
1759 * gpdf/configure.in: temporarily disable libpaper
1760 checks. Otherwise I'd have to add the checks for the shell, too.
1762 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1764 * shell/ev-window.c (ev_window_cmd_file_open): add ps+pdf, ps, pdf
1765 and * file filters to the file choose.
1767 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1769 * po/de.po: Updated German translation.
1771 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1773 * shell/ev-window.c: use "S" as mnemonic for Statusbar.
1775 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1777 * data/evince-ui.xml: add View->Toolbar and View->Statusbar.
1779 * shell/ev-window.c (menu_item_select_cb, menu_item_select_cb)
1780 (ev_window_init): implement those menuitems.
1782 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1784 * data/evince-ui.xml: add a toolbar (with FileOpen action)
1786 * shell/ev-window.c (ev_window_init): use the toolbar.
1788 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1790 * shell/ev-window.c (ev_window_init): use menu translations
1792 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1794 * configure.ac: add "de" to ALL_LINGUAS.
1796 * po/de.po: add German translation.
1798 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1800 * Makefile.am (SUBDIRS): add po
1802 * configure.ac: check intltool, glib-gettext etc, generate
1805 * po, po/POTFILES.in, po/POTFILES.skip: new.
1807 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1809 * shell/Makefile.am (INCLUDES): define GNOMELOCALEDIR which we
1810 already use (#ifdef ENABLE_NLS)
1812 * shell/ev-window.c (ev_window_cmd_help_about): fix two star
1813 pointer indirection thinko.
1815 * shell/main.c: include gi18n.h for bindtextdomain etc.
1817 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1819 * shell/ev-window.c (menu_item_select_cb, menu_item_deselect_cb)
1820 (connect_proxy_cb, disconnect_proxy_cb, ev_window_init): show
1821 tooltips for menu items in the statusbar.
1823 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1825 * configure.ac, data/Makefile.am, shell/Makefile.am: use
1826 pkgdatadir drop UIDIR
1828 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1830 * data/evince-ui.xml: Add File->Open menu item
1832 * shell/ev-window.c (ev_window_cmd_file_open): impl. (shows a file
1833 chooser), hook it up in the ui manager.
1835 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1837 * shell/ev-window.c: fix Help->About tooltip.
1839 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1841 * configure.ac: set CFLAGS for libevprivate.
1843 * lib/ev-stock-icons.h, lib/ev-stock-icons.c: stock icon
1844 definitions, factory etc.
1846 * lib/Makefile.am: build libevprivate.a (only stock icon code).
1848 * shell/Makefile.am: link against libevprivate.a.
1850 * shell/ev-window.c (entries): add stock icon to Help->About.
1852 * shell/main.c (main): init stock icon code.
1854 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1856 * lib/recent-files: egg recent files code
1858 * lib/Makefile.am: add.
1860 * Makefile.am: add lib subdir.
1862 * configure.ac: gen. lib/Makefile and lib/recent-files/Makefile,
1863 set CFLAGS for recent-files.
1865 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1867 * configure.ac: disable -ansi and -pedantic gcc flags. They
1868 disable POSIX stuff in stdio.h, but egg-recent uses them.
1870 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1872 * configure.ac: add --disable-deprecated flag (defaults to on in
1875 * shell/Makefile.am (INCLUDES): use it.
1877 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1879 * shell/main.c: add missing #include.
1881 * shell/ev-window.c: fix for pedantic gcc.
1882 (ev_window_cmd_help_about): split license into paragraphs for
1883 translators and pedantic compilers.
1885 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1887 * configure.ac: add more warning flags if compiling with gcc from
1888 cvs (or explicitly requested with --enable-more-warnings).
1890 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1892 * data/evince-ui.xml: add File and File->Close menu.
1894 * shell/ev-window.c (ev_window_cmd_file_close_window): impl.
1895 (ev_window_destroy): quit after destroy.
1896 (ev_window_class_init): override GtkObject::destroy.
1897 (entries): install close_window callback.
1899 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1901 * Makefile.am (SUBDIRS): add data subdir.
1903 * configure.ac (UIDIR): gen data/Makefile, define UIDIR. Require
1904 gtk+ 2.5.0 for GtkAboutDialog.
1906 * data/Makefile.am, data/evince-ui.xml: add, ui definition for the
1909 * shell/Makefile.am (INCLUDES): propagate UIDIR definition.
1911 * shell/ev-window.c (ev_window_init): create a menubar, using a ui
1913 (ev_window_cmd_help_about): about command, using GtkAboutDialog.
1915 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1917 * shell/ev-window.c, shell/ev-window.h: Created an EvWindow class.
1919 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
1921 * shell/main.c: make it a trivial gtk+ program, adjust configure.ac
1923 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
1925 * shell/*: Added shell directory boilerplate, build it.
1927 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
1929 * configure.ac, Makefile.am: Added top-level configure.ac and