1 2005-11-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info),
4 (job_finished_cb), (copy_job_to_job_info), (add_job_if_needed),
5 (new_selection_pixbuf_needed),
6 (ev_pixbuf_cache_get_selection_pixbuf), (update_job_selection),
9 Too early for 0.5. Pixbuf cache code cleaned a bit.
11 2005-11-14 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
16 Release 0.5.0 preparation
18 2005-11-14 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
22 * shell/ev-document-types.c: (ev_document_types_add_filters):
24 More advanced handling of custom mime type installation.
26 2005-11-14 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
28 * data/evince.schemas.in:
29 * shell/ev-metadata-manager.c: (value_free),
30 (ev_metadata_manager_get_last), (ev_metadata_manager_set_last),
31 (ev_metadata_manager_get), (ev_metadata_manager_set):
32 * shell/ev-metadata-manager.h:
33 * shell/ev-window.c: (update_chrome_flag),
34 (ev_window_cmd_focus_page_selector), (update_sidebar_visibility),
35 (setup_document_from_metadata), (setup_chrome_from_metadata),
36 (setup_sidebar_from_metadata), (setup_view_from_metadata),
37 (ev_window_cmd_edit_find), (ev_window_cmd_escape),
38 (ev_window_view_toolbar_cb),
39 (ev_window_sidebar_visibility_changed_cb), (find_bar_close_cb),
40 (view_actions_focus_in_cb), (ev_window_init), (ev_window_new):
42 Save last document settings and reuse them for new documents.
44 2005-11-14 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
47 * backend/Makefile.am:
48 * backend/ev-document-factory.c:
49 * backend/ev-document-factory.h:
51 * comics/comics-document.c: (G_DEFINE_TYPE_WITH_CODE),
52 (comics_document_load), (comics_document_save),
53 (comics_document_get_n_pages), (comics_document_get_page_size),
54 (get_page_size_area_prepared_cb), (comics_document_render_pixbuf) (render_pixbuf_size_prepared_cb), (comics_document_finalize),
55 (comics_document_class_init), (comics_document_can_get_text),
56 (comics_document_get_info), (comics_document_document_iface_init),
57 (comics_document_init), (get_supported_image_extensions),
58 (comics_document_thumbnails_get_geometry),
59 (comics_document_thumbnails_get_thumbnail),
60 (comics_document_thumbnails_get_dimensions),
61 (comics_document_document_thumbnails_iface_init), (extract_argv):
62 * comics/comics-document.h:
63 * comics/ev-cbr-mime.xml:
66 * shell/ev-application.c: (ev_application_register_service):
67 * shell/ev-document-types.c: (ev_document_types_add_filters):
68 * thumbnailer/Makefile.am:
69 * thumbnailer/evince-thumbnailer-comics.schemas.in:
71 New CBR/CBZ backend for comic books.
73 2005-11-10 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
75 * shell/main.c: (load_files_remote):
77 Thanks to Robert McQueen <robot101@debian.org>. Dbus
78 warning on startup of second instance is fixed. It
81 2005-10-30 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
83 * shell/ev-window.c: (ev_window_finalize):
85 Fix double free that cause crash.
87 2005-10-29 Bastien Nocera <hadess@hadess.net>
89 * tiff/tiff-document.c: (tiff_document_load):
93 2005-10-29 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
97 * shell/ev-view-accessible.c: (ev_view_accessible_get_priv),
98 (ev_view_accessible_free_priv), (ev_view_accessible_class_init),
99 (ev_view_accessible_get_text),
100 (ev_view_accessible_get_character_at_offset),
101 (ev_view_accessible_get_text_before_offset),
102 (ev_view_accessible_get_text_at_offset),
103 (ev_view_accessible_get_text_after_offset),
104 (ev_view_accessible_get_character_count),
105 (ev_view_accessible_get_caret_offset),
106 (ev_view_accessible_set_caret_offset),
107 (ev_view_accessible_get_run_attributes),
108 (ev_view_accessible_get_default_attributes),
109 (ev_view_accessible_get_character_extents),
110 (ev_view_accessible_get_offset_at_point),
111 (ev_view_accessible_get_n_selections),
112 (ev_view_accessible_get_selection),
113 (ev_view_accessible_add_selection),
114 (ev_view_accessible_remove_selection),
115 (ev_view_accessible_set_selection),
116 (ev_view_accessible_text_iface_init),
117 (ev_view_accessible_idle_do_action),
118 (ev_view_accessible_action_do_action),
119 (ev_view_accessible_action_get_n_actions),
120 (ev_view_accessible_action_get_description),
121 (ev_view_accessible_action_get_name),
122 (ev_view_accessible_action_set_description),
123 (ev_view_accessible_action_iface_init),
124 (ev_view_accessible_get_type), (ev_view_accessible_new),
125 (ev_view_accessible_factory_get_accessible_type),
126 (ev_view_accessible_factory_create_accessible),
127 (ev_view_accessible_factory_class_init),
128 (ev_view_accessible_factory_get_type):
129 * shell/ev-view-accessible.h:
130 * shell/ev-view-private.h:
131 * shell/ev-view.c: (ev_view_get_accessible), (ev_view_class_init):
134 Initial accessibility support.
136 2005-10-27 Erdal Ronahi <erdal.ronahi@gmail.com>
138 * configure.ac: Added ku (Kurdish) to ALL_LINGUAS
140 2005-10-26 Hubert Figuiere <hfiguiere@teaser.fr>
142 * shell/ev-print-job.c: (idle_print_handler):
144 Fix for bug Bug 318916: Printing multiple pages.
146 2005-10-20 Runa Bhattacharjee <runa@bengalinux.org>
148 * configure.ac: Added "bn" (Bengali) to ALL_LINGUAS.
150 2005-10-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
154 Thumnail dimensions unified with other backends.
156 * shell/ev-window-title.c: (ev_window_title_update):
160 2005-10-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
162 * data/ev-stock-zoom-fit-width.png:
166 2005-10-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
169 * djvu/djvu-document.c: (djvu_document_load), (djvu_document_save),
170 (djvu_document_finalize):
171 * dvi/dvi-document.c: (dvi_document_load), (dvi_document_save),
172 (dvi_document_finalize):
173 * pixbuf/pixbuf-document.c: (pixbuf_document_load),
174 (pixbuf_document_save), (pixbuf_document_finalize):
175 * tiff/tiff-document.c: (tiff_document_load), (tiff_document_save),
176 (tiff_document_finalize):
178 Save a copy implemented for various backends.
180 2005-10-17 Daniel Gryniewicz <dang@gentoo.org>
184 Don't link with ltiff if tiff is disabled.
186 2005-10-14 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
188 * pdf/GDKSplashOutputDev.cc:
189 * pdf/GDKSplashOutputDev.h:
192 * pdf/pdf-document.cc:
193 * pdf/pdf-document.h:
194 * pdf/test-gdk-output-dev.cc:
196 Remove old unused files.
198 2005-10-12 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
200 * shell/ev-window.c: (ev_window_setup_document):
202 Fixed warnings on reload and probably crash reason.
204 2005-10-12 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
206 * properties/ev-properties-view.c:
207 (ev_properties_view_format_date):
209 Check if date is invalid. Fix for bug 318134.
211 2005-10-02 Wouter Bolsterlee <uws+gnome@xs4all.nl>
213 * shell/ev-window-title.c:
215 Add .indd files (Adobe Indesign) to the list of "bad
218 2005-10-02 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
220 * data/evince-ui.xml:
221 * shell/ev-window.c: (ev_window_set_view_accels_sensitivity):
223 Add <ctrl>KP_Add and <ctrl>KP_Substract bindings.
225 2005-09-27 Christian Persch <chpe@cvs.gnome.org>
227 * shell/ev-window.c: (launch_link), (launch_external_uri),
228 (view_external_link_cb):
230 URL-escape link before passing it to gnome_vfs_url_show.
232 2005-09-27 Carlos Garcia Campos <carlosgc@gnome.org>
234 * shell/ev-view.[ch], shell/ev-window.c: Disable copy action when
235 there isn't text selected.
237 2005-09-27 Marco Pesenti Gritti <mpg@redhat.com>
239 * shell/ev-view.c: (handle_link_over_xy):
241 Check tooltip is valid utf8 before showing it
243 2005-09-27 Carlos Garcia Campos <carlosgc@gnome.org>
245 * shell/ev-view.c: Allow drag and drop of text. Fixes #316772
247 2005-09-27 Christian Persch <chpe@cvs.gnome.org>
249 * shell/ev-window-title.c: (ev_window_title_update):
251 Guard against using g_strstrip on NULL. Fixes bug #317291.
253 2005-09-26 Marco Pesenti Gritti <mpg@redhat.com>
257 Show title even for unknown links
259 2005-09-26 Marco Pesenti Gritti <mpg@redhat.com>
261 * shell/ev-window-title.c: (ev_window_title_update):
263 Strip the title string
265 2005-09-26 Marco Pesenti Gritti <mpg@redhat.com>
267 * shell/ev-window-title.c:
269 Add .rtf to the bad extensions list
271 2005-09-26 Marco Pesenti Gritti <mpg@redhat.com>
273 * shell/ev-view.c: (doc_point_to_view_point), (goto_fitr_link),
274 (goto_fitv_link), (goto_fith_link), (goto_xyz_link):
276 Ignore link coordinates if they are outside page bounds
278 2005-09-26 Marco Pesenti Gritti <mpg@redhat.com>
280 * backend/ev-link.c: (ev_link_type_get_type),
281 (ev_link_get_filename), (ev_link_get_params),
282 (ev_link_get_property), (ev_link_set_property),
283 (ev_window_dispose), (ev_link_class_init), (ev_link_new_launch):
286 * shell/ev-view.c: (ev_view_goto_link), (ev_view_class_init):
287 * shell/ev-window.c: (launch_link), (view_external_link_cb),
290 Implement launch links. Delegate external link opening to
293 2005-09-24 Marco Pesenti Gritti <mpg@redhat.com>
295 * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_bottom),
296 (ev_link_get_right), (ev_link_get_property),
297 (ev_link_set_property), (ev_link_class_init),
298 (ev_link_new_page_fitv), (ev_link_new_page_fitr):
301 * shell/ev-view.c: (goto_fitr_link), (ev_view_goto_link):
305 2005-09-24 Marco Pesenti Gritti <mpg@redhat.com>
307 * shell/ev-view.c: (ev_view_get_width), (ev_view_get_height),
308 (goto_fitv_link), (goto_fith_link), (goto_fit_link),
309 (ev_view_goto_link), (ev_view_size_request_continuous_dual_page),
310 (ev_view_size_request_continuous),
311 (ev_view_size_request_dual_page),
312 (ev_view_size_request_single_page), (ev_view_size_allocate),
313 (ev_view_zoom_for_size_continuous_and_dual_page),
314 (ev_view_zoom_for_size_continuous),
315 (ev_view_zoom_for_size_dual_page),
316 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
317 (ev_sizing_mode_get_type):
319 * shell/ev-window.c: (ev_window_sizing_mode_changed_cb):
321 Do not use modes for link, we need to calculate size ad hoc.
322 Still not perfect because of the usual scrollbar issues grrr.
324 2005-09-24 Marco Pesenti Gritti <mpg@redhat.com>
326 * backend/ev-link.c: (ev_link_type_get_type),
327 (ev_link_new_page_fith), (ev_link_new_page_fitv):
330 * shell/ev-view.c: (goto_fitv_link), (goto_fith_link),
331 (ev_view_goto_link), (ev_view_size_request_continuous_dual_page),
332 (ev_view_size_request_continuous),
333 (ev_view_size_request_dual_page),
334 (ev_view_size_request_single_page), (ev_view_size_allocate),
335 (zoom_for_size_fit_height),
336 (ev_view_zoom_for_size_continuous_and_dual_page),
337 (ev_view_zoom_for_size_continuous),
338 (ev_view_zoom_for_size_dual_page),
339 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
340 (ev_sizing_mode_get_type):
342 * shell/ev-window.c: (ev_window_sizing_mode_changed_cb):
344 Implement FIT_HEIGHT mode (only for links).
347 2005-09-24 Marco Pesenti Gritti <mpg@redhat.com>
349 * shell/ev-window-title.c: (get_filename_from_uri),
350 (ev_window_title_sanitize_extension), (ev_window_title_update),
351 (ev_window_title_set_document), (ev_window_title_set_uri),
352 (ev_window_title_free):
353 * shell/ev-window-title.h:
354 * shell/ev-window.c: (ev_window_setup_document),
355 (ev_window_popup_password_dialog):
357 Refactor window title building while fixing it for
360 2005-09-24 Marco Pesenti Gritti <mpg@redhat.com>
364 Escape link title before setting it in the model
366 2005-09-23 Marco Pesenti Gritti <mpg@redhat.com>
368 * shell/ev-application.c: (removed_from_session), (save_session),
369 (init_session), (ev_application_get_empty_window),
370 (ev_application_init), (ev_application_get_windows):
371 * shell/ev-application.h:
372 * shell/ev-window.c: (ev_window_finalize):
374 Add a function to retrieve window list and share it where
376 Implement session handling, works pretty well thanks to the
379 2005-09-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
381 * shell/ev-password.c: (ev_password_item_created_callback),
382 (ev_password_dialog_save_password):
384 Fix for bug 316972. Use async gnome-keyring API.
386 2005-09-22 Christian Persch <chpe@cvs.gnome.org>
388 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_class_init):
389 Remove unused unrealize handler. Add scroll handling to
390 ev_view_scroll_event for presentation mode (bug #316708),
391 and fix the event state checks there.
393 2005-09-22 Marco Pesenti Gritti <mpg@redhat.com>
395 * shell/ev-page-action.c: (page_changed_cb):
397 "marco, maybe we should be crazy and jump right to 6! :)"
399 Bryan Clark, Sep 2005
401 2005-09-22 Marco Pesenti Gritti <mpg@redhat.com>
403 * ps/ps-document.c: (save_document), (ps_document_save),
404 (ps_document_ps_export_begin), (ps_document_ps_export_do_page),
405 (ps_document_ps_export_end):
407 Fix unstructured documents save and print
409 2005-09-22 Marco Pesenti Gritti <mpg@redhat.com>
411 * shell/ev-application.c: (ev_application_open_uri):
413 Fix window size persistance
415 2005-09-22 Marco Pesenti Gritti <mpg@redhat.com>
417 * shell/ev-view.c: (ev_view_button_release_event):
419 Based on a patch from carlosgc@gnome.org. Mouse buttons
420 switch pages in presentation mode.
422 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
424 * shell/ev-page-cache.c: (ev_page_cache_get_size):
426 Dont cast to int before scaling
428 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
430 * backend/ev-link.c: (ev_link_type_get_type),
431 (ev_link_new_page_xyz), (ev_link_new_page_fit),
432 (ev_link_new_page_fith):
435 * shell/ev-view.c: (goto_fith_link), (ev_view_goto_link):
437 Implement FIT and FITH links
439 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
443 Return 0 results when search is not in progress.
445 * shell/ev-window.c: (ev_window_cmd_go_previous_page),
446 (ev_window_cmd_go_next_page), (find_bar_search_changed_cb):
448 Update menu sensitivity when cancelling search
450 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
452 * shell/ev-view.c: (ev_view_can_find_next):
454 Take all pages in consideration, not just current one
456 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
458 * shell/ev-page-cache.c:
459 * shell/ev-page-cache.h:
460 * shell/ev-view.c: (ev_view_binding_activated),
461 (ev_view_next_page), (ev_view_previous_page),
462 (ev_sizing_mode_get_type):
464 * shell/ev-window.c: (ev_window_cmd_go_previous_page),
465 (ev_window_cmd_go_next_page):
467 Move page next/previous functions from page chace to
468 view and change it to move by 2 page steps in dual mode.
470 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
472 * shell/ev-window.c: (update_sidebar_visibility),
473 (setup_sidebar_from_metadata), (ev_window_setup_document),
474 (setup_view_from_metadata):
476 Show the index by default when there is one
478 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
480 * shell/ev-window-title.c: (ev_window_title_set_document):
484 2005-09-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
486 * shell/ev-view.c: (view_update_range_and_current_page):
488 Allow display of last odd page in dual view. Fix for 316347.
490 2005-09-17 Wouter Bolsterlee <uws+gnome@xs4all.nl>
492 * shell/ev-window.c: (ev_window_cmd_edit_toolbar):
494 Make close button default. Fix for 316383.
496 2005-09-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
498 * shell/ev-properties-dialog.c: (ev_properties_dialog_init):
500 Mark close button as default. Fix for 316381.
502 2005-09-16 Marco Pesenti Gritti <mpg@redhat.com>
504 * backend/ev-link.c: (ev_link_class_init):
506 Allow negative doubles in left/top properties
508 2005-09-16 Marco Pesenti Gritti <mpg@redhat.com>
512 Remove a bunch of strings that was used only
515 2005-09-16 Marco Pesenti Gritti <mpg@redhat.com>
517 * shell/ev-window-title.c: (get_filename_from_uri),
518 (ev_window_title_set_document):
520 When title has a confusing extension, show also
521 the document filename inside ()
523 2005-09-16 Marco Pesenti Gritti <mpg@redhat.com>
526 * shell/ev-window-title.c: (ev_window_title_new),
527 (ev_window_title_update), (ev_window_title_set_type),
528 (ev_window_title_set_document), (ev_window_title_free):
529 * shell/ev-window-title.h:
530 * shell/ev-window.c: (ev_window_setup_document),
531 (password_dialog_response), (ev_window_popup_password_dialog),
532 (ev_window_dispose), (ev_window_init):
534 Factor out and cleanup window title code
536 2005-09-16 Marco Pesenti Gritti <mpg@redhat.com>
538 * shell/ev-window.c: (unable_to_load_dialog_response_cb),
541 Make dialog transient so it doesnt block other windows
543 2005-09-13 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
547 Fix pdf thumbnails rendering.
549 2005-09-13 Wouter Bolsterlee <uws+gnome@xs4all.nl>
551 * shell/ev-window.c: (fullscreen_set_timeout):
553 Increase timeout to hide full screen popup. Bug
556 2005-09-13 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
558 * data/evince.schemas.in:
559 * shell/ev-window.c: (update_action_sensitivity):
561 Allow the user to override document restrictions. Fix for bug
564 2005-09-13 Christian Persch <chpe@cvs.gnome.org>
566 * shell/ev-window.c: (ev_window_update_fullscreen_popup),
567 (ev_window_create_fullscreen_popup), (ev_window_screen_changed),
568 (ev_window_class_init): Fix multihead behaviour of fullscreen
569 toolbar popup. Fixes bug #315451.
571 2005-09-13 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
574 * data/evince-password.glade:
575 * shell/ev-password.c: (ev_password_dialog_set_property),
576 (ev_password_dialog_finalize), (ev_password_dialog_class_init),
577 (ev_password_dialog_init), (ev_password_set_bad_password_label),
578 (ev_password_dialog_entry_changed_cb),
579 (ev_password_dialog_entry_activated_cb),
580 (ev_password_dialog_save_password), (ev_password_keyring_found_cb),
581 (ev_password_search_in_keyring), (ev_password_dialog_get_password),
582 (ev_password_dialog_set_bad_pass):
583 * shell/ev-password.h:
584 * shell/ev-window.c: (password_dialog_response),
585 (ev_window_popup_password_dialog):
587 Support for gnome-keyring for encrypted PDF's.
589 2005-09-11 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
591 * shell/ev-view.c: (handle_link_over_xy), (ev_view_realize),
592 (ev_view_motion_notify_event), (ev_view_leave_notify_event),
593 (ev_view_enter_notify_event), (ev_view_class_init):
595 More precise handling of enter_notify/leave_notify events
596 in EvView. Fix for bug 315470.
598 2005-09-08 Christopher Aillon <caillon@redhat.com>
600 * shell/ev-window.c: (fullscreen_timeout_cb),
601 (fullscreen_set_timeout), (fullscreen_clear_timeout),
604 leak fix: unref fullscreen_timeout_source before clearing it
606 2005-09-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
608 * configure.ac, dvi/mdvi/Makefile.am:
610 Use lt1 instead lt1lib. Thanks to yselkowitz@users.sourceforge.net
612 2005-09-08 Marco Pesenti Gritti <mpg@redhat.com>
614 * backend/ev-link.c: (ev_link_new_page_xyz):
616 * shell/ev-view.c: (goto_xyz_link), (ev_view_goto_link):
618 Fix some bugs with xyz links, respect zoom
620 2005-09-08 Marco Pesenti Gritti <mpg@redhat.com>
622 * shell/ev-window.c: (page_changed_cb),
623 (setup_document_from_metadata), (update_sidebar_visibility),
624 (setup_view_from_metadata), (ev_window_run_fullscreen),
625 (ev_window_stop_fullscreen), (ev_window_run_presentation),
626 (ev_window_stop_presentation), (ev_window_continuous_changed_cb),
627 (ev_window_dual_mode_changed_cb),
628 (ev_window_sidebar_current_page_changed_cb):
630 null check uri before setting and getting metadata
632 2005-09-08 Marco Pesenti Gritti <mpg@redhat.com>
635 * properties/Makefile.am:
637 * thumbnailer/Makefile.am:
639 Some build fixes for cygwin. Patch by yselkowitz@users.sourceforge.net
641 2005-09-08 Marco Pesenti Gritti <mpg@redhat.com>
643 * shell/ev-sidebar-links.c: (ev_sidebar_links_class_init),
644 (selection_changed_callback):
645 * shell/ev-sidebar-links.h:
647 Add a signal for link activation.
649 * shell/ev-view.c: (ev_view_goto_link),
650 (ev_view_button_release_event):
652 * shell/ev-window.c: (sidebar_links_link_activated_cb),
655 Implement the signal so that we can handle all link types.
657 * shell/ev-page-cache.c:
659 Remove unused set_link function
661 2005-09-08 Marco Pesenti Gritti <mpg@redhat.com>
663 * lib/ev-tooltip.c: (ev_tooltip_set_position):
665 Add some space from the cursor, hardcoded but I couldnt
668 2005-09-07 Marco Pesenti Gritti <mpg@redhat.com>
672 Use mozilla style vs gtk style, way better for links.
674 * shell/ev-view.c: (ev_view_motion_notify_event),
675 (ev_view_destroy), (ev_view_init):
677 Deactive tooltip when the link hovered is changed.
679 2005-09-07 Marco Pesenti Gritti <mpg@redhat.com>
681 * backend/ev-document.h:
682 * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_top),
683 (ev_link_get_left), (ev_link_get_zoom), (ev_link_get_property),
684 (ev_link_set_property), (ev_window_dispose), (ev_link_class_init),
685 (ev_link_new_page), (ev_link_new_page_xyz):
688 * shell/ev-view.c: (doc_point_to_view_point), (scroll_to_xyz_link),
689 (go_to_link), (tip_from_link):
691 Implement xyz links, still not functional. Links are a total
692 mess, will need to refactor and bugfix a lot :(
694 2005-09-05 Alessio Frusciante <algol@firenze.linux.it>
696 * configure.ac: Added "it" (Italian) to ALL_LINGUAS.
698 2005-09-05 Marco Pesenti Gritti <mpg@redhat.com>
700 * data/evince-ui.xml:
701 * data/evince.schemas.in:
703 * shell/ev-window.c: (update_chrome_visibility),
704 (password_dialog_response), (ev_window_load_job_cb),
705 (ev_window_xfer_job_cb), (ev_window_open_uri),
706 (ev_window_class_init), (set_chrome_actions), (load_chrome),
709 Remove the statusbar. This regress loading feedback, need to
710 check with Bryan what we want to do there...
712 2005-09-05 Marco Pesenti Gritti <mpg@redhat.com>
714 * lib/ev-tooltip.c: (ev_tooltip_init):
716 Fix tooltip border and size handling
718 2005-09-05 Marco Pesenti Gritti <mpg@redhat.com>
720 * lib/ev-tooltip.c: (ev_tooltip_dispose), (ev_tooltip_class_init),
721 (ev_tooltip_set_position), (ev_tooltip_recently_shown),
722 (ev_tooltip_timeout), (ev_tooltip_activate),
723 (ev_tooltip_deactivate):
725 * shell/ev-view.c: (ev_view_motion_notify_event):
727 Delay popup showing. Mirror gtk logic/times.
729 2005-09-03 Marco Pesenti Gritti <mpg@redhat.com>
732 * lib/ev-tooltip.c: (ev_tooltip_expose_event),
733 (ev_tooltip_class_init), (ev_tooltip_init), (ev_tooltip_new),
734 (ev_tooltip_set_text), (ev_tooltip_set_position):
737 Simple widget to show tooltips at a custom position
739 * shell/ev-view.c: (tip_from_link), (ev_view_motion_notify_event),
742 Use it for links. First go, needs work
744 2005-08-17 Dennis Cranston <dennis_cranston@yahoo.com>
746 * shell/ev-window.c: (ev_window_cmd_edit_toolbar): A couple small
747 HIG fixes. Use title capitalization for window title. Use 12
748 pixels of space between the dialog's vbox and action area.
750 2005-09-02 Marco Pesenti Gritti <mpg@redhat.com>
752 * shell/ev-window.c: (file_open_dialog_response_cb),
753 (ev_window_cmd_file_open), (file_save_dialog_response_cb),
754 (ev_window_cmd_save_as):
756 Make file pickers not modal and refactor code some
758 2005-09-02 Marco Pesenti Gritti <mpg@redhat.com>
760 * shell/ev-sidebar.h:
761 * shell/ev-sidebar.c: (ev_sidebar_set_property),
762 (ev_sidebar_get_current_page), (ev_sidebar_get_property),
763 (ev_sidebar_class_init), (ev_sidebar_select_page),
764 (ev_sidebar_menu_item_activate_cb), (ev_sidebar_new),
765 (ev_sidebar_set_page):
767 Add a current page property and allow to get/set it
769 * shell/ev-window.c: (setup_view_from_metadata),
770 (ev_window_sidebar_current_page_changed_cb), (ev_window_init):
772 Persist current sidebar page per document
774 2005-09-02 Marco Pesenti Gritti <mpg@redhat.com>
776 * data/evince.schemas.in:
777 * shell/ev-window.c: (update_chrome_visibility),
778 (setup_document_from_metadata), (update_sidebar_visibility),
779 (setup_view_from_metadata), (ev_window_sidebar_position_change_cb),
780 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
781 (ev_window_run_presentation), (ev_window_stop_presentation),
782 (ev_window_view_sidebar_cb),
783 (ev_window_sidebar_visibility_changed_cb), (set_chrome_actions),
784 (load_chrome), (ev_window_init):
786 Persist size/visibility of sidebar per document
788 Fri Sep 2 00:59:55 2005 Jonathan Blandford <jrb@redhat.com>
790 * shell/ev-view.c (draw_loading_text): Draw loading text.
792 2005-09-02 Dan Damian <dand@gnome.ro>
794 * configure.in: Added "ro" to ALL_LINGUAS.
796 2005-09-01 Marco Pesenti Gritti <mpg@redhat.com>
798 * shell/ev-view.c: (clear_caches):
800 ev_page_cache_get doesnt return a reference,
801 dont try to unref it.
803 2005-09-01 Marco Pesenti Gritti <mpg@redhat.com>
805 * shell/main.c: (load_files_remote):
807 Fix timestamp parameter with dbus <= 0.33
809 2005-08-31 Marco Pesenti Gritti <mpg@redhat.com>
811 * data/evince.schemas.in:
813 Add missing full stop
815 2005-08-31 Hiroyuki Ikezoe <poincare@ikezoe.net>
817 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info):
818 * shell/ev-window.c: (ev_window_print_range), (ev_window_dispose):
820 Plug some memory leaks
822 2005-08-29 Christian Persch <chpe@cvs.gnome.org>
825 * lib/ev-debug.c: (trap_handler):
827 Check for execinfo.h and use it only if it exists.
828 Ported from Epiphany (bug #314776).
830 2005-08-29 Duarte Loreto <happyguy_pt@hotmail.com>
832 * configure.ac: Added Portuguese (pt) to ALL_LINGUAS.
834 2005-08-27 Mohammad DAMT <mdamt@gnome.org>
836 * configure.ac: Added Indonesian "id" to ALL_LINGUAS
837 * po/id.po : Added Indonesian translation
839 Fri Aug 26 00:45:09 2005 Jonathan Blandford <jrb@redhat.com>
842 * shell/ev-application.c: Last minute GTK-2.6 fixes.
843 * NEWS: Release 0.4.0
845 Thu Aug 25 23:40:23 2005 Jonathan Blandford <jrb@redhat.com>
847 * configure.ac: catch another gtk+-2.8ism
848 * shell/main.c: Make work with gtk+-2.6
850 2005-08-25 Ryan Lortie <desrt@desrt.ca>
852 * shell/ev-application-service.xml: Add 'timestamp' argument to
853 ev_application_open_window and ev_application_open_uri methods.
855 * shell/ev-application.h: Add 'timestamp' argument to
856 ev_application_open_window, ev_application_open_uri,
857 and ev_application_open_uri_list functions.
859 * shell/ev-application.c (ev_application_open_window,
860 ev_application_open_uri, ev_application_open_uri_list): Change
861 functions that show/present windows to use a timestamp if one
864 * shell/ev-window.c (ev_window_cmd_file_open,
865 ev_window_cmd_recent_file_activate, drag_data_received_cb):
866 * shell/main.c (load_files): Modify calls to ev_application to
867 include GDK_CURRENT_TIME as timestamp.
869 * shell/main.c (load_files_remote): Obtain timestamp for client
870 instance from GDK and pass to server instance so new windows are
871 focused properly. Fix dbus_g_proxy_call() calls by including second
876 Thu Aug 25 22:13:08 2005 Jonathan Blandford <jrb@redhat.com>
878 * shell/ev-window.c (ev_window_finalize): Check for
879 avail. EvWindows when quiting to handle the finalize better,
882 2005-08-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
884 * properties/ev-properties-view.c:
886 Set textdomain to libglade. Fixes translation problem in property page.
888 2005-08-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
890 * djvu/djvu-document.c: (djvu_document_thumbnails_get_thumbnail):
892 * dvi/dvi-document.c: (dvi_document_thumbnails_get_thumbnail):
893 * dvi/mdvi-lib/Makefile.am:
895 Fix rotation of thumbnails, ported to new API. Moved library
896 dependencies earlier, probably it will fix linkage problem.
898 Thu Aug 25 02:32:32 2005 Jonathan Blandford <jrb@redhat.com>
900 * backend/ev-document-misc.c:
901 (ev_document_misc_get_thumbnail_frame):
902 * backend/ev-document-misc.h:
906 * shell/ev-sidebar-thumbnails.c: (add_range),
907 (ev_sidebar_thumbnails_set_loading_icon),
908 (ev_sidebar_thumbnails_refresh),
909 (ev_sidebar_thumbnails_set_document):
910 * shell/ev-sidebar-thumbnails.h:
911 * shell/ev-view.c: (ev_view_motion_notify_event),
912 (ev_view_set_property), (ev_view_get_property),
913 (ev_view_class_init), (ev_view_set_rotation):
914 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
915 (ev_window_cmd_edit_rotate_right), (ev_window_rotation_changed_cb),
917 * tiff/tiff-document.c: (tiff_document_thumbnails_get_thumbnail):
918 Redo rotation (again). prepare for 0.4.0
920 2005-08-24 Kristian Høgsberg <krh@redhat.com>
922 * configure.ac: Bump poppler requirement to 0.4.1.
924 * pdf/ev-poppler.cc (pdf_selection_render_selection): Add rotation
925 argument to poppler_page_render_selection() call.
927 2005-08-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
929 * djvu/djvu-document.c: (djvu_document_render_pixbuf),
930 (djvu_document_thumbnails_get_thumbnail):
931 * dvi/dvi-document.c: (dvi_document_render_pixbuf),
932 (dvi_document_thumbnails_get_thumbnail):
933 * pixbuf/pixbuf-document.c: (pixbuf_document_render_pixbuf),
934 (pixbuf_document_thumbnails_get_thumbnail):
935 * tiff/tiff-document.c: (tiff_document_render_pixbuf):
937 Update rotation direction of backends to fit with pdf and ps.
939 2005-08-24 Marco Pesenti Gritti <mpg@redhat.com>
941 * backend/ev-async-renderer.c: (ev_async_renderer_render_pixbuf):
942 * backend/ev-async-renderer.h:
943 * ps/ps-document.c: (ps_document_init), (setup_pixmap),
944 (setup_page), (ps_document_get_page_size),
945 (ps_async_renderer_render_pixbuf):
947 * shell/ev-jobs.c: (ev_job_render_run):
949 Fix orientation in the postscript document
951 2005-08-23 Marco Pesenti Gritti <mpg@redhat.com>
954 * ps/ps-document.c: (push_pixbuf), (ps_document_widget_event):
955 * shell/ev-view.c: (highlight_find_results):
957 Adapt to the new poppler rotation API. Fix text maps on landscape
960 Sat Aug 20 17:13:48 2005 Jonathan Blandford <jrb@redhat.com>
962 * shell/ev-view.c (compute_new_selection_text): get the correct
963 region when selecting in modes other than continuous.
965 Sat Aug 20 13:10:01 2005 Jonathan Blandford <jrb@redhat.com>
967 * shell/main.c (main): remove redundant g_warnings.
969 2005-08-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
971 * shell/Makefile.am: Don't include autogenerated
972 file ev-application-service.h into distribution, since
973 it causes dbus crash. Fix for bugs 313724 and 313443.
975 2005-08-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
977 * configure.ac: Fix sed expression for FreeBSD. Thanks
978 to Joe Marcus Clark <marcus@freebsd.org>
980 * shell/eggfindbar.c: (entry_activate_callback),
981 (entry_changed_callback), (egg_find_bar_init),
982 (egg_find_bar_set_search_string):
984 Made findbar buttons unsensitive if there is no text in
985 entry. Fix for the bug 313285.
987 2005-08-17 Carlos Garcia Campos <carlosgc@gnome.org>
989 * ps/ps-document.c: Use g_filename_display_name for displaying
990 filenames and revert string freeze breackage
992 2005-08-17 Marco Pesenti Gritti <mpg@redhat.com>
1001 Add ev-application-service.xml to extra dist
1003 * shell/ev-view.c: (find_page_at_location):
1005 Remove unused function (fix warning)
1007 2005-08-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1009 * dvi/mdvi-lib/t1.c: (t1_reset_resolution), (t1_really_load_font),
1010 (t1_load_font), (t1_glyph_bitmap), (t1_font_remove):
1012 Fix warnings and compilation with t1lib-5.0 and newer. Fix for
1015 2005-08-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1017 * shell/ev-utils.c: (set_umask_permissions), (write_to_temp_file):
1018 * shell/ev-window.c:
1021 2005-08-16 Carlos Garcia Campos <carlosgc@gnome.org>
1023 * configure.ac: Update script to get dbus version.
1024 Fix for the bug #313443.
1026 2005-08-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1028 * shell/ev-window.c: (ev_window_cmd_escape):
1030 Return focus back to view on escape. Fix for bug 313295.
1032 2005-08-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1034 * shell/ev-window.c: (update_window_title),
1035 (ev_window_popup_password_dialog), (ev_window_load_job_cb),
1036 (ev_window_cmd_save_as):
1038 Correct conversion from uri to displayable string. Fix for
1041 2005-08-16 Carlos Garcia Campos <carlosgc@gnome.org>
1043 * ps/ps-document.c: convert filename to utf8 when there is an error
1044 loading document. Fixes #309915
1046 2005-08-16 Marco Pesenti Gritti <mpg@redhat.com>
1050 We depend on poppler 0.4.0
1052 Mon Aug 15 21:53:05 2005 Jonathan Blandford <jrb@redhat.com>
1055 * NEWS: Release 0.3.3.
1056 * thumbnailer/evince-thumbnailer.c: Remove pdf icon.
1058 2005-08-14 Dennis Cranston <dennis_cranston@yahoo.com>
1060 * shell/ev-window.c: (ev_window_cmd_file_open): HIG fixes:
1061 add a couple missing mnemonics to menu items, use title
1062 capitalization for menu items and window titles, and add
1063 ellipsis to open menu item.
1065 Mon Aug 15 00:40:21 2005 Jonathan Blandford <jrb@redhat.com>
1067 * pdf/ev-poppler.cc:
1068 * shell/ev-metadata-manager.c: (ev_metadata_manager_init):
1069 * shell/ev-view.c: (ev_view_rotate_left), (ev_view_set_rotation),
1070 (ev_view_get_rotation):
1072 * shell/ev-window.c: (setup_view_from_metadata),
1073 (save_rotation_to_file), (ev_window_cmd_edit_rotate_left),
1074 (ev_window_cmd_edit_rotate_right): Fix rotation. Save it to
1077 2005-08-14 Baris Cicek <baris@teamforce.name.tr>
1079 * configure.ac: Added tr to ALL_LINGUAS
1081 2005-08-12 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1083 * shell/ev-view.c: Fix for bug Bug 311838. Search backward
1084 requires several clicks to find word. Thanks to
1085 Colin Slater <kiltedtaco@gmail.com>.
1087 2005-08-11 Bryan Clark <clarkbw@cvs.gnome.org>
1089 * data/evince.desktop.in.in: Hide menu entry and
1090 rename it to "Document Viewer". Fix for bug
1093 2005-08-11 Crispin Flowerday <gnome@flowerday.cx>
1095 * shell/ev-page-action.c (ev_page_action_class_init):
1097 Point to the correct function in constructor of the
1098 activate_label signal
1100 Tue Aug 9 02:17:13 2005 Jonathan Blandford <jrb@redhat.com>
1102 * shell/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
1103 * shell/ev-jobs.h: Make thread safe.
1105 2005-08-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1107 * shell/ev-view.c: (view_update_range_and_current_page):
1108 Don't update page range if we are scrolling to some document
1111 2005-08-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1113 * shell/ev-view.c: (get_page_extents): reverse rotation/scale
1114 when getting max_page_width, fix drawing in dual mode.
1116 Sun Aug 7 02:06:08 2005 Jonathan Blandford <jrb@redhat.com>
1118 * shell/ev-view.c (ev_view_select_all): reverse rotation/page when
1119 getting the area for select_all.
1121 2005-08-06 Kristian Høgsberg <krh@redhat.com>
1123 * backend/ev-selection.c: (ev_selection_render_selection):
1124 * backend/ev-selection.h:
1125 * pdf/ev-poppler.cc:
1126 * shell/ev-jobs.c: (ev_job_render_new):
1128 * shell/ev-pixbuf-cache.c: (get_selection_colors),
1129 (add_job_if_needed), (ev_pixbuf_cache_get_selection_pixbuf):
1130 * shell/ev-view.c: (ev_view_focus_in), (ev_view_focus_out),
1131 (ev_view_class_init):
1133 Change selection color on focus in and focus out events. Also,
1134 poppler now uses GdkColor for specifying the selection colors, so
1135 drop some awkward conversion code.
1137 2005-08-06 Yair Hershkovitz <yairhr@gmail.com>
1139 * configure.ac: Added Hebrew translation
1141 Sat Aug 6 01:12:44 2005 Jonathan Blandford <jrb@redhat.com>
1144 * backend/ev-selection.c: (ev_selection_render_selection):
1145 * backend/ev-selection.h:
1146 * pdf/ev-poppler.cc:
1147 * shell/ev-jobs.c: (ev_job_render_dispose), (ev_job_render_new),
1148 (ev_job_render_run):
1150 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info),
1151 (ev_pixbuf_cache_new), (job_finished_cb), (add_job_if_needed),
1152 (convert_gdk_color_to_uint), (ev_pixbuf_cache_get_text_mapping),
1153 (ev_pixbuf_cache_style_changed),
1154 (ev_pixbuf_cache_get_selection_pixbuf),
1155 (ev_pixbuf_cache_set_selection_list),
1156 (ev_pixbuf_cache_get_selection_list):
1157 * shell/ev-pixbuf-cache.h:
1158 * shell/ev-utils.c: (ev_print_region_contents):
1160 * shell/ev-view.c: (ev_view_queue_draw_page),
1161 (selection_update_idle_cb), (ev_view_motion_notify_event),
1162 (ev_view_style_set), (draw_one_page), (ev_view_class_init),
1163 (setup_caches), (ev_view_find_next), (merge_selection_region),
1165 * shell/ev-window.c: (ev_window_update_fullscreen_popup):
1167 Clean up selection to be much smoother!
1169 2005-08-05 Kristian Høgsberg <krh@redhat.com>
1171 * pdf/ev-poppler.cc (pdf_selection_render_selection): Pass colors
1172 to poppler_page_render_selection().
1174 2005-08-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1176 * ps/ps-document.c: (save_page_list): Use
1177 unzipped document when printing. Thanks to
1178 Colin Slater <kiltedtaco@gmail.com>. Fix for bug
1181 2005-08-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1183 * shell/ev-window.c: (update_action_sensitivity):
1185 Disable print and save respect to lockdown gconf keys. Fix
1188 2005-08-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1191 * shell/ev-utils.c: (rename_file), (set_umask_permissions),
1192 (write_to_temp_file), (ev_file_set_contents):
1194 * shell/ev-window.c: (save_print_config_to_file):
1196 Copy-paste g_file_set_contents to keep compatibility with gtk 2.6
1199 2005-07-31 Christian Persch <chpe@cvs.gnome.org>
1201 * shell/ev-window.c: (load_print_config_from_file),
1202 (save_print_config_to_file), (ev_window_print_range):
1204 Persist the print settings. Fixes bug #311578.
1206 2005-07-31 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1208 * djvu/djvu-document.c: (djvu_document_get_page_size),
1209 (djvu_document_render_pixbuf), (djvu_document_document_iface_init),
1210 (djvu_document_thumbnails_get_thumbnail):
1211 * dvi/dvi-document.c: (dvi_document_get_page_size),
1212 (dvi_document_render_pixbuf), (dvi_document_document_iface_init),
1213 (dvi_document_thumbnails_get_dimensions),
1214 (dvi_document_thumbnails_get_thumbnail):
1215 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size),
1216 (pixbuf_document_render_pixbuf),
1217 (pixbuf_document_document_iface_init),
1218 (pixbuf_document_thumbnails_get_thumbnail):
1220 Update backends to make them build with new rotation system.
1222 2005-07-31 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1224 * help/C/figures/evince_start_window.png:
1226 Update documentation image from Luca Ferretti <elle.uca@libero.it>
1228 Sat Jul 30 19:09:34 2005 Jonathan Blandford <jrb@redhat.com>
1230 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_clear):
1231 * shell/ev-pixbuf-cache.h:
1232 * shell/ev-sidebar-thumbnails.c:
1233 (ev_sidebar_thumbnails_get_property), (add_range),
1234 (adjustment_changed_cb):
1235 * shell/ev-view.c: (ev_view_set_rotation): Fix rotation and the
1236 pixbuf cache. Make thumbnailing work again. Also, fix bug where
1237 we were thumbnailing the entire docment on startup, slowing us
1240 Fri Jul 29 23:14:28 2005 Jonathan Blandford <jrb@redhat.com>
1242 * shell/ev-page-cache.c: (ev_page_cache_new):
1243 * shell/ev-window.c: (update_action_sensitivity): Handle n_pages
1244 == 0, fixes #310306.
1246 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
1248 * shell/ev-view.c: (doc_rect_to_view_rect), (ev_view_rotate_right),
1249 (ev_view_rotate_left):
1251 Account rotation in doc_rect_to_view_rect.
1252 Ensure rotation doesnt go out of bounds.
1254 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
1256 * shell/ev-page-cache.c: (ev_page_cache_get_size):
1258 Correct and cleanup w/h swapping
1260 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
1262 * backend/ev-document-thumbnails.c:
1263 (ev_document_thumbnails_get_thumbnail):
1264 * backend/ev-document-thumbnails.h:
1265 * backend/ev-document.c:
1266 * backend/ev-document.h:
1267 * backend/ev-render-context.c: (ev_render_context_new),
1268 (ev_render_context_set_rotation):
1269 * backend/ev-render-context.h:
1270 * pdf/ev-poppler.cc:
1271 * ps/ps-document.c: (ps_document_document_iface_init):
1272 * shell/ev-jobs.c: (ev_job_thumbnail_new), (ev_job_thumbnail_run):
1274 * shell/ev-page-cache.c: (build_height_to_page),
1275 (ev_page_cache_new), (ev_page_cache_get_size),
1276 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
1277 (ev_page_cache_get_height_to_page):
1278 * shell/ev-page-cache.h:
1279 * shell/ev-pixbuf-cache.c: (check_job_size_and_unref),
1280 (add_job_if_needed), (ev_pixbuf_cache_add_jobs_if_needed),
1281 (ev_pixbuf_cache_set_page_range), (new_selection_pixbuf_needed),
1282 (ev_pixbuf_cache_get_selection_pixbuf):
1283 * shell/ev-pixbuf-cache.h:
1284 * shell/ev-print-job.c: (idle_print_handler):
1285 * shell/ev-sidebar-thumbnails.c: (add_range):
1286 * shell/ev-view.c: (view_update_range_and_current_page),
1287 (get_page_y_offset), (get_page_extents),
1288 (ev_view_size_request_continuous_dual_page),
1289 (ev_view_size_request_continuous),
1290 (ev_view_size_request_dual_page),
1291 (ev_view_size_request_single_page), (draw_one_page),
1292 (ev_view_set_rotation), (ev_view_rotate_right),
1293 (ev_view_rotate_left), (ev_view_zoom_for_size_presentation),
1294 (ev_view_zoom_for_size_continuous_and_dual_page),
1295 (ev_view_zoom_for_size_continuous),
1296 (ev_view_zoom_for_size_dual_page),
1297 (ev_view_zoom_for_size_single_page), (compute_new_selection_text),
1298 (ev_view_select_all):
1299 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
1300 * tiff/tiff-document.c: (tiff_document_render_pixbuf),
1301 (tiff_document_document_iface_init),
1302 (tiff_document_thumbnails_get_thumbnail):
1304 Use rotation rather than orientation. It's easier and enough
1307 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
1309 * shell/ev-page-cache.c: (build_height_to_page),
1310 (ev_page_cache_new), (ev_page_cache_get_size),
1311 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
1312 (ev_page_cache_get_height_to_page):
1313 * shell/ev-page-cache.h:
1314 * shell/ev-view.c: (get_page_y_offset), (get_page_extents),
1315 (ev_view_size_request_continuous_dual_page),
1316 (ev_view_size_request_continuous),
1317 (ev_view_zoom_for_size_continuous_and_dual_page),
1318 (ev_view_zoom_for_size_continuous):
1320 Make the page cache aware of page orientation.
1322 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
1324 * backend/ev-document-thumbnails.c:
1325 (ev_document_thumbnails_get_thumbnail):
1326 * backend/ev-document-thumbnails.h:
1327 * backend/ev-document.c:
1328 * backend/ev-document.h:
1329 * backend/ev-ps-exporter.c: (ev_ps_exporter_do_page):
1330 * backend/ev-ps-exporter.h:
1331 * pdf/ev-poppler.cc:
1332 * ps/ps-document.c: (ps_document_document_iface_init),
1333 (ps_document_ps_export_do_page):
1334 * shell/ev-jobs.c: (ev_job_thumbnail_new), (ev_job_thumbnail_run):
1336 * shell/ev-page-cache.c: (ev_page_cache_get_size),
1337 (ev_page_cache_get):
1338 * shell/ev-page-cache.h:
1339 * shell/ev-pixbuf-cache.c: (check_job_size_and_unref),
1340 (add_job_if_needed), (ev_pixbuf_cache_add_jobs_if_needed),
1341 (ev_pixbuf_cache_set_page_range), (new_selection_pixbuf_needed):
1342 * shell/ev-pixbuf-cache.h:
1343 * shell/ev-print-job.c: (idle_print_handler):
1344 * shell/ev-sidebar-thumbnails.c: (add_range):
1345 * shell/ev-view.c: (view_update_range_and_current_page),
1346 (get_page_extents), (ev_view_size_request_dual_page),
1347 (ev_view_size_request_single_page), (draw_one_page),
1348 (clear_caches), (ev_view_set_orientation), (ev_view_rotate_right),
1349 (ev_view_rotate_left), (ev_view_zoom_for_size_presentation),
1350 (ev_view_zoom_for_size_dual_page),
1351 (ev_view_zoom_for_size_single_page), (compute_new_selection_text),
1352 (ev_view_select_all):
1353 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
1354 * tiff/tiff-document.c: (tiff_document_get_page_size),
1355 (tiff_document_get_orientation), (rotate_pixbuf),
1356 (tiff_document_render_pixbuf), (tiff_document_document_iface_init),
1357 (tiff_document_thumbnails_get_thumbnail),
1358 (tiff_document_ps_export_do_page), (tiff_document_init):
1360 Really make use of the orientation bit of the render context.
1361 Use the render context in a few more places in the backend API.
1362 This regress orientation, but now it's done right. Will try to
1365 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
1367 * shell/ev-view.c: (ensure_rectangle_is_visible):
1369 Patch by Nickolay V. Shmyrev to fix find flickering
1371 2005-07-27 Martin Kretzschmar <martink@gnome.org>
1373 * backend/ev-ps-exporter.h: add paper_width, paper_height, and
1374 duplex parameters to ::begin.
1376 * tiff/tiff-document.c (tiff_document_ps_export_begin):
1377 * shell/ev-print-job.c (idle_print_handler):
1378 * ps/ps-document.c (ps_document_ps_export_begin):
1379 * pdf/ev-poppler.cc (pdf_document_ps_exporter_begin):
1380 * backend/ev-ps-exporter.c (ev_ps_exporter_begin): update
1381 implementations. Poppler backend needs poppler cvs. Rest has
1384 2005-07-25 Martin Kretzschmar <martink@gnome.org>
1386 * shell/ev-window.c (using_pdf_printer): new function.
1387 (ev_window_print_range): print a less techy message if someone
1388 tries to print to PDF.
1390 2005-07-25 Martin Kretzschmar <martink@gnome.org>
1392 * pdf/ev-poppler.cc (font_type_to_string): Remove trailing space
1393 from "unknown font" string. Bug #311431
1395 2005-07-24 Martin Kretzschmar <martink@gnome.org>
1397 * help/es/.cvsignore, help/sr/.cvsignore: ignore xmlpo output.
1399 2005-07-24 Martin Kretzschmar <martink@gnome.org>
1403 * pdf/ev-poppler.cc (font_type_to_string): new, returns user readable
1404 name for PopplerFontTypes
1405 (pdf_document_fonts_fill_model): add font type to the detail column
1407 * backend/ev-document-fonts.h: added
1408 EV_DOCUMENT_FONTS_COLUMN_DETAILS.
1410 * shell/ev-properties-fonts.c (font_cell_data_func): glue together
1411 font name and font details, add a little markup.
1412 (ev_properties_fonts_init): use the new cell data func, specify ypad
1413 property for the cell renderer.
1414 (ev_properties_fonts_set_document): add the details column.
1416 2005-07-24 Artur Flinta <aflinta@cvs.gnome.org>
1418 * configure.ac: Added "pl" to ALL_LINGUAS.
1420 2005-07-24 Danilo Šegan <danilo@gnome.org>
1422 * configure.ac: Added "sr" and "sr@Latn" to ALL_LINGUAS.
1424 2005-07-23 Tommi Vainikainen <thv@iki.fi>
1426 * help/ChangeLog: Started this for translations of manual.
1427 * configure.ac, autogen.sh, .cvsignore: Migrated to
1428 gnome-doc-utils. Patch in bug #311222.
1430 2005-07-22 Martin Kretzschmar <martink@gnome.org>
1432 * backend/ev-document-factory.c (mime_type_supported_by_gdk_pixbuf):
1433 #ifdef this away to fix an unused-function warning.
1435 2005-07-22 Ignacio Casal Quinteiro <nacho.resa@gmail.com>
1437 * configure.ac: Added 'gl' to ALL_LINGUAS.
1439 2005-07-22 Pawan Chitrakar <pawan@nplinux.org>
1441 * configure.ac: Added ne in ALL_LINGUAS
1443 2005-07-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1445 * shell/ev-view.c: (ev_view_leave_notify_event):
1447 Clear status message when pointer leaves view. Fix for bug
1450 2005-07-20 Ankit Patel <ankit644@yahoo.com>
1452 * configure.ac: Gujarati (gu) added to ALL_LINGUAS
1454 2005-07-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1456 * shell/ev-view.c: (ev_view_leave_notify_event),
1457 (ev_view_class_init):
1459 Set cursor to normal then leaving view.
1461 2005-07-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1465 Fix required djvulibre version.
1467 2005-07-15 Rajesh Ranjan <rajeshkajha@yahoo.com>
1469 *configure.ac: Hindi (hi) language added
1471 2005-07-15 Amanpreet Singh Brar <amanpreetalam@yahoo.com>
1473 *configure.ac: Punjabi (pa) Language added
1475 2005-07-12 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1477 * data/evince-ui.xml, shell/ev-window.c:
1479 Add keypad accelerators for zooming. Fix for bug 308128.
1481 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
1484 * backend/Makefile.am:
1485 * backend/ev-document-factory.c: (ev_document_type_get_from_mime):
1487 * shell/ev-document-types.c: (ev_document_types_add_filters):
1489 Allow to enable/disable the pixbuf backend.
1490 Default to off for now. If we want it enabled we should
1491 really put mime types in the desktop, implement properties etc.
1493 * properties/evince-properties.c:
1495 Initialize error to NULL.
1496 Check error is not NULL before freeing.
1498 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
1500 * shell/ev-window.c:
1502 Use F5 as presentation accell
1504 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
1506 * shell/ev-window.c: (update_chrome_visibility),
1507 (ev_window_create_fullscreen_popup), (ev_window_init):
1509 Do not leak the fullscreen toolbar
1511 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
1513 * shell/ev-window.c: (view_actions_focus_in_cb),
1514 (view_actions_focus_out_cb):
1516 These has a return value! Fix totally random focus
1517 issues we was seeing.
1519 2005-07-11 Carlos Garcia Campos <carlosgc@gnome.org>
1521 * shell/main.c: (load_files_remote):
1523 Allow open more than one file
1525 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
1527 * shell/main.c: (load_files_remote):
1529 Fix for dbus 0.33. bug #309975
1531 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
1533 * properties/ev-properties-main.c: (ev_properties_get_pages):
1535 Actually return NULL for types we dont support
1537 2005-07-08 Christian Persch <chpe@cvs.gnome.org>
1543 2005-07-08 Marco Pesenti Gritti <marco@gnome.org>
1545 * backend/ev-document-factory.c:
1546 (ev_document_factory_get_document):
1548 Do not try to create the object if type
1551 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
1553 * ps/ps-document.c: (ps_document_dispose),
1554 (ps_async_renderer_render_pixbuf):
1557 Do not leak the target window
1559 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
1561 * shell/ev-application.c: (ev_application_init):
1563 Let tbe check file existence for us.
1564 Add a comment about eggrecent mime filter.
1566 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
1568 * data/evince-ui.xml:
1569 * shell/ev-application.c: (ev_application_shutdown),
1570 (ev_application_init), (ev_application_get_toolbars_model),
1571 (ev_application_get_recent_model),
1572 (ev_application_save_toolbars_model):
1573 * shell/ev-application.h:
1574 * shell/ev-window.c: (ev_window_add_recent),
1575 (ev_window_setup_recent), (ev_window_cmd_edit_toolbar_cb),
1576 (ev_window_cmd_edit_toolbar), (ev_window_dispose),
1579 Use common toolbar and recent models for all windows.
1580 Patch by Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1582 Thu Jul 7 23:10:01 2005 Jonathan Blandford <jrb@redhat.com>
1584 * configure.ac: add FRONTEND_CORE_LIBS to evince_save_LIBS so we
1585 successfully check for gtk_icon_view_get_visible_range.
1587 2005-07-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1592 Fix djvu and dvi backend build.
1594 2005-07-07 Christian Persch <chpe@cvs.gnome.org>
1596 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c: (new_pixbuf_from_widget),
1597 (new_separator_pixbuf):
1601 2005-07-07 Christian Persch <chpe@cvs.gnome.org>
1603 * shell/ev-window.c: (ev_window_cmd_edit_toolbar):
1605 HIGification of toolbar editor dialogue.
1607 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1610 * shell/Makefile.am:
1612 Ever build metadata manager since it's just
1613 disabled at runtime now.
1615 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1617 * shell/ev-metadata-manager.c: (ev_metadata_manager_init),
1618 (ev_metadata_manager_get), (ev_metadata_manager_set):
1619 * shell/ev-metadata-manager.h:
1621 Add an _init functions that enabled metadata management
1624 * shell/ev-window.c: (page_changed_cb),
1625 (setup_document_from_metadata), (ev_window_setup_document),
1626 (setup_view_from_metadata), (ev_window_open_uri),
1627 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
1628 (ev_window_run_presentation), (ev_window_stop_presentation),
1629 (save_sizing_mode), (ev_window_zoom_changed_cb),
1630 (ev_window_continuous_changed_cb),
1631 (ev_window_dual_mode_changed_cb), (window_state_event_cb),
1632 (window_configure_event_cb):
1634 Remove all ugly metadata define since we deal with it
1637 * shell/main.c: (load_files_remote), (main):
1639 Add support for dbus cvs head. Hopefully didnt break one
1640 of the other versions now!
1642 If we dont get a response from the dbus server just
1643 give up with it and not enable metadata.
1645 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1648 * backend/Makefile.am:
1650 * cut-n-paste/recent-files/Makefile.am:
1651 * cut-n-paste/toolbar-editor/Makefile.am:
1652 * cut-n-paste/zoom-control/Makefile.am:
1655 * pixbuf/Makefile.am:
1656 * properties/Makefile.am:
1658 * shell/Makefile.am:
1659 * thumbnailer/Makefile.am:
1662 Make frontends depend on just libev.
1663 Rework and group CFLAGS/LIBS definitions.
1666 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1670 do not unnecessarily save zoom
1673 * lib/ev-file-helpers.c: (ev_dot_dir):
1674 * shell/Makefile.am:
1679 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1683 Remove unnecessary dependencies
1685 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1687 * properties/Makefile.am:
1688 * thumbnailer/Makefile.am:
1691 Some more cleanups. Was really necessary
1692 but I probably introduced bugs, feel free
1695 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1697 * backend/Makefile.am:
1699 * cut-n-paste/recent-files/Makefile.am:
1700 * cut-n-paste/toolbar-editor/Makefile.am:
1701 * cut-n-paste/zoom-control/Makefile.am:
1704 * pixbuf/Makefile.am:
1705 * properties/Makefile.am:
1707 * shell/Makefile.am:
1708 * thumbnailer/Makefile.am:
1711 Use gnome-common macros when possible.
1712 Cleanup dependencies.
1713 Actually disable deprecated where possible.
1715 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1718 * backend/Makefile.am:
1719 * properties/Makefile.am:
1720 * shell/Makefile.am:
1721 * thumbnailer/Makefile.am:
1723 This should solve the circular dep without
1724 requiring dir reorg!
1726 * shell/ev-window.c: (setup_view_from_metadata):
1728 Never restore window size/position when the
1729 window is already visible.
1731 2005-07-06 Christian Persch <chpe@cvs.gnome.org>
1733 * shell/ev-metadata-manager.c: (ev_metadata_manager_save):
1735 Return a boolean from timeout func. Fix ported from gedit.
1737 2005-07-07 Iñaki Larrañaga <dooteo@euskalgnu.org>
1739 * configure.ac: Added "eu" (Basque) to ALL_LINGUAS.
1741 2005-07-06 Carlos Garcia Campos <carlosgc@gnome.org>
1743 * shell/ev-document-types.c: set "All Documents" as default filter in
1746 2005-07-06 Martin Kretzschmar <martink@gnome.org>
1748 * shell/ev-metadata-manager.c (ev_metadata_manager_set_int)
1749 (ev_metadata_manager_set_double, ev_metadata_manager_set_string)
1750 (ev_metadata_manager_set_boolean): fix value/val thinko.
1752 2005-07-06 Marco Pesenti Gritti <mpg@redhat.com>
1754 * shell/ev-window.c: (setup_view_from_metadata),
1755 (window_state_event_cb), (window_configure_event_cb),
1758 Remember window position and maximized state
1760 2005-07-06 Christian Persch <chpe@cvs.gnome.org>
1764 Fix DBUS configure checks.
1766 * shell/ev-metadata-manager.c: (ev_metadata_manager_set_int),
1767 (ev_metadata_manager_set_double), (ev_metadata_manager_set_string),
1768 (ev_metadata_manager_set_boolean):
1772 * shell/ev-window.c: (page_changed_cb), (ev_window_run_fullscreen),
1773 (ev_window_stop_fullscreen), (ev_window_run_presentation),
1774 (ev_window_stop_presentation), (ev_window_zoom_changed_cb),
1775 (ev_window_continuous_changed_cb),
1776 (ev_window_dual_mode_changed_cb), (ev_window_new):
1778 Fix the build without DBUS.
1780 2005-07-06 Marco Pesenti Gritti <mpg@redhat.com>
1782 * shell/ev-metadata-manager.c: (parse_value), (save_values),
1783 (ev_metadata_manager_set_int), (ev_metadata_manager_set_double),
1784 (ev_metadata_manager_set_string),
1785 (ev_metadata_manager_set_boolean):
1786 * shell/ev-metadata-manager.h:
1788 Add support for some more types
1790 * shell/ev-view.c: (scroll_to_current_page),
1791 (ev_view_get_continuous), (ev_view_set_continuous),
1792 (ev_view_get_dual_page):
1794 * shell/ev-window.c: (page_changed_cb),
1795 (setup_document_from_metadata), (ev_window_setup_document),
1796 (setup_view_from_metadata), (ev_window_open_uri),
1797 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
1798 (ev_window_run_presentation), (ev_window_stop_presentation),
1799 (save_sizing_mode), (ev_window_sizing_mode_changed_cb),
1800 (ev_window_zoom_changed_cb), (ev_window_update_continuous_action),
1801 (ev_window_update_dual_page_action),
1802 (ev_window_continuous_changed_cb),
1803 (ev_window_dual_mode_changed_cb), (ev_window_init):
1805 Remember a bunch of view/document properties. Prolly some
1806 are still missing but it's getting interesting.
1808 2005-07-05 Martin Kretzschmar <martink@gnome.org>
1810 * configure.ac: check if dbus-binding-tool is installed. Not the
1811 case on current Ubuntu breezy, it seems.
1813 2005-07-05 Luca Ferretti <elle.uca@libero.it>
1815 * data/evince.desktop.in.in:
1817 Allow open uri lists and add TryExec field.
1819 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
1823 Enable dbus when available, do not require a configure
1826 2005-07-05 Christian Persch <chpe@cvs.gnome.org>
1830 Use AM_CONDITIONAL unconditionally, fixes the build with DBUS
1833 2005-07-05 Carlos Garcia Campos <carlosgc@gnome.org>
1834 Marco Pesenti Gritti <mpg@redhat.com>
1836 * shell/Makefile.am: Add --prefix for dbus-binding-tool script
1838 * shell/ev-application.[ch], shell/ev-window.c: change dbus RPC
1839 functions to the format required by dbus
1841 * shell/main.c: use G_TYPE instead of DBUS_TYPE to fix compilation
1842 errors. Use the RPC parameters in the expected way
1844 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
1847 * properties/Makefile.am:
1848 * properties/ev-properties-main.c: (ev_properties_get_pages):
1850 Support all mime types
1852 * shell/Makefile.am:
1853 * thumbnailer/Makefile.am:
1854 * thumbnailer/evince-thumbnailer.c: (get_document_from_uri),
1855 (evince_thumbnail_pngenc_get):
1857 Use the document factory
1859 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
1861 * backend/Makefile.am:
1862 * backend/ev-document-factory.c:
1863 (mime_type_supported_by_gdk_pixbuf),
1864 (ev_document_type_get_from_mime),
1865 (ev_document_factory_get_document),
1866 (ev_document_factory_get_backend),
1867 (ev_document_factory_get_mime_types),
1868 (ev_document_factory_get_all_mime_types):
1869 * backend/ev-document-factory.h:
1870 * shell/Makefile.am:
1871 * shell/ev-document-types.c: (get_document_from_uri),
1872 (ev_document_types_get_document),
1873 (file_filter_add_mime_list_and_free),
1874 (ev_document_types_add_filters):
1875 * shell/ev-document-types.h:
1876 * shell/ev-job-xfer.c: (ev_job_xfer_run):
1877 * shell/ev-properties-dialog.c:
1878 (ev_properties_dialog_set_document):
1879 * shell/ev-window.c: (ev_window_cmd_file_open),
1880 (ev_window_cmd_save_as):
1881 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
1883 Rework document types managing to avoid code duplication
1884 and actually abstract from backend implementations.
1885 Also provide a minimal factory api that can be used by
1886 thumbnailer/properties.
1888 2005-07-05 Christian Persch <chpe@cvs.gnome.org>
1890 * properties/ev-properties-view.c: (ev_properties_view_set_info):
1892 * shell/ev-properties-dialog.c: (ev_properties_dialog_init):
1895 2005-07-04 Matthew S. Wilson <msw@rpath.com>
1897 * shell/ev-properties-dialog.c
1898 (ev_properties_dialog_set_document): only call
1899 ev_properties_fonts_set_document() if the document implements the
1902 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
1905 * properties/Makefile.am:
1906 * properties/ev-properties-view.c:
1907 (ev_properties_view_register_type):
1908 * properties/ev-properties-view.h:
1909 * properties/ev-properties-main.h:
1911 Implement nautilus plugin for properties.
1912 Works only for pdf atm, I need to rework the
1913 document types stuff to get this to work
1916 2005-07-04 Martin Kretzschmar <martink@gnome.org>
1918 * shell/ev-properties-fonts.c (enum): kill redundant columns enum
1919 (ev_properties_fonts_set_document): use
1920 EV_DOCUMENT_FONTS_COLUMN_NUM_COLUMNS.
1922 2005-07-04 Matthew S. Wilson <msw@rpath.com>
1924 * tiff/tiff2ps.c: remove TRUE and FALSE definitions, glib provides
1926 (PlaceImage, tiff2ps_process_page): use
1927 g_ascii_dtostr to convert floats to strings in a locale-safe way.
1930 2005-07-04 Martin Kretzschmar <martink@gnome.org>
1932 * shell/main.c: include libgnomeui/gnome-authentication-manager.h
1933 (main): to call gnome_authentication_manager_init. Should fix
1936 * configure.ac: that requires libgnomeui 2.6.0.
1938 2005-07-04 Matthew S. Wilson <msw@rpath.com>
1940 * tiff/tiff-document.c (tiff_document_ps_export_begin)
1941 (tiff_document_ps_export_do_page, tiff_document_ps_export_end):
1942 use the new tiff2ps interfaces
1944 * tiff/tiff2ps.h (tiff2ps_context_new, tiff2ps_process_page)
1945 (tiff2ps_context_finalize): implement new interfaces for tiff2ps
1947 * tiff/tiff2ps.c: refactor tiff2ps code to use a context
1948 structure instead of global variables. Remove use of static
1949 variables in functions.
1951 2005-07-04 Carlos Garcia Campos <carlosgc@gnome.org>
1953 * shell/ev-page-action.c: unref the completion after setting it to the
1956 2005-07-04 Matthew S. Wilson <msw@rpath.com>
1958 * tiff/tiff2ps.c (generateEPSF): disable generating encapsulated
1961 2005-07-04 Matthew S. Wilson <msw@rpath.com>
1963 * shell/ev-window.c (update_action_sensitivity): disable
1964 File->Print if the document does not implement the ps exporter
1967 2005-07-04 Marco Pesenti Gritti <mpg@redhat.com>
1971 * data/evince-properties.glade:
1972 * properties/.cvsignore:
1973 * properties/Makefile.am:
1974 * properties/ev-properties-view.c: (ev_properties_view_dispose),
1975 (ev_properties_view_class_init), (ev_properties_view_format_date),
1976 (make_valid_utf8), (set_property), (ev_properties_view_set_info),
1977 (ev_properties_view_init), (ev_properties_view_new):
1978 * properties/ev-properties-view.h:
1979 * shell/Makefile.am:
1980 * shell/ev-properties-dialog.c: (ev_properties_dialog_class_init),
1981 (ev_properties_dialog_init), (ev_properties_dialog_set_document),
1982 (ev_properties_dialog_new):
1983 * shell/ev-properties-dialog.h:
1984 * shell/ev-properties-fonts.c: (ev_properties_fonts_dispose),
1985 (ev_properties_fonts_class_init), (ev_properties_fonts_init),
1986 (update_progress_label), (job_fonts_finished_cb),
1987 (ev_properties_fonts_set_document), (ev_properties_fonts_new):
1988 * shell/ev-properties-fonts.h:
1989 * shell/ev-properties.c:
1990 * shell/ev-properties.h:
1991 * shell/ev-window.c: (ev_window_setup_document),
1992 (ev_window_cmd_file_properties):
1994 Split the properties pages in two different objects, depend
1995 only on the backend where possible, use widgets instead
1996 of gobject for the glade part, reimplement the dialog
1998 I need this to implement nautilus properties page.
2000 2005-07-03 Matthew S. Wilson <msw@rpath.com>
2002 * tiff/tiff-document.c (tiff_document_ps_export_begin)
2003 (tiff_document_ps_export_do_page, tiff_document_ps_export_end)
2004 (tiff_document_document_ps_exporter_iface_init): implement the ps
2005 exporter interface for tiff documents
2007 * tiff/tiff2ps.c: added a modified version of tiff2ps.c from
2008 libtiff to implement TIFF postscript export
2010 * tiff/tiff2ps.h: added a header file for external tiff2ps
2013 * tiff/Makefile.am (libtiffdocument_la_SOURCES): add tiff2ps.c and
2016 2005-07-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2018 * shell/ev-view.c: (scroll_to_current_page),
2019 (ev_view_set_fullscreen), (ev_view_set_presentation):
2021 Scroll to current page when exit from presentation
2023 2005-07-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2025 * shell/ev-window.c: (update_document_mode),
2026 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
2027 (ev_window_cmd_view_fullscreen), (ev_window_stop_presentation),
2028 (ev_window_cmd_view_presentation), (ev_window_cmd_escape):
2030 Exit from fullscreen mode when switch to presentation. Fix for
2033 2005-07-02 Matthew S. Wilson <msw@rpath.com>
2035 * shell/ev-pixbuf-cache.c (ev_pixbuf_cache_get_selection_pixbuf):
2036 return NULL if the document does not implement the selection
2039 2005-07-02 Matthew S. Wilson <msw@rpath.com>
2041 * tiff/tiff-document.c (tiff_document_get_page_size): scale the
2042 reported height by using the resolution aspect ratio
2043 (tiff_document_render_pixbuf): scale the pixbuf using the
2044 resolution aspect ratio
2046 2005-07-01 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2050 Require libgnomeprint >= 2.5.1. Thanks to Colin Slater
2051 <kiltedaco@gmail.com>
2053 * djvu/djvu-document.c: (djvu_document_get_orientation),
2054 (djvu_document_set_orientation), (djvu_document_get_page_size),
2055 (rotate_pixbuf), (djvu_document_render_pixbuf),
2056 (djvu_document_document_iface_init):
2057 * dvi/dvi-document.c: (dvi_document_get_orientation),
2058 (dvi_document_set_orientation), (dvi_document_get_page_size),
2059 (rotate_pixbuf), (dvi_document_render_pixbuf),
2060 (dvi_document_document_iface_init):
2062 Dvi and djvu backends are ported to new API
2064 Fri Jul 1 00:10:15 2005 Jonathan Blandford <jrb@redhat.com>
2066 * backend/ev-selection.c: (ev_selection_get_selection_region),
2067 (ev_selection_get_selection_map):
2068 * backend/ev-selection.h:
2069 * pdf/ev-poppler.cc:
2070 * shell/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
2072 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info),
2073 (job_finished_cb), (copy_job_to_job_info), (add_job_if_needed),
2074 (ev_pixbuf_cache_get_text_mapping):
2075 * shell/ev-pixbuf-cache.h:
2076 * shell/ev-view.c: (location_in_text),
2077 (ev_view_motion_notify_event), (ev_view_set_cursor): Add I-Beam
2078 support to EvView. Now we can see where we can select! Sweet!
2080 2005-06-30 Kristian Høgsberg <krh@redhat.com>
2082 * shell/ev-view.c (ev_view_button_press_event): Fix
2083 event->y + view->scroll_x typo.
2085 2005-06-30 Kristian Høgsberg <krh@redhat.com>
2087 * pdf/ev-poppler.cc: Adjust to poppler API changes; use a
2088 sub-GdkPixbuf instead of passing dest_x and dest_y.
2090 * shell/ev-view.c: (view_point_to_doc_point),
2091 (view_rect_to_doc_rect), (ev_view_button_press_event),
2092 (ev_view_motion_notify_event), (compute_new_selection_rect),
2093 (gdk_rectangle_point_in), (compute_new_selection_text),
2094 (compute_selections): Update selection code to keep the selection
2095 around as two points and not as a normalized rectangle, and fix
2096 page level selection in two-column mode.
2098 2005-06-30 Alex Duggan <aldug@astrolinux.com>
2100 * shell/ev-window.c: (window_configure_event_cb):
2104 2005-06-30 Marco Pesenti Gritti <mpg@redhat.com>
2106 * pdf/ev-poppler.cc:
2110 2005-06-30 Marco Pesenti Gritti <mpg@redhat.com>
2112 * shell/Makefile.am:
2113 * shell/ev-metadata-manager.c: (item_free),
2114 (ev_metadata_manager_init), (ev_metadata_manager_shutdown),
2115 (parse_value), (parseItem), (load_values),
2116 (ev_metadata_manager_get), (value_free), (ev_metadata_manager_set),
2117 (save_values), (save_item), (get_oldest), (resize_items),
2118 (ev_metadata_manager_save), (ev_metadata_manager_set_int):
2119 * shell/ev-metadata-manager.h:
2121 Metadata manager from gedit but modified to use GValue, so that
2122 we dont need to keep converting from strings.
2126 ENABLE_METADATA conditional, on when dbus is on
2128 * shell/ev-application.c: (ev_application_open_uri):
2130 Show the window after load so that we can initialize
2131 window size before it's showed.
2133 * shell/ev-window.c: (ev_window_setup_from_metadata),
2134 (ev_window_open_uri), (window_configure_event_cb),
2137 Save and load metadata information about window size.
2138 Not yet keeping states in account.
2140 * shell/main.c: (main):
2142 Shutdown metadata manager.
2144 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
2146 * shell/ev-application-service.xml:
2148 * shell/Makefile.am:
2149 * shell/ev-application.c:
2150 * shell/ev-application.h:
2151 * shell/ev-window.c:
2152 * shell/ev-window.h:
2155 Add an optional dbus interface (--enable-dbus).
2156 Rework application code, mainly to be easier to
2158 Do not open multiple windows with the same document,
2161 Thu Jun 30 01:50:14 2005 Jonathan Blandford <jrb@redhat.com>
2163 * shell/ev-pixbuf-cache.c (clear_selection_if_needed): unref the
2164 pixbuf iff it exists.
2166 Thu Jun 30 01:43:00 2005 Jonathan Blandford <jrb@redhat.com>
2169 * backend/ev-render-context.[ch]:
2170 * backend/ev-selection.[ch]:
2172 Massive changes. We now support text selection of pdfs, and not
2173 just rectangular selection. This is pretty broken still, but I
2174 want to get something into CVS.
2176 2005-06-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2178 * pdf/ev-poppler.cc:
2180 Fix for Bug 309080: crash on window close.
2182 * shell/ev-page-action.c: (page_changed_cb):
2184 Fix for Bug 309168: Fix build with gcc 2.95. Thanks to
2185 jensgr@gmx.net (Jens Granseuer).
2187 2005-06-25 Marcel Telka <marcel@telka.sk>
2189 * configure.in (ALL_LINGUAS): Added sk.
2191 2005-06-24 Carlos Garcia Campos <carlosgc@gnome.org>
2193 * shell/ev-window.c: Make rotate menu entries unsensitive if there is
2196 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
2203 * cut-n-paste/recent-files/Makefile.am:
2207 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
2209 * pixbuf/pixbuf-document.c: (pixbuf_document_get_orientation),
2210 (pixbuf_document_set_orientation), (rotate_pixbuf),
2211 (pixbuf_document_get_page_size), (pixbuf_document_render_pixbuf),
2212 (pixbuf_document_document_iface_init), (pixbuf_document_init):
2214 Implement rotation and cleanup the code a bit.
2216 * tiff/tiff-document.c: (tiff_document_get_page_size),
2217 (tiff_document_get_orientation), (tiff_document_set_orientation),
2218 (rotate_pixbuf), (tiff_document_render_pixbuf),
2219 (tiff_document_document_iface_init), (tiff_document_init):
2221 Implement rotation. Was the quicker solution for the release
2222 but we really need to share this code in the shell.
2224 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
2226 * pdf/ev-poppler.cc:
2228 Enable rotation, require poppler cvs. Fix a leak.
2230 2005-06-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2232 * shell/ev-window.c: (update_action_sensitivity):
2234 Make properties unsensitive if document backend doesn't provide
2237 2005-06-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2239 * dvi/mdvi-lib/bitmap.c: (bitmap_alloc), (bitmap_alloc_raw),
2240 (bitmap_flip_horizontally), (bitmap_flip_vertically),
2241 (bitmap_flip_diagonally), (bitmap_rotate_clockwise),
2242 (bitmap_rotate_counter_clockwise), (bitmap_flip_rotate_clockwise),
2243 (bitmap_flip_rotate_counter_clockwise):
2244 * dvi/mdvi-lib/color.c: (mdvi_push_color), (get_color_table):
2245 * dvi/mdvi-lib/common.c: (read_string), (buff_free), (buff_add),
2247 * dvi/mdvi-lib/common.h:
2248 * dvi/mdvi-lib/dvimisc.c: (mdvi_push_color):
2249 * dvi/mdvi-lib/dviread.c: (get_bytes), (dreset), (define_font),
2250 (opendvi), (mdvi_reload), (mdvi_init_context),
2251 (mdvi_destroy_context), (mdvi_dopage), (special):
2252 * dvi/mdvi-lib/font.c: (font_drop_one), (font_free_unused):
2253 * dvi/mdvi-lib/fontmap.c: (read_encoding), (destroy_encoding),
2254 (file_hash_free), (register_encoding), (parse_spec),
2255 (mdvi_load_fontmap), (free_ent), (mdvi_init_fontmaps),
2256 (mdvi_add_fontmap_file), (mdvi_ps_read_fontmap),
2257 (mdvi_ps_flush_fonts), (mdvi_ps_find_font), (mdvi_ps_get_metrics):
2258 * dvi/mdvi-lib/fontsrch.c: (mdvi_list_font_class),
2259 (mdvi_register_font_type), (mdvi_unregister_font_type),
2260 (lookup_font), (mdvi_add_font), (mdvi_font_retry):
2261 * dvi/mdvi-lib/gf.c: (gf_read_bitmap), (gf_load_font):
2262 * dvi/mdvi-lib/hash.c: (mdvi_hash_remove), (mdvi_hash_remove_ptr),
2263 (mdvi_hash_destroy_key), (mdvi_hash_reset):
2264 * dvi/mdvi-lib/pagesel.c: (mdvi_parse_range),
2265 (mdvi_parse_page_spec), (mdvi_free_page_spec), (main):
2266 * dvi/mdvi-lib/paper.c: (mdvi_free_paper_specs):
2267 * dvi/mdvi-lib/pk.c: (pk_lookup), (pk_lookupn), (pk_load_font):
2268 * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
2269 * dvi/mdvi-lib/special.c: (mdvi_register_special),
2270 (mdvi_unregister_special), (mdvi_flush_specials):
2271 * dvi/mdvi-lib/t1.c: (t1_lookup_font), (t1_really_load_font),
2273 * dvi/mdvi-lib/tfm.c: (get_tfm_chars):
2274 * dvi/mdvi-lib/tfmfile.c: (afm_load_file), (tfm_load_file),
2275 (ofm1_load_file), (ofm_load_file), (get_font_metrics),
2276 (free_font_metrics), (flush_font_metrics):
2277 * dvi/mdvi-lib/tt.c: (tt_really_load_font), (tt_get_bitmap),
2279 * dvi/mdvi-lib/util.c: (mdvi_malloc), (mdvi_realloc),
2280 (mdvi_calloc), (mdvi_free), (mdvi_strdup), (mdvi_strncpy),
2281 (mdvi_strndup), (mdvi_memdup), (xstradd), (dstring_append),
2282 (dstring_insert), (dstring_new), (dstring_reset):
2283 * dvi/mdvi-lib/vf.c: (vf_load_font), (vf_free_macros):
2285 Rename xmalloc and xfree to mdvi_malloc and mdvi_free to
2286 avoid conflict with libtool on FC4
2288 * shell/ev-window.c: (ev_window_cmd_help_about):
2290 Update copyright year. Fix for bug 308828.
2292 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
2294 * shell/ev-view.c: (add_scroll_binding_keypad),
2295 (ev_view_binding_activated), (ev_view_class_init),
2296 (on_adjustment_value_changed):
2298 Bug 170874: Arrow keys switch pages in presentation mode
2300 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
2302 * shell/ev-window.c: (ev_window_sidebar_visibility_changed_cb):
2304 Fix for Bug 308265: Sidebar dissappears coming out of
2307 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
2309 * shell/ev-application.c: (ev_application_open):
2310 * shell/ev-document-types.c: (ev_document_types_add_filters),
2311 (ev_document_types_add_filters_for_type):
2312 * shell/ev-document-types.h:
2313 * shell/ev-window.c: (ev_window_cmd_save_as):
2315 Suggest basename as template when saving, provide filters
2316 for save dialog. It's bug 308402
2318 2005-06-20 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2320 * pdf/ev-poppler.cc:
2321 * shell/ev-sidebar-links.c: (job_finished_callback):
2322 * shell/ev-view.c: (update_find_status_message):
2326 2005-06-19 Christian Persch <chpe@cvs.gnome.org>
2328 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
2329 (egg_recent_view_uimanager_set_list):
2331 Fix buglet in !show_numbers case.
2333 2005-06-19 Christian Persch <chpe@cvs.gnome.org>
2335 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
2336 (connect_proxy_cb), (egg_recent_view_uimanager_set_list):
2338 Use pango ellipsisation.
2340 * pdf/ev-poppler.cc:
2342 Fix refcount leak, from nsh.
2344 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2346 * cut-n-paste/recent-files/Makefile.am:
2347 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
2348 * cut-n-paste/recent-files/egg-recent-view-gtk.h:
2350 Removed EggRecentViewGtk
2352 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
2353 * cut-n-paste/recent-files/egg-recent-view-uimanager.h:
2354 * shell/ev-window.c: (ev_window_cmd_recent_file_activate),
2355 (ev_window_setup_recent):
2357 Use ViewUIManager instead of ViewGtk. Less leaks, more compatibility
2360 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2362 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
2363 (egg_recent_view_gtk_finalize):
2367 * cut-n-paste/toolbar-editor/Makefile.am:
2369 Fix location of cursor icon.
2371 * pdf/ev-poppler.cc:
2372 * shell/ev-page-action.c: (build_new_tree_cb), (match_selected_cb),
2373 (display_completion_text), (match_completion):
2374 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
2375 (selection_changed_callback), (create_loading_model),
2376 (print_section_cb), (links_page_num_func),
2377 (update_page_callback_foreach):
2378 * shell/ev-window.c: (ev_window_dispose):
2380 Small memory fixes. Links model now store objects instead
2381 of pointers to improve memory management.
2383 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2385 * shell/ev-window.c: (zoom_control_changed_cb):
2387 Fix update of zoom control (bug 308268).
2389 Sat Jun 18 22:46:42 2005 Jonathan Blandford <jrb@redhat.com>
2391 * shell/ev-properties.c (set_property): escape the text correctly.
2392 Handles non-UTF-8 properties and escaped properties. Also, sets
2393 the text to "<i>None</i>" if the property isn't set.
2395 * data/evince-properties.glade: Change the label to be ellipsized,
2396 and give it a minimum size.
2398 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2400 * lib/ev-file-helpers.c: (ev_file_helpers_shutdown):
2401 * shell/ev-sidebar-links.c: (create_loading_model):
2402 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose):
2403 * shell/ev-view.c: (ev_view_set_document):
2404 * shell/ev-window.c: (ev_window_dispose):
2406 Various small fixes, mostly memory leaks. Thanks to valgrind.
2408 2005-06-19 Martin Kretzschmar <martink@gnome.org>
2410 * ps/ps-document.c: remove the locale.h include again ;-). And
2411 kill the (bogus) setlocale/savelocale business.
2413 2005-06-19 Jaap A. Haitsma <jaap@haitsma.org>
2417 Include locale.h to fix build
2419 * shell/ev-sidebar.c:
2421 Remove unnecessary includes
2423 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2425 * dvi/dvi-document.c: (dvi_document_load):
2426 * dvi/mdvi-lib/dviread.c: (mdvi_init_context):
2429 Check for incorrect dvi files. Fix parsing dvi on AMD64
2430 platform. Thanks to tester@tester.ca (Olivier Crete).
2432 2005-06-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2434 * shell/ev-page-action.c: (match_selected_cb),
2435 (display_completion_text), (match_completion), (update_model):
2436 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
2437 (expand_open_links):
2438 * shell/ev-sidebar.c: (ev_sidebar_destroy),
2439 (ev_sidebar_menu_item_activate_cb), (ev_sidebar_add_page),
2440 (ev_sidebar_set_document):
2441 * shell/ev-window.c: (ev_window_xfer_job_cb),
2442 (sidebar_widget_model_set), (sidebar_page_main_widget_update_cb):
2444 Fixed lot's of memory leaks, for example, memory leak on reload,
2445 described in bug 307793.
2447 2005-06-18 Marco Pesenti Gritti <mpg@redhat.com>
2449 * pdf/ev-poppler.cc:
2450 * shell/ev-sidebar-thumbnails.c: (clear_range), (add_range),
2451 (update_visible_range), (adjustment_changed_cb),
2452 (ev_sidebar_thumbnails_fill_model),
2453 (ev_sidebar_thumbnails_refresh),
2454 (ev_sidebar_tree_selection_changed),
2455 (ev_sidebar_icon_selection_changed),
2456 (ev_sidebar_thumbnails_use_icon_view),
2457 (ev_sidebar_thumbnails_set_document):
2458 * shell/ev-sidebar-thumbnails.h:
2459 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
2460 (ev_window_cmd_edit_rotate_right), (ev_window_init):
2462 Refresh thumbnails when changing orientation. Not fully
2463 working yet becuase of a sidebar bug.
2465 Set page orientation to poppler page everywhere. This sucks
2466 really need to fix poppler.
2468 2005-06-18 Marco Pesenti Gritti <mpg@redhat.com>
2470 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
2471 (egg_recent_view_gtk_new_menu_item),
2472 (egg_recent_view_gtk_set_property),
2473 (egg_recent_view_gtk_get_property),
2474 (egg_recent_view_gtk_class_init), (egg_recent_view_gtk_init),
2475 (egg_recent_view_gtk_set_tooltip_func),
2476 (egg_recent_view_gtk_set_label_width),
2477 (egg_recent_view_gtk_get_label_width):
2478 * cut-n-paste/recent-files/egg-recent-view-gtk.h:
2480 Sync with libegg (ellipsize labels)
2482 2005-06-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2484 * data/evince-ui.xml:
2485 * shell/ev-window.c: (ev_window_cmd_go_forward),
2486 (ev_window_cmd_go_backward):
2488 Shift + PageUp moves 10 Pages. Fix for 306125
2490 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
2492 * pdf/ev-poppler.cc:
2494 Add a flag to check if orientation has been overriden
2496 2005-06-17 Martin Kretzschmar <martink@gnome.org>
2498 * ps/ps.c (psscan, psfree): read "Creator:" comment, free creator
2501 * ps/ps.h: add creator field to document.
2503 * ps/ps-document.c (ps_document_get_info): set format to PostScript,
2506 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
2508 * data/evince-properties.glade:
2509 * shell/ev-properties.c: (ev_properties_set_document):
2511 s/PDF Version/Format
2513 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
2515 * shell/ev-properties.c: (ev_properties_set_document):
2517 Remove unnecessary translations
2519 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
2521 * cut-n-paste/toolbar-editor/Makefile.am:
2523 Correct library name
2525 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
2528 * cut-n-paste/recent-files/egg-recent-model.c:
2529 (egg_recent_model_write_raw), (egg_recent_model_lock_file),
2530 (egg_recent_model_unlock_file):
2531 * cut-n-paste/recent-files/egg-recent-util.c:
2532 (egg_recent_util_get_unique_id):
2533 * cut-n-paste/recent-files/update-from-egg.sh:
2534 * cut-n-paste/toolbar-editor/Makefile.am:
2535 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
2536 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
2537 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
2538 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
2539 (egg_toolbars_model_get_type):
2540 * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
2542 Better makefile for toolbar editor and update everything
2545 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
2547 * shell/ev-window.c: (update_document_mode):
2549 Prefer presentation mode when the document
2552 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
2554 * data/evince-ui.xml:
2555 * shell/ev-window.c:
2557 Add control-equal for zooming
2559 2005-06-17 Theppitak Karoonboonyanan <thep@linux.thai.net>
2561 * configure.ac: Added 'th' (Thai) to ALL_LINGUAS.
2563 2005-06-16 Marco Pesenti Gritti <mpg@redhat.com>
2565 * backend/ev-document.c: (ev_document_get_orientation):
2566 * backend/ev-document.h:
2567 * pdf/ev-poppler.cc:
2568 * ps/ps-document.c: (ps_document_get_orientation),
2569 (ps_document_set_orientation), (ps_document_document_iface_init):
2571 Add a get_orientation api. Improve set_orientation.
2573 * data/evince-ui.xml:
2574 * shell/ev-view.c: (ev_view_set_orientation),
2575 (ev_view_rotate_right), (ev_view_rotate_left):
2577 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
2578 (ev_window_cmd_edit_rotate_right):
2580 Better ui for changing document orientation
2582 2005-06-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2584 * shell/ev-sidebar-links.c: (ev_sidebar_links_get_property),
2585 (ev_sidebar_links_class_init), (ev_sidebar_links_get_label):
2586 * shell/ev-sidebar-links.h:
2587 * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
2588 (ev_sidebar_page_iface_init):
2589 * shell/ev-sidebar-page.h:
2590 * shell/ev-sidebar-thumbnails.c:
2591 (ev_sidebar_thumbnails_get_property),
2592 (ev_sidebar_thumbnails_class_init),
2593 (ev_sidebar_thumbnails_set_document):
2594 * shell/ev-sidebar-thumbnails.h:
2595 * shell/ev-view.c: (ev_view_motion_notify_event):
2596 * shell/ev-window.c: (update_chrome_visibility),
2597 (ev_window_cmd_focus_page_selector),
2598 (ev_window_update_fullscreen_popup), (view_actions_focus_in_cb),
2599 (sidebar_page_main_widget_update_cb), (ev_window_init):
2601 Autoraise toolbar on GoToPage binding and fix bindings in
2602 EvSidebarThumbnails page.
2604 2005-06-15 Christian Persch <chpe@cvs.gnome.org>
2606 * shell/ev-properties.c: (update_progress_label):
2608 Hide the progress label when finished; bug #307697.
2610 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
2612 * pdf/ev-poppler.cc:
2614 Enable is_open for links, you will need poppler cvs
2616 * shell/ev-properties.c: (job_fonts_finished_cb):
2618 Get a lock on the document when filling the tree view
2620 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
2622 * backend/ev-document-links.h:
2623 * pdf/ev-poppler.cc:
2624 * shell/ev-sidebar-links.c: (create_loading_model),
2625 (expand_open_links), (job_finished_callback):
2627 Expand links when specified by the document.
2628 Depend on a poppler api (defined out for now)
2630 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
2632 * shell/ev-properties.c: (ev_properties_dispose),
2633 (ev_properties_class_init), (dialog_destroy_cb),
2634 (ev_properties_init), (job_fonts_finished_cb), (setup_fonts_view),
2635 (ev_properties_set_document), (ev_properties_new),
2636 (ev_properties_show):
2637 * shell/ev-properties.h:
2639 Make it an object, cleanup the code, api to show it as transient
2640 and to set the document.
2642 * shell/ev-window.c: (ev_window_setup_document),
2643 (ev_window_cmd_file_properties):
2645 Adapt to EvProperties changes, do not show multiple
2646 times, update it when document changes.
2648 2005-06-14 Marco Pesenti Gritti <mpg@redhat.com>
2651 * ps/ps-document.c: (ps_document_init), (get_page_orientation),
2652 (ps_document_set_orientation), (ps_document_document_iface_init):
2655 Implement orientation here too
2657 * shell/ev-properties.c: (ev_properties_new):
2658 * data/evince-properties.glade:
2660 Hide the fonts page for backends that doesnt
2663 2005-06-14 Marco Pesenti Gritti <mpg@redhat.com>
2665 * backend/ev-document.c: (ev_document_set_orientation):
2666 * backend/ev-document.h:
2667 * pdf/ev-poppler.cc:
2669 Add orientation api. Currently poppler api is not optimal,
2670 we need to set orientation every time we _get a page.
2671 I will try to fix that at some point.
2673 * data/evince-ui.xml:
2674 * shell/ev-window.c: (ev_window_cmd_edit_landscape),
2675 (ev_window_cmd_edit_portrait), (ev_window_cmd_edit_flip):
2677 Add orientation menu items
2679 * shell/ev-page-cache.c: (ev_page_cache_clear):
2680 * shell/ev-page-cache.h:
2682 Add api to clear the cache
2684 * shell/ev-view.c: (setup_caches), (clear_caches),
2685 (ev_view_set_document), (ev_view_zoom_out),
2686 (ev_view_set_orientation):
2689 Implement orientation changing
2691 2005-06-13 Marco Pesenti Gritti <mpg@redhat.com>
2693 * backend/ev-document-fonts.c: (ev_document_fonts_get_progress),
2694 (ev_document_fonts_scan), (ev_document_fonts_fill_model):
2695 * backend/ev-document-fonts.h:
2697 Separate scan and fill so that we can incrementally fill from
2698 the main thread. Add a progress api.
2700 * data/evince-properties.glade:
2701 * pdf/ev-poppler.cc:
2702 * shell/ev-jobs.c: (ev_job_fonts_new), (ev_job_fonts_run):
2704 * shell/ev-properties.c: (update_progress_label),
2705 (job_fonts_finished_cb), (setup_fonts_view):
2707 Incrementally feel the list and show the progress
2708 percentage in a label like acrobat does.
2710 You are going to need poppler cvs
2712 2005-06-11 Marco Pesenti Gritti <mpg@redhat.com>
2714 * backend/ev-document-fonts.c: (ev_document_fonts_fill_model):
2715 * backend/ev-document-fonts.h:
2716 * pdf/ev-poppler.cc:
2718 Make fonts model fill incrementally.
2720 * shell/ev-job-queue.c: (handle_job), (search_for_jobs_unlocked),
2721 (no_jobs_available_unlocked), (ev_job_queue_init), (find_queue),
2722 (ev_job_queue_remove_job):
2723 * shell/ev-jobs.c: (ev_job_fonts_init), (ev_job_fonts_class_init),
2724 (ev_job_fonts_new), (ev_job_fonts_run):
2727 New job for fonts scanning
2729 * shell/ev-properties.c: (job_fonts_finished_cb),
2730 (fill_fonts_treeview), (setup_fonts_view), (ev_properties_new):
2731 * shell/ev-properties.h:
2732 * shell/ev-window.c: (ev_window_cmd_file_properties):
2734 Incrementally feel the treeview using the new job. Show Loading...
2735 message until scanning is completed.
2737 Hopefully I didnt break the build without the poppler patch.
2739 2005-06-10 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2741 * shell/ev-application.c: (ev_application_open):
2742 * shell/ev-document-types.c: (ev_document_type_from_from_mime),
2743 (ev_document_type_get_type), (ev_document_type_lookup):
2744 * shell/ev-document-types.h:
2745 * shell/ev-job-xfer.c: (ev_job_xfer_dispose), (ev_job_xfer_run):
2746 * shell/ev-job-xfer.h:
2747 * shell/ev-window.c: (ev_window_clear_local_uri),
2748 (ev_window_load_job_cb), (ev_window_xfer_job_cb),
2749 (ev_window_open_uri), (ev_window_add_recent), (ev_window_dispose):
2750 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
2752 Transfer remote documents to tmp directory to display them later.
2754 2005-06-10 Marco Pesenti Gritti <mpg@redhat.com>
2756 * backend/ev-document-info.h:
2757 * shell/ev-properties.c: (ev_properties_new):
2759 s/GTime*/GTime. Not sure why we was using a pointer
2762 Wed Jun 8 01:04:22 2005 Jonathan Blandford <jrb@redhat.com>
2764 * shell/ev-sidebar-thumbnails.c: Use a GtkIconView in certain
2765 situations. That situation is that you're using GTK+-HEAD with
2766 the patch at #306726 is applied, and you have a document with <
2767 1500 pages in it. It's not quite as uniformly nice as the
2768 TreeView, but should be better in the long run.
2770 I'm pretty sure I guarded against breaking compilation with
2771 HAVE_GTK_ICON_VIEW_GET_VISIBLE_RANGE gaurds, though it's possible
2774 * shell/ev-window.c (ev_window_init): We don't have our tree/list
2775 widget yet, so I commented that code out
2776 enable_view_actions_for_widget() for now. Need to figure this
2779 * shell/ev-page-action.c (match_selected_cb): emit the right
2780 signals. Our cool C-l completion now works.
2782 2005-06-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2784 * backend/Makefile.am:
2785 * backend/ev-document-fonts.c:
2786 * backend/ev-document-links.c:
2787 * backend/ev-document.c: (ev_document_load):
2788 * backend/ev-document.h:
2789 * backend/ev-job-queue.c:
2790 * backend/ev-job-queue.h:
2791 * backend/ev-jobs.c:
2792 * backend/ev-jobs.h:
2793 * backend/ev-page-cache.c:
2794 * backend/ev-page-cache.h:
2796 EvPageCache and EvJobs are moved to shell.
2798 * lib/ev-file-helpers.c: (ev_file_helpers_shutdown),
2800 * lib/ev-file-helpers.h:
2802 New helper to work with temporary files
2804 * shell/Makefile.am:
2805 * shell/ev-application.c: (ev_application_open):
2806 * shell/ev-application.h:
2807 * shell/ev-job-queue.c: (remove_job_from_queue_locked),
2808 (remove_job_from_async_queue), (add_job_to_async_queue),
2809 (add_job_to_queue_locked), (notify_finished), (job_finished_cb),
2810 (handle_job), (search_for_jobs_unlocked),
2811 (no_jobs_available_unlocked), (ev_render_thread),
2812 (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
2813 (ev_job_queue_add_job), (move_job_async), (move_job),
2814 (ev_job_queue_update_job), (ev_job_queue_remove_job):
2815 * shell/ev-job-queue.h:
2816 * shell/ev-job-xfer.c: (ev_job_xfer_init), (ev_job_xfer_dispose),
2817 (ev_job_xfer_class_init), (ev_job_xfer_new), (ev_job_xfer_run):
2818 * shell/ev-job-xfer.h:
2819 * shell/ev-jobs.c: (ev_job_init), (ev_job_dispose),
2820 (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
2821 (ev_job_links_class_init), (ev_job_render_init),
2822 (ev_job_render_dispose), (ev_job_render_class_init),
2823 (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
2824 (ev_job_thumbnail_class_init), (ev_job_load_init),
2825 (ev_job_load_dispose), (ev_job_load_class_init), (ev_job_finished),
2826 (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
2827 (render_finished_cb), (ev_job_render_run), (ev_job_thumbnail_new),
2828 (ev_job_thumbnail_run), (ev_job_load_new), (ev_job_load_run):
2830 * shell/ev-page-action.c: (ev_page_action_set_document):
2831 * shell/ev-page-cache.c: (ev_page_cache_init),
2832 (ev_page_cache_class_init), (ev_page_cache_finalize),
2833 (ev_page_cache_new), (ev_page_cache_get_n_pages),
2834 (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
2835 (ev_page_cache_set_page_label), (ev_page_cache_set_link),
2836 (ev_page_cache_get_title), (ev_page_cache_get_size),
2837 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
2838 (ev_page_cache_get_height_to_page),
2839 (ev_page_cache_get_max_label_chars),
2840 (ev_page_cache_get_page_label),
2841 (ev_page_cache_has_nonnumeric_page_labels),
2842 (ev_page_cache_get_info), (ev_page_cache_next_page),
2843 (ev_page_cache_prev_page), (ev_page_cache_get):
2844 * shell/ev-page-cache.h:
2845 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_update_range),
2846 (ev_pixbuf_cache_clear_job_sizes),
2847 (ev_pixbuf_cache_add_jobs_if_needed),
2848 (ev_pixbuf_cache_set_page_range):
2849 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings):
2850 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document):
2851 * shell/ev-sidebar-thumbnails.c:
2852 (ev_sidebar_tree_selection_changed),
2853 (ev_sidebar_thumbnails_set_document):
2854 * shell/ev-statusbar.c: (ev_statusbar_destroy),
2855 (ev_statusbar_class_init), (ev_statusbar_init), (ev_statusbar_new),
2856 (ev_statusbar_get_context_id), (ev_statusbar_push),
2857 (ev_statusbar_pop), (ev_statusbar_set_maximized),
2858 (ev_statusbar_pulse), (ev_statusbar_show_progress),
2859 (ev_statusbar_set_progress):
2860 * shell/ev-statusbar.h:
2861 * shell/ev-view.c: (ev_view_set_document), (ev_view_find_next),
2862 (ev_view_find_previous):
2863 * shell/ev-window.c: (ev_window_is_empty),
2864 (ev_window_setup_document), (password_dialog_response),
2865 (ev_window_clear_jobs), (ev_window_load_job_cb),
2866 (ev_window_xfer_job_cb), (ev_window_open_uri),
2867 (ev_window_open_uri_list), (ev_window_cmd_recent_file_activate),
2868 (ev_window_print), (ev_window_print_range),
2869 (ev_window_state_event), (ev_window_cmd_view_reload),
2870 (menu_item_select_cb), (menu_item_deselect_cb),
2871 (view_status_changed_cb), (ev_window_dispose),
2872 (drag_data_received_cb), (ev_window_init):
2873 * shell/ev-window.h:
2874 * shell/main.c: (load_files):
2876 New statusbar to show progress on idle. Two new jobs -
2877 xfer job and load job to load document in background. And update
2878 of page_cache clients to new location of code.
2880 2005-06-08 Carlos Garcia Campos <carlosgc@gnome.org>
2882 * shell/ev-application.c, shell/ev-window.[ch]: Allow multiple
2883 selection in open dialog. It also remembers the last visited directory
2884 in the current session.
2886 2005-06-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2888 * shell/ev-properties.c: (ev_properties_new):
2889 * shell/ev-properties.h:
2890 * shell/ev-window.c: (ev_window_cmd_file_properties):
2892 Get document info from page cache instead of document itself.
2893 This should fix crash related to race conditions described in
2896 2005-06-07 Marco Pesenti Gritti <mpg@redhat.com>
2898 * ps/ps-document.c: (ps_document_init),
2899 (send_ps), (get_page_box), (output), (catchPipe), (input),
2900 (stop_interpreter), (file_length), (file_readable),
2901 (check_filecompressedb), (ps_document_enable_interpreter),
2902 (document_load), (ps_async_renderer_render_pixbuf):
2905 Big cleanup of the ps code
2907 2005-06-07 Marco Pesenti Gritti <mpg@redhat.com>
2909 * backend/Makefile.am:
2910 * backend/ev-async-renderer.c: (ev_async_renderer_get_type),
2911 (ev_async_renderer_class_init), (ev_async_renderer_render_pixbuf):
2912 * backend/ev-async-renderer.h:
2914 Add an async renderer interface (method + callback) which
2915 is useful for backends like ps.
2917 * backend/ev-job-queue.c: (remove_job_from_async_queue),
2918 (add_job_to_async_queue), (job_finished_cb), (handle_job),
2919 (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
2920 (ev_job_queue_add_job), (move_job_async), (move_job),
2921 (ev_job_queue_update_job), (ev_job_queue_remove_job):
2923 Add queues for async renderer, these are executed on the
2926 * backend/ev-jobs.c: (ev_job_render_new), (render_finished_cb),
2927 (ev_job_render_run):
2928 * backend/ev-jobs.h:
2930 If the backend support async renderer interface use it.
2932 * ps/ps-document.c: (ps_document_init), (push_pixbuf),
2933 (setup_pixmap), (ps_document_get_type),
2934 (ps_async_renderer_render_pixbuf),
2935 (ps_document_document_iface_init), (ps_async_renderer_iface_init):
2937 Implement async renderer interface.
2939 2005-06-07 Nickolay V. Shmyrev <<nshmyrev@yandex.ru>>
2941 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose):
2943 Cleanup links job on exit.
2945 2005-06-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2947 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
2948 (drag_data_get_cb), (drag_data_received_cb):
2949 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
2950 (drag_data_get_cb), (parse_item_list),
2951 (egg_toolbar_editor_load_actions):
2952 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
2953 (egg_toolbars_model_to_xml), (egg_toolbars_model_save),
2954 (parse_item_list), (parse_toolbars):
2955 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
2956 (dvi_pixbuf_put_pixel):
2958 Fix gcc 4.0 warnings
2960 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
2962 * ps/ps-document.c: (start_interpreter):
2964 Fix warning when loading ps
2966 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
2968 * ps/ps-document.c: (output):
2970 Fix crash when priting gs error messages.
2972 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
2974 * backend/ev-page-cache.c: (_ev_page_cache_new):
2975 * backend/ev-page-cache.h:
2977 Use a const to return title so that we dont double
2978 free it. Small cleanup and fix a leak.
2980 * shell/ev-window.c: (update_window_title):
2982 strdup value from get_title.
2984 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
2986 * shell/ev-sidebar-links.c: (job_finished_callback),
2987 (ev_sidebar_links_set_document):
2989 Cleanup the old job when changing document
2991 2005-06-05 Nickolay V. Shmyrev <<nshmyrev@yandex.ru>>
2993 * shell/ev-stock-icons.c:
2994 * shell/ev-stock-icons.h:
2995 * shell/ev-window.c:
2997 Add stock icons for actions that can appear in toolbar. Fix for
3000 2005-06-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3002 * backend/ev-page-cache.c: (ev_page_cache_finalize),
3003 (_ev_page_cache_new), (ev_page_cache_get_max_width),
3004 (ev_page_cache_get_max_height), (ev_page_cache_get_height_to_page):
3005 * backend/ev-page-cache.h:
3006 * shell/ev-view.c: (scroll_to_current_page),
3007 (view_update_range_and_current_page), (get_page_y_offset),
3008 (get_page_extents), (ev_view_size_request_continuous_dual_page),
3009 (ev_view_size_request_continuous),
3010 (ev_view_zoom_for_size_continuous_and_dual_page),
3011 (ev_view_zoom_for_size_continuous):
3013 More compact EvView layout in document with pages of different size.
3015 Sat Jun 4 19:20:57 2005 Jonathan Blandford <jrb@redhat.com>
3017 * shell/ev-window.c (ev_window_cmd_file_properties): fix
3020 2005-06-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3022 * shell/ev-view.c: (view_set_adjustment_values):
3023 * shell/ev-window.c: (ev_window_cmd_file_properties):
3025 A bit different fix for rounding problem but it has no
3026 problems on startup. Make properties window transient to parent.
3028 2005-06-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3030 * pdf/ev-poppler.cc:
3032 More commenting of font stuff.
3034 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
3036 * pdf/ev-poppler.cc:
3038 Comment out some more fonts stuff. Should really
3039 work without the poppler patch now.
3041 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
3043 * pdf/ev-poppler.cc:
3047 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
3049 * data/evince-properties.glade:
3050 * pdf/ev-poppler.cc:
3051 * shell/ev-properties.c: (setup_fonts_view):
3053 Set the column title. Show the dialog only
3054 once everything is setup.
3055 Getting font info can be very slow... will
3056 prolly need to make this threaded too.
3058 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
3060 * backend/Makefile.am:
3061 * backend/ev-document-fonts.c: (ev_document_fonts_get_type),
3062 (ev_document_fonts_get_fonts_model):
3063 * backend/ev-document-fonts.h:
3064 * data/evince-properties.glade:
3065 * pdf/ev-poppler.cc:
3066 * shell/ev-properties.c: (setup_fonts_view), (ev_properties_new):
3067 * shell/ev-properties.h:
3068 * shell/ev-window.c: (ev_window_cmd_file_properties):
3070 Implement fonts list. Defined out for now, since it depends
3071 on a not yet committed poppler patch.
3073 Fri Jun 3 21:07:57 2005 Jonathan Blandford <jrb@redhat.com>
3075 * shell/ev-view.c (get_page_extents): other_page isn't necessarily
3078 * shell/ev-window.c: Make sure we add the timeout when we get a
3081 * shell/ev-view.c (view_set_adjustment_values): Add 0.5 to
3082 adjustment->value before calculating the zoom factor to average
3083 out all of our rounding errors. The page no longer 'drifts' when
3086 2005-06-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3088 * data/evince-properties.glade:
3089 * shell/ev-properties.c: (ev_properties_format_date),
3092 Labels don't expand when the dialogue is resized.
3093 strftime result needs to be converted to UTF-8. Thanks
3094 to Christian Persch <chpe@gnome.org>.
3096 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
3098 * data/evince-properties.glade:
3102 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
3104 * backend/ev-document-info.h:
3105 * backend/ev-document.c: (ev_document_info_free):
3106 * data/evince-properties.glade:
3107 * pdf/ev-poppler.cc:
3108 * ps/ps-document.c: (ps_document_get_info):
3109 * shell/ev-properties.c: (ev_properties_format_date),
3110 (set_property), (ev_properties_new):
3111 * shell/ev-properties.h:
3112 * shell/ev-window.c: (ev_window_cmd_file_properties):
3114 Rework properties code to take only EvPropertyInfo
3115 in the constructor so that it can be useful for
3116 nautilus plugin too.
3118 Deal with backends that doesnt support some properties.
3119 Make set property code generic.
3121 2005-06-04 Christian Persch <chpe@gnome.org>
3123 * data/evince-properties.glade:
3125 fix spacings, make resizeable, and make data labels
3126 selectable + ellipsised
3128 2005-06-03 Marco Pesenti Gritti <mpg@redhat.com>
3130 * backend/ev-document-info.h:
3132 * data/evince-ui.xml:
3133 * pdf/ev-poppler.cc:
3134 * shell/Makefile.am:
3135 * shell/ev-window.c: (update_action_sensitivity),
3136 (ev_window_cmd_file_properties):
3138 Initial go at file properties. Patch by
3139 Emil Soleyman-Zomalan <emil@soleyman.com>.
3140 Needs love see #169583
3142 2005-06-02 Marco Pesenti Gritti <mpg@redhat.com>
3144 * ps/ps-document.c: (output):
3145 * ps/ps.c: (psscan):
3147 Try to render even if psscan fails.
3149 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
3151 * ps/ps.c: (psscan), (pscopydoc):
3153 Port buffered reading code from gv
3155 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
3157 * ps/ps-document.c: (interpreter_message), (output):
3159 Do not fail on interpreter messages
3161 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
3163 * backend/ev-document-misc.c:
3164 (ev_document_misc_get_thumbnail_frame):
3166 Pages can be 0 x 0, dont assert on this case
3168 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
3170 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
3171 (ev_sidebar_links_class_init), (ev_sidebar_links_set_document):
3173 Correctly manage our reference on document. Finally the reload
3174 huge leak is gone...
3176 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
3178 * ps/ps-document.c: (ps_document_dispose):
3180 Forgot to chain it to the parent. Thanks chpe.
3182 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
3184 * ps/ps-document.c: (ps_document_dispose),
3185 (ps_document_class_init), (stop_interpreter), (document_load):
3187 Cleanup dispose a bit. Dont leak the whole pixmap.
3189 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
3191 * pdf/ev-poppler.cc:
3193 Release the poppler document on dispose
3195 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
3197 * shell/ev-view.c: (ev_view_set_document):
3199 Release ref on the pixbuf cache when changing
3202 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
3204 * ps/ps-document.c: (ps_document_get_info):
3208 2005-05-31 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
3210 * backend/ev-page-cache.c: (ev_page_cache_init),
3211 (_ev_page_cache_new), (ev_page_cache_get_max_label_chars):
3212 * backend/ev-page-cache.h:
3213 * shell/ev-page-action.c: (page_changed_cb):
3215 Set page action entry width depending on labels width. Fix
3218 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
3220 * backend/ev-link.c: (ev_link_class_init):
3222 Allow -1 as page value (error)
3224 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
3226 * shell/ev-sidebar-thumbnails.c:
3227 (ev_sidebar_thumbnails_set_document):
3228 * shell/ev-view.c: (scroll_to_current_page),
3229 (view_set_adjustment_values), (ev_view_set_scroll_adjustments),
3230 (page_changed_cb), (on_adjustment_value_changed),
3231 (ev_view_set_document):
3233 Slightly modified patch by Nickolay V. Shmyrev <nshmyrev@yandex.ru>.
3236 2005-05-29 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3239 * djvu/djvu-document.c: (djvu_document_get_page_size):
3241 Require djvulibre CVS. Now djvu loading is much faster. Fix for
3244 Sat May 28 07:38:03 2005 Jonathan Blandford <jrb@redhat.com>
3246 * shell/ev-view.c (draw_one_page): modify the expose handling to
3249 * shell/ev-window.c (update_action_sensitivity): Respect
3250 permissions field. Kowtow to the man.
3252 * pdf/ev-poppler.cc: Get the permissions field.
3254 * tiff/*c: Make a tiny bit more robust.
3256 2005-05-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3258 * djvu/djvu-document.c:
3260 Pop messages from djvu context message queue.
3262 2005-05-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3264 * configure.ac, Makefile.am, shell/Makefile.am:
3265 * tiff/Makefile.am, shell/ev-document-types.c:
3267 Cleanup tiff configure checks. Fix for bug 305218.
3269 2005-05-24 Maxim V. Dziumanenko <mvd@mylinux.ua>
3271 * configure.ac: Added "uk" to ALL_LINGUAS.
3273 2005-05-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3275 * cut-n-paste/zoom-control/ephy-zoom.c:
3276 (ephy_zoom_get_changed_zoom_level):
3277 * cut-n-paste/zoom-control/ephy-zoom.h:
3278 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_set_property),
3279 (ev_view_get_property), (ev_view_class_init), (ev_view_set_zoom):
3280 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
3281 (ev_window_cmd_view_zoom_out), (ev_window_zoom_changed_cb),
3282 (zoom_control_changed_cb), (ev_window_init):
3284 Fix minor points related to moving best fit up. Introduce
3285 "zoom" property and make zoom control change it's value on
3286 notify::zoom signals. Fix for 305080.
3288 2005-05-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3290 * data/evince-ui.xml:
3291 * shell/ev-window.c: (set_view_actions_sensitivity):
3293 Use + and - as accels for zoom in and zoom out. Fix for 305001.
3295 2005-05-22 Marco Pesenti Gritti <mpg@redhat.com>
3299 Depends on poppler 0.3.2
3301 2005-05-22 Marco Pesenti Gritti <mpg@redhat.com>
3303 * cut-n-paste/recent-files/egg-recent-item.c:
3304 (egg_recent_item_get_short_name):
3305 * cut-n-paste/toolbar-editor/Makefile.am:
3306 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
3307 (new_pixbuf_from_widget):
3308 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
3309 * cut-n-paste/toolbar-editor/egg-marshal.c:
3310 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
3311 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
3315 Sat May 21 23:18:30 2005 Jonathan Blandford <jrb@redhat.com>
3317 * tiff/tiff-document.c: Rough TIFF backend.
3319 2005-05-21 Marco Pesenti Gritti <mpg@redhat.com>
3323 * cut-n-paste/toolbar-editor/Makefile.am:
3327 2005-05-21 Marco Pesenti Gritti <mpg@redhat.com>
3329 * shell/ev-view.c: (jump_to_find_result), (ev_view_can_find_next),
3330 (ev_view_find_next), (ev_view_find_previous):
3332 Remove the locks around get_n_results
3334 2005-05-21 Juerg Billeter <j@bitron.ch>
3336 * pdf/ev-poppler.c: (pdf_document_ps_exporter_begin):
3338 Pass correct number of pages to poppler.
3340 2005-05-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3344 * data/evince.desktop.in:
3345 * data/evince.desktop.in.in:
3348 Add conditionally dvi and djvu to desktop types. Fix for 304658.
3350 Sat May 21 00:21:30 2005 Jonathan Blandford <jrb@redhat.com>
3352 * shell/ev-view.c: (view_update_adjustments),
3353 (view_set_adjustment_values): cast adjustmen->value to (int)
3354 before using it. Otherwise, we get off by a pixel in some
3357 (draw_one_page): Draw the border on expose.
3359 Fri May 20 22:05:25 2005 Jonathan Blandford <jrb@redhat.com>
3361 * *shell/ev-view.c: Patch from Nickolay V. Shmyrev to reset the
3362 adjustment when the mode changes, #304923
3364 Fri May 20 02:00:03 2005 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3366 * shell/ev-view.c: Use gdk_widget_queue_draw to remove
3367 flickering on resize but still use gdk_window_scroll on
3370 Fri May 20 01:46:57 2005 Jonathan Blandford <jrb@redhat.com>
3372 * shell/ev-view.c: Patch from Nickolay Shmyrev to fix the -p
3375 Fri May 20 01:27:01 2005 Jonathan Blandford <jrb@redhat.com>
3377 * shell/ev-view.c: Patch from Nickolay Shmyrev to to scroll to
3378 second page on page_changed if possible, #304669
3380 Fri May 20 01:07:15 2005 Jonathan Blandford <jrb@redhat.com>
3382 * shell/ev-view.c (view_update_adjustments): Use gdk_window_scroll
3383 instead of gtk_widget_queue_draw. Massive speedups in scrolling.
3385 Fri May 20 01:05:10 2005 Jonathan Blandford <jrb@redhat.com>
3388 * shell/ev-view.c:(ev_view_size_allocate), (ev_view_class_init),
3389 (zoom_for_size_fit_width), (zoom_for_size_best_fit),
3390 (ev_view_zoom_for_size_presentation),
3391 (ev_view_zoom_for_size_continuous_and_dual_page),
3392 (ev_view_zoom_for_size_continuous),
3393 (ev_view_zoom_for_size_dual_page),
3394 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size):
3396 * shell/ev-window.c: (update_view_size),
3397 (ev_window_sizing_mode_changed_cb):
3399 Patch from Nickolay Shmyrev <nshmyrev@yandex.ru> to handle
3400 the scrollbars. It's not 100% right, but it's much closer. Kills
3401 an infinite loop, #304769
3404 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
3406 * data/evince-ui.xml:
3407 * shell/ev-view.c: (ev_view_scroll_view), (ev_view_class_init):
3408 * shell/ev-window.c: (set_view_actions_sensitivity):
3410 Make PgUp/Down behave like Space
3412 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
3414 * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
3415 * backend/ev-ps-exporter.h:
3416 * pdf/ev-poppler.cc:
3417 * ps/ps-document.c: (ps_document_ps_export_begin):
3418 * shell/ev-print-job.c: (idle_print_handler):
3420 Adapt to new poppler api
3422 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
3424 * cut-n-paste/zoom-control/ephy-zoom-control.c:
3425 (ephy_zoom_control_init):
3427 Translate zoom levels
3429 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
3431 * cut-n-paste/zoom-control/ephy-zoom.c:
3432 (ephy_zoom_get_zoom_level_index):
3434 Fix current zoom -> zoom control match
3436 2005-05-18 James Bowes <bowes@cs.dal.ca>
3438 * shell/ev-window.c: (ev_window_init): Give focus to the ev-view,
3439 rather than the scrolled_window that it's in. Fixes bug #304655.
3441 Tue May 17 22:54:17 2005 Jonathan Blandford <jrb@redhat.com>
3443 * shell/ev-view.c: (view_update_adjustments),
3444 (view_set_adjustment_values), (view_update_range_and_current_page),
3445 (view_scroll_to_page), (set_scroll_adjustment),
3446 (ev_view_set_scroll_adjustments), (add_scroll_binding_keypad),
3447 (ev_view_scroll), (ev_view_scroll_view),
3448 (ensure_rectangle_is_visible), (find_page_at_location),
3449 (get_link_at_location), (go_to_link), (status_message_from_link),
3450 (ev_view_size_request_continuous_dual_page),
3451 (ev_view_size_request), (ev_view_size_allocate), (ev_view_realize),
3452 (ev_view_unrealize), (ev_view_expose_event),
3453 (ev_view_button_press_event), (ev_view_motion_notify_event),
3454 (ev_view_button_release_event), (ev_gdk_color_to_rgb),
3455 (draw_rubberband), (highlight_find_results), (draw_one_page),
3456 (ev_view_finalize), (ev_view_destroy), (ev_view_class_init),
3457 (ev_view_init), (find_changed_cb), (page_changed_cb),
3458 (on_adjustment_value_changed), (ev_view_new),
3459 (ev_view_set_document), (ev_view_set_zoom),
3460 (ev_view_set_continuous), (ev_view_set_dual_page),
3461 (ev_view_set_presentation), (ev_view_zoom_in), (ev_view_zoom_out),
3462 (zoom_for_size_fit_width), (zoom_for_size_best_fit),
3463 (ev_view_zoom_for_size_presentation),
3464 (ev_view_zoom_for_size_continuous_dual_page),
3465 (ev_view_zoom_for_size_continuous),
3466 (ev_view_zoom_for_size_dual_page),
3467 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
3468 (ev_view_get_status), (ev_view_set_status),
3469 (update_find_status_message), (ev_view_get_find_status),
3470 (ev_view_set_find_status), (jump_to_find_result),
3471 (jump_to_find_page), (compute_selections), (clear_selection),
3472 (ev_view_select_all), (get_selected_text), (ev_view_copy),
3473 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
3474 (ev_view_update_primary_selection),
3475 (ev_view_create_invisible_cursor), (ev_view_set_cursor):
3477 * shell/ev-window.c: (ev_window_open_page_label),
3478 (ev_window_cmd_view_reload), (ev_window_sizing_mode_changed_cb),
3480 * shell/ev-window.h:
3481 * shell/main.c: (load_files):
3483 Massive code clean up from Nickolay Shmyrev. Keep page offset
3484 when resizing. Remove the bin_window(). Also, patch from James
3485 Bowes to fix command line page, #300641
3487 2005-05-17 Marco Pesenti Gritti <mpg@redhat.com>
3489 * data/evince-ui.xml:
3492 * shell/ev-window.c: (update_action_sensitivity):
3494 Get rid of View->Normal Size, it's just confusing
3496 Tue May 17 00:51:21 2005 Jonathan Blandford <jrb@redhat.com>
3498 * backend/ev-document-info.h:
3499 * backend/ev-document.c: (ev_document_info_free): Free the
3502 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
3503 (clear_range), (add_range), (update_visible_range),
3504 (adjustment_changed_cb), (ev_sidebar_thumbnails_init),
3505 (ev_sidebar_thumbnails_set_document):
3506 * shell/ev-window.c: (ev_window_setup_document): Only render the
3507 visible thumbnails. It takes an instant to render, but it uses
3510 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
3512 * shell/ev-sidebar-links.c: (popup_menu_cb):
3516 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
3519 * shell/ev-sidebar-links.c: (build_popup_menu), (popup_menu_cb),
3520 (button_press_cb), (ev_sidebar_links_construct):
3522 Show the popup menu also on keybindings
3524 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
3526 * shell/ev-window.c: (ev_window_print), (ev_window_print_range):
3527 * shell/ev-window.h:
3529 Expose api to print a range (with dialog). Make private _print use
3532 * shell/ev-sidebar-links.c: (print_section_cb), (button_press_cb),
3533 (ev_sidebar_links_construct):
3535 Show a print context menu on linkx, it prints the selected
3538 2005-05-15 Carlos Garcia Campos <carlosgc@gnome.org>
3540 * shell/ev-sidebar.c: make the drop down menu as width as the toggle
3543 2005-05-12 Marco Pesenti Gritti <mpg@redhat.com>
3549 * shell/ev-window.c: (build_comments_string),
3550 (ev_window_cmd_help_about):
3552 Show poppler version/backend and authors
3554 2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
3556 * cut-n-paste/zoom-control/ephy-zoom.c:
3557 (ephy_zoom_get_zoom_level_index):
3558 * cut-n-paste/zoom-control/ephy-zoom.h:
3560 Move the best fit items at the top of the list
3562 2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
3564 * shell/ev-marshal.list:
3565 * shell/ev-page-action.c: (ev_page_action_widget_class_init),
3566 (activate_cb), (match_selected_cb), (activate_link_cb),
3567 (connect_proxy), (ev_page_action_class_init):
3568 * shell/ev-page-action.h:
3570 Use signals to notify action activation. Hopefully
3571 I did not break completion since I cant test...
3573 * shell/ev-window.c: (activate_link_cb), (activate_label_cb),
3574 (register_custom_actions):
3576 Connect to page selector actions and also grab focus on
3577 the view when activated.
3579 Wed May 11 01:18:29 2005 Jonathan Blandford <jrb@redhat.com>
3581 * pdf/ev-poppler.cc:
3582 * backend/ev-page-cache.c: make page size calculation consistent
3583 and set it to (int)( width * scale + 0.5). This makes the weird
3584 line going through the middle of the page go away.
3586 * shell/ev-view.c: move painting the background page after
3587 checking the expose area covers us.
3589 2005-05-11 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3591 * data/evince-password.glade:
3593 Mark labels as not translatable. Fix for bug 302842.
3595 2005-05-10 Francisco Javier F. Serrador <serrador@cvs.gnome.org>
3597 * configure.ac: Added "es" to ALL_LINGUAS.
3599 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3601 * data/evince-toolbar.xml:
3602 * shell/ev-window.c: (update_action_sensitivity),
3603 (ev_window_setup_document), (ev_window_set_page_mode),
3606 Remove some leftover code from jrb first continous
3607 attempt. Use the new actions, we still need good icons
3610 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3612 * shell/ev-page-action.c: (update_pages_label), (connect_proxy):
3614 Update label when connecting proxy. Fix a warning with NULL
3617 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3619 * data/evince-ui.xml:
3620 * shell/ev-page-action.c: (ev_page_action_grab_focus):
3621 * shell/ev-page-action.h:
3622 * shell/ev-window.c: (ev_window_cmd_focus_page_selector):
3624 Add mnemonic for edit toolbar.
3625 ctrl+l focus the page entry.
3627 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3630 * shell/ev-window.c: (ev_window_cmd_edit_toolbar_cb),
3632 * shell/main.c: (main):
3634 Put the toolbar xml in evince own dot dir
3636 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3638 * shell/ev-window.c: (ev_window_init):
3640 Make the toolbar not removable
3642 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3644 * data/evince-ui.xml:
3645 * shell/ev-sidebar-links.c: (ev_sidebar_links_get_treeview):
3646 * shell/ev-sidebar-links.h:
3647 * shell/ev-sidebar-thumbnails.c:
3648 (ev_sidebar_thumbnails_get_treeview):
3649 * shell/ev-sidebar-thumbnails.h:
3650 * shell/ev-view.c: (ev_view_scroll), (ev_view_scroll_view),
3651 (ev_view_class_init):
3653 * shell/ev-window.c: (update_action_sensitivity),
3654 (ev_window_cmd_scroll_forward), (ev_window_cmd_scroll_backward),
3655 (set_view_actions_sensitivity), (view_actions_focus_in_cb),
3656 (view_actions_focus_out_cb), (enable_view_actions_for_widget),
3659 This is evil... Make space/backspace global accelerators but
3660 enable them only for some widgets (sidebars and view).
3661 I dont like it, but I dont know a better way... :/
3663 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3665 * shell/ev-page-action.c: (ev_page_action_widget_set_page_cache),
3666 (ev_page_action_widget_finalize),
3667 (ev_page_action_widget_class_init), (update_page_cache):
3669 Keep a weak reference on proxy->page_cache so that we
3670 dont try to disconnect the signal if the object is already
3671 gone. Maybe there is a better way to cleanup reference handling
3672 in page action though...
3674 2005-05-10 Juerg Billeter <j@bitron.ch>
3676 * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
3677 * backend/ev-ps-exporter.h:
3678 * pdf/ev-poppler.cc: (pdf_document_ps_exporter_begin):
3679 * ps/ps-document.c: (ps_document_ps_export_begin):
3681 Change api to pass print range to ps_exporter_begin. The pdf backend
3682 requires this information.
3684 * shell/ev-print-job.c: (idle_print_handler):
3688 2005-05-10 Juerg Billeter <j@bitron.ch>
3690 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
3691 (idle_print_handler)
3692 * shell/ev-window.c: (ev_window_print):
3694 Support printing page range, based on patch by Amaury Jacquot
3696 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3698 * data/evince-toolbar.xml:
3700 Add zoom control to available items
3702 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3704 * shell/ev-window.c: (update_action_sensitivity):
3706 Set slash action insensitive when appropriate
3708 2005-05-10 Christian Persch <chpe@gnome.org>
3710 * cut-n-paste/zoom-control/ephy-zoom-action.c: (create_menu_item):
3712 Fix warning on the overflow menu
3714 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3716 * shell/ev-window.c: (sanity_check_uri), (ev_window_open):
3718 Check for uri correctness/existence
3720 2005-05-09 Juerg Billeter <j@bitron.ch>
3722 * shell/ev-window.c: (using_postscript_printer):
3724 LPD printers use postscript, too
3726 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
3728 * shell/ev-window.c: (register_custom_actions):
3730 The zoom one is actually sort of useful,
3733 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
3735 * shell/ev-window.c: (register_custom_actions):
3737 Hide page/zoom controls from overflow, they
3740 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
3742 * cut-n-paste/update-from-egg.sh:
3744 Share it between all cut-n-paste subdirs
3746 * cut-n-paste/recent-files/Makefile.am:
3748 Fix to use "global" update-from-egg.sh
3750 * cut-n-paste/recent-files/egg-recent-model.c:
3751 (egg_recent_model_changed_timeout), (egg_recent_model_finalize):
3752 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
3753 (egg_recent_view_gtk_clear), (egg_recent_view_gtk_set_list),
3754 (egg_recent_view_gtk_finalize), (egg_recent_view_gtk_set_menu):
3758 * cut-n-paste/toolbar-editor/Makefile.am:
3760 Fix to use "global" update-from-egg.sh
3762 * cut-n-paste/toolbar-editor/eggmarshalers.list:
3766 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
3769 * cut-n-paste/Makefile.am:
3770 * cut-n-paste/recent-files/Makefile.am:
3771 * cut-n-paste/toolbar-editor/.cvsignore:
3772 * cut-n-paste/toolbar-editor/Makefile.am:
3773 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
3774 (egg_editable_toolbar_get_type), (get_toolbar_position),
3775 (get_n_toolbars), (get_dock_nth), (get_toolbar_nth), (find_action),
3776 (drag_data_delete_cb), (drag_begin_cb), (drag_end_cb),
3777 (drag_data_get_cb), (set_drag_cursor), (unset_drag_cursor),
3778 (set_item_drag_source), (create_item_from_action), (create_item),
3779 (data_is_separator), (drag_data_received_cb), (remove_toolbar_cb),
3780 (popup_toolbar_context_menu_cb), (free_dragged_item),
3781 (toolbar_drag_drop_cb), (toolbar_drag_motion_cb),
3782 (toolbar_drag_leave_cb), (create_dock), (set_fixed_style),
3783 (unset_fixed_style), (toolbar_changed_cb), (unparent_fixed),
3784 (update_fixed), (toolbar_added_cb), (toolbar_removed_cb),
3785 (item_added_cb), (item_removed_cb),
3786 (egg_editable_toolbar_construct),
3787 (egg_editable_toolbar_disconnect_model),
3788 (egg_editable_toolbar_deconstruct),
3789 (egg_editable_toolbar_set_model),
3790 (egg_editable_toolbar_set_ui_manager),
3791 (egg_editable_toolbar_set_property),
3792 (egg_editable_toolbar_get_property),
3793 (egg_editable_toolbar_class_init), (egg_editable_toolbar_init),
3794 (egg_editable_toolbar_finalize), (egg_editable_toolbar_new),
3795 (egg_editable_toolbar_new_with_model),
3796 (egg_editable_toolbar_get_edit_mode),
3797 (egg_editable_toolbar_set_edit_mode), (egg_editable_toolbar_show),
3798 (egg_editable_toolbar_hide), (egg_editable_toolbar_set_fixed),
3799 (egg_editable_toolbar_set_drag_dest), (fake_expose_widget),
3800 (new_pixbuf_from_widget), (new_separator_pixbuf),
3801 (update_separator_image), (style_set_cb),
3802 (_egg_editable_toolbar_new_separator_image),
3803 (egg_editable_toolbar_get_model):
3804 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
3805 * cut-n-paste/toolbar-editor/egg-marshal.c:
3806 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
3807 (egg_toolbar_editor_get_type), (compare_actions), (find_action),
3808 (egg_toolbar_editor_set_ui_manager), (toolbar_removed_cb),
3809 (egg_toolbar_editor_set_model), (egg_toolbar_editor_set_property),
3810 (egg_toolbar_editor_get_property), (egg_toolbar_editor_class_init),
3811 (egg_toolbar_editor_finalize), (egg_toolbar_editor_new),
3812 (drag_begin_cb), (drag_end_cb), (editor_drag_data_received_cb),
3813 (editor_drag_data_delete_cb), (drag_data_get_cb),
3814 (elide_underscores), (set_drag_cursor), (event_box_realize_cb),
3815 (editor_create_item), (update_editor_sheet), (setup_editor),
3816 (egg_toolbar_editor_init), (egg_toolbar_editor_add_action),
3817 (parse_item_list), (model_has_action), (update_actions_list),
3818 (egg_toolbar_editor_load_actions):
3819 * cut-n-paste/toolbar-editor/egg-toolbar-editor.h:
3820 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
3821 (egg_toolbars_model_get_type), (egg_toolbars_model_to_xml),
3822 (safe_save_xml), (egg_toolbars_model_save), (toolbars_toolbar_new),
3823 (toolbars_item_new), (free_toolbar_node), (free_item_node),
3824 (egg_toolbars_model_get_flags), (egg_toolbars_model_set_flags),
3825 (egg_toolbars_model_add_separator), (impl_add_item),
3826 (parse_item_list), (egg_toolbars_model_add_toolbar),
3827 (parse_toolbars), (egg_toolbars_model_load), (impl_get_item_id),
3828 (impl_get_item_data), (impl_get_item_type),
3829 (_egg_accumulator_STRING), (egg_toolbars_model_class_init),
3830 (egg_toolbars_model_init), (free_toolbar),
3831 (egg_toolbars_model_finalize), (egg_toolbars_model_new),
3832 (egg_toolbars_model_remove_toolbar),
3833 (egg_toolbars_model_remove_item), (egg_toolbars_model_move_item),
3834 (egg_toolbars_model_n_items), (egg_toolbars_model_item_nth),
3835 (egg_toolbars_model_n_toolbars), (egg_toolbars_model_toolbar_nth),
3836 (egg_toolbars_model_add_item), (egg_toolbars_model_get_item_id),
3837 (egg_toolbars_model_get_item_data),
3838 (egg_toolbars_model_get_item_type):
3839 * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
3840 * cut-n-paste/toolbar-editor/eggmarshalers.list:
3842 * data/evince-toolbar.xml:
3843 * data/evince-ui.xml:
3844 * data/hand-open.png:
3846 * shell/Makefile.am:
3847 * shell/ev-window.c: (update_chrome_visibility),
3848 (ev_window_cmd_edit_toolbar_cb), (ev_window_cmd_edit_toolbar),
3849 (ev_window_dispose), (ev_window_init):
3851 Implement epiphany like toolbar editor. Based on patch by
3852 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3854 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
3856 * shell/ev-sidebar-thumbnails.c: (page_changed_cb):
3858 Use set_cursor instead of set_selection, so that
3859 the keyboard focus moves too.
3861 2005-05-09 Aleksey Kliger <akliger@gmail.com>
3863 * dvi/mdvi-lib/tfmfile.c: (lookup_font_metrics):
3865 Fix infinite loop when loading Type1 fonts
3867 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
3869 * data/evince-ui.xml:
3870 * shell/ev-window.c:
3874 2005-05-09 Thomas de Grenier de Latour <degrenier@easyconnect.fr>
3878 Make --disable really disable
3880 2005-05-07 Juerg Billeter <j@bitron.ch>
3882 * backend/ev-page-cache.c: (ev_page_cache_set_page_label):
3884 Compare page labels even without has_labels set, fixes setting page
3887 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
3889 * shell/ev-view.c: (ev_view_create_invisible_cursor),
3890 (ev_view_set_cursor), (ev_view_button_press_event),
3891 (ev_view_motion_notify_event), (ev_view_button_release_event),
3894 Implement middle button scrolling. Based on a patch
3895 by Tommi Komulainen <tommi.komulainen@iki.fi>.
3897 2005-05-08 Marco Pesenti Gritti <mpg@redhat.com>
3899 * shell/ev-document-types.c: (get_slow_mime_type),
3900 (get_document_type_from_mime), (ev_document_type_lookup):
3901 * shell/ev-document-types.h:
3903 Change api to lookup from uri. Do fast lookup first, if the
3904 type is unknown try with data sniffing.
3906 * shell/ev-window.c: (ev_window_open), (ev_window_open_uri_list):
3907 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3911 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
3913 * thumbnailer/Makefile.am:
3917 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
3924 * data/evince-ui.xml:
3926 Hide presentation mode for now
3928 * shell/ev-view.c: (highlight_find_results):
3930 Show current find selection only on current page
3932 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
3934 * shell/ev-view.c: (ev_view_select_all):
3936 Compute size of the actual page, not of
3939 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
3941 * shell/ev-view.c: (clear_selection), (ev_view_finalize),
3942 (view_rect_to_doc_rect), (compute_selections),
3943 (ev_view_bin_expose), (ev_view_select_all), (get_selected_text),
3944 (ev_view_copy), (ev_view_primary_get_cb),
3945 (ev_view_primary_clear_cb), (ev_view_update_primary_selection),
3946 (ev_view_button_press_event), (ev_view_motion_notify_event),
3947 (ev_view_button_release_event), (page_changed_cb):
3951 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
3953 * shell/ev-view.c: (compute_border), (get_page_extents),
3954 (doc_rect_to_view_rect), (highlight_find_results),
3955 (ev_view_bin_expose), (ev_view_select_all),
3956 (ev_view_motion_notify_event), (update_find_status_message),
3957 (jump_to_find_result), (jump_to_find_page):
3959 First go at fixing search, still buggy
3961 2005-05-04 Kristian Høgsberg <krh@redhat.com>
3963 * shell/ev-sidebar.c (ev_sidebar_init): Remove frame around
3964 dropdown box and button at the top of the sidebar.
3966 2005-05-02 James Bowes <bowes@cs.dal.ca>
3968 * configure.ac: Output zoom-control Makefile.
3969 * cut-n-paste/Makefile.am: build zoom-control subdir.
3970 * cut-n-paste/zoom-control/ephy-zoom-action.c:
3971 * cut-n-paste/zoom-control/ephy-zoom-action.h:
3972 * cut-n-paste/zoom-control/ephy-zoom-control.c:
3973 * cut-n-paste/zoom-control/ephy-zoom-control.h:
3974 * cut-n-paste/zoom-control/ephy-zoom.c:
3975 * cut-n-paste/zoom-control/ephy-zoom.h: New files imported
3976 from epiphany, and modified to add a separator into the menu.
3977 * cut-n-paste/zoom-control/Makefile.am: Build zoom-control.
3978 * data/evince-ui.xml: Replace old zoom toolbar actions with new
3979 zoom-control action.
3980 * shell/Makefile.am: Include zoom-control flags.
3981 * shell/ev-view.c: (ev_view_set_zoom), (ev_view_get_zoom),
3982 (ev_view_get_sizing_mode), (ev_view_zoom_in), (ev_view_zoom_out),
3983 (ev_view_zoom_for_size_presentation),
3984 (ev_view_zoom_for_size_continuous_and_dual_page),
3985 (ev_view_zoom_for_size_continuous),
3986 (ev_view_zoom_for_size_dual_page),
3987 (ev_view_zoom_for_size_single_page), (ev_view_zoom_normal):
3988 s/ev_view_zoom/ev_view_set_zoom/ and make public, add
3989 ev_view_get_zoom and ev_view_get_sizing_mode.
3991 * shell/ev-window.c: (update_action_sensitivity),
3992 (update_sizing_buttons), (zoom_control_changed_cb),
3993 (register_custom_actions): Initialize and use the zoom-control
3996 Sun May 1 00:46:47 2005 Jonathan Blandford <jrb@redhat.com>
3998 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init): Change the
3999 preview cache back to 1. Don't know when it got set to 0.
4001 * shell/ev-view.c: (compute_border), (ev_view_realize),
4002 (draw_one_page), (ev_view_set_property), (ev_view_get_property),
4003 (ev_view_class_init), (ev_view_init), (ev_view_set_fullscreen),
4004 (ev_view_get_fullscreen), (ev_view_set_presentation),
4005 (ev_view_get_presentation), (ev_view_set_sizing_mode),
4006 (ev_view_zoom_for_size_presentation), (ev_view_set_zoom_for_size):
4008 * shell/ev-window.c:
4009 (update_chrome_visibility),
4010 (ev_window_cmd_continuous), (ev_window_cmd_dual),
4011 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
4012 (update_document_mode), (ev_window_update_fullscreen_action),
4013 (ev_window_fullscreen), (ev_window_unfullscreen),
4014 (ev_window_cmd_view_fullscreen),
4015 (ev_window_update_presentation_action),
4016 (ev_window_run_presentation), (ev_window_stop_presentation),
4017 (ev_window_cmd_view_presentation), (ev_window_state_event),
4018 (ev_window_focus_in_event), (ev_window_focus_out_event),
4019 (ev_window_cmd_escape), (ev_window_sidebar_visibility_changed_cb):
4020 * data/evince-ui.xml: Initial presentation mode. We should
4021 probably hide this until it's done, as it's quite rough. Also,
4022 change full-screen to fullscreen and add two getters to EvView.
4024 2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
4026 * shell/ev-page-action.c: (update_page_cache),
4027 (ev_page_action_dispose):
4028 * shell/ev-window.c: (destroy_fullscreen_popup),
4029 (ev_window_create_fullscreen_popup):
4031 Use connect_object rather than explicitly
4032 disconnect on dispose.
4034 2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
4036 * shell/ev-page-action.c: (update_page_cache),
4037 (ev_page_action_dispose):
4039 2005-04-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4041 * backend/ev-page-cache.c: (_ev_page_cache_new),
4042 (ev_page_cache_set_page_label),
4043 (ev_page_cache_has_nonnumeric_page_labels):
4044 * backend/ev-page-cache.h:
4045 * shell/ev-page-action.c: (update_pages_label):
4047 If all page labels are numeric, fallback to default
4048 way to display number of pages. See bug 173185.
4050 2005-04-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4052 * shell/ev-page-action.c: (ev_page_action_dispose):
4053 * shell/ev-view.c: (view_update_range_and_current_page):
4054 * shell/ev-window.c: (ev_window_dispose):
4056 Set page on scroll in continuous mode. Fixes bug 301986.
4057 Also cleanup callbacks on destroy of EvWindow and EvPageAction.
4059 2005-04-26 Marco Pesenti Gritti <mpg@redhat.com>
4063 Require poppler 0.3.0
4065 2005-04-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4067 * shell/Makefile.am, configure.ac: Fix build problems
4068 with t1lib. Bug 301996.
4070 2005-04-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4072 * shell/ev-view.c: (ev_view_scroll_event):
4074 Scroll up increase zoom
4076 2005-04-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4078 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_class_init),
4079 (ev_view_set_sizing_mode),
4080 (ev_view_zoom_for_size_continuous_and_dual_page),
4081 (ev_view_zoom_for_size_continuous):
4082 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
4083 (ev_window_cmd_view_page_width), (ev_window_cmd_view_zoom_in),
4084 (ev_window_cmd_view_zoom_out), (ev_window_sizing_mode_changed_cb),
4087 Control + Scroll does zooming, Shift + Scroll scrolls horizontally
4088 Fix for 165473 and 165472.
4090 2005-04-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4093 * thumbnailer/Makefile.am:
4094 * thumbnailer/evince-thumbnailer-djvu.schemas.in:
4095 * thumbnailer/evince-thumbnailer-dvi.schemas.in:
4096 * thumbnailer/evince-thumbnailer.schemas.in:
4098 Make thumbnailer schemas translatable. Fix for bug 301773
4100 * thumbnailer/evince-thumbnailer-djvu.schemas:
4101 * thumbnailer/evince-thumbnailer-dvi.schemas:
4102 * thumbnailer/evince-thumbnailer.schemas:
4106 Sun Apr 24 01:37:39 2005 Jonathan Blandford <jrb@redhat.com>
4108 * shell/ev-view.c (ev_view_init): forgot to set this.
4110 Sun Apr 24 01:07:27 2005 Jonathan Blandford <jrb@redhat.com>
4112 * shell/ev-view.c: (find_page_at_location),
4113 (get_link_at_location),
4114 (ev_view_set_show_border), (ev_view_set_spacing),
4115 (ev_view_zoom_for_size_continuous_and_dual_page),
4116 (ev_view_zoom_for_size_continuous): Fix links for dual/continuous.
4117 Also, add a quick fix measuring of widths. Also, removed
4118 ev_view_set_spacing and ev_view_set_show_border.
4120 * shell/ev-window.c: (ev_window_unfullscreen),
4121 (ev_window_cmd_view_fullscreen): Don't adjust the border/spacing.
4123 2005-04-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4125 * shell/ev-view.c: (view_update_range_and_current_page),
4128 Fix crash on exit and scrolling to page in continuous view.
4130 Sat Apr 23 13:13:04 2005 Jonathan Blandford <jrb@redhat.com>
4133 * backend/ev-page-cache.c: (_ev_page_cache_new),
4134 (ev_page_cache_get_max_width_size),
4135 (ev_page_cache_get_max_height_size):
4136 * backend/ev-page-cache.h:
4137 * data/evince-ui.xml:
4138 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init):
4139 * shell/ev-view.c: (view_update_adjustments),
4140 (view_update_range_and_current_page), (get_bounding_box_size),
4141 (ev_view_size_request_continuous_and_dual_page),
4142 (ev_view_size_request_continuous),
4143 (ev_view_size_request_dual_page),
4144 (ev_view_size_request_single_page), (ev_view_size_request),
4145 (ev_view_size_allocate), (get_page_extents), (draw_one_page),
4146 (ev_view_bin_expose), (ev_view_expose_event),
4147 (ev_view_set_property), (ev_view_get_property),
4148 (ev_view_class_init), (ev_view_init), (ev_view_new),
4149 (page_changed_cb), (ev_view_zoom), (ev_view_set_continuous),
4150 (ev_view_set_dual_page), (ev_view_set_full_screen),
4151 (ev_view_set_presentation), (ev_view_set_sizing_mode),
4152 (ev_view_can_zoom_in), (ev_view_can_zoom_out), (ev_view_zoom_in),
4153 (ev_view_zoom_out), (zoom_for_size_fit_width),
4154 (zoom_for_size_best_fit),
4155 (ev_view_zoom_for_size_continuous_and_dual_page),
4156 (ev_view_zoom_for_size_continuous),
4157 (ev_view_zoom_for_size_dual_page),
4158 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
4159 (ev_view_show_cursor), (ev_sizing_mode_get_type):
4161 * shell/ev-window.c: (update_action_sensitivity),
4162 (ev_window_cmd_continuous), (ev_window_cmd_dual),
4163 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
4164 (update_sizing_buttons), (ev_window_cmd_view_zoom_in),
4165 (ev_window_cmd_view_zoom_out), (update_view_size),
4166 (ev_window_set_sizing_mode), (ev_window_init):
4168 Add Continuous and Dual page modes.
4170 2005-04-23 James Bowes <bowes@cs.dal.ca>
4172 * dvi/dvi-document.c: (dvi_document_load),
4173 (dvi_document_thumbnails_get_thumbnail),
4174 (dvi_document_init_params): Fix up some mixups between
4175 width and height to correct thumbnail rendering.
4177 2005-04-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4179 * dvi/mdvi-lib/private.h:
4180 * dvi/mdvi-lib/setup.c: (mdvi_init_kpathsea):
4182 Suppess output for kpathsea during font generation. Thanks to
4185 Fri Apr 22 19:57:46 2005 Jonathan Blandford <jrb@redhat.com>
4192 * Makefile.am: fix distcheck.
4194 2005-04-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4196 * shell/ev-sidebar-links.c: (selection_changed_callback),
4197 (update_page_callback), (row_activated_callback),
4198 (job_finished_callback), (ev_sidebar_links_set_document):
4200 Fix for bug #169901. Double click on links expands tree.
4202 2005-03-14 Bryan Clark <clarkbw@cvs.gnome.org>
4204 * shell/ev-window.c (ev_window_init): Removed fullscreen toolbar
4205 hard-coded style. Fix for bug 170111
4207 2005-04-22 Kristian Høgsberg <krh@redhat.com>
4209 * shell/ev-view.c (highlight_find_results): Remove unnecessary
4212 2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
4214 * thumbnailer/evince-thumbnailer.schemas: real fix for bug 172496
4216 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
4218 * pdf/ev-poppler.cc:
4219 * shell/ev-view.c: (highlight_find_results):
4221 Fix find on single page documents
4223 2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
4225 * data/evince.schemas.in: fix for bug 301390
4227 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
4229 * shell/ev-view.c: (ev_view_can_zoom_in), (ev_view_can_zoom_out),
4230 (ev_view_zoom_out), (ev_view_zoom_normal):
4232 * shell/ev-window.c: (update_action_sensitivity),
4233 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
4234 (ev_window_cmd_view_zoom_in), (ev_window_cmd_view_zoom_out),
4235 (ev_window_cmd_view_normal_size):
4237 Fix normal size zoom. Make zoom in/zoom out unsensitive when
4238 they are behyond the limits. Tweak MAX_ZOOM to 6, sucks but
4241 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
4245 Depend on 2.57, 2.59 doesnt seem to be necessary
4247 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
4249 * shell/ev-page-action.c: (update_pages_label), (page_changed_cb),
4252 Put back total number of pages as (1 of 1234)
4254 Thu Apr 21 23:37:52 2005 Jonathan Blandford <jrb@redhat.com>
4256 * shell/ev-pixbuf-cache.c (dispose_cache_job_info): actually
4259 * backend/ev-document.h: Remove EV_DOC_MUTEX in favor of a locking
4260 function. This helps debugging.
4262 2005-04-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4264 * djvu/djvu-document.c: (djvu_document_class_init),
4265 (djvu_document_get_info), (djvu_document_document_iface_init):
4266 * dvi/dvi-document.c: (dvi_document_class_init),
4267 (dvi_document_get_info), (dvi_document_document_iface_init):
4269 Dummy implementation of get_info method for dvi and djvu. Fix
4270 crashes with those backends
4272 2005-04-20 Marco Pesenti Gritti <mpg@redhat.com>
4274 * data/evince.desktop.in:
4276 Add application/x-gzpostscript
4278 2005-04-20 Bryan Clark <clarkbw@cvs.gnome.org>
4280 * data/evince.schemas.in: Added real long descriptions,
4283 * README: Added actual text, closes bug 171869
4285 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
4287 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
4291 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
4293 * backend/ev-document-info.h:
4295 s/GDate */GDate so we can just use g_free
4297 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
4299 * shell/ev-window.c: (update_document_mode),
4300 (ev_window_setup_document):
4302 Show the window in fullscreen when specified by
4305 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
4307 * backend/ev-document.c: (ev_document_class_init),
4308 (ev_document_get_info), (ev_document_render_pixbuf):
4309 * backend/ev-document.h:
4310 * backend/ev-page-cache.c: (_ev_page_cache_new):
4311 * pdf/ev-poppler.cc:
4312 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
4313 (pixbuf_document_get_info), (pixbuf_document_document_iface_init):
4314 * ps/ps-document.c: (ps_document_class_init), (document_load),
4315 (ps_document_get_info), (ps_document_document_iface_init):
4317 Remove get_title from the interface, we can just use document info
4319 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
4321 * backend/Makefile.am:
4322 * backend/ev-document.c: (ev_document_render_get_info):
4323 * backend/ev-document.h:
4324 * pdf/ev-poppler.cc:
4326 Initial support for document info. Based on jrb patch.
4328 2005-04-19 Paolo Borelli <pborelli@katamail.com>
4330 * shell/ev-window.c: (ev_window_state_event),
4331 (ev_window_class_init), (ev_window_init):
4333 Doesn't show resize grip when maximized. See bug #301053
4335 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4339 ev-sidebar-thumbnails now has translatable labels
4341 * shell/Makefile.am:
4342 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document),
4343 (ev_sidebar_links_support_document), (ev_sidebar_links_get_label),
4344 (ev_sidebar_links_page_iface_init):
4345 * shell/ev-sidebar-links.h:
4346 * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
4347 (ev_sidebar_page_support_document), (ev_sidebar_page_set_document),
4348 (ev_sidebar_page_get_label):
4349 * shell/ev-sidebar-page.h:
4350 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_new),
4351 (ev_sidebar_thumbnails_set_document),
4352 (ev_sidebar_thumbnails_support_document),
4353 (ev_sidebar_thumbnails_get_label),
4354 (ev_sidebar_thumbnails_page_iface_init):
4355 * shell/ev-sidebar-thumbnails.h:
4356 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
4357 (ev_sidebar_set_document):
4358 * shell/ev-sidebar.h:
4359 * shell/ev-window.c: (ev_window_setup_document), (ev_window_init):
4361 Small rework of sidebar code. Now sidebar pages should implement
4362 EvSidebarPage interface. That makes page management in EvSidebar
4363 easier. See bug #164811 for details
4365 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4367 * shell/ev-application.c: (ev_application_open):
4368 * shell/ev-document-types.c:
4370 Fix build error and small problem with application exit
4372 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4374 * thumbnailer/Makefile.am:
4375 * thumbnailer/evince-thumbnailer-djvu.schemas:
4376 * thumbnailer/evince-thumbnailer-dvi.schemas:
4378 Conditionally install schemas for djvu/dvi thumbnailer
4380 2005-04-18 David Malcolm <dmalcolm@redhat.com>
4382 * shell/ev-document-types.h:
4383 * shell/ev-document-types.c:
4384 New files, handling the mapping from mimetypes to backends
4386 * shell/ev-window.c:
4387 * thumbnailer/evince-thumbnailer.c:
4388 Use the ev-document-types code
4390 * shell/Makefile.am:
4391 Added new convenience library libevbackendfactory_la, containing
4392 the new mimetype->backend logic; moved the backends into it.
4394 * thumbnailer/Makefile.am:
4395 Make the thumbnailer link with the libevbackend.la convenience
4396 library, rather than having a duplicate of the backend logic here.
4398 2005-04-18 Paolo Borelli <pborelli@katamail.com>
4400 * shell/ev-stock-icons.c: constify some vars.
4401 * shell/ev-window.c: ditto.
4403 2005-04-18 Marco Pesenti Gritti <mpg@redhat.com>
4405 * ps/ps-document.c (get_page_orientation):
4407 Respect document orientation
4409 2005-04-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4413 * shell/Makefile.am:
4415 Move library dependencies to components.
4417 * shell/ev-window.c: (update_window_title),
4418 (start_loading_document):
4420 Fix display of uris with spaces. Bug 168358.
4422 Sat Apr 16 18:53:47 2005 Jonathan Blandford <jrb@redhat.com>
4424 * shell/ev-sidebar-links.c: (selection_changed_cb):
4425 * shell/ev-view.c: (ev_view_finalize), (go_to_link),
4426 (ev_view_button_release_event), (ev_view_set_document):
4428 * shell/ev-window.c: (find_bar_search_changed_cb):
4429 * shell/ev-window.h: Minor cleanups removing some dead code.
4431 2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4433 * backend/ev-page-cache.c: (_ev_page_cache_new):
4435 Set current page to 0 if document has pages.
4437 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
4439 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
4441 Initialize GError to NULL, fix a crash when loading fails.
4443 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
4445 * shell/ev-window.c: (update_view_size):
4447 Calculate shadow size only when there is actually
4450 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
4452 * shell/ev-view.c: (ev_view_set_spacing), (ev_view_init):
4455 Allow setting view spacing, default to 0
4457 * shell/ev-window.c: (ev_window_unfullscreen),
4458 (ev_window_cmd_view_fullscreen), (ev_window_init):
4460 Remove spacing in fullscreen mode
4462 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
4464 * shell/ev-view.c: (compute_border), (compute_zoom_factor),
4465 (ev_view_size_request), (expose_bin_window),
4466 (ev_view_set_show_border), (ev_view_init), (page_changed_cb):
4468 * shell/ev-window.c: (ev_window_unfullscreen),
4469 (ev_window_cmd_view_fullscreen):
4471 Do not draw the border in fulscreen
4473 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
4475 * shell/ev-view.c: (ev_view_get_offsets), (compute_zoom_factor),
4476 (ev_view_size_request), (expose_bin_window), (ev_view_select_all),
4477 (find_page_at_location), (page_changed_cb):
4479 Rework border calculation, so that I can more easily disable it.
4480 Code somewhat cleaner too.
4482 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
4484 * backend/ev-page-cache.c: (ev_page_cache_init),
4485 (_ev_page_cache_new):
4487 Remove some assertions, documents can have 0 pages.
4488 Make initial current page -1.
4490 * shell/ev-page-action.c: (page_changed_cb):
4492 Show "" if current page is -1
4494 * shell/ev-window.c: (update_action_sensitivity),
4495 (ev_window_setup_document):
4497 When document has 0 pages do not set the view
4498 and make nearly everything insensitive.
4500 2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4502 * shell/ev-page-view.c:
4503 * shell/ev-page-view.h:
4505 Remove unused files.
4507 * shell/ev-sidebar-thumbnails.c:
4508 (ev_sidebar_thumbnails_set_document):
4509 * shell/ev-sidebar.c: (ev_sidebar_set_document),
4510 (ev_sidebar_supports_document):
4511 * shell/ev-sidebar.h:
4512 * shell/ev-window.c: (ev_window_setup_document):
4514 Doesn't show thumbnails if document has 1 page. Make
4515 sidebar menu entries sensitive only if if they have
4516 sense. Fix bug 164811.
4518 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
4520 * shell/ev-view.c: (compute_zoom_factor), (ev_view_size_request),
4521 (page_changed_cb), (ev_view_zoom), (ev_view_zoom_in),
4522 (ev_view_zoom_out), (ev_view_set_size):
4524 Rework sizing to deal with documents with not uniform page
4527 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
4529 * backend/ev-page-cache.c: (_ev_page_cache_new):
4531 Fix several page size caching bugs
4533 2005-04-15 Luca Ferretti <elle.uca@libero.it>
4535 * shell/ev-window.c: (set_action_properties):
4537 Make all toolbar items translatable
4539 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
4541 * ps/ps-document.c: (ps_document_init), (ps_document_get_type),
4542 (save_page_list), (ps_document_save),
4543 (ps_document_document_iface_init), (ps_document_ps_export_begin),
4544 (ps_document_ps_export_do_page), (ps_document_ps_export_end),
4545 (ps_document_ps_exporter_iface_init):
4548 Based on a patch by J�rg Billeter <j@bitron.ch>
4550 Implement print and save a copy for the ps backend.
4552 2005-04-14 Marco Pesenti Gritti <mpg@redhat.com>
4554 * backend/ev-document.h:
4555 * djvu/djvu-document.c: (djvu_document_can_get_text),
4556 (djvu_document_document_iface_init):
4557 * dvi/dvi-document.c: (dvi_document_can_get_text),
4558 (dvi_document_document_iface_init):
4559 * pdf/ev-poppler.cc:
4560 * pixbuf/pixbuf-document.c: (pixbuf_document_can_get_text),
4561 (pixbuf_document_document_iface_init):
4562 * ps/ps-document.c: (ps_document_can_get_text),
4563 (ps_document_document_iface_init):
4564 * shell/ev-view.c: (ev_view_copy), (ev_view_primary_get_cb):
4565 * shell/ev-window.c: (update_action_sensitivity):
4567 Fix the crash when trying to copy in backends that doesnt
4568 support it. We can implement a better solution once we
4569 do real text selection.
4571 2005-04-12 Marco Pesenti Gritti <mpg@redhat.com>
4573 * data/evince-ui.xml:
4574 * shell/ev-window.c: (ev_window_cmd_escape):
4576 Work around the Escape conflict (find bar and unfullscreen)
4578 2005-04-12 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
4580 * backend/ev-page-cache.c: (ev_page_cache_next_page):
4582 Fix for #300233. Next page correctly handles document end.
4584 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
4585 (ev_sidebar_thumbnails_class_init),
4586 (ev_sidebar_thumbnails_set_document),
4587 (ev_sidebar_thumbnails_clear_job),
4588 (ev_sidebar_thumbnails_clear_model):
4590 Cleanup thumbnail jobs on document changes.
4592 * shell/ev-view.c: (add_scroll_binding_keypad),
4593 (add_scroll_binding_shifted), (ev_view_class_init):
4595 Shift + Space scrolls up. Fix for #173184
4597 * shell/ev-window.c: (ev_window_open_page),
4598 (ev_window_cmd_view_reload):
4600 Fix reload (Bug #300094)
4602 2005-04-09 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4605 * dvi/mdvi-lib/assoc.c:
4606 * dvi/mdvi-lib/assoc.h: Removed garbage files
4608 * dvi/mdvi-lib/bitmap.c:
4609 * dvi/mdvi-lib/color.c: (mdvi_set_color), (mdvi_push_color),
4610 (mdvi_pop_color), (mdvi_reset_color), (get_color_table):
4611 * dvi/mdvi-lib/color.h: Antialias of rules
4613 * dvi/mdvi-lib/common.h:
4614 * dvi/mdvi-lib/dviread.c: (mdvi_configure), (mdvi_init_context),
4615 (mdvi_destroy_context), (draw_shrink_rule), (draw_box), (set_rule):
4616 * dvi/mdvi-lib/files.c:
4617 * dvi/mdvi-lib/fontmap.c: (ps_init_default_paths):
4618 * dvi/mdvi-lib/mdvi.h:
4619 * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
4620 * dvi/mdvi-lib/tfmfile.c: (ofm_load_file):
4621 * dvi/mdvi-lib/util.c: Fix compile warnings
4623 * dvi/dvi-document.c:
4624 (dvi_document_load), (dvi_document_thumbnails_get_dimensions),
4625 (dvi_document_thumbnails_get_thumbnail),
4626 (dvi_document_document_thumbnails_iface_init):
4627 * dvi/mdvi-lib/Makefile.am:
4628 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
4629 (dvi_pixbuf_set_color), (mdvi_pixbuf_device_render):
4631 Dvi backend now renders thumbnails
4633 2005-04-09 Christian Persch <chpe@cvs.gnome.org>
4635 * shell/main.c: (main):
4637 Save accelerators on exit. Fixes bug #172095.
4639 Sat Apr 9 01:05:09 2005 Jonathan Blandford <jrb@redhat.com>
4641 * shell/ev-pixbuf-cache.c (move_one_job): Actually fix the "FIXME:
4642 update priority" comment.
4644 * backend/ev-job-queue.c: Give a way to change priority.
4646 Sat Apr 9 00:05:36 2005 Jonathan Blandford <jrb@redhat.com>
4648 * shell/ev-page-action.c: Fix logic.
4650 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
4652 * shell/ev-view.c: (ev_view_can_find_next):
4653 * shell/ev-window.c: (ev_window_setup_document):
4655 Check that the document supports find
4657 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
4659 * data/evince-ui.xml:
4660 * shell/ev-view.c: (ev_view_can_find_next):
4662 * shell/ev-window.c: (update_action_sensitivity),
4663 (find_changed_cb), (ev_window_setup_document),
4664 (ev_window_cmd_edit_find_next):
4668 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
4670 * pdf/ev-poppler.cc:
4671 * shell/ev-print-job.c: (idle_print_handler):
4673 Make printing work again
4675 Fri Apr 8 01:12:24 2005 Jonathan Blandford <jrb@redhat.com>
4677 * shell/ev-page-action.h:
4678 * shell/ev-page-action.c: (ev_page_action_widget_init),
4679 (ev_page_action_widget_class_init), (page_changed_cb),
4680 (create_tool_item), (update_page_cache), (build_new_tree_cb),
4681 (get_filter_model_from_model), (match_selected_cb),
4682 (display_completion_text), (match_completion), (update_model),
4683 (connect_proxy), (ev_page_action_set_property),
4684 (ev_page_action_get_property), (ev_page_action_set_document),
4685 (ev_page_action_set_model), (ev_page_action_class_init): Big
4686 reworking to make completions work iff we have >= GTK-2.7.0
4688 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_property),
4689 (ev_sidebar_links_get_property), (ev_sidebar_links_class_init),
4690 (job_finished_cb): We now have a 'model' property that is set when
4691 the links are loaded. This can be caught with "notify::model"
4693 * shell/ev-window.c: (sidebar_widget_model_set), (ev_window_init):
4694 listen for the model to be set, and propagate it to the action.
4696 2005-04-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4698 * cut-n-paste/recent-files/egg-recent-item.c:
4699 (egg_recent_item_set_uri), (make_valid_utf8),
4700 (egg_recent_item_set_mime_type), (egg_recent_item_get_mime_type):
4701 * cut-n-paste/recent-files/egg-recent-item.h:
4703 Update egg-recent from libegg. This should fix long
4704 startup problem. For details see
4705 http://bugzilla.gnome.org/show_bug.cgi?id=160531
4707 2005-04-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4709 * cut-n-paste/recent-files/Makefile.am:
4710 * data/evince-ui.xml, shell/Makefile.am:
4711 * shell/ev-application.c, shell/ev-application.h:
4712 * shell/ev-window.c: Recent files support.
4714 * configure.ac: Added "ru" to ALL_LINGUAS.
4716 * dvju: new backend to support DJVU files.
4717 * dvi: new backend to support DVI.
4719 * configure.ac, Makefile.am, shell/Makefile.am, ev-window.c:
4720 * ev-application.c: Support for new backends.
4722 * help, ev-window.c, main.c shell/Makefile.am:
4723 Evince user documentation.
4725 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
4728 * shell/ev-window.c:
4729 * thumbnailer/evince-thumbnailer.c:
4731 s/pdf-document/ev-poppler
4733 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
4740 * ps/ps-document.c: (setup_pixmap):
4744 2005-04-05 Kristian Høgsberg <krh@redhat.com>
4746 * backend/ev-page-cache.c (ev_page_cache_next_page):
4747 * shell/ev-window.c (ev_window_cmd_go_next_page)
4748 (ev_window_cmd_go_first_page): Fix of by one errors.
4750 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
4752 * ps/ps-document.c: (get_page_box):
4754 Fix page size calculation
4756 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
4758 * ps/ps-document.c: (ps_document_init), (push_pixbuf),
4759 (ps_document_cleanup), (setup_pixmap), (get_page_box),
4760 (get_page_orientation), (setup_page), (document_load),
4761 (ps_document_get_page_size), (render_pixbuf_idle):
4764 More refactoring to adapt to EvDocument changes
4766 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
4768 * ps/ps-document.c: (start_interpreter):
4770 Actually add alpha args
4772 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
4774 * pdf/ev-poppler.cc:
4776 Make clipboard work again
4778 2005-04-04 Kristian Høgsberg <krh@redhat.com>
4780 Make searching work again.
4782 * backend/ev-document.c:
4783 * backend/ev-document.h:
4784 * backend/ev-document-find.c:
4785 * backend/ev-document-find.h: Change EvDocumentIface so we no
4786 longer store the current page or zoom level in the document. The
4787 consequence is that all calls that operate on the current page now
4788 instead take the page number as an extra argument, and all
4789 coordinates are now doubles in document coordinate system.
4791 * pdf/ev-poppler.cc:
4792 * pixbuf/pixbuf-document.c:
4793 * ps/ps-document.c: Update backends accordingly.
4795 2005-04-04 Marco Pesenti Gritti <marco@gnome.org>
4799 Add required gettext version
4801 Sat Apr 2 18:57:00 2005 Jonathan Blandford <jrb@redhat.com>
4803 * shell/evwindow.c: Patch from Alberto Mesas <amesas@gmail.com> to
4804 make F1 bring up non-existent help.
4806 * shell/eggfindbar.c: Patch from Christian Persch to sync to
4807 epiphany's find bar, #167477
4809 * shell/ev-view.c (ev_view_jump): Patch from Emil Soleyman-Zomalan
4810 <emil@nishra.com> to add space-bar scrolling,
4812 * shell/ev-window.c (static GtkActionEntry entries): add default
4813 keybinding for Help (F1)
4816 * shell/ev-view.c (ev_view_show_cursor): Fix from Yuval Tanny
4817 changing EV_VIEW_CURSOR_LINK to EV_VIEW_CURSOR_NORMAL resolves bug
4820 2005-04-01 David Malcolm <dmalcolm@redhat.com>
4823 * pixbuf/pixbuf-document.c:
4825 Got pixbuf backend working again
4827 2005-04-01 Steve Murphy <murf@e-tools.com>
4829 * configure.in: Added "rw" to ALL_LINGUAS.
4831 Fri Apr 1 02:33:41 2005 Jonathan Blandford <jrb@redhat.com>
4833 * shell/ev-sidebar-links.c (create_loading_model): Fix mismatch in
4834 model types, noticed by Martin Kretzschmar.
4836 2005-04-01 Kristian Høgsberg <krh@redhat.com>
4838 * pdf/ev-poppler.cc: Implement search based on
4839 poppler_page_find_text(). Currently a bit crude since we remember
4840 all matches from all pages. Also, we grab the big document lock
4841 when we search since searching changes the underlying stream and
4842 thus conflicts with the rendering thread.
4844 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
4845 (jump_to_find_page), (ev_view_set_document), (ev_view_find_next),
4846 (ev_view_find_previous): Fix some page indexes to be 0 based,
4847 offset rubber band by view offset,
4849 Fri Apr 01 09:21:12 2005 Pablo Saratxaga <pablo@mandrakesoft.com>
4851 * configure.ac: Added Walloon (wa) to ALL_LINGUAS.
4853 Fri Apr 1 01:59:39 2005 Jonathan Blandford <jrb@redhat.com>
4855 * shell/ev-page-action.c: Changed to use page labels now. Rewrote
4856 completely because I didn't understand GtkActions. I should
4857 read Marco's code more carefully in the future.
4859 * backend/ev-page-cache.h (ev_page_cache_set_page_label): New
4862 2005-03-31 Kristian Høgsberg <krh@redhat.com>
4864 * pdf/ev-poppler.cc (pdf_document_get_links): Update to work with
4865 PopplerRectangle change from poppler CVS.
4867 Thu Mar 31 13:27:50 2005 Jonathan Blandford <jrb@redhat.com>
4869 * backend/ev-document.c: (ev_document_get_page_label):
4870 * backend/ev-document.h:
4871 * backend/ev-page-cache.c: (_ev_page_cache_new),
4872 (ev_page_cache_get_page_label):
4873 * backend/ev-page-cache.h:
4874 * pdf/ev-poppler.cc:
4875 * shell/ev-sidebar-links.c: (ev_sidebar_links_construct),
4876 (links_page_num_func):
4877 * shell/ev-sidebar-thumbnails.c:
4878 (ev_sidebar_thumbnails_set_document):
4879 * shell/ev-view.c: (status_message_from_link),
4880 (ev_view_motion_notify_event):
4881 * shell/ev-window.c: (document_supports_sidebar): Add in page
4882 label support. It's not perfect yet, but it's the first 'feature'
4884 Also, fix a bogus comment noticed by crispin.
4886 Thu Mar 31 01:21:58 2005 Jonathan Blandford <jrb@redhat.com>
4888 * Makefile.am: Remove pixbuf backend for now
4890 * configure.ac: Require poppler-glib instead of just poppler.
4892 * backend/ev-document-thumbnails.h: Add a comment
4894 * backend/ev-document.h:
4895 * backend/ev-document.c: (ev_document_class_init),
4896 (ev_document_load), (ev_document_get_link),
4897 (ev_document_get_links): Remove 3 methods and add get_links.
4900 * backend/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
4901 * backend/ev-jobs.h: now EvJobRender can grab the links for a document.
4903 * backend/ev-link.c: (ev_link_set_title),
4904 (ev_link_mapping_free_foreach), (ev_link_mapping_free),
4905 (ev_link_mapping_find):
4906 * backend/ev-link.h: Allow NULL titles. Also, introduce a mapping link.
4908 * backend/ev-page-cache.c: (ev_page_cache_init),
4909 (_ev_page_cache_new), (ev_page_cache_set_current_page),
4910 (ev_page_cache_get_size), (ev_page_cache_next_page),
4911 (ev_page_cache_prev_page): Fix to be 0 based.
4915 * pdf/ev-poppler.cc: New backend.
4917 * ps/ps-document.c: (ps_document_init), (ps_document_set_page),
4918 (ps_document_get_page), (ps_document_document_iface_init):
4920 * shell/ev-pixbuf-cache.h:
4921 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
4922 (dispose_cache_job_info), (job_finished_cb), (move_one_job),
4923 (ev_pixbuf_cache_update_range), (copy_job_to_job_info),
4924 (add_job_if_needed), (ev_pixbuf_cache_set_page_range),
4925 (ev_pixbuf_cache_get_pixbuf), (ev_pixbuf_cache_get_link_mapping):
4926 Fix up code to grab a page cache per each doc. Also, fix to be 0
4929 * shell/ev-sidebar-thumbnails.c:
4930 (ev_sidebar_tree_selection_changed), (page_changed_cb),
4931 (ev_sidebar_thumbnails_set_document): Fix to be 0 based.
4933 * shell/ev-view.c: (status_message_from_link),
4934 (find_page_at_location), (get_link_at_location),
4935 (ev_view_motion_notify_event), (ev_view_button_release_event),
4936 (ev_view_init): Use the new link code. Fix to be 0 based.
4938 * shell/ev-window.c: (update_action_sensitivity),
4939 (document_supports_sidebar): 0 based.
4941 Fri Mar 25 16:55:58 2005 Jonathan Blandford <jrb@redhat.com>
4943 * pdf/pdf-document.cc: Patch from Fernando Herrera
4944 <fherrera@onirica.com> to fix my quick fix to get_thumbnail.
4947 Wed Mar 23 23:49:41 2005 Jonathan Blandford <jrb@redhat.com>
4949 * pdf/pdf-document.cc (pdf_document_thumbnails_get_thumbnail): add
4950 1 to the page, as this seems to be 1 based. I thought we has this
4953 2005-03-23 Marco Pesenti Gritti <marco@gnome.org>
4956 * backend/Makefile.am:
4957 * backend/ev-document-links.c:
4958 (ev_document_links_has_document_links),
4959 (ev_document_links_get_links_model):
4960 * backend/ev-document-links.h:
4961 * backend/ev-document.c: (ev_document_get_page_cache),
4962 (ev_document_get_doc_mutex), (ev_document_load),
4963 (ev_document_save), (ev_document_get_title),
4964 (ev_document_get_n_pages), (ev_document_set_page),
4965 (ev_document_get_page), (ev_document_set_target),
4966 (ev_document_set_scale), (ev_document_set_page_offset),
4967 (ev_document_get_page_size), (ev_document_get_text),
4968 (ev_document_get_link), (ev_document_render),
4969 (ev_document_render_pixbuf), (ev_document_scale_changed):
4970 * backend/ev-document.h:
4971 * backend/ev-job-queue.c: (remove_object_from_queue),
4972 (notify_finished), (handle_job), (search_for_jobs_unlocked),
4973 (no_jobs_available_unlocked), (ev_render_thread),
4974 (ev_job_queue_init), (find_queue), (ev_job_queue_add_job),
4975 (ev_job_queue_remove_job):
4976 * backend/ev-job-queue.h:
4977 * backend/ev-jobs.c: (ev_job_init), (ev_job_dispose),
4978 (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
4979 (ev_job_links_class_init), (ev_job_render_init),
4980 (ev_job_render_dispose), (ev_job_render_class_init),
4981 (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
4982 (ev_job_thumbnail_class_init), (ev_job_finished),
4983 (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
4984 (ev_job_render_run), (ev_job_thumbnail_new),
4985 (ev_job_thumbnail_run):
4986 * backend/ev-jobs.h:
4987 * backend/ev-link.c:
4988 * backend/ev-link.h:
4989 * backend/ev-page-cache.c: (ev_page_cache_init),
4990 (ev_page_cache_class_init), (ev_page_cache_finalize),
4991 (_ev_page_cache_new), (ev_page_cache_get_n_pages),
4992 (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
4993 (ev_page_cache_set_link), (ev_page_cache_get_title),
4994 (ev_page_cache_get_size), (ev_page_cache_next_page),
4995 (ev_page_cache_prev_page):
4996 * backend/ev-page-cache.h:
4997 * pdf/pdf-document.cc:
5000 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
5001 (push_pixbuf), (interpreter_failed), (ps_document_cleanup),
5002 (ps_document_widget_event), (ps_document_finalize), (get_xdpi),
5003 (get_ydpi), (setup_pixmap), (setup_page), (close_pipe),
5004 (is_interpreter_ready), (output), (catchPipe), (input),
5005 (start_interpreter), (check_filecompressed), (compute_dimensions),
5006 (ps_document_enable_interpreter), (document_load),
5007 (ps_document_next_page), (render_page), (ps_document_set_page),
5008 (ps_document_set_scale), (render_pixbuf_idle),
5009 (ps_document_render_pixbuf), (ps_document_document_iface_init):
5011 * shell/Makefile.am:
5012 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
5013 (ev_pixbuf_cache_class_init), (ev_pixbuf_cache_finalize),
5014 (dispose_cache_job_info), (ev_pixbuf_cache_dispose),
5015 (ev_pixbuf_cache_new), (job_finished_cb),
5016 (check_job_size_and_unref), (move_one_job),
5017 (ev_pixbuf_cache_update_range), (find_job_cache),
5018 (ev_pixbuf_cache_clear_job_sizes), (add_job_if_needed),
5019 (ev_pixbuf_cache_add_jobs_if_needed),
5020 (ev_pixbuf_cache_set_page_range), (ev_pixbuf_cache_get_pixbuf):
5021 * shell/ev-pixbuf-cache.h:
5022 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
5023 (idle_print_handler):
5024 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
5025 (selection_changed_cb), (create_loading_model),
5026 (ev_sidebar_links_construct), (links_page_num_func),
5027 (ev_sidebar_links_clear_document), (update_page_callback_foreach),
5028 (update_page_callback), (job_finished_cb),
5029 (ev_sidebar_links_set_document):
5030 * shell/ev-sidebar-thumbnails.c:
5031 (ev_sidebar_thumbnails_class_init), (adjustment_changed_cb),
5032 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init),
5033 (page_changed_cb), (thumbnail_job_completed_callback),
5034 (ev_sidebar_thumbnails_set_document):
5035 * shell/ev-sidebar-thumbnails.h:
5036 * shell/ev-sidebar.c: (ev_sidebar_set_document):
5037 * shell/ev-view.c: (ev_view_finalize), (ev_view_destroy),
5038 (ev_view_get_offsets), (ev_view_size_request), (ev_view_realize),
5039 (ev_view_unrealize), (highlight_find_results), (expose_bin_window),
5040 (ev_view_select_all), (ev_view_copy), (ev_view_primary_get_cb),
5041 (ev_view_create_invisible_cursor), (ev_view_motion_notify_event),
5042 (ev_view_button_release_event), (ev_view_scroll_view),
5043 (ev_view_class_init), (ev_view_init), (update_find_status_message),
5044 (jump_to_find_result), (jump_to_find_page), (find_changed_cb),
5045 (ev_view_new), (job_finished_cb), (page_changed_cb),
5046 (ev_view_set_document), (go_to_link), (ev_view_zoom),
5047 (size_to_zoom_factor), (ev_view_set_size), (ev_view_find_next),
5048 (ev_view_find_previous):
5050 * shell/ev-window.c: (update_action_sensitivity),
5051 (ev_window_open_page), (update_window_title), (update_total_pages),
5052 (page_changed_cb), (ev_window_setup_document),
5053 (password_dialog_response), (ev_window_cmd_save_as),
5054 (ev_window_print), (ev_window_cmd_go_previous_page),
5055 (ev_window_cmd_go_next_page), (ev_window_cmd_go_first_page),
5056 (ev_window_cmd_go_last_page), (ev_window_cmd_view_reload),
5057 (find_bar_search_changed_cb), (goto_page_cb), (ev_window_init):
5058 * shell/main.c: (main):
5060 Merge evince-threads branch
5062 2005-03-16 Žygimantas Beručka <uid0@akl.lt>
5064 * configure.ac: Added "lt" to ALL_LINGUAS.
5066 2005-03-14 Marco Pesenti Gritti <marco@gnome.org>
5073 2005-03-13 Fernando Herrera <fherrera@onirica.com>
5075 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
5077 Fix here also the thumbnails 1-basedness :)
5079 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
5086 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
5088 * pdf/pdf-document.cc:
5089 * shell/ev-sidebar-thumbnails.c: (adjustment_changed_cb),
5090 (do_one_iteration), (ev_sidebar_thumbnails_set_document):
5092 Fix the mess we did with thumbnails and 1-basedness
5094 2005-03-12 Changwoo Ryu <cwryu@debian.org>
5096 * configure.ac (ALL_LINGUAS): Added "ko" (Korean).
5098 2005-03-09 Marco Pesenti Gritti <marco@gnome.org>
5105 2005-03-08 Marco Pesenti Gritti <marco@gnome.org>
5108 * ps/gsdefaults.c: (gtk_gs_defaults_get_interpreter_cmd),
5109 (gtk_gs_defaults_get_alpha_parameters),
5110 (gtk_gs_defaults_get_ungzip_cmd),
5111 (gtk_gs_defaults_get_unbzip2_cmd):
5113 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
5114 (ps_document_get_orientation), (document_load),
5115 (ps_document_goto_page), (ps_document_set_page_size):
5118 Some more sanitization of the ps backend. Remove a lot
5119 of unused code and do not base our defaults on ggv
5122 2005-03-08 Fernando Herrera <fherrera@onirica.com>
5124 * thumbnailer/evince-thumbnailer.schemas:
5125 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
5126 (main): add -s option for thumbnail size.
5128 2005-03-07 Christian Persch <chpe@cvs.gnome.org>
5132 AC_PROG_RANLIB is rendered obsolete by AC_PROG_LIBTOOL;
5135 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
5137 * pdf/pdf-document.cc:
5139 Remove 4 pixels of useless border from the
5142 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
5144 * backend/ev-document-thumbnails.c:
5145 (ev_document_thumbnails_get_thumbnail):
5146 * backend/ev-document-thumbnails.h:
5148 Rework API a bit. Add a border flag and
5149 change sizing logic (now the size we specify
5150 applies to the bigger dimension).
5152 * pdf/pdf-document.cc:
5153 * pixbuf/pixbuf-document.c:
5154 (pixbuf_document_thumbnails_get_thumbnail):
5155 * shell/ev-sidebar-thumbnails.c: (do_one_iteration):
5156 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
5158 Adapt to the new API and do not draw a border for nautilus
5161 2005-03-03 Fernando Herrera <fherrera@onirica.com>
5163 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
5164 take thumbnails from page "0" instead of "1". Added a copyright header.
5166 2005-03-03 Jens Granseuer <jensgr@gmx.net>
5168 * ps/ps-document.c: (set_up_page), (start_interpreter):
5170 Make it C89 compliant
5172 2005-03-03 Marco Pesenti Gritti <marco@gnome.org>
5177 * pdf/pdf-document.cc:
5178 * thumbnailer/Makefile.am:
5179 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
5181 * thumbnailer/evince-thumbnailer.schemas:
5182 * thumbnailer/pdf-icon.png:
5184 Add a nautilus thumbnailer.
5185 Based on patch by Fernando Herrera <fherrera@onirica.com>.
5187 2005-03-02 Marco Pesenti Gritti <marco@gnome.org>
5195 2005-03-01 Kristian Høgsberg <krh@redhat.com>
5197 Use poppler instead of including xpdf source code. Poppler is a
5198 fork of xpdf to build it as a shared library. See
5199 http://freedesktop.org/wiki/Software/poppler.
5201 * pdf/xpdf/*, pdf/goo/*, pdf/splash/*, pdf/fofi/*: Remove included
5204 * pdf/Makefile.am: Build libpdfdocument.a here.
5206 * pdf/GDKSplashOutputDev.cc:
5207 * pdf/GDKSplashOutputDev.h:
5208 * pdf/GnomeVFSStream.cc:
5209 * pdf/GnomeVFSStream.h:
5212 * test-gdk-output-dev.cc
5214 * Thumb.h: Pull these files out of pdf/xpdf and adjust to compile
5217 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
5219 * shell/ev-sidebar-links.c: (ev_sidebar_links_clear_document):
5221 Clear idle stack before unsetting the document
5223 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
5225 * ps/ps-document.c: (ps_document_widget_event),
5226 (ps_document_set_target), (ps_document_finalize),
5227 (ps_document_get_page):
5229 Disconnect the widget event signal on finalize.
5232 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
5234 * ps/ps-document.c: (set_up_page):
5236 If there is no bpixmap create one, even if size
5239 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
5241 * ps/ps-document.c: (ps_document_init), (ps_document_cleanup),
5242 (set_up_page), (document_load), (ps_document_set_zoom):
5244 Default page is 0. Calculate size even when we have no
5247 2005-02-28 Carlos Garcia Campos <carlosgc@gnome.org>
5249 * shell/ev-sidebar.c: expand the selection widget to be always as
5252 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
5254 * shell/ev-sidebar-thumbnails.c:
5255 (ev_sidebar_thumbnails_set_document):
5257 Clear the list store when setting document
5259 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
5261 * shell/ev-page-action.c: (update_entry), (sync_entry),
5262 (activate_cb), (entry_size_request_cb), (create_tool_item),
5265 Use an entry for the page control instead of spinbuttons
5267 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
5269 * data/evince.schemas.in:
5271 Correct confusing string
5273 Sun Feb 27 23:00:31 2005 Jonathan Blandford <jrb@redhat.com>
5275 * shell/ev-sidebar-links.c (do_one_iteration): Handle title links
5276 for real. Gosh, how long has this been broken.
5278 * pdf/xpdf/pdf-document.cc (build_link_from_action): add back the
5279 check for a NULL link. We crash otherwise.
5281 2005-02-27 Marco Pesenti Gritti <marco@gnome.org>
5288 2005-02-25 Sebastien Bacher <seb128@debian.org>
5290 * configure.ac: add the french translation.
5292 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
5294 * shell/ev-window.c:
5296 Remove unused header -> fix distcheck
5298 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
5300 * shell/ev-window.c: (update_window_title),
5301 (ev_window_popup_password_dialog):
5303 Unescape filename for display
5305 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
5307 * pdf/xpdf/pdf-document.cc:
5309 In get_page_size deal with rotation. Also
5310 cleanup the function a bit.
5312 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
5314 * pdf/xpdf/pdf-document.cc:
5316 Fix crash when opening in new window
5318 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
5322 Check ghostscript >= 7
5324 2005-02-25 Pedro Villavicencio <pvillavi@gnome.cl>
5326 * shell/ev-window.c:
5328 Make page width the default sizing mode
5330 2005-02-25 Carlos Garcia Campos <carlosgc@gnome.org>
5331 Marco Pesenti Gritti <marco@gnome.org>
5333 * shell/ev-window.c: Remember the sidebar size
5335 * data/evince.schemas.in: Add a new gconf key to store the size of
5338 2005-02-24 Kai Willadsen <kaiw@itee.uq.edu.au>
5340 * data/evince-ui.xml:
5341 * shell/ev-window.c: (update_action_sensitivity),
5342 (ev_window_cmd_view_reload):
5344 Add a "Reload" action and menu entry
5346 Thu Feb 24 23:07:33 2005 Jonathan Blandford <jrb@redhat.com>
5348 * shell/ev-window.c (hide_sidebar_and_actions): Hide the sidebar
5349 iff the type doesn't support thumbnailing and indexing.
5351 2005-02-24 Martin Kretzschmar <martink@gnome.org>
5353 * configure.ac (ALL_LINGUAS): Added "zh_TW" (Traditional Chinese).
5355 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
5357 * pdf/splash/Splash.cc:
5359 Port fix for a crasher from kde bug
5360 http://bugs.kde.org/show_bug.cgi?id=97131
5362 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
5364 * pdf/xpdf/pdf-document.cc:
5366 Return a link even if it's of an unrecognized
5367 type. Otherwise we go in an infinte cycle.
5369 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
5371 * shell/ev-window.c: (update_sizing_buttons), (update_view_size),
5372 (size_allocate_cb), (ev_window_set_sizing_mode):
5374 Update size when switching mode
5376 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
5378 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
5379 (ev_window_cmd_view_page_width), (update_sizing_buttons),
5380 (ev_window_cmd_view_normal_size):
5382 Fix size toggle buttons behavior
5384 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
5386 * shell/ev-view.c: (ev_view_get_offsets), (view_rect_to_doc_rect),
5387 (doc_rect_to_view_rect), (ev_view_size_allocate),
5388 (expose_bin_window), (ev_view_select_all), (page_changed_callback),
5389 (scale_changed_callback):
5391 Do not cache offsets in size_allocate.
5393 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
5395 * shell/ev-view.c: (ev_view_size_allocate):
5397 Calculate offsets before calling the parent
5398 class (which does a redraw)
5400 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
5402 * pdf/xpdf/pdf-document.cc:
5404 Fix a crasher on exit. Unused code, put a TODO
5406 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
5408 * backend/ev-document.c: (ev_document_class_init),
5409 (ev_document_page_changed), (ev_document_scale_changed):
5410 * backend/ev-document.h:
5412 Separate page/scale notifications
5414 * pdf/xpdf/pdf-document.cc:
5416 Emit the new signals.
5417 Do not display the pdf page in _render, do it
5418 when scale/page are requested.
5420 * ps/ps-document.c: (ps_document_set_zoom),
5421 (ps_document_widget_event):
5424 Emit the new signals.
5426 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
5427 (ev_view_init), (page_changed_callback), (scale_changed_callback),
5428 (ev_view_set_document), (ev_view_zoom), (ev_view_zoom_in),
5429 (ev_view_zoom_out), (size_to_zoom_factor), (ev_view_set_size):
5431 * shell/ev-window.c: (ev_window_cmd_view_normal_size),
5432 (ev_window_cmd_view_page_width), (size_allocate_cb),
5433 (ev_window_set_sizing_mode):
5435 Rework sizing to be pixel based.
5436 There are bugs but should be already way better.
5438 2005-02-23 Marco Pesenti Gritti <marco@gnome.org>
5440 * shell/ev-window.c: (ev_window_init):
5442 Do not allow to shrink sidebar smaller then
5445 2005-02-23 Carlos Garcia Campos <carlosgc@gnome.org>
5447 * shell/ev-sidebar.[ch]
5448 * shell/ev-window.c:
5450 Improved sidebar widget. Fixes #166683
5452 2005-02-23 Tommi Vainikainen <thv@iki.fi>
5454 * shell/ev-view.c (update_find_status_message): Give translators
5455 more flexibility with ngettext plural handling.
5457 Mon Feb 21 17:52:08 2005 Jonathan Blandford <jrb@redhat.com>
5459 * pdf/xpdf/pdf-document.cc (pdf_document_get_page_size): Patch
5460 from Crispin Flowerday <gnome@flowerday.cx> to avoid rendering the
5461 page when we get the page size.
5463 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
5465 * ps/ps-document.c: (ps_document_set_page), (ps_document_get_page):
5467 ps pages are 0 based, convert
5469 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
5471 * ps/ps-document.c: (ps_document_class_init), (ps_document_load):
5473 Initialize correct parent class. Set GError on document load
5475 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
5477 * pdf/xpdf/pdf-document.cc:
5479 Fixup selection offset calculation
5481 * shell/ev-view.c: (view_rect_to_doc_rect),
5482 (doc_rect_to_view_rect), (ev_view_size_allocate),
5483 (expose_bin_window), (ev_view_select_all), (ev_view_copy),
5484 (ev_view_primary_get_cb), (ev_view_motion_notify_event):
5486 Store selection as document relative, so that zooming
5487 and offset changing doesnt break it.
5489 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
5491 * shell/ev-view.c: (ev_view_best_fit):
5493 Do not try to best fit if the view is not realized
5495 2005-02-20 Kostas Papadimas <pkst@gnome.org>
5497 * configure.ac (ALL_LINGUAS): Added "el" (Greek).
5499 Fri Feb 18 16:06:39 2005 Jonathan Blandford <jrb@redhat.com>
5501 * shell/ev-window.c (ev_window_focus_in_event): missed a case.
5503 Fri Feb 18 15:32:57 2005 Jonathan Blandford <jrb@redhat.com>
5505 * shell/ev-window.c: Change the fullscreen toolbar to always be in
5506 the popup window. That prevents it resizing when in full screen
5509 * shell/ev-view.c: Change Zoom epsilon as a bad hack to avoid
5510 multiple rerenders. This pretty much sucks.
5512 * data/evince-ui.xml: Change the fullscreen toolbar to include the
5513 rest of the toolbar.
5515 2005-02-18 Tommi Vainikainen <thv@iki.fi>
5517 * configure.ac (ALL_LINGUAS): Added "fi" (Finnish).
5519 2005-02-17 Alexander Shopov <ash@contact.bg>
5521 * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
5523 2005-02-16 Bryan Clark <clarkbw@cvs.gnome.org>
5525 * shell/ev-window.c: added ellipsis to Print item. Fixes bug 166915
5527 2005-02-16 Marco Pesenti Gritti <marco@gnome.org>
5529 * shell/ev-view.c: (ev_view_realize), (highlight_find_results),
5530 (ev_view_create_invisible_cursor), (ev_view_set_cursor),
5531 (set_document_page), (document_changed_callback),
5532 (ev_view_set_document), (ev_view_find_previous),
5533 (ev_view_hide_cursor), (ev_view_show_cursor):
5535 * shell/ev-window.c: (update_chrome_visibility),
5536 (fullscreen_timeout_cb), (fullscreen_set_timeout),
5537 (fullscreen_clear_timeout), (fullscreen_motion_notify_cb),
5538 (fullscreen_leave_notify_cb), (ev_window_fullscreen),
5539 (ev_window_unfullscreen):
5540 * shell/main.c: (main):
5542 Automatically hide the fullscreen button.
5543 Patch by Kristian Høgsberg <krh@redhat.com>
5545 2005-02-16 Vincent Noel <vnoel@cox.net>
5547 * shell/main.c (main): Specify an icon for the window. Patch by
5548 Jaap A. Haitsma. Fixes #166177.
5550 Wed Feb 16 06:30:13 2005 Jonathan Blandford <jrb@redhat.com>
5552 * shell/ev-view.c (ev_view_realize): get rid of the black flash.
5554 Tue Feb 15 22:27:13 2005 Jonathan Blandford <jrb@redhat.com>
5556 * backend/ev-document-misc.h:
5557 * backend/ev-document-misc.c:
5558 (ev_document_misc_get_page_border_size),
5559 (ev_document_misc_paint_one_page): New function to canonicalize
5560 sizing/painting a border.
5562 * shell/Makefile.am: Remove ev-page-view.c entirely as it's not
5565 * pdf/xpdf/pdf-document.cc: use new function
5567 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
5568 (ev_view_init), (ev_view_set_mode), (ev_view_zoom),
5569 (ev_view_best_fit), (ev_view_fit_width): * shell/ev-view.h: *
5570 shell/ev-window.c: (update_sizing_buttons),
5571 (ev_window_setup_document), (ev_window_cmd_view_zoom_in),
5572 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_best_fit),
5573 (ev_window_cmd_view_page_width), (size_allocate_cb),
5574 (ev_window_set_sizing_mode), (ev_window_init): make the "best fit"
5575 and "fit width" values act as toggle buttons so they stay
5576 toggled. It's not 100% perfect, and it's a little slow, but it's
5577 good enough to commit I think.
5579 2005-02-15 David Lodge <dave@cirt.net>
5581 * configure.ac (ALL_LINGUAS): Added "en_GB" (English (British)).
5583 2005-02-15 Martin Kretzschmar <martink@gnome.org>
5585 * shell/ev-window.c (update_window_title): replace newlines in
5586 the title by spaces. Bug #166107.
5588 2005-02-14 Martin Kretzschmar <martink@gnome.org>
5590 * shell/ev-view.c (ev_view_best_fit, ev_view_fit_width): add
5591 parameters providing allocation width and height without
5592 scrollbars and width of a possible vertical scrollbar. With this
5593 additional information the functions can work as
5594 intended. Unfortunately they're not idempotent. We should
5595 transform these commands to toggles. Fixes Bug #164976
5596 Initial patch by Stephane Loeuillet, then heavily modified.
5598 * shell/ev-view.h: update prototypes.
5600 * shell/ev-window.c (ev_window_cmd_view_best_fit)
5601 (ev_window_cmd_view_page_width): provide EvView fit functions with
5602 all the information they need. Formulas to calculate this
5603 information taken from GtkScrolledWindow.
5605 2005-02-14 Crispin Flowerday <gnome@flowerday.cx>
5607 * shell/ev-sidebar-thumbnails.c: Ensure that after we have
5608 created a thumbnail, the list store is updated to know
5609 that the thumbnail is set. Fixes bug #166792
5611 2005-02-11 Bryan Clark <clarkbw@cvs.gnome.org>
5613 * shell/ev-window.c: fixed typo, closes bug 166897
5615 * TODO: updated TODO with bug numbers that are relevant
5617 2005-02-09 Carlos Garcia Campos <carlosgc@gnome.org>
5619 * shell/ev-window.c: Support for DnD of files. Fixes #164813
5621 2005-02-09 Vincent Noel <vnoel@cox.net>
5623 * shell/ev-window.c: (set_action_properties): Set the "Previous"
5624 and "Next" toolbar buttons as important to make them stand out.
5626 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
5630 * ps/ps-document.c: (ps_document_finalize), (set_up_page),
5631 (start_interpreter), (stop_interpreter), (document_load),
5632 (ps_document_next_page), (ps_document_goto_page),
5633 (ps_document_set_page_size), (ps_document_widget_event),
5634 (ps_document_render):
5635 * shell/ev-page-view.c: (ev_page_view_dispose):
5636 * shell/ev-view.c: (ev_view_finalize), (expose_bin_window):
5638 Fix compilation on non-gcc platforms
5640 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
5647 * pdf/xpdf/Catalog.cc:
5650 Fix the fix for CAN-2004-0888
5652 2005-02-09 Luca Ferretti <elle.uca@libero.it>
5655 * data/evince-ui.xml:
5656 * shell/ev-stock-icons.c: (ev_stock_icons_init):
5657 * shell/ev-stock-icons.h:
5658 * shell/ev-window.c: (update_action_sensitivity),
5659 (ev_window_cmd_go_previous_page), (ev_window_cmd_go_next_page),
5660 (set_action_properties):
5662 Improve toolbar layout/icons
5664 2005-02-08 Marco Pesenti Gritti <marco@gnome.org>
5666 * pdf/xpdf/pdf-document.cc:
5668 Add warnings about unimplemented/unknown link
5671 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
5673 * ps/ps-document.c: (set_up_page):
5677 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
5679 * ps/ps-document.c: (start_interpreter):
5683 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
5685 * shell/ev-page-view.c: (ev_page_view_dispose):
5686 * shell/ev-view.c: (ev_view_finalize):
5687 * shell/ev-window.c: (ev_window_setup_document),
5688 (ev_window_dispose), (ev_window_init):
5690 Solve more refs issues.
5692 I commented out the page_view initialization for now:
5693 it was never destroyed (because it's never added
5694 to a container). Because of that we was leaking
5695 gs processes. Couldnt think to a clean fix.
5696 We need to figure this out, password view has the
5697 same issue probably.
5699 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
5701 * ps/ps-document.c: (ps_document_finalize),
5702 (ps_document_get_n_pages), (ps_document_get_page):
5704 Some cleanups, stop the interpreter on finalize
5706 * shell/ev-page-view.c: (ev_page_view_dispose),
5707 (ev_page_view_class_init):
5709 Release our reference on the document
5711 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
5715 * doc/debugging.txt:
5718 * lib/ev-debug.c: (log_module), (trap_handler), (ev_debug_init),
5719 (ev_profiler_new), (ev_should_profile), (ev_profiler_dump),
5720 (ev_profiler_free), (ev_profiler_start), (ev_profiler_stop):
5723 Add debugging helpers
5726 * ps/ps-document.c: (set_up_page), (start_interpreter),
5727 (stop_interpreter), (document_load), (ps_document_next_page),
5728 (ps_document_goto_page), (ps_document_set_page_size),
5729 (ps_document_widget_event), (ps_document_render):
5730 * shell/Makefile.am:
5731 * shell/ev-view.c: (expose_bin_window):
5732 * shell/main.c: (main):
5736 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
5738 * ps/ps-document.c: (ps_document_widget_event):
5740 Initialize message_window, this should make ps
5741 rendering really work! (Never noticed because I was
5742 testing with a ps that is causing gs to exit every time!)
5744 2005-02-07 Bryan Clark <clarkbw@cvs.gnome.org>
5746 * data/evince.schemas.in: updated simple error in applyto closing tag
5748 2005-02-07 Christian Persch <chpe@cvs.gnome.org>
5754 * data/evince-ui.xml:
5755 A data/evince.schemas.in:
5757 * shell/ev-stock-icons.c: (ev_stock_icons_init):
5758 * shell/ev-stock-icons.h:
5759 * shell/ev-window.c: (update_chrome_visibility),
5760 (update_chrome_flag), (ev_window_cmd_edit_find),
5761 (ev_window_update_fullscreen_popup), (ev_window_fullscreen),
5762 (ev_window_unfullscreen), (ev_window_focus_in_event),
5763 (ev_window_focus_out_event), (ev_window_cmd_leave_fullscreen),
5764 (ev_window_view_toolbar_cb), (ev_window_view_statusbar_cb),
5765 (ev_window_view_sidebar_cb), (find_bar_close_cb),
5766 (ev_window_dispose), (ev_window_class_init),
5767 (set_action_properties), (set_chrome_actions), (load_chrome),
5770 Implement fullscreen mode changes from bug #164776.
5771 Also implement persistent chrome toggles.
5773 2005-02-07 Jordi Mallach <jordi@sindominio.net>
5775 * configure.ac (ALL_LINGUAS): Added "ca" (Catalan).
5777 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
5783 Add another check for find interface
5787 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
5789 * shell/ev-application.c: (ev_application_open):
5790 * shell/ev-window.c: (ev_window_open):
5792 Open gzipped ps documents
5794 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
5797 * shell/ev-view.c: (set_document_page):
5799 Clamp page number, dont try to move to
5802 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
5804 * backend/ev-document-find.c: (ev_document_find_changed):
5805 * backend/ev-document-find.h:
5806 * pdf/xpdf/pdf-document.cc:
5807 * shell/ev-view.c: (jump_to_find_result), (ev_view_set_document):
5808 * shell/ev-window.c: (find_bar_search_changed_cb):
5810 Fix several bugs with find
5812 2005-02-04 Martin Kretzschmar <martink@gnome.org>
5814 * shell/ev-sidebar-thumbnails.c
5815 (ev_sidebar_thumbnails_select_page): do nothing unless we have a
5816 document. Prevents warning from scroll_to_cell.
5818 2005-02-02 Kjartan Maraas <kmaraas@gnome.org>
5820 * configure.ac: Add «nb» to ALL_LINGUAS too.
5822 Wed Feb 2 21:13:11 2005 Jonathan Blandford <jrb@redhat.com>
5824 * NOTES: New file with some random thoughts.
5828 * backend/ev-document-misc.c:
5829 (ev_document_misc_get_page_border_size): New function to
5830 canonicalize shadow drawing sizes. Possibly goofy.
5832 * shell/ev-view.c: (ev_view_size_request), (set_document_page),
5833 (ev_view_best_fit), (ev_view_fit_width):
5834 * pdf/xpdf/pdf-document.cc:
5835 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
5836 * ps/ps-document.c: (ps_document_get_page_size):
5837 * backend/ev-document-misc.h:
5838 * backend/ev-document.c: (ev_document_get_page_size):
5839 * backend/ev-document.h: get_page_size now takes a page number
5840 parameter. Made all the backends/frontends honor it.
5842 * data/evince-ui.xml: Added a multiple-page mode. Uncomment to
5843 see. Doesn't work yet.
5845 * shell/Makefile.am:
5846 * shell/ev-page-view.[ch]: New multi-page view. Really rough.
5847 Doesn't do anything yet.
5849 * shell/ev-sidebar-thumbnails.c:
5850 (ev_sidebar_thumbnails_set_document): [1..n_pages] instead of
5853 * shell/ev-window.c: (update_action_sensitivity),
5854 (ev_window_setup_document), (ev_window_set_page_mode),
5855 (ev_window_page_mode_cb), (ev_window_init): Clean up the
5856 view-swapping code a bit so we can have multiple views on a
5857 document. Add the multi-page view, though it can't be turned on
5860 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
5862 * shell/ev-application.c: (ev_application_open):
5863 * shell/ev-view.c: (expose_bin_window):
5864 * shell/ev-window.c: (ev_window_open):
5866 Support eps and check document supports find
5867 before drawing highlightings in expose.
5869 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
5871 * pixbuf/pixbuf-document.c:
5872 (pixbuf_document_thumbnails_get_dimensions),
5873 (pixbuf_document_document_thumbnails_iface_init):
5875 implement get_dimensions
5877 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
5884 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
5886 * shell/ev-view.c: (set_document_page):
5888 Scroll at the top of the page when changing page
5890 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
5892 * shell/ev-view.c: (ev_view_motion_notify_event):
5894 Do not redraw unnecessarily
5896 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
5898 * pdf/xpdf/pdf-document.cc:
5899 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
5900 (expose_bin_window), (find_changed_cb):
5902 Yay! find works now... Now to find bugs...
5904 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
5906 * backend/ev-document-find.c: (ev_document_find_base_init),
5907 (ev_document_find_changed):
5908 * backend/ev-document-find.h:
5909 * pdf/xpdf/pdf-document.cc:
5910 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
5911 (expose_bin_window), (ev_view_init), (set_document_page),
5912 (ensure_rectangle_is_visible), (jump_to_find_result),
5913 (jump_to_find_page), (find_changed_cb), (ev_view_set_document),
5914 (ev_view_find_next), (ev_view_find_previous):
5916 * shell/ev-window.c: (find_bar_previous_cb), (find_bar_next_cb):
5918 More work on find implementation, mostly there now
5920 2005-01-29 Marco Pesenti Gritti <marco@gnome.org>
5922 * backend/ev-backend-marshalers.list:
5923 * backend/ev-document-find.c: (ev_document_find_base_init),
5924 (ev_document_find_cancel), (ev_document_find_page_has_results),
5925 (ev_document_find_get_n_results), (ev_document_find_get_result),
5926 (ev_document_find_get_progress), (ev_document_find_changed):
5927 * backend/ev-document-find.h:
5929 Enanche the find interface to be really able to do
5932 * pdf/xpdf/pdf-document.cc:
5936 * shell/ev-view.c: (ev_view_finalize), (highlight_find_results),
5937 (expose_bin_window), (ev_view_init),
5938 (ev_view_get_find_status_message), (find_changed_cb),
5939 (ev_view_set_document), (set_document_page):
5941 Adapt to the new interface. A few things are regressed sorry,
5942 I will finish it soon.
5944 2005-01-28 Martin Kretzschmar <martink@gnome.org>
5946 * shell/ev-sidebar-thumbnails.c (ev_sidebar_thumbnails_destroy)
5947 (ev_sidebar_thumbnails_class_init): use G_DEFINE_TYPE-supplied
5948 ev_sidebar_thumbnails_parent_class variable, don't define another
5949 parent_class variable.
5951 * shell/ev-page-action.c (connect_proxy, ev_page_action_finalize)
5952 (ev_page_action_class_init): ditto.
5954 * pixbuf/pixbuf-document.c (pixbuf_document_finalize)
5955 (pixbuf_document_class_init): ditto.
5957 * backend/ev-link.c (ev_window_dispose, ev_link_class_init):
5960 * .cvsignore: ignore various valgrind output files.
5962 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
5964 * data/evince-ui.xml:
5965 * shell/Makefile.am:
5966 * shell/ev-history.c:
5967 * shell/ev-history.h:
5968 * shell/ev-navigation-action.c:
5969 * shell/ev-navigation-action.h:
5970 * shell/ev-view.c: (ev_view_finalize), (ev_view_go_to_link),
5971 (ev_view_set_page), (ev_view_fit_width):
5973 * shell/ev-window.c: (update_action_sensitivity),
5974 (ev_window_setup_document), (register_custom_actions):
5976 Kill session history
5978 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
5980 * shell/ev-window.c: (update_action_sensitivity):
5982 Fix inverted up/down buttons
5984 2005-01-27 Martin Kretzschmar <martink@gnome.org>
5986 * shell/ev-sidebar-thumbnails.c
5987 (ev_sidebar_thumbnails_select_page): make sure the selected
5988 thumbnail stays visible.
5990 2005-01-26 Martin Kretzschmar <martink@gnome.org>
5992 * shell/ev-window.c (ev_window_init): add GTK_SHADOW_IN to the
5993 scrolled window for Federico.
5995 2005-01-26 Ole Laursen <olau@hardworking.dk>
5997 * configure.ac: Added "da" (Danish) to ALL_LINGUAS.
5999 2005-01-26 Marco Pesenti Gritti <marco@gnome.org>
6002 * pdf/splash/SplashFTFontEngine.cc:
6004 Fix CID fonts with freetype 2.1.9
6006 2005-01-26 Bryan Clark <clarkbw@cvs.gnome.org>
6008 * TODO: added item for desktop icon thumbnailer
6010 Tue Jan 25 00:59:34 2005 Jonathan Blandford <jrb@redhat.com>
6012 * pdf/xpdf/pdf-document.cc (pdf_document_get_title): guard against
6013 unloaded docs when the title is accessed.
6015 * shell/ev-password-view.[hc]: New widget for displaying password
6018 * shell/ev-window.[ch]: Refactor password handling code to handle
6021 2005-01-24 Marco Pesenti Gritti <marco@gnome.org>
6029 2005-01-23 Stephane LOEUILLET <stephane.loeuillet@tiscali.fr>
6031 * pdf/xpdf/pdf-document.cc (pdf_document_search_page_changed):
6032 ignore page offset here, to make search results independent of it,
6034 * shell/ev-view.c (expose_bin_window): but take offsets into
6035 account here. Bug #164932
6037 * pdf/xpdf/pdf-document.cc (pdf_document_get_link): divide by
6038 scale at the right time. Bug #164996
6040 2005-01-22 Martin Kretzschmar <martink@gnome.org>
6042 * pdf/xpdf/GlobalParams.cc: My 2005-01-05 change didn't actually
6043 fix the problem. Now I just removed the Adobe font names and hope
6044 that the URW fonts are always in outline format. Bug #164934
6046 * shell/ev-window.c (update_window_title): empty titles are
6047 useless, use filename in that case too.
6049 * NEWS: Add some content.
6051 2005-01-21 Bryan Clark <clarkbw@cvs.gnome.org>
6053 * TODO: added one more TODO item and a TODONE section :)
6055 2005-01-21 Martin Kretzschmar <martink@gnome.org>
6057 * ps/ps-document.h: add page_[xy]_offset fields.
6059 * ps/ps-document.c (ps_document_set_page_offset)
6060 (ps_document_render): Keep offset in consideration in a few
6061 places. Bug #164752 "postscript documents are not centered in
6064 * data/evince.desktop.in (X-GNOME-Bugzilla-Product):
6065 s/gpdf/evince/. Spotted by Stephane Loeuillet.
6067 * pixbuf/pixbuf-document.c (pixbuf_document_get_n_pages)
6068 (pixbuf_document_get_text, pixbuf_document_document_iface_init):
6069 stub out missing methods for complete EvDocument implementation.
6070 Fixes segfaults with Save A Copy and Copy actions.
6072 * ps/ps-document.c (ps_document_save, ps_document_get_text)
6073 (ps_document_document_iface_init): ditto.
6075 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
6079 * data/evince.desktop.in:
6083 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
6085 * shell/ev-view.c: (ev_view_button_press_event),
6086 (ev_view_motion_notify_event):
6088 Make selection work in any direction
6090 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
6093 * shell/ev-window.c: (set_short_labels), (ev_window_init):
6095 Use shorter labels for some of the toolbars items
6097 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
6099 * pdf/xpdf/pdf-document.cc:
6101 Check the links info is initialized before
6102 using it. Should fix a crash on startup.
6104 2005-01-21 Martin Kretzschmar <martink@gnome.org>
6106 * pixbuf/pixbuf-document.c
6107 (pixbuf_document_thumbnails_get_dimensions): force floating point
6108 division to calculate page_ratio. Fixes crash with landscape
6111 Thu Jan 20 18:56:35 2005 Jonathan Blandford <jrb@redhat.com>
6113 * shell/ev-view.c (ev_view_realize): make the bg color darker.
6115 2005-01-20 Martin Kretzschmar <martink@gnome.org>
6117 * shell/ev-view.c (set_document_page): unset has_selection when
6119 (set_document_page): handle paper size changes when the page
6120 changes (test with Free Culture, page 2).
6122 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
6124 * shell/ev-view.c: (ev_view_size_request), (ev_view_realize),
6125 (expose_bin_window), (ev_view_class_init), (ev_view_init):
6127 Use normal style color for the widget background and
6128 draw a black box around the page.
6130 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
6132 * pdf/xpdf/pdf-document.cc:
6134 Keep offset in consideration in a few places
6136 * shell/ev-view.c: (expose_bin_window):
6138 Set the offsets so that the document is ever centered
6140 2005-01-20 Bryan Clark <clarkbw@cvs.gnome.org>
6142 * TODO: Added TODO items and finished off the first todo item
6144 * AUTHORS: Updated AUTHORS section with piece from gpdf file and
6145 reflect current authors
6147 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
6149 * pdf/xpdf/pdf-document.cc:
6150 * shell/ev-view.c: (ev_view_set_cursor),
6151 (ev_view_motion_notify_event), (document_changed_callback),
6152 (set_document_page):
6154 Show a wait cursor while the page is rendering
6156 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
6158 * shell/ev-sidebar-thumbnails.c:
6159 (ev_sidebar_tree_selection_changed),
6160 (ev_sidebar_thumbnails_select_page):
6161 * shell/ev-sidebar-thumbnails.h:
6162 * shell/ev-view.c: (ev_view_set_document), (ev_view_can_go_back),
6163 (ev_view_can_go_forward):
6164 * shell/ev-window.c: (ev_window_open_page),
6165 (ev_window_setup_document), (update_current_page),
6166 (view_page_changed_cb), (ev_window_init):
6167 * shell/ev-window.h:
6169 Ensure thumbnails selection, toolbar page control and
6170 current page are in sync.
6172 2005-01-19 Marco Pesenti Gritti <marco@gnome.org>
6178 Wed Jan 19 01:10:57 2005 Jonathan Blandford <jrb@redhat.com>
6180 * backend/Makefile.am:
6181 * backend/ev-document-links.h:
6182 * backend/ev-document-security.c: (ev_document_security_get_type),
6183 (ev_document_security_has_document_security),
6184 (ev_document_security_set_password):
6185 * backend/ev-document-security.h:
6186 * backend/ev-document.c: (ev_document_error_quark):
6187 * backend/ev-document.h:
6189 * data/evince-password.glade:
6190 * pdf/xpdf/pdf-document.cc:
6191 * shell/Makefile.am:
6192 * shell/ev-password.c: (ev_password_set_bad_password_label),
6193 (ev_window_password_entry_changed_cb), (ev_password_dialog_new),
6194 (ev_password_dialog_get_password),
6195 (ev_password_dialog_set_bad_pass):
6196 * shell/ev-password.h:
6197 * shell/ev-window.c: (ev_window_get_attribute),
6198 (ev_window_set_property), (update_action_sensitivity),
6199 (ev_window_is_empty), (mime_type_supported_by_gdk_pixbuf),
6200 (ev_window_setup_document), (ev_window_get_password),
6201 (ev_window_open), (ev_window_cmd_save_as),
6202 (using_postscript_printer), (ev_window_print),
6203 (find_not_supported_dialog), (ev_window_cmd_edit_find),
6204 (update_fullscreen_popup), (ev_window_fullscreen),
6205 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
6206 (ev_window_focus_out_cb), (ev_window_cmd_help_about),
6207 (menu_item_select_cb), (find_bar_search_changed_cb),
6208 (ev_window_dispose), (ev_window_init):
6210 Add initial support for password-supported dialogs. This could be
6211 a lot cooler, but it'll do for now.
6213 2005-01-18 Marco Pesenti Gritti <marco@gnome.org>
6215 * pdf/xpdf/pdf-document.cc:
6216 * shell/ev-view.c: (status_message_from_link),
6217 (ev_view_set_status), (ev_view_set_cursor),
6218 (ev_view_motion_notify_event), (ev_view_init):
6219 * shell/ev-window.c: (view_status_changed_cb), (ev_window_init):
6221 Fix bugs in the links implementation and change cursor
6222 when hovering a link.
6224 2005-01-17 Bryan Clark <clarkbw@cvs.gnome.org>
6226 * viewer/.cvsignore: added cvsignore file for viewer directory
6228 * TODO: created TODO document
6230 2005-01-14 Dave Malcolm <dmalcolm@redhat.com>
6233 * shell/ev-view.c (ev_view_can_go_back), (ev_view_can_go_forward):
6234 new functions to help with implementation of sensitivity code
6235 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
6236 of all actions that might require it. Fixes a crash when you
6237 click on the Zoom actions in a window lacking a document.
6239 2005-01-13 Dave Malcolm <dmalcolm@redhat.com>
6241 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
6244 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
6246 * pixbuf/pixbuf-document.c: (pixbuf_document_get_link),
6247 (pixbuf_document_document_iface_init):
6248 * ps/ps-document.c: (ps_document_get_link),
6249 (ps_document_document_iface_init):
6250 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event),
6251 (status_message_from_link), (ev_view_set_status),
6252 (ev_view_set_find_status), (ev_view_motion_notify_event),
6253 (ev_view_button_release_event), (ev_view_set_property),
6254 (ev_view_get_property), (ev_view_class_init), (ev_view_init),
6255 (ev_view_get_find_status_message), (update_find_results),
6256 (ev_view_get_status), (ev_view_get_find_status):
6258 * shell/ev-window.c: (view_status_changed_cb),
6259 (view_find_status_changed_cb), (ev_window_init):
6261 View status message support, use it to show the links.
6264 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
6266 * backend/ev-document.c: (ev_document_get_link):
6267 * backend/ev-document.h:
6268 * pdf/xpdf/pdf-document.cc:
6269 * shell/ev-application.c: (ev_application_open):
6270 * shell/ev-application.h:
6271 * shell/ev-sidebar-links.c: (selection_changed_cb):
6272 * shell/ev-view.c: (ev_view_button_release_event), (go_to_link),
6273 (ev_view_go_to_link):
6275 Add support for document links
6277 2005-01-13 Anders Carlsson <andersca@gnome.org>
6279 * shell/ev-page-action.c: (update_spin), (total_pages_changed_cb),
6281 Set the spin button limits correctly.
6283 * shell/ev-sidebar-thumbnails.c:
6284 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init):
6285 Support changing pages by clicking on the thumbnails.
6287 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
6289 * pixbuf/pixbuf-document.c:
6290 (pixbuf_document_thumbnails_get_dimensions),
6291 (pixbuf_document_document_thumbnails_iface_init):
6293 implement get_dimensions
6295 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
6297 * ps/ps-document.c: (ps_document_goto_page):
6299 Fix page switching on multipage documents
6301 2005-01-12 Jeff Muizelaar <jrmuizel@nit.ca>
6303 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
6305 check for NULL before assigning to width and height parameters
6307 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
6309 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
6310 (pixbuf_document_set_property), (pixbuf_document_get_property):
6312 implement get/set properties
6314 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
6316 * pdf/xpdf/pdf-document.cc: (pdf_info_dict_get_string):
6318 return NULL instead of "Unknown", letting the title get set to
6319 the filename when the pdf has no title.
6321 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
6323 * ps/ps-document.c: (ps_document_get_page_count),
6324 (ps_document_goto_page):
6326 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
6328 * shell/ev-history.c: (ev_history_get_property),
6329 (ev_history_set_property), (ev_history_class_init),
6330 (ev_history_add_page), (ev_history_set_current_index):
6331 * shell/ev-navigation-action.c: (ev_navigation_action_set_history),
6332 (activate_menu_item_cb), (new_history_menu_item), (build_menu),
6333 (ev_navigation_action_finalize):
6334 * shell/ev-navigation-action.h:
6335 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
6336 (ev_view_go_forward), (ev_view_get_find_status_message),
6337 (history_index_changed_cb), (ev_view_set_history):
6339 * shell/ev-window.c: (update_total_pages), (ev_window_open),
6340 (update_current_page), (register_custom_actions):
6342 Implement history dropdowns
6344 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
6346 * shell/ev-history.c: (ev_history_init), (ev_history_add_link):
6347 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
6348 (ev_view_go_forward):
6349 * shell/ev-window.c: (register_custom_actions):
6351 Fix several history bugs
6353 2005-01-11 Kjartan Maraas <kmaraas@gnome.org>
6355 * configure.ac: Add «nb» to ALL_LINGUAS.
6357 2005-01-10 Marco Pesenti Gritti <marco@gnome.org>
6359 * backend/Makefile.am:
6360 * backend/ev-bookmark.c:
6361 * backend/ev-bookmark.h:
6362 * backend/ev-document-bookmarks.c:
6363 * backend/ev-document-bookmarks.h:
6364 * backend/ev-document-links.c: (ev_document_links_get_type),
6365 (ev_document_links_has_document_links),
6366 (ev_document_links_begin_read), (ev_document_links_get_link),
6367 (ev_document_links_get_child), (ev_document_links_next),
6368 (ev_document_links_free_iter):
6369 * backend/ev-document-links.h:
6370 * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_title),
6371 (ev_link_set_title), (ev_link_get_uri), (ev_link_set_uri),
6372 (ev_link_get_link_type), (ev_link_set_link_type),
6373 (ev_link_get_page), (ev_link_set_page), (ev_link_get_property),
6374 (ev_link_set_property), (ev_window_dispose), (ev_link_init),
6375 (ev_link_class_init), (ev_link_new_title), (ev_link_new_page),
6376 (ev_link_new_external):
6377 * backend/ev-link.h:
6378 * pdf/xpdf/pdf-document.cc:
6379 * shell/Makefile.am:
6380 * shell/ev-application.c: (ev_application_open_link):
6381 * shell/ev-application.h:
6382 * shell/ev-history.c: (ev_history_add_link), (ev_history_add_page),
6383 (ev_history_get_link_nth):
6384 * shell/ev-history.h:
6385 * shell/ev-sidebar-bookmarks.c:
6386 * shell/ev-sidebar-bookmarks.h:
6387 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
6388 (ev_sidebar_links_class_init), (selection_changed_cb),
6389 (ev_sidebar_links_construct), (ev_sidebar_links_init),
6390 (links_page_num_func), (ev_sidebar_links_new), (stack_data_free),
6391 (do_one_iteration), (populate_links_idle),
6392 (ev_sidebar_links_clear_document), (ev_sidebar_links_set_document):
6393 * shell/ev-sidebar-links.h:
6394 * shell/ev-sidebar.c: (ev_sidebar_set_document):
6395 * shell/ev-view.c: (go_to_link), (ev_view_go_to_link),
6398 * shell/ev-window.c: (ev_window_open_link), (ev_window_init):
6399 * shell/ev-window.h:
6401 Rename bookmark to link, and use "Index" for the sidebar panel.
6403 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
6405 * shell/Makefile.am:
6406 * shell/ev-application.c: (ev_application_open_bookmark):
6407 * shell/ev-application.h:
6408 * shell/ev-history.c: (ev_history_init), (free_links_list),
6409 (ev_history_finalize), (ev_history_class_init),
6410 (ev_history_add_link), (ev_history_add_page),
6411 (ev_history_get_link_nth), (ev_history_get_n_links),
6412 (ev_history_get_current_index), (ev_history_set_current_index),
6414 * shell/ev-history.h:
6415 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
6416 * shell/ev-view.c: (ev_view_finalize), (ev_view_set_document),
6417 (set_document_page), (go_to_bookmark), (ev_view_go_to_bookmark),
6418 (go_to_index), (ev_view_go_back), (ev_view_go_forward),
6421 * shell/ev-window.c: (ev_window_open_bookmark),
6422 (ev_window_cmd_go_back), (ev_window_cmd_go_forward),
6423 (goto_page_cb), (register_custom_actions):
6424 * shell/ev-window.h:
6426 Initial history implementation. Needs work.
6428 2005-01-09 Martin Kretzschmar <martink@gnome.org>
6430 * pdf/xpdf/GDKSplashOutputDev.cc (redraw): fix pixbuf data offset.
6432 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
6434 * cut-n-paste/recent-files/egg-recent-item.c:
6435 * cut-n-paste/recent-files/egg-recent-item.h:
6436 * cut-n-paste/recent-files/egg-recent-model.c:
6437 * cut-n-paste/recent-files/egg-recent-util.c:
6438 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
6439 * cut-n-paste/recent-files/egg-recent-view.c:
6443 2005-01-08 Martin Kretzschmar <martink@gnome.org>
6445 * pdf/splash/Splash.cc (clear, drawPixel, drawSpan, xorSpan, getPixel)
6446 (fillGlyph, fillImageMask, drawImage):
6447 pdf/splash/SplashBitmap.cc (SplashBitmap, ~SplashBitmap, writePNMFile):
6448 pdf/splash/SplashTypes.h:
6449 pdf/xpdf/SplashOutputDev (startPage, getColor, imageSrc): implement RGB8
6450 packed mode for Splash.
6452 * pdf/xpdf/GDKSplashOutputDev.cc (GDKSplashOutputDev, redraw): use
6453 RGB8 packed mode, eliminates the pixbuf data creation loop.
6455 * shell/ev-print-job.c (ev_print_job_finalize)
6456 (ev_print_job_set_property, ev_print_job_get_property)
6457 (ev_print_job_set_gnome_print_job, ev_print_job_set_document)
6458 (ev_print_job_use_print_dialog_settings, idle_print_handler)
6459 (print_closure_finalize, ev_print_job_print): implement
6460 printing (for backends with EvPsExporter)
6462 * shell/ev_print_job.h: update prototypes.
6464 * shell/ev-window.c (ev_window_print): unref print job after
6467 * shell/ev-view.c (ev_view_set_document): don't connect to "found"
6468 unless the document implements the EvDocumentFind interface.
6470 2005-01-08 Satoru SATOH <ss@gnome.gr.jp>
6472 * configure.ac: Added ja to ALL_LINGUAS.
6474 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
6476 * pdf/xpdf/pdf-document.cc:
6478 add a FIXME. We should probably not allocate
6479 a bookmark object every time
6481 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
6483 * shell/ev-application.c: (ev_application_open),
6484 (ev_application_open_bookmark):
6485 * shell/ev-application.h:
6487 Add a way to open bookmarks
6489 * backend/ev-bookmark.c: (ev_bookmark_get_uri),
6490 (ev_bookmark_set_uri), (ev_bookmark_get_property),
6491 (ev_bookmark_set_property), (ev_bookmark_class_init),
6492 (ev_bookmark_new_title), (ev_bookmark_new_link),
6493 (ev_bookmark_new_external):
6495 Support for external uris, better constructors.
6497 * backend/ev-bookmark.h:
6498 * pdf/xpdf/pdf-document.cc:
6499 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
6501 Handle external uris
6503 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
6505 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb),
6506 (ev_sidebar_bookmarks_construct), (do_one_iteration):
6508 Hook up bookmarks navigation
6510 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
6512 * backend/Makefile.am:
6513 * backend/ev-bookmark.c: (ev_bookmark_type_get_type),
6514 (ev_bookmark_get_title), (ev_bookmark_set_title),
6515 (ev_bookmark_get_bookmark_type), (ev_bookmark_set_bookmark_type),
6516 (ev_bookmark_get_page), (ev_bookmark_set_page),
6517 (ev_bookmark_get_property), (ev_bookmark_set_property),
6518 (ev_window_dispose), (ev_bookmark_init), (ev_bookmark_class_init),
6520 * backend/ev-bookmark.h:
6521 * backend/ev-document-bookmarks.c:
6522 (ev_document_bookmarks_get_bookmark):
6523 * backend/ev-document-bookmarks.h:
6524 * pdf/xpdf/pdf-document.cc:
6525 * shell/ev-sidebar-bookmarks.c: (do_one_iteration):
6527 Add a bookmark object to the backend and use it instead of get_values
6529 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
6531 * data/evince-ui.xml:
6533 Cleanup and add select all.
6535 * shell/ev-view.c: (ev_view_select_all),
6536 (ev_view_button_press_event):
6538 * shell/ev-window.c: (ev_window_cmd_edit_select_all):
6541 Clear selection on click.
6543 Fri Jan 7 01:28:58 2005 Jonathan Blandford <jrb@redhat.com>
6545 * shell/ev-sidebar-thumbnails.c
6546 (ev_sidebar_thumbnails_set_document): forgot to unref the
6549 Fri Jan 7 01:22:48 2005 Jonathan Blandford <jrb@redhat.com>
6551 * shell/ev-sidebar-thumbnails.c: fill in the thumbnails starting
6552 at the visible page, not just linearly. This makes it look fast.
6554 Thu Jan 6 18:48:11 2005 Jonathan Blandford <jrb@redhat.com>
6556 * backend/ev-document-misc.c
6557 (ev_document_misc_get_thumbnail_frame): fill in the thumbnail with
6559 * backend/ev-document-thumbnails.h: New interface to get the size
6562 2005-01-06 Jeremy Katz <katzj@redhat.com>
6564 * shell/Makefile.am (evince_SOURCES): Add ev-utils.[ch] so that
6567 Wed Jan 5 15:38:28 2005 Jonathan Blandford <jrb@redhat.com>
6569 * pdf/xpdf/pdf-document.cc (bitmap_to_pixbuf): bypass
6570 GDKSplashOutputDev and just use a normal SplashOutputDev. Speeds
6573 * shell/ev-sidebar-thumbnail.c: start of some profiling code.
6575 2005-01-05 Martin Kretzschmar <martink@gnome.org>
6577 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): match only outline
6578 fonts. Should fix font problems on systems that have the base
6579 fonts in bitmap format. Reported by James Henstridge
6580 <james@jamesh.id.au>.
6582 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
6585 * pdf/xpdf/GfxState.cc:
6587 Fix for CAN-2004-1125
6589 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
6591 * shell/ev-view.c: (ev_view_copy):
6593 * shell/ev-window.c: (ev_window_cmd_edit_copy):
6595 Implement Edit->Copy
6597 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
6599 * backend/ev-document.c: (ev_document_get_text):
6600 * backend/ev-document.h:
6601 * pdf/xpdf/pdf-document.cc:
6602 * shell/ev-view.c: (ev_view_realize), (expose_bin_window),
6603 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
6604 (ev_view_update_primary_selection), (ev_view_button_press_event),
6605 (ev_view_motion_notify_event), (ev_view_button_release_event):
6607 Beginnings of clipboard support. Incomplete but primary sort
6610 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
6612 * shell/ev-view.c: (ev_gdk_color_to_rgb), (draw_rubberband),
6613 (expose_bin_window):
6615 Nicer rubberband drawing, from GtkIconView.
6617 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
6619 * backend/ev-document.c: (ev_document_save):
6620 * backend/ev-document.h:
6621 * data/evince-ui.xml:
6622 * pdf/xpdf/pdf-document.cc:
6623 * shell/ev-window.c: (save_error_dialog), (ev_window_cmd_save_as):
6625 Implement "Save a copy..." menu item
6627 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
6629 * shell/ev-view.c: (ev_view_zoom):
6631 Queue a resize when zoom changes
6633 Wed Jan 5 02:33:06 2005 Jonathan Blandford <jrb@redhat.com>
6635 * backend/ev-document-misc.[ch]: New misc file to do simple drop
6638 * pdf/xpdf/pdf-document.cc: use the drop shadows in both types of
6641 Tue Jan 4 22:32:32 2005 Jonathan Blandford <jrb@redhat.com>
6643 * pdf/xpdf/pdf-document.cc
6644 (pdf_document_thumbnails_get_page_pixbuf): poor man's dropshadow.
6646 Tue Jan 4 21:25:05 2005 Jonathan Blandford <jrb@redhat.com>
6648 * pdf/xpdf/pdf-document.cc: Do real thumbnailing of PDF files.
6649 It's slow, but I'll speed it up next!
6651 2005-01-04 Jeff Muizelaar <jrmuizel@nit.ca>
6653 * shell/main.c (load_files):
6655 use gnome_vfs_make_uri_from_shell_arg so that relative paths work
6656 from the command line and because it seems more appropriate.
6658 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
6660 * data/evince-ui.xml:
6661 * shell/ev-window.c: (update_action_sensitivity),
6662 (ev_window_cmd_go_page_up), (ev_window_cmd_go_page_down):
6664 s/next page/page down
6665 s/previous page/page up
6667 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
6669 * data/evince-ui.xml:
6671 Change the layout to match clarkbw design.
6673 * shell/Makefile.am:
6674 * shell/ev-navigation-action.c: (build_menu), (menu_activated_cb),
6675 (set_tooltip_cb), (connect_proxy), (ev_navigation_action_init),
6676 (ev_navigation_action_finalize),
6677 (ev_navigation_action_set_property),
6678 (ev_navigation_action_get_property),
6679 (ev_navigation_action_class_init):
6680 * shell/ev-navigation-action.h:
6682 Implement clarkbw toolbar navigation controls (incomplete)
6684 * shell/ev-page-action.c: (update_label), (update_spin),
6685 (value_changed_cb), (create_tool_item), (connect_proxy),
6686 (ev_page_action_init), (ev_page_action_finalize),
6687 (ev_page_action_set_property), (ev_page_action_get_property),
6688 (ev_page_action_set_current_page),
6689 (ev_page_action_set_total_pages), (ev_page_action_class_init):
6690 * shell/ev-page-action.h:
6692 Implement a page switcher in the toolbar
6694 * shell/ev-view.c: (ev_view_scroll_view):
6695 * shell/ev-window.c: (update_total_pages), (ev_window_open),
6696 (update_current_page), (view_page_changed_cb), (goto_page_cb),
6697 (register_custom_actions), (ev_window_init):
6699 Change page on PageUp/Down.
6701 Tue Jan 4 03:22:56 2005 Jonathan Blandford <jrb@redhat.com>
6703 * pdf/xpdf/pdf-document.cc
6704 (pdf_document_thumbnails_get_thumbnail): initial stab at
6705 implementing thumbnail support for pdfs. It only does documents
6706 with precached pdfs now.
6708 Mon Jan 3 17:22:25 2005 Jonathan Blandford <jrb@redhat.com>
6710 * shell/ev-sidebar-thumbnails.c (do_one_iteration): move the
6711 thumbnail code into a time-based idle as well. Also, turn off the
6712 shadow temporarily as it's really slow.
6714 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
6716 * backend/ev-document.c: (ev_document_class_init):
6717 * pdf/xpdf/pdf-document.cc:
6718 * shell/ev-window.c: (ev_window_open):
6720 Fix document title bugs and fallback to
6721 filename when not available.
6723 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
6725 * backend/ev-document.c: (ev_document_get_type),
6726 (ev_document_class_init), (ev_document_load),
6727 (ev_document_get_title):
6728 * backend/ev-document.h:
6729 * pdf/xpdf/pdf-document.cc:
6730 * ps/ps-document.c: (ps_document_set_property),
6731 (ps_document_get_property), (ps_document_class_init),
6735 * shell/ev-window.c: (update_window_title), (ev_window_open),
6738 Initial support for document title. Not working yet.
6740 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
6742 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event):
6744 Grab focus on the view when clicking it
6746 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
6748 * shell/ev-marshal.list:
6749 * shell/ev-view.c: (ev_view_realize), (add_scroll_binding),
6750 (ev_view_scroll_view), (ev_view_class_init), (ev_view_init):
6752 Add key bindings to the view. Now if the focus would work
6755 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
6758 * backend/Makefile.am:
6761 * dvi/dvilib/Makefile.am:
6762 * pdf/xpdf/Makefile.am:
6768 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
6770 * shell/ev-view.c: (ev_view_realize):
6772 Fix mouse wheel scrolling
6774 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
6780 * ps/ps-document.c: (catchPipe), (ps_document_init),
6781 (ps_document_class_init), (ps_document_cleanup),
6782 (ps_document_finalize), (send_ps), (ps_document_get_orientation),
6783 (set_up_page), (close_pipe), (is_interpreter_ready),
6784 (interpreter_failed), (output), (input), (start_interpreter),
6785 (stop_interpreter), (file_length), (file_readable),
6786 (check_filecompressed), (check_pdf), (compute_xdpi),
6787 (compute_ydpi), (compute_size), (ps_document_enable_interpreter),
6788 (ps_document_get_type), (ps_document_emit_error_msg),
6789 (document_load), (ps_document_next_page),
6790 (ps_document_get_current_page), (ps_document_get_page_count),
6791 (ps_document_goto_page), (ps_document_set_page_size),
6792 (ps_document_zoom_to_fit), (ps_document_set_zoom),
6793 (ps_document_load), (ps_document_get_n_pages),
6794 (ps_document_set_page), (ps_document_get_page),
6795 (ps_document_widget_event), (ps_document_set_target),
6796 (ps_document_set_scale), (ps_document_set_page_offset),
6797 (ps_document_get_page_size), (ps_document_render),
6798 (ps_document_document_iface_init):
6801 * shell/ev-window.c: (ev_window_open):
6803 Rename GtkGS to PSDocument
6805 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
6807 * ps/gtkgs.c: (gtk_gs_class_init):
6810 Some more leftover...
6812 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
6814 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_get_orientation),
6815 (output), (stop_interpreter), (gtk_gs_emit_error_msg),
6816 (gtk_gs_zoom_to_fit), (gtk_gs_set_zoom):
6819 Remove unused code and make a lot of stuff private
6821 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
6823 * ps/gsdefaults.c: (gtk_gs_defaults_gconf_client),
6824 (gtk_gs_defaults_changed):
6830 Cleanup headers dependencies
6832 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
6837 * ps/gsdefaults.c: (gtk_gs_defaults_get_paper_sizes):
6839 * ps/gtkgs.c: (file_length), (file_readable),
6840 (check_filecompressed), (check_pdf), (gtk_gs_load),
6841 (gtk_gs_get_postscript):
6845 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
6850 * ps/gtkgs.c: (gtk_gs_set_zoom):
6854 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
6856 * ps/gtkgs.c: (gtk_gs_set_zoom), (gtk_gs_set_zoom_mode):
6858 Ensure the page is rerendered when changing zoom
6860 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
6862 * backend/ev-document.c: (ev_document_base_init),
6863 (ev_document_changed):
6864 * backend/ev-document.h:
6866 Add a changed event that is emitted when the page content
6867 changes. This is necessary to deal with the fact that
6868 in ps backend rendering happen asycrounously.
6869 This makes the ps backend mostly work.
6871 * pdf/xpdf/pdf-document.cc:
6875 * ps/gtkgs.c: (set_up_page), (gtk_gs_widget_event),
6876 (ps_document_set_target):
6880 * shell/ev-view.c: (document_changed_callback),
6881 (ev_view_set_document), (ev_view_set_page):
6883 Redraw on the changed signal
6885 2004-12-25 Raphael Higino <raphaelh@cvs.gnome.org>
6887 * configure.ac: Added pt_BR to ALL_LINGUAS.
6889 Fri Dec 24 00:48:44 2004 Jonathan Blandford <jrb@redhat.com>
6891 * backend/ev-document-bookmarks.c:
6892 (ev_document_bookmarks_get_child): *
6893 backend/ev-document-bookmarks.h: * pdf/xpdf/Makefile.am: *
6894 pdf/xpdf/pdf-document.cc: * pdf/xpdf/pdf-document.h: *
6895 shell/Makefile.am: * shell/ev-sidebar-bookmarks.c:
6896 (ev_sidebar_bookmarks_destroy),
6897 (ev_sidebar_bookmarks_class_init),
6898 (ev_sidebar_bookmarks_construct), (stack_data_free),
6899 (do_one_iteration), (populate_bookmarks_idle),
6900 (ev_sidebar_bookmarks_clear_document),
6901 (ev_sidebar_bookmarks_set_document): *
6902 shell/ev-sidebar-bookmarks.h: * shell/ev-sidebar.c:
6903 (ev_sidebar_add_page),
6904 (ev_sidebar_set_document): * shell/ev-window.c: (ev_window_open):
6905 Initial stab at a bookmarks sidebar. It doesn't navigate yet, but
6906 it displays both the topics and the page numbers.
6908 2004-12-23 Kristian Høgsberg <krh@redhat.com>
6910 * shell/ev-window.c (ev_window_view_sidebar_cb): Hook up sidebar
6912 * shell/ev-window.c (toggle_entries): Set sidebar default value to
6915 2004-12-23 Adam Weinberger <adamw@gnome.org>
6917 * configure.ac: Added en_CA to ALL_LINGUAS.
6919 2004-12-23 Martin Kretzschmar <martink@gnome.org>
6921 * ChangeLog: replace bottom of this ChangeLog (merged history of
6922 ggv and gpdf; where all paths were wrong and most of the files are
6923 not even in this tree) with ChangeLog (from arch) of the shell
6926 2004-12-23 Havoc Pennington <hp@redhat.com>
6928 * shell/ev-window.c: hook up potentially-questionable "find
6929 results status text" feature - something involving the sidebar or
6930 scrollbar or a continuous all-pages-on-giant-roll-of-paper-view
6931 might be better in the end.
6933 * shell/ev-view.c (ev_view_get_find_status_message): new function,
6934 with corresponding signal when it should be updated
6936 * shell/eggfindbar.c (egg_find_bar_set_status_text): new function
6938 2004-12-22 Havoc Pennington <hp@redhat.com>
6940 * pdf/xpdf/pdf-document.cc (pdf_document_find_begin): make search
6941 find stuff on other pages, sort of (only returns one result on
6942 invisible pages, to show they have results; updates full results
6943 for a page when you view it). Currently repaints the current page
6944 every time a new result is found on any page, which isn't so nice.
6946 2004-12-22 Havoc Pennington <hp@redhat.com>
6948 * shell/ev-window.c (ev_window_cmd_edit_find): display an error if
6949 the document doesn't support find (better ideas?)
6950 (find_bar_search_changed_cb): handle missing document or document
6951 that doesn't support find
6953 * pdf/xpdf/pdf-document.cc: port to implement the new
6956 * backend/ev-document-find.c: create a new interface for searching
6958 * backend/ev-document.h, backend/ev-document.c: delete the find stuff
6960 2004-12-23 Martin Kretzschmar <martink@gnome.org>
6962 * pdf/xpdf/Makefile.am (libpdfdocument_la_LIBADD): add
6965 * shell/ev-window.c (ev_window_print): add GnomePrintJob to
6966 EvPrintJob constructor arguments.
6968 * backend/ev-ps-exporter.c, backend/ev-ps-exporter.h: interface
6969 for documents that can export PostScript (page by page).
6971 * backend/Makefile.am (libevbackend_la_SOURCES): add them.
6973 * pdf/xpdf/pdf-document.cc (pdf_document_ps_export_begin)
6974 (pdf_document_ps_export_do_page, pdf_document_ps_export_end)
6975 (pdf_document_ps_exporter_iface_init:
6976 Implement EvPSExporter.
6978 * pdf/xpdf/Makefile.am (libxpdf_la_SOURCES): build PSOutputDev.
6980 2004-12-22 Anders Carlsson <andersca@gnome.org>
6982 * backend/Makefile.am:
6983 * backend/ev-document-thumbnails.c:
6984 (ev_document_thumbnails_get_type),
6985 (ev_document_thumbnails_get_thumbnail):
6986 * backend/ev-document-thumbnails.h:
6987 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
6988 (pixbuf_document_thumbnails_get_thumbnail),
6989 (pixbuf_document_document_thumbnails_iface_init):
6990 * shell/Makefile.am:
6991 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_destroy),
6992 (ev_sidebar_thumbnails_class_init), (ev_sidebar_thumbnails_init),
6993 (populate_thumbnails), (ev_sidebar_thumbnails_set_document):
6994 * shell/ev-sidebar-thumbnails.h:
6995 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
6996 (ev_sidebar_set_document):
6997 * shell/ev-utils.c: (gaussian), (create_blur_filter),
6998 (create_shadow), (ev_pixbuf_add_shadow):
7000 Add thumbnail support.
7002 2004-12-22 Martin Kretzschmar <martink@gnome.org>
7004 * shell/ev-window.c (ev_window_cmd_file_print, ev_window_print)
7005 (using_postscript_printer): Set up a print dialog for "PostScript
7008 * shell/ev-print-job.h, shell/ev-print-job.c: stub classes for
7011 * shell/Makefile.am (evince_SOURCES): add ev-print-job.[ch]
7013 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
7015 * ps/gtkgs.c: (gtk_gs_init), (set_up_page),
7016 (ps_document_set_target), (ps_document_get_page_size),
7017 (ps_document_render):
7022 2004-12-22 Christian Rose <menthos@menthos.com>
7024 * configure.ac: Added "sv" to ALL_LINGUAS.
7026 Wed Dec 22 14:47:38 2004 Jonathan Blandford <jrb@redhat.com>
7028 * backend/ev-document-bookmarks.[ch]: new interface to indicate
7029 document supports bookmarks.
7031 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
7033 * ps/ggvutils.c: (ggv_file_readable):
7035 * ps/gtkgs.c: (check_filecompressed), (check_pdf),
7036 (gtk_gs_get_postscript):
7040 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
7042 * ps/gtkgs.c: (gtk_gs_init), (gtk_gs_class_init), (gtk_gs_cleanup),
7043 (gtk_gs_finalize), (gtk_gs_set_center), (set_up_page), (output),
7044 (start_interpreter), (compute_size), (gtk_gs_enable_interpreter),
7045 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_reload),
7046 (gtk_gs_emit_error_msg), (gtk_gs_disable_interpreter),
7047 (gtk_gs_load), (gtk_gs_goto_page), (gtk_gs_set_page_size),
7048 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
7049 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
7050 (gtk_gs_set_antialiasing), (ps_document_load),
7051 (ps_document_render):
7054 Another check point for the ps backend. Now I can get it to show
7057 Wed Dec 22 13:41:01 2004 Jonathan Blandford <jrb@redhat.com>
7059 * shell/ev-sidebar.c (ev_sidebar_set_document): initial sidebar
7060 document setting code.
7062 2004-12-22 Anders Carlsson <andersca@gnome.org>
7064 * shell/eggfindbar.c: (entry_activate_callback):
7065 Animate the next button when activate is pressed.
7067 2004-12-22 Anders Carlsson <andersca@gnome.org>
7069 * shell/ev-window.c: (ev_window_cmd_edit_find),
7070 (update_fullscreen_popup), (ev_window_fullscreen),
7071 (ev_window_unfullscreen), (ev_window_state_event_cb),
7072 (ev_window_focus_out_cb), (find_bar_close_cb), (ev_window_init):
7073 Fix bugs in fullscreen code.
7075 2004-12-22 Anders Carlsson <andersca@gnome.org>
7079 * pixbuf/Makefile.am:
7080 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
7081 (pixbuf_document_load), (pixbuf_document_get_n_pages),
7082 (pixbuf_document_set_page), (pixbuf_document_get_page),
7083 (pixbuf_document_set_target), (pixbuf_document_set_scale),
7084 (pixbuf_document_set_page_offset), (pixbuf_document_get_page_size),
7085 (pixbuf_document_render), (pixbuf_document_begin_find),
7086 (pixbuf_document_end_find), (pixbuf_document_finalize),
7087 (pixbuf_document_class_init),
7088 (pixbuf_document_document_iface_init), (pixbuf_document_init):
7089 * pixbuf/pixbuf-document.h:
7090 * shell/Makefile.am:
7091 * shell/ev-application.c: (ev_application_open):
7092 * shell/ev-window.c: (mime_type_supported_by_gdk_pixbuf),
7096 Tue Dec 21 21:45:43 2004 Soeren Sandmann <sandmann@redhat.com>
7099 * dvi/dvilib/Makefile.am:
7101 * configure.ac: Auto*ify dvi and dvi/dvilib
7103 * dvi/Makefile: Remove from CVS
7105 * dvi/dvilib/dl-pkfont.cc (unpack_bitmap): Fix uchar/uint
7108 * dvi/dvilib/dl-fontdefinition.{cc,hh}: New DviFontMap class
7110 * dvi/dvilib/dl-vffont.{cc,hh}: Many bugfixes to VF code.
7112 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
7115 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_finalize),
7116 (gtk_gs_value_adjustment_changed), (compute_size),
7117 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_new_from_file),
7118 (gtk_gs_center_page), (gtk_gs_load), (gtk_gs_set_page_size),
7119 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
7120 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
7121 (gtk_gs_start_scroll), (gtk_gs_get_postscript),
7122 (gtk_gs_set_adjustments), (gtk_gs_set_available_size),
7123 (ps_document_load), (ps_document_get_n_pages),
7124 (ps_document_set_page), (ps_document_get_page),
7125 (ps_document_set_target), (ps_document_set_scale),
7126 (ps_document_set_page_offset), (ps_document_get_page_size),
7127 (ps_document_render), (ps_document_begin_find),
7128 (ps_document_end_find), (ps_document_document_iface_init):
7130 * shell/Makefile.am:
7131 * shell/ev-window.c: (ev_window_open):
7133 Some work to integrate gtkgs with EvDocument
7135 2004-12-22 Anders Carlsson <andersca@gnome.org>
7137 * shell/ev-window.c: (update_fullscreen_popup),
7138 (screen_size_changed_cb), (destroy_exit_fullscreen_popup),
7139 (exit_fullscreen_button_clicked_cb),
7140 (fullscreen_popup_size_request_cb), (ev_window_fullscreen),
7141 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
7142 (ev_window_state_event_cb), (ev_window_init):
7143 Add fullscreen support from Epiphany.
7145 2004-12-22 Mark McLoughlin <mark@skynet.ie>
7147 * data/ev-stock-zoom-fit-width.png: fit-width
7148 stock icon from gpdf.
7150 * shell/ev-stock-icons.[ch]: copied from gpdf.
7152 * shell/main.c: (main): init stock icons.
7154 * shell/ev-window.c: use the fit-width icon.
7156 * data/evince-ui.xml: add zooming toolbar items.
7158 2004-12-22 Mark McLoughlin <mark@skynet.ie>
7161 (ev_view_best_fit), (ev_view_fit_width): because
7162 get_page_size() returns the scaled page size, we
7163 need to calculate the scale factor relative to
7164 the previous scale factor. Should really just
7165 add get_real_page_size().
7167 2004-12-22 Mark McLoughlin <mark@skynet.ie>
7169 * shell/ev-view.[ch]:
7170 (ev_view_zoom), (ev_view_zoom_in), (ev_view_zoom_out),
7171 (ev_view_normal_size), (ev_view_best_fit), (ev_view_fit_width):
7174 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
7175 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_normal_size),
7176 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width):
7179 * pdf/xpdf/pdf-document.cc:
7180 (pdf_document_begin_find),
7181 (pdf_document_end_find): make static.
7183 2004-12-22 Martin Kretzschmar <martink@gnome.org>
7185 * pdf/xpdf/GlobalParams.h (setupBaseFontsFc): add prototype.
7187 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): maps base font
7188 names to fontconfig patterns.
7189 (setupBaseFontsFc): setupBaseFonts reimplemented using fontconfig.
7191 * pdf/xpdf/pdf-document.cc (pdf_document_load): use
7194 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
7210 Import ggv backend. Not hooked up yet.
7212 2004-12-22 Mark McLoughlin <mark@skynet.ie>
7214 * shell/main.c: (load_files), (main): load files
7215 from the command line.
7217 2004-12-22 Mark McLoughlin <mark@skynet.ie>
7219 * configure.ac: don't require bonobo.
7221 * cut-n-paste/recent-files/*: kill bonobo recent
7224 * shell/ev-window.c:
7225 (ev_window_is_empty): upd.
7226 (unable_to_load), (ev_window_open): load backend
7227 based on the mime type.
7229 2004-12-22 Martin Kretzschmar <martink@gnome.org>
7231 * backend/.cvsignore: ignore generated marshalers source.
7233 * shell/main.c (main): this is not epiphany.
7235 2004-12-22 Havoc Pennington <hp@redhat.com>
7237 * shell/ev-view.c (ev_view_set_document): connect to "found" signal
7238 (expose_bin_window): draw find highlights
7240 * shell/ev-window.c (find_bar_search_changed_cb): implement
7242 * pdf/xpdf/pdf-document.cc (pdf_document_begin_find)
7243 (pdf_document_end_find): implement this interface
7245 * backend/ev-document.c (ev_document_found): add this to emit
7248 Tue Dec 21 23:57:37 2004 Owen Taylor <otaylor@redhat.com>
7250 * data/evince-ui.xml: Add a few more toolbar items.
7252 * shell/ev-window.c: Hook up page navigation toolbar
7255 * shell/ev-view.[ch]: add ev_view_set/get_page and
7256 a page-changed signal.
7258 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc::
7259 Add ev_document_get_page().
7261 * shell/ev-window.c: Sensitize/desensitize navigation
7264 2004-12-21 Havoc Pennington <hp@redhat.com>
7266 * backend/ev-backend-marshal.c,
7267 backend/ev-backend-marshalers.list, backend/Makefile.am: add
7268 marshaler-generator thingy. I'm sure there's a better way to do
7269 this in the modern world.
7271 * backend/ev-document.h (struct _EvDocumentIface): add begin_find,
7272 end_find methods and "found" signal.
7274 * configure.ac: find glib-genmarshal
7276 Tue Dec 21 23:20:35 2004 Jonathan Blandford <jrb@redhat.com>
7278 * shell/ev-sidebar.c: Construct an actual sidebar.
7279 * shell/ev-sidebar-bookmarks.[ch]:
7280 * shell/ev-sidebar-thumbnails.[ch]: Stub out sidebars.
7282 Tue Dec 21 23:05:51 2004 Owen Taylor <otaylor@redhat.com>
7284 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc:
7287 * shell/ev-view.c: Track the size from the document.
7289 Tue Dec 21 22:17:04 2004 Owen Taylor <otaylor@redhat.com>
7291 * pdf/xpdf/pdf-document.cc (pdf_document_load): PDFDoc
7292 constructor assumes ownership of the string passed in.
7294 * shell/ev-window.c (ev_window_open): Destroy the error
7295 dialog once we've displayed it.
7297 Tue Dec 21 21:58:56 2004 Owen Taylor <otaylor@redhat.com>
7299 * pdf/xpdf/pdf-document.cc shell/ev-view.c: Hook things up
7300 a bit, it works! (sort of)
7302 * pdf/xpdf/Makefile.am pdf/xpdf/pdf-document.cc:
7303 Move to .cc since we need to use C++ in the implementation.
7305 * shell/dummy.cc: Add a CC file to force evince
7306 to be linked as a C++ program.
7308 Tue Dec 21 21:07:55 2004 Owen Taylor <otaylor@redhat.com>
7310 * shell/ev-view.[ch]: Start of content-area widget.
7312 * shell/ev-window.c: Create a EvView, update it
7313 as we change documents.
7315 * shell/Makefile.am shell/ev-marshal.list: Add
7316 generated marshalers.
7318 Tue Dec 21 20:28:11 2004 Jonathan Blandford <jrb@redhat.com>
7320 * Makefile.am (SUBDIRS): move shell.
7322 Tue Dec 21 19:28:55 2004 Owen Taylor <otaylor@redhat.com>
7324 * pdf/{goo,fofi,splash,xpdf}/Makefile.am: Switch from
7325 .a to libtool convenience libraries.
7327 * shell/ev-window.c (ev_window_open): Hard code loading
7330 * backend/ev-document.h: Add a boolean return to load(),
7331 fix GError * to GError **.
7333 * pdf/xpdf/pdf-document.[ch] Makefile.am: Add a stub
7334 object for a PDF backend EvDocument.
7336 Tue Dec 21 18:55:06 2004 Søren Sandmann <sandmann@redhat.com>
7338 * dvi/*: New directory with the beginning of a .dvi backend.
7340 2004-12-21 Havoc Pennington <hp@redhat.com>
7342 * shell/eggfindbar.c (egg_find_bar_init): change buttons to
7343 previous/next instead of back/forward
7345 Tue Dec 21 18:26:24 2004 Owen Taylor <otaylor@redhat.com>
7347 * backend/ev-document.[ch]: Fix a couple of problems so
7350 Tue Dec 21 18:20:40 2004 Owen Taylor <otaylor@redhat.com>
7352 * viewer/* backend/* configure.ac Makefile.am: Move viewer directory
7353 to backend/ directory, rename EvViewer to EvDocument.
7355 2004-12-21 Havoc Pennington <hp@redhat.com>
7357 * shell/ev-window.c: hook up the find bar widget; now we just need
7358 a document to find things in
7360 * shell/eggfindbar.c: a find bar widget
7362 Tue Dec 21 17:20:16 2004 Jonathan Blandford <jrb@redhat.com>
7364 * shell/ev-sidebar.[ch]: initial sidebar boilerplate.
7366 Tue Dec 21 16:30:58 2004 Owen Taylor <otaylor@redhat.com>
7368 * pdf/**: Import of xpdf code from gpdf.
7370 * pdf/xpdf/xpdfconfig.h: Move the non-config.h config.h to xpdfconfig.h
7372 * pdf/splash/SplashFTFont.{cc,h} pdf/splash/SplashFTFont.h
7373 pdf/splash/SplashFTFontEngine.h pdf/splash/SplashFTFontFile.h:
7374 Fix FreeType includes.
7376 * pdf/xpdf/{Error.h GnomeVFSStream.cc ImageOutputDev.cc PDFDoc.cc\
7377 pdffonts.cc pdfimages.cc pdfinfo.cc pdftoppm.cc pdftops.cc
7378 pdftotext.cc PSOutputDev.cc PSOutputDev.h SplashOutputDev.h
7379 Stream.cc TextOutputDev.cc XPDFApp.cc xpdf.cc XPDFViewer.cc
7380 pdf/xpdf/Error.h PSOutputDev.h SplashOutputDev.h}:
7381 Include xpdfconfig.h
7383 Tue Dec 21 16:08:17 2004 Jonathan Blandford <jrb@redhat.com>
7385 * shell/ev-window.c (ev_window_dispose): dispose can be called
7388 2004-12-21 Havoc Pennington <hp@redhat.com>
7390 * shell/ev-window.c (ev_window_init): set title to Document Viewer
7393 * data/evince-ui.xml, shell/ev-window.c: add a bunch of stub menu
7394 items; really they should be synced with the strings, etc. from
7395 current gpdf, but just getting the boring typing out of the way
7397 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
7400 * shell/ev-application.c: (window_destroy_cb):
7401 * shell/ev-window.c:
7402 * shell/main.c: (main):
7404 Actually show the window...
7406 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
7409 * shell/Makefile.am:
7410 * shell/ev-application.c: (ev_application_class_init):
7411 * shell/ev-window.c: (ev_window_dispose), (ev_window_class_init):
7415 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
7417 Import to gnome cvs.
7419 * Remove copies of gpdf and ggv trees.
7420 * Rip out all the recursive configure code.
7421 * Remove bonobo machinery.
7422 * viewer/*: GInterfaces that backends should/can implement.
7424 2004-11-09 Martin Kretzschmar <m_kretzschmar@gmx.net>
7426 * shell/ev-window.c (ev_window_cmd_help_about): fix "documentors"
7429 2004-10-28 Martin Kretzschmar <m_kretzschmar@gmx.net>
7431 * shell/ev-application.c (EV_APPLICATION_GET_PRIVATE)
7432 (ev_application_finalize, ev_application_class_init)
7433 (ev_application_init): use GType instance private data for priv.
7435 * shell/ev-window.c (EV_WINDOW_GET_PRIVATE)
7436 (ev_window_finalize, ev_window_class_init)
7437 (ev_window_init): ditto.
7439 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
7441 * shell/ev-application.c (ev_application_new_window): make public
7442 (ev_application_show_initial_window): kill.
7444 * shell/ev-application.h: update prototypes.
7446 * shell/main.cc (main): inline ev_application_show_initial_window.
7448 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
7450 * shell/ev-application.c (ev_application_new_window): impl.
7451 (ev_application_show_initial_window): use it.
7452 (is_window_empty, ev_application_get_empty_window): returns an
7453 existing empty window or a new one.
7454 (ev_application_open): from ev_window_cmd_file_open.
7456 * shell/ev-application.h: update prototypes
7458 * shell/ev-window.c (ev_window_is_empty): impl.
7459 (ev_window_open): make public.
7460 (ev_window_cmd_file_open): use ev_application_open
7462 * shell/ev-window.h: update prototypes, remove unused.
7464 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
7466 * shell/ev-window.c (ev_window_destroy, ev_window_class_init):
7467 move destroy handler out of here...
7469 * shell/ev-application.c, shell/ev-application.h: ...into this new
7470 class. Also handles initial window creation.
7472 * shell/main.cc (main): use EvApplication to create initial
7475 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
7477 * Makefile.am (SUBDIRS): add cut-n-paste
7479 * cut-n-paste/Makefile.am: add
7481 * configure.ac: generate Makefiles in cut-n-paste
7483 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
7485 * shell/ev-window.c (ev_window_dispose): new, unref the ui_manager
7486 (ev_window_class_init): install ev_window_dispose.
7488 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
7490 * shell/ev-window.h, shell/ev-window.c: replace gchar with
7491 char (gchar looks stupid).
7493 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
7495 * po/de.po: updated German translation.
7497 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
7499 * configure.ac: add more pkg-config library checks for gnome-vfs,
7502 * gpdf/configure.in: temporarily disable libpaper
7503 checks. Otherwise I'd have to add the checks for the shell, too.
7505 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7507 * shell/ev-window.c (ev_window_cmd_file_open): add ps+pdf, ps, pdf
7508 and * file filters to the file choose.
7510 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7512 * po/de.po: Updated German translation.
7514 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7516 * shell/ev-window.c: use "S" as mnemonic for Statusbar.
7518 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7520 * data/evince-ui.xml: add View->Toolbar and View->Statusbar.
7522 * shell/ev-window.c (menu_item_select_cb, menu_item_select_cb)
7523 (ev_window_init): implement those menuitems.
7525 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7527 * data/evince-ui.xml: add a toolbar (with FileOpen action)
7529 * shell/ev-window.c (ev_window_init): use the toolbar.
7531 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7533 * shell/ev-window.c (ev_window_init): use menu translations
7535 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7537 * configure.ac: add "de" to ALL_LINGUAS.
7539 * po/de.po: add German translation.
7541 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7543 * Makefile.am (SUBDIRS): add po
7545 * configure.ac: check intltool, glib-gettext etc, generate
7548 * po, po/POTFILES.in, po/POTFILES.skip: new.
7550 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7552 * shell/Makefile.am (INCLUDES): define GNOMELOCALEDIR which we
7553 already use (#ifdef ENABLE_NLS)
7555 * shell/ev-window.c (ev_window_cmd_help_about): fix two star
7556 pointer indirection thinko.
7558 * shell/main.c: include gi18n.h for bindtextdomain etc.
7560 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7562 * shell/ev-window.c (menu_item_select_cb, menu_item_deselect_cb)
7563 (connect_proxy_cb, disconnect_proxy_cb, ev_window_init): show
7564 tooltips for menu items in the statusbar.
7566 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7568 * configure.ac, data/Makefile.am, shell/Makefile.am: use
7569 pkgdatadir drop UIDIR
7571 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7573 * data/evince-ui.xml: Add File->Open menu item
7575 * shell/ev-window.c (ev_window_cmd_file_open): impl. (shows a file
7576 chooser), hook it up in the ui manager.
7578 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7580 * shell/ev-window.c: fix Help->About tooltip.
7582 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7584 * configure.ac: set CFLAGS for libevprivate.
7586 * lib/ev-stock-icons.h, lib/ev-stock-icons.c: stock icon
7587 definitions, factory etc.
7589 * lib/Makefile.am: build libevprivate.a (only stock icon code).
7591 * shell/Makefile.am: link against libevprivate.a.
7593 * shell/ev-window.c (entries): add stock icon to Help->About.
7595 * shell/main.c (main): init stock icon code.
7597 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7599 * lib/recent-files: egg recent files code
7601 * lib/Makefile.am: add.
7603 * Makefile.am: add lib subdir.
7605 * configure.ac: gen. lib/Makefile and lib/recent-files/Makefile,
7606 set CFLAGS for recent-files.
7608 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7610 * configure.ac: disable -ansi and -pedantic gcc flags. They
7611 disable POSIX stuff in stdio.h, but egg-recent uses them.
7613 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7615 * configure.ac: add --disable-deprecated flag (defaults to on in
7618 * shell/Makefile.am (INCLUDES): use it.
7620 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7622 * shell/main.c: add missing #include.
7624 * shell/ev-window.c: fix for pedantic gcc.
7625 (ev_window_cmd_help_about): split license into paragraphs for
7626 translators and pedantic compilers.
7628 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7630 * configure.ac: add more warning flags if compiling with gcc from
7631 cvs (or explicitly requested with --enable-more-warnings).
7633 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7635 * data/evince-ui.xml: add File and File->Close menu.
7637 * shell/ev-window.c (ev_window_cmd_file_close_window): impl.
7638 (ev_window_destroy): quit after destroy.
7639 (ev_window_class_init): override GtkObject::destroy.
7640 (entries): install close_window callback.
7642 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7644 * Makefile.am (SUBDIRS): add data subdir.
7646 * configure.ac (UIDIR): gen data/Makefile, define UIDIR. Require
7647 gtk+ 2.5.0 for GtkAboutDialog.
7649 * data/Makefile.am, data/evince-ui.xml: add, ui definition for the
7652 * shell/Makefile.am (INCLUDES): propagate UIDIR definition.
7654 * shell/ev-window.c (ev_window_init): create a menubar, using a ui
7656 (ev_window_cmd_help_about): about command, using GtkAboutDialog.
7658 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7660 * shell/ev-window.c, shell/ev-window.h: Created an EvWindow class.
7662 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
7664 * shell/main.c: make it a trivial gtk+ program, adjust configure.ac
7666 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
7668 * shell/*: Added shell directory boilerplate, build it.
7670 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
7672 * configure.ac, Makefile.am: Added top-level configure.ac and