1 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
4 * shell/ev-view.c: (set_document_page):
6 Clamp page number, dont try to move to
9 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
11 * backend/ev-document-find.c: (ev_document_find_changed):
12 * backend/ev-document-find.h:
13 * pdf/xpdf/pdf-document.cc:
14 * shell/ev-view.c: (jump_to_find_result), (ev_view_set_document):
15 * shell/ev-window.c: (find_bar_search_changed_cb):
17 Fix several bugs with find
19 2005-02-04 Martin Kretzschmar <martink@gnome.org>
21 * shell/ev-sidebar-thumbnails.c
22 (ev_sidebar_thumbnails_select_page): do nothing unless we have a
23 document. Prevents warning from scroll_to_cell.
25 2005-02-02 Kjartan Maraas <kmaraas@gnome.org>
27 * configure.ac: Add «nb» to ALL_LINGUAS too.
29 Wed Feb 2 21:13:11 2005 Jonathan Blandford <jrb@redhat.com>
31 * NOTES: New file with some random thoughts.
35 * backend/ev-document-misc.c:
36 (ev_document_misc_get_page_border_size): New function to
37 canonicalize shadow drawing sizes. Possibly goofy.
39 * shell/ev-view.c: (ev_view_size_request), (set_document_page),
40 (ev_view_best_fit), (ev_view_fit_width):
41 * pdf/xpdf/pdf-document.cc:
42 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
43 * ps/ps-document.c: (ps_document_get_page_size):
44 * backend/ev-document-misc.h:
45 * backend/ev-document.c: (ev_document_get_page_size):
46 * backend/ev-document.h: get_page_size now takes a page number
47 parameter. Made all the backends/frontends honor it.
49 * data/evince-ui.xml: Added a multiple-page mode. Uncomment to
50 see. Doesn't work yet.
53 * shell/ev-page-view.[ch]: New multi-page view. Really rough.
54 Doesn't do anything yet.
56 * shell/ev-sidebar-thumbnails.c:
57 (ev_sidebar_thumbnails_set_document): [1..n_pages] instead of
60 * shell/ev-window.c: (update_action_sensitivity),
61 (ev_window_setup_document), (ev_window_set_page_mode),
62 (ev_window_page_mode_cb), (ev_window_init): Clean up the
63 view-swapping code a bit so we can have multiple views on a
64 document. Add the multi-page view, though it can't be turned on
67 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
69 * shell/ev-application.c: (ev_application_open):
70 * shell/ev-view.c: (expose_bin_window):
71 * shell/ev-window.c: (ev_window_open):
73 Support eps and check document supports find
74 before drawing highlightings in expose.
76 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
78 * pixbuf/pixbuf-document.c:
79 (pixbuf_document_thumbnails_get_dimensions),
80 (pixbuf_document_document_thumbnails_iface_init):
82 implement get_dimensions
84 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
91 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
93 * shell/ev-view.c: (set_document_page):
95 Scroll at the top of the page when changing page
97 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
99 * shell/ev-view.c: (ev_view_motion_notify_event):
101 Do not redraw unnecessarily
103 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
105 * pdf/xpdf/pdf-document.cc:
106 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
107 (expose_bin_window), (find_changed_cb):
109 Yay! find works now... Now to find bugs...
111 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
113 * backend/ev-document-find.c: (ev_document_find_base_init),
114 (ev_document_find_changed):
115 * backend/ev-document-find.h:
116 * pdf/xpdf/pdf-document.cc:
117 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
118 (expose_bin_window), (ev_view_init), (set_document_page),
119 (ensure_rectangle_is_visible), (jump_to_find_result),
120 (jump_to_find_page), (find_changed_cb), (ev_view_set_document),
121 (ev_view_find_next), (ev_view_find_previous):
123 * shell/ev-window.c: (find_bar_previous_cb), (find_bar_next_cb):
125 More work on find implementation, mostly there now
127 2005-01-29 Marco Pesenti Gritti <marco@gnome.org>
129 * backend/ev-backend-marshalers.list:
130 * backend/ev-document-find.c: (ev_document_find_base_init),
131 (ev_document_find_cancel), (ev_document_find_page_has_results),
132 (ev_document_find_get_n_results), (ev_document_find_get_result),
133 (ev_document_find_get_progress), (ev_document_find_changed):
134 * backend/ev-document-find.h:
136 Enanche the find interface to be really able to do
139 * pdf/xpdf/pdf-document.cc:
143 * shell/ev-view.c: (ev_view_finalize), (highlight_find_results),
144 (expose_bin_window), (ev_view_init),
145 (ev_view_get_find_status_message), (find_changed_cb),
146 (ev_view_set_document), (set_document_page):
148 Adapt to the new interface. A few things are regressed sorry,
149 I will finish it soon.
151 2005-01-28 Martin Kretzschmar <martink@gnome.org>
153 * shell/ev-sidebar-thumbnails.c (ev_sidebar_thumbnails_destroy)
154 (ev_sidebar_thumbnails_class_init): use G_DEFINE_TYPE-supplied
155 ev_sidebar_thumbnails_parent_class variable, don't define another
156 parent_class variable.
158 * shell/ev-page-action.c (connect_proxy, ev_page_action_finalize)
159 (ev_page_action_class_init): ditto.
161 * pixbuf/pixbuf-document.c (pixbuf_document_finalize)
162 (pixbuf_document_class_init): ditto.
164 * backend/ev-link.c (ev_window_dispose, ev_link_class_init):
167 * .cvsignore: ignore various valgrind output files.
169 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
171 * data/evince-ui.xml:
173 * shell/ev-history.c:
174 * shell/ev-history.h:
175 * shell/ev-navigation-action.c:
176 * shell/ev-navigation-action.h:
177 * shell/ev-view.c: (ev_view_finalize), (ev_view_go_to_link),
178 (ev_view_set_page), (ev_view_fit_width):
180 * shell/ev-window.c: (update_action_sensitivity),
181 (ev_window_setup_document), (register_custom_actions):
185 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
187 * shell/ev-window.c: (update_action_sensitivity):
189 Fix inverted up/down buttons
191 2005-01-27 Martin Kretzschmar <martink@gnome.org>
193 * shell/ev-sidebar-thumbnails.c
194 (ev_sidebar_thumbnails_select_page): make sure the selected
195 thumbnail stays visible.
197 2005-01-26 Martin Kretzschmar <martink@gnome.org>
199 * shell/ev-window.c (ev_window_init): add GTK_SHADOW_IN to the
200 scrolled window for Federico.
202 2005-01-26 Ole Laursen <olau@hardworking.dk>
204 * configure.ac: Added "da" (Danish) to ALL_LINGUAS.
206 2005-01-26 Marco Pesenti Gritti <marco@gnome.org>
209 * pdf/splash/SplashFTFontEngine.cc:
211 Fix CID fonts with freetype 2.1.9
213 2005-01-26 Bryan Clark <clarkbw@cvs.gnome.org>
215 * TODO: added item for desktop icon thumbnailer
217 Tue Jan 25 00:59:34 2005 Jonathan Blandford <jrb@redhat.com>
219 * pdf/xpdf/pdf-document.cc (pdf_document_get_title): guard against
220 unloaded docs when the title is accessed.
222 * shell/ev-password-view.[hc]: New widget for displaying password
225 * shell/ev-window.[ch]: Refactor password handling code to handle
228 2005-01-24 Marco Pesenti Gritti <marco@gnome.org>
236 2005-01-23 Stephane LOEUILLET <stephane.loeuillet@tiscali.fr>
238 * pdf/xpdf/pdf-document.cc (pdf_document_search_page_changed):
239 ignore page offset here, to make search results independent of it,
241 * shell/ev-view.c (expose_bin_window): but take offsets into
242 account here. Bug #164932
244 * pdf/xpdf/pdf-document.cc (pdf_document_get_link): divide by
245 scale at the right time. Bug #164996
247 2005-01-22 Martin Kretzschmar <martink@gnome.org>
249 * pdf/xpdf/GlobalParams.cc: My 2005-01-05 change didn't actually
250 fix the problem. Now I just removed the Adobe font names and hope
251 that the URW fonts are always in outline format. Bug #164934
253 * shell/ev-window.c (update_window_title): empty titles are
254 useless, use filename in that case too.
256 * NEWS: Add some content.
258 2005-01-21 Bryan Clark <clarkbw@cvs.gnome.org>
260 * TODO: added one more TODO item and a TODONE section :)
262 2005-01-21 Martin Kretzschmar <martink@gnome.org>
264 * ps/ps-document.h: add page_[xy]_offset fields.
266 * ps/ps-document.c (ps_document_set_page_offset)
267 (ps_document_render): Keep offset in consideration in a few
268 places. Bug #164752 "postscript documents are not centered in
271 * data/evince.desktop.in (X-GNOME-Bugzilla-Product):
272 s/gpdf/evince/. Spotted by Stephane Loeuillet.
274 * pixbuf/pixbuf-document.c (pixbuf_document_get_n_pages)
275 (pixbuf_document_get_text, pixbuf_document_document_iface_init):
276 stub out missing methods for complete EvDocument implementation.
277 Fixes segfaults with Save A Copy and Copy actions.
279 * ps/ps-document.c (ps_document_save, ps_document_get_text)
280 (ps_document_document_iface_init): ditto.
282 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
286 * data/evince.desktop.in:
290 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
292 * shell/ev-view.c: (ev_view_button_press_event),
293 (ev_view_motion_notify_event):
295 Make selection work in any direction
297 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
300 * shell/ev-window.c: (set_short_labels), (ev_window_init):
302 Use shorter labels for some of the toolbars items
304 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
306 * pdf/xpdf/pdf-document.cc:
308 Check the links info is initialized before
309 using it. Should fix a crash on startup.
311 2005-01-21 Martin Kretzschmar <martink@gnome.org>
313 * pixbuf/pixbuf-document.c
314 (pixbuf_document_thumbnails_get_dimensions): force floating point
315 division to calculate page_ratio. Fixes crash with landscape
318 Thu Jan 20 18:56:35 2005 Jonathan Blandford <jrb@redhat.com>
320 * shell/ev-view.c (ev_view_realize): make the bg color darker.
322 2005-01-20 Martin Kretzschmar <martink@gnome.org>
324 * shell/ev-view.c (set_document_page): unset has_selection when
326 (set_document_page): handle paper size changes when the page
327 changes (test with Free Culture, page 2).
329 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
331 * shell/ev-view.c: (ev_view_size_request), (ev_view_realize),
332 (expose_bin_window), (ev_view_class_init), (ev_view_init):
334 Use normal style color for the widget background and
335 draw a black box around the page.
337 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
339 * pdf/xpdf/pdf-document.cc:
341 Keep offset in consideration in a few places
343 * shell/ev-view.c: (expose_bin_window):
345 Set the offsets so that the document is ever centered
347 2005-01-20 Bryan Clark <clarkbw@cvs.gnome.org>
349 * TODO: Added TODO items and finished off the first todo item
351 * AUTHORS: Updated AUTHORS section with piece from gpdf file and
352 reflect current authors
354 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
356 * pdf/xpdf/pdf-document.cc:
357 * shell/ev-view.c: (ev_view_set_cursor),
358 (ev_view_motion_notify_event), (document_changed_callback),
361 Show a wait cursor while the page is rendering
363 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
365 * shell/ev-sidebar-thumbnails.c:
366 (ev_sidebar_tree_selection_changed),
367 (ev_sidebar_thumbnails_select_page):
368 * shell/ev-sidebar-thumbnails.h:
369 * shell/ev-view.c: (ev_view_set_document), (ev_view_can_go_back),
370 (ev_view_can_go_forward):
371 * shell/ev-window.c: (ev_window_open_page),
372 (ev_window_setup_document), (update_current_page),
373 (view_page_changed_cb), (ev_window_init):
376 Ensure thumbnails selection, toolbar page control and
377 current page are in sync.
379 2005-01-19 Marco Pesenti Gritti <marco@gnome.org>
385 Wed Jan 19 01:10:57 2005 Jonathan Blandford <jrb@redhat.com>
387 * backend/Makefile.am:
388 * backend/ev-document-links.h:
389 * backend/ev-document-security.c: (ev_document_security_get_type),
390 (ev_document_security_has_document_security),
391 (ev_document_security_set_password):
392 * backend/ev-document-security.h:
393 * backend/ev-document.c: (ev_document_error_quark):
394 * backend/ev-document.h:
396 * data/evince-password.glade:
397 * pdf/xpdf/pdf-document.cc:
399 * shell/ev-password.c: (ev_password_set_bad_password_label),
400 (ev_window_password_entry_changed_cb), (ev_password_dialog_new),
401 (ev_password_dialog_get_password),
402 (ev_password_dialog_set_bad_pass):
403 * shell/ev-password.h:
404 * shell/ev-window.c: (ev_window_get_attribute),
405 (ev_window_set_property), (update_action_sensitivity),
406 (ev_window_is_empty), (mime_type_supported_by_gdk_pixbuf),
407 (ev_window_setup_document), (ev_window_get_password),
408 (ev_window_open), (ev_window_cmd_save_as),
409 (using_postscript_printer), (ev_window_print),
410 (find_not_supported_dialog), (ev_window_cmd_edit_find),
411 (update_fullscreen_popup), (ev_window_fullscreen),
412 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
413 (ev_window_focus_out_cb), (ev_window_cmd_help_about),
414 (menu_item_select_cb), (find_bar_search_changed_cb),
415 (ev_window_dispose), (ev_window_init):
417 Add initial support for password-supported dialogs. This could be
418 a lot cooler, but it'll do for now.
420 2005-01-18 Marco Pesenti Gritti <marco@gnome.org>
422 * pdf/xpdf/pdf-document.cc:
423 * shell/ev-view.c: (status_message_from_link),
424 (ev_view_set_status), (ev_view_set_cursor),
425 (ev_view_motion_notify_event), (ev_view_init):
426 * shell/ev-window.c: (view_status_changed_cb), (ev_window_init):
428 Fix bugs in the links implementation and change cursor
429 when hovering a link.
431 2005-01-17 Bryan Clark <clarkbw@cvs.gnome.org>
433 * viewer/.cvsignore: added cvsignore file for viewer directory
435 * TODO: created TODO document
437 2005-01-14 Dave Malcolm <dmalcolm@redhat.com>
440 * shell/ev-view.c (ev_view_can_go_back), (ev_view_can_go_forward):
441 new functions to help with implementation of sensitivity code
442 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
443 of all actions that might require it. Fixes a crash when you
444 click on the Zoom actions in a window lacking a document.
446 2005-01-13 Dave Malcolm <dmalcolm@redhat.com>
448 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
451 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
453 * pixbuf/pixbuf-document.c: (pixbuf_document_get_link),
454 (pixbuf_document_document_iface_init):
455 * ps/ps-document.c: (ps_document_get_link),
456 (ps_document_document_iface_init):
457 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event),
458 (status_message_from_link), (ev_view_set_status),
459 (ev_view_set_find_status), (ev_view_motion_notify_event),
460 (ev_view_button_release_event), (ev_view_set_property),
461 (ev_view_get_property), (ev_view_class_init), (ev_view_init),
462 (ev_view_get_find_status_message), (update_find_results),
463 (ev_view_get_status), (ev_view_get_find_status):
465 * shell/ev-window.c: (view_status_changed_cb),
466 (view_find_status_changed_cb), (ev_window_init):
468 View status message support, use it to show the links.
471 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
473 * backend/ev-document.c: (ev_document_get_link):
474 * backend/ev-document.h:
475 * pdf/xpdf/pdf-document.cc:
476 * shell/ev-application.c: (ev_application_open):
477 * shell/ev-application.h:
478 * shell/ev-sidebar-links.c: (selection_changed_cb):
479 * shell/ev-view.c: (ev_view_button_release_event), (go_to_link),
480 (ev_view_go_to_link):
482 Add support for document links
484 2005-01-13 Anders Carlsson <andersca@gnome.org>
486 * shell/ev-page-action.c: (update_spin), (total_pages_changed_cb),
488 Set the spin button limits correctly.
490 * shell/ev-sidebar-thumbnails.c:
491 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init):
492 Support changing pages by clicking on the thumbnails.
494 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
496 * pixbuf/pixbuf-document.c:
497 (pixbuf_document_thumbnails_get_dimensions),
498 (pixbuf_document_document_thumbnails_iface_init):
500 implement get_dimensions
502 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
504 * ps/ps-document.c: (ps_document_goto_page):
506 Fix page switching on multipage documents
508 2005-01-12 Jeff Muizelaar <jrmuizel@nit.ca>
510 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
512 check for NULL before assigning to width and height parameters
514 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
516 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
517 (pixbuf_document_set_property), (pixbuf_document_get_property):
519 implement get/set properties
521 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
523 * pdf/xpdf/pdf-document.cc: (pdf_info_dict_get_string):
525 return NULL instead of "Unknown", letting the title get set to
526 the filename when the pdf has no title.
528 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
530 * ps/ps-document.c: (ps_document_get_page_count),
531 (ps_document_goto_page):
533 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
535 * shell/ev-history.c: (ev_history_get_property),
536 (ev_history_set_property), (ev_history_class_init),
537 (ev_history_add_page), (ev_history_set_current_index):
538 * shell/ev-navigation-action.c: (ev_navigation_action_set_history),
539 (activate_menu_item_cb), (new_history_menu_item), (build_menu),
540 (ev_navigation_action_finalize):
541 * shell/ev-navigation-action.h:
542 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
543 (ev_view_go_forward), (ev_view_get_find_status_message),
544 (history_index_changed_cb), (ev_view_set_history):
546 * shell/ev-window.c: (update_total_pages), (ev_window_open),
547 (update_current_page), (register_custom_actions):
549 Implement history dropdowns
551 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
553 * shell/ev-history.c: (ev_history_init), (ev_history_add_link):
554 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
555 (ev_view_go_forward):
556 * shell/ev-window.c: (register_custom_actions):
558 Fix several history bugs
560 2005-01-11 Kjartan Maraas <kmaraas@gnome.org>
562 * configure.ac: Add «nb» to ALL_LINGUAS.
564 2005-01-10 Marco Pesenti Gritti <marco@gnome.org>
566 * backend/Makefile.am:
567 * backend/ev-bookmark.c:
568 * backend/ev-bookmark.h:
569 * backend/ev-document-bookmarks.c:
570 * backend/ev-document-bookmarks.h:
571 * backend/ev-document-links.c: (ev_document_links_get_type),
572 (ev_document_links_has_document_links),
573 (ev_document_links_begin_read), (ev_document_links_get_link),
574 (ev_document_links_get_child), (ev_document_links_next),
575 (ev_document_links_free_iter):
576 * backend/ev-document-links.h:
577 * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_title),
578 (ev_link_set_title), (ev_link_get_uri), (ev_link_set_uri),
579 (ev_link_get_link_type), (ev_link_set_link_type),
580 (ev_link_get_page), (ev_link_set_page), (ev_link_get_property),
581 (ev_link_set_property), (ev_window_dispose), (ev_link_init),
582 (ev_link_class_init), (ev_link_new_title), (ev_link_new_page),
583 (ev_link_new_external):
585 * pdf/xpdf/pdf-document.cc:
587 * shell/ev-application.c: (ev_application_open_link):
588 * shell/ev-application.h:
589 * shell/ev-history.c: (ev_history_add_link), (ev_history_add_page),
590 (ev_history_get_link_nth):
591 * shell/ev-history.h:
592 * shell/ev-sidebar-bookmarks.c:
593 * shell/ev-sidebar-bookmarks.h:
594 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
595 (ev_sidebar_links_class_init), (selection_changed_cb),
596 (ev_sidebar_links_construct), (ev_sidebar_links_init),
597 (links_page_num_func), (ev_sidebar_links_new), (stack_data_free),
598 (do_one_iteration), (populate_links_idle),
599 (ev_sidebar_links_clear_document), (ev_sidebar_links_set_document):
600 * shell/ev-sidebar-links.h:
601 * shell/ev-sidebar.c: (ev_sidebar_set_document):
602 * shell/ev-view.c: (go_to_link), (ev_view_go_to_link),
605 * shell/ev-window.c: (ev_window_open_link), (ev_window_init):
608 Rename bookmark to link, and use "Index" for the sidebar panel.
610 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
613 * shell/ev-application.c: (ev_application_open_bookmark):
614 * shell/ev-application.h:
615 * shell/ev-history.c: (ev_history_init), (free_links_list),
616 (ev_history_finalize), (ev_history_class_init),
617 (ev_history_add_link), (ev_history_add_page),
618 (ev_history_get_link_nth), (ev_history_get_n_links),
619 (ev_history_get_current_index), (ev_history_set_current_index),
621 * shell/ev-history.h:
622 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
623 * shell/ev-view.c: (ev_view_finalize), (ev_view_set_document),
624 (set_document_page), (go_to_bookmark), (ev_view_go_to_bookmark),
625 (go_to_index), (ev_view_go_back), (ev_view_go_forward),
628 * shell/ev-window.c: (ev_window_open_bookmark),
629 (ev_window_cmd_go_back), (ev_window_cmd_go_forward),
630 (goto_page_cb), (register_custom_actions):
633 Initial history implementation. Needs work.
635 2005-01-09 Martin Kretzschmar <martink@gnome.org>
637 * pdf/xpdf/GDKSplashOutputDev.cc (redraw): fix pixbuf data offset.
639 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
641 * cut-n-paste/recent-files/egg-recent-item.c:
642 * cut-n-paste/recent-files/egg-recent-item.h:
643 * cut-n-paste/recent-files/egg-recent-model.c:
644 * cut-n-paste/recent-files/egg-recent-util.c:
645 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
646 * cut-n-paste/recent-files/egg-recent-view.c:
650 2005-01-08 Martin Kretzschmar <martink@gnome.org>
652 * pdf/splash/Splash.cc (clear, drawPixel, drawSpan, xorSpan, getPixel)
653 (fillGlyph, fillImageMask, drawImage):
654 pdf/splash/SplashBitmap.cc (SplashBitmap, ~SplashBitmap, writePNMFile):
655 pdf/splash/SplashTypes.h:
656 pdf/xpdf/SplashOutputDev (startPage, getColor, imageSrc): implement RGB8
657 packed mode for Splash.
659 * pdf/xpdf/GDKSplashOutputDev.cc (GDKSplashOutputDev, redraw): use
660 RGB8 packed mode, eliminates the pixbuf data creation loop.
662 * shell/ev-print-job.c (ev_print_job_finalize)
663 (ev_print_job_set_property, ev_print_job_get_property)
664 (ev_print_job_set_gnome_print_job, ev_print_job_set_document)
665 (ev_print_job_use_print_dialog_settings, idle_print_handler)
666 (print_closure_finalize, ev_print_job_print): implement
667 printing (for backends with EvPsExporter)
669 * shell/ev_print_job.h: update prototypes.
671 * shell/ev-window.c (ev_window_print): unref print job after
674 * shell/ev-view.c (ev_view_set_document): don't connect to "found"
675 unless the document implements the EvDocumentFind interface.
677 2005-01-08 Satoru SATOH <ss@gnome.gr.jp>
679 * configure.ac: Added ja to ALL_LINGUAS.
681 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
683 * pdf/xpdf/pdf-document.cc:
685 add a FIXME. We should probably not allocate
686 a bookmark object every time
688 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
690 * shell/ev-application.c: (ev_application_open),
691 (ev_application_open_bookmark):
692 * shell/ev-application.h:
694 Add a way to open bookmarks
696 * backend/ev-bookmark.c: (ev_bookmark_get_uri),
697 (ev_bookmark_set_uri), (ev_bookmark_get_property),
698 (ev_bookmark_set_property), (ev_bookmark_class_init),
699 (ev_bookmark_new_title), (ev_bookmark_new_link),
700 (ev_bookmark_new_external):
702 Support for external uris, better constructors.
704 * backend/ev-bookmark.h:
705 * pdf/xpdf/pdf-document.cc:
706 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
710 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
712 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb),
713 (ev_sidebar_bookmarks_construct), (do_one_iteration):
715 Hook up bookmarks navigation
717 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
719 * backend/Makefile.am:
720 * backend/ev-bookmark.c: (ev_bookmark_type_get_type),
721 (ev_bookmark_get_title), (ev_bookmark_set_title),
722 (ev_bookmark_get_bookmark_type), (ev_bookmark_set_bookmark_type),
723 (ev_bookmark_get_page), (ev_bookmark_set_page),
724 (ev_bookmark_get_property), (ev_bookmark_set_property),
725 (ev_window_dispose), (ev_bookmark_init), (ev_bookmark_class_init),
727 * backend/ev-bookmark.h:
728 * backend/ev-document-bookmarks.c:
729 (ev_document_bookmarks_get_bookmark):
730 * backend/ev-document-bookmarks.h:
731 * pdf/xpdf/pdf-document.cc:
732 * shell/ev-sidebar-bookmarks.c: (do_one_iteration):
734 Add a bookmark object to the backend and use it instead of get_values
736 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
738 * data/evince-ui.xml:
740 Cleanup and add select all.
742 * shell/ev-view.c: (ev_view_select_all),
743 (ev_view_button_press_event):
745 * shell/ev-window.c: (ev_window_cmd_edit_select_all):
748 Clear selection on click.
750 Fri Jan 7 01:28:58 2005 Jonathan Blandford <jrb@redhat.com>
752 * shell/ev-sidebar-thumbnails.c
753 (ev_sidebar_thumbnails_set_document): forgot to unref the
756 Fri Jan 7 01:22:48 2005 Jonathan Blandford <jrb@redhat.com>
758 * shell/ev-sidebar-thumbnails.c: fill in the thumbnails starting
759 at the visible page, not just linearly. This makes it look fast.
761 Thu Jan 6 18:48:11 2005 Jonathan Blandford <jrb@redhat.com>
763 * backend/ev-document-misc.c
764 (ev_document_misc_get_thumbnail_frame): fill in the thumbnail with
766 * backend/ev-document-thumbnails.h: New interface to get the size
769 2005-01-06 Jeremy Katz <katzj@redhat.com>
771 * shell/Makefile.am (evince_SOURCES): Add ev-utils.[ch] so that
774 Wed Jan 5 15:38:28 2005 Jonathan Blandford <jrb@redhat.com>
776 * pdf/xpdf/pdf-document.cc (bitmap_to_pixbuf): bypass
777 GDKSplashOutputDev and just use a normal SplashOutputDev. Speeds
780 * shell/ev-sidebar-thumbnail.c: start of some profiling code.
782 2005-01-05 Martin Kretzschmar <martink@gnome.org>
784 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): match only outline
785 fonts. Should fix font problems on systems that have the base
786 fonts in bitmap format. Reported by James Henstridge
787 <james@jamesh.id.au>.
789 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
792 * pdf/xpdf/GfxState.cc:
794 Fix for CAN-2004-1125
796 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
798 * shell/ev-view.c: (ev_view_copy):
800 * shell/ev-window.c: (ev_window_cmd_edit_copy):
804 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
806 * backend/ev-document.c: (ev_document_get_text):
807 * backend/ev-document.h:
808 * pdf/xpdf/pdf-document.cc:
809 * shell/ev-view.c: (ev_view_realize), (expose_bin_window),
810 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
811 (ev_view_update_primary_selection), (ev_view_button_press_event),
812 (ev_view_motion_notify_event), (ev_view_button_release_event):
814 Beginnings of clipboard support. Incomplete but primary sort
817 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
819 * shell/ev-view.c: (ev_gdk_color_to_rgb), (draw_rubberband),
822 Nicer rubberband drawing, from GtkIconView.
824 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
826 * backend/ev-document.c: (ev_document_save):
827 * backend/ev-document.h:
828 * data/evince-ui.xml:
829 * pdf/xpdf/pdf-document.cc:
830 * shell/ev-window.c: (save_error_dialog), (ev_window_cmd_save_as):
832 Implement "Save a copy..." menu item
834 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
836 * shell/ev-view.c: (ev_view_zoom):
838 Queue a resize when zoom changes
840 Wed Jan 5 02:33:06 2005 Jonathan Blandford <jrb@redhat.com>
842 * backend/ev-document-misc.[ch]: New misc file to do simple drop
845 * pdf/xpdf/pdf-document.cc: use the drop shadows in both types of
848 Tue Jan 4 22:32:32 2005 Jonathan Blandford <jrb@redhat.com>
850 * pdf/xpdf/pdf-document.cc
851 (pdf_document_thumbnails_get_page_pixbuf): poor man's dropshadow.
853 Tue Jan 4 21:25:05 2005 Jonathan Blandford <jrb@redhat.com>
855 * pdf/xpdf/pdf-document.cc: Do real thumbnailing of PDF files.
856 It's slow, but I'll speed it up next!
858 2005-01-04 Jeff Muizelaar <jrmuizel@nit.ca>
860 * shell/main.c (load_files):
862 use gnome_vfs_make_uri_from_shell_arg so that relative paths work
863 from the command line and because it seems more appropriate.
865 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
867 * data/evince-ui.xml:
868 * shell/ev-window.c: (update_action_sensitivity),
869 (ev_window_cmd_go_page_up), (ev_window_cmd_go_page_down):
871 s/next page/page down
872 s/previous page/page up
874 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
876 * data/evince-ui.xml:
878 Change the layout to match clarkbw design.
881 * shell/ev-navigation-action.c: (build_menu), (menu_activated_cb),
882 (set_tooltip_cb), (connect_proxy), (ev_navigation_action_init),
883 (ev_navigation_action_finalize),
884 (ev_navigation_action_set_property),
885 (ev_navigation_action_get_property),
886 (ev_navigation_action_class_init):
887 * shell/ev-navigation-action.h:
889 Implement clarkbw toolbar navigation controls (incomplete)
891 * shell/ev-page-action.c: (update_label), (update_spin),
892 (value_changed_cb), (create_tool_item), (connect_proxy),
893 (ev_page_action_init), (ev_page_action_finalize),
894 (ev_page_action_set_property), (ev_page_action_get_property),
895 (ev_page_action_set_current_page),
896 (ev_page_action_set_total_pages), (ev_page_action_class_init):
897 * shell/ev-page-action.h:
899 Implement a page switcher in the toolbar
901 * shell/ev-view.c: (ev_view_scroll_view):
902 * shell/ev-window.c: (update_total_pages), (ev_window_open),
903 (update_current_page), (view_page_changed_cb), (goto_page_cb),
904 (register_custom_actions), (ev_window_init):
906 Change page on PageUp/Down.
908 Tue Jan 4 03:22:56 2005 Jonathan Blandford <jrb@redhat.com>
910 * pdf/xpdf/pdf-document.cc
911 (pdf_document_thumbnails_get_thumbnail): initial stab at
912 implementing thumbnail support for pdfs. It only does documents
913 with precached pdfs now.
915 Mon Jan 3 17:22:25 2005 Jonathan Blandford <jrb@redhat.com>
917 * shell/ev-sidebar-thumbnails.c (do_one_iteration): move the
918 thumbnail code into a time-based idle as well. Also, turn off the
919 shadow temporarily as it's really slow.
921 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
923 * backend/ev-document.c: (ev_document_class_init):
924 * pdf/xpdf/pdf-document.cc:
925 * shell/ev-window.c: (ev_window_open):
927 Fix document title bugs and fallback to
928 filename when not available.
930 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
932 * backend/ev-document.c: (ev_document_get_type),
933 (ev_document_class_init), (ev_document_load),
934 (ev_document_get_title):
935 * backend/ev-document.h:
936 * pdf/xpdf/pdf-document.cc:
937 * ps/ps-document.c: (ps_document_set_property),
938 (ps_document_get_property), (ps_document_class_init),
942 * shell/ev-window.c: (update_window_title), (ev_window_open),
945 Initial support for document title. Not working yet.
947 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
949 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event):
951 Grab focus on the view when clicking it
953 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
955 * shell/ev-marshal.list:
956 * shell/ev-view.c: (ev_view_realize), (add_scroll_binding),
957 (ev_view_scroll_view), (ev_view_class_init), (ev_view_init):
959 Add key bindings to the view. Now if the focus would work
962 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
965 * backend/Makefile.am:
968 * dvi/dvilib/Makefile.am:
969 * pdf/xpdf/Makefile.am:
975 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
977 * shell/ev-view.c: (ev_view_realize):
979 Fix mouse wheel scrolling
981 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
987 * ps/ps-document.c: (catchPipe), (ps_document_init),
988 (ps_document_class_init), (ps_document_cleanup),
989 (ps_document_finalize), (send_ps), (ps_document_get_orientation),
990 (set_up_page), (close_pipe), (is_interpreter_ready),
991 (interpreter_failed), (output), (input), (start_interpreter),
992 (stop_interpreter), (file_length), (file_readable),
993 (check_filecompressed), (check_pdf), (compute_xdpi),
994 (compute_ydpi), (compute_size), (ps_document_enable_interpreter),
995 (ps_document_get_type), (ps_document_emit_error_msg),
996 (document_load), (ps_document_next_page),
997 (ps_document_get_current_page), (ps_document_get_page_count),
998 (ps_document_goto_page), (ps_document_set_page_size),
999 (ps_document_zoom_to_fit), (ps_document_set_zoom),
1000 (ps_document_load), (ps_document_get_n_pages),
1001 (ps_document_set_page), (ps_document_get_page),
1002 (ps_document_widget_event), (ps_document_set_target),
1003 (ps_document_set_scale), (ps_document_set_page_offset),
1004 (ps_document_get_page_size), (ps_document_render),
1005 (ps_document_document_iface_init):
1008 * shell/ev-window.c: (ev_window_open):
1010 Rename GtkGS to PSDocument
1012 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
1014 * ps/gtkgs.c: (gtk_gs_class_init):
1017 Some more leftover...
1019 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
1021 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_get_orientation),
1022 (output), (stop_interpreter), (gtk_gs_emit_error_msg),
1023 (gtk_gs_zoom_to_fit), (gtk_gs_set_zoom):
1026 Remove unused code and make a lot of stuff private
1028 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
1030 * ps/gsdefaults.c: (gtk_gs_defaults_gconf_client),
1031 (gtk_gs_defaults_changed):
1037 Cleanup headers dependencies
1039 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
1044 * ps/gsdefaults.c: (gtk_gs_defaults_get_paper_sizes):
1046 * ps/gtkgs.c: (file_length), (file_readable),
1047 (check_filecompressed), (check_pdf), (gtk_gs_load),
1048 (gtk_gs_get_postscript):
1052 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
1057 * ps/gtkgs.c: (gtk_gs_set_zoom):
1061 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
1063 * ps/gtkgs.c: (gtk_gs_set_zoom), (gtk_gs_set_zoom_mode):
1065 Ensure the page is rerendered when changing zoom
1067 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
1069 * backend/ev-document.c: (ev_document_base_init),
1070 (ev_document_changed):
1071 * backend/ev-document.h:
1073 Add a changed event that is emitted when the page content
1074 changes. This is necessary to deal with the fact that
1075 in ps backend rendering happen asycrounously.
1076 This makes the ps backend mostly work.
1078 * pdf/xpdf/pdf-document.cc:
1082 * ps/gtkgs.c: (set_up_page), (gtk_gs_widget_event),
1083 (ps_document_set_target):
1087 * shell/ev-view.c: (document_changed_callback),
1088 (ev_view_set_document), (ev_view_set_page):
1090 Redraw on the changed signal
1092 2004-12-25 Raphael Higino <raphaelh@cvs.gnome.org>
1094 * configure.ac: Added pt_BR to ALL_LINGUAS.
1096 Fri Dec 24 00:48:44 2004 Jonathan Blandford <jrb@redhat.com>
1098 * backend/ev-document-bookmarks.c:
1099 (ev_document_bookmarks_get_child): *
1100 backend/ev-document-bookmarks.h: * pdf/xpdf/Makefile.am: *
1101 pdf/xpdf/pdf-document.cc: * pdf/xpdf/pdf-document.h: *
1102 shell/Makefile.am: * shell/ev-sidebar-bookmarks.c:
1103 (ev_sidebar_bookmarks_destroy),
1104 (ev_sidebar_bookmarks_class_init),
1105 (ev_sidebar_bookmarks_construct), (stack_data_free),
1106 (do_one_iteration), (populate_bookmarks_idle),
1107 (ev_sidebar_bookmarks_clear_document),
1108 (ev_sidebar_bookmarks_set_document): *
1109 shell/ev-sidebar-bookmarks.h: * shell/ev-sidebar.c:
1110 (ev_sidebar_add_page),
1111 (ev_sidebar_set_document): * shell/ev-window.c: (ev_window_open):
1112 Initial stab at a bookmarks sidebar. It doesn't navigate yet, but
1113 it displays both the topics and the page numbers.
1115 2004-12-23 Kristian Høgsberg <krh@redhat.com>
1117 * shell/ev-window.c (ev_window_view_sidebar_cb): Hook up sidebar
1119 * shell/ev-window.c (toggle_entries): Set sidebar default value to
1122 2004-12-23 Adam Weinberger <adamw@gnome.org>
1124 * configure.ac: Added en_CA to ALL_LINGUAS.
1126 2004-12-23 Martin Kretzschmar <martink@gnome.org>
1128 * ChangeLog: replace bottom of this ChangeLog (merged history of
1129 ggv and gpdf; where all paths were wrong and most of the files are
1130 not even in this tree) with ChangeLog (from arch) of the shell
1133 2004-12-23 Havoc Pennington <hp@redhat.com>
1135 * shell/ev-window.c: hook up potentially-questionable "find
1136 results status text" feature - something involving the sidebar or
1137 scrollbar or a continuous all-pages-on-giant-roll-of-paper-view
1138 might be better in the end.
1140 * shell/ev-view.c (ev_view_get_find_status_message): new function,
1141 with corresponding signal when it should be updated
1143 * shell/eggfindbar.c (egg_find_bar_set_status_text): new function
1145 2004-12-22 Havoc Pennington <hp@redhat.com>
1147 * pdf/xpdf/pdf-document.cc (pdf_document_find_begin): make search
1148 find stuff on other pages, sort of (only returns one result on
1149 invisible pages, to show they have results; updates full results
1150 for a page when you view it). Currently repaints the current page
1151 every time a new result is found on any page, which isn't so nice.
1153 2004-12-22 Havoc Pennington <hp@redhat.com>
1155 * shell/ev-window.c (ev_window_cmd_edit_find): display an error if
1156 the document doesn't support find (better ideas?)
1157 (find_bar_search_changed_cb): handle missing document or document
1158 that doesn't support find
1160 * pdf/xpdf/pdf-document.cc: port to implement the new
1163 * backend/ev-document-find.c: create a new interface for searching
1165 * backend/ev-document.h, backend/ev-document.c: delete the find stuff
1167 2004-12-23 Martin Kretzschmar <martink@gnome.org>
1169 * pdf/xpdf/Makefile.am (libpdfdocument_la_LIBADD): add
1172 * shell/ev-window.c (ev_window_print): add GnomePrintJob to
1173 EvPrintJob constructor arguments.
1175 * backend/ev-ps-exporter.c, backend/ev-ps-exporter.h: interface
1176 for documents that can export PostScript (page by page).
1178 * backend/Makefile.am (libevbackend_la_SOURCES): add them.
1180 * pdf/xpdf/pdf-document.cc (pdf_document_ps_export_begin)
1181 (pdf_document_ps_export_do_page, pdf_document_ps_export_end)
1182 (pdf_document_ps_exporter_iface_init:
1183 Implement EvPSExporter.
1185 * pdf/xpdf/Makefile.am (libxpdf_la_SOURCES): build PSOutputDev.
1187 2004-12-22 Anders Carlsson <andersca@gnome.org>
1189 * backend/Makefile.am:
1190 * backend/ev-document-thumbnails.c:
1191 (ev_document_thumbnails_get_type),
1192 (ev_document_thumbnails_get_thumbnail):
1193 * backend/ev-document-thumbnails.h:
1194 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
1195 (pixbuf_document_thumbnails_get_thumbnail),
1196 (pixbuf_document_document_thumbnails_iface_init):
1197 * shell/Makefile.am:
1198 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_destroy),
1199 (ev_sidebar_thumbnails_class_init), (ev_sidebar_thumbnails_init),
1200 (populate_thumbnails), (ev_sidebar_thumbnails_set_document):
1201 * shell/ev-sidebar-thumbnails.h:
1202 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
1203 (ev_sidebar_set_document):
1204 * shell/ev-utils.c: (gaussian), (create_blur_filter),
1205 (create_shadow), (ev_pixbuf_add_shadow):
1207 Add thumbnail support.
1209 2004-12-22 Martin Kretzschmar <martink@gnome.org>
1211 * shell/ev-window.c (ev_window_cmd_file_print, ev_window_print)
1212 (using_postscript_printer): Set up a print dialog for "PostScript
1215 * shell/ev-print-job.h, shell/ev-print-job.c: stub classes for
1218 * shell/Makefile.am (evince_SOURCES): add ev-print-job.[ch]
1220 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
1222 * ps/gtkgs.c: (gtk_gs_init), (set_up_page),
1223 (ps_document_set_target), (ps_document_get_page_size),
1224 (ps_document_render):
1229 2004-12-22 Christian Rose <menthos@menthos.com>
1231 * configure.ac: Added "sv" to ALL_LINGUAS.
1233 Wed Dec 22 14:47:38 2004 Jonathan Blandford <jrb@redhat.com>
1235 * backend/ev-document-bookmarks.[ch]: new interface to indicate
1236 document supports bookmarks.
1238 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
1240 * ps/ggvutils.c: (ggv_file_readable):
1242 * ps/gtkgs.c: (check_filecompressed), (check_pdf),
1243 (gtk_gs_get_postscript):
1247 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
1249 * ps/gtkgs.c: (gtk_gs_init), (gtk_gs_class_init), (gtk_gs_cleanup),
1250 (gtk_gs_finalize), (gtk_gs_set_center), (set_up_page), (output),
1251 (start_interpreter), (compute_size), (gtk_gs_enable_interpreter),
1252 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_reload),
1253 (gtk_gs_emit_error_msg), (gtk_gs_disable_interpreter),
1254 (gtk_gs_load), (gtk_gs_goto_page), (gtk_gs_set_page_size),
1255 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
1256 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
1257 (gtk_gs_set_antialiasing), (ps_document_load),
1258 (ps_document_render):
1261 Another check point for the ps backend. Now I can get it to show
1264 Wed Dec 22 13:41:01 2004 Jonathan Blandford <jrb@redhat.com>
1266 * shell/ev-sidebar.c (ev_sidebar_set_document): initial sidebar
1267 document setting code.
1269 2004-12-22 Anders Carlsson <andersca@gnome.org>
1271 * shell/eggfindbar.c: (entry_activate_callback):
1272 Animate the next button when activate is pressed.
1274 2004-12-22 Anders Carlsson <andersca@gnome.org>
1276 * shell/ev-window.c: (ev_window_cmd_edit_find),
1277 (update_fullscreen_popup), (ev_window_fullscreen),
1278 (ev_window_unfullscreen), (ev_window_state_event_cb),
1279 (ev_window_focus_out_cb), (find_bar_close_cb), (ev_window_init):
1280 Fix bugs in fullscreen code.
1282 2004-12-22 Anders Carlsson <andersca@gnome.org>
1286 * pixbuf/Makefile.am:
1287 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
1288 (pixbuf_document_load), (pixbuf_document_get_n_pages),
1289 (pixbuf_document_set_page), (pixbuf_document_get_page),
1290 (pixbuf_document_set_target), (pixbuf_document_set_scale),
1291 (pixbuf_document_set_page_offset), (pixbuf_document_get_page_size),
1292 (pixbuf_document_render), (pixbuf_document_begin_find),
1293 (pixbuf_document_end_find), (pixbuf_document_finalize),
1294 (pixbuf_document_class_init),
1295 (pixbuf_document_document_iface_init), (pixbuf_document_init):
1296 * pixbuf/pixbuf-document.h:
1297 * shell/Makefile.am:
1298 * shell/ev-application.c: (ev_application_open):
1299 * shell/ev-window.c: (mime_type_supported_by_gdk_pixbuf),
1303 Tue Dec 21 21:45:43 2004 Soeren Sandmann <sandmann@redhat.com>
1306 * dvi/dvilib/Makefile.am:
1308 * configure.ac: Auto*ify dvi and dvi/dvilib
1310 * dvi/Makefile: Remove from CVS
1312 * dvi/dvilib/dl-pkfont.cc (unpack_bitmap): Fix uchar/uint
1315 * dvi/dvilib/dl-fontdefinition.{cc,hh}: New DviFontMap class
1317 * dvi/dvilib/dl-vffont.{cc,hh}: Many bugfixes to VF code.
1319 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
1322 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_finalize),
1323 (gtk_gs_value_adjustment_changed), (compute_size),
1324 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_new_from_file),
1325 (gtk_gs_center_page), (gtk_gs_load), (gtk_gs_set_page_size),
1326 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
1327 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
1328 (gtk_gs_start_scroll), (gtk_gs_get_postscript),
1329 (gtk_gs_set_adjustments), (gtk_gs_set_available_size),
1330 (ps_document_load), (ps_document_get_n_pages),
1331 (ps_document_set_page), (ps_document_get_page),
1332 (ps_document_set_target), (ps_document_set_scale),
1333 (ps_document_set_page_offset), (ps_document_get_page_size),
1334 (ps_document_render), (ps_document_begin_find),
1335 (ps_document_end_find), (ps_document_document_iface_init):
1337 * shell/Makefile.am:
1338 * shell/ev-window.c: (ev_window_open):
1340 Some work to integrate gtkgs with EvDocument
1342 2004-12-22 Anders Carlsson <andersca@gnome.org>
1344 * shell/ev-window.c: (update_fullscreen_popup),
1345 (screen_size_changed_cb), (destroy_exit_fullscreen_popup),
1346 (exit_fullscreen_button_clicked_cb),
1347 (fullscreen_popup_size_request_cb), (ev_window_fullscreen),
1348 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
1349 (ev_window_state_event_cb), (ev_window_init):
1350 Add fullscreen support from Epiphany.
1352 2004-12-22 Mark McLoughlin <mark@skynet.ie>
1354 * data/ev-stock-zoom-fit-width.png: fit-width
1355 stock icon from gpdf.
1357 * shell/ev-stock-icons.[ch]: copied from gpdf.
1359 * shell/main.c: (main): init stock icons.
1361 * shell/ev-window.c: use the fit-width icon.
1363 * data/evince-ui.xml: add zooming toolbar items.
1365 2004-12-22 Mark McLoughlin <mark@skynet.ie>
1368 (ev_view_best_fit), (ev_view_fit_width): because
1369 get_page_size() returns the scaled page size, we
1370 need to calculate the scale factor relative to
1371 the previous scale factor. Should really just
1372 add get_real_page_size().
1374 2004-12-22 Mark McLoughlin <mark@skynet.ie>
1376 * shell/ev-view.[ch]:
1377 (ev_view_zoom), (ev_view_zoom_in), (ev_view_zoom_out),
1378 (ev_view_normal_size), (ev_view_best_fit), (ev_view_fit_width):
1381 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
1382 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_normal_size),
1383 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width):
1386 * pdf/xpdf/pdf-document.cc:
1387 (pdf_document_begin_find),
1388 (pdf_document_end_find): make static.
1390 2004-12-22 Martin Kretzschmar <martink@gnome.org>
1392 * pdf/xpdf/GlobalParams.h (setupBaseFontsFc): add prototype.
1394 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): maps base font
1395 names to fontconfig patterns.
1396 (setupBaseFontsFc): setupBaseFonts reimplemented using fontconfig.
1398 * pdf/xpdf/pdf-document.cc (pdf_document_load): use
1401 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
1417 Import ggv backend. Not hooked up yet.
1419 2004-12-22 Mark McLoughlin <mark@skynet.ie>
1421 * shell/main.c: (load_files), (main): load files
1422 from the command line.
1424 2004-12-22 Mark McLoughlin <mark@skynet.ie>
1426 * configure.ac: don't require bonobo.
1428 * cut-n-paste/recent-files/*: kill bonobo recent
1431 * shell/ev-window.c:
1432 (ev_window_is_empty): upd.
1433 (unable_to_load), (ev_window_open): load backend
1434 based on the mime type.
1436 2004-12-22 Martin Kretzschmar <martink@gnome.org>
1438 * backend/.cvsignore: ignore generated marshalers source.
1440 * shell/main.c (main): this is not epiphany.
1442 2004-12-22 Havoc Pennington <hp@redhat.com>
1444 * shell/ev-view.c (ev_view_set_document): connect to "found" signal
1445 (expose_bin_window): draw find highlights
1447 * shell/ev-window.c (find_bar_search_changed_cb): implement
1449 * pdf/xpdf/pdf-document.cc (pdf_document_begin_find)
1450 (pdf_document_end_find): implement this interface
1452 * backend/ev-document.c (ev_document_found): add this to emit
1455 Tue Dec 21 23:57:37 2004 Owen Taylor <otaylor@redhat.com>
1457 * data/evince-ui.xml: Add a few more toolbar items.
1459 * shell/ev-window.c: Hook up page navigation toolbar
1462 * shell/ev-view.[ch]: add ev_view_set/get_page and
1463 a page-changed signal.
1465 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc::
1466 Add ev_document_get_page().
1468 * shell/ev-window.c: Sensitize/desensitize navigation
1471 2004-12-21 Havoc Pennington <hp@redhat.com>
1473 * backend/ev-backend-marshal.c,
1474 backend/ev-backend-marshalers.list, backend/Makefile.am: add
1475 marshaler-generator thingy. I'm sure there's a better way to do
1476 this in the modern world.
1478 * backend/ev-document.h (struct _EvDocumentIface): add begin_find,
1479 end_find methods and "found" signal.
1481 * configure.ac: find glib-genmarshal
1483 Tue Dec 21 23:20:35 2004 Jonathan Blandford <jrb@redhat.com>
1485 * shell/ev-sidebar.c: Construct an actual sidebar.
1486 * shell/ev-sidebar-bookmarks.[ch]:
1487 * shell/ev-sidebar-thumbnails.[ch]: Stub out sidebars.
1489 Tue Dec 21 23:05:51 2004 Owen Taylor <otaylor@redhat.com>
1491 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc:
1494 * shell/ev-view.c: Track the size from the document.
1496 Tue Dec 21 22:17:04 2004 Owen Taylor <otaylor@redhat.com>
1498 * pdf/xpdf/pdf-document.cc (pdf_document_load): PDFDoc
1499 constructor assumes ownership of the string passed in.
1501 * shell/ev-window.c (ev_window_open): Destroy the error
1502 dialog once we've displayed it.
1504 Tue Dec 21 21:58:56 2004 Owen Taylor <otaylor@redhat.com>
1506 * pdf/xpdf/pdf-document.cc shell/ev-view.c: Hook things up
1507 a bit, it works! (sort of)
1509 * pdf/xpdf/Makefile.am pdf/xpdf/pdf-document.cc:
1510 Move to .cc since we need to use C++ in the implementation.
1512 * shell/dummy.cc: Add a CC file to force evince
1513 to be linked as a C++ program.
1515 Tue Dec 21 21:07:55 2004 Owen Taylor <otaylor@redhat.com>
1517 * shell/ev-view.[ch]: Start of content-area widget.
1519 * shell/ev-window.c: Create a EvView, update it
1520 as we change documents.
1522 * shell/Makefile.am shell/ev-marshal.list: Add
1523 generated marshalers.
1525 Tue Dec 21 20:28:11 2004 Jonathan Blandford <jrb@redhat.com>
1527 * Makefile.am (SUBDIRS): move shell.
1529 Tue Dec 21 19:28:55 2004 Owen Taylor <otaylor@redhat.com>
1531 * pdf/{goo,fofi,splash,xpdf}/Makefile.am: Switch from
1532 .a to libtool convenience libraries.
1534 * shell/ev-window.c (ev_window_open): Hard code loading
1537 * backend/ev-document.h: Add a boolean return to load(),
1538 fix GError * to GError **.
1540 * pdf/xpdf/pdf-document.[ch] Makefile.am: Add a stub
1541 object for a PDF backend EvDocument.
1543 Tue Dec 21 18:55:06 2004 Søren Sandmann <sandmann@redhat.com>
1545 * dvi/*: New directory with the beginning of a .dvi backend.
1547 2004-12-21 Havoc Pennington <hp@redhat.com>
1549 * shell/eggfindbar.c (egg_find_bar_init): change buttons to
1550 previous/next instead of back/forward
1552 Tue Dec 21 18:26:24 2004 Owen Taylor <otaylor@redhat.com>
1554 * backend/ev-document.[ch]: Fix a couple of problems so
1557 Tue Dec 21 18:20:40 2004 Owen Taylor <otaylor@redhat.com>
1559 * viewer/* backend/* configure.ac Makefile.am: Move viewer directory
1560 to backend/ directory, rename EvViewer to EvDocument.
1562 2004-12-21 Havoc Pennington <hp@redhat.com>
1564 * shell/ev-window.c: hook up the find bar widget; now we just need
1565 a document to find things in
1567 * shell/eggfindbar.c: a find bar widget
1569 Tue Dec 21 17:20:16 2004 Jonathan Blandford <jrb@redhat.com>
1571 * shell/ev-sidebar.[ch]: initial sidebar boilerplate.
1573 Tue Dec 21 16:30:58 2004 Owen Taylor <otaylor@redhat.com>
1575 * pdf/**: Import of xpdf code from gpdf.
1577 * pdf/xpdf/xpdfconfig.h: Move the non-config.h config.h to xpdfconfig.h
1579 * pdf/splash/SplashFTFont.{cc,h} pdf/splash/SplashFTFont.h
1580 pdf/splash/SplashFTFontEngine.h pdf/splash/SplashFTFontFile.h:
1581 Fix FreeType includes.
1583 * pdf/xpdf/{Error.h GnomeVFSStream.cc ImageOutputDev.cc PDFDoc.cc\
1584 pdffonts.cc pdfimages.cc pdfinfo.cc pdftoppm.cc pdftops.cc
1585 pdftotext.cc PSOutputDev.cc PSOutputDev.h SplashOutputDev.h
1586 Stream.cc TextOutputDev.cc XPDFApp.cc xpdf.cc XPDFViewer.cc
1587 pdf/xpdf/Error.h PSOutputDev.h SplashOutputDev.h}:
1588 Include xpdfconfig.h
1590 Tue Dec 21 16:08:17 2004 Jonathan Blandford <jrb@redhat.com>
1592 * shell/ev-window.c (ev_window_dispose): dispose can be called
1595 2004-12-21 Havoc Pennington <hp@redhat.com>
1597 * shell/ev-window.c (ev_window_init): set title to Document Viewer
1600 * data/evince-ui.xml, shell/ev-window.c: add a bunch of stub menu
1601 items; really they should be synced with the strings, etc. from
1602 current gpdf, but just getting the boring typing out of the way
1604 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
1607 * shell/ev-application.c: (window_destroy_cb):
1608 * shell/ev-window.c:
1609 * shell/main.c: (main):
1611 Actually show the window...
1613 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
1616 * shell/Makefile.am:
1617 * shell/ev-application.c: (ev_application_class_init):
1618 * shell/ev-window.c: (ev_window_dispose), (ev_window_class_init):
1622 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
1624 Import to gnome cvs.
1626 * Remove copies of gpdf and ggv trees.
1627 * Rip out all the recursive configure code.
1628 * Remove bonobo machinery.
1629 * viewer/*: GInterfaces that backends should/can implement.
1631 2004-11-09 Martin Kretzschmar <m_kretzschmar@gmx.net>
1633 * shell/ev-window.c (ev_window_cmd_help_about): fix "documentors"
1636 2004-10-28 Martin Kretzschmar <m_kretzschmar@gmx.net>
1638 * shell/ev-application.c (EV_APPLICATION_GET_PRIVATE)
1639 (ev_application_finalize, ev_application_class_init)
1640 (ev_application_init): use GType instance private data for priv.
1642 * shell/ev-window.c (EV_WINDOW_GET_PRIVATE)
1643 (ev_window_finalize, ev_window_class_init)
1644 (ev_window_init): ditto.
1646 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
1648 * shell/ev-application.c (ev_application_new_window): make public
1649 (ev_application_show_initial_window): kill.
1651 * shell/ev-application.h: update prototypes.
1653 * shell/main.cc (main): inline ev_application_show_initial_window.
1655 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
1657 * shell/ev-application.c (ev_application_new_window): impl.
1658 (ev_application_show_initial_window): use it.
1659 (is_window_empty, ev_application_get_empty_window): returns an
1660 existing empty window or a new one.
1661 (ev_application_open): from ev_window_cmd_file_open.
1663 * shell/ev-application.h: update prototypes
1665 * shell/ev-window.c (ev_window_is_empty): impl.
1666 (ev_window_open): make public.
1667 (ev_window_cmd_file_open): use ev_application_open
1669 * shell/ev-window.h: update prototypes, remove unused.
1671 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
1673 * shell/ev-window.c (ev_window_destroy, ev_window_class_init):
1674 move destroy handler out of here...
1676 * shell/ev-application.c, shell/ev-application.h: ...into this new
1677 class. Also handles initial window creation.
1679 * shell/main.cc (main): use EvApplication to create initial
1682 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
1684 * Makefile.am (SUBDIRS): add cut-n-paste
1686 * cut-n-paste/Makefile.am: add
1688 * configure.ac: generate Makefiles in cut-n-paste
1690 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
1692 * shell/ev-window.c (ev_window_dispose): new, unref the ui_manager
1693 (ev_window_class_init): install ev_window_dispose.
1695 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
1697 * shell/ev-window.h, shell/ev-window.c: replace gchar with
1698 char (gchar looks stupid).
1700 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
1702 * po/de.po: updated German translation.
1704 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
1706 * configure.ac: add more pkg-config library checks for gnome-vfs,
1709 * gpdf/configure.in: temporarily disable libpaper
1710 checks. Otherwise I'd have to add the checks for the shell, too.
1712 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1714 * shell/ev-window.c (ev_window_cmd_file_open): add ps+pdf, ps, pdf
1715 and * file filters to the file choose.
1717 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1719 * po/de.po: Updated German translation.
1721 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1723 * shell/ev-window.c: use "S" as mnemonic for Statusbar.
1725 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1727 * data/evince-ui.xml: add View->Toolbar and View->Statusbar.
1729 * shell/ev-window.c (menu_item_select_cb, menu_item_select_cb)
1730 (ev_window_init): implement those menuitems.
1732 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1734 * data/evince-ui.xml: add a toolbar (with FileOpen action)
1736 * shell/ev-window.c (ev_window_init): use the toolbar.
1738 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1740 * shell/ev-window.c (ev_window_init): use menu translations
1742 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1744 * configure.ac: add "de" to ALL_LINGUAS.
1746 * po/de.po: add German translation.
1748 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1750 * Makefile.am (SUBDIRS): add po
1752 * configure.ac: check intltool, glib-gettext etc, generate
1755 * po, po/POTFILES.in, po/POTFILES.skip: new.
1757 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1759 * shell/Makefile.am (INCLUDES): define GNOMELOCALEDIR which we
1760 already use (#ifdef ENABLE_NLS)
1762 * shell/ev-window.c (ev_window_cmd_help_about): fix two star
1763 pointer indirection thinko.
1765 * shell/main.c: include gi18n.h for bindtextdomain etc.
1767 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1769 * shell/ev-window.c (menu_item_select_cb, menu_item_deselect_cb)
1770 (connect_proxy_cb, disconnect_proxy_cb, ev_window_init): show
1771 tooltips for menu items in the statusbar.
1773 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1775 * configure.ac, data/Makefile.am, shell/Makefile.am: use
1776 pkgdatadir drop UIDIR
1778 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1780 * data/evince-ui.xml: Add File->Open menu item
1782 * shell/ev-window.c (ev_window_cmd_file_open): impl. (shows a file
1783 chooser), hook it up in the ui manager.
1785 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1787 * shell/ev-window.c: fix Help->About tooltip.
1789 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1791 * configure.ac: set CFLAGS for libevprivate.
1793 * lib/ev-stock-icons.h, lib/ev-stock-icons.c: stock icon
1794 definitions, factory etc.
1796 * lib/Makefile.am: build libevprivate.a (only stock icon code).
1798 * shell/Makefile.am: link against libevprivate.a.
1800 * shell/ev-window.c (entries): add stock icon to Help->About.
1802 * shell/main.c (main): init stock icon code.
1804 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1806 * lib/recent-files: egg recent files code
1808 * lib/Makefile.am: add.
1810 * Makefile.am: add lib subdir.
1812 * configure.ac: gen. lib/Makefile and lib/recent-files/Makefile,
1813 set CFLAGS for recent-files.
1815 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1817 * configure.ac: disable -ansi and -pedantic gcc flags. They
1818 disable POSIX stuff in stdio.h, but egg-recent uses them.
1820 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1822 * configure.ac: add --disable-deprecated flag (defaults to on in
1825 * shell/Makefile.am (INCLUDES): use it.
1827 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1829 * shell/main.c: add missing #include.
1831 * shell/ev-window.c: fix for pedantic gcc.
1832 (ev_window_cmd_help_about): split license into paragraphs for
1833 translators and pedantic compilers.
1835 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1837 * configure.ac: add more warning flags if compiling with gcc from
1838 cvs (or explicitly requested with --enable-more-warnings).
1840 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1842 * data/evince-ui.xml: add File and File->Close menu.
1844 * shell/ev-window.c (ev_window_cmd_file_close_window): impl.
1845 (ev_window_destroy): quit after destroy.
1846 (ev_window_class_init): override GtkObject::destroy.
1847 (entries): install close_window callback.
1849 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1851 * Makefile.am (SUBDIRS): add data subdir.
1853 * configure.ac (UIDIR): gen data/Makefile, define UIDIR. Require
1854 gtk+ 2.5.0 for GtkAboutDialog.
1856 * data/Makefile.am, data/evince-ui.xml: add, ui definition for the
1859 * shell/Makefile.am (INCLUDES): propagate UIDIR definition.
1861 * shell/ev-window.c (ev_window_init): create a menubar, using a ui
1863 (ev_window_cmd_help_about): about command, using GtkAboutDialog.
1865 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1867 * shell/ev-window.c, shell/ev-window.h: Created an EvWindow class.
1869 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
1871 * shell/main.c: make it a trivial gtk+ program, adjust configure.ac
1873 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
1875 * shell/*: Added shell directory boilerplate, build it.
1877 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
1879 * configure.ac, Makefile.am: Added top-level configure.ac and