1 Wed Feb 2 21:13:11 2005 Jonathan Blandford <jrb@redhat.com>
3 * NOTES: New file with some random thoughts.
7 * backend/ev-document-misc.c:
8 (ev_document_misc_get_page_border_size): New function to
9 canonicalize shadow drawing sizes. Possibly goofy.
11 * shell/ev-view.c: (ev_view_size_request), (set_document_page),
12 (ev_view_best_fit), (ev_view_fit_width):
13 * pdf/xpdf/pdf-document.cc:
14 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
15 * ps/ps-document.c: (ps_document_get_page_size):
16 * backend/ev-document-misc.h:
17 * backend/ev-document.c: (ev_document_get_page_size):
18 * backend/ev-document.h: get_page_size now takes a page number
19 parameter. Made all the backends/frontends honor it.
21 * data/evince-ui.xml: Added a multiple-page mode. Uncomment to
22 see. Doesn't work yet.
25 * shell/ev-page-view.[ch]: New multi-page view. Really rough.
26 Doesn't do anything yet.
28 * shell/ev-sidebar-thumbnails.c:
29 (ev_sidebar_thumbnails_set_document): [1..n_pages] instead of
32 * shell/ev-window.c: (update_action_sensitivity),
33 (ev_window_setup_document), (ev_window_set_page_mode),
34 (ev_window_page_mode_cb), (ev_window_init): Clean up the
35 view-swapping code a bit so we can have multiple views on a
36 document. Add the multi-page view, though it can't be turned on
39 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
41 * shell/ev-application.c: (ev_application_open):
42 * shell/ev-view.c: (expose_bin_window):
43 * shell/ev-window.c: (ev_window_open):
45 Support eps and check document supports find
46 before drawing highlightings in expose.
48 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
50 * pixbuf/pixbuf-document.c:
51 (pixbuf_document_thumbnails_get_dimensions),
52 (pixbuf_document_document_thumbnails_iface_init):
54 implement get_dimensions
56 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
63 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
65 * shell/ev-view.c: (set_document_page):
67 Scroll at the top of the page when changing page
69 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
71 * shell/ev-view.c: (ev_view_motion_notify_event):
73 Do not redraw unnecessarily
75 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
77 * pdf/xpdf/pdf-document.cc:
78 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
79 (expose_bin_window), (find_changed_cb):
81 Yay! find works now... Now to find bugs...
83 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
85 * backend/ev-document-find.c: (ev_document_find_base_init),
86 (ev_document_find_changed):
87 * backend/ev-document-find.h:
88 * pdf/xpdf/pdf-document.cc:
89 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
90 (expose_bin_window), (ev_view_init), (set_document_page),
91 (ensure_rectangle_is_visible), (jump_to_find_result),
92 (jump_to_find_page), (find_changed_cb), (ev_view_set_document),
93 (ev_view_find_next), (ev_view_find_previous):
95 * shell/ev-window.c: (find_bar_previous_cb), (find_bar_next_cb):
97 More work on find implementation, mostly there now
99 2005-01-29 Marco Pesenti Gritti <marco@gnome.org>
101 * backend/ev-backend-marshalers.list:
102 * backend/ev-document-find.c: (ev_document_find_base_init),
103 (ev_document_find_cancel), (ev_document_find_page_has_results),
104 (ev_document_find_get_n_results), (ev_document_find_get_result),
105 (ev_document_find_get_progress), (ev_document_find_changed):
106 * backend/ev-document-find.h:
108 Enanche the find interface to be really able to do
111 * pdf/xpdf/pdf-document.cc:
115 * shell/ev-view.c: (ev_view_finalize), (highlight_find_results),
116 (expose_bin_window), (ev_view_init),
117 (ev_view_get_find_status_message), (find_changed_cb),
118 (ev_view_set_document), (set_document_page):
120 Adapt to the new interface. A few things are regressed sorry,
121 I will finish it soon.
123 2005-01-28 Martin Kretzschmar <martink@gnome.org>
125 * shell/ev-sidebar-thumbnails.c (ev_sidebar_thumbnails_destroy)
126 (ev_sidebar_thumbnails_class_init): use G_DEFINE_TYPE-supplied
127 ev_sidebar_thumbnails_parent_class variable, don't define another
128 parent_class variable.
130 * shell/ev-page-action.c (connect_proxy, ev_page_action_finalize)
131 (ev_page_action_class_init): ditto.
133 * pixbuf/pixbuf-document.c (pixbuf_document_finalize)
134 (pixbuf_document_class_init): ditto.
136 * backend/ev-link.c (ev_window_dispose, ev_link_class_init):
139 * .cvsignore: ignore various valgrind output files.
141 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
143 * data/evince-ui.xml:
145 * shell/ev-history.c:
146 * shell/ev-history.h:
147 * shell/ev-navigation-action.c:
148 * shell/ev-navigation-action.h:
149 * shell/ev-view.c: (ev_view_finalize), (ev_view_go_to_link),
150 (ev_view_set_page), (ev_view_fit_width):
152 * shell/ev-window.c: (update_action_sensitivity),
153 (ev_window_setup_document), (register_custom_actions):
157 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
159 * shell/ev-window.c: (update_action_sensitivity):
161 Fix inverted up/down buttons
163 2005-01-27 Martin Kretzschmar <martink@gnome.org>
165 * shell/ev-sidebar-thumbnails.c
166 (ev_sidebar_thumbnails_select_page): make sure the selected
167 thumbnail stays visible.
169 2005-01-26 Martin Kretzschmar <martink@gnome.org>
171 * shell/ev-window.c (ev_window_init): add GTK_SHADOW_IN to the
172 scrolled window for Federico.
174 2005-01-26 Ole Laursen <olau@hardworking.dk>
176 * configure.ac: Added "da" (Danish) to ALL_LINGUAS.
178 2005-01-26 Marco Pesenti Gritti <marco@gnome.org>
181 * pdf/splash/SplashFTFontEngine.cc:
183 Fix CID fonts with freetype 2.1.9
185 2005-01-26 Bryan Clark <clarkbw@cvs.gnome.org>
187 * TODO: added item for desktop icon thumbnailer
189 Tue Jan 25 00:59:34 2005 Jonathan Blandford <jrb@redhat.com>
191 * pdf/xpdf/pdf-document.cc (pdf_document_get_title): guard against
192 unloaded docs when the title is accessed.
194 * shell/ev-password-view.[hc]: New widget for displaying password
197 * shell/ev-window.[ch]: Refactor password handling code to handle
200 2005-01-24 Marco Pesenti Gritti <marco@gnome.org>
208 2005-01-23 Stephane LOEUILLET <stephane.loeuillet@tiscali.fr>
210 * pdf/xpdf/pdf-document.cc (pdf_document_search_page_changed):
211 ignore page offset here, to make search results independent of it,
213 * shell/ev-view.c (expose_bin_window): but take offsets into
214 account here. Bug #164932
216 * pdf/xpdf/pdf-document.cc (pdf_document_get_link): divide by
217 scale at the right time. Bug #164996
219 2005-01-22 Martin Kretzschmar <martink@gnome.org>
221 * pdf/xpdf/GlobalParams.cc: My 2005-01-05 change didn't actually
222 fix the problem. Now I just removed the Adobe font names and hope
223 that the URW fonts are always in outline format. Bug #164934
225 * shell/ev-window.c (update_window_title): empty titles are
226 useless, use filename in that case too.
228 * NEWS: Add some content.
230 2005-01-21 Bryan Clark <clarkbw@cvs.gnome.org>
232 * TODO: added one more TODO item and a TODONE section :)
234 2005-01-21 Martin Kretzschmar <martink@gnome.org>
236 * ps/ps-document.h: add page_[xy]_offset fields.
238 * ps/ps-document.c (ps_document_set_page_offset)
239 (ps_document_render): Keep offset in consideration in a few
240 places. Bug #164752 "postscript documents are not centered in
243 * data/evince.desktop.in (X-GNOME-Bugzilla-Product):
244 s/gpdf/evince/. Spotted by Stephane Loeuillet.
246 * pixbuf/pixbuf-document.c (pixbuf_document_get_n_pages)
247 (pixbuf_document_get_text, pixbuf_document_document_iface_init):
248 stub out missing methods for complete EvDocument implementation.
249 Fixes segfaults with Save A Copy and Copy actions.
251 * ps/ps-document.c (ps_document_save, ps_document_get_text)
252 (ps_document_document_iface_init): ditto.
254 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
258 * data/evince.desktop.in:
262 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
264 * shell/ev-view.c: (ev_view_button_press_event),
265 (ev_view_motion_notify_event):
267 Make selection work in any direction
269 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
272 * shell/ev-window.c: (set_short_labels), (ev_window_init):
274 Use shorter labels for some of the toolbars items
276 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
278 * pdf/xpdf/pdf-document.cc:
280 Check the links info is initialized before
281 using it. Should fix a crash on startup.
283 2005-01-21 Martin Kretzschmar <martink@gnome.org>
285 * pixbuf/pixbuf-document.c
286 (pixbuf_document_thumbnails_get_dimensions): force floating point
287 division to calculate page_ratio. Fixes crash with landscape
290 Thu Jan 20 18:56:35 2005 Jonathan Blandford <jrb@redhat.com>
292 * shell/ev-view.c (ev_view_realize): make the bg color darker.
294 2005-01-20 Martin Kretzschmar <martink@gnome.org>
296 * shell/ev-view.c (set_document_page): unset has_selection when
298 (set_document_page): handle paper size changes when the page
299 changes (test with Free Culture, page 2).
301 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
303 * shell/ev-view.c: (ev_view_size_request), (ev_view_realize),
304 (expose_bin_window), (ev_view_class_init), (ev_view_init):
306 Use normal style color for the widget background and
307 draw a black box around the page.
309 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
311 * pdf/xpdf/pdf-document.cc:
313 Keep offset in consideration in a few places
315 * shell/ev-view.c: (expose_bin_window):
317 Set the offsets so that the document is ever centered
319 2005-01-20 Bryan Clark <clarkbw@cvs.gnome.org>
321 * TODO: Added TODO items and finished off the first todo item
323 * AUTHORS: Updated AUTHORS section with piece from gpdf file and
324 reflect current authors
326 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
328 * pdf/xpdf/pdf-document.cc:
329 * shell/ev-view.c: (ev_view_set_cursor),
330 (ev_view_motion_notify_event), (document_changed_callback),
333 Show a wait cursor while the page is rendering
335 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
337 * shell/ev-sidebar-thumbnails.c:
338 (ev_sidebar_tree_selection_changed),
339 (ev_sidebar_thumbnails_select_page):
340 * shell/ev-sidebar-thumbnails.h:
341 * shell/ev-view.c: (ev_view_set_document), (ev_view_can_go_back),
342 (ev_view_can_go_forward):
343 * shell/ev-window.c: (ev_window_open_page),
344 (ev_window_setup_document), (update_current_page),
345 (view_page_changed_cb), (ev_window_init):
348 Ensure thumbnails selection, toolbar page control and
349 current page are in sync.
351 2005-01-19 Marco Pesenti Gritti <marco@gnome.org>
357 Wed Jan 19 01:10:57 2005 Jonathan Blandford <jrb@redhat.com>
359 * backend/Makefile.am:
360 * backend/ev-document-links.h:
361 * backend/ev-document-security.c: (ev_document_security_get_type),
362 (ev_document_security_has_document_security),
363 (ev_document_security_set_password):
364 * backend/ev-document-security.h:
365 * backend/ev-document.c: (ev_document_error_quark):
366 * backend/ev-document.h:
368 * data/evince-password.glade:
369 * pdf/xpdf/pdf-document.cc:
371 * shell/ev-password.c: (ev_password_set_bad_password_label),
372 (ev_window_password_entry_changed_cb), (ev_password_dialog_new),
373 (ev_password_dialog_get_password),
374 (ev_password_dialog_set_bad_pass):
375 * shell/ev-password.h:
376 * shell/ev-window.c: (ev_window_get_attribute),
377 (ev_window_set_property), (update_action_sensitivity),
378 (ev_window_is_empty), (mime_type_supported_by_gdk_pixbuf),
379 (ev_window_setup_document), (ev_window_get_password),
380 (ev_window_open), (ev_window_cmd_save_as),
381 (using_postscript_printer), (ev_window_print),
382 (find_not_supported_dialog), (ev_window_cmd_edit_find),
383 (update_fullscreen_popup), (ev_window_fullscreen),
384 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
385 (ev_window_focus_out_cb), (ev_window_cmd_help_about),
386 (menu_item_select_cb), (find_bar_search_changed_cb),
387 (ev_window_dispose), (ev_window_init):
389 Add initial support for password-supported dialogs. This could be
390 a lot cooler, but it'll do for now.
392 2005-01-18 Marco Pesenti Gritti <marco@gnome.org>
394 * pdf/xpdf/pdf-document.cc:
395 * shell/ev-view.c: (status_message_from_link),
396 (ev_view_set_status), (ev_view_set_cursor),
397 (ev_view_motion_notify_event), (ev_view_init):
398 * shell/ev-window.c: (view_status_changed_cb), (ev_window_init):
400 Fix bugs in the links implementation and change cursor
401 when hovering a link.
403 2005-01-17 Bryan Clark <clarkbw@cvs.gnome.org>
405 * viewer/.cvsignore: added cvsignore file for viewer directory
407 * TODO: created TODO document
409 2005-01-14 Dave Malcolm <dmalcolm@redhat.com>
412 * shell/ev-view.c (ev_view_can_go_back), (ev_view_can_go_forward):
413 new functions to help with implementation of sensitivity code
414 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
415 of all actions that might require it. Fixes a crash when you
416 click on the Zoom actions in a window lacking a document.
418 2005-01-13 Dave Malcolm <dmalcolm@redhat.com>
420 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
423 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
425 * pixbuf/pixbuf-document.c: (pixbuf_document_get_link),
426 (pixbuf_document_document_iface_init):
427 * ps/ps-document.c: (ps_document_get_link),
428 (ps_document_document_iface_init):
429 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event),
430 (status_message_from_link), (ev_view_set_status),
431 (ev_view_set_find_status), (ev_view_motion_notify_event),
432 (ev_view_button_release_event), (ev_view_set_property),
433 (ev_view_get_property), (ev_view_class_init), (ev_view_init),
434 (ev_view_get_find_status_message), (update_find_results),
435 (ev_view_get_status), (ev_view_get_find_status):
437 * shell/ev-window.c: (view_status_changed_cb),
438 (view_find_status_changed_cb), (ev_window_init):
440 View status message support, use it to show the links.
443 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
445 * backend/ev-document.c: (ev_document_get_link):
446 * backend/ev-document.h:
447 * pdf/xpdf/pdf-document.cc:
448 * shell/ev-application.c: (ev_application_open):
449 * shell/ev-application.h:
450 * shell/ev-sidebar-links.c: (selection_changed_cb):
451 * shell/ev-view.c: (ev_view_button_release_event), (go_to_link),
452 (ev_view_go_to_link):
454 Add support for document links
456 2005-01-13 Anders Carlsson <andersca@gnome.org>
458 * shell/ev-page-action.c: (update_spin), (total_pages_changed_cb),
460 Set the spin button limits correctly.
462 * shell/ev-sidebar-thumbnails.c:
463 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init):
464 Support changing pages by clicking on the thumbnails.
466 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
468 * pixbuf/pixbuf-document.c:
469 (pixbuf_document_thumbnails_get_dimensions),
470 (pixbuf_document_document_thumbnails_iface_init):
472 implement get_dimensions
474 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
476 * ps/ps-document.c: (ps_document_goto_page):
478 Fix page switching on multipage documents
480 2005-01-12 Jeff Muizelaar <jrmuizel@nit.ca>
482 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
484 check for NULL before assigning to width and height parameters
486 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
488 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
489 (pixbuf_document_set_property), (pixbuf_document_get_property):
491 implement get/set properties
493 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
495 * pdf/xpdf/pdf-document.cc: (pdf_info_dict_get_string):
497 return NULL instead of "Unknown", letting the title get set to
498 the filename when the pdf has no title.
500 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
502 * ps/ps-document.c: (ps_document_get_page_count),
503 (ps_document_goto_page):
505 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
507 * shell/ev-history.c: (ev_history_get_property),
508 (ev_history_set_property), (ev_history_class_init),
509 (ev_history_add_page), (ev_history_set_current_index):
510 * shell/ev-navigation-action.c: (ev_navigation_action_set_history),
511 (activate_menu_item_cb), (new_history_menu_item), (build_menu),
512 (ev_navigation_action_finalize):
513 * shell/ev-navigation-action.h:
514 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
515 (ev_view_go_forward), (ev_view_get_find_status_message),
516 (history_index_changed_cb), (ev_view_set_history):
518 * shell/ev-window.c: (update_total_pages), (ev_window_open),
519 (update_current_page), (register_custom_actions):
521 Implement history dropdowns
523 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
525 * shell/ev-history.c: (ev_history_init), (ev_history_add_link):
526 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
527 (ev_view_go_forward):
528 * shell/ev-window.c: (register_custom_actions):
530 Fix several history bugs
532 2005-01-11 Kjartan Maraas <kmaraas@gnome.org>
534 * configure.ac: Add «nb» to ALL_LINGUAS.
536 2005-01-10 Marco Pesenti Gritti <marco@gnome.org>
538 * backend/Makefile.am:
539 * backend/ev-bookmark.c:
540 * backend/ev-bookmark.h:
541 * backend/ev-document-bookmarks.c:
542 * backend/ev-document-bookmarks.h:
543 * backend/ev-document-links.c: (ev_document_links_get_type),
544 (ev_document_links_has_document_links),
545 (ev_document_links_begin_read), (ev_document_links_get_link),
546 (ev_document_links_get_child), (ev_document_links_next),
547 (ev_document_links_free_iter):
548 * backend/ev-document-links.h:
549 * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_title),
550 (ev_link_set_title), (ev_link_get_uri), (ev_link_set_uri),
551 (ev_link_get_link_type), (ev_link_set_link_type),
552 (ev_link_get_page), (ev_link_set_page), (ev_link_get_property),
553 (ev_link_set_property), (ev_window_dispose), (ev_link_init),
554 (ev_link_class_init), (ev_link_new_title), (ev_link_new_page),
555 (ev_link_new_external):
557 * pdf/xpdf/pdf-document.cc:
559 * shell/ev-application.c: (ev_application_open_link):
560 * shell/ev-application.h:
561 * shell/ev-history.c: (ev_history_add_link), (ev_history_add_page),
562 (ev_history_get_link_nth):
563 * shell/ev-history.h:
564 * shell/ev-sidebar-bookmarks.c:
565 * shell/ev-sidebar-bookmarks.h:
566 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
567 (ev_sidebar_links_class_init), (selection_changed_cb),
568 (ev_sidebar_links_construct), (ev_sidebar_links_init),
569 (links_page_num_func), (ev_sidebar_links_new), (stack_data_free),
570 (do_one_iteration), (populate_links_idle),
571 (ev_sidebar_links_clear_document), (ev_sidebar_links_set_document):
572 * shell/ev-sidebar-links.h:
573 * shell/ev-sidebar.c: (ev_sidebar_set_document):
574 * shell/ev-view.c: (go_to_link), (ev_view_go_to_link),
577 * shell/ev-window.c: (ev_window_open_link), (ev_window_init):
580 Rename bookmark to link, and use "Index" for the sidebar panel.
582 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
585 * shell/ev-application.c: (ev_application_open_bookmark):
586 * shell/ev-application.h:
587 * shell/ev-history.c: (ev_history_init), (free_links_list),
588 (ev_history_finalize), (ev_history_class_init),
589 (ev_history_add_link), (ev_history_add_page),
590 (ev_history_get_link_nth), (ev_history_get_n_links),
591 (ev_history_get_current_index), (ev_history_set_current_index),
593 * shell/ev-history.h:
594 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
595 * shell/ev-view.c: (ev_view_finalize), (ev_view_set_document),
596 (set_document_page), (go_to_bookmark), (ev_view_go_to_bookmark),
597 (go_to_index), (ev_view_go_back), (ev_view_go_forward),
600 * shell/ev-window.c: (ev_window_open_bookmark),
601 (ev_window_cmd_go_back), (ev_window_cmd_go_forward),
602 (goto_page_cb), (register_custom_actions):
605 Initial history implementation. Needs work.
607 2005-01-09 Martin Kretzschmar <martink@gnome.org>
609 * pdf/xpdf/GDKSplashOutputDev.cc (redraw): fix pixbuf data offset.
611 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
613 * cut-n-paste/recent-files/egg-recent-item.c:
614 * cut-n-paste/recent-files/egg-recent-item.h:
615 * cut-n-paste/recent-files/egg-recent-model.c:
616 * cut-n-paste/recent-files/egg-recent-util.c:
617 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
618 * cut-n-paste/recent-files/egg-recent-view.c:
622 2005-01-08 Martin Kretzschmar <martink@gnome.org>
624 * pdf/splash/Splash.cc (clear, drawPixel, drawSpan, xorSpan, getPixel)
625 (fillGlyph, fillImageMask, drawImage):
626 pdf/splash/SplashBitmap.cc (SplashBitmap, ~SplashBitmap, writePNMFile):
627 pdf/splash/SplashTypes.h:
628 pdf/xpdf/SplashOutputDev (startPage, getColor, imageSrc): implement RGB8
629 packed mode for Splash.
631 * pdf/xpdf/GDKSplashOutputDev.cc (GDKSplashOutputDev, redraw): use
632 RGB8 packed mode, eliminates the pixbuf data creation loop.
634 * shell/ev-print-job.c (ev_print_job_finalize)
635 (ev_print_job_set_property, ev_print_job_get_property)
636 (ev_print_job_set_gnome_print_job, ev_print_job_set_document)
637 (ev_print_job_use_print_dialog_settings, idle_print_handler)
638 (print_closure_finalize, ev_print_job_print): implement
639 printing (for backends with EvPsExporter)
641 * shell/ev_print_job.h: update prototypes.
643 * shell/ev-window.c (ev_window_print): unref print job after
646 * shell/ev-view.c (ev_view_set_document): don't connect to "found"
647 unless the document implements the EvDocumentFind interface.
649 2005-01-08 Satoru SATOH <ss@gnome.gr.jp>
651 * configure.ac: Added ja to ALL_LINGUAS.
653 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
655 * pdf/xpdf/pdf-document.cc:
657 add a FIXME. We should probably not allocate
658 a bookmark object every time
660 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
662 * shell/ev-application.c: (ev_application_open),
663 (ev_application_open_bookmark):
664 * shell/ev-application.h:
666 Add a way to open bookmarks
668 * backend/ev-bookmark.c: (ev_bookmark_get_uri),
669 (ev_bookmark_set_uri), (ev_bookmark_get_property),
670 (ev_bookmark_set_property), (ev_bookmark_class_init),
671 (ev_bookmark_new_title), (ev_bookmark_new_link),
672 (ev_bookmark_new_external):
674 Support for external uris, better constructors.
676 * backend/ev-bookmark.h:
677 * pdf/xpdf/pdf-document.cc:
678 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
682 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
684 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb),
685 (ev_sidebar_bookmarks_construct), (do_one_iteration):
687 Hook up bookmarks navigation
689 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
691 * backend/Makefile.am:
692 * backend/ev-bookmark.c: (ev_bookmark_type_get_type),
693 (ev_bookmark_get_title), (ev_bookmark_set_title),
694 (ev_bookmark_get_bookmark_type), (ev_bookmark_set_bookmark_type),
695 (ev_bookmark_get_page), (ev_bookmark_set_page),
696 (ev_bookmark_get_property), (ev_bookmark_set_property),
697 (ev_window_dispose), (ev_bookmark_init), (ev_bookmark_class_init),
699 * backend/ev-bookmark.h:
700 * backend/ev-document-bookmarks.c:
701 (ev_document_bookmarks_get_bookmark):
702 * backend/ev-document-bookmarks.h:
703 * pdf/xpdf/pdf-document.cc:
704 * shell/ev-sidebar-bookmarks.c: (do_one_iteration):
706 Add a bookmark object to the backend and use it instead of get_values
708 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
710 * data/evince-ui.xml:
712 Cleanup and add select all.
714 * shell/ev-view.c: (ev_view_select_all),
715 (ev_view_button_press_event):
717 * shell/ev-window.c: (ev_window_cmd_edit_select_all):
720 Clear selection on click.
722 Fri Jan 7 01:28:58 2005 Jonathan Blandford <jrb@redhat.com>
724 * shell/ev-sidebar-thumbnails.c
725 (ev_sidebar_thumbnails_set_document): forgot to unref the
728 Fri Jan 7 01:22:48 2005 Jonathan Blandford <jrb@redhat.com>
730 * shell/ev-sidebar-thumbnails.c: fill in the thumbnails starting
731 at the visible page, not just linearly. This makes it look fast.
733 Thu Jan 6 18:48:11 2005 Jonathan Blandford <jrb@redhat.com>
735 * backend/ev-document-misc.c
736 (ev_document_misc_get_thumbnail_frame): fill in the thumbnail with
738 * backend/ev-document-thumbnails.h: New interface to get the size
741 2005-01-06 Jeremy Katz <katzj@redhat.com>
743 * shell/Makefile.am (evince_SOURCES): Add ev-utils.[ch] so that
746 Wed Jan 5 15:38:28 2005 Jonathan Blandford <jrb@redhat.com>
748 * pdf/xpdf/pdf-document.cc (bitmap_to_pixbuf): bypass
749 GDKSplashOutputDev and just use a normal SplashOutputDev. Speeds
752 * shell/ev-sidebar-thumbnail.c: start of some profiling code.
754 2005-01-05 Martin Kretzschmar <martink@gnome.org>
756 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): match only outline
757 fonts. Should fix font problems on systems that have the base
758 fonts in bitmap format. Reported by James Henstridge
759 <james@jamesh.id.au>.
761 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
764 * pdf/xpdf/GfxState.cc:
766 Fix for CAN-2004-1125
768 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
770 * shell/ev-view.c: (ev_view_copy):
772 * shell/ev-window.c: (ev_window_cmd_edit_copy):
776 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
778 * backend/ev-document.c: (ev_document_get_text):
779 * backend/ev-document.h:
780 * pdf/xpdf/pdf-document.cc:
781 * shell/ev-view.c: (ev_view_realize), (expose_bin_window),
782 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
783 (ev_view_update_primary_selection), (ev_view_button_press_event),
784 (ev_view_motion_notify_event), (ev_view_button_release_event):
786 Beginnings of clipboard support. Incomplete but primary sort
789 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
791 * shell/ev-view.c: (ev_gdk_color_to_rgb), (draw_rubberband),
794 Nicer rubberband drawing, from GtkIconView.
796 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
798 * backend/ev-document.c: (ev_document_save):
799 * backend/ev-document.h:
800 * data/evince-ui.xml:
801 * pdf/xpdf/pdf-document.cc:
802 * shell/ev-window.c: (save_error_dialog), (ev_window_cmd_save_as):
804 Implement "Save a copy..." menu item
806 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
808 * shell/ev-view.c: (ev_view_zoom):
810 Queue a resize when zoom changes
812 Wed Jan 5 02:33:06 2005 Jonathan Blandford <jrb@redhat.com>
814 * backend/ev-document-misc.[ch]: New misc file to do simple drop
817 * pdf/xpdf/pdf-document.cc: use the drop shadows in both types of
820 Tue Jan 4 22:32:32 2005 Jonathan Blandford <jrb@redhat.com>
822 * pdf/xpdf/pdf-document.cc
823 (pdf_document_thumbnails_get_page_pixbuf): poor man's dropshadow.
825 Tue Jan 4 21:25:05 2005 Jonathan Blandford <jrb@redhat.com>
827 * pdf/xpdf/pdf-document.cc: Do real thumbnailing of PDF files.
828 It's slow, but I'll speed it up next!
830 2005-01-04 Jeff Muizelaar <jrmuizel@nit.ca>
832 * shell/main.c (load_files):
834 use gnome_vfs_make_uri_from_shell_arg so that relative paths work
835 from the command line and because it seems more appropriate.
837 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
839 * data/evince-ui.xml:
840 * shell/ev-window.c: (update_action_sensitivity),
841 (ev_window_cmd_go_page_up), (ev_window_cmd_go_page_down):
843 s/next page/page down
844 s/previous page/page up
846 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
848 * data/evince-ui.xml:
850 Change the layout to match clarkbw design.
853 * shell/ev-navigation-action.c: (build_menu), (menu_activated_cb),
854 (set_tooltip_cb), (connect_proxy), (ev_navigation_action_init),
855 (ev_navigation_action_finalize),
856 (ev_navigation_action_set_property),
857 (ev_navigation_action_get_property),
858 (ev_navigation_action_class_init):
859 * shell/ev-navigation-action.h:
861 Implement clarkbw toolbar navigation controls (incomplete)
863 * shell/ev-page-action.c: (update_label), (update_spin),
864 (value_changed_cb), (create_tool_item), (connect_proxy),
865 (ev_page_action_init), (ev_page_action_finalize),
866 (ev_page_action_set_property), (ev_page_action_get_property),
867 (ev_page_action_set_current_page),
868 (ev_page_action_set_total_pages), (ev_page_action_class_init):
869 * shell/ev-page-action.h:
871 Implement a page switcher in the toolbar
873 * shell/ev-view.c: (ev_view_scroll_view):
874 * shell/ev-window.c: (update_total_pages), (ev_window_open),
875 (update_current_page), (view_page_changed_cb), (goto_page_cb),
876 (register_custom_actions), (ev_window_init):
878 Change page on PageUp/Down.
880 Tue Jan 4 03:22:56 2005 Jonathan Blandford <jrb@redhat.com>
882 * pdf/xpdf/pdf-document.cc
883 (pdf_document_thumbnails_get_thumbnail): initial stab at
884 implementing thumbnail support for pdfs. It only does documents
885 with precached pdfs now.
887 Mon Jan 3 17:22:25 2005 Jonathan Blandford <jrb@redhat.com>
889 * shell/ev-sidebar-thumbnails.c (do_one_iteration): move the
890 thumbnail code into a time-based idle as well. Also, turn off the
891 shadow temporarily as it's really slow.
893 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
895 * backend/ev-document.c: (ev_document_class_init):
896 * pdf/xpdf/pdf-document.cc:
897 * shell/ev-window.c: (ev_window_open):
899 Fix document title bugs and fallback to
900 filename when not available.
902 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
904 * backend/ev-document.c: (ev_document_get_type),
905 (ev_document_class_init), (ev_document_load),
906 (ev_document_get_title):
907 * backend/ev-document.h:
908 * pdf/xpdf/pdf-document.cc:
909 * ps/ps-document.c: (ps_document_set_property),
910 (ps_document_get_property), (ps_document_class_init),
914 * shell/ev-window.c: (update_window_title), (ev_window_open),
917 Initial support for document title. Not working yet.
919 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
921 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event):
923 Grab focus on the view when clicking it
925 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
927 * shell/ev-marshal.list:
928 * shell/ev-view.c: (ev_view_realize), (add_scroll_binding),
929 (ev_view_scroll_view), (ev_view_class_init), (ev_view_init):
931 Add key bindings to the view. Now if the focus would work
934 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
937 * backend/Makefile.am:
940 * dvi/dvilib/Makefile.am:
941 * pdf/xpdf/Makefile.am:
947 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
949 * shell/ev-view.c: (ev_view_realize):
951 Fix mouse wheel scrolling
953 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
959 * ps/ps-document.c: (catchPipe), (ps_document_init),
960 (ps_document_class_init), (ps_document_cleanup),
961 (ps_document_finalize), (send_ps), (ps_document_get_orientation),
962 (set_up_page), (close_pipe), (is_interpreter_ready),
963 (interpreter_failed), (output), (input), (start_interpreter),
964 (stop_interpreter), (file_length), (file_readable),
965 (check_filecompressed), (check_pdf), (compute_xdpi),
966 (compute_ydpi), (compute_size), (ps_document_enable_interpreter),
967 (ps_document_get_type), (ps_document_emit_error_msg),
968 (document_load), (ps_document_next_page),
969 (ps_document_get_current_page), (ps_document_get_page_count),
970 (ps_document_goto_page), (ps_document_set_page_size),
971 (ps_document_zoom_to_fit), (ps_document_set_zoom),
972 (ps_document_load), (ps_document_get_n_pages),
973 (ps_document_set_page), (ps_document_get_page),
974 (ps_document_widget_event), (ps_document_set_target),
975 (ps_document_set_scale), (ps_document_set_page_offset),
976 (ps_document_get_page_size), (ps_document_render),
977 (ps_document_document_iface_init):
980 * shell/ev-window.c: (ev_window_open):
982 Rename GtkGS to PSDocument
984 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
986 * ps/gtkgs.c: (gtk_gs_class_init):
989 Some more leftover...
991 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
993 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_get_orientation),
994 (output), (stop_interpreter), (gtk_gs_emit_error_msg),
995 (gtk_gs_zoom_to_fit), (gtk_gs_set_zoom):
998 Remove unused code and make a lot of stuff private
1000 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
1002 * ps/gsdefaults.c: (gtk_gs_defaults_gconf_client),
1003 (gtk_gs_defaults_changed):
1009 Cleanup headers dependencies
1011 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
1016 * ps/gsdefaults.c: (gtk_gs_defaults_get_paper_sizes):
1018 * ps/gtkgs.c: (file_length), (file_readable),
1019 (check_filecompressed), (check_pdf), (gtk_gs_load),
1020 (gtk_gs_get_postscript):
1024 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
1029 * ps/gtkgs.c: (gtk_gs_set_zoom):
1033 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
1035 * ps/gtkgs.c: (gtk_gs_set_zoom), (gtk_gs_set_zoom_mode):
1037 Ensure the page is rerendered when changing zoom
1039 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
1041 * backend/ev-document.c: (ev_document_base_init),
1042 (ev_document_changed):
1043 * backend/ev-document.h:
1045 Add a changed event that is emitted when the page content
1046 changes. This is necessary to deal with the fact that
1047 in ps backend rendering happen asycrounously.
1048 This makes the ps backend mostly work.
1050 * pdf/xpdf/pdf-document.cc:
1054 * ps/gtkgs.c: (set_up_page), (gtk_gs_widget_event),
1055 (ps_document_set_target):
1059 * shell/ev-view.c: (document_changed_callback),
1060 (ev_view_set_document), (ev_view_set_page):
1062 Redraw on the changed signal
1064 2004-12-25 Raphael Higino <raphaelh@cvs.gnome.org>
1066 * configure.ac: Added pt_BR to ALL_LINGUAS.
1068 Fri Dec 24 00:48:44 2004 Jonathan Blandford <jrb@redhat.com>
1070 * backend/ev-document-bookmarks.c:
1071 (ev_document_bookmarks_get_child): *
1072 backend/ev-document-bookmarks.h: * pdf/xpdf/Makefile.am: *
1073 pdf/xpdf/pdf-document.cc: * pdf/xpdf/pdf-document.h: *
1074 shell/Makefile.am: * shell/ev-sidebar-bookmarks.c:
1075 (ev_sidebar_bookmarks_destroy),
1076 (ev_sidebar_bookmarks_class_init),
1077 (ev_sidebar_bookmarks_construct), (stack_data_free),
1078 (do_one_iteration), (populate_bookmarks_idle),
1079 (ev_sidebar_bookmarks_clear_document),
1080 (ev_sidebar_bookmarks_set_document): *
1081 shell/ev-sidebar-bookmarks.h: * shell/ev-sidebar.c:
1082 (ev_sidebar_add_page),
1083 (ev_sidebar_set_document): * shell/ev-window.c: (ev_window_open):
1084 Initial stab at a bookmarks sidebar. It doesn't navigate yet, but
1085 it displays both the topics and the page numbers.
1087 2004-12-23 Kristian Høgsberg <krh@redhat.com>
1089 * shell/ev-window.c (ev_window_view_sidebar_cb): Hook up sidebar
1091 * shell/ev-window.c (toggle_entries): Set sidebar default value to
1094 2004-12-23 Adam Weinberger <adamw@gnome.org>
1096 * configure.ac: Added en_CA to ALL_LINGUAS.
1098 2004-12-23 Martin Kretzschmar <martink@gnome.org>
1100 * ChangeLog: replace bottom of this ChangeLog (merged history of
1101 ggv and gpdf; where all paths were wrong and most of the files are
1102 not even in this tree) with ChangeLog (from arch) of the shell
1105 2004-12-23 Havoc Pennington <hp@redhat.com>
1107 * shell/ev-window.c: hook up potentially-questionable "find
1108 results status text" feature - something involving the sidebar or
1109 scrollbar or a continuous all-pages-on-giant-roll-of-paper-view
1110 might be better in the end.
1112 * shell/ev-view.c (ev_view_get_find_status_message): new function,
1113 with corresponding signal when it should be updated
1115 * shell/eggfindbar.c (egg_find_bar_set_status_text): new function
1117 2004-12-22 Havoc Pennington <hp@redhat.com>
1119 * pdf/xpdf/pdf-document.cc (pdf_document_find_begin): make search
1120 find stuff on other pages, sort of (only returns one result on
1121 invisible pages, to show they have results; updates full results
1122 for a page when you view it). Currently repaints the current page
1123 every time a new result is found on any page, which isn't so nice.
1125 2004-12-22 Havoc Pennington <hp@redhat.com>
1127 * shell/ev-window.c (ev_window_cmd_edit_find): display an error if
1128 the document doesn't support find (better ideas?)
1129 (find_bar_search_changed_cb): handle missing document or document
1130 that doesn't support find
1132 * pdf/xpdf/pdf-document.cc: port to implement the new
1135 * backend/ev-document-find.c: create a new interface for searching
1137 * backend/ev-document.h, backend/ev-document.c: delete the find stuff
1139 2004-12-23 Martin Kretzschmar <martink@gnome.org>
1141 * pdf/xpdf/Makefile.am (libpdfdocument_la_LIBADD): add
1144 * shell/ev-window.c (ev_window_print): add GnomePrintJob to
1145 EvPrintJob constructor arguments.
1147 * backend/ev-ps-exporter.c, backend/ev-ps-exporter.h: interface
1148 for documents that can export PostScript (page by page).
1150 * backend/Makefile.am (libevbackend_la_SOURCES): add them.
1152 * pdf/xpdf/pdf-document.cc (pdf_document_ps_export_begin)
1153 (pdf_document_ps_export_do_page, pdf_document_ps_export_end)
1154 (pdf_document_ps_exporter_iface_init:
1155 Implement EvPSExporter.
1157 * pdf/xpdf/Makefile.am (libxpdf_la_SOURCES): build PSOutputDev.
1159 2004-12-22 Anders Carlsson <andersca@gnome.org>
1161 * backend/Makefile.am:
1162 * backend/ev-document-thumbnails.c:
1163 (ev_document_thumbnails_get_type),
1164 (ev_document_thumbnails_get_thumbnail):
1165 * backend/ev-document-thumbnails.h:
1166 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
1167 (pixbuf_document_thumbnails_get_thumbnail),
1168 (pixbuf_document_document_thumbnails_iface_init):
1169 * shell/Makefile.am:
1170 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_destroy),
1171 (ev_sidebar_thumbnails_class_init), (ev_sidebar_thumbnails_init),
1172 (populate_thumbnails), (ev_sidebar_thumbnails_set_document):
1173 * shell/ev-sidebar-thumbnails.h:
1174 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
1175 (ev_sidebar_set_document):
1176 * shell/ev-utils.c: (gaussian), (create_blur_filter),
1177 (create_shadow), (ev_pixbuf_add_shadow):
1179 Add thumbnail support.
1181 2004-12-22 Martin Kretzschmar <martink@gnome.org>
1183 * shell/ev-window.c (ev_window_cmd_file_print, ev_window_print)
1184 (using_postscript_printer): Set up a print dialog for "PostScript
1187 * shell/ev-print-job.h, shell/ev-print-job.c: stub classes for
1190 * shell/Makefile.am (evince_SOURCES): add ev-print-job.[ch]
1192 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
1194 * ps/gtkgs.c: (gtk_gs_init), (set_up_page),
1195 (ps_document_set_target), (ps_document_get_page_size),
1196 (ps_document_render):
1201 2004-12-22 Christian Rose <menthos@menthos.com>
1203 * configure.ac: Added "sv" to ALL_LINGUAS.
1205 Wed Dec 22 14:47:38 2004 Jonathan Blandford <jrb@redhat.com>
1207 * backend/ev-document-bookmarks.[ch]: new interface to indicate
1208 document supports bookmarks.
1210 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
1212 * ps/ggvutils.c: (ggv_file_readable):
1214 * ps/gtkgs.c: (check_filecompressed), (check_pdf),
1215 (gtk_gs_get_postscript):
1219 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
1221 * ps/gtkgs.c: (gtk_gs_init), (gtk_gs_class_init), (gtk_gs_cleanup),
1222 (gtk_gs_finalize), (gtk_gs_set_center), (set_up_page), (output),
1223 (start_interpreter), (compute_size), (gtk_gs_enable_interpreter),
1224 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_reload),
1225 (gtk_gs_emit_error_msg), (gtk_gs_disable_interpreter),
1226 (gtk_gs_load), (gtk_gs_goto_page), (gtk_gs_set_page_size),
1227 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
1228 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
1229 (gtk_gs_set_antialiasing), (ps_document_load),
1230 (ps_document_render):
1233 Another check point for the ps backend. Now I can get it to show
1236 Wed Dec 22 13:41:01 2004 Jonathan Blandford <jrb@redhat.com>
1238 * shell/ev-sidebar.c (ev_sidebar_set_document): initial sidebar
1239 document setting code.
1241 2004-12-22 Anders Carlsson <andersca@gnome.org>
1243 * shell/eggfindbar.c: (entry_activate_callback):
1244 Animate the next button when activate is pressed.
1246 2004-12-22 Anders Carlsson <andersca@gnome.org>
1248 * shell/ev-window.c: (ev_window_cmd_edit_find),
1249 (update_fullscreen_popup), (ev_window_fullscreen),
1250 (ev_window_unfullscreen), (ev_window_state_event_cb),
1251 (ev_window_focus_out_cb), (find_bar_close_cb), (ev_window_init):
1252 Fix bugs in fullscreen code.
1254 2004-12-22 Anders Carlsson <andersca@gnome.org>
1258 * pixbuf/Makefile.am:
1259 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
1260 (pixbuf_document_load), (pixbuf_document_get_n_pages),
1261 (pixbuf_document_set_page), (pixbuf_document_get_page),
1262 (pixbuf_document_set_target), (pixbuf_document_set_scale),
1263 (pixbuf_document_set_page_offset), (pixbuf_document_get_page_size),
1264 (pixbuf_document_render), (pixbuf_document_begin_find),
1265 (pixbuf_document_end_find), (pixbuf_document_finalize),
1266 (pixbuf_document_class_init),
1267 (pixbuf_document_document_iface_init), (pixbuf_document_init):
1268 * pixbuf/pixbuf-document.h:
1269 * shell/Makefile.am:
1270 * shell/ev-application.c: (ev_application_open):
1271 * shell/ev-window.c: (mime_type_supported_by_gdk_pixbuf),
1275 Tue Dec 21 21:45:43 2004 Soeren Sandmann <sandmann@redhat.com>
1278 * dvi/dvilib/Makefile.am:
1280 * configure.ac: Auto*ify dvi and dvi/dvilib
1282 * dvi/Makefile: Remove from CVS
1284 * dvi/dvilib/dl-pkfont.cc (unpack_bitmap): Fix uchar/uint
1287 * dvi/dvilib/dl-fontdefinition.{cc,hh}: New DviFontMap class
1289 * dvi/dvilib/dl-vffont.{cc,hh}: Many bugfixes to VF code.
1291 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
1294 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_finalize),
1295 (gtk_gs_value_adjustment_changed), (compute_size),
1296 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_new_from_file),
1297 (gtk_gs_center_page), (gtk_gs_load), (gtk_gs_set_page_size),
1298 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
1299 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
1300 (gtk_gs_start_scroll), (gtk_gs_get_postscript),
1301 (gtk_gs_set_adjustments), (gtk_gs_set_available_size),
1302 (ps_document_load), (ps_document_get_n_pages),
1303 (ps_document_set_page), (ps_document_get_page),
1304 (ps_document_set_target), (ps_document_set_scale),
1305 (ps_document_set_page_offset), (ps_document_get_page_size),
1306 (ps_document_render), (ps_document_begin_find),
1307 (ps_document_end_find), (ps_document_document_iface_init):
1309 * shell/Makefile.am:
1310 * shell/ev-window.c: (ev_window_open):
1312 Some work to integrate gtkgs with EvDocument
1314 2004-12-22 Anders Carlsson <andersca@gnome.org>
1316 * shell/ev-window.c: (update_fullscreen_popup),
1317 (screen_size_changed_cb), (destroy_exit_fullscreen_popup),
1318 (exit_fullscreen_button_clicked_cb),
1319 (fullscreen_popup_size_request_cb), (ev_window_fullscreen),
1320 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
1321 (ev_window_state_event_cb), (ev_window_init):
1322 Add fullscreen support from Epiphany.
1324 2004-12-22 Mark McLoughlin <mark@skynet.ie>
1326 * data/ev-stock-zoom-fit-width.png: fit-width
1327 stock icon from gpdf.
1329 * shell/ev-stock-icons.[ch]: copied from gpdf.
1331 * shell/main.c: (main): init stock icons.
1333 * shell/ev-window.c: use the fit-width icon.
1335 * data/evince-ui.xml: add zooming toolbar items.
1337 2004-12-22 Mark McLoughlin <mark@skynet.ie>
1340 (ev_view_best_fit), (ev_view_fit_width): because
1341 get_page_size() returns the scaled page size, we
1342 need to calculate the scale factor relative to
1343 the previous scale factor. Should really just
1344 add get_real_page_size().
1346 2004-12-22 Mark McLoughlin <mark@skynet.ie>
1348 * shell/ev-view.[ch]:
1349 (ev_view_zoom), (ev_view_zoom_in), (ev_view_zoom_out),
1350 (ev_view_normal_size), (ev_view_best_fit), (ev_view_fit_width):
1353 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
1354 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_normal_size),
1355 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width):
1358 * pdf/xpdf/pdf-document.cc:
1359 (pdf_document_begin_find),
1360 (pdf_document_end_find): make static.
1362 2004-12-22 Martin Kretzschmar <martink@gnome.org>
1364 * pdf/xpdf/GlobalParams.h (setupBaseFontsFc): add prototype.
1366 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): maps base font
1367 names to fontconfig patterns.
1368 (setupBaseFontsFc): setupBaseFonts reimplemented using fontconfig.
1370 * pdf/xpdf/pdf-document.cc (pdf_document_load): use
1373 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
1389 Import ggv backend. Not hooked up yet.
1391 2004-12-22 Mark McLoughlin <mark@skynet.ie>
1393 * shell/main.c: (load_files), (main): load files
1394 from the command line.
1396 2004-12-22 Mark McLoughlin <mark@skynet.ie>
1398 * configure.ac: don't require bonobo.
1400 * cut-n-paste/recent-files/*: kill bonobo recent
1403 * shell/ev-window.c:
1404 (ev_window_is_empty): upd.
1405 (unable_to_load), (ev_window_open): load backend
1406 based on the mime type.
1408 2004-12-22 Martin Kretzschmar <martink@gnome.org>
1410 * backend/.cvsignore: ignore generated marshalers source.
1412 * shell/main.c (main): this is not epiphany.
1414 2004-12-22 Havoc Pennington <hp@redhat.com>
1416 * shell/ev-view.c (ev_view_set_document): connect to "found" signal
1417 (expose_bin_window): draw find highlights
1419 * shell/ev-window.c (find_bar_search_changed_cb): implement
1421 * pdf/xpdf/pdf-document.cc (pdf_document_begin_find)
1422 (pdf_document_end_find): implement this interface
1424 * backend/ev-document.c (ev_document_found): add this to emit
1427 Tue Dec 21 23:57:37 2004 Owen Taylor <otaylor@redhat.com>
1429 * data/evince-ui.xml: Add a few more toolbar items.
1431 * shell/ev-window.c: Hook up page navigation toolbar
1434 * shell/ev-view.[ch]: add ev_view_set/get_page and
1435 a page-changed signal.
1437 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc::
1438 Add ev_document_get_page().
1440 * shell/ev-window.c: Sensitize/desensitize navigation
1443 2004-12-21 Havoc Pennington <hp@redhat.com>
1445 * backend/ev-backend-marshal.c,
1446 backend/ev-backend-marshalers.list, backend/Makefile.am: add
1447 marshaler-generator thingy. I'm sure there's a better way to do
1448 this in the modern world.
1450 * backend/ev-document.h (struct _EvDocumentIface): add begin_find,
1451 end_find methods and "found" signal.
1453 * configure.ac: find glib-genmarshal
1455 Tue Dec 21 23:20:35 2004 Jonathan Blandford <jrb@redhat.com>
1457 * shell/ev-sidebar.c: Construct an actual sidebar.
1458 * shell/ev-sidebar-bookmarks.[ch]:
1459 * shell/ev-sidebar-thumbnails.[ch]: Stub out sidebars.
1461 Tue Dec 21 23:05:51 2004 Owen Taylor <otaylor@redhat.com>
1463 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc:
1466 * shell/ev-view.c: Track the size from the document.
1468 Tue Dec 21 22:17:04 2004 Owen Taylor <otaylor@redhat.com>
1470 * pdf/xpdf/pdf-document.cc (pdf_document_load): PDFDoc
1471 constructor assumes ownership of the string passed in.
1473 * shell/ev-window.c (ev_window_open): Destroy the error
1474 dialog once we've displayed it.
1476 Tue Dec 21 21:58:56 2004 Owen Taylor <otaylor@redhat.com>
1478 * pdf/xpdf/pdf-document.cc shell/ev-view.c: Hook things up
1479 a bit, it works! (sort of)
1481 * pdf/xpdf/Makefile.am pdf/xpdf/pdf-document.cc:
1482 Move to .cc since we need to use C++ in the implementation.
1484 * shell/dummy.cc: Add a CC file to force evince
1485 to be linked as a C++ program.
1487 Tue Dec 21 21:07:55 2004 Owen Taylor <otaylor@redhat.com>
1489 * shell/ev-view.[ch]: Start of content-area widget.
1491 * shell/ev-window.c: Create a EvView, update it
1492 as we change documents.
1494 * shell/Makefile.am shell/ev-marshal.list: Add
1495 generated marshalers.
1497 Tue Dec 21 20:28:11 2004 Jonathan Blandford <jrb@redhat.com>
1499 * Makefile.am (SUBDIRS): move shell.
1501 Tue Dec 21 19:28:55 2004 Owen Taylor <otaylor@redhat.com>
1503 * pdf/{goo,fofi,splash,xpdf}/Makefile.am: Switch from
1504 .a to libtool convenience libraries.
1506 * shell/ev-window.c (ev_window_open): Hard code loading
1509 * backend/ev-document.h: Add a boolean return to load(),
1510 fix GError * to GError **.
1512 * pdf/xpdf/pdf-document.[ch] Makefile.am: Add a stub
1513 object for a PDF backend EvDocument.
1515 Tue Dec 21 18:55:06 2004 Søren Sandmann <sandmann@redhat.com>
1517 * dvi/*: New directory with the beginning of a .dvi backend.
1519 2004-12-21 Havoc Pennington <hp@redhat.com>
1521 * shell/eggfindbar.c (egg_find_bar_init): change buttons to
1522 previous/next instead of back/forward
1524 Tue Dec 21 18:26:24 2004 Owen Taylor <otaylor@redhat.com>
1526 * backend/ev-document.[ch]: Fix a couple of problems so
1529 Tue Dec 21 18:20:40 2004 Owen Taylor <otaylor@redhat.com>
1531 * viewer/* backend/* configure.ac Makefile.am: Move viewer directory
1532 to backend/ directory, rename EvViewer to EvDocument.
1534 2004-12-21 Havoc Pennington <hp@redhat.com>
1536 * shell/ev-window.c: hook up the find bar widget; now we just need
1537 a document to find things in
1539 * shell/eggfindbar.c: a find bar widget
1541 Tue Dec 21 17:20:16 2004 Jonathan Blandford <jrb@redhat.com>
1543 * shell/ev-sidebar.[ch]: initial sidebar boilerplate.
1545 Tue Dec 21 16:30:58 2004 Owen Taylor <otaylor@redhat.com>
1547 * pdf/**: Import of xpdf code from gpdf.
1549 * pdf/xpdf/xpdfconfig.h: Move the non-config.h config.h to xpdfconfig.h
1551 * pdf/splash/SplashFTFont.{cc,h} pdf/splash/SplashFTFont.h
1552 pdf/splash/SplashFTFontEngine.h pdf/splash/SplashFTFontFile.h:
1553 Fix FreeType includes.
1555 * pdf/xpdf/{Error.h GnomeVFSStream.cc ImageOutputDev.cc PDFDoc.cc\
1556 pdffonts.cc pdfimages.cc pdfinfo.cc pdftoppm.cc pdftops.cc
1557 pdftotext.cc PSOutputDev.cc PSOutputDev.h SplashOutputDev.h
1558 Stream.cc TextOutputDev.cc XPDFApp.cc xpdf.cc XPDFViewer.cc
1559 pdf/xpdf/Error.h PSOutputDev.h SplashOutputDev.h}:
1560 Include xpdfconfig.h
1562 Tue Dec 21 16:08:17 2004 Jonathan Blandford <jrb@redhat.com>
1564 * shell/ev-window.c (ev_window_dispose): dispose can be called
1567 2004-12-21 Havoc Pennington <hp@redhat.com>
1569 * shell/ev-window.c (ev_window_init): set title to Document Viewer
1572 * data/evince-ui.xml, shell/ev-window.c: add a bunch of stub menu
1573 items; really they should be synced with the strings, etc. from
1574 current gpdf, but just getting the boring typing out of the way
1576 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
1579 * shell/ev-application.c: (window_destroy_cb):
1580 * shell/ev-window.c:
1581 * shell/main.c: (main):
1583 Actually show the window...
1585 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
1588 * shell/Makefile.am:
1589 * shell/ev-application.c: (ev_application_class_init):
1590 * shell/ev-window.c: (ev_window_dispose), (ev_window_class_init):
1594 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
1596 Import to gnome cvs.
1598 * Remove copies of gpdf and ggv trees.
1599 * Rip out all the recursive configure code.
1600 * Remove bonobo machinery.
1601 * viewer/*: GInterfaces that backends should/can implement.
1603 2004-11-09 Martin Kretzschmar <m_kretzschmar@gmx.net>
1605 * shell/ev-window.c (ev_window_cmd_help_about): fix "documentors"
1608 2004-10-28 Martin Kretzschmar <m_kretzschmar@gmx.net>
1610 * shell/ev-application.c (EV_APPLICATION_GET_PRIVATE)
1611 (ev_application_finalize, ev_application_class_init)
1612 (ev_application_init): use GType instance private data for priv.
1614 * shell/ev-window.c (EV_WINDOW_GET_PRIVATE)
1615 (ev_window_finalize, ev_window_class_init)
1616 (ev_window_init): ditto.
1618 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
1620 * shell/ev-application.c (ev_application_new_window): make public
1621 (ev_application_show_initial_window): kill.
1623 * shell/ev-application.h: update prototypes.
1625 * shell/main.cc (main): inline ev_application_show_initial_window.
1627 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
1629 * shell/ev-application.c (ev_application_new_window): impl.
1630 (ev_application_show_initial_window): use it.
1631 (is_window_empty, ev_application_get_empty_window): returns an
1632 existing empty window or a new one.
1633 (ev_application_open): from ev_window_cmd_file_open.
1635 * shell/ev-application.h: update prototypes
1637 * shell/ev-window.c (ev_window_is_empty): impl.
1638 (ev_window_open): make public.
1639 (ev_window_cmd_file_open): use ev_application_open
1641 * shell/ev-window.h: update prototypes, remove unused.
1643 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
1645 * shell/ev-window.c (ev_window_destroy, ev_window_class_init):
1646 move destroy handler out of here...
1648 * shell/ev-application.c, shell/ev-application.h: ...into this new
1649 class. Also handles initial window creation.
1651 * shell/main.cc (main): use EvApplication to create initial
1654 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
1656 * Makefile.am (SUBDIRS): add cut-n-paste
1658 * cut-n-paste/Makefile.am: add
1660 * configure.ac: generate Makefiles in cut-n-paste
1662 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
1664 * shell/ev-window.c (ev_window_dispose): new, unref the ui_manager
1665 (ev_window_class_init): install ev_window_dispose.
1667 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
1669 * shell/ev-window.h, shell/ev-window.c: replace gchar with
1670 char (gchar looks stupid).
1672 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
1674 * po/de.po: updated German translation.
1676 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
1678 * configure.ac: add more pkg-config library checks for gnome-vfs,
1681 * gpdf/configure.in: temporarily disable libpaper
1682 checks. Otherwise I'd have to add the checks for the shell, too.
1684 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1686 * shell/ev-window.c (ev_window_cmd_file_open): add ps+pdf, ps, pdf
1687 and * file filters to the file choose.
1689 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1691 * po/de.po: Updated German translation.
1693 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1695 * shell/ev-window.c: use "S" as mnemonic for Statusbar.
1697 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1699 * data/evince-ui.xml: add View->Toolbar and View->Statusbar.
1701 * shell/ev-window.c (menu_item_select_cb, menu_item_select_cb)
1702 (ev_window_init): implement those menuitems.
1704 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1706 * data/evince-ui.xml: add a toolbar (with FileOpen action)
1708 * shell/ev-window.c (ev_window_init): use the toolbar.
1710 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1712 * shell/ev-window.c (ev_window_init): use menu translations
1714 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1716 * configure.ac: add "de" to ALL_LINGUAS.
1718 * po/de.po: add German translation.
1720 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1722 * Makefile.am (SUBDIRS): add po
1724 * configure.ac: check intltool, glib-gettext etc, generate
1727 * po, po/POTFILES.in, po/POTFILES.skip: new.
1729 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1731 * shell/Makefile.am (INCLUDES): define GNOMELOCALEDIR which we
1732 already use (#ifdef ENABLE_NLS)
1734 * shell/ev-window.c (ev_window_cmd_help_about): fix two star
1735 pointer indirection thinko.
1737 * shell/main.c: include gi18n.h for bindtextdomain etc.
1739 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1741 * shell/ev-window.c (menu_item_select_cb, menu_item_deselect_cb)
1742 (connect_proxy_cb, disconnect_proxy_cb, ev_window_init): show
1743 tooltips for menu items in the statusbar.
1745 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1747 * configure.ac, data/Makefile.am, shell/Makefile.am: use
1748 pkgdatadir drop UIDIR
1750 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1752 * data/evince-ui.xml: Add File->Open menu item
1754 * shell/ev-window.c (ev_window_cmd_file_open): impl. (shows a file
1755 chooser), hook it up in the ui manager.
1757 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1759 * shell/ev-window.c: fix Help->About tooltip.
1761 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1763 * configure.ac: set CFLAGS for libevprivate.
1765 * lib/ev-stock-icons.h, lib/ev-stock-icons.c: stock icon
1766 definitions, factory etc.
1768 * lib/Makefile.am: build libevprivate.a (only stock icon code).
1770 * shell/Makefile.am: link against libevprivate.a.
1772 * shell/ev-window.c (entries): add stock icon to Help->About.
1774 * shell/main.c (main): init stock icon code.
1776 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1778 * lib/recent-files: egg recent files code
1780 * lib/Makefile.am: add.
1782 * Makefile.am: add lib subdir.
1784 * configure.ac: gen. lib/Makefile and lib/recent-files/Makefile,
1785 set CFLAGS for recent-files.
1787 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1789 * configure.ac: disable -ansi and -pedantic gcc flags. They
1790 disable POSIX stuff in stdio.h, but egg-recent uses them.
1792 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1794 * configure.ac: add --disable-deprecated flag (defaults to on in
1797 * shell/Makefile.am (INCLUDES): use it.
1799 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1801 * shell/main.c: add missing #include.
1803 * shell/ev-window.c: fix for pedantic gcc.
1804 (ev_window_cmd_help_about): split license into paragraphs for
1805 translators and pedantic compilers.
1807 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1809 * configure.ac: add more warning flags if compiling with gcc from
1810 cvs (or explicitly requested with --enable-more-warnings).
1812 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1814 * data/evince-ui.xml: add File and File->Close menu.
1816 * shell/ev-window.c (ev_window_cmd_file_close_window): impl.
1817 (ev_window_destroy): quit after destroy.
1818 (ev_window_class_init): override GtkObject::destroy.
1819 (entries): install close_window callback.
1821 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1823 * Makefile.am (SUBDIRS): add data subdir.
1825 * configure.ac (UIDIR): gen data/Makefile, define UIDIR. Require
1826 gtk+ 2.5.0 for GtkAboutDialog.
1828 * data/Makefile.am, data/evince-ui.xml: add, ui definition for the
1831 * shell/Makefile.am (INCLUDES): propagate UIDIR definition.
1833 * shell/ev-window.c (ev_window_init): create a menubar, using a ui
1835 (ev_window_cmd_help_about): about command, using GtkAboutDialog.
1837 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1839 * shell/ev-window.c, shell/ev-window.h: Created an EvWindow class.
1841 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
1843 * shell/main.c: make it a trivial gtk+ program, adjust configure.ac
1845 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
1847 * shell/*: Added shell directory boilerplate, build it.
1849 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
1851 * configure.ac, Makefile.am: Added top-level configure.ac and