1 2006-01-06 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3 * backend/ev-document-factory.c: (gdk_pixbuf_mime_type_list),
4 (mime_type_supported_by_gdk_pixbuf),
5 (ev_document_factory_get_mime_types),
6 (ev_document_factory_get_all_mime_types):
8 Don't add pixbuf mime types if pixbuf backend is disabled.
10 * shell/ev-application.c: (ev_application_get_uri_window):
12 Fix for the bug 325815 - unhandled MIME type message doesn't
15 * shell/ev-document-types.c: (ev_document_types_add_filters):
16 * shell/ev-window.c: (page_changed_cb), (ev_window_setup_document),
17 (password_dialog_response), (ev_window_popup_password_dialog),
18 (ev_window_load_job_cb), (ev_window_sidebar_position_change_cb),
19 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
20 (ev_window_run_presentation), (ev_window_stop_presentation),
21 (save_sizing_mode), (ev_window_zoom_changed_cb),
22 (ev_window_continuous_changed_cb), (ev_window_rotation_changed_cb),
23 (ev_window_dual_mode_changed_cb),
24 (ev_window_sidebar_current_page_changed_cb),
25 (ev_window_sidebar_visibility_changed_cb), (ev_window_dispose),
26 (window_state_event_cb), (window_configure_event_cb):
28 Cleanup additional uris holded by EvWindow.
30 2006-01-06 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
32 * shell/ev-view.c: (ev_view_scroll), (ev_view_previous_page),
33 (ev_view_can_previous_page), (ev_view_can_next_page):
35 * shell/ev-window.c: (update_action_sensitivity):
37 Two page scrolling with Space and PageUp in dual mode. Second fix
40 2006-01-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
42 * shell/ev-view.c: (scroll_to_current_page):
44 Correctly clamp adjustment value. Fix for the bug
47 2006-01-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
49 * shell/ev-sidebar-links.c: (print_section_cb):
50 * shell/ev-window.c: (ev_window_get_uri),
51 (ev_window_close_dialogs), (ev_window_open_uri), (ev_window_print),
52 (ev_window_print_dialog_response_cb), (ev_window_print_range),
55 Make print dialog non-modal. Fix for the bug #325622.
57 2006-01-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
59 * shell/ev-metadata-manager.c:
60 * shell/ev-utils.c: (using_pdf_printer),
61 (using_postscript_printer), (load_print_config_from_file),
62 (save_print_config_to_file):
64 * shell/ev-window.c: (update_sizing_buttons), (page_changed_cb),
65 (update_sidebar_visibility), (setup_sidebar_from_metadata),
66 (setup_view_from_metadata), (ev_window_setup_document),
67 (ev_window_load_job_cb), (ev_window_sidebar_position_change_cb),
68 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
69 (ev_window_run_presentation), (ev_window_stop_presentation),
70 (save_sizing_mode), (ev_window_zoom_changed_cb),
71 (ev_window_continuous_changed_cb), (ev_window_rotation_changed_cb),
72 (ev_window_dual_mode_changed_cb),
73 (ev_window_sidebar_current_page_changed_cb),
74 (ev_window_sidebar_visibility_changed_cb), (ev_window_dispose),
75 (window_state_event_cb), (window_configure_event_cb),
78 Setting saving behaviour fixes.
80 2005-12-30 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
84 Make antialiasing gs options better and allow
85 to change them during configure. Fix for the
88 2005-12-29 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
90 * shell/ev-window.c: (setup_view_from_metadata):
92 Remember if last window was maximized. Fix for the
95 2005-12-28 Abel Cheung <maddog@linuxhall.org>
97 * configure.ac: Added "zh_HK" to ALL_LINGUAS.
99 2005-12-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
101 * backend/ev-link.c: (ev_link_get_page), (ev_link_init):
102 * shell/ev-page-action.c: (build_new_tree_cb):
103 * shell/ev-sidebar-links.c: (links_page_num_func),
104 (update_page_callback_foreach), (update_page_callback):
105 * shell/ev-view.c: (scroll_to_current_page):
107 Fix for the bug #325067 with more intelligent selection
108 of current link in sidebar. Make sidebar handle links
109 of FITR-like type more correctly.
111 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
112 (dvi_pixbuf_put_pixel):
114 Fix memory consumtion with disabled alpha channel.
116 2005-12-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
118 * data/evince-ui.xml:
119 * shell/ev-window.c: (view_menu_popup_cb),
120 (ev_popup_cmd_open_link), (ev_window_init):
122 Update context menu for internal links. Fix for the bug
125 2005-12-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
127 * shell/ev-view.c: (ev_view_popup_menu), (ev_view_class_init):
129 Bind context menu to keyboard also. Fix for the bug
132 2005-12-27 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
134 * shell/ev-view.c: (selection_scroll_timeout_cb):
136 Horizontal scroll on selection also.
138 2005-12-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
140 * shell/ev-metadata-manager.c: (parse_value):
141 * shell/ev-view.c: (goto_xyz_link):
143 Correct zoom setup and metadata save broken in
146 2005-12-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
148 * shell/ev-view-private.h:
149 * shell/ev-view.c: (scroll_to_current_page),
150 (view_set_adjustment_values), (goto_fitr_link), (goto_fitv_link),
151 (goto_fith_link), (goto_fit_link), (goto_xyz_link),
152 (page_changed_cb), (ev_view_set_continuous),
153 (ev_view_set_dual_page), (ev_view_set_presentation):
155 Delay scroll until allocation to correctly position page. Fix
158 2005-12-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
163 Update NEWS and require poppler 0.5.0.
165 2005-12-25 Carlos Garcia Campos <carlosgc@gnome.org>
167 * data/evince-ui.xml:
168 * shell/ev-view-private.h:
169 * shell/ev-view.c: (ev_view_get_link_at_location),
170 (handle_link_over_xy), (ev_view_button_press_event),
171 (ev_view_button_release_event), (ev_view_class_init):
172 * shell/ev-window.c: (view_menu_popup_cb), (ev_window_dispose),
173 (ev_popup_cmd_open_link), (ev_popup_cmd_copy_link_address),
176 Implement right-click context menu.
178 2005-12-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
180 * djvu/djvu-document.c: (djvu_document_thumbnails_get_thumbnail):
181 * dvi/pixbuf-device.c: (dvi_pixbuf_create_image),
182 (mdvi_pixbuf_device_render):
185 Don't generate thumbnails with alpha. See bug #324077.
186 Thanks to Jeroen Zwartepoorte <jeroen.zwartepoorte@gmail.com>.
188 2005-12-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
190 * shell/ev-window.c: (setup_chrome_from_metadata):
192 Fix typo that was hiding toolbar.
194 2005-12-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
196 * shell/ev-view-private.h:
197 * shell/ev-view.c: (ev_view_realize), (selection_update_idle_cb),
198 (selection_scroll_timeout_cb), (ev_view_motion_notify_event),
199 (ev_view_button_release_event), (ev_view_destroy):
201 Small cleanup and autoscrolling during selection. Thanks to
202 Ricardo Markiewicz <rmarkie@fi.uba.ar>.
204 2005-12-22 Jani Monoses <jani.monoses@gmail.com>
208 Correctly check for comics option.
210 2005-12-21 Eduardo Lima <eduardo.lima@indt.org.br>
213 * backend/Makefile.am:
214 * backend/ev-document-factory.c:
215 * shell/ev-document-types.c:
217 Included option in configure to make ps backend
218 compilation optional with --disable-ps.
220 2005-12-20 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
222 * backend/ev-document-factory.c:
223 * comics/Makefile.am:
224 * comics/comics-document.c: (comics_document_load):
225 * comics/ev-cbr-mime.xml:
228 Comics mime types are added to shared-mime-info CVS. Now
229 we don't need to install our own mime types.
231 2005-12-20 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
235 Add shortcut for "save a copy" menu entry. Fix for
238 2005-12-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
240 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info),
241 (job_finished_cb), (new_selection_pixbuf_needed),
242 (ev_pixbuf_cache_get_selection_pixbuf), (update_job_selection),
243 (clear_job_selection), (ev_pixbuf_cache_set_selection_list):
245 Rework selection job info logic and fix critical warning.
247 2005-12-17 Abel Cheung <maddog@linuxhall.org>
249 * configure.ac: Added "cy" "fa" "mk" "vi" to ALL_LINGUAS.
251 2005-11-27 Jaap A. Haitsma <jaap@haitsma.org>
253 * data/evince-ui.xml:
254 * shell/ev-window.c: (ev_window_set_view_accels_sensitivity):
256 Enter as shortcut key for next page. Fix for the bug
259 2005-11-18 Ales Nyakhaychyk <nab@mail.by>
261 * configure.ac: Added "be" (Belarusian) to ALL_LINGUAS.
263 2005-11-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
265 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info),
266 (job_finished_cb), (copy_job_to_job_info), (add_job_if_needed),
267 (new_selection_pixbuf_needed),
268 (ev_pixbuf_cache_get_selection_pixbuf), (update_job_selection),
269 (clear_job_selection):
271 Too early for 0.5. Pixbuf cache code cleaned a bit.
273 2005-11-14 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
278 Release 0.5.0 preparation
280 2005-11-14 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
282 * comics/Makefile.am:
284 * shell/ev-document-types.c: (ev_document_types_add_filters):
286 More advanced handling of custom mime type installation.
288 2005-11-14 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
290 * data/evince.schemas.in:
291 * shell/ev-metadata-manager.c: (value_free),
292 (ev_metadata_manager_get_last), (ev_metadata_manager_set_last),
293 (ev_metadata_manager_get), (ev_metadata_manager_set):
294 * shell/ev-metadata-manager.h:
295 * shell/ev-window.c: (update_chrome_flag),
296 (ev_window_cmd_focus_page_selector), (update_sidebar_visibility),
297 (setup_document_from_metadata), (setup_chrome_from_metadata),
298 (setup_sidebar_from_metadata), (setup_view_from_metadata),
299 (ev_window_cmd_edit_find), (ev_window_cmd_escape),
300 (ev_window_view_toolbar_cb),
301 (ev_window_sidebar_visibility_changed_cb), (find_bar_close_cb),
302 (view_actions_focus_in_cb), (ev_window_init), (ev_window_new):
304 Save last document settings and reuse them for new documents.
306 2005-11-14 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
309 * backend/Makefile.am:
310 * backend/ev-document-factory.c:
311 * backend/ev-document-factory.h:
312 * comics/Makefile.am:
313 * comics/comics-document.c: (G_DEFINE_TYPE_WITH_CODE),
314 (comics_document_load), (comics_document_save),
315 (comics_document_get_n_pages), (comics_document_get_page_size),
316 (get_page_size_area_prepared_cb), (comics_document_render_pixbuf) (render_pixbuf_size_prepared_cb), (comics_document_finalize),
317 (comics_document_class_init), (comics_document_can_get_text),
318 (comics_document_get_info), (comics_document_document_iface_init),
319 (comics_document_init), (get_supported_image_extensions),
320 (comics_document_thumbnails_get_geometry),
321 (comics_document_thumbnails_get_thumbnail),
322 (comics_document_thumbnails_get_dimensions),
323 (comics_document_document_thumbnails_iface_init), (extract_argv):
324 * comics/comics-document.h:
325 * comics/ev-cbr-mime.xml:
328 * shell/ev-application.c: (ev_application_register_service):
329 * shell/ev-document-types.c: (ev_document_types_add_filters):
330 * thumbnailer/Makefile.am:
331 * thumbnailer/evince-thumbnailer-comics.schemas.in:
333 New CBR/CBZ backend for comic books.
335 2005-11-10 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
337 * shell/main.c: (load_files_remote):
339 Thanks to Robert McQueen <robot101@debian.org>. Dbus
340 warning on startup of second instance is fixed. It
343 2005-10-30 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
345 * shell/ev-window.c: (ev_window_finalize):
347 Fix double free that cause crash.
349 2005-10-29 Bastien Nocera <hadess@hadess.net>
351 * tiff/tiff-document.c: (tiff_document_load):
355 2005-10-29 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
359 * shell/ev-view-accessible.c: (ev_view_accessible_get_priv),
360 (ev_view_accessible_free_priv), (ev_view_accessible_class_init),
361 (ev_view_accessible_get_text),
362 (ev_view_accessible_get_character_at_offset),
363 (ev_view_accessible_get_text_before_offset),
364 (ev_view_accessible_get_text_at_offset),
365 (ev_view_accessible_get_text_after_offset),
366 (ev_view_accessible_get_character_count),
367 (ev_view_accessible_get_caret_offset),
368 (ev_view_accessible_set_caret_offset),
369 (ev_view_accessible_get_run_attributes),
370 (ev_view_accessible_get_default_attributes),
371 (ev_view_accessible_get_character_extents),
372 (ev_view_accessible_get_offset_at_point),
373 (ev_view_accessible_get_n_selections),
374 (ev_view_accessible_get_selection),
375 (ev_view_accessible_add_selection),
376 (ev_view_accessible_remove_selection),
377 (ev_view_accessible_set_selection),
378 (ev_view_accessible_text_iface_init),
379 (ev_view_accessible_idle_do_action),
380 (ev_view_accessible_action_do_action),
381 (ev_view_accessible_action_get_n_actions),
382 (ev_view_accessible_action_get_description),
383 (ev_view_accessible_action_get_name),
384 (ev_view_accessible_action_set_description),
385 (ev_view_accessible_action_iface_init),
386 (ev_view_accessible_get_type), (ev_view_accessible_new),
387 (ev_view_accessible_factory_get_accessible_type),
388 (ev_view_accessible_factory_create_accessible),
389 (ev_view_accessible_factory_class_init),
390 (ev_view_accessible_factory_get_type):
391 * shell/ev-view-accessible.h:
392 * shell/ev-view-private.h:
393 * shell/ev-view.c: (ev_view_get_accessible), (ev_view_class_init):
396 Initial accessibility support.
398 2005-10-27 Erdal Ronahi <erdal.ronahi@gmail.com>
400 * configure.ac: Added ku (Kurdish) to ALL_LINGUAS
402 2005-10-26 Hubert Figuiere <hfiguiere@teaser.fr>
404 * shell/ev-print-job.c: (idle_print_handler):
406 Fix for bug Bug 318916: Printing multiple pages.
408 2005-10-20 Runa Bhattacharjee <runa@bengalinux.org>
410 * configure.ac: Added "bn" (Bengali) to ALL_LINGUAS.
412 2005-10-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
416 Thumnail dimensions unified with other backends.
418 * shell/ev-window-title.c: (ev_window_title_update):
422 2005-10-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
424 * data/ev-stock-zoom-fit-width.png:
428 2005-10-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
431 * djvu/djvu-document.c: (djvu_document_load), (djvu_document_save),
432 (djvu_document_finalize):
433 * dvi/dvi-document.c: (dvi_document_load), (dvi_document_save),
434 (dvi_document_finalize):
435 * pixbuf/pixbuf-document.c: (pixbuf_document_load),
436 (pixbuf_document_save), (pixbuf_document_finalize):
437 * tiff/tiff-document.c: (tiff_document_load), (tiff_document_save),
438 (tiff_document_finalize):
440 Save a copy implemented for various backends.
442 2005-10-17 Daniel Gryniewicz <dang@gentoo.org>
446 Don't link with ltiff if tiff is disabled.
448 2005-10-14 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
450 * pdf/GDKSplashOutputDev.cc:
451 * pdf/GDKSplashOutputDev.h:
454 * pdf/pdf-document.cc:
455 * pdf/pdf-document.h:
456 * pdf/test-gdk-output-dev.cc:
458 Remove old unused files.
460 2005-10-12 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
462 * shell/ev-window.c: (ev_window_setup_document):
464 Fixed warnings on reload and probably crash reason.
466 2005-10-12 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
468 * properties/ev-properties-view.c:
469 (ev_properties_view_format_date):
471 Check if date is invalid. Fix for bug 318134.
473 2005-10-02 Wouter Bolsterlee <uws+gnome@xs4all.nl>
475 * shell/ev-window-title.c:
477 Add .indd files (Adobe Indesign) to the list of "bad
480 2005-10-02 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
482 * data/evince-ui.xml:
483 * shell/ev-window.c: (ev_window_set_view_accels_sensitivity):
485 Add <ctrl>KP_Add and <ctrl>KP_Substract bindings.
487 2005-09-27 Christian Persch <chpe@cvs.gnome.org>
489 * shell/ev-window.c: (launch_link), (launch_external_uri),
490 (view_external_link_cb):
492 URL-escape link before passing it to gnome_vfs_url_show.
494 2005-09-27 Carlos Garcia Campos <carlosgc@gnome.org>
496 * shell/ev-view.[ch], shell/ev-window.c: Disable copy action when
497 there isn't text selected.
499 2005-09-27 Marco Pesenti Gritti <mpg@redhat.com>
501 * shell/ev-view.c: (handle_link_over_xy):
503 Check tooltip is valid utf8 before showing it
505 2005-09-27 Carlos Garcia Campos <carlosgc@gnome.org>
507 * shell/ev-view.c: Allow drag and drop of text. Fixes #316772
509 2005-09-27 Christian Persch <chpe@cvs.gnome.org>
511 * shell/ev-window-title.c: (ev_window_title_update):
513 Guard against using g_strstrip on NULL. Fixes bug #317291.
515 2005-09-26 Marco Pesenti Gritti <mpg@redhat.com>
519 Show title even for unknown links
521 2005-09-26 Marco Pesenti Gritti <mpg@redhat.com>
523 * shell/ev-window-title.c: (ev_window_title_update):
525 Strip the title string
527 2005-09-26 Marco Pesenti Gritti <mpg@redhat.com>
529 * shell/ev-window-title.c:
531 Add .rtf to the bad extensions list
533 2005-09-26 Marco Pesenti Gritti <mpg@redhat.com>
535 * shell/ev-view.c: (doc_point_to_view_point), (goto_fitr_link),
536 (goto_fitv_link), (goto_fith_link), (goto_xyz_link):
538 Ignore link coordinates if they are outside page bounds
540 2005-09-26 Marco Pesenti Gritti <mpg@redhat.com>
542 * backend/ev-link.c: (ev_link_type_get_type),
543 (ev_link_get_filename), (ev_link_get_params),
544 (ev_link_get_property), (ev_link_set_property),
545 (ev_window_dispose), (ev_link_class_init), (ev_link_new_launch):
548 * shell/ev-view.c: (ev_view_goto_link), (ev_view_class_init):
549 * shell/ev-window.c: (launch_link), (view_external_link_cb),
552 Implement launch links. Delegate external link opening to
555 2005-09-24 Marco Pesenti Gritti <mpg@redhat.com>
557 * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_bottom),
558 (ev_link_get_right), (ev_link_get_property),
559 (ev_link_set_property), (ev_link_class_init),
560 (ev_link_new_page_fitv), (ev_link_new_page_fitr):
563 * shell/ev-view.c: (goto_fitr_link), (ev_view_goto_link):
567 2005-09-24 Marco Pesenti Gritti <mpg@redhat.com>
569 * shell/ev-view.c: (ev_view_get_width), (ev_view_get_height),
570 (goto_fitv_link), (goto_fith_link), (goto_fit_link),
571 (ev_view_goto_link), (ev_view_size_request_continuous_dual_page),
572 (ev_view_size_request_continuous),
573 (ev_view_size_request_dual_page),
574 (ev_view_size_request_single_page), (ev_view_size_allocate),
575 (ev_view_zoom_for_size_continuous_and_dual_page),
576 (ev_view_zoom_for_size_continuous),
577 (ev_view_zoom_for_size_dual_page),
578 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
579 (ev_sizing_mode_get_type):
581 * shell/ev-window.c: (ev_window_sizing_mode_changed_cb):
583 Do not use modes for link, we need to calculate size ad hoc.
584 Still not perfect because of the usual scrollbar issues grrr.
586 2005-09-24 Marco Pesenti Gritti <mpg@redhat.com>
588 * backend/ev-link.c: (ev_link_type_get_type),
589 (ev_link_new_page_fith), (ev_link_new_page_fitv):
592 * shell/ev-view.c: (goto_fitv_link), (goto_fith_link),
593 (ev_view_goto_link), (ev_view_size_request_continuous_dual_page),
594 (ev_view_size_request_continuous),
595 (ev_view_size_request_dual_page),
596 (ev_view_size_request_single_page), (ev_view_size_allocate),
597 (zoom_for_size_fit_height),
598 (ev_view_zoom_for_size_continuous_and_dual_page),
599 (ev_view_zoom_for_size_continuous),
600 (ev_view_zoom_for_size_dual_page),
601 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
602 (ev_sizing_mode_get_type):
604 * shell/ev-window.c: (ev_window_sizing_mode_changed_cb):
606 Implement FIT_HEIGHT mode (only for links).
609 2005-09-24 Marco Pesenti Gritti <mpg@redhat.com>
611 * shell/ev-window-title.c: (get_filename_from_uri),
612 (ev_window_title_sanitize_extension), (ev_window_title_update),
613 (ev_window_title_set_document), (ev_window_title_set_uri),
614 (ev_window_title_free):
615 * shell/ev-window-title.h:
616 * shell/ev-window.c: (ev_window_setup_document),
617 (ev_window_popup_password_dialog):
619 Refactor window title building while fixing it for
622 2005-09-24 Marco Pesenti Gritti <mpg@redhat.com>
626 Escape link title before setting it in the model
628 2005-09-23 Marco Pesenti Gritti <mpg@redhat.com>
630 * shell/ev-application.c: (removed_from_session), (save_session),
631 (init_session), (ev_application_get_empty_window),
632 (ev_application_init), (ev_application_get_windows):
633 * shell/ev-application.h:
634 * shell/ev-window.c: (ev_window_finalize):
636 Add a function to retrieve window list and share it where
638 Implement session handling, works pretty well thanks to the
641 2005-09-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
643 * shell/ev-password.c: (ev_password_item_created_callback),
644 (ev_password_dialog_save_password):
646 Fix for bug 316972. Use async gnome-keyring API.
648 2005-09-22 Christian Persch <chpe@cvs.gnome.org>
650 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_class_init):
651 Remove unused unrealize handler. Add scroll handling to
652 ev_view_scroll_event for presentation mode (bug #316708),
653 and fix the event state checks there.
655 2005-09-22 Marco Pesenti Gritti <mpg@redhat.com>
657 * shell/ev-page-action.c: (page_changed_cb):
659 "marco, maybe we should be crazy and jump right to 6! :)"
661 Bryan Clark, Sep 2005
663 2005-09-22 Marco Pesenti Gritti <mpg@redhat.com>
665 * ps/ps-document.c: (save_document), (ps_document_save),
666 (ps_document_ps_export_begin), (ps_document_ps_export_do_page),
667 (ps_document_ps_export_end):
669 Fix unstructured documents save and print
671 2005-09-22 Marco Pesenti Gritti <mpg@redhat.com>
673 * shell/ev-application.c: (ev_application_open_uri):
675 Fix window size persistance
677 2005-09-22 Marco Pesenti Gritti <mpg@redhat.com>
679 * shell/ev-view.c: (ev_view_button_release_event):
681 Based on a patch from carlosgc@gnome.org. Mouse buttons
682 switch pages in presentation mode.
684 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
686 * shell/ev-page-cache.c: (ev_page_cache_get_size):
688 Dont cast to int before scaling
690 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
692 * backend/ev-link.c: (ev_link_type_get_type),
693 (ev_link_new_page_xyz), (ev_link_new_page_fit),
694 (ev_link_new_page_fith):
697 * shell/ev-view.c: (goto_fith_link), (ev_view_goto_link):
699 Implement FIT and FITH links
701 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
705 Return 0 results when search is not in progress.
707 * shell/ev-window.c: (ev_window_cmd_go_previous_page),
708 (ev_window_cmd_go_next_page), (find_bar_search_changed_cb):
710 Update menu sensitivity when cancelling search
712 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
714 * shell/ev-view.c: (ev_view_can_find_next):
716 Take all pages in consideration, not just current one
718 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
720 * shell/ev-page-cache.c:
721 * shell/ev-page-cache.h:
722 * shell/ev-view.c: (ev_view_binding_activated),
723 (ev_view_next_page), (ev_view_previous_page),
724 (ev_sizing_mode_get_type):
726 * shell/ev-window.c: (ev_window_cmd_go_previous_page),
727 (ev_window_cmd_go_next_page):
729 Move page next/previous functions from page chace to
730 view and change it to move by 2 page steps in dual mode.
732 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
734 * shell/ev-window.c: (update_sidebar_visibility),
735 (setup_sidebar_from_metadata), (ev_window_setup_document),
736 (setup_view_from_metadata):
738 Show the index by default when there is one
740 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
742 * shell/ev-window-title.c: (ev_window_title_set_document):
746 2005-09-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
748 * shell/ev-view.c: (view_update_range_and_current_page):
750 Allow display of last odd page in dual view. Fix for 316347.
752 2005-09-17 Wouter Bolsterlee <uws+gnome@xs4all.nl>
754 * shell/ev-window.c: (ev_window_cmd_edit_toolbar):
756 Make close button default. Fix for 316383.
758 2005-09-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
760 * shell/ev-properties-dialog.c: (ev_properties_dialog_init):
762 Mark close button as default. Fix for 316381.
764 2005-09-16 Marco Pesenti Gritti <mpg@redhat.com>
766 * backend/ev-link.c: (ev_link_class_init):
768 Allow negative doubles in left/top properties
770 2005-09-16 Marco Pesenti Gritti <mpg@redhat.com>
774 Remove a bunch of strings that was used only
777 2005-09-16 Marco Pesenti Gritti <mpg@redhat.com>
779 * shell/ev-window-title.c: (get_filename_from_uri),
780 (ev_window_title_set_document):
782 When title has a confusing extension, show also
783 the document filename inside ()
785 2005-09-16 Marco Pesenti Gritti <mpg@redhat.com>
788 * shell/ev-window-title.c: (ev_window_title_new),
789 (ev_window_title_update), (ev_window_title_set_type),
790 (ev_window_title_set_document), (ev_window_title_free):
791 * shell/ev-window-title.h:
792 * shell/ev-window.c: (ev_window_setup_document),
793 (password_dialog_response), (ev_window_popup_password_dialog),
794 (ev_window_dispose), (ev_window_init):
796 Factor out and cleanup window title code
798 2005-09-16 Marco Pesenti Gritti <mpg@redhat.com>
800 * shell/ev-window.c: (unable_to_load_dialog_response_cb),
803 Make dialog transient so it doesnt block other windows
805 2005-09-13 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
809 Fix pdf thumbnails rendering.
811 2005-09-13 Wouter Bolsterlee <uws+gnome@xs4all.nl>
813 * shell/ev-window.c: (fullscreen_set_timeout):
815 Increase timeout to hide full screen popup. Bug
818 2005-09-13 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
820 * data/evince.schemas.in:
821 * shell/ev-window.c: (update_action_sensitivity):
823 Allow the user to override document restrictions. Fix for bug
826 2005-09-13 Christian Persch <chpe@cvs.gnome.org>
828 * shell/ev-window.c: (ev_window_update_fullscreen_popup),
829 (ev_window_create_fullscreen_popup), (ev_window_screen_changed),
830 (ev_window_class_init): Fix multihead behaviour of fullscreen
831 toolbar popup. Fixes bug #315451.
833 2005-09-13 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
836 * data/evince-password.glade:
837 * shell/ev-password.c: (ev_password_dialog_set_property),
838 (ev_password_dialog_finalize), (ev_password_dialog_class_init),
839 (ev_password_dialog_init), (ev_password_set_bad_password_label),
840 (ev_password_dialog_entry_changed_cb),
841 (ev_password_dialog_entry_activated_cb),
842 (ev_password_dialog_save_password), (ev_password_keyring_found_cb),
843 (ev_password_search_in_keyring), (ev_password_dialog_get_password),
844 (ev_password_dialog_set_bad_pass):
845 * shell/ev-password.h:
846 * shell/ev-window.c: (password_dialog_response),
847 (ev_window_popup_password_dialog):
849 Support for gnome-keyring for encrypted PDF's.
851 2005-09-11 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
853 * shell/ev-view.c: (handle_link_over_xy), (ev_view_realize),
854 (ev_view_motion_notify_event), (ev_view_leave_notify_event),
855 (ev_view_enter_notify_event), (ev_view_class_init):
857 More precise handling of enter_notify/leave_notify events
858 in EvView. Fix for bug 315470.
860 2005-09-08 Christopher Aillon <caillon@redhat.com>
862 * shell/ev-window.c: (fullscreen_timeout_cb),
863 (fullscreen_set_timeout), (fullscreen_clear_timeout),
866 leak fix: unref fullscreen_timeout_source before clearing it
868 2005-09-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
870 * configure.ac, dvi/mdvi/Makefile.am:
872 Use lt1 instead lt1lib. Thanks to yselkowitz@users.sourceforge.net
874 2005-09-08 Marco Pesenti Gritti <mpg@redhat.com>
876 * backend/ev-link.c: (ev_link_new_page_xyz):
878 * shell/ev-view.c: (goto_xyz_link), (ev_view_goto_link):
880 Fix some bugs with xyz links, respect zoom
882 2005-09-08 Marco Pesenti Gritti <mpg@redhat.com>
884 * shell/ev-window.c: (page_changed_cb),
885 (setup_document_from_metadata), (update_sidebar_visibility),
886 (setup_view_from_metadata), (ev_window_run_fullscreen),
887 (ev_window_stop_fullscreen), (ev_window_run_presentation),
888 (ev_window_stop_presentation), (ev_window_continuous_changed_cb),
889 (ev_window_dual_mode_changed_cb),
890 (ev_window_sidebar_current_page_changed_cb):
892 null check uri before setting and getting metadata
894 2005-09-08 Marco Pesenti Gritti <mpg@redhat.com>
897 * properties/Makefile.am:
899 * thumbnailer/Makefile.am:
901 Some build fixes for cygwin. Patch by yselkowitz@users.sourceforge.net
903 2005-09-08 Marco Pesenti Gritti <mpg@redhat.com>
905 * shell/ev-sidebar-links.c: (ev_sidebar_links_class_init),
906 (selection_changed_callback):
907 * shell/ev-sidebar-links.h:
909 Add a signal for link activation.
911 * shell/ev-view.c: (ev_view_goto_link),
912 (ev_view_button_release_event):
914 * shell/ev-window.c: (sidebar_links_link_activated_cb),
917 Implement the signal so that we can handle all link types.
919 * shell/ev-page-cache.c:
921 Remove unused set_link function
923 2005-09-08 Marco Pesenti Gritti <mpg@redhat.com>
925 * lib/ev-tooltip.c: (ev_tooltip_set_position):
927 Add some space from the cursor, hardcoded but I couldnt
930 2005-09-07 Marco Pesenti Gritti <mpg@redhat.com>
934 Use mozilla style vs gtk style, way better for links.
936 * shell/ev-view.c: (ev_view_motion_notify_event),
937 (ev_view_destroy), (ev_view_init):
939 Deactive tooltip when the link hovered is changed.
941 2005-09-07 Marco Pesenti Gritti <mpg@redhat.com>
943 * backend/ev-document.h:
944 * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_top),
945 (ev_link_get_left), (ev_link_get_zoom), (ev_link_get_property),
946 (ev_link_set_property), (ev_window_dispose), (ev_link_class_init),
947 (ev_link_new_page), (ev_link_new_page_xyz):
950 * shell/ev-view.c: (doc_point_to_view_point), (scroll_to_xyz_link),
951 (go_to_link), (tip_from_link):
953 Implement xyz links, still not functional. Links are a total
954 mess, will need to refactor and bugfix a lot :(
956 2005-09-05 Alessio Frusciante <algol@firenze.linux.it>
958 * configure.ac: Added "it" (Italian) to ALL_LINGUAS.
960 2005-09-05 Marco Pesenti Gritti <mpg@redhat.com>
962 * data/evince-ui.xml:
963 * data/evince.schemas.in:
965 * shell/ev-window.c: (update_chrome_visibility),
966 (password_dialog_response), (ev_window_load_job_cb),
967 (ev_window_xfer_job_cb), (ev_window_open_uri),
968 (ev_window_class_init), (set_chrome_actions), (load_chrome),
971 Remove the statusbar. This regress loading feedback, need to
972 check with Bryan what we want to do there...
974 2005-09-05 Marco Pesenti Gritti <mpg@redhat.com>
976 * lib/ev-tooltip.c: (ev_tooltip_init):
978 Fix tooltip border and size handling
980 2005-09-05 Marco Pesenti Gritti <mpg@redhat.com>
982 * lib/ev-tooltip.c: (ev_tooltip_dispose), (ev_tooltip_class_init),
983 (ev_tooltip_set_position), (ev_tooltip_recently_shown),
984 (ev_tooltip_timeout), (ev_tooltip_activate),
985 (ev_tooltip_deactivate):
987 * shell/ev-view.c: (ev_view_motion_notify_event):
989 Delay popup showing. Mirror gtk logic/times.
991 2005-09-03 Marco Pesenti Gritti <mpg@redhat.com>
994 * lib/ev-tooltip.c: (ev_tooltip_expose_event),
995 (ev_tooltip_class_init), (ev_tooltip_init), (ev_tooltip_new),
996 (ev_tooltip_set_text), (ev_tooltip_set_position):
999 Simple widget to show tooltips at a custom position
1001 * shell/ev-view.c: (tip_from_link), (ev_view_motion_notify_event),
1004 Use it for links. First go, needs work
1006 2005-08-17 Dennis Cranston <dennis_cranston@yahoo.com>
1008 * shell/ev-window.c: (ev_window_cmd_edit_toolbar): A couple small
1009 HIG fixes. Use title capitalization for window title. Use 12
1010 pixels of space between the dialog's vbox and action area.
1012 2005-09-02 Marco Pesenti Gritti <mpg@redhat.com>
1014 * shell/ev-window.c: (file_open_dialog_response_cb),
1015 (ev_window_cmd_file_open), (file_save_dialog_response_cb),
1016 (ev_window_cmd_save_as):
1018 Make file pickers not modal and refactor code some
1020 2005-09-02 Marco Pesenti Gritti <mpg@redhat.com>
1022 * shell/ev-sidebar.h:
1023 * shell/ev-sidebar.c: (ev_sidebar_set_property),
1024 (ev_sidebar_get_current_page), (ev_sidebar_get_property),
1025 (ev_sidebar_class_init), (ev_sidebar_select_page),
1026 (ev_sidebar_menu_item_activate_cb), (ev_sidebar_new),
1027 (ev_sidebar_set_page):
1029 Add a current page property and allow to get/set it
1031 * shell/ev-window.c: (setup_view_from_metadata),
1032 (ev_window_sidebar_current_page_changed_cb), (ev_window_init):
1034 Persist current sidebar page per document
1036 2005-09-02 Marco Pesenti Gritti <mpg@redhat.com>
1038 * data/evince.schemas.in:
1039 * shell/ev-window.c: (update_chrome_visibility),
1040 (setup_document_from_metadata), (update_sidebar_visibility),
1041 (setup_view_from_metadata), (ev_window_sidebar_position_change_cb),
1042 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
1043 (ev_window_run_presentation), (ev_window_stop_presentation),
1044 (ev_window_view_sidebar_cb),
1045 (ev_window_sidebar_visibility_changed_cb), (set_chrome_actions),
1046 (load_chrome), (ev_window_init):
1048 Persist size/visibility of sidebar per document
1050 Fri Sep 2 00:59:55 2005 Jonathan Blandford <jrb@redhat.com>
1052 * shell/ev-view.c (draw_loading_text): Draw loading text.
1054 2005-09-02 Dan Damian <dand@gnome.ro>
1056 * configure.in: Added "ro" to ALL_LINGUAS.
1058 2005-09-01 Marco Pesenti Gritti <mpg@redhat.com>
1060 * shell/ev-view.c: (clear_caches):
1062 ev_page_cache_get doesnt return a reference,
1063 dont try to unref it.
1065 2005-09-01 Marco Pesenti Gritti <mpg@redhat.com>
1067 * shell/main.c: (load_files_remote):
1069 Fix timestamp parameter with dbus <= 0.33
1071 2005-08-31 Marco Pesenti Gritti <mpg@redhat.com>
1073 * data/evince.schemas.in:
1075 Add missing full stop
1077 2005-08-31 Hiroyuki Ikezoe <poincare@ikezoe.net>
1079 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info):
1080 * shell/ev-window.c: (ev_window_print_range), (ev_window_dispose):
1082 Plug some memory leaks
1084 2005-08-29 Christian Persch <chpe@cvs.gnome.org>
1087 * lib/ev-debug.c: (trap_handler):
1089 Check for execinfo.h and use it only if it exists.
1090 Ported from Epiphany (bug #314776).
1092 2005-08-29 Duarte Loreto <happyguy_pt@hotmail.com>
1094 * configure.ac: Added Portuguese (pt) to ALL_LINGUAS.
1096 2005-08-27 Mohammad DAMT <mdamt@gnome.org>
1098 * configure.ac: Added Indonesian "id" to ALL_LINGUAS
1099 * po/id.po : Added Indonesian translation
1101 Fri Aug 26 00:45:09 2005 Jonathan Blandford <jrb@redhat.com>
1104 * shell/ev-application.c: Last minute GTK-2.6 fixes.
1105 * NEWS: Release 0.4.0
1107 Thu Aug 25 23:40:23 2005 Jonathan Blandford <jrb@redhat.com>
1109 * configure.ac: catch another gtk+-2.8ism
1110 * shell/main.c: Make work with gtk+-2.6
1112 2005-08-25 Ryan Lortie <desrt@desrt.ca>
1114 * shell/ev-application-service.xml: Add 'timestamp' argument to
1115 ev_application_open_window and ev_application_open_uri methods.
1117 * shell/ev-application.h: Add 'timestamp' argument to
1118 ev_application_open_window, ev_application_open_uri,
1119 and ev_application_open_uri_list functions.
1121 * shell/ev-application.c (ev_application_open_window,
1122 ev_application_open_uri, ev_application_open_uri_list): Change
1123 functions that show/present windows to use a timestamp if one
1126 * shell/ev-window.c (ev_window_cmd_file_open,
1127 ev_window_cmd_recent_file_activate, drag_data_received_cb):
1128 * shell/main.c (load_files): Modify calls to ev_application to
1129 include GDK_CURRENT_TIME as timestamp.
1131 * shell/main.c (load_files_remote): Obtain timestamp for client
1132 instance from GDK and pass to server instance so new windows are
1133 focused properly. Fix dbus_g_proxy_call() calls by including second
1138 Thu Aug 25 22:13:08 2005 Jonathan Blandford <jrb@redhat.com>
1140 * shell/ev-window.c (ev_window_finalize): Check for
1141 avail. EvWindows when quiting to handle the finalize better,
1144 2005-08-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1146 * properties/ev-properties-view.c:
1148 Set textdomain to libglade. Fixes translation problem in property page.
1150 2005-08-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1152 * djvu/djvu-document.c: (djvu_document_thumbnails_get_thumbnail):
1154 * dvi/dvi-document.c: (dvi_document_thumbnails_get_thumbnail):
1155 * dvi/mdvi-lib/Makefile.am:
1157 Fix rotation of thumbnails, ported to new API. Moved library
1158 dependencies earlier, probably it will fix linkage problem.
1160 Thu Aug 25 02:32:32 2005 Jonathan Blandford <jrb@redhat.com>
1162 * backend/ev-document-misc.c:
1163 (ev_document_misc_get_thumbnail_frame):
1164 * backend/ev-document-misc.h:
1166 * pdf/ev-poppler.cc:
1167 * shell/Makefile.am:
1168 * shell/ev-sidebar-thumbnails.c: (add_range),
1169 (ev_sidebar_thumbnails_set_loading_icon),
1170 (ev_sidebar_thumbnails_refresh),
1171 (ev_sidebar_thumbnails_set_document):
1172 * shell/ev-sidebar-thumbnails.h:
1173 * shell/ev-view.c: (ev_view_motion_notify_event),
1174 (ev_view_set_property), (ev_view_get_property),
1175 (ev_view_class_init), (ev_view_set_rotation):
1176 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
1177 (ev_window_cmd_edit_rotate_right), (ev_window_rotation_changed_cb),
1179 * tiff/tiff-document.c: (tiff_document_thumbnails_get_thumbnail):
1180 Redo rotation (again). prepare for 0.4.0
1182 2005-08-24 Kristian Høgsberg <krh@redhat.com>
1184 * configure.ac: Bump poppler requirement to 0.4.1.
1186 * pdf/ev-poppler.cc (pdf_selection_render_selection): Add rotation
1187 argument to poppler_page_render_selection() call.
1189 2005-08-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1191 * djvu/djvu-document.c: (djvu_document_render_pixbuf),
1192 (djvu_document_thumbnails_get_thumbnail):
1193 * dvi/dvi-document.c: (dvi_document_render_pixbuf),
1194 (dvi_document_thumbnails_get_thumbnail):
1195 * pixbuf/pixbuf-document.c: (pixbuf_document_render_pixbuf),
1196 (pixbuf_document_thumbnails_get_thumbnail):
1197 * tiff/tiff-document.c: (tiff_document_render_pixbuf):
1199 Update rotation direction of backends to fit with pdf and ps.
1201 2005-08-24 Marco Pesenti Gritti <mpg@redhat.com>
1203 * backend/ev-async-renderer.c: (ev_async_renderer_render_pixbuf):
1204 * backend/ev-async-renderer.h:
1205 * ps/ps-document.c: (ps_document_init), (setup_pixmap),
1206 (setup_page), (ps_document_get_page_size),
1207 (ps_async_renderer_render_pixbuf):
1209 * shell/ev-jobs.c: (ev_job_render_run):
1211 Fix orientation in the postscript document
1213 2005-08-23 Marco Pesenti Gritti <mpg@redhat.com>
1215 * pdf/ev-poppler.cc:
1216 * ps/ps-document.c: (push_pixbuf), (ps_document_widget_event):
1217 * shell/ev-view.c: (highlight_find_results):
1219 Adapt to the new poppler rotation API. Fix text maps on landscape
1222 Sat Aug 20 17:13:48 2005 Jonathan Blandford <jrb@redhat.com>
1224 * shell/ev-view.c (compute_new_selection_text): get the correct
1225 region when selecting in modes other than continuous.
1227 Sat Aug 20 13:10:01 2005 Jonathan Blandford <jrb@redhat.com>
1229 * shell/main.c (main): remove redundant g_warnings.
1231 2005-08-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1233 * shell/Makefile.am: Don't include autogenerated
1234 file ev-application-service.h into distribution, since
1235 it causes dbus crash. Fix for bugs 313724 and 313443.
1237 2005-08-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1239 * configure.ac: Fix sed expression for FreeBSD. Thanks
1240 to Joe Marcus Clark <marcus@freebsd.org>
1242 * shell/eggfindbar.c: (entry_activate_callback),
1243 (entry_changed_callback), (egg_find_bar_init),
1244 (egg_find_bar_set_search_string):
1246 Made findbar buttons unsensitive if there is no text in
1247 entry. Fix for the bug 313285.
1249 2005-08-17 Carlos Garcia Campos <carlosgc@gnome.org>
1251 * ps/ps-document.c: Use g_filename_display_name for displaying
1252 filenames and revert string freeze breackage
1254 2005-08-17 Marco Pesenti Gritti <mpg@redhat.com>
1261 * shell/Makefile.am:
1263 Add ev-application-service.xml to extra dist
1265 * shell/ev-view.c: (find_page_at_location):
1267 Remove unused function (fix warning)
1269 2005-08-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1271 * dvi/mdvi-lib/t1.c: (t1_reset_resolution), (t1_really_load_font),
1272 (t1_load_font), (t1_glyph_bitmap), (t1_font_remove):
1274 Fix warnings and compilation with t1lib-5.0 and newer. Fix for
1277 2005-08-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1279 * shell/ev-utils.c: (set_umask_permissions), (write_to_temp_file):
1280 * shell/ev-window.c:
1283 2005-08-16 Carlos Garcia Campos <carlosgc@gnome.org>
1285 * configure.ac: Update script to get dbus version.
1286 Fix for the bug #313443.
1288 2005-08-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1290 * shell/ev-window.c: (ev_window_cmd_escape):
1292 Return focus back to view on escape. Fix for bug 313295.
1294 2005-08-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1296 * shell/ev-window.c: (update_window_title),
1297 (ev_window_popup_password_dialog), (ev_window_load_job_cb),
1298 (ev_window_cmd_save_as):
1300 Correct conversion from uri to displayable string. Fix for
1303 2005-08-16 Carlos Garcia Campos <carlosgc@gnome.org>
1305 * ps/ps-document.c: convert filename to utf8 when there is an error
1306 loading document. Fixes #309915
1308 2005-08-16 Marco Pesenti Gritti <mpg@redhat.com>
1312 We depend on poppler 0.4.0
1314 Mon Aug 15 21:53:05 2005 Jonathan Blandford <jrb@redhat.com>
1317 * NEWS: Release 0.3.3.
1318 * thumbnailer/evince-thumbnailer.c: Remove pdf icon.
1320 2005-08-14 Dennis Cranston <dennis_cranston@yahoo.com>
1322 * shell/ev-window.c: (ev_window_cmd_file_open): HIG fixes:
1323 add a couple missing mnemonics to menu items, use title
1324 capitalization for menu items and window titles, and add
1325 ellipsis to open menu item.
1327 Mon Aug 15 00:40:21 2005 Jonathan Blandford <jrb@redhat.com>
1329 * pdf/ev-poppler.cc:
1330 * shell/ev-metadata-manager.c: (ev_metadata_manager_init):
1331 * shell/ev-view.c: (ev_view_rotate_left), (ev_view_set_rotation),
1332 (ev_view_get_rotation):
1334 * shell/ev-window.c: (setup_view_from_metadata),
1335 (save_rotation_to_file), (ev_window_cmd_edit_rotate_left),
1336 (ev_window_cmd_edit_rotate_right): Fix rotation. Save it to
1339 2005-08-14 Baris Cicek <baris@teamforce.name.tr>
1341 * configure.ac: Added tr to ALL_LINGUAS
1343 2005-08-12 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1345 * shell/ev-view.c: Fix for bug Bug 311838. Search backward
1346 requires several clicks to find word. Thanks to
1347 Colin Slater <kiltedtaco@gmail.com>.
1349 2005-08-11 Bryan Clark <clarkbw@cvs.gnome.org>
1351 * data/evince.desktop.in.in: Hide menu entry and
1352 rename it to "Document Viewer". Fix for bug
1355 2005-08-11 Crispin Flowerday <gnome@flowerday.cx>
1357 * shell/ev-page-action.c (ev_page_action_class_init):
1359 Point to the correct function in constructor of the
1360 activate_label signal
1362 Tue Aug 9 02:17:13 2005 Jonathan Blandford <jrb@redhat.com>
1364 * shell/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
1365 * shell/ev-jobs.h: Make thread safe.
1367 2005-08-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1369 * shell/ev-view.c: (view_update_range_and_current_page):
1370 Don't update page range if we are scrolling to some document
1373 2005-08-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1375 * shell/ev-view.c: (get_page_extents): reverse rotation/scale
1376 when getting max_page_width, fix drawing in dual mode.
1378 Sun Aug 7 02:06:08 2005 Jonathan Blandford <jrb@redhat.com>
1380 * shell/ev-view.c (ev_view_select_all): reverse rotation/page when
1381 getting the area for select_all.
1383 2005-08-06 Kristian Høgsberg <krh@redhat.com>
1385 * backend/ev-selection.c: (ev_selection_render_selection):
1386 * backend/ev-selection.h:
1387 * pdf/ev-poppler.cc:
1388 * shell/ev-jobs.c: (ev_job_render_new):
1390 * shell/ev-pixbuf-cache.c: (get_selection_colors),
1391 (add_job_if_needed), (ev_pixbuf_cache_get_selection_pixbuf):
1392 * shell/ev-view.c: (ev_view_focus_in), (ev_view_focus_out),
1393 (ev_view_class_init):
1395 Change selection color on focus in and focus out events. Also,
1396 poppler now uses GdkColor for specifying the selection colors, so
1397 drop some awkward conversion code.
1399 2005-08-06 Yair Hershkovitz <yairhr@gmail.com>
1401 * configure.ac: Added Hebrew translation
1403 Sat Aug 6 01:12:44 2005 Jonathan Blandford <jrb@redhat.com>
1406 * backend/ev-selection.c: (ev_selection_render_selection):
1407 * backend/ev-selection.h:
1408 * pdf/ev-poppler.cc:
1409 * shell/ev-jobs.c: (ev_job_render_dispose), (ev_job_render_new),
1410 (ev_job_render_run):
1412 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info),
1413 (ev_pixbuf_cache_new), (job_finished_cb), (add_job_if_needed),
1414 (convert_gdk_color_to_uint), (ev_pixbuf_cache_get_text_mapping),
1415 (ev_pixbuf_cache_style_changed),
1416 (ev_pixbuf_cache_get_selection_pixbuf),
1417 (ev_pixbuf_cache_set_selection_list),
1418 (ev_pixbuf_cache_get_selection_list):
1419 * shell/ev-pixbuf-cache.h:
1420 * shell/ev-utils.c: (ev_print_region_contents):
1422 * shell/ev-view.c: (ev_view_queue_draw_page),
1423 (selection_update_idle_cb), (ev_view_motion_notify_event),
1424 (ev_view_style_set), (draw_one_page), (ev_view_class_init),
1425 (setup_caches), (ev_view_find_next), (merge_selection_region),
1427 * shell/ev-window.c: (ev_window_update_fullscreen_popup):
1429 Clean up selection to be much smoother!
1431 2005-08-05 Kristian Høgsberg <krh@redhat.com>
1433 * pdf/ev-poppler.cc (pdf_selection_render_selection): Pass colors
1434 to poppler_page_render_selection().
1436 2005-08-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1438 * ps/ps-document.c: (save_page_list): Use
1439 unzipped document when printing. Thanks to
1440 Colin Slater <kiltedtaco@gmail.com>. Fix for bug
1443 2005-08-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1445 * shell/ev-window.c: (update_action_sensitivity):
1447 Disable print and save respect to lockdown gconf keys. Fix
1450 2005-08-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1453 * shell/ev-utils.c: (rename_file), (set_umask_permissions),
1454 (write_to_temp_file), (ev_file_set_contents):
1456 * shell/ev-window.c: (save_print_config_to_file):
1458 Copy-paste g_file_set_contents to keep compatibility with gtk 2.6
1461 2005-07-31 Christian Persch <chpe@cvs.gnome.org>
1463 * shell/ev-window.c: (load_print_config_from_file),
1464 (save_print_config_to_file), (ev_window_print_range):
1466 Persist the print settings. Fixes bug #311578.
1468 2005-07-31 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1470 * djvu/djvu-document.c: (djvu_document_get_page_size),
1471 (djvu_document_render_pixbuf), (djvu_document_document_iface_init),
1472 (djvu_document_thumbnails_get_thumbnail):
1473 * dvi/dvi-document.c: (dvi_document_get_page_size),
1474 (dvi_document_render_pixbuf), (dvi_document_document_iface_init),
1475 (dvi_document_thumbnails_get_dimensions),
1476 (dvi_document_thumbnails_get_thumbnail):
1477 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size),
1478 (pixbuf_document_render_pixbuf),
1479 (pixbuf_document_document_iface_init),
1480 (pixbuf_document_thumbnails_get_thumbnail):
1482 Update backends to make them build with new rotation system.
1484 2005-07-31 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1486 * help/C/figures/evince_start_window.png:
1488 Update documentation image from Luca Ferretti <elle.uca@libero.it>
1490 Sat Jul 30 19:09:34 2005 Jonathan Blandford <jrb@redhat.com>
1492 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_clear):
1493 * shell/ev-pixbuf-cache.h:
1494 * shell/ev-sidebar-thumbnails.c:
1495 (ev_sidebar_thumbnails_get_property), (add_range),
1496 (adjustment_changed_cb):
1497 * shell/ev-view.c: (ev_view_set_rotation): Fix rotation and the
1498 pixbuf cache. Make thumbnailing work again. Also, fix bug where
1499 we were thumbnailing the entire docment on startup, slowing us
1502 Fri Jul 29 23:14:28 2005 Jonathan Blandford <jrb@redhat.com>
1504 * shell/ev-page-cache.c: (ev_page_cache_new):
1505 * shell/ev-window.c: (update_action_sensitivity): Handle n_pages
1506 == 0, fixes #310306.
1508 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
1510 * shell/ev-view.c: (doc_rect_to_view_rect), (ev_view_rotate_right),
1511 (ev_view_rotate_left):
1513 Account rotation in doc_rect_to_view_rect.
1514 Ensure rotation doesnt go out of bounds.
1516 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
1518 * shell/ev-page-cache.c: (ev_page_cache_get_size):
1520 Correct and cleanup w/h swapping
1522 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
1524 * backend/ev-document-thumbnails.c:
1525 (ev_document_thumbnails_get_thumbnail):
1526 * backend/ev-document-thumbnails.h:
1527 * backend/ev-document.c:
1528 * backend/ev-document.h:
1529 * backend/ev-render-context.c: (ev_render_context_new),
1530 (ev_render_context_set_rotation):
1531 * backend/ev-render-context.h:
1532 * pdf/ev-poppler.cc:
1533 * ps/ps-document.c: (ps_document_document_iface_init):
1534 * shell/ev-jobs.c: (ev_job_thumbnail_new), (ev_job_thumbnail_run):
1536 * shell/ev-page-cache.c: (build_height_to_page),
1537 (ev_page_cache_new), (ev_page_cache_get_size),
1538 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
1539 (ev_page_cache_get_height_to_page):
1540 * shell/ev-page-cache.h:
1541 * shell/ev-pixbuf-cache.c: (check_job_size_and_unref),
1542 (add_job_if_needed), (ev_pixbuf_cache_add_jobs_if_needed),
1543 (ev_pixbuf_cache_set_page_range), (new_selection_pixbuf_needed),
1544 (ev_pixbuf_cache_get_selection_pixbuf):
1545 * shell/ev-pixbuf-cache.h:
1546 * shell/ev-print-job.c: (idle_print_handler):
1547 * shell/ev-sidebar-thumbnails.c: (add_range):
1548 * shell/ev-view.c: (view_update_range_and_current_page),
1549 (get_page_y_offset), (get_page_extents),
1550 (ev_view_size_request_continuous_dual_page),
1551 (ev_view_size_request_continuous),
1552 (ev_view_size_request_dual_page),
1553 (ev_view_size_request_single_page), (draw_one_page),
1554 (ev_view_set_rotation), (ev_view_rotate_right),
1555 (ev_view_rotate_left), (ev_view_zoom_for_size_presentation),
1556 (ev_view_zoom_for_size_continuous_and_dual_page),
1557 (ev_view_zoom_for_size_continuous),
1558 (ev_view_zoom_for_size_dual_page),
1559 (ev_view_zoom_for_size_single_page), (compute_new_selection_text),
1560 (ev_view_select_all):
1561 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
1562 * tiff/tiff-document.c: (tiff_document_render_pixbuf),
1563 (tiff_document_document_iface_init),
1564 (tiff_document_thumbnails_get_thumbnail):
1566 Use rotation rather than orientation. It's easier and enough
1569 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
1571 * shell/ev-page-cache.c: (build_height_to_page),
1572 (ev_page_cache_new), (ev_page_cache_get_size),
1573 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
1574 (ev_page_cache_get_height_to_page):
1575 * shell/ev-page-cache.h:
1576 * shell/ev-view.c: (get_page_y_offset), (get_page_extents),
1577 (ev_view_size_request_continuous_dual_page),
1578 (ev_view_size_request_continuous),
1579 (ev_view_zoom_for_size_continuous_and_dual_page),
1580 (ev_view_zoom_for_size_continuous):
1582 Make the page cache aware of page orientation.
1584 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
1586 * backend/ev-document-thumbnails.c:
1587 (ev_document_thumbnails_get_thumbnail):
1588 * backend/ev-document-thumbnails.h:
1589 * backend/ev-document.c:
1590 * backend/ev-document.h:
1591 * backend/ev-ps-exporter.c: (ev_ps_exporter_do_page):
1592 * backend/ev-ps-exporter.h:
1593 * pdf/ev-poppler.cc:
1594 * ps/ps-document.c: (ps_document_document_iface_init),
1595 (ps_document_ps_export_do_page):
1596 * shell/ev-jobs.c: (ev_job_thumbnail_new), (ev_job_thumbnail_run):
1598 * shell/ev-page-cache.c: (ev_page_cache_get_size),
1599 (ev_page_cache_get):
1600 * shell/ev-page-cache.h:
1601 * shell/ev-pixbuf-cache.c: (check_job_size_and_unref),
1602 (add_job_if_needed), (ev_pixbuf_cache_add_jobs_if_needed),
1603 (ev_pixbuf_cache_set_page_range), (new_selection_pixbuf_needed):
1604 * shell/ev-pixbuf-cache.h:
1605 * shell/ev-print-job.c: (idle_print_handler):
1606 * shell/ev-sidebar-thumbnails.c: (add_range):
1607 * shell/ev-view.c: (view_update_range_and_current_page),
1608 (get_page_extents), (ev_view_size_request_dual_page),
1609 (ev_view_size_request_single_page), (draw_one_page),
1610 (clear_caches), (ev_view_set_orientation), (ev_view_rotate_right),
1611 (ev_view_rotate_left), (ev_view_zoom_for_size_presentation),
1612 (ev_view_zoom_for_size_dual_page),
1613 (ev_view_zoom_for_size_single_page), (compute_new_selection_text),
1614 (ev_view_select_all):
1615 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
1616 * tiff/tiff-document.c: (tiff_document_get_page_size),
1617 (tiff_document_get_orientation), (rotate_pixbuf),
1618 (tiff_document_render_pixbuf), (tiff_document_document_iface_init),
1619 (tiff_document_thumbnails_get_thumbnail),
1620 (tiff_document_ps_export_do_page), (tiff_document_init):
1622 Really make use of the orientation bit of the render context.
1623 Use the render context in a few more places in the backend API.
1624 This regress orientation, but now it's done right. Will try to
1627 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
1629 * shell/ev-view.c: (ensure_rectangle_is_visible):
1631 Patch by Nickolay V. Shmyrev to fix find flickering
1633 2005-07-27 Martin Kretzschmar <martink@gnome.org>
1635 * backend/ev-ps-exporter.h: add paper_width, paper_height, and
1636 duplex parameters to ::begin.
1638 * tiff/tiff-document.c (tiff_document_ps_export_begin):
1639 * shell/ev-print-job.c (idle_print_handler):
1640 * ps/ps-document.c (ps_document_ps_export_begin):
1641 * pdf/ev-poppler.cc (pdf_document_ps_exporter_begin):
1642 * backend/ev-ps-exporter.c (ev_ps_exporter_begin): update
1643 implementations. Poppler backend needs poppler cvs. Rest has
1646 2005-07-25 Martin Kretzschmar <martink@gnome.org>
1648 * shell/ev-window.c (using_pdf_printer): new function.
1649 (ev_window_print_range): print a less techy message if someone
1650 tries to print to PDF.
1652 2005-07-25 Martin Kretzschmar <martink@gnome.org>
1654 * pdf/ev-poppler.cc (font_type_to_string): Remove trailing space
1655 from "unknown font" string. Bug #311431
1657 2005-07-24 Martin Kretzschmar <martink@gnome.org>
1659 * help/es/.cvsignore, help/sr/.cvsignore: ignore xmlpo output.
1661 2005-07-24 Martin Kretzschmar <martink@gnome.org>
1665 * pdf/ev-poppler.cc (font_type_to_string): new, returns user readable
1666 name for PopplerFontTypes
1667 (pdf_document_fonts_fill_model): add font type to the detail column
1669 * backend/ev-document-fonts.h: added
1670 EV_DOCUMENT_FONTS_COLUMN_DETAILS.
1672 * shell/ev-properties-fonts.c (font_cell_data_func): glue together
1673 font name and font details, add a little markup.
1674 (ev_properties_fonts_init): use the new cell data func, specify ypad
1675 property for the cell renderer.
1676 (ev_properties_fonts_set_document): add the details column.
1678 2005-07-24 Artur Flinta <aflinta@cvs.gnome.org>
1680 * configure.ac: Added "pl" to ALL_LINGUAS.
1682 2005-07-24 Danilo Šegan <danilo@gnome.org>
1684 * configure.ac: Added "sr" and "sr@Latn" to ALL_LINGUAS.
1686 2005-07-23 Tommi Vainikainen <thv@iki.fi>
1688 * help/ChangeLog: Started this for translations of manual.
1689 * configure.ac, autogen.sh, .cvsignore: Migrated to
1690 gnome-doc-utils. Patch in bug #311222.
1692 2005-07-22 Martin Kretzschmar <martink@gnome.org>
1694 * backend/ev-document-factory.c (mime_type_supported_by_gdk_pixbuf):
1695 #ifdef this away to fix an unused-function warning.
1697 2005-07-22 Ignacio Casal Quinteiro <nacho.resa@gmail.com>
1699 * configure.ac: Added 'gl' to ALL_LINGUAS.
1701 2005-07-22 Pawan Chitrakar <pawan@nplinux.org>
1703 * configure.ac: Added ne in ALL_LINGUAS
1705 2005-07-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1707 * shell/ev-view.c: (ev_view_leave_notify_event):
1709 Clear status message when pointer leaves view. Fix for bug
1712 2005-07-20 Ankit Patel <ankit644@yahoo.com>
1714 * configure.ac: Gujarati (gu) added to ALL_LINGUAS
1716 2005-07-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1718 * shell/ev-view.c: (ev_view_leave_notify_event),
1719 (ev_view_class_init):
1721 Set cursor to normal then leaving view.
1723 2005-07-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1727 Fix required djvulibre version.
1729 2005-07-15 Rajesh Ranjan <rajeshkajha@yahoo.com>
1731 *configure.ac: Hindi (hi) language added
1733 2005-07-15 Amanpreet Singh Brar <amanpreetalam@yahoo.com>
1735 *configure.ac: Punjabi (pa) Language added
1737 2005-07-12 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1739 * data/evince-ui.xml, shell/ev-window.c:
1741 Add keypad accelerators for zooming. Fix for bug 308128.
1743 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
1746 * backend/Makefile.am:
1747 * backend/ev-document-factory.c: (ev_document_type_get_from_mime):
1749 * shell/ev-document-types.c: (ev_document_types_add_filters):
1751 Allow to enable/disable the pixbuf backend.
1752 Default to off for now. If we want it enabled we should
1753 really put mime types in the desktop, implement properties etc.
1755 * properties/evince-properties.c:
1757 Initialize error to NULL.
1758 Check error is not NULL before freeing.
1760 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
1762 * shell/ev-window.c:
1764 Use F5 as presentation accell
1766 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
1768 * shell/ev-window.c: (update_chrome_visibility),
1769 (ev_window_create_fullscreen_popup), (ev_window_init):
1771 Do not leak the fullscreen toolbar
1773 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
1775 * shell/ev-window.c: (view_actions_focus_in_cb),
1776 (view_actions_focus_out_cb):
1778 These has a return value! Fix totally random focus
1779 issues we was seeing.
1781 2005-07-11 Carlos Garcia Campos <carlosgc@gnome.org>
1783 * shell/main.c: (load_files_remote):
1785 Allow open more than one file
1787 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
1789 * shell/main.c: (load_files_remote):
1791 Fix for dbus 0.33. bug #309975
1793 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
1795 * properties/ev-properties-main.c: (ev_properties_get_pages):
1797 Actually return NULL for types we dont support
1799 2005-07-08 Christian Persch <chpe@cvs.gnome.org>
1805 2005-07-08 Marco Pesenti Gritti <marco@gnome.org>
1807 * backend/ev-document-factory.c:
1808 (ev_document_factory_get_document):
1810 Do not try to create the object if type
1813 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
1815 * ps/ps-document.c: (ps_document_dispose),
1816 (ps_async_renderer_render_pixbuf):
1819 Do not leak the target window
1821 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
1823 * shell/ev-application.c: (ev_application_init):
1825 Let tbe check file existence for us.
1826 Add a comment about eggrecent mime filter.
1828 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
1830 * data/evince-ui.xml:
1831 * shell/ev-application.c: (ev_application_shutdown),
1832 (ev_application_init), (ev_application_get_toolbars_model),
1833 (ev_application_get_recent_model),
1834 (ev_application_save_toolbars_model):
1835 * shell/ev-application.h:
1836 * shell/ev-window.c: (ev_window_add_recent),
1837 (ev_window_setup_recent), (ev_window_cmd_edit_toolbar_cb),
1838 (ev_window_cmd_edit_toolbar), (ev_window_dispose),
1841 Use common toolbar and recent models for all windows.
1842 Patch by Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1844 Thu Jul 7 23:10:01 2005 Jonathan Blandford <jrb@redhat.com>
1846 * configure.ac: add FRONTEND_CORE_LIBS to evince_save_LIBS so we
1847 successfully check for gtk_icon_view_get_visible_range.
1849 2005-07-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1854 Fix djvu and dvi backend build.
1856 2005-07-07 Christian Persch <chpe@cvs.gnome.org>
1858 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c: (new_pixbuf_from_widget),
1859 (new_separator_pixbuf):
1863 2005-07-07 Christian Persch <chpe@cvs.gnome.org>
1865 * shell/ev-window.c: (ev_window_cmd_edit_toolbar):
1867 HIGification of toolbar editor dialogue.
1869 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1872 * shell/Makefile.am:
1874 Ever build metadata manager since it's just
1875 disabled at runtime now.
1877 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1879 * shell/ev-metadata-manager.c: (ev_metadata_manager_init),
1880 (ev_metadata_manager_get), (ev_metadata_manager_set):
1881 * shell/ev-metadata-manager.h:
1883 Add an _init functions that enabled metadata management
1886 * shell/ev-window.c: (page_changed_cb),
1887 (setup_document_from_metadata), (ev_window_setup_document),
1888 (setup_view_from_metadata), (ev_window_open_uri),
1889 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
1890 (ev_window_run_presentation), (ev_window_stop_presentation),
1891 (save_sizing_mode), (ev_window_zoom_changed_cb),
1892 (ev_window_continuous_changed_cb),
1893 (ev_window_dual_mode_changed_cb), (window_state_event_cb),
1894 (window_configure_event_cb):
1896 Remove all ugly metadata define since we deal with it
1899 * shell/main.c: (load_files_remote), (main):
1901 Add support for dbus cvs head. Hopefully didnt break one
1902 of the other versions now!
1904 If we dont get a response from the dbus server just
1905 give up with it and not enable metadata.
1907 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1910 * backend/Makefile.am:
1912 * cut-n-paste/recent-files/Makefile.am:
1913 * cut-n-paste/toolbar-editor/Makefile.am:
1914 * cut-n-paste/zoom-control/Makefile.am:
1917 * pixbuf/Makefile.am:
1918 * properties/Makefile.am:
1920 * shell/Makefile.am:
1921 * thumbnailer/Makefile.am:
1924 Make frontends depend on just libev.
1925 Rework and group CFLAGS/LIBS definitions.
1928 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1932 do not unnecessarily save zoom
1935 * lib/ev-file-helpers.c: (ev_dot_dir):
1936 * shell/Makefile.am:
1941 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1945 Remove unnecessary dependencies
1947 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1949 * properties/Makefile.am:
1950 * thumbnailer/Makefile.am:
1953 Some more cleanups. Was really necessary
1954 but I probably introduced bugs, feel free
1957 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1959 * backend/Makefile.am:
1961 * cut-n-paste/recent-files/Makefile.am:
1962 * cut-n-paste/toolbar-editor/Makefile.am:
1963 * cut-n-paste/zoom-control/Makefile.am:
1966 * pixbuf/Makefile.am:
1967 * properties/Makefile.am:
1969 * shell/Makefile.am:
1970 * thumbnailer/Makefile.am:
1973 Use gnome-common macros when possible.
1974 Cleanup dependencies.
1975 Actually disable deprecated where possible.
1977 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1980 * backend/Makefile.am:
1981 * properties/Makefile.am:
1982 * shell/Makefile.am:
1983 * thumbnailer/Makefile.am:
1985 This should solve the circular dep without
1986 requiring dir reorg!
1988 * shell/ev-window.c: (setup_view_from_metadata):
1990 Never restore window size/position when the
1991 window is already visible.
1993 2005-07-06 Christian Persch <chpe@cvs.gnome.org>
1995 * shell/ev-metadata-manager.c: (ev_metadata_manager_save):
1997 Return a boolean from timeout func. Fix ported from gedit.
1999 2005-07-07 Iñaki Larrañaga <dooteo@euskalgnu.org>
2001 * configure.ac: Added "eu" (Basque) to ALL_LINGUAS.
2003 2005-07-06 Carlos Garcia Campos <carlosgc@gnome.org>
2005 * shell/ev-document-types.c: set "All Documents" as default filter in
2008 2005-07-06 Martin Kretzschmar <martink@gnome.org>
2010 * shell/ev-metadata-manager.c (ev_metadata_manager_set_int)
2011 (ev_metadata_manager_set_double, ev_metadata_manager_set_string)
2012 (ev_metadata_manager_set_boolean): fix value/val thinko.
2014 2005-07-06 Marco Pesenti Gritti <mpg@redhat.com>
2016 * shell/ev-window.c: (setup_view_from_metadata),
2017 (window_state_event_cb), (window_configure_event_cb),
2020 Remember window position and maximized state
2022 2005-07-06 Christian Persch <chpe@cvs.gnome.org>
2026 Fix DBUS configure checks.
2028 * shell/ev-metadata-manager.c: (ev_metadata_manager_set_int),
2029 (ev_metadata_manager_set_double), (ev_metadata_manager_set_string),
2030 (ev_metadata_manager_set_boolean):
2034 * shell/ev-window.c: (page_changed_cb), (ev_window_run_fullscreen),
2035 (ev_window_stop_fullscreen), (ev_window_run_presentation),
2036 (ev_window_stop_presentation), (ev_window_zoom_changed_cb),
2037 (ev_window_continuous_changed_cb),
2038 (ev_window_dual_mode_changed_cb), (ev_window_new):
2040 Fix the build without DBUS.
2042 2005-07-06 Marco Pesenti Gritti <mpg@redhat.com>
2044 * shell/ev-metadata-manager.c: (parse_value), (save_values),
2045 (ev_metadata_manager_set_int), (ev_metadata_manager_set_double),
2046 (ev_metadata_manager_set_string),
2047 (ev_metadata_manager_set_boolean):
2048 * shell/ev-metadata-manager.h:
2050 Add support for some more types
2052 * shell/ev-view.c: (scroll_to_current_page),
2053 (ev_view_get_continuous), (ev_view_set_continuous),
2054 (ev_view_get_dual_page):
2056 * shell/ev-window.c: (page_changed_cb),
2057 (setup_document_from_metadata), (ev_window_setup_document),
2058 (setup_view_from_metadata), (ev_window_open_uri),
2059 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
2060 (ev_window_run_presentation), (ev_window_stop_presentation),
2061 (save_sizing_mode), (ev_window_sizing_mode_changed_cb),
2062 (ev_window_zoom_changed_cb), (ev_window_update_continuous_action),
2063 (ev_window_update_dual_page_action),
2064 (ev_window_continuous_changed_cb),
2065 (ev_window_dual_mode_changed_cb), (ev_window_init):
2067 Remember a bunch of view/document properties. Prolly some
2068 are still missing but it's getting interesting.
2070 2005-07-05 Martin Kretzschmar <martink@gnome.org>
2072 * configure.ac: check if dbus-binding-tool is installed. Not the
2073 case on current Ubuntu breezy, it seems.
2075 2005-07-05 Luca Ferretti <elle.uca@libero.it>
2077 * data/evince.desktop.in.in:
2079 Allow open uri lists and add TryExec field.
2081 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
2085 Enable dbus when available, do not require a configure
2088 2005-07-05 Christian Persch <chpe@cvs.gnome.org>
2092 Use AM_CONDITIONAL unconditionally, fixes the build with DBUS
2095 2005-07-05 Carlos Garcia Campos <carlosgc@gnome.org>
2096 Marco Pesenti Gritti <mpg@redhat.com>
2098 * shell/Makefile.am: Add --prefix for dbus-binding-tool script
2100 * shell/ev-application.[ch], shell/ev-window.c: change dbus RPC
2101 functions to the format required by dbus
2103 * shell/main.c: use G_TYPE instead of DBUS_TYPE to fix compilation
2104 errors. Use the RPC parameters in the expected way
2106 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
2109 * properties/Makefile.am:
2110 * properties/ev-properties-main.c: (ev_properties_get_pages):
2112 Support all mime types
2114 * shell/Makefile.am:
2115 * thumbnailer/Makefile.am:
2116 * thumbnailer/evince-thumbnailer.c: (get_document_from_uri),
2117 (evince_thumbnail_pngenc_get):
2119 Use the document factory
2121 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
2123 * backend/Makefile.am:
2124 * backend/ev-document-factory.c:
2125 (mime_type_supported_by_gdk_pixbuf),
2126 (ev_document_type_get_from_mime),
2127 (ev_document_factory_get_document),
2128 (ev_document_factory_get_backend),
2129 (ev_document_factory_get_mime_types),
2130 (ev_document_factory_get_all_mime_types):
2131 * backend/ev-document-factory.h:
2132 * shell/Makefile.am:
2133 * shell/ev-document-types.c: (get_document_from_uri),
2134 (ev_document_types_get_document),
2135 (file_filter_add_mime_list_and_free),
2136 (ev_document_types_add_filters):
2137 * shell/ev-document-types.h:
2138 * shell/ev-job-xfer.c: (ev_job_xfer_run):
2139 * shell/ev-properties-dialog.c:
2140 (ev_properties_dialog_set_document):
2141 * shell/ev-window.c: (ev_window_cmd_file_open),
2142 (ev_window_cmd_save_as):
2143 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
2145 Rework document types managing to avoid code duplication
2146 and actually abstract from backend implementations.
2147 Also provide a minimal factory api that can be used by
2148 thumbnailer/properties.
2150 2005-07-05 Christian Persch <chpe@cvs.gnome.org>
2152 * properties/ev-properties-view.c: (ev_properties_view_set_info):
2154 * shell/ev-properties-dialog.c: (ev_properties_dialog_init):
2157 2005-07-04 Matthew S. Wilson <msw@rpath.com>
2159 * shell/ev-properties-dialog.c
2160 (ev_properties_dialog_set_document): only call
2161 ev_properties_fonts_set_document() if the document implements the
2164 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
2167 * properties/Makefile.am:
2168 * properties/ev-properties-view.c:
2169 (ev_properties_view_register_type):
2170 * properties/ev-properties-view.h:
2171 * properties/ev-properties-main.h:
2173 Implement nautilus plugin for properties.
2174 Works only for pdf atm, I need to rework the
2175 document types stuff to get this to work
2178 2005-07-04 Martin Kretzschmar <martink@gnome.org>
2180 * shell/ev-properties-fonts.c (enum): kill redundant columns enum
2181 (ev_properties_fonts_set_document): use
2182 EV_DOCUMENT_FONTS_COLUMN_NUM_COLUMNS.
2184 2005-07-04 Matthew S. Wilson <msw@rpath.com>
2186 * tiff/tiff2ps.c: remove TRUE and FALSE definitions, glib provides
2188 (PlaceImage, tiff2ps_process_page): use
2189 g_ascii_dtostr to convert floats to strings in a locale-safe way.
2192 2005-07-04 Martin Kretzschmar <martink@gnome.org>
2194 * shell/main.c: include libgnomeui/gnome-authentication-manager.h
2195 (main): to call gnome_authentication_manager_init. Should fix
2198 * configure.ac: that requires libgnomeui 2.6.0.
2200 2005-07-04 Matthew S. Wilson <msw@rpath.com>
2202 * tiff/tiff-document.c (tiff_document_ps_export_begin)
2203 (tiff_document_ps_export_do_page, tiff_document_ps_export_end):
2204 use the new tiff2ps interfaces
2206 * tiff/tiff2ps.h (tiff2ps_context_new, tiff2ps_process_page)
2207 (tiff2ps_context_finalize): implement new interfaces for tiff2ps
2209 * tiff/tiff2ps.c: refactor tiff2ps code to use a context
2210 structure instead of global variables. Remove use of static
2211 variables in functions.
2213 2005-07-04 Carlos Garcia Campos <carlosgc@gnome.org>
2215 * shell/ev-page-action.c: unref the completion after setting it to the
2218 2005-07-04 Matthew S. Wilson <msw@rpath.com>
2220 * tiff/tiff2ps.c (generateEPSF): disable generating encapsulated
2223 2005-07-04 Matthew S. Wilson <msw@rpath.com>
2225 * shell/ev-window.c (update_action_sensitivity): disable
2226 File->Print if the document does not implement the ps exporter
2229 2005-07-04 Marco Pesenti Gritti <mpg@redhat.com>
2233 * data/evince-properties.glade:
2234 * properties/.cvsignore:
2235 * properties/Makefile.am:
2236 * properties/ev-properties-view.c: (ev_properties_view_dispose),
2237 (ev_properties_view_class_init), (ev_properties_view_format_date),
2238 (make_valid_utf8), (set_property), (ev_properties_view_set_info),
2239 (ev_properties_view_init), (ev_properties_view_new):
2240 * properties/ev-properties-view.h:
2241 * shell/Makefile.am:
2242 * shell/ev-properties-dialog.c: (ev_properties_dialog_class_init),
2243 (ev_properties_dialog_init), (ev_properties_dialog_set_document),
2244 (ev_properties_dialog_new):
2245 * shell/ev-properties-dialog.h:
2246 * shell/ev-properties-fonts.c: (ev_properties_fonts_dispose),
2247 (ev_properties_fonts_class_init), (ev_properties_fonts_init),
2248 (update_progress_label), (job_fonts_finished_cb),
2249 (ev_properties_fonts_set_document), (ev_properties_fonts_new):
2250 * shell/ev-properties-fonts.h:
2251 * shell/ev-properties.c:
2252 * shell/ev-properties.h:
2253 * shell/ev-window.c: (ev_window_setup_document),
2254 (ev_window_cmd_file_properties):
2256 Split the properties pages in two different objects, depend
2257 only on the backend where possible, use widgets instead
2258 of gobject for the glade part, reimplement the dialog
2260 I need this to implement nautilus properties page.
2262 2005-07-03 Matthew S. Wilson <msw@rpath.com>
2264 * tiff/tiff-document.c (tiff_document_ps_export_begin)
2265 (tiff_document_ps_export_do_page, tiff_document_ps_export_end)
2266 (tiff_document_document_ps_exporter_iface_init): implement the ps
2267 exporter interface for tiff documents
2269 * tiff/tiff2ps.c: added a modified version of tiff2ps.c from
2270 libtiff to implement TIFF postscript export
2272 * tiff/tiff2ps.h: added a header file for external tiff2ps
2275 * tiff/Makefile.am (libtiffdocument_la_SOURCES): add tiff2ps.c and
2278 2005-07-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2280 * shell/ev-view.c: (scroll_to_current_page),
2281 (ev_view_set_fullscreen), (ev_view_set_presentation):
2283 Scroll to current page when exit from presentation
2285 2005-07-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2287 * shell/ev-window.c: (update_document_mode),
2288 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
2289 (ev_window_cmd_view_fullscreen), (ev_window_stop_presentation),
2290 (ev_window_cmd_view_presentation), (ev_window_cmd_escape):
2292 Exit from fullscreen mode when switch to presentation. Fix for
2295 2005-07-02 Matthew S. Wilson <msw@rpath.com>
2297 * shell/ev-pixbuf-cache.c (ev_pixbuf_cache_get_selection_pixbuf):
2298 return NULL if the document does not implement the selection
2301 2005-07-02 Matthew S. Wilson <msw@rpath.com>
2303 * tiff/tiff-document.c (tiff_document_get_page_size): scale the
2304 reported height by using the resolution aspect ratio
2305 (tiff_document_render_pixbuf): scale the pixbuf using the
2306 resolution aspect ratio
2308 2005-07-01 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2312 Require libgnomeprint >= 2.5.1. Thanks to Colin Slater
2313 <kiltedaco@gmail.com>
2315 * djvu/djvu-document.c: (djvu_document_get_orientation),
2316 (djvu_document_set_orientation), (djvu_document_get_page_size),
2317 (rotate_pixbuf), (djvu_document_render_pixbuf),
2318 (djvu_document_document_iface_init):
2319 * dvi/dvi-document.c: (dvi_document_get_orientation),
2320 (dvi_document_set_orientation), (dvi_document_get_page_size),
2321 (rotate_pixbuf), (dvi_document_render_pixbuf),
2322 (dvi_document_document_iface_init):
2324 Dvi and djvu backends are ported to new API
2326 Fri Jul 1 00:10:15 2005 Jonathan Blandford <jrb@redhat.com>
2328 * backend/ev-selection.c: (ev_selection_get_selection_region),
2329 (ev_selection_get_selection_map):
2330 * backend/ev-selection.h:
2331 * pdf/ev-poppler.cc:
2332 * shell/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
2334 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info),
2335 (job_finished_cb), (copy_job_to_job_info), (add_job_if_needed),
2336 (ev_pixbuf_cache_get_text_mapping):
2337 * shell/ev-pixbuf-cache.h:
2338 * shell/ev-view.c: (location_in_text),
2339 (ev_view_motion_notify_event), (ev_view_set_cursor): Add I-Beam
2340 support to EvView. Now we can see where we can select! Sweet!
2342 2005-06-30 Kristian Høgsberg <krh@redhat.com>
2344 * shell/ev-view.c (ev_view_button_press_event): Fix
2345 event->y + view->scroll_x typo.
2347 2005-06-30 Kristian Høgsberg <krh@redhat.com>
2349 * pdf/ev-poppler.cc: Adjust to poppler API changes; use a
2350 sub-GdkPixbuf instead of passing dest_x and dest_y.
2352 * shell/ev-view.c: (view_point_to_doc_point),
2353 (view_rect_to_doc_rect), (ev_view_button_press_event),
2354 (ev_view_motion_notify_event), (compute_new_selection_rect),
2355 (gdk_rectangle_point_in), (compute_new_selection_text),
2356 (compute_selections): Update selection code to keep the selection
2357 around as two points and not as a normalized rectangle, and fix
2358 page level selection in two-column mode.
2360 2005-06-30 Alex Duggan <aldug@astrolinux.com>
2362 * shell/ev-window.c: (window_configure_event_cb):
2366 2005-06-30 Marco Pesenti Gritti <mpg@redhat.com>
2368 * pdf/ev-poppler.cc:
2372 2005-06-30 Marco Pesenti Gritti <mpg@redhat.com>
2374 * shell/Makefile.am:
2375 * shell/ev-metadata-manager.c: (item_free),
2376 (ev_metadata_manager_init), (ev_metadata_manager_shutdown),
2377 (parse_value), (parseItem), (load_values),
2378 (ev_metadata_manager_get), (value_free), (ev_metadata_manager_set),
2379 (save_values), (save_item), (get_oldest), (resize_items),
2380 (ev_metadata_manager_save), (ev_metadata_manager_set_int):
2381 * shell/ev-metadata-manager.h:
2383 Metadata manager from gedit but modified to use GValue, so that
2384 we dont need to keep converting from strings.
2388 ENABLE_METADATA conditional, on when dbus is on
2390 * shell/ev-application.c: (ev_application_open_uri):
2392 Show the window after load so that we can initialize
2393 window size before it's showed.
2395 * shell/ev-window.c: (ev_window_setup_from_metadata),
2396 (ev_window_open_uri), (window_configure_event_cb),
2399 Save and load metadata information about window size.
2400 Not yet keeping states in account.
2402 * shell/main.c: (main):
2404 Shutdown metadata manager.
2406 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
2408 * shell/ev-application-service.xml:
2410 * shell/Makefile.am:
2411 * shell/ev-application.c:
2412 * shell/ev-application.h:
2413 * shell/ev-window.c:
2414 * shell/ev-window.h:
2417 Add an optional dbus interface (--enable-dbus).
2418 Rework application code, mainly to be easier to
2420 Do not open multiple windows with the same document,
2423 Thu Jun 30 01:50:14 2005 Jonathan Blandford <jrb@redhat.com>
2425 * shell/ev-pixbuf-cache.c (clear_selection_if_needed): unref the
2426 pixbuf iff it exists.
2428 Thu Jun 30 01:43:00 2005 Jonathan Blandford <jrb@redhat.com>
2431 * backend/ev-render-context.[ch]:
2432 * backend/ev-selection.[ch]:
2434 Massive changes. We now support text selection of pdfs, and not
2435 just rectangular selection. This is pretty broken still, but I
2436 want to get something into CVS.
2438 2005-06-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2440 * pdf/ev-poppler.cc:
2442 Fix for Bug 309080: crash on window close.
2444 * shell/ev-page-action.c: (page_changed_cb):
2446 Fix for Bug 309168: Fix build with gcc 2.95. Thanks to
2447 jensgr@gmx.net (Jens Granseuer).
2449 2005-06-25 Marcel Telka <marcel@telka.sk>
2451 * configure.in (ALL_LINGUAS): Added sk.
2453 2005-06-24 Carlos Garcia Campos <carlosgc@gnome.org>
2455 * shell/ev-window.c: Make rotate menu entries unsensitive if there is
2458 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
2465 * cut-n-paste/recent-files/Makefile.am:
2469 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
2471 * pixbuf/pixbuf-document.c: (pixbuf_document_get_orientation),
2472 (pixbuf_document_set_orientation), (rotate_pixbuf),
2473 (pixbuf_document_get_page_size), (pixbuf_document_render_pixbuf),
2474 (pixbuf_document_document_iface_init), (pixbuf_document_init):
2476 Implement rotation and cleanup the code a bit.
2478 * tiff/tiff-document.c: (tiff_document_get_page_size),
2479 (tiff_document_get_orientation), (tiff_document_set_orientation),
2480 (rotate_pixbuf), (tiff_document_render_pixbuf),
2481 (tiff_document_document_iface_init), (tiff_document_init):
2483 Implement rotation. Was the quicker solution for the release
2484 but we really need to share this code in the shell.
2486 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
2488 * pdf/ev-poppler.cc:
2490 Enable rotation, require poppler cvs. Fix a leak.
2492 2005-06-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2494 * shell/ev-window.c: (update_action_sensitivity):
2496 Make properties unsensitive if document backend doesn't provide
2499 2005-06-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2501 * dvi/mdvi-lib/bitmap.c: (bitmap_alloc), (bitmap_alloc_raw),
2502 (bitmap_flip_horizontally), (bitmap_flip_vertically),
2503 (bitmap_flip_diagonally), (bitmap_rotate_clockwise),
2504 (bitmap_rotate_counter_clockwise), (bitmap_flip_rotate_clockwise),
2505 (bitmap_flip_rotate_counter_clockwise):
2506 * dvi/mdvi-lib/color.c: (mdvi_push_color), (get_color_table):
2507 * dvi/mdvi-lib/common.c: (read_string), (buff_free), (buff_add),
2509 * dvi/mdvi-lib/common.h:
2510 * dvi/mdvi-lib/dvimisc.c: (mdvi_push_color):
2511 * dvi/mdvi-lib/dviread.c: (get_bytes), (dreset), (define_font),
2512 (opendvi), (mdvi_reload), (mdvi_init_context),
2513 (mdvi_destroy_context), (mdvi_dopage), (special):
2514 * dvi/mdvi-lib/font.c: (font_drop_one), (font_free_unused):
2515 * dvi/mdvi-lib/fontmap.c: (read_encoding), (destroy_encoding),
2516 (file_hash_free), (register_encoding), (parse_spec),
2517 (mdvi_load_fontmap), (free_ent), (mdvi_init_fontmaps),
2518 (mdvi_add_fontmap_file), (mdvi_ps_read_fontmap),
2519 (mdvi_ps_flush_fonts), (mdvi_ps_find_font), (mdvi_ps_get_metrics):
2520 * dvi/mdvi-lib/fontsrch.c: (mdvi_list_font_class),
2521 (mdvi_register_font_type), (mdvi_unregister_font_type),
2522 (lookup_font), (mdvi_add_font), (mdvi_font_retry):
2523 * dvi/mdvi-lib/gf.c: (gf_read_bitmap), (gf_load_font):
2524 * dvi/mdvi-lib/hash.c: (mdvi_hash_remove), (mdvi_hash_remove_ptr),
2525 (mdvi_hash_destroy_key), (mdvi_hash_reset):
2526 * dvi/mdvi-lib/pagesel.c: (mdvi_parse_range),
2527 (mdvi_parse_page_spec), (mdvi_free_page_spec), (main):
2528 * dvi/mdvi-lib/paper.c: (mdvi_free_paper_specs):
2529 * dvi/mdvi-lib/pk.c: (pk_lookup), (pk_lookupn), (pk_load_font):
2530 * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
2531 * dvi/mdvi-lib/special.c: (mdvi_register_special),
2532 (mdvi_unregister_special), (mdvi_flush_specials):
2533 * dvi/mdvi-lib/t1.c: (t1_lookup_font), (t1_really_load_font),
2535 * dvi/mdvi-lib/tfm.c: (get_tfm_chars):
2536 * dvi/mdvi-lib/tfmfile.c: (afm_load_file), (tfm_load_file),
2537 (ofm1_load_file), (ofm_load_file), (get_font_metrics),
2538 (free_font_metrics), (flush_font_metrics):
2539 * dvi/mdvi-lib/tt.c: (tt_really_load_font), (tt_get_bitmap),
2541 * dvi/mdvi-lib/util.c: (mdvi_malloc), (mdvi_realloc),
2542 (mdvi_calloc), (mdvi_free), (mdvi_strdup), (mdvi_strncpy),
2543 (mdvi_strndup), (mdvi_memdup), (xstradd), (dstring_append),
2544 (dstring_insert), (dstring_new), (dstring_reset):
2545 * dvi/mdvi-lib/vf.c: (vf_load_font), (vf_free_macros):
2547 Rename xmalloc and xfree to mdvi_malloc and mdvi_free to
2548 avoid conflict with libtool on FC4
2550 * shell/ev-window.c: (ev_window_cmd_help_about):
2552 Update copyright year. Fix for bug 308828.
2554 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
2556 * shell/ev-view.c: (add_scroll_binding_keypad),
2557 (ev_view_binding_activated), (ev_view_class_init),
2558 (on_adjustment_value_changed):
2560 Bug 170874: Arrow keys switch pages in presentation mode
2562 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
2564 * shell/ev-window.c: (ev_window_sidebar_visibility_changed_cb):
2566 Fix for Bug 308265: Sidebar dissappears coming out of
2569 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
2571 * shell/ev-application.c: (ev_application_open):
2572 * shell/ev-document-types.c: (ev_document_types_add_filters),
2573 (ev_document_types_add_filters_for_type):
2574 * shell/ev-document-types.h:
2575 * shell/ev-window.c: (ev_window_cmd_save_as):
2577 Suggest basename as template when saving, provide filters
2578 for save dialog. It's bug 308402
2580 2005-06-20 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2582 * pdf/ev-poppler.cc:
2583 * shell/ev-sidebar-links.c: (job_finished_callback):
2584 * shell/ev-view.c: (update_find_status_message):
2588 2005-06-19 Christian Persch <chpe@cvs.gnome.org>
2590 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
2591 (egg_recent_view_uimanager_set_list):
2593 Fix buglet in !show_numbers case.
2595 2005-06-19 Christian Persch <chpe@cvs.gnome.org>
2597 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
2598 (connect_proxy_cb), (egg_recent_view_uimanager_set_list):
2600 Use pango ellipsisation.
2602 * pdf/ev-poppler.cc:
2604 Fix refcount leak, from nsh.
2606 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2608 * cut-n-paste/recent-files/Makefile.am:
2609 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
2610 * cut-n-paste/recent-files/egg-recent-view-gtk.h:
2612 Removed EggRecentViewGtk
2614 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
2615 * cut-n-paste/recent-files/egg-recent-view-uimanager.h:
2616 * shell/ev-window.c: (ev_window_cmd_recent_file_activate),
2617 (ev_window_setup_recent):
2619 Use ViewUIManager instead of ViewGtk. Less leaks, more compatibility
2622 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2624 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
2625 (egg_recent_view_gtk_finalize):
2629 * cut-n-paste/toolbar-editor/Makefile.am:
2631 Fix location of cursor icon.
2633 * pdf/ev-poppler.cc:
2634 * shell/ev-page-action.c: (build_new_tree_cb), (match_selected_cb),
2635 (display_completion_text), (match_completion):
2636 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
2637 (selection_changed_callback), (create_loading_model),
2638 (print_section_cb), (links_page_num_func),
2639 (update_page_callback_foreach):
2640 * shell/ev-window.c: (ev_window_dispose):
2642 Small memory fixes. Links model now store objects instead
2643 of pointers to improve memory management.
2645 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2647 * shell/ev-window.c: (zoom_control_changed_cb):
2649 Fix update of zoom control (bug 308268).
2651 Sat Jun 18 22:46:42 2005 Jonathan Blandford <jrb@redhat.com>
2653 * shell/ev-properties.c (set_property): escape the text correctly.
2654 Handles non-UTF-8 properties and escaped properties. Also, sets
2655 the text to "<i>None</i>" if the property isn't set.
2657 * data/evince-properties.glade: Change the label to be ellipsized,
2658 and give it a minimum size.
2660 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2662 * lib/ev-file-helpers.c: (ev_file_helpers_shutdown):
2663 * shell/ev-sidebar-links.c: (create_loading_model):
2664 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose):
2665 * shell/ev-view.c: (ev_view_set_document):
2666 * shell/ev-window.c: (ev_window_dispose):
2668 Various small fixes, mostly memory leaks. Thanks to valgrind.
2670 2005-06-19 Martin Kretzschmar <martink@gnome.org>
2672 * ps/ps-document.c: remove the locale.h include again ;-). And
2673 kill the (bogus) setlocale/savelocale business.
2675 2005-06-19 Jaap A. Haitsma <jaap@haitsma.org>
2679 Include locale.h to fix build
2681 * shell/ev-sidebar.c:
2683 Remove unnecessary includes
2685 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2687 * dvi/dvi-document.c: (dvi_document_load):
2688 * dvi/mdvi-lib/dviread.c: (mdvi_init_context):
2691 Check for incorrect dvi files. Fix parsing dvi on AMD64
2692 platform. Thanks to tester@tester.ca (Olivier Crete).
2694 2005-06-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2696 * shell/ev-page-action.c: (match_selected_cb),
2697 (display_completion_text), (match_completion), (update_model):
2698 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
2699 (expand_open_links):
2700 * shell/ev-sidebar.c: (ev_sidebar_destroy),
2701 (ev_sidebar_menu_item_activate_cb), (ev_sidebar_add_page),
2702 (ev_sidebar_set_document):
2703 * shell/ev-window.c: (ev_window_xfer_job_cb),
2704 (sidebar_widget_model_set), (sidebar_page_main_widget_update_cb):
2706 Fixed lot's of memory leaks, for example, memory leak on reload,
2707 described in bug 307793.
2709 2005-06-18 Marco Pesenti Gritti <mpg@redhat.com>
2711 * pdf/ev-poppler.cc:
2712 * shell/ev-sidebar-thumbnails.c: (clear_range), (add_range),
2713 (update_visible_range), (adjustment_changed_cb),
2714 (ev_sidebar_thumbnails_fill_model),
2715 (ev_sidebar_thumbnails_refresh),
2716 (ev_sidebar_tree_selection_changed),
2717 (ev_sidebar_icon_selection_changed),
2718 (ev_sidebar_thumbnails_use_icon_view),
2719 (ev_sidebar_thumbnails_set_document):
2720 * shell/ev-sidebar-thumbnails.h:
2721 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
2722 (ev_window_cmd_edit_rotate_right), (ev_window_init):
2724 Refresh thumbnails when changing orientation. Not fully
2725 working yet becuase of a sidebar bug.
2727 Set page orientation to poppler page everywhere. This sucks
2728 really need to fix poppler.
2730 2005-06-18 Marco Pesenti Gritti <mpg@redhat.com>
2732 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
2733 (egg_recent_view_gtk_new_menu_item),
2734 (egg_recent_view_gtk_set_property),
2735 (egg_recent_view_gtk_get_property),
2736 (egg_recent_view_gtk_class_init), (egg_recent_view_gtk_init),
2737 (egg_recent_view_gtk_set_tooltip_func),
2738 (egg_recent_view_gtk_set_label_width),
2739 (egg_recent_view_gtk_get_label_width):
2740 * cut-n-paste/recent-files/egg-recent-view-gtk.h:
2742 Sync with libegg (ellipsize labels)
2744 2005-06-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2746 * data/evince-ui.xml:
2747 * shell/ev-window.c: (ev_window_cmd_go_forward),
2748 (ev_window_cmd_go_backward):
2750 Shift + PageUp moves 10 Pages. Fix for 306125
2752 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
2754 * pdf/ev-poppler.cc:
2756 Add a flag to check if orientation has been overriden
2758 2005-06-17 Martin Kretzschmar <martink@gnome.org>
2760 * ps/ps.c (psscan, psfree): read "Creator:" comment, free creator
2763 * ps/ps.h: add creator field to document.
2765 * ps/ps-document.c (ps_document_get_info): set format to PostScript,
2768 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
2770 * data/evince-properties.glade:
2771 * shell/ev-properties.c: (ev_properties_set_document):
2773 s/PDF Version/Format
2775 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
2777 * shell/ev-properties.c: (ev_properties_set_document):
2779 Remove unnecessary translations
2781 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
2783 * cut-n-paste/toolbar-editor/Makefile.am:
2785 Correct library name
2787 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
2790 * cut-n-paste/recent-files/egg-recent-model.c:
2791 (egg_recent_model_write_raw), (egg_recent_model_lock_file),
2792 (egg_recent_model_unlock_file):
2793 * cut-n-paste/recent-files/egg-recent-util.c:
2794 (egg_recent_util_get_unique_id):
2795 * cut-n-paste/recent-files/update-from-egg.sh:
2796 * cut-n-paste/toolbar-editor/Makefile.am:
2797 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
2798 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
2799 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
2800 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
2801 (egg_toolbars_model_get_type):
2802 * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
2804 Better makefile for toolbar editor and update everything
2807 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
2809 * shell/ev-window.c: (update_document_mode):
2811 Prefer presentation mode when the document
2814 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
2816 * data/evince-ui.xml:
2817 * shell/ev-window.c:
2819 Add control-equal for zooming
2821 2005-06-17 Theppitak Karoonboonyanan <thep@linux.thai.net>
2823 * configure.ac: Added 'th' (Thai) to ALL_LINGUAS.
2825 2005-06-16 Marco Pesenti Gritti <mpg@redhat.com>
2827 * backend/ev-document.c: (ev_document_get_orientation):
2828 * backend/ev-document.h:
2829 * pdf/ev-poppler.cc:
2830 * ps/ps-document.c: (ps_document_get_orientation),
2831 (ps_document_set_orientation), (ps_document_document_iface_init):
2833 Add a get_orientation api. Improve set_orientation.
2835 * data/evince-ui.xml:
2836 * shell/ev-view.c: (ev_view_set_orientation),
2837 (ev_view_rotate_right), (ev_view_rotate_left):
2839 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
2840 (ev_window_cmd_edit_rotate_right):
2842 Better ui for changing document orientation
2844 2005-06-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2846 * shell/ev-sidebar-links.c: (ev_sidebar_links_get_property),
2847 (ev_sidebar_links_class_init), (ev_sidebar_links_get_label):
2848 * shell/ev-sidebar-links.h:
2849 * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
2850 (ev_sidebar_page_iface_init):
2851 * shell/ev-sidebar-page.h:
2852 * shell/ev-sidebar-thumbnails.c:
2853 (ev_sidebar_thumbnails_get_property),
2854 (ev_sidebar_thumbnails_class_init),
2855 (ev_sidebar_thumbnails_set_document):
2856 * shell/ev-sidebar-thumbnails.h:
2857 * shell/ev-view.c: (ev_view_motion_notify_event):
2858 * shell/ev-window.c: (update_chrome_visibility),
2859 (ev_window_cmd_focus_page_selector),
2860 (ev_window_update_fullscreen_popup), (view_actions_focus_in_cb),
2861 (sidebar_page_main_widget_update_cb), (ev_window_init):
2863 Autoraise toolbar on GoToPage binding and fix bindings in
2864 EvSidebarThumbnails page.
2866 2005-06-15 Christian Persch <chpe@cvs.gnome.org>
2868 * shell/ev-properties.c: (update_progress_label):
2870 Hide the progress label when finished; bug #307697.
2872 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
2874 * pdf/ev-poppler.cc:
2876 Enable is_open for links, you will need poppler cvs
2878 * shell/ev-properties.c: (job_fonts_finished_cb):
2880 Get a lock on the document when filling the tree view
2882 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
2884 * backend/ev-document-links.h:
2885 * pdf/ev-poppler.cc:
2886 * shell/ev-sidebar-links.c: (create_loading_model),
2887 (expand_open_links), (job_finished_callback):
2889 Expand links when specified by the document.
2890 Depend on a poppler api (defined out for now)
2892 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
2894 * shell/ev-properties.c: (ev_properties_dispose),
2895 (ev_properties_class_init), (dialog_destroy_cb),
2896 (ev_properties_init), (job_fonts_finished_cb), (setup_fonts_view),
2897 (ev_properties_set_document), (ev_properties_new),
2898 (ev_properties_show):
2899 * shell/ev-properties.h:
2901 Make it an object, cleanup the code, api to show it as transient
2902 and to set the document.
2904 * shell/ev-window.c: (ev_window_setup_document),
2905 (ev_window_cmd_file_properties):
2907 Adapt to EvProperties changes, do not show multiple
2908 times, update it when document changes.
2910 2005-06-14 Marco Pesenti Gritti <mpg@redhat.com>
2913 * ps/ps-document.c: (ps_document_init), (get_page_orientation),
2914 (ps_document_set_orientation), (ps_document_document_iface_init):
2917 Implement orientation here too
2919 * shell/ev-properties.c: (ev_properties_new):
2920 * data/evince-properties.glade:
2922 Hide the fonts page for backends that doesnt
2925 2005-06-14 Marco Pesenti Gritti <mpg@redhat.com>
2927 * backend/ev-document.c: (ev_document_set_orientation):
2928 * backend/ev-document.h:
2929 * pdf/ev-poppler.cc:
2931 Add orientation api. Currently poppler api is not optimal,
2932 we need to set orientation every time we _get a page.
2933 I will try to fix that at some point.
2935 * data/evince-ui.xml:
2936 * shell/ev-window.c: (ev_window_cmd_edit_landscape),
2937 (ev_window_cmd_edit_portrait), (ev_window_cmd_edit_flip):
2939 Add orientation menu items
2941 * shell/ev-page-cache.c: (ev_page_cache_clear):
2942 * shell/ev-page-cache.h:
2944 Add api to clear the cache
2946 * shell/ev-view.c: (setup_caches), (clear_caches),
2947 (ev_view_set_document), (ev_view_zoom_out),
2948 (ev_view_set_orientation):
2951 Implement orientation changing
2953 2005-06-13 Marco Pesenti Gritti <mpg@redhat.com>
2955 * backend/ev-document-fonts.c: (ev_document_fonts_get_progress),
2956 (ev_document_fonts_scan), (ev_document_fonts_fill_model):
2957 * backend/ev-document-fonts.h:
2959 Separate scan and fill so that we can incrementally fill from
2960 the main thread. Add a progress api.
2962 * data/evince-properties.glade:
2963 * pdf/ev-poppler.cc:
2964 * shell/ev-jobs.c: (ev_job_fonts_new), (ev_job_fonts_run):
2966 * shell/ev-properties.c: (update_progress_label),
2967 (job_fonts_finished_cb), (setup_fonts_view):
2969 Incrementally feel the list and show the progress
2970 percentage in a label like acrobat does.
2972 You are going to need poppler cvs
2974 2005-06-11 Marco Pesenti Gritti <mpg@redhat.com>
2976 * backend/ev-document-fonts.c: (ev_document_fonts_fill_model):
2977 * backend/ev-document-fonts.h:
2978 * pdf/ev-poppler.cc:
2980 Make fonts model fill incrementally.
2982 * shell/ev-job-queue.c: (handle_job), (search_for_jobs_unlocked),
2983 (no_jobs_available_unlocked), (ev_job_queue_init), (find_queue),
2984 (ev_job_queue_remove_job):
2985 * shell/ev-jobs.c: (ev_job_fonts_init), (ev_job_fonts_class_init),
2986 (ev_job_fonts_new), (ev_job_fonts_run):
2989 New job for fonts scanning
2991 * shell/ev-properties.c: (job_fonts_finished_cb),
2992 (fill_fonts_treeview), (setup_fonts_view), (ev_properties_new):
2993 * shell/ev-properties.h:
2994 * shell/ev-window.c: (ev_window_cmd_file_properties):
2996 Incrementally feel the treeview using the new job. Show Loading...
2997 message until scanning is completed.
2999 Hopefully I didnt break the build without the poppler patch.
3001 2005-06-10 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3003 * shell/ev-application.c: (ev_application_open):
3004 * shell/ev-document-types.c: (ev_document_type_from_from_mime),
3005 (ev_document_type_get_type), (ev_document_type_lookup):
3006 * shell/ev-document-types.h:
3007 * shell/ev-job-xfer.c: (ev_job_xfer_dispose), (ev_job_xfer_run):
3008 * shell/ev-job-xfer.h:
3009 * shell/ev-window.c: (ev_window_clear_local_uri),
3010 (ev_window_load_job_cb), (ev_window_xfer_job_cb),
3011 (ev_window_open_uri), (ev_window_add_recent), (ev_window_dispose):
3012 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3014 Transfer remote documents to tmp directory to display them later.
3016 2005-06-10 Marco Pesenti Gritti <mpg@redhat.com>
3018 * backend/ev-document-info.h:
3019 * shell/ev-properties.c: (ev_properties_new):
3021 s/GTime*/GTime. Not sure why we was using a pointer
3024 Wed Jun 8 01:04:22 2005 Jonathan Blandford <jrb@redhat.com>
3026 * shell/ev-sidebar-thumbnails.c: Use a GtkIconView in certain
3027 situations. That situation is that you're using GTK+-HEAD with
3028 the patch at #306726 is applied, and you have a document with <
3029 1500 pages in it. It's not quite as uniformly nice as the
3030 TreeView, but should be better in the long run.
3032 I'm pretty sure I guarded against breaking compilation with
3033 HAVE_GTK_ICON_VIEW_GET_VISIBLE_RANGE gaurds, though it's possible
3036 * shell/ev-window.c (ev_window_init): We don't have our tree/list
3037 widget yet, so I commented that code out
3038 enable_view_actions_for_widget() for now. Need to figure this
3041 * shell/ev-page-action.c (match_selected_cb): emit the right
3042 signals. Our cool C-l completion now works.
3044 2005-06-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3046 * backend/Makefile.am:
3047 * backend/ev-document-fonts.c:
3048 * backend/ev-document-links.c:
3049 * backend/ev-document.c: (ev_document_load):
3050 * backend/ev-document.h:
3051 * backend/ev-job-queue.c:
3052 * backend/ev-job-queue.h:
3053 * backend/ev-jobs.c:
3054 * backend/ev-jobs.h:
3055 * backend/ev-page-cache.c:
3056 * backend/ev-page-cache.h:
3058 EvPageCache and EvJobs are moved to shell.
3060 * lib/ev-file-helpers.c: (ev_file_helpers_shutdown),
3062 * lib/ev-file-helpers.h:
3064 New helper to work with temporary files
3066 * shell/Makefile.am:
3067 * shell/ev-application.c: (ev_application_open):
3068 * shell/ev-application.h:
3069 * shell/ev-job-queue.c: (remove_job_from_queue_locked),
3070 (remove_job_from_async_queue), (add_job_to_async_queue),
3071 (add_job_to_queue_locked), (notify_finished), (job_finished_cb),
3072 (handle_job), (search_for_jobs_unlocked),
3073 (no_jobs_available_unlocked), (ev_render_thread),
3074 (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
3075 (ev_job_queue_add_job), (move_job_async), (move_job),
3076 (ev_job_queue_update_job), (ev_job_queue_remove_job):
3077 * shell/ev-job-queue.h:
3078 * shell/ev-job-xfer.c: (ev_job_xfer_init), (ev_job_xfer_dispose),
3079 (ev_job_xfer_class_init), (ev_job_xfer_new), (ev_job_xfer_run):
3080 * shell/ev-job-xfer.h:
3081 * shell/ev-jobs.c: (ev_job_init), (ev_job_dispose),
3082 (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
3083 (ev_job_links_class_init), (ev_job_render_init),
3084 (ev_job_render_dispose), (ev_job_render_class_init),
3085 (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
3086 (ev_job_thumbnail_class_init), (ev_job_load_init),
3087 (ev_job_load_dispose), (ev_job_load_class_init), (ev_job_finished),
3088 (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
3089 (render_finished_cb), (ev_job_render_run), (ev_job_thumbnail_new),
3090 (ev_job_thumbnail_run), (ev_job_load_new), (ev_job_load_run):
3092 * shell/ev-page-action.c: (ev_page_action_set_document):
3093 * shell/ev-page-cache.c: (ev_page_cache_init),
3094 (ev_page_cache_class_init), (ev_page_cache_finalize),
3095 (ev_page_cache_new), (ev_page_cache_get_n_pages),
3096 (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
3097 (ev_page_cache_set_page_label), (ev_page_cache_set_link),
3098 (ev_page_cache_get_title), (ev_page_cache_get_size),
3099 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
3100 (ev_page_cache_get_height_to_page),
3101 (ev_page_cache_get_max_label_chars),
3102 (ev_page_cache_get_page_label),
3103 (ev_page_cache_has_nonnumeric_page_labels),
3104 (ev_page_cache_get_info), (ev_page_cache_next_page),
3105 (ev_page_cache_prev_page), (ev_page_cache_get):
3106 * shell/ev-page-cache.h:
3107 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_update_range),
3108 (ev_pixbuf_cache_clear_job_sizes),
3109 (ev_pixbuf_cache_add_jobs_if_needed),
3110 (ev_pixbuf_cache_set_page_range):
3111 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings):
3112 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document):
3113 * shell/ev-sidebar-thumbnails.c:
3114 (ev_sidebar_tree_selection_changed),
3115 (ev_sidebar_thumbnails_set_document):
3116 * shell/ev-statusbar.c: (ev_statusbar_destroy),
3117 (ev_statusbar_class_init), (ev_statusbar_init), (ev_statusbar_new),
3118 (ev_statusbar_get_context_id), (ev_statusbar_push),
3119 (ev_statusbar_pop), (ev_statusbar_set_maximized),
3120 (ev_statusbar_pulse), (ev_statusbar_show_progress),
3121 (ev_statusbar_set_progress):
3122 * shell/ev-statusbar.h:
3123 * shell/ev-view.c: (ev_view_set_document), (ev_view_find_next),
3124 (ev_view_find_previous):
3125 * shell/ev-window.c: (ev_window_is_empty),
3126 (ev_window_setup_document), (password_dialog_response),
3127 (ev_window_clear_jobs), (ev_window_load_job_cb),
3128 (ev_window_xfer_job_cb), (ev_window_open_uri),
3129 (ev_window_open_uri_list), (ev_window_cmd_recent_file_activate),
3130 (ev_window_print), (ev_window_print_range),
3131 (ev_window_state_event), (ev_window_cmd_view_reload),
3132 (menu_item_select_cb), (menu_item_deselect_cb),
3133 (view_status_changed_cb), (ev_window_dispose),
3134 (drag_data_received_cb), (ev_window_init):
3135 * shell/ev-window.h:
3136 * shell/main.c: (load_files):
3138 New statusbar to show progress on idle. Two new jobs -
3139 xfer job and load job to load document in background. And update
3140 of page_cache clients to new location of code.
3142 2005-06-08 Carlos Garcia Campos <carlosgc@gnome.org>
3144 * shell/ev-application.c, shell/ev-window.[ch]: Allow multiple
3145 selection in open dialog. It also remembers the last visited directory
3146 in the current session.
3148 2005-06-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3150 * shell/ev-properties.c: (ev_properties_new):
3151 * shell/ev-properties.h:
3152 * shell/ev-window.c: (ev_window_cmd_file_properties):
3154 Get document info from page cache instead of document itself.
3155 This should fix crash related to race conditions described in
3158 2005-06-07 Marco Pesenti Gritti <mpg@redhat.com>
3160 * ps/ps-document.c: (ps_document_init),
3161 (send_ps), (get_page_box), (output), (catchPipe), (input),
3162 (stop_interpreter), (file_length), (file_readable),
3163 (check_filecompressedb), (ps_document_enable_interpreter),
3164 (document_load), (ps_async_renderer_render_pixbuf):
3167 Big cleanup of the ps code
3169 2005-06-07 Marco Pesenti Gritti <mpg@redhat.com>
3171 * backend/Makefile.am:
3172 * backend/ev-async-renderer.c: (ev_async_renderer_get_type),
3173 (ev_async_renderer_class_init), (ev_async_renderer_render_pixbuf):
3174 * backend/ev-async-renderer.h:
3176 Add an async renderer interface (method + callback) which
3177 is useful for backends like ps.
3179 * backend/ev-job-queue.c: (remove_job_from_async_queue),
3180 (add_job_to_async_queue), (job_finished_cb), (handle_job),
3181 (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
3182 (ev_job_queue_add_job), (move_job_async), (move_job),
3183 (ev_job_queue_update_job), (ev_job_queue_remove_job):
3185 Add queues for async renderer, these are executed on the
3188 * backend/ev-jobs.c: (ev_job_render_new), (render_finished_cb),
3189 (ev_job_render_run):
3190 * backend/ev-jobs.h:
3192 If the backend support async renderer interface use it.
3194 * ps/ps-document.c: (ps_document_init), (push_pixbuf),
3195 (setup_pixmap), (ps_document_get_type),
3196 (ps_async_renderer_render_pixbuf),
3197 (ps_document_document_iface_init), (ps_async_renderer_iface_init):
3199 Implement async renderer interface.
3201 2005-06-07 Nickolay V. Shmyrev <<nshmyrev@yandex.ru>>
3203 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose):
3205 Cleanup links job on exit.
3207 2005-06-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3209 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
3210 (drag_data_get_cb), (drag_data_received_cb):
3211 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
3212 (drag_data_get_cb), (parse_item_list),
3213 (egg_toolbar_editor_load_actions):
3214 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
3215 (egg_toolbars_model_to_xml), (egg_toolbars_model_save),
3216 (parse_item_list), (parse_toolbars):
3217 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
3218 (dvi_pixbuf_put_pixel):
3220 Fix gcc 4.0 warnings
3222 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
3224 * ps/ps-document.c: (start_interpreter):
3226 Fix warning when loading ps
3228 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
3230 * ps/ps-document.c: (output):
3232 Fix crash when priting gs error messages.
3234 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
3236 * backend/ev-page-cache.c: (_ev_page_cache_new):
3237 * backend/ev-page-cache.h:
3239 Use a const to return title so that we dont double
3240 free it. Small cleanup and fix a leak.
3242 * shell/ev-window.c: (update_window_title):
3244 strdup value from get_title.
3246 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
3248 * shell/ev-sidebar-links.c: (job_finished_callback),
3249 (ev_sidebar_links_set_document):
3251 Cleanup the old job when changing document
3253 2005-06-05 Nickolay V. Shmyrev <<nshmyrev@yandex.ru>>
3255 * shell/ev-stock-icons.c:
3256 * shell/ev-stock-icons.h:
3257 * shell/ev-window.c:
3259 Add stock icons for actions that can appear in toolbar. Fix for
3262 2005-06-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3264 * backend/ev-page-cache.c: (ev_page_cache_finalize),
3265 (_ev_page_cache_new), (ev_page_cache_get_max_width),
3266 (ev_page_cache_get_max_height), (ev_page_cache_get_height_to_page):
3267 * backend/ev-page-cache.h:
3268 * shell/ev-view.c: (scroll_to_current_page),
3269 (view_update_range_and_current_page), (get_page_y_offset),
3270 (get_page_extents), (ev_view_size_request_continuous_dual_page),
3271 (ev_view_size_request_continuous),
3272 (ev_view_zoom_for_size_continuous_and_dual_page),
3273 (ev_view_zoom_for_size_continuous):
3275 More compact EvView layout in document with pages of different size.
3277 Sat Jun 4 19:20:57 2005 Jonathan Blandford <jrb@redhat.com>
3279 * shell/ev-window.c (ev_window_cmd_file_properties): fix
3282 2005-06-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3284 * shell/ev-view.c: (view_set_adjustment_values):
3285 * shell/ev-window.c: (ev_window_cmd_file_properties):
3287 A bit different fix for rounding problem but it has no
3288 problems on startup. Make properties window transient to parent.
3290 2005-06-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3292 * pdf/ev-poppler.cc:
3294 More commenting of font stuff.
3296 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
3298 * pdf/ev-poppler.cc:
3300 Comment out some more fonts stuff. Should really
3301 work without the poppler patch now.
3303 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
3305 * pdf/ev-poppler.cc:
3309 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
3311 * data/evince-properties.glade:
3312 * pdf/ev-poppler.cc:
3313 * shell/ev-properties.c: (setup_fonts_view):
3315 Set the column title. Show the dialog only
3316 once everything is setup.
3317 Getting font info can be very slow... will
3318 prolly need to make this threaded too.
3320 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
3322 * backend/Makefile.am:
3323 * backend/ev-document-fonts.c: (ev_document_fonts_get_type),
3324 (ev_document_fonts_get_fonts_model):
3325 * backend/ev-document-fonts.h:
3326 * data/evince-properties.glade:
3327 * pdf/ev-poppler.cc:
3328 * shell/ev-properties.c: (setup_fonts_view), (ev_properties_new):
3329 * shell/ev-properties.h:
3330 * shell/ev-window.c: (ev_window_cmd_file_properties):
3332 Implement fonts list. Defined out for now, since it depends
3333 on a not yet committed poppler patch.
3335 Fri Jun 3 21:07:57 2005 Jonathan Blandford <jrb@redhat.com>
3337 * shell/ev-view.c (get_page_extents): other_page isn't necessarily
3340 * shell/ev-window.c: Make sure we add the timeout when we get a
3343 * shell/ev-view.c (view_set_adjustment_values): Add 0.5 to
3344 adjustment->value before calculating the zoom factor to average
3345 out all of our rounding errors. The page no longer 'drifts' when
3348 2005-06-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3350 * data/evince-properties.glade:
3351 * shell/ev-properties.c: (ev_properties_format_date),
3354 Labels don't expand when the dialogue is resized.
3355 strftime result needs to be converted to UTF-8. Thanks
3356 to Christian Persch <chpe@gnome.org>.
3358 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
3360 * data/evince-properties.glade:
3364 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
3366 * backend/ev-document-info.h:
3367 * backend/ev-document.c: (ev_document_info_free):
3368 * data/evince-properties.glade:
3369 * pdf/ev-poppler.cc:
3370 * ps/ps-document.c: (ps_document_get_info):
3371 * shell/ev-properties.c: (ev_properties_format_date),
3372 (set_property), (ev_properties_new):
3373 * shell/ev-properties.h:
3374 * shell/ev-window.c: (ev_window_cmd_file_properties):
3376 Rework properties code to take only EvPropertyInfo
3377 in the constructor so that it can be useful for
3378 nautilus plugin too.
3380 Deal with backends that doesnt support some properties.
3381 Make set property code generic.
3383 2005-06-04 Christian Persch <chpe@gnome.org>
3385 * data/evince-properties.glade:
3387 fix spacings, make resizeable, and make data labels
3388 selectable + ellipsised
3390 2005-06-03 Marco Pesenti Gritti <mpg@redhat.com>
3392 * backend/ev-document-info.h:
3394 * data/evince-ui.xml:
3395 * pdf/ev-poppler.cc:
3396 * shell/Makefile.am:
3397 * shell/ev-window.c: (update_action_sensitivity),
3398 (ev_window_cmd_file_properties):
3400 Initial go at file properties. Patch by
3401 Emil Soleyman-Zomalan <emil@soleyman.com>.
3402 Needs love see #169583
3404 2005-06-02 Marco Pesenti Gritti <mpg@redhat.com>
3406 * ps/ps-document.c: (output):
3407 * ps/ps.c: (psscan):
3409 Try to render even if psscan fails.
3411 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
3413 * ps/ps.c: (psscan), (pscopydoc):
3415 Port buffered reading code from gv
3417 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
3419 * ps/ps-document.c: (interpreter_message), (output):
3421 Do not fail on interpreter messages
3423 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
3425 * backend/ev-document-misc.c:
3426 (ev_document_misc_get_thumbnail_frame):
3428 Pages can be 0 x 0, dont assert on this case
3430 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
3432 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
3433 (ev_sidebar_links_class_init), (ev_sidebar_links_set_document):
3435 Correctly manage our reference on document. Finally the reload
3436 huge leak is gone...
3438 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
3440 * ps/ps-document.c: (ps_document_dispose):
3442 Forgot to chain it to the parent. Thanks chpe.
3444 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
3446 * ps/ps-document.c: (ps_document_dispose),
3447 (ps_document_class_init), (stop_interpreter), (document_load):
3449 Cleanup dispose a bit. Dont leak the whole pixmap.
3451 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
3453 * pdf/ev-poppler.cc:
3455 Release the poppler document on dispose
3457 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
3459 * shell/ev-view.c: (ev_view_set_document):
3461 Release ref on the pixbuf cache when changing
3464 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
3466 * ps/ps-document.c: (ps_document_get_info):
3470 2005-05-31 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
3472 * backend/ev-page-cache.c: (ev_page_cache_init),
3473 (_ev_page_cache_new), (ev_page_cache_get_max_label_chars):
3474 * backend/ev-page-cache.h:
3475 * shell/ev-page-action.c: (page_changed_cb):
3477 Set page action entry width depending on labels width. Fix
3480 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
3482 * backend/ev-link.c: (ev_link_class_init):
3484 Allow -1 as page value (error)
3486 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
3488 * shell/ev-sidebar-thumbnails.c:
3489 (ev_sidebar_thumbnails_set_document):
3490 * shell/ev-view.c: (scroll_to_current_page),
3491 (view_set_adjustment_values), (ev_view_set_scroll_adjustments),
3492 (page_changed_cb), (on_adjustment_value_changed),
3493 (ev_view_set_document):
3495 Slightly modified patch by Nickolay V. Shmyrev <nshmyrev@yandex.ru>.
3498 2005-05-29 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3501 * djvu/djvu-document.c: (djvu_document_get_page_size):
3503 Require djvulibre CVS. Now djvu loading is much faster. Fix for
3506 Sat May 28 07:38:03 2005 Jonathan Blandford <jrb@redhat.com>
3508 * shell/ev-view.c (draw_one_page): modify the expose handling to
3511 * shell/ev-window.c (update_action_sensitivity): Respect
3512 permissions field. Kowtow to the man.
3514 * pdf/ev-poppler.cc: Get the permissions field.
3516 * tiff/*c: Make a tiny bit more robust.
3518 2005-05-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3520 * djvu/djvu-document.c:
3522 Pop messages from djvu context message queue.
3524 2005-05-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3526 * configure.ac, Makefile.am, shell/Makefile.am:
3527 * tiff/Makefile.am, shell/ev-document-types.c:
3529 Cleanup tiff configure checks. Fix for bug 305218.
3531 2005-05-24 Maxim V. Dziumanenko <mvd@mylinux.ua>
3533 * configure.ac: Added "uk" to ALL_LINGUAS.
3535 2005-05-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3537 * cut-n-paste/zoom-control/ephy-zoom.c:
3538 (ephy_zoom_get_changed_zoom_level):
3539 * cut-n-paste/zoom-control/ephy-zoom.h:
3540 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_set_property),
3541 (ev_view_get_property), (ev_view_class_init), (ev_view_set_zoom):
3542 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
3543 (ev_window_cmd_view_zoom_out), (ev_window_zoom_changed_cb),
3544 (zoom_control_changed_cb), (ev_window_init):
3546 Fix minor points related to moving best fit up. Introduce
3547 "zoom" property and make zoom control change it's value on
3548 notify::zoom signals. Fix for 305080.
3550 2005-05-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3552 * data/evince-ui.xml:
3553 * shell/ev-window.c: (set_view_actions_sensitivity):
3555 Use + and - as accels for zoom in and zoom out. Fix for 305001.
3557 2005-05-22 Marco Pesenti Gritti <mpg@redhat.com>
3561 Depends on poppler 0.3.2
3563 2005-05-22 Marco Pesenti Gritti <mpg@redhat.com>
3565 * cut-n-paste/recent-files/egg-recent-item.c:
3566 (egg_recent_item_get_short_name):
3567 * cut-n-paste/toolbar-editor/Makefile.am:
3568 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
3569 (new_pixbuf_from_widget):
3570 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
3571 * cut-n-paste/toolbar-editor/egg-marshal.c:
3572 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
3573 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
3577 Sat May 21 23:18:30 2005 Jonathan Blandford <jrb@redhat.com>
3579 * tiff/tiff-document.c: Rough TIFF backend.
3581 2005-05-21 Marco Pesenti Gritti <mpg@redhat.com>
3585 * cut-n-paste/toolbar-editor/Makefile.am:
3589 2005-05-21 Marco Pesenti Gritti <mpg@redhat.com>
3591 * shell/ev-view.c: (jump_to_find_result), (ev_view_can_find_next),
3592 (ev_view_find_next), (ev_view_find_previous):
3594 Remove the locks around get_n_results
3596 2005-05-21 Juerg Billeter <j@bitron.ch>
3598 * pdf/ev-poppler.c: (pdf_document_ps_exporter_begin):
3600 Pass correct number of pages to poppler.
3602 2005-05-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3606 * data/evince.desktop.in:
3607 * data/evince.desktop.in.in:
3610 Add conditionally dvi and djvu to desktop types. Fix for 304658.
3612 Sat May 21 00:21:30 2005 Jonathan Blandford <jrb@redhat.com>
3614 * shell/ev-view.c: (view_update_adjustments),
3615 (view_set_adjustment_values): cast adjustmen->value to (int)
3616 before using it. Otherwise, we get off by a pixel in some
3619 (draw_one_page): Draw the border on expose.
3621 Fri May 20 22:05:25 2005 Jonathan Blandford <jrb@redhat.com>
3623 * *shell/ev-view.c: Patch from Nickolay V. Shmyrev to reset the
3624 adjustment when the mode changes, #304923
3626 Fri May 20 02:00:03 2005 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3628 * shell/ev-view.c: Use gdk_widget_queue_draw to remove
3629 flickering on resize but still use gdk_window_scroll on
3632 Fri May 20 01:46:57 2005 Jonathan Blandford <jrb@redhat.com>
3634 * shell/ev-view.c: Patch from Nickolay Shmyrev to fix the -p
3637 Fri May 20 01:27:01 2005 Jonathan Blandford <jrb@redhat.com>
3639 * shell/ev-view.c: Patch from Nickolay Shmyrev to to scroll to
3640 second page on page_changed if possible, #304669
3642 Fri May 20 01:07:15 2005 Jonathan Blandford <jrb@redhat.com>
3644 * shell/ev-view.c (view_update_adjustments): Use gdk_window_scroll
3645 instead of gtk_widget_queue_draw. Massive speedups in scrolling.
3647 Fri May 20 01:05:10 2005 Jonathan Blandford <jrb@redhat.com>
3650 * shell/ev-view.c:(ev_view_size_allocate), (ev_view_class_init),
3651 (zoom_for_size_fit_width), (zoom_for_size_best_fit),
3652 (ev_view_zoom_for_size_presentation),
3653 (ev_view_zoom_for_size_continuous_and_dual_page),
3654 (ev_view_zoom_for_size_continuous),
3655 (ev_view_zoom_for_size_dual_page),
3656 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size):
3658 * shell/ev-window.c: (update_view_size),
3659 (ev_window_sizing_mode_changed_cb):
3661 Patch from Nickolay Shmyrev <nshmyrev@yandex.ru> to handle
3662 the scrollbars. It's not 100% right, but it's much closer. Kills
3663 an infinite loop, #304769
3666 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
3668 * data/evince-ui.xml:
3669 * shell/ev-view.c: (ev_view_scroll_view), (ev_view_class_init):
3670 * shell/ev-window.c: (set_view_actions_sensitivity):
3672 Make PgUp/Down behave like Space
3674 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
3676 * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
3677 * backend/ev-ps-exporter.h:
3678 * pdf/ev-poppler.cc:
3679 * ps/ps-document.c: (ps_document_ps_export_begin):
3680 * shell/ev-print-job.c: (idle_print_handler):
3682 Adapt to new poppler api
3684 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
3686 * cut-n-paste/zoom-control/ephy-zoom-control.c:
3687 (ephy_zoom_control_init):
3689 Translate zoom levels
3691 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
3693 * cut-n-paste/zoom-control/ephy-zoom.c:
3694 (ephy_zoom_get_zoom_level_index):
3696 Fix current zoom -> zoom control match
3698 2005-05-18 James Bowes <bowes@cs.dal.ca>
3700 * shell/ev-window.c: (ev_window_init): Give focus to the ev-view,
3701 rather than the scrolled_window that it's in. Fixes bug #304655.
3703 Tue May 17 22:54:17 2005 Jonathan Blandford <jrb@redhat.com>
3705 * shell/ev-view.c: (view_update_adjustments),
3706 (view_set_adjustment_values), (view_update_range_and_current_page),
3707 (view_scroll_to_page), (set_scroll_adjustment),
3708 (ev_view_set_scroll_adjustments), (add_scroll_binding_keypad),
3709 (ev_view_scroll), (ev_view_scroll_view),
3710 (ensure_rectangle_is_visible), (find_page_at_location),
3711 (get_link_at_location), (go_to_link), (status_message_from_link),
3712 (ev_view_size_request_continuous_dual_page),
3713 (ev_view_size_request), (ev_view_size_allocate), (ev_view_realize),
3714 (ev_view_unrealize), (ev_view_expose_event),
3715 (ev_view_button_press_event), (ev_view_motion_notify_event),
3716 (ev_view_button_release_event), (ev_gdk_color_to_rgb),
3717 (draw_rubberband), (highlight_find_results), (draw_one_page),
3718 (ev_view_finalize), (ev_view_destroy), (ev_view_class_init),
3719 (ev_view_init), (find_changed_cb), (page_changed_cb),
3720 (on_adjustment_value_changed), (ev_view_new),
3721 (ev_view_set_document), (ev_view_set_zoom),
3722 (ev_view_set_continuous), (ev_view_set_dual_page),
3723 (ev_view_set_presentation), (ev_view_zoom_in), (ev_view_zoom_out),
3724 (zoom_for_size_fit_width), (zoom_for_size_best_fit),
3725 (ev_view_zoom_for_size_presentation),
3726 (ev_view_zoom_for_size_continuous_dual_page),
3727 (ev_view_zoom_for_size_continuous),
3728 (ev_view_zoom_for_size_dual_page),
3729 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
3730 (ev_view_get_status), (ev_view_set_status),
3731 (update_find_status_message), (ev_view_get_find_status),
3732 (ev_view_set_find_status), (jump_to_find_result),
3733 (jump_to_find_page), (compute_selections), (clear_selection),
3734 (ev_view_select_all), (get_selected_text), (ev_view_copy),
3735 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
3736 (ev_view_update_primary_selection),
3737 (ev_view_create_invisible_cursor), (ev_view_set_cursor):
3739 * shell/ev-window.c: (ev_window_open_page_label),
3740 (ev_window_cmd_view_reload), (ev_window_sizing_mode_changed_cb),
3742 * shell/ev-window.h:
3743 * shell/main.c: (load_files):
3745 Massive code clean up from Nickolay Shmyrev. Keep page offset
3746 when resizing. Remove the bin_window(). Also, patch from James
3747 Bowes to fix command line page, #300641
3749 2005-05-17 Marco Pesenti Gritti <mpg@redhat.com>
3751 * data/evince-ui.xml:
3754 * shell/ev-window.c: (update_action_sensitivity):
3756 Get rid of View->Normal Size, it's just confusing
3758 Tue May 17 00:51:21 2005 Jonathan Blandford <jrb@redhat.com>
3760 * backend/ev-document-info.h:
3761 * backend/ev-document.c: (ev_document_info_free): Free the
3764 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
3765 (clear_range), (add_range), (update_visible_range),
3766 (adjustment_changed_cb), (ev_sidebar_thumbnails_init),
3767 (ev_sidebar_thumbnails_set_document):
3768 * shell/ev-window.c: (ev_window_setup_document): Only render the
3769 visible thumbnails. It takes an instant to render, but it uses
3772 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
3774 * shell/ev-sidebar-links.c: (popup_menu_cb):
3778 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
3781 * shell/ev-sidebar-links.c: (build_popup_menu), (popup_menu_cb),
3782 (button_press_cb), (ev_sidebar_links_construct):
3784 Show the popup menu also on keybindings
3786 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
3788 * shell/ev-window.c: (ev_window_print), (ev_window_print_range):
3789 * shell/ev-window.h:
3791 Expose api to print a range (with dialog). Make private _print use
3794 * shell/ev-sidebar-links.c: (print_section_cb), (button_press_cb),
3795 (ev_sidebar_links_construct):
3797 Show a print context menu on linkx, it prints the selected
3800 2005-05-15 Carlos Garcia Campos <carlosgc@gnome.org>
3802 * shell/ev-sidebar.c: make the drop down menu as width as the toggle
3805 2005-05-12 Marco Pesenti Gritti <mpg@redhat.com>
3811 * shell/ev-window.c: (build_comments_string),
3812 (ev_window_cmd_help_about):
3814 Show poppler version/backend and authors
3816 2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
3818 * cut-n-paste/zoom-control/ephy-zoom.c:
3819 (ephy_zoom_get_zoom_level_index):
3820 * cut-n-paste/zoom-control/ephy-zoom.h:
3822 Move the best fit items at the top of the list
3824 2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
3826 * shell/ev-marshal.list:
3827 * shell/ev-page-action.c: (ev_page_action_widget_class_init),
3828 (activate_cb), (match_selected_cb), (activate_link_cb),
3829 (connect_proxy), (ev_page_action_class_init):
3830 * shell/ev-page-action.h:
3832 Use signals to notify action activation. Hopefully
3833 I did not break completion since I cant test...
3835 * shell/ev-window.c: (activate_link_cb), (activate_label_cb),
3836 (register_custom_actions):
3838 Connect to page selector actions and also grab focus on
3839 the view when activated.
3841 Wed May 11 01:18:29 2005 Jonathan Blandford <jrb@redhat.com>
3843 * pdf/ev-poppler.cc:
3844 * backend/ev-page-cache.c: make page size calculation consistent
3845 and set it to (int)( width * scale + 0.5). This makes the weird
3846 line going through the middle of the page go away.
3848 * shell/ev-view.c: move painting the background page after
3849 checking the expose area covers us.
3851 2005-05-11 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3853 * data/evince-password.glade:
3855 Mark labels as not translatable. Fix for bug 302842.
3857 2005-05-10 Francisco Javier F. Serrador <serrador@cvs.gnome.org>
3859 * configure.ac: Added "es" to ALL_LINGUAS.
3861 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3863 * data/evince-toolbar.xml:
3864 * shell/ev-window.c: (update_action_sensitivity),
3865 (ev_window_setup_document), (ev_window_set_page_mode),
3868 Remove some leftover code from jrb first continous
3869 attempt. Use the new actions, we still need good icons
3872 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3874 * shell/ev-page-action.c: (update_pages_label), (connect_proxy):
3876 Update label when connecting proxy. Fix a warning with NULL
3879 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3881 * data/evince-ui.xml:
3882 * shell/ev-page-action.c: (ev_page_action_grab_focus):
3883 * shell/ev-page-action.h:
3884 * shell/ev-window.c: (ev_window_cmd_focus_page_selector):
3886 Add mnemonic for edit toolbar.
3887 ctrl+l focus the page entry.
3889 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3892 * shell/ev-window.c: (ev_window_cmd_edit_toolbar_cb),
3894 * shell/main.c: (main):
3896 Put the toolbar xml in evince own dot dir
3898 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3900 * shell/ev-window.c: (ev_window_init):
3902 Make the toolbar not removable
3904 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3906 * data/evince-ui.xml:
3907 * shell/ev-sidebar-links.c: (ev_sidebar_links_get_treeview):
3908 * shell/ev-sidebar-links.h:
3909 * shell/ev-sidebar-thumbnails.c:
3910 (ev_sidebar_thumbnails_get_treeview):
3911 * shell/ev-sidebar-thumbnails.h:
3912 * shell/ev-view.c: (ev_view_scroll), (ev_view_scroll_view),
3913 (ev_view_class_init):
3915 * shell/ev-window.c: (update_action_sensitivity),
3916 (ev_window_cmd_scroll_forward), (ev_window_cmd_scroll_backward),
3917 (set_view_actions_sensitivity), (view_actions_focus_in_cb),
3918 (view_actions_focus_out_cb), (enable_view_actions_for_widget),
3921 This is evil... Make space/backspace global accelerators but
3922 enable them only for some widgets (sidebars and view).
3923 I dont like it, but I dont know a better way... :/
3925 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3927 * shell/ev-page-action.c: (ev_page_action_widget_set_page_cache),
3928 (ev_page_action_widget_finalize),
3929 (ev_page_action_widget_class_init), (update_page_cache):
3931 Keep a weak reference on proxy->page_cache so that we
3932 dont try to disconnect the signal if the object is already
3933 gone. Maybe there is a better way to cleanup reference handling
3934 in page action though...
3936 2005-05-10 Juerg Billeter <j@bitron.ch>
3938 * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
3939 * backend/ev-ps-exporter.h:
3940 * pdf/ev-poppler.cc: (pdf_document_ps_exporter_begin):
3941 * ps/ps-document.c: (ps_document_ps_export_begin):
3943 Change api to pass print range to ps_exporter_begin. The pdf backend
3944 requires this information.
3946 * shell/ev-print-job.c: (idle_print_handler):
3950 2005-05-10 Juerg Billeter <j@bitron.ch>
3952 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
3953 (idle_print_handler)
3954 * shell/ev-window.c: (ev_window_print):
3956 Support printing page range, based on patch by Amaury Jacquot
3958 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3960 * data/evince-toolbar.xml:
3962 Add zoom control to available items
3964 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3966 * shell/ev-window.c: (update_action_sensitivity):
3968 Set slash action insensitive when appropriate
3970 2005-05-10 Christian Persch <chpe@gnome.org>
3972 * cut-n-paste/zoom-control/ephy-zoom-action.c: (create_menu_item):
3974 Fix warning on the overflow menu
3976 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3978 * shell/ev-window.c: (sanity_check_uri), (ev_window_open):
3980 Check for uri correctness/existence
3982 2005-05-09 Juerg Billeter <j@bitron.ch>
3984 * shell/ev-window.c: (using_postscript_printer):
3986 LPD printers use postscript, too
3988 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
3990 * shell/ev-window.c: (register_custom_actions):
3992 The zoom one is actually sort of useful,
3995 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
3997 * shell/ev-window.c: (register_custom_actions):
3999 Hide page/zoom controls from overflow, they
4002 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
4004 * cut-n-paste/update-from-egg.sh:
4006 Share it between all cut-n-paste subdirs
4008 * cut-n-paste/recent-files/Makefile.am:
4010 Fix to use "global" update-from-egg.sh
4012 * cut-n-paste/recent-files/egg-recent-model.c:
4013 (egg_recent_model_changed_timeout), (egg_recent_model_finalize):
4014 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
4015 (egg_recent_view_gtk_clear), (egg_recent_view_gtk_set_list),
4016 (egg_recent_view_gtk_finalize), (egg_recent_view_gtk_set_menu):
4020 * cut-n-paste/toolbar-editor/Makefile.am:
4022 Fix to use "global" update-from-egg.sh
4024 * cut-n-paste/toolbar-editor/eggmarshalers.list:
4028 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
4031 * cut-n-paste/Makefile.am:
4032 * cut-n-paste/recent-files/Makefile.am:
4033 * cut-n-paste/toolbar-editor/.cvsignore:
4034 * cut-n-paste/toolbar-editor/Makefile.am:
4035 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
4036 (egg_editable_toolbar_get_type), (get_toolbar_position),
4037 (get_n_toolbars), (get_dock_nth), (get_toolbar_nth), (find_action),
4038 (drag_data_delete_cb), (drag_begin_cb), (drag_end_cb),
4039 (drag_data_get_cb), (set_drag_cursor), (unset_drag_cursor),
4040 (set_item_drag_source), (create_item_from_action), (create_item),
4041 (data_is_separator), (drag_data_received_cb), (remove_toolbar_cb),
4042 (popup_toolbar_context_menu_cb), (free_dragged_item),
4043 (toolbar_drag_drop_cb), (toolbar_drag_motion_cb),
4044 (toolbar_drag_leave_cb), (create_dock), (set_fixed_style),
4045 (unset_fixed_style), (toolbar_changed_cb), (unparent_fixed),
4046 (update_fixed), (toolbar_added_cb), (toolbar_removed_cb),
4047 (item_added_cb), (item_removed_cb),
4048 (egg_editable_toolbar_construct),
4049 (egg_editable_toolbar_disconnect_model),
4050 (egg_editable_toolbar_deconstruct),
4051 (egg_editable_toolbar_set_model),
4052 (egg_editable_toolbar_set_ui_manager),
4053 (egg_editable_toolbar_set_property),
4054 (egg_editable_toolbar_get_property),
4055 (egg_editable_toolbar_class_init), (egg_editable_toolbar_init),
4056 (egg_editable_toolbar_finalize), (egg_editable_toolbar_new),
4057 (egg_editable_toolbar_new_with_model),
4058 (egg_editable_toolbar_get_edit_mode),
4059 (egg_editable_toolbar_set_edit_mode), (egg_editable_toolbar_show),
4060 (egg_editable_toolbar_hide), (egg_editable_toolbar_set_fixed),
4061 (egg_editable_toolbar_set_drag_dest), (fake_expose_widget),
4062 (new_pixbuf_from_widget), (new_separator_pixbuf),
4063 (update_separator_image), (style_set_cb),
4064 (_egg_editable_toolbar_new_separator_image),
4065 (egg_editable_toolbar_get_model):
4066 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
4067 * cut-n-paste/toolbar-editor/egg-marshal.c:
4068 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
4069 (egg_toolbar_editor_get_type), (compare_actions), (find_action),
4070 (egg_toolbar_editor_set_ui_manager), (toolbar_removed_cb),
4071 (egg_toolbar_editor_set_model), (egg_toolbar_editor_set_property),
4072 (egg_toolbar_editor_get_property), (egg_toolbar_editor_class_init),
4073 (egg_toolbar_editor_finalize), (egg_toolbar_editor_new),
4074 (drag_begin_cb), (drag_end_cb), (editor_drag_data_received_cb),
4075 (editor_drag_data_delete_cb), (drag_data_get_cb),
4076 (elide_underscores), (set_drag_cursor), (event_box_realize_cb),
4077 (editor_create_item), (update_editor_sheet), (setup_editor),
4078 (egg_toolbar_editor_init), (egg_toolbar_editor_add_action),
4079 (parse_item_list), (model_has_action), (update_actions_list),
4080 (egg_toolbar_editor_load_actions):
4081 * cut-n-paste/toolbar-editor/egg-toolbar-editor.h:
4082 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
4083 (egg_toolbars_model_get_type), (egg_toolbars_model_to_xml),
4084 (safe_save_xml), (egg_toolbars_model_save), (toolbars_toolbar_new),
4085 (toolbars_item_new), (free_toolbar_node), (free_item_node),
4086 (egg_toolbars_model_get_flags), (egg_toolbars_model_set_flags),
4087 (egg_toolbars_model_add_separator), (impl_add_item),
4088 (parse_item_list), (egg_toolbars_model_add_toolbar),
4089 (parse_toolbars), (egg_toolbars_model_load), (impl_get_item_id),
4090 (impl_get_item_data), (impl_get_item_type),
4091 (_egg_accumulator_STRING), (egg_toolbars_model_class_init),
4092 (egg_toolbars_model_init), (free_toolbar),
4093 (egg_toolbars_model_finalize), (egg_toolbars_model_new),
4094 (egg_toolbars_model_remove_toolbar),
4095 (egg_toolbars_model_remove_item), (egg_toolbars_model_move_item),
4096 (egg_toolbars_model_n_items), (egg_toolbars_model_item_nth),
4097 (egg_toolbars_model_n_toolbars), (egg_toolbars_model_toolbar_nth),
4098 (egg_toolbars_model_add_item), (egg_toolbars_model_get_item_id),
4099 (egg_toolbars_model_get_item_data),
4100 (egg_toolbars_model_get_item_type):
4101 * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
4102 * cut-n-paste/toolbar-editor/eggmarshalers.list:
4104 * data/evince-toolbar.xml:
4105 * data/evince-ui.xml:
4106 * data/hand-open.png:
4108 * shell/Makefile.am:
4109 * shell/ev-window.c: (update_chrome_visibility),
4110 (ev_window_cmd_edit_toolbar_cb), (ev_window_cmd_edit_toolbar),
4111 (ev_window_dispose), (ev_window_init):
4113 Implement epiphany like toolbar editor. Based on patch by
4114 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4116 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
4118 * shell/ev-sidebar-thumbnails.c: (page_changed_cb):
4120 Use set_cursor instead of set_selection, so that
4121 the keyboard focus moves too.
4123 2005-05-09 Aleksey Kliger <akliger@gmail.com>
4125 * dvi/mdvi-lib/tfmfile.c: (lookup_font_metrics):
4127 Fix infinite loop when loading Type1 fonts
4129 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
4131 * data/evince-ui.xml:
4132 * shell/ev-window.c:
4136 2005-05-09 Thomas de Grenier de Latour <degrenier@easyconnect.fr>
4140 Make --disable really disable
4142 2005-05-07 Juerg Billeter <j@bitron.ch>
4144 * backend/ev-page-cache.c: (ev_page_cache_set_page_label):
4146 Compare page labels even without has_labels set, fixes setting page
4149 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
4151 * shell/ev-view.c: (ev_view_create_invisible_cursor),
4152 (ev_view_set_cursor), (ev_view_button_press_event),
4153 (ev_view_motion_notify_event), (ev_view_button_release_event),
4156 Implement middle button scrolling. Based on a patch
4157 by Tommi Komulainen <tommi.komulainen@iki.fi>.
4159 2005-05-08 Marco Pesenti Gritti <mpg@redhat.com>
4161 * shell/ev-document-types.c: (get_slow_mime_type),
4162 (get_document_type_from_mime), (ev_document_type_lookup):
4163 * shell/ev-document-types.h:
4165 Change api to lookup from uri. Do fast lookup first, if the
4166 type is unknown try with data sniffing.
4168 * shell/ev-window.c: (ev_window_open), (ev_window_open_uri_list):
4169 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
4173 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
4175 * thumbnailer/Makefile.am:
4179 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
4186 * data/evince-ui.xml:
4188 Hide presentation mode for now
4190 * shell/ev-view.c: (highlight_find_results):
4192 Show current find selection only on current page
4194 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
4196 * shell/ev-view.c: (ev_view_select_all):
4198 Compute size of the actual page, not of
4201 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
4203 * shell/ev-view.c: (clear_selection), (ev_view_finalize),
4204 (view_rect_to_doc_rect), (compute_selections),
4205 (ev_view_bin_expose), (ev_view_select_all), (get_selected_text),
4206 (ev_view_copy), (ev_view_primary_get_cb),
4207 (ev_view_primary_clear_cb), (ev_view_update_primary_selection),
4208 (ev_view_button_press_event), (ev_view_motion_notify_event),
4209 (ev_view_button_release_event), (page_changed_cb):
4213 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
4215 * shell/ev-view.c: (compute_border), (get_page_extents),
4216 (doc_rect_to_view_rect), (highlight_find_results),
4217 (ev_view_bin_expose), (ev_view_select_all),
4218 (ev_view_motion_notify_event), (update_find_status_message),
4219 (jump_to_find_result), (jump_to_find_page):
4221 First go at fixing search, still buggy
4223 2005-05-04 Kristian Høgsberg <krh@redhat.com>
4225 * shell/ev-sidebar.c (ev_sidebar_init): Remove frame around
4226 dropdown box and button at the top of the sidebar.
4228 2005-05-02 James Bowes <bowes@cs.dal.ca>
4230 * configure.ac: Output zoom-control Makefile.
4231 * cut-n-paste/Makefile.am: build zoom-control subdir.
4232 * cut-n-paste/zoom-control/ephy-zoom-action.c:
4233 * cut-n-paste/zoom-control/ephy-zoom-action.h:
4234 * cut-n-paste/zoom-control/ephy-zoom-control.c:
4235 * cut-n-paste/zoom-control/ephy-zoom-control.h:
4236 * cut-n-paste/zoom-control/ephy-zoom.c:
4237 * cut-n-paste/zoom-control/ephy-zoom.h: New files imported
4238 from epiphany, and modified to add a separator into the menu.
4239 * cut-n-paste/zoom-control/Makefile.am: Build zoom-control.
4240 * data/evince-ui.xml: Replace old zoom toolbar actions with new
4241 zoom-control action.
4242 * shell/Makefile.am: Include zoom-control flags.
4243 * shell/ev-view.c: (ev_view_set_zoom), (ev_view_get_zoom),
4244 (ev_view_get_sizing_mode), (ev_view_zoom_in), (ev_view_zoom_out),
4245 (ev_view_zoom_for_size_presentation),
4246 (ev_view_zoom_for_size_continuous_and_dual_page),
4247 (ev_view_zoom_for_size_continuous),
4248 (ev_view_zoom_for_size_dual_page),
4249 (ev_view_zoom_for_size_single_page), (ev_view_zoom_normal):
4250 s/ev_view_zoom/ev_view_set_zoom/ and make public, add
4251 ev_view_get_zoom and ev_view_get_sizing_mode.
4253 * shell/ev-window.c: (update_action_sensitivity),
4254 (update_sizing_buttons), (zoom_control_changed_cb),
4255 (register_custom_actions): Initialize and use the zoom-control
4258 Sun May 1 00:46:47 2005 Jonathan Blandford <jrb@redhat.com>
4260 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init): Change the
4261 preview cache back to 1. Don't know when it got set to 0.
4263 * shell/ev-view.c: (compute_border), (ev_view_realize),
4264 (draw_one_page), (ev_view_set_property), (ev_view_get_property),
4265 (ev_view_class_init), (ev_view_init), (ev_view_set_fullscreen),
4266 (ev_view_get_fullscreen), (ev_view_set_presentation),
4267 (ev_view_get_presentation), (ev_view_set_sizing_mode),
4268 (ev_view_zoom_for_size_presentation), (ev_view_set_zoom_for_size):
4270 * shell/ev-window.c:
4271 (update_chrome_visibility),
4272 (ev_window_cmd_continuous), (ev_window_cmd_dual),
4273 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
4274 (update_document_mode), (ev_window_update_fullscreen_action),
4275 (ev_window_fullscreen), (ev_window_unfullscreen),
4276 (ev_window_cmd_view_fullscreen),
4277 (ev_window_update_presentation_action),
4278 (ev_window_run_presentation), (ev_window_stop_presentation),
4279 (ev_window_cmd_view_presentation), (ev_window_state_event),
4280 (ev_window_focus_in_event), (ev_window_focus_out_event),
4281 (ev_window_cmd_escape), (ev_window_sidebar_visibility_changed_cb):
4282 * data/evince-ui.xml: Initial presentation mode. We should
4283 probably hide this until it's done, as it's quite rough. Also,
4284 change full-screen to fullscreen and add two getters to EvView.
4286 2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
4288 * shell/ev-page-action.c: (update_page_cache),
4289 (ev_page_action_dispose):
4290 * shell/ev-window.c: (destroy_fullscreen_popup),
4291 (ev_window_create_fullscreen_popup):
4293 Use connect_object rather than explicitly
4294 disconnect on dispose.
4296 2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
4298 * shell/ev-page-action.c: (update_page_cache),
4299 (ev_page_action_dispose):
4301 2005-04-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4303 * backend/ev-page-cache.c: (_ev_page_cache_new),
4304 (ev_page_cache_set_page_label),
4305 (ev_page_cache_has_nonnumeric_page_labels):
4306 * backend/ev-page-cache.h:
4307 * shell/ev-page-action.c: (update_pages_label):
4309 If all page labels are numeric, fallback to default
4310 way to display number of pages. See bug 173185.
4312 2005-04-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4314 * shell/ev-page-action.c: (ev_page_action_dispose):
4315 * shell/ev-view.c: (view_update_range_and_current_page):
4316 * shell/ev-window.c: (ev_window_dispose):
4318 Set page on scroll in continuous mode. Fixes bug 301986.
4319 Also cleanup callbacks on destroy of EvWindow and EvPageAction.
4321 2005-04-26 Marco Pesenti Gritti <mpg@redhat.com>
4325 Require poppler 0.3.0
4327 2005-04-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4329 * shell/Makefile.am, configure.ac: Fix build problems
4330 with t1lib. Bug 301996.
4332 2005-04-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4334 * shell/ev-view.c: (ev_view_scroll_event):
4336 Scroll up increase zoom
4338 2005-04-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4340 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_class_init),
4341 (ev_view_set_sizing_mode),
4342 (ev_view_zoom_for_size_continuous_and_dual_page),
4343 (ev_view_zoom_for_size_continuous):
4344 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
4345 (ev_window_cmd_view_page_width), (ev_window_cmd_view_zoom_in),
4346 (ev_window_cmd_view_zoom_out), (ev_window_sizing_mode_changed_cb),
4349 Control + Scroll does zooming, Shift + Scroll scrolls horizontally
4350 Fix for 165473 and 165472.
4352 2005-04-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4355 * thumbnailer/Makefile.am:
4356 * thumbnailer/evince-thumbnailer-djvu.schemas.in:
4357 * thumbnailer/evince-thumbnailer-dvi.schemas.in:
4358 * thumbnailer/evince-thumbnailer.schemas.in:
4360 Make thumbnailer schemas translatable. Fix for bug 301773
4362 * thumbnailer/evince-thumbnailer-djvu.schemas:
4363 * thumbnailer/evince-thumbnailer-dvi.schemas:
4364 * thumbnailer/evince-thumbnailer.schemas:
4368 Sun Apr 24 01:37:39 2005 Jonathan Blandford <jrb@redhat.com>
4370 * shell/ev-view.c (ev_view_init): forgot to set this.
4372 Sun Apr 24 01:07:27 2005 Jonathan Blandford <jrb@redhat.com>
4374 * shell/ev-view.c: (find_page_at_location),
4375 (get_link_at_location),
4376 (ev_view_set_show_border), (ev_view_set_spacing),
4377 (ev_view_zoom_for_size_continuous_and_dual_page),
4378 (ev_view_zoom_for_size_continuous): Fix links for dual/continuous.
4379 Also, add a quick fix measuring of widths. Also, removed
4380 ev_view_set_spacing and ev_view_set_show_border.
4382 * shell/ev-window.c: (ev_window_unfullscreen),
4383 (ev_window_cmd_view_fullscreen): Don't adjust the border/spacing.
4385 2005-04-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4387 * shell/ev-view.c: (view_update_range_and_current_page),
4390 Fix crash on exit and scrolling to page in continuous view.
4392 Sat Apr 23 13:13:04 2005 Jonathan Blandford <jrb@redhat.com>
4395 * backend/ev-page-cache.c: (_ev_page_cache_new),
4396 (ev_page_cache_get_max_width_size),
4397 (ev_page_cache_get_max_height_size):
4398 * backend/ev-page-cache.h:
4399 * data/evince-ui.xml:
4400 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init):
4401 * shell/ev-view.c: (view_update_adjustments),
4402 (view_update_range_and_current_page), (get_bounding_box_size),
4403 (ev_view_size_request_continuous_and_dual_page),
4404 (ev_view_size_request_continuous),
4405 (ev_view_size_request_dual_page),
4406 (ev_view_size_request_single_page), (ev_view_size_request),
4407 (ev_view_size_allocate), (get_page_extents), (draw_one_page),
4408 (ev_view_bin_expose), (ev_view_expose_event),
4409 (ev_view_set_property), (ev_view_get_property),
4410 (ev_view_class_init), (ev_view_init), (ev_view_new),
4411 (page_changed_cb), (ev_view_zoom), (ev_view_set_continuous),
4412 (ev_view_set_dual_page), (ev_view_set_full_screen),
4413 (ev_view_set_presentation), (ev_view_set_sizing_mode),
4414 (ev_view_can_zoom_in), (ev_view_can_zoom_out), (ev_view_zoom_in),
4415 (ev_view_zoom_out), (zoom_for_size_fit_width),
4416 (zoom_for_size_best_fit),
4417 (ev_view_zoom_for_size_continuous_and_dual_page),
4418 (ev_view_zoom_for_size_continuous),
4419 (ev_view_zoom_for_size_dual_page),
4420 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
4421 (ev_view_show_cursor), (ev_sizing_mode_get_type):
4423 * shell/ev-window.c: (update_action_sensitivity),
4424 (ev_window_cmd_continuous), (ev_window_cmd_dual),
4425 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
4426 (update_sizing_buttons), (ev_window_cmd_view_zoom_in),
4427 (ev_window_cmd_view_zoom_out), (update_view_size),
4428 (ev_window_set_sizing_mode), (ev_window_init):
4430 Add Continuous and Dual page modes.
4432 2005-04-23 James Bowes <bowes@cs.dal.ca>
4434 * dvi/dvi-document.c: (dvi_document_load),
4435 (dvi_document_thumbnails_get_thumbnail),
4436 (dvi_document_init_params): Fix up some mixups between
4437 width and height to correct thumbnail rendering.
4439 2005-04-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4441 * dvi/mdvi-lib/private.h:
4442 * dvi/mdvi-lib/setup.c: (mdvi_init_kpathsea):
4444 Suppess output for kpathsea during font generation. Thanks to
4447 Fri Apr 22 19:57:46 2005 Jonathan Blandford <jrb@redhat.com>
4454 * Makefile.am: fix distcheck.
4456 2005-04-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4458 * shell/ev-sidebar-links.c: (selection_changed_callback),
4459 (update_page_callback), (row_activated_callback),
4460 (job_finished_callback), (ev_sidebar_links_set_document):
4462 Fix for bug #169901. Double click on links expands tree.
4464 2005-03-14 Bryan Clark <clarkbw@cvs.gnome.org>
4466 * shell/ev-window.c (ev_window_init): Removed fullscreen toolbar
4467 hard-coded style. Fix for bug 170111
4469 2005-04-22 Kristian Høgsberg <krh@redhat.com>
4471 * shell/ev-view.c (highlight_find_results): Remove unnecessary
4474 2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
4476 * thumbnailer/evince-thumbnailer.schemas: real fix for bug 172496
4478 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
4480 * pdf/ev-poppler.cc:
4481 * shell/ev-view.c: (highlight_find_results):
4483 Fix find on single page documents
4485 2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
4487 * data/evince.schemas.in: fix for bug 301390
4489 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
4491 * shell/ev-view.c: (ev_view_can_zoom_in), (ev_view_can_zoom_out),
4492 (ev_view_zoom_out), (ev_view_zoom_normal):
4494 * shell/ev-window.c: (update_action_sensitivity),
4495 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
4496 (ev_window_cmd_view_zoom_in), (ev_window_cmd_view_zoom_out),
4497 (ev_window_cmd_view_normal_size):
4499 Fix normal size zoom. Make zoom in/zoom out unsensitive when
4500 they are behyond the limits. Tweak MAX_ZOOM to 6, sucks but
4503 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
4507 Depend on 2.57, 2.59 doesnt seem to be necessary
4509 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
4511 * shell/ev-page-action.c: (update_pages_label), (page_changed_cb),
4514 Put back total number of pages as (1 of 1234)
4516 Thu Apr 21 23:37:52 2005 Jonathan Blandford <jrb@redhat.com>
4518 * shell/ev-pixbuf-cache.c (dispose_cache_job_info): actually
4521 * backend/ev-document.h: Remove EV_DOC_MUTEX in favor of a locking
4522 function. This helps debugging.
4524 2005-04-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4526 * djvu/djvu-document.c: (djvu_document_class_init),
4527 (djvu_document_get_info), (djvu_document_document_iface_init):
4528 * dvi/dvi-document.c: (dvi_document_class_init),
4529 (dvi_document_get_info), (dvi_document_document_iface_init):
4531 Dummy implementation of get_info method for dvi and djvu. Fix
4532 crashes with those backends
4534 2005-04-20 Marco Pesenti Gritti <mpg@redhat.com>
4536 * data/evince.desktop.in:
4538 Add application/x-gzpostscript
4540 2005-04-20 Bryan Clark <clarkbw@cvs.gnome.org>
4542 * data/evince.schemas.in: Added real long descriptions,
4545 * README: Added actual text, closes bug 171869
4547 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
4549 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
4553 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
4555 * backend/ev-document-info.h:
4557 s/GDate */GDate so we can just use g_free
4559 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
4561 * shell/ev-window.c: (update_document_mode),
4562 (ev_window_setup_document):
4564 Show the window in fullscreen when specified by
4567 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
4569 * backend/ev-document.c: (ev_document_class_init),
4570 (ev_document_get_info), (ev_document_render_pixbuf):
4571 * backend/ev-document.h:
4572 * backend/ev-page-cache.c: (_ev_page_cache_new):
4573 * pdf/ev-poppler.cc:
4574 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
4575 (pixbuf_document_get_info), (pixbuf_document_document_iface_init):
4576 * ps/ps-document.c: (ps_document_class_init), (document_load),
4577 (ps_document_get_info), (ps_document_document_iface_init):
4579 Remove get_title from the interface, we can just use document info
4581 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
4583 * backend/Makefile.am:
4584 * backend/ev-document.c: (ev_document_render_get_info):
4585 * backend/ev-document.h:
4586 * pdf/ev-poppler.cc:
4588 Initial support for document info. Based on jrb patch.
4590 2005-04-19 Paolo Borelli <pborelli@katamail.com>
4592 * shell/ev-window.c: (ev_window_state_event),
4593 (ev_window_class_init), (ev_window_init):
4595 Doesn't show resize grip when maximized. See bug #301053
4597 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4601 ev-sidebar-thumbnails now has translatable labels
4603 * shell/Makefile.am:
4604 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document),
4605 (ev_sidebar_links_support_document), (ev_sidebar_links_get_label),
4606 (ev_sidebar_links_page_iface_init):
4607 * shell/ev-sidebar-links.h:
4608 * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
4609 (ev_sidebar_page_support_document), (ev_sidebar_page_set_document),
4610 (ev_sidebar_page_get_label):
4611 * shell/ev-sidebar-page.h:
4612 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_new),
4613 (ev_sidebar_thumbnails_set_document),
4614 (ev_sidebar_thumbnails_support_document),
4615 (ev_sidebar_thumbnails_get_label),
4616 (ev_sidebar_thumbnails_page_iface_init):
4617 * shell/ev-sidebar-thumbnails.h:
4618 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
4619 (ev_sidebar_set_document):
4620 * shell/ev-sidebar.h:
4621 * shell/ev-window.c: (ev_window_setup_document), (ev_window_init):
4623 Small rework of sidebar code. Now sidebar pages should implement
4624 EvSidebarPage interface. That makes page management in EvSidebar
4625 easier. See bug #164811 for details
4627 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4629 * shell/ev-application.c: (ev_application_open):
4630 * shell/ev-document-types.c:
4632 Fix build error and small problem with application exit
4634 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4636 * thumbnailer/Makefile.am:
4637 * thumbnailer/evince-thumbnailer-djvu.schemas:
4638 * thumbnailer/evince-thumbnailer-dvi.schemas:
4640 Conditionally install schemas for djvu/dvi thumbnailer
4642 2005-04-18 David Malcolm <dmalcolm@redhat.com>
4644 * shell/ev-document-types.h:
4645 * shell/ev-document-types.c:
4646 New files, handling the mapping from mimetypes to backends
4648 * shell/ev-window.c:
4649 * thumbnailer/evince-thumbnailer.c:
4650 Use the ev-document-types code
4652 * shell/Makefile.am:
4653 Added new convenience library libevbackendfactory_la, containing
4654 the new mimetype->backend logic; moved the backends into it.
4656 * thumbnailer/Makefile.am:
4657 Make the thumbnailer link with the libevbackend.la convenience
4658 library, rather than having a duplicate of the backend logic here.
4660 2005-04-18 Paolo Borelli <pborelli@katamail.com>
4662 * shell/ev-stock-icons.c: constify some vars.
4663 * shell/ev-window.c: ditto.
4665 2005-04-18 Marco Pesenti Gritti <mpg@redhat.com>
4667 * ps/ps-document.c (get_page_orientation):
4669 Respect document orientation
4671 2005-04-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4675 * shell/Makefile.am:
4677 Move library dependencies to components.
4679 * shell/ev-window.c: (update_window_title),
4680 (start_loading_document):
4682 Fix display of uris with spaces. Bug 168358.
4684 Sat Apr 16 18:53:47 2005 Jonathan Blandford <jrb@redhat.com>
4686 * shell/ev-sidebar-links.c: (selection_changed_cb):
4687 * shell/ev-view.c: (ev_view_finalize), (go_to_link),
4688 (ev_view_button_release_event), (ev_view_set_document):
4690 * shell/ev-window.c: (find_bar_search_changed_cb):
4691 * shell/ev-window.h: Minor cleanups removing some dead code.
4693 2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4695 * backend/ev-page-cache.c: (_ev_page_cache_new):
4697 Set current page to 0 if document has pages.
4699 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
4701 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
4703 Initialize GError to NULL, fix a crash when loading fails.
4705 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
4707 * shell/ev-window.c: (update_view_size):
4709 Calculate shadow size only when there is actually
4712 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
4714 * shell/ev-view.c: (ev_view_set_spacing), (ev_view_init):
4717 Allow setting view spacing, default to 0
4719 * shell/ev-window.c: (ev_window_unfullscreen),
4720 (ev_window_cmd_view_fullscreen), (ev_window_init):
4722 Remove spacing in fullscreen mode
4724 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
4726 * shell/ev-view.c: (compute_border), (compute_zoom_factor),
4727 (ev_view_size_request), (expose_bin_window),
4728 (ev_view_set_show_border), (ev_view_init), (page_changed_cb):
4730 * shell/ev-window.c: (ev_window_unfullscreen),
4731 (ev_window_cmd_view_fullscreen):
4733 Do not draw the border in fulscreen
4735 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
4737 * shell/ev-view.c: (ev_view_get_offsets), (compute_zoom_factor),
4738 (ev_view_size_request), (expose_bin_window), (ev_view_select_all),
4739 (find_page_at_location), (page_changed_cb):
4741 Rework border calculation, so that I can more easily disable it.
4742 Code somewhat cleaner too.
4744 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
4746 * backend/ev-page-cache.c: (ev_page_cache_init),
4747 (_ev_page_cache_new):
4749 Remove some assertions, documents can have 0 pages.
4750 Make initial current page -1.
4752 * shell/ev-page-action.c: (page_changed_cb):
4754 Show "" if current page is -1
4756 * shell/ev-window.c: (update_action_sensitivity),
4757 (ev_window_setup_document):
4759 When document has 0 pages do not set the view
4760 and make nearly everything insensitive.
4762 2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4764 * shell/ev-page-view.c:
4765 * shell/ev-page-view.h:
4767 Remove unused files.
4769 * shell/ev-sidebar-thumbnails.c:
4770 (ev_sidebar_thumbnails_set_document):
4771 * shell/ev-sidebar.c: (ev_sidebar_set_document),
4772 (ev_sidebar_supports_document):
4773 * shell/ev-sidebar.h:
4774 * shell/ev-window.c: (ev_window_setup_document):
4776 Doesn't show thumbnails if document has 1 page. Make
4777 sidebar menu entries sensitive only if if they have
4778 sense. Fix bug 164811.
4780 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
4782 * shell/ev-view.c: (compute_zoom_factor), (ev_view_size_request),
4783 (page_changed_cb), (ev_view_zoom), (ev_view_zoom_in),
4784 (ev_view_zoom_out), (ev_view_set_size):
4786 Rework sizing to deal with documents with not uniform page
4789 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
4791 * backend/ev-page-cache.c: (_ev_page_cache_new):
4793 Fix several page size caching bugs
4795 2005-04-15 Luca Ferretti <elle.uca@libero.it>
4797 * shell/ev-window.c: (set_action_properties):
4799 Make all toolbar items translatable
4801 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
4803 * ps/ps-document.c: (ps_document_init), (ps_document_get_type),
4804 (save_page_list), (ps_document_save),
4805 (ps_document_document_iface_init), (ps_document_ps_export_begin),
4806 (ps_document_ps_export_do_page), (ps_document_ps_export_end),
4807 (ps_document_ps_exporter_iface_init):
4810 Based on a patch by J�rg Billeter <j@bitron.ch>
4812 Implement print and save a copy for the ps backend.
4814 2005-04-14 Marco Pesenti Gritti <mpg@redhat.com>
4816 * backend/ev-document.h:
4817 * djvu/djvu-document.c: (djvu_document_can_get_text),
4818 (djvu_document_document_iface_init):
4819 * dvi/dvi-document.c: (dvi_document_can_get_text),
4820 (dvi_document_document_iface_init):
4821 * pdf/ev-poppler.cc:
4822 * pixbuf/pixbuf-document.c: (pixbuf_document_can_get_text),
4823 (pixbuf_document_document_iface_init):
4824 * ps/ps-document.c: (ps_document_can_get_text),
4825 (ps_document_document_iface_init):
4826 * shell/ev-view.c: (ev_view_copy), (ev_view_primary_get_cb):
4827 * shell/ev-window.c: (update_action_sensitivity):
4829 Fix the crash when trying to copy in backends that doesnt
4830 support it. We can implement a better solution once we
4831 do real text selection.
4833 2005-04-12 Marco Pesenti Gritti <mpg@redhat.com>
4835 * data/evince-ui.xml:
4836 * shell/ev-window.c: (ev_window_cmd_escape):
4838 Work around the Escape conflict (find bar and unfullscreen)
4840 2005-04-12 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
4842 * backend/ev-page-cache.c: (ev_page_cache_next_page):
4844 Fix for #300233. Next page correctly handles document end.
4846 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
4847 (ev_sidebar_thumbnails_class_init),
4848 (ev_sidebar_thumbnails_set_document),
4849 (ev_sidebar_thumbnails_clear_job),
4850 (ev_sidebar_thumbnails_clear_model):
4852 Cleanup thumbnail jobs on document changes.
4854 * shell/ev-view.c: (add_scroll_binding_keypad),
4855 (add_scroll_binding_shifted), (ev_view_class_init):
4857 Shift + Space scrolls up. Fix for #173184
4859 * shell/ev-window.c: (ev_window_open_page),
4860 (ev_window_cmd_view_reload):
4862 Fix reload (Bug #300094)
4864 2005-04-09 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4867 * dvi/mdvi-lib/assoc.c:
4868 * dvi/mdvi-lib/assoc.h: Removed garbage files
4870 * dvi/mdvi-lib/bitmap.c:
4871 * dvi/mdvi-lib/color.c: (mdvi_set_color), (mdvi_push_color),
4872 (mdvi_pop_color), (mdvi_reset_color), (get_color_table):
4873 * dvi/mdvi-lib/color.h: Antialias of rules
4875 * dvi/mdvi-lib/common.h:
4876 * dvi/mdvi-lib/dviread.c: (mdvi_configure), (mdvi_init_context),
4877 (mdvi_destroy_context), (draw_shrink_rule), (draw_box), (set_rule):
4878 * dvi/mdvi-lib/files.c:
4879 * dvi/mdvi-lib/fontmap.c: (ps_init_default_paths):
4880 * dvi/mdvi-lib/mdvi.h:
4881 * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
4882 * dvi/mdvi-lib/tfmfile.c: (ofm_load_file):
4883 * dvi/mdvi-lib/util.c: Fix compile warnings
4885 * dvi/dvi-document.c:
4886 (dvi_document_load), (dvi_document_thumbnails_get_dimensions),
4887 (dvi_document_thumbnails_get_thumbnail),
4888 (dvi_document_document_thumbnails_iface_init):
4889 * dvi/mdvi-lib/Makefile.am:
4890 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
4891 (dvi_pixbuf_set_color), (mdvi_pixbuf_device_render):
4893 Dvi backend now renders thumbnails
4895 2005-04-09 Christian Persch <chpe@cvs.gnome.org>
4897 * shell/main.c: (main):
4899 Save accelerators on exit. Fixes bug #172095.
4901 Sat Apr 9 01:05:09 2005 Jonathan Blandford <jrb@redhat.com>
4903 * shell/ev-pixbuf-cache.c (move_one_job): Actually fix the "FIXME:
4904 update priority" comment.
4906 * backend/ev-job-queue.c: Give a way to change priority.
4908 Sat Apr 9 00:05:36 2005 Jonathan Blandford <jrb@redhat.com>
4910 * shell/ev-page-action.c: Fix logic.
4912 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
4914 * shell/ev-view.c: (ev_view_can_find_next):
4915 * shell/ev-window.c: (ev_window_setup_document):
4917 Check that the document supports find
4919 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
4921 * data/evince-ui.xml:
4922 * shell/ev-view.c: (ev_view_can_find_next):
4924 * shell/ev-window.c: (update_action_sensitivity),
4925 (find_changed_cb), (ev_window_setup_document),
4926 (ev_window_cmd_edit_find_next):
4930 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
4932 * pdf/ev-poppler.cc:
4933 * shell/ev-print-job.c: (idle_print_handler):
4935 Make printing work again
4937 Fri Apr 8 01:12:24 2005 Jonathan Blandford <jrb@redhat.com>
4939 * shell/ev-page-action.h:
4940 * shell/ev-page-action.c: (ev_page_action_widget_init),
4941 (ev_page_action_widget_class_init), (page_changed_cb),
4942 (create_tool_item), (update_page_cache), (build_new_tree_cb),
4943 (get_filter_model_from_model), (match_selected_cb),
4944 (display_completion_text), (match_completion), (update_model),
4945 (connect_proxy), (ev_page_action_set_property),
4946 (ev_page_action_get_property), (ev_page_action_set_document),
4947 (ev_page_action_set_model), (ev_page_action_class_init): Big
4948 reworking to make completions work iff we have >= GTK-2.7.0
4950 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_property),
4951 (ev_sidebar_links_get_property), (ev_sidebar_links_class_init),
4952 (job_finished_cb): We now have a 'model' property that is set when
4953 the links are loaded. This can be caught with "notify::model"
4955 * shell/ev-window.c: (sidebar_widget_model_set), (ev_window_init):
4956 listen for the model to be set, and propagate it to the action.
4958 2005-04-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4960 * cut-n-paste/recent-files/egg-recent-item.c:
4961 (egg_recent_item_set_uri), (make_valid_utf8),
4962 (egg_recent_item_set_mime_type), (egg_recent_item_get_mime_type):
4963 * cut-n-paste/recent-files/egg-recent-item.h:
4965 Update egg-recent from libegg. This should fix long
4966 startup problem. For details see
4967 http://bugzilla.gnome.org/show_bug.cgi?id=160531
4969 2005-04-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4971 * cut-n-paste/recent-files/Makefile.am:
4972 * data/evince-ui.xml, shell/Makefile.am:
4973 * shell/ev-application.c, shell/ev-application.h:
4974 * shell/ev-window.c: Recent files support.
4976 * configure.ac: Added "ru" to ALL_LINGUAS.
4978 * dvju: new backend to support DJVU files.
4979 * dvi: new backend to support DVI.
4981 * configure.ac, Makefile.am, shell/Makefile.am, ev-window.c:
4982 * ev-application.c: Support for new backends.
4984 * help, ev-window.c, main.c shell/Makefile.am:
4985 Evince user documentation.
4987 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
4990 * shell/ev-window.c:
4991 * thumbnailer/evince-thumbnailer.c:
4993 s/pdf-document/ev-poppler
4995 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
5002 * ps/ps-document.c: (setup_pixmap):
5006 2005-04-05 Kristian Høgsberg <krh@redhat.com>
5008 * backend/ev-page-cache.c (ev_page_cache_next_page):
5009 * shell/ev-window.c (ev_window_cmd_go_next_page)
5010 (ev_window_cmd_go_first_page): Fix of by one errors.
5012 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
5014 * ps/ps-document.c: (get_page_box):
5016 Fix page size calculation
5018 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
5020 * ps/ps-document.c: (ps_document_init), (push_pixbuf),
5021 (ps_document_cleanup), (setup_pixmap), (get_page_box),
5022 (get_page_orientation), (setup_page), (document_load),
5023 (ps_document_get_page_size), (render_pixbuf_idle):
5026 More refactoring to adapt to EvDocument changes
5028 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
5030 * ps/ps-document.c: (start_interpreter):
5032 Actually add alpha args
5034 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
5036 * pdf/ev-poppler.cc:
5038 Make clipboard work again
5040 2005-04-04 Kristian Høgsberg <krh@redhat.com>
5042 Make searching work again.
5044 * backend/ev-document.c:
5045 * backend/ev-document.h:
5046 * backend/ev-document-find.c:
5047 * backend/ev-document-find.h: Change EvDocumentIface so we no
5048 longer store the current page or zoom level in the document. The
5049 consequence is that all calls that operate on the current page now
5050 instead take the page number as an extra argument, and all
5051 coordinates are now doubles in document coordinate system.
5053 * pdf/ev-poppler.cc:
5054 * pixbuf/pixbuf-document.c:
5055 * ps/ps-document.c: Update backends accordingly.
5057 2005-04-04 Marco Pesenti Gritti <marco@gnome.org>
5061 Add required gettext version
5063 Sat Apr 2 18:57:00 2005 Jonathan Blandford <jrb@redhat.com>
5065 * shell/evwindow.c: Patch from Alberto Mesas <amesas@gmail.com> to
5066 make F1 bring up non-existent help.
5068 * shell/eggfindbar.c: Patch from Christian Persch to sync to
5069 epiphany's find bar, #167477
5071 * shell/ev-view.c (ev_view_jump): Patch from Emil Soleyman-Zomalan
5072 <emil@nishra.com> to add space-bar scrolling,
5074 * shell/ev-window.c (static GtkActionEntry entries): add default
5075 keybinding for Help (F1)
5078 * shell/ev-view.c (ev_view_show_cursor): Fix from Yuval Tanny
5079 changing EV_VIEW_CURSOR_LINK to EV_VIEW_CURSOR_NORMAL resolves bug
5082 2005-04-01 David Malcolm <dmalcolm@redhat.com>
5085 * pixbuf/pixbuf-document.c:
5087 Got pixbuf backend working again
5089 2005-04-01 Steve Murphy <murf@e-tools.com>
5091 * configure.in: Added "rw" to ALL_LINGUAS.
5093 Fri Apr 1 02:33:41 2005 Jonathan Blandford <jrb@redhat.com>
5095 * shell/ev-sidebar-links.c (create_loading_model): Fix mismatch in
5096 model types, noticed by Martin Kretzschmar.
5098 2005-04-01 Kristian Høgsberg <krh@redhat.com>
5100 * pdf/ev-poppler.cc: Implement search based on
5101 poppler_page_find_text(). Currently a bit crude since we remember
5102 all matches from all pages. Also, we grab the big document lock
5103 when we search since searching changes the underlying stream and
5104 thus conflicts with the rendering thread.
5106 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
5107 (jump_to_find_page), (ev_view_set_document), (ev_view_find_next),
5108 (ev_view_find_previous): Fix some page indexes to be 0 based,
5109 offset rubber band by view offset,
5111 Fri Apr 01 09:21:12 2005 Pablo Saratxaga <pablo@mandrakesoft.com>
5113 * configure.ac: Added Walloon (wa) to ALL_LINGUAS.
5115 Fri Apr 1 01:59:39 2005 Jonathan Blandford <jrb@redhat.com>
5117 * shell/ev-page-action.c: Changed to use page labels now. Rewrote
5118 completely because I didn't understand GtkActions. I should
5119 read Marco's code more carefully in the future.
5121 * backend/ev-page-cache.h (ev_page_cache_set_page_label): New
5124 2005-03-31 Kristian Høgsberg <krh@redhat.com>
5126 * pdf/ev-poppler.cc (pdf_document_get_links): Update to work with
5127 PopplerRectangle change from poppler CVS.
5129 Thu Mar 31 13:27:50 2005 Jonathan Blandford <jrb@redhat.com>
5131 * backend/ev-document.c: (ev_document_get_page_label):
5132 * backend/ev-document.h:
5133 * backend/ev-page-cache.c: (_ev_page_cache_new),
5134 (ev_page_cache_get_page_label):
5135 * backend/ev-page-cache.h:
5136 * pdf/ev-poppler.cc:
5137 * shell/ev-sidebar-links.c: (ev_sidebar_links_construct),
5138 (links_page_num_func):
5139 * shell/ev-sidebar-thumbnails.c:
5140 (ev_sidebar_thumbnails_set_document):
5141 * shell/ev-view.c: (status_message_from_link),
5142 (ev_view_motion_notify_event):
5143 * shell/ev-window.c: (document_supports_sidebar): Add in page
5144 label support. It's not perfect yet, but it's the first 'feature'
5146 Also, fix a bogus comment noticed by crispin.
5148 Thu Mar 31 01:21:58 2005 Jonathan Blandford <jrb@redhat.com>
5150 * Makefile.am: Remove pixbuf backend for now
5152 * configure.ac: Require poppler-glib instead of just poppler.
5154 * backend/ev-document-thumbnails.h: Add a comment
5156 * backend/ev-document.h:
5157 * backend/ev-document.c: (ev_document_class_init),
5158 (ev_document_load), (ev_document_get_link),
5159 (ev_document_get_links): Remove 3 methods and add get_links.
5162 * backend/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
5163 * backend/ev-jobs.h: now EvJobRender can grab the links for a document.
5165 * backend/ev-link.c: (ev_link_set_title),
5166 (ev_link_mapping_free_foreach), (ev_link_mapping_free),
5167 (ev_link_mapping_find):
5168 * backend/ev-link.h: Allow NULL titles. Also, introduce a mapping link.
5170 * backend/ev-page-cache.c: (ev_page_cache_init),
5171 (_ev_page_cache_new), (ev_page_cache_set_current_page),
5172 (ev_page_cache_get_size), (ev_page_cache_next_page),
5173 (ev_page_cache_prev_page): Fix to be 0 based.
5177 * pdf/ev-poppler.cc: New backend.
5179 * ps/ps-document.c: (ps_document_init), (ps_document_set_page),
5180 (ps_document_get_page), (ps_document_document_iface_init):
5182 * shell/ev-pixbuf-cache.h:
5183 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
5184 (dispose_cache_job_info), (job_finished_cb), (move_one_job),
5185 (ev_pixbuf_cache_update_range), (copy_job_to_job_info),
5186 (add_job_if_needed), (ev_pixbuf_cache_set_page_range),
5187 (ev_pixbuf_cache_get_pixbuf), (ev_pixbuf_cache_get_link_mapping):
5188 Fix up code to grab a page cache per each doc. Also, fix to be 0
5191 * shell/ev-sidebar-thumbnails.c:
5192 (ev_sidebar_tree_selection_changed), (page_changed_cb),
5193 (ev_sidebar_thumbnails_set_document): Fix to be 0 based.
5195 * shell/ev-view.c: (status_message_from_link),
5196 (find_page_at_location), (get_link_at_location),
5197 (ev_view_motion_notify_event), (ev_view_button_release_event),
5198 (ev_view_init): Use the new link code. Fix to be 0 based.
5200 * shell/ev-window.c: (update_action_sensitivity),
5201 (document_supports_sidebar): 0 based.
5203 Fri Mar 25 16:55:58 2005 Jonathan Blandford <jrb@redhat.com>
5205 * pdf/pdf-document.cc: Patch from Fernando Herrera
5206 <fherrera@onirica.com> to fix my quick fix to get_thumbnail.
5209 Wed Mar 23 23:49:41 2005 Jonathan Blandford <jrb@redhat.com>
5211 * pdf/pdf-document.cc (pdf_document_thumbnails_get_thumbnail): add
5212 1 to the page, as this seems to be 1 based. I thought we has this
5215 2005-03-23 Marco Pesenti Gritti <marco@gnome.org>
5218 * backend/Makefile.am:
5219 * backend/ev-document-links.c:
5220 (ev_document_links_has_document_links),
5221 (ev_document_links_get_links_model):
5222 * backend/ev-document-links.h:
5223 * backend/ev-document.c: (ev_document_get_page_cache),
5224 (ev_document_get_doc_mutex), (ev_document_load),
5225 (ev_document_save), (ev_document_get_title),
5226 (ev_document_get_n_pages), (ev_document_set_page),
5227 (ev_document_get_page), (ev_document_set_target),
5228 (ev_document_set_scale), (ev_document_set_page_offset),
5229 (ev_document_get_page_size), (ev_document_get_text),
5230 (ev_document_get_link), (ev_document_render),
5231 (ev_document_render_pixbuf), (ev_document_scale_changed):
5232 * backend/ev-document.h:
5233 * backend/ev-job-queue.c: (remove_object_from_queue),
5234 (notify_finished), (handle_job), (search_for_jobs_unlocked),
5235 (no_jobs_available_unlocked), (ev_render_thread),
5236 (ev_job_queue_init), (find_queue), (ev_job_queue_add_job),
5237 (ev_job_queue_remove_job):
5238 * backend/ev-job-queue.h:
5239 * backend/ev-jobs.c: (ev_job_init), (ev_job_dispose),
5240 (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
5241 (ev_job_links_class_init), (ev_job_render_init),
5242 (ev_job_render_dispose), (ev_job_render_class_init),
5243 (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
5244 (ev_job_thumbnail_class_init), (ev_job_finished),
5245 (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
5246 (ev_job_render_run), (ev_job_thumbnail_new),
5247 (ev_job_thumbnail_run):
5248 * backend/ev-jobs.h:
5249 * backend/ev-link.c:
5250 * backend/ev-link.h:
5251 * backend/ev-page-cache.c: (ev_page_cache_init),
5252 (ev_page_cache_class_init), (ev_page_cache_finalize),
5253 (_ev_page_cache_new), (ev_page_cache_get_n_pages),
5254 (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
5255 (ev_page_cache_set_link), (ev_page_cache_get_title),
5256 (ev_page_cache_get_size), (ev_page_cache_next_page),
5257 (ev_page_cache_prev_page):
5258 * backend/ev-page-cache.h:
5259 * pdf/pdf-document.cc:
5262 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
5263 (push_pixbuf), (interpreter_failed), (ps_document_cleanup),
5264 (ps_document_widget_event), (ps_document_finalize), (get_xdpi),
5265 (get_ydpi), (setup_pixmap), (setup_page), (close_pipe),
5266 (is_interpreter_ready), (output), (catchPipe), (input),
5267 (start_interpreter), (check_filecompressed), (compute_dimensions),
5268 (ps_document_enable_interpreter), (document_load),
5269 (ps_document_next_page), (render_page), (ps_document_set_page),
5270 (ps_document_set_scale), (render_pixbuf_idle),
5271 (ps_document_render_pixbuf), (ps_document_document_iface_init):
5273 * shell/Makefile.am:
5274 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
5275 (ev_pixbuf_cache_class_init), (ev_pixbuf_cache_finalize),
5276 (dispose_cache_job_info), (ev_pixbuf_cache_dispose),
5277 (ev_pixbuf_cache_new), (job_finished_cb),
5278 (check_job_size_and_unref), (move_one_job),
5279 (ev_pixbuf_cache_update_range), (find_job_cache),
5280 (ev_pixbuf_cache_clear_job_sizes), (add_job_if_needed),
5281 (ev_pixbuf_cache_add_jobs_if_needed),
5282 (ev_pixbuf_cache_set_page_range), (ev_pixbuf_cache_get_pixbuf):
5283 * shell/ev-pixbuf-cache.h:
5284 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
5285 (idle_print_handler):
5286 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
5287 (selection_changed_cb), (create_loading_model),
5288 (ev_sidebar_links_construct), (links_page_num_func),
5289 (ev_sidebar_links_clear_document), (update_page_callback_foreach),
5290 (update_page_callback), (job_finished_cb),
5291 (ev_sidebar_links_set_document):
5292 * shell/ev-sidebar-thumbnails.c:
5293 (ev_sidebar_thumbnails_class_init), (adjustment_changed_cb),
5294 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init),
5295 (page_changed_cb), (thumbnail_job_completed_callback),
5296 (ev_sidebar_thumbnails_set_document):
5297 * shell/ev-sidebar-thumbnails.h:
5298 * shell/ev-sidebar.c: (ev_sidebar_set_document):
5299 * shell/ev-view.c: (ev_view_finalize), (ev_view_destroy),
5300 (ev_view_get_offsets), (ev_view_size_request), (ev_view_realize),
5301 (ev_view_unrealize), (highlight_find_results), (expose_bin_window),
5302 (ev_view_select_all), (ev_view_copy), (ev_view_primary_get_cb),
5303 (ev_view_create_invisible_cursor), (ev_view_motion_notify_event),
5304 (ev_view_button_release_event), (ev_view_scroll_view),
5305 (ev_view_class_init), (ev_view_init), (update_find_status_message),
5306 (jump_to_find_result), (jump_to_find_page), (find_changed_cb),
5307 (ev_view_new), (job_finished_cb), (page_changed_cb),
5308 (ev_view_set_document), (go_to_link), (ev_view_zoom),
5309 (size_to_zoom_factor), (ev_view_set_size), (ev_view_find_next),
5310 (ev_view_find_previous):
5312 * shell/ev-window.c: (update_action_sensitivity),
5313 (ev_window_open_page), (update_window_title), (update_total_pages),
5314 (page_changed_cb), (ev_window_setup_document),
5315 (password_dialog_response), (ev_window_cmd_save_as),
5316 (ev_window_print), (ev_window_cmd_go_previous_page),
5317 (ev_window_cmd_go_next_page), (ev_window_cmd_go_first_page),
5318 (ev_window_cmd_go_last_page), (ev_window_cmd_view_reload),
5319 (find_bar_search_changed_cb), (goto_page_cb), (ev_window_init):
5320 * shell/main.c: (main):
5322 Merge evince-threads branch
5324 2005-03-16 Žygimantas Beručka <uid0@akl.lt>
5326 * configure.ac: Added "lt" to ALL_LINGUAS.
5328 2005-03-14 Marco Pesenti Gritti <marco@gnome.org>
5335 2005-03-13 Fernando Herrera <fherrera@onirica.com>
5337 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
5339 Fix here also the thumbnails 1-basedness :)
5341 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
5348 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
5350 * pdf/pdf-document.cc:
5351 * shell/ev-sidebar-thumbnails.c: (adjustment_changed_cb),
5352 (do_one_iteration), (ev_sidebar_thumbnails_set_document):
5354 Fix the mess we did with thumbnails and 1-basedness
5356 2005-03-12 Changwoo Ryu <cwryu@debian.org>
5358 * configure.ac (ALL_LINGUAS): Added "ko" (Korean).
5360 2005-03-09 Marco Pesenti Gritti <marco@gnome.org>
5367 2005-03-08 Marco Pesenti Gritti <marco@gnome.org>
5370 * ps/gsdefaults.c: (gtk_gs_defaults_get_interpreter_cmd),
5371 (gtk_gs_defaults_get_alpha_parameters),
5372 (gtk_gs_defaults_get_ungzip_cmd),
5373 (gtk_gs_defaults_get_unbzip2_cmd):
5375 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
5376 (ps_document_get_orientation), (document_load),
5377 (ps_document_goto_page), (ps_document_set_page_size):
5380 Some more sanitization of the ps backend. Remove a lot
5381 of unused code and do not base our defaults on ggv
5384 2005-03-08 Fernando Herrera <fherrera@onirica.com>
5386 * thumbnailer/evince-thumbnailer.schemas:
5387 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
5388 (main): add -s option for thumbnail size.
5390 2005-03-07 Christian Persch <chpe@cvs.gnome.org>
5394 AC_PROG_RANLIB is rendered obsolete by AC_PROG_LIBTOOL;
5397 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
5399 * pdf/pdf-document.cc:
5401 Remove 4 pixels of useless border from the
5404 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
5406 * backend/ev-document-thumbnails.c:
5407 (ev_document_thumbnails_get_thumbnail):
5408 * backend/ev-document-thumbnails.h:
5410 Rework API a bit. Add a border flag and
5411 change sizing logic (now the size we specify
5412 applies to the bigger dimension).
5414 * pdf/pdf-document.cc:
5415 * pixbuf/pixbuf-document.c:
5416 (pixbuf_document_thumbnails_get_thumbnail):
5417 * shell/ev-sidebar-thumbnails.c: (do_one_iteration):
5418 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
5420 Adapt to the new API and do not draw a border for nautilus
5423 2005-03-03 Fernando Herrera <fherrera@onirica.com>
5425 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
5426 take thumbnails from page "0" instead of "1". Added a copyright header.
5428 2005-03-03 Jens Granseuer <jensgr@gmx.net>
5430 * ps/ps-document.c: (set_up_page), (start_interpreter):
5432 Make it C89 compliant
5434 2005-03-03 Marco Pesenti Gritti <marco@gnome.org>
5439 * pdf/pdf-document.cc:
5440 * thumbnailer/Makefile.am:
5441 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
5443 * thumbnailer/evince-thumbnailer.schemas:
5444 * thumbnailer/pdf-icon.png:
5446 Add a nautilus thumbnailer.
5447 Based on patch by Fernando Herrera <fherrera@onirica.com>.
5449 2005-03-02 Marco Pesenti Gritti <marco@gnome.org>
5457 2005-03-01 Kristian Høgsberg <krh@redhat.com>
5459 Use poppler instead of including xpdf source code. Poppler is a
5460 fork of xpdf to build it as a shared library. See
5461 http://freedesktop.org/wiki/Software/poppler.
5463 * pdf/xpdf/*, pdf/goo/*, pdf/splash/*, pdf/fofi/*: Remove included
5466 * pdf/Makefile.am: Build libpdfdocument.a here.
5468 * pdf/GDKSplashOutputDev.cc:
5469 * pdf/GDKSplashOutputDev.h:
5470 * pdf/GnomeVFSStream.cc:
5471 * pdf/GnomeVFSStream.h:
5474 * test-gdk-output-dev.cc
5476 * Thumb.h: Pull these files out of pdf/xpdf and adjust to compile
5479 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
5481 * shell/ev-sidebar-links.c: (ev_sidebar_links_clear_document):
5483 Clear idle stack before unsetting the document
5485 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
5487 * ps/ps-document.c: (ps_document_widget_event),
5488 (ps_document_set_target), (ps_document_finalize),
5489 (ps_document_get_page):
5491 Disconnect the widget event signal on finalize.
5494 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
5496 * ps/ps-document.c: (set_up_page):
5498 If there is no bpixmap create one, even if size
5501 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
5503 * ps/ps-document.c: (ps_document_init), (ps_document_cleanup),
5504 (set_up_page), (document_load), (ps_document_set_zoom):
5506 Default page is 0. Calculate size even when we have no
5509 2005-02-28 Carlos Garcia Campos <carlosgc@gnome.org>
5511 * shell/ev-sidebar.c: expand the selection widget to be always as
5514 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
5516 * shell/ev-sidebar-thumbnails.c:
5517 (ev_sidebar_thumbnails_set_document):
5519 Clear the list store when setting document
5521 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
5523 * shell/ev-page-action.c: (update_entry), (sync_entry),
5524 (activate_cb), (entry_size_request_cb), (create_tool_item),
5527 Use an entry for the page control instead of spinbuttons
5529 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
5531 * data/evince.schemas.in:
5533 Correct confusing string
5535 Sun Feb 27 23:00:31 2005 Jonathan Blandford <jrb@redhat.com>
5537 * shell/ev-sidebar-links.c (do_one_iteration): Handle title links
5538 for real. Gosh, how long has this been broken.
5540 * pdf/xpdf/pdf-document.cc (build_link_from_action): add back the
5541 check for a NULL link. We crash otherwise.
5543 2005-02-27 Marco Pesenti Gritti <marco@gnome.org>
5550 2005-02-25 Sebastien Bacher <seb128@debian.org>
5552 * configure.ac: add the french translation.
5554 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
5556 * shell/ev-window.c:
5558 Remove unused header -> fix distcheck
5560 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
5562 * shell/ev-window.c: (update_window_title),
5563 (ev_window_popup_password_dialog):
5565 Unescape filename for display
5567 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
5569 * pdf/xpdf/pdf-document.cc:
5571 In get_page_size deal with rotation. Also
5572 cleanup the function a bit.
5574 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
5576 * pdf/xpdf/pdf-document.cc:
5578 Fix crash when opening in new window
5580 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
5584 Check ghostscript >= 7
5586 2005-02-25 Pedro Villavicencio <pvillavi@gnome.cl>
5588 * shell/ev-window.c:
5590 Make page width the default sizing mode
5592 2005-02-25 Carlos Garcia Campos <carlosgc@gnome.org>
5593 Marco Pesenti Gritti <marco@gnome.org>
5595 * shell/ev-window.c: Remember the sidebar size
5597 * data/evince.schemas.in: Add a new gconf key to store the size of
5600 2005-02-24 Kai Willadsen <kaiw@itee.uq.edu.au>
5602 * data/evince-ui.xml:
5603 * shell/ev-window.c: (update_action_sensitivity),
5604 (ev_window_cmd_view_reload):
5606 Add a "Reload" action and menu entry
5608 Thu Feb 24 23:07:33 2005 Jonathan Blandford <jrb@redhat.com>
5610 * shell/ev-window.c (hide_sidebar_and_actions): Hide the sidebar
5611 iff the type doesn't support thumbnailing and indexing.
5613 2005-02-24 Martin Kretzschmar <martink@gnome.org>
5615 * configure.ac (ALL_LINGUAS): Added "zh_TW" (Traditional Chinese).
5617 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
5619 * pdf/splash/Splash.cc:
5621 Port fix for a crasher from kde bug
5622 http://bugs.kde.org/show_bug.cgi?id=97131
5624 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
5626 * pdf/xpdf/pdf-document.cc:
5628 Return a link even if it's of an unrecognized
5629 type. Otherwise we go in an infinte cycle.
5631 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
5633 * shell/ev-window.c: (update_sizing_buttons), (update_view_size),
5634 (size_allocate_cb), (ev_window_set_sizing_mode):
5636 Update size when switching mode
5638 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
5640 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
5641 (ev_window_cmd_view_page_width), (update_sizing_buttons),
5642 (ev_window_cmd_view_normal_size):
5644 Fix size toggle buttons behavior
5646 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
5648 * shell/ev-view.c: (ev_view_get_offsets), (view_rect_to_doc_rect),
5649 (doc_rect_to_view_rect), (ev_view_size_allocate),
5650 (expose_bin_window), (ev_view_select_all), (page_changed_callback),
5651 (scale_changed_callback):
5653 Do not cache offsets in size_allocate.
5655 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
5657 * shell/ev-view.c: (ev_view_size_allocate):
5659 Calculate offsets before calling the parent
5660 class (which does a redraw)
5662 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
5664 * pdf/xpdf/pdf-document.cc:
5666 Fix a crasher on exit. Unused code, put a TODO
5668 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
5670 * backend/ev-document.c: (ev_document_class_init),
5671 (ev_document_page_changed), (ev_document_scale_changed):
5672 * backend/ev-document.h:
5674 Separate page/scale notifications
5676 * pdf/xpdf/pdf-document.cc:
5678 Emit the new signals.
5679 Do not display the pdf page in _render, do it
5680 when scale/page are requested.
5682 * ps/ps-document.c: (ps_document_set_zoom),
5683 (ps_document_widget_event):
5686 Emit the new signals.
5688 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
5689 (ev_view_init), (page_changed_callback), (scale_changed_callback),
5690 (ev_view_set_document), (ev_view_zoom), (ev_view_zoom_in),
5691 (ev_view_zoom_out), (size_to_zoom_factor), (ev_view_set_size):
5693 * shell/ev-window.c: (ev_window_cmd_view_normal_size),
5694 (ev_window_cmd_view_page_width), (size_allocate_cb),
5695 (ev_window_set_sizing_mode):
5697 Rework sizing to be pixel based.
5698 There are bugs but should be already way better.
5700 2005-02-23 Marco Pesenti Gritti <marco@gnome.org>
5702 * shell/ev-window.c: (ev_window_init):
5704 Do not allow to shrink sidebar smaller then
5707 2005-02-23 Carlos Garcia Campos <carlosgc@gnome.org>
5709 * shell/ev-sidebar.[ch]
5710 * shell/ev-window.c:
5712 Improved sidebar widget. Fixes #166683
5714 2005-02-23 Tommi Vainikainen <thv@iki.fi>
5716 * shell/ev-view.c (update_find_status_message): Give translators
5717 more flexibility with ngettext plural handling.
5719 Mon Feb 21 17:52:08 2005 Jonathan Blandford <jrb@redhat.com>
5721 * pdf/xpdf/pdf-document.cc (pdf_document_get_page_size): Patch
5722 from Crispin Flowerday <gnome@flowerday.cx> to avoid rendering the
5723 page when we get the page size.
5725 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
5727 * ps/ps-document.c: (ps_document_set_page), (ps_document_get_page):
5729 ps pages are 0 based, convert
5731 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
5733 * ps/ps-document.c: (ps_document_class_init), (ps_document_load):
5735 Initialize correct parent class. Set GError on document load
5737 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
5739 * pdf/xpdf/pdf-document.cc:
5741 Fixup selection offset calculation
5743 * shell/ev-view.c: (view_rect_to_doc_rect),
5744 (doc_rect_to_view_rect), (ev_view_size_allocate),
5745 (expose_bin_window), (ev_view_select_all), (ev_view_copy),
5746 (ev_view_primary_get_cb), (ev_view_motion_notify_event):
5748 Store selection as document relative, so that zooming
5749 and offset changing doesnt break it.
5751 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
5753 * shell/ev-view.c: (ev_view_best_fit):
5755 Do not try to best fit if the view is not realized
5757 2005-02-20 Kostas Papadimas <pkst@gnome.org>
5759 * configure.ac (ALL_LINGUAS): Added "el" (Greek).
5761 Fri Feb 18 16:06:39 2005 Jonathan Blandford <jrb@redhat.com>
5763 * shell/ev-window.c (ev_window_focus_in_event): missed a case.
5765 Fri Feb 18 15:32:57 2005 Jonathan Blandford <jrb@redhat.com>
5767 * shell/ev-window.c: Change the fullscreen toolbar to always be in
5768 the popup window. That prevents it resizing when in full screen
5771 * shell/ev-view.c: Change Zoom epsilon as a bad hack to avoid
5772 multiple rerenders. This pretty much sucks.
5774 * data/evince-ui.xml: Change the fullscreen toolbar to include the
5775 rest of the toolbar.
5777 2005-02-18 Tommi Vainikainen <thv@iki.fi>
5779 * configure.ac (ALL_LINGUAS): Added "fi" (Finnish).
5781 2005-02-17 Alexander Shopov <ash@contact.bg>
5783 * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
5785 2005-02-16 Bryan Clark <clarkbw@cvs.gnome.org>
5787 * shell/ev-window.c: added ellipsis to Print item. Fixes bug 166915
5789 2005-02-16 Marco Pesenti Gritti <marco@gnome.org>
5791 * shell/ev-view.c: (ev_view_realize), (highlight_find_results),
5792 (ev_view_create_invisible_cursor), (ev_view_set_cursor),
5793 (set_document_page), (document_changed_callback),
5794 (ev_view_set_document), (ev_view_find_previous),
5795 (ev_view_hide_cursor), (ev_view_show_cursor):
5797 * shell/ev-window.c: (update_chrome_visibility),
5798 (fullscreen_timeout_cb), (fullscreen_set_timeout),
5799 (fullscreen_clear_timeout), (fullscreen_motion_notify_cb),
5800 (fullscreen_leave_notify_cb), (ev_window_fullscreen),
5801 (ev_window_unfullscreen):
5802 * shell/main.c: (main):
5804 Automatically hide the fullscreen button.
5805 Patch by Kristian Høgsberg <krh@redhat.com>
5807 2005-02-16 Vincent Noel <vnoel@cox.net>
5809 * shell/main.c (main): Specify an icon for the window. Patch by
5810 Jaap A. Haitsma. Fixes #166177.
5812 Wed Feb 16 06:30:13 2005 Jonathan Blandford <jrb@redhat.com>
5814 * shell/ev-view.c (ev_view_realize): get rid of the black flash.
5816 Tue Feb 15 22:27:13 2005 Jonathan Blandford <jrb@redhat.com>
5818 * backend/ev-document-misc.h:
5819 * backend/ev-document-misc.c:
5820 (ev_document_misc_get_page_border_size),
5821 (ev_document_misc_paint_one_page): New function to canonicalize
5822 sizing/painting a border.
5824 * shell/Makefile.am: Remove ev-page-view.c entirely as it's not
5827 * pdf/xpdf/pdf-document.cc: use new function
5829 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
5830 (ev_view_init), (ev_view_set_mode), (ev_view_zoom),
5831 (ev_view_best_fit), (ev_view_fit_width): * shell/ev-view.h: *
5832 shell/ev-window.c: (update_sizing_buttons),
5833 (ev_window_setup_document), (ev_window_cmd_view_zoom_in),
5834 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_best_fit),
5835 (ev_window_cmd_view_page_width), (size_allocate_cb),
5836 (ev_window_set_sizing_mode), (ev_window_init): make the "best fit"
5837 and "fit width" values act as toggle buttons so they stay
5838 toggled. It's not 100% perfect, and it's a little slow, but it's
5839 good enough to commit I think.
5841 2005-02-15 David Lodge <dave@cirt.net>
5843 * configure.ac (ALL_LINGUAS): Added "en_GB" (English (British)).
5845 2005-02-15 Martin Kretzschmar <martink@gnome.org>
5847 * shell/ev-window.c (update_window_title): replace newlines in
5848 the title by spaces. Bug #166107.
5850 2005-02-14 Martin Kretzschmar <martink@gnome.org>
5852 * shell/ev-view.c (ev_view_best_fit, ev_view_fit_width): add
5853 parameters providing allocation width and height without
5854 scrollbars and width of a possible vertical scrollbar. With this
5855 additional information the functions can work as
5856 intended. Unfortunately they're not idempotent. We should
5857 transform these commands to toggles. Fixes Bug #164976
5858 Initial patch by Stephane Loeuillet, then heavily modified.
5860 * shell/ev-view.h: update prototypes.
5862 * shell/ev-window.c (ev_window_cmd_view_best_fit)
5863 (ev_window_cmd_view_page_width): provide EvView fit functions with
5864 all the information they need. Formulas to calculate this
5865 information taken from GtkScrolledWindow.
5867 2005-02-14 Crispin Flowerday <gnome@flowerday.cx>
5869 * shell/ev-sidebar-thumbnails.c: Ensure that after we have
5870 created a thumbnail, the list store is updated to know
5871 that the thumbnail is set. Fixes bug #166792
5873 2005-02-11 Bryan Clark <clarkbw@cvs.gnome.org>
5875 * shell/ev-window.c: fixed typo, closes bug 166897
5877 * TODO: updated TODO with bug numbers that are relevant
5879 2005-02-09 Carlos Garcia Campos <carlosgc@gnome.org>
5881 * shell/ev-window.c: Support for DnD of files. Fixes #164813
5883 2005-02-09 Vincent Noel <vnoel@cox.net>
5885 * shell/ev-window.c: (set_action_properties): Set the "Previous"
5886 and "Next" toolbar buttons as important to make them stand out.
5888 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
5892 * ps/ps-document.c: (ps_document_finalize), (set_up_page),
5893 (start_interpreter), (stop_interpreter), (document_load),
5894 (ps_document_next_page), (ps_document_goto_page),
5895 (ps_document_set_page_size), (ps_document_widget_event),
5896 (ps_document_render):
5897 * shell/ev-page-view.c: (ev_page_view_dispose):
5898 * shell/ev-view.c: (ev_view_finalize), (expose_bin_window):
5900 Fix compilation on non-gcc platforms
5902 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
5909 * pdf/xpdf/Catalog.cc:
5912 Fix the fix for CAN-2004-0888
5914 2005-02-09 Luca Ferretti <elle.uca@libero.it>
5917 * data/evince-ui.xml:
5918 * shell/ev-stock-icons.c: (ev_stock_icons_init):
5919 * shell/ev-stock-icons.h:
5920 * shell/ev-window.c: (update_action_sensitivity),
5921 (ev_window_cmd_go_previous_page), (ev_window_cmd_go_next_page),
5922 (set_action_properties):
5924 Improve toolbar layout/icons
5926 2005-02-08 Marco Pesenti Gritti <marco@gnome.org>
5928 * pdf/xpdf/pdf-document.cc:
5930 Add warnings about unimplemented/unknown link
5933 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
5935 * ps/ps-document.c: (set_up_page):
5939 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
5941 * ps/ps-document.c: (start_interpreter):
5945 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
5947 * shell/ev-page-view.c: (ev_page_view_dispose):
5948 * shell/ev-view.c: (ev_view_finalize):
5949 * shell/ev-window.c: (ev_window_setup_document),
5950 (ev_window_dispose), (ev_window_init):
5952 Solve more refs issues.
5954 I commented out the page_view initialization for now:
5955 it was never destroyed (because it's never added
5956 to a container). Because of that we was leaking
5957 gs processes. Couldnt think to a clean fix.
5958 We need to figure this out, password view has the
5959 same issue probably.
5961 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
5963 * ps/ps-document.c: (ps_document_finalize),
5964 (ps_document_get_n_pages), (ps_document_get_page):
5966 Some cleanups, stop the interpreter on finalize
5968 * shell/ev-page-view.c: (ev_page_view_dispose),
5969 (ev_page_view_class_init):
5971 Release our reference on the document
5973 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
5977 * doc/debugging.txt:
5980 * lib/ev-debug.c: (log_module), (trap_handler), (ev_debug_init),
5981 (ev_profiler_new), (ev_should_profile), (ev_profiler_dump),
5982 (ev_profiler_free), (ev_profiler_start), (ev_profiler_stop):
5985 Add debugging helpers
5988 * ps/ps-document.c: (set_up_page), (start_interpreter),
5989 (stop_interpreter), (document_load), (ps_document_next_page),
5990 (ps_document_goto_page), (ps_document_set_page_size),
5991 (ps_document_widget_event), (ps_document_render):
5992 * shell/Makefile.am:
5993 * shell/ev-view.c: (expose_bin_window):
5994 * shell/main.c: (main):
5998 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
6000 * ps/ps-document.c: (ps_document_widget_event):
6002 Initialize message_window, this should make ps
6003 rendering really work! (Never noticed because I was
6004 testing with a ps that is causing gs to exit every time!)
6006 2005-02-07 Bryan Clark <clarkbw@cvs.gnome.org>
6008 * data/evince.schemas.in: updated simple error in applyto closing tag
6010 2005-02-07 Christian Persch <chpe@cvs.gnome.org>
6016 * data/evince-ui.xml:
6017 A data/evince.schemas.in:
6019 * shell/ev-stock-icons.c: (ev_stock_icons_init):
6020 * shell/ev-stock-icons.h:
6021 * shell/ev-window.c: (update_chrome_visibility),
6022 (update_chrome_flag), (ev_window_cmd_edit_find),
6023 (ev_window_update_fullscreen_popup), (ev_window_fullscreen),
6024 (ev_window_unfullscreen), (ev_window_focus_in_event),
6025 (ev_window_focus_out_event), (ev_window_cmd_leave_fullscreen),
6026 (ev_window_view_toolbar_cb), (ev_window_view_statusbar_cb),
6027 (ev_window_view_sidebar_cb), (find_bar_close_cb),
6028 (ev_window_dispose), (ev_window_class_init),
6029 (set_action_properties), (set_chrome_actions), (load_chrome),
6032 Implement fullscreen mode changes from bug #164776.
6033 Also implement persistent chrome toggles.
6035 2005-02-07 Jordi Mallach <jordi@sindominio.net>
6037 * configure.ac (ALL_LINGUAS): Added "ca" (Catalan).
6039 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
6045 Add another check for find interface
6049 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
6051 * shell/ev-application.c: (ev_application_open):
6052 * shell/ev-window.c: (ev_window_open):
6054 Open gzipped ps documents
6056 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
6059 * shell/ev-view.c: (set_document_page):
6061 Clamp page number, dont try to move to
6064 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
6066 * backend/ev-document-find.c: (ev_document_find_changed):
6067 * backend/ev-document-find.h:
6068 * pdf/xpdf/pdf-document.cc:
6069 * shell/ev-view.c: (jump_to_find_result), (ev_view_set_document):
6070 * shell/ev-window.c: (find_bar_search_changed_cb):
6072 Fix several bugs with find
6074 2005-02-04 Martin Kretzschmar <martink@gnome.org>
6076 * shell/ev-sidebar-thumbnails.c
6077 (ev_sidebar_thumbnails_select_page): do nothing unless we have a
6078 document. Prevents warning from scroll_to_cell.
6080 2005-02-02 Kjartan Maraas <kmaraas@gnome.org>
6082 * configure.ac: Add «nb» to ALL_LINGUAS too.
6084 Wed Feb 2 21:13:11 2005 Jonathan Blandford <jrb@redhat.com>
6086 * NOTES: New file with some random thoughts.
6090 * backend/ev-document-misc.c:
6091 (ev_document_misc_get_page_border_size): New function to
6092 canonicalize shadow drawing sizes. Possibly goofy.
6094 * shell/ev-view.c: (ev_view_size_request), (set_document_page),
6095 (ev_view_best_fit), (ev_view_fit_width):
6096 * pdf/xpdf/pdf-document.cc:
6097 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
6098 * ps/ps-document.c: (ps_document_get_page_size):
6099 * backend/ev-document-misc.h:
6100 * backend/ev-document.c: (ev_document_get_page_size):
6101 * backend/ev-document.h: get_page_size now takes a page number
6102 parameter. Made all the backends/frontends honor it.
6104 * data/evince-ui.xml: Added a multiple-page mode. Uncomment to
6105 see. Doesn't work yet.
6107 * shell/Makefile.am:
6108 * shell/ev-page-view.[ch]: New multi-page view. Really rough.
6109 Doesn't do anything yet.
6111 * shell/ev-sidebar-thumbnails.c:
6112 (ev_sidebar_thumbnails_set_document): [1..n_pages] instead of
6115 * shell/ev-window.c: (update_action_sensitivity),
6116 (ev_window_setup_document), (ev_window_set_page_mode),
6117 (ev_window_page_mode_cb), (ev_window_init): Clean up the
6118 view-swapping code a bit so we can have multiple views on a
6119 document. Add the multi-page view, though it can't be turned on
6122 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
6124 * shell/ev-application.c: (ev_application_open):
6125 * shell/ev-view.c: (expose_bin_window):
6126 * shell/ev-window.c: (ev_window_open):
6128 Support eps and check document supports find
6129 before drawing highlightings in expose.
6131 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
6133 * pixbuf/pixbuf-document.c:
6134 (pixbuf_document_thumbnails_get_dimensions),
6135 (pixbuf_document_document_thumbnails_iface_init):
6137 implement get_dimensions
6139 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
6146 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
6148 * shell/ev-view.c: (set_document_page):
6150 Scroll at the top of the page when changing page
6152 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
6154 * shell/ev-view.c: (ev_view_motion_notify_event):
6156 Do not redraw unnecessarily
6158 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
6160 * pdf/xpdf/pdf-document.cc:
6161 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
6162 (expose_bin_window), (find_changed_cb):
6164 Yay! find works now... Now to find bugs...
6166 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
6168 * backend/ev-document-find.c: (ev_document_find_base_init),
6169 (ev_document_find_changed):
6170 * backend/ev-document-find.h:
6171 * pdf/xpdf/pdf-document.cc:
6172 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
6173 (expose_bin_window), (ev_view_init), (set_document_page),
6174 (ensure_rectangle_is_visible), (jump_to_find_result),
6175 (jump_to_find_page), (find_changed_cb), (ev_view_set_document),
6176 (ev_view_find_next), (ev_view_find_previous):
6178 * shell/ev-window.c: (find_bar_previous_cb), (find_bar_next_cb):
6180 More work on find implementation, mostly there now
6182 2005-01-29 Marco Pesenti Gritti <marco@gnome.org>
6184 * backend/ev-backend-marshalers.list:
6185 * backend/ev-document-find.c: (ev_document_find_base_init),
6186 (ev_document_find_cancel), (ev_document_find_page_has_results),
6187 (ev_document_find_get_n_results), (ev_document_find_get_result),
6188 (ev_document_find_get_progress), (ev_document_find_changed):
6189 * backend/ev-document-find.h:
6191 Enanche the find interface to be really able to do
6194 * pdf/xpdf/pdf-document.cc:
6198 * shell/ev-view.c: (ev_view_finalize), (highlight_find_results),
6199 (expose_bin_window), (ev_view_init),
6200 (ev_view_get_find_status_message), (find_changed_cb),
6201 (ev_view_set_document), (set_document_page):
6203 Adapt to the new interface. A few things are regressed sorry,
6204 I will finish it soon.
6206 2005-01-28 Martin Kretzschmar <martink@gnome.org>
6208 * shell/ev-sidebar-thumbnails.c (ev_sidebar_thumbnails_destroy)
6209 (ev_sidebar_thumbnails_class_init): use G_DEFINE_TYPE-supplied
6210 ev_sidebar_thumbnails_parent_class variable, don't define another
6211 parent_class variable.
6213 * shell/ev-page-action.c (connect_proxy, ev_page_action_finalize)
6214 (ev_page_action_class_init): ditto.
6216 * pixbuf/pixbuf-document.c (pixbuf_document_finalize)
6217 (pixbuf_document_class_init): ditto.
6219 * backend/ev-link.c (ev_window_dispose, ev_link_class_init):
6222 * .cvsignore: ignore various valgrind output files.
6224 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
6226 * data/evince-ui.xml:
6227 * shell/Makefile.am:
6228 * shell/ev-history.c:
6229 * shell/ev-history.h:
6230 * shell/ev-navigation-action.c:
6231 * shell/ev-navigation-action.h:
6232 * shell/ev-view.c: (ev_view_finalize), (ev_view_go_to_link),
6233 (ev_view_set_page), (ev_view_fit_width):
6235 * shell/ev-window.c: (update_action_sensitivity),
6236 (ev_window_setup_document), (register_custom_actions):
6238 Kill session history
6240 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
6242 * shell/ev-window.c: (update_action_sensitivity):
6244 Fix inverted up/down buttons
6246 2005-01-27 Martin Kretzschmar <martink@gnome.org>
6248 * shell/ev-sidebar-thumbnails.c
6249 (ev_sidebar_thumbnails_select_page): make sure the selected
6250 thumbnail stays visible.
6252 2005-01-26 Martin Kretzschmar <martink@gnome.org>
6254 * shell/ev-window.c (ev_window_init): add GTK_SHADOW_IN to the
6255 scrolled window for Federico.
6257 2005-01-26 Ole Laursen <olau@hardworking.dk>
6259 * configure.ac: Added "da" (Danish) to ALL_LINGUAS.
6261 2005-01-26 Marco Pesenti Gritti <marco@gnome.org>
6264 * pdf/splash/SplashFTFontEngine.cc:
6266 Fix CID fonts with freetype 2.1.9
6268 2005-01-26 Bryan Clark <clarkbw@cvs.gnome.org>
6270 * TODO: added item for desktop icon thumbnailer
6272 Tue Jan 25 00:59:34 2005 Jonathan Blandford <jrb@redhat.com>
6274 * pdf/xpdf/pdf-document.cc (pdf_document_get_title): guard against
6275 unloaded docs when the title is accessed.
6277 * shell/ev-password-view.[hc]: New widget for displaying password
6280 * shell/ev-window.[ch]: Refactor password handling code to handle
6283 2005-01-24 Marco Pesenti Gritti <marco@gnome.org>
6291 2005-01-23 Stephane LOEUILLET <stephane.loeuillet@tiscali.fr>
6293 * pdf/xpdf/pdf-document.cc (pdf_document_search_page_changed):
6294 ignore page offset here, to make search results independent of it,
6296 * shell/ev-view.c (expose_bin_window): but take offsets into
6297 account here. Bug #164932
6299 * pdf/xpdf/pdf-document.cc (pdf_document_get_link): divide by
6300 scale at the right time. Bug #164996
6302 2005-01-22 Martin Kretzschmar <martink@gnome.org>
6304 * pdf/xpdf/GlobalParams.cc: My 2005-01-05 change didn't actually
6305 fix the problem. Now I just removed the Adobe font names and hope
6306 that the URW fonts are always in outline format. Bug #164934
6308 * shell/ev-window.c (update_window_title): empty titles are
6309 useless, use filename in that case too.
6311 * NEWS: Add some content.
6313 2005-01-21 Bryan Clark <clarkbw@cvs.gnome.org>
6315 * TODO: added one more TODO item and a TODONE section :)
6317 2005-01-21 Martin Kretzschmar <martink@gnome.org>
6319 * ps/ps-document.h: add page_[xy]_offset fields.
6321 * ps/ps-document.c (ps_document_set_page_offset)
6322 (ps_document_render): Keep offset in consideration in a few
6323 places. Bug #164752 "postscript documents are not centered in
6326 * data/evince.desktop.in (X-GNOME-Bugzilla-Product):
6327 s/gpdf/evince/. Spotted by Stephane Loeuillet.
6329 * pixbuf/pixbuf-document.c (pixbuf_document_get_n_pages)
6330 (pixbuf_document_get_text, pixbuf_document_document_iface_init):
6331 stub out missing methods for complete EvDocument implementation.
6332 Fixes segfaults with Save A Copy and Copy actions.
6334 * ps/ps-document.c (ps_document_save, ps_document_get_text)
6335 (ps_document_document_iface_init): ditto.
6337 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
6341 * data/evince.desktop.in:
6345 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
6347 * shell/ev-view.c: (ev_view_button_press_event),
6348 (ev_view_motion_notify_event):
6350 Make selection work in any direction
6352 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
6355 * shell/ev-window.c: (set_short_labels), (ev_window_init):
6357 Use shorter labels for some of the toolbars items
6359 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
6361 * pdf/xpdf/pdf-document.cc:
6363 Check the links info is initialized before
6364 using it. Should fix a crash on startup.
6366 2005-01-21 Martin Kretzschmar <martink@gnome.org>
6368 * pixbuf/pixbuf-document.c
6369 (pixbuf_document_thumbnails_get_dimensions): force floating point
6370 division to calculate page_ratio. Fixes crash with landscape
6373 Thu Jan 20 18:56:35 2005 Jonathan Blandford <jrb@redhat.com>
6375 * shell/ev-view.c (ev_view_realize): make the bg color darker.
6377 2005-01-20 Martin Kretzschmar <martink@gnome.org>
6379 * shell/ev-view.c (set_document_page): unset has_selection when
6381 (set_document_page): handle paper size changes when the page
6382 changes (test with Free Culture, page 2).
6384 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
6386 * shell/ev-view.c: (ev_view_size_request), (ev_view_realize),
6387 (expose_bin_window), (ev_view_class_init), (ev_view_init):
6389 Use normal style color for the widget background and
6390 draw a black box around the page.
6392 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
6394 * pdf/xpdf/pdf-document.cc:
6396 Keep offset in consideration in a few places
6398 * shell/ev-view.c: (expose_bin_window):
6400 Set the offsets so that the document is ever centered
6402 2005-01-20 Bryan Clark <clarkbw@cvs.gnome.org>
6404 * TODO: Added TODO items and finished off the first todo item
6406 * AUTHORS: Updated AUTHORS section with piece from gpdf file and
6407 reflect current authors
6409 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
6411 * pdf/xpdf/pdf-document.cc:
6412 * shell/ev-view.c: (ev_view_set_cursor),
6413 (ev_view_motion_notify_event), (document_changed_callback),
6414 (set_document_page):
6416 Show a wait cursor while the page is rendering
6418 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
6420 * shell/ev-sidebar-thumbnails.c:
6421 (ev_sidebar_tree_selection_changed),
6422 (ev_sidebar_thumbnails_select_page):
6423 * shell/ev-sidebar-thumbnails.h:
6424 * shell/ev-view.c: (ev_view_set_document), (ev_view_can_go_back),
6425 (ev_view_can_go_forward):
6426 * shell/ev-window.c: (ev_window_open_page),
6427 (ev_window_setup_document), (update_current_page),
6428 (view_page_changed_cb), (ev_window_init):
6429 * shell/ev-window.h:
6431 Ensure thumbnails selection, toolbar page control and
6432 current page are in sync.
6434 2005-01-19 Marco Pesenti Gritti <marco@gnome.org>
6440 Wed Jan 19 01:10:57 2005 Jonathan Blandford <jrb@redhat.com>
6442 * backend/Makefile.am:
6443 * backend/ev-document-links.h:
6444 * backend/ev-document-security.c: (ev_document_security_get_type),
6445 (ev_document_security_has_document_security),
6446 (ev_document_security_set_password):
6447 * backend/ev-document-security.h:
6448 * backend/ev-document.c: (ev_document_error_quark):
6449 * backend/ev-document.h:
6451 * data/evince-password.glade:
6452 * pdf/xpdf/pdf-document.cc:
6453 * shell/Makefile.am:
6454 * shell/ev-password.c: (ev_password_set_bad_password_label),
6455 (ev_window_password_entry_changed_cb), (ev_password_dialog_new),
6456 (ev_password_dialog_get_password),
6457 (ev_password_dialog_set_bad_pass):
6458 * shell/ev-password.h:
6459 * shell/ev-window.c: (ev_window_get_attribute),
6460 (ev_window_set_property), (update_action_sensitivity),
6461 (ev_window_is_empty), (mime_type_supported_by_gdk_pixbuf),
6462 (ev_window_setup_document), (ev_window_get_password),
6463 (ev_window_open), (ev_window_cmd_save_as),
6464 (using_postscript_printer), (ev_window_print),
6465 (find_not_supported_dialog), (ev_window_cmd_edit_find),
6466 (update_fullscreen_popup), (ev_window_fullscreen),
6467 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
6468 (ev_window_focus_out_cb), (ev_window_cmd_help_about),
6469 (menu_item_select_cb), (find_bar_search_changed_cb),
6470 (ev_window_dispose), (ev_window_init):
6472 Add initial support for password-supported dialogs. This could be
6473 a lot cooler, but it'll do for now.
6475 2005-01-18 Marco Pesenti Gritti <marco@gnome.org>
6477 * pdf/xpdf/pdf-document.cc:
6478 * shell/ev-view.c: (status_message_from_link),
6479 (ev_view_set_status), (ev_view_set_cursor),
6480 (ev_view_motion_notify_event), (ev_view_init):
6481 * shell/ev-window.c: (view_status_changed_cb), (ev_window_init):
6483 Fix bugs in the links implementation and change cursor
6484 when hovering a link.
6486 2005-01-17 Bryan Clark <clarkbw@cvs.gnome.org>
6488 * viewer/.cvsignore: added cvsignore file for viewer directory
6490 * TODO: created TODO document
6492 2005-01-14 Dave Malcolm <dmalcolm@redhat.com>
6495 * shell/ev-view.c (ev_view_can_go_back), (ev_view_can_go_forward):
6496 new functions to help with implementation of sensitivity code
6497 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
6498 of all actions that might require it. Fixes a crash when you
6499 click on the Zoom actions in a window lacking a document.
6501 2005-01-13 Dave Malcolm <dmalcolm@redhat.com>
6503 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
6506 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
6508 * pixbuf/pixbuf-document.c: (pixbuf_document_get_link),
6509 (pixbuf_document_document_iface_init):
6510 * ps/ps-document.c: (ps_document_get_link),
6511 (ps_document_document_iface_init):
6512 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event),
6513 (status_message_from_link), (ev_view_set_status),
6514 (ev_view_set_find_status), (ev_view_motion_notify_event),
6515 (ev_view_button_release_event), (ev_view_set_property),
6516 (ev_view_get_property), (ev_view_class_init), (ev_view_init),
6517 (ev_view_get_find_status_message), (update_find_results),
6518 (ev_view_get_status), (ev_view_get_find_status):
6520 * shell/ev-window.c: (view_status_changed_cb),
6521 (view_find_status_changed_cb), (ev_window_init):
6523 View status message support, use it to show the links.
6526 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
6528 * backend/ev-document.c: (ev_document_get_link):
6529 * backend/ev-document.h:
6530 * pdf/xpdf/pdf-document.cc:
6531 * shell/ev-application.c: (ev_application_open):
6532 * shell/ev-application.h:
6533 * shell/ev-sidebar-links.c: (selection_changed_cb):
6534 * shell/ev-view.c: (ev_view_button_release_event), (go_to_link),
6535 (ev_view_go_to_link):
6537 Add support for document links
6539 2005-01-13 Anders Carlsson <andersca@gnome.org>
6541 * shell/ev-page-action.c: (update_spin), (total_pages_changed_cb),
6543 Set the spin button limits correctly.
6545 * shell/ev-sidebar-thumbnails.c:
6546 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init):
6547 Support changing pages by clicking on the thumbnails.
6549 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
6551 * pixbuf/pixbuf-document.c:
6552 (pixbuf_document_thumbnails_get_dimensions),
6553 (pixbuf_document_document_thumbnails_iface_init):
6555 implement get_dimensions
6557 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
6559 * ps/ps-document.c: (ps_document_goto_page):
6561 Fix page switching on multipage documents
6563 2005-01-12 Jeff Muizelaar <jrmuizel@nit.ca>
6565 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
6567 check for NULL before assigning to width and height parameters
6569 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
6571 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
6572 (pixbuf_document_set_property), (pixbuf_document_get_property):
6574 implement get/set properties
6576 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
6578 * pdf/xpdf/pdf-document.cc: (pdf_info_dict_get_string):
6580 return NULL instead of "Unknown", letting the title get set to
6581 the filename when the pdf has no title.
6583 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
6585 * ps/ps-document.c: (ps_document_get_page_count),
6586 (ps_document_goto_page):
6588 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
6590 * shell/ev-history.c: (ev_history_get_property),
6591 (ev_history_set_property), (ev_history_class_init),
6592 (ev_history_add_page), (ev_history_set_current_index):
6593 * shell/ev-navigation-action.c: (ev_navigation_action_set_history),
6594 (activate_menu_item_cb), (new_history_menu_item), (build_menu),
6595 (ev_navigation_action_finalize):
6596 * shell/ev-navigation-action.h:
6597 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
6598 (ev_view_go_forward), (ev_view_get_find_status_message),
6599 (history_index_changed_cb), (ev_view_set_history):
6601 * shell/ev-window.c: (update_total_pages), (ev_window_open),
6602 (update_current_page), (register_custom_actions):
6604 Implement history dropdowns
6606 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
6608 * shell/ev-history.c: (ev_history_init), (ev_history_add_link):
6609 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
6610 (ev_view_go_forward):
6611 * shell/ev-window.c: (register_custom_actions):
6613 Fix several history bugs
6615 2005-01-11 Kjartan Maraas <kmaraas@gnome.org>
6617 * configure.ac: Add «nb» to ALL_LINGUAS.
6619 2005-01-10 Marco Pesenti Gritti <marco@gnome.org>
6621 * backend/Makefile.am:
6622 * backend/ev-bookmark.c:
6623 * backend/ev-bookmark.h:
6624 * backend/ev-document-bookmarks.c:
6625 * backend/ev-document-bookmarks.h:
6626 * backend/ev-document-links.c: (ev_document_links_get_type),
6627 (ev_document_links_has_document_links),
6628 (ev_document_links_begin_read), (ev_document_links_get_link),
6629 (ev_document_links_get_child), (ev_document_links_next),
6630 (ev_document_links_free_iter):
6631 * backend/ev-document-links.h:
6632 * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_title),
6633 (ev_link_set_title), (ev_link_get_uri), (ev_link_set_uri),
6634 (ev_link_get_link_type), (ev_link_set_link_type),
6635 (ev_link_get_page), (ev_link_set_page), (ev_link_get_property),
6636 (ev_link_set_property), (ev_window_dispose), (ev_link_init),
6637 (ev_link_class_init), (ev_link_new_title), (ev_link_new_page),
6638 (ev_link_new_external):
6639 * backend/ev-link.h:
6640 * pdf/xpdf/pdf-document.cc:
6641 * shell/Makefile.am:
6642 * shell/ev-application.c: (ev_application_open_link):
6643 * shell/ev-application.h:
6644 * shell/ev-history.c: (ev_history_add_link), (ev_history_add_page),
6645 (ev_history_get_link_nth):
6646 * shell/ev-history.h:
6647 * shell/ev-sidebar-bookmarks.c:
6648 * shell/ev-sidebar-bookmarks.h:
6649 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
6650 (ev_sidebar_links_class_init), (selection_changed_cb),
6651 (ev_sidebar_links_construct), (ev_sidebar_links_init),
6652 (links_page_num_func), (ev_sidebar_links_new), (stack_data_free),
6653 (do_one_iteration), (populate_links_idle),
6654 (ev_sidebar_links_clear_document), (ev_sidebar_links_set_document):
6655 * shell/ev-sidebar-links.h:
6656 * shell/ev-sidebar.c: (ev_sidebar_set_document):
6657 * shell/ev-view.c: (go_to_link), (ev_view_go_to_link),
6660 * shell/ev-window.c: (ev_window_open_link), (ev_window_init):
6661 * shell/ev-window.h:
6663 Rename bookmark to link, and use "Index" for the sidebar panel.
6665 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
6667 * shell/Makefile.am:
6668 * shell/ev-application.c: (ev_application_open_bookmark):
6669 * shell/ev-application.h:
6670 * shell/ev-history.c: (ev_history_init), (free_links_list),
6671 (ev_history_finalize), (ev_history_class_init),
6672 (ev_history_add_link), (ev_history_add_page),
6673 (ev_history_get_link_nth), (ev_history_get_n_links),
6674 (ev_history_get_current_index), (ev_history_set_current_index),
6676 * shell/ev-history.h:
6677 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
6678 * shell/ev-view.c: (ev_view_finalize), (ev_view_set_document),
6679 (set_document_page), (go_to_bookmark), (ev_view_go_to_bookmark),
6680 (go_to_index), (ev_view_go_back), (ev_view_go_forward),
6683 * shell/ev-window.c: (ev_window_open_bookmark),
6684 (ev_window_cmd_go_back), (ev_window_cmd_go_forward),
6685 (goto_page_cb), (register_custom_actions):
6686 * shell/ev-window.h:
6688 Initial history implementation. Needs work.
6690 2005-01-09 Martin Kretzschmar <martink@gnome.org>
6692 * pdf/xpdf/GDKSplashOutputDev.cc (redraw): fix pixbuf data offset.
6694 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
6696 * cut-n-paste/recent-files/egg-recent-item.c:
6697 * cut-n-paste/recent-files/egg-recent-item.h:
6698 * cut-n-paste/recent-files/egg-recent-model.c:
6699 * cut-n-paste/recent-files/egg-recent-util.c:
6700 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
6701 * cut-n-paste/recent-files/egg-recent-view.c:
6705 2005-01-08 Martin Kretzschmar <martink@gnome.org>
6707 * pdf/splash/Splash.cc (clear, drawPixel, drawSpan, xorSpan, getPixel)
6708 (fillGlyph, fillImageMask, drawImage):
6709 pdf/splash/SplashBitmap.cc (SplashBitmap, ~SplashBitmap, writePNMFile):
6710 pdf/splash/SplashTypes.h:
6711 pdf/xpdf/SplashOutputDev (startPage, getColor, imageSrc): implement RGB8
6712 packed mode for Splash.
6714 * pdf/xpdf/GDKSplashOutputDev.cc (GDKSplashOutputDev, redraw): use
6715 RGB8 packed mode, eliminates the pixbuf data creation loop.
6717 * shell/ev-print-job.c (ev_print_job_finalize)
6718 (ev_print_job_set_property, ev_print_job_get_property)
6719 (ev_print_job_set_gnome_print_job, ev_print_job_set_document)
6720 (ev_print_job_use_print_dialog_settings, idle_print_handler)
6721 (print_closure_finalize, ev_print_job_print): implement
6722 printing (for backends with EvPsExporter)
6724 * shell/ev_print_job.h: update prototypes.
6726 * shell/ev-window.c (ev_window_print): unref print job after
6729 * shell/ev-view.c (ev_view_set_document): don't connect to "found"
6730 unless the document implements the EvDocumentFind interface.
6732 2005-01-08 Satoru SATOH <ss@gnome.gr.jp>
6734 * configure.ac: Added ja to ALL_LINGUAS.
6736 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
6738 * pdf/xpdf/pdf-document.cc:
6740 add a FIXME. We should probably not allocate
6741 a bookmark object every time
6743 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
6745 * shell/ev-application.c: (ev_application_open),
6746 (ev_application_open_bookmark):
6747 * shell/ev-application.h:
6749 Add a way to open bookmarks
6751 * backend/ev-bookmark.c: (ev_bookmark_get_uri),
6752 (ev_bookmark_set_uri), (ev_bookmark_get_property),
6753 (ev_bookmark_set_property), (ev_bookmark_class_init),
6754 (ev_bookmark_new_title), (ev_bookmark_new_link),
6755 (ev_bookmark_new_external):
6757 Support for external uris, better constructors.
6759 * backend/ev-bookmark.h:
6760 * pdf/xpdf/pdf-document.cc:
6761 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
6763 Handle external uris
6765 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
6767 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb),
6768 (ev_sidebar_bookmarks_construct), (do_one_iteration):
6770 Hook up bookmarks navigation
6772 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
6774 * backend/Makefile.am:
6775 * backend/ev-bookmark.c: (ev_bookmark_type_get_type),
6776 (ev_bookmark_get_title), (ev_bookmark_set_title),
6777 (ev_bookmark_get_bookmark_type), (ev_bookmark_set_bookmark_type),
6778 (ev_bookmark_get_page), (ev_bookmark_set_page),
6779 (ev_bookmark_get_property), (ev_bookmark_set_property),
6780 (ev_window_dispose), (ev_bookmark_init), (ev_bookmark_class_init),
6782 * backend/ev-bookmark.h:
6783 * backend/ev-document-bookmarks.c:
6784 (ev_document_bookmarks_get_bookmark):
6785 * backend/ev-document-bookmarks.h:
6786 * pdf/xpdf/pdf-document.cc:
6787 * shell/ev-sidebar-bookmarks.c: (do_one_iteration):
6789 Add a bookmark object to the backend and use it instead of get_values
6791 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
6793 * data/evince-ui.xml:
6795 Cleanup and add select all.
6797 * shell/ev-view.c: (ev_view_select_all),
6798 (ev_view_button_press_event):
6800 * shell/ev-window.c: (ev_window_cmd_edit_select_all):
6803 Clear selection on click.
6805 Fri Jan 7 01:28:58 2005 Jonathan Blandford <jrb@redhat.com>
6807 * shell/ev-sidebar-thumbnails.c
6808 (ev_sidebar_thumbnails_set_document): forgot to unref the
6811 Fri Jan 7 01:22:48 2005 Jonathan Blandford <jrb@redhat.com>
6813 * shell/ev-sidebar-thumbnails.c: fill in the thumbnails starting
6814 at the visible page, not just linearly. This makes it look fast.
6816 Thu Jan 6 18:48:11 2005 Jonathan Blandford <jrb@redhat.com>
6818 * backend/ev-document-misc.c
6819 (ev_document_misc_get_thumbnail_frame): fill in the thumbnail with
6821 * backend/ev-document-thumbnails.h: New interface to get the size
6824 2005-01-06 Jeremy Katz <katzj@redhat.com>
6826 * shell/Makefile.am (evince_SOURCES): Add ev-utils.[ch] so that
6829 Wed Jan 5 15:38:28 2005 Jonathan Blandford <jrb@redhat.com>
6831 * pdf/xpdf/pdf-document.cc (bitmap_to_pixbuf): bypass
6832 GDKSplashOutputDev and just use a normal SplashOutputDev. Speeds
6835 * shell/ev-sidebar-thumbnail.c: start of some profiling code.
6837 2005-01-05 Martin Kretzschmar <martink@gnome.org>
6839 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): match only outline
6840 fonts. Should fix font problems on systems that have the base
6841 fonts in bitmap format. Reported by James Henstridge
6842 <james@jamesh.id.au>.
6844 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
6847 * pdf/xpdf/GfxState.cc:
6849 Fix for CAN-2004-1125
6851 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
6853 * shell/ev-view.c: (ev_view_copy):
6855 * shell/ev-window.c: (ev_window_cmd_edit_copy):
6857 Implement Edit->Copy
6859 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
6861 * backend/ev-document.c: (ev_document_get_text):
6862 * backend/ev-document.h:
6863 * pdf/xpdf/pdf-document.cc:
6864 * shell/ev-view.c: (ev_view_realize), (expose_bin_window),
6865 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
6866 (ev_view_update_primary_selection), (ev_view_button_press_event),
6867 (ev_view_motion_notify_event), (ev_view_button_release_event):
6869 Beginnings of clipboard support. Incomplete but primary sort
6872 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
6874 * shell/ev-view.c: (ev_gdk_color_to_rgb), (draw_rubberband),
6875 (expose_bin_window):
6877 Nicer rubberband drawing, from GtkIconView.
6879 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
6881 * backend/ev-document.c: (ev_document_save):
6882 * backend/ev-document.h:
6883 * data/evince-ui.xml:
6884 * pdf/xpdf/pdf-document.cc:
6885 * shell/ev-window.c: (save_error_dialog), (ev_window_cmd_save_as):
6887 Implement "Save a copy..." menu item
6889 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
6891 * shell/ev-view.c: (ev_view_zoom):
6893 Queue a resize when zoom changes
6895 Wed Jan 5 02:33:06 2005 Jonathan Blandford <jrb@redhat.com>
6897 * backend/ev-document-misc.[ch]: New misc file to do simple drop
6900 * pdf/xpdf/pdf-document.cc: use the drop shadows in both types of
6903 Tue Jan 4 22:32:32 2005 Jonathan Blandford <jrb@redhat.com>
6905 * pdf/xpdf/pdf-document.cc
6906 (pdf_document_thumbnails_get_page_pixbuf): poor man's dropshadow.
6908 Tue Jan 4 21:25:05 2005 Jonathan Blandford <jrb@redhat.com>
6910 * pdf/xpdf/pdf-document.cc: Do real thumbnailing of PDF files.
6911 It's slow, but I'll speed it up next!
6913 2005-01-04 Jeff Muizelaar <jrmuizel@nit.ca>
6915 * shell/main.c (load_files):
6917 use gnome_vfs_make_uri_from_shell_arg so that relative paths work
6918 from the command line and because it seems more appropriate.
6920 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
6922 * data/evince-ui.xml:
6923 * shell/ev-window.c: (update_action_sensitivity),
6924 (ev_window_cmd_go_page_up), (ev_window_cmd_go_page_down):
6926 s/next page/page down
6927 s/previous page/page up
6929 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
6931 * data/evince-ui.xml:
6933 Change the layout to match clarkbw design.
6935 * shell/Makefile.am:
6936 * shell/ev-navigation-action.c: (build_menu), (menu_activated_cb),
6937 (set_tooltip_cb), (connect_proxy), (ev_navigation_action_init),
6938 (ev_navigation_action_finalize),
6939 (ev_navigation_action_set_property),
6940 (ev_navigation_action_get_property),
6941 (ev_navigation_action_class_init):
6942 * shell/ev-navigation-action.h:
6944 Implement clarkbw toolbar navigation controls (incomplete)
6946 * shell/ev-page-action.c: (update_label), (update_spin),
6947 (value_changed_cb), (create_tool_item), (connect_proxy),
6948 (ev_page_action_init), (ev_page_action_finalize),
6949 (ev_page_action_set_property), (ev_page_action_get_property),
6950 (ev_page_action_set_current_page),
6951 (ev_page_action_set_total_pages), (ev_page_action_class_init):
6952 * shell/ev-page-action.h:
6954 Implement a page switcher in the toolbar
6956 * shell/ev-view.c: (ev_view_scroll_view):
6957 * shell/ev-window.c: (update_total_pages), (ev_window_open),
6958 (update_current_page), (view_page_changed_cb), (goto_page_cb),
6959 (register_custom_actions), (ev_window_init):
6961 Change page on PageUp/Down.
6963 Tue Jan 4 03:22:56 2005 Jonathan Blandford <jrb@redhat.com>
6965 * pdf/xpdf/pdf-document.cc
6966 (pdf_document_thumbnails_get_thumbnail): initial stab at
6967 implementing thumbnail support for pdfs. It only does documents
6968 with precached pdfs now.
6970 Mon Jan 3 17:22:25 2005 Jonathan Blandford <jrb@redhat.com>
6972 * shell/ev-sidebar-thumbnails.c (do_one_iteration): move the
6973 thumbnail code into a time-based idle as well. Also, turn off the
6974 shadow temporarily as it's really slow.
6976 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
6978 * backend/ev-document.c: (ev_document_class_init):
6979 * pdf/xpdf/pdf-document.cc:
6980 * shell/ev-window.c: (ev_window_open):
6982 Fix document title bugs and fallback to
6983 filename when not available.
6985 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
6987 * backend/ev-document.c: (ev_document_get_type),
6988 (ev_document_class_init), (ev_document_load),
6989 (ev_document_get_title):
6990 * backend/ev-document.h:
6991 * pdf/xpdf/pdf-document.cc:
6992 * ps/ps-document.c: (ps_document_set_property),
6993 (ps_document_get_property), (ps_document_class_init),
6997 * shell/ev-window.c: (update_window_title), (ev_window_open),
7000 Initial support for document title. Not working yet.
7002 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
7004 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event):
7006 Grab focus on the view when clicking it
7008 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
7010 * shell/ev-marshal.list:
7011 * shell/ev-view.c: (ev_view_realize), (add_scroll_binding),
7012 (ev_view_scroll_view), (ev_view_class_init), (ev_view_init):
7014 Add key bindings to the view. Now if the focus would work
7017 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
7020 * backend/Makefile.am:
7023 * dvi/dvilib/Makefile.am:
7024 * pdf/xpdf/Makefile.am:
7030 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
7032 * shell/ev-view.c: (ev_view_realize):
7034 Fix mouse wheel scrolling
7036 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
7042 * ps/ps-document.c: (catchPipe), (ps_document_init),
7043 (ps_document_class_init), (ps_document_cleanup),
7044 (ps_document_finalize), (send_ps), (ps_document_get_orientation),
7045 (set_up_page), (close_pipe), (is_interpreter_ready),
7046 (interpreter_failed), (output), (input), (start_interpreter),
7047 (stop_interpreter), (file_length), (file_readable),
7048 (check_filecompressed), (check_pdf), (compute_xdpi),
7049 (compute_ydpi), (compute_size), (ps_document_enable_interpreter),
7050 (ps_document_get_type), (ps_document_emit_error_msg),
7051 (document_load), (ps_document_next_page),
7052 (ps_document_get_current_page), (ps_document_get_page_count),
7053 (ps_document_goto_page), (ps_document_set_page_size),
7054 (ps_document_zoom_to_fit), (ps_document_set_zoom),
7055 (ps_document_load), (ps_document_get_n_pages),
7056 (ps_document_set_page), (ps_document_get_page),
7057 (ps_document_widget_event), (ps_document_set_target),
7058 (ps_document_set_scale), (ps_document_set_page_offset),
7059 (ps_document_get_page_size), (ps_document_render),
7060 (ps_document_document_iface_init):
7063 * shell/ev-window.c: (ev_window_open):
7065 Rename GtkGS to PSDocument
7067 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
7069 * ps/gtkgs.c: (gtk_gs_class_init):
7072 Some more leftover...
7074 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
7076 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_get_orientation),
7077 (output), (stop_interpreter), (gtk_gs_emit_error_msg),
7078 (gtk_gs_zoom_to_fit), (gtk_gs_set_zoom):
7081 Remove unused code and make a lot of stuff private
7083 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
7085 * ps/gsdefaults.c: (gtk_gs_defaults_gconf_client),
7086 (gtk_gs_defaults_changed):
7092 Cleanup headers dependencies
7094 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
7099 * ps/gsdefaults.c: (gtk_gs_defaults_get_paper_sizes):
7101 * ps/gtkgs.c: (file_length), (file_readable),
7102 (check_filecompressed), (check_pdf), (gtk_gs_load),
7103 (gtk_gs_get_postscript):
7107 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
7112 * ps/gtkgs.c: (gtk_gs_set_zoom):
7116 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
7118 * ps/gtkgs.c: (gtk_gs_set_zoom), (gtk_gs_set_zoom_mode):
7120 Ensure the page is rerendered when changing zoom
7122 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
7124 * backend/ev-document.c: (ev_document_base_init),
7125 (ev_document_changed):
7126 * backend/ev-document.h:
7128 Add a changed event that is emitted when the page content
7129 changes. This is necessary to deal with the fact that
7130 in ps backend rendering happen asycrounously.
7131 This makes the ps backend mostly work.
7133 * pdf/xpdf/pdf-document.cc:
7137 * ps/gtkgs.c: (set_up_page), (gtk_gs_widget_event),
7138 (ps_document_set_target):
7142 * shell/ev-view.c: (document_changed_callback),
7143 (ev_view_set_document), (ev_view_set_page):
7145 Redraw on the changed signal
7147 2004-12-25 Raphael Higino <raphaelh@cvs.gnome.org>
7149 * configure.ac: Added pt_BR to ALL_LINGUAS.
7151 Fri Dec 24 00:48:44 2004 Jonathan Blandford <jrb@redhat.com>
7153 * backend/ev-document-bookmarks.c:
7154 (ev_document_bookmarks_get_child): *
7155 backend/ev-document-bookmarks.h: * pdf/xpdf/Makefile.am: *
7156 pdf/xpdf/pdf-document.cc: * pdf/xpdf/pdf-document.h: *
7157 shell/Makefile.am: * shell/ev-sidebar-bookmarks.c:
7158 (ev_sidebar_bookmarks_destroy),
7159 (ev_sidebar_bookmarks_class_init),
7160 (ev_sidebar_bookmarks_construct), (stack_data_free),
7161 (do_one_iteration), (populate_bookmarks_idle),
7162 (ev_sidebar_bookmarks_clear_document),
7163 (ev_sidebar_bookmarks_set_document): *
7164 shell/ev-sidebar-bookmarks.h: * shell/ev-sidebar.c:
7165 (ev_sidebar_add_page),
7166 (ev_sidebar_set_document): * shell/ev-window.c: (ev_window_open):
7167 Initial stab at a bookmarks sidebar. It doesn't navigate yet, but
7168 it displays both the topics and the page numbers.
7170 2004-12-23 Kristian Høgsberg <krh@redhat.com>
7172 * shell/ev-window.c (ev_window_view_sidebar_cb): Hook up sidebar
7174 * shell/ev-window.c (toggle_entries): Set sidebar default value to
7177 2004-12-23 Adam Weinberger <adamw@gnome.org>
7179 * configure.ac: Added en_CA to ALL_LINGUAS.
7181 2004-12-23 Martin Kretzschmar <martink@gnome.org>
7183 * ChangeLog: replace bottom of this ChangeLog (merged history of
7184 ggv and gpdf; where all paths were wrong and most of the files are
7185 not even in this tree) with ChangeLog (from arch) of the shell
7188 2004-12-23 Havoc Pennington <hp@redhat.com>
7190 * shell/ev-window.c: hook up potentially-questionable "find
7191 results status text" feature - something involving the sidebar or
7192 scrollbar or a continuous all-pages-on-giant-roll-of-paper-view
7193 might be better in the end.
7195 * shell/ev-view.c (ev_view_get_find_status_message): new function,
7196 with corresponding signal when it should be updated
7198 * shell/eggfindbar.c (egg_find_bar_set_status_text): new function
7200 2004-12-22 Havoc Pennington <hp@redhat.com>
7202 * pdf/xpdf/pdf-document.cc (pdf_document_find_begin): make search
7203 find stuff on other pages, sort of (only returns one result on
7204 invisible pages, to show they have results; updates full results
7205 for a page when you view it). Currently repaints the current page
7206 every time a new result is found on any page, which isn't so nice.
7208 2004-12-22 Havoc Pennington <hp@redhat.com>
7210 * shell/ev-window.c (ev_window_cmd_edit_find): display an error if
7211 the document doesn't support find (better ideas?)
7212 (find_bar_search_changed_cb): handle missing document or document
7213 that doesn't support find
7215 * pdf/xpdf/pdf-document.cc: port to implement the new
7218 * backend/ev-document-find.c: create a new interface for searching
7220 * backend/ev-document.h, backend/ev-document.c: delete the find stuff
7222 2004-12-23 Martin Kretzschmar <martink@gnome.org>
7224 * pdf/xpdf/Makefile.am (libpdfdocument_la_LIBADD): add
7227 * shell/ev-window.c (ev_window_print): add GnomePrintJob to
7228 EvPrintJob constructor arguments.
7230 * backend/ev-ps-exporter.c, backend/ev-ps-exporter.h: interface
7231 for documents that can export PostScript (page by page).
7233 * backend/Makefile.am (libevbackend_la_SOURCES): add them.
7235 * pdf/xpdf/pdf-document.cc (pdf_document_ps_export_begin)
7236 (pdf_document_ps_export_do_page, pdf_document_ps_export_end)
7237 (pdf_document_ps_exporter_iface_init:
7238 Implement EvPSExporter.
7240 * pdf/xpdf/Makefile.am (libxpdf_la_SOURCES): build PSOutputDev.
7242 2004-12-22 Anders Carlsson <andersca@gnome.org>
7244 * backend/Makefile.am:
7245 * backend/ev-document-thumbnails.c:
7246 (ev_document_thumbnails_get_type),
7247 (ev_document_thumbnails_get_thumbnail):
7248 * backend/ev-document-thumbnails.h:
7249 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
7250 (pixbuf_document_thumbnails_get_thumbnail),
7251 (pixbuf_document_document_thumbnails_iface_init):
7252 * shell/Makefile.am:
7253 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_destroy),
7254 (ev_sidebar_thumbnails_class_init), (ev_sidebar_thumbnails_init),
7255 (populate_thumbnails), (ev_sidebar_thumbnails_set_document):
7256 * shell/ev-sidebar-thumbnails.h:
7257 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
7258 (ev_sidebar_set_document):
7259 * shell/ev-utils.c: (gaussian), (create_blur_filter),
7260 (create_shadow), (ev_pixbuf_add_shadow):
7262 Add thumbnail support.
7264 2004-12-22 Martin Kretzschmar <martink@gnome.org>
7266 * shell/ev-window.c (ev_window_cmd_file_print, ev_window_print)
7267 (using_postscript_printer): Set up a print dialog for "PostScript
7270 * shell/ev-print-job.h, shell/ev-print-job.c: stub classes for
7273 * shell/Makefile.am (evince_SOURCES): add ev-print-job.[ch]
7275 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
7277 * ps/gtkgs.c: (gtk_gs_init), (set_up_page),
7278 (ps_document_set_target), (ps_document_get_page_size),
7279 (ps_document_render):
7284 2004-12-22 Christian Rose <menthos@menthos.com>
7286 * configure.ac: Added "sv" to ALL_LINGUAS.
7288 Wed Dec 22 14:47:38 2004 Jonathan Blandford <jrb@redhat.com>
7290 * backend/ev-document-bookmarks.[ch]: new interface to indicate
7291 document supports bookmarks.
7293 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
7295 * ps/ggvutils.c: (ggv_file_readable):
7297 * ps/gtkgs.c: (check_filecompressed), (check_pdf),
7298 (gtk_gs_get_postscript):
7302 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
7304 * ps/gtkgs.c: (gtk_gs_init), (gtk_gs_class_init), (gtk_gs_cleanup),
7305 (gtk_gs_finalize), (gtk_gs_set_center), (set_up_page), (output),
7306 (start_interpreter), (compute_size), (gtk_gs_enable_interpreter),
7307 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_reload),
7308 (gtk_gs_emit_error_msg), (gtk_gs_disable_interpreter),
7309 (gtk_gs_load), (gtk_gs_goto_page), (gtk_gs_set_page_size),
7310 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
7311 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
7312 (gtk_gs_set_antialiasing), (ps_document_load),
7313 (ps_document_render):
7316 Another check point for the ps backend. Now I can get it to show
7319 Wed Dec 22 13:41:01 2004 Jonathan Blandford <jrb@redhat.com>
7321 * shell/ev-sidebar.c (ev_sidebar_set_document): initial sidebar
7322 document setting code.
7324 2004-12-22 Anders Carlsson <andersca@gnome.org>
7326 * shell/eggfindbar.c: (entry_activate_callback):
7327 Animate the next button when activate is pressed.
7329 2004-12-22 Anders Carlsson <andersca@gnome.org>
7331 * shell/ev-window.c: (ev_window_cmd_edit_find),
7332 (update_fullscreen_popup), (ev_window_fullscreen),
7333 (ev_window_unfullscreen), (ev_window_state_event_cb),
7334 (ev_window_focus_out_cb), (find_bar_close_cb), (ev_window_init):
7335 Fix bugs in fullscreen code.
7337 2004-12-22 Anders Carlsson <andersca@gnome.org>
7341 * pixbuf/Makefile.am:
7342 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
7343 (pixbuf_document_load), (pixbuf_document_get_n_pages),
7344 (pixbuf_document_set_page), (pixbuf_document_get_page),
7345 (pixbuf_document_set_target), (pixbuf_document_set_scale),
7346 (pixbuf_document_set_page_offset), (pixbuf_document_get_page_size),
7347 (pixbuf_document_render), (pixbuf_document_begin_find),
7348 (pixbuf_document_end_find), (pixbuf_document_finalize),
7349 (pixbuf_document_class_init),
7350 (pixbuf_document_document_iface_init), (pixbuf_document_init):
7351 * pixbuf/pixbuf-document.h:
7352 * shell/Makefile.am:
7353 * shell/ev-application.c: (ev_application_open):
7354 * shell/ev-window.c: (mime_type_supported_by_gdk_pixbuf),
7358 Tue Dec 21 21:45:43 2004 Soeren Sandmann <sandmann@redhat.com>
7361 * dvi/dvilib/Makefile.am:
7363 * configure.ac: Auto*ify dvi and dvi/dvilib
7365 * dvi/Makefile: Remove from CVS
7367 * dvi/dvilib/dl-pkfont.cc (unpack_bitmap): Fix uchar/uint
7370 * dvi/dvilib/dl-fontdefinition.{cc,hh}: New DviFontMap class
7372 * dvi/dvilib/dl-vffont.{cc,hh}: Many bugfixes to VF code.
7374 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
7377 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_finalize),
7378 (gtk_gs_value_adjustment_changed), (compute_size),
7379 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_new_from_file),
7380 (gtk_gs_center_page), (gtk_gs_load), (gtk_gs_set_page_size),
7381 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
7382 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
7383 (gtk_gs_start_scroll), (gtk_gs_get_postscript),
7384 (gtk_gs_set_adjustments), (gtk_gs_set_available_size),
7385 (ps_document_load), (ps_document_get_n_pages),
7386 (ps_document_set_page), (ps_document_get_page),
7387 (ps_document_set_target), (ps_document_set_scale),
7388 (ps_document_set_page_offset), (ps_document_get_page_size),
7389 (ps_document_render), (ps_document_begin_find),
7390 (ps_document_end_find), (ps_document_document_iface_init):
7392 * shell/Makefile.am:
7393 * shell/ev-window.c: (ev_window_open):
7395 Some work to integrate gtkgs with EvDocument
7397 2004-12-22 Anders Carlsson <andersca@gnome.org>
7399 * shell/ev-window.c: (update_fullscreen_popup),
7400 (screen_size_changed_cb), (destroy_exit_fullscreen_popup),
7401 (exit_fullscreen_button_clicked_cb),
7402 (fullscreen_popup_size_request_cb), (ev_window_fullscreen),
7403 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
7404 (ev_window_state_event_cb), (ev_window_init):
7405 Add fullscreen support from Epiphany.
7407 2004-12-22 Mark McLoughlin <mark@skynet.ie>
7409 * data/ev-stock-zoom-fit-width.png: fit-width
7410 stock icon from gpdf.
7412 * shell/ev-stock-icons.[ch]: copied from gpdf.
7414 * shell/main.c: (main): init stock icons.
7416 * shell/ev-window.c: use the fit-width icon.
7418 * data/evince-ui.xml: add zooming toolbar items.
7420 2004-12-22 Mark McLoughlin <mark@skynet.ie>
7423 (ev_view_best_fit), (ev_view_fit_width): because
7424 get_page_size() returns the scaled page size, we
7425 need to calculate the scale factor relative to
7426 the previous scale factor. Should really just
7427 add get_real_page_size().
7429 2004-12-22 Mark McLoughlin <mark@skynet.ie>
7431 * shell/ev-view.[ch]:
7432 (ev_view_zoom), (ev_view_zoom_in), (ev_view_zoom_out),
7433 (ev_view_normal_size), (ev_view_best_fit), (ev_view_fit_width):
7436 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
7437 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_normal_size),
7438 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width):
7441 * pdf/xpdf/pdf-document.cc:
7442 (pdf_document_begin_find),
7443 (pdf_document_end_find): make static.
7445 2004-12-22 Martin Kretzschmar <martink@gnome.org>
7447 * pdf/xpdf/GlobalParams.h (setupBaseFontsFc): add prototype.
7449 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): maps base font
7450 names to fontconfig patterns.
7451 (setupBaseFontsFc): setupBaseFonts reimplemented using fontconfig.
7453 * pdf/xpdf/pdf-document.cc (pdf_document_load): use
7456 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
7472 Import ggv backend. Not hooked up yet.
7474 2004-12-22 Mark McLoughlin <mark@skynet.ie>
7476 * shell/main.c: (load_files), (main): load files
7477 from the command line.
7479 2004-12-22 Mark McLoughlin <mark@skynet.ie>
7481 * configure.ac: don't require bonobo.
7483 * cut-n-paste/recent-files/*: kill bonobo recent
7486 * shell/ev-window.c:
7487 (ev_window_is_empty): upd.
7488 (unable_to_load), (ev_window_open): load backend
7489 based on the mime type.
7491 2004-12-22 Martin Kretzschmar <martink@gnome.org>
7493 * backend/.cvsignore: ignore generated marshalers source.
7495 * shell/main.c (main): this is not epiphany.
7497 2004-12-22 Havoc Pennington <hp@redhat.com>
7499 * shell/ev-view.c (ev_view_set_document): connect to "found" signal
7500 (expose_bin_window): draw find highlights
7502 * shell/ev-window.c (find_bar_search_changed_cb): implement
7504 * pdf/xpdf/pdf-document.cc (pdf_document_begin_find)
7505 (pdf_document_end_find): implement this interface
7507 * backend/ev-document.c (ev_document_found): add this to emit
7510 Tue Dec 21 23:57:37 2004 Owen Taylor <otaylor@redhat.com>
7512 * data/evince-ui.xml: Add a few more toolbar items.
7514 * shell/ev-window.c: Hook up page navigation toolbar
7517 * shell/ev-view.[ch]: add ev_view_set/get_page and
7518 a page-changed signal.
7520 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc::
7521 Add ev_document_get_page().
7523 * shell/ev-window.c: Sensitize/desensitize navigation
7526 2004-12-21 Havoc Pennington <hp@redhat.com>
7528 * backend/ev-backend-marshal.c,
7529 backend/ev-backend-marshalers.list, backend/Makefile.am: add
7530 marshaler-generator thingy. I'm sure there's a better way to do
7531 this in the modern world.
7533 * backend/ev-document.h (struct _EvDocumentIface): add begin_find,
7534 end_find methods and "found" signal.
7536 * configure.ac: find glib-genmarshal
7538 Tue Dec 21 23:20:35 2004 Jonathan Blandford <jrb@redhat.com>
7540 * shell/ev-sidebar.c: Construct an actual sidebar.
7541 * shell/ev-sidebar-bookmarks.[ch]:
7542 * shell/ev-sidebar-thumbnails.[ch]: Stub out sidebars.
7544 Tue Dec 21 23:05:51 2004 Owen Taylor <otaylor@redhat.com>
7546 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc:
7549 * shell/ev-view.c: Track the size from the document.
7551 Tue Dec 21 22:17:04 2004 Owen Taylor <otaylor@redhat.com>
7553 * pdf/xpdf/pdf-document.cc (pdf_document_load): PDFDoc
7554 constructor assumes ownership of the string passed in.
7556 * shell/ev-window.c (ev_window_open): Destroy the error
7557 dialog once we've displayed it.
7559 Tue Dec 21 21:58:56 2004 Owen Taylor <otaylor@redhat.com>
7561 * pdf/xpdf/pdf-document.cc shell/ev-view.c: Hook things up
7562 a bit, it works! (sort of)
7564 * pdf/xpdf/Makefile.am pdf/xpdf/pdf-document.cc:
7565 Move to .cc since we need to use C++ in the implementation.
7567 * shell/dummy.cc: Add a CC file to force evince
7568 to be linked as a C++ program.
7570 Tue Dec 21 21:07:55 2004 Owen Taylor <otaylor@redhat.com>
7572 * shell/ev-view.[ch]: Start of content-area widget.
7574 * shell/ev-window.c: Create a EvView, update it
7575 as we change documents.
7577 * shell/Makefile.am shell/ev-marshal.list: Add
7578 generated marshalers.
7580 Tue Dec 21 20:28:11 2004 Jonathan Blandford <jrb@redhat.com>
7582 * Makefile.am (SUBDIRS): move shell.
7584 Tue Dec 21 19:28:55 2004 Owen Taylor <otaylor@redhat.com>
7586 * pdf/{goo,fofi,splash,xpdf}/Makefile.am: Switch from
7587 .a to libtool convenience libraries.
7589 * shell/ev-window.c (ev_window_open): Hard code loading
7592 * backend/ev-document.h: Add a boolean return to load(),
7593 fix GError * to GError **.
7595 * pdf/xpdf/pdf-document.[ch] Makefile.am: Add a stub
7596 object for a PDF backend EvDocument.
7598 Tue Dec 21 18:55:06 2004 Søren Sandmann <sandmann@redhat.com>
7600 * dvi/*: New directory with the beginning of a .dvi backend.
7602 2004-12-21 Havoc Pennington <hp@redhat.com>
7604 * shell/eggfindbar.c (egg_find_bar_init): change buttons to
7605 previous/next instead of back/forward
7607 Tue Dec 21 18:26:24 2004 Owen Taylor <otaylor@redhat.com>
7609 * backend/ev-document.[ch]: Fix a couple of problems so
7612 Tue Dec 21 18:20:40 2004 Owen Taylor <otaylor@redhat.com>
7614 * viewer/* backend/* configure.ac Makefile.am: Move viewer directory
7615 to backend/ directory, rename EvViewer to EvDocument.
7617 2004-12-21 Havoc Pennington <hp@redhat.com>
7619 * shell/ev-window.c: hook up the find bar widget; now we just need
7620 a document to find things in
7622 * shell/eggfindbar.c: a find bar widget
7624 Tue Dec 21 17:20:16 2004 Jonathan Blandford <jrb@redhat.com>
7626 * shell/ev-sidebar.[ch]: initial sidebar boilerplate.
7628 Tue Dec 21 16:30:58 2004 Owen Taylor <otaylor@redhat.com>
7630 * pdf/**: Import of xpdf code from gpdf.
7632 * pdf/xpdf/xpdfconfig.h: Move the non-config.h config.h to xpdfconfig.h
7634 * pdf/splash/SplashFTFont.{cc,h} pdf/splash/SplashFTFont.h
7635 pdf/splash/SplashFTFontEngine.h pdf/splash/SplashFTFontFile.h:
7636 Fix FreeType includes.
7638 * pdf/xpdf/{Error.h GnomeVFSStream.cc ImageOutputDev.cc PDFDoc.cc\
7639 pdffonts.cc pdfimages.cc pdfinfo.cc pdftoppm.cc pdftops.cc
7640 pdftotext.cc PSOutputDev.cc PSOutputDev.h SplashOutputDev.h
7641 Stream.cc TextOutputDev.cc XPDFApp.cc xpdf.cc XPDFViewer.cc
7642 pdf/xpdf/Error.h PSOutputDev.h SplashOutputDev.h}:
7643 Include xpdfconfig.h
7645 Tue Dec 21 16:08:17 2004 Jonathan Blandford <jrb@redhat.com>
7647 * shell/ev-window.c (ev_window_dispose): dispose can be called
7650 2004-12-21 Havoc Pennington <hp@redhat.com>
7652 * shell/ev-window.c (ev_window_init): set title to Document Viewer
7655 * data/evince-ui.xml, shell/ev-window.c: add a bunch of stub menu
7656 items; really they should be synced with the strings, etc. from
7657 current gpdf, but just getting the boring typing out of the way
7659 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
7662 * shell/ev-application.c: (window_destroy_cb):
7663 * shell/ev-window.c:
7664 * shell/main.c: (main):
7666 Actually show the window...
7668 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
7671 * shell/Makefile.am:
7672 * shell/ev-application.c: (ev_application_class_init):
7673 * shell/ev-window.c: (ev_window_dispose), (ev_window_class_init):
7677 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
7679 Import to gnome cvs.
7681 * Remove copies of gpdf and ggv trees.
7682 * Rip out all the recursive configure code.
7683 * Remove bonobo machinery.
7684 * viewer/*: GInterfaces that backends should/can implement.
7686 2004-11-09 Martin Kretzschmar <m_kretzschmar@gmx.net>
7688 * shell/ev-window.c (ev_window_cmd_help_about): fix "documentors"
7691 2004-10-28 Martin Kretzschmar <m_kretzschmar@gmx.net>
7693 * shell/ev-application.c (EV_APPLICATION_GET_PRIVATE)
7694 (ev_application_finalize, ev_application_class_init)
7695 (ev_application_init): use GType instance private data for priv.
7697 * shell/ev-window.c (EV_WINDOW_GET_PRIVATE)
7698 (ev_window_finalize, ev_window_class_init)
7699 (ev_window_init): ditto.
7701 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
7703 * shell/ev-application.c (ev_application_new_window): make public
7704 (ev_application_show_initial_window): kill.
7706 * shell/ev-application.h: update prototypes.
7708 * shell/main.cc (main): inline ev_application_show_initial_window.
7710 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
7712 * shell/ev-application.c (ev_application_new_window): impl.
7713 (ev_application_show_initial_window): use it.
7714 (is_window_empty, ev_application_get_empty_window): returns an
7715 existing empty window or a new one.
7716 (ev_application_open): from ev_window_cmd_file_open.
7718 * shell/ev-application.h: update prototypes
7720 * shell/ev-window.c (ev_window_is_empty): impl.
7721 (ev_window_open): make public.
7722 (ev_window_cmd_file_open): use ev_application_open
7724 * shell/ev-window.h: update prototypes, remove unused.
7726 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
7728 * shell/ev-window.c (ev_window_destroy, ev_window_class_init):
7729 move destroy handler out of here...
7731 * shell/ev-application.c, shell/ev-application.h: ...into this new
7732 class. Also handles initial window creation.
7734 * shell/main.cc (main): use EvApplication to create initial
7737 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
7739 * Makefile.am (SUBDIRS): add cut-n-paste
7741 * cut-n-paste/Makefile.am: add
7743 * configure.ac: generate Makefiles in cut-n-paste
7745 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
7747 * shell/ev-window.c (ev_window_dispose): new, unref the ui_manager
7748 (ev_window_class_init): install ev_window_dispose.
7750 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
7752 * shell/ev-window.h, shell/ev-window.c: replace gchar with
7753 char (gchar looks stupid).
7755 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
7757 * po/de.po: updated German translation.
7759 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
7761 * configure.ac: add more pkg-config library checks for gnome-vfs,
7764 * gpdf/configure.in: temporarily disable libpaper
7765 checks. Otherwise I'd have to add the checks for the shell, too.
7767 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7769 * shell/ev-window.c (ev_window_cmd_file_open): add ps+pdf, ps, pdf
7770 and * file filters to the file choose.
7772 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7774 * po/de.po: Updated German translation.
7776 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7778 * shell/ev-window.c: use "S" as mnemonic for Statusbar.
7780 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7782 * data/evince-ui.xml: add View->Toolbar and View->Statusbar.
7784 * shell/ev-window.c (menu_item_select_cb, menu_item_select_cb)
7785 (ev_window_init): implement those menuitems.
7787 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7789 * data/evince-ui.xml: add a toolbar (with FileOpen action)
7791 * shell/ev-window.c (ev_window_init): use the toolbar.
7793 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7795 * shell/ev-window.c (ev_window_init): use menu translations
7797 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7799 * configure.ac: add "de" to ALL_LINGUAS.
7801 * po/de.po: add German translation.
7803 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7805 * Makefile.am (SUBDIRS): add po
7807 * configure.ac: check intltool, glib-gettext etc, generate
7810 * po, po/POTFILES.in, po/POTFILES.skip: new.
7812 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7814 * shell/Makefile.am (INCLUDES): define GNOMELOCALEDIR which we
7815 already use (#ifdef ENABLE_NLS)
7817 * shell/ev-window.c (ev_window_cmd_help_about): fix two star
7818 pointer indirection thinko.
7820 * shell/main.c: include gi18n.h for bindtextdomain etc.
7822 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7824 * shell/ev-window.c (menu_item_select_cb, menu_item_deselect_cb)
7825 (connect_proxy_cb, disconnect_proxy_cb, ev_window_init): show
7826 tooltips for menu items in the statusbar.
7828 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7830 * configure.ac, data/Makefile.am, shell/Makefile.am: use
7831 pkgdatadir drop UIDIR
7833 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7835 * data/evince-ui.xml: Add File->Open menu item
7837 * shell/ev-window.c (ev_window_cmd_file_open): impl. (shows a file
7838 chooser), hook it up in the ui manager.
7840 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7842 * shell/ev-window.c: fix Help->About tooltip.
7844 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7846 * configure.ac: set CFLAGS for libevprivate.
7848 * lib/ev-stock-icons.h, lib/ev-stock-icons.c: stock icon
7849 definitions, factory etc.
7851 * lib/Makefile.am: build libevprivate.a (only stock icon code).
7853 * shell/Makefile.am: link against libevprivate.a.
7855 * shell/ev-window.c (entries): add stock icon to Help->About.
7857 * shell/main.c (main): init stock icon code.
7859 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7861 * lib/recent-files: egg recent files code
7863 * lib/Makefile.am: add.
7865 * Makefile.am: add lib subdir.
7867 * configure.ac: gen. lib/Makefile and lib/recent-files/Makefile,
7868 set CFLAGS for recent-files.
7870 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7872 * configure.ac: disable -ansi and -pedantic gcc flags. They
7873 disable POSIX stuff in stdio.h, but egg-recent uses them.
7875 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7877 * configure.ac: add --disable-deprecated flag (defaults to on in
7880 * shell/Makefile.am (INCLUDES): use it.
7882 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7884 * shell/main.c: add missing #include.
7886 * shell/ev-window.c: fix for pedantic gcc.
7887 (ev_window_cmd_help_about): split license into paragraphs for
7888 translators and pedantic compilers.
7890 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7892 * configure.ac: add more warning flags if compiling with gcc from
7893 cvs (or explicitly requested with --enable-more-warnings).
7895 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7897 * data/evince-ui.xml: add File and File->Close menu.
7899 * shell/ev-window.c (ev_window_cmd_file_close_window): impl.
7900 (ev_window_destroy): quit after destroy.
7901 (ev_window_class_init): override GtkObject::destroy.
7902 (entries): install close_window callback.
7904 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7906 * Makefile.am (SUBDIRS): add data subdir.
7908 * configure.ac (UIDIR): gen data/Makefile, define UIDIR. Require
7909 gtk+ 2.5.0 for GtkAboutDialog.
7911 * data/Makefile.am, data/evince-ui.xml: add, ui definition for the
7914 * shell/Makefile.am (INCLUDES): propagate UIDIR definition.
7916 * shell/ev-window.c (ev_window_init): create a menubar, using a ui
7918 (ev_window_cmd_help_about): about command, using GtkAboutDialog.
7920 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7922 * shell/ev-window.c, shell/ev-window.h: Created an EvWindow class.
7924 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
7926 * shell/main.c: make it a trivial gtk+ program, adjust configure.ac
7928 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
7930 * shell/*: Added shell directory boilerplate, build it.
7932 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
7934 * configure.ac, Makefile.am: Added top-level configure.ac and