1 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
8 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
10 * shell/ev-view.c: (set_document_page):
12 Scroll at the top of the page when changing page
14 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
16 * shell/ev-view.c: (ev_view_motion_notify_event):
18 Do not redraw unnecessarily
20 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
22 * pdf/xpdf/pdf-document.cc:
23 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
24 (expose_bin_window), (find_changed_cb):
26 Yay! find works now... Now to find bugs...
28 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
30 * backend/ev-document-find.c: (ev_document_find_base_init),
31 (ev_document_find_changed):
32 * backend/ev-document-find.h:
33 * pdf/xpdf/pdf-document.cc:
34 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
35 (expose_bin_window), (ev_view_init), (set_document_page),
36 (ensure_rectangle_is_visible), (jump_to_find_result),
37 (jump_to_find_page), (find_changed_cb), (ev_view_set_document),
38 (ev_view_find_next), (ev_view_find_previous):
40 * shell/ev-window.c: (find_bar_previous_cb), (find_bar_next_cb):
42 More work on find implementation, mostly there now
44 2005-01-29 Marco Pesenti Gritti <marco@gnome.org>
46 * backend/ev-backend-marshalers.list:
47 * backend/ev-document-find.c: (ev_document_find_base_init),
48 (ev_document_find_cancel), (ev_document_find_page_has_results),
49 (ev_document_find_get_n_results), (ev_document_find_get_result),
50 (ev_document_find_get_progress), (ev_document_find_changed):
51 * backend/ev-document-find.h:
53 Enanche the find interface to be really able to do
56 * pdf/xpdf/pdf-document.cc:
60 * shell/ev-view.c: (ev_view_finalize), (highlight_find_results),
61 (expose_bin_window), (ev_view_init),
62 (ev_view_get_find_status_message), (find_changed_cb),
63 (ev_view_set_document), (set_document_page):
65 Adapt to the new interface. A few things are regressed sorry,
66 I will finish it soon.
68 2005-01-28 Martin Kretzschmar <martink@gnome.org>
70 * shell/ev-sidebar-thumbnails.c (ev_sidebar_thumbnails_destroy)
71 (ev_sidebar_thumbnails_class_init): use G_DEFINE_TYPE-supplied
72 ev_sidebar_thumbnails_parent_class variable, don't define another
73 parent_class variable.
75 * shell/ev-page-action.c (connect_proxy, ev_page_action_finalize)
76 (ev_page_action_class_init): ditto.
78 * pixbuf/pixbuf-document.c (pixbuf_document_finalize)
79 (pixbuf_document_class_init): ditto.
81 * backend/ev-link.c (ev_window_dispose, ev_link_class_init):
84 * .cvsignore: ignore various valgrind output files.
86 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
92 * shell/ev-navigation-action.c:
93 * shell/ev-navigation-action.h:
94 * shell/ev-view.c: (ev_view_finalize), (ev_view_go_to_link),
95 (ev_view_set_page), (ev_view_fit_width):
97 * shell/ev-window.c: (update_action_sensitivity),
98 (ev_window_setup_document), (register_custom_actions):
102 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
104 * shell/ev-window.c: (update_action_sensitivity):
106 Fix inverted up/down buttons
108 2005-01-27 Martin Kretzschmar <martink@gnome.org>
110 * shell/ev-sidebar-thumbnails.c
111 (ev_sidebar_thumbnails_select_page): make sure the selected
112 thumbnail stays visible.
114 2005-01-26 Martin Kretzschmar <martink@gnome.org>
116 * shell/ev-window.c (ev_window_init): add GTK_SHADOW_IN to the
117 scrolled window for Federico.
119 2005-01-26 Ole Laursen <olau@hardworking.dk>
121 * configure.ac: Added "da" (Danish) to ALL_LINGUAS.
123 2005-01-26 Marco Pesenti Gritti <marco@gnome.org>
126 * pdf/splash/SplashFTFontEngine.cc:
128 Fix CID fonts with freetype 2.1.9
130 2005-01-26 Bryan Clark <clarkbw@cvs.gnome.org>
132 * TODO: added item for desktop icon thumbnailer
134 Tue Jan 25 00:59:34 2005 Jonathan Blandford <jrb@redhat.com>
136 * pdf/xpdf/pdf-document.cc (pdf_document_get_title): guard against
137 unloaded docs when the title is accessed.
139 * shell/ev-password-view.[hc]: New widget for displaying password
142 * shell/ev-window.[ch]: Refactor password handling code to handle
145 2005-01-24 Marco Pesenti Gritti <marco@gnome.org>
153 2005-01-23 Stephane LOEUILLET <stephane.loeuillet@tiscali.fr>
155 * pdf/xpdf/pdf-document.cc (pdf_document_search_page_changed):
156 ignore page offset here, to make search results independent of it,
158 * shell/ev-view.c (expose_bin_window): but take offsets into
159 account here. Bug #164932
161 * pdf/xpdf/pdf-document.cc (pdf_document_get_link): divide by
162 scale at the right time. Bug #164996
164 2005-01-22 Martin Kretzschmar <martink@gnome.org>
166 * pdf/xpdf/GlobalParams.cc: My 2005-01-05 change didn't actually
167 fix the problem. Now I just removed the Adobe font names and hope
168 that the URW fonts are always in outline format. Bug #164934
170 * shell/ev-window.c (update_window_title): empty titles are
171 useless, use filename in that case too.
173 * NEWS: Add some content.
175 2005-01-21 Bryan Clark <clarkbw@cvs.gnome.org>
177 * TODO: added one more TODO item and a TODONE section :)
179 2005-01-21 Martin Kretzschmar <martink@gnome.org>
181 * ps/ps-document.h: add page_[xy]_offset fields.
183 * ps/ps-document.c (ps_document_set_page_offset)
184 (ps_document_render): Keep offset in consideration in a few
185 places. Bug #164752 "postscript documents are not centered in
188 * data/evince.desktop.in (X-GNOME-Bugzilla-Product):
189 s/gpdf/evince/. Spotted by Stephane Loeuillet.
191 * pixbuf/pixbuf-document.c (pixbuf_document_get_n_pages)
192 (pixbuf_document_get_text, pixbuf_document_document_iface_init):
193 stub out missing methods for complete EvDocument implementation.
194 Fixes segfaults with Save A Copy and Copy actions.
196 * ps/ps-document.c (ps_document_save, ps_document_get_text)
197 (ps_document_document_iface_init): ditto.
199 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
203 * data/evince.desktop.in:
207 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
209 * shell/ev-view.c: (ev_view_button_press_event),
210 (ev_view_motion_notify_event):
212 Make selection work in any direction
214 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
217 * shell/ev-window.c: (set_short_labels), (ev_window_init):
219 Use shorter labels for some of the toolbars items
221 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
223 * pdf/xpdf/pdf-document.cc:
225 Check the links info is initialized before
226 using it. Should fix a crash on startup.
228 2005-01-21 Martin Kretzschmar <martink@gnome.org>
230 * pixbuf/pixbuf-document.c
231 (pixbuf_document_thumbnails_get_dimensions): force floating point
232 division to calculate page_ratio. Fixes crash with landscape
235 Thu Jan 20 18:56:35 2005 Jonathan Blandford <jrb@redhat.com>
237 * shell/ev-view.c (ev_view_realize): make the bg color darker.
239 2005-01-20 Martin Kretzschmar <martink@gnome.org>
241 * shell/ev-view.c (set_document_page): unset has_selection when
243 (set_document_page): handle paper size changes when the page
244 changes (test with Free Culture, page 2).
246 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
248 * shell/ev-view.c: (ev_view_size_request), (ev_view_realize),
249 (expose_bin_window), (ev_view_class_init), (ev_view_init):
251 Use normal style color for the widget background and
252 draw a black box around the page.
254 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
256 * pdf/xpdf/pdf-document.cc:
258 Keep offset in consideration in a few places
260 * shell/ev-view.c: (expose_bin_window):
262 Set the offsets so that the document is ever centered
264 2005-01-20 Bryan Clark <clarkbw@cvs.gnome.org>
266 * TODO: Added TODO items and finished off the first todo item
268 * AUTHORS: Updated AUTHORS section with piece from gpdf file and
269 reflect current authors
271 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
273 * pdf/xpdf/pdf-document.cc:
274 * shell/ev-view.c: (ev_view_set_cursor),
275 (ev_view_motion_notify_event), (document_changed_callback),
278 Show a wait cursor while the page is rendering
280 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
282 * shell/ev-sidebar-thumbnails.c:
283 (ev_sidebar_tree_selection_changed),
284 (ev_sidebar_thumbnails_select_page):
285 * shell/ev-sidebar-thumbnails.h:
286 * shell/ev-view.c: (ev_view_set_document), (ev_view_can_go_back),
287 (ev_view_can_go_forward):
288 * shell/ev-window.c: (ev_window_open_page),
289 (ev_window_setup_document), (update_current_page),
290 (view_page_changed_cb), (ev_window_init):
293 Ensure thumbnails selection, toolbar page control and
294 current page are in sync.
296 2005-01-19 Marco Pesenti Gritti <marco@gnome.org>
302 Wed Jan 19 01:10:57 2005 Jonathan Blandford <jrb@redhat.com>
304 * backend/Makefile.am:
305 * backend/ev-document-links.h:
306 * backend/ev-document-security.c: (ev_document_security_get_type),
307 (ev_document_security_has_document_security),
308 (ev_document_security_set_password):
309 * backend/ev-document-security.h:
310 * backend/ev-document.c: (ev_document_error_quark):
311 * backend/ev-document.h:
313 * data/evince-password.glade:
314 * pdf/xpdf/pdf-document.cc:
316 * shell/ev-password.c: (ev_password_set_bad_password_label),
317 (ev_window_password_entry_changed_cb), (ev_password_dialog_new),
318 (ev_password_dialog_get_password),
319 (ev_password_dialog_set_bad_pass):
320 * shell/ev-password.h:
321 * shell/ev-window.c: (ev_window_get_attribute),
322 (ev_window_set_property), (update_action_sensitivity),
323 (ev_window_is_empty), (mime_type_supported_by_gdk_pixbuf),
324 (ev_window_setup_document), (ev_window_get_password),
325 (ev_window_open), (ev_window_cmd_save_as),
326 (using_postscript_printer), (ev_window_print),
327 (find_not_supported_dialog), (ev_window_cmd_edit_find),
328 (update_fullscreen_popup), (ev_window_fullscreen),
329 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
330 (ev_window_focus_out_cb), (ev_window_cmd_help_about),
331 (menu_item_select_cb), (find_bar_search_changed_cb),
332 (ev_window_dispose), (ev_window_init):
334 Add initial support for password-supported dialogs. This could be
335 a lot cooler, but it'll do for now.
337 2005-01-18 Marco Pesenti Gritti <marco@gnome.org>
339 * pdf/xpdf/pdf-document.cc:
340 * shell/ev-view.c: (status_message_from_link),
341 (ev_view_set_status), (ev_view_set_cursor),
342 (ev_view_motion_notify_event), (ev_view_init):
343 * shell/ev-window.c: (view_status_changed_cb), (ev_window_init):
345 Fix bugs in the links implementation and change cursor
346 when hovering a link.
348 2005-01-17 Bryan Clark <clarkbw@cvs.gnome.org>
350 * viewer/.cvsignore: added cvsignore file for viewer directory
352 * TODO: created TODO document
354 2005-01-14 Dave Malcolm <dmalcolm@redhat.com>
357 * shell/ev-view.c (ev_view_can_go_back), (ev_view_can_go_forward):
358 new functions to help with implementation of sensitivity code
359 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
360 of all actions that might require it. Fixes a crash when you
361 click on the Zoom actions in a window lacking a document.
363 2005-01-13 Dave Malcolm <dmalcolm@redhat.com>
365 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
368 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
370 * pixbuf/pixbuf-document.c: (pixbuf_document_get_link),
371 (pixbuf_document_document_iface_init):
372 * ps/ps-document.c: (ps_document_get_link),
373 (ps_document_document_iface_init):
374 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event),
375 (status_message_from_link), (ev_view_set_status),
376 (ev_view_set_find_status), (ev_view_motion_notify_event),
377 (ev_view_button_release_event), (ev_view_set_property),
378 (ev_view_get_property), (ev_view_class_init), (ev_view_init),
379 (ev_view_get_find_status_message), (update_find_results),
380 (ev_view_get_status), (ev_view_get_find_status):
382 * shell/ev-window.c: (view_status_changed_cb),
383 (view_find_status_changed_cb), (ev_window_init):
385 View status message support, use it to show the links.
388 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
390 * backend/ev-document.c: (ev_document_get_link):
391 * backend/ev-document.h:
392 * pdf/xpdf/pdf-document.cc:
393 * shell/ev-application.c: (ev_application_open):
394 * shell/ev-application.h:
395 * shell/ev-sidebar-links.c: (selection_changed_cb):
396 * shell/ev-view.c: (ev_view_button_release_event), (go_to_link),
397 (ev_view_go_to_link):
399 Add support for document links
401 2005-01-13 Anders Carlsson <andersca@gnome.org>
403 * shell/ev-page-action.c: (update_spin), (total_pages_changed_cb),
405 Set the spin button limits correctly.
407 * shell/ev-sidebar-thumbnails.c:
408 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init):
409 Support changing pages by clicking on the thumbnails.
411 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
413 * pixbuf/pixbuf-document.c:
414 (pixbuf_document_thumbnails_get_dimensions),
415 (pixbuf_document_document_thumbnails_iface_init):
417 implement get_dimensions
419 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
421 * ps/ps-document.c: (ps_document_goto_page):
423 Fix page switching on multipage documents
425 2005-01-12 Jeff Muizelaar <jrmuizel@nit.ca>
427 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
429 check for NULL before assigning to width and height parameters
431 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
433 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
434 (pixbuf_document_set_property), (pixbuf_document_get_property):
436 implement get/set properties
438 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
440 * pdf/xpdf/pdf-document.cc: (pdf_info_dict_get_string):
442 return NULL instead of "Unknown", letting the title get set to
443 the filename when the pdf has no title.
445 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
447 * ps/ps-document.c: (ps_document_get_page_count),
448 (ps_document_goto_page):
450 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
452 * shell/ev-history.c: (ev_history_get_property),
453 (ev_history_set_property), (ev_history_class_init),
454 (ev_history_add_page), (ev_history_set_current_index):
455 * shell/ev-navigation-action.c: (ev_navigation_action_set_history),
456 (activate_menu_item_cb), (new_history_menu_item), (build_menu),
457 (ev_navigation_action_finalize):
458 * shell/ev-navigation-action.h:
459 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
460 (ev_view_go_forward), (ev_view_get_find_status_message),
461 (history_index_changed_cb), (ev_view_set_history):
463 * shell/ev-window.c: (update_total_pages), (ev_window_open),
464 (update_current_page), (register_custom_actions):
466 Implement history dropdowns
468 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
470 * shell/ev-history.c: (ev_history_init), (ev_history_add_link):
471 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
472 (ev_view_go_forward):
473 * shell/ev-window.c: (register_custom_actions):
475 Fix several history bugs
477 2005-01-11 Kjartan Maraas <kmaraas@gnome.org>
479 * configure.ac: Add «nb» to ALL_LINGUAS.
481 2005-01-10 Marco Pesenti Gritti <marco@gnome.org>
483 * backend/Makefile.am:
484 * backend/ev-bookmark.c:
485 * backend/ev-bookmark.h:
486 * backend/ev-document-bookmarks.c:
487 * backend/ev-document-bookmarks.h:
488 * backend/ev-document-links.c: (ev_document_links_get_type),
489 (ev_document_links_has_document_links),
490 (ev_document_links_begin_read), (ev_document_links_get_link),
491 (ev_document_links_get_child), (ev_document_links_next),
492 (ev_document_links_free_iter):
493 * backend/ev-document-links.h:
494 * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_title),
495 (ev_link_set_title), (ev_link_get_uri), (ev_link_set_uri),
496 (ev_link_get_link_type), (ev_link_set_link_type),
497 (ev_link_get_page), (ev_link_set_page), (ev_link_get_property),
498 (ev_link_set_property), (ev_window_dispose), (ev_link_init),
499 (ev_link_class_init), (ev_link_new_title), (ev_link_new_page),
500 (ev_link_new_external):
502 * pdf/xpdf/pdf-document.cc:
504 * shell/ev-application.c: (ev_application_open_link):
505 * shell/ev-application.h:
506 * shell/ev-history.c: (ev_history_add_link), (ev_history_add_page),
507 (ev_history_get_link_nth):
508 * shell/ev-history.h:
509 * shell/ev-sidebar-bookmarks.c:
510 * shell/ev-sidebar-bookmarks.h:
511 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
512 (ev_sidebar_links_class_init), (selection_changed_cb),
513 (ev_sidebar_links_construct), (ev_sidebar_links_init),
514 (links_page_num_func), (ev_sidebar_links_new), (stack_data_free),
515 (do_one_iteration), (populate_links_idle),
516 (ev_sidebar_links_clear_document), (ev_sidebar_links_set_document):
517 * shell/ev-sidebar-links.h:
518 * shell/ev-sidebar.c: (ev_sidebar_set_document):
519 * shell/ev-view.c: (go_to_link), (ev_view_go_to_link),
522 * shell/ev-window.c: (ev_window_open_link), (ev_window_init):
525 Rename bookmark to link, and use "Index" for the sidebar panel.
527 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
530 * shell/ev-application.c: (ev_application_open_bookmark):
531 * shell/ev-application.h:
532 * shell/ev-history.c: (ev_history_init), (free_links_list),
533 (ev_history_finalize), (ev_history_class_init),
534 (ev_history_add_link), (ev_history_add_page),
535 (ev_history_get_link_nth), (ev_history_get_n_links),
536 (ev_history_get_current_index), (ev_history_set_current_index),
538 * shell/ev-history.h:
539 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
540 * shell/ev-view.c: (ev_view_finalize), (ev_view_set_document),
541 (set_document_page), (go_to_bookmark), (ev_view_go_to_bookmark),
542 (go_to_index), (ev_view_go_back), (ev_view_go_forward),
545 * shell/ev-window.c: (ev_window_open_bookmark),
546 (ev_window_cmd_go_back), (ev_window_cmd_go_forward),
547 (goto_page_cb), (register_custom_actions):
550 Initial history implementation. Needs work.
552 2005-01-09 Martin Kretzschmar <martink@gnome.org>
554 * pdf/xpdf/GDKSplashOutputDev.cc (redraw): fix pixbuf data offset.
556 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
558 * cut-n-paste/recent-files/egg-recent-item.c:
559 * cut-n-paste/recent-files/egg-recent-item.h:
560 * cut-n-paste/recent-files/egg-recent-model.c:
561 * cut-n-paste/recent-files/egg-recent-util.c:
562 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
563 * cut-n-paste/recent-files/egg-recent-view.c:
567 2005-01-08 Martin Kretzschmar <martink@gnome.org>
569 * pdf/splash/Splash.cc (clear, drawPixel, drawSpan, xorSpan, getPixel)
570 (fillGlyph, fillImageMask, drawImage):
571 pdf/splash/SplashBitmap.cc (SplashBitmap, ~SplashBitmap, writePNMFile):
572 pdf/splash/SplashTypes.h:
573 pdf/xpdf/SplashOutputDev (startPage, getColor, imageSrc): implement RGB8
574 packed mode for Splash.
576 * pdf/xpdf/GDKSplashOutputDev.cc (GDKSplashOutputDev, redraw): use
577 RGB8 packed mode, eliminates the pixbuf data creation loop.
579 * shell/ev-print-job.c (ev_print_job_finalize)
580 (ev_print_job_set_property, ev_print_job_get_property)
581 (ev_print_job_set_gnome_print_job, ev_print_job_set_document)
582 (ev_print_job_use_print_dialog_settings, idle_print_handler)
583 (print_closure_finalize, ev_print_job_print): implement
584 printing (for backends with EvPsExporter)
586 * shell/ev_print_job.h: update prototypes.
588 * shell/ev-window.c (ev_window_print): unref print job after
591 * shell/ev-view.c (ev_view_set_document): don't connect to "found"
592 unless the document implements the EvDocumentFind interface.
594 2005-01-08 Satoru SATOH <ss@gnome.gr.jp>
596 * configure.ac: Added ja to ALL_LINGUAS.
598 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
600 * pdf/xpdf/pdf-document.cc:
602 add a FIXME. We should probably not allocate
603 a bookmark object every time
605 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
607 * shell/ev-application.c: (ev_application_open),
608 (ev_application_open_bookmark):
609 * shell/ev-application.h:
611 Add a way to open bookmarks
613 * backend/ev-bookmark.c: (ev_bookmark_get_uri),
614 (ev_bookmark_set_uri), (ev_bookmark_get_property),
615 (ev_bookmark_set_property), (ev_bookmark_class_init),
616 (ev_bookmark_new_title), (ev_bookmark_new_link),
617 (ev_bookmark_new_external):
619 Support for external uris, better constructors.
621 * backend/ev-bookmark.h:
622 * pdf/xpdf/pdf-document.cc:
623 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
627 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
629 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb),
630 (ev_sidebar_bookmarks_construct), (do_one_iteration):
632 Hook up bookmarks navigation
634 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
636 * backend/Makefile.am:
637 * backend/ev-bookmark.c: (ev_bookmark_type_get_type),
638 (ev_bookmark_get_title), (ev_bookmark_set_title),
639 (ev_bookmark_get_bookmark_type), (ev_bookmark_set_bookmark_type),
640 (ev_bookmark_get_page), (ev_bookmark_set_page),
641 (ev_bookmark_get_property), (ev_bookmark_set_property),
642 (ev_window_dispose), (ev_bookmark_init), (ev_bookmark_class_init),
644 * backend/ev-bookmark.h:
645 * backend/ev-document-bookmarks.c:
646 (ev_document_bookmarks_get_bookmark):
647 * backend/ev-document-bookmarks.h:
648 * pdf/xpdf/pdf-document.cc:
649 * shell/ev-sidebar-bookmarks.c: (do_one_iteration):
651 Add a bookmark object to the backend and use it instead of get_values
653 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
655 * data/evince-ui.xml:
657 Cleanup and add select all.
659 * shell/ev-view.c: (ev_view_select_all),
660 (ev_view_button_press_event):
662 * shell/ev-window.c: (ev_window_cmd_edit_select_all):
665 Clear selection on click.
667 Fri Jan 7 01:28:58 2005 Jonathan Blandford <jrb@redhat.com>
669 * shell/ev-sidebar-thumbnails.c
670 (ev_sidebar_thumbnails_set_document): forgot to unref the
673 Fri Jan 7 01:22:48 2005 Jonathan Blandford <jrb@redhat.com>
675 * shell/ev-sidebar-thumbnails.c: fill in the thumbnails starting
676 at the visible page, not just linearly. This makes it look fast.
678 Thu Jan 6 18:48:11 2005 Jonathan Blandford <jrb@redhat.com>
680 * backend/ev-document-misc.c
681 (ev_document_misc_get_thumbnail_frame): fill in the thumbnail with
683 * backend/ev-document-thumbnails.h: New interface to get the size
686 2005-01-06 Jeremy Katz <katzj@redhat.com>
688 * shell/Makefile.am (evince_SOURCES): Add ev-utils.[ch] so that
691 Wed Jan 5 15:38:28 2005 Jonathan Blandford <jrb@redhat.com>
693 * pdf/xpdf/pdf-document.cc (bitmap_to_pixbuf): bypass
694 GDKSplashOutputDev and just use a normal SplashOutputDev. Speeds
697 * shell/ev-sidebar-thumbnail.c: start of some profiling code.
699 2005-01-05 Martin Kretzschmar <martink@gnome.org>
701 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): match only outline
702 fonts. Should fix font problems on systems that have the base
703 fonts in bitmap format. Reported by James Henstridge
704 <james@jamesh.id.au>.
706 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
709 * pdf/xpdf/GfxState.cc:
711 Fix for CAN-2004-1125
713 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
715 * shell/ev-view.c: (ev_view_copy):
717 * shell/ev-window.c: (ev_window_cmd_edit_copy):
721 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
723 * backend/ev-document.c: (ev_document_get_text):
724 * backend/ev-document.h:
725 * pdf/xpdf/pdf-document.cc:
726 * shell/ev-view.c: (ev_view_realize), (expose_bin_window),
727 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
728 (ev_view_update_primary_selection), (ev_view_button_press_event),
729 (ev_view_motion_notify_event), (ev_view_button_release_event):
731 Beginnings of clipboard support. Incomplete but primary sort
734 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
736 * shell/ev-view.c: (ev_gdk_color_to_rgb), (draw_rubberband),
739 Nicer rubberband drawing, from GtkIconView.
741 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
743 * backend/ev-document.c: (ev_document_save):
744 * backend/ev-document.h:
745 * data/evince-ui.xml:
746 * pdf/xpdf/pdf-document.cc:
747 * shell/ev-window.c: (save_error_dialog), (ev_window_cmd_save_as):
749 Implement "Save a copy..." menu item
751 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
753 * shell/ev-view.c: (ev_view_zoom):
755 Queue a resize when zoom changes
757 Wed Jan 5 02:33:06 2005 Jonathan Blandford <jrb@redhat.com>
759 * backend/ev-document-misc.[ch]: New misc file to do simple drop
762 * pdf/xpdf/pdf-document.cc: use the drop shadows in both types of
765 Tue Jan 4 22:32:32 2005 Jonathan Blandford <jrb@redhat.com>
767 * pdf/xpdf/pdf-document.cc
768 (pdf_document_thumbnails_get_page_pixbuf): poor man's dropshadow.
770 Tue Jan 4 21:25:05 2005 Jonathan Blandford <jrb@redhat.com>
772 * pdf/xpdf/pdf-document.cc: Do real thumbnailing of PDF files.
773 It's slow, but I'll speed it up next!
775 2005-01-04 Jeff Muizelaar <jrmuizel@nit.ca>
777 * shell/main.c (load_files):
779 use gnome_vfs_make_uri_from_shell_arg so that relative paths work
780 from the command line and because it seems more appropriate.
782 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
784 * data/evince-ui.xml:
785 * shell/ev-window.c: (update_action_sensitivity),
786 (ev_window_cmd_go_page_up), (ev_window_cmd_go_page_down):
788 s/next page/page down
789 s/previous page/page up
791 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
793 * data/evince-ui.xml:
795 Change the layout to match clarkbw design.
798 * shell/ev-navigation-action.c: (build_menu), (menu_activated_cb),
799 (set_tooltip_cb), (connect_proxy), (ev_navigation_action_init),
800 (ev_navigation_action_finalize),
801 (ev_navigation_action_set_property),
802 (ev_navigation_action_get_property),
803 (ev_navigation_action_class_init):
804 * shell/ev-navigation-action.h:
806 Implement clarkbw toolbar navigation controls (incomplete)
808 * shell/ev-page-action.c: (update_label), (update_spin),
809 (value_changed_cb), (create_tool_item), (connect_proxy),
810 (ev_page_action_init), (ev_page_action_finalize),
811 (ev_page_action_set_property), (ev_page_action_get_property),
812 (ev_page_action_set_current_page),
813 (ev_page_action_set_total_pages), (ev_page_action_class_init):
814 * shell/ev-page-action.h:
816 Implement a page switcher in the toolbar
818 * shell/ev-view.c: (ev_view_scroll_view):
819 * shell/ev-window.c: (update_total_pages), (ev_window_open),
820 (update_current_page), (view_page_changed_cb), (goto_page_cb),
821 (register_custom_actions), (ev_window_init):
823 Change page on PageUp/Down.
825 Tue Jan 4 03:22:56 2005 Jonathan Blandford <jrb@redhat.com>
827 * pdf/xpdf/pdf-document.cc
828 (pdf_document_thumbnails_get_thumbnail): initial stab at
829 implementing thumbnail support for pdfs. It only does documents
830 with precached pdfs now.
832 Mon Jan 3 17:22:25 2005 Jonathan Blandford <jrb@redhat.com>
834 * shell/ev-sidebar-thumbnails.c (do_one_iteration): move the
835 thumbnail code into a time-based idle as well. Also, turn off the
836 shadow temporarily as it's really slow.
838 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
840 * backend/ev-document.c: (ev_document_class_init):
841 * pdf/xpdf/pdf-document.cc:
842 * shell/ev-window.c: (ev_window_open):
844 Fix document title bugs and fallback to
845 filename when not available.
847 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
849 * backend/ev-document.c: (ev_document_get_type),
850 (ev_document_class_init), (ev_document_load),
851 (ev_document_get_title):
852 * backend/ev-document.h:
853 * pdf/xpdf/pdf-document.cc:
854 * ps/ps-document.c: (ps_document_set_property),
855 (ps_document_get_property), (ps_document_class_init),
859 * shell/ev-window.c: (update_window_title), (ev_window_open),
862 Initial support for document title. Not working yet.
864 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
866 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event):
868 Grab focus on the view when clicking it
870 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
872 * shell/ev-marshal.list:
873 * shell/ev-view.c: (ev_view_realize), (add_scroll_binding),
874 (ev_view_scroll_view), (ev_view_class_init), (ev_view_init):
876 Add key bindings to the view. Now if the focus would work
879 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
882 * backend/Makefile.am:
885 * dvi/dvilib/Makefile.am:
886 * pdf/xpdf/Makefile.am:
892 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
894 * shell/ev-view.c: (ev_view_realize):
896 Fix mouse wheel scrolling
898 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
904 * ps/ps-document.c: (catchPipe), (ps_document_init),
905 (ps_document_class_init), (ps_document_cleanup),
906 (ps_document_finalize), (send_ps), (ps_document_get_orientation),
907 (set_up_page), (close_pipe), (is_interpreter_ready),
908 (interpreter_failed), (output), (input), (start_interpreter),
909 (stop_interpreter), (file_length), (file_readable),
910 (check_filecompressed), (check_pdf), (compute_xdpi),
911 (compute_ydpi), (compute_size), (ps_document_enable_interpreter),
912 (ps_document_get_type), (ps_document_emit_error_msg),
913 (document_load), (ps_document_next_page),
914 (ps_document_get_current_page), (ps_document_get_page_count),
915 (ps_document_goto_page), (ps_document_set_page_size),
916 (ps_document_zoom_to_fit), (ps_document_set_zoom),
917 (ps_document_load), (ps_document_get_n_pages),
918 (ps_document_set_page), (ps_document_get_page),
919 (ps_document_widget_event), (ps_document_set_target),
920 (ps_document_set_scale), (ps_document_set_page_offset),
921 (ps_document_get_page_size), (ps_document_render),
922 (ps_document_document_iface_init):
925 * shell/ev-window.c: (ev_window_open):
927 Rename GtkGS to PSDocument
929 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
931 * ps/gtkgs.c: (gtk_gs_class_init):
934 Some more leftover...
936 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
938 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_get_orientation),
939 (output), (stop_interpreter), (gtk_gs_emit_error_msg),
940 (gtk_gs_zoom_to_fit), (gtk_gs_set_zoom):
943 Remove unused code and make a lot of stuff private
945 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
947 * ps/gsdefaults.c: (gtk_gs_defaults_gconf_client),
948 (gtk_gs_defaults_changed):
954 Cleanup headers dependencies
956 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
961 * ps/gsdefaults.c: (gtk_gs_defaults_get_paper_sizes):
963 * ps/gtkgs.c: (file_length), (file_readable),
964 (check_filecompressed), (check_pdf), (gtk_gs_load),
965 (gtk_gs_get_postscript):
969 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
974 * ps/gtkgs.c: (gtk_gs_set_zoom):
978 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
980 * ps/gtkgs.c: (gtk_gs_set_zoom), (gtk_gs_set_zoom_mode):
982 Ensure the page is rerendered when changing zoom
984 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
986 * backend/ev-document.c: (ev_document_base_init),
987 (ev_document_changed):
988 * backend/ev-document.h:
990 Add a changed event that is emitted when the page content
991 changes. This is necessary to deal with the fact that
992 in ps backend rendering happen asycrounously.
993 This makes the ps backend mostly work.
995 * pdf/xpdf/pdf-document.cc:
999 * ps/gtkgs.c: (set_up_page), (gtk_gs_widget_event),
1000 (ps_document_set_target):
1004 * shell/ev-view.c: (document_changed_callback),
1005 (ev_view_set_document), (ev_view_set_page):
1007 Redraw on the changed signal
1009 2004-12-25 Raphael Higino <raphaelh@cvs.gnome.org>
1011 * configure.ac: Added pt_BR to ALL_LINGUAS.
1013 Fri Dec 24 00:48:44 2004 Jonathan Blandford <jrb@redhat.com>
1015 * backend/ev-document-bookmarks.c:
1016 (ev_document_bookmarks_get_child): *
1017 backend/ev-document-bookmarks.h: * pdf/xpdf/Makefile.am: *
1018 pdf/xpdf/pdf-document.cc: * pdf/xpdf/pdf-document.h: *
1019 shell/Makefile.am: * shell/ev-sidebar-bookmarks.c:
1020 (ev_sidebar_bookmarks_destroy),
1021 (ev_sidebar_bookmarks_class_init),
1022 (ev_sidebar_bookmarks_construct), (stack_data_free),
1023 (do_one_iteration), (populate_bookmarks_idle),
1024 (ev_sidebar_bookmarks_clear_document),
1025 (ev_sidebar_bookmarks_set_document): *
1026 shell/ev-sidebar-bookmarks.h: * shell/ev-sidebar.c:
1027 (ev_sidebar_add_page),
1028 (ev_sidebar_set_document): * shell/ev-window.c: (ev_window_open):
1029 Initial stab at a bookmarks sidebar. It doesn't navigate yet, but
1030 it displays both the topics and the page numbers.
1032 2004-12-23 Kristian Høgsberg <krh@redhat.com>
1034 * shell/ev-window.c (ev_window_view_sidebar_cb): Hook up sidebar
1036 * shell/ev-window.c (toggle_entries): Set sidebar default value to
1039 2004-12-23 Adam Weinberger <adamw@gnome.org>
1041 * configure.ac: Added en_CA to ALL_LINGUAS.
1043 2004-12-23 Martin Kretzschmar <martink@gnome.org>
1045 * ChangeLog: replace bottom of this ChangeLog (merged history of
1046 ggv and gpdf; where all paths were wrong and most of the files are
1047 not even in this tree) with ChangeLog (from arch) of the shell
1050 2004-12-23 Havoc Pennington <hp@redhat.com>
1052 * shell/ev-window.c: hook up potentially-questionable "find
1053 results status text" feature - something involving the sidebar or
1054 scrollbar or a continuous all-pages-on-giant-roll-of-paper-view
1055 might be better in the end.
1057 * shell/ev-view.c (ev_view_get_find_status_message): new function,
1058 with corresponding signal when it should be updated
1060 * shell/eggfindbar.c (egg_find_bar_set_status_text): new function
1062 2004-12-22 Havoc Pennington <hp@redhat.com>
1064 * pdf/xpdf/pdf-document.cc (pdf_document_find_begin): make search
1065 find stuff on other pages, sort of (only returns one result on
1066 invisible pages, to show they have results; updates full results
1067 for a page when you view it). Currently repaints the current page
1068 every time a new result is found on any page, which isn't so nice.
1070 2004-12-22 Havoc Pennington <hp@redhat.com>
1072 * shell/ev-window.c (ev_window_cmd_edit_find): display an error if
1073 the document doesn't support find (better ideas?)
1074 (find_bar_search_changed_cb): handle missing document or document
1075 that doesn't support find
1077 * pdf/xpdf/pdf-document.cc: port to implement the new
1080 * backend/ev-document-find.c: create a new interface for searching
1082 * backend/ev-document.h, backend/ev-document.c: delete the find stuff
1084 2004-12-23 Martin Kretzschmar <martink@gnome.org>
1086 * pdf/xpdf/Makefile.am (libpdfdocument_la_LIBADD): add
1089 * shell/ev-window.c (ev_window_print): add GnomePrintJob to
1090 EvPrintJob constructor arguments.
1092 * backend/ev-ps-exporter.c, backend/ev-ps-exporter.h: interface
1093 for documents that can export PostScript (page by page).
1095 * backend/Makefile.am (libevbackend_la_SOURCES): add them.
1097 * pdf/xpdf/pdf-document.cc (pdf_document_ps_export_begin)
1098 (pdf_document_ps_export_do_page, pdf_document_ps_export_end)
1099 (pdf_document_ps_exporter_iface_init:
1100 Implement EvPSExporter.
1102 * pdf/xpdf/Makefile.am (libxpdf_la_SOURCES): build PSOutputDev.
1104 2004-12-22 Anders Carlsson <andersca@gnome.org>
1106 * backend/Makefile.am:
1107 * backend/ev-document-thumbnails.c:
1108 (ev_document_thumbnails_get_type),
1109 (ev_document_thumbnails_get_thumbnail):
1110 * backend/ev-document-thumbnails.h:
1111 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
1112 (pixbuf_document_thumbnails_get_thumbnail),
1113 (pixbuf_document_document_thumbnails_iface_init):
1114 * shell/Makefile.am:
1115 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_destroy),
1116 (ev_sidebar_thumbnails_class_init), (ev_sidebar_thumbnails_init),
1117 (populate_thumbnails), (ev_sidebar_thumbnails_set_document):
1118 * shell/ev-sidebar-thumbnails.h:
1119 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
1120 (ev_sidebar_set_document):
1121 * shell/ev-utils.c: (gaussian), (create_blur_filter),
1122 (create_shadow), (ev_pixbuf_add_shadow):
1124 Add thumbnail support.
1126 2004-12-22 Martin Kretzschmar <martink@gnome.org>
1128 * shell/ev-window.c (ev_window_cmd_file_print, ev_window_print)
1129 (using_postscript_printer): Set up a print dialog for "PostScript
1132 * shell/ev-print-job.h, shell/ev-print-job.c: stub classes for
1135 * shell/Makefile.am (evince_SOURCES): add ev-print-job.[ch]
1137 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
1139 * ps/gtkgs.c: (gtk_gs_init), (set_up_page),
1140 (ps_document_set_target), (ps_document_get_page_size),
1141 (ps_document_render):
1146 2004-12-22 Christian Rose <menthos@menthos.com>
1148 * configure.ac: Added "sv" to ALL_LINGUAS.
1150 Wed Dec 22 14:47:38 2004 Jonathan Blandford <jrb@redhat.com>
1152 * backend/ev-document-bookmarks.[ch]: new interface to indicate
1153 document supports bookmarks.
1155 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
1157 * ps/ggvutils.c: (ggv_file_readable):
1159 * ps/gtkgs.c: (check_filecompressed), (check_pdf),
1160 (gtk_gs_get_postscript):
1164 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
1166 * ps/gtkgs.c: (gtk_gs_init), (gtk_gs_class_init), (gtk_gs_cleanup),
1167 (gtk_gs_finalize), (gtk_gs_set_center), (set_up_page), (output),
1168 (start_interpreter), (compute_size), (gtk_gs_enable_interpreter),
1169 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_reload),
1170 (gtk_gs_emit_error_msg), (gtk_gs_disable_interpreter),
1171 (gtk_gs_load), (gtk_gs_goto_page), (gtk_gs_set_page_size),
1172 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
1173 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
1174 (gtk_gs_set_antialiasing), (ps_document_load),
1175 (ps_document_render):
1178 Another check point for the ps backend. Now I can get it to show
1181 Wed Dec 22 13:41:01 2004 Jonathan Blandford <jrb@redhat.com>
1183 * shell/ev-sidebar.c (ev_sidebar_set_document): initial sidebar
1184 document setting code.
1186 2004-12-22 Anders Carlsson <andersca@gnome.org>
1188 * shell/eggfindbar.c: (entry_activate_callback):
1189 Animate the next button when activate is pressed.
1191 2004-12-22 Anders Carlsson <andersca@gnome.org>
1193 * shell/ev-window.c: (ev_window_cmd_edit_find),
1194 (update_fullscreen_popup), (ev_window_fullscreen),
1195 (ev_window_unfullscreen), (ev_window_state_event_cb),
1196 (ev_window_focus_out_cb), (find_bar_close_cb), (ev_window_init):
1197 Fix bugs in fullscreen code.
1199 2004-12-22 Anders Carlsson <andersca@gnome.org>
1203 * pixbuf/Makefile.am:
1204 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
1205 (pixbuf_document_load), (pixbuf_document_get_n_pages),
1206 (pixbuf_document_set_page), (pixbuf_document_get_page),
1207 (pixbuf_document_set_target), (pixbuf_document_set_scale),
1208 (pixbuf_document_set_page_offset), (pixbuf_document_get_page_size),
1209 (pixbuf_document_render), (pixbuf_document_begin_find),
1210 (pixbuf_document_end_find), (pixbuf_document_finalize),
1211 (pixbuf_document_class_init),
1212 (pixbuf_document_document_iface_init), (pixbuf_document_init):
1213 * pixbuf/pixbuf-document.h:
1214 * shell/Makefile.am:
1215 * shell/ev-application.c: (ev_application_open):
1216 * shell/ev-window.c: (mime_type_supported_by_gdk_pixbuf),
1220 Tue Dec 21 21:45:43 2004 Soeren Sandmann <sandmann@redhat.com>
1223 * dvi/dvilib/Makefile.am:
1225 * configure.ac: Auto*ify dvi and dvi/dvilib
1227 * dvi/Makefile: Remove from CVS
1229 * dvi/dvilib/dl-pkfont.cc (unpack_bitmap): Fix uchar/uint
1232 * dvi/dvilib/dl-fontdefinition.{cc,hh}: New DviFontMap class
1234 * dvi/dvilib/dl-vffont.{cc,hh}: Many bugfixes to VF code.
1236 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
1239 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_finalize),
1240 (gtk_gs_value_adjustment_changed), (compute_size),
1241 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_new_from_file),
1242 (gtk_gs_center_page), (gtk_gs_load), (gtk_gs_set_page_size),
1243 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
1244 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
1245 (gtk_gs_start_scroll), (gtk_gs_get_postscript),
1246 (gtk_gs_set_adjustments), (gtk_gs_set_available_size),
1247 (ps_document_load), (ps_document_get_n_pages),
1248 (ps_document_set_page), (ps_document_get_page),
1249 (ps_document_set_target), (ps_document_set_scale),
1250 (ps_document_set_page_offset), (ps_document_get_page_size),
1251 (ps_document_render), (ps_document_begin_find),
1252 (ps_document_end_find), (ps_document_document_iface_init):
1254 * shell/Makefile.am:
1255 * shell/ev-window.c: (ev_window_open):
1257 Some work to integrate gtkgs with EvDocument
1259 2004-12-22 Anders Carlsson <andersca@gnome.org>
1261 * shell/ev-window.c: (update_fullscreen_popup),
1262 (screen_size_changed_cb), (destroy_exit_fullscreen_popup),
1263 (exit_fullscreen_button_clicked_cb),
1264 (fullscreen_popup_size_request_cb), (ev_window_fullscreen),
1265 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
1266 (ev_window_state_event_cb), (ev_window_init):
1267 Add fullscreen support from Epiphany.
1269 2004-12-22 Mark McLoughlin <mark@skynet.ie>
1271 * data/ev-stock-zoom-fit-width.png: fit-width
1272 stock icon from gpdf.
1274 * shell/ev-stock-icons.[ch]: copied from gpdf.
1276 * shell/main.c: (main): init stock icons.
1278 * shell/ev-window.c: use the fit-width icon.
1280 * data/evince-ui.xml: add zooming toolbar items.
1282 2004-12-22 Mark McLoughlin <mark@skynet.ie>
1285 (ev_view_best_fit), (ev_view_fit_width): because
1286 get_page_size() returns the scaled page size, we
1287 need to calculate the scale factor relative to
1288 the previous scale factor. Should really just
1289 add get_real_page_size().
1291 2004-12-22 Mark McLoughlin <mark@skynet.ie>
1293 * shell/ev-view.[ch]:
1294 (ev_view_zoom), (ev_view_zoom_in), (ev_view_zoom_out),
1295 (ev_view_normal_size), (ev_view_best_fit), (ev_view_fit_width):
1298 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
1299 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_normal_size),
1300 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width):
1303 * pdf/xpdf/pdf-document.cc:
1304 (pdf_document_begin_find),
1305 (pdf_document_end_find): make static.
1307 2004-12-22 Martin Kretzschmar <martink@gnome.org>
1309 * pdf/xpdf/GlobalParams.h (setupBaseFontsFc): add prototype.
1311 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): maps base font
1312 names to fontconfig patterns.
1313 (setupBaseFontsFc): setupBaseFonts reimplemented using fontconfig.
1315 * pdf/xpdf/pdf-document.cc (pdf_document_load): use
1318 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
1334 Import ggv backend. Not hooked up yet.
1336 2004-12-22 Mark McLoughlin <mark@skynet.ie>
1338 * shell/main.c: (load_files), (main): load files
1339 from the command line.
1341 2004-12-22 Mark McLoughlin <mark@skynet.ie>
1343 * configure.ac: don't require bonobo.
1345 * cut-n-paste/recent-files/*: kill bonobo recent
1348 * shell/ev-window.c:
1349 (ev_window_is_empty): upd.
1350 (unable_to_load), (ev_window_open): load backend
1351 based on the mime type.
1353 2004-12-22 Martin Kretzschmar <martink@gnome.org>
1355 * backend/.cvsignore: ignore generated marshalers source.
1357 * shell/main.c (main): this is not epiphany.
1359 2004-12-22 Havoc Pennington <hp@redhat.com>
1361 * shell/ev-view.c (ev_view_set_document): connect to "found" signal
1362 (expose_bin_window): draw find highlights
1364 * shell/ev-window.c (find_bar_search_changed_cb): implement
1366 * pdf/xpdf/pdf-document.cc (pdf_document_begin_find)
1367 (pdf_document_end_find): implement this interface
1369 * backend/ev-document.c (ev_document_found): add this to emit
1372 Tue Dec 21 23:57:37 2004 Owen Taylor <otaylor@redhat.com>
1374 * data/evince-ui.xml: Add a few more toolbar items.
1376 * shell/ev-window.c: Hook up page navigation toolbar
1379 * shell/ev-view.[ch]: add ev_view_set/get_page and
1380 a page-changed signal.
1382 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc::
1383 Add ev_document_get_page().
1385 * shell/ev-window.c: Sensitize/desensitize navigation
1388 2004-12-21 Havoc Pennington <hp@redhat.com>
1390 * backend/ev-backend-marshal.c,
1391 backend/ev-backend-marshalers.list, backend/Makefile.am: add
1392 marshaler-generator thingy. I'm sure there's a better way to do
1393 this in the modern world.
1395 * backend/ev-document.h (struct _EvDocumentIface): add begin_find,
1396 end_find methods and "found" signal.
1398 * configure.ac: find glib-genmarshal
1400 Tue Dec 21 23:20:35 2004 Jonathan Blandford <jrb@redhat.com>
1402 * shell/ev-sidebar.c: Construct an actual sidebar.
1403 * shell/ev-sidebar-bookmarks.[ch]:
1404 * shell/ev-sidebar-thumbnails.[ch]: Stub out sidebars.
1406 Tue Dec 21 23:05:51 2004 Owen Taylor <otaylor@redhat.com>
1408 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc:
1411 * shell/ev-view.c: Track the size from the document.
1413 Tue Dec 21 22:17:04 2004 Owen Taylor <otaylor@redhat.com>
1415 * pdf/xpdf/pdf-document.cc (pdf_document_load): PDFDoc
1416 constructor assumes ownership of the string passed in.
1418 * shell/ev-window.c (ev_window_open): Destroy the error
1419 dialog once we've displayed it.
1421 Tue Dec 21 21:58:56 2004 Owen Taylor <otaylor@redhat.com>
1423 * pdf/xpdf/pdf-document.cc shell/ev-view.c: Hook things up
1424 a bit, it works! (sort of)
1426 * pdf/xpdf/Makefile.am pdf/xpdf/pdf-document.cc:
1427 Move to .cc since we need to use C++ in the implementation.
1429 * shell/dummy.cc: Add a CC file to force evince
1430 to be linked as a C++ program.
1432 Tue Dec 21 21:07:55 2004 Owen Taylor <otaylor@redhat.com>
1434 * shell/ev-view.[ch]: Start of content-area widget.
1436 * shell/ev-window.c: Create a EvView, update it
1437 as we change documents.
1439 * shell/Makefile.am shell/ev-marshal.list: Add
1440 generated marshalers.
1442 Tue Dec 21 20:28:11 2004 Jonathan Blandford <jrb@redhat.com>
1444 * Makefile.am (SUBDIRS): move shell.
1446 Tue Dec 21 19:28:55 2004 Owen Taylor <otaylor@redhat.com>
1448 * pdf/{goo,fofi,splash,xpdf}/Makefile.am: Switch from
1449 .a to libtool convenience libraries.
1451 * shell/ev-window.c (ev_window_open): Hard code loading
1454 * backend/ev-document.h: Add a boolean return to load(),
1455 fix GError * to GError **.
1457 * pdf/xpdf/pdf-document.[ch] Makefile.am: Add a stub
1458 object for a PDF backend EvDocument.
1460 Tue Dec 21 18:55:06 2004 Søren Sandmann <sandmann@redhat.com>
1462 * dvi/*: New directory with the beginning of a .dvi backend.
1464 2004-12-21 Havoc Pennington <hp@redhat.com>
1466 * shell/eggfindbar.c (egg_find_bar_init): change buttons to
1467 previous/next instead of back/forward
1469 Tue Dec 21 18:26:24 2004 Owen Taylor <otaylor@redhat.com>
1471 * backend/ev-document.[ch]: Fix a couple of problems so
1474 Tue Dec 21 18:20:40 2004 Owen Taylor <otaylor@redhat.com>
1476 * viewer/* backend/* configure.ac Makefile.am: Move viewer directory
1477 to backend/ directory, rename EvViewer to EvDocument.
1479 2004-12-21 Havoc Pennington <hp@redhat.com>
1481 * shell/ev-window.c: hook up the find bar widget; now we just need
1482 a document to find things in
1484 * shell/eggfindbar.c: a find bar widget
1486 Tue Dec 21 17:20:16 2004 Jonathan Blandford <jrb@redhat.com>
1488 * shell/ev-sidebar.[ch]: initial sidebar boilerplate.
1490 Tue Dec 21 16:30:58 2004 Owen Taylor <otaylor@redhat.com>
1492 * pdf/**: Import of xpdf code from gpdf.
1494 * pdf/xpdf/xpdfconfig.h: Move the non-config.h config.h to xpdfconfig.h
1496 * pdf/splash/SplashFTFont.{cc,h} pdf/splash/SplashFTFont.h
1497 pdf/splash/SplashFTFontEngine.h pdf/splash/SplashFTFontFile.h:
1498 Fix FreeType includes.
1500 * pdf/xpdf/{Error.h GnomeVFSStream.cc ImageOutputDev.cc PDFDoc.cc\
1501 pdffonts.cc pdfimages.cc pdfinfo.cc pdftoppm.cc pdftops.cc
1502 pdftotext.cc PSOutputDev.cc PSOutputDev.h SplashOutputDev.h
1503 Stream.cc TextOutputDev.cc XPDFApp.cc xpdf.cc XPDFViewer.cc
1504 pdf/xpdf/Error.h PSOutputDev.h SplashOutputDev.h}:
1505 Include xpdfconfig.h
1507 Tue Dec 21 16:08:17 2004 Jonathan Blandford <jrb@redhat.com>
1509 * shell/ev-window.c (ev_window_dispose): dispose can be called
1512 2004-12-21 Havoc Pennington <hp@redhat.com>
1514 * shell/ev-window.c (ev_window_init): set title to Document Viewer
1517 * data/evince-ui.xml, shell/ev-window.c: add a bunch of stub menu
1518 items; really they should be synced with the strings, etc. from
1519 current gpdf, but just getting the boring typing out of the way
1521 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
1524 * shell/ev-application.c: (window_destroy_cb):
1525 * shell/ev-window.c:
1526 * shell/main.c: (main):
1528 Actually show the window...
1530 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
1533 * shell/Makefile.am:
1534 * shell/ev-application.c: (ev_application_class_init):
1535 * shell/ev-window.c: (ev_window_dispose), (ev_window_class_init):
1539 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
1541 Import to gnome cvs.
1543 * Remove copies of gpdf and ggv trees.
1544 * Rip out all the recursive configure code.
1545 * Remove bonobo machinery.
1546 * viewer/*: GInterfaces that backends should/can implement.
1548 2004-11-09 Martin Kretzschmar <m_kretzschmar@gmx.net>
1550 * shell/ev-window.c (ev_window_cmd_help_about): fix "documentors"
1553 2004-10-28 Martin Kretzschmar <m_kretzschmar@gmx.net>
1555 * shell/ev-application.c (EV_APPLICATION_GET_PRIVATE)
1556 (ev_application_finalize, ev_application_class_init)
1557 (ev_application_init): use GType instance private data for priv.
1559 * shell/ev-window.c (EV_WINDOW_GET_PRIVATE)
1560 (ev_window_finalize, ev_window_class_init)
1561 (ev_window_init): ditto.
1563 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
1565 * shell/ev-application.c (ev_application_new_window): make public
1566 (ev_application_show_initial_window): kill.
1568 * shell/ev-application.h: update prototypes.
1570 * shell/main.cc (main): inline ev_application_show_initial_window.
1572 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
1574 * shell/ev-application.c (ev_application_new_window): impl.
1575 (ev_application_show_initial_window): use it.
1576 (is_window_empty, ev_application_get_empty_window): returns an
1577 existing empty window or a new one.
1578 (ev_application_open): from ev_window_cmd_file_open.
1580 * shell/ev-application.h: update prototypes
1582 * shell/ev-window.c (ev_window_is_empty): impl.
1583 (ev_window_open): make public.
1584 (ev_window_cmd_file_open): use ev_application_open
1586 * shell/ev-window.h: update prototypes, remove unused.
1588 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
1590 * shell/ev-window.c (ev_window_destroy, ev_window_class_init):
1591 move destroy handler out of here...
1593 * shell/ev-application.c, shell/ev-application.h: ...into this new
1594 class. Also handles initial window creation.
1596 * shell/main.cc (main): use EvApplication to create initial
1599 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
1601 * Makefile.am (SUBDIRS): add cut-n-paste
1603 * cut-n-paste/Makefile.am: add
1605 * configure.ac: generate Makefiles in cut-n-paste
1607 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
1609 * shell/ev-window.c (ev_window_dispose): new, unref the ui_manager
1610 (ev_window_class_init): install ev_window_dispose.
1612 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
1614 * shell/ev-window.h, shell/ev-window.c: replace gchar with
1615 char (gchar looks stupid).
1617 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
1619 * po/de.po: updated German translation.
1621 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
1623 * configure.ac: add more pkg-config library checks for gnome-vfs,
1626 * gpdf/configure.in: temporarily disable libpaper
1627 checks. Otherwise I'd have to add the checks for the shell, too.
1629 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1631 * shell/ev-window.c (ev_window_cmd_file_open): add ps+pdf, ps, pdf
1632 and * file filters to the file choose.
1634 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1636 * po/de.po: Updated German translation.
1638 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1640 * shell/ev-window.c: use "S" as mnemonic for Statusbar.
1642 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1644 * data/evince-ui.xml: add View->Toolbar and View->Statusbar.
1646 * shell/ev-window.c (menu_item_select_cb, menu_item_select_cb)
1647 (ev_window_init): implement those menuitems.
1649 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1651 * data/evince-ui.xml: add a toolbar (with FileOpen action)
1653 * shell/ev-window.c (ev_window_init): use the toolbar.
1655 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1657 * shell/ev-window.c (ev_window_init): use menu translations
1659 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1661 * configure.ac: add "de" to ALL_LINGUAS.
1663 * po/de.po: add German translation.
1665 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1667 * Makefile.am (SUBDIRS): add po
1669 * configure.ac: check intltool, glib-gettext etc, generate
1672 * po, po/POTFILES.in, po/POTFILES.skip: new.
1674 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1676 * shell/Makefile.am (INCLUDES): define GNOMELOCALEDIR which we
1677 already use (#ifdef ENABLE_NLS)
1679 * shell/ev-window.c (ev_window_cmd_help_about): fix two star
1680 pointer indirection thinko.
1682 * shell/main.c: include gi18n.h for bindtextdomain etc.
1684 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1686 * shell/ev-window.c (menu_item_select_cb, menu_item_deselect_cb)
1687 (connect_proxy_cb, disconnect_proxy_cb, ev_window_init): show
1688 tooltips for menu items in the statusbar.
1690 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1692 * configure.ac, data/Makefile.am, shell/Makefile.am: use
1693 pkgdatadir drop UIDIR
1695 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1697 * data/evince-ui.xml: Add File->Open menu item
1699 * shell/ev-window.c (ev_window_cmd_file_open): impl. (shows a file
1700 chooser), hook it up in the ui manager.
1702 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1704 * shell/ev-window.c: fix Help->About tooltip.
1706 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1708 * configure.ac: set CFLAGS for libevprivate.
1710 * lib/ev-stock-icons.h, lib/ev-stock-icons.c: stock icon
1711 definitions, factory etc.
1713 * lib/Makefile.am: build libevprivate.a (only stock icon code).
1715 * shell/Makefile.am: link against libevprivate.a.
1717 * shell/ev-window.c (entries): add stock icon to Help->About.
1719 * shell/main.c (main): init stock icon code.
1721 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1723 * lib/recent-files: egg recent files code
1725 * lib/Makefile.am: add.
1727 * Makefile.am: add lib subdir.
1729 * configure.ac: gen. lib/Makefile and lib/recent-files/Makefile,
1730 set CFLAGS for recent-files.
1732 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1734 * configure.ac: disable -ansi and -pedantic gcc flags. They
1735 disable POSIX stuff in stdio.h, but egg-recent uses them.
1737 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1739 * configure.ac: add --disable-deprecated flag (defaults to on in
1742 * shell/Makefile.am (INCLUDES): use it.
1744 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1746 * shell/main.c: add missing #include.
1748 * shell/ev-window.c: fix for pedantic gcc.
1749 (ev_window_cmd_help_about): split license into paragraphs for
1750 translators and pedantic compilers.
1752 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1754 * configure.ac: add more warning flags if compiling with gcc from
1755 cvs (or explicitly requested with --enable-more-warnings).
1757 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1759 * data/evince-ui.xml: add File and File->Close menu.
1761 * shell/ev-window.c (ev_window_cmd_file_close_window): impl.
1762 (ev_window_destroy): quit after destroy.
1763 (ev_window_class_init): override GtkObject::destroy.
1764 (entries): install close_window callback.
1766 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1768 * Makefile.am (SUBDIRS): add data subdir.
1770 * configure.ac (UIDIR): gen data/Makefile, define UIDIR. Require
1771 gtk+ 2.5.0 for GtkAboutDialog.
1773 * data/Makefile.am, data/evince-ui.xml: add, ui definition for the
1776 * shell/Makefile.am (INCLUDES): propagate UIDIR definition.
1778 * shell/ev-window.c (ev_window_init): create a menubar, using a ui
1780 (ev_window_cmd_help_about): about command, using GtkAboutDialog.
1782 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1784 * shell/ev-window.c, shell/ev-window.h: Created an EvWindow class.
1786 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
1788 * shell/main.c: make it a trivial gtk+ program, adjust configure.ac
1790 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
1792 * shell/*: Added shell directory boilerplate, build it.
1794 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
1796 * configure.ac, Makefile.am: Added top-level configure.ac and