1 2005-11-14 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
8 2005-11-14 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
12 * shell/ev-document-types.c: (ev_document_types_add_filters):
14 More advanced handling of custom mime type installation.
16 2005-11-14 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
18 * data/evince.schemas.in:
19 * shell/ev-metadata-manager.c: (value_free),
20 (ev_metadata_manager_get_last), (ev_metadata_manager_set_last),
21 (ev_metadata_manager_get), (ev_metadata_manager_set):
22 * shell/ev-metadata-manager.h:
23 * shell/ev-window.c: (update_chrome_flag),
24 (ev_window_cmd_focus_page_selector), (update_sidebar_visibility),
25 (setup_document_from_metadata), (setup_chrome_from_metadata),
26 (setup_sidebar_from_metadata), (setup_view_from_metadata),
27 (ev_window_cmd_edit_find), (ev_window_cmd_escape),
28 (ev_window_view_toolbar_cb),
29 (ev_window_sidebar_visibility_changed_cb), (find_bar_close_cb),
30 (view_actions_focus_in_cb), (ev_window_init), (ev_window_new):
32 Save last document settings and reuse them for new documents.
34 2005-11-14 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
37 * backend/Makefile.am:
38 * backend/ev-document-factory.c:
39 * backend/ev-document-factory.h:
41 * comics/comics-document.c: (G_DEFINE_TYPE_WITH_CODE),
42 (comics_document_load), (comics_document_save),
43 (comics_document_get_n_pages), (comics_document_get_page_size),
44 (get_page_size_area_prepared_cb), (comics_document_render_pixbuf) (render_pixbuf_size_prepared_cb), (comics_document_finalize),
45 (comics_document_class_init), (comics_document_can_get_text),
46 (comics_document_get_info), (comics_document_document_iface_init),
47 (comics_document_init), (get_supported_image_extensions),
48 (comics_document_thumbnails_get_geometry),
49 (comics_document_thumbnails_get_thumbnail),
50 (comics_document_thumbnails_get_dimensions),
51 (comics_document_document_thumbnails_iface_init), (extract_argv):
52 * comics/comics-document.h:
53 * comics/ev-cbr-mime.xml:
56 * shell/ev-application.c: (ev_application_register_service):
57 * shell/ev-document-types.c: (ev_document_types_add_filters):
58 * thumbnailer/Makefile.am:
59 * thumbnailer/evince-thumbnailer-comics.schemas.in:
61 New CBR/CBZ backend for comic books.
63 2005-11-10 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
65 * shell/main.c: (load_files_remote):
67 Thanks to Robert McQueen <robot101@debian.org>. Dbus
68 warning on startup of second instance is fixed. It
71 2005-10-30 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
73 * shell/ev-window.c: (ev_window_finalize):
75 Fix double free that cause crash.
77 2005-10-29 Bastien Nocera <hadess@hadess.net>
79 * tiff/tiff-document.c: (tiff_document_load):
83 2005-10-29 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
87 * shell/ev-view-accessible.c: (ev_view_accessible_get_priv),
88 (ev_view_accessible_free_priv), (ev_view_accessible_class_init),
89 (ev_view_accessible_get_text),
90 (ev_view_accessible_get_character_at_offset),
91 (ev_view_accessible_get_text_before_offset),
92 (ev_view_accessible_get_text_at_offset),
93 (ev_view_accessible_get_text_after_offset),
94 (ev_view_accessible_get_character_count),
95 (ev_view_accessible_get_caret_offset),
96 (ev_view_accessible_set_caret_offset),
97 (ev_view_accessible_get_run_attributes),
98 (ev_view_accessible_get_default_attributes),
99 (ev_view_accessible_get_character_extents),
100 (ev_view_accessible_get_offset_at_point),
101 (ev_view_accessible_get_n_selections),
102 (ev_view_accessible_get_selection),
103 (ev_view_accessible_add_selection),
104 (ev_view_accessible_remove_selection),
105 (ev_view_accessible_set_selection),
106 (ev_view_accessible_text_iface_init),
107 (ev_view_accessible_idle_do_action),
108 (ev_view_accessible_action_do_action),
109 (ev_view_accessible_action_get_n_actions),
110 (ev_view_accessible_action_get_description),
111 (ev_view_accessible_action_get_name),
112 (ev_view_accessible_action_set_description),
113 (ev_view_accessible_action_iface_init),
114 (ev_view_accessible_get_type), (ev_view_accessible_new),
115 (ev_view_accessible_factory_get_accessible_type),
116 (ev_view_accessible_factory_create_accessible),
117 (ev_view_accessible_factory_class_init),
118 (ev_view_accessible_factory_get_type):
119 * shell/ev-view-accessible.h:
120 * shell/ev-view-private.h:
121 * shell/ev-view.c: (ev_view_get_accessible), (ev_view_class_init):
124 Initial accessibility support.
126 2005-10-27 Erdal Ronahi <erdal.ronahi@gmail.com>
128 * configure.ac: Added ku (Kurdish) to ALL_LINGUAS
130 2005-10-26 Hubert Figuiere <hfiguiere@teaser.fr>
132 * shell/ev-print-job.c: (idle_print_handler):
134 Fix for bug Bug 318916: Printing multiple pages.
136 2005-10-20 Runa Bhattacharjee <runa@bengalinux.org>
138 * configure.ac: Added "bn" (Bengali) to ALL_LINGUAS.
140 2005-10-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
144 Thumnail dimensions unified with other backends.
146 * shell/ev-window-title.c: (ev_window_title_update):
150 2005-10-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
152 * data/ev-stock-zoom-fit-width.png:
156 2005-10-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
159 * djvu/djvu-document.c: (djvu_document_load), (djvu_document_save),
160 (djvu_document_finalize):
161 * dvi/dvi-document.c: (dvi_document_load), (dvi_document_save),
162 (dvi_document_finalize):
163 * pixbuf/pixbuf-document.c: (pixbuf_document_load),
164 (pixbuf_document_save), (pixbuf_document_finalize):
165 * tiff/tiff-document.c: (tiff_document_load), (tiff_document_save),
166 (tiff_document_finalize):
168 Save a copy implemented for various backends.
170 2005-10-17 Daniel Gryniewicz <dang@gentoo.org>
174 Don't link with ltiff if tiff is disabled.
176 2005-10-14 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
178 * pdf/GDKSplashOutputDev.cc:
179 * pdf/GDKSplashOutputDev.h:
182 * pdf/pdf-document.cc:
183 * pdf/pdf-document.h:
184 * pdf/test-gdk-output-dev.cc:
186 Remove old unused files.
188 2005-10-12 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
190 * shell/ev-window.c: (ev_window_setup_document):
192 Fixed warnings on reload and probably crash reason.
194 2005-10-12 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
196 * properties/ev-properties-view.c:
197 (ev_properties_view_format_date):
199 Check if date is invalid. Fix for bug 318134.
201 2005-10-02 Wouter Bolsterlee <uws+gnome@xs4all.nl>
203 * shell/ev-window-title.c:
205 Add .indd files (Adobe Indesign) to the list of "bad
208 2005-10-02 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
210 * data/evince-ui.xml:
211 * shell/ev-window.c: (ev_window_set_view_accels_sensitivity):
213 Add <ctrl>KP_Add and <ctrl>KP_Substract bindings.
215 2005-09-27 Christian Persch <chpe@cvs.gnome.org>
217 * shell/ev-window.c: (launch_link), (launch_external_uri),
218 (view_external_link_cb):
220 URL-escape link before passing it to gnome_vfs_url_show.
222 2005-09-27 Carlos Garcia Campos <carlosgc@gnome.org>
224 * shell/ev-view.[ch], shell/ev-window.c: Disable copy action when
225 there isn't text selected.
227 2005-09-27 Marco Pesenti Gritti <mpg@redhat.com>
229 * shell/ev-view.c: (handle_link_over_xy):
231 Check tooltip is valid utf8 before showing it
233 2005-09-27 Carlos Garcia Campos <carlosgc@gnome.org>
235 * shell/ev-view.c: Allow drag and drop of text. Fixes #316772
237 2005-09-27 Christian Persch <chpe@cvs.gnome.org>
239 * shell/ev-window-title.c: (ev_window_title_update):
241 Guard against using g_strstrip on NULL. Fixes bug #317291.
243 2005-09-26 Marco Pesenti Gritti <mpg@redhat.com>
247 Show title even for unknown links
249 2005-09-26 Marco Pesenti Gritti <mpg@redhat.com>
251 * shell/ev-window-title.c: (ev_window_title_update):
253 Strip the title string
255 2005-09-26 Marco Pesenti Gritti <mpg@redhat.com>
257 * shell/ev-window-title.c:
259 Add .rtf to the bad extensions list
261 2005-09-26 Marco Pesenti Gritti <mpg@redhat.com>
263 * shell/ev-view.c: (doc_point_to_view_point), (goto_fitr_link),
264 (goto_fitv_link), (goto_fith_link), (goto_xyz_link):
266 Ignore link coordinates if they are outside page bounds
268 2005-09-26 Marco Pesenti Gritti <mpg@redhat.com>
270 * backend/ev-link.c: (ev_link_type_get_type),
271 (ev_link_get_filename), (ev_link_get_params),
272 (ev_link_get_property), (ev_link_set_property),
273 (ev_window_dispose), (ev_link_class_init), (ev_link_new_launch):
276 * shell/ev-view.c: (ev_view_goto_link), (ev_view_class_init):
277 * shell/ev-window.c: (launch_link), (view_external_link_cb),
280 Implement launch links. Delegate external link opening to
283 2005-09-24 Marco Pesenti Gritti <mpg@redhat.com>
285 * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_bottom),
286 (ev_link_get_right), (ev_link_get_property),
287 (ev_link_set_property), (ev_link_class_init),
288 (ev_link_new_page_fitv), (ev_link_new_page_fitr):
291 * shell/ev-view.c: (goto_fitr_link), (ev_view_goto_link):
295 2005-09-24 Marco Pesenti Gritti <mpg@redhat.com>
297 * shell/ev-view.c: (ev_view_get_width), (ev_view_get_height),
298 (goto_fitv_link), (goto_fith_link), (goto_fit_link),
299 (ev_view_goto_link), (ev_view_size_request_continuous_dual_page),
300 (ev_view_size_request_continuous),
301 (ev_view_size_request_dual_page),
302 (ev_view_size_request_single_page), (ev_view_size_allocate),
303 (ev_view_zoom_for_size_continuous_and_dual_page),
304 (ev_view_zoom_for_size_continuous),
305 (ev_view_zoom_for_size_dual_page),
306 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
307 (ev_sizing_mode_get_type):
309 * shell/ev-window.c: (ev_window_sizing_mode_changed_cb):
311 Do not use modes for link, we need to calculate size ad hoc.
312 Still not perfect because of the usual scrollbar issues grrr.
314 2005-09-24 Marco Pesenti Gritti <mpg@redhat.com>
316 * backend/ev-link.c: (ev_link_type_get_type),
317 (ev_link_new_page_fith), (ev_link_new_page_fitv):
320 * shell/ev-view.c: (goto_fitv_link), (goto_fith_link),
321 (ev_view_goto_link), (ev_view_size_request_continuous_dual_page),
322 (ev_view_size_request_continuous),
323 (ev_view_size_request_dual_page),
324 (ev_view_size_request_single_page), (ev_view_size_allocate),
325 (zoom_for_size_fit_height),
326 (ev_view_zoom_for_size_continuous_and_dual_page),
327 (ev_view_zoom_for_size_continuous),
328 (ev_view_zoom_for_size_dual_page),
329 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
330 (ev_sizing_mode_get_type):
332 * shell/ev-window.c: (ev_window_sizing_mode_changed_cb):
334 Implement FIT_HEIGHT mode (only for links).
337 2005-09-24 Marco Pesenti Gritti <mpg@redhat.com>
339 * shell/ev-window-title.c: (get_filename_from_uri),
340 (ev_window_title_sanitize_extension), (ev_window_title_update),
341 (ev_window_title_set_document), (ev_window_title_set_uri),
342 (ev_window_title_free):
343 * shell/ev-window-title.h:
344 * shell/ev-window.c: (ev_window_setup_document),
345 (ev_window_popup_password_dialog):
347 Refactor window title building while fixing it for
350 2005-09-24 Marco Pesenti Gritti <mpg@redhat.com>
354 Escape link title before setting it in the model
356 2005-09-23 Marco Pesenti Gritti <mpg@redhat.com>
358 * shell/ev-application.c: (removed_from_session), (save_session),
359 (init_session), (ev_application_get_empty_window),
360 (ev_application_init), (ev_application_get_windows):
361 * shell/ev-application.h:
362 * shell/ev-window.c: (ev_window_finalize):
364 Add a function to retrieve window list and share it where
366 Implement session handling, works pretty well thanks to the
369 2005-09-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
371 * shell/ev-password.c: (ev_password_item_created_callback),
372 (ev_password_dialog_save_password):
374 Fix for bug 316972. Use async gnome-keyring API.
376 2005-09-22 Christian Persch <chpe@cvs.gnome.org>
378 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_class_init):
379 Remove unused unrealize handler. Add scroll handling to
380 ev_view_scroll_event for presentation mode (bug #316708),
381 and fix the event state checks there.
383 2005-09-22 Marco Pesenti Gritti <mpg@redhat.com>
385 * shell/ev-page-action.c: (page_changed_cb):
387 "marco, maybe we should be crazy and jump right to 6! :)"
389 Bryan Clark, Sep 2005
391 2005-09-22 Marco Pesenti Gritti <mpg@redhat.com>
393 * ps/ps-document.c: (save_document), (ps_document_save),
394 (ps_document_ps_export_begin), (ps_document_ps_export_do_page),
395 (ps_document_ps_export_end):
397 Fix unstructured documents save and print
399 2005-09-22 Marco Pesenti Gritti <mpg@redhat.com>
401 * shell/ev-application.c: (ev_application_open_uri):
403 Fix window size persistance
405 2005-09-22 Marco Pesenti Gritti <mpg@redhat.com>
407 * shell/ev-view.c: (ev_view_button_release_event):
409 Based on a patch from carlosgc@gnome.org. Mouse buttons
410 switch pages in presentation mode.
412 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
414 * shell/ev-page-cache.c: (ev_page_cache_get_size):
416 Dont cast to int before scaling
418 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
420 * backend/ev-link.c: (ev_link_type_get_type),
421 (ev_link_new_page_xyz), (ev_link_new_page_fit),
422 (ev_link_new_page_fith):
425 * shell/ev-view.c: (goto_fith_link), (ev_view_goto_link):
427 Implement FIT and FITH links
429 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
433 Return 0 results when search is not in progress.
435 * shell/ev-window.c: (ev_window_cmd_go_previous_page),
436 (ev_window_cmd_go_next_page), (find_bar_search_changed_cb):
438 Update menu sensitivity when cancelling search
440 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
442 * shell/ev-view.c: (ev_view_can_find_next):
444 Take all pages in consideration, not just current one
446 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
448 * shell/ev-page-cache.c:
449 * shell/ev-page-cache.h:
450 * shell/ev-view.c: (ev_view_binding_activated),
451 (ev_view_next_page), (ev_view_previous_page),
452 (ev_sizing_mode_get_type):
454 * shell/ev-window.c: (ev_window_cmd_go_previous_page),
455 (ev_window_cmd_go_next_page):
457 Move page next/previous functions from page chace to
458 view and change it to move by 2 page steps in dual mode.
460 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
462 * shell/ev-window.c: (update_sidebar_visibility),
463 (setup_sidebar_from_metadata), (ev_window_setup_document),
464 (setup_view_from_metadata):
466 Show the index by default when there is one
468 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
470 * shell/ev-window-title.c: (ev_window_title_set_document):
474 2005-09-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
476 * shell/ev-view.c: (view_update_range_and_current_page):
478 Allow display of last odd page in dual view. Fix for 316347.
480 2005-09-17 Wouter Bolsterlee <uws+gnome@xs4all.nl>
482 * shell/ev-window.c: (ev_window_cmd_edit_toolbar):
484 Make close button default. Fix for 316383.
486 2005-09-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
488 * shell/ev-properties-dialog.c: (ev_properties_dialog_init):
490 Mark close button as default. Fix for 316381.
492 2005-09-16 Marco Pesenti Gritti <mpg@redhat.com>
494 * backend/ev-link.c: (ev_link_class_init):
496 Allow negative doubles in left/top properties
498 2005-09-16 Marco Pesenti Gritti <mpg@redhat.com>
502 Remove a bunch of strings that was used only
505 2005-09-16 Marco Pesenti Gritti <mpg@redhat.com>
507 * shell/ev-window-title.c: (get_filename_from_uri),
508 (ev_window_title_set_document):
510 When title has a confusing extension, show also
511 the document filename inside ()
513 2005-09-16 Marco Pesenti Gritti <mpg@redhat.com>
516 * shell/ev-window-title.c: (ev_window_title_new),
517 (ev_window_title_update), (ev_window_title_set_type),
518 (ev_window_title_set_document), (ev_window_title_free):
519 * shell/ev-window-title.h:
520 * shell/ev-window.c: (ev_window_setup_document),
521 (password_dialog_response), (ev_window_popup_password_dialog),
522 (ev_window_dispose), (ev_window_init):
524 Factor out and cleanup window title code
526 2005-09-16 Marco Pesenti Gritti <mpg@redhat.com>
528 * shell/ev-window.c: (unable_to_load_dialog_response_cb),
531 Make dialog transient so it doesnt block other windows
533 2005-09-13 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
537 Fix pdf thumbnails rendering.
539 2005-09-13 Wouter Bolsterlee <uws+gnome@xs4all.nl>
541 * shell/ev-window.c: (fullscreen_set_timeout):
543 Increase timeout to hide full screen popup. Bug
546 2005-09-13 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
548 * data/evince.schemas.in:
549 * shell/ev-window.c: (update_action_sensitivity):
551 Allow the user to override document restrictions. Fix for bug
554 2005-09-13 Christian Persch <chpe@cvs.gnome.org>
556 * shell/ev-window.c: (ev_window_update_fullscreen_popup),
557 (ev_window_create_fullscreen_popup), (ev_window_screen_changed),
558 (ev_window_class_init): Fix multihead behaviour of fullscreen
559 toolbar popup. Fixes bug #315451.
561 2005-09-13 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
564 * data/evince-password.glade:
565 * shell/ev-password.c: (ev_password_dialog_set_property),
566 (ev_password_dialog_finalize), (ev_password_dialog_class_init),
567 (ev_password_dialog_init), (ev_password_set_bad_password_label),
568 (ev_password_dialog_entry_changed_cb),
569 (ev_password_dialog_entry_activated_cb),
570 (ev_password_dialog_save_password), (ev_password_keyring_found_cb),
571 (ev_password_search_in_keyring), (ev_password_dialog_get_password),
572 (ev_password_dialog_set_bad_pass):
573 * shell/ev-password.h:
574 * shell/ev-window.c: (password_dialog_response),
575 (ev_window_popup_password_dialog):
577 Support for gnome-keyring for encrypted PDF's.
579 2005-09-11 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
581 * shell/ev-view.c: (handle_link_over_xy), (ev_view_realize),
582 (ev_view_motion_notify_event), (ev_view_leave_notify_event),
583 (ev_view_enter_notify_event), (ev_view_class_init):
585 More precise handling of enter_notify/leave_notify events
586 in EvView. Fix for bug 315470.
588 2005-09-08 Christopher Aillon <caillon@redhat.com>
590 * shell/ev-window.c: (fullscreen_timeout_cb),
591 (fullscreen_set_timeout), (fullscreen_clear_timeout),
594 leak fix: unref fullscreen_timeout_source before clearing it
596 2005-09-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
598 * configure.ac, dvi/mdvi/Makefile.am:
600 Use lt1 instead lt1lib. Thanks to yselkowitz@users.sourceforge.net
602 2005-09-08 Marco Pesenti Gritti <mpg@redhat.com>
604 * backend/ev-link.c: (ev_link_new_page_xyz):
606 * shell/ev-view.c: (goto_xyz_link), (ev_view_goto_link):
608 Fix some bugs with xyz links, respect zoom
610 2005-09-08 Marco Pesenti Gritti <mpg@redhat.com>
612 * shell/ev-window.c: (page_changed_cb),
613 (setup_document_from_metadata), (update_sidebar_visibility),
614 (setup_view_from_metadata), (ev_window_run_fullscreen),
615 (ev_window_stop_fullscreen), (ev_window_run_presentation),
616 (ev_window_stop_presentation), (ev_window_continuous_changed_cb),
617 (ev_window_dual_mode_changed_cb),
618 (ev_window_sidebar_current_page_changed_cb):
620 null check uri before setting and getting metadata
622 2005-09-08 Marco Pesenti Gritti <mpg@redhat.com>
625 * properties/Makefile.am:
627 * thumbnailer/Makefile.am:
629 Some build fixes for cygwin. Patch by yselkowitz@users.sourceforge.net
631 2005-09-08 Marco Pesenti Gritti <mpg@redhat.com>
633 * shell/ev-sidebar-links.c: (ev_sidebar_links_class_init),
634 (selection_changed_callback):
635 * shell/ev-sidebar-links.h:
637 Add a signal for link activation.
639 * shell/ev-view.c: (ev_view_goto_link),
640 (ev_view_button_release_event):
642 * shell/ev-window.c: (sidebar_links_link_activated_cb),
645 Implement the signal so that we can handle all link types.
647 * shell/ev-page-cache.c:
649 Remove unused set_link function
651 2005-09-08 Marco Pesenti Gritti <mpg@redhat.com>
653 * lib/ev-tooltip.c: (ev_tooltip_set_position):
655 Add some space from the cursor, hardcoded but I couldnt
658 2005-09-07 Marco Pesenti Gritti <mpg@redhat.com>
662 Use mozilla style vs gtk style, way better for links.
664 * shell/ev-view.c: (ev_view_motion_notify_event),
665 (ev_view_destroy), (ev_view_init):
667 Deactive tooltip when the link hovered is changed.
669 2005-09-07 Marco Pesenti Gritti <mpg@redhat.com>
671 * backend/ev-document.h:
672 * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_top),
673 (ev_link_get_left), (ev_link_get_zoom), (ev_link_get_property),
674 (ev_link_set_property), (ev_window_dispose), (ev_link_class_init),
675 (ev_link_new_page), (ev_link_new_page_xyz):
678 * shell/ev-view.c: (doc_point_to_view_point), (scroll_to_xyz_link),
679 (go_to_link), (tip_from_link):
681 Implement xyz links, still not functional. Links are a total
682 mess, will need to refactor and bugfix a lot :(
684 2005-09-05 Alessio Frusciante <algol@firenze.linux.it>
686 * configure.ac: Added "it" (Italian) to ALL_LINGUAS.
688 2005-09-05 Marco Pesenti Gritti <mpg@redhat.com>
690 * data/evince-ui.xml:
691 * data/evince.schemas.in:
693 * shell/ev-window.c: (update_chrome_visibility),
694 (password_dialog_response), (ev_window_load_job_cb),
695 (ev_window_xfer_job_cb), (ev_window_open_uri),
696 (ev_window_class_init), (set_chrome_actions), (load_chrome),
699 Remove the statusbar. This regress loading feedback, need to
700 check with Bryan what we want to do there...
702 2005-09-05 Marco Pesenti Gritti <mpg@redhat.com>
704 * lib/ev-tooltip.c: (ev_tooltip_init):
706 Fix tooltip border and size handling
708 2005-09-05 Marco Pesenti Gritti <mpg@redhat.com>
710 * lib/ev-tooltip.c: (ev_tooltip_dispose), (ev_tooltip_class_init),
711 (ev_tooltip_set_position), (ev_tooltip_recently_shown),
712 (ev_tooltip_timeout), (ev_tooltip_activate),
713 (ev_tooltip_deactivate):
715 * shell/ev-view.c: (ev_view_motion_notify_event):
717 Delay popup showing. Mirror gtk logic/times.
719 2005-09-03 Marco Pesenti Gritti <mpg@redhat.com>
722 * lib/ev-tooltip.c: (ev_tooltip_expose_event),
723 (ev_tooltip_class_init), (ev_tooltip_init), (ev_tooltip_new),
724 (ev_tooltip_set_text), (ev_tooltip_set_position):
727 Simple widget to show tooltips at a custom position
729 * shell/ev-view.c: (tip_from_link), (ev_view_motion_notify_event),
732 Use it for links. First go, needs work
734 2005-08-17 Dennis Cranston <dennis_cranston@yahoo.com>
736 * shell/ev-window.c: (ev_window_cmd_edit_toolbar): A couple small
737 HIG fixes. Use title capitalization for window title. Use 12
738 pixels of space between the dialog's vbox and action area.
740 2005-09-02 Marco Pesenti Gritti <mpg@redhat.com>
742 * shell/ev-window.c: (file_open_dialog_response_cb),
743 (ev_window_cmd_file_open), (file_save_dialog_response_cb),
744 (ev_window_cmd_save_as):
746 Make file pickers not modal and refactor code some
748 2005-09-02 Marco Pesenti Gritti <mpg@redhat.com>
750 * shell/ev-sidebar.h:
751 * shell/ev-sidebar.c: (ev_sidebar_set_property),
752 (ev_sidebar_get_current_page), (ev_sidebar_get_property),
753 (ev_sidebar_class_init), (ev_sidebar_select_page),
754 (ev_sidebar_menu_item_activate_cb), (ev_sidebar_new),
755 (ev_sidebar_set_page):
757 Add a current page property and allow to get/set it
759 * shell/ev-window.c: (setup_view_from_metadata),
760 (ev_window_sidebar_current_page_changed_cb), (ev_window_init):
762 Persist current sidebar page per document
764 2005-09-02 Marco Pesenti Gritti <mpg@redhat.com>
766 * data/evince.schemas.in:
767 * shell/ev-window.c: (update_chrome_visibility),
768 (setup_document_from_metadata), (update_sidebar_visibility),
769 (setup_view_from_metadata), (ev_window_sidebar_position_change_cb),
770 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
771 (ev_window_run_presentation), (ev_window_stop_presentation),
772 (ev_window_view_sidebar_cb),
773 (ev_window_sidebar_visibility_changed_cb), (set_chrome_actions),
774 (load_chrome), (ev_window_init):
776 Persist size/visibility of sidebar per document
778 Fri Sep 2 00:59:55 2005 Jonathan Blandford <jrb@redhat.com>
780 * shell/ev-view.c (draw_loading_text): Draw loading text.
782 2005-09-02 Dan Damian <dand@gnome.ro>
784 * configure.in: Added "ro" to ALL_LINGUAS.
786 2005-09-01 Marco Pesenti Gritti <mpg@redhat.com>
788 * shell/ev-view.c: (clear_caches):
790 ev_page_cache_get doesnt return a reference,
791 dont try to unref it.
793 2005-09-01 Marco Pesenti Gritti <mpg@redhat.com>
795 * shell/main.c: (load_files_remote):
797 Fix timestamp parameter with dbus <= 0.33
799 2005-08-31 Marco Pesenti Gritti <mpg@redhat.com>
801 * data/evince.schemas.in:
803 Add missing full stop
805 2005-08-31 Hiroyuki Ikezoe <poincare@ikezoe.net>
807 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info):
808 * shell/ev-window.c: (ev_window_print_range), (ev_window_dispose):
810 Plug some memory leaks
812 2005-08-29 Christian Persch <chpe@cvs.gnome.org>
815 * lib/ev-debug.c: (trap_handler):
817 Check for execinfo.h and use it only if it exists.
818 Ported from Epiphany (bug #314776).
820 2005-08-29 Duarte Loreto <happyguy_pt@hotmail.com>
822 * configure.ac: Added Portuguese (pt) to ALL_LINGUAS.
824 2005-08-27 Mohammad DAMT <mdamt@gnome.org>
826 * configure.ac: Added Indonesian "id" to ALL_LINGUAS
827 * po/id.po : Added Indonesian translation
829 Fri Aug 26 00:45:09 2005 Jonathan Blandford <jrb@redhat.com>
832 * shell/ev-application.c: Last minute GTK-2.6 fixes.
833 * NEWS: Release 0.4.0
835 Thu Aug 25 23:40:23 2005 Jonathan Blandford <jrb@redhat.com>
837 * configure.ac: catch another gtk+-2.8ism
838 * shell/main.c: Make work with gtk+-2.6
840 2005-08-25 Ryan Lortie <desrt@desrt.ca>
842 * shell/ev-application-service.xml: Add 'timestamp' argument to
843 ev_application_open_window and ev_application_open_uri methods.
845 * shell/ev-application.h: Add 'timestamp' argument to
846 ev_application_open_window, ev_application_open_uri,
847 and ev_application_open_uri_list functions.
849 * shell/ev-application.c (ev_application_open_window,
850 ev_application_open_uri, ev_application_open_uri_list): Change
851 functions that show/present windows to use a timestamp if one
854 * shell/ev-window.c (ev_window_cmd_file_open,
855 ev_window_cmd_recent_file_activate, drag_data_received_cb):
856 * shell/main.c (load_files): Modify calls to ev_application to
857 include GDK_CURRENT_TIME as timestamp.
859 * shell/main.c (load_files_remote): Obtain timestamp for client
860 instance from GDK and pass to server instance so new windows are
861 focused properly. Fix dbus_g_proxy_call() calls by including second
866 Thu Aug 25 22:13:08 2005 Jonathan Blandford <jrb@redhat.com>
868 * shell/ev-window.c (ev_window_finalize): Check for
869 avail. EvWindows when quiting to handle the finalize better,
872 2005-08-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
874 * properties/ev-properties-view.c:
876 Set textdomain to libglade. Fixes translation problem in property page.
878 2005-08-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
880 * djvu/djvu-document.c: (djvu_document_thumbnails_get_thumbnail):
882 * dvi/dvi-document.c: (dvi_document_thumbnails_get_thumbnail):
883 * dvi/mdvi-lib/Makefile.am:
885 Fix rotation of thumbnails, ported to new API. Moved library
886 dependencies earlier, probably it will fix linkage problem.
888 Thu Aug 25 02:32:32 2005 Jonathan Blandford <jrb@redhat.com>
890 * backend/ev-document-misc.c:
891 (ev_document_misc_get_thumbnail_frame):
892 * backend/ev-document-misc.h:
896 * shell/ev-sidebar-thumbnails.c: (add_range),
897 (ev_sidebar_thumbnails_set_loading_icon),
898 (ev_sidebar_thumbnails_refresh),
899 (ev_sidebar_thumbnails_set_document):
900 * shell/ev-sidebar-thumbnails.h:
901 * shell/ev-view.c: (ev_view_motion_notify_event),
902 (ev_view_set_property), (ev_view_get_property),
903 (ev_view_class_init), (ev_view_set_rotation):
904 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
905 (ev_window_cmd_edit_rotate_right), (ev_window_rotation_changed_cb),
907 * tiff/tiff-document.c: (tiff_document_thumbnails_get_thumbnail):
908 Redo rotation (again). prepare for 0.4.0
910 2005-08-24 Kristian Høgsberg <krh@redhat.com>
912 * configure.ac: Bump poppler requirement to 0.4.1.
914 * pdf/ev-poppler.cc (pdf_selection_render_selection): Add rotation
915 argument to poppler_page_render_selection() call.
917 2005-08-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
919 * djvu/djvu-document.c: (djvu_document_render_pixbuf),
920 (djvu_document_thumbnails_get_thumbnail):
921 * dvi/dvi-document.c: (dvi_document_render_pixbuf),
922 (dvi_document_thumbnails_get_thumbnail):
923 * pixbuf/pixbuf-document.c: (pixbuf_document_render_pixbuf),
924 (pixbuf_document_thumbnails_get_thumbnail):
925 * tiff/tiff-document.c: (tiff_document_render_pixbuf):
927 Update rotation direction of backends to fit with pdf and ps.
929 2005-08-24 Marco Pesenti Gritti <mpg@redhat.com>
931 * backend/ev-async-renderer.c: (ev_async_renderer_render_pixbuf):
932 * backend/ev-async-renderer.h:
933 * ps/ps-document.c: (ps_document_init), (setup_pixmap),
934 (setup_page), (ps_document_get_page_size),
935 (ps_async_renderer_render_pixbuf):
937 * shell/ev-jobs.c: (ev_job_render_run):
939 Fix orientation in the postscript document
941 2005-08-23 Marco Pesenti Gritti <mpg@redhat.com>
944 * ps/ps-document.c: (push_pixbuf), (ps_document_widget_event):
945 * shell/ev-view.c: (highlight_find_results):
947 Adapt to the new poppler rotation API. Fix text maps on landscape
950 Sat Aug 20 17:13:48 2005 Jonathan Blandford <jrb@redhat.com>
952 * shell/ev-view.c (compute_new_selection_text): get the correct
953 region when selecting in modes other than continuous.
955 Sat Aug 20 13:10:01 2005 Jonathan Blandford <jrb@redhat.com>
957 * shell/main.c (main): remove redundant g_warnings.
959 2005-08-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
961 * shell/Makefile.am: Don't include autogenerated
962 file ev-application-service.h into distribution, since
963 it causes dbus crash. Fix for bugs 313724 and 313443.
965 2005-08-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
967 * configure.ac: Fix sed expression for FreeBSD. Thanks
968 to Joe Marcus Clark <marcus@freebsd.org>
970 * shell/eggfindbar.c: (entry_activate_callback),
971 (entry_changed_callback), (egg_find_bar_init),
972 (egg_find_bar_set_search_string):
974 Made findbar buttons unsensitive if there is no text in
975 entry. Fix for the bug 313285.
977 2005-08-17 Carlos Garcia Campos <carlosgc@gnome.org>
979 * ps/ps-document.c: Use g_filename_display_name for displaying
980 filenames and revert string freeze breackage
982 2005-08-17 Marco Pesenti Gritti <mpg@redhat.com>
991 Add ev-application-service.xml to extra dist
993 * shell/ev-view.c: (find_page_at_location):
995 Remove unused function (fix warning)
997 2005-08-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
999 * dvi/mdvi-lib/t1.c: (t1_reset_resolution), (t1_really_load_font),
1000 (t1_load_font), (t1_glyph_bitmap), (t1_font_remove):
1002 Fix warnings and compilation with t1lib-5.0 and newer. Fix for
1005 2005-08-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1007 * shell/ev-utils.c: (set_umask_permissions), (write_to_temp_file):
1008 * shell/ev-window.c:
1011 2005-08-16 Carlos Garcia Campos <carlosgc@gnome.org>
1013 * configure.ac: Update script to get dbus version.
1014 Fix for the bug #313443.
1016 2005-08-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1018 * shell/ev-window.c: (ev_window_cmd_escape):
1020 Return focus back to view on escape. Fix for bug 313295.
1022 2005-08-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1024 * shell/ev-window.c: (update_window_title),
1025 (ev_window_popup_password_dialog), (ev_window_load_job_cb),
1026 (ev_window_cmd_save_as):
1028 Correct conversion from uri to displayable string. Fix for
1031 2005-08-16 Carlos Garcia Campos <carlosgc@gnome.org>
1033 * ps/ps-document.c: convert filename to utf8 when there is an error
1034 loading document. Fixes #309915
1036 2005-08-16 Marco Pesenti Gritti <mpg@redhat.com>
1040 We depend on poppler 0.4.0
1042 Mon Aug 15 21:53:05 2005 Jonathan Blandford <jrb@redhat.com>
1045 * NEWS: Release 0.3.3.
1046 * thumbnailer/evince-thumbnailer.c: Remove pdf icon.
1048 2005-08-14 Dennis Cranston <dennis_cranston@yahoo.com>
1050 * shell/ev-window.c: (ev_window_cmd_file_open): HIG fixes:
1051 add a couple missing mnemonics to menu items, use title
1052 capitalization for menu items and window titles, and add
1053 ellipsis to open menu item.
1055 Mon Aug 15 00:40:21 2005 Jonathan Blandford <jrb@redhat.com>
1057 * pdf/ev-poppler.cc:
1058 * shell/ev-metadata-manager.c: (ev_metadata_manager_init):
1059 * shell/ev-view.c: (ev_view_rotate_left), (ev_view_set_rotation),
1060 (ev_view_get_rotation):
1062 * shell/ev-window.c: (setup_view_from_metadata),
1063 (save_rotation_to_file), (ev_window_cmd_edit_rotate_left),
1064 (ev_window_cmd_edit_rotate_right): Fix rotation. Save it to
1067 2005-08-14 Baris Cicek <baris@teamforce.name.tr>
1069 * configure.ac: Added tr to ALL_LINGUAS
1071 2005-08-12 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1073 * shell/ev-view.c: Fix for bug Bug 311838. Search backward
1074 requires several clicks to find word. Thanks to
1075 Colin Slater <kiltedtaco@gmail.com>.
1077 2005-08-11 Bryan Clark <clarkbw@cvs.gnome.org>
1079 * data/evince.desktop.in.in: Hide menu entry and
1080 rename it to "Document Viewer". Fix for bug
1083 2005-08-11 Crispin Flowerday <gnome@flowerday.cx>
1085 * shell/ev-page-action.c (ev_page_action_class_init):
1087 Point to the correct function in constructor of the
1088 activate_label signal
1090 Tue Aug 9 02:17:13 2005 Jonathan Blandford <jrb@redhat.com>
1092 * shell/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
1093 * shell/ev-jobs.h: Make thread safe.
1095 2005-08-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1097 * shell/ev-view.c: (view_update_range_and_current_page):
1098 Don't update page range if we are scrolling to some document
1101 2005-08-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1103 * shell/ev-view.c: (get_page_extents): reverse rotation/scale
1104 when getting max_page_width, fix drawing in dual mode.
1106 Sun Aug 7 02:06:08 2005 Jonathan Blandford <jrb@redhat.com>
1108 * shell/ev-view.c (ev_view_select_all): reverse rotation/page when
1109 getting the area for select_all.
1111 2005-08-06 Kristian Høgsberg <krh@redhat.com>
1113 * backend/ev-selection.c: (ev_selection_render_selection):
1114 * backend/ev-selection.h:
1115 * pdf/ev-poppler.cc:
1116 * shell/ev-jobs.c: (ev_job_render_new):
1118 * shell/ev-pixbuf-cache.c: (get_selection_colors),
1119 (add_job_if_needed), (ev_pixbuf_cache_get_selection_pixbuf):
1120 * shell/ev-view.c: (ev_view_focus_in), (ev_view_focus_out),
1121 (ev_view_class_init):
1123 Change selection color on focus in and focus out events. Also,
1124 poppler now uses GdkColor for specifying the selection colors, so
1125 drop some awkward conversion code.
1127 2005-08-06 Yair Hershkovitz <yairhr@gmail.com>
1129 * configure.ac: Added Hebrew translation
1131 Sat Aug 6 01:12:44 2005 Jonathan Blandford <jrb@redhat.com>
1134 * backend/ev-selection.c: (ev_selection_render_selection):
1135 * backend/ev-selection.h:
1136 * pdf/ev-poppler.cc:
1137 * shell/ev-jobs.c: (ev_job_render_dispose), (ev_job_render_new),
1138 (ev_job_render_run):
1140 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info),
1141 (ev_pixbuf_cache_new), (job_finished_cb), (add_job_if_needed),
1142 (convert_gdk_color_to_uint), (ev_pixbuf_cache_get_text_mapping),
1143 (ev_pixbuf_cache_style_changed),
1144 (ev_pixbuf_cache_get_selection_pixbuf),
1145 (ev_pixbuf_cache_set_selection_list),
1146 (ev_pixbuf_cache_get_selection_list):
1147 * shell/ev-pixbuf-cache.h:
1148 * shell/ev-utils.c: (ev_print_region_contents):
1150 * shell/ev-view.c: (ev_view_queue_draw_page),
1151 (selection_update_idle_cb), (ev_view_motion_notify_event),
1152 (ev_view_style_set), (draw_one_page), (ev_view_class_init),
1153 (setup_caches), (ev_view_find_next), (merge_selection_region),
1155 * shell/ev-window.c: (ev_window_update_fullscreen_popup):
1157 Clean up selection to be much smoother!
1159 2005-08-05 Kristian Høgsberg <krh@redhat.com>
1161 * pdf/ev-poppler.cc (pdf_selection_render_selection): Pass colors
1162 to poppler_page_render_selection().
1164 2005-08-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1166 * ps/ps-document.c: (save_page_list): Use
1167 unzipped document when printing. Thanks to
1168 Colin Slater <kiltedtaco@gmail.com>. Fix for bug
1171 2005-08-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1173 * shell/ev-window.c: (update_action_sensitivity):
1175 Disable print and save respect to lockdown gconf keys. Fix
1178 2005-08-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1181 * shell/ev-utils.c: (rename_file), (set_umask_permissions),
1182 (write_to_temp_file), (ev_file_set_contents):
1184 * shell/ev-window.c: (save_print_config_to_file):
1186 Copy-paste g_file_set_contents to keep compatibility with gtk 2.6
1189 2005-07-31 Christian Persch <chpe@cvs.gnome.org>
1191 * shell/ev-window.c: (load_print_config_from_file),
1192 (save_print_config_to_file), (ev_window_print_range):
1194 Persist the print settings. Fixes bug #311578.
1196 2005-07-31 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1198 * djvu/djvu-document.c: (djvu_document_get_page_size),
1199 (djvu_document_render_pixbuf), (djvu_document_document_iface_init),
1200 (djvu_document_thumbnails_get_thumbnail):
1201 * dvi/dvi-document.c: (dvi_document_get_page_size),
1202 (dvi_document_render_pixbuf), (dvi_document_document_iface_init),
1203 (dvi_document_thumbnails_get_dimensions),
1204 (dvi_document_thumbnails_get_thumbnail):
1205 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size),
1206 (pixbuf_document_render_pixbuf),
1207 (pixbuf_document_document_iface_init),
1208 (pixbuf_document_thumbnails_get_thumbnail):
1210 Update backends to make them build with new rotation system.
1212 2005-07-31 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1214 * help/C/figures/evince_start_window.png:
1216 Update documentation image from Luca Ferretti <elle.uca@libero.it>
1218 Sat Jul 30 19:09:34 2005 Jonathan Blandford <jrb@redhat.com>
1220 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_clear):
1221 * shell/ev-pixbuf-cache.h:
1222 * shell/ev-sidebar-thumbnails.c:
1223 (ev_sidebar_thumbnails_get_property), (add_range),
1224 (adjustment_changed_cb):
1225 * shell/ev-view.c: (ev_view_set_rotation): Fix rotation and the
1226 pixbuf cache. Make thumbnailing work again. Also, fix bug where
1227 we were thumbnailing the entire docment on startup, slowing us
1230 Fri Jul 29 23:14:28 2005 Jonathan Blandford <jrb@redhat.com>
1232 * shell/ev-page-cache.c: (ev_page_cache_new):
1233 * shell/ev-window.c: (update_action_sensitivity): Handle n_pages
1234 == 0, fixes #310306.
1236 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
1238 * shell/ev-view.c: (doc_rect_to_view_rect), (ev_view_rotate_right),
1239 (ev_view_rotate_left):
1241 Account rotation in doc_rect_to_view_rect.
1242 Ensure rotation doesnt go out of bounds.
1244 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
1246 * shell/ev-page-cache.c: (ev_page_cache_get_size):
1248 Correct and cleanup w/h swapping
1250 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
1252 * backend/ev-document-thumbnails.c:
1253 (ev_document_thumbnails_get_thumbnail):
1254 * backend/ev-document-thumbnails.h:
1255 * backend/ev-document.c:
1256 * backend/ev-document.h:
1257 * backend/ev-render-context.c: (ev_render_context_new),
1258 (ev_render_context_set_rotation):
1259 * backend/ev-render-context.h:
1260 * pdf/ev-poppler.cc:
1261 * ps/ps-document.c: (ps_document_document_iface_init):
1262 * shell/ev-jobs.c: (ev_job_thumbnail_new), (ev_job_thumbnail_run):
1264 * shell/ev-page-cache.c: (build_height_to_page),
1265 (ev_page_cache_new), (ev_page_cache_get_size),
1266 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
1267 (ev_page_cache_get_height_to_page):
1268 * shell/ev-page-cache.h:
1269 * shell/ev-pixbuf-cache.c: (check_job_size_and_unref),
1270 (add_job_if_needed), (ev_pixbuf_cache_add_jobs_if_needed),
1271 (ev_pixbuf_cache_set_page_range), (new_selection_pixbuf_needed),
1272 (ev_pixbuf_cache_get_selection_pixbuf):
1273 * shell/ev-pixbuf-cache.h:
1274 * shell/ev-print-job.c: (idle_print_handler):
1275 * shell/ev-sidebar-thumbnails.c: (add_range):
1276 * shell/ev-view.c: (view_update_range_and_current_page),
1277 (get_page_y_offset), (get_page_extents),
1278 (ev_view_size_request_continuous_dual_page),
1279 (ev_view_size_request_continuous),
1280 (ev_view_size_request_dual_page),
1281 (ev_view_size_request_single_page), (draw_one_page),
1282 (ev_view_set_rotation), (ev_view_rotate_right),
1283 (ev_view_rotate_left), (ev_view_zoom_for_size_presentation),
1284 (ev_view_zoom_for_size_continuous_and_dual_page),
1285 (ev_view_zoom_for_size_continuous),
1286 (ev_view_zoom_for_size_dual_page),
1287 (ev_view_zoom_for_size_single_page), (compute_new_selection_text),
1288 (ev_view_select_all):
1289 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
1290 * tiff/tiff-document.c: (tiff_document_render_pixbuf),
1291 (tiff_document_document_iface_init),
1292 (tiff_document_thumbnails_get_thumbnail):
1294 Use rotation rather than orientation. It's easier and enough
1297 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
1299 * shell/ev-page-cache.c: (build_height_to_page),
1300 (ev_page_cache_new), (ev_page_cache_get_size),
1301 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
1302 (ev_page_cache_get_height_to_page):
1303 * shell/ev-page-cache.h:
1304 * shell/ev-view.c: (get_page_y_offset), (get_page_extents),
1305 (ev_view_size_request_continuous_dual_page),
1306 (ev_view_size_request_continuous),
1307 (ev_view_zoom_for_size_continuous_and_dual_page),
1308 (ev_view_zoom_for_size_continuous):
1310 Make the page cache aware of page orientation.
1312 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
1314 * backend/ev-document-thumbnails.c:
1315 (ev_document_thumbnails_get_thumbnail):
1316 * backend/ev-document-thumbnails.h:
1317 * backend/ev-document.c:
1318 * backend/ev-document.h:
1319 * backend/ev-ps-exporter.c: (ev_ps_exporter_do_page):
1320 * backend/ev-ps-exporter.h:
1321 * pdf/ev-poppler.cc:
1322 * ps/ps-document.c: (ps_document_document_iface_init),
1323 (ps_document_ps_export_do_page):
1324 * shell/ev-jobs.c: (ev_job_thumbnail_new), (ev_job_thumbnail_run):
1326 * shell/ev-page-cache.c: (ev_page_cache_get_size),
1327 (ev_page_cache_get):
1328 * shell/ev-page-cache.h:
1329 * shell/ev-pixbuf-cache.c: (check_job_size_and_unref),
1330 (add_job_if_needed), (ev_pixbuf_cache_add_jobs_if_needed),
1331 (ev_pixbuf_cache_set_page_range), (new_selection_pixbuf_needed):
1332 * shell/ev-pixbuf-cache.h:
1333 * shell/ev-print-job.c: (idle_print_handler):
1334 * shell/ev-sidebar-thumbnails.c: (add_range):
1335 * shell/ev-view.c: (view_update_range_and_current_page),
1336 (get_page_extents), (ev_view_size_request_dual_page),
1337 (ev_view_size_request_single_page), (draw_one_page),
1338 (clear_caches), (ev_view_set_orientation), (ev_view_rotate_right),
1339 (ev_view_rotate_left), (ev_view_zoom_for_size_presentation),
1340 (ev_view_zoom_for_size_dual_page),
1341 (ev_view_zoom_for_size_single_page), (compute_new_selection_text),
1342 (ev_view_select_all):
1343 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
1344 * tiff/tiff-document.c: (tiff_document_get_page_size),
1345 (tiff_document_get_orientation), (rotate_pixbuf),
1346 (tiff_document_render_pixbuf), (tiff_document_document_iface_init),
1347 (tiff_document_thumbnails_get_thumbnail),
1348 (tiff_document_ps_export_do_page), (tiff_document_init):
1350 Really make use of the orientation bit of the render context.
1351 Use the render context in a few more places in the backend API.
1352 This regress orientation, but now it's done right. Will try to
1355 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
1357 * shell/ev-view.c: (ensure_rectangle_is_visible):
1359 Patch by Nickolay V. Shmyrev to fix find flickering
1361 2005-07-27 Martin Kretzschmar <martink@gnome.org>
1363 * backend/ev-ps-exporter.h: add paper_width, paper_height, and
1364 duplex parameters to ::begin.
1366 * tiff/tiff-document.c (tiff_document_ps_export_begin):
1367 * shell/ev-print-job.c (idle_print_handler):
1368 * ps/ps-document.c (ps_document_ps_export_begin):
1369 * pdf/ev-poppler.cc (pdf_document_ps_exporter_begin):
1370 * backend/ev-ps-exporter.c (ev_ps_exporter_begin): update
1371 implementations. Poppler backend needs poppler cvs. Rest has
1374 2005-07-25 Martin Kretzschmar <martink@gnome.org>
1376 * shell/ev-window.c (using_pdf_printer): new function.
1377 (ev_window_print_range): print a less techy message if someone
1378 tries to print to PDF.
1380 2005-07-25 Martin Kretzschmar <martink@gnome.org>
1382 * pdf/ev-poppler.cc (font_type_to_string): Remove trailing space
1383 from "unknown font" string. Bug #311431
1385 2005-07-24 Martin Kretzschmar <martink@gnome.org>
1387 * help/es/.cvsignore, help/sr/.cvsignore: ignore xmlpo output.
1389 2005-07-24 Martin Kretzschmar <martink@gnome.org>
1393 * pdf/ev-poppler.cc (font_type_to_string): new, returns user readable
1394 name for PopplerFontTypes
1395 (pdf_document_fonts_fill_model): add font type to the detail column
1397 * backend/ev-document-fonts.h: added
1398 EV_DOCUMENT_FONTS_COLUMN_DETAILS.
1400 * shell/ev-properties-fonts.c (font_cell_data_func): glue together
1401 font name and font details, add a little markup.
1402 (ev_properties_fonts_init): use the new cell data func, specify ypad
1403 property for the cell renderer.
1404 (ev_properties_fonts_set_document): add the details column.
1406 2005-07-24 Artur Flinta <aflinta@cvs.gnome.org>
1408 * configure.ac: Added "pl" to ALL_LINGUAS.
1410 2005-07-24 Danilo Šegan <danilo@gnome.org>
1412 * configure.ac: Added "sr" and "sr@Latn" to ALL_LINGUAS.
1414 2005-07-23 Tommi Vainikainen <thv@iki.fi>
1416 * help/ChangeLog: Started this for translations of manual.
1417 * configure.ac, autogen.sh, .cvsignore: Migrated to
1418 gnome-doc-utils. Patch in bug #311222.
1420 2005-07-22 Martin Kretzschmar <martink@gnome.org>
1422 * backend/ev-document-factory.c (mime_type_supported_by_gdk_pixbuf):
1423 #ifdef this away to fix an unused-function warning.
1425 2005-07-22 Ignacio Casal Quinteiro <nacho.resa@gmail.com>
1427 * configure.ac: Added 'gl' to ALL_LINGUAS.
1429 2005-07-22 Pawan Chitrakar <pawan@nplinux.org>
1431 * configure.ac: Added ne in ALL_LINGUAS
1433 2005-07-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1435 * shell/ev-view.c: (ev_view_leave_notify_event):
1437 Clear status message when pointer leaves view. Fix for bug
1440 2005-07-20 Ankit Patel <ankit644@yahoo.com>
1442 * configure.ac: Gujarati (gu) added to ALL_LINGUAS
1444 2005-07-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1446 * shell/ev-view.c: (ev_view_leave_notify_event),
1447 (ev_view_class_init):
1449 Set cursor to normal then leaving view.
1451 2005-07-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1455 Fix required djvulibre version.
1457 2005-07-15 Rajesh Ranjan <rajeshkajha@yahoo.com>
1459 *configure.ac: Hindi (hi) language added
1461 2005-07-15 Amanpreet Singh Brar <amanpreetalam@yahoo.com>
1463 *configure.ac: Punjabi (pa) Language added
1465 2005-07-12 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1467 * data/evince-ui.xml, shell/ev-window.c:
1469 Add keypad accelerators for zooming. Fix for bug 308128.
1471 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
1474 * backend/Makefile.am:
1475 * backend/ev-document-factory.c: (ev_document_type_get_from_mime):
1477 * shell/ev-document-types.c: (ev_document_types_add_filters):
1479 Allow to enable/disable the pixbuf backend.
1480 Default to off for now. If we want it enabled we should
1481 really put mime types in the desktop, implement properties etc.
1483 * properties/evince-properties.c:
1485 Initialize error to NULL.
1486 Check error is not NULL before freeing.
1488 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
1490 * shell/ev-window.c:
1492 Use F5 as presentation accell
1494 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
1496 * shell/ev-window.c: (update_chrome_visibility),
1497 (ev_window_create_fullscreen_popup), (ev_window_init):
1499 Do not leak the fullscreen toolbar
1501 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
1503 * shell/ev-window.c: (view_actions_focus_in_cb),
1504 (view_actions_focus_out_cb):
1506 These has a return value! Fix totally random focus
1507 issues we was seeing.
1509 2005-07-11 Carlos Garcia Campos <carlosgc@gnome.org>
1511 * shell/main.c: (load_files_remote):
1513 Allow open more than one file
1515 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
1517 * shell/main.c: (load_files_remote):
1519 Fix for dbus 0.33. bug #309975
1521 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
1523 * properties/ev-properties-main.c: (ev_properties_get_pages):
1525 Actually return NULL for types we dont support
1527 2005-07-08 Christian Persch <chpe@cvs.gnome.org>
1533 2005-07-08 Marco Pesenti Gritti <marco@gnome.org>
1535 * backend/ev-document-factory.c:
1536 (ev_document_factory_get_document):
1538 Do not try to create the object if type
1541 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
1543 * ps/ps-document.c: (ps_document_dispose),
1544 (ps_async_renderer_render_pixbuf):
1547 Do not leak the target window
1549 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
1551 * shell/ev-application.c: (ev_application_init):
1553 Let tbe check file existence for us.
1554 Add a comment about eggrecent mime filter.
1556 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
1558 * data/evince-ui.xml:
1559 * shell/ev-application.c: (ev_application_shutdown),
1560 (ev_application_init), (ev_application_get_toolbars_model),
1561 (ev_application_get_recent_model),
1562 (ev_application_save_toolbars_model):
1563 * shell/ev-application.h:
1564 * shell/ev-window.c: (ev_window_add_recent),
1565 (ev_window_setup_recent), (ev_window_cmd_edit_toolbar_cb),
1566 (ev_window_cmd_edit_toolbar), (ev_window_dispose),
1569 Use common toolbar and recent models for all windows.
1570 Patch by Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1572 Thu Jul 7 23:10:01 2005 Jonathan Blandford <jrb@redhat.com>
1574 * configure.ac: add FRONTEND_CORE_LIBS to evince_save_LIBS so we
1575 successfully check for gtk_icon_view_get_visible_range.
1577 2005-07-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1582 Fix djvu and dvi backend build.
1584 2005-07-07 Christian Persch <chpe@cvs.gnome.org>
1586 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c: (new_pixbuf_from_widget),
1587 (new_separator_pixbuf):
1591 2005-07-07 Christian Persch <chpe@cvs.gnome.org>
1593 * shell/ev-window.c: (ev_window_cmd_edit_toolbar):
1595 HIGification of toolbar editor dialogue.
1597 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1600 * shell/Makefile.am:
1602 Ever build metadata manager since it's just
1603 disabled at runtime now.
1605 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1607 * shell/ev-metadata-manager.c: (ev_metadata_manager_init),
1608 (ev_metadata_manager_get), (ev_metadata_manager_set):
1609 * shell/ev-metadata-manager.h:
1611 Add an _init functions that enabled metadata management
1614 * shell/ev-window.c: (page_changed_cb),
1615 (setup_document_from_metadata), (ev_window_setup_document),
1616 (setup_view_from_metadata), (ev_window_open_uri),
1617 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
1618 (ev_window_run_presentation), (ev_window_stop_presentation),
1619 (save_sizing_mode), (ev_window_zoom_changed_cb),
1620 (ev_window_continuous_changed_cb),
1621 (ev_window_dual_mode_changed_cb), (window_state_event_cb),
1622 (window_configure_event_cb):
1624 Remove all ugly metadata define since we deal with it
1627 * shell/main.c: (load_files_remote), (main):
1629 Add support for dbus cvs head. Hopefully didnt break one
1630 of the other versions now!
1632 If we dont get a response from the dbus server just
1633 give up with it and not enable metadata.
1635 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1638 * backend/Makefile.am:
1640 * cut-n-paste/recent-files/Makefile.am:
1641 * cut-n-paste/toolbar-editor/Makefile.am:
1642 * cut-n-paste/zoom-control/Makefile.am:
1645 * pixbuf/Makefile.am:
1646 * properties/Makefile.am:
1648 * shell/Makefile.am:
1649 * thumbnailer/Makefile.am:
1652 Make frontends depend on just libev.
1653 Rework and group CFLAGS/LIBS definitions.
1656 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1660 do not unnecessarily save zoom
1663 * lib/ev-file-helpers.c: (ev_dot_dir):
1664 * shell/Makefile.am:
1669 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1673 Remove unnecessary dependencies
1675 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1677 * properties/Makefile.am:
1678 * thumbnailer/Makefile.am:
1681 Some more cleanups. Was really necessary
1682 but I probably introduced bugs, feel free
1685 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1687 * backend/Makefile.am:
1689 * cut-n-paste/recent-files/Makefile.am:
1690 * cut-n-paste/toolbar-editor/Makefile.am:
1691 * cut-n-paste/zoom-control/Makefile.am:
1694 * pixbuf/Makefile.am:
1695 * properties/Makefile.am:
1697 * shell/Makefile.am:
1698 * thumbnailer/Makefile.am:
1701 Use gnome-common macros when possible.
1702 Cleanup dependencies.
1703 Actually disable deprecated where possible.
1705 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1708 * backend/Makefile.am:
1709 * properties/Makefile.am:
1710 * shell/Makefile.am:
1711 * thumbnailer/Makefile.am:
1713 This should solve the circular dep without
1714 requiring dir reorg!
1716 * shell/ev-window.c: (setup_view_from_metadata):
1718 Never restore window size/position when the
1719 window is already visible.
1721 2005-07-06 Christian Persch <chpe@cvs.gnome.org>
1723 * shell/ev-metadata-manager.c: (ev_metadata_manager_save):
1725 Return a boolean from timeout func. Fix ported from gedit.
1727 2005-07-07 Iñaki Larrañaga <dooteo@euskalgnu.org>
1729 * configure.ac: Added "eu" (Basque) to ALL_LINGUAS.
1731 2005-07-06 Carlos Garcia Campos <carlosgc@gnome.org>
1733 * shell/ev-document-types.c: set "All Documents" as default filter in
1736 2005-07-06 Martin Kretzschmar <martink@gnome.org>
1738 * shell/ev-metadata-manager.c (ev_metadata_manager_set_int)
1739 (ev_metadata_manager_set_double, ev_metadata_manager_set_string)
1740 (ev_metadata_manager_set_boolean): fix value/val thinko.
1742 2005-07-06 Marco Pesenti Gritti <mpg@redhat.com>
1744 * shell/ev-window.c: (setup_view_from_metadata),
1745 (window_state_event_cb), (window_configure_event_cb),
1748 Remember window position and maximized state
1750 2005-07-06 Christian Persch <chpe@cvs.gnome.org>
1754 Fix DBUS configure checks.
1756 * shell/ev-metadata-manager.c: (ev_metadata_manager_set_int),
1757 (ev_metadata_manager_set_double), (ev_metadata_manager_set_string),
1758 (ev_metadata_manager_set_boolean):
1762 * shell/ev-window.c: (page_changed_cb), (ev_window_run_fullscreen),
1763 (ev_window_stop_fullscreen), (ev_window_run_presentation),
1764 (ev_window_stop_presentation), (ev_window_zoom_changed_cb),
1765 (ev_window_continuous_changed_cb),
1766 (ev_window_dual_mode_changed_cb), (ev_window_new):
1768 Fix the build without DBUS.
1770 2005-07-06 Marco Pesenti Gritti <mpg@redhat.com>
1772 * shell/ev-metadata-manager.c: (parse_value), (save_values),
1773 (ev_metadata_manager_set_int), (ev_metadata_manager_set_double),
1774 (ev_metadata_manager_set_string),
1775 (ev_metadata_manager_set_boolean):
1776 * shell/ev-metadata-manager.h:
1778 Add support for some more types
1780 * shell/ev-view.c: (scroll_to_current_page),
1781 (ev_view_get_continuous), (ev_view_set_continuous),
1782 (ev_view_get_dual_page):
1784 * shell/ev-window.c: (page_changed_cb),
1785 (setup_document_from_metadata), (ev_window_setup_document),
1786 (setup_view_from_metadata), (ev_window_open_uri),
1787 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
1788 (ev_window_run_presentation), (ev_window_stop_presentation),
1789 (save_sizing_mode), (ev_window_sizing_mode_changed_cb),
1790 (ev_window_zoom_changed_cb), (ev_window_update_continuous_action),
1791 (ev_window_update_dual_page_action),
1792 (ev_window_continuous_changed_cb),
1793 (ev_window_dual_mode_changed_cb), (ev_window_init):
1795 Remember a bunch of view/document properties. Prolly some
1796 are still missing but it's getting interesting.
1798 2005-07-05 Martin Kretzschmar <martink@gnome.org>
1800 * configure.ac: check if dbus-binding-tool is installed. Not the
1801 case on current Ubuntu breezy, it seems.
1803 2005-07-05 Luca Ferretti <elle.uca@libero.it>
1805 * data/evince.desktop.in.in:
1807 Allow open uri lists and add TryExec field.
1809 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
1813 Enable dbus when available, do not require a configure
1816 2005-07-05 Christian Persch <chpe@cvs.gnome.org>
1820 Use AM_CONDITIONAL unconditionally, fixes the build with DBUS
1823 2005-07-05 Carlos Garcia Campos <carlosgc@gnome.org>
1824 Marco Pesenti Gritti <mpg@redhat.com>
1826 * shell/Makefile.am: Add --prefix for dbus-binding-tool script
1828 * shell/ev-application.[ch], shell/ev-window.c: change dbus RPC
1829 functions to the format required by dbus
1831 * shell/main.c: use G_TYPE instead of DBUS_TYPE to fix compilation
1832 errors. Use the RPC parameters in the expected way
1834 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
1837 * properties/Makefile.am:
1838 * properties/ev-properties-main.c: (ev_properties_get_pages):
1840 Support all mime types
1842 * shell/Makefile.am:
1843 * thumbnailer/Makefile.am:
1844 * thumbnailer/evince-thumbnailer.c: (get_document_from_uri),
1845 (evince_thumbnail_pngenc_get):
1847 Use the document factory
1849 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
1851 * backend/Makefile.am:
1852 * backend/ev-document-factory.c:
1853 (mime_type_supported_by_gdk_pixbuf),
1854 (ev_document_type_get_from_mime),
1855 (ev_document_factory_get_document),
1856 (ev_document_factory_get_backend),
1857 (ev_document_factory_get_mime_types),
1858 (ev_document_factory_get_all_mime_types):
1859 * backend/ev-document-factory.h:
1860 * shell/Makefile.am:
1861 * shell/ev-document-types.c: (get_document_from_uri),
1862 (ev_document_types_get_document),
1863 (file_filter_add_mime_list_and_free),
1864 (ev_document_types_add_filters):
1865 * shell/ev-document-types.h:
1866 * shell/ev-job-xfer.c: (ev_job_xfer_run):
1867 * shell/ev-properties-dialog.c:
1868 (ev_properties_dialog_set_document):
1869 * shell/ev-window.c: (ev_window_cmd_file_open),
1870 (ev_window_cmd_save_as):
1871 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
1873 Rework document types managing to avoid code duplication
1874 and actually abstract from backend implementations.
1875 Also provide a minimal factory api that can be used by
1876 thumbnailer/properties.
1878 2005-07-05 Christian Persch <chpe@cvs.gnome.org>
1880 * properties/ev-properties-view.c: (ev_properties_view_set_info):
1882 * shell/ev-properties-dialog.c: (ev_properties_dialog_init):
1885 2005-07-04 Matthew S. Wilson <msw@rpath.com>
1887 * shell/ev-properties-dialog.c
1888 (ev_properties_dialog_set_document): only call
1889 ev_properties_fonts_set_document() if the document implements the
1892 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
1895 * properties/Makefile.am:
1896 * properties/ev-properties-view.c:
1897 (ev_properties_view_register_type):
1898 * properties/ev-properties-view.h:
1899 * properties/ev-properties-main.h:
1901 Implement nautilus plugin for properties.
1902 Works only for pdf atm, I need to rework the
1903 document types stuff to get this to work
1906 2005-07-04 Martin Kretzschmar <martink@gnome.org>
1908 * shell/ev-properties-fonts.c (enum): kill redundant columns enum
1909 (ev_properties_fonts_set_document): use
1910 EV_DOCUMENT_FONTS_COLUMN_NUM_COLUMNS.
1912 2005-07-04 Matthew S. Wilson <msw@rpath.com>
1914 * tiff/tiff2ps.c: remove TRUE and FALSE definitions, glib provides
1916 (PlaceImage, tiff2ps_process_page): use
1917 g_ascii_dtostr to convert floats to strings in a locale-safe way.
1920 2005-07-04 Martin Kretzschmar <martink@gnome.org>
1922 * shell/main.c: include libgnomeui/gnome-authentication-manager.h
1923 (main): to call gnome_authentication_manager_init. Should fix
1926 * configure.ac: that requires libgnomeui 2.6.0.
1928 2005-07-04 Matthew S. Wilson <msw@rpath.com>
1930 * tiff/tiff-document.c (tiff_document_ps_export_begin)
1931 (tiff_document_ps_export_do_page, tiff_document_ps_export_end):
1932 use the new tiff2ps interfaces
1934 * tiff/tiff2ps.h (tiff2ps_context_new, tiff2ps_process_page)
1935 (tiff2ps_context_finalize): implement new interfaces for tiff2ps
1937 * tiff/tiff2ps.c: refactor tiff2ps code to use a context
1938 structure instead of global variables. Remove use of static
1939 variables in functions.
1941 2005-07-04 Carlos Garcia Campos <carlosgc@gnome.org>
1943 * shell/ev-page-action.c: unref the completion after setting it to the
1946 2005-07-04 Matthew S. Wilson <msw@rpath.com>
1948 * tiff/tiff2ps.c (generateEPSF): disable generating encapsulated
1951 2005-07-04 Matthew S. Wilson <msw@rpath.com>
1953 * shell/ev-window.c (update_action_sensitivity): disable
1954 File->Print if the document does not implement the ps exporter
1957 2005-07-04 Marco Pesenti Gritti <mpg@redhat.com>
1961 * data/evince-properties.glade:
1962 * properties/.cvsignore:
1963 * properties/Makefile.am:
1964 * properties/ev-properties-view.c: (ev_properties_view_dispose),
1965 (ev_properties_view_class_init), (ev_properties_view_format_date),
1966 (make_valid_utf8), (set_property), (ev_properties_view_set_info),
1967 (ev_properties_view_init), (ev_properties_view_new):
1968 * properties/ev-properties-view.h:
1969 * shell/Makefile.am:
1970 * shell/ev-properties-dialog.c: (ev_properties_dialog_class_init),
1971 (ev_properties_dialog_init), (ev_properties_dialog_set_document),
1972 (ev_properties_dialog_new):
1973 * shell/ev-properties-dialog.h:
1974 * shell/ev-properties-fonts.c: (ev_properties_fonts_dispose),
1975 (ev_properties_fonts_class_init), (ev_properties_fonts_init),
1976 (update_progress_label), (job_fonts_finished_cb),
1977 (ev_properties_fonts_set_document), (ev_properties_fonts_new):
1978 * shell/ev-properties-fonts.h:
1979 * shell/ev-properties.c:
1980 * shell/ev-properties.h:
1981 * shell/ev-window.c: (ev_window_setup_document),
1982 (ev_window_cmd_file_properties):
1984 Split the properties pages in two different objects, depend
1985 only on the backend where possible, use widgets instead
1986 of gobject for the glade part, reimplement the dialog
1988 I need this to implement nautilus properties page.
1990 2005-07-03 Matthew S. Wilson <msw@rpath.com>
1992 * tiff/tiff-document.c (tiff_document_ps_export_begin)
1993 (tiff_document_ps_export_do_page, tiff_document_ps_export_end)
1994 (tiff_document_document_ps_exporter_iface_init): implement the ps
1995 exporter interface for tiff documents
1997 * tiff/tiff2ps.c: added a modified version of tiff2ps.c from
1998 libtiff to implement TIFF postscript export
2000 * tiff/tiff2ps.h: added a header file for external tiff2ps
2003 * tiff/Makefile.am (libtiffdocument_la_SOURCES): add tiff2ps.c and
2006 2005-07-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2008 * shell/ev-view.c: (scroll_to_current_page),
2009 (ev_view_set_fullscreen), (ev_view_set_presentation):
2011 Scroll to current page when exit from presentation
2013 2005-07-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2015 * shell/ev-window.c: (update_document_mode),
2016 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
2017 (ev_window_cmd_view_fullscreen), (ev_window_stop_presentation),
2018 (ev_window_cmd_view_presentation), (ev_window_cmd_escape):
2020 Exit from fullscreen mode when switch to presentation. Fix for
2023 2005-07-02 Matthew S. Wilson <msw@rpath.com>
2025 * shell/ev-pixbuf-cache.c (ev_pixbuf_cache_get_selection_pixbuf):
2026 return NULL if the document does not implement the selection
2029 2005-07-02 Matthew S. Wilson <msw@rpath.com>
2031 * tiff/tiff-document.c (tiff_document_get_page_size): scale the
2032 reported height by using the resolution aspect ratio
2033 (tiff_document_render_pixbuf): scale the pixbuf using the
2034 resolution aspect ratio
2036 2005-07-01 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2040 Require libgnomeprint >= 2.5.1. Thanks to Colin Slater
2041 <kiltedaco@gmail.com>
2043 * djvu/djvu-document.c: (djvu_document_get_orientation),
2044 (djvu_document_set_orientation), (djvu_document_get_page_size),
2045 (rotate_pixbuf), (djvu_document_render_pixbuf),
2046 (djvu_document_document_iface_init):
2047 * dvi/dvi-document.c: (dvi_document_get_orientation),
2048 (dvi_document_set_orientation), (dvi_document_get_page_size),
2049 (rotate_pixbuf), (dvi_document_render_pixbuf),
2050 (dvi_document_document_iface_init):
2052 Dvi and djvu backends are ported to new API
2054 Fri Jul 1 00:10:15 2005 Jonathan Blandford <jrb@redhat.com>
2056 * backend/ev-selection.c: (ev_selection_get_selection_region),
2057 (ev_selection_get_selection_map):
2058 * backend/ev-selection.h:
2059 * pdf/ev-poppler.cc:
2060 * shell/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
2062 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info),
2063 (job_finished_cb), (copy_job_to_job_info), (add_job_if_needed),
2064 (ev_pixbuf_cache_get_text_mapping):
2065 * shell/ev-pixbuf-cache.h:
2066 * shell/ev-view.c: (location_in_text),
2067 (ev_view_motion_notify_event), (ev_view_set_cursor): Add I-Beam
2068 support to EvView. Now we can see where we can select! Sweet!
2070 2005-06-30 Kristian Høgsberg <krh@redhat.com>
2072 * shell/ev-view.c (ev_view_button_press_event): Fix
2073 event->y + view->scroll_x typo.
2075 2005-06-30 Kristian Høgsberg <krh@redhat.com>
2077 * pdf/ev-poppler.cc: Adjust to poppler API changes; use a
2078 sub-GdkPixbuf instead of passing dest_x and dest_y.
2080 * shell/ev-view.c: (view_point_to_doc_point),
2081 (view_rect_to_doc_rect), (ev_view_button_press_event),
2082 (ev_view_motion_notify_event), (compute_new_selection_rect),
2083 (gdk_rectangle_point_in), (compute_new_selection_text),
2084 (compute_selections): Update selection code to keep the selection
2085 around as two points and not as a normalized rectangle, and fix
2086 page level selection in two-column mode.
2088 2005-06-30 Alex Duggan <aldug@astrolinux.com>
2090 * shell/ev-window.c: (window_configure_event_cb):
2094 2005-06-30 Marco Pesenti Gritti <mpg@redhat.com>
2096 * pdf/ev-poppler.cc:
2100 2005-06-30 Marco Pesenti Gritti <mpg@redhat.com>
2102 * shell/Makefile.am:
2103 * shell/ev-metadata-manager.c: (item_free),
2104 (ev_metadata_manager_init), (ev_metadata_manager_shutdown),
2105 (parse_value), (parseItem), (load_values),
2106 (ev_metadata_manager_get), (value_free), (ev_metadata_manager_set),
2107 (save_values), (save_item), (get_oldest), (resize_items),
2108 (ev_metadata_manager_save), (ev_metadata_manager_set_int):
2109 * shell/ev-metadata-manager.h:
2111 Metadata manager from gedit but modified to use GValue, so that
2112 we dont need to keep converting from strings.
2116 ENABLE_METADATA conditional, on when dbus is on
2118 * shell/ev-application.c: (ev_application_open_uri):
2120 Show the window after load so that we can initialize
2121 window size before it's showed.
2123 * shell/ev-window.c: (ev_window_setup_from_metadata),
2124 (ev_window_open_uri), (window_configure_event_cb),
2127 Save and load metadata information about window size.
2128 Not yet keeping states in account.
2130 * shell/main.c: (main):
2132 Shutdown metadata manager.
2134 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
2136 * shell/ev-application-service.xml:
2138 * shell/Makefile.am:
2139 * shell/ev-application.c:
2140 * shell/ev-application.h:
2141 * shell/ev-window.c:
2142 * shell/ev-window.h:
2145 Add an optional dbus interface (--enable-dbus).
2146 Rework application code, mainly to be easier to
2148 Do not open multiple windows with the same document,
2151 Thu Jun 30 01:50:14 2005 Jonathan Blandford <jrb@redhat.com>
2153 * shell/ev-pixbuf-cache.c (clear_selection_if_needed): unref the
2154 pixbuf iff it exists.
2156 Thu Jun 30 01:43:00 2005 Jonathan Blandford <jrb@redhat.com>
2159 * backend/ev-render-context.[ch]:
2160 * backend/ev-selection.[ch]:
2162 Massive changes. We now support text selection of pdfs, and not
2163 just rectangular selection. This is pretty broken still, but I
2164 want to get something into CVS.
2166 2005-06-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2168 * pdf/ev-poppler.cc:
2170 Fix for Bug 309080: crash on window close.
2172 * shell/ev-page-action.c: (page_changed_cb):
2174 Fix for Bug 309168: Fix build with gcc 2.95. Thanks to
2175 jensgr@gmx.net (Jens Granseuer).
2177 2005-06-25 Marcel Telka <marcel@telka.sk>
2179 * configure.in (ALL_LINGUAS): Added sk.
2181 2005-06-24 Carlos Garcia Campos <carlosgc@gnome.org>
2183 * shell/ev-window.c: Make rotate menu entries unsensitive if there is
2186 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
2193 * cut-n-paste/recent-files/Makefile.am:
2197 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
2199 * pixbuf/pixbuf-document.c: (pixbuf_document_get_orientation),
2200 (pixbuf_document_set_orientation), (rotate_pixbuf),
2201 (pixbuf_document_get_page_size), (pixbuf_document_render_pixbuf),
2202 (pixbuf_document_document_iface_init), (pixbuf_document_init):
2204 Implement rotation and cleanup the code a bit.
2206 * tiff/tiff-document.c: (tiff_document_get_page_size),
2207 (tiff_document_get_orientation), (tiff_document_set_orientation),
2208 (rotate_pixbuf), (tiff_document_render_pixbuf),
2209 (tiff_document_document_iface_init), (tiff_document_init):
2211 Implement rotation. Was the quicker solution for the release
2212 but we really need to share this code in the shell.
2214 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
2216 * pdf/ev-poppler.cc:
2218 Enable rotation, require poppler cvs. Fix a leak.
2220 2005-06-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2222 * shell/ev-window.c: (update_action_sensitivity):
2224 Make properties unsensitive if document backend doesn't provide
2227 2005-06-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2229 * dvi/mdvi-lib/bitmap.c: (bitmap_alloc), (bitmap_alloc_raw),
2230 (bitmap_flip_horizontally), (bitmap_flip_vertically),
2231 (bitmap_flip_diagonally), (bitmap_rotate_clockwise),
2232 (bitmap_rotate_counter_clockwise), (bitmap_flip_rotate_clockwise),
2233 (bitmap_flip_rotate_counter_clockwise):
2234 * dvi/mdvi-lib/color.c: (mdvi_push_color), (get_color_table):
2235 * dvi/mdvi-lib/common.c: (read_string), (buff_free), (buff_add),
2237 * dvi/mdvi-lib/common.h:
2238 * dvi/mdvi-lib/dvimisc.c: (mdvi_push_color):
2239 * dvi/mdvi-lib/dviread.c: (get_bytes), (dreset), (define_font),
2240 (opendvi), (mdvi_reload), (mdvi_init_context),
2241 (mdvi_destroy_context), (mdvi_dopage), (special):
2242 * dvi/mdvi-lib/font.c: (font_drop_one), (font_free_unused):
2243 * dvi/mdvi-lib/fontmap.c: (read_encoding), (destroy_encoding),
2244 (file_hash_free), (register_encoding), (parse_spec),
2245 (mdvi_load_fontmap), (free_ent), (mdvi_init_fontmaps),
2246 (mdvi_add_fontmap_file), (mdvi_ps_read_fontmap),
2247 (mdvi_ps_flush_fonts), (mdvi_ps_find_font), (mdvi_ps_get_metrics):
2248 * dvi/mdvi-lib/fontsrch.c: (mdvi_list_font_class),
2249 (mdvi_register_font_type), (mdvi_unregister_font_type),
2250 (lookup_font), (mdvi_add_font), (mdvi_font_retry):
2251 * dvi/mdvi-lib/gf.c: (gf_read_bitmap), (gf_load_font):
2252 * dvi/mdvi-lib/hash.c: (mdvi_hash_remove), (mdvi_hash_remove_ptr),
2253 (mdvi_hash_destroy_key), (mdvi_hash_reset):
2254 * dvi/mdvi-lib/pagesel.c: (mdvi_parse_range),
2255 (mdvi_parse_page_spec), (mdvi_free_page_spec), (main):
2256 * dvi/mdvi-lib/paper.c: (mdvi_free_paper_specs):
2257 * dvi/mdvi-lib/pk.c: (pk_lookup), (pk_lookupn), (pk_load_font):
2258 * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
2259 * dvi/mdvi-lib/special.c: (mdvi_register_special),
2260 (mdvi_unregister_special), (mdvi_flush_specials):
2261 * dvi/mdvi-lib/t1.c: (t1_lookup_font), (t1_really_load_font),
2263 * dvi/mdvi-lib/tfm.c: (get_tfm_chars):
2264 * dvi/mdvi-lib/tfmfile.c: (afm_load_file), (tfm_load_file),
2265 (ofm1_load_file), (ofm_load_file), (get_font_metrics),
2266 (free_font_metrics), (flush_font_metrics):
2267 * dvi/mdvi-lib/tt.c: (tt_really_load_font), (tt_get_bitmap),
2269 * dvi/mdvi-lib/util.c: (mdvi_malloc), (mdvi_realloc),
2270 (mdvi_calloc), (mdvi_free), (mdvi_strdup), (mdvi_strncpy),
2271 (mdvi_strndup), (mdvi_memdup), (xstradd), (dstring_append),
2272 (dstring_insert), (dstring_new), (dstring_reset):
2273 * dvi/mdvi-lib/vf.c: (vf_load_font), (vf_free_macros):
2275 Rename xmalloc and xfree to mdvi_malloc and mdvi_free to
2276 avoid conflict with libtool on FC4
2278 * shell/ev-window.c: (ev_window_cmd_help_about):
2280 Update copyright year. Fix for bug 308828.
2282 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
2284 * shell/ev-view.c: (add_scroll_binding_keypad),
2285 (ev_view_binding_activated), (ev_view_class_init),
2286 (on_adjustment_value_changed):
2288 Bug 170874: Arrow keys switch pages in presentation mode
2290 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
2292 * shell/ev-window.c: (ev_window_sidebar_visibility_changed_cb):
2294 Fix for Bug 308265: Sidebar dissappears coming out of
2297 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
2299 * shell/ev-application.c: (ev_application_open):
2300 * shell/ev-document-types.c: (ev_document_types_add_filters),
2301 (ev_document_types_add_filters_for_type):
2302 * shell/ev-document-types.h:
2303 * shell/ev-window.c: (ev_window_cmd_save_as):
2305 Suggest basename as template when saving, provide filters
2306 for save dialog. It's bug 308402
2308 2005-06-20 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2310 * pdf/ev-poppler.cc:
2311 * shell/ev-sidebar-links.c: (job_finished_callback):
2312 * shell/ev-view.c: (update_find_status_message):
2316 2005-06-19 Christian Persch <chpe@cvs.gnome.org>
2318 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
2319 (egg_recent_view_uimanager_set_list):
2321 Fix buglet in !show_numbers case.
2323 2005-06-19 Christian Persch <chpe@cvs.gnome.org>
2325 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
2326 (connect_proxy_cb), (egg_recent_view_uimanager_set_list):
2328 Use pango ellipsisation.
2330 * pdf/ev-poppler.cc:
2332 Fix refcount leak, from nsh.
2334 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2336 * cut-n-paste/recent-files/Makefile.am:
2337 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
2338 * cut-n-paste/recent-files/egg-recent-view-gtk.h:
2340 Removed EggRecentViewGtk
2342 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
2343 * cut-n-paste/recent-files/egg-recent-view-uimanager.h:
2344 * shell/ev-window.c: (ev_window_cmd_recent_file_activate),
2345 (ev_window_setup_recent):
2347 Use ViewUIManager instead of ViewGtk. Less leaks, more compatibility
2350 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2352 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
2353 (egg_recent_view_gtk_finalize):
2357 * cut-n-paste/toolbar-editor/Makefile.am:
2359 Fix location of cursor icon.
2361 * pdf/ev-poppler.cc:
2362 * shell/ev-page-action.c: (build_new_tree_cb), (match_selected_cb),
2363 (display_completion_text), (match_completion):
2364 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
2365 (selection_changed_callback), (create_loading_model),
2366 (print_section_cb), (links_page_num_func),
2367 (update_page_callback_foreach):
2368 * shell/ev-window.c: (ev_window_dispose):
2370 Small memory fixes. Links model now store objects instead
2371 of pointers to improve memory management.
2373 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2375 * shell/ev-window.c: (zoom_control_changed_cb):
2377 Fix update of zoom control (bug 308268).
2379 Sat Jun 18 22:46:42 2005 Jonathan Blandford <jrb@redhat.com>
2381 * shell/ev-properties.c (set_property): escape the text correctly.
2382 Handles non-UTF-8 properties and escaped properties. Also, sets
2383 the text to "<i>None</i>" if the property isn't set.
2385 * data/evince-properties.glade: Change the label to be ellipsized,
2386 and give it a minimum size.
2388 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2390 * lib/ev-file-helpers.c: (ev_file_helpers_shutdown):
2391 * shell/ev-sidebar-links.c: (create_loading_model):
2392 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose):
2393 * shell/ev-view.c: (ev_view_set_document):
2394 * shell/ev-window.c: (ev_window_dispose):
2396 Various small fixes, mostly memory leaks. Thanks to valgrind.
2398 2005-06-19 Martin Kretzschmar <martink@gnome.org>
2400 * ps/ps-document.c: remove the locale.h include again ;-). And
2401 kill the (bogus) setlocale/savelocale business.
2403 2005-06-19 Jaap A. Haitsma <jaap@haitsma.org>
2407 Include locale.h to fix build
2409 * shell/ev-sidebar.c:
2411 Remove unnecessary includes
2413 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2415 * dvi/dvi-document.c: (dvi_document_load):
2416 * dvi/mdvi-lib/dviread.c: (mdvi_init_context):
2419 Check for incorrect dvi files. Fix parsing dvi on AMD64
2420 platform. Thanks to tester@tester.ca (Olivier Crete).
2422 2005-06-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2424 * shell/ev-page-action.c: (match_selected_cb),
2425 (display_completion_text), (match_completion), (update_model):
2426 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
2427 (expand_open_links):
2428 * shell/ev-sidebar.c: (ev_sidebar_destroy),
2429 (ev_sidebar_menu_item_activate_cb), (ev_sidebar_add_page),
2430 (ev_sidebar_set_document):
2431 * shell/ev-window.c: (ev_window_xfer_job_cb),
2432 (sidebar_widget_model_set), (sidebar_page_main_widget_update_cb):
2434 Fixed lot's of memory leaks, for example, memory leak on reload,
2435 described in bug 307793.
2437 2005-06-18 Marco Pesenti Gritti <mpg@redhat.com>
2439 * pdf/ev-poppler.cc:
2440 * shell/ev-sidebar-thumbnails.c: (clear_range), (add_range),
2441 (update_visible_range), (adjustment_changed_cb),
2442 (ev_sidebar_thumbnails_fill_model),
2443 (ev_sidebar_thumbnails_refresh),
2444 (ev_sidebar_tree_selection_changed),
2445 (ev_sidebar_icon_selection_changed),
2446 (ev_sidebar_thumbnails_use_icon_view),
2447 (ev_sidebar_thumbnails_set_document):
2448 * shell/ev-sidebar-thumbnails.h:
2449 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
2450 (ev_window_cmd_edit_rotate_right), (ev_window_init):
2452 Refresh thumbnails when changing orientation. Not fully
2453 working yet becuase of a sidebar bug.
2455 Set page orientation to poppler page everywhere. This sucks
2456 really need to fix poppler.
2458 2005-06-18 Marco Pesenti Gritti <mpg@redhat.com>
2460 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
2461 (egg_recent_view_gtk_new_menu_item),
2462 (egg_recent_view_gtk_set_property),
2463 (egg_recent_view_gtk_get_property),
2464 (egg_recent_view_gtk_class_init), (egg_recent_view_gtk_init),
2465 (egg_recent_view_gtk_set_tooltip_func),
2466 (egg_recent_view_gtk_set_label_width),
2467 (egg_recent_view_gtk_get_label_width):
2468 * cut-n-paste/recent-files/egg-recent-view-gtk.h:
2470 Sync with libegg (ellipsize labels)
2472 2005-06-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2474 * data/evince-ui.xml:
2475 * shell/ev-window.c: (ev_window_cmd_go_forward),
2476 (ev_window_cmd_go_backward):
2478 Shift + PageUp moves 10 Pages. Fix for 306125
2480 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
2482 * pdf/ev-poppler.cc:
2484 Add a flag to check if orientation has been overriden
2486 2005-06-17 Martin Kretzschmar <martink@gnome.org>
2488 * ps/ps.c (psscan, psfree): read "Creator:" comment, free creator
2491 * ps/ps.h: add creator field to document.
2493 * ps/ps-document.c (ps_document_get_info): set format to PostScript,
2496 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
2498 * data/evince-properties.glade:
2499 * shell/ev-properties.c: (ev_properties_set_document):
2501 s/PDF Version/Format
2503 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
2505 * shell/ev-properties.c: (ev_properties_set_document):
2507 Remove unnecessary translations
2509 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
2511 * cut-n-paste/toolbar-editor/Makefile.am:
2513 Correct library name
2515 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
2518 * cut-n-paste/recent-files/egg-recent-model.c:
2519 (egg_recent_model_write_raw), (egg_recent_model_lock_file),
2520 (egg_recent_model_unlock_file):
2521 * cut-n-paste/recent-files/egg-recent-util.c:
2522 (egg_recent_util_get_unique_id):
2523 * cut-n-paste/recent-files/update-from-egg.sh:
2524 * cut-n-paste/toolbar-editor/Makefile.am:
2525 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
2526 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
2527 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
2528 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
2529 (egg_toolbars_model_get_type):
2530 * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
2532 Better makefile for toolbar editor and update everything
2535 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
2537 * shell/ev-window.c: (update_document_mode):
2539 Prefer presentation mode when the document
2542 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
2544 * data/evince-ui.xml:
2545 * shell/ev-window.c:
2547 Add control-equal for zooming
2549 2005-06-17 Theppitak Karoonboonyanan <thep@linux.thai.net>
2551 * configure.ac: Added 'th' (Thai) to ALL_LINGUAS.
2553 2005-06-16 Marco Pesenti Gritti <mpg@redhat.com>
2555 * backend/ev-document.c: (ev_document_get_orientation):
2556 * backend/ev-document.h:
2557 * pdf/ev-poppler.cc:
2558 * ps/ps-document.c: (ps_document_get_orientation),
2559 (ps_document_set_orientation), (ps_document_document_iface_init):
2561 Add a get_orientation api. Improve set_orientation.
2563 * data/evince-ui.xml:
2564 * shell/ev-view.c: (ev_view_set_orientation),
2565 (ev_view_rotate_right), (ev_view_rotate_left):
2567 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
2568 (ev_window_cmd_edit_rotate_right):
2570 Better ui for changing document orientation
2572 2005-06-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2574 * shell/ev-sidebar-links.c: (ev_sidebar_links_get_property),
2575 (ev_sidebar_links_class_init), (ev_sidebar_links_get_label):
2576 * shell/ev-sidebar-links.h:
2577 * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
2578 (ev_sidebar_page_iface_init):
2579 * shell/ev-sidebar-page.h:
2580 * shell/ev-sidebar-thumbnails.c:
2581 (ev_sidebar_thumbnails_get_property),
2582 (ev_sidebar_thumbnails_class_init),
2583 (ev_sidebar_thumbnails_set_document):
2584 * shell/ev-sidebar-thumbnails.h:
2585 * shell/ev-view.c: (ev_view_motion_notify_event):
2586 * shell/ev-window.c: (update_chrome_visibility),
2587 (ev_window_cmd_focus_page_selector),
2588 (ev_window_update_fullscreen_popup), (view_actions_focus_in_cb),
2589 (sidebar_page_main_widget_update_cb), (ev_window_init):
2591 Autoraise toolbar on GoToPage binding and fix bindings in
2592 EvSidebarThumbnails page.
2594 2005-06-15 Christian Persch <chpe@cvs.gnome.org>
2596 * shell/ev-properties.c: (update_progress_label):
2598 Hide the progress label when finished; bug #307697.
2600 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
2602 * pdf/ev-poppler.cc:
2604 Enable is_open for links, you will need poppler cvs
2606 * shell/ev-properties.c: (job_fonts_finished_cb):
2608 Get a lock on the document when filling the tree view
2610 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
2612 * backend/ev-document-links.h:
2613 * pdf/ev-poppler.cc:
2614 * shell/ev-sidebar-links.c: (create_loading_model),
2615 (expand_open_links), (job_finished_callback):
2617 Expand links when specified by the document.
2618 Depend on a poppler api (defined out for now)
2620 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
2622 * shell/ev-properties.c: (ev_properties_dispose),
2623 (ev_properties_class_init), (dialog_destroy_cb),
2624 (ev_properties_init), (job_fonts_finished_cb), (setup_fonts_view),
2625 (ev_properties_set_document), (ev_properties_new),
2626 (ev_properties_show):
2627 * shell/ev-properties.h:
2629 Make it an object, cleanup the code, api to show it as transient
2630 and to set the document.
2632 * shell/ev-window.c: (ev_window_setup_document),
2633 (ev_window_cmd_file_properties):
2635 Adapt to EvProperties changes, do not show multiple
2636 times, update it when document changes.
2638 2005-06-14 Marco Pesenti Gritti <mpg@redhat.com>
2641 * ps/ps-document.c: (ps_document_init), (get_page_orientation),
2642 (ps_document_set_orientation), (ps_document_document_iface_init):
2645 Implement orientation here too
2647 * shell/ev-properties.c: (ev_properties_new):
2648 * data/evince-properties.glade:
2650 Hide the fonts page for backends that doesnt
2653 2005-06-14 Marco Pesenti Gritti <mpg@redhat.com>
2655 * backend/ev-document.c: (ev_document_set_orientation):
2656 * backend/ev-document.h:
2657 * pdf/ev-poppler.cc:
2659 Add orientation api. Currently poppler api is not optimal,
2660 we need to set orientation every time we _get a page.
2661 I will try to fix that at some point.
2663 * data/evince-ui.xml:
2664 * shell/ev-window.c: (ev_window_cmd_edit_landscape),
2665 (ev_window_cmd_edit_portrait), (ev_window_cmd_edit_flip):
2667 Add orientation menu items
2669 * shell/ev-page-cache.c: (ev_page_cache_clear):
2670 * shell/ev-page-cache.h:
2672 Add api to clear the cache
2674 * shell/ev-view.c: (setup_caches), (clear_caches),
2675 (ev_view_set_document), (ev_view_zoom_out),
2676 (ev_view_set_orientation):
2679 Implement orientation changing
2681 2005-06-13 Marco Pesenti Gritti <mpg@redhat.com>
2683 * backend/ev-document-fonts.c: (ev_document_fonts_get_progress),
2684 (ev_document_fonts_scan), (ev_document_fonts_fill_model):
2685 * backend/ev-document-fonts.h:
2687 Separate scan and fill so that we can incrementally fill from
2688 the main thread. Add a progress api.
2690 * data/evince-properties.glade:
2691 * pdf/ev-poppler.cc:
2692 * shell/ev-jobs.c: (ev_job_fonts_new), (ev_job_fonts_run):
2694 * shell/ev-properties.c: (update_progress_label),
2695 (job_fonts_finished_cb), (setup_fonts_view):
2697 Incrementally feel the list and show the progress
2698 percentage in a label like acrobat does.
2700 You are going to need poppler cvs
2702 2005-06-11 Marco Pesenti Gritti <mpg@redhat.com>
2704 * backend/ev-document-fonts.c: (ev_document_fonts_fill_model):
2705 * backend/ev-document-fonts.h:
2706 * pdf/ev-poppler.cc:
2708 Make fonts model fill incrementally.
2710 * shell/ev-job-queue.c: (handle_job), (search_for_jobs_unlocked),
2711 (no_jobs_available_unlocked), (ev_job_queue_init), (find_queue),
2712 (ev_job_queue_remove_job):
2713 * shell/ev-jobs.c: (ev_job_fonts_init), (ev_job_fonts_class_init),
2714 (ev_job_fonts_new), (ev_job_fonts_run):
2717 New job for fonts scanning
2719 * shell/ev-properties.c: (job_fonts_finished_cb),
2720 (fill_fonts_treeview), (setup_fonts_view), (ev_properties_new):
2721 * shell/ev-properties.h:
2722 * shell/ev-window.c: (ev_window_cmd_file_properties):
2724 Incrementally feel the treeview using the new job. Show Loading...
2725 message until scanning is completed.
2727 Hopefully I didnt break the build without the poppler patch.
2729 2005-06-10 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2731 * shell/ev-application.c: (ev_application_open):
2732 * shell/ev-document-types.c: (ev_document_type_from_from_mime),
2733 (ev_document_type_get_type), (ev_document_type_lookup):
2734 * shell/ev-document-types.h:
2735 * shell/ev-job-xfer.c: (ev_job_xfer_dispose), (ev_job_xfer_run):
2736 * shell/ev-job-xfer.h:
2737 * shell/ev-window.c: (ev_window_clear_local_uri),
2738 (ev_window_load_job_cb), (ev_window_xfer_job_cb),
2739 (ev_window_open_uri), (ev_window_add_recent), (ev_window_dispose):
2740 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
2742 Transfer remote documents to tmp directory to display them later.
2744 2005-06-10 Marco Pesenti Gritti <mpg@redhat.com>
2746 * backend/ev-document-info.h:
2747 * shell/ev-properties.c: (ev_properties_new):
2749 s/GTime*/GTime. Not sure why we was using a pointer
2752 Wed Jun 8 01:04:22 2005 Jonathan Blandford <jrb@redhat.com>
2754 * shell/ev-sidebar-thumbnails.c: Use a GtkIconView in certain
2755 situations. That situation is that you're using GTK+-HEAD with
2756 the patch at #306726 is applied, and you have a document with <
2757 1500 pages in it. It's not quite as uniformly nice as the
2758 TreeView, but should be better in the long run.
2760 I'm pretty sure I guarded against breaking compilation with
2761 HAVE_GTK_ICON_VIEW_GET_VISIBLE_RANGE gaurds, though it's possible
2764 * shell/ev-window.c (ev_window_init): We don't have our tree/list
2765 widget yet, so I commented that code out
2766 enable_view_actions_for_widget() for now. Need to figure this
2769 * shell/ev-page-action.c (match_selected_cb): emit the right
2770 signals. Our cool C-l completion now works.
2772 2005-06-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2774 * backend/Makefile.am:
2775 * backend/ev-document-fonts.c:
2776 * backend/ev-document-links.c:
2777 * backend/ev-document.c: (ev_document_load):
2778 * backend/ev-document.h:
2779 * backend/ev-job-queue.c:
2780 * backend/ev-job-queue.h:
2781 * backend/ev-jobs.c:
2782 * backend/ev-jobs.h:
2783 * backend/ev-page-cache.c:
2784 * backend/ev-page-cache.h:
2786 EvPageCache and EvJobs are moved to shell.
2788 * lib/ev-file-helpers.c: (ev_file_helpers_shutdown),
2790 * lib/ev-file-helpers.h:
2792 New helper to work with temporary files
2794 * shell/Makefile.am:
2795 * shell/ev-application.c: (ev_application_open):
2796 * shell/ev-application.h:
2797 * shell/ev-job-queue.c: (remove_job_from_queue_locked),
2798 (remove_job_from_async_queue), (add_job_to_async_queue),
2799 (add_job_to_queue_locked), (notify_finished), (job_finished_cb),
2800 (handle_job), (search_for_jobs_unlocked),
2801 (no_jobs_available_unlocked), (ev_render_thread),
2802 (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
2803 (ev_job_queue_add_job), (move_job_async), (move_job),
2804 (ev_job_queue_update_job), (ev_job_queue_remove_job):
2805 * shell/ev-job-queue.h:
2806 * shell/ev-job-xfer.c: (ev_job_xfer_init), (ev_job_xfer_dispose),
2807 (ev_job_xfer_class_init), (ev_job_xfer_new), (ev_job_xfer_run):
2808 * shell/ev-job-xfer.h:
2809 * shell/ev-jobs.c: (ev_job_init), (ev_job_dispose),
2810 (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
2811 (ev_job_links_class_init), (ev_job_render_init),
2812 (ev_job_render_dispose), (ev_job_render_class_init),
2813 (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
2814 (ev_job_thumbnail_class_init), (ev_job_load_init),
2815 (ev_job_load_dispose), (ev_job_load_class_init), (ev_job_finished),
2816 (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
2817 (render_finished_cb), (ev_job_render_run), (ev_job_thumbnail_new),
2818 (ev_job_thumbnail_run), (ev_job_load_new), (ev_job_load_run):
2820 * shell/ev-page-action.c: (ev_page_action_set_document):
2821 * shell/ev-page-cache.c: (ev_page_cache_init),
2822 (ev_page_cache_class_init), (ev_page_cache_finalize),
2823 (ev_page_cache_new), (ev_page_cache_get_n_pages),
2824 (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
2825 (ev_page_cache_set_page_label), (ev_page_cache_set_link),
2826 (ev_page_cache_get_title), (ev_page_cache_get_size),
2827 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
2828 (ev_page_cache_get_height_to_page),
2829 (ev_page_cache_get_max_label_chars),
2830 (ev_page_cache_get_page_label),
2831 (ev_page_cache_has_nonnumeric_page_labels),
2832 (ev_page_cache_get_info), (ev_page_cache_next_page),
2833 (ev_page_cache_prev_page), (ev_page_cache_get):
2834 * shell/ev-page-cache.h:
2835 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_update_range),
2836 (ev_pixbuf_cache_clear_job_sizes),
2837 (ev_pixbuf_cache_add_jobs_if_needed),
2838 (ev_pixbuf_cache_set_page_range):
2839 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings):
2840 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document):
2841 * shell/ev-sidebar-thumbnails.c:
2842 (ev_sidebar_tree_selection_changed),
2843 (ev_sidebar_thumbnails_set_document):
2844 * shell/ev-statusbar.c: (ev_statusbar_destroy),
2845 (ev_statusbar_class_init), (ev_statusbar_init), (ev_statusbar_new),
2846 (ev_statusbar_get_context_id), (ev_statusbar_push),
2847 (ev_statusbar_pop), (ev_statusbar_set_maximized),
2848 (ev_statusbar_pulse), (ev_statusbar_show_progress),
2849 (ev_statusbar_set_progress):
2850 * shell/ev-statusbar.h:
2851 * shell/ev-view.c: (ev_view_set_document), (ev_view_find_next),
2852 (ev_view_find_previous):
2853 * shell/ev-window.c: (ev_window_is_empty),
2854 (ev_window_setup_document), (password_dialog_response),
2855 (ev_window_clear_jobs), (ev_window_load_job_cb),
2856 (ev_window_xfer_job_cb), (ev_window_open_uri),
2857 (ev_window_open_uri_list), (ev_window_cmd_recent_file_activate),
2858 (ev_window_print), (ev_window_print_range),
2859 (ev_window_state_event), (ev_window_cmd_view_reload),
2860 (menu_item_select_cb), (menu_item_deselect_cb),
2861 (view_status_changed_cb), (ev_window_dispose),
2862 (drag_data_received_cb), (ev_window_init):
2863 * shell/ev-window.h:
2864 * shell/main.c: (load_files):
2866 New statusbar to show progress on idle. Two new jobs -
2867 xfer job and load job to load document in background. And update
2868 of page_cache clients to new location of code.
2870 2005-06-08 Carlos Garcia Campos <carlosgc@gnome.org>
2872 * shell/ev-application.c, shell/ev-window.[ch]: Allow multiple
2873 selection in open dialog. It also remembers the last visited directory
2874 in the current session.
2876 2005-06-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2878 * shell/ev-properties.c: (ev_properties_new):
2879 * shell/ev-properties.h:
2880 * shell/ev-window.c: (ev_window_cmd_file_properties):
2882 Get document info from page cache instead of document itself.
2883 This should fix crash related to race conditions described in
2886 2005-06-07 Marco Pesenti Gritti <mpg@redhat.com>
2888 * ps/ps-document.c: (ps_document_init),
2889 (send_ps), (get_page_box), (output), (catchPipe), (input),
2890 (stop_interpreter), (file_length), (file_readable),
2891 (check_filecompressedb), (ps_document_enable_interpreter),
2892 (document_load), (ps_async_renderer_render_pixbuf):
2895 Big cleanup of the ps code
2897 2005-06-07 Marco Pesenti Gritti <mpg@redhat.com>
2899 * backend/Makefile.am:
2900 * backend/ev-async-renderer.c: (ev_async_renderer_get_type),
2901 (ev_async_renderer_class_init), (ev_async_renderer_render_pixbuf):
2902 * backend/ev-async-renderer.h:
2904 Add an async renderer interface (method + callback) which
2905 is useful for backends like ps.
2907 * backend/ev-job-queue.c: (remove_job_from_async_queue),
2908 (add_job_to_async_queue), (job_finished_cb), (handle_job),
2909 (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
2910 (ev_job_queue_add_job), (move_job_async), (move_job),
2911 (ev_job_queue_update_job), (ev_job_queue_remove_job):
2913 Add queues for async renderer, these are executed on the
2916 * backend/ev-jobs.c: (ev_job_render_new), (render_finished_cb),
2917 (ev_job_render_run):
2918 * backend/ev-jobs.h:
2920 If the backend support async renderer interface use it.
2922 * ps/ps-document.c: (ps_document_init), (push_pixbuf),
2923 (setup_pixmap), (ps_document_get_type),
2924 (ps_async_renderer_render_pixbuf),
2925 (ps_document_document_iface_init), (ps_async_renderer_iface_init):
2927 Implement async renderer interface.
2929 2005-06-07 Nickolay V. Shmyrev <<nshmyrev@yandex.ru>>
2931 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose):
2933 Cleanup links job on exit.
2935 2005-06-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2937 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
2938 (drag_data_get_cb), (drag_data_received_cb):
2939 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
2940 (drag_data_get_cb), (parse_item_list),
2941 (egg_toolbar_editor_load_actions):
2942 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
2943 (egg_toolbars_model_to_xml), (egg_toolbars_model_save),
2944 (parse_item_list), (parse_toolbars):
2945 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
2946 (dvi_pixbuf_put_pixel):
2948 Fix gcc 4.0 warnings
2950 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
2952 * ps/ps-document.c: (start_interpreter):
2954 Fix warning when loading ps
2956 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
2958 * ps/ps-document.c: (output):
2960 Fix crash when priting gs error messages.
2962 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
2964 * backend/ev-page-cache.c: (_ev_page_cache_new):
2965 * backend/ev-page-cache.h:
2967 Use a const to return title so that we dont double
2968 free it. Small cleanup and fix a leak.
2970 * shell/ev-window.c: (update_window_title):
2972 strdup value from get_title.
2974 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
2976 * shell/ev-sidebar-links.c: (job_finished_callback),
2977 (ev_sidebar_links_set_document):
2979 Cleanup the old job when changing document
2981 2005-06-05 Nickolay V. Shmyrev <<nshmyrev@yandex.ru>>
2983 * shell/ev-stock-icons.c:
2984 * shell/ev-stock-icons.h:
2985 * shell/ev-window.c:
2987 Add stock icons for actions that can appear in toolbar. Fix for
2990 2005-06-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2992 * backend/ev-page-cache.c: (ev_page_cache_finalize),
2993 (_ev_page_cache_new), (ev_page_cache_get_max_width),
2994 (ev_page_cache_get_max_height), (ev_page_cache_get_height_to_page):
2995 * backend/ev-page-cache.h:
2996 * shell/ev-view.c: (scroll_to_current_page),
2997 (view_update_range_and_current_page), (get_page_y_offset),
2998 (get_page_extents), (ev_view_size_request_continuous_dual_page),
2999 (ev_view_size_request_continuous),
3000 (ev_view_zoom_for_size_continuous_and_dual_page),
3001 (ev_view_zoom_for_size_continuous):
3003 More compact EvView layout in document with pages of different size.
3005 Sat Jun 4 19:20:57 2005 Jonathan Blandford <jrb@redhat.com>
3007 * shell/ev-window.c (ev_window_cmd_file_properties): fix
3010 2005-06-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3012 * shell/ev-view.c: (view_set_adjustment_values):
3013 * shell/ev-window.c: (ev_window_cmd_file_properties):
3015 A bit different fix for rounding problem but it has no
3016 problems on startup. Make properties window transient to parent.
3018 2005-06-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3020 * pdf/ev-poppler.cc:
3022 More commenting of font stuff.
3024 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
3026 * pdf/ev-poppler.cc:
3028 Comment out some more fonts stuff. Should really
3029 work without the poppler patch now.
3031 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
3033 * pdf/ev-poppler.cc:
3037 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
3039 * data/evince-properties.glade:
3040 * pdf/ev-poppler.cc:
3041 * shell/ev-properties.c: (setup_fonts_view):
3043 Set the column title. Show the dialog only
3044 once everything is setup.
3045 Getting font info can be very slow... will
3046 prolly need to make this threaded too.
3048 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
3050 * backend/Makefile.am:
3051 * backend/ev-document-fonts.c: (ev_document_fonts_get_type),
3052 (ev_document_fonts_get_fonts_model):
3053 * backend/ev-document-fonts.h:
3054 * data/evince-properties.glade:
3055 * pdf/ev-poppler.cc:
3056 * shell/ev-properties.c: (setup_fonts_view), (ev_properties_new):
3057 * shell/ev-properties.h:
3058 * shell/ev-window.c: (ev_window_cmd_file_properties):
3060 Implement fonts list. Defined out for now, since it depends
3061 on a not yet committed poppler patch.
3063 Fri Jun 3 21:07:57 2005 Jonathan Blandford <jrb@redhat.com>
3065 * shell/ev-view.c (get_page_extents): other_page isn't necessarily
3068 * shell/ev-window.c: Make sure we add the timeout when we get a
3071 * shell/ev-view.c (view_set_adjustment_values): Add 0.5 to
3072 adjustment->value before calculating the zoom factor to average
3073 out all of our rounding errors. The page no longer 'drifts' when
3076 2005-06-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3078 * data/evince-properties.glade:
3079 * shell/ev-properties.c: (ev_properties_format_date),
3082 Labels don't expand when the dialogue is resized.
3083 strftime result needs to be converted to UTF-8. Thanks
3084 to Christian Persch <chpe@gnome.org>.
3086 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
3088 * data/evince-properties.glade:
3092 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
3094 * backend/ev-document-info.h:
3095 * backend/ev-document.c: (ev_document_info_free):
3096 * data/evince-properties.glade:
3097 * pdf/ev-poppler.cc:
3098 * ps/ps-document.c: (ps_document_get_info):
3099 * shell/ev-properties.c: (ev_properties_format_date),
3100 (set_property), (ev_properties_new):
3101 * shell/ev-properties.h:
3102 * shell/ev-window.c: (ev_window_cmd_file_properties):
3104 Rework properties code to take only EvPropertyInfo
3105 in the constructor so that it can be useful for
3106 nautilus plugin too.
3108 Deal with backends that doesnt support some properties.
3109 Make set property code generic.
3111 2005-06-04 Christian Persch <chpe@gnome.org>
3113 * data/evince-properties.glade:
3115 fix spacings, make resizeable, and make data labels
3116 selectable + ellipsised
3118 2005-06-03 Marco Pesenti Gritti <mpg@redhat.com>
3120 * backend/ev-document-info.h:
3122 * data/evince-ui.xml:
3123 * pdf/ev-poppler.cc:
3124 * shell/Makefile.am:
3125 * shell/ev-window.c: (update_action_sensitivity),
3126 (ev_window_cmd_file_properties):
3128 Initial go at file properties. Patch by
3129 Emil Soleyman-Zomalan <emil@soleyman.com>.
3130 Needs love see #169583
3132 2005-06-02 Marco Pesenti Gritti <mpg@redhat.com>
3134 * ps/ps-document.c: (output):
3135 * ps/ps.c: (psscan):
3137 Try to render even if psscan fails.
3139 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
3141 * ps/ps.c: (psscan), (pscopydoc):
3143 Port buffered reading code from gv
3145 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
3147 * ps/ps-document.c: (interpreter_message), (output):
3149 Do not fail on interpreter messages
3151 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
3153 * backend/ev-document-misc.c:
3154 (ev_document_misc_get_thumbnail_frame):
3156 Pages can be 0 x 0, dont assert on this case
3158 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
3160 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
3161 (ev_sidebar_links_class_init), (ev_sidebar_links_set_document):
3163 Correctly manage our reference on document. Finally the reload
3164 huge leak is gone...
3166 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
3168 * ps/ps-document.c: (ps_document_dispose):
3170 Forgot to chain it to the parent. Thanks chpe.
3172 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
3174 * ps/ps-document.c: (ps_document_dispose),
3175 (ps_document_class_init), (stop_interpreter), (document_load):
3177 Cleanup dispose a bit. Dont leak the whole pixmap.
3179 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
3181 * pdf/ev-poppler.cc:
3183 Release the poppler document on dispose
3185 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
3187 * shell/ev-view.c: (ev_view_set_document):
3189 Release ref on the pixbuf cache when changing
3192 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
3194 * ps/ps-document.c: (ps_document_get_info):
3198 2005-05-31 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
3200 * backend/ev-page-cache.c: (ev_page_cache_init),
3201 (_ev_page_cache_new), (ev_page_cache_get_max_label_chars):
3202 * backend/ev-page-cache.h:
3203 * shell/ev-page-action.c: (page_changed_cb):
3205 Set page action entry width depending on labels width. Fix
3208 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
3210 * backend/ev-link.c: (ev_link_class_init):
3212 Allow -1 as page value (error)
3214 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
3216 * shell/ev-sidebar-thumbnails.c:
3217 (ev_sidebar_thumbnails_set_document):
3218 * shell/ev-view.c: (scroll_to_current_page),
3219 (view_set_adjustment_values), (ev_view_set_scroll_adjustments),
3220 (page_changed_cb), (on_adjustment_value_changed),
3221 (ev_view_set_document):
3223 Slightly modified patch by Nickolay V. Shmyrev <nshmyrev@yandex.ru>.
3226 2005-05-29 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3229 * djvu/djvu-document.c: (djvu_document_get_page_size):
3231 Require djvulibre CVS. Now djvu loading is much faster. Fix for
3234 Sat May 28 07:38:03 2005 Jonathan Blandford <jrb@redhat.com>
3236 * shell/ev-view.c (draw_one_page): modify the expose handling to
3239 * shell/ev-window.c (update_action_sensitivity): Respect
3240 permissions field. Kowtow to the man.
3242 * pdf/ev-poppler.cc: Get the permissions field.
3244 * tiff/*c: Make a tiny bit more robust.
3246 2005-05-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3248 * djvu/djvu-document.c:
3250 Pop messages from djvu context message queue.
3252 2005-05-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3254 * configure.ac, Makefile.am, shell/Makefile.am:
3255 * tiff/Makefile.am, shell/ev-document-types.c:
3257 Cleanup tiff configure checks. Fix for bug 305218.
3259 2005-05-24 Maxim V. Dziumanenko <mvd@mylinux.ua>
3261 * configure.ac: Added "uk" to ALL_LINGUAS.
3263 2005-05-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3265 * cut-n-paste/zoom-control/ephy-zoom.c:
3266 (ephy_zoom_get_changed_zoom_level):
3267 * cut-n-paste/zoom-control/ephy-zoom.h:
3268 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_set_property),
3269 (ev_view_get_property), (ev_view_class_init), (ev_view_set_zoom):
3270 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
3271 (ev_window_cmd_view_zoom_out), (ev_window_zoom_changed_cb),
3272 (zoom_control_changed_cb), (ev_window_init):
3274 Fix minor points related to moving best fit up. Introduce
3275 "zoom" property and make zoom control change it's value on
3276 notify::zoom signals. Fix for 305080.
3278 2005-05-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3280 * data/evince-ui.xml:
3281 * shell/ev-window.c: (set_view_actions_sensitivity):
3283 Use + and - as accels for zoom in and zoom out. Fix for 305001.
3285 2005-05-22 Marco Pesenti Gritti <mpg@redhat.com>
3289 Depends on poppler 0.3.2
3291 2005-05-22 Marco Pesenti Gritti <mpg@redhat.com>
3293 * cut-n-paste/recent-files/egg-recent-item.c:
3294 (egg_recent_item_get_short_name):
3295 * cut-n-paste/toolbar-editor/Makefile.am:
3296 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
3297 (new_pixbuf_from_widget):
3298 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
3299 * cut-n-paste/toolbar-editor/egg-marshal.c:
3300 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
3301 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
3305 Sat May 21 23:18:30 2005 Jonathan Blandford <jrb@redhat.com>
3307 * tiff/tiff-document.c: Rough TIFF backend.
3309 2005-05-21 Marco Pesenti Gritti <mpg@redhat.com>
3313 * cut-n-paste/toolbar-editor/Makefile.am:
3317 2005-05-21 Marco Pesenti Gritti <mpg@redhat.com>
3319 * shell/ev-view.c: (jump_to_find_result), (ev_view_can_find_next),
3320 (ev_view_find_next), (ev_view_find_previous):
3322 Remove the locks around get_n_results
3324 2005-05-21 Juerg Billeter <j@bitron.ch>
3326 * pdf/ev-poppler.c: (pdf_document_ps_exporter_begin):
3328 Pass correct number of pages to poppler.
3330 2005-05-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3334 * data/evince.desktop.in:
3335 * data/evince.desktop.in.in:
3338 Add conditionally dvi and djvu to desktop types. Fix for 304658.
3340 Sat May 21 00:21:30 2005 Jonathan Blandford <jrb@redhat.com>
3342 * shell/ev-view.c: (view_update_adjustments),
3343 (view_set_adjustment_values): cast adjustmen->value to (int)
3344 before using it. Otherwise, we get off by a pixel in some
3347 (draw_one_page): Draw the border on expose.
3349 Fri May 20 22:05:25 2005 Jonathan Blandford <jrb@redhat.com>
3351 * *shell/ev-view.c: Patch from Nickolay V. Shmyrev to reset the
3352 adjustment when the mode changes, #304923
3354 Fri May 20 02:00:03 2005 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3356 * shell/ev-view.c: Use gdk_widget_queue_draw to remove
3357 flickering on resize but still use gdk_window_scroll on
3360 Fri May 20 01:46:57 2005 Jonathan Blandford <jrb@redhat.com>
3362 * shell/ev-view.c: Patch from Nickolay Shmyrev to fix the -p
3365 Fri May 20 01:27:01 2005 Jonathan Blandford <jrb@redhat.com>
3367 * shell/ev-view.c: Patch from Nickolay Shmyrev to to scroll to
3368 second page on page_changed if possible, #304669
3370 Fri May 20 01:07:15 2005 Jonathan Blandford <jrb@redhat.com>
3372 * shell/ev-view.c (view_update_adjustments): Use gdk_window_scroll
3373 instead of gtk_widget_queue_draw. Massive speedups in scrolling.
3375 Fri May 20 01:05:10 2005 Jonathan Blandford <jrb@redhat.com>
3378 * shell/ev-view.c:(ev_view_size_allocate), (ev_view_class_init),
3379 (zoom_for_size_fit_width), (zoom_for_size_best_fit),
3380 (ev_view_zoom_for_size_presentation),
3381 (ev_view_zoom_for_size_continuous_and_dual_page),
3382 (ev_view_zoom_for_size_continuous),
3383 (ev_view_zoom_for_size_dual_page),
3384 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size):
3386 * shell/ev-window.c: (update_view_size),
3387 (ev_window_sizing_mode_changed_cb):
3389 Patch from Nickolay Shmyrev <nshmyrev@yandex.ru> to handle
3390 the scrollbars. It's not 100% right, but it's much closer. Kills
3391 an infinite loop, #304769
3394 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
3396 * data/evince-ui.xml:
3397 * shell/ev-view.c: (ev_view_scroll_view), (ev_view_class_init):
3398 * shell/ev-window.c: (set_view_actions_sensitivity):
3400 Make PgUp/Down behave like Space
3402 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
3404 * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
3405 * backend/ev-ps-exporter.h:
3406 * pdf/ev-poppler.cc:
3407 * ps/ps-document.c: (ps_document_ps_export_begin):
3408 * shell/ev-print-job.c: (idle_print_handler):
3410 Adapt to new poppler api
3412 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
3414 * cut-n-paste/zoom-control/ephy-zoom-control.c:
3415 (ephy_zoom_control_init):
3417 Translate zoom levels
3419 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
3421 * cut-n-paste/zoom-control/ephy-zoom.c:
3422 (ephy_zoom_get_zoom_level_index):
3424 Fix current zoom -> zoom control match
3426 2005-05-18 James Bowes <bowes@cs.dal.ca>
3428 * shell/ev-window.c: (ev_window_init): Give focus to the ev-view,
3429 rather than the scrolled_window that it's in. Fixes bug #304655.
3431 Tue May 17 22:54:17 2005 Jonathan Blandford <jrb@redhat.com>
3433 * shell/ev-view.c: (view_update_adjustments),
3434 (view_set_adjustment_values), (view_update_range_and_current_page),
3435 (view_scroll_to_page), (set_scroll_adjustment),
3436 (ev_view_set_scroll_adjustments), (add_scroll_binding_keypad),
3437 (ev_view_scroll), (ev_view_scroll_view),
3438 (ensure_rectangle_is_visible), (find_page_at_location),
3439 (get_link_at_location), (go_to_link), (status_message_from_link),
3440 (ev_view_size_request_continuous_dual_page),
3441 (ev_view_size_request), (ev_view_size_allocate), (ev_view_realize),
3442 (ev_view_unrealize), (ev_view_expose_event),
3443 (ev_view_button_press_event), (ev_view_motion_notify_event),
3444 (ev_view_button_release_event), (ev_gdk_color_to_rgb),
3445 (draw_rubberband), (highlight_find_results), (draw_one_page),
3446 (ev_view_finalize), (ev_view_destroy), (ev_view_class_init),
3447 (ev_view_init), (find_changed_cb), (page_changed_cb),
3448 (on_adjustment_value_changed), (ev_view_new),
3449 (ev_view_set_document), (ev_view_set_zoom),
3450 (ev_view_set_continuous), (ev_view_set_dual_page),
3451 (ev_view_set_presentation), (ev_view_zoom_in), (ev_view_zoom_out),
3452 (zoom_for_size_fit_width), (zoom_for_size_best_fit),
3453 (ev_view_zoom_for_size_presentation),
3454 (ev_view_zoom_for_size_continuous_dual_page),
3455 (ev_view_zoom_for_size_continuous),
3456 (ev_view_zoom_for_size_dual_page),
3457 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
3458 (ev_view_get_status), (ev_view_set_status),
3459 (update_find_status_message), (ev_view_get_find_status),
3460 (ev_view_set_find_status), (jump_to_find_result),
3461 (jump_to_find_page), (compute_selections), (clear_selection),
3462 (ev_view_select_all), (get_selected_text), (ev_view_copy),
3463 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
3464 (ev_view_update_primary_selection),
3465 (ev_view_create_invisible_cursor), (ev_view_set_cursor):
3467 * shell/ev-window.c: (ev_window_open_page_label),
3468 (ev_window_cmd_view_reload), (ev_window_sizing_mode_changed_cb),
3470 * shell/ev-window.h:
3471 * shell/main.c: (load_files):
3473 Massive code clean up from Nickolay Shmyrev. Keep page offset
3474 when resizing. Remove the bin_window(). Also, patch from James
3475 Bowes to fix command line page, #300641
3477 2005-05-17 Marco Pesenti Gritti <mpg@redhat.com>
3479 * data/evince-ui.xml:
3482 * shell/ev-window.c: (update_action_sensitivity):
3484 Get rid of View->Normal Size, it's just confusing
3486 Tue May 17 00:51:21 2005 Jonathan Blandford <jrb@redhat.com>
3488 * backend/ev-document-info.h:
3489 * backend/ev-document.c: (ev_document_info_free): Free the
3492 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
3493 (clear_range), (add_range), (update_visible_range),
3494 (adjustment_changed_cb), (ev_sidebar_thumbnails_init),
3495 (ev_sidebar_thumbnails_set_document):
3496 * shell/ev-window.c: (ev_window_setup_document): Only render the
3497 visible thumbnails. It takes an instant to render, but it uses
3500 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
3502 * shell/ev-sidebar-links.c: (popup_menu_cb):
3506 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
3509 * shell/ev-sidebar-links.c: (build_popup_menu), (popup_menu_cb),
3510 (button_press_cb), (ev_sidebar_links_construct):
3512 Show the popup menu also on keybindings
3514 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
3516 * shell/ev-window.c: (ev_window_print), (ev_window_print_range):
3517 * shell/ev-window.h:
3519 Expose api to print a range (with dialog). Make private _print use
3522 * shell/ev-sidebar-links.c: (print_section_cb), (button_press_cb),
3523 (ev_sidebar_links_construct):
3525 Show a print context menu on linkx, it prints the selected
3528 2005-05-15 Carlos Garcia Campos <carlosgc@gnome.org>
3530 * shell/ev-sidebar.c: make the drop down menu as width as the toggle
3533 2005-05-12 Marco Pesenti Gritti <mpg@redhat.com>
3539 * shell/ev-window.c: (build_comments_string),
3540 (ev_window_cmd_help_about):
3542 Show poppler version/backend and authors
3544 2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
3546 * cut-n-paste/zoom-control/ephy-zoom.c:
3547 (ephy_zoom_get_zoom_level_index):
3548 * cut-n-paste/zoom-control/ephy-zoom.h:
3550 Move the best fit items at the top of the list
3552 2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
3554 * shell/ev-marshal.list:
3555 * shell/ev-page-action.c: (ev_page_action_widget_class_init),
3556 (activate_cb), (match_selected_cb), (activate_link_cb),
3557 (connect_proxy), (ev_page_action_class_init):
3558 * shell/ev-page-action.h:
3560 Use signals to notify action activation. Hopefully
3561 I did not break completion since I cant test...
3563 * shell/ev-window.c: (activate_link_cb), (activate_label_cb),
3564 (register_custom_actions):
3566 Connect to page selector actions and also grab focus on
3567 the view when activated.
3569 Wed May 11 01:18:29 2005 Jonathan Blandford <jrb@redhat.com>
3571 * pdf/ev-poppler.cc:
3572 * backend/ev-page-cache.c: make page size calculation consistent
3573 and set it to (int)( width * scale + 0.5). This makes the weird
3574 line going through the middle of the page go away.
3576 * shell/ev-view.c: move painting the background page after
3577 checking the expose area covers us.
3579 2005-05-11 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3581 * data/evince-password.glade:
3583 Mark labels as not translatable. Fix for bug 302842.
3585 2005-05-10 Francisco Javier F. Serrador <serrador@cvs.gnome.org>
3587 * configure.ac: Added "es" to ALL_LINGUAS.
3589 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3591 * data/evince-toolbar.xml:
3592 * shell/ev-window.c: (update_action_sensitivity),
3593 (ev_window_setup_document), (ev_window_set_page_mode),
3596 Remove some leftover code from jrb first continous
3597 attempt. Use the new actions, we still need good icons
3600 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3602 * shell/ev-page-action.c: (update_pages_label), (connect_proxy):
3604 Update label when connecting proxy. Fix a warning with NULL
3607 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3609 * data/evince-ui.xml:
3610 * shell/ev-page-action.c: (ev_page_action_grab_focus):
3611 * shell/ev-page-action.h:
3612 * shell/ev-window.c: (ev_window_cmd_focus_page_selector):
3614 Add mnemonic for edit toolbar.
3615 ctrl+l focus the page entry.
3617 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3620 * shell/ev-window.c: (ev_window_cmd_edit_toolbar_cb),
3622 * shell/main.c: (main):
3624 Put the toolbar xml in evince own dot dir
3626 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3628 * shell/ev-window.c: (ev_window_init):
3630 Make the toolbar not removable
3632 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3634 * data/evince-ui.xml:
3635 * shell/ev-sidebar-links.c: (ev_sidebar_links_get_treeview):
3636 * shell/ev-sidebar-links.h:
3637 * shell/ev-sidebar-thumbnails.c:
3638 (ev_sidebar_thumbnails_get_treeview):
3639 * shell/ev-sidebar-thumbnails.h:
3640 * shell/ev-view.c: (ev_view_scroll), (ev_view_scroll_view),
3641 (ev_view_class_init):
3643 * shell/ev-window.c: (update_action_sensitivity),
3644 (ev_window_cmd_scroll_forward), (ev_window_cmd_scroll_backward),
3645 (set_view_actions_sensitivity), (view_actions_focus_in_cb),
3646 (view_actions_focus_out_cb), (enable_view_actions_for_widget),
3649 This is evil... Make space/backspace global accelerators but
3650 enable them only for some widgets (sidebars and view).
3651 I dont like it, but I dont know a better way... :/
3653 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3655 * shell/ev-page-action.c: (ev_page_action_widget_set_page_cache),
3656 (ev_page_action_widget_finalize),
3657 (ev_page_action_widget_class_init), (update_page_cache):
3659 Keep a weak reference on proxy->page_cache so that we
3660 dont try to disconnect the signal if the object is already
3661 gone. Maybe there is a better way to cleanup reference handling
3662 in page action though...
3664 2005-05-10 Juerg Billeter <j@bitron.ch>
3666 * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
3667 * backend/ev-ps-exporter.h:
3668 * pdf/ev-poppler.cc: (pdf_document_ps_exporter_begin):
3669 * ps/ps-document.c: (ps_document_ps_export_begin):
3671 Change api to pass print range to ps_exporter_begin. The pdf backend
3672 requires this information.
3674 * shell/ev-print-job.c: (idle_print_handler):
3678 2005-05-10 Juerg Billeter <j@bitron.ch>
3680 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
3681 (idle_print_handler)
3682 * shell/ev-window.c: (ev_window_print):
3684 Support printing page range, based on patch by Amaury Jacquot
3686 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3688 * data/evince-toolbar.xml:
3690 Add zoom control to available items
3692 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3694 * shell/ev-window.c: (update_action_sensitivity):
3696 Set slash action insensitive when appropriate
3698 2005-05-10 Christian Persch <chpe@gnome.org>
3700 * cut-n-paste/zoom-control/ephy-zoom-action.c: (create_menu_item):
3702 Fix warning on the overflow menu
3704 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3706 * shell/ev-window.c: (sanity_check_uri), (ev_window_open):
3708 Check for uri correctness/existence
3710 2005-05-09 Juerg Billeter <j@bitron.ch>
3712 * shell/ev-window.c: (using_postscript_printer):
3714 LPD printers use postscript, too
3716 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
3718 * shell/ev-window.c: (register_custom_actions):
3720 The zoom one is actually sort of useful,
3723 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
3725 * shell/ev-window.c: (register_custom_actions):
3727 Hide page/zoom controls from overflow, they
3730 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
3732 * cut-n-paste/update-from-egg.sh:
3734 Share it between all cut-n-paste subdirs
3736 * cut-n-paste/recent-files/Makefile.am:
3738 Fix to use "global" update-from-egg.sh
3740 * cut-n-paste/recent-files/egg-recent-model.c:
3741 (egg_recent_model_changed_timeout), (egg_recent_model_finalize):
3742 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
3743 (egg_recent_view_gtk_clear), (egg_recent_view_gtk_set_list),
3744 (egg_recent_view_gtk_finalize), (egg_recent_view_gtk_set_menu):
3748 * cut-n-paste/toolbar-editor/Makefile.am:
3750 Fix to use "global" update-from-egg.sh
3752 * cut-n-paste/toolbar-editor/eggmarshalers.list:
3756 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
3759 * cut-n-paste/Makefile.am:
3760 * cut-n-paste/recent-files/Makefile.am:
3761 * cut-n-paste/toolbar-editor/.cvsignore:
3762 * cut-n-paste/toolbar-editor/Makefile.am:
3763 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
3764 (egg_editable_toolbar_get_type), (get_toolbar_position),
3765 (get_n_toolbars), (get_dock_nth), (get_toolbar_nth), (find_action),
3766 (drag_data_delete_cb), (drag_begin_cb), (drag_end_cb),
3767 (drag_data_get_cb), (set_drag_cursor), (unset_drag_cursor),
3768 (set_item_drag_source), (create_item_from_action), (create_item),
3769 (data_is_separator), (drag_data_received_cb), (remove_toolbar_cb),
3770 (popup_toolbar_context_menu_cb), (free_dragged_item),
3771 (toolbar_drag_drop_cb), (toolbar_drag_motion_cb),
3772 (toolbar_drag_leave_cb), (create_dock), (set_fixed_style),
3773 (unset_fixed_style), (toolbar_changed_cb), (unparent_fixed),
3774 (update_fixed), (toolbar_added_cb), (toolbar_removed_cb),
3775 (item_added_cb), (item_removed_cb),
3776 (egg_editable_toolbar_construct),
3777 (egg_editable_toolbar_disconnect_model),
3778 (egg_editable_toolbar_deconstruct),
3779 (egg_editable_toolbar_set_model),
3780 (egg_editable_toolbar_set_ui_manager),
3781 (egg_editable_toolbar_set_property),
3782 (egg_editable_toolbar_get_property),
3783 (egg_editable_toolbar_class_init), (egg_editable_toolbar_init),
3784 (egg_editable_toolbar_finalize), (egg_editable_toolbar_new),
3785 (egg_editable_toolbar_new_with_model),
3786 (egg_editable_toolbar_get_edit_mode),
3787 (egg_editable_toolbar_set_edit_mode), (egg_editable_toolbar_show),
3788 (egg_editable_toolbar_hide), (egg_editable_toolbar_set_fixed),
3789 (egg_editable_toolbar_set_drag_dest), (fake_expose_widget),
3790 (new_pixbuf_from_widget), (new_separator_pixbuf),
3791 (update_separator_image), (style_set_cb),
3792 (_egg_editable_toolbar_new_separator_image),
3793 (egg_editable_toolbar_get_model):
3794 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
3795 * cut-n-paste/toolbar-editor/egg-marshal.c:
3796 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
3797 (egg_toolbar_editor_get_type), (compare_actions), (find_action),
3798 (egg_toolbar_editor_set_ui_manager), (toolbar_removed_cb),
3799 (egg_toolbar_editor_set_model), (egg_toolbar_editor_set_property),
3800 (egg_toolbar_editor_get_property), (egg_toolbar_editor_class_init),
3801 (egg_toolbar_editor_finalize), (egg_toolbar_editor_new),
3802 (drag_begin_cb), (drag_end_cb), (editor_drag_data_received_cb),
3803 (editor_drag_data_delete_cb), (drag_data_get_cb),
3804 (elide_underscores), (set_drag_cursor), (event_box_realize_cb),
3805 (editor_create_item), (update_editor_sheet), (setup_editor),
3806 (egg_toolbar_editor_init), (egg_toolbar_editor_add_action),
3807 (parse_item_list), (model_has_action), (update_actions_list),
3808 (egg_toolbar_editor_load_actions):
3809 * cut-n-paste/toolbar-editor/egg-toolbar-editor.h:
3810 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
3811 (egg_toolbars_model_get_type), (egg_toolbars_model_to_xml),
3812 (safe_save_xml), (egg_toolbars_model_save), (toolbars_toolbar_new),
3813 (toolbars_item_new), (free_toolbar_node), (free_item_node),
3814 (egg_toolbars_model_get_flags), (egg_toolbars_model_set_flags),
3815 (egg_toolbars_model_add_separator), (impl_add_item),
3816 (parse_item_list), (egg_toolbars_model_add_toolbar),
3817 (parse_toolbars), (egg_toolbars_model_load), (impl_get_item_id),
3818 (impl_get_item_data), (impl_get_item_type),
3819 (_egg_accumulator_STRING), (egg_toolbars_model_class_init),
3820 (egg_toolbars_model_init), (free_toolbar),
3821 (egg_toolbars_model_finalize), (egg_toolbars_model_new),
3822 (egg_toolbars_model_remove_toolbar),
3823 (egg_toolbars_model_remove_item), (egg_toolbars_model_move_item),
3824 (egg_toolbars_model_n_items), (egg_toolbars_model_item_nth),
3825 (egg_toolbars_model_n_toolbars), (egg_toolbars_model_toolbar_nth),
3826 (egg_toolbars_model_add_item), (egg_toolbars_model_get_item_id),
3827 (egg_toolbars_model_get_item_data),
3828 (egg_toolbars_model_get_item_type):
3829 * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
3830 * cut-n-paste/toolbar-editor/eggmarshalers.list:
3832 * data/evince-toolbar.xml:
3833 * data/evince-ui.xml:
3834 * data/hand-open.png:
3836 * shell/Makefile.am:
3837 * shell/ev-window.c: (update_chrome_visibility),
3838 (ev_window_cmd_edit_toolbar_cb), (ev_window_cmd_edit_toolbar),
3839 (ev_window_dispose), (ev_window_init):
3841 Implement epiphany like toolbar editor. Based on patch by
3842 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3844 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
3846 * shell/ev-sidebar-thumbnails.c: (page_changed_cb):
3848 Use set_cursor instead of set_selection, so that
3849 the keyboard focus moves too.
3851 2005-05-09 Aleksey Kliger <akliger@gmail.com>
3853 * dvi/mdvi-lib/tfmfile.c: (lookup_font_metrics):
3855 Fix infinite loop when loading Type1 fonts
3857 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
3859 * data/evince-ui.xml:
3860 * shell/ev-window.c:
3864 2005-05-09 Thomas de Grenier de Latour <degrenier@easyconnect.fr>
3868 Make --disable really disable
3870 2005-05-07 Juerg Billeter <j@bitron.ch>
3872 * backend/ev-page-cache.c: (ev_page_cache_set_page_label):
3874 Compare page labels even without has_labels set, fixes setting page
3877 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
3879 * shell/ev-view.c: (ev_view_create_invisible_cursor),
3880 (ev_view_set_cursor), (ev_view_button_press_event),
3881 (ev_view_motion_notify_event), (ev_view_button_release_event),
3884 Implement middle button scrolling. Based on a patch
3885 by Tommi Komulainen <tommi.komulainen@iki.fi>.
3887 2005-05-08 Marco Pesenti Gritti <mpg@redhat.com>
3889 * shell/ev-document-types.c: (get_slow_mime_type),
3890 (get_document_type_from_mime), (ev_document_type_lookup):
3891 * shell/ev-document-types.h:
3893 Change api to lookup from uri. Do fast lookup first, if the
3894 type is unknown try with data sniffing.
3896 * shell/ev-window.c: (ev_window_open), (ev_window_open_uri_list):
3897 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3901 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
3903 * thumbnailer/Makefile.am:
3907 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
3914 * data/evince-ui.xml:
3916 Hide presentation mode for now
3918 * shell/ev-view.c: (highlight_find_results):
3920 Show current find selection only on current page
3922 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
3924 * shell/ev-view.c: (ev_view_select_all):
3926 Compute size of the actual page, not of
3929 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
3931 * shell/ev-view.c: (clear_selection), (ev_view_finalize),
3932 (view_rect_to_doc_rect), (compute_selections),
3933 (ev_view_bin_expose), (ev_view_select_all), (get_selected_text),
3934 (ev_view_copy), (ev_view_primary_get_cb),
3935 (ev_view_primary_clear_cb), (ev_view_update_primary_selection),
3936 (ev_view_button_press_event), (ev_view_motion_notify_event),
3937 (ev_view_button_release_event), (page_changed_cb):
3941 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
3943 * shell/ev-view.c: (compute_border), (get_page_extents),
3944 (doc_rect_to_view_rect), (highlight_find_results),
3945 (ev_view_bin_expose), (ev_view_select_all),
3946 (ev_view_motion_notify_event), (update_find_status_message),
3947 (jump_to_find_result), (jump_to_find_page):
3949 First go at fixing search, still buggy
3951 2005-05-04 Kristian Høgsberg <krh@redhat.com>
3953 * shell/ev-sidebar.c (ev_sidebar_init): Remove frame around
3954 dropdown box and button at the top of the sidebar.
3956 2005-05-02 James Bowes <bowes@cs.dal.ca>
3958 * configure.ac: Output zoom-control Makefile.
3959 * cut-n-paste/Makefile.am: build zoom-control subdir.
3960 * cut-n-paste/zoom-control/ephy-zoom-action.c:
3961 * cut-n-paste/zoom-control/ephy-zoom-action.h:
3962 * cut-n-paste/zoom-control/ephy-zoom-control.c:
3963 * cut-n-paste/zoom-control/ephy-zoom-control.h:
3964 * cut-n-paste/zoom-control/ephy-zoom.c:
3965 * cut-n-paste/zoom-control/ephy-zoom.h: New files imported
3966 from epiphany, and modified to add a separator into the menu.
3967 * cut-n-paste/zoom-control/Makefile.am: Build zoom-control.
3968 * data/evince-ui.xml: Replace old zoom toolbar actions with new
3969 zoom-control action.
3970 * shell/Makefile.am: Include zoom-control flags.
3971 * shell/ev-view.c: (ev_view_set_zoom), (ev_view_get_zoom),
3972 (ev_view_get_sizing_mode), (ev_view_zoom_in), (ev_view_zoom_out),
3973 (ev_view_zoom_for_size_presentation),
3974 (ev_view_zoom_for_size_continuous_and_dual_page),
3975 (ev_view_zoom_for_size_continuous),
3976 (ev_view_zoom_for_size_dual_page),
3977 (ev_view_zoom_for_size_single_page), (ev_view_zoom_normal):
3978 s/ev_view_zoom/ev_view_set_zoom/ and make public, add
3979 ev_view_get_zoom and ev_view_get_sizing_mode.
3981 * shell/ev-window.c: (update_action_sensitivity),
3982 (update_sizing_buttons), (zoom_control_changed_cb),
3983 (register_custom_actions): Initialize and use the zoom-control
3986 Sun May 1 00:46:47 2005 Jonathan Blandford <jrb@redhat.com>
3988 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init): Change the
3989 preview cache back to 1. Don't know when it got set to 0.
3991 * shell/ev-view.c: (compute_border), (ev_view_realize),
3992 (draw_one_page), (ev_view_set_property), (ev_view_get_property),
3993 (ev_view_class_init), (ev_view_init), (ev_view_set_fullscreen),
3994 (ev_view_get_fullscreen), (ev_view_set_presentation),
3995 (ev_view_get_presentation), (ev_view_set_sizing_mode),
3996 (ev_view_zoom_for_size_presentation), (ev_view_set_zoom_for_size):
3998 * shell/ev-window.c:
3999 (update_chrome_visibility),
4000 (ev_window_cmd_continuous), (ev_window_cmd_dual),
4001 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
4002 (update_document_mode), (ev_window_update_fullscreen_action),
4003 (ev_window_fullscreen), (ev_window_unfullscreen),
4004 (ev_window_cmd_view_fullscreen),
4005 (ev_window_update_presentation_action),
4006 (ev_window_run_presentation), (ev_window_stop_presentation),
4007 (ev_window_cmd_view_presentation), (ev_window_state_event),
4008 (ev_window_focus_in_event), (ev_window_focus_out_event),
4009 (ev_window_cmd_escape), (ev_window_sidebar_visibility_changed_cb):
4010 * data/evince-ui.xml: Initial presentation mode. We should
4011 probably hide this until it's done, as it's quite rough. Also,
4012 change full-screen to fullscreen and add two getters to EvView.
4014 2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
4016 * shell/ev-page-action.c: (update_page_cache),
4017 (ev_page_action_dispose):
4018 * shell/ev-window.c: (destroy_fullscreen_popup),
4019 (ev_window_create_fullscreen_popup):
4021 Use connect_object rather than explicitly
4022 disconnect on dispose.
4024 2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
4026 * shell/ev-page-action.c: (update_page_cache),
4027 (ev_page_action_dispose):
4029 2005-04-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4031 * backend/ev-page-cache.c: (_ev_page_cache_new),
4032 (ev_page_cache_set_page_label),
4033 (ev_page_cache_has_nonnumeric_page_labels):
4034 * backend/ev-page-cache.h:
4035 * shell/ev-page-action.c: (update_pages_label):
4037 If all page labels are numeric, fallback to default
4038 way to display number of pages. See bug 173185.
4040 2005-04-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4042 * shell/ev-page-action.c: (ev_page_action_dispose):
4043 * shell/ev-view.c: (view_update_range_and_current_page):
4044 * shell/ev-window.c: (ev_window_dispose):
4046 Set page on scroll in continuous mode. Fixes bug 301986.
4047 Also cleanup callbacks on destroy of EvWindow and EvPageAction.
4049 2005-04-26 Marco Pesenti Gritti <mpg@redhat.com>
4053 Require poppler 0.3.0
4055 2005-04-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4057 * shell/Makefile.am, configure.ac: Fix build problems
4058 with t1lib. Bug 301996.
4060 2005-04-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4062 * shell/ev-view.c: (ev_view_scroll_event):
4064 Scroll up increase zoom
4066 2005-04-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4068 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_class_init),
4069 (ev_view_set_sizing_mode),
4070 (ev_view_zoom_for_size_continuous_and_dual_page),
4071 (ev_view_zoom_for_size_continuous):
4072 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
4073 (ev_window_cmd_view_page_width), (ev_window_cmd_view_zoom_in),
4074 (ev_window_cmd_view_zoom_out), (ev_window_sizing_mode_changed_cb),
4077 Control + Scroll does zooming, Shift + Scroll scrolls horizontally
4078 Fix for 165473 and 165472.
4080 2005-04-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4083 * thumbnailer/Makefile.am:
4084 * thumbnailer/evince-thumbnailer-djvu.schemas.in:
4085 * thumbnailer/evince-thumbnailer-dvi.schemas.in:
4086 * thumbnailer/evince-thumbnailer.schemas.in:
4088 Make thumbnailer schemas translatable. Fix for bug 301773
4090 * thumbnailer/evince-thumbnailer-djvu.schemas:
4091 * thumbnailer/evince-thumbnailer-dvi.schemas:
4092 * thumbnailer/evince-thumbnailer.schemas:
4096 Sun Apr 24 01:37:39 2005 Jonathan Blandford <jrb@redhat.com>
4098 * shell/ev-view.c (ev_view_init): forgot to set this.
4100 Sun Apr 24 01:07:27 2005 Jonathan Blandford <jrb@redhat.com>
4102 * shell/ev-view.c: (find_page_at_location),
4103 (get_link_at_location),
4104 (ev_view_set_show_border), (ev_view_set_spacing),
4105 (ev_view_zoom_for_size_continuous_and_dual_page),
4106 (ev_view_zoom_for_size_continuous): Fix links for dual/continuous.
4107 Also, add a quick fix measuring of widths. Also, removed
4108 ev_view_set_spacing and ev_view_set_show_border.
4110 * shell/ev-window.c: (ev_window_unfullscreen),
4111 (ev_window_cmd_view_fullscreen): Don't adjust the border/spacing.
4113 2005-04-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4115 * shell/ev-view.c: (view_update_range_and_current_page),
4118 Fix crash on exit and scrolling to page in continuous view.
4120 Sat Apr 23 13:13:04 2005 Jonathan Blandford <jrb@redhat.com>
4123 * backend/ev-page-cache.c: (_ev_page_cache_new),
4124 (ev_page_cache_get_max_width_size),
4125 (ev_page_cache_get_max_height_size):
4126 * backend/ev-page-cache.h:
4127 * data/evince-ui.xml:
4128 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init):
4129 * shell/ev-view.c: (view_update_adjustments),
4130 (view_update_range_and_current_page), (get_bounding_box_size),
4131 (ev_view_size_request_continuous_and_dual_page),
4132 (ev_view_size_request_continuous),
4133 (ev_view_size_request_dual_page),
4134 (ev_view_size_request_single_page), (ev_view_size_request),
4135 (ev_view_size_allocate), (get_page_extents), (draw_one_page),
4136 (ev_view_bin_expose), (ev_view_expose_event),
4137 (ev_view_set_property), (ev_view_get_property),
4138 (ev_view_class_init), (ev_view_init), (ev_view_new),
4139 (page_changed_cb), (ev_view_zoom), (ev_view_set_continuous),
4140 (ev_view_set_dual_page), (ev_view_set_full_screen),
4141 (ev_view_set_presentation), (ev_view_set_sizing_mode),
4142 (ev_view_can_zoom_in), (ev_view_can_zoom_out), (ev_view_zoom_in),
4143 (ev_view_zoom_out), (zoom_for_size_fit_width),
4144 (zoom_for_size_best_fit),
4145 (ev_view_zoom_for_size_continuous_and_dual_page),
4146 (ev_view_zoom_for_size_continuous),
4147 (ev_view_zoom_for_size_dual_page),
4148 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
4149 (ev_view_show_cursor), (ev_sizing_mode_get_type):
4151 * shell/ev-window.c: (update_action_sensitivity),
4152 (ev_window_cmd_continuous), (ev_window_cmd_dual),
4153 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
4154 (update_sizing_buttons), (ev_window_cmd_view_zoom_in),
4155 (ev_window_cmd_view_zoom_out), (update_view_size),
4156 (ev_window_set_sizing_mode), (ev_window_init):
4158 Add Continuous and Dual page modes.
4160 2005-04-23 James Bowes <bowes@cs.dal.ca>
4162 * dvi/dvi-document.c: (dvi_document_load),
4163 (dvi_document_thumbnails_get_thumbnail),
4164 (dvi_document_init_params): Fix up some mixups between
4165 width and height to correct thumbnail rendering.
4167 2005-04-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4169 * dvi/mdvi-lib/private.h:
4170 * dvi/mdvi-lib/setup.c: (mdvi_init_kpathsea):
4172 Suppess output for kpathsea during font generation. Thanks to
4175 Fri Apr 22 19:57:46 2005 Jonathan Blandford <jrb@redhat.com>
4182 * Makefile.am: fix distcheck.
4184 2005-04-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4186 * shell/ev-sidebar-links.c: (selection_changed_callback),
4187 (update_page_callback), (row_activated_callback),
4188 (job_finished_callback), (ev_sidebar_links_set_document):
4190 Fix for bug #169901. Double click on links expands tree.
4192 2005-03-14 Bryan Clark <clarkbw@cvs.gnome.org>
4194 * shell/ev-window.c (ev_window_init): Removed fullscreen toolbar
4195 hard-coded style. Fix for bug 170111
4197 2005-04-22 Kristian Høgsberg <krh@redhat.com>
4199 * shell/ev-view.c (highlight_find_results): Remove unnecessary
4202 2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
4204 * thumbnailer/evince-thumbnailer.schemas: real fix for bug 172496
4206 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
4208 * pdf/ev-poppler.cc:
4209 * shell/ev-view.c: (highlight_find_results):
4211 Fix find on single page documents
4213 2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
4215 * data/evince.schemas.in: fix for bug 301390
4217 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
4219 * shell/ev-view.c: (ev_view_can_zoom_in), (ev_view_can_zoom_out),
4220 (ev_view_zoom_out), (ev_view_zoom_normal):
4222 * shell/ev-window.c: (update_action_sensitivity),
4223 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
4224 (ev_window_cmd_view_zoom_in), (ev_window_cmd_view_zoom_out),
4225 (ev_window_cmd_view_normal_size):
4227 Fix normal size zoom. Make zoom in/zoom out unsensitive when
4228 they are behyond the limits. Tweak MAX_ZOOM to 6, sucks but
4231 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
4235 Depend on 2.57, 2.59 doesnt seem to be necessary
4237 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
4239 * shell/ev-page-action.c: (update_pages_label), (page_changed_cb),
4242 Put back total number of pages as (1 of 1234)
4244 Thu Apr 21 23:37:52 2005 Jonathan Blandford <jrb@redhat.com>
4246 * shell/ev-pixbuf-cache.c (dispose_cache_job_info): actually
4249 * backend/ev-document.h: Remove EV_DOC_MUTEX in favor of a locking
4250 function. This helps debugging.
4252 2005-04-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4254 * djvu/djvu-document.c: (djvu_document_class_init),
4255 (djvu_document_get_info), (djvu_document_document_iface_init):
4256 * dvi/dvi-document.c: (dvi_document_class_init),
4257 (dvi_document_get_info), (dvi_document_document_iface_init):
4259 Dummy implementation of get_info method for dvi and djvu. Fix
4260 crashes with those backends
4262 2005-04-20 Marco Pesenti Gritti <mpg@redhat.com>
4264 * data/evince.desktop.in:
4266 Add application/x-gzpostscript
4268 2005-04-20 Bryan Clark <clarkbw@cvs.gnome.org>
4270 * data/evince.schemas.in: Added real long descriptions,
4273 * README: Added actual text, closes bug 171869
4275 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
4277 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
4281 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
4283 * backend/ev-document-info.h:
4285 s/GDate */GDate so we can just use g_free
4287 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
4289 * shell/ev-window.c: (update_document_mode),
4290 (ev_window_setup_document):
4292 Show the window in fullscreen when specified by
4295 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
4297 * backend/ev-document.c: (ev_document_class_init),
4298 (ev_document_get_info), (ev_document_render_pixbuf):
4299 * backend/ev-document.h:
4300 * backend/ev-page-cache.c: (_ev_page_cache_new):
4301 * pdf/ev-poppler.cc:
4302 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
4303 (pixbuf_document_get_info), (pixbuf_document_document_iface_init):
4304 * ps/ps-document.c: (ps_document_class_init), (document_load),
4305 (ps_document_get_info), (ps_document_document_iface_init):
4307 Remove get_title from the interface, we can just use document info
4309 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
4311 * backend/Makefile.am:
4312 * backend/ev-document.c: (ev_document_render_get_info):
4313 * backend/ev-document.h:
4314 * pdf/ev-poppler.cc:
4316 Initial support for document info. Based on jrb patch.
4318 2005-04-19 Paolo Borelli <pborelli@katamail.com>
4320 * shell/ev-window.c: (ev_window_state_event),
4321 (ev_window_class_init), (ev_window_init):
4323 Doesn't show resize grip when maximized. See bug #301053
4325 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4329 ev-sidebar-thumbnails now has translatable labels
4331 * shell/Makefile.am:
4332 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document),
4333 (ev_sidebar_links_support_document), (ev_sidebar_links_get_label),
4334 (ev_sidebar_links_page_iface_init):
4335 * shell/ev-sidebar-links.h:
4336 * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
4337 (ev_sidebar_page_support_document), (ev_sidebar_page_set_document),
4338 (ev_sidebar_page_get_label):
4339 * shell/ev-sidebar-page.h:
4340 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_new),
4341 (ev_sidebar_thumbnails_set_document),
4342 (ev_sidebar_thumbnails_support_document),
4343 (ev_sidebar_thumbnails_get_label),
4344 (ev_sidebar_thumbnails_page_iface_init):
4345 * shell/ev-sidebar-thumbnails.h:
4346 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
4347 (ev_sidebar_set_document):
4348 * shell/ev-sidebar.h:
4349 * shell/ev-window.c: (ev_window_setup_document), (ev_window_init):
4351 Small rework of sidebar code. Now sidebar pages should implement
4352 EvSidebarPage interface. That makes page management in EvSidebar
4353 easier. See bug #164811 for details
4355 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4357 * shell/ev-application.c: (ev_application_open):
4358 * shell/ev-document-types.c:
4360 Fix build error and small problem with application exit
4362 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4364 * thumbnailer/Makefile.am:
4365 * thumbnailer/evince-thumbnailer-djvu.schemas:
4366 * thumbnailer/evince-thumbnailer-dvi.schemas:
4368 Conditionally install schemas for djvu/dvi thumbnailer
4370 2005-04-18 David Malcolm <dmalcolm@redhat.com>
4372 * shell/ev-document-types.h:
4373 * shell/ev-document-types.c:
4374 New files, handling the mapping from mimetypes to backends
4376 * shell/ev-window.c:
4377 * thumbnailer/evince-thumbnailer.c:
4378 Use the ev-document-types code
4380 * shell/Makefile.am:
4381 Added new convenience library libevbackendfactory_la, containing
4382 the new mimetype->backend logic; moved the backends into it.
4384 * thumbnailer/Makefile.am:
4385 Make the thumbnailer link with the libevbackend.la convenience
4386 library, rather than having a duplicate of the backend logic here.
4388 2005-04-18 Paolo Borelli <pborelli@katamail.com>
4390 * shell/ev-stock-icons.c: constify some vars.
4391 * shell/ev-window.c: ditto.
4393 2005-04-18 Marco Pesenti Gritti <mpg@redhat.com>
4395 * ps/ps-document.c (get_page_orientation):
4397 Respect document orientation
4399 2005-04-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4403 * shell/Makefile.am:
4405 Move library dependencies to components.
4407 * shell/ev-window.c: (update_window_title),
4408 (start_loading_document):
4410 Fix display of uris with spaces. Bug 168358.
4412 Sat Apr 16 18:53:47 2005 Jonathan Blandford <jrb@redhat.com>
4414 * shell/ev-sidebar-links.c: (selection_changed_cb):
4415 * shell/ev-view.c: (ev_view_finalize), (go_to_link),
4416 (ev_view_button_release_event), (ev_view_set_document):
4418 * shell/ev-window.c: (find_bar_search_changed_cb):
4419 * shell/ev-window.h: Minor cleanups removing some dead code.
4421 2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4423 * backend/ev-page-cache.c: (_ev_page_cache_new):
4425 Set current page to 0 if document has pages.
4427 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
4429 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
4431 Initialize GError to NULL, fix a crash when loading fails.
4433 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
4435 * shell/ev-window.c: (update_view_size):
4437 Calculate shadow size only when there is actually
4440 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
4442 * shell/ev-view.c: (ev_view_set_spacing), (ev_view_init):
4445 Allow setting view spacing, default to 0
4447 * shell/ev-window.c: (ev_window_unfullscreen),
4448 (ev_window_cmd_view_fullscreen), (ev_window_init):
4450 Remove spacing in fullscreen mode
4452 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
4454 * shell/ev-view.c: (compute_border), (compute_zoom_factor),
4455 (ev_view_size_request), (expose_bin_window),
4456 (ev_view_set_show_border), (ev_view_init), (page_changed_cb):
4458 * shell/ev-window.c: (ev_window_unfullscreen),
4459 (ev_window_cmd_view_fullscreen):
4461 Do not draw the border in fulscreen
4463 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
4465 * shell/ev-view.c: (ev_view_get_offsets), (compute_zoom_factor),
4466 (ev_view_size_request), (expose_bin_window), (ev_view_select_all),
4467 (find_page_at_location), (page_changed_cb):
4469 Rework border calculation, so that I can more easily disable it.
4470 Code somewhat cleaner too.
4472 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
4474 * backend/ev-page-cache.c: (ev_page_cache_init),
4475 (_ev_page_cache_new):
4477 Remove some assertions, documents can have 0 pages.
4478 Make initial current page -1.
4480 * shell/ev-page-action.c: (page_changed_cb):
4482 Show "" if current page is -1
4484 * shell/ev-window.c: (update_action_sensitivity),
4485 (ev_window_setup_document):
4487 When document has 0 pages do not set the view
4488 and make nearly everything insensitive.
4490 2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4492 * shell/ev-page-view.c:
4493 * shell/ev-page-view.h:
4495 Remove unused files.
4497 * shell/ev-sidebar-thumbnails.c:
4498 (ev_sidebar_thumbnails_set_document):
4499 * shell/ev-sidebar.c: (ev_sidebar_set_document),
4500 (ev_sidebar_supports_document):
4501 * shell/ev-sidebar.h:
4502 * shell/ev-window.c: (ev_window_setup_document):
4504 Doesn't show thumbnails if document has 1 page. Make
4505 sidebar menu entries sensitive only if if they have
4506 sense. Fix bug 164811.
4508 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
4510 * shell/ev-view.c: (compute_zoom_factor), (ev_view_size_request),
4511 (page_changed_cb), (ev_view_zoom), (ev_view_zoom_in),
4512 (ev_view_zoom_out), (ev_view_set_size):
4514 Rework sizing to deal with documents with not uniform page
4517 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
4519 * backend/ev-page-cache.c: (_ev_page_cache_new):
4521 Fix several page size caching bugs
4523 2005-04-15 Luca Ferretti <elle.uca@libero.it>
4525 * shell/ev-window.c: (set_action_properties):
4527 Make all toolbar items translatable
4529 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
4531 * ps/ps-document.c: (ps_document_init), (ps_document_get_type),
4532 (save_page_list), (ps_document_save),
4533 (ps_document_document_iface_init), (ps_document_ps_export_begin),
4534 (ps_document_ps_export_do_page), (ps_document_ps_export_end),
4535 (ps_document_ps_exporter_iface_init):
4538 Based on a patch by J�rg Billeter <j@bitron.ch>
4540 Implement print and save a copy for the ps backend.
4542 2005-04-14 Marco Pesenti Gritti <mpg@redhat.com>
4544 * backend/ev-document.h:
4545 * djvu/djvu-document.c: (djvu_document_can_get_text),
4546 (djvu_document_document_iface_init):
4547 * dvi/dvi-document.c: (dvi_document_can_get_text),
4548 (dvi_document_document_iface_init):
4549 * pdf/ev-poppler.cc:
4550 * pixbuf/pixbuf-document.c: (pixbuf_document_can_get_text),
4551 (pixbuf_document_document_iface_init):
4552 * ps/ps-document.c: (ps_document_can_get_text),
4553 (ps_document_document_iface_init):
4554 * shell/ev-view.c: (ev_view_copy), (ev_view_primary_get_cb):
4555 * shell/ev-window.c: (update_action_sensitivity):
4557 Fix the crash when trying to copy in backends that doesnt
4558 support it. We can implement a better solution once we
4559 do real text selection.
4561 2005-04-12 Marco Pesenti Gritti <mpg@redhat.com>
4563 * data/evince-ui.xml:
4564 * shell/ev-window.c: (ev_window_cmd_escape):
4566 Work around the Escape conflict (find bar and unfullscreen)
4568 2005-04-12 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
4570 * backend/ev-page-cache.c: (ev_page_cache_next_page):
4572 Fix for #300233. Next page correctly handles document end.
4574 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
4575 (ev_sidebar_thumbnails_class_init),
4576 (ev_sidebar_thumbnails_set_document),
4577 (ev_sidebar_thumbnails_clear_job),
4578 (ev_sidebar_thumbnails_clear_model):
4580 Cleanup thumbnail jobs on document changes.
4582 * shell/ev-view.c: (add_scroll_binding_keypad),
4583 (add_scroll_binding_shifted), (ev_view_class_init):
4585 Shift + Space scrolls up. Fix for #173184
4587 * shell/ev-window.c: (ev_window_open_page),
4588 (ev_window_cmd_view_reload):
4590 Fix reload (Bug #300094)
4592 2005-04-09 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4595 * dvi/mdvi-lib/assoc.c:
4596 * dvi/mdvi-lib/assoc.h: Removed garbage files
4598 * dvi/mdvi-lib/bitmap.c:
4599 * dvi/mdvi-lib/color.c: (mdvi_set_color), (mdvi_push_color),
4600 (mdvi_pop_color), (mdvi_reset_color), (get_color_table):
4601 * dvi/mdvi-lib/color.h: Antialias of rules
4603 * dvi/mdvi-lib/common.h:
4604 * dvi/mdvi-lib/dviread.c: (mdvi_configure), (mdvi_init_context),
4605 (mdvi_destroy_context), (draw_shrink_rule), (draw_box), (set_rule):
4606 * dvi/mdvi-lib/files.c:
4607 * dvi/mdvi-lib/fontmap.c: (ps_init_default_paths):
4608 * dvi/mdvi-lib/mdvi.h:
4609 * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
4610 * dvi/mdvi-lib/tfmfile.c: (ofm_load_file):
4611 * dvi/mdvi-lib/util.c: Fix compile warnings
4613 * dvi/dvi-document.c:
4614 (dvi_document_load), (dvi_document_thumbnails_get_dimensions),
4615 (dvi_document_thumbnails_get_thumbnail),
4616 (dvi_document_document_thumbnails_iface_init):
4617 * dvi/mdvi-lib/Makefile.am:
4618 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
4619 (dvi_pixbuf_set_color), (mdvi_pixbuf_device_render):
4621 Dvi backend now renders thumbnails
4623 2005-04-09 Christian Persch <chpe@cvs.gnome.org>
4625 * shell/main.c: (main):
4627 Save accelerators on exit. Fixes bug #172095.
4629 Sat Apr 9 01:05:09 2005 Jonathan Blandford <jrb@redhat.com>
4631 * shell/ev-pixbuf-cache.c (move_one_job): Actually fix the "FIXME:
4632 update priority" comment.
4634 * backend/ev-job-queue.c: Give a way to change priority.
4636 Sat Apr 9 00:05:36 2005 Jonathan Blandford <jrb@redhat.com>
4638 * shell/ev-page-action.c: Fix logic.
4640 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
4642 * shell/ev-view.c: (ev_view_can_find_next):
4643 * shell/ev-window.c: (ev_window_setup_document):
4645 Check that the document supports find
4647 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
4649 * data/evince-ui.xml:
4650 * shell/ev-view.c: (ev_view_can_find_next):
4652 * shell/ev-window.c: (update_action_sensitivity),
4653 (find_changed_cb), (ev_window_setup_document),
4654 (ev_window_cmd_edit_find_next):
4658 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
4660 * pdf/ev-poppler.cc:
4661 * shell/ev-print-job.c: (idle_print_handler):
4663 Make printing work again
4665 Fri Apr 8 01:12:24 2005 Jonathan Blandford <jrb@redhat.com>
4667 * shell/ev-page-action.h:
4668 * shell/ev-page-action.c: (ev_page_action_widget_init),
4669 (ev_page_action_widget_class_init), (page_changed_cb),
4670 (create_tool_item), (update_page_cache), (build_new_tree_cb),
4671 (get_filter_model_from_model), (match_selected_cb),
4672 (display_completion_text), (match_completion), (update_model),
4673 (connect_proxy), (ev_page_action_set_property),
4674 (ev_page_action_get_property), (ev_page_action_set_document),
4675 (ev_page_action_set_model), (ev_page_action_class_init): Big
4676 reworking to make completions work iff we have >= GTK-2.7.0
4678 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_property),
4679 (ev_sidebar_links_get_property), (ev_sidebar_links_class_init),
4680 (job_finished_cb): We now have a 'model' property that is set when
4681 the links are loaded. This can be caught with "notify::model"
4683 * shell/ev-window.c: (sidebar_widget_model_set), (ev_window_init):
4684 listen for the model to be set, and propagate it to the action.
4686 2005-04-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4688 * cut-n-paste/recent-files/egg-recent-item.c:
4689 (egg_recent_item_set_uri), (make_valid_utf8),
4690 (egg_recent_item_set_mime_type), (egg_recent_item_get_mime_type):
4691 * cut-n-paste/recent-files/egg-recent-item.h:
4693 Update egg-recent from libegg. This should fix long
4694 startup problem. For details see
4695 http://bugzilla.gnome.org/show_bug.cgi?id=160531
4697 2005-04-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4699 * cut-n-paste/recent-files/Makefile.am:
4700 * data/evince-ui.xml, shell/Makefile.am:
4701 * shell/ev-application.c, shell/ev-application.h:
4702 * shell/ev-window.c: Recent files support.
4704 * configure.ac: Added "ru" to ALL_LINGUAS.
4706 * dvju: new backend to support DJVU files.
4707 * dvi: new backend to support DVI.
4709 * configure.ac, Makefile.am, shell/Makefile.am, ev-window.c:
4710 * ev-application.c: Support for new backends.
4712 * help, ev-window.c, main.c shell/Makefile.am:
4713 Evince user documentation.
4715 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
4718 * shell/ev-window.c:
4719 * thumbnailer/evince-thumbnailer.c:
4721 s/pdf-document/ev-poppler
4723 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
4730 * ps/ps-document.c: (setup_pixmap):
4734 2005-04-05 Kristian Høgsberg <krh@redhat.com>
4736 * backend/ev-page-cache.c (ev_page_cache_next_page):
4737 * shell/ev-window.c (ev_window_cmd_go_next_page)
4738 (ev_window_cmd_go_first_page): Fix of by one errors.
4740 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
4742 * ps/ps-document.c: (get_page_box):
4744 Fix page size calculation
4746 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
4748 * ps/ps-document.c: (ps_document_init), (push_pixbuf),
4749 (ps_document_cleanup), (setup_pixmap), (get_page_box),
4750 (get_page_orientation), (setup_page), (document_load),
4751 (ps_document_get_page_size), (render_pixbuf_idle):
4754 More refactoring to adapt to EvDocument changes
4756 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
4758 * ps/ps-document.c: (start_interpreter):
4760 Actually add alpha args
4762 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
4764 * pdf/ev-poppler.cc:
4766 Make clipboard work again
4768 2005-04-04 Kristian Høgsberg <krh@redhat.com>
4770 Make searching work again.
4772 * backend/ev-document.c:
4773 * backend/ev-document.h:
4774 * backend/ev-document-find.c:
4775 * backend/ev-document-find.h: Change EvDocumentIface so we no
4776 longer store the current page or zoom level in the document. The
4777 consequence is that all calls that operate on the current page now
4778 instead take the page number as an extra argument, and all
4779 coordinates are now doubles in document coordinate system.
4781 * pdf/ev-poppler.cc:
4782 * pixbuf/pixbuf-document.c:
4783 * ps/ps-document.c: Update backends accordingly.
4785 2005-04-04 Marco Pesenti Gritti <marco@gnome.org>
4789 Add required gettext version
4791 Sat Apr 2 18:57:00 2005 Jonathan Blandford <jrb@redhat.com>
4793 * shell/evwindow.c: Patch from Alberto Mesas <amesas@gmail.com> to
4794 make F1 bring up non-existent help.
4796 * shell/eggfindbar.c: Patch from Christian Persch to sync to
4797 epiphany's find bar, #167477
4799 * shell/ev-view.c (ev_view_jump): Patch from Emil Soleyman-Zomalan
4800 <emil@nishra.com> to add space-bar scrolling,
4802 * shell/ev-window.c (static GtkActionEntry entries): add default
4803 keybinding for Help (F1)
4806 * shell/ev-view.c (ev_view_show_cursor): Fix from Yuval Tanny
4807 changing EV_VIEW_CURSOR_LINK to EV_VIEW_CURSOR_NORMAL resolves bug
4810 2005-04-01 David Malcolm <dmalcolm@redhat.com>
4813 * pixbuf/pixbuf-document.c:
4815 Got pixbuf backend working again
4817 2005-04-01 Steve Murphy <murf@e-tools.com>
4819 * configure.in: Added "rw" to ALL_LINGUAS.
4821 Fri Apr 1 02:33:41 2005 Jonathan Blandford <jrb@redhat.com>
4823 * shell/ev-sidebar-links.c (create_loading_model): Fix mismatch in
4824 model types, noticed by Martin Kretzschmar.
4826 2005-04-01 Kristian Høgsberg <krh@redhat.com>
4828 * pdf/ev-poppler.cc: Implement search based on
4829 poppler_page_find_text(). Currently a bit crude since we remember
4830 all matches from all pages. Also, we grab the big document lock
4831 when we search since searching changes the underlying stream and
4832 thus conflicts with the rendering thread.
4834 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
4835 (jump_to_find_page), (ev_view_set_document), (ev_view_find_next),
4836 (ev_view_find_previous): Fix some page indexes to be 0 based,
4837 offset rubber band by view offset,
4839 Fri Apr 01 09:21:12 2005 Pablo Saratxaga <pablo@mandrakesoft.com>
4841 * configure.ac: Added Walloon (wa) to ALL_LINGUAS.
4843 Fri Apr 1 01:59:39 2005 Jonathan Blandford <jrb@redhat.com>
4845 * shell/ev-page-action.c: Changed to use page labels now. Rewrote
4846 completely because I didn't understand GtkActions. I should
4847 read Marco's code more carefully in the future.
4849 * backend/ev-page-cache.h (ev_page_cache_set_page_label): New
4852 2005-03-31 Kristian Høgsberg <krh@redhat.com>
4854 * pdf/ev-poppler.cc (pdf_document_get_links): Update to work with
4855 PopplerRectangle change from poppler CVS.
4857 Thu Mar 31 13:27:50 2005 Jonathan Blandford <jrb@redhat.com>
4859 * backend/ev-document.c: (ev_document_get_page_label):
4860 * backend/ev-document.h:
4861 * backend/ev-page-cache.c: (_ev_page_cache_new),
4862 (ev_page_cache_get_page_label):
4863 * backend/ev-page-cache.h:
4864 * pdf/ev-poppler.cc:
4865 * shell/ev-sidebar-links.c: (ev_sidebar_links_construct),
4866 (links_page_num_func):
4867 * shell/ev-sidebar-thumbnails.c:
4868 (ev_sidebar_thumbnails_set_document):
4869 * shell/ev-view.c: (status_message_from_link),
4870 (ev_view_motion_notify_event):
4871 * shell/ev-window.c: (document_supports_sidebar): Add in page
4872 label support. It's not perfect yet, but it's the first 'feature'
4874 Also, fix a bogus comment noticed by crispin.
4876 Thu Mar 31 01:21:58 2005 Jonathan Blandford <jrb@redhat.com>
4878 * Makefile.am: Remove pixbuf backend for now
4880 * configure.ac: Require poppler-glib instead of just poppler.
4882 * backend/ev-document-thumbnails.h: Add a comment
4884 * backend/ev-document.h:
4885 * backend/ev-document.c: (ev_document_class_init),
4886 (ev_document_load), (ev_document_get_link),
4887 (ev_document_get_links): Remove 3 methods and add get_links.
4890 * backend/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
4891 * backend/ev-jobs.h: now EvJobRender can grab the links for a document.
4893 * backend/ev-link.c: (ev_link_set_title),
4894 (ev_link_mapping_free_foreach), (ev_link_mapping_free),
4895 (ev_link_mapping_find):
4896 * backend/ev-link.h: Allow NULL titles. Also, introduce a mapping link.
4898 * backend/ev-page-cache.c: (ev_page_cache_init),
4899 (_ev_page_cache_new), (ev_page_cache_set_current_page),
4900 (ev_page_cache_get_size), (ev_page_cache_next_page),
4901 (ev_page_cache_prev_page): Fix to be 0 based.
4905 * pdf/ev-poppler.cc: New backend.
4907 * ps/ps-document.c: (ps_document_init), (ps_document_set_page),
4908 (ps_document_get_page), (ps_document_document_iface_init):
4910 * shell/ev-pixbuf-cache.h:
4911 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
4912 (dispose_cache_job_info), (job_finished_cb), (move_one_job),
4913 (ev_pixbuf_cache_update_range), (copy_job_to_job_info),
4914 (add_job_if_needed), (ev_pixbuf_cache_set_page_range),
4915 (ev_pixbuf_cache_get_pixbuf), (ev_pixbuf_cache_get_link_mapping):
4916 Fix up code to grab a page cache per each doc. Also, fix to be 0
4919 * shell/ev-sidebar-thumbnails.c:
4920 (ev_sidebar_tree_selection_changed), (page_changed_cb),
4921 (ev_sidebar_thumbnails_set_document): Fix to be 0 based.
4923 * shell/ev-view.c: (status_message_from_link),
4924 (find_page_at_location), (get_link_at_location),
4925 (ev_view_motion_notify_event), (ev_view_button_release_event),
4926 (ev_view_init): Use the new link code. Fix to be 0 based.
4928 * shell/ev-window.c: (update_action_sensitivity),
4929 (document_supports_sidebar): 0 based.
4931 Fri Mar 25 16:55:58 2005 Jonathan Blandford <jrb@redhat.com>
4933 * pdf/pdf-document.cc: Patch from Fernando Herrera
4934 <fherrera@onirica.com> to fix my quick fix to get_thumbnail.
4937 Wed Mar 23 23:49:41 2005 Jonathan Blandford <jrb@redhat.com>
4939 * pdf/pdf-document.cc (pdf_document_thumbnails_get_thumbnail): add
4940 1 to the page, as this seems to be 1 based. I thought we has this
4943 2005-03-23 Marco Pesenti Gritti <marco@gnome.org>
4946 * backend/Makefile.am:
4947 * backend/ev-document-links.c:
4948 (ev_document_links_has_document_links),
4949 (ev_document_links_get_links_model):
4950 * backend/ev-document-links.h:
4951 * backend/ev-document.c: (ev_document_get_page_cache),
4952 (ev_document_get_doc_mutex), (ev_document_load),
4953 (ev_document_save), (ev_document_get_title),
4954 (ev_document_get_n_pages), (ev_document_set_page),
4955 (ev_document_get_page), (ev_document_set_target),
4956 (ev_document_set_scale), (ev_document_set_page_offset),
4957 (ev_document_get_page_size), (ev_document_get_text),
4958 (ev_document_get_link), (ev_document_render),
4959 (ev_document_render_pixbuf), (ev_document_scale_changed):
4960 * backend/ev-document.h:
4961 * backend/ev-job-queue.c: (remove_object_from_queue),
4962 (notify_finished), (handle_job), (search_for_jobs_unlocked),
4963 (no_jobs_available_unlocked), (ev_render_thread),
4964 (ev_job_queue_init), (find_queue), (ev_job_queue_add_job),
4965 (ev_job_queue_remove_job):
4966 * backend/ev-job-queue.h:
4967 * backend/ev-jobs.c: (ev_job_init), (ev_job_dispose),
4968 (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
4969 (ev_job_links_class_init), (ev_job_render_init),
4970 (ev_job_render_dispose), (ev_job_render_class_init),
4971 (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
4972 (ev_job_thumbnail_class_init), (ev_job_finished),
4973 (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
4974 (ev_job_render_run), (ev_job_thumbnail_new),
4975 (ev_job_thumbnail_run):
4976 * backend/ev-jobs.h:
4977 * backend/ev-link.c:
4978 * backend/ev-link.h:
4979 * backend/ev-page-cache.c: (ev_page_cache_init),
4980 (ev_page_cache_class_init), (ev_page_cache_finalize),
4981 (_ev_page_cache_new), (ev_page_cache_get_n_pages),
4982 (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
4983 (ev_page_cache_set_link), (ev_page_cache_get_title),
4984 (ev_page_cache_get_size), (ev_page_cache_next_page),
4985 (ev_page_cache_prev_page):
4986 * backend/ev-page-cache.h:
4987 * pdf/pdf-document.cc:
4990 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
4991 (push_pixbuf), (interpreter_failed), (ps_document_cleanup),
4992 (ps_document_widget_event), (ps_document_finalize), (get_xdpi),
4993 (get_ydpi), (setup_pixmap), (setup_page), (close_pipe),
4994 (is_interpreter_ready), (output), (catchPipe), (input),
4995 (start_interpreter), (check_filecompressed), (compute_dimensions),
4996 (ps_document_enable_interpreter), (document_load),
4997 (ps_document_next_page), (render_page), (ps_document_set_page),
4998 (ps_document_set_scale), (render_pixbuf_idle),
4999 (ps_document_render_pixbuf), (ps_document_document_iface_init):
5001 * shell/Makefile.am:
5002 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
5003 (ev_pixbuf_cache_class_init), (ev_pixbuf_cache_finalize),
5004 (dispose_cache_job_info), (ev_pixbuf_cache_dispose),
5005 (ev_pixbuf_cache_new), (job_finished_cb),
5006 (check_job_size_and_unref), (move_one_job),
5007 (ev_pixbuf_cache_update_range), (find_job_cache),
5008 (ev_pixbuf_cache_clear_job_sizes), (add_job_if_needed),
5009 (ev_pixbuf_cache_add_jobs_if_needed),
5010 (ev_pixbuf_cache_set_page_range), (ev_pixbuf_cache_get_pixbuf):
5011 * shell/ev-pixbuf-cache.h:
5012 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
5013 (idle_print_handler):
5014 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
5015 (selection_changed_cb), (create_loading_model),
5016 (ev_sidebar_links_construct), (links_page_num_func),
5017 (ev_sidebar_links_clear_document), (update_page_callback_foreach),
5018 (update_page_callback), (job_finished_cb),
5019 (ev_sidebar_links_set_document):
5020 * shell/ev-sidebar-thumbnails.c:
5021 (ev_sidebar_thumbnails_class_init), (adjustment_changed_cb),
5022 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init),
5023 (page_changed_cb), (thumbnail_job_completed_callback),
5024 (ev_sidebar_thumbnails_set_document):
5025 * shell/ev-sidebar-thumbnails.h:
5026 * shell/ev-sidebar.c: (ev_sidebar_set_document):
5027 * shell/ev-view.c: (ev_view_finalize), (ev_view_destroy),
5028 (ev_view_get_offsets), (ev_view_size_request), (ev_view_realize),
5029 (ev_view_unrealize), (highlight_find_results), (expose_bin_window),
5030 (ev_view_select_all), (ev_view_copy), (ev_view_primary_get_cb),
5031 (ev_view_create_invisible_cursor), (ev_view_motion_notify_event),
5032 (ev_view_button_release_event), (ev_view_scroll_view),
5033 (ev_view_class_init), (ev_view_init), (update_find_status_message),
5034 (jump_to_find_result), (jump_to_find_page), (find_changed_cb),
5035 (ev_view_new), (job_finished_cb), (page_changed_cb),
5036 (ev_view_set_document), (go_to_link), (ev_view_zoom),
5037 (size_to_zoom_factor), (ev_view_set_size), (ev_view_find_next),
5038 (ev_view_find_previous):
5040 * shell/ev-window.c: (update_action_sensitivity),
5041 (ev_window_open_page), (update_window_title), (update_total_pages),
5042 (page_changed_cb), (ev_window_setup_document),
5043 (password_dialog_response), (ev_window_cmd_save_as),
5044 (ev_window_print), (ev_window_cmd_go_previous_page),
5045 (ev_window_cmd_go_next_page), (ev_window_cmd_go_first_page),
5046 (ev_window_cmd_go_last_page), (ev_window_cmd_view_reload),
5047 (find_bar_search_changed_cb), (goto_page_cb), (ev_window_init):
5048 * shell/main.c: (main):
5050 Merge evince-threads branch
5052 2005-03-16 Žygimantas Beručka <uid0@akl.lt>
5054 * configure.ac: Added "lt" to ALL_LINGUAS.
5056 2005-03-14 Marco Pesenti Gritti <marco@gnome.org>
5063 2005-03-13 Fernando Herrera <fherrera@onirica.com>
5065 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
5067 Fix here also the thumbnails 1-basedness :)
5069 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
5076 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
5078 * pdf/pdf-document.cc:
5079 * shell/ev-sidebar-thumbnails.c: (adjustment_changed_cb),
5080 (do_one_iteration), (ev_sidebar_thumbnails_set_document):
5082 Fix the mess we did with thumbnails and 1-basedness
5084 2005-03-12 Changwoo Ryu <cwryu@debian.org>
5086 * configure.ac (ALL_LINGUAS): Added "ko" (Korean).
5088 2005-03-09 Marco Pesenti Gritti <marco@gnome.org>
5095 2005-03-08 Marco Pesenti Gritti <marco@gnome.org>
5098 * ps/gsdefaults.c: (gtk_gs_defaults_get_interpreter_cmd),
5099 (gtk_gs_defaults_get_alpha_parameters),
5100 (gtk_gs_defaults_get_ungzip_cmd),
5101 (gtk_gs_defaults_get_unbzip2_cmd):
5103 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
5104 (ps_document_get_orientation), (document_load),
5105 (ps_document_goto_page), (ps_document_set_page_size):
5108 Some more sanitization of the ps backend. Remove a lot
5109 of unused code and do not base our defaults on ggv
5112 2005-03-08 Fernando Herrera <fherrera@onirica.com>
5114 * thumbnailer/evince-thumbnailer.schemas:
5115 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
5116 (main): add -s option for thumbnail size.
5118 2005-03-07 Christian Persch <chpe@cvs.gnome.org>
5122 AC_PROG_RANLIB is rendered obsolete by AC_PROG_LIBTOOL;
5125 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
5127 * pdf/pdf-document.cc:
5129 Remove 4 pixels of useless border from the
5132 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
5134 * backend/ev-document-thumbnails.c:
5135 (ev_document_thumbnails_get_thumbnail):
5136 * backend/ev-document-thumbnails.h:
5138 Rework API a bit. Add a border flag and
5139 change sizing logic (now the size we specify
5140 applies to the bigger dimension).
5142 * pdf/pdf-document.cc:
5143 * pixbuf/pixbuf-document.c:
5144 (pixbuf_document_thumbnails_get_thumbnail):
5145 * shell/ev-sidebar-thumbnails.c: (do_one_iteration):
5146 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
5148 Adapt to the new API and do not draw a border for nautilus
5151 2005-03-03 Fernando Herrera <fherrera@onirica.com>
5153 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
5154 take thumbnails from page "0" instead of "1". Added a copyright header.
5156 2005-03-03 Jens Granseuer <jensgr@gmx.net>
5158 * ps/ps-document.c: (set_up_page), (start_interpreter):
5160 Make it C89 compliant
5162 2005-03-03 Marco Pesenti Gritti <marco@gnome.org>
5167 * pdf/pdf-document.cc:
5168 * thumbnailer/Makefile.am:
5169 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
5171 * thumbnailer/evince-thumbnailer.schemas:
5172 * thumbnailer/pdf-icon.png:
5174 Add a nautilus thumbnailer.
5175 Based on patch by Fernando Herrera <fherrera@onirica.com>.
5177 2005-03-02 Marco Pesenti Gritti <marco@gnome.org>
5185 2005-03-01 Kristian Høgsberg <krh@redhat.com>
5187 Use poppler instead of including xpdf source code. Poppler is a
5188 fork of xpdf to build it as a shared library. See
5189 http://freedesktop.org/wiki/Software/poppler.
5191 * pdf/xpdf/*, pdf/goo/*, pdf/splash/*, pdf/fofi/*: Remove included
5194 * pdf/Makefile.am: Build libpdfdocument.a here.
5196 * pdf/GDKSplashOutputDev.cc:
5197 * pdf/GDKSplashOutputDev.h:
5198 * pdf/GnomeVFSStream.cc:
5199 * pdf/GnomeVFSStream.h:
5202 * test-gdk-output-dev.cc
5204 * Thumb.h: Pull these files out of pdf/xpdf and adjust to compile
5207 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
5209 * shell/ev-sidebar-links.c: (ev_sidebar_links_clear_document):
5211 Clear idle stack before unsetting the document
5213 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
5215 * ps/ps-document.c: (ps_document_widget_event),
5216 (ps_document_set_target), (ps_document_finalize),
5217 (ps_document_get_page):
5219 Disconnect the widget event signal on finalize.
5222 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
5224 * ps/ps-document.c: (set_up_page):
5226 If there is no bpixmap create one, even if size
5229 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
5231 * ps/ps-document.c: (ps_document_init), (ps_document_cleanup),
5232 (set_up_page), (document_load), (ps_document_set_zoom):
5234 Default page is 0. Calculate size even when we have no
5237 2005-02-28 Carlos Garcia Campos <carlosgc@gnome.org>
5239 * shell/ev-sidebar.c: expand the selection widget to be always as
5242 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
5244 * shell/ev-sidebar-thumbnails.c:
5245 (ev_sidebar_thumbnails_set_document):
5247 Clear the list store when setting document
5249 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
5251 * shell/ev-page-action.c: (update_entry), (sync_entry),
5252 (activate_cb), (entry_size_request_cb), (create_tool_item),
5255 Use an entry for the page control instead of spinbuttons
5257 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
5259 * data/evince.schemas.in:
5261 Correct confusing string
5263 Sun Feb 27 23:00:31 2005 Jonathan Blandford <jrb@redhat.com>
5265 * shell/ev-sidebar-links.c (do_one_iteration): Handle title links
5266 for real. Gosh, how long has this been broken.
5268 * pdf/xpdf/pdf-document.cc (build_link_from_action): add back the
5269 check for a NULL link. We crash otherwise.
5271 2005-02-27 Marco Pesenti Gritti <marco@gnome.org>
5278 2005-02-25 Sebastien Bacher <seb128@debian.org>
5280 * configure.ac: add the french translation.
5282 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
5284 * shell/ev-window.c:
5286 Remove unused header -> fix distcheck
5288 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
5290 * shell/ev-window.c: (update_window_title),
5291 (ev_window_popup_password_dialog):
5293 Unescape filename for display
5295 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
5297 * pdf/xpdf/pdf-document.cc:
5299 In get_page_size deal with rotation. Also
5300 cleanup the function a bit.
5302 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
5304 * pdf/xpdf/pdf-document.cc:
5306 Fix crash when opening in new window
5308 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
5312 Check ghostscript >= 7
5314 2005-02-25 Pedro Villavicencio <pvillavi@gnome.cl>
5316 * shell/ev-window.c:
5318 Make page width the default sizing mode
5320 2005-02-25 Carlos Garcia Campos <carlosgc@gnome.org>
5321 Marco Pesenti Gritti <marco@gnome.org>
5323 * shell/ev-window.c: Remember the sidebar size
5325 * data/evince.schemas.in: Add a new gconf key to store the size of
5328 2005-02-24 Kai Willadsen <kaiw@itee.uq.edu.au>
5330 * data/evince-ui.xml:
5331 * shell/ev-window.c: (update_action_sensitivity),
5332 (ev_window_cmd_view_reload):
5334 Add a "Reload" action and menu entry
5336 Thu Feb 24 23:07:33 2005 Jonathan Blandford <jrb@redhat.com>
5338 * shell/ev-window.c (hide_sidebar_and_actions): Hide the sidebar
5339 iff the type doesn't support thumbnailing and indexing.
5341 2005-02-24 Martin Kretzschmar <martink@gnome.org>
5343 * configure.ac (ALL_LINGUAS): Added "zh_TW" (Traditional Chinese).
5345 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
5347 * pdf/splash/Splash.cc:
5349 Port fix for a crasher from kde bug
5350 http://bugs.kde.org/show_bug.cgi?id=97131
5352 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
5354 * pdf/xpdf/pdf-document.cc:
5356 Return a link even if it's of an unrecognized
5357 type. Otherwise we go in an infinte cycle.
5359 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
5361 * shell/ev-window.c: (update_sizing_buttons), (update_view_size),
5362 (size_allocate_cb), (ev_window_set_sizing_mode):
5364 Update size when switching mode
5366 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
5368 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
5369 (ev_window_cmd_view_page_width), (update_sizing_buttons),
5370 (ev_window_cmd_view_normal_size):
5372 Fix size toggle buttons behavior
5374 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
5376 * shell/ev-view.c: (ev_view_get_offsets), (view_rect_to_doc_rect),
5377 (doc_rect_to_view_rect), (ev_view_size_allocate),
5378 (expose_bin_window), (ev_view_select_all), (page_changed_callback),
5379 (scale_changed_callback):
5381 Do not cache offsets in size_allocate.
5383 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
5385 * shell/ev-view.c: (ev_view_size_allocate):
5387 Calculate offsets before calling the parent
5388 class (which does a redraw)
5390 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
5392 * pdf/xpdf/pdf-document.cc:
5394 Fix a crasher on exit. Unused code, put a TODO
5396 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
5398 * backend/ev-document.c: (ev_document_class_init),
5399 (ev_document_page_changed), (ev_document_scale_changed):
5400 * backend/ev-document.h:
5402 Separate page/scale notifications
5404 * pdf/xpdf/pdf-document.cc:
5406 Emit the new signals.
5407 Do not display the pdf page in _render, do it
5408 when scale/page are requested.
5410 * ps/ps-document.c: (ps_document_set_zoom),
5411 (ps_document_widget_event):
5414 Emit the new signals.
5416 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
5417 (ev_view_init), (page_changed_callback), (scale_changed_callback),
5418 (ev_view_set_document), (ev_view_zoom), (ev_view_zoom_in),
5419 (ev_view_zoom_out), (size_to_zoom_factor), (ev_view_set_size):
5421 * shell/ev-window.c: (ev_window_cmd_view_normal_size),
5422 (ev_window_cmd_view_page_width), (size_allocate_cb),
5423 (ev_window_set_sizing_mode):
5425 Rework sizing to be pixel based.
5426 There are bugs but should be already way better.
5428 2005-02-23 Marco Pesenti Gritti <marco@gnome.org>
5430 * shell/ev-window.c: (ev_window_init):
5432 Do not allow to shrink sidebar smaller then
5435 2005-02-23 Carlos Garcia Campos <carlosgc@gnome.org>
5437 * shell/ev-sidebar.[ch]
5438 * shell/ev-window.c:
5440 Improved sidebar widget. Fixes #166683
5442 2005-02-23 Tommi Vainikainen <thv@iki.fi>
5444 * shell/ev-view.c (update_find_status_message): Give translators
5445 more flexibility with ngettext plural handling.
5447 Mon Feb 21 17:52:08 2005 Jonathan Blandford <jrb@redhat.com>
5449 * pdf/xpdf/pdf-document.cc (pdf_document_get_page_size): Patch
5450 from Crispin Flowerday <gnome@flowerday.cx> to avoid rendering the
5451 page when we get the page size.
5453 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
5455 * ps/ps-document.c: (ps_document_set_page), (ps_document_get_page):
5457 ps pages are 0 based, convert
5459 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
5461 * ps/ps-document.c: (ps_document_class_init), (ps_document_load):
5463 Initialize correct parent class. Set GError on document load
5465 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
5467 * pdf/xpdf/pdf-document.cc:
5469 Fixup selection offset calculation
5471 * shell/ev-view.c: (view_rect_to_doc_rect),
5472 (doc_rect_to_view_rect), (ev_view_size_allocate),
5473 (expose_bin_window), (ev_view_select_all), (ev_view_copy),
5474 (ev_view_primary_get_cb), (ev_view_motion_notify_event):
5476 Store selection as document relative, so that zooming
5477 and offset changing doesnt break it.
5479 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
5481 * shell/ev-view.c: (ev_view_best_fit):
5483 Do not try to best fit if the view is not realized
5485 2005-02-20 Kostas Papadimas <pkst@gnome.org>
5487 * configure.ac (ALL_LINGUAS): Added "el" (Greek).
5489 Fri Feb 18 16:06:39 2005 Jonathan Blandford <jrb@redhat.com>
5491 * shell/ev-window.c (ev_window_focus_in_event): missed a case.
5493 Fri Feb 18 15:32:57 2005 Jonathan Blandford <jrb@redhat.com>
5495 * shell/ev-window.c: Change the fullscreen toolbar to always be in
5496 the popup window. That prevents it resizing when in full screen
5499 * shell/ev-view.c: Change Zoom epsilon as a bad hack to avoid
5500 multiple rerenders. This pretty much sucks.
5502 * data/evince-ui.xml: Change the fullscreen toolbar to include the
5503 rest of the toolbar.
5505 2005-02-18 Tommi Vainikainen <thv@iki.fi>
5507 * configure.ac (ALL_LINGUAS): Added "fi" (Finnish).
5509 2005-02-17 Alexander Shopov <ash@contact.bg>
5511 * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
5513 2005-02-16 Bryan Clark <clarkbw@cvs.gnome.org>
5515 * shell/ev-window.c: added ellipsis to Print item. Fixes bug 166915
5517 2005-02-16 Marco Pesenti Gritti <marco@gnome.org>
5519 * shell/ev-view.c: (ev_view_realize), (highlight_find_results),
5520 (ev_view_create_invisible_cursor), (ev_view_set_cursor),
5521 (set_document_page), (document_changed_callback),
5522 (ev_view_set_document), (ev_view_find_previous),
5523 (ev_view_hide_cursor), (ev_view_show_cursor):
5525 * shell/ev-window.c: (update_chrome_visibility),
5526 (fullscreen_timeout_cb), (fullscreen_set_timeout),
5527 (fullscreen_clear_timeout), (fullscreen_motion_notify_cb),
5528 (fullscreen_leave_notify_cb), (ev_window_fullscreen),
5529 (ev_window_unfullscreen):
5530 * shell/main.c: (main):
5532 Automatically hide the fullscreen button.
5533 Patch by Kristian Høgsberg <krh@redhat.com>
5535 2005-02-16 Vincent Noel <vnoel@cox.net>
5537 * shell/main.c (main): Specify an icon for the window. Patch by
5538 Jaap A. Haitsma. Fixes #166177.
5540 Wed Feb 16 06:30:13 2005 Jonathan Blandford <jrb@redhat.com>
5542 * shell/ev-view.c (ev_view_realize): get rid of the black flash.
5544 Tue Feb 15 22:27:13 2005 Jonathan Blandford <jrb@redhat.com>
5546 * backend/ev-document-misc.h:
5547 * backend/ev-document-misc.c:
5548 (ev_document_misc_get_page_border_size),
5549 (ev_document_misc_paint_one_page): New function to canonicalize
5550 sizing/painting a border.
5552 * shell/Makefile.am: Remove ev-page-view.c entirely as it's not
5555 * pdf/xpdf/pdf-document.cc: use new function
5557 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
5558 (ev_view_init), (ev_view_set_mode), (ev_view_zoom),
5559 (ev_view_best_fit), (ev_view_fit_width): * shell/ev-view.h: *
5560 shell/ev-window.c: (update_sizing_buttons),
5561 (ev_window_setup_document), (ev_window_cmd_view_zoom_in),
5562 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_best_fit),
5563 (ev_window_cmd_view_page_width), (size_allocate_cb),
5564 (ev_window_set_sizing_mode), (ev_window_init): make the "best fit"
5565 and "fit width" values act as toggle buttons so they stay
5566 toggled. It's not 100% perfect, and it's a little slow, but it's
5567 good enough to commit I think.
5569 2005-02-15 David Lodge <dave@cirt.net>
5571 * configure.ac (ALL_LINGUAS): Added "en_GB" (English (British)).
5573 2005-02-15 Martin Kretzschmar <martink@gnome.org>
5575 * shell/ev-window.c (update_window_title): replace newlines in
5576 the title by spaces. Bug #166107.
5578 2005-02-14 Martin Kretzschmar <martink@gnome.org>
5580 * shell/ev-view.c (ev_view_best_fit, ev_view_fit_width): add
5581 parameters providing allocation width and height without
5582 scrollbars and width of a possible vertical scrollbar. With this
5583 additional information the functions can work as
5584 intended. Unfortunately they're not idempotent. We should
5585 transform these commands to toggles. Fixes Bug #164976
5586 Initial patch by Stephane Loeuillet, then heavily modified.
5588 * shell/ev-view.h: update prototypes.
5590 * shell/ev-window.c (ev_window_cmd_view_best_fit)
5591 (ev_window_cmd_view_page_width): provide EvView fit functions with
5592 all the information they need. Formulas to calculate this
5593 information taken from GtkScrolledWindow.
5595 2005-02-14 Crispin Flowerday <gnome@flowerday.cx>
5597 * shell/ev-sidebar-thumbnails.c: Ensure that after we have
5598 created a thumbnail, the list store is updated to know
5599 that the thumbnail is set. Fixes bug #166792
5601 2005-02-11 Bryan Clark <clarkbw@cvs.gnome.org>
5603 * shell/ev-window.c: fixed typo, closes bug 166897
5605 * TODO: updated TODO with bug numbers that are relevant
5607 2005-02-09 Carlos Garcia Campos <carlosgc@gnome.org>
5609 * shell/ev-window.c: Support for DnD of files. Fixes #164813
5611 2005-02-09 Vincent Noel <vnoel@cox.net>
5613 * shell/ev-window.c: (set_action_properties): Set the "Previous"
5614 and "Next" toolbar buttons as important to make them stand out.
5616 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
5620 * ps/ps-document.c: (ps_document_finalize), (set_up_page),
5621 (start_interpreter), (stop_interpreter), (document_load),
5622 (ps_document_next_page), (ps_document_goto_page),
5623 (ps_document_set_page_size), (ps_document_widget_event),
5624 (ps_document_render):
5625 * shell/ev-page-view.c: (ev_page_view_dispose):
5626 * shell/ev-view.c: (ev_view_finalize), (expose_bin_window):
5628 Fix compilation on non-gcc platforms
5630 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
5637 * pdf/xpdf/Catalog.cc:
5640 Fix the fix for CAN-2004-0888
5642 2005-02-09 Luca Ferretti <elle.uca@libero.it>
5645 * data/evince-ui.xml:
5646 * shell/ev-stock-icons.c: (ev_stock_icons_init):
5647 * shell/ev-stock-icons.h:
5648 * shell/ev-window.c: (update_action_sensitivity),
5649 (ev_window_cmd_go_previous_page), (ev_window_cmd_go_next_page),
5650 (set_action_properties):
5652 Improve toolbar layout/icons
5654 2005-02-08 Marco Pesenti Gritti <marco@gnome.org>
5656 * pdf/xpdf/pdf-document.cc:
5658 Add warnings about unimplemented/unknown link
5661 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
5663 * ps/ps-document.c: (set_up_page):
5667 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
5669 * ps/ps-document.c: (start_interpreter):
5673 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
5675 * shell/ev-page-view.c: (ev_page_view_dispose):
5676 * shell/ev-view.c: (ev_view_finalize):
5677 * shell/ev-window.c: (ev_window_setup_document),
5678 (ev_window_dispose), (ev_window_init):
5680 Solve more refs issues.
5682 I commented out the page_view initialization for now:
5683 it was never destroyed (because it's never added
5684 to a container). Because of that we was leaking
5685 gs processes. Couldnt think to a clean fix.
5686 We need to figure this out, password view has the
5687 same issue probably.
5689 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
5691 * ps/ps-document.c: (ps_document_finalize),
5692 (ps_document_get_n_pages), (ps_document_get_page):
5694 Some cleanups, stop the interpreter on finalize
5696 * shell/ev-page-view.c: (ev_page_view_dispose),
5697 (ev_page_view_class_init):
5699 Release our reference on the document
5701 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
5705 * doc/debugging.txt:
5708 * lib/ev-debug.c: (log_module), (trap_handler), (ev_debug_init),
5709 (ev_profiler_new), (ev_should_profile), (ev_profiler_dump),
5710 (ev_profiler_free), (ev_profiler_start), (ev_profiler_stop):
5713 Add debugging helpers
5716 * ps/ps-document.c: (set_up_page), (start_interpreter),
5717 (stop_interpreter), (document_load), (ps_document_next_page),
5718 (ps_document_goto_page), (ps_document_set_page_size),
5719 (ps_document_widget_event), (ps_document_render):
5720 * shell/Makefile.am:
5721 * shell/ev-view.c: (expose_bin_window):
5722 * shell/main.c: (main):
5726 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
5728 * ps/ps-document.c: (ps_document_widget_event):
5730 Initialize message_window, this should make ps
5731 rendering really work! (Never noticed because I was
5732 testing with a ps that is causing gs to exit every time!)
5734 2005-02-07 Bryan Clark <clarkbw@cvs.gnome.org>
5736 * data/evince.schemas.in: updated simple error in applyto closing tag
5738 2005-02-07 Christian Persch <chpe@cvs.gnome.org>
5744 * data/evince-ui.xml:
5745 A data/evince.schemas.in:
5747 * shell/ev-stock-icons.c: (ev_stock_icons_init):
5748 * shell/ev-stock-icons.h:
5749 * shell/ev-window.c: (update_chrome_visibility),
5750 (update_chrome_flag), (ev_window_cmd_edit_find),
5751 (ev_window_update_fullscreen_popup), (ev_window_fullscreen),
5752 (ev_window_unfullscreen), (ev_window_focus_in_event),
5753 (ev_window_focus_out_event), (ev_window_cmd_leave_fullscreen),
5754 (ev_window_view_toolbar_cb), (ev_window_view_statusbar_cb),
5755 (ev_window_view_sidebar_cb), (find_bar_close_cb),
5756 (ev_window_dispose), (ev_window_class_init),
5757 (set_action_properties), (set_chrome_actions), (load_chrome),
5760 Implement fullscreen mode changes from bug #164776.
5761 Also implement persistent chrome toggles.
5763 2005-02-07 Jordi Mallach <jordi@sindominio.net>
5765 * configure.ac (ALL_LINGUAS): Added "ca" (Catalan).
5767 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
5773 Add another check for find interface
5777 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
5779 * shell/ev-application.c: (ev_application_open):
5780 * shell/ev-window.c: (ev_window_open):
5782 Open gzipped ps documents
5784 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
5787 * shell/ev-view.c: (set_document_page):
5789 Clamp page number, dont try to move to
5792 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
5794 * backend/ev-document-find.c: (ev_document_find_changed):
5795 * backend/ev-document-find.h:
5796 * pdf/xpdf/pdf-document.cc:
5797 * shell/ev-view.c: (jump_to_find_result), (ev_view_set_document):
5798 * shell/ev-window.c: (find_bar_search_changed_cb):
5800 Fix several bugs with find
5802 2005-02-04 Martin Kretzschmar <martink@gnome.org>
5804 * shell/ev-sidebar-thumbnails.c
5805 (ev_sidebar_thumbnails_select_page): do nothing unless we have a
5806 document. Prevents warning from scroll_to_cell.
5808 2005-02-02 Kjartan Maraas <kmaraas@gnome.org>
5810 * configure.ac: Add «nb» to ALL_LINGUAS too.
5812 Wed Feb 2 21:13:11 2005 Jonathan Blandford <jrb@redhat.com>
5814 * NOTES: New file with some random thoughts.
5818 * backend/ev-document-misc.c:
5819 (ev_document_misc_get_page_border_size): New function to
5820 canonicalize shadow drawing sizes. Possibly goofy.
5822 * shell/ev-view.c: (ev_view_size_request), (set_document_page),
5823 (ev_view_best_fit), (ev_view_fit_width):
5824 * pdf/xpdf/pdf-document.cc:
5825 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
5826 * ps/ps-document.c: (ps_document_get_page_size):
5827 * backend/ev-document-misc.h:
5828 * backend/ev-document.c: (ev_document_get_page_size):
5829 * backend/ev-document.h: get_page_size now takes a page number
5830 parameter. Made all the backends/frontends honor it.
5832 * data/evince-ui.xml: Added a multiple-page mode. Uncomment to
5833 see. Doesn't work yet.
5835 * shell/Makefile.am:
5836 * shell/ev-page-view.[ch]: New multi-page view. Really rough.
5837 Doesn't do anything yet.
5839 * shell/ev-sidebar-thumbnails.c:
5840 (ev_sidebar_thumbnails_set_document): [1..n_pages] instead of
5843 * shell/ev-window.c: (update_action_sensitivity),
5844 (ev_window_setup_document), (ev_window_set_page_mode),
5845 (ev_window_page_mode_cb), (ev_window_init): Clean up the
5846 view-swapping code a bit so we can have multiple views on a
5847 document. Add the multi-page view, though it can't be turned on
5850 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
5852 * shell/ev-application.c: (ev_application_open):
5853 * shell/ev-view.c: (expose_bin_window):
5854 * shell/ev-window.c: (ev_window_open):
5856 Support eps and check document supports find
5857 before drawing highlightings in expose.
5859 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
5861 * pixbuf/pixbuf-document.c:
5862 (pixbuf_document_thumbnails_get_dimensions),
5863 (pixbuf_document_document_thumbnails_iface_init):
5865 implement get_dimensions
5867 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
5874 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
5876 * shell/ev-view.c: (set_document_page):
5878 Scroll at the top of the page when changing page
5880 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
5882 * shell/ev-view.c: (ev_view_motion_notify_event):
5884 Do not redraw unnecessarily
5886 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
5888 * pdf/xpdf/pdf-document.cc:
5889 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
5890 (expose_bin_window), (find_changed_cb):
5892 Yay! find works now... Now to find bugs...
5894 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
5896 * backend/ev-document-find.c: (ev_document_find_base_init),
5897 (ev_document_find_changed):
5898 * backend/ev-document-find.h:
5899 * pdf/xpdf/pdf-document.cc:
5900 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
5901 (expose_bin_window), (ev_view_init), (set_document_page),
5902 (ensure_rectangle_is_visible), (jump_to_find_result),
5903 (jump_to_find_page), (find_changed_cb), (ev_view_set_document),
5904 (ev_view_find_next), (ev_view_find_previous):
5906 * shell/ev-window.c: (find_bar_previous_cb), (find_bar_next_cb):
5908 More work on find implementation, mostly there now
5910 2005-01-29 Marco Pesenti Gritti <marco@gnome.org>
5912 * backend/ev-backend-marshalers.list:
5913 * backend/ev-document-find.c: (ev_document_find_base_init),
5914 (ev_document_find_cancel), (ev_document_find_page_has_results),
5915 (ev_document_find_get_n_results), (ev_document_find_get_result),
5916 (ev_document_find_get_progress), (ev_document_find_changed):
5917 * backend/ev-document-find.h:
5919 Enanche the find interface to be really able to do
5922 * pdf/xpdf/pdf-document.cc:
5926 * shell/ev-view.c: (ev_view_finalize), (highlight_find_results),
5927 (expose_bin_window), (ev_view_init),
5928 (ev_view_get_find_status_message), (find_changed_cb),
5929 (ev_view_set_document), (set_document_page):
5931 Adapt to the new interface. A few things are regressed sorry,
5932 I will finish it soon.
5934 2005-01-28 Martin Kretzschmar <martink@gnome.org>
5936 * shell/ev-sidebar-thumbnails.c (ev_sidebar_thumbnails_destroy)
5937 (ev_sidebar_thumbnails_class_init): use G_DEFINE_TYPE-supplied
5938 ev_sidebar_thumbnails_parent_class variable, don't define another
5939 parent_class variable.
5941 * shell/ev-page-action.c (connect_proxy, ev_page_action_finalize)
5942 (ev_page_action_class_init): ditto.
5944 * pixbuf/pixbuf-document.c (pixbuf_document_finalize)
5945 (pixbuf_document_class_init): ditto.
5947 * backend/ev-link.c (ev_window_dispose, ev_link_class_init):
5950 * .cvsignore: ignore various valgrind output files.
5952 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
5954 * data/evince-ui.xml:
5955 * shell/Makefile.am:
5956 * shell/ev-history.c:
5957 * shell/ev-history.h:
5958 * shell/ev-navigation-action.c:
5959 * shell/ev-navigation-action.h:
5960 * shell/ev-view.c: (ev_view_finalize), (ev_view_go_to_link),
5961 (ev_view_set_page), (ev_view_fit_width):
5963 * shell/ev-window.c: (update_action_sensitivity),
5964 (ev_window_setup_document), (register_custom_actions):
5966 Kill session history
5968 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
5970 * shell/ev-window.c: (update_action_sensitivity):
5972 Fix inverted up/down buttons
5974 2005-01-27 Martin Kretzschmar <martink@gnome.org>
5976 * shell/ev-sidebar-thumbnails.c
5977 (ev_sidebar_thumbnails_select_page): make sure the selected
5978 thumbnail stays visible.
5980 2005-01-26 Martin Kretzschmar <martink@gnome.org>
5982 * shell/ev-window.c (ev_window_init): add GTK_SHADOW_IN to the
5983 scrolled window for Federico.
5985 2005-01-26 Ole Laursen <olau@hardworking.dk>
5987 * configure.ac: Added "da" (Danish) to ALL_LINGUAS.
5989 2005-01-26 Marco Pesenti Gritti <marco@gnome.org>
5992 * pdf/splash/SplashFTFontEngine.cc:
5994 Fix CID fonts with freetype 2.1.9
5996 2005-01-26 Bryan Clark <clarkbw@cvs.gnome.org>
5998 * TODO: added item for desktop icon thumbnailer
6000 Tue Jan 25 00:59:34 2005 Jonathan Blandford <jrb@redhat.com>
6002 * pdf/xpdf/pdf-document.cc (pdf_document_get_title): guard against
6003 unloaded docs when the title is accessed.
6005 * shell/ev-password-view.[hc]: New widget for displaying password
6008 * shell/ev-window.[ch]: Refactor password handling code to handle
6011 2005-01-24 Marco Pesenti Gritti <marco@gnome.org>
6019 2005-01-23 Stephane LOEUILLET <stephane.loeuillet@tiscali.fr>
6021 * pdf/xpdf/pdf-document.cc (pdf_document_search_page_changed):
6022 ignore page offset here, to make search results independent of it,
6024 * shell/ev-view.c (expose_bin_window): but take offsets into
6025 account here. Bug #164932
6027 * pdf/xpdf/pdf-document.cc (pdf_document_get_link): divide by
6028 scale at the right time. Bug #164996
6030 2005-01-22 Martin Kretzschmar <martink@gnome.org>
6032 * pdf/xpdf/GlobalParams.cc: My 2005-01-05 change didn't actually
6033 fix the problem. Now I just removed the Adobe font names and hope
6034 that the URW fonts are always in outline format. Bug #164934
6036 * shell/ev-window.c (update_window_title): empty titles are
6037 useless, use filename in that case too.
6039 * NEWS: Add some content.
6041 2005-01-21 Bryan Clark <clarkbw@cvs.gnome.org>
6043 * TODO: added one more TODO item and a TODONE section :)
6045 2005-01-21 Martin Kretzschmar <martink@gnome.org>
6047 * ps/ps-document.h: add page_[xy]_offset fields.
6049 * ps/ps-document.c (ps_document_set_page_offset)
6050 (ps_document_render): Keep offset in consideration in a few
6051 places. Bug #164752 "postscript documents are not centered in
6054 * data/evince.desktop.in (X-GNOME-Bugzilla-Product):
6055 s/gpdf/evince/. Spotted by Stephane Loeuillet.
6057 * pixbuf/pixbuf-document.c (pixbuf_document_get_n_pages)
6058 (pixbuf_document_get_text, pixbuf_document_document_iface_init):
6059 stub out missing methods for complete EvDocument implementation.
6060 Fixes segfaults with Save A Copy and Copy actions.
6062 * ps/ps-document.c (ps_document_save, ps_document_get_text)
6063 (ps_document_document_iface_init): ditto.
6065 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
6069 * data/evince.desktop.in:
6073 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
6075 * shell/ev-view.c: (ev_view_button_press_event),
6076 (ev_view_motion_notify_event):
6078 Make selection work in any direction
6080 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
6083 * shell/ev-window.c: (set_short_labels), (ev_window_init):
6085 Use shorter labels for some of the toolbars items
6087 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
6089 * pdf/xpdf/pdf-document.cc:
6091 Check the links info is initialized before
6092 using it. Should fix a crash on startup.
6094 2005-01-21 Martin Kretzschmar <martink@gnome.org>
6096 * pixbuf/pixbuf-document.c
6097 (pixbuf_document_thumbnails_get_dimensions): force floating point
6098 division to calculate page_ratio. Fixes crash with landscape
6101 Thu Jan 20 18:56:35 2005 Jonathan Blandford <jrb@redhat.com>
6103 * shell/ev-view.c (ev_view_realize): make the bg color darker.
6105 2005-01-20 Martin Kretzschmar <martink@gnome.org>
6107 * shell/ev-view.c (set_document_page): unset has_selection when
6109 (set_document_page): handle paper size changes when the page
6110 changes (test with Free Culture, page 2).
6112 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
6114 * shell/ev-view.c: (ev_view_size_request), (ev_view_realize),
6115 (expose_bin_window), (ev_view_class_init), (ev_view_init):
6117 Use normal style color for the widget background and
6118 draw a black box around the page.
6120 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
6122 * pdf/xpdf/pdf-document.cc:
6124 Keep offset in consideration in a few places
6126 * shell/ev-view.c: (expose_bin_window):
6128 Set the offsets so that the document is ever centered
6130 2005-01-20 Bryan Clark <clarkbw@cvs.gnome.org>
6132 * TODO: Added TODO items and finished off the first todo item
6134 * AUTHORS: Updated AUTHORS section with piece from gpdf file and
6135 reflect current authors
6137 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
6139 * pdf/xpdf/pdf-document.cc:
6140 * shell/ev-view.c: (ev_view_set_cursor),
6141 (ev_view_motion_notify_event), (document_changed_callback),
6142 (set_document_page):
6144 Show a wait cursor while the page is rendering
6146 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
6148 * shell/ev-sidebar-thumbnails.c:
6149 (ev_sidebar_tree_selection_changed),
6150 (ev_sidebar_thumbnails_select_page):
6151 * shell/ev-sidebar-thumbnails.h:
6152 * shell/ev-view.c: (ev_view_set_document), (ev_view_can_go_back),
6153 (ev_view_can_go_forward):
6154 * shell/ev-window.c: (ev_window_open_page),
6155 (ev_window_setup_document), (update_current_page),
6156 (view_page_changed_cb), (ev_window_init):
6157 * shell/ev-window.h:
6159 Ensure thumbnails selection, toolbar page control and
6160 current page are in sync.
6162 2005-01-19 Marco Pesenti Gritti <marco@gnome.org>
6168 Wed Jan 19 01:10:57 2005 Jonathan Blandford <jrb@redhat.com>
6170 * backend/Makefile.am:
6171 * backend/ev-document-links.h:
6172 * backend/ev-document-security.c: (ev_document_security_get_type),
6173 (ev_document_security_has_document_security),
6174 (ev_document_security_set_password):
6175 * backend/ev-document-security.h:
6176 * backend/ev-document.c: (ev_document_error_quark):
6177 * backend/ev-document.h:
6179 * data/evince-password.glade:
6180 * pdf/xpdf/pdf-document.cc:
6181 * shell/Makefile.am:
6182 * shell/ev-password.c: (ev_password_set_bad_password_label),
6183 (ev_window_password_entry_changed_cb), (ev_password_dialog_new),
6184 (ev_password_dialog_get_password),
6185 (ev_password_dialog_set_bad_pass):
6186 * shell/ev-password.h:
6187 * shell/ev-window.c: (ev_window_get_attribute),
6188 (ev_window_set_property), (update_action_sensitivity),
6189 (ev_window_is_empty), (mime_type_supported_by_gdk_pixbuf),
6190 (ev_window_setup_document), (ev_window_get_password),
6191 (ev_window_open), (ev_window_cmd_save_as),
6192 (using_postscript_printer), (ev_window_print),
6193 (find_not_supported_dialog), (ev_window_cmd_edit_find),
6194 (update_fullscreen_popup), (ev_window_fullscreen),
6195 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
6196 (ev_window_focus_out_cb), (ev_window_cmd_help_about),
6197 (menu_item_select_cb), (find_bar_search_changed_cb),
6198 (ev_window_dispose), (ev_window_init):
6200 Add initial support for password-supported dialogs. This could be
6201 a lot cooler, but it'll do for now.
6203 2005-01-18 Marco Pesenti Gritti <marco@gnome.org>
6205 * pdf/xpdf/pdf-document.cc:
6206 * shell/ev-view.c: (status_message_from_link),
6207 (ev_view_set_status), (ev_view_set_cursor),
6208 (ev_view_motion_notify_event), (ev_view_init):
6209 * shell/ev-window.c: (view_status_changed_cb), (ev_window_init):
6211 Fix bugs in the links implementation and change cursor
6212 when hovering a link.
6214 2005-01-17 Bryan Clark <clarkbw@cvs.gnome.org>
6216 * viewer/.cvsignore: added cvsignore file for viewer directory
6218 * TODO: created TODO document
6220 2005-01-14 Dave Malcolm <dmalcolm@redhat.com>
6223 * shell/ev-view.c (ev_view_can_go_back), (ev_view_can_go_forward):
6224 new functions to help with implementation of sensitivity code
6225 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
6226 of all actions that might require it. Fixes a crash when you
6227 click on the Zoom actions in a window lacking a document.
6229 2005-01-13 Dave Malcolm <dmalcolm@redhat.com>
6231 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
6234 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
6236 * pixbuf/pixbuf-document.c: (pixbuf_document_get_link),
6237 (pixbuf_document_document_iface_init):
6238 * ps/ps-document.c: (ps_document_get_link),
6239 (ps_document_document_iface_init):
6240 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event),
6241 (status_message_from_link), (ev_view_set_status),
6242 (ev_view_set_find_status), (ev_view_motion_notify_event),
6243 (ev_view_button_release_event), (ev_view_set_property),
6244 (ev_view_get_property), (ev_view_class_init), (ev_view_init),
6245 (ev_view_get_find_status_message), (update_find_results),
6246 (ev_view_get_status), (ev_view_get_find_status):
6248 * shell/ev-window.c: (view_status_changed_cb),
6249 (view_find_status_changed_cb), (ev_window_init):
6251 View status message support, use it to show the links.
6254 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
6256 * backend/ev-document.c: (ev_document_get_link):
6257 * backend/ev-document.h:
6258 * pdf/xpdf/pdf-document.cc:
6259 * shell/ev-application.c: (ev_application_open):
6260 * shell/ev-application.h:
6261 * shell/ev-sidebar-links.c: (selection_changed_cb):
6262 * shell/ev-view.c: (ev_view_button_release_event), (go_to_link),
6263 (ev_view_go_to_link):
6265 Add support for document links
6267 2005-01-13 Anders Carlsson <andersca@gnome.org>
6269 * shell/ev-page-action.c: (update_spin), (total_pages_changed_cb),
6271 Set the spin button limits correctly.
6273 * shell/ev-sidebar-thumbnails.c:
6274 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init):
6275 Support changing pages by clicking on the thumbnails.
6277 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
6279 * pixbuf/pixbuf-document.c:
6280 (pixbuf_document_thumbnails_get_dimensions),
6281 (pixbuf_document_document_thumbnails_iface_init):
6283 implement get_dimensions
6285 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
6287 * ps/ps-document.c: (ps_document_goto_page):
6289 Fix page switching on multipage documents
6291 2005-01-12 Jeff Muizelaar <jrmuizel@nit.ca>
6293 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
6295 check for NULL before assigning to width and height parameters
6297 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
6299 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
6300 (pixbuf_document_set_property), (pixbuf_document_get_property):
6302 implement get/set properties
6304 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
6306 * pdf/xpdf/pdf-document.cc: (pdf_info_dict_get_string):
6308 return NULL instead of "Unknown", letting the title get set to
6309 the filename when the pdf has no title.
6311 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
6313 * ps/ps-document.c: (ps_document_get_page_count),
6314 (ps_document_goto_page):
6316 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
6318 * shell/ev-history.c: (ev_history_get_property),
6319 (ev_history_set_property), (ev_history_class_init),
6320 (ev_history_add_page), (ev_history_set_current_index):
6321 * shell/ev-navigation-action.c: (ev_navigation_action_set_history),
6322 (activate_menu_item_cb), (new_history_menu_item), (build_menu),
6323 (ev_navigation_action_finalize):
6324 * shell/ev-navigation-action.h:
6325 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
6326 (ev_view_go_forward), (ev_view_get_find_status_message),
6327 (history_index_changed_cb), (ev_view_set_history):
6329 * shell/ev-window.c: (update_total_pages), (ev_window_open),
6330 (update_current_page), (register_custom_actions):
6332 Implement history dropdowns
6334 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
6336 * shell/ev-history.c: (ev_history_init), (ev_history_add_link):
6337 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
6338 (ev_view_go_forward):
6339 * shell/ev-window.c: (register_custom_actions):
6341 Fix several history bugs
6343 2005-01-11 Kjartan Maraas <kmaraas@gnome.org>
6345 * configure.ac: Add «nb» to ALL_LINGUAS.
6347 2005-01-10 Marco Pesenti Gritti <marco@gnome.org>
6349 * backend/Makefile.am:
6350 * backend/ev-bookmark.c:
6351 * backend/ev-bookmark.h:
6352 * backend/ev-document-bookmarks.c:
6353 * backend/ev-document-bookmarks.h:
6354 * backend/ev-document-links.c: (ev_document_links_get_type),
6355 (ev_document_links_has_document_links),
6356 (ev_document_links_begin_read), (ev_document_links_get_link),
6357 (ev_document_links_get_child), (ev_document_links_next),
6358 (ev_document_links_free_iter):
6359 * backend/ev-document-links.h:
6360 * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_title),
6361 (ev_link_set_title), (ev_link_get_uri), (ev_link_set_uri),
6362 (ev_link_get_link_type), (ev_link_set_link_type),
6363 (ev_link_get_page), (ev_link_set_page), (ev_link_get_property),
6364 (ev_link_set_property), (ev_window_dispose), (ev_link_init),
6365 (ev_link_class_init), (ev_link_new_title), (ev_link_new_page),
6366 (ev_link_new_external):
6367 * backend/ev-link.h:
6368 * pdf/xpdf/pdf-document.cc:
6369 * shell/Makefile.am:
6370 * shell/ev-application.c: (ev_application_open_link):
6371 * shell/ev-application.h:
6372 * shell/ev-history.c: (ev_history_add_link), (ev_history_add_page),
6373 (ev_history_get_link_nth):
6374 * shell/ev-history.h:
6375 * shell/ev-sidebar-bookmarks.c:
6376 * shell/ev-sidebar-bookmarks.h:
6377 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
6378 (ev_sidebar_links_class_init), (selection_changed_cb),
6379 (ev_sidebar_links_construct), (ev_sidebar_links_init),
6380 (links_page_num_func), (ev_sidebar_links_new), (stack_data_free),
6381 (do_one_iteration), (populate_links_idle),
6382 (ev_sidebar_links_clear_document), (ev_sidebar_links_set_document):
6383 * shell/ev-sidebar-links.h:
6384 * shell/ev-sidebar.c: (ev_sidebar_set_document):
6385 * shell/ev-view.c: (go_to_link), (ev_view_go_to_link),
6388 * shell/ev-window.c: (ev_window_open_link), (ev_window_init):
6389 * shell/ev-window.h:
6391 Rename bookmark to link, and use "Index" for the sidebar panel.
6393 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
6395 * shell/Makefile.am:
6396 * shell/ev-application.c: (ev_application_open_bookmark):
6397 * shell/ev-application.h:
6398 * shell/ev-history.c: (ev_history_init), (free_links_list),
6399 (ev_history_finalize), (ev_history_class_init),
6400 (ev_history_add_link), (ev_history_add_page),
6401 (ev_history_get_link_nth), (ev_history_get_n_links),
6402 (ev_history_get_current_index), (ev_history_set_current_index),
6404 * shell/ev-history.h:
6405 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
6406 * shell/ev-view.c: (ev_view_finalize), (ev_view_set_document),
6407 (set_document_page), (go_to_bookmark), (ev_view_go_to_bookmark),
6408 (go_to_index), (ev_view_go_back), (ev_view_go_forward),
6411 * shell/ev-window.c: (ev_window_open_bookmark),
6412 (ev_window_cmd_go_back), (ev_window_cmd_go_forward),
6413 (goto_page_cb), (register_custom_actions):
6414 * shell/ev-window.h:
6416 Initial history implementation. Needs work.
6418 2005-01-09 Martin Kretzschmar <martink@gnome.org>
6420 * pdf/xpdf/GDKSplashOutputDev.cc (redraw): fix pixbuf data offset.
6422 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
6424 * cut-n-paste/recent-files/egg-recent-item.c:
6425 * cut-n-paste/recent-files/egg-recent-item.h:
6426 * cut-n-paste/recent-files/egg-recent-model.c:
6427 * cut-n-paste/recent-files/egg-recent-util.c:
6428 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
6429 * cut-n-paste/recent-files/egg-recent-view.c:
6433 2005-01-08 Martin Kretzschmar <martink@gnome.org>
6435 * pdf/splash/Splash.cc (clear, drawPixel, drawSpan, xorSpan, getPixel)
6436 (fillGlyph, fillImageMask, drawImage):
6437 pdf/splash/SplashBitmap.cc (SplashBitmap, ~SplashBitmap, writePNMFile):
6438 pdf/splash/SplashTypes.h:
6439 pdf/xpdf/SplashOutputDev (startPage, getColor, imageSrc): implement RGB8
6440 packed mode for Splash.
6442 * pdf/xpdf/GDKSplashOutputDev.cc (GDKSplashOutputDev, redraw): use
6443 RGB8 packed mode, eliminates the pixbuf data creation loop.
6445 * shell/ev-print-job.c (ev_print_job_finalize)
6446 (ev_print_job_set_property, ev_print_job_get_property)
6447 (ev_print_job_set_gnome_print_job, ev_print_job_set_document)
6448 (ev_print_job_use_print_dialog_settings, idle_print_handler)
6449 (print_closure_finalize, ev_print_job_print): implement
6450 printing (for backends with EvPsExporter)
6452 * shell/ev_print_job.h: update prototypes.
6454 * shell/ev-window.c (ev_window_print): unref print job after
6457 * shell/ev-view.c (ev_view_set_document): don't connect to "found"
6458 unless the document implements the EvDocumentFind interface.
6460 2005-01-08 Satoru SATOH <ss@gnome.gr.jp>
6462 * configure.ac: Added ja to ALL_LINGUAS.
6464 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
6466 * pdf/xpdf/pdf-document.cc:
6468 add a FIXME. We should probably not allocate
6469 a bookmark object every time
6471 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
6473 * shell/ev-application.c: (ev_application_open),
6474 (ev_application_open_bookmark):
6475 * shell/ev-application.h:
6477 Add a way to open bookmarks
6479 * backend/ev-bookmark.c: (ev_bookmark_get_uri),
6480 (ev_bookmark_set_uri), (ev_bookmark_get_property),
6481 (ev_bookmark_set_property), (ev_bookmark_class_init),
6482 (ev_bookmark_new_title), (ev_bookmark_new_link),
6483 (ev_bookmark_new_external):
6485 Support for external uris, better constructors.
6487 * backend/ev-bookmark.h:
6488 * pdf/xpdf/pdf-document.cc:
6489 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
6491 Handle external uris
6493 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
6495 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb),
6496 (ev_sidebar_bookmarks_construct), (do_one_iteration):
6498 Hook up bookmarks navigation
6500 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
6502 * backend/Makefile.am:
6503 * backend/ev-bookmark.c: (ev_bookmark_type_get_type),
6504 (ev_bookmark_get_title), (ev_bookmark_set_title),
6505 (ev_bookmark_get_bookmark_type), (ev_bookmark_set_bookmark_type),
6506 (ev_bookmark_get_page), (ev_bookmark_set_page),
6507 (ev_bookmark_get_property), (ev_bookmark_set_property),
6508 (ev_window_dispose), (ev_bookmark_init), (ev_bookmark_class_init),
6510 * backend/ev-bookmark.h:
6511 * backend/ev-document-bookmarks.c:
6512 (ev_document_bookmarks_get_bookmark):
6513 * backend/ev-document-bookmarks.h:
6514 * pdf/xpdf/pdf-document.cc:
6515 * shell/ev-sidebar-bookmarks.c: (do_one_iteration):
6517 Add a bookmark object to the backend and use it instead of get_values
6519 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
6521 * data/evince-ui.xml:
6523 Cleanup and add select all.
6525 * shell/ev-view.c: (ev_view_select_all),
6526 (ev_view_button_press_event):
6528 * shell/ev-window.c: (ev_window_cmd_edit_select_all):
6531 Clear selection on click.
6533 Fri Jan 7 01:28:58 2005 Jonathan Blandford <jrb@redhat.com>
6535 * shell/ev-sidebar-thumbnails.c
6536 (ev_sidebar_thumbnails_set_document): forgot to unref the
6539 Fri Jan 7 01:22:48 2005 Jonathan Blandford <jrb@redhat.com>
6541 * shell/ev-sidebar-thumbnails.c: fill in the thumbnails starting
6542 at the visible page, not just linearly. This makes it look fast.
6544 Thu Jan 6 18:48:11 2005 Jonathan Blandford <jrb@redhat.com>
6546 * backend/ev-document-misc.c
6547 (ev_document_misc_get_thumbnail_frame): fill in the thumbnail with
6549 * backend/ev-document-thumbnails.h: New interface to get the size
6552 2005-01-06 Jeremy Katz <katzj@redhat.com>
6554 * shell/Makefile.am (evince_SOURCES): Add ev-utils.[ch] so that
6557 Wed Jan 5 15:38:28 2005 Jonathan Blandford <jrb@redhat.com>
6559 * pdf/xpdf/pdf-document.cc (bitmap_to_pixbuf): bypass
6560 GDKSplashOutputDev and just use a normal SplashOutputDev. Speeds
6563 * shell/ev-sidebar-thumbnail.c: start of some profiling code.
6565 2005-01-05 Martin Kretzschmar <martink@gnome.org>
6567 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): match only outline
6568 fonts. Should fix font problems on systems that have the base
6569 fonts in bitmap format. Reported by James Henstridge
6570 <james@jamesh.id.au>.
6572 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
6575 * pdf/xpdf/GfxState.cc:
6577 Fix for CAN-2004-1125
6579 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
6581 * shell/ev-view.c: (ev_view_copy):
6583 * shell/ev-window.c: (ev_window_cmd_edit_copy):
6585 Implement Edit->Copy
6587 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
6589 * backend/ev-document.c: (ev_document_get_text):
6590 * backend/ev-document.h:
6591 * pdf/xpdf/pdf-document.cc:
6592 * shell/ev-view.c: (ev_view_realize), (expose_bin_window),
6593 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
6594 (ev_view_update_primary_selection), (ev_view_button_press_event),
6595 (ev_view_motion_notify_event), (ev_view_button_release_event):
6597 Beginnings of clipboard support. Incomplete but primary sort
6600 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
6602 * shell/ev-view.c: (ev_gdk_color_to_rgb), (draw_rubberband),
6603 (expose_bin_window):
6605 Nicer rubberband drawing, from GtkIconView.
6607 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
6609 * backend/ev-document.c: (ev_document_save):
6610 * backend/ev-document.h:
6611 * data/evince-ui.xml:
6612 * pdf/xpdf/pdf-document.cc:
6613 * shell/ev-window.c: (save_error_dialog), (ev_window_cmd_save_as):
6615 Implement "Save a copy..." menu item
6617 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
6619 * shell/ev-view.c: (ev_view_zoom):
6621 Queue a resize when zoom changes
6623 Wed Jan 5 02:33:06 2005 Jonathan Blandford <jrb@redhat.com>
6625 * backend/ev-document-misc.[ch]: New misc file to do simple drop
6628 * pdf/xpdf/pdf-document.cc: use the drop shadows in both types of
6631 Tue Jan 4 22:32:32 2005 Jonathan Blandford <jrb@redhat.com>
6633 * pdf/xpdf/pdf-document.cc
6634 (pdf_document_thumbnails_get_page_pixbuf): poor man's dropshadow.
6636 Tue Jan 4 21:25:05 2005 Jonathan Blandford <jrb@redhat.com>
6638 * pdf/xpdf/pdf-document.cc: Do real thumbnailing of PDF files.
6639 It's slow, but I'll speed it up next!
6641 2005-01-04 Jeff Muizelaar <jrmuizel@nit.ca>
6643 * shell/main.c (load_files):
6645 use gnome_vfs_make_uri_from_shell_arg so that relative paths work
6646 from the command line and because it seems more appropriate.
6648 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
6650 * data/evince-ui.xml:
6651 * shell/ev-window.c: (update_action_sensitivity),
6652 (ev_window_cmd_go_page_up), (ev_window_cmd_go_page_down):
6654 s/next page/page down
6655 s/previous page/page up
6657 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
6659 * data/evince-ui.xml:
6661 Change the layout to match clarkbw design.
6663 * shell/Makefile.am:
6664 * shell/ev-navigation-action.c: (build_menu), (menu_activated_cb),
6665 (set_tooltip_cb), (connect_proxy), (ev_navigation_action_init),
6666 (ev_navigation_action_finalize),
6667 (ev_navigation_action_set_property),
6668 (ev_navigation_action_get_property),
6669 (ev_navigation_action_class_init):
6670 * shell/ev-navigation-action.h:
6672 Implement clarkbw toolbar navigation controls (incomplete)
6674 * shell/ev-page-action.c: (update_label), (update_spin),
6675 (value_changed_cb), (create_tool_item), (connect_proxy),
6676 (ev_page_action_init), (ev_page_action_finalize),
6677 (ev_page_action_set_property), (ev_page_action_get_property),
6678 (ev_page_action_set_current_page),
6679 (ev_page_action_set_total_pages), (ev_page_action_class_init):
6680 * shell/ev-page-action.h:
6682 Implement a page switcher in the toolbar
6684 * shell/ev-view.c: (ev_view_scroll_view):
6685 * shell/ev-window.c: (update_total_pages), (ev_window_open),
6686 (update_current_page), (view_page_changed_cb), (goto_page_cb),
6687 (register_custom_actions), (ev_window_init):
6689 Change page on PageUp/Down.
6691 Tue Jan 4 03:22:56 2005 Jonathan Blandford <jrb@redhat.com>
6693 * pdf/xpdf/pdf-document.cc
6694 (pdf_document_thumbnails_get_thumbnail): initial stab at
6695 implementing thumbnail support for pdfs. It only does documents
6696 with precached pdfs now.
6698 Mon Jan 3 17:22:25 2005 Jonathan Blandford <jrb@redhat.com>
6700 * shell/ev-sidebar-thumbnails.c (do_one_iteration): move the
6701 thumbnail code into a time-based idle as well. Also, turn off the
6702 shadow temporarily as it's really slow.
6704 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
6706 * backend/ev-document.c: (ev_document_class_init):
6707 * pdf/xpdf/pdf-document.cc:
6708 * shell/ev-window.c: (ev_window_open):
6710 Fix document title bugs and fallback to
6711 filename when not available.
6713 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
6715 * backend/ev-document.c: (ev_document_get_type),
6716 (ev_document_class_init), (ev_document_load),
6717 (ev_document_get_title):
6718 * backend/ev-document.h:
6719 * pdf/xpdf/pdf-document.cc:
6720 * ps/ps-document.c: (ps_document_set_property),
6721 (ps_document_get_property), (ps_document_class_init),
6725 * shell/ev-window.c: (update_window_title), (ev_window_open),
6728 Initial support for document title. Not working yet.
6730 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
6732 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event):
6734 Grab focus on the view when clicking it
6736 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
6738 * shell/ev-marshal.list:
6739 * shell/ev-view.c: (ev_view_realize), (add_scroll_binding),
6740 (ev_view_scroll_view), (ev_view_class_init), (ev_view_init):
6742 Add key bindings to the view. Now if the focus would work
6745 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
6748 * backend/Makefile.am:
6751 * dvi/dvilib/Makefile.am:
6752 * pdf/xpdf/Makefile.am:
6758 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
6760 * shell/ev-view.c: (ev_view_realize):
6762 Fix mouse wheel scrolling
6764 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
6770 * ps/ps-document.c: (catchPipe), (ps_document_init),
6771 (ps_document_class_init), (ps_document_cleanup),
6772 (ps_document_finalize), (send_ps), (ps_document_get_orientation),
6773 (set_up_page), (close_pipe), (is_interpreter_ready),
6774 (interpreter_failed), (output), (input), (start_interpreter),
6775 (stop_interpreter), (file_length), (file_readable),
6776 (check_filecompressed), (check_pdf), (compute_xdpi),
6777 (compute_ydpi), (compute_size), (ps_document_enable_interpreter),
6778 (ps_document_get_type), (ps_document_emit_error_msg),
6779 (document_load), (ps_document_next_page),
6780 (ps_document_get_current_page), (ps_document_get_page_count),
6781 (ps_document_goto_page), (ps_document_set_page_size),
6782 (ps_document_zoom_to_fit), (ps_document_set_zoom),
6783 (ps_document_load), (ps_document_get_n_pages),
6784 (ps_document_set_page), (ps_document_get_page),
6785 (ps_document_widget_event), (ps_document_set_target),
6786 (ps_document_set_scale), (ps_document_set_page_offset),
6787 (ps_document_get_page_size), (ps_document_render),
6788 (ps_document_document_iface_init):
6791 * shell/ev-window.c: (ev_window_open):
6793 Rename GtkGS to PSDocument
6795 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
6797 * ps/gtkgs.c: (gtk_gs_class_init):
6800 Some more leftover...
6802 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
6804 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_get_orientation),
6805 (output), (stop_interpreter), (gtk_gs_emit_error_msg),
6806 (gtk_gs_zoom_to_fit), (gtk_gs_set_zoom):
6809 Remove unused code and make a lot of stuff private
6811 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
6813 * ps/gsdefaults.c: (gtk_gs_defaults_gconf_client),
6814 (gtk_gs_defaults_changed):
6820 Cleanup headers dependencies
6822 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
6827 * ps/gsdefaults.c: (gtk_gs_defaults_get_paper_sizes):
6829 * ps/gtkgs.c: (file_length), (file_readable),
6830 (check_filecompressed), (check_pdf), (gtk_gs_load),
6831 (gtk_gs_get_postscript):
6835 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
6840 * ps/gtkgs.c: (gtk_gs_set_zoom):
6844 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
6846 * ps/gtkgs.c: (gtk_gs_set_zoom), (gtk_gs_set_zoom_mode):
6848 Ensure the page is rerendered when changing zoom
6850 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
6852 * backend/ev-document.c: (ev_document_base_init),
6853 (ev_document_changed):
6854 * backend/ev-document.h:
6856 Add a changed event that is emitted when the page content
6857 changes. This is necessary to deal with the fact that
6858 in ps backend rendering happen asycrounously.
6859 This makes the ps backend mostly work.
6861 * pdf/xpdf/pdf-document.cc:
6865 * ps/gtkgs.c: (set_up_page), (gtk_gs_widget_event),
6866 (ps_document_set_target):
6870 * shell/ev-view.c: (document_changed_callback),
6871 (ev_view_set_document), (ev_view_set_page):
6873 Redraw on the changed signal
6875 2004-12-25 Raphael Higino <raphaelh@cvs.gnome.org>
6877 * configure.ac: Added pt_BR to ALL_LINGUAS.
6879 Fri Dec 24 00:48:44 2004 Jonathan Blandford <jrb@redhat.com>
6881 * backend/ev-document-bookmarks.c:
6882 (ev_document_bookmarks_get_child): *
6883 backend/ev-document-bookmarks.h: * pdf/xpdf/Makefile.am: *
6884 pdf/xpdf/pdf-document.cc: * pdf/xpdf/pdf-document.h: *
6885 shell/Makefile.am: * shell/ev-sidebar-bookmarks.c:
6886 (ev_sidebar_bookmarks_destroy),
6887 (ev_sidebar_bookmarks_class_init),
6888 (ev_sidebar_bookmarks_construct), (stack_data_free),
6889 (do_one_iteration), (populate_bookmarks_idle),
6890 (ev_sidebar_bookmarks_clear_document),
6891 (ev_sidebar_bookmarks_set_document): *
6892 shell/ev-sidebar-bookmarks.h: * shell/ev-sidebar.c:
6893 (ev_sidebar_add_page),
6894 (ev_sidebar_set_document): * shell/ev-window.c: (ev_window_open):
6895 Initial stab at a bookmarks sidebar. It doesn't navigate yet, but
6896 it displays both the topics and the page numbers.
6898 2004-12-23 Kristian Høgsberg <krh@redhat.com>
6900 * shell/ev-window.c (ev_window_view_sidebar_cb): Hook up sidebar
6902 * shell/ev-window.c (toggle_entries): Set sidebar default value to
6905 2004-12-23 Adam Weinberger <adamw@gnome.org>
6907 * configure.ac: Added en_CA to ALL_LINGUAS.
6909 2004-12-23 Martin Kretzschmar <martink@gnome.org>
6911 * ChangeLog: replace bottom of this ChangeLog (merged history of
6912 ggv and gpdf; where all paths were wrong and most of the files are
6913 not even in this tree) with ChangeLog (from arch) of the shell
6916 2004-12-23 Havoc Pennington <hp@redhat.com>
6918 * shell/ev-window.c: hook up potentially-questionable "find
6919 results status text" feature - something involving the sidebar or
6920 scrollbar or a continuous all-pages-on-giant-roll-of-paper-view
6921 might be better in the end.
6923 * shell/ev-view.c (ev_view_get_find_status_message): new function,
6924 with corresponding signal when it should be updated
6926 * shell/eggfindbar.c (egg_find_bar_set_status_text): new function
6928 2004-12-22 Havoc Pennington <hp@redhat.com>
6930 * pdf/xpdf/pdf-document.cc (pdf_document_find_begin): make search
6931 find stuff on other pages, sort of (only returns one result on
6932 invisible pages, to show they have results; updates full results
6933 for a page when you view it). Currently repaints the current page
6934 every time a new result is found on any page, which isn't so nice.
6936 2004-12-22 Havoc Pennington <hp@redhat.com>
6938 * shell/ev-window.c (ev_window_cmd_edit_find): display an error if
6939 the document doesn't support find (better ideas?)
6940 (find_bar_search_changed_cb): handle missing document or document
6941 that doesn't support find
6943 * pdf/xpdf/pdf-document.cc: port to implement the new
6946 * backend/ev-document-find.c: create a new interface for searching
6948 * backend/ev-document.h, backend/ev-document.c: delete the find stuff
6950 2004-12-23 Martin Kretzschmar <martink@gnome.org>
6952 * pdf/xpdf/Makefile.am (libpdfdocument_la_LIBADD): add
6955 * shell/ev-window.c (ev_window_print): add GnomePrintJob to
6956 EvPrintJob constructor arguments.
6958 * backend/ev-ps-exporter.c, backend/ev-ps-exporter.h: interface
6959 for documents that can export PostScript (page by page).
6961 * backend/Makefile.am (libevbackend_la_SOURCES): add them.
6963 * pdf/xpdf/pdf-document.cc (pdf_document_ps_export_begin)
6964 (pdf_document_ps_export_do_page, pdf_document_ps_export_end)
6965 (pdf_document_ps_exporter_iface_init:
6966 Implement EvPSExporter.
6968 * pdf/xpdf/Makefile.am (libxpdf_la_SOURCES): build PSOutputDev.
6970 2004-12-22 Anders Carlsson <andersca@gnome.org>
6972 * backend/Makefile.am:
6973 * backend/ev-document-thumbnails.c:
6974 (ev_document_thumbnails_get_type),
6975 (ev_document_thumbnails_get_thumbnail):
6976 * backend/ev-document-thumbnails.h:
6977 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
6978 (pixbuf_document_thumbnails_get_thumbnail),
6979 (pixbuf_document_document_thumbnails_iface_init):
6980 * shell/Makefile.am:
6981 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_destroy),
6982 (ev_sidebar_thumbnails_class_init), (ev_sidebar_thumbnails_init),
6983 (populate_thumbnails), (ev_sidebar_thumbnails_set_document):
6984 * shell/ev-sidebar-thumbnails.h:
6985 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
6986 (ev_sidebar_set_document):
6987 * shell/ev-utils.c: (gaussian), (create_blur_filter),
6988 (create_shadow), (ev_pixbuf_add_shadow):
6990 Add thumbnail support.
6992 2004-12-22 Martin Kretzschmar <martink@gnome.org>
6994 * shell/ev-window.c (ev_window_cmd_file_print, ev_window_print)
6995 (using_postscript_printer): Set up a print dialog for "PostScript
6998 * shell/ev-print-job.h, shell/ev-print-job.c: stub classes for
7001 * shell/Makefile.am (evince_SOURCES): add ev-print-job.[ch]
7003 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
7005 * ps/gtkgs.c: (gtk_gs_init), (set_up_page),
7006 (ps_document_set_target), (ps_document_get_page_size),
7007 (ps_document_render):
7012 2004-12-22 Christian Rose <menthos@menthos.com>
7014 * configure.ac: Added "sv" to ALL_LINGUAS.
7016 Wed Dec 22 14:47:38 2004 Jonathan Blandford <jrb@redhat.com>
7018 * backend/ev-document-bookmarks.[ch]: new interface to indicate
7019 document supports bookmarks.
7021 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
7023 * ps/ggvutils.c: (ggv_file_readable):
7025 * ps/gtkgs.c: (check_filecompressed), (check_pdf),
7026 (gtk_gs_get_postscript):
7030 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
7032 * ps/gtkgs.c: (gtk_gs_init), (gtk_gs_class_init), (gtk_gs_cleanup),
7033 (gtk_gs_finalize), (gtk_gs_set_center), (set_up_page), (output),
7034 (start_interpreter), (compute_size), (gtk_gs_enable_interpreter),
7035 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_reload),
7036 (gtk_gs_emit_error_msg), (gtk_gs_disable_interpreter),
7037 (gtk_gs_load), (gtk_gs_goto_page), (gtk_gs_set_page_size),
7038 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
7039 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
7040 (gtk_gs_set_antialiasing), (ps_document_load),
7041 (ps_document_render):
7044 Another check point for the ps backend. Now I can get it to show
7047 Wed Dec 22 13:41:01 2004 Jonathan Blandford <jrb@redhat.com>
7049 * shell/ev-sidebar.c (ev_sidebar_set_document): initial sidebar
7050 document setting code.
7052 2004-12-22 Anders Carlsson <andersca@gnome.org>
7054 * shell/eggfindbar.c: (entry_activate_callback):
7055 Animate the next button when activate is pressed.
7057 2004-12-22 Anders Carlsson <andersca@gnome.org>
7059 * shell/ev-window.c: (ev_window_cmd_edit_find),
7060 (update_fullscreen_popup), (ev_window_fullscreen),
7061 (ev_window_unfullscreen), (ev_window_state_event_cb),
7062 (ev_window_focus_out_cb), (find_bar_close_cb), (ev_window_init):
7063 Fix bugs in fullscreen code.
7065 2004-12-22 Anders Carlsson <andersca@gnome.org>
7069 * pixbuf/Makefile.am:
7070 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
7071 (pixbuf_document_load), (pixbuf_document_get_n_pages),
7072 (pixbuf_document_set_page), (pixbuf_document_get_page),
7073 (pixbuf_document_set_target), (pixbuf_document_set_scale),
7074 (pixbuf_document_set_page_offset), (pixbuf_document_get_page_size),
7075 (pixbuf_document_render), (pixbuf_document_begin_find),
7076 (pixbuf_document_end_find), (pixbuf_document_finalize),
7077 (pixbuf_document_class_init),
7078 (pixbuf_document_document_iface_init), (pixbuf_document_init):
7079 * pixbuf/pixbuf-document.h:
7080 * shell/Makefile.am:
7081 * shell/ev-application.c: (ev_application_open):
7082 * shell/ev-window.c: (mime_type_supported_by_gdk_pixbuf),
7086 Tue Dec 21 21:45:43 2004 Soeren Sandmann <sandmann@redhat.com>
7089 * dvi/dvilib/Makefile.am:
7091 * configure.ac: Auto*ify dvi and dvi/dvilib
7093 * dvi/Makefile: Remove from CVS
7095 * dvi/dvilib/dl-pkfont.cc (unpack_bitmap): Fix uchar/uint
7098 * dvi/dvilib/dl-fontdefinition.{cc,hh}: New DviFontMap class
7100 * dvi/dvilib/dl-vffont.{cc,hh}: Many bugfixes to VF code.
7102 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
7105 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_finalize),
7106 (gtk_gs_value_adjustment_changed), (compute_size),
7107 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_new_from_file),
7108 (gtk_gs_center_page), (gtk_gs_load), (gtk_gs_set_page_size),
7109 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
7110 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
7111 (gtk_gs_start_scroll), (gtk_gs_get_postscript),
7112 (gtk_gs_set_adjustments), (gtk_gs_set_available_size),
7113 (ps_document_load), (ps_document_get_n_pages),
7114 (ps_document_set_page), (ps_document_get_page),
7115 (ps_document_set_target), (ps_document_set_scale),
7116 (ps_document_set_page_offset), (ps_document_get_page_size),
7117 (ps_document_render), (ps_document_begin_find),
7118 (ps_document_end_find), (ps_document_document_iface_init):
7120 * shell/Makefile.am:
7121 * shell/ev-window.c: (ev_window_open):
7123 Some work to integrate gtkgs with EvDocument
7125 2004-12-22 Anders Carlsson <andersca@gnome.org>
7127 * shell/ev-window.c: (update_fullscreen_popup),
7128 (screen_size_changed_cb), (destroy_exit_fullscreen_popup),
7129 (exit_fullscreen_button_clicked_cb),
7130 (fullscreen_popup_size_request_cb), (ev_window_fullscreen),
7131 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
7132 (ev_window_state_event_cb), (ev_window_init):
7133 Add fullscreen support from Epiphany.
7135 2004-12-22 Mark McLoughlin <mark@skynet.ie>
7137 * data/ev-stock-zoom-fit-width.png: fit-width
7138 stock icon from gpdf.
7140 * shell/ev-stock-icons.[ch]: copied from gpdf.
7142 * shell/main.c: (main): init stock icons.
7144 * shell/ev-window.c: use the fit-width icon.
7146 * data/evince-ui.xml: add zooming toolbar items.
7148 2004-12-22 Mark McLoughlin <mark@skynet.ie>
7151 (ev_view_best_fit), (ev_view_fit_width): because
7152 get_page_size() returns the scaled page size, we
7153 need to calculate the scale factor relative to
7154 the previous scale factor. Should really just
7155 add get_real_page_size().
7157 2004-12-22 Mark McLoughlin <mark@skynet.ie>
7159 * shell/ev-view.[ch]:
7160 (ev_view_zoom), (ev_view_zoom_in), (ev_view_zoom_out),
7161 (ev_view_normal_size), (ev_view_best_fit), (ev_view_fit_width):
7164 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
7165 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_normal_size),
7166 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width):
7169 * pdf/xpdf/pdf-document.cc:
7170 (pdf_document_begin_find),
7171 (pdf_document_end_find): make static.
7173 2004-12-22 Martin Kretzschmar <martink@gnome.org>
7175 * pdf/xpdf/GlobalParams.h (setupBaseFontsFc): add prototype.
7177 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): maps base font
7178 names to fontconfig patterns.
7179 (setupBaseFontsFc): setupBaseFonts reimplemented using fontconfig.
7181 * pdf/xpdf/pdf-document.cc (pdf_document_load): use
7184 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
7200 Import ggv backend. Not hooked up yet.
7202 2004-12-22 Mark McLoughlin <mark@skynet.ie>
7204 * shell/main.c: (load_files), (main): load files
7205 from the command line.
7207 2004-12-22 Mark McLoughlin <mark@skynet.ie>
7209 * configure.ac: don't require bonobo.
7211 * cut-n-paste/recent-files/*: kill bonobo recent
7214 * shell/ev-window.c:
7215 (ev_window_is_empty): upd.
7216 (unable_to_load), (ev_window_open): load backend
7217 based on the mime type.
7219 2004-12-22 Martin Kretzschmar <martink@gnome.org>
7221 * backend/.cvsignore: ignore generated marshalers source.
7223 * shell/main.c (main): this is not epiphany.
7225 2004-12-22 Havoc Pennington <hp@redhat.com>
7227 * shell/ev-view.c (ev_view_set_document): connect to "found" signal
7228 (expose_bin_window): draw find highlights
7230 * shell/ev-window.c (find_bar_search_changed_cb): implement
7232 * pdf/xpdf/pdf-document.cc (pdf_document_begin_find)
7233 (pdf_document_end_find): implement this interface
7235 * backend/ev-document.c (ev_document_found): add this to emit
7238 Tue Dec 21 23:57:37 2004 Owen Taylor <otaylor@redhat.com>
7240 * data/evince-ui.xml: Add a few more toolbar items.
7242 * shell/ev-window.c: Hook up page navigation toolbar
7245 * shell/ev-view.[ch]: add ev_view_set/get_page and
7246 a page-changed signal.
7248 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc::
7249 Add ev_document_get_page().
7251 * shell/ev-window.c: Sensitize/desensitize navigation
7254 2004-12-21 Havoc Pennington <hp@redhat.com>
7256 * backend/ev-backend-marshal.c,
7257 backend/ev-backend-marshalers.list, backend/Makefile.am: add
7258 marshaler-generator thingy. I'm sure there's a better way to do
7259 this in the modern world.
7261 * backend/ev-document.h (struct _EvDocumentIface): add begin_find,
7262 end_find methods and "found" signal.
7264 * configure.ac: find glib-genmarshal
7266 Tue Dec 21 23:20:35 2004 Jonathan Blandford <jrb@redhat.com>
7268 * shell/ev-sidebar.c: Construct an actual sidebar.
7269 * shell/ev-sidebar-bookmarks.[ch]:
7270 * shell/ev-sidebar-thumbnails.[ch]: Stub out sidebars.
7272 Tue Dec 21 23:05:51 2004 Owen Taylor <otaylor@redhat.com>
7274 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc:
7277 * shell/ev-view.c: Track the size from the document.
7279 Tue Dec 21 22:17:04 2004 Owen Taylor <otaylor@redhat.com>
7281 * pdf/xpdf/pdf-document.cc (pdf_document_load): PDFDoc
7282 constructor assumes ownership of the string passed in.
7284 * shell/ev-window.c (ev_window_open): Destroy the error
7285 dialog once we've displayed it.
7287 Tue Dec 21 21:58:56 2004 Owen Taylor <otaylor@redhat.com>
7289 * pdf/xpdf/pdf-document.cc shell/ev-view.c: Hook things up
7290 a bit, it works! (sort of)
7292 * pdf/xpdf/Makefile.am pdf/xpdf/pdf-document.cc:
7293 Move to .cc since we need to use C++ in the implementation.
7295 * shell/dummy.cc: Add a CC file to force evince
7296 to be linked as a C++ program.
7298 Tue Dec 21 21:07:55 2004 Owen Taylor <otaylor@redhat.com>
7300 * shell/ev-view.[ch]: Start of content-area widget.
7302 * shell/ev-window.c: Create a EvView, update it
7303 as we change documents.
7305 * shell/Makefile.am shell/ev-marshal.list: Add
7306 generated marshalers.
7308 Tue Dec 21 20:28:11 2004 Jonathan Blandford <jrb@redhat.com>
7310 * Makefile.am (SUBDIRS): move shell.
7312 Tue Dec 21 19:28:55 2004 Owen Taylor <otaylor@redhat.com>
7314 * pdf/{goo,fofi,splash,xpdf}/Makefile.am: Switch from
7315 .a to libtool convenience libraries.
7317 * shell/ev-window.c (ev_window_open): Hard code loading
7320 * backend/ev-document.h: Add a boolean return to load(),
7321 fix GError * to GError **.
7323 * pdf/xpdf/pdf-document.[ch] Makefile.am: Add a stub
7324 object for a PDF backend EvDocument.
7326 Tue Dec 21 18:55:06 2004 Søren Sandmann <sandmann@redhat.com>
7328 * dvi/*: New directory with the beginning of a .dvi backend.
7330 2004-12-21 Havoc Pennington <hp@redhat.com>
7332 * shell/eggfindbar.c (egg_find_bar_init): change buttons to
7333 previous/next instead of back/forward
7335 Tue Dec 21 18:26:24 2004 Owen Taylor <otaylor@redhat.com>
7337 * backend/ev-document.[ch]: Fix a couple of problems so
7340 Tue Dec 21 18:20:40 2004 Owen Taylor <otaylor@redhat.com>
7342 * viewer/* backend/* configure.ac Makefile.am: Move viewer directory
7343 to backend/ directory, rename EvViewer to EvDocument.
7345 2004-12-21 Havoc Pennington <hp@redhat.com>
7347 * shell/ev-window.c: hook up the find bar widget; now we just need
7348 a document to find things in
7350 * shell/eggfindbar.c: a find bar widget
7352 Tue Dec 21 17:20:16 2004 Jonathan Blandford <jrb@redhat.com>
7354 * shell/ev-sidebar.[ch]: initial sidebar boilerplate.
7356 Tue Dec 21 16:30:58 2004 Owen Taylor <otaylor@redhat.com>
7358 * pdf/**: Import of xpdf code from gpdf.
7360 * pdf/xpdf/xpdfconfig.h: Move the non-config.h config.h to xpdfconfig.h
7362 * pdf/splash/SplashFTFont.{cc,h} pdf/splash/SplashFTFont.h
7363 pdf/splash/SplashFTFontEngine.h pdf/splash/SplashFTFontFile.h:
7364 Fix FreeType includes.
7366 * pdf/xpdf/{Error.h GnomeVFSStream.cc ImageOutputDev.cc PDFDoc.cc\
7367 pdffonts.cc pdfimages.cc pdfinfo.cc pdftoppm.cc pdftops.cc
7368 pdftotext.cc PSOutputDev.cc PSOutputDev.h SplashOutputDev.h
7369 Stream.cc TextOutputDev.cc XPDFApp.cc xpdf.cc XPDFViewer.cc
7370 pdf/xpdf/Error.h PSOutputDev.h SplashOutputDev.h}:
7371 Include xpdfconfig.h
7373 Tue Dec 21 16:08:17 2004 Jonathan Blandford <jrb@redhat.com>
7375 * shell/ev-window.c (ev_window_dispose): dispose can be called
7378 2004-12-21 Havoc Pennington <hp@redhat.com>
7380 * shell/ev-window.c (ev_window_init): set title to Document Viewer
7383 * data/evince-ui.xml, shell/ev-window.c: add a bunch of stub menu
7384 items; really they should be synced with the strings, etc. from
7385 current gpdf, but just getting the boring typing out of the way
7387 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
7390 * shell/ev-application.c: (window_destroy_cb):
7391 * shell/ev-window.c:
7392 * shell/main.c: (main):
7394 Actually show the window...
7396 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
7399 * shell/Makefile.am:
7400 * shell/ev-application.c: (ev_application_class_init):
7401 * shell/ev-window.c: (ev_window_dispose), (ev_window_class_init):
7405 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
7407 Import to gnome cvs.
7409 * Remove copies of gpdf and ggv trees.
7410 * Rip out all the recursive configure code.
7411 * Remove bonobo machinery.
7412 * viewer/*: GInterfaces that backends should/can implement.
7414 2004-11-09 Martin Kretzschmar <m_kretzschmar@gmx.net>
7416 * shell/ev-window.c (ev_window_cmd_help_about): fix "documentors"
7419 2004-10-28 Martin Kretzschmar <m_kretzschmar@gmx.net>
7421 * shell/ev-application.c (EV_APPLICATION_GET_PRIVATE)
7422 (ev_application_finalize, ev_application_class_init)
7423 (ev_application_init): use GType instance private data for priv.
7425 * shell/ev-window.c (EV_WINDOW_GET_PRIVATE)
7426 (ev_window_finalize, ev_window_class_init)
7427 (ev_window_init): ditto.
7429 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
7431 * shell/ev-application.c (ev_application_new_window): make public
7432 (ev_application_show_initial_window): kill.
7434 * shell/ev-application.h: update prototypes.
7436 * shell/main.cc (main): inline ev_application_show_initial_window.
7438 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
7440 * shell/ev-application.c (ev_application_new_window): impl.
7441 (ev_application_show_initial_window): use it.
7442 (is_window_empty, ev_application_get_empty_window): returns an
7443 existing empty window or a new one.
7444 (ev_application_open): from ev_window_cmd_file_open.
7446 * shell/ev-application.h: update prototypes
7448 * shell/ev-window.c (ev_window_is_empty): impl.
7449 (ev_window_open): make public.
7450 (ev_window_cmd_file_open): use ev_application_open
7452 * shell/ev-window.h: update prototypes, remove unused.
7454 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
7456 * shell/ev-window.c (ev_window_destroy, ev_window_class_init):
7457 move destroy handler out of here...
7459 * shell/ev-application.c, shell/ev-application.h: ...into this new
7460 class. Also handles initial window creation.
7462 * shell/main.cc (main): use EvApplication to create initial
7465 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
7467 * Makefile.am (SUBDIRS): add cut-n-paste
7469 * cut-n-paste/Makefile.am: add
7471 * configure.ac: generate Makefiles in cut-n-paste
7473 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
7475 * shell/ev-window.c (ev_window_dispose): new, unref the ui_manager
7476 (ev_window_class_init): install ev_window_dispose.
7478 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
7480 * shell/ev-window.h, shell/ev-window.c: replace gchar with
7481 char (gchar looks stupid).
7483 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
7485 * po/de.po: updated German translation.
7487 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
7489 * configure.ac: add more pkg-config library checks for gnome-vfs,
7492 * gpdf/configure.in: temporarily disable libpaper
7493 checks. Otherwise I'd have to add the checks for the shell, too.
7495 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7497 * shell/ev-window.c (ev_window_cmd_file_open): add ps+pdf, ps, pdf
7498 and * file filters to the file choose.
7500 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7502 * po/de.po: Updated German translation.
7504 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7506 * shell/ev-window.c: use "S" as mnemonic for Statusbar.
7508 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7510 * data/evince-ui.xml: add View->Toolbar and View->Statusbar.
7512 * shell/ev-window.c (menu_item_select_cb, menu_item_select_cb)
7513 (ev_window_init): implement those menuitems.
7515 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7517 * data/evince-ui.xml: add a toolbar (with FileOpen action)
7519 * shell/ev-window.c (ev_window_init): use the toolbar.
7521 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7523 * shell/ev-window.c (ev_window_init): use menu translations
7525 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7527 * configure.ac: add "de" to ALL_LINGUAS.
7529 * po/de.po: add German translation.
7531 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7533 * Makefile.am (SUBDIRS): add po
7535 * configure.ac: check intltool, glib-gettext etc, generate
7538 * po, po/POTFILES.in, po/POTFILES.skip: new.
7540 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7542 * shell/Makefile.am (INCLUDES): define GNOMELOCALEDIR which we
7543 already use (#ifdef ENABLE_NLS)
7545 * shell/ev-window.c (ev_window_cmd_help_about): fix two star
7546 pointer indirection thinko.
7548 * shell/main.c: include gi18n.h for bindtextdomain etc.
7550 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7552 * shell/ev-window.c (menu_item_select_cb, menu_item_deselect_cb)
7553 (connect_proxy_cb, disconnect_proxy_cb, ev_window_init): show
7554 tooltips for menu items in the statusbar.
7556 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7558 * configure.ac, data/Makefile.am, shell/Makefile.am: use
7559 pkgdatadir drop UIDIR
7561 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7563 * data/evince-ui.xml: Add File->Open menu item
7565 * shell/ev-window.c (ev_window_cmd_file_open): impl. (shows a file
7566 chooser), hook it up in the ui manager.
7568 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7570 * shell/ev-window.c: fix Help->About tooltip.
7572 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7574 * configure.ac: set CFLAGS for libevprivate.
7576 * lib/ev-stock-icons.h, lib/ev-stock-icons.c: stock icon
7577 definitions, factory etc.
7579 * lib/Makefile.am: build libevprivate.a (only stock icon code).
7581 * shell/Makefile.am: link against libevprivate.a.
7583 * shell/ev-window.c (entries): add stock icon to Help->About.
7585 * shell/main.c (main): init stock icon code.
7587 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7589 * lib/recent-files: egg recent files code
7591 * lib/Makefile.am: add.
7593 * Makefile.am: add lib subdir.
7595 * configure.ac: gen. lib/Makefile and lib/recent-files/Makefile,
7596 set CFLAGS for recent-files.
7598 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7600 * configure.ac: disable -ansi and -pedantic gcc flags. They
7601 disable POSIX stuff in stdio.h, but egg-recent uses them.
7603 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7605 * configure.ac: add --disable-deprecated flag (defaults to on in
7608 * shell/Makefile.am (INCLUDES): use it.
7610 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7612 * shell/main.c: add missing #include.
7614 * shell/ev-window.c: fix for pedantic gcc.
7615 (ev_window_cmd_help_about): split license into paragraphs for
7616 translators and pedantic compilers.
7618 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7620 * configure.ac: add more warning flags if compiling with gcc from
7621 cvs (or explicitly requested with --enable-more-warnings).
7623 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7625 * data/evince-ui.xml: add File and File->Close menu.
7627 * shell/ev-window.c (ev_window_cmd_file_close_window): impl.
7628 (ev_window_destroy): quit after destroy.
7629 (ev_window_class_init): override GtkObject::destroy.
7630 (entries): install close_window callback.
7632 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7634 * Makefile.am (SUBDIRS): add data subdir.
7636 * configure.ac (UIDIR): gen data/Makefile, define UIDIR. Require
7637 gtk+ 2.5.0 for GtkAboutDialog.
7639 * data/Makefile.am, data/evince-ui.xml: add, ui definition for the
7642 * shell/Makefile.am (INCLUDES): propagate UIDIR definition.
7644 * shell/ev-window.c (ev_window_init): create a menubar, using a ui
7646 (ev_window_cmd_help_about): about command, using GtkAboutDialog.
7648 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7650 * shell/ev-window.c, shell/ev-window.h: Created an EvWindow class.
7652 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
7654 * shell/main.c: make it a trivial gtk+ program, adjust configure.ac
7656 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
7658 * shell/*: Added shell directory boilerplate, build it.
7660 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
7662 * configure.ac, Makefile.am: Added top-level configure.ac and