1 2006-01-06 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4 Add MAINTAINERS as requested on desktop-devel-list.
6 2006-01-06 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
8 * backend/ev-document-factory.c: (gdk_pixbuf_mime_type_list),
9 (mime_type_supported_by_gdk_pixbuf),
10 (ev_document_factory_get_mime_types),
11 (ev_document_factory_get_all_mime_types):
13 Don't add pixbuf mime types if pixbuf backend is disabled.
15 * shell/ev-application.c: (ev_application_get_uri_window):
17 Fix for the bug 325815 - unhandled MIME type message doesn't
20 * shell/ev-document-types.c: (ev_document_types_add_filters):
21 * shell/ev-window.c: (page_changed_cb), (ev_window_setup_document),
22 (password_dialog_response), (ev_window_popup_password_dialog),
23 (ev_window_load_job_cb), (ev_window_sidebar_position_change_cb),
24 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
25 (ev_window_run_presentation), (ev_window_stop_presentation),
26 (save_sizing_mode), (ev_window_zoom_changed_cb),
27 (ev_window_continuous_changed_cb), (ev_window_rotation_changed_cb),
28 (ev_window_dual_mode_changed_cb),
29 (ev_window_sidebar_current_page_changed_cb),
30 (ev_window_sidebar_visibility_changed_cb), (ev_window_dispose),
31 (window_state_event_cb), (window_configure_event_cb):
33 Cleanup additional uris holded by EvWindow.
35 2006-01-06 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
37 * shell/ev-view.c: (ev_view_scroll), (ev_view_previous_page),
38 (ev_view_can_previous_page), (ev_view_can_next_page):
40 * shell/ev-window.c: (update_action_sensitivity):
42 Two page scrolling with Space and PageUp in dual mode. Second fix
45 2006-01-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
47 * shell/ev-view.c: (scroll_to_current_page):
49 Correctly clamp adjustment value. Fix for the bug
52 2006-01-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
54 * shell/ev-sidebar-links.c: (print_section_cb):
55 * shell/ev-window.c: (ev_window_get_uri),
56 (ev_window_close_dialogs), (ev_window_open_uri), (ev_window_print),
57 (ev_window_print_dialog_response_cb), (ev_window_print_range),
60 Make print dialog non-modal. Fix for the bug #325622.
62 2006-01-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
64 * shell/ev-metadata-manager.c:
65 * shell/ev-utils.c: (using_pdf_printer),
66 (using_postscript_printer), (load_print_config_from_file),
67 (save_print_config_to_file):
69 * shell/ev-window.c: (update_sizing_buttons), (page_changed_cb),
70 (update_sidebar_visibility), (setup_sidebar_from_metadata),
71 (setup_view_from_metadata), (ev_window_setup_document),
72 (ev_window_load_job_cb), (ev_window_sidebar_position_change_cb),
73 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
74 (ev_window_run_presentation), (ev_window_stop_presentation),
75 (save_sizing_mode), (ev_window_zoom_changed_cb),
76 (ev_window_continuous_changed_cb), (ev_window_rotation_changed_cb),
77 (ev_window_dual_mode_changed_cb),
78 (ev_window_sidebar_current_page_changed_cb),
79 (ev_window_sidebar_visibility_changed_cb), (ev_window_dispose),
80 (window_state_event_cb), (window_configure_event_cb),
83 Setting saving behaviour fixes.
85 2005-12-30 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
89 Make antialiasing gs options better and allow
90 to change them during configure. Fix for the
93 2005-12-29 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
95 * shell/ev-window.c: (setup_view_from_metadata):
97 Remember if last window was maximized. Fix for the
100 2005-12-28 Abel Cheung <maddog@linuxhall.org>
102 * configure.ac: Added "zh_HK" to ALL_LINGUAS.
104 2005-12-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
106 * backend/ev-link.c: (ev_link_get_page), (ev_link_init):
107 * shell/ev-page-action.c: (build_new_tree_cb):
108 * shell/ev-sidebar-links.c: (links_page_num_func),
109 (update_page_callback_foreach), (update_page_callback):
110 * shell/ev-view.c: (scroll_to_current_page):
112 Fix for the bug #325067 with more intelligent selection
113 of current link in sidebar. Make sidebar handle links
114 of FITR-like type more correctly.
116 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
117 (dvi_pixbuf_put_pixel):
119 Fix memory consumtion with disabled alpha channel.
121 2005-12-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
123 * data/evince-ui.xml:
124 * shell/ev-window.c: (view_menu_popup_cb),
125 (ev_popup_cmd_open_link), (ev_window_init):
127 Update context menu for internal links. Fix for the bug
130 2005-12-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
132 * shell/ev-view.c: (ev_view_popup_menu), (ev_view_class_init):
134 Bind context menu to keyboard also. Fix for the bug
137 2005-12-27 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
139 * shell/ev-view.c: (selection_scroll_timeout_cb):
141 Horizontal scroll on selection also.
143 2005-12-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
145 * shell/ev-metadata-manager.c: (parse_value):
146 * shell/ev-view.c: (goto_xyz_link):
148 Correct zoom setup and metadata save broken in
151 2005-12-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
153 * shell/ev-view-private.h:
154 * shell/ev-view.c: (scroll_to_current_page),
155 (view_set_adjustment_values), (goto_fitr_link), (goto_fitv_link),
156 (goto_fith_link), (goto_fit_link), (goto_xyz_link),
157 (page_changed_cb), (ev_view_set_continuous),
158 (ev_view_set_dual_page), (ev_view_set_presentation):
160 Delay scroll until allocation to correctly position page. Fix
163 2005-12-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
168 Update NEWS and require poppler 0.5.0.
170 2005-12-25 Carlos Garcia Campos <carlosgc@gnome.org>
172 * data/evince-ui.xml:
173 * shell/ev-view-private.h:
174 * shell/ev-view.c: (ev_view_get_link_at_location),
175 (handle_link_over_xy), (ev_view_button_press_event),
176 (ev_view_button_release_event), (ev_view_class_init):
177 * shell/ev-window.c: (view_menu_popup_cb), (ev_window_dispose),
178 (ev_popup_cmd_open_link), (ev_popup_cmd_copy_link_address),
181 Implement right-click context menu.
183 2005-12-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
185 * djvu/djvu-document.c: (djvu_document_thumbnails_get_thumbnail):
186 * dvi/pixbuf-device.c: (dvi_pixbuf_create_image),
187 (mdvi_pixbuf_device_render):
190 Don't generate thumbnails with alpha. See bug #324077.
191 Thanks to Jeroen Zwartepoorte <jeroen.zwartepoorte@gmail.com>.
193 2005-12-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
195 * shell/ev-window.c: (setup_chrome_from_metadata):
197 Fix typo that was hiding toolbar.
199 2005-12-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
201 * shell/ev-view-private.h:
202 * shell/ev-view.c: (ev_view_realize), (selection_update_idle_cb),
203 (selection_scroll_timeout_cb), (ev_view_motion_notify_event),
204 (ev_view_button_release_event), (ev_view_destroy):
206 Small cleanup and autoscrolling during selection. Thanks to
207 Ricardo Markiewicz <rmarkie@fi.uba.ar>.
209 2005-12-22 Jani Monoses <jani.monoses@gmail.com>
213 Correctly check for comics option.
215 2005-12-21 Eduardo Lima <eduardo.lima@indt.org.br>
218 * backend/Makefile.am:
219 * backend/ev-document-factory.c:
220 * shell/ev-document-types.c:
222 Included option in configure to make ps backend
223 compilation optional with --disable-ps.
225 2005-12-20 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
227 * backend/ev-document-factory.c:
228 * comics/Makefile.am:
229 * comics/comics-document.c: (comics_document_load):
230 * comics/ev-cbr-mime.xml:
233 Comics mime types are added to shared-mime-info CVS. Now
234 we don't need to install our own mime types.
236 2005-12-20 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
240 Add shortcut for "save a copy" menu entry. Fix for
243 2005-12-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
245 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info),
246 (job_finished_cb), (new_selection_pixbuf_needed),
247 (ev_pixbuf_cache_get_selection_pixbuf), (update_job_selection),
248 (clear_job_selection), (ev_pixbuf_cache_set_selection_list):
250 Rework selection job info logic and fix critical warning.
252 2005-12-17 Abel Cheung <maddog@linuxhall.org>
254 * configure.ac: Added "cy" "fa" "mk" "vi" to ALL_LINGUAS.
256 2005-11-27 Jaap A. Haitsma <jaap@haitsma.org>
258 * data/evince-ui.xml:
259 * shell/ev-window.c: (ev_window_set_view_accels_sensitivity):
261 Enter as shortcut key for next page. Fix for the bug
264 2005-11-18 Ales Nyakhaychyk <nab@mail.by>
266 * configure.ac: Added "be" (Belarusian) to ALL_LINGUAS.
268 2005-11-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
270 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info),
271 (job_finished_cb), (copy_job_to_job_info), (add_job_if_needed),
272 (new_selection_pixbuf_needed),
273 (ev_pixbuf_cache_get_selection_pixbuf), (update_job_selection),
274 (clear_job_selection):
276 Too early for 0.5. Pixbuf cache code cleaned a bit.
278 2005-11-14 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
283 Release 0.5.0 preparation
285 2005-11-14 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
287 * comics/Makefile.am:
289 * shell/ev-document-types.c: (ev_document_types_add_filters):
291 More advanced handling of custom mime type installation.
293 2005-11-14 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
295 * data/evince.schemas.in:
296 * shell/ev-metadata-manager.c: (value_free),
297 (ev_metadata_manager_get_last), (ev_metadata_manager_set_last),
298 (ev_metadata_manager_get), (ev_metadata_manager_set):
299 * shell/ev-metadata-manager.h:
300 * shell/ev-window.c: (update_chrome_flag),
301 (ev_window_cmd_focus_page_selector), (update_sidebar_visibility),
302 (setup_document_from_metadata), (setup_chrome_from_metadata),
303 (setup_sidebar_from_metadata), (setup_view_from_metadata),
304 (ev_window_cmd_edit_find), (ev_window_cmd_escape),
305 (ev_window_view_toolbar_cb),
306 (ev_window_sidebar_visibility_changed_cb), (find_bar_close_cb),
307 (view_actions_focus_in_cb), (ev_window_init), (ev_window_new):
309 Save last document settings and reuse them for new documents.
311 2005-11-14 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
314 * backend/Makefile.am:
315 * backend/ev-document-factory.c:
316 * backend/ev-document-factory.h:
317 * comics/Makefile.am:
318 * comics/comics-document.c: (G_DEFINE_TYPE_WITH_CODE),
319 (comics_document_load), (comics_document_save),
320 (comics_document_get_n_pages), (comics_document_get_page_size),
321 (get_page_size_area_prepared_cb), (comics_document_render_pixbuf) (render_pixbuf_size_prepared_cb), (comics_document_finalize),
322 (comics_document_class_init), (comics_document_can_get_text),
323 (comics_document_get_info), (comics_document_document_iface_init),
324 (comics_document_init), (get_supported_image_extensions),
325 (comics_document_thumbnails_get_geometry),
326 (comics_document_thumbnails_get_thumbnail),
327 (comics_document_thumbnails_get_dimensions),
328 (comics_document_document_thumbnails_iface_init), (extract_argv):
329 * comics/comics-document.h:
330 * comics/ev-cbr-mime.xml:
333 * shell/ev-application.c: (ev_application_register_service):
334 * shell/ev-document-types.c: (ev_document_types_add_filters):
335 * thumbnailer/Makefile.am:
336 * thumbnailer/evince-thumbnailer-comics.schemas.in:
338 New CBR/CBZ backend for comic books.
340 2005-11-10 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
342 * shell/main.c: (load_files_remote):
344 Thanks to Robert McQueen <robot101@debian.org>. Dbus
345 warning on startup of second instance is fixed. It
348 2005-10-30 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
350 * shell/ev-window.c: (ev_window_finalize):
352 Fix double free that cause crash.
354 2005-10-29 Bastien Nocera <hadess@hadess.net>
356 * tiff/tiff-document.c: (tiff_document_load):
360 2005-10-29 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
364 * shell/ev-view-accessible.c: (ev_view_accessible_get_priv),
365 (ev_view_accessible_free_priv), (ev_view_accessible_class_init),
366 (ev_view_accessible_get_text),
367 (ev_view_accessible_get_character_at_offset),
368 (ev_view_accessible_get_text_before_offset),
369 (ev_view_accessible_get_text_at_offset),
370 (ev_view_accessible_get_text_after_offset),
371 (ev_view_accessible_get_character_count),
372 (ev_view_accessible_get_caret_offset),
373 (ev_view_accessible_set_caret_offset),
374 (ev_view_accessible_get_run_attributes),
375 (ev_view_accessible_get_default_attributes),
376 (ev_view_accessible_get_character_extents),
377 (ev_view_accessible_get_offset_at_point),
378 (ev_view_accessible_get_n_selections),
379 (ev_view_accessible_get_selection),
380 (ev_view_accessible_add_selection),
381 (ev_view_accessible_remove_selection),
382 (ev_view_accessible_set_selection),
383 (ev_view_accessible_text_iface_init),
384 (ev_view_accessible_idle_do_action),
385 (ev_view_accessible_action_do_action),
386 (ev_view_accessible_action_get_n_actions),
387 (ev_view_accessible_action_get_description),
388 (ev_view_accessible_action_get_name),
389 (ev_view_accessible_action_set_description),
390 (ev_view_accessible_action_iface_init),
391 (ev_view_accessible_get_type), (ev_view_accessible_new),
392 (ev_view_accessible_factory_get_accessible_type),
393 (ev_view_accessible_factory_create_accessible),
394 (ev_view_accessible_factory_class_init),
395 (ev_view_accessible_factory_get_type):
396 * shell/ev-view-accessible.h:
397 * shell/ev-view-private.h:
398 * shell/ev-view.c: (ev_view_get_accessible), (ev_view_class_init):
401 Initial accessibility support.
403 2005-10-27 Erdal Ronahi <erdal.ronahi@gmail.com>
405 * configure.ac: Added ku (Kurdish) to ALL_LINGUAS
407 2005-10-26 Hubert Figuiere <hfiguiere@teaser.fr>
409 * shell/ev-print-job.c: (idle_print_handler):
411 Fix for bug Bug 318916: Printing multiple pages.
413 2005-10-20 Runa Bhattacharjee <runa@bengalinux.org>
415 * configure.ac: Added "bn" (Bengali) to ALL_LINGUAS.
417 2005-10-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
421 Thumnail dimensions unified with other backends.
423 * shell/ev-window-title.c: (ev_window_title_update):
427 2005-10-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
429 * data/ev-stock-zoom-fit-width.png:
433 2005-10-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
436 * djvu/djvu-document.c: (djvu_document_load), (djvu_document_save),
437 (djvu_document_finalize):
438 * dvi/dvi-document.c: (dvi_document_load), (dvi_document_save),
439 (dvi_document_finalize):
440 * pixbuf/pixbuf-document.c: (pixbuf_document_load),
441 (pixbuf_document_save), (pixbuf_document_finalize):
442 * tiff/tiff-document.c: (tiff_document_load), (tiff_document_save),
443 (tiff_document_finalize):
445 Save a copy implemented for various backends.
447 2005-10-17 Daniel Gryniewicz <dang@gentoo.org>
451 Don't link with ltiff if tiff is disabled.
453 2005-10-14 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
455 * pdf/GDKSplashOutputDev.cc:
456 * pdf/GDKSplashOutputDev.h:
459 * pdf/pdf-document.cc:
460 * pdf/pdf-document.h:
461 * pdf/test-gdk-output-dev.cc:
463 Remove old unused files.
465 2005-10-12 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
467 * shell/ev-window.c: (ev_window_setup_document):
469 Fixed warnings on reload and probably crash reason.
471 2005-10-12 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
473 * properties/ev-properties-view.c:
474 (ev_properties_view_format_date):
476 Check if date is invalid. Fix for bug 318134.
478 2005-10-02 Wouter Bolsterlee <uws+gnome@xs4all.nl>
480 * shell/ev-window-title.c:
482 Add .indd files (Adobe Indesign) to the list of "bad
485 2005-10-02 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
487 * data/evince-ui.xml:
488 * shell/ev-window.c: (ev_window_set_view_accels_sensitivity):
490 Add <ctrl>KP_Add and <ctrl>KP_Substract bindings.
492 2005-09-27 Christian Persch <chpe@cvs.gnome.org>
494 * shell/ev-window.c: (launch_link), (launch_external_uri),
495 (view_external_link_cb):
497 URL-escape link before passing it to gnome_vfs_url_show.
499 2005-09-27 Carlos Garcia Campos <carlosgc@gnome.org>
501 * shell/ev-view.[ch], shell/ev-window.c: Disable copy action when
502 there isn't text selected.
504 2005-09-27 Marco Pesenti Gritti <mpg@redhat.com>
506 * shell/ev-view.c: (handle_link_over_xy):
508 Check tooltip is valid utf8 before showing it
510 2005-09-27 Carlos Garcia Campos <carlosgc@gnome.org>
512 * shell/ev-view.c: Allow drag and drop of text. Fixes #316772
514 2005-09-27 Christian Persch <chpe@cvs.gnome.org>
516 * shell/ev-window-title.c: (ev_window_title_update):
518 Guard against using g_strstrip on NULL. Fixes bug #317291.
520 2005-09-26 Marco Pesenti Gritti <mpg@redhat.com>
524 Show title even for unknown links
526 2005-09-26 Marco Pesenti Gritti <mpg@redhat.com>
528 * shell/ev-window-title.c: (ev_window_title_update):
530 Strip the title string
532 2005-09-26 Marco Pesenti Gritti <mpg@redhat.com>
534 * shell/ev-window-title.c:
536 Add .rtf to the bad extensions list
538 2005-09-26 Marco Pesenti Gritti <mpg@redhat.com>
540 * shell/ev-view.c: (doc_point_to_view_point), (goto_fitr_link),
541 (goto_fitv_link), (goto_fith_link), (goto_xyz_link):
543 Ignore link coordinates if they are outside page bounds
545 2005-09-26 Marco Pesenti Gritti <mpg@redhat.com>
547 * backend/ev-link.c: (ev_link_type_get_type),
548 (ev_link_get_filename), (ev_link_get_params),
549 (ev_link_get_property), (ev_link_set_property),
550 (ev_window_dispose), (ev_link_class_init), (ev_link_new_launch):
553 * shell/ev-view.c: (ev_view_goto_link), (ev_view_class_init):
554 * shell/ev-window.c: (launch_link), (view_external_link_cb),
557 Implement launch links. Delegate external link opening to
560 2005-09-24 Marco Pesenti Gritti <mpg@redhat.com>
562 * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_bottom),
563 (ev_link_get_right), (ev_link_get_property),
564 (ev_link_set_property), (ev_link_class_init),
565 (ev_link_new_page_fitv), (ev_link_new_page_fitr):
568 * shell/ev-view.c: (goto_fitr_link), (ev_view_goto_link):
572 2005-09-24 Marco Pesenti Gritti <mpg@redhat.com>
574 * shell/ev-view.c: (ev_view_get_width), (ev_view_get_height),
575 (goto_fitv_link), (goto_fith_link), (goto_fit_link),
576 (ev_view_goto_link), (ev_view_size_request_continuous_dual_page),
577 (ev_view_size_request_continuous),
578 (ev_view_size_request_dual_page),
579 (ev_view_size_request_single_page), (ev_view_size_allocate),
580 (ev_view_zoom_for_size_continuous_and_dual_page),
581 (ev_view_zoom_for_size_continuous),
582 (ev_view_zoom_for_size_dual_page),
583 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
584 (ev_sizing_mode_get_type):
586 * shell/ev-window.c: (ev_window_sizing_mode_changed_cb):
588 Do not use modes for link, we need to calculate size ad hoc.
589 Still not perfect because of the usual scrollbar issues grrr.
591 2005-09-24 Marco Pesenti Gritti <mpg@redhat.com>
593 * backend/ev-link.c: (ev_link_type_get_type),
594 (ev_link_new_page_fith), (ev_link_new_page_fitv):
597 * shell/ev-view.c: (goto_fitv_link), (goto_fith_link),
598 (ev_view_goto_link), (ev_view_size_request_continuous_dual_page),
599 (ev_view_size_request_continuous),
600 (ev_view_size_request_dual_page),
601 (ev_view_size_request_single_page), (ev_view_size_allocate),
602 (zoom_for_size_fit_height),
603 (ev_view_zoom_for_size_continuous_and_dual_page),
604 (ev_view_zoom_for_size_continuous),
605 (ev_view_zoom_for_size_dual_page),
606 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
607 (ev_sizing_mode_get_type):
609 * shell/ev-window.c: (ev_window_sizing_mode_changed_cb):
611 Implement FIT_HEIGHT mode (only for links).
614 2005-09-24 Marco Pesenti Gritti <mpg@redhat.com>
616 * shell/ev-window-title.c: (get_filename_from_uri),
617 (ev_window_title_sanitize_extension), (ev_window_title_update),
618 (ev_window_title_set_document), (ev_window_title_set_uri),
619 (ev_window_title_free):
620 * shell/ev-window-title.h:
621 * shell/ev-window.c: (ev_window_setup_document),
622 (ev_window_popup_password_dialog):
624 Refactor window title building while fixing it for
627 2005-09-24 Marco Pesenti Gritti <mpg@redhat.com>
631 Escape link title before setting it in the model
633 2005-09-23 Marco Pesenti Gritti <mpg@redhat.com>
635 * shell/ev-application.c: (removed_from_session), (save_session),
636 (init_session), (ev_application_get_empty_window),
637 (ev_application_init), (ev_application_get_windows):
638 * shell/ev-application.h:
639 * shell/ev-window.c: (ev_window_finalize):
641 Add a function to retrieve window list and share it where
643 Implement session handling, works pretty well thanks to the
646 2005-09-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
648 * shell/ev-password.c: (ev_password_item_created_callback),
649 (ev_password_dialog_save_password):
651 Fix for bug 316972. Use async gnome-keyring API.
653 2005-09-22 Christian Persch <chpe@cvs.gnome.org>
655 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_class_init):
656 Remove unused unrealize handler. Add scroll handling to
657 ev_view_scroll_event for presentation mode (bug #316708),
658 and fix the event state checks there.
660 2005-09-22 Marco Pesenti Gritti <mpg@redhat.com>
662 * shell/ev-page-action.c: (page_changed_cb):
664 "marco, maybe we should be crazy and jump right to 6! :)"
666 Bryan Clark, Sep 2005
668 2005-09-22 Marco Pesenti Gritti <mpg@redhat.com>
670 * ps/ps-document.c: (save_document), (ps_document_save),
671 (ps_document_ps_export_begin), (ps_document_ps_export_do_page),
672 (ps_document_ps_export_end):
674 Fix unstructured documents save and print
676 2005-09-22 Marco Pesenti Gritti <mpg@redhat.com>
678 * shell/ev-application.c: (ev_application_open_uri):
680 Fix window size persistance
682 2005-09-22 Marco Pesenti Gritti <mpg@redhat.com>
684 * shell/ev-view.c: (ev_view_button_release_event):
686 Based on a patch from carlosgc@gnome.org. Mouse buttons
687 switch pages in presentation mode.
689 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
691 * shell/ev-page-cache.c: (ev_page_cache_get_size):
693 Dont cast to int before scaling
695 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
697 * backend/ev-link.c: (ev_link_type_get_type),
698 (ev_link_new_page_xyz), (ev_link_new_page_fit),
699 (ev_link_new_page_fith):
702 * shell/ev-view.c: (goto_fith_link), (ev_view_goto_link):
704 Implement FIT and FITH links
706 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
710 Return 0 results when search is not in progress.
712 * shell/ev-window.c: (ev_window_cmd_go_previous_page),
713 (ev_window_cmd_go_next_page), (find_bar_search_changed_cb):
715 Update menu sensitivity when cancelling search
717 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
719 * shell/ev-view.c: (ev_view_can_find_next):
721 Take all pages in consideration, not just current one
723 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
725 * shell/ev-page-cache.c:
726 * shell/ev-page-cache.h:
727 * shell/ev-view.c: (ev_view_binding_activated),
728 (ev_view_next_page), (ev_view_previous_page),
729 (ev_sizing_mode_get_type):
731 * shell/ev-window.c: (ev_window_cmd_go_previous_page),
732 (ev_window_cmd_go_next_page):
734 Move page next/previous functions from page chace to
735 view and change it to move by 2 page steps in dual mode.
737 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
739 * shell/ev-window.c: (update_sidebar_visibility),
740 (setup_sidebar_from_metadata), (ev_window_setup_document),
741 (setup_view_from_metadata):
743 Show the index by default when there is one
745 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
747 * shell/ev-window-title.c: (ev_window_title_set_document):
751 2005-09-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
753 * shell/ev-view.c: (view_update_range_and_current_page):
755 Allow display of last odd page in dual view. Fix for 316347.
757 2005-09-17 Wouter Bolsterlee <uws+gnome@xs4all.nl>
759 * shell/ev-window.c: (ev_window_cmd_edit_toolbar):
761 Make close button default. Fix for 316383.
763 2005-09-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
765 * shell/ev-properties-dialog.c: (ev_properties_dialog_init):
767 Mark close button as default. Fix for 316381.
769 2005-09-16 Marco Pesenti Gritti <mpg@redhat.com>
771 * backend/ev-link.c: (ev_link_class_init):
773 Allow negative doubles in left/top properties
775 2005-09-16 Marco Pesenti Gritti <mpg@redhat.com>
779 Remove a bunch of strings that was used only
782 2005-09-16 Marco Pesenti Gritti <mpg@redhat.com>
784 * shell/ev-window-title.c: (get_filename_from_uri),
785 (ev_window_title_set_document):
787 When title has a confusing extension, show also
788 the document filename inside ()
790 2005-09-16 Marco Pesenti Gritti <mpg@redhat.com>
793 * shell/ev-window-title.c: (ev_window_title_new),
794 (ev_window_title_update), (ev_window_title_set_type),
795 (ev_window_title_set_document), (ev_window_title_free):
796 * shell/ev-window-title.h:
797 * shell/ev-window.c: (ev_window_setup_document),
798 (password_dialog_response), (ev_window_popup_password_dialog),
799 (ev_window_dispose), (ev_window_init):
801 Factor out and cleanup window title code
803 2005-09-16 Marco Pesenti Gritti <mpg@redhat.com>
805 * shell/ev-window.c: (unable_to_load_dialog_response_cb),
808 Make dialog transient so it doesnt block other windows
810 2005-09-13 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
814 Fix pdf thumbnails rendering.
816 2005-09-13 Wouter Bolsterlee <uws+gnome@xs4all.nl>
818 * shell/ev-window.c: (fullscreen_set_timeout):
820 Increase timeout to hide full screen popup. Bug
823 2005-09-13 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
825 * data/evince.schemas.in:
826 * shell/ev-window.c: (update_action_sensitivity):
828 Allow the user to override document restrictions. Fix for bug
831 2005-09-13 Christian Persch <chpe@cvs.gnome.org>
833 * shell/ev-window.c: (ev_window_update_fullscreen_popup),
834 (ev_window_create_fullscreen_popup), (ev_window_screen_changed),
835 (ev_window_class_init): Fix multihead behaviour of fullscreen
836 toolbar popup. Fixes bug #315451.
838 2005-09-13 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
841 * data/evince-password.glade:
842 * shell/ev-password.c: (ev_password_dialog_set_property),
843 (ev_password_dialog_finalize), (ev_password_dialog_class_init),
844 (ev_password_dialog_init), (ev_password_set_bad_password_label),
845 (ev_password_dialog_entry_changed_cb),
846 (ev_password_dialog_entry_activated_cb),
847 (ev_password_dialog_save_password), (ev_password_keyring_found_cb),
848 (ev_password_search_in_keyring), (ev_password_dialog_get_password),
849 (ev_password_dialog_set_bad_pass):
850 * shell/ev-password.h:
851 * shell/ev-window.c: (password_dialog_response),
852 (ev_window_popup_password_dialog):
854 Support for gnome-keyring for encrypted PDF's.
856 2005-09-11 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
858 * shell/ev-view.c: (handle_link_over_xy), (ev_view_realize),
859 (ev_view_motion_notify_event), (ev_view_leave_notify_event),
860 (ev_view_enter_notify_event), (ev_view_class_init):
862 More precise handling of enter_notify/leave_notify events
863 in EvView. Fix for bug 315470.
865 2005-09-08 Christopher Aillon <caillon@redhat.com>
867 * shell/ev-window.c: (fullscreen_timeout_cb),
868 (fullscreen_set_timeout), (fullscreen_clear_timeout),
871 leak fix: unref fullscreen_timeout_source before clearing it
873 2005-09-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
875 * configure.ac, dvi/mdvi/Makefile.am:
877 Use lt1 instead lt1lib. Thanks to yselkowitz@users.sourceforge.net
879 2005-09-08 Marco Pesenti Gritti <mpg@redhat.com>
881 * backend/ev-link.c: (ev_link_new_page_xyz):
883 * shell/ev-view.c: (goto_xyz_link), (ev_view_goto_link):
885 Fix some bugs with xyz links, respect zoom
887 2005-09-08 Marco Pesenti Gritti <mpg@redhat.com>
889 * shell/ev-window.c: (page_changed_cb),
890 (setup_document_from_metadata), (update_sidebar_visibility),
891 (setup_view_from_metadata), (ev_window_run_fullscreen),
892 (ev_window_stop_fullscreen), (ev_window_run_presentation),
893 (ev_window_stop_presentation), (ev_window_continuous_changed_cb),
894 (ev_window_dual_mode_changed_cb),
895 (ev_window_sidebar_current_page_changed_cb):
897 null check uri before setting and getting metadata
899 2005-09-08 Marco Pesenti Gritti <mpg@redhat.com>
902 * properties/Makefile.am:
904 * thumbnailer/Makefile.am:
906 Some build fixes for cygwin. Patch by yselkowitz@users.sourceforge.net
908 2005-09-08 Marco Pesenti Gritti <mpg@redhat.com>
910 * shell/ev-sidebar-links.c: (ev_sidebar_links_class_init),
911 (selection_changed_callback):
912 * shell/ev-sidebar-links.h:
914 Add a signal for link activation.
916 * shell/ev-view.c: (ev_view_goto_link),
917 (ev_view_button_release_event):
919 * shell/ev-window.c: (sidebar_links_link_activated_cb),
922 Implement the signal so that we can handle all link types.
924 * shell/ev-page-cache.c:
926 Remove unused set_link function
928 2005-09-08 Marco Pesenti Gritti <mpg@redhat.com>
930 * lib/ev-tooltip.c: (ev_tooltip_set_position):
932 Add some space from the cursor, hardcoded but I couldnt
935 2005-09-07 Marco Pesenti Gritti <mpg@redhat.com>
939 Use mozilla style vs gtk style, way better for links.
941 * shell/ev-view.c: (ev_view_motion_notify_event),
942 (ev_view_destroy), (ev_view_init):
944 Deactive tooltip when the link hovered is changed.
946 2005-09-07 Marco Pesenti Gritti <mpg@redhat.com>
948 * backend/ev-document.h:
949 * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_top),
950 (ev_link_get_left), (ev_link_get_zoom), (ev_link_get_property),
951 (ev_link_set_property), (ev_window_dispose), (ev_link_class_init),
952 (ev_link_new_page), (ev_link_new_page_xyz):
955 * shell/ev-view.c: (doc_point_to_view_point), (scroll_to_xyz_link),
956 (go_to_link), (tip_from_link):
958 Implement xyz links, still not functional. Links are a total
959 mess, will need to refactor and bugfix a lot :(
961 2005-09-05 Alessio Frusciante <algol@firenze.linux.it>
963 * configure.ac: Added "it" (Italian) to ALL_LINGUAS.
965 2005-09-05 Marco Pesenti Gritti <mpg@redhat.com>
967 * data/evince-ui.xml:
968 * data/evince.schemas.in:
970 * shell/ev-window.c: (update_chrome_visibility),
971 (password_dialog_response), (ev_window_load_job_cb),
972 (ev_window_xfer_job_cb), (ev_window_open_uri),
973 (ev_window_class_init), (set_chrome_actions), (load_chrome),
976 Remove the statusbar. This regress loading feedback, need to
977 check with Bryan what we want to do there...
979 2005-09-05 Marco Pesenti Gritti <mpg@redhat.com>
981 * lib/ev-tooltip.c: (ev_tooltip_init):
983 Fix tooltip border and size handling
985 2005-09-05 Marco Pesenti Gritti <mpg@redhat.com>
987 * lib/ev-tooltip.c: (ev_tooltip_dispose), (ev_tooltip_class_init),
988 (ev_tooltip_set_position), (ev_tooltip_recently_shown),
989 (ev_tooltip_timeout), (ev_tooltip_activate),
990 (ev_tooltip_deactivate):
992 * shell/ev-view.c: (ev_view_motion_notify_event):
994 Delay popup showing. Mirror gtk logic/times.
996 2005-09-03 Marco Pesenti Gritti <mpg@redhat.com>
999 * lib/ev-tooltip.c: (ev_tooltip_expose_event),
1000 (ev_tooltip_class_init), (ev_tooltip_init), (ev_tooltip_new),
1001 (ev_tooltip_set_text), (ev_tooltip_set_position):
1004 Simple widget to show tooltips at a custom position
1006 * shell/ev-view.c: (tip_from_link), (ev_view_motion_notify_event),
1009 Use it for links. First go, needs work
1011 2005-08-17 Dennis Cranston <dennis_cranston@yahoo.com>
1013 * shell/ev-window.c: (ev_window_cmd_edit_toolbar): A couple small
1014 HIG fixes. Use title capitalization for window title. Use 12
1015 pixels of space between the dialog's vbox and action area.
1017 2005-09-02 Marco Pesenti Gritti <mpg@redhat.com>
1019 * shell/ev-window.c: (file_open_dialog_response_cb),
1020 (ev_window_cmd_file_open), (file_save_dialog_response_cb),
1021 (ev_window_cmd_save_as):
1023 Make file pickers not modal and refactor code some
1025 2005-09-02 Marco Pesenti Gritti <mpg@redhat.com>
1027 * shell/ev-sidebar.h:
1028 * shell/ev-sidebar.c: (ev_sidebar_set_property),
1029 (ev_sidebar_get_current_page), (ev_sidebar_get_property),
1030 (ev_sidebar_class_init), (ev_sidebar_select_page),
1031 (ev_sidebar_menu_item_activate_cb), (ev_sidebar_new),
1032 (ev_sidebar_set_page):
1034 Add a current page property and allow to get/set it
1036 * shell/ev-window.c: (setup_view_from_metadata),
1037 (ev_window_sidebar_current_page_changed_cb), (ev_window_init):
1039 Persist current sidebar page per document
1041 2005-09-02 Marco Pesenti Gritti <mpg@redhat.com>
1043 * data/evince.schemas.in:
1044 * shell/ev-window.c: (update_chrome_visibility),
1045 (setup_document_from_metadata), (update_sidebar_visibility),
1046 (setup_view_from_metadata), (ev_window_sidebar_position_change_cb),
1047 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
1048 (ev_window_run_presentation), (ev_window_stop_presentation),
1049 (ev_window_view_sidebar_cb),
1050 (ev_window_sidebar_visibility_changed_cb), (set_chrome_actions),
1051 (load_chrome), (ev_window_init):
1053 Persist size/visibility of sidebar per document
1055 Fri Sep 2 00:59:55 2005 Jonathan Blandford <jrb@redhat.com>
1057 * shell/ev-view.c (draw_loading_text): Draw loading text.
1059 2005-09-02 Dan Damian <dand@gnome.ro>
1061 * configure.in: Added "ro" to ALL_LINGUAS.
1063 2005-09-01 Marco Pesenti Gritti <mpg@redhat.com>
1065 * shell/ev-view.c: (clear_caches):
1067 ev_page_cache_get doesnt return a reference,
1068 dont try to unref it.
1070 2005-09-01 Marco Pesenti Gritti <mpg@redhat.com>
1072 * shell/main.c: (load_files_remote):
1074 Fix timestamp parameter with dbus <= 0.33
1076 2005-08-31 Marco Pesenti Gritti <mpg@redhat.com>
1078 * data/evince.schemas.in:
1080 Add missing full stop
1082 2005-08-31 Hiroyuki Ikezoe <poincare@ikezoe.net>
1084 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info):
1085 * shell/ev-window.c: (ev_window_print_range), (ev_window_dispose):
1087 Plug some memory leaks
1089 2005-08-29 Christian Persch <chpe@cvs.gnome.org>
1092 * lib/ev-debug.c: (trap_handler):
1094 Check for execinfo.h and use it only if it exists.
1095 Ported from Epiphany (bug #314776).
1097 2005-08-29 Duarte Loreto <happyguy_pt@hotmail.com>
1099 * configure.ac: Added Portuguese (pt) to ALL_LINGUAS.
1101 2005-08-27 Mohammad DAMT <mdamt@gnome.org>
1103 * configure.ac: Added Indonesian "id" to ALL_LINGUAS
1104 * po/id.po : Added Indonesian translation
1106 Fri Aug 26 00:45:09 2005 Jonathan Blandford <jrb@redhat.com>
1109 * shell/ev-application.c: Last minute GTK-2.6 fixes.
1110 * NEWS: Release 0.4.0
1112 Thu Aug 25 23:40:23 2005 Jonathan Blandford <jrb@redhat.com>
1114 * configure.ac: catch another gtk+-2.8ism
1115 * shell/main.c: Make work with gtk+-2.6
1117 2005-08-25 Ryan Lortie <desrt@desrt.ca>
1119 * shell/ev-application-service.xml: Add 'timestamp' argument to
1120 ev_application_open_window and ev_application_open_uri methods.
1122 * shell/ev-application.h: Add 'timestamp' argument to
1123 ev_application_open_window, ev_application_open_uri,
1124 and ev_application_open_uri_list functions.
1126 * shell/ev-application.c (ev_application_open_window,
1127 ev_application_open_uri, ev_application_open_uri_list): Change
1128 functions that show/present windows to use a timestamp if one
1131 * shell/ev-window.c (ev_window_cmd_file_open,
1132 ev_window_cmd_recent_file_activate, drag_data_received_cb):
1133 * shell/main.c (load_files): Modify calls to ev_application to
1134 include GDK_CURRENT_TIME as timestamp.
1136 * shell/main.c (load_files_remote): Obtain timestamp for client
1137 instance from GDK and pass to server instance so new windows are
1138 focused properly. Fix dbus_g_proxy_call() calls by including second
1143 Thu Aug 25 22:13:08 2005 Jonathan Blandford <jrb@redhat.com>
1145 * shell/ev-window.c (ev_window_finalize): Check for
1146 avail. EvWindows when quiting to handle the finalize better,
1149 2005-08-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1151 * properties/ev-properties-view.c:
1153 Set textdomain to libglade. Fixes translation problem in property page.
1155 2005-08-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1157 * djvu/djvu-document.c: (djvu_document_thumbnails_get_thumbnail):
1159 * dvi/dvi-document.c: (dvi_document_thumbnails_get_thumbnail):
1160 * dvi/mdvi-lib/Makefile.am:
1162 Fix rotation of thumbnails, ported to new API. Moved library
1163 dependencies earlier, probably it will fix linkage problem.
1165 Thu Aug 25 02:32:32 2005 Jonathan Blandford <jrb@redhat.com>
1167 * backend/ev-document-misc.c:
1168 (ev_document_misc_get_thumbnail_frame):
1169 * backend/ev-document-misc.h:
1171 * pdf/ev-poppler.cc:
1172 * shell/Makefile.am:
1173 * shell/ev-sidebar-thumbnails.c: (add_range),
1174 (ev_sidebar_thumbnails_set_loading_icon),
1175 (ev_sidebar_thumbnails_refresh),
1176 (ev_sidebar_thumbnails_set_document):
1177 * shell/ev-sidebar-thumbnails.h:
1178 * shell/ev-view.c: (ev_view_motion_notify_event),
1179 (ev_view_set_property), (ev_view_get_property),
1180 (ev_view_class_init), (ev_view_set_rotation):
1181 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
1182 (ev_window_cmd_edit_rotate_right), (ev_window_rotation_changed_cb),
1184 * tiff/tiff-document.c: (tiff_document_thumbnails_get_thumbnail):
1185 Redo rotation (again). prepare for 0.4.0
1187 2005-08-24 Kristian Høgsberg <krh@redhat.com>
1189 * configure.ac: Bump poppler requirement to 0.4.1.
1191 * pdf/ev-poppler.cc (pdf_selection_render_selection): Add rotation
1192 argument to poppler_page_render_selection() call.
1194 2005-08-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1196 * djvu/djvu-document.c: (djvu_document_render_pixbuf),
1197 (djvu_document_thumbnails_get_thumbnail):
1198 * dvi/dvi-document.c: (dvi_document_render_pixbuf),
1199 (dvi_document_thumbnails_get_thumbnail):
1200 * pixbuf/pixbuf-document.c: (pixbuf_document_render_pixbuf),
1201 (pixbuf_document_thumbnails_get_thumbnail):
1202 * tiff/tiff-document.c: (tiff_document_render_pixbuf):
1204 Update rotation direction of backends to fit with pdf and ps.
1206 2005-08-24 Marco Pesenti Gritti <mpg@redhat.com>
1208 * backend/ev-async-renderer.c: (ev_async_renderer_render_pixbuf):
1209 * backend/ev-async-renderer.h:
1210 * ps/ps-document.c: (ps_document_init), (setup_pixmap),
1211 (setup_page), (ps_document_get_page_size),
1212 (ps_async_renderer_render_pixbuf):
1214 * shell/ev-jobs.c: (ev_job_render_run):
1216 Fix orientation in the postscript document
1218 2005-08-23 Marco Pesenti Gritti <mpg@redhat.com>
1220 * pdf/ev-poppler.cc:
1221 * ps/ps-document.c: (push_pixbuf), (ps_document_widget_event):
1222 * shell/ev-view.c: (highlight_find_results):
1224 Adapt to the new poppler rotation API. Fix text maps on landscape
1227 Sat Aug 20 17:13:48 2005 Jonathan Blandford <jrb@redhat.com>
1229 * shell/ev-view.c (compute_new_selection_text): get the correct
1230 region when selecting in modes other than continuous.
1232 Sat Aug 20 13:10:01 2005 Jonathan Blandford <jrb@redhat.com>
1234 * shell/main.c (main): remove redundant g_warnings.
1236 2005-08-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1238 * shell/Makefile.am: Don't include autogenerated
1239 file ev-application-service.h into distribution, since
1240 it causes dbus crash. Fix for bugs 313724 and 313443.
1242 2005-08-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1244 * configure.ac: Fix sed expression for FreeBSD. Thanks
1245 to Joe Marcus Clark <marcus@freebsd.org>
1247 * shell/eggfindbar.c: (entry_activate_callback),
1248 (entry_changed_callback), (egg_find_bar_init),
1249 (egg_find_bar_set_search_string):
1251 Made findbar buttons unsensitive if there is no text in
1252 entry. Fix for the bug 313285.
1254 2005-08-17 Carlos Garcia Campos <carlosgc@gnome.org>
1256 * ps/ps-document.c: Use g_filename_display_name for displaying
1257 filenames and revert string freeze breackage
1259 2005-08-17 Marco Pesenti Gritti <mpg@redhat.com>
1266 * shell/Makefile.am:
1268 Add ev-application-service.xml to extra dist
1270 * shell/ev-view.c: (find_page_at_location):
1272 Remove unused function (fix warning)
1274 2005-08-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1276 * dvi/mdvi-lib/t1.c: (t1_reset_resolution), (t1_really_load_font),
1277 (t1_load_font), (t1_glyph_bitmap), (t1_font_remove):
1279 Fix warnings and compilation with t1lib-5.0 and newer. Fix for
1282 2005-08-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1284 * shell/ev-utils.c: (set_umask_permissions), (write_to_temp_file):
1285 * shell/ev-window.c:
1288 2005-08-16 Carlos Garcia Campos <carlosgc@gnome.org>
1290 * configure.ac: Update script to get dbus version.
1291 Fix for the bug #313443.
1293 2005-08-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1295 * shell/ev-window.c: (ev_window_cmd_escape):
1297 Return focus back to view on escape. Fix for bug 313295.
1299 2005-08-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1301 * shell/ev-window.c: (update_window_title),
1302 (ev_window_popup_password_dialog), (ev_window_load_job_cb),
1303 (ev_window_cmd_save_as):
1305 Correct conversion from uri to displayable string. Fix for
1308 2005-08-16 Carlos Garcia Campos <carlosgc@gnome.org>
1310 * ps/ps-document.c: convert filename to utf8 when there is an error
1311 loading document. Fixes #309915
1313 2005-08-16 Marco Pesenti Gritti <mpg@redhat.com>
1317 We depend on poppler 0.4.0
1319 Mon Aug 15 21:53:05 2005 Jonathan Blandford <jrb@redhat.com>
1322 * NEWS: Release 0.3.3.
1323 * thumbnailer/evince-thumbnailer.c: Remove pdf icon.
1325 2005-08-14 Dennis Cranston <dennis_cranston@yahoo.com>
1327 * shell/ev-window.c: (ev_window_cmd_file_open): HIG fixes:
1328 add a couple missing mnemonics to menu items, use title
1329 capitalization for menu items and window titles, and add
1330 ellipsis to open menu item.
1332 Mon Aug 15 00:40:21 2005 Jonathan Blandford <jrb@redhat.com>
1334 * pdf/ev-poppler.cc:
1335 * shell/ev-metadata-manager.c: (ev_metadata_manager_init):
1336 * shell/ev-view.c: (ev_view_rotate_left), (ev_view_set_rotation),
1337 (ev_view_get_rotation):
1339 * shell/ev-window.c: (setup_view_from_metadata),
1340 (save_rotation_to_file), (ev_window_cmd_edit_rotate_left),
1341 (ev_window_cmd_edit_rotate_right): Fix rotation. Save it to
1344 2005-08-14 Baris Cicek <baris@teamforce.name.tr>
1346 * configure.ac: Added tr to ALL_LINGUAS
1348 2005-08-12 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1350 * shell/ev-view.c: Fix for bug Bug 311838. Search backward
1351 requires several clicks to find word. Thanks to
1352 Colin Slater <kiltedtaco@gmail.com>.
1354 2005-08-11 Bryan Clark <clarkbw@cvs.gnome.org>
1356 * data/evince.desktop.in.in: Hide menu entry and
1357 rename it to "Document Viewer". Fix for bug
1360 2005-08-11 Crispin Flowerday <gnome@flowerday.cx>
1362 * shell/ev-page-action.c (ev_page_action_class_init):
1364 Point to the correct function in constructor of the
1365 activate_label signal
1367 Tue Aug 9 02:17:13 2005 Jonathan Blandford <jrb@redhat.com>
1369 * shell/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
1370 * shell/ev-jobs.h: Make thread safe.
1372 2005-08-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1374 * shell/ev-view.c: (view_update_range_and_current_page):
1375 Don't update page range if we are scrolling to some document
1378 2005-08-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1380 * shell/ev-view.c: (get_page_extents): reverse rotation/scale
1381 when getting max_page_width, fix drawing in dual mode.
1383 Sun Aug 7 02:06:08 2005 Jonathan Blandford <jrb@redhat.com>
1385 * shell/ev-view.c (ev_view_select_all): reverse rotation/page when
1386 getting the area for select_all.
1388 2005-08-06 Kristian Høgsberg <krh@redhat.com>
1390 * backend/ev-selection.c: (ev_selection_render_selection):
1391 * backend/ev-selection.h:
1392 * pdf/ev-poppler.cc:
1393 * shell/ev-jobs.c: (ev_job_render_new):
1395 * shell/ev-pixbuf-cache.c: (get_selection_colors),
1396 (add_job_if_needed), (ev_pixbuf_cache_get_selection_pixbuf):
1397 * shell/ev-view.c: (ev_view_focus_in), (ev_view_focus_out),
1398 (ev_view_class_init):
1400 Change selection color on focus in and focus out events. Also,
1401 poppler now uses GdkColor for specifying the selection colors, so
1402 drop some awkward conversion code.
1404 2005-08-06 Yair Hershkovitz <yairhr@gmail.com>
1406 * configure.ac: Added Hebrew translation
1408 Sat Aug 6 01:12:44 2005 Jonathan Blandford <jrb@redhat.com>
1411 * backend/ev-selection.c: (ev_selection_render_selection):
1412 * backend/ev-selection.h:
1413 * pdf/ev-poppler.cc:
1414 * shell/ev-jobs.c: (ev_job_render_dispose), (ev_job_render_new),
1415 (ev_job_render_run):
1417 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info),
1418 (ev_pixbuf_cache_new), (job_finished_cb), (add_job_if_needed),
1419 (convert_gdk_color_to_uint), (ev_pixbuf_cache_get_text_mapping),
1420 (ev_pixbuf_cache_style_changed),
1421 (ev_pixbuf_cache_get_selection_pixbuf),
1422 (ev_pixbuf_cache_set_selection_list),
1423 (ev_pixbuf_cache_get_selection_list):
1424 * shell/ev-pixbuf-cache.h:
1425 * shell/ev-utils.c: (ev_print_region_contents):
1427 * shell/ev-view.c: (ev_view_queue_draw_page),
1428 (selection_update_idle_cb), (ev_view_motion_notify_event),
1429 (ev_view_style_set), (draw_one_page), (ev_view_class_init),
1430 (setup_caches), (ev_view_find_next), (merge_selection_region),
1432 * shell/ev-window.c: (ev_window_update_fullscreen_popup):
1434 Clean up selection to be much smoother!
1436 2005-08-05 Kristian Høgsberg <krh@redhat.com>
1438 * pdf/ev-poppler.cc (pdf_selection_render_selection): Pass colors
1439 to poppler_page_render_selection().
1441 2005-08-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1443 * ps/ps-document.c: (save_page_list): Use
1444 unzipped document when printing. Thanks to
1445 Colin Slater <kiltedtaco@gmail.com>. Fix for bug
1448 2005-08-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1450 * shell/ev-window.c: (update_action_sensitivity):
1452 Disable print and save respect to lockdown gconf keys. Fix
1455 2005-08-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1458 * shell/ev-utils.c: (rename_file), (set_umask_permissions),
1459 (write_to_temp_file), (ev_file_set_contents):
1461 * shell/ev-window.c: (save_print_config_to_file):
1463 Copy-paste g_file_set_contents to keep compatibility with gtk 2.6
1466 2005-07-31 Christian Persch <chpe@cvs.gnome.org>
1468 * shell/ev-window.c: (load_print_config_from_file),
1469 (save_print_config_to_file), (ev_window_print_range):
1471 Persist the print settings. Fixes bug #311578.
1473 2005-07-31 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1475 * djvu/djvu-document.c: (djvu_document_get_page_size),
1476 (djvu_document_render_pixbuf), (djvu_document_document_iface_init),
1477 (djvu_document_thumbnails_get_thumbnail):
1478 * dvi/dvi-document.c: (dvi_document_get_page_size),
1479 (dvi_document_render_pixbuf), (dvi_document_document_iface_init),
1480 (dvi_document_thumbnails_get_dimensions),
1481 (dvi_document_thumbnails_get_thumbnail):
1482 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size),
1483 (pixbuf_document_render_pixbuf),
1484 (pixbuf_document_document_iface_init),
1485 (pixbuf_document_thumbnails_get_thumbnail):
1487 Update backends to make them build with new rotation system.
1489 2005-07-31 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1491 * help/C/figures/evince_start_window.png:
1493 Update documentation image from Luca Ferretti <elle.uca@libero.it>
1495 Sat Jul 30 19:09:34 2005 Jonathan Blandford <jrb@redhat.com>
1497 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_clear):
1498 * shell/ev-pixbuf-cache.h:
1499 * shell/ev-sidebar-thumbnails.c:
1500 (ev_sidebar_thumbnails_get_property), (add_range),
1501 (adjustment_changed_cb):
1502 * shell/ev-view.c: (ev_view_set_rotation): Fix rotation and the
1503 pixbuf cache. Make thumbnailing work again. Also, fix bug where
1504 we were thumbnailing the entire docment on startup, slowing us
1507 Fri Jul 29 23:14:28 2005 Jonathan Blandford <jrb@redhat.com>
1509 * shell/ev-page-cache.c: (ev_page_cache_new):
1510 * shell/ev-window.c: (update_action_sensitivity): Handle n_pages
1511 == 0, fixes #310306.
1513 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
1515 * shell/ev-view.c: (doc_rect_to_view_rect), (ev_view_rotate_right),
1516 (ev_view_rotate_left):
1518 Account rotation in doc_rect_to_view_rect.
1519 Ensure rotation doesnt go out of bounds.
1521 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
1523 * shell/ev-page-cache.c: (ev_page_cache_get_size):
1525 Correct and cleanup w/h swapping
1527 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
1529 * backend/ev-document-thumbnails.c:
1530 (ev_document_thumbnails_get_thumbnail):
1531 * backend/ev-document-thumbnails.h:
1532 * backend/ev-document.c:
1533 * backend/ev-document.h:
1534 * backend/ev-render-context.c: (ev_render_context_new),
1535 (ev_render_context_set_rotation):
1536 * backend/ev-render-context.h:
1537 * pdf/ev-poppler.cc:
1538 * ps/ps-document.c: (ps_document_document_iface_init):
1539 * shell/ev-jobs.c: (ev_job_thumbnail_new), (ev_job_thumbnail_run):
1541 * shell/ev-page-cache.c: (build_height_to_page),
1542 (ev_page_cache_new), (ev_page_cache_get_size),
1543 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
1544 (ev_page_cache_get_height_to_page):
1545 * shell/ev-page-cache.h:
1546 * shell/ev-pixbuf-cache.c: (check_job_size_and_unref),
1547 (add_job_if_needed), (ev_pixbuf_cache_add_jobs_if_needed),
1548 (ev_pixbuf_cache_set_page_range), (new_selection_pixbuf_needed),
1549 (ev_pixbuf_cache_get_selection_pixbuf):
1550 * shell/ev-pixbuf-cache.h:
1551 * shell/ev-print-job.c: (idle_print_handler):
1552 * shell/ev-sidebar-thumbnails.c: (add_range):
1553 * shell/ev-view.c: (view_update_range_and_current_page),
1554 (get_page_y_offset), (get_page_extents),
1555 (ev_view_size_request_continuous_dual_page),
1556 (ev_view_size_request_continuous),
1557 (ev_view_size_request_dual_page),
1558 (ev_view_size_request_single_page), (draw_one_page),
1559 (ev_view_set_rotation), (ev_view_rotate_right),
1560 (ev_view_rotate_left), (ev_view_zoom_for_size_presentation),
1561 (ev_view_zoom_for_size_continuous_and_dual_page),
1562 (ev_view_zoom_for_size_continuous),
1563 (ev_view_zoom_for_size_dual_page),
1564 (ev_view_zoom_for_size_single_page), (compute_new_selection_text),
1565 (ev_view_select_all):
1566 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
1567 * tiff/tiff-document.c: (tiff_document_render_pixbuf),
1568 (tiff_document_document_iface_init),
1569 (tiff_document_thumbnails_get_thumbnail):
1571 Use rotation rather than orientation. It's easier and enough
1574 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
1576 * shell/ev-page-cache.c: (build_height_to_page),
1577 (ev_page_cache_new), (ev_page_cache_get_size),
1578 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
1579 (ev_page_cache_get_height_to_page):
1580 * shell/ev-page-cache.h:
1581 * shell/ev-view.c: (get_page_y_offset), (get_page_extents),
1582 (ev_view_size_request_continuous_dual_page),
1583 (ev_view_size_request_continuous),
1584 (ev_view_zoom_for_size_continuous_and_dual_page),
1585 (ev_view_zoom_for_size_continuous):
1587 Make the page cache aware of page orientation.
1589 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
1591 * backend/ev-document-thumbnails.c:
1592 (ev_document_thumbnails_get_thumbnail):
1593 * backend/ev-document-thumbnails.h:
1594 * backend/ev-document.c:
1595 * backend/ev-document.h:
1596 * backend/ev-ps-exporter.c: (ev_ps_exporter_do_page):
1597 * backend/ev-ps-exporter.h:
1598 * pdf/ev-poppler.cc:
1599 * ps/ps-document.c: (ps_document_document_iface_init),
1600 (ps_document_ps_export_do_page):
1601 * shell/ev-jobs.c: (ev_job_thumbnail_new), (ev_job_thumbnail_run):
1603 * shell/ev-page-cache.c: (ev_page_cache_get_size),
1604 (ev_page_cache_get):
1605 * shell/ev-page-cache.h:
1606 * shell/ev-pixbuf-cache.c: (check_job_size_and_unref),
1607 (add_job_if_needed), (ev_pixbuf_cache_add_jobs_if_needed),
1608 (ev_pixbuf_cache_set_page_range), (new_selection_pixbuf_needed):
1609 * shell/ev-pixbuf-cache.h:
1610 * shell/ev-print-job.c: (idle_print_handler):
1611 * shell/ev-sidebar-thumbnails.c: (add_range):
1612 * shell/ev-view.c: (view_update_range_and_current_page),
1613 (get_page_extents), (ev_view_size_request_dual_page),
1614 (ev_view_size_request_single_page), (draw_one_page),
1615 (clear_caches), (ev_view_set_orientation), (ev_view_rotate_right),
1616 (ev_view_rotate_left), (ev_view_zoom_for_size_presentation),
1617 (ev_view_zoom_for_size_dual_page),
1618 (ev_view_zoom_for_size_single_page), (compute_new_selection_text),
1619 (ev_view_select_all):
1620 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
1621 * tiff/tiff-document.c: (tiff_document_get_page_size),
1622 (tiff_document_get_orientation), (rotate_pixbuf),
1623 (tiff_document_render_pixbuf), (tiff_document_document_iface_init),
1624 (tiff_document_thumbnails_get_thumbnail),
1625 (tiff_document_ps_export_do_page), (tiff_document_init):
1627 Really make use of the orientation bit of the render context.
1628 Use the render context in a few more places in the backend API.
1629 This regress orientation, but now it's done right. Will try to
1632 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
1634 * shell/ev-view.c: (ensure_rectangle_is_visible):
1636 Patch by Nickolay V. Shmyrev to fix find flickering
1638 2005-07-27 Martin Kretzschmar <martink@gnome.org>
1640 * backend/ev-ps-exporter.h: add paper_width, paper_height, and
1641 duplex parameters to ::begin.
1643 * tiff/tiff-document.c (tiff_document_ps_export_begin):
1644 * shell/ev-print-job.c (idle_print_handler):
1645 * ps/ps-document.c (ps_document_ps_export_begin):
1646 * pdf/ev-poppler.cc (pdf_document_ps_exporter_begin):
1647 * backend/ev-ps-exporter.c (ev_ps_exporter_begin): update
1648 implementations. Poppler backend needs poppler cvs. Rest has
1651 2005-07-25 Martin Kretzschmar <martink@gnome.org>
1653 * shell/ev-window.c (using_pdf_printer): new function.
1654 (ev_window_print_range): print a less techy message if someone
1655 tries to print to PDF.
1657 2005-07-25 Martin Kretzschmar <martink@gnome.org>
1659 * pdf/ev-poppler.cc (font_type_to_string): Remove trailing space
1660 from "unknown font" string. Bug #311431
1662 2005-07-24 Martin Kretzschmar <martink@gnome.org>
1664 * help/es/.cvsignore, help/sr/.cvsignore: ignore xmlpo output.
1666 2005-07-24 Martin Kretzschmar <martink@gnome.org>
1670 * pdf/ev-poppler.cc (font_type_to_string): new, returns user readable
1671 name for PopplerFontTypes
1672 (pdf_document_fonts_fill_model): add font type to the detail column
1674 * backend/ev-document-fonts.h: added
1675 EV_DOCUMENT_FONTS_COLUMN_DETAILS.
1677 * shell/ev-properties-fonts.c (font_cell_data_func): glue together
1678 font name and font details, add a little markup.
1679 (ev_properties_fonts_init): use the new cell data func, specify ypad
1680 property for the cell renderer.
1681 (ev_properties_fonts_set_document): add the details column.
1683 2005-07-24 Artur Flinta <aflinta@cvs.gnome.org>
1685 * configure.ac: Added "pl" to ALL_LINGUAS.
1687 2005-07-24 Danilo Šegan <danilo@gnome.org>
1689 * configure.ac: Added "sr" and "sr@Latn" to ALL_LINGUAS.
1691 2005-07-23 Tommi Vainikainen <thv@iki.fi>
1693 * help/ChangeLog: Started this for translations of manual.
1694 * configure.ac, autogen.sh, .cvsignore: Migrated to
1695 gnome-doc-utils. Patch in bug #311222.
1697 2005-07-22 Martin Kretzschmar <martink@gnome.org>
1699 * backend/ev-document-factory.c (mime_type_supported_by_gdk_pixbuf):
1700 #ifdef this away to fix an unused-function warning.
1702 2005-07-22 Ignacio Casal Quinteiro <nacho.resa@gmail.com>
1704 * configure.ac: Added 'gl' to ALL_LINGUAS.
1706 2005-07-22 Pawan Chitrakar <pawan@nplinux.org>
1708 * configure.ac: Added ne in ALL_LINGUAS
1710 2005-07-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1712 * shell/ev-view.c: (ev_view_leave_notify_event):
1714 Clear status message when pointer leaves view. Fix for bug
1717 2005-07-20 Ankit Patel <ankit644@yahoo.com>
1719 * configure.ac: Gujarati (gu) added to ALL_LINGUAS
1721 2005-07-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1723 * shell/ev-view.c: (ev_view_leave_notify_event),
1724 (ev_view_class_init):
1726 Set cursor to normal then leaving view.
1728 2005-07-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1732 Fix required djvulibre version.
1734 2005-07-15 Rajesh Ranjan <rajeshkajha@yahoo.com>
1736 *configure.ac: Hindi (hi) language added
1738 2005-07-15 Amanpreet Singh Brar <amanpreetalam@yahoo.com>
1740 *configure.ac: Punjabi (pa) Language added
1742 2005-07-12 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1744 * data/evince-ui.xml, shell/ev-window.c:
1746 Add keypad accelerators for zooming. Fix for bug 308128.
1748 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
1751 * backend/Makefile.am:
1752 * backend/ev-document-factory.c: (ev_document_type_get_from_mime):
1754 * shell/ev-document-types.c: (ev_document_types_add_filters):
1756 Allow to enable/disable the pixbuf backend.
1757 Default to off for now. If we want it enabled we should
1758 really put mime types in the desktop, implement properties etc.
1760 * properties/evince-properties.c:
1762 Initialize error to NULL.
1763 Check error is not NULL before freeing.
1765 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
1767 * shell/ev-window.c:
1769 Use F5 as presentation accell
1771 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
1773 * shell/ev-window.c: (update_chrome_visibility),
1774 (ev_window_create_fullscreen_popup), (ev_window_init):
1776 Do not leak the fullscreen toolbar
1778 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
1780 * shell/ev-window.c: (view_actions_focus_in_cb),
1781 (view_actions_focus_out_cb):
1783 These has a return value! Fix totally random focus
1784 issues we was seeing.
1786 2005-07-11 Carlos Garcia Campos <carlosgc@gnome.org>
1788 * shell/main.c: (load_files_remote):
1790 Allow open more than one file
1792 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
1794 * shell/main.c: (load_files_remote):
1796 Fix for dbus 0.33. bug #309975
1798 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
1800 * properties/ev-properties-main.c: (ev_properties_get_pages):
1802 Actually return NULL for types we dont support
1804 2005-07-08 Christian Persch <chpe@cvs.gnome.org>
1810 2005-07-08 Marco Pesenti Gritti <marco@gnome.org>
1812 * backend/ev-document-factory.c:
1813 (ev_document_factory_get_document):
1815 Do not try to create the object if type
1818 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
1820 * ps/ps-document.c: (ps_document_dispose),
1821 (ps_async_renderer_render_pixbuf):
1824 Do not leak the target window
1826 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
1828 * shell/ev-application.c: (ev_application_init):
1830 Let tbe check file existence for us.
1831 Add a comment about eggrecent mime filter.
1833 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
1835 * data/evince-ui.xml:
1836 * shell/ev-application.c: (ev_application_shutdown),
1837 (ev_application_init), (ev_application_get_toolbars_model),
1838 (ev_application_get_recent_model),
1839 (ev_application_save_toolbars_model):
1840 * shell/ev-application.h:
1841 * shell/ev-window.c: (ev_window_add_recent),
1842 (ev_window_setup_recent), (ev_window_cmd_edit_toolbar_cb),
1843 (ev_window_cmd_edit_toolbar), (ev_window_dispose),
1846 Use common toolbar and recent models for all windows.
1847 Patch by Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1849 Thu Jul 7 23:10:01 2005 Jonathan Blandford <jrb@redhat.com>
1851 * configure.ac: add FRONTEND_CORE_LIBS to evince_save_LIBS so we
1852 successfully check for gtk_icon_view_get_visible_range.
1854 2005-07-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1859 Fix djvu and dvi backend build.
1861 2005-07-07 Christian Persch <chpe@cvs.gnome.org>
1863 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c: (new_pixbuf_from_widget),
1864 (new_separator_pixbuf):
1868 2005-07-07 Christian Persch <chpe@cvs.gnome.org>
1870 * shell/ev-window.c: (ev_window_cmd_edit_toolbar):
1872 HIGification of toolbar editor dialogue.
1874 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1877 * shell/Makefile.am:
1879 Ever build metadata manager since it's just
1880 disabled at runtime now.
1882 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1884 * shell/ev-metadata-manager.c: (ev_metadata_manager_init),
1885 (ev_metadata_manager_get), (ev_metadata_manager_set):
1886 * shell/ev-metadata-manager.h:
1888 Add an _init functions that enabled metadata management
1891 * shell/ev-window.c: (page_changed_cb),
1892 (setup_document_from_metadata), (ev_window_setup_document),
1893 (setup_view_from_metadata), (ev_window_open_uri),
1894 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
1895 (ev_window_run_presentation), (ev_window_stop_presentation),
1896 (save_sizing_mode), (ev_window_zoom_changed_cb),
1897 (ev_window_continuous_changed_cb),
1898 (ev_window_dual_mode_changed_cb), (window_state_event_cb),
1899 (window_configure_event_cb):
1901 Remove all ugly metadata define since we deal with it
1904 * shell/main.c: (load_files_remote), (main):
1906 Add support for dbus cvs head. Hopefully didnt break one
1907 of the other versions now!
1909 If we dont get a response from the dbus server just
1910 give up with it and not enable metadata.
1912 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1915 * backend/Makefile.am:
1917 * cut-n-paste/recent-files/Makefile.am:
1918 * cut-n-paste/toolbar-editor/Makefile.am:
1919 * cut-n-paste/zoom-control/Makefile.am:
1922 * pixbuf/Makefile.am:
1923 * properties/Makefile.am:
1925 * shell/Makefile.am:
1926 * thumbnailer/Makefile.am:
1929 Make frontends depend on just libev.
1930 Rework and group CFLAGS/LIBS definitions.
1933 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1937 do not unnecessarily save zoom
1940 * lib/ev-file-helpers.c: (ev_dot_dir):
1941 * shell/Makefile.am:
1946 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1950 Remove unnecessary dependencies
1952 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1954 * properties/Makefile.am:
1955 * thumbnailer/Makefile.am:
1958 Some more cleanups. Was really necessary
1959 but I probably introduced bugs, feel free
1962 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1964 * backend/Makefile.am:
1966 * cut-n-paste/recent-files/Makefile.am:
1967 * cut-n-paste/toolbar-editor/Makefile.am:
1968 * cut-n-paste/zoom-control/Makefile.am:
1971 * pixbuf/Makefile.am:
1972 * properties/Makefile.am:
1974 * shell/Makefile.am:
1975 * thumbnailer/Makefile.am:
1978 Use gnome-common macros when possible.
1979 Cleanup dependencies.
1980 Actually disable deprecated where possible.
1982 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1985 * backend/Makefile.am:
1986 * properties/Makefile.am:
1987 * shell/Makefile.am:
1988 * thumbnailer/Makefile.am:
1990 This should solve the circular dep without
1991 requiring dir reorg!
1993 * shell/ev-window.c: (setup_view_from_metadata):
1995 Never restore window size/position when the
1996 window is already visible.
1998 2005-07-06 Christian Persch <chpe@cvs.gnome.org>
2000 * shell/ev-metadata-manager.c: (ev_metadata_manager_save):
2002 Return a boolean from timeout func. Fix ported from gedit.
2004 2005-07-07 Iñaki Larrañaga <dooteo@euskalgnu.org>
2006 * configure.ac: Added "eu" (Basque) to ALL_LINGUAS.
2008 2005-07-06 Carlos Garcia Campos <carlosgc@gnome.org>
2010 * shell/ev-document-types.c: set "All Documents" as default filter in
2013 2005-07-06 Martin Kretzschmar <martink@gnome.org>
2015 * shell/ev-metadata-manager.c (ev_metadata_manager_set_int)
2016 (ev_metadata_manager_set_double, ev_metadata_manager_set_string)
2017 (ev_metadata_manager_set_boolean): fix value/val thinko.
2019 2005-07-06 Marco Pesenti Gritti <mpg@redhat.com>
2021 * shell/ev-window.c: (setup_view_from_metadata),
2022 (window_state_event_cb), (window_configure_event_cb),
2025 Remember window position and maximized state
2027 2005-07-06 Christian Persch <chpe@cvs.gnome.org>
2031 Fix DBUS configure checks.
2033 * shell/ev-metadata-manager.c: (ev_metadata_manager_set_int),
2034 (ev_metadata_manager_set_double), (ev_metadata_manager_set_string),
2035 (ev_metadata_manager_set_boolean):
2039 * shell/ev-window.c: (page_changed_cb), (ev_window_run_fullscreen),
2040 (ev_window_stop_fullscreen), (ev_window_run_presentation),
2041 (ev_window_stop_presentation), (ev_window_zoom_changed_cb),
2042 (ev_window_continuous_changed_cb),
2043 (ev_window_dual_mode_changed_cb), (ev_window_new):
2045 Fix the build without DBUS.
2047 2005-07-06 Marco Pesenti Gritti <mpg@redhat.com>
2049 * shell/ev-metadata-manager.c: (parse_value), (save_values),
2050 (ev_metadata_manager_set_int), (ev_metadata_manager_set_double),
2051 (ev_metadata_manager_set_string),
2052 (ev_metadata_manager_set_boolean):
2053 * shell/ev-metadata-manager.h:
2055 Add support for some more types
2057 * shell/ev-view.c: (scroll_to_current_page),
2058 (ev_view_get_continuous), (ev_view_set_continuous),
2059 (ev_view_get_dual_page):
2061 * shell/ev-window.c: (page_changed_cb),
2062 (setup_document_from_metadata), (ev_window_setup_document),
2063 (setup_view_from_metadata), (ev_window_open_uri),
2064 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
2065 (ev_window_run_presentation), (ev_window_stop_presentation),
2066 (save_sizing_mode), (ev_window_sizing_mode_changed_cb),
2067 (ev_window_zoom_changed_cb), (ev_window_update_continuous_action),
2068 (ev_window_update_dual_page_action),
2069 (ev_window_continuous_changed_cb),
2070 (ev_window_dual_mode_changed_cb), (ev_window_init):
2072 Remember a bunch of view/document properties. Prolly some
2073 are still missing but it's getting interesting.
2075 2005-07-05 Martin Kretzschmar <martink@gnome.org>
2077 * configure.ac: check if dbus-binding-tool is installed. Not the
2078 case on current Ubuntu breezy, it seems.
2080 2005-07-05 Luca Ferretti <elle.uca@libero.it>
2082 * data/evince.desktop.in.in:
2084 Allow open uri lists and add TryExec field.
2086 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
2090 Enable dbus when available, do not require a configure
2093 2005-07-05 Christian Persch <chpe@cvs.gnome.org>
2097 Use AM_CONDITIONAL unconditionally, fixes the build with DBUS
2100 2005-07-05 Carlos Garcia Campos <carlosgc@gnome.org>
2101 Marco Pesenti Gritti <mpg@redhat.com>
2103 * shell/Makefile.am: Add --prefix for dbus-binding-tool script
2105 * shell/ev-application.[ch], shell/ev-window.c: change dbus RPC
2106 functions to the format required by dbus
2108 * shell/main.c: use G_TYPE instead of DBUS_TYPE to fix compilation
2109 errors. Use the RPC parameters in the expected way
2111 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
2114 * properties/Makefile.am:
2115 * properties/ev-properties-main.c: (ev_properties_get_pages):
2117 Support all mime types
2119 * shell/Makefile.am:
2120 * thumbnailer/Makefile.am:
2121 * thumbnailer/evince-thumbnailer.c: (get_document_from_uri),
2122 (evince_thumbnail_pngenc_get):
2124 Use the document factory
2126 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
2128 * backend/Makefile.am:
2129 * backend/ev-document-factory.c:
2130 (mime_type_supported_by_gdk_pixbuf),
2131 (ev_document_type_get_from_mime),
2132 (ev_document_factory_get_document),
2133 (ev_document_factory_get_backend),
2134 (ev_document_factory_get_mime_types),
2135 (ev_document_factory_get_all_mime_types):
2136 * backend/ev-document-factory.h:
2137 * shell/Makefile.am:
2138 * shell/ev-document-types.c: (get_document_from_uri),
2139 (ev_document_types_get_document),
2140 (file_filter_add_mime_list_and_free),
2141 (ev_document_types_add_filters):
2142 * shell/ev-document-types.h:
2143 * shell/ev-job-xfer.c: (ev_job_xfer_run):
2144 * shell/ev-properties-dialog.c:
2145 (ev_properties_dialog_set_document):
2146 * shell/ev-window.c: (ev_window_cmd_file_open),
2147 (ev_window_cmd_save_as):
2148 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
2150 Rework document types managing to avoid code duplication
2151 and actually abstract from backend implementations.
2152 Also provide a minimal factory api that can be used by
2153 thumbnailer/properties.
2155 2005-07-05 Christian Persch <chpe@cvs.gnome.org>
2157 * properties/ev-properties-view.c: (ev_properties_view_set_info):
2159 * shell/ev-properties-dialog.c: (ev_properties_dialog_init):
2162 2005-07-04 Matthew S. Wilson <msw@rpath.com>
2164 * shell/ev-properties-dialog.c
2165 (ev_properties_dialog_set_document): only call
2166 ev_properties_fonts_set_document() if the document implements the
2169 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
2172 * properties/Makefile.am:
2173 * properties/ev-properties-view.c:
2174 (ev_properties_view_register_type):
2175 * properties/ev-properties-view.h:
2176 * properties/ev-properties-main.h:
2178 Implement nautilus plugin for properties.
2179 Works only for pdf atm, I need to rework the
2180 document types stuff to get this to work
2183 2005-07-04 Martin Kretzschmar <martink@gnome.org>
2185 * shell/ev-properties-fonts.c (enum): kill redundant columns enum
2186 (ev_properties_fonts_set_document): use
2187 EV_DOCUMENT_FONTS_COLUMN_NUM_COLUMNS.
2189 2005-07-04 Matthew S. Wilson <msw@rpath.com>
2191 * tiff/tiff2ps.c: remove TRUE and FALSE definitions, glib provides
2193 (PlaceImage, tiff2ps_process_page): use
2194 g_ascii_dtostr to convert floats to strings in a locale-safe way.
2197 2005-07-04 Martin Kretzschmar <martink@gnome.org>
2199 * shell/main.c: include libgnomeui/gnome-authentication-manager.h
2200 (main): to call gnome_authentication_manager_init. Should fix
2203 * configure.ac: that requires libgnomeui 2.6.0.
2205 2005-07-04 Matthew S. Wilson <msw@rpath.com>
2207 * tiff/tiff-document.c (tiff_document_ps_export_begin)
2208 (tiff_document_ps_export_do_page, tiff_document_ps_export_end):
2209 use the new tiff2ps interfaces
2211 * tiff/tiff2ps.h (tiff2ps_context_new, tiff2ps_process_page)
2212 (tiff2ps_context_finalize): implement new interfaces for tiff2ps
2214 * tiff/tiff2ps.c: refactor tiff2ps code to use a context
2215 structure instead of global variables. Remove use of static
2216 variables in functions.
2218 2005-07-04 Carlos Garcia Campos <carlosgc@gnome.org>
2220 * shell/ev-page-action.c: unref the completion after setting it to the
2223 2005-07-04 Matthew S. Wilson <msw@rpath.com>
2225 * tiff/tiff2ps.c (generateEPSF): disable generating encapsulated
2228 2005-07-04 Matthew S. Wilson <msw@rpath.com>
2230 * shell/ev-window.c (update_action_sensitivity): disable
2231 File->Print if the document does not implement the ps exporter
2234 2005-07-04 Marco Pesenti Gritti <mpg@redhat.com>
2238 * data/evince-properties.glade:
2239 * properties/.cvsignore:
2240 * properties/Makefile.am:
2241 * properties/ev-properties-view.c: (ev_properties_view_dispose),
2242 (ev_properties_view_class_init), (ev_properties_view_format_date),
2243 (make_valid_utf8), (set_property), (ev_properties_view_set_info),
2244 (ev_properties_view_init), (ev_properties_view_new):
2245 * properties/ev-properties-view.h:
2246 * shell/Makefile.am:
2247 * shell/ev-properties-dialog.c: (ev_properties_dialog_class_init),
2248 (ev_properties_dialog_init), (ev_properties_dialog_set_document),
2249 (ev_properties_dialog_new):
2250 * shell/ev-properties-dialog.h:
2251 * shell/ev-properties-fonts.c: (ev_properties_fonts_dispose),
2252 (ev_properties_fonts_class_init), (ev_properties_fonts_init),
2253 (update_progress_label), (job_fonts_finished_cb),
2254 (ev_properties_fonts_set_document), (ev_properties_fonts_new):
2255 * shell/ev-properties-fonts.h:
2256 * shell/ev-properties.c:
2257 * shell/ev-properties.h:
2258 * shell/ev-window.c: (ev_window_setup_document),
2259 (ev_window_cmd_file_properties):
2261 Split the properties pages in two different objects, depend
2262 only on the backend where possible, use widgets instead
2263 of gobject for the glade part, reimplement the dialog
2265 I need this to implement nautilus properties page.
2267 2005-07-03 Matthew S. Wilson <msw@rpath.com>
2269 * tiff/tiff-document.c (tiff_document_ps_export_begin)
2270 (tiff_document_ps_export_do_page, tiff_document_ps_export_end)
2271 (tiff_document_document_ps_exporter_iface_init): implement the ps
2272 exporter interface for tiff documents
2274 * tiff/tiff2ps.c: added a modified version of tiff2ps.c from
2275 libtiff to implement TIFF postscript export
2277 * tiff/tiff2ps.h: added a header file for external tiff2ps
2280 * tiff/Makefile.am (libtiffdocument_la_SOURCES): add tiff2ps.c and
2283 2005-07-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2285 * shell/ev-view.c: (scroll_to_current_page),
2286 (ev_view_set_fullscreen), (ev_view_set_presentation):
2288 Scroll to current page when exit from presentation
2290 2005-07-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2292 * shell/ev-window.c: (update_document_mode),
2293 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
2294 (ev_window_cmd_view_fullscreen), (ev_window_stop_presentation),
2295 (ev_window_cmd_view_presentation), (ev_window_cmd_escape):
2297 Exit from fullscreen mode when switch to presentation. Fix for
2300 2005-07-02 Matthew S. Wilson <msw@rpath.com>
2302 * shell/ev-pixbuf-cache.c (ev_pixbuf_cache_get_selection_pixbuf):
2303 return NULL if the document does not implement the selection
2306 2005-07-02 Matthew S. Wilson <msw@rpath.com>
2308 * tiff/tiff-document.c (tiff_document_get_page_size): scale the
2309 reported height by using the resolution aspect ratio
2310 (tiff_document_render_pixbuf): scale the pixbuf using the
2311 resolution aspect ratio
2313 2005-07-01 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2317 Require libgnomeprint >= 2.5.1. Thanks to Colin Slater
2318 <kiltedaco@gmail.com>
2320 * djvu/djvu-document.c: (djvu_document_get_orientation),
2321 (djvu_document_set_orientation), (djvu_document_get_page_size),
2322 (rotate_pixbuf), (djvu_document_render_pixbuf),
2323 (djvu_document_document_iface_init):
2324 * dvi/dvi-document.c: (dvi_document_get_orientation),
2325 (dvi_document_set_orientation), (dvi_document_get_page_size),
2326 (rotate_pixbuf), (dvi_document_render_pixbuf),
2327 (dvi_document_document_iface_init):
2329 Dvi and djvu backends are ported to new API
2331 Fri Jul 1 00:10:15 2005 Jonathan Blandford <jrb@redhat.com>
2333 * backend/ev-selection.c: (ev_selection_get_selection_region),
2334 (ev_selection_get_selection_map):
2335 * backend/ev-selection.h:
2336 * pdf/ev-poppler.cc:
2337 * shell/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
2339 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info),
2340 (job_finished_cb), (copy_job_to_job_info), (add_job_if_needed),
2341 (ev_pixbuf_cache_get_text_mapping):
2342 * shell/ev-pixbuf-cache.h:
2343 * shell/ev-view.c: (location_in_text),
2344 (ev_view_motion_notify_event), (ev_view_set_cursor): Add I-Beam
2345 support to EvView. Now we can see where we can select! Sweet!
2347 2005-06-30 Kristian Høgsberg <krh@redhat.com>
2349 * shell/ev-view.c (ev_view_button_press_event): Fix
2350 event->y + view->scroll_x typo.
2352 2005-06-30 Kristian Høgsberg <krh@redhat.com>
2354 * pdf/ev-poppler.cc: Adjust to poppler API changes; use a
2355 sub-GdkPixbuf instead of passing dest_x and dest_y.
2357 * shell/ev-view.c: (view_point_to_doc_point),
2358 (view_rect_to_doc_rect), (ev_view_button_press_event),
2359 (ev_view_motion_notify_event), (compute_new_selection_rect),
2360 (gdk_rectangle_point_in), (compute_new_selection_text),
2361 (compute_selections): Update selection code to keep the selection
2362 around as two points and not as a normalized rectangle, and fix
2363 page level selection in two-column mode.
2365 2005-06-30 Alex Duggan <aldug@astrolinux.com>
2367 * shell/ev-window.c: (window_configure_event_cb):
2371 2005-06-30 Marco Pesenti Gritti <mpg@redhat.com>
2373 * pdf/ev-poppler.cc:
2377 2005-06-30 Marco Pesenti Gritti <mpg@redhat.com>
2379 * shell/Makefile.am:
2380 * shell/ev-metadata-manager.c: (item_free),
2381 (ev_metadata_manager_init), (ev_metadata_manager_shutdown),
2382 (parse_value), (parseItem), (load_values),
2383 (ev_metadata_manager_get), (value_free), (ev_metadata_manager_set),
2384 (save_values), (save_item), (get_oldest), (resize_items),
2385 (ev_metadata_manager_save), (ev_metadata_manager_set_int):
2386 * shell/ev-metadata-manager.h:
2388 Metadata manager from gedit but modified to use GValue, so that
2389 we dont need to keep converting from strings.
2393 ENABLE_METADATA conditional, on when dbus is on
2395 * shell/ev-application.c: (ev_application_open_uri):
2397 Show the window after load so that we can initialize
2398 window size before it's showed.
2400 * shell/ev-window.c: (ev_window_setup_from_metadata),
2401 (ev_window_open_uri), (window_configure_event_cb),
2404 Save and load metadata information about window size.
2405 Not yet keeping states in account.
2407 * shell/main.c: (main):
2409 Shutdown metadata manager.
2411 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
2413 * shell/ev-application-service.xml:
2415 * shell/Makefile.am:
2416 * shell/ev-application.c:
2417 * shell/ev-application.h:
2418 * shell/ev-window.c:
2419 * shell/ev-window.h:
2422 Add an optional dbus interface (--enable-dbus).
2423 Rework application code, mainly to be easier to
2425 Do not open multiple windows with the same document,
2428 Thu Jun 30 01:50:14 2005 Jonathan Blandford <jrb@redhat.com>
2430 * shell/ev-pixbuf-cache.c (clear_selection_if_needed): unref the
2431 pixbuf iff it exists.
2433 Thu Jun 30 01:43:00 2005 Jonathan Blandford <jrb@redhat.com>
2436 * backend/ev-render-context.[ch]:
2437 * backend/ev-selection.[ch]:
2439 Massive changes. We now support text selection of pdfs, and not
2440 just rectangular selection. This is pretty broken still, but I
2441 want to get something into CVS.
2443 2005-06-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2445 * pdf/ev-poppler.cc:
2447 Fix for Bug 309080: crash on window close.
2449 * shell/ev-page-action.c: (page_changed_cb):
2451 Fix for Bug 309168: Fix build with gcc 2.95. Thanks to
2452 jensgr@gmx.net (Jens Granseuer).
2454 2005-06-25 Marcel Telka <marcel@telka.sk>
2456 * configure.in (ALL_LINGUAS): Added sk.
2458 2005-06-24 Carlos Garcia Campos <carlosgc@gnome.org>
2460 * shell/ev-window.c: Make rotate menu entries unsensitive if there is
2463 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
2470 * cut-n-paste/recent-files/Makefile.am:
2474 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
2476 * pixbuf/pixbuf-document.c: (pixbuf_document_get_orientation),
2477 (pixbuf_document_set_orientation), (rotate_pixbuf),
2478 (pixbuf_document_get_page_size), (pixbuf_document_render_pixbuf),
2479 (pixbuf_document_document_iface_init), (pixbuf_document_init):
2481 Implement rotation and cleanup the code a bit.
2483 * tiff/tiff-document.c: (tiff_document_get_page_size),
2484 (tiff_document_get_orientation), (tiff_document_set_orientation),
2485 (rotate_pixbuf), (tiff_document_render_pixbuf),
2486 (tiff_document_document_iface_init), (tiff_document_init):
2488 Implement rotation. Was the quicker solution for the release
2489 but we really need to share this code in the shell.
2491 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
2493 * pdf/ev-poppler.cc:
2495 Enable rotation, require poppler cvs. Fix a leak.
2497 2005-06-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2499 * shell/ev-window.c: (update_action_sensitivity):
2501 Make properties unsensitive if document backend doesn't provide
2504 2005-06-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2506 * dvi/mdvi-lib/bitmap.c: (bitmap_alloc), (bitmap_alloc_raw),
2507 (bitmap_flip_horizontally), (bitmap_flip_vertically),
2508 (bitmap_flip_diagonally), (bitmap_rotate_clockwise),
2509 (bitmap_rotate_counter_clockwise), (bitmap_flip_rotate_clockwise),
2510 (bitmap_flip_rotate_counter_clockwise):
2511 * dvi/mdvi-lib/color.c: (mdvi_push_color), (get_color_table):
2512 * dvi/mdvi-lib/common.c: (read_string), (buff_free), (buff_add),
2514 * dvi/mdvi-lib/common.h:
2515 * dvi/mdvi-lib/dvimisc.c: (mdvi_push_color):
2516 * dvi/mdvi-lib/dviread.c: (get_bytes), (dreset), (define_font),
2517 (opendvi), (mdvi_reload), (mdvi_init_context),
2518 (mdvi_destroy_context), (mdvi_dopage), (special):
2519 * dvi/mdvi-lib/font.c: (font_drop_one), (font_free_unused):
2520 * dvi/mdvi-lib/fontmap.c: (read_encoding), (destroy_encoding),
2521 (file_hash_free), (register_encoding), (parse_spec),
2522 (mdvi_load_fontmap), (free_ent), (mdvi_init_fontmaps),
2523 (mdvi_add_fontmap_file), (mdvi_ps_read_fontmap),
2524 (mdvi_ps_flush_fonts), (mdvi_ps_find_font), (mdvi_ps_get_metrics):
2525 * dvi/mdvi-lib/fontsrch.c: (mdvi_list_font_class),
2526 (mdvi_register_font_type), (mdvi_unregister_font_type),
2527 (lookup_font), (mdvi_add_font), (mdvi_font_retry):
2528 * dvi/mdvi-lib/gf.c: (gf_read_bitmap), (gf_load_font):
2529 * dvi/mdvi-lib/hash.c: (mdvi_hash_remove), (mdvi_hash_remove_ptr),
2530 (mdvi_hash_destroy_key), (mdvi_hash_reset):
2531 * dvi/mdvi-lib/pagesel.c: (mdvi_parse_range),
2532 (mdvi_parse_page_spec), (mdvi_free_page_spec), (main):
2533 * dvi/mdvi-lib/paper.c: (mdvi_free_paper_specs):
2534 * dvi/mdvi-lib/pk.c: (pk_lookup), (pk_lookupn), (pk_load_font):
2535 * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
2536 * dvi/mdvi-lib/special.c: (mdvi_register_special),
2537 (mdvi_unregister_special), (mdvi_flush_specials):
2538 * dvi/mdvi-lib/t1.c: (t1_lookup_font), (t1_really_load_font),
2540 * dvi/mdvi-lib/tfm.c: (get_tfm_chars):
2541 * dvi/mdvi-lib/tfmfile.c: (afm_load_file), (tfm_load_file),
2542 (ofm1_load_file), (ofm_load_file), (get_font_metrics),
2543 (free_font_metrics), (flush_font_metrics):
2544 * dvi/mdvi-lib/tt.c: (tt_really_load_font), (tt_get_bitmap),
2546 * dvi/mdvi-lib/util.c: (mdvi_malloc), (mdvi_realloc),
2547 (mdvi_calloc), (mdvi_free), (mdvi_strdup), (mdvi_strncpy),
2548 (mdvi_strndup), (mdvi_memdup), (xstradd), (dstring_append),
2549 (dstring_insert), (dstring_new), (dstring_reset):
2550 * dvi/mdvi-lib/vf.c: (vf_load_font), (vf_free_macros):
2552 Rename xmalloc and xfree to mdvi_malloc and mdvi_free to
2553 avoid conflict with libtool on FC4
2555 * shell/ev-window.c: (ev_window_cmd_help_about):
2557 Update copyright year. Fix for bug 308828.
2559 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
2561 * shell/ev-view.c: (add_scroll_binding_keypad),
2562 (ev_view_binding_activated), (ev_view_class_init),
2563 (on_adjustment_value_changed):
2565 Bug 170874: Arrow keys switch pages in presentation mode
2567 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
2569 * shell/ev-window.c: (ev_window_sidebar_visibility_changed_cb):
2571 Fix for Bug 308265: Sidebar dissappears coming out of
2574 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
2576 * shell/ev-application.c: (ev_application_open):
2577 * shell/ev-document-types.c: (ev_document_types_add_filters),
2578 (ev_document_types_add_filters_for_type):
2579 * shell/ev-document-types.h:
2580 * shell/ev-window.c: (ev_window_cmd_save_as):
2582 Suggest basename as template when saving, provide filters
2583 for save dialog. It's bug 308402
2585 2005-06-20 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2587 * pdf/ev-poppler.cc:
2588 * shell/ev-sidebar-links.c: (job_finished_callback):
2589 * shell/ev-view.c: (update_find_status_message):
2593 2005-06-19 Christian Persch <chpe@cvs.gnome.org>
2595 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
2596 (egg_recent_view_uimanager_set_list):
2598 Fix buglet in !show_numbers case.
2600 2005-06-19 Christian Persch <chpe@cvs.gnome.org>
2602 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
2603 (connect_proxy_cb), (egg_recent_view_uimanager_set_list):
2605 Use pango ellipsisation.
2607 * pdf/ev-poppler.cc:
2609 Fix refcount leak, from nsh.
2611 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2613 * cut-n-paste/recent-files/Makefile.am:
2614 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
2615 * cut-n-paste/recent-files/egg-recent-view-gtk.h:
2617 Removed EggRecentViewGtk
2619 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
2620 * cut-n-paste/recent-files/egg-recent-view-uimanager.h:
2621 * shell/ev-window.c: (ev_window_cmd_recent_file_activate),
2622 (ev_window_setup_recent):
2624 Use ViewUIManager instead of ViewGtk. Less leaks, more compatibility
2627 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2629 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
2630 (egg_recent_view_gtk_finalize):
2634 * cut-n-paste/toolbar-editor/Makefile.am:
2636 Fix location of cursor icon.
2638 * pdf/ev-poppler.cc:
2639 * shell/ev-page-action.c: (build_new_tree_cb), (match_selected_cb),
2640 (display_completion_text), (match_completion):
2641 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
2642 (selection_changed_callback), (create_loading_model),
2643 (print_section_cb), (links_page_num_func),
2644 (update_page_callback_foreach):
2645 * shell/ev-window.c: (ev_window_dispose):
2647 Small memory fixes. Links model now store objects instead
2648 of pointers to improve memory management.
2650 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2652 * shell/ev-window.c: (zoom_control_changed_cb):
2654 Fix update of zoom control (bug 308268).
2656 Sat Jun 18 22:46:42 2005 Jonathan Blandford <jrb@redhat.com>
2658 * shell/ev-properties.c (set_property): escape the text correctly.
2659 Handles non-UTF-8 properties and escaped properties. Also, sets
2660 the text to "<i>None</i>" if the property isn't set.
2662 * data/evince-properties.glade: Change the label to be ellipsized,
2663 and give it a minimum size.
2665 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2667 * lib/ev-file-helpers.c: (ev_file_helpers_shutdown):
2668 * shell/ev-sidebar-links.c: (create_loading_model):
2669 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose):
2670 * shell/ev-view.c: (ev_view_set_document):
2671 * shell/ev-window.c: (ev_window_dispose):
2673 Various small fixes, mostly memory leaks. Thanks to valgrind.
2675 2005-06-19 Martin Kretzschmar <martink@gnome.org>
2677 * ps/ps-document.c: remove the locale.h include again ;-). And
2678 kill the (bogus) setlocale/savelocale business.
2680 2005-06-19 Jaap A. Haitsma <jaap@haitsma.org>
2684 Include locale.h to fix build
2686 * shell/ev-sidebar.c:
2688 Remove unnecessary includes
2690 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2692 * dvi/dvi-document.c: (dvi_document_load):
2693 * dvi/mdvi-lib/dviread.c: (mdvi_init_context):
2696 Check for incorrect dvi files. Fix parsing dvi on AMD64
2697 platform. Thanks to tester@tester.ca (Olivier Crete).
2699 2005-06-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2701 * shell/ev-page-action.c: (match_selected_cb),
2702 (display_completion_text), (match_completion), (update_model):
2703 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
2704 (expand_open_links):
2705 * shell/ev-sidebar.c: (ev_sidebar_destroy),
2706 (ev_sidebar_menu_item_activate_cb), (ev_sidebar_add_page),
2707 (ev_sidebar_set_document):
2708 * shell/ev-window.c: (ev_window_xfer_job_cb),
2709 (sidebar_widget_model_set), (sidebar_page_main_widget_update_cb):
2711 Fixed lot's of memory leaks, for example, memory leak on reload,
2712 described in bug 307793.
2714 2005-06-18 Marco Pesenti Gritti <mpg@redhat.com>
2716 * pdf/ev-poppler.cc:
2717 * shell/ev-sidebar-thumbnails.c: (clear_range), (add_range),
2718 (update_visible_range), (adjustment_changed_cb),
2719 (ev_sidebar_thumbnails_fill_model),
2720 (ev_sidebar_thumbnails_refresh),
2721 (ev_sidebar_tree_selection_changed),
2722 (ev_sidebar_icon_selection_changed),
2723 (ev_sidebar_thumbnails_use_icon_view),
2724 (ev_sidebar_thumbnails_set_document):
2725 * shell/ev-sidebar-thumbnails.h:
2726 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
2727 (ev_window_cmd_edit_rotate_right), (ev_window_init):
2729 Refresh thumbnails when changing orientation. Not fully
2730 working yet becuase of a sidebar bug.
2732 Set page orientation to poppler page everywhere. This sucks
2733 really need to fix poppler.
2735 2005-06-18 Marco Pesenti Gritti <mpg@redhat.com>
2737 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
2738 (egg_recent_view_gtk_new_menu_item),
2739 (egg_recent_view_gtk_set_property),
2740 (egg_recent_view_gtk_get_property),
2741 (egg_recent_view_gtk_class_init), (egg_recent_view_gtk_init),
2742 (egg_recent_view_gtk_set_tooltip_func),
2743 (egg_recent_view_gtk_set_label_width),
2744 (egg_recent_view_gtk_get_label_width):
2745 * cut-n-paste/recent-files/egg-recent-view-gtk.h:
2747 Sync with libegg (ellipsize labels)
2749 2005-06-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2751 * data/evince-ui.xml:
2752 * shell/ev-window.c: (ev_window_cmd_go_forward),
2753 (ev_window_cmd_go_backward):
2755 Shift + PageUp moves 10 Pages. Fix for 306125
2757 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
2759 * pdf/ev-poppler.cc:
2761 Add a flag to check if orientation has been overriden
2763 2005-06-17 Martin Kretzschmar <martink@gnome.org>
2765 * ps/ps.c (psscan, psfree): read "Creator:" comment, free creator
2768 * ps/ps.h: add creator field to document.
2770 * ps/ps-document.c (ps_document_get_info): set format to PostScript,
2773 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
2775 * data/evince-properties.glade:
2776 * shell/ev-properties.c: (ev_properties_set_document):
2778 s/PDF Version/Format
2780 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
2782 * shell/ev-properties.c: (ev_properties_set_document):
2784 Remove unnecessary translations
2786 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
2788 * cut-n-paste/toolbar-editor/Makefile.am:
2790 Correct library name
2792 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
2795 * cut-n-paste/recent-files/egg-recent-model.c:
2796 (egg_recent_model_write_raw), (egg_recent_model_lock_file),
2797 (egg_recent_model_unlock_file):
2798 * cut-n-paste/recent-files/egg-recent-util.c:
2799 (egg_recent_util_get_unique_id):
2800 * cut-n-paste/recent-files/update-from-egg.sh:
2801 * cut-n-paste/toolbar-editor/Makefile.am:
2802 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
2803 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
2804 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
2805 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
2806 (egg_toolbars_model_get_type):
2807 * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
2809 Better makefile for toolbar editor and update everything
2812 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
2814 * shell/ev-window.c: (update_document_mode):
2816 Prefer presentation mode when the document
2819 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
2821 * data/evince-ui.xml:
2822 * shell/ev-window.c:
2824 Add control-equal for zooming
2826 2005-06-17 Theppitak Karoonboonyanan <thep@linux.thai.net>
2828 * configure.ac: Added 'th' (Thai) to ALL_LINGUAS.
2830 2005-06-16 Marco Pesenti Gritti <mpg@redhat.com>
2832 * backend/ev-document.c: (ev_document_get_orientation):
2833 * backend/ev-document.h:
2834 * pdf/ev-poppler.cc:
2835 * ps/ps-document.c: (ps_document_get_orientation),
2836 (ps_document_set_orientation), (ps_document_document_iface_init):
2838 Add a get_orientation api. Improve set_orientation.
2840 * data/evince-ui.xml:
2841 * shell/ev-view.c: (ev_view_set_orientation),
2842 (ev_view_rotate_right), (ev_view_rotate_left):
2844 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
2845 (ev_window_cmd_edit_rotate_right):
2847 Better ui for changing document orientation
2849 2005-06-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2851 * shell/ev-sidebar-links.c: (ev_sidebar_links_get_property),
2852 (ev_sidebar_links_class_init), (ev_sidebar_links_get_label):
2853 * shell/ev-sidebar-links.h:
2854 * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
2855 (ev_sidebar_page_iface_init):
2856 * shell/ev-sidebar-page.h:
2857 * shell/ev-sidebar-thumbnails.c:
2858 (ev_sidebar_thumbnails_get_property),
2859 (ev_sidebar_thumbnails_class_init),
2860 (ev_sidebar_thumbnails_set_document):
2861 * shell/ev-sidebar-thumbnails.h:
2862 * shell/ev-view.c: (ev_view_motion_notify_event):
2863 * shell/ev-window.c: (update_chrome_visibility),
2864 (ev_window_cmd_focus_page_selector),
2865 (ev_window_update_fullscreen_popup), (view_actions_focus_in_cb),
2866 (sidebar_page_main_widget_update_cb), (ev_window_init):
2868 Autoraise toolbar on GoToPage binding and fix bindings in
2869 EvSidebarThumbnails page.
2871 2005-06-15 Christian Persch <chpe@cvs.gnome.org>
2873 * shell/ev-properties.c: (update_progress_label):
2875 Hide the progress label when finished; bug #307697.
2877 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
2879 * pdf/ev-poppler.cc:
2881 Enable is_open for links, you will need poppler cvs
2883 * shell/ev-properties.c: (job_fonts_finished_cb):
2885 Get a lock on the document when filling the tree view
2887 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
2889 * backend/ev-document-links.h:
2890 * pdf/ev-poppler.cc:
2891 * shell/ev-sidebar-links.c: (create_loading_model),
2892 (expand_open_links), (job_finished_callback):
2894 Expand links when specified by the document.
2895 Depend on a poppler api (defined out for now)
2897 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
2899 * shell/ev-properties.c: (ev_properties_dispose),
2900 (ev_properties_class_init), (dialog_destroy_cb),
2901 (ev_properties_init), (job_fonts_finished_cb), (setup_fonts_view),
2902 (ev_properties_set_document), (ev_properties_new),
2903 (ev_properties_show):
2904 * shell/ev-properties.h:
2906 Make it an object, cleanup the code, api to show it as transient
2907 and to set the document.
2909 * shell/ev-window.c: (ev_window_setup_document),
2910 (ev_window_cmd_file_properties):
2912 Adapt to EvProperties changes, do not show multiple
2913 times, update it when document changes.
2915 2005-06-14 Marco Pesenti Gritti <mpg@redhat.com>
2918 * ps/ps-document.c: (ps_document_init), (get_page_orientation),
2919 (ps_document_set_orientation), (ps_document_document_iface_init):
2922 Implement orientation here too
2924 * shell/ev-properties.c: (ev_properties_new):
2925 * data/evince-properties.glade:
2927 Hide the fonts page for backends that doesnt
2930 2005-06-14 Marco Pesenti Gritti <mpg@redhat.com>
2932 * backend/ev-document.c: (ev_document_set_orientation):
2933 * backend/ev-document.h:
2934 * pdf/ev-poppler.cc:
2936 Add orientation api. Currently poppler api is not optimal,
2937 we need to set orientation every time we _get a page.
2938 I will try to fix that at some point.
2940 * data/evince-ui.xml:
2941 * shell/ev-window.c: (ev_window_cmd_edit_landscape),
2942 (ev_window_cmd_edit_portrait), (ev_window_cmd_edit_flip):
2944 Add orientation menu items
2946 * shell/ev-page-cache.c: (ev_page_cache_clear):
2947 * shell/ev-page-cache.h:
2949 Add api to clear the cache
2951 * shell/ev-view.c: (setup_caches), (clear_caches),
2952 (ev_view_set_document), (ev_view_zoom_out),
2953 (ev_view_set_orientation):
2956 Implement orientation changing
2958 2005-06-13 Marco Pesenti Gritti <mpg@redhat.com>
2960 * backend/ev-document-fonts.c: (ev_document_fonts_get_progress),
2961 (ev_document_fonts_scan), (ev_document_fonts_fill_model):
2962 * backend/ev-document-fonts.h:
2964 Separate scan and fill so that we can incrementally fill from
2965 the main thread. Add a progress api.
2967 * data/evince-properties.glade:
2968 * pdf/ev-poppler.cc:
2969 * shell/ev-jobs.c: (ev_job_fonts_new), (ev_job_fonts_run):
2971 * shell/ev-properties.c: (update_progress_label),
2972 (job_fonts_finished_cb), (setup_fonts_view):
2974 Incrementally feel the list and show the progress
2975 percentage in a label like acrobat does.
2977 You are going to need poppler cvs
2979 2005-06-11 Marco Pesenti Gritti <mpg@redhat.com>
2981 * backend/ev-document-fonts.c: (ev_document_fonts_fill_model):
2982 * backend/ev-document-fonts.h:
2983 * pdf/ev-poppler.cc:
2985 Make fonts model fill incrementally.
2987 * shell/ev-job-queue.c: (handle_job), (search_for_jobs_unlocked),
2988 (no_jobs_available_unlocked), (ev_job_queue_init), (find_queue),
2989 (ev_job_queue_remove_job):
2990 * shell/ev-jobs.c: (ev_job_fonts_init), (ev_job_fonts_class_init),
2991 (ev_job_fonts_new), (ev_job_fonts_run):
2994 New job for fonts scanning
2996 * shell/ev-properties.c: (job_fonts_finished_cb),
2997 (fill_fonts_treeview), (setup_fonts_view), (ev_properties_new):
2998 * shell/ev-properties.h:
2999 * shell/ev-window.c: (ev_window_cmd_file_properties):
3001 Incrementally feel the treeview using the new job. Show Loading...
3002 message until scanning is completed.
3004 Hopefully I didnt break the build without the poppler patch.
3006 2005-06-10 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3008 * shell/ev-application.c: (ev_application_open):
3009 * shell/ev-document-types.c: (ev_document_type_from_from_mime),
3010 (ev_document_type_get_type), (ev_document_type_lookup):
3011 * shell/ev-document-types.h:
3012 * shell/ev-job-xfer.c: (ev_job_xfer_dispose), (ev_job_xfer_run):
3013 * shell/ev-job-xfer.h:
3014 * shell/ev-window.c: (ev_window_clear_local_uri),
3015 (ev_window_load_job_cb), (ev_window_xfer_job_cb),
3016 (ev_window_open_uri), (ev_window_add_recent), (ev_window_dispose):
3017 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3019 Transfer remote documents to tmp directory to display them later.
3021 2005-06-10 Marco Pesenti Gritti <mpg@redhat.com>
3023 * backend/ev-document-info.h:
3024 * shell/ev-properties.c: (ev_properties_new):
3026 s/GTime*/GTime. Not sure why we was using a pointer
3029 Wed Jun 8 01:04:22 2005 Jonathan Blandford <jrb@redhat.com>
3031 * shell/ev-sidebar-thumbnails.c: Use a GtkIconView in certain
3032 situations. That situation is that you're using GTK+-HEAD with
3033 the patch at #306726 is applied, and you have a document with <
3034 1500 pages in it. It's not quite as uniformly nice as the
3035 TreeView, but should be better in the long run.
3037 I'm pretty sure I guarded against breaking compilation with
3038 HAVE_GTK_ICON_VIEW_GET_VISIBLE_RANGE gaurds, though it's possible
3041 * shell/ev-window.c (ev_window_init): We don't have our tree/list
3042 widget yet, so I commented that code out
3043 enable_view_actions_for_widget() for now. Need to figure this
3046 * shell/ev-page-action.c (match_selected_cb): emit the right
3047 signals. Our cool C-l completion now works.
3049 2005-06-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3051 * backend/Makefile.am:
3052 * backend/ev-document-fonts.c:
3053 * backend/ev-document-links.c:
3054 * backend/ev-document.c: (ev_document_load):
3055 * backend/ev-document.h:
3056 * backend/ev-job-queue.c:
3057 * backend/ev-job-queue.h:
3058 * backend/ev-jobs.c:
3059 * backend/ev-jobs.h:
3060 * backend/ev-page-cache.c:
3061 * backend/ev-page-cache.h:
3063 EvPageCache and EvJobs are moved to shell.
3065 * lib/ev-file-helpers.c: (ev_file_helpers_shutdown),
3067 * lib/ev-file-helpers.h:
3069 New helper to work with temporary files
3071 * shell/Makefile.am:
3072 * shell/ev-application.c: (ev_application_open):
3073 * shell/ev-application.h:
3074 * shell/ev-job-queue.c: (remove_job_from_queue_locked),
3075 (remove_job_from_async_queue), (add_job_to_async_queue),
3076 (add_job_to_queue_locked), (notify_finished), (job_finished_cb),
3077 (handle_job), (search_for_jobs_unlocked),
3078 (no_jobs_available_unlocked), (ev_render_thread),
3079 (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
3080 (ev_job_queue_add_job), (move_job_async), (move_job),
3081 (ev_job_queue_update_job), (ev_job_queue_remove_job):
3082 * shell/ev-job-queue.h:
3083 * shell/ev-job-xfer.c: (ev_job_xfer_init), (ev_job_xfer_dispose),
3084 (ev_job_xfer_class_init), (ev_job_xfer_new), (ev_job_xfer_run):
3085 * shell/ev-job-xfer.h:
3086 * shell/ev-jobs.c: (ev_job_init), (ev_job_dispose),
3087 (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
3088 (ev_job_links_class_init), (ev_job_render_init),
3089 (ev_job_render_dispose), (ev_job_render_class_init),
3090 (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
3091 (ev_job_thumbnail_class_init), (ev_job_load_init),
3092 (ev_job_load_dispose), (ev_job_load_class_init), (ev_job_finished),
3093 (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
3094 (render_finished_cb), (ev_job_render_run), (ev_job_thumbnail_new),
3095 (ev_job_thumbnail_run), (ev_job_load_new), (ev_job_load_run):
3097 * shell/ev-page-action.c: (ev_page_action_set_document):
3098 * shell/ev-page-cache.c: (ev_page_cache_init),
3099 (ev_page_cache_class_init), (ev_page_cache_finalize),
3100 (ev_page_cache_new), (ev_page_cache_get_n_pages),
3101 (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
3102 (ev_page_cache_set_page_label), (ev_page_cache_set_link),
3103 (ev_page_cache_get_title), (ev_page_cache_get_size),
3104 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
3105 (ev_page_cache_get_height_to_page),
3106 (ev_page_cache_get_max_label_chars),
3107 (ev_page_cache_get_page_label),
3108 (ev_page_cache_has_nonnumeric_page_labels),
3109 (ev_page_cache_get_info), (ev_page_cache_next_page),
3110 (ev_page_cache_prev_page), (ev_page_cache_get):
3111 * shell/ev-page-cache.h:
3112 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_update_range),
3113 (ev_pixbuf_cache_clear_job_sizes),
3114 (ev_pixbuf_cache_add_jobs_if_needed),
3115 (ev_pixbuf_cache_set_page_range):
3116 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings):
3117 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document):
3118 * shell/ev-sidebar-thumbnails.c:
3119 (ev_sidebar_tree_selection_changed),
3120 (ev_sidebar_thumbnails_set_document):
3121 * shell/ev-statusbar.c: (ev_statusbar_destroy),
3122 (ev_statusbar_class_init), (ev_statusbar_init), (ev_statusbar_new),
3123 (ev_statusbar_get_context_id), (ev_statusbar_push),
3124 (ev_statusbar_pop), (ev_statusbar_set_maximized),
3125 (ev_statusbar_pulse), (ev_statusbar_show_progress),
3126 (ev_statusbar_set_progress):
3127 * shell/ev-statusbar.h:
3128 * shell/ev-view.c: (ev_view_set_document), (ev_view_find_next),
3129 (ev_view_find_previous):
3130 * shell/ev-window.c: (ev_window_is_empty),
3131 (ev_window_setup_document), (password_dialog_response),
3132 (ev_window_clear_jobs), (ev_window_load_job_cb),
3133 (ev_window_xfer_job_cb), (ev_window_open_uri),
3134 (ev_window_open_uri_list), (ev_window_cmd_recent_file_activate),
3135 (ev_window_print), (ev_window_print_range),
3136 (ev_window_state_event), (ev_window_cmd_view_reload),
3137 (menu_item_select_cb), (menu_item_deselect_cb),
3138 (view_status_changed_cb), (ev_window_dispose),
3139 (drag_data_received_cb), (ev_window_init):
3140 * shell/ev-window.h:
3141 * shell/main.c: (load_files):
3143 New statusbar to show progress on idle. Two new jobs -
3144 xfer job and load job to load document in background. And update
3145 of page_cache clients to new location of code.
3147 2005-06-08 Carlos Garcia Campos <carlosgc@gnome.org>
3149 * shell/ev-application.c, shell/ev-window.[ch]: Allow multiple
3150 selection in open dialog. It also remembers the last visited directory
3151 in the current session.
3153 2005-06-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3155 * shell/ev-properties.c: (ev_properties_new):
3156 * shell/ev-properties.h:
3157 * shell/ev-window.c: (ev_window_cmd_file_properties):
3159 Get document info from page cache instead of document itself.
3160 This should fix crash related to race conditions described in
3163 2005-06-07 Marco Pesenti Gritti <mpg@redhat.com>
3165 * ps/ps-document.c: (ps_document_init),
3166 (send_ps), (get_page_box), (output), (catchPipe), (input),
3167 (stop_interpreter), (file_length), (file_readable),
3168 (check_filecompressedb), (ps_document_enable_interpreter),
3169 (document_load), (ps_async_renderer_render_pixbuf):
3172 Big cleanup of the ps code
3174 2005-06-07 Marco Pesenti Gritti <mpg@redhat.com>
3176 * backend/Makefile.am:
3177 * backend/ev-async-renderer.c: (ev_async_renderer_get_type),
3178 (ev_async_renderer_class_init), (ev_async_renderer_render_pixbuf):
3179 * backend/ev-async-renderer.h:
3181 Add an async renderer interface (method + callback) which
3182 is useful for backends like ps.
3184 * backend/ev-job-queue.c: (remove_job_from_async_queue),
3185 (add_job_to_async_queue), (job_finished_cb), (handle_job),
3186 (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
3187 (ev_job_queue_add_job), (move_job_async), (move_job),
3188 (ev_job_queue_update_job), (ev_job_queue_remove_job):
3190 Add queues for async renderer, these are executed on the
3193 * backend/ev-jobs.c: (ev_job_render_new), (render_finished_cb),
3194 (ev_job_render_run):
3195 * backend/ev-jobs.h:
3197 If the backend support async renderer interface use it.
3199 * ps/ps-document.c: (ps_document_init), (push_pixbuf),
3200 (setup_pixmap), (ps_document_get_type),
3201 (ps_async_renderer_render_pixbuf),
3202 (ps_document_document_iface_init), (ps_async_renderer_iface_init):
3204 Implement async renderer interface.
3206 2005-06-07 Nickolay V. Shmyrev <<nshmyrev@yandex.ru>>
3208 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose):
3210 Cleanup links job on exit.
3212 2005-06-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3214 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
3215 (drag_data_get_cb), (drag_data_received_cb):
3216 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
3217 (drag_data_get_cb), (parse_item_list),
3218 (egg_toolbar_editor_load_actions):
3219 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
3220 (egg_toolbars_model_to_xml), (egg_toolbars_model_save),
3221 (parse_item_list), (parse_toolbars):
3222 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
3223 (dvi_pixbuf_put_pixel):
3225 Fix gcc 4.0 warnings
3227 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
3229 * ps/ps-document.c: (start_interpreter):
3231 Fix warning when loading ps
3233 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
3235 * ps/ps-document.c: (output):
3237 Fix crash when priting gs error messages.
3239 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
3241 * backend/ev-page-cache.c: (_ev_page_cache_new):
3242 * backend/ev-page-cache.h:
3244 Use a const to return title so that we dont double
3245 free it. Small cleanup and fix a leak.
3247 * shell/ev-window.c: (update_window_title):
3249 strdup value from get_title.
3251 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
3253 * shell/ev-sidebar-links.c: (job_finished_callback),
3254 (ev_sidebar_links_set_document):
3256 Cleanup the old job when changing document
3258 2005-06-05 Nickolay V. Shmyrev <<nshmyrev@yandex.ru>>
3260 * shell/ev-stock-icons.c:
3261 * shell/ev-stock-icons.h:
3262 * shell/ev-window.c:
3264 Add stock icons for actions that can appear in toolbar. Fix for
3267 2005-06-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3269 * backend/ev-page-cache.c: (ev_page_cache_finalize),
3270 (_ev_page_cache_new), (ev_page_cache_get_max_width),
3271 (ev_page_cache_get_max_height), (ev_page_cache_get_height_to_page):
3272 * backend/ev-page-cache.h:
3273 * shell/ev-view.c: (scroll_to_current_page),
3274 (view_update_range_and_current_page), (get_page_y_offset),
3275 (get_page_extents), (ev_view_size_request_continuous_dual_page),
3276 (ev_view_size_request_continuous),
3277 (ev_view_zoom_for_size_continuous_and_dual_page),
3278 (ev_view_zoom_for_size_continuous):
3280 More compact EvView layout in document with pages of different size.
3282 Sat Jun 4 19:20:57 2005 Jonathan Blandford <jrb@redhat.com>
3284 * shell/ev-window.c (ev_window_cmd_file_properties): fix
3287 2005-06-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3289 * shell/ev-view.c: (view_set_adjustment_values):
3290 * shell/ev-window.c: (ev_window_cmd_file_properties):
3292 A bit different fix for rounding problem but it has no
3293 problems on startup. Make properties window transient to parent.
3295 2005-06-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3297 * pdf/ev-poppler.cc:
3299 More commenting of font stuff.
3301 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
3303 * pdf/ev-poppler.cc:
3305 Comment out some more fonts stuff. Should really
3306 work without the poppler patch now.
3308 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
3310 * pdf/ev-poppler.cc:
3314 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
3316 * data/evince-properties.glade:
3317 * pdf/ev-poppler.cc:
3318 * shell/ev-properties.c: (setup_fonts_view):
3320 Set the column title. Show the dialog only
3321 once everything is setup.
3322 Getting font info can be very slow... will
3323 prolly need to make this threaded too.
3325 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
3327 * backend/Makefile.am:
3328 * backend/ev-document-fonts.c: (ev_document_fonts_get_type),
3329 (ev_document_fonts_get_fonts_model):
3330 * backend/ev-document-fonts.h:
3331 * data/evince-properties.glade:
3332 * pdf/ev-poppler.cc:
3333 * shell/ev-properties.c: (setup_fonts_view), (ev_properties_new):
3334 * shell/ev-properties.h:
3335 * shell/ev-window.c: (ev_window_cmd_file_properties):
3337 Implement fonts list. Defined out for now, since it depends
3338 on a not yet committed poppler patch.
3340 Fri Jun 3 21:07:57 2005 Jonathan Blandford <jrb@redhat.com>
3342 * shell/ev-view.c (get_page_extents): other_page isn't necessarily
3345 * shell/ev-window.c: Make sure we add the timeout when we get a
3348 * shell/ev-view.c (view_set_adjustment_values): Add 0.5 to
3349 adjustment->value before calculating the zoom factor to average
3350 out all of our rounding errors. The page no longer 'drifts' when
3353 2005-06-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3355 * data/evince-properties.glade:
3356 * shell/ev-properties.c: (ev_properties_format_date),
3359 Labels don't expand when the dialogue is resized.
3360 strftime result needs to be converted to UTF-8. Thanks
3361 to Christian Persch <chpe@gnome.org>.
3363 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
3365 * data/evince-properties.glade:
3369 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
3371 * backend/ev-document-info.h:
3372 * backend/ev-document.c: (ev_document_info_free):
3373 * data/evince-properties.glade:
3374 * pdf/ev-poppler.cc:
3375 * ps/ps-document.c: (ps_document_get_info):
3376 * shell/ev-properties.c: (ev_properties_format_date),
3377 (set_property), (ev_properties_new):
3378 * shell/ev-properties.h:
3379 * shell/ev-window.c: (ev_window_cmd_file_properties):
3381 Rework properties code to take only EvPropertyInfo
3382 in the constructor so that it can be useful for
3383 nautilus plugin too.
3385 Deal with backends that doesnt support some properties.
3386 Make set property code generic.
3388 2005-06-04 Christian Persch <chpe@gnome.org>
3390 * data/evince-properties.glade:
3392 fix spacings, make resizeable, and make data labels
3393 selectable + ellipsised
3395 2005-06-03 Marco Pesenti Gritti <mpg@redhat.com>
3397 * backend/ev-document-info.h:
3399 * data/evince-ui.xml:
3400 * pdf/ev-poppler.cc:
3401 * shell/Makefile.am:
3402 * shell/ev-window.c: (update_action_sensitivity),
3403 (ev_window_cmd_file_properties):
3405 Initial go at file properties. Patch by
3406 Emil Soleyman-Zomalan <emil@soleyman.com>.
3407 Needs love see #169583
3409 2005-06-02 Marco Pesenti Gritti <mpg@redhat.com>
3411 * ps/ps-document.c: (output):
3412 * ps/ps.c: (psscan):
3414 Try to render even if psscan fails.
3416 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
3418 * ps/ps.c: (psscan), (pscopydoc):
3420 Port buffered reading code from gv
3422 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
3424 * ps/ps-document.c: (interpreter_message), (output):
3426 Do not fail on interpreter messages
3428 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
3430 * backend/ev-document-misc.c:
3431 (ev_document_misc_get_thumbnail_frame):
3433 Pages can be 0 x 0, dont assert on this case
3435 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
3437 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
3438 (ev_sidebar_links_class_init), (ev_sidebar_links_set_document):
3440 Correctly manage our reference on document. Finally the reload
3441 huge leak is gone...
3443 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
3445 * ps/ps-document.c: (ps_document_dispose):
3447 Forgot to chain it to the parent. Thanks chpe.
3449 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
3451 * ps/ps-document.c: (ps_document_dispose),
3452 (ps_document_class_init), (stop_interpreter), (document_load):
3454 Cleanup dispose a bit. Dont leak the whole pixmap.
3456 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
3458 * pdf/ev-poppler.cc:
3460 Release the poppler document on dispose
3462 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
3464 * shell/ev-view.c: (ev_view_set_document):
3466 Release ref on the pixbuf cache when changing
3469 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
3471 * ps/ps-document.c: (ps_document_get_info):
3475 2005-05-31 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
3477 * backend/ev-page-cache.c: (ev_page_cache_init),
3478 (_ev_page_cache_new), (ev_page_cache_get_max_label_chars):
3479 * backend/ev-page-cache.h:
3480 * shell/ev-page-action.c: (page_changed_cb):
3482 Set page action entry width depending on labels width. Fix
3485 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
3487 * backend/ev-link.c: (ev_link_class_init):
3489 Allow -1 as page value (error)
3491 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
3493 * shell/ev-sidebar-thumbnails.c:
3494 (ev_sidebar_thumbnails_set_document):
3495 * shell/ev-view.c: (scroll_to_current_page),
3496 (view_set_adjustment_values), (ev_view_set_scroll_adjustments),
3497 (page_changed_cb), (on_adjustment_value_changed),
3498 (ev_view_set_document):
3500 Slightly modified patch by Nickolay V. Shmyrev <nshmyrev@yandex.ru>.
3503 2005-05-29 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3506 * djvu/djvu-document.c: (djvu_document_get_page_size):
3508 Require djvulibre CVS. Now djvu loading is much faster. Fix for
3511 Sat May 28 07:38:03 2005 Jonathan Blandford <jrb@redhat.com>
3513 * shell/ev-view.c (draw_one_page): modify the expose handling to
3516 * shell/ev-window.c (update_action_sensitivity): Respect
3517 permissions field. Kowtow to the man.
3519 * pdf/ev-poppler.cc: Get the permissions field.
3521 * tiff/*c: Make a tiny bit more robust.
3523 2005-05-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3525 * djvu/djvu-document.c:
3527 Pop messages from djvu context message queue.
3529 2005-05-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3531 * configure.ac, Makefile.am, shell/Makefile.am:
3532 * tiff/Makefile.am, shell/ev-document-types.c:
3534 Cleanup tiff configure checks. Fix for bug 305218.
3536 2005-05-24 Maxim V. Dziumanenko <mvd@mylinux.ua>
3538 * configure.ac: Added "uk" to ALL_LINGUAS.
3540 2005-05-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3542 * cut-n-paste/zoom-control/ephy-zoom.c:
3543 (ephy_zoom_get_changed_zoom_level):
3544 * cut-n-paste/zoom-control/ephy-zoom.h:
3545 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_set_property),
3546 (ev_view_get_property), (ev_view_class_init), (ev_view_set_zoom):
3547 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
3548 (ev_window_cmd_view_zoom_out), (ev_window_zoom_changed_cb),
3549 (zoom_control_changed_cb), (ev_window_init):
3551 Fix minor points related to moving best fit up. Introduce
3552 "zoom" property and make zoom control change it's value on
3553 notify::zoom signals. Fix for 305080.
3555 2005-05-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3557 * data/evince-ui.xml:
3558 * shell/ev-window.c: (set_view_actions_sensitivity):
3560 Use + and - as accels for zoom in and zoom out. Fix for 305001.
3562 2005-05-22 Marco Pesenti Gritti <mpg@redhat.com>
3566 Depends on poppler 0.3.2
3568 2005-05-22 Marco Pesenti Gritti <mpg@redhat.com>
3570 * cut-n-paste/recent-files/egg-recent-item.c:
3571 (egg_recent_item_get_short_name):
3572 * cut-n-paste/toolbar-editor/Makefile.am:
3573 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
3574 (new_pixbuf_from_widget):
3575 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
3576 * cut-n-paste/toolbar-editor/egg-marshal.c:
3577 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
3578 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
3582 Sat May 21 23:18:30 2005 Jonathan Blandford <jrb@redhat.com>
3584 * tiff/tiff-document.c: Rough TIFF backend.
3586 2005-05-21 Marco Pesenti Gritti <mpg@redhat.com>
3590 * cut-n-paste/toolbar-editor/Makefile.am:
3594 2005-05-21 Marco Pesenti Gritti <mpg@redhat.com>
3596 * shell/ev-view.c: (jump_to_find_result), (ev_view_can_find_next),
3597 (ev_view_find_next), (ev_view_find_previous):
3599 Remove the locks around get_n_results
3601 2005-05-21 Juerg Billeter <j@bitron.ch>
3603 * pdf/ev-poppler.c: (pdf_document_ps_exporter_begin):
3605 Pass correct number of pages to poppler.
3607 2005-05-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3611 * data/evince.desktop.in:
3612 * data/evince.desktop.in.in:
3615 Add conditionally dvi and djvu to desktop types. Fix for 304658.
3617 Sat May 21 00:21:30 2005 Jonathan Blandford <jrb@redhat.com>
3619 * shell/ev-view.c: (view_update_adjustments),
3620 (view_set_adjustment_values): cast adjustmen->value to (int)
3621 before using it. Otherwise, we get off by a pixel in some
3624 (draw_one_page): Draw the border on expose.
3626 Fri May 20 22:05:25 2005 Jonathan Blandford <jrb@redhat.com>
3628 * *shell/ev-view.c: Patch from Nickolay V. Shmyrev to reset the
3629 adjustment when the mode changes, #304923
3631 Fri May 20 02:00:03 2005 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3633 * shell/ev-view.c: Use gdk_widget_queue_draw to remove
3634 flickering on resize but still use gdk_window_scroll on
3637 Fri May 20 01:46:57 2005 Jonathan Blandford <jrb@redhat.com>
3639 * shell/ev-view.c: Patch from Nickolay Shmyrev to fix the -p
3642 Fri May 20 01:27:01 2005 Jonathan Blandford <jrb@redhat.com>
3644 * shell/ev-view.c: Patch from Nickolay Shmyrev to to scroll to
3645 second page on page_changed if possible, #304669
3647 Fri May 20 01:07:15 2005 Jonathan Blandford <jrb@redhat.com>
3649 * shell/ev-view.c (view_update_adjustments): Use gdk_window_scroll
3650 instead of gtk_widget_queue_draw. Massive speedups in scrolling.
3652 Fri May 20 01:05:10 2005 Jonathan Blandford <jrb@redhat.com>
3655 * shell/ev-view.c:(ev_view_size_allocate), (ev_view_class_init),
3656 (zoom_for_size_fit_width), (zoom_for_size_best_fit),
3657 (ev_view_zoom_for_size_presentation),
3658 (ev_view_zoom_for_size_continuous_and_dual_page),
3659 (ev_view_zoom_for_size_continuous),
3660 (ev_view_zoom_for_size_dual_page),
3661 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size):
3663 * shell/ev-window.c: (update_view_size),
3664 (ev_window_sizing_mode_changed_cb):
3666 Patch from Nickolay Shmyrev <nshmyrev@yandex.ru> to handle
3667 the scrollbars. It's not 100% right, but it's much closer. Kills
3668 an infinite loop, #304769
3671 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
3673 * data/evince-ui.xml:
3674 * shell/ev-view.c: (ev_view_scroll_view), (ev_view_class_init):
3675 * shell/ev-window.c: (set_view_actions_sensitivity):
3677 Make PgUp/Down behave like Space
3679 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
3681 * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
3682 * backend/ev-ps-exporter.h:
3683 * pdf/ev-poppler.cc:
3684 * ps/ps-document.c: (ps_document_ps_export_begin):
3685 * shell/ev-print-job.c: (idle_print_handler):
3687 Adapt to new poppler api
3689 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
3691 * cut-n-paste/zoom-control/ephy-zoom-control.c:
3692 (ephy_zoom_control_init):
3694 Translate zoom levels
3696 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
3698 * cut-n-paste/zoom-control/ephy-zoom.c:
3699 (ephy_zoom_get_zoom_level_index):
3701 Fix current zoom -> zoom control match
3703 2005-05-18 James Bowes <bowes@cs.dal.ca>
3705 * shell/ev-window.c: (ev_window_init): Give focus to the ev-view,
3706 rather than the scrolled_window that it's in. Fixes bug #304655.
3708 Tue May 17 22:54:17 2005 Jonathan Blandford <jrb@redhat.com>
3710 * shell/ev-view.c: (view_update_adjustments),
3711 (view_set_adjustment_values), (view_update_range_and_current_page),
3712 (view_scroll_to_page), (set_scroll_adjustment),
3713 (ev_view_set_scroll_adjustments), (add_scroll_binding_keypad),
3714 (ev_view_scroll), (ev_view_scroll_view),
3715 (ensure_rectangle_is_visible), (find_page_at_location),
3716 (get_link_at_location), (go_to_link), (status_message_from_link),
3717 (ev_view_size_request_continuous_dual_page),
3718 (ev_view_size_request), (ev_view_size_allocate), (ev_view_realize),
3719 (ev_view_unrealize), (ev_view_expose_event),
3720 (ev_view_button_press_event), (ev_view_motion_notify_event),
3721 (ev_view_button_release_event), (ev_gdk_color_to_rgb),
3722 (draw_rubberband), (highlight_find_results), (draw_one_page),
3723 (ev_view_finalize), (ev_view_destroy), (ev_view_class_init),
3724 (ev_view_init), (find_changed_cb), (page_changed_cb),
3725 (on_adjustment_value_changed), (ev_view_new),
3726 (ev_view_set_document), (ev_view_set_zoom),
3727 (ev_view_set_continuous), (ev_view_set_dual_page),
3728 (ev_view_set_presentation), (ev_view_zoom_in), (ev_view_zoom_out),
3729 (zoom_for_size_fit_width), (zoom_for_size_best_fit),
3730 (ev_view_zoom_for_size_presentation),
3731 (ev_view_zoom_for_size_continuous_dual_page),
3732 (ev_view_zoom_for_size_continuous),
3733 (ev_view_zoom_for_size_dual_page),
3734 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
3735 (ev_view_get_status), (ev_view_set_status),
3736 (update_find_status_message), (ev_view_get_find_status),
3737 (ev_view_set_find_status), (jump_to_find_result),
3738 (jump_to_find_page), (compute_selections), (clear_selection),
3739 (ev_view_select_all), (get_selected_text), (ev_view_copy),
3740 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
3741 (ev_view_update_primary_selection),
3742 (ev_view_create_invisible_cursor), (ev_view_set_cursor):
3744 * shell/ev-window.c: (ev_window_open_page_label),
3745 (ev_window_cmd_view_reload), (ev_window_sizing_mode_changed_cb),
3747 * shell/ev-window.h:
3748 * shell/main.c: (load_files):
3750 Massive code clean up from Nickolay Shmyrev. Keep page offset
3751 when resizing. Remove the bin_window(). Also, patch from James
3752 Bowes to fix command line page, #300641
3754 2005-05-17 Marco Pesenti Gritti <mpg@redhat.com>
3756 * data/evince-ui.xml:
3759 * shell/ev-window.c: (update_action_sensitivity):
3761 Get rid of View->Normal Size, it's just confusing
3763 Tue May 17 00:51:21 2005 Jonathan Blandford <jrb@redhat.com>
3765 * backend/ev-document-info.h:
3766 * backend/ev-document.c: (ev_document_info_free): Free the
3769 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
3770 (clear_range), (add_range), (update_visible_range),
3771 (adjustment_changed_cb), (ev_sidebar_thumbnails_init),
3772 (ev_sidebar_thumbnails_set_document):
3773 * shell/ev-window.c: (ev_window_setup_document): Only render the
3774 visible thumbnails. It takes an instant to render, but it uses
3777 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
3779 * shell/ev-sidebar-links.c: (popup_menu_cb):
3783 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
3786 * shell/ev-sidebar-links.c: (build_popup_menu), (popup_menu_cb),
3787 (button_press_cb), (ev_sidebar_links_construct):
3789 Show the popup menu also on keybindings
3791 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
3793 * shell/ev-window.c: (ev_window_print), (ev_window_print_range):
3794 * shell/ev-window.h:
3796 Expose api to print a range (with dialog). Make private _print use
3799 * shell/ev-sidebar-links.c: (print_section_cb), (button_press_cb),
3800 (ev_sidebar_links_construct):
3802 Show a print context menu on linkx, it prints the selected
3805 2005-05-15 Carlos Garcia Campos <carlosgc@gnome.org>
3807 * shell/ev-sidebar.c: make the drop down menu as width as the toggle
3810 2005-05-12 Marco Pesenti Gritti <mpg@redhat.com>
3816 * shell/ev-window.c: (build_comments_string),
3817 (ev_window_cmd_help_about):
3819 Show poppler version/backend and authors
3821 2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
3823 * cut-n-paste/zoom-control/ephy-zoom.c:
3824 (ephy_zoom_get_zoom_level_index):
3825 * cut-n-paste/zoom-control/ephy-zoom.h:
3827 Move the best fit items at the top of the list
3829 2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
3831 * shell/ev-marshal.list:
3832 * shell/ev-page-action.c: (ev_page_action_widget_class_init),
3833 (activate_cb), (match_selected_cb), (activate_link_cb),
3834 (connect_proxy), (ev_page_action_class_init):
3835 * shell/ev-page-action.h:
3837 Use signals to notify action activation. Hopefully
3838 I did not break completion since I cant test...
3840 * shell/ev-window.c: (activate_link_cb), (activate_label_cb),
3841 (register_custom_actions):
3843 Connect to page selector actions and also grab focus on
3844 the view when activated.
3846 Wed May 11 01:18:29 2005 Jonathan Blandford <jrb@redhat.com>
3848 * pdf/ev-poppler.cc:
3849 * backend/ev-page-cache.c: make page size calculation consistent
3850 and set it to (int)( width * scale + 0.5). This makes the weird
3851 line going through the middle of the page go away.
3853 * shell/ev-view.c: move painting the background page after
3854 checking the expose area covers us.
3856 2005-05-11 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3858 * data/evince-password.glade:
3860 Mark labels as not translatable. Fix for bug 302842.
3862 2005-05-10 Francisco Javier F. Serrador <serrador@cvs.gnome.org>
3864 * configure.ac: Added "es" to ALL_LINGUAS.
3866 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3868 * data/evince-toolbar.xml:
3869 * shell/ev-window.c: (update_action_sensitivity),
3870 (ev_window_setup_document), (ev_window_set_page_mode),
3873 Remove some leftover code from jrb first continous
3874 attempt. Use the new actions, we still need good icons
3877 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3879 * shell/ev-page-action.c: (update_pages_label), (connect_proxy):
3881 Update label when connecting proxy. Fix a warning with NULL
3884 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3886 * data/evince-ui.xml:
3887 * shell/ev-page-action.c: (ev_page_action_grab_focus):
3888 * shell/ev-page-action.h:
3889 * shell/ev-window.c: (ev_window_cmd_focus_page_selector):
3891 Add mnemonic for edit toolbar.
3892 ctrl+l focus the page entry.
3894 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3897 * shell/ev-window.c: (ev_window_cmd_edit_toolbar_cb),
3899 * shell/main.c: (main):
3901 Put the toolbar xml in evince own dot dir
3903 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3905 * shell/ev-window.c: (ev_window_init):
3907 Make the toolbar not removable
3909 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3911 * data/evince-ui.xml:
3912 * shell/ev-sidebar-links.c: (ev_sidebar_links_get_treeview):
3913 * shell/ev-sidebar-links.h:
3914 * shell/ev-sidebar-thumbnails.c:
3915 (ev_sidebar_thumbnails_get_treeview):
3916 * shell/ev-sidebar-thumbnails.h:
3917 * shell/ev-view.c: (ev_view_scroll), (ev_view_scroll_view),
3918 (ev_view_class_init):
3920 * shell/ev-window.c: (update_action_sensitivity),
3921 (ev_window_cmd_scroll_forward), (ev_window_cmd_scroll_backward),
3922 (set_view_actions_sensitivity), (view_actions_focus_in_cb),
3923 (view_actions_focus_out_cb), (enable_view_actions_for_widget),
3926 This is evil... Make space/backspace global accelerators but
3927 enable them only for some widgets (sidebars and view).
3928 I dont like it, but I dont know a better way... :/
3930 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3932 * shell/ev-page-action.c: (ev_page_action_widget_set_page_cache),
3933 (ev_page_action_widget_finalize),
3934 (ev_page_action_widget_class_init), (update_page_cache):
3936 Keep a weak reference on proxy->page_cache so that we
3937 dont try to disconnect the signal if the object is already
3938 gone. Maybe there is a better way to cleanup reference handling
3939 in page action though...
3941 2005-05-10 Juerg Billeter <j@bitron.ch>
3943 * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
3944 * backend/ev-ps-exporter.h:
3945 * pdf/ev-poppler.cc: (pdf_document_ps_exporter_begin):
3946 * ps/ps-document.c: (ps_document_ps_export_begin):
3948 Change api to pass print range to ps_exporter_begin. The pdf backend
3949 requires this information.
3951 * shell/ev-print-job.c: (idle_print_handler):
3955 2005-05-10 Juerg Billeter <j@bitron.ch>
3957 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
3958 (idle_print_handler)
3959 * shell/ev-window.c: (ev_window_print):
3961 Support printing page range, based on patch by Amaury Jacquot
3963 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3965 * data/evince-toolbar.xml:
3967 Add zoom control to available items
3969 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3971 * shell/ev-window.c: (update_action_sensitivity):
3973 Set slash action insensitive when appropriate
3975 2005-05-10 Christian Persch <chpe@gnome.org>
3977 * cut-n-paste/zoom-control/ephy-zoom-action.c: (create_menu_item):
3979 Fix warning on the overflow menu
3981 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3983 * shell/ev-window.c: (sanity_check_uri), (ev_window_open):
3985 Check for uri correctness/existence
3987 2005-05-09 Juerg Billeter <j@bitron.ch>
3989 * shell/ev-window.c: (using_postscript_printer):
3991 LPD printers use postscript, too
3993 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
3995 * shell/ev-window.c: (register_custom_actions):
3997 The zoom one is actually sort of useful,
4000 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
4002 * shell/ev-window.c: (register_custom_actions):
4004 Hide page/zoom controls from overflow, they
4007 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
4009 * cut-n-paste/update-from-egg.sh:
4011 Share it between all cut-n-paste subdirs
4013 * cut-n-paste/recent-files/Makefile.am:
4015 Fix to use "global" update-from-egg.sh
4017 * cut-n-paste/recent-files/egg-recent-model.c:
4018 (egg_recent_model_changed_timeout), (egg_recent_model_finalize):
4019 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
4020 (egg_recent_view_gtk_clear), (egg_recent_view_gtk_set_list),
4021 (egg_recent_view_gtk_finalize), (egg_recent_view_gtk_set_menu):
4025 * cut-n-paste/toolbar-editor/Makefile.am:
4027 Fix to use "global" update-from-egg.sh
4029 * cut-n-paste/toolbar-editor/eggmarshalers.list:
4033 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
4036 * cut-n-paste/Makefile.am:
4037 * cut-n-paste/recent-files/Makefile.am:
4038 * cut-n-paste/toolbar-editor/.cvsignore:
4039 * cut-n-paste/toolbar-editor/Makefile.am:
4040 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
4041 (egg_editable_toolbar_get_type), (get_toolbar_position),
4042 (get_n_toolbars), (get_dock_nth), (get_toolbar_nth), (find_action),
4043 (drag_data_delete_cb), (drag_begin_cb), (drag_end_cb),
4044 (drag_data_get_cb), (set_drag_cursor), (unset_drag_cursor),
4045 (set_item_drag_source), (create_item_from_action), (create_item),
4046 (data_is_separator), (drag_data_received_cb), (remove_toolbar_cb),
4047 (popup_toolbar_context_menu_cb), (free_dragged_item),
4048 (toolbar_drag_drop_cb), (toolbar_drag_motion_cb),
4049 (toolbar_drag_leave_cb), (create_dock), (set_fixed_style),
4050 (unset_fixed_style), (toolbar_changed_cb), (unparent_fixed),
4051 (update_fixed), (toolbar_added_cb), (toolbar_removed_cb),
4052 (item_added_cb), (item_removed_cb),
4053 (egg_editable_toolbar_construct),
4054 (egg_editable_toolbar_disconnect_model),
4055 (egg_editable_toolbar_deconstruct),
4056 (egg_editable_toolbar_set_model),
4057 (egg_editable_toolbar_set_ui_manager),
4058 (egg_editable_toolbar_set_property),
4059 (egg_editable_toolbar_get_property),
4060 (egg_editable_toolbar_class_init), (egg_editable_toolbar_init),
4061 (egg_editable_toolbar_finalize), (egg_editable_toolbar_new),
4062 (egg_editable_toolbar_new_with_model),
4063 (egg_editable_toolbar_get_edit_mode),
4064 (egg_editable_toolbar_set_edit_mode), (egg_editable_toolbar_show),
4065 (egg_editable_toolbar_hide), (egg_editable_toolbar_set_fixed),
4066 (egg_editable_toolbar_set_drag_dest), (fake_expose_widget),
4067 (new_pixbuf_from_widget), (new_separator_pixbuf),
4068 (update_separator_image), (style_set_cb),
4069 (_egg_editable_toolbar_new_separator_image),
4070 (egg_editable_toolbar_get_model):
4071 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
4072 * cut-n-paste/toolbar-editor/egg-marshal.c:
4073 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
4074 (egg_toolbar_editor_get_type), (compare_actions), (find_action),
4075 (egg_toolbar_editor_set_ui_manager), (toolbar_removed_cb),
4076 (egg_toolbar_editor_set_model), (egg_toolbar_editor_set_property),
4077 (egg_toolbar_editor_get_property), (egg_toolbar_editor_class_init),
4078 (egg_toolbar_editor_finalize), (egg_toolbar_editor_new),
4079 (drag_begin_cb), (drag_end_cb), (editor_drag_data_received_cb),
4080 (editor_drag_data_delete_cb), (drag_data_get_cb),
4081 (elide_underscores), (set_drag_cursor), (event_box_realize_cb),
4082 (editor_create_item), (update_editor_sheet), (setup_editor),
4083 (egg_toolbar_editor_init), (egg_toolbar_editor_add_action),
4084 (parse_item_list), (model_has_action), (update_actions_list),
4085 (egg_toolbar_editor_load_actions):
4086 * cut-n-paste/toolbar-editor/egg-toolbar-editor.h:
4087 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
4088 (egg_toolbars_model_get_type), (egg_toolbars_model_to_xml),
4089 (safe_save_xml), (egg_toolbars_model_save), (toolbars_toolbar_new),
4090 (toolbars_item_new), (free_toolbar_node), (free_item_node),
4091 (egg_toolbars_model_get_flags), (egg_toolbars_model_set_flags),
4092 (egg_toolbars_model_add_separator), (impl_add_item),
4093 (parse_item_list), (egg_toolbars_model_add_toolbar),
4094 (parse_toolbars), (egg_toolbars_model_load), (impl_get_item_id),
4095 (impl_get_item_data), (impl_get_item_type),
4096 (_egg_accumulator_STRING), (egg_toolbars_model_class_init),
4097 (egg_toolbars_model_init), (free_toolbar),
4098 (egg_toolbars_model_finalize), (egg_toolbars_model_new),
4099 (egg_toolbars_model_remove_toolbar),
4100 (egg_toolbars_model_remove_item), (egg_toolbars_model_move_item),
4101 (egg_toolbars_model_n_items), (egg_toolbars_model_item_nth),
4102 (egg_toolbars_model_n_toolbars), (egg_toolbars_model_toolbar_nth),
4103 (egg_toolbars_model_add_item), (egg_toolbars_model_get_item_id),
4104 (egg_toolbars_model_get_item_data),
4105 (egg_toolbars_model_get_item_type):
4106 * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
4107 * cut-n-paste/toolbar-editor/eggmarshalers.list:
4109 * data/evince-toolbar.xml:
4110 * data/evince-ui.xml:
4111 * data/hand-open.png:
4113 * shell/Makefile.am:
4114 * shell/ev-window.c: (update_chrome_visibility),
4115 (ev_window_cmd_edit_toolbar_cb), (ev_window_cmd_edit_toolbar),
4116 (ev_window_dispose), (ev_window_init):
4118 Implement epiphany like toolbar editor. Based on patch by
4119 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4121 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
4123 * shell/ev-sidebar-thumbnails.c: (page_changed_cb):
4125 Use set_cursor instead of set_selection, so that
4126 the keyboard focus moves too.
4128 2005-05-09 Aleksey Kliger <akliger@gmail.com>
4130 * dvi/mdvi-lib/tfmfile.c: (lookup_font_metrics):
4132 Fix infinite loop when loading Type1 fonts
4134 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
4136 * data/evince-ui.xml:
4137 * shell/ev-window.c:
4141 2005-05-09 Thomas de Grenier de Latour <degrenier@easyconnect.fr>
4145 Make --disable really disable
4147 2005-05-07 Juerg Billeter <j@bitron.ch>
4149 * backend/ev-page-cache.c: (ev_page_cache_set_page_label):
4151 Compare page labels even without has_labels set, fixes setting page
4154 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
4156 * shell/ev-view.c: (ev_view_create_invisible_cursor),
4157 (ev_view_set_cursor), (ev_view_button_press_event),
4158 (ev_view_motion_notify_event), (ev_view_button_release_event),
4161 Implement middle button scrolling. Based on a patch
4162 by Tommi Komulainen <tommi.komulainen@iki.fi>.
4164 2005-05-08 Marco Pesenti Gritti <mpg@redhat.com>
4166 * shell/ev-document-types.c: (get_slow_mime_type),
4167 (get_document_type_from_mime), (ev_document_type_lookup):
4168 * shell/ev-document-types.h:
4170 Change api to lookup from uri. Do fast lookup first, if the
4171 type is unknown try with data sniffing.
4173 * shell/ev-window.c: (ev_window_open), (ev_window_open_uri_list):
4174 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
4178 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
4180 * thumbnailer/Makefile.am:
4184 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
4191 * data/evince-ui.xml:
4193 Hide presentation mode for now
4195 * shell/ev-view.c: (highlight_find_results):
4197 Show current find selection only on current page
4199 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
4201 * shell/ev-view.c: (ev_view_select_all):
4203 Compute size of the actual page, not of
4206 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
4208 * shell/ev-view.c: (clear_selection), (ev_view_finalize),
4209 (view_rect_to_doc_rect), (compute_selections),
4210 (ev_view_bin_expose), (ev_view_select_all), (get_selected_text),
4211 (ev_view_copy), (ev_view_primary_get_cb),
4212 (ev_view_primary_clear_cb), (ev_view_update_primary_selection),
4213 (ev_view_button_press_event), (ev_view_motion_notify_event),
4214 (ev_view_button_release_event), (page_changed_cb):
4218 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
4220 * shell/ev-view.c: (compute_border), (get_page_extents),
4221 (doc_rect_to_view_rect), (highlight_find_results),
4222 (ev_view_bin_expose), (ev_view_select_all),
4223 (ev_view_motion_notify_event), (update_find_status_message),
4224 (jump_to_find_result), (jump_to_find_page):
4226 First go at fixing search, still buggy
4228 2005-05-04 Kristian Høgsberg <krh@redhat.com>
4230 * shell/ev-sidebar.c (ev_sidebar_init): Remove frame around
4231 dropdown box and button at the top of the sidebar.
4233 2005-05-02 James Bowes <bowes@cs.dal.ca>
4235 * configure.ac: Output zoom-control Makefile.
4236 * cut-n-paste/Makefile.am: build zoom-control subdir.
4237 * cut-n-paste/zoom-control/ephy-zoom-action.c:
4238 * cut-n-paste/zoom-control/ephy-zoom-action.h:
4239 * cut-n-paste/zoom-control/ephy-zoom-control.c:
4240 * cut-n-paste/zoom-control/ephy-zoom-control.h:
4241 * cut-n-paste/zoom-control/ephy-zoom.c:
4242 * cut-n-paste/zoom-control/ephy-zoom.h: New files imported
4243 from epiphany, and modified to add a separator into the menu.
4244 * cut-n-paste/zoom-control/Makefile.am: Build zoom-control.
4245 * data/evince-ui.xml: Replace old zoom toolbar actions with new
4246 zoom-control action.
4247 * shell/Makefile.am: Include zoom-control flags.
4248 * shell/ev-view.c: (ev_view_set_zoom), (ev_view_get_zoom),
4249 (ev_view_get_sizing_mode), (ev_view_zoom_in), (ev_view_zoom_out),
4250 (ev_view_zoom_for_size_presentation),
4251 (ev_view_zoom_for_size_continuous_and_dual_page),
4252 (ev_view_zoom_for_size_continuous),
4253 (ev_view_zoom_for_size_dual_page),
4254 (ev_view_zoom_for_size_single_page), (ev_view_zoom_normal):
4255 s/ev_view_zoom/ev_view_set_zoom/ and make public, add
4256 ev_view_get_zoom and ev_view_get_sizing_mode.
4258 * shell/ev-window.c: (update_action_sensitivity),
4259 (update_sizing_buttons), (zoom_control_changed_cb),
4260 (register_custom_actions): Initialize and use the zoom-control
4263 Sun May 1 00:46:47 2005 Jonathan Blandford <jrb@redhat.com>
4265 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init): Change the
4266 preview cache back to 1. Don't know when it got set to 0.
4268 * shell/ev-view.c: (compute_border), (ev_view_realize),
4269 (draw_one_page), (ev_view_set_property), (ev_view_get_property),
4270 (ev_view_class_init), (ev_view_init), (ev_view_set_fullscreen),
4271 (ev_view_get_fullscreen), (ev_view_set_presentation),
4272 (ev_view_get_presentation), (ev_view_set_sizing_mode),
4273 (ev_view_zoom_for_size_presentation), (ev_view_set_zoom_for_size):
4275 * shell/ev-window.c:
4276 (update_chrome_visibility),
4277 (ev_window_cmd_continuous), (ev_window_cmd_dual),
4278 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
4279 (update_document_mode), (ev_window_update_fullscreen_action),
4280 (ev_window_fullscreen), (ev_window_unfullscreen),
4281 (ev_window_cmd_view_fullscreen),
4282 (ev_window_update_presentation_action),
4283 (ev_window_run_presentation), (ev_window_stop_presentation),
4284 (ev_window_cmd_view_presentation), (ev_window_state_event),
4285 (ev_window_focus_in_event), (ev_window_focus_out_event),
4286 (ev_window_cmd_escape), (ev_window_sidebar_visibility_changed_cb):
4287 * data/evince-ui.xml: Initial presentation mode. We should
4288 probably hide this until it's done, as it's quite rough. Also,
4289 change full-screen to fullscreen and add two getters to EvView.
4291 2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
4293 * shell/ev-page-action.c: (update_page_cache),
4294 (ev_page_action_dispose):
4295 * shell/ev-window.c: (destroy_fullscreen_popup),
4296 (ev_window_create_fullscreen_popup):
4298 Use connect_object rather than explicitly
4299 disconnect on dispose.
4301 2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
4303 * shell/ev-page-action.c: (update_page_cache),
4304 (ev_page_action_dispose):
4306 2005-04-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4308 * backend/ev-page-cache.c: (_ev_page_cache_new),
4309 (ev_page_cache_set_page_label),
4310 (ev_page_cache_has_nonnumeric_page_labels):
4311 * backend/ev-page-cache.h:
4312 * shell/ev-page-action.c: (update_pages_label):
4314 If all page labels are numeric, fallback to default
4315 way to display number of pages. See bug 173185.
4317 2005-04-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4319 * shell/ev-page-action.c: (ev_page_action_dispose):
4320 * shell/ev-view.c: (view_update_range_and_current_page):
4321 * shell/ev-window.c: (ev_window_dispose):
4323 Set page on scroll in continuous mode. Fixes bug 301986.
4324 Also cleanup callbacks on destroy of EvWindow and EvPageAction.
4326 2005-04-26 Marco Pesenti Gritti <mpg@redhat.com>
4330 Require poppler 0.3.0
4332 2005-04-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4334 * shell/Makefile.am, configure.ac: Fix build problems
4335 with t1lib. Bug 301996.
4337 2005-04-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4339 * shell/ev-view.c: (ev_view_scroll_event):
4341 Scroll up increase zoom
4343 2005-04-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4345 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_class_init),
4346 (ev_view_set_sizing_mode),
4347 (ev_view_zoom_for_size_continuous_and_dual_page),
4348 (ev_view_zoom_for_size_continuous):
4349 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
4350 (ev_window_cmd_view_page_width), (ev_window_cmd_view_zoom_in),
4351 (ev_window_cmd_view_zoom_out), (ev_window_sizing_mode_changed_cb),
4354 Control + Scroll does zooming, Shift + Scroll scrolls horizontally
4355 Fix for 165473 and 165472.
4357 2005-04-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4360 * thumbnailer/Makefile.am:
4361 * thumbnailer/evince-thumbnailer-djvu.schemas.in:
4362 * thumbnailer/evince-thumbnailer-dvi.schemas.in:
4363 * thumbnailer/evince-thumbnailer.schemas.in:
4365 Make thumbnailer schemas translatable. Fix for bug 301773
4367 * thumbnailer/evince-thumbnailer-djvu.schemas:
4368 * thumbnailer/evince-thumbnailer-dvi.schemas:
4369 * thumbnailer/evince-thumbnailer.schemas:
4373 Sun Apr 24 01:37:39 2005 Jonathan Blandford <jrb@redhat.com>
4375 * shell/ev-view.c (ev_view_init): forgot to set this.
4377 Sun Apr 24 01:07:27 2005 Jonathan Blandford <jrb@redhat.com>
4379 * shell/ev-view.c: (find_page_at_location),
4380 (get_link_at_location),
4381 (ev_view_set_show_border), (ev_view_set_spacing),
4382 (ev_view_zoom_for_size_continuous_and_dual_page),
4383 (ev_view_zoom_for_size_continuous): Fix links for dual/continuous.
4384 Also, add a quick fix measuring of widths. Also, removed
4385 ev_view_set_spacing and ev_view_set_show_border.
4387 * shell/ev-window.c: (ev_window_unfullscreen),
4388 (ev_window_cmd_view_fullscreen): Don't adjust the border/spacing.
4390 2005-04-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4392 * shell/ev-view.c: (view_update_range_and_current_page),
4395 Fix crash on exit and scrolling to page in continuous view.
4397 Sat Apr 23 13:13:04 2005 Jonathan Blandford <jrb@redhat.com>
4400 * backend/ev-page-cache.c: (_ev_page_cache_new),
4401 (ev_page_cache_get_max_width_size),
4402 (ev_page_cache_get_max_height_size):
4403 * backend/ev-page-cache.h:
4404 * data/evince-ui.xml:
4405 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init):
4406 * shell/ev-view.c: (view_update_adjustments),
4407 (view_update_range_and_current_page), (get_bounding_box_size),
4408 (ev_view_size_request_continuous_and_dual_page),
4409 (ev_view_size_request_continuous),
4410 (ev_view_size_request_dual_page),
4411 (ev_view_size_request_single_page), (ev_view_size_request),
4412 (ev_view_size_allocate), (get_page_extents), (draw_one_page),
4413 (ev_view_bin_expose), (ev_view_expose_event),
4414 (ev_view_set_property), (ev_view_get_property),
4415 (ev_view_class_init), (ev_view_init), (ev_view_new),
4416 (page_changed_cb), (ev_view_zoom), (ev_view_set_continuous),
4417 (ev_view_set_dual_page), (ev_view_set_full_screen),
4418 (ev_view_set_presentation), (ev_view_set_sizing_mode),
4419 (ev_view_can_zoom_in), (ev_view_can_zoom_out), (ev_view_zoom_in),
4420 (ev_view_zoom_out), (zoom_for_size_fit_width),
4421 (zoom_for_size_best_fit),
4422 (ev_view_zoom_for_size_continuous_and_dual_page),
4423 (ev_view_zoom_for_size_continuous),
4424 (ev_view_zoom_for_size_dual_page),
4425 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
4426 (ev_view_show_cursor), (ev_sizing_mode_get_type):
4428 * shell/ev-window.c: (update_action_sensitivity),
4429 (ev_window_cmd_continuous), (ev_window_cmd_dual),
4430 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
4431 (update_sizing_buttons), (ev_window_cmd_view_zoom_in),
4432 (ev_window_cmd_view_zoom_out), (update_view_size),
4433 (ev_window_set_sizing_mode), (ev_window_init):
4435 Add Continuous and Dual page modes.
4437 2005-04-23 James Bowes <bowes@cs.dal.ca>
4439 * dvi/dvi-document.c: (dvi_document_load),
4440 (dvi_document_thumbnails_get_thumbnail),
4441 (dvi_document_init_params): Fix up some mixups between
4442 width and height to correct thumbnail rendering.
4444 2005-04-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4446 * dvi/mdvi-lib/private.h:
4447 * dvi/mdvi-lib/setup.c: (mdvi_init_kpathsea):
4449 Suppess output for kpathsea during font generation. Thanks to
4452 Fri Apr 22 19:57:46 2005 Jonathan Blandford <jrb@redhat.com>
4459 * Makefile.am: fix distcheck.
4461 2005-04-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4463 * shell/ev-sidebar-links.c: (selection_changed_callback),
4464 (update_page_callback), (row_activated_callback),
4465 (job_finished_callback), (ev_sidebar_links_set_document):
4467 Fix for bug #169901. Double click on links expands tree.
4469 2005-03-14 Bryan Clark <clarkbw@cvs.gnome.org>
4471 * shell/ev-window.c (ev_window_init): Removed fullscreen toolbar
4472 hard-coded style. Fix for bug 170111
4474 2005-04-22 Kristian Høgsberg <krh@redhat.com>
4476 * shell/ev-view.c (highlight_find_results): Remove unnecessary
4479 2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
4481 * thumbnailer/evince-thumbnailer.schemas: real fix for bug 172496
4483 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
4485 * pdf/ev-poppler.cc:
4486 * shell/ev-view.c: (highlight_find_results):
4488 Fix find on single page documents
4490 2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
4492 * data/evince.schemas.in: fix for bug 301390
4494 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
4496 * shell/ev-view.c: (ev_view_can_zoom_in), (ev_view_can_zoom_out),
4497 (ev_view_zoom_out), (ev_view_zoom_normal):
4499 * shell/ev-window.c: (update_action_sensitivity),
4500 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
4501 (ev_window_cmd_view_zoom_in), (ev_window_cmd_view_zoom_out),
4502 (ev_window_cmd_view_normal_size):
4504 Fix normal size zoom. Make zoom in/zoom out unsensitive when
4505 they are behyond the limits. Tweak MAX_ZOOM to 6, sucks but
4508 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
4512 Depend on 2.57, 2.59 doesnt seem to be necessary
4514 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
4516 * shell/ev-page-action.c: (update_pages_label), (page_changed_cb),
4519 Put back total number of pages as (1 of 1234)
4521 Thu Apr 21 23:37:52 2005 Jonathan Blandford <jrb@redhat.com>
4523 * shell/ev-pixbuf-cache.c (dispose_cache_job_info): actually
4526 * backend/ev-document.h: Remove EV_DOC_MUTEX in favor of a locking
4527 function. This helps debugging.
4529 2005-04-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4531 * djvu/djvu-document.c: (djvu_document_class_init),
4532 (djvu_document_get_info), (djvu_document_document_iface_init):
4533 * dvi/dvi-document.c: (dvi_document_class_init),
4534 (dvi_document_get_info), (dvi_document_document_iface_init):
4536 Dummy implementation of get_info method for dvi and djvu. Fix
4537 crashes with those backends
4539 2005-04-20 Marco Pesenti Gritti <mpg@redhat.com>
4541 * data/evince.desktop.in:
4543 Add application/x-gzpostscript
4545 2005-04-20 Bryan Clark <clarkbw@cvs.gnome.org>
4547 * data/evince.schemas.in: Added real long descriptions,
4550 * README: Added actual text, closes bug 171869
4552 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
4554 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
4558 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
4560 * backend/ev-document-info.h:
4562 s/GDate */GDate so we can just use g_free
4564 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
4566 * shell/ev-window.c: (update_document_mode),
4567 (ev_window_setup_document):
4569 Show the window in fullscreen when specified by
4572 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
4574 * backend/ev-document.c: (ev_document_class_init),
4575 (ev_document_get_info), (ev_document_render_pixbuf):
4576 * backend/ev-document.h:
4577 * backend/ev-page-cache.c: (_ev_page_cache_new):
4578 * pdf/ev-poppler.cc:
4579 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
4580 (pixbuf_document_get_info), (pixbuf_document_document_iface_init):
4581 * ps/ps-document.c: (ps_document_class_init), (document_load),
4582 (ps_document_get_info), (ps_document_document_iface_init):
4584 Remove get_title from the interface, we can just use document info
4586 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
4588 * backend/Makefile.am:
4589 * backend/ev-document.c: (ev_document_render_get_info):
4590 * backend/ev-document.h:
4591 * pdf/ev-poppler.cc:
4593 Initial support for document info. Based on jrb patch.
4595 2005-04-19 Paolo Borelli <pborelli@katamail.com>
4597 * shell/ev-window.c: (ev_window_state_event),
4598 (ev_window_class_init), (ev_window_init):
4600 Doesn't show resize grip when maximized. See bug #301053
4602 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4606 ev-sidebar-thumbnails now has translatable labels
4608 * shell/Makefile.am:
4609 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document),
4610 (ev_sidebar_links_support_document), (ev_sidebar_links_get_label),
4611 (ev_sidebar_links_page_iface_init):
4612 * shell/ev-sidebar-links.h:
4613 * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
4614 (ev_sidebar_page_support_document), (ev_sidebar_page_set_document),
4615 (ev_sidebar_page_get_label):
4616 * shell/ev-sidebar-page.h:
4617 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_new),
4618 (ev_sidebar_thumbnails_set_document),
4619 (ev_sidebar_thumbnails_support_document),
4620 (ev_sidebar_thumbnails_get_label),
4621 (ev_sidebar_thumbnails_page_iface_init):
4622 * shell/ev-sidebar-thumbnails.h:
4623 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
4624 (ev_sidebar_set_document):
4625 * shell/ev-sidebar.h:
4626 * shell/ev-window.c: (ev_window_setup_document), (ev_window_init):
4628 Small rework of sidebar code. Now sidebar pages should implement
4629 EvSidebarPage interface. That makes page management in EvSidebar
4630 easier. See bug #164811 for details
4632 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4634 * shell/ev-application.c: (ev_application_open):
4635 * shell/ev-document-types.c:
4637 Fix build error and small problem with application exit
4639 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4641 * thumbnailer/Makefile.am:
4642 * thumbnailer/evince-thumbnailer-djvu.schemas:
4643 * thumbnailer/evince-thumbnailer-dvi.schemas:
4645 Conditionally install schemas for djvu/dvi thumbnailer
4647 2005-04-18 David Malcolm <dmalcolm@redhat.com>
4649 * shell/ev-document-types.h:
4650 * shell/ev-document-types.c:
4651 New files, handling the mapping from mimetypes to backends
4653 * shell/ev-window.c:
4654 * thumbnailer/evince-thumbnailer.c:
4655 Use the ev-document-types code
4657 * shell/Makefile.am:
4658 Added new convenience library libevbackendfactory_la, containing
4659 the new mimetype->backend logic; moved the backends into it.
4661 * thumbnailer/Makefile.am:
4662 Make the thumbnailer link with the libevbackend.la convenience
4663 library, rather than having a duplicate of the backend logic here.
4665 2005-04-18 Paolo Borelli <pborelli@katamail.com>
4667 * shell/ev-stock-icons.c: constify some vars.
4668 * shell/ev-window.c: ditto.
4670 2005-04-18 Marco Pesenti Gritti <mpg@redhat.com>
4672 * ps/ps-document.c (get_page_orientation):
4674 Respect document orientation
4676 2005-04-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4680 * shell/Makefile.am:
4682 Move library dependencies to components.
4684 * shell/ev-window.c: (update_window_title),
4685 (start_loading_document):
4687 Fix display of uris with spaces. Bug 168358.
4689 Sat Apr 16 18:53:47 2005 Jonathan Blandford <jrb@redhat.com>
4691 * shell/ev-sidebar-links.c: (selection_changed_cb):
4692 * shell/ev-view.c: (ev_view_finalize), (go_to_link),
4693 (ev_view_button_release_event), (ev_view_set_document):
4695 * shell/ev-window.c: (find_bar_search_changed_cb):
4696 * shell/ev-window.h: Minor cleanups removing some dead code.
4698 2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4700 * backend/ev-page-cache.c: (_ev_page_cache_new):
4702 Set current page to 0 if document has pages.
4704 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
4706 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
4708 Initialize GError to NULL, fix a crash when loading fails.
4710 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
4712 * shell/ev-window.c: (update_view_size):
4714 Calculate shadow size only when there is actually
4717 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
4719 * shell/ev-view.c: (ev_view_set_spacing), (ev_view_init):
4722 Allow setting view spacing, default to 0
4724 * shell/ev-window.c: (ev_window_unfullscreen),
4725 (ev_window_cmd_view_fullscreen), (ev_window_init):
4727 Remove spacing in fullscreen mode
4729 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
4731 * shell/ev-view.c: (compute_border), (compute_zoom_factor),
4732 (ev_view_size_request), (expose_bin_window),
4733 (ev_view_set_show_border), (ev_view_init), (page_changed_cb):
4735 * shell/ev-window.c: (ev_window_unfullscreen),
4736 (ev_window_cmd_view_fullscreen):
4738 Do not draw the border in fulscreen
4740 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
4742 * shell/ev-view.c: (ev_view_get_offsets), (compute_zoom_factor),
4743 (ev_view_size_request), (expose_bin_window), (ev_view_select_all),
4744 (find_page_at_location), (page_changed_cb):
4746 Rework border calculation, so that I can more easily disable it.
4747 Code somewhat cleaner too.
4749 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
4751 * backend/ev-page-cache.c: (ev_page_cache_init),
4752 (_ev_page_cache_new):
4754 Remove some assertions, documents can have 0 pages.
4755 Make initial current page -1.
4757 * shell/ev-page-action.c: (page_changed_cb):
4759 Show "" if current page is -1
4761 * shell/ev-window.c: (update_action_sensitivity),
4762 (ev_window_setup_document):
4764 When document has 0 pages do not set the view
4765 and make nearly everything insensitive.
4767 2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4769 * shell/ev-page-view.c:
4770 * shell/ev-page-view.h:
4772 Remove unused files.
4774 * shell/ev-sidebar-thumbnails.c:
4775 (ev_sidebar_thumbnails_set_document):
4776 * shell/ev-sidebar.c: (ev_sidebar_set_document),
4777 (ev_sidebar_supports_document):
4778 * shell/ev-sidebar.h:
4779 * shell/ev-window.c: (ev_window_setup_document):
4781 Doesn't show thumbnails if document has 1 page. Make
4782 sidebar menu entries sensitive only if if they have
4783 sense. Fix bug 164811.
4785 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
4787 * shell/ev-view.c: (compute_zoom_factor), (ev_view_size_request),
4788 (page_changed_cb), (ev_view_zoom), (ev_view_zoom_in),
4789 (ev_view_zoom_out), (ev_view_set_size):
4791 Rework sizing to deal with documents with not uniform page
4794 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
4796 * backend/ev-page-cache.c: (_ev_page_cache_new):
4798 Fix several page size caching bugs
4800 2005-04-15 Luca Ferretti <elle.uca@libero.it>
4802 * shell/ev-window.c: (set_action_properties):
4804 Make all toolbar items translatable
4806 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
4808 * ps/ps-document.c: (ps_document_init), (ps_document_get_type),
4809 (save_page_list), (ps_document_save),
4810 (ps_document_document_iface_init), (ps_document_ps_export_begin),
4811 (ps_document_ps_export_do_page), (ps_document_ps_export_end),
4812 (ps_document_ps_exporter_iface_init):
4815 Based on a patch by J�rg Billeter <j@bitron.ch>
4817 Implement print and save a copy for the ps backend.
4819 2005-04-14 Marco Pesenti Gritti <mpg@redhat.com>
4821 * backend/ev-document.h:
4822 * djvu/djvu-document.c: (djvu_document_can_get_text),
4823 (djvu_document_document_iface_init):
4824 * dvi/dvi-document.c: (dvi_document_can_get_text),
4825 (dvi_document_document_iface_init):
4826 * pdf/ev-poppler.cc:
4827 * pixbuf/pixbuf-document.c: (pixbuf_document_can_get_text),
4828 (pixbuf_document_document_iface_init):
4829 * ps/ps-document.c: (ps_document_can_get_text),
4830 (ps_document_document_iface_init):
4831 * shell/ev-view.c: (ev_view_copy), (ev_view_primary_get_cb):
4832 * shell/ev-window.c: (update_action_sensitivity):
4834 Fix the crash when trying to copy in backends that doesnt
4835 support it. We can implement a better solution once we
4836 do real text selection.
4838 2005-04-12 Marco Pesenti Gritti <mpg@redhat.com>
4840 * data/evince-ui.xml:
4841 * shell/ev-window.c: (ev_window_cmd_escape):
4843 Work around the Escape conflict (find bar and unfullscreen)
4845 2005-04-12 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
4847 * backend/ev-page-cache.c: (ev_page_cache_next_page):
4849 Fix for #300233. Next page correctly handles document end.
4851 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
4852 (ev_sidebar_thumbnails_class_init),
4853 (ev_sidebar_thumbnails_set_document),
4854 (ev_sidebar_thumbnails_clear_job),
4855 (ev_sidebar_thumbnails_clear_model):
4857 Cleanup thumbnail jobs on document changes.
4859 * shell/ev-view.c: (add_scroll_binding_keypad),
4860 (add_scroll_binding_shifted), (ev_view_class_init):
4862 Shift + Space scrolls up. Fix for #173184
4864 * shell/ev-window.c: (ev_window_open_page),
4865 (ev_window_cmd_view_reload):
4867 Fix reload (Bug #300094)
4869 2005-04-09 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4872 * dvi/mdvi-lib/assoc.c:
4873 * dvi/mdvi-lib/assoc.h: Removed garbage files
4875 * dvi/mdvi-lib/bitmap.c:
4876 * dvi/mdvi-lib/color.c: (mdvi_set_color), (mdvi_push_color),
4877 (mdvi_pop_color), (mdvi_reset_color), (get_color_table):
4878 * dvi/mdvi-lib/color.h: Antialias of rules
4880 * dvi/mdvi-lib/common.h:
4881 * dvi/mdvi-lib/dviread.c: (mdvi_configure), (mdvi_init_context),
4882 (mdvi_destroy_context), (draw_shrink_rule), (draw_box), (set_rule):
4883 * dvi/mdvi-lib/files.c:
4884 * dvi/mdvi-lib/fontmap.c: (ps_init_default_paths):
4885 * dvi/mdvi-lib/mdvi.h:
4886 * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
4887 * dvi/mdvi-lib/tfmfile.c: (ofm_load_file):
4888 * dvi/mdvi-lib/util.c: Fix compile warnings
4890 * dvi/dvi-document.c:
4891 (dvi_document_load), (dvi_document_thumbnails_get_dimensions),
4892 (dvi_document_thumbnails_get_thumbnail),
4893 (dvi_document_document_thumbnails_iface_init):
4894 * dvi/mdvi-lib/Makefile.am:
4895 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
4896 (dvi_pixbuf_set_color), (mdvi_pixbuf_device_render):
4898 Dvi backend now renders thumbnails
4900 2005-04-09 Christian Persch <chpe@cvs.gnome.org>
4902 * shell/main.c: (main):
4904 Save accelerators on exit. Fixes bug #172095.
4906 Sat Apr 9 01:05:09 2005 Jonathan Blandford <jrb@redhat.com>
4908 * shell/ev-pixbuf-cache.c (move_one_job): Actually fix the "FIXME:
4909 update priority" comment.
4911 * backend/ev-job-queue.c: Give a way to change priority.
4913 Sat Apr 9 00:05:36 2005 Jonathan Blandford <jrb@redhat.com>
4915 * shell/ev-page-action.c: Fix logic.
4917 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
4919 * shell/ev-view.c: (ev_view_can_find_next):
4920 * shell/ev-window.c: (ev_window_setup_document):
4922 Check that the document supports find
4924 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
4926 * data/evince-ui.xml:
4927 * shell/ev-view.c: (ev_view_can_find_next):
4929 * shell/ev-window.c: (update_action_sensitivity),
4930 (find_changed_cb), (ev_window_setup_document),
4931 (ev_window_cmd_edit_find_next):
4935 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
4937 * pdf/ev-poppler.cc:
4938 * shell/ev-print-job.c: (idle_print_handler):
4940 Make printing work again
4942 Fri Apr 8 01:12:24 2005 Jonathan Blandford <jrb@redhat.com>
4944 * shell/ev-page-action.h:
4945 * shell/ev-page-action.c: (ev_page_action_widget_init),
4946 (ev_page_action_widget_class_init), (page_changed_cb),
4947 (create_tool_item), (update_page_cache), (build_new_tree_cb),
4948 (get_filter_model_from_model), (match_selected_cb),
4949 (display_completion_text), (match_completion), (update_model),
4950 (connect_proxy), (ev_page_action_set_property),
4951 (ev_page_action_get_property), (ev_page_action_set_document),
4952 (ev_page_action_set_model), (ev_page_action_class_init): Big
4953 reworking to make completions work iff we have >= GTK-2.7.0
4955 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_property),
4956 (ev_sidebar_links_get_property), (ev_sidebar_links_class_init),
4957 (job_finished_cb): We now have a 'model' property that is set when
4958 the links are loaded. This can be caught with "notify::model"
4960 * shell/ev-window.c: (sidebar_widget_model_set), (ev_window_init):
4961 listen for the model to be set, and propagate it to the action.
4963 2005-04-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4965 * cut-n-paste/recent-files/egg-recent-item.c:
4966 (egg_recent_item_set_uri), (make_valid_utf8),
4967 (egg_recent_item_set_mime_type), (egg_recent_item_get_mime_type):
4968 * cut-n-paste/recent-files/egg-recent-item.h:
4970 Update egg-recent from libegg. This should fix long
4971 startup problem. For details see
4972 http://bugzilla.gnome.org/show_bug.cgi?id=160531
4974 2005-04-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4976 * cut-n-paste/recent-files/Makefile.am:
4977 * data/evince-ui.xml, shell/Makefile.am:
4978 * shell/ev-application.c, shell/ev-application.h:
4979 * shell/ev-window.c: Recent files support.
4981 * configure.ac: Added "ru" to ALL_LINGUAS.
4983 * dvju: new backend to support DJVU files.
4984 * dvi: new backend to support DVI.
4986 * configure.ac, Makefile.am, shell/Makefile.am, ev-window.c:
4987 * ev-application.c: Support for new backends.
4989 * help, ev-window.c, main.c shell/Makefile.am:
4990 Evince user documentation.
4992 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
4995 * shell/ev-window.c:
4996 * thumbnailer/evince-thumbnailer.c:
4998 s/pdf-document/ev-poppler
5000 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
5007 * ps/ps-document.c: (setup_pixmap):
5011 2005-04-05 Kristian Høgsberg <krh@redhat.com>
5013 * backend/ev-page-cache.c (ev_page_cache_next_page):
5014 * shell/ev-window.c (ev_window_cmd_go_next_page)
5015 (ev_window_cmd_go_first_page): Fix of by one errors.
5017 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
5019 * ps/ps-document.c: (get_page_box):
5021 Fix page size calculation
5023 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
5025 * ps/ps-document.c: (ps_document_init), (push_pixbuf),
5026 (ps_document_cleanup), (setup_pixmap), (get_page_box),
5027 (get_page_orientation), (setup_page), (document_load),
5028 (ps_document_get_page_size), (render_pixbuf_idle):
5031 More refactoring to adapt to EvDocument changes
5033 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
5035 * ps/ps-document.c: (start_interpreter):
5037 Actually add alpha args
5039 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
5041 * pdf/ev-poppler.cc:
5043 Make clipboard work again
5045 2005-04-04 Kristian Høgsberg <krh@redhat.com>
5047 Make searching work again.
5049 * backend/ev-document.c:
5050 * backend/ev-document.h:
5051 * backend/ev-document-find.c:
5052 * backend/ev-document-find.h: Change EvDocumentIface so we no
5053 longer store the current page or zoom level in the document. The
5054 consequence is that all calls that operate on the current page now
5055 instead take the page number as an extra argument, and all
5056 coordinates are now doubles in document coordinate system.
5058 * pdf/ev-poppler.cc:
5059 * pixbuf/pixbuf-document.c:
5060 * ps/ps-document.c: Update backends accordingly.
5062 2005-04-04 Marco Pesenti Gritti <marco@gnome.org>
5066 Add required gettext version
5068 Sat Apr 2 18:57:00 2005 Jonathan Blandford <jrb@redhat.com>
5070 * shell/evwindow.c: Patch from Alberto Mesas <amesas@gmail.com> to
5071 make F1 bring up non-existent help.
5073 * shell/eggfindbar.c: Patch from Christian Persch to sync to
5074 epiphany's find bar, #167477
5076 * shell/ev-view.c (ev_view_jump): Patch from Emil Soleyman-Zomalan
5077 <emil@nishra.com> to add space-bar scrolling,
5079 * shell/ev-window.c (static GtkActionEntry entries): add default
5080 keybinding for Help (F1)
5083 * shell/ev-view.c (ev_view_show_cursor): Fix from Yuval Tanny
5084 changing EV_VIEW_CURSOR_LINK to EV_VIEW_CURSOR_NORMAL resolves bug
5087 2005-04-01 David Malcolm <dmalcolm@redhat.com>
5090 * pixbuf/pixbuf-document.c:
5092 Got pixbuf backend working again
5094 2005-04-01 Steve Murphy <murf@e-tools.com>
5096 * configure.in: Added "rw" to ALL_LINGUAS.
5098 Fri Apr 1 02:33:41 2005 Jonathan Blandford <jrb@redhat.com>
5100 * shell/ev-sidebar-links.c (create_loading_model): Fix mismatch in
5101 model types, noticed by Martin Kretzschmar.
5103 2005-04-01 Kristian Høgsberg <krh@redhat.com>
5105 * pdf/ev-poppler.cc: Implement search based on
5106 poppler_page_find_text(). Currently a bit crude since we remember
5107 all matches from all pages. Also, we grab the big document lock
5108 when we search since searching changes the underlying stream and
5109 thus conflicts with the rendering thread.
5111 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
5112 (jump_to_find_page), (ev_view_set_document), (ev_view_find_next),
5113 (ev_view_find_previous): Fix some page indexes to be 0 based,
5114 offset rubber band by view offset,
5116 Fri Apr 01 09:21:12 2005 Pablo Saratxaga <pablo@mandrakesoft.com>
5118 * configure.ac: Added Walloon (wa) to ALL_LINGUAS.
5120 Fri Apr 1 01:59:39 2005 Jonathan Blandford <jrb@redhat.com>
5122 * shell/ev-page-action.c: Changed to use page labels now. Rewrote
5123 completely because I didn't understand GtkActions. I should
5124 read Marco's code more carefully in the future.
5126 * backend/ev-page-cache.h (ev_page_cache_set_page_label): New
5129 2005-03-31 Kristian Høgsberg <krh@redhat.com>
5131 * pdf/ev-poppler.cc (pdf_document_get_links): Update to work with
5132 PopplerRectangle change from poppler CVS.
5134 Thu Mar 31 13:27:50 2005 Jonathan Blandford <jrb@redhat.com>
5136 * backend/ev-document.c: (ev_document_get_page_label):
5137 * backend/ev-document.h:
5138 * backend/ev-page-cache.c: (_ev_page_cache_new),
5139 (ev_page_cache_get_page_label):
5140 * backend/ev-page-cache.h:
5141 * pdf/ev-poppler.cc:
5142 * shell/ev-sidebar-links.c: (ev_sidebar_links_construct),
5143 (links_page_num_func):
5144 * shell/ev-sidebar-thumbnails.c:
5145 (ev_sidebar_thumbnails_set_document):
5146 * shell/ev-view.c: (status_message_from_link),
5147 (ev_view_motion_notify_event):
5148 * shell/ev-window.c: (document_supports_sidebar): Add in page
5149 label support. It's not perfect yet, but it's the first 'feature'
5151 Also, fix a bogus comment noticed by crispin.
5153 Thu Mar 31 01:21:58 2005 Jonathan Blandford <jrb@redhat.com>
5155 * Makefile.am: Remove pixbuf backend for now
5157 * configure.ac: Require poppler-glib instead of just poppler.
5159 * backend/ev-document-thumbnails.h: Add a comment
5161 * backend/ev-document.h:
5162 * backend/ev-document.c: (ev_document_class_init),
5163 (ev_document_load), (ev_document_get_link),
5164 (ev_document_get_links): Remove 3 methods and add get_links.
5167 * backend/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
5168 * backend/ev-jobs.h: now EvJobRender can grab the links for a document.
5170 * backend/ev-link.c: (ev_link_set_title),
5171 (ev_link_mapping_free_foreach), (ev_link_mapping_free),
5172 (ev_link_mapping_find):
5173 * backend/ev-link.h: Allow NULL titles. Also, introduce a mapping link.
5175 * backend/ev-page-cache.c: (ev_page_cache_init),
5176 (_ev_page_cache_new), (ev_page_cache_set_current_page),
5177 (ev_page_cache_get_size), (ev_page_cache_next_page),
5178 (ev_page_cache_prev_page): Fix to be 0 based.
5182 * pdf/ev-poppler.cc: New backend.
5184 * ps/ps-document.c: (ps_document_init), (ps_document_set_page),
5185 (ps_document_get_page), (ps_document_document_iface_init):
5187 * shell/ev-pixbuf-cache.h:
5188 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
5189 (dispose_cache_job_info), (job_finished_cb), (move_one_job),
5190 (ev_pixbuf_cache_update_range), (copy_job_to_job_info),
5191 (add_job_if_needed), (ev_pixbuf_cache_set_page_range),
5192 (ev_pixbuf_cache_get_pixbuf), (ev_pixbuf_cache_get_link_mapping):
5193 Fix up code to grab a page cache per each doc. Also, fix to be 0
5196 * shell/ev-sidebar-thumbnails.c:
5197 (ev_sidebar_tree_selection_changed), (page_changed_cb),
5198 (ev_sidebar_thumbnails_set_document): Fix to be 0 based.
5200 * shell/ev-view.c: (status_message_from_link),
5201 (find_page_at_location), (get_link_at_location),
5202 (ev_view_motion_notify_event), (ev_view_button_release_event),
5203 (ev_view_init): Use the new link code. Fix to be 0 based.
5205 * shell/ev-window.c: (update_action_sensitivity),
5206 (document_supports_sidebar): 0 based.
5208 Fri Mar 25 16:55:58 2005 Jonathan Blandford <jrb@redhat.com>
5210 * pdf/pdf-document.cc: Patch from Fernando Herrera
5211 <fherrera@onirica.com> to fix my quick fix to get_thumbnail.
5214 Wed Mar 23 23:49:41 2005 Jonathan Blandford <jrb@redhat.com>
5216 * pdf/pdf-document.cc (pdf_document_thumbnails_get_thumbnail): add
5217 1 to the page, as this seems to be 1 based. I thought we has this
5220 2005-03-23 Marco Pesenti Gritti <marco@gnome.org>
5223 * backend/Makefile.am:
5224 * backend/ev-document-links.c:
5225 (ev_document_links_has_document_links),
5226 (ev_document_links_get_links_model):
5227 * backend/ev-document-links.h:
5228 * backend/ev-document.c: (ev_document_get_page_cache),
5229 (ev_document_get_doc_mutex), (ev_document_load),
5230 (ev_document_save), (ev_document_get_title),
5231 (ev_document_get_n_pages), (ev_document_set_page),
5232 (ev_document_get_page), (ev_document_set_target),
5233 (ev_document_set_scale), (ev_document_set_page_offset),
5234 (ev_document_get_page_size), (ev_document_get_text),
5235 (ev_document_get_link), (ev_document_render),
5236 (ev_document_render_pixbuf), (ev_document_scale_changed):
5237 * backend/ev-document.h:
5238 * backend/ev-job-queue.c: (remove_object_from_queue),
5239 (notify_finished), (handle_job), (search_for_jobs_unlocked),
5240 (no_jobs_available_unlocked), (ev_render_thread),
5241 (ev_job_queue_init), (find_queue), (ev_job_queue_add_job),
5242 (ev_job_queue_remove_job):
5243 * backend/ev-job-queue.h:
5244 * backend/ev-jobs.c: (ev_job_init), (ev_job_dispose),
5245 (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
5246 (ev_job_links_class_init), (ev_job_render_init),
5247 (ev_job_render_dispose), (ev_job_render_class_init),
5248 (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
5249 (ev_job_thumbnail_class_init), (ev_job_finished),
5250 (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
5251 (ev_job_render_run), (ev_job_thumbnail_new),
5252 (ev_job_thumbnail_run):
5253 * backend/ev-jobs.h:
5254 * backend/ev-link.c:
5255 * backend/ev-link.h:
5256 * backend/ev-page-cache.c: (ev_page_cache_init),
5257 (ev_page_cache_class_init), (ev_page_cache_finalize),
5258 (_ev_page_cache_new), (ev_page_cache_get_n_pages),
5259 (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
5260 (ev_page_cache_set_link), (ev_page_cache_get_title),
5261 (ev_page_cache_get_size), (ev_page_cache_next_page),
5262 (ev_page_cache_prev_page):
5263 * backend/ev-page-cache.h:
5264 * pdf/pdf-document.cc:
5267 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
5268 (push_pixbuf), (interpreter_failed), (ps_document_cleanup),
5269 (ps_document_widget_event), (ps_document_finalize), (get_xdpi),
5270 (get_ydpi), (setup_pixmap), (setup_page), (close_pipe),
5271 (is_interpreter_ready), (output), (catchPipe), (input),
5272 (start_interpreter), (check_filecompressed), (compute_dimensions),
5273 (ps_document_enable_interpreter), (document_load),
5274 (ps_document_next_page), (render_page), (ps_document_set_page),
5275 (ps_document_set_scale), (render_pixbuf_idle),
5276 (ps_document_render_pixbuf), (ps_document_document_iface_init):
5278 * shell/Makefile.am:
5279 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
5280 (ev_pixbuf_cache_class_init), (ev_pixbuf_cache_finalize),
5281 (dispose_cache_job_info), (ev_pixbuf_cache_dispose),
5282 (ev_pixbuf_cache_new), (job_finished_cb),
5283 (check_job_size_and_unref), (move_one_job),
5284 (ev_pixbuf_cache_update_range), (find_job_cache),
5285 (ev_pixbuf_cache_clear_job_sizes), (add_job_if_needed),
5286 (ev_pixbuf_cache_add_jobs_if_needed),
5287 (ev_pixbuf_cache_set_page_range), (ev_pixbuf_cache_get_pixbuf):
5288 * shell/ev-pixbuf-cache.h:
5289 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
5290 (idle_print_handler):
5291 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
5292 (selection_changed_cb), (create_loading_model),
5293 (ev_sidebar_links_construct), (links_page_num_func),
5294 (ev_sidebar_links_clear_document), (update_page_callback_foreach),
5295 (update_page_callback), (job_finished_cb),
5296 (ev_sidebar_links_set_document):
5297 * shell/ev-sidebar-thumbnails.c:
5298 (ev_sidebar_thumbnails_class_init), (adjustment_changed_cb),
5299 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init),
5300 (page_changed_cb), (thumbnail_job_completed_callback),
5301 (ev_sidebar_thumbnails_set_document):
5302 * shell/ev-sidebar-thumbnails.h:
5303 * shell/ev-sidebar.c: (ev_sidebar_set_document):
5304 * shell/ev-view.c: (ev_view_finalize), (ev_view_destroy),
5305 (ev_view_get_offsets), (ev_view_size_request), (ev_view_realize),
5306 (ev_view_unrealize), (highlight_find_results), (expose_bin_window),
5307 (ev_view_select_all), (ev_view_copy), (ev_view_primary_get_cb),
5308 (ev_view_create_invisible_cursor), (ev_view_motion_notify_event),
5309 (ev_view_button_release_event), (ev_view_scroll_view),
5310 (ev_view_class_init), (ev_view_init), (update_find_status_message),
5311 (jump_to_find_result), (jump_to_find_page), (find_changed_cb),
5312 (ev_view_new), (job_finished_cb), (page_changed_cb),
5313 (ev_view_set_document), (go_to_link), (ev_view_zoom),
5314 (size_to_zoom_factor), (ev_view_set_size), (ev_view_find_next),
5315 (ev_view_find_previous):
5317 * shell/ev-window.c: (update_action_sensitivity),
5318 (ev_window_open_page), (update_window_title), (update_total_pages),
5319 (page_changed_cb), (ev_window_setup_document),
5320 (password_dialog_response), (ev_window_cmd_save_as),
5321 (ev_window_print), (ev_window_cmd_go_previous_page),
5322 (ev_window_cmd_go_next_page), (ev_window_cmd_go_first_page),
5323 (ev_window_cmd_go_last_page), (ev_window_cmd_view_reload),
5324 (find_bar_search_changed_cb), (goto_page_cb), (ev_window_init):
5325 * shell/main.c: (main):
5327 Merge evince-threads branch
5329 2005-03-16 Žygimantas Beručka <uid0@akl.lt>
5331 * configure.ac: Added "lt" to ALL_LINGUAS.
5333 2005-03-14 Marco Pesenti Gritti <marco@gnome.org>
5340 2005-03-13 Fernando Herrera <fherrera@onirica.com>
5342 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
5344 Fix here also the thumbnails 1-basedness :)
5346 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
5353 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
5355 * pdf/pdf-document.cc:
5356 * shell/ev-sidebar-thumbnails.c: (adjustment_changed_cb),
5357 (do_one_iteration), (ev_sidebar_thumbnails_set_document):
5359 Fix the mess we did with thumbnails and 1-basedness
5361 2005-03-12 Changwoo Ryu <cwryu@debian.org>
5363 * configure.ac (ALL_LINGUAS): Added "ko" (Korean).
5365 2005-03-09 Marco Pesenti Gritti <marco@gnome.org>
5372 2005-03-08 Marco Pesenti Gritti <marco@gnome.org>
5375 * ps/gsdefaults.c: (gtk_gs_defaults_get_interpreter_cmd),
5376 (gtk_gs_defaults_get_alpha_parameters),
5377 (gtk_gs_defaults_get_ungzip_cmd),
5378 (gtk_gs_defaults_get_unbzip2_cmd):
5380 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
5381 (ps_document_get_orientation), (document_load),
5382 (ps_document_goto_page), (ps_document_set_page_size):
5385 Some more sanitization of the ps backend. Remove a lot
5386 of unused code and do not base our defaults on ggv
5389 2005-03-08 Fernando Herrera <fherrera@onirica.com>
5391 * thumbnailer/evince-thumbnailer.schemas:
5392 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
5393 (main): add -s option for thumbnail size.
5395 2005-03-07 Christian Persch <chpe@cvs.gnome.org>
5399 AC_PROG_RANLIB is rendered obsolete by AC_PROG_LIBTOOL;
5402 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
5404 * pdf/pdf-document.cc:
5406 Remove 4 pixels of useless border from the
5409 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
5411 * backend/ev-document-thumbnails.c:
5412 (ev_document_thumbnails_get_thumbnail):
5413 * backend/ev-document-thumbnails.h:
5415 Rework API a bit. Add a border flag and
5416 change sizing logic (now the size we specify
5417 applies to the bigger dimension).
5419 * pdf/pdf-document.cc:
5420 * pixbuf/pixbuf-document.c:
5421 (pixbuf_document_thumbnails_get_thumbnail):
5422 * shell/ev-sidebar-thumbnails.c: (do_one_iteration):
5423 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
5425 Adapt to the new API and do not draw a border for nautilus
5428 2005-03-03 Fernando Herrera <fherrera@onirica.com>
5430 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
5431 take thumbnails from page "0" instead of "1". Added a copyright header.
5433 2005-03-03 Jens Granseuer <jensgr@gmx.net>
5435 * ps/ps-document.c: (set_up_page), (start_interpreter):
5437 Make it C89 compliant
5439 2005-03-03 Marco Pesenti Gritti <marco@gnome.org>
5444 * pdf/pdf-document.cc:
5445 * thumbnailer/Makefile.am:
5446 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
5448 * thumbnailer/evince-thumbnailer.schemas:
5449 * thumbnailer/pdf-icon.png:
5451 Add a nautilus thumbnailer.
5452 Based on patch by Fernando Herrera <fherrera@onirica.com>.
5454 2005-03-02 Marco Pesenti Gritti <marco@gnome.org>
5462 2005-03-01 Kristian Høgsberg <krh@redhat.com>
5464 Use poppler instead of including xpdf source code. Poppler is a
5465 fork of xpdf to build it as a shared library. See
5466 http://freedesktop.org/wiki/Software/poppler.
5468 * pdf/xpdf/*, pdf/goo/*, pdf/splash/*, pdf/fofi/*: Remove included
5471 * pdf/Makefile.am: Build libpdfdocument.a here.
5473 * pdf/GDKSplashOutputDev.cc:
5474 * pdf/GDKSplashOutputDev.h:
5475 * pdf/GnomeVFSStream.cc:
5476 * pdf/GnomeVFSStream.h:
5479 * test-gdk-output-dev.cc
5481 * Thumb.h: Pull these files out of pdf/xpdf and adjust to compile
5484 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
5486 * shell/ev-sidebar-links.c: (ev_sidebar_links_clear_document):
5488 Clear idle stack before unsetting the document
5490 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
5492 * ps/ps-document.c: (ps_document_widget_event),
5493 (ps_document_set_target), (ps_document_finalize),
5494 (ps_document_get_page):
5496 Disconnect the widget event signal on finalize.
5499 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
5501 * ps/ps-document.c: (set_up_page):
5503 If there is no bpixmap create one, even if size
5506 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
5508 * ps/ps-document.c: (ps_document_init), (ps_document_cleanup),
5509 (set_up_page), (document_load), (ps_document_set_zoom):
5511 Default page is 0. Calculate size even when we have no
5514 2005-02-28 Carlos Garcia Campos <carlosgc@gnome.org>
5516 * shell/ev-sidebar.c: expand the selection widget to be always as
5519 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
5521 * shell/ev-sidebar-thumbnails.c:
5522 (ev_sidebar_thumbnails_set_document):
5524 Clear the list store when setting document
5526 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
5528 * shell/ev-page-action.c: (update_entry), (sync_entry),
5529 (activate_cb), (entry_size_request_cb), (create_tool_item),
5532 Use an entry for the page control instead of spinbuttons
5534 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
5536 * data/evince.schemas.in:
5538 Correct confusing string
5540 Sun Feb 27 23:00:31 2005 Jonathan Blandford <jrb@redhat.com>
5542 * shell/ev-sidebar-links.c (do_one_iteration): Handle title links
5543 for real. Gosh, how long has this been broken.
5545 * pdf/xpdf/pdf-document.cc (build_link_from_action): add back the
5546 check for a NULL link. We crash otherwise.
5548 2005-02-27 Marco Pesenti Gritti <marco@gnome.org>
5555 2005-02-25 Sebastien Bacher <seb128@debian.org>
5557 * configure.ac: add the french translation.
5559 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
5561 * shell/ev-window.c:
5563 Remove unused header -> fix distcheck
5565 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
5567 * shell/ev-window.c: (update_window_title),
5568 (ev_window_popup_password_dialog):
5570 Unescape filename for display
5572 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
5574 * pdf/xpdf/pdf-document.cc:
5576 In get_page_size deal with rotation. Also
5577 cleanup the function a bit.
5579 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
5581 * pdf/xpdf/pdf-document.cc:
5583 Fix crash when opening in new window
5585 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
5589 Check ghostscript >= 7
5591 2005-02-25 Pedro Villavicencio <pvillavi@gnome.cl>
5593 * shell/ev-window.c:
5595 Make page width the default sizing mode
5597 2005-02-25 Carlos Garcia Campos <carlosgc@gnome.org>
5598 Marco Pesenti Gritti <marco@gnome.org>
5600 * shell/ev-window.c: Remember the sidebar size
5602 * data/evince.schemas.in: Add a new gconf key to store the size of
5605 2005-02-24 Kai Willadsen <kaiw@itee.uq.edu.au>
5607 * data/evince-ui.xml:
5608 * shell/ev-window.c: (update_action_sensitivity),
5609 (ev_window_cmd_view_reload):
5611 Add a "Reload" action and menu entry
5613 Thu Feb 24 23:07:33 2005 Jonathan Blandford <jrb@redhat.com>
5615 * shell/ev-window.c (hide_sidebar_and_actions): Hide the sidebar
5616 iff the type doesn't support thumbnailing and indexing.
5618 2005-02-24 Martin Kretzschmar <martink@gnome.org>
5620 * configure.ac (ALL_LINGUAS): Added "zh_TW" (Traditional Chinese).
5622 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
5624 * pdf/splash/Splash.cc:
5626 Port fix for a crasher from kde bug
5627 http://bugs.kde.org/show_bug.cgi?id=97131
5629 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
5631 * pdf/xpdf/pdf-document.cc:
5633 Return a link even if it's of an unrecognized
5634 type. Otherwise we go in an infinte cycle.
5636 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
5638 * shell/ev-window.c: (update_sizing_buttons), (update_view_size),
5639 (size_allocate_cb), (ev_window_set_sizing_mode):
5641 Update size when switching mode
5643 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
5645 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
5646 (ev_window_cmd_view_page_width), (update_sizing_buttons),
5647 (ev_window_cmd_view_normal_size):
5649 Fix size toggle buttons behavior
5651 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
5653 * shell/ev-view.c: (ev_view_get_offsets), (view_rect_to_doc_rect),
5654 (doc_rect_to_view_rect), (ev_view_size_allocate),
5655 (expose_bin_window), (ev_view_select_all), (page_changed_callback),
5656 (scale_changed_callback):
5658 Do not cache offsets in size_allocate.
5660 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
5662 * shell/ev-view.c: (ev_view_size_allocate):
5664 Calculate offsets before calling the parent
5665 class (which does a redraw)
5667 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
5669 * pdf/xpdf/pdf-document.cc:
5671 Fix a crasher on exit. Unused code, put a TODO
5673 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
5675 * backend/ev-document.c: (ev_document_class_init),
5676 (ev_document_page_changed), (ev_document_scale_changed):
5677 * backend/ev-document.h:
5679 Separate page/scale notifications
5681 * pdf/xpdf/pdf-document.cc:
5683 Emit the new signals.
5684 Do not display the pdf page in _render, do it
5685 when scale/page are requested.
5687 * ps/ps-document.c: (ps_document_set_zoom),
5688 (ps_document_widget_event):
5691 Emit the new signals.
5693 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
5694 (ev_view_init), (page_changed_callback), (scale_changed_callback),
5695 (ev_view_set_document), (ev_view_zoom), (ev_view_zoom_in),
5696 (ev_view_zoom_out), (size_to_zoom_factor), (ev_view_set_size):
5698 * shell/ev-window.c: (ev_window_cmd_view_normal_size),
5699 (ev_window_cmd_view_page_width), (size_allocate_cb),
5700 (ev_window_set_sizing_mode):
5702 Rework sizing to be pixel based.
5703 There are bugs but should be already way better.
5705 2005-02-23 Marco Pesenti Gritti <marco@gnome.org>
5707 * shell/ev-window.c: (ev_window_init):
5709 Do not allow to shrink sidebar smaller then
5712 2005-02-23 Carlos Garcia Campos <carlosgc@gnome.org>
5714 * shell/ev-sidebar.[ch]
5715 * shell/ev-window.c:
5717 Improved sidebar widget. Fixes #166683
5719 2005-02-23 Tommi Vainikainen <thv@iki.fi>
5721 * shell/ev-view.c (update_find_status_message): Give translators
5722 more flexibility with ngettext plural handling.
5724 Mon Feb 21 17:52:08 2005 Jonathan Blandford <jrb@redhat.com>
5726 * pdf/xpdf/pdf-document.cc (pdf_document_get_page_size): Patch
5727 from Crispin Flowerday <gnome@flowerday.cx> to avoid rendering the
5728 page when we get the page size.
5730 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
5732 * ps/ps-document.c: (ps_document_set_page), (ps_document_get_page):
5734 ps pages are 0 based, convert
5736 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
5738 * ps/ps-document.c: (ps_document_class_init), (ps_document_load):
5740 Initialize correct parent class. Set GError on document load
5742 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
5744 * pdf/xpdf/pdf-document.cc:
5746 Fixup selection offset calculation
5748 * shell/ev-view.c: (view_rect_to_doc_rect),
5749 (doc_rect_to_view_rect), (ev_view_size_allocate),
5750 (expose_bin_window), (ev_view_select_all), (ev_view_copy),
5751 (ev_view_primary_get_cb), (ev_view_motion_notify_event):
5753 Store selection as document relative, so that zooming
5754 and offset changing doesnt break it.
5756 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
5758 * shell/ev-view.c: (ev_view_best_fit):
5760 Do not try to best fit if the view is not realized
5762 2005-02-20 Kostas Papadimas <pkst@gnome.org>
5764 * configure.ac (ALL_LINGUAS): Added "el" (Greek).
5766 Fri Feb 18 16:06:39 2005 Jonathan Blandford <jrb@redhat.com>
5768 * shell/ev-window.c (ev_window_focus_in_event): missed a case.
5770 Fri Feb 18 15:32:57 2005 Jonathan Blandford <jrb@redhat.com>
5772 * shell/ev-window.c: Change the fullscreen toolbar to always be in
5773 the popup window. That prevents it resizing when in full screen
5776 * shell/ev-view.c: Change Zoom epsilon as a bad hack to avoid
5777 multiple rerenders. This pretty much sucks.
5779 * data/evince-ui.xml: Change the fullscreen toolbar to include the
5780 rest of the toolbar.
5782 2005-02-18 Tommi Vainikainen <thv@iki.fi>
5784 * configure.ac (ALL_LINGUAS): Added "fi" (Finnish).
5786 2005-02-17 Alexander Shopov <ash@contact.bg>
5788 * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
5790 2005-02-16 Bryan Clark <clarkbw@cvs.gnome.org>
5792 * shell/ev-window.c: added ellipsis to Print item. Fixes bug 166915
5794 2005-02-16 Marco Pesenti Gritti <marco@gnome.org>
5796 * shell/ev-view.c: (ev_view_realize), (highlight_find_results),
5797 (ev_view_create_invisible_cursor), (ev_view_set_cursor),
5798 (set_document_page), (document_changed_callback),
5799 (ev_view_set_document), (ev_view_find_previous),
5800 (ev_view_hide_cursor), (ev_view_show_cursor):
5802 * shell/ev-window.c: (update_chrome_visibility),
5803 (fullscreen_timeout_cb), (fullscreen_set_timeout),
5804 (fullscreen_clear_timeout), (fullscreen_motion_notify_cb),
5805 (fullscreen_leave_notify_cb), (ev_window_fullscreen),
5806 (ev_window_unfullscreen):
5807 * shell/main.c: (main):
5809 Automatically hide the fullscreen button.
5810 Patch by Kristian Høgsberg <krh@redhat.com>
5812 2005-02-16 Vincent Noel <vnoel@cox.net>
5814 * shell/main.c (main): Specify an icon for the window. Patch by
5815 Jaap A. Haitsma. Fixes #166177.
5817 Wed Feb 16 06:30:13 2005 Jonathan Blandford <jrb@redhat.com>
5819 * shell/ev-view.c (ev_view_realize): get rid of the black flash.
5821 Tue Feb 15 22:27:13 2005 Jonathan Blandford <jrb@redhat.com>
5823 * backend/ev-document-misc.h:
5824 * backend/ev-document-misc.c:
5825 (ev_document_misc_get_page_border_size),
5826 (ev_document_misc_paint_one_page): New function to canonicalize
5827 sizing/painting a border.
5829 * shell/Makefile.am: Remove ev-page-view.c entirely as it's not
5832 * pdf/xpdf/pdf-document.cc: use new function
5834 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
5835 (ev_view_init), (ev_view_set_mode), (ev_view_zoom),
5836 (ev_view_best_fit), (ev_view_fit_width): * shell/ev-view.h: *
5837 shell/ev-window.c: (update_sizing_buttons),
5838 (ev_window_setup_document), (ev_window_cmd_view_zoom_in),
5839 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_best_fit),
5840 (ev_window_cmd_view_page_width), (size_allocate_cb),
5841 (ev_window_set_sizing_mode), (ev_window_init): make the "best fit"
5842 and "fit width" values act as toggle buttons so they stay
5843 toggled. It's not 100% perfect, and it's a little slow, but it's
5844 good enough to commit I think.
5846 2005-02-15 David Lodge <dave@cirt.net>
5848 * configure.ac (ALL_LINGUAS): Added "en_GB" (English (British)).
5850 2005-02-15 Martin Kretzschmar <martink@gnome.org>
5852 * shell/ev-window.c (update_window_title): replace newlines in
5853 the title by spaces. Bug #166107.
5855 2005-02-14 Martin Kretzschmar <martink@gnome.org>
5857 * shell/ev-view.c (ev_view_best_fit, ev_view_fit_width): add
5858 parameters providing allocation width and height without
5859 scrollbars and width of a possible vertical scrollbar. With this
5860 additional information the functions can work as
5861 intended. Unfortunately they're not idempotent. We should
5862 transform these commands to toggles. Fixes Bug #164976
5863 Initial patch by Stephane Loeuillet, then heavily modified.
5865 * shell/ev-view.h: update prototypes.
5867 * shell/ev-window.c (ev_window_cmd_view_best_fit)
5868 (ev_window_cmd_view_page_width): provide EvView fit functions with
5869 all the information they need. Formulas to calculate this
5870 information taken from GtkScrolledWindow.
5872 2005-02-14 Crispin Flowerday <gnome@flowerday.cx>
5874 * shell/ev-sidebar-thumbnails.c: Ensure that after we have
5875 created a thumbnail, the list store is updated to know
5876 that the thumbnail is set. Fixes bug #166792
5878 2005-02-11 Bryan Clark <clarkbw@cvs.gnome.org>
5880 * shell/ev-window.c: fixed typo, closes bug 166897
5882 * TODO: updated TODO with bug numbers that are relevant
5884 2005-02-09 Carlos Garcia Campos <carlosgc@gnome.org>
5886 * shell/ev-window.c: Support for DnD of files. Fixes #164813
5888 2005-02-09 Vincent Noel <vnoel@cox.net>
5890 * shell/ev-window.c: (set_action_properties): Set the "Previous"
5891 and "Next" toolbar buttons as important to make them stand out.
5893 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
5897 * ps/ps-document.c: (ps_document_finalize), (set_up_page),
5898 (start_interpreter), (stop_interpreter), (document_load),
5899 (ps_document_next_page), (ps_document_goto_page),
5900 (ps_document_set_page_size), (ps_document_widget_event),
5901 (ps_document_render):
5902 * shell/ev-page-view.c: (ev_page_view_dispose):
5903 * shell/ev-view.c: (ev_view_finalize), (expose_bin_window):
5905 Fix compilation on non-gcc platforms
5907 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
5914 * pdf/xpdf/Catalog.cc:
5917 Fix the fix for CAN-2004-0888
5919 2005-02-09 Luca Ferretti <elle.uca@libero.it>
5922 * data/evince-ui.xml:
5923 * shell/ev-stock-icons.c: (ev_stock_icons_init):
5924 * shell/ev-stock-icons.h:
5925 * shell/ev-window.c: (update_action_sensitivity),
5926 (ev_window_cmd_go_previous_page), (ev_window_cmd_go_next_page),
5927 (set_action_properties):
5929 Improve toolbar layout/icons
5931 2005-02-08 Marco Pesenti Gritti <marco@gnome.org>
5933 * pdf/xpdf/pdf-document.cc:
5935 Add warnings about unimplemented/unknown link
5938 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
5940 * ps/ps-document.c: (set_up_page):
5944 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
5946 * ps/ps-document.c: (start_interpreter):
5950 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
5952 * shell/ev-page-view.c: (ev_page_view_dispose):
5953 * shell/ev-view.c: (ev_view_finalize):
5954 * shell/ev-window.c: (ev_window_setup_document),
5955 (ev_window_dispose), (ev_window_init):
5957 Solve more refs issues.
5959 I commented out the page_view initialization for now:
5960 it was never destroyed (because it's never added
5961 to a container). Because of that we was leaking
5962 gs processes. Couldnt think to a clean fix.
5963 We need to figure this out, password view has the
5964 same issue probably.
5966 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
5968 * ps/ps-document.c: (ps_document_finalize),
5969 (ps_document_get_n_pages), (ps_document_get_page):
5971 Some cleanups, stop the interpreter on finalize
5973 * shell/ev-page-view.c: (ev_page_view_dispose),
5974 (ev_page_view_class_init):
5976 Release our reference on the document
5978 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
5982 * doc/debugging.txt:
5985 * lib/ev-debug.c: (log_module), (trap_handler), (ev_debug_init),
5986 (ev_profiler_new), (ev_should_profile), (ev_profiler_dump),
5987 (ev_profiler_free), (ev_profiler_start), (ev_profiler_stop):
5990 Add debugging helpers
5993 * ps/ps-document.c: (set_up_page), (start_interpreter),
5994 (stop_interpreter), (document_load), (ps_document_next_page),
5995 (ps_document_goto_page), (ps_document_set_page_size),
5996 (ps_document_widget_event), (ps_document_render):
5997 * shell/Makefile.am:
5998 * shell/ev-view.c: (expose_bin_window):
5999 * shell/main.c: (main):
6003 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
6005 * ps/ps-document.c: (ps_document_widget_event):
6007 Initialize message_window, this should make ps
6008 rendering really work! (Never noticed because I was
6009 testing with a ps that is causing gs to exit every time!)
6011 2005-02-07 Bryan Clark <clarkbw@cvs.gnome.org>
6013 * data/evince.schemas.in: updated simple error in applyto closing tag
6015 2005-02-07 Christian Persch <chpe@cvs.gnome.org>
6021 * data/evince-ui.xml:
6022 A data/evince.schemas.in:
6024 * shell/ev-stock-icons.c: (ev_stock_icons_init):
6025 * shell/ev-stock-icons.h:
6026 * shell/ev-window.c: (update_chrome_visibility),
6027 (update_chrome_flag), (ev_window_cmd_edit_find),
6028 (ev_window_update_fullscreen_popup), (ev_window_fullscreen),
6029 (ev_window_unfullscreen), (ev_window_focus_in_event),
6030 (ev_window_focus_out_event), (ev_window_cmd_leave_fullscreen),
6031 (ev_window_view_toolbar_cb), (ev_window_view_statusbar_cb),
6032 (ev_window_view_sidebar_cb), (find_bar_close_cb),
6033 (ev_window_dispose), (ev_window_class_init),
6034 (set_action_properties), (set_chrome_actions), (load_chrome),
6037 Implement fullscreen mode changes from bug #164776.
6038 Also implement persistent chrome toggles.
6040 2005-02-07 Jordi Mallach <jordi@sindominio.net>
6042 * configure.ac (ALL_LINGUAS): Added "ca" (Catalan).
6044 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
6050 Add another check for find interface
6054 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
6056 * shell/ev-application.c: (ev_application_open):
6057 * shell/ev-window.c: (ev_window_open):
6059 Open gzipped ps documents
6061 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
6064 * shell/ev-view.c: (set_document_page):
6066 Clamp page number, dont try to move to
6069 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
6071 * backend/ev-document-find.c: (ev_document_find_changed):
6072 * backend/ev-document-find.h:
6073 * pdf/xpdf/pdf-document.cc:
6074 * shell/ev-view.c: (jump_to_find_result), (ev_view_set_document):
6075 * shell/ev-window.c: (find_bar_search_changed_cb):
6077 Fix several bugs with find
6079 2005-02-04 Martin Kretzschmar <martink@gnome.org>
6081 * shell/ev-sidebar-thumbnails.c
6082 (ev_sidebar_thumbnails_select_page): do nothing unless we have a
6083 document. Prevents warning from scroll_to_cell.
6085 2005-02-02 Kjartan Maraas <kmaraas@gnome.org>
6087 * configure.ac: Add «nb» to ALL_LINGUAS too.
6089 Wed Feb 2 21:13:11 2005 Jonathan Blandford <jrb@redhat.com>
6091 * NOTES: New file with some random thoughts.
6095 * backend/ev-document-misc.c:
6096 (ev_document_misc_get_page_border_size): New function to
6097 canonicalize shadow drawing sizes. Possibly goofy.
6099 * shell/ev-view.c: (ev_view_size_request), (set_document_page),
6100 (ev_view_best_fit), (ev_view_fit_width):
6101 * pdf/xpdf/pdf-document.cc:
6102 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
6103 * ps/ps-document.c: (ps_document_get_page_size):
6104 * backend/ev-document-misc.h:
6105 * backend/ev-document.c: (ev_document_get_page_size):
6106 * backend/ev-document.h: get_page_size now takes a page number
6107 parameter. Made all the backends/frontends honor it.
6109 * data/evince-ui.xml: Added a multiple-page mode. Uncomment to
6110 see. Doesn't work yet.
6112 * shell/Makefile.am:
6113 * shell/ev-page-view.[ch]: New multi-page view. Really rough.
6114 Doesn't do anything yet.
6116 * shell/ev-sidebar-thumbnails.c:
6117 (ev_sidebar_thumbnails_set_document): [1..n_pages] instead of
6120 * shell/ev-window.c: (update_action_sensitivity),
6121 (ev_window_setup_document), (ev_window_set_page_mode),
6122 (ev_window_page_mode_cb), (ev_window_init): Clean up the
6123 view-swapping code a bit so we can have multiple views on a
6124 document. Add the multi-page view, though it can't be turned on
6127 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
6129 * shell/ev-application.c: (ev_application_open):
6130 * shell/ev-view.c: (expose_bin_window):
6131 * shell/ev-window.c: (ev_window_open):
6133 Support eps and check document supports find
6134 before drawing highlightings in expose.
6136 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
6138 * pixbuf/pixbuf-document.c:
6139 (pixbuf_document_thumbnails_get_dimensions),
6140 (pixbuf_document_document_thumbnails_iface_init):
6142 implement get_dimensions
6144 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
6151 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
6153 * shell/ev-view.c: (set_document_page):
6155 Scroll at the top of the page when changing page
6157 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
6159 * shell/ev-view.c: (ev_view_motion_notify_event):
6161 Do not redraw unnecessarily
6163 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
6165 * pdf/xpdf/pdf-document.cc:
6166 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
6167 (expose_bin_window), (find_changed_cb):
6169 Yay! find works now... Now to find bugs...
6171 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
6173 * backend/ev-document-find.c: (ev_document_find_base_init),
6174 (ev_document_find_changed):
6175 * backend/ev-document-find.h:
6176 * pdf/xpdf/pdf-document.cc:
6177 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
6178 (expose_bin_window), (ev_view_init), (set_document_page),
6179 (ensure_rectangle_is_visible), (jump_to_find_result),
6180 (jump_to_find_page), (find_changed_cb), (ev_view_set_document),
6181 (ev_view_find_next), (ev_view_find_previous):
6183 * shell/ev-window.c: (find_bar_previous_cb), (find_bar_next_cb):
6185 More work on find implementation, mostly there now
6187 2005-01-29 Marco Pesenti Gritti <marco@gnome.org>
6189 * backend/ev-backend-marshalers.list:
6190 * backend/ev-document-find.c: (ev_document_find_base_init),
6191 (ev_document_find_cancel), (ev_document_find_page_has_results),
6192 (ev_document_find_get_n_results), (ev_document_find_get_result),
6193 (ev_document_find_get_progress), (ev_document_find_changed):
6194 * backend/ev-document-find.h:
6196 Enanche the find interface to be really able to do
6199 * pdf/xpdf/pdf-document.cc:
6203 * shell/ev-view.c: (ev_view_finalize), (highlight_find_results),
6204 (expose_bin_window), (ev_view_init),
6205 (ev_view_get_find_status_message), (find_changed_cb),
6206 (ev_view_set_document), (set_document_page):
6208 Adapt to the new interface. A few things are regressed sorry,
6209 I will finish it soon.
6211 2005-01-28 Martin Kretzschmar <martink@gnome.org>
6213 * shell/ev-sidebar-thumbnails.c (ev_sidebar_thumbnails_destroy)
6214 (ev_sidebar_thumbnails_class_init): use G_DEFINE_TYPE-supplied
6215 ev_sidebar_thumbnails_parent_class variable, don't define another
6216 parent_class variable.
6218 * shell/ev-page-action.c (connect_proxy, ev_page_action_finalize)
6219 (ev_page_action_class_init): ditto.
6221 * pixbuf/pixbuf-document.c (pixbuf_document_finalize)
6222 (pixbuf_document_class_init): ditto.
6224 * backend/ev-link.c (ev_window_dispose, ev_link_class_init):
6227 * .cvsignore: ignore various valgrind output files.
6229 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
6231 * data/evince-ui.xml:
6232 * shell/Makefile.am:
6233 * shell/ev-history.c:
6234 * shell/ev-history.h:
6235 * shell/ev-navigation-action.c:
6236 * shell/ev-navigation-action.h:
6237 * shell/ev-view.c: (ev_view_finalize), (ev_view_go_to_link),
6238 (ev_view_set_page), (ev_view_fit_width):
6240 * shell/ev-window.c: (update_action_sensitivity),
6241 (ev_window_setup_document), (register_custom_actions):
6243 Kill session history
6245 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
6247 * shell/ev-window.c: (update_action_sensitivity):
6249 Fix inverted up/down buttons
6251 2005-01-27 Martin Kretzschmar <martink@gnome.org>
6253 * shell/ev-sidebar-thumbnails.c
6254 (ev_sidebar_thumbnails_select_page): make sure the selected
6255 thumbnail stays visible.
6257 2005-01-26 Martin Kretzschmar <martink@gnome.org>
6259 * shell/ev-window.c (ev_window_init): add GTK_SHADOW_IN to the
6260 scrolled window for Federico.
6262 2005-01-26 Ole Laursen <olau@hardworking.dk>
6264 * configure.ac: Added "da" (Danish) to ALL_LINGUAS.
6266 2005-01-26 Marco Pesenti Gritti <marco@gnome.org>
6269 * pdf/splash/SplashFTFontEngine.cc:
6271 Fix CID fonts with freetype 2.1.9
6273 2005-01-26 Bryan Clark <clarkbw@cvs.gnome.org>
6275 * TODO: added item for desktop icon thumbnailer
6277 Tue Jan 25 00:59:34 2005 Jonathan Blandford <jrb@redhat.com>
6279 * pdf/xpdf/pdf-document.cc (pdf_document_get_title): guard against
6280 unloaded docs when the title is accessed.
6282 * shell/ev-password-view.[hc]: New widget for displaying password
6285 * shell/ev-window.[ch]: Refactor password handling code to handle
6288 2005-01-24 Marco Pesenti Gritti <marco@gnome.org>
6296 2005-01-23 Stephane LOEUILLET <stephane.loeuillet@tiscali.fr>
6298 * pdf/xpdf/pdf-document.cc (pdf_document_search_page_changed):
6299 ignore page offset here, to make search results independent of it,
6301 * shell/ev-view.c (expose_bin_window): but take offsets into
6302 account here. Bug #164932
6304 * pdf/xpdf/pdf-document.cc (pdf_document_get_link): divide by
6305 scale at the right time. Bug #164996
6307 2005-01-22 Martin Kretzschmar <martink@gnome.org>
6309 * pdf/xpdf/GlobalParams.cc: My 2005-01-05 change didn't actually
6310 fix the problem. Now I just removed the Adobe font names and hope
6311 that the URW fonts are always in outline format. Bug #164934
6313 * shell/ev-window.c (update_window_title): empty titles are
6314 useless, use filename in that case too.
6316 * NEWS: Add some content.
6318 2005-01-21 Bryan Clark <clarkbw@cvs.gnome.org>
6320 * TODO: added one more TODO item and a TODONE section :)
6322 2005-01-21 Martin Kretzschmar <martink@gnome.org>
6324 * ps/ps-document.h: add page_[xy]_offset fields.
6326 * ps/ps-document.c (ps_document_set_page_offset)
6327 (ps_document_render): Keep offset in consideration in a few
6328 places. Bug #164752 "postscript documents are not centered in
6331 * data/evince.desktop.in (X-GNOME-Bugzilla-Product):
6332 s/gpdf/evince/. Spotted by Stephane Loeuillet.
6334 * pixbuf/pixbuf-document.c (pixbuf_document_get_n_pages)
6335 (pixbuf_document_get_text, pixbuf_document_document_iface_init):
6336 stub out missing methods for complete EvDocument implementation.
6337 Fixes segfaults with Save A Copy and Copy actions.
6339 * ps/ps-document.c (ps_document_save, ps_document_get_text)
6340 (ps_document_document_iface_init): ditto.
6342 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
6346 * data/evince.desktop.in:
6350 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
6352 * shell/ev-view.c: (ev_view_button_press_event),
6353 (ev_view_motion_notify_event):
6355 Make selection work in any direction
6357 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
6360 * shell/ev-window.c: (set_short_labels), (ev_window_init):
6362 Use shorter labels for some of the toolbars items
6364 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
6366 * pdf/xpdf/pdf-document.cc:
6368 Check the links info is initialized before
6369 using it. Should fix a crash on startup.
6371 2005-01-21 Martin Kretzschmar <martink@gnome.org>
6373 * pixbuf/pixbuf-document.c
6374 (pixbuf_document_thumbnails_get_dimensions): force floating point
6375 division to calculate page_ratio. Fixes crash with landscape
6378 Thu Jan 20 18:56:35 2005 Jonathan Blandford <jrb@redhat.com>
6380 * shell/ev-view.c (ev_view_realize): make the bg color darker.
6382 2005-01-20 Martin Kretzschmar <martink@gnome.org>
6384 * shell/ev-view.c (set_document_page): unset has_selection when
6386 (set_document_page): handle paper size changes when the page
6387 changes (test with Free Culture, page 2).
6389 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
6391 * shell/ev-view.c: (ev_view_size_request), (ev_view_realize),
6392 (expose_bin_window), (ev_view_class_init), (ev_view_init):
6394 Use normal style color for the widget background and
6395 draw a black box around the page.
6397 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
6399 * pdf/xpdf/pdf-document.cc:
6401 Keep offset in consideration in a few places
6403 * shell/ev-view.c: (expose_bin_window):
6405 Set the offsets so that the document is ever centered
6407 2005-01-20 Bryan Clark <clarkbw@cvs.gnome.org>
6409 * TODO: Added TODO items and finished off the first todo item
6411 * AUTHORS: Updated AUTHORS section with piece from gpdf file and
6412 reflect current authors
6414 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
6416 * pdf/xpdf/pdf-document.cc:
6417 * shell/ev-view.c: (ev_view_set_cursor),
6418 (ev_view_motion_notify_event), (document_changed_callback),
6419 (set_document_page):
6421 Show a wait cursor while the page is rendering
6423 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
6425 * shell/ev-sidebar-thumbnails.c:
6426 (ev_sidebar_tree_selection_changed),
6427 (ev_sidebar_thumbnails_select_page):
6428 * shell/ev-sidebar-thumbnails.h:
6429 * shell/ev-view.c: (ev_view_set_document), (ev_view_can_go_back),
6430 (ev_view_can_go_forward):
6431 * shell/ev-window.c: (ev_window_open_page),
6432 (ev_window_setup_document), (update_current_page),
6433 (view_page_changed_cb), (ev_window_init):
6434 * shell/ev-window.h:
6436 Ensure thumbnails selection, toolbar page control and
6437 current page are in sync.
6439 2005-01-19 Marco Pesenti Gritti <marco@gnome.org>
6445 Wed Jan 19 01:10:57 2005 Jonathan Blandford <jrb@redhat.com>
6447 * backend/Makefile.am:
6448 * backend/ev-document-links.h:
6449 * backend/ev-document-security.c: (ev_document_security_get_type),
6450 (ev_document_security_has_document_security),
6451 (ev_document_security_set_password):
6452 * backend/ev-document-security.h:
6453 * backend/ev-document.c: (ev_document_error_quark):
6454 * backend/ev-document.h:
6456 * data/evince-password.glade:
6457 * pdf/xpdf/pdf-document.cc:
6458 * shell/Makefile.am:
6459 * shell/ev-password.c: (ev_password_set_bad_password_label),
6460 (ev_window_password_entry_changed_cb), (ev_password_dialog_new),
6461 (ev_password_dialog_get_password),
6462 (ev_password_dialog_set_bad_pass):
6463 * shell/ev-password.h:
6464 * shell/ev-window.c: (ev_window_get_attribute),
6465 (ev_window_set_property), (update_action_sensitivity),
6466 (ev_window_is_empty), (mime_type_supported_by_gdk_pixbuf),
6467 (ev_window_setup_document), (ev_window_get_password),
6468 (ev_window_open), (ev_window_cmd_save_as),
6469 (using_postscript_printer), (ev_window_print),
6470 (find_not_supported_dialog), (ev_window_cmd_edit_find),
6471 (update_fullscreen_popup), (ev_window_fullscreen),
6472 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
6473 (ev_window_focus_out_cb), (ev_window_cmd_help_about),
6474 (menu_item_select_cb), (find_bar_search_changed_cb),
6475 (ev_window_dispose), (ev_window_init):
6477 Add initial support for password-supported dialogs. This could be
6478 a lot cooler, but it'll do for now.
6480 2005-01-18 Marco Pesenti Gritti <marco@gnome.org>
6482 * pdf/xpdf/pdf-document.cc:
6483 * shell/ev-view.c: (status_message_from_link),
6484 (ev_view_set_status), (ev_view_set_cursor),
6485 (ev_view_motion_notify_event), (ev_view_init):
6486 * shell/ev-window.c: (view_status_changed_cb), (ev_window_init):
6488 Fix bugs in the links implementation and change cursor
6489 when hovering a link.
6491 2005-01-17 Bryan Clark <clarkbw@cvs.gnome.org>
6493 * viewer/.cvsignore: added cvsignore file for viewer directory
6495 * TODO: created TODO document
6497 2005-01-14 Dave Malcolm <dmalcolm@redhat.com>
6500 * shell/ev-view.c (ev_view_can_go_back), (ev_view_can_go_forward):
6501 new functions to help with implementation of sensitivity code
6502 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
6503 of all actions that might require it. Fixes a crash when you
6504 click on the Zoom actions in a window lacking a document.
6506 2005-01-13 Dave Malcolm <dmalcolm@redhat.com>
6508 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
6511 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
6513 * pixbuf/pixbuf-document.c: (pixbuf_document_get_link),
6514 (pixbuf_document_document_iface_init):
6515 * ps/ps-document.c: (ps_document_get_link),
6516 (ps_document_document_iface_init):
6517 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event),
6518 (status_message_from_link), (ev_view_set_status),
6519 (ev_view_set_find_status), (ev_view_motion_notify_event),
6520 (ev_view_button_release_event), (ev_view_set_property),
6521 (ev_view_get_property), (ev_view_class_init), (ev_view_init),
6522 (ev_view_get_find_status_message), (update_find_results),
6523 (ev_view_get_status), (ev_view_get_find_status):
6525 * shell/ev-window.c: (view_status_changed_cb),
6526 (view_find_status_changed_cb), (ev_window_init):
6528 View status message support, use it to show the links.
6531 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
6533 * backend/ev-document.c: (ev_document_get_link):
6534 * backend/ev-document.h:
6535 * pdf/xpdf/pdf-document.cc:
6536 * shell/ev-application.c: (ev_application_open):
6537 * shell/ev-application.h:
6538 * shell/ev-sidebar-links.c: (selection_changed_cb):
6539 * shell/ev-view.c: (ev_view_button_release_event), (go_to_link),
6540 (ev_view_go_to_link):
6542 Add support for document links
6544 2005-01-13 Anders Carlsson <andersca@gnome.org>
6546 * shell/ev-page-action.c: (update_spin), (total_pages_changed_cb),
6548 Set the spin button limits correctly.
6550 * shell/ev-sidebar-thumbnails.c:
6551 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init):
6552 Support changing pages by clicking on the thumbnails.
6554 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
6556 * pixbuf/pixbuf-document.c:
6557 (pixbuf_document_thumbnails_get_dimensions),
6558 (pixbuf_document_document_thumbnails_iface_init):
6560 implement get_dimensions
6562 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
6564 * ps/ps-document.c: (ps_document_goto_page):
6566 Fix page switching on multipage documents
6568 2005-01-12 Jeff Muizelaar <jrmuizel@nit.ca>
6570 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
6572 check for NULL before assigning to width and height parameters
6574 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
6576 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
6577 (pixbuf_document_set_property), (pixbuf_document_get_property):
6579 implement get/set properties
6581 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
6583 * pdf/xpdf/pdf-document.cc: (pdf_info_dict_get_string):
6585 return NULL instead of "Unknown", letting the title get set to
6586 the filename when the pdf has no title.
6588 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
6590 * ps/ps-document.c: (ps_document_get_page_count),
6591 (ps_document_goto_page):
6593 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
6595 * shell/ev-history.c: (ev_history_get_property),
6596 (ev_history_set_property), (ev_history_class_init),
6597 (ev_history_add_page), (ev_history_set_current_index):
6598 * shell/ev-navigation-action.c: (ev_navigation_action_set_history),
6599 (activate_menu_item_cb), (new_history_menu_item), (build_menu),
6600 (ev_navigation_action_finalize):
6601 * shell/ev-navigation-action.h:
6602 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
6603 (ev_view_go_forward), (ev_view_get_find_status_message),
6604 (history_index_changed_cb), (ev_view_set_history):
6606 * shell/ev-window.c: (update_total_pages), (ev_window_open),
6607 (update_current_page), (register_custom_actions):
6609 Implement history dropdowns
6611 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
6613 * shell/ev-history.c: (ev_history_init), (ev_history_add_link):
6614 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
6615 (ev_view_go_forward):
6616 * shell/ev-window.c: (register_custom_actions):
6618 Fix several history bugs
6620 2005-01-11 Kjartan Maraas <kmaraas@gnome.org>
6622 * configure.ac: Add «nb» to ALL_LINGUAS.
6624 2005-01-10 Marco Pesenti Gritti <marco@gnome.org>
6626 * backend/Makefile.am:
6627 * backend/ev-bookmark.c:
6628 * backend/ev-bookmark.h:
6629 * backend/ev-document-bookmarks.c:
6630 * backend/ev-document-bookmarks.h:
6631 * backend/ev-document-links.c: (ev_document_links_get_type),
6632 (ev_document_links_has_document_links),
6633 (ev_document_links_begin_read), (ev_document_links_get_link),
6634 (ev_document_links_get_child), (ev_document_links_next),
6635 (ev_document_links_free_iter):
6636 * backend/ev-document-links.h:
6637 * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_title),
6638 (ev_link_set_title), (ev_link_get_uri), (ev_link_set_uri),
6639 (ev_link_get_link_type), (ev_link_set_link_type),
6640 (ev_link_get_page), (ev_link_set_page), (ev_link_get_property),
6641 (ev_link_set_property), (ev_window_dispose), (ev_link_init),
6642 (ev_link_class_init), (ev_link_new_title), (ev_link_new_page),
6643 (ev_link_new_external):
6644 * backend/ev-link.h:
6645 * pdf/xpdf/pdf-document.cc:
6646 * shell/Makefile.am:
6647 * shell/ev-application.c: (ev_application_open_link):
6648 * shell/ev-application.h:
6649 * shell/ev-history.c: (ev_history_add_link), (ev_history_add_page),
6650 (ev_history_get_link_nth):
6651 * shell/ev-history.h:
6652 * shell/ev-sidebar-bookmarks.c:
6653 * shell/ev-sidebar-bookmarks.h:
6654 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
6655 (ev_sidebar_links_class_init), (selection_changed_cb),
6656 (ev_sidebar_links_construct), (ev_sidebar_links_init),
6657 (links_page_num_func), (ev_sidebar_links_new), (stack_data_free),
6658 (do_one_iteration), (populate_links_idle),
6659 (ev_sidebar_links_clear_document), (ev_sidebar_links_set_document):
6660 * shell/ev-sidebar-links.h:
6661 * shell/ev-sidebar.c: (ev_sidebar_set_document):
6662 * shell/ev-view.c: (go_to_link), (ev_view_go_to_link),
6665 * shell/ev-window.c: (ev_window_open_link), (ev_window_init):
6666 * shell/ev-window.h:
6668 Rename bookmark to link, and use "Index" for the sidebar panel.
6670 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
6672 * shell/Makefile.am:
6673 * shell/ev-application.c: (ev_application_open_bookmark):
6674 * shell/ev-application.h:
6675 * shell/ev-history.c: (ev_history_init), (free_links_list),
6676 (ev_history_finalize), (ev_history_class_init),
6677 (ev_history_add_link), (ev_history_add_page),
6678 (ev_history_get_link_nth), (ev_history_get_n_links),
6679 (ev_history_get_current_index), (ev_history_set_current_index),
6681 * shell/ev-history.h:
6682 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
6683 * shell/ev-view.c: (ev_view_finalize), (ev_view_set_document),
6684 (set_document_page), (go_to_bookmark), (ev_view_go_to_bookmark),
6685 (go_to_index), (ev_view_go_back), (ev_view_go_forward),
6688 * shell/ev-window.c: (ev_window_open_bookmark),
6689 (ev_window_cmd_go_back), (ev_window_cmd_go_forward),
6690 (goto_page_cb), (register_custom_actions):
6691 * shell/ev-window.h:
6693 Initial history implementation. Needs work.
6695 2005-01-09 Martin Kretzschmar <martink@gnome.org>
6697 * pdf/xpdf/GDKSplashOutputDev.cc (redraw): fix pixbuf data offset.
6699 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
6701 * cut-n-paste/recent-files/egg-recent-item.c:
6702 * cut-n-paste/recent-files/egg-recent-item.h:
6703 * cut-n-paste/recent-files/egg-recent-model.c:
6704 * cut-n-paste/recent-files/egg-recent-util.c:
6705 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
6706 * cut-n-paste/recent-files/egg-recent-view.c:
6710 2005-01-08 Martin Kretzschmar <martink@gnome.org>
6712 * pdf/splash/Splash.cc (clear, drawPixel, drawSpan, xorSpan, getPixel)
6713 (fillGlyph, fillImageMask, drawImage):
6714 pdf/splash/SplashBitmap.cc (SplashBitmap, ~SplashBitmap, writePNMFile):
6715 pdf/splash/SplashTypes.h:
6716 pdf/xpdf/SplashOutputDev (startPage, getColor, imageSrc): implement RGB8
6717 packed mode for Splash.
6719 * pdf/xpdf/GDKSplashOutputDev.cc (GDKSplashOutputDev, redraw): use
6720 RGB8 packed mode, eliminates the pixbuf data creation loop.
6722 * shell/ev-print-job.c (ev_print_job_finalize)
6723 (ev_print_job_set_property, ev_print_job_get_property)
6724 (ev_print_job_set_gnome_print_job, ev_print_job_set_document)
6725 (ev_print_job_use_print_dialog_settings, idle_print_handler)
6726 (print_closure_finalize, ev_print_job_print): implement
6727 printing (for backends with EvPsExporter)
6729 * shell/ev_print_job.h: update prototypes.
6731 * shell/ev-window.c (ev_window_print): unref print job after
6734 * shell/ev-view.c (ev_view_set_document): don't connect to "found"
6735 unless the document implements the EvDocumentFind interface.
6737 2005-01-08 Satoru SATOH <ss@gnome.gr.jp>
6739 * configure.ac: Added ja to ALL_LINGUAS.
6741 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
6743 * pdf/xpdf/pdf-document.cc:
6745 add a FIXME. We should probably not allocate
6746 a bookmark object every time
6748 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
6750 * shell/ev-application.c: (ev_application_open),
6751 (ev_application_open_bookmark):
6752 * shell/ev-application.h:
6754 Add a way to open bookmarks
6756 * backend/ev-bookmark.c: (ev_bookmark_get_uri),
6757 (ev_bookmark_set_uri), (ev_bookmark_get_property),
6758 (ev_bookmark_set_property), (ev_bookmark_class_init),
6759 (ev_bookmark_new_title), (ev_bookmark_new_link),
6760 (ev_bookmark_new_external):
6762 Support for external uris, better constructors.
6764 * backend/ev-bookmark.h:
6765 * pdf/xpdf/pdf-document.cc:
6766 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
6768 Handle external uris
6770 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
6772 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb),
6773 (ev_sidebar_bookmarks_construct), (do_one_iteration):
6775 Hook up bookmarks navigation
6777 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
6779 * backend/Makefile.am:
6780 * backend/ev-bookmark.c: (ev_bookmark_type_get_type),
6781 (ev_bookmark_get_title), (ev_bookmark_set_title),
6782 (ev_bookmark_get_bookmark_type), (ev_bookmark_set_bookmark_type),
6783 (ev_bookmark_get_page), (ev_bookmark_set_page),
6784 (ev_bookmark_get_property), (ev_bookmark_set_property),
6785 (ev_window_dispose), (ev_bookmark_init), (ev_bookmark_class_init),
6787 * backend/ev-bookmark.h:
6788 * backend/ev-document-bookmarks.c:
6789 (ev_document_bookmarks_get_bookmark):
6790 * backend/ev-document-bookmarks.h:
6791 * pdf/xpdf/pdf-document.cc:
6792 * shell/ev-sidebar-bookmarks.c: (do_one_iteration):
6794 Add a bookmark object to the backend and use it instead of get_values
6796 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
6798 * data/evince-ui.xml:
6800 Cleanup and add select all.
6802 * shell/ev-view.c: (ev_view_select_all),
6803 (ev_view_button_press_event):
6805 * shell/ev-window.c: (ev_window_cmd_edit_select_all):
6808 Clear selection on click.
6810 Fri Jan 7 01:28:58 2005 Jonathan Blandford <jrb@redhat.com>
6812 * shell/ev-sidebar-thumbnails.c
6813 (ev_sidebar_thumbnails_set_document): forgot to unref the
6816 Fri Jan 7 01:22:48 2005 Jonathan Blandford <jrb@redhat.com>
6818 * shell/ev-sidebar-thumbnails.c: fill in the thumbnails starting
6819 at the visible page, not just linearly. This makes it look fast.
6821 Thu Jan 6 18:48:11 2005 Jonathan Blandford <jrb@redhat.com>
6823 * backend/ev-document-misc.c
6824 (ev_document_misc_get_thumbnail_frame): fill in the thumbnail with
6826 * backend/ev-document-thumbnails.h: New interface to get the size
6829 2005-01-06 Jeremy Katz <katzj@redhat.com>
6831 * shell/Makefile.am (evince_SOURCES): Add ev-utils.[ch] so that
6834 Wed Jan 5 15:38:28 2005 Jonathan Blandford <jrb@redhat.com>
6836 * pdf/xpdf/pdf-document.cc (bitmap_to_pixbuf): bypass
6837 GDKSplashOutputDev and just use a normal SplashOutputDev. Speeds
6840 * shell/ev-sidebar-thumbnail.c: start of some profiling code.
6842 2005-01-05 Martin Kretzschmar <martink@gnome.org>
6844 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): match only outline
6845 fonts. Should fix font problems on systems that have the base
6846 fonts in bitmap format. Reported by James Henstridge
6847 <james@jamesh.id.au>.
6849 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
6852 * pdf/xpdf/GfxState.cc:
6854 Fix for CAN-2004-1125
6856 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
6858 * shell/ev-view.c: (ev_view_copy):
6860 * shell/ev-window.c: (ev_window_cmd_edit_copy):
6862 Implement Edit->Copy
6864 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
6866 * backend/ev-document.c: (ev_document_get_text):
6867 * backend/ev-document.h:
6868 * pdf/xpdf/pdf-document.cc:
6869 * shell/ev-view.c: (ev_view_realize), (expose_bin_window),
6870 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
6871 (ev_view_update_primary_selection), (ev_view_button_press_event),
6872 (ev_view_motion_notify_event), (ev_view_button_release_event):
6874 Beginnings of clipboard support. Incomplete but primary sort
6877 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
6879 * shell/ev-view.c: (ev_gdk_color_to_rgb), (draw_rubberband),
6880 (expose_bin_window):
6882 Nicer rubberband drawing, from GtkIconView.
6884 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
6886 * backend/ev-document.c: (ev_document_save):
6887 * backend/ev-document.h:
6888 * data/evince-ui.xml:
6889 * pdf/xpdf/pdf-document.cc:
6890 * shell/ev-window.c: (save_error_dialog), (ev_window_cmd_save_as):
6892 Implement "Save a copy..." menu item
6894 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
6896 * shell/ev-view.c: (ev_view_zoom):
6898 Queue a resize when zoom changes
6900 Wed Jan 5 02:33:06 2005 Jonathan Blandford <jrb@redhat.com>
6902 * backend/ev-document-misc.[ch]: New misc file to do simple drop
6905 * pdf/xpdf/pdf-document.cc: use the drop shadows in both types of
6908 Tue Jan 4 22:32:32 2005 Jonathan Blandford <jrb@redhat.com>
6910 * pdf/xpdf/pdf-document.cc
6911 (pdf_document_thumbnails_get_page_pixbuf): poor man's dropshadow.
6913 Tue Jan 4 21:25:05 2005 Jonathan Blandford <jrb@redhat.com>
6915 * pdf/xpdf/pdf-document.cc: Do real thumbnailing of PDF files.
6916 It's slow, but I'll speed it up next!
6918 2005-01-04 Jeff Muizelaar <jrmuizel@nit.ca>
6920 * shell/main.c (load_files):
6922 use gnome_vfs_make_uri_from_shell_arg so that relative paths work
6923 from the command line and because it seems more appropriate.
6925 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
6927 * data/evince-ui.xml:
6928 * shell/ev-window.c: (update_action_sensitivity),
6929 (ev_window_cmd_go_page_up), (ev_window_cmd_go_page_down):
6931 s/next page/page down
6932 s/previous page/page up
6934 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
6936 * data/evince-ui.xml:
6938 Change the layout to match clarkbw design.
6940 * shell/Makefile.am:
6941 * shell/ev-navigation-action.c: (build_menu), (menu_activated_cb),
6942 (set_tooltip_cb), (connect_proxy), (ev_navigation_action_init),
6943 (ev_navigation_action_finalize),
6944 (ev_navigation_action_set_property),
6945 (ev_navigation_action_get_property),
6946 (ev_navigation_action_class_init):
6947 * shell/ev-navigation-action.h:
6949 Implement clarkbw toolbar navigation controls (incomplete)
6951 * shell/ev-page-action.c: (update_label), (update_spin),
6952 (value_changed_cb), (create_tool_item), (connect_proxy),
6953 (ev_page_action_init), (ev_page_action_finalize),
6954 (ev_page_action_set_property), (ev_page_action_get_property),
6955 (ev_page_action_set_current_page),
6956 (ev_page_action_set_total_pages), (ev_page_action_class_init):
6957 * shell/ev-page-action.h:
6959 Implement a page switcher in the toolbar
6961 * shell/ev-view.c: (ev_view_scroll_view):
6962 * shell/ev-window.c: (update_total_pages), (ev_window_open),
6963 (update_current_page), (view_page_changed_cb), (goto_page_cb),
6964 (register_custom_actions), (ev_window_init):
6966 Change page on PageUp/Down.
6968 Tue Jan 4 03:22:56 2005 Jonathan Blandford <jrb@redhat.com>
6970 * pdf/xpdf/pdf-document.cc
6971 (pdf_document_thumbnails_get_thumbnail): initial stab at
6972 implementing thumbnail support for pdfs. It only does documents
6973 with precached pdfs now.
6975 Mon Jan 3 17:22:25 2005 Jonathan Blandford <jrb@redhat.com>
6977 * shell/ev-sidebar-thumbnails.c (do_one_iteration): move the
6978 thumbnail code into a time-based idle as well. Also, turn off the
6979 shadow temporarily as it's really slow.
6981 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
6983 * backend/ev-document.c: (ev_document_class_init):
6984 * pdf/xpdf/pdf-document.cc:
6985 * shell/ev-window.c: (ev_window_open):
6987 Fix document title bugs and fallback to
6988 filename when not available.
6990 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
6992 * backend/ev-document.c: (ev_document_get_type),
6993 (ev_document_class_init), (ev_document_load),
6994 (ev_document_get_title):
6995 * backend/ev-document.h:
6996 * pdf/xpdf/pdf-document.cc:
6997 * ps/ps-document.c: (ps_document_set_property),
6998 (ps_document_get_property), (ps_document_class_init),
7002 * shell/ev-window.c: (update_window_title), (ev_window_open),
7005 Initial support for document title. Not working yet.
7007 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
7009 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event):
7011 Grab focus on the view when clicking it
7013 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
7015 * shell/ev-marshal.list:
7016 * shell/ev-view.c: (ev_view_realize), (add_scroll_binding),
7017 (ev_view_scroll_view), (ev_view_class_init), (ev_view_init):
7019 Add key bindings to the view. Now if the focus would work
7022 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
7025 * backend/Makefile.am:
7028 * dvi/dvilib/Makefile.am:
7029 * pdf/xpdf/Makefile.am:
7035 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
7037 * shell/ev-view.c: (ev_view_realize):
7039 Fix mouse wheel scrolling
7041 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
7047 * ps/ps-document.c: (catchPipe), (ps_document_init),
7048 (ps_document_class_init), (ps_document_cleanup),
7049 (ps_document_finalize), (send_ps), (ps_document_get_orientation),
7050 (set_up_page), (close_pipe), (is_interpreter_ready),
7051 (interpreter_failed), (output), (input), (start_interpreter),
7052 (stop_interpreter), (file_length), (file_readable),
7053 (check_filecompressed), (check_pdf), (compute_xdpi),
7054 (compute_ydpi), (compute_size), (ps_document_enable_interpreter),
7055 (ps_document_get_type), (ps_document_emit_error_msg),
7056 (document_load), (ps_document_next_page),
7057 (ps_document_get_current_page), (ps_document_get_page_count),
7058 (ps_document_goto_page), (ps_document_set_page_size),
7059 (ps_document_zoom_to_fit), (ps_document_set_zoom),
7060 (ps_document_load), (ps_document_get_n_pages),
7061 (ps_document_set_page), (ps_document_get_page),
7062 (ps_document_widget_event), (ps_document_set_target),
7063 (ps_document_set_scale), (ps_document_set_page_offset),
7064 (ps_document_get_page_size), (ps_document_render),
7065 (ps_document_document_iface_init):
7068 * shell/ev-window.c: (ev_window_open):
7070 Rename GtkGS to PSDocument
7072 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
7074 * ps/gtkgs.c: (gtk_gs_class_init):
7077 Some more leftover...
7079 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
7081 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_get_orientation),
7082 (output), (stop_interpreter), (gtk_gs_emit_error_msg),
7083 (gtk_gs_zoom_to_fit), (gtk_gs_set_zoom):
7086 Remove unused code and make a lot of stuff private
7088 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
7090 * ps/gsdefaults.c: (gtk_gs_defaults_gconf_client),
7091 (gtk_gs_defaults_changed):
7097 Cleanup headers dependencies
7099 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
7104 * ps/gsdefaults.c: (gtk_gs_defaults_get_paper_sizes):
7106 * ps/gtkgs.c: (file_length), (file_readable),
7107 (check_filecompressed), (check_pdf), (gtk_gs_load),
7108 (gtk_gs_get_postscript):
7112 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
7117 * ps/gtkgs.c: (gtk_gs_set_zoom):
7121 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
7123 * ps/gtkgs.c: (gtk_gs_set_zoom), (gtk_gs_set_zoom_mode):
7125 Ensure the page is rerendered when changing zoom
7127 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
7129 * backend/ev-document.c: (ev_document_base_init),
7130 (ev_document_changed):
7131 * backend/ev-document.h:
7133 Add a changed event that is emitted when the page content
7134 changes. This is necessary to deal with the fact that
7135 in ps backend rendering happen asycrounously.
7136 This makes the ps backend mostly work.
7138 * pdf/xpdf/pdf-document.cc:
7142 * ps/gtkgs.c: (set_up_page), (gtk_gs_widget_event),
7143 (ps_document_set_target):
7147 * shell/ev-view.c: (document_changed_callback),
7148 (ev_view_set_document), (ev_view_set_page):
7150 Redraw on the changed signal
7152 2004-12-25 Raphael Higino <raphaelh@cvs.gnome.org>
7154 * configure.ac: Added pt_BR to ALL_LINGUAS.
7156 Fri Dec 24 00:48:44 2004 Jonathan Blandford <jrb@redhat.com>
7158 * backend/ev-document-bookmarks.c:
7159 (ev_document_bookmarks_get_child): *
7160 backend/ev-document-bookmarks.h: * pdf/xpdf/Makefile.am: *
7161 pdf/xpdf/pdf-document.cc: * pdf/xpdf/pdf-document.h: *
7162 shell/Makefile.am: * shell/ev-sidebar-bookmarks.c:
7163 (ev_sidebar_bookmarks_destroy),
7164 (ev_sidebar_bookmarks_class_init),
7165 (ev_sidebar_bookmarks_construct), (stack_data_free),
7166 (do_one_iteration), (populate_bookmarks_idle),
7167 (ev_sidebar_bookmarks_clear_document),
7168 (ev_sidebar_bookmarks_set_document): *
7169 shell/ev-sidebar-bookmarks.h: * shell/ev-sidebar.c:
7170 (ev_sidebar_add_page),
7171 (ev_sidebar_set_document): * shell/ev-window.c: (ev_window_open):
7172 Initial stab at a bookmarks sidebar. It doesn't navigate yet, but
7173 it displays both the topics and the page numbers.
7175 2004-12-23 Kristian Høgsberg <krh@redhat.com>
7177 * shell/ev-window.c (ev_window_view_sidebar_cb): Hook up sidebar
7179 * shell/ev-window.c (toggle_entries): Set sidebar default value to
7182 2004-12-23 Adam Weinberger <adamw@gnome.org>
7184 * configure.ac: Added en_CA to ALL_LINGUAS.
7186 2004-12-23 Martin Kretzschmar <martink@gnome.org>
7188 * ChangeLog: replace bottom of this ChangeLog (merged history of
7189 ggv and gpdf; where all paths were wrong and most of the files are
7190 not even in this tree) with ChangeLog (from arch) of the shell
7193 2004-12-23 Havoc Pennington <hp@redhat.com>
7195 * shell/ev-window.c: hook up potentially-questionable "find
7196 results status text" feature - something involving the sidebar or
7197 scrollbar or a continuous all-pages-on-giant-roll-of-paper-view
7198 might be better in the end.
7200 * shell/ev-view.c (ev_view_get_find_status_message): new function,
7201 with corresponding signal when it should be updated
7203 * shell/eggfindbar.c (egg_find_bar_set_status_text): new function
7205 2004-12-22 Havoc Pennington <hp@redhat.com>
7207 * pdf/xpdf/pdf-document.cc (pdf_document_find_begin): make search
7208 find stuff on other pages, sort of (only returns one result on
7209 invisible pages, to show they have results; updates full results
7210 for a page when you view it). Currently repaints the current page
7211 every time a new result is found on any page, which isn't so nice.
7213 2004-12-22 Havoc Pennington <hp@redhat.com>
7215 * shell/ev-window.c (ev_window_cmd_edit_find): display an error if
7216 the document doesn't support find (better ideas?)
7217 (find_bar_search_changed_cb): handle missing document or document
7218 that doesn't support find
7220 * pdf/xpdf/pdf-document.cc: port to implement the new
7223 * backend/ev-document-find.c: create a new interface for searching
7225 * backend/ev-document.h, backend/ev-document.c: delete the find stuff
7227 2004-12-23 Martin Kretzschmar <martink@gnome.org>
7229 * pdf/xpdf/Makefile.am (libpdfdocument_la_LIBADD): add
7232 * shell/ev-window.c (ev_window_print): add GnomePrintJob to
7233 EvPrintJob constructor arguments.
7235 * backend/ev-ps-exporter.c, backend/ev-ps-exporter.h: interface
7236 for documents that can export PostScript (page by page).
7238 * backend/Makefile.am (libevbackend_la_SOURCES): add them.
7240 * pdf/xpdf/pdf-document.cc (pdf_document_ps_export_begin)
7241 (pdf_document_ps_export_do_page, pdf_document_ps_export_end)
7242 (pdf_document_ps_exporter_iface_init:
7243 Implement EvPSExporter.
7245 * pdf/xpdf/Makefile.am (libxpdf_la_SOURCES): build PSOutputDev.
7247 2004-12-22 Anders Carlsson <andersca@gnome.org>
7249 * backend/Makefile.am:
7250 * backend/ev-document-thumbnails.c:
7251 (ev_document_thumbnails_get_type),
7252 (ev_document_thumbnails_get_thumbnail):
7253 * backend/ev-document-thumbnails.h:
7254 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
7255 (pixbuf_document_thumbnails_get_thumbnail),
7256 (pixbuf_document_document_thumbnails_iface_init):
7257 * shell/Makefile.am:
7258 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_destroy),
7259 (ev_sidebar_thumbnails_class_init), (ev_sidebar_thumbnails_init),
7260 (populate_thumbnails), (ev_sidebar_thumbnails_set_document):
7261 * shell/ev-sidebar-thumbnails.h:
7262 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
7263 (ev_sidebar_set_document):
7264 * shell/ev-utils.c: (gaussian), (create_blur_filter),
7265 (create_shadow), (ev_pixbuf_add_shadow):
7267 Add thumbnail support.
7269 2004-12-22 Martin Kretzschmar <martink@gnome.org>
7271 * shell/ev-window.c (ev_window_cmd_file_print, ev_window_print)
7272 (using_postscript_printer): Set up a print dialog for "PostScript
7275 * shell/ev-print-job.h, shell/ev-print-job.c: stub classes for
7278 * shell/Makefile.am (evince_SOURCES): add ev-print-job.[ch]
7280 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
7282 * ps/gtkgs.c: (gtk_gs_init), (set_up_page),
7283 (ps_document_set_target), (ps_document_get_page_size),
7284 (ps_document_render):
7289 2004-12-22 Christian Rose <menthos@menthos.com>
7291 * configure.ac: Added "sv" to ALL_LINGUAS.
7293 Wed Dec 22 14:47:38 2004 Jonathan Blandford <jrb@redhat.com>
7295 * backend/ev-document-bookmarks.[ch]: new interface to indicate
7296 document supports bookmarks.
7298 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
7300 * ps/ggvutils.c: (ggv_file_readable):
7302 * ps/gtkgs.c: (check_filecompressed), (check_pdf),
7303 (gtk_gs_get_postscript):
7307 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
7309 * ps/gtkgs.c: (gtk_gs_init), (gtk_gs_class_init), (gtk_gs_cleanup),
7310 (gtk_gs_finalize), (gtk_gs_set_center), (set_up_page), (output),
7311 (start_interpreter), (compute_size), (gtk_gs_enable_interpreter),
7312 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_reload),
7313 (gtk_gs_emit_error_msg), (gtk_gs_disable_interpreter),
7314 (gtk_gs_load), (gtk_gs_goto_page), (gtk_gs_set_page_size),
7315 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
7316 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
7317 (gtk_gs_set_antialiasing), (ps_document_load),
7318 (ps_document_render):
7321 Another check point for the ps backend. Now I can get it to show
7324 Wed Dec 22 13:41:01 2004 Jonathan Blandford <jrb@redhat.com>
7326 * shell/ev-sidebar.c (ev_sidebar_set_document): initial sidebar
7327 document setting code.
7329 2004-12-22 Anders Carlsson <andersca@gnome.org>
7331 * shell/eggfindbar.c: (entry_activate_callback):
7332 Animate the next button when activate is pressed.
7334 2004-12-22 Anders Carlsson <andersca@gnome.org>
7336 * shell/ev-window.c: (ev_window_cmd_edit_find),
7337 (update_fullscreen_popup), (ev_window_fullscreen),
7338 (ev_window_unfullscreen), (ev_window_state_event_cb),
7339 (ev_window_focus_out_cb), (find_bar_close_cb), (ev_window_init):
7340 Fix bugs in fullscreen code.
7342 2004-12-22 Anders Carlsson <andersca@gnome.org>
7346 * pixbuf/Makefile.am:
7347 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
7348 (pixbuf_document_load), (pixbuf_document_get_n_pages),
7349 (pixbuf_document_set_page), (pixbuf_document_get_page),
7350 (pixbuf_document_set_target), (pixbuf_document_set_scale),
7351 (pixbuf_document_set_page_offset), (pixbuf_document_get_page_size),
7352 (pixbuf_document_render), (pixbuf_document_begin_find),
7353 (pixbuf_document_end_find), (pixbuf_document_finalize),
7354 (pixbuf_document_class_init),
7355 (pixbuf_document_document_iface_init), (pixbuf_document_init):
7356 * pixbuf/pixbuf-document.h:
7357 * shell/Makefile.am:
7358 * shell/ev-application.c: (ev_application_open):
7359 * shell/ev-window.c: (mime_type_supported_by_gdk_pixbuf),
7363 Tue Dec 21 21:45:43 2004 Soeren Sandmann <sandmann@redhat.com>
7366 * dvi/dvilib/Makefile.am:
7368 * configure.ac: Auto*ify dvi and dvi/dvilib
7370 * dvi/Makefile: Remove from CVS
7372 * dvi/dvilib/dl-pkfont.cc (unpack_bitmap): Fix uchar/uint
7375 * dvi/dvilib/dl-fontdefinition.{cc,hh}: New DviFontMap class
7377 * dvi/dvilib/dl-vffont.{cc,hh}: Many bugfixes to VF code.
7379 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
7382 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_finalize),
7383 (gtk_gs_value_adjustment_changed), (compute_size),
7384 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_new_from_file),
7385 (gtk_gs_center_page), (gtk_gs_load), (gtk_gs_set_page_size),
7386 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
7387 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
7388 (gtk_gs_start_scroll), (gtk_gs_get_postscript),
7389 (gtk_gs_set_adjustments), (gtk_gs_set_available_size),
7390 (ps_document_load), (ps_document_get_n_pages),
7391 (ps_document_set_page), (ps_document_get_page),
7392 (ps_document_set_target), (ps_document_set_scale),
7393 (ps_document_set_page_offset), (ps_document_get_page_size),
7394 (ps_document_render), (ps_document_begin_find),
7395 (ps_document_end_find), (ps_document_document_iface_init):
7397 * shell/Makefile.am:
7398 * shell/ev-window.c: (ev_window_open):
7400 Some work to integrate gtkgs with EvDocument
7402 2004-12-22 Anders Carlsson <andersca@gnome.org>
7404 * shell/ev-window.c: (update_fullscreen_popup),
7405 (screen_size_changed_cb), (destroy_exit_fullscreen_popup),
7406 (exit_fullscreen_button_clicked_cb),
7407 (fullscreen_popup_size_request_cb), (ev_window_fullscreen),
7408 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
7409 (ev_window_state_event_cb), (ev_window_init):
7410 Add fullscreen support from Epiphany.
7412 2004-12-22 Mark McLoughlin <mark@skynet.ie>
7414 * data/ev-stock-zoom-fit-width.png: fit-width
7415 stock icon from gpdf.
7417 * shell/ev-stock-icons.[ch]: copied from gpdf.
7419 * shell/main.c: (main): init stock icons.
7421 * shell/ev-window.c: use the fit-width icon.
7423 * data/evince-ui.xml: add zooming toolbar items.
7425 2004-12-22 Mark McLoughlin <mark@skynet.ie>
7428 (ev_view_best_fit), (ev_view_fit_width): because
7429 get_page_size() returns the scaled page size, we
7430 need to calculate the scale factor relative to
7431 the previous scale factor. Should really just
7432 add get_real_page_size().
7434 2004-12-22 Mark McLoughlin <mark@skynet.ie>
7436 * shell/ev-view.[ch]:
7437 (ev_view_zoom), (ev_view_zoom_in), (ev_view_zoom_out),
7438 (ev_view_normal_size), (ev_view_best_fit), (ev_view_fit_width):
7441 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
7442 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_normal_size),
7443 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width):
7446 * pdf/xpdf/pdf-document.cc:
7447 (pdf_document_begin_find),
7448 (pdf_document_end_find): make static.
7450 2004-12-22 Martin Kretzschmar <martink@gnome.org>
7452 * pdf/xpdf/GlobalParams.h (setupBaseFontsFc): add prototype.
7454 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): maps base font
7455 names to fontconfig patterns.
7456 (setupBaseFontsFc): setupBaseFonts reimplemented using fontconfig.
7458 * pdf/xpdf/pdf-document.cc (pdf_document_load): use
7461 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
7477 Import ggv backend. Not hooked up yet.
7479 2004-12-22 Mark McLoughlin <mark@skynet.ie>
7481 * shell/main.c: (load_files), (main): load files
7482 from the command line.
7484 2004-12-22 Mark McLoughlin <mark@skynet.ie>
7486 * configure.ac: don't require bonobo.
7488 * cut-n-paste/recent-files/*: kill bonobo recent
7491 * shell/ev-window.c:
7492 (ev_window_is_empty): upd.
7493 (unable_to_load), (ev_window_open): load backend
7494 based on the mime type.
7496 2004-12-22 Martin Kretzschmar <martink@gnome.org>
7498 * backend/.cvsignore: ignore generated marshalers source.
7500 * shell/main.c (main): this is not epiphany.
7502 2004-12-22 Havoc Pennington <hp@redhat.com>
7504 * shell/ev-view.c (ev_view_set_document): connect to "found" signal
7505 (expose_bin_window): draw find highlights
7507 * shell/ev-window.c (find_bar_search_changed_cb): implement
7509 * pdf/xpdf/pdf-document.cc (pdf_document_begin_find)
7510 (pdf_document_end_find): implement this interface
7512 * backend/ev-document.c (ev_document_found): add this to emit
7515 Tue Dec 21 23:57:37 2004 Owen Taylor <otaylor@redhat.com>
7517 * data/evince-ui.xml: Add a few more toolbar items.
7519 * shell/ev-window.c: Hook up page navigation toolbar
7522 * shell/ev-view.[ch]: add ev_view_set/get_page and
7523 a page-changed signal.
7525 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc::
7526 Add ev_document_get_page().
7528 * shell/ev-window.c: Sensitize/desensitize navigation
7531 2004-12-21 Havoc Pennington <hp@redhat.com>
7533 * backend/ev-backend-marshal.c,
7534 backend/ev-backend-marshalers.list, backend/Makefile.am: add
7535 marshaler-generator thingy. I'm sure there's a better way to do
7536 this in the modern world.
7538 * backend/ev-document.h (struct _EvDocumentIface): add begin_find,
7539 end_find methods and "found" signal.
7541 * configure.ac: find glib-genmarshal
7543 Tue Dec 21 23:20:35 2004 Jonathan Blandford <jrb@redhat.com>
7545 * shell/ev-sidebar.c: Construct an actual sidebar.
7546 * shell/ev-sidebar-bookmarks.[ch]:
7547 * shell/ev-sidebar-thumbnails.[ch]: Stub out sidebars.
7549 Tue Dec 21 23:05:51 2004 Owen Taylor <otaylor@redhat.com>
7551 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc:
7554 * shell/ev-view.c: Track the size from the document.
7556 Tue Dec 21 22:17:04 2004 Owen Taylor <otaylor@redhat.com>
7558 * pdf/xpdf/pdf-document.cc (pdf_document_load): PDFDoc
7559 constructor assumes ownership of the string passed in.
7561 * shell/ev-window.c (ev_window_open): Destroy the error
7562 dialog once we've displayed it.
7564 Tue Dec 21 21:58:56 2004 Owen Taylor <otaylor@redhat.com>
7566 * pdf/xpdf/pdf-document.cc shell/ev-view.c: Hook things up
7567 a bit, it works! (sort of)
7569 * pdf/xpdf/Makefile.am pdf/xpdf/pdf-document.cc:
7570 Move to .cc since we need to use C++ in the implementation.
7572 * shell/dummy.cc: Add a CC file to force evince
7573 to be linked as a C++ program.
7575 Tue Dec 21 21:07:55 2004 Owen Taylor <otaylor@redhat.com>
7577 * shell/ev-view.[ch]: Start of content-area widget.
7579 * shell/ev-window.c: Create a EvView, update it
7580 as we change documents.
7582 * shell/Makefile.am shell/ev-marshal.list: Add
7583 generated marshalers.
7585 Tue Dec 21 20:28:11 2004 Jonathan Blandford <jrb@redhat.com>
7587 * Makefile.am (SUBDIRS): move shell.
7589 Tue Dec 21 19:28:55 2004 Owen Taylor <otaylor@redhat.com>
7591 * pdf/{goo,fofi,splash,xpdf}/Makefile.am: Switch from
7592 .a to libtool convenience libraries.
7594 * shell/ev-window.c (ev_window_open): Hard code loading
7597 * backend/ev-document.h: Add a boolean return to load(),
7598 fix GError * to GError **.
7600 * pdf/xpdf/pdf-document.[ch] Makefile.am: Add a stub
7601 object for a PDF backend EvDocument.
7603 Tue Dec 21 18:55:06 2004 Søren Sandmann <sandmann@redhat.com>
7605 * dvi/*: New directory with the beginning of a .dvi backend.
7607 2004-12-21 Havoc Pennington <hp@redhat.com>
7609 * shell/eggfindbar.c (egg_find_bar_init): change buttons to
7610 previous/next instead of back/forward
7612 Tue Dec 21 18:26:24 2004 Owen Taylor <otaylor@redhat.com>
7614 * backend/ev-document.[ch]: Fix a couple of problems so
7617 Tue Dec 21 18:20:40 2004 Owen Taylor <otaylor@redhat.com>
7619 * viewer/* backend/* configure.ac Makefile.am: Move viewer directory
7620 to backend/ directory, rename EvViewer to EvDocument.
7622 2004-12-21 Havoc Pennington <hp@redhat.com>
7624 * shell/ev-window.c: hook up the find bar widget; now we just need
7625 a document to find things in
7627 * shell/eggfindbar.c: a find bar widget
7629 Tue Dec 21 17:20:16 2004 Jonathan Blandford <jrb@redhat.com>
7631 * shell/ev-sidebar.[ch]: initial sidebar boilerplate.
7633 Tue Dec 21 16:30:58 2004 Owen Taylor <otaylor@redhat.com>
7635 * pdf/**: Import of xpdf code from gpdf.
7637 * pdf/xpdf/xpdfconfig.h: Move the non-config.h config.h to xpdfconfig.h
7639 * pdf/splash/SplashFTFont.{cc,h} pdf/splash/SplashFTFont.h
7640 pdf/splash/SplashFTFontEngine.h pdf/splash/SplashFTFontFile.h:
7641 Fix FreeType includes.
7643 * pdf/xpdf/{Error.h GnomeVFSStream.cc ImageOutputDev.cc PDFDoc.cc\
7644 pdffonts.cc pdfimages.cc pdfinfo.cc pdftoppm.cc pdftops.cc
7645 pdftotext.cc PSOutputDev.cc PSOutputDev.h SplashOutputDev.h
7646 Stream.cc TextOutputDev.cc XPDFApp.cc xpdf.cc XPDFViewer.cc
7647 pdf/xpdf/Error.h PSOutputDev.h SplashOutputDev.h}:
7648 Include xpdfconfig.h
7650 Tue Dec 21 16:08:17 2004 Jonathan Blandford <jrb@redhat.com>
7652 * shell/ev-window.c (ev_window_dispose): dispose can be called
7655 2004-12-21 Havoc Pennington <hp@redhat.com>
7657 * shell/ev-window.c (ev_window_init): set title to Document Viewer
7660 * data/evince-ui.xml, shell/ev-window.c: add a bunch of stub menu
7661 items; really they should be synced with the strings, etc. from
7662 current gpdf, but just getting the boring typing out of the way
7664 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
7667 * shell/ev-application.c: (window_destroy_cb):
7668 * shell/ev-window.c:
7669 * shell/main.c: (main):
7671 Actually show the window...
7673 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
7676 * shell/Makefile.am:
7677 * shell/ev-application.c: (ev_application_class_init):
7678 * shell/ev-window.c: (ev_window_dispose), (ev_window_class_init):
7682 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
7684 Import to gnome cvs.
7686 * Remove copies of gpdf and ggv trees.
7687 * Rip out all the recursive configure code.
7688 * Remove bonobo machinery.
7689 * viewer/*: GInterfaces that backends should/can implement.
7691 2004-11-09 Martin Kretzschmar <m_kretzschmar@gmx.net>
7693 * shell/ev-window.c (ev_window_cmd_help_about): fix "documentors"
7696 2004-10-28 Martin Kretzschmar <m_kretzschmar@gmx.net>
7698 * shell/ev-application.c (EV_APPLICATION_GET_PRIVATE)
7699 (ev_application_finalize, ev_application_class_init)
7700 (ev_application_init): use GType instance private data for priv.
7702 * shell/ev-window.c (EV_WINDOW_GET_PRIVATE)
7703 (ev_window_finalize, ev_window_class_init)
7704 (ev_window_init): ditto.
7706 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
7708 * shell/ev-application.c (ev_application_new_window): make public
7709 (ev_application_show_initial_window): kill.
7711 * shell/ev-application.h: update prototypes.
7713 * shell/main.cc (main): inline ev_application_show_initial_window.
7715 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
7717 * shell/ev-application.c (ev_application_new_window): impl.
7718 (ev_application_show_initial_window): use it.
7719 (is_window_empty, ev_application_get_empty_window): returns an
7720 existing empty window or a new one.
7721 (ev_application_open): from ev_window_cmd_file_open.
7723 * shell/ev-application.h: update prototypes
7725 * shell/ev-window.c (ev_window_is_empty): impl.
7726 (ev_window_open): make public.
7727 (ev_window_cmd_file_open): use ev_application_open
7729 * shell/ev-window.h: update prototypes, remove unused.
7731 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
7733 * shell/ev-window.c (ev_window_destroy, ev_window_class_init):
7734 move destroy handler out of here...
7736 * shell/ev-application.c, shell/ev-application.h: ...into this new
7737 class. Also handles initial window creation.
7739 * shell/main.cc (main): use EvApplication to create initial
7742 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
7744 * Makefile.am (SUBDIRS): add cut-n-paste
7746 * cut-n-paste/Makefile.am: add
7748 * configure.ac: generate Makefiles in cut-n-paste
7750 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
7752 * shell/ev-window.c (ev_window_dispose): new, unref the ui_manager
7753 (ev_window_class_init): install ev_window_dispose.
7755 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
7757 * shell/ev-window.h, shell/ev-window.c: replace gchar with
7758 char (gchar looks stupid).
7760 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
7762 * po/de.po: updated German translation.
7764 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
7766 * configure.ac: add more pkg-config library checks for gnome-vfs,
7769 * gpdf/configure.in: temporarily disable libpaper
7770 checks. Otherwise I'd have to add the checks for the shell, too.
7772 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7774 * shell/ev-window.c (ev_window_cmd_file_open): add ps+pdf, ps, pdf
7775 and * file filters to the file choose.
7777 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7779 * po/de.po: Updated German translation.
7781 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7783 * shell/ev-window.c: use "S" as mnemonic for Statusbar.
7785 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7787 * data/evince-ui.xml: add View->Toolbar and View->Statusbar.
7789 * shell/ev-window.c (menu_item_select_cb, menu_item_select_cb)
7790 (ev_window_init): implement those menuitems.
7792 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7794 * data/evince-ui.xml: add a toolbar (with FileOpen action)
7796 * shell/ev-window.c (ev_window_init): use the toolbar.
7798 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7800 * shell/ev-window.c (ev_window_init): use menu translations
7802 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7804 * configure.ac: add "de" to ALL_LINGUAS.
7806 * po/de.po: add German translation.
7808 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7810 * Makefile.am (SUBDIRS): add po
7812 * configure.ac: check intltool, glib-gettext etc, generate
7815 * po, po/POTFILES.in, po/POTFILES.skip: new.
7817 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7819 * shell/Makefile.am (INCLUDES): define GNOMELOCALEDIR which we
7820 already use (#ifdef ENABLE_NLS)
7822 * shell/ev-window.c (ev_window_cmd_help_about): fix two star
7823 pointer indirection thinko.
7825 * shell/main.c: include gi18n.h for bindtextdomain etc.
7827 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7829 * shell/ev-window.c (menu_item_select_cb, menu_item_deselect_cb)
7830 (connect_proxy_cb, disconnect_proxy_cb, ev_window_init): show
7831 tooltips for menu items in the statusbar.
7833 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7835 * configure.ac, data/Makefile.am, shell/Makefile.am: use
7836 pkgdatadir drop UIDIR
7838 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7840 * data/evince-ui.xml: Add File->Open menu item
7842 * shell/ev-window.c (ev_window_cmd_file_open): impl. (shows a file
7843 chooser), hook it up in the ui manager.
7845 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7847 * shell/ev-window.c: fix Help->About tooltip.
7849 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7851 * configure.ac: set CFLAGS for libevprivate.
7853 * lib/ev-stock-icons.h, lib/ev-stock-icons.c: stock icon
7854 definitions, factory etc.
7856 * lib/Makefile.am: build libevprivate.a (only stock icon code).
7858 * shell/Makefile.am: link against libevprivate.a.
7860 * shell/ev-window.c (entries): add stock icon to Help->About.
7862 * shell/main.c (main): init stock icon code.
7864 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7866 * lib/recent-files: egg recent files code
7868 * lib/Makefile.am: add.
7870 * Makefile.am: add lib subdir.
7872 * configure.ac: gen. lib/Makefile and lib/recent-files/Makefile,
7873 set CFLAGS for recent-files.
7875 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7877 * configure.ac: disable -ansi and -pedantic gcc flags. They
7878 disable POSIX stuff in stdio.h, but egg-recent uses them.
7880 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7882 * configure.ac: add --disable-deprecated flag (defaults to on in
7885 * shell/Makefile.am (INCLUDES): use it.
7887 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7889 * shell/main.c: add missing #include.
7891 * shell/ev-window.c: fix for pedantic gcc.
7892 (ev_window_cmd_help_about): split license into paragraphs for
7893 translators and pedantic compilers.
7895 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7897 * configure.ac: add more warning flags if compiling with gcc from
7898 cvs (or explicitly requested with --enable-more-warnings).
7900 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7902 * data/evince-ui.xml: add File and File->Close menu.
7904 * shell/ev-window.c (ev_window_cmd_file_close_window): impl.
7905 (ev_window_destroy): quit after destroy.
7906 (ev_window_class_init): override GtkObject::destroy.
7907 (entries): install close_window callback.
7909 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7911 * Makefile.am (SUBDIRS): add data subdir.
7913 * configure.ac (UIDIR): gen data/Makefile, define UIDIR. Require
7914 gtk+ 2.5.0 for GtkAboutDialog.
7916 * data/Makefile.am, data/evince-ui.xml: add, ui definition for the
7919 * shell/Makefile.am (INCLUDES): propagate UIDIR definition.
7921 * shell/ev-window.c (ev_window_init): create a menubar, using a ui
7923 (ev_window_cmd_help_about): about command, using GtkAboutDialog.
7925 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7927 * shell/ev-window.c, shell/ev-window.h: Created an EvWindow class.
7929 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
7931 * shell/main.c: make it a trivial gtk+ program, adjust configure.ac
7933 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
7935 * shell/*: Added shell directory boilerplate, build it.
7937 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
7939 * configure.ac, Makefile.am: Added top-level configure.ac and