1 2006-01-06 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3 * shell/ev-window.c: (setup_document_from_metadata),
4 (ev_window_cmd_view_reload):
6 Clamp page recieved from metadata in valid values. Fix
9 2006-01-06 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
12 Add MAINTAINERS as requested on desktop-devel-list.
14 2006-01-06 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
16 * backend/ev-document-factory.c: (gdk_pixbuf_mime_type_list),
17 (mime_type_supported_by_gdk_pixbuf),
18 (ev_document_factory_get_mime_types),
19 (ev_document_factory_get_all_mime_types):
21 Don't add pixbuf mime types if pixbuf backend is disabled.
23 * shell/ev-application.c: (ev_application_get_uri_window):
25 Fix for the bug 325815 - unhandled MIME type message doesn't
28 * shell/ev-document-types.c: (ev_document_types_add_filters):
29 * shell/ev-window.c: (page_changed_cb), (ev_window_setup_document),
30 (password_dialog_response), (ev_window_popup_password_dialog),
31 (ev_window_load_job_cb), (ev_window_sidebar_position_change_cb),
32 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
33 (ev_window_run_presentation), (ev_window_stop_presentation),
34 (save_sizing_mode), (ev_window_zoom_changed_cb),
35 (ev_window_continuous_changed_cb), (ev_window_rotation_changed_cb),
36 (ev_window_dual_mode_changed_cb),
37 (ev_window_sidebar_current_page_changed_cb),
38 (ev_window_sidebar_visibility_changed_cb), (ev_window_dispose),
39 (window_state_event_cb), (window_configure_event_cb):
41 Cleanup additional uris holded by EvWindow.
43 2006-01-06 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
45 * shell/ev-view.c: (ev_view_scroll), (ev_view_previous_page),
46 (ev_view_can_previous_page), (ev_view_can_next_page):
48 * shell/ev-window.c: (update_action_sensitivity):
50 Two page scrolling with Space and PageUp in dual mode. Second fix
53 2006-01-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
55 * shell/ev-view.c: (scroll_to_current_page):
57 Correctly clamp adjustment value. Fix for the bug
60 2006-01-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
62 * shell/ev-sidebar-links.c: (print_section_cb):
63 * shell/ev-window.c: (ev_window_get_uri),
64 (ev_window_close_dialogs), (ev_window_open_uri), (ev_window_print),
65 (ev_window_print_dialog_response_cb), (ev_window_print_range),
68 Make print dialog non-modal. Fix for the bug #325622.
70 2006-01-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
72 * shell/ev-metadata-manager.c:
73 * shell/ev-utils.c: (using_pdf_printer),
74 (using_postscript_printer), (load_print_config_from_file),
75 (save_print_config_to_file):
77 * shell/ev-window.c: (update_sizing_buttons), (page_changed_cb),
78 (update_sidebar_visibility), (setup_sidebar_from_metadata),
79 (setup_view_from_metadata), (ev_window_setup_document),
80 (ev_window_load_job_cb), (ev_window_sidebar_position_change_cb),
81 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
82 (ev_window_run_presentation), (ev_window_stop_presentation),
83 (save_sizing_mode), (ev_window_zoom_changed_cb),
84 (ev_window_continuous_changed_cb), (ev_window_rotation_changed_cb),
85 (ev_window_dual_mode_changed_cb),
86 (ev_window_sidebar_current_page_changed_cb),
87 (ev_window_sidebar_visibility_changed_cb), (ev_window_dispose),
88 (window_state_event_cb), (window_configure_event_cb),
91 Setting saving behaviour fixes.
93 2005-12-30 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
97 Make antialiasing gs options better and allow
98 to change them during configure. Fix for the
101 2005-12-29 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
103 * shell/ev-window.c: (setup_view_from_metadata):
105 Remember if last window was maximized. Fix for the
108 2005-12-28 Abel Cheung <maddog@linuxhall.org>
110 * configure.ac: Added "zh_HK" to ALL_LINGUAS.
112 2005-12-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
114 * backend/ev-link.c: (ev_link_get_page), (ev_link_init):
115 * shell/ev-page-action.c: (build_new_tree_cb):
116 * shell/ev-sidebar-links.c: (links_page_num_func),
117 (update_page_callback_foreach), (update_page_callback):
118 * shell/ev-view.c: (scroll_to_current_page):
120 Fix for the bug #325067 with more intelligent selection
121 of current link in sidebar. Make sidebar handle links
122 of FITR-like type more correctly.
124 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
125 (dvi_pixbuf_put_pixel):
127 Fix memory consumtion with disabled alpha channel.
129 2005-12-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
131 * data/evince-ui.xml:
132 * shell/ev-window.c: (view_menu_popup_cb),
133 (ev_popup_cmd_open_link), (ev_window_init):
135 Update context menu for internal links. Fix for the bug
138 2005-12-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
140 * shell/ev-view.c: (ev_view_popup_menu), (ev_view_class_init):
142 Bind context menu to keyboard also. Fix for the bug
145 2005-12-27 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
147 * shell/ev-view.c: (selection_scroll_timeout_cb):
149 Horizontal scroll on selection also.
151 2005-12-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
153 * shell/ev-metadata-manager.c: (parse_value):
154 * shell/ev-view.c: (goto_xyz_link):
156 Correct zoom setup and metadata save broken in
159 2005-12-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
161 * shell/ev-view-private.h:
162 * shell/ev-view.c: (scroll_to_current_page),
163 (view_set_adjustment_values), (goto_fitr_link), (goto_fitv_link),
164 (goto_fith_link), (goto_fit_link), (goto_xyz_link),
165 (page_changed_cb), (ev_view_set_continuous),
166 (ev_view_set_dual_page), (ev_view_set_presentation):
168 Delay scroll until allocation to correctly position page. Fix
171 2005-12-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
176 Update NEWS and require poppler 0.5.0.
178 2005-12-25 Carlos Garcia Campos <carlosgc@gnome.org>
180 * data/evince-ui.xml:
181 * shell/ev-view-private.h:
182 * shell/ev-view.c: (ev_view_get_link_at_location),
183 (handle_link_over_xy), (ev_view_button_press_event),
184 (ev_view_button_release_event), (ev_view_class_init):
185 * shell/ev-window.c: (view_menu_popup_cb), (ev_window_dispose),
186 (ev_popup_cmd_open_link), (ev_popup_cmd_copy_link_address),
189 Implement right-click context menu.
191 2005-12-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
193 * djvu/djvu-document.c: (djvu_document_thumbnails_get_thumbnail):
194 * dvi/pixbuf-device.c: (dvi_pixbuf_create_image),
195 (mdvi_pixbuf_device_render):
198 Don't generate thumbnails with alpha. See bug #324077.
199 Thanks to Jeroen Zwartepoorte <jeroen.zwartepoorte@gmail.com>.
201 2005-12-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
203 * shell/ev-window.c: (setup_chrome_from_metadata):
205 Fix typo that was hiding toolbar.
207 2005-12-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
209 * shell/ev-view-private.h:
210 * shell/ev-view.c: (ev_view_realize), (selection_update_idle_cb),
211 (selection_scroll_timeout_cb), (ev_view_motion_notify_event),
212 (ev_view_button_release_event), (ev_view_destroy):
214 Small cleanup and autoscrolling during selection. Thanks to
215 Ricardo Markiewicz <rmarkie@fi.uba.ar>.
217 2005-12-22 Jani Monoses <jani.monoses@gmail.com>
221 Correctly check for comics option.
223 2005-12-21 Eduardo Lima <eduardo.lima@indt.org.br>
226 * backend/Makefile.am:
227 * backend/ev-document-factory.c:
228 * shell/ev-document-types.c:
230 Included option in configure to make ps backend
231 compilation optional with --disable-ps.
233 2005-12-20 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
235 * backend/ev-document-factory.c:
236 * comics/Makefile.am:
237 * comics/comics-document.c: (comics_document_load):
238 * comics/ev-cbr-mime.xml:
241 Comics mime types are added to shared-mime-info CVS. Now
242 we don't need to install our own mime types.
244 2005-12-20 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
248 Add shortcut for "save a copy" menu entry. Fix for
251 2005-12-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
253 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info),
254 (job_finished_cb), (new_selection_pixbuf_needed),
255 (ev_pixbuf_cache_get_selection_pixbuf), (update_job_selection),
256 (clear_job_selection), (ev_pixbuf_cache_set_selection_list):
258 Rework selection job info logic and fix critical warning.
260 2005-12-17 Abel Cheung <maddog@linuxhall.org>
262 * configure.ac: Added "cy" "fa" "mk" "vi" to ALL_LINGUAS.
264 2005-11-27 Jaap A. Haitsma <jaap@haitsma.org>
266 * data/evince-ui.xml:
267 * shell/ev-window.c: (ev_window_set_view_accels_sensitivity):
269 Enter as shortcut key for next page. Fix for the bug
272 2005-11-18 Ales Nyakhaychyk <nab@mail.by>
274 * configure.ac: Added "be" (Belarusian) to ALL_LINGUAS.
276 2005-11-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
278 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info),
279 (job_finished_cb), (copy_job_to_job_info), (add_job_if_needed),
280 (new_selection_pixbuf_needed),
281 (ev_pixbuf_cache_get_selection_pixbuf), (update_job_selection),
282 (clear_job_selection):
284 Too early for 0.5. Pixbuf cache code cleaned a bit.
286 2005-11-14 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
291 Release 0.5.0 preparation
293 2005-11-14 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
295 * comics/Makefile.am:
297 * shell/ev-document-types.c: (ev_document_types_add_filters):
299 More advanced handling of custom mime type installation.
301 2005-11-14 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
303 * data/evince.schemas.in:
304 * shell/ev-metadata-manager.c: (value_free),
305 (ev_metadata_manager_get_last), (ev_metadata_manager_set_last),
306 (ev_metadata_manager_get), (ev_metadata_manager_set):
307 * shell/ev-metadata-manager.h:
308 * shell/ev-window.c: (update_chrome_flag),
309 (ev_window_cmd_focus_page_selector), (update_sidebar_visibility),
310 (setup_document_from_metadata), (setup_chrome_from_metadata),
311 (setup_sidebar_from_metadata), (setup_view_from_metadata),
312 (ev_window_cmd_edit_find), (ev_window_cmd_escape),
313 (ev_window_view_toolbar_cb),
314 (ev_window_sidebar_visibility_changed_cb), (find_bar_close_cb),
315 (view_actions_focus_in_cb), (ev_window_init), (ev_window_new):
317 Save last document settings and reuse them for new documents.
319 2005-11-14 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
322 * backend/Makefile.am:
323 * backend/ev-document-factory.c:
324 * backend/ev-document-factory.h:
325 * comics/Makefile.am:
326 * comics/comics-document.c: (G_DEFINE_TYPE_WITH_CODE),
327 (comics_document_load), (comics_document_save),
328 (comics_document_get_n_pages), (comics_document_get_page_size),
329 (get_page_size_area_prepared_cb), (comics_document_render_pixbuf) (render_pixbuf_size_prepared_cb), (comics_document_finalize),
330 (comics_document_class_init), (comics_document_can_get_text),
331 (comics_document_get_info), (comics_document_document_iface_init),
332 (comics_document_init), (get_supported_image_extensions),
333 (comics_document_thumbnails_get_geometry),
334 (comics_document_thumbnails_get_thumbnail),
335 (comics_document_thumbnails_get_dimensions),
336 (comics_document_document_thumbnails_iface_init), (extract_argv):
337 * comics/comics-document.h:
338 * comics/ev-cbr-mime.xml:
341 * shell/ev-application.c: (ev_application_register_service):
342 * shell/ev-document-types.c: (ev_document_types_add_filters):
343 * thumbnailer/Makefile.am:
344 * thumbnailer/evince-thumbnailer-comics.schemas.in:
346 New CBR/CBZ backend for comic books.
348 2005-11-10 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
350 * shell/main.c: (load_files_remote):
352 Thanks to Robert McQueen <robot101@debian.org>. Dbus
353 warning on startup of second instance is fixed. It
356 2005-10-30 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
358 * shell/ev-window.c: (ev_window_finalize):
360 Fix double free that cause crash.
362 2005-10-29 Bastien Nocera <hadess@hadess.net>
364 * tiff/tiff-document.c: (tiff_document_load):
368 2005-10-29 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
372 * shell/ev-view-accessible.c: (ev_view_accessible_get_priv),
373 (ev_view_accessible_free_priv), (ev_view_accessible_class_init),
374 (ev_view_accessible_get_text),
375 (ev_view_accessible_get_character_at_offset),
376 (ev_view_accessible_get_text_before_offset),
377 (ev_view_accessible_get_text_at_offset),
378 (ev_view_accessible_get_text_after_offset),
379 (ev_view_accessible_get_character_count),
380 (ev_view_accessible_get_caret_offset),
381 (ev_view_accessible_set_caret_offset),
382 (ev_view_accessible_get_run_attributes),
383 (ev_view_accessible_get_default_attributes),
384 (ev_view_accessible_get_character_extents),
385 (ev_view_accessible_get_offset_at_point),
386 (ev_view_accessible_get_n_selections),
387 (ev_view_accessible_get_selection),
388 (ev_view_accessible_add_selection),
389 (ev_view_accessible_remove_selection),
390 (ev_view_accessible_set_selection),
391 (ev_view_accessible_text_iface_init),
392 (ev_view_accessible_idle_do_action),
393 (ev_view_accessible_action_do_action),
394 (ev_view_accessible_action_get_n_actions),
395 (ev_view_accessible_action_get_description),
396 (ev_view_accessible_action_get_name),
397 (ev_view_accessible_action_set_description),
398 (ev_view_accessible_action_iface_init),
399 (ev_view_accessible_get_type), (ev_view_accessible_new),
400 (ev_view_accessible_factory_get_accessible_type),
401 (ev_view_accessible_factory_create_accessible),
402 (ev_view_accessible_factory_class_init),
403 (ev_view_accessible_factory_get_type):
404 * shell/ev-view-accessible.h:
405 * shell/ev-view-private.h:
406 * shell/ev-view.c: (ev_view_get_accessible), (ev_view_class_init):
409 Initial accessibility support.
411 2005-10-27 Erdal Ronahi <erdal.ronahi@gmail.com>
413 * configure.ac: Added ku (Kurdish) to ALL_LINGUAS
415 2005-10-26 Hubert Figuiere <hfiguiere@teaser.fr>
417 * shell/ev-print-job.c: (idle_print_handler):
419 Fix for bug Bug 318916: Printing multiple pages.
421 2005-10-20 Runa Bhattacharjee <runa@bengalinux.org>
423 * configure.ac: Added "bn" (Bengali) to ALL_LINGUAS.
425 2005-10-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
429 Thumnail dimensions unified with other backends.
431 * shell/ev-window-title.c: (ev_window_title_update):
435 2005-10-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
437 * data/ev-stock-zoom-fit-width.png:
441 2005-10-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
444 * djvu/djvu-document.c: (djvu_document_load), (djvu_document_save),
445 (djvu_document_finalize):
446 * dvi/dvi-document.c: (dvi_document_load), (dvi_document_save),
447 (dvi_document_finalize):
448 * pixbuf/pixbuf-document.c: (pixbuf_document_load),
449 (pixbuf_document_save), (pixbuf_document_finalize):
450 * tiff/tiff-document.c: (tiff_document_load), (tiff_document_save),
451 (tiff_document_finalize):
453 Save a copy implemented for various backends.
455 2005-10-17 Daniel Gryniewicz <dang@gentoo.org>
459 Don't link with ltiff if tiff is disabled.
461 2005-10-14 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
463 * pdf/GDKSplashOutputDev.cc:
464 * pdf/GDKSplashOutputDev.h:
467 * pdf/pdf-document.cc:
468 * pdf/pdf-document.h:
469 * pdf/test-gdk-output-dev.cc:
471 Remove old unused files.
473 2005-10-12 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
475 * shell/ev-window.c: (ev_window_setup_document):
477 Fixed warnings on reload and probably crash reason.
479 2005-10-12 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
481 * properties/ev-properties-view.c:
482 (ev_properties_view_format_date):
484 Check if date is invalid. Fix for bug 318134.
486 2005-10-02 Wouter Bolsterlee <uws+gnome@xs4all.nl>
488 * shell/ev-window-title.c:
490 Add .indd files (Adobe Indesign) to the list of "bad
493 2005-10-02 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
495 * data/evince-ui.xml:
496 * shell/ev-window.c: (ev_window_set_view_accels_sensitivity):
498 Add <ctrl>KP_Add and <ctrl>KP_Substract bindings.
500 2005-09-27 Christian Persch <chpe@cvs.gnome.org>
502 * shell/ev-window.c: (launch_link), (launch_external_uri),
503 (view_external_link_cb):
505 URL-escape link before passing it to gnome_vfs_url_show.
507 2005-09-27 Carlos Garcia Campos <carlosgc@gnome.org>
509 * shell/ev-view.[ch], shell/ev-window.c: Disable copy action when
510 there isn't text selected.
512 2005-09-27 Marco Pesenti Gritti <mpg@redhat.com>
514 * shell/ev-view.c: (handle_link_over_xy):
516 Check tooltip is valid utf8 before showing it
518 2005-09-27 Carlos Garcia Campos <carlosgc@gnome.org>
520 * shell/ev-view.c: Allow drag and drop of text. Fixes #316772
522 2005-09-27 Christian Persch <chpe@cvs.gnome.org>
524 * shell/ev-window-title.c: (ev_window_title_update):
526 Guard against using g_strstrip on NULL. Fixes bug #317291.
528 2005-09-26 Marco Pesenti Gritti <mpg@redhat.com>
532 Show title even for unknown links
534 2005-09-26 Marco Pesenti Gritti <mpg@redhat.com>
536 * shell/ev-window-title.c: (ev_window_title_update):
538 Strip the title string
540 2005-09-26 Marco Pesenti Gritti <mpg@redhat.com>
542 * shell/ev-window-title.c:
544 Add .rtf to the bad extensions list
546 2005-09-26 Marco Pesenti Gritti <mpg@redhat.com>
548 * shell/ev-view.c: (doc_point_to_view_point), (goto_fitr_link),
549 (goto_fitv_link), (goto_fith_link), (goto_xyz_link):
551 Ignore link coordinates if they are outside page bounds
553 2005-09-26 Marco Pesenti Gritti <mpg@redhat.com>
555 * backend/ev-link.c: (ev_link_type_get_type),
556 (ev_link_get_filename), (ev_link_get_params),
557 (ev_link_get_property), (ev_link_set_property),
558 (ev_window_dispose), (ev_link_class_init), (ev_link_new_launch):
561 * shell/ev-view.c: (ev_view_goto_link), (ev_view_class_init):
562 * shell/ev-window.c: (launch_link), (view_external_link_cb),
565 Implement launch links. Delegate external link opening to
568 2005-09-24 Marco Pesenti Gritti <mpg@redhat.com>
570 * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_bottom),
571 (ev_link_get_right), (ev_link_get_property),
572 (ev_link_set_property), (ev_link_class_init),
573 (ev_link_new_page_fitv), (ev_link_new_page_fitr):
576 * shell/ev-view.c: (goto_fitr_link), (ev_view_goto_link):
580 2005-09-24 Marco Pesenti Gritti <mpg@redhat.com>
582 * shell/ev-view.c: (ev_view_get_width), (ev_view_get_height),
583 (goto_fitv_link), (goto_fith_link), (goto_fit_link),
584 (ev_view_goto_link), (ev_view_size_request_continuous_dual_page),
585 (ev_view_size_request_continuous),
586 (ev_view_size_request_dual_page),
587 (ev_view_size_request_single_page), (ev_view_size_allocate),
588 (ev_view_zoom_for_size_continuous_and_dual_page),
589 (ev_view_zoom_for_size_continuous),
590 (ev_view_zoom_for_size_dual_page),
591 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
592 (ev_sizing_mode_get_type):
594 * shell/ev-window.c: (ev_window_sizing_mode_changed_cb):
596 Do not use modes for link, we need to calculate size ad hoc.
597 Still not perfect because of the usual scrollbar issues grrr.
599 2005-09-24 Marco Pesenti Gritti <mpg@redhat.com>
601 * backend/ev-link.c: (ev_link_type_get_type),
602 (ev_link_new_page_fith), (ev_link_new_page_fitv):
605 * shell/ev-view.c: (goto_fitv_link), (goto_fith_link),
606 (ev_view_goto_link), (ev_view_size_request_continuous_dual_page),
607 (ev_view_size_request_continuous),
608 (ev_view_size_request_dual_page),
609 (ev_view_size_request_single_page), (ev_view_size_allocate),
610 (zoom_for_size_fit_height),
611 (ev_view_zoom_for_size_continuous_and_dual_page),
612 (ev_view_zoom_for_size_continuous),
613 (ev_view_zoom_for_size_dual_page),
614 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
615 (ev_sizing_mode_get_type):
617 * shell/ev-window.c: (ev_window_sizing_mode_changed_cb):
619 Implement FIT_HEIGHT mode (only for links).
622 2005-09-24 Marco Pesenti Gritti <mpg@redhat.com>
624 * shell/ev-window-title.c: (get_filename_from_uri),
625 (ev_window_title_sanitize_extension), (ev_window_title_update),
626 (ev_window_title_set_document), (ev_window_title_set_uri),
627 (ev_window_title_free):
628 * shell/ev-window-title.h:
629 * shell/ev-window.c: (ev_window_setup_document),
630 (ev_window_popup_password_dialog):
632 Refactor window title building while fixing it for
635 2005-09-24 Marco Pesenti Gritti <mpg@redhat.com>
639 Escape link title before setting it in the model
641 2005-09-23 Marco Pesenti Gritti <mpg@redhat.com>
643 * shell/ev-application.c: (removed_from_session), (save_session),
644 (init_session), (ev_application_get_empty_window),
645 (ev_application_init), (ev_application_get_windows):
646 * shell/ev-application.h:
647 * shell/ev-window.c: (ev_window_finalize):
649 Add a function to retrieve window list and share it where
651 Implement session handling, works pretty well thanks to the
654 2005-09-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
656 * shell/ev-password.c: (ev_password_item_created_callback),
657 (ev_password_dialog_save_password):
659 Fix for bug 316972. Use async gnome-keyring API.
661 2005-09-22 Christian Persch <chpe@cvs.gnome.org>
663 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_class_init):
664 Remove unused unrealize handler. Add scroll handling to
665 ev_view_scroll_event for presentation mode (bug #316708),
666 and fix the event state checks there.
668 2005-09-22 Marco Pesenti Gritti <mpg@redhat.com>
670 * shell/ev-page-action.c: (page_changed_cb):
672 "marco, maybe we should be crazy and jump right to 6! :)"
674 Bryan Clark, Sep 2005
676 2005-09-22 Marco Pesenti Gritti <mpg@redhat.com>
678 * ps/ps-document.c: (save_document), (ps_document_save),
679 (ps_document_ps_export_begin), (ps_document_ps_export_do_page),
680 (ps_document_ps_export_end):
682 Fix unstructured documents save and print
684 2005-09-22 Marco Pesenti Gritti <mpg@redhat.com>
686 * shell/ev-application.c: (ev_application_open_uri):
688 Fix window size persistance
690 2005-09-22 Marco Pesenti Gritti <mpg@redhat.com>
692 * shell/ev-view.c: (ev_view_button_release_event):
694 Based on a patch from carlosgc@gnome.org. Mouse buttons
695 switch pages in presentation mode.
697 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
699 * shell/ev-page-cache.c: (ev_page_cache_get_size):
701 Dont cast to int before scaling
703 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
705 * backend/ev-link.c: (ev_link_type_get_type),
706 (ev_link_new_page_xyz), (ev_link_new_page_fit),
707 (ev_link_new_page_fith):
710 * shell/ev-view.c: (goto_fith_link), (ev_view_goto_link):
712 Implement FIT and FITH links
714 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
718 Return 0 results when search is not in progress.
720 * shell/ev-window.c: (ev_window_cmd_go_previous_page),
721 (ev_window_cmd_go_next_page), (find_bar_search_changed_cb):
723 Update menu sensitivity when cancelling search
725 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
727 * shell/ev-view.c: (ev_view_can_find_next):
729 Take all pages in consideration, not just current one
731 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
733 * shell/ev-page-cache.c:
734 * shell/ev-page-cache.h:
735 * shell/ev-view.c: (ev_view_binding_activated),
736 (ev_view_next_page), (ev_view_previous_page),
737 (ev_sizing_mode_get_type):
739 * shell/ev-window.c: (ev_window_cmd_go_previous_page),
740 (ev_window_cmd_go_next_page):
742 Move page next/previous functions from page chace to
743 view and change it to move by 2 page steps in dual mode.
745 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
747 * shell/ev-window.c: (update_sidebar_visibility),
748 (setup_sidebar_from_metadata), (ev_window_setup_document),
749 (setup_view_from_metadata):
751 Show the index by default when there is one
753 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
755 * shell/ev-window-title.c: (ev_window_title_set_document):
759 2005-09-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
761 * shell/ev-view.c: (view_update_range_and_current_page):
763 Allow display of last odd page in dual view. Fix for 316347.
765 2005-09-17 Wouter Bolsterlee <uws+gnome@xs4all.nl>
767 * shell/ev-window.c: (ev_window_cmd_edit_toolbar):
769 Make close button default. Fix for 316383.
771 2005-09-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
773 * shell/ev-properties-dialog.c: (ev_properties_dialog_init):
775 Mark close button as default. Fix for 316381.
777 2005-09-16 Marco Pesenti Gritti <mpg@redhat.com>
779 * backend/ev-link.c: (ev_link_class_init):
781 Allow negative doubles in left/top properties
783 2005-09-16 Marco Pesenti Gritti <mpg@redhat.com>
787 Remove a bunch of strings that was used only
790 2005-09-16 Marco Pesenti Gritti <mpg@redhat.com>
792 * shell/ev-window-title.c: (get_filename_from_uri),
793 (ev_window_title_set_document):
795 When title has a confusing extension, show also
796 the document filename inside ()
798 2005-09-16 Marco Pesenti Gritti <mpg@redhat.com>
801 * shell/ev-window-title.c: (ev_window_title_new),
802 (ev_window_title_update), (ev_window_title_set_type),
803 (ev_window_title_set_document), (ev_window_title_free):
804 * shell/ev-window-title.h:
805 * shell/ev-window.c: (ev_window_setup_document),
806 (password_dialog_response), (ev_window_popup_password_dialog),
807 (ev_window_dispose), (ev_window_init):
809 Factor out and cleanup window title code
811 2005-09-16 Marco Pesenti Gritti <mpg@redhat.com>
813 * shell/ev-window.c: (unable_to_load_dialog_response_cb),
816 Make dialog transient so it doesnt block other windows
818 2005-09-13 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
822 Fix pdf thumbnails rendering.
824 2005-09-13 Wouter Bolsterlee <uws+gnome@xs4all.nl>
826 * shell/ev-window.c: (fullscreen_set_timeout):
828 Increase timeout to hide full screen popup. Bug
831 2005-09-13 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
833 * data/evince.schemas.in:
834 * shell/ev-window.c: (update_action_sensitivity):
836 Allow the user to override document restrictions. Fix for bug
839 2005-09-13 Christian Persch <chpe@cvs.gnome.org>
841 * shell/ev-window.c: (ev_window_update_fullscreen_popup),
842 (ev_window_create_fullscreen_popup), (ev_window_screen_changed),
843 (ev_window_class_init): Fix multihead behaviour of fullscreen
844 toolbar popup. Fixes bug #315451.
846 2005-09-13 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
849 * data/evince-password.glade:
850 * shell/ev-password.c: (ev_password_dialog_set_property),
851 (ev_password_dialog_finalize), (ev_password_dialog_class_init),
852 (ev_password_dialog_init), (ev_password_set_bad_password_label),
853 (ev_password_dialog_entry_changed_cb),
854 (ev_password_dialog_entry_activated_cb),
855 (ev_password_dialog_save_password), (ev_password_keyring_found_cb),
856 (ev_password_search_in_keyring), (ev_password_dialog_get_password),
857 (ev_password_dialog_set_bad_pass):
858 * shell/ev-password.h:
859 * shell/ev-window.c: (password_dialog_response),
860 (ev_window_popup_password_dialog):
862 Support for gnome-keyring for encrypted PDF's.
864 2005-09-11 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
866 * shell/ev-view.c: (handle_link_over_xy), (ev_view_realize),
867 (ev_view_motion_notify_event), (ev_view_leave_notify_event),
868 (ev_view_enter_notify_event), (ev_view_class_init):
870 More precise handling of enter_notify/leave_notify events
871 in EvView. Fix for bug 315470.
873 2005-09-08 Christopher Aillon <caillon@redhat.com>
875 * shell/ev-window.c: (fullscreen_timeout_cb),
876 (fullscreen_set_timeout), (fullscreen_clear_timeout),
879 leak fix: unref fullscreen_timeout_source before clearing it
881 2005-09-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
883 * configure.ac, dvi/mdvi/Makefile.am:
885 Use lt1 instead lt1lib. Thanks to yselkowitz@users.sourceforge.net
887 2005-09-08 Marco Pesenti Gritti <mpg@redhat.com>
889 * backend/ev-link.c: (ev_link_new_page_xyz):
891 * shell/ev-view.c: (goto_xyz_link), (ev_view_goto_link):
893 Fix some bugs with xyz links, respect zoom
895 2005-09-08 Marco Pesenti Gritti <mpg@redhat.com>
897 * shell/ev-window.c: (page_changed_cb),
898 (setup_document_from_metadata), (update_sidebar_visibility),
899 (setup_view_from_metadata), (ev_window_run_fullscreen),
900 (ev_window_stop_fullscreen), (ev_window_run_presentation),
901 (ev_window_stop_presentation), (ev_window_continuous_changed_cb),
902 (ev_window_dual_mode_changed_cb),
903 (ev_window_sidebar_current_page_changed_cb):
905 null check uri before setting and getting metadata
907 2005-09-08 Marco Pesenti Gritti <mpg@redhat.com>
910 * properties/Makefile.am:
912 * thumbnailer/Makefile.am:
914 Some build fixes for cygwin. Patch by yselkowitz@users.sourceforge.net
916 2005-09-08 Marco Pesenti Gritti <mpg@redhat.com>
918 * shell/ev-sidebar-links.c: (ev_sidebar_links_class_init),
919 (selection_changed_callback):
920 * shell/ev-sidebar-links.h:
922 Add a signal for link activation.
924 * shell/ev-view.c: (ev_view_goto_link),
925 (ev_view_button_release_event):
927 * shell/ev-window.c: (sidebar_links_link_activated_cb),
930 Implement the signal so that we can handle all link types.
932 * shell/ev-page-cache.c:
934 Remove unused set_link function
936 2005-09-08 Marco Pesenti Gritti <mpg@redhat.com>
938 * lib/ev-tooltip.c: (ev_tooltip_set_position):
940 Add some space from the cursor, hardcoded but I couldnt
943 2005-09-07 Marco Pesenti Gritti <mpg@redhat.com>
947 Use mozilla style vs gtk style, way better for links.
949 * shell/ev-view.c: (ev_view_motion_notify_event),
950 (ev_view_destroy), (ev_view_init):
952 Deactive tooltip when the link hovered is changed.
954 2005-09-07 Marco Pesenti Gritti <mpg@redhat.com>
956 * backend/ev-document.h:
957 * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_top),
958 (ev_link_get_left), (ev_link_get_zoom), (ev_link_get_property),
959 (ev_link_set_property), (ev_window_dispose), (ev_link_class_init),
960 (ev_link_new_page), (ev_link_new_page_xyz):
963 * shell/ev-view.c: (doc_point_to_view_point), (scroll_to_xyz_link),
964 (go_to_link), (tip_from_link):
966 Implement xyz links, still not functional. Links are a total
967 mess, will need to refactor and bugfix a lot :(
969 2005-09-05 Alessio Frusciante <algol@firenze.linux.it>
971 * configure.ac: Added "it" (Italian) to ALL_LINGUAS.
973 2005-09-05 Marco Pesenti Gritti <mpg@redhat.com>
975 * data/evince-ui.xml:
976 * data/evince.schemas.in:
978 * shell/ev-window.c: (update_chrome_visibility),
979 (password_dialog_response), (ev_window_load_job_cb),
980 (ev_window_xfer_job_cb), (ev_window_open_uri),
981 (ev_window_class_init), (set_chrome_actions), (load_chrome),
984 Remove the statusbar. This regress loading feedback, need to
985 check with Bryan what we want to do there...
987 2005-09-05 Marco Pesenti Gritti <mpg@redhat.com>
989 * lib/ev-tooltip.c: (ev_tooltip_init):
991 Fix tooltip border and size handling
993 2005-09-05 Marco Pesenti Gritti <mpg@redhat.com>
995 * lib/ev-tooltip.c: (ev_tooltip_dispose), (ev_tooltip_class_init),
996 (ev_tooltip_set_position), (ev_tooltip_recently_shown),
997 (ev_tooltip_timeout), (ev_tooltip_activate),
998 (ev_tooltip_deactivate):
1000 * shell/ev-view.c: (ev_view_motion_notify_event):
1002 Delay popup showing. Mirror gtk logic/times.
1004 2005-09-03 Marco Pesenti Gritti <mpg@redhat.com>
1007 * lib/ev-tooltip.c: (ev_tooltip_expose_event),
1008 (ev_tooltip_class_init), (ev_tooltip_init), (ev_tooltip_new),
1009 (ev_tooltip_set_text), (ev_tooltip_set_position):
1012 Simple widget to show tooltips at a custom position
1014 * shell/ev-view.c: (tip_from_link), (ev_view_motion_notify_event),
1017 Use it for links. First go, needs work
1019 2005-08-17 Dennis Cranston <dennis_cranston@yahoo.com>
1021 * shell/ev-window.c: (ev_window_cmd_edit_toolbar): A couple small
1022 HIG fixes. Use title capitalization for window title. Use 12
1023 pixels of space between the dialog's vbox and action area.
1025 2005-09-02 Marco Pesenti Gritti <mpg@redhat.com>
1027 * shell/ev-window.c: (file_open_dialog_response_cb),
1028 (ev_window_cmd_file_open), (file_save_dialog_response_cb),
1029 (ev_window_cmd_save_as):
1031 Make file pickers not modal and refactor code some
1033 2005-09-02 Marco Pesenti Gritti <mpg@redhat.com>
1035 * shell/ev-sidebar.h:
1036 * shell/ev-sidebar.c: (ev_sidebar_set_property),
1037 (ev_sidebar_get_current_page), (ev_sidebar_get_property),
1038 (ev_sidebar_class_init), (ev_sidebar_select_page),
1039 (ev_sidebar_menu_item_activate_cb), (ev_sidebar_new),
1040 (ev_sidebar_set_page):
1042 Add a current page property and allow to get/set it
1044 * shell/ev-window.c: (setup_view_from_metadata),
1045 (ev_window_sidebar_current_page_changed_cb), (ev_window_init):
1047 Persist current sidebar page per document
1049 2005-09-02 Marco Pesenti Gritti <mpg@redhat.com>
1051 * data/evince.schemas.in:
1052 * shell/ev-window.c: (update_chrome_visibility),
1053 (setup_document_from_metadata), (update_sidebar_visibility),
1054 (setup_view_from_metadata), (ev_window_sidebar_position_change_cb),
1055 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
1056 (ev_window_run_presentation), (ev_window_stop_presentation),
1057 (ev_window_view_sidebar_cb),
1058 (ev_window_sidebar_visibility_changed_cb), (set_chrome_actions),
1059 (load_chrome), (ev_window_init):
1061 Persist size/visibility of sidebar per document
1063 Fri Sep 2 00:59:55 2005 Jonathan Blandford <jrb@redhat.com>
1065 * shell/ev-view.c (draw_loading_text): Draw loading text.
1067 2005-09-02 Dan Damian <dand@gnome.ro>
1069 * configure.in: Added "ro" to ALL_LINGUAS.
1071 2005-09-01 Marco Pesenti Gritti <mpg@redhat.com>
1073 * shell/ev-view.c: (clear_caches):
1075 ev_page_cache_get doesnt return a reference,
1076 dont try to unref it.
1078 2005-09-01 Marco Pesenti Gritti <mpg@redhat.com>
1080 * shell/main.c: (load_files_remote):
1082 Fix timestamp parameter with dbus <= 0.33
1084 2005-08-31 Marco Pesenti Gritti <mpg@redhat.com>
1086 * data/evince.schemas.in:
1088 Add missing full stop
1090 2005-08-31 Hiroyuki Ikezoe <poincare@ikezoe.net>
1092 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info):
1093 * shell/ev-window.c: (ev_window_print_range), (ev_window_dispose):
1095 Plug some memory leaks
1097 2005-08-29 Christian Persch <chpe@cvs.gnome.org>
1100 * lib/ev-debug.c: (trap_handler):
1102 Check for execinfo.h and use it only if it exists.
1103 Ported from Epiphany (bug #314776).
1105 2005-08-29 Duarte Loreto <happyguy_pt@hotmail.com>
1107 * configure.ac: Added Portuguese (pt) to ALL_LINGUAS.
1109 2005-08-27 Mohammad DAMT <mdamt@gnome.org>
1111 * configure.ac: Added Indonesian "id" to ALL_LINGUAS
1112 * po/id.po : Added Indonesian translation
1114 Fri Aug 26 00:45:09 2005 Jonathan Blandford <jrb@redhat.com>
1117 * shell/ev-application.c: Last minute GTK-2.6 fixes.
1118 * NEWS: Release 0.4.0
1120 Thu Aug 25 23:40:23 2005 Jonathan Blandford <jrb@redhat.com>
1122 * configure.ac: catch another gtk+-2.8ism
1123 * shell/main.c: Make work with gtk+-2.6
1125 2005-08-25 Ryan Lortie <desrt@desrt.ca>
1127 * shell/ev-application-service.xml: Add 'timestamp' argument to
1128 ev_application_open_window and ev_application_open_uri methods.
1130 * shell/ev-application.h: Add 'timestamp' argument to
1131 ev_application_open_window, ev_application_open_uri,
1132 and ev_application_open_uri_list functions.
1134 * shell/ev-application.c (ev_application_open_window,
1135 ev_application_open_uri, ev_application_open_uri_list): Change
1136 functions that show/present windows to use a timestamp if one
1139 * shell/ev-window.c (ev_window_cmd_file_open,
1140 ev_window_cmd_recent_file_activate, drag_data_received_cb):
1141 * shell/main.c (load_files): Modify calls to ev_application to
1142 include GDK_CURRENT_TIME as timestamp.
1144 * shell/main.c (load_files_remote): Obtain timestamp for client
1145 instance from GDK and pass to server instance so new windows are
1146 focused properly. Fix dbus_g_proxy_call() calls by including second
1151 Thu Aug 25 22:13:08 2005 Jonathan Blandford <jrb@redhat.com>
1153 * shell/ev-window.c (ev_window_finalize): Check for
1154 avail. EvWindows when quiting to handle the finalize better,
1157 2005-08-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1159 * properties/ev-properties-view.c:
1161 Set textdomain to libglade. Fixes translation problem in property page.
1163 2005-08-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1165 * djvu/djvu-document.c: (djvu_document_thumbnails_get_thumbnail):
1167 * dvi/dvi-document.c: (dvi_document_thumbnails_get_thumbnail):
1168 * dvi/mdvi-lib/Makefile.am:
1170 Fix rotation of thumbnails, ported to new API. Moved library
1171 dependencies earlier, probably it will fix linkage problem.
1173 Thu Aug 25 02:32:32 2005 Jonathan Blandford <jrb@redhat.com>
1175 * backend/ev-document-misc.c:
1176 (ev_document_misc_get_thumbnail_frame):
1177 * backend/ev-document-misc.h:
1179 * pdf/ev-poppler.cc:
1180 * shell/Makefile.am:
1181 * shell/ev-sidebar-thumbnails.c: (add_range),
1182 (ev_sidebar_thumbnails_set_loading_icon),
1183 (ev_sidebar_thumbnails_refresh),
1184 (ev_sidebar_thumbnails_set_document):
1185 * shell/ev-sidebar-thumbnails.h:
1186 * shell/ev-view.c: (ev_view_motion_notify_event),
1187 (ev_view_set_property), (ev_view_get_property),
1188 (ev_view_class_init), (ev_view_set_rotation):
1189 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
1190 (ev_window_cmd_edit_rotate_right), (ev_window_rotation_changed_cb),
1192 * tiff/tiff-document.c: (tiff_document_thumbnails_get_thumbnail):
1193 Redo rotation (again). prepare for 0.4.0
1195 2005-08-24 Kristian Høgsberg <krh@redhat.com>
1197 * configure.ac: Bump poppler requirement to 0.4.1.
1199 * pdf/ev-poppler.cc (pdf_selection_render_selection): Add rotation
1200 argument to poppler_page_render_selection() call.
1202 2005-08-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1204 * djvu/djvu-document.c: (djvu_document_render_pixbuf),
1205 (djvu_document_thumbnails_get_thumbnail):
1206 * dvi/dvi-document.c: (dvi_document_render_pixbuf),
1207 (dvi_document_thumbnails_get_thumbnail):
1208 * pixbuf/pixbuf-document.c: (pixbuf_document_render_pixbuf),
1209 (pixbuf_document_thumbnails_get_thumbnail):
1210 * tiff/tiff-document.c: (tiff_document_render_pixbuf):
1212 Update rotation direction of backends to fit with pdf and ps.
1214 2005-08-24 Marco Pesenti Gritti <mpg@redhat.com>
1216 * backend/ev-async-renderer.c: (ev_async_renderer_render_pixbuf):
1217 * backend/ev-async-renderer.h:
1218 * ps/ps-document.c: (ps_document_init), (setup_pixmap),
1219 (setup_page), (ps_document_get_page_size),
1220 (ps_async_renderer_render_pixbuf):
1222 * shell/ev-jobs.c: (ev_job_render_run):
1224 Fix orientation in the postscript document
1226 2005-08-23 Marco Pesenti Gritti <mpg@redhat.com>
1228 * pdf/ev-poppler.cc:
1229 * ps/ps-document.c: (push_pixbuf), (ps_document_widget_event):
1230 * shell/ev-view.c: (highlight_find_results):
1232 Adapt to the new poppler rotation API. Fix text maps on landscape
1235 Sat Aug 20 17:13:48 2005 Jonathan Blandford <jrb@redhat.com>
1237 * shell/ev-view.c (compute_new_selection_text): get the correct
1238 region when selecting in modes other than continuous.
1240 Sat Aug 20 13:10:01 2005 Jonathan Blandford <jrb@redhat.com>
1242 * shell/main.c (main): remove redundant g_warnings.
1244 2005-08-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1246 * shell/Makefile.am: Don't include autogenerated
1247 file ev-application-service.h into distribution, since
1248 it causes dbus crash. Fix for bugs 313724 and 313443.
1250 2005-08-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1252 * configure.ac: Fix sed expression for FreeBSD. Thanks
1253 to Joe Marcus Clark <marcus@freebsd.org>
1255 * shell/eggfindbar.c: (entry_activate_callback),
1256 (entry_changed_callback), (egg_find_bar_init),
1257 (egg_find_bar_set_search_string):
1259 Made findbar buttons unsensitive if there is no text in
1260 entry. Fix for the bug 313285.
1262 2005-08-17 Carlos Garcia Campos <carlosgc@gnome.org>
1264 * ps/ps-document.c: Use g_filename_display_name for displaying
1265 filenames and revert string freeze breackage
1267 2005-08-17 Marco Pesenti Gritti <mpg@redhat.com>
1274 * shell/Makefile.am:
1276 Add ev-application-service.xml to extra dist
1278 * shell/ev-view.c: (find_page_at_location):
1280 Remove unused function (fix warning)
1282 2005-08-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1284 * dvi/mdvi-lib/t1.c: (t1_reset_resolution), (t1_really_load_font),
1285 (t1_load_font), (t1_glyph_bitmap), (t1_font_remove):
1287 Fix warnings and compilation with t1lib-5.0 and newer. Fix for
1290 2005-08-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1292 * shell/ev-utils.c: (set_umask_permissions), (write_to_temp_file):
1293 * shell/ev-window.c:
1296 2005-08-16 Carlos Garcia Campos <carlosgc@gnome.org>
1298 * configure.ac: Update script to get dbus version.
1299 Fix for the bug #313443.
1301 2005-08-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1303 * shell/ev-window.c: (ev_window_cmd_escape):
1305 Return focus back to view on escape. Fix for bug 313295.
1307 2005-08-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1309 * shell/ev-window.c: (update_window_title),
1310 (ev_window_popup_password_dialog), (ev_window_load_job_cb),
1311 (ev_window_cmd_save_as):
1313 Correct conversion from uri to displayable string. Fix for
1316 2005-08-16 Carlos Garcia Campos <carlosgc@gnome.org>
1318 * ps/ps-document.c: convert filename to utf8 when there is an error
1319 loading document. Fixes #309915
1321 2005-08-16 Marco Pesenti Gritti <mpg@redhat.com>
1325 We depend on poppler 0.4.0
1327 Mon Aug 15 21:53:05 2005 Jonathan Blandford <jrb@redhat.com>
1330 * NEWS: Release 0.3.3.
1331 * thumbnailer/evince-thumbnailer.c: Remove pdf icon.
1333 2005-08-14 Dennis Cranston <dennis_cranston@yahoo.com>
1335 * shell/ev-window.c: (ev_window_cmd_file_open): HIG fixes:
1336 add a couple missing mnemonics to menu items, use title
1337 capitalization for menu items and window titles, and add
1338 ellipsis to open menu item.
1340 Mon Aug 15 00:40:21 2005 Jonathan Blandford <jrb@redhat.com>
1342 * pdf/ev-poppler.cc:
1343 * shell/ev-metadata-manager.c: (ev_metadata_manager_init):
1344 * shell/ev-view.c: (ev_view_rotate_left), (ev_view_set_rotation),
1345 (ev_view_get_rotation):
1347 * shell/ev-window.c: (setup_view_from_metadata),
1348 (save_rotation_to_file), (ev_window_cmd_edit_rotate_left),
1349 (ev_window_cmd_edit_rotate_right): Fix rotation. Save it to
1352 2005-08-14 Baris Cicek <baris@teamforce.name.tr>
1354 * configure.ac: Added tr to ALL_LINGUAS
1356 2005-08-12 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1358 * shell/ev-view.c: Fix for bug Bug 311838. Search backward
1359 requires several clicks to find word. Thanks to
1360 Colin Slater <kiltedtaco@gmail.com>.
1362 2005-08-11 Bryan Clark <clarkbw@cvs.gnome.org>
1364 * data/evince.desktop.in.in: Hide menu entry and
1365 rename it to "Document Viewer". Fix for bug
1368 2005-08-11 Crispin Flowerday <gnome@flowerday.cx>
1370 * shell/ev-page-action.c (ev_page_action_class_init):
1372 Point to the correct function in constructor of the
1373 activate_label signal
1375 Tue Aug 9 02:17:13 2005 Jonathan Blandford <jrb@redhat.com>
1377 * shell/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
1378 * shell/ev-jobs.h: Make thread safe.
1380 2005-08-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1382 * shell/ev-view.c: (view_update_range_and_current_page):
1383 Don't update page range if we are scrolling to some document
1386 2005-08-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1388 * shell/ev-view.c: (get_page_extents): reverse rotation/scale
1389 when getting max_page_width, fix drawing in dual mode.
1391 Sun Aug 7 02:06:08 2005 Jonathan Blandford <jrb@redhat.com>
1393 * shell/ev-view.c (ev_view_select_all): reverse rotation/page when
1394 getting the area for select_all.
1396 2005-08-06 Kristian Høgsberg <krh@redhat.com>
1398 * backend/ev-selection.c: (ev_selection_render_selection):
1399 * backend/ev-selection.h:
1400 * pdf/ev-poppler.cc:
1401 * shell/ev-jobs.c: (ev_job_render_new):
1403 * shell/ev-pixbuf-cache.c: (get_selection_colors),
1404 (add_job_if_needed), (ev_pixbuf_cache_get_selection_pixbuf):
1405 * shell/ev-view.c: (ev_view_focus_in), (ev_view_focus_out),
1406 (ev_view_class_init):
1408 Change selection color on focus in and focus out events. Also,
1409 poppler now uses GdkColor for specifying the selection colors, so
1410 drop some awkward conversion code.
1412 2005-08-06 Yair Hershkovitz <yairhr@gmail.com>
1414 * configure.ac: Added Hebrew translation
1416 Sat Aug 6 01:12:44 2005 Jonathan Blandford <jrb@redhat.com>
1419 * backend/ev-selection.c: (ev_selection_render_selection):
1420 * backend/ev-selection.h:
1421 * pdf/ev-poppler.cc:
1422 * shell/ev-jobs.c: (ev_job_render_dispose), (ev_job_render_new),
1423 (ev_job_render_run):
1425 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info),
1426 (ev_pixbuf_cache_new), (job_finished_cb), (add_job_if_needed),
1427 (convert_gdk_color_to_uint), (ev_pixbuf_cache_get_text_mapping),
1428 (ev_pixbuf_cache_style_changed),
1429 (ev_pixbuf_cache_get_selection_pixbuf),
1430 (ev_pixbuf_cache_set_selection_list),
1431 (ev_pixbuf_cache_get_selection_list):
1432 * shell/ev-pixbuf-cache.h:
1433 * shell/ev-utils.c: (ev_print_region_contents):
1435 * shell/ev-view.c: (ev_view_queue_draw_page),
1436 (selection_update_idle_cb), (ev_view_motion_notify_event),
1437 (ev_view_style_set), (draw_one_page), (ev_view_class_init),
1438 (setup_caches), (ev_view_find_next), (merge_selection_region),
1440 * shell/ev-window.c: (ev_window_update_fullscreen_popup):
1442 Clean up selection to be much smoother!
1444 2005-08-05 Kristian Høgsberg <krh@redhat.com>
1446 * pdf/ev-poppler.cc (pdf_selection_render_selection): Pass colors
1447 to poppler_page_render_selection().
1449 2005-08-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1451 * ps/ps-document.c: (save_page_list): Use
1452 unzipped document when printing. Thanks to
1453 Colin Slater <kiltedtaco@gmail.com>. Fix for bug
1456 2005-08-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1458 * shell/ev-window.c: (update_action_sensitivity):
1460 Disable print and save respect to lockdown gconf keys. Fix
1463 2005-08-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1466 * shell/ev-utils.c: (rename_file), (set_umask_permissions),
1467 (write_to_temp_file), (ev_file_set_contents):
1469 * shell/ev-window.c: (save_print_config_to_file):
1471 Copy-paste g_file_set_contents to keep compatibility with gtk 2.6
1474 2005-07-31 Christian Persch <chpe@cvs.gnome.org>
1476 * shell/ev-window.c: (load_print_config_from_file),
1477 (save_print_config_to_file), (ev_window_print_range):
1479 Persist the print settings. Fixes bug #311578.
1481 2005-07-31 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1483 * djvu/djvu-document.c: (djvu_document_get_page_size),
1484 (djvu_document_render_pixbuf), (djvu_document_document_iface_init),
1485 (djvu_document_thumbnails_get_thumbnail):
1486 * dvi/dvi-document.c: (dvi_document_get_page_size),
1487 (dvi_document_render_pixbuf), (dvi_document_document_iface_init),
1488 (dvi_document_thumbnails_get_dimensions),
1489 (dvi_document_thumbnails_get_thumbnail):
1490 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size),
1491 (pixbuf_document_render_pixbuf),
1492 (pixbuf_document_document_iface_init),
1493 (pixbuf_document_thumbnails_get_thumbnail):
1495 Update backends to make them build with new rotation system.
1497 2005-07-31 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1499 * help/C/figures/evince_start_window.png:
1501 Update documentation image from Luca Ferretti <elle.uca@libero.it>
1503 Sat Jul 30 19:09:34 2005 Jonathan Blandford <jrb@redhat.com>
1505 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_clear):
1506 * shell/ev-pixbuf-cache.h:
1507 * shell/ev-sidebar-thumbnails.c:
1508 (ev_sidebar_thumbnails_get_property), (add_range),
1509 (adjustment_changed_cb):
1510 * shell/ev-view.c: (ev_view_set_rotation): Fix rotation and the
1511 pixbuf cache. Make thumbnailing work again. Also, fix bug where
1512 we were thumbnailing the entire docment on startup, slowing us
1515 Fri Jul 29 23:14:28 2005 Jonathan Blandford <jrb@redhat.com>
1517 * shell/ev-page-cache.c: (ev_page_cache_new):
1518 * shell/ev-window.c: (update_action_sensitivity): Handle n_pages
1519 == 0, fixes #310306.
1521 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
1523 * shell/ev-view.c: (doc_rect_to_view_rect), (ev_view_rotate_right),
1524 (ev_view_rotate_left):
1526 Account rotation in doc_rect_to_view_rect.
1527 Ensure rotation doesnt go out of bounds.
1529 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
1531 * shell/ev-page-cache.c: (ev_page_cache_get_size):
1533 Correct and cleanup w/h swapping
1535 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
1537 * backend/ev-document-thumbnails.c:
1538 (ev_document_thumbnails_get_thumbnail):
1539 * backend/ev-document-thumbnails.h:
1540 * backend/ev-document.c:
1541 * backend/ev-document.h:
1542 * backend/ev-render-context.c: (ev_render_context_new),
1543 (ev_render_context_set_rotation):
1544 * backend/ev-render-context.h:
1545 * pdf/ev-poppler.cc:
1546 * ps/ps-document.c: (ps_document_document_iface_init):
1547 * shell/ev-jobs.c: (ev_job_thumbnail_new), (ev_job_thumbnail_run):
1549 * shell/ev-page-cache.c: (build_height_to_page),
1550 (ev_page_cache_new), (ev_page_cache_get_size),
1551 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
1552 (ev_page_cache_get_height_to_page):
1553 * shell/ev-page-cache.h:
1554 * shell/ev-pixbuf-cache.c: (check_job_size_and_unref),
1555 (add_job_if_needed), (ev_pixbuf_cache_add_jobs_if_needed),
1556 (ev_pixbuf_cache_set_page_range), (new_selection_pixbuf_needed),
1557 (ev_pixbuf_cache_get_selection_pixbuf):
1558 * shell/ev-pixbuf-cache.h:
1559 * shell/ev-print-job.c: (idle_print_handler):
1560 * shell/ev-sidebar-thumbnails.c: (add_range):
1561 * shell/ev-view.c: (view_update_range_and_current_page),
1562 (get_page_y_offset), (get_page_extents),
1563 (ev_view_size_request_continuous_dual_page),
1564 (ev_view_size_request_continuous),
1565 (ev_view_size_request_dual_page),
1566 (ev_view_size_request_single_page), (draw_one_page),
1567 (ev_view_set_rotation), (ev_view_rotate_right),
1568 (ev_view_rotate_left), (ev_view_zoom_for_size_presentation),
1569 (ev_view_zoom_for_size_continuous_and_dual_page),
1570 (ev_view_zoom_for_size_continuous),
1571 (ev_view_zoom_for_size_dual_page),
1572 (ev_view_zoom_for_size_single_page), (compute_new_selection_text),
1573 (ev_view_select_all):
1574 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
1575 * tiff/tiff-document.c: (tiff_document_render_pixbuf),
1576 (tiff_document_document_iface_init),
1577 (tiff_document_thumbnails_get_thumbnail):
1579 Use rotation rather than orientation. It's easier and enough
1582 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
1584 * shell/ev-page-cache.c: (build_height_to_page),
1585 (ev_page_cache_new), (ev_page_cache_get_size),
1586 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
1587 (ev_page_cache_get_height_to_page):
1588 * shell/ev-page-cache.h:
1589 * shell/ev-view.c: (get_page_y_offset), (get_page_extents),
1590 (ev_view_size_request_continuous_dual_page),
1591 (ev_view_size_request_continuous),
1592 (ev_view_zoom_for_size_continuous_and_dual_page),
1593 (ev_view_zoom_for_size_continuous):
1595 Make the page cache aware of page orientation.
1597 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
1599 * backend/ev-document-thumbnails.c:
1600 (ev_document_thumbnails_get_thumbnail):
1601 * backend/ev-document-thumbnails.h:
1602 * backend/ev-document.c:
1603 * backend/ev-document.h:
1604 * backend/ev-ps-exporter.c: (ev_ps_exporter_do_page):
1605 * backend/ev-ps-exporter.h:
1606 * pdf/ev-poppler.cc:
1607 * ps/ps-document.c: (ps_document_document_iface_init),
1608 (ps_document_ps_export_do_page):
1609 * shell/ev-jobs.c: (ev_job_thumbnail_new), (ev_job_thumbnail_run):
1611 * shell/ev-page-cache.c: (ev_page_cache_get_size),
1612 (ev_page_cache_get):
1613 * shell/ev-page-cache.h:
1614 * shell/ev-pixbuf-cache.c: (check_job_size_and_unref),
1615 (add_job_if_needed), (ev_pixbuf_cache_add_jobs_if_needed),
1616 (ev_pixbuf_cache_set_page_range), (new_selection_pixbuf_needed):
1617 * shell/ev-pixbuf-cache.h:
1618 * shell/ev-print-job.c: (idle_print_handler):
1619 * shell/ev-sidebar-thumbnails.c: (add_range):
1620 * shell/ev-view.c: (view_update_range_and_current_page),
1621 (get_page_extents), (ev_view_size_request_dual_page),
1622 (ev_view_size_request_single_page), (draw_one_page),
1623 (clear_caches), (ev_view_set_orientation), (ev_view_rotate_right),
1624 (ev_view_rotate_left), (ev_view_zoom_for_size_presentation),
1625 (ev_view_zoom_for_size_dual_page),
1626 (ev_view_zoom_for_size_single_page), (compute_new_selection_text),
1627 (ev_view_select_all):
1628 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
1629 * tiff/tiff-document.c: (tiff_document_get_page_size),
1630 (tiff_document_get_orientation), (rotate_pixbuf),
1631 (tiff_document_render_pixbuf), (tiff_document_document_iface_init),
1632 (tiff_document_thumbnails_get_thumbnail),
1633 (tiff_document_ps_export_do_page), (tiff_document_init):
1635 Really make use of the orientation bit of the render context.
1636 Use the render context in a few more places in the backend API.
1637 This regress orientation, but now it's done right. Will try to
1640 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
1642 * shell/ev-view.c: (ensure_rectangle_is_visible):
1644 Patch by Nickolay V. Shmyrev to fix find flickering
1646 2005-07-27 Martin Kretzschmar <martink@gnome.org>
1648 * backend/ev-ps-exporter.h: add paper_width, paper_height, and
1649 duplex parameters to ::begin.
1651 * tiff/tiff-document.c (tiff_document_ps_export_begin):
1652 * shell/ev-print-job.c (idle_print_handler):
1653 * ps/ps-document.c (ps_document_ps_export_begin):
1654 * pdf/ev-poppler.cc (pdf_document_ps_exporter_begin):
1655 * backend/ev-ps-exporter.c (ev_ps_exporter_begin): update
1656 implementations. Poppler backend needs poppler cvs. Rest has
1659 2005-07-25 Martin Kretzschmar <martink@gnome.org>
1661 * shell/ev-window.c (using_pdf_printer): new function.
1662 (ev_window_print_range): print a less techy message if someone
1663 tries to print to PDF.
1665 2005-07-25 Martin Kretzschmar <martink@gnome.org>
1667 * pdf/ev-poppler.cc (font_type_to_string): Remove trailing space
1668 from "unknown font" string. Bug #311431
1670 2005-07-24 Martin Kretzschmar <martink@gnome.org>
1672 * help/es/.cvsignore, help/sr/.cvsignore: ignore xmlpo output.
1674 2005-07-24 Martin Kretzschmar <martink@gnome.org>
1678 * pdf/ev-poppler.cc (font_type_to_string): new, returns user readable
1679 name for PopplerFontTypes
1680 (pdf_document_fonts_fill_model): add font type to the detail column
1682 * backend/ev-document-fonts.h: added
1683 EV_DOCUMENT_FONTS_COLUMN_DETAILS.
1685 * shell/ev-properties-fonts.c (font_cell_data_func): glue together
1686 font name and font details, add a little markup.
1687 (ev_properties_fonts_init): use the new cell data func, specify ypad
1688 property for the cell renderer.
1689 (ev_properties_fonts_set_document): add the details column.
1691 2005-07-24 Artur Flinta <aflinta@cvs.gnome.org>
1693 * configure.ac: Added "pl" to ALL_LINGUAS.
1695 2005-07-24 Danilo Šegan <danilo@gnome.org>
1697 * configure.ac: Added "sr" and "sr@Latn" to ALL_LINGUAS.
1699 2005-07-23 Tommi Vainikainen <thv@iki.fi>
1701 * help/ChangeLog: Started this for translations of manual.
1702 * configure.ac, autogen.sh, .cvsignore: Migrated to
1703 gnome-doc-utils. Patch in bug #311222.
1705 2005-07-22 Martin Kretzschmar <martink@gnome.org>
1707 * backend/ev-document-factory.c (mime_type_supported_by_gdk_pixbuf):
1708 #ifdef this away to fix an unused-function warning.
1710 2005-07-22 Ignacio Casal Quinteiro <nacho.resa@gmail.com>
1712 * configure.ac: Added 'gl' to ALL_LINGUAS.
1714 2005-07-22 Pawan Chitrakar <pawan@nplinux.org>
1716 * configure.ac: Added ne in ALL_LINGUAS
1718 2005-07-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1720 * shell/ev-view.c: (ev_view_leave_notify_event):
1722 Clear status message when pointer leaves view. Fix for bug
1725 2005-07-20 Ankit Patel <ankit644@yahoo.com>
1727 * configure.ac: Gujarati (gu) added to ALL_LINGUAS
1729 2005-07-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1731 * shell/ev-view.c: (ev_view_leave_notify_event),
1732 (ev_view_class_init):
1734 Set cursor to normal then leaving view.
1736 2005-07-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1740 Fix required djvulibre version.
1742 2005-07-15 Rajesh Ranjan <rajeshkajha@yahoo.com>
1744 *configure.ac: Hindi (hi) language added
1746 2005-07-15 Amanpreet Singh Brar <amanpreetalam@yahoo.com>
1748 *configure.ac: Punjabi (pa) Language added
1750 2005-07-12 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1752 * data/evince-ui.xml, shell/ev-window.c:
1754 Add keypad accelerators for zooming. Fix for bug 308128.
1756 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
1759 * backend/Makefile.am:
1760 * backend/ev-document-factory.c: (ev_document_type_get_from_mime):
1762 * shell/ev-document-types.c: (ev_document_types_add_filters):
1764 Allow to enable/disable the pixbuf backend.
1765 Default to off for now. If we want it enabled we should
1766 really put mime types in the desktop, implement properties etc.
1768 * properties/evince-properties.c:
1770 Initialize error to NULL.
1771 Check error is not NULL before freeing.
1773 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
1775 * shell/ev-window.c:
1777 Use F5 as presentation accell
1779 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
1781 * shell/ev-window.c: (update_chrome_visibility),
1782 (ev_window_create_fullscreen_popup), (ev_window_init):
1784 Do not leak the fullscreen toolbar
1786 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
1788 * shell/ev-window.c: (view_actions_focus_in_cb),
1789 (view_actions_focus_out_cb):
1791 These has a return value! Fix totally random focus
1792 issues we was seeing.
1794 2005-07-11 Carlos Garcia Campos <carlosgc@gnome.org>
1796 * shell/main.c: (load_files_remote):
1798 Allow open more than one file
1800 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
1802 * shell/main.c: (load_files_remote):
1804 Fix for dbus 0.33. bug #309975
1806 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
1808 * properties/ev-properties-main.c: (ev_properties_get_pages):
1810 Actually return NULL for types we dont support
1812 2005-07-08 Christian Persch <chpe@cvs.gnome.org>
1818 2005-07-08 Marco Pesenti Gritti <marco@gnome.org>
1820 * backend/ev-document-factory.c:
1821 (ev_document_factory_get_document):
1823 Do not try to create the object if type
1826 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
1828 * ps/ps-document.c: (ps_document_dispose),
1829 (ps_async_renderer_render_pixbuf):
1832 Do not leak the target window
1834 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
1836 * shell/ev-application.c: (ev_application_init):
1838 Let tbe check file existence for us.
1839 Add a comment about eggrecent mime filter.
1841 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
1843 * data/evince-ui.xml:
1844 * shell/ev-application.c: (ev_application_shutdown),
1845 (ev_application_init), (ev_application_get_toolbars_model),
1846 (ev_application_get_recent_model),
1847 (ev_application_save_toolbars_model):
1848 * shell/ev-application.h:
1849 * shell/ev-window.c: (ev_window_add_recent),
1850 (ev_window_setup_recent), (ev_window_cmd_edit_toolbar_cb),
1851 (ev_window_cmd_edit_toolbar), (ev_window_dispose),
1854 Use common toolbar and recent models for all windows.
1855 Patch by Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1857 Thu Jul 7 23:10:01 2005 Jonathan Blandford <jrb@redhat.com>
1859 * configure.ac: add FRONTEND_CORE_LIBS to evince_save_LIBS so we
1860 successfully check for gtk_icon_view_get_visible_range.
1862 2005-07-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1867 Fix djvu and dvi backend build.
1869 2005-07-07 Christian Persch <chpe@cvs.gnome.org>
1871 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c: (new_pixbuf_from_widget),
1872 (new_separator_pixbuf):
1876 2005-07-07 Christian Persch <chpe@cvs.gnome.org>
1878 * shell/ev-window.c: (ev_window_cmd_edit_toolbar):
1880 HIGification of toolbar editor dialogue.
1882 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1885 * shell/Makefile.am:
1887 Ever build metadata manager since it's just
1888 disabled at runtime now.
1890 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1892 * shell/ev-metadata-manager.c: (ev_metadata_manager_init),
1893 (ev_metadata_manager_get), (ev_metadata_manager_set):
1894 * shell/ev-metadata-manager.h:
1896 Add an _init functions that enabled metadata management
1899 * shell/ev-window.c: (page_changed_cb),
1900 (setup_document_from_metadata), (ev_window_setup_document),
1901 (setup_view_from_metadata), (ev_window_open_uri),
1902 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
1903 (ev_window_run_presentation), (ev_window_stop_presentation),
1904 (save_sizing_mode), (ev_window_zoom_changed_cb),
1905 (ev_window_continuous_changed_cb),
1906 (ev_window_dual_mode_changed_cb), (window_state_event_cb),
1907 (window_configure_event_cb):
1909 Remove all ugly metadata define since we deal with it
1912 * shell/main.c: (load_files_remote), (main):
1914 Add support for dbus cvs head. Hopefully didnt break one
1915 of the other versions now!
1917 If we dont get a response from the dbus server just
1918 give up with it and not enable metadata.
1920 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1923 * backend/Makefile.am:
1925 * cut-n-paste/recent-files/Makefile.am:
1926 * cut-n-paste/toolbar-editor/Makefile.am:
1927 * cut-n-paste/zoom-control/Makefile.am:
1930 * pixbuf/Makefile.am:
1931 * properties/Makefile.am:
1933 * shell/Makefile.am:
1934 * thumbnailer/Makefile.am:
1937 Make frontends depend on just libev.
1938 Rework and group CFLAGS/LIBS definitions.
1941 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1945 do not unnecessarily save zoom
1948 * lib/ev-file-helpers.c: (ev_dot_dir):
1949 * shell/Makefile.am:
1954 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1958 Remove unnecessary dependencies
1960 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1962 * properties/Makefile.am:
1963 * thumbnailer/Makefile.am:
1966 Some more cleanups. Was really necessary
1967 but I probably introduced bugs, feel free
1970 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1972 * backend/Makefile.am:
1974 * cut-n-paste/recent-files/Makefile.am:
1975 * cut-n-paste/toolbar-editor/Makefile.am:
1976 * cut-n-paste/zoom-control/Makefile.am:
1979 * pixbuf/Makefile.am:
1980 * properties/Makefile.am:
1982 * shell/Makefile.am:
1983 * thumbnailer/Makefile.am:
1986 Use gnome-common macros when possible.
1987 Cleanup dependencies.
1988 Actually disable deprecated where possible.
1990 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1993 * backend/Makefile.am:
1994 * properties/Makefile.am:
1995 * shell/Makefile.am:
1996 * thumbnailer/Makefile.am:
1998 This should solve the circular dep without
1999 requiring dir reorg!
2001 * shell/ev-window.c: (setup_view_from_metadata):
2003 Never restore window size/position when the
2004 window is already visible.
2006 2005-07-06 Christian Persch <chpe@cvs.gnome.org>
2008 * shell/ev-metadata-manager.c: (ev_metadata_manager_save):
2010 Return a boolean from timeout func. Fix ported from gedit.
2012 2005-07-07 Iñaki Larrañaga <dooteo@euskalgnu.org>
2014 * configure.ac: Added "eu" (Basque) to ALL_LINGUAS.
2016 2005-07-06 Carlos Garcia Campos <carlosgc@gnome.org>
2018 * shell/ev-document-types.c: set "All Documents" as default filter in
2021 2005-07-06 Martin Kretzschmar <martink@gnome.org>
2023 * shell/ev-metadata-manager.c (ev_metadata_manager_set_int)
2024 (ev_metadata_manager_set_double, ev_metadata_manager_set_string)
2025 (ev_metadata_manager_set_boolean): fix value/val thinko.
2027 2005-07-06 Marco Pesenti Gritti <mpg@redhat.com>
2029 * shell/ev-window.c: (setup_view_from_metadata),
2030 (window_state_event_cb), (window_configure_event_cb),
2033 Remember window position and maximized state
2035 2005-07-06 Christian Persch <chpe@cvs.gnome.org>
2039 Fix DBUS configure checks.
2041 * shell/ev-metadata-manager.c: (ev_metadata_manager_set_int),
2042 (ev_metadata_manager_set_double), (ev_metadata_manager_set_string),
2043 (ev_metadata_manager_set_boolean):
2047 * shell/ev-window.c: (page_changed_cb), (ev_window_run_fullscreen),
2048 (ev_window_stop_fullscreen), (ev_window_run_presentation),
2049 (ev_window_stop_presentation), (ev_window_zoom_changed_cb),
2050 (ev_window_continuous_changed_cb),
2051 (ev_window_dual_mode_changed_cb), (ev_window_new):
2053 Fix the build without DBUS.
2055 2005-07-06 Marco Pesenti Gritti <mpg@redhat.com>
2057 * shell/ev-metadata-manager.c: (parse_value), (save_values),
2058 (ev_metadata_manager_set_int), (ev_metadata_manager_set_double),
2059 (ev_metadata_manager_set_string),
2060 (ev_metadata_manager_set_boolean):
2061 * shell/ev-metadata-manager.h:
2063 Add support for some more types
2065 * shell/ev-view.c: (scroll_to_current_page),
2066 (ev_view_get_continuous), (ev_view_set_continuous),
2067 (ev_view_get_dual_page):
2069 * shell/ev-window.c: (page_changed_cb),
2070 (setup_document_from_metadata), (ev_window_setup_document),
2071 (setup_view_from_metadata), (ev_window_open_uri),
2072 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
2073 (ev_window_run_presentation), (ev_window_stop_presentation),
2074 (save_sizing_mode), (ev_window_sizing_mode_changed_cb),
2075 (ev_window_zoom_changed_cb), (ev_window_update_continuous_action),
2076 (ev_window_update_dual_page_action),
2077 (ev_window_continuous_changed_cb),
2078 (ev_window_dual_mode_changed_cb), (ev_window_init):
2080 Remember a bunch of view/document properties. Prolly some
2081 are still missing but it's getting interesting.
2083 2005-07-05 Martin Kretzschmar <martink@gnome.org>
2085 * configure.ac: check if dbus-binding-tool is installed. Not the
2086 case on current Ubuntu breezy, it seems.
2088 2005-07-05 Luca Ferretti <elle.uca@libero.it>
2090 * data/evince.desktop.in.in:
2092 Allow open uri lists and add TryExec field.
2094 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
2098 Enable dbus when available, do not require a configure
2101 2005-07-05 Christian Persch <chpe@cvs.gnome.org>
2105 Use AM_CONDITIONAL unconditionally, fixes the build with DBUS
2108 2005-07-05 Carlos Garcia Campos <carlosgc@gnome.org>
2109 Marco Pesenti Gritti <mpg@redhat.com>
2111 * shell/Makefile.am: Add --prefix for dbus-binding-tool script
2113 * shell/ev-application.[ch], shell/ev-window.c: change dbus RPC
2114 functions to the format required by dbus
2116 * shell/main.c: use G_TYPE instead of DBUS_TYPE to fix compilation
2117 errors. Use the RPC parameters in the expected way
2119 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
2122 * properties/Makefile.am:
2123 * properties/ev-properties-main.c: (ev_properties_get_pages):
2125 Support all mime types
2127 * shell/Makefile.am:
2128 * thumbnailer/Makefile.am:
2129 * thumbnailer/evince-thumbnailer.c: (get_document_from_uri),
2130 (evince_thumbnail_pngenc_get):
2132 Use the document factory
2134 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
2136 * backend/Makefile.am:
2137 * backend/ev-document-factory.c:
2138 (mime_type_supported_by_gdk_pixbuf),
2139 (ev_document_type_get_from_mime),
2140 (ev_document_factory_get_document),
2141 (ev_document_factory_get_backend),
2142 (ev_document_factory_get_mime_types),
2143 (ev_document_factory_get_all_mime_types):
2144 * backend/ev-document-factory.h:
2145 * shell/Makefile.am:
2146 * shell/ev-document-types.c: (get_document_from_uri),
2147 (ev_document_types_get_document),
2148 (file_filter_add_mime_list_and_free),
2149 (ev_document_types_add_filters):
2150 * shell/ev-document-types.h:
2151 * shell/ev-job-xfer.c: (ev_job_xfer_run):
2152 * shell/ev-properties-dialog.c:
2153 (ev_properties_dialog_set_document):
2154 * shell/ev-window.c: (ev_window_cmd_file_open),
2155 (ev_window_cmd_save_as):
2156 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
2158 Rework document types managing to avoid code duplication
2159 and actually abstract from backend implementations.
2160 Also provide a minimal factory api that can be used by
2161 thumbnailer/properties.
2163 2005-07-05 Christian Persch <chpe@cvs.gnome.org>
2165 * properties/ev-properties-view.c: (ev_properties_view_set_info):
2167 * shell/ev-properties-dialog.c: (ev_properties_dialog_init):
2170 2005-07-04 Matthew S. Wilson <msw@rpath.com>
2172 * shell/ev-properties-dialog.c
2173 (ev_properties_dialog_set_document): only call
2174 ev_properties_fonts_set_document() if the document implements the
2177 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
2180 * properties/Makefile.am:
2181 * properties/ev-properties-view.c:
2182 (ev_properties_view_register_type):
2183 * properties/ev-properties-view.h:
2184 * properties/ev-properties-main.h:
2186 Implement nautilus plugin for properties.
2187 Works only for pdf atm, I need to rework the
2188 document types stuff to get this to work
2191 2005-07-04 Martin Kretzschmar <martink@gnome.org>
2193 * shell/ev-properties-fonts.c (enum): kill redundant columns enum
2194 (ev_properties_fonts_set_document): use
2195 EV_DOCUMENT_FONTS_COLUMN_NUM_COLUMNS.
2197 2005-07-04 Matthew S. Wilson <msw@rpath.com>
2199 * tiff/tiff2ps.c: remove TRUE and FALSE definitions, glib provides
2201 (PlaceImage, tiff2ps_process_page): use
2202 g_ascii_dtostr to convert floats to strings in a locale-safe way.
2205 2005-07-04 Martin Kretzschmar <martink@gnome.org>
2207 * shell/main.c: include libgnomeui/gnome-authentication-manager.h
2208 (main): to call gnome_authentication_manager_init. Should fix
2211 * configure.ac: that requires libgnomeui 2.6.0.
2213 2005-07-04 Matthew S. Wilson <msw@rpath.com>
2215 * tiff/tiff-document.c (tiff_document_ps_export_begin)
2216 (tiff_document_ps_export_do_page, tiff_document_ps_export_end):
2217 use the new tiff2ps interfaces
2219 * tiff/tiff2ps.h (tiff2ps_context_new, tiff2ps_process_page)
2220 (tiff2ps_context_finalize): implement new interfaces for tiff2ps
2222 * tiff/tiff2ps.c: refactor tiff2ps code to use a context
2223 structure instead of global variables. Remove use of static
2224 variables in functions.
2226 2005-07-04 Carlos Garcia Campos <carlosgc@gnome.org>
2228 * shell/ev-page-action.c: unref the completion after setting it to the
2231 2005-07-04 Matthew S. Wilson <msw@rpath.com>
2233 * tiff/tiff2ps.c (generateEPSF): disable generating encapsulated
2236 2005-07-04 Matthew S. Wilson <msw@rpath.com>
2238 * shell/ev-window.c (update_action_sensitivity): disable
2239 File->Print if the document does not implement the ps exporter
2242 2005-07-04 Marco Pesenti Gritti <mpg@redhat.com>
2246 * data/evince-properties.glade:
2247 * properties/.cvsignore:
2248 * properties/Makefile.am:
2249 * properties/ev-properties-view.c: (ev_properties_view_dispose),
2250 (ev_properties_view_class_init), (ev_properties_view_format_date),
2251 (make_valid_utf8), (set_property), (ev_properties_view_set_info),
2252 (ev_properties_view_init), (ev_properties_view_new):
2253 * properties/ev-properties-view.h:
2254 * shell/Makefile.am:
2255 * shell/ev-properties-dialog.c: (ev_properties_dialog_class_init),
2256 (ev_properties_dialog_init), (ev_properties_dialog_set_document),
2257 (ev_properties_dialog_new):
2258 * shell/ev-properties-dialog.h:
2259 * shell/ev-properties-fonts.c: (ev_properties_fonts_dispose),
2260 (ev_properties_fonts_class_init), (ev_properties_fonts_init),
2261 (update_progress_label), (job_fonts_finished_cb),
2262 (ev_properties_fonts_set_document), (ev_properties_fonts_new):
2263 * shell/ev-properties-fonts.h:
2264 * shell/ev-properties.c:
2265 * shell/ev-properties.h:
2266 * shell/ev-window.c: (ev_window_setup_document),
2267 (ev_window_cmd_file_properties):
2269 Split the properties pages in two different objects, depend
2270 only on the backend where possible, use widgets instead
2271 of gobject for the glade part, reimplement the dialog
2273 I need this to implement nautilus properties page.
2275 2005-07-03 Matthew S. Wilson <msw@rpath.com>
2277 * tiff/tiff-document.c (tiff_document_ps_export_begin)
2278 (tiff_document_ps_export_do_page, tiff_document_ps_export_end)
2279 (tiff_document_document_ps_exporter_iface_init): implement the ps
2280 exporter interface for tiff documents
2282 * tiff/tiff2ps.c: added a modified version of tiff2ps.c from
2283 libtiff to implement TIFF postscript export
2285 * tiff/tiff2ps.h: added a header file for external tiff2ps
2288 * tiff/Makefile.am (libtiffdocument_la_SOURCES): add tiff2ps.c and
2291 2005-07-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2293 * shell/ev-view.c: (scroll_to_current_page),
2294 (ev_view_set_fullscreen), (ev_view_set_presentation):
2296 Scroll to current page when exit from presentation
2298 2005-07-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2300 * shell/ev-window.c: (update_document_mode),
2301 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
2302 (ev_window_cmd_view_fullscreen), (ev_window_stop_presentation),
2303 (ev_window_cmd_view_presentation), (ev_window_cmd_escape):
2305 Exit from fullscreen mode when switch to presentation. Fix for
2308 2005-07-02 Matthew S. Wilson <msw@rpath.com>
2310 * shell/ev-pixbuf-cache.c (ev_pixbuf_cache_get_selection_pixbuf):
2311 return NULL if the document does not implement the selection
2314 2005-07-02 Matthew S. Wilson <msw@rpath.com>
2316 * tiff/tiff-document.c (tiff_document_get_page_size): scale the
2317 reported height by using the resolution aspect ratio
2318 (tiff_document_render_pixbuf): scale the pixbuf using the
2319 resolution aspect ratio
2321 2005-07-01 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2325 Require libgnomeprint >= 2.5.1. Thanks to Colin Slater
2326 <kiltedaco@gmail.com>
2328 * djvu/djvu-document.c: (djvu_document_get_orientation),
2329 (djvu_document_set_orientation), (djvu_document_get_page_size),
2330 (rotate_pixbuf), (djvu_document_render_pixbuf),
2331 (djvu_document_document_iface_init):
2332 * dvi/dvi-document.c: (dvi_document_get_orientation),
2333 (dvi_document_set_orientation), (dvi_document_get_page_size),
2334 (rotate_pixbuf), (dvi_document_render_pixbuf),
2335 (dvi_document_document_iface_init):
2337 Dvi and djvu backends are ported to new API
2339 Fri Jul 1 00:10:15 2005 Jonathan Blandford <jrb@redhat.com>
2341 * backend/ev-selection.c: (ev_selection_get_selection_region),
2342 (ev_selection_get_selection_map):
2343 * backend/ev-selection.h:
2344 * pdf/ev-poppler.cc:
2345 * shell/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
2347 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info),
2348 (job_finished_cb), (copy_job_to_job_info), (add_job_if_needed),
2349 (ev_pixbuf_cache_get_text_mapping):
2350 * shell/ev-pixbuf-cache.h:
2351 * shell/ev-view.c: (location_in_text),
2352 (ev_view_motion_notify_event), (ev_view_set_cursor): Add I-Beam
2353 support to EvView. Now we can see where we can select! Sweet!
2355 2005-06-30 Kristian Høgsberg <krh@redhat.com>
2357 * shell/ev-view.c (ev_view_button_press_event): Fix
2358 event->y + view->scroll_x typo.
2360 2005-06-30 Kristian Høgsberg <krh@redhat.com>
2362 * pdf/ev-poppler.cc: Adjust to poppler API changes; use a
2363 sub-GdkPixbuf instead of passing dest_x and dest_y.
2365 * shell/ev-view.c: (view_point_to_doc_point),
2366 (view_rect_to_doc_rect), (ev_view_button_press_event),
2367 (ev_view_motion_notify_event), (compute_new_selection_rect),
2368 (gdk_rectangle_point_in), (compute_new_selection_text),
2369 (compute_selections): Update selection code to keep the selection
2370 around as two points and not as a normalized rectangle, and fix
2371 page level selection in two-column mode.
2373 2005-06-30 Alex Duggan <aldug@astrolinux.com>
2375 * shell/ev-window.c: (window_configure_event_cb):
2379 2005-06-30 Marco Pesenti Gritti <mpg@redhat.com>
2381 * pdf/ev-poppler.cc:
2385 2005-06-30 Marco Pesenti Gritti <mpg@redhat.com>
2387 * shell/Makefile.am:
2388 * shell/ev-metadata-manager.c: (item_free),
2389 (ev_metadata_manager_init), (ev_metadata_manager_shutdown),
2390 (parse_value), (parseItem), (load_values),
2391 (ev_metadata_manager_get), (value_free), (ev_metadata_manager_set),
2392 (save_values), (save_item), (get_oldest), (resize_items),
2393 (ev_metadata_manager_save), (ev_metadata_manager_set_int):
2394 * shell/ev-metadata-manager.h:
2396 Metadata manager from gedit but modified to use GValue, so that
2397 we dont need to keep converting from strings.
2401 ENABLE_METADATA conditional, on when dbus is on
2403 * shell/ev-application.c: (ev_application_open_uri):
2405 Show the window after load so that we can initialize
2406 window size before it's showed.
2408 * shell/ev-window.c: (ev_window_setup_from_metadata),
2409 (ev_window_open_uri), (window_configure_event_cb),
2412 Save and load metadata information about window size.
2413 Not yet keeping states in account.
2415 * shell/main.c: (main):
2417 Shutdown metadata manager.
2419 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
2421 * shell/ev-application-service.xml:
2423 * shell/Makefile.am:
2424 * shell/ev-application.c:
2425 * shell/ev-application.h:
2426 * shell/ev-window.c:
2427 * shell/ev-window.h:
2430 Add an optional dbus interface (--enable-dbus).
2431 Rework application code, mainly to be easier to
2433 Do not open multiple windows with the same document,
2436 Thu Jun 30 01:50:14 2005 Jonathan Blandford <jrb@redhat.com>
2438 * shell/ev-pixbuf-cache.c (clear_selection_if_needed): unref the
2439 pixbuf iff it exists.
2441 Thu Jun 30 01:43:00 2005 Jonathan Blandford <jrb@redhat.com>
2444 * backend/ev-render-context.[ch]:
2445 * backend/ev-selection.[ch]:
2447 Massive changes. We now support text selection of pdfs, and not
2448 just rectangular selection. This is pretty broken still, but I
2449 want to get something into CVS.
2451 2005-06-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2453 * pdf/ev-poppler.cc:
2455 Fix for Bug 309080: crash on window close.
2457 * shell/ev-page-action.c: (page_changed_cb):
2459 Fix for Bug 309168: Fix build with gcc 2.95. Thanks to
2460 jensgr@gmx.net (Jens Granseuer).
2462 2005-06-25 Marcel Telka <marcel@telka.sk>
2464 * configure.in (ALL_LINGUAS): Added sk.
2466 2005-06-24 Carlos Garcia Campos <carlosgc@gnome.org>
2468 * shell/ev-window.c: Make rotate menu entries unsensitive if there is
2471 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
2478 * cut-n-paste/recent-files/Makefile.am:
2482 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
2484 * pixbuf/pixbuf-document.c: (pixbuf_document_get_orientation),
2485 (pixbuf_document_set_orientation), (rotate_pixbuf),
2486 (pixbuf_document_get_page_size), (pixbuf_document_render_pixbuf),
2487 (pixbuf_document_document_iface_init), (pixbuf_document_init):
2489 Implement rotation and cleanup the code a bit.
2491 * tiff/tiff-document.c: (tiff_document_get_page_size),
2492 (tiff_document_get_orientation), (tiff_document_set_orientation),
2493 (rotate_pixbuf), (tiff_document_render_pixbuf),
2494 (tiff_document_document_iface_init), (tiff_document_init):
2496 Implement rotation. Was the quicker solution for the release
2497 but we really need to share this code in the shell.
2499 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
2501 * pdf/ev-poppler.cc:
2503 Enable rotation, require poppler cvs. Fix a leak.
2505 2005-06-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2507 * shell/ev-window.c: (update_action_sensitivity):
2509 Make properties unsensitive if document backend doesn't provide
2512 2005-06-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2514 * dvi/mdvi-lib/bitmap.c: (bitmap_alloc), (bitmap_alloc_raw),
2515 (bitmap_flip_horizontally), (bitmap_flip_vertically),
2516 (bitmap_flip_diagonally), (bitmap_rotate_clockwise),
2517 (bitmap_rotate_counter_clockwise), (bitmap_flip_rotate_clockwise),
2518 (bitmap_flip_rotate_counter_clockwise):
2519 * dvi/mdvi-lib/color.c: (mdvi_push_color), (get_color_table):
2520 * dvi/mdvi-lib/common.c: (read_string), (buff_free), (buff_add),
2522 * dvi/mdvi-lib/common.h:
2523 * dvi/mdvi-lib/dvimisc.c: (mdvi_push_color):
2524 * dvi/mdvi-lib/dviread.c: (get_bytes), (dreset), (define_font),
2525 (opendvi), (mdvi_reload), (mdvi_init_context),
2526 (mdvi_destroy_context), (mdvi_dopage), (special):
2527 * dvi/mdvi-lib/font.c: (font_drop_one), (font_free_unused):
2528 * dvi/mdvi-lib/fontmap.c: (read_encoding), (destroy_encoding),
2529 (file_hash_free), (register_encoding), (parse_spec),
2530 (mdvi_load_fontmap), (free_ent), (mdvi_init_fontmaps),
2531 (mdvi_add_fontmap_file), (mdvi_ps_read_fontmap),
2532 (mdvi_ps_flush_fonts), (mdvi_ps_find_font), (mdvi_ps_get_metrics):
2533 * dvi/mdvi-lib/fontsrch.c: (mdvi_list_font_class),
2534 (mdvi_register_font_type), (mdvi_unregister_font_type),
2535 (lookup_font), (mdvi_add_font), (mdvi_font_retry):
2536 * dvi/mdvi-lib/gf.c: (gf_read_bitmap), (gf_load_font):
2537 * dvi/mdvi-lib/hash.c: (mdvi_hash_remove), (mdvi_hash_remove_ptr),
2538 (mdvi_hash_destroy_key), (mdvi_hash_reset):
2539 * dvi/mdvi-lib/pagesel.c: (mdvi_parse_range),
2540 (mdvi_parse_page_spec), (mdvi_free_page_spec), (main):
2541 * dvi/mdvi-lib/paper.c: (mdvi_free_paper_specs):
2542 * dvi/mdvi-lib/pk.c: (pk_lookup), (pk_lookupn), (pk_load_font):
2543 * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
2544 * dvi/mdvi-lib/special.c: (mdvi_register_special),
2545 (mdvi_unregister_special), (mdvi_flush_specials):
2546 * dvi/mdvi-lib/t1.c: (t1_lookup_font), (t1_really_load_font),
2548 * dvi/mdvi-lib/tfm.c: (get_tfm_chars):
2549 * dvi/mdvi-lib/tfmfile.c: (afm_load_file), (tfm_load_file),
2550 (ofm1_load_file), (ofm_load_file), (get_font_metrics),
2551 (free_font_metrics), (flush_font_metrics):
2552 * dvi/mdvi-lib/tt.c: (tt_really_load_font), (tt_get_bitmap),
2554 * dvi/mdvi-lib/util.c: (mdvi_malloc), (mdvi_realloc),
2555 (mdvi_calloc), (mdvi_free), (mdvi_strdup), (mdvi_strncpy),
2556 (mdvi_strndup), (mdvi_memdup), (xstradd), (dstring_append),
2557 (dstring_insert), (dstring_new), (dstring_reset):
2558 * dvi/mdvi-lib/vf.c: (vf_load_font), (vf_free_macros):
2560 Rename xmalloc and xfree to mdvi_malloc and mdvi_free to
2561 avoid conflict with libtool on FC4
2563 * shell/ev-window.c: (ev_window_cmd_help_about):
2565 Update copyright year. Fix for bug 308828.
2567 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
2569 * shell/ev-view.c: (add_scroll_binding_keypad),
2570 (ev_view_binding_activated), (ev_view_class_init),
2571 (on_adjustment_value_changed):
2573 Bug 170874: Arrow keys switch pages in presentation mode
2575 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
2577 * shell/ev-window.c: (ev_window_sidebar_visibility_changed_cb):
2579 Fix for Bug 308265: Sidebar dissappears coming out of
2582 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
2584 * shell/ev-application.c: (ev_application_open):
2585 * shell/ev-document-types.c: (ev_document_types_add_filters),
2586 (ev_document_types_add_filters_for_type):
2587 * shell/ev-document-types.h:
2588 * shell/ev-window.c: (ev_window_cmd_save_as):
2590 Suggest basename as template when saving, provide filters
2591 for save dialog. It's bug 308402
2593 2005-06-20 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2595 * pdf/ev-poppler.cc:
2596 * shell/ev-sidebar-links.c: (job_finished_callback):
2597 * shell/ev-view.c: (update_find_status_message):
2601 2005-06-19 Christian Persch <chpe@cvs.gnome.org>
2603 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
2604 (egg_recent_view_uimanager_set_list):
2606 Fix buglet in !show_numbers case.
2608 2005-06-19 Christian Persch <chpe@cvs.gnome.org>
2610 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
2611 (connect_proxy_cb), (egg_recent_view_uimanager_set_list):
2613 Use pango ellipsisation.
2615 * pdf/ev-poppler.cc:
2617 Fix refcount leak, from nsh.
2619 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2621 * cut-n-paste/recent-files/Makefile.am:
2622 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
2623 * cut-n-paste/recent-files/egg-recent-view-gtk.h:
2625 Removed EggRecentViewGtk
2627 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
2628 * cut-n-paste/recent-files/egg-recent-view-uimanager.h:
2629 * shell/ev-window.c: (ev_window_cmd_recent_file_activate),
2630 (ev_window_setup_recent):
2632 Use ViewUIManager instead of ViewGtk. Less leaks, more compatibility
2635 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2637 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
2638 (egg_recent_view_gtk_finalize):
2642 * cut-n-paste/toolbar-editor/Makefile.am:
2644 Fix location of cursor icon.
2646 * pdf/ev-poppler.cc:
2647 * shell/ev-page-action.c: (build_new_tree_cb), (match_selected_cb),
2648 (display_completion_text), (match_completion):
2649 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
2650 (selection_changed_callback), (create_loading_model),
2651 (print_section_cb), (links_page_num_func),
2652 (update_page_callback_foreach):
2653 * shell/ev-window.c: (ev_window_dispose):
2655 Small memory fixes. Links model now store objects instead
2656 of pointers to improve memory management.
2658 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2660 * shell/ev-window.c: (zoom_control_changed_cb):
2662 Fix update of zoom control (bug 308268).
2664 Sat Jun 18 22:46:42 2005 Jonathan Blandford <jrb@redhat.com>
2666 * shell/ev-properties.c (set_property): escape the text correctly.
2667 Handles non-UTF-8 properties and escaped properties. Also, sets
2668 the text to "<i>None</i>" if the property isn't set.
2670 * data/evince-properties.glade: Change the label to be ellipsized,
2671 and give it a minimum size.
2673 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2675 * lib/ev-file-helpers.c: (ev_file_helpers_shutdown):
2676 * shell/ev-sidebar-links.c: (create_loading_model):
2677 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose):
2678 * shell/ev-view.c: (ev_view_set_document):
2679 * shell/ev-window.c: (ev_window_dispose):
2681 Various small fixes, mostly memory leaks. Thanks to valgrind.
2683 2005-06-19 Martin Kretzschmar <martink@gnome.org>
2685 * ps/ps-document.c: remove the locale.h include again ;-). And
2686 kill the (bogus) setlocale/savelocale business.
2688 2005-06-19 Jaap A. Haitsma <jaap@haitsma.org>
2692 Include locale.h to fix build
2694 * shell/ev-sidebar.c:
2696 Remove unnecessary includes
2698 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2700 * dvi/dvi-document.c: (dvi_document_load):
2701 * dvi/mdvi-lib/dviread.c: (mdvi_init_context):
2704 Check for incorrect dvi files. Fix parsing dvi on AMD64
2705 platform. Thanks to tester@tester.ca (Olivier Crete).
2707 2005-06-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2709 * shell/ev-page-action.c: (match_selected_cb),
2710 (display_completion_text), (match_completion), (update_model):
2711 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
2712 (expand_open_links):
2713 * shell/ev-sidebar.c: (ev_sidebar_destroy),
2714 (ev_sidebar_menu_item_activate_cb), (ev_sidebar_add_page),
2715 (ev_sidebar_set_document):
2716 * shell/ev-window.c: (ev_window_xfer_job_cb),
2717 (sidebar_widget_model_set), (sidebar_page_main_widget_update_cb):
2719 Fixed lot's of memory leaks, for example, memory leak on reload,
2720 described in bug 307793.
2722 2005-06-18 Marco Pesenti Gritti <mpg@redhat.com>
2724 * pdf/ev-poppler.cc:
2725 * shell/ev-sidebar-thumbnails.c: (clear_range), (add_range),
2726 (update_visible_range), (adjustment_changed_cb),
2727 (ev_sidebar_thumbnails_fill_model),
2728 (ev_sidebar_thumbnails_refresh),
2729 (ev_sidebar_tree_selection_changed),
2730 (ev_sidebar_icon_selection_changed),
2731 (ev_sidebar_thumbnails_use_icon_view),
2732 (ev_sidebar_thumbnails_set_document):
2733 * shell/ev-sidebar-thumbnails.h:
2734 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
2735 (ev_window_cmd_edit_rotate_right), (ev_window_init):
2737 Refresh thumbnails when changing orientation. Not fully
2738 working yet becuase of a sidebar bug.
2740 Set page orientation to poppler page everywhere. This sucks
2741 really need to fix poppler.
2743 2005-06-18 Marco Pesenti Gritti <mpg@redhat.com>
2745 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
2746 (egg_recent_view_gtk_new_menu_item),
2747 (egg_recent_view_gtk_set_property),
2748 (egg_recent_view_gtk_get_property),
2749 (egg_recent_view_gtk_class_init), (egg_recent_view_gtk_init),
2750 (egg_recent_view_gtk_set_tooltip_func),
2751 (egg_recent_view_gtk_set_label_width),
2752 (egg_recent_view_gtk_get_label_width):
2753 * cut-n-paste/recent-files/egg-recent-view-gtk.h:
2755 Sync with libegg (ellipsize labels)
2757 2005-06-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2759 * data/evince-ui.xml:
2760 * shell/ev-window.c: (ev_window_cmd_go_forward),
2761 (ev_window_cmd_go_backward):
2763 Shift + PageUp moves 10 Pages. Fix for 306125
2765 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
2767 * pdf/ev-poppler.cc:
2769 Add a flag to check if orientation has been overriden
2771 2005-06-17 Martin Kretzschmar <martink@gnome.org>
2773 * ps/ps.c (psscan, psfree): read "Creator:" comment, free creator
2776 * ps/ps.h: add creator field to document.
2778 * ps/ps-document.c (ps_document_get_info): set format to PostScript,
2781 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
2783 * data/evince-properties.glade:
2784 * shell/ev-properties.c: (ev_properties_set_document):
2786 s/PDF Version/Format
2788 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
2790 * shell/ev-properties.c: (ev_properties_set_document):
2792 Remove unnecessary translations
2794 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
2796 * cut-n-paste/toolbar-editor/Makefile.am:
2798 Correct library name
2800 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
2803 * cut-n-paste/recent-files/egg-recent-model.c:
2804 (egg_recent_model_write_raw), (egg_recent_model_lock_file),
2805 (egg_recent_model_unlock_file):
2806 * cut-n-paste/recent-files/egg-recent-util.c:
2807 (egg_recent_util_get_unique_id):
2808 * cut-n-paste/recent-files/update-from-egg.sh:
2809 * cut-n-paste/toolbar-editor/Makefile.am:
2810 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
2811 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
2812 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
2813 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
2814 (egg_toolbars_model_get_type):
2815 * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
2817 Better makefile for toolbar editor and update everything
2820 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
2822 * shell/ev-window.c: (update_document_mode):
2824 Prefer presentation mode when the document
2827 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
2829 * data/evince-ui.xml:
2830 * shell/ev-window.c:
2832 Add control-equal for zooming
2834 2005-06-17 Theppitak Karoonboonyanan <thep@linux.thai.net>
2836 * configure.ac: Added 'th' (Thai) to ALL_LINGUAS.
2838 2005-06-16 Marco Pesenti Gritti <mpg@redhat.com>
2840 * backend/ev-document.c: (ev_document_get_orientation):
2841 * backend/ev-document.h:
2842 * pdf/ev-poppler.cc:
2843 * ps/ps-document.c: (ps_document_get_orientation),
2844 (ps_document_set_orientation), (ps_document_document_iface_init):
2846 Add a get_orientation api. Improve set_orientation.
2848 * data/evince-ui.xml:
2849 * shell/ev-view.c: (ev_view_set_orientation),
2850 (ev_view_rotate_right), (ev_view_rotate_left):
2852 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
2853 (ev_window_cmd_edit_rotate_right):
2855 Better ui for changing document orientation
2857 2005-06-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2859 * shell/ev-sidebar-links.c: (ev_sidebar_links_get_property),
2860 (ev_sidebar_links_class_init), (ev_sidebar_links_get_label):
2861 * shell/ev-sidebar-links.h:
2862 * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
2863 (ev_sidebar_page_iface_init):
2864 * shell/ev-sidebar-page.h:
2865 * shell/ev-sidebar-thumbnails.c:
2866 (ev_sidebar_thumbnails_get_property),
2867 (ev_sidebar_thumbnails_class_init),
2868 (ev_sidebar_thumbnails_set_document):
2869 * shell/ev-sidebar-thumbnails.h:
2870 * shell/ev-view.c: (ev_view_motion_notify_event):
2871 * shell/ev-window.c: (update_chrome_visibility),
2872 (ev_window_cmd_focus_page_selector),
2873 (ev_window_update_fullscreen_popup), (view_actions_focus_in_cb),
2874 (sidebar_page_main_widget_update_cb), (ev_window_init):
2876 Autoraise toolbar on GoToPage binding and fix bindings in
2877 EvSidebarThumbnails page.
2879 2005-06-15 Christian Persch <chpe@cvs.gnome.org>
2881 * shell/ev-properties.c: (update_progress_label):
2883 Hide the progress label when finished; bug #307697.
2885 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
2887 * pdf/ev-poppler.cc:
2889 Enable is_open for links, you will need poppler cvs
2891 * shell/ev-properties.c: (job_fonts_finished_cb):
2893 Get a lock on the document when filling the tree view
2895 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
2897 * backend/ev-document-links.h:
2898 * pdf/ev-poppler.cc:
2899 * shell/ev-sidebar-links.c: (create_loading_model),
2900 (expand_open_links), (job_finished_callback):
2902 Expand links when specified by the document.
2903 Depend on a poppler api (defined out for now)
2905 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
2907 * shell/ev-properties.c: (ev_properties_dispose),
2908 (ev_properties_class_init), (dialog_destroy_cb),
2909 (ev_properties_init), (job_fonts_finished_cb), (setup_fonts_view),
2910 (ev_properties_set_document), (ev_properties_new),
2911 (ev_properties_show):
2912 * shell/ev-properties.h:
2914 Make it an object, cleanup the code, api to show it as transient
2915 and to set the document.
2917 * shell/ev-window.c: (ev_window_setup_document),
2918 (ev_window_cmd_file_properties):
2920 Adapt to EvProperties changes, do not show multiple
2921 times, update it when document changes.
2923 2005-06-14 Marco Pesenti Gritti <mpg@redhat.com>
2926 * ps/ps-document.c: (ps_document_init), (get_page_orientation),
2927 (ps_document_set_orientation), (ps_document_document_iface_init):
2930 Implement orientation here too
2932 * shell/ev-properties.c: (ev_properties_new):
2933 * data/evince-properties.glade:
2935 Hide the fonts page for backends that doesnt
2938 2005-06-14 Marco Pesenti Gritti <mpg@redhat.com>
2940 * backend/ev-document.c: (ev_document_set_orientation):
2941 * backend/ev-document.h:
2942 * pdf/ev-poppler.cc:
2944 Add orientation api. Currently poppler api is not optimal,
2945 we need to set orientation every time we _get a page.
2946 I will try to fix that at some point.
2948 * data/evince-ui.xml:
2949 * shell/ev-window.c: (ev_window_cmd_edit_landscape),
2950 (ev_window_cmd_edit_portrait), (ev_window_cmd_edit_flip):
2952 Add orientation menu items
2954 * shell/ev-page-cache.c: (ev_page_cache_clear):
2955 * shell/ev-page-cache.h:
2957 Add api to clear the cache
2959 * shell/ev-view.c: (setup_caches), (clear_caches),
2960 (ev_view_set_document), (ev_view_zoom_out),
2961 (ev_view_set_orientation):
2964 Implement orientation changing
2966 2005-06-13 Marco Pesenti Gritti <mpg@redhat.com>
2968 * backend/ev-document-fonts.c: (ev_document_fonts_get_progress),
2969 (ev_document_fonts_scan), (ev_document_fonts_fill_model):
2970 * backend/ev-document-fonts.h:
2972 Separate scan and fill so that we can incrementally fill from
2973 the main thread. Add a progress api.
2975 * data/evince-properties.glade:
2976 * pdf/ev-poppler.cc:
2977 * shell/ev-jobs.c: (ev_job_fonts_new), (ev_job_fonts_run):
2979 * shell/ev-properties.c: (update_progress_label),
2980 (job_fonts_finished_cb), (setup_fonts_view):
2982 Incrementally feel the list and show the progress
2983 percentage in a label like acrobat does.
2985 You are going to need poppler cvs
2987 2005-06-11 Marco Pesenti Gritti <mpg@redhat.com>
2989 * backend/ev-document-fonts.c: (ev_document_fonts_fill_model):
2990 * backend/ev-document-fonts.h:
2991 * pdf/ev-poppler.cc:
2993 Make fonts model fill incrementally.
2995 * shell/ev-job-queue.c: (handle_job), (search_for_jobs_unlocked),
2996 (no_jobs_available_unlocked), (ev_job_queue_init), (find_queue),
2997 (ev_job_queue_remove_job):
2998 * shell/ev-jobs.c: (ev_job_fonts_init), (ev_job_fonts_class_init),
2999 (ev_job_fonts_new), (ev_job_fonts_run):
3002 New job for fonts scanning
3004 * shell/ev-properties.c: (job_fonts_finished_cb),
3005 (fill_fonts_treeview), (setup_fonts_view), (ev_properties_new):
3006 * shell/ev-properties.h:
3007 * shell/ev-window.c: (ev_window_cmd_file_properties):
3009 Incrementally feel the treeview using the new job. Show Loading...
3010 message until scanning is completed.
3012 Hopefully I didnt break the build without the poppler patch.
3014 2005-06-10 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3016 * shell/ev-application.c: (ev_application_open):
3017 * shell/ev-document-types.c: (ev_document_type_from_from_mime),
3018 (ev_document_type_get_type), (ev_document_type_lookup):
3019 * shell/ev-document-types.h:
3020 * shell/ev-job-xfer.c: (ev_job_xfer_dispose), (ev_job_xfer_run):
3021 * shell/ev-job-xfer.h:
3022 * shell/ev-window.c: (ev_window_clear_local_uri),
3023 (ev_window_load_job_cb), (ev_window_xfer_job_cb),
3024 (ev_window_open_uri), (ev_window_add_recent), (ev_window_dispose):
3025 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3027 Transfer remote documents to tmp directory to display them later.
3029 2005-06-10 Marco Pesenti Gritti <mpg@redhat.com>
3031 * backend/ev-document-info.h:
3032 * shell/ev-properties.c: (ev_properties_new):
3034 s/GTime*/GTime. Not sure why we was using a pointer
3037 Wed Jun 8 01:04:22 2005 Jonathan Blandford <jrb@redhat.com>
3039 * shell/ev-sidebar-thumbnails.c: Use a GtkIconView in certain
3040 situations. That situation is that you're using GTK+-HEAD with
3041 the patch at #306726 is applied, and you have a document with <
3042 1500 pages in it. It's not quite as uniformly nice as the
3043 TreeView, but should be better in the long run.
3045 I'm pretty sure I guarded against breaking compilation with
3046 HAVE_GTK_ICON_VIEW_GET_VISIBLE_RANGE gaurds, though it's possible
3049 * shell/ev-window.c (ev_window_init): We don't have our tree/list
3050 widget yet, so I commented that code out
3051 enable_view_actions_for_widget() for now. Need to figure this
3054 * shell/ev-page-action.c (match_selected_cb): emit the right
3055 signals. Our cool C-l completion now works.
3057 2005-06-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3059 * backend/Makefile.am:
3060 * backend/ev-document-fonts.c:
3061 * backend/ev-document-links.c:
3062 * backend/ev-document.c: (ev_document_load):
3063 * backend/ev-document.h:
3064 * backend/ev-job-queue.c:
3065 * backend/ev-job-queue.h:
3066 * backend/ev-jobs.c:
3067 * backend/ev-jobs.h:
3068 * backend/ev-page-cache.c:
3069 * backend/ev-page-cache.h:
3071 EvPageCache and EvJobs are moved to shell.
3073 * lib/ev-file-helpers.c: (ev_file_helpers_shutdown),
3075 * lib/ev-file-helpers.h:
3077 New helper to work with temporary files
3079 * shell/Makefile.am:
3080 * shell/ev-application.c: (ev_application_open):
3081 * shell/ev-application.h:
3082 * shell/ev-job-queue.c: (remove_job_from_queue_locked),
3083 (remove_job_from_async_queue), (add_job_to_async_queue),
3084 (add_job_to_queue_locked), (notify_finished), (job_finished_cb),
3085 (handle_job), (search_for_jobs_unlocked),
3086 (no_jobs_available_unlocked), (ev_render_thread),
3087 (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
3088 (ev_job_queue_add_job), (move_job_async), (move_job),
3089 (ev_job_queue_update_job), (ev_job_queue_remove_job):
3090 * shell/ev-job-queue.h:
3091 * shell/ev-job-xfer.c: (ev_job_xfer_init), (ev_job_xfer_dispose),
3092 (ev_job_xfer_class_init), (ev_job_xfer_new), (ev_job_xfer_run):
3093 * shell/ev-job-xfer.h:
3094 * shell/ev-jobs.c: (ev_job_init), (ev_job_dispose),
3095 (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
3096 (ev_job_links_class_init), (ev_job_render_init),
3097 (ev_job_render_dispose), (ev_job_render_class_init),
3098 (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
3099 (ev_job_thumbnail_class_init), (ev_job_load_init),
3100 (ev_job_load_dispose), (ev_job_load_class_init), (ev_job_finished),
3101 (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
3102 (render_finished_cb), (ev_job_render_run), (ev_job_thumbnail_new),
3103 (ev_job_thumbnail_run), (ev_job_load_new), (ev_job_load_run):
3105 * shell/ev-page-action.c: (ev_page_action_set_document):
3106 * shell/ev-page-cache.c: (ev_page_cache_init),
3107 (ev_page_cache_class_init), (ev_page_cache_finalize),
3108 (ev_page_cache_new), (ev_page_cache_get_n_pages),
3109 (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
3110 (ev_page_cache_set_page_label), (ev_page_cache_set_link),
3111 (ev_page_cache_get_title), (ev_page_cache_get_size),
3112 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
3113 (ev_page_cache_get_height_to_page),
3114 (ev_page_cache_get_max_label_chars),
3115 (ev_page_cache_get_page_label),
3116 (ev_page_cache_has_nonnumeric_page_labels),
3117 (ev_page_cache_get_info), (ev_page_cache_next_page),
3118 (ev_page_cache_prev_page), (ev_page_cache_get):
3119 * shell/ev-page-cache.h:
3120 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_update_range),
3121 (ev_pixbuf_cache_clear_job_sizes),
3122 (ev_pixbuf_cache_add_jobs_if_needed),
3123 (ev_pixbuf_cache_set_page_range):
3124 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings):
3125 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document):
3126 * shell/ev-sidebar-thumbnails.c:
3127 (ev_sidebar_tree_selection_changed),
3128 (ev_sidebar_thumbnails_set_document):
3129 * shell/ev-statusbar.c: (ev_statusbar_destroy),
3130 (ev_statusbar_class_init), (ev_statusbar_init), (ev_statusbar_new),
3131 (ev_statusbar_get_context_id), (ev_statusbar_push),
3132 (ev_statusbar_pop), (ev_statusbar_set_maximized),
3133 (ev_statusbar_pulse), (ev_statusbar_show_progress),
3134 (ev_statusbar_set_progress):
3135 * shell/ev-statusbar.h:
3136 * shell/ev-view.c: (ev_view_set_document), (ev_view_find_next),
3137 (ev_view_find_previous):
3138 * shell/ev-window.c: (ev_window_is_empty),
3139 (ev_window_setup_document), (password_dialog_response),
3140 (ev_window_clear_jobs), (ev_window_load_job_cb),
3141 (ev_window_xfer_job_cb), (ev_window_open_uri),
3142 (ev_window_open_uri_list), (ev_window_cmd_recent_file_activate),
3143 (ev_window_print), (ev_window_print_range),
3144 (ev_window_state_event), (ev_window_cmd_view_reload),
3145 (menu_item_select_cb), (menu_item_deselect_cb),
3146 (view_status_changed_cb), (ev_window_dispose),
3147 (drag_data_received_cb), (ev_window_init):
3148 * shell/ev-window.h:
3149 * shell/main.c: (load_files):
3151 New statusbar to show progress on idle. Two new jobs -
3152 xfer job and load job to load document in background. And update
3153 of page_cache clients to new location of code.
3155 2005-06-08 Carlos Garcia Campos <carlosgc@gnome.org>
3157 * shell/ev-application.c, shell/ev-window.[ch]: Allow multiple
3158 selection in open dialog. It also remembers the last visited directory
3159 in the current session.
3161 2005-06-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3163 * shell/ev-properties.c: (ev_properties_new):
3164 * shell/ev-properties.h:
3165 * shell/ev-window.c: (ev_window_cmd_file_properties):
3167 Get document info from page cache instead of document itself.
3168 This should fix crash related to race conditions described in
3171 2005-06-07 Marco Pesenti Gritti <mpg@redhat.com>
3173 * ps/ps-document.c: (ps_document_init),
3174 (send_ps), (get_page_box), (output), (catchPipe), (input),
3175 (stop_interpreter), (file_length), (file_readable),
3176 (check_filecompressedb), (ps_document_enable_interpreter),
3177 (document_load), (ps_async_renderer_render_pixbuf):
3180 Big cleanup of the ps code
3182 2005-06-07 Marco Pesenti Gritti <mpg@redhat.com>
3184 * backend/Makefile.am:
3185 * backend/ev-async-renderer.c: (ev_async_renderer_get_type),
3186 (ev_async_renderer_class_init), (ev_async_renderer_render_pixbuf):
3187 * backend/ev-async-renderer.h:
3189 Add an async renderer interface (method + callback) which
3190 is useful for backends like ps.
3192 * backend/ev-job-queue.c: (remove_job_from_async_queue),
3193 (add_job_to_async_queue), (job_finished_cb), (handle_job),
3194 (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
3195 (ev_job_queue_add_job), (move_job_async), (move_job),
3196 (ev_job_queue_update_job), (ev_job_queue_remove_job):
3198 Add queues for async renderer, these are executed on the
3201 * backend/ev-jobs.c: (ev_job_render_new), (render_finished_cb),
3202 (ev_job_render_run):
3203 * backend/ev-jobs.h:
3205 If the backend support async renderer interface use it.
3207 * ps/ps-document.c: (ps_document_init), (push_pixbuf),
3208 (setup_pixmap), (ps_document_get_type),
3209 (ps_async_renderer_render_pixbuf),
3210 (ps_document_document_iface_init), (ps_async_renderer_iface_init):
3212 Implement async renderer interface.
3214 2005-06-07 Nickolay V. Shmyrev <<nshmyrev@yandex.ru>>
3216 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose):
3218 Cleanup links job on exit.
3220 2005-06-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3222 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
3223 (drag_data_get_cb), (drag_data_received_cb):
3224 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
3225 (drag_data_get_cb), (parse_item_list),
3226 (egg_toolbar_editor_load_actions):
3227 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
3228 (egg_toolbars_model_to_xml), (egg_toolbars_model_save),
3229 (parse_item_list), (parse_toolbars):
3230 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
3231 (dvi_pixbuf_put_pixel):
3233 Fix gcc 4.0 warnings
3235 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
3237 * ps/ps-document.c: (start_interpreter):
3239 Fix warning when loading ps
3241 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
3243 * ps/ps-document.c: (output):
3245 Fix crash when priting gs error messages.
3247 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
3249 * backend/ev-page-cache.c: (_ev_page_cache_new):
3250 * backend/ev-page-cache.h:
3252 Use a const to return title so that we dont double
3253 free it. Small cleanup and fix a leak.
3255 * shell/ev-window.c: (update_window_title):
3257 strdup value from get_title.
3259 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
3261 * shell/ev-sidebar-links.c: (job_finished_callback),
3262 (ev_sidebar_links_set_document):
3264 Cleanup the old job when changing document
3266 2005-06-05 Nickolay V. Shmyrev <<nshmyrev@yandex.ru>>
3268 * shell/ev-stock-icons.c:
3269 * shell/ev-stock-icons.h:
3270 * shell/ev-window.c:
3272 Add stock icons for actions that can appear in toolbar. Fix for
3275 2005-06-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3277 * backend/ev-page-cache.c: (ev_page_cache_finalize),
3278 (_ev_page_cache_new), (ev_page_cache_get_max_width),
3279 (ev_page_cache_get_max_height), (ev_page_cache_get_height_to_page):
3280 * backend/ev-page-cache.h:
3281 * shell/ev-view.c: (scroll_to_current_page),
3282 (view_update_range_and_current_page), (get_page_y_offset),
3283 (get_page_extents), (ev_view_size_request_continuous_dual_page),
3284 (ev_view_size_request_continuous),
3285 (ev_view_zoom_for_size_continuous_and_dual_page),
3286 (ev_view_zoom_for_size_continuous):
3288 More compact EvView layout in document with pages of different size.
3290 Sat Jun 4 19:20:57 2005 Jonathan Blandford <jrb@redhat.com>
3292 * shell/ev-window.c (ev_window_cmd_file_properties): fix
3295 2005-06-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3297 * shell/ev-view.c: (view_set_adjustment_values):
3298 * shell/ev-window.c: (ev_window_cmd_file_properties):
3300 A bit different fix for rounding problem but it has no
3301 problems on startup. Make properties window transient to parent.
3303 2005-06-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3305 * pdf/ev-poppler.cc:
3307 More commenting of font stuff.
3309 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
3311 * pdf/ev-poppler.cc:
3313 Comment out some more fonts stuff. Should really
3314 work without the poppler patch now.
3316 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
3318 * pdf/ev-poppler.cc:
3322 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
3324 * data/evince-properties.glade:
3325 * pdf/ev-poppler.cc:
3326 * shell/ev-properties.c: (setup_fonts_view):
3328 Set the column title. Show the dialog only
3329 once everything is setup.
3330 Getting font info can be very slow... will
3331 prolly need to make this threaded too.
3333 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
3335 * backend/Makefile.am:
3336 * backend/ev-document-fonts.c: (ev_document_fonts_get_type),
3337 (ev_document_fonts_get_fonts_model):
3338 * backend/ev-document-fonts.h:
3339 * data/evince-properties.glade:
3340 * pdf/ev-poppler.cc:
3341 * shell/ev-properties.c: (setup_fonts_view), (ev_properties_new):
3342 * shell/ev-properties.h:
3343 * shell/ev-window.c: (ev_window_cmd_file_properties):
3345 Implement fonts list. Defined out for now, since it depends
3346 on a not yet committed poppler patch.
3348 Fri Jun 3 21:07:57 2005 Jonathan Blandford <jrb@redhat.com>
3350 * shell/ev-view.c (get_page_extents): other_page isn't necessarily
3353 * shell/ev-window.c: Make sure we add the timeout when we get a
3356 * shell/ev-view.c (view_set_adjustment_values): Add 0.5 to
3357 adjustment->value before calculating the zoom factor to average
3358 out all of our rounding errors. The page no longer 'drifts' when
3361 2005-06-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3363 * data/evince-properties.glade:
3364 * shell/ev-properties.c: (ev_properties_format_date),
3367 Labels don't expand when the dialogue is resized.
3368 strftime result needs to be converted to UTF-8. Thanks
3369 to Christian Persch <chpe@gnome.org>.
3371 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
3373 * data/evince-properties.glade:
3377 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
3379 * backend/ev-document-info.h:
3380 * backend/ev-document.c: (ev_document_info_free):
3381 * data/evince-properties.glade:
3382 * pdf/ev-poppler.cc:
3383 * ps/ps-document.c: (ps_document_get_info):
3384 * shell/ev-properties.c: (ev_properties_format_date),
3385 (set_property), (ev_properties_new):
3386 * shell/ev-properties.h:
3387 * shell/ev-window.c: (ev_window_cmd_file_properties):
3389 Rework properties code to take only EvPropertyInfo
3390 in the constructor so that it can be useful for
3391 nautilus plugin too.
3393 Deal with backends that doesnt support some properties.
3394 Make set property code generic.
3396 2005-06-04 Christian Persch <chpe@gnome.org>
3398 * data/evince-properties.glade:
3400 fix spacings, make resizeable, and make data labels
3401 selectable + ellipsised
3403 2005-06-03 Marco Pesenti Gritti <mpg@redhat.com>
3405 * backend/ev-document-info.h:
3407 * data/evince-ui.xml:
3408 * pdf/ev-poppler.cc:
3409 * shell/Makefile.am:
3410 * shell/ev-window.c: (update_action_sensitivity),
3411 (ev_window_cmd_file_properties):
3413 Initial go at file properties. Patch by
3414 Emil Soleyman-Zomalan <emil@soleyman.com>.
3415 Needs love see #169583
3417 2005-06-02 Marco Pesenti Gritti <mpg@redhat.com>
3419 * ps/ps-document.c: (output):
3420 * ps/ps.c: (psscan):
3422 Try to render even if psscan fails.
3424 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
3426 * ps/ps.c: (psscan), (pscopydoc):
3428 Port buffered reading code from gv
3430 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
3432 * ps/ps-document.c: (interpreter_message), (output):
3434 Do not fail on interpreter messages
3436 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
3438 * backend/ev-document-misc.c:
3439 (ev_document_misc_get_thumbnail_frame):
3441 Pages can be 0 x 0, dont assert on this case
3443 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
3445 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
3446 (ev_sidebar_links_class_init), (ev_sidebar_links_set_document):
3448 Correctly manage our reference on document. Finally the reload
3449 huge leak is gone...
3451 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
3453 * ps/ps-document.c: (ps_document_dispose):
3455 Forgot to chain it to the parent. Thanks chpe.
3457 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
3459 * ps/ps-document.c: (ps_document_dispose),
3460 (ps_document_class_init), (stop_interpreter), (document_load):
3462 Cleanup dispose a bit. Dont leak the whole pixmap.
3464 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
3466 * pdf/ev-poppler.cc:
3468 Release the poppler document on dispose
3470 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
3472 * shell/ev-view.c: (ev_view_set_document):
3474 Release ref on the pixbuf cache when changing
3477 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
3479 * ps/ps-document.c: (ps_document_get_info):
3483 2005-05-31 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
3485 * backend/ev-page-cache.c: (ev_page_cache_init),
3486 (_ev_page_cache_new), (ev_page_cache_get_max_label_chars):
3487 * backend/ev-page-cache.h:
3488 * shell/ev-page-action.c: (page_changed_cb):
3490 Set page action entry width depending on labels width. Fix
3493 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
3495 * backend/ev-link.c: (ev_link_class_init):
3497 Allow -1 as page value (error)
3499 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
3501 * shell/ev-sidebar-thumbnails.c:
3502 (ev_sidebar_thumbnails_set_document):
3503 * shell/ev-view.c: (scroll_to_current_page),
3504 (view_set_adjustment_values), (ev_view_set_scroll_adjustments),
3505 (page_changed_cb), (on_adjustment_value_changed),
3506 (ev_view_set_document):
3508 Slightly modified patch by Nickolay V. Shmyrev <nshmyrev@yandex.ru>.
3511 2005-05-29 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3514 * djvu/djvu-document.c: (djvu_document_get_page_size):
3516 Require djvulibre CVS. Now djvu loading is much faster. Fix for
3519 Sat May 28 07:38:03 2005 Jonathan Blandford <jrb@redhat.com>
3521 * shell/ev-view.c (draw_one_page): modify the expose handling to
3524 * shell/ev-window.c (update_action_sensitivity): Respect
3525 permissions field. Kowtow to the man.
3527 * pdf/ev-poppler.cc: Get the permissions field.
3529 * tiff/*c: Make a tiny bit more robust.
3531 2005-05-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3533 * djvu/djvu-document.c:
3535 Pop messages from djvu context message queue.
3537 2005-05-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3539 * configure.ac, Makefile.am, shell/Makefile.am:
3540 * tiff/Makefile.am, shell/ev-document-types.c:
3542 Cleanup tiff configure checks. Fix for bug 305218.
3544 2005-05-24 Maxim V. Dziumanenko <mvd@mylinux.ua>
3546 * configure.ac: Added "uk" to ALL_LINGUAS.
3548 2005-05-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3550 * cut-n-paste/zoom-control/ephy-zoom.c:
3551 (ephy_zoom_get_changed_zoom_level):
3552 * cut-n-paste/zoom-control/ephy-zoom.h:
3553 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_set_property),
3554 (ev_view_get_property), (ev_view_class_init), (ev_view_set_zoom):
3555 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
3556 (ev_window_cmd_view_zoom_out), (ev_window_zoom_changed_cb),
3557 (zoom_control_changed_cb), (ev_window_init):
3559 Fix minor points related to moving best fit up. Introduce
3560 "zoom" property and make zoom control change it's value on
3561 notify::zoom signals. Fix for 305080.
3563 2005-05-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3565 * data/evince-ui.xml:
3566 * shell/ev-window.c: (set_view_actions_sensitivity):
3568 Use + and - as accels for zoom in and zoom out. Fix for 305001.
3570 2005-05-22 Marco Pesenti Gritti <mpg@redhat.com>
3574 Depends on poppler 0.3.2
3576 2005-05-22 Marco Pesenti Gritti <mpg@redhat.com>
3578 * cut-n-paste/recent-files/egg-recent-item.c:
3579 (egg_recent_item_get_short_name):
3580 * cut-n-paste/toolbar-editor/Makefile.am:
3581 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
3582 (new_pixbuf_from_widget):
3583 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
3584 * cut-n-paste/toolbar-editor/egg-marshal.c:
3585 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
3586 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
3590 Sat May 21 23:18:30 2005 Jonathan Blandford <jrb@redhat.com>
3592 * tiff/tiff-document.c: Rough TIFF backend.
3594 2005-05-21 Marco Pesenti Gritti <mpg@redhat.com>
3598 * cut-n-paste/toolbar-editor/Makefile.am:
3602 2005-05-21 Marco Pesenti Gritti <mpg@redhat.com>
3604 * shell/ev-view.c: (jump_to_find_result), (ev_view_can_find_next),
3605 (ev_view_find_next), (ev_view_find_previous):
3607 Remove the locks around get_n_results
3609 2005-05-21 Juerg Billeter <j@bitron.ch>
3611 * pdf/ev-poppler.c: (pdf_document_ps_exporter_begin):
3613 Pass correct number of pages to poppler.
3615 2005-05-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3619 * data/evince.desktop.in:
3620 * data/evince.desktop.in.in:
3623 Add conditionally dvi and djvu to desktop types. Fix for 304658.
3625 Sat May 21 00:21:30 2005 Jonathan Blandford <jrb@redhat.com>
3627 * shell/ev-view.c: (view_update_adjustments),
3628 (view_set_adjustment_values): cast adjustmen->value to (int)
3629 before using it. Otherwise, we get off by a pixel in some
3632 (draw_one_page): Draw the border on expose.
3634 Fri May 20 22:05:25 2005 Jonathan Blandford <jrb@redhat.com>
3636 * *shell/ev-view.c: Patch from Nickolay V. Shmyrev to reset the
3637 adjustment when the mode changes, #304923
3639 Fri May 20 02:00:03 2005 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3641 * shell/ev-view.c: Use gdk_widget_queue_draw to remove
3642 flickering on resize but still use gdk_window_scroll on
3645 Fri May 20 01:46:57 2005 Jonathan Blandford <jrb@redhat.com>
3647 * shell/ev-view.c: Patch from Nickolay Shmyrev to fix the -p
3650 Fri May 20 01:27:01 2005 Jonathan Blandford <jrb@redhat.com>
3652 * shell/ev-view.c: Patch from Nickolay Shmyrev to to scroll to
3653 second page on page_changed if possible, #304669
3655 Fri May 20 01:07:15 2005 Jonathan Blandford <jrb@redhat.com>
3657 * shell/ev-view.c (view_update_adjustments): Use gdk_window_scroll
3658 instead of gtk_widget_queue_draw. Massive speedups in scrolling.
3660 Fri May 20 01:05:10 2005 Jonathan Blandford <jrb@redhat.com>
3663 * shell/ev-view.c:(ev_view_size_allocate), (ev_view_class_init),
3664 (zoom_for_size_fit_width), (zoom_for_size_best_fit),
3665 (ev_view_zoom_for_size_presentation),
3666 (ev_view_zoom_for_size_continuous_and_dual_page),
3667 (ev_view_zoom_for_size_continuous),
3668 (ev_view_zoom_for_size_dual_page),
3669 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size):
3671 * shell/ev-window.c: (update_view_size),
3672 (ev_window_sizing_mode_changed_cb):
3674 Patch from Nickolay Shmyrev <nshmyrev@yandex.ru> to handle
3675 the scrollbars. It's not 100% right, but it's much closer. Kills
3676 an infinite loop, #304769
3679 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
3681 * data/evince-ui.xml:
3682 * shell/ev-view.c: (ev_view_scroll_view), (ev_view_class_init):
3683 * shell/ev-window.c: (set_view_actions_sensitivity):
3685 Make PgUp/Down behave like Space
3687 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
3689 * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
3690 * backend/ev-ps-exporter.h:
3691 * pdf/ev-poppler.cc:
3692 * ps/ps-document.c: (ps_document_ps_export_begin):
3693 * shell/ev-print-job.c: (idle_print_handler):
3695 Adapt to new poppler api
3697 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
3699 * cut-n-paste/zoom-control/ephy-zoom-control.c:
3700 (ephy_zoom_control_init):
3702 Translate zoom levels
3704 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
3706 * cut-n-paste/zoom-control/ephy-zoom.c:
3707 (ephy_zoom_get_zoom_level_index):
3709 Fix current zoom -> zoom control match
3711 2005-05-18 James Bowes <bowes@cs.dal.ca>
3713 * shell/ev-window.c: (ev_window_init): Give focus to the ev-view,
3714 rather than the scrolled_window that it's in. Fixes bug #304655.
3716 Tue May 17 22:54:17 2005 Jonathan Blandford <jrb@redhat.com>
3718 * shell/ev-view.c: (view_update_adjustments),
3719 (view_set_adjustment_values), (view_update_range_and_current_page),
3720 (view_scroll_to_page), (set_scroll_adjustment),
3721 (ev_view_set_scroll_adjustments), (add_scroll_binding_keypad),
3722 (ev_view_scroll), (ev_view_scroll_view),
3723 (ensure_rectangle_is_visible), (find_page_at_location),
3724 (get_link_at_location), (go_to_link), (status_message_from_link),
3725 (ev_view_size_request_continuous_dual_page),
3726 (ev_view_size_request), (ev_view_size_allocate), (ev_view_realize),
3727 (ev_view_unrealize), (ev_view_expose_event),
3728 (ev_view_button_press_event), (ev_view_motion_notify_event),
3729 (ev_view_button_release_event), (ev_gdk_color_to_rgb),
3730 (draw_rubberband), (highlight_find_results), (draw_one_page),
3731 (ev_view_finalize), (ev_view_destroy), (ev_view_class_init),
3732 (ev_view_init), (find_changed_cb), (page_changed_cb),
3733 (on_adjustment_value_changed), (ev_view_new),
3734 (ev_view_set_document), (ev_view_set_zoom),
3735 (ev_view_set_continuous), (ev_view_set_dual_page),
3736 (ev_view_set_presentation), (ev_view_zoom_in), (ev_view_zoom_out),
3737 (zoom_for_size_fit_width), (zoom_for_size_best_fit),
3738 (ev_view_zoom_for_size_presentation),
3739 (ev_view_zoom_for_size_continuous_dual_page),
3740 (ev_view_zoom_for_size_continuous),
3741 (ev_view_zoom_for_size_dual_page),
3742 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
3743 (ev_view_get_status), (ev_view_set_status),
3744 (update_find_status_message), (ev_view_get_find_status),
3745 (ev_view_set_find_status), (jump_to_find_result),
3746 (jump_to_find_page), (compute_selections), (clear_selection),
3747 (ev_view_select_all), (get_selected_text), (ev_view_copy),
3748 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
3749 (ev_view_update_primary_selection),
3750 (ev_view_create_invisible_cursor), (ev_view_set_cursor):
3752 * shell/ev-window.c: (ev_window_open_page_label),
3753 (ev_window_cmd_view_reload), (ev_window_sizing_mode_changed_cb),
3755 * shell/ev-window.h:
3756 * shell/main.c: (load_files):
3758 Massive code clean up from Nickolay Shmyrev. Keep page offset
3759 when resizing. Remove the bin_window(). Also, patch from James
3760 Bowes to fix command line page, #300641
3762 2005-05-17 Marco Pesenti Gritti <mpg@redhat.com>
3764 * data/evince-ui.xml:
3767 * shell/ev-window.c: (update_action_sensitivity):
3769 Get rid of View->Normal Size, it's just confusing
3771 Tue May 17 00:51:21 2005 Jonathan Blandford <jrb@redhat.com>
3773 * backend/ev-document-info.h:
3774 * backend/ev-document.c: (ev_document_info_free): Free the
3777 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
3778 (clear_range), (add_range), (update_visible_range),
3779 (adjustment_changed_cb), (ev_sidebar_thumbnails_init),
3780 (ev_sidebar_thumbnails_set_document):
3781 * shell/ev-window.c: (ev_window_setup_document): Only render the
3782 visible thumbnails. It takes an instant to render, but it uses
3785 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
3787 * shell/ev-sidebar-links.c: (popup_menu_cb):
3791 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
3794 * shell/ev-sidebar-links.c: (build_popup_menu), (popup_menu_cb),
3795 (button_press_cb), (ev_sidebar_links_construct):
3797 Show the popup menu also on keybindings
3799 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
3801 * shell/ev-window.c: (ev_window_print), (ev_window_print_range):
3802 * shell/ev-window.h:
3804 Expose api to print a range (with dialog). Make private _print use
3807 * shell/ev-sidebar-links.c: (print_section_cb), (button_press_cb),
3808 (ev_sidebar_links_construct):
3810 Show a print context menu on linkx, it prints the selected
3813 2005-05-15 Carlos Garcia Campos <carlosgc@gnome.org>
3815 * shell/ev-sidebar.c: make the drop down menu as width as the toggle
3818 2005-05-12 Marco Pesenti Gritti <mpg@redhat.com>
3824 * shell/ev-window.c: (build_comments_string),
3825 (ev_window_cmd_help_about):
3827 Show poppler version/backend and authors
3829 2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
3831 * cut-n-paste/zoom-control/ephy-zoom.c:
3832 (ephy_zoom_get_zoom_level_index):
3833 * cut-n-paste/zoom-control/ephy-zoom.h:
3835 Move the best fit items at the top of the list
3837 2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
3839 * shell/ev-marshal.list:
3840 * shell/ev-page-action.c: (ev_page_action_widget_class_init),
3841 (activate_cb), (match_selected_cb), (activate_link_cb),
3842 (connect_proxy), (ev_page_action_class_init):
3843 * shell/ev-page-action.h:
3845 Use signals to notify action activation. Hopefully
3846 I did not break completion since I cant test...
3848 * shell/ev-window.c: (activate_link_cb), (activate_label_cb),
3849 (register_custom_actions):
3851 Connect to page selector actions and also grab focus on
3852 the view when activated.
3854 Wed May 11 01:18:29 2005 Jonathan Blandford <jrb@redhat.com>
3856 * pdf/ev-poppler.cc:
3857 * backend/ev-page-cache.c: make page size calculation consistent
3858 and set it to (int)( width * scale + 0.5). This makes the weird
3859 line going through the middle of the page go away.
3861 * shell/ev-view.c: move painting the background page after
3862 checking the expose area covers us.
3864 2005-05-11 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3866 * data/evince-password.glade:
3868 Mark labels as not translatable. Fix for bug 302842.
3870 2005-05-10 Francisco Javier F. Serrador <serrador@cvs.gnome.org>
3872 * configure.ac: Added "es" to ALL_LINGUAS.
3874 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3876 * data/evince-toolbar.xml:
3877 * shell/ev-window.c: (update_action_sensitivity),
3878 (ev_window_setup_document), (ev_window_set_page_mode),
3881 Remove some leftover code from jrb first continous
3882 attempt. Use the new actions, we still need good icons
3885 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3887 * shell/ev-page-action.c: (update_pages_label), (connect_proxy):
3889 Update label when connecting proxy. Fix a warning with NULL
3892 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3894 * data/evince-ui.xml:
3895 * shell/ev-page-action.c: (ev_page_action_grab_focus):
3896 * shell/ev-page-action.h:
3897 * shell/ev-window.c: (ev_window_cmd_focus_page_selector):
3899 Add mnemonic for edit toolbar.
3900 ctrl+l focus the page entry.
3902 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3905 * shell/ev-window.c: (ev_window_cmd_edit_toolbar_cb),
3907 * shell/main.c: (main):
3909 Put the toolbar xml in evince own dot dir
3911 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3913 * shell/ev-window.c: (ev_window_init):
3915 Make the toolbar not removable
3917 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3919 * data/evince-ui.xml:
3920 * shell/ev-sidebar-links.c: (ev_sidebar_links_get_treeview):
3921 * shell/ev-sidebar-links.h:
3922 * shell/ev-sidebar-thumbnails.c:
3923 (ev_sidebar_thumbnails_get_treeview):
3924 * shell/ev-sidebar-thumbnails.h:
3925 * shell/ev-view.c: (ev_view_scroll), (ev_view_scroll_view),
3926 (ev_view_class_init):
3928 * shell/ev-window.c: (update_action_sensitivity),
3929 (ev_window_cmd_scroll_forward), (ev_window_cmd_scroll_backward),
3930 (set_view_actions_sensitivity), (view_actions_focus_in_cb),
3931 (view_actions_focus_out_cb), (enable_view_actions_for_widget),
3934 This is evil... Make space/backspace global accelerators but
3935 enable them only for some widgets (sidebars and view).
3936 I dont like it, but I dont know a better way... :/
3938 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3940 * shell/ev-page-action.c: (ev_page_action_widget_set_page_cache),
3941 (ev_page_action_widget_finalize),
3942 (ev_page_action_widget_class_init), (update_page_cache):
3944 Keep a weak reference on proxy->page_cache so that we
3945 dont try to disconnect the signal if the object is already
3946 gone. Maybe there is a better way to cleanup reference handling
3947 in page action though...
3949 2005-05-10 Juerg Billeter <j@bitron.ch>
3951 * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
3952 * backend/ev-ps-exporter.h:
3953 * pdf/ev-poppler.cc: (pdf_document_ps_exporter_begin):
3954 * ps/ps-document.c: (ps_document_ps_export_begin):
3956 Change api to pass print range to ps_exporter_begin. The pdf backend
3957 requires this information.
3959 * shell/ev-print-job.c: (idle_print_handler):
3963 2005-05-10 Juerg Billeter <j@bitron.ch>
3965 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
3966 (idle_print_handler)
3967 * shell/ev-window.c: (ev_window_print):
3969 Support printing page range, based on patch by Amaury Jacquot
3971 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3973 * data/evince-toolbar.xml:
3975 Add zoom control to available items
3977 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3979 * shell/ev-window.c: (update_action_sensitivity):
3981 Set slash action insensitive when appropriate
3983 2005-05-10 Christian Persch <chpe@gnome.org>
3985 * cut-n-paste/zoom-control/ephy-zoom-action.c: (create_menu_item):
3987 Fix warning on the overflow menu
3989 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3991 * shell/ev-window.c: (sanity_check_uri), (ev_window_open):
3993 Check for uri correctness/existence
3995 2005-05-09 Juerg Billeter <j@bitron.ch>
3997 * shell/ev-window.c: (using_postscript_printer):
3999 LPD printers use postscript, too
4001 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
4003 * shell/ev-window.c: (register_custom_actions):
4005 The zoom one is actually sort of useful,
4008 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
4010 * shell/ev-window.c: (register_custom_actions):
4012 Hide page/zoom controls from overflow, they
4015 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
4017 * cut-n-paste/update-from-egg.sh:
4019 Share it between all cut-n-paste subdirs
4021 * cut-n-paste/recent-files/Makefile.am:
4023 Fix to use "global" update-from-egg.sh
4025 * cut-n-paste/recent-files/egg-recent-model.c:
4026 (egg_recent_model_changed_timeout), (egg_recent_model_finalize):
4027 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
4028 (egg_recent_view_gtk_clear), (egg_recent_view_gtk_set_list),
4029 (egg_recent_view_gtk_finalize), (egg_recent_view_gtk_set_menu):
4033 * cut-n-paste/toolbar-editor/Makefile.am:
4035 Fix to use "global" update-from-egg.sh
4037 * cut-n-paste/toolbar-editor/eggmarshalers.list:
4041 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
4044 * cut-n-paste/Makefile.am:
4045 * cut-n-paste/recent-files/Makefile.am:
4046 * cut-n-paste/toolbar-editor/.cvsignore:
4047 * cut-n-paste/toolbar-editor/Makefile.am:
4048 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
4049 (egg_editable_toolbar_get_type), (get_toolbar_position),
4050 (get_n_toolbars), (get_dock_nth), (get_toolbar_nth), (find_action),
4051 (drag_data_delete_cb), (drag_begin_cb), (drag_end_cb),
4052 (drag_data_get_cb), (set_drag_cursor), (unset_drag_cursor),
4053 (set_item_drag_source), (create_item_from_action), (create_item),
4054 (data_is_separator), (drag_data_received_cb), (remove_toolbar_cb),
4055 (popup_toolbar_context_menu_cb), (free_dragged_item),
4056 (toolbar_drag_drop_cb), (toolbar_drag_motion_cb),
4057 (toolbar_drag_leave_cb), (create_dock), (set_fixed_style),
4058 (unset_fixed_style), (toolbar_changed_cb), (unparent_fixed),
4059 (update_fixed), (toolbar_added_cb), (toolbar_removed_cb),
4060 (item_added_cb), (item_removed_cb),
4061 (egg_editable_toolbar_construct),
4062 (egg_editable_toolbar_disconnect_model),
4063 (egg_editable_toolbar_deconstruct),
4064 (egg_editable_toolbar_set_model),
4065 (egg_editable_toolbar_set_ui_manager),
4066 (egg_editable_toolbar_set_property),
4067 (egg_editable_toolbar_get_property),
4068 (egg_editable_toolbar_class_init), (egg_editable_toolbar_init),
4069 (egg_editable_toolbar_finalize), (egg_editable_toolbar_new),
4070 (egg_editable_toolbar_new_with_model),
4071 (egg_editable_toolbar_get_edit_mode),
4072 (egg_editable_toolbar_set_edit_mode), (egg_editable_toolbar_show),
4073 (egg_editable_toolbar_hide), (egg_editable_toolbar_set_fixed),
4074 (egg_editable_toolbar_set_drag_dest), (fake_expose_widget),
4075 (new_pixbuf_from_widget), (new_separator_pixbuf),
4076 (update_separator_image), (style_set_cb),
4077 (_egg_editable_toolbar_new_separator_image),
4078 (egg_editable_toolbar_get_model):
4079 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
4080 * cut-n-paste/toolbar-editor/egg-marshal.c:
4081 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
4082 (egg_toolbar_editor_get_type), (compare_actions), (find_action),
4083 (egg_toolbar_editor_set_ui_manager), (toolbar_removed_cb),
4084 (egg_toolbar_editor_set_model), (egg_toolbar_editor_set_property),
4085 (egg_toolbar_editor_get_property), (egg_toolbar_editor_class_init),
4086 (egg_toolbar_editor_finalize), (egg_toolbar_editor_new),
4087 (drag_begin_cb), (drag_end_cb), (editor_drag_data_received_cb),
4088 (editor_drag_data_delete_cb), (drag_data_get_cb),
4089 (elide_underscores), (set_drag_cursor), (event_box_realize_cb),
4090 (editor_create_item), (update_editor_sheet), (setup_editor),
4091 (egg_toolbar_editor_init), (egg_toolbar_editor_add_action),
4092 (parse_item_list), (model_has_action), (update_actions_list),
4093 (egg_toolbar_editor_load_actions):
4094 * cut-n-paste/toolbar-editor/egg-toolbar-editor.h:
4095 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
4096 (egg_toolbars_model_get_type), (egg_toolbars_model_to_xml),
4097 (safe_save_xml), (egg_toolbars_model_save), (toolbars_toolbar_new),
4098 (toolbars_item_new), (free_toolbar_node), (free_item_node),
4099 (egg_toolbars_model_get_flags), (egg_toolbars_model_set_flags),
4100 (egg_toolbars_model_add_separator), (impl_add_item),
4101 (parse_item_list), (egg_toolbars_model_add_toolbar),
4102 (parse_toolbars), (egg_toolbars_model_load), (impl_get_item_id),
4103 (impl_get_item_data), (impl_get_item_type),
4104 (_egg_accumulator_STRING), (egg_toolbars_model_class_init),
4105 (egg_toolbars_model_init), (free_toolbar),
4106 (egg_toolbars_model_finalize), (egg_toolbars_model_new),
4107 (egg_toolbars_model_remove_toolbar),
4108 (egg_toolbars_model_remove_item), (egg_toolbars_model_move_item),
4109 (egg_toolbars_model_n_items), (egg_toolbars_model_item_nth),
4110 (egg_toolbars_model_n_toolbars), (egg_toolbars_model_toolbar_nth),
4111 (egg_toolbars_model_add_item), (egg_toolbars_model_get_item_id),
4112 (egg_toolbars_model_get_item_data),
4113 (egg_toolbars_model_get_item_type):
4114 * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
4115 * cut-n-paste/toolbar-editor/eggmarshalers.list:
4117 * data/evince-toolbar.xml:
4118 * data/evince-ui.xml:
4119 * data/hand-open.png:
4121 * shell/Makefile.am:
4122 * shell/ev-window.c: (update_chrome_visibility),
4123 (ev_window_cmd_edit_toolbar_cb), (ev_window_cmd_edit_toolbar),
4124 (ev_window_dispose), (ev_window_init):
4126 Implement epiphany like toolbar editor. Based on patch by
4127 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4129 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
4131 * shell/ev-sidebar-thumbnails.c: (page_changed_cb):
4133 Use set_cursor instead of set_selection, so that
4134 the keyboard focus moves too.
4136 2005-05-09 Aleksey Kliger <akliger@gmail.com>
4138 * dvi/mdvi-lib/tfmfile.c: (lookup_font_metrics):
4140 Fix infinite loop when loading Type1 fonts
4142 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
4144 * data/evince-ui.xml:
4145 * shell/ev-window.c:
4149 2005-05-09 Thomas de Grenier de Latour <degrenier@easyconnect.fr>
4153 Make --disable really disable
4155 2005-05-07 Juerg Billeter <j@bitron.ch>
4157 * backend/ev-page-cache.c: (ev_page_cache_set_page_label):
4159 Compare page labels even without has_labels set, fixes setting page
4162 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
4164 * shell/ev-view.c: (ev_view_create_invisible_cursor),
4165 (ev_view_set_cursor), (ev_view_button_press_event),
4166 (ev_view_motion_notify_event), (ev_view_button_release_event),
4169 Implement middle button scrolling. Based on a patch
4170 by Tommi Komulainen <tommi.komulainen@iki.fi>.
4172 2005-05-08 Marco Pesenti Gritti <mpg@redhat.com>
4174 * shell/ev-document-types.c: (get_slow_mime_type),
4175 (get_document_type_from_mime), (ev_document_type_lookup):
4176 * shell/ev-document-types.h:
4178 Change api to lookup from uri. Do fast lookup first, if the
4179 type is unknown try with data sniffing.
4181 * shell/ev-window.c: (ev_window_open), (ev_window_open_uri_list):
4182 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
4186 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
4188 * thumbnailer/Makefile.am:
4192 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
4199 * data/evince-ui.xml:
4201 Hide presentation mode for now
4203 * shell/ev-view.c: (highlight_find_results):
4205 Show current find selection only on current page
4207 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
4209 * shell/ev-view.c: (ev_view_select_all):
4211 Compute size of the actual page, not of
4214 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
4216 * shell/ev-view.c: (clear_selection), (ev_view_finalize),
4217 (view_rect_to_doc_rect), (compute_selections),
4218 (ev_view_bin_expose), (ev_view_select_all), (get_selected_text),
4219 (ev_view_copy), (ev_view_primary_get_cb),
4220 (ev_view_primary_clear_cb), (ev_view_update_primary_selection),
4221 (ev_view_button_press_event), (ev_view_motion_notify_event),
4222 (ev_view_button_release_event), (page_changed_cb):
4226 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
4228 * shell/ev-view.c: (compute_border), (get_page_extents),
4229 (doc_rect_to_view_rect), (highlight_find_results),
4230 (ev_view_bin_expose), (ev_view_select_all),
4231 (ev_view_motion_notify_event), (update_find_status_message),
4232 (jump_to_find_result), (jump_to_find_page):
4234 First go at fixing search, still buggy
4236 2005-05-04 Kristian Høgsberg <krh@redhat.com>
4238 * shell/ev-sidebar.c (ev_sidebar_init): Remove frame around
4239 dropdown box and button at the top of the sidebar.
4241 2005-05-02 James Bowes <bowes@cs.dal.ca>
4243 * configure.ac: Output zoom-control Makefile.
4244 * cut-n-paste/Makefile.am: build zoom-control subdir.
4245 * cut-n-paste/zoom-control/ephy-zoom-action.c:
4246 * cut-n-paste/zoom-control/ephy-zoom-action.h:
4247 * cut-n-paste/zoom-control/ephy-zoom-control.c:
4248 * cut-n-paste/zoom-control/ephy-zoom-control.h:
4249 * cut-n-paste/zoom-control/ephy-zoom.c:
4250 * cut-n-paste/zoom-control/ephy-zoom.h: New files imported
4251 from epiphany, and modified to add a separator into the menu.
4252 * cut-n-paste/zoom-control/Makefile.am: Build zoom-control.
4253 * data/evince-ui.xml: Replace old zoom toolbar actions with new
4254 zoom-control action.
4255 * shell/Makefile.am: Include zoom-control flags.
4256 * shell/ev-view.c: (ev_view_set_zoom), (ev_view_get_zoom),
4257 (ev_view_get_sizing_mode), (ev_view_zoom_in), (ev_view_zoom_out),
4258 (ev_view_zoom_for_size_presentation),
4259 (ev_view_zoom_for_size_continuous_and_dual_page),
4260 (ev_view_zoom_for_size_continuous),
4261 (ev_view_zoom_for_size_dual_page),
4262 (ev_view_zoom_for_size_single_page), (ev_view_zoom_normal):
4263 s/ev_view_zoom/ev_view_set_zoom/ and make public, add
4264 ev_view_get_zoom and ev_view_get_sizing_mode.
4266 * shell/ev-window.c: (update_action_sensitivity),
4267 (update_sizing_buttons), (zoom_control_changed_cb),
4268 (register_custom_actions): Initialize and use the zoom-control
4271 Sun May 1 00:46:47 2005 Jonathan Blandford <jrb@redhat.com>
4273 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init): Change the
4274 preview cache back to 1. Don't know when it got set to 0.
4276 * shell/ev-view.c: (compute_border), (ev_view_realize),
4277 (draw_one_page), (ev_view_set_property), (ev_view_get_property),
4278 (ev_view_class_init), (ev_view_init), (ev_view_set_fullscreen),
4279 (ev_view_get_fullscreen), (ev_view_set_presentation),
4280 (ev_view_get_presentation), (ev_view_set_sizing_mode),
4281 (ev_view_zoom_for_size_presentation), (ev_view_set_zoom_for_size):
4283 * shell/ev-window.c:
4284 (update_chrome_visibility),
4285 (ev_window_cmd_continuous), (ev_window_cmd_dual),
4286 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
4287 (update_document_mode), (ev_window_update_fullscreen_action),
4288 (ev_window_fullscreen), (ev_window_unfullscreen),
4289 (ev_window_cmd_view_fullscreen),
4290 (ev_window_update_presentation_action),
4291 (ev_window_run_presentation), (ev_window_stop_presentation),
4292 (ev_window_cmd_view_presentation), (ev_window_state_event),
4293 (ev_window_focus_in_event), (ev_window_focus_out_event),
4294 (ev_window_cmd_escape), (ev_window_sidebar_visibility_changed_cb):
4295 * data/evince-ui.xml: Initial presentation mode. We should
4296 probably hide this until it's done, as it's quite rough. Also,
4297 change full-screen to fullscreen and add two getters to EvView.
4299 2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
4301 * shell/ev-page-action.c: (update_page_cache),
4302 (ev_page_action_dispose):
4303 * shell/ev-window.c: (destroy_fullscreen_popup),
4304 (ev_window_create_fullscreen_popup):
4306 Use connect_object rather than explicitly
4307 disconnect on dispose.
4309 2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
4311 * shell/ev-page-action.c: (update_page_cache),
4312 (ev_page_action_dispose):
4314 2005-04-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4316 * backend/ev-page-cache.c: (_ev_page_cache_new),
4317 (ev_page_cache_set_page_label),
4318 (ev_page_cache_has_nonnumeric_page_labels):
4319 * backend/ev-page-cache.h:
4320 * shell/ev-page-action.c: (update_pages_label):
4322 If all page labels are numeric, fallback to default
4323 way to display number of pages. See bug 173185.
4325 2005-04-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4327 * shell/ev-page-action.c: (ev_page_action_dispose):
4328 * shell/ev-view.c: (view_update_range_and_current_page):
4329 * shell/ev-window.c: (ev_window_dispose):
4331 Set page on scroll in continuous mode. Fixes bug 301986.
4332 Also cleanup callbacks on destroy of EvWindow and EvPageAction.
4334 2005-04-26 Marco Pesenti Gritti <mpg@redhat.com>
4338 Require poppler 0.3.0
4340 2005-04-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4342 * shell/Makefile.am, configure.ac: Fix build problems
4343 with t1lib. Bug 301996.
4345 2005-04-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4347 * shell/ev-view.c: (ev_view_scroll_event):
4349 Scroll up increase zoom
4351 2005-04-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4353 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_class_init),
4354 (ev_view_set_sizing_mode),
4355 (ev_view_zoom_for_size_continuous_and_dual_page),
4356 (ev_view_zoom_for_size_continuous):
4357 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
4358 (ev_window_cmd_view_page_width), (ev_window_cmd_view_zoom_in),
4359 (ev_window_cmd_view_zoom_out), (ev_window_sizing_mode_changed_cb),
4362 Control + Scroll does zooming, Shift + Scroll scrolls horizontally
4363 Fix for 165473 and 165472.
4365 2005-04-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4368 * thumbnailer/Makefile.am:
4369 * thumbnailer/evince-thumbnailer-djvu.schemas.in:
4370 * thumbnailer/evince-thumbnailer-dvi.schemas.in:
4371 * thumbnailer/evince-thumbnailer.schemas.in:
4373 Make thumbnailer schemas translatable. Fix for bug 301773
4375 * thumbnailer/evince-thumbnailer-djvu.schemas:
4376 * thumbnailer/evince-thumbnailer-dvi.schemas:
4377 * thumbnailer/evince-thumbnailer.schemas:
4381 Sun Apr 24 01:37:39 2005 Jonathan Blandford <jrb@redhat.com>
4383 * shell/ev-view.c (ev_view_init): forgot to set this.
4385 Sun Apr 24 01:07:27 2005 Jonathan Blandford <jrb@redhat.com>
4387 * shell/ev-view.c: (find_page_at_location),
4388 (get_link_at_location),
4389 (ev_view_set_show_border), (ev_view_set_spacing),
4390 (ev_view_zoom_for_size_continuous_and_dual_page),
4391 (ev_view_zoom_for_size_continuous): Fix links for dual/continuous.
4392 Also, add a quick fix measuring of widths. Also, removed
4393 ev_view_set_spacing and ev_view_set_show_border.
4395 * shell/ev-window.c: (ev_window_unfullscreen),
4396 (ev_window_cmd_view_fullscreen): Don't adjust the border/spacing.
4398 2005-04-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4400 * shell/ev-view.c: (view_update_range_and_current_page),
4403 Fix crash on exit and scrolling to page in continuous view.
4405 Sat Apr 23 13:13:04 2005 Jonathan Blandford <jrb@redhat.com>
4408 * backend/ev-page-cache.c: (_ev_page_cache_new),
4409 (ev_page_cache_get_max_width_size),
4410 (ev_page_cache_get_max_height_size):
4411 * backend/ev-page-cache.h:
4412 * data/evince-ui.xml:
4413 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init):
4414 * shell/ev-view.c: (view_update_adjustments),
4415 (view_update_range_and_current_page), (get_bounding_box_size),
4416 (ev_view_size_request_continuous_and_dual_page),
4417 (ev_view_size_request_continuous),
4418 (ev_view_size_request_dual_page),
4419 (ev_view_size_request_single_page), (ev_view_size_request),
4420 (ev_view_size_allocate), (get_page_extents), (draw_one_page),
4421 (ev_view_bin_expose), (ev_view_expose_event),
4422 (ev_view_set_property), (ev_view_get_property),
4423 (ev_view_class_init), (ev_view_init), (ev_view_new),
4424 (page_changed_cb), (ev_view_zoom), (ev_view_set_continuous),
4425 (ev_view_set_dual_page), (ev_view_set_full_screen),
4426 (ev_view_set_presentation), (ev_view_set_sizing_mode),
4427 (ev_view_can_zoom_in), (ev_view_can_zoom_out), (ev_view_zoom_in),
4428 (ev_view_zoom_out), (zoom_for_size_fit_width),
4429 (zoom_for_size_best_fit),
4430 (ev_view_zoom_for_size_continuous_and_dual_page),
4431 (ev_view_zoom_for_size_continuous),
4432 (ev_view_zoom_for_size_dual_page),
4433 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
4434 (ev_view_show_cursor), (ev_sizing_mode_get_type):
4436 * shell/ev-window.c: (update_action_sensitivity),
4437 (ev_window_cmd_continuous), (ev_window_cmd_dual),
4438 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
4439 (update_sizing_buttons), (ev_window_cmd_view_zoom_in),
4440 (ev_window_cmd_view_zoom_out), (update_view_size),
4441 (ev_window_set_sizing_mode), (ev_window_init):
4443 Add Continuous and Dual page modes.
4445 2005-04-23 James Bowes <bowes@cs.dal.ca>
4447 * dvi/dvi-document.c: (dvi_document_load),
4448 (dvi_document_thumbnails_get_thumbnail),
4449 (dvi_document_init_params): Fix up some mixups between
4450 width and height to correct thumbnail rendering.
4452 2005-04-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4454 * dvi/mdvi-lib/private.h:
4455 * dvi/mdvi-lib/setup.c: (mdvi_init_kpathsea):
4457 Suppess output for kpathsea during font generation. Thanks to
4460 Fri Apr 22 19:57:46 2005 Jonathan Blandford <jrb@redhat.com>
4467 * Makefile.am: fix distcheck.
4469 2005-04-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4471 * shell/ev-sidebar-links.c: (selection_changed_callback),
4472 (update_page_callback), (row_activated_callback),
4473 (job_finished_callback), (ev_sidebar_links_set_document):
4475 Fix for bug #169901. Double click on links expands tree.
4477 2005-03-14 Bryan Clark <clarkbw@cvs.gnome.org>
4479 * shell/ev-window.c (ev_window_init): Removed fullscreen toolbar
4480 hard-coded style. Fix for bug 170111
4482 2005-04-22 Kristian Høgsberg <krh@redhat.com>
4484 * shell/ev-view.c (highlight_find_results): Remove unnecessary
4487 2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
4489 * thumbnailer/evince-thumbnailer.schemas: real fix for bug 172496
4491 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
4493 * pdf/ev-poppler.cc:
4494 * shell/ev-view.c: (highlight_find_results):
4496 Fix find on single page documents
4498 2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
4500 * data/evince.schemas.in: fix for bug 301390
4502 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
4504 * shell/ev-view.c: (ev_view_can_zoom_in), (ev_view_can_zoom_out),
4505 (ev_view_zoom_out), (ev_view_zoom_normal):
4507 * shell/ev-window.c: (update_action_sensitivity),
4508 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
4509 (ev_window_cmd_view_zoom_in), (ev_window_cmd_view_zoom_out),
4510 (ev_window_cmd_view_normal_size):
4512 Fix normal size zoom. Make zoom in/zoom out unsensitive when
4513 they are behyond the limits. Tweak MAX_ZOOM to 6, sucks but
4516 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
4520 Depend on 2.57, 2.59 doesnt seem to be necessary
4522 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
4524 * shell/ev-page-action.c: (update_pages_label), (page_changed_cb),
4527 Put back total number of pages as (1 of 1234)
4529 Thu Apr 21 23:37:52 2005 Jonathan Blandford <jrb@redhat.com>
4531 * shell/ev-pixbuf-cache.c (dispose_cache_job_info): actually
4534 * backend/ev-document.h: Remove EV_DOC_MUTEX in favor of a locking
4535 function. This helps debugging.
4537 2005-04-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4539 * djvu/djvu-document.c: (djvu_document_class_init),
4540 (djvu_document_get_info), (djvu_document_document_iface_init):
4541 * dvi/dvi-document.c: (dvi_document_class_init),
4542 (dvi_document_get_info), (dvi_document_document_iface_init):
4544 Dummy implementation of get_info method for dvi and djvu. Fix
4545 crashes with those backends
4547 2005-04-20 Marco Pesenti Gritti <mpg@redhat.com>
4549 * data/evince.desktop.in:
4551 Add application/x-gzpostscript
4553 2005-04-20 Bryan Clark <clarkbw@cvs.gnome.org>
4555 * data/evince.schemas.in: Added real long descriptions,
4558 * README: Added actual text, closes bug 171869
4560 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
4562 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
4566 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
4568 * backend/ev-document-info.h:
4570 s/GDate */GDate so we can just use g_free
4572 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
4574 * shell/ev-window.c: (update_document_mode),
4575 (ev_window_setup_document):
4577 Show the window in fullscreen when specified by
4580 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
4582 * backend/ev-document.c: (ev_document_class_init),
4583 (ev_document_get_info), (ev_document_render_pixbuf):
4584 * backend/ev-document.h:
4585 * backend/ev-page-cache.c: (_ev_page_cache_new):
4586 * pdf/ev-poppler.cc:
4587 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
4588 (pixbuf_document_get_info), (pixbuf_document_document_iface_init):
4589 * ps/ps-document.c: (ps_document_class_init), (document_load),
4590 (ps_document_get_info), (ps_document_document_iface_init):
4592 Remove get_title from the interface, we can just use document info
4594 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
4596 * backend/Makefile.am:
4597 * backend/ev-document.c: (ev_document_render_get_info):
4598 * backend/ev-document.h:
4599 * pdf/ev-poppler.cc:
4601 Initial support for document info. Based on jrb patch.
4603 2005-04-19 Paolo Borelli <pborelli@katamail.com>
4605 * shell/ev-window.c: (ev_window_state_event),
4606 (ev_window_class_init), (ev_window_init):
4608 Doesn't show resize grip when maximized. See bug #301053
4610 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4614 ev-sidebar-thumbnails now has translatable labels
4616 * shell/Makefile.am:
4617 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document),
4618 (ev_sidebar_links_support_document), (ev_sidebar_links_get_label),
4619 (ev_sidebar_links_page_iface_init):
4620 * shell/ev-sidebar-links.h:
4621 * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
4622 (ev_sidebar_page_support_document), (ev_sidebar_page_set_document),
4623 (ev_sidebar_page_get_label):
4624 * shell/ev-sidebar-page.h:
4625 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_new),
4626 (ev_sidebar_thumbnails_set_document),
4627 (ev_sidebar_thumbnails_support_document),
4628 (ev_sidebar_thumbnails_get_label),
4629 (ev_sidebar_thumbnails_page_iface_init):
4630 * shell/ev-sidebar-thumbnails.h:
4631 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
4632 (ev_sidebar_set_document):
4633 * shell/ev-sidebar.h:
4634 * shell/ev-window.c: (ev_window_setup_document), (ev_window_init):
4636 Small rework of sidebar code. Now sidebar pages should implement
4637 EvSidebarPage interface. That makes page management in EvSidebar
4638 easier. See bug #164811 for details
4640 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4642 * shell/ev-application.c: (ev_application_open):
4643 * shell/ev-document-types.c:
4645 Fix build error and small problem with application exit
4647 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4649 * thumbnailer/Makefile.am:
4650 * thumbnailer/evince-thumbnailer-djvu.schemas:
4651 * thumbnailer/evince-thumbnailer-dvi.schemas:
4653 Conditionally install schemas for djvu/dvi thumbnailer
4655 2005-04-18 David Malcolm <dmalcolm@redhat.com>
4657 * shell/ev-document-types.h:
4658 * shell/ev-document-types.c:
4659 New files, handling the mapping from mimetypes to backends
4661 * shell/ev-window.c:
4662 * thumbnailer/evince-thumbnailer.c:
4663 Use the ev-document-types code
4665 * shell/Makefile.am:
4666 Added new convenience library libevbackendfactory_la, containing
4667 the new mimetype->backend logic; moved the backends into it.
4669 * thumbnailer/Makefile.am:
4670 Make the thumbnailer link with the libevbackend.la convenience
4671 library, rather than having a duplicate of the backend logic here.
4673 2005-04-18 Paolo Borelli <pborelli@katamail.com>
4675 * shell/ev-stock-icons.c: constify some vars.
4676 * shell/ev-window.c: ditto.
4678 2005-04-18 Marco Pesenti Gritti <mpg@redhat.com>
4680 * ps/ps-document.c (get_page_orientation):
4682 Respect document orientation
4684 2005-04-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4688 * shell/Makefile.am:
4690 Move library dependencies to components.
4692 * shell/ev-window.c: (update_window_title),
4693 (start_loading_document):
4695 Fix display of uris with spaces. Bug 168358.
4697 Sat Apr 16 18:53:47 2005 Jonathan Blandford <jrb@redhat.com>
4699 * shell/ev-sidebar-links.c: (selection_changed_cb):
4700 * shell/ev-view.c: (ev_view_finalize), (go_to_link),
4701 (ev_view_button_release_event), (ev_view_set_document):
4703 * shell/ev-window.c: (find_bar_search_changed_cb):
4704 * shell/ev-window.h: Minor cleanups removing some dead code.
4706 2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4708 * backend/ev-page-cache.c: (_ev_page_cache_new):
4710 Set current page to 0 if document has pages.
4712 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
4714 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
4716 Initialize GError to NULL, fix a crash when loading fails.
4718 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
4720 * shell/ev-window.c: (update_view_size):
4722 Calculate shadow size only when there is actually
4725 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
4727 * shell/ev-view.c: (ev_view_set_spacing), (ev_view_init):
4730 Allow setting view spacing, default to 0
4732 * shell/ev-window.c: (ev_window_unfullscreen),
4733 (ev_window_cmd_view_fullscreen), (ev_window_init):
4735 Remove spacing in fullscreen mode
4737 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
4739 * shell/ev-view.c: (compute_border), (compute_zoom_factor),
4740 (ev_view_size_request), (expose_bin_window),
4741 (ev_view_set_show_border), (ev_view_init), (page_changed_cb):
4743 * shell/ev-window.c: (ev_window_unfullscreen),
4744 (ev_window_cmd_view_fullscreen):
4746 Do not draw the border in fulscreen
4748 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
4750 * shell/ev-view.c: (ev_view_get_offsets), (compute_zoom_factor),
4751 (ev_view_size_request), (expose_bin_window), (ev_view_select_all),
4752 (find_page_at_location), (page_changed_cb):
4754 Rework border calculation, so that I can more easily disable it.
4755 Code somewhat cleaner too.
4757 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
4759 * backend/ev-page-cache.c: (ev_page_cache_init),
4760 (_ev_page_cache_new):
4762 Remove some assertions, documents can have 0 pages.
4763 Make initial current page -1.
4765 * shell/ev-page-action.c: (page_changed_cb):
4767 Show "" if current page is -1
4769 * shell/ev-window.c: (update_action_sensitivity),
4770 (ev_window_setup_document):
4772 When document has 0 pages do not set the view
4773 and make nearly everything insensitive.
4775 2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4777 * shell/ev-page-view.c:
4778 * shell/ev-page-view.h:
4780 Remove unused files.
4782 * shell/ev-sidebar-thumbnails.c:
4783 (ev_sidebar_thumbnails_set_document):
4784 * shell/ev-sidebar.c: (ev_sidebar_set_document),
4785 (ev_sidebar_supports_document):
4786 * shell/ev-sidebar.h:
4787 * shell/ev-window.c: (ev_window_setup_document):
4789 Doesn't show thumbnails if document has 1 page. Make
4790 sidebar menu entries sensitive only if if they have
4791 sense. Fix bug 164811.
4793 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
4795 * shell/ev-view.c: (compute_zoom_factor), (ev_view_size_request),
4796 (page_changed_cb), (ev_view_zoom), (ev_view_zoom_in),
4797 (ev_view_zoom_out), (ev_view_set_size):
4799 Rework sizing to deal with documents with not uniform page
4802 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
4804 * backend/ev-page-cache.c: (_ev_page_cache_new):
4806 Fix several page size caching bugs
4808 2005-04-15 Luca Ferretti <elle.uca@libero.it>
4810 * shell/ev-window.c: (set_action_properties):
4812 Make all toolbar items translatable
4814 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
4816 * ps/ps-document.c: (ps_document_init), (ps_document_get_type),
4817 (save_page_list), (ps_document_save),
4818 (ps_document_document_iface_init), (ps_document_ps_export_begin),
4819 (ps_document_ps_export_do_page), (ps_document_ps_export_end),
4820 (ps_document_ps_exporter_iface_init):
4823 Based on a patch by J�rg Billeter <j@bitron.ch>
4825 Implement print and save a copy for the ps backend.
4827 2005-04-14 Marco Pesenti Gritti <mpg@redhat.com>
4829 * backend/ev-document.h:
4830 * djvu/djvu-document.c: (djvu_document_can_get_text),
4831 (djvu_document_document_iface_init):
4832 * dvi/dvi-document.c: (dvi_document_can_get_text),
4833 (dvi_document_document_iface_init):
4834 * pdf/ev-poppler.cc:
4835 * pixbuf/pixbuf-document.c: (pixbuf_document_can_get_text),
4836 (pixbuf_document_document_iface_init):
4837 * ps/ps-document.c: (ps_document_can_get_text),
4838 (ps_document_document_iface_init):
4839 * shell/ev-view.c: (ev_view_copy), (ev_view_primary_get_cb):
4840 * shell/ev-window.c: (update_action_sensitivity):
4842 Fix the crash when trying to copy in backends that doesnt
4843 support it. We can implement a better solution once we
4844 do real text selection.
4846 2005-04-12 Marco Pesenti Gritti <mpg@redhat.com>
4848 * data/evince-ui.xml:
4849 * shell/ev-window.c: (ev_window_cmd_escape):
4851 Work around the Escape conflict (find bar and unfullscreen)
4853 2005-04-12 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
4855 * backend/ev-page-cache.c: (ev_page_cache_next_page):
4857 Fix for #300233. Next page correctly handles document end.
4859 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
4860 (ev_sidebar_thumbnails_class_init),
4861 (ev_sidebar_thumbnails_set_document),
4862 (ev_sidebar_thumbnails_clear_job),
4863 (ev_sidebar_thumbnails_clear_model):
4865 Cleanup thumbnail jobs on document changes.
4867 * shell/ev-view.c: (add_scroll_binding_keypad),
4868 (add_scroll_binding_shifted), (ev_view_class_init):
4870 Shift + Space scrolls up. Fix for #173184
4872 * shell/ev-window.c: (ev_window_open_page),
4873 (ev_window_cmd_view_reload):
4875 Fix reload (Bug #300094)
4877 2005-04-09 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4880 * dvi/mdvi-lib/assoc.c:
4881 * dvi/mdvi-lib/assoc.h: Removed garbage files
4883 * dvi/mdvi-lib/bitmap.c:
4884 * dvi/mdvi-lib/color.c: (mdvi_set_color), (mdvi_push_color),
4885 (mdvi_pop_color), (mdvi_reset_color), (get_color_table):
4886 * dvi/mdvi-lib/color.h: Antialias of rules
4888 * dvi/mdvi-lib/common.h:
4889 * dvi/mdvi-lib/dviread.c: (mdvi_configure), (mdvi_init_context),
4890 (mdvi_destroy_context), (draw_shrink_rule), (draw_box), (set_rule):
4891 * dvi/mdvi-lib/files.c:
4892 * dvi/mdvi-lib/fontmap.c: (ps_init_default_paths):
4893 * dvi/mdvi-lib/mdvi.h:
4894 * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
4895 * dvi/mdvi-lib/tfmfile.c: (ofm_load_file):
4896 * dvi/mdvi-lib/util.c: Fix compile warnings
4898 * dvi/dvi-document.c:
4899 (dvi_document_load), (dvi_document_thumbnails_get_dimensions),
4900 (dvi_document_thumbnails_get_thumbnail),
4901 (dvi_document_document_thumbnails_iface_init):
4902 * dvi/mdvi-lib/Makefile.am:
4903 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
4904 (dvi_pixbuf_set_color), (mdvi_pixbuf_device_render):
4906 Dvi backend now renders thumbnails
4908 2005-04-09 Christian Persch <chpe@cvs.gnome.org>
4910 * shell/main.c: (main):
4912 Save accelerators on exit. Fixes bug #172095.
4914 Sat Apr 9 01:05:09 2005 Jonathan Blandford <jrb@redhat.com>
4916 * shell/ev-pixbuf-cache.c (move_one_job): Actually fix the "FIXME:
4917 update priority" comment.
4919 * backend/ev-job-queue.c: Give a way to change priority.
4921 Sat Apr 9 00:05:36 2005 Jonathan Blandford <jrb@redhat.com>
4923 * shell/ev-page-action.c: Fix logic.
4925 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
4927 * shell/ev-view.c: (ev_view_can_find_next):
4928 * shell/ev-window.c: (ev_window_setup_document):
4930 Check that the document supports find
4932 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
4934 * data/evince-ui.xml:
4935 * shell/ev-view.c: (ev_view_can_find_next):
4937 * shell/ev-window.c: (update_action_sensitivity),
4938 (find_changed_cb), (ev_window_setup_document),
4939 (ev_window_cmd_edit_find_next):
4943 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
4945 * pdf/ev-poppler.cc:
4946 * shell/ev-print-job.c: (idle_print_handler):
4948 Make printing work again
4950 Fri Apr 8 01:12:24 2005 Jonathan Blandford <jrb@redhat.com>
4952 * shell/ev-page-action.h:
4953 * shell/ev-page-action.c: (ev_page_action_widget_init),
4954 (ev_page_action_widget_class_init), (page_changed_cb),
4955 (create_tool_item), (update_page_cache), (build_new_tree_cb),
4956 (get_filter_model_from_model), (match_selected_cb),
4957 (display_completion_text), (match_completion), (update_model),
4958 (connect_proxy), (ev_page_action_set_property),
4959 (ev_page_action_get_property), (ev_page_action_set_document),
4960 (ev_page_action_set_model), (ev_page_action_class_init): Big
4961 reworking to make completions work iff we have >= GTK-2.7.0
4963 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_property),
4964 (ev_sidebar_links_get_property), (ev_sidebar_links_class_init),
4965 (job_finished_cb): We now have a 'model' property that is set when
4966 the links are loaded. This can be caught with "notify::model"
4968 * shell/ev-window.c: (sidebar_widget_model_set), (ev_window_init):
4969 listen for the model to be set, and propagate it to the action.
4971 2005-04-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4973 * cut-n-paste/recent-files/egg-recent-item.c:
4974 (egg_recent_item_set_uri), (make_valid_utf8),
4975 (egg_recent_item_set_mime_type), (egg_recent_item_get_mime_type):
4976 * cut-n-paste/recent-files/egg-recent-item.h:
4978 Update egg-recent from libegg. This should fix long
4979 startup problem. For details see
4980 http://bugzilla.gnome.org/show_bug.cgi?id=160531
4982 2005-04-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4984 * cut-n-paste/recent-files/Makefile.am:
4985 * data/evince-ui.xml, shell/Makefile.am:
4986 * shell/ev-application.c, shell/ev-application.h:
4987 * shell/ev-window.c: Recent files support.
4989 * configure.ac: Added "ru" to ALL_LINGUAS.
4991 * dvju: new backend to support DJVU files.
4992 * dvi: new backend to support DVI.
4994 * configure.ac, Makefile.am, shell/Makefile.am, ev-window.c:
4995 * ev-application.c: Support for new backends.
4997 * help, ev-window.c, main.c shell/Makefile.am:
4998 Evince user documentation.
5000 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
5003 * shell/ev-window.c:
5004 * thumbnailer/evince-thumbnailer.c:
5006 s/pdf-document/ev-poppler
5008 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
5015 * ps/ps-document.c: (setup_pixmap):
5019 2005-04-05 Kristian Høgsberg <krh@redhat.com>
5021 * backend/ev-page-cache.c (ev_page_cache_next_page):
5022 * shell/ev-window.c (ev_window_cmd_go_next_page)
5023 (ev_window_cmd_go_first_page): Fix of by one errors.
5025 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
5027 * ps/ps-document.c: (get_page_box):
5029 Fix page size calculation
5031 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
5033 * ps/ps-document.c: (ps_document_init), (push_pixbuf),
5034 (ps_document_cleanup), (setup_pixmap), (get_page_box),
5035 (get_page_orientation), (setup_page), (document_load),
5036 (ps_document_get_page_size), (render_pixbuf_idle):
5039 More refactoring to adapt to EvDocument changes
5041 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
5043 * ps/ps-document.c: (start_interpreter):
5045 Actually add alpha args
5047 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
5049 * pdf/ev-poppler.cc:
5051 Make clipboard work again
5053 2005-04-04 Kristian Høgsberg <krh@redhat.com>
5055 Make searching work again.
5057 * backend/ev-document.c:
5058 * backend/ev-document.h:
5059 * backend/ev-document-find.c:
5060 * backend/ev-document-find.h: Change EvDocumentIface so we no
5061 longer store the current page or zoom level in the document. The
5062 consequence is that all calls that operate on the current page now
5063 instead take the page number as an extra argument, and all
5064 coordinates are now doubles in document coordinate system.
5066 * pdf/ev-poppler.cc:
5067 * pixbuf/pixbuf-document.c:
5068 * ps/ps-document.c: Update backends accordingly.
5070 2005-04-04 Marco Pesenti Gritti <marco@gnome.org>
5074 Add required gettext version
5076 Sat Apr 2 18:57:00 2005 Jonathan Blandford <jrb@redhat.com>
5078 * shell/evwindow.c: Patch from Alberto Mesas <amesas@gmail.com> to
5079 make F1 bring up non-existent help.
5081 * shell/eggfindbar.c: Patch from Christian Persch to sync to
5082 epiphany's find bar, #167477
5084 * shell/ev-view.c (ev_view_jump): Patch from Emil Soleyman-Zomalan
5085 <emil@nishra.com> to add space-bar scrolling,
5087 * shell/ev-window.c (static GtkActionEntry entries): add default
5088 keybinding for Help (F1)
5091 * shell/ev-view.c (ev_view_show_cursor): Fix from Yuval Tanny
5092 changing EV_VIEW_CURSOR_LINK to EV_VIEW_CURSOR_NORMAL resolves bug
5095 2005-04-01 David Malcolm <dmalcolm@redhat.com>
5098 * pixbuf/pixbuf-document.c:
5100 Got pixbuf backend working again
5102 2005-04-01 Steve Murphy <murf@e-tools.com>
5104 * configure.in: Added "rw" to ALL_LINGUAS.
5106 Fri Apr 1 02:33:41 2005 Jonathan Blandford <jrb@redhat.com>
5108 * shell/ev-sidebar-links.c (create_loading_model): Fix mismatch in
5109 model types, noticed by Martin Kretzschmar.
5111 2005-04-01 Kristian Høgsberg <krh@redhat.com>
5113 * pdf/ev-poppler.cc: Implement search based on
5114 poppler_page_find_text(). Currently a bit crude since we remember
5115 all matches from all pages. Also, we grab the big document lock
5116 when we search since searching changes the underlying stream and
5117 thus conflicts with the rendering thread.
5119 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
5120 (jump_to_find_page), (ev_view_set_document), (ev_view_find_next),
5121 (ev_view_find_previous): Fix some page indexes to be 0 based,
5122 offset rubber band by view offset,
5124 Fri Apr 01 09:21:12 2005 Pablo Saratxaga <pablo@mandrakesoft.com>
5126 * configure.ac: Added Walloon (wa) to ALL_LINGUAS.
5128 Fri Apr 1 01:59:39 2005 Jonathan Blandford <jrb@redhat.com>
5130 * shell/ev-page-action.c: Changed to use page labels now. Rewrote
5131 completely because I didn't understand GtkActions. I should
5132 read Marco's code more carefully in the future.
5134 * backend/ev-page-cache.h (ev_page_cache_set_page_label): New
5137 2005-03-31 Kristian Høgsberg <krh@redhat.com>
5139 * pdf/ev-poppler.cc (pdf_document_get_links): Update to work with
5140 PopplerRectangle change from poppler CVS.
5142 Thu Mar 31 13:27:50 2005 Jonathan Blandford <jrb@redhat.com>
5144 * backend/ev-document.c: (ev_document_get_page_label):
5145 * backend/ev-document.h:
5146 * backend/ev-page-cache.c: (_ev_page_cache_new),
5147 (ev_page_cache_get_page_label):
5148 * backend/ev-page-cache.h:
5149 * pdf/ev-poppler.cc:
5150 * shell/ev-sidebar-links.c: (ev_sidebar_links_construct),
5151 (links_page_num_func):
5152 * shell/ev-sidebar-thumbnails.c:
5153 (ev_sidebar_thumbnails_set_document):
5154 * shell/ev-view.c: (status_message_from_link),
5155 (ev_view_motion_notify_event):
5156 * shell/ev-window.c: (document_supports_sidebar): Add in page
5157 label support. It's not perfect yet, but it's the first 'feature'
5159 Also, fix a bogus comment noticed by crispin.
5161 Thu Mar 31 01:21:58 2005 Jonathan Blandford <jrb@redhat.com>
5163 * Makefile.am: Remove pixbuf backend for now
5165 * configure.ac: Require poppler-glib instead of just poppler.
5167 * backend/ev-document-thumbnails.h: Add a comment
5169 * backend/ev-document.h:
5170 * backend/ev-document.c: (ev_document_class_init),
5171 (ev_document_load), (ev_document_get_link),
5172 (ev_document_get_links): Remove 3 methods and add get_links.
5175 * backend/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
5176 * backend/ev-jobs.h: now EvJobRender can grab the links for a document.
5178 * backend/ev-link.c: (ev_link_set_title),
5179 (ev_link_mapping_free_foreach), (ev_link_mapping_free),
5180 (ev_link_mapping_find):
5181 * backend/ev-link.h: Allow NULL titles. Also, introduce a mapping link.
5183 * backend/ev-page-cache.c: (ev_page_cache_init),
5184 (_ev_page_cache_new), (ev_page_cache_set_current_page),
5185 (ev_page_cache_get_size), (ev_page_cache_next_page),
5186 (ev_page_cache_prev_page): Fix to be 0 based.
5190 * pdf/ev-poppler.cc: New backend.
5192 * ps/ps-document.c: (ps_document_init), (ps_document_set_page),
5193 (ps_document_get_page), (ps_document_document_iface_init):
5195 * shell/ev-pixbuf-cache.h:
5196 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
5197 (dispose_cache_job_info), (job_finished_cb), (move_one_job),
5198 (ev_pixbuf_cache_update_range), (copy_job_to_job_info),
5199 (add_job_if_needed), (ev_pixbuf_cache_set_page_range),
5200 (ev_pixbuf_cache_get_pixbuf), (ev_pixbuf_cache_get_link_mapping):
5201 Fix up code to grab a page cache per each doc. Also, fix to be 0
5204 * shell/ev-sidebar-thumbnails.c:
5205 (ev_sidebar_tree_selection_changed), (page_changed_cb),
5206 (ev_sidebar_thumbnails_set_document): Fix to be 0 based.
5208 * shell/ev-view.c: (status_message_from_link),
5209 (find_page_at_location), (get_link_at_location),
5210 (ev_view_motion_notify_event), (ev_view_button_release_event),
5211 (ev_view_init): Use the new link code. Fix to be 0 based.
5213 * shell/ev-window.c: (update_action_sensitivity),
5214 (document_supports_sidebar): 0 based.
5216 Fri Mar 25 16:55:58 2005 Jonathan Blandford <jrb@redhat.com>
5218 * pdf/pdf-document.cc: Patch from Fernando Herrera
5219 <fherrera@onirica.com> to fix my quick fix to get_thumbnail.
5222 Wed Mar 23 23:49:41 2005 Jonathan Blandford <jrb@redhat.com>
5224 * pdf/pdf-document.cc (pdf_document_thumbnails_get_thumbnail): add
5225 1 to the page, as this seems to be 1 based. I thought we has this
5228 2005-03-23 Marco Pesenti Gritti <marco@gnome.org>
5231 * backend/Makefile.am:
5232 * backend/ev-document-links.c:
5233 (ev_document_links_has_document_links),
5234 (ev_document_links_get_links_model):
5235 * backend/ev-document-links.h:
5236 * backend/ev-document.c: (ev_document_get_page_cache),
5237 (ev_document_get_doc_mutex), (ev_document_load),
5238 (ev_document_save), (ev_document_get_title),
5239 (ev_document_get_n_pages), (ev_document_set_page),
5240 (ev_document_get_page), (ev_document_set_target),
5241 (ev_document_set_scale), (ev_document_set_page_offset),
5242 (ev_document_get_page_size), (ev_document_get_text),
5243 (ev_document_get_link), (ev_document_render),
5244 (ev_document_render_pixbuf), (ev_document_scale_changed):
5245 * backend/ev-document.h:
5246 * backend/ev-job-queue.c: (remove_object_from_queue),
5247 (notify_finished), (handle_job), (search_for_jobs_unlocked),
5248 (no_jobs_available_unlocked), (ev_render_thread),
5249 (ev_job_queue_init), (find_queue), (ev_job_queue_add_job),
5250 (ev_job_queue_remove_job):
5251 * backend/ev-job-queue.h:
5252 * backend/ev-jobs.c: (ev_job_init), (ev_job_dispose),
5253 (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
5254 (ev_job_links_class_init), (ev_job_render_init),
5255 (ev_job_render_dispose), (ev_job_render_class_init),
5256 (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
5257 (ev_job_thumbnail_class_init), (ev_job_finished),
5258 (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
5259 (ev_job_render_run), (ev_job_thumbnail_new),
5260 (ev_job_thumbnail_run):
5261 * backend/ev-jobs.h:
5262 * backend/ev-link.c:
5263 * backend/ev-link.h:
5264 * backend/ev-page-cache.c: (ev_page_cache_init),
5265 (ev_page_cache_class_init), (ev_page_cache_finalize),
5266 (_ev_page_cache_new), (ev_page_cache_get_n_pages),
5267 (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
5268 (ev_page_cache_set_link), (ev_page_cache_get_title),
5269 (ev_page_cache_get_size), (ev_page_cache_next_page),
5270 (ev_page_cache_prev_page):
5271 * backend/ev-page-cache.h:
5272 * pdf/pdf-document.cc:
5275 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
5276 (push_pixbuf), (interpreter_failed), (ps_document_cleanup),
5277 (ps_document_widget_event), (ps_document_finalize), (get_xdpi),
5278 (get_ydpi), (setup_pixmap), (setup_page), (close_pipe),
5279 (is_interpreter_ready), (output), (catchPipe), (input),
5280 (start_interpreter), (check_filecompressed), (compute_dimensions),
5281 (ps_document_enable_interpreter), (document_load),
5282 (ps_document_next_page), (render_page), (ps_document_set_page),
5283 (ps_document_set_scale), (render_pixbuf_idle),
5284 (ps_document_render_pixbuf), (ps_document_document_iface_init):
5286 * shell/Makefile.am:
5287 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
5288 (ev_pixbuf_cache_class_init), (ev_pixbuf_cache_finalize),
5289 (dispose_cache_job_info), (ev_pixbuf_cache_dispose),
5290 (ev_pixbuf_cache_new), (job_finished_cb),
5291 (check_job_size_and_unref), (move_one_job),
5292 (ev_pixbuf_cache_update_range), (find_job_cache),
5293 (ev_pixbuf_cache_clear_job_sizes), (add_job_if_needed),
5294 (ev_pixbuf_cache_add_jobs_if_needed),
5295 (ev_pixbuf_cache_set_page_range), (ev_pixbuf_cache_get_pixbuf):
5296 * shell/ev-pixbuf-cache.h:
5297 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
5298 (idle_print_handler):
5299 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
5300 (selection_changed_cb), (create_loading_model),
5301 (ev_sidebar_links_construct), (links_page_num_func),
5302 (ev_sidebar_links_clear_document), (update_page_callback_foreach),
5303 (update_page_callback), (job_finished_cb),
5304 (ev_sidebar_links_set_document):
5305 * shell/ev-sidebar-thumbnails.c:
5306 (ev_sidebar_thumbnails_class_init), (adjustment_changed_cb),
5307 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init),
5308 (page_changed_cb), (thumbnail_job_completed_callback),
5309 (ev_sidebar_thumbnails_set_document):
5310 * shell/ev-sidebar-thumbnails.h:
5311 * shell/ev-sidebar.c: (ev_sidebar_set_document):
5312 * shell/ev-view.c: (ev_view_finalize), (ev_view_destroy),
5313 (ev_view_get_offsets), (ev_view_size_request), (ev_view_realize),
5314 (ev_view_unrealize), (highlight_find_results), (expose_bin_window),
5315 (ev_view_select_all), (ev_view_copy), (ev_view_primary_get_cb),
5316 (ev_view_create_invisible_cursor), (ev_view_motion_notify_event),
5317 (ev_view_button_release_event), (ev_view_scroll_view),
5318 (ev_view_class_init), (ev_view_init), (update_find_status_message),
5319 (jump_to_find_result), (jump_to_find_page), (find_changed_cb),
5320 (ev_view_new), (job_finished_cb), (page_changed_cb),
5321 (ev_view_set_document), (go_to_link), (ev_view_zoom),
5322 (size_to_zoom_factor), (ev_view_set_size), (ev_view_find_next),
5323 (ev_view_find_previous):
5325 * shell/ev-window.c: (update_action_sensitivity),
5326 (ev_window_open_page), (update_window_title), (update_total_pages),
5327 (page_changed_cb), (ev_window_setup_document),
5328 (password_dialog_response), (ev_window_cmd_save_as),
5329 (ev_window_print), (ev_window_cmd_go_previous_page),
5330 (ev_window_cmd_go_next_page), (ev_window_cmd_go_first_page),
5331 (ev_window_cmd_go_last_page), (ev_window_cmd_view_reload),
5332 (find_bar_search_changed_cb), (goto_page_cb), (ev_window_init):
5333 * shell/main.c: (main):
5335 Merge evince-threads branch
5337 2005-03-16 Žygimantas Beručka <uid0@akl.lt>
5339 * configure.ac: Added "lt" to ALL_LINGUAS.
5341 2005-03-14 Marco Pesenti Gritti <marco@gnome.org>
5348 2005-03-13 Fernando Herrera <fherrera@onirica.com>
5350 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
5352 Fix here also the thumbnails 1-basedness :)
5354 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
5361 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
5363 * pdf/pdf-document.cc:
5364 * shell/ev-sidebar-thumbnails.c: (adjustment_changed_cb),
5365 (do_one_iteration), (ev_sidebar_thumbnails_set_document):
5367 Fix the mess we did with thumbnails and 1-basedness
5369 2005-03-12 Changwoo Ryu <cwryu@debian.org>
5371 * configure.ac (ALL_LINGUAS): Added "ko" (Korean).
5373 2005-03-09 Marco Pesenti Gritti <marco@gnome.org>
5380 2005-03-08 Marco Pesenti Gritti <marco@gnome.org>
5383 * ps/gsdefaults.c: (gtk_gs_defaults_get_interpreter_cmd),
5384 (gtk_gs_defaults_get_alpha_parameters),
5385 (gtk_gs_defaults_get_ungzip_cmd),
5386 (gtk_gs_defaults_get_unbzip2_cmd):
5388 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
5389 (ps_document_get_orientation), (document_load),
5390 (ps_document_goto_page), (ps_document_set_page_size):
5393 Some more sanitization of the ps backend. Remove a lot
5394 of unused code and do not base our defaults on ggv
5397 2005-03-08 Fernando Herrera <fherrera@onirica.com>
5399 * thumbnailer/evince-thumbnailer.schemas:
5400 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
5401 (main): add -s option for thumbnail size.
5403 2005-03-07 Christian Persch <chpe@cvs.gnome.org>
5407 AC_PROG_RANLIB is rendered obsolete by AC_PROG_LIBTOOL;
5410 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
5412 * pdf/pdf-document.cc:
5414 Remove 4 pixels of useless border from the
5417 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
5419 * backend/ev-document-thumbnails.c:
5420 (ev_document_thumbnails_get_thumbnail):
5421 * backend/ev-document-thumbnails.h:
5423 Rework API a bit. Add a border flag and
5424 change sizing logic (now the size we specify
5425 applies to the bigger dimension).
5427 * pdf/pdf-document.cc:
5428 * pixbuf/pixbuf-document.c:
5429 (pixbuf_document_thumbnails_get_thumbnail):
5430 * shell/ev-sidebar-thumbnails.c: (do_one_iteration):
5431 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
5433 Adapt to the new API and do not draw a border for nautilus
5436 2005-03-03 Fernando Herrera <fherrera@onirica.com>
5438 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
5439 take thumbnails from page "0" instead of "1". Added a copyright header.
5441 2005-03-03 Jens Granseuer <jensgr@gmx.net>
5443 * ps/ps-document.c: (set_up_page), (start_interpreter):
5445 Make it C89 compliant
5447 2005-03-03 Marco Pesenti Gritti <marco@gnome.org>
5452 * pdf/pdf-document.cc:
5453 * thumbnailer/Makefile.am:
5454 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
5456 * thumbnailer/evince-thumbnailer.schemas:
5457 * thumbnailer/pdf-icon.png:
5459 Add a nautilus thumbnailer.
5460 Based on patch by Fernando Herrera <fherrera@onirica.com>.
5462 2005-03-02 Marco Pesenti Gritti <marco@gnome.org>
5470 2005-03-01 Kristian Høgsberg <krh@redhat.com>
5472 Use poppler instead of including xpdf source code. Poppler is a
5473 fork of xpdf to build it as a shared library. See
5474 http://freedesktop.org/wiki/Software/poppler.
5476 * pdf/xpdf/*, pdf/goo/*, pdf/splash/*, pdf/fofi/*: Remove included
5479 * pdf/Makefile.am: Build libpdfdocument.a here.
5481 * pdf/GDKSplashOutputDev.cc:
5482 * pdf/GDKSplashOutputDev.h:
5483 * pdf/GnomeVFSStream.cc:
5484 * pdf/GnomeVFSStream.h:
5487 * test-gdk-output-dev.cc
5489 * Thumb.h: Pull these files out of pdf/xpdf and adjust to compile
5492 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
5494 * shell/ev-sidebar-links.c: (ev_sidebar_links_clear_document):
5496 Clear idle stack before unsetting the document
5498 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
5500 * ps/ps-document.c: (ps_document_widget_event),
5501 (ps_document_set_target), (ps_document_finalize),
5502 (ps_document_get_page):
5504 Disconnect the widget event signal on finalize.
5507 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
5509 * ps/ps-document.c: (set_up_page):
5511 If there is no bpixmap create one, even if size
5514 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
5516 * ps/ps-document.c: (ps_document_init), (ps_document_cleanup),
5517 (set_up_page), (document_load), (ps_document_set_zoom):
5519 Default page is 0. Calculate size even when we have no
5522 2005-02-28 Carlos Garcia Campos <carlosgc@gnome.org>
5524 * shell/ev-sidebar.c: expand the selection widget to be always as
5527 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
5529 * shell/ev-sidebar-thumbnails.c:
5530 (ev_sidebar_thumbnails_set_document):
5532 Clear the list store when setting document
5534 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
5536 * shell/ev-page-action.c: (update_entry), (sync_entry),
5537 (activate_cb), (entry_size_request_cb), (create_tool_item),
5540 Use an entry for the page control instead of spinbuttons
5542 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
5544 * data/evince.schemas.in:
5546 Correct confusing string
5548 Sun Feb 27 23:00:31 2005 Jonathan Blandford <jrb@redhat.com>
5550 * shell/ev-sidebar-links.c (do_one_iteration): Handle title links
5551 for real. Gosh, how long has this been broken.
5553 * pdf/xpdf/pdf-document.cc (build_link_from_action): add back the
5554 check for a NULL link. We crash otherwise.
5556 2005-02-27 Marco Pesenti Gritti <marco@gnome.org>
5563 2005-02-25 Sebastien Bacher <seb128@debian.org>
5565 * configure.ac: add the french translation.
5567 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
5569 * shell/ev-window.c:
5571 Remove unused header -> fix distcheck
5573 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
5575 * shell/ev-window.c: (update_window_title),
5576 (ev_window_popup_password_dialog):
5578 Unescape filename for display
5580 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
5582 * pdf/xpdf/pdf-document.cc:
5584 In get_page_size deal with rotation. Also
5585 cleanup the function a bit.
5587 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
5589 * pdf/xpdf/pdf-document.cc:
5591 Fix crash when opening in new window
5593 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
5597 Check ghostscript >= 7
5599 2005-02-25 Pedro Villavicencio <pvillavi@gnome.cl>
5601 * shell/ev-window.c:
5603 Make page width the default sizing mode
5605 2005-02-25 Carlos Garcia Campos <carlosgc@gnome.org>
5606 Marco Pesenti Gritti <marco@gnome.org>
5608 * shell/ev-window.c: Remember the sidebar size
5610 * data/evince.schemas.in: Add a new gconf key to store the size of
5613 2005-02-24 Kai Willadsen <kaiw@itee.uq.edu.au>
5615 * data/evince-ui.xml:
5616 * shell/ev-window.c: (update_action_sensitivity),
5617 (ev_window_cmd_view_reload):
5619 Add a "Reload" action and menu entry
5621 Thu Feb 24 23:07:33 2005 Jonathan Blandford <jrb@redhat.com>
5623 * shell/ev-window.c (hide_sidebar_and_actions): Hide the sidebar
5624 iff the type doesn't support thumbnailing and indexing.
5626 2005-02-24 Martin Kretzschmar <martink@gnome.org>
5628 * configure.ac (ALL_LINGUAS): Added "zh_TW" (Traditional Chinese).
5630 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
5632 * pdf/splash/Splash.cc:
5634 Port fix for a crasher from kde bug
5635 http://bugs.kde.org/show_bug.cgi?id=97131
5637 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
5639 * pdf/xpdf/pdf-document.cc:
5641 Return a link even if it's of an unrecognized
5642 type. Otherwise we go in an infinte cycle.
5644 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
5646 * shell/ev-window.c: (update_sizing_buttons), (update_view_size),
5647 (size_allocate_cb), (ev_window_set_sizing_mode):
5649 Update size when switching mode
5651 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
5653 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
5654 (ev_window_cmd_view_page_width), (update_sizing_buttons),
5655 (ev_window_cmd_view_normal_size):
5657 Fix size toggle buttons behavior
5659 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
5661 * shell/ev-view.c: (ev_view_get_offsets), (view_rect_to_doc_rect),
5662 (doc_rect_to_view_rect), (ev_view_size_allocate),
5663 (expose_bin_window), (ev_view_select_all), (page_changed_callback),
5664 (scale_changed_callback):
5666 Do not cache offsets in size_allocate.
5668 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
5670 * shell/ev-view.c: (ev_view_size_allocate):
5672 Calculate offsets before calling the parent
5673 class (which does a redraw)
5675 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
5677 * pdf/xpdf/pdf-document.cc:
5679 Fix a crasher on exit. Unused code, put a TODO
5681 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
5683 * backend/ev-document.c: (ev_document_class_init),
5684 (ev_document_page_changed), (ev_document_scale_changed):
5685 * backend/ev-document.h:
5687 Separate page/scale notifications
5689 * pdf/xpdf/pdf-document.cc:
5691 Emit the new signals.
5692 Do not display the pdf page in _render, do it
5693 when scale/page are requested.
5695 * ps/ps-document.c: (ps_document_set_zoom),
5696 (ps_document_widget_event):
5699 Emit the new signals.
5701 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
5702 (ev_view_init), (page_changed_callback), (scale_changed_callback),
5703 (ev_view_set_document), (ev_view_zoom), (ev_view_zoom_in),
5704 (ev_view_zoom_out), (size_to_zoom_factor), (ev_view_set_size):
5706 * shell/ev-window.c: (ev_window_cmd_view_normal_size),
5707 (ev_window_cmd_view_page_width), (size_allocate_cb),
5708 (ev_window_set_sizing_mode):
5710 Rework sizing to be pixel based.
5711 There are bugs but should be already way better.
5713 2005-02-23 Marco Pesenti Gritti <marco@gnome.org>
5715 * shell/ev-window.c: (ev_window_init):
5717 Do not allow to shrink sidebar smaller then
5720 2005-02-23 Carlos Garcia Campos <carlosgc@gnome.org>
5722 * shell/ev-sidebar.[ch]
5723 * shell/ev-window.c:
5725 Improved sidebar widget. Fixes #166683
5727 2005-02-23 Tommi Vainikainen <thv@iki.fi>
5729 * shell/ev-view.c (update_find_status_message): Give translators
5730 more flexibility with ngettext plural handling.
5732 Mon Feb 21 17:52:08 2005 Jonathan Blandford <jrb@redhat.com>
5734 * pdf/xpdf/pdf-document.cc (pdf_document_get_page_size): Patch
5735 from Crispin Flowerday <gnome@flowerday.cx> to avoid rendering the
5736 page when we get the page size.
5738 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
5740 * ps/ps-document.c: (ps_document_set_page), (ps_document_get_page):
5742 ps pages are 0 based, convert
5744 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
5746 * ps/ps-document.c: (ps_document_class_init), (ps_document_load):
5748 Initialize correct parent class. Set GError on document load
5750 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
5752 * pdf/xpdf/pdf-document.cc:
5754 Fixup selection offset calculation
5756 * shell/ev-view.c: (view_rect_to_doc_rect),
5757 (doc_rect_to_view_rect), (ev_view_size_allocate),
5758 (expose_bin_window), (ev_view_select_all), (ev_view_copy),
5759 (ev_view_primary_get_cb), (ev_view_motion_notify_event):
5761 Store selection as document relative, so that zooming
5762 and offset changing doesnt break it.
5764 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
5766 * shell/ev-view.c: (ev_view_best_fit):
5768 Do not try to best fit if the view is not realized
5770 2005-02-20 Kostas Papadimas <pkst@gnome.org>
5772 * configure.ac (ALL_LINGUAS): Added "el" (Greek).
5774 Fri Feb 18 16:06:39 2005 Jonathan Blandford <jrb@redhat.com>
5776 * shell/ev-window.c (ev_window_focus_in_event): missed a case.
5778 Fri Feb 18 15:32:57 2005 Jonathan Blandford <jrb@redhat.com>
5780 * shell/ev-window.c: Change the fullscreen toolbar to always be in
5781 the popup window. That prevents it resizing when in full screen
5784 * shell/ev-view.c: Change Zoom epsilon as a bad hack to avoid
5785 multiple rerenders. This pretty much sucks.
5787 * data/evince-ui.xml: Change the fullscreen toolbar to include the
5788 rest of the toolbar.
5790 2005-02-18 Tommi Vainikainen <thv@iki.fi>
5792 * configure.ac (ALL_LINGUAS): Added "fi" (Finnish).
5794 2005-02-17 Alexander Shopov <ash@contact.bg>
5796 * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
5798 2005-02-16 Bryan Clark <clarkbw@cvs.gnome.org>
5800 * shell/ev-window.c: added ellipsis to Print item. Fixes bug 166915
5802 2005-02-16 Marco Pesenti Gritti <marco@gnome.org>
5804 * shell/ev-view.c: (ev_view_realize), (highlight_find_results),
5805 (ev_view_create_invisible_cursor), (ev_view_set_cursor),
5806 (set_document_page), (document_changed_callback),
5807 (ev_view_set_document), (ev_view_find_previous),
5808 (ev_view_hide_cursor), (ev_view_show_cursor):
5810 * shell/ev-window.c: (update_chrome_visibility),
5811 (fullscreen_timeout_cb), (fullscreen_set_timeout),
5812 (fullscreen_clear_timeout), (fullscreen_motion_notify_cb),
5813 (fullscreen_leave_notify_cb), (ev_window_fullscreen),
5814 (ev_window_unfullscreen):
5815 * shell/main.c: (main):
5817 Automatically hide the fullscreen button.
5818 Patch by Kristian Høgsberg <krh@redhat.com>
5820 2005-02-16 Vincent Noel <vnoel@cox.net>
5822 * shell/main.c (main): Specify an icon for the window. Patch by
5823 Jaap A. Haitsma. Fixes #166177.
5825 Wed Feb 16 06:30:13 2005 Jonathan Blandford <jrb@redhat.com>
5827 * shell/ev-view.c (ev_view_realize): get rid of the black flash.
5829 Tue Feb 15 22:27:13 2005 Jonathan Blandford <jrb@redhat.com>
5831 * backend/ev-document-misc.h:
5832 * backend/ev-document-misc.c:
5833 (ev_document_misc_get_page_border_size),
5834 (ev_document_misc_paint_one_page): New function to canonicalize
5835 sizing/painting a border.
5837 * shell/Makefile.am: Remove ev-page-view.c entirely as it's not
5840 * pdf/xpdf/pdf-document.cc: use new function
5842 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
5843 (ev_view_init), (ev_view_set_mode), (ev_view_zoom),
5844 (ev_view_best_fit), (ev_view_fit_width): * shell/ev-view.h: *
5845 shell/ev-window.c: (update_sizing_buttons),
5846 (ev_window_setup_document), (ev_window_cmd_view_zoom_in),
5847 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_best_fit),
5848 (ev_window_cmd_view_page_width), (size_allocate_cb),
5849 (ev_window_set_sizing_mode), (ev_window_init): make the "best fit"
5850 and "fit width" values act as toggle buttons so they stay
5851 toggled. It's not 100% perfect, and it's a little slow, but it's
5852 good enough to commit I think.
5854 2005-02-15 David Lodge <dave@cirt.net>
5856 * configure.ac (ALL_LINGUAS): Added "en_GB" (English (British)).
5858 2005-02-15 Martin Kretzschmar <martink@gnome.org>
5860 * shell/ev-window.c (update_window_title): replace newlines in
5861 the title by spaces. Bug #166107.
5863 2005-02-14 Martin Kretzschmar <martink@gnome.org>
5865 * shell/ev-view.c (ev_view_best_fit, ev_view_fit_width): add
5866 parameters providing allocation width and height without
5867 scrollbars and width of a possible vertical scrollbar. With this
5868 additional information the functions can work as
5869 intended. Unfortunately they're not idempotent. We should
5870 transform these commands to toggles. Fixes Bug #164976
5871 Initial patch by Stephane Loeuillet, then heavily modified.
5873 * shell/ev-view.h: update prototypes.
5875 * shell/ev-window.c (ev_window_cmd_view_best_fit)
5876 (ev_window_cmd_view_page_width): provide EvView fit functions with
5877 all the information they need. Formulas to calculate this
5878 information taken from GtkScrolledWindow.
5880 2005-02-14 Crispin Flowerday <gnome@flowerday.cx>
5882 * shell/ev-sidebar-thumbnails.c: Ensure that after we have
5883 created a thumbnail, the list store is updated to know
5884 that the thumbnail is set. Fixes bug #166792
5886 2005-02-11 Bryan Clark <clarkbw@cvs.gnome.org>
5888 * shell/ev-window.c: fixed typo, closes bug 166897
5890 * TODO: updated TODO with bug numbers that are relevant
5892 2005-02-09 Carlos Garcia Campos <carlosgc@gnome.org>
5894 * shell/ev-window.c: Support for DnD of files. Fixes #164813
5896 2005-02-09 Vincent Noel <vnoel@cox.net>
5898 * shell/ev-window.c: (set_action_properties): Set the "Previous"
5899 and "Next" toolbar buttons as important to make them stand out.
5901 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
5905 * ps/ps-document.c: (ps_document_finalize), (set_up_page),
5906 (start_interpreter), (stop_interpreter), (document_load),
5907 (ps_document_next_page), (ps_document_goto_page),
5908 (ps_document_set_page_size), (ps_document_widget_event),
5909 (ps_document_render):
5910 * shell/ev-page-view.c: (ev_page_view_dispose):
5911 * shell/ev-view.c: (ev_view_finalize), (expose_bin_window):
5913 Fix compilation on non-gcc platforms
5915 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
5922 * pdf/xpdf/Catalog.cc:
5925 Fix the fix for CAN-2004-0888
5927 2005-02-09 Luca Ferretti <elle.uca@libero.it>
5930 * data/evince-ui.xml:
5931 * shell/ev-stock-icons.c: (ev_stock_icons_init):
5932 * shell/ev-stock-icons.h:
5933 * shell/ev-window.c: (update_action_sensitivity),
5934 (ev_window_cmd_go_previous_page), (ev_window_cmd_go_next_page),
5935 (set_action_properties):
5937 Improve toolbar layout/icons
5939 2005-02-08 Marco Pesenti Gritti <marco@gnome.org>
5941 * pdf/xpdf/pdf-document.cc:
5943 Add warnings about unimplemented/unknown link
5946 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
5948 * ps/ps-document.c: (set_up_page):
5952 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
5954 * ps/ps-document.c: (start_interpreter):
5958 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
5960 * shell/ev-page-view.c: (ev_page_view_dispose):
5961 * shell/ev-view.c: (ev_view_finalize):
5962 * shell/ev-window.c: (ev_window_setup_document),
5963 (ev_window_dispose), (ev_window_init):
5965 Solve more refs issues.
5967 I commented out the page_view initialization for now:
5968 it was never destroyed (because it's never added
5969 to a container). Because of that we was leaking
5970 gs processes. Couldnt think to a clean fix.
5971 We need to figure this out, password view has the
5972 same issue probably.
5974 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
5976 * ps/ps-document.c: (ps_document_finalize),
5977 (ps_document_get_n_pages), (ps_document_get_page):
5979 Some cleanups, stop the interpreter on finalize
5981 * shell/ev-page-view.c: (ev_page_view_dispose),
5982 (ev_page_view_class_init):
5984 Release our reference on the document
5986 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
5990 * doc/debugging.txt:
5993 * lib/ev-debug.c: (log_module), (trap_handler), (ev_debug_init),
5994 (ev_profiler_new), (ev_should_profile), (ev_profiler_dump),
5995 (ev_profiler_free), (ev_profiler_start), (ev_profiler_stop):
5998 Add debugging helpers
6001 * ps/ps-document.c: (set_up_page), (start_interpreter),
6002 (stop_interpreter), (document_load), (ps_document_next_page),
6003 (ps_document_goto_page), (ps_document_set_page_size),
6004 (ps_document_widget_event), (ps_document_render):
6005 * shell/Makefile.am:
6006 * shell/ev-view.c: (expose_bin_window):
6007 * shell/main.c: (main):
6011 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
6013 * ps/ps-document.c: (ps_document_widget_event):
6015 Initialize message_window, this should make ps
6016 rendering really work! (Never noticed because I was
6017 testing with a ps that is causing gs to exit every time!)
6019 2005-02-07 Bryan Clark <clarkbw@cvs.gnome.org>
6021 * data/evince.schemas.in: updated simple error in applyto closing tag
6023 2005-02-07 Christian Persch <chpe@cvs.gnome.org>
6029 * data/evince-ui.xml:
6030 A data/evince.schemas.in:
6032 * shell/ev-stock-icons.c: (ev_stock_icons_init):
6033 * shell/ev-stock-icons.h:
6034 * shell/ev-window.c: (update_chrome_visibility),
6035 (update_chrome_flag), (ev_window_cmd_edit_find),
6036 (ev_window_update_fullscreen_popup), (ev_window_fullscreen),
6037 (ev_window_unfullscreen), (ev_window_focus_in_event),
6038 (ev_window_focus_out_event), (ev_window_cmd_leave_fullscreen),
6039 (ev_window_view_toolbar_cb), (ev_window_view_statusbar_cb),
6040 (ev_window_view_sidebar_cb), (find_bar_close_cb),
6041 (ev_window_dispose), (ev_window_class_init),
6042 (set_action_properties), (set_chrome_actions), (load_chrome),
6045 Implement fullscreen mode changes from bug #164776.
6046 Also implement persistent chrome toggles.
6048 2005-02-07 Jordi Mallach <jordi@sindominio.net>
6050 * configure.ac (ALL_LINGUAS): Added "ca" (Catalan).
6052 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
6058 Add another check for find interface
6062 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
6064 * shell/ev-application.c: (ev_application_open):
6065 * shell/ev-window.c: (ev_window_open):
6067 Open gzipped ps documents
6069 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
6072 * shell/ev-view.c: (set_document_page):
6074 Clamp page number, dont try to move to
6077 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
6079 * backend/ev-document-find.c: (ev_document_find_changed):
6080 * backend/ev-document-find.h:
6081 * pdf/xpdf/pdf-document.cc:
6082 * shell/ev-view.c: (jump_to_find_result), (ev_view_set_document):
6083 * shell/ev-window.c: (find_bar_search_changed_cb):
6085 Fix several bugs with find
6087 2005-02-04 Martin Kretzschmar <martink@gnome.org>
6089 * shell/ev-sidebar-thumbnails.c
6090 (ev_sidebar_thumbnails_select_page): do nothing unless we have a
6091 document. Prevents warning from scroll_to_cell.
6093 2005-02-02 Kjartan Maraas <kmaraas@gnome.org>
6095 * configure.ac: Add «nb» to ALL_LINGUAS too.
6097 Wed Feb 2 21:13:11 2005 Jonathan Blandford <jrb@redhat.com>
6099 * NOTES: New file with some random thoughts.
6103 * backend/ev-document-misc.c:
6104 (ev_document_misc_get_page_border_size): New function to
6105 canonicalize shadow drawing sizes. Possibly goofy.
6107 * shell/ev-view.c: (ev_view_size_request), (set_document_page),
6108 (ev_view_best_fit), (ev_view_fit_width):
6109 * pdf/xpdf/pdf-document.cc:
6110 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
6111 * ps/ps-document.c: (ps_document_get_page_size):
6112 * backend/ev-document-misc.h:
6113 * backend/ev-document.c: (ev_document_get_page_size):
6114 * backend/ev-document.h: get_page_size now takes a page number
6115 parameter. Made all the backends/frontends honor it.
6117 * data/evince-ui.xml: Added a multiple-page mode. Uncomment to
6118 see. Doesn't work yet.
6120 * shell/Makefile.am:
6121 * shell/ev-page-view.[ch]: New multi-page view. Really rough.
6122 Doesn't do anything yet.
6124 * shell/ev-sidebar-thumbnails.c:
6125 (ev_sidebar_thumbnails_set_document): [1..n_pages] instead of
6128 * shell/ev-window.c: (update_action_sensitivity),
6129 (ev_window_setup_document), (ev_window_set_page_mode),
6130 (ev_window_page_mode_cb), (ev_window_init): Clean up the
6131 view-swapping code a bit so we can have multiple views on a
6132 document. Add the multi-page view, though it can't be turned on
6135 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
6137 * shell/ev-application.c: (ev_application_open):
6138 * shell/ev-view.c: (expose_bin_window):
6139 * shell/ev-window.c: (ev_window_open):
6141 Support eps and check document supports find
6142 before drawing highlightings in expose.
6144 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
6146 * pixbuf/pixbuf-document.c:
6147 (pixbuf_document_thumbnails_get_dimensions),
6148 (pixbuf_document_document_thumbnails_iface_init):
6150 implement get_dimensions
6152 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
6159 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
6161 * shell/ev-view.c: (set_document_page):
6163 Scroll at the top of the page when changing page
6165 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
6167 * shell/ev-view.c: (ev_view_motion_notify_event):
6169 Do not redraw unnecessarily
6171 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
6173 * pdf/xpdf/pdf-document.cc:
6174 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
6175 (expose_bin_window), (find_changed_cb):
6177 Yay! find works now... Now to find bugs...
6179 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
6181 * backend/ev-document-find.c: (ev_document_find_base_init),
6182 (ev_document_find_changed):
6183 * backend/ev-document-find.h:
6184 * pdf/xpdf/pdf-document.cc:
6185 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
6186 (expose_bin_window), (ev_view_init), (set_document_page),
6187 (ensure_rectangle_is_visible), (jump_to_find_result),
6188 (jump_to_find_page), (find_changed_cb), (ev_view_set_document),
6189 (ev_view_find_next), (ev_view_find_previous):
6191 * shell/ev-window.c: (find_bar_previous_cb), (find_bar_next_cb):
6193 More work on find implementation, mostly there now
6195 2005-01-29 Marco Pesenti Gritti <marco@gnome.org>
6197 * backend/ev-backend-marshalers.list:
6198 * backend/ev-document-find.c: (ev_document_find_base_init),
6199 (ev_document_find_cancel), (ev_document_find_page_has_results),
6200 (ev_document_find_get_n_results), (ev_document_find_get_result),
6201 (ev_document_find_get_progress), (ev_document_find_changed):
6202 * backend/ev-document-find.h:
6204 Enanche the find interface to be really able to do
6207 * pdf/xpdf/pdf-document.cc:
6211 * shell/ev-view.c: (ev_view_finalize), (highlight_find_results),
6212 (expose_bin_window), (ev_view_init),
6213 (ev_view_get_find_status_message), (find_changed_cb),
6214 (ev_view_set_document), (set_document_page):
6216 Adapt to the new interface. A few things are regressed sorry,
6217 I will finish it soon.
6219 2005-01-28 Martin Kretzschmar <martink@gnome.org>
6221 * shell/ev-sidebar-thumbnails.c (ev_sidebar_thumbnails_destroy)
6222 (ev_sidebar_thumbnails_class_init): use G_DEFINE_TYPE-supplied
6223 ev_sidebar_thumbnails_parent_class variable, don't define another
6224 parent_class variable.
6226 * shell/ev-page-action.c (connect_proxy, ev_page_action_finalize)
6227 (ev_page_action_class_init): ditto.
6229 * pixbuf/pixbuf-document.c (pixbuf_document_finalize)
6230 (pixbuf_document_class_init): ditto.
6232 * backend/ev-link.c (ev_window_dispose, ev_link_class_init):
6235 * .cvsignore: ignore various valgrind output files.
6237 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
6239 * data/evince-ui.xml:
6240 * shell/Makefile.am:
6241 * shell/ev-history.c:
6242 * shell/ev-history.h:
6243 * shell/ev-navigation-action.c:
6244 * shell/ev-navigation-action.h:
6245 * shell/ev-view.c: (ev_view_finalize), (ev_view_go_to_link),
6246 (ev_view_set_page), (ev_view_fit_width):
6248 * shell/ev-window.c: (update_action_sensitivity),
6249 (ev_window_setup_document), (register_custom_actions):
6251 Kill session history
6253 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
6255 * shell/ev-window.c: (update_action_sensitivity):
6257 Fix inverted up/down buttons
6259 2005-01-27 Martin Kretzschmar <martink@gnome.org>
6261 * shell/ev-sidebar-thumbnails.c
6262 (ev_sidebar_thumbnails_select_page): make sure the selected
6263 thumbnail stays visible.
6265 2005-01-26 Martin Kretzschmar <martink@gnome.org>
6267 * shell/ev-window.c (ev_window_init): add GTK_SHADOW_IN to the
6268 scrolled window for Federico.
6270 2005-01-26 Ole Laursen <olau@hardworking.dk>
6272 * configure.ac: Added "da" (Danish) to ALL_LINGUAS.
6274 2005-01-26 Marco Pesenti Gritti <marco@gnome.org>
6277 * pdf/splash/SplashFTFontEngine.cc:
6279 Fix CID fonts with freetype 2.1.9
6281 2005-01-26 Bryan Clark <clarkbw@cvs.gnome.org>
6283 * TODO: added item for desktop icon thumbnailer
6285 Tue Jan 25 00:59:34 2005 Jonathan Blandford <jrb@redhat.com>
6287 * pdf/xpdf/pdf-document.cc (pdf_document_get_title): guard against
6288 unloaded docs when the title is accessed.
6290 * shell/ev-password-view.[hc]: New widget for displaying password
6293 * shell/ev-window.[ch]: Refactor password handling code to handle
6296 2005-01-24 Marco Pesenti Gritti <marco@gnome.org>
6304 2005-01-23 Stephane LOEUILLET <stephane.loeuillet@tiscali.fr>
6306 * pdf/xpdf/pdf-document.cc (pdf_document_search_page_changed):
6307 ignore page offset here, to make search results independent of it,
6309 * shell/ev-view.c (expose_bin_window): but take offsets into
6310 account here. Bug #164932
6312 * pdf/xpdf/pdf-document.cc (pdf_document_get_link): divide by
6313 scale at the right time. Bug #164996
6315 2005-01-22 Martin Kretzschmar <martink@gnome.org>
6317 * pdf/xpdf/GlobalParams.cc: My 2005-01-05 change didn't actually
6318 fix the problem. Now I just removed the Adobe font names and hope
6319 that the URW fonts are always in outline format. Bug #164934
6321 * shell/ev-window.c (update_window_title): empty titles are
6322 useless, use filename in that case too.
6324 * NEWS: Add some content.
6326 2005-01-21 Bryan Clark <clarkbw@cvs.gnome.org>
6328 * TODO: added one more TODO item and a TODONE section :)
6330 2005-01-21 Martin Kretzschmar <martink@gnome.org>
6332 * ps/ps-document.h: add page_[xy]_offset fields.
6334 * ps/ps-document.c (ps_document_set_page_offset)
6335 (ps_document_render): Keep offset in consideration in a few
6336 places. Bug #164752 "postscript documents are not centered in
6339 * data/evince.desktop.in (X-GNOME-Bugzilla-Product):
6340 s/gpdf/evince/. Spotted by Stephane Loeuillet.
6342 * pixbuf/pixbuf-document.c (pixbuf_document_get_n_pages)
6343 (pixbuf_document_get_text, pixbuf_document_document_iface_init):
6344 stub out missing methods for complete EvDocument implementation.
6345 Fixes segfaults with Save A Copy and Copy actions.
6347 * ps/ps-document.c (ps_document_save, ps_document_get_text)
6348 (ps_document_document_iface_init): ditto.
6350 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
6354 * data/evince.desktop.in:
6358 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
6360 * shell/ev-view.c: (ev_view_button_press_event),
6361 (ev_view_motion_notify_event):
6363 Make selection work in any direction
6365 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
6368 * shell/ev-window.c: (set_short_labels), (ev_window_init):
6370 Use shorter labels for some of the toolbars items
6372 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
6374 * pdf/xpdf/pdf-document.cc:
6376 Check the links info is initialized before
6377 using it. Should fix a crash on startup.
6379 2005-01-21 Martin Kretzschmar <martink@gnome.org>
6381 * pixbuf/pixbuf-document.c
6382 (pixbuf_document_thumbnails_get_dimensions): force floating point
6383 division to calculate page_ratio. Fixes crash with landscape
6386 Thu Jan 20 18:56:35 2005 Jonathan Blandford <jrb@redhat.com>
6388 * shell/ev-view.c (ev_view_realize): make the bg color darker.
6390 2005-01-20 Martin Kretzschmar <martink@gnome.org>
6392 * shell/ev-view.c (set_document_page): unset has_selection when
6394 (set_document_page): handle paper size changes when the page
6395 changes (test with Free Culture, page 2).
6397 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
6399 * shell/ev-view.c: (ev_view_size_request), (ev_view_realize),
6400 (expose_bin_window), (ev_view_class_init), (ev_view_init):
6402 Use normal style color for the widget background and
6403 draw a black box around the page.
6405 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
6407 * pdf/xpdf/pdf-document.cc:
6409 Keep offset in consideration in a few places
6411 * shell/ev-view.c: (expose_bin_window):
6413 Set the offsets so that the document is ever centered
6415 2005-01-20 Bryan Clark <clarkbw@cvs.gnome.org>
6417 * TODO: Added TODO items and finished off the first todo item
6419 * AUTHORS: Updated AUTHORS section with piece from gpdf file and
6420 reflect current authors
6422 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
6424 * pdf/xpdf/pdf-document.cc:
6425 * shell/ev-view.c: (ev_view_set_cursor),
6426 (ev_view_motion_notify_event), (document_changed_callback),
6427 (set_document_page):
6429 Show a wait cursor while the page is rendering
6431 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
6433 * shell/ev-sidebar-thumbnails.c:
6434 (ev_sidebar_tree_selection_changed),
6435 (ev_sidebar_thumbnails_select_page):
6436 * shell/ev-sidebar-thumbnails.h:
6437 * shell/ev-view.c: (ev_view_set_document), (ev_view_can_go_back),
6438 (ev_view_can_go_forward):
6439 * shell/ev-window.c: (ev_window_open_page),
6440 (ev_window_setup_document), (update_current_page),
6441 (view_page_changed_cb), (ev_window_init):
6442 * shell/ev-window.h:
6444 Ensure thumbnails selection, toolbar page control and
6445 current page are in sync.
6447 2005-01-19 Marco Pesenti Gritti <marco@gnome.org>
6453 Wed Jan 19 01:10:57 2005 Jonathan Blandford <jrb@redhat.com>
6455 * backend/Makefile.am:
6456 * backend/ev-document-links.h:
6457 * backend/ev-document-security.c: (ev_document_security_get_type),
6458 (ev_document_security_has_document_security),
6459 (ev_document_security_set_password):
6460 * backend/ev-document-security.h:
6461 * backend/ev-document.c: (ev_document_error_quark):
6462 * backend/ev-document.h:
6464 * data/evince-password.glade:
6465 * pdf/xpdf/pdf-document.cc:
6466 * shell/Makefile.am:
6467 * shell/ev-password.c: (ev_password_set_bad_password_label),
6468 (ev_window_password_entry_changed_cb), (ev_password_dialog_new),
6469 (ev_password_dialog_get_password),
6470 (ev_password_dialog_set_bad_pass):
6471 * shell/ev-password.h:
6472 * shell/ev-window.c: (ev_window_get_attribute),
6473 (ev_window_set_property), (update_action_sensitivity),
6474 (ev_window_is_empty), (mime_type_supported_by_gdk_pixbuf),
6475 (ev_window_setup_document), (ev_window_get_password),
6476 (ev_window_open), (ev_window_cmd_save_as),
6477 (using_postscript_printer), (ev_window_print),
6478 (find_not_supported_dialog), (ev_window_cmd_edit_find),
6479 (update_fullscreen_popup), (ev_window_fullscreen),
6480 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
6481 (ev_window_focus_out_cb), (ev_window_cmd_help_about),
6482 (menu_item_select_cb), (find_bar_search_changed_cb),
6483 (ev_window_dispose), (ev_window_init):
6485 Add initial support for password-supported dialogs. This could be
6486 a lot cooler, but it'll do for now.
6488 2005-01-18 Marco Pesenti Gritti <marco@gnome.org>
6490 * pdf/xpdf/pdf-document.cc:
6491 * shell/ev-view.c: (status_message_from_link),
6492 (ev_view_set_status), (ev_view_set_cursor),
6493 (ev_view_motion_notify_event), (ev_view_init):
6494 * shell/ev-window.c: (view_status_changed_cb), (ev_window_init):
6496 Fix bugs in the links implementation and change cursor
6497 when hovering a link.
6499 2005-01-17 Bryan Clark <clarkbw@cvs.gnome.org>
6501 * viewer/.cvsignore: added cvsignore file for viewer directory
6503 * TODO: created TODO document
6505 2005-01-14 Dave Malcolm <dmalcolm@redhat.com>
6508 * shell/ev-view.c (ev_view_can_go_back), (ev_view_can_go_forward):
6509 new functions to help with implementation of sensitivity code
6510 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
6511 of all actions that might require it. Fixes a crash when you
6512 click on the Zoom actions in a window lacking a document.
6514 2005-01-13 Dave Malcolm <dmalcolm@redhat.com>
6516 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
6519 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
6521 * pixbuf/pixbuf-document.c: (pixbuf_document_get_link),
6522 (pixbuf_document_document_iface_init):
6523 * ps/ps-document.c: (ps_document_get_link),
6524 (ps_document_document_iface_init):
6525 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event),
6526 (status_message_from_link), (ev_view_set_status),
6527 (ev_view_set_find_status), (ev_view_motion_notify_event),
6528 (ev_view_button_release_event), (ev_view_set_property),
6529 (ev_view_get_property), (ev_view_class_init), (ev_view_init),
6530 (ev_view_get_find_status_message), (update_find_results),
6531 (ev_view_get_status), (ev_view_get_find_status):
6533 * shell/ev-window.c: (view_status_changed_cb),
6534 (view_find_status_changed_cb), (ev_window_init):
6536 View status message support, use it to show the links.
6539 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
6541 * backend/ev-document.c: (ev_document_get_link):
6542 * backend/ev-document.h:
6543 * pdf/xpdf/pdf-document.cc:
6544 * shell/ev-application.c: (ev_application_open):
6545 * shell/ev-application.h:
6546 * shell/ev-sidebar-links.c: (selection_changed_cb):
6547 * shell/ev-view.c: (ev_view_button_release_event), (go_to_link),
6548 (ev_view_go_to_link):
6550 Add support for document links
6552 2005-01-13 Anders Carlsson <andersca@gnome.org>
6554 * shell/ev-page-action.c: (update_spin), (total_pages_changed_cb),
6556 Set the spin button limits correctly.
6558 * shell/ev-sidebar-thumbnails.c:
6559 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init):
6560 Support changing pages by clicking on the thumbnails.
6562 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
6564 * pixbuf/pixbuf-document.c:
6565 (pixbuf_document_thumbnails_get_dimensions),
6566 (pixbuf_document_document_thumbnails_iface_init):
6568 implement get_dimensions
6570 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
6572 * ps/ps-document.c: (ps_document_goto_page):
6574 Fix page switching on multipage documents
6576 2005-01-12 Jeff Muizelaar <jrmuizel@nit.ca>
6578 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
6580 check for NULL before assigning to width and height parameters
6582 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
6584 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
6585 (pixbuf_document_set_property), (pixbuf_document_get_property):
6587 implement get/set properties
6589 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
6591 * pdf/xpdf/pdf-document.cc: (pdf_info_dict_get_string):
6593 return NULL instead of "Unknown", letting the title get set to
6594 the filename when the pdf has no title.
6596 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
6598 * ps/ps-document.c: (ps_document_get_page_count),
6599 (ps_document_goto_page):
6601 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
6603 * shell/ev-history.c: (ev_history_get_property),
6604 (ev_history_set_property), (ev_history_class_init),
6605 (ev_history_add_page), (ev_history_set_current_index):
6606 * shell/ev-navigation-action.c: (ev_navigation_action_set_history),
6607 (activate_menu_item_cb), (new_history_menu_item), (build_menu),
6608 (ev_navigation_action_finalize):
6609 * shell/ev-navigation-action.h:
6610 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
6611 (ev_view_go_forward), (ev_view_get_find_status_message),
6612 (history_index_changed_cb), (ev_view_set_history):
6614 * shell/ev-window.c: (update_total_pages), (ev_window_open),
6615 (update_current_page), (register_custom_actions):
6617 Implement history dropdowns
6619 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
6621 * shell/ev-history.c: (ev_history_init), (ev_history_add_link):
6622 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
6623 (ev_view_go_forward):
6624 * shell/ev-window.c: (register_custom_actions):
6626 Fix several history bugs
6628 2005-01-11 Kjartan Maraas <kmaraas@gnome.org>
6630 * configure.ac: Add «nb» to ALL_LINGUAS.
6632 2005-01-10 Marco Pesenti Gritti <marco@gnome.org>
6634 * backend/Makefile.am:
6635 * backend/ev-bookmark.c:
6636 * backend/ev-bookmark.h:
6637 * backend/ev-document-bookmarks.c:
6638 * backend/ev-document-bookmarks.h:
6639 * backend/ev-document-links.c: (ev_document_links_get_type),
6640 (ev_document_links_has_document_links),
6641 (ev_document_links_begin_read), (ev_document_links_get_link),
6642 (ev_document_links_get_child), (ev_document_links_next),
6643 (ev_document_links_free_iter):
6644 * backend/ev-document-links.h:
6645 * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_title),
6646 (ev_link_set_title), (ev_link_get_uri), (ev_link_set_uri),
6647 (ev_link_get_link_type), (ev_link_set_link_type),
6648 (ev_link_get_page), (ev_link_set_page), (ev_link_get_property),
6649 (ev_link_set_property), (ev_window_dispose), (ev_link_init),
6650 (ev_link_class_init), (ev_link_new_title), (ev_link_new_page),
6651 (ev_link_new_external):
6652 * backend/ev-link.h:
6653 * pdf/xpdf/pdf-document.cc:
6654 * shell/Makefile.am:
6655 * shell/ev-application.c: (ev_application_open_link):
6656 * shell/ev-application.h:
6657 * shell/ev-history.c: (ev_history_add_link), (ev_history_add_page),
6658 (ev_history_get_link_nth):
6659 * shell/ev-history.h:
6660 * shell/ev-sidebar-bookmarks.c:
6661 * shell/ev-sidebar-bookmarks.h:
6662 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
6663 (ev_sidebar_links_class_init), (selection_changed_cb),
6664 (ev_sidebar_links_construct), (ev_sidebar_links_init),
6665 (links_page_num_func), (ev_sidebar_links_new), (stack_data_free),
6666 (do_one_iteration), (populate_links_idle),
6667 (ev_sidebar_links_clear_document), (ev_sidebar_links_set_document):
6668 * shell/ev-sidebar-links.h:
6669 * shell/ev-sidebar.c: (ev_sidebar_set_document):
6670 * shell/ev-view.c: (go_to_link), (ev_view_go_to_link),
6673 * shell/ev-window.c: (ev_window_open_link), (ev_window_init):
6674 * shell/ev-window.h:
6676 Rename bookmark to link, and use "Index" for the sidebar panel.
6678 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
6680 * shell/Makefile.am:
6681 * shell/ev-application.c: (ev_application_open_bookmark):
6682 * shell/ev-application.h:
6683 * shell/ev-history.c: (ev_history_init), (free_links_list),
6684 (ev_history_finalize), (ev_history_class_init),
6685 (ev_history_add_link), (ev_history_add_page),
6686 (ev_history_get_link_nth), (ev_history_get_n_links),
6687 (ev_history_get_current_index), (ev_history_set_current_index),
6689 * shell/ev-history.h:
6690 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
6691 * shell/ev-view.c: (ev_view_finalize), (ev_view_set_document),
6692 (set_document_page), (go_to_bookmark), (ev_view_go_to_bookmark),
6693 (go_to_index), (ev_view_go_back), (ev_view_go_forward),
6696 * shell/ev-window.c: (ev_window_open_bookmark),
6697 (ev_window_cmd_go_back), (ev_window_cmd_go_forward),
6698 (goto_page_cb), (register_custom_actions):
6699 * shell/ev-window.h:
6701 Initial history implementation. Needs work.
6703 2005-01-09 Martin Kretzschmar <martink@gnome.org>
6705 * pdf/xpdf/GDKSplashOutputDev.cc (redraw): fix pixbuf data offset.
6707 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
6709 * cut-n-paste/recent-files/egg-recent-item.c:
6710 * cut-n-paste/recent-files/egg-recent-item.h:
6711 * cut-n-paste/recent-files/egg-recent-model.c:
6712 * cut-n-paste/recent-files/egg-recent-util.c:
6713 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
6714 * cut-n-paste/recent-files/egg-recent-view.c:
6718 2005-01-08 Martin Kretzschmar <martink@gnome.org>
6720 * pdf/splash/Splash.cc (clear, drawPixel, drawSpan, xorSpan, getPixel)
6721 (fillGlyph, fillImageMask, drawImage):
6722 pdf/splash/SplashBitmap.cc (SplashBitmap, ~SplashBitmap, writePNMFile):
6723 pdf/splash/SplashTypes.h:
6724 pdf/xpdf/SplashOutputDev (startPage, getColor, imageSrc): implement RGB8
6725 packed mode for Splash.
6727 * pdf/xpdf/GDKSplashOutputDev.cc (GDKSplashOutputDev, redraw): use
6728 RGB8 packed mode, eliminates the pixbuf data creation loop.
6730 * shell/ev-print-job.c (ev_print_job_finalize)
6731 (ev_print_job_set_property, ev_print_job_get_property)
6732 (ev_print_job_set_gnome_print_job, ev_print_job_set_document)
6733 (ev_print_job_use_print_dialog_settings, idle_print_handler)
6734 (print_closure_finalize, ev_print_job_print): implement
6735 printing (for backends with EvPsExporter)
6737 * shell/ev_print_job.h: update prototypes.
6739 * shell/ev-window.c (ev_window_print): unref print job after
6742 * shell/ev-view.c (ev_view_set_document): don't connect to "found"
6743 unless the document implements the EvDocumentFind interface.
6745 2005-01-08 Satoru SATOH <ss@gnome.gr.jp>
6747 * configure.ac: Added ja to ALL_LINGUAS.
6749 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
6751 * pdf/xpdf/pdf-document.cc:
6753 add a FIXME. We should probably not allocate
6754 a bookmark object every time
6756 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
6758 * shell/ev-application.c: (ev_application_open),
6759 (ev_application_open_bookmark):
6760 * shell/ev-application.h:
6762 Add a way to open bookmarks
6764 * backend/ev-bookmark.c: (ev_bookmark_get_uri),
6765 (ev_bookmark_set_uri), (ev_bookmark_get_property),
6766 (ev_bookmark_set_property), (ev_bookmark_class_init),
6767 (ev_bookmark_new_title), (ev_bookmark_new_link),
6768 (ev_bookmark_new_external):
6770 Support for external uris, better constructors.
6772 * backend/ev-bookmark.h:
6773 * pdf/xpdf/pdf-document.cc:
6774 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
6776 Handle external uris
6778 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
6780 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb),
6781 (ev_sidebar_bookmarks_construct), (do_one_iteration):
6783 Hook up bookmarks navigation
6785 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
6787 * backend/Makefile.am:
6788 * backend/ev-bookmark.c: (ev_bookmark_type_get_type),
6789 (ev_bookmark_get_title), (ev_bookmark_set_title),
6790 (ev_bookmark_get_bookmark_type), (ev_bookmark_set_bookmark_type),
6791 (ev_bookmark_get_page), (ev_bookmark_set_page),
6792 (ev_bookmark_get_property), (ev_bookmark_set_property),
6793 (ev_window_dispose), (ev_bookmark_init), (ev_bookmark_class_init),
6795 * backend/ev-bookmark.h:
6796 * backend/ev-document-bookmarks.c:
6797 (ev_document_bookmarks_get_bookmark):
6798 * backend/ev-document-bookmarks.h:
6799 * pdf/xpdf/pdf-document.cc:
6800 * shell/ev-sidebar-bookmarks.c: (do_one_iteration):
6802 Add a bookmark object to the backend and use it instead of get_values
6804 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
6806 * data/evince-ui.xml:
6808 Cleanup and add select all.
6810 * shell/ev-view.c: (ev_view_select_all),
6811 (ev_view_button_press_event):
6813 * shell/ev-window.c: (ev_window_cmd_edit_select_all):
6816 Clear selection on click.
6818 Fri Jan 7 01:28:58 2005 Jonathan Blandford <jrb@redhat.com>
6820 * shell/ev-sidebar-thumbnails.c
6821 (ev_sidebar_thumbnails_set_document): forgot to unref the
6824 Fri Jan 7 01:22:48 2005 Jonathan Blandford <jrb@redhat.com>
6826 * shell/ev-sidebar-thumbnails.c: fill in the thumbnails starting
6827 at the visible page, not just linearly. This makes it look fast.
6829 Thu Jan 6 18:48:11 2005 Jonathan Blandford <jrb@redhat.com>
6831 * backend/ev-document-misc.c
6832 (ev_document_misc_get_thumbnail_frame): fill in the thumbnail with
6834 * backend/ev-document-thumbnails.h: New interface to get the size
6837 2005-01-06 Jeremy Katz <katzj@redhat.com>
6839 * shell/Makefile.am (evince_SOURCES): Add ev-utils.[ch] so that
6842 Wed Jan 5 15:38:28 2005 Jonathan Blandford <jrb@redhat.com>
6844 * pdf/xpdf/pdf-document.cc (bitmap_to_pixbuf): bypass
6845 GDKSplashOutputDev and just use a normal SplashOutputDev. Speeds
6848 * shell/ev-sidebar-thumbnail.c: start of some profiling code.
6850 2005-01-05 Martin Kretzschmar <martink@gnome.org>
6852 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): match only outline
6853 fonts. Should fix font problems on systems that have the base
6854 fonts in bitmap format. Reported by James Henstridge
6855 <james@jamesh.id.au>.
6857 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
6860 * pdf/xpdf/GfxState.cc:
6862 Fix for CAN-2004-1125
6864 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
6866 * shell/ev-view.c: (ev_view_copy):
6868 * shell/ev-window.c: (ev_window_cmd_edit_copy):
6870 Implement Edit->Copy
6872 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
6874 * backend/ev-document.c: (ev_document_get_text):
6875 * backend/ev-document.h:
6876 * pdf/xpdf/pdf-document.cc:
6877 * shell/ev-view.c: (ev_view_realize), (expose_bin_window),
6878 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
6879 (ev_view_update_primary_selection), (ev_view_button_press_event),
6880 (ev_view_motion_notify_event), (ev_view_button_release_event):
6882 Beginnings of clipboard support. Incomplete but primary sort
6885 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
6887 * shell/ev-view.c: (ev_gdk_color_to_rgb), (draw_rubberband),
6888 (expose_bin_window):
6890 Nicer rubberband drawing, from GtkIconView.
6892 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
6894 * backend/ev-document.c: (ev_document_save):
6895 * backend/ev-document.h:
6896 * data/evince-ui.xml:
6897 * pdf/xpdf/pdf-document.cc:
6898 * shell/ev-window.c: (save_error_dialog), (ev_window_cmd_save_as):
6900 Implement "Save a copy..." menu item
6902 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
6904 * shell/ev-view.c: (ev_view_zoom):
6906 Queue a resize when zoom changes
6908 Wed Jan 5 02:33:06 2005 Jonathan Blandford <jrb@redhat.com>
6910 * backend/ev-document-misc.[ch]: New misc file to do simple drop
6913 * pdf/xpdf/pdf-document.cc: use the drop shadows in both types of
6916 Tue Jan 4 22:32:32 2005 Jonathan Blandford <jrb@redhat.com>
6918 * pdf/xpdf/pdf-document.cc
6919 (pdf_document_thumbnails_get_page_pixbuf): poor man's dropshadow.
6921 Tue Jan 4 21:25:05 2005 Jonathan Blandford <jrb@redhat.com>
6923 * pdf/xpdf/pdf-document.cc: Do real thumbnailing of PDF files.
6924 It's slow, but I'll speed it up next!
6926 2005-01-04 Jeff Muizelaar <jrmuizel@nit.ca>
6928 * shell/main.c (load_files):
6930 use gnome_vfs_make_uri_from_shell_arg so that relative paths work
6931 from the command line and because it seems more appropriate.
6933 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
6935 * data/evince-ui.xml:
6936 * shell/ev-window.c: (update_action_sensitivity),
6937 (ev_window_cmd_go_page_up), (ev_window_cmd_go_page_down):
6939 s/next page/page down
6940 s/previous page/page up
6942 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
6944 * data/evince-ui.xml:
6946 Change the layout to match clarkbw design.
6948 * shell/Makefile.am:
6949 * shell/ev-navigation-action.c: (build_menu), (menu_activated_cb),
6950 (set_tooltip_cb), (connect_proxy), (ev_navigation_action_init),
6951 (ev_navigation_action_finalize),
6952 (ev_navigation_action_set_property),
6953 (ev_navigation_action_get_property),
6954 (ev_navigation_action_class_init):
6955 * shell/ev-navigation-action.h:
6957 Implement clarkbw toolbar navigation controls (incomplete)
6959 * shell/ev-page-action.c: (update_label), (update_spin),
6960 (value_changed_cb), (create_tool_item), (connect_proxy),
6961 (ev_page_action_init), (ev_page_action_finalize),
6962 (ev_page_action_set_property), (ev_page_action_get_property),
6963 (ev_page_action_set_current_page),
6964 (ev_page_action_set_total_pages), (ev_page_action_class_init):
6965 * shell/ev-page-action.h:
6967 Implement a page switcher in the toolbar
6969 * shell/ev-view.c: (ev_view_scroll_view):
6970 * shell/ev-window.c: (update_total_pages), (ev_window_open),
6971 (update_current_page), (view_page_changed_cb), (goto_page_cb),
6972 (register_custom_actions), (ev_window_init):
6974 Change page on PageUp/Down.
6976 Tue Jan 4 03:22:56 2005 Jonathan Blandford <jrb@redhat.com>
6978 * pdf/xpdf/pdf-document.cc
6979 (pdf_document_thumbnails_get_thumbnail): initial stab at
6980 implementing thumbnail support for pdfs. It only does documents
6981 with precached pdfs now.
6983 Mon Jan 3 17:22:25 2005 Jonathan Blandford <jrb@redhat.com>
6985 * shell/ev-sidebar-thumbnails.c (do_one_iteration): move the
6986 thumbnail code into a time-based idle as well. Also, turn off the
6987 shadow temporarily as it's really slow.
6989 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
6991 * backend/ev-document.c: (ev_document_class_init):
6992 * pdf/xpdf/pdf-document.cc:
6993 * shell/ev-window.c: (ev_window_open):
6995 Fix document title bugs and fallback to
6996 filename when not available.
6998 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
7000 * backend/ev-document.c: (ev_document_get_type),
7001 (ev_document_class_init), (ev_document_load),
7002 (ev_document_get_title):
7003 * backend/ev-document.h:
7004 * pdf/xpdf/pdf-document.cc:
7005 * ps/ps-document.c: (ps_document_set_property),
7006 (ps_document_get_property), (ps_document_class_init),
7010 * shell/ev-window.c: (update_window_title), (ev_window_open),
7013 Initial support for document title. Not working yet.
7015 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
7017 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event):
7019 Grab focus on the view when clicking it
7021 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
7023 * shell/ev-marshal.list:
7024 * shell/ev-view.c: (ev_view_realize), (add_scroll_binding),
7025 (ev_view_scroll_view), (ev_view_class_init), (ev_view_init):
7027 Add key bindings to the view. Now if the focus would work
7030 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
7033 * backend/Makefile.am:
7036 * dvi/dvilib/Makefile.am:
7037 * pdf/xpdf/Makefile.am:
7043 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
7045 * shell/ev-view.c: (ev_view_realize):
7047 Fix mouse wheel scrolling
7049 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
7055 * ps/ps-document.c: (catchPipe), (ps_document_init),
7056 (ps_document_class_init), (ps_document_cleanup),
7057 (ps_document_finalize), (send_ps), (ps_document_get_orientation),
7058 (set_up_page), (close_pipe), (is_interpreter_ready),
7059 (interpreter_failed), (output), (input), (start_interpreter),
7060 (stop_interpreter), (file_length), (file_readable),
7061 (check_filecompressed), (check_pdf), (compute_xdpi),
7062 (compute_ydpi), (compute_size), (ps_document_enable_interpreter),
7063 (ps_document_get_type), (ps_document_emit_error_msg),
7064 (document_load), (ps_document_next_page),
7065 (ps_document_get_current_page), (ps_document_get_page_count),
7066 (ps_document_goto_page), (ps_document_set_page_size),
7067 (ps_document_zoom_to_fit), (ps_document_set_zoom),
7068 (ps_document_load), (ps_document_get_n_pages),
7069 (ps_document_set_page), (ps_document_get_page),
7070 (ps_document_widget_event), (ps_document_set_target),
7071 (ps_document_set_scale), (ps_document_set_page_offset),
7072 (ps_document_get_page_size), (ps_document_render),
7073 (ps_document_document_iface_init):
7076 * shell/ev-window.c: (ev_window_open):
7078 Rename GtkGS to PSDocument
7080 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
7082 * ps/gtkgs.c: (gtk_gs_class_init):
7085 Some more leftover...
7087 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
7089 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_get_orientation),
7090 (output), (stop_interpreter), (gtk_gs_emit_error_msg),
7091 (gtk_gs_zoom_to_fit), (gtk_gs_set_zoom):
7094 Remove unused code and make a lot of stuff private
7096 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
7098 * ps/gsdefaults.c: (gtk_gs_defaults_gconf_client),
7099 (gtk_gs_defaults_changed):
7105 Cleanup headers dependencies
7107 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
7112 * ps/gsdefaults.c: (gtk_gs_defaults_get_paper_sizes):
7114 * ps/gtkgs.c: (file_length), (file_readable),
7115 (check_filecompressed), (check_pdf), (gtk_gs_load),
7116 (gtk_gs_get_postscript):
7120 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
7125 * ps/gtkgs.c: (gtk_gs_set_zoom):
7129 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
7131 * ps/gtkgs.c: (gtk_gs_set_zoom), (gtk_gs_set_zoom_mode):
7133 Ensure the page is rerendered when changing zoom
7135 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
7137 * backend/ev-document.c: (ev_document_base_init),
7138 (ev_document_changed):
7139 * backend/ev-document.h:
7141 Add a changed event that is emitted when the page content
7142 changes. This is necessary to deal with the fact that
7143 in ps backend rendering happen asycrounously.
7144 This makes the ps backend mostly work.
7146 * pdf/xpdf/pdf-document.cc:
7150 * ps/gtkgs.c: (set_up_page), (gtk_gs_widget_event),
7151 (ps_document_set_target):
7155 * shell/ev-view.c: (document_changed_callback),
7156 (ev_view_set_document), (ev_view_set_page):
7158 Redraw on the changed signal
7160 2004-12-25 Raphael Higino <raphaelh@cvs.gnome.org>
7162 * configure.ac: Added pt_BR to ALL_LINGUAS.
7164 Fri Dec 24 00:48:44 2004 Jonathan Blandford <jrb@redhat.com>
7166 * backend/ev-document-bookmarks.c:
7167 (ev_document_bookmarks_get_child): *
7168 backend/ev-document-bookmarks.h: * pdf/xpdf/Makefile.am: *
7169 pdf/xpdf/pdf-document.cc: * pdf/xpdf/pdf-document.h: *
7170 shell/Makefile.am: * shell/ev-sidebar-bookmarks.c:
7171 (ev_sidebar_bookmarks_destroy),
7172 (ev_sidebar_bookmarks_class_init),
7173 (ev_sidebar_bookmarks_construct), (stack_data_free),
7174 (do_one_iteration), (populate_bookmarks_idle),
7175 (ev_sidebar_bookmarks_clear_document),
7176 (ev_sidebar_bookmarks_set_document): *
7177 shell/ev-sidebar-bookmarks.h: * shell/ev-sidebar.c:
7178 (ev_sidebar_add_page),
7179 (ev_sidebar_set_document): * shell/ev-window.c: (ev_window_open):
7180 Initial stab at a bookmarks sidebar. It doesn't navigate yet, but
7181 it displays both the topics and the page numbers.
7183 2004-12-23 Kristian Høgsberg <krh@redhat.com>
7185 * shell/ev-window.c (ev_window_view_sidebar_cb): Hook up sidebar
7187 * shell/ev-window.c (toggle_entries): Set sidebar default value to
7190 2004-12-23 Adam Weinberger <adamw@gnome.org>
7192 * configure.ac: Added en_CA to ALL_LINGUAS.
7194 2004-12-23 Martin Kretzschmar <martink@gnome.org>
7196 * ChangeLog: replace bottom of this ChangeLog (merged history of
7197 ggv and gpdf; where all paths were wrong and most of the files are
7198 not even in this tree) with ChangeLog (from arch) of the shell
7201 2004-12-23 Havoc Pennington <hp@redhat.com>
7203 * shell/ev-window.c: hook up potentially-questionable "find
7204 results status text" feature - something involving the sidebar or
7205 scrollbar or a continuous all-pages-on-giant-roll-of-paper-view
7206 might be better in the end.
7208 * shell/ev-view.c (ev_view_get_find_status_message): new function,
7209 with corresponding signal when it should be updated
7211 * shell/eggfindbar.c (egg_find_bar_set_status_text): new function
7213 2004-12-22 Havoc Pennington <hp@redhat.com>
7215 * pdf/xpdf/pdf-document.cc (pdf_document_find_begin): make search
7216 find stuff on other pages, sort of (only returns one result on
7217 invisible pages, to show they have results; updates full results
7218 for a page when you view it). Currently repaints the current page
7219 every time a new result is found on any page, which isn't so nice.
7221 2004-12-22 Havoc Pennington <hp@redhat.com>
7223 * shell/ev-window.c (ev_window_cmd_edit_find): display an error if
7224 the document doesn't support find (better ideas?)
7225 (find_bar_search_changed_cb): handle missing document or document
7226 that doesn't support find
7228 * pdf/xpdf/pdf-document.cc: port to implement the new
7231 * backend/ev-document-find.c: create a new interface for searching
7233 * backend/ev-document.h, backend/ev-document.c: delete the find stuff
7235 2004-12-23 Martin Kretzschmar <martink@gnome.org>
7237 * pdf/xpdf/Makefile.am (libpdfdocument_la_LIBADD): add
7240 * shell/ev-window.c (ev_window_print): add GnomePrintJob to
7241 EvPrintJob constructor arguments.
7243 * backend/ev-ps-exporter.c, backend/ev-ps-exporter.h: interface
7244 for documents that can export PostScript (page by page).
7246 * backend/Makefile.am (libevbackend_la_SOURCES): add them.
7248 * pdf/xpdf/pdf-document.cc (pdf_document_ps_export_begin)
7249 (pdf_document_ps_export_do_page, pdf_document_ps_export_end)
7250 (pdf_document_ps_exporter_iface_init:
7251 Implement EvPSExporter.
7253 * pdf/xpdf/Makefile.am (libxpdf_la_SOURCES): build PSOutputDev.
7255 2004-12-22 Anders Carlsson <andersca@gnome.org>
7257 * backend/Makefile.am:
7258 * backend/ev-document-thumbnails.c:
7259 (ev_document_thumbnails_get_type),
7260 (ev_document_thumbnails_get_thumbnail):
7261 * backend/ev-document-thumbnails.h:
7262 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
7263 (pixbuf_document_thumbnails_get_thumbnail),
7264 (pixbuf_document_document_thumbnails_iface_init):
7265 * shell/Makefile.am:
7266 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_destroy),
7267 (ev_sidebar_thumbnails_class_init), (ev_sidebar_thumbnails_init),
7268 (populate_thumbnails), (ev_sidebar_thumbnails_set_document):
7269 * shell/ev-sidebar-thumbnails.h:
7270 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
7271 (ev_sidebar_set_document):
7272 * shell/ev-utils.c: (gaussian), (create_blur_filter),
7273 (create_shadow), (ev_pixbuf_add_shadow):
7275 Add thumbnail support.
7277 2004-12-22 Martin Kretzschmar <martink@gnome.org>
7279 * shell/ev-window.c (ev_window_cmd_file_print, ev_window_print)
7280 (using_postscript_printer): Set up a print dialog for "PostScript
7283 * shell/ev-print-job.h, shell/ev-print-job.c: stub classes for
7286 * shell/Makefile.am (evince_SOURCES): add ev-print-job.[ch]
7288 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
7290 * ps/gtkgs.c: (gtk_gs_init), (set_up_page),
7291 (ps_document_set_target), (ps_document_get_page_size),
7292 (ps_document_render):
7297 2004-12-22 Christian Rose <menthos@menthos.com>
7299 * configure.ac: Added "sv" to ALL_LINGUAS.
7301 Wed Dec 22 14:47:38 2004 Jonathan Blandford <jrb@redhat.com>
7303 * backend/ev-document-bookmarks.[ch]: new interface to indicate
7304 document supports bookmarks.
7306 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
7308 * ps/ggvutils.c: (ggv_file_readable):
7310 * ps/gtkgs.c: (check_filecompressed), (check_pdf),
7311 (gtk_gs_get_postscript):
7315 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
7317 * ps/gtkgs.c: (gtk_gs_init), (gtk_gs_class_init), (gtk_gs_cleanup),
7318 (gtk_gs_finalize), (gtk_gs_set_center), (set_up_page), (output),
7319 (start_interpreter), (compute_size), (gtk_gs_enable_interpreter),
7320 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_reload),
7321 (gtk_gs_emit_error_msg), (gtk_gs_disable_interpreter),
7322 (gtk_gs_load), (gtk_gs_goto_page), (gtk_gs_set_page_size),
7323 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
7324 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
7325 (gtk_gs_set_antialiasing), (ps_document_load),
7326 (ps_document_render):
7329 Another check point for the ps backend. Now I can get it to show
7332 Wed Dec 22 13:41:01 2004 Jonathan Blandford <jrb@redhat.com>
7334 * shell/ev-sidebar.c (ev_sidebar_set_document): initial sidebar
7335 document setting code.
7337 2004-12-22 Anders Carlsson <andersca@gnome.org>
7339 * shell/eggfindbar.c: (entry_activate_callback):
7340 Animate the next button when activate is pressed.
7342 2004-12-22 Anders Carlsson <andersca@gnome.org>
7344 * shell/ev-window.c: (ev_window_cmd_edit_find),
7345 (update_fullscreen_popup), (ev_window_fullscreen),
7346 (ev_window_unfullscreen), (ev_window_state_event_cb),
7347 (ev_window_focus_out_cb), (find_bar_close_cb), (ev_window_init):
7348 Fix bugs in fullscreen code.
7350 2004-12-22 Anders Carlsson <andersca@gnome.org>
7354 * pixbuf/Makefile.am:
7355 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
7356 (pixbuf_document_load), (pixbuf_document_get_n_pages),
7357 (pixbuf_document_set_page), (pixbuf_document_get_page),
7358 (pixbuf_document_set_target), (pixbuf_document_set_scale),
7359 (pixbuf_document_set_page_offset), (pixbuf_document_get_page_size),
7360 (pixbuf_document_render), (pixbuf_document_begin_find),
7361 (pixbuf_document_end_find), (pixbuf_document_finalize),
7362 (pixbuf_document_class_init),
7363 (pixbuf_document_document_iface_init), (pixbuf_document_init):
7364 * pixbuf/pixbuf-document.h:
7365 * shell/Makefile.am:
7366 * shell/ev-application.c: (ev_application_open):
7367 * shell/ev-window.c: (mime_type_supported_by_gdk_pixbuf),
7371 Tue Dec 21 21:45:43 2004 Soeren Sandmann <sandmann@redhat.com>
7374 * dvi/dvilib/Makefile.am:
7376 * configure.ac: Auto*ify dvi and dvi/dvilib
7378 * dvi/Makefile: Remove from CVS
7380 * dvi/dvilib/dl-pkfont.cc (unpack_bitmap): Fix uchar/uint
7383 * dvi/dvilib/dl-fontdefinition.{cc,hh}: New DviFontMap class
7385 * dvi/dvilib/dl-vffont.{cc,hh}: Many bugfixes to VF code.
7387 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
7390 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_finalize),
7391 (gtk_gs_value_adjustment_changed), (compute_size),
7392 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_new_from_file),
7393 (gtk_gs_center_page), (gtk_gs_load), (gtk_gs_set_page_size),
7394 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
7395 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
7396 (gtk_gs_start_scroll), (gtk_gs_get_postscript),
7397 (gtk_gs_set_adjustments), (gtk_gs_set_available_size),
7398 (ps_document_load), (ps_document_get_n_pages),
7399 (ps_document_set_page), (ps_document_get_page),
7400 (ps_document_set_target), (ps_document_set_scale),
7401 (ps_document_set_page_offset), (ps_document_get_page_size),
7402 (ps_document_render), (ps_document_begin_find),
7403 (ps_document_end_find), (ps_document_document_iface_init):
7405 * shell/Makefile.am:
7406 * shell/ev-window.c: (ev_window_open):
7408 Some work to integrate gtkgs with EvDocument
7410 2004-12-22 Anders Carlsson <andersca@gnome.org>
7412 * shell/ev-window.c: (update_fullscreen_popup),
7413 (screen_size_changed_cb), (destroy_exit_fullscreen_popup),
7414 (exit_fullscreen_button_clicked_cb),
7415 (fullscreen_popup_size_request_cb), (ev_window_fullscreen),
7416 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
7417 (ev_window_state_event_cb), (ev_window_init):
7418 Add fullscreen support from Epiphany.
7420 2004-12-22 Mark McLoughlin <mark@skynet.ie>
7422 * data/ev-stock-zoom-fit-width.png: fit-width
7423 stock icon from gpdf.
7425 * shell/ev-stock-icons.[ch]: copied from gpdf.
7427 * shell/main.c: (main): init stock icons.
7429 * shell/ev-window.c: use the fit-width icon.
7431 * data/evince-ui.xml: add zooming toolbar items.
7433 2004-12-22 Mark McLoughlin <mark@skynet.ie>
7436 (ev_view_best_fit), (ev_view_fit_width): because
7437 get_page_size() returns the scaled page size, we
7438 need to calculate the scale factor relative to
7439 the previous scale factor. Should really just
7440 add get_real_page_size().
7442 2004-12-22 Mark McLoughlin <mark@skynet.ie>
7444 * shell/ev-view.[ch]:
7445 (ev_view_zoom), (ev_view_zoom_in), (ev_view_zoom_out),
7446 (ev_view_normal_size), (ev_view_best_fit), (ev_view_fit_width):
7449 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
7450 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_normal_size),
7451 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width):
7454 * pdf/xpdf/pdf-document.cc:
7455 (pdf_document_begin_find),
7456 (pdf_document_end_find): make static.
7458 2004-12-22 Martin Kretzschmar <martink@gnome.org>
7460 * pdf/xpdf/GlobalParams.h (setupBaseFontsFc): add prototype.
7462 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): maps base font
7463 names to fontconfig patterns.
7464 (setupBaseFontsFc): setupBaseFonts reimplemented using fontconfig.
7466 * pdf/xpdf/pdf-document.cc (pdf_document_load): use
7469 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
7485 Import ggv backend. Not hooked up yet.
7487 2004-12-22 Mark McLoughlin <mark@skynet.ie>
7489 * shell/main.c: (load_files), (main): load files
7490 from the command line.
7492 2004-12-22 Mark McLoughlin <mark@skynet.ie>
7494 * configure.ac: don't require bonobo.
7496 * cut-n-paste/recent-files/*: kill bonobo recent
7499 * shell/ev-window.c:
7500 (ev_window_is_empty): upd.
7501 (unable_to_load), (ev_window_open): load backend
7502 based on the mime type.
7504 2004-12-22 Martin Kretzschmar <martink@gnome.org>
7506 * backend/.cvsignore: ignore generated marshalers source.
7508 * shell/main.c (main): this is not epiphany.
7510 2004-12-22 Havoc Pennington <hp@redhat.com>
7512 * shell/ev-view.c (ev_view_set_document): connect to "found" signal
7513 (expose_bin_window): draw find highlights
7515 * shell/ev-window.c (find_bar_search_changed_cb): implement
7517 * pdf/xpdf/pdf-document.cc (pdf_document_begin_find)
7518 (pdf_document_end_find): implement this interface
7520 * backend/ev-document.c (ev_document_found): add this to emit
7523 Tue Dec 21 23:57:37 2004 Owen Taylor <otaylor@redhat.com>
7525 * data/evince-ui.xml: Add a few more toolbar items.
7527 * shell/ev-window.c: Hook up page navigation toolbar
7530 * shell/ev-view.[ch]: add ev_view_set/get_page and
7531 a page-changed signal.
7533 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc::
7534 Add ev_document_get_page().
7536 * shell/ev-window.c: Sensitize/desensitize navigation
7539 2004-12-21 Havoc Pennington <hp@redhat.com>
7541 * backend/ev-backend-marshal.c,
7542 backend/ev-backend-marshalers.list, backend/Makefile.am: add
7543 marshaler-generator thingy. I'm sure there's a better way to do
7544 this in the modern world.
7546 * backend/ev-document.h (struct _EvDocumentIface): add begin_find,
7547 end_find methods and "found" signal.
7549 * configure.ac: find glib-genmarshal
7551 Tue Dec 21 23:20:35 2004 Jonathan Blandford <jrb@redhat.com>
7553 * shell/ev-sidebar.c: Construct an actual sidebar.
7554 * shell/ev-sidebar-bookmarks.[ch]:
7555 * shell/ev-sidebar-thumbnails.[ch]: Stub out sidebars.
7557 Tue Dec 21 23:05:51 2004 Owen Taylor <otaylor@redhat.com>
7559 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc:
7562 * shell/ev-view.c: Track the size from the document.
7564 Tue Dec 21 22:17:04 2004 Owen Taylor <otaylor@redhat.com>
7566 * pdf/xpdf/pdf-document.cc (pdf_document_load): PDFDoc
7567 constructor assumes ownership of the string passed in.
7569 * shell/ev-window.c (ev_window_open): Destroy the error
7570 dialog once we've displayed it.
7572 Tue Dec 21 21:58:56 2004 Owen Taylor <otaylor@redhat.com>
7574 * pdf/xpdf/pdf-document.cc shell/ev-view.c: Hook things up
7575 a bit, it works! (sort of)
7577 * pdf/xpdf/Makefile.am pdf/xpdf/pdf-document.cc:
7578 Move to .cc since we need to use C++ in the implementation.
7580 * shell/dummy.cc: Add a CC file to force evince
7581 to be linked as a C++ program.
7583 Tue Dec 21 21:07:55 2004 Owen Taylor <otaylor@redhat.com>
7585 * shell/ev-view.[ch]: Start of content-area widget.
7587 * shell/ev-window.c: Create a EvView, update it
7588 as we change documents.
7590 * shell/Makefile.am shell/ev-marshal.list: Add
7591 generated marshalers.
7593 Tue Dec 21 20:28:11 2004 Jonathan Blandford <jrb@redhat.com>
7595 * Makefile.am (SUBDIRS): move shell.
7597 Tue Dec 21 19:28:55 2004 Owen Taylor <otaylor@redhat.com>
7599 * pdf/{goo,fofi,splash,xpdf}/Makefile.am: Switch from
7600 .a to libtool convenience libraries.
7602 * shell/ev-window.c (ev_window_open): Hard code loading
7605 * backend/ev-document.h: Add a boolean return to load(),
7606 fix GError * to GError **.
7608 * pdf/xpdf/pdf-document.[ch] Makefile.am: Add a stub
7609 object for a PDF backend EvDocument.
7611 Tue Dec 21 18:55:06 2004 Søren Sandmann <sandmann@redhat.com>
7613 * dvi/*: New directory with the beginning of a .dvi backend.
7615 2004-12-21 Havoc Pennington <hp@redhat.com>
7617 * shell/eggfindbar.c (egg_find_bar_init): change buttons to
7618 previous/next instead of back/forward
7620 Tue Dec 21 18:26:24 2004 Owen Taylor <otaylor@redhat.com>
7622 * backend/ev-document.[ch]: Fix a couple of problems so
7625 Tue Dec 21 18:20:40 2004 Owen Taylor <otaylor@redhat.com>
7627 * viewer/* backend/* configure.ac Makefile.am: Move viewer directory
7628 to backend/ directory, rename EvViewer to EvDocument.
7630 2004-12-21 Havoc Pennington <hp@redhat.com>
7632 * shell/ev-window.c: hook up the find bar widget; now we just need
7633 a document to find things in
7635 * shell/eggfindbar.c: a find bar widget
7637 Tue Dec 21 17:20:16 2004 Jonathan Blandford <jrb@redhat.com>
7639 * shell/ev-sidebar.[ch]: initial sidebar boilerplate.
7641 Tue Dec 21 16:30:58 2004 Owen Taylor <otaylor@redhat.com>
7643 * pdf/**: Import of xpdf code from gpdf.
7645 * pdf/xpdf/xpdfconfig.h: Move the non-config.h config.h to xpdfconfig.h
7647 * pdf/splash/SplashFTFont.{cc,h} pdf/splash/SplashFTFont.h
7648 pdf/splash/SplashFTFontEngine.h pdf/splash/SplashFTFontFile.h:
7649 Fix FreeType includes.
7651 * pdf/xpdf/{Error.h GnomeVFSStream.cc ImageOutputDev.cc PDFDoc.cc\
7652 pdffonts.cc pdfimages.cc pdfinfo.cc pdftoppm.cc pdftops.cc
7653 pdftotext.cc PSOutputDev.cc PSOutputDev.h SplashOutputDev.h
7654 Stream.cc TextOutputDev.cc XPDFApp.cc xpdf.cc XPDFViewer.cc
7655 pdf/xpdf/Error.h PSOutputDev.h SplashOutputDev.h}:
7656 Include xpdfconfig.h
7658 Tue Dec 21 16:08:17 2004 Jonathan Blandford <jrb@redhat.com>
7660 * shell/ev-window.c (ev_window_dispose): dispose can be called
7663 2004-12-21 Havoc Pennington <hp@redhat.com>
7665 * shell/ev-window.c (ev_window_init): set title to Document Viewer
7668 * data/evince-ui.xml, shell/ev-window.c: add a bunch of stub menu
7669 items; really they should be synced with the strings, etc. from
7670 current gpdf, but just getting the boring typing out of the way
7672 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
7675 * shell/ev-application.c: (window_destroy_cb):
7676 * shell/ev-window.c:
7677 * shell/main.c: (main):
7679 Actually show the window...
7681 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
7684 * shell/Makefile.am:
7685 * shell/ev-application.c: (ev_application_class_init):
7686 * shell/ev-window.c: (ev_window_dispose), (ev_window_class_init):
7690 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
7692 Import to gnome cvs.
7694 * Remove copies of gpdf and ggv trees.
7695 * Rip out all the recursive configure code.
7696 * Remove bonobo machinery.
7697 * viewer/*: GInterfaces that backends should/can implement.
7699 2004-11-09 Martin Kretzschmar <m_kretzschmar@gmx.net>
7701 * shell/ev-window.c (ev_window_cmd_help_about): fix "documentors"
7704 2004-10-28 Martin Kretzschmar <m_kretzschmar@gmx.net>
7706 * shell/ev-application.c (EV_APPLICATION_GET_PRIVATE)
7707 (ev_application_finalize, ev_application_class_init)
7708 (ev_application_init): use GType instance private data for priv.
7710 * shell/ev-window.c (EV_WINDOW_GET_PRIVATE)
7711 (ev_window_finalize, ev_window_class_init)
7712 (ev_window_init): ditto.
7714 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
7716 * shell/ev-application.c (ev_application_new_window): make public
7717 (ev_application_show_initial_window): kill.
7719 * shell/ev-application.h: update prototypes.
7721 * shell/main.cc (main): inline ev_application_show_initial_window.
7723 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
7725 * shell/ev-application.c (ev_application_new_window): impl.
7726 (ev_application_show_initial_window): use it.
7727 (is_window_empty, ev_application_get_empty_window): returns an
7728 existing empty window or a new one.
7729 (ev_application_open): from ev_window_cmd_file_open.
7731 * shell/ev-application.h: update prototypes
7733 * shell/ev-window.c (ev_window_is_empty): impl.
7734 (ev_window_open): make public.
7735 (ev_window_cmd_file_open): use ev_application_open
7737 * shell/ev-window.h: update prototypes, remove unused.
7739 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
7741 * shell/ev-window.c (ev_window_destroy, ev_window_class_init):
7742 move destroy handler out of here...
7744 * shell/ev-application.c, shell/ev-application.h: ...into this new
7745 class. Also handles initial window creation.
7747 * shell/main.cc (main): use EvApplication to create initial
7750 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
7752 * Makefile.am (SUBDIRS): add cut-n-paste
7754 * cut-n-paste/Makefile.am: add
7756 * configure.ac: generate Makefiles in cut-n-paste
7758 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
7760 * shell/ev-window.c (ev_window_dispose): new, unref the ui_manager
7761 (ev_window_class_init): install ev_window_dispose.
7763 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
7765 * shell/ev-window.h, shell/ev-window.c: replace gchar with
7766 char (gchar looks stupid).
7768 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
7770 * po/de.po: updated German translation.
7772 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
7774 * configure.ac: add more pkg-config library checks for gnome-vfs,
7777 * gpdf/configure.in: temporarily disable libpaper
7778 checks. Otherwise I'd have to add the checks for the shell, too.
7780 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7782 * shell/ev-window.c (ev_window_cmd_file_open): add ps+pdf, ps, pdf
7783 and * file filters to the file choose.
7785 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7787 * po/de.po: Updated German translation.
7789 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7791 * shell/ev-window.c: use "S" as mnemonic for Statusbar.
7793 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7795 * data/evince-ui.xml: add View->Toolbar and View->Statusbar.
7797 * shell/ev-window.c (menu_item_select_cb, menu_item_select_cb)
7798 (ev_window_init): implement those menuitems.
7800 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7802 * data/evince-ui.xml: add a toolbar (with FileOpen action)
7804 * shell/ev-window.c (ev_window_init): use the toolbar.
7806 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7808 * shell/ev-window.c (ev_window_init): use menu translations
7810 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7812 * configure.ac: add "de" to ALL_LINGUAS.
7814 * po/de.po: add German translation.
7816 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7818 * Makefile.am (SUBDIRS): add po
7820 * configure.ac: check intltool, glib-gettext etc, generate
7823 * po, po/POTFILES.in, po/POTFILES.skip: new.
7825 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7827 * shell/Makefile.am (INCLUDES): define GNOMELOCALEDIR which we
7828 already use (#ifdef ENABLE_NLS)
7830 * shell/ev-window.c (ev_window_cmd_help_about): fix two star
7831 pointer indirection thinko.
7833 * shell/main.c: include gi18n.h for bindtextdomain etc.
7835 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7837 * shell/ev-window.c (menu_item_select_cb, menu_item_deselect_cb)
7838 (connect_proxy_cb, disconnect_proxy_cb, ev_window_init): show
7839 tooltips for menu items in the statusbar.
7841 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7843 * configure.ac, data/Makefile.am, shell/Makefile.am: use
7844 pkgdatadir drop UIDIR
7846 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7848 * data/evince-ui.xml: Add File->Open menu item
7850 * shell/ev-window.c (ev_window_cmd_file_open): impl. (shows a file
7851 chooser), hook it up in the ui manager.
7853 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7855 * shell/ev-window.c: fix Help->About tooltip.
7857 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7859 * configure.ac: set CFLAGS for libevprivate.
7861 * lib/ev-stock-icons.h, lib/ev-stock-icons.c: stock icon
7862 definitions, factory etc.
7864 * lib/Makefile.am: build libevprivate.a (only stock icon code).
7866 * shell/Makefile.am: link against libevprivate.a.
7868 * shell/ev-window.c (entries): add stock icon to Help->About.
7870 * shell/main.c (main): init stock icon code.
7872 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7874 * lib/recent-files: egg recent files code
7876 * lib/Makefile.am: add.
7878 * Makefile.am: add lib subdir.
7880 * configure.ac: gen. lib/Makefile and lib/recent-files/Makefile,
7881 set CFLAGS for recent-files.
7883 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7885 * configure.ac: disable -ansi and -pedantic gcc flags. They
7886 disable POSIX stuff in stdio.h, but egg-recent uses them.
7888 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7890 * configure.ac: add --disable-deprecated flag (defaults to on in
7893 * shell/Makefile.am (INCLUDES): use it.
7895 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7897 * shell/main.c: add missing #include.
7899 * shell/ev-window.c: fix for pedantic gcc.
7900 (ev_window_cmd_help_about): split license into paragraphs for
7901 translators and pedantic compilers.
7903 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7905 * configure.ac: add more warning flags if compiling with gcc from
7906 cvs (or explicitly requested with --enable-more-warnings).
7908 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7910 * data/evince-ui.xml: add File and File->Close menu.
7912 * shell/ev-window.c (ev_window_cmd_file_close_window): impl.
7913 (ev_window_destroy): quit after destroy.
7914 (ev_window_class_init): override GtkObject::destroy.
7915 (entries): install close_window callback.
7917 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7919 * Makefile.am (SUBDIRS): add data subdir.
7921 * configure.ac (UIDIR): gen data/Makefile, define UIDIR. Require
7922 gtk+ 2.5.0 for GtkAboutDialog.
7924 * data/Makefile.am, data/evince-ui.xml: add, ui definition for the
7927 * shell/Makefile.am (INCLUDES): propagate UIDIR definition.
7929 * shell/ev-window.c (ev_window_init): create a menubar, using a ui
7931 (ev_window_cmd_help_about): about command, using GtkAboutDialog.
7933 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7935 * shell/ev-window.c, shell/ev-window.h: Created an EvWindow class.
7937 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
7939 * shell/main.c: make it a trivial gtk+ program, adjust configure.ac
7941 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
7943 * shell/*: Added shell directory boilerplate, build it.
7945 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
7947 * configure.ac, Makefile.am: Added top-level configure.ac and