1 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
7 Add another check for find interface
11 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
13 * shell/ev-application.c: (ev_application_open):
14 * shell/ev-window.c: (ev_window_open):
16 Open gzipped ps documents
18 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
21 * shell/ev-view.c: (set_document_page):
23 Clamp page number, dont try to move to
26 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
28 * backend/ev-document-find.c: (ev_document_find_changed):
29 * backend/ev-document-find.h:
30 * pdf/xpdf/pdf-document.cc:
31 * shell/ev-view.c: (jump_to_find_result), (ev_view_set_document):
32 * shell/ev-window.c: (find_bar_search_changed_cb):
34 Fix several bugs with find
36 2005-02-04 Martin Kretzschmar <martink@gnome.org>
38 * shell/ev-sidebar-thumbnails.c
39 (ev_sidebar_thumbnails_select_page): do nothing unless we have a
40 document. Prevents warning from scroll_to_cell.
42 2005-02-02 Kjartan Maraas <kmaraas@gnome.org>
44 * configure.ac: Add «nb» to ALL_LINGUAS too.
46 Wed Feb 2 21:13:11 2005 Jonathan Blandford <jrb@redhat.com>
48 * NOTES: New file with some random thoughts.
52 * backend/ev-document-misc.c:
53 (ev_document_misc_get_page_border_size): New function to
54 canonicalize shadow drawing sizes. Possibly goofy.
56 * shell/ev-view.c: (ev_view_size_request), (set_document_page),
57 (ev_view_best_fit), (ev_view_fit_width):
58 * pdf/xpdf/pdf-document.cc:
59 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
60 * ps/ps-document.c: (ps_document_get_page_size):
61 * backend/ev-document-misc.h:
62 * backend/ev-document.c: (ev_document_get_page_size):
63 * backend/ev-document.h: get_page_size now takes a page number
64 parameter. Made all the backends/frontends honor it.
66 * data/evince-ui.xml: Added a multiple-page mode. Uncomment to
67 see. Doesn't work yet.
70 * shell/ev-page-view.[ch]: New multi-page view. Really rough.
71 Doesn't do anything yet.
73 * shell/ev-sidebar-thumbnails.c:
74 (ev_sidebar_thumbnails_set_document): [1..n_pages] instead of
77 * shell/ev-window.c: (update_action_sensitivity),
78 (ev_window_setup_document), (ev_window_set_page_mode),
79 (ev_window_page_mode_cb), (ev_window_init): Clean up the
80 view-swapping code a bit so we can have multiple views on a
81 document. Add the multi-page view, though it can't be turned on
84 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
86 * shell/ev-application.c: (ev_application_open):
87 * shell/ev-view.c: (expose_bin_window):
88 * shell/ev-window.c: (ev_window_open):
90 Support eps and check document supports find
91 before drawing highlightings in expose.
93 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
95 * pixbuf/pixbuf-document.c:
96 (pixbuf_document_thumbnails_get_dimensions),
97 (pixbuf_document_document_thumbnails_iface_init):
99 implement get_dimensions
101 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
108 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
110 * shell/ev-view.c: (set_document_page):
112 Scroll at the top of the page when changing page
114 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
116 * shell/ev-view.c: (ev_view_motion_notify_event):
118 Do not redraw unnecessarily
120 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
122 * pdf/xpdf/pdf-document.cc:
123 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
124 (expose_bin_window), (find_changed_cb):
126 Yay! find works now... Now to find bugs...
128 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
130 * backend/ev-document-find.c: (ev_document_find_base_init),
131 (ev_document_find_changed):
132 * backend/ev-document-find.h:
133 * pdf/xpdf/pdf-document.cc:
134 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
135 (expose_bin_window), (ev_view_init), (set_document_page),
136 (ensure_rectangle_is_visible), (jump_to_find_result),
137 (jump_to_find_page), (find_changed_cb), (ev_view_set_document),
138 (ev_view_find_next), (ev_view_find_previous):
140 * shell/ev-window.c: (find_bar_previous_cb), (find_bar_next_cb):
142 More work on find implementation, mostly there now
144 2005-01-29 Marco Pesenti Gritti <marco@gnome.org>
146 * backend/ev-backend-marshalers.list:
147 * backend/ev-document-find.c: (ev_document_find_base_init),
148 (ev_document_find_cancel), (ev_document_find_page_has_results),
149 (ev_document_find_get_n_results), (ev_document_find_get_result),
150 (ev_document_find_get_progress), (ev_document_find_changed):
151 * backend/ev-document-find.h:
153 Enanche the find interface to be really able to do
156 * pdf/xpdf/pdf-document.cc:
160 * shell/ev-view.c: (ev_view_finalize), (highlight_find_results),
161 (expose_bin_window), (ev_view_init),
162 (ev_view_get_find_status_message), (find_changed_cb),
163 (ev_view_set_document), (set_document_page):
165 Adapt to the new interface. A few things are regressed sorry,
166 I will finish it soon.
168 2005-01-28 Martin Kretzschmar <martink@gnome.org>
170 * shell/ev-sidebar-thumbnails.c (ev_sidebar_thumbnails_destroy)
171 (ev_sidebar_thumbnails_class_init): use G_DEFINE_TYPE-supplied
172 ev_sidebar_thumbnails_parent_class variable, don't define another
173 parent_class variable.
175 * shell/ev-page-action.c (connect_proxy, ev_page_action_finalize)
176 (ev_page_action_class_init): ditto.
178 * pixbuf/pixbuf-document.c (pixbuf_document_finalize)
179 (pixbuf_document_class_init): ditto.
181 * backend/ev-link.c (ev_window_dispose, ev_link_class_init):
184 * .cvsignore: ignore various valgrind output files.
186 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
188 * data/evince-ui.xml:
190 * shell/ev-history.c:
191 * shell/ev-history.h:
192 * shell/ev-navigation-action.c:
193 * shell/ev-navigation-action.h:
194 * shell/ev-view.c: (ev_view_finalize), (ev_view_go_to_link),
195 (ev_view_set_page), (ev_view_fit_width):
197 * shell/ev-window.c: (update_action_sensitivity),
198 (ev_window_setup_document), (register_custom_actions):
202 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
204 * shell/ev-window.c: (update_action_sensitivity):
206 Fix inverted up/down buttons
208 2005-01-27 Martin Kretzschmar <martink@gnome.org>
210 * shell/ev-sidebar-thumbnails.c
211 (ev_sidebar_thumbnails_select_page): make sure the selected
212 thumbnail stays visible.
214 2005-01-26 Martin Kretzschmar <martink@gnome.org>
216 * shell/ev-window.c (ev_window_init): add GTK_SHADOW_IN to the
217 scrolled window for Federico.
219 2005-01-26 Ole Laursen <olau@hardworking.dk>
221 * configure.ac: Added "da" (Danish) to ALL_LINGUAS.
223 2005-01-26 Marco Pesenti Gritti <marco@gnome.org>
226 * pdf/splash/SplashFTFontEngine.cc:
228 Fix CID fonts with freetype 2.1.9
230 2005-01-26 Bryan Clark <clarkbw@cvs.gnome.org>
232 * TODO: added item for desktop icon thumbnailer
234 Tue Jan 25 00:59:34 2005 Jonathan Blandford <jrb@redhat.com>
236 * pdf/xpdf/pdf-document.cc (pdf_document_get_title): guard against
237 unloaded docs when the title is accessed.
239 * shell/ev-password-view.[hc]: New widget for displaying password
242 * shell/ev-window.[ch]: Refactor password handling code to handle
245 2005-01-24 Marco Pesenti Gritti <marco@gnome.org>
253 2005-01-23 Stephane LOEUILLET <stephane.loeuillet@tiscali.fr>
255 * pdf/xpdf/pdf-document.cc (pdf_document_search_page_changed):
256 ignore page offset here, to make search results independent of it,
258 * shell/ev-view.c (expose_bin_window): but take offsets into
259 account here. Bug #164932
261 * pdf/xpdf/pdf-document.cc (pdf_document_get_link): divide by
262 scale at the right time. Bug #164996
264 2005-01-22 Martin Kretzschmar <martink@gnome.org>
266 * pdf/xpdf/GlobalParams.cc: My 2005-01-05 change didn't actually
267 fix the problem. Now I just removed the Adobe font names and hope
268 that the URW fonts are always in outline format. Bug #164934
270 * shell/ev-window.c (update_window_title): empty titles are
271 useless, use filename in that case too.
273 * NEWS: Add some content.
275 2005-01-21 Bryan Clark <clarkbw@cvs.gnome.org>
277 * TODO: added one more TODO item and a TODONE section :)
279 2005-01-21 Martin Kretzschmar <martink@gnome.org>
281 * ps/ps-document.h: add page_[xy]_offset fields.
283 * ps/ps-document.c (ps_document_set_page_offset)
284 (ps_document_render): Keep offset in consideration in a few
285 places. Bug #164752 "postscript documents are not centered in
288 * data/evince.desktop.in (X-GNOME-Bugzilla-Product):
289 s/gpdf/evince/. Spotted by Stephane Loeuillet.
291 * pixbuf/pixbuf-document.c (pixbuf_document_get_n_pages)
292 (pixbuf_document_get_text, pixbuf_document_document_iface_init):
293 stub out missing methods for complete EvDocument implementation.
294 Fixes segfaults with Save A Copy and Copy actions.
296 * ps/ps-document.c (ps_document_save, ps_document_get_text)
297 (ps_document_document_iface_init): ditto.
299 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
303 * data/evince.desktop.in:
307 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
309 * shell/ev-view.c: (ev_view_button_press_event),
310 (ev_view_motion_notify_event):
312 Make selection work in any direction
314 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
317 * shell/ev-window.c: (set_short_labels), (ev_window_init):
319 Use shorter labels for some of the toolbars items
321 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
323 * pdf/xpdf/pdf-document.cc:
325 Check the links info is initialized before
326 using it. Should fix a crash on startup.
328 2005-01-21 Martin Kretzschmar <martink@gnome.org>
330 * pixbuf/pixbuf-document.c
331 (pixbuf_document_thumbnails_get_dimensions): force floating point
332 division to calculate page_ratio. Fixes crash with landscape
335 Thu Jan 20 18:56:35 2005 Jonathan Blandford <jrb@redhat.com>
337 * shell/ev-view.c (ev_view_realize): make the bg color darker.
339 2005-01-20 Martin Kretzschmar <martink@gnome.org>
341 * shell/ev-view.c (set_document_page): unset has_selection when
343 (set_document_page): handle paper size changes when the page
344 changes (test with Free Culture, page 2).
346 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
348 * shell/ev-view.c: (ev_view_size_request), (ev_view_realize),
349 (expose_bin_window), (ev_view_class_init), (ev_view_init):
351 Use normal style color for the widget background and
352 draw a black box around the page.
354 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
356 * pdf/xpdf/pdf-document.cc:
358 Keep offset in consideration in a few places
360 * shell/ev-view.c: (expose_bin_window):
362 Set the offsets so that the document is ever centered
364 2005-01-20 Bryan Clark <clarkbw@cvs.gnome.org>
366 * TODO: Added TODO items and finished off the first todo item
368 * AUTHORS: Updated AUTHORS section with piece from gpdf file and
369 reflect current authors
371 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
373 * pdf/xpdf/pdf-document.cc:
374 * shell/ev-view.c: (ev_view_set_cursor),
375 (ev_view_motion_notify_event), (document_changed_callback),
378 Show a wait cursor while the page is rendering
380 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
382 * shell/ev-sidebar-thumbnails.c:
383 (ev_sidebar_tree_selection_changed),
384 (ev_sidebar_thumbnails_select_page):
385 * shell/ev-sidebar-thumbnails.h:
386 * shell/ev-view.c: (ev_view_set_document), (ev_view_can_go_back),
387 (ev_view_can_go_forward):
388 * shell/ev-window.c: (ev_window_open_page),
389 (ev_window_setup_document), (update_current_page),
390 (view_page_changed_cb), (ev_window_init):
393 Ensure thumbnails selection, toolbar page control and
394 current page are in sync.
396 2005-01-19 Marco Pesenti Gritti <marco@gnome.org>
402 Wed Jan 19 01:10:57 2005 Jonathan Blandford <jrb@redhat.com>
404 * backend/Makefile.am:
405 * backend/ev-document-links.h:
406 * backend/ev-document-security.c: (ev_document_security_get_type),
407 (ev_document_security_has_document_security),
408 (ev_document_security_set_password):
409 * backend/ev-document-security.h:
410 * backend/ev-document.c: (ev_document_error_quark):
411 * backend/ev-document.h:
413 * data/evince-password.glade:
414 * pdf/xpdf/pdf-document.cc:
416 * shell/ev-password.c: (ev_password_set_bad_password_label),
417 (ev_window_password_entry_changed_cb), (ev_password_dialog_new),
418 (ev_password_dialog_get_password),
419 (ev_password_dialog_set_bad_pass):
420 * shell/ev-password.h:
421 * shell/ev-window.c: (ev_window_get_attribute),
422 (ev_window_set_property), (update_action_sensitivity),
423 (ev_window_is_empty), (mime_type_supported_by_gdk_pixbuf),
424 (ev_window_setup_document), (ev_window_get_password),
425 (ev_window_open), (ev_window_cmd_save_as),
426 (using_postscript_printer), (ev_window_print),
427 (find_not_supported_dialog), (ev_window_cmd_edit_find),
428 (update_fullscreen_popup), (ev_window_fullscreen),
429 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
430 (ev_window_focus_out_cb), (ev_window_cmd_help_about),
431 (menu_item_select_cb), (find_bar_search_changed_cb),
432 (ev_window_dispose), (ev_window_init):
434 Add initial support for password-supported dialogs. This could be
435 a lot cooler, but it'll do for now.
437 2005-01-18 Marco Pesenti Gritti <marco@gnome.org>
439 * pdf/xpdf/pdf-document.cc:
440 * shell/ev-view.c: (status_message_from_link),
441 (ev_view_set_status), (ev_view_set_cursor),
442 (ev_view_motion_notify_event), (ev_view_init):
443 * shell/ev-window.c: (view_status_changed_cb), (ev_window_init):
445 Fix bugs in the links implementation and change cursor
446 when hovering a link.
448 2005-01-17 Bryan Clark <clarkbw@cvs.gnome.org>
450 * viewer/.cvsignore: added cvsignore file for viewer directory
452 * TODO: created TODO document
454 2005-01-14 Dave Malcolm <dmalcolm@redhat.com>
457 * shell/ev-view.c (ev_view_can_go_back), (ev_view_can_go_forward):
458 new functions to help with implementation of sensitivity code
459 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
460 of all actions that might require it. Fixes a crash when you
461 click on the Zoom actions in a window lacking a document.
463 2005-01-13 Dave Malcolm <dmalcolm@redhat.com>
465 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
468 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
470 * pixbuf/pixbuf-document.c: (pixbuf_document_get_link),
471 (pixbuf_document_document_iface_init):
472 * ps/ps-document.c: (ps_document_get_link),
473 (ps_document_document_iface_init):
474 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event),
475 (status_message_from_link), (ev_view_set_status),
476 (ev_view_set_find_status), (ev_view_motion_notify_event),
477 (ev_view_button_release_event), (ev_view_set_property),
478 (ev_view_get_property), (ev_view_class_init), (ev_view_init),
479 (ev_view_get_find_status_message), (update_find_results),
480 (ev_view_get_status), (ev_view_get_find_status):
482 * shell/ev-window.c: (view_status_changed_cb),
483 (view_find_status_changed_cb), (ev_window_init):
485 View status message support, use it to show the links.
488 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
490 * backend/ev-document.c: (ev_document_get_link):
491 * backend/ev-document.h:
492 * pdf/xpdf/pdf-document.cc:
493 * shell/ev-application.c: (ev_application_open):
494 * shell/ev-application.h:
495 * shell/ev-sidebar-links.c: (selection_changed_cb):
496 * shell/ev-view.c: (ev_view_button_release_event), (go_to_link),
497 (ev_view_go_to_link):
499 Add support for document links
501 2005-01-13 Anders Carlsson <andersca@gnome.org>
503 * shell/ev-page-action.c: (update_spin), (total_pages_changed_cb),
505 Set the spin button limits correctly.
507 * shell/ev-sidebar-thumbnails.c:
508 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init):
509 Support changing pages by clicking on the thumbnails.
511 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
513 * pixbuf/pixbuf-document.c:
514 (pixbuf_document_thumbnails_get_dimensions),
515 (pixbuf_document_document_thumbnails_iface_init):
517 implement get_dimensions
519 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
521 * ps/ps-document.c: (ps_document_goto_page):
523 Fix page switching on multipage documents
525 2005-01-12 Jeff Muizelaar <jrmuizel@nit.ca>
527 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
529 check for NULL before assigning to width and height parameters
531 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
533 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
534 (pixbuf_document_set_property), (pixbuf_document_get_property):
536 implement get/set properties
538 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
540 * pdf/xpdf/pdf-document.cc: (pdf_info_dict_get_string):
542 return NULL instead of "Unknown", letting the title get set to
543 the filename when the pdf has no title.
545 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
547 * ps/ps-document.c: (ps_document_get_page_count),
548 (ps_document_goto_page):
550 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
552 * shell/ev-history.c: (ev_history_get_property),
553 (ev_history_set_property), (ev_history_class_init),
554 (ev_history_add_page), (ev_history_set_current_index):
555 * shell/ev-navigation-action.c: (ev_navigation_action_set_history),
556 (activate_menu_item_cb), (new_history_menu_item), (build_menu),
557 (ev_navigation_action_finalize):
558 * shell/ev-navigation-action.h:
559 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
560 (ev_view_go_forward), (ev_view_get_find_status_message),
561 (history_index_changed_cb), (ev_view_set_history):
563 * shell/ev-window.c: (update_total_pages), (ev_window_open),
564 (update_current_page), (register_custom_actions):
566 Implement history dropdowns
568 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
570 * shell/ev-history.c: (ev_history_init), (ev_history_add_link):
571 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
572 (ev_view_go_forward):
573 * shell/ev-window.c: (register_custom_actions):
575 Fix several history bugs
577 2005-01-11 Kjartan Maraas <kmaraas@gnome.org>
579 * configure.ac: Add «nb» to ALL_LINGUAS.
581 2005-01-10 Marco Pesenti Gritti <marco@gnome.org>
583 * backend/Makefile.am:
584 * backend/ev-bookmark.c:
585 * backend/ev-bookmark.h:
586 * backend/ev-document-bookmarks.c:
587 * backend/ev-document-bookmarks.h:
588 * backend/ev-document-links.c: (ev_document_links_get_type),
589 (ev_document_links_has_document_links),
590 (ev_document_links_begin_read), (ev_document_links_get_link),
591 (ev_document_links_get_child), (ev_document_links_next),
592 (ev_document_links_free_iter):
593 * backend/ev-document-links.h:
594 * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_title),
595 (ev_link_set_title), (ev_link_get_uri), (ev_link_set_uri),
596 (ev_link_get_link_type), (ev_link_set_link_type),
597 (ev_link_get_page), (ev_link_set_page), (ev_link_get_property),
598 (ev_link_set_property), (ev_window_dispose), (ev_link_init),
599 (ev_link_class_init), (ev_link_new_title), (ev_link_new_page),
600 (ev_link_new_external):
602 * pdf/xpdf/pdf-document.cc:
604 * shell/ev-application.c: (ev_application_open_link):
605 * shell/ev-application.h:
606 * shell/ev-history.c: (ev_history_add_link), (ev_history_add_page),
607 (ev_history_get_link_nth):
608 * shell/ev-history.h:
609 * shell/ev-sidebar-bookmarks.c:
610 * shell/ev-sidebar-bookmarks.h:
611 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
612 (ev_sidebar_links_class_init), (selection_changed_cb),
613 (ev_sidebar_links_construct), (ev_sidebar_links_init),
614 (links_page_num_func), (ev_sidebar_links_new), (stack_data_free),
615 (do_one_iteration), (populate_links_idle),
616 (ev_sidebar_links_clear_document), (ev_sidebar_links_set_document):
617 * shell/ev-sidebar-links.h:
618 * shell/ev-sidebar.c: (ev_sidebar_set_document):
619 * shell/ev-view.c: (go_to_link), (ev_view_go_to_link),
622 * shell/ev-window.c: (ev_window_open_link), (ev_window_init):
625 Rename bookmark to link, and use "Index" for the sidebar panel.
627 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
630 * shell/ev-application.c: (ev_application_open_bookmark):
631 * shell/ev-application.h:
632 * shell/ev-history.c: (ev_history_init), (free_links_list),
633 (ev_history_finalize), (ev_history_class_init),
634 (ev_history_add_link), (ev_history_add_page),
635 (ev_history_get_link_nth), (ev_history_get_n_links),
636 (ev_history_get_current_index), (ev_history_set_current_index),
638 * shell/ev-history.h:
639 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
640 * shell/ev-view.c: (ev_view_finalize), (ev_view_set_document),
641 (set_document_page), (go_to_bookmark), (ev_view_go_to_bookmark),
642 (go_to_index), (ev_view_go_back), (ev_view_go_forward),
645 * shell/ev-window.c: (ev_window_open_bookmark),
646 (ev_window_cmd_go_back), (ev_window_cmd_go_forward),
647 (goto_page_cb), (register_custom_actions):
650 Initial history implementation. Needs work.
652 2005-01-09 Martin Kretzschmar <martink@gnome.org>
654 * pdf/xpdf/GDKSplashOutputDev.cc (redraw): fix pixbuf data offset.
656 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
658 * cut-n-paste/recent-files/egg-recent-item.c:
659 * cut-n-paste/recent-files/egg-recent-item.h:
660 * cut-n-paste/recent-files/egg-recent-model.c:
661 * cut-n-paste/recent-files/egg-recent-util.c:
662 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
663 * cut-n-paste/recent-files/egg-recent-view.c:
667 2005-01-08 Martin Kretzschmar <martink@gnome.org>
669 * pdf/splash/Splash.cc (clear, drawPixel, drawSpan, xorSpan, getPixel)
670 (fillGlyph, fillImageMask, drawImage):
671 pdf/splash/SplashBitmap.cc (SplashBitmap, ~SplashBitmap, writePNMFile):
672 pdf/splash/SplashTypes.h:
673 pdf/xpdf/SplashOutputDev (startPage, getColor, imageSrc): implement RGB8
674 packed mode for Splash.
676 * pdf/xpdf/GDKSplashOutputDev.cc (GDKSplashOutputDev, redraw): use
677 RGB8 packed mode, eliminates the pixbuf data creation loop.
679 * shell/ev-print-job.c (ev_print_job_finalize)
680 (ev_print_job_set_property, ev_print_job_get_property)
681 (ev_print_job_set_gnome_print_job, ev_print_job_set_document)
682 (ev_print_job_use_print_dialog_settings, idle_print_handler)
683 (print_closure_finalize, ev_print_job_print): implement
684 printing (for backends with EvPsExporter)
686 * shell/ev_print_job.h: update prototypes.
688 * shell/ev-window.c (ev_window_print): unref print job after
691 * shell/ev-view.c (ev_view_set_document): don't connect to "found"
692 unless the document implements the EvDocumentFind interface.
694 2005-01-08 Satoru SATOH <ss@gnome.gr.jp>
696 * configure.ac: Added ja to ALL_LINGUAS.
698 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
700 * pdf/xpdf/pdf-document.cc:
702 add a FIXME. We should probably not allocate
703 a bookmark object every time
705 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
707 * shell/ev-application.c: (ev_application_open),
708 (ev_application_open_bookmark):
709 * shell/ev-application.h:
711 Add a way to open bookmarks
713 * backend/ev-bookmark.c: (ev_bookmark_get_uri),
714 (ev_bookmark_set_uri), (ev_bookmark_get_property),
715 (ev_bookmark_set_property), (ev_bookmark_class_init),
716 (ev_bookmark_new_title), (ev_bookmark_new_link),
717 (ev_bookmark_new_external):
719 Support for external uris, better constructors.
721 * backend/ev-bookmark.h:
722 * pdf/xpdf/pdf-document.cc:
723 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
727 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
729 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb),
730 (ev_sidebar_bookmarks_construct), (do_one_iteration):
732 Hook up bookmarks navigation
734 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
736 * backend/Makefile.am:
737 * backend/ev-bookmark.c: (ev_bookmark_type_get_type),
738 (ev_bookmark_get_title), (ev_bookmark_set_title),
739 (ev_bookmark_get_bookmark_type), (ev_bookmark_set_bookmark_type),
740 (ev_bookmark_get_page), (ev_bookmark_set_page),
741 (ev_bookmark_get_property), (ev_bookmark_set_property),
742 (ev_window_dispose), (ev_bookmark_init), (ev_bookmark_class_init),
744 * backend/ev-bookmark.h:
745 * backend/ev-document-bookmarks.c:
746 (ev_document_bookmarks_get_bookmark):
747 * backend/ev-document-bookmarks.h:
748 * pdf/xpdf/pdf-document.cc:
749 * shell/ev-sidebar-bookmarks.c: (do_one_iteration):
751 Add a bookmark object to the backend and use it instead of get_values
753 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
755 * data/evince-ui.xml:
757 Cleanup and add select all.
759 * shell/ev-view.c: (ev_view_select_all),
760 (ev_view_button_press_event):
762 * shell/ev-window.c: (ev_window_cmd_edit_select_all):
765 Clear selection on click.
767 Fri Jan 7 01:28:58 2005 Jonathan Blandford <jrb@redhat.com>
769 * shell/ev-sidebar-thumbnails.c
770 (ev_sidebar_thumbnails_set_document): forgot to unref the
773 Fri Jan 7 01:22:48 2005 Jonathan Blandford <jrb@redhat.com>
775 * shell/ev-sidebar-thumbnails.c: fill in the thumbnails starting
776 at the visible page, not just linearly. This makes it look fast.
778 Thu Jan 6 18:48:11 2005 Jonathan Blandford <jrb@redhat.com>
780 * backend/ev-document-misc.c
781 (ev_document_misc_get_thumbnail_frame): fill in the thumbnail with
783 * backend/ev-document-thumbnails.h: New interface to get the size
786 2005-01-06 Jeremy Katz <katzj@redhat.com>
788 * shell/Makefile.am (evince_SOURCES): Add ev-utils.[ch] so that
791 Wed Jan 5 15:38:28 2005 Jonathan Blandford <jrb@redhat.com>
793 * pdf/xpdf/pdf-document.cc (bitmap_to_pixbuf): bypass
794 GDKSplashOutputDev and just use a normal SplashOutputDev. Speeds
797 * shell/ev-sidebar-thumbnail.c: start of some profiling code.
799 2005-01-05 Martin Kretzschmar <martink@gnome.org>
801 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): match only outline
802 fonts. Should fix font problems on systems that have the base
803 fonts in bitmap format. Reported by James Henstridge
804 <james@jamesh.id.au>.
806 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
809 * pdf/xpdf/GfxState.cc:
811 Fix for CAN-2004-1125
813 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
815 * shell/ev-view.c: (ev_view_copy):
817 * shell/ev-window.c: (ev_window_cmd_edit_copy):
821 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
823 * backend/ev-document.c: (ev_document_get_text):
824 * backend/ev-document.h:
825 * pdf/xpdf/pdf-document.cc:
826 * shell/ev-view.c: (ev_view_realize), (expose_bin_window),
827 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
828 (ev_view_update_primary_selection), (ev_view_button_press_event),
829 (ev_view_motion_notify_event), (ev_view_button_release_event):
831 Beginnings of clipboard support. Incomplete but primary sort
834 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
836 * shell/ev-view.c: (ev_gdk_color_to_rgb), (draw_rubberband),
839 Nicer rubberband drawing, from GtkIconView.
841 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
843 * backend/ev-document.c: (ev_document_save):
844 * backend/ev-document.h:
845 * data/evince-ui.xml:
846 * pdf/xpdf/pdf-document.cc:
847 * shell/ev-window.c: (save_error_dialog), (ev_window_cmd_save_as):
849 Implement "Save a copy..." menu item
851 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
853 * shell/ev-view.c: (ev_view_zoom):
855 Queue a resize when zoom changes
857 Wed Jan 5 02:33:06 2005 Jonathan Blandford <jrb@redhat.com>
859 * backend/ev-document-misc.[ch]: New misc file to do simple drop
862 * pdf/xpdf/pdf-document.cc: use the drop shadows in both types of
865 Tue Jan 4 22:32:32 2005 Jonathan Blandford <jrb@redhat.com>
867 * pdf/xpdf/pdf-document.cc
868 (pdf_document_thumbnails_get_page_pixbuf): poor man's dropshadow.
870 Tue Jan 4 21:25:05 2005 Jonathan Blandford <jrb@redhat.com>
872 * pdf/xpdf/pdf-document.cc: Do real thumbnailing of PDF files.
873 It's slow, but I'll speed it up next!
875 2005-01-04 Jeff Muizelaar <jrmuizel@nit.ca>
877 * shell/main.c (load_files):
879 use gnome_vfs_make_uri_from_shell_arg so that relative paths work
880 from the command line and because it seems more appropriate.
882 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
884 * data/evince-ui.xml:
885 * shell/ev-window.c: (update_action_sensitivity),
886 (ev_window_cmd_go_page_up), (ev_window_cmd_go_page_down):
888 s/next page/page down
889 s/previous page/page up
891 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
893 * data/evince-ui.xml:
895 Change the layout to match clarkbw design.
898 * shell/ev-navigation-action.c: (build_menu), (menu_activated_cb),
899 (set_tooltip_cb), (connect_proxy), (ev_navigation_action_init),
900 (ev_navigation_action_finalize),
901 (ev_navigation_action_set_property),
902 (ev_navigation_action_get_property),
903 (ev_navigation_action_class_init):
904 * shell/ev-navigation-action.h:
906 Implement clarkbw toolbar navigation controls (incomplete)
908 * shell/ev-page-action.c: (update_label), (update_spin),
909 (value_changed_cb), (create_tool_item), (connect_proxy),
910 (ev_page_action_init), (ev_page_action_finalize),
911 (ev_page_action_set_property), (ev_page_action_get_property),
912 (ev_page_action_set_current_page),
913 (ev_page_action_set_total_pages), (ev_page_action_class_init):
914 * shell/ev-page-action.h:
916 Implement a page switcher in the toolbar
918 * shell/ev-view.c: (ev_view_scroll_view):
919 * shell/ev-window.c: (update_total_pages), (ev_window_open),
920 (update_current_page), (view_page_changed_cb), (goto_page_cb),
921 (register_custom_actions), (ev_window_init):
923 Change page on PageUp/Down.
925 Tue Jan 4 03:22:56 2005 Jonathan Blandford <jrb@redhat.com>
927 * pdf/xpdf/pdf-document.cc
928 (pdf_document_thumbnails_get_thumbnail): initial stab at
929 implementing thumbnail support for pdfs. It only does documents
930 with precached pdfs now.
932 Mon Jan 3 17:22:25 2005 Jonathan Blandford <jrb@redhat.com>
934 * shell/ev-sidebar-thumbnails.c (do_one_iteration): move the
935 thumbnail code into a time-based idle as well. Also, turn off the
936 shadow temporarily as it's really slow.
938 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
940 * backend/ev-document.c: (ev_document_class_init):
941 * pdf/xpdf/pdf-document.cc:
942 * shell/ev-window.c: (ev_window_open):
944 Fix document title bugs and fallback to
945 filename when not available.
947 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
949 * backend/ev-document.c: (ev_document_get_type),
950 (ev_document_class_init), (ev_document_load),
951 (ev_document_get_title):
952 * backend/ev-document.h:
953 * pdf/xpdf/pdf-document.cc:
954 * ps/ps-document.c: (ps_document_set_property),
955 (ps_document_get_property), (ps_document_class_init),
959 * shell/ev-window.c: (update_window_title), (ev_window_open),
962 Initial support for document title. Not working yet.
964 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
966 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event):
968 Grab focus on the view when clicking it
970 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
972 * shell/ev-marshal.list:
973 * shell/ev-view.c: (ev_view_realize), (add_scroll_binding),
974 (ev_view_scroll_view), (ev_view_class_init), (ev_view_init):
976 Add key bindings to the view. Now if the focus would work
979 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
982 * backend/Makefile.am:
985 * dvi/dvilib/Makefile.am:
986 * pdf/xpdf/Makefile.am:
992 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
994 * shell/ev-view.c: (ev_view_realize):
996 Fix mouse wheel scrolling
998 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
1004 * ps/ps-document.c: (catchPipe), (ps_document_init),
1005 (ps_document_class_init), (ps_document_cleanup),
1006 (ps_document_finalize), (send_ps), (ps_document_get_orientation),
1007 (set_up_page), (close_pipe), (is_interpreter_ready),
1008 (interpreter_failed), (output), (input), (start_interpreter),
1009 (stop_interpreter), (file_length), (file_readable),
1010 (check_filecompressed), (check_pdf), (compute_xdpi),
1011 (compute_ydpi), (compute_size), (ps_document_enable_interpreter),
1012 (ps_document_get_type), (ps_document_emit_error_msg),
1013 (document_load), (ps_document_next_page),
1014 (ps_document_get_current_page), (ps_document_get_page_count),
1015 (ps_document_goto_page), (ps_document_set_page_size),
1016 (ps_document_zoom_to_fit), (ps_document_set_zoom),
1017 (ps_document_load), (ps_document_get_n_pages),
1018 (ps_document_set_page), (ps_document_get_page),
1019 (ps_document_widget_event), (ps_document_set_target),
1020 (ps_document_set_scale), (ps_document_set_page_offset),
1021 (ps_document_get_page_size), (ps_document_render),
1022 (ps_document_document_iface_init):
1025 * shell/ev-window.c: (ev_window_open):
1027 Rename GtkGS to PSDocument
1029 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
1031 * ps/gtkgs.c: (gtk_gs_class_init):
1034 Some more leftover...
1036 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
1038 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_get_orientation),
1039 (output), (stop_interpreter), (gtk_gs_emit_error_msg),
1040 (gtk_gs_zoom_to_fit), (gtk_gs_set_zoom):
1043 Remove unused code and make a lot of stuff private
1045 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
1047 * ps/gsdefaults.c: (gtk_gs_defaults_gconf_client),
1048 (gtk_gs_defaults_changed):
1054 Cleanup headers dependencies
1056 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
1061 * ps/gsdefaults.c: (gtk_gs_defaults_get_paper_sizes):
1063 * ps/gtkgs.c: (file_length), (file_readable),
1064 (check_filecompressed), (check_pdf), (gtk_gs_load),
1065 (gtk_gs_get_postscript):
1069 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
1074 * ps/gtkgs.c: (gtk_gs_set_zoom):
1078 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
1080 * ps/gtkgs.c: (gtk_gs_set_zoom), (gtk_gs_set_zoom_mode):
1082 Ensure the page is rerendered when changing zoom
1084 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
1086 * backend/ev-document.c: (ev_document_base_init),
1087 (ev_document_changed):
1088 * backend/ev-document.h:
1090 Add a changed event that is emitted when the page content
1091 changes. This is necessary to deal with the fact that
1092 in ps backend rendering happen asycrounously.
1093 This makes the ps backend mostly work.
1095 * pdf/xpdf/pdf-document.cc:
1099 * ps/gtkgs.c: (set_up_page), (gtk_gs_widget_event),
1100 (ps_document_set_target):
1104 * shell/ev-view.c: (document_changed_callback),
1105 (ev_view_set_document), (ev_view_set_page):
1107 Redraw on the changed signal
1109 2004-12-25 Raphael Higino <raphaelh@cvs.gnome.org>
1111 * configure.ac: Added pt_BR to ALL_LINGUAS.
1113 Fri Dec 24 00:48:44 2004 Jonathan Blandford <jrb@redhat.com>
1115 * backend/ev-document-bookmarks.c:
1116 (ev_document_bookmarks_get_child): *
1117 backend/ev-document-bookmarks.h: * pdf/xpdf/Makefile.am: *
1118 pdf/xpdf/pdf-document.cc: * pdf/xpdf/pdf-document.h: *
1119 shell/Makefile.am: * shell/ev-sidebar-bookmarks.c:
1120 (ev_sidebar_bookmarks_destroy),
1121 (ev_sidebar_bookmarks_class_init),
1122 (ev_sidebar_bookmarks_construct), (stack_data_free),
1123 (do_one_iteration), (populate_bookmarks_idle),
1124 (ev_sidebar_bookmarks_clear_document),
1125 (ev_sidebar_bookmarks_set_document): *
1126 shell/ev-sidebar-bookmarks.h: * shell/ev-sidebar.c:
1127 (ev_sidebar_add_page),
1128 (ev_sidebar_set_document): * shell/ev-window.c: (ev_window_open):
1129 Initial stab at a bookmarks sidebar. It doesn't navigate yet, but
1130 it displays both the topics and the page numbers.
1132 2004-12-23 Kristian Høgsberg <krh@redhat.com>
1134 * shell/ev-window.c (ev_window_view_sidebar_cb): Hook up sidebar
1136 * shell/ev-window.c (toggle_entries): Set sidebar default value to
1139 2004-12-23 Adam Weinberger <adamw@gnome.org>
1141 * configure.ac: Added en_CA to ALL_LINGUAS.
1143 2004-12-23 Martin Kretzschmar <martink@gnome.org>
1145 * ChangeLog: replace bottom of this ChangeLog (merged history of
1146 ggv and gpdf; where all paths were wrong and most of the files are
1147 not even in this tree) with ChangeLog (from arch) of the shell
1150 2004-12-23 Havoc Pennington <hp@redhat.com>
1152 * shell/ev-window.c: hook up potentially-questionable "find
1153 results status text" feature - something involving the sidebar or
1154 scrollbar or a continuous all-pages-on-giant-roll-of-paper-view
1155 might be better in the end.
1157 * shell/ev-view.c (ev_view_get_find_status_message): new function,
1158 with corresponding signal when it should be updated
1160 * shell/eggfindbar.c (egg_find_bar_set_status_text): new function
1162 2004-12-22 Havoc Pennington <hp@redhat.com>
1164 * pdf/xpdf/pdf-document.cc (pdf_document_find_begin): make search
1165 find stuff on other pages, sort of (only returns one result on
1166 invisible pages, to show they have results; updates full results
1167 for a page when you view it). Currently repaints the current page
1168 every time a new result is found on any page, which isn't so nice.
1170 2004-12-22 Havoc Pennington <hp@redhat.com>
1172 * shell/ev-window.c (ev_window_cmd_edit_find): display an error if
1173 the document doesn't support find (better ideas?)
1174 (find_bar_search_changed_cb): handle missing document or document
1175 that doesn't support find
1177 * pdf/xpdf/pdf-document.cc: port to implement the new
1180 * backend/ev-document-find.c: create a new interface for searching
1182 * backend/ev-document.h, backend/ev-document.c: delete the find stuff
1184 2004-12-23 Martin Kretzschmar <martink@gnome.org>
1186 * pdf/xpdf/Makefile.am (libpdfdocument_la_LIBADD): add
1189 * shell/ev-window.c (ev_window_print): add GnomePrintJob to
1190 EvPrintJob constructor arguments.
1192 * backend/ev-ps-exporter.c, backend/ev-ps-exporter.h: interface
1193 for documents that can export PostScript (page by page).
1195 * backend/Makefile.am (libevbackend_la_SOURCES): add them.
1197 * pdf/xpdf/pdf-document.cc (pdf_document_ps_export_begin)
1198 (pdf_document_ps_export_do_page, pdf_document_ps_export_end)
1199 (pdf_document_ps_exporter_iface_init:
1200 Implement EvPSExporter.
1202 * pdf/xpdf/Makefile.am (libxpdf_la_SOURCES): build PSOutputDev.
1204 2004-12-22 Anders Carlsson <andersca@gnome.org>
1206 * backend/Makefile.am:
1207 * backend/ev-document-thumbnails.c:
1208 (ev_document_thumbnails_get_type),
1209 (ev_document_thumbnails_get_thumbnail):
1210 * backend/ev-document-thumbnails.h:
1211 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
1212 (pixbuf_document_thumbnails_get_thumbnail),
1213 (pixbuf_document_document_thumbnails_iface_init):
1214 * shell/Makefile.am:
1215 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_destroy),
1216 (ev_sidebar_thumbnails_class_init), (ev_sidebar_thumbnails_init),
1217 (populate_thumbnails), (ev_sidebar_thumbnails_set_document):
1218 * shell/ev-sidebar-thumbnails.h:
1219 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
1220 (ev_sidebar_set_document):
1221 * shell/ev-utils.c: (gaussian), (create_blur_filter),
1222 (create_shadow), (ev_pixbuf_add_shadow):
1224 Add thumbnail support.
1226 2004-12-22 Martin Kretzschmar <martink@gnome.org>
1228 * shell/ev-window.c (ev_window_cmd_file_print, ev_window_print)
1229 (using_postscript_printer): Set up a print dialog for "PostScript
1232 * shell/ev-print-job.h, shell/ev-print-job.c: stub classes for
1235 * shell/Makefile.am (evince_SOURCES): add ev-print-job.[ch]
1237 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
1239 * ps/gtkgs.c: (gtk_gs_init), (set_up_page),
1240 (ps_document_set_target), (ps_document_get_page_size),
1241 (ps_document_render):
1246 2004-12-22 Christian Rose <menthos@menthos.com>
1248 * configure.ac: Added "sv" to ALL_LINGUAS.
1250 Wed Dec 22 14:47:38 2004 Jonathan Blandford <jrb@redhat.com>
1252 * backend/ev-document-bookmarks.[ch]: new interface to indicate
1253 document supports bookmarks.
1255 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
1257 * ps/ggvutils.c: (ggv_file_readable):
1259 * ps/gtkgs.c: (check_filecompressed), (check_pdf),
1260 (gtk_gs_get_postscript):
1264 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
1266 * ps/gtkgs.c: (gtk_gs_init), (gtk_gs_class_init), (gtk_gs_cleanup),
1267 (gtk_gs_finalize), (gtk_gs_set_center), (set_up_page), (output),
1268 (start_interpreter), (compute_size), (gtk_gs_enable_interpreter),
1269 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_reload),
1270 (gtk_gs_emit_error_msg), (gtk_gs_disable_interpreter),
1271 (gtk_gs_load), (gtk_gs_goto_page), (gtk_gs_set_page_size),
1272 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
1273 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
1274 (gtk_gs_set_antialiasing), (ps_document_load),
1275 (ps_document_render):
1278 Another check point for the ps backend. Now I can get it to show
1281 Wed Dec 22 13:41:01 2004 Jonathan Blandford <jrb@redhat.com>
1283 * shell/ev-sidebar.c (ev_sidebar_set_document): initial sidebar
1284 document setting code.
1286 2004-12-22 Anders Carlsson <andersca@gnome.org>
1288 * shell/eggfindbar.c: (entry_activate_callback):
1289 Animate the next button when activate is pressed.
1291 2004-12-22 Anders Carlsson <andersca@gnome.org>
1293 * shell/ev-window.c: (ev_window_cmd_edit_find),
1294 (update_fullscreen_popup), (ev_window_fullscreen),
1295 (ev_window_unfullscreen), (ev_window_state_event_cb),
1296 (ev_window_focus_out_cb), (find_bar_close_cb), (ev_window_init):
1297 Fix bugs in fullscreen code.
1299 2004-12-22 Anders Carlsson <andersca@gnome.org>
1303 * pixbuf/Makefile.am:
1304 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
1305 (pixbuf_document_load), (pixbuf_document_get_n_pages),
1306 (pixbuf_document_set_page), (pixbuf_document_get_page),
1307 (pixbuf_document_set_target), (pixbuf_document_set_scale),
1308 (pixbuf_document_set_page_offset), (pixbuf_document_get_page_size),
1309 (pixbuf_document_render), (pixbuf_document_begin_find),
1310 (pixbuf_document_end_find), (pixbuf_document_finalize),
1311 (pixbuf_document_class_init),
1312 (pixbuf_document_document_iface_init), (pixbuf_document_init):
1313 * pixbuf/pixbuf-document.h:
1314 * shell/Makefile.am:
1315 * shell/ev-application.c: (ev_application_open):
1316 * shell/ev-window.c: (mime_type_supported_by_gdk_pixbuf),
1320 Tue Dec 21 21:45:43 2004 Soeren Sandmann <sandmann@redhat.com>
1323 * dvi/dvilib/Makefile.am:
1325 * configure.ac: Auto*ify dvi and dvi/dvilib
1327 * dvi/Makefile: Remove from CVS
1329 * dvi/dvilib/dl-pkfont.cc (unpack_bitmap): Fix uchar/uint
1332 * dvi/dvilib/dl-fontdefinition.{cc,hh}: New DviFontMap class
1334 * dvi/dvilib/dl-vffont.{cc,hh}: Many bugfixes to VF code.
1336 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
1339 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_finalize),
1340 (gtk_gs_value_adjustment_changed), (compute_size),
1341 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_new_from_file),
1342 (gtk_gs_center_page), (gtk_gs_load), (gtk_gs_set_page_size),
1343 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
1344 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
1345 (gtk_gs_start_scroll), (gtk_gs_get_postscript),
1346 (gtk_gs_set_adjustments), (gtk_gs_set_available_size),
1347 (ps_document_load), (ps_document_get_n_pages),
1348 (ps_document_set_page), (ps_document_get_page),
1349 (ps_document_set_target), (ps_document_set_scale),
1350 (ps_document_set_page_offset), (ps_document_get_page_size),
1351 (ps_document_render), (ps_document_begin_find),
1352 (ps_document_end_find), (ps_document_document_iface_init):
1354 * shell/Makefile.am:
1355 * shell/ev-window.c: (ev_window_open):
1357 Some work to integrate gtkgs with EvDocument
1359 2004-12-22 Anders Carlsson <andersca@gnome.org>
1361 * shell/ev-window.c: (update_fullscreen_popup),
1362 (screen_size_changed_cb), (destroy_exit_fullscreen_popup),
1363 (exit_fullscreen_button_clicked_cb),
1364 (fullscreen_popup_size_request_cb), (ev_window_fullscreen),
1365 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
1366 (ev_window_state_event_cb), (ev_window_init):
1367 Add fullscreen support from Epiphany.
1369 2004-12-22 Mark McLoughlin <mark@skynet.ie>
1371 * data/ev-stock-zoom-fit-width.png: fit-width
1372 stock icon from gpdf.
1374 * shell/ev-stock-icons.[ch]: copied from gpdf.
1376 * shell/main.c: (main): init stock icons.
1378 * shell/ev-window.c: use the fit-width icon.
1380 * data/evince-ui.xml: add zooming toolbar items.
1382 2004-12-22 Mark McLoughlin <mark@skynet.ie>
1385 (ev_view_best_fit), (ev_view_fit_width): because
1386 get_page_size() returns the scaled page size, we
1387 need to calculate the scale factor relative to
1388 the previous scale factor. Should really just
1389 add get_real_page_size().
1391 2004-12-22 Mark McLoughlin <mark@skynet.ie>
1393 * shell/ev-view.[ch]:
1394 (ev_view_zoom), (ev_view_zoom_in), (ev_view_zoom_out),
1395 (ev_view_normal_size), (ev_view_best_fit), (ev_view_fit_width):
1398 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
1399 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_normal_size),
1400 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width):
1403 * pdf/xpdf/pdf-document.cc:
1404 (pdf_document_begin_find),
1405 (pdf_document_end_find): make static.
1407 2004-12-22 Martin Kretzschmar <martink@gnome.org>
1409 * pdf/xpdf/GlobalParams.h (setupBaseFontsFc): add prototype.
1411 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): maps base font
1412 names to fontconfig patterns.
1413 (setupBaseFontsFc): setupBaseFonts reimplemented using fontconfig.
1415 * pdf/xpdf/pdf-document.cc (pdf_document_load): use
1418 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
1434 Import ggv backend. Not hooked up yet.
1436 2004-12-22 Mark McLoughlin <mark@skynet.ie>
1438 * shell/main.c: (load_files), (main): load files
1439 from the command line.
1441 2004-12-22 Mark McLoughlin <mark@skynet.ie>
1443 * configure.ac: don't require bonobo.
1445 * cut-n-paste/recent-files/*: kill bonobo recent
1448 * shell/ev-window.c:
1449 (ev_window_is_empty): upd.
1450 (unable_to_load), (ev_window_open): load backend
1451 based on the mime type.
1453 2004-12-22 Martin Kretzschmar <martink@gnome.org>
1455 * backend/.cvsignore: ignore generated marshalers source.
1457 * shell/main.c (main): this is not epiphany.
1459 2004-12-22 Havoc Pennington <hp@redhat.com>
1461 * shell/ev-view.c (ev_view_set_document): connect to "found" signal
1462 (expose_bin_window): draw find highlights
1464 * shell/ev-window.c (find_bar_search_changed_cb): implement
1466 * pdf/xpdf/pdf-document.cc (pdf_document_begin_find)
1467 (pdf_document_end_find): implement this interface
1469 * backend/ev-document.c (ev_document_found): add this to emit
1472 Tue Dec 21 23:57:37 2004 Owen Taylor <otaylor@redhat.com>
1474 * data/evince-ui.xml: Add a few more toolbar items.
1476 * shell/ev-window.c: Hook up page navigation toolbar
1479 * shell/ev-view.[ch]: add ev_view_set/get_page and
1480 a page-changed signal.
1482 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc::
1483 Add ev_document_get_page().
1485 * shell/ev-window.c: Sensitize/desensitize navigation
1488 2004-12-21 Havoc Pennington <hp@redhat.com>
1490 * backend/ev-backend-marshal.c,
1491 backend/ev-backend-marshalers.list, backend/Makefile.am: add
1492 marshaler-generator thingy. I'm sure there's a better way to do
1493 this in the modern world.
1495 * backend/ev-document.h (struct _EvDocumentIface): add begin_find,
1496 end_find methods and "found" signal.
1498 * configure.ac: find glib-genmarshal
1500 Tue Dec 21 23:20:35 2004 Jonathan Blandford <jrb@redhat.com>
1502 * shell/ev-sidebar.c: Construct an actual sidebar.
1503 * shell/ev-sidebar-bookmarks.[ch]:
1504 * shell/ev-sidebar-thumbnails.[ch]: Stub out sidebars.
1506 Tue Dec 21 23:05:51 2004 Owen Taylor <otaylor@redhat.com>
1508 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc:
1511 * shell/ev-view.c: Track the size from the document.
1513 Tue Dec 21 22:17:04 2004 Owen Taylor <otaylor@redhat.com>
1515 * pdf/xpdf/pdf-document.cc (pdf_document_load): PDFDoc
1516 constructor assumes ownership of the string passed in.
1518 * shell/ev-window.c (ev_window_open): Destroy the error
1519 dialog once we've displayed it.
1521 Tue Dec 21 21:58:56 2004 Owen Taylor <otaylor@redhat.com>
1523 * pdf/xpdf/pdf-document.cc shell/ev-view.c: Hook things up
1524 a bit, it works! (sort of)
1526 * pdf/xpdf/Makefile.am pdf/xpdf/pdf-document.cc:
1527 Move to .cc since we need to use C++ in the implementation.
1529 * shell/dummy.cc: Add a CC file to force evince
1530 to be linked as a C++ program.
1532 Tue Dec 21 21:07:55 2004 Owen Taylor <otaylor@redhat.com>
1534 * shell/ev-view.[ch]: Start of content-area widget.
1536 * shell/ev-window.c: Create a EvView, update it
1537 as we change documents.
1539 * shell/Makefile.am shell/ev-marshal.list: Add
1540 generated marshalers.
1542 Tue Dec 21 20:28:11 2004 Jonathan Blandford <jrb@redhat.com>
1544 * Makefile.am (SUBDIRS): move shell.
1546 Tue Dec 21 19:28:55 2004 Owen Taylor <otaylor@redhat.com>
1548 * pdf/{goo,fofi,splash,xpdf}/Makefile.am: Switch from
1549 .a to libtool convenience libraries.
1551 * shell/ev-window.c (ev_window_open): Hard code loading
1554 * backend/ev-document.h: Add a boolean return to load(),
1555 fix GError * to GError **.
1557 * pdf/xpdf/pdf-document.[ch] Makefile.am: Add a stub
1558 object for a PDF backend EvDocument.
1560 Tue Dec 21 18:55:06 2004 Søren Sandmann <sandmann@redhat.com>
1562 * dvi/*: New directory with the beginning of a .dvi backend.
1564 2004-12-21 Havoc Pennington <hp@redhat.com>
1566 * shell/eggfindbar.c (egg_find_bar_init): change buttons to
1567 previous/next instead of back/forward
1569 Tue Dec 21 18:26:24 2004 Owen Taylor <otaylor@redhat.com>
1571 * backend/ev-document.[ch]: Fix a couple of problems so
1574 Tue Dec 21 18:20:40 2004 Owen Taylor <otaylor@redhat.com>
1576 * viewer/* backend/* configure.ac Makefile.am: Move viewer directory
1577 to backend/ directory, rename EvViewer to EvDocument.
1579 2004-12-21 Havoc Pennington <hp@redhat.com>
1581 * shell/ev-window.c: hook up the find bar widget; now we just need
1582 a document to find things in
1584 * shell/eggfindbar.c: a find bar widget
1586 Tue Dec 21 17:20:16 2004 Jonathan Blandford <jrb@redhat.com>
1588 * shell/ev-sidebar.[ch]: initial sidebar boilerplate.
1590 Tue Dec 21 16:30:58 2004 Owen Taylor <otaylor@redhat.com>
1592 * pdf/**: Import of xpdf code from gpdf.
1594 * pdf/xpdf/xpdfconfig.h: Move the non-config.h config.h to xpdfconfig.h
1596 * pdf/splash/SplashFTFont.{cc,h} pdf/splash/SplashFTFont.h
1597 pdf/splash/SplashFTFontEngine.h pdf/splash/SplashFTFontFile.h:
1598 Fix FreeType includes.
1600 * pdf/xpdf/{Error.h GnomeVFSStream.cc ImageOutputDev.cc PDFDoc.cc\
1601 pdffonts.cc pdfimages.cc pdfinfo.cc pdftoppm.cc pdftops.cc
1602 pdftotext.cc PSOutputDev.cc PSOutputDev.h SplashOutputDev.h
1603 Stream.cc TextOutputDev.cc XPDFApp.cc xpdf.cc XPDFViewer.cc
1604 pdf/xpdf/Error.h PSOutputDev.h SplashOutputDev.h}:
1605 Include xpdfconfig.h
1607 Tue Dec 21 16:08:17 2004 Jonathan Blandford <jrb@redhat.com>
1609 * shell/ev-window.c (ev_window_dispose): dispose can be called
1612 2004-12-21 Havoc Pennington <hp@redhat.com>
1614 * shell/ev-window.c (ev_window_init): set title to Document Viewer
1617 * data/evince-ui.xml, shell/ev-window.c: add a bunch of stub menu
1618 items; really they should be synced with the strings, etc. from
1619 current gpdf, but just getting the boring typing out of the way
1621 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
1624 * shell/ev-application.c: (window_destroy_cb):
1625 * shell/ev-window.c:
1626 * shell/main.c: (main):
1628 Actually show the window...
1630 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
1633 * shell/Makefile.am:
1634 * shell/ev-application.c: (ev_application_class_init):
1635 * shell/ev-window.c: (ev_window_dispose), (ev_window_class_init):
1639 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
1641 Import to gnome cvs.
1643 * Remove copies of gpdf and ggv trees.
1644 * Rip out all the recursive configure code.
1645 * Remove bonobo machinery.
1646 * viewer/*: GInterfaces that backends should/can implement.
1648 2004-11-09 Martin Kretzschmar <m_kretzschmar@gmx.net>
1650 * shell/ev-window.c (ev_window_cmd_help_about): fix "documentors"
1653 2004-10-28 Martin Kretzschmar <m_kretzschmar@gmx.net>
1655 * shell/ev-application.c (EV_APPLICATION_GET_PRIVATE)
1656 (ev_application_finalize, ev_application_class_init)
1657 (ev_application_init): use GType instance private data for priv.
1659 * shell/ev-window.c (EV_WINDOW_GET_PRIVATE)
1660 (ev_window_finalize, ev_window_class_init)
1661 (ev_window_init): ditto.
1663 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
1665 * shell/ev-application.c (ev_application_new_window): make public
1666 (ev_application_show_initial_window): kill.
1668 * shell/ev-application.h: update prototypes.
1670 * shell/main.cc (main): inline ev_application_show_initial_window.
1672 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
1674 * shell/ev-application.c (ev_application_new_window): impl.
1675 (ev_application_show_initial_window): use it.
1676 (is_window_empty, ev_application_get_empty_window): returns an
1677 existing empty window or a new one.
1678 (ev_application_open): from ev_window_cmd_file_open.
1680 * shell/ev-application.h: update prototypes
1682 * shell/ev-window.c (ev_window_is_empty): impl.
1683 (ev_window_open): make public.
1684 (ev_window_cmd_file_open): use ev_application_open
1686 * shell/ev-window.h: update prototypes, remove unused.
1688 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
1690 * shell/ev-window.c (ev_window_destroy, ev_window_class_init):
1691 move destroy handler out of here...
1693 * shell/ev-application.c, shell/ev-application.h: ...into this new
1694 class. Also handles initial window creation.
1696 * shell/main.cc (main): use EvApplication to create initial
1699 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
1701 * Makefile.am (SUBDIRS): add cut-n-paste
1703 * cut-n-paste/Makefile.am: add
1705 * configure.ac: generate Makefiles in cut-n-paste
1707 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
1709 * shell/ev-window.c (ev_window_dispose): new, unref the ui_manager
1710 (ev_window_class_init): install ev_window_dispose.
1712 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
1714 * shell/ev-window.h, shell/ev-window.c: replace gchar with
1715 char (gchar looks stupid).
1717 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
1719 * po/de.po: updated German translation.
1721 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
1723 * configure.ac: add more pkg-config library checks for gnome-vfs,
1726 * gpdf/configure.in: temporarily disable libpaper
1727 checks. Otherwise I'd have to add the checks for the shell, too.
1729 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1731 * shell/ev-window.c (ev_window_cmd_file_open): add ps+pdf, ps, pdf
1732 and * file filters to the file choose.
1734 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1736 * po/de.po: Updated German translation.
1738 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1740 * shell/ev-window.c: use "S" as mnemonic for Statusbar.
1742 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1744 * data/evince-ui.xml: add View->Toolbar and View->Statusbar.
1746 * shell/ev-window.c (menu_item_select_cb, menu_item_select_cb)
1747 (ev_window_init): implement those menuitems.
1749 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1751 * data/evince-ui.xml: add a toolbar (with FileOpen action)
1753 * shell/ev-window.c (ev_window_init): use the toolbar.
1755 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1757 * shell/ev-window.c (ev_window_init): use menu translations
1759 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1761 * configure.ac: add "de" to ALL_LINGUAS.
1763 * po/de.po: add German translation.
1765 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1767 * Makefile.am (SUBDIRS): add po
1769 * configure.ac: check intltool, glib-gettext etc, generate
1772 * po, po/POTFILES.in, po/POTFILES.skip: new.
1774 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1776 * shell/Makefile.am (INCLUDES): define GNOMELOCALEDIR which we
1777 already use (#ifdef ENABLE_NLS)
1779 * shell/ev-window.c (ev_window_cmd_help_about): fix two star
1780 pointer indirection thinko.
1782 * shell/main.c: include gi18n.h for bindtextdomain etc.
1784 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1786 * shell/ev-window.c (menu_item_select_cb, menu_item_deselect_cb)
1787 (connect_proxy_cb, disconnect_proxy_cb, ev_window_init): show
1788 tooltips for menu items in the statusbar.
1790 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1792 * configure.ac, data/Makefile.am, shell/Makefile.am: use
1793 pkgdatadir drop UIDIR
1795 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1797 * data/evince-ui.xml: Add File->Open menu item
1799 * shell/ev-window.c (ev_window_cmd_file_open): impl. (shows a file
1800 chooser), hook it up in the ui manager.
1802 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1804 * shell/ev-window.c: fix Help->About tooltip.
1806 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1808 * configure.ac: set CFLAGS for libevprivate.
1810 * lib/ev-stock-icons.h, lib/ev-stock-icons.c: stock icon
1811 definitions, factory etc.
1813 * lib/Makefile.am: build libevprivate.a (only stock icon code).
1815 * shell/Makefile.am: link against libevprivate.a.
1817 * shell/ev-window.c (entries): add stock icon to Help->About.
1819 * shell/main.c (main): init stock icon code.
1821 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1823 * lib/recent-files: egg recent files code
1825 * lib/Makefile.am: add.
1827 * Makefile.am: add lib subdir.
1829 * configure.ac: gen. lib/Makefile and lib/recent-files/Makefile,
1830 set CFLAGS for recent-files.
1832 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1834 * configure.ac: disable -ansi and -pedantic gcc flags. They
1835 disable POSIX stuff in stdio.h, but egg-recent uses them.
1837 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1839 * configure.ac: add --disable-deprecated flag (defaults to on in
1842 * shell/Makefile.am (INCLUDES): use it.
1844 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1846 * shell/main.c: add missing #include.
1848 * shell/ev-window.c: fix for pedantic gcc.
1849 (ev_window_cmd_help_about): split license into paragraphs for
1850 translators and pedantic compilers.
1852 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1854 * configure.ac: add more warning flags if compiling with gcc from
1855 cvs (or explicitly requested with --enable-more-warnings).
1857 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1859 * data/evince-ui.xml: add File and File->Close menu.
1861 * shell/ev-window.c (ev_window_cmd_file_close_window): impl.
1862 (ev_window_destroy): quit after destroy.
1863 (ev_window_class_init): override GtkObject::destroy.
1864 (entries): install close_window callback.
1866 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1868 * Makefile.am (SUBDIRS): add data subdir.
1870 * configure.ac (UIDIR): gen data/Makefile, define UIDIR. Require
1871 gtk+ 2.5.0 for GtkAboutDialog.
1873 * data/Makefile.am, data/evince-ui.xml: add, ui definition for the
1876 * shell/Makefile.am (INCLUDES): propagate UIDIR definition.
1878 * shell/ev-window.c (ev_window_init): create a menubar, using a ui
1880 (ev_window_cmd_help_about): about command, using GtkAboutDialog.
1882 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1884 * shell/ev-window.c, shell/ev-window.h: Created an EvWindow class.
1886 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
1888 * shell/main.c: make it a trivial gtk+ program, adjust configure.ac
1890 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
1892 * shell/*: Added shell directory boilerplate, build it.
1894 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
1896 * configure.ac, Makefile.am: Added top-level configure.ac and