1 2005-02-07 Jordi Mallach <jordi@sindominio.net>
3 * configure.ac (ALL_LINGUAS): Added "ca" (Catalan).
5 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
11 Add another check for find interface
15 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
17 * shell/ev-application.c: (ev_application_open):
18 * shell/ev-window.c: (ev_window_open):
20 Open gzipped ps documents
22 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
25 * shell/ev-view.c: (set_document_page):
27 Clamp page number, dont try to move to
30 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
32 * backend/ev-document-find.c: (ev_document_find_changed):
33 * backend/ev-document-find.h:
34 * pdf/xpdf/pdf-document.cc:
35 * shell/ev-view.c: (jump_to_find_result), (ev_view_set_document):
36 * shell/ev-window.c: (find_bar_search_changed_cb):
38 Fix several bugs with find
40 2005-02-04 Martin Kretzschmar <martink@gnome.org>
42 * shell/ev-sidebar-thumbnails.c
43 (ev_sidebar_thumbnails_select_page): do nothing unless we have a
44 document. Prevents warning from scroll_to_cell.
46 2005-02-02 Kjartan Maraas <kmaraas@gnome.org>
48 * configure.ac: Add «nb» to ALL_LINGUAS too.
50 Wed Feb 2 21:13:11 2005 Jonathan Blandford <jrb@redhat.com>
52 * NOTES: New file with some random thoughts.
56 * backend/ev-document-misc.c:
57 (ev_document_misc_get_page_border_size): New function to
58 canonicalize shadow drawing sizes. Possibly goofy.
60 * shell/ev-view.c: (ev_view_size_request), (set_document_page),
61 (ev_view_best_fit), (ev_view_fit_width):
62 * pdf/xpdf/pdf-document.cc:
63 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
64 * ps/ps-document.c: (ps_document_get_page_size):
65 * backend/ev-document-misc.h:
66 * backend/ev-document.c: (ev_document_get_page_size):
67 * backend/ev-document.h: get_page_size now takes a page number
68 parameter. Made all the backends/frontends honor it.
70 * data/evince-ui.xml: Added a multiple-page mode. Uncomment to
71 see. Doesn't work yet.
74 * shell/ev-page-view.[ch]: New multi-page view. Really rough.
75 Doesn't do anything yet.
77 * shell/ev-sidebar-thumbnails.c:
78 (ev_sidebar_thumbnails_set_document): [1..n_pages] instead of
81 * shell/ev-window.c: (update_action_sensitivity),
82 (ev_window_setup_document), (ev_window_set_page_mode),
83 (ev_window_page_mode_cb), (ev_window_init): Clean up the
84 view-swapping code a bit so we can have multiple views on a
85 document. Add the multi-page view, though it can't be turned on
88 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
90 * shell/ev-application.c: (ev_application_open):
91 * shell/ev-view.c: (expose_bin_window):
92 * shell/ev-window.c: (ev_window_open):
94 Support eps and check document supports find
95 before drawing highlightings in expose.
97 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
99 * pixbuf/pixbuf-document.c:
100 (pixbuf_document_thumbnails_get_dimensions),
101 (pixbuf_document_document_thumbnails_iface_init):
103 implement get_dimensions
105 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
112 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
114 * shell/ev-view.c: (set_document_page):
116 Scroll at the top of the page when changing page
118 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
120 * shell/ev-view.c: (ev_view_motion_notify_event):
122 Do not redraw unnecessarily
124 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
126 * pdf/xpdf/pdf-document.cc:
127 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
128 (expose_bin_window), (find_changed_cb):
130 Yay! find works now... Now to find bugs...
132 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
134 * backend/ev-document-find.c: (ev_document_find_base_init),
135 (ev_document_find_changed):
136 * backend/ev-document-find.h:
137 * pdf/xpdf/pdf-document.cc:
138 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
139 (expose_bin_window), (ev_view_init), (set_document_page),
140 (ensure_rectangle_is_visible), (jump_to_find_result),
141 (jump_to_find_page), (find_changed_cb), (ev_view_set_document),
142 (ev_view_find_next), (ev_view_find_previous):
144 * shell/ev-window.c: (find_bar_previous_cb), (find_bar_next_cb):
146 More work on find implementation, mostly there now
148 2005-01-29 Marco Pesenti Gritti <marco@gnome.org>
150 * backend/ev-backend-marshalers.list:
151 * backend/ev-document-find.c: (ev_document_find_base_init),
152 (ev_document_find_cancel), (ev_document_find_page_has_results),
153 (ev_document_find_get_n_results), (ev_document_find_get_result),
154 (ev_document_find_get_progress), (ev_document_find_changed):
155 * backend/ev-document-find.h:
157 Enanche the find interface to be really able to do
160 * pdf/xpdf/pdf-document.cc:
164 * shell/ev-view.c: (ev_view_finalize), (highlight_find_results),
165 (expose_bin_window), (ev_view_init),
166 (ev_view_get_find_status_message), (find_changed_cb),
167 (ev_view_set_document), (set_document_page):
169 Adapt to the new interface. A few things are regressed sorry,
170 I will finish it soon.
172 2005-01-28 Martin Kretzschmar <martink@gnome.org>
174 * shell/ev-sidebar-thumbnails.c (ev_sidebar_thumbnails_destroy)
175 (ev_sidebar_thumbnails_class_init): use G_DEFINE_TYPE-supplied
176 ev_sidebar_thumbnails_parent_class variable, don't define another
177 parent_class variable.
179 * shell/ev-page-action.c (connect_proxy, ev_page_action_finalize)
180 (ev_page_action_class_init): ditto.
182 * pixbuf/pixbuf-document.c (pixbuf_document_finalize)
183 (pixbuf_document_class_init): ditto.
185 * backend/ev-link.c (ev_window_dispose, ev_link_class_init):
188 * .cvsignore: ignore various valgrind output files.
190 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
192 * data/evince-ui.xml:
194 * shell/ev-history.c:
195 * shell/ev-history.h:
196 * shell/ev-navigation-action.c:
197 * shell/ev-navigation-action.h:
198 * shell/ev-view.c: (ev_view_finalize), (ev_view_go_to_link),
199 (ev_view_set_page), (ev_view_fit_width):
201 * shell/ev-window.c: (update_action_sensitivity),
202 (ev_window_setup_document), (register_custom_actions):
206 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
208 * shell/ev-window.c: (update_action_sensitivity):
210 Fix inverted up/down buttons
212 2005-01-27 Martin Kretzschmar <martink@gnome.org>
214 * shell/ev-sidebar-thumbnails.c
215 (ev_sidebar_thumbnails_select_page): make sure the selected
216 thumbnail stays visible.
218 2005-01-26 Martin Kretzschmar <martink@gnome.org>
220 * shell/ev-window.c (ev_window_init): add GTK_SHADOW_IN to the
221 scrolled window for Federico.
223 2005-01-26 Ole Laursen <olau@hardworking.dk>
225 * configure.ac: Added "da" (Danish) to ALL_LINGUAS.
227 2005-01-26 Marco Pesenti Gritti <marco@gnome.org>
230 * pdf/splash/SplashFTFontEngine.cc:
232 Fix CID fonts with freetype 2.1.9
234 2005-01-26 Bryan Clark <clarkbw@cvs.gnome.org>
236 * TODO: added item for desktop icon thumbnailer
238 Tue Jan 25 00:59:34 2005 Jonathan Blandford <jrb@redhat.com>
240 * pdf/xpdf/pdf-document.cc (pdf_document_get_title): guard against
241 unloaded docs when the title is accessed.
243 * shell/ev-password-view.[hc]: New widget for displaying password
246 * shell/ev-window.[ch]: Refactor password handling code to handle
249 2005-01-24 Marco Pesenti Gritti <marco@gnome.org>
257 2005-01-23 Stephane LOEUILLET <stephane.loeuillet@tiscali.fr>
259 * pdf/xpdf/pdf-document.cc (pdf_document_search_page_changed):
260 ignore page offset here, to make search results independent of it,
262 * shell/ev-view.c (expose_bin_window): but take offsets into
263 account here. Bug #164932
265 * pdf/xpdf/pdf-document.cc (pdf_document_get_link): divide by
266 scale at the right time. Bug #164996
268 2005-01-22 Martin Kretzschmar <martink@gnome.org>
270 * pdf/xpdf/GlobalParams.cc: My 2005-01-05 change didn't actually
271 fix the problem. Now I just removed the Adobe font names and hope
272 that the URW fonts are always in outline format. Bug #164934
274 * shell/ev-window.c (update_window_title): empty titles are
275 useless, use filename in that case too.
277 * NEWS: Add some content.
279 2005-01-21 Bryan Clark <clarkbw@cvs.gnome.org>
281 * TODO: added one more TODO item and a TODONE section :)
283 2005-01-21 Martin Kretzschmar <martink@gnome.org>
285 * ps/ps-document.h: add page_[xy]_offset fields.
287 * ps/ps-document.c (ps_document_set_page_offset)
288 (ps_document_render): Keep offset in consideration in a few
289 places. Bug #164752 "postscript documents are not centered in
292 * data/evince.desktop.in (X-GNOME-Bugzilla-Product):
293 s/gpdf/evince/. Spotted by Stephane Loeuillet.
295 * pixbuf/pixbuf-document.c (pixbuf_document_get_n_pages)
296 (pixbuf_document_get_text, pixbuf_document_document_iface_init):
297 stub out missing methods for complete EvDocument implementation.
298 Fixes segfaults with Save A Copy and Copy actions.
300 * ps/ps-document.c (ps_document_save, ps_document_get_text)
301 (ps_document_document_iface_init): ditto.
303 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
307 * data/evince.desktop.in:
311 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
313 * shell/ev-view.c: (ev_view_button_press_event),
314 (ev_view_motion_notify_event):
316 Make selection work in any direction
318 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
321 * shell/ev-window.c: (set_short_labels), (ev_window_init):
323 Use shorter labels for some of the toolbars items
325 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
327 * pdf/xpdf/pdf-document.cc:
329 Check the links info is initialized before
330 using it. Should fix a crash on startup.
332 2005-01-21 Martin Kretzschmar <martink@gnome.org>
334 * pixbuf/pixbuf-document.c
335 (pixbuf_document_thumbnails_get_dimensions): force floating point
336 division to calculate page_ratio. Fixes crash with landscape
339 Thu Jan 20 18:56:35 2005 Jonathan Blandford <jrb@redhat.com>
341 * shell/ev-view.c (ev_view_realize): make the bg color darker.
343 2005-01-20 Martin Kretzschmar <martink@gnome.org>
345 * shell/ev-view.c (set_document_page): unset has_selection when
347 (set_document_page): handle paper size changes when the page
348 changes (test with Free Culture, page 2).
350 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
352 * shell/ev-view.c: (ev_view_size_request), (ev_view_realize),
353 (expose_bin_window), (ev_view_class_init), (ev_view_init):
355 Use normal style color for the widget background and
356 draw a black box around the page.
358 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
360 * pdf/xpdf/pdf-document.cc:
362 Keep offset in consideration in a few places
364 * shell/ev-view.c: (expose_bin_window):
366 Set the offsets so that the document is ever centered
368 2005-01-20 Bryan Clark <clarkbw@cvs.gnome.org>
370 * TODO: Added TODO items and finished off the first todo item
372 * AUTHORS: Updated AUTHORS section with piece from gpdf file and
373 reflect current authors
375 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
377 * pdf/xpdf/pdf-document.cc:
378 * shell/ev-view.c: (ev_view_set_cursor),
379 (ev_view_motion_notify_event), (document_changed_callback),
382 Show a wait cursor while the page is rendering
384 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
386 * shell/ev-sidebar-thumbnails.c:
387 (ev_sidebar_tree_selection_changed),
388 (ev_sidebar_thumbnails_select_page):
389 * shell/ev-sidebar-thumbnails.h:
390 * shell/ev-view.c: (ev_view_set_document), (ev_view_can_go_back),
391 (ev_view_can_go_forward):
392 * shell/ev-window.c: (ev_window_open_page),
393 (ev_window_setup_document), (update_current_page),
394 (view_page_changed_cb), (ev_window_init):
397 Ensure thumbnails selection, toolbar page control and
398 current page are in sync.
400 2005-01-19 Marco Pesenti Gritti <marco@gnome.org>
406 Wed Jan 19 01:10:57 2005 Jonathan Blandford <jrb@redhat.com>
408 * backend/Makefile.am:
409 * backend/ev-document-links.h:
410 * backend/ev-document-security.c: (ev_document_security_get_type),
411 (ev_document_security_has_document_security),
412 (ev_document_security_set_password):
413 * backend/ev-document-security.h:
414 * backend/ev-document.c: (ev_document_error_quark):
415 * backend/ev-document.h:
417 * data/evince-password.glade:
418 * pdf/xpdf/pdf-document.cc:
420 * shell/ev-password.c: (ev_password_set_bad_password_label),
421 (ev_window_password_entry_changed_cb), (ev_password_dialog_new),
422 (ev_password_dialog_get_password),
423 (ev_password_dialog_set_bad_pass):
424 * shell/ev-password.h:
425 * shell/ev-window.c: (ev_window_get_attribute),
426 (ev_window_set_property), (update_action_sensitivity),
427 (ev_window_is_empty), (mime_type_supported_by_gdk_pixbuf),
428 (ev_window_setup_document), (ev_window_get_password),
429 (ev_window_open), (ev_window_cmd_save_as),
430 (using_postscript_printer), (ev_window_print),
431 (find_not_supported_dialog), (ev_window_cmd_edit_find),
432 (update_fullscreen_popup), (ev_window_fullscreen),
433 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
434 (ev_window_focus_out_cb), (ev_window_cmd_help_about),
435 (menu_item_select_cb), (find_bar_search_changed_cb),
436 (ev_window_dispose), (ev_window_init):
438 Add initial support for password-supported dialogs. This could be
439 a lot cooler, but it'll do for now.
441 2005-01-18 Marco Pesenti Gritti <marco@gnome.org>
443 * pdf/xpdf/pdf-document.cc:
444 * shell/ev-view.c: (status_message_from_link),
445 (ev_view_set_status), (ev_view_set_cursor),
446 (ev_view_motion_notify_event), (ev_view_init):
447 * shell/ev-window.c: (view_status_changed_cb), (ev_window_init):
449 Fix bugs in the links implementation and change cursor
450 when hovering a link.
452 2005-01-17 Bryan Clark <clarkbw@cvs.gnome.org>
454 * viewer/.cvsignore: added cvsignore file for viewer directory
456 * TODO: created TODO document
458 2005-01-14 Dave Malcolm <dmalcolm@redhat.com>
461 * shell/ev-view.c (ev_view_can_go_back), (ev_view_can_go_forward):
462 new functions to help with implementation of sensitivity code
463 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
464 of all actions that might require it. Fixes a crash when you
465 click on the Zoom actions in a window lacking a document.
467 2005-01-13 Dave Malcolm <dmalcolm@redhat.com>
469 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
472 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
474 * pixbuf/pixbuf-document.c: (pixbuf_document_get_link),
475 (pixbuf_document_document_iface_init):
476 * ps/ps-document.c: (ps_document_get_link),
477 (ps_document_document_iface_init):
478 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event),
479 (status_message_from_link), (ev_view_set_status),
480 (ev_view_set_find_status), (ev_view_motion_notify_event),
481 (ev_view_button_release_event), (ev_view_set_property),
482 (ev_view_get_property), (ev_view_class_init), (ev_view_init),
483 (ev_view_get_find_status_message), (update_find_results),
484 (ev_view_get_status), (ev_view_get_find_status):
486 * shell/ev-window.c: (view_status_changed_cb),
487 (view_find_status_changed_cb), (ev_window_init):
489 View status message support, use it to show the links.
492 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
494 * backend/ev-document.c: (ev_document_get_link):
495 * backend/ev-document.h:
496 * pdf/xpdf/pdf-document.cc:
497 * shell/ev-application.c: (ev_application_open):
498 * shell/ev-application.h:
499 * shell/ev-sidebar-links.c: (selection_changed_cb):
500 * shell/ev-view.c: (ev_view_button_release_event), (go_to_link),
501 (ev_view_go_to_link):
503 Add support for document links
505 2005-01-13 Anders Carlsson <andersca@gnome.org>
507 * shell/ev-page-action.c: (update_spin), (total_pages_changed_cb),
509 Set the spin button limits correctly.
511 * shell/ev-sidebar-thumbnails.c:
512 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init):
513 Support changing pages by clicking on the thumbnails.
515 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
517 * pixbuf/pixbuf-document.c:
518 (pixbuf_document_thumbnails_get_dimensions),
519 (pixbuf_document_document_thumbnails_iface_init):
521 implement get_dimensions
523 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
525 * ps/ps-document.c: (ps_document_goto_page):
527 Fix page switching on multipage documents
529 2005-01-12 Jeff Muizelaar <jrmuizel@nit.ca>
531 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
533 check for NULL before assigning to width and height parameters
535 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
537 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
538 (pixbuf_document_set_property), (pixbuf_document_get_property):
540 implement get/set properties
542 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
544 * pdf/xpdf/pdf-document.cc: (pdf_info_dict_get_string):
546 return NULL instead of "Unknown", letting the title get set to
547 the filename when the pdf has no title.
549 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
551 * ps/ps-document.c: (ps_document_get_page_count),
552 (ps_document_goto_page):
554 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
556 * shell/ev-history.c: (ev_history_get_property),
557 (ev_history_set_property), (ev_history_class_init),
558 (ev_history_add_page), (ev_history_set_current_index):
559 * shell/ev-navigation-action.c: (ev_navigation_action_set_history),
560 (activate_menu_item_cb), (new_history_menu_item), (build_menu),
561 (ev_navigation_action_finalize):
562 * shell/ev-navigation-action.h:
563 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
564 (ev_view_go_forward), (ev_view_get_find_status_message),
565 (history_index_changed_cb), (ev_view_set_history):
567 * shell/ev-window.c: (update_total_pages), (ev_window_open),
568 (update_current_page), (register_custom_actions):
570 Implement history dropdowns
572 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
574 * shell/ev-history.c: (ev_history_init), (ev_history_add_link):
575 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
576 (ev_view_go_forward):
577 * shell/ev-window.c: (register_custom_actions):
579 Fix several history bugs
581 2005-01-11 Kjartan Maraas <kmaraas@gnome.org>
583 * configure.ac: Add «nb» to ALL_LINGUAS.
585 2005-01-10 Marco Pesenti Gritti <marco@gnome.org>
587 * backend/Makefile.am:
588 * backend/ev-bookmark.c:
589 * backend/ev-bookmark.h:
590 * backend/ev-document-bookmarks.c:
591 * backend/ev-document-bookmarks.h:
592 * backend/ev-document-links.c: (ev_document_links_get_type),
593 (ev_document_links_has_document_links),
594 (ev_document_links_begin_read), (ev_document_links_get_link),
595 (ev_document_links_get_child), (ev_document_links_next),
596 (ev_document_links_free_iter):
597 * backend/ev-document-links.h:
598 * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_title),
599 (ev_link_set_title), (ev_link_get_uri), (ev_link_set_uri),
600 (ev_link_get_link_type), (ev_link_set_link_type),
601 (ev_link_get_page), (ev_link_set_page), (ev_link_get_property),
602 (ev_link_set_property), (ev_window_dispose), (ev_link_init),
603 (ev_link_class_init), (ev_link_new_title), (ev_link_new_page),
604 (ev_link_new_external):
606 * pdf/xpdf/pdf-document.cc:
608 * shell/ev-application.c: (ev_application_open_link):
609 * shell/ev-application.h:
610 * shell/ev-history.c: (ev_history_add_link), (ev_history_add_page),
611 (ev_history_get_link_nth):
612 * shell/ev-history.h:
613 * shell/ev-sidebar-bookmarks.c:
614 * shell/ev-sidebar-bookmarks.h:
615 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
616 (ev_sidebar_links_class_init), (selection_changed_cb),
617 (ev_sidebar_links_construct), (ev_sidebar_links_init),
618 (links_page_num_func), (ev_sidebar_links_new), (stack_data_free),
619 (do_one_iteration), (populate_links_idle),
620 (ev_sidebar_links_clear_document), (ev_sidebar_links_set_document):
621 * shell/ev-sidebar-links.h:
622 * shell/ev-sidebar.c: (ev_sidebar_set_document):
623 * shell/ev-view.c: (go_to_link), (ev_view_go_to_link),
626 * shell/ev-window.c: (ev_window_open_link), (ev_window_init):
629 Rename bookmark to link, and use "Index" for the sidebar panel.
631 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
634 * shell/ev-application.c: (ev_application_open_bookmark):
635 * shell/ev-application.h:
636 * shell/ev-history.c: (ev_history_init), (free_links_list),
637 (ev_history_finalize), (ev_history_class_init),
638 (ev_history_add_link), (ev_history_add_page),
639 (ev_history_get_link_nth), (ev_history_get_n_links),
640 (ev_history_get_current_index), (ev_history_set_current_index),
642 * shell/ev-history.h:
643 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
644 * shell/ev-view.c: (ev_view_finalize), (ev_view_set_document),
645 (set_document_page), (go_to_bookmark), (ev_view_go_to_bookmark),
646 (go_to_index), (ev_view_go_back), (ev_view_go_forward),
649 * shell/ev-window.c: (ev_window_open_bookmark),
650 (ev_window_cmd_go_back), (ev_window_cmd_go_forward),
651 (goto_page_cb), (register_custom_actions):
654 Initial history implementation. Needs work.
656 2005-01-09 Martin Kretzschmar <martink@gnome.org>
658 * pdf/xpdf/GDKSplashOutputDev.cc (redraw): fix pixbuf data offset.
660 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
662 * cut-n-paste/recent-files/egg-recent-item.c:
663 * cut-n-paste/recent-files/egg-recent-item.h:
664 * cut-n-paste/recent-files/egg-recent-model.c:
665 * cut-n-paste/recent-files/egg-recent-util.c:
666 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
667 * cut-n-paste/recent-files/egg-recent-view.c:
671 2005-01-08 Martin Kretzschmar <martink@gnome.org>
673 * pdf/splash/Splash.cc (clear, drawPixel, drawSpan, xorSpan, getPixel)
674 (fillGlyph, fillImageMask, drawImage):
675 pdf/splash/SplashBitmap.cc (SplashBitmap, ~SplashBitmap, writePNMFile):
676 pdf/splash/SplashTypes.h:
677 pdf/xpdf/SplashOutputDev (startPage, getColor, imageSrc): implement RGB8
678 packed mode for Splash.
680 * pdf/xpdf/GDKSplashOutputDev.cc (GDKSplashOutputDev, redraw): use
681 RGB8 packed mode, eliminates the pixbuf data creation loop.
683 * shell/ev-print-job.c (ev_print_job_finalize)
684 (ev_print_job_set_property, ev_print_job_get_property)
685 (ev_print_job_set_gnome_print_job, ev_print_job_set_document)
686 (ev_print_job_use_print_dialog_settings, idle_print_handler)
687 (print_closure_finalize, ev_print_job_print): implement
688 printing (for backends with EvPsExporter)
690 * shell/ev_print_job.h: update prototypes.
692 * shell/ev-window.c (ev_window_print): unref print job after
695 * shell/ev-view.c (ev_view_set_document): don't connect to "found"
696 unless the document implements the EvDocumentFind interface.
698 2005-01-08 Satoru SATOH <ss@gnome.gr.jp>
700 * configure.ac: Added ja to ALL_LINGUAS.
702 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
704 * pdf/xpdf/pdf-document.cc:
706 add a FIXME. We should probably not allocate
707 a bookmark object every time
709 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
711 * shell/ev-application.c: (ev_application_open),
712 (ev_application_open_bookmark):
713 * shell/ev-application.h:
715 Add a way to open bookmarks
717 * backend/ev-bookmark.c: (ev_bookmark_get_uri),
718 (ev_bookmark_set_uri), (ev_bookmark_get_property),
719 (ev_bookmark_set_property), (ev_bookmark_class_init),
720 (ev_bookmark_new_title), (ev_bookmark_new_link),
721 (ev_bookmark_new_external):
723 Support for external uris, better constructors.
725 * backend/ev-bookmark.h:
726 * pdf/xpdf/pdf-document.cc:
727 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
731 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
733 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb),
734 (ev_sidebar_bookmarks_construct), (do_one_iteration):
736 Hook up bookmarks navigation
738 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
740 * backend/Makefile.am:
741 * backend/ev-bookmark.c: (ev_bookmark_type_get_type),
742 (ev_bookmark_get_title), (ev_bookmark_set_title),
743 (ev_bookmark_get_bookmark_type), (ev_bookmark_set_bookmark_type),
744 (ev_bookmark_get_page), (ev_bookmark_set_page),
745 (ev_bookmark_get_property), (ev_bookmark_set_property),
746 (ev_window_dispose), (ev_bookmark_init), (ev_bookmark_class_init),
748 * backend/ev-bookmark.h:
749 * backend/ev-document-bookmarks.c:
750 (ev_document_bookmarks_get_bookmark):
751 * backend/ev-document-bookmarks.h:
752 * pdf/xpdf/pdf-document.cc:
753 * shell/ev-sidebar-bookmarks.c: (do_one_iteration):
755 Add a bookmark object to the backend and use it instead of get_values
757 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
759 * data/evince-ui.xml:
761 Cleanup and add select all.
763 * shell/ev-view.c: (ev_view_select_all),
764 (ev_view_button_press_event):
766 * shell/ev-window.c: (ev_window_cmd_edit_select_all):
769 Clear selection on click.
771 Fri Jan 7 01:28:58 2005 Jonathan Blandford <jrb@redhat.com>
773 * shell/ev-sidebar-thumbnails.c
774 (ev_sidebar_thumbnails_set_document): forgot to unref the
777 Fri Jan 7 01:22:48 2005 Jonathan Blandford <jrb@redhat.com>
779 * shell/ev-sidebar-thumbnails.c: fill in the thumbnails starting
780 at the visible page, not just linearly. This makes it look fast.
782 Thu Jan 6 18:48:11 2005 Jonathan Blandford <jrb@redhat.com>
784 * backend/ev-document-misc.c
785 (ev_document_misc_get_thumbnail_frame): fill in the thumbnail with
787 * backend/ev-document-thumbnails.h: New interface to get the size
790 2005-01-06 Jeremy Katz <katzj@redhat.com>
792 * shell/Makefile.am (evince_SOURCES): Add ev-utils.[ch] so that
795 Wed Jan 5 15:38:28 2005 Jonathan Blandford <jrb@redhat.com>
797 * pdf/xpdf/pdf-document.cc (bitmap_to_pixbuf): bypass
798 GDKSplashOutputDev and just use a normal SplashOutputDev. Speeds
801 * shell/ev-sidebar-thumbnail.c: start of some profiling code.
803 2005-01-05 Martin Kretzschmar <martink@gnome.org>
805 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): match only outline
806 fonts. Should fix font problems on systems that have the base
807 fonts in bitmap format. Reported by James Henstridge
808 <james@jamesh.id.au>.
810 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
813 * pdf/xpdf/GfxState.cc:
815 Fix for CAN-2004-1125
817 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
819 * shell/ev-view.c: (ev_view_copy):
821 * shell/ev-window.c: (ev_window_cmd_edit_copy):
825 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
827 * backend/ev-document.c: (ev_document_get_text):
828 * backend/ev-document.h:
829 * pdf/xpdf/pdf-document.cc:
830 * shell/ev-view.c: (ev_view_realize), (expose_bin_window),
831 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
832 (ev_view_update_primary_selection), (ev_view_button_press_event),
833 (ev_view_motion_notify_event), (ev_view_button_release_event):
835 Beginnings of clipboard support. Incomplete but primary sort
838 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
840 * shell/ev-view.c: (ev_gdk_color_to_rgb), (draw_rubberband),
843 Nicer rubberband drawing, from GtkIconView.
845 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
847 * backend/ev-document.c: (ev_document_save):
848 * backend/ev-document.h:
849 * data/evince-ui.xml:
850 * pdf/xpdf/pdf-document.cc:
851 * shell/ev-window.c: (save_error_dialog), (ev_window_cmd_save_as):
853 Implement "Save a copy..." menu item
855 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
857 * shell/ev-view.c: (ev_view_zoom):
859 Queue a resize when zoom changes
861 Wed Jan 5 02:33:06 2005 Jonathan Blandford <jrb@redhat.com>
863 * backend/ev-document-misc.[ch]: New misc file to do simple drop
866 * pdf/xpdf/pdf-document.cc: use the drop shadows in both types of
869 Tue Jan 4 22:32:32 2005 Jonathan Blandford <jrb@redhat.com>
871 * pdf/xpdf/pdf-document.cc
872 (pdf_document_thumbnails_get_page_pixbuf): poor man's dropshadow.
874 Tue Jan 4 21:25:05 2005 Jonathan Blandford <jrb@redhat.com>
876 * pdf/xpdf/pdf-document.cc: Do real thumbnailing of PDF files.
877 It's slow, but I'll speed it up next!
879 2005-01-04 Jeff Muizelaar <jrmuizel@nit.ca>
881 * shell/main.c (load_files):
883 use gnome_vfs_make_uri_from_shell_arg so that relative paths work
884 from the command line and because it seems more appropriate.
886 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
888 * data/evince-ui.xml:
889 * shell/ev-window.c: (update_action_sensitivity),
890 (ev_window_cmd_go_page_up), (ev_window_cmd_go_page_down):
892 s/next page/page down
893 s/previous page/page up
895 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
897 * data/evince-ui.xml:
899 Change the layout to match clarkbw design.
902 * shell/ev-navigation-action.c: (build_menu), (menu_activated_cb),
903 (set_tooltip_cb), (connect_proxy), (ev_navigation_action_init),
904 (ev_navigation_action_finalize),
905 (ev_navigation_action_set_property),
906 (ev_navigation_action_get_property),
907 (ev_navigation_action_class_init):
908 * shell/ev-navigation-action.h:
910 Implement clarkbw toolbar navigation controls (incomplete)
912 * shell/ev-page-action.c: (update_label), (update_spin),
913 (value_changed_cb), (create_tool_item), (connect_proxy),
914 (ev_page_action_init), (ev_page_action_finalize),
915 (ev_page_action_set_property), (ev_page_action_get_property),
916 (ev_page_action_set_current_page),
917 (ev_page_action_set_total_pages), (ev_page_action_class_init):
918 * shell/ev-page-action.h:
920 Implement a page switcher in the toolbar
922 * shell/ev-view.c: (ev_view_scroll_view):
923 * shell/ev-window.c: (update_total_pages), (ev_window_open),
924 (update_current_page), (view_page_changed_cb), (goto_page_cb),
925 (register_custom_actions), (ev_window_init):
927 Change page on PageUp/Down.
929 Tue Jan 4 03:22:56 2005 Jonathan Blandford <jrb@redhat.com>
931 * pdf/xpdf/pdf-document.cc
932 (pdf_document_thumbnails_get_thumbnail): initial stab at
933 implementing thumbnail support for pdfs. It only does documents
934 with precached pdfs now.
936 Mon Jan 3 17:22:25 2005 Jonathan Blandford <jrb@redhat.com>
938 * shell/ev-sidebar-thumbnails.c (do_one_iteration): move the
939 thumbnail code into a time-based idle as well. Also, turn off the
940 shadow temporarily as it's really slow.
942 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
944 * backend/ev-document.c: (ev_document_class_init):
945 * pdf/xpdf/pdf-document.cc:
946 * shell/ev-window.c: (ev_window_open):
948 Fix document title bugs and fallback to
949 filename when not available.
951 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
953 * backend/ev-document.c: (ev_document_get_type),
954 (ev_document_class_init), (ev_document_load),
955 (ev_document_get_title):
956 * backend/ev-document.h:
957 * pdf/xpdf/pdf-document.cc:
958 * ps/ps-document.c: (ps_document_set_property),
959 (ps_document_get_property), (ps_document_class_init),
963 * shell/ev-window.c: (update_window_title), (ev_window_open),
966 Initial support for document title. Not working yet.
968 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
970 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event):
972 Grab focus on the view when clicking it
974 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
976 * shell/ev-marshal.list:
977 * shell/ev-view.c: (ev_view_realize), (add_scroll_binding),
978 (ev_view_scroll_view), (ev_view_class_init), (ev_view_init):
980 Add key bindings to the view. Now if the focus would work
983 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
986 * backend/Makefile.am:
989 * dvi/dvilib/Makefile.am:
990 * pdf/xpdf/Makefile.am:
996 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
998 * shell/ev-view.c: (ev_view_realize):
1000 Fix mouse wheel scrolling
1002 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
1008 * ps/ps-document.c: (catchPipe), (ps_document_init),
1009 (ps_document_class_init), (ps_document_cleanup),
1010 (ps_document_finalize), (send_ps), (ps_document_get_orientation),
1011 (set_up_page), (close_pipe), (is_interpreter_ready),
1012 (interpreter_failed), (output), (input), (start_interpreter),
1013 (stop_interpreter), (file_length), (file_readable),
1014 (check_filecompressed), (check_pdf), (compute_xdpi),
1015 (compute_ydpi), (compute_size), (ps_document_enable_interpreter),
1016 (ps_document_get_type), (ps_document_emit_error_msg),
1017 (document_load), (ps_document_next_page),
1018 (ps_document_get_current_page), (ps_document_get_page_count),
1019 (ps_document_goto_page), (ps_document_set_page_size),
1020 (ps_document_zoom_to_fit), (ps_document_set_zoom),
1021 (ps_document_load), (ps_document_get_n_pages),
1022 (ps_document_set_page), (ps_document_get_page),
1023 (ps_document_widget_event), (ps_document_set_target),
1024 (ps_document_set_scale), (ps_document_set_page_offset),
1025 (ps_document_get_page_size), (ps_document_render),
1026 (ps_document_document_iface_init):
1029 * shell/ev-window.c: (ev_window_open):
1031 Rename GtkGS to PSDocument
1033 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
1035 * ps/gtkgs.c: (gtk_gs_class_init):
1038 Some more leftover...
1040 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
1042 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_get_orientation),
1043 (output), (stop_interpreter), (gtk_gs_emit_error_msg),
1044 (gtk_gs_zoom_to_fit), (gtk_gs_set_zoom):
1047 Remove unused code and make a lot of stuff private
1049 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
1051 * ps/gsdefaults.c: (gtk_gs_defaults_gconf_client),
1052 (gtk_gs_defaults_changed):
1058 Cleanup headers dependencies
1060 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
1065 * ps/gsdefaults.c: (gtk_gs_defaults_get_paper_sizes):
1067 * ps/gtkgs.c: (file_length), (file_readable),
1068 (check_filecompressed), (check_pdf), (gtk_gs_load),
1069 (gtk_gs_get_postscript):
1073 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
1078 * ps/gtkgs.c: (gtk_gs_set_zoom):
1082 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
1084 * ps/gtkgs.c: (gtk_gs_set_zoom), (gtk_gs_set_zoom_mode):
1086 Ensure the page is rerendered when changing zoom
1088 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
1090 * backend/ev-document.c: (ev_document_base_init),
1091 (ev_document_changed):
1092 * backend/ev-document.h:
1094 Add a changed event that is emitted when the page content
1095 changes. This is necessary to deal with the fact that
1096 in ps backend rendering happen asycrounously.
1097 This makes the ps backend mostly work.
1099 * pdf/xpdf/pdf-document.cc:
1103 * ps/gtkgs.c: (set_up_page), (gtk_gs_widget_event),
1104 (ps_document_set_target):
1108 * shell/ev-view.c: (document_changed_callback),
1109 (ev_view_set_document), (ev_view_set_page):
1111 Redraw on the changed signal
1113 2004-12-25 Raphael Higino <raphaelh@cvs.gnome.org>
1115 * configure.ac: Added pt_BR to ALL_LINGUAS.
1117 Fri Dec 24 00:48:44 2004 Jonathan Blandford <jrb@redhat.com>
1119 * backend/ev-document-bookmarks.c:
1120 (ev_document_bookmarks_get_child): *
1121 backend/ev-document-bookmarks.h: * pdf/xpdf/Makefile.am: *
1122 pdf/xpdf/pdf-document.cc: * pdf/xpdf/pdf-document.h: *
1123 shell/Makefile.am: * shell/ev-sidebar-bookmarks.c:
1124 (ev_sidebar_bookmarks_destroy),
1125 (ev_sidebar_bookmarks_class_init),
1126 (ev_sidebar_bookmarks_construct), (stack_data_free),
1127 (do_one_iteration), (populate_bookmarks_idle),
1128 (ev_sidebar_bookmarks_clear_document),
1129 (ev_sidebar_bookmarks_set_document): *
1130 shell/ev-sidebar-bookmarks.h: * shell/ev-sidebar.c:
1131 (ev_sidebar_add_page),
1132 (ev_sidebar_set_document): * shell/ev-window.c: (ev_window_open):
1133 Initial stab at a bookmarks sidebar. It doesn't navigate yet, but
1134 it displays both the topics and the page numbers.
1136 2004-12-23 Kristian Høgsberg <krh@redhat.com>
1138 * shell/ev-window.c (ev_window_view_sidebar_cb): Hook up sidebar
1140 * shell/ev-window.c (toggle_entries): Set sidebar default value to
1143 2004-12-23 Adam Weinberger <adamw@gnome.org>
1145 * configure.ac: Added en_CA to ALL_LINGUAS.
1147 2004-12-23 Martin Kretzschmar <martink@gnome.org>
1149 * ChangeLog: replace bottom of this ChangeLog (merged history of
1150 ggv and gpdf; where all paths were wrong and most of the files are
1151 not even in this tree) with ChangeLog (from arch) of the shell
1154 2004-12-23 Havoc Pennington <hp@redhat.com>
1156 * shell/ev-window.c: hook up potentially-questionable "find
1157 results status text" feature - something involving the sidebar or
1158 scrollbar or a continuous all-pages-on-giant-roll-of-paper-view
1159 might be better in the end.
1161 * shell/ev-view.c (ev_view_get_find_status_message): new function,
1162 with corresponding signal when it should be updated
1164 * shell/eggfindbar.c (egg_find_bar_set_status_text): new function
1166 2004-12-22 Havoc Pennington <hp@redhat.com>
1168 * pdf/xpdf/pdf-document.cc (pdf_document_find_begin): make search
1169 find stuff on other pages, sort of (only returns one result on
1170 invisible pages, to show they have results; updates full results
1171 for a page when you view it). Currently repaints the current page
1172 every time a new result is found on any page, which isn't so nice.
1174 2004-12-22 Havoc Pennington <hp@redhat.com>
1176 * shell/ev-window.c (ev_window_cmd_edit_find): display an error if
1177 the document doesn't support find (better ideas?)
1178 (find_bar_search_changed_cb): handle missing document or document
1179 that doesn't support find
1181 * pdf/xpdf/pdf-document.cc: port to implement the new
1184 * backend/ev-document-find.c: create a new interface for searching
1186 * backend/ev-document.h, backend/ev-document.c: delete the find stuff
1188 2004-12-23 Martin Kretzschmar <martink@gnome.org>
1190 * pdf/xpdf/Makefile.am (libpdfdocument_la_LIBADD): add
1193 * shell/ev-window.c (ev_window_print): add GnomePrintJob to
1194 EvPrintJob constructor arguments.
1196 * backend/ev-ps-exporter.c, backend/ev-ps-exporter.h: interface
1197 for documents that can export PostScript (page by page).
1199 * backend/Makefile.am (libevbackend_la_SOURCES): add them.
1201 * pdf/xpdf/pdf-document.cc (pdf_document_ps_export_begin)
1202 (pdf_document_ps_export_do_page, pdf_document_ps_export_end)
1203 (pdf_document_ps_exporter_iface_init:
1204 Implement EvPSExporter.
1206 * pdf/xpdf/Makefile.am (libxpdf_la_SOURCES): build PSOutputDev.
1208 2004-12-22 Anders Carlsson <andersca@gnome.org>
1210 * backend/Makefile.am:
1211 * backend/ev-document-thumbnails.c:
1212 (ev_document_thumbnails_get_type),
1213 (ev_document_thumbnails_get_thumbnail):
1214 * backend/ev-document-thumbnails.h:
1215 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
1216 (pixbuf_document_thumbnails_get_thumbnail),
1217 (pixbuf_document_document_thumbnails_iface_init):
1218 * shell/Makefile.am:
1219 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_destroy),
1220 (ev_sidebar_thumbnails_class_init), (ev_sidebar_thumbnails_init),
1221 (populate_thumbnails), (ev_sidebar_thumbnails_set_document):
1222 * shell/ev-sidebar-thumbnails.h:
1223 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
1224 (ev_sidebar_set_document):
1225 * shell/ev-utils.c: (gaussian), (create_blur_filter),
1226 (create_shadow), (ev_pixbuf_add_shadow):
1228 Add thumbnail support.
1230 2004-12-22 Martin Kretzschmar <martink@gnome.org>
1232 * shell/ev-window.c (ev_window_cmd_file_print, ev_window_print)
1233 (using_postscript_printer): Set up a print dialog for "PostScript
1236 * shell/ev-print-job.h, shell/ev-print-job.c: stub classes for
1239 * shell/Makefile.am (evince_SOURCES): add ev-print-job.[ch]
1241 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
1243 * ps/gtkgs.c: (gtk_gs_init), (set_up_page),
1244 (ps_document_set_target), (ps_document_get_page_size),
1245 (ps_document_render):
1250 2004-12-22 Christian Rose <menthos@menthos.com>
1252 * configure.ac: Added "sv" to ALL_LINGUAS.
1254 Wed Dec 22 14:47:38 2004 Jonathan Blandford <jrb@redhat.com>
1256 * backend/ev-document-bookmarks.[ch]: new interface to indicate
1257 document supports bookmarks.
1259 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
1261 * ps/ggvutils.c: (ggv_file_readable):
1263 * ps/gtkgs.c: (check_filecompressed), (check_pdf),
1264 (gtk_gs_get_postscript):
1268 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
1270 * ps/gtkgs.c: (gtk_gs_init), (gtk_gs_class_init), (gtk_gs_cleanup),
1271 (gtk_gs_finalize), (gtk_gs_set_center), (set_up_page), (output),
1272 (start_interpreter), (compute_size), (gtk_gs_enable_interpreter),
1273 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_reload),
1274 (gtk_gs_emit_error_msg), (gtk_gs_disable_interpreter),
1275 (gtk_gs_load), (gtk_gs_goto_page), (gtk_gs_set_page_size),
1276 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
1277 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
1278 (gtk_gs_set_antialiasing), (ps_document_load),
1279 (ps_document_render):
1282 Another check point for the ps backend. Now I can get it to show
1285 Wed Dec 22 13:41:01 2004 Jonathan Blandford <jrb@redhat.com>
1287 * shell/ev-sidebar.c (ev_sidebar_set_document): initial sidebar
1288 document setting code.
1290 2004-12-22 Anders Carlsson <andersca@gnome.org>
1292 * shell/eggfindbar.c: (entry_activate_callback):
1293 Animate the next button when activate is pressed.
1295 2004-12-22 Anders Carlsson <andersca@gnome.org>
1297 * shell/ev-window.c: (ev_window_cmd_edit_find),
1298 (update_fullscreen_popup), (ev_window_fullscreen),
1299 (ev_window_unfullscreen), (ev_window_state_event_cb),
1300 (ev_window_focus_out_cb), (find_bar_close_cb), (ev_window_init):
1301 Fix bugs in fullscreen code.
1303 2004-12-22 Anders Carlsson <andersca@gnome.org>
1307 * pixbuf/Makefile.am:
1308 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
1309 (pixbuf_document_load), (pixbuf_document_get_n_pages),
1310 (pixbuf_document_set_page), (pixbuf_document_get_page),
1311 (pixbuf_document_set_target), (pixbuf_document_set_scale),
1312 (pixbuf_document_set_page_offset), (pixbuf_document_get_page_size),
1313 (pixbuf_document_render), (pixbuf_document_begin_find),
1314 (pixbuf_document_end_find), (pixbuf_document_finalize),
1315 (pixbuf_document_class_init),
1316 (pixbuf_document_document_iface_init), (pixbuf_document_init):
1317 * pixbuf/pixbuf-document.h:
1318 * shell/Makefile.am:
1319 * shell/ev-application.c: (ev_application_open):
1320 * shell/ev-window.c: (mime_type_supported_by_gdk_pixbuf),
1324 Tue Dec 21 21:45:43 2004 Soeren Sandmann <sandmann@redhat.com>
1327 * dvi/dvilib/Makefile.am:
1329 * configure.ac: Auto*ify dvi and dvi/dvilib
1331 * dvi/Makefile: Remove from CVS
1333 * dvi/dvilib/dl-pkfont.cc (unpack_bitmap): Fix uchar/uint
1336 * dvi/dvilib/dl-fontdefinition.{cc,hh}: New DviFontMap class
1338 * dvi/dvilib/dl-vffont.{cc,hh}: Many bugfixes to VF code.
1340 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
1343 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_finalize),
1344 (gtk_gs_value_adjustment_changed), (compute_size),
1345 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_new_from_file),
1346 (gtk_gs_center_page), (gtk_gs_load), (gtk_gs_set_page_size),
1347 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
1348 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
1349 (gtk_gs_start_scroll), (gtk_gs_get_postscript),
1350 (gtk_gs_set_adjustments), (gtk_gs_set_available_size),
1351 (ps_document_load), (ps_document_get_n_pages),
1352 (ps_document_set_page), (ps_document_get_page),
1353 (ps_document_set_target), (ps_document_set_scale),
1354 (ps_document_set_page_offset), (ps_document_get_page_size),
1355 (ps_document_render), (ps_document_begin_find),
1356 (ps_document_end_find), (ps_document_document_iface_init):
1358 * shell/Makefile.am:
1359 * shell/ev-window.c: (ev_window_open):
1361 Some work to integrate gtkgs with EvDocument
1363 2004-12-22 Anders Carlsson <andersca@gnome.org>
1365 * shell/ev-window.c: (update_fullscreen_popup),
1366 (screen_size_changed_cb), (destroy_exit_fullscreen_popup),
1367 (exit_fullscreen_button_clicked_cb),
1368 (fullscreen_popup_size_request_cb), (ev_window_fullscreen),
1369 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
1370 (ev_window_state_event_cb), (ev_window_init):
1371 Add fullscreen support from Epiphany.
1373 2004-12-22 Mark McLoughlin <mark@skynet.ie>
1375 * data/ev-stock-zoom-fit-width.png: fit-width
1376 stock icon from gpdf.
1378 * shell/ev-stock-icons.[ch]: copied from gpdf.
1380 * shell/main.c: (main): init stock icons.
1382 * shell/ev-window.c: use the fit-width icon.
1384 * data/evince-ui.xml: add zooming toolbar items.
1386 2004-12-22 Mark McLoughlin <mark@skynet.ie>
1389 (ev_view_best_fit), (ev_view_fit_width): because
1390 get_page_size() returns the scaled page size, we
1391 need to calculate the scale factor relative to
1392 the previous scale factor. Should really just
1393 add get_real_page_size().
1395 2004-12-22 Mark McLoughlin <mark@skynet.ie>
1397 * shell/ev-view.[ch]:
1398 (ev_view_zoom), (ev_view_zoom_in), (ev_view_zoom_out),
1399 (ev_view_normal_size), (ev_view_best_fit), (ev_view_fit_width):
1402 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
1403 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_normal_size),
1404 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width):
1407 * pdf/xpdf/pdf-document.cc:
1408 (pdf_document_begin_find),
1409 (pdf_document_end_find): make static.
1411 2004-12-22 Martin Kretzschmar <martink@gnome.org>
1413 * pdf/xpdf/GlobalParams.h (setupBaseFontsFc): add prototype.
1415 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): maps base font
1416 names to fontconfig patterns.
1417 (setupBaseFontsFc): setupBaseFonts reimplemented using fontconfig.
1419 * pdf/xpdf/pdf-document.cc (pdf_document_load): use
1422 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
1438 Import ggv backend. Not hooked up yet.
1440 2004-12-22 Mark McLoughlin <mark@skynet.ie>
1442 * shell/main.c: (load_files), (main): load files
1443 from the command line.
1445 2004-12-22 Mark McLoughlin <mark@skynet.ie>
1447 * configure.ac: don't require bonobo.
1449 * cut-n-paste/recent-files/*: kill bonobo recent
1452 * shell/ev-window.c:
1453 (ev_window_is_empty): upd.
1454 (unable_to_load), (ev_window_open): load backend
1455 based on the mime type.
1457 2004-12-22 Martin Kretzschmar <martink@gnome.org>
1459 * backend/.cvsignore: ignore generated marshalers source.
1461 * shell/main.c (main): this is not epiphany.
1463 2004-12-22 Havoc Pennington <hp@redhat.com>
1465 * shell/ev-view.c (ev_view_set_document): connect to "found" signal
1466 (expose_bin_window): draw find highlights
1468 * shell/ev-window.c (find_bar_search_changed_cb): implement
1470 * pdf/xpdf/pdf-document.cc (pdf_document_begin_find)
1471 (pdf_document_end_find): implement this interface
1473 * backend/ev-document.c (ev_document_found): add this to emit
1476 Tue Dec 21 23:57:37 2004 Owen Taylor <otaylor@redhat.com>
1478 * data/evince-ui.xml: Add a few more toolbar items.
1480 * shell/ev-window.c: Hook up page navigation toolbar
1483 * shell/ev-view.[ch]: add ev_view_set/get_page and
1484 a page-changed signal.
1486 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc::
1487 Add ev_document_get_page().
1489 * shell/ev-window.c: Sensitize/desensitize navigation
1492 2004-12-21 Havoc Pennington <hp@redhat.com>
1494 * backend/ev-backend-marshal.c,
1495 backend/ev-backend-marshalers.list, backend/Makefile.am: add
1496 marshaler-generator thingy. I'm sure there's a better way to do
1497 this in the modern world.
1499 * backend/ev-document.h (struct _EvDocumentIface): add begin_find,
1500 end_find methods and "found" signal.
1502 * configure.ac: find glib-genmarshal
1504 Tue Dec 21 23:20:35 2004 Jonathan Blandford <jrb@redhat.com>
1506 * shell/ev-sidebar.c: Construct an actual sidebar.
1507 * shell/ev-sidebar-bookmarks.[ch]:
1508 * shell/ev-sidebar-thumbnails.[ch]: Stub out sidebars.
1510 Tue Dec 21 23:05:51 2004 Owen Taylor <otaylor@redhat.com>
1512 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc:
1515 * shell/ev-view.c: Track the size from the document.
1517 Tue Dec 21 22:17:04 2004 Owen Taylor <otaylor@redhat.com>
1519 * pdf/xpdf/pdf-document.cc (pdf_document_load): PDFDoc
1520 constructor assumes ownership of the string passed in.
1522 * shell/ev-window.c (ev_window_open): Destroy the error
1523 dialog once we've displayed it.
1525 Tue Dec 21 21:58:56 2004 Owen Taylor <otaylor@redhat.com>
1527 * pdf/xpdf/pdf-document.cc shell/ev-view.c: Hook things up
1528 a bit, it works! (sort of)
1530 * pdf/xpdf/Makefile.am pdf/xpdf/pdf-document.cc:
1531 Move to .cc since we need to use C++ in the implementation.
1533 * shell/dummy.cc: Add a CC file to force evince
1534 to be linked as a C++ program.
1536 Tue Dec 21 21:07:55 2004 Owen Taylor <otaylor@redhat.com>
1538 * shell/ev-view.[ch]: Start of content-area widget.
1540 * shell/ev-window.c: Create a EvView, update it
1541 as we change documents.
1543 * shell/Makefile.am shell/ev-marshal.list: Add
1544 generated marshalers.
1546 Tue Dec 21 20:28:11 2004 Jonathan Blandford <jrb@redhat.com>
1548 * Makefile.am (SUBDIRS): move shell.
1550 Tue Dec 21 19:28:55 2004 Owen Taylor <otaylor@redhat.com>
1552 * pdf/{goo,fofi,splash,xpdf}/Makefile.am: Switch from
1553 .a to libtool convenience libraries.
1555 * shell/ev-window.c (ev_window_open): Hard code loading
1558 * backend/ev-document.h: Add a boolean return to load(),
1559 fix GError * to GError **.
1561 * pdf/xpdf/pdf-document.[ch] Makefile.am: Add a stub
1562 object for a PDF backend EvDocument.
1564 Tue Dec 21 18:55:06 2004 Søren Sandmann <sandmann@redhat.com>
1566 * dvi/*: New directory with the beginning of a .dvi backend.
1568 2004-12-21 Havoc Pennington <hp@redhat.com>
1570 * shell/eggfindbar.c (egg_find_bar_init): change buttons to
1571 previous/next instead of back/forward
1573 Tue Dec 21 18:26:24 2004 Owen Taylor <otaylor@redhat.com>
1575 * backend/ev-document.[ch]: Fix a couple of problems so
1578 Tue Dec 21 18:20:40 2004 Owen Taylor <otaylor@redhat.com>
1580 * viewer/* backend/* configure.ac Makefile.am: Move viewer directory
1581 to backend/ directory, rename EvViewer to EvDocument.
1583 2004-12-21 Havoc Pennington <hp@redhat.com>
1585 * shell/ev-window.c: hook up the find bar widget; now we just need
1586 a document to find things in
1588 * shell/eggfindbar.c: a find bar widget
1590 Tue Dec 21 17:20:16 2004 Jonathan Blandford <jrb@redhat.com>
1592 * shell/ev-sidebar.[ch]: initial sidebar boilerplate.
1594 Tue Dec 21 16:30:58 2004 Owen Taylor <otaylor@redhat.com>
1596 * pdf/**: Import of xpdf code from gpdf.
1598 * pdf/xpdf/xpdfconfig.h: Move the non-config.h config.h to xpdfconfig.h
1600 * pdf/splash/SplashFTFont.{cc,h} pdf/splash/SplashFTFont.h
1601 pdf/splash/SplashFTFontEngine.h pdf/splash/SplashFTFontFile.h:
1602 Fix FreeType includes.
1604 * pdf/xpdf/{Error.h GnomeVFSStream.cc ImageOutputDev.cc PDFDoc.cc\
1605 pdffonts.cc pdfimages.cc pdfinfo.cc pdftoppm.cc pdftops.cc
1606 pdftotext.cc PSOutputDev.cc PSOutputDev.h SplashOutputDev.h
1607 Stream.cc TextOutputDev.cc XPDFApp.cc xpdf.cc XPDFViewer.cc
1608 pdf/xpdf/Error.h PSOutputDev.h SplashOutputDev.h}:
1609 Include xpdfconfig.h
1611 Tue Dec 21 16:08:17 2004 Jonathan Blandford <jrb@redhat.com>
1613 * shell/ev-window.c (ev_window_dispose): dispose can be called
1616 2004-12-21 Havoc Pennington <hp@redhat.com>
1618 * shell/ev-window.c (ev_window_init): set title to Document Viewer
1621 * data/evince-ui.xml, shell/ev-window.c: add a bunch of stub menu
1622 items; really they should be synced with the strings, etc. from
1623 current gpdf, but just getting the boring typing out of the way
1625 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
1628 * shell/ev-application.c: (window_destroy_cb):
1629 * shell/ev-window.c:
1630 * shell/main.c: (main):
1632 Actually show the window...
1634 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
1637 * shell/Makefile.am:
1638 * shell/ev-application.c: (ev_application_class_init):
1639 * shell/ev-window.c: (ev_window_dispose), (ev_window_class_init):
1643 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
1645 Import to gnome cvs.
1647 * Remove copies of gpdf and ggv trees.
1648 * Rip out all the recursive configure code.
1649 * Remove bonobo machinery.
1650 * viewer/*: GInterfaces that backends should/can implement.
1652 2004-11-09 Martin Kretzschmar <m_kretzschmar@gmx.net>
1654 * shell/ev-window.c (ev_window_cmd_help_about): fix "documentors"
1657 2004-10-28 Martin Kretzschmar <m_kretzschmar@gmx.net>
1659 * shell/ev-application.c (EV_APPLICATION_GET_PRIVATE)
1660 (ev_application_finalize, ev_application_class_init)
1661 (ev_application_init): use GType instance private data for priv.
1663 * shell/ev-window.c (EV_WINDOW_GET_PRIVATE)
1664 (ev_window_finalize, ev_window_class_init)
1665 (ev_window_init): ditto.
1667 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
1669 * shell/ev-application.c (ev_application_new_window): make public
1670 (ev_application_show_initial_window): kill.
1672 * shell/ev-application.h: update prototypes.
1674 * shell/main.cc (main): inline ev_application_show_initial_window.
1676 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
1678 * shell/ev-application.c (ev_application_new_window): impl.
1679 (ev_application_show_initial_window): use it.
1680 (is_window_empty, ev_application_get_empty_window): returns an
1681 existing empty window or a new one.
1682 (ev_application_open): from ev_window_cmd_file_open.
1684 * shell/ev-application.h: update prototypes
1686 * shell/ev-window.c (ev_window_is_empty): impl.
1687 (ev_window_open): make public.
1688 (ev_window_cmd_file_open): use ev_application_open
1690 * shell/ev-window.h: update prototypes, remove unused.
1692 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
1694 * shell/ev-window.c (ev_window_destroy, ev_window_class_init):
1695 move destroy handler out of here...
1697 * shell/ev-application.c, shell/ev-application.h: ...into this new
1698 class. Also handles initial window creation.
1700 * shell/main.cc (main): use EvApplication to create initial
1703 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
1705 * Makefile.am (SUBDIRS): add cut-n-paste
1707 * cut-n-paste/Makefile.am: add
1709 * configure.ac: generate Makefiles in cut-n-paste
1711 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
1713 * shell/ev-window.c (ev_window_dispose): new, unref the ui_manager
1714 (ev_window_class_init): install ev_window_dispose.
1716 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
1718 * shell/ev-window.h, shell/ev-window.c: replace gchar with
1719 char (gchar looks stupid).
1721 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
1723 * po/de.po: updated German translation.
1725 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
1727 * configure.ac: add more pkg-config library checks for gnome-vfs,
1730 * gpdf/configure.in: temporarily disable libpaper
1731 checks. Otherwise I'd have to add the checks for the shell, too.
1733 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1735 * shell/ev-window.c (ev_window_cmd_file_open): add ps+pdf, ps, pdf
1736 and * file filters to the file choose.
1738 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1740 * po/de.po: Updated German translation.
1742 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1744 * shell/ev-window.c: use "S" as mnemonic for Statusbar.
1746 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1748 * data/evince-ui.xml: add View->Toolbar and View->Statusbar.
1750 * shell/ev-window.c (menu_item_select_cb, menu_item_select_cb)
1751 (ev_window_init): implement those menuitems.
1753 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1755 * data/evince-ui.xml: add a toolbar (with FileOpen action)
1757 * shell/ev-window.c (ev_window_init): use the toolbar.
1759 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1761 * shell/ev-window.c (ev_window_init): use menu translations
1763 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1765 * configure.ac: add "de" to ALL_LINGUAS.
1767 * po/de.po: add German translation.
1769 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1771 * Makefile.am (SUBDIRS): add po
1773 * configure.ac: check intltool, glib-gettext etc, generate
1776 * po, po/POTFILES.in, po/POTFILES.skip: new.
1778 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1780 * shell/Makefile.am (INCLUDES): define GNOMELOCALEDIR which we
1781 already use (#ifdef ENABLE_NLS)
1783 * shell/ev-window.c (ev_window_cmd_help_about): fix two star
1784 pointer indirection thinko.
1786 * shell/main.c: include gi18n.h for bindtextdomain etc.
1788 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1790 * shell/ev-window.c (menu_item_select_cb, menu_item_deselect_cb)
1791 (connect_proxy_cb, disconnect_proxy_cb, ev_window_init): show
1792 tooltips for menu items in the statusbar.
1794 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1796 * configure.ac, data/Makefile.am, shell/Makefile.am: use
1797 pkgdatadir drop UIDIR
1799 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1801 * data/evince-ui.xml: Add File->Open menu item
1803 * shell/ev-window.c (ev_window_cmd_file_open): impl. (shows a file
1804 chooser), hook it up in the ui manager.
1806 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1808 * shell/ev-window.c: fix Help->About tooltip.
1810 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1812 * configure.ac: set CFLAGS for libevprivate.
1814 * lib/ev-stock-icons.h, lib/ev-stock-icons.c: stock icon
1815 definitions, factory etc.
1817 * lib/Makefile.am: build libevprivate.a (only stock icon code).
1819 * shell/Makefile.am: link against libevprivate.a.
1821 * shell/ev-window.c (entries): add stock icon to Help->About.
1823 * shell/main.c (main): init stock icon code.
1825 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1827 * lib/recent-files: egg recent files code
1829 * lib/Makefile.am: add.
1831 * Makefile.am: add lib subdir.
1833 * configure.ac: gen. lib/Makefile and lib/recent-files/Makefile,
1834 set CFLAGS for recent-files.
1836 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1838 * configure.ac: disable -ansi and -pedantic gcc flags. They
1839 disable POSIX stuff in stdio.h, but egg-recent uses them.
1841 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1843 * configure.ac: add --disable-deprecated flag (defaults to on in
1846 * shell/Makefile.am (INCLUDES): use it.
1848 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1850 * shell/main.c: add missing #include.
1852 * shell/ev-window.c: fix for pedantic gcc.
1853 (ev_window_cmd_help_about): split license into paragraphs for
1854 translators and pedantic compilers.
1856 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1858 * configure.ac: add more warning flags if compiling with gcc from
1859 cvs (or explicitly requested with --enable-more-warnings).
1861 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1863 * data/evince-ui.xml: add File and File->Close menu.
1865 * shell/ev-window.c (ev_window_cmd_file_close_window): impl.
1866 (ev_window_destroy): quit after destroy.
1867 (ev_window_class_init): override GtkObject::destroy.
1868 (entries): install close_window callback.
1870 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1872 * Makefile.am (SUBDIRS): add data subdir.
1874 * configure.ac (UIDIR): gen data/Makefile, define UIDIR. Require
1875 gtk+ 2.5.0 for GtkAboutDialog.
1877 * data/Makefile.am, data/evince-ui.xml: add, ui definition for the
1880 * shell/Makefile.am (INCLUDES): propagate UIDIR definition.
1882 * shell/ev-window.c (ev_window_init): create a menubar, using a ui
1884 (ev_window_cmd_help_about): about command, using GtkAboutDialog.
1886 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1888 * shell/ev-window.c, shell/ev-window.h: Created an EvWindow class.
1890 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
1892 * shell/main.c: make it a trivial gtk+ program, adjust configure.ac
1894 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
1896 * shell/*: Added shell directory boilerplate, build it.
1898 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
1900 * configure.ac, Makefile.am: Added top-level configure.ac and