1 2006-01-18 Jani Monoses <jani.monoses@gmail.com>
3 * backend/ev-document-types.c:
5 Fix crash on saving pixbuf.
7 2006-01-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
9 * cut-n-paste/recent-files/egg-recent-item.c:
10 (get_uri_shortname_for_display), (egg_recent_item_get_short_name):
11 * cut-n-paste/recent-files/egg-recent-model.c: (parse_info_init),
12 (parse_info_free), (valid_element), (start_element_handler),
13 (end_element_handler), (text_handler), (egg_recent_model_filter),
14 (egg_recent_model_monitor_cb), (egg_recent_model_poll_timeout),
15 (egg_recent_model_monitor), (egg_recent_model_read),
16 (egg_recent_model_open_file), (egg_recent_model_lock_file),
17 (egg_recent_model_unlock_file), (egg_recent_model_finalize),
18 (egg_recent_model_set_property), (egg_recent_model_class_init),
19 (egg_recent_model_init), (egg_recent_model_add_full),
20 (egg_recent_model_delete), (egg_recent_model_get_list),
21 (egg_recent_model_clear), (egg_recent_model_clear_mime_filter),
22 (egg_recent_model_set_filter_mime_types),
23 (egg_recent_model_clear_group_filter),
24 (egg_recent_model_set_filter_groups),
25 (egg_recent_model_clear_scheme_filter),
26 (egg_recent_model_set_filter_uri_schemes),
27 (egg_recent_model_remove_expired):
28 * cut-n-paste/recent-files/egg-recent-util.c:
29 (egg_recent_util_get_icon):
30 * cut-n-paste/recent-files/egg-recent-util.h:
31 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
32 (connect_proxy_cb), (egg_recent_view_uimanager_set_list),
33 (egg_recent_view_uimanager_set_empty_list), (model_changed_cb),
34 (egg_recent_view_uimanager_set_property),
35 (egg_recent_view_uimanager_get_property),
36 (egg_recent_view_uimanager_class_init),
37 (egg_recent_view_uimanager_init),
38 (egg_recent_view_uimanager_set_label_width),
39 (egg_recent_view_uimanager_get_label_width):
40 * cut-n-paste/recent-files/egg-recent-view-uimanager.h:
41 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
42 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
43 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
44 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
45 * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
49 2006-01-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
51 * shell/ev-page-cache.c: (build_height_to_page),
52 (ev_page_cache_get_height_to_page):
53 * shell/ev-page-cache.h:
54 * shell/ev-view.c: (view_update_range_and_current_page),
55 (get_page_y_offset), (get_page_extents), (ev_view_next_page),
56 (ev_view_previous_page):
58 Dual mode places even pages to the left. Fix for the bug #309393.
61 * shell/ev-window.c: (update_action_sensitivity),
62 (setup_view_from_metadata), (view_menu_popup_cb):
64 Don't restore presentation in empty windows, more intelligent
65 next page behaviour in dual mode.
67 * shell/ev-pixbuf-cache.c: (check_job_size_and_unref),
68 (ev_pixbuf_cache_clear_job_sizes):
70 Cleanup job callback on removal. Fix for the bug #325886.
72 2006-01-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
76 Commit workaround Mozilla problem. Fix for the bug #325919
78 * shell/ev-metadata-manager.c: (parse_value), (parseItem),
81 Fix for year 2038 problem.
83 2006-01-06 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
85 * shell/ev-window.c: (setup_document_from_metadata),
86 (ev_window_cmd_view_reload):
88 Clamp page recieved from metadata in valid values. Fix
91 2006-01-06 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
94 Add MAINTAINERS as requested on desktop-devel-list.
96 2006-01-06 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
98 * backend/ev-document-factory.c: (gdk_pixbuf_mime_type_list),
99 (mime_type_supported_by_gdk_pixbuf),
100 (ev_document_factory_get_mime_types),
101 (ev_document_factory_get_all_mime_types):
103 Don't add pixbuf mime types if pixbuf backend is disabled.
105 * shell/ev-application.c: (ev_application_get_uri_window):
107 Fix for the bug 325815 - unhandled MIME type message doesn't
108 appear a second time.
110 * shell/ev-document-types.c: (ev_document_types_add_filters):
111 * shell/ev-window.c: (page_changed_cb), (ev_window_setup_document),
112 (password_dialog_response), (ev_window_popup_password_dialog),
113 (ev_window_load_job_cb), (ev_window_sidebar_position_change_cb),
114 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
115 (ev_window_run_presentation), (ev_window_stop_presentation),
116 (save_sizing_mode), (ev_window_zoom_changed_cb),
117 (ev_window_continuous_changed_cb), (ev_window_rotation_changed_cb),
118 (ev_window_dual_mode_changed_cb),
119 (ev_window_sidebar_current_page_changed_cb),
120 (ev_window_sidebar_visibility_changed_cb), (ev_window_dispose),
121 (window_state_event_cb), (window_configure_event_cb):
123 Cleanup additional uris holded by EvWindow.
125 2006-01-06 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
127 * shell/ev-view.c: (ev_view_scroll), (ev_view_previous_page),
128 (ev_view_can_previous_page), (ev_view_can_next_page):
130 * shell/ev-window.c: (update_action_sensitivity):
132 Two page scrolling with Space and PageUp in dual mode. Second fix
135 2006-01-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
137 * shell/ev-view.c: (scroll_to_current_page):
139 Correctly clamp adjustment value. Fix for the bug
142 2006-01-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
144 * shell/ev-sidebar-links.c: (print_section_cb):
145 * shell/ev-window.c: (ev_window_get_uri),
146 (ev_window_close_dialogs), (ev_window_open_uri), (ev_window_print),
147 (ev_window_print_dialog_response_cb), (ev_window_print_range),
150 Make print dialog non-modal. Fix for the bug #325622.
152 2006-01-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
154 * shell/ev-metadata-manager.c:
155 * shell/ev-utils.c: (using_pdf_printer),
156 (using_postscript_printer), (load_print_config_from_file),
157 (save_print_config_to_file):
159 * shell/ev-window.c: (update_sizing_buttons), (page_changed_cb),
160 (update_sidebar_visibility), (setup_sidebar_from_metadata),
161 (setup_view_from_metadata), (ev_window_setup_document),
162 (ev_window_load_job_cb), (ev_window_sidebar_position_change_cb),
163 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
164 (ev_window_run_presentation), (ev_window_stop_presentation),
165 (save_sizing_mode), (ev_window_zoom_changed_cb),
166 (ev_window_continuous_changed_cb), (ev_window_rotation_changed_cb),
167 (ev_window_dual_mode_changed_cb),
168 (ev_window_sidebar_current_page_changed_cb),
169 (ev_window_sidebar_visibility_changed_cb), (ev_window_dispose),
170 (window_state_event_cb), (window_configure_event_cb),
173 Setting saving behaviour fixes.
175 2005-12-30 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
179 Make antialiasing gs options better and allow
180 to change them during configure. Fix for the
183 2005-12-29 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
185 * shell/ev-window.c: (setup_view_from_metadata):
187 Remember if last window was maximized. Fix for the
190 2005-12-28 Abel Cheung <maddog@linuxhall.org>
192 * configure.ac: Added "zh_HK" to ALL_LINGUAS.
194 2005-12-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
196 * backend/ev-link.c: (ev_link_get_page), (ev_link_init):
197 * shell/ev-page-action.c: (build_new_tree_cb):
198 * shell/ev-sidebar-links.c: (links_page_num_func),
199 (update_page_callback_foreach), (update_page_callback):
200 * shell/ev-view.c: (scroll_to_current_page):
202 Fix for the bug #325067 with more intelligent selection
203 of current link in sidebar. Make sidebar handle links
204 of FITR-like type more correctly.
206 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
207 (dvi_pixbuf_put_pixel):
209 Fix memory consumtion with disabled alpha channel.
211 2005-12-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
213 * data/evince-ui.xml:
214 * shell/ev-window.c: (view_menu_popup_cb),
215 (ev_popup_cmd_open_link), (ev_window_init):
217 Update context menu for internal links. Fix for the bug
220 2005-12-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
222 * shell/ev-view.c: (ev_view_popup_menu), (ev_view_class_init):
224 Bind context menu to keyboard also. Fix for the bug
227 2005-12-27 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
229 * shell/ev-view.c: (selection_scroll_timeout_cb):
231 Horizontal scroll on selection also.
233 2005-12-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
235 * shell/ev-metadata-manager.c: (parse_value):
236 * shell/ev-view.c: (goto_xyz_link):
238 Correct zoom setup and metadata save broken in
241 2005-12-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
243 * shell/ev-view-private.h:
244 * shell/ev-view.c: (scroll_to_current_page),
245 (view_set_adjustment_values), (goto_fitr_link), (goto_fitv_link),
246 (goto_fith_link), (goto_fit_link), (goto_xyz_link),
247 (page_changed_cb), (ev_view_set_continuous),
248 (ev_view_set_dual_page), (ev_view_set_presentation):
250 Delay scroll until allocation to correctly position page. Fix
253 2005-12-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
258 Update NEWS and require poppler 0.5.0.
260 2005-12-25 Carlos Garcia Campos <carlosgc@gnome.org>
262 * data/evince-ui.xml:
263 * shell/ev-view-private.h:
264 * shell/ev-view.c: (ev_view_get_link_at_location),
265 (handle_link_over_xy), (ev_view_button_press_event),
266 (ev_view_button_release_event), (ev_view_class_init):
267 * shell/ev-window.c: (view_menu_popup_cb), (ev_window_dispose),
268 (ev_popup_cmd_open_link), (ev_popup_cmd_copy_link_address),
271 Implement right-click context menu.
273 2005-12-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
275 * djvu/djvu-document.c: (djvu_document_thumbnails_get_thumbnail):
276 * dvi/pixbuf-device.c: (dvi_pixbuf_create_image),
277 (mdvi_pixbuf_device_render):
280 Don't generate thumbnails with alpha. See bug #324077.
281 Thanks to Jeroen Zwartepoorte <jeroen.zwartepoorte@gmail.com>.
283 2005-12-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
285 * shell/ev-window.c: (setup_chrome_from_metadata):
287 Fix typo that was hiding toolbar.
289 2005-12-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
291 * shell/ev-view-private.h:
292 * shell/ev-view.c: (ev_view_realize), (selection_update_idle_cb),
293 (selection_scroll_timeout_cb), (ev_view_motion_notify_event),
294 (ev_view_button_release_event), (ev_view_destroy):
296 Small cleanup and autoscrolling during selection. Thanks to
297 Ricardo Markiewicz <rmarkie@fi.uba.ar>.
299 2005-12-22 Jani Monoses <jani.monoses@gmail.com>
303 Correctly check for comics option.
305 2005-12-21 Eduardo Lima <eduardo.lima@indt.org.br>
308 * backend/Makefile.am:
309 * backend/ev-document-factory.c:
310 * shell/ev-document-types.c:
312 Included option in configure to make ps backend
313 compilation optional with --disable-ps.
315 2005-12-20 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
317 * backend/ev-document-factory.c:
318 * comics/Makefile.am:
319 * comics/comics-document.c: (comics_document_load):
320 * comics/ev-cbr-mime.xml:
323 Comics mime types are added to shared-mime-info CVS. Now
324 we don't need to install our own mime types.
326 2005-12-20 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
330 Add shortcut for "save a copy" menu entry. Fix for
333 2005-12-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
335 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info),
336 (job_finished_cb), (new_selection_pixbuf_needed),
337 (ev_pixbuf_cache_get_selection_pixbuf), (update_job_selection),
338 (clear_job_selection), (ev_pixbuf_cache_set_selection_list):
340 Rework selection job info logic and fix critical warning.
342 2005-12-17 Abel Cheung <maddog@linuxhall.org>
344 * configure.ac: Added "cy" "fa" "mk" "vi" to ALL_LINGUAS.
346 2005-11-27 Jaap A. Haitsma <jaap@haitsma.org>
348 * data/evince-ui.xml:
349 * shell/ev-window.c: (ev_window_set_view_accels_sensitivity):
351 Enter as shortcut key for next page. Fix for the bug
354 2005-11-18 Ales Nyakhaychyk <nab@mail.by>
356 * configure.ac: Added "be" (Belarusian) to ALL_LINGUAS.
358 2005-11-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
360 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info),
361 (job_finished_cb), (copy_job_to_job_info), (add_job_if_needed),
362 (new_selection_pixbuf_needed),
363 (ev_pixbuf_cache_get_selection_pixbuf), (update_job_selection),
364 (clear_job_selection):
366 Too early for 0.5. Pixbuf cache code cleaned a bit.
368 2005-11-14 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
373 Release 0.5.0 preparation
375 2005-11-14 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
377 * comics/Makefile.am:
379 * shell/ev-document-types.c: (ev_document_types_add_filters):
381 More advanced handling of custom mime type installation.
383 2005-11-14 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
385 * data/evince.schemas.in:
386 * shell/ev-metadata-manager.c: (value_free),
387 (ev_metadata_manager_get_last), (ev_metadata_manager_set_last),
388 (ev_metadata_manager_get), (ev_metadata_manager_set):
389 * shell/ev-metadata-manager.h:
390 * shell/ev-window.c: (update_chrome_flag),
391 (ev_window_cmd_focus_page_selector), (update_sidebar_visibility),
392 (setup_document_from_metadata), (setup_chrome_from_metadata),
393 (setup_sidebar_from_metadata), (setup_view_from_metadata),
394 (ev_window_cmd_edit_find), (ev_window_cmd_escape),
395 (ev_window_view_toolbar_cb),
396 (ev_window_sidebar_visibility_changed_cb), (find_bar_close_cb),
397 (view_actions_focus_in_cb), (ev_window_init), (ev_window_new):
399 Save last document settings and reuse them for new documents.
401 2005-11-14 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
404 * backend/Makefile.am:
405 * backend/ev-document-factory.c:
406 * backend/ev-document-factory.h:
407 * comics/Makefile.am:
408 * comics/comics-document.c: (G_DEFINE_TYPE_WITH_CODE),
409 (comics_document_load), (comics_document_save),
410 (comics_document_get_n_pages), (comics_document_get_page_size),
411 (get_page_size_area_prepared_cb), (comics_document_render_pixbuf) (render_pixbuf_size_prepared_cb), (comics_document_finalize),
412 (comics_document_class_init), (comics_document_can_get_text),
413 (comics_document_get_info), (comics_document_document_iface_init),
414 (comics_document_init), (get_supported_image_extensions),
415 (comics_document_thumbnails_get_geometry),
416 (comics_document_thumbnails_get_thumbnail),
417 (comics_document_thumbnails_get_dimensions),
418 (comics_document_document_thumbnails_iface_init), (extract_argv):
419 * comics/comics-document.h:
420 * comics/ev-cbr-mime.xml:
423 * shell/ev-application.c: (ev_application_register_service):
424 * shell/ev-document-types.c: (ev_document_types_add_filters):
425 * thumbnailer/Makefile.am:
426 * thumbnailer/evince-thumbnailer-comics.schemas.in:
428 New CBR/CBZ backend for comic books.
430 2005-11-10 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
432 * shell/main.c: (load_files_remote):
434 Thanks to Robert McQueen <robot101@debian.org>. Dbus
435 warning on startup of second instance is fixed. It
438 2005-10-30 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
440 * shell/ev-window.c: (ev_window_finalize):
442 Fix double free that cause crash.
444 2005-10-29 Bastien Nocera <hadess@hadess.net>
446 * tiff/tiff-document.c: (tiff_document_load):
450 2005-10-29 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
454 * shell/ev-view-accessible.c: (ev_view_accessible_get_priv),
455 (ev_view_accessible_free_priv), (ev_view_accessible_class_init),
456 (ev_view_accessible_get_text),
457 (ev_view_accessible_get_character_at_offset),
458 (ev_view_accessible_get_text_before_offset),
459 (ev_view_accessible_get_text_at_offset),
460 (ev_view_accessible_get_text_after_offset),
461 (ev_view_accessible_get_character_count),
462 (ev_view_accessible_get_caret_offset),
463 (ev_view_accessible_set_caret_offset),
464 (ev_view_accessible_get_run_attributes),
465 (ev_view_accessible_get_default_attributes),
466 (ev_view_accessible_get_character_extents),
467 (ev_view_accessible_get_offset_at_point),
468 (ev_view_accessible_get_n_selections),
469 (ev_view_accessible_get_selection),
470 (ev_view_accessible_add_selection),
471 (ev_view_accessible_remove_selection),
472 (ev_view_accessible_set_selection),
473 (ev_view_accessible_text_iface_init),
474 (ev_view_accessible_idle_do_action),
475 (ev_view_accessible_action_do_action),
476 (ev_view_accessible_action_get_n_actions),
477 (ev_view_accessible_action_get_description),
478 (ev_view_accessible_action_get_name),
479 (ev_view_accessible_action_set_description),
480 (ev_view_accessible_action_iface_init),
481 (ev_view_accessible_get_type), (ev_view_accessible_new),
482 (ev_view_accessible_factory_get_accessible_type),
483 (ev_view_accessible_factory_create_accessible),
484 (ev_view_accessible_factory_class_init),
485 (ev_view_accessible_factory_get_type):
486 * shell/ev-view-accessible.h:
487 * shell/ev-view-private.h:
488 * shell/ev-view.c: (ev_view_get_accessible), (ev_view_class_init):
491 Initial accessibility support.
493 2005-10-27 Erdal Ronahi <erdal.ronahi@gmail.com>
495 * configure.ac: Added ku (Kurdish) to ALL_LINGUAS
497 2005-10-26 Hubert Figuiere <hfiguiere@teaser.fr>
499 * shell/ev-print-job.c: (idle_print_handler):
501 Fix for bug Bug 318916: Printing multiple pages.
503 2005-10-20 Runa Bhattacharjee <runa@bengalinux.org>
505 * configure.ac: Added "bn" (Bengali) to ALL_LINGUAS.
507 2005-10-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
511 Thumnail dimensions unified with other backends.
513 * shell/ev-window-title.c: (ev_window_title_update):
517 2005-10-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
519 * data/ev-stock-zoom-fit-width.png:
523 2005-10-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
526 * djvu/djvu-document.c: (djvu_document_load), (djvu_document_save),
527 (djvu_document_finalize):
528 * dvi/dvi-document.c: (dvi_document_load), (dvi_document_save),
529 (dvi_document_finalize):
530 * pixbuf/pixbuf-document.c: (pixbuf_document_load),
531 (pixbuf_document_save), (pixbuf_document_finalize):
532 * tiff/tiff-document.c: (tiff_document_load), (tiff_document_save),
533 (tiff_document_finalize):
535 Save a copy implemented for various backends.
537 2005-10-17 Daniel Gryniewicz <dang@gentoo.org>
541 Don't link with ltiff if tiff is disabled.
543 2005-10-14 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
545 * pdf/GDKSplashOutputDev.cc:
546 * pdf/GDKSplashOutputDev.h:
549 * pdf/pdf-document.cc:
550 * pdf/pdf-document.h:
551 * pdf/test-gdk-output-dev.cc:
553 Remove old unused files.
555 2005-10-12 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
557 * shell/ev-window.c: (ev_window_setup_document):
559 Fixed warnings on reload and probably crash reason.
561 2005-10-12 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
563 * properties/ev-properties-view.c:
564 (ev_properties_view_format_date):
566 Check if date is invalid. Fix for bug 318134.
568 2005-10-02 Wouter Bolsterlee <uws+gnome@xs4all.nl>
570 * shell/ev-window-title.c:
572 Add .indd files (Adobe Indesign) to the list of "bad
575 2005-10-02 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
577 * data/evince-ui.xml:
578 * shell/ev-window.c: (ev_window_set_view_accels_sensitivity):
580 Add <ctrl>KP_Add and <ctrl>KP_Substract bindings.
582 2005-09-27 Christian Persch <chpe@cvs.gnome.org>
584 * shell/ev-window.c: (launch_link), (launch_external_uri),
585 (view_external_link_cb):
587 URL-escape link before passing it to gnome_vfs_url_show.
589 2005-09-27 Carlos Garcia Campos <carlosgc@gnome.org>
591 * shell/ev-view.[ch], shell/ev-window.c: Disable copy action when
592 there isn't text selected.
594 2005-09-27 Marco Pesenti Gritti <mpg@redhat.com>
596 * shell/ev-view.c: (handle_link_over_xy):
598 Check tooltip is valid utf8 before showing it
600 2005-09-27 Carlos Garcia Campos <carlosgc@gnome.org>
602 * shell/ev-view.c: Allow drag and drop of text. Fixes #316772
604 2005-09-27 Christian Persch <chpe@cvs.gnome.org>
606 * shell/ev-window-title.c: (ev_window_title_update):
608 Guard against using g_strstrip on NULL. Fixes bug #317291.
610 2005-09-26 Marco Pesenti Gritti <mpg@redhat.com>
614 Show title even for unknown links
616 2005-09-26 Marco Pesenti Gritti <mpg@redhat.com>
618 * shell/ev-window-title.c: (ev_window_title_update):
620 Strip the title string
622 2005-09-26 Marco Pesenti Gritti <mpg@redhat.com>
624 * shell/ev-window-title.c:
626 Add .rtf to the bad extensions list
628 2005-09-26 Marco Pesenti Gritti <mpg@redhat.com>
630 * shell/ev-view.c: (doc_point_to_view_point), (goto_fitr_link),
631 (goto_fitv_link), (goto_fith_link), (goto_xyz_link):
633 Ignore link coordinates if they are outside page bounds
635 2005-09-26 Marco Pesenti Gritti <mpg@redhat.com>
637 * backend/ev-link.c: (ev_link_type_get_type),
638 (ev_link_get_filename), (ev_link_get_params),
639 (ev_link_get_property), (ev_link_set_property),
640 (ev_window_dispose), (ev_link_class_init), (ev_link_new_launch):
643 * shell/ev-view.c: (ev_view_goto_link), (ev_view_class_init):
644 * shell/ev-window.c: (launch_link), (view_external_link_cb),
647 Implement launch links. Delegate external link opening to
650 2005-09-24 Marco Pesenti Gritti <mpg@redhat.com>
652 * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_bottom),
653 (ev_link_get_right), (ev_link_get_property),
654 (ev_link_set_property), (ev_link_class_init),
655 (ev_link_new_page_fitv), (ev_link_new_page_fitr):
658 * shell/ev-view.c: (goto_fitr_link), (ev_view_goto_link):
662 2005-09-24 Marco Pesenti Gritti <mpg@redhat.com>
664 * shell/ev-view.c: (ev_view_get_width), (ev_view_get_height),
665 (goto_fitv_link), (goto_fith_link), (goto_fit_link),
666 (ev_view_goto_link), (ev_view_size_request_continuous_dual_page),
667 (ev_view_size_request_continuous),
668 (ev_view_size_request_dual_page),
669 (ev_view_size_request_single_page), (ev_view_size_allocate),
670 (ev_view_zoom_for_size_continuous_and_dual_page),
671 (ev_view_zoom_for_size_continuous),
672 (ev_view_zoom_for_size_dual_page),
673 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
674 (ev_sizing_mode_get_type):
676 * shell/ev-window.c: (ev_window_sizing_mode_changed_cb):
678 Do not use modes for link, we need to calculate size ad hoc.
679 Still not perfect because of the usual scrollbar issues grrr.
681 2005-09-24 Marco Pesenti Gritti <mpg@redhat.com>
683 * backend/ev-link.c: (ev_link_type_get_type),
684 (ev_link_new_page_fith), (ev_link_new_page_fitv):
687 * shell/ev-view.c: (goto_fitv_link), (goto_fith_link),
688 (ev_view_goto_link), (ev_view_size_request_continuous_dual_page),
689 (ev_view_size_request_continuous),
690 (ev_view_size_request_dual_page),
691 (ev_view_size_request_single_page), (ev_view_size_allocate),
692 (zoom_for_size_fit_height),
693 (ev_view_zoom_for_size_continuous_and_dual_page),
694 (ev_view_zoom_for_size_continuous),
695 (ev_view_zoom_for_size_dual_page),
696 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
697 (ev_sizing_mode_get_type):
699 * shell/ev-window.c: (ev_window_sizing_mode_changed_cb):
701 Implement FIT_HEIGHT mode (only for links).
704 2005-09-24 Marco Pesenti Gritti <mpg@redhat.com>
706 * shell/ev-window-title.c: (get_filename_from_uri),
707 (ev_window_title_sanitize_extension), (ev_window_title_update),
708 (ev_window_title_set_document), (ev_window_title_set_uri),
709 (ev_window_title_free):
710 * shell/ev-window-title.h:
711 * shell/ev-window.c: (ev_window_setup_document),
712 (ev_window_popup_password_dialog):
714 Refactor window title building while fixing it for
717 2005-09-24 Marco Pesenti Gritti <mpg@redhat.com>
721 Escape link title before setting it in the model
723 2005-09-23 Marco Pesenti Gritti <mpg@redhat.com>
725 * shell/ev-application.c: (removed_from_session), (save_session),
726 (init_session), (ev_application_get_empty_window),
727 (ev_application_init), (ev_application_get_windows):
728 * shell/ev-application.h:
729 * shell/ev-window.c: (ev_window_finalize):
731 Add a function to retrieve window list and share it where
733 Implement session handling, works pretty well thanks to the
736 2005-09-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
738 * shell/ev-password.c: (ev_password_item_created_callback),
739 (ev_password_dialog_save_password):
741 Fix for bug 316972. Use async gnome-keyring API.
743 2005-09-22 Christian Persch <chpe@cvs.gnome.org>
745 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_class_init):
746 Remove unused unrealize handler. Add scroll handling to
747 ev_view_scroll_event for presentation mode (bug #316708),
748 and fix the event state checks there.
750 2005-09-22 Marco Pesenti Gritti <mpg@redhat.com>
752 * shell/ev-page-action.c: (page_changed_cb):
754 "marco, maybe we should be crazy and jump right to 6! :)"
756 Bryan Clark, Sep 2005
758 2005-09-22 Marco Pesenti Gritti <mpg@redhat.com>
760 * ps/ps-document.c: (save_document), (ps_document_save),
761 (ps_document_ps_export_begin), (ps_document_ps_export_do_page),
762 (ps_document_ps_export_end):
764 Fix unstructured documents save and print
766 2005-09-22 Marco Pesenti Gritti <mpg@redhat.com>
768 * shell/ev-application.c: (ev_application_open_uri):
770 Fix window size persistance
772 2005-09-22 Marco Pesenti Gritti <mpg@redhat.com>
774 * shell/ev-view.c: (ev_view_button_release_event):
776 Based on a patch from carlosgc@gnome.org. Mouse buttons
777 switch pages in presentation mode.
779 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
781 * shell/ev-page-cache.c: (ev_page_cache_get_size):
783 Dont cast to int before scaling
785 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
787 * backend/ev-link.c: (ev_link_type_get_type),
788 (ev_link_new_page_xyz), (ev_link_new_page_fit),
789 (ev_link_new_page_fith):
792 * shell/ev-view.c: (goto_fith_link), (ev_view_goto_link):
794 Implement FIT and FITH links
796 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
800 Return 0 results when search is not in progress.
802 * shell/ev-window.c: (ev_window_cmd_go_previous_page),
803 (ev_window_cmd_go_next_page), (find_bar_search_changed_cb):
805 Update menu sensitivity when cancelling search
807 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
809 * shell/ev-view.c: (ev_view_can_find_next):
811 Take all pages in consideration, not just current one
813 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
815 * shell/ev-page-cache.c:
816 * shell/ev-page-cache.h:
817 * shell/ev-view.c: (ev_view_binding_activated),
818 (ev_view_next_page), (ev_view_previous_page),
819 (ev_sizing_mode_get_type):
821 * shell/ev-window.c: (ev_window_cmd_go_previous_page),
822 (ev_window_cmd_go_next_page):
824 Move page next/previous functions from page chace to
825 view and change it to move by 2 page steps in dual mode.
827 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
829 * shell/ev-window.c: (update_sidebar_visibility),
830 (setup_sidebar_from_metadata), (ev_window_setup_document),
831 (setup_view_from_metadata):
833 Show the index by default when there is one
835 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
837 * shell/ev-window-title.c: (ev_window_title_set_document):
841 2005-09-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
843 * shell/ev-view.c: (view_update_range_and_current_page):
845 Allow display of last odd page in dual view. Fix for 316347.
847 2005-09-17 Wouter Bolsterlee <uws+gnome@xs4all.nl>
849 * shell/ev-window.c: (ev_window_cmd_edit_toolbar):
851 Make close button default. Fix for 316383.
853 2005-09-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
855 * shell/ev-properties-dialog.c: (ev_properties_dialog_init):
857 Mark close button as default. Fix for 316381.
859 2005-09-16 Marco Pesenti Gritti <mpg@redhat.com>
861 * backend/ev-link.c: (ev_link_class_init):
863 Allow negative doubles in left/top properties
865 2005-09-16 Marco Pesenti Gritti <mpg@redhat.com>
869 Remove a bunch of strings that was used only
872 2005-09-16 Marco Pesenti Gritti <mpg@redhat.com>
874 * shell/ev-window-title.c: (get_filename_from_uri),
875 (ev_window_title_set_document):
877 When title has a confusing extension, show also
878 the document filename inside ()
880 2005-09-16 Marco Pesenti Gritti <mpg@redhat.com>
883 * shell/ev-window-title.c: (ev_window_title_new),
884 (ev_window_title_update), (ev_window_title_set_type),
885 (ev_window_title_set_document), (ev_window_title_free):
886 * shell/ev-window-title.h:
887 * shell/ev-window.c: (ev_window_setup_document),
888 (password_dialog_response), (ev_window_popup_password_dialog),
889 (ev_window_dispose), (ev_window_init):
891 Factor out and cleanup window title code
893 2005-09-16 Marco Pesenti Gritti <mpg@redhat.com>
895 * shell/ev-window.c: (unable_to_load_dialog_response_cb),
898 Make dialog transient so it doesnt block other windows
900 2005-09-13 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
904 Fix pdf thumbnails rendering.
906 2005-09-13 Wouter Bolsterlee <uws+gnome@xs4all.nl>
908 * shell/ev-window.c: (fullscreen_set_timeout):
910 Increase timeout to hide full screen popup. Bug
913 2005-09-13 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
915 * data/evince.schemas.in:
916 * shell/ev-window.c: (update_action_sensitivity):
918 Allow the user to override document restrictions. Fix for bug
921 2005-09-13 Christian Persch <chpe@cvs.gnome.org>
923 * shell/ev-window.c: (ev_window_update_fullscreen_popup),
924 (ev_window_create_fullscreen_popup), (ev_window_screen_changed),
925 (ev_window_class_init): Fix multihead behaviour of fullscreen
926 toolbar popup. Fixes bug #315451.
928 2005-09-13 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
931 * data/evince-password.glade:
932 * shell/ev-password.c: (ev_password_dialog_set_property),
933 (ev_password_dialog_finalize), (ev_password_dialog_class_init),
934 (ev_password_dialog_init), (ev_password_set_bad_password_label),
935 (ev_password_dialog_entry_changed_cb),
936 (ev_password_dialog_entry_activated_cb),
937 (ev_password_dialog_save_password), (ev_password_keyring_found_cb),
938 (ev_password_search_in_keyring), (ev_password_dialog_get_password),
939 (ev_password_dialog_set_bad_pass):
940 * shell/ev-password.h:
941 * shell/ev-window.c: (password_dialog_response),
942 (ev_window_popup_password_dialog):
944 Support for gnome-keyring for encrypted PDF's.
946 2005-09-11 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
948 * shell/ev-view.c: (handle_link_over_xy), (ev_view_realize),
949 (ev_view_motion_notify_event), (ev_view_leave_notify_event),
950 (ev_view_enter_notify_event), (ev_view_class_init):
952 More precise handling of enter_notify/leave_notify events
953 in EvView. Fix for bug 315470.
955 2005-09-08 Christopher Aillon <caillon@redhat.com>
957 * shell/ev-window.c: (fullscreen_timeout_cb),
958 (fullscreen_set_timeout), (fullscreen_clear_timeout),
961 leak fix: unref fullscreen_timeout_source before clearing it
963 2005-09-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
965 * configure.ac, dvi/mdvi/Makefile.am:
967 Use lt1 instead lt1lib. Thanks to yselkowitz@users.sourceforge.net
969 2005-09-08 Marco Pesenti Gritti <mpg@redhat.com>
971 * backend/ev-link.c: (ev_link_new_page_xyz):
973 * shell/ev-view.c: (goto_xyz_link), (ev_view_goto_link):
975 Fix some bugs with xyz links, respect zoom
977 2005-09-08 Marco Pesenti Gritti <mpg@redhat.com>
979 * shell/ev-window.c: (page_changed_cb),
980 (setup_document_from_metadata), (update_sidebar_visibility),
981 (setup_view_from_metadata), (ev_window_run_fullscreen),
982 (ev_window_stop_fullscreen), (ev_window_run_presentation),
983 (ev_window_stop_presentation), (ev_window_continuous_changed_cb),
984 (ev_window_dual_mode_changed_cb),
985 (ev_window_sidebar_current_page_changed_cb):
987 null check uri before setting and getting metadata
989 2005-09-08 Marco Pesenti Gritti <mpg@redhat.com>
992 * properties/Makefile.am:
994 * thumbnailer/Makefile.am:
996 Some build fixes for cygwin. Patch by yselkowitz@users.sourceforge.net
998 2005-09-08 Marco Pesenti Gritti <mpg@redhat.com>
1000 * shell/ev-sidebar-links.c: (ev_sidebar_links_class_init),
1001 (selection_changed_callback):
1002 * shell/ev-sidebar-links.h:
1004 Add a signal for link activation.
1006 * shell/ev-view.c: (ev_view_goto_link),
1007 (ev_view_button_release_event):
1009 * shell/ev-window.c: (sidebar_links_link_activated_cb),
1012 Implement the signal so that we can handle all link types.
1014 * shell/ev-page-cache.c:
1016 Remove unused set_link function
1018 2005-09-08 Marco Pesenti Gritti <mpg@redhat.com>
1020 * lib/ev-tooltip.c: (ev_tooltip_set_position):
1022 Add some space from the cursor, hardcoded but I couldnt
1025 2005-09-07 Marco Pesenti Gritti <mpg@redhat.com>
1029 Use mozilla style vs gtk style, way better for links.
1031 * shell/ev-view.c: (ev_view_motion_notify_event),
1032 (ev_view_destroy), (ev_view_init):
1034 Deactive tooltip when the link hovered is changed.
1036 2005-09-07 Marco Pesenti Gritti <mpg@redhat.com>
1038 * backend/ev-document.h:
1039 * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_top),
1040 (ev_link_get_left), (ev_link_get_zoom), (ev_link_get_property),
1041 (ev_link_set_property), (ev_window_dispose), (ev_link_class_init),
1042 (ev_link_new_page), (ev_link_new_page_xyz):
1043 * backend/ev-link.h:
1044 * pdf/ev-poppler.cc:
1045 * shell/ev-view.c: (doc_point_to_view_point), (scroll_to_xyz_link),
1046 (go_to_link), (tip_from_link):
1048 Implement xyz links, still not functional. Links are a total
1049 mess, will need to refactor and bugfix a lot :(
1051 2005-09-05 Alessio Frusciante <algol@firenze.linux.it>
1053 * configure.ac: Added "it" (Italian) to ALL_LINGUAS.
1055 2005-09-05 Marco Pesenti Gritti <mpg@redhat.com>
1057 * data/evince-ui.xml:
1058 * data/evince.schemas.in:
1059 * shell/Makefile.am:
1060 * shell/ev-window.c: (update_chrome_visibility),
1061 (password_dialog_response), (ev_window_load_job_cb),
1062 (ev_window_xfer_job_cb), (ev_window_open_uri),
1063 (ev_window_class_init), (set_chrome_actions), (load_chrome),
1066 Remove the statusbar. This regress loading feedback, need to
1067 check with Bryan what we want to do there...
1069 2005-09-05 Marco Pesenti Gritti <mpg@redhat.com>
1071 * lib/ev-tooltip.c: (ev_tooltip_init):
1073 Fix tooltip border and size handling
1075 2005-09-05 Marco Pesenti Gritti <mpg@redhat.com>
1077 * lib/ev-tooltip.c: (ev_tooltip_dispose), (ev_tooltip_class_init),
1078 (ev_tooltip_set_position), (ev_tooltip_recently_shown),
1079 (ev_tooltip_timeout), (ev_tooltip_activate),
1080 (ev_tooltip_deactivate):
1082 * shell/ev-view.c: (ev_view_motion_notify_event):
1084 Delay popup showing. Mirror gtk logic/times.
1086 2005-09-03 Marco Pesenti Gritti <mpg@redhat.com>
1089 * lib/ev-tooltip.c: (ev_tooltip_expose_event),
1090 (ev_tooltip_class_init), (ev_tooltip_init), (ev_tooltip_new),
1091 (ev_tooltip_set_text), (ev_tooltip_set_position):
1094 Simple widget to show tooltips at a custom position
1096 * shell/ev-view.c: (tip_from_link), (ev_view_motion_notify_event),
1099 Use it for links. First go, needs work
1101 2005-08-17 Dennis Cranston <dennis_cranston@yahoo.com>
1103 * shell/ev-window.c: (ev_window_cmd_edit_toolbar): A couple small
1104 HIG fixes. Use title capitalization for window title. Use 12
1105 pixels of space between the dialog's vbox and action area.
1107 2005-09-02 Marco Pesenti Gritti <mpg@redhat.com>
1109 * shell/ev-window.c: (file_open_dialog_response_cb),
1110 (ev_window_cmd_file_open), (file_save_dialog_response_cb),
1111 (ev_window_cmd_save_as):
1113 Make file pickers not modal and refactor code some
1115 2005-09-02 Marco Pesenti Gritti <mpg@redhat.com>
1117 * shell/ev-sidebar.h:
1118 * shell/ev-sidebar.c: (ev_sidebar_set_property),
1119 (ev_sidebar_get_current_page), (ev_sidebar_get_property),
1120 (ev_sidebar_class_init), (ev_sidebar_select_page),
1121 (ev_sidebar_menu_item_activate_cb), (ev_sidebar_new),
1122 (ev_sidebar_set_page):
1124 Add a current page property and allow to get/set it
1126 * shell/ev-window.c: (setup_view_from_metadata),
1127 (ev_window_sidebar_current_page_changed_cb), (ev_window_init):
1129 Persist current sidebar page per document
1131 2005-09-02 Marco Pesenti Gritti <mpg@redhat.com>
1133 * data/evince.schemas.in:
1134 * shell/ev-window.c: (update_chrome_visibility),
1135 (setup_document_from_metadata), (update_sidebar_visibility),
1136 (setup_view_from_metadata), (ev_window_sidebar_position_change_cb),
1137 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
1138 (ev_window_run_presentation), (ev_window_stop_presentation),
1139 (ev_window_view_sidebar_cb),
1140 (ev_window_sidebar_visibility_changed_cb), (set_chrome_actions),
1141 (load_chrome), (ev_window_init):
1143 Persist size/visibility of sidebar per document
1145 Fri Sep 2 00:59:55 2005 Jonathan Blandford <jrb@redhat.com>
1147 * shell/ev-view.c (draw_loading_text): Draw loading text.
1149 2005-09-02 Dan Damian <dand@gnome.ro>
1151 * configure.in: Added "ro" to ALL_LINGUAS.
1153 2005-09-01 Marco Pesenti Gritti <mpg@redhat.com>
1155 * shell/ev-view.c: (clear_caches):
1157 ev_page_cache_get doesnt return a reference,
1158 dont try to unref it.
1160 2005-09-01 Marco Pesenti Gritti <mpg@redhat.com>
1162 * shell/main.c: (load_files_remote):
1164 Fix timestamp parameter with dbus <= 0.33
1166 2005-08-31 Marco Pesenti Gritti <mpg@redhat.com>
1168 * data/evince.schemas.in:
1170 Add missing full stop
1172 2005-08-31 Hiroyuki Ikezoe <poincare@ikezoe.net>
1174 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info):
1175 * shell/ev-window.c: (ev_window_print_range), (ev_window_dispose):
1177 Plug some memory leaks
1179 2005-08-29 Christian Persch <chpe@cvs.gnome.org>
1182 * lib/ev-debug.c: (trap_handler):
1184 Check for execinfo.h and use it only if it exists.
1185 Ported from Epiphany (bug #314776).
1187 2005-08-29 Duarte Loreto <happyguy_pt@hotmail.com>
1189 * configure.ac: Added Portuguese (pt) to ALL_LINGUAS.
1191 2005-08-27 Mohammad DAMT <mdamt@gnome.org>
1193 * configure.ac: Added Indonesian "id" to ALL_LINGUAS
1194 * po/id.po : Added Indonesian translation
1196 Fri Aug 26 00:45:09 2005 Jonathan Blandford <jrb@redhat.com>
1199 * shell/ev-application.c: Last minute GTK-2.6 fixes.
1200 * NEWS: Release 0.4.0
1202 Thu Aug 25 23:40:23 2005 Jonathan Blandford <jrb@redhat.com>
1204 * configure.ac: catch another gtk+-2.8ism
1205 * shell/main.c: Make work with gtk+-2.6
1207 2005-08-25 Ryan Lortie <desrt@desrt.ca>
1209 * shell/ev-application-service.xml: Add 'timestamp' argument to
1210 ev_application_open_window and ev_application_open_uri methods.
1212 * shell/ev-application.h: Add 'timestamp' argument to
1213 ev_application_open_window, ev_application_open_uri,
1214 and ev_application_open_uri_list functions.
1216 * shell/ev-application.c (ev_application_open_window,
1217 ev_application_open_uri, ev_application_open_uri_list): Change
1218 functions that show/present windows to use a timestamp if one
1221 * shell/ev-window.c (ev_window_cmd_file_open,
1222 ev_window_cmd_recent_file_activate, drag_data_received_cb):
1223 * shell/main.c (load_files): Modify calls to ev_application to
1224 include GDK_CURRENT_TIME as timestamp.
1226 * shell/main.c (load_files_remote): Obtain timestamp for client
1227 instance from GDK and pass to server instance so new windows are
1228 focused properly. Fix dbus_g_proxy_call() calls by including second
1233 Thu Aug 25 22:13:08 2005 Jonathan Blandford <jrb@redhat.com>
1235 * shell/ev-window.c (ev_window_finalize): Check for
1236 avail. EvWindows when quiting to handle the finalize better,
1239 2005-08-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1241 * properties/ev-properties-view.c:
1243 Set textdomain to libglade. Fixes translation problem in property page.
1245 2005-08-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1247 * djvu/djvu-document.c: (djvu_document_thumbnails_get_thumbnail):
1249 * dvi/dvi-document.c: (dvi_document_thumbnails_get_thumbnail):
1250 * dvi/mdvi-lib/Makefile.am:
1252 Fix rotation of thumbnails, ported to new API. Moved library
1253 dependencies earlier, probably it will fix linkage problem.
1255 Thu Aug 25 02:32:32 2005 Jonathan Blandford <jrb@redhat.com>
1257 * backend/ev-document-misc.c:
1258 (ev_document_misc_get_thumbnail_frame):
1259 * backend/ev-document-misc.h:
1261 * pdf/ev-poppler.cc:
1262 * shell/Makefile.am:
1263 * shell/ev-sidebar-thumbnails.c: (add_range),
1264 (ev_sidebar_thumbnails_set_loading_icon),
1265 (ev_sidebar_thumbnails_refresh),
1266 (ev_sidebar_thumbnails_set_document):
1267 * shell/ev-sidebar-thumbnails.h:
1268 * shell/ev-view.c: (ev_view_motion_notify_event),
1269 (ev_view_set_property), (ev_view_get_property),
1270 (ev_view_class_init), (ev_view_set_rotation):
1271 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
1272 (ev_window_cmd_edit_rotate_right), (ev_window_rotation_changed_cb),
1274 * tiff/tiff-document.c: (tiff_document_thumbnails_get_thumbnail):
1275 Redo rotation (again). prepare for 0.4.0
1277 2005-08-24 Kristian Høgsberg <krh@redhat.com>
1279 * configure.ac: Bump poppler requirement to 0.4.1.
1281 * pdf/ev-poppler.cc (pdf_selection_render_selection): Add rotation
1282 argument to poppler_page_render_selection() call.
1284 2005-08-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1286 * djvu/djvu-document.c: (djvu_document_render_pixbuf),
1287 (djvu_document_thumbnails_get_thumbnail):
1288 * dvi/dvi-document.c: (dvi_document_render_pixbuf),
1289 (dvi_document_thumbnails_get_thumbnail):
1290 * pixbuf/pixbuf-document.c: (pixbuf_document_render_pixbuf),
1291 (pixbuf_document_thumbnails_get_thumbnail):
1292 * tiff/tiff-document.c: (tiff_document_render_pixbuf):
1294 Update rotation direction of backends to fit with pdf and ps.
1296 2005-08-24 Marco Pesenti Gritti <mpg@redhat.com>
1298 * backend/ev-async-renderer.c: (ev_async_renderer_render_pixbuf):
1299 * backend/ev-async-renderer.h:
1300 * ps/ps-document.c: (ps_document_init), (setup_pixmap),
1301 (setup_page), (ps_document_get_page_size),
1302 (ps_async_renderer_render_pixbuf):
1304 * shell/ev-jobs.c: (ev_job_render_run):
1306 Fix orientation in the postscript document
1308 2005-08-23 Marco Pesenti Gritti <mpg@redhat.com>
1310 * pdf/ev-poppler.cc:
1311 * ps/ps-document.c: (push_pixbuf), (ps_document_widget_event):
1312 * shell/ev-view.c: (highlight_find_results):
1314 Adapt to the new poppler rotation API. Fix text maps on landscape
1317 Sat Aug 20 17:13:48 2005 Jonathan Blandford <jrb@redhat.com>
1319 * shell/ev-view.c (compute_new_selection_text): get the correct
1320 region when selecting in modes other than continuous.
1322 Sat Aug 20 13:10:01 2005 Jonathan Blandford <jrb@redhat.com>
1324 * shell/main.c (main): remove redundant g_warnings.
1326 2005-08-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1328 * shell/Makefile.am: Don't include autogenerated
1329 file ev-application-service.h into distribution, since
1330 it causes dbus crash. Fix for bugs 313724 and 313443.
1332 2005-08-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1334 * configure.ac: Fix sed expression for FreeBSD. Thanks
1335 to Joe Marcus Clark <marcus@freebsd.org>
1337 * shell/eggfindbar.c: (entry_activate_callback),
1338 (entry_changed_callback), (egg_find_bar_init),
1339 (egg_find_bar_set_search_string):
1341 Made findbar buttons unsensitive if there is no text in
1342 entry. Fix for the bug 313285.
1344 2005-08-17 Carlos Garcia Campos <carlosgc@gnome.org>
1346 * ps/ps-document.c: Use g_filename_display_name for displaying
1347 filenames and revert string freeze breackage
1349 2005-08-17 Marco Pesenti Gritti <mpg@redhat.com>
1356 * shell/Makefile.am:
1358 Add ev-application-service.xml to extra dist
1360 * shell/ev-view.c: (find_page_at_location):
1362 Remove unused function (fix warning)
1364 2005-08-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1366 * dvi/mdvi-lib/t1.c: (t1_reset_resolution), (t1_really_load_font),
1367 (t1_load_font), (t1_glyph_bitmap), (t1_font_remove):
1369 Fix warnings and compilation with t1lib-5.0 and newer. Fix for
1372 2005-08-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1374 * shell/ev-utils.c: (set_umask_permissions), (write_to_temp_file):
1375 * shell/ev-window.c:
1378 2005-08-16 Carlos Garcia Campos <carlosgc@gnome.org>
1380 * configure.ac: Update script to get dbus version.
1381 Fix for the bug #313443.
1383 2005-08-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1385 * shell/ev-window.c: (ev_window_cmd_escape):
1387 Return focus back to view on escape. Fix for bug 313295.
1389 2005-08-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1391 * shell/ev-window.c: (update_window_title),
1392 (ev_window_popup_password_dialog), (ev_window_load_job_cb),
1393 (ev_window_cmd_save_as):
1395 Correct conversion from uri to displayable string. Fix for
1398 2005-08-16 Carlos Garcia Campos <carlosgc@gnome.org>
1400 * ps/ps-document.c: convert filename to utf8 when there is an error
1401 loading document. Fixes #309915
1403 2005-08-16 Marco Pesenti Gritti <mpg@redhat.com>
1407 We depend on poppler 0.4.0
1409 Mon Aug 15 21:53:05 2005 Jonathan Blandford <jrb@redhat.com>
1412 * NEWS: Release 0.3.3.
1413 * thumbnailer/evince-thumbnailer.c: Remove pdf icon.
1415 2005-08-14 Dennis Cranston <dennis_cranston@yahoo.com>
1417 * shell/ev-window.c: (ev_window_cmd_file_open): HIG fixes:
1418 add a couple missing mnemonics to menu items, use title
1419 capitalization for menu items and window titles, and add
1420 ellipsis to open menu item.
1422 Mon Aug 15 00:40:21 2005 Jonathan Blandford <jrb@redhat.com>
1424 * pdf/ev-poppler.cc:
1425 * shell/ev-metadata-manager.c: (ev_metadata_manager_init):
1426 * shell/ev-view.c: (ev_view_rotate_left), (ev_view_set_rotation),
1427 (ev_view_get_rotation):
1429 * shell/ev-window.c: (setup_view_from_metadata),
1430 (save_rotation_to_file), (ev_window_cmd_edit_rotate_left),
1431 (ev_window_cmd_edit_rotate_right): Fix rotation. Save it to
1434 2005-08-14 Baris Cicek <baris@teamforce.name.tr>
1436 * configure.ac: Added tr to ALL_LINGUAS
1438 2005-08-12 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1440 * shell/ev-view.c: Fix for bug Bug 311838. Search backward
1441 requires several clicks to find word. Thanks to
1442 Colin Slater <kiltedtaco@gmail.com>.
1444 2005-08-11 Bryan Clark <clarkbw@cvs.gnome.org>
1446 * data/evince.desktop.in.in: Hide menu entry and
1447 rename it to "Document Viewer". Fix for bug
1450 2005-08-11 Crispin Flowerday <gnome@flowerday.cx>
1452 * shell/ev-page-action.c (ev_page_action_class_init):
1454 Point to the correct function in constructor of the
1455 activate_label signal
1457 Tue Aug 9 02:17:13 2005 Jonathan Blandford <jrb@redhat.com>
1459 * shell/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
1460 * shell/ev-jobs.h: Make thread safe.
1462 2005-08-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1464 * shell/ev-view.c: (view_update_range_and_current_page):
1465 Don't update page range if we are scrolling to some document
1468 2005-08-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1470 * shell/ev-view.c: (get_page_extents): reverse rotation/scale
1471 when getting max_page_width, fix drawing in dual mode.
1473 Sun Aug 7 02:06:08 2005 Jonathan Blandford <jrb@redhat.com>
1475 * shell/ev-view.c (ev_view_select_all): reverse rotation/page when
1476 getting the area for select_all.
1478 2005-08-06 Kristian Høgsberg <krh@redhat.com>
1480 * backend/ev-selection.c: (ev_selection_render_selection):
1481 * backend/ev-selection.h:
1482 * pdf/ev-poppler.cc:
1483 * shell/ev-jobs.c: (ev_job_render_new):
1485 * shell/ev-pixbuf-cache.c: (get_selection_colors),
1486 (add_job_if_needed), (ev_pixbuf_cache_get_selection_pixbuf):
1487 * shell/ev-view.c: (ev_view_focus_in), (ev_view_focus_out),
1488 (ev_view_class_init):
1490 Change selection color on focus in and focus out events. Also,
1491 poppler now uses GdkColor for specifying the selection colors, so
1492 drop some awkward conversion code.
1494 2005-08-06 Yair Hershkovitz <yairhr@gmail.com>
1496 * configure.ac: Added Hebrew translation
1498 Sat Aug 6 01:12:44 2005 Jonathan Blandford <jrb@redhat.com>
1501 * backend/ev-selection.c: (ev_selection_render_selection):
1502 * backend/ev-selection.h:
1503 * pdf/ev-poppler.cc:
1504 * shell/ev-jobs.c: (ev_job_render_dispose), (ev_job_render_new),
1505 (ev_job_render_run):
1507 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info),
1508 (ev_pixbuf_cache_new), (job_finished_cb), (add_job_if_needed),
1509 (convert_gdk_color_to_uint), (ev_pixbuf_cache_get_text_mapping),
1510 (ev_pixbuf_cache_style_changed),
1511 (ev_pixbuf_cache_get_selection_pixbuf),
1512 (ev_pixbuf_cache_set_selection_list),
1513 (ev_pixbuf_cache_get_selection_list):
1514 * shell/ev-pixbuf-cache.h:
1515 * shell/ev-utils.c: (ev_print_region_contents):
1517 * shell/ev-view.c: (ev_view_queue_draw_page),
1518 (selection_update_idle_cb), (ev_view_motion_notify_event),
1519 (ev_view_style_set), (draw_one_page), (ev_view_class_init),
1520 (setup_caches), (ev_view_find_next), (merge_selection_region),
1522 * shell/ev-window.c: (ev_window_update_fullscreen_popup):
1524 Clean up selection to be much smoother!
1526 2005-08-05 Kristian Høgsberg <krh@redhat.com>
1528 * pdf/ev-poppler.cc (pdf_selection_render_selection): Pass colors
1529 to poppler_page_render_selection().
1531 2005-08-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1533 * ps/ps-document.c: (save_page_list): Use
1534 unzipped document when printing. Thanks to
1535 Colin Slater <kiltedtaco@gmail.com>. Fix for bug
1538 2005-08-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1540 * shell/ev-window.c: (update_action_sensitivity):
1542 Disable print and save respect to lockdown gconf keys. Fix
1545 2005-08-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1548 * shell/ev-utils.c: (rename_file), (set_umask_permissions),
1549 (write_to_temp_file), (ev_file_set_contents):
1551 * shell/ev-window.c: (save_print_config_to_file):
1553 Copy-paste g_file_set_contents to keep compatibility with gtk 2.6
1556 2005-07-31 Christian Persch <chpe@cvs.gnome.org>
1558 * shell/ev-window.c: (load_print_config_from_file),
1559 (save_print_config_to_file), (ev_window_print_range):
1561 Persist the print settings. Fixes bug #311578.
1563 2005-07-31 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1565 * djvu/djvu-document.c: (djvu_document_get_page_size),
1566 (djvu_document_render_pixbuf), (djvu_document_document_iface_init),
1567 (djvu_document_thumbnails_get_thumbnail):
1568 * dvi/dvi-document.c: (dvi_document_get_page_size),
1569 (dvi_document_render_pixbuf), (dvi_document_document_iface_init),
1570 (dvi_document_thumbnails_get_dimensions),
1571 (dvi_document_thumbnails_get_thumbnail):
1572 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size),
1573 (pixbuf_document_render_pixbuf),
1574 (pixbuf_document_document_iface_init),
1575 (pixbuf_document_thumbnails_get_thumbnail):
1577 Update backends to make them build with new rotation system.
1579 2005-07-31 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1581 * help/C/figures/evince_start_window.png:
1583 Update documentation image from Luca Ferretti <elle.uca@libero.it>
1585 Sat Jul 30 19:09:34 2005 Jonathan Blandford <jrb@redhat.com>
1587 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_clear):
1588 * shell/ev-pixbuf-cache.h:
1589 * shell/ev-sidebar-thumbnails.c:
1590 (ev_sidebar_thumbnails_get_property), (add_range),
1591 (adjustment_changed_cb):
1592 * shell/ev-view.c: (ev_view_set_rotation): Fix rotation and the
1593 pixbuf cache. Make thumbnailing work again. Also, fix bug where
1594 we were thumbnailing the entire docment on startup, slowing us
1597 Fri Jul 29 23:14:28 2005 Jonathan Blandford <jrb@redhat.com>
1599 * shell/ev-page-cache.c: (ev_page_cache_new):
1600 * shell/ev-window.c: (update_action_sensitivity): Handle n_pages
1601 == 0, fixes #310306.
1603 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
1605 * shell/ev-view.c: (doc_rect_to_view_rect), (ev_view_rotate_right),
1606 (ev_view_rotate_left):
1608 Account rotation in doc_rect_to_view_rect.
1609 Ensure rotation doesnt go out of bounds.
1611 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
1613 * shell/ev-page-cache.c: (ev_page_cache_get_size):
1615 Correct and cleanup w/h swapping
1617 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
1619 * backend/ev-document-thumbnails.c:
1620 (ev_document_thumbnails_get_thumbnail):
1621 * backend/ev-document-thumbnails.h:
1622 * backend/ev-document.c:
1623 * backend/ev-document.h:
1624 * backend/ev-render-context.c: (ev_render_context_new),
1625 (ev_render_context_set_rotation):
1626 * backend/ev-render-context.h:
1627 * pdf/ev-poppler.cc:
1628 * ps/ps-document.c: (ps_document_document_iface_init):
1629 * shell/ev-jobs.c: (ev_job_thumbnail_new), (ev_job_thumbnail_run):
1631 * shell/ev-page-cache.c: (build_height_to_page),
1632 (ev_page_cache_new), (ev_page_cache_get_size),
1633 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
1634 (ev_page_cache_get_height_to_page):
1635 * shell/ev-page-cache.h:
1636 * shell/ev-pixbuf-cache.c: (check_job_size_and_unref),
1637 (add_job_if_needed), (ev_pixbuf_cache_add_jobs_if_needed),
1638 (ev_pixbuf_cache_set_page_range), (new_selection_pixbuf_needed),
1639 (ev_pixbuf_cache_get_selection_pixbuf):
1640 * shell/ev-pixbuf-cache.h:
1641 * shell/ev-print-job.c: (idle_print_handler):
1642 * shell/ev-sidebar-thumbnails.c: (add_range):
1643 * shell/ev-view.c: (view_update_range_and_current_page),
1644 (get_page_y_offset), (get_page_extents),
1645 (ev_view_size_request_continuous_dual_page),
1646 (ev_view_size_request_continuous),
1647 (ev_view_size_request_dual_page),
1648 (ev_view_size_request_single_page), (draw_one_page),
1649 (ev_view_set_rotation), (ev_view_rotate_right),
1650 (ev_view_rotate_left), (ev_view_zoom_for_size_presentation),
1651 (ev_view_zoom_for_size_continuous_and_dual_page),
1652 (ev_view_zoom_for_size_continuous),
1653 (ev_view_zoom_for_size_dual_page),
1654 (ev_view_zoom_for_size_single_page), (compute_new_selection_text),
1655 (ev_view_select_all):
1656 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
1657 * tiff/tiff-document.c: (tiff_document_render_pixbuf),
1658 (tiff_document_document_iface_init),
1659 (tiff_document_thumbnails_get_thumbnail):
1661 Use rotation rather than orientation. It's easier and enough
1664 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
1666 * shell/ev-page-cache.c: (build_height_to_page),
1667 (ev_page_cache_new), (ev_page_cache_get_size),
1668 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
1669 (ev_page_cache_get_height_to_page):
1670 * shell/ev-page-cache.h:
1671 * shell/ev-view.c: (get_page_y_offset), (get_page_extents),
1672 (ev_view_size_request_continuous_dual_page),
1673 (ev_view_size_request_continuous),
1674 (ev_view_zoom_for_size_continuous_and_dual_page),
1675 (ev_view_zoom_for_size_continuous):
1677 Make the page cache aware of page orientation.
1679 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
1681 * backend/ev-document-thumbnails.c:
1682 (ev_document_thumbnails_get_thumbnail):
1683 * backend/ev-document-thumbnails.h:
1684 * backend/ev-document.c:
1685 * backend/ev-document.h:
1686 * backend/ev-ps-exporter.c: (ev_ps_exporter_do_page):
1687 * backend/ev-ps-exporter.h:
1688 * pdf/ev-poppler.cc:
1689 * ps/ps-document.c: (ps_document_document_iface_init),
1690 (ps_document_ps_export_do_page):
1691 * shell/ev-jobs.c: (ev_job_thumbnail_new), (ev_job_thumbnail_run):
1693 * shell/ev-page-cache.c: (ev_page_cache_get_size),
1694 (ev_page_cache_get):
1695 * shell/ev-page-cache.h:
1696 * shell/ev-pixbuf-cache.c: (check_job_size_and_unref),
1697 (add_job_if_needed), (ev_pixbuf_cache_add_jobs_if_needed),
1698 (ev_pixbuf_cache_set_page_range), (new_selection_pixbuf_needed):
1699 * shell/ev-pixbuf-cache.h:
1700 * shell/ev-print-job.c: (idle_print_handler):
1701 * shell/ev-sidebar-thumbnails.c: (add_range):
1702 * shell/ev-view.c: (view_update_range_and_current_page),
1703 (get_page_extents), (ev_view_size_request_dual_page),
1704 (ev_view_size_request_single_page), (draw_one_page),
1705 (clear_caches), (ev_view_set_orientation), (ev_view_rotate_right),
1706 (ev_view_rotate_left), (ev_view_zoom_for_size_presentation),
1707 (ev_view_zoom_for_size_dual_page),
1708 (ev_view_zoom_for_size_single_page), (compute_new_selection_text),
1709 (ev_view_select_all):
1710 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
1711 * tiff/tiff-document.c: (tiff_document_get_page_size),
1712 (tiff_document_get_orientation), (rotate_pixbuf),
1713 (tiff_document_render_pixbuf), (tiff_document_document_iface_init),
1714 (tiff_document_thumbnails_get_thumbnail),
1715 (tiff_document_ps_export_do_page), (tiff_document_init):
1717 Really make use of the orientation bit of the render context.
1718 Use the render context in a few more places in the backend API.
1719 This regress orientation, but now it's done right. Will try to
1722 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
1724 * shell/ev-view.c: (ensure_rectangle_is_visible):
1726 Patch by Nickolay V. Shmyrev to fix find flickering
1728 2005-07-27 Martin Kretzschmar <martink@gnome.org>
1730 * backend/ev-ps-exporter.h: add paper_width, paper_height, and
1731 duplex parameters to ::begin.
1733 * tiff/tiff-document.c (tiff_document_ps_export_begin):
1734 * shell/ev-print-job.c (idle_print_handler):
1735 * ps/ps-document.c (ps_document_ps_export_begin):
1736 * pdf/ev-poppler.cc (pdf_document_ps_exporter_begin):
1737 * backend/ev-ps-exporter.c (ev_ps_exporter_begin): update
1738 implementations. Poppler backend needs poppler cvs. Rest has
1741 2005-07-25 Martin Kretzschmar <martink@gnome.org>
1743 * shell/ev-window.c (using_pdf_printer): new function.
1744 (ev_window_print_range): print a less techy message if someone
1745 tries to print to PDF.
1747 2005-07-25 Martin Kretzschmar <martink@gnome.org>
1749 * pdf/ev-poppler.cc (font_type_to_string): Remove trailing space
1750 from "unknown font" string. Bug #311431
1752 2005-07-24 Martin Kretzschmar <martink@gnome.org>
1754 * help/es/.cvsignore, help/sr/.cvsignore: ignore xmlpo output.
1756 2005-07-24 Martin Kretzschmar <martink@gnome.org>
1760 * pdf/ev-poppler.cc (font_type_to_string): new, returns user readable
1761 name for PopplerFontTypes
1762 (pdf_document_fonts_fill_model): add font type to the detail column
1764 * backend/ev-document-fonts.h: added
1765 EV_DOCUMENT_FONTS_COLUMN_DETAILS.
1767 * shell/ev-properties-fonts.c (font_cell_data_func): glue together
1768 font name and font details, add a little markup.
1769 (ev_properties_fonts_init): use the new cell data func, specify ypad
1770 property for the cell renderer.
1771 (ev_properties_fonts_set_document): add the details column.
1773 2005-07-24 Artur Flinta <aflinta@cvs.gnome.org>
1775 * configure.ac: Added "pl" to ALL_LINGUAS.
1777 2005-07-24 Danilo Šegan <danilo@gnome.org>
1779 * configure.ac: Added "sr" and "sr@Latn" to ALL_LINGUAS.
1781 2005-07-23 Tommi Vainikainen <thv@iki.fi>
1783 * help/ChangeLog: Started this for translations of manual.
1784 * configure.ac, autogen.sh, .cvsignore: Migrated to
1785 gnome-doc-utils. Patch in bug #311222.
1787 2005-07-22 Martin Kretzschmar <martink@gnome.org>
1789 * backend/ev-document-factory.c (mime_type_supported_by_gdk_pixbuf):
1790 #ifdef this away to fix an unused-function warning.
1792 2005-07-22 Ignacio Casal Quinteiro <nacho.resa@gmail.com>
1794 * configure.ac: Added 'gl' to ALL_LINGUAS.
1796 2005-07-22 Pawan Chitrakar <pawan@nplinux.org>
1798 * configure.ac: Added ne in ALL_LINGUAS
1800 2005-07-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1802 * shell/ev-view.c: (ev_view_leave_notify_event):
1804 Clear status message when pointer leaves view. Fix for bug
1807 2005-07-20 Ankit Patel <ankit644@yahoo.com>
1809 * configure.ac: Gujarati (gu) added to ALL_LINGUAS
1811 2005-07-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1813 * shell/ev-view.c: (ev_view_leave_notify_event),
1814 (ev_view_class_init):
1816 Set cursor to normal then leaving view.
1818 2005-07-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1822 Fix required djvulibre version.
1824 2005-07-15 Rajesh Ranjan <rajeshkajha@yahoo.com>
1826 *configure.ac: Hindi (hi) language added
1828 2005-07-15 Amanpreet Singh Brar <amanpreetalam@yahoo.com>
1830 *configure.ac: Punjabi (pa) Language added
1832 2005-07-12 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1834 * data/evince-ui.xml, shell/ev-window.c:
1836 Add keypad accelerators for zooming. Fix for bug 308128.
1838 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
1841 * backend/Makefile.am:
1842 * backend/ev-document-factory.c: (ev_document_type_get_from_mime):
1844 * shell/ev-document-types.c: (ev_document_types_add_filters):
1846 Allow to enable/disable the pixbuf backend.
1847 Default to off for now. If we want it enabled we should
1848 really put mime types in the desktop, implement properties etc.
1850 * properties/evince-properties.c:
1852 Initialize error to NULL.
1853 Check error is not NULL before freeing.
1855 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
1857 * shell/ev-window.c:
1859 Use F5 as presentation accell
1861 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
1863 * shell/ev-window.c: (update_chrome_visibility),
1864 (ev_window_create_fullscreen_popup), (ev_window_init):
1866 Do not leak the fullscreen toolbar
1868 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
1870 * shell/ev-window.c: (view_actions_focus_in_cb),
1871 (view_actions_focus_out_cb):
1873 These has a return value! Fix totally random focus
1874 issues we was seeing.
1876 2005-07-11 Carlos Garcia Campos <carlosgc@gnome.org>
1878 * shell/main.c: (load_files_remote):
1880 Allow open more than one file
1882 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
1884 * shell/main.c: (load_files_remote):
1886 Fix for dbus 0.33. bug #309975
1888 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
1890 * properties/ev-properties-main.c: (ev_properties_get_pages):
1892 Actually return NULL for types we dont support
1894 2005-07-08 Christian Persch <chpe@cvs.gnome.org>
1900 2005-07-08 Marco Pesenti Gritti <marco@gnome.org>
1902 * backend/ev-document-factory.c:
1903 (ev_document_factory_get_document):
1905 Do not try to create the object if type
1908 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
1910 * ps/ps-document.c: (ps_document_dispose),
1911 (ps_async_renderer_render_pixbuf):
1914 Do not leak the target window
1916 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
1918 * shell/ev-application.c: (ev_application_init):
1920 Let tbe check file existence for us.
1921 Add a comment about eggrecent mime filter.
1923 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
1925 * data/evince-ui.xml:
1926 * shell/ev-application.c: (ev_application_shutdown),
1927 (ev_application_init), (ev_application_get_toolbars_model),
1928 (ev_application_get_recent_model),
1929 (ev_application_save_toolbars_model):
1930 * shell/ev-application.h:
1931 * shell/ev-window.c: (ev_window_add_recent),
1932 (ev_window_setup_recent), (ev_window_cmd_edit_toolbar_cb),
1933 (ev_window_cmd_edit_toolbar), (ev_window_dispose),
1936 Use common toolbar and recent models for all windows.
1937 Patch by Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1939 Thu Jul 7 23:10:01 2005 Jonathan Blandford <jrb@redhat.com>
1941 * configure.ac: add FRONTEND_CORE_LIBS to evince_save_LIBS so we
1942 successfully check for gtk_icon_view_get_visible_range.
1944 2005-07-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1949 Fix djvu and dvi backend build.
1951 2005-07-07 Christian Persch <chpe@cvs.gnome.org>
1953 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c: (new_pixbuf_from_widget),
1954 (new_separator_pixbuf):
1958 2005-07-07 Christian Persch <chpe@cvs.gnome.org>
1960 * shell/ev-window.c: (ev_window_cmd_edit_toolbar):
1962 HIGification of toolbar editor dialogue.
1964 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1967 * shell/Makefile.am:
1969 Ever build metadata manager since it's just
1970 disabled at runtime now.
1972 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1974 * shell/ev-metadata-manager.c: (ev_metadata_manager_init),
1975 (ev_metadata_manager_get), (ev_metadata_manager_set):
1976 * shell/ev-metadata-manager.h:
1978 Add an _init functions that enabled metadata management
1981 * shell/ev-window.c: (page_changed_cb),
1982 (setup_document_from_metadata), (ev_window_setup_document),
1983 (setup_view_from_metadata), (ev_window_open_uri),
1984 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
1985 (ev_window_run_presentation), (ev_window_stop_presentation),
1986 (save_sizing_mode), (ev_window_zoom_changed_cb),
1987 (ev_window_continuous_changed_cb),
1988 (ev_window_dual_mode_changed_cb), (window_state_event_cb),
1989 (window_configure_event_cb):
1991 Remove all ugly metadata define since we deal with it
1994 * shell/main.c: (load_files_remote), (main):
1996 Add support for dbus cvs head. Hopefully didnt break one
1997 of the other versions now!
1999 If we dont get a response from the dbus server just
2000 give up with it and not enable metadata.
2002 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
2005 * backend/Makefile.am:
2007 * cut-n-paste/recent-files/Makefile.am:
2008 * cut-n-paste/toolbar-editor/Makefile.am:
2009 * cut-n-paste/zoom-control/Makefile.am:
2012 * pixbuf/Makefile.am:
2013 * properties/Makefile.am:
2015 * shell/Makefile.am:
2016 * thumbnailer/Makefile.am:
2019 Make frontends depend on just libev.
2020 Rework and group CFLAGS/LIBS definitions.
2023 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
2027 do not unnecessarily save zoom
2030 * lib/ev-file-helpers.c: (ev_dot_dir):
2031 * shell/Makefile.am:
2036 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
2040 Remove unnecessary dependencies
2042 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
2044 * properties/Makefile.am:
2045 * thumbnailer/Makefile.am:
2048 Some more cleanups. Was really necessary
2049 but I probably introduced bugs, feel free
2052 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
2054 * backend/Makefile.am:
2056 * cut-n-paste/recent-files/Makefile.am:
2057 * cut-n-paste/toolbar-editor/Makefile.am:
2058 * cut-n-paste/zoom-control/Makefile.am:
2061 * pixbuf/Makefile.am:
2062 * properties/Makefile.am:
2064 * shell/Makefile.am:
2065 * thumbnailer/Makefile.am:
2068 Use gnome-common macros when possible.
2069 Cleanup dependencies.
2070 Actually disable deprecated where possible.
2072 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
2075 * backend/Makefile.am:
2076 * properties/Makefile.am:
2077 * shell/Makefile.am:
2078 * thumbnailer/Makefile.am:
2080 This should solve the circular dep without
2081 requiring dir reorg!
2083 * shell/ev-window.c: (setup_view_from_metadata):
2085 Never restore window size/position when the
2086 window is already visible.
2088 2005-07-06 Christian Persch <chpe@cvs.gnome.org>
2090 * shell/ev-metadata-manager.c: (ev_metadata_manager_save):
2092 Return a boolean from timeout func. Fix ported from gedit.
2094 2005-07-07 Iñaki Larrañaga <dooteo@euskalgnu.org>
2096 * configure.ac: Added "eu" (Basque) to ALL_LINGUAS.
2098 2005-07-06 Carlos Garcia Campos <carlosgc@gnome.org>
2100 * shell/ev-document-types.c: set "All Documents" as default filter in
2103 2005-07-06 Martin Kretzschmar <martink@gnome.org>
2105 * shell/ev-metadata-manager.c (ev_metadata_manager_set_int)
2106 (ev_metadata_manager_set_double, ev_metadata_manager_set_string)
2107 (ev_metadata_manager_set_boolean): fix value/val thinko.
2109 2005-07-06 Marco Pesenti Gritti <mpg@redhat.com>
2111 * shell/ev-window.c: (setup_view_from_metadata),
2112 (window_state_event_cb), (window_configure_event_cb),
2115 Remember window position and maximized state
2117 2005-07-06 Christian Persch <chpe@cvs.gnome.org>
2121 Fix DBUS configure checks.
2123 * shell/ev-metadata-manager.c: (ev_metadata_manager_set_int),
2124 (ev_metadata_manager_set_double), (ev_metadata_manager_set_string),
2125 (ev_metadata_manager_set_boolean):
2129 * shell/ev-window.c: (page_changed_cb), (ev_window_run_fullscreen),
2130 (ev_window_stop_fullscreen), (ev_window_run_presentation),
2131 (ev_window_stop_presentation), (ev_window_zoom_changed_cb),
2132 (ev_window_continuous_changed_cb),
2133 (ev_window_dual_mode_changed_cb), (ev_window_new):
2135 Fix the build without DBUS.
2137 2005-07-06 Marco Pesenti Gritti <mpg@redhat.com>
2139 * shell/ev-metadata-manager.c: (parse_value), (save_values),
2140 (ev_metadata_manager_set_int), (ev_metadata_manager_set_double),
2141 (ev_metadata_manager_set_string),
2142 (ev_metadata_manager_set_boolean):
2143 * shell/ev-metadata-manager.h:
2145 Add support for some more types
2147 * shell/ev-view.c: (scroll_to_current_page),
2148 (ev_view_get_continuous), (ev_view_set_continuous),
2149 (ev_view_get_dual_page):
2151 * shell/ev-window.c: (page_changed_cb),
2152 (setup_document_from_metadata), (ev_window_setup_document),
2153 (setup_view_from_metadata), (ev_window_open_uri),
2154 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
2155 (ev_window_run_presentation), (ev_window_stop_presentation),
2156 (save_sizing_mode), (ev_window_sizing_mode_changed_cb),
2157 (ev_window_zoom_changed_cb), (ev_window_update_continuous_action),
2158 (ev_window_update_dual_page_action),
2159 (ev_window_continuous_changed_cb),
2160 (ev_window_dual_mode_changed_cb), (ev_window_init):
2162 Remember a bunch of view/document properties. Prolly some
2163 are still missing but it's getting interesting.
2165 2005-07-05 Martin Kretzschmar <martink@gnome.org>
2167 * configure.ac: check if dbus-binding-tool is installed. Not the
2168 case on current Ubuntu breezy, it seems.
2170 2005-07-05 Luca Ferretti <elle.uca@libero.it>
2172 * data/evince.desktop.in.in:
2174 Allow open uri lists and add TryExec field.
2176 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
2180 Enable dbus when available, do not require a configure
2183 2005-07-05 Christian Persch <chpe@cvs.gnome.org>
2187 Use AM_CONDITIONAL unconditionally, fixes the build with DBUS
2190 2005-07-05 Carlos Garcia Campos <carlosgc@gnome.org>
2191 Marco Pesenti Gritti <mpg@redhat.com>
2193 * shell/Makefile.am: Add --prefix for dbus-binding-tool script
2195 * shell/ev-application.[ch], shell/ev-window.c: change dbus RPC
2196 functions to the format required by dbus
2198 * shell/main.c: use G_TYPE instead of DBUS_TYPE to fix compilation
2199 errors. Use the RPC parameters in the expected way
2201 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
2204 * properties/Makefile.am:
2205 * properties/ev-properties-main.c: (ev_properties_get_pages):
2207 Support all mime types
2209 * shell/Makefile.am:
2210 * thumbnailer/Makefile.am:
2211 * thumbnailer/evince-thumbnailer.c: (get_document_from_uri),
2212 (evince_thumbnail_pngenc_get):
2214 Use the document factory
2216 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
2218 * backend/Makefile.am:
2219 * backend/ev-document-factory.c:
2220 (mime_type_supported_by_gdk_pixbuf),
2221 (ev_document_type_get_from_mime),
2222 (ev_document_factory_get_document),
2223 (ev_document_factory_get_backend),
2224 (ev_document_factory_get_mime_types),
2225 (ev_document_factory_get_all_mime_types):
2226 * backend/ev-document-factory.h:
2227 * shell/Makefile.am:
2228 * shell/ev-document-types.c: (get_document_from_uri),
2229 (ev_document_types_get_document),
2230 (file_filter_add_mime_list_and_free),
2231 (ev_document_types_add_filters):
2232 * shell/ev-document-types.h:
2233 * shell/ev-job-xfer.c: (ev_job_xfer_run):
2234 * shell/ev-properties-dialog.c:
2235 (ev_properties_dialog_set_document):
2236 * shell/ev-window.c: (ev_window_cmd_file_open),
2237 (ev_window_cmd_save_as):
2238 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
2240 Rework document types managing to avoid code duplication
2241 and actually abstract from backend implementations.
2242 Also provide a minimal factory api that can be used by
2243 thumbnailer/properties.
2245 2005-07-05 Christian Persch <chpe@cvs.gnome.org>
2247 * properties/ev-properties-view.c: (ev_properties_view_set_info):
2249 * shell/ev-properties-dialog.c: (ev_properties_dialog_init):
2252 2005-07-04 Matthew S. Wilson <msw@rpath.com>
2254 * shell/ev-properties-dialog.c
2255 (ev_properties_dialog_set_document): only call
2256 ev_properties_fonts_set_document() if the document implements the
2259 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
2262 * properties/Makefile.am:
2263 * properties/ev-properties-view.c:
2264 (ev_properties_view_register_type):
2265 * properties/ev-properties-view.h:
2266 * properties/ev-properties-main.h:
2268 Implement nautilus plugin for properties.
2269 Works only for pdf atm, I need to rework the
2270 document types stuff to get this to work
2273 2005-07-04 Martin Kretzschmar <martink@gnome.org>
2275 * shell/ev-properties-fonts.c (enum): kill redundant columns enum
2276 (ev_properties_fonts_set_document): use
2277 EV_DOCUMENT_FONTS_COLUMN_NUM_COLUMNS.
2279 2005-07-04 Matthew S. Wilson <msw@rpath.com>
2281 * tiff/tiff2ps.c: remove TRUE and FALSE definitions, glib provides
2283 (PlaceImage, tiff2ps_process_page): use
2284 g_ascii_dtostr to convert floats to strings in a locale-safe way.
2287 2005-07-04 Martin Kretzschmar <martink@gnome.org>
2289 * shell/main.c: include libgnomeui/gnome-authentication-manager.h
2290 (main): to call gnome_authentication_manager_init. Should fix
2293 * configure.ac: that requires libgnomeui 2.6.0.
2295 2005-07-04 Matthew S. Wilson <msw@rpath.com>
2297 * tiff/tiff-document.c (tiff_document_ps_export_begin)
2298 (tiff_document_ps_export_do_page, tiff_document_ps_export_end):
2299 use the new tiff2ps interfaces
2301 * tiff/tiff2ps.h (tiff2ps_context_new, tiff2ps_process_page)
2302 (tiff2ps_context_finalize): implement new interfaces for tiff2ps
2304 * tiff/tiff2ps.c: refactor tiff2ps code to use a context
2305 structure instead of global variables. Remove use of static
2306 variables in functions.
2308 2005-07-04 Carlos Garcia Campos <carlosgc@gnome.org>
2310 * shell/ev-page-action.c: unref the completion after setting it to the
2313 2005-07-04 Matthew S. Wilson <msw@rpath.com>
2315 * tiff/tiff2ps.c (generateEPSF): disable generating encapsulated
2318 2005-07-04 Matthew S. Wilson <msw@rpath.com>
2320 * shell/ev-window.c (update_action_sensitivity): disable
2321 File->Print if the document does not implement the ps exporter
2324 2005-07-04 Marco Pesenti Gritti <mpg@redhat.com>
2328 * data/evince-properties.glade:
2329 * properties/.cvsignore:
2330 * properties/Makefile.am:
2331 * properties/ev-properties-view.c: (ev_properties_view_dispose),
2332 (ev_properties_view_class_init), (ev_properties_view_format_date),
2333 (make_valid_utf8), (set_property), (ev_properties_view_set_info),
2334 (ev_properties_view_init), (ev_properties_view_new):
2335 * properties/ev-properties-view.h:
2336 * shell/Makefile.am:
2337 * shell/ev-properties-dialog.c: (ev_properties_dialog_class_init),
2338 (ev_properties_dialog_init), (ev_properties_dialog_set_document),
2339 (ev_properties_dialog_new):
2340 * shell/ev-properties-dialog.h:
2341 * shell/ev-properties-fonts.c: (ev_properties_fonts_dispose),
2342 (ev_properties_fonts_class_init), (ev_properties_fonts_init),
2343 (update_progress_label), (job_fonts_finished_cb),
2344 (ev_properties_fonts_set_document), (ev_properties_fonts_new):
2345 * shell/ev-properties-fonts.h:
2346 * shell/ev-properties.c:
2347 * shell/ev-properties.h:
2348 * shell/ev-window.c: (ev_window_setup_document),
2349 (ev_window_cmd_file_properties):
2351 Split the properties pages in two different objects, depend
2352 only on the backend where possible, use widgets instead
2353 of gobject for the glade part, reimplement the dialog
2355 I need this to implement nautilus properties page.
2357 2005-07-03 Matthew S. Wilson <msw@rpath.com>
2359 * tiff/tiff-document.c (tiff_document_ps_export_begin)
2360 (tiff_document_ps_export_do_page, tiff_document_ps_export_end)
2361 (tiff_document_document_ps_exporter_iface_init): implement the ps
2362 exporter interface for tiff documents
2364 * tiff/tiff2ps.c: added a modified version of tiff2ps.c from
2365 libtiff to implement TIFF postscript export
2367 * tiff/tiff2ps.h: added a header file for external tiff2ps
2370 * tiff/Makefile.am (libtiffdocument_la_SOURCES): add tiff2ps.c and
2373 2005-07-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2375 * shell/ev-view.c: (scroll_to_current_page),
2376 (ev_view_set_fullscreen), (ev_view_set_presentation):
2378 Scroll to current page when exit from presentation
2380 2005-07-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2382 * shell/ev-window.c: (update_document_mode),
2383 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
2384 (ev_window_cmd_view_fullscreen), (ev_window_stop_presentation),
2385 (ev_window_cmd_view_presentation), (ev_window_cmd_escape):
2387 Exit from fullscreen mode when switch to presentation. Fix for
2390 2005-07-02 Matthew S. Wilson <msw@rpath.com>
2392 * shell/ev-pixbuf-cache.c (ev_pixbuf_cache_get_selection_pixbuf):
2393 return NULL if the document does not implement the selection
2396 2005-07-02 Matthew S. Wilson <msw@rpath.com>
2398 * tiff/tiff-document.c (tiff_document_get_page_size): scale the
2399 reported height by using the resolution aspect ratio
2400 (tiff_document_render_pixbuf): scale the pixbuf using the
2401 resolution aspect ratio
2403 2005-07-01 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2407 Require libgnomeprint >= 2.5.1. Thanks to Colin Slater
2408 <kiltedaco@gmail.com>
2410 * djvu/djvu-document.c: (djvu_document_get_orientation),
2411 (djvu_document_set_orientation), (djvu_document_get_page_size),
2412 (rotate_pixbuf), (djvu_document_render_pixbuf),
2413 (djvu_document_document_iface_init):
2414 * dvi/dvi-document.c: (dvi_document_get_orientation),
2415 (dvi_document_set_orientation), (dvi_document_get_page_size),
2416 (rotate_pixbuf), (dvi_document_render_pixbuf),
2417 (dvi_document_document_iface_init):
2419 Dvi and djvu backends are ported to new API
2421 Fri Jul 1 00:10:15 2005 Jonathan Blandford <jrb@redhat.com>
2423 * backend/ev-selection.c: (ev_selection_get_selection_region),
2424 (ev_selection_get_selection_map):
2425 * backend/ev-selection.h:
2426 * pdf/ev-poppler.cc:
2427 * shell/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
2429 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info),
2430 (job_finished_cb), (copy_job_to_job_info), (add_job_if_needed),
2431 (ev_pixbuf_cache_get_text_mapping):
2432 * shell/ev-pixbuf-cache.h:
2433 * shell/ev-view.c: (location_in_text),
2434 (ev_view_motion_notify_event), (ev_view_set_cursor): Add I-Beam
2435 support to EvView. Now we can see where we can select! Sweet!
2437 2005-06-30 Kristian Høgsberg <krh@redhat.com>
2439 * shell/ev-view.c (ev_view_button_press_event): Fix
2440 event->y + view->scroll_x typo.
2442 2005-06-30 Kristian Høgsberg <krh@redhat.com>
2444 * pdf/ev-poppler.cc: Adjust to poppler API changes; use a
2445 sub-GdkPixbuf instead of passing dest_x and dest_y.
2447 * shell/ev-view.c: (view_point_to_doc_point),
2448 (view_rect_to_doc_rect), (ev_view_button_press_event),
2449 (ev_view_motion_notify_event), (compute_new_selection_rect),
2450 (gdk_rectangle_point_in), (compute_new_selection_text),
2451 (compute_selections): Update selection code to keep the selection
2452 around as two points and not as a normalized rectangle, and fix
2453 page level selection in two-column mode.
2455 2005-06-30 Alex Duggan <aldug@astrolinux.com>
2457 * shell/ev-window.c: (window_configure_event_cb):
2461 2005-06-30 Marco Pesenti Gritti <mpg@redhat.com>
2463 * pdf/ev-poppler.cc:
2467 2005-06-30 Marco Pesenti Gritti <mpg@redhat.com>
2469 * shell/Makefile.am:
2470 * shell/ev-metadata-manager.c: (item_free),
2471 (ev_metadata_manager_init), (ev_metadata_manager_shutdown),
2472 (parse_value), (parseItem), (load_values),
2473 (ev_metadata_manager_get), (value_free), (ev_metadata_manager_set),
2474 (save_values), (save_item), (get_oldest), (resize_items),
2475 (ev_metadata_manager_save), (ev_metadata_manager_set_int):
2476 * shell/ev-metadata-manager.h:
2478 Metadata manager from gedit but modified to use GValue, so that
2479 we dont need to keep converting from strings.
2483 ENABLE_METADATA conditional, on when dbus is on
2485 * shell/ev-application.c: (ev_application_open_uri):
2487 Show the window after load so that we can initialize
2488 window size before it's showed.
2490 * shell/ev-window.c: (ev_window_setup_from_metadata),
2491 (ev_window_open_uri), (window_configure_event_cb),
2494 Save and load metadata information about window size.
2495 Not yet keeping states in account.
2497 * shell/main.c: (main):
2499 Shutdown metadata manager.
2501 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
2503 * shell/ev-application-service.xml:
2505 * shell/Makefile.am:
2506 * shell/ev-application.c:
2507 * shell/ev-application.h:
2508 * shell/ev-window.c:
2509 * shell/ev-window.h:
2512 Add an optional dbus interface (--enable-dbus).
2513 Rework application code, mainly to be easier to
2515 Do not open multiple windows with the same document,
2518 Thu Jun 30 01:50:14 2005 Jonathan Blandford <jrb@redhat.com>
2520 * shell/ev-pixbuf-cache.c (clear_selection_if_needed): unref the
2521 pixbuf iff it exists.
2523 Thu Jun 30 01:43:00 2005 Jonathan Blandford <jrb@redhat.com>
2526 * backend/ev-render-context.[ch]:
2527 * backend/ev-selection.[ch]:
2529 Massive changes. We now support text selection of pdfs, and not
2530 just rectangular selection. This is pretty broken still, but I
2531 want to get something into CVS.
2533 2005-06-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2535 * pdf/ev-poppler.cc:
2537 Fix for Bug 309080: crash on window close.
2539 * shell/ev-page-action.c: (page_changed_cb):
2541 Fix for Bug 309168: Fix build with gcc 2.95. Thanks to
2542 jensgr@gmx.net (Jens Granseuer).
2544 2005-06-25 Marcel Telka <marcel@telka.sk>
2546 * configure.in (ALL_LINGUAS): Added sk.
2548 2005-06-24 Carlos Garcia Campos <carlosgc@gnome.org>
2550 * shell/ev-window.c: Make rotate menu entries unsensitive if there is
2553 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
2560 * cut-n-paste/recent-files/Makefile.am:
2564 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
2566 * pixbuf/pixbuf-document.c: (pixbuf_document_get_orientation),
2567 (pixbuf_document_set_orientation), (rotate_pixbuf),
2568 (pixbuf_document_get_page_size), (pixbuf_document_render_pixbuf),
2569 (pixbuf_document_document_iface_init), (pixbuf_document_init):
2571 Implement rotation and cleanup the code a bit.
2573 * tiff/tiff-document.c: (tiff_document_get_page_size),
2574 (tiff_document_get_orientation), (tiff_document_set_orientation),
2575 (rotate_pixbuf), (tiff_document_render_pixbuf),
2576 (tiff_document_document_iface_init), (tiff_document_init):
2578 Implement rotation. Was the quicker solution for the release
2579 but we really need to share this code in the shell.
2581 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
2583 * pdf/ev-poppler.cc:
2585 Enable rotation, require poppler cvs. Fix a leak.
2587 2005-06-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2589 * shell/ev-window.c: (update_action_sensitivity):
2591 Make properties unsensitive if document backend doesn't provide
2594 2005-06-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2596 * dvi/mdvi-lib/bitmap.c: (bitmap_alloc), (bitmap_alloc_raw),
2597 (bitmap_flip_horizontally), (bitmap_flip_vertically),
2598 (bitmap_flip_diagonally), (bitmap_rotate_clockwise),
2599 (bitmap_rotate_counter_clockwise), (bitmap_flip_rotate_clockwise),
2600 (bitmap_flip_rotate_counter_clockwise):
2601 * dvi/mdvi-lib/color.c: (mdvi_push_color), (get_color_table):
2602 * dvi/mdvi-lib/common.c: (read_string), (buff_free), (buff_add),
2604 * dvi/mdvi-lib/common.h:
2605 * dvi/mdvi-lib/dvimisc.c: (mdvi_push_color):
2606 * dvi/mdvi-lib/dviread.c: (get_bytes), (dreset), (define_font),
2607 (opendvi), (mdvi_reload), (mdvi_init_context),
2608 (mdvi_destroy_context), (mdvi_dopage), (special):
2609 * dvi/mdvi-lib/font.c: (font_drop_one), (font_free_unused):
2610 * dvi/mdvi-lib/fontmap.c: (read_encoding), (destroy_encoding),
2611 (file_hash_free), (register_encoding), (parse_spec),
2612 (mdvi_load_fontmap), (free_ent), (mdvi_init_fontmaps),
2613 (mdvi_add_fontmap_file), (mdvi_ps_read_fontmap),
2614 (mdvi_ps_flush_fonts), (mdvi_ps_find_font), (mdvi_ps_get_metrics):
2615 * dvi/mdvi-lib/fontsrch.c: (mdvi_list_font_class),
2616 (mdvi_register_font_type), (mdvi_unregister_font_type),
2617 (lookup_font), (mdvi_add_font), (mdvi_font_retry):
2618 * dvi/mdvi-lib/gf.c: (gf_read_bitmap), (gf_load_font):
2619 * dvi/mdvi-lib/hash.c: (mdvi_hash_remove), (mdvi_hash_remove_ptr),
2620 (mdvi_hash_destroy_key), (mdvi_hash_reset):
2621 * dvi/mdvi-lib/pagesel.c: (mdvi_parse_range),
2622 (mdvi_parse_page_spec), (mdvi_free_page_spec), (main):
2623 * dvi/mdvi-lib/paper.c: (mdvi_free_paper_specs):
2624 * dvi/mdvi-lib/pk.c: (pk_lookup), (pk_lookupn), (pk_load_font):
2625 * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
2626 * dvi/mdvi-lib/special.c: (mdvi_register_special),
2627 (mdvi_unregister_special), (mdvi_flush_specials):
2628 * dvi/mdvi-lib/t1.c: (t1_lookup_font), (t1_really_load_font),
2630 * dvi/mdvi-lib/tfm.c: (get_tfm_chars):
2631 * dvi/mdvi-lib/tfmfile.c: (afm_load_file), (tfm_load_file),
2632 (ofm1_load_file), (ofm_load_file), (get_font_metrics),
2633 (free_font_metrics), (flush_font_metrics):
2634 * dvi/mdvi-lib/tt.c: (tt_really_load_font), (tt_get_bitmap),
2636 * dvi/mdvi-lib/util.c: (mdvi_malloc), (mdvi_realloc),
2637 (mdvi_calloc), (mdvi_free), (mdvi_strdup), (mdvi_strncpy),
2638 (mdvi_strndup), (mdvi_memdup), (xstradd), (dstring_append),
2639 (dstring_insert), (dstring_new), (dstring_reset):
2640 * dvi/mdvi-lib/vf.c: (vf_load_font), (vf_free_macros):
2642 Rename xmalloc and xfree to mdvi_malloc and mdvi_free to
2643 avoid conflict with libtool on FC4
2645 * shell/ev-window.c: (ev_window_cmd_help_about):
2647 Update copyright year. Fix for bug 308828.
2649 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
2651 * shell/ev-view.c: (add_scroll_binding_keypad),
2652 (ev_view_binding_activated), (ev_view_class_init),
2653 (on_adjustment_value_changed):
2655 Bug 170874: Arrow keys switch pages in presentation mode
2657 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
2659 * shell/ev-window.c: (ev_window_sidebar_visibility_changed_cb):
2661 Fix for Bug 308265: Sidebar dissappears coming out of
2664 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
2666 * shell/ev-application.c: (ev_application_open):
2667 * shell/ev-document-types.c: (ev_document_types_add_filters),
2668 (ev_document_types_add_filters_for_type):
2669 * shell/ev-document-types.h:
2670 * shell/ev-window.c: (ev_window_cmd_save_as):
2672 Suggest basename as template when saving, provide filters
2673 for save dialog. It's bug 308402
2675 2005-06-20 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2677 * pdf/ev-poppler.cc:
2678 * shell/ev-sidebar-links.c: (job_finished_callback):
2679 * shell/ev-view.c: (update_find_status_message):
2683 2005-06-19 Christian Persch <chpe@cvs.gnome.org>
2685 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
2686 (egg_recent_view_uimanager_set_list):
2688 Fix buglet in !show_numbers case.
2690 2005-06-19 Christian Persch <chpe@cvs.gnome.org>
2692 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
2693 (connect_proxy_cb), (egg_recent_view_uimanager_set_list):
2695 Use pango ellipsisation.
2697 * pdf/ev-poppler.cc:
2699 Fix refcount leak, from nsh.
2701 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2703 * cut-n-paste/recent-files/Makefile.am:
2704 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
2705 * cut-n-paste/recent-files/egg-recent-view-gtk.h:
2707 Removed EggRecentViewGtk
2709 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
2710 * cut-n-paste/recent-files/egg-recent-view-uimanager.h:
2711 * shell/ev-window.c: (ev_window_cmd_recent_file_activate),
2712 (ev_window_setup_recent):
2714 Use ViewUIManager instead of ViewGtk. Less leaks, more compatibility
2717 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2719 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
2720 (egg_recent_view_gtk_finalize):
2724 * cut-n-paste/toolbar-editor/Makefile.am:
2726 Fix location of cursor icon.
2728 * pdf/ev-poppler.cc:
2729 * shell/ev-page-action.c: (build_new_tree_cb), (match_selected_cb),
2730 (display_completion_text), (match_completion):
2731 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
2732 (selection_changed_callback), (create_loading_model),
2733 (print_section_cb), (links_page_num_func),
2734 (update_page_callback_foreach):
2735 * shell/ev-window.c: (ev_window_dispose):
2737 Small memory fixes. Links model now store objects instead
2738 of pointers to improve memory management.
2740 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2742 * shell/ev-window.c: (zoom_control_changed_cb):
2744 Fix update of zoom control (bug 308268).
2746 Sat Jun 18 22:46:42 2005 Jonathan Blandford <jrb@redhat.com>
2748 * shell/ev-properties.c (set_property): escape the text correctly.
2749 Handles non-UTF-8 properties and escaped properties. Also, sets
2750 the text to "<i>None</i>" if the property isn't set.
2752 * data/evince-properties.glade: Change the label to be ellipsized,
2753 and give it a minimum size.
2755 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2757 * lib/ev-file-helpers.c: (ev_file_helpers_shutdown):
2758 * shell/ev-sidebar-links.c: (create_loading_model):
2759 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose):
2760 * shell/ev-view.c: (ev_view_set_document):
2761 * shell/ev-window.c: (ev_window_dispose):
2763 Various small fixes, mostly memory leaks. Thanks to valgrind.
2765 2005-06-19 Martin Kretzschmar <martink@gnome.org>
2767 * ps/ps-document.c: remove the locale.h include again ;-). And
2768 kill the (bogus) setlocale/savelocale business.
2770 2005-06-19 Jaap A. Haitsma <jaap@haitsma.org>
2774 Include locale.h to fix build
2776 * shell/ev-sidebar.c:
2778 Remove unnecessary includes
2780 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2782 * dvi/dvi-document.c: (dvi_document_load):
2783 * dvi/mdvi-lib/dviread.c: (mdvi_init_context):
2786 Check for incorrect dvi files. Fix parsing dvi on AMD64
2787 platform. Thanks to tester@tester.ca (Olivier Crete).
2789 2005-06-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2791 * shell/ev-page-action.c: (match_selected_cb),
2792 (display_completion_text), (match_completion), (update_model):
2793 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
2794 (expand_open_links):
2795 * shell/ev-sidebar.c: (ev_sidebar_destroy),
2796 (ev_sidebar_menu_item_activate_cb), (ev_sidebar_add_page),
2797 (ev_sidebar_set_document):
2798 * shell/ev-window.c: (ev_window_xfer_job_cb),
2799 (sidebar_widget_model_set), (sidebar_page_main_widget_update_cb):
2801 Fixed lot's of memory leaks, for example, memory leak on reload,
2802 described in bug 307793.
2804 2005-06-18 Marco Pesenti Gritti <mpg@redhat.com>
2806 * pdf/ev-poppler.cc:
2807 * shell/ev-sidebar-thumbnails.c: (clear_range), (add_range),
2808 (update_visible_range), (adjustment_changed_cb),
2809 (ev_sidebar_thumbnails_fill_model),
2810 (ev_sidebar_thumbnails_refresh),
2811 (ev_sidebar_tree_selection_changed),
2812 (ev_sidebar_icon_selection_changed),
2813 (ev_sidebar_thumbnails_use_icon_view),
2814 (ev_sidebar_thumbnails_set_document):
2815 * shell/ev-sidebar-thumbnails.h:
2816 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
2817 (ev_window_cmd_edit_rotate_right), (ev_window_init):
2819 Refresh thumbnails when changing orientation. Not fully
2820 working yet becuase of a sidebar bug.
2822 Set page orientation to poppler page everywhere. This sucks
2823 really need to fix poppler.
2825 2005-06-18 Marco Pesenti Gritti <mpg@redhat.com>
2827 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
2828 (egg_recent_view_gtk_new_menu_item),
2829 (egg_recent_view_gtk_set_property),
2830 (egg_recent_view_gtk_get_property),
2831 (egg_recent_view_gtk_class_init), (egg_recent_view_gtk_init),
2832 (egg_recent_view_gtk_set_tooltip_func),
2833 (egg_recent_view_gtk_set_label_width),
2834 (egg_recent_view_gtk_get_label_width):
2835 * cut-n-paste/recent-files/egg-recent-view-gtk.h:
2837 Sync with libegg (ellipsize labels)
2839 2005-06-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2841 * data/evince-ui.xml:
2842 * shell/ev-window.c: (ev_window_cmd_go_forward),
2843 (ev_window_cmd_go_backward):
2845 Shift + PageUp moves 10 Pages. Fix for 306125
2847 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
2849 * pdf/ev-poppler.cc:
2851 Add a flag to check if orientation has been overriden
2853 2005-06-17 Martin Kretzschmar <martink@gnome.org>
2855 * ps/ps.c (psscan, psfree): read "Creator:" comment, free creator
2858 * ps/ps.h: add creator field to document.
2860 * ps/ps-document.c (ps_document_get_info): set format to PostScript,
2863 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
2865 * data/evince-properties.glade:
2866 * shell/ev-properties.c: (ev_properties_set_document):
2868 s/PDF Version/Format
2870 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
2872 * shell/ev-properties.c: (ev_properties_set_document):
2874 Remove unnecessary translations
2876 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
2878 * cut-n-paste/toolbar-editor/Makefile.am:
2880 Correct library name
2882 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
2885 * cut-n-paste/recent-files/egg-recent-model.c:
2886 (egg_recent_model_write_raw), (egg_recent_model_lock_file),
2887 (egg_recent_model_unlock_file):
2888 * cut-n-paste/recent-files/egg-recent-util.c:
2889 (egg_recent_util_get_unique_id):
2890 * cut-n-paste/recent-files/update-from-egg.sh:
2891 * cut-n-paste/toolbar-editor/Makefile.am:
2892 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
2893 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
2894 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
2895 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
2896 (egg_toolbars_model_get_type):
2897 * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
2899 Better makefile for toolbar editor and update everything
2902 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
2904 * shell/ev-window.c: (update_document_mode):
2906 Prefer presentation mode when the document
2909 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
2911 * data/evince-ui.xml:
2912 * shell/ev-window.c:
2914 Add control-equal for zooming
2916 2005-06-17 Theppitak Karoonboonyanan <thep@linux.thai.net>
2918 * configure.ac: Added 'th' (Thai) to ALL_LINGUAS.
2920 2005-06-16 Marco Pesenti Gritti <mpg@redhat.com>
2922 * backend/ev-document.c: (ev_document_get_orientation):
2923 * backend/ev-document.h:
2924 * pdf/ev-poppler.cc:
2925 * ps/ps-document.c: (ps_document_get_orientation),
2926 (ps_document_set_orientation), (ps_document_document_iface_init):
2928 Add a get_orientation api. Improve set_orientation.
2930 * data/evince-ui.xml:
2931 * shell/ev-view.c: (ev_view_set_orientation),
2932 (ev_view_rotate_right), (ev_view_rotate_left):
2934 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
2935 (ev_window_cmd_edit_rotate_right):
2937 Better ui for changing document orientation
2939 2005-06-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2941 * shell/ev-sidebar-links.c: (ev_sidebar_links_get_property),
2942 (ev_sidebar_links_class_init), (ev_sidebar_links_get_label):
2943 * shell/ev-sidebar-links.h:
2944 * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
2945 (ev_sidebar_page_iface_init):
2946 * shell/ev-sidebar-page.h:
2947 * shell/ev-sidebar-thumbnails.c:
2948 (ev_sidebar_thumbnails_get_property),
2949 (ev_sidebar_thumbnails_class_init),
2950 (ev_sidebar_thumbnails_set_document):
2951 * shell/ev-sidebar-thumbnails.h:
2952 * shell/ev-view.c: (ev_view_motion_notify_event):
2953 * shell/ev-window.c: (update_chrome_visibility),
2954 (ev_window_cmd_focus_page_selector),
2955 (ev_window_update_fullscreen_popup), (view_actions_focus_in_cb),
2956 (sidebar_page_main_widget_update_cb), (ev_window_init):
2958 Autoraise toolbar on GoToPage binding and fix bindings in
2959 EvSidebarThumbnails page.
2961 2005-06-15 Christian Persch <chpe@cvs.gnome.org>
2963 * shell/ev-properties.c: (update_progress_label):
2965 Hide the progress label when finished; bug #307697.
2967 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
2969 * pdf/ev-poppler.cc:
2971 Enable is_open for links, you will need poppler cvs
2973 * shell/ev-properties.c: (job_fonts_finished_cb):
2975 Get a lock on the document when filling the tree view
2977 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
2979 * backend/ev-document-links.h:
2980 * pdf/ev-poppler.cc:
2981 * shell/ev-sidebar-links.c: (create_loading_model),
2982 (expand_open_links), (job_finished_callback):
2984 Expand links when specified by the document.
2985 Depend on a poppler api (defined out for now)
2987 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
2989 * shell/ev-properties.c: (ev_properties_dispose),
2990 (ev_properties_class_init), (dialog_destroy_cb),
2991 (ev_properties_init), (job_fonts_finished_cb), (setup_fonts_view),
2992 (ev_properties_set_document), (ev_properties_new),
2993 (ev_properties_show):
2994 * shell/ev-properties.h:
2996 Make it an object, cleanup the code, api to show it as transient
2997 and to set the document.
2999 * shell/ev-window.c: (ev_window_setup_document),
3000 (ev_window_cmd_file_properties):
3002 Adapt to EvProperties changes, do not show multiple
3003 times, update it when document changes.
3005 2005-06-14 Marco Pesenti Gritti <mpg@redhat.com>
3008 * ps/ps-document.c: (ps_document_init), (get_page_orientation),
3009 (ps_document_set_orientation), (ps_document_document_iface_init):
3012 Implement orientation here too
3014 * shell/ev-properties.c: (ev_properties_new):
3015 * data/evince-properties.glade:
3017 Hide the fonts page for backends that doesnt
3020 2005-06-14 Marco Pesenti Gritti <mpg@redhat.com>
3022 * backend/ev-document.c: (ev_document_set_orientation):
3023 * backend/ev-document.h:
3024 * pdf/ev-poppler.cc:
3026 Add orientation api. Currently poppler api is not optimal,
3027 we need to set orientation every time we _get a page.
3028 I will try to fix that at some point.
3030 * data/evince-ui.xml:
3031 * shell/ev-window.c: (ev_window_cmd_edit_landscape),
3032 (ev_window_cmd_edit_portrait), (ev_window_cmd_edit_flip):
3034 Add orientation menu items
3036 * shell/ev-page-cache.c: (ev_page_cache_clear):
3037 * shell/ev-page-cache.h:
3039 Add api to clear the cache
3041 * shell/ev-view.c: (setup_caches), (clear_caches),
3042 (ev_view_set_document), (ev_view_zoom_out),
3043 (ev_view_set_orientation):
3046 Implement orientation changing
3048 2005-06-13 Marco Pesenti Gritti <mpg@redhat.com>
3050 * backend/ev-document-fonts.c: (ev_document_fonts_get_progress),
3051 (ev_document_fonts_scan), (ev_document_fonts_fill_model):
3052 * backend/ev-document-fonts.h:
3054 Separate scan and fill so that we can incrementally fill from
3055 the main thread. Add a progress api.
3057 * data/evince-properties.glade:
3058 * pdf/ev-poppler.cc:
3059 * shell/ev-jobs.c: (ev_job_fonts_new), (ev_job_fonts_run):
3061 * shell/ev-properties.c: (update_progress_label),
3062 (job_fonts_finished_cb), (setup_fonts_view):
3064 Incrementally feel the list and show the progress
3065 percentage in a label like acrobat does.
3067 You are going to need poppler cvs
3069 2005-06-11 Marco Pesenti Gritti <mpg@redhat.com>
3071 * backend/ev-document-fonts.c: (ev_document_fonts_fill_model):
3072 * backend/ev-document-fonts.h:
3073 * pdf/ev-poppler.cc:
3075 Make fonts model fill incrementally.
3077 * shell/ev-job-queue.c: (handle_job), (search_for_jobs_unlocked),
3078 (no_jobs_available_unlocked), (ev_job_queue_init), (find_queue),
3079 (ev_job_queue_remove_job):
3080 * shell/ev-jobs.c: (ev_job_fonts_init), (ev_job_fonts_class_init),
3081 (ev_job_fonts_new), (ev_job_fonts_run):
3084 New job for fonts scanning
3086 * shell/ev-properties.c: (job_fonts_finished_cb),
3087 (fill_fonts_treeview), (setup_fonts_view), (ev_properties_new):
3088 * shell/ev-properties.h:
3089 * shell/ev-window.c: (ev_window_cmd_file_properties):
3091 Incrementally feel the treeview using the new job. Show Loading...
3092 message until scanning is completed.
3094 Hopefully I didnt break the build without the poppler patch.
3096 2005-06-10 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3098 * shell/ev-application.c: (ev_application_open):
3099 * shell/ev-document-types.c: (ev_document_type_from_from_mime),
3100 (ev_document_type_get_type), (ev_document_type_lookup):
3101 * shell/ev-document-types.h:
3102 * shell/ev-job-xfer.c: (ev_job_xfer_dispose), (ev_job_xfer_run):
3103 * shell/ev-job-xfer.h:
3104 * shell/ev-window.c: (ev_window_clear_local_uri),
3105 (ev_window_load_job_cb), (ev_window_xfer_job_cb),
3106 (ev_window_open_uri), (ev_window_add_recent), (ev_window_dispose):
3107 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3109 Transfer remote documents to tmp directory to display them later.
3111 2005-06-10 Marco Pesenti Gritti <mpg@redhat.com>
3113 * backend/ev-document-info.h:
3114 * shell/ev-properties.c: (ev_properties_new):
3116 s/GTime*/GTime. Not sure why we was using a pointer
3119 Wed Jun 8 01:04:22 2005 Jonathan Blandford <jrb@redhat.com>
3121 * shell/ev-sidebar-thumbnails.c: Use a GtkIconView in certain
3122 situations. That situation is that you're using GTK+-HEAD with
3123 the patch at #306726 is applied, and you have a document with <
3124 1500 pages in it. It's not quite as uniformly nice as the
3125 TreeView, but should be better in the long run.
3127 I'm pretty sure I guarded against breaking compilation with
3128 HAVE_GTK_ICON_VIEW_GET_VISIBLE_RANGE gaurds, though it's possible
3131 * shell/ev-window.c (ev_window_init): We don't have our tree/list
3132 widget yet, so I commented that code out
3133 enable_view_actions_for_widget() for now. Need to figure this
3136 * shell/ev-page-action.c (match_selected_cb): emit the right
3137 signals. Our cool C-l completion now works.
3139 2005-06-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3141 * backend/Makefile.am:
3142 * backend/ev-document-fonts.c:
3143 * backend/ev-document-links.c:
3144 * backend/ev-document.c: (ev_document_load):
3145 * backend/ev-document.h:
3146 * backend/ev-job-queue.c:
3147 * backend/ev-job-queue.h:
3148 * backend/ev-jobs.c:
3149 * backend/ev-jobs.h:
3150 * backend/ev-page-cache.c:
3151 * backend/ev-page-cache.h:
3153 EvPageCache and EvJobs are moved to shell.
3155 * lib/ev-file-helpers.c: (ev_file_helpers_shutdown),
3157 * lib/ev-file-helpers.h:
3159 New helper to work with temporary files
3161 * shell/Makefile.am:
3162 * shell/ev-application.c: (ev_application_open):
3163 * shell/ev-application.h:
3164 * shell/ev-job-queue.c: (remove_job_from_queue_locked),
3165 (remove_job_from_async_queue), (add_job_to_async_queue),
3166 (add_job_to_queue_locked), (notify_finished), (job_finished_cb),
3167 (handle_job), (search_for_jobs_unlocked),
3168 (no_jobs_available_unlocked), (ev_render_thread),
3169 (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
3170 (ev_job_queue_add_job), (move_job_async), (move_job),
3171 (ev_job_queue_update_job), (ev_job_queue_remove_job):
3172 * shell/ev-job-queue.h:
3173 * shell/ev-job-xfer.c: (ev_job_xfer_init), (ev_job_xfer_dispose),
3174 (ev_job_xfer_class_init), (ev_job_xfer_new), (ev_job_xfer_run):
3175 * shell/ev-job-xfer.h:
3176 * shell/ev-jobs.c: (ev_job_init), (ev_job_dispose),
3177 (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
3178 (ev_job_links_class_init), (ev_job_render_init),
3179 (ev_job_render_dispose), (ev_job_render_class_init),
3180 (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
3181 (ev_job_thumbnail_class_init), (ev_job_load_init),
3182 (ev_job_load_dispose), (ev_job_load_class_init), (ev_job_finished),
3183 (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
3184 (render_finished_cb), (ev_job_render_run), (ev_job_thumbnail_new),
3185 (ev_job_thumbnail_run), (ev_job_load_new), (ev_job_load_run):
3187 * shell/ev-page-action.c: (ev_page_action_set_document):
3188 * shell/ev-page-cache.c: (ev_page_cache_init),
3189 (ev_page_cache_class_init), (ev_page_cache_finalize),
3190 (ev_page_cache_new), (ev_page_cache_get_n_pages),
3191 (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
3192 (ev_page_cache_set_page_label), (ev_page_cache_set_link),
3193 (ev_page_cache_get_title), (ev_page_cache_get_size),
3194 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
3195 (ev_page_cache_get_height_to_page),
3196 (ev_page_cache_get_max_label_chars),
3197 (ev_page_cache_get_page_label),
3198 (ev_page_cache_has_nonnumeric_page_labels),
3199 (ev_page_cache_get_info), (ev_page_cache_next_page),
3200 (ev_page_cache_prev_page), (ev_page_cache_get):
3201 * shell/ev-page-cache.h:
3202 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_update_range),
3203 (ev_pixbuf_cache_clear_job_sizes),
3204 (ev_pixbuf_cache_add_jobs_if_needed),
3205 (ev_pixbuf_cache_set_page_range):
3206 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings):
3207 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document):
3208 * shell/ev-sidebar-thumbnails.c:
3209 (ev_sidebar_tree_selection_changed),
3210 (ev_sidebar_thumbnails_set_document):
3211 * shell/ev-statusbar.c: (ev_statusbar_destroy),
3212 (ev_statusbar_class_init), (ev_statusbar_init), (ev_statusbar_new),
3213 (ev_statusbar_get_context_id), (ev_statusbar_push),
3214 (ev_statusbar_pop), (ev_statusbar_set_maximized),
3215 (ev_statusbar_pulse), (ev_statusbar_show_progress),
3216 (ev_statusbar_set_progress):
3217 * shell/ev-statusbar.h:
3218 * shell/ev-view.c: (ev_view_set_document), (ev_view_find_next),
3219 (ev_view_find_previous):
3220 * shell/ev-window.c: (ev_window_is_empty),
3221 (ev_window_setup_document), (password_dialog_response),
3222 (ev_window_clear_jobs), (ev_window_load_job_cb),
3223 (ev_window_xfer_job_cb), (ev_window_open_uri),
3224 (ev_window_open_uri_list), (ev_window_cmd_recent_file_activate),
3225 (ev_window_print), (ev_window_print_range),
3226 (ev_window_state_event), (ev_window_cmd_view_reload),
3227 (menu_item_select_cb), (menu_item_deselect_cb),
3228 (view_status_changed_cb), (ev_window_dispose),
3229 (drag_data_received_cb), (ev_window_init):
3230 * shell/ev-window.h:
3231 * shell/main.c: (load_files):
3233 New statusbar to show progress on idle. Two new jobs -
3234 xfer job and load job to load document in background. And update
3235 of page_cache clients to new location of code.
3237 2005-06-08 Carlos Garcia Campos <carlosgc@gnome.org>
3239 * shell/ev-application.c, shell/ev-window.[ch]: Allow multiple
3240 selection in open dialog. It also remembers the last visited directory
3241 in the current session.
3243 2005-06-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3245 * shell/ev-properties.c: (ev_properties_new):
3246 * shell/ev-properties.h:
3247 * shell/ev-window.c: (ev_window_cmd_file_properties):
3249 Get document info from page cache instead of document itself.
3250 This should fix crash related to race conditions described in
3253 2005-06-07 Marco Pesenti Gritti <mpg@redhat.com>
3255 * ps/ps-document.c: (ps_document_init),
3256 (send_ps), (get_page_box), (output), (catchPipe), (input),
3257 (stop_interpreter), (file_length), (file_readable),
3258 (check_filecompressedb), (ps_document_enable_interpreter),
3259 (document_load), (ps_async_renderer_render_pixbuf):
3262 Big cleanup of the ps code
3264 2005-06-07 Marco Pesenti Gritti <mpg@redhat.com>
3266 * backend/Makefile.am:
3267 * backend/ev-async-renderer.c: (ev_async_renderer_get_type),
3268 (ev_async_renderer_class_init), (ev_async_renderer_render_pixbuf):
3269 * backend/ev-async-renderer.h:
3271 Add an async renderer interface (method + callback) which
3272 is useful for backends like ps.
3274 * backend/ev-job-queue.c: (remove_job_from_async_queue),
3275 (add_job_to_async_queue), (job_finished_cb), (handle_job),
3276 (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
3277 (ev_job_queue_add_job), (move_job_async), (move_job),
3278 (ev_job_queue_update_job), (ev_job_queue_remove_job):
3280 Add queues for async renderer, these are executed on the
3283 * backend/ev-jobs.c: (ev_job_render_new), (render_finished_cb),
3284 (ev_job_render_run):
3285 * backend/ev-jobs.h:
3287 If the backend support async renderer interface use it.
3289 * ps/ps-document.c: (ps_document_init), (push_pixbuf),
3290 (setup_pixmap), (ps_document_get_type),
3291 (ps_async_renderer_render_pixbuf),
3292 (ps_document_document_iface_init), (ps_async_renderer_iface_init):
3294 Implement async renderer interface.
3296 2005-06-07 Nickolay V. Shmyrev <<nshmyrev@yandex.ru>>
3298 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose):
3300 Cleanup links job on exit.
3302 2005-06-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3304 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
3305 (drag_data_get_cb), (drag_data_received_cb):
3306 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
3307 (drag_data_get_cb), (parse_item_list),
3308 (egg_toolbar_editor_load_actions):
3309 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
3310 (egg_toolbars_model_to_xml), (egg_toolbars_model_save),
3311 (parse_item_list), (parse_toolbars):
3312 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
3313 (dvi_pixbuf_put_pixel):
3315 Fix gcc 4.0 warnings
3317 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
3319 * ps/ps-document.c: (start_interpreter):
3321 Fix warning when loading ps
3323 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
3325 * ps/ps-document.c: (output):
3327 Fix crash when priting gs error messages.
3329 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
3331 * backend/ev-page-cache.c: (_ev_page_cache_new):
3332 * backend/ev-page-cache.h:
3334 Use a const to return title so that we dont double
3335 free it. Small cleanup and fix a leak.
3337 * shell/ev-window.c: (update_window_title):
3339 strdup value from get_title.
3341 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
3343 * shell/ev-sidebar-links.c: (job_finished_callback),
3344 (ev_sidebar_links_set_document):
3346 Cleanup the old job when changing document
3348 2005-06-05 Nickolay V. Shmyrev <<nshmyrev@yandex.ru>>
3350 * shell/ev-stock-icons.c:
3351 * shell/ev-stock-icons.h:
3352 * shell/ev-window.c:
3354 Add stock icons for actions that can appear in toolbar. Fix for
3357 2005-06-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3359 * backend/ev-page-cache.c: (ev_page_cache_finalize),
3360 (_ev_page_cache_new), (ev_page_cache_get_max_width),
3361 (ev_page_cache_get_max_height), (ev_page_cache_get_height_to_page):
3362 * backend/ev-page-cache.h:
3363 * shell/ev-view.c: (scroll_to_current_page),
3364 (view_update_range_and_current_page), (get_page_y_offset),
3365 (get_page_extents), (ev_view_size_request_continuous_dual_page),
3366 (ev_view_size_request_continuous),
3367 (ev_view_zoom_for_size_continuous_and_dual_page),
3368 (ev_view_zoom_for_size_continuous):
3370 More compact EvView layout in document with pages of different size.
3372 Sat Jun 4 19:20:57 2005 Jonathan Blandford <jrb@redhat.com>
3374 * shell/ev-window.c (ev_window_cmd_file_properties): fix
3377 2005-06-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3379 * shell/ev-view.c: (view_set_adjustment_values):
3380 * shell/ev-window.c: (ev_window_cmd_file_properties):
3382 A bit different fix for rounding problem but it has no
3383 problems on startup. Make properties window transient to parent.
3385 2005-06-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3387 * pdf/ev-poppler.cc:
3389 More commenting of font stuff.
3391 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
3393 * pdf/ev-poppler.cc:
3395 Comment out some more fonts stuff. Should really
3396 work without the poppler patch now.
3398 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
3400 * pdf/ev-poppler.cc:
3404 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
3406 * data/evince-properties.glade:
3407 * pdf/ev-poppler.cc:
3408 * shell/ev-properties.c: (setup_fonts_view):
3410 Set the column title. Show the dialog only
3411 once everything is setup.
3412 Getting font info can be very slow... will
3413 prolly need to make this threaded too.
3415 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
3417 * backend/Makefile.am:
3418 * backend/ev-document-fonts.c: (ev_document_fonts_get_type),
3419 (ev_document_fonts_get_fonts_model):
3420 * backend/ev-document-fonts.h:
3421 * data/evince-properties.glade:
3422 * pdf/ev-poppler.cc:
3423 * shell/ev-properties.c: (setup_fonts_view), (ev_properties_new):
3424 * shell/ev-properties.h:
3425 * shell/ev-window.c: (ev_window_cmd_file_properties):
3427 Implement fonts list. Defined out for now, since it depends
3428 on a not yet committed poppler patch.
3430 Fri Jun 3 21:07:57 2005 Jonathan Blandford <jrb@redhat.com>
3432 * shell/ev-view.c (get_page_extents): other_page isn't necessarily
3435 * shell/ev-window.c: Make sure we add the timeout when we get a
3438 * shell/ev-view.c (view_set_adjustment_values): Add 0.5 to
3439 adjustment->value before calculating the zoom factor to average
3440 out all of our rounding errors. The page no longer 'drifts' when
3443 2005-06-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3445 * data/evince-properties.glade:
3446 * shell/ev-properties.c: (ev_properties_format_date),
3449 Labels don't expand when the dialogue is resized.
3450 strftime result needs to be converted to UTF-8. Thanks
3451 to Christian Persch <chpe@gnome.org>.
3453 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
3455 * data/evince-properties.glade:
3459 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
3461 * backend/ev-document-info.h:
3462 * backend/ev-document.c: (ev_document_info_free):
3463 * data/evince-properties.glade:
3464 * pdf/ev-poppler.cc:
3465 * ps/ps-document.c: (ps_document_get_info):
3466 * shell/ev-properties.c: (ev_properties_format_date),
3467 (set_property), (ev_properties_new):
3468 * shell/ev-properties.h:
3469 * shell/ev-window.c: (ev_window_cmd_file_properties):
3471 Rework properties code to take only EvPropertyInfo
3472 in the constructor so that it can be useful for
3473 nautilus plugin too.
3475 Deal with backends that doesnt support some properties.
3476 Make set property code generic.
3478 2005-06-04 Christian Persch <chpe@gnome.org>
3480 * data/evince-properties.glade:
3482 fix spacings, make resizeable, and make data labels
3483 selectable + ellipsised
3485 2005-06-03 Marco Pesenti Gritti <mpg@redhat.com>
3487 * backend/ev-document-info.h:
3489 * data/evince-ui.xml:
3490 * pdf/ev-poppler.cc:
3491 * shell/Makefile.am:
3492 * shell/ev-window.c: (update_action_sensitivity),
3493 (ev_window_cmd_file_properties):
3495 Initial go at file properties. Patch by
3496 Emil Soleyman-Zomalan <emil@soleyman.com>.
3497 Needs love see #169583
3499 2005-06-02 Marco Pesenti Gritti <mpg@redhat.com>
3501 * ps/ps-document.c: (output):
3502 * ps/ps.c: (psscan):
3504 Try to render even if psscan fails.
3506 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
3508 * ps/ps.c: (psscan), (pscopydoc):
3510 Port buffered reading code from gv
3512 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
3514 * ps/ps-document.c: (interpreter_message), (output):
3516 Do not fail on interpreter messages
3518 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
3520 * backend/ev-document-misc.c:
3521 (ev_document_misc_get_thumbnail_frame):
3523 Pages can be 0 x 0, dont assert on this case
3525 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
3527 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
3528 (ev_sidebar_links_class_init), (ev_sidebar_links_set_document):
3530 Correctly manage our reference on document. Finally the reload
3531 huge leak is gone...
3533 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
3535 * ps/ps-document.c: (ps_document_dispose):
3537 Forgot to chain it to the parent. Thanks chpe.
3539 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
3541 * ps/ps-document.c: (ps_document_dispose),
3542 (ps_document_class_init), (stop_interpreter), (document_load):
3544 Cleanup dispose a bit. Dont leak the whole pixmap.
3546 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
3548 * pdf/ev-poppler.cc:
3550 Release the poppler document on dispose
3552 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
3554 * shell/ev-view.c: (ev_view_set_document):
3556 Release ref on the pixbuf cache when changing
3559 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
3561 * ps/ps-document.c: (ps_document_get_info):
3565 2005-05-31 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
3567 * backend/ev-page-cache.c: (ev_page_cache_init),
3568 (_ev_page_cache_new), (ev_page_cache_get_max_label_chars):
3569 * backend/ev-page-cache.h:
3570 * shell/ev-page-action.c: (page_changed_cb):
3572 Set page action entry width depending on labels width. Fix
3575 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
3577 * backend/ev-link.c: (ev_link_class_init):
3579 Allow -1 as page value (error)
3581 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
3583 * shell/ev-sidebar-thumbnails.c:
3584 (ev_sidebar_thumbnails_set_document):
3585 * shell/ev-view.c: (scroll_to_current_page),
3586 (view_set_adjustment_values), (ev_view_set_scroll_adjustments),
3587 (page_changed_cb), (on_adjustment_value_changed),
3588 (ev_view_set_document):
3590 Slightly modified patch by Nickolay V. Shmyrev <nshmyrev@yandex.ru>.
3593 2005-05-29 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3596 * djvu/djvu-document.c: (djvu_document_get_page_size):
3598 Require djvulibre CVS. Now djvu loading is much faster. Fix for
3601 Sat May 28 07:38:03 2005 Jonathan Blandford <jrb@redhat.com>
3603 * shell/ev-view.c (draw_one_page): modify the expose handling to
3606 * shell/ev-window.c (update_action_sensitivity): Respect
3607 permissions field. Kowtow to the man.
3609 * pdf/ev-poppler.cc: Get the permissions field.
3611 * tiff/*c: Make a tiny bit more robust.
3613 2005-05-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3615 * djvu/djvu-document.c:
3617 Pop messages from djvu context message queue.
3619 2005-05-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3621 * configure.ac, Makefile.am, shell/Makefile.am:
3622 * tiff/Makefile.am, shell/ev-document-types.c:
3624 Cleanup tiff configure checks. Fix for bug 305218.
3626 2005-05-24 Maxim V. Dziumanenko <mvd@mylinux.ua>
3628 * configure.ac: Added "uk" to ALL_LINGUAS.
3630 2005-05-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3632 * cut-n-paste/zoom-control/ephy-zoom.c:
3633 (ephy_zoom_get_changed_zoom_level):
3634 * cut-n-paste/zoom-control/ephy-zoom.h:
3635 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_set_property),
3636 (ev_view_get_property), (ev_view_class_init), (ev_view_set_zoom):
3637 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
3638 (ev_window_cmd_view_zoom_out), (ev_window_zoom_changed_cb),
3639 (zoom_control_changed_cb), (ev_window_init):
3641 Fix minor points related to moving best fit up. Introduce
3642 "zoom" property and make zoom control change it's value on
3643 notify::zoom signals. Fix for 305080.
3645 2005-05-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3647 * data/evince-ui.xml:
3648 * shell/ev-window.c: (set_view_actions_sensitivity):
3650 Use + and - as accels for zoom in and zoom out. Fix for 305001.
3652 2005-05-22 Marco Pesenti Gritti <mpg@redhat.com>
3656 Depends on poppler 0.3.2
3658 2005-05-22 Marco Pesenti Gritti <mpg@redhat.com>
3660 * cut-n-paste/recent-files/egg-recent-item.c:
3661 (egg_recent_item_get_short_name):
3662 * cut-n-paste/toolbar-editor/Makefile.am:
3663 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
3664 (new_pixbuf_from_widget):
3665 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
3666 * cut-n-paste/toolbar-editor/egg-marshal.c:
3667 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
3668 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
3672 Sat May 21 23:18:30 2005 Jonathan Blandford <jrb@redhat.com>
3674 * tiff/tiff-document.c: Rough TIFF backend.
3676 2005-05-21 Marco Pesenti Gritti <mpg@redhat.com>
3680 * cut-n-paste/toolbar-editor/Makefile.am:
3684 2005-05-21 Marco Pesenti Gritti <mpg@redhat.com>
3686 * shell/ev-view.c: (jump_to_find_result), (ev_view_can_find_next),
3687 (ev_view_find_next), (ev_view_find_previous):
3689 Remove the locks around get_n_results
3691 2005-05-21 Juerg Billeter <j@bitron.ch>
3693 * pdf/ev-poppler.c: (pdf_document_ps_exporter_begin):
3695 Pass correct number of pages to poppler.
3697 2005-05-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3701 * data/evince.desktop.in:
3702 * data/evince.desktop.in.in:
3705 Add conditionally dvi and djvu to desktop types. Fix for 304658.
3707 Sat May 21 00:21:30 2005 Jonathan Blandford <jrb@redhat.com>
3709 * shell/ev-view.c: (view_update_adjustments),
3710 (view_set_adjustment_values): cast adjustmen->value to (int)
3711 before using it. Otherwise, we get off by a pixel in some
3714 (draw_one_page): Draw the border on expose.
3716 Fri May 20 22:05:25 2005 Jonathan Blandford <jrb@redhat.com>
3718 * *shell/ev-view.c: Patch from Nickolay V. Shmyrev to reset the
3719 adjustment when the mode changes, #304923
3721 Fri May 20 02:00:03 2005 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3723 * shell/ev-view.c: Use gdk_widget_queue_draw to remove
3724 flickering on resize but still use gdk_window_scroll on
3727 Fri May 20 01:46:57 2005 Jonathan Blandford <jrb@redhat.com>
3729 * shell/ev-view.c: Patch from Nickolay Shmyrev to fix the -p
3732 Fri May 20 01:27:01 2005 Jonathan Blandford <jrb@redhat.com>
3734 * shell/ev-view.c: Patch from Nickolay Shmyrev to to scroll to
3735 second page on page_changed if possible, #304669
3737 Fri May 20 01:07:15 2005 Jonathan Blandford <jrb@redhat.com>
3739 * shell/ev-view.c (view_update_adjustments): Use gdk_window_scroll
3740 instead of gtk_widget_queue_draw. Massive speedups in scrolling.
3742 Fri May 20 01:05:10 2005 Jonathan Blandford <jrb@redhat.com>
3745 * shell/ev-view.c:(ev_view_size_allocate), (ev_view_class_init),
3746 (zoom_for_size_fit_width), (zoom_for_size_best_fit),
3747 (ev_view_zoom_for_size_presentation),
3748 (ev_view_zoom_for_size_continuous_and_dual_page),
3749 (ev_view_zoom_for_size_continuous),
3750 (ev_view_zoom_for_size_dual_page),
3751 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size):
3753 * shell/ev-window.c: (update_view_size),
3754 (ev_window_sizing_mode_changed_cb):
3756 Patch from Nickolay Shmyrev <nshmyrev@yandex.ru> to handle
3757 the scrollbars. It's not 100% right, but it's much closer. Kills
3758 an infinite loop, #304769
3761 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
3763 * data/evince-ui.xml:
3764 * shell/ev-view.c: (ev_view_scroll_view), (ev_view_class_init):
3765 * shell/ev-window.c: (set_view_actions_sensitivity):
3767 Make PgUp/Down behave like Space
3769 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
3771 * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
3772 * backend/ev-ps-exporter.h:
3773 * pdf/ev-poppler.cc:
3774 * ps/ps-document.c: (ps_document_ps_export_begin):
3775 * shell/ev-print-job.c: (idle_print_handler):
3777 Adapt to new poppler api
3779 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
3781 * cut-n-paste/zoom-control/ephy-zoom-control.c:
3782 (ephy_zoom_control_init):
3784 Translate zoom levels
3786 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
3788 * cut-n-paste/zoom-control/ephy-zoom.c:
3789 (ephy_zoom_get_zoom_level_index):
3791 Fix current zoom -> zoom control match
3793 2005-05-18 James Bowes <bowes@cs.dal.ca>
3795 * shell/ev-window.c: (ev_window_init): Give focus to the ev-view,
3796 rather than the scrolled_window that it's in. Fixes bug #304655.
3798 Tue May 17 22:54:17 2005 Jonathan Blandford <jrb@redhat.com>
3800 * shell/ev-view.c: (view_update_adjustments),
3801 (view_set_adjustment_values), (view_update_range_and_current_page),
3802 (view_scroll_to_page), (set_scroll_adjustment),
3803 (ev_view_set_scroll_adjustments), (add_scroll_binding_keypad),
3804 (ev_view_scroll), (ev_view_scroll_view),
3805 (ensure_rectangle_is_visible), (find_page_at_location),
3806 (get_link_at_location), (go_to_link), (status_message_from_link),
3807 (ev_view_size_request_continuous_dual_page),
3808 (ev_view_size_request), (ev_view_size_allocate), (ev_view_realize),
3809 (ev_view_unrealize), (ev_view_expose_event),
3810 (ev_view_button_press_event), (ev_view_motion_notify_event),
3811 (ev_view_button_release_event), (ev_gdk_color_to_rgb),
3812 (draw_rubberband), (highlight_find_results), (draw_one_page),
3813 (ev_view_finalize), (ev_view_destroy), (ev_view_class_init),
3814 (ev_view_init), (find_changed_cb), (page_changed_cb),
3815 (on_adjustment_value_changed), (ev_view_new),
3816 (ev_view_set_document), (ev_view_set_zoom),
3817 (ev_view_set_continuous), (ev_view_set_dual_page),
3818 (ev_view_set_presentation), (ev_view_zoom_in), (ev_view_zoom_out),
3819 (zoom_for_size_fit_width), (zoom_for_size_best_fit),
3820 (ev_view_zoom_for_size_presentation),
3821 (ev_view_zoom_for_size_continuous_dual_page),
3822 (ev_view_zoom_for_size_continuous),
3823 (ev_view_zoom_for_size_dual_page),
3824 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
3825 (ev_view_get_status), (ev_view_set_status),
3826 (update_find_status_message), (ev_view_get_find_status),
3827 (ev_view_set_find_status), (jump_to_find_result),
3828 (jump_to_find_page), (compute_selections), (clear_selection),
3829 (ev_view_select_all), (get_selected_text), (ev_view_copy),
3830 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
3831 (ev_view_update_primary_selection),
3832 (ev_view_create_invisible_cursor), (ev_view_set_cursor):
3834 * shell/ev-window.c: (ev_window_open_page_label),
3835 (ev_window_cmd_view_reload), (ev_window_sizing_mode_changed_cb),
3837 * shell/ev-window.h:
3838 * shell/main.c: (load_files):
3840 Massive code clean up from Nickolay Shmyrev. Keep page offset
3841 when resizing. Remove the bin_window(). Also, patch from James
3842 Bowes to fix command line page, #300641
3844 2005-05-17 Marco Pesenti Gritti <mpg@redhat.com>
3846 * data/evince-ui.xml:
3849 * shell/ev-window.c: (update_action_sensitivity):
3851 Get rid of View->Normal Size, it's just confusing
3853 Tue May 17 00:51:21 2005 Jonathan Blandford <jrb@redhat.com>
3855 * backend/ev-document-info.h:
3856 * backend/ev-document.c: (ev_document_info_free): Free the
3859 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
3860 (clear_range), (add_range), (update_visible_range),
3861 (adjustment_changed_cb), (ev_sidebar_thumbnails_init),
3862 (ev_sidebar_thumbnails_set_document):
3863 * shell/ev-window.c: (ev_window_setup_document): Only render the
3864 visible thumbnails. It takes an instant to render, but it uses
3867 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
3869 * shell/ev-sidebar-links.c: (popup_menu_cb):
3873 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
3876 * shell/ev-sidebar-links.c: (build_popup_menu), (popup_menu_cb),
3877 (button_press_cb), (ev_sidebar_links_construct):
3879 Show the popup menu also on keybindings
3881 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
3883 * shell/ev-window.c: (ev_window_print), (ev_window_print_range):
3884 * shell/ev-window.h:
3886 Expose api to print a range (with dialog). Make private _print use
3889 * shell/ev-sidebar-links.c: (print_section_cb), (button_press_cb),
3890 (ev_sidebar_links_construct):
3892 Show a print context menu on linkx, it prints the selected
3895 2005-05-15 Carlos Garcia Campos <carlosgc@gnome.org>
3897 * shell/ev-sidebar.c: make the drop down menu as width as the toggle
3900 2005-05-12 Marco Pesenti Gritti <mpg@redhat.com>
3906 * shell/ev-window.c: (build_comments_string),
3907 (ev_window_cmd_help_about):
3909 Show poppler version/backend and authors
3911 2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
3913 * cut-n-paste/zoom-control/ephy-zoom.c:
3914 (ephy_zoom_get_zoom_level_index):
3915 * cut-n-paste/zoom-control/ephy-zoom.h:
3917 Move the best fit items at the top of the list
3919 2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
3921 * shell/ev-marshal.list:
3922 * shell/ev-page-action.c: (ev_page_action_widget_class_init),
3923 (activate_cb), (match_selected_cb), (activate_link_cb),
3924 (connect_proxy), (ev_page_action_class_init):
3925 * shell/ev-page-action.h:
3927 Use signals to notify action activation. Hopefully
3928 I did not break completion since I cant test...
3930 * shell/ev-window.c: (activate_link_cb), (activate_label_cb),
3931 (register_custom_actions):
3933 Connect to page selector actions and also grab focus on
3934 the view when activated.
3936 Wed May 11 01:18:29 2005 Jonathan Blandford <jrb@redhat.com>
3938 * pdf/ev-poppler.cc:
3939 * backend/ev-page-cache.c: make page size calculation consistent
3940 and set it to (int)( width * scale + 0.5). This makes the weird
3941 line going through the middle of the page go away.
3943 * shell/ev-view.c: move painting the background page after
3944 checking the expose area covers us.
3946 2005-05-11 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3948 * data/evince-password.glade:
3950 Mark labels as not translatable. Fix for bug 302842.
3952 2005-05-10 Francisco Javier F. Serrador <serrador@cvs.gnome.org>
3954 * configure.ac: Added "es" to ALL_LINGUAS.
3956 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3958 * data/evince-toolbar.xml:
3959 * shell/ev-window.c: (update_action_sensitivity),
3960 (ev_window_setup_document), (ev_window_set_page_mode),
3963 Remove some leftover code from jrb first continous
3964 attempt. Use the new actions, we still need good icons
3967 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3969 * shell/ev-page-action.c: (update_pages_label), (connect_proxy):
3971 Update label when connecting proxy. Fix a warning with NULL
3974 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3976 * data/evince-ui.xml:
3977 * shell/ev-page-action.c: (ev_page_action_grab_focus):
3978 * shell/ev-page-action.h:
3979 * shell/ev-window.c: (ev_window_cmd_focus_page_selector):
3981 Add mnemonic for edit toolbar.
3982 ctrl+l focus the page entry.
3984 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3987 * shell/ev-window.c: (ev_window_cmd_edit_toolbar_cb),
3989 * shell/main.c: (main):
3991 Put the toolbar xml in evince own dot dir
3993 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3995 * shell/ev-window.c: (ev_window_init):
3997 Make the toolbar not removable
3999 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
4001 * data/evince-ui.xml:
4002 * shell/ev-sidebar-links.c: (ev_sidebar_links_get_treeview):
4003 * shell/ev-sidebar-links.h:
4004 * shell/ev-sidebar-thumbnails.c:
4005 (ev_sidebar_thumbnails_get_treeview):
4006 * shell/ev-sidebar-thumbnails.h:
4007 * shell/ev-view.c: (ev_view_scroll), (ev_view_scroll_view),
4008 (ev_view_class_init):
4010 * shell/ev-window.c: (update_action_sensitivity),
4011 (ev_window_cmd_scroll_forward), (ev_window_cmd_scroll_backward),
4012 (set_view_actions_sensitivity), (view_actions_focus_in_cb),
4013 (view_actions_focus_out_cb), (enable_view_actions_for_widget),
4016 This is evil... Make space/backspace global accelerators but
4017 enable them only for some widgets (sidebars and view).
4018 I dont like it, but I dont know a better way... :/
4020 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
4022 * shell/ev-page-action.c: (ev_page_action_widget_set_page_cache),
4023 (ev_page_action_widget_finalize),
4024 (ev_page_action_widget_class_init), (update_page_cache):
4026 Keep a weak reference on proxy->page_cache so that we
4027 dont try to disconnect the signal if the object is already
4028 gone. Maybe there is a better way to cleanup reference handling
4029 in page action though...
4031 2005-05-10 Juerg Billeter <j@bitron.ch>
4033 * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
4034 * backend/ev-ps-exporter.h:
4035 * pdf/ev-poppler.cc: (pdf_document_ps_exporter_begin):
4036 * ps/ps-document.c: (ps_document_ps_export_begin):
4038 Change api to pass print range to ps_exporter_begin. The pdf backend
4039 requires this information.
4041 * shell/ev-print-job.c: (idle_print_handler):
4045 2005-05-10 Juerg Billeter <j@bitron.ch>
4047 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
4048 (idle_print_handler)
4049 * shell/ev-window.c: (ev_window_print):
4051 Support printing page range, based on patch by Amaury Jacquot
4053 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
4055 * data/evince-toolbar.xml:
4057 Add zoom control to available items
4059 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
4061 * shell/ev-window.c: (update_action_sensitivity):
4063 Set slash action insensitive when appropriate
4065 2005-05-10 Christian Persch <chpe@gnome.org>
4067 * cut-n-paste/zoom-control/ephy-zoom-action.c: (create_menu_item):
4069 Fix warning on the overflow menu
4071 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
4073 * shell/ev-window.c: (sanity_check_uri), (ev_window_open):
4075 Check for uri correctness/existence
4077 2005-05-09 Juerg Billeter <j@bitron.ch>
4079 * shell/ev-window.c: (using_postscript_printer):
4081 LPD printers use postscript, too
4083 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
4085 * shell/ev-window.c: (register_custom_actions):
4087 The zoom one is actually sort of useful,
4090 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
4092 * shell/ev-window.c: (register_custom_actions):
4094 Hide page/zoom controls from overflow, they
4097 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
4099 * cut-n-paste/update-from-egg.sh:
4101 Share it between all cut-n-paste subdirs
4103 * cut-n-paste/recent-files/Makefile.am:
4105 Fix to use "global" update-from-egg.sh
4107 * cut-n-paste/recent-files/egg-recent-model.c:
4108 (egg_recent_model_changed_timeout), (egg_recent_model_finalize):
4109 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
4110 (egg_recent_view_gtk_clear), (egg_recent_view_gtk_set_list),
4111 (egg_recent_view_gtk_finalize), (egg_recent_view_gtk_set_menu):
4115 * cut-n-paste/toolbar-editor/Makefile.am:
4117 Fix to use "global" update-from-egg.sh
4119 * cut-n-paste/toolbar-editor/eggmarshalers.list:
4123 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
4126 * cut-n-paste/Makefile.am:
4127 * cut-n-paste/recent-files/Makefile.am:
4128 * cut-n-paste/toolbar-editor/.cvsignore:
4129 * cut-n-paste/toolbar-editor/Makefile.am:
4130 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
4131 (egg_editable_toolbar_get_type), (get_toolbar_position),
4132 (get_n_toolbars), (get_dock_nth), (get_toolbar_nth), (find_action),
4133 (drag_data_delete_cb), (drag_begin_cb), (drag_end_cb),
4134 (drag_data_get_cb), (set_drag_cursor), (unset_drag_cursor),
4135 (set_item_drag_source), (create_item_from_action), (create_item),
4136 (data_is_separator), (drag_data_received_cb), (remove_toolbar_cb),
4137 (popup_toolbar_context_menu_cb), (free_dragged_item),
4138 (toolbar_drag_drop_cb), (toolbar_drag_motion_cb),
4139 (toolbar_drag_leave_cb), (create_dock), (set_fixed_style),
4140 (unset_fixed_style), (toolbar_changed_cb), (unparent_fixed),
4141 (update_fixed), (toolbar_added_cb), (toolbar_removed_cb),
4142 (item_added_cb), (item_removed_cb),
4143 (egg_editable_toolbar_construct),
4144 (egg_editable_toolbar_disconnect_model),
4145 (egg_editable_toolbar_deconstruct),
4146 (egg_editable_toolbar_set_model),
4147 (egg_editable_toolbar_set_ui_manager),
4148 (egg_editable_toolbar_set_property),
4149 (egg_editable_toolbar_get_property),
4150 (egg_editable_toolbar_class_init), (egg_editable_toolbar_init),
4151 (egg_editable_toolbar_finalize), (egg_editable_toolbar_new),
4152 (egg_editable_toolbar_new_with_model),
4153 (egg_editable_toolbar_get_edit_mode),
4154 (egg_editable_toolbar_set_edit_mode), (egg_editable_toolbar_show),
4155 (egg_editable_toolbar_hide), (egg_editable_toolbar_set_fixed),
4156 (egg_editable_toolbar_set_drag_dest), (fake_expose_widget),
4157 (new_pixbuf_from_widget), (new_separator_pixbuf),
4158 (update_separator_image), (style_set_cb),
4159 (_egg_editable_toolbar_new_separator_image),
4160 (egg_editable_toolbar_get_model):
4161 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
4162 * cut-n-paste/toolbar-editor/egg-marshal.c:
4163 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
4164 (egg_toolbar_editor_get_type), (compare_actions), (find_action),
4165 (egg_toolbar_editor_set_ui_manager), (toolbar_removed_cb),
4166 (egg_toolbar_editor_set_model), (egg_toolbar_editor_set_property),
4167 (egg_toolbar_editor_get_property), (egg_toolbar_editor_class_init),
4168 (egg_toolbar_editor_finalize), (egg_toolbar_editor_new),
4169 (drag_begin_cb), (drag_end_cb), (editor_drag_data_received_cb),
4170 (editor_drag_data_delete_cb), (drag_data_get_cb),
4171 (elide_underscores), (set_drag_cursor), (event_box_realize_cb),
4172 (editor_create_item), (update_editor_sheet), (setup_editor),
4173 (egg_toolbar_editor_init), (egg_toolbar_editor_add_action),
4174 (parse_item_list), (model_has_action), (update_actions_list),
4175 (egg_toolbar_editor_load_actions):
4176 * cut-n-paste/toolbar-editor/egg-toolbar-editor.h:
4177 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
4178 (egg_toolbars_model_get_type), (egg_toolbars_model_to_xml),
4179 (safe_save_xml), (egg_toolbars_model_save), (toolbars_toolbar_new),
4180 (toolbars_item_new), (free_toolbar_node), (free_item_node),
4181 (egg_toolbars_model_get_flags), (egg_toolbars_model_set_flags),
4182 (egg_toolbars_model_add_separator), (impl_add_item),
4183 (parse_item_list), (egg_toolbars_model_add_toolbar),
4184 (parse_toolbars), (egg_toolbars_model_load), (impl_get_item_id),
4185 (impl_get_item_data), (impl_get_item_type),
4186 (_egg_accumulator_STRING), (egg_toolbars_model_class_init),
4187 (egg_toolbars_model_init), (free_toolbar),
4188 (egg_toolbars_model_finalize), (egg_toolbars_model_new),
4189 (egg_toolbars_model_remove_toolbar),
4190 (egg_toolbars_model_remove_item), (egg_toolbars_model_move_item),
4191 (egg_toolbars_model_n_items), (egg_toolbars_model_item_nth),
4192 (egg_toolbars_model_n_toolbars), (egg_toolbars_model_toolbar_nth),
4193 (egg_toolbars_model_add_item), (egg_toolbars_model_get_item_id),
4194 (egg_toolbars_model_get_item_data),
4195 (egg_toolbars_model_get_item_type):
4196 * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
4197 * cut-n-paste/toolbar-editor/eggmarshalers.list:
4199 * data/evince-toolbar.xml:
4200 * data/evince-ui.xml:
4201 * data/hand-open.png:
4203 * shell/Makefile.am:
4204 * shell/ev-window.c: (update_chrome_visibility),
4205 (ev_window_cmd_edit_toolbar_cb), (ev_window_cmd_edit_toolbar),
4206 (ev_window_dispose), (ev_window_init):
4208 Implement epiphany like toolbar editor. Based on patch by
4209 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4211 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
4213 * shell/ev-sidebar-thumbnails.c: (page_changed_cb):
4215 Use set_cursor instead of set_selection, so that
4216 the keyboard focus moves too.
4218 2005-05-09 Aleksey Kliger <akliger@gmail.com>
4220 * dvi/mdvi-lib/tfmfile.c: (lookup_font_metrics):
4222 Fix infinite loop when loading Type1 fonts
4224 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
4226 * data/evince-ui.xml:
4227 * shell/ev-window.c:
4231 2005-05-09 Thomas de Grenier de Latour <degrenier@easyconnect.fr>
4235 Make --disable really disable
4237 2005-05-07 Juerg Billeter <j@bitron.ch>
4239 * backend/ev-page-cache.c: (ev_page_cache_set_page_label):
4241 Compare page labels even without has_labels set, fixes setting page
4244 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
4246 * shell/ev-view.c: (ev_view_create_invisible_cursor),
4247 (ev_view_set_cursor), (ev_view_button_press_event),
4248 (ev_view_motion_notify_event), (ev_view_button_release_event),
4251 Implement middle button scrolling. Based on a patch
4252 by Tommi Komulainen <tommi.komulainen@iki.fi>.
4254 2005-05-08 Marco Pesenti Gritti <mpg@redhat.com>
4256 * shell/ev-document-types.c: (get_slow_mime_type),
4257 (get_document_type_from_mime), (ev_document_type_lookup):
4258 * shell/ev-document-types.h:
4260 Change api to lookup from uri. Do fast lookup first, if the
4261 type is unknown try with data sniffing.
4263 * shell/ev-window.c: (ev_window_open), (ev_window_open_uri_list):
4264 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
4268 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
4270 * thumbnailer/Makefile.am:
4274 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
4281 * data/evince-ui.xml:
4283 Hide presentation mode for now
4285 * shell/ev-view.c: (highlight_find_results):
4287 Show current find selection only on current page
4289 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
4291 * shell/ev-view.c: (ev_view_select_all):
4293 Compute size of the actual page, not of
4296 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
4298 * shell/ev-view.c: (clear_selection), (ev_view_finalize),
4299 (view_rect_to_doc_rect), (compute_selections),
4300 (ev_view_bin_expose), (ev_view_select_all), (get_selected_text),
4301 (ev_view_copy), (ev_view_primary_get_cb),
4302 (ev_view_primary_clear_cb), (ev_view_update_primary_selection),
4303 (ev_view_button_press_event), (ev_view_motion_notify_event),
4304 (ev_view_button_release_event), (page_changed_cb):
4308 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
4310 * shell/ev-view.c: (compute_border), (get_page_extents),
4311 (doc_rect_to_view_rect), (highlight_find_results),
4312 (ev_view_bin_expose), (ev_view_select_all),
4313 (ev_view_motion_notify_event), (update_find_status_message),
4314 (jump_to_find_result), (jump_to_find_page):
4316 First go at fixing search, still buggy
4318 2005-05-04 Kristian Høgsberg <krh@redhat.com>
4320 * shell/ev-sidebar.c (ev_sidebar_init): Remove frame around
4321 dropdown box and button at the top of the sidebar.
4323 2005-05-02 James Bowes <bowes@cs.dal.ca>
4325 * configure.ac: Output zoom-control Makefile.
4326 * cut-n-paste/Makefile.am: build zoom-control subdir.
4327 * cut-n-paste/zoom-control/ephy-zoom-action.c:
4328 * cut-n-paste/zoom-control/ephy-zoom-action.h:
4329 * cut-n-paste/zoom-control/ephy-zoom-control.c:
4330 * cut-n-paste/zoom-control/ephy-zoom-control.h:
4331 * cut-n-paste/zoom-control/ephy-zoom.c:
4332 * cut-n-paste/zoom-control/ephy-zoom.h: New files imported
4333 from epiphany, and modified to add a separator into the menu.
4334 * cut-n-paste/zoom-control/Makefile.am: Build zoom-control.
4335 * data/evince-ui.xml: Replace old zoom toolbar actions with new
4336 zoom-control action.
4337 * shell/Makefile.am: Include zoom-control flags.
4338 * shell/ev-view.c: (ev_view_set_zoom), (ev_view_get_zoom),
4339 (ev_view_get_sizing_mode), (ev_view_zoom_in), (ev_view_zoom_out),
4340 (ev_view_zoom_for_size_presentation),
4341 (ev_view_zoom_for_size_continuous_and_dual_page),
4342 (ev_view_zoom_for_size_continuous),
4343 (ev_view_zoom_for_size_dual_page),
4344 (ev_view_zoom_for_size_single_page), (ev_view_zoom_normal):
4345 s/ev_view_zoom/ev_view_set_zoom/ and make public, add
4346 ev_view_get_zoom and ev_view_get_sizing_mode.
4348 * shell/ev-window.c: (update_action_sensitivity),
4349 (update_sizing_buttons), (zoom_control_changed_cb),
4350 (register_custom_actions): Initialize and use the zoom-control
4353 Sun May 1 00:46:47 2005 Jonathan Blandford <jrb@redhat.com>
4355 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init): Change the
4356 preview cache back to 1. Don't know when it got set to 0.
4358 * shell/ev-view.c: (compute_border), (ev_view_realize),
4359 (draw_one_page), (ev_view_set_property), (ev_view_get_property),
4360 (ev_view_class_init), (ev_view_init), (ev_view_set_fullscreen),
4361 (ev_view_get_fullscreen), (ev_view_set_presentation),
4362 (ev_view_get_presentation), (ev_view_set_sizing_mode),
4363 (ev_view_zoom_for_size_presentation), (ev_view_set_zoom_for_size):
4365 * shell/ev-window.c:
4366 (update_chrome_visibility),
4367 (ev_window_cmd_continuous), (ev_window_cmd_dual),
4368 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
4369 (update_document_mode), (ev_window_update_fullscreen_action),
4370 (ev_window_fullscreen), (ev_window_unfullscreen),
4371 (ev_window_cmd_view_fullscreen),
4372 (ev_window_update_presentation_action),
4373 (ev_window_run_presentation), (ev_window_stop_presentation),
4374 (ev_window_cmd_view_presentation), (ev_window_state_event),
4375 (ev_window_focus_in_event), (ev_window_focus_out_event),
4376 (ev_window_cmd_escape), (ev_window_sidebar_visibility_changed_cb):
4377 * data/evince-ui.xml: Initial presentation mode. We should
4378 probably hide this until it's done, as it's quite rough. Also,
4379 change full-screen to fullscreen and add two getters to EvView.
4381 2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
4383 * shell/ev-page-action.c: (update_page_cache),
4384 (ev_page_action_dispose):
4385 * shell/ev-window.c: (destroy_fullscreen_popup),
4386 (ev_window_create_fullscreen_popup):
4388 Use connect_object rather than explicitly
4389 disconnect on dispose.
4391 2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
4393 * shell/ev-page-action.c: (update_page_cache),
4394 (ev_page_action_dispose):
4396 2005-04-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4398 * backend/ev-page-cache.c: (_ev_page_cache_new),
4399 (ev_page_cache_set_page_label),
4400 (ev_page_cache_has_nonnumeric_page_labels):
4401 * backend/ev-page-cache.h:
4402 * shell/ev-page-action.c: (update_pages_label):
4404 If all page labels are numeric, fallback to default
4405 way to display number of pages. See bug 173185.
4407 2005-04-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4409 * shell/ev-page-action.c: (ev_page_action_dispose):
4410 * shell/ev-view.c: (view_update_range_and_current_page):
4411 * shell/ev-window.c: (ev_window_dispose):
4413 Set page on scroll in continuous mode. Fixes bug 301986.
4414 Also cleanup callbacks on destroy of EvWindow and EvPageAction.
4416 2005-04-26 Marco Pesenti Gritti <mpg@redhat.com>
4420 Require poppler 0.3.0
4422 2005-04-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4424 * shell/Makefile.am, configure.ac: Fix build problems
4425 with t1lib. Bug 301996.
4427 2005-04-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4429 * shell/ev-view.c: (ev_view_scroll_event):
4431 Scroll up increase zoom
4433 2005-04-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4435 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_class_init),
4436 (ev_view_set_sizing_mode),
4437 (ev_view_zoom_for_size_continuous_and_dual_page),
4438 (ev_view_zoom_for_size_continuous):
4439 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
4440 (ev_window_cmd_view_page_width), (ev_window_cmd_view_zoom_in),
4441 (ev_window_cmd_view_zoom_out), (ev_window_sizing_mode_changed_cb),
4444 Control + Scroll does zooming, Shift + Scroll scrolls horizontally
4445 Fix for 165473 and 165472.
4447 2005-04-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4450 * thumbnailer/Makefile.am:
4451 * thumbnailer/evince-thumbnailer-djvu.schemas.in:
4452 * thumbnailer/evince-thumbnailer-dvi.schemas.in:
4453 * thumbnailer/evince-thumbnailer.schemas.in:
4455 Make thumbnailer schemas translatable. Fix for bug 301773
4457 * thumbnailer/evince-thumbnailer-djvu.schemas:
4458 * thumbnailer/evince-thumbnailer-dvi.schemas:
4459 * thumbnailer/evince-thumbnailer.schemas:
4463 Sun Apr 24 01:37:39 2005 Jonathan Blandford <jrb@redhat.com>
4465 * shell/ev-view.c (ev_view_init): forgot to set this.
4467 Sun Apr 24 01:07:27 2005 Jonathan Blandford <jrb@redhat.com>
4469 * shell/ev-view.c: (find_page_at_location),
4470 (get_link_at_location),
4471 (ev_view_set_show_border), (ev_view_set_spacing),
4472 (ev_view_zoom_for_size_continuous_and_dual_page),
4473 (ev_view_zoom_for_size_continuous): Fix links for dual/continuous.
4474 Also, add a quick fix measuring of widths. Also, removed
4475 ev_view_set_spacing and ev_view_set_show_border.
4477 * shell/ev-window.c: (ev_window_unfullscreen),
4478 (ev_window_cmd_view_fullscreen): Don't adjust the border/spacing.
4480 2005-04-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4482 * shell/ev-view.c: (view_update_range_and_current_page),
4485 Fix crash on exit and scrolling to page in continuous view.
4487 Sat Apr 23 13:13:04 2005 Jonathan Blandford <jrb@redhat.com>
4490 * backend/ev-page-cache.c: (_ev_page_cache_new),
4491 (ev_page_cache_get_max_width_size),
4492 (ev_page_cache_get_max_height_size):
4493 * backend/ev-page-cache.h:
4494 * data/evince-ui.xml:
4495 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init):
4496 * shell/ev-view.c: (view_update_adjustments),
4497 (view_update_range_and_current_page), (get_bounding_box_size),
4498 (ev_view_size_request_continuous_and_dual_page),
4499 (ev_view_size_request_continuous),
4500 (ev_view_size_request_dual_page),
4501 (ev_view_size_request_single_page), (ev_view_size_request),
4502 (ev_view_size_allocate), (get_page_extents), (draw_one_page),
4503 (ev_view_bin_expose), (ev_view_expose_event),
4504 (ev_view_set_property), (ev_view_get_property),
4505 (ev_view_class_init), (ev_view_init), (ev_view_new),
4506 (page_changed_cb), (ev_view_zoom), (ev_view_set_continuous),
4507 (ev_view_set_dual_page), (ev_view_set_full_screen),
4508 (ev_view_set_presentation), (ev_view_set_sizing_mode),
4509 (ev_view_can_zoom_in), (ev_view_can_zoom_out), (ev_view_zoom_in),
4510 (ev_view_zoom_out), (zoom_for_size_fit_width),
4511 (zoom_for_size_best_fit),
4512 (ev_view_zoom_for_size_continuous_and_dual_page),
4513 (ev_view_zoom_for_size_continuous),
4514 (ev_view_zoom_for_size_dual_page),
4515 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
4516 (ev_view_show_cursor), (ev_sizing_mode_get_type):
4518 * shell/ev-window.c: (update_action_sensitivity),
4519 (ev_window_cmd_continuous), (ev_window_cmd_dual),
4520 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
4521 (update_sizing_buttons), (ev_window_cmd_view_zoom_in),
4522 (ev_window_cmd_view_zoom_out), (update_view_size),
4523 (ev_window_set_sizing_mode), (ev_window_init):
4525 Add Continuous and Dual page modes.
4527 2005-04-23 James Bowes <bowes@cs.dal.ca>
4529 * dvi/dvi-document.c: (dvi_document_load),
4530 (dvi_document_thumbnails_get_thumbnail),
4531 (dvi_document_init_params): Fix up some mixups between
4532 width and height to correct thumbnail rendering.
4534 2005-04-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4536 * dvi/mdvi-lib/private.h:
4537 * dvi/mdvi-lib/setup.c: (mdvi_init_kpathsea):
4539 Suppess output for kpathsea during font generation. Thanks to
4542 Fri Apr 22 19:57:46 2005 Jonathan Blandford <jrb@redhat.com>
4549 * Makefile.am: fix distcheck.
4551 2005-04-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4553 * shell/ev-sidebar-links.c: (selection_changed_callback),
4554 (update_page_callback), (row_activated_callback),
4555 (job_finished_callback), (ev_sidebar_links_set_document):
4557 Fix for bug #169901. Double click on links expands tree.
4559 2005-03-14 Bryan Clark <clarkbw@cvs.gnome.org>
4561 * shell/ev-window.c (ev_window_init): Removed fullscreen toolbar
4562 hard-coded style. Fix for bug 170111
4564 2005-04-22 Kristian Høgsberg <krh@redhat.com>
4566 * shell/ev-view.c (highlight_find_results): Remove unnecessary
4569 2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
4571 * thumbnailer/evince-thumbnailer.schemas: real fix for bug 172496
4573 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
4575 * pdf/ev-poppler.cc:
4576 * shell/ev-view.c: (highlight_find_results):
4578 Fix find on single page documents
4580 2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
4582 * data/evince.schemas.in: fix for bug 301390
4584 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
4586 * shell/ev-view.c: (ev_view_can_zoom_in), (ev_view_can_zoom_out),
4587 (ev_view_zoom_out), (ev_view_zoom_normal):
4589 * shell/ev-window.c: (update_action_sensitivity),
4590 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
4591 (ev_window_cmd_view_zoom_in), (ev_window_cmd_view_zoom_out),
4592 (ev_window_cmd_view_normal_size):
4594 Fix normal size zoom. Make zoom in/zoom out unsensitive when
4595 they are behyond the limits. Tweak MAX_ZOOM to 6, sucks but
4598 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
4602 Depend on 2.57, 2.59 doesnt seem to be necessary
4604 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
4606 * shell/ev-page-action.c: (update_pages_label), (page_changed_cb),
4609 Put back total number of pages as (1 of 1234)
4611 Thu Apr 21 23:37:52 2005 Jonathan Blandford <jrb@redhat.com>
4613 * shell/ev-pixbuf-cache.c (dispose_cache_job_info): actually
4616 * backend/ev-document.h: Remove EV_DOC_MUTEX in favor of a locking
4617 function. This helps debugging.
4619 2005-04-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4621 * djvu/djvu-document.c: (djvu_document_class_init),
4622 (djvu_document_get_info), (djvu_document_document_iface_init):
4623 * dvi/dvi-document.c: (dvi_document_class_init),
4624 (dvi_document_get_info), (dvi_document_document_iface_init):
4626 Dummy implementation of get_info method for dvi and djvu. Fix
4627 crashes with those backends
4629 2005-04-20 Marco Pesenti Gritti <mpg@redhat.com>
4631 * data/evince.desktop.in:
4633 Add application/x-gzpostscript
4635 2005-04-20 Bryan Clark <clarkbw@cvs.gnome.org>
4637 * data/evince.schemas.in: Added real long descriptions,
4640 * README: Added actual text, closes bug 171869
4642 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
4644 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
4648 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
4650 * backend/ev-document-info.h:
4652 s/GDate */GDate so we can just use g_free
4654 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
4656 * shell/ev-window.c: (update_document_mode),
4657 (ev_window_setup_document):
4659 Show the window in fullscreen when specified by
4662 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
4664 * backend/ev-document.c: (ev_document_class_init),
4665 (ev_document_get_info), (ev_document_render_pixbuf):
4666 * backend/ev-document.h:
4667 * backend/ev-page-cache.c: (_ev_page_cache_new):
4668 * pdf/ev-poppler.cc:
4669 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
4670 (pixbuf_document_get_info), (pixbuf_document_document_iface_init):
4671 * ps/ps-document.c: (ps_document_class_init), (document_load),
4672 (ps_document_get_info), (ps_document_document_iface_init):
4674 Remove get_title from the interface, we can just use document info
4676 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
4678 * backend/Makefile.am:
4679 * backend/ev-document.c: (ev_document_render_get_info):
4680 * backend/ev-document.h:
4681 * pdf/ev-poppler.cc:
4683 Initial support for document info. Based on jrb patch.
4685 2005-04-19 Paolo Borelli <pborelli@katamail.com>
4687 * shell/ev-window.c: (ev_window_state_event),
4688 (ev_window_class_init), (ev_window_init):
4690 Doesn't show resize grip when maximized. See bug #301053
4692 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4696 ev-sidebar-thumbnails now has translatable labels
4698 * shell/Makefile.am:
4699 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document),
4700 (ev_sidebar_links_support_document), (ev_sidebar_links_get_label),
4701 (ev_sidebar_links_page_iface_init):
4702 * shell/ev-sidebar-links.h:
4703 * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
4704 (ev_sidebar_page_support_document), (ev_sidebar_page_set_document),
4705 (ev_sidebar_page_get_label):
4706 * shell/ev-sidebar-page.h:
4707 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_new),
4708 (ev_sidebar_thumbnails_set_document),
4709 (ev_sidebar_thumbnails_support_document),
4710 (ev_sidebar_thumbnails_get_label),
4711 (ev_sidebar_thumbnails_page_iface_init):
4712 * shell/ev-sidebar-thumbnails.h:
4713 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
4714 (ev_sidebar_set_document):
4715 * shell/ev-sidebar.h:
4716 * shell/ev-window.c: (ev_window_setup_document), (ev_window_init):
4718 Small rework of sidebar code. Now sidebar pages should implement
4719 EvSidebarPage interface. That makes page management in EvSidebar
4720 easier. See bug #164811 for details
4722 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4724 * shell/ev-application.c: (ev_application_open):
4725 * shell/ev-document-types.c:
4727 Fix build error and small problem with application exit
4729 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4731 * thumbnailer/Makefile.am:
4732 * thumbnailer/evince-thumbnailer-djvu.schemas:
4733 * thumbnailer/evince-thumbnailer-dvi.schemas:
4735 Conditionally install schemas for djvu/dvi thumbnailer
4737 2005-04-18 David Malcolm <dmalcolm@redhat.com>
4739 * shell/ev-document-types.h:
4740 * shell/ev-document-types.c:
4741 New files, handling the mapping from mimetypes to backends
4743 * shell/ev-window.c:
4744 * thumbnailer/evince-thumbnailer.c:
4745 Use the ev-document-types code
4747 * shell/Makefile.am:
4748 Added new convenience library libevbackendfactory_la, containing
4749 the new mimetype->backend logic; moved the backends into it.
4751 * thumbnailer/Makefile.am:
4752 Make the thumbnailer link with the libevbackend.la convenience
4753 library, rather than having a duplicate of the backend logic here.
4755 2005-04-18 Paolo Borelli <pborelli@katamail.com>
4757 * shell/ev-stock-icons.c: constify some vars.
4758 * shell/ev-window.c: ditto.
4760 2005-04-18 Marco Pesenti Gritti <mpg@redhat.com>
4762 * ps/ps-document.c (get_page_orientation):
4764 Respect document orientation
4766 2005-04-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4770 * shell/Makefile.am:
4772 Move library dependencies to components.
4774 * shell/ev-window.c: (update_window_title),
4775 (start_loading_document):
4777 Fix display of uris with spaces. Bug 168358.
4779 Sat Apr 16 18:53:47 2005 Jonathan Blandford <jrb@redhat.com>
4781 * shell/ev-sidebar-links.c: (selection_changed_cb):
4782 * shell/ev-view.c: (ev_view_finalize), (go_to_link),
4783 (ev_view_button_release_event), (ev_view_set_document):
4785 * shell/ev-window.c: (find_bar_search_changed_cb):
4786 * shell/ev-window.h: Minor cleanups removing some dead code.
4788 2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4790 * backend/ev-page-cache.c: (_ev_page_cache_new):
4792 Set current page to 0 if document has pages.
4794 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
4796 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
4798 Initialize GError to NULL, fix a crash when loading fails.
4800 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
4802 * shell/ev-window.c: (update_view_size):
4804 Calculate shadow size only when there is actually
4807 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
4809 * shell/ev-view.c: (ev_view_set_spacing), (ev_view_init):
4812 Allow setting view spacing, default to 0
4814 * shell/ev-window.c: (ev_window_unfullscreen),
4815 (ev_window_cmd_view_fullscreen), (ev_window_init):
4817 Remove spacing in fullscreen mode
4819 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
4821 * shell/ev-view.c: (compute_border), (compute_zoom_factor),
4822 (ev_view_size_request), (expose_bin_window),
4823 (ev_view_set_show_border), (ev_view_init), (page_changed_cb):
4825 * shell/ev-window.c: (ev_window_unfullscreen),
4826 (ev_window_cmd_view_fullscreen):
4828 Do not draw the border in fulscreen
4830 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
4832 * shell/ev-view.c: (ev_view_get_offsets), (compute_zoom_factor),
4833 (ev_view_size_request), (expose_bin_window), (ev_view_select_all),
4834 (find_page_at_location), (page_changed_cb):
4836 Rework border calculation, so that I can more easily disable it.
4837 Code somewhat cleaner too.
4839 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
4841 * backend/ev-page-cache.c: (ev_page_cache_init),
4842 (_ev_page_cache_new):
4844 Remove some assertions, documents can have 0 pages.
4845 Make initial current page -1.
4847 * shell/ev-page-action.c: (page_changed_cb):
4849 Show "" if current page is -1
4851 * shell/ev-window.c: (update_action_sensitivity),
4852 (ev_window_setup_document):
4854 When document has 0 pages do not set the view
4855 and make nearly everything insensitive.
4857 2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4859 * shell/ev-page-view.c:
4860 * shell/ev-page-view.h:
4862 Remove unused files.
4864 * shell/ev-sidebar-thumbnails.c:
4865 (ev_sidebar_thumbnails_set_document):
4866 * shell/ev-sidebar.c: (ev_sidebar_set_document),
4867 (ev_sidebar_supports_document):
4868 * shell/ev-sidebar.h:
4869 * shell/ev-window.c: (ev_window_setup_document):
4871 Doesn't show thumbnails if document has 1 page. Make
4872 sidebar menu entries sensitive only if if they have
4873 sense. Fix bug 164811.
4875 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
4877 * shell/ev-view.c: (compute_zoom_factor), (ev_view_size_request),
4878 (page_changed_cb), (ev_view_zoom), (ev_view_zoom_in),
4879 (ev_view_zoom_out), (ev_view_set_size):
4881 Rework sizing to deal with documents with not uniform page
4884 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
4886 * backend/ev-page-cache.c: (_ev_page_cache_new):
4888 Fix several page size caching bugs
4890 2005-04-15 Luca Ferretti <elle.uca@libero.it>
4892 * shell/ev-window.c: (set_action_properties):
4894 Make all toolbar items translatable
4896 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
4898 * ps/ps-document.c: (ps_document_init), (ps_document_get_type),
4899 (save_page_list), (ps_document_save),
4900 (ps_document_document_iface_init), (ps_document_ps_export_begin),
4901 (ps_document_ps_export_do_page), (ps_document_ps_export_end),
4902 (ps_document_ps_exporter_iface_init):
4905 Based on a patch by J�rg Billeter <j@bitron.ch>
4907 Implement print and save a copy for the ps backend.
4909 2005-04-14 Marco Pesenti Gritti <mpg@redhat.com>
4911 * backend/ev-document.h:
4912 * djvu/djvu-document.c: (djvu_document_can_get_text),
4913 (djvu_document_document_iface_init):
4914 * dvi/dvi-document.c: (dvi_document_can_get_text),
4915 (dvi_document_document_iface_init):
4916 * pdf/ev-poppler.cc:
4917 * pixbuf/pixbuf-document.c: (pixbuf_document_can_get_text),
4918 (pixbuf_document_document_iface_init):
4919 * ps/ps-document.c: (ps_document_can_get_text),
4920 (ps_document_document_iface_init):
4921 * shell/ev-view.c: (ev_view_copy), (ev_view_primary_get_cb):
4922 * shell/ev-window.c: (update_action_sensitivity):
4924 Fix the crash when trying to copy in backends that doesnt
4925 support it. We can implement a better solution once we
4926 do real text selection.
4928 2005-04-12 Marco Pesenti Gritti <mpg@redhat.com>
4930 * data/evince-ui.xml:
4931 * shell/ev-window.c: (ev_window_cmd_escape):
4933 Work around the Escape conflict (find bar and unfullscreen)
4935 2005-04-12 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
4937 * backend/ev-page-cache.c: (ev_page_cache_next_page):
4939 Fix for #300233. Next page correctly handles document end.
4941 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
4942 (ev_sidebar_thumbnails_class_init),
4943 (ev_sidebar_thumbnails_set_document),
4944 (ev_sidebar_thumbnails_clear_job),
4945 (ev_sidebar_thumbnails_clear_model):
4947 Cleanup thumbnail jobs on document changes.
4949 * shell/ev-view.c: (add_scroll_binding_keypad),
4950 (add_scroll_binding_shifted), (ev_view_class_init):
4952 Shift + Space scrolls up. Fix for #173184
4954 * shell/ev-window.c: (ev_window_open_page),
4955 (ev_window_cmd_view_reload):
4957 Fix reload (Bug #300094)
4959 2005-04-09 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4962 * dvi/mdvi-lib/assoc.c:
4963 * dvi/mdvi-lib/assoc.h: Removed garbage files
4965 * dvi/mdvi-lib/bitmap.c:
4966 * dvi/mdvi-lib/color.c: (mdvi_set_color), (mdvi_push_color),
4967 (mdvi_pop_color), (mdvi_reset_color), (get_color_table):
4968 * dvi/mdvi-lib/color.h: Antialias of rules
4970 * dvi/mdvi-lib/common.h:
4971 * dvi/mdvi-lib/dviread.c: (mdvi_configure), (mdvi_init_context),
4972 (mdvi_destroy_context), (draw_shrink_rule), (draw_box), (set_rule):
4973 * dvi/mdvi-lib/files.c:
4974 * dvi/mdvi-lib/fontmap.c: (ps_init_default_paths):
4975 * dvi/mdvi-lib/mdvi.h:
4976 * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
4977 * dvi/mdvi-lib/tfmfile.c: (ofm_load_file):
4978 * dvi/mdvi-lib/util.c: Fix compile warnings
4980 * dvi/dvi-document.c:
4981 (dvi_document_load), (dvi_document_thumbnails_get_dimensions),
4982 (dvi_document_thumbnails_get_thumbnail),
4983 (dvi_document_document_thumbnails_iface_init):
4984 * dvi/mdvi-lib/Makefile.am:
4985 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
4986 (dvi_pixbuf_set_color), (mdvi_pixbuf_device_render):
4988 Dvi backend now renders thumbnails
4990 2005-04-09 Christian Persch <chpe@cvs.gnome.org>
4992 * shell/main.c: (main):
4994 Save accelerators on exit. Fixes bug #172095.
4996 Sat Apr 9 01:05:09 2005 Jonathan Blandford <jrb@redhat.com>
4998 * shell/ev-pixbuf-cache.c (move_one_job): Actually fix the "FIXME:
4999 update priority" comment.
5001 * backend/ev-job-queue.c: Give a way to change priority.
5003 Sat Apr 9 00:05:36 2005 Jonathan Blandford <jrb@redhat.com>
5005 * shell/ev-page-action.c: Fix logic.
5007 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
5009 * shell/ev-view.c: (ev_view_can_find_next):
5010 * shell/ev-window.c: (ev_window_setup_document):
5012 Check that the document supports find
5014 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
5016 * data/evince-ui.xml:
5017 * shell/ev-view.c: (ev_view_can_find_next):
5019 * shell/ev-window.c: (update_action_sensitivity),
5020 (find_changed_cb), (ev_window_setup_document),
5021 (ev_window_cmd_edit_find_next):
5025 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
5027 * pdf/ev-poppler.cc:
5028 * shell/ev-print-job.c: (idle_print_handler):
5030 Make printing work again
5032 Fri Apr 8 01:12:24 2005 Jonathan Blandford <jrb@redhat.com>
5034 * shell/ev-page-action.h:
5035 * shell/ev-page-action.c: (ev_page_action_widget_init),
5036 (ev_page_action_widget_class_init), (page_changed_cb),
5037 (create_tool_item), (update_page_cache), (build_new_tree_cb),
5038 (get_filter_model_from_model), (match_selected_cb),
5039 (display_completion_text), (match_completion), (update_model),
5040 (connect_proxy), (ev_page_action_set_property),
5041 (ev_page_action_get_property), (ev_page_action_set_document),
5042 (ev_page_action_set_model), (ev_page_action_class_init): Big
5043 reworking to make completions work iff we have >= GTK-2.7.0
5045 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_property),
5046 (ev_sidebar_links_get_property), (ev_sidebar_links_class_init),
5047 (job_finished_cb): We now have a 'model' property that is set when
5048 the links are loaded. This can be caught with "notify::model"
5050 * shell/ev-window.c: (sidebar_widget_model_set), (ev_window_init):
5051 listen for the model to be set, and propagate it to the action.
5053 2005-04-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
5055 * cut-n-paste/recent-files/egg-recent-item.c:
5056 (egg_recent_item_set_uri), (make_valid_utf8),
5057 (egg_recent_item_set_mime_type), (egg_recent_item_get_mime_type):
5058 * cut-n-paste/recent-files/egg-recent-item.h:
5060 Update egg-recent from libegg. This should fix long
5061 startup problem. For details see
5062 http://bugzilla.gnome.org/show_bug.cgi?id=160531
5064 2005-04-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
5066 * cut-n-paste/recent-files/Makefile.am:
5067 * data/evince-ui.xml, shell/Makefile.am:
5068 * shell/ev-application.c, shell/ev-application.h:
5069 * shell/ev-window.c: Recent files support.
5071 * configure.ac: Added "ru" to ALL_LINGUAS.
5073 * dvju: new backend to support DJVU files.
5074 * dvi: new backend to support DVI.
5076 * configure.ac, Makefile.am, shell/Makefile.am, ev-window.c:
5077 * ev-application.c: Support for new backends.
5079 * help, ev-window.c, main.c shell/Makefile.am:
5080 Evince user documentation.
5082 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
5085 * shell/ev-window.c:
5086 * thumbnailer/evince-thumbnailer.c:
5088 s/pdf-document/ev-poppler
5090 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
5097 * ps/ps-document.c: (setup_pixmap):
5101 2005-04-05 Kristian Høgsberg <krh@redhat.com>
5103 * backend/ev-page-cache.c (ev_page_cache_next_page):
5104 * shell/ev-window.c (ev_window_cmd_go_next_page)
5105 (ev_window_cmd_go_first_page): Fix of by one errors.
5107 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
5109 * ps/ps-document.c: (get_page_box):
5111 Fix page size calculation
5113 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
5115 * ps/ps-document.c: (ps_document_init), (push_pixbuf),
5116 (ps_document_cleanup), (setup_pixmap), (get_page_box),
5117 (get_page_orientation), (setup_page), (document_load),
5118 (ps_document_get_page_size), (render_pixbuf_idle):
5121 More refactoring to adapt to EvDocument changes
5123 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
5125 * ps/ps-document.c: (start_interpreter):
5127 Actually add alpha args
5129 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
5131 * pdf/ev-poppler.cc:
5133 Make clipboard work again
5135 2005-04-04 Kristian Høgsberg <krh@redhat.com>
5137 Make searching work again.
5139 * backend/ev-document.c:
5140 * backend/ev-document.h:
5141 * backend/ev-document-find.c:
5142 * backend/ev-document-find.h: Change EvDocumentIface so we no
5143 longer store the current page or zoom level in the document. The
5144 consequence is that all calls that operate on the current page now
5145 instead take the page number as an extra argument, and all
5146 coordinates are now doubles in document coordinate system.
5148 * pdf/ev-poppler.cc:
5149 * pixbuf/pixbuf-document.c:
5150 * ps/ps-document.c: Update backends accordingly.
5152 2005-04-04 Marco Pesenti Gritti <marco@gnome.org>
5156 Add required gettext version
5158 Sat Apr 2 18:57:00 2005 Jonathan Blandford <jrb@redhat.com>
5160 * shell/evwindow.c: Patch from Alberto Mesas <amesas@gmail.com> to
5161 make F1 bring up non-existent help.
5163 * shell/eggfindbar.c: Patch from Christian Persch to sync to
5164 epiphany's find bar, #167477
5166 * shell/ev-view.c (ev_view_jump): Patch from Emil Soleyman-Zomalan
5167 <emil@nishra.com> to add space-bar scrolling,
5169 * shell/ev-window.c (static GtkActionEntry entries): add default
5170 keybinding for Help (F1)
5173 * shell/ev-view.c (ev_view_show_cursor): Fix from Yuval Tanny
5174 changing EV_VIEW_CURSOR_LINK to EV_VIEW_CURSOR_NORMAL resolves bug
5177 2005-04-01 David Malcolm <dmalcolm@redhat.com>
5180 * pixbuf/pixbuf-document.c:
5182 Got pixbuf backend working again
5184 2005-04-01 Steve Murphy <murf@e-tools.com>
5186 * configure.in: Added "rw" to ALL_LINGUAS.
5188 Fri Apr 1 02:33:41 2005 Jonathan Blandford <jrb@redhat.com>
5190 * shell/ev-sidebar-links.c (create_loading_model): Fix mismatch in
5191 model types, noticed by Martin Kretzschmar.
5193 2005-04-01 Kristian Høgsberg <krh@redhat.com>
5195 * pdf/ev-poppler.cc: Implement search based on
5196 poppler_page_find_text(). Currently a bit crude since we remember
5197 all matches from all pages. Also, we grab the big document lock
5198 when we search since searching changes the underlying stream and
5199 thus conflicts with the rendering thread.
5201 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
5202 (jump_to_find_page), (ev_view_set_document), (ev_view_find_next),
5203 (ev_view_find_previous): Fix some page indexes to be 0 based,
5204 offset rubber band by view offset,
5206 Fri Apr 01 09:21:12 2005 Pablo Saratxaga <pablo@mandrakesoft.com>
5208 * configure.ac: Added Walloon (wa) to ALL_LINGUAS.
5210 Fri Apr 1 01:59:39 2005 Jonathan Blandford <jrb@redhat.com>
5212 * shell/ev-page-action.c: Changed to use page labels now. Rewrote
5213 completely because I didn't understand GtkActions. I should
5214 read Marco's code more carefully in the future.
5216 * backend/ev-page-cache.h (ev_page_cache_set_page_label): New
5219 2005-03-31 Kristian Høgsberg <krh@redhat.com>
5221 * pdf/ev-poppler.cc (pdf_document_get_links): Update to work with
5222 PopplerRectangle change from poppler CVS.
5224 Thu Mar 31 13:27:50 2005 Jonathan Blandford <jrb@redhat.com>
5226 * backend/ev-document.c: (ev_document_get_page_label):
5227 * backend/ev-document.h:
5228 * backend/ev-page-cache.c: (_ev_page_cache_new),
5229 (ev_page_cache_get_page_label):
5230 * backend/ev-page-cache.h:
5231 * pdf/ev-poppler.cc:
5232 * shell/ev-sidebar-links.c: (ev_sidebar_links_construct),
5233 (links_page_num_func):
5234 * shell/ev-sidebar-thumbnails.c:
5235 (ev_sidebar_thumbnails_set_document):
5236 * shell/ev-view.c: (status_message_from_link),
5237 (ev_view_motion_notify_event):
5238 * shell/ev-window.c: (document_supports_sidebar): Add in page
5239 label support. It's not perfect yet, but it's the first 'feature'
5241 Also, fix a bogus comment noticed by crispin.
5243 Thu Mar 31 01:21:58 2005 Jonathan Blandford <jrb@redhat.com>
5245 * Makefile.am: Remove pixbuf backend for now
5247 * configure.ac: Require poppler-glib instead of just poppler.
5249 * backend/ev-document-thumbnails.h: Add a comment
5251 * backend/ev-document.h:
5252 * backend/ev-document.c: (ev_document_class_init),
5253 (ev_document_load), (ev_document_get_link),
5254 (ev_document_get_links): Remove 3 methods and add get_links.
5257 * backend/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
5258 * backend/ev-jobs.h: now EvJobRender can grab the links for a document.
5260 * backend/ev-link.c: (ev_link_set_title),
5261 (ev_link_mapping_free_foreach), (ev_link_mapping_free),
5262 (ev_link_mapping_find):
5263 * backend/ev-link.h: Allow NULL titles. Also, introduce a mapping link.
5265 * backend/ev-page-cache.c: (ev_page_cache_init),
5266 (_ev_page_cache_new), (ev_page_cache_set_current_page),
5267 (ev_page_cache_get_size), (ev_page_cache_next_page),
5268 (ev_page_cache_prev_page): Fix to be 0 based.
5272 * pdf/ev-poppler.cc: New backend.
5274 * ps/ps-document.c: (ps_document_init), (ps_document_set_page),
5275 (ps_document_get_page), (ps_document_document_iface_init):
5277 * shell/ev-pixbuf-cache.h:
5278 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
5279 (dispose_cache_job_info), (job_finished_cb), (move_one_job),
5280 (ev_pixbuf_cache_update_range), (copy_job_to_job_info),
5281 (add_job_if_needed), (ev_pixbuf_cache_set_page_range),
5282 (ev_pixbuf_cache_get_pixbuf), (ev_pixbuf_cache_get_link_mapping):
5283 Fix up code to grab a page cache per each doc. Also, fix to be 0
5286 * shell/ev-sidebar-thumbnails.c:
5287 (ev_sidebar_tree_selection_changed), (page_changed_cb),
5288 (ev_sidebar_thumbnails_set_document): Fix to be 0 based.
5290 * shell/ev-view.c: (status_message_from_link),
5291 (find_page_at_location), (get_link_at_location),
5292 (ev_view_motion_notify_event), (ev_view_button_release_event),
5293 (ev_view_init): Use the new link code. Fix to be 0 based.
5295 * shell/ev-window.c: (update_action_sensitivity),
5296 (document_supports_sidebar): 0 based.
5298 Fri Mar 25 16:55:58 2005 Jonathan Blandford <jrb@redhat.com>
5300 * pdf/pdf-document.cc: Patch from Fernando Herrera
5301 <fherrera@onirica.com> to fix my quick fix to get_thumbnail.
5304 Wed Mar 23 23:49:41 2005 Jonathan Blandford <jrb@redhat.com>
5306 * pdf/pdf-document.cc (pdf_document_thumbnails_get_thumbnail): add
5307 1 to the page, as this seems to be 1 based. I thought we has this
5310 2005-03-23 Marco Pesenti Gritti <marco@gnome.org>
5313 * backend/Makefile.am:
5314 * backend/ev-document-links.c:
5315 (ev_document_links_has_document_links),
5316 (ev_document_links_get_links_model):
5317 * backend/ev-document-links.h:
5318 * backend/ev-document.c: (ev_document_get_page_cache),
5319 (ev_document_get_doc_mutex), (ev_document_load),
5320 (ev_document_save), (ev_document_get_title),
5321 (ev_document_get_n_pages), (ev_document_set_page),
5322 (ev_document_get_page), (ev_document_set_target),
5323 (ev_document_set_scale), (ev_document_set_page_offset),
5324 (ev_document_get_page_size), (ev_document_get_text),
5325 (ev_document_get_link), (ev_document_render),
5326 (ev_document_render_pixbuf), (ev_document_scale_changed):
5327 * backend/ev-document.h:
5328 * backend/ev-job-queue.c: (remove_object_from_queue),
5329 (notify_finished), (handle_job), (search_for_jobs_unlocked),
5330 (no_jobs_available_unlocked), (ev_render_thread),
5331 (ev_job_queue_init), (find_queue), (ev_job_queue_add_job),
5332 (ev_job_queue_remove_job):
5333 * backend/ev-job-queue.h:
5334 * backend/ev-jobs.c: (ev_job_init), (ev_job_dispose),
5335 (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
5336 (ev_job_links_class_init), (ev_job_render_init),
5337 (ev_job_render_dispose), (ev_job_render_class_init),
5338 (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
5339 (ev_job_thumbnail_class_init), (ev_job_finished),
5340 (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
5341 (ev_job_render_run), (ev_job_thumbnail_new),
5342 (ev_job_thumbnail_run):
5343 * backend/ev-jobs.h:
5344 * backend/ev-link.c:
5345 * backend/ev-link.h:
5346 * backend/ev-page-cache.c: (ev_page_cache_init),
5347 (ev_page_cache_class_init), (ev_page_cache_finalize),
5348 (_ev_page_cache_new), (ev_page_cache_get_n_pages),
5349 (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
5350 (ev_page_cache_set_link), (ev_page_cache_get_title),
5351 (ev_page_cache_get_size), (ev_page_cache_next_page),
5352 (ev_page_cache_prev_page):
5353 * backend/ev-page-cache.h:
5354 * pdf/pdf-document.cc:
5357 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
5358 (push_pixbuf), (interpreter_failed), (ps_document_cleanup),
5359 (ps_document_widget_event), (ps_document_finalize), (get_xdpi),
5360 (get_ydpi), (setup_pixmap), (setup_page), (close_pipe),
5361 (is_interpreter_ready), (output), (catchPipe), (input),
5362 (start_interpreter), (check_filecompressed), (compute_dimensions),
5363 (ps_document_enable_interpreter), (document_load),
5364 (ps_document_next_page), (render_page), (ps_document_set_page),
5365 (ps_document_set_scale), (render_pixbuf_idle),
5366 (ps_document_render_pixbuf), (ps_document_document_iface_init):
5368 * shell/Makefile.am:
5369 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
5370 (ev_pixbuf_cache_class_init), (ev_pixbuf_cache_finalize),
5371 (dispose_cache_job_info), (ev_pixbuf_cache_dispose),
5372 (ev_pixbuf_cache_new), (job_finished_cb),
5373 (check_job_size_and_unref), (move_one_job),
5374 (ev_pixbuf_cache_update_range), (find_job_cache),
5375 (ev_pixbuf_cache_clear_job_sizes), (add_job_if_needed),
5376 (ev_pixbuf_cache_add_jobs_if_needed),
5377 (ev_pixbuf_cache_set_page_range), (ev_pixbuf_cache_get_pixbuf):
5378 * shell/ev-pixbuf-cache.h:
5379 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
5380 (idle_print_handler):
5381 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
5382 (selection_changed_cb), (create_loading_model),
5383 (ev_sidebar_links_construct), (links_page_num_func),
5384 (ev_sidebar_links_clear_document), (update_page_callback_foreach),
5385 (update_page_callback), (job_finished_cb),
5386 (ev_sidebar_links_set_document):
5387 * shell/ev-sidebar-thumbnails.c:
5388 (ev_sidebar_thumbnails_class_init), (adjustment_changed_cb),
5389 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init),
5390 (page_changed_cb), (thumbnail_job_completed_callback),
5391 (ev_sidebar_thumbnails_set_document):
5392 * shell/ev-sidebar-thumbnails.h:
5393 * shell/ev-sidebar.c: (ev_sidebar_set_document):
5394 * shell/ev-view.c: (ev_view_finalize), (ev_view_destroy),
5395 (ev_view_get_offsets), (ev_view_size_request), (ev_view_realize),
5396 (ev_view_unrealize), (highlight_find_results), (expose_bin_window),
5397 (ev_view_select_all), (ev_view_copy), (ev_view_primary_get_cb),
5398 (ev_view_create_invisible_cursor), (ev_view_motion_notify_event),
5399 (ev_view_button_release_event), (ev_view_scroll_view),
5400 (ev_view_class_init), (ev_view_init), (update_find_status_message),
5401 (jump_to_find_result), (jump_to_find_page), (find_changed_cb),
5402 (ev_view_new), (job_finished_cb), (page_changed_cb),
5403 (ev_view_set_document), (go_to_link), (ev_view_zoom),
5404 (size_to_zoom_factor), (ev_view_set_size), (ev_view_find_next),
5405 (ev_view_find_previous):
5407 * shell/ev-window.c: (update_action_sensitivity),
5408 (ev_window_open_page), (update_window_title), (update_total_pages),
5409 (page_changed_cb), (ev_window_setup_document),
5410 (password_dialog_response), (ev_window_cmd_save_as),
5411 (ev_window_print), (ev_window_cmd_go_previous_page),
5412 (ev_window_cmd_go_next_page), (ev_window_cmd_go_first_page),
5413 (ev_window_cmd_go_last_page), (ev_window_cmd_view_reload),
5414 (find_bar_search_changed_cb), (goto_page_cb), (ev_window_init):
5415 * shell/main.c: (main):
5417 Merge evince-threads branch
5419 2005-03-16 Žygimantas Beručka <uid0@akl.lt>
5421 * configure.ac: Added "lt" to ALL_LINGUAS.
5423 2005-03-14 Marco Pesenti Gritti <marco@gnome.org>
5430 2005-03-13 Fernando Herrera <fherrera@onirica.com>
5432 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
5434 Fix here also the thumbnails 1-basedness :)
5436 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
5443 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
5445 * pdf/pdf-document.cc:
5446 * shell/ev-sidebar-thumbnails.c: (adjustment_changed_cb),
5447 (do_one_iteration), (ev_sidebar_thumbnails_set_document):
5449 Fix the mess we did with thumbnails and 1-basedness
5451 2005-03-12 Changwoo Ryu <cwryu@debian.org>
5453 * configure.ac (ALL_LINGUAS): Added "ko" (Korean).
5455 2005-03-09 Marco Pesenti Gritti <marco@gnome.org>
5462 2005-03-08 Marco Pesenti Gritti <marco@gnome.org>
5465 * ps/gsdefaults.c: (gtk_gs_defaults_get_interpreter_cmd),
5466 (gtk_gs_defaults_get_alpha_parameters),
5467 (gtk_gs_defaults_get_ungzip_cmd),
5468 (gtk_gs_defaults_get_unbzip2_cmd):
5470 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
5471 (ps_document_get_orientation), (document_load),
5472 (ps_document_goto_page), (ps_document_set_page_size):
5475 Some more sanitization of the ps backend. Remove a lot
5476 of unused code and do not base our defaults on ggv
5479 2005-03-08 Fernando Herrera <fherrera@onirica.com>
5481 * thumbnailer/evince-thumbnailer.schemas:
5482 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
5483 (main): add -s option for thumbnail size.
5485 2005-03-07 Christian Persch <chpe@cvs.gnome.org>
5489 AC_PROG_RANLIB is rendered obsolete by AC_PROG_LIBTOOL;
5492 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
5494 * pdf/pdf-document.cc:
5496 Remove 4 pixels of useless border from the
5499 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
5501 * backend/ev-document-thumbnails.c:
5502 (ev_document_thumbnails_get_thumbnail):
5503 * backend/ev-document-thumbnails.h:
5505 Rework API a bit. Add a border flag and
5506 change sizing logic (now the size we specify
5507 applies to the bigger dimension).
5509 * pdf/pdf-document.cc:
5510 * pixbuf/pixbuf-document.c:
5511 (pixbuf_document_thumbnails_get_thumbnail):
5512 * shell/ev-sidebar-thumbnails.c: (do_one_iteration):
5513 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
5515 Adapt to the new API and do not draw a border for nautilus
5518 2005-03-03 Fernando Herrera <fherrera@onirica.com>
5520 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
5521 take thumbnails from page "0" instead of "1". Added a copyright header.
5523 2005-03-03 Jens Granseuer <jensgr@gmx.net>
5525 * ps/ps-document.c: (set_up_page), (start_interpreter):
5527 Make it C89 compliant
5529 2005-03-03 Marco Pesenti Gritti <marco@gnome.org>
5534 * pdf/pdf-document.cc:
5535 * thumbnailer/Makefile.am:
5536 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
5538 * thumbnailer/evince-thumbnailer.schemas:
5539 * thumbnailer/pdf-icon.png:
5541 Add a nautilus thumbnailer.
5542 Based on patch by Fernando Herrera <fherrera@onirica.com>.
5544 2005-03-02 Marco Pesenti Gritti <marco@gnome.org>
5552 2005-03-01 Kristian Høgsberg <krh@redhat.com>
5554 Use poppler instead of including xpdf source code. Poppler is a
5555 fork of xpdf to build it as a shared library. See
5556 http://freedesktop.org/wiki/Software/poppler.
5558 * pdf/xpdf/*, pdf/goo/*, pdf/splash/*, pdf/fofi/*: Remove included
5561 * pdf/Makefile.am: Build libpdfdocument.a here.
5563 * pdf/GDKSplashOutputDev.cc:
5564 * pdf/GDKSplashOutputDev.h:
5565 * pdf/GnomeVFSStream.cc:
5566 * pdf/GnomeVFSStream.h:
5569 * test-gdk-output-dev.cc
5571 * Thumb.h: Pull these files out of pdf/xpdf and adjust to compile
5574 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
5576 * shell/ev-sidebar-links.c: (ev_sidebar_links_clear_document):
5578 Clear idle stack before unsetting the document
5580 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
5582 * ps/ps-document.c: (ps_document_widget_event),
5583 (ps_document_set_target), (ps_document_finalize),
5584 (ps_document_get_page):
5586 Disconnect the widget event signal on finalize.
5589 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
5591 * ps/ps-document.c: (set_up_page):
5593 If there is no bpixmap create one, even if size
5596 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
5598 * ps/ps-document.c: (ps_document_init), (ps_document_cleanup),
5599 (set_up_page), (document_load), (ps_document_set_zoom):
5601 Default page is 0. Calculate size even when we have no
5604 2005-02-28 Carlos Garcia Campos <carlosgc@gnome.org>
5606 * shell/ev-sidebar.c: expand the selection widget to be always as
5609 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
5611 * shell/ev-sidebar-thumbnails.c:
5612 (ev_sidebar_thumbnails_set_document):
5614 Clear the list store when setting document
5616 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
5618 * shell/ev-page-action.c: (update_entry), (sync_entry),
5619 (activate_cb), (entry_size_request_cb), (create_tool_item),
5622 Use an entry for the page control instead of spinbuttons
5624 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
5626 * data/evince.schemas.in:
5628 Correct confusing string
5630 Sun Feb 27 23:00:31 2005 Jonathan Blandford <jrb@redhat.com>
5632 * shell/ev-sidebar-links.c (do_one_iteration): Handle title links
5633 for real. Gosh, how long has this been broken.
5635 * pdf/xpdf/pdf-document.cc (build_link_from_action): add back the
5636 check for a NULL link. We crash otherwise.
5638 2005-02-27 Marco Pesenti Gritti <marco@gnome.org>
5645 2005-02-25 Sebastien Bacher <seb128@debian.org>
5647 * configure.ac: add the french translation.
5649 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
5651 * shell/ev-window.c:
5653 Remove unused header -> fix distcheck
5655 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
5657 * shell/ev-window.c: (update_window_title),
5658 (ev_window_popup_password_dialog):
5660 Unescape filename for display
5662 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
5664 * pdf/xpdf/pdf-document.cc:
5666 In get_page_size deal with rotation. Also
5667 cleanup the function a bit.
5669 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
5671 * pdf/xpdf/pdf-document.cc:
5673 Fix crash when opening in new window
5675 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
5679 Check ghostscript >= 7
5681 2005-02-25 Pedro Villavicencio <pvillavi@gnome.cl>
5683 * shell/ev-window.c:
5685 Make page width the default sizing mode
5687 2005-02-25 Carlos Garcia Campos <carlosgc@gnome.org>
5688 Marco Pesenti Gritti <marco@gnome.org>
5690 * shell/ev-window.c: Remember the sidebar size
5692 * data/evince.schemas.in: Add a new gconf key to store the size of
5695 2005-02-24 Kai Willadsen <kaiw@itee.uq.edu.au>
5697 * data/evince-ui.xml:
5698 * shell/ev-window.c: (update_action_sensitivity),
5699 (ev_window_cmd_view_reload):
5701 Add a "Reload" action and menu entry
5703 Thu Feb 24 23:07:33 2005 Jonathan Blandford <jrb@redhat.com>
5705 * shell/ev-window.c (hide_sidebar_and_actions): Hide the sidebar
5706 iff the type doesn't support thumbnailing and indexing.
5708 2005-02-24 Martin Kretzschmar <martink@gnome.org>
5710 * configure.ac (ALL_LINGUAS): Added "zh_TW" (Traditional Chinese).
5712 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
5714 * pdf/splash/Splash.cc:
5716 Port fix for a crasher from kde bug
5717 http://bugs.kde.org/show_bug.cgi?id=97131
5719 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
5721 * pdf/xpdf/pdf-document.cc:
5723 Return a link even if it's of an unrecognized
5724 type. Otherwise we go in an infinte cycle.
5726 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
5728 * shell/ev-window.c: (update_sizing_buttons), (update_view_size),
5729 (size_allocate_cb), (ev_window_set_sizing_mode):
5731 Update size when switching mode
5733 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
5735 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
5736 (ev_window_cmd_view_page_width), (update_sizing_buttons),
5737 (ev_window_cmd_view_normal_size):
5739 Fix size toggle buttons behavior
5741 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
5743 * shell/ev-view.c: (ev_view_get_offsets), (view_rect_to_doc_rect),
5744 (doc_rect_to_view_rect), (ev_view_size_allocate),
5745 (expose_bin_window), (ev_view_select_all), (page_changed_callback),
5746 (scale_changed_callback):
5748 Do not cache offsets in size_allocate.
5750 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
5752 * shell/ev-view.c: (ev_view_size_allocate):
5754 Calculate offsets before calling the parent
5755 class (which does a redraw)
5757 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
5759 * pdf/xpdf/pdf-document.cc:
5761 Fix a crasher on exit. Unused code, put a TODO
5763 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
5765 * backend/ev-document.c: (ev_document_class_init),
5766 (ev_document_page_changed), (ev_document_scale_changed):
5767 * backend/ev-document.h:
5769 Separate page/scale notifications
5771 * pdf/xpdf/pdf-document.cc:
5773 Emit the new signals.
5774 Do not display the pdf page in _render, do it
5775 when scale/page are requested.
5777 * ps/ps-document.c: (ps_document_set_zoom),
5778 (ps_document_widget_event):
5781 Emit the new signals.
5783 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
5784 (ev_view_init), (page_changed_callback), (scale_changed_callback),
5785 (ev_view_set_document), (ev_view_zoom), (ev_view_zoom_in),
5786 (ev_view_zoom_out), (size_to_zoom_factor), (ev_view_set_size):
5788 * shell/ev-window.c: (ev_window_cmd_view_normal_size),
5789 (ev_window_cmd_view_page_width), (size_allocate_cb),
5790 (ev_window_set_sizing_mode):
5792 Rework sizing to be pixel based.
5793 There are bugs but should be already way better.
5795 2005-02-23 Marco Pesenti Gritti <marco@gnome.org>
5797 * shell/ev-window.c: (ev_window_init):
5799 Do not allow to shrink sidebar smaller then
5802 2005-02-23 Carlos Garcia Campos <carlosgc@gnome.org>
5804 * shell/ev-sidebar.[ch]
5805 * shell/ev-window.c:
5807 Improved sidebar widget. Fixes #166683
5809 2005-02-23 Tommi Vainikainen <thv@iki.fi>
5811 * shell/ev-view.c (update_find_status_message): Give translators
5812 more flexibility with ngettext plural handling.
5814 Mon Feb 21 17:52:08 2005 Jonathan Blandford <jrb@redhat.com>
5816 * pdf/xpdf/pdf-document.cc (pdf_document_get_page_size): Patch
5817 from Crispin Flowerday <gnome@flowerday.cx> to avoid rendering the
5818 page when we get the page size.
5820 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
5822 * ps/ps-document.c: (ps_document_set_page), (ps_document_get_page):
5824 ps pages are 0 based, convert
5826 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
5828 * ps/ps-document.c: (ps_document_class_init), (ps_document_load):
5830 Initialize correct parent class. Set GError on document load
5832 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
5834 * pdf/xpdf/pdf-document.cc:
5836 Fixup selection offset calculation
5838 * shell/ev-view.c: (view_rect_to_doc_rect),
5839 (doc_rect_to_view_rect), (ev_view_size_allocate),
5840 (expose_bin_window), (ev_view_select_all), (ev_view_copy),
5841 (ev_view_primary_get_cb), (ev_view_motion_notify_event):
5843 Store selection as document relative, so that zooming
5844 and offset changing doesnt break it.
5846 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
5848 * shell/ev-view.c: (ev_view_best_fit):
5850 Do not try to best fit if the view is not realized
5852 2005-02-20 Kostas Papadimas <pkst@gnome.org>
5854 * configure.ac (ALL_LINGUAS): Added "el" (Greek).
5856 Fri Feb 18 16:06:39 2005 Jonathan Blandford <jrb@redhat.com>
5858 * shell/ev-window.c (ev_window_focus_in_event): missed a case.
5860 Fri Feb 18 15:32:57 2005 Jonathan Blandford <jrb@redhat.com>
5862 * shell/ev-window.c: Change the fullscreen toolbar to always be in
5863 the popup window. That prevents it resizing when in full screen
5866 * shell/ev-view.c: Change Zoom epsilon as a bad hack to avoid
5867 multiple rerenders. This pretty much sucks.
5869 * data/evince-ui.xml: Change the fullscreen toolbar to include the
5870 rest of the toolbar.
5872 2005-02-18 Tommi Vainikainen <thv@iki.fi>
5874 * configure.ac (ALL_LINGUAS): Added "fi" (Finnish).
5876 2005-02-17 Alexander Shopov <ash@contact.bg>
5878 * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
5880 2005-02-16 Bryan Clark <clarkbw@cvs.gnome.org>
5882 * shell/ev-window.c: added ellipsis to Print item. Fixes bug 166915
5884 2005-02-16 Marco Pesenti Gritti <marco@gnome.org>
5886 * shell/ev-view.c: (ev_view_realize), (highlight_find_results),
5887 (ev_view_create_invisible_cursor), (ev_view_set_cursor),
5888 (set_document_page), (document_changed_callback),
5889 (ev_view_set_document), (ev_view_find_previous),
5890 (ev_view_hide_cursor), (ev_view_show_cursor):
5892 * shell/ev-window.c: (update_chrome_visibility),
5893 (fullscreen_timeout_cb), (fullscreen_set_timeout),
5894 (fullscreen_clear_timeout), (fullscreen_motion_notify_cb),
5895 (fullscreen_leave_notify_cb), (ev_window_fullscreen),
5896 (ev_window_unfullscreen):
5897 * shell/main.c: (main):
5899 Automatically hide the fullscreen button.
5900 Patch by Kristian Høgsberg <krh@redhat.com>
5902 2005-02-16 Vincent Noel <vnoel@cox.net>
5904 * shell/main.c (main): Specify an icon for the window. Patch by
5905 Jaap A. Haitsma. Fixes #166177.
5907 Wed Feb 16 06:30:13 2005 Jonathan Blandford <jrb@redhat.com>
5909 * shell/ev-view.c (ev_view_realize): get rid of the black flash.
5911 Tue Feb 15 22:27:13 2005 Jonathan Blandford <jrb@redhat.com>
5913 * backend/ev-document-misc.h:
5914 * backend/ev-document-misc.c:
5915 (ev_document_misc_get_page_border_size),
5916 (ev_document_misc_paint_one_page): New function to canonicalize
5917 sizing/painting a border.
5919 * shell/Makefile.am: Remove ev-page-view.c entirely as it's not
5922 * pdf/xpdf/pdf-document.cc: use new function
5924 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
5925 (ev_view_init), (ev_view_set_mode), (ev_view_zoom),
5926 (ev_view_best_fit), (ev_view_fit_width): * shell/ev-view.h: *
5927 shell/ev-window.c: (update_sizing_buttons),
5928 (ev_window_setup_document), (ev_window_cmd_view_zoom_in),
5929 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_best_fit),
5930 (ev_window_cmd_view_page_width), (size_allocate_cb),
5931 (ev_window_set_sizing_mode), (ev_window_init): make the "best fit"
5932 and "fit width" values act as toggle buttons so they stay
5933 toggled. It's not 100% perfect, and it's a little slow, but it's
5934 good enough to commit I think.
5936 2005-02-15 David Lodge <dave@cirt.net>
5938 * configure.ac (ALL_LINGUAS): Added "en_GB" (English (British)).
5940 2005-02-15 Martin Kretzschmar <martink@gnome.org>
5942 * shell/ev-window.c (update_window_title): replace newlines in
5943 the title by spaces. Bug #166107.
5945 2005-02-14 Martin Kretzschmar <martink@gnome.org>
5947 * shell/ev-view.c (ev_view_best_fit, ev_view_fit_width): add
5948 parameters providing allocation width and height without
5949 scrollbars and width of a possible vertical scrollbar. With this
5950 additional information the functions can work as
5951 intended. Unfortunately they're not idempotent. We should
5952 transform these commands to toggles. Fixes Bug #164976
5953 Initial patch by Stephane Loeuillet, then heavily modified.
5955 * shell/ev-view.h: update prototypes.
5957 * shell/ev-window.c (ev_window_cmd_view_best_fit)
5958 (ev_window_cmd_view_page_width): provide EvView fit functions with
5959 all the information they need. Formulas to calculate this
5960 information taken from GtkScrolledWindow.
5962 2005-02-14 Crispin Flowerday <gnome@flowerday.cx>
5964 * shell/ev-sidebar-thumbnails.c: Ensure that after we have
5965 created a thumbnail, the list store is updated to know
5966 that the thumbnail is set. Fixes bug #166792
5968 2005-02-11 Bryan Clark <clarkbw@cvs.gnome.org>
5970 * shell/ev-window.c: fixed typo, closes bug 166897
5972 * TODO: updated TODO with bug numbers that are relevant
5974 2005-02-09 Carlos Garcia Campos <carlosgc@gnome.org>
5976 * shell/ev-window.c: Support for DnD of files. Fixes #164813
5978 2005-02-09 Vincent Noel <vnoel@cox.net>
5980 * shell/ev-window.c: (set_action_properties): Set the "Previous"
5981 and "Next" toolbar buttons as important to make them stand out.
5983 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
5987 * ps/ps-document.c: (ps_document_finalize), (set_up_page),
5988 (start_interpreter), (stop_interpreter), (document_load),
5989 (ps_document_next_page), (ps_document_goto_page),
5990 (ps_document_set_page_size), (ps_document_widget_event),
5991 (ps_document_render):
5992 * shell/ev-page-view.c: (ev_page_view_dispose):
5993 * shell/ev-view.c: (ev_view_finalize), (expose_bin_window):
5995 Fix compilation on non-gcc platforms
5997 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
6004 * pdf/xpdf/Catalog.cc:
6007 Fix the fix for CAN-2004-0888
6009 2005-02-09 Luca Ferretti <elle.uca@libero.it>
6012 * data/evince-ui.xml:
6013 * shell/ev-stock-icons.c: (ev_stock_icons_init):
6014 * shell/ev-stock-icons.h:
6015 * shell/ev-window.c: (update_action_sensitivity),
6016 (ev_window_cmd_go_previous_page), (ev_window_cmd_go_next_page),
6017 (set_action_properties):
6019 Improve toolbar layout/icons
6021 2005-02-08 Marco Pesenti Gritti <marco@gnome.org>
6023 * pdf/xpdf/pdf-document.cc:
6025 Add warnings about unimplemented/unknown link
6028 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
6030 * ps/ps-document.c: (set_up_page):
6034 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
6036 * ps/ps-document.c: (start_interpreter):
6040 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
6042 * shell/ev-page-view.c: (ev_page_view_dispose):
6043 * shell/ev-view.c: (ev_view_finalize):
6044 * shell/ev-window.c: (ev_window_setup_document),
6045 (ev_window_dispose), (ev_window_init):
6047 Solve more refs issues.
6049 I commented out the page_view initialization for now:
6050 it was never destroyed (because it's never added
6051 to a container). Because of that we was leaking
6052 gs processes. Couldnt think to a clean fix.
6053 We need to figure this out, password view has the
6054 same issue probably.
6056 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
6058 * ps/ps-document.c: (ps_document_finalize),
6059 (ps_document_get_n_pages), (ps_document_get_page):
6061 Some cleanups, stop the interpreter on finalize
6063 * shell/ev-page-view.c: (ev_page_view_dispose),
6064 (ev_page_view_class_init):
6066 Release our reference on the document
6068 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
6072 * doc/debugging.txt:
6075 * lib/ev-debug.c: (log_module), (trap_handler), (ev_debug_init),
6076 (ev_profiler_new), (ev_should_profile), (ev_profiler_dump),
6077 (ev_profiler_free), (ev_profiler_start), (ev_profiler_stop):
6080 Add debugging helpers
6083 * ps/ps-document.c: (set_up_page), (start_interpreter),
6084 (stop_interpreter), (document_load), (ps_document_next_page),
6085 (ps_document_goto_page), (ps_document_set_page_size),
6086 (ps_document_widget_event), (ps_document_render):
6087 * shell/Makefile.am:
6088 * shell/ev-view.c: (expose_bin_window):
6089 * shell/main.c: (main):
6093 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
6095 * ps/ps-document.c: (ps_document_widget_event):
6097 Initialize message_window, this should make ps
6098 rendering really work! (Never noticed because I was
6099 testing with a ps that is causing gs to exit every time!)
6101 2005-02-07 Bryan Clark <clarkbw@cvs.gnome.org>
6103 * data/evince.schemas.in: updated simple error in applyto closing tag
6105 2005-02-07 Christian Persch <chpe@cvs.gnome.org>
6111 * data/evince-ui.xml:
6112 A data/evince.schemas.in:
6114 * shell/ev-stock-icons.c: (ev_stock_icons_init):
6115 * shell/ev-stock-icons.h:
6116 * shell/ev-window.c: (update_chrome_visibility),
6117 (update_chrome_flag), (ev_window_cmd_edit_find),
6118 (ev_window_update_fullscreen_popup), (ev_window_fullscreen),
6119 (ev_window_unfullscreen), (ev_window_focus_in_event),
6120 (ev_window_focus_out_event), (ev_window_cmd_leave_fullscreen),
6121 (ev_window_view_toolbar_cb), (ev_window_view_statusbar_cb),
6122 (ev_window_view_sidebar_cb), (find_bar_close_cb),
6123 (ev_window_dispose), (ev_window_class_init),
6124 (set_action_properties), (set_chrome_actions), (load_chrome),
6127 Implement fullscreen mode changes from bug #164776.
6128 Also implement persistent chrome toggles.
6130 2005-02-07 Jordi Mallach <jordi@sindominio.net>
6132 * configure.ac (ALL_LINGUAS): Added "ca" (Catalan).
6134 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
6140 Add another check for find interface
6144 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
6146 * shell/ev-application.c: (ev_application_open):
6147 * shell/ev-window.c: (ev_window_open):
6149 Open gzipped ps documents
6151 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
6154 * shell/ev-view.c: (set_document_page):
6156 Clamp page number, dont try to move to
6159 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
6161 * backend/ev-document-find.c: (ev_document_find_changed):
6162 * backend/ev-document-find.h:
6163 * pdf/xpdf/pdf-document.cc:
6164 * shell/ev-view.c: (jump_to_find_result), (ev_view_set_document):
6165 * shell/ev-window.c: (find_bar_search_changed_cb):
6167 Fix several bugs with find
6169 2005-02-04 Martin Kretzschmar <martink@gnome.org>
6171 * shell/ev-sidebar-thumbnails.c
6172 (ev_sidebar_thumbnails_select_page): do nothing unless we have a
6173 document. Prevents warning from scroll_to_cell.
6175 2005-02-02 Kjartan Maraas <kmaraas@gnome.org>
6177 * configure.ac: Add «nb» to ALL_LINGUAS too.
6179 Wed Feb 2 21:13:11 2005 Jonathan Blandford <jrb@redhat.com>
6181 * NOTES: New file with some random thoughts.
6185 * backend/ev-document-misc.c:
6186 (ev_document_misc_get_page_border_size): New function to
6187 canonicalize shadow drawing sizes. Possibly goofy.
6189 * shell/ev-view.c: (ev_view_size_request), (set_document_page),
6190 (ev_view_best_fit), (ev_view_fit_width):
6191 * pdf/xpdf/pdf-document.cc:
6192 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
6193 * ps/ps-document.c: (ps_document_get_page_size):
6194 * backend/ev-document-misc.h:
6195 * backend/ev-document.c: (ev_document_get_page_size):
6196 * backend/ev-document.h: get_page_size now takes a page number
6197 parameter. Made all the backends/frontends honor it.
6199 * data/evince-ui.xml: Added a multiple-page mode. Uncomment to
6200 see. Doesn't work yet.
6202 * shell/Makefile.am:
6203 * shell/ev-page-view.[ch]: New multi-page view. Really rough.
6204 Doesn't do anything yet.
6206 * shell/ev-sidebar-thumbnails.c:
6207 (ev_sidebar_thumbnails_set_document): [1..n_pages] instead of
6210 * shell/ev-window.c: (update_action_sensitivity),
6211 (ev_window_setup_document), (ev_window_set_page_mode),
6212 (ev_window_page_mode_cb), (ev_window_init): Clean up the
6213 view-swapping code a bit so we can have multiple views on a
6214 document. Add the multi-page view, though it can't be turned on
6217 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
6219 * shell/ev-application.c: (ev_application_open):
6220 * shell/ev-view.c: (expose_bin_window):
6221 * shell/ev-window.c: (ev_window_open):
6223 Support eps and check document supports find
6224 before drawing highlightings in expose.
6226 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
6228 * pixbuf/pixbuf-document.c:
6229 (pixbuf_document_thumbnails_get_dimensions),
6230 (pixbuf_document_document_thumbnails_iface_init):
6232 implement get_dimensions
6234 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
6241 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
6243 * shell/ev-view.c: (set_document_page):
6245 Scroll at the top of the page when changing page
6247 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
6249 * shell/ev-view.c: (ev_view_motion_notify_event):
6251 Do not redraw unnecessarily
6253 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
6255 * pdf/xpdf/pdf-document.cc:
6256 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
6257 (expose_bin_window), (find_changed_cb):
6259 Yay! find works now... Now to find bugs...
6261 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
6263 * backend/ev-document-find.c: (ev_document_find_base_init),
6264 (ev_document_find_changed):
6265 * backend/ev-document-find.h:
6266 * pdf/xpdf/pdf-document.cc:
6267 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
6268 (expose_bin_window), (ev_view_init), (set_document_page),
6269 (ensure_rectangle_is_visible), (jump_to_find_result),
6270 (jump_to_find_page), (find_changed_cb), (ev_view_set_document),
6271 (ev_view_find_next), (ev_view_find_previous):
6273 * shell/ev-window.c: (find_bar_previous_cb), (find_bar_next_cb):
6275 More work on find implementation, mostly there now
6277 2005-01-29 Marco Pesenti Gritti <marco@gnome.org>
6279 * backend/ev-backend-marshalers.list:
6280 * backend/ev-document-find.c: (ev_document_find_base_init),
6281 (ev_document_find_cancel), (ev_document_find_page_has_results),
6282 (ev_document_find_get_n_results), (ev_document_find_get_result),
6283 (ev_document_find_get_progress), (ev_document_find_changed):
6284 * backend/ev-document-find.h:
6286 Enanche the find interface to be really able to do
6289 * pdf/xpdf/pdf-document.cc:
6293 * shell/ev-view.c: (ev_view_finalize), (highlight_find_results),
6294 (expose_bin_window), (ev_view_init),
6295 (ev_view_get_find_status_message), (find_changed_cb),
6296 (ev_view_set_document), (set_document_page):
6298 Adapt to the new interface. A few things are regressed sorry,
6299 I will finish it soon.
6301 2005-01-28 Martin Kretzschmar <martink@gnome.org>
6303 * shell/ev-sidebar-thumbnails.c (ev_sidebar_thumbnails_destroy)
6304 (ev_sidebar_thumbnails_class_init): use G_DEFINE_TYPE-supplied
6305 ev_sidebar_thumbnails_parent_class variable, don't define another
6306 parent_class variable.
6308 * shell/ev-page-action.c (connect_proxy, ev_page_action_finalize)
6309 (ev_page_action_class_init): ditto.
6311 * pixbuf/pixbuf-document.c (pixbuf_document_finalize)
6312 (pixbuf_document_class_init): ditto.
6314 * backend/ev-link.c (ev_window_dispose, ev_link_class_init):
6317 * .cvsignore: ignore various valgrind output files.
6319 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
6321 * data/evince-ui.xml:
6322 * shell/Makefile.am:
6323 * shell/ev-history.c:
6324 * shell/ev-history.h:
6325 * shell/ev-navigation-action.c:
6326 * shell/ev-navigation-action.h:
6327 * shell/ev-view.c: (ev_view_finalize), (ev_view_go_to_link),
6328 (ev_view_set_page), (ev_view_fit_width):
6330 * shell/ev-window.c: (update_action_sensitivity),
6331 (ev_window_setup_document), (register_custom_actions):
6333 Kill session history
6335 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
6337 * shell/ev-window.c: (update_action_sensitivity):
6339 Fix inverted up/down buttons
6341 2005-01-27 Martin Kretzschmar <martink@gnome.org>
6343 * shell/ev-sidebar-thumbnails.c
6344 (ev_sidebar_thumbnails_select_page): make sure the selected
6345 thumbnail stays visible.
6347 2005-01-26 Martin Kretzschmar <martink@gnome.org>
6349 * shell/ev-window.c (ev_window_init): add GTK_SHADOW_IN to the
6350 scrolled window for Federico.
6352 2005-01-26 Ole Laursen <olau@hardworking.dk>
6354 * configure.ac: Added "da" (Danish) to ALL_LINGUAS.
6356 2005-01-26 Marco Pesenti Gritti <marco@gnome.org>
6359 * pdf/splash/SplashFTFontEngine.cc:
6361 Fix CID fonts with freetype 2.1.9
6363 2005-01-26 Bryan Clark <clarkbw@cvs.gnome.org>
6365 * TODO: added item for desktop icon thumbnailer
6367 Tue Jan 25 00:59:34 2005 Jonathan Blandford <jrb@redhat.com>
6369 * pdf/xpdf/pdf-document.cc (pdf_document_get_title): guard against
6370 unloaded docs when the title is accessed.
6372 * shell/ev-password-view.[hc]: New widget for displaying password
6375 * shell/ev-window.[ch]: Refactor password handling code to handle
6378 2005-01-24 Marco Pesenti Gritti <marco@gnome.org>
6386 2005-01-23 Stephane LOEUILLET <stephane.loeuillet@tiscali.fr>
6388 * pdf/xpdf/pdf-document.cc (pdf_document_search_page_changed):
6389 ignore page offset here, to make search results independent of it,
6391 * shell/ev-view.c (expose_bin_window): but take offsets into
6392 account here. Bug #164932
6394 * pdf/xpdf/pdf-document.cc (pdf_document_get_link): divide by
6395 scale at the right time. Bug #164996
6397 2005-01-22 Martin Kretzschmar <martink@gnome.org>
6399 * pdf/xpdf/GlobalParams.cc: My 2005-01-05 change didn't actually
6400 fix the problem. Now I just removed the Adobe font names and hope
6401 that the URW fonts are always in outline format. Bug #164934
6403 * shell/ev-window.c (update_window_title): empty titles are
6404 useless, use filename in that case too.
6406 * NEWS: Add some content.
6408 2005-01-21 Bryan Clark <clarkbw@cvs.gnome.org>
6410 * TODO: added one more TODO item and a TODONE section :)
6412 2005-01-21 Martin Kretzschmar <martink@gnome.org>
6414 * ps/ps-document.h: add page_[xy]_offset fields.
6416 * ps/ps-document.c (ps_document_set_page_offset)
6417 (ps_document_render): Keep offset in consideration in a few
6418 places. Bug #164752 "postscript documents are not centered in
6421 * data/evince.desktop.in (X-GNOME-Bugzilla-Product):
6422 s/gpdf/evince/. Spotted by Stephane Loeuillet.
6424 * pixbuf/pixbuf-document.c (pixbuf_document_get_n_pages)
6425 (pixbuf_document_get_text, pixbuf_document_document_iface_init):
6426 stub out missing methods for complete EvDocument implementation.
6427 Fixes segfaults with Save A Copy and Copy actions.
6429 * ps/ps-document.c (ps_document_save, ps_document_get_text)
6430 (ps_document_document_iface_init): ditto.
6432 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
6436 * data/evince.desktop.in:
6440 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
6442 * shell/ev-view.c: (ev_view_button_press_event),
6443 (ev_view_motion_notify_event):
6445 Make selection work in any direction
6447 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
6450 * shell/ev-window.c: (set_short_labels), (ev_window_init):
6452 Use shorter labels for some of the toolbars items
6454 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
6456 * pdf/xpdf/pdf-document.cc:
6458 Check the links info is initialized before
6459 using it. Should fix a crash on startup.
6461 2005-01-21 Martin Kretzschmar <martink@gnome.org>
6463 * pixbuf/pixbuf-document.c
6464 (pixbuf_document_thumbnails_get_dimensions): force floating point
6465 division to calculate page_ratio. Fixes crash with landscape
6468 Thu Jan 20 18:56:35 2005 Jonathan Blandford <jrb@redhat.com>
6470 * shell/ev-view.c (ev_view_realize): make the bg color darker.
6472 2005-01-20 Martin Kretzschmar <martink@gnome.org>
6474 * shell/ev-view.c (set_document_page): unset has_selection when
6476 (set_document_page): handle paper size changes when the page
6477 changes (test with Free Culture, page 2).
6479 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
6481 * shell/ev-view.c: (ev_view_size_request), (ev_view_realize),
6482 (expose_bin_window), (ev_view_class_init), (ev_view_init):
6484 Use normal style color for the widget background and
6485 draw a black box around the page.
6487 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
6489 * pdf/xpdf/pdf-document.cc:
6491 Keep offset in consideration in a few places
6493 * shell/ev-view.c: (expose_bin_window):
6495 Set the offsets so that the document is ever centered
6497 2005-01-20 Bryan Clark <clarkbw@cvs.gnome.org>
6499 * TODO: Added TODO items and finished off the first todo item
6501 * AUTHORS: Updated AUTHORS section with piece from gpdf file and
6502 reflect current authors
6504 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
6506 * pdf/xpdf/pdf-document.cc:
6507 * shell/ev-view.c: (ev_view_set_cursor),
6508 (ev_view_motion_notify_event), (document_changed_callback),
6509 (set_document_page):
6511 Show a wait cursor while the page is rendering
6513 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
6515 * shell/ev-sidebar-thumbnails.c:
6516 (ev_sidebar_tree_selection_changed),
6517 (ev_sidebar_thumbnails_select_page):
6518 * shell/ev-sidebar-thumbnails.h:
6519 * shell/ev-view.c: (ev_view_set_document), (ev_view_can_go_back),
6520 (ev_view_can_go_forward):
6521 * shell/ev-window.c: (ev_window_open_page),
6522 (ev_window_setup_document), (update_current_page),
6523 (view_page_changed_cb), (ev_window_init):
6524 * shell/ev-window.h:
6526 Ensure thumbnails selection, toolbar page control and
6527 current page are in sync.
6529 2005-01-19 Marco Pesenti Gritti <marco@gnome.org>
6535 Wed Jan 19 01:10:57 2005 Jonathan Blandford <jrb@redhat.com>
6537 * backend/Makefile.am:
6538 * backend/ev-document-links.h:
6539 * backend/ev-document-security.c: (ev_document_security_get_type),
6540 (ev_document_security_has_document_security),
6541 (ev_document_security_set_password):
6542 * backend/ev-document-security.h:
6543 * backend/ev-document.c: (ev_document_error_quark):
6544 * backend/ev-document.h:
6546 * data/evince-password.glade:
6547 * pdf/xpdf/pdf-document.cc:
6548 * shell/Makefile.am:
6549 * shell/ev-password.c: (ev_password_set_bad_password_label),
6550 (ev_window_password_entry_changed_cb), (ev_password_dialog_new),
6551 (ev_password_dialog_get_password),
6552 (ev_password_dialog_set_bad_pass):
6553 * shell/ev-password.h:
6554 * shell/ev-window.c: (ev_window_get_attribute),
6555 (ev_window_set_property), (update_action_sensitivity),
6556 (ev_window_is_empty), (mime_type_supported_by_gdk_pixbuf),
6557 (ev_window_setup_document), (ev_window_get_password),
6558 (ev_window_open), (ev_window_cmd_save_as),
6559 (using_postscript_printer), (ev_window_print),
6560 (find_not_supported_dialog), (ev_window_cmd_edit_find),
6561 (update_fullscreen_popup), (ev_window_fullscreen),
6562 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
6563 (ev_window_focus_out_cb), (ev_window_cmd_help_about),
6564 (menu_item_select_cb), (find_bar_search_changed_cb),
6565 (ev_window_dispose), (ev_window_init):
6567 Add initial support for password-supported dialogs. This could be
6568 a lot cooler, but it'll do for now.
6570 2005-01-18 Marco Pesenti Gritti <marco@gnome.org>
6572 * pdf/xpdf/pdf-document.cc:
6573 * shell/ev-view.c: (status_message_from_link),
6574 (ev_view_set_status), (ev_view_set_cursor),
6575 (ev_view_motion_notify_event), (ev_view_init):
6576 * shell/ev-window.c: (view_status_changed_cb), (ev_window_init):
6578 Fix bugs in the links implementation and change cursor
6579 when hovering a link.
6581 2005-01-17 Bryan Clark <clarkbw@cvs.gnome.org>
6583 * viewer/.cvsignore: added cvsignore file for viewer directory
6585 * TODO: created TODO document
6587 2005-01-14 Dave Malcolm <dmalcolm@redhat.com>
6590 * shell/ev-view.c (ev_view_can_go_back), (ev_view_can_go_forward):
6591 new functions to help with implementation of sensitivity code
6592 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
6593 of all actions that might require it. Fixes a crash when you
6594 click on the Zoom actions in a window lacking a document.
6596 2005-01-13 Dave Malcolm <dmalcolm@redhat.com>
6598 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
6601 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
6603 * pixbuf/pixbuf-document.c: (pixbuf_document_get_link),
6604 (pixbuf_document_document_iface_init):
6605 * ps/ps-document.c: (ps_document_get_link),
6606 (ps_document_document_iface_init):
6607 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event),
6608 (status_message_from_link), (ev_view_set_status),
6609 (ev_view_set_find_status), (ev_view_motion_notify_event),
6610 (ev_view_button_release_event), (ev_view_set_property),
6611 (ev_view_get_property), (ev_view_class_init), (ev_view_init),
6612 (ev_view_get_find_status_message), (update_find_results),
6613 (ev_view_get_status), (ev_view_get_find_status):
6615 * shell/ev-window.c: (view_status_changed_cb),
6616 (view_find_status_changed_cb), (ev_window_init):
6618 View status message support, use it to show the links.
6621 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
6623 * backend/ev-document.c: (ev_document_get_link):
6624 * backend/ev-document.h:
6625 * pdf/xpdf/pdf-document.cc:
6626 * shell/ev-application.c: (ev_application_open):
6627 * shell/ev-application.h:
6628 * shell/ev-sidebar-links.c: (selection_changed_cb):
6629 * shell/ev-view.c: (ev_view_button_release_event), (go_to_link),
6630 (ev_view_go_to_link):
6632 Add support for document links
6634 2005-01-13 Anders Carlsson <andersca@gnome.org>
6636 * shell/ev-page-action.c: (update_spin), (total_pages_changed_cb),
6638 Set the spin button limits correctly.
6640 * shell/ev-sidebar-thumbnails.c:
6641 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init):
6642 Support changing pages by clicking on the thumbnails.
6644 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
6646 * pixbuf/pixbuf-document.c:
6647 (pixbuf_document_thumbnails_get_dimensions),
6648 (pixbuf_document_document_thumbnails_iface_init):
6650 implement get_dimensions
6652 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
6654 * ps/ps-document.c: (ps_document_goto_page):
6656 Fix page switching on multipage documents
6658 2005-01-12 Jeff Muizelaar <jrmuizel@nit.ca>
6660 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
6662 check for NULL before assigning to width and height parameters
6664 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
6666 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
6667 (pixbuf_document_set_property), (pixbuf_document_get_property):
6669 implement get/set properties
6671 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
6673 * pdf/xpdf/pdf-document.cc: (pdf_info_dict_get_string):
6675 return NULL instead of "Unknown", letting the title get set to
6676 the filename when the pdf has no title.
6678 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
6680 * ps/ps-document.c: (ps_document_get_page_count),
6681 (ps_document_goto_page):
6683 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
6685 * shell/ev-history.c: (ev_history_get_property),
6686 (ev_history_set_property), (ev_history_class_init),
6687 (ev_history_add_page), (ev_history_set_current_index):
6688 * shell/ev-navigation-action.c: (ev_navigation_action_set_history),
6689 (activate_menu_item_cb), (new_history_menu_item), (build_menu),
6690 (ev_navigation_action_finalize):
6691 * shell/ev-navigation-action.h:
6692 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
6693 (ev_view_go_forward), (ev_view_get_find_status_message),
6694 (history_index_changed_cb), (ev_view_set_history):
6696 * shell/ev-window.c: (update_total_pages), (ev_window_open),
6697 (update_current_page), (register_custom_actions):
6699 Implement history dropdowns
6701 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
6703 * shell/ev-history.c: (ev_history_init), (ev_history_add_link):
6704 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
6705 (ev_view_go_forward):
6706 * shell/ev-window.c: (register_custom_actions):
6708 Fix several history bugs
6710 2005-01-11 Kjartan Maraas <kmaraas@gnome.org>
6712 * configure.ac: Add «nb» to ALL_LINGUAS.
6714 2005-01-10 Marco Pesenti Gritti <marco@gnome.org>
6716 * backend/Makefile.am:
6717 * backend/ev-bookmark.c:
6718 * backend/ev-bookmark.h:
6719 * backend/ev-document-bookmarks.c:
6720 * backend/ev-document-bookmarks.h:
6721 * backend/ev-document-links.c: (ev_document_links_get_type),
6722 (ev_document_links_has_document_links),
6723 (ev_document_links_begin_read), (ev_document_links_get_link),
6724 (ev_document_links_get_child), (ev_document_links_next),
6725 (ev_document_links_free_iter):
6726 * backend/ev-document-links.h:
6727 * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_title),
6728 (ev_link_set_title), (ev_link_get_uri), (ev_link_set_uri),
6729 (ev_link_get_link_type), (ev_link_set_link_type),
6730 (ev_link_get_page), (ev_link_set_page), (ev_link_get_property),
6731 (ev_link_set_property), (ev_window_dispose), (ev_link_init),
6732 (ev_link_class_init), (ev_link_new_title), (ev_link_new_page),
6733 (ev_link_new_external):
6734 * backend/ev-link.h:
6735 * pdf/xpdf/pdf-document.cc:
6736 * shell/Makefile.am:
6737 * shell/ev-application.c: (ev_application_open_link):
6738 * shell/ev-application.h:
6739 * shell/ev-history.c: (ev_history_add_link), (ev_history_add_page),
6740 (ev_history_get_link_nth):
6741 * shell/ev-history.h:
6742 * shell/ev-sidebar-bookmarks.c:
6743 * shell/ev-sidebar-bookmarks.h:
6744 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
6745 (ev_sidebar_links_class_init), (selection_changed_cb),
6746 (ev_sidebar_links_construct), (ev_sidebar_links_init),
6747 (links_page_num_func), (ev_sidebar_links_new), (stack_data_free),
6748 (do_one_iteration), (populate_links_idle),
6749 (ev_sidebar_links_clear_document), (ev_sidebar_links_set_document):
6750 * shell/ev-sidebar-links.h:
6751 * shell/ev-sidebar.c: (ev_sidebar_set_document):
6752 * shell/ev-view.c: (go_to_link), (ev_view_go_to_link),
6755 * shell/ev-window.c: (ev_window_open_link), (ev_window_init):
6756 * shell/ev-window.h:
6758 Rename bookmark to link, and use "Index" for the sidebar panel.
6760 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
6762 * shell/Makefile.am:
6763 * shell/ev-application.c: (ev_application_open_bookmark):
6764 * shell/ev-application.h:
6765 * shell/ev-history.c: (ev_history_init), (free_links_list),
6766 (ev_history_finalize), (ev_history_class_init),
6767 (ev_history_add_link), (ev_history_add_page),
6768 (ev_history_get_link_nth), (ev_history_get_n_links),
6769 (ev_history_get_current_index), (ev_history_set_current_index),
6771 * shell/ev-history.h:
6772 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
6773 * shell/ev-view.c: (ev_view_finalize), (ev_view_set_document),
6774 (set_document_page), (go_to_bookmark), (ev_view_go_to_bookmark),
6775 (go_to_index), (ev_view_go_back), (ev_view_go_forward),
6778 * shell/ev-window.c: (ev_window_open_bookmark),
6779 (ev_window_cmd_go_back), (ev_window_cmd_go_forward),
6780 (goto_page_cb), (register_custom_actions):
6781 * shell/ev-window.h:
6783 Initial history implementation. Needs work.
6785 2005-01-09 Martin Kretzschmar <martink@gnome.org>
6787 * pdf/xpdf/GDKSplashOutputDev.cc (redraw): fix pixbuf data offset.
6789 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
6791 * cut-n-paste/recent-files/egg-recent-item.c:
6792 * cut-n-paste/recent-files/egg-recent-item.h:
6793 * cut-n-paste/recent-files/egg-recent-model.c:
6794 * cut-n-paste/recent-files/egg-recent-util.c:
6795 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
6796 * cut-n-paste/recent-files/egg-recent-view.c:
6800 2005-01-08 Martin Kretzschmar <martink@gnome.org>
6802 * pdf/splash/Splash.cc (clear, drawPixel, drawSpan, xorSpan, getPixel)
6803 (fillGlyph, fillImageMask, drawImage):
6804 pdf/splash/SplashBitmap.cc (SplashBitmap, ~SplashBitmap, writePNMFile):
6805 pdf/splash/SplashTypes.h:
6806 pdf/xpdf/SplashOutputDev (startPage, getColor, imageSrc): implement RGB8
6807 packed mode for Splash.
6809 * pdf/xpdf/GDKSplashOutputDev.cc (GDKSplashOutputDev, redraw): use
6810 RGB8 packed mode, eliminates the pixbuf data creation loop.
6812 * shell/ev-print-job.c (ev_print_job_finalize)
6813 (ev_print_job_set_property, ev_print_job_get_property)
6814 (ev_print_job_set_gnome_print_job, ev_print_job_set_document)
6815 (ev_print_job_use_print_dialog_settings, idle_print_handler)
6816 (print_closure_finalize, ev_print_job_print): implement
6817 printing (for backends with EvPsExporter)
6819 * shell/ev_print_job.h: update prototypes.
6821 * shell/ev-window.c (ev_window_print): unref print job after
6824 * shell/ev-view.c (ev_view_set_document): don't connect to "found"
6825 unless the document implements the EvDocumentFind interface.
6827 2005-01-08 Satoru SATOH <ss@gnome.gr.jp>
6829 * configure.ac: Added ja to ALL_LINGUAS.
6831 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
6833 * pdf/xpdf/pdf-document.cc:
6835 add a FIXME. We should probably not allocate
6836 a bookmark object every time
6838 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
6840 * shell/ev-application.c: (ev_application_open),
6841 (ev_application_open_bookmark):
6842 * shell/ev-application.h:
6844 Add a way to open bookmarks
6846 * backend/ev-bookmark.c: (ev_bookmark_get_uri),
6847 (ev_bookmark_set_uri), (ev_bookmark_get_property),
6848 (ev_bookmark_set_property), (ev_bookmark_class_init),
6849 (ev_bookmark_new_title), (ev_bookmark_new_link),
6850 (ev_bookmark_new_external):
6852 Support for external uris, better constructors.
6854 * backend/ev-bookmark.h:
6855 * pdf/xpdf/pdf-document.cc:
6856 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
6858 Handle external uris
6860 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
6862 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb),
6863 (ev_sidebar_bookmarks_construct), (do_one_iteration):
6865 Hook up bookmarks navigation
6867 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
6869 * backend/Makefile.am:
6870 * backend/ev-bookmark.c: (ev_bookmark_type_get_type),
6871 (ev_bookmark_get_title), (ev_bookmark_set_title),
6872 (ev_bookmark_get_bookmark_type), (ev_bookmark_set_bookmark_type),
6873 (ev_bookmark_get_page), (ev_bookmark_set_page),
6874 (ev_bookmark_get_property), (ev_bookmark_set_property),
6875 (ev_window_dispose), (ev_bookmark_init), (ev_bookmark_class_init),
6877 * backend/ev-bookmark.h:
6878 * backend/ev-document-bookmarks.c:
6879 (ev_document_bookmarks_get_bookmark):
6880 * backend/ev-document-bookmarks.h:
6881 * pdf/xpdf/pdf-document.cc:
6882 * shell/ev-sidebar-bookmarks.c: (do_one_iteration):
6884 Add a bookmark object to the backend and use it instead of get_values
6886 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
6888 * data/evince-ui.xml:
6890 Cleanup and add select all.
6892 * shell/ev-view.c: (ev_view_select_all),
6893 (ev_view_button_press_event):
6895 * shell/ev-window.c: (ev_window_cmd_edit_select_all):
6898 Clear selection on click.
6900 Fri Jan 7 01:28:58 2005 Jonathan Blandford <jrb@redhat.com>
6902 * shell/ev-sidebar-thumbnails.c
6903 (ev_sidebar_thumbnails_set_document): forgot to unref the
6906 Fri Jan 7 01:22:48 2005 Jonathan Blandford <jrb@redhat.com>
6908 * shell/ev-sidebar-thumbnails.c: fill in the thumbnails starting
6909 at the visible page, not just linearly. This makes it look fast.
6911 Thu Jan 6 18:48:11 2005 Jonathan Blandford <jrb@redhat.com>
6913 * backend/ev-document-misc.c
6914 (ev_document_misc_get_thumbnail_frame): fill in the thumbnail with
6916 * backend/ev-document-thumbnails.h: New interface to get the size
6919 2005-01-06 Jeremy Katz <katzj@redhat.com>
6921 * shell/Makefile.am (evince_SOURCES): Add ev-utils.[ch] so that
6924 Wed Jan 5 15:38:28 2005 Jonathan Blandford <jrb@redhat.com>
6926 * pdf/xpdf/pdf-document.cc (bitmap_to_pixbuf): bypass
6927 GDKSplashOutputDev and just use a normal SplashOutputDev. Speeds
6930 * shell/ev-sidebar-thumbnail.c: start of some profiling code.
6932 2005-01-05 Martin Kretzschmar <martink@gnome.org>
6934 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): match only outline
6935 fonts. Should fix font problems on systems that have the base
6936 fonts in bitmap format. Reported by James Henstridge
6937 <james@jamesh.id.au>.
6939 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
6942 * pdf/xpdf/GfxState.cc:
6944 Fix for CAN-2004-1125
6946 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
6948 * shell/ev-view.c: (ev_view_copy):
6950 * shell/ev-window.c: (ev_window_cmd_edit_copy):
6952 Implement Edit->Copy
6954 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
6956 * backend/ev-document.c: (ev_document_get_text):
6957 * backend/ev-document.h:
6958 * pdf/xpdf/pdf-document.cc:
6959 * shell/ev-view.c: (ev_view_realize), (expose_bin_window),
6960 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
6961 (ev_view_update_primary_selection), (ev_view_button_press_event),
6962 (ev_view_motion_notify_event), (ev_view_button_release_event):
6964 Beginnings of clipboard support. Incomplete but primary sort
6967 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
6969 * shell/ev-view.c: (ev_gdk_color_to_rgb), (draw_rubberband),
6970 (expose_bin_window):
6972 Nicer rubberband drawing, from GtkIconView.
6974 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
6976 * backend/ev-document.c: (ev_document_save):
6977 * backend/ev-document.h:
6978 * data/evince-ui.xml:
6979 * pdf/xpdf/pdf-document.cc:
6980 * shell/ev-window.c: (save_error_dialog), (ev_window_cmd_save_as):
6982 Implement "Save a copy..." menu item
6984 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
6986 * shell/ev-view.c: (ev_view_zoom):
6988 Queue a resize when zoom changes
6990 Wed Jan 5 02:33:06 2005 Jonathan Blandford <jrb@redhat.com>
6992 * backend/ev-document-misc.[ch]: New misc file to do simple drop
6995 * pdf/xpdf/pdf-document.cc: use the drop shadows in both types of
6998 Tue Jan 4 22:32:32 2005 Jonathan Blandford <jrb@redhat.com>
7000 * pdf/xpdf/pdf-document.cc
7001 (pdf_document_thumbnails_get_page_pixbuf): poor man's dropshadow.
7003 Tue Jan 4 21:25:05 2005 Jonathan Blandford <jrb@redhat.com>
7005 * pdf/xpdf/pdf-document.cc: Do real thumbnailing of PDF files.
7006 It's slow, but I'll speed it up next!
7008 2005-01-04 Jeff Muizelaar <jrmuizel@nit.ca>
7010 * shell/main.c (load_files):
7012 use gnome_vfs_make_uri_from_shell_arg so that relative paths work
7013 from the command line and because it seems more appropriate.
7015 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
7017 * data/evince-ui.xml:
7018 * shell/ev-window.c: (update_action_sensitivity),
7019 (ev_window_cmd_go_page_up), (ev_window_cmd_go_page_down):
7021 s/next page/page down
7022 s/previous page/page up
7024 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
7026 * data/evince-ui.xml:
7028 Change the layout to match clarkbw design.
7030 * shell/Makefile.am:
7031 * shell/ev-navigation-action.c: (build_menu), (menu_activated_cb),
7032 (set_tooltip_cb), (connect_proxy), (ev_navigation_action_init),
7033 (ev_navigation_action_finalize),
7034 (ev_navigation_action_set_property),
7035 (ev_navigation_action_get_property),
7036 (ev_navigation_action_class_init):
7037 * shell/ev-navigation-action.h:
7039 Implement clarkbw toolbar navigation controls (incomplete)
7041 * shell/ev-page-action.c: (update_label), (update_spin),
7042 (value_changed_cb), (create_tool_item), (connect_proxy),
7043 (ev_page_action_init), (ev_page_action_finalize),
7044 (ev_page_action_set_property), (ev_page_action_get_property),
7045 (ev_page_action_set_current_page),
7046 (ev_page_action_set_total_pages), (ev_page_action_class_init):
7047 * shell/ev-page-action.h:
7049 Implement a page switcher in the toolbar
7051 * shell/ev-view.c: (ev_view_scroll_view):
7052 * shell/ev-window.c: (update_total_pages), (ev_window_open),
7053 (update_current_page), (view_page_changed_cb), (goto_page_cb),
7054 (register_custom_actions), (ev_window_init):
7056 Change page on PageUp/Down.
7058 Tue Jan 4 03:22:56 2005 Jonathan Blandford <jrb@redhat.com>
7060 * pdf/xpdf/pdf-document.cc
7061 (pdf_document_thumbnails_get_thumbnail): initial stab at
7062 implementing thumbnail support for pdfs. It only does documents
7063 with precached pdfs now.
7065 Mon Jan 3 17:22:25 2005 Jonathan Blandford <jrb@redhat.com>
7067 * shell/ev-sidebar-thumbnails.c (do_one_iteration): move the
7068 thumbnail code into a time-based idle as well. Also, turn off the
7069 shadow temporarily as it's really slow.
7071 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
7073 * backend/ev-document.c: (ev_document_class_init):
7074 * pdf/xpdf/pdf-document.cc:
7075 * shell/ev-window.c: (ev_window_open):
7077 Fix document title bugs and fallback to
7078 filename when not available.
7080 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
7082 * backend/ev-document.c: (ev_document_get_type),
7083 (ev_document_class_init), (ev_document_load),
7084 (ev_document_get_title):
7085 * backend/ev-document.h:
7086 * pdf/xpdf/pdf-document.cc:
7087 * ps/ps-document.c: (ps_document_set_property),
7088 (ps_document_get_property), (ps_document_class_init),
7092 * shell/ev-window.c: (update_window_title), (ev_window_open),
7095 Initial support for document title. Not working yet.
7097 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
7099 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event):
7101 Grab focus on the view when clicking it
7103 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
7105 * shell/ev-marshal.list:
7106 * shell/ev-view.c: (ev_view_realize), (add_scroll_binding),
7107 (ev_view_scroll_view), (ev_view_class_init), (ev_view_init):
7109 Add key bindings to the view. Now if the focus would work
7112 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
7115 * backend/Makefile.am:
7118 * dvi/dvilib/Makefile.am:
7119 * pdf/xpdf/Makefile.am:
7125 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
7127 * shell/ev-view.c: (ev_view_realize):
7129 Fix mouse wheel scrolling
7131 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
7137 * ps/ps-document.c: (catchPipe), (ps_document_init),
7138 (ps_document_class_init), (ps_document_cleanup),
7139 (ps_document_finalize), (send_ps), (ps_document_get_orientation),
7140 (set_up_page), (close_pipe), (is_interpreter_ready),
7141 (interpreter_failed), (output), (input), (start_interpreter),
7142 (stop_interpreter), (file_length), (file_readable),
7143 (check_filecompressed), (check_pdf), (compute_xdpi),
7144 (compute_ydpi), (compute_size), (ps_document_enable_interpreter),
7145 (ps_document_get_type), (ps_document_emit_error_msg),
7146 (document_load), (ps_document_next_page),
7147 (ps_document_get_current_page), (ps_document_get_page_count),
7148 (ps_document_goto_page), (ps_document_set_page_size),
7149 (ps_document_zoom_to_fit), (ps_document_set_zoom),
7150 (ps_document_load), (ps_document_get_n_pages),
7151 (ps_document_set_page), (ps_document_get_page),
7152 (ps_document_widget_event), (ps_document_set_target),
7153 (ps_document_set_scale), (ps_document_set_page_offset),
7154 (ps_document_get_page_size), (ps_document_render),
7155 (ps_document_document_iface_init):
7158 * shell/ev-window.c: (ev_window_open):
7160 Rename GtkGS to PSDocument
7162 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
7164 * ps/gtkgs.c: (gtk_gs_class_init):
7167 Some more leftover...
7169 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
7171 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_get_orientation),
7172 (output), (stop_interpreter), (gtk_gs_emit_error_msg),
7173 (gtk_gs_zoom_to_fit), (gtk_gs_set_zoom):
7176 Remove unused code and make a lot of stuff private
7178 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
7180 * ps/gsdefaults.c: (gtk_gs_defaults_gconf_client),
7181 (gtk_gs_defaults_changed):
7187 Cleanup headers dependencies
7189 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
7194 * ps/gsdefaults.c: (gtk_gs_defaults_get_paper_sizes):
7196 * ps/gtkgs.c: (file_length), (file_readable),
7197 (check_filecompressed), (check_pdf), (gtk_gs_load),
7198 (gtk_gs_get_postscript):
7202 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
7207 * ps/gtkgs.c: (gtk_gs_set_zoom):
7211 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
7213 * ps/gtkgs.c: (gtk_gs_set_zoom), (gtk_gs_set_zoom_mode):
7215 Ensure the page is rerendered when changing zoom
7217 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
7219 * backend/ev-document.c: (ev_document_base_init),
7220 (ev_document_changed):
7221 * backend/ev-document.h:
7223 Add a changed event that is emitted when the page content
7224 changes. This is necessary to deal with the fact that
7225 in ps backend rendering happen asycrounously.
7226 This makes the ps backend mostly work.
7228 * pdf/xpdf/pdf-document.cc:
7232 * ps/gtkgs.c: (set_up_page), (gtk_gs_widget_event),
7233 (ps_document_set_target):
7237 * shell/ev-view.c: (document_changed_callback),
7238 (ev_view_set_document), (ev_view_set_page):
7240 Redraw on the changed signal
7242 2004-12-25 Raphael Higino <raphaelh@cvs.gnome.org>
7244 * configure.ac: Added pt_BR to ALL_LINGUAS.
7246 Fri Dec 24 00:48:44 2004 Jonathan Blandford <jrb@redhat.com>
7248 * backend/ev-document-bookmarks.c:
7249 (ev_document_bookmarks_get_child): *
7250 backend/ev-document-bookmarks.h: * pdf/xpdf/Makefile.am: *
7251 pdf/xpdf/pdf-document.cc: * pdf/xpdf/pdf-document.h: *
7252 shell/Makefile.am: * shell/ev-sidebar-bookmarks.c:
7253 (ev_sidebar_bookmarks_destroy),
7254 (ev_sidebar_bookmarks_class_init),
7255 (ev_sidebar_bookmarks_construct), (stack_data_free),
7256 (do_one_iteration), (populate_bookmarks_idle),
7257 (ev_sidebar_bookmarks_clear_document),
7258 (ev_sidebar_bookmarks_set_document): *
7259 shell/ev-sidebar-bookmarks.h: * shell/ev-sidebar.c:
7260 (ev_sidebar_add_page),
7261 (ev_sidebar_set_document): * shell/ev-window.c: (ev_window_open):
7262 Initial stab at a bookmarks sidebar. It doesn't navigate yet, but
7263 it displays both the topics and the page numbers.
7265 2004-12-23 Kristian Høgsberg <krh@redhat.com>
7267 * shell/ev-window.c (ev_window_view_sidebar_cb): Hook up sidebar
7269 * shell/ev-window.c (toggle_entries): Set sidebar default value to
7272 2004-12-23 Adam Weinberger <adamw@gnome.org>
7274 * configure.ac: Added en_CA to ALL_LINGUAS.
7276 2004-12-23 Martin Kretzschmar <martink@gnome.org>
7278 * ChangeLog: replace bottom of this ChangeLog (merged history of
7279 ggv and gpdf; where all paths were wrong and most of the files are
7280 not even in this tree) with ChangeLog (from arch) of the shell
7283 2004-12-23 Havoc Pennington <hp@redhat.com>
7285 * shell/ev-window.c: hook up potentially-questionable "find
7286 results status text" feature - something involving the sidebar or
7287 scrollbar or a continuous all-pages-on-giant-roll-of-paper-view
7288 might be better in the end.
7290 * shell/ev-view.c (ev_view_get_find_status_message): new function,
7291 with corresponding signal when it should be updated
7293 * shell/eggfindbar.c (egg_find_bar_set_status_text): new function
7295 2004-12-22 Havoc Pennington <hp@redhat.com>
7297 * pdf/xpdf/pdf-document.cc (pdf_document_find_begin): make search
7298 find stuff on other pages, sort of (only returns one result on
7299 invisible pages, to show they have results; updates full results
7300 for a page when you view it). Currently repaints the current page
7301 every time a new result is found on any page, which isn't so nice.
7303 2004-12-22 Havoc Pennington <hp@redhat.com>
7305 * shell/ev-window.c (ev_window_cmd_edit_find): display an error if
7306 the document doesn't support find (better ideas?)
7307 (find_bar_search_changed_cb): handle missing document or document
7308 that doesn't support find
7310 * pdf/xpdf/pdf-document.cc: port to implement the new
7313 * backend/ev-document-find.c: create a new interface for searching
7315 * backend/ev-document.h, backend/ev-document.c: delete the find stuff
7317 2004-12-23 Martin Kretzschmar <martink@gnome.org>
7319 * pdf/xpdf/Makefile.am (libpdfdocument_la_LIBADD): add
7322 * shell/ev-window.c (ev_window_print): add GnomePrintJob to
7323 EvPrintJob constructor arguments.
7325 * backend/ev-ps-exporter.c, backend/ev-ps-exporter.h: interface
7326 for documents that can export PostScript (page by page).
7328 * backend/Makefile.am (libevbackend_la_SOURCES): add them.
7330 * pdf/xpdf/pdf-document.cc (pdf_document_ps_export_begin)
7331 (pdf_document_ps_export_do_page, pdf_document_ps_export_end)
7332 (pdf_document_ps_exporter_iface_init:
7333 Implement EvPSExporter.
7335 * pdf/xpdf/Makefile.am (libxpdf_la_SOURCES): build PSOutputDev.
7337 2004-12-22 Anders Carlsson <andersca@gnome.org>
7339 * backend/Makefile.am:
7340 * backend/ev-document-thumbnails.c:
7341 (ev_document_thumbnails_get_type),
7342 (ev_document_thumbnails_get_thumbnail):
7343 * backend/ev-document-thumbnails.h:
7344 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
7345 (pixbuf_document_thumbnails_get_thumbnail),
7346 (pixbuf_document_document_thumbnails_iface_init):
7347 * shell/Makefile.am:
7348 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_destroy),
7349 (ev_sidebar_thumbnails_class_init), (ev_sidebar_thumbnails_init),
7350 (populate_thumbnails), (ev_sidebar_thumbnails_set_document):
7351 * shell/ev-sidebar-thumbnails.h:
7352 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
7353 (ev_sidebar_set_document):
7354 * shell/ev-utils.c: (gaussian), (create_blur_filter),
7355 (create_shadow), (ev_pixbuf_add_shadow):
7357 Add thumbnail support.
7359 2004-12-22 Martin Kretzschmar <martink@gnome.org>
7361 * shell/ev-window.c (ev_window_cmd_file_print, ev_window_print)
7362 (using_postscript_printer): Set up a print dialog for "PostScript
7365 * shell/ev-print-job.h, shell/ev-print-job.c: stub classes for
7368 * shell/Makefile.am (evince_SOURCES): add ev-print-job.[ch]
7370 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
7372 * ps/gtkgs.c: (gtk_gs_init), (set_up_page),
7373 (ps_document_set_target), (ps_document_get_page_size),
7374 (ps_document_render):
7379 2004-12-22 Christian Rose <menthos@menthos.com>
7381 * configure.ac: Added "sv" to ALL_LINGUAS.
7383 Wed Dec 22 14:47:38 2004 Jonathan Blandford <jrb@redhat.com>
7385 * backend/ev-document-bookmarks.[ch]: new interface to indicate
7386 document supports bookmarks.
7388 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
7390 * ps/ggvutils.c: (ggv_file_readable):
7392 * ps/gtkgs.c: (check_filecompressed), (check_pdf),
7393 (gtk_gs_get_postscript):
7397 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
7399 * ps/gtkgs.c: (gtk_gs_init), (gtk_gs_class_init), (gtk_gs_cleanup),
7400 (gtk_gs_finalize), (gtk_gs_set_center), (set_up_page), (output),
7401 (start_interpreter), (compute_size), (gtk_gs_enable_interpreter),
7402 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_reload),
7403 (gtk_gs_emit_error_msg), (gtk_gs_disable_interpreter),
7404 (gtk_gs_load), (gtk_gs_goto_page), (gtk_gs_set_page_size),
7405 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
7406 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
7407 (gtk_gs_set_antialiasing), (ps_document_load),
7408 (ps_document_render):
7411 Another check point for the ps backend. Now I can get it to show
7414 Wed Dec 22 13:41:01 2004 Jonathan Blandford <jrb@redhat.com>
7416 * shell/ev-sidebar.c (ev_sidebar_set_document): initial sidebar
7417 document setting code.
7419 2004-12-22 Anders Carlsson <andersca@gnome.org>
7421 * shell/eggfindbar.c: (entry_activate_callback):
7422 Animate the next button when activate is pressed.
7424 2004-12-22 Anders Carlsson <andersca@gnome.org>
7426 * shell/ev-window.c: (ev_window_cmd_edit_find),
7427 (update_fullscreen_popup), (ev_window_fullscreen),
7428 (ev_window_unfullscreen), (ev_window_state_event_cb),
7429 (ev_window_focus_out_cb), (find_bar_close_cb), (ev_window_init):
7430 Fix bugs in fullscreen code.
7432 2004-12-22 Anders Carlsson <andersca@gnome.org>
7436 * pixbuf/Makefile.am:
7437 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
7438 (pixbuf_document_load), (pixbuf_document_get_n_pages),
7439 (pixbuf_document_set_page), (pixbuf_document_get_page),
7440 (pixbuf_document_set_target), (pixbuf_document_set_scale),
7441 (pixbuf_document_set_page_offset), (pixbuf_document_get_page_size),
7442 (pixbuf_document_render), (pixbuf_document_begin_find),
7443 (pixbuf_document_end_find), (pixbuf_document_finalize),
7444 (pixbuf_document_class_init),
7445 (pixbuf_document_document_iface_init), (pixbuf_document_init):
7446 * pixbuf/pixbuf-document.h:
7447 * shell/Makefile.am:
7448 * shell/ev-application.c: (ev_application_open):
7449 * shell/ev-window.c: (mime_type_supported_by_gdk_pixbuf),
7453 Tue Dec 21 21:45:43 2004 Soeren Sandmann <sandmann@redhat.com>
7456 * dvi/dvilib/Makefile.am:
7458 * configure.ac: Auto*ify dvi and dvi/dvilib
7460 * dvi/Makefile: Remove from CVS
7462 * dvi/dvilib/dl-pkfont.cc (unpack_bitmap): Fix uchar/uint
7465 * dvi/dvilib/dl-fontdefinition.{cc,hh}: New DviFontMap class
7467 * dvi/dvilib/dl-vffont.{cc,hh}: Many bugfixes to VF code.
7469 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
7472 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_finalize),
7473 (gtk_gs_value_adjustment_changed), (compute_size),
7474 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_new_from_file),
7475 (gtk_gs_center_page), (gtk_gs_load), (gtk_gs_set_page_size),
7476 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
7477 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
7478 (gtk_gs_start_scroll), (gtk_gs_get_postscript),
7479 (gtk_gs_set_adjustments), (gtk_gs_set_available_size),
7480 (ps_document_load), (ps_document_get_n_pages),
7481 (ps_document_set_page), (ps_document_get_page),
7482 (ps_document_set_target), (ps_document_set_scale),
7483 (ps_document_set_page_offset), (ps_document_get_page_size),
7484 (ps_document_render), (ps_document_begin_find),
7485 (ps_document_end_find), (ps_document_document_iface_init):
7487 * shell/Makefile.am:
7488 * shell/ev-window.c: (ev_window_open):
7490 Some work to integrate gtkgs with EvDocument
7492 2004-12-22 Anders Carlsson <andersca@gnome.org>
7494 * shell/ev-window.c: (update_fullscreen_popup),
7495 (screen_size_changed_cb), (destroy_exit_fullscreen_popup),
7496 (exit_fullscreen_button_clicked_cb),
7497 (fullscreen_popup_size_request_cb), (ev_window_fullscreen),
7498 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
7499 (ev_window_state_event_cb), (ev_window_init):
7500 Add fullscreen support from Epiphany.
7502 2004-12-22 Mark McLoughlin <mark@skynet.ie>
7504 * data/ev-stock-zoom-fit-width.png: fit-width
7505 stock icon from gpdf.
7507 * shell/ev-stock-icons.[ch]: copied from gpdf.
7509 * shell/main.c: (main): init stock icons.
7511 * shell/ev-window.c: use the fit-width icon.
7513 * data/evince-ui.xml: add zooming toolbar items.
7515 2004-12-22 Mark McLoughlin <mark@skynet.ie>
7518 (ev_view_best_fit), (ev_view_fit_width): because
7519 get_page_size() returns the scaled page size, we
7520 need to calculate the scale factor relative to
7521 the previous scale factor. Should really just
7522 add get_real_page_size().
7524 2004-12-22 Mark McLoughlin <mark@skynet.ie>
7526 * shell/ev-view.[ch]:
7527 (ev_view_zoom), (ev_view_zoom_in), (ev_view_zoom_out),
7528 (ev_view_normal_size), (ev_view_best_fit), (ev_view_fit_width):
7531 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
7532 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_normal_size),
7533 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width):
7536 * pdf/xpdf/pdf-document.cc:
7537 (pdf_document_begin_find),
7538 (pdf_document_end_find): make static.
7540 2004-12-22 Martin Kretzschmar <martink@gnome.org>
7542 * pdf/xpdf/GlobalParams.h (setupBaseFontsFc): add prototype.
7544 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): maps base font
7545 names to fontconfig patterns.
7546 (setupBaseFontsFc): setupBaseFonts reimplemented using fontconfig.
7548 * pdf/xpdf/pdf-document.cc (pdf_document_load): use
7551 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
7567 Import ggv backend. Not hooked up yet.
7569 2004-12-22 Mark McLoughlin <mark@skynet.ie>
7571 * shell/main.c: (load_files), (main): load files
7572 from the command line.
7574 2004-12-22 Mark McLoughlin <mark@skynet.ie>
7576 * configure.ac: don't require bonobo.
7578 * cut-n-paste/recent-files/*: kill bonobo recent
7581 * shell/ev-window.c:
7582 (ev_window_is_empty): upd.
7583 (unable_to_load), (ev_window_open): load backend
7584 based on the mime type.
7586 2004-12-22 Martin Kretzschmar <martink@gnome.org>
7588 * backend/.cvsignore: ignore generated marshalers source.
7590 * shell/main.c (main): this is not epiphany.
7592 2004-12-22 Havoc Pennington <hp@redhat.com>
7594 * shell/ev-view.c (ev_view_set_document): connect to "found" signal
7595 (expose_bin_window): draw find highlights
7597 * shell/ev-window.c (find_bar_search_changed_cb): implement
7599 * pdf/xpdf/pdf-document.cc (pdf_document_begin_find)
7600 (pdf_document_end_find): implement this interface
7602 * backend/ev-document.c (ev_document_found): add this to emit
7605 Tue Dec 21 23:57:37 2004 Owen Taylor <otaylor@redhat.com>
7607 * data/evince-ui.xml: Add a few more toolbar items.
7609 * shell/ev-window.c: Hook up page navigation toolbar
7612 * shell/ev-view.[ch]: add ev_view_set/get_page and
7613 a page-changed signal.
7615 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc::
7616 Add ev_document_get_page().
7618 * shell/ev-window.c: Sensitize/desensitize navigation
7621 2004-12-21 Havoc Pennington <hp@redhat.com>
7623 * backend/ev-backend-marshal.c,
7624 backend/ev-backend-marshalers.list, backend/Makefile.am: add
7625 marshaler-generator thingy. I'm sure there's a better way to do
7626 this in the modern world.
7628 * backend/ev-document.h (struct _EvDocumentIface): add begin_find,
7629 end_find methods and "found" signal.
7631 * configure.ac: find glib-genmarshal
7633 Tue Dec 21 23:20:35 2004 Jonathan Blandford <jrb@redhat.com>
7635 * shell/ev-sidebar.c: Construct an actual sidebar.
7636 * shell/ev-sidebar-bookmarks.[ch]:
7637 * shell/ev-sidebar-thumbnails.[ch]: Stub out sidebars.
7639 Tue Dec 21 23:05:51 2004 Owen Taylor <otaylor@redhat.com>
7641 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc:
7644 * shell/ev-view.c: Track the size from the document.
7646 Tue Dec 21 22:17:04 2004 Owen Taylor <otaylor@redhat.com>
7648 * pdf/xpdf/pdf-document.cc (pdf_document_load): PDFDoc
7649 constructor assumes ownership of the string passed in.
7651 * shell/ev-window.c (ev_window_open): Destroy the error
7652 dialog once we've displayed it.
7654 Tue Dec 21 21:58:56 2004 Owen Taylor <otaylor@redhat.com>
7656 * pdf/xpdf/pdf-document.cc shell/ev-view.c: Hook things up
7657 a bit, it works! (sort of)
7659 * pdf/xpdf/Makefile.am pdf/xpdf/pdf-document.cc:
7660 Move to .cc since we need to use C++ in the implementation.
7662 * shell/dummy.cc: Add a CC file to force evince
7663 to be linked as a C++ program.
7665 Tue Dec 21 21:07:55 2004 Owen Taylor <otaylor@redhat.com>
7667 * shell/ev-view.[ch]: Start of content-area widget.
7669 * shell/ev-window.c: Create a EvView, update it
7670 as we change documents.
7672 * shell/Makefile.am shell/ev-marshal.list: Add
7673 generated marshalers.
7675 Tue Dec 21 20:28:11 2004 Jonathan Blandford <jrb@redhat.com>
7677 * Makefile.am (SUBDIRS): move shell.
7679 Tue Dec 21 19:28:55 2004 Owen Taylor <otaylor@redhat.com>
7681 * pdf/{goo,fofi,splash,xpdf}/Makefile.am: Switch from
7682 .a to libtool convenience libraries.
7684 * shell/ev-window.c (ev_window_open): Hard code loading
7687 * backend/ev-document.h: Add a boolean return to load(),
7688 fix GError * to GError **.
7690 * pdf/xpdf/pdf-document.[ch] Makefile.am: Add a stub
7691 object for a PDF backend EvDocument.
7693 Tue Dec 21 18:55:06 2004 Søren Sandmann <sandmann@redhat.com>
7695 * dvi/*: New directory with the beginning of a .dvi backend.
7697 2004-12-21 Havoc Pennington <hp@redhat.com>
7699 * shell/eggfindbar.c (egg_find_bar_init): change buttons to
7700 previous/next instead of back/forward
7702 Tue Dec 21 18:26:24 2004 Owen Taylor <otaylor@redhat.com>
7704 * backend/ev-document.[ch]: Fix a couple of problems so
7707 Tue Dec 21 18:20:40 2004 Owen Taylor <otaylor@redhat.com>
7709 * viewer/* backend/* configure.ac Makefile.am: Move viewer directory
7710 to backend/ directory, rename EvViewer to EvDocument.
7712 2004-12-21 Havoc Pennington <hp@redhat.com>
7714 * shell/ev-window.c: hook up the find bar widget; now we just need
7715 a document to find things in
7717 * shell/eggfindbar.c: a find bar widget
7719 Tue Dec 21 17:20:16 2004 Jonathan Blandford <jrb@redhat.com>
7721 * shell/ev-sidebar.[ch]: initial sidebar boilerplate.
7723 Tue Dec 21 16:30:58 2004 Owen Taylor <otaylor@redhat.com>
7725 * pdf/**: Import of xpdf code from gpdf.
7727 * pdf/xpdf/xpdfconfig.h: Move the non-config.h config.h to xpdfconfig.h
7729 * pdf/splash/SplashFTFont.{cc,h} pdf/splash/SplashFTFont.h
7730 pdf/splash/SplashFTFontEngine.h pdf/splash/SplashFTFontFile.h:
7731 Fix FreeType includes.
7733 * pdf/xpdf/{Error.h GnomeVFSStream.cc ImageOutputDev.cc PDFDoc.cc\
7734 pdffonts.cc pdfimages.cc pdfinfo.cc pdftoppm.cc pdftops.cc
7735 pdftotext.cc PSOutputDev.cc PSOutputDev.h SplashOutputDev.h
7736 Stream.cc TextOutputDev.cc XPDFApp.cc xpdf.cc XPDFViewer.cc
7737 pdf/xpdf/Error.h PSOutputDev.h SplashOutputDev.h}:
7738 Include xpdfconfig.h
7740 Tue Dec 21 16:08:17 2004 Jonathan Blandford <jrb@redhat.com>
7742 * shell/ev-window.c (ev_window_dispose): dispose can be called
7745 2004-12-21 Havoc Pennington <hp@redhat.com>
7747 * shell/ev-window.c (ev_window_init): set title to Document Viewer
7750 * data/evince-ui.xml, shell/ev-window.c: add a bunch of stub menu
7751 items; really they should be synced with the strings, etc. from
7752 current gpdf, but just getting the boring typing out of the way
7754 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
7757 * shell/ev-application.c: (window_destroy_cb):
7758 * shell/ev-window.c:
7759 * shell/main.c: (main):
7761 Actually show the window...
7763 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
7766 * shell/Makefile.am:
7767 * shell/ev-application.c: (ev_application_class_init):
7768 * shell/ev-window.c: (ev_window_dispose), (ev_window_class_init):
7772 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
7774 Import to gnome cvs.
7776 * Remove copies of gpdf and ggv trees.
7777 * Rip out all the recursive configure code.
7778 * Remove bonobo machinery.
7779 * viewer/*: GInterfaces that backends should/can implement.
7781 2004-11-09 Martin Kretzschmar <m_kretzschmar@gmx.net>
7783 * shell/ev-window.c (ev_window_cmd_help_about): fix "documentors"
7786 2004-10-28 Martin Kretzschmar <m_kretzschmar@gmx.net>
7788 * shell/ev-application.c (EV_APPLICATION_GET_PRIVATE)
7789 (ev_application_finalize, ev_application_class_init)
7790 (ev_application_init): use GType instance private data for priv.
7792 * shell/ev-window.c (EV_WINDOW_GET_PRIVATE)
7793 (ev_window_finalize, ev_window_class_init)
7794 (ev_window_init): ditto.
7796 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
7798 * shell/ev-application.c (ev_application_new_window): make public
7799 (ev_application_show_initial_window): kill.
7801 * shell/ev-application.h: update prototypes.
7803 * shell/main.cc (main): inline ev_application_show_initial_window.
7805 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
7807 * shell/ev-application.c (ev_application_new_window): impl.
7808 (ev_application_show_initial_window): use it.
7809 (is_window_empty, ev_application_get_empty_window): returns an
7810 existing empty window or a new one.
7811 (ev_application_open): from ev_window_cmd_file_open.
7813 * shell/ev-application.h: update prototypes
7815 * shell/ev-window.c (ev_window_is_empty): impl.
7816 (ev_window_open): make public.
7817 (ev_window_cmd_file_open): use ev_application_open
7819 * shell/ev-window.h: update prototypes, remove unused.
7821 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
7823 * shell/ev-window.c (ev_window_destroy, ev_window_class_init):
7824 move destroy handler out of here...
7826 * shell/ev-application.c, shell/ev-application.h: ...into this new
7827 class. Also handles initial window creation.
7829 * shell/main.cc (main): use EvApplication to create initial
7832 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
7834 * Makefile.am (SUBDIRS): add cut-n-paste
7836 * cut-n-paste/Makefile.am: add
7838 * configure.ac: generate Makefiles in cut-n-paste
7840 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
7842 * shell/ev-window.c (ev_window_dispose): new, unref the ui_manager
7843 (ev_window_class_init): install ev_window_dispose.
7845 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
7847 * shell/ev-window.h, shell/ev-window.c: replace gchar with
7848 char (gchar looks stupid).
7850 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
7852 * po/de.po: updated German translation.
7854 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
7856 * configure.ac: add more pkg-config library checks for gnome-vfs,
7859 * gpdf/configure.in: temporarily disable libpaper
7860 checks. Otherwise I'd have to add the checks for the shell, too.
7862 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7864 * shell/ev-window.c (ev_window_cmd_file_open): add ps+pdf, ps, pdf
7865 and * file filters to the file choose.
7867 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7869 * po/de.po: Updated German translation.
7871 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7873 * shell/ev-window.c: use "S" as mnemonic for Statusbar.
7875 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7877 * data/evince-ui.xml: add View->Toolbar and View->Statusbar.
7879 * shell/ev-window.c (menu_item_select_cb, menu_item_select_cb)
7880 (ev_window_init): implement those menuitems.
7882 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7884 * data/evince-ui.xml: add a toolbar (with FileOpen action)
7886 * shell/ev-window.c (ev_window_init): use the toolbar.
7888 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7890 * shell/ev-window.c (ev_window_init): use menu translations
7892 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7894 * configure.ac: add "de" to ALL_LINGUAS.
7896 * po/de.po: add German translation.
7898 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7900 * Makefile.am (SUBDIRS): add po
7902 * configure.ac: check intltool, glib-gettext etc, generate
7905 * po, po/POTFILES.in, po/POTFILES.skip: new.
7907 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7909 * shell/Makefile.am (INCLUDES): define GNOMELOCALEDIR which we
7910 already use (#ifdef ENABLE_NLS)
7912 * shell/ev-window.c (ev_window_cmd_help_about): fix two star
7913 pointer indirection thinko.
7915 * shell/main.c: include gi18n.h for bindtextdomain etc.
7917 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7919 * shell/ev-window.c (menu_item_select_cb, menu_item_deselect_cb)
7920 (connect_proxy_cb, disconnect_proxy_cb, ev_window_init): show
7921 tooltips for menu items in the statusbar.
7923 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7925 * configure.ac, data/Makefile.am, shell/Makefile.am: use
7926 pkgdatadir drop UIDIR
7928 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7930 * data/evince-ui.xml: Add File->Open menu item
7932 * shell/ev-window.c (ev_window_cmd_file_open): impl. (shows a file
7933 chooser), hook it up in the ui manager.
7935 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7937 * shell/ev-window.c: fix Help->About tooltip.
7939 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7941 * configure.ac: set CFLAGS for libevprivate.
7943 * lib/ev-stock-icons.h, lib/ev-stock-icons.c: stock icon
7944 definitions, factory etc.
7946 * lib/Makefile.am: build libevprivate.a (only stock icon code).
7948 * shell/Makefile.am: link against libevprivate.a.
7950 * shell/ev-window.c (entries): add stock icon to Help->About.
7952 * shell/main.c (main): init stock icon code.
7954 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7956 * lib/recent-files: egg recent files code
7958 * lib/Makefile.am: add.
7960 * Makefile.am: add lib subdir.
7962 * configure.ac: gen. lib/Makefile and lib/recent-files/Makefile,
7963 set CFLAGS for recent-files.
7965 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7967 * configure.ac: disable -ansi and -pedantic gcc flags. They
7968 disable POSIX stuff in stdio.h, but egg-recent uses them.
7970 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7972 * configure.ac: add --disable-deprecated flag (defaults to on in
7975 * shell/Makefile.am (INCLUDES): use it.
7977 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7979 * shell/main.c: add missing #include.
7981 * shell/ev-window.c: fix for pedantic gcc.
7982 (ev_window_cmd_help_about): split license into paragraphs for
7983 translators and pedantic compilers.
7985 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7987 * configure.ac: add more warning flags if compiling with gcc from
7988 cvs (or explicitly requested with --enable-more-warnings).
7990 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7992 * data/evince-ui.xml: add File and File->Close menu.
7994 * shell/ev-window.c (ev_window_cmd_file_close_window): impl.
7995 (ev_window_destroy): quit after destroy.
7996 (ev_window_class_init): override GtkObject::destroy.
7997 (entries): install close_window callback.
7999 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
8001 * Makefile.am (SUBDIRS): add data subdir.
8003 * configure.ac (UIDIR): gen data/Makefile, define UIDIR. Require
8004 gtk+ 2.5.0 for GtkAboutDialog.
8006 * data/Makefile.am, data/evince-ui.xml: add, ui definition for the
8009 * shell/Makefile.am (INCLUDES): propagate UIDIR definition.
8011 * shell/ev-window.c (ev_window_init): create a menubar, using a ui
8013 (ev_window_cmd_help_about): about command, using GtkAboutDialog.
8015 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
8017 * shell/ev-window.c, shell/ev-window.h: Created an EvWindow class.
8019 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
8021 * shell/main.c: make it a trivial gtk+ program, adjust configure.ac
8023 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
8025 * shell/*: Added shell directory boilerplate, build it.
8027 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
8029 * configure.ac, Makefile.am: Added top-level configure.ac and