1 2006-01-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3 * cut-n-paste/recent-files/egg-recent-item.c:
4 (get_uri_shortname_for_display), (egg_recent_item_get_short_name):
5 * cut-n-paste/recent-files/egg-recent-model.c: (parse_info_init),
6 (parse_info_free), (valid_element), (start_element_handler),
7 (end_element_handler), (text_handler), (egg_recent_model_filter),
8 (egg_recent_model_monitor_cb), (egg_recent_model_poll_timeout),
9 (egg_recent_model_monitor), (egg_recent_model_read),
10 (egg_recent_model_open_file), (egg_recent_model_lock_file),
11 (egg_recent_model_unlock_file), (egg_recent_model_finalize),
12 (egg_recent_model_set_property), (egg_recent_model_class_init),
13 (egg_recent_model_init), (egg_recent_model_add_full),
14 (egg_recent_model_delete), (egg_recent_model_get_list),
15 (egg_recent_model_clear), (egg_recent_model_clear_mime_filter),
16 (egg_recent_model_set_filter_mime_types),
17 (egg_recent_model_clear_group_filter),
18 (egg_recent_model_set_filter_groups),
19 (egg_recent_model_clear_scheme_filter),
20 (egg_recent_model_set_filter_uri_schemes),
21 (egg_recent_model_remove_expired):
22 * cut-n-paste/recent-files/egg-recent-util.c:
23 (egg_recent_util_get_icon):
24 * cut-n-paste/recent-files/egg-recent-util.h:
25 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
26 (connect_proxy_cb), (egg_recent_view_uimanager_set_list),
27 (egg_recent_view_uimanager_set_empty_list), (model_changed_cb),
28 (egg_recent_view_uimanager_set_property),
29 (egg_recent_view_uimanager_get_property),
30 (egg_recent_view_uimanager_class_init),
31 (egg_recent_view_uimanager_init),
32 (egg_recent_view_uimanager_set_label_width),
33 (egg_recent_view_uimanager_get_label_width):
34 * cut-n-paste/recent-files/egg-recent-view-uimanager.h:
35 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
36 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
37 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
38 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
39 * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
43 2006-01-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
45 * shell/ev-page-cache.c: (build_height_to_page),
46 (ev_page_cache_get_height_to_page):
47 * shell/ev-page-cache.h:
48 * shell/ev-view.c: (view_update_range_and_current_page),
49 (get_page_y_offset), (get_page_extents), (ev_view_next_page),
50 (ev_view_previous_page):
52 Dual mode places even pages to the left. Fix for the bug #309393.
55 * shell/ev-window.c: (update_action_sensitivity),
56 (setup_view_from_metadata), (view_menu_popup_cb):
58 Don't restore presentation in empty windows, more intelligent
59 next page behaviour in dual mode.
61 * shell/ev-pixbuf-cache.c: (check_job_size_and_unref),
62 (ev_pixbuf_cache_clear_job_sizes):
64 Cleanup job callback on removal. Fix for the bug #325886.
66 2006-01-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
70 Commit workaround Mozilla problem. Fix for the bug #325919
72 * shell/ev-metadata-manager.c: (parse_value), (parseItem),
75 Fix for year 2038 problem.
77 2006-01-06 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
79 * shell/ev-window.c: (setup_document_from_metadata),
80 (ev_window_cmd_view_reload):
82 Clamp page recieved from metadata in valid values. Fix
85 2006-01-06 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
88 Add MAINTAINERS as requested on desktop-devel-list.
90 2006-01-06 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
92 * backend/ev-document-factory.c: (gdk_pixbuf_mime_type_list),
93 (mime_type_supported_by_gdk_pixbuf),
94 (ev_document_factory_get_mime_types),
95 (ev_document_factory_get_all_mime_types):
97 Don't add pixbuf mime types if pixbuf backend is disabled.
99 * shell/ev-application.c: (ev_application_get_uri_window):
101 Fix for the bug 325815 - unhandled MIME type message doesn't
102 appear a second time.
104 * shell/ev-document-types.c: (ev_document_types_add_filters):
105 * shell/ev-window.c: (page_changed_cb), (ev_window_setup_document),
106 (password_dialog_response), (ev_window_popup_password_dialog),
107 (ev_window_load_job_cb), (ev_window_sidebar_position_change_cb),
108 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
109 (ev_window_run_presentation), (ev_window_stop_presentation),
110 (save_sizing_mode), (ev_window_zoom_changed_cb),
111 (ev_window_continuous_changed_cb), (ev_window_rotation_changed_cb),
112 (ev_window_dual_mode_changed_cb),
113 (ev_window_sidebar_current_page_changed_cb),
114 (ev_window_sidebar_visibility_changed_cb), (ev_window_dispose),
115 (window_state_event_cb), (window_configure_event_cb):
117 Cleanup additional uris holded by EvWindow.
119 2006-01-06 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
121 * shell/ev-view.c: (ev_view_scroll), (ev_view_previous_page),
122 (ev_view_can_previous_page), (ev_view_can_next_page):
124 * shell/ev-window.c: (update_action_sensitivity):
126 Two page scrolling with Space and PageUp in dual mode. Second fix
129 2006-01-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
131 * shell/ev-view.c: (scroll_to_current_page):
133 Correctly clamp adjustment value. Fix for the bug
136 2006-01-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
138 * shell/ev-sidebar-links.c: (print_section_cb):
139 * shell/ev-window.c: (ev_window_get_uri),
140 (ev_window_close_dialogs), (ev_window_open_uri), (ev_window_print),
141 (ev_window_print_dialog_response_cb), (ev_window_print_range),
144 Make print dialog non-modal. Fix for the bug #325622.
146 2006-01-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
148 * shell/ev-metadata-manager.c:
149 * shell/ev-utils.c: (using_pdf_printer),
150 (using_postscript_printer), (load_print_config_from_file),
151 (save_print_config_to_file):
153 * shell/ev-window.c: (update_sizing_buttons), (page_changed_cb),
154 (update_sidebar_visibility), (setup_sidebar_from_metadata),
155 (setup_view_from_metadata), (ev_window_setup_document),
156 (ev_window_load_job_cb), (ev_window_sidebar_position_change_cb),
157 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
158 (ev_window_run_presentation), (ev_window_stop_presentation),
159 (save_sizing_mode), (ev_window_zoom_changed_cb),
160 (ev_window_continuous_changed_cb), (ev_window_rotation_changed_cb),
161 (ev_window_dual_mode_changed_cb),
162 (ev_window_sidebar_current_page_changed_cb),
163 (ev_window_sidebar_visibility_changed_cb), (ev_window_dispose),
164 (window_state_event_cb), (window_configure_event_cb),
167 Setting saving behaviour fixes.
169 2005-12-30 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
173 Make antialiasing gs options better and allow
174 to change them during configure. Fix for the
177 2005-12-29 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
179 * shell/ev-window.c: (setup_view_from_metadata):
181 Remember if last window was maximized. Fix for the
184 2005-12-28 Abel Cheung <maddog@linuxhall.org>
186 * configure.ac: Added "zh_HK" to ALL_LINGUAS.
188 2005-12-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
190 * backend/ev-link.c: (ev_link_get_page), (ev_link_init):
191 * shell/ev-page-action.c: (build_new_tree_cb):
192 * shell/ev-sidebar-links.c: (links_page_num_func),
193 (update_page_callback_foreach), (update_page_callback):
194 * shell/ev-view.c: (scroll_to_current_page):
196 Fix for the bug #325067 with more intelligent selection
197 of current link in sidebar. Make sidebar handle links
198 of FITR-like type more correctly.
200 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
201 (dvi_pixbuf_put_pixel):
203 Fix memory consumtion with disabled alpha channel.
205 2005-12-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
207 * data/evince-ui.xml:
208 * shell/ev-window.c: (view_menu_popup_cb),
209 (ev_popup_cmd_open_link), (ev_window_init):
211 Update context menu for internal links. Fix for the bug
214 2005-12-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
216 * shell/ev-view.c: (ev_view_popup_menu), (ev_view_class_init):
218 Bind context menu to keyboard also. Fix for the bug
221 2005-12-27 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
223 * shell/ev-view.c: (selection_scroll_timeout_cb):
225 Horizontal scroll on selection also.
227 2005-12-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
229 * shell/ev-metadata-manager.c: (parse_value):
230 * shell/ev-view.c: (goto_xyz_link):
232 Correct zoom setup and metadata save broken in
235 2005-12-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
237 * shell/ev-view-private.h:
238 * shell/ev-view.c: (scroll_to_current_page),
239 (view_set_adjustment_values), (goto_fitr_link), (goto_fitv_link),
240 (goto_fith_link), (goto_fit_link), (goto_xyz_link),
241 (page_changed_cb), (ev_view_set_continuous),
242 (ev_view_set_dual_page), (ev_view_set_presentation):
244 Delay scroll until allocation to correctly position page. Fix
247 2005-12-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
252 Update NEWS and require poppler 0.5.0.
254 2005-12-25 Carlos Garcia Campos <carlosgc@gnome.org>
256 * data/evince-ui.xml:
257 * shell/ev-view-private.h:
258 * shell/ev-view.c: (ev_view_get_link_at_location),
259 (handle_link_over_xy), (ev_view_button_press_event),
260 (ev_view_button_release_event), (ev_view_class_init):
261 * shell/ev-window.c: (view_menu_popup_cb), (ev_window_dispose),
262 (ev_popup_cmd_open_link), (ev_popup_cmd_copy_link_address),
265 Implement right-click context menu.
267 2005-12-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
269 * djvu/djvu-document.c: (djvu_document_thumbnails_get_thumbnail):
270 * dvi/pixbuf-device.c: (dvi_pixbuf_create_image),
271 (mdvi_pixbuf_device_render):
274 Don't generate thumbnails with alpha. See bug #324077.
275 Thanks to Jeroen Zwartepoorte <jeroen.zwartepoorte@gmail.com>.
277 2005-12-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
279 * shell/ev-window.c: (setup_chrome_from_metadata):
281 Fix typo that was hiding toolbar.
283 2005-12-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
285 * shell/ev-view-private.h:
286 * shell/ev-view.c: (ev_view_realize), (selection_update_idle_cb),
287 (selection_scroll_timeout_cb), (ev_view_motion_notify_event),
288 (ev_view_button_release_event), (ev_view_destroy):
290 Small cleanup and autoscrolling during selection. Thanks to
291 Ricardo Markiewicz <rmarkie@fi.uba.ar>.
293 2005-12-22 Jani Monoses <jani.monoses@gmail.com>
297 Correctly check for comics option.
299 2005-12-21 Eduardo Lima <eduardo.lima@indt.org.br>
302 * backend/Makefile.am:
303 * backend/ev-document-factory.c:
304 * shell/ev-document-types.c:
306 Included option in configure to make ps backend
307 compilation optional with --disable-ps.
309 2005-12-20 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
311 * backend/ev-document-factory.c:
312 * comics/Makefile.am:
313 * comics/comics-document.c: (comics_document_load):
314 * comics/ev-cbr-mime.xml:
317 Comics mime types are added to shared-mime-info CVS. Now
318 we don't need to install our own mime types.
320 2005-12-20 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
324 Add shortcut for "save a copy" menu entry. Fix for
327 2005-12-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
329 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info),
330 (job_finished_cb), (new_selection_pixbuf_needed),
331 (ev_pixbuf_cache_get_selection_pixbuf), (update_job_selection),
332 (clear_job_selection), (ev_pixbuf_cache_set_selection_list):
334 Rework selection job info logic and fix critical warning.
336 2005-12-17 Abel Cheung <maddog@linuxhall.org>
338 * configure.ac: Added "cy" "fa" "mk" "vi" to ALL_LINGUAS.
340 2005-11-27 Jaap A. Haitsma <jaap@haitsma.org>
342 * data/evince-ui.xml:
343 * shell/ev-window.c: (ev_window_set_view_accels_sensitivity):
345 Enter as shortcut key for next page. Fix for the bug
348 2005-11-18 Ales Nyakhaychyk <nab@mail.by>
350 * configure.ac: Added "be" (Belarusian) to ALL_LINGUAS.
352 2005-11-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
354 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info),
355 (job_finished_cb), (copy_job_to_job_info), (add_job_if_needed),
356 (new_selection_pixbuf_needed),
357 (ev_pixbuf_cache_get_selection_pixbuf), (update_job_selection),
358 (clear_job_selection):
360 Too early for 0.5. Pixbuf cache code cleaned a bit.
362 2005-11-14 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
367 Release 0.5.0 preparation
369 2005-11-14 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
371 * comics/Makefile.am:
373 * shell/ev-document-types.c: (ev_document_types_add_filters):
375 More advanced handling of custom mime type installation.
377 2005-11-14 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
379 * data/evince.schemas.in:
380 * shell/ev-metadata-manager.c: (value_free),
381 (ev_metadata_manager_get_last), (ev_metadata_manager_set_last),
382 (ev_metadata_manager_get), (ev_metadata_manager_set):
383 * shell/ev-metadata-manager.h:
384 * shell/ev-window.c: (update_chrome_flag),
385 (ev_window_cmd_focus_page_selector), (update_sidebar_visibility),
386 (setup_document_from_metadata), (setup_chrome_from_metadata),
387 (setup_sidebar_from_metadata), (setup_view_from_metadata),
388 (ev_window_cmd_edit_find), (ev_window_cmd_escape),
389 (ev_window_view_toolbar_cb),
390 (ev_window_sidebar_visibility_changed_cb), (find_bar_close_cb),
391 (view_actions_focus_in_cb), (ev_window_init), (ev_window_new):
393 Save last document settings and reuse them for new documents.
395 2005-11-14 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
398 * backend/Makefile.am:
399 * backend/ev-document-factory.c:
400 * backend/ev-document-factory.h:
401 * comics/Makefile.am:
402 * comics/comics-document.c: (G_DEFINE_TYPE_WITH_CODE),
403 (comics_document_load), (comics_document_save),
404 (comics_document_get_n_pages), (comics_document_get_page_size),
405 (get_page_size_area_prepared_cb), (comics_document_render_pixbuf) (render_pixbuf_size_prepared_cb), (comics_document_finalize),
406 (comics_document_class_init), (comics_document_can_get_text),
407 (comics_document_get_info), (comics_document_document_iface_init),
408 (comics_document_init), (get_supported_image_extensions),
409 (comics_document_thumbnails_get_geometry),
410 (comics_document_thumbnails_get_thumbnail),
411 (comics_document_thumbnails_get_dimensions),
412 (comics_document_document_thumbnails_iface_init), (extract_argv):
413 * comics/comics-document.h:
414 * comics/ev-cbr-mime.xml:
417 * shell/ev-application.c: (ev_application_register_service):
418 * shell/ev-document-types.c: (ev_document_types_add_filters):
419 * thumbnailer/Makefile.am:
420 * thumbnailer/evince-thumbnailer-comics.schemas.in:
422 New CBR/CBZ backend for comic books.
424 2005-11-10 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
426 * shell/main.c: (load_files_remote):
428 Thanks to Robert McQueen <robot101@debian.org>. Dbus
429 warning on startup of second instance is fixed. It
432 2005-10-30 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
434 * shell/ev-window.c: (ev_window_finalize):
436 Fix double free that cause crash.
438 2005-10-29 Bastien Nocera <hadess@hadess.net>
440 * tiff/tiff-document.c: (tiff_document_load):
444 2005-10-29 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
448 * shell/ev-view-accessible.c: (ev_view_accessible_get_priv),
449 (ev_view_accessible_free_priv), (ev_view_accessible_class_init),
450 (ev_view_accessible_get_text),
451 (ev_view_accessible_get_character_at_offset),
452 (ev_view_accessible_get_text_before_offset),
453 (ev_view_accessible_get_text_at_offset),
454 (ev_view_accessible_get_text_after_offset),
455 (ev_view_accessible_get_character_count),
456 (ev_view_accessible_get_caret_offset),
457 (ev_view_accessible_set_caret_offset),
458 (ev_view_accessible_get_run_attributes),
459 (ev_view_accessible_get_default_attributes),
460 (ev_view_accessible_get_character_extents),
461 (ev_view_accessible_get_offset_at_point),
462 (ev_view_accessible_get_n_selections),
463 (ev_view_accessible_get_selection),
464 (ev_view_accessible_add_selection),
465 (ev_view_accessible_remove_selection),
466 (ev_view_accessible_set_selection),
467 (ev_view_accessible_text_iface_init),
468 (ev_view_accessible_idle_do_action),
469 (ev_view_accessible_action_do_action),
470 (ev_view_accessible_action_get_n_actions),
471 (ev_view_accessible_action_get_description),
472 (ev_view_accessible_action_get_name),
473 (ev_view_accessible_action_set_description),
474 (ev_view_accessible_action_iface_init),
475 (ev_view_accessible_get_type), (ev_view_accessible_new),
476 (ev_view_accessible_factory_get_accessible_type),
477 (ev_view_accessible_factory_create_accessible),
478 (ev_view_accessible_factory_class_init),
479 (ev_view_accessible_factory_get_type):
480 * shell/ev-view-accessible.h:
481 * shell/ev-view-private.h:
482 * shell/ev-view.c: (ev_view_get_accessible), (ev_view_class_init):
485 Initial accessibility support.
487 2005-10-27 Erdal Ronahi <erdal.ronahi@gmail.com>
489 * configure.ac: Added ku (Kurdish) to ALL_LINGUAS
491 2005-10-26 Hubert Figuiere <hfiguiere@teaser.fr>
493 * shell/ev-print-job.c: (idle_print_handler):
495 Fix for bug Bug 318916: Printing multiple pages.
497 2005-10-20 Runa Bhattacharjee <runa@bengalinux.org>
499 * configure.ac: Added "bn" (Bengali) to ALL_LINGUAS.
501 2005-10-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
505 Thumnail dimensions unified with other backends.
507 * shell/ev-window-title.c: (ev_window_title_update):
511 2005-10-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
513 * data/ev-stock-zoom-fit-width.png:
517 2005-10-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
520 * djvu/djvu-document.c: (djvu_document_load), (djvu_document_save),
521 (djvu_document_finalize):
522 * dvi/dvi-document.c: (dvi_document_load), (dvi_document_save),
523 (dvi_document_finalize):
524 * pixbuf/pixbuf-document.c: (pixbuf_document_load),
525 (pixbuf_document_save), (pixbuf_document_finalize):
526 * tiff/tiff-document.c: (tiff_document_load), (tiff_document_save),
527 (tiff_document_finalize):
529 Save a copy implemented for various backends.
531 2005-10-17 Daniel Gryniewicz <dang@gentoo.org>
535 Don't link with ltiff if tiff is disabled.
537 2005-10-14 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
539 * pdf/GDKSplashOutputDev.cc:
540 * pdf/GDKSplashOutputDev.h:
543 * pdf/pdf-document.cc:
544 * pdf/pdf-document.h:
545 * pdf/test-gdk-output-dev.cc:
547 Remove old unused files.
549 2005-10-12 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
551 * shell/ev-window.c: (ev_window_setup_document):
553 Fixed warnings on reload and probably crash reason.
555 2005-10-12 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
557 * properties/ev-properties-view.c:
558 (ev_properties_view_format_date):
560 Check if date is invalid. Fix for bug 318134.
562 2005-10-02 Wouter Bolsterlee <uws+gnome@xs4all.nl>
564 * shell/ev-window-title.c:
566 Add .indd files (Adobe Indesign) to the list of "bad
569 2005-10-02 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
571 * data/evince-ui.xml:
572 * shell/ev-window.c: (ev_window_set_view_accels_sensitivity):
574 Add <ctrl>KP_Add and <ctrl>KP_Substract bindings.
576 2005-09-27 Christian Persch <chpe@cvs.gnome.org>
578 * shell/ev-window.c: (launch_link), (launch_external_uri),
579 (view_external_link_cb):
581 URL-escape link before passing it to gnome_vfs_url_show.
583 2005-09-27 Carlos Garcia Campos <carlosgc@gnome.org>
585 * shell/ev-view.[ch], shell/ev-window.c: Disable copy action when
586 there isn't text selected.
588 2005-09-27 Marco Pesenti Gritti <mpg@redhat.com>
590 * shell/ev-view.c: (handle_link_over_xy):
592 Check tooltip is valid utf8 before showing it
594 2005-09-27 Carlos Garcia Campos <carlosgc@gnome.org>
596 * shell/ev-view.c: Allow drag and drop of text. Fixes #316772
598 2005-09-27 Christian Persch <chpe@cvs.gnome.org>
600 * shell/ev-window-title.c: (ev_window_title_update):
602 Guard against using g_strstrip on NULL. Fixes bug #317291.
604 2005-09-26 Marco Pesenti Gritti <mpg@redhat.com>
608 Show title even for unknown links
610 2005-09-26 Marco Pesenti Gritti <mpg@redhat.com>
612 * shell/ev-window-title.c: (ev_window_title_update):
614 Strip the title string
616 2005-09-26 Marco Pesenti Gritti <mpg@redhat.com>
618 * shell/ev-window-title.c:
620 Add .rtf to the bad extensions list
622 2005-09-26 Marco Pesenti Gritti <mpg@redhat.com>
624 * shell/ev-view.c: (doc_point_to_view_point), (goto_fitr_link),
625 (goto_fitv_link), (goto_fith_link), (goto_xyz_link):
627 Ignore link coordinates if they are outside page bounds
629 2005-09-26 Marco Pesenti Gritti <mpg@redhat.com>
631 * backend/ev-link.c: (ev_link_type_get_type),
632 (ev_link_get_filename), (ev_link_get_params),
633 (ev_link_get_property), (ev_link_set_property),
634 (ev_window_dispose), (ev_link_class_init), (ev_link_new_launch):
637 * shell/ev-view.c: (ev_view_goto_link), (ev_view_class_init):
638 * shell/ev-window.c: (launch_link), (view_external_link_cb),
641 Implement launch links. Delegate external link opening to
644 2005-09-24 Marco Pesenti Gritti <mpg@redhat.com>
646 * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_bottom),
647 (ev_link_get_right), (ev_link_get_property),
648 (ev_link_set_property), (ev_link_class_init),
649 (ev_link_new_page_fitv), (ev_link_new_page_fitr):
652 * shell/ev-view.c: (goto_fitr_link), (ev_view_goto_link):
656 2005-09-24 Marco Pesenti Gritti <mpg@redhat.com>
658 * shell/ev-view.c: (ev_view_get_width), (ev_view_get_height),
659 (goto_fitv_link), (goto_fith_link), (goto_fit_link),
660 (ev_view_goto_link), (ev_view_size_request_continuous_dual_page),
661 (ev_view_size_request_continuous),
662 (ev_view_size_request_dual_page),
663 (ev_view_size_request_single_page), (ev_view_size_allocate),
664 (ev_view_zoom_for_size_continuous_and_dual_page),
665 (ev_view_zoom_for_size_continuous),
666 (ev_view_zoom_for_size_dual_page),
667 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
668 (ev_sizing_mode_get_type):
670 * shell/ev-window.c: (ev_window_sizing_mode_changed_cb):
672 Do not use modes for link, we need to calculate size ad hoc.
673 Still not perfect because of the usual scrollbar issues grrr.
675 2005-09-24 Marco Pesenti Gritti <mpg@redhat.com>
677 * backend/ev-link.c: (ev_link_type_get_type),
678 (ev_link_new_page_fith), (ev_link_new_page_fitv):
681 * shell/ev-view.c: (goto_fitv_link), (goto_fith_link),
682 (ev_view_goto_link), (ev_view_size_request_continuous_dual_page),
683 (ev_view_size_request_continuous),
684 (ev_view_size_request_dual_page),
685 (ev_view_size_request_single_page), (ev_view_size_allocate),
686 (zoom_for_size_fit_height),
687 (ev_view_zoom_for_size_continuous_and_dual_page),
688 (ev_view_zoom_for_size_continuous),
689 (ev_view_zoom_for_size_dual_page),
690 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
691 (ev_sizing_mode_get_type):
693 * shell/ev-window.c: (ev_window_sizing_mode_changed_cb):
695 Implement FIT_HEIGHT mode (only for links).
698 2005-09-24 Marco Pesenti Gritti <mpg@redhat.com>
700 * shell/ev-window-title.c: (get_filename_from_uri),
701 (ev_window_title_sanitize_extension), (ev_window_title_update),
702 (ev_window_title_set_document), (ev_window_title_set_uri),
703 (ev_window_title_free):
704 * shell/ev-window-title.h:
705 * shell/ev-window.c: (ev_window_setup_document),
706 (ev_window_popup_password_dialog):
708 Refactor window title building while fixing it for
711 2005-09-24 Marco Pesenti Gritti <mpg@redhat.com>
715 Escape link title before setting it in the model
717 2005-09-23 Marco Pesenti Gritti <mpg@redhat.com>
719 * shell/ev-application.c: (removed_from_session), (save_session),
720 (init_session), (ev_application_get_empty_window),
721 (ev_application_init), (ev_application_get_windows):
722 * shell/ev-application.h:
723 * shell/ev-window.c: (ev_window_finalize):
725 Add a function to retrieve window list and share it where
727 Implement session handling, works pretty well thanks to the
730 2005-09-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
732 * shell/ev-password.c: (ev_password_item_created_callback),
733 (ev_password_dialog_save_password):
735 Fix for bug 316972. Use async gnome-keyring API.
737 2005-09-22 Christian Persch <chpe@cvs.gnome.org>
739 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_class_init):
740 Remove unused unrealize handler. Add scroll handling to
741 ev_view_scroll_event for presentation mode (bug #316708),
742 and fix the event state checks there.
744 2005-09-22 Marco Pesenti Gritti <mpg@redhat.com>
746 * shell/ev-page-action.c: (page_changed_cb):
748 "marco, maybe we should be crazy and jump right to 6! :)"
750 Bryan Clark, Sep 2005
752 2005-09-22 Marco Pesenti Gritti <mpg@redhat.com>
754 * ps/ps-document.c: (save_document), (ps_document_save),
755 (ps_document_ps_export_begin), (ps_document_ps_export_do_page),
756 (ps_document_ps_export_end):
758 Fix unstructured documents save and print
760 2005-09-22 Marco Pesenti Gritti <mpg@redhat.com>
762 * shell/ev-application.c: (ev_application_open_uri):
764 Fix window size persistance
766 2005-09-22 Marco Pesenti Gritti <mpg@redhat.com>
768 * shell/ev-view.c: (ev_view_button_release_event):
770 Based on a patch from carlosgc@gnome.org. Mouse buttons
771 switch pages in presentation mode.
773 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
775 * shell/ev-page-cache.c: (ev_page_cache_get_size):
777 Dont cast to int before scaling
779 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
781 * backend/ev-link.c: (ev_link_type_get_type),
782 (ev_link_new_page_xyz), (ev_link_new_page_fit),
783 (ev_link_new_page_fith):
786 * shell/ev-view.c: (goto_fith_link), (ev_view_goto_link):
788 Implement FIT and FITH links
790 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
794 Return 0 results when search is not in progress.
796 * shell/ev-window.c: (ev_window_cmd_go_previous_page),
797 (ev_window_cmd_go_next_page), (find_bar_search_changed_cb):
799 Update menu sensitivity when cancelling search
801 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
803 * shell/ev-view.c: (ev_view_can_find_next):
805 Take all pages in consideration, not just current one
807 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
809 * shell/ev-page-cache.c:
810 * shell/ev-page-cache.h:
811 * shell/ev-view.c: (ev_view_binding_activated),
812 (ev_view_next_page), (ev_view_previous_page),
813 (ev_sizing_mode_get_type):
815 * shell/ev-window.c: (ev_window_cmd_go_previous_page),
816 (ev_window_cmd_go_next_page):
818 Move page next/previous functions from page chace to
819 view and change it to move by 2 page steps in dual mode.
821 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
823 * shell/ev-window.c: (update_sidebar_visibility),
824 (setup_sidebar_from_metadata), (ev_window_setup_document),
825 (setup_view_from_metadata):
827 Show the index by default when there is one
829 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
831 * shell/ev-window-title.c: (ev_window_title_set_document):
835 2005-09-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
837 * shell/ev-view.c: (view_update_range_and_current_page):
839 Allow display of last odd page in dual view. Fix for 316347.
841 2005-09-17 Wouter Bolsterlee <uws+gnome@xs4all.nl>
843 * shell/ev-window.c: (ev_window_cmd_edit_toolbar):
845 Make close button default. Fix for 316383.
847 2005-09-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
849 * shell/ev-properties-dialog.c: (ev_properties_dialog_init):
851 Mark close button as default. Fix for 316381.
853 2005-09-16 Marco Pesenti Gritti <mpg@redhat.com>
855 * backend/ev-link.c: (ev_link_class_init):
857 Allow negative doubles in left/top properties
859 2005-09-16 Marco Pesenti Gritti <mpg@redhat.com>
863 Remove a bunch of strings that was used only
866 2005-09-16 Marco Pesenti Gritti <mpg@redhat.com>
868 * shell/ev-window-title.c: (get_filename_from_uri),
869 (ev_window_title_set_document):
871 When title has a confusing extension, show also
872 the document filename inside ()
874 2005-09-16 Marco Pesenti Gritti <mpg@redhat.com>
877 * shell/ev-window-title.c: (ev_window_title_new),
878 (ev_window_title_update), (ev_window_title_set_type),
879 (ev_window_title_set_document), (ev_window_title_free):
880 * shell/ev-window-title.h:
881 * shell/ev-window.c: (ev_window_setup_document),
882 (password_dialog_response), (ev_window_popup_password_dialog),
883 (ev_window_dispose), (ev_window_init):
885 Factor out and cleanup window title code
887 2005-09-16 Marco Pesenti Gritti <mpg@redhat.com>
889 * shell/ev-window.c: (unable_to_load_dialog_response_cb),
892 Make dialog transient so it doesnt block other windows
894 2005-09-13 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
898 Fix pdf thumbnails rendering.
900 2005-09-13 Wouter Bolsterlee <uws+gnome@xs4all.nl>
902 * shell/ev-window.c: (fullscreen_set_timeout):
904 Increase timeout to hide full screen popup. Bug
907 2005-09-13 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
909 * data/evince.schemas.in:
910 * shell/ev-window.c: (update_action_sensitivity):
912 Allow the user to override document restrictions. Fix for bug
915 2005-09-13 Christian Persch <chpe@cvs.gnome.org>
917 * shell/ev-window.c: (ev_window_update_fullscreen_popup),
918 (ev_window_create_fullscreen_popup), (ev_window_screen_changed),
919 (ev_window_class_init): Fix multihead behaviour of fullscreen
920 toolbar popup. Fixes bug #315451.
922 2005-09-13 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
925 * data/evince-password.glade:
926 * shell/ev-password.c: (ev_password_dialog_set_property),
927 (ev_password_dialog_finalize), (ev_password_dialog_class_init),
928 (ev_password_dialog_init), (ev_password_set_bad_password_label),
929 (ev_password_dialog_entry_changed_cb),
930 (ev_password_dialog_entry_activated_cb),
931 (ev_password_dialog_save_password), (ev_password_keyring_found_cb),
932 (ev_password_search_in_keyring), (ev_password_dialog_get_password),
933 (ev_password_dialog_set_bad_pass):
934 * shell/ev-password.h:
935 * shell/ev-window.c: (password_dialog_response),
936 (ev_window_popup_password_dialog):
938 Support for gnome-keyring for encrypted PDF's.
940 2005-09-11 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
942 * shell/ev-view.c: (handle_link_over_xy), (ev_view_realize),
943 (ev_view_motion_notify_event), (ev_view_leave_notify_event),
944 (ev_view_enter_notify_event), (ev_view_class_init):
946 More precise handling of enter_notify/leave_notify events
947 in EvView. Fix for bug 315470.
949 2005-09-08 Christopher Aillon <caillon@redhat.com>
951 * shell/ev-window.c: (fullscreen_timeout_cb),
952 (fullscreen_set_timeout), (fullscreen_clear_timeout),
955 leak fix: unref fullscreen_timeout_source before clearing it
957 2005-09-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
959 * configure.ac, dvi/mdvi/Makefile.am:
961 Use lt1 instead lt1lib. Thanks to yselkowitz@users.sourceforge.net
963 2005-09-08 Marco Pesenti Gritti <mpg@redhat.com>
965 * backend/ev-link.c: (ev_link_new_page_xyz):
967 * shell/ev-view.c: (goto_xyz_link), (ev_view_goto_link):
969 Fix some bugs with xyz links, respect zoom
971 2005-09-08 Marco Pesenti Gritti <mpg@redhat.com>
973 * shell/ev-window.c: (page_changed_cb),
974 (setup_document_from_metadata), (update_sidebar_visibility),
975 (setup_view_from_metadata), (ev_window_run_fullscreen),
976 (ev_window_stop_fullscreen), (ev_window_run_presentation),
977 (ev_window_stop_presentation), (ev_window_continuous_changed_cb),
978 (ev_window_dual_mode_changed_cb),
979 (ev_window_sidebar_current_page_changed_cb):
981 null check uri before setting and getting metadata
983 2005-09-08 Marco Pesenti Gritti <mpg@redhat.com>
986 * properties/Makefile.am:
988 * thumbnailer/Makefile.am:
990 Some build fixes for cygwin. Patch by yselkowitz@users.sourceforge.net
992 2005-09-08 Marco Pesenti Gritti <mpg@redhat.com>
994 * shell/ev-sidebar-links.c: (ev_sidebar_links_class_init),
995 (selection_changed_callback):
996 * shell/ev-sidebar-links.h:
998 Add a signal for link activation.
1000 * shell/ev-view.c: (ev_view_goto_link),
1001 (ev_view_button_release_event):
1003 * shell/ev-window.c: (sidebar_links_link_activated_cb),
1006 Implement the signal so that we can handle all link types.
1008 * shell/ev-page-cache.c:
1010 Remove unused set_link function
1012 2005-09-08 Marco Pesenti Gritti <mpg@redhat.com>
1014 * lib/ev-tooltip.c: (ev_tooltip_set_position):
1016 Add some space from the cursor, hardcoded but I couldnt
1019 2005-09-07 Marco Pesenti Gritti <mpg@redhat.com>
1023 Use mozilla style vs gtk style, way better for links.
1025 * shell/ev-view.c: (ev_view_motion_notify_event),
1026 (ev_view_destroy), (ev_view_init):
1028 Deactive tooltip when the link hovered is changed.
1030 2005-09-07 Marco Pesenti Gritti <mpg@redhat.com>
1032 * backend/ev-document.h:
1033 * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_top),
1034 (ev_link_get_left), (ev_link_get_zoom), (ev_link_get_property),
1035 (ev_link_set_property), (ev_window_dispose), (ev_link_class_init),
1036 (ev_link_new_page), (ev_link_new_page_xyz):
1037 * backend/ev-link.h:
1038 * pdf/ev-poppler.cc:
1039 * shell/ev-view.c: (doc_point_to_view_point), (scroll_to_xyz_link),
1040 (go_to_link), (tip_from_link):
1042 Implement xyz links, still not functional. Links are a total
1043 mess, will need to refactor and bugfix a lot :(
1045 2005-09-05 Alessio Frusciante <algol@firenze.linux.it>
1047 * configure.ac: Added "it" (Italian) to ALL_LINGUAS.
1049 2005-09-05 Marco Pesenti Gritti <mpg@redhat.com>
1051 * data/evince-ui.xml:
1052 * data/evince.schemas.in:
1053 * shell/Makefile.am:
1054 * shell/ev-window.c: (update_chrome_visibility),
1055 (password_dialog_response), (ev_window_load_job_cb),
1056 (ev_window_xfer_job_cb), (ev_window_open_uri),
1057 (ev_window_class_init), (set_chrome_actions), (load_chrome),
1060 Remove the statusbar. This regress loading feedback, need to
1061 check with Bryan what we want to do there...
1063 2005-09-05 Marco Pesenti Gritti <mpg@redhat.com>
1065 * lib/ev-tooltip.c: (ev_tooltip_init):
1067 Fix tooltip border and size handling
1069 2005-09-05 Marco Pesenti Gritti <mpg@redhat.com>
1071 * lib/ev-tooltip.c: (ev_tooltip_dispose), (ev_tooltip_class_init),
1072 (ev_tooltip_set_position), (ev_tooltip_recently_shown),
1073 (ev_tooltip_timeout), (ev_tooltip_activate),
1074 (ev_tooltip_deactivate):
1076 * shell/ev-view.c: (ev_view_motion_notify_event):
1078 Delay popup showing. Mirror gtk logic/times.
1080 2005-09-03 Marco Pesenti Gritti <mpg@redhat.com>
1083 * lib/ev-tooltip.c: (ev_tooltip_expose_event),
1084 (ev_tooltip_class_init), (ev_tooltip_init), (ev_tooltip_new),
1085 (ev_tooltip_set_text), (ev_tooltip_set_position):
1088 Simple widget to show tooltips at a custom position
1090 * shell/ev-view.c: (tip_from_link), (ev_view_motion_notify_event),
1093 Use it for links. First go, needs work
1095 2005-08-17 Dennis Cranston <dennis_cranston@yahoo.com>
1097 * shell/ev-window.c: (ev_window_cmd_edit_toolbar): A couple small
1098 HIG fixes. Use title capitalization for window title. Use 12
1099 pixels of space between the dialog's vbox and action area.
1101 2005-09-02 Marco Pesenti Gritti <mpg@redhat.com>
1103 * shell/ev-window.c: (file_open_dialog_response_cb),
1104 (ev_window_cmd_file_open), (file_save_dialog_response_cb),
1105 (ev_window_cmd_save_as):
1107 Make file pickers not modal and refactor code some
1109 2005-09-02 Marco Pesenti Gritti <mpg@redhat.com>
1111 * shell/ev-sidebar.h:
1112 * shell/ev-sidebar.c: (ev_sidebar_set_property),
1113 (ev_sidebar_get_current_page), (ev_sidebar_get_property),
1114 (ev_sidebar_class_init), (ev_sidebar_select_page),
1115 (ev_sidebar_menu_item_activate_cb), (ev_sidebar_new),
1116 (ev_sidebar_set_page):
1118 Add a current page property and allow to get/set it
1120 * shell/ev-window.c: (setup_view_from_metadata),
1121 (ev_window_sidebar_current_page_changed_cb), (ev_window_init):
1123 Persist current sidebar page per document
1125 2005-09-02 Marco Pesenti Gritti <mpg@redhat.com>
1127 * data/evince.schemas.in:
1128 * shell/ev-window.c: (update_chrome_visibility),
1129 (setup_document_from_metadata), (update_sidebar_visibility),
1130 (setup_view_from_metadata), (ev_window_sidebar_position_change_cb),
1131 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
1132 (ev_window_run_presentation), (ev_window_stop_presentation),
1133 (ev_window_view_sidebar_cb),
1134 (ev_window_sidebar_visibility_changed_cb), (set_chrome_actions),
1135 (load_chrome), (ev_window_init):
1137 Persist size/visibility of sidebar per document
1139 Fri Sep 2 00:59:55 2005 Jonathan Blandford <jrb@redhat.com>
1141 * shell/ev-view.c (draw_loading_text): Draw loading text.
1143 2005-09-02 Dan Damian <dand@gnome.ro>
1145 * configure.in: Added "ro" to ALL_LINGUAS.
1147 2005-09-01 Marco Pesenti Gritti <mpg@redhat.com>
1149 * shell/ev-view.c: (clear_caches):
1151 ev_page_cache_get doesnt return a reference,
1152 dont try to unref it.
1154 2005-09-01 Marco Pesenti Gritti <mpg@redhat.com>
1156 * shell/main.c: (load_files_remote):
1158 Fix timestamp parameter with dbus <= 0.33
1160 2005-08-31 Marco Pesenti Gritti <mpg@redhat.com>
1162 * data/evince.schemas.in:
1164 Add missing full stop
1166 2005-08-31 Hiroyuki Ikezoe <poincare@ikezoe.net>
1168 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info):
1169 * shell/ev-window.c: (ev_window_print_range), (ev_window_dispose):
1171 Plug some memory leaks
1173 2005-08-29 Christian Persch <chpe@cvs.gnome.org>
1176 * lib/ev-debug.c: (trap_handler):
1178 Check for execinfo.h and use it only if it exists.
1179 Ported from Epiphany (bug #314776).
1181 2005-08-29 Duarte Loreto <happyguy_pt@hotmail.com>
1183 * configure.ac: Added Portuguese (pt) to ALL_LINGUAS.
1185 2005-08-27 Mohammad DAMT <mdamt@gnome.org>
1187 * configure.ac: Added Indonesian "id" to ALL_LINGUAS
1188 * po/id.po : Added Indonesian translation
1190 Fri Aug 26 00:45:09 2005 Jonathan Blandford <jrb@redhat.com>
1193 * shell/ev-application.c: Last minute GTK-2.6 fixes.
1194 * NEWS: Release 0.4.0
1196 Thu Aug 25 23:40:23 2005 Jonathan Blandford <jrb@redhat.com>
1198 * configure.ac: catch another gtk+-2.8ism
1199 * shell/main.c: Make work with gtk+-2.6
1201 2005-08-25 Ryan Lortie <desrt@desrt.ca>
1203 * shell/ev-application-service.xml: Add 'timestamp' argument to
1204 ev_application_open_window and ev_application_open_uri methods.
1206 * shell/ev-application.h: Add 'timestamp' argument to
1207 ev_application_open_window, ev_application_open_uri,
1208 and ev_application_open_uri_list functions.
1210 * shell/ev-application.c (ev_application_open_window,
1211 ev_application_open_uri, ev_application_open_uri_list): Change
1212 functions that show/present windows to use a timestamp if one
1215 * shell/ev-window.c (ev_window_cmd_file_open,
1216 ev_window_cmd_recent_file_activate, drag_data_received_cb):
1217 * shell/main.c (load_files): Modify calls to ev_application to
1218 include GDK_CURRENT_TIME as timestamp.
1220 * shell/main.c (load_files_remote): Obtain timestamp for client
1221 instance from GDK and pass to server instance so new windows are
1222 focused properly. Fix dbus_g_proxy_call() calls by including second
1227 Thu Aug 25 22:13:08 2005 Jonathan Blandford <jrb@redhat.com>
1229 * shell/ev-window.c (ev_window_finalize): Check for
1230 avail. EvWindows when quiting to handle the finalize better,
1233 2005-08-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1235 * properties/ev-properties-view.c:
1237 Set textdomain to libglade. Fixes translation problem in property page.
1239 2005-08-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1241 * djvu/djvu-document.c: (djvu_document_thumbnails_get_thumbnail):
1243 * dvi/dvi-document.c: (dvi_document_thumbnails_get_thumbnail):
1244 * dvi/mdvi-lib/Makefile.am:
1246 Fix rotation of thumbnails, ported to new API. Moved library
1247 dependencies earlier, probably it will fix linkage problem.
1249 Thu Aug 25 02:32:32 2005 Jonathan Blandford <jrb@redhat.com>
1251 * backend/ev-document-misc.c:
1252 (ev_document_misc_get_thumbnail_frame):
1253 * backend/ev-document-misc.h:
1255 * pdf/ev-poppler.cc:
1256 * shell/Makefile.am:
1257 * shell/ev-sidebar-thumbnails.c: (add_range),
1258 (ev_sidebar_thumbnails_set_loading_icon),
1259 (ev_sidebar_thumbnails_refresh),
1260 (ev_sidebar_thumbnails_set_document):
1261 * shell/ev-sidebar-thumbnails.h:
1262 * shell/ev-view.c: (ev_view_motion_notify_event),
1263 (ev_view_set_property), (ev_view_get_property),
1264 (ev_view_class_init), (ev_view_set_rotation):
1265 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
1266 (ev_window_cmd_edit_rotate_right), (ev_window_rotation_changed_cb),
1268 * tiff/tiff-document.c: (tiff_document_thumbnails_get_thumbnail):
1269 Redo rotation (again). prepare for 0.4.0
1271 2005-08-24 Kristian Høgsberg <krh@redhat.com>
1273 * configure.ac: Bump poppler requirement to 0.4.1.
1275 * pdf/ev-poppler.cc (pdf_selection_render_selection): Add rotation
1276 argument to poppler_page_render_selection() call.
1278 2005-08-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1280 * djvu/djvu-document.c: (djvu_document_render_pixbuf),
1281 (djvu_document_thumbnails_get_thumbnail):
1282 * dvi/dvi-document.c: (dvi_document_render_pixbuf),
1283 (dvi_document_thumbnails_get_thumbnail):
1284 * pixbuf/pixbuf-document.c: (pixbuf_document_render_pixbuf),
1285 (pixbuf_document_thumbnails_get_thumbnail):
1286 * tiff/tiff-document.c: (tiff_document_render_pixbuf):
1288 Update rotation direction of backends to fit with pdf and ps.
1290 2005-08-24 Marco Pesenti Gritti <mpg@redhat.com>
1292 * backend/ev-async-renderer.c: (ev_async_renderer_render_pixbuf):
1293 * backend/ev-async-renderer.h:
1294 * ps/ps-document.c: (ps_document_init), (setup_pixmap),
1295 (setup_page), (ps_document_get_page_size),
1296 (ps_async_renderer_render_pixbuf):
1298 * shell/ev-jobs.c: (ev_job_render_run):
1300 Fix orientation in the postscript document
1302 2005-08-23 Marco Pesenti Gritti <mpg@redhat.com>
1304 * pdf/ev-poppler.cc:
1305 * ps/ps-document.c: (push_pixbuf), (ps_document_widget_event):
1306 * shell/ev-view.c: (highlight_find_results):
1308 Adapt to the new poppler rotation API. Fix text maps on landscape
1311 Sat Aug 20 17:13:48 2005 Jonathan Blandford <jrb@redhat.com>
1313 * shell/ev-view.c (compute_new_selection_text): get the correct
1314 region when selecting in modes other than continuous.
1316 Sat Aug 20 13:10:01 2005 Jonathan Blandford <jrb@redhat.com>
1318 * shell/main.c (main): remove redundant g_warnings.
1320 2005-08-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1322 * shell/Makefile.am: Don't include autogenerated
1323 file ev-application-service.h into distribution, since
1324 it causes dbus crash. Fix for bugs 313724 and 313443.
1326 2005-08-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1328 * configure.ac: Fix sed expression for FreeBSD. Thanks
1329 to Joe Marcus Clark <marcus@freebsd.org>
1331 * shell/eggfindbar.c: (entry_activate_callback),
1332 (entry_changed_callback), (egg_find_bar_init),
1333 (egg_find_bar_set_search_string):
1335 Made findbar buttons unsensitive if there is no text in
1336 entry. Fix for the bug 313285.
1338 2005-08-17 Carlos Garcia Campos <carlosgc@gnome.org>
1340 * ps/ps-document.c: Use g_filename_display_name for displaying
1341 filenames and revert string freeze breackage
1343 2005-08-17 Marco Pesenti Gritti <mpg@redhat.com>
1350 * shell/Makefile.am:
1352 Add ev-application-service.xml to extra dist
1354 * shell/ev-view.c: (find_page_at_location):
1356 Remove unused function (fix warning)
1358 2005-08-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1360 * dvi/mdvi-lib/t1.c: (t1_reset_resolution), (t1_really_load_font),
1361 (t1_load_font), (t1_glyph_bitmap), (t1_font_remove):
1363 Fix warnings and compilation with t1lib-5.0 and newer. Fix for
1366 2005-08-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1368 * shell/ev-utils.c: (set_umask_permissions), (write_to_temp_file):
1369 * shell/ev-window.c:
1372 2005-08-16 Carlos Garcia Campos <carlosgc@gnome.org>
1374 * configure.ac: Update script to get dbus version.
1375 Fix for the bug #313443.
1377 2005-08-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1379 * shell/ev-window.c: (ev_window_cmd_escape):
1381 Return focus back to view on escape. Fix for bug 313295.
1383 2005-08-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1385 * shell/ev-window.c: (update_window_title),
1386 (ev_window_popup_password_dialog), (ev_window_load_job_cb),
1387 (ev_window_cmd_save_as):
1389 Correct conversion from uri to displayable string. Fix for
1392 2005-08-16 Carlos Garcia Campos <carlosgc@gnome.org>
1394 * ps/ps-document.c: convert filename to utf8 when there is an error
1395 loading document. Fixes #309915
1397 2005-08-16 Marco Pesenti Gritti <mpg@redhat.com>
1401 We depend on poppler 0.4.0
1403 Mon Aug 15 21:53:05 2005 Jonathan Blandford <jrb@redhat.com>
1406 * NEWS: Release 0.3.3.
1407 * thumbnailer/evince-thumbnailer.c: Remove pdf icon.
1409 2005-08-14 Dennis Cranston <dennis_cranston@yahoo.com>
1411 * shell/ev-window.c: (ev_window_cmd_file_open): HIG fixes:
1412 add a couple missing mnemonics to menu items, use title
1413 capitalization for menu items and window titles, and add
1414 ellipsis to open menu item.
1416 Mon Aug 15 00:40:21 2005 Jonathan Blandford <jrb@redhat.com>
1418 * pdf/ev-poppler.cc:
1419 * shell/ev-metadata-manager.c: (ev_metadata_manager_init):
1420 * shell/ev-view.c: (ev_view_rotate_left), (ev_view_set_rotation),
1421 (ev_view_get_rotation):
1423 * shell/ev-window.c: (setup_view_from_metadata),
1424 (save_rotation_to_file), (ev_window_cmd_edit_rotate_left),
1425 (ev_window_cmd_edit_rotate_right): Fix rotation. Save it to
1428 2005-08-14 Baris Cicek <baris@teamforce.name.tr>
1430 * configure.ac: Added tr to ALL_LINGUAS
1432 2005-08-12 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1434 * shell/ev-view.c: Fix for bug Bug 311838. Search backward
1435 requires several clicks to find word. Thanks to
1436 Colin Slater <kiltedtaco@gmail.com>.
1438 2005-08-11 Bryan Clark <clarkbw@cvs.gnome.org>
1440 * data/evince.desktop.in.in: Hide menu entry and
1441 rename it to "Document Viewer". Fix for bug
1444 2005-08-11 Crispin Flowerday <gnome@flowerday.cx>
1446 * shell/ev-page-action.c (ev_page_action_class_init):
1448 Point to the correct function in constructor of the
1449 activate_label signal
1451 Tue Aug 9 02:17:13 2005 Jonathan Blandford <jrb@redhat.com>
1453 * shell/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
1454 * shell/ev-jobs.h: Make thread safe.
1456 2005-08-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1458 * shell/ev-view.c: (view_update_range_and_current_page):
1459 Don't update page range if we are scrolling to some document
1462 2005-08-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1464 * shell/ev-view.c: (get_page_extents): reverse rotation/scale
1465 when getting max_page_width, fix drawing in dual mode.
1467 Sun Aug 7 02:06:08 2005 Jonathan Blandford <jrb@redhat.com>
1469 * shell/ev-view.c (ev_view_select_all): reverse rotation/page when
1470 getting the area for select_all.
1472 2005-08-06 Kristian Høgsberg <krh@redhat.com>
1474 * backend/ev-selection.c: (ev_selection_render_selection):
1475 * backend/ev-selection.h:
1476 * pdf/ev-poppler.cc:
1477 * shell/ev-jobs.c: (ev_job_render_new):
1479 * shell/ev-pixbuf-cache.c: (get_selection_colors),
1480 (add_job_if_needed), (ev_pixbuf_cache_get_selection_pixbuf):
1481 * shell/ev-view.c: (ev_view_focus_in), (ev_view_focus_out),
1482 (ev_view_class_init):
1484 Change selection color on focus in and focus out events. Also,
1485 poppler now uses GdkColor for specifying the selection colors, so
1486 drop some awkward conversion code.
1488 2005-08-06 Yair Hershkovitz <yairhr@gmail.com>
1490 * configure.ac: Added Hebrew translation
1492 Sat Aug 6 01:12:44 2005 Jonathan Blandford <jrb@redhat.com>
1495 * backend/ev-selection.c: (ev_selection_render_selection):
1496 * backend/ev-selection.h:
1497 * pdf/ev-poppler.cc:
1498 * shell/ev-jobs.c: (ev_job_render_dispose), (ev_job_render_new),
1499 (ev_job_render_run):
1501 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info),
1502 (ev_pixbuf_cache_new), (job_finished_cb), (add_job_if_needed),
1503 (convert_gdk_color_to_uint), (ev_pixbuf_cache_get_text_mapping),
1504 (ev_pixbuf_cache_style_changed),
1505 (ev_pixbuf_cache_get_selection_pixbuf),
1506 (ev_pixbuf_cache_set_selection_list),
1507 (ev_pixbuf_cache_get_selection_list):
1508 * shell/ev-pixbuf-cache.h:
1509 * shell/ev-utils.c: (ev_print_region_contents):
1511 * shell/ev-view.c: (ev_view_queue_draw_page),
1512 (selection_update_idle_cb), (ev_view_motion_notify_event),
1513 (ev_view_style_set), (draw_one_page), (ev_view_class_init),
1514 (setup_caches), (ev_view_find_next), (merge_selection_region),
1516 * shell/ev-window.c: (ev_window_update_fullscreen_popup):
1518 Clean up selection to be much smoother!
1520 2005-08-05 Kristian Høgsberg <krh@redhat.com>
1522 * pdf/ev-poppler.cc (pdf_selection_render_selection): Pass colors
1523 to poppler_page_render_selection().
1525 2005-08-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1527 * ps/ps-document.c: (save_page_list): Use
1528 unzipped document when printing. Thanks to
1529 Colin Slater <kiltedtaco@gmail.com>. Fix for bug
1532 2005-08-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1534 * shell/ev-window.c: (update_action_sensitivity):
1536 Disable print and save respect to lockdown gconf keys. Fix
1539 2005-08-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1542 * shell/ev-utils.c: (rename_file), (set_umask_permissions),
1543 (write_to_temp_file), (ev_file_set_contents):
1545 * shell/ev-window.c: (save_print_config_to_file):
1547 Copy-paste g_file_set_contents to keep compatibility with gtk 2.6
1550 2005-07-31 Christian Persch <chpe@cvs.gnome.org>
1552 * shell/ev-window.c: (load_print_config_from_file),
1553 (save_print_config_to_file), (ev_window_print_range):
1555 Persist the print settings. Fixes bug #311578.
1557 2005-07-31 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1559 * djvu/djvu-document.c: (djvu_document_get_page_size),
1560 (djvu_document_render_pixbuf), (djvu_document_document_iface_init),
1561 (djvu_document_thumbnails_get_thumbnail):
1562 * dvi/dvi-document.c: (dvi_document_get_page_size),
1563 (dvi_document_render_pixbuf), (dvi_document_document_iface_init),
1564 (dvi_document_thumbnails_get_dimensions),
1565 (dvi_document_thumbnails_get_thumbnail):
1566 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size),
1567 (pixbuf_document_render_pixbuf),
1568 (pixbuf_document_document_iface_init),
1569 (pixbuf_document_thumbnails_get_thumbnail):
1571 Update backends to make them build with new rotation system.
1573 2005-07-31 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1575 * help/C/figures/evince_start_window.png:
1577 Update documentation image from Luca Ferretti <elle.uca@libero.it>
1579 Sat Jul 30 19:09:34 2005 Jonathan Blandford <jrb@redhat.com>
1581 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_clear):
1582 * shell/ev-pixbuf-cache.h:
1583 * shell/ev-sidebar-thumbnails.c:
1584 (ev_sidebar_thumbnails_get_property), (add_range),
1585 (adjustment_changed_cb):
1586 * shell/ev-view.c: (ev_view_set_rotation): Fix rotation and the
1587 pixbuf cache. Make thumbnailing work again. Also, fix bug where
1588 we were thumbnailing the entire docment on startup, slowing us
1591 Fri Jul 29 23:14:28 2005 Jonathan Blandford <jrb@redhat.com>
1593 * shell/ev-page-cache.c: (ev_page_cache_new):
1594 * shell/ev-window.c: (update_action_sensitivity): Handle n_pages
1595 == 0, fixes #310306.
1597 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
1599 * shell/ev-view.c: (doc_rect_to_view_rect), (ev_view_rotate_right),
1600 (ev_view_rotate_left):
1602 Account rotation in doc_rect_to_view_rect.
1603 Ensure rotation doesnt go out of bounds.
1605 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
1607 * shell/ev-page-cache.c: (ev_page_cache_get_size):
1609 Correct and cleanup w/h swapping
1611 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
1613 * backend/ev-document-thumbnails.c:
1614 (ev_document_thumbnails_get_thumbnail):
1615 * backend/ev-document-thumbnails.h:
1616 * backend/ev-document.c:
1617 * backend/ev-document.h:
1618 * backend/ev-render-context.c: (ev_render_context_new),
1619 (ev_render_context_set_rotation):
1620 * backend/ev-render-context.h:
1621 * pdf/ev-poppler.cc:
1622 * ps/ps-document.c: (ps_document_document_iface_init):
1623 * shell/ev-jobs.c: (ev_job_thumbnail_new), (ev_job_thumbnail_run):
1625 * shell/ev-page-cache.c: (build_height_to_page),
1626 (ev_page_cache_new), (ev_page_cache_get_size),
1627 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
1628 (ev_page_cache_get_height_to_page):
1629 * shell/ev-page-cache.h:
1630 * shell/ev-pixbuf-cache.c: (check_job_size_and_unref),
1631 (add_job_if_needed), (ev_pixbuf_cache_add_jobs_if_needed),
1632 (ev_pixbuf_cache_set_page_range), (new_selection_pixbuf_needed),
1633 (ev_pixbuf_cache_get_selection_pixbuf):
1634 * shell/ev-pixbuf-cache.h:
1635 * shell/ev-print-job.c: (idle_print_handler):
1636 * shell/ev-sidebar-thumbnails.c: (add_range):
1637 * shell/ev-view.c: (view_update_range_and_current_page),
1638 (get_page_y_offset), (get_page_extents),
1639 (ev_view_size_request_continuous_dual_page),
1640 (ev_view_size_request_continuous),
1641 (ev_view_size_request_dual_page),
1642 (ev_view_size_request_single_page), (draw_one_page),
1643 (ev_view_set_rotation), (ev_view_rotate_right),
1644 (ev_view_rotate_left), (ev_view_zoom_for_size_presentation),
1645 (ev_view_zoom_for_size_continuous_and_dual_page),
1646 (ev_view_zoom_for_size_continuous),
1647 (ev_view_zoom_for_size_dual_page),
1648 (ev_view_zoom_for_size_single_page), (compute_new_selection_text),
1649 (ev_view_select_all):
1650 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
1651 * tiff/tiff-document.c: (tiff_document_render_pixbuf),
1652 (tiff_document_document_iface_init),
1653 (tiff_document_thumbnails_get_thumbnail):
1655 Use rotation rather than orientation. It's easier and enough
1658 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
1660 * shell/ev-page-cache.c: (build_height_to_page),
1661 (ev_page_cache_new), (ev_page_cache_get_size),
1662 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
1663 (ev_page_cache_get_height_to_page):
1664 * shell/ev-page-cache.h:
1665 * shell/ev-view.c: (get_page_y_offset), (get_page_extents),
1666 (ev_view_size_request_continuous_dual_page),
1667 (ev_view_size_request_continuous),
1668 (ev_view_zoom_for_size_continuous_and_dual_page),
1669 (ev_view_zoom_for_size_continuous):
1671 Make the page cache aware of page orientation.
1673 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
1675 * backend/ev-document-thumbnails.c:
1676 (ev_document_thumbnails_get_thumbnail):
1677 * backend/ev-document-thumbnails.h:
1678 * backend/ev-document.c:
1679 * backend/ev-document.h:
1680 * backend/ev-ps-exporter.c: (ev_ps_exporter_do_page):
1681 * backend/ev-ps-exporter.h:
1682 * pdf/ev-poppler.cc:
1683 * ps/ps-document.c: (ps_document_document_iface_init),
1684 (ps_document_ps_export_do_page):
1685 * shell/ev-jobs.c: (ev_job_thumbnail_new), (ev_job_thumbnail_run):
1687 * shell/ev-page-cache.c: (ev_page_cache_get_size),
1688 (ev_page_cache_get):
1689 * shell/ev-page-cache.h:
1690 * shell/ev-pixbuf-cache.c: (check_job_size_and_unref),
1691 (add_job_if_needed), (ev_pixbuf_cache_add_jobs_if_needed),
1692 (ev_pixbuf_cache_set_page_range), (new_selection_pixbuf_needed):
1693 * shell/ev-pixbuf-cache.h:
1694 * shell/ev-print-job.c: (idle_print_handler):
1695 * shell/ev-sidebar-thumbnails.c: (add_range):
1696 * shell/ev-view.c: (view_update_range_and_current_page),
1697 (get_page_extents), (ev_view_size_request_dual_page),
1698 (ev_view_size_request_single_page), (draw_one_page),
1699 (clear_caches), (ev_view_set_orientation), (ev_view_rotate_right),
1700 (ev_view_rotate_left), (ev_view_zoom_for_size_presentation),
1701 (ev_view_zoom_for_size_dual_page),
1702 (ev_view_zoom_for_size_single_page), (compute_new_selection_text),
1703 (ev_view_select_all):
1704 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
1705 * tiff/tiff-document.c: (tiff_document_get_page_size),
1706 (tiff_document_get_orientation), (rotate_pixbuf),
1707 (tiff_document_render_pixbuf), (tiff_document_document_iface_init),
1708 (tiff_document_thumbnails_get_thumbnail),
1709 (tiff_document_ps_export_do_page), (tiff_document_init):
1711 Really make use of the orientation bit of the render context.
1712 Use the render context in a few more places in the backend API.
1713 This regress orientation, but now it's done right. Will try to
1716 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
1718 * shell/ev-view.c: (ensure_rectangle_is_visible):
1720 Patch by Nickolay V. Shmyrev to fix find flickering
1722 2005-07-27 Martin Kretzschmar <martink@gnome.org>
1724 * backend/ev-ps-exporter.h: add paper_width, paper_height, and
1725 duplex parameters to ::begin.
1727 * tiff/tiff-document.c (tiff_document_ps_export_begin):
1728 * shell/ev-print-job.c (idle_print_handler):
1729 * ps/ps-document.c (ps_document_ps_export_begin):
1730 * pdf/ev-poppler.cc (pdf_document_ps_exporter_begin):
1731 * backend/ev-ps-exporter.c (ev_ps_exporter_begin): update
1732 implementations. Poppler backend needs poppler cvs. Rest has
1735 2005-07-25 Martin Kretzschmar <martink@gnome.org>
1737 * shell/ev-window.c (using_pdf_printer): new function.
1738 (ev_window_print_range): print a less techy message if someone
1739 tries to print to PDF.
1741 2005-07-25 Martin Kretzschmar <martink@gnome.org>
1743 * pdf/ev-poppler.cc (font_type_to_string): Remove trailing space
1744 from "unknown font" string. Bug #311431
1746 2005-07-24 Martin Kretzschmar <martink@gnome.org>
1748 * help/es/.cvsignore, help/sr/.cvsignore: ignore xmlpo output.
1750 2005-07-24 Martin Kretzschmar <martink@gnome.org>
1754 * pdf/ev-poppler.cc (font_type_to_string): new, returns user readable
1755 name for PopplerFontTypes
1756 (pdf_document_fonts_fill_model): add font type to the detail column
1758 * backend/ev-document-fonts.h: added
1759 EV_DOCUMENT_FONTS_COLUMN_DETAILS.
1761 * shell/ev-properties-fonts.c (font_cell_data_func): glue together
1762 font name and font details, add a little markup.
1763 (ev_properties_fonts_init): use the new cell data func, specify ypad
1764 property for the cell renderer.
1765 (ev_properties_fonts_set_document): add the details column.
1767 2005-07-24 Artur Flinta <aflinta@cvs.gnome.org>
1769 * configure.ac: Added "pl" to ALL_LINGUAS.
1771 2005-07-24 Danilo Šegan <danilo@gnome.org>
1773 * configure.ac: Added "sr" and "sr@Latn" to ALL_LINGUAS.
1775 2005-07-23 Tommi Vainikainen <thv@iki.fi>
1777 * help/ChangeLog: Started this for translations of manual.
1778 * configure.ac, autogen.sh, .cvsignore: Migrated to
1779 gnome-doc-utils. Patch in bug #311222.
1781 2005-07-22 Martin Kretzschmar <martink@gnome.org>
1783 * backend/ev-document-factory.c (mime_type_supported_by_gdk_pixbuf):
1784 #ifdef this away to fix an unused-function warning.
1786 2005-07-22 Ignacio Casal Quinteiro <nacho.resa@gmail.com>
1788 * configure.ac: Added 'gl' to ALL_LINGUAS.
1790 2005-07-22 Pawan Chitrakar <pawan@nplinux.org>
1792 * configure.ac: Added ne in ALL_LINGUAS
1794 2005-07-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1796 * shell/ev-view.c: (ev_view_leave_notify_event):
1798 Clear status message when pointer leaves view. Fix for bug
1801 2005-07-20 Ankit Patel <ankit644@yahoo.com>
1803 * configure.ac: Gujarati (gu) added to ALL_LINGUAS
1805 2005-07-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1807 * shell/ev-view.c: (ev_view_leave_notify_event),
1808 (ev_view_class_init):
1810 Set cursor to normal then leaving view.
1812 2005-07-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1816 Fix required djvulibre version.
1818 2005-07-15 Rajesh Ranjan <rajeshkajha@yahoo.com>
1820 *configure.ac: Hindi (hi) language added
1822 2005-07-15 Amanpreet Singh Brar <amanpreetalam@yahoo.com>
1824 *configure.ac: Punjabi (pa) Language added
1826 2005-07-12 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1828 * data/evince-ui.xml, shell/ev-window.c:
1830 Add keypad accelerators for zooming. Fix for bug 308128.
1832 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
1835 * backend/Makefile.am:
1836 * backend/ev-document-factory.c: (ev_document_type_get_from_mime):
1838 * shell/ev-document-types.c: (ev_document_types_add_filters):
1840 Allow to enable/disable the pixbuf backend.
1841 Default to off for now. If we want it enabled we should
1842 really put mime types in the desktop, implement properties etc.
1844 * properties/evince-properties.c:
1846 Initialize error to NULL.
1847 Check error is not NULL before freeing.
1849 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
1851 * shell/ev-window.c:
1853 Use F5 as presentation accell
1855 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
1857 * shell/ev-window.c: (update_chrome_visibility),
1858 (ev_window_create_fullscreen_popup), (ev_window_init):
1860 Do not leak the fullscreen toolbar
1862 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
1864 * shell/ev-window.c: (view_actions_focus_in_cb),
1865 (view_actions_focus_out_cb):
1867 These has a return value! Fix totally random focus
1868 issues we was seeing.
1870 2005-07-11 Carlos Garcia Campos <carlosgc@gnome.org>
1872 * shell/main.c: (load_files_remote):
1874 Allow open more than one file
1876 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
1878 * shell/main.c: (load_files_remote):
1880 Fix for dbus 0.33. bug #309975
1882 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
1884 * properties/ev-properties-main.c: (ev_properties_get_pages):
1886 Actually return NULL for types we dont support
1888 2005-07-08 Christian Persch <chpe@cvs.gnome.org>
1894 2005-07-08 Marco Pesenti Gritti <marco@gnome.org>
1896 * backend/ev-document-factory.c:
1897 (ev_document_factory_get_document):
1899 Do not try to create the object if type
1902 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
1904 * ps/ps-document.c: (ps_document_dispose),
1905 (ps_async_renderer_render_pixbuf):
1908 Do not leak the target window
1910 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
1912 * shell/ev-application.c: (ev_application_init):
1914 Let tbe check file existence for us.
1915 Add a comment about eggrecent mime filter.
1917 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
1919 * data/evince-ui.xml:
1920 * shell/ev-application.c: (ev_application_shutdown),
1921 (ev_application_init), (ev_application_get_toolbars_model),
1922 (ev_application_get_recent_model),
1923 (ev_application_save_toolbars_model):
1924 * shell/ev-application.h:
1925 * shell/ev-window.c: (ev_window_add_recent),
1926 (ev_window_setup_recent), (ev_window_cmd_edit_toolbar_cb),
1927 (ev_window_cmd_edit_toolbar), (ev_window_dispose),
1930 Use common toolbar and recent models for all windows.
1931 Patch by Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1933 Thu Jul 7 23:10:01 2005 Jonathan Blandford <jrb@redhat.com>
1935 * configure.ac: add FRONTEND_CORE_LIBS to evince_save_LIBS so we
1936 successfully check for gtk_icon_view_get_visible_range.
1938 2005-07-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1943 Fix djvu and dvi backend build.
1945 2005-07-07 Christian Persch <chpe@cvs.gnome.org>
1947 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c: (new_pixbuf_from_widget),
1948 (new_separator_pixbuf):
1952 2005-07-07 Christian Persch <chpe@cvs.gnome.org>
1954 * shell/ev-window.c: (ev_window_cmd_edit_toolbar):
1956 HIGification of toolbar editor dialogue.
1958 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1961 * shell/Makefile.am:
1963 Ever build metadata manager since it's just
1964 disabled at runtime now.
1966 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1968 * shell/ev-metadata-manager.c: (ev_metadata_manager_init),
1969 (ev_metadata_manager_get), (ev_metadata_manager_set):
1970 * shell/ev-metadata-manager.h:
1972 Add an _init functions that enabled metadata management
1975 * shell/ev-window.c: (page_changed_cb),
1976 (setup_document_from_metadata), (ev_window_setup_document),
1977 (setup_view_from_metadata), (ev_window_open_uri),
1978 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
1979 (ev_window_run_presentation), (ev_window_stop_presentation),
1980 (save_sizing_mode), (ev_window_zoom_changed_cb),
1981 (ev_window_continuous_changed_cb),
1982 (ev_window_dual_mode_changed_cb), (window_state_event_cb),
1983 (window_configure_event_cb):
1985 Remove all ugly metadata define since we deal with it
1988 * shell/main.c: (load_files_remote), (main):
1990 Add support for dbus cvs head. Hopefully didnt break one
1991 of the other versions now!
1993 If we dont get a response from the dbus server just
1994 give up with it and not enable metadata.
1996 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1999 * backend/Makefile.am:
2001 * cut-n-paste/recent-files/Makefile.am:
2002 * cut-n-paste/toolbar-editor/Makefile.am:
2003 * cut-n-paste/zoom-control/Makefile.am:
2006 * pixbuf/Makefile.am:
2007 * properties/Makefile.am:
2009 * shell/Makefile.am:
2010 * thumbnailer/Makefile.am:
2013 Make frontends depend on just libev.
2014 Rework and group CFLAGS/LIBS definitions.
2017 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
2021 do not unnecessarily save zoom
2024 * lib/ev-file-helpers.c: (ev_dot_dir):
2025 * shell/Makefile.am:
2030 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
2034 Remove unnecessary dependencies
2036 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
2038 * properties/Makefile.am:
2039 * thumbnailer/Makefile.am:
2042 Some more cleanups. Was really necessary
2043 but I probably introduced bugs, feel free
2046 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
2048 * backend/Makefile.am:
2050 * cut-n-paste/recent-files/Makefile.am:
2051 * cut-n-paste/toolbar-editor/Makefile.am:
2052 * cut-n-paste/zoom-control/Makefile.am:
2055 * pixbuf/Makefile.am:
2056 * properties/Makefile.am:
2058 * shell/Makefile.am:
2059 * thumbnailer/Makefile.am:
2062 Use gnome-common macros when possible.
2063 Cleanup dependencies.
2064 Actually disable deprecated where possible.
2066 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
2069 * backend/Makefile.am:
2070 * properties/Makefile.am:
2071 * shell/Makefile.am:
2072 * thumbnailer/Makefile.am:
2074 This should solve the circular dep without
2075 requiring dir reorg!
2077 * shell/ev-window.c: (setup_view_from_metadata):
2079 Never restore window size/position when the
2080 window is already visible.
2082 2005-07-06 Christian Persch <chpe@cvs.gnome.org>
2084 * shell/ev-metadata-manager.c: (ev_metadata_manager_save):
2086 Return a boolean from timeout func. Fix ported from gedit.
2088 2005-07-07 Iñaki Larrañaga <dooteo@euskalgnu.org>
2090 * configure.ac: Added "eu" (Basque) to ALL_LINGUAS.
2092 2005-07-06 Carlos Garcia Campos <carlosgc@gnome.org>
2094 * shell/ev-document-types.c: set "All Documents" as default filter in
2097 2005-07-06 Martin Kretzschmar <martink@gnome.org>
2099 * shell/ev-metadata-manager.c (ev_metadata_manager_set_int)
2100 (ev_metadata_manager_set_double, ev_metadata_manager_set_string)
2101 (ev_metadata_manager_set_boolean): fix value/val thinko.
2103 2005-07-06 Marco Pesenti Gritti <mpg@redhat.com>
2105 * shell/ev-window.c: (setup_view_from_metadata),
2106 (window_state_event_cb), (window_configure_event_cb),
2109 Remember window position and maximized state
2111 2005-07-06 Christian Persch <chpe@cvs.gnome.org>
2115 Fix DBUS configure checks.
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):
2123 * shell/ev-window.c: (page_changed_cb), (ev_window_run_fullscreen),
2124 (ev_window_stop_fullscreen), (ev_window_run_presentation),
2125 (ev_window_stop_presentation), (ev_window_zoom_changed_cb),
2126 (ev_window_continuous_changed_cb),
2127 (ev_window_dual_mode_changed_cb), (ev_window_new):
2129 Fix the build without DBUS.
2131 2005-07-06 Marco Pesenti Gritti <mpg@redhat.com>
2133 * shell/ev-metadata-manager.c: (parse_value), (save_values),
2134 (ev_metadata_manager_set_int), (ev_metadata_manager_set_double),
2135 (ev_metadata_manager_set_string),
2136 (ev_metadata_manager_set_boolean):
2137 * shell/ev-metadata-manager.h:
2139 Add support for some more types
2141 * shell/ev-view.c: (scroll_to_current_page),
2142 (ev_view_get_continuous), (ev_view_set_continuous),
2143 (ev_view_get_dual_page):
2145 * shell/ev-window.c: (page_changed_cb),
2146 (setup_document_from_metadata), (ev_window_setup_document),
2147 (setup_view_from_metadata), (ev_window_open_uri),
2148 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
2149 (ev_window_run_presentation), (ev_window_stop_presentation),
2150 (save_sizing_mode), (ev_window_sizing_mode_changed_cb),
2151 (ev_window_zoom_changed_cb), (ev_window_update_continuous_action),
2152 (ev_window_update_dual_page_action),
2153 (ev_window_continuous_changed_cb),
2154 (ev_window_dual_mode_changed_cb), (ev_window_init):
2156 Remember a bunch of view/document properties. Prolly some
2157 are still missing but it's getting interesting.
2159 2005-07-05 Martin Kretzschmar <martink@gnome.org>
2161 * configure.ac: check if dbus-binding-tool is installed. Not the
2162 case on current Ubuntu breezy, it seems.
2164 2005-07-05 Luca Ferretti <elle.uca@libero.it>
2166 * data/evince.desktop.in.in:
2168 Allow open uri lists and add TryExec field.
2170 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
2174 Enable dbus when available, do not require a configure
2177 2005-07-05 Christian Persch <chpe@cvs.gnome.org>
2181 Use AM_CONDITIONAL unconditionally, fixes the build with DBUS
2184 2005-07-05 Carlos Garcia Campos <carlosgc@gnome.org>
2185 Marco Pesenti Gritti <mpg@redhat.com>
2187 * shell/Makefile.am: Add --prefix for dbus-binding-tool script
2189 * shell/ev-application.[ch], shell/ev-window.c: change dbus RPC
2190 functions to the format required by dbus
2192 * shell/main.c: use G_TYPE instead of DBUS_TYPE to fix compilation
2193 errors. Use the RPC parameters in the expected way
2195 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
2198 * properties/Makefile.am:
2199 * properties/ev-properties-main.c: (ev_properties_get_pages):
2201 Support all mime types
2203 * shell/Makefile.am:
2204 * thumbnailer/Makefile.am:
2205 * thumbnailer/evince-thumbnailer.c: (get_document_from_uri),
2206 (evince_thumbnail_pngenc_get):
2208 Use the document factory
2210 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
2212 * backend/Makefile.am:
2213 * backend/ev-document-factory.c:
2214 (mime_type_supported_by_gdk_pixbuf),
2215 (ev_document_type_get_from_mime),
2216 (ev_document_factory_get_document),
2217 (ev_document_factory_get_backend),
2218 (ev_document_factory_get_mime_types),
2219 (ev_document_factory_get_all_mime_types):
2220 * backend/ev-document-factory.h:
2221 * shell/Makefile.am:
2222 * shell/ev-document-types.c: (get_document_from_uri),
2223 (ev_document_types_get_document),
2224 (file_filter_add_mime_list_and_free),
2225 (ev_document_types_add_filters):
2226 * shell/ev-document-types.h:
2227 * shell/ev-job-xfer.c: (ev_job_xfer_run):
2228 * shell/ev-properties-dialog.c:
2229 (ev_properties_dialog_set_document):
2230 * shell/ev-window.c: (ev_window_cmd_file_open),
2231 (ev_window_cmd_save_as):
2232 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
2234 Rework document types managing to avoid code duplication
2235 and actually abstract from backend implementations.
2236 Also provide a minimal factory api that can be used by
2237 thumbnailer/properties.
2239 2005-07-05 Christian Persch <chpe@cvs.gnome.org>
2241 * properties/ev-properties-view.c: (ev_properties_view_set_info):
2243 * shell/ev-properties-dialog.c: (ev_properties_dialog_init):
2246 2005-07-04 Matthew S. Wilson <msw@rpath.com>
2248 * shell/ev-properties-dialog.c
2249 (ev_properties_dialog_set_document): only call
2250 ev_properties_fonts_set_document() if the document implements the
2253 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
2256 * properties/Makefile.am:
2257 * properties/ev-properties-view.c:
2258 (ev_properties_view_register_type):
2259 * properties/ev-properties-view.h:
2260 * properties/ev-properties-main.h:
2262 Implement nautilus plugin for properties.
2263 Works only for pdf atm, I need to rework the
2264 document types stuff to get this to work
2267 2005-07-04 Martin Kretzschmar <martink@gnome.org>
2269 * shell/ev-properties-fonts.c (enum): kill redundant columns enum
2270 (ev_properties_fonts_set_document): use
2271 EV_DOCUMENT_FONTS_COLUMN_NUM_COLUMNS.
2273 2005-07-04 Matthew S. Wilson <msw@rpath.com>
2275 * tiff/tiff2ps.c: remove TRUE and FALSE definitions, glib provides
2277 (PlaceImage, tiff2ps_process_page): use
2278 g_ascii_dtostr to convert floats to strings in a locale-safe way.
2281 2005-07-04 Martin Kretzschmar <martink@gnome.org>
2283 * shell/main.c: include libgnomeui/gnome-authentication-manager.h
2284 (main): to call gnome_authentication_manager_init. Should fix
2287 * configure.ac: that requires libgnomeui 2.6.0.
2289 2005-07-04 Matthew S. Wilson <msw@rpath.com>
2291 * tiff/tiff-document.c (tiff_document_ps_export_begin)
2292 (tiff_document_ps_export_do_page, tiff_document_ps_export_end):
2293 use the new tiff2ps interfaces
2295 * tiff/tiff2ps.h (tiff2ps_context_new, tiff2ps_process_page)
2296 (tiff2ps_context_finalize): implement new interfaces for tiff2ps
2298 * tiff/tiff2ps.c: refactor tiff2ps code to use a context
2299 structure instead of global variables. Remove use of static
2300 variables in functions.
2302 2005-07-04 Carlos Garcia Campos <carlosgc@gnome.org>
2304 * shell/ev-page-action.c: unref the completion after setting it to the
2307 2005-07-04 Matthew S. Wilson <msw@rpath.com>
2309 * tiff/tiff2ps.c (generateEPSF): disable generating encapsulated
2312 2005-07-04 Matthew S. Wilson <msw@rpath.com>
2314 * shell/ev-window.c (update_action_sensitivity): disable
2315 File->Print if the document does not implement the ps exporter
2318 2005-07-04 Marco Pesenti Gritti <mpg@redhat.com>
2322 * data/evince-properties.glade:
2323 * properties/.cvsignore:
2324 * properties/Makefile.am:
2325 * properties/ev-properties-view.c: (ev_properties_view_dispose),
2326 (ev_properties_view_class_init), (ev_properties_view_format_date),
2327 (make_valid_utf8), (set_property), (ev_properties_view_set_info),
2328 (ev_properties_view_init), (ev_properties_view_new):
2329 * properties/ev-properties-view.h:
2330 * shell/Makefile.am:
2331 * shell/ev-properties-dialog.c: (ev_properties_dialog_class_init),
2332 (ev_properties_dialog_init), (ev_properties_dialog_set_document),
2333 (ev_properties_dialog_new):
2334 * shell/ev-properties-dialog.h:
2335 * shell/ev-properties-fonts.c: (ev_properties_fonts_dispose),
2336 (ev_properties_fonts_class_init), (ev_properties_fonts_init),
2337 (update_progress_label), (job_fonts_finished_cb),
2338 (ev_properties_fonts_set_document), (ev_properties_fonts_new):
2339 * shell/ev-properties-fonts.h:
2340 * shell/ev-properties.c:
2341 * shell/ev-properties.h:
2342 * shell/ev-window.c: (ev_window_setup_document),
2343 (ev_window_cmd_file_properties):
2345 Split the properties pages in two different objects, depend
2346 only on the backend where possible, use widgets instead
2347 of gobject for the glade part, reimplement the dialog
2349 I need this to implement nautilus properties page.
2351 2005-07-03 Matthew S. Wilson <msw@rpath.com>
2353 * tiff/tiff-document.c (tiff_document_ps_export_begin)
2354 (tiff_document_ps_export_do_page, tiff_document_ps_export_end)
2355 (tiff_document_document_ps_exporter_iface_init): implement the ps
2356 exporter interface for tiff documents
2358 * tiff/tiff2ps.c: added a modified version of tiff2ps.c from
2359 libtiff to implement TIFF postscript export
2361 * tiff/tiff2ps.h: added a header file for external tiff2ps
2364 * tiff/Makefile.am (libtiffdocument_la_SOURCES): add tiff2ps.c and
2367 2005-07-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2369 * shell/ev-view.c: (scroll_to_current_page),
2370 (ev_view_set_fullscreen), (ev_view_set_presentation):
2372 Scroll to current page when exit from presentation
2374 2005-07-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2376 * shell/ev-window.c: (update_document_mode),
2377 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
2378 (ev_window_cmd_view_fullscreen), (ev_window_stop_presentation),
2379 (ev_window_cmd_view_presentation), (ev_window_cmd_escape):
2381 Exit from fullscreen mode when switch to presentation. Fix for
2384 2005-07-02 Matthew S. Wilson <msw@rpath.com>
2386 * shell/ev-pixbuf-cache.c (ev_pixbuf_cache_get_selection_pixbuf):
2387 return NULL if the document does not implement the selection
2390 2005-07-02 Matthew S. Wilson <msw@rpath.com>
2392 * tiff/tiff-document.c (tiff_document_get_page_size): scale the
2393 reported height by using the resolution aspect ratio
2394 (tiff_document_render_pixbuf): scale the pixbuf using the
2395 resolution aspect ratio
2397 2005-07-01 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2401 Require libgnomeprint >= 2.5.1. Thanks to Colin Slater
2402 <kiltedaco@gmail.com>
2404 * djvu/djvu-document.c: (djvu_document_get_orientation),
2405 (djvu_document_set_orientation), (djvu_document_get_page_size),
2406 (rotate_pixbuf), (djvu_document_render_pixbuf),
2407 (djvu_document_document_iface_init):
2408 * dvi/dvi-document.c: (dvi_document_get_orientation),
2409 (dvi_document_set_orientation), (dvi_document_get_page_size),
2410 (rotate_pixbuf), (dvi_document_render_pixbuf),
2411 (dvi_document_document_iface_init):
2413 Dvi and djvu backends are ported to new API
2415 Fri Jul 1 00:10:15 2005 Jonathan Blandford <jrb@redhat.com>
2417 * backend/ev-selection.c: (ev_selection_get_selection_region),
2418 (ev_selection_get_selection_map):
2419 * backend/ev-selection.h:
2420 * pdf/ev-poppler.cc:
2421 * shell/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
2423 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info),
2424 (job_finished_cb), (copy_job_to_job_info), (add_job_if_needed),
2425 (ev_pixbuf_cache_get_text_mapping):
2426 * shell/ev-pixbuf-cache.h:
2427 * shell/ev-view.c: (location_in_text),
2428 (ev_view_motion_notify_event), (ev_view_set_cursor): Add I-Beam
2429 support to EvView. Now we can see where we can select! Sweet!
2431 2005-06-30 Kristian Høgsberg <krh@redhat.com>
2433 * shell/ev-view.c (ev_view_button_press_event): Fix
2434 event->y + view->scroll_x typo.
2436 2005-06-30 Kristian Høgsberg <krh@redhat.com>
2438 * pdf/ev-poppler.cc: Adjust to poppler API changes; use a
2439 sub-GdkPixbuf instead of passing dest_x and dest_y.
2441 * shell/ev-view.c: (view_point_to_doc_point),
2442 (view_rect_to_doc_rect), (ev_view_button_press_event),
2443 (ev_view_motion_notify_event), (compute_new_selection_rect),
2444 (gdk_rectangle_point_in), (compute_new_selection_text),
2445 (compute_selections): Update selection code to keep the selection
2446 around as two points and not as a normalized rectangle, and fix
2447 page level selection in two-column mode.
2449 2005-06-30 Alex Duggan <aldug@astrolinux.com>
2451 * shell/ev-window.c: (window_configure_event_cb):
2455 2005-06-30 Marco Pesenti Gritti <mpg@redhat.com>
2457 * pdf/ev-poppler.cc:
2461 2005-06-30 Marco Pesenti Gritti <mpg@redhat.com>
2463 * shell/Makefile.am:
2464 * shell/ev-metadata-manager.c: (item_free),
2465 (ev_metadata_manager_init), (ev_metadata_manager_shutdown),
2466 (parse_value), (parseItem), (load_values),
2467 (ev_metadata_manager_get), (value_free), (ev_metadata_manager_set),
2468 (save_values), (save_item), (get_oldest), (resize_items),
2469 (ev_metadata_manager_save), (ev_metadata_manager_set_int):
2470 * shell/ev-metadata-manager.h:
2472 Metadata manager from gedit but modified to use GValue, so that
2473 we dont need to keep converting from strings.
2477 ENABLE_METADATA conditional, on when dbus is on
2479 * shell/ev-application.c: (ev_application_open_uri):
2481 Show the window after load so that we can initialize
2482 window size before it's showed.
2484 * shell/ev-window.c: (ev_window_setup_from_metadata),
2485 (ev_window_open_uri), (window_configure_event_cb),
2488 Save and load metadata information about window size.
2489 Not yet keeping states in account.
2491 * shell/main.c: (main):
2493 Shutdown metadata manager.
2495 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
2497 * shell/ev-application-service.xml:
2499 * shell/Makefile.am:
2500 * shell/ev-application.c:
2501 * shell/ev-application.h:
2502 * shell/ev-window.c:
2503 * shell/ev-window.h:
2506 Add an optional dbus interface (--enable-dbus).
2507 Rework application code, mainly to be easier to
2509 Do not open multiple windows with the same document,
2512 Thu Jun 30 01:50:14 2005 Jonathan Blandford <jrb@redhat.com>
2514 * shell/ev-pixbuf-cache.c (clear_selection_if_needed): unref the
2515 pixbuf iff it exists.
2517 Thu Jun 30 01:43:00 2005 Jonathan Blandford <jrb@redhat.com>
2520 * backend/ev-render-context.[ch]:
2521 * backend/ev-selection.[ch]:
2523 Massive changes. We now support text selection of pdfs, and not
2524 just rectangular selection. This is pretty broken still, but I
2525 want to get something into CVS.
2527 2005-06-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2529 * pdf/ev-poppler.cc:
2531 Fix for Bug 309080: crash on window close.
2533 * shell/ev-page-action.c: (page_changed_cb):
2535 Fix for Bug 309168: Fix build with gcc 2.95. Thanks to
2536 jensgr@gmx.net (Jens Granseuer).
2538 2005-06-25 Marcel Telka <marcel@telka.sk>
2540 * configure.in (ALL_LINGUAS): Added sk.
2542 2005-06-24 Carlos Garcia Campos <carlosgc@gnome.org>
2544 * shell/ev-window.c: Make rotate menu entries unsensitive if there is
2547 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
2554 * cut-n-paste/recent-files/Makefile.am:
2558 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
2560 * pixbuf/pixbuf-document.c: (pixbuf_document_get_orientation),
2561 (pixbuf_document_set_orientation), (rotate_pixbuf),
2562 (pixbuf_document_get_page_size), (pixbuf_document_render_pixbuf),
2563 (pixbuf_document_document_iface_init), (pixbuf_document_init):
2565 Implement rotation and cleanup the code a bit.
2567 * tiff/tiff-document.c: (tiff_document_get_page_size),
2568 (tiff_document_get_orientation), (tiff_document_set_orientation),
2569 (rotate_pixbuf), (tiff_document_render_pixbuf),
2570 (tiff_document_document_iface_init), (tiff_document_init):
2572 Implement rotation. Was the quicker solution for the release
2573 but we really need to share this code in the shell.
2575 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
2577 * pdf/ev-poppler.cc:
2579 Enable rotation, require poppler cvs. Fix a leak.
2581 2005-06-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2583 * shell/ev-window.c: (update_action_sensitivity):
2585 Make properties unsensitive if document backend doesn't provide
2588 2005-06-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2590 * dvi/mdvi-lib/bitmap.c: (bitmap_alloc), (bitmap_alloc_raw),
2591 (bitmap_flip_horizontally), (bitmap_flip_vertically),
2592 (bitmap_flip_diagonally), (bitmap_rotate_clockwise),
2593 (bitmap_rotate_counter_clockwise), (bitmap_flip_rotate_clockwise),
2594 (bitmap_flip_rotate_counter_clockwise):
2595 * dvi/mdvi-lib/color.c: (mdvi_push_color), (get_color_table):
2596 * dvi/mdvi-lib/common.c: (read_string), (buff_free), (buff_add),
2598 * dvi/mdvi-lib/common.h:
2599 * dvi/mdvi-lib/dvimisc.c: (mdvi_push_color):
2600 * dvi/mdvi-lib/dviread.c: (get_bytes), (dreset), (define_font),
2601 (opendvi), (mdvi_reload), (mdvi_init_context),
2602 (mdvi_destroy_context), (mdvi_dopage), (special):
2603 * dvi/mdvi-lib/font.c: (font_drop_one), (font_free_unused):
2604 * dvi/mdvi-lib/fontmap.c: (read_encoding), (destroy_encoding),
2605 (file_hash_free), (register_encoding), (parse_spec),
2606 (mdvi_load_fontmap), (free_ent), (mdvi_init_fontmaps),
2607 (mdvi_add_fontmap_file), (mdvi_ps_read_fontmap),
2608 (mdvi_ps_flush_fonts), (mdvi_ps_find_font), (mdvi_ps_get_metrics):
2609 * dvi/mdvi-lib/fontsrch.c: (mdvi_list_font_class),
2610 (mdvi_register_font_type), (mdvi_unregister_font_type),
2611 (lookup_font), (mdvi_add_font), (mdvi_font_retry):
2612 * dvi/mdvi-lib/gf.c: (gf_read_bitmap), (gf_load_font):
2613 * dvi/mdvi-lib/hash.c: (mdvi_hash_remove), (mdvi_hash_remove_ptr),
2614 (mdvi_hash_destroy_key), (mdvi_hash_reset):
2615 * dvi/mdvi-lib/pagesel.c: (mdvi_parse_range),
2616 (mdvi_parse_page_spec), (mdvi_free_page_spec), (main):
2617 * dvi/mdvi-lib/paper.c: (mdvi_free_paper_specs):
2618 * dvi/mdvi-lib/pk.c: (pk_lookup), (pk_lookupn), (pk_load_font):
2619 * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
2620 * dvi/mdvi-lib/special.c: (mdvi_register_special),
2621 (mdvi_unregister_special), (mdvi_flush_specials):
2622 * dvi/mdvi-lib/t1.c: (t1_lookup_font), (t1_really_load_font),
2624 * dvi/mdvi-lib/tfm.c: (get_tfm_chars):
2625 * dvi/mdvi-lib/tfmfile.c: (afm_load_file), (tfm_load_file),
2626 (ofm1_load_file), (ofm_load_file), (get_font_metrics),
2627 (free_font_metrics), (flush_font_metrics):
2628 * dvi/mdvi-lib/tt.c: (tt_really_load_font), (tt_get_bitmap),
2630 * dvi/mdvi-lib/util.c: (mdvi_malloc), (mdvi_realloc),
2631 (mdvi_calloc), (mdvi_free), (mdvi_strdup), (mdvi_strncpy),
2632 (mdvi_strndup), (mdvi_memdup), (xstradd), (dstring_append),
2633 (dstring_insert), (dstring_new), (dstring_reset):
2634 * dvi/mdvi-lib/vf.c: (vf_load_font), (vf_free_macros):
2636 Rename xmalloc and xfree to mdvi_malloc and mdvi_free to
2637 avoid conflict with libtool on FC4
2639 * shell/ev-window.c: (ev_window_cmd_help_about):
2641 Update copyright year. Fix for bug 308828.
2643 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
2645 * shell/ev-view.c: (add_scroll_binding_keypad),
2646 (ev_view_binding_activated), (ev_view_class_init),
2647 (on_adjustment_value_changed):
2649 Bug 170874: Arrow keys switch pages in presentation mode
2651 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
2653 * shell/ev-window.c: (ev_window_sidebar_visibility_changed_cb):
2655 Fix for Bug 308265: Sidebar dissappears coming out of
2658 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
2660 * shell/ev-application.c: (ev_application_open):
2661 * shell/ev-document-types.c: (ev_document_types_add_filters),
2662 (ev_document_types_add_filters_for_type):
2663 * shell/ev-document-types.h:
2664 * shell/ev-window.c: (ev_window_cmd_save_as):
2666 Suggest basename as template when saving, provide filters
2667 for save dialog. It's bug 308402
2669 2005-06-20 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2671 * pdf/ev-poppler.cc:
2672 * shell/ev-sidebar-links.c: (job_finished_callback):
2673 * shell/ev-view.c: (update_find_status_message):
2677 2005-06-19 Christian Persch <chpe@cvs.gnome.org>
2679 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
2680 (egg_recent_view_uimanager_set_list):
2682 Fix buglet in !show_numbers case.
2684 2005-06-19 Christian Persch <chpe@cvs.gnome.org>
2686 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
2687 (connect_proxy_cb), (egg_recent_view_uimanager_set_list):
2689 Use pango ellipsisation.
2691 * pdf/ev-poppler.cc:
2693 Fix refcount leak, from nsh.
2695 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2697 * cut-n-paste/recent-files/Makefile.am:
2698 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
2699 * cut-n-paste/recent-files/egg-recent-view-gtk.h:
2701 Removed EggRecentViewGtk
2703 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
2704 * cut-n-paste/recent-files/egg-recent-view-uimanager.h:
2705 * shell/ev-window.c: (ev_window_cmd_recent_file_activate),
2706 (ev_window_setup_recent):
2708 Use ViewUIManager instead of ViewGtk. Less leaks, more compatibility
2711 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2713 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
2714 (egg_recent_view_gtk_finalize):
2718 * cut-n-paste/toolbar-editor/Makefile.am:
2720 Fix location of cursor icon.
2722 * pdf/ev-poppler.cc:
2723 * shell/ev-page-action.c: (build_new_tree_cb), (match_selected_cb),
2724 (display_completion_text), (match_completion):
2725 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
2726 (selection_changed_callback), (create_loading_model),
2727 (print_section_cb), (links_page_num_func),
2728 (update_page_callback_foreach):
2729 * shell/ev-window.c: (ev_window_dispose):
2731 Small memory fixes. Links model now store objects instead
2732 of pointers to improve memory management.
2734 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2736 * shell/ev-window.c: (zoom_control_changed_cb):
2738 Fix update of zoom control (bug 308268).
2740 Sat Jun 18 22:46:42 2005 Jonathan Blandford <jrb@redhat.com>
2742 * shell/ev-properties.c (set_property): escape the text correctly.
2743 Handles non-UTF-8 properties and escaped properties. Also, sets
2744 the text to "<i>None</i>" if the property isn't set.
2746 * data/evince-properties.glade: Change the label to be ellipsized,
2747 and give it a minimum size.
2749 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2751 * lib/ev-file-helpers.c: (ev_file_helpers_shutdown):
2752 * shell/ev-sidebar-links.c: (create_loading_model):
2753 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose):
2754 * shell/ev-view.c: (ev_view_set_document):
2755 * shell/ev-window.c: (ev_window_dispose):
2757 Various small fixes, mostly memory leaks. Thanks to valgrind.
2759 2005-06-19 Martin Kretzschmar <martink@gnome.org>
2761 * ps/ps-document.c: remove the locale.h include again ;-). And
2762 kill the (bogus) setlocale/savelocale business.
2764 2005-06-19 Jaap A. Haitsma <jaap@haitsma.org>
2768 Include locale.h to fix build
2770 * shell/ev-sidebar.c:
2772 Remove unnecessary includes
2774 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2776 * dvi/dvi-document.c: (dvi_document_load):
2777 * dvi/mdvi-lib/dviread.c: (mdvi_init_context):
2780 Check for incorrect dvi files. Fix parsing dvi on AMD64
2781 platform. Thanks to tester@tester.ca (Olivier Crete).
2783 2005-06-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2785 * shell/ev-page-action.c: (match_selected_cb),
2786 (display_completion_text), (match_completion), (update_model):
2787 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
2788 (expand_open_links):
2789 * shell/ev-sidebar.c: (ev_sidebar_destroy),
2790 (ev_sidebar_menu_item_activate_cb), (ev_sidebar_add_page),
2791 (ev_sidebar_set_document):
2792 * shell/ev-window.c: (ev_window_xfer_job_cb),
2793 (sidebar_widget_model_set), (sidebar_page_main_widget_update_cb):
2795 Fixed lot's of memory leaks, for example, memory leak on reload,
2796 described in bug 307793.
2798 2005-06-18 Marco Pesenti Gritti <mpg@redhat.com>
2800 * pdf/ev-poppler.cc:
2801 * shell/ev-sidebar-thumbnails.c: (clear_range), (add_range),
2802 (update_visible_range), (adjustment_changed_cb),
2803 (ev_sidebar_thumbnails_fill_model),
2804 (ev_sidebar_thumbnails_refresh),
2805 (ev_sidebar_tree_selection_changed),
2806 (ev_sidebar_icon_selection_changed),
2807 (ev_sidebar_thumbnails_use_icon_view),
2808 (ev_sidebar_thumbnails_set_document):
2809 * shell/ev-sidebar-thumbnails.h:
2810 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
2811 (ev_window_cmd_edit_rotate_right), (ev_window_init):
2813 Refresh thumbnails when changing orientation. Not fully
2814 working yet becuase of a sidebar bug.
2816 Set page orientation to poppler page everywhere. This sucks
2817 really need to fix poppler.
2819 2005-06-18 Marco Pesenti Gritti <mpg@redhat.com>
2821 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
2822 (egg_recent_view_gtk_new_menu_item),
2823 (egg_recent_view_gtk_set_property),
2824 (egg_recent_view_gtk_get_property),
2825 (egg_recent_view_gtk_class_init), (egg_recent_view_gtk_init),
2826 (egg_recent_view_gtk_set_tooltip_func),
2827 (egg_recent_view_gtk_set_label_width),
2828 (egg_recent_view_gtk_get_label_width):
2829 * cut-n-paste/recent-files/egg-recent-view-gtk.h:
2831 Sync with libegg (ellipsize labels)
2833 2005-06-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2835 * data/evince-ui.xml:
2836 * shell/ev-window.c: (ev_window_cmd_go_forward),
2837 (ev_window_cmd_go_backward):
2839 Shift + PageUp moves 10 Pages. Fix for 306125
2841 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
2843 * pdf/ev-poppler.cc:
2845 Add a flag to check if orientation has been overriden
2847 2005-06-17 Martin Kretzschmar <martink@gnome.org>
2849 * ps/ps.c (psscan, psfree): read "Creator:" comment, free creator
2852 * ps/ps.h: add creator field to document.
2854 * ps/ps-document.c (ps_document_get_info): set format to PostScript,
2857 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
2859 * data/evince-properties.glade:
2860 * shell/ev-properties.c: (ev_properties_set_document):
2862 s/PDF Version/Format
2864 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
2866 * shell/ev-properties.c: (ev_properties_set_document):
2868 Remove unnecessary translations
2870 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
2872 * cut-n-paste/toolbar-editor/Makefile.am:
2874 Correct library name
2876 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
2879 * cut-n-paste/recent-files/egg-recent-model.c:
2880 (egg_recent_model_write_raw), (egg_recent_model_lock_file),
2881 (egg_recent_model_unlock_file):
2882 * cut-n-paste/recent-files/egg-recent-util.c:
2883 (egg_recent_util_get_unique_id):
2884 * cut-n-paste/recent-files/update-from-egg.sh:
2885 * cut-n-paste/toolbar-editor/Makefile.am:
2886 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
2887 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
2888 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
2889 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
2890 (egg_toolbars_model_get_type):
2891 * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
2893 Better makefile for toolbar editor and update everything
2896 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
2898 * shell/ev-window.c: (update_document_mode):
2900 Prefer presentation mode when the document
2903 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
2905 * data/evince-ui.xml:
2906 * shell/ev-window.c:
2908 Add control-equal for zooming
2910 2005-06-17 Theppitak Karoonboonyanan <thep@linux.thai.net>
2912 * configure.ac: Added 'th' (Thai) to ALL_LINGUAS.
2914 2005-06-16 Marco Pesenti Gritti <mpg@redhat.com>
2916 * backend/ev-document.c: (ev_document_get_orientation):
2917 * backend/ev-document.h:
2918 * pdf/ev-poppler.cc:
2919 * ps/ps-document.c: (ps_document_get_orientation),
2920 (ps_document_set_orientation), (ps_document_document_iface_init):
2922 Add a get_orientation api. Improve set_orientation.
2924 * data/evince-ui.xml:
2925 * shell/ev-view.c: (ev_view_set_orientation),
2926 (ev_view_rotate_right), (ev_view_rotate_left):
2928 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
2929 (ev_window_cmd_edit_rotate_right):
2931 Better ui for changing document orientation
2933 2005-06-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2935 * shell/ev-sidebar-links.c: (ev_sidebar_links_get_property),
2936 (ev_sidebar_links_class_init), (ev_sidebar_links_get_label):
2937 * shell/ev-sidebar-links.h:
2938 * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
2939 (ev_sidebar_page_iface_init):
2940 * shell/ev-sidebar-page.h:
2941 * shell/ev-sidebar-thumbnails.c:
2942 (ev_sidebar_thumbnails_get_property),
2943 (ev_sidebar_thumbnails_class_init),
2944 (ev_sidebar_thumbnails_set_document):
2945 * shell/ev-sidebar-thumbnails.h:
2946 * shell/ev-view.c: (ev_view_motion_notify_event):
2947 * shell/ev-window.c: (update_chrome_visibility),
2948 (ev_window_cmd_focus_page_selector),
2949 (ev_window_update_fullscreen_popup), (view_actions_focus_in_cb),
2950 (sidebar_page_main_widget_update_cb), (ev_window_init):
2952 Autoraise toolbar on GoToPage binding and fix bindings in
2953 EvSidebarThumbnails page.
2955 2005-06-15 Christian Persch <chpe@cvs.gnome.org>
2957 * shell/ev-properties.c: (update_progress_label):
2959 Hide the progress label when finished; bug #307697.
2961 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
2963 * pdf/ev-poppler.cc:
2965 Enable is_open for links, you will need poppler cvs
2967 * shell/ev-properties.c: (job_fonts_finished_cb):
2969 Get a lock on the document when filling the tree view
2971 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
2973 * backend/ev-document-links.h:
2974 * pdf/ev-poppler.cc:
2975 * shell/ev-sidebar-links.c: (create_loading_model),
2976 (expand_open_links), (job_finished_callback):
2978 Expand links when specified by the document.
2979 Depend on a poppler api (defined out for now)
2981 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
2983 * shell/ev-properties.c: (ev_properties_dispose),
2984 (ev_properties_class_init), (dialog_destroy_cb),
2985 (ev_properties_init), (job_fonts_finished_cb), (setup_fonts_view),
2986 (ev_properties_set_document), (ev_properties_new),
2987 (ev_properties_show):
2988 * shell/ev-properties.h:
2990 Make it an object, cleanup the code, api to show it as transient
2991 and to set the document.
2993 * shell/ev-window.c: (ev_window_setup_document),
2994 (ev_window_cmd_file_properties):
2996 Adapt to EvProperties changes, do not show multiple
2997 times, update it when document changes.
2999 2005-06-14 Marco Pesenti Gritti <mpg@redhat.com>
3002 * ps/ps-document.c: (ps_document_init), (get_page_orientation),
3003 (ps_document_set_orientation), (ps_document_document_iface_init):
3006 Implement orientation here too
3008 * shell/ev-properties.c: (ev_properties_new):
3009 * data/evince-properties.glade:
3011 Hide the fonts page for backends that doesnt
3014 2005-06-14 Marco Pesenti Gritti <mpg@redhat.com>
3016 * backend/ev-document.c: (ev_document_set_orientation):
3017 * backend/ev-document.h:
3018 * pdf/ev-poppler.cc:
3020 Add orientation api. Currently poppler api is not optimal,
3021 we need to set orientation every time we _get a page.
3022 I will try to fix that at some point.
3024 * data/evince-ui.xml:
3025 * shell/ev-window.c: (ev_window_cmd_edit_landscape),
3026 (ev_window_cmd_edit_portrait), (ev_window_cmd_edit_flip):
3028 Add orientation menu items
3030 * shell/ev-page-cache.c: (ev_page_cache_clear):
3031 * shell/ev-page-cache.h:
3033 Add api to clear the cache
3035 * shell/ev-view.c: (setup_caches), (clear_caches),
3036 (ev_view_set_document), (ev_view_zoom_out),
3037 (ev_view_set_orientation):
3040 Implement orientation changing
3042 2005-06-13 Marco Pesenti Gritti <mpg@redhat.com>
3044 * backend/ev-document-fonts.c: (ev_document_fonts_get_progress),
3045 (ev_document_fonts_scan), (ev_document_fonts_fill_model):
3046 * backend/ev-document-fonts.h:
3048 Separate scan and fill so that we can incrementally fill from
3049 the main thread. Add a progress api.
3051 * data/evince-properties.glade:
3052 * pdf/ev-poppler.cc:
3053 * shell/ev-jobs.c: (ev_job_fonts_new), (ev_job_fonts_run):
3055 * shell/ev-properties.c: (update_progress_label),
3056 (job_fonts_finished_cb), (setup_fonts_view):
3058 Incrementally feel the list and show the progress
3059 percentage in a label like acrobat does.
3061 You are going to need poppler cvs
3063 2005-06-11 Marco Pesenti Gritti <mpg@redhat.com>
3065 * backend/ev-document-fonts.c: (ev_document_fonts_fill_model):
3066 * backend/ev-document-fonts.h:
3067 * pdf/ev-poppler.cc:
3069 Make fonts model fill incrementally.
3071 * shell/ev-job-queue.c: (handle_job), (search_for_jobs_unlocked),
3072 (no_jobs_available_unlocked), (ev_job_queue_init), (find_queue),
3073 (ev_job_queue_remove_job):
3074 * shell/ev-jobs.c: (ev_job_fonts_init), (ev_job_fonts_class_init),
3075 (ev_job_fonts_new), (ev_job_fonts_run):
3078 New job for fonts scanning
3080 * shell/ev-properties.c: (job_fonts_finished_cb),
3081 (fill_fonts_treeview), (setup_fonts_view), (ev_properties_new):
3082 * shell/ev-properties.h:
3083 * shell/ev-window.c: (ev_window_cmd_file_properties):
3085 Incrementally feel the treeview using the new job. Show Loading...
3086 message until scanning is completed.
3088 Hopefully I didnt break the build without the poppler patch.
3090 2005-06-10 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3092 * shell/ev-application.c: (ev_application_open):
3093 * shell/ev-document-types.c: (ev_document_type_from_from_mime),
3094 (ev_document_type_get_type), (ev_document_type_lookup):
3095 * shell/ev-document-types.h:
3096 * shell/ev-job-xfer.c: (ev_job_xfer_dispose), (ev_job_xfer_run):
3097 * shell/ev-job-xfer.h:
3098 * shell/ev-window.c: (ev_window_clear_local_uri),
3099 (ev_window_load_job_cb), (ev_window_xfer_job_cb),
3100 (ev_window_open_uri), (ev_window_add_recent), (ev_window_dispose):
3101 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3103 Transfer remote documents to tmp directory to display them later.
3105 2005-06-10 Marco Pesenti Gritti <mpg@redhat.com>
3107 * backend/ev-document-info.h:
3108 * shell/ev-properties.c: (ev_properties_new):
3110 s/GTime*/GTime. Not sure why we was using a pointer
3113 Wed Jun 8 01:04:22 2005 Jonathan Blandford <jrb@redhat.com>
3115 * shell/ev-sidebar-thumbnails.c: Use a GtkIconView in certain
3116 situations. That situation is that you're using GTK+-HEAD with
3117 the patch at #306726 is applied, and you have a document with <
3118 1500 pages in it. It's not quite as uniformly nice as the
3119 TreeView, but should be better in the long run.
3121 I'm pretty sure I guarded against breaking compilation with
3122 HAVE_GTK_ICON_VIEW_GET_VISIBLE_RANGE gaurds, though it's possible
3125 * shell/ev-window.c (ev_window_init): We don't have our tree/list
3126 widget yet, so I commented that code out
3127 enable_view_actions_for_widget() for now. Need to figure this
3130 * shell/ev-page-action.c (match_selected_cb): emit the right
3131 signals. Our cool C-l completion now works.
3133 2005-06-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3135 * backend/Makefile.am:
3136 * backend/ev-document-fonts.c:
3137 * backend/ev-document-links.c:
3138 * backend/ev-document.c: (ev_document_load):
3139 * backend/ev-document.h:
3140 * backend/ev-job-queue.c:
3141 * backend/ev-job-queue.h:
3142 * backend/ev-jobs.c:
3143 * backend/ev-jobs.h:
3144 * backend/ev-page-cache.c:
3145 * backend/ev-page-cache.h:
3147 EvPageCache and EvJobs are moved to shell.
3149 * lib/ev-file-helpers.c: (ev_file_helpers_shutdown),
3151 * lib/ev-file-helpers.h:
3153 New helper to work with temporary files
3155 * shell/Makefile.am:
3156 * shell/ev-application.c: (ev_application_open):
3157 * shell/ev-application.h:
3158 * shell/ev-job-queue.c: (remove_job_from_queue_locked),
3159 (remove_job_from_async_queue), (add_job_to_async_queue),
3160 (add_job_to_queue_locked), (notify_finished), (job_finished_cb),
3161 (handle_job), (search_for_jobs_unlocked),
3162 (no_jobs_available_unlocked), (ev_render_thread),
3163 (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
3164 (ev_job_queue_add_job), (move_job_async), (move_job),
3165 (ev_job_queue_update_job), (ev_job_queue_remove_job):
3166 * shell/ev-job-queue.h:
3167 * shell/ev-job-xfer.c: (ev_job_xfer_init), (ev_job_xfer_dispose),
3168 (ev_job_xfer_class_init), (ev_job_xfer_new), (ev_job_xfer_run):
3169 * shell/ev-job-xfer.h:
3170 * shell/ev-jobs.c: (ev_job_init), (ev_job_dispose),
3171 (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
3172 (ev_job_links_class_init), (ev_job_render_init),
3173 (ev_job_render_dispose), (ev_job_render_class_init),
3174 (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
3175 (ev_job_thumbnail_class_init), (ev_job_load_init),
3176 (ev_job_load_dispose), (ev_job_load_class_init), (ev_job_finished),
3177 (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
3178 (render_finished_cb), (ev_job_render_run), (ev_job_thumbnail_new),
3179 (ev_job_thumbnail_run), (ev_job_load_new), (ev_job_load_run):
3181 * shell/ev-page-action.c: (ev_page_action_set_document):
3182 * shell/ev-page-cache.c: (ev_page_cache_init),
3183 (ev_page_cache_class_init), (ev_page_cache_finalize),
3184 (ev_page_cache_new), (ev_page_cache_get_n_pages),
3185 (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
3186 (ev_page_cache_set_page_label), (ev_page_cache_set_link),
3187 (ev_page_cache_get_title), (ev_page_cache_get_size),
3188 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
3189 (ev_page_cache_get_height_to_page),
3190 (ev_page_cache_get_max_label_chars),
3191 (ev_page_cache_get_page_label),
3192 (ev_page_cache_has_nonnumeric_page_labels),
3193 (ev_page_cache_get_info), (ev_page_cache_next_page),
3194 (ev_page_cache_prev_page), (ev_page_cache_get):
3195 * shell/ev-page-cache.h:
3196 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_update_range),
3197 (ev_pixbuf_cache_clear_job_sizes),
3198 (ev_pixbuf_cache_add_jobs_if_needed),
3199 (ev_pixbuf_cache_set_page_range):
3200 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings):
3201 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document):
3202 * shell/ev-sidebar-thumbnails.c:
3203 (ev_sidebar_tree_selection_changed),
3204 (ev_sidebar_thumbnails_set_document):
3205 * shell/ev-statusbar.c: (ev_statusbar_destroy),
3206 (ev_statusbar_class_init), (ev_statusbar_init), (ev_statusbar_new),
3207 (ev_statusbar_get_context_id), (ev_statusbar_push),
3208 (ev_statusbar_pop), (ev_statusbar_set_maximized),
3209 (ev_statusbar_pulse), (ev_statusbar_show_progress),
3210 (ev_statusbar_set_progress):
3211 * shell/ev-statusbar.h:
3212 * shell/ev-view.c: (ev_view_set_document), (ev_view_find_next),
3213 (ev_view_find_previous):
3214 * shell/ev-window.c: (ev_window_is_empty),
3215 (ev_window_setup_document), (password_dialog_response),
3216 (ev_window_clear_jobs), (ev_window_load_job_cb),
3217 (ev_window_xfer_job_cb), (ev_window_open_uri),
3218 (ev_window_open_uri_list), (ev_window_cmd_recent_file_activate),
3219 (ev_window_print), (ev_window_print_range),
3220 (ev_window_state_event), (ev_window_cmd_view_reload),
3221 (menu_item_select_cb), (menu_item_deselect_cb),
3222 (view_status_changed_cb), (ev_window_dispose),
3223 (drag_data_received_cb), (ev_window_init):
3224 * shell/ev-window.h:
3225 * shell/main.c: (load_files):
3227 New statusbar to show progress on idle. Two new jobs -
3228 xfer job and load job to load document in background. And update
3229 of page_cache clients to new location of code.
3231 2005-06-08 Carlos Garcia Campos <carlosgc@gnome.org>
3233 * shell/ev-application.c, shell/ev-window.[ch]: Allow multiple
3234 selection in open dialog. It also remembers the last visited directory
3235 in the current session.
3237 2005-06-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3239 * shell/ev-properties.c: (ev_properties_new):
3240 * shell/ev-properties.h:
3241 * shell/ev-window.c: (ev_window_cmd_file_properties):
3243 Get document info from page cache instead of document itself.
3244 This should fix crash related to race conditions described in
3247 2005-06-07 Marco Pesenti Gritti <mpg@redhat.com>
3249 * ps/ps-document.c: (ps_document_init),
3250 (send_ps), (get_page_box), (output), (catchPipe), (input),
3251 (stop_interpreter), (file_length), (file_readable),
3252 (check_filecompressedb), (ps_document_enable_interpreter),
3253 (document_load), (ps_async_renderer_render_pixbuf):
3256 Big cleanup of the ps code
3258 2005-06-07 Marco Pesenti Gritti <mpg@redhat.com>
3260 * backend/Makefile.am:
3261 * backend/ev-async-renderer.c: (ev_async_renderer_get_type),
3262 (ev_async_renderer_class_init), (ev_async_renderer_render_pixbuf):
3263 * backend/ev-async-renderer.h:
3265 Add an async renderer interface (method + callback) which
3266 is useful for backends like ps.
3268 * backend/ev-job-queue.c: (remove_job_from_async_queue),
3269 (add_job_to_async_queue), (job_finished_cb), (handle_job),
3270 (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
3271 (ev_job_queue_add_job), (move_job_async), (move_job),
3272 (ev_job_queue_update_job), (ev_job_queue_remove_job):
3274 Add queues for async renderer, these are executed on the
3277 * backend/ev-jobs.c: (ev_job_render_new), (render_finished_cb),
3278 (ev_job_render_run):
3279 * backend/ev-jobs.h:
3281 If the backend support async renderer interface use it.
3283 * ps/ps-document.c: (ps_document_init), (push_pixbuf),
3284 (setup_pixmap), (ps_document_get_type),
3285 (ps_async_renderer_render_pixbuf),
3286 (ps_document_document_iface_init), (ps_async_renderer_iface_init):
3288 Implement async renderer interface.
3290 2005-06-07 Nickolay V. Shmyrev <<nshmyrev@yandex.ru>>
3292 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose):
3294 Cleanup links job on exit.
3296 2005-06-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3298 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
3299 (drag_data_get_cb), (drag_data_received_cb):
3300 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
3301 (drag_data_get_cb), (parse_item_list),
3302 (egg_toolbar_editor_load_actions):
3303 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
3304 (egg_toolbars_model_to_xml), (egg_toolbars_model_save),
3305 (parse_item_list), (parse_toolbars):
3306 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
3307 (dvi_pixbuf_put_pixel):
3309 Fix gcc 4.0 warnings
3311 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
3313 * ps/ps-document.c: (start_interpreter):
3315 Fix warning when loading ps
3317 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
3319 * ps/ps-document.c: (output):
3321 Fix crash when priting gs error messages.
3323 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
3325 * backend/ev-page-cache.c: (_ev_page_cache_new):
3326 * backend/ev-page-cache.h:
3328 Use a const to return title so that we dont double
3329 free it. Small cleanup and fix a leak.
3331 * shell/ev-window.c: (update_window_title):
3333 strdup value from get_title.
3335 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
3337 * shell/ev-sidebar-links.c: (job_finished_callback),
3338 (ev_sidebar_links_set_document):
3340 Cleanup the old job when changing document
3342 2005-06-05 Nickolay V. Shmyrev <<nshmyrev@yandex.ru>>
3344 * shell/ev-stock-icons.c:
3345 * shell/ev-stock-icons.h:
3346 * shell/ev-window.c:
3348 Add stock icons for actions that can appear in toolbar. Fix for
3351 2005-06-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3353 * backend/ev-page-cache.c: (ev_page_cache_finalize),
3354 (_ev_page_cache_new), (ev_page_cache_get_max_width),
3355 (ev_page_cache_get_max_height), (ev_page_cache_get_height_to_page):
3356 * backend/ev-page-cache.h:
3357 * shell/ev-view.c: (scroll_to_current_page),
3358 (view_update_range_and_current_page), (get_page_y_offset),
3359 (get_page_extents), (ev_view_size_request_continuous_dual_page),
3360 (ev_view_size_request_continuous),
3361 (ev_view_zoom_for_size_continuous_and_dual_page),
3362 (ev_view_zoom_for_size_continuous):
3364 More compact EvView layout in document with pages of different size.
3366 Sat Jun 4 19:20:57 2005 Jonathan Blandford <jrb@redhat.com>
3368 * shell/ev-window.c (ev_window_cmd_file_properties): fix
3371 2005-06-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3373 * shell/ev-view.c: (view_set_adjustment_values):
3374 * shell/ev-window.c: (ev_window_cmd_file_properties):
3376 A bit different fix for rounding problem but it has no
3377 problems on startup. Make properties window transient to parent.
3379 2005-06-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3381 * pdf/ev-poppler.cc:
3383 More commenting of font stuff.
3385 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
3387 * pdf/ev-poppler.cc:
3389 Comment out some more fonts stuff. Should really
3390 work without the poppler patch now.
3392 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
3394 * pdf/ev-poppler.cc:
3398 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
3400 * data/evince-properties.glade:
3401 * pdf/ev-poppler.cc:
3402 * shell/ev-properties.c: (setup_fonts_view):
3404 Set the column title. Show the dialog only
3405 once everything is setup.
3406 Getting font info can be very slow... will
3407 prolly need to make this threaded too.
3409 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
3411 * backend/Makefile.am:
3412 * backend/ev-document-fonts.c: (ev_document_fonts_get_type),
3413 (ev_document_fonts_get_fonts_model):
3414 * backend/ev-document-fonts.h:
3415 * data/evince-properties.glade:
3416 * pdf/ev-poppler.cc:
3417 * shell/ev-properties.c: (setup_fonts_view), (ev_properties_new):
3418 * shell/ev-properties.h:
3419 * shell/ev-window.c: (ev_window_cmd_file_properties):
3421 Implement fonts list. Defined out for now, since it depends
3422 on a not yet committed poppler patch.
3424 Fri Jun 3 21:07:57 2005 Jonathan Blandford <jrb@redhat.com>
3426 * shell/ev-view.c (get_page_extents): other_page isn't necessarily
3429 * shell/ev-window.c: Make sure we add the timeout when we get a
3432 * shell/ev-view.c (view_set_adjustment_values): Add 0.5 to
3433 adjustment->value before calculating the zoom factor to average
3434 out all of our rounding errors. The page no longer 'drifts' when
3437 2005-06-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3439 * data/evince-properties.glade:
3440 * shell/ev-properties.c: (ev_properties_format_date),
3443 Labels don't expand when the dialogue is resized.
3444 strftime result needs to be converted to UTF-8. Thanks
3445 to Christian Persch <chpe@gnome.org>.
3447 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
3449 * data/evince-properties.glade:
3453 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
3455 * backend/ev-document-info.h:
3456 * backend/ev-document.c: (ev_document_info_free):
3457 * data/evince-properties.glade:
3458 * pdf/ev-poppler.cc:
3459 * ps/ps-document.c: (ps_document_get_info):
3460 * shell/ev-properties.c: (ev_properties_format_date),
3461 (set_property), (ev_properties_new):
3462 * shell/ev-properties.h:
3463 * shell/ev-window.c: (ev_window_cmd_file_properties):
3465 Rework properties code to take only EvPropertyInfo
3466 in the constructor so that it can be useful for
3467 nautilus plugin too.
3469 Deal with backends that doesnt support some properties.
3470 Make set property code generic.
3472 2005-06-04 Christian Persch <chpe@gnome.org>
3474 * data/evince-properties.glade:
3476 fix spacings, make resizeable, and make data labels
3477 selectable + ellipsised
3479 2005-06-03 Marco Pesenti Gritti <mpg@redhat.com>
3481 * backend/ev-document-info.h:
3483 * data/evince-ui.xml:
3484 * pdf/ev-poppler.cc:
3485 * shell/Makefile.am:
3486 * shell/ev-window.c: (update_action_sensitivity),
3487 (ev_window_cmd_file_properties):
3489 Initial go at file properties. Patch by
3490 Emil Soleyman-Zomalan <emil@soleyman.com>.
3491 Needs love see #169583
3493 2005-06-02 Marco Pesenti Gritti <mpg@redhat.com>
3495 * ps/ps-document.c: (output):
3496 * ps/ps.c: (psscan):
3498 Try to render even if psscan fails.
3500 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
3502 * ps/ps.c: (psscan), (pscopydoc):
3504 Port buffered reading code from gv
3506 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
3508 * ps/ps-document.c: (interpreter_message), (output):
3510 Do not fail on interpreter messages
3512 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
3514 * backend/ev-document-misc.c:
3515 (ev_document_misc_get_thumbnail_frame):
3517 Pages can be 0 x 0, dont assert on this case
3519 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
3521 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
3522 (ev_sidebar_links_class_init), (ev_sidebar_links_set_document):
3524 Correctly manage our reference on document. Finally the reload
3525 huge leak is gone...
3527 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
3529 * ps/ps-document.c: (ps_document_dispose):
3531 Forgot to chain it to the parent. Thanks chpe.
3533 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
3535 * ps/ps-document.c: (ps_document_dispose),
3536 (ps_document_class_init), (stop_interpreter), (document_load):
3538 Cleanup dispose a bit. Dont leak the whole pixmap.
3540 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
3542 * pdf/ev-poppler.cc:
3544 Release the poppler document on dispose
3546 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
3548 * shell/ev-view.c: (ev_view_set_document):
3550 Release ref on the pixbuf cache when changing
3553 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
3555 * ps/ps-document.c: (ps_document_get_info):
3559 2005-05-31 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
3561 * backend/ev-page-cache.c: (ev_page_cache_init),
3562 (_ev_page_cache_new), (ev_page_cache_get_max_label_chars):
3563 * backend/ev-page-cache.h:
3564 * shell/ev-page-action.c: (page_changed_cb):
3566 Set page action entry width depending on labels width. Fix
3569 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
3571 * backend/ev-link.c: (ev_link_class_init):
3573 Allow -1 as page value (error)
3575 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
3577 * shell/ev-sidebar-thumbnails.c:
3578 (ev_sidebar_thumbnails_set_document):
3579 * shell/ev-view.c: (scroll_to_current_page),
3580 (view_set_adjustment_values), (ev_view_set_scroll_adjustments),
3581 (page_changed_cb), (on_adjustment_value_changed),
3582 (ev_view_set_document):
3584 Slightly modified patch by Nickolay V. Shmyrev <nshmyrev@yandex.ru>.
3587 2005-05-29 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3590 * djvu/djvu-document.c: (djvu_document_get_page_size):
3592 Require djvulibre CVS. Now djvu loading is much faster. Fix for
3595 Sat May 28 07:38:03 2005 Jonathan Blandford <jrb@redhat.com>
3597 * shell/ev-view.c (draw_one_page): modify the expose handling to
3600 * shell/ev-window.c (update_action_sensitivity): Respect
3601 permissions field. Kowtow to the man.
3603 * pdf/ev-poppler.cc: Get the permissions field.
3605 * tiff/*c: Make a tiny bit more robust.
3607 2005-05-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3609 * djvu/djvu-document.c:
3611 Pop messages from djvu context message queue.
3613 2005-05-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3615 * configure.ac, Makefile.am, shell/Makefile.am:
3616 * tiff/Makefile.am, shell/ev-document-types.c:
3618 Cleanup tiff configure checks. Fix for bug 305218.
3620 2005-05-24 Maxim V. Dziumanenko <mvd@mylinux.ua>
3622 * configure.ac: Added "uk" to ALL_LINGUAS.
3624 2005-05-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3626 * cut-n-paste/zoom-control/ephy-zoom.c:
3627 (ephy_zoom_get_changed_zoom_level):
3628 * cut-n-paste/zoom-control/ephy-zoom.h:
3629 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_set_property),
3630 (ev_view_get_property), (ev_view_class_init), (ev_view_set_zoom):
3631 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
3632 (ev_window_cmd_view_zoom_out), (ev_window_zoom_changed_cb),
3633 (zoom_control_changed_cb), (ev_window_init):
3635 Fix minor points related to moving best fit up. Introduce
3636 "zoom" property and make zoom control change it's value on
3637 notify::zoom signals. Fix for 305080.
3639 2005-05-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3641 * data/evince-ui.xml:
3642 * shell/ev-window.c: (set_view_actions_sensitivity):
3644 Use + and - as accels for zoom in and zoom out. Fix for 305001.
3646 2005-05-22 Marco Pesenti Gritti <mpg@redhat.com>
3650 Depends on poppler 0.3.2
3652 2005-05-22 Marco Pesenti Gritti <mpg@redhat.com>
3654 * cut-n-paste/recent-files/egg-recent-item.c:
3655 (egg_recent_item_get_short_name):
3656 * cut-n-paste/toolbar-editor/Makefile.am:
3657 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
3658 (new_pixbuf_from_widget):
3659 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
3660 * cut-n-paste/toolbar-editor/egg-marshal.c:
3661 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
3662 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
3666 Sat May 21 23:18:30 2005 Jonathan Blandford <jrb@redhat.com>
3668 * tiff/tiff-document.c: Rough TIFF backend.
3670 2005-05-21 Marco Pesenti Gritti <mpg@redhat.com>
3674 * cut-n-paste/toolbar-editor/Makefile.am:
3678 2005-05-21 Marco Pesenti Gritti <mpg@redhat.com>
3680 * shell/ev-view.c: (jump_to_find_result), (ev_view_can_find_next),
3681 (ev_view_find_next), (ev_view_find_previous):
3683 Remove the locks around get_n_results
3685 2005-05-21 Juerg Billeter <j@bitron.ch>
3687 * pdf/ev-poppler.c: (pdf_document_ps_exporter_begin):
3689 Pass correct number of pages to poppler.
3691 2005-05-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3695 * data/evince.desktop.in:
3696 * data/evince.desktop.in.in:
3699 Add conditionally dvi and djvu to desktop types. Fix for 304658.
3701 Sat May 21 00:21:30 2005 Jonathan Blandford <jrb@redhat.com>
3703 * shell/ev-view.c: (view_update_adjustments),
3704 (view_set_adjustment_values): cast adjustmen->value to (int)
3705 before using it. Otherwise, we get off by a pixel in some
3708 (draw_one_page): Draw the border on expose.
3710 Fri May 20 22:05:25 2005 Jonathan Blandford <jrb@redhat.com>
3712 * *shell/ev-view.c: Patch from Nickolay V. Shmyrev to reset the
3713 adjustment when the mode changes, #304923
3715 Fri May 20 02:00:03 2005 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3717 * shell/ev-view.c: Use gdk_widget_queue_draw to remove
3718 flickering on resize but still use gdk_window_scroll on
3721 Fri May 20 01:46:57 2005 Jonathan Blandford <jrb@redhat.com>
3723 * shell/ev-view.c: Patch from Nickolay Shmyrev to fix the -p
3726 Fri May 20 01:27:01 2005 Jonathan Blandford <jrb@redhat.com>
3728 * shell/ev-view.c: Patch from Nickolay Shmyrev to to scroll to
3729 second page on page_changed if possible, #304669
3731 Fri May 20 01:07:15 2005 Jonathan Blandford <jrb@redhat.com>
3733 * shell/ev-view.c (view_update_adjustments): Use gdk_window_scroll
3734 instead of gtk_widget_queue_draw. Massive speedups in scrolling.
3736 Fri May 20 01:05:10 2005 Jonathan Blandford <jrb@redhat.com>
3739 * shell/ev-view.c:(ev_view_size_allocate), (ev_view_class_init),
3740 (zoom_for_size_fit_width), (zoom_for_size_best_fit),
3741 (ev_view_zoom_for_size_presentation),
3742 (ev_view_zoom_for_size_continuous_and_dual_page),
3743 (ev_view_zoom_for_size_continuous),
3744 (ev_view_zoom_for_size_dual_page),
3745 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size):
3747 * shell/ev-window.c: (update_view_size),
3748 (ev_window_sizing_mode_changed_cb):
3750 Patch from Nickolay Shmyrev <nshmyrev@yandex.ru> to handle
3751 the scrollbars. It's not 100% right, but it's much closer. Kills
3752 an infinite loop, #304769
3755 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
3757 * data/evince-ui.xml:
3758 * shell/ev-view.c: (ev_view_scroll_view), (ev_view_class_init):
3759 * shell/ev-window.c: (set_view_actions_sensitivity):
3761 Make PgUp/Down behave like Space
3763 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
3765 * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
3766 * backend/ev-ps-exporter.h:
3767 * pdf/ev-poppler.cc:
3768 * ps/ps-document.c: (ps_document_ps_export_begin):
3769 * shell/ev-print-job.c: (idle_print_handler):
3771 Adapt to new poppler api
3773 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
3775 * cut-n-paste/zoom-control/ephy-zoom-control.c:
3776 (ephy_zoom_control_init):
3778 Translate zoom levels
3780 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
3782 * cut-n-paste/zoom-control/ephy-zoom.c:
3783 (ephy_zoom_get_zoom_level_index):
3785 Fix current zoom -> zoom control match
3787 2005-05-18 James Bowes <bowes@cs.dal.ca>
3789 * shell/ev-window.c: (ev_window_init): Give focus to the ev-view,
3790 rather than the scrolled_window that it's in. Fixes bug #304655.
3792 Tue May 17 22:54:17 2005 Jonathan Blandford <jrb@redhat.com>
3794 * shell/ev-view.c: (view_update_adjustments),
3795 (view_set_adjustment_values), (view_update_range_and_current_page),
3796 (view_scroll_to_page), (set_scroll_adjustment),
3797 (ev_view_set_scroll_adjustments), (add_scroll_binding_keypad),
3798 (ev_view_scroll), (ev_view_scroll_view),
3799 (ensure_rectangle_is_visible), (find_page_at_location),
3800 (get_link_at_location), (go_to_link), (status_message_from_link),
3801 (ev_view_size_request_continuous_dual_page),
3802 (ev_view_size_request), (ev_view_size_allocate), (ev_view_realize),
3803 (ev_view_unrealize), (ev_view_expose_event),
3804 (ev_view_button_press_event), (ev_view_motion_notify_event),
3805 (ev_view_button_release_event), (ev_gdk_color_to_rgb),
3806 (draw_rubberband), (highlight_find_results), (draw_one_page),
3807 (ev_view_finalize), (ev_view_destroy), (ev_view_class_init),
3808 (ev_view_init), (find_changed_cb), (page_changed_cb),
3809 (on_adjustment_value_changed), (ev_view_new),
3810 (ev_view_set_document), (ev_view_set_zoom),
3811 (ev_view_set_continuous), (ev_view_set_dual_page),
3812 (ev_view_set_presentation), (ev_view_zoom_in), (ev_view_zoom_out),
3813 (zoom_for_size_fit_width), (zoom_for_size_best_fit),
3814 (ev_view_zoom_for_size_presentation),
3815 (ev_view_zoom_for_size_continuous_dual_page),
3816 (ev_view_zoom_for_size_continuous),
3817 (ev_view_zoom_for_size_dual_page),
3818 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
3819 (ev_view_get_status), (ev_view_set_status),
3820 (update_find_status_message), (ev_view_get_find_status),
3821 (ev_view_set_find_status), (jump_to_find_result),
3822 (jump_to_find_page), (compute_selections), (clear_selection),
3823 (ev_view_select_all), (get_selected_text), (ev_view_copy),
3824 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
3825 (ev_view_update_primary_selection),
3826 (ev_view_create_invisible_cursor), (ev_view_set_cursor):
3828 * shell/ev-window.c: (ev_window_open_page_label),
3829 (ev_window_cmd_view_reload), (ev_window_sizing_mode_changed_cb),
3831 * shell/ev-window.h:
3832 * shell/main.c: (load_files):
3834 Massive code clean up from Nickolay Shmyrev. Keep page offset
3835 when resizing. Remove the bin_window(). Also, patch from James
3836 Bowes to fix command line page, #300641
3838 2005-05-17 Marco Pesenti Gritti <mpg@redhat.com>
3840 * data/evince-ui.xml:
3843 * shell/ev-window.c: (update_action_sensitivity):
3845 Get rid of View->Normal Size, it's just confusing
3847 Tue May 17 00:51:21 2005 Jonathan Blandford <jrb@redhat.com>
3849 * backend/ev-document-info.h:
3850 * backend/ev-document.c: (ev_document_info_free): Free the
3853 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
3854 (clear_range), (add_range), (update_visible_range),
3855 (adjustment_changed_cb), (ev_sidebar_thumbnails_init),
3856 (ev_sidebar_thumbnails_set_document):
3857 * shell/ev-window.c: (ev_window_setup_document): Only render the
3858 visible thumbnails. It takes an instant to render, but it uses
3861 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
3863 * shell/ev-sidebar-links.c: (popup_menu_cb):
3867 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
3870 * shell/ev-sidebar-links.c: (build_popup_menu), (popup_menu_cb),
3871 (button_press_cb), (ev_sidebar_links_construct):
3873 Show the popup menu also on keybindings
3875 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
3877 * shell/ev-window.c: (ev_window_print), (ev_window_print_range):
3878 * shell/ev-window.h:
3880 Expose api to print a range (with dialog). Make private _print use
3883 * shell/ev-sidebar-links.c: (print_section_cb), (button_press_cb),
3884 (ev_sidebar_links_construct):
3886 Show a print context menu on linkx, it prints the selected
3889 2005-05-15 Carlos Garcia Campos <carlosgc@gnome.org>
3891 * shell/ev-sidebar.c: make the drop down menu as width as the toggle
3894 2005-05-12 Marco Pesenti Gritti <mpg@redhat.com>
3900 * shell/ev-window.c: (build_comments_string),
3901 (ev_window_cmd_help_about):
3903 Show poppler version/backend and authors
3905 2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
3907 * cut-n-paste/zoom-control/ephy-zoom.c:
3908 (ephy_zoom_get_zoom_level_index):
3909 * cut-n-paste/zoom-control/ephy-zoom.h:
3911 Move the best fit items at the top of the list
3913 2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
3915 * shell/ev-marshal.list:
3916 * shell/ev-page-action.c: (ev_page_action_widget_class_init),
3917 (activate_cb), (match_selected_cb), (activate_link_cb),
3918 (connect_proxy), (ev_page_action_class_init):
3919 * shell/ev-page-action.h:
3921 Use signals to notify action activation. Hopefully
3922 I did not break completion since I cant test...
3924 * shell/ev-window.c: (activate_link_cb), (activate_label_cb),
3925 (register_custom_actions):
3927 Connect to page selector actions and also grab focus on
3928 the view when activated.
3930 Wed May 11 01:18:29 2005 Jonathan Blandford <jrb@redhat.com>
3932 * pdf/ev-poppler.cc:
3933 * backend/ev-page-cache.c: make page size calculation consistent
3934 and set it to (int)( width * scale + 0.5). This makes the weird
3935 line going through the middle of the page go away.
3937 * shell/ev-view.c: move painting the background page after
3938 checking the expose area covers us.
3940 2005-05-11 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3942 * data/evince-password.glade:
3944 Mark labels as not translatable. Fix for bug 302842.
3946 2005-05-10 Francisco Javier F. Serrador <serrador@cvs.gnome.org>
3948 * configure.ac: Added "es" to ALL_LINGUAS.
3950 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3952 * data/evince-toolbar.xml:
3953 * shell/ev-window.c: (update_action_sensitivity),
3954 (ev_window_setup_document), (ev_window_set_page_mode),
3957 Remove some leftover code from jrb first continous
3958 attempt. Use the new actions, we still need good icons
3961 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3963 * shell/ev-page-action.c: (update_pages_label), (connect_proxy):
3965 Update label when connecting proxy. Fix a warning with NULL
3968 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3970 * data/evince-ui.xml:
3971 * shell/ev-page-action.c: (ev_page_action_grab_focus):
3972 * shell/ev-page-action.h:
3973 * shell/ev-window.c: (ev_window_cmd_focus_page_selector):
3975 Add mnemonic for edit toolbar.
3976 ctrl+l focus the page entry.
3978 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3981 * shell/ev-window.c: (ev_window_cmd_edit_toolbar_cb),
3983 * shell/main.c: (main):
3985 Put the toolbar xml in evince own dot dir
3987 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3989 * shell/ev-window.c: (ev_window_init):
3991 Make the toolbar not removable
3993 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3995 * data/evince-ui.xml:
3996 * shell/ev-sidebar-links.c: (ev_sidebar_links_get_treeview):
3997 * shell/ev-sidebar-links.h:
3998 * shell/ev-sidebar-thumbnails.c:
3999 (ev_sidebar_thumbnails_get_treeview):
4000 * shell/ev-sidebar-thumbnails.h:
4001 * shell/ev-view.c: (ev_view_scroll), (ev_view_scroll_view),
4002 (ev_view_class_init):
4004 * shell/ev-window.c: (update_action_sensitivity),
4005 (ev_window_cmd_scroll_forward), (ev_window_cmd_scroll_backward),
4006 (set_view_actions_sensitivity), (view_actions_focus_in_cb),
4007 (view_actions_focus_out_cb), (enable_view_actions_for_widget),
4010 This is evil... Make space/backspace global accelerators but
4011 enable them only for some widgets (sidebars and view).
4012 I dont like it, but I dont know a better way... :/
4014 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
4016 * shell/ev-page-action.c: (ev_page_action_widget_set_page_cache),
4017 (ev_page_action_widget_finalize),
4018 (ev_page_action_widget_class_init), (update_page_cache):
4020 Keep a weak reference on proxy->page_cache so that we
4021 dont try to disconnect the signal if the object is already
4022 gone. Maybe there is a better way to cleanup reference handling
4023 in page action though...
4025 2005-05-10 Juerg Billeter <j@bitron.ch>
4027 * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
4028 * backend/ev-ps-exporter.h:
4029 * pdf/ev-poppler.cc: (pdf_document_ps_exporter_begin):
4030 * ps/ps-document.c: (ps_document_ps_export_begin):
4032 Change api to pass print range to ps_exporter_begin. The pdf backend
4033 requires this information.
4035 * shell/ev-print-job.c: (idle_print_handler):
4039 2005-05-10 Juerg Billeter <j@bitron.ch>
4041 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
4042 (idle_print_handler)
4043 * shell/ev-window.c: (ev_window_print):
4045 Support printing page range, based on patch by Amaury Jacquot
4047 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
4049 * data/evince-toolbar.xml:
4051 Add zoom control to available items
4053 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
4055 * shell/ev-window.c: (update_action_sensitivity):
4057 Set slash action insensitive when appropriate
4059 2005-05-10 Christian Persch <chpe@gnome.org>
4061 * cut-n-paste/zoom-control/ephy-zoom-action.c: (create_menu_item):
4063 Fix warning on the overflow menu
4065 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
4067 * shell/ev-window.c: (sanity_check_uri), (ev_window_open):
4069 Check for uri correctness/existence
4071 2005-05-09 Juerg Billeter <j@bitron.ch>
4073 * shell/ev-window.c: (using_postscript_printer):
4075 LPD printers use postscript, too
4077 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
4079 * shell/ev-window.c: (register_custom_actions):
4081 The zoom one is actually sort of useful,
4084 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
4086 * shell/ev-window.c: (register_custom_actions):
4088 Hide page/zoom controls from overflow, they
4091 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
4093 * cut-n-paste/update-from-egg.sh:
4095 Share it between all cut-n-paste subdirs
4097 * cut-n-paste/recent-files/Makefile.am:
4099 Fix to use "global" update-from-egg.sh
4101 * cut-n-paste/recent-files/egg-recent-model.c:
4102 (egg_recent_model_changed_timeout), (egg_recent_model_finalize):
4103 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
4104 (egg_recent_view_gtk_clear), (egg_recent_view_gtk_set_list),
4105 (egg_recent_view_gtk_finalize), (egg_recent_view_gtk_set_menu):
4109 * cut-n-paste/toolbar-editor/Makefile.am:
4111 Fix to use "global" update-from-egg.sh
4113 * cut-n-paste/toolbar-editor/eggmarshalers.list:
4117 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
4120 * cut-n-paste/Makefile.am:
4121 * cut-n-paste/recent-files/Makefile.am:
4122 * cut-n-paste/toolbar-editor/.cvsignore:
4123 * cut-n-paste/toolbar-editor/Makefile.am:
4124 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
4125 (egg_editable_toolbar_get_type), (get_toolbar_position),
4126 (get_n_toolbars), (get_dock_nth), (get_toolbar_nth), (find_action),
4127 (drag_data_delete_cb), (drag_begin_cb), (drag_end_cb),
4128 (drag_data_get_cb), (set_drag_cursor), (unset_drag_cursor),
4129 (set_item_drag_source), (create_item_from_action), (create_item),
4130 (data_is_separator), (drag_data_received_cb), (remove_toolbar_cb),
4131 (popup_toolbar_context_menu_cb), (free_dragged_item),
4132 (toolbar_drag_drop_cb), (toolbar_drag_motion_cb),
4133 (toolbar_drag_leave_cb), (create_dock), (set_fixed_style),
4134 (unset_fixed_style), (toolbar_changed_cb), (unparent_fixed),
4135 (update_fixed), (toolbar_added_cb), (toolbar_removed_cb),
4136 (item_added_cb), (item_removed_cb),
4137 (egg_editable_toolbar_construct),
4138 (egg_editable_toolbar_disconnect_model),
4139 (egg_editable_toolbar_deconstruct),
4140 (egg_editable_toolbar_set_model),
4141 (egg_editable_toolbar_set_ui_manager),
4142 (egg_editable_toolbar_set_property),
4143 (egg_editable_toolbar_get_property),
4144 (egg_editable_toolbar_class_init), (egg_editable_toolbar_init),
4145 (egg_editable_toolbar_finalize), (egg_editable_toolbar_new),
4146 (egg_editable_toolbar_new_with_model),
4147 (egg_editable_toolbar_get_edit_mode),
4148 (egg_editable_toolbar_set_edit_mode), (egg_editable_toolbar_show),
4149 (egg_editable_toolbar_hide), (egg_editable_toolbar_set_fixed),
4150 (egg_editable_toolbar_set_drag_dest), (fake_expose_widget),
4151 (new_pixbuf_from_widget), (new_separator_pixbuf),
4152 (update_separator_image), (style_set_cb),
4153 (_egg_editable_toolbar_new_separator_image),
4154 (egg_editable_toolbar_get_model):
4155 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
4156 * cut-n-paste/toolbar-editor/egg-marshal.c:
4157 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
4158 (egg_toolbar_editor_get_type), (compare_actions), (find_action),
4159 (egg_toolbar_editor_set_ui_manager), (toolbar_removed_cb),
4160 (egg_toolbar_editor_set_model), (egg_toolbar_editor_set_property),
4161 (egg_toolbar_editor_get_property), (egg_toolbar_editor_class_init),
4162 (egg_toolbar_editor_finalize), (egg_toolbar_editor_new),
4163 (drag_begin_cb), (drag_end_cb), (editor_drag_data_received_cb),
4164 (editor_drag_data_delete_cb), (drag_data_get_cb),
4165 (elide_underscores), (set_drag_cursor), (event_box_realize_cb),
4166 (editor_create_item), (update_editor_sheet), (setup_editor),
4167 (egg_toolbar_editor_init), (egg_toolbar_editor_add_action),
4168 (parse_item_list), (model_has_action), (update_actions_list),
4169 (egg_toolbar_editor_load_actions):
4170 * cut-n-paste/toolbar-editor/egg-toolbar-editor.h:
4171 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
4172 (egg_toolbars_model_get_type), (egg_toolbars_model_to_xml),
4173 (safe_save_xml), (egg_toolbars_model_save), (toolbars_toolbar_new),
4174 (toolbars_item_new), (free_toolbar_node), (free_item_node),
4175 (egg_toolbars_model_get_flags), (egg_toolbars_model_set_flags),
4176 (egg_toolbars_model_add_separator), (impl_add_item),
4177 (parse_item_list), (egg_toolbars_model_add_toolbar),
4178 (parse_toolbars), (egg_toolbars_model_load), (impl_get_item_id),
4179 (impl_get_item_data), (impl_get_item_type),
4180 (_egg_accumulator_STRING), (egg_toolbars_model_class_init),
4181 (egg_toolbars_model_init), (free_toolbar),
4182 (egg_toolbars_model_finalize), (egg_toolbars_model_new),
4183 (egg_toolbars_model_remove_toolbar),
4184 (egg_toolbars_model_remove_item), (egg_toolbars_model_move_item),
4185 (egg_toolbars_model_n_items), (egg_toolbars_model_item_nth),
4186 (egg_toolbars_model_n_toolbars), (egg_toolbars_model_toolbar_nth),
4187 (egg_toolbars_model_add_item), (egg_toolbars_model_get_item_id),
4188 (egg_toolbars_model_get_item_data),
4189 (egg_toolbars_model_get_item_type):
4190 * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
4191 * cut-n-paste/toolbar-editor/eggmarshalers.list:
4193 * data/evince-toolbar.xml:
4194 * data/evince-ui.xml:
4195 * data/hand-open.png:
4197 * shell/Makefile.am:
4198 * shell/ev-window.c: (update_chrome_visibility),
4199 (ev_window_cmd_edit_toolbar_cb), (ev_window_cmd_edit_toolbar),
4200 (ev_window_dispose), (ev_window_init):
4202 Implement epiphany like toolbar editor. Based on patch by
4203 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4205 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
4207 * shell/ev-sidebar-thumbnails.c: (page_changed_cb):
4209 Use set_cursor instead of set_selection, so that
4210 the keyboard focus moves too.
4212 2005-05-09 Aleksey Kliger <akliger@gmail.com>
4214 * dvi/mdvi-lib/tfmfile.c: (lookup_font_metrics):
4216 Fix infinite loop when loading Type1 fonts
4218 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
4220 * data/evince-ui.xml:
4221 * shell/ev-window.c:
4225 2005-05-09 Thomas de Grenier de Latour <degrenier@easyconnect.fr>
4229 Make --disable really disable
4231 2005-05-07 Juerg Billeter <j@bitron.ch>
4233 * backend/ev-page-cache.c: (ev_page_cache_set_page_label):
4235 Compare page labels even without has_labels set, fixes setting page
4238 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
4240 * shell/ev-view.c: (ev_view_create_invisible_cursor),
4241 (ev_view_set_cursor), (ev_view_button_press_event),
4242 (ev_view_motion_notify_event), (ev_view_button_release_event),
4245 Implement middle button scrolling. Based on a patch
4246 by Tommi Komulainen <tommi.komulainen@iki.fi>.
4248 2005-05-08 Marco Pesenti Gritti <mpg@redhat.com>
4250 * shell/ev-document-types.c: (get_slow_mime_type),
4251 (get_document_type_from_mime), (ev_document_type_lookup):
4252 * shell/ev-document-types.h:
4254 Change api to lookup from uri. Do fast lookup first, if the
4255 type is unknown try with data sniffing.
4257 * shell/ev-window.c: (ev_window_open), (ev_window_open_uri_list):
4258 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
4262 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
4264 * thumbnailer/Makefile.am:
4268 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
4275 * data/evince-ui.xml:
4277 Hide presentation mode for now
4279 * shell/ev-view.c: (highlight_find_results):
4281 Show current find selection only on current page
4283 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
4285 * shell/ev-view.c: (ev_view_select_all):
4287 Compute size of the actual page, not of
4290 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
4292 * shell/ev-view.c: (clear_selection), (ev_view_finalize),
4293 (view_rect_to_doc_rect), (compute_selections),
4294 (ev_view_bin_expose), (ev_view_select_all), (get_selected_text),
4295 (ev_view_copy), (ev_view_primary_get_cb),
4296 (ev_view_primary_clear_cb), (ev_view_update_primary_selection),
4297 (ev_view_button_press_event), (ev_view_motion_notify_event),
4298 (ev_view_button_release_event), (page_changed_cb):
4302 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
4304 * shell/ev-view.c: (compute_border), (get_page_extents),
4305 (doc_rect_to_view_rect), (highlight_find_results),
4306 (ev_view_bin_expose), (ev_view_select_all),
4307 (ev_view_motion_notify_event), (update_find_status_message),
4308 (jump_to_find_result), (jump_to_find_page):
4310 First go at fixing search, still buggy
4312 2005-05-04 Kristian Høgsberg <krh@redhat.com>
4314 * shell/ev-sidebar.c (ev_sidebar_init): Remove frame around
4315 dropdown box and button at the top of the sidebar.
4317 2005-05-02 James Bowes <bowes@cs.dal.ca>
4319 * configure.ac: Output zoom-control Makefile.
4320 * cut-n-paste/Makefile.am: build zoom-control subdir.
4321 * cut-n-paste/zoom-control/ephy-zoom-action.c:
4322 * cut-n-paste/zoom-control/ephy-zoom-action.h:
4323 * cut-n-paste/zoom-control/ephy-zoom-control.c:
4324 * cut-n-paste/zoom-control/ephy-zoom-control.h:
4325 * cut-n-paste/zoom-control/ephy-zoom.c:
4326 * cut-n-paste/zoom-control/ephy-zoom.h: New files imported
4327 from epiphany, and modified to add a separator into the menu.
4328 * cut-n-paste/zoom-control/Makefile.am: Build zoom-control.
4329 * data/evince-ui.xml: Replace old zoom toolbar actions with new
4330 zoom-control action.
4331 * shell/Makefile.am: Include zoom-control flags.
4332 * shell/ev-view.c: (ev_view_set_zoom), (ev_view_get_zoom),
4333 (ev_view_get_sizing_mode), (ev_view_zoom_in), (ev_view_zoom_out),
4334 (ev_view_zoom_for_size_presentation),
4335 (ev_view_zoom_for_size_continuous_and_dual_page),
4336 (ev_view_zoom_for_size_continuous),
4337 (ev_view_zoom_for_size_dual_page),
4338 (ev_view_zoom_for_size_single_page), (ev_view_zoom_normal):
4339 s/ev_view_zoom/ev_view_set_zoom/ and make public, add
4340 ev_view_get_zoom and ev_view_get_sizing_mode.
4342 * shell/ev-window.c: (update_action_sensitivity),
4343 (update_sizing_buttons), (zoom_control_changed_cb),
4344 (register_custom_actions): Initialize and use the zoom-control
4347 Sun May 1 00:46:47 2005 Jonathan Blandford <jrb@redhat.com>
4349 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init): Change the
4350 preview cache back to 1. Don't know when it got set to 0.
4352 * shell/ev-view.c: (compute_border), (ev_view_realize),
4353 (draw_one_page), (ev_view_set_property), (ev_view_get_property),
4354 (ev_view_class_init), (ev_view_init), (ev_view_set_fullscreen),
4355 (ev_view_get_fullscreen), (ev_view_set_presentation),
4356 (ev_view_get_presentation), (ev_view_set_sizing_mode),
4357 (ev_view_zoom_for_size_presentation), (ev_view_set_zoom_for_size):
4359 * shell/ev-window.c:
4360 (update_chrome_visibility),
4361 (ev_window_cmd_continuous), (ev_window_cmd_dual),
4362 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
4363 (update_document_mode), (ev_window_update_fullscreen_action),
4364 (ev_window_fullscreen), (ev_window_unfullscreen),
4365 (ev_window_cmd_view_fullscreen),
4366 (ev_window_update_presentation_action),
4367 (ev_window_run_presentation), (ev_window_stop_presentation),
4368 (ev_window_cmd_view_presentation), (ev_window_state_event),
4369 (ev_window_focus_in_event), (ev_window_focus_out_event),
4370 (ev_window_cmd_escape), (ev_window_sidebar_visibility_changed_cb):
4371 * data/evince-ui.xml: Initial presentation mode. We should
4372 probably hide this until it's done, as it's quite rough. Also,
4373 change full-screen to fullscreen and add two getters to EvView.
4375 2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
4377 * shell/ev-page-action.c: (update_page_cache),
4378 (ev_page_action_dispose):
4379 * shell/ev-window.c: (destroy_fullscreen_popup),
4380 (ev_window_create_fullscreen_popup):
4382 Use connect_object rather than explicitly
4383 disconnect on dispose.
4385 2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
4387 * shell/ev-page-action.c: (update_page_cache),
4388 (ev_page_action_dispose):
4390 2005-04-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4392 * backend/ev-page-cache.c: (_ev_page_cache_new),
4393 (ev_page_cache_set_page_label),
4394 (ev_page_cache_has_nonnumeric_page_labels):
4395 * backend/ev-page-cache.h:
4396 * shell/ev-page-action.c: (update_pages_label):
4398 If all page labels are numeric, fallback to default
4399 way to display number of pages. See bug 173185.
4401 2005-04-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4403 * shell/ev-page-action.c: (ev_page_action_dispose):
4404 * shell/ev-view.c: (view_update_range_and_current_page):
4405 * shell/ev-window.c: (ev_window_dispose):
4407 Set page on scroll in continuous mode. Fixes bug 301986.
4408 Also cleanup callbacks on destroy of EvWindow and EvPageAction.
4410 2005-04-26 Marco Pesenti Gritti <mpg@redhat.com>
4414 Require poppler 0.3.0
4416 2005-04-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4418 * shell/Makefile.am, configure.ac: Fix build problems
4419 with t1lib. Bug 301996.
4421 2005-04-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4423 * shell/ev-view.c: (ev_view_scroll_event):
4425 Scroll up increase zoom
4427 2005-04-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4429 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_class_init),
4430 (ev_view_set_sizing_mode),
4431 (ev_view_zoom_for_size_continuous_and_dual_page),
4432 (ev_view_zoom_for_size_continuous):
4433 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
4434 (ev_window_cmd_view_page_width), (ev_window_cmd_view_zoom_in),
4435 (ev_window_cmd_view_zoom_out), (ev_window_sizing_mode_changed_cb),
4438 Control + Scroll does zooming, Shift + Scroll scrolls horizontally
4439 Fix for 165473 and 165472.
4441 2005-04-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4444 * thumbnailer/Makefile.am:
4445 * thumbnailer/evince-thumbnailer-djvu.schemas.in:
4446 * thumbnailer/evince-thumbnailer-dvi.schemas.in:
4447 * thumbnailer/evince-thumbnailer.schemas.in:
4449 Make thumbnailer schemas translatable. Fix for bug 301773
4451 * thumbnailer/evince-thumbnailer-djvu.schemas:
4452 * thumbnailer/evince-thumbnailer-dvi.schemas:
4453 * thumbnailer/evince-thumbnailer.schemas:
4457 Sun Apr 24 01:37:39 2005 Jonathan Blandford <jrb@redhat.com>
4459 * shell/ev-view.c (ev_view_init): forgot to set this.
4461 Sun Apr 24 01:07:27 2005 Jonathan Blandford <jrb@redhat.com>
4463 * shell/ev-view.c: (find_page_at_location),
4464 (get_link_at_location),
4465 (ev_view_set_show_border), (ev_view_set_spacing),
4466 (ev_view_zoom_for_size_continuous_and_dual_page),
4467 (ev_view_zoom_for_size_continuous): Fix links for dual/continuous.
4468 Also, add a quick fix measuring of widths. Also, removed
4469 ev_view_set_spacing and ev_view_set_show_border.
4471 * shell/ev-window.c: (ev_window_unfullscreen),
4472 (ev_window_cmd_view_fullscreen): Don't adjust the border/spacing.
4474 2005-04-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4476 * shell/ev-view.c: (view_update_range_and_current_page),
4479 Fix crash on exit and scrolling to page in continuous view.
4481 Sat Apr 23 13:13:04 2005 Jonathan Blandford <jrb@redhat.com>
4484 * backend/ev-page-cache.c: (_ev_page_cache_new),
4485 (ev_page_cache_get_max_width_size),
4486 (ev_page_cache_get_max_height_size):
4487 * backend/ev-page-cache.h:
4488 * data/evince-ui.xml:
4489 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init):
4490 * shell/ev-view.c: (view_update_adjustments),
4491 (view_update_range_and_current_page), (get_bounding_box_size),
4492 (ev_view_size_request_continuous_and_dual_page),
4493 (ev_view_size_request_continuous),
4494 (ev_view_size_request_dual_page),
4495 (ev_view_size_request_single_page), (ev_view_size_request),
4496 (ev_view_size_allocate), (get_page_extents), (draw_one_page),
4497 (ev_view_bin_expose), (ev_view_expose_event),
4498 (ev_view_set_property), (ev_view_get_property),
4499 (ev_view_class_init), (ev_view_init), (ev_view_new),
4500 (page_changed_cb), (ev_view_zoom), (ev_view_set_continuous),
4501 (ev_view_set_dual_page), (ev_view_set_full_screen),
4502 (ev_view_set_presentation), (ev_view_set_sizing_mode),
4503 (ev_view_can_zoom_in), (ev_view_can_zoom_out), (ev_view_zoom_in),
4504 (ev_view_zoom_out), (zoom_for_size_fit_width),
4505 (zoom_for_size_best_fit),
4506 (ev_view_zoom_for_size_continuous_and_dual_page),
4507 (ev_view_zoom_for_size_continuous),
4508 (ev_view_zoom_for_size_dual_page),
4509 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
4510 (ev_view_show_cursor), (ev_sizing_mode_get_type):
4512 * shell/ev-window.c: (update_action_sensitivity),
4513 (ev_window_cmd_continuous), (ev_window_cmd_dual),
4514 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
4515 (update_sizing_buttons), (ev_window_cmd_view_zoom_in),
4516 (ev_window_cmd_view_zoom_out), (update_view_size),
4517 (ev_window_set_sizing_mode), (ev_window_init):
4519 Add Continuous and Dual page modes.
4521 2005-04-23 James Bowes <bowes@cs.dal.ca>
4523 * dvi/dvi-document.c: (dvi_document_load),
4524 (dvi_document_thumbnails_get_thumbnail),
4525 (dvi_document_init_params): Fix up some mixups between
4526 width and height to correct thumbnail rendering.
4528 2005-04-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4530 * dvi/mdvi-lib/private.h:
4531 * dvi/mdvi-lib/setup.c: (mdvi_init_kpathsea):
4533 Suppess output for kpathsea during font generation. Thanks to
4536 Fri Apr 22 19:57:46 2005 Jonathan Blandford <jrb@redhat.com>
4543 * Makefile.am: fix distcheck.
4545 2005-04-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4547 * shell/ev-sidebar-links.c: (selection_changed_callback),
4548 (update_page_callback), (row_activated_callback),
4549 (job_finished_callback), (ev_sidebar_links_set_document):
4551 Fix for bug #169901. Double click on links expands tree.
4553 2005-03-14 Bryan Clark <clarkbw@cvs.gnome.org>
4555 * shell/ev-window.c (ev_window_init): Removed fullscreen toolbar
4556 hard-coded style. Fix for bug 170111
4558 2005-04-22 Kristian Høgsberg <krh@redhat.com>
4560 * shell/ev-view.c (highlight_find_results): Remove unnecessary
4563 2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
4565 * thumbnailer/evince-thumbnailer.schemas: real fix for bug 172496
4567 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
4569 * pdf/ev-poppler.cc:
4570 * shell/ev-view.c: (highlight_find_results):
4572 Fix find on single page documents
4574 2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
4576 * data/evince.schemas.in: fix for bug 301390
4578 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
4580 * shell/ev-view.c: (ev_view_can_zoom_in), (ev_view_can_zoom_out),
4581 (ev_view_zoom_out), (ev_view_zoom_normal):
4583 * shell/ev-window.c: (update_action_sensitivity),
4584 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
4585 (ev_window_cmd_view_zoom_in), (ev_window_cmd_view_zoom_out),
4586 (ev_window_cmd_view_normal_size):
4588 Fix normal size zoom. Make zoom in/zoom out unsensitive when
4589 they are behyond the limits. Tweak MAX_ZOOM to 6, sucks but
4592 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
4596 Depend on 2.57, 2.59 doesnt seem to be necessary
4598 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
4600 * shell/ev-page-action.c: (update_pages_label), (page_changed_cb),
4603 Put back total number of pages as (1 of 1234)
4605 Thu Apr 21 23:37:52 2005 Jonathan Blandford <jrb@redhat.com>
4607 * shell/ev-pixbuf-cache.c (dispose_cache_job_info): actually
4610 * backend/ev-document.h: Remove EV_DOC_MUTEX in favor of a locking
4611 function. This helps debugging.
4613 2005-04-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4615 * djvu/djvu-document.c: (djvu_document_class_init),
4616 (djvu_document_get_info), (djvu_document_document_iface_init):
4617 * dvi/dvi-document.c: (dvi_document_class_init),
4618 (dvi_document_get_info), (dvi_document_document_iface_init):
4620 Dummy implementation of get_info method for dvi and djvu. Fix
4621 crashes with those backends
4623 2005-04-20 Marco Pesenti Gritti <mpg@redhat.com>
4625 * data/evince.desktop.in:
4627 Add application/x-gzpostscript
4629 2005-04-20 Bryan Clark <clarkbw@cvs.gnome.org>
4631 * data/evince.schemas.in: Added real long descriptions,
4634 * README: Added actual text, closes bug 171869
4636 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
4638 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
4642 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
4644 * backend/ev-document-info.h:
4646 s/GDate */GDate so we can just use g_free
4648 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
4650 * shell/ev-window.c: (update_document_mode),
4651 (ev_window_setup_document):
4653 Show the window in fullscreen when specified by
4656 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
4658 * backend/ev-document.c: (ev_document_class_init),
4659 (ev_document_get_info), (ev_document_render_pixbuf):
4660 * backend/ev-document.h:
4661 * backend/ev-page-cache.c: (_ev_page_cache_new):
4662 * pdf/ev-poppler.cc:
4663 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
4664 (pixbuf_document_get_info), (pixbuf_document_document_iface_init):
4665 * ps/ps-document.c: (ps_document_class_init), (document_load),
4666 (ps_document_get_info), (ps_document_document_iface_init):
4668 Remove get_title from the interface, we can just use document info
4670 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
4672 * backend/Makefile.am:
4673 * backend/ev-document.c: (ev_document_render_get_info):
4674 * backend/ev-document.h:
4675 * pdf/ev-poppler.cc:
4677 Initial support for document info. Based on jrb patch.
4679 2005-04-19 Paolo Borelli <pborelli@katamail.com>
4681 * shell/ev-window.c: (ev_window_state_event),
4682 (ev_window_class_init), (ev_window_init):
4684 Doesn't show resize grip when maximized. See bug #301053
4686 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4690 ev-sidebar-thumbnails now has translatable labels
4692 * shell/Makefile.am:
4693 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document),
4694 (ev_sidebar_links_support_document), (ev_sidebar_links_get_label),
4695 (ev_sidebar_links_page_iface_init):
4696 * shell/ev-sidebar-links.h:
4697 * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
4698 (ev_sidebar_page_support_document), (ev_sidebar_page_set_document),
4699 (ev_sidebar_page_get_label):
4700 * shell/ev-sidebar-page.h:
4701 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_new),
4702 (ev_sidebar_thumbnails_set_document),
4703 (ev_sidebar_thumbnails_support_document),
4704 (ev_sidebar_thumbnails_get_label),
4705 (ev_sidebar_thumbnails_page_iface_init):
4706 * shell/ev-sidebar-thumbnails.h:
4707 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
4708 (ev_sidebar_set_document):
4709 * shell/ev-sidebar.h:
4710 * shell/ev-window.c: (ev_window_setup_document), (ev_window_init):
4712 Small rework of sidebar code. Now sidebar pages should implement
4713 EvSidebarPage interface. That makes page management in EvSidebar
4714 easier. See bug #164811 for details
4716 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4718 * shell/ev-application.c: (ev_application_open):
4719 * shell/ev-document-types.c:
4721 Fix build error and small problem with application exit
4723 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4725 * thumbnailer/Makefile.am:
4726 * thumbnailer/evince-thumbnailer-djvu.schemas:
4727 * thumbnailer/evince-thumbnailer-dvi.schemas:
4729 Conditionally install schemas for djvu/dvi thumbnailer
4731 2005-04-18 David Malcolm <dmalcolm@redhat.com>
4733 * shell/ev-document-types.h:
4734 * shell/ev-document-types.c:
4735 New files, handling the mapping from mimetypes to backends
4737 * shell/ev-window.c:
4738 * thumbnailer/evince-thumbnailer.c:
4739 Use the ev-document-types code
4741 * shell/Makefile.am:
4742 Added new convenience library libevbackendfactory_la, containing
4743 the new mimetype->backend logic; moved the backends into it.
4745 * thumbnailer/Makefile.am:
4746 Make the thumbnailer link with the libevbackend.la convenience
4747 library, rather than having a duplicate of the backend logic here.
4749 2005-04-18 Paolo Borelli <pborelli@katamail.com>
4751 * shell/ev-stock-icons.c: constify some vars.
4752 * shell/ev-window.c: ditto.
4754 2005-04-18 Marco Pesenti Gritti <mpg@redhat.com>
4756 * ps/ps-document.c (get_page_orientation):
4758 Respect document orientation
4760 2005-04-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4764 * shell/Makefile.am:
4766 Move library dependencies to components.
4768 * shell/ev-window.c: (update_window_title),
4769 (start_loading_document):
4771 Fix display of uris with spaces. Bug 168358.
4773 Sat Apr 16 18:53:47 2005 Jonathan Blandford <jrb@redhat.com>
4775 * shell/ev-sidebar-links.c: (selection_changed_cb):
4776 * shell/ev-view.c: (ev_view_finalize), (go_to_link),
4777 (ev_view_button_release_event), (ev_view_set_document):
4779 * shell/ev-window.c: (find_bar_search_changed_cb):
4780 * shell/ev-window.h: Minor cleanups removing some dead code.
4782 2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4784 * backend/ev-page-cache.c: (_ev_page_cache_new):
4786 Set current page to 0 if document has pages.
4788 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
4790 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
4792 Initialize GError to NULL, fix a crash when loading fails.
4794 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
4796 * shell/ev-window.c: (update_view_size):
4798 Calculate shadow size only when there is actually
4801 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
4803 * shell/ev-view.c: (ev_view_set_spacing), (ev_view_init):
4806 Allow setting view spacing, default to 0
4808 * shell/ev-window.c: (ev_window_unfullscreen),
4809 (ev_window_cmd_view_fullscreen), (ev_window_init):
4811 Remove spacing in fullscreen mode
4813 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
4815 * shell/ev-view.c: (compute_border), (compute_zoom_factor),
4816 (ev_view_size_request), (expose_bin_window),
4817 (ev_view_set_show_border), (ev_view_init), (page_changed_cb):
4819 * shell/ev-window.c: (ev_window_unfullscreen),
4820 (ev_window_cmd_view_fullscreen):
4822 Do not draw the border in fulscreen
4824 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
4826 * shell/ev-view.c: (ev_view_get_offsets), (compute_zoom_factor),
4827 (ev_view_size_request), (expose_bin_window), (ev_view_select_all),
4828 (find_page_at_location), (page_changed_cb):
4830 Rework border calculation, so that I can more easily disable it.
4831 Code somewhat cleaner too.
4833 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
4835 * backend/ev-page-cache.c: (ev_page_cache_init),
4836 (_ev_page_cache_new):
4838 Remove some assertions, documents can have 0 pages.
4839 Make initial current page -1.
4841 * shell/ev-page-action.c: (page_changed_cb):
4843 Show "" if current page is -1
4845 * shell/ev-window.c: (update_action_sensitivity),
4846 (ev_window_setup_document):
4848 When document has 0 pages do not set the view
4849 and make nearly everything insensitive.
4851 2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4853 * shell/ev-page-view.c:
4854 * shell/ev-page-view.h:
4856 Remove unused files.
4858 * shell/ev-sidebar-thumbnails.c:
4859 (ev_sidebar_thumbnails_set_document):
4860 * shell/ev-sidebar.c: (ev_sidebar_set_document),
4861 (ev_sidebar_supports_document):
4862 * shell/ev-sidebar.h:
4863 * shell/ev-window.c: (ev_window_setup_document):
4865 Doesn't show thumbnails if document has 1 page. Make
4866 sidebar menu entries sensitive only if if they have
4867 sense. Fix bug 164811.
4869 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
4871 * shell/ev-view.c: (compute_zoom_factor), (ev_view_size_request),
4872 (page_changed_cb), (ev_view_zoom), (ev_view_zoom_in),
4873 (ev_view_zoom_out), (ev_view_set_size):
4875 Rework sizing to deal with documents with not uniform page
4878 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
4880 * backend/ev-page-cache.c: (_ev_page_cache_new):
4882 Fix several page size caching bugs
4884 2005-04-15 Luca Ferretti <elle.uca@libero.it>
4886 * shell/ev-window.c: (set_action_properties):
4888 Make all toolbar items translatable
4890 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
4892 * ps/ps-document.c: (ps_document_init), (ps_document_get_type),
4893 (save_page_list), (ps_document_save),
4894 (ps_document_document_iface_init), (ps_document_ps_export_begin),
4895 (ps_document_ps_export_do_page), (ps_document_ps_export_end),
4896 (ps_document_ps_exporter_iface_init):
4899 Based on a patch by J�rg Billeter <j@bitron.ch>
4901 Implement print and save a copy for the ps backend.
4903 2005-04-14 Marco Pesenti Gritti <mpg@redhat.com>
4905 * backend/ev-document.h:
4906 * djvu/djvu-document.c: (djvu_document_can_get_text),
4907 (djvu_document_document_iface_init):
4908 * dvi/dvi-document.c: (dvi_document_can_get_text),
4909 (dvi_document_document_iface_init):
4910 * pdf/ev-poppler.cc:
4911 * pixbuf/pixbuf-document.c: (pixbuf_document_can_get_text),
4912 (pixbuf_document_document_iface_init):
4913 * ps/ps-document.c: (ps_document_can_get_text),
4914 (ps_document_document_iface_init):
4915 * shell/ev-view.c: (ev_view_copy), (ev_view_primary_get_cb):
4916 * shell/ev-window.c: (update_action_sensitivity):
4918 Fix the crash when trying to copy in backends that doesnt
4919 support it. We can implement a better solution once we
4920 do real text selection.
4922 2005-04-12 Marco Pesenti Gritti <mpg@redhat.com>
4924 * data/evince-ui.xml:
4925 * shell/ev-window.c: (ev_window_cmd_escape):
4927 Work around the Escape conflict (find bar and unfullscreen)
4929 2005-04-12 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
4931 * backend/ev-page-cache.c: (ev_page_cache_next_page):
4933 Fix for #300233. Next page correctly handles document end.
4935 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
4936 (ev_sidebar_thumbnails_class_init),
4937 (ev_sidebar_thumbnails_set_document),
4938 (ev_sidebar_thumbnails_clear_job),
4939 (ev_sidebar_thumbnails_clear_model):
4941 Cleanup thumbnail jobs on document changes.
4943 * shell/ev-view.c: (add_scroll_binding_keypad),
4944 (add_scroll_binding_shifted), (ev_view_class_init):
4946 Shift + Space scrolls up. Fix for #173184
4948 * shell/ev-window.c: (ev_window_open_page),
4949 (ev_window_cmd_view_reload):
4951 Fix reload (Bug #300094)
4953 2005-04-09 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4956 * dvi/mdvi-lib/assoc.c:
4957 * dvi/mdvi-lib/assoc.h: Removed garbage files
4959 * dvi/mdvi-lib/bitmap.c:
4960 * dvi/mdvi-lib/color.c: (mdvi_set_color), (mdvi_push_color),
4961 (mdvi_pop_color), (mdvi_reset_color), (get_color_table):
4962 * dvi/mdvi-lib/color.h: Antialias of rules
4964 * dvi/mdvi-lib/common.h:
4965 * dvi/mdvi-lib/dviread.c: (mdvi_configure), (mdvi_init_context),
4966 (mdvi_destroy_context), (draw_shrink_rule), (draw_box), (set_rule):
4967 * dvi/mdvi-lib/files.c:
4968 * dvi/mdvi-lib/fontmap.c: (ps_init_default_paths):
4969 * dvi/mdvi-lib/mdvi.h:
4970 * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
4971 * dvi/mdvi-lib/tfmfile.c: (ofm_load_file):
4972 * dvi/mdvi-lib/util.c: Fix compile warnings
4974 * dvi/dvi-document.c:
4975 (dvi_document_load), (dvi_document_thumbnails_get_dimensions),
4976 (dvi_document_thumbnails_get_thumbnail),
4977 (dvi_document_document_thumbnails_iface_init):
4978 * dvi/mdvi-lib/Makefile.am:
4979 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
4980 (dvi_pixbuf_set_color), (mdvi_pixbuf_device_render):
4982 Dvi backend now renders thumbnails
4984 2005-04-09 Christian Persch <chpe@cvs.gnome.org>
4986 * shell/main.c: (main):
4988 Save accelerators on exit. Fixes bug #172095.
4990 Sat Apr 9 01:05:09 2005 Jonathan Blandford <jrb@redhat.com>
4992 * shell/ev-pixbuf-cache.c (move_one_job): Actually fix the "FIXME:
4993 update priority" comment.
4995 * backend/ev-job-queue.c: Give a way to change priority.
4997 Sat Apr 9 00:05:36 2005 Jonathan Blandford <jrb@redhat.com>
4999 * shell/ev-page-action.c: Fix logic.
5001 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
5003 * shell/ev-view.c: (ev_view_can_find_next):
5004 * shell/ev-window.c: (ev_window_setup_document):
5006 Check that the document supports find
5008 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
5010 * data/evince-ui.xml:
5011 * shell/ev-view.c: (ev_view_can_find_next):
5013 * shell/ev-window.c: (update_action_sensitivity),
5014 (find_changed_cb), (ev_window_setup_document),
5015 (ev_window_cmd_edit_find_next):
5019 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
5021 * pdf/ev-poppler.cc:
5022 * shell/ev-print-job.c: (idle_print_handler):
5024 Make printing work again
5026 Fri Apr 8 01:12:24 2005 Jonathan Blandford <jrb@redhat.com>
5028 * shell/ev-page-action.h:
5029 * shell/ev-page-action.c: (ev_page_action_widget_init),
5030 (ev_page_action_widget_class_init), (page_changed_cb),
5031 (create_tool_item), (update_page_cache), (build_new_tree_cb),
5032 (get_filter_model_from_model), (match_selected_cb),
5033 (display_completion_text), (match_completion), (update_model),
5034 (connect_proxy), (ev_page_action_set_property),
5035 (ev_page_action_get_property), (ev_page_action_set_document),
5036 (ev_page_action_set_model), (ev_page_action_class_init): Big
5037 reworking to make completions work iff we have >= GTK-2.7.0
5039 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_property),
5040 (ev_sidebar_links_get_property), (ev_sidebar_links_class_init),
5041 (job_finished_cb): We now have a 'model' property that is set when
5042 the links are loaded. This can be caught with "notify::model"
5044 * shell/ev-window.c: (sidebar_widget_model_set), (ev_window_init):
5045 listen for the model to be set, and propagate it to the action.
5047 2005-04-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
5049 * cut-n-paste/recent-files/egg-recent-item.c:
5050 (egg_recent_item_set_uri), (make_valid_utf8),
5051 (egg_recent_item_set_mime_type), (egg_recent_item_get_mime_type):
5052 * cut-n-paste/recent-files/egg-recent-item.h:
5054 Update egg-recent from libegg. This should fix long
5055 startup problem. For details see
5056 http://bugzilla.gnome.org/show_bug.cgi?id=160531
5058 2005-04-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
5060 * cut-n-paste/recent-files/Makefile.am:
5061 * data/evince-ui.xml, shell/Makefile.am:
5062 * shell/ev-application.c, shell/ev-application.h:
5063 * shell/ev-window.c: Recent files support.
5065 * configure.ac: Added "ru" to ALL_LINGUAS.
5067 * dvju: new backend to support DJVU files.
5068 * dvi: new backend to support DVI.
5070 * configure.ac, Makefile.am, shell/Makefile.am, ev-window.c:
5071 * ev-application.c: Support for new backends.
5073 * help, ev-window.c, main.c shell/Makefile.am:
5074 Evince user documentation.
5076 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
5079 * shell/ev-window.c:
5080 * thumbnailer/evince-thumbnailer.c:
5082 s/pdf-document/ev-poppler
5084 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
5091 * ps/ps-document.c: (setup_pixmap):
5095 2005-04-05 Kristian Høgsberg <krh@redhat.com>
5097 * backend/ev-page-cache.c (ev_page_cache_next_page):
5098 * shell/ev-window.c (ev_window_cmd_go_next_page)
5099 (ev_window_cmd_go_first_page): Fix of by one errors.
5101 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
5103 * ps/ps-document.c: (get_page_box):
5105 Fix page size calculation
5107 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
5109 * ps/ps-document.c: (ps_document_init), (push_pixbuf),
5110 (ps_document_cleanup), (setup_pixmap), (get_page_box),
5111 (get_page_orientation), (setup_page), (document_load),
5112 (ps_document_get_page_size), (render_pixbuf_idle):
5115 More refactoring to adapt to EvDocument changes
5117 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
5119 * ps/ps-document.c: (start_interpreter):
5121 Actually add alpha args
5123 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
5125 * pdf/ev-poppler.cc:
5127 Make clipboard work again
5129 2005-04-04 Kristian Høgsberg <krh@redhat.com>
5131 Make searching work again.
5133 * backend/ev-document.c:
5134 * backend/ev-document.h:
5135 * backend/ev-document-find.c:
5136 * backend/ev-document-find.h: Change EvDocumentIface so we no
5137 longer store the current page or zoom level in the document. The
5138 consequence is that all calls that operate on the current page now
5139 instead take the page number as an extra argument, and all
5140 coordinates are now doubles in document coordinate system.
5142 * pdf/ev-poppler.cc:
5143 * pixbuf/pixbuf-document.c:
5144 * ps/ps-document.c: Update backends accordingly.
5146 2005-04-04 Marco Pesenti Gritti <marco@gnome.org>
5150 Add required gettext version
5152 Sat Apr 2 18:57:00 2005 Jonathan Blandford <jrb@redhat.com>
5154 * shell/evwindow.c: Patch from Alberto Mesas <amesas@gmail.com> to
5155 make F1 bring up non-existent help.
5157 * shell/eggfindbar.c: Patch from Christian Persch to sync to
5158 epiphany's find bar, #167477
5160 * shell/ev-view.c (ev_view_jump): Patch from Emil Soleyman-Zomalan
5161 <emil@nishra.com> to add space-bar scrolling,
5163 * shell/ev-window.c (static GtkActionEntry entries): add default
5164 keybinding for Help (F1)
5167 * shell/ev-view.c (ev_view_show_cursor): Fix from Yuval Tanny
5168 changing EV_VIEW_CURSOR_LINK to EV_VIEW_CURSOR_NORMAL resolves bug
5171 2005-04-01 David Malcolm <dmalcolm@redhat.com>
5174 * pixbuf/pixbuf-document.c:
5176 Got pixbuf backend working again
5178 2005-04-01 Steve Murphy <murf@e-tools.com>
5180 * configure.in: Added "rw" to ALL_LINGUAS.
5182 Fri Apr 1 02:33:41 2005 Jonathan Blandford <jrb@redhat.com>
5184 * shell/ev-sidebar-links.c (create_loading_model): Fix mismatch in
5185 model types, noticed by Martin Kretzschmar.
5187 2005-04-01 Kristian Høgsberg <krh@redhat.com>
5189 * pdf/ev-poppler.cc: Implement search based on
5190 poppler_page_find_text(). Currently a bit crude since we remember
5191 all matches from all pages. Also, we grab the big document lock
5192 when we search since searching changes the underlying stream and
5193 thus conflicts with the rendering thread.
5195 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
5196 (jump_to_find_page), (ev_view_set_document), (ev_view_find_next),
5197 (ev_view_find_previous): Fix some page indexes to be 0 based,
5198 offset rubber band by view offset,
5200 Fri Apr 01 09:21:12 2005 Pablo Saratxaga <pablo@mandrakesoft.com>
5202 * configure.ac: Added Walloon (wa) to ALL_LINGUAS.
5204 Fri Apr 1 01:59:39 2005 Jonathan Blandford <jrb@redhat.com>
5206 * shell/ev-page-action.c: Changed to use page labels now. Rewrote
5207 completely because I didn't understand GtkActions. I should
5208 read Marco's code more carefully in the future.
5210 * backend/ev-page-cache.h (ev_page_cache_set_page_label): New
5213 2005-03-31 Kristian Høgsberg <krh@redhat.com>
5215 * pdf/ev-poppler.cc (pdf_document_get_links): Update to work with
5216 PopplerRectangle change from poppler CVS.
5218 Thu Mar 31 13:27:50 2005 Jonathan Blandford <jrb@redhat.com>
5220 * backend/ev-document.c: (ev_document_get_page_label):
5221 * backend/ev-document.h:
5222 * backend/ev-page-cache.c: (_ev_page_cache_new),
5223 (ev_page_cache_get_page_label):
5224 * backend/ev-page-cache.h:
5225 * pdf/ev-poppler.cc:
5226 * shell/ev-sidebar-links.c: (ev_sidebar_links_construct),
5227 (links_page_num_func):
5228 * shell/ev-sidebar-thumbnails.c:
5229 (ev_sidebar_thumbnails_set_document):
5230 * shell/ev-view.c: (status_message_from_link),
5231 (ev_view_motion_notify_event):
5232 * shell/ev-window.c: (document_supports_sidebar): Add in page
5233 label support. It's not perfect yet, but it's the first 'feature'
5235 Also, fix a bogus comment noticed by crispin.
5237 Thu Mar 31 01:21:58 2005 Jonathan Blandford <jrb@redhat.com>
5239 * Makefile.am: Remove pixbuf backend for now
5241 * configure.ac: Require poppler-glib instead of just poppler.
5243 * backend/ev-document-thumbnails.h: Add a comment
5245 * backend/ev-document.h:
5246 * backend/ev-document.c: (ev_document_class_init),
5247 (ev_document_load), (ev_document_get_link),
5248 (ev_document_get_links): Remove 3 methods and add get_links.
5251 * backend/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
5252 * backend/ev-jobs.h: now EvJobRender can grab the links for a document.
5254 * backend/ev-link.c: (ev_link_set_title),
5255 (ev_link_mapping_free_foreach), (ev_link_mapping_free),
5256 (ev_link_mapping_find):
5257 * backend/ev-link.h: Allow NULL titles. Also, introduce a mapping link.
5259 * backend/ev-page-cache.c: (ev_page_cache_init),
5260 (_ev_page_cache_new), (ev_page_cache_set_current_page),
5261 (ev_page_cache_get_size), (ev_page_cache_next_page),
5262 (ev_page_cache_prev_page): Fix to be 0 based.
5266 * pdf/ev-poppler.cc: New backend.
5268 * ps/ps-document.c: (ps_document_init), (ps_document_set_page),
5269 (ps_document_get_page), (ps_document_document_iface_init):
5271 * shell/ev-pixbuf-cache.h:
5272 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
5273 (dispose_cache_job_info), (job_finished_cb), (move_one_job),
5274 (ev_pixbuf_cache_update_range), (copy_job_to_job_info),
5275 (add_job_if_needed), (ev_pixbuf_cache_set_page_range),
5276 (ev_pixbuf_cache_get_pixbuf), (ev_pixbuf_cache_get_link_mapping):
5277 Fix up code to grab a page cache per each doc. Also, fix to be 0
5280 * shell/ev-sidebar-thumbnails.c:
5281 (ev_sidebar_tree_selection_changed), (page_changed_cb),
5282 (ev_sidebar_thumbnails_set_document): Fix to be 0 based.
5284 * shell/ev-view.c: (status_message_from_link),
5285 (find_page_at_location), (get_link_at_location),
5286 (ev_view_motion_notify_event), (ev_view_button_release_event),
5287 (ev_view_init): Use the new link code. Fix to be 0 based.
5289 * shell/ev-window.c: (update_action_sensitivity),
5290 (document_supports_sidebar): 0 based.
5292 Fri Mar 25 16:55:58 2005 Jonathan Blandford <jrb@redhat.com>
5294 * pdf/pdf-document.cc: Patch from Fernando Herrera
5295 <fherrera@onirica.com> to fix my quick fix to get_thumbnail.
5298 Wed Mar 23 23:49:41 2005 Jonathan Blandford <jrb@redhat.com>
5300 * pdf/pdf-document.cc (pdf_document_thumbnails_get_thumbnail): add
5301 1 to the page, as this seems to be 1 based. I thought we has this
5304 2005-03-23 Marco Pesenti Gritti <marco@gnome.org>
5307 * backend/Makefile.am:
5308 * backend/ev-document-links.c:
5309 (ev_document_links_has_document_links),
5310 (ev_document_links_get_links_model):
5311 * backend/ev-document-links.h:
5312 * backend/ev-document.c: (ev_document_get_page_cache),
5313 (ev_document_get_doc_mutex), (ev_document_load),
5314 (ev_document_save), (ev_document_get_title),
5315 (ev_document_get_n_pages), (ev_document_set_page),
5316 (ev_document_get_page), (ev_document_set_target),
5317 (ev_document_set_scale), (ev_document_set_page_offset),
5318 (ev_document_get_page_size), (ev_document_get_text),
5319 (ev_document_get_link), (ev_document_render),
5320 (ev_document_render_pixbuf), (ev_document_scale_changed):
5321 * backend/ev-document.h:
5322 * backend/ev-job-queue.c: (remove_object_from_queue),
5323 (notify_finished), (handle_job), (search_for_jobs_unlocked),
5324 (no_jobs_available_unlocked), (ev_render_thread),
5325 (ev_job_queue_init), (find_queue), (ev_job_queue_add_job),
5326 (ev_job_queue_remove_job):
5327 * backend/ev-job-queue.h:
5328 * backend/ev-jobs.c: (ev_job_init), (ev_job_dispose),
5329 (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
5330 (ev_job_links_class_init), (ev_job_render_init),
5331 (ev_job_render_dispose), (ev_job_render_class_init),
5332 (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
5333 (ev_job_thumbnail_class_init), (ev_job_finished),
5334 (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
5335 (ev_job_render_run), (ev_job_thumbnail_new),
5336 (ev_job_thumbnail_run):
5337 * backend/ev-jobs.h:
5338 * backend/ev-link.c:
5339 * backend/ev-link.h:
5340 * backend/ev-page-cache.c: (ev_page_cache_init),
5341 (ev_page_cache_class_init), (ev_page_cache_finalize),
5342 (_ev_page_cache_new), (ev_page_cache_get_n_pages),
5343 (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
5344 (ev_page_cache_set_link), (ev_page_cache_get_title),
5345 (ev_page_cache_get_size), (ev_page_cache_next_page),
5346 (ev_page_cache_prev_page):
5347 * backend/ev-page-cache.h:
5348 * pdf/pdf-document.cc:
5351 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
5352 (push_pixbuf), (interpreter_failed), (ps_document_cleanup),
5353 (ps_document_widget_event), (ps_document_finalize), (get_xdpi),
5354 (get_ydpi), (setup_pixmap), (setup_page), (close_pipe),
5355 (is_interpreter_ready), (output), (catchPipe), (input),
5356 (start_interpreter), (check_filecompressed), (compute_dimensions),
5357 (ps_document_enable_interpreter), (document_load),
5358 (ps_document_next_page), (render_page), (ps_document_set_page),
5359 (ps_document_set_scale), (render_pixbuf_idle),
5360 (ps_document_render_pixbuf), (ps_document_document_iface_init):
5362 * shell/Makefile.am:
5363 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
5364 (ev_pixbuf_cache_class_init), (ev_pixbuf_cache_finalize),
5365 (dispose_cache_job_info), (ev_pixbuf_cache_dispose),
5366 (ev_pixbuf_cache_new), (job_finished_cb),
5367 (check_job_size_and_unref), (move_one_job),
5368 (ev_pixbuf_cache_update_range), (find_job_cache),
5369 (ev_pixbuf_cache_clear_job_sizes), (add_job_if_needed),
5370 (ev_pixbuf_cache_add_jobs_if_needed),
5371 (ev_pixbuf_cache_set_page_range), (ev_pixbuf_cache_get_pixbuf):
5372 * shell/ev-pixbuf-cache.h:
5373 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
5374 (idle_print_handler):
5375 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
5376 (selection_changed_cb), (create_loading_model),
5377 (ev_sidebar_links_construct), (links_page_num_func),
5378 (ev_sidebar_links_clear_document), (update_page_callback_foreach),
5379 (update_page_callback), (job_finished_cb),
5380 (ev_sidebar_links_set_document):
5381 * shell/ev-sidebar-thumbnails.c:
5382 (ev_sidebar_thumbnails_class_init), (adjustment_changed_cb),
5383 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init),
5384 (page_changed_cb), (thumbnail_job_completed_callback),
5385 (ev_sidebar_thumbnails_set_document):
5386 * shell/ev-sidebar-thumbnails.h:
5387 * shell/ev-sidebar.c: (ev_sidebar_set_document):
5388 * shell/ev-view.c: (ev_view_finalize), (ev_view_destroy),
5389 (ev_view_get_offsets), (ev_view_size_request), (ev_view_realize),
5390 (ev_view_unrealize), (highlight_find_results), (expose_bin_window),
5391 (ev_view_select_all), (ev_view_copy), (ev_view_primary_get_cb),
5392 (ev_view_create_invisible_cursor), (ev_view_motion_notify_event),
5393 (ev_view_button_release_event), (ev_view_scroll_view),
5394 (ev_view_class_init), (ev_view_init), (update_find_status_message),
5395 (jump_to_find_result), (jump_to_find_page), (find_changed_cb),
5396 (ev_view_new), (job_finished_cb), (page_changed_cb),
5397 (ev_view_set_document), (go_to_link), (ev_view_zoom),
5398 (size_to_zoom_factor), (ev_view_set_size), (ev_view_find_next),
5399 (ev_view_find_previous):
5401 * shell/ev-window.c: (update_action_sensitivity),
5402 (ev_window_open_page), (update_window_title), (update_total_pages),
5403 (page_changed_cb), (ev_window_setup_document),
5404 (password_dialog_response), (ev_window_cmd_save_as),
5405 (ev_window_print), (ev_window_cmd_go_previous_page),
5406 (ev_window_cmd_go_next_page), (ev_window_cmd_go_first_page),
5407 (ev_window_cmd_go_last_page), (ev_window_cmd_view_reload),
5408 (find_bar_search_changed_cb), (goto_page_cb), (ev_window_init):
5409 * shell/main.c: (main):
5411 Merge evince-threads branch
5413 2005-03-16 Žygimantas Beručka <uid0@akl.lt>
5415 * configure.ac: Added "lt" to ALL_LINGUAS.
5417 2005-03-14 Marco Pesenti Gritti <marco@gnome.org>
5424 2005-03-13 Fernando Herrera <fherrera@onirica.com>
5426 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
5428 Fix here also the thumbnails 1-basedness :)
5430 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
5437 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
5439 * pdf/pdf-document.cc:
5440 * shell/ev-sidebar-thumbnails.c: (adjustment_changed_cb),
5441 (do_one_iteration), (ev_sidebar_thumbnails_set_document):
5443 Fix the mess we did with thumbnails and 1-basedness
5445 2005-03-12 Changwoo Ryu <cwryu@debian.org>
5447 * configure.ac (ALL_LINGUAS): Added "ko" (Korean).
5449 2005-03-09 Marco Pesenti Gritti <marco@gnome.org>
5456 2005-03-08 Marco Pesenti Gritti <marco@gnome.org>
5459 * ps/gsdefaults.c: (gtk_gs_defaults_get_interpreter_cmd),
5460 (gtk_gs_defaults_get_alpha_parameters),
5461 (gtk_gs_defaults_get_ungzip_cmd),
5462 (gtk_gs_defaults_get_unbzip2_cmd):
5464 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
5465 (ps_document_get_orientation), (document_load),
5466 (ps_document_goto_page), (ps_document_set_page_size):
5469 Some more sanitization of the ps backend. Remove a lot
5470 of unused code and do not base our defaults on ggv
5473 2005-03-08 Fernando Herrera <fherrera@onirica.com>
5475 * thumbnailer/evince-thumbnailer.schemas:
5476 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
5477 (main): add -s option for thumbnail size.
5479 2005-03-07 Christian Persch <chpe@cvs.gnome.org>
5483 AC_PROG_RANLIB is rendered obsolete by AC_PROG_LIBTOOL;
5486 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
5488 * pdf/pdf-document.cc:
5490 Remove 4 pixels of useless border from the
5493 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
5495 * backend/ev-document-thumbnails.c:
5496 (ev_document_thumbnails_get_thumbnail):
5497 * backend/ev-document-thumbnails.h:
5499 Rework API a bit. Add a border flag and
5500 change sizing logic (now the size we specify
5501 applies to the bigger dimension).
5503 * pdf/pdf-document.cc:
5504 * pixbuf/pixbuf-document.c:
5505 (pixbuf_document_thumbnails_get_thumbnail):
5506 * shell/ev-sidebar-thumbnails.c: (do_one_iteration):
5507 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
5509 Adapt to the new API and do not draw a border for nautilus
5512 2005-03-03 Fernando Herrera <fherrera@onirica.com>
5514 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
5515 take thumbnails from page "0" instead of "1". Added a copyright header.
5517 2005-03-03 Jens Granseuer <jensgr@gmx.net>
5519 * ps/ps-document.c: (set_up_page), (start_interpreter):
5521 Make it C89 compliant
5523 2005-03-03 Marco Pesenti Gritti <marco@gnome.org>
5528 * pdf/pdf-document.cc:
5529 * thumbnailer/Makefile.am:
5530 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
5532 * thumbnailer/evince-thumbnailer.schemas:
5533 * thumbnailer/pdf-icon.png:
5535 Add a nautilus thumbnailer.
5536 Based on patch by Fernando Herrera <fherrera@onirica.com>.
5538 2005-03-02 Marco Pesenti Gritti <marco@gnome.org>
5546 2005-03-01 Kristian Høgsberg <krh@redhat.com>
5548 Use poppler instead of including xpdf source code. Poppler is a
5549 fork of xpdf to build it as a shared library. See
5550 http://freedesktop.org/wiki/Software/poppler.
5552 * pdf/xpdf/*, pdf/goo/*, pdf/splash/*, pdf/fofi/*: Remove included
5555 * pdf/Makefile.am: Build libpdfdocument.a here.
5557 * pdf/GDKSplashOutputDev.cc:
5558 * pdf/GDKSplashOutputDev.h:
5559 * pdf/GnomeVFSStream.cc:
5560 * pdf/GnomeVFSStream.h:
5563 * test-gdk-output-dev.cc
5565 * Thumb.h: Pull these files out of pdf/xpdf and adjust to compile
5568 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
5570 * shell/ev-sidebar-links.c: (ev_sidebar_links_clear_document):
5572 Clear idle stack before unsetting the document
5574 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
5576 * ps/ps-document.c: (ps_document_widget_event),
5577 (ps_document_set_target), (ps_document_finalize),
5578 (ps_document_get_page):
5580 Disconnect the widget event signal on finalize.
5583 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
5585 * ps/ps-document.c: (set_up_page):
5587 If there is no bpixmap create one, even if size
5590 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
5592 * ps/ps-document.c: (ps_document_init), (ps_document_cleanup),
5593 (set_up_page), (document_load), (ps_document_set_zoom):
5595 Default page is 0. Calculate size even when we have no
5598 2005-02-28 Carlos Garcia Campos <carlosgc@gnome.org>
5600 * shell/ev-sidebar.c: expand the selection widget to be always as
5603 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
5605 * shell/ev-sidebar-thumbnails.c:
5606 (ev_sidebar_thumbnails_set_document):
5608 Clear the list store when setting document
5610 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
5612 * shell/ev-page-action.c: (update_entry), (sync_entry),
5613 (activate_cb), (entry_size_request_cb), (create_tool_item),
5616 Use an entry for the page control instead of spinbuttons
5618 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
5620 * data/evince.schemas.in:
5622 Correct confusing string
5624 Sun Feb 27 23:00:31 2005 Jonathan Blandford <jrb@redhat.com>
5626 * shell/ev-sidebar-links.c (do_one_iteration): Handle title links
5627 for real. Gosh, how long has this been broken.
5629 * pdf/xpdf/pdf-document.cc (build_link_from_action): add back the
5630 check for a NULL link. We crash otherwise.
5632 2005-02-27 Marco Pesenti Gritti <marco@gnome.org>
5639 2005-02-25 Sebastien Bacher <seb128@debian.org>
5641 * configure.ac: add the french translation.
5643 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
5645 * shell/ev-window.c:
5647 Remove unused header -> fix distcheck
5649 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
5651 * shell/ev-window.c: (update_window_title),
5652 (ev_window_popup_password_dialog):
5654 Unescape filename for display
5656 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
5658 * pdf/xpdf/pdf-document.cc:
5660 In get_page_size deal with rotation. Also
5661 cleanup the function a bit.
5663 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
5665 * pdf/xpdf/pdf-document.cc:
5667 Fix crash when opening in new window
5669 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
5673 Check ghostscript >= 7
5675 2005-02-25 Pedro Villavicencio <pvillavi@gnome.cl>
5677 * shell/ev-window.c:
5679 Make page width the default sizing mode
5681 2005-02-25 Carlos Garcia Campos <carlosgc@gnome.org>
5682 Marco Pesenti Gritti <marco@gnome.org>
5684 * shell/ev-window.c: Remember the sidebar size
5686 * data/evince.schemas.in: Add a new gconf key to store the size of
5689 2005-02-24 Kai Willadsen <kaiw@itee.uq.edu.au>
5691 * data/evince-ui.xml:
5692 * shell/ev-window.c: (update_action_sensitivity),
5693 (ev_window_cmd_view_reload):
5695 Add a "Reload" action and menu entry
5697 Thu Feb 24 23:07:33 2005 Jonathan Blandford <jrb@redhat.com>
5699 * shell/ev-window.c (hide_sidebar_and_actions): Hide the sidebar
5700 iff the type doesn't support thumbnailing and indexing.
5702 2005-02-24 Martin Kretzschmar <martink@gnome.org>
5704 * configure.ac (ALL_LINGUAS): Added "zh_TW" (Traditional Chinese).
5706 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
5708 * pdf/splash/Splash.cc:
5710 Port fix for a crasher from kde bug
5711 http://bugs.kde.org/show_bug.cgi?id=97131
5713 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
5715 * pdf/xpdf/pdf-document.cc:
5717 Return a link even if it's of an unrecognized
5718 type. Otherwise we go in an infinte cycle.
5720 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
5722 * shell/ev-window.c: (update_sizing_buttons), (update_view_size),
5723 (size_allocate_cb), (ev_window_set_sizing_mode):
5725 Update size when switching mode
5727 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
5729 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
5730 (ev_window_cmd_view_page_width), (update_sizing_buttons),
5731 (ev_window_cmd_view_normal_size):
5733 Fix size toggle buttons behavior
5735 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
5737 * shell/ev-view.c: (ev_view_get_offsets), (view_rect_to_doc_rect),
5738 (doc_rect_to_view_rect), (ev_view_size_allocate),
5739 (expose_bin_window), (ev_view_select_all), (page_changed_callback),
5740 (scale_changed_callback):
5742 Do not cache offsets in size_allocate.
5744 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
5746 * shell/ev-view.c: (ev_view_size_allocate):
5748 Calculate offsets before calling the parent
5749 class (which does a redraw)
5751 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
5753 * pdf/xpdf/pdf-document.cc:
5755 Fix a crasher on exit. Unused code, put a TODO
5757 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
5759 * backend/ev-document.c: (ev_document_class_init),
5760 (ev_document_page_changed), (ev_document_scale_changed):
5761 * backend/ev-document.h:
5763 Separate page/scale notifications
5765 * pdf/xpdf/pdf-document.cc:
5767 Emit the new signals.
5768 Do not display the pdf page in _render, do it
5769 when scale/page are requested.
5771 * ps/ps-document.c: (ps_document_set_zoom),
5772 (ps_document_widget_event):
5775 Emit the new signals.
5777 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
5778 (ev_view_init), (page_changed_callback), (scale_changed_callback),
5779 (ev_view_set_document), (ev_view_zoom), (ev_view_zoom_in),
5780 (ev_view_zoom_out), (size_to_zoom_factor), (ev_view_set_size):
5782 * shell/ev-window.c: (ev_window_cmd_view_normal_size),
5783 (ev_window_cmd_view_page_width), (size_allocate_cb),
5784 (ev_window_set_sizing_mode):
5786 Rework sizing to be pixel based.
5787 There are bugs but should be already way better.
5789 2005-02-23 Marco Pesenti Gritti <marco@gnome.org>
5791 * shell/ev-window.c: (ev_window_init):
5793 Do not allow to shrink sidebar smaller then
5796 2005-02-23 Carlos Garcia Campos <carlosgc@gnome.org>
5798 * shell/ev-sidebar.[ch]
5799 * shell/ev-window.c:
5801 Improved sidebar widget. Fixes #166683
5803 2005-02-23 Tommi Vainikainen <thv@iki.fi>
5805 * shell/ev-view.c (update_find_status_message): Give translators
5806 more flexibility with ngettext plural handling.
5808 Mon Feb 21 17:52:08 2005 Jonathan Blandford <jrb@redhat.com>
5810 * pdf/xpdf/pdf-document.cc (pdf_document_get_page_size): Patch
5811 from Crispin Flowerday <gnome@flowerday.cx> to avoid rendering the
5812 page when we get the page size.
5814 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
5816 * ps/ps-document.c: (ps_document_set_page), (ps_document_get_page):
5818 ps pages are 0 based, convert
5820 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
5822 * ps/ps-document.c: (ps_document_class_init), (ps_document_load):
5824 Initialize correct parent class. Set GError on document load
5826 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
5828 * pdf/xpdf/pdf-document.cc:
5830 Fixup selection offset calculation
5832 * shell/ev-view.c: (view_rect_to_doc_rect),
5833 (doc_rect_to_view_rect), (ev_view_size_allocate),
5834 (expose_bin_window), (ev_view_select_all), (ev_view_copy),
5835 (ev_view_primary_get_cb), (ev_view_motion_notify_event):
5837 Store selection as document relative, so that zooming
5838 and offset changing doesnt break it.
5840 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
5842 * shell/ev-view.c: (ev_view_best_fit):
5844 Do not try to best fit if the view is not realized
5846 2005-02-20 Kostas Papadimas <pkst@gnome.org>
5848 * configure.ac (ALL_LINGUAS): Added "el" (Greek).
5850 Fri Feb 18 16:06:39 2005 Jonathan Blandford <jrb@redhat.com>
5852 * shell/ev-window.c (ev_window_focus_in_event): missed a case.
5854 Fri Feb 18 15:32:57 2005 Jonathan Blandford <jrb@redhat.com>
5856 * shell/ev-window.c: Change the fullscreen toolbar to always be in
5857 the popup window. That prevents it resizing when in full screen
5860 * shell/ev-view.c: Change Zoom epsilon as a bad hack to avoid
5861 multiple rerenders. This pretty much sucks.
5863 * data/evince-ui.xml: Change the fullscreen toolbar to include the
5864 rest of the toolbar.
5866 2005-02-18 Tommi Vainikainen <thv@iki.fi>
5868 * configure.ac (ALL_LINGUAS): Added "fi" (Finnish).
5870 2005-02-17 Alexander Shopov <ash@contact.bg>
5872 * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
5874 2005-02-16 Bryan Clark <clarkbw@cvs.gnome.org>
5876 * shell/ev-window.c: added ellipsis to Print item. Fixes bug 166915
5878 2005-02-16 Marco Pesenti Gritti <marco@gnome.org>
5880 * shell/ev-view.c: (ev_view_realize), (highlight_find_results),
5881 (ev_view_create_invisible_cursor), (ev_view_set_cursor),
5882 (set_document_page), (document_changed_callback),
5883 (ev_view_set_document), (ev_view_find_previous),
5884 (ev_view_hide_cursor), (ev_view_show_cursor):
5886 * shell/ev-window.c: (update_chrome_visibility),
5887 (fullscreen_timeout_cb), (fullscreen_set_timeout),
5888 (fullscreen_clear_timeout), (fullscreen_motion_notify_cb),
5889 (fullscreen_leave_notify_cb), (ev_window_fullscreen),
5890 (ev_window_unfullscreen):
5891 * shell/main.c: (main):
5893 Automatically hide the fullscreen button.
5894 Patch by Kristian Høgsberg <krh@redhat.com>
5896 2005-02-16 Vincent Noel <vnoel@cox.net>
5898 * shell/main.c (main): Specify an icon for the window. Patch by
5899 Jaap A. Haitsma. Fixes #166177.
5901 Wed Feb 16 06:30:13 2005 Jonathan Blandford <jrb@redhat.com>
5903 * shell/ev-view.c (ev_view_realize): get rid of the black flash.
5905 Tue Feb 15 22:27:13 2005 Jonathan Blandford <jrb@redhat.com>
5907 * backend/ev-document-misc.h:
5908 * backend/ev-document-misc.c:
5909 (ev_document_misc_get_page_border_size),
5910 (ev_document_misc_paint_one_page): New function to canonicalize
5911 sizing/painting a border.
5913 * shell/Makefile.am: Remove ev-page-view.c entirely as it's not
5916 * pdf/xpdf/pdf-document.cc: use new function
5918 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
5919 (ev_view_init), (ev_view_set_mode), (ev_view_zoom),
5920 (ev_view_best_fit), (ev_view_fit_width): * shell/ev-view.h: *
5921 shell/ev-window.c: (update_sizing_buttons),
5922 (ev_window_setup_document), (ev_window_cmd_view_zoom_in),
5923 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_best_fit),
5924 (ev_window_cmd_view_page_width), (size_allocate_cb),
5925 (ev_window_set_sizing_mode), (ev_window_init): make the "best fit"
5926 and "fit width" values act as toggle buttons so they stay
5927 toggled. It's not 100% perfect, and it's a little slow, but it's
5928 good enough to commit I think.
5930 2005-02-15 David Lodge <dave@cirt.net>
5932 * configure.ac (ALL_LINGUAS): Added "en_GB" (English (British)).
5934 2005-02-15 Martin Kretzschmar <martink@gnome.org>
5936 * shell/ev-window.c (update_window_title): replace newlines in
5937 the title by spaces. Bug #166107.
5939 2005-02-14 Martin Kretzschmar <martink@gnome.org>
5941 * shell/ev-view.c (ev_view_best_fit, ev_view_fit_width): add
5942 parameters providing allocation width and height without
5943 scrollbars and width of a possible vertical scrollbar. With this
5944 additional information the functions can work as
5945 intended. Unfortunately they're not idempotent. We should
5946 transform these commands to toggles. Fixes Bug #164976
5947 Initial patch by Stephane Loeuillet, then heavily modified.
5949 * shell/ev-view.h: update prototypes.
5951 * shell/ev-window.c (ev_window_cmd_view_best_fit)
5952 (ev_window_cmd_view_page_width): provide EvView fit functions with
5953 all the information they need. Formulas to calculate this
5954 information taken from GtkScrolledWindow.
5956 2005-02-14 Crispin Flowerday <gnome@flowerday.cx>
5958 * shell/ev-sidebar-thumbnails.c: Ensure that after we have
5959 created a thumbnail, the list store is updated to know
5960 that the thumbnail is set. Fixes bug #166792
5962 2005-02-11 Bryan Clark <clarkbw@cvs.gnome.org>
5964 * shell/ev-window.c: fixed typo, closes bug 166897
5966 * TODO: updated TODO with bug numbers that are relevant
5968 2005-02-09 Carlos Garcia Campos <carlosgc@gnome.org>
5970 * shell/ev-window.c: Support for DnD of files. Fixes #164813
5972 2005-02-09 Vincent Noel <vnoel@cox.net>
5974 * shell/ev-window.c: (set_action_properties): Set the "Previous"
5975 and "Next" toolbar buttons as important to make them stand out.
5977 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
5981 * ps/ps-document.c: (ps_document_finalize), (set_up_page),
5982 (start_interpreter), (stop_interpreter), (document_load),
5983 (ps_document_next_page), (ps_document_goto_page),
5984 (ps_document_set_page_size), (ps_document_widget_event),
5985 (ps_document_render):
5986 * shell/ev-page-view.c: (ev_page_view_dispose):
5987 * shell/ev-view.c: (ev_view_finalize), (expose_bin_window):
5989 Fix compilation on non-gcc platforms
5991 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
5998 * pdf/xpdf/Catalog.cc:
6001 Fix the fix for CAN-2004-0888
6003 2005-02-09 Luca Ferretti <elle.uca@libero.it>
6006 * data/evince-ui.xml:
6007 * shell/ev-stock-icons.c: (ev_stock_icons_init):
6008 * shell/ev-stock-icons.h:
6009 * shell/ev-window.c: (update_action_sensitivity),
6010 (ev_window_cmd_go_previous_page), (ev_window_cmd_go_next_page),
6011 (set_action_properties):
6013 Improve toolbar layout/icons
6015 2005-02-08 Marco Pesenti Gritti <marco@gnome.org>
6017 * pdf/xpdf/pdf-document.cc:
6019 Add warnings about unimplemented/unknown link
6022 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
6024 * ps/ps-document.c: (set_up_page):
6028 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
6030 * ps/ps-document.c: (start_interpreter):
6034 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
6036 * shell/ev-page-view.c: (ev_page_view_dispose):
6037 * shell/ev-view.c: (ev_view_finalize):
6038 * shell/ev-window.c: (ev_window_setup_document),
6039 (ev_window_dispose), (ev_window_init):
6041 Solve more refs issues.
6043 I commented out the page_view initialization for now:
6044 it was never destroyed (because it's never added
6045 to a container). Because of that we was leaking
6046 gs processes. Couldnt think to a clean fix.
6047 We need to figure this out, password view has the
6048 same issue probably.
6050 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
6052 * ps/ps-document.c: (ps_document_finalize),
6053 (ps_document_get_n_pages), (ps_document_get_page):
6055 Some cleanups, stop the interpreter on finalize
6057 * shell/ev-page-view.c: (ev_page_view_dispose),
6058 (ev_page_view_class_init):
6060 Release our reference on the document
6062 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
6066 * doc/debugging.txt:
6069 * lib/ev-debug.c: (log_module), (trap_handler), (ev_debug_init),
6070 (ev_profiler_new), (ev_should_profile), (ev_profiler_dump),
6071 (ev_profiler_free), (ev_profiler_start), (ev_profiler_stop):
6074 Add debugging helpers
6077 * ps/ps-document.c: (set_up_page), (start_interpreter),
6078 (stop_interpreter), (document_load), (ps_document_next_page),
6079 (ps_document_goto_page), (ps_document_set_page_size),
6080 (ps_document_widget_event), (ps_document_render):
6081 * shell/Makefile.am:
6082 * shell/ev-view.c: (expose_bin_window):
6083 * shell/main.c: (main):
6087 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
6089 * ps/ps-document.c: (ps_document_widget_event):
6091 Initialize message_window, this should make ps
6092 rendering really work! (Never noticed because I was
6093 testing with a ps that is causing gs to exit every time!)
6095 2005-02-07 Bryan Clark <clarkbw@cvs.gnome.org>
6097 * data/evince.schemas.in: updated simple error in applyto closing tag
6099 2005-02-07 Christian Persch <chpe@cvs.gnome.org>
6105 * data/evince-ui.xml:
6106 A data/evince.schemas.in:
6108 * shell/ev-stock-icons.c: (ev_stock_icons_init):
6109 * shell/ev-stock-icons.h:
6110 * shell/ev-window.c: (update_chrome_visibility),
6111 (update_chrome_flag), (ev_window_cmd_edit_find),
6112 (ev_window_update_fullscreen_popup), (ev_window_fullscreen),
6113 (ev_window_unfullscreen), (ev_window_focus_in_event),
6114 (ev_window_focus_out_event), (ev_window_cmd_leave_fullscreen),
6115 (ev_window_view_toolbar_cb), (ev_window_view_statusbar_cb),
6116 (ev_window_view_sidebar_cb), (find_bar_close_cb),
6117 (ev_window_dispose), (ev_window_class_init),
6118 (set_action_properties), (set_chrome_actions), (load_chrome),
6121 Implement fullscreen mode changes from bug #164776.
6122 Also implement persistent chrome toggles.
6124 2005-02-07 Jordi Mallach <jordi@sindominio.net>
6126 * configure.ac (ALL_LINGUAS): Added "ca" (Catalan).
6128 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
6134 Add another check for find interface
6138 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
6140 * shell/ev-application.c: (ev_application_open):
6141 * shell/ev-window.c: (ev_window_open):
6143 Open gzipped ps documents
6145 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
6148 * shell/ev-view.c: (set_document_page):
6150 Clamp page number, dont try to move to
6153 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
6155 * backend/ev-document-find.c: (ev_document_find_changed):
6156 * backend/ev-document-find.h:
6157 * pdf/xpdf/pdf-document.cc:
6158 * shell/ev-view.c: (jump_to_find_result), (ev_view_set_document):
6159 * shell/ev-window.c: (find_bar_search_changed_cb):
6161 Fix several bugs with find
6163 2005-02-04 Martin Kretzschmar <martink@gnome.org>
6165 * shell/ev-sidebar-thumbnails.c
6166 (ev_sidebar_thumbnails_select_page): do nothing unless we have a
6167 document. Prevents warning from scroll_to_cell.
6169 2005-02-02 Kjartan Maraas <kmaraas@gnome.org>
6171 * configure.ac: Add «nb» to ALL_LINGUAS too.
6173 Wed Feb 2 21:13:11 2005 Jonathan Blandford <jrb@redhat.com>
6175 * NOTES: New file with some random thoughts.
6179 * backend/ev-document-misc.c:
6180 (ev_document_misc_get_page_border_size): New function to
6181 canonicalize shadow drawing sizes. Possibly goofy.
6183 * shell/ev-view.c: (ev_view_size_request), (set_document_page),
6184 (ev_view_best_fit), (ev_view_fit_width):
6185 * pdf/xpdf/pdf-document.cc:
6186 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
6187 * ps/ps-document.c: (ps_document_get_page_size):
6188 * backend/ev-document-misc.h:
6189 * backend/ev-document.c: (ev_document_get_page_size):
6190 * backend/ev-document.h: get_page_size now takes a page number
6191 parameter. Made all the backends/frontends honor it.
6193 * data/evince-ui.xml: Added a multiple-page mode. Uncomment to
6194 see. Doesn't work yet.
6196 * shell/Makefile.am:
6197 * shell/ev-page-view.[ch]: New multi-page view. Really rough.
6198 Doesn't do anything yet.
6200 * shell/ev-sidebar-thumbnails.c:
6201 (ev_sidebar_thumbnails_set_document): [1..n_pages] instead of
6204 * shell/ev-window.c: (update_action_sensitivity),
6205 (ev_window_setup_document), (ev_window_set_page_mode),
6206 (ev_window_page_mode_cb), (ev_window_init): Clean up the
6207 view-swapping code a bit so we can have multiple views on a
6208 document. Add the multi-page view, though it can't be turned on
6211 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
6213 * shell/ev-application.c: (ev_application_open):
6214 * shell/ev-view.c: (expose_bin_window):
6215 * shell/ev-window.c: (ev_window_open):
6217 Support eps and check document supports find
6218 before drawing highlightings in expose.
6220 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
6222 * pixbuf/pixbuf-document.c:
6223 (pixbuf_document_thumbnails_get_dimensions),
6224 (pixbuf_document_document_thumbnails_iface_init):
6226 implement get_dimensions
6228 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
6235 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
6237 * shell/ev-view.c: (set_document_page):
6239 Scroll at the top of the page when changing page
6241 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
6243 * shell/ev-view.c: (ev_view_motion_notify_event):
6245 Do not redraw unnecessarily
6247 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
6249 * pdf/xpdf/pdf-document.cc:
6250 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
6251 (expose_bin_window), (find_changed_cb):
6253 Yay! find works now... Now to find bugs...
6255 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
6257 * backend/ev-document-find.c: (ev_document_find_base_init),
6258 (ev_document_find_changed):
6259 * backend/ev-document-find.h:
6260 * pdf/xpdf/pdf-document.cc:
6261 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
6262 (expose_bin_window), (ev_view_init), (set_document_page),
6263 (ensure_rectangle_is_visible), (jump_to_find_result),
6264 (jump_to_find_page), (find_changed_cb), (ev_view_set_document),
6265 (ev_view_find_next), (ev_view_find_previous):
6267 * shell/ev-window.c: (find_bar_previous_cb), (find_bar_next_cb):
6269 More work on find implementation, mostly there now
6271 2005-01-29 Marco Pesenti Gritti <marco@gnome.org>
6273 * backend/ev-backend-marshalers.list:
6274 * backend/ev-document-find.c: (ev_document_find_base_init),
6275 (ev_document_find_cancel), (ev_document_find_page_has_results),
6276 (ev_document_find_get_n_results), (ev_document_find_get_result),
6277 (ev_document_find_get_progress), (ev_document_find_changed):
6278 * backend/ev-document-find.h:
6280 Enanche the find interface to be really able to do
6283 * pdf/xpdf/pdf-document.cc:
6287 * shell/ev-view.c: (ev_view_finalize), (highlight_find_results),
6288 (expose_bin_window), (ev_view_init),
6289 (ev_view_get_find_status_message), (find_changed_cb),
6290 (ev_view_set_document), (set_document_page):
6292 Adapt to the new interface. A few things are regressed sorry,
6293 I will finish it soon.
6295 2005-01-28 Martin Kretzschmar <martink@gnome.org>
6297 * shell/ev-sidebar-thumbnails.c (ev_sidebar_thumbnails_destroy)
6298 (ev_sidebar_thumbnails_class_init): use G_DEFINE_TYPE-supplied
6299 ev_sidebar_thumbnails_parent_class variable, don't define another
6300 parent_class variable.
6302 * shell/ev-page-action.c (connect_proxy, ev_page_action_finalize)
6303 (ev_page_action_class_init): ditto.
6305 * pixbuf/pixbuf-document.c (pixbuf_document_finalize)
6306 (pixbuf_document_class_init): ditto.
6308 * backend/ev-link.c (ev_window_dispose, ev_link_class_init):
6311 * .cvsignore: ignore various valgrind output files.
6313 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
6315 * data/evince-ui.xml:
6316 * shell/Makefile.am:
6317 * shell/ev-history.c:
6318 * shell/ev-history.h:
6319 * shell/ev-navigation-action.c:
6320 * shell/ev-navigation-action.h:
6321 * shell/ev-view.c: (ev_view_finalize), (ev_view_go_to_link),
6322 (ev_view_set_page), (ev_view_fit_width):
6324 * shell/ev-window.c: (update_action_sensitivity),
6325 (ev_window_setup_document), (register_custom_actions):
6327 Kill session history
6329 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
6331 * shell/ev-window.c: (update_action_sensitivity):
6333 Fix inverted up/down buttons
6335 2005-01-27 Martin Kretzschmar <martink@gnome.org>
6337 * shell/ev-sidebar-thumbnails.c
6338 (ev_sidebar_thumbnails_select_page): make sure the selected
6339 thumbnail stays visible.
6341 2005-01-26 Martin Kretzschmar <martink@gnome.org>
6343 * shell/ev-window.c (ev_window_init): add GTK_SHADOW_IN to the
6344 scrolled window for Federico.
6346 2005-01-26 Ole Laursen <olau@hardworking.dk>
6348 * configure.ac: Added "da" (Danish) to ALL_LINGUAS.
6350 2005-01-26 Marco Pesenti Gritti <marco@gnome.org>
6353 * pdf/splash/SplashFTFontEngine.cc:
6355 Fix CID fonts with freetype 2.1.9
6357 2005-01-26 Bryan Clark <clarkbw@cvs.gnome.org>
6359 * TODO: added item for desktop icon thumbnailer
6361 Tue Jan 25 00:59:34 2005 Jonathan Blandford <jrb@redhat.com>
6363 * pdf/xpdf/pdf-document.cc (pdf_document_get_title): guard against
6364 unloaded docs when the title is accessed.
6366 * shell/ev-password-view.[hc]: New widget for displaying password
6369 * shell/ev-window.[ch]: Refactor password handling code to handle
6372 2005-01-24 Marco Pesenti Gritti <marco@gnome.org>
6380 2005-01-23 Stephane LOEUILLET <stephane.loeuillet@tiscali.fr>
6382 * pdf/xpdf/pdf-document.cc (pdf_document_search_page_changed):
6383 ignore page offset here, to make search results independent of it,
6385 * shell/ev-view.c (expose_bin_window): but take offsets into
6386 account here. Bug #164932
6388 * pdf/xpdf/pdf-document.cc (pdf_document_get_link): divide by
6389 scale at the right time. Bug #164996
6391 2005-01-22 Martin Kretzschmar <martink@gnome.org>
6393 * pdf/xpdf/GlobalParams.cc: My 2005-01-05 change didn't actually
6394 fix the problem. Now I just removed the Adobe font names and hope
6395 that the URW fonts are always in outline format. Bug #164934
6397 * shell/ev-window.c (update_window_title): empty titles are
6398 useless, use filename in that case too.
6400 * NEWS: Add some content.
6402 2005-01-21 Bryan Clark <clarkbw@cvs.gnome.org>
6404 * TODO: added one more TODO item and a TODONE section :)
6406 2005-01-21 Martin Kretzschmar <martink@gnome.org>
6408 * ps/ps-document.h: add page_[xy]_offset fields.
6410 * ps/ps-document.c (ps_document_set_page_offset)
6411 (ps_document_render): Keep offset in consideration in a few
6412 places. Bug #164752 "postscript documents are not centered in
6415 * data/evince.desktop.in (X-GNOME-Bugzilla-Product):
6416 s/gpdf/evince/. Spotted by Stephane Loeuillet.
6418 * pixbuf/pixbuf-document.c (pixbuf_document_get_n_pages)
6419 (pixbuf_document_get_text, pixbuf_document_document_iface_init):
6420 stub out missing methods for complete EvDocument implementation.
6421 Fixes segfaults with Save A Copy and Copy actions.
6423 * ps/ps-document.c (ps_document_save, ps_document_get_text)
6424 (ps_document_document_iface_init): ditto.
6426 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
6430 * data/evince.desktop.in:
6434 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
6436 * shell/ev-view.c: (ev_view_button_press_event),
6437 (ev_view_motion_notify_event):
6439 Make selection work in any direction
6441 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
6444 * shell/ev-window.c: (set_short_labels), (ev_window_init):
6446 Use shorter labels for some of the toolbars items
6448 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
6450 * pdf/xpdf/pdf-document.cc:
6452 Check the links info is initialized before
6453 using it. Should fix a crash on startup.
6455 2005-01-21 Martin Kretzschmar <martink@gnome.org>
6457 * pixbuf/pixbuf-document.c
6458 (pixbuf_document_thumbnails_get_dimensions): force floating point
6459 division to calculate page_ratio. Fixes crash with landscape
6462 Thu Jan 20 18:56:35 2005 Jonathan Blandford <jrb@redhat.com>
6464 * shell/ev-view.c (ev_view_realize): make the bg color darker.
6466 2005-01-20 Martin Kretzschmar <martink@gnome.org>
6468 * shell/ev-view.c (set_document_page): unset has_selection when
6470 (set_document_page): handle paper size changes when the page
6471 changes (test with Free Culture, page 2).
6473 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
6475 * shell/ev-view.c: (ev_view_size_request), (ev_view_realize),
6476 (expose_bin_window), (ev_view_class_init), (ev_view_init):
6478 Use normal style color for the widget background and
6479 draw a black box around the page.
6481 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
6483 * pdf/xpdf/pdf-document.cc:
6485 Keep offset in consideration in a few places
6487 * shell/ev-view.c: (expose_bin_window):
6489 Set the offsets so that the document is ever centered
6491 2005-01-20 Bryan Clark <clarkbw@cvs.gnome.org>
6493 * TODO: Added TODO items and finished off the first todo item
6495 * AUTHORS: Updated AUTHORS section with piece from gpdf file and
6496 reflect current authors
6498 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
6500 * pdf/xpdf/pdf-document.cc:
6501 * shell/ev-view.c: (ev_view_set_cursor),
6502 (ev_view_motion_notify_event), (document_changed_callback),
6503 (set_document_page):
6505 Show a wait cursor while the page is rendering
6507 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
6509 * shell/ev-sidebar-thumbnails.c:
6510 (ev_sidebar_tree_selection_changed),
6511 (ev_sidebar_thumbnails_select_page):
6512 * shell/ev-sidebar-thumbnails.h:
6513 * shell/ev-view.c: (ev_view_set_document), (ev_view_can_go_back),
6514 (ev_view_can_go_forward):
6515 * shell/ev-window.c: (ev_window_open_page),
6516 (ev_window_setup_document), (update_current_page),
6517 (view_page_changed_cb), (ev_window_init):
6518 * shell/ev-window.h:
6520 Ensure thumbnails selection, toolbar page control and
6521 current page are in sync.
6523 2005-01-19 Marco Pesenti Gritti <marco@gnome.org>
6529 Wed Jan 19 01:10:57 2005 Jonathan Blandford <jrb@redhat.com>
6531 * backend/Makefile.am:
6532 * backend/ev-document-links.h:
6533 * backend/ev-document-security.c: (ev_document_security_get_type),
6534 (ev_document_security_has_document_security),
6535 (ev_document_security_set_password):
6536 * backend/ev-document-security.h:
6537 * backend/ev-document.c: (ev_document_error_quark):
6538 * backend/ev-document.h:
6540 * data/evince-password.glade:
6541 * pdf/xpdf/pdf-document.cc:
6542 * shell/Makefile.am:
6543 * shell/ev-password.c: (ev_password_set_bad_password_label),
6544 (ev_window_password_entry_changed_cb), (ev_password_dialog_new),
6545 (ev_password_dialog_get_password),
6546 (ev_password_dialog_set_bad_pass):
6547 * shell/ev-password.h:
6548 * shell/ev-window.c: (ev_window_get_attribute),
6549 (ev_window_set_property), (update_action_sensitivity),
6550 (ev_window_is_empty), (mime_type_supported_by_gdk_pixbuf),
6551 (ev_window_setup_document), (ev_window_get_password),
6552 (ev_window_open), (ev_window_cmd_save_as),
6553 (using_postscript_printer), (ev_window_print),
6554 (find_not_supported_dialog), (ev_window_cmd_edit_find),
6555 (update_fullscreen_popup), (ev_window_fullscreen),
6556 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
6557 (ev_window_focus_out_cb), (ev_window_cmd_help_about),
6558 (menu_item_select_cb), (find_bar_search_changed_cb),
6559 (ev_window_dispose), (ev_window_init):
6561 Add initial support for password-supported dialogs. This could be
6562 a lot cooler, but it'll do for now.
6564 2005-01-18 Marco Pesenti Gritti <marco@gnome.org>
6566 * pdf/xpdf/pdf-document.cc:
6567 * shell/ev-view.c: (status_message_from_link),
6568 (ev_view_set_status), (ev_view_set_cursor),
6569 (ev_view_motion_notify_event), (ev_view_init):
6570 * shell/ev-window.c: (view_status_changed_cb), (ev_window_init):
6572 Fix bugs in the links implementation and change cursor
6573 when hovering a link.
6575 2005-01-17 Bryan Clark <clarkbw@cvs.gnome.org>
6577 * viewer/.cvsignore: added cvsignore file for viewer directory
6579 * TODO: created TODO document
6581 2005-01-14 Dave Malcolm <dmalcolm@redhat.com>
6584 * shell/ev-view.c (ev_view_can_go_back), (ev_view_can_go_forward):
6585 new functions to help with implementation of sensitivity code
6586 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
6587 of all actions that might require it. Fixes a crash when you
6588 click on the Zoom actions in a window lacking a document.
6590 2005-01-13 Dave Malcolm <dmalcolm@redhat.com>
6592 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
6595 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
6597 * pixbuf/pixbuf-document.c: (pixbuf_document_get_link),
6598 (pixbuf_document_document_iface_init):
6599 * ps/ps-document.c: (ps_document_get_link),
6600 (ps_document_document_iface_init):
6601 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event),
6602 (status_message_from_link), (ev_view_set_status),
6603 (ev_view_set_find_status), (ev_view_motion_notify_event),
6604 (ev_view_button_release_event), (ev_view_set_property),
6605 (ev_view_get_property), (ev_view_class_init), (ev_view_init),
6606 (ev_view_get_find_status_message), (update_find_results),
6607 (ev_view_get_status), (ev_view_get_find_status):
6609 * shell/ev-window.c: (view_status_changed_cb),
6610 (view_find_status_changed_cb), (ev_window_init):
6612 View status message support, use it to show the links.
6615 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
6617 * backend/ev-document.c: (ev_document_get_link):
6618 * backend/ev-document.h:
6619 * pdf/xpdf/pdf-document.cc:
6620 * shell/ev-application.c: (ev_application_open):
6621 * shell/ev-application.h:
6622 * shell/ev-sidebar-links.c: (selection_changed_cb):
6623 * shell/ev-view.c: (ev_view_button_release_event), (go_to_link),
6624 (ev_view_go_to_link):
6626 Add support for document links
6628 2005-01-13 Anders Carlsson <andersca@gnome.org>
6630 * shell/ev-page-action.c: (update_spin), (total_pages_changed_cb),
6632 Set the spin button limits correctly.
6634 * shell/ev-sidebar-thumbnails.c:
6635 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init):
6636 Support changing pages by clicking on the thumbnails.
6638 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
6640 * pixbuf/pixbuf-document.c:
6641 (pixbuf_document_thumbnails_get_dimensions),
6642 (pixbuf_document_document_thumbnails_iface_init):
6644 implement get_dimensions
6646 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
6648 * ps/ps-document.c: (ps_document_goto_page):
6650 Fix page switching on multipage documents
6652 2005-01-12 Jeff Muizelaar <jrmuizel@nit.ca>
6654 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
6656 check for NULL before assigning to width and height parameters
6658 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
6660 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
6661 (pixbuf_document_set_property), (pixbuf_document_get_property):
6663 implement get/set properties
6665 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
6667 * pdf/xpdf/pdf-document.cc: (pdf_info_dict_get_string):
6669 return NULL instead of "Unknown", letting the title get set to
6670 the filename when the pdf has no title.
6672 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
6674 * ps/ps-document.c: (ps_document_get_page_count),
6675 (ps_document_goto_page):
6677 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
6679 * shell/ev-history.c: (ev_history_get_property),
6680 (ev_history_set_property), (ev_history_class_init),
6681 (ev_history_add_page), (ev_history_set_current_index):
6682 * shell/ev-navigation-action.c: (ev_navigation_action_set_history),
6683 (activate_menu_item_cb), (new_history_menu_item), (build_menu),
6684 (ev_navigation_action_finalize):
6685 * shell/ev-navigation-action.h:
6686 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
6687 (ev_view_go_forward), (ev_view_get_find_status_message),
6688 (history_index_changed_cb), (ev_view_set_history):
6690 * shell/ev-window.c: (update_total_pages), (ev_window_open),
6691 (update_current_page), (register_custom_actions):
6693 Implement history dropdowns
6695 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
6697 * shell/ev-history.c: (ev_history_init), (ev_history_add_link):
6698 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
6699 (ev_view_go_forward):
6700 * shell/ev-window.c: (register_custom_actions):
6702 Fix several history bugs
6704 2005-01-11 Kjartan Maraas <kmaraas@gnome.org>
6706 * configure.ac: Add «nb» to ALL_LINGUAS.
6708 2005-01-10 Marco Pesenti Gritti <marco@gnome.org>
6710 * backend/Makefile.am:
6711 * backend/ev-bookmark.c:
6712 * backend/ev-bookmark.h:
6713 * backend/ev-document-bookmarks.c:
6714 * backend/ev-document-bookmarks.h:
6715 * backend/ev-document-links.c: (ev_document_links_get_type),
6716 (ev_document_links_has_document_links),
6717 (ev_document_links_begin_read), (ev_document_links_get_link),
6718 (ev_document_links_get_child), (ev_document_links_next),
6719 (ev_document_links_free_iter):
6720 * backend/ev-document-links.h:
6721 * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_title),
6722 (ev_link_set_title), (ev_link_get_uri), (ev_link_set_uri),
6723 (ev_link_get_link_type), (ev_link_set_link_type),
6724 (ev_link_get_page), (ev_link_set_page), (ev_link_get_property),
6725 (ev_link_set_property), (ev_window_dispose), (ev_link_init),
6726 (ev_link_class_init), (ev_link_new_title), (ev_link_new_page),
6727 (ev_link_new_external):
6728 * backend/ev-link.h:
6729 * pdf/xpdf/pdf-document.cc:
6730 * shell/Makefile.am:
6731 * shell/ev-application.c: (ev_application_open_link):
6732 * shell/ev-application.h:
6733 * shell/ev-history.c: (ev_history_add_link), (ev_history_add_page),
6734 (ev_history_get_link_nth):
6735 * shell/ev-history.h:
6736 * shell/ev-sidebar-bookmarks.c:
6737 * shell/ev-sidebar-bookmarks.h:
6738 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
6739 (ev_sidebar_links_class_init), (selection_changed_cb),
6740 (ev_sidebar_links_construct), (ev_sidebar_links_init),
6741 (links_page_num_func), (ev_sidebar_links_new), (stack_data_free),
6742 (do_one_iteration), (populate_links_idle),
6743 (ev_sidebar_links_clear_document), (ev_sidebar_links_set_document):
6744 * shell/ev-sidebar-links.h:
6745 * shell/ev-sidebar.c: (ev_sidebar_set_document):
6746 * shell/ev-view.c: (go_to_link), (ev_view_go_to_link),
6749 * shell/ev-window.c: (ev_window_open_link), (ev_window_init):
6750 * shell/ev-window.h:
6752 Rename bookmark to link, and use "Index" for the sidebar panel.
6754 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
6756 * shell/Makefile.am:
6757 * shell/ev-application.c: (ev_application_open_bookmark):
6758 * shell/ev-application.h:
6759 * shell/ev-history.c: (ev_history_init), (free_links_list),
6760 (ev_history_finalize), (ev_history_class_init),
6761 (ev_history_add_link), (ev_history_add_page),
6762 (ev_history_get_link_nth), (ev_history_get_n_links),
6763 (ev_history_get_current_index), (ev_history_set_current_index),
6765 * shell/ev-history.h:
6766 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
6767 * shell/ev-view.c: (ev_view_finalize), (ev_view_set_document),
6768 (set_document_page), (go_to_bookmark), (ev_view_go_to_bookmark),
6769 (go_to_index), (ev_view_go_back), (ev_view_go_forward),
6772 * shell/ev-window.c: (ev_window_open_bookmark),
6773 (ev_window_cmd_go_back), (ev_window_cmd_go_forward),
6774 (goto_page_cb), (register_custom_actions):
6775 * shell/ev-window.h:
6777 Initial history implementation. Needs work.
6779 2005-01-09 Martin Kretzschmar <martink@gnome.org>
6781 * pdf/xpdf/GDKSplashOutputDev.cc (redraw): fix pixbuf data offset.
6783 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
6785 * cut-n-paste/recent-files/egg-recent-item.c:
6786 * cut-n-paste/recent-files/egg-recent-item.h:
6787 * cut-n-paste/recent-files/egg-recent-model.c:
6788 * cut-n-paste/recent-files/egg-recent-util.c:
6789 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
6790 * cut-n-paste/recent-files/egg-recent-view.c:
6794 2005-01-08 Martin Kretzschmar <martink@gnome.org>
6796 * pdf/splash/Splash.cc (clear, drawPixel, drawSpan, xorSpan, getPixel)
6797 (fillGlyph, fillImageMask, drawImage):
6798 pdf/splash/SplashBitmap.cc (SplashBitmap, ~SplashBitmap, writePNMFile):
6799 pdf/splash/SplashTypes.h:
6800 pdf/xpdf/SplashOutputDev (startPage, getColor, imageSrc): implement RGB8
6801 packed mode for Splash.
6803 * pdf/xpdf/GDKSplashOutputDev.cc (GDKSplashOutputDev, redraw): use
6804 RGB8 packed mode, eliminates the pixbuf data creation loop.
6806 * shell/ev-print-job.c (ev_print_job_finalize)
6807 (ev_print_job_set_property, ev_print_job_get_property)
6808 (ev_print_job_set_gnome_print_job, ev_print_job_set_document)
6809 (ev_print_job_use_print_dialog_settings, idle_print_handler)
6810 (print_closure_finalize, ev_print_job_print): implement
6811 printing (for backends with EvPsExporter)
6813 * shell/ev_print_job.h: update prototypes.
6815 * shell/ev-window.c (ev_window_print): unref print job after
6818 * shell/ev-view.c (ev_view_set_document): don't connect to "found"
6819 unless the document implements the EvDocumentFind interface.
6821 2005-01-08 Satoru SATOH <ss@gnome.gr.jp>
6823 * configure.ac: Added ja to ALL_LINGUAS.
6825 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
6827 * pdf/xpdf/pdf-document.cc:
6829 add a FIXME. We should probably not allocate
6830 a bookmark object every time
6832 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
6834 * shell/ev-application.c: (ev_application_open),
6835 (ev_application_open_bookmark):
6836 * shell/ev-application.h:
6838 Add a way to open bookmarks
6840 * backend/ev-bookmark.c: (ev_bookmark_get_uri),
6841 (ev_bookmark_set_uri), (ev_bookmark_get_property),
6842 (ev_bookmark_set_property), (ev_bookmark_class_init),
6843 (ev_bookmark_new_title), (ev_bookmark_new_link),
6844 (ev_bookmark_new_external):
6846 Support for external uris, better constructors.
6848 * backend/ev-bookmark.h:
6849 * pdf/xpdf/pdf-document.cc:
6850 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
6852 Handle external uris
6854 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
6856 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb),
6857 (ev_sidebar_bookmarks_construct), (do_one_iteration):
6859 Hook up bookmarks navigation
6861 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
6863 * backend/Makefile.am:
6864 * backend/ev-bookmark.c: (ev_bookmark_type_get_type),
6865 (ev_bookmark_get_title), (ev_bookmark_set_title),
6866 (ev_bookmark_get_bookmark_type), (ev_bookmark_set_bookmark_type),
6867 (ev_bookmark_get_page), (ev_bookmark_set_page),
6868 (ev_bookmark_get_property), (ev_bookmark_set_property),
6869 (ev_window_dispose), (ev_bookmark_init), (ev_bookmark_class_init),
6871 * backend/ev-bookmark.h:
6872 * backend/ev-document-bookmarks.c:
6873 (ev_document_bookmarks_get_bookmark):
6874 * backend/ev-document-bookmarks.h:
6875 * pdf/xpdf/pdf-document.cc:
6876 * shell/ev-sidebar-bookmarks.c: (do_one_iteration):
6878 Add a bookmark object to the backend and use it instead of get_values
6880 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
6882 * data/evince-ui.xml:
6884 Cleanup and add select all.
6886 * shell/ev-view.c: (ev_view_select_all),
6887 (ev_view_button_press_event):
6889 * shell/ev-window.c: (ev_window_cmd_edit_select_all):
6892 Clear selection on click.
6894 Fri Jan 7 01:28:58 2005 Jonathan Blandford <jrb@redhat.com>
6896 * shell/ev-sidebar-thumbnails.c
6897 (ev_sidebar_thumbnails_set_document): forgot to unref the
6900 Fri Jan 7 01:22:48 2005 Jonathan Blandford <jrb@redhat.com>
6902 * shell/ev-sidebar-thumbnails.c: fill in the thumbnails starting
6903 at the visible page, not just linearly. This makes it look fast.
6905 Thu Jan 6 18:48:11 2005 Jonathan Blandford <jrb@redhat.com>
6907 * backend/ev-document-misc.c
6908 (ev_document_misc_get_thumbnail_frame): fill in the thumbnail with
6910 * backend/ev-document-thumbnails.h: New interface to get the size
6913 2005-01-06 Jeremy Katz <katzj@redhat.com>
6915 * shell/Makefile.am (evince_SOURCES): Add ev-utils.[ch] so that
6918 Wed Jan 5 15:38:28 2005 Jonathan Blandford <jrb@redhat.com>
6920 * pdf/xpdf/pdf-document.cc (bitmap_to_pixbuf): bypass
6921 GDKSplashOutputDev and just use a normal SplashOutputDev. Speeds
6924 * shell/ev-sidebar-thumbnail.c: start of some profiling code.
6926 2005-01-05 Martin Kretzschmar <martink@gnome.org>
6928 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): match only outline
6929 fonts. Should fix font problems on systems that have the base
6930 fonts in bitmap format. Reported by James Henstridge
6931 <james@jamesh.id.au>.
6933 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
6936 * pdf/xpdf/GfxState.cc:
6938 Fix for CAN-2004-1125
6940 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
6942 * shell/ev-view.c: (ev_view_copy):
6944 * shell/ev-window.c: (ev_window_cmd_edit_copy):
6946 Implement Edit->Copy
6948 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
6950 * backend/ev-document.c: (ev_document_get_text):
6951 * backend/ev-document.h:
6952 * pdf/xpdf/pdf-document.cc:
6953 * shell/ev-view.c: (ev_view_realize), (expose_bin_window),
6954 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
6955 (ev_view_update_primary_selection), (ev_view_button_press_event),
6956 (ev_view_motion_notify_event), (ev_view_button_release_event):
6958 Beginnings of clipboard support. Incomplete but primary sort
6961 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
6963 * shell/ev-view.c: (ev_gdk_color_to_rgb), (draw_rubberband),
6964 (expose_bin_window):
6966 Nicer rubberband drawing, from GtkIconView.
6968 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
6970 * backend/ev-document.c: (ev_document_save):
6971 * backend/ev-document.h:
6972 * data/evince-ui.xml:
6973 * pdf/xpdf/pdf-document.cc:
6974 * shell/ev-window.c: (save_error_dialog), (ev_window_cmd_save_as):
6976 Implement "Save a copy..." menu item
6978 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
6980 * shell/ev-view.c: (ev_view_zoom):
6982 Queue a resize when zoom changes
6984 Wed Jan 5 02:33:06 2005 Jonathan Blandford <jrb@redhat.com>
6986 * backend/ev-document-misc.[ch]: New misc file to do simple drop
6989 * pdf/xpdf/pdf-document.cc: use the drop shadows in both types of
6992 Tue Jan 4 22:32:32 2005 Jonathan Blandford <jrb@redhat.com>
6994 * pdf/xpdf/pdf-document.cc
6995 (pdf_document_thumbnails_get_page_pixbuf): poor man's dropshadow.
6997 Tue Jan 4 21:25:05 2005 Jonathan Blandford <jrb@redhat.com>
6999 * pdf/xpdf/pdf-document.cc: Do real thumbnailing of PDF files.
7000 It's slow, but I'll speed it up next!
7002 2005-01-04 Jeff Muizelaar <jrmuizel@nit.ca>
7004 * shell/main.c (load_files):
7006 use gnome_vfs_make_uri_from_shell_arg so that relative paths work
7007 from the command line and because it seems more appropriate.
7009 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
7011 * data/evince-ui.xml:
7012 * shell/ev-window.c: (update_action_sensitivity),
7013 (ev_window_cmd_go_page_up), (ev_window_cmd_go_page_down):
7015 s/next page/page down
7016 s/previous page/page up
7018 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
7020 * data/evince-ui.xml:
7022 Change the layout to match clarkbw design.
7024 * shell/Makefile.am:
7025 * shell/ev-navigation-action.c: (build_menu), (menu_activated_cb),
7026 (set_tooltip_cb), (connect_proxy), (ev_navigation_action_init),
7027 (ev_navigation_action_finalize),
7028 (ev_navigation_action_set_property),
7029 (ev_navigation_action_get_property),
7030 (ev_navigation_action_class_init):
7031 * shell/ev-navigation-action.h:
7033 Implement clarkbw toolbar navigation controls (incomplete)
7035 * shell/ev-page-action.c: (update_label), (update_spin),
7036 (value_changed_cb), (create_tool_item), (connect_proxy),
7037 (ev_page_action_init), (ev_page_action_finalize),
7038 (ev_page_action_set_property), (ev_page_action_get_property),
7039 (ev_page_action_set_current_page),
7040 (ev_page_action_set_total_pages), (ev_page_action_class_init):
7041 * shell/ev-page-action.h:
7043 Implement a page switcher in the toolbar
7045 * shell/ev-view.c: (ev_view_scroll_view):
7046 * shell/ev-window.c: (update_total_pages), (ev_window_open),
7047 (update_current_page), (view_page_changed_cb), (goto_page_cb),
7048 (register_custom_actions), (ev_window_init):
7050 Change page on PageUp/Down.
7052 Tue Jan 4 03:22:56 2005 Jonathan Blandford <jrb@redhat.com>
7054 * pdf/xpdf/pdf-document.cc
7055 (pdf_document_thumbnails_get_thumbnail): initial stab at
7056 implementing thumbnail support for pdfs. It only does documents
7057 with precached pdfs now.
7059 Mon Jan 3 17:22:25 2005 Jonathan Blandford <jrb@redhat.com>
7061 * shell/ev-sidebar-thumbnails.c (do_one_iteration): move the
7062 thumbnail code into a time-based idle as well. Also, turn off the
7063 shadow temporarily as it's really slow.
7065 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
7067 * backend/ev-document.c: (ev_document_class_init):
7068 * pdf/xpdf/pdf-document.cc:
7069 * shell/ev-window.c: (ev_window_open):
7071 Fix document title bugs and fallback to
7072 filename when not available.
7074 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
7076 * backend/ev-document.c: (ev_document_get_type),
7077 (ev_document_class_init), (ev_document_load),
7078 (ev_document_get_title):
7079 * backend/ev-document.h:
7080 * pdf/xpdf/pdf-document.cc:
7081 * ps/ps-document.c: (ps_document_set_property),
7082 (ps_document_get_property), (ps_document_class_init),
7086 * shell/ev-window.c: (update_window_title), (ev_window_open),
7089 Initial support for document title. Not working yet.
7091 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
7093 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event):
7095 Grab focus on the view when clicking it
7097 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
7099 * shell/ev-marshal.list:
7100 * shell/ev-view.c: (ev_view_realize), (add_scroll_binding),
7101 (ev_view_scroll_view), (ev_view_class_init), (ev_view_init):
7103 Add key bindings to the view. Now if the focus would work
7106 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
7109 * backend/Makefile.am:
7112 * dvi/dvilib/Makefile.am:
7113 * pdf/xpdf/Makefile.am:
7119 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
7121 * shell/ev-view.c: (ev_view_realize):
7123 Fix mouse wheel scrolling
7125 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
7131 * ps/ps-document.c: (catchPipe), (ps_document_init),
7132 (ps_document_class_init), (ps_document_cleanup),
7133 (ps_document_finalize), (send_ps), (ps_document_get_orientation),
7134 (set_up_page), (close_pipe), (is_interpreter_ready),
7135 (interpreter_failed), (output), (input), (start_interpreter),
7136 (stop_interpreter), (file_length), (file_readable),
7137 (check_filecompressed), (check_pdf), (compute_xdpi),
7138 (compute_ydpi), (compute_size), (ps_document_enable_interpreter),
7139 (ps_document_get_type), (ps_document_emit_error_msg),
7140 (document_load), (ps_document_next_page),
7141 (ps_document_get_current_page), (ps_document_get_page_count),
7142 (ps_document_goto_page), (ps_document_set_page_size),
7143 (ps_document_zoom_to_fit), (ps_document_set_zoom),
7144 (ps_document_load), (ps_document_get_n_pages),
7145 (ps_document_set_page), (ps_document_get_page),
7146 (ps_document_widget_event), (ps_document_set_target),
7147 (ps_document_set_scale), (ps_document_set_page_offset),
7148 (ps_document_get_page_size), (ps_document_render),
7149 (ps_document_document_iface_init):
7152 * shell/ev-window.c: (ev_window_open):
7154 Rename GtkGS to PSDocument
7156 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
7158 * ps/gtkgs.c: (gtk_gs_class_init):
7161 Some more leftover...
7163 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
7165 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_get_orientation),
7166 (output), (stop_interpreter), (gtk_gs_emit_error_msg),
7167 (gtk_gs_zoom_to_fit), (gtk_gs_set_zoom):
7170 Remove unused code and make a lot of stuff private
7172 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
7174 * ps/gsdefaults.c: (gtk_gs_defaults_gconf_client),
7175 (gtk_gs_defaults_changed):
7181 Cleanup headers dependencies
7183 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
7188 * ps/gsdefaults.c: (gtk_gs_defaults_get_paper_sizes):
7190 * ps/gtkgs.c: (file_length), (file_readable),
7191 (check_filecompressed), (check_pdf), (gtk_gs_load),
7192 (gtk_gs_get_postscript):
7196 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
7201 * ps/gtkgs.c: (gtk_gs_set_zoom):
7205 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
7207 * ps/gtkgs.c: (gtk_gs_set_zoom), (gtk_gs_set_zoom_mode):
7209 Ensure the page is rerendered when changing zoom
7211 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
7213 * backend/ev-document.c: (ev_document_base_init),
7214 (ev_document_changed):
7215 * backend/ev-document.h:
7217 Add a changed event that is emitted when the page content
7218 changes. This is necessary to deal with the fact that
7219 in ps backend rendering happen asycrounously.
7220 This makes the ps backend mostly work.
7222 * pdf/xpdf/pdf-document.cc:
7226 * ps/gtkgs.c: (set_up_page), (gtk_gs_widget_event),
7227 (ps_document_set_target):
7231 * shell/ev-view.c: (document_changed_callback),
7232 (ev_view_set_document), (ev_view_set_page):
7234 Redraw on the changed signal
7236 2004-12-25 Raphael Higino <raphaelh@cvs.gnome.org>
7238 * configure.ac: Added pt_BR to ALL_LINGUAS.
7240 Fri Dec 24 00:48:44 2004 Jonathan Blandford <jrb@redhat.com>
7242 * backend/ev-document-bookmarks.c:
7243 (ev_document_bookmarks_get_child): *
7244 backend/ev-document-bookmarks.h: * pdf/xpdf/Makefile.am: *
7245 pdf/xpdf/pdf-document.cc: * pdf/xpdf/pdf-document.h: *
7246 shell/Makefile.am: * shell/ev-sidebar-bookmarks.c:
7247 (ev_sidebar_bookmarks_destroy),
7248 (ev_sidebar_bookmarks_class_init),
7249 (ev_sidebar_bookmarks_construct), (stack_data_free),
7250 (do_one_iteration), (populate_bookmarks_idle),
7251 (ev_sidebar_bookmarks_clear_document),
7252 (ev_sidebar_bookmarks_set_document): *
7253 shell/ev-sidebar-bookmarks.h: * shell/ev-sidebar.c:
7254 (ev_sidebar_add_page),
7255 (ev_sidebar_set_document): * shell/ev-window.c: (ev_window_open):
7256 Initial stab at a bookmarks sidebar. It doesn't navigate yet, but
7257 it displays both the topics and the page numbers.
7259 2004-12-23 Kristian Høgsberg <krh@redhat.com>
7261 * shell/ev-window.c (ev_window_view_sidebar_cb): Hook up sidebar
7263 * shell/ev-window.c (toggle_entries): Set sidebar default value to
7266 2004-12-23 Adam Weinberger <adamw@gnome.org>
7268 * configure.ac: Added en_CA to ALL_LINGUAS.
7270 2004-12-23 Martin Kretzschmar <martink@gnome.org>
7272 * ChangeLog: replace bottom of this ChangeLog (merged history of
7273 ggv and gpdf; where all paths were wrong and most of the files are
7274 not even in this tree) with ChangeLog (from arch) of the shell
7277 2004-12-23 Havoc Pennington <hp@redhat.com>
7279 * shell/ev-window.c: hook up potentially-questionable "find
7280 results status text" feature - something involving the sidebar or
7281 scrollbar or a continuous all-pages-on-giant-roll-of-paper-view
7282 might be better in the end.
7284 * shell/ev-view.c (ev_view_get_find_status_message): new function,
7285 with corresponding signal when it should be updated
7287 * shell/eggfindbar.c (egg_find_bar_set_status_text): new function
7289 2004-12-22 Havoc Pennington <hp@redhat.com>
7291 * pdf/xpdf/pdf-document.cc (pdf_document_find_begin): make search
7292 find stuff on other pages, sort of (only returns one result on
7293 invisible pages, to show they have results; updates full results
7294 for a page when you view it). Currently repaints the current page
7295 every time a new result is found on any page, which isn't so nice.
7297 2004-12-22 Havoc Pennington <hp@redhat.com>
7299 * shell/ev-window.c (ev_window_cmd_edit_find): display an error if
7300 the document doesn't support find (better ideas?)
7301 (find_bar_search_changed_cb): handle missing document or document
7302 that doesn't support find
7304 * pdf/xpdf/pdf-document.cc: port to implement the new
7307 * backend/ev-document-find.c: create a new interface for searching
7309 * backend/ev-document.h, backend/ev-document.c: delete the find stuff
7311 2004-12-23 Martin Kretzschmar <martink@gnome.org>
7313 * pdf/xpdf/Makefile.am (libpdfdocument_la_LIBADD): add
7316 * shell/ev-window.c (ev_window_print): add GnomePrintJob to
7317 EvPrintJob constructor arguments.
7319 * backend/ev-ps-exporter.c, backend/ev-ps-exporter.h: interface
7320 for documents that can export PostScript (page by page).
7322 * backend/Makefile.am (libevbackend_la_SOURCES): add them.
7324 * pdf/xpdf/pdf-document.cc (pdf_document_ps_export_begin)
7325 (pdf_document_ps_export_do_page, pdf_document_ps_export_end)
7326 (pdf_document_ps_exporter_iface_init:
7327 Implement EvPSExporter.
7329 * pdf/xpdf/Makefile.am (libxpdf_la_SOURCES): build PSOutputDev.
7331 2004-12-22 Anders Carlsson <andersca@gnome.org>
7333 * backend/Makefile.am:
7334 * backend/ev-document-thumbnails.c:
7335 (ev_document_thumbnails_get_type),
7336 (ev_document_thumbnails_get_thumbnail):
7337 * backend/ev-document-thumbnails.h:
7338 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
7339 (pixbuf_document_thumbnails_get_thumbnail),
7340 (pixbuf_document_document_thumbnails_iface_init):
7341 * shell/Makefile.am:
7342 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_destroy),
7343 (ev_sidebar_thumbnails_class_init), (ev_sidebar_thumbnails_init),
7344 (populate_thumbnails), (ev_sidebar_thumbnails_set_document):
7345 * shell/ev-sidebar-thumbnails.h:
7346 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
7347 (ev_sidebar_set_document):
7348 * shell/ev-utils.c: (gaussian), (create_blur_filter),
7349 (create_shadow), (ev_pixbuf_add_shadow):
7351 Add thumbnail support.
7353 2004-12-22 Martin Kretzschmar <martink@gnome.org>
7355 * shell/ev-window.c (ev_window_cmd_file_print, ev_window_print)
7356 (using_postscript_printer): Set up a print dialog for "PostScript
7359 * shell/ev-print-job.h, shell/ev-print-job.c: stub classes for
7362 * shell/Makefile.am (evince_SOURCES): add ev-print-job.[ch]
7364 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
7366 * ps/gtkgs.c: (gtk_gs_init), (set_up_page),
7367 (ps_document_set_target), (ps_document_get_page_size),
7368 (ps_document_render):
7373 2004-12-22 Christian Rose <menthos@menthos.com>
7375 * configure.ac: Added "sv" to ALL_LINGUAS.
7377 Wed Dec 22 14:47:38 2004 Jonathan Blandford <jrb@redhat.com>
7379 * backend/ev-document-bookmarks.[ch]: new interface to indicate
7380 document supports bookmarks.
7382 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
7384 * ps/ggvutils.c: (ggv_file_readable):
7386 * ps/gtkgs.c: (check_filecompressed), (check_pdf),
7387 (gtk_gs_get_postscript):
7391 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
7393 * ps/gtkgs.c: (gtk_gs_init), (gtk_gs_class_init), (gtk_gs_cleanup),
7394 (gtk_gs_finalize), (gtk_gs_set_center), (set_up_page), (output),
7395 (start_interpreter), (compute_size), (gtk_gs_enable_interpreter),
7396 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_reload),
7397 (gtk_gs_emit_error_msg), (gtk_gs_disable_interpreter),
7398 (gtk_gs_load), (gtk_gs_goto_page), (gtk_gs_set_page_size),
7399 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
7400 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
7401 (gtk_gs_set_antialiasing), (ps_document_load),
7402 (ps_document_render):
7405 Another check point for the ps backend. Now I can get it to show
7408 Wed Dec 22 13:41:01 2004 Jonathan Blandford <jrb@redhat.com>
7410 * shell/ev-sidebar.c (ev_sidebar_set_document): initial sidebar
7411 document setting code.
7413 2004-12-22 Anders Carlsson <andersca@gnome.org>
7415 * shell/eggfindbar.c: (entry_activate_callback):
7416 Animate the next button when activate is pressed.
7418 2004-12-22 Anders Carlsson <andersca@gnome.org>
7420 * shell/ev-window.c: (ev_window_cmd_edit_find),
7421 (update_fullscreen_popup), (ev_window_fullscreen),
7422 (ev_window_unfullscreen), (ev_window_state_event_cb),
7423 (ev_window_focus_out_cb), (find_bar_close_cb), (ev_window_init):
7424 Fix bugs in fullscreen code.
7426 2004-12-22 Anders Carlsson <andersca@gnome.org>
7430 * pixbuf/Makefile.am:
7431 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
7432 (pixbuf_document_load), (pixbuf_document_get_n_pages),
7433 (pixbuf_document_set_page), (pixbuf_document_get_page),
7434 (pixbuf_document_set_target), (pixbuf_document_set_scale),
7435 (pixbuf_document_set_page_offset), (pixbuf_document_get_page_size),
7436 (pixbuf_document_render), (pixbuf_document_begin_find),
7437 (pixbuf_document_end_find), (pixbuf_document_finalize),
7438 (pixbuf_document_class_init),
7439 (pixbuf_document_document_iface_init), (pixbuf_document_init):
7440 * pixbuf/pixbuf-document.h:
7441 * shell/Makefile.am:
7442 * shell/ev-application.c: (ev_application_open):
7443 * shell/ev-window.c: (mime_type_supported_by_gdk_pixbuf),
7447 Tue Dec 21 21:45:43 2004 Soeren Sandmann <sandmann@redhat.com>
7450 * dvi/dvilib/Makefile.am:
7452 * configure.ac: Auto*ify dvi and dvi/dvilib
7454 * dvi/Makefile: Remove from CVS
7456 * dvi/dvilib/dl-pkfont.cc (unpack_bitmap): Fix uchar/uint
7459 * dvi/dvilib/dl-fontdefinition.{cc,hh}: New DviFontMap class
7461 * dvi/dvilib/dl-vffont.{cc,hh}: Many bugfixes to VF code.
7463 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
7466 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_finalize),
7467 (gtk_gs_value_adjustment_changed), (compute_size),
7468 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_new_from_file),
7469 (gtk_gs_center_page), (gtk_gs_load), (gtk_gs_set_page_size),
7470 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
7471 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
7472 (gtk_gs_start_scroll), (gtk_gs_get_postscript),
7473 (gtk_gs_set_adjustments), (gtk_gs_set_available_size),
7474 (ps_document_load), (ps_document_get_n_pages),
7475 (ps_document_set_page), (ps_document_get_page),
7476 (ps_document_set_target), (ps_document_set_scale),
7477 (ps_document_set_page_offset), (ps_document_get_page_size),
7478 (ps_document_render), (ps_document_begin_find),
7479 (ps_document_end_find), (ps_document_document_iface_init):
7481 * shell/Makefile.am:
7482 * shell/ev-window.c: (ev_window_open):
7484 Some work to integrate gtkgs with EvDocument
7486 2004-12-22 Anders Carlsson <andersca@gnome.org>
7488 * shell/ev-window.c: (update_fullscreen_popup),
7489 (screen_size_changed_cb), (destroy_exit_fullscreen_popup),
7490 (exit_fullscreen_button_clicked_cb),
7491 (fullscreen_popup_size_request_cb), (ev_window_fullscreen),
7492 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
7493 (ev_window_state_event_cb), (ev_window_init):
7494 Add fullscreen support from Epiphany.
7496 2004-12-22 Mark McLoughlin <mark@skynet.ie>
7498 * data/ev-stock-zoom-fit-width.png: fit-width
7499 stock icon from gpdf.
7501 * shell/ev-stock-icons.[ch]: copied from gpdf.
7503 * shell/main.c: (main): init stock icons.
7505 * shell/ev-window.c: use the fit-width icon.
7507 * data/evince-ui.xml: add zooming toolbar items.
7509 2004-12-22 Mark McLoughlin <mark@skynet.ie>
7512 (ev_view_best_fit), (ev_view_fit_width): because
7513 get_page_size() returns the scaled page size, we
7514 need to calculate the scale factor relative to
7515 the previous scale factor. Should really just
7516 add get_real_page_size().
7518 2004-12-22 Mark McLoughlin <mark@skynet.ie>
7520 * shell/ev-view.[ch]:
7521 (ev_view_zoom), (ev_view_zoom_in), (ev_view_zoom_out),
7522 (ev_view_normal_size), (ev_view_best_fit), (ev_view_fit_width):
7525 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
7526 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_normal_size),
7527 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width):
7530 * pdf/xpdf/pdf-document.cc:
7531 (pdf_document_begin_find),
7532 (pdf_document_end_find): make static.
7534 2004-12-22 Martin Kretzschmar <martink@gnome.org>
7536 * pdf/xpdf/GlobalParams.h (setupBaseFontsFc): add prototype.
7538 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): maps base font
7539 names to fontconfig patterns.
7540 (setupBaseFontsFc): setupBaseFonts reimplemented using fontconfig.
7542 * pdf/xpdf/pdf-document.cc (pdf_document_load): use
7545 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
7561 Import ggv backend. Not hooked up yet.
7563 2004-12-22 Mark McLoughlin <mark@skynet.ie>
7565 * shell/main.c: (load_files), (main): load files
7566 from the command line.
7568 2004-12-22 Mark McLoughlin <mark@skynet.ie>
7570 * configure.ac: don't require bonobo.
7572 * cut-n-paste/recent-files/*: kill bonobo recent
7575 * shell/ev-window.c:
7576 (ev_window_is_empty): upd.
7577 (unable_to_load), (ev_window_open): load backend
7578 based on the mime type.
7580 2004-12-22 Martin Kretzschmar <martink@gnome.org>
7582 * backend/.cvsignore: ignore generated marshalers source.
7584 * shell/main.c (main): this is not epiphany.
7586 2004-12-22 Havoc Pennington <hp@redhat.com>
7588 * shell/ev-view.c (ev_view_set_document): connect to "found" signal
7589 (expose_bin_window): draw find highlights
7591 * shell/ev-window.c (find_bar_search_changed_cb): implement
7593 * pdf/xpdf/pdf-document.cc (pdf_document_begin_find)
7594 (pdf_document_end_find): implement this interface
7596 * backend/ev-document.c (ev_document_found): add this to emit
7599 Tue Dec 21 23:57:37 2004 Owen Taylor <otaylor@redhat.com>
7601 * data/evince-ui.xml: Add a few more toolbar items.
7603 * shell/ev-window.c: Hook up page navigation toolbar
7606 * shell/ev-view.[ch]: add ev_view_set/get_page and
7607 a page-changed signal.
7609 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc::
7610 Add ev_document_get_page().
7612 * shell/ev-window.c: Sensitize/desensitize navigation
7615 2004-12-21 Havoc Pennington <hp@redhat.com>
7617 * backend/ev-backend-marshal.c,
7618 backend/ev-backend-marshalers.list, backend/Makefile.am: add
7619 marshaler-generator thingy. I'm sure there's a better way to do
7620 this in the modern world.
7622 * backend/ev-document.h (struct _EvDocumentIface): add begin_find,
7623 end_find methods and "found" signal.
7625 * configure.ac: find glib-genmarshal
7627 Tue Dec 21 23:20:35 2004 Jonathan Blandford <jrb@redhat.com>
7629 * shell/ev-sidebar.c: Construct an actual sidebar.
7630 * shell/ev-sidebar-bookmarks.[ch]:
7631 * shell/ev-sidebar-thumbnails.[ch]: Stub out sidebars.
7633 Tue Dec 21 23:05:51 2004 Owen Taylor <otaylor@redhat.com>
7635 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc:
7638 * shell/ev-view.c: Track the size from the document.
7640 Tue Dec 21 22:17:04 2004 Owen Taylor <otaylor@redhat.com>
7642 * pdf/xpdf/pdf-document.cc (pdf_document_load): PDFDoc
7643 constructor assumes ownership of the string passed in.
7645 * shell/ev-window.c (ev_window_open): Destroy the error
7646 dialog once we've displayed it.
7648 Tue Dec 21 21:58:56 2004 Owen Taylor <otaylor@redhat.com>
7650 * pdf/xpdf/pdf-document.cc shell/ev-view.c: Hook things up
7651 a bit, it works! (sort of)
7653 * pdf/xpdf/Makefile.am pdf/xpdf/pdf-document.cc:
7654 Move to .cc since we need to use C++ in the implementation.
7656 * shell/dummy.cc: Add a CC file to force evince
7657 to be linked as a C++ program.
7659 Tue Dec 21 21:07:55 2004 Owen Taylor <otaylor@redhat.com>
7661 * shell/ev-view.[ch]: Start of content-area widget.
7663 * shell/ev-window.c: Create a EvView, update it
7664 as we change documents.
7666 * shell/Makefile.am shell/ev-marshal.list: Add
7667 generated marshalers.
7669 Tue Dec 21 20:28:11 2004 Jonathan Blandford <jrb@redhat.com>
7671 * Makefile.am (SUBDIRS): move shell.
7673 Tue Dec 21 19:28:55 2004 Owen Taylor <otaylor@redhat.com>
7675 * pdf/{goo,fofi,splash,xpdf}/Makefile.am: Switch from
7676 .a to libtool convenience libraries.
7678 * shell/ev-window.c (ev_window_open): Hard code loading
7681 * backend/ev-document.h: Add a boolean return to load(),
7682 fix GError * to GError **.
7684 * pdf/xpdf/pdf-document.[ch] Makefile.am: Add a stub
7685 object for a PDF backend EvDocument.
7687 Tue Dec 21 18:55:06 2004 Søren Sandmann <sandmann@redhat.com>
7689 * dvi/*: New directory with the beginning of a .dvi backend.
7691 2004-12-21 Havoc Pennington <hp@redhat.com>
7693 * shell/eggfindbar.c (egg_find_bar_init): change buttons to
7694 previous/next instead of back/forward
7696 Tue Dec 21 18:26:24 2004 Owen Taylor <otaylor@redhat.com>
7698 * backend/ev-document.[ch]: Fix a couple of problems so
7701 Tue Dec 21 18:20:40 2004 Owen Taylor <otaylor@redhat.com>
7703 * viewer/* backend/* configure.ac Makefile.am: Move viewer directory
7704 to backend/ directory, rename EvViewer to EvDocument.
7706 2004-12-21 Havoc Pennington <hp@redhat.com>
7708 * shell/ev-window.c: hook up the find bar widget; now we just need
7709 a document to find things in
7711 * shell/eggfindbar.c: a find bar widget
7713 Tue Dec 21 17:20:16 2004 Jonathan Blandford <jrb@redhat.com>
7715 * shell/ev-sidebar.[ch]: initial sidebar boilerplate.
7717 Tue Dec 21 16:30:58 2004 Owen Taylor <otaylor@redhat.com>
7719 * pdf/**: Import of xpdf code from gpdf.
7721 * pdf/xpdf/xpdfconfig.h: Move the non-config.h config.h to xpdfconfig.h
7723 * pdf/splash/SplashFTFont.{cc,h} pdf/splash/SplashFTFont.h
7724 pdf/splash/SplashFTFontEngine.h pdf/splash/SplashFTFontFile.h:
7725 Fix FreeType includes.
7727 * pdf/xpdf/{Error.h GnomeVFSStream.cc ImageOutputDev.cc PDFDoc.cc\
7728 pdffonts.cc pdfimages.cc pdfinfo.cc pdftoppm.cc pdftops.cc
7729 pdftotext.cc PSOutputDev.cc PSOutputDev.h SplashOutputDev.h
7730 Stream.cc TextOutputDev.cc XPDFApp.cc xpdf.cc XPDFViewer.cc
7731 pdf/xpdf/Error.h PSOutputDev.h SplashOutputDev.h}:
7732 Include xpdfconfig.h
7734 Tue Dec 21 16:08:17 2004 Jonathan Blandford <jrb@redhat.com>
7736 * shell/ev-window.c (ev_window_dispose): dispose can be called
7739 2004-12-21 Havoc Pennington <hp@redhat.com>
7741 * shell/ev-window.c (ev_window_init): set title to Document Viewer
7744 * data/evince-ui.xml, shell/ev-window.c: add a bunch of stub menu
7745 items; really they should be synced with the strings, etc. from
7746 current gpdf, but just getting the boring typing out of the way
7748 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
7751 * shell/ev-application.c: (window_destroy_cb):
7752 * shell/ev-window.c:
7753 * shell/main.c: (main):
7755 Actually show the window...
7757 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
7760 * shell/Makefile.am:
7761 * shell/ev-application.c: (ev_application_class_init):
7762 * shell/ev-window.c: (ev_window_dispose), (ev_window_class_init):
7766 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
7768 Import to gnome cvs.
7770 * Remove copies of gpdf and ggv trees.
7771 * Rip out all the recursive configure code.
7772 * Remove bonobo machinery.
7773 * viewer/*: GInterfaces that backends should/can implement.
7775 2004-11-09 Martin Kretzschmar <m_kretzschmar@gmx.net>
7777 * shell/ev-window.c (ev_window_cmd_help_about): fix "documentors"
7780 2004-10-28 Martin Kretzschmar <m_kretzschmar@gmx.net>
7782 * shell/ev-application.c (EV_APPLICATION_GET_PRIVATE)
7783 (ev_application_finalize, ev_application_class_init)
7784 (ev_application_init): use GType instance private data for priv.
7786 * shell/ev-window.c (EV_WINDOW_GET_PRIVATE)
7787 (ev_window_finalize, ev_window_class_init)
7788 (ev_window_init): ditto.
7790 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
7792 * shell/ev-application.c (ev_application_new_window): make public
7793 (ev_application_show_initial_window): kill.
7795 * shell/ev-application.h: update prototypes.
7797 * shell/main.cc (main): inline ev_application_show_initial_window.
7799 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
7801 * shell/ev-application.c (ev_application_new_window): impl.
7802 (ev_application_show_initial_window): use it.
7803 (is_window_empty, ev_application_get_empty_window): returns an
7804 existing empty window or a new one.
7805 (ev_application_open): from ev_window_cmd_file_open.
7807 * shell/ev-application.h: update prototypes
7809 * shell/ev-window.c (ev_window_is_empty): impl.
7810 (ev_window_open): make public.
7811 (ev_window_cmd_file_open): use ev_application_open
7813 * shell/ev-window.h: update prototypes, remove unused.
7815 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
7817 * shell/ev-window.c (ev_window_destroy, ev_window_class_init):
7818 move destroy handler out of here...
7820 * shell/ev-application.c, shell/ev-application.h: ...into this new
7821 class. Also handles initial window creation.
7823 * shell/main.cc (main): use EvApplication to create initial
7826 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
7828 * Makefile.am (SUBDIRS): add cut-n-paste
7830 * cut-n-paste/Makefile.am: add
7832 * configure.ac: generate Makefiles in cut-n-paste
7834 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
7836 * shell/ev-window.c (ev_window_dispose): new, unref the ui_manager
7837 (ev_window_class_init): install ev_window_dispose.
7839 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
7841 * shell/ev-window.h, shell/ev-window.c: replace gchar with
7842 char (gchar looks stupid).
7844 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
7846 * po/de.po: updated German translation.
7848 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
7850 * configure.ac: add more pkg-config library checks for gnome-vfs,
7853 * gpdf/configure.in: temporarily disable libpaper
7854 checks. Otherwise I'd have to add the checks for the shell, too.
7856 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7858 * shell/ev-window.c (ev_window_cmd_file_open): add ps+pdf, ps, pdf
7859 and * file filters to the file choose.
7861 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7863 * po/de.po: Updated German translation.
7865 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7867 * shell/ev-window.c: use "S" as mnemonic for Statusbar.
7869 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7871 * data/evince-ui.xml: add View->Toolbar and View->Statusbar.
7873 * shell/ev-window.c (menu_item_select_cb, menu_item_select_cb)
7874 (ev_window_init): implement those menuitems.
7876 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7878 * data/evince-ui.xml: add a toolbar (with FileOpen action)
7880 * shell/ev-window.c (ev_window_init): use the toolbar.
7882 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7884 * shell/ev-window.c (ev_window_init): use menu translations
7886 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7888 * configure.ac: add "de" to ALL_LINGUAS.
7890 * po/de.po: add German translation.
7892 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7894 * Makefile.am (SUBDIRS): add po
7896 * configure.ac: check intltool, glib-gettext etc, generate
7899 * po, po/POTFILES.in, po/POTFILES.skip: new.
7901 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7903 * shell/Makefile.am (INCLUDES): define GNOMELOCALEDIR which we
7904 already use (#ifdef ENABLE_NLS)
7906 * shell/ev-window.c (ev_window_cmd_help_about): fix two star
7907 pointer indirection thinko.
7909 * shell/main.c: include gi18n.h for bindtextdomain etc.
7911 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7913 * shell/ev-window.c (menu_item_select_cb, menu_item_deselect_cb)
7914 (connect_proxy_cb, disconnect_proxy_cb, ev_window_init): show
7915 tooltips for menu items in the statusbar.
7917 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7919 * configure.ac, data/Makefile.am, shell/Makefile.am: use
7920 pkgdatadir drop UIDIR
7922 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7924 * data/evince-ui.xml: Add File->Open menu item
7926 * shell/ev-window.c (ev_window_cmd_file_open): impl. (shows a file
7927 chooser), hook it up in the ui manager.
7929 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7931 * shell/ev-window.c: fix Help->About tooltip.
7933 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7935 * configure.ac: set CFLAGS for libevprivate.
7937 * lib/ev-stock-icons.h, lib/ev-stock-icons.c: stock icon
7938 definitions, factory etc.
7940 * lib/Makefile.am: build libevprivate.a (only stock icon code).
7942 * shell/Makefile.am: link against libevprivate.a.
7944 * shell/ev-window.c (entries): add stock icon to Help->About.
7946 * shell/main.c (main): init stock icon code.
7948 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7950 * lib/recent-files: egg recent files code
7952 * lib/Makefile.am: add.
7954 * Makefile.am: add lib subdir.
7956 * configure.ac: gen. lib/Makefile and lib/recent-files/Makefile,
7957 set CFLAGS for recent-files.
7959 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7961 * configure.ac: disable -ansi and -pedantic gcc flags. They
7962 disable POSIX stuff in stdio.h, but egg-recent uses them.
7964 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7966 * configure.ac: add --disable-deprecated flag (defaults to on in
7969 * shell/Makefile.am (INCLUDES): use it.
7971 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7973 * shell/main.c: add missing #include.
7975 * shell/ev-window.c: fix for pedantic gcc.
7976 (ev_window_cmd_help_about): split license into paragraphs for
7977 translators and pedantic compilers.
7979 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7981 * configure.ac: add more warning flags if compiling with gcc from
7982 cvs (or explicitly requested with --enable-more-warnings).
7984 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7986 * data/evince-ui.xml: add File and File->Close menu.
7988 * shell/ev-window.c (ev_window_cmd_file_close_window): impl.
7989 (ev_window_destroy): quit after destroy.
7990 (ev_window_class_init): override GtkObject::destroy.
7991 (entries): install close_window callback.
7993 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7995 * Makefile.am (SUBDIRS): add data subdir.
7997 * configure.ac (UIDIR): gen data/Makefile, define UIDIR. Require
7998 gtk+ 2.5.0 for GtkAboutDialog.
8000 * data/Makefile.am, data/evince-ui.xml: add, ui definition for the
8003 * shell/Makefile.am (INCLUDES): propagate UIDIR definition.
8005 * shell/ev-window.c (ev_window_init): create a menubar, using a ui
8007 (ev_window_cmd_help_about): about command, using GtkAboutDialog.
8009 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
8011 * shell/ev-window.c, shell/ev-window.h: Created an EvWindow class.
8013 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
8015 * shell/main.c: make it a trivial gtk+ program, adjust configure.ac
8017 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
8019 * shell/*: Added shell directory boilerplate, build it.
8021 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
8023 * configure.ac, Makefile.am: Added top-level configure.ac and