1 2006-01-19 Jani Monoses <jani.monoses@gmail.com>
3 * comics/comics-document.c: (comics_document_save):
4 * djvu/djvu-document.c: (djvu_document_save):
5 * dvi/dvi-document.c: (dvi_document_save):
6 * lib/ev-file-helpers.c: (ev_tmp_filename), (ev_xfer_uri_simple):
7 * lib/ev-file-helpers.h:
8 * pixbuf/pixbuf-document.c: (pixbuf_document_save):
9 * tiff/tiff-document.c: (tiff_document_save):
11 Use common save function for backends.
13 2006-01-18 Jani Monoses <jani.monoses@gmail.com>
15 * backend/ev-document-types.c:
17 Fix crash on saving pixbuf.
19 2006-01-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
21 * cut-n-paste/recent-files/egg-recent-item.c:
22 (get_uri_shortname_for_display), (egg_recent_item_get_short_name):
23 * cut-n-paste/recent-files/egg-recent-model.c: (parse_info_init),
24 (parse_info_free), (valid_element), (start_element_handler),
25 (end_element_handler), (text_handler), (egg_recent_model_filter),
26 (egg_recent_model_monitor_cb), (egg_recent_model_poll_timeout),
27 (egg_recent_model_monitor), (egg_recent_model_read),
28 (egg_recent_model_open_file), (egg_recent_model_lock_file),
29 (egg_recent_model_unlock_file), (egg_recent_model_finalize),
30 (egg_recent_model_set_property), (egg_recent_model_class_init),
31 (egg_recent_model_init), (egg_recent_model_add_full),
32 (egg_recent_model_delete), (egg_recent_model_get_list),
33 (egg_recent_model_clear), (egg_recent_model_clear_mime_filter),
34 (egg_recent_model_set_filter_mime_types),
35 (egg_recent_model_clear_group_filter),
36 (egg_recent_model_set_filter_groups),
37 (egg_recent_model_clear_scheme_filter),
38 (egg_recent_model_set_filter_uri_schemes),
39 (egg_recent_model_remove_expired):
40 * cut-n-paste/recent-files/egg-recent-util.c:
41 (egg_recent_util_get_icon):
42 * cut-n-paste/recent-files/egg-recent-util.h:
43 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
44 (connect_proxy_cb), (egg_recent_view_uimanager_set_list),
45 (egg_recent_view_uimanager_set_empty_list), (model_changed_cb),
46 (egg_recent_view_uimanager_set_property),
47 (egg_recent_view_uimanager_get_property),
48 (egg_recent_view_uimanager_class_init),
49 (egg_recent_view_uimanager_init),
50 (egg_recent_view_uimanager_set_label_width),
51 (egg_recent_view_uimanager_get_label_width):
52 * cut-n-paste/recent-files/egg-recent-view-uimanager.h:
53 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
54 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
55 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
56 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
57 * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
61 2006-01-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
63 * shell/ev-page-cache.c: (build_height_to_page),
64 (ev_page_cache_get_height_to_page):
65 * shell/ev-page-cache.h:
66 * shell/ev-view.c: (view_update_range_and_current_page),
67 (get_page_y_offset), (get_page_extents), (ev_view_next_page),
68 (ev_view_previous_page):
70 Dual mode places even pages to the left. Fix for the bug #309393.
73 * shell/ev-window.c: (update_action_sensitivity),
74 (setup_view_from_metadata), (view_menu_popup_cb):
76 Don't restore presentation in empty windows, more intelligent
77 next page behaviour in dual mode.
79 * shell/ev-pixbuf-cache.c: (check_job_size_and_unref),
80 (ev_pixbuf_cache_clear_job_sizes):
82 Cleanup job callback on removal. Fix for the bug #325886.
84 2006-01-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
88 Commit workaround Mozilla problem. Fix for the bug #325919
90 * shell/ev-metadata-manager.c: (parse_value), (parseItem),
93 Fix for year 2038 problem.
95 2006-01-06 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
97 * shell/ev-window.c: (setup_document_from_metadata),
98 (ev_window_cmd_view_reload):
100 Clamp page recieved from metadata in valid values. Fix
103 2006-01-06 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
106 Add MAINTAINERS as requested on desktop-devel-list.
108 2006-01-06 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
110 * backend/ev-document-factory.c: (gdk_pixbuf_mime_type_list),
111 (mime_type_supported_by_gdk_pixbuf),
112 (ev_document_factory_get_mime_types),
113 (ev_document_factory_get_all_mime_types):
115 Don't add pixbuf mime types if pixbuf backend is disabled.
117 * shell/ev-application.c: (ev_application_get_uri_window):
119 Fix for the bug 325815 - unhandled MIME type message doesn't
120 appear a second time.
122 * shell/ev-document-types.c: (ev_document_types_add_filters):
123 * shell/ev-window.c: (page_changed_cb), (ev_window_setup_document),
124 (password_dialog_response), (ev_window_popup_password_dialog),
125 (ev_window_load_job_cb), (ev_window_sidebar_position_change_cb),
126 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
127 (ev_window_run_presentation), (ev_window_stop_presentation),
128 (save_sizing_mode), (ev_window_zoom_changed_cb),
129 (ev_window_continuous_changed_cb), (ev_window_rotation_changed_cb),
130 (ev_window_dual_mode_changed_cb),
131 (ev_window_sidebar_current_page_changed_cb),
132 (ev_window_sidebar_visibility_changed_cb), (ev_window_dispose),
133 (window_state_event_cb), (window_configure_event_cb):
135 Cleanup additional uris holded by EvWindow.
137 2006-01-06 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
139 * shell/ev-view.c: (ev_view_scroll), (ev_view_previous_page),
140 (ev_view_can_previous_page), (ev_view_can_next_page):
142 * shell/ev-window.c: (update_action_sensitivity):
144 Two page scrolling with Space and PageUp in dual mode. Second fix
147 2006-01-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
149 * shell/ev-view.c: (scroll_to_current_page):
151 Correctly clamp adjustment value. Fix for the bug
154 2006-01-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
156 * shell/ev-sidebar-links.c: (print_section_cb):
157 * shell/ev-window.c: (ev_window_get_uri),
158 (ev_window_close_dialogs), (ev_window_open_uri), (ev_window_print),
159 (ev_window_print_dialog_response_cb), (ev_window_print_range),
162 Make print dialog non-modal. Fix for the bug #325622.
164 2006-01-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
166 * shell/ev-metadata-manager.c:
167 * shell/ev-utils.c: (using_pdf_printer),
168 (using_postscript_printer), (load_print_config_from_file),
169 (save_print_config_to_file):
171 * shell/ev-window.c: (update_sizing_buttons), (page_changed_cb),
172 (update_sidebar_visibility), (setup_sidebar_from_metadata),
173 (setup_view_from_metadata), (ev_window_setup_document),
174 (ev_window_load_job_cb), (ev_window_sidebar_position_change_cb),
175 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
176 (ev_window_run_presentation), (ev_window_stop_presentation),
177 (save_sizing_mode), (ev_window_zoom_changed_cb),
178 (ev_window_continuous_changed_cb), (ev_window_rotation_changed_cb),
179 (ev_window_dual_mode_changed_cb),
180 (ev_window_sidebar_current_page_changed_cb),
181 (ev_window_sidebar_visibility_changed_cb), (ev_window_dispose),
182 (window_state_event_cb), (window_configure_event_cb),
185 Setting saving behaviour fixes.
187 2005-12-30 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
191 Make antialiasing gs options better and allow
192 to change them during configure. Fix for the
195 2005-12-29 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
197 * shell/ev-window.c: (setup_view_from_metadata):
199 Remember if last window was maximized. Fix for the
202 2005-12-28 Abel Cheung <maddog@linuxhall.org>
204 * configure.ac: Added "zh_HK" to ALL_LINGUAS.
206 2005-12-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
208 * backend/ev-link.c: (ev_link_get_page), (ev_link_init):
209 * shell/ev-page-action.c: (build_new_tree_cb):
210 * shell/ev-sidebar-links.c: (links_page_num_func),
211 (update_page_callback_foreach), (update_page_callback):
212 * shell/ev-view.c: (scroll_to_current_page):
214 Fix for the bug #325067 with more intelligent selection
215 of current link in sidebar. Make sidebar handle links
216 of FITR-like type more correctly.
218 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
219 (dvi_pixbuf_put_pixel):
221 Fix memory consumtion with disabled alpha channel.
223 2005-12-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
225 * data/evince-ui.xml:
226 * shell/ev-window.c: (view_menu_popup_cb),
227 (ev_popup_cmd_open_link), (ev_window_init):
229 Update context menu for internal links. Fix for the bug
232 2005-12-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
234 * shell/ev-view.c: (ev_view_popup_menu), (ev_view_class_init):
236 Bind context menu to keyboard also. Fix for the bug
239 2005-12-27 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
241 * shell/ev-view.c: (selection_scroll_timeout_cb):
243 Horizontal scroll on selection also.
245 2005-12-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
247 * shell/ev-metadata-manager.c: (parse_value):
248 * shell/ev-view.c: (goto_xyz_link):
250 Correct zoom setup and metadata save broken in
253 2005-12-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
255 * shell/ev-view-private.h:
256 * shell/ev-view.c: (scroll_to_current_page),
257 (view_set_adjustment_values), (goto_fitr_link), (goto_fitv_link),
258 (goto_fith_link), (goto_fit_link), (goto_xyz_link),
259 (page_changed_cb), (ev_view_set_continuous),
260 (ev_view_set_dual_page), (ev_view_set_presentation):
262 Delay scroll until allocation to correctly position page. Fix
265 2005-12-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
270 Update NEWS and require poppler 0.5.0.
272 2005-12-25 Carlos Garcia Campos <carlosgc@gnome.org>
274 * data/evince-ui.xml:
275 * shell/ev-view-private.h:
276 * shell/ev-view.c: (ev_view_get_link_at_location),
277 (handle_link_over_xy), (ev_view_button_press_event),
278 (ev_view_button_release_event), (ev_view_class_init):
279 * shell/ev-window.c: (view_menu_popup_cb), (ev_window_dispose),
280 (ev_popup_cmd_open_link), (ev_popup_cmd_copy_link_address),
283 Implement right-click context menu.
285 2005-12-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
287 * djvu/djvu-document.c: (djvu_document_thumbnails_get_thumbnail):
288 * dvi/pixbuf-device.c: (dvi_pixbuf_create_image),
289 (mdvi_pixbuf_device_render):
292 Don't generate thumbnails with alpha. See bug #324077.
293 Thanks to Jeroen Zwartepoorte <jeroen.zwartepoorte@gmail.com>.
295 2005-12-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
297 * shell/ev-window.c: (setup_chrome_from_metadata):
299 Fix typo that was hiding toolbar.
301 2005-12-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
303 * shell/ev-view-private.h:
304 * shell/ev-view.c: (ev_view_realize), (selection_update_idle_cb),
305 (selection_scroll_timeout_cb), (ev_view_motion_notify_event),
306 (ev_view_button_release_event), (ev_view_destroy):
308 Small cleanup and autoscrolling during selection. Thanks to
309 Ricardo Markiewicz <rmarkie@fi.uba.ar>.
311 2005-12-22 Jani Monoses <jani.monoses@gmail.com>
315 Correctly check for comics option.
317 2005-12-21 Eduardo Lima <eduardo.lima@indt.org.br>
320 * backend/Makefile.am:
321 * backend/ev-document-factory.c:
322 * shell/ev-document-types.c:
324 Included option in configure to make ps backend
325 compilation optional with --disable-ps.
327 2005-12-20 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
329 * backend/ev-document-factory.c:
330 * comics/Makefile.am:
331 * comics/comics-document.c: (comics_document_load):
332 * comics/ev-cbr-mime.xml:
335 Comics mime types are added to shared-mime-info CVS. Now
336 we don't need to install our own mime types.
338 2005-12-20 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
342 Add shortcut for "save a copy" menu entry. Fix for
345 2005-12-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
347 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info),
348 (job_finished_cb), (new_selection_pixbuf_needed),
349 (ev_pixbuf_cache_get_selection_pixbuf), (update_job_selection),
350 (clear_job_selection), (ev_pixbuf_cache_set_selection_list):
352 Rework selection job info logic and fix critical warning.
354 2005-12-17 Abel Cheung <maddog@linuxhall.org>
356 * configure.ac: Added "cy" "fa" "mk" "vi" to ALL_LINGUAS.
358 2005-11-27 Jaap A. Haitsma <jaap@haitsma.org>
360 * data/evince-ui.xml:
361 * shell/ev-window.c: (ev_window_set_view_accels_sensitivity):
363 Enter as shortcut key for next page. Fix for the bug
366 2005-11-18 Ales Nyakhaychyk <nab@mail.by>
368 * configure.ac: Added "be" (Belarusian) to ALL_LINGUAS.
370 2005-11-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
372 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info),
373 (job_finished_cb), (copy_job_to_job_info), (add_job_if_needed),
374 (new_selection_pixbuf_needed),
375 (ev_pixbuf_cache_get_selection_pixbuf), (update_job_selection),
376 (clear_job_selection):
378 Too early for 0.5. Pixbuf cache code cleaned a bit.
380 2005-11-14 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
385 Release 0.5.0 preparation
387 2005-11-14 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
389 * comics/Makefile.am:
391 * shell/ev-document-types.c: (ev_document_types_add_filters):
393 More advanced handling of custom mime type installation.
395 2005-11-14 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
397 * data/evince.schemas.in:
398 * shell/ev-metadata-manager.c: (value_free),
399 (ev_metadata_manager_get_last), (ev_metadata_manager_set_last),
400 (ev_metadata_manager_get), (ev_metadata_manager_set):
401 * shell/ev-metadata-manager.h:
402 * shell/ev-window.c: (update_chrome_flag),
403 (ev_window_cmd_focus_page_selector), (update_sidebar_visibility),
404 (setup_document_from_metadata), (setup_chrome_from_metadata),
405 (setup_sidebar_from_metadata), (setup_view_from_metadata),
406 (ev_window_cmd_edit_find), (ev_window_cmd_escape),
407 (ev_window_view_toolbar_cb),
408 (ev_window_sidebar_visibility_changed_cb), (find_bar_close_cb),
409 (view_actions_focus_in_cb), (ev_window_init), (ev_window_new):
411 Save last document settings and reuse them for new documents.
413 2005-11-14 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
416 * backend/Makefile.am:
417 * backend/ev-document-factory.c:
418 * backend/ev-document-factory.h:
419 * comics/Makefile.am:
420 * comics/comics-document.c: (G_DEFINE_TYPE_WITH_CODE),
421 (comics_document_load), (comics_document_save),
422 (comics_document_get_n_pages), (comics_document_get_page_size),
423 (get_page_size_area_prepared_cb), (comics_document_render_pixbuf) (render_pixbuf_size_prepared_cb), (comics_document_finalize),
424 (comics_document_class_init), (comics_document_can_get_text),
425 (comics_document_get_info), (comics_document_document_iface_init),
426 (comics_document_init), (get_supported_image_extensions),
427 (comics_document_thumbnails_get_geometry),
428 (comics_document_thumbnails_get_thumbnail),
429 (comics_document_thumbnails_get_dimensions),
430 (comics_document_document_thumbnails_iface_init), (extract_argv):
431 * comics/comics-document.h:
432 * comics/ev-cbr-mime.xml:
435 * shell/ev-application.c: (ev_application_register_service):
436 * shell/ev-document-types.c: (ev_document_types_add_filters):
437 * thumbnailer/Makefile.am:
438 * thumbnailer/evince-thumbnailer-comics.schemas.in:
440 New CBR/CBZ backend for comic books.
442 2005-11-10 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
444 * shell/main.c: (load_files_remote):
446 Thanks to Robert McQueen <robot101@debian.org>. Dbus
447 warning on startup of second instance is fixed. It
450 2005-10-30 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
452 * shell/ev-window.c: (ev_window_finalize):
454 Fix double free that cause crash.
456 2005-10-29 Bastien Nocera <hadess@hadess.net>
458 * tiff/tiff-document.c: (tiff_document_load):
462 2005-10-29 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
466 * shell/ev-view-accessible.c: (ev_view_accessible_get_priv),
467 (ev_view_accessible_free_priv), (ev_view_accessible_class_init),
468 (ev_view_accessible_get_text),
469 (ev_view_accessible_get_character_at_offset),
470 (ev_view_accessible_get_text_before_offset),
471 (ev_view_accessible_get_text_at_offset),
472 (ev_view_accessible_get_text_after_offset),
473 (ev_view_accessible_get_character_count),
474 (ev_view_accessible_get_caret_offset),
475 (ev_view_accessible_set_caret_offset),
476 (ev_view_accessible_get_run_attributes),
477 (ev_view_accessible_get_default_attributes),
478 (ev_view_accessible_get_character_extents),
479 (ev_view_accessible_get_offset_at_point),
480 (ev_view_accessible_get_n_selections),
481 (ev_view_accessible_get_selection),
482 (ev_view_accessible_add_selection),
483 (ev_view_accessible_remove_selection),
484 (ev_view_accessible_set_selection),
485 (ev_view_accessible_text_iface_init),
486 (ev_view_accessible_idle_do_action),
487 (ev_view_accessible_action_do_action),
488 (ev_view_accessible_action_get_n_actions),
489 (ev_view_accessible_action_get_description),
490 (ev_view_accessible_action_get_name),
491 (ev_view_accessible_action_set_description),
492 (ev_view_accessible_action_iface_init),
493 (ev_view_accessible_get_type), (ev_view_accessible_new),
494 (ev_view_accessible_factory_get_accessible_type),
495 (ev_view_accessible_factory_create_accessible),
496 (ev_view_accessible_factory_class_init),
497 (ev_view_accessible_factory_get_type):
498 * shell/ev-view-accessible.h:
499 * shell/ev-view-private.h:
500 * shell/ev-view.c: (ev_view_get_accessible), (ev_view_class_init):
503 Initial accessibility support.
505 2005-10-27 Erdal Ronahi <erdal.ronahi@gmail.com>
507 * configure.ac: Added ku (Kurdish) to ALL_LINGUAS
509 2005-10-26 Hubert Figuiere <hfiguiere@teaser.fr>
511 * shell/ev-print-job.c: (idle_print_handler):
513 Fix for bug Bug 318916: Printing multiple pages.
515 2005-10-20 Runa Bhattacharjee <runa@bengalinux.org>
517 * configure.ac: Added "bn" (Bengali) to ALL_LINGUAS.
519 2005-10-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
523 Thumnail dimensions unified with other backends.
525 * shell/ev-window-title.c: (ev_window_title_update):
529 2005-10-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
531 * data/ev-stock-zoom-fit-width.png:
535 2005-10-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
538 * djvu/djvu-document.c: (djvu_document_load), (djvu_document_save),
539 (djvu_document_finalize):
540 * dvi/dvi-document.c: (dvi_document_load), (dvi_document_save),
541 (dvi_document_finalize):
542 * pixbuf/pixbuf-document.c: (pixbuf_document_load),
543 (pixbuf_document_save), (pixbuf_document_finalize):
544 * tiff/tiff-document.c: (tiff_document_load), (tiff_document_save),
545 (tiff_document_finalize):
547 Save a copy implemented for various backends.
549 2005-10-17 Daniel Gryniewicz <dang@gentoo.org>
553 Don't link with ltiff if tiff is disabled.
555 2005-10-14 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
557 * pdf/GDKSplashOutputDev.cc:
558 * pdf/GDKSplashOutputDev.h:
561 * pdf/pdf-document.cc:
562 * pdf/pdf-document.h:
563 * pdf/test-gdk-output-dev.cc:
565 Remove old unused files.
567 2005-10-12 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
569 * shell/ev-window.c: (ev_window_setup_document):
571 Fixed warnings on reload and probably crash reason.
573 2005-10-12 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
575 * properties/ev-properties-view.c:
576 (ev_properties_view_format_date):
578 Check if date is invalid. Fix for bug 318134.
580 2005-10-02 Wouter Bolsterlee <uws+gnome@xs4all.nl>
582 * shell/ev-window-title.c:
584 Add .indd files (Adobe Indesign) to the list of "bad
587 2005-10-02 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
589 * data/evince-ui.xml:
590 * shell/ev-window.c: (ev_window_set_view_accels_sensitivity):
592 Add <ctrl>KP_Add and <ctrl>KP_Substract bindings.
594 2005-09-27 Christian Persch <chpe@cvs.gnome.org>
596 * shell/ev-window.c: (launch_link), (launch_external_uri),
597 (view_external_link_cb):
599 URL-escape link before passing it to gnome_vfs_url_show.
601 2005-09-27 Carlos Garcia Campos <carlosgc@gnome.org>
603 * shell/ev-view.[ch], shell/ev-window.c: Disable copy action when
604 there isn't text selected.
606 2005-09-27 Marco Pesenti Gritti <mpg@redhat.com>
608 * shell/ev-view.c: (handle_link_over_xy):
610 Check tooltip is valid utf8 before showing it
612 2005-09-27 Carlos Garcia Campos <carlosgc@gnome.org>
614 * shell/ev-view.c: Allow drag and drop of text. Fixes #316772
616 2005-09-27 Christian Persch <chpe@cvs.gnome.org>
618 * shell/ev-window-title.c: (ev_window_title_update):
620 Guard against using g_strstrip on NULL. Fixes bug #317291.
622 2005-09-26 Marco Pesenti Gritti <mpg@redhat.com>
626 Show title even for unknown links
628 2005-09-26 Marco Pesenti Gritti <mpg@redhat.com>
630 * shell/ev-window-title.c: (ev_window_title_update):
632 Strip the title string
634 2005-09-26 Marco Pesenti Gritti <mpg@redhat.com>
636 * shell/ev-window-title.c:
638 Add .rtf to the bad extensions list
640 2005-09-26 Marco Pesenti Gritti <mpg@redhat.com>
642 * shell/ev-view.c: (doc_point_to_view_point), (goto_fitr_link),
643 (goto_fitv_link), (goto_fith_link), (goto_xyz_link):
645 Ignore link coordinates if they are outside page bounds
647 2005-09-26 Marco Pesenti Gritti <mpg@redhat.com>
649 * backend/ev-link.c: (ev_link_type_get_type),
650 (ev_link_get_filename), (ev_link_get_params),
651 (ev_link_get_property), (ev_link_set_property),
652 (ev_window_dispose), (ev_link_class_init), (ev_link_new_launch):
655 * shell/ev-view.c: (ev_view_goto_link), (ev_view_class_init):
656 * shell/ev-window.c: (launch_link), (view_external_link_cb),
659 Implement launch links. Delegate external link opening to
662 2005-09-24 Marco Pesenti Gritti <mpg@redhat.com>
664 * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_bottom),
665 (ev_link_get_right), (ev_link_get_property),
666 (ev_link_set_property), (ev_link_class_init),
667 (ev_link_new_page_fitv), (ev_link_new_page_fitr):
670 * shell/ev-view.c: (goto_fitr_link), (ev_view_goto_link):
674 2005-09-24 Marco Pesenti Gritti <mpg@redhat.com>
676 * shell/ev-view.c: (ev_view_get_width), (ev_view_get_height),
677 (goto_fitv_link), (goto_fith_link), (goto_fit_link),
678 (ev_view_goto_link), (ev_view_size_request_continuous_dual_page),
679 (ev_view_size_request_continuous),
680 (ev_view_size_request_dual_page),
681 (ev_view_size_request_single_page), (ev_view_size_allocate),
682 (ev_view_zoom_for_size_continuous_and_dual_page),
683 (ev_view_zoom_for_size_continuous),
684 (ev_view_zoom_for_size_dual_page),
685 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
686 (ev_sizing_mode_get_type):
688 * shell/ev-window.c: (ev_window_sizing_mode_changed_cb):
690 Do not use modes for link, we need to calculate size ad hoc.
691 Still not perfect because of the usual scrollbar issues grrr.
693 2005-09-24 Marco Pesenti Gritti <mpg@redhat.com>
695 * backend/ev-link.c: (ev_link_type_get_type),
696 (ev_link_new_page_fith), (ev_link_new_page_fitv):
699 * shell/ev-view.c: (goto_fitv_link), (goto_fith_link),
700 (ev_view_goto_link), (ev_view_size_request_continuous_dual_page),
701 (ev_view_size_request_continuous),
702 (ev_view_size_request_dual_page),
703 (ev_view_size_request_single_page), (ev_view_size_allocate),
704 (zoom_for_size_fit_height),
705 (ev_view_zoom_for_size_continuous_and_dual_page),
706 (ev_view_zoom_for_size_continuous),
707 (ev_view_zoom_for_size_dual_page),
708 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
709 (ev_sizing_mode_get_type):
711 * shell/ev-window.c: (ev_window_sizing_mode_changed_cb):
713 Implement FIT_HEIGHT mode (only for links).
716 2005-09-24 Marco Pesenti Gritti <mpg@redhat.com>
718 * shell/ev-window-title.c: (get_filename_from_uri),
719 (ev_window_title_sanitize_extension), (ev_window_title_update),
720 (ev_window_title_set_document), (ev_window_title_set_uri),
721 (ev_window_title_free):
722 * shell/ev-window-title.h:
723 * shell/ev-window.c: (ev_window_setup_document),
724 (ev_window_popup_password_dialog):
726 Refactor window title building while fixing it for
729 2005-09-24 Marco Pesenti Gritti <mpg@redhat.com>
733 Escape link title before setting it in the model
735 2005-09-23 Marco Pesenti Gritti <mpg@redhat.com>
737 * shell/ev-application.c: (removed_from_session), (save_session),
738 (init_session), (ev_application_get_empty_window),
739 (ev_application_init), (ev_application_get_windows):
740 * shell/ev-application.h:
741 * shell/ev-window.c: (ev_window_finalize):
743 Add a function to retrieve window list and share it where
745 Implement session handling, works pretty well thanks to the
748 2005-09-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
750 * shell/ev-password.c: (ev_password_item_created_callback),
751 (ev_password_dialog_save_password):
753 Fix for bug 316972. Use async gnome-keyring API.
755 2005-09-22 Christian Persch <chpe@cvs.gnome.org>
757 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_class_init):
758 Remove unused unrealize handler. Add scroll handling to
759 ev_view_scroll_event for presentation mode (bug #316708),
760 and fix the event state checks there.
762 2005-09-22 Marco Pesenti Gritti <mpg@redhat.com>
764 * shell/ev-page-action.c: (page_changed_cb):
766 "marco, maybe we should be crazy and jump right to 6! :)"
768 Bryan Clark, Sep 2005
770 2005-09-22 Marco Pesenti Gritti <mpg@redhat.com>
772 * ps/ps-document.c: (save_document), (ps_document_save),
773 (ps_document_ps_export_begin), (ps_document_ps_export_do_page),
774 (ps_document_ps_export_end):
776 Fix unstructured documents save and print
778 2005-09-22 Marco Pesenti Gritti <mpg@redhat.com>
780 * shell/ev-application.c: (ev_application_open_uri):
782 Fix window size persistance
784 2005-09-22 Marco Pesenti Gritti <mpg@redhat.com>
786 * shell/ev-view.c: (ev_view_button_release_event):
788 Based on a patch from carlosgc@gnome.org. Mouse buttons
789 switch pages in presentation mode.
791 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
793 * shell/ev-page-cache.c: (ev_page_cache_get_size):
795 Dont cast to int before scaling
797 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
799 * backend/ev-link.c: (ev_link_type_get_type),
800 (ev_link_new_page_xyz), (ev_link_new_page_fit),
801 (ev_link_new_page_fith):
804 * shell/ev-view.c: (goto_fith_link), (ev_view_goto_link):
806 Implement FIT and FITH links
808 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
812 Return 0 results when search is not in progress.
814 * shell/ev-window.c: (ev_window_cmd_go_previous_page),
815 (ev_window_cmd_go_next_page), (find_bar_search_changed_cb):
817 Update menu sensitivity when cancelling search
819 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
821 * shell/ev-view.c: (ev_view_can_find_next):
823 Take all pages in consideration, not just current one
825 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
827 * shell/ev-page-cache.c:
828 * shell/ev-page-cache.h:
829 * shell/ev-view.c: (ev_view_binding_activated),
830 (ev_view_next_page), (ev_view_previous_page),
831 (ev_sizing_mode_get_type):
833 * shell/ev-window.c: (ev_window_cmd_go_previous_page),
834 (ev_window_cmd_go_next_page):
836 Move page next/previous functions from page chace to
837 view and change it to move by 2 page steps in dual mode.
839 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
841 * shell/ev-window.c: (update_sidebar_visibility),
842 (setup_sidebar_from_metadata), (ev_window_setup_document),
843 (setup_view_from_metadata):
845 Show the index by default when there is one
847 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
849 * shell/ev-window-title.c: (ev_window_title_set_document):
853 2005-09-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
855 * shell/ev-view.c: (view_update_range_and_current_page):
857 Allow display of last odd page in dual view. Fix for 316347.
859 2005-09-17 Wouter Bolsterlee <uws+gnome@xs4all.nl>
861 * shell/ev-window.c: (ev_window_cmd_edit_toolbar):
863 Make close button default. Fix for 316383.
865 2005-09-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
867 * shell/ev-properties-dialog.c: (ev_properties_dialog_init):
869 Mark close button as default. Fix for 316381.
871 2005-09-16 Marco Pesenti Gritti <mpg@redhat.com>
873 * backend/ev-link.c: (ev_link_class_init):
875 Allow negative doubles in left/top properties
877 2005-09-16 Marco Pesenti Gritti <mpg@redhat.com>
881 Remove a bunch of strings that was used only
884 2005-09-16 Marco Pesenti Gritti <mpg@redhat.com>
886 * shell/ev-window-title.c: (get_filename_from_uri),
887 (ev_window_title_set_document):
889 When title has a confusing extension, show also
890 the document filename inside ()
892 2005-09-16 Marco Pesenti Gritti <mpg@redhat.com>
895 * shell/ev-window-title.c: (ev_window_title_new),
896 (ev_window_title_update), (ev_window_title_set_type),
897 (ev_window_title_set_document), (ev_window_title_free):
898 * shell/ev-window-title.h:
899 * shell/ev-window.c: (ev_window_setup_document),
900 (password_dialog_response), (ev_window_popup_password_dialog),
901 (ev_window_dispose), (ev_window_init):
903 Factor out and cleanup window title code
905 2005-09-16 Marco Pesenti Gritti <mpg@redhat.com>
907 * shell/ev-window.c: (unable_to_load_dialog_response_cb),
910 Make dialog transient so it doesnt block other windows
912 2005-09-13 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
916 Fix pdf thumbnails rendering.
918 2005-09-13 Wouter Bolsterlee <uws+gnome@xs4all.nl>
920 * shell/ev-window.c: (fullscreen_set_timeout):
922 Increase timeout to hide full screen popup. Bug
925 2005-09-13 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
927 * data/evince.schemas.in:
928 * shell/ev-window.c: (update_action_sensitivity):
930 Allow the user to override document restrictions. Fix for bug
933 2005-09-13 Christian Persch <chpe@cvs.gnome.org>
935 * shell/ev-window.c: (ev_window_update_fullscreen_popup),
936 (ev_window_create_fullscreen_popup), (ev_window_screen_changed),
937 (ev_window_class_init): Fix multihead behaviour of fullscreen
938 toolbar popup. Fixes bug #315451.
940 2005-09-13 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
943 * data/evince-password.glade:
944 * shell/ev-password.c: (ev_password_dialog_set_property),
945 (ev_password_dialog_finalize), (ev_password_dialog_class_init),
946 (ev_password_dialog_init), (ev_password_set_bad_password_label),
947 (ev_password_dialog_entry_changed_cb),
948 (ev_password_dialog_entry_activated_cb),
949 (ev_password_dialog_save_password), (ev_password_keyring_found_cb),
950 (ev_password_search_in_keyring), (ev_password_dialog_get_password),
951 (ev_password_dialog_set_bad_pass):
952 * shell/ev-password.h:
953 * shell/ev-window.c: (password_dialog_response),
954 (ev_window_popup_password_dialog):
956 Support for gnome-keyring for encrypted PDF's.
958 2005-09-11 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
960 * shell/ev-view.c: (handle_link_over_xy), (ev_view_realize),
961 (ev_view_motion_notify_event), (ev_view_leave_notify_event),
962 (ev_view_enter_notify_event), (ev_view_class_init):
964 More precise handling of enter_notify/leave_notify events
965 in EvView. Fix for bug 315470.
967 2005-09-08 Christopher Aillon <caillon@redhat.com>
969 * shell/ev-window.c: (fullscreen_timeout_cb),
970 (fullscreen_set_timeout), (fullscreen_clear_timeout),
973 leak fix: unref fullscreen_timeout_source before clearing it
975 2005-09-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
977 * configure.ac, dvi/mdvi/Makefile.am:
979 Use lt1 instead lt1lib. Thanks to yselkowitz@users.sourceforge.net
981 2005-09-08 Marco Pesenti Gritti <mpg@redhat.com>
983 * backend/ev-link.c: (ev_link_new_page_xyz):
985 * shell/ev-view.c: (goto_xyz_link), (ev_view_goto_link):
987 Fix some bugs with xyz links, respect zoom
989 2005-09-08 Marco Pesenti Gritti <mpg@redhat.com>
991 * shell/ev-window.c: (page_changed_cb),
992 (setup_document_from_metadata), (update_sidebar_visibility),
993 (setup_view_from_metadata), (ev_window_run_fullscreen),
994 (ev_window_stop_fullscreen), (ev_window_run_presentation),
995 (ev_window_stop_presentation), (ev_window_continuous_changed_cb),
996 (ev_window_dual_mode_changed_cb),
997 (ev_window_sidebar_current_page_changed_cb):
999 null check uri before setting and getting metadata
1001 2005-09-08 Marco Pesenti Gritti <mpg@redhat.com>
1004 * properties/Makefile.am:
1005 * shell/Makefile.am:
1006 * thumbnailer/Makefile.am:
1008 Some build fixes for cygwin. Patch by yselkowitz@users.sourceforge.net
1010 2005-09-08 Marco Pesenti Gritti <mpg@redhat.com>
1012 * shell/ev-sidebar-links.c: (ev_sidebar_links_class_init),
1013 (selection_changed_callback):
1014 * shell/ev-sidebar-links.h:
1016 Add a signal for link activation.
1018 * shell/ev-view.c: (ev_view_goto_link),
1019 (ev_view_button_release_event):
1021 * shell/ev-window.c: (sidebar_links_link_activated_cb),
1024 Implement the signal so that we can handle all link types.
1026 * shell/ev-page-cache.c:
1028 Remove unused set_link function
1030 2005-09-08 Marco Pesenti Gritti <mpg@redhat.com>
1032 * lib/ev-tooltip.c: (ev_tooltip_set_position):
1034 Add some space from the cursor, hardcoded but I couldnt
1037 2005-09-07 Marco Pesenti Gritti <mpg@redhat.com>
1041 Use mozilla style vs gtk style, way better for links.
1043 * shell/ev-view.c: (ev_view_motion_notify_event),
1044 (ev_view_destroy), (ev_view_init):
1046 Deactive tooltip when the link hovered is changed.
1048 2005-09-07 Marco Pesenti Gritti <mpg@redhat.com>
1050 * backend/ev-document.h:
1051 * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_top),
1052 (ev_link_get_left), (ev_link_get_zoom), (ev_link_get_property),
1053 (ev_link_set_property), (ev_window_dispose), (ev_link_class_init),
1054 (ev_link_new_page), (ev_link_new_page_xyz):
1055 * backend/ev-link.h:
1056 * pdf/ev-poppler.cc:
1057 * shell/ev-view.c: (doc_point_to_view_point), (scroll_to_xyz_link),
1058 (go_to_link), (tip_from_link):
1060 Implement xyz links, still not functional. Links are a total
1061 mess, will need to refactor and bugfix a lot :(
1063 2005-09-05 Alessio Frusciante <algol@firenze.linux.it>
1065 * configure.ac: Added "it" (Italian) to ALL_LINGUAS.
1067 2005-09-05 Marco Pesenti Gritti <mpg@redhat.com>
1069 * data/evince-ui.xml:
1070 * data/evince.schemas.in:
1071 * shell/Makefile.am:
1072 * shell/ev-window.c: (update_chrome_visibility),
1073 (password_dialog_response), (ev_window_load_job_cb),
1074 (ev_window_xfer_job_cb), (ev_window_open_uri),
1075 (ev_window_class_init), (set_chrome_actions), (load_chrome),
1078 Remove the statusbar. This regress loading feedback, need to
1079 check with Bryan what we want to do there...
1081 2005-09-05 Marco Pesenti Gritti <mpg@redhat.com>
1083 * lib/ev-tooltip.c: (ev_tooltip_init):
1085 Fix tooltip border and size handling
1087 2005-09-05 Marco Pesenti Gritti <mpg@redhat.com>
1089 * lib/ev-tooltip.c: (ev_tooltip_dispose), (ev_tooltip_class_init),
1090 (ev_tooltip_set_position), (ev_tooltip_recently_shown),
1091 (ev_tooltip_timeout), (ev_tooltip_activate),
1092 (ev_tooltip_deactivate):
1094 * shell/ev-view.c: (ev_view_motion_notify_event):
1096 Delay popup showing. Mirror gtk logic/times.
1098 2005-09-03 Marco Pesenti Gritti <mpg@redhat.com>
1101 * lib/ev-tooltip.c: (ev_tooltip_expose_event),
1102 (ev_tooltip_class_init), (ev_tooltip_init), (ev_tooltip_new),
1103 (ev_tooltip_set_text), (ev_tooltip_set_position):
1106 Simple widget to show tooltips at a custom position
1108 * shell/ev-view.c: (tip_from_link), (ev_view_motion_notify_event),
1111 Use it for links. First go, needs work
1113 2005-08-17 Dennis Cranston <dennis_cranston@yahoo.com>
1115 * shell/ev-window.c: (ev_window_cmd_edit_toolbar): A couple small
1116 HIG fixes. Use title capitalization for window title. Use 12
1117 pixels of space between the dialog's vbox and action area.
1119 2005-09-02 Marco Pesenti Gritti <mpg@redhat.com>
1121 * shell/ev-window.c: (file_open_dialog_response_cb),
1122 (ev_window_cmd_file_open), (file_save_dialog_response_cb),
1123 (ev_window_cmd_save_as):
1125 Make file pickers not modal and refactor code some
1127 2005-09-02 Marco Pesenti Gritti <mpg@redhat.com>
1129 * shell/ev-sidebar.h:
1130 * shell/ev-sidebar.c: (ev_sidebar_set_property),
1131 (ev_sidebar_get_current_page), (ev_sidebar_get_property),
1132 (ev_sidebar_class_init), (ev_sidebar_select_page),
1133 (ev_sidebar_menu_item_activate_cb), (ev_sidebar_new),
1134 (ev_sidebar_set_page):
1136 Add a current page property and allow to get/set it
1138 * shell/ev-window.c: (setup_view_from_metadata),
1139 (ev_window_sidebar_current_page_changed_cb), (ev_window_init):
1141 Persist current sidebar page per document
1143 2005-09-02 Marco Pesenti Gritti <mpg@redhat.com>
1145 * data/evince.schemas.in:
1146 * shell/ev-window.c: (update_chrome_visibility),
1147 (setup_document_from_metadata), (update_sidebar_visibility),
1148 (setup_view_from_metadata), (ev_window_sidebar_position_change_cb),
1149 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
1150 (ev_window_run_presentation), (ev_window_stop_presentation),
1151 (ev_window_view_sidebar_cb),
1152 (ev_window_sidebar_visibility_changed_cb), (set_chrome_actions),
1153 (load_chrome), (ev_window_init):
1155 Persist size/visibility of sidebar per document
1157 Fri Sep 2 00:59:55 2005 Jonathan Blandford <jrb@redhat.com>
1159 * shell/ev-view.c (draw_loading_text): Draw loading text.
1161 2005-09-02 Dan Damian <dand@gnome.ro>
1163 * configure.in: Added "ro" to ALL_LINGUAS.
1165 2005-09-01 Marco Pesenti Gritti <mpg@redhat.com>
1167 * shell/ev-view.c: (clear_caches):
1169 ev_page_cache_get doesnt return a reference,
1170 dont try to unref it.
1172 2005-09-01 Marco Pesenti Gritti <mpg@redhat.com>
1174 * shell/main.c: (load_files_remote):
1176 Fix timestamp parameter with dbus <= 0.33
1178 2005-08-31 Marco Pesenti Gritti <mpg@redhat.com>
1180 * data/evince.schemas.in:
1182 Add missing full stop
1184 2005-08-31 Hiroyuki Ikezoe <poincare@ikezoe.net>
1186 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info):
1187 * shell/ev-window.c: (ev_window_print_range), (ev_window_dispose):
1189 Plug some memory leaks
1191 2005-08-29 Christian Persch <chpe@cvs.gnome.org>
1194 * lib/ev-debug.c: (trap_handler):
1196 Check for execinfo.h and use it only if it exists.
1197 Ported from Epiphany (bug #314776).
1199 2005-08-29 Duarte Loreto <happyguy_pt@hotmail.com>
1201 * configure.ac: Added Portuguese (pt) to ALL_LINGUAS.
1203 2005-08-27 Mohammad DAMT <mdamt@gnome.org>
1205 * configure.ac: Added Indonesian "id" to ALL_LINGUAS
1206 * po/id.po : Added Indonesian translation
1208 Fri Aug 26 00:45:09 2005 Jonathan Blandford <jrb@redhat.com>
1211 * shell/ev-application.c: Last minute GTK-2.6 fixes.
1212 * NEWS: Release 0.4.0
1214 Thu Aug 25 23:40:23 2005 Jonathan Blandford <jrb@redhat.com>
1216 * configure.ac: catch another gtk+-2.8ism
1217 * shell/main.c: Make work with gtk+-2.6
1219 2005-08-25 Ryan Lortie <desrt@desrt.ca>
1221 * shell/ev-application-service.xml: Add 'timestamp' argument to
1222 ev_application_open_window and ev_application_open_uri methods.
1224 * shell/ev-application.h: Add 'timestamp' argument to
1225 ev_application_open_window, ev_application_open_uri,
1226 and ev_application_open_uri_list functions.
1228 * shell/ev-application.c (ev_application_open_window,
1229 ev_application_open_uri, ev_application_open_uri_list): Change
1230 functions that show/present windows to use a timestamp if one
1233 * shell/ev-window.c (ev_window_cmd_file_open,
1234 ev_window_cmd_recent_file_activate, drag_data_received_cb):
1235 * shell/main.c (load_files): Modify calls to ev_application to
1236 include GDK_CURRENT_TIME as timestamp.
1238 * shell/main.c (load_files_remote): Obtain timestamp for client
1239 instance from GDK and pass to server instance so new windows are
1240 focused properly. Fix dbus_g_proxy_call() calls by including second
1245 Thu Aug 25 22:13:08 2005 Jonathan Blandford <jrb@redhat.com>
1247 * shell/ev-window.c (ev_window_finalize): Check for
1248 avail. EvWindows when quiting to handle the finalize better,
1251 2005-08-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1253 * properties/ev-properties-view.c:
1255 Set textdomain to libglade. Fixes translation problem in property page.
1257 2005-08-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1259 * djvu/djvu-document.c: (djvu_document_thumbnails_get_thumbnail):
1261 * dvi/dvi-document.c: (dvi_document_thumbnails_get_thumbnail):
1262 * dvi/mdvi-lib/Makefile.am:
1264 Fix rotation of thumbnails, ported to new API. Moved library
1265 dependencies earlier, probably it will fix linkage problem.
1267 Thu Aug 25 02:32:32 2005 Jonathan Blandford <jrb@redhat.com>
1269 * backend/ev-document-misc.c:
1270 (ev_document_misc_get_thumbnail_frame):
1271 * backend/ev-document-misc.h:
1273 * pdf/ev-poppler.cc:
1274 * shell/Makefile.am:
1275 * shell/ev-sidebar-thumbnails.c: (add_range),
1276 (ev_sidebar_thumbnails_set_loading_icon),
1277 (ev_sidebar_thumbnails_refresh),
1278 (ev_sidebar_thumbnails_set_document):
1279 * shell/ev-sidebar-thumbnails.h:
1280 * shell/ev-view.c: (ev_view_motion_notify_event),
1281 (ev_view_set_property), (ev_view_get_property),
1282 (ev_view_class_init), (ev_view_set_rotation):
1283 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
1284 (ev_window_cmd_edit_rotate_right), (ev_window_rotation_changed_cb),
1286 * tiff/tiff-document.c: (tiff_document_thumbnails_get_thumbnail):
1287 Redo rotation (again). prepare for 0.4.0
1289 2005-08-24 Kristian Høgsberg <krh@redhat.com>
1291 * configure.ac: Bump poppler requirement to 0.4.1.
1293 * pdf/ev-poppler.cc (pdf_selection_render_selection): Add rotation
1294 argument to poppler_page_render_selection() call.
1296 2005-08-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1298 * djvu/djvu-document.c: (djvu_document_render_pixbuf),
1299 (djvu_document_thumbnails_get_thumbnail):
1300 * dvi/dvi-document.c: (dvi_document_render_pixbuf),
1301 (dvi_document_thumbnails_get_thumbnail):
1302 * pixbuf/pixbuf-document.c: (pixbuf_document_render_pixbuf),
1303 (pixbuf_document_thumbnails_get_thumbnail):
1304 * tiff/tiff-document.c: (tiff_document_render_pixbuf):
1306 Update rotation direction of backends to fit with pdf and ps.
1308 2005-08-24 Marco Pesenti Gritti <mpg@redhat.com>
1310 * backend/ev-async-renderer.c: (ev_async_renderer_render_pixbuf):
1311 * backend/ev-async-renderer.h:
1312 * ps/ps-document.c: (ps_document_init), (setup_pixmap),
1313 (setup_page), (ps_document_get_page_size),
1314 (ps_async_renderer_render_pixbuf):
1316 * shell/ev-jobs.c: (ev_job_render_run):
1318 Fix orientation in the postscript document
1320 2005-08-23 Marco Pesenti Gritti <mpg@redhat.com>
1322 * pdf/ev-poppler.cc:
1323 * ps/ps-document.c: (push_pixbuf), (ps_document_widget_event):
1324 * shell/ev-view.c: (highlight_find_results):
1326 Adapt to the new poppler rotation API. Fix text maps on landscape
1329 Sat Aug 20 17:13:48 2005 Jonathan Blandford <jrb@redhat.com>
1331 * shell/ev-view.c (compute_new_selection_text): get the correct
1332 region when selecting in modes other than continuous.
1334 Sat Aug 20 13:10:01 2005 Jonathan Blandford <jrb@redhat.com>
1336 * shell/main.c (main): remove redundant g_warnings.
1338 2005-08-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1340 * shell/Makefile.am: Don't include autogenerated
1341 file ev-application-service.h into distribution, since
1342 it causes dbus crash. Fix for bugs 313724 and 313443.
1344 2005-08-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1346 * configure.ac: Fix sed expression for FreeBSD. Thanks
1347 to Joe Marcus Clark <marcus@freebsd.org>
1349 * shell/eggfindbar.c: (entry_activate_callback),
1350 (entry_changed_callback), (egg_find_bar_init),
1351 (egg_find_bar_set_search_string):
1353 Made findbar buttons unsensitive if there is no text in
1354 entry. Fix for the bug 313285.
1356 2005-08-17 Carlos Garcia Campos <carlosgc@gnome.org>
1358 * ps/ps-document.c: Use g_filename_display_name for displaying
1359 filenames and revert string freeze breackage
1361 2005-08-17 Marco Pesenti Gritti <mpg@redhat.com>
1368 * shell/Makefile.am:
1370 Add ev-application-service.xml to extra dist
1372 * shell/ev-view.c: (find_page_at_location):
1374 Remove unused function (fix warning)
1376 2005-08-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1378 * dvi/mdvi-lib/t1.c: (t1_reset_resolution), (t1_really_load_font),
1379 (t1_load_font), (t1_glyph_bitmap), (t1_font_remove):
1381 Fix warnings and compilation with t1lib-5.0 and newer. Fix for
1384 2005-08-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1386 * shell/ev-utils.c: (set_umask_permissions), (write_to_temp_file):
1387 * shell/ev-window.c:
1390 2005-08-16 Carlos Garcia Campos <carlosgc@gnome.org>
1392 * configure.ac: Update script to get dbus version.
1393 Fix for the bug #313443.
1395 2005-08-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1397 * shell/ev-window.c: (ev_window_cmd_escape):
1399 Return focus back to view on escape. Fix for bug 313295.
1401 2005-08-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1403 * shell/ev-window.c: (update_window_title),
1404 (ev_window_popup_password_dialog), (ev_window_load_job_cb),
1405 (ev_window_cmd_save_as):
1407 Correct conversion from uri to displayable string. Fix for
1410 2005-08-16 Carlos Garcia Campos <carlosgc@gnome.org>
1412 * ps/ps-document.c: convert filename to utf8 when there is an error
1413 loading document. Fixes #309915
1415 2005-08-16 Marco Pesenti Gritti <mpg@redhat.com>
1419 We depend on poppler 0.4.0
1421 Mon Aug 15 21:53:05 2005 Jonathan Blandford <jrb@redhat.com>
1424 * NEWS: Release 0.3.3.
1425 * thumbnailer/evince-thumbnailer.c: Remove pdf icon.
1427 2005-08-14 Dennis Cranston <dennis_cranston@yahoo.com>
1429 * shell/ev-window.c: (ev_window_cmd_file_open): HIG fixes:
1430 add a couple missing mnemonics to menu items, use title
1431 capitalization for menu items and window titles, and add
1432 ellipsis to open menu item.
1434 Mon Aug 15 00:40:21 2005 Jonathan Blandford <jrb@redhat.com>
1436 * pdf/ev-poppler.cc:
1437 * shell/ev-metadata-manager.c: (ev_metadata_manager_init):
1438 * shell/ev-view.c: (ev_view_rotate_left), (ev_view_set_rotation),
1439 (ev_view_get_rotation):
1441 * shell/ev-window.c: (setup_view_from_metadata),
1442 (save_rotation_to_file), (ev_window_cmd_edit_rotate_left),
1443 (ev_window_cmd_edit_rotate_right): Fix rotation. Save it to
1446 2005-08-14 Baris Cicek <baris@teamforce.name.tr>
1448 * configure.ac: Added tr to ALL_LINGUAS
1450 2005-08-12 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1452 * shell/ev-view.c: Fix for bug Bug 311838. Search backward
1453 requires several clicks to find word. Thanks to
1454 Colin Slater <kiltedtaco@gmail.com>.
1456 2005-08-11 Bryan Clark <clarkbw@cvs.gnome.org>
1458 * data/evince.desktop.in.in: Hide menu entry and
1459 rename it to "Document Viewer". Fix for bug
1462 2005-08-11 Crispin Flowerday <gnome@flowerday.cx>
1464 * shell/ev-page-action.c (ev_page_action_class_init):
1466 Point to the correct function in constructor of the
1467 activate_label signal
1469 Tue Aug 9 02:17:13 2005 Jonathan Blandford <jrb@redhat.com>
1471 * shell/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
1472 * shell/ev-jobs.h: Make thread safe.
1474 2005-08-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1476 * shell/ev-view.c: (view_update_range_and_current_page):
1477 Don't update page range if we are scrolling to some document
1480 2005-08-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1482 * shell/ev-view.c: (get_page_extents): reverse rotation/scale
1483 when getting max_page_width, fix drawing in dual mode.
1485 Sun Aug 7 02:06:08 2005 Jonathan Blandford <jrb@redhat.com>
1487 * shell/ev-view.c (ev_view_select_all): reverse rotation/page when
1488 getting the area for select_all.
1490 2005-08-06 Kristian Høgsberg <krh@redhat.com>
1492 * backend/ev-selection.c: (ev_selection_render_selection):
1493 * backend/ev-selection.h:
1494 * pdf/ev-poppler.cc:
1495 * shell/ev-jobs.c: (ev_job_render_new):
1497 * shell/ev-pixbuf-cache.c: (get_selection_colors),
1498 (add_job_if_needed), (ev_pixbuf_cache_get_selection_pixbuf):
1499 * shell/ev-view.c: (ev_view_focus_in), (ev_view_focus_out),
1500 (ev_view_class_init):
1502 Change selection color on focus in and focus out events. Also,
1503 poppler now uses GdkColor for specifying the selection colors, so
1504 drop some awkward conversion code.
1506 2005-08-06 Yair Hershkovitz <yairhr@gmail.com>
1508 * configure.ac: Added Hebrew translation
1510 Sat Aug 6 01:12:44 2005 Jonathan Blandford <jrb@redhat.com>
1513 * backend/ev-selection.c: (ev_selection_render_selection):
1514 * backend/ev-selection.h:
1515 * pdf/ev-poppler.cc:
1516 * shell/ev-jobs.c: (ev_job_render_dispose), (ev_job_render_new),
1517 (ev_job_render_run):
1519 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info),
1520 (ev_pixbuf_cache_new), (job_finished_cb), (add_job_if_needed),
1521 (convert_gdk_color_to_uint), (ev_pixbuf_cache_get_text_mapping),
1522 (ev_pixbuf_cache_style_changed),
1523 (ev_pixbuf_cache_get_selection_pixbuf),
1524 (ev_pixbuf_cache_set_selection_list),
1525 (ev_pixbuf_cache_get_selection_list):
1526 * shell/ev-pixbuf-cache.h:
1527 * shell/ev-utils.c: (ev_print_region_contents):
1529 * shell/ev-view.c: (ev_view_queue_draw_page),
1530 (selection_update_idle_cb), (ev_view_motion_notify_event),
1531 (ev_view_style_set), (draw_one_page), (ev_view_class_init),
1532 (setup_caches), (ev_view_find_next), (merge_selection_region),
1534 * shell/ev-window.c: (ev_window_update_fullscreen_popup):
1536 Clean up selection to be much smoother!
1538 2005-08-05 Kristian Høgsberg <krh@redhat.com>
1540 * pdf/ev-poppler.cc (pdf_selection_render_selection): Pass colors
1541 to poppler_page_render_selection().
1543 2005-08-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1545 * ps/ps-document.c: (save_page_list): Use
1546 unzipped document when printing. Thanks to
1547 Colin Slater <kiltedtaco@gmail.com>. Fix for bug
1550 2005-08-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1552 * shell/ev-window.c: (update_action_sensitivity):
1554 Disable print and save respect to lockdown gconf keys. Fix
1557 2005-08-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1560 * shell/ev-utils.c: (rename_file), (set_umask_permissions),
1561 (write_to_temp_file), (ev_file_set_contents):
1563 * shell/ev-window.c: (save_print_config_to_file):
1565 Copy-paste g_file_set_contents to keep compatibility with gtk 2.6
1568 2005-07-31 Christian Persch <chpe@cvs.gnome.org>
1570 * shell/ev-window.c: (load_print_config_from_file),
1571 (save_print_config_to_file), (ev_window_print_range):
1573 Persist the print settings. Fixes bug #311578.
1575 2005-07-31 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1577 * djvu/djvu-document.c: (djvu_document_get_page_size),
1578 (djvu_document_render_pixbuf), (djvu_document_document_iface_init),
1579 (djvu_document_thumbnails_get_thumbnail):
1580 * dvi/dvi-document.c: (dvi_document_get_page_size),
1581 (dvi_document_render_pixbuf), (dvi_document_document_iface_init),
1582 (dvi_document_thumbnails_get_dimensions),
1583 (dvi_document_thumbnails_get_thumbnail):
1584 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size),
1585 (pixbuf_document_render_pixbuf),
1586 (pixbuf_document_document_iface_init),
1587 (pixbuf_document_thumbnails_get_thumbnail):
1589 Update backends to make them build with new rotation system.
1591 2005-07-31 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1593 * help/C/figures/evince_start_window.png:
1595 Update documentation image from Luca Ferretti <elle.uca@libero.it>
1597 Sat Jul 30 19:09:34 2005 Jonathan Blandford <jrb@redhat.com>
1599 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_clear):
1600 * shell/ev-pixbuf-cache.h:
1601 * shell/ev-sidebar-thumbnails.c:
1602 (ev_sidebar_thumbnails_get_property), (add_range),
1603 (adjustment_changed_cb):
1604 * shell/ev-view.c: (ev_view_set_rotation): Fix rotation and the
1605 pixbuf cache. Make thumbnailing work again. Also, fix bug where
1606 we were thumbnailing the entire docment on startup, slowing us
1609 Fri Jul 29 23:14:28 2005 Jonathan Blandford <jrb@redhat.com>
1611 * shell/ev-page-cache.c: (ev_page_cache_new):
1612 * shell/ev-window.c: (update_action_sensitivity): Handle n_pages
1613 == 0, fixes #310306.
1615 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
1617 * shell/ev-view.c: (doc_rect_to_view_rect), (ev_view_rotate_right),
1618 (ev_view_rotate_left):
1620 Account rotation in doc_rect_to_view_rect.
1621 Ensure rotation doesnt go out of bounds.
1623 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
1625 * shell/ev-page-cache.c: (ev_page_cache_get_size):
1627 Correct and cleanup w/h swapping
1629 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
1631 * backend/ev-document-thumbnails.c:
1632 (ev_document_thumbnails_get_thumbnail):
1633 * backend/ev-document-thumbnails.h:
1634 * backend/ev-document.c:
1635 * backend/ev-document.h:
1636 * backend/ev-render-context.c: (ev_render_context_new),
1637 (ev_render_context_set_rotation):
1638 * backend/ev-render-context.h:
1639 * pdf/ev-poppler.cc:
1640 * ps/ps-document.c: (ps_document_document_iface_init):
1641 * shell/ev-jobs.c: (ev_job_thumbnail_new), (ev_job_thumbnail_run):
1643 * shell/ev-page-cache.c: (build_height_to_page),
1644 (ev_page_cache_new), (ev_page_cache_get_size),
1645 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
1646 (ev_page_cache_get_height_to_page):
1647 * shell/ev-page-cache.h:
1648 * shell/ev-pixbuf-cache.c: (check_job_size_and_unref),
1649 (add_job_if_needed), (ev_pixbuf_cache_add_jobs_if_needed),
1650 (ev_pixbuf_cache_set_page_range), (new_selection_pixbuf_needed),
1651 (ev_pixbuf_cache_get_selection_pixbuf):
1652 * shell/ev-pixbuf-cache.h:
1653 * shell/ev-print-job.c: (idle_print_handler):
1654 * shell/ev-sidebar-thumbnails.c: (add_range):
1655 * shell/ev-view.c: (view_update_range_and_current_page),
1656 (get_page_y_offset), (get_page_extents),
1657 (ev_view_size_request_continuous_dual_page),
1658 (ev_view_size_request_continuous),
1659 (ev_view_size_request_dual_page),
1660 (ev_view_size_request_single_page), (draw_one_page),
1661 (ev_view_set_rotation), (ev_view_rotate_right),
1662 (ev_view_rotate_left), (ev_view_zoom_for_size_presentation),
1663 (ev_view_zoom_for_size_continuous_and_dual_page),
1664 (ev_view_zoom_for_size_continuous),
1665 (ev_view_zoom_for_size_dual_page),
1666 (ev_view_zoom_for_size_single_page), (compute_new_selection_text),
1667 (ev_view_select_all):
1668 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
1669 * tiff/tiff-document.c: (tiff_document_render_pixbuf),
1670 (tiff_document_document_iface_init),
1671 (tiff_document_thumbnails_get_thumbnail):
1673 Use rotation rather than orientation. It's easier and enough
1676 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
1678 * shell/ev-page-cache.c: (build_height_to_page),
1679 (ev_page_cache_new), (ev_page_cache_get_size),
1680 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
1681 (ev_page_cache_get_height_to_page):
1682 * shell/ev-page-cache.h:
1683 * shell/ev-view.c: (get_page_y_offset), (get_page_extents),
1684 (ev_view_size_request_continuous_dual_page),
1685 (ev_view_size_request_continuous),
1686 (ev_view_zoom_for_size_continuous_and_dual_page),
1687 (ev_view_zoom_for_size_continuous):
1689 Make the page cache aware of page orientation.
1691 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
1693 * backend/ev-document-thumbnails.c:
1694 (ev_document_thumbnails_get_thumbnail):
1695 * backend/ev-document-thumbnails.h:
1696 * backend/ev-document.c:
1697 * backend/ev-document.h:
1698 * backend/ev-ps-exporter.c: (ev_ps_exporter_do_page):
1699 * backend/ev-ps-exporter.h:
1700 * pdf/ev-poppler.cc:
1701 * ps/ps-document.c: (ps_document_document_iface_init),
1702 (ps_document_ps_export_do_page):
1703 * shell/ev-jobs.c: (ev_job_thumbnail_new), (ev_job_thumbnail_run):
1705 * shell/ev-page-cache.c: (ev_page_cache_get_size),
1706 (ev_page_cache_get):
1707 * shell/ev-page-cache.h:
1708 * shell/ev-pixbuf-cache.c: (check_job_size_and_unref),
1709 (add_job_if_needed), (ev_pixbuf_cache_add_jobs_if_needed),
1710 (ev_pixbuf_cache_set_page_range), (new_selection_pixbuf_needed):
1711 * shell/ev-pixbuf-cache.h:
1712 * shell/ev-print-job.c: (idle_print_handler):
1713 * shell/ev-sidebar-thumbnails.c: (add_range):
1714 * shell/ev-view.c: (view_update_range_and_current_page),
1715 (get_page_extents), (ev_view_size_request_dual_page),
1716 (ev_view_size_request_single_page), (draw_one_page),
1717 (clear_caches), (ev_view_set_orientation), (ev_view_rotate_right),
1718 (ev_view_rotate_left), (ev_view_zoom_for_size_presentation),
1719 (ev_view_zoom_for_size_dual_page),
1720 (ev_view_zoom_for_size_single_page), (compute_new_selection_text),
1721 (ev_view_select_all):
1722 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
1723 * tiff/tiff-document.c: (tiff_document_get_page_size),
1724 (tiff_document_get_orientation), (rotate_pixbuf),
1725 (tiff_document_render_pixbuf), (tiff_document_document_iface_init),
1726 (tiff_document_thumbnails_get_thumbnail),
1727 (tiff_document_ps_export_do_page), (tiff_document_init):
1729 Really make use of the orientation bit of the render context.
1730 Use the render context in a few more places in the backend API.
1731 This regress orientation, but now it's done right. Will try to
1734 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
1736 * shell/ev-view.c: (ensure_rectangle_is_visible):
1738 Patch by Nickolay V. Shmyrev to fix find flickering
1740 2005-07-27 Martin Kretzschmar <martink@gnome.org>
1742 * backend/ev-ps-exporter.h: add paper_width, paper_height, and
1743 duplex parameters to ::begin.
1745 * tiff/tiff-document.c (tiff_document_ps_export_begin):
1746 * shell/ev-print-job.c (idle_print_handler):
1747 * ps/ps-document.c (ps_document_ps_export_begin):
1748 * pdf/ev-poppler.cc (pdf_document_ps_exporter_begin):
1749 * backend/ev-ps-exporter.c (ev_ps_exporter_begin): update
1750 implementations. Poppler backend needs poppler cvs. Rest has
1753 2005-07-25 Martin Kretzschmar <martink@gnome.org>
1755 * shell/ev-window.c (using_pdf_printer): new function.
1756 (ev_window_print_range): print a less techy message if someone
1757 tries to print to PDF.
1759 2005-07-25 Martin Kretzschmar <martink@gnome.org>
1761 * pdf/ev-poppler.cc (font_type_to_string): Remove trailing space
1762 from "unknown font" string. Bug #311431
1764 2005-07-24 Martin Kretzschmar <martink@gnome.org>
1766 * help/es/.cvsignore, help/sr/.cvsignore: ignore xmlpo output.
1768 2005-07-24 Martin Kretzschmar <martink@gnome.org>
1772 * pdf/ev-poppler.cc (font_type_to_string): new, returns user readable
1773 name for PopplerFontTypes
1774 (pdf_document_fonts_fill_model): add font type to the detail column
1776 * backend/ev-document-fonts.h: added
1777 EV_DOCUMENT_FONTS_COLUMN_DETAILS.
1779 * shell/ev-properties-fonts.c (font_cell_data_func): glue together
1780 font name and font details, add a little markup.
1781 (ev_properties_fonts_init): use the new cell data func, specify ypad
1782 property for the cell renderer.
1783 (ev_properties_fonts_set_document): add the details column.
1785 2005-07-24 Artur Flinta <aflinta@cvs.gnome.org>
1787 * configure.ac: Added "pl" to ALL_LINGUAS.
1789 2005-07-24 Danilo Šegan <danilo@gnome.org>
1791 * configure.ac: Added "sr" and "sr@Latn" to ALL_LINGUAS.
1793 2005-07-23 Tommi Vainikainen <thv@iki.fi>
1795 * help/ChangeLog: Started this for translations of manual.
1796 * configure.ac, autogen.sh, .cvsignore: Migrated to
1797 gnome-doc-utils. Patch in bug #311222.
1799 2005-07-22 Martin Kretzschmar <martink@gnome.org>
1801 * backend/ev-document-factory.c (mime_type_supported_by_gdk_pixbuf):
1802 #ifdef this away to fix an unused-function warning.
1804 2005-07-22 Ignacio Casal Quinteiro <nacho.resa@gmail.com>
1806 * configure.ac: Added 'gl' to ALL_LINGUAS.
1808 2005-07-22 Pawan Chitrakar <pawan@nplinux.org>
1810 * configure.ac: Added ne in ALL_LINGUAS
1812 2005-07-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1814 * shell/ev-view.c: (ev_view_leave_notify_event):
1816 Clear status message when pointer leaves view. Fix for bug
1819 2005-07-20 Ankit Patel <ankit644@yahoo.com>
1821 * configure.ac: Gujarati (gu) added to ALL_LINGUAS
1823 2005-07-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1825 * shell/ev-view.c: (ev_view_leave_notify_event),
1826 (ev_view_class_init):
1828 Set cursor to normal then leaving view.
1830 2005-07-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1834 Fix required djvulibre version.
1836 2005-07-15 Rajesh Ranjan <rajeshkajha@yahoo.com>
1838 *configure.ac: Hindi (hi) language added
1840 2005-07-15 Amanpreet Singh Brar <amanpreetalam@yahoo.com>
1842 *configure.ac: Punjabi (pa) Language added
1844 2005-07-12 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1846 * data/evince-ui.xml, shell/ev-window.c:
1848 Add keypad accelerators for zooming. Fix for bug 308128.
1850 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
1853 * backend/Makefile.am:
1854 * backend/ev-document-factory.c: (ev_document_type_get_from_mime):
1856 * shell/ev-document-types.c: (ev_document_types_add_filters):
1858 Allow to enable/disable the pixbuf backend.
1859 Default to off for now. If we want it enabled we should
1860 really put mime types in the desktop, implement properties etc.
1862 * properties/evince-properties.c:
1864 Initialize error to NULL.
1865 Check error is not NULL before freeing.
1867 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
1869 * shell/ev-window.c:
1871 Use F5 as presentation accell
1873 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
1875 * shell/ev-window.c: (update_chrome_visibility),
1876 (ev_window_create_fullscreen_popup), (ev_window_init):
1878 Do not leak the fullscreen toolbar
1880 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
1882 * shell/ev-window.c: (view_actions_focus_in_cb),
1883 (view_actions_focus_out_cb):
1885 These has a return value! Fix totally random focus
1886 issues we was seeing.
1888 2005-07-11 Carlos Garcia Campos <carlosgc@gnome.org>
1890 * shell/main.c: (load_files_remote):
1892 Allow open more than one file
1894 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
1896 * shell/main.c: (load_files_remote):
1898 Fix for dbus 0.33. bug #309975
1900 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
1902 * properties/ev-properties-main.c: (ev_properties_get_pages):
1904 Actually return NULL for types we dont support
1906 2005-07-08 Christian Persch <chpe@cvs.gnome.org>
1912 2005-07-08 Marco Pesenti Gritti <marco@gnome.org>
1914 * backend/ev-document-factory.c:
1915 (ev_document_factory_get_document):
1917 Do not try to create the object if type
1920 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
1922 * ps/ps-document.c: (ps_document_dispose),
1923 (ps_async_renderer_render_pixbuf):
1926 Do not leak the target window
1928 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
1930 * shell/ev-application.c: (ev_application_init):
1932 Let tbe check file existence for us.
1933 Add a comment about eggrecent mime filter.
1935 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
1937 * data/evince-ui.xml:
1938 * shell/ev-application.c: (ev_application_shutdown),
1939 (ev_application_init), (ev_application_get_toolbars_model),
1940 (ev_application_get_recent_model),
1941 (ev_application_save_toolbars_model):
1942 * shell/ev-application.h:
1943 * shell/ev-window.c: (ev_window_add_recent),
1944 (ev_window_setup_recent), (ev_window_cmd_edit_toolbar_cb),
1945 (ev_window_cmd_edit_toolbar), (ev_window_dispose),
1948 Use common toolbar and recent models for all windows.
1949 Patch by Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1951 Thu Jul 7 23:10:01 2005 Jonathan Blandford <jrb@redhat.com>
1953 * configure.ac: add FRONTEND_CORE_LIBS to evince_save_LIBS so we
1954 successfully check for gtk_icon_view_get_visible_range.
1956 2005-07-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1961 Fix djvu and dvi backend build.
1963 2005-07-07 Christian Persch <chpe@cvs.gnome.org>
1965 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c: (new_pixbuf_from_widget),
1966 (new_separator_pixbuf):
1970 2005-07-07 Christian Persch <chpe@cvs.gnome.org>
1972 * shell/ev-window.c: (ev_window_cmd_edit_toolbar):
1974 HIGification of toolbar editor dialogue.
1976 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1979 * shell/Makefile.am:
1981 Ever build metadata manager since it's just
1982 disabled at runtime now.
1984 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1986 * shell/ev-metadata-manager.c: (ev_metadata_manager_init),
1987 (ev_metadata_manager_get), (ev_metadata_manager_set):
1988 * shell/ev-metadata-manager.h:
1990 Add an _init functions that enabled metadata management
1993 * shell/ev-window.c: (page_changed_cb),
1994 (setup_document_from_metadata), (ev_window_setup_document),
1995 (setup_view_from_metadata), (ev_window_open_uri),
1996 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
1997 (ev_window_run_presentation), (ev_window_stop_presentation),
1998 (save_sizing_mode), (ev_window_zoom_changed_cb),
1999 (ev_window_continuous_changed_cb),
2000 (ev_window_dual_mode_changed_cb), (window_state_event_cb),
2001 (window_configure_event_cb):
2003 Remove all ugly metadata define since we deal with it
2006 * shell/main.c: (load_files_remote), (main):
2008 Add support for dbus cvs head. Hopefully didnt break one
2009 of the other versions now!
2011 If we dont get a response from the dbus server just
2012 give up with it and not enable metadata.
2014 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
2017 * backend/Makefile.am:
2019 * cut-n-paste/recent-files/Makefile.am:
2020 * cut-n-paste/toolbar-editor/Makefile.am:
2021 * cut-n-paste/zoom-control/Makefile.am:
2024 * pixbuf/Makefile.am:
2025 * properties/Makefile.am:
2027 * shell/Makefile.am:
2028 * thumbnailer/Makefile.am:
2031 Make frontends depend on just libev.
2032 Rework and group CFLAGS/LIBS definitions.
2035 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
2039 do not unnecessarily save zoom
2042 * lib/ev-file-helpers.c: (ev_dot_dir):
2043 * shell/Makefile.am:
2048 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
2052 Remove unnecessary dependencies
2054 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
2056 * properties/Makefile.am:
2057 * thumbnailer/Makefile.am:
2060 Some more cleanups. Was really necessary
2061 but I probably introduced bugs, feel free
2064 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
2066 * backend/Makefile.am:
2068 * cut-n-paste/recent-files/Makefile.am:
2069 * cut-n-paste/toolbar-editor/Makefile.am:
2070 * cut-n-paste/zoom-control/Makefile.am:
2073 * pixbuf/Makefile.am:
2074 * properties/Makefile.am:
2076 * shell/Makefile.am:
2077 * thumbnailer/Makefile.am:
2080 Use gnome-common macros when possible.
2081 Cleanup dependencies.
2082 Actually disable deprecated where possible.
2084 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
2087 * backend/Makefile.am:
2088 * properties/Makefile.am:
2089 * shell/Makefile.am:
2090 * thumbnailer/Makefile.am:
2092 This should solve the circular dep without
2093 requiring dir reorg!
2095 * shell/ev-window.c: (setup_view_from_metadata):
2097 Never restore window size/position when the
2098 window is already visible.
2100 2005-07-06 Christian Persch <chpe@cvs.gnome.org>
2102 * shell/ev-metadata-manager.c: (ev_metadata_manager_save):
2104 Return a boolean from timeout func. Fix ported from gedit.
2106 2005-07-07 Iñaki Larrañaga <dooteo@euskalgnu.org>
2108 * configure.ac: Added "eu" (Basque) to ALL_LINGUAS.
2110 2005-07-06 Carlos Garcia Campos <carlosgc@gnome.org>
2112 * shell/ev-document-types.c: set "All Documents" as default filter in
2115 2005-07-06 Martin Kretzschmar <martink@gnome.org>
2117 * shell/ev-metadata-manager.c (ev_metadata_manager_set_int)
2118 (ev_metadata_manager_set_double, ev_metadata_manager_set_string)
2119 (ev_metadata_manager_set_boolean): fix value/val thinko.
2121 2005-07-06 Marco Pesenti Gritti <mpg@redhat.com>
2123 * shell/ev-window.c: (setup_view_from_metadata),
2124 (window_state_event_cb), (window_configure_event_cb),
2127 Remember window position and maximized state
2129 2005-07-06 Christian Persch <chpe@cvs.gnome.org>
2133 Fix DBUS configure checks.
2135 * shell/ev-metadata-manager.c: (ev_metadata_manager_set_int),
2136 (ev_metadata_manager_set_double), (ev_metadata_manager_set_string),
2137 (ev_metadata_manager_set_boolean):
2141 * shell/ev-window.c: (page_changed_cb), (ev_window_run_fullscreen),
2142 (ev_window_stop_fullscreen), (ev_window_run_presentation),
2143 (ev_window_stop_presentation), (ev_window_zoom_changed_cb),
2144 (ev_window_continuous_changed_cb),
2145 (ev_window_dual_mode_changed_cb), (ev_window_new):
2147 Fix the build without DBUS.
2149 2005-07-06 Marco Pesenti Gritti <mpg@redhat.com>
2151 * shell/ev-metadata-manager.c: (parse_value), (save_values),
2152 (ev_metadata_manager_set_int), (ev_metadata_manager_set_double),
2153 (ev_metadata_manager_set_string),
2154 (ev_metadata_manager_set_boolean):
2155 * shell/ev-metadata-manager.h:
2157 Add support for some more types
2159 * shell/ev-view.c: (scroll_to_current_page),
2160 (ev_view_get_continuous), (ev_view_set_continuous),
2161 (ev_view_get_dual_page):
2163 * shell/ev-window.c: (page_changed_cb),
2164 (setup_document_from_metadata), (ev_window_setup_document),
2165 (setup_view_from_metadata), (ev_window_open_uri),
2166 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
2167 (ev_window_run_presentation), (ev_window_stop_presentation),
2168 (save_sizing_mode), (ev_window_sizing_mode_changed_cb),
2169 (ev_window_zoom_changed_cb), (ev_window_update_continuous_action),
2170 (ev_window_update_dual_page_action),
2171 (ev_window_continuous_changed_cb),
2172 (ev_window_dual_mode_changed_cb), (ev_window_init):
2174 Remember a bunch of view/document properties. Prolly some
2175 are still missing but it's getting interesting.
2177 2005-07-05 Martin Kretzschmar <martink@gnome.org>
2179 * configure.ac: check if dbus-binding-tool is installed. Not the
2180 case on current Ubuntu breezy, it seems.
2182 2005-07-05 Luca Ferretti <elle.uca@libero.it>
2184 * data/evince.desktop.in.in:
2186 Allow open uri lists and add TryExec field.
2188 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
2192 Enable dbus when available, do not require a configure
2195 2005-07-05 Christian Persch <chpe@cvs.gnome.org>
2199 Use AM_CONDITIONAL unconditionally, fixes the build with DBUS
2202 2005-07-05 Carlos Garcia Campos <carlosgc@gnome.org>
2203 Marco Pesenti Gritti <mpg@redhat.com>
2205 * shell/Makefile.am: Add --prefix for dbus-binding-tool script
2207 * shell/ev-application.[ch], shell/ev-window.c: change dbus RPC
2208 functions to the format required by dbus
2210 * shell/main.c: use G_TYPE instead of DBUS_TYPE to fix compilation
2211 errors. Use the RPC parameters in the expected way
2213 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
2216 * properties/Makefile.am:
2217 * properties/ev-properties-main.c: (ev_properties_get_pages):
2219 Support all mime types
2221 * shell/Makefile.am:
2222 * thumbnailer/Makefile.am:
2223 * thumbnailer/evince-thumbnailer.c: (get_document_from_uri),
2224 (evince_thumbnail_pngenc_get):
2226 Use the document factory
2228 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
2230 * backend/Makefile.am:
2231 * backend/ev-document-factory.c:
2232 (mime_type_supported_by_gdk_pixbuf),
2233 (ev_document_type_get_from_mime),
2234 (ev_document_factory_get_document),
2235 (ev_document_factory_get_backend),
2236 (ev_document_factory_get_mime_types),
2237 (ev_document_factory_get_all_mime_types):
2238 * backend/ev-document-factory.h:
2239 * shell/Makefile.am:
2240 * shell/ev-document-types.c: (get_document_from_uri),
2241 (ev_document_types_get_document),
2242 (file_filter_add_mime_list_and_free),
2243 (ev_document_types_add_filters):
2244 * shell/ev-document-types.h:
2245 * shell/ev-job-xfer.c: (ev_job_xfer_run):
2246 * shell/ev-properties-dialog.c:
2247 (ev_properties_dialog_set_document):
2248 * shell/ev-window.c: (ev_window_cmd_file_open),
2249 (ev_window_cmd_save_as):
2250 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
2252 Rework document types managing to avoid code duplication
2253 and actually abstract from backend implementations.
2254 Also provide a minimal factory api that can be used by
2255 thumbnailer/properties.
2257 2005-07-05 Christian Persch <chpe@cvs.gnome.org>
2259 * properties/ev-properties-view.c: (ev_properties_view_set_info):
2261 * shell/ev-properties-dialog.c: (ev_properties_dialog_init):
2264 2005-07-04 Matthew S. Wilson <msw@rpath.com>
2266 * shell/ev-properties-dialog.c
2267 (ev_properties_dialog_set_document): only call
2268 ev_properties_fonts_set_document() if the document implements the
2271 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
2274 * properties/Makefile.am:
2275 * properties/ev-properties-view.c:
2276 (ev_properties_view_register_type):
2277 * properties/ev-properties-view.h:
2278 * properties/ev-properties-main.h:
2280 Implement nautilus plugin for properties.
2281 Works only for pdf atm, I need to rework the
2282 document types stuff to get this to work
2285 2005-07-04 Martin Kretzschmar <martink@gnome.org>
2287 * shell/ev-properties-fonts.c (enum): kill redundant columns enum
2288 (ev_properties_fonts_set_document): use
2289 EV_DOCUMENT_FONTS_COLUMN_NUM_COLUMNS.
2291 2005-07-04 Matthew S. Wilson <msw@rpath.com>
2293 * tiff/tiff2ps.c: remove TRUE and FALSE definitions, glib provides
2295 (PlaceImage, tiff2ps_process_page): use
2296 g_ascii_dtostr to convert floats to strings in a locale-safe way.
2299 2005-07-04 Martin Kretzschmar <martink@gnome.org>
2301 * shell/main.c: include libgnomeui/gnome-authentication-manager.h
2302 (main): to call gnome_authentication_manager_init. Should fix
2305 * configure.ac: that requires libgnomeui 2.6.0.
2307 2005-07-04 Matthew S. Wilson <msw@rpath.com>
2309 * tiff/tiff-document.c (tiff_document_ps_export_begin)
2310 (tiff_document_ps_export_do_page, tiff_document_ps_export_end):
2311 use the new tiff2ps interfaces
2313 * tiff/tiff2ps.h (tiff2ps_context_new, tiff2ps_process_page)
2314 (tiff2ps_context_finalize): implement new interfaces for tiff2ps
2316 * tiff/tiff2ps.c: refactor tiff2ps code to use a context
2317 structure instead of global variables. Remove use of static
2318 variables in functions.
2320 2005-07-04 Carlos Garcia Campos <carlosgc@gnome.org>
2322 * shell/ev-page-action.c: unref the completion after setting it to the
2325 2005-07-04 Matthew S. Wilson <msw@rpath.com>
2327 * tiff/tiff2ps.c (generateEPSF): disable generating encapsulated
2330 2005-07-04 Matthew S. Wilson <msw@rpath.com>
2332 * shell/ev-window.c (update_action_sensitivity): disable
2333 File->Print if the document does not implement the ps exporter
2336 2005-07-04 Marco Pesenti Gritti <mpg@redhat.com>
2340 * data/evince-properties.glade:
2341 * properties/.cvsignore:
2342 * properties/Makefile.am:
2343 * properties/ev-properties-view.c: (ev_properties_view_dispose),
2344 (ev_properties_view_class_init), (ev_properties_view_format_date),
2345 (make_valid_utf8), (set_property), (ev_properties_view_set_info),
2346 (ev_properties_view_init), (ev_properties_view_new):
2347 * properties/ev-properties-view.h:
2348 * shell/Makefile.am:
2349 * shell/ev-properties-dialog.c: (ev_properties_dialog_class_init),
2350 (ev_properties_dialog_init), (ev_properties_dialog_set_document),
2351 (ev_properties_dialog_new):
2352 * shell/ev-properties-dialog.h:
2353 * shell/ev-properties-fonts.c: (ev_properties_fonts_dispose),
2354 (ev_properties_fonts_class_init), (ev_properties_fonts_init),
2355 (update_progress_label), (job_fonts_finished_cb),
2356 (ev_properties_fonts_set_document), (ev_properties_fonts_new):
2357 * shell/ev-properties-fonts.h:
2358 * shell/ev-properties.c:
2359 * shell/ev-properties.h:
2360 * shell/ev-window.c: (ev_window_setup_document),
2361 (ev_window_cmd_file_properties):
2363 Split the properties pages in two different objects, depend
2364 only on the backend where possible, use widgets instead
2365 of gobject for the glade part, reimplement the dialog
2367 I need this to implement nautilus properties page.
2369 2005-07-03 Matthew S. Wilson <msw@rpath.com>
2371 * tiff/tiff-document.c (tiff_document_ps_export_begin)
2372 (tiff_document_ps_export_do_page, tiff_document_ps_export_end)
2373 (tiff_document_document_ps_exporter_iface_init): implement the ps
2374 exporter interface for tiff documents
2376 * tiff/tiff2ps.c: added a modified version of tiff2ps.c from
2377 libtiff to implement TIFF postscript export
2379 * tiff/tiff2ps.h: added a header file for external tiff2ps
2382 * tiff/Makefile.am (libtiffdocument_la_SOURCES): add tiff2ps.c and
2385 2005-07-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2387 * shell/ev-view.c: (scroll_to_current_page),
2388 (ev_view_set_fullscreen), (ev_view_set_presentation):
2390 Scroll to current page when exit from presentation
2392 2005-07-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2394 * shell/ev-window.c: (update_document_mode),
2395 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
2396 (ev_window_cmd_view_fullscreen), (ev_window_stop_presentation),
2397 (ev_window_cmd_view_presentation), (ev_window_cmd_escape):
2399 Exit from fullscreen mode when switch to presentation. Fix for
2402 2005-07-02 Matthew S. Wilson <msw@rpath.com>
2404 * shell/ev-pixbuf-cache.c (ev_pixbuf_cache_get_selection_pixbuf):
2405 return NULL if the document does not implement the selection
2408 2005-07-02 Matthew S. Wilson <msw@rpath.com>
2410 * tiff/tiff-document.c (tiff_document_get_page_size): scale the
2411 reported height by using the resolution aspect ratio
2412 (tiff_document_render_pixbuf): scale the pixbuf using the
2413 resolution aspect ratio
2415 2005-07-01 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2419 Require libgnomeprint >= 2.5.1. Thanks to Colin Slater
2420 <kiltedaco@gmail.com>
2422 * djvu/djvu-document.c: (djvu_document_get_orientation),
2423 (djvu_document_set_orientation), (djvu_document_get_page_size),
2424 (rotate_pixbuf), (djvu_document_render_pixbuf),
2425 (djvu_document_document_iface_init):
2426 * dvi/dvi-document.c: (dvi_document_get_orientation),
2427 (dvi_document_set_orientation), (dvi_document_get_page_size),
2428 (rotate_pixbuf), (dvi_document_render_pixbuf),
2429 (dvi_document_document_iface_init):
2431 Dvi and djvu backends are ported to new API
2433 Fri Jul 1 00:10:15 2005 Jonathan Blandford <jrb@redhat.com>
2435 * backend/ev-selection.c: (ev_selection_get_selection_region),
2436 (ev_selection_get_selection_map):
2437 * backend/ev-selection.h:
2438 * pdf/ev-poppler.cc:
2439 * shell/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
2441 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info),
2442 (job_finished_cb), (copy_job_to_job_info), (add_job_if_needed),
2443 (ev_pixbuf_cache_get_text_mapping):
2444 * shell/ev-pixbuf-cache.h:
2445 * shell/ev-view.c: (location_in_text),
2446 (ev_view_motion_notify_event), (ev_view_set_cursor): Add I-Beam
2447 support to EvView. Now we can see where we can select! Sweet!
2449 2005-06-30 Kristian Høgsberg <krh@redhat.com>
2451 * shell/ev-view.c (ev_view_button_press_event): Fix
2452 event->y + view->scroll_x typo.
2454 2005-06-30 Kristian Høgsberg <krh@redhat.com>
2456 * pdf/ev-poppler.cc: Adjust to poppler API changes; use a
2457 sub-GdkPixbuf instead of passing dest_x and dest_y.
2459 * shell/ev-view.c: (view_point_to_doc_point),
2460 (view_rect_to_doc_rect), (ev_view_button_press_event),
2461 (ev_view_motion_notify_event), (compute_new_selection_rect),
2462 (gdk_rectangle_point_in), (compute_new_selection_text),
2463 (compute_selections): Update selection code to keep the selection
2464 around as two points and not as a normalized rectangle, and fix
2465 page level selection in two-column mode.
2467 2005-06-30 Alex Duggan <aldug@astrolinux.com>
2469 * shell/ev-window.c: (window_configure_event_cb):
2473 2005-06-30 Marco Pesenti Gritti <mpg@redhat.com>
2475 * pdf/ev-poppler.cc:
2479 2005-06-30 Marco Pesenti Gritti <mpg@redhat.com>
2481 * shell/Makefile.am:
2482 * shell/ev-metadata-manager.c: (item_free),
2483 (ev_metadata_manager_init), (ev_metadata_manager_shutdown),
2484 (parse_value), (parseItem), (load_values),
2485 (ev_metadata_manager_get), (value_free), (ev_metadata_manager_set),
2486 (save_values), (save_item), (get_oldest), (resize_items),
2487 (ev_metadata_manager_save), (ev_metadata_manager_set_int):
2488 * shell/ev-metadata-manager.h:
2490 Metadata manager from gedit but modified to use GValue, so that
2491 we dont need to keep converting from strings.
2495 ENABLE_METADATA conditional, on when dbus is on
2497 * shell/ev-application.c: (ev_application_open_uri):
2499 Show the window after load so that we can initialize
2500 window size before it's showed.
2502 * shell/ev-window.c: (ev_window_setup_from_metadata),
2503 (ev_window_open_uri), (window_configure_event_cb),
2506 Save and load metadata information about window size.
2507 Not yet keeping states in account.
2509 * shell/main.c: (main):
2511 Shutdown metadata manager.
2513 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
2515 * shell/ev-application-service.xml:
2517 * shell/Makefile.am:
2518 * shell/ev-application.c:
2519 * shell/ev-application.h:
2520 * shell/ev-window.c:
2521 * shell/ev-window.h:
2524 Add an optional dbus interface (--enable-dbus).
2525 Rework application code, mainly to be easier to
2527 Do not open multiple windows with the same document,
2530 Thu Jun 30 01:50:14 2005 Jonathan Blandford <jrb@redhat.com>
2532 * shell/ev-pixbuf-cache.c (clear_selection_if_needed): unref the
2533 pixbuf iff it exists.
2535 Thu Jun 30 01:43:00 2005 Jonathan Blandford <jrb@redhat.com>
2538 * backend/ev-render-context.[ch]:
2539 * backend/ev-selection.[ch]:
2541 Massive changes. We now support text selection of pdfs, and not
2542 just rectangular selection. This is pretty broken still, but I
2543 want to get something into CVS.
2545 2005-06-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2547 * pdf/ev-poppler.cc:
2549 Fix for Bug 309080: crash on window close.
2551 * shell/ev-page-action.c: (page_changed_cb):
2553 Fix for Bug 309168: Fix build with gcc 2.95. Thanks to
2554 jensgr@gmx.net (Jens Granseuer).
2556 2005-06-25 Marcel Telka <marcel@telka.sk>
2558 * configure.in (ALL_LINGUAS): Added sk.
2560 2005-06-24 Carlos Garcia Campos <carlosgc@gnome.org>
2562 * shell/ev-window.c: Make rotate menu entries unsensitive if there is
2565 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
2572 * cut-n-paste/recent-files/Makefile.am:
2576 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
2578 * pixbuf/pixbuf-document.c: (pixbuf_document_get_orientation),
2579 (pixbuf_document_set_orientation), (rotate_pixbuf),
2580 (pixbuf_document_get_page_size), (pixbuf_document_render_pixbuf),
2581 (pixbuf_document_document_iface_init), (pixbuf_document_init):
2583 Implement rotation and cleanup the code a bit.
2585 * tiff/tiff-document.c: (tiff_document_get_page_size),
2586 (tiff_document_get_orientation), (tiff_document_set_orientation),
2587 (rotate_pixbuf), (tiff_document_render_pixbuf),
2588 (tiff_document_document_iface_init), (tiff_document_init):
2590 Implement rotation. Was the quicker solution for the release
2591 but we really need to share this code in the shell.
2593 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
2595 * pdf/ev-poppler.cc:
2597 Enable rotation, require poppler cvs. Fix a leak.
2599 2005-06-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2601 * shell/ev-window.c: (update_action_sensitivity):
2603 Make properties unsensitive if document backend doesn't provide
2606 2005-06-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2608 * dvi/mdvi-lib/bitmap.c: (bitmap_alloc), (bitmap_alloc_raw),
2609 (bitmap_flip_horizontally), (bitmap_flip_vertically),
2610 (bitmap_flip_diagonally), (bitmap_rotate_clockwise),
2611 (bitmap_rotate_counter_clockwise), (bitmap_flip_rotate_clockwise),
2612 (bitmap_flip_rotate_counter_clockwise):
2613 * dvi/mdvi-lib/color.c: (mdvi_push_color), (get_color_table):
2614 * dvi/mdvi-lib/common.c: (read_string), (buff_free), (buff_add),
2616 * dvi/mdvi-lib/common.h:
2617 * dvi/mdvi-lib/dvimisc.c: (mdvi_push_color):
2618 * dvi/mdvi-lib/dviread.c: (get_bytes), (dreset), (define_font),
2619 (opendvi), (mdvi_reload), (mdvi_init_context),
2620 (mdvi_destroy_context), (mdvi_dopage), (special):
2621 * dvi/mdvi-lib/font.c: (font_drop_one), (font_free_unused):
2622 * dvi/mdvi-lib/fontmap.c: (read_encoding), (destroy_encoding),
2623 (file_hash_free), (register_encoding), (parse_spec),
2624 (mdvi_load_fontmap), (free_ent), (mdvi_init_fontmaps),
2625 (mdvi_add_fontmap_file), (mdvi_ps_read_fontmap),
2626 (mdvi_ps_flush_fonts), (mdvi_ps_find_font), (mdvi_ps_get_metrics):
2627 * dvi/mdvi-lib/fontsrch.c: (mdvi_list_font_class),
2628 (mdvi_register_font_type), (mdvi_unregister_font_type),
2629 (lookup_font), (mdvi_add_font), (mdvi_font_retry):
2630 * dvi/mdvi-lib/gf.c: (gf_read_bitmap), (gf_load_font):
2631 * dvi/mdvi-lib/hash.c: (mdvi_hash_remove), (mdvi_hash_remove_ptr),
2632 (mdvi_hash_destroy_key), (mdvi_hash_reset):
2633 * dvi/mdvi-lib/pagesel.c: (mdvi_parse_range),
2634 (mdvi_parse_page_spec), (mdvi_free_page_spec), (main):
2635 * dvi/mdvi-lib/paper.c: (mdvi_free_paper_specs):
2636 * dvi/mdvi-lib/pk.c: (pk_lookup), (pk_lookupn), (pk_load_font):
2637 * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
2638 * dvi/mdvi-lib/special.c: (mdvi_register_special),
2639 (mdvi_unregister_special), (mdvi_flush_specials):
2640 * dvi/mdvi-lib/t1.c: (t1_lookup_font), (t1_really_load_font),
2642 * dvi/mdvi-lib/tfm.c: (get_tfm_chars):
2643 * dvi/mdvi-lib/tfmfile.c: (afm_load_file), (tfm_load_file),
2644 (ofm1_load_file), (ofm_load_file), (get_font_metrics),
2645 (free_font_metrics), (flush_font_metrics):
2646 * dvi/mdvi-lib/tt.c: (tt_really_load_font), (tt_get_bitmap),
2648 * dvi/mdvi-lib/util.c: (mdvi_malloc), (mdvi_realloc),
2649 (mdvi_calloc), (mdvi_free), (mdvi_strdup), (mdvi_strncpy),
2650 (mdvi_strndup), (mdvi_memdup), (xstradd), (dstring_append),
2651 (dstring_insert), (dstring_new), (dstring_reset):
2652 * dvi/mdvi-lib/vf.c: (vf_load_font), (vf_free_macros):
2654 Rename xmalloc and xfree to mdvi_malloc and mdvi_free to
2655 avoid conflict with libtool on FC4
2657 * shell/ev-window.c: (ev_window_cmd_help_about):
2659 Update copyright year. Fix for bug 308828.
2661 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
2663 * shell/ev-view.c: (add_scroll_binding_keypad),
2664 (ev_view_binding_activated), (ev_view_class_init),
2665 (on_adjustment_value_changed):
2667 Bug 170874: Arrow keys switch pages in presentation mode
2669 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
2671 * shell/ev-window.c: (ev_window_sidebar_visibility_changed_cb):
2673 Fix for Bug 308265: Sidebar dissappears coming out of
2676 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
2678 * shell/ev-application.c: (ev_application_open):
2679 * shell/ev-document-types.c: (ev_document_types_add_filters),
2680 (ev_document_types_add_filters_for_type):
2681 * shell/ev-document-types.h:
2682 * shell/ev-window.c: (ev_window_cmd_save_as):
2684 Suggest basename as template when saving, provide filters
2685 for save dialog. It's bug 308402
2687 2005-06-20 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2689 * pdf/ev-poppler.cc:
2690 * shell/ev-sidebar-links.c: (job_finished_callback):
2691 * shell/ev-view.c: (update_find_status_message):
2695 2005-06-19 Christian Persch <chpe@cvs.gnome.org>
2697 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
2698 (egg_recent_view_uimanager_set_list):
2700 Fix buglet in !show_numbers case.
2702 2005-06-19 Christian Persch <chpe@cvs.gnome.org>
2704 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
2705 (connect_proxy_cb), (egg_recent_view_uimanager_set_list):
2707 Use pango ellipsisation.
2709 * pdf/ev-poppler.cc:
2711 Fix refcount leak, from nsh.
2713 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2715 * cut-n-paste/recent-files/Makefile.am:
2716 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
2717 * cut-n-paste/recent-files/egg-recent-view-gtk.h:
2719 Removed EggRecentViewGtk
2721 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
2722 * cut-n-paste/recent-files/egg-recent-view-uimanager.h:
2723 * shell/ev-window.c: (ev_window_cmd_recent_file_activate),
2724 (ev_window_setup_recent):
2726 Use ViewUIManager instead of ViewGtk. Less leaks, more compatibility
2729 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2731 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
2732 (egg_recent_view_gtk_finalize):
2736 * cut-n-paste/toolbar-editor/Makefile.am:
2738 Fix location of cursor icon.
2740 * pdf/ev-poppler.cc:
2741 * shell/ev-page-action.c: (build_new_tree_cb), (match_selected_cb),
2742 (display_completion_text), (match_completion):
2743 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
2744 (selection_changed_callback), (create_loading_model),
2745 (print_section_cb), (links_page_num_func),
2746 (update_page_callback_foreach):
2747 * shell/ev-window.c: (ev_window_dispose):
2749 Small memory fixes. Links model now store objects instead
2750 of pointers to improve memory management.
2752 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2754 * shell/ev-window.c: (zoom_control_changed_cb):
2756 Fix update of zoom control (bug 308268).
2758 Sat Jun 18 22:46:42 2005 Jonathan Blandford <jrb@redhat.com>
2760 * shell/ev-properties.c (set_property): escape the text correctly.
2761 Handles non-UTF-8 properties and escaped properties. Also, sets
2762 the text to "<i>None</i>" if the property isn't set.
2764 * data/evince-properties.glade: Change the label to be ellipsized,
2765 and give it a minimum size.
2767 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2769 * lib/ev-file-helpers.c: (ev_file_helpers_shutdown):
2770 * shell/ev-sidebar-links.c: (create_loading_model):
2771 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose):
2772 * shell/ev-view.c: (ev_view_set_document):
2773 * shell/ev-window.c: (ev_window_dispose):
2775 Various small fixes, mostly memory leaks. Thanks to valgrind.
2777 2005-06-19 Martin Kretzschmar <martink@gnome.org>
2779 * ps/ps-document.c: remove the locale.h include again ;-). And
2780 kill the (bogus) setlocale/savelocale business.
2782 2005-06-19 Jaap A. Haitsma <jaap@haitsma.org>
2786 Include locale.h to fix build
2788 * shell/ev-sidebar.c:
2790 Remove unnecessary includes
2792 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2794 * dvi/dvi-document.c: (dvi_document_load):
2795 * dvi/mdvi-lib/dviread.c: (mdvi_init_context):
2798 Check for incorrect dvi files. Fix parsing dvi on AMD64
2799 platform. Thanks to tester@tester.ca (Olivier Crete).
2801 2005-06-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2803 * shell/ev-page-action.c: (match_selected_cb),
2804 (display_completion_text), (match_completion), (update_model):
2805 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
2806 (expand_open_links):
2807 * shell/ev-sidebar.c: (ev_sidebar_destroy),
2808 (ev_sidebar_menu_item_activate_cb), (ev_sidebar_add_page),
2809 (ev_sidebar_set_document):
2810 * shell/ev-window.c: (ev_window_xfer_job_cb),
2811 (sidebar_widget_model_set), (sidebar_page_main_widget_update_cb):
2813 Fixed lot's of memory leaks, for example, memory leak on reload,
2814 described in bug 307793.
2816 2005-06-18 Marco Pesenti Gritti <mpg@redhat.com>
2818 * pdf/ev-poppler.cc:
2819 * shell/ev-sidebar-thumbnails.c: (clear_range), (add_range),
2820 (update_visible_range), (adjustment_changed_cb),
2821 (ev_sidebar_thumbnails_fill_model),
2822 (ev_sidebar_thumbnails_refresh),
2823 (ev_sidebar_tree_selection_changed),
2824 (ev_sidebar_icon_selection_changed),
2825 (ev_sidebar_thumbnails_use_icon_view),
2826 (ev_sidebar_thumbnails_set_document):
2827 * shell/ev-sidebar-thumbnails.h:
2828 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
2829 (ev_window_cmd_edit_rotate_right), (ev_window_init):
2831 Refresh thumbnails when changing orientation. Not fully
2832 working yet becuase of a sidebar bug.
2834 Set page orientation to poppler page everywhere. This sucks
2835 really need to fix poppler.
2837 2005-06-18 Marco Pesenti Gritti <mpg@redhat.com>
2839 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
2840 (egg_recent_view_gtk_new_menu_item),
2841 (egg_recent_view_gtk_set_property),
2842 (egg_recent_view_gtk_get_property),
2843 (egg_recent_view_gtk_class_init), (egg_recent_view_gtk_init),
2844 (egg_recent_view_gtk_set_tooltip_func),
2845 (egg_recent_view_gtk_set_label_width),
2846 (egg_recent_view_gtk_get_label_width):
2847 * cut-n-paste/recent-files/egg-recent-view-gtk.h:
2849 Sync with libegg (ellipsize labels)
2851 2005-06-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2853 * data/evince-ui.xml:
2854 * shell/ev-window.c: (ev_window_cmd_go_forward),
2855 (ev_window_cmd_go_backward):
2857 Shift + PageUp moves 10 Pages. Fix for 306125
2859 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
2861 * pdf/ev-poppler.cc:
2863 Add a flag to check if orientation has been overriden
2865 2005-06-17 Martin Kretzschmar <martink@gnome.org>
2867 * ps/ps.c (psscan, psfree): read "Creator:" comment, free creator
2870 * ps/ps.h: add creator field to document.
2872 * ps/ps-document.c (ps_document_get_info): set format to PostScript,
2875 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
2877 * data/evince-properties.glade:
2878 * shell/ev-properties.c: (ev_properties_set_document):
2880 s/PDF Version/Format
2882 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
2884 * shell/ev-properties.c: (ev_properties_set_document):
2886 Remove unnecessary translations
2888 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
2890 * cut-n-paste/toolbar-editor/Makefile.am:
2892 Correct library name
2894 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
2897 * cut-n-paste/recent-files/egg-recent-model.c:
2898 (egg_recent_model_write_raw), (egg_recent_model_lock_file),
2899 (egg_recent_model_unlock_file):
2900 * cut-n-paste/recent-files/egg-recent-util.c:
2901 (egg_recent_util_get_unique_id):
2902 * cut-n-paste/recent-files/update-from-egg.sh:
2903 * cut-n-paste/toolbar-editor/Makefile.am:
2904 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
2905 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
2906 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
2907 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
2908 (egg_toolbars_model_get_type):
2909 * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
2911 Better makefile for toolbar editor and update everything
2914 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
2916 * shell/ev-window.c: (update_document_mode):
2918 Prefer presentation mode when the document
2921 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
2923 * data/evince-ui.xml:
2924 * shell/ev-window.c:
2926 Add control-equal for zooming
2928 2005-06-17 Theppitak Karoonboonyanan <thep@linux.thai.net>
2930 * configure.ac: Added 'th' (Thai) to ALL_LINGUAS.
2932 2005-06-16 Marco Pesenti Gritti <mpg@redhat.com>
2934 * backend/ev-document.c: (ev_document_get_orientation):
2935 * backend/ev-document.h:
2936 * pdf/ev-poppler.cc:
2937 * ps/ps-document.c: (ps_document_get_orientation),
2938 (ps_document_set_orientation), (ps_document_document_iface_init):
2940 Add a get_orientation api. Improve set_orientation.
2942 * data/evince-ui.xml:
2943 * shell/ev-view.c: (ev_view_set_orientation),
2944 (ev_view_rotate_right), (ev_view_rotate_left):
2946 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
2947 (ev_window_cmd_edit_rotate_right):
2949 Better ui for changing document orientation
2951 2005-06-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2953 * shell/ev-sidebar-links.c: (ev_sidebar_links_get_property),
2954 (ev_sidebar_links_class_init), (ev_sidebar_links_get_label):
2955 * shell/ev-sidebar-links.h:
2956 * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
2957 (ev_sidebar_page_iface_init):
2958 * shell/ev-sidebar-page.h:
2959 * shell/ev-sidebar-thumbnails.c:
2960 (ev_sidebar_thumbnails_get_property),
2961 (ev_sidebar_thumbnails_class_init),
2962 (ev_sidebar_thumbnails_set_document):
2963 * shell/ev-sidebar-thumbnails.h:
2964 * shell/ev-view.c: (ev_view_motion_notify_event):
2965 * shell/ev-window.c: (update_chrome_visibility),
2966 (ev_window_cmd_focus_page_selector),
2967 (ev_window_update_fullscreen_popup), (view_actions_focus_in_cb),
2968 (sidebar_page_main_widget_update_cb), (ev_window_init):
2970 Autoraise toolbar on GoToPage binding and fix bindings in
2971 EvSidebarThumbnails page.
2973 2005-06-15 Christian Persch <chpe@cvs.gnome.org>
2975 * shell/ev-properties.c: (update_progress_label):
2977 Hide the progress label when finished; bug #307697.
2979 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
2981 * pdf/ev-poppler.cc:
2983 Enable is_open for links, you will need poppler cvs
2985 * shell/ev-properties.c: (job_fonts_finished_cb):
2987 Get a lock on the document when filling the tree view
2989 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
2991 * backend/ev-document-links.h:
2992 * pdf/ev-poppler.cc:
2993 * shell/ev-sidebar-links.c: (create_loading_model),
2994 (expand_open_links), (job_finished_callback):
2996 Expand links when specified by the document.
2997 Depend on a poppler api (defined out for now)
2999 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
3001 * shell/ev-properties.c: (ev_properties_dispose),
3002 (ev_properties_class_init), (dialog_destroy_cb),
3003 (ev_properties_init), (job_fonts_finished_cb), (setup_fonts_view),
3004 (ev_properties_set_document), (ev_properties_new),
3005 (ev_properties_show):
3006 * shell/ev-properties.h:
3008 Make it an object, cleanup the code, api to show it as transient
3009 and to set the document.
3011 * shell/ev-window.c: (ev_window_setup_document),
3012 (ev_window_cmd_file_properties):
3014 Adapt to EvProperties changes, do not show multiple
3015 times, update it when document changes.
3017 2005-06-14 Marco Pesenti Gritti <mpg@redhat.com>
3020 * ps/ps-document.c: (ps_document_init), (get_page_orientation),
3021 (ps_document_set_orientation), (ps_document_document_iface_init):
3024 Implement orientation here too
3026 * shell/ev-properties.c: (ev_properties_new):
3027 * data/evince-properties.glade:
3029 Hide the fonts page for backends that doesnt
3032 2005-06-14 Marco Pesenti Gritti <mpg@redhat.com>
3034 * backend/ev-document.c: (ev_document_set_orientation):
3035 * backend/ev-document.h:
3036 * pdf/ev-poppler.cc:
3038 Add orientation api. Currently poppler api is not optimal,
3039 we need to set orientation every time we _get a page.
3040 I will try to fix that at some point.
3042 * data/evince-ui.xml:
3043 * shell/ev-window.c: (ev_window_cmd_edit_landscape),
3044 (ev_window_cmd_edit_portrait), (ev_window_cmd_edit_flip):
3046 Add orientation menu items
3048 * shell/ev-page-cache.c: (ev_page_cache_clear):
3049 * shell/ev-page-cache.h:
3051 Add api to clear the cache
3053 * shell/ev-view.c: (setup_caches), (clear_caches),
3054 (ev_view_set_document), (ev_view_zoom_out),
3055 (ev_view_set_orientation):
3058 Implement orientation changing
3060 2005-06-13 Marco Pesenti Gritti <mpg@redhat.com>
3062 * backend/ev-document-fonts.c: (ev_document_fonts_get_progress),
3063 (ev_document_fonts_scan), (ev_document_fonts_fill_model):
3064 * backend/ev-document-fonts.h:
3066 Separate scan and fill so that we can incrementally fill from
3067 the main thread. Add a progress api.
3069 * data/evince-properties.glade:
3070 * pdf/ev-poppler.cc:
3071 * shell/ev-jobs.c: (ev_job_fonts_new), (ev_job_fonts_run):
3073 * shell/ev-properties.c: (update_progress_label),
3074 (job_fonts_finished_cb), (setup_fonts_view):
3076 Incrementally feel the list and show the progress
3077 percentage in a label like acrobat does.
3079 You are going to need poppler cvs
3081 2005-06-11 Marco Pesenti Gritti <mpg@redhat.com>
3083 * backend/ev-document-fonts.c: (ev_document_fonts_fill_model):
3084 * backend/ev-document-fonts.h:
3085 * pdf/ev-poppler.cc:
3087 Make fonts model fill incrementally.
3089 * shell/ev-job-queue.c: (handle_job), (search_for_jobs_unlocked),
3090 (no_jobs_available_unlocked), (ev_job_queue_init), (find_queue),
3091 (ev_job_queue_remove_job):
3092 * shell/ev-jobs.c: (ev_job_fonts_init), (ev_job_fonts_class_init),
3093 (ev_job_fonts_new), (ev_job_fonts_run):
3096 New job for fonts scanning
3098 * shell/ev-properties.c: (job_fonts_finished_cb),
3099 (fill_fonts_treeview), (setup_fonts_view), (ev_properties_new):
3100 * shell/ev-properties.h:
3101 * shell/ev-window.c: (ev_window_cmd_file_properties):
3103 Incrementally feel the treeview using the new job. Show Loading...
3104 message until scanning is completed.
3106 Hopefully I didnt break the build without the poppler patch.
3108 2005-06-10 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3110 * shell/ev-application.c: (ev_application_open):
3111 * shell/ev-document-types.c: (ev_document_type_from_from_mime),
3112 (ev_document_type_get_type), (ev_document_type_lookup):
3113 * shell/ev-document-types.h:
3114 * shell/ev-job-xfer.c: (ev_job_xfer_dispose), (ev_job_xfer_run):
3115 * shell/ev-job-xfer.h:
3116 * shell/ev-window.c: (ev_window_clear_local_uri),
3117 (ev_window_load_job_cb), (ev_window_xfer_job_cb),
3118 (ev_window_open_uri), (ev_window_add_recent), (ev_window_dispose):
3119 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3121 Transfer remote documents to tmp directory to display them later.
3123 2005-06-10 Marco Pesenti Gritti <mpg@redhat.com>
3125 * backend/ev-document-info.h:
3126 * shell/ev-properties.c: (ev_properties_new):
3128 s/GTime*/GTime. Not sure why we was using a pointer
3131 Wed Jun 8 01:04:22 2005 Jonathan Blandford <jrb@redhat.com>
3133 * shell/ev-sidebar-thumbnails.c: Use a GtkIconView in certain
3134 situations. That situation is that you're using GTK+-HEAD with
3135 the patch at #306726 is applied, and you have a document with <
3136 1500 pages in it. It's not quite as uniformly nice as the
3137 TreeView, but should be better in the long run.
3139 I'm pretty sure I guarded against breaking compilation with
3140 HAVE_GTK_ICON_VIEW_GET_VISIBLE_RANGE gaurds, though it's possible
3143 * shell/ev-window.c (ev_window_init): We don't have our tree/list
3144 widget yet, so I commented that code out
3145 enable_view_actions_for_widget() for now. Need to figure this
3148 * shell/ev-page-action.c (match_selected_cb): emit the right
3149 signals. Our cool C-l completion now works.
3151 2005-06-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3153 * backend/Makefile.am:
3154 * backend/ev-document-fonts.c:
3155 * backend/ev-document-links.c:
3156 * backend/ev-document.c: (ev_document_load):
3157 * backend/ev-document.h:
3158 * backend/ev-job-queue.c:
3159 * backend/ev-job-queue.h:
3160 * backend/ev-jobs.c:
3161 * backend/ev-jobs.h:
3162 * backend/ev-page-cache.c:
3163 * backend/ev-page-cache.h:
3165 EvPageCache and EvJobs are moved to shell.
3167 * lib/ev-file-helpers.c: (ev_file_helpers_shutdown),
3169 * lib/ev-file-helpers.h:
3171 New helper to work with temporary files
3173 * shell/Makefile.am:
3174 * shell/ev-application.c: (ev_application_open):
3175 * shell/ev-application.h:
3176 * shell/ev-job-queue.c: (remove_job_from_queue_locked),
3177 (remove_job_from_async_queue), (add_job_to_async_queue),
3178 (add_job_to_queue_locked), (notify_finished), (job_finished_cb),
3179 (handle_job), (search_for_jobs_unlocked),
3180 (no_jobs_available_unlocked), (ev_render_thread),
3181 (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
3182 (ev_job_queue_add_job), (move_job_async), (move_job),
3183 (ev_job_queue_update_job), (ev_job_queue_remove_job):
3184 * shell/ev-job-queue.h:
3185 * shell/ev-job-xfer.c: (ev_job_xfer_init), (ev_job_xfer_dispose),
3186 (ev_job_xfer_class_init), (ev_job_xfer_new), (ev_job_xfer_run):
3187 * shell/ev-job-xfer.h:
3188 * shell/ev-jobs.c: (ev_job_init), (ev_job_dispose),
3189 (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
3190 (ev_job_links_class_init), (ev_job_render_init),
3191 (ev_job_render_dispose), (ev_job_render_class_init),
3192 (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
3193 (ev_job_thumbnail_class_init), (ev_job_load_init),
3194 (ev_job_load_dispose), (ev_job_load_class_init), (ev_job_finished),
3195 (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
3196 (render_finished_cb), (ev_job_render_run), (ev_job_thumbnail_new),
3197 (ev_job_thumbnail_run), (ev_job_load_new), (ev_job_load_run):
3199 * shell/ev-page-action.c: (ev_page_action_set_document):
3200 * shell/ev-page-cache.c: (ev_page_cache_init),
3201 (ev_page_cache_class_init), (ev_page_cache_finalize),
3202 (ev_page_cache_new), (ev_page_cache_get_n_pages),
3203 (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
3204 (ev_page_cache_set_page_label), (ev_page_cache_set_link),
3205 (ev_page_cache_get_title), (ev_page_cache_get_size),
3206 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
3207 (ev_page_cache_get_height_to_page),
3208 (ev_page_cache_get_max_label_chars),
3209 (ev_page_cache_get_page_label),
3210 (ev_page_cache_has_nonnumeric_page_labels),
3211 (ev_page_cache_get_info), (ev_page_cache_next_page),
3212 (ev_page_cache_prev_page), (ev_page_cache_get):
3213 * shell/ev-page-cache.h:
3214 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_update_range),
3215 (ev_pixbuf_cache_clear_job_sizes),
3216 (ev_pixbuf_cache_add_jobs_if_needed),
3217 (ev_pixbuf_cache_set_page_range):
3218 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings):
3219 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document):
3220 * shell/ev-sidebar-thumbnails.c:
3221 (ev_sidebar_tree_selection_changed),
3222 (ev_sidebar_thumbnails_set_document):
3223 * shell/ev-statusbar.c: (ev_statusbar_destroy),
3224 (ev_statusbar_class_init), (ev_statusbar_init), (ev_statusbar_new),
3225 (ev_statusbar_get_context_id), (ev_statusbar_push),
3226 (ev_statusbar_pop), (ev_statusbar_set_maximized),
3227 (ev_statusbar_pulse), (ev_statusbar_show_progress),
3228 (ev_statusbar_set_progress):
3229 * shell/ev-statusbar.h:
3230 * shell/ev-view.c: (ev_view_set_document), (ev_view_find_next),
3231 (ev_view_find_previous):
3232 * shell/ev-window.c: (ev_window_is_empty),
3233 (ev_window_setup_document), (password_dialog_response),
3234 (ev_window_clear_jobs), (ev_window_load_job_cb),
3235 (ev_window_xfer_job_cb), (ev_window_open_uri),
3236 (ev_window_open_uri_list), (ev_window_cmd_recent_file_activate),
3237 (ev_window_print), (ev_window_print_range),
3238 (ev_window_state_event), (ev_window_cmd_view_reload),
3239 (menu_item_select_cb), (menu_item_deselect_cb),
3240 (view_status_changed_cb), (ev_window_dispose),
3241 (drag_data_received_cb), (ev_window_init):
3242 * shell/ev-window.h:
3243 * shell/main.c: (load_files):
3245 New statusbar to show progress on idle. Two new jobs -
3246 xfer job and load job to load document in background. And update
3247 of page_cache clients to new location of code.
3249 2005-06-08 Carlos Garcia Campos <carlosgc@gnome.org>
3251 * shell/ev-application.c, shell/ev-window.[ch]: Allow multiple
3252 selection in open dialog. It also remembers the last visited directory
3253 in the current session.
3255 2005-06-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3257 * shell/ev-properties.c: (ev_properties_new):
3258 * shell/ev-properties.h:
3259 * shell/ev-window.c: (ev_window_cmd_file_properties):
3261 Get document info from page cache instead of document itself.
3262 This should fix crash related to race conditions described in
3265 2005-06-07 Marco Pesenti Gritti <mpg@redhat.com>
3267 * ps/ps-document.c: (ps_document_init),
3268 (send_ps), (get_page_box), (output), (catchPipe), (input),
3269 (stop_interpreter), (file_length), (file_readable),
3270 (check_filecompressedb), (ps_document_enable_interpreter),
3271 (document_load), (ps_async_renderer_render_pixbuf):
3274 Big cleanup of the ps code
3276 2005-06-07 Marco Pesenti Gritti <mpg@redhat.com>
3278 * backend/Makefile.am:
3279 * backend/ev-async-renderer.c: (ev_async_renderer_get_type),
3280 (ev_async_renderer_class_init), (ev_async_renderer_render_pixbuf):
3281 * backend/ev-async-renderer.h:
3283 Add an async renderer interface (method + callback) which
3284 is useful for backends like ps.
3286 * backend/ev-job-queue.c: (remove_job_from_async_queue),
3287 (add_job_to_async_queue), (job_finished_cb), (handle_job),
3288 (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
3289 (ev_job_queue_add_job), (move_job_async), (move_job),
3290 (ev_job_queue_update_job), (ev_job_queue_remove_job):
3292 Add queues for async renderer, these are executed on the
3295 * backend/ev-jobs.c: (ev_job_render_new), (render_finished_cb),
3296 (ev_job_render_run):
3297 * backend/ev-jobs.h:
3299 If the backend support async renderer interface use it.
3301 * ps/ps-document.c: (ps_document_init), (push_pixbuf),
3302 (setup_pixmap), (ps_document_get_type),
3303 (ps_async_renderer_render_pixbuf),
3304 (ps_document_document_iface_init), (ps_async_renderer_iface_init):
3306 Implement async renderer interface.
3308 2005-06-07 Nickolay V. Shmyrev <<nshmyrev@yandex.ru>>
3310 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose):
3312 Cleanup links job on exit.
3314 2005-06-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3316 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
3317 (drag_data_get_cb), (drag_data_received_cb):
3318 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
3319 (drag_data_get_cb), (parse_item_list),
3320 (egg_toolbar_editor_load_actions):
3321 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
3322 (egg_toolbars_model_to_xml), (egg_toolbars_model_save),
3323 (parse_item_list), (parse_toolbars):
3324 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
3325 (dvi_pixbuf_put_pixel):
3327 Fix gcc 4.0 warnings
3329 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
3331 * ps/ps-document.c: (start_interpreter):
3333 Fix warning when loading ps
3335 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
3337 * ps/ps-document.c: (output):
3339 Fix crash when priting gs error messages.
3341 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
3343 * backend/ev-page-cache.c: (_ev_page_cache_new):
3344 * backend/ev-page-cache.h:
3346 Use a const to return title so that we dont double
3347 free it. Small cleanup and fix a leak.
3349 * shell/ev-window.c: (update_window_title):
3351 strdup value from get_title.
3353 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
3355 * shell/ev-sidebar-links.c: (job_finished_callback),
3356 (ev_sidebar_links_set_document):
3358 Cleanup the old job when changing document
3360 2005-06-05 Nickolay V. Shmyrev <<nshmyrev@yandex.ru>>
3362 * shell/ev-stock-icons.c:
3363 * shell/ev-stock-icons.h:
3364 * shell/ev-window.c:
3366 Add stock icons for actions that can appear in toolbar. Fix for
3369 2005-06-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3371 * backend/ev-page-cache.c: (ev_page_cache_finalize),
3372 (_ev_page_cache_new), (ev_page_cache_get_max_width),
3373 (ev_page_cache_get_max_height), (ev_page_cache_get_height_to_page):
3374 * backend/ev-page-cache.h:
3375 * shell/ev-view.c: (scroll_to_current_page),
3376 (view_update_range_and_current_page), (get_page_y_offset),
3377 (get_page_extents), (ev_view_size_request_continuous_dual_page),
3378 (ev_view_size_request_continuous),
3379 (ev_view_zoom_for_size_continuous_and_dual_page),
3380 (ev_view_zoom_for_size_continuous):
3382 More compact EvView layout in document with pages of different size.
3384 Sat Jun 4 19:20:57 2005 Jonathan Blandford <jrb@redhat.com>
3386 * shell/ev-window.c (ev_window_cmd_file_properties): fix
3389 2005-06-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3391 * shell/ev-view.c: (view_set_adjustment_values):
3392 * shell/ev-window.c: (ev_window_cmd_file_properties):
3394 A bit different fix for rounding problem but it has no
3395 problems on startup. Make properties window transient to parent.
3397 2005-06-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3399 * pdf/ev-poppler.cc:
3401 More commenting of font stuff.
3403 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
3405 * pdf/ev-poppler.cc:
3407 Comment out some more fonts stuff. Should really
3408 work without the poppler patch now.
3410 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
3412 * pdf/ev-poppler.cc:
3416 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
3418 * data/evince-properties.glade:
3419 * pdf/ev-poppler.cc:
3420 * shell/ev-properties.c: (setup_fonts_view):
3422 Set the column title. Show the dialog only
3423 once everything is setup.
3424 Getting font info can be very slow... will
3425 prolly need to make this threaded too.
3427 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
3429 * backend/Makefile.am:
3430 * backend/ev-document-fonts.c: (ev_document_fonts_get_type),
3431 (ev_document_fonts_get_fonts_model):
3432 * backend/ev-document-fonts.h:
3433 * data/evince-properties.glade:
3434 * pdf/ev-poppler.cc:
3435 * shell/ev-properties.c: (setup_fonts_view), (ev_properties_new):
3436 * shell/ev-properties.h:
3437 * shell/ev-window.c: (ev_window_cmd_file_properties):
3439 Implement fonts list. Defined out for now, since it depends
3440 on a not yet committed poppler patch.
3442 Fri Jun 3 21:07:57 2005 Jonathan Blandford <jrb@redhat.com>
3444 * shell/ev-view.c (get_page_extents): other_page isn't necessarily
3447 * shell/ev-window.c: Make sure we add the timeout when we get a
3450 * shell/ev-view.c (view_set_adjustment_values): Add 0.5 to
3451 adjustment->value before calculating the zoom factor to average
3452 out all of our rounding errors. The page no longer 'drifts' when
3455 2005-06-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3457 * data/evince-properties.glade:
3458 * shell/ev-properties.c: (ev_properties_format_date),
3461 Labels don't expand when the dialogue is resized.
3462 strftime result needs to be converted to UTF-8. Thanks
3463 to Christian Persch <chpe@gnome.org>.
3465 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
3467 * data/evince-properties.glade:
3471 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
3473 * backend/ev-document-info.h:
3474 * backend/ev-document.c: (ev_document_info_free):
3475 * data/evince-properties.glade:
3476 * pdf/ev-poppler.cc:
3477 * ps/ps-document.c: (ps_document_get_info):
3478 * shell/ev-properties.c: (ev_properties_format_date),
3479 (set_property), (ev_properties_new):
3480 * shell/ev-properties.h:
3481 * shell/ev-window.c: (ev_window_cmd_file_properties):
3483 Rework properties code to take only EvPropertyInfo
3484 in the constructor so that it can be useful for
3485 nautilus plugin too.
3487 Deal with backends that doesnt support some properties.
3488 Make set property code generic.
3490 2005-06-04 Christian Persch <chpe@gnome.org>
3492 * data/evince-properties.glade:
3494 fix spacings, make resizeable, and make data labels
3495 selectable + ellipsised
3497 2005-06-03 Marco Pesenti Gritti <mpg@redhat.com>
3499 * backend/ev-document-info.h:
3501 * data/evince-ui.xml:
3502 * pdf/ev-poppler.cc:
3503 * shell/Makefile.am:
3504 * shell/ev-window.c: (update_action_sensitivity),
3505 (ev_window_cmd_file_properties):
3507 Initial go at file properties. Patch by
3508 Emil Soleyman-Zomalan <emil@soleyman.com>.
3509 Needs love see #169583
3511 2005-06-02 Marco Pesenti Gritti <mpg@redhat.com>
3513 * ps/ps-document.c: (output):
3514 * ps/ps.c: (psscan):
3516 Try to render even if psscan fails.
3518 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
3520 * ps/ps.c: (psscan), (pscopydoc):
3522 Port buffered reading code from gv
3524 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
3526 * ps/ps-document.c: (interpreter_message), (output):
3528 Do not fail on interpreter messages
3530 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
3532 * backend/ev-document-misc.c:
3533 (ev_document_misc_get_thumbnail_frame):
3535 Pages can be 0 x 0, dont assert on this case
3537 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
3539 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
3540 (ev_sidebar_links_class_init), (ev_sidebar_links_set_document):
3542 Correctly manage our reference on document. Finally the reload
3543 huge leak is gone...
3545 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
3547 * ps/ps-document.c: (ps_document_dispose):
3549 Forgot to chain it to the parent. Thanks chpe.
3551 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
3553 * ps/ps-document.c: (ps_document_dispose),
3554 (ps_document_class_init), (stop_interpreter), (document_load):
3556 Cleanup dispose a bit. Dont leak the whole pixmap.
3558 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
3560 * pdf/ev-poppler.cc:
3562 Release the poppler document on dispose
3564 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
3566 * shell/ev-view.c: (ev_view_set_document):
3568 Release ref on the pixbuf cache when changing
3571 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
3573 * ps/ps-document.c: (ps_document_get_info):
3577 2005-05-31 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
3579 * backend/ev-page-cache.c: (ev_page_cache_init),
3580 (_ev_page_cache_new), (ev_page_cache_get_max_label_chars):
3581 * backend/ev-page-cache.h:
3582 * shell/ev-page-action.c: (page_changed_cb):
3584 Set page action entry width depending on labels width. Fix
3587 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
3589 * backend/ev-link.c: (ev_link_class_init):
3591 Allow -1 as page value (error)
3593 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
3595 * shell/ev-sidebar-thumbnails.c:
3596 (ev_sidebar_thumbnails_set_document):
3597 * shell/ev-view.c: (scroll_to_current_page),
3598 (view_set_adjustment_values), (ev_view_set_scroll_adjustments),
3599 (page_changed_cb), (on_adjustment_value_changed),
3600 (ev_view_set_document):
3602 Slightly modified patch by Nickolay V. Shmyrev <nshmyrev@yandex.ru>.
3605 2005-05-29 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3608 * djvu/djvu-document.c: (djvu_document_get_page_size):
3610 Require djvulibre CVS. Now djvu loading is much faster. Fix for
3613 Sat May 28 07:38:03 2005 Jonathan Blandford <jrb@redhat.com>
3615 * shell/ev-view.c (draw_one_page): modify the expose handling to
3618 * shell/ev-window.c (update_action_sensitivity): Respect
3619 permissions field. Kowtow to the man.
3621 * pdf/ev-poppler.cc: Get the permissions field.
3623 * tiff/*c: Make a tiny bit more robust.
3625 2005-05-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3627 * djvu/djvu-document.c:
3629 Pop messages from djvu context message queue.
3631 2005-05-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3633 * configure.ac, Makefile.am, shell/Makefile.am:
3634 * tiff/Makefile.am, shell/ev-document-types.c:
3636 Cleanup tiff configure checks. Fix for bug 305218.
3638 2005-05-24 Maxim V. Dziumanenko <mvd@mylinux.ua>
3640 * configure.ac: Added "uk" to ALL_LINGUAS.
3642 2005-05-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3644 * cut-n-paste/zoom-control/ephy-zoom.c:
3645 (ephy_zoom_get_changed_zoom_level):
3646 * cut-n-paste/zoom-control/ephy-zoom.h:
3647 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_set_property),
3648 (ev_view_get_property), (ev_view_class_init), (ev_view_set_zoom):
3649 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
3650 (ev_window_cmd_view_zoom_out), (ev_window_zoom_changed_cb),
3651 (zoom_control_changed_cb), (ev_window_init):
3653 Fix minor points related to moving best fit up. Introduce
3654 "zoom" property and make zoom control change it's value on
3655 notify::zoom signals. Fix for 305080.
3657 2005-05-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3659 * data/evince-ui.xml:
3660 * shell/ev-window.c: (set_view_actions_sensitivity):
3662 Use + and - as accels for zoom in and zoom out. Fix for 305001.
3664 2005-05-22 Marco Pesenti Gritti <mpg@redhat.com>
3668 Depends on poppler 0.3.2
3670 2005-05-22 Marco Pesenti Gritti <mpg@redhat.com>
3672 * cut-n-paste/recent-files/egg-recent-item.c:
3673 (egg_recent_item_get_short_name):
3674 * cut-n-paste/toolbar-editor/Makefile.am:
3675 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
3676 (new_pixbuf_from_widget):
3677 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
3678 * cut-n-paste/toolbar-editor/egg-marshal.c:
3679 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
3680 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
3684 Sat May 21 23:18:30 2005 Jonathan Blandford <jrb@redhat.com>
3686 * tiff/tiff-document.c: Rough TIFF backend.
3688 2005-05-21 Marco Pesenti Gritti <mpg@redhat.com>
3692 * cut-n-paste/toolbar-editor/Makefile.am:
3696 2005-05-21 Marco Pesenti Gritti <mpg@redhat.com>
3698 * shell/ev-view.c: (jump_to_find_result), (ev_view_can_find_next),
3699 (ev_view_find_next), (ev_view_find_previous):
3701 Remove the locks around get_n_results
3703 2005-05-21 Juerg Billeter <j@bitron.ch>
3705 * pdf/ev-poppler.c: (pdf_document_ps_exporter_begin):
3707 Pass correct number of pages to poppler.
3709 2005-05-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3713 * data/evince.desktop.in:
3714 * data/evince.desktop.in.in:
3717 Add conditionally dvi and djvu to desktop types. Fix for 304658.
3719 Sat May 21 00:21:30 2005 Jonathan Blandford <jrb@redhat.com>
3721 * shell/ev-view.c: (view_update_adjustments),
3722 (view_set_adjustment_values): cast adjustmen->value to (int)
3723 before using it. Otherwise, we get off by a pixel in some
3726 (draw_one_page): Draw the border on expose.
3728 Fri May 20 22:05:25 2005 Jonathan Blandford <jrb@redhat.com>
3730 * *shell/ev-view.c: Patch from Nickolay V. Shmyrev to reset the
3731 adjustment when the mode changes, #304923
3733 Fri May 20 02:00:03 2005 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3735 * shell/ev-view.c: Use gdk_widget_queue_draw to remove
3736 flickering on resize but still use gdk_window_scroll on
3739 Fri May 20 01:46:57 2005 Jonathan Blandford <jrb@redhat.com>
3741 * shell/ev-view.c: Patch from Nickolay Shmyrev to fix the -p
3744 Fri May 20 01:27:01 2005 Jonathan Blandford <jrb@redhat.com>
3746 * shell/ev-view.c: Patch from Nickolay Shmyrev to to scroll to
3747 second page on page_changed if possible, #304669
3749 Fri May 20 01:07:15 2005 Jonathan Blandford <jrb@redhat.com>
3751 * shell/ev-view.c (view_update_adjustments): Use gdk_window_scroll
3752 instead of gtk_widget_queue_draw. Massive speedups in scrolling.
3754 Fri May 20 01:05:10 2005 Jonathan Blandford <jrb@redhat.com>
3757 * shell/ev-view.c:(ev_view_size_allocate), (ev_view_class_init),
3758 (zoom_for_size_fit_width), (zoom_for_size_best_fit),
3759 (ev_view_zoom_for_size_presentation),
3760 (ev_view_zoom_for_size_continuous_and_dual_page),
3761 (ev_view_zoom_for_size_continuous),
3762 (ev_view_zoom_for_size_dual_page),
3763 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size):
3765 * shell/ev-window.c: (update_view_size),
3766 (ev_window_sizing_mode_changed_cb):
3768 Patch from Nickolay Shmyrev <nshmyrev@yandex.ru> to handle
3769 the scrollbars. It's not 100% right, but it's much closer. Kills
3770 an infinite loop, #304769
3773 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
3775 * data/evince-ui.xml:
3776 * shell/ev-view.c: (ev_view_scroll_view), (ev_view_class_init):
3777 * shell/ev-window.c: (set_view_actions_sensitivity):
3779 Make PgUp/Down behave like Space
3781 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
3783 * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
3784 * backend/ev-ps-exporter.h:
3785 * pdf/ev-poppler.cc:
3786 * ps/ps-document.c: (ps_document_ps_export_begin):
3787 * shell/ev-print-job.c: (idle_print_handler):
3789 Adapt to new poppler api
3791 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
3793 * cut-n-paste/zoom-control/ephy-zoom-control.c:
3794 (ephy_zoom_control_init):
3796 Translate zoom levels
3798 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
3800 * cut-n-paste/zoom-control/ephy-zoom.c:
3801 (ephy_zoom_get_zoom_level_index):
3803 Fix current zoom -> zoom control match
3805 2005-05-18 James Bowes <bowes@cs.dal.ca>
3807 * shell/ev-window.c: (ev_window_init): Give focus to the ev-view,
3808 rather than the scrolled_window that it's in. Fixes bug #304655.
3810 Tue May 17 22:54:17 2005 Jonathan Blandford <jrb@redhat.com>
3812 * shell/ev-view.c: (view_update_adjustments),
3813 (view_set_adjustment_values), (view_update_range_and_current_page),
3814 (view_scroll_to_page), (set_scroll_adjustment),
3815 (ev_view_set_scroll_adjustments), (add_scroll_binding_keypad),
3816 (ev_view_scroll), (ev_view_scroll_view),
3817 (ensure_rectangle_is_visible), (find_page_at_location),
3818 (get_link_at_location), (go_to_link), (status_message_from_link),
3819 (ev_view_size_request_continuous_dual_page),
3820 (ev_view_size_request), (ev_view_size_allocate), (ev_view_realize),
3821 (ev_view_unrealize), (ev_view_expose_event),
3822 (ev_view_button_press_event), (ev_view_motion_notify_event),
3823 (ev_view_button_release_event), (ev_gdk_color_to_rgb),
3824 (draw_rubberband), (highlight_find_results), (draw_one_page),
3825 (ev_view_finalize), (ev_view_destroy), (ev_view_class_init),
3826 (ev_view_init), (find_changed_cb), (page_changed_cb),
3827 (on_adjustment_value_changed), (ev_view_new),
3828 (ev_view_set_document), (ev_view_set_zoom),
3829 (ev_view_set_continuous), (ev_view_set_dual_page),
3830 (ev_view_set_presentation), (ev_view_zoom_in), (ev_view_zoom_out),
3831 (zoom_for_size_fit_width), (zoom_for_size_best_fit),
3832 (ev_view_zoom_for_size_presentation),
3833 (ev_view_zoom_for_size_continuous_dual_page),
3834 (ev_view_zoom_for_size_continuous),
3835 (ev_view_zoom_for_size_dual_page),
3836 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
3837 (ev_view_get_status), (ev_view_set_status),
3838 (update_find_status_message), (ev_view_get_find_status),
3839 (ev_view_set_find_status), (jump_to_find_result),
3840 (jump_to_find_page), (compute_selections), (clear_selection),
3841 (ev_view_select_all), (get_selected_text), (ev_view_copy),
3842 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
3843 (ev_view_update_primary_selection),
3844 (ev_view_create_invisible_cursor), (ev_view_set_cursor):
3846 * shell/ev-window.c: (ev_window_open_page_label),
3847 (ev_window_cmd_view_reload), (ev_window_sizing_mode_changed_cb),
3849 * shell/ev-window.h:
3850 * shell/main.c: (load_files):
3852 Massive code clean up from Nickolay Shmyrev. Keep page offset
3853 when resizing. Remove the bin_window(). Also, patch from James
3854 Bowes to fix command line page, #300641
3856 2005-05-17 Marco Pesenti Gritti <mpg@redhat.com>
3858 * data/evince-ui.xml:
3861 * shell/ev-window.c: (update_action_sensitivity):
3863 Get rid of View->Normal Size, it's just confusing
3865 Tue May 17 00:51:21 2005 Jonathan Blandford <jrb@redhat.com>
3867 * backend/ev-document-info.h:
3868 * backend/ev-document.c: (ev_document_info_free): Free the
3871 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
3872 (clear_range), (add_range), (update_visible_range),
3873 (adjustment_changed_cb), (ev_sidebar_thumbnails_init),
3874 (ev_sidebar_thumbnails_set_document):
3875 * shell/ev-window.c: (ev_window_setup_document): Only render the
3876 visible thumbnails. It takes an instant to render, but it uses
3879 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
3881 * shell/ev-sidebar-links.c: (popup_menu_cb):
3885 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
3888 * shell/ev-sidebar-links.c: (build_popup_menu), (popup_menu_cb),
3889 (button_press_cb), (ev_sidebar_links_construct):
3891 Show the popup menu also on keybindings
3893 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
3895 * shell/ev-window.c: (ev_window_print), (ev_window_print_range):
3896 * shell/ev-window.h:
3898 Expose api to print a range (with dialog). Make private _print use
3901 * shell/ev-sidebar-links.c: (print_section_cb), (button_press_cb),
3902 (ev_sidebar_links_construct):
3904 Show a print context menu on linkx, it prints the selected
3907 2005-05-15 Carlos Garcia Campos <carlosgc@gnome.org>
3909 * shell/ev-sidebar.c: make the drop down menu as width as the toggle
3912 2005-05-12 Marco Pesenti Gritti <mpg@redhat.com>
3918 * shell/ev-window.c: (build_comments_string),
3919 (ev_window_cmd_help_about):
3921 Show poppler version/backend and authors
3923 2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
3925 * cut-n-paste/zoom-control/ephy-zoom.c:
3926 (ephy_zoom_get_zoom_level_index):
3927 * cut-n-paste/zoom-control/ephy-zoom.h:
3929 Move the best fit items at the top of the list
3931 2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
3933 * shell/ev-marshal.list:
3934 * shell/ev-page-action.c: (ev_page_action_widget_class_init),
3935 (activate_cb), (match_selected_cb), (activate_link_cb),
3936 (connect_proxy), (ev_page_action_class_init):
3937 * shell/ev-page-action.h:
3939 Use signals to notify action activation. Hopefully
3940 I did not break completion since I cant test...
3942 * shell/ev-window.c: (activate_link_cb), (activate_label_cb),
3943 (register_custom_actions):
3945 Connect to page selector actions and also grab focus on
3946 the view when activated.
3948 Wed May 11 01:18:29 2005 Jonathan Blandford <jrb@redhat.com>
3950 * pdf/ev-poppler.cc:
3951 * backend/ev-page-cache.c: make page size calculation consistent
3952 and set it to (int)( width * scale + 0.5). This makes the weird
3953 line going through the middle of the page go away.
3955 * shell/ev-view.c: move painting the background page after
3956 checking the expose area covers us.
3958 2005-05-11 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3960 * data/evince-password.glade:
3962 Mark labels as not translatable. Fix for bug 302842.
3964 2005-05-10 Francisco Javier F. Serrador <serrador@cvs.gnome.org>
3966 * configure.ac: Added "es" to ALL_LINGUAS.
3968 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3970 * data/evince-toolbar.xml:
3971 * shell/ev-window.c: (update_action_sensitivity),
3972 (ev_window_setup_document), (ev_window_set_page_mode),
3975 Remove some leftover code from jrb first continous
3976 attempt. Use the new actions, we still need good icons
3979 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3981 * shell/ev-page-action.c: (update_pages_label), (connect_proxy):
3983 Update label when connecting proxy. Fix a warning with NULL
3986 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3988 * data/evince-ui.xml:
3989 * shell/ev-page-action.c: (ev_page_action_grab_focus):
3990 * shell/ev-page-action.h:
3991 * shell/ev-window.c: (ev_window_cmd_focus_page_selector):
3993 Add mnemonic for edit toolbar.
3994 ctrl+l focus the page entry.
3996 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3999 * shell/ev-window.c: (ev_window_cmd_edit_toolbar_cb),
4001 * shell/main.c: (main):
4003 Put the toolbar xml in evince own dot dir
4005 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
4007 * shell/ev-window.c: (ev_window_init):
4009 Make the toolbar not removable
4011 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
4013 * data/evince-ui.xml:
4014 * shell/ev-sidebar-links.c: (ev_sidebar_links_get_treeview):
4015 * shell/ev-sidebar-links.h:
4016 * shell/ev-sidebar-thumbnails.c:
4017 (ev_sidebar_thumbnails_get_treeview):
4018 * shell/ev-sidebar-thumbnails.h:
4019 * shell/ev-view.c: (ev_view_scroll), (ev_view_scroll_view),
4020 (ev_view_class_init):
4022 * shell/ev-window.c: (update_action_sensitivity),
4023 (ev_window_cmd_scroll_forward), (ev_window_cmd_scroll_backward),
4024 (set_view_actions_sensitivity), (view_actions_focus_in_cb),
4025 (view_actions_focus_out_cb), (enable_view_actions_for_widget),
4028 This is evil... Make space/backspace global accelerators but
4029 enable them only for some widgets (sidebars and view).
4030 I dont like it, but I dont know a better way... :/
4032 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
4034 * shell/ev-page-action.c: (ev_page_action_widget_set_page_cache),
4035 (ev_page_action_widget_finalize),
4036 (ev_page_action_widget_class_init), (update_page_cache):
4038 Keep a weak reference on proxy->page_cache so that we
4039 dont try to disconnect the signal if the object is already
4040 gone. Maybe there is a better way to cleanup reference handling
4041 in page action though...
4043 2005-05-10 Juerg Billeter <j@bitron.ch>
4045 * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
4046 * backend/ev-ps-exporter.h:
4047 * pdf/ev-poppler.cc: (pdf_document_ps_exporter_begin):
4048 * ps/ps-document.c: (ps_document_ps_export_begin):
4050 Change api to pass print range to ps_exporter_begin. The pdf backend
4051 requires this information.
4053 * shell/ev-print-job.c: (idle_print_handler):
4057 2005-05-10 Juerg Billeter <j@bitron.ch>
4059 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
4060 (idle_print_handler)
4061 * shell/ev-window.c: (ev_window_print):
4063 Support printing page range, based on patch by Amaury Jacquot
4065 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
4067 * data/evince-toolbar.xml:
4069 Add zoom control to available items
4071 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
4073 * shell/ev-window.c: (update_action_sensitivity):
4075 Set slash action insensitive when appropriate
4077 2005-05-10 Christian Persch <chpe@gnome.org>
4079 * cut-n-paste/zoom-control/ephy-zoom-action.c: (create_menu_item):
4081 Fix warning on the overflow menu
4083 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
4085 * shell/ev-window.c: (sanity_check_uri), (ev_window_open):
4087 Check for uri correctness/existence
4089 2005-05-09 Juerg Billeter <j@bitron.ch>
4091 * shell/ev-window.c: (using_postscript_printer):
4093 LPD printers use postscript, too
4095 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
4097 * shell/ev-window.c: (register_custom_actions):
4099 The zoom one is actually sort of useful,
4102 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
4104 * shell/ev-window.c: (register_custom_actions):
4106 Hide page/zoom controls from overflow, they
4109 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
4111 * cut-n-paste/update-from-egg.sh:
4113 Share it between all cut-n-paste subdirs
4115 * cut-n-paste/recent-files/Makefile.am:
4117 Fix to use "global" update-from-egg.sh
4119 * cut-n-paste/recent-files/egg-recent-model.c:
4120 (egg_recent_model_changed_timeout), (egg_recent_model_finalize):
4121 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
4122 (egg_recent_view_gtk_clear), (egg_recent_view_gtk_set_list),
4123 (egg_recent_view_gtk_finalize), (egg_recent_view_gtk_set_menu):
4127 * cut-n-paste/toolbar-editor/Makefile.am:
4129 Fix to use "global" update-from-egg.sh
4131 * cut-n-paste/toolbar-editor/eggmarshalers.list:
4135 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
4138 * cut-n-paste/Makefile.am:
4139 * cut-n-paste/recent-files/Makefile.am:
4140 * cut-n-paste/toolbar-editor/.cvsignore:
4141 * cut-n-paste/toolbar-editor/Makefile.am:
4142 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
4143 (egg_editable_toolbar_get_type), (get_toolbar_position),
4144 (get_n_toolbars), (get_dock_nth), (get_toolbar_nth), (find_action),
4145 (drag_data_delete_cb), (drag_begin_cb), (drag_end_cb),
4146 (drag_data_get_cb), (set_drag_cursor), (unset_drag_cursor),
4147 (set_item_drag_source), (create_item_from_action), (create_item),
4148 (data_is_separator), (drag_data_received_cb), (remove_toolbar_cb),
4149 (popup_toolbar_context_menu_cb), (free_dragged_item),
4150 (toolbar_drag_drop_cb), (toolbar_drag_motion_cb),
4151 (toolbar_drag_leave_cb), (create_dock), (set_fixed_style),
4152 (unset_fixed_style), (toolbar_changed_cb), (unparent_fixed),
4153 (update_fixed), (toolbar_added_cb), (toolbar_removed_cb),
4154 (item_added_cb), (item_removed_cb),
4155 (egg_editable_toolbar_construct),
4156 (egg_editable_toolbar_disconnect_model),
4157 (egg_editable_toolbar_deconstruct),
4158 (egg_editable_toolbar_set_model),
4159 (egg_editable_toolbar_set_ui_manager),
4160 (egg_editable_toolbar_set_property),
4161 (egg_editable_toolbar_get_property),
4162 (egg_editable_toolbar_class_init), (egg_editable_toolbar_init),
4163 (egg_editable_toolbar_finalize), (egg_editable_toolbar_new),
4164 (egg_editable_toolbar_new_with_model),
4165 (egg_editable_toolbar_get_edit_mode),
4166 (egg_editable_toolbar_set_edit_mode), (egg_editable_toolbar_show),
4167 (egg_editable_toolbar_hide), (egg_editable_toolbar_set_fixed),
4168 (egg_editable_toolbar_set_drag_dest), (fake_expose_widget),
4169 (new_pixbuf_from_widget), (new_separator_pixbuf),
4170 (update_separator_image), (style_set_cb),
4171 (_egg_editable_toolbar_new_separator_image),
4172 (egg_editable_toolbar_get_model):
4173 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
4174 * cut-n-paste/toolbar-editor/egg-marshal.c:
4175 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
4176 (egg_toolbar_editor_get_type), (compare_actions), (find_action),
4177 (egg_toolbar_editor_set_ui_manager), (toolbar_removed_cb),
4178 (egg_toolbar_editor_set_model), (egg_toolbar_editor_set_property),
4179 (egg_toolbar_editor_get_property), (egg_toolbar_editor_class_init),
4180 (egg_toolbar_editor_finalize), (egg_toolbar_editor_new),
4181 (drag_begin_cb), (drag_end_cb), (editor_drag_data_received_cb),
4182 (editor_drag_data_delete_cb), (drag_data_get_cb),
4183 (elide_underscores), (set_drag_cursor), (event_box_realize_cb),
4184 (editor_create_item), (update_editor_sheet), (setup_editor),
4185 (egg_toolbar_editor_init), (egg_toolbar_editor_add_action),
4186 (parse_item_list), (model_has_action), (update_actions_list),
4187 (egg_toolbar_editor_load_actions):
4188 * cut-n-paste/toolbar-editor/egg-toolbar-editor.h:
4189 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
4190 (egg_toolbars_model_get_type), (egg_toolbars_model_to_xml),
4191 (safe_save_xml), (egg_toolbars_model_save), (toolbars_toolbar_new),
4192 (toolbars_item_new), (free_toolbar_node), (free_item_node),
4193 (egg_toolbars_model_get_flags), (egg_toolbars_model_set_flags),
4194 (egg_toolbars_model_add_separator), (impl_add_item),
4195 (parse_item_list), (egg_toolbars_model_add_toolbar),
4196 (parse_toolbars), (egg_toolbars_model_load), (impl_get_item_id),
4197 (impl_get_item_data), (impl_get_item_type),
4198 (_egg_accumulator_STRING), (egg_toolbars_model_class_init),
4199 (egg_toolbars_model_init), (free_toolbar),
4200 (egg_toolbars_model_finalize), (egg_toolbars_model_new),
4201 (egg_toolbars_model_remove_toolbar),
4202 (egg_toolbars_model_remove_item), (egg_toolbars_model_move_item),
4203 (egg_toolbars_model_n_items), (egg_toolbars_model_item_nth),
4204 (egg_toolbars_model_n_toolbars), (egg_toolbars_model_toolbar_nth),
4205 (egg_toolbars_model_add_item), (egg_toolbars_model_get_item_id),
4206 (egg_toolbars_model_get_item_data),
4207 (egg_toolbars_model_get_item_type):
4208 * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
4209 * cut-n-paste/toolbar-editor/eggmarshalers.list:
4211 * data/evince-toolbar.xml:
4212 * data/evince-ui.xml:
4213 * data/hand-open.png:
4215 * shell/Makefile.am:
4216 * shell/ev-window.c: (update_chrome_visibility),
4217 (ev_window_cmd_edit_toolbar_cb), (ev_window_cmd_edit_toolbar),
4218 (ev_window_dispose), (ev_window_init):
4220 Implement epiphany like toolbar editor. Based on patch by
4221 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4223 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
4225 * shell/ev-sidebar-thumbnails.c: (page_changed_cb):
4227 Use set_cursor instead of set_selection, so that
4228 the keyboard focus moves too.
4230 2005-05-09 Aleksey Kliger <akliger@gmail.com>
4232 * dvi/mdvi-lib/tfmfile.c: (lookup_font_metrics):
4234 Fix infinite loop when loading Type1 fonts
4236 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
4238 * data/evince-ui.xml:
4239 * shell/ev-window.c:
4243 2005-05-09 Thomas de Grenier de Latour <degrenier@easyconnect.fr>
4247 Make --disable really disable
4249 2005-05-07 Juerg Billeter <j@bitron.ch>
4251 * backend/ev-page-cache.c: (ev_page_cache_set_page_label):
4253 Compare page labels even without has_labels set, fixes setting page
4256 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
4258 * shell/ev-view.c: (ev_view_create_invisible_cursor),
4259 (ev_view_set_cursor), (ev_view_button_press_event),
4260 (ev_view_motion_notify_event), (ev_view_button_release_event),
4263 Implement middle button scrolling. Based on a patch
4264 by Tommi Komulainen <tommi.komulainen@iki.fi>.
4266 2005-05-08 Marco Pesenti Gritti <mpg@redhat.com>
4268 * shell/ev-document-types.c: (get_slow_mime_type),
4269 (get_document_type_from_mime), (ev_document_type_lookup):
4270 * shell/ev-document-types.h:
4272 Change api to lookup from uri. Do fast lookup first, if the
4273 type is unknown try with data sniffing.
4275 * shell/ev-window.c: (ev_window_open), (ev_window_open_uri_list):
4276 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
4280 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
4282 * thumbnailer/Makefile.am:
4286 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
4293 * data/evince-ui.xml:
4295 Hide presentation mode for now
4297 * shell/ev-view.c: (highlight_find_results):
4299 Show current find selection only on current page
4301 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
4303 * shell/ev-view.c: (ev_view_select_all):
4305 Compute size of the actual page, not of
4308 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
4310 * shell/ev-view.c: (clear_selection), (ev_view_finalize),
4311 (view_rect_to_doc_rect), (compute_selections),
4312 (ev_view_bin_expose), (ev_view_select_all), (get_selected_text),
4313 (ev_view_copy), (ev_view_primary_get_cb),
4314 (ev_view_primary_clear_cb), (ev_view_update_primary_selection),
4315 (ev_view_button_press_event), (ev_view_motion_notify_event),
4316 (ev_view_button_release_event), (page_changed_cb):
4320 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
4322 * shell/ev-view.c: (compute_border), (get_page_extents),
4323 (doc_rect_to_view_rect), (highlight_find_results),
4324 (ev_view_bin_expose), (ev_view_select_all),
4325 (ev_view_motion_notify_event), (update_find_status_message),
4326 (jump_to_find_result), (jump_to_find_page):
4328 First go at fixing search, still buggy
4330 2005-05-04 Kristian Høgsberg <krh@redhat.com>
4332 * shell/ev-sidebar.c (ev_sidebar_init): Remove frame around
4333 dropdown box and button at the top of the sidebar.
4335 2005-05-02 James Bowes <bowes@cs.dal.ca>
4337 * configure.ac: Output zoom-control Makefile.
4338 * cut-n-paste/Makefile.am: build zoom-control subdir.
4339 * cut-n-paste/zoom-control/ephy-zoom-action.c:
4340 * cut-n-paste/zoom-control/ephy-zoom-action.h:
4341 * cut-n-paste/zoom-control/ephy-zoom-control.c:
4342 * cut-n-paste/zoom-control/ephy-zoom-control.h:
4343 * cut-n-paste/zoom-control/ephy-zoom.c:
4344 * cut-n-paste/zoom-control/ephy-zoom.h: New files imported
4345 from epiphany, and modified to add a separator into the menu.
4346 * cut-n-paste/zoom-control/Makefile.am: Build zoom-control.
4347 * data/evince-ui.xml: Replace old zoom toolbar actions with new
4348 zoom-control action.
4349 * shell/Makefile.am: Include zoom-control flags.
4350 * shell/ev-view.c: (ev_view_set_zoom), (ev_view_get_zoom),
4351 (ev_view_get_sizing_mode), (ev_view_zoom_in), (ev_view_zoom_out),
4352 (ev_view_zoom_for_size_presentation),
4353 (ev_view_zoom_for_size_continuous_and_dual_page),
4354 (ev_view_zoom_for_size_continuous),
4355 (ev_view_zoom_for_size_dual_page),
4356 (ev_view_zoom_for_size_single_page), (ev_view_zoom_normal):
4357 s/ev_view_zoom/ev_view_set_zoom/ and make public, add
4358 ev_view_get_zoom and ev_view_get_sizing_mode.
4360 * shell/ev-window.c: (update_action_sensitivity),
4361 (update_sizing_buttons), (zoom_control_changed_cb),
4362 (register_custom_actions): Initialize and use the zoom-control
4365 Sun May 1 00:46:47 2005 Jonathan Blandford <jrb@redhat.com>
4367 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init): Change the
4368 preview cache back to 1. Don't know when it got set to 0.
4370 * shell/ev-view.c: (compute_border), (ev_view_realize),
4371 (draw_one_page), (ev_view_set_property), (ev_view_get_property),
4372 (ev_view_class_init), (ev_view_init), (ev_view_set_fullscreen),
4373 (ev_view_get_fullscreen), (ev_view_set_presentation),
4374 (ev_view_get_presentation), (ev_view_set_sizing_mode),
4375 (ev_view_zoom_for_size_presentation), (ev_view_set_zoom_for_size):
4377 * shell/ev-window.c:
4378 (update_chrome_visibility),
4379 (ev_window_cmd_continuous), (ev_window_cmd_dual),
4380 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
4381 (update_document_mode), (ev_window_update_fullscreen_action),
4382 (ev_window_fullscreen), (ev_window_unfullscreen),
4383 (ev_window_cmd_view_fullscreen),
4384 (ev_window_update_presentation_action),
4385 (ev_window_run_presentation), (ev_window_stop_presentation),
4386 (ev_window_cmd_view_presentation), (ev_window_state_event),
4387 (ev_window_focus_in_event), (ev_window_focus_out_event),
4388 (ev_window_cmd_escape), (ev_window_sidebar_visibility_changed_cb):
4389 * data/evince-ui.xml: Initial presentation mode. We should
4390 probably hide this until it's done, as it's quite rough. Also,
4391 change full-screen to fullscreen and add two getters to EvView.
4393 2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
4395 * shell/ev-page-action.c: (update_page_cache),
4396 (ev_page_action_dispose):
4397 * shell/ev-window.c: (destroy_fullscreen_popup),
4398 (ev_window_create_fullscreen_popup):
4400 Use connect_object rather than explicitly
4401 disconnect on dispose.
4403 2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
4405 * shell/ev-page-action.c: (update_page_cache),
4406 (ev_page_action_dispose):
4408 2005-04-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4410 * backend/ev-page-cache.c: (_ev_page_cache_new),
4411 (ev_page_cache_set_page_label),
4412 (ev_page_cache_has_nonnumeric_page_labels):
4413 * backend/ev-page-cache.h:
4414 * shell/ev-page-action.c: (update_pages_label):
4416 If all page labels are numeric, fallback to default
4417 way to display number of pages. See bug 173185.
4419 2005-04-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4421 * shell/ev-page-action.c: (ev_page_action_dispose):
4422 * shell/ev-view.c: (view_update_range_and_current_page):
4423 * shell/ev-window.c: (ev_window_dispose):
4425 Set page on scroll in continuous mode. Fixes bug 301986.
4426 Also cleanup callbacks on destroy of EvWindow and EvPageAction.
4428 2005-04-26 Marco Pesenti Gritti <mpg@redhat.com>
4432 Require poppler 0.3.0
4434 2005-04-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4436 * shell/Makefile.am, configure.ac: Fix build problems
4437 with t1lib. Bug 301996.
4439 2005-04-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4441 * shell/ev-view.c: (ev_view_scroll_event):
4443 Scroll up increase zoom
4445 2005-04-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4447 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_class_init),
4448 (ev_view_set_sizing_mode),
4449 (ev_view_zoom_for_size_continuous_and_dual_page),
4450 (ev_view_zoom_for_size_continuous):
4451 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
4452 (ev_window_cmd_view_page_width), (ev_window_cmd_view_zoom_in),
4453 (ev_window_cmd_view_zoom_out), (ev_window_sizing_mode_changed_cb),
4456 Control + Scroll does zooming, Shift + Scroll scrolls horizontally
4457 Fix for 165473 and 165472.
4459 2005-04-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4462 * thumbnailer/Makefile.am:
4463 * thumbnailer/evince-thumbnailer-djvu.schemas.in:
4464 * thumbnailer/evince-thumbnailer-dvi.schemas.in:
4465 * thumbnailer/evince-thumbnailer.schemas.in:
4467 Make thumbnailer schemas translatable. Fix for bug 301773
4469 * thumbnailer/evince-thumbnailer-djvu.schemas:
4470 * thumbnailer/evince-thumbnailer-dvi.schemas:
4471 * thumbnailer/evince-thumbnailer.schemas:
4475 Sun Apr 24 01:37:39 2005 Jonathan Blandford <jrb@redhat.com>
4477 * shell/ev-view.c (ev_view_init): forgot to set this.
4479 Sun Apr 24 01:07:27 2005 Jonathan Blandford <jrb@redhat.com>
4481 * shell/ev-view.c: (find_page_at_location),
4482 (get_link_at_location),
4483 (ev_view_set_show_border), (ev_view_set_spacing),
4484 (ev_view_zoom_for_size_continuous_and_dual_page),
4485 (ev_view_zoom_for_size_continuous): Fix links for dual/continuous.
4486 Also, add a quick fix measuring of widths. Also, removed
4487 ev_view_set_spacing and ev_view_set_show_border.
4489 * shell/ev-window.c: (ev_window_unfullscreen),
4490 (ev_window_cmd_view_fullscreen): Don't adjust the border/spacing.
4492 2005-04-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4494 * shell/ev-view.c: (view_update_range_and_current_page),
4497 Fix crash on exit and scrolling to page in continuous view.
4499 Sat Apr 23 13:13:04 2005 Jonathan Blandford <jrb@redhat.com>
4502 * backend/ev-page-cache.c: (_ev_page_cache_new),
4503 (ev_page_cache_get_max_width_size),
4504 (ev_page_cache_get_max_height_size):
4505 * backend/ev-page-cache.h:
4506 * data/evince-ui.xml:
4507 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init):
4508 * shell/ev-view.c: (view_update_adjustments),
4509 (view_update_range_and_current_page), (get_bounding_box_size),
4510 (ev_view_size_request_continuous_and_dual_page),
4511 (ev_view_size_request_continuous),
4512 (ev_view_size_request_dual_page),
4513 (ev_view_size_request_single_page), (ev_view_size_request),
4514 (ev_view_size_allocate), (get_page_extents), (draw_one_page),
4515 (ev_view_bin_expose), (ev_view_expose_event),
4516 (ev_view_set_property), (ev_view_get_property),
4517 (ev_view_class_init), (ev_view_init), (ev_view_new),
4518 (page_changed_cb), (ev_view_zoom), (ev_view_set_continuous),
4519 (ev_view_set_dual_page), (ev_view_set_full_screen),
4520 (ev_view_set_presentation), (ev_view_set_sizing_mode),
4521 (ev_view_can_zoom_in), (ev_view_can_zoom_out), (ev_view_zoom_in),
4522 (ev_view_zoom_out), (zoom_for_size_fit_width),
4523 (zoom_for_size_best_fit),
4524 (ev_view_zoom_for_size_continuous_and_dual_page),
4525 (ev_view_zoom_for_size_continuous),
4526 (ev_view_zoom_for_size_dual_page),
4527 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
4528 (ev_view_show_cursor), (ev_sizing_mode_get_type):
4530 * shell/ev-window.c: (update_action_sensitivity),
4531 (ev_window_cmd_continuous), (ev_window_cmd_dual),
4532 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
4533 (update_sizing_buttons), (ev_window_cmd_view_zoom_in),
4534 (ev_window_cmd_view_zoom_out), (update_view_size),
4535 (ev_window_set_sizing_mode), (ev_window_init):
4537 Add Continuous and Dual page modes.
4539 2005-04-23 James Bowes <bowes@cs.dal.ca>
4541 * dvi/dvi-document.c: (dvi_document_load),
4542 (dvi_document_thumbnails_get_thumbnail),
4543 (dvi_document_init_params): Fix up some mixups between
4544 width and height to correct thumbnail rendering.
4546 2005-04-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4548 * dvi/mdvi-lib/private.h:
4549 * dvi/mdvi-lib/setup.c: (mdvi_init_kpathsea):
4551 Suppess output for kpathsea during font generation. Thanks to
4554 Fri Apr 22 19:57:46 2005 Jonathan Blandford <jrb@redhat.com>
4561 * Makefile.am: fix distcheck.
4563 2005-04-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4565 * shell/ev-sidebar-links.c: (selection_changed_callback),
4566 (update_page_callback), (row_activated_callback),
4567 (job_finished_callback), (ev_sidebar_links_set_document):
4569 Fix for bug #169901. Double click on links expands tree.
4571 2005-03-14 Bryan Clark <clarkbw@cvs.gnome.org>
4573 * shell/ev-window.c (ev_window_init): Removed fullscreen toolbar
4574 hard-coded style. Fix for bug 170111
4576 2005-04-22 Kristian Høgsberg <krh@redhat.com>
4578 * shell/ev-view.c (highlight_find_results): Remove unnecessary
4581 2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
4583 * thumbnailer/evince-thumbnailer.schemas: real fix for bug 172496
4585 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
4587 * pdf/ev-poppler.cc:
4588 * shell/ev-view.c: (highlight_find_results):
4590 Fix find on single page documents
4592 2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
4594 * data/evince.schemas.in: fix for bug 301390
4596 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
4598 * shell/ev-view.c: (ev_view_can_zoom_in), (ev_view_can_zoom_out),
4599 (ev_view_zoom_out), (ev_view_zoom_normal):
4601 * shell/ev-window.c: (update_action_sensitivity),
4602 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
4603 (ev_window_cmd_view_zoom_in), (ev_window_cmd_view_zoom_out),
4604 (ev_window_cmd_view_normal_size):
4606 Fix normal size zoom. Make zoom in/zoom out unsensitive when
4607 they are behyond the limits. Tweak MAX_ZOOM to 6, sucks but
4610 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
4614 Depend on 2.57, 2.59 doesnt seem to be necessary
4616 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
4618 * shell/ev-page-action.c: (update_pages_label), (page_changed_cb),
4621 Put back total number of pages as (1 of 1234)
4623 Thu Apr 21 23:37:52 2005 Jonathan Blandford <jrb@redhat.com>
4625 * shell/ev-pixbuf-cache.c (dispose_cache_job_info): actually
4628 * backend/ev-document.h: Remove EV_DOC_MUTEX in favor of a locking
4629 function. This helps debugging.
4631 2005-04-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4633 * djvu/djvu-document.c: (djvu_document_class_init),
4634 (djvu_document_get_info), (djvu_document_document_iface_init):
4635 * dvi/dvi-document.c: (dvi_document_class_init),
4636 (dvi_document_get_info), (dvi_document_document_iface_init):
4638 Dummy implementation of get_info method for dvi and djvu. Fix
4639 crashes with those backends
4641 2005-04-20 Marco Pesenti Gritti <mpg@redhat.com>
4643 * data/evince.desktop.in:
4645 Add application/x-gzpostscript
4647 2005-04-20 Bryan Clark <clarkbw@cvs.gnome.org>
4649 * data/evince.schemas.in: Added real long descriptions,
4652 * README: Added actual text, closes bug 171869
4654 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
4656 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
4660 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
4662 * backend/ev-document-info.h:
4664 s/GDate */GDate so we can just use g_free
4666 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
4668 * shell/ev-window.c: (update_document_mode),
4669 (ev_window_setup_document):
4671 Show the window in fullscreen when specified by
4674 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
4676 * backend/ev-document.c: (ev_document_class_init),
4677 (ev_document_get_info), (ev_document_render_pixbuf):
4678 * backend/ev-document.h:
4679 * backend/ev-page-cache.c: (_ev_page_cache_new):
4680 * pdf/ev-poppler.cc:
4681 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
4682 (pixbuf_document_get_info), (pixbuf_document_document_iface_init):
4683 * ps/ps-document.c: (ps_document_class_init), (document_load),
4684 (ps_document_get_info), (ps_document_document_iface_init):
4686 Remove get_title from the interface, we can just use document info
4688 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
4690 * backend/Makefile.am:
4691 * backend/ev-document.c: (ev_document_render_get_info):
4692 * backend/ev-document.h:
4693 * pdf/ev-poppler.cc:
4695 Initial support for document info. Based on jrb patch.
4697 2005-04-19 Paolo Borelli <pborelli@katamail.com>
4699 * shell/ev-window.c: (ev_window_state_event),
4700 (ev_window_class_init), (ev_window_init):
4702 Doesn't show resize grip when maximized. See bug #301053
4704 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4708 ev-sidebar-thumbnails now has translatable labels
4710 * shell/Makefile.am:
4711 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document),
4712 (ev_sidebar_links_support_document), (ev_sidebar_links_get_label),
4713 (ev_sidebar_links_page_iface_init):
4714 * shell/ev-sidebar-links.h:
4715 * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
4716 (ev_sidebar_page_support_document), (ev_sidebar_page_set_document),
4717 (ev_sidebar_page_get_label):
4718 * shell/ev-sidebar-page.h:
4719 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_new),
4720 (ev_sidebar_thumbnails_set_document),
4721 (ev_sidebar_thumbnails_support_document),
4722 (ev_sidebar_thumbnails_get_label),
4723 (ev_sidebar_thumbnails_page_iface_init):
4724 * shell/ev-sidebar-thumbnails.h:
4725 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
4726 (ev_sidebar_set_document):
4727 * shell/ev-sidebar.h:
4728 * shell/ev-window.c: (ev_window_setup_document), (ev_window_init):
4730 Small rework of sidebar code. Now sidebar pages should implement
4731 EvSidebarPage interface. That makes page management in EvSidebar
4732 easier. See bug #164811 for details
4734 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4736 * shell/ev-application.c: (ev_application_open):
4737 * shell/ev-document-types.c:
4739 Fix build error and small problem with application exit
4741 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4743 * thumbnailer/Makefile.am:
4744 * thumbnailer/evince-thumbnailer-djvu.schemas:
4745 * thumbnailer/evince-thumbnailer-dvi.schemas:
4747 Conditionally install schemas for djvu/dvi thumbnailer
4749 2005-04-18 David Malcolm <dmalcolm@redhat.com>
4751 * shell/ev-document-types.h:
4752 * shell/ev-document-types.c:
4753 New files, handling the mapping from mimetypes to backends
4755 * shell/ev-window.c:
4756 * thumbnailer/evince-thumbnailer.c:
4757 Use the ev-document-types code
4759 * shell/Makefile.am:
4760 Added new convenience library libevbackendfactory_la, containing
4761 the new mimetype->backend logic; moved the backends into it.
4763 * thumbnailer/Makefile.am:
4764 Make the thumbnailer link with the libevbackend.la convenience
4765 library, rather than having a duplicate of the backend logic here.
4767 2005-04-18 Paolo Borelli <pborelli@katamail.com>
4769 * shell/ev-stock-icons.c: constify some vars.
4770 * shell/ev-window.c: ditto.
4772 2005-04-18 Marco Pesenti Gritti <mpg@redhat.com>
4774 * ps/ps-document.c (get_page_orientation):
4776 Respect document orientation
4778 2005-04-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4782 * shell/Makefile.am:
4784 Move library dependencies to components.
4786 * shell/ev-window.c: (update_window_title),
4787 (start_loading_document):
4789 Fix display of uris with spaces. Bug 168358.
4791 Sat Apr 16 18:53:47 2005 Jonathan Blandford <jrb@redhat.com>
4793 * shell/ev-sidebar-links.c: (selection_changed_cb):
4794 * shell/ev-view.c: (ev_view_finalize), (go_to_link),
4795 (ev_view_button_release_event), (ev_view_set_document):
4797 * shell/ev-window.c: (find_bar_search_changed_cb):
4798 * shell/ev-window.h: Minor cleanups removing some dead code.
4800 2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4802 * backend/ev-page-cache.c: (_ev_page_cache_new):
4804 Set current page to 0 if document has pages.
4806 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
4808 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
4810 Initialize GError to NULL, fix a crash when loading fails.
4812 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
4814 * shell/ev-window.c: (update_view_size):
4816 Calculate shadow size only when there is actually
4819 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
4821 * shell/ev-view.c: (ev_view_set_spacing), (ev_view_init):
4824 Allow setting view spacing, default to 0
4826 * shell/ev-window.c: (ev_window_unfullscreen),
4827 (ev_window_cmd_view_fullscreen), (ev_window_init):
4829 Remove spacing in fullscreen mode
4831 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
4833 * shell/ev-view.c: (compute_border), (compute_zoom_factor),
4834 (ev_view_size_request), (expose_bin_window),
4835 (ev_view_set_show_border), (ev_view_init), (page_changed_cb):
4837 * shell/ev-window.c: (ev_window_unfullscreen),
4838 (ev_window_cmd_view_fullscreen):
4840 Do not draw the border in fulscreen
4842 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
4844 * shell/ev-view.c: (ev_view_get_offsets), (compute_zoom_factor),
4845 (ev_view_size_request), (expose_bin_window), (ev_view_select_all),
4846 (find_page_at_location), (page_changed_cb):
4848 Rework border calculation, so that I can more easily disable it.
4849 Code somewhat cleaner too.
4851 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
4853 * backend/ev-page-cache.c: (ev_page_cache_init),
4854 (_ev_page_cache_new):
4856 Remove some assertions, documents can have 0 pages.
4857 Make initial current page -1.
4859 * shell/ev-page-action.c: (page_changed_cb):
4861 Show "" if current page is -1
4863 * shell/ev-window.c: (update_action_sensitivity),
4864 (ev_window_setup_document):
4866 When document has 0 pages do not set the view
4867 and make nearly everything insensitive.
4869 2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4871 * shell/ev-page-view.c:
4872 * shell/ev-page-view.h:
4874 Remove unused files.
4876 * shell/ev-sidebar-thumbnails.c:
4877 (ev_sidebar_thumbnails_set_document):
4878 * shell/ev-sidebar.c: (ev_sidebar_set_document),
4879 (ev_sidebar_supports_document):
4880 * shell/ev-sidebar.h:
4881 * shell/ev-window.c: (ev_window_setup_document):
4883 Doesn't show thumbnails if document has 1 page. Make
4884 sidebar menu entries sensitive only if if they have
4885 sense. Fix bug 164811.
4887 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
4889 * shell/ev-view.c: (compute_zoom_factor), (ev_view_size_request),
4890 (page_changed_cb), (ev_view_zoom), (ev_view_zoom_in),
4891 (ev_view_zoom_out), (ev_view_set_size):
4893 Rework sizing to deal with documents with not uniform page
4896 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
4898 * backend/ev-page-cache.c: (_ev_page_cache_new):
4900 Fix several page size caching bugs
4902 2005-04-15 Luca Ferretti <elle.uca@libero.it>
4904 * shell/ev-window.c: (set_action_properties):
4906 Make all toolbar items translatable
4908 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
4910 * ps/ps-document.c: (ps_document_init), (ps_document_get_type),
4911 (save_page_list), (ps_document_save),
4912 (ps_document_document_iface_init), (ps_document_ps_export_begin),
4913 (ps_document_ps_export_do_page), (ps_document_ps_export_end),
4914 (ps_document_ps_exporter_iface_init):
4917 Based on a patch by J�rg Billeter <j@bitron.ch>
4919 Implement print and save a copy for the ps backend.
4921 2005-04-14 Marco Pesenti Gritti <mpg@redhat.com>
4923 * backend/ev-document.h:
4924 * djvu/djvu-document.c: (djvu_document_can_get_text),
4925 (djvu_document_document_iface_init):
4926 * dvi/dvi-document.c: (dvi_document_can_get_text),
4927 (dvi_document_document_iface_init):
4928 * pdf/ev-poppler.cc:
4929 * pixbuf/pixbuf-document.c: (pixbuf_document_can_get_text),
4930 (pixbuf_document_document_iface_init):
4931 * ps/ps-document.c: (ps_document_can_get_text),
4932 (ps_document_document_iface_init):
4933 * shell/ev-view.c: (ev_view_copy), (ev_view_primary_get_cb):
4934 * shell/ev-window.c: (update_action_sensitivity):
4936 Fix the crash when trying to copy in backends that doesnt
4937 support it. We can implement a better solution once we
4938 do real text selection.
4940 2005-04-12 Marco Pesenti Gritti <mpg@redhat.com>
4942 * data/evince-ui.xml:
4943 * shell/ev-window.c: (ev_window_cmd_escape):
4945 Work around the Escape conflict (find bar and unfullscreen)
4947 2005-04-12 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
4949 * backend/ev-page-cache.c: (ev_page_cache_next_page):
4951 Fix for #300233. Next page correctly handles document end.
4953 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
4954 (ev_sidebar_thumbnails_class_init),
4955 (ev_sidebar_thumbnails_set_document),
4956 (ev_sidebar_thumbnails_clear_job),
4957 (ev_sidebar_thumbnails_clear_model):
4959 Cleanup thumbnail jobs on document changes.
4961 * shell/ev-view.c: (add_scroll_binding_keypad),
4962 (add_scroll_binding_shifted), (ev_view_class_init):
4964 Shift + Space scrolls up. Fix for #173184
4966 * shell/ev-window.c: (ev_window_open_page),
4967 (ev_window_cmd_view_reload):
4969 Fix reload (Bug #300094)
4971 2005-04-09 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4974 * dvi/mdvi-lib/assoc.c:
4975 * dvi/mdvi-lib/assoc.h: Removed garbage files
4977 * dvi/mdvi-lib/bitmap.c:
4978 * dvi/mdvi-lib/color.c: (mdvi_set_color), (mdvi_push_color),
4979 (mdvi_pop_color), (mdvi_reset_color), (get_color_table):
4980 * dvi/mdvi-lib/color.h: Antialias of rules
4982 * dvi/mdvi-lib/common.h:
4983 * dvi/mdvi-lib/dviread.c: (mdvi_configure), (mdvi_init_context),
4984 (mdvi_destroy_context), (draw_shrink_rule), (draw_box), (set_rule):
4985 * dvi/mdvi-lib/files.c:
4986 * dvi/mdvi-lib/fontmap.c: (ps_init_default_paths):
4987 * dvi/mdvi-lib/mdvi.h:
4988 * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
4989 * dvi/mdvi-lib/tfmfile.c: (ofm_load_file):
4990 * dvi/mdvi-lib/util.c: Fix compile warnings
4992 * dvi/dvi-document.c:
4993 (dvi_document_load), (dvi_document_thumbnails_get_dimensions),
4994 (dvi_document_thumbnails_get_thumbnail),
4995 (dvi_document_document_thumbnails_iface_init):
4996 * dvi/mdvi-lib/Makefile.am:
4997 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
4998 (dvi_pixbuf_set_color), (mdvi_pixbuf_device_render):
5000 Dvi backend now renders thumbnails
5002 2005-04-09 Christian Persch <chpe@cvs.gnome.org>
5004 * shell/main.c: (main):
5006 Save accelerators on exit. Fixes bug #172095.
5008 Sat Apr 9 01:05:09 2005 Jonathan Blandford <jrb@redhat.com>
5010 * shell/ev-pixbuf-cache.c (move_one_job): Actually fix the "FIXME:
5011 update priority" comment.
5013 * backend/ev-job-queue.c: Give a way to change priority.
5015 Sat Apr 9 00:05:36 2005 Jonathan Blandford <jrb@redhat.com>
5017 * shell/ev-page-action.c: Fix logic.
5019 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
5021 * shell/ev-view.c: (ev_view_can_find_next):
5022 * shell/ev-window.c: (ev_window_setup_document):
5024 Check that the document supports find
5026 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
5028 * data/evince-ui.xml:
5029 * shell/ev-view.c: (ev_view_can_find_next):
5031 * shell/ev-window.c: (update_action_sensitivity),
5032 (find_changed_cb), (ev_window_setup_document),
5033 (ev_window_cmd_edit_find_next):
5037 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
5039 * pdf/ev-poppler.cc:
5040 * shell/ev-print-job.c: (idle_print_handler):
5042 Make printing work again
5044 Fri Apr 8 01:12:24 2005 Jonathan Blandford <jrb@redhat.com>
5046 * shell/ev-page-action.h:
5047 * shell/ev-page-action.c: (ev_page_action_widget_init),
5048 (ev_page_action_widget_class_init), (page_changed_cb),
5049 (create_tool_item), (update_page_cache), (build_new_tree_cb),
5050 (get_filter_model_from_model), (match_selected_cb),
5051 (display_completion_text), (match_completion), (update_model),
5052 (connect_proxy), (ev_page_action_set_property),
5053 (ev_page_action_get_property), (ev_page_action_set_document),
5054 (ev_page_action_set_model), (ev_page_action_class_init): Big
5055 reworking to make completions work iff we have >= GTK-2.7.0
5057 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_property),
5058 (ev_sidebar_links_get_property), (ev_sidebar_links_class_init),
5059 (job_finished_cb): We now have a 'model' property that is set when
5060 the links are loaded. This can be caught with "notify::model"
5062 * shell/ev-window.c: (sidebar_widget_model_set), (ev_window_init):
5063 listen for the model to be set, and propagate it to the action.
5065 2005-04-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
5067 * cut-n-paste/recent-files/egg-recent-item.c:
5068 (egg_recent_item_set_uri), (make_valid_utf8),
5069 (egg_recent_item_set_mime_type), (egg_recent_item_get_mime_type):
5070 * cut-n-paste/recent-files/egg-recent-item.h:
5072 Update egg-recent from libegg. This should fix long
5073 startup problem. For details see
5074 http://bugzilla.gnome.org/show_bug.cgi?id=160531
5076 2005-04-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
5078 * cut-n-paste/recent-files/Makefile.am:
5079 * data/evince-ui.xml, shell/Makefile.am:
5080 * shell/ev-application.c, shell/ev-application.h:
5081 * shell/ev-window.c: Recent files support.
5083 * configure.ac: Added "ru" to ALL_LINGUAS.
5085 * dvju: new backend to support DJVU files.
5086 * dvi: new backend to support DVI.
5088 * configure.ac, Makefile.am, shell/Makefile.am, ev-window.c:
5089 * ev-application.c: Support for new backends.
5091 * help, ev-window.c, main.c shell/Makefile.am:
5092 Evince user documentation.
5094 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
5097 * shell/ev-window.c:
5098 * thumbnailer/evince-thumbnailer.c:
5100 s/pdf-document/ev-poppler
5102 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
5109 * ps/ps-document.c: (setup_pixmap):
5113 2005-04-05 Kristian Høgsberg <krh@redhat.com>
5115 * backend/ev-page-cache.c (ev_page_cache_next_page):
5116 * shell/ev-window.c (ev_window_cmd_go_next_page)
5117 (ev_window_cmd_go_first_page): Fix of by one errors.
5119 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
5121 * ps/ps-document.c: (get_page_box):
5123 Fix page size calculation
5125 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
5127 * ps/ps-document.c: (ps_document_init), (push_pixbuf),
5128 (ps_document_cleanup), (setup_pixmap), (get_page_box),
5129 (get_page_orientation), (setup_page), (document_load),
5130 (ps_document_get_page_size), (render_pixbuf_idle):
5133 More refactoring to adapt to EvDocument changes
5135 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
5137 * ps/ps-document.c: (start_interpreter):
5139 Actually add alpha args
5141 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
5143 * pdf/ev-poppler.cc:
5145 Make clipboard work again
5147 2005-04-04 Kristian Høgsberg <krh@redhat.com>
5149 Make searching work again.
5151 * backend/ev-document.c:
5152 * backend/ev-document.h:
5153 * backend/ev-document-find.c:
5154 * backend/ev-document-find.h: Change EvDocumentIface so we no
5155 longer store the current page or zoom level in the document. The
5156 consequence is that all calls that operate on the current page now
5157 instead take the page number as an extra argument, and all
5158 coordinates are now doubles in document coordinate system.
5160 * pdf/ev-poppler.cc:
5161 * pixbuf/pixbuf-document.c:
5162 * ps/ps-document.c: Update backends accordingly.
5164 2005-04-04 Marco Pesenti Gritti <marco@gnome.org>
5168 Add required gettext version
5170 Sat Apr 2 18:57:00 2005 Jonathan Blandford <jrb@redhat.com>
5172 * shell/evwindow.c: Patch from Alberto Mesas <amesas@gmail.com> to
5173 make F1 bring up non-existent help.
5175 * shell/eggfindbar.c: Patch from Christian Persch to sync to
5176 epiphany's find bar, #167477
5178 * shell/ev-view.c (ev_view_jump): Patch from Emil Soleyman-Zomalan
5179 <emil@nishra.com> to add space-bar scrolling,
5181 * shell/ev-window.c (static GtkActionEntry entries): add default
5182 keybinding for Help (F1)
5185 * shell/ev-view.c (ev_view_show_cursor): Fix from Yuval Tanny
5186 changing EV_VIEW_CURSOR_LINK to EV_VIEW_CURSOR_NORMAL resolves bug
5189 2005-04-01 David Malcolm <dmalcolm@redhat.com>
5192 * pixbuf/pixbuf-document.c:
5194 Got pixbuf backend working again
5196 2005-04-01 Steve Murphy <murf@e-tools.com>
5198 * configure.in: Added "rw" to ALL_LINGUAS.
5200 Fri Apr 1 02:33:41 2005 Jonathan Blandford <jrb@redhat.com>
5202 * shell/ev-sidebar-links.c (create_loading_model): Fix mismatch in
5203 model types, noticed by Martin Kretzschmar.
5205 2005-04-01 Kristian Høgsberg <krh@redhat.com>
5207 * pdf/ev-poppler.cc: Implement search based on
5208 poppler_page_find_text(). Currently a bit crude since we remember
5209 all matches from all pages. Also, we grab the big document lock
5210 when we search since searching changes the underlying stream and
5211 thus conflicts with the rendering thread.
5213 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
5214 (jump_to_find_page), (ev_view_set_document), (ev_view_find_next),
5215 (ev_view_find_previous): Fix some page indexes to be 0 based,
5216 offset rubber band by view offset,
5218 Fri Apr 01 09:21:12 2005 Pablo Saratxaga <pablo@mandrakesoft.com>
5220 * configure.ac: Added Walloon (wa) to ALL_LINGUAS.
5222 Fri Apr 1 01:59:39 2005 Jonathan Blandford <jrb@redhat.com>
5224 * shell/ev-page-action.c: Changed to use page labels now. Rewrote
5225 completely because I didn't understand GtkActions. I should
5226 read Marco's code more carefully in the future.
5228 * backend/ev-page-cache.h (ev_page_cache_set_page_label): New
5231 2005-03-31 Kristian Høgsberg <krh@redhat.com>
5233 * pdf/ev-poppler.cc (pdf_document_get_links): Update to work with
5234 PopplerRectangle change from poppler CVS.
5236 Thu Mar 31 13:27:50 2005 Jonathan Blandford <jrb@redhat.com>
5238 * backend/ev-document.c: (ev_document_get_page_label):
5239 * backend/ev-document.h:
5240 * backend/ev-page-cache.c: (_ev_page_cache_new),
5241 (ev_page_cache_get_page_label):
5242 * backend/ev-page-cache.h:
5243 * pdf/ev-poppler.cc:
5244 * shell/ev-sidebar-links.c: (ev_sidebar_links_construct),
5245 (links_page_num_func):
5246 * shell/ev-sidebar-thumbnails.c:
5247 (ev_sidebar_thumbnails_set_document):
5248 * shell/ev-view.c: (status_message_from_link),
5249 (ev_view_motion_notify_event):
5250 * shell/ev-window.c: (document_supports_sidebar): Add in page
5251 label support. It's not perfect yet, but it's the first 'feature'
5253 Also, fix a bogus comment noticed by crispin.
5255 Thu Mar 31 01:21:58 2005 Jonathan Blandford <jrb@redhat.com>
5257 * Makefile.am: Remove pixbuf backend for now
5259 * configure.ac: Require poppler-glib instead of just poppler.
5261 * backend/ev-document-thumbnails.h: Add a comment
5263 * backend/ev-document.h:
5264 * backend/ev-document.c: (ev_document_class_init),
5265 (ev_document_load), (ev_document_get_link),
5266 (ev_document_get_links): Remove 3 methods and add get_links.
5269 * backend/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
5270 * backend/ev-jobs.h: now EvJobRender can grab the links for a document.
5272 * backend/ev-link.c: (ev_link_set_title),
5273 (ev_link_mapping_free_foreach), (ev_link_mapping_free),
5274 (ev_link_mapping_find):
5275 * backend/ev-link.h: Allow NULL titles. Also, introduce a mapping link.
5277 * backend/ev-page-cache.c: (ev_page_cache_init),
5278 (_ev_page_cache_new), (ev_page_cache_set_current_page),
5279 (ev_page_cache_get_size), (ev_page_cache_next_page),
5280 (ev_page_cache_prev_page): Fix to be 0 based.
5284 * pdf/ev-poppler.cc: New backend.
5286 * ps/ps-document.c: (ps_document_init), (ps_document_set_page),
5287 (ps_document_get_page), (ps_document_document_iface_init):
5289 * shell/ev-pixbuf-cache.h:
5290 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
5291 (dispose_cache_job_info), (job_finished_cb), (move_one_job),
5292 (ev_pixbuf_cache_update_range), (copy_job_to_job_info),
5293 (add_job_if_needed), (ev_pixbuf_cache_set_page_range),
5294 (ev_pixbuf_cache_get_pixbuf), (ev_pixbuf_cache_get_link_mapping):
5295 Fix up code to grab a page cache per each doc. Also, fix to be 0
5298 * shell/ev-sidebar-thumbnails.c:
5299 (ev_sidebar_tree_selection_changed), (page_changed_cb),
5300 (ev_sidebar_thumbnails_set_document): Fix to be 0 based.
5302 * shell/ev-view.c: (status_message_from_link),
5303 (find_page_at_location), (get_link_at_location),
5304 (ev_view_motion_notify_event), (ev_view_button_release_event),
5305 (ev_view_init): Use the new link code. Fix to be 0 based.
5307 * shell/ev-window.c: (update_action_sensitivity),
5308 (document_supports_sidebar): 0 based.
5310 Fri Mar 25 16:55:58 2005 Jonathan Blandford <jrb@redhat.com>
5312 * pdf/pdf-document.cc: Patch from Fernando Herrera
5313 <fherrera@onirica.com> to fix my quick fix to get_thumbnail.
5316 Wed Mar 23 23:49:41 2005 Jonathan Blandford <jrb@redhat.com>
5318 * pdf/pdf-document.cc (pdf_document_thumbnails_get_thumbnail): add
5319 1 to the page, as this seems to be 1 based. I thought we has this
5322 2005-03-23 Marco Pesenti Gritti <marco@gnome.org>
5325 * backend/Makefile.am:
5326 * backend/ev-document-links.c:
5327 (ev_document_links_has_document_links),
5328 (ev_document_links_get_links_model):
5329 * backend/ev-document-links.h:
5330 * backend/ev-document.c: (ev_document_get_page_cache),
5331 (ev_document_get_doc_mutex), (ev_document_load),
5332 (ev_document_save), (ev_document_get_title),
5333 (ev_document_get_n_pages), (ev_document_set_page),
5334 (ev_document_get_page), (ev_document_set_target),
5335 (ev_document_set_scale), (ev_document_set_page_offset),
5336 (ev_document_get_page_size), (ev_document_get_text),
5337 (ev_document_get_link), (ev_document_render),
5338 (ev_document_render_pixbuf), (ev_document_scale_changed):
5339 * backend/ev-document.h:
5340 * backend/ev-job-queue.c: (remove_object_from_queue),
5341 (notify_finished), (handle_job), (search_for_jobs_unlocked),
5342 (no_jobs_available_unlocked), (ev_render_thread),
5343 (ev_job_queue_init), (find_queue), (ev_job_queue_add_job),
5344 (ev_job_queue_remove_job):
5345 * backend/ev-job-queue.h:
5346 * backend/ev-jobs.c: (ev_job_init), (ev_job_dispose),
5347 (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
5348 (ev_job_links_class_init), (ev_job_render_init),
5349 (ev_job_render_dispose), (ev_job_render_class_init),
5350 (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
5351 (ev_job_thumbnail_class_init), (ev_job_finished),
5352 (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
5353 (ev_job_render_run), (ev_job_thumbnail_new),
5354 (ev_job_thumbnail_run):
5355 * backend/ev-jobs.h:
5356 * backend/ev-link.c:
5357 * backend/ev-link.h:
5358 * backend/ev-page-cache.c: (ev_page_cache_init),
5359 (ev_page_cache_class_init), (ev_page_cache_finalize),
5360 (_ev_page_cache_new), (ev_page_cache_get_n_pages),
5361 (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
5362 (ev_page_cache_set_link), (ev_page_cache_get_title),
5363 (ev_page_cache_get_size), (ev_page_cache_next_page),
5364 (ev_page_cache_prev_page):
5365 * backend/ev-page-cache.h:
5366 * pdf/pdf-document.cc:
5369 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
5370 (push_pixbuf), (interpreter_failed), (ps_document_cleanup),
5371 (ps_document_widget_event), (ps_document_finalize), (get_xdpi),
5372 (get_ydpi), (setup_pixmap), (setup_page), (close_pipe),
5373 (is_interpreter_ready), (output), (catchPipe), (input),
5374 (start_interpreter), (check_filecompressed), (compute_dimensions),
5375 (ps_document_enable_interpreter), (document_load),
5376 (ps_document_next_page), (render_page), (ps_document_set_page),
5377 (ps_document_set_scale), (render_pixbuf_idle),
5378 (ps_document_render_pixbuf), (ps_document_document_iface_init):
5380 * shell/Makefile.am:
5381 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
5382 (ev_pixbuf_cache_class_init), (ev_pixbuf_cache_finalize),
5383 (dispose_cache_job_info), (ev_pixbuf_cache_dispose),
5384 (ev_pixbuf_cache_new), (job_finished_cb),
5385 (check_job_size_and_unref), (move_one_job),
5386 (ev_pixbuf_cache_update_range), (find_job_cache),
5387 (ev_pixbuf_cache_clear_job_sizes), (add_job_if_needed),
5388 (ev_pixbuf_cache_add_jobs_if_needed),
5389 (ev_pixbuf_cache_set_page_range), (ev_pixbuf_cache_get_pixbuf):
5390 * shell/ev-pixbuf-cache.h:
5391 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
5392 (idle_print_handler):
5393 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
5394 (selection_changed_cb), (create_loading_model),
5395 (ev_sidebar_links_construct), (links_page_num_func),
5396 (ev_sidebar_links_clear_document), (update_page_callback_foreach),
5397 (update_page_callback), (job_finished_cb),
5398 (ev_sidebar_links_set_document):
5399 * shell/ev-sidebar-thumbnails.c:
5400 (ev_sidebar_thumbnails_class_init), (adjustment_changed_cb),
5401 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init),
5402 (page_changed_cb), (thumbnail_job_completed_callback),
5403 (ev_sidebar_thumbnails_set_document):
5404 * shell/ev-sidebar-thumbnails.h:
5405 * shell/ev-sidebar.c: (ev_sidebar_set_document):
5406 * shell/ev-view.c: (ev_view_finalize), (ev_view_destroy),
5407 (ev_view_get_offsets), (ev_view_size_request), (ev_view_realize),
5408 (ev_view_unrealize), (highlight_find_results), (expose_bin_window),
5409 (ev_view_select_all), (ev_view_copy), (ev_view_primary_get_cb),
5410 (ev_view_create_invisible_cursor), (ev_view_motion_notify_event),
5411 (ev_view_button_release_event), (ev_view_scroll_view),
5412 (ev_view_class_init), (ev_view_init), (update_find_status_message),
5413 (jump_to_find_result), (jump_to_find_page), (find_changed_cb),
5414 (ev_view_new), (job_finished_cb), (page_changed_cb),
5415 (ev_view_set_document), (go_to_link), (ev_view_zoom),
5416 (size_to_zoom_factor), (ev_view_set_size), (ev_view_find_next),
5417 (ev_view_find_previous):
5419 * shell/ev-window.c: (update_action_sensitivity),
5420 (ev_window_open_page), (update_window_title), (update_total_pages),
5421 (page_changed_cb), (ev_window_setup_document),
5422 (password_dialog_response), (ev_window_cmd_save_as),
5423 (ev_window_print), (ev_window_cmd_go_previous_page),
5424 (ev_window_cmd_go_next_page), (ev_window_cmd_go_first_page),
5425 (ev_window_cmd_go_last_page), (ev_window_cmd_view_reload),
5426 (find_bar_search_changed_cb), (goto_page_cb), (ev_window_init):
5427 * shell/main.c: (main):
5429 Merge evince-threads branch
5431 2005-03-16 Žygimantas Beručka <uid0@akl.lt>
5433 * configure.ac: Added "lt" to ALL_LINGUAS.
5435 2005-03-14 Marco Pesenti Gritti <marco@gnome.org>
5442 2005-03-13 Fernando Herrera <fherrera@onirica.com>
5444 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
5446 Fix here also the thumbnails 1-basedness :)
5448 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
5455 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
5457 * pdf/pdf-document.cc:
5458 * shell/ev-sidebar-thumbnails.c: (adjustment_changed_cb),
5459 (do_one_iteration), (ev_sidebar_thumbnails_set_document):
5461 Fix the mess we did with thumbnails and 1-basedness
5463 2005-03-12 Changwoo Ryu <cwryu@debian.org>
5465 * configure.ac (ALL_LINGUAS): Added "ko" (Korean).
5467 2005-03-09 Marco Pesenti Gritti <marco@gnome.org>
5474 2005-03-08 Marco Pesenti Gritti <marco@gnome.org>
5477 * ps/gsdefaults.c: (gtk_gs_defaults_get_interpreter_cmd),
5478 (gtk_gs_defaults_get_alpha_parameters),
5479 (gtk_gs_defaults_get_ungzip_cmd),
5480 (gtk_gs_defaults_get_unbzip2_cmd):
5482 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
5483 (ps_document_get_orientation), (document_load),
5484 (ps_document_goto_page), (ps_document_set_page_size):
5487 Some more sanitization of the ps backend. Remove a lot
5488 of unused code and do not base our defaults on ggv
5491 2005-03-08 Fernando Herrera <fherrera@onirica.com>
5493 * thumbnailer/evince-thumbnailer.schemas:
5494 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
5495 (main): add -s option for thumbnail size.
5497 2005-03-07 Christian Persch <chpe@cvs.gnome.org>
5501 AC_PROG_RANLIB is rendered obsolete by AC_PROG_LIBTOOL;
5504 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
5506 * pdf/pdf-document.cc:
5508 Remove 4 pixels of useless border from the
5511 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
5513 * backend/ev-document-thumbnails.c:
5514 (ev_document_thumbnails_get_thumbnail):
5515 * backend/ev-document-thumbnails.h:
5517 Rework API a bit. Add a border flag and
5518 change sizing logic (now the size we specify
5519 applies to the bigger dimension).
5521 * pdf/pdf-document.cc:
5522 * pixbuf/pixbuf-document.c:
5523 (pixbuf_document_thumbnails_get_thumbnail):
5524 * shell/ev-sidebar-thumbnails.c: (do_one_iteration):
5525 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
5527 Adapt to the new API and do not draw a border for nautilus
5530 2005-03-03 Fernando Herrera <fherrera@onirica.com>
5532 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
5533 take thumbnails from page "0" instead of "1". Added a copyright header.
5535 2005-03-03 Jens Granseuer <jensgr@gmx.net>
5537 * ps/ps-document.c: (set_up_page), (start_interpreter):
5539 Make it C89 compliant
5541 2005-03-03 Marco Pesenti Gritti <marco@gnome.org>
5546 * pdf/pdf-document.cc:
5547 * thumbnailer/Makefile.am:
5548 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
5550 * thumbnailer/evince-thumbnailer.schemas:
5551 * thumbnailer/pdf-icon.png:
5553 Add a nautilus thumbnailer.
5554 Based on patch by Fernando Herrera <fherrera@onirica.com>.
5556 2005-03-02 Marco Pesenti Gritti <marco@gnome.org>
5564 2005-03-01 Kristian Høgsberg <krh@redhat.com>
5566 Use poppler instead of including xpdf source code. Poppler is a
5567 fork of xpdf to build it as a shared library. See
5568 http://freedesktop.org/wiki/Software/poppler.
5570 * pdf/xpdf/*, pdf/goo/*, pdf/splash/*, pdf/fofi/*: Remove included
5573 * pdf/Makefile.am: Build libpdfdocument.a here.
5575 * pdf/GDKSplashOutputDev.cc:
5576 * pdf/GDKSplashOutputDev.h:
5577 * pdf/GnomeVFSStream.cc:
5578 * pdf/GnomeVFSStream.h:
5581 * test-gdk-output-dev.cc
5583 * Thumb.h: Pull these files out of pdf/xpdf and adjust to compile
5586 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
5588 * shell/ev-sidebar-links.c: (ev_sidebar_links_clear_document):
5590 Clear idle stack before unsetting the document
5592 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
5594 * ps/ps-document.c: (ps_document_widget_event),
5595 (ps_document_set_target), (ps_document_finalize),
5596 (ps_document_get_page):
5598 Disconnect the widget event signal on finalize.
5601 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
5603 * ps/ps-document.c: (set_up_page):
5605 If there is no bpixmap create one, even if size
5608 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
5610 * ps/ps-document.c: (ps_document_init), (ps_document_cleanup),
5611 (set_up_page), (document_load), (ps_document_set_zoom):
5613 Default page is 0. Calculate size even when we have no
5616 2005-02-28 Carlos Garcia Campos <carlosgc@gnome.org>
5618 * shell/ev-sidebar.c: expand the selection widget to be always as
5621 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
5623 * shell/ev-sidebar-thumbnails.c:
5624 (ev_sidebar_thumbnails_set_document):
5626 Clear the list store when setting document
5628 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
5630 * shell/ev-page-action.c: (update_entry), (sync_entry),
5631 (activate_cb), (entry_size_request_cb), (create_tool_item),
5634 Use an entry for the page control instead of spinbuttons
5636 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
5638 * data/evince.schemas.in:
5640 Correct confusing string
5642 Sun Feb 27 23:00:31 2005 Jonathan Blandford <jrb@redhat.com>
5644 * shell/ev-sidebar-links.c (do_one_iteration): Handle title links
5645 for real. Gosh, how long has this been broken.
5647 * pdf/xpdf/pdf-document.cc (build_link_from_action): add back the
5648 check for a NULL link. We crash otherwise.
5650 2005-02-27 Marco Pesenti Gritti <marco@gnome.org>
5657 2005-02-25 Sebastien Bacher <seb128@debian.org>
5659 * configure.ac: add the french translation.
5661 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
5663 * shell/ev-window.c:
5665 Remove unused header -> fix distcheck
5667 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
5669 * shell/ev-window.c: (update_window_title),
5670 (ev_window_popup_password_dialog):
5672 Unescape filename for display
5674 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
5676 * pdf/xpdf/pdf-document.cc:
5678 In get_page_size deal with rotation. Also
5679 cleanup the function a bit.
5681 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
5683 * pdf/xpdf/pdf-document.cc:
5685 Fix crash when opening in new window
5687 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
5691 Check ghostscript >= 7
5693 2005-02-25 Pedro Villavicencio <pvillavi@gnome.cl>
5695 * shell/ev-window.c:
5697 Make page width the default sizing mode
5699 2005-02-25 Carlos Garcia Campos <carlosgc@gnome.org>
5700 Marco Pesenti Gritti <marco@gnome.org>
5702 * shell/ev-window.c: Remember the sidebar size
5704 * data/evince.schemas.in: Add a new gconf key to store the size of
5707 2005-02-24 Kai Willadsen <kaiw@itee.uq.edu.au>
5709 * data/evince-ui.xml:
5710 * shell/ev-window.c: (update_action_sensitivity),
5711 (ev_window_cmd_view_reload):
5713 Add a "Reload" action and menu entry
5715 Thu Feb 24 23:07:33 2005 Jonathan Blandford <jrb@redhat.com>
5717 * shell/ev-window.c (hide_sidebar_and_actions): Hide the sidebar
5718 iff the type doesn't support thumbnailing and indexing.
5720 2005-02-24 Martin Kretzschmar <martink@gnome.org>
5722 * configure.ac (ALL_LINGUAS): Added "zh_TW" (Traditional Chinese).
5724 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
5726 * pdf/splash/Splash.cc:
5728 Port fix for a crasher from kde bug
5729 http://bugs.kde.org/show_bug.cgi?id=97131
5731 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
5733 * pdf/xpdf/pdf-document.cc:
5735 Return a link even if it's of an unrecognized
5736 type. Otherwise we go in an infinte cycle.
5738 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
5740 * shell/ev-window.c: (update_sizing_buttons), (update_view_size),
5741 (size_allocate_cb), (ev_window_set_sizing_mode):
5743 Update size when switching mode
5745 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
5747 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
5748 (ev_window_cmd_view_page_width), (update_sizing_buttons),
5749 (ev_window_cmd_view_normal_size):
5751 Fix size toggle buttons behavior
5753 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
5755 * shell/ev-view.c: (ev_view_get_offsets), (view_rect_to_doc_rect),
5756 (doc_rect_to_view_rect), (ev_view_size_allocate),
5757 (expose_bin_window), (ev_view_select_all), (page_changed_callback),
5758 (scale_changed_callback):
5760 Do not cache offsets in size_allocate.
5762 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
5764 * shell/ev-view.c: (ev_view_size_allocate):
5766 Calculate offsets before calling the parent
5767 class (which does a redraw)
5769 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
5771 * pdf/xpdf/pdf-document.cc:
5773 Fix a crasher on exit. Unused code, put a TODO
5775 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
5777 * backend/ev-document.c: (ev_document_class_init),
5778 (ev_document_page_changed), (ev_document_scale_changed):
5779 * backend/ev-document.h:
5781 Separate page/scale notifications
5783 * pdf/xpdf/pdf-document.cc:
5785 Emit the new signals.
5786 Do not display the pdf page in _render, do it
5787 when scale/page are requested.
5789 * ps/ps-document.c: (ps_document_set_zoom),
5790 (ps_document_widget_event):
5793 Emit the new signals.
5795 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
5796 (ev_view_init), (page_changed_callback), (scale_changed_callback),
5797 (ev_view_set_document), (ev_view_zoom), (ev_view_zoom_in),
5798 (ev_view_zoom_out), (size_to_zoom_factor), (ev_view_set_size):
5800 * shell/ev-window.c: (ev_window_cmd_view_normal_size),
5801 (ev_window_cmd_view_page_width), (size_allocate_cb),
5802 (ev_window_set_sizing_mode):
5804 Rework sizing to be pixel based.
5805 There are bugs but should be already way better.
5807 2005-02-23 Marco Pesenti Gritti <marco@gnome.org>
5809 * shell/ev-window.c: (ev_window_init):
5811 Do not allow to shrink sidebar smaller then
5814 2005-02-23 Carlos Garcia Campos <carlosgc@gnome.org>
5816 * shell/ev-sidebar.[ch]
5817 * shell/ev-window.c:
5819 Improved sidebar widget. Fixes #166683
5821 2005-02-23 Tommi Vainikainen <thv@iki.fi>
5823 * shell/ev-view.c (update_find_status_message): Give translators
5824 more flexibility with ngettext plural handling.
5826 Mon Feb 21 17:52:08 2005 Jonathan Blandford <jrb@redhat.com>
5828 * pdf/xpdf/pdf-document.cc (pdf_document_get_page_size): Patch
5829 from Crispin Flowerday <gnome@flowerday.cx> to avoid rendering the
5830 page when we get the page size.
5832 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
5834 * ps/ps-document.c: (ps_document_set_page), (ps_document_get_page):
5836 ps pages are 0 based, convert
5838 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
5840 * ps/ps-document.c: (ps_document_class_init), (ps_document_load):
5842 Initialize correct parent class. Set GError on document load
5844 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
5846 * pdf/xpdf/pdf-document.cc:
5848 Fixup selection offset calculation
5850 * shell/ev-view.c: (view_rect_to_doc_rect),
5851 (doc_rect_to_view_rect), (ev_view_size_allocate),
5852 (expose_bin_window), (ev_view_select_all), (ev_view_copy),
5853 (ev_view_primary_get_cb), (ev_view_motion_notify_event):
5855 Store selection as document relative, so that zooming
5856 and offset changing doesnt break it.
5858 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
5860 * shell/ev-view.c: (ev_view_best_fit):
5862 Do not try to best fit if the view is not realized
5864 2005-02-20 Kostas Papadimas <pkst@gnome.org>
5866 * configure.ac (ALL_LINGUAS): Added "el" (Greek).
5868 Fri Feb 18 16:06:39 2005 Jonathan Blandford <jrb@redhat.com>
5870 * shell/ev-window.c (ev_window_focus_in_event): missed a case.
5872 Fri Feb 18 15:32:57 2005 Jonathan Blandford <jrb@redhat.com>
5874 * shell/ev-window.c: Change the fullscreen toolbar to always be in
5875 the popup window. That prevents it resizing when in full screen
5878 * shell/ev-view.c: Change Zoom epsilon as a bad hack to avoid
5879 multiple rerenders. This pretty much sucks.
5881 * data/evince-ui.xml: Change the fullscreen toolbar to include the
5882 rest of the toolbar.
5884 2005-02-18 Tommi Vainikainen <thv@iki.fi>
5886 * configure.ac (ALL_LINGUAS): Added "fi" (Finnish).
5888 2005-02-17 Alexander Shopov <ash@contact.bg>
5890 * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
5892 2005-02-16 Bryan Clark <clarkbw@cvs.gnome.org>
5894 * shell/ev-window.c: added ellipsis to Print item. Fixes bug 166915
5896 2005-02-16 Marco Pesenti Gritti <marco@gnome.org>
5898 * shell/ev-view.c: (ev_view_realize), (highlight_find_results),
5899 (ev_view_create_invisible_cursor), (ev_view_set_cursor),
5900 (set_document_page), (document_changed_callback),
5901 (ev_view_set_document), (ev_view_find_previous),
5902 (ev_view_hide_cursor), (ev_view_show_cursor):
5904 * shell/ev-window.c: (update_chrome_visibility),
5905 (fullscreen_timeout_cb), (fullscreen_set_timeout),
5906 (fullscreen_clear_timeout), (fullscreen_motion_notify_cb),
5907 (fullscreen_leave_notify_cb), (ev_window_fullscreen),
5908 (ev_window_unfullscreen):
5909 * shell/main.c: (main):
5911 Automatically hide the fullscreen button.
5912 Patch by Kristian Høgsberg <krh@redhat.com>
5914 2005-02-16 Vincent Noel <vnoel@cox.net>
5916 * shell/main.c (main): Specify an icon for the window. Patch by
5917 Jaap A. Haitsma. Fixes #166177.
5919 Wed Feb 16 06:30:13 2005 Jonathan Blandford <jrb@redhat.com>
5921 * shell/ev-view.c (ev_view_realize): get rid of the black flash.
5923 Tue Feb 15 22:27:13 2005 Jonathan Blandford <jrb@redhat.com>
5925 * backend/ev-document-misc.h:
5926 * backend/ev-document-misc.c:
5927 (ev_document_misc_get_page_border_size),
5928 (ev_document_misc_paint_one_page): New function to canonicalize
5929 sizing/painting a border.
5931 * shell/Makefile.am: Remove ev-page-view.c entirely as it's not
5934 * pdf/xpdf/pdf-document.cc: use new function
5936 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
5937 (ev_view_init), (ev_view_set_mode), (ev_view_zoom),
5938 (ev_view_best_fit), (ev_view_fit_width): * shell/ev-view.h: *
5939 shell/ev-window.c: (update_sizing_buttons),
5940 (ev_window_setup_document), (ev_window_cmd_view_zoom_in),
5941 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_best_fit),
5942 (ev_window_cmd_view_page_width), (size_allocate_cb),
5943 (ev_window_set_sizing_mode), (ev_window_init): make the "best fit"
5944 and "fit width" values act as toggle buttons so they stay
5945 toggled. It's not 100% perfect, and it's a little slow, but it's
5946 good enough to commit I think.
5948 2005-02-15 David Lodge <dave@cirt.net>
5950 * configure.ac (ALL_LINGUAS): Added "en_GB" (English (British)).
5952 2005-02-15 Martin Kretzschmar <martink@gnome.org>
5954 * shell/ev-window.c (update_window_title): replace newlines in
5955 the title by spaces. Bug #166107.
5957 2005-02-14 Martin Kretzschmar <martink@gnome.org>
5959 * shell/ev-view.c (ev_view_best_fit, ev_view_fit_width): add
5960 parameters providing allocation width and height without
5961 scrollbars and width of a possible vertical scrollbar. With this
5962 additional information the functions can work as
5963 intended. Unfortunately they're not idempotent. We should
5964 transform these commands to toggles. Fixes Bug #164976
5965 Initial patch by Stephane Loeuillet, then heavily modified.
5967 * shell/ev-view.h: update prototypes.
5969 * shell/ev-window.c (ev_window_cmd_view_best_fit)
5970 (ev_window_cmd_view_page_width): provide EvView fit functions with
5971 all the information they need. Formulas to calculate this
5972 information taken from GtkScrolledWindow.
5974 2005-02-14 Crispin Flowerday <gnome@flowerday.cx>
5976 * shell/ev-sidebar-thumbnails.c: Ensure that after we have
5977 created a thumbnail, the list store is updated to know
5978 that the thumbnail is set. Fixes bug #166792
5980 2005-02-11 Bryan Clark <clarkbw@cvs.gnome.org>
5982 * shell/ev-window.c: fixed typo, closes bug 166897
5984 * TODO: updated TODO with bug numbers that are relevant
5986 2005-02-09 Carlos Garcia Campos <carlosgc@gnome.org>
5988 * shell/ev-window.c: Support for DnD of files. Fixes #164813
5990 2005-02-09 Vincent Noel <vnoel@cox.net>
5992 * shell/ev-window.c: (set_action_properties): Set the "Previous"
5993 and "Next" toolbar buttons as important to make them stand out.
5995 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
5999 * ps/ps-document.c: (ps_document_finalize), (set_up_page),
6000 (start_interpreter), (stop_interpreter), (document_load),
6001 (ps_document_next_page), (ps_document_goto_page),
6002 (ps_document_set_page_size), (ps_document_widget_event),
6003 (ps_document_render):
6004 * shell/ev-page-view.c: (ev_page_view_dispose):
6005 * shell/ev-view.c: (ev_view_finalize), (expose_bin_window):
6007 Fix compilation on non-gcc platforms
6009 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
6016 * pdf/xpdf/Catalog.cc:
6019 Fix the fix for CAN-2004-0888
6021 2005-02-09 Luca Ferretti <elle.uca@libero.it>
6024 * data/evince-ui.xml:
6025 * shell/ev-stock-icons.c: (ev_stock_icons_init):
6026 * shell/ev-stock-icons.h:
6027 * shell/ev-window.c: (update_action_sensitivity),
6028 (ev_window_cmd_go_previous_page), (ev_window_cmd_go_next_page),
6029 (set_action_properties):
6031 Improve toolbar layout/icons
6033 2005-02-08 Marco Pesenti Gritti <marco@gnome.org>
6035 * pdf/xpdf/pdf-document.cc:
6037 Add warnings about unimplemented/unknown link
6040 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
6042 * ps/ps-document.c: (set_up_page):
6046 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
6048 * ps/ps-document.c: (start_interpreter):
6052 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
6054 * shell/ev-page-view.c: (ev_page_view_dispose):
6055 * shell/ev-view.c: (ev_view_finalize):
6056 * shell/ev-window.c: (ev_window_setup_document),
6057 (ev_window_dispose), (ev_window_init):
6059 Solve more refs issues.
6061 I commented out the page_view initialization for now:
6062 it was never destroyed (because it's never added
6063 to a container). Because of that we was leaking
6064 gs processes. Couldnt think to a clean fix.
6065 We need to figure this out, password view has the
6066 same issue probably.
6068 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
6070 * ps/ps-document.c: (ps_document_finalize),
6071 (ps_document_get_n_pages), (ps_document_get_page):
6073 Some cleanups, stop the interpreter on finalize
6075 * shell/ev-page-view.c: (ev_page_view_dispose),
6076 (ev_page_view_class_init):
6078 Release our reference on the document
6080 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
6084 * doc/debugging.txt:
6087 * lib/ev-debug.c: (log_module), (trap_handler), (ev_debug_init),
6088 (ev_profiler_new), (ev_should_profile), (ev_profiler_dump),
6089 (ev_profiler_free), (ev_profiler_start), (ev_profiler_stop):
6092 Add debugging helpers
6095 * ps/ps-document.c: (set_up_page), (start_interpreter),
6096 (stop_interpreter), (document_load), (ps_document_next_page),
6097 (ps_document_goto_page), (ps_document_set_page_size),
6098 (ps_document_widget_event), (ps_document_render):
6099 * shell/Makefile.am:
6100 * shell/ev-view.c: (expose_bin_window):
6101 * shell/main.c: (main):
6105 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
6107 * ps/ps-document.c: (ps_document_widget_event):
6109 Initialize message_window, this should make ps
6110 rendering really work! (Never noticed because I was
6111 testing with a ps that is causing gs to exit every time!)
6113 2005-02-07 Bryan Clark <clarkbw@cvs.gnome.org>
6115 * data/evince.schemas.in: updated simple error in applyto closing tag
6117 2005-02-07 Christian Persch <chpe@cvs.gnome.org>
6123 * data/evince-ui.xml:
6124 A data/evince.schemas.in:
6126 * shell/ev-stock-icons.c: (ev_stock_icons_init):
6127 * shell/ev-stock-icons.h:
6128 * shell/ev-window.c: (update_chrome_visibility),
6129 (update_chrome_flag), (ev_window_cmd_edit_find),
6130 (ev_window_update_fullscreen_popup), (ev_window_fullscreen),
6131 (ev_window_unfullscreen), (ev_window_focus_in_event),
6132 (ev_window_focus_out_event), (ev_window_cmd_leave_fullscreen),
6133 (ev_window_view_toolbar_cb), (ev_window_view_statusbar_cb),
6134 (ev_window_view_sidebar_cb), (find_bar_close_cb),
6135 (ev_window_dispose), (ev_window_class_init),
6136 (set_action_properties), (set_chrome_actions), (load_chrome),
6139 Implement fullscreen mode changes from bug #164776.
6140 Also implement persistent chrome toggles.
6142 2005-02-07 Jordi Mallach <jordi@sindominio.net>
6144 * configure.ac (ALL_LINGUAS): Added "ca" (Catalan).
6146 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
6152 Add another check for find interface
6156 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
6158 * shell/ev-application.c: (ev_application_open):
6159 * shell/ev-window.c: (ev_window_open):
6161 Open gzipped ps documents
6163 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
6166 * shell/ev-view.c: (set_document_page):
6168 Clamp page number, dont try to move to
6171 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
6173 * backend/ev-document-find.c: (ev_document_find_changed):
6174 * backend/ev-document-find.h:
6175 * pdf/xpdf/pdf-document.cc:
6176 * shell/ev-view.c: (jump_to_find_result), (ev_view_set_document):
6177 * shell/ev-window.c: (find_bar_search_changed_cb):
6179 Fix several bugs with find
6181 2005-02-04 Martin Kretzschmar <martink@gnome.org>
6183 * shell/ev-sidebar-thumbnails.c
6184 (ev_sidebar_thumbnails_select_page): do nothing unless we have a
6185 document. Prevents warning from scroll_to_cell.
6187 2005-02-02 Kjartan Maraas <kmaraas@gnome.org>
6189 * configure.ac: Add «nb» to ALL_LINGUAS too.
6191 Wed Feb 2 21:13:11 2005 Jonathan Blandford <jrb@redhat.com>
6193 * NOTES: New file with some random thoughts.
6197 * backend/ev-document-misc.c:
6198 (ev_document_misc_get_page_border_size): New function to
6199 canonicalize shadow drawing sizes. Possibly goofy.
6201 * shell/ev-view.c: (ev_view_size_request), (set_document_page),
6202 (ev_view_best_fit), (ev_view_fit_width):
6203 * pdf/xpdf/pdf-document.cc:
6204 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
6205 * ps/ps-document.c: (ps_document_get_page_size):
6206 * backend/ev-document-misc.h:
6207 * backend/ev-document.c: (ev_document_get_page_size):
6208 * backend/ev-document.h: get_page_size now takes a page number
6209 parameter. Made all the backends/frontends honor it.
6211 * data/evince-ui.xml: Added a multiple-page mode. Uncomment to
6212 see. Doesn't work yet.
6214 * shell/Makefile.am:
6215 * shell/ev-page-view.[ch]: New multi-page view. Really rough.
6216 Doesn't do anything yet.
6218 * shell/ev-sidebar-thumbnails.c:
6219 (ev_sidebar_thumbnails_set_document): [1..n_pages] instead of
6222 * shell/ev-window.c: (update_action_sensitivity),
6223 (ev_window_setup_document), (ev_window_set_page_mode),
6224 (ev_window_page_mode_cb), (ev_window_init): Clean up the
6225 view-swapping code a bit so we can have multiple views on a
6226 document. Add the multi-page view, though it can't be turned on
6229 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
6231 * shell/ev-application.c: (ev_application_open):
6232 * shell/ev-view.c: (expose_bin_window):
6233 * shell/ev-window.c: (ev_window_open):
6235 Support eps and check document supports find
6236 before drawing highlightings in expose.
6238 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
6240 * pixbuf/pixbuf-document.c:
6241 (pixbuf_document_thumbnails_get_dimensions),
6242 (pixbuf_document_document_thumbnails_iface_init):
6244 implement get_dimensions
6246 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
6253 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
6255 * shell/ev-view.c: (set_document_page):
6257 Scroll at the top of the page when changing page
6259 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
6261 * shell/ev-view.c: (ev_view_motion_notify_event):
6263 Do not redraw unnecessarily
6265 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
6267 * pdf/xpdf/pdf-document.cc:
6268 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
6269 (expose_bin_window), (find_changed_cb):
6271 Yay! find works now... Now to find bugs...
6273 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
6275 * backend/ev-document-find.c: (ev_document_find_base_init),
6276 (ev_document_find_changed):
6277 * backend/ev-document-find.h:
6278 * pdf/xpdf/pdf-document.cc:
6279 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
6280 (expose_bin_window), (ev_view_init), (set_document_page),
6281 (ensure_rectangle_is_visible), (jump_to_find_result),
6282 (jump_to_find_page), (find_changed_cb), (ev_view_set_document),
6283 (ev_view_find_next), (ev_view_find_previous):
6285 * shell/ev-window.c: (find_bar_previous_cb), (find_bar_next_cb):
6287 More work on find implementation, mostly there now
6289 2005-01-29 Marco Pesenti Gritti <marco@gnome.org>
6291 * backend/ev-backend-marshalers.list:
6292 * backend/ev-document-find.c: (ev_document_find_base_init),
6293 (ev_document_find_cancel), (ev_document_find_page_has_results),
6294 (ev_document_find_get_n_results), (ev_document_find_get_result),
6295 (ev_document_find_get_progress), (ev_document_find_changed):
6296 * backend/ev-document-find.h:
6298 Enanche the find interface to be really able to do
6301 * pdf/xpdf/pdf-document.cc:
6305 * shell/ev-view.c: (ev_view_finalize), (highlight_find_results),
6306 (expose_bin_window), (ev_view_init),
6307 (ev_view_get_find_status_message), (find_changed_cb),
6308 (ev_view_set_document), (set_document_page):
6310 Adapt to the new interface. A few things are regressed sorry,
6311 I will finish it soon.
6313 2005-01-28 Martin Kretzschmar <martink@gnome.org>
6315 * shell/ev-sidebar-thumbnails.c (ev_sidebar_thumbnails_destroy)
6316 (ev_sidebar_thumbnails_class_init): use G_DEFINE_TYPE-supplied
6317 ev_sidebar_thumbnails_parent_class variable, don't define another
6318 parent_class variable.
6320 * shell/ev-page-action.c (connect_proxy, ev_page_action_finalize)
6321 (ev_page_action_class_init): ditto.
6323 * pixbuf/pixbuf-document.c (pixbuf_document_finalize)
6324 (pixbuf_document_class_init): ditto.
6326 * backend/ev-link.c (ev_window_dispose, ev_link_class_init):
6329 * .cvsignore: ignore various valgrind output files.
6331 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
6333 * data/evince-ui.xml:
6334 * shell/Makefile.am:
6335 * shell/ev-history.c:
6336 * shell/ev-history.h:
6337 * shell/ev-navigation-action.c:
6338 * shell/ev-navigation-action.h:
6339 * shell/ev-view.c: (ev_view_finalize), (ev_view_go_to_link),
6340 (ev_view_set_page), (ev_view_fit_width):
6342 * shell/ev-window.c: (update_action_sensitivity),
6343 (ev_window_setup_document), (register_custom_actions):
6345 Kill session history
6347 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
6349 * shell/ev-window.c: (update_action_sensitivity):
6351 Fix inverted up/down buttons
6353 2005-01-27 Martin Kretzschmar <martink@gnome.org>
6355 * shell/ev-sidebar-thumbnails.c
6356 (ev_sidebar_thumbnails_select_page): make sure the selected
6357 thumbnail stays visible.
6359 2005-01-26 Martin Kretzschmar <martink@gnome.org>
6361 * shell/ev-window.c (ev_window_init): add GTK_SHADOW_IN to the
6362 scrolled window for Federico.
6364 2005-01-26 Ole Laursen <olau@hardworking.dk>
6366 * configure.ac: Added "da" (Danish) to ALL_LINGUAS.
6368 2005-01-26 Marco Pesenti Gritti <marco@gnome.org>
6371 * pdf/splash/SplashFTFontEngine.cc:
6373 Fix CID fonts with freetype 2.1.9
6375 2005-01-26 Bryan Clark <clarkbw@cvs.gnome.org>
6377 * TODO: added item for desktop icon thumbnailer
6379 Tue Jan 25 00:59:34 2005 Jonathan Blandford <jrb@redhat.com>
6381 * pdf/xpdf/pdf-document.cc (pdf_document_get_title): guard against
6382 unloaded docs when the title is accessed.
6384 * shell/ev-password-view.[hc]: New widget for displaying password
6387 * shell/ev-window.[ch]: Refactor password handling code to handle
6390 2005-01-24 Marco Pesenti Gritti <marco@gnome.org>
6398 2005-01-23 Stephane LOEUILLET <stephane.loeuillet@tiscali.fr>
6400 * pdf/xpdf/pdf-document.cc (pdf_document_search_page_changed):
6401 ignore page offset here, to make search results independent of it,
6403 * shell/ev-view.c (expose_bin_window): but take offsets into
6404 account here. Bug #164932
6406 * pdf/xpdf/pdf-document.cc (pdf_document_get_link): divide by
6407 scale at the right time. Bug #164996
6409 2005-01-22 Martin Kretzschmar <martink@gnome.org>
6411 * pdf/xpdf/GlobalParams.cc: My 2005-01-05 change didn't actually
6412 fix the problem. Now I just removed the Adobe font names and hope
6413 that the URW fonts are always in outline format. Bug #164934
6415 * shell/ev-window.c (update_window_title): empty titles are
6416 useless, use filename in that case too.
6418 * NEWS: Add some content.
6420 2005-01-21 Bryan Clark <clarkbw@cvs.gnome.org>
6422 * TODO: added one more TODO item and a TODONE section :)
6424 2005-01-21 Martin Kretzschmar <martink@gnome.org>
6426 * ps/ps-document.h: add page_[xy]_offset fields.
6428 * ps/ps-document.c (ps_document_set_page_offset)
6429 (ps_document_render): Keep offset in consideration in a few
6430 places. Bug #164752 "postscript documents are not centered in
6433 * data/evince.desktop.in (X-GNOME-Bugzilla-Product):
6434 s/gpdf/evince/. Spotted by Stephane Loeuillet.
6436 * pixbuf/pixbuf-document.c (pixbuf_document_get_n_pages)
6437 (pixbuf_document_get_text, pixbuf_document_document_iface_init):
6438 stub out missing methods for complete EvDocument implementation.
6439 Fixes segfaults with Save A Copy and Copy actions.
6441 * ps/ps-document.c (ps_document_save, ps_document_get_text)
6442 (ps_document_document_iface_init): ditto.
6444 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
6448 * data/evince.desktop.in:
6452 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
6454 * shell/ev-view.c: (ev_view_button_press_event),
6455 (ev_view_motion_notify_event):
6457 Make selection work in any direction
6459 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
6462 * shell/ev-window.c: (set_short_labels), (ev_window_init):
6464 Use shorter labels for some of the toolbars items
6466 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
6468 * pdf/xpdf/pdf-document.cc:
6470 Check the links info is initialized before
6471 using it. Should fix a crash on startup.
6473 2005-01-21 Martin Kretzschmar <martink@gnome.org>
6475 * pixbuf/pixbuf-document.c
6476 (pixbuf_document_thumbnails_get_dimensions): force floating point
6477 division to calculate page_ratio. Fixes crash with landscape
6480 Thu Jan 20 18:56:35 2005 Jonathan Blandford <jrb@redhat.com>
6482 * shell/ev-view.c (ev_view_realize): make the bg color darker.
6484 2005-01-20 Martin Kretzschmar <martink@gnome.org>
6486 * shell/ev-view.c (set_document_page): unset has_selection when
6488 (set_document_page): handle paper size changes when the page
6489 changes (test with Free Culture, page 2).
6491 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
6493 * shell/ev-view.c: (ev_view_size_request), (ev_view_realize),
6494 (expose_bin_window), (ev_view_class_init), (ev_view_init):
6496 Use normal style color for the widget background and
6497 draw a black box around the page.
6499 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
6501 * pdf/xpdf/pdf-document.cc:
6503 Keep offset in consideration in a few places
6505 * shell/ev-view.c: (expose_bin_window):
6507 Set the offsets so that the document is ever centered
6509 2005-01-20 Bryan Clark <clarkbw@cvs.gnome.org>
6511 * TODO: Added TODO items and finished off the first todo item
6513 * AUTHORS: Updated AUTHORS section with piece from gpdf file and
6514 reflect current authors
6516 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
6518 * pdf/xpdf/pdf-document.cc:
6519 * shell/ev-view.c: (ev_view_set_cursor),
6520 (ev_view_motion_notify_event), (document_changed_callback),
6521 (set_document_page):
6523 Show a wait cursor while the page is rendering
6525 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
6527 * shell/ev-sidebar-thumbnails.c:
6528 (ev_sidebar_tree_selection_changed),
6529 (ev_sidebar_thumbnails_select_page):
6530 * shell/ev-sidebar-thumbnails.h:
6531 * shell/ev-view.c: (ev_view_set_document), (ev_view_can_go_back),
6532 (ev_view_can_go_forward):
6533 * shell/ev-window.c: (ev_window_open_page),
6534 (ev_window_setup_document), (update_current_page),
6535 (view_page_changed_cb), (ev_window_init):
6536 * shell/ev-window.h:
6538 Ensure thumbnails selection, toolbar page control and
6539 current page are in sync.
6541 2005-01-19 Marco Pesenti Gritti <marco@gnome.org>
6547 Wed Jan 19 01:10:57 2005 Jonathan Blandford <jrb@redhat.com>
6549 * backend/Makefile.am:
6550 * backend/ev-document-links.h:
6551 * backend/ev-document-security.c: (ev_document_security_get_type),
6552 (ev_document_security_has_document_security),
6553 (ev_document_security_set_password):
6554 * backend/ev-document-security.h:
6555 * backend/ev-document.c: (ev_document_error_quark):
6556 * backend/ev-document.h:
6558 * data/evince-password.glade:
6559 * pdf/xpdf/pdf-document.cc:
6560 * shell/Makefile.am:
6561 * shell/ev-password.c: (ev_password_set_bad_password_label),
6562 (ev_window_password_entry_changed_cb), (ev_password_dialog_new),
6563 (ev_password_dialog_get_password),
6564 (ev_password_dialog_set_bad_pass):
6565 * shell/ev-password.h:
6566 * shell/ev-window.c: (ev_window_get_attribute),
6567 (ev_window_set_property), (update_action_sensitivity),
6568 (ev_window_is_empty), (mime_type_supported_by_gdk_pixbuf),
6569 (ev_window_setup_document), (ev_window_get_password),
6570 (ev_window_open), (ev_window_cmd_save_as),
6571 (using_postscript_printer), (ev_window_print),
6572 (find_not_supported_dialog), (ev_window_cmd_edit_find),
6573 (update_fullscreen_popup), (ev_window_fullscreen),
6574 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
6575 (ev_window_focus_out_cb), (ev_window_cmd_help_about),
6576 (menu_item_select_cb), (find_bar_search_changed_cb),
6577 (ev_window_dispose), (ev_window_init):
6579 Add initial support for password-supported dialogs. This could be
6580 a lot cooler, but it'll do for now.
6582 2005-01-18 Marco Pesenti Gritti <marco@gnome.org>
6584 * pdf/xpdf/pdf-document.cc:
6585 * shell/ev-view.c: (status_message_from_link),
6586 (ev_view_set_status), (ev_view_set_cursor),
6587 (ev_view_motion_notify_event), (ev_view_init):
6588 * shell/ev-window.c: (view_status_changed_cb), (ev_window_init):
6590 Fix bugs in the links implementation and change cursor
6591 when hovering a link.
6593 2005-01-17 Bryan Clark <clarkbw@cvs.gnome.org>
6595 * viewer/.cvsignore: added cvsignore file for viewer directory
6597 * TODO: created TODO document
6599 2005-01-14 Dave Malcolm <dmalcolm@redhat.com>
6602 * shell/ev-view.c (ev_view_can_go_back), (ev_view_can_go_forward):
6603 new functions to help with implementation of sensitivity code
6604 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
6605 of all actions that might require it. Fixes a crash when you
6606 click on the Zoom actions in a window lacking a document.
6608 2005-01-13 Dave Malcolm <dmalcolm@redhat.com>
6610 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
6613 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
6615 * pixbuf/pixbuf-document.c: (pixbuf_document_get_link),
6616 (pixbuf_document_document_iface_init):
6617 * ps/ps-document.c: (ps_document_get_link),
6618 (ps_document_document_iface_init):
6619 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event),
6620 (status_message_from_link), (ev_view_set_status),
6621 (ev_view_set_find_status), (ev_view_motion_notify_event),
6622 (ev_view_button_release_event), (ev_view_set_property),
6623 (ev_view_get_property), (ev_view_class_init), (ev_view_init),
6624 (ev_view_get_find_status_message), (update_find_results),
6625 (ev_view_get_status), (ev_view_get_find_status):
6627 * shell/ev-window.c: (view_status_changed_cb),
6628 (view_find_status_changed_cb), (ev_window_init):
6630 View status message support, use it to show the links.
6633 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
6635 * backend/ev-document.c: (ev_document_get_link):
6636 * backend/ev-document.h:
6637 * pdf/xpdf/pdf-document.cc:
6638 * shell/ev-application.c: (ev_application_open):
6639 * shell/ev-application.h:
6640 * shell/ev-sidebar-links.c: (selection_changed_cb):
6641 * shell/ev-view.c: (ev_view_button_release_event), (go_to_link),
6642 (ev_view_go_to_link):
6644 Add support for document links
6646 2005-01-13 Anders Carlsson <andersca@gnome.org>
6648 * shell/ev-page-action.c: (update_spin), (total_pages_changed_cb),
6650 Set the spin button limits correctly.
6652 * shell/ev-sidebar-thumbnails.c:
6653 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init):
6654 Support changing pages by clicking on the thumbnails.
6656 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
6658 * pixbuf/pixbuf-document.c:
6659 (pixbuf_document_thumbnails_get_dimensions),
6660 (pixbuf_document_document_thumbnails_iface_init):
6662 implement get_dimensions
6664 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
6666 * ps/ps-document.c: (ps_document_goto_page):
6668 Fix page switching on multipage documents
6670 2005-01-12 Jeff Muizelaar <jrmuizel@nit.ca>
6672 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
6674 check for NULL before assigning to width and height parameters
6676 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
6678 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
6679 (pixbuf_document_set_property), (pixbuf_document_get_property):
6681 implement get/set properties
6683 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
6685 * pdf/xpdf/pdf-document.cc: (pdf_info_dict_get_string):
6687 return NULL instead of "Unknown", letting the title get set to
6688 the filename when the pdf has no title.
6690 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
6692 * ps/ps-document.c: (ps_document_get_page_count),
6693 (ps_document_goto_page):
6695 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
6697 * shell/ev-history.c: (ev_history_get_property),
6698 (ev_history_set_property), (ev_history_class_init),
6699 (ev_history_add_page), (ev_history_set_current_index):
6700 * shell/ev-navigation-action.c: (ev_navigation_action_set_history),
6701 (activate_menu_item_cb), (new_history_menu_item), (build_menu),
6702 (ev_navigation_action_finalize):
6703 * shell/ev-navigation-action.h:
6704 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
6705 (ev_view_go_forward), (ev_view_get_find_status_message),
6706 (history_index_changed_cb), (ev_view_set_history):
6708 * shell/ev-window.c: (update_total_pages), (ev_window_open),
6709 (update_current_page), (register_custom_actions):
6711 Implement history dropdowns
6713 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
6715 * shell/ev-history.c: (ev_history_init), (ev_history_add_link):
6716 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
6717 (ev_view_go_forward):
6718 * shell/ev-window.c: (register_custom_actions):
6720 Fix several history bugs
6722 2005-01-11 Kjartan Maraas <kmaraas@gnome.org>
6724 * configure.ac: Add «nb» to ALL_LINGUAS.
6726 2005-01-10 Marco Pesenti Gritti <marco@gnome.org>
6728 * backend/Makefile.am:
6729 * backend/ev-bookmark.c:
6730 * backend/ev-bookmark.h:
6731 * backend/ev-document-bookmarks.c:
6732 * backend/ev-document-bookmarks.h:
6733 * backend/ev-document-links.c: (ev_document_links_get_type),
6734 (ev_document_links_has_document_links),
6735 (ev_document_links_begin_read), (ev_document_links_get_link),
6736 (ev_document_links_get_child), (ev_document_links_next),
6737 (ev_document_links_free_iter):
6738 * backend/ev-document-links.h:
6739 * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_title),
6740 (ev_link_set_title), (ev_link_get_uri), (ev_link_set_uri),
6741 (ev_link_get_link_type), (ev_link_set_link_type),
6742 (ev_link_get_page), (ev_link_set_page), (ev_link_get_property),
6743 (ev_link_set_property), (ev_window_dispose), (ev_link_init),
6744 (ev_link_class_init), (ev_link_new_title), (ev_link_new_page),
6745 (ev_link_new_external):
6746 * backend/ev-link.h:
6747 * pdf/xpdf/pdf-document.cc:
6748 * shell/Makefile.am:
6749 * shell/ev-application.c: (ev_application_open_link):
6750 * shell/ev-application.h:
6751 * shell/ev-history.c: (ev_history_add_link), (ev_history_add_page),
6752 (ev_history_get_link_nth):
6753 * shell/ev-history.h:
6754 * shell/ev-sidebar-bookmarks.c:
6755 * shell/ev-sidebar-bookmarks.h:
6756 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
6757 (ev_sidebar_links_class_init), (selection_changed_cb),
6758 (ev_sidebar_links_construct), (ev_sidebar_links_init),
6759 (links_page_num_func), (ev_sidebar_links_new), (stack_data_free),
6760 (do_one_iteration), (populate_links_idle),
6761 (ev_sidebar_links_clear_document), (ev_sidebar_links_set_document):
6762 * shell/ev-sidebar-links.h:
6763 * shell/ev-sidebar.c: (ev_sidebar_set_document):
6764 * shell/ev-view.c: (go_to_link), (ev_view_go_to_link),
6767 * shell/ev-window.c: (ev_window_open_link), (ev_window_init):
6768 * shell/ev-window.h:
6770 Rename bookmark to link, and use "Index" for the sidebar panel.
6772 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
6774 * shell/Makefile.am:
6775 * shell/ev-application.c: (ev_application_open_bookmark):
6776 * shell/ev-application.h:
6777 * shell/ev-history.c: (ev_history_init), (free_links_list),
6778 (ev_history_finalize), (ev_history_class_init),
6779 (ev_history_add_link), (ev_history_add_page),
6780 (ev_history_get_link_nth), (ev_history_get_n_links),
6781 (ev_history_get_current_index), (ev_history_set_current_index),
6783 * shell/ev-history.h:
6784 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
6785 * shell/ev-view.c: (ev_view_finalize), (ev_view_set_document),
6786 (set_document_page), (go_to_bookmark), (ev_view_go_to_bookmark),
6787 (go_to_index), (ev_view_go_back), (ev_view_go_forward),
6790 * shell/ev-window.c: (ev_window_open_bookmark),
6791 (ev_window_cmd_go_back), (ev_window_cmd_go_forward),
6792 (goto_page_cb), (register_custom_actions):
6793 * shell/ev-window.h:
6795 Initial history implementation. Needs work.
6797 2005-01-09 Martin Kretzschmar <martink@gnome.org>
6799 * pdf/xpdf/GDKSplashOutputDev.cc (redraw): fix pixbuf data offset.
6801 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
6803 * cut-n-paste/recent-files/egg-recent-item.c:
6804 * cut-n-paste/recent-files/egg-recent-item.h:
6805 * cut-n-paste/recent-files/egg-recent-model.c:
6806 * cut-n-paste/recent-files/egg-recent-util.c:
6807 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
6808 * cut-n-paste/recent-files/egg-recent-view.c:
6812 2005-01-08 Martin Kretzschmar <martink@gnome.org>
6814 * pdf/splash/Splash.cc (clear, drawPixel, drawSpan, xorSpan, getPixel)
6815 (fillGlyph, fillImageMask, drawImage):
6816 pdf/splash/SplashBitmap.cc (SplashBitmap, ~SplashBitmap, writePNMFile):
6817 pdf/splash/SplashTypes.h:
6818 pdf/xpdf/SplashOutputDev (startPage, getColor, imageSrc): implement RGB8
6819 packed mode for Splash.
6821 * pdf/xpdf/GDKSplashOutputDev.cc (GDKSplashOutputDev, redraw): use
6822 RGB8 packed mode, eliminates the pixbuf data creation loop.
6824 * shell/ev-print-job.c (ev_print_job_finalize)
6825 (ev_print_job_set_property, ev_print_job_get_property)
6826 (ev_print_job_set_gnome_print_job, ev_print_job_set_document)
6827 (ev_print_job_use_print_dialog_settings, idle_print_handler)
6828 (print_closure_finalize, ev_print_job_print): implement
6829 printing (for backends with EvPsExporter)
6831 * shell/ev_print_job.h: update prototypes.
6833 * shell/ev-window.c (ev_window_print): unref print job after
6836 * shell/ev-view.c (ev_view_set_document): don't connect to "found"
6837 unless the document implements the EvDocumentFind interface.
6839 2005-01-08 Satoru SATOH <ss@gnome.gr.jp>
6841 * configure.ac: Added ja to ALL_LINGUAS.
6843 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
6845 * pdf/xpdf/pdf-document.cc:
6847 add a FIXME. We should probably not allocate
6848 a bookmark object every time
6850 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
6852 * shell/ev-application.c: (ev_application_open),
6853 (ev_application_open_bookmark):
6854 * shell/ev-application.h:
6856 Add a way to open bookmarks
6858 * backend/ev-bookmark.c: (ev_bookmark_get_uri),
6859 (ev_bookmark_set_uri), (ev_bookmark_get_property),
6860 (ev_bookmark_set_property), (ev_bookmark_class_init),
6861 (ev_bookmark_new_title), (ev_bookmark_new_link),
6862 (ev_bookmark_new_external):
6864 Support for external uris, better constructors.
6866 * backend/ev-bookmark.h:
6867 * pdf/xpdf/pdf-document.cc:
6868 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
6870 Handle external uris
6872 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
6874 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb),
6875 (ev_sidebar_bookmarks_construct), (do_one_iteration):
6877 Hook up bookmarks navigation
6879 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
6881 * backend/Makefile.am:
6882 * backend/ev-bookmark.c: (ev_bookmark_type_get_type),
6883 (ev_bookmark_get_title), (ev_bookmark_set_title),
6884 (ev_bookmark_get_bookmark_type), (ev_bookmark_set_bookmark_type),
6885 (ev_bookmark_get_page), (ev_bookmark_set_page),
6886 (ev_bookmark_get_property), (ev_bookmark_set_property),
6887 (ev_window_dispose), (ev_bookmark_init), (ev_bookmark_class_init),
6889 * backend/ev-bookmark.h:
6890 * backend/ev-document-bookmarks.c:
6891 (ev_document_bookmarks_get_bookmark):
6892 * backend/ev-document-bookmarks.h:
6893 * pdf/xpdf/pdf-document.cc:
6894 * shell/ev-sidebar-bookmarks.c: (do_one_iteration):
6896 Add a bookmark object to the backend and use it instead of get_values
6898 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
6900 * data/evince-ui.xml:
6902 Cleanup and add select all.
6904 * shell/ev-view.c: (ev_view_select_all),
6905 (ev_view_button_press_event):
6907 * shell/ev-window.c: (ev_window_cmd_edit_select_all):
6910 Clear selection on click.
6912 Fri Jan 7 01:28:58 2005 Jonathan Blandford <jrb@redhat.com>
6914 * shell/ev-sidebar-thumbnails.c
6915 (ev_sidebar_thumbnails_set_document): forgot to unref the
6918 Fri Jan 7 01:22:48 2005 Jonathan Blandford <jrb@redhat.com>
6920 * shell/ev-sidebar-thumbnails.c: fill in the thumbnails starting
6921 at the visible page, not just linearly. This makes it look fast.
6923 Thu Jan 6 18:48:11 2005 Jonathan Blandford <jrb@redhat.com>
6925 * backend/ev-document-misc.c
6926 (ev_document_misc_get_thumbnail_frame): fill in the thumbnail with
6928 * backend/ev-document-thumbnails.h: New interface to get the size
6931 2005-01-06 Jeremy Katz <katzj@redhat.com>
6933 * shell/Makefile.am (evince_SOURCES): Add ev-utils.[ch] so that
6936 Wed Jan 5 15:38:28 2005 Jonathan Blandford <jrb@redhat.com>
6938 * pdf/xpdf/pdf-document.cc (bitmap_to_pixbuf): bypass
6939 GDKSplashOutputDev and just use a normal SplashOutputDev. Speeds
6942 * shell/ev-sidebar-thumbnail.c: start of some profiling code.
6944 2005-01-05 Martin Kretzschmar <martink@gnome.org>
6946 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): match only outline
6947 fonts. Should fix font problems on systems that have the base
6948 fonts in bitmap format. Reported by James Henstridge
6949 <james@jamesh.id.au>.
6951 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
6954 * pdf/xpdf/GfxState.cc:
6956 Fix for CAN-2004-1125
6958 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
6960 * shell/ev-view.c: (ev_view_copy):
6962 * shell/ev-window.c: (ev_window_cmd_edit_copy):
6964 Implement Edit->Copy
6966 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
6968 * backend/ev-document.c: (ev_document_get_text):
6969 * backend/ev-document.h:
6970 * pdf/xpdf/pdf-document.cc:
6971 * shell/ev-view.c: (ev_view_realize), (expose_bin_window),
6972 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
6973 (ev_view_update_primary_selection), (ev_view_button_press_event),
6974 (ev_view_motion_notify_event), (ev_view_button_release_event):
6976 Beginnings of clipboard support. Incomplete but primary sort
6979 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
6981 * shell/ev-view.c: (ev_gdk_color_to_rgb), (draw_rubberband),
6982 (expose_bin_window):
6984 Nicer rubberband drawing, from GtkIconView.
6986 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
6988 * backend/ev-document.c: (ev_document_save):
6989 * backend/ev-document.h:
6990 * data/evince-ui.xml:
6991 * pdf/xpdf/pdf-document.cc:
6992 * shell/ev-window.c: (save_error_dialog), (ev_window_cmd_save_as):
6994 Implement "Save a copy..." menu item
6996 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
6998 * shell/ev-view.c: (ev_view_zoom):
7000 Queue a resize when zoom changes
7002 Wed Jan 5 02:33:06 2005 Jonathan Blandford <jrb@redhat.com>
7004 * backend/ev-document-misc.[ch]: New misc file to do simple drop
7007 * pdf/xpdf/pdf-document.cc: use the drop shadows in both types of
7010 Tue Jan 4 22:32:32 2005 Jonathan Blandford <jrb@redhat.com>
7012 * pdf/xpdf/pdf-document.cc
7013 (pdf_document_thumbnails_get_page_pixbuf): poor man's dropshadow.
7015 Tue Jan 4 21:25:05 2005 Jonathan Blandford <jrb@redhat.com>
7017 * pdf/xpdf/pdf-document.cc: Do real thumbnailing of PDF files.
7018 It's slow, but I'll speed it up next!
7020 2005-01-04 Jeff Muizelaar <jrmuizel@nit.ca>
7022 * shell/main.c (load_files):
7024 use gnome_vfs_make_uri_from_shell_arg so that relative paths work
7025 from the command line and because it seems more appropriate.
7027 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
7029 * data/evince-ui.xml:
7030 * shell/ev-window.c: (update_action_sensitivity),
7031 (ev_window_cmd_go_page_up), (ev_window_cmd_go_page_down):
7033 s/next page/page down
7034 s/previous page/page up
7036 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
7038 * data/evince-ui.xml:
7040 Change the layout to match clarkbw design.
7042 * shell/Makefile.am:
7043 * shell/ev-navigation-action.c: (build_menu), (menu_activated_cb),
7044 (set_tooltip_cb), (connect_proxy), (ev_navigation_action_init),
7045 (ev_navigation_action_finalize),
7046 (ev_navigation_action_set_property),
7047 (ev_navigation_action_get_property),
7048 (ev_navigation_action_class_init):
7049 * shell/ev-navigation-action.h:
7051 Implement clarkbw toolbar navigation controls (incomplete)
7053 * shell/ev-page-action.c: (update_label), (update_spin),
7054 (value_changed_cb), (create_tool_item), (connect_proxy),
7055 (ev_page_action_init), (ev_page_action_finalize),
7056 (ev_page_action_set_property), (ev_page_action_get_property),
7057 (ev_page_action_set_current_page),
7058 (ev_page_action_set_total_pages), (ev_page_action_class_init):
7059 * shell/ev-page-action.h:
7061 Implement a page switcher in the toolbar
7063 * shell/ev-view.c: (ev_view_scroll_view):
7064 * shell/ev-window.c: (update_total_pages), (ev_window_open),
7065 (update_current_page), (view_page_changed_cb), (goto_page_cb),
7066 (register_custom_actions), (ev_window_init):
7068 Change page on PageUp/Down.
7070 Tue Jan 4 03:22:56 2005 Jonathan Blandford <jrb@redhat.com>
7072 * pdf/xpdf/pdf-document.cc
7073 (pdf_document_thumbnails_get_thumbnail): initial stab at
7074 implementing thumbnail support for pdfs. It only does documents
7075 with precached pdfs now.
7077 Mon Jan 3 17:22:25 2005 Jonathan Blandford <jrb@redhat.com>
7079 * shell/ev-sidebar-thumbnails.c (do_one_iteration): move the
7080 thumbnail code into a time-based idle as well. Also, turn off the
7081 shadow temporarily as it's really slow.
7083 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
7085 * backend/ev-document.c: (ev_document_class_init):
7086 * pdf/xpdf/pdf-document.cc:
7087 * shell/ev-window.c: (ev_window_open):
7089 Fix document title bugs and fallback to
7090 filename when not available.
7092 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
7094 * backend/ev-document.c: (ev_document_get_type),
7095 (ev_document_class_init), (ev_document_load),
7096 (ev_document_get_title):
7097 * backend/ev-document.h:
7098 * pdf/xpdf/pdf-document.cc:
7099 * ps/ps-document.c: (ps_document_set_property),
7100 (ps_document_get_property), (ps_document_class_init),
7104 * shell/ev-window.c: (update_window_title), (ev_window_open),
7107 Initial support for document title. Not working yet.
7109 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
7111 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event):
7113 Grab focus on the view when clicking it
7115 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
7117 * shell/ev-marshal.list:
7118 * shell/ev-view.c: (ev_view_realize), (add_scroll_binding),
7119 (ev_view_scroll_view), (ev_view_class_init), (ev_view_init):
7121 Add key bindings to the view. Now if the focus would work
7124 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
7127 * backend/Makefile.am:
7130 * dvi/dvilib/Makefile.am:
7131 * pdf/xpdf/Makefile.am:
7137 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
7139 * shell/ev-view.c: (ev_view_realize):
7141 Fix mouse wheel scrolling
7143 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
7149 * ps/ps-document.c: (catchPipe), (ps_document_init),
7150 (ps_document_class_init), (ps_document_cleanup),
7151 (ps_document_finalize), (send_ps), (ps_document_get_orientation),
7152 (set_up_page), (close_pipe), (is_interpreter_ready),
7153 (interpreter_failed), (output), (input), (start_interpreter),
7154 (stop_interpreter), (file_length), (file_readable),
7155 (check_filecompressed), (check_pdf), (compute_xdpi),
7156 (compute_ydpi), (compute_size), (ps_document_enable_interpreter),
7157 (ps_document_get_type), (ps_document_emit_error_msg),
7158 (document_load), (ps_document_next_page),
7159 (ps_document_get_current_page), (ps_document_get_page_count),
7160 (ps_document_goto_page), (ps_document_set_page_size),
7161 (ps_document_zoom_to_fit), (ps_document_set_zoom),
7162 (ps_document_load), (ps_document_get_n_pages),
7163 (ps_document_set_page), (ps_document_get_page),
7164 (ps_document_widget_event), (ps_document_set_target),
7165 (ps_document_set_scale), (ps_document_set_page_offset),
7166 (ps_document_get_page_size), (ps_document_render),
7167 (ps_document_document_iface_init):
7170 * shell/ev-window.c: (ev_window_open):
7172 Rename GtkGS to PSDocument
7174 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
7176 * ps/gtkgs.c: (gtk_gs_class_init):
7179 Some more leftover...
7181 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
7183 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_get_orientation),
7184 (output), (stop_interpreter), (gtk_gs_emit_error_msg),
7185 (gtk_gs_zoom_to_fit), (gtk_gs_set_zoom):
7188 Remove unused code and make a lot of stuff private
7190 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
7192 * ps/gsdefaults.c: (gtk_gs_defaults_gconf_client),
7193 (gtk_gs_defaults_changed):
7199 Cleanup headers dependencies
7201 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
7206 * ps/gsdefaults.c: (gtk_gs_defaults_get_paper_sizes):
7208 * ps/gtkgs.c: (file_length), (file_readable),
7209 (check_filecompressed), (check_pdf), (gtk_gs_load),
7210 (gtk_gs_get_postscript):
7214 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
7219 * ps/gtkgs.c: (gtk_gs_set_zoom):
7223 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
7225 * ps/gtkgs.c: (gtk_gs_set_zoom), (gtk_gs_set_zoom_mode):
7227 Ensure the page is rerendered when changing zoom
7229 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
7231 * backend/ev-document.c: (ev_document_base_init),
7232 (ev_document_changed):
7233 * backend/ev-document.h:
7235 Add a changed event that is emitted when the page content
7236 changes. This is necessary to deal with the fact that
7237 in ps backend rendering happen asycrounously.
7238 This makes the ps backend mostly work.
7240 * pdf/xpdf/pdf-document.cc:
7244 * ps/gtkgs.c: (set_up_page), (gtk_gs_widget_event),
7245 (ps_document_set_target):
7249 * shell/ev-view.c: (document_changed_callback),
7250 (ev_view_set_document), (ev_view_set_page):
7252 Redraw on the changed signal
7254 2004-12-25 Raphael Higino <raphaelh@cvs.gnome.org>
7256 * configure.ac: Added pt_BR to ALL_LINGUAS.
7258 Fri Dec 24 00:48:44 2004 Jonathan Blandford <jrb@redhat.com>
7260 * backend/ev-document-bookmarks.c:
7261 (ev_document_bookmarks_get_child): *
7262 backend/ev-document-bookmarks.h: * pdf/xpdf/Makefile.am: *
7263 pdf/xpdf/pdf-document.cc: * pdf/xpdf/pdf-document.h: *
7264 shell/Makefile.am: * shell/ev-sidebar-bookmarks.c:
7265 (ev_sidebar_bookmarks_destroy),
7266 (ev_sidebar_bookmarks_class_init),
7267 (ev_sidebar_bookmarks_construct), (stack_data_free),
7268 (do_one_iteration), (populate_bookmarks_idle),
7269 (ev_sidebar_bookmarks_clear_document),
7270 (ev_sidebar_bookmarks_set_document): *
7271 shell/ev-sidebar-bookmarks.h: * shell/ev-sidebar.c:
7272 (ev_sidebar_add_page),
7273 (ev_sidebar_set_document): * shell/ev-window.c: (ev_window_open):
7274 Initial stab at a bookmarks sidebar. It doesn't navigate yet, but
7275 it displays both the topics and the page numbers.
7277 2004-12-23 Kristian Høgsberg <krh@redhat.com>
7279 * shell/ev-window.c (ev_window_view_sidebar_cb): Hook up sidebar
7281 * shell/ev-window.c (toggle_entries): Set sidebar default value to
7284 2004-12-23 Adam Weinberger <adamw@gnome.org>
7286 * configure.ac: Added en_CA to ALL_LINGUAS.
7288 2004-12-23 Martin Kretzschmar <martink@gnome.org>
7290 * ChangeLog: replace bottom of this ChangeLog (merged history of
7291 ggv and gpdf; where all paths were wrong and most of the files are
7292 not even in this tree) with ChangeLog (from arch) of the shell
7295 2004-12-23 Havoc Pennington <hp@redhat.com>
7297 * shell/ev-window.c: hook up potentially-questionable "find
7298 results status text" feature - something involving the sidebar or
7299 scrollbar or a continuous all-pages-on-giant-roll-of-paper-view
7300 might be better in the end.
7302 * shell/ev-view.c (ev_view_get_find_status_message): new function,
7303 with corresponding signal when it should be updated
7305 * shell/eggfindbar.c (egg_find_bar_set_status_text): new function
7307 2004-12-22 Havoc Pennington <hp@redhat.com>
7309 * pdf/xpdf/pdf-document.cc (pdf_document_find_begin): make search
7310 find stuff on other pages, sort of (only returns one result on
7311 invisible pages, to show they have results; updates full results
7312 for a page when you view it). Currently repaints the current page
7313 every time a new result is found on any page, which isn't so nice.
7315 2004-12-22 Havoc Pennington <hp@redhat.com>
7317 * shell/ev-window.c (ev_window_cmd_edit_find): display an error if
7318 the document doesn't support find (better ideas?)
7319 (find_bar_search_changed_cb): handle missing document or document
7320 that doesn't support find
7322 * pdf/xpdf/pdf-document.cc: port to implement the new
7325 * backend/ev-document-find.c: create a new interface for searching
7327 * backend/ev-document.h, backend/ev-document.c: delete the find stuff
7329 2004-12-23 Martin Kretzschmar <martink@gnome.org>
7331 * pdf/xpdf/Makefile.am (libpdfdocument_la_LIBADD): add
7334 * shell/ev-window.c (ev_window_print): add GnomePrintJob to
7335 EvPrintJob constructor arguments.
7337 * backend/ev-ps-exporter.c, backend/ev-ps-exporter.h: interface
7338 for documents that can export PostScript (page by page).
7340 * backend/Makefile.am (libevbackend_la_SOURCES): add them.
7342 * pdf/xpdf/pdf-document.cc (pdf_document_ps_export_begin)
7343 (pdf_document_ps_export_do_page, pdf_document_ps_export_end)
7344 (pdf_document_ps_exporter_iface_init:
7345 Implement EvPSExporter.
7347 * pdf/xpdf/Makefile.am (libxpdf_la_SOURCES): build PSOutputDev.
7349 2004-12-22 Anders Carlsson <andersca@gnome.org>
7351 * backend/Makefile.am:
7352 * backend/ev-document-thumbnails.c:
7353 (ev_document_thumbnails_get_type),
7354 (ev_document_thumbnails_get_thumbnail):
7355 * backend/ev-document-thumbnails.h:
7356 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
7357 (pixbuf_document_thumbnails_get_thumbnail),
7358 (pixbuf_document_document_thumbnails_iface_init):
7359 * shell/Makefile.am:
7360 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_destroy),
7361 (ev_sidebar_thumbnails_class_init), (ev_sidebar_thumbnails_init),
7362 (populate_thumbnails), (ev_sidebar_thumbnails_set_document):
7363 * shell/ev-sidebar-thumbnails.h:
7364 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
7365 (ev_sidebar_set_document):
7366 * shell/ev-utils.c: (gaussian), (create_blur_filter),
7367 (create_shadow), (ev_pixbuf_add_shadow):
7369 Add thumbnail support.
7371 2004-12-22 Martin Kretzschmar <martink@gnome.org>
7373 * shell/ev-window.c (ev_window_cmd_file_print, ev_window_print)
7374 (using_postscript_printer): Set up a print dialog for "PostScript
7377 * shell/ev-print-job.h, shell/ev-print-job.c: stub classes for
7380 * shell/Makefile.am (evince_SOURCES): add ev-print-job.[ch]
7382 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
7384 * ps/gtkgs.c: (gtk_gs_init), (set_up_page),
7385 (ps_document_set_target), (ps_document_get_page_size),
7386 (ps_document_render):
7391 2004-12-22 Christian Rose <menthos@menthos.com>
7393 * configure.ac: Added "sv" to ALL_LINGUAS.
7395 Wed Dec 22 14:47:38 2004 Jonathan Blandford <jrb@redhat.com>
7397 * backend/ev-document-bookmarks.[ch]: new interface to indicate
7398 document supports bookmarks.
7400 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
7402 * ps/ggvutils.c: (ggv_file_readable):
7404 * ps/gtkgs.c: (check_filecompressed), (check_pdf),
7405 (gtk_gs_get_postscript):
7409 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
7411 * ps/gtkgs.c: (gtk_gs_init), (gtk_gs_class_init), (gtk_gs_cleanup),
7412 (gtk_gs_finalize), (gtk_gs_set_center), (set_up_page), (output),
7413 (start_interpreter), (compute_size), (gtk_gs_enable_interpreter),
7414 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_reload),
7415 (gtk_gs_emit_error_msg), (gtk_gs_disable_interpreter),
7416 (gtk_gs_load), (gtk_gs_goto_page), (gtk_gs_set_page_size),
7417 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
7418 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
7419 (gtk_gs_set_antialiasing), (ps_document_load),
7420 (ps_document_render):
7423 Another check point for the ps backend. Now I can get it to show
7426 Wed Dec 22 13:41:01 2004 Jonathan Blandford <jrb@redhat.com>
7428 * shell/ev-sidebar.c (ev_sidebar_set_document): initial sidebar
7429 document setting code.
7431 2004-12-22 Anders Carlsson <andersca@gnome.org>
7433 * shell/eggfindbar.c: (entry_activate_callback):
7434 Animate the next button when activate is pressed.
7436 2004-12-22 Anders Carlsson <andersca@gnome.org>
7438 * shell/ev-window.c: (ev_window_cmd_edit_find),
7439 (update_fullscreen_popup), (ev_window_fullscreen),
7440 (ev_window_unfullscreen), (ev_window_state_event_cb),
7441 (ev_window_focus_out_cb), (find_bar_close_cb), (ev_window_init):
7442 Fix bugs in fullscreen code.
7444 2004-12-22 Anders Carlsson <andersca@gnome.org>
7448 * pixbuf/Makefile.am:
7449 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
7450 (pixbuf_document_load), (pixbuf_document_get_n_pages),
7451 (pixbuf_document_set_page), (pixbuf_document_get_page),
7452 (pixbuf_document_set_target), (pixbuf_document_set_scale),
7453 (pixbuf_document_set_page_offset), (pixbuf_document_get_page_size),
7454 (pixbuf_document_render), (pixbuf_document_begin_find),
7455 (pixbuf_document_end_find), (pixbuf_document_finalize),
7456 (pixbuf_document_class_init),
7457 (pixbuf_document_document_iface_init), (pixbuf_document_init):
7458 * pixbuf/pixbuf-document.h:
7459 * shell/Makefile.am:
7460 * shell/ev-application.c: (ev_application_open):
7461 * shell/ev-window.c: (mime_type_supported_by_gdk_pixbuf),
7465 Tue Dec 21 21:45:43 2004 Soeren Sandmann <sandmann@redhat.com>
7468 * dvi/dvilib/Makefile.am:
7470 * configure.ac: Auto*ify dvi and dvi/dvilib
7472 * dvi/Makefile: Remove from CVS
7474 * dvi/dvilib/dl-pkfont.cc (unpack_bitmap): Fix uchar/uint
7477 * dvi/dvilib/dl-fontdefinition.{cc,hh}: New DviFontMap class
7479 * dvi/dvilib/dl-vffont.{cc,hh}: Many bugfixes to VF code.
7481 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
7484 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_finalize),
7485 (gtk_gs_value_adjustment_changed), (compute_size),
7486 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_new_from_file),
7487 (gtk_gs_center_page), (gtk_gs_load), (gtk_gs_set_page_size),
7488 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
7489 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
7490 (gtk_gs_start_scroll), (gtk_gs_get_postscript),
7491 (gtk_gs_set_adjustments), (gtk_gs_set_available_size),
7492 (ps_document_load), (ps_document_get_n_pages),
7493 (ps_document_set_page), (ps_document_get_page),
7494 (ps_document_set_target), (ps_document_set_scale),
7495 (ps_document_set_page_offset), (ps_document_get_page_size),
7496 (ps_document_render), (ps_document_begin_find),
7497 (ps_document_end_find), (ps_document_document_iface_init):
7499 * shell/Makefile.am:
7500 * shell/ev-window.c: (ev_window_open):
7502 Some work to integrate gtkgs with EvDocument
7504 2004-12-22 Anders Carlsson <andersca@gnome.org>
7506 * shell/ev-window.c: (update_fullscreen_popup),
7507 (screen_size_changed_cb), (destroy_exit_fullscreen_popup),
7508 (exit_fullscreen_button_clicked_cb),
7509 (fullscreen_popup_size_request_cb), (ev_window_fullscreen),
7510 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
7511 (ev_window_state_event_cb), (ev_window_init):
7512 Add fullscreen support from Epiphany.
7514 2004-12-22 Mark McLoughlin <mark@skynet.ie>
7516 * data/ev-stock-zoom-fit-width.png: fit-width
7517 stock icon from gpdf.
7519 * shell/ev-stock-icons.[ch]: copied from gpdf.
7521 * shell/main.c: (main): init stock icons.
7523 * shell/ev-window.c: use the fit-width icon.
7525 * data/evince-ui.xml: add zooming toolbar items.
7527 2004-12-22 Mark McLoughlin <mark@skynet.ie>
7530 (ev_view_best_fit), (ev_view_fit_width): because
7531 get_page_size() returns the scaled page size, we
7532 need to calculate the scale factor relative to
7533 the previous scale factor. Should really just
7534 add get_real_page_size().
7536 2004-12-22 Mark McLoughlin <mark@skynet.ie>
7538 * shell/ev-view.[ch]:
7539 (ev_view_zoom), (ev_view_zoom_in), (ev_view_zoom_out),
7540 (ev_view_normal_size), (ev_view_best_fit), (ev_view_fit_width):
7543 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
7544 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_normal_size),
7545 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width):
7548 * pdf/xpdf/pdf-document.cc:
7549 (pdf_document_begin_find),
7550 (pdf_document_end_find): make static.
7552 2004-12-22 Martin Kretzschmar <martink@gnome.org>
7554 * pdf/xpdf/GlobalParams.h (setupBaseFontsFc): add prototype.
7556 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): maps base font
7557 names to fontconfig patterns.
7558 (setupBaseFontsFc): setupBaseFonts reimplemented using fontconfig.
7560 * pdf/xpdf/pdf-document.cc (pdf_document_load): use
7563 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
7579 Import ggv backend. Not hooked up yet.
7581 2004-12-22 Mark McLoughlin <mark@skynet.ie>
7583 * shell/main.c: (load_files), (main): load files
7584 from the command line.
7586 2004-12-22 Mark McLoughlin <mark@skynet.ie>
7588 * configure.ac: don't require bonobo.
7590 * cut-n-paste/recent-files/*: kill bonobo recent
7593 * shell/ev-window.c:
7594 (ev_window_is_empty): upd.
7595 (unable_to_load), (ev_window_open): load backend
7596 based on the mime type.
7598 2004-12-22 Martin Kretzschmar <martink@gnome.org>
7600 * backend/.cvsignore: ignore generated marshalers source.
7602 * shell/main.c (main): this is not epiphany.
7604 2004-12-22 Havoc Pennington <hp@redhat.com>
7606 * shell/ev-view.c (ev_view_set_document): connect to "found" signal
7607 (expose_bin_window): draw find highlights
7609 * shell/ev-window.c (find_bar_search_changed_cb): implement
7611 * pdf/xpdf/pdf-document.cc (pdf_document_begin_find)
7612 (pdf_document_end_find): implement this interface
7614 * backend/ev-document.c (ev_document_found): add this to emit
7617 Tue Dec 21 23:57:37 2004 Owen Taylor <otaylor@redhat.com>
7619 * data/evince-ui.xml: Add a few more toolbar items.
7621 * shell/ev-window.c: Hook up page navigation toolbar
7624 * shell/ev-view.[ch]: add ev_view_set/get_page and
7625 a page-changed signal.
7627 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc::
7628 Add ev_document_get_page().
7630 * shell/ev-window.c: Sensitize/desensitize navigation
7633 2004-12-21 Havoc Pennington <hp@redhat.com>
7635 * backend/ev-backend-marshal.c,
7636 backend/ev-backend-marshalers.list, backend/Makefile.am: add
7637 marshaler-generator thingy. I'm sure there's a better way to do
7638 this in the modern world.
7640 * backend/ev-document.h (struct _EvDocumentIface): add begin_find,
7641 end_find methods and "found" signal.
7643 * configure.ac: find glib-genmarshal
7645 Tue Dec 21 23:20:35 2004 Jonathan Blandford <jrb@redhat.com>
7647 * shell/ev-sidebar.c: Construct an actual sidebar.
7648 * shell/ev-sidebar-bookmarks.[ch]:
7649 * shell/ev-sidebar-thumbnails.[ch]: Stub out sidebars.
7651 Tue Dec 21 23:05:51 2004 Owen Taylor <otaylor@redhat.com>
7653 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc:
7656 * shell/ev-view.c: Track the size from the document.
7658 Tue Dec 21 22:17:04 2004 Owen Taylor <otaylor@redhat.com>
7660 * pdf/xpdf/pdf-document.cc (pdf_document_load): PDFDoc
7661 constructor assumes ownership of the string passed in.
7663 * shell/ev-window.c (ev_window_open): Destroy the error
7664 dialog once we've displayed it.
7666 Tue Dec 21 21:58:56 2004 Owen Taylor <otaylor@redhat.com>
7668 * pdf/xpdf/pdf-document.cc shell/ev-view.c: Hook things up
7669 a bit, it works! (sort of)
7671 * pdf/xpdf/Makefile.am pdf/xpdf/pdf-document.cc:
7672 Move to .cc since we need to use C++ in the implementation.
7674 * shell/dummy.cc: Add a CC file to force evince
7675 to be linked as a C++ program.
7677 Tue Dec 21 21:07:55 2004 Owen Taylor <otaylor@redhat.com>
7679 * shell/ev-view.[ch]: Start of content-area widget.
7681 * shell/ev-window.c: Create a EvView, update it
7682 as we change documents.
7684 * shell/Makefile.am shell/ev-marshal.list: Add
7685 generated marshalers.
7687 Tue Dec 21 20:28:11 2004 Jonathan Blandford <jrb@redhat.com>
7689 * Makefile.am (SUBDIRS): move shell.
7691 Tue Dec 21 19:28:55 2004 Owen Taylor <otaylor@redhat.com>
7693 * pdf/{goo,fofi,splash,xpdf}/Makefile.am: Switch from
7694 .a to libtool convenience libraries.
7696 * shell/ev-window.c (ev_window_open): Hard code loading
7699 * backend/ev-document.h: Add a boolean return to load(),
7700 fix GError * to GError **.
7702 * pdf/xpdf/pdf-document.[ch] Makefile.am: Add a stub
7703 object for a PDF backend EvDocument.
7705 Tue Dec 21 18:55:06 2004 Søren Sandmann <sandmann@redhat.com>
7707 * dvi/*: New directory with the beginning of a .dvi backend.
7709 2004-12-21 Havoc Pennington <hp@redhat.com>
7711 * shell/eggfindbar.c (egg_find_bar_init): change buttons to
7712 previous/next instead of back/forward
7714 Tue Dec 21 18:26:24 2004 Owen Taylor <otaylor@redhat.com>
7716 * backend/ev-document.[ch]: Fix a couple of problems so
7719 Tue Dec 21 18:20:40 2004 Owen Taylor <otaylor@redhat.com>
7721 * viewer/* backend/* configure.ac Makefile.am: Move viewer directory
7722 to backend/ directory, rename EvViewer to EvDocument.
7724 2004-12-21 Havoc Pennington <hp@redhat.com>
7726 * shell/ev-window.c: hook up the find bar widget; now we just need
7727 a document to find things in
7729 * shell/eggfindbar.c: a find bar widget
7731 Tue Dec 21 17:20:16 2004 Jonathan Blandford <jrb@redhat.com>
7733 * shell/ev-sidebar.[ch]: initial sidebar boilerplate.
7735 Tue Dec 21 16:30:58 2004 Owen Taylor <otaylor@redhat.com>
7737 * pdf/**: Import of xpdf code from gpdf.
7739 * pdf/xpdf/xpdfconfig.h: Move the non-config.h config.h to xpdfconfig.h
7741 * pdf/splash/SplashFTFont.{cc,h} pdf/splash/SplashFTFont.h
7742 pdf/splash/SplashFTFontEngine.h pdf/splash/SplashFTFontFile.h:
7743 Fix FreeType includes.
7745 * pdf/xpdf/{Error.h GnomeVFSStream.cc ImageOutputDev.cc PDFDoc.cc\
7746 pdffonts.cc pdfimages.cc pdfinfo.cc pdftoppm.cc pdftops.cc
7747 pdftotext.cc PSOutputDev.cc PSOutputDev.h SplashOutputDev.h
7748 Stream.cc TextOutputDev.cc XPDFApp.cc xpdf.cc XPDFViewer.cc
7749 pdf/xpdf/Error.h PSOutputDev.h SplashOutputDev.h}:
7750 Include xpdfconfig.h
7752 Tue Dec 21 16:08:17 2004 Jonathan Blandford <jrb@redhat.com>
7754 * shell/ev-window.c (ev_window_dispose): dispose can be called
7757 2004-12-21 Havoc Pennington <hp@redhat.com>
7759 * shell/ev-window.c (ev_window_init): set title to Document Viewer
7762 * data/evince-ui.xml, shell/ev-window.c: add a bunch of stub menu
7763 items; really they should be synced with the strings, etc. from
7764 current gpdf, but just getting the boring typing out of the way
7766 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
7769 * shell/ev-application.c: (window_destroy_cb):
7770 * shell/ev-window.c:
7771 * shell/main.c: (main):
7773 Actually show the window...
7775 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
7778 * shell/Makefile.am:
7779 * shell/ev-application.c: (ev_application_class_init):
7780 * shell/ev-window.c: (ev_window_dispose), (ev_window_class_init):
7784 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
7786 Import to gnome cvs.
7788 * Remove copies of gpdf and ggv trees.
7789 * Rip out all the recursive configure code.
7790 * Remove bonobo machinery.
7791 * viewer/*: GInterfaces that backends should/can implement.
7793 2004-11-09 Martin Kretzschmar <m_kretzschmar@gmx.net>
7795 * shell/ev-window.c (ev_window_cmd_help_about): fix "documentors"
7798 2004-10-28 Martin Kretzschmar <m_kretzschmar@gmx.net>
7800 * shell/ev-application.c (EV_APPLICATION_GET_PRIVATE)
7801 (ev_application_finalize, ev_application_class_init)
7802 (ev_application_init): use GType instance private data for priv.
7804 * shell/ev-window.c (EV_WINDOW_GET_PRIVATE)
7805 (ev_window_finalize, ev_window_class_init)
7806 (ev_window_init): ditto.
7808 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
7810 * shell/ev-application.c (ev_application_new_window): make public
7811 (ev_application_show_initial_window): kill.
7813 * shell/ev-application.h: update prototypes.
7815 * shell/main.cc (main): inline ev_application_show_initial_window.
7817 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
7819 * shell/ev-application.c (ev_application_new_window): impl.
7820 (ev_application_show_initial_window): use it.
7821 (is_window_empty, ev_application_get_empty_window): returns an
7822 existing empty window or a new one.
7823 (ev_application_open): from ev_window_cmd_file_open.
7825 * shell/ev-application.h: update prototypes
7827 * shell/ev-window.c (ev_window_is_empty): impl.
7828 (ev_window_open): make public.
7829 (ev_window_cmd_file_open): use ev_application_open
7831 * shell/ev-window.h: update prototypes, remove unused.
7833 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
7835 * shell/ev-window.c (ev_window_destroy, ev_window_class_init):
7836 move destroy handler out of here...
7838 * shell/ev-application.c, shell/ev-application.h: ...into this new
7839 class. Also handles initial window creation.
7841 * shell/main.cc (main): use EvApplication to create initial
7844 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
7846 * Makefile.am (SUBDIRS): add cut-n-paste
7848 * cut-n-paste/Makefile.am: add
7850 * configure.ac: generate Makefiles in cut-n-paste
7852 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
7854 * shell/ev-window.c (ev_window_dispose): new, unref the ui_manager
7855 (ev_window_class_init): install ev_window_dispose.
7857 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
7859 * shell/ev-window.h, shell/ev-window.c: replace gchar with
7860 char (gchar looks stupid).
7862 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
7864 * po/de.po: updated German translation.
7866 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
7868 * configure.ac: add more pkg-config library checks for gnome-vfs,
7871 * gpdf/configure.in: temporarily disable libpaper
7872 checks. Otherwise I'd have to add the checks for the shell, too.
7874 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7876 * shell/ev-window.c (ev_window_cmd_file_open): add ps+pdf, ps, pdf
7877 and * file filters to the file choose.
7879 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7881 * po/de.po: Updated German translation.
7883 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7885 * shell/ev-window.c: use "S" as mnemonic for Statusbar.
7887 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7889 * data/evince-ui.xml: add View->Toolbar and View->Statusbar.
7891 * shell/ev-window.c (menu_item_select_cb, menu_item_select_cb)
7892 (ev_window_init): implement those menuitems.
7894 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7896 * data/evince-ui.xml: add a toolbar (with FileOpen action)
7898 * shell/ev-window.c (ev_window_init): use the toolbar.
7900 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7902 * shell/ev-window.c (ev_window_init): use menu translations
7904 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7906 * configure.ac: add "de" to ALL_LINGUAS.
7908 * po/de.po: add German translation.
7910 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7912 * Makefile.am (SUBDIRS): add po
7914 * configure.ac: check intltool, glib-gettext etc, generate
7917 * po, po/POTFILES.in, po/POTFILES.skip: new.
7919 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7921 * shell/Makefile.am (INCLUDES): define GNOMELOCALEDIR which we
7922 already use (#ifdef ENABLE_NLS)
7924 * shell/ev-window.c (ev_window_cmd_help_about): fix two star
7925 pointer indirection thinko.
7927 * shell/main.c: include gi18n.h for bindtextdomain etc.
7929 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7931 * shell/ev-window.c (menu_item_select_cb, menu_item_deselect_cb)
7932 (connect_proxy_cb, disconnect_proxy_cb, ev_window_init): show
7933 tooltips for menu items in the statusbar.
7935 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7937 * configure.ac, data/Makefile.am, shell/Makefile.am: use
7938 pkgdatadir drop UIDIR
7940 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7942 * data/evince-ui.xml: Add File->Open menu item
7944 * shell/ev-window.c (ev_window_cmd_file_open): impl. (shows a file
7945 chooser), hook it up in the ui manager.
7947 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7949 * shell/ev-window.c: fix Help->About tooltip.
7951 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7953 * configure.ac: set CFLAGS for libevprivate.
7955 * lib/ev-stock-icons.h, lib/ev-stock-icons.c: stock icon
7956 definitions, factory etc.
7958 * lib/Makefile.am: build libevprivate.a (only stock icon code).
7960 * shell/Makefile.am: link against libevprivate.a.
7962 * shell/ev-window.c (entries): add stock icon to Help->About.
7964 * shell/main.c (main): init stock icon code.
7966 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7968 * lib/recent-files: egg recent files code
7970 * lib/Makefile.am: add.
7972 * Makefile.am: add lib subdir.
7974 * configure.ac: gen. lib/Makefile and lib/recent-files/Makefile,
7975 set CFLAGS for recent-files.
7977 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7979 * configure.ac: disable -ansi and -pedantic gcc flags. They
7980 disable POSIX stuff in stdio.h, but egg-recent uses them.
7982 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7984 * configure.ac: add --disable-deprecated flag (defaults to on in
7987 * shell/Makefile.am (INCLUDES): use it.
7989 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7991 * shell/main.c: add missing #include.
7993 * shell/ev-window.c: fix for pedantic gcc.
7994 (ev_window_cmd_help_about): split license into paragraphs for
7995 translators and pedantic compilers.
7997 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7999 * configure.ac: add more warning flags if compiling with gcc from
8000 cvs (or explicitly requested with --enable-more-warnings).
8002 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
8004 * data/evince-ui.xml: add File and File->Close menu.
8006 * shell/ev-window.c (ev_window_cmd_file_close_window): impl.
8007 (ev_window_destroy): quit after destroy.
8008 (ev_window_class_init): override GtkObject::destroy.
8009 (entries): install close_window callback.
8011 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
8013 * Makefile.am (SUBDIRS): add data subdir.
8015 * configure.ac (UIDIR): gen data/Makefile, define UIDIR. Require
8016 gtk+ 2.5.0 for GtkAboutDialog.
8018 * data/Makefile.am, data/evince-ui.xml: add, ui definition for the
8021 * shell/Makefile.am (INCLUDES): propagate UIDIR definition.
8023 * shell/ev-window.c (ev_window_init): create a menubar, using a ui
8025 (ev_window_cmd_help_about): about command, using GtkAboutDialog.
8027 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
8029 * shell/ev-window.c, shell/ev-window.h: Created an EvWindow class.
8031 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
8033 * shell/main.c: make it a trivial gtk+ program, adjust configure.ac
8035 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
8037 * shell/*: Added shell directory boilerplate, build it.
8039 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
8041 * configure.ac, Makefile.am: Added top-level configure.ac and