1 2006-01-20 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
6 Final update for release 0.5.0
10 Remove disable deprecated until we'll require libgnome-2.13.7
11 and port to GOption argument parsing. See bug 327518.
13 2006-01-19 Jani Monoses <jani.monoses@gmail.com>
15 * comics/comics-document.c: (comics_document_save):
16 * djvu/djvu-document.c: (djvu_document_save):
17 * dvi/dvi-document.c: (dvi_document_save):
18 * lib/ev-file-helpers.c: (ev_tmp_filename), (ev_xfer_uri_simple):
19 * lib/ev-file-helpers.h:
20 * pixbuf/pixbuf-document.c: (pixbuf_document_save):
21 * tiff/tiff-document.c: (tiff_document_save):
23 Use common save function for backends.
25 2006-01-18 Jani Monoses <jani.monoses@gmail.com>
27 * backend/ev-document-types.c:
29 Fix crash on saving pixbuf.
31 2006-01-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
33 * cut-n-paste/recent-files/egg-recent-item.c:
34 (get_uri_shortname_for_display), (egg_recent_item_get_short_name):
35 * cut-n-paste/recent-files/egg-recent-model.c: (parse_info_init),
36 (parse_info_free), (valid_element), (start_element_handler),
37 (end_element_handler), (text_handler), (egg_recent_model_filter),
38 (egg_recent_model_monitor_cb), (egg_recent_model_poll_timeout),
39 (egg_recent_model_monitor), (egg_recent_model_read),
40 (egg_recent_model_open_file), (egg_recent_model_lock_file),
41 (egg_recent_model_unlock_file), (egg_recent_model_finalize),
42 (egg_recent_model_set_property), (egg_recent_model_class_init),
43 (egg_recent_model_init), (egg_recent_model_add_full),
44 (egg_recent_model_delete), (egg_recent_model_get_list),
45 (egg_recent_model_clear), (egg_recent_model_clear_mime_filter),
46 (egg_recent_model_set_filter_mime_types),
47 (egg_recent_model_clear_group_filter),
48 (egg_recent_model_set_filter_groups),
49 (egg_recent_model_clear_scheme_filter),
50 (egg_recent_model_set_filter_uri_schemes),
51 (egg_recent_model_remove_expired):
52 * cut-n-paste/recent-files/egg-recent-util.c:
53 (egg_recent_util_get_icon):
54 * cut-n-paste/recent-files/egg-recent-util.h:
55 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
56 (connect_proxy_cb), (egg_recent_view_uimanager_set_list),
57 (egg_recent_view_uimanager_set_empty_list), (model_changed_cb),
58 (egg_recent_view_uimanager_set_property),
59 (egg_recent_view_uimanager_get_property),
60 (egg_recent_view_uimanager_class_init),
61 (egg_recent_view_uimanager_init),
62 (egg_recent_view_uimanager_set_label_width),
63 (egg_recent_view_uimanager_get_label_width):
64 * cut-n-paste/recent-files/egg-recent-view-uimanager.h:
65 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
66 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
67 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
68 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
69 * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
73 2006-01-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
75 * shell/ev-page-cache.c: (build_height_to_page),
76 (ev_page_cache_get_height_to_page):
77 * shell/ev-page-cache.h:
78 * shell/ev-view.c: (view_update_range_and_current_page),
79 (get_page_y_offset), (get_page_extents), (ev_view_next_page),
80 (ev_view_previous_page):
82 Dual mode places even pages to the left. Fix for the bug #309393.
85 * shell/ev-window.c: (update_action_sensitivity),
86 (setup_view_from_metadata), (view_menu_popup_cb):
88 Don't restore presentation in empty windows, more intelligent
89 next page behaviour in dual mode.
91 * shell/ev-pixbuf-cache.c: (check_job_size_and_unref),
92 (ev_pixbuf_cache_clear_job_sizes):
94 Cleanup job callback on removal. Fix for the bug #325886.
96 2006-01-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
100 Commit workaround Mozilla problem. Fix for the bug #325919
102 * shell/ev-metadata-manager.c: (parse_value), (parseItem),
105 Fix for year 2038 problem.
107 2006-01-06 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
109 * shell/ev-window.c: (setup_document_from_metadata),
110 (ev_window_cmd_view_reload):
112 Clamp page recieved from metadata in valid values. Fix
115 2006-01-06 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
118 Add MAINTAINERS as requested on desktop-devel-list.
120 2006-01-06 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
122 * backend/ev-document-factory.c: (gdk_pixbuf_mime_type_list),
123 (mime_type_supported_by_gdk_pixbuf),
124 (ev_document_factory_get_mime_types),
125 (ev_document_factory_get_all_mime_types):
127 Don't add pixbuf mime types if pixbuf backend is disabled.
129 * shell/ev-application.c: (ev_application_get_uri_window):
131 Fix for the bug 325815 - unhandled MIME type message doesn't
132 appear a second time.
134 * shell/ev-document-types.c: (ev_document_types_add_filters):
135 * shell/ev-window.c: (page_changed_cb), (ev_window_setup_document),
136 (password_dialog_response), (ev_window_popup_password_dialog),
137 (ev_window_load_job_cb), (ev_window_sidebar_position_change_cb),
138 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
139 (ev_window_run_presentation), (ev_window_stop_presentation),
140 (save_sizing_mode), (ev_window_zoom_changed_cb),
141 (ev_window_continuous_changed_cb), (ev_window_rotation_changed_cb),
142 (ev_window_dual_mode_changed_cb),
143 (ev_window_sidebar_current_page_changed_cb),
144 (ev_window_sidebar_visibility_changed_cb), (ev_window_dispose),
145 (window_state_event_cb), (window_configure_event_cb):
147 Cleanup additional uris holded by EvWindow.
149 2006-01-06 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
151 * shell/ev-view.c: (ev_view_scroll), (ev_view_previous_page),
152 (ev_view_can_previous_page), (ev_view_can_next_page):
154 * shell/ev-window.c: (update_action_sensitivity):
156 Two page scrolling with Space and PageUp in dual mode. Second fix
159 2006-01-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
161 * shell/ev-view.c: (scroll_to_current_page):
163 Correctly clamp adjustment value. Fix for the bug
166 2006-01-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
168 * shell/ev-sidebar-links.c: (print_section_cb):
169 * shell/ev-window.c: (ev_window_get_uri),
170 (ev_window_close_dialogs), (ev_window_open_uri), (ev_window_print),
171 (ev_window_print_dialog_response_cb), (ev_window_print_range),
174 Make print dialog non-modal. Fix for the bug #325622.
176 2006-01-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
178 * shell/ev-metadata-manager.c:
179 * shell/ev-utils.c: (using_pdf_printer),
180 (using_postscript_printer), (load_print_config_from_file),
181 (save_print_config_to_file):
183 * shell/ev-window.c: (update_sizing_buttons), (page_changed_cb),
184 (update_sidebar_visibility), (setup_sidebar_from_metadata),
185 (setup_view_from_metadata), (ev_window_setup_document),
186 (ev_window_load_job_cb), (ev_window_sidebar_position_change_cb),
187 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
188 (ev_window_run_presentation), (ev_window_stop_presentation),
189 (save_sizing_mode), (ev_window_zoom_changed_cb),
190 (ev_window_continuous_changed_cb), (ev_window_rotation_changed_cb),
191 (ev_window_dual_mode_changed_cb),
192 (ev_window_sidebar_current_page_changed_cb),
193 (ev_window_sidebar_visibility_changed_cb), (ev_window_dispose),
194 (window_state_event_cb), (window_configure_event_cb),
197 Setting saving behaviour fixes.
199 2005-12-30 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
203 Make antialiasing gs options better and allow
204 to change them during configure. Fix for the
207 2005-12-29 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
209 * shell/ev-window.c: (setup_view_from_metadata):
211 Remember if last window was maximized. Fix for the
214 2005-12-28 Abel Cheung <maddog@linuxhall.org>
216 * configure.ac: Added "zh_HK" to ALL_LINGUAS.
218 2005-12-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
220 * backend/ev-link.c: (ev_link_get_page), (ev_link_init):
221 * shell/ev-page-action.c: (build_new_tree_cb):
222 * shell/ev-sidebar-links.c: (links_page_num_func),
223 (update_page_callback_foreach), (update_page_callback):
224 * shell/ev-view.c: (scroll_to_current_page):
226 Fix for the bug #325067 with more intelligent selection
227 of current link in sidebar. Make sidebar handle links
228 of FITR-like type more correctly.
230 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
231 (dvi_pixbuf_put_pixel):
233 Fix memory consumtion with disabled alpha channel.
235 2005-12-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
237 * data/evince-ui.xml:
238 * shell/ev-window.c: (view_menu_popup_cb),
239 (ev_popup_cmd_open_link), (ev_window_init):
241 Update context menu for internal links. Fix for the bug
244 2005-12-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
246 * shell/ev-view.c: (ev_view_popup_menu), (ev_view_class_init):
248 Bind context menu to keyboard also. Fix for the bug
251 2005-12-27 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
253 * shell/ev-view.c: (selection_scroll_timeout_cb):
255 Horizontal scroll on selection also.
257 2005-12-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
259 * shell/ev-metadata-manager.c: (parse_value):
260 * shell/ev-view.c: (goto_xyz_link):
262 Correct zoom setup and metadata save broken in
265 2005-12-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
267 * shell/ev-view-private.h:
268 * shell/ev-view.c: (scroll_to_current_page),
269 (view_set_adjustment_values), (goto_fitr_link), (goto_fitv_link),
270 (goto_fith_link), (goto_fit_link), (goto_xyz_link),
271 (page_changed_cb), (ev_view_set_continuous),
272 (ev_view_set_dual_page), (ev_view_set_presentation):
274 Delay scroll until allocation to correctly position page. Fix
277 2005-12-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
282 Update NEWS and require poppler 0.5.0.
284 2005-12-25 Carlos Garcia Campos <carlosgc@gnome.org>
286 * data/evince-ui.xml:
287 * shell/ev-view-private.h:
288 * shell/ev-view.c: (ev_view_get_link_at_location),
289 (handle_link_over_xy), (ev_view_button_press_event),
290 (ev_view_button_release_event), (ev_view_class_init):
291 * shell/ev-window.c: (view_menu_popup_cb), (ev_window_dispose),
292 (ev_popup_cmd_open_link), (ev_popup_cmd_copy_link_address),
295 Implement right-click context menu.
297 2005-12-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
299 * djvu/djvu-document.c: (djvu_document_thumbnails_get_thumbnail):
300 * dvi/pixbuf-device.c: (dvi_pixbuf_create_image),
301 (mdvi_pixbuf_device_render):
304 Don't generate thumbnails with alpha. See bug #324077.
305 Thanks to Jeroen Zwartepoorte <jeroen.zwartepoorte@gmail.com>.
307 2005-12-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
309 * shell/ev-window.c: (setup_chrome_from_metadata):
311 Fix typo that was hiding toolbar.
313 2005-12-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
315 * shell/ev-view-private.h:
316 * shell/ev-view.c: (ev_view_realize), (selection_update_idle_cb),
317 (selection_scroll_timeout_cb), (ev_view_motion_notify_event),
318 (ev_view_button_release_event), (ev_view_destroy):
320 Small cleanup and autoscrolling during selection. Thanks to
321 Ricardo Markiewicz <rmarkie@fi.uba.ar>.
323 2005-12-22 Jani Monoses <jani.monoses@gmail.com>
327 Correctly check for comics option.
329 2005-12-21 Eduardo Lima <eduardo.lima@indt.org.br>
332 * backend/Makefile.am:
333 * backend/ev-document-factory.c:
334 * shell/ev-document-types.c:
336 Included option in configure to make ps backend
337 compilation optional with --disable-ps.
339 2005-12-20 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
341 * backend/ev-document-factory.c:
342 * comics/Makefile.am:
343 * comics/comics-document.c: (comics_document_load):
344 * comics/ev-cbr-mime.xml:
347 Comics mime types are added to shared-mime-info CVS. Now
348 we don't need to install our own mime types.
350 2005-12-20 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
354 Add shortcut for "save a copy" menu entry. Fix for
357 2005-12-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
359 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info),
360 (job_finished_cb), (new_selection_pixbuf_needed),
361 (ev_pixbuf_cache_get_selection_pixbuf), (update_job_selection),
362 (clear_job_selection), (ev_pixbuf_cache_set_selection_list):
364 Rework selection job info logic and fix critical warning.
366 2005-12-17 Abel Cheung <maddog@linuxhall.org>
368 * configure.ac: Added "cy" "fa" "mk" "vi" to ALL_LINGUAS.
370 2005-11-27 Jaap A. Haitsma <jaap@haitsma.org>
372 * data/evince-ui.xml:
373 * shell/ev-window.c: (ev_window_set_view_accels_sensitivity):
375 Enter as shortcut key for next page. Fix for the bug
378 2005-11-18 Ales Nyakhaychyk <nab@mail.by>
380 * configure.ac: Added "be" (Belarusian) to ALL_LINGUAS.
382 2005-11-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
384 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info),
385 (job_finished_cb), (copy_job_to_job_info), (add_job_if_needed),
386 (new_selection_pixbuf_needed),
387 (ev_pixbuf_cache_get_selection_pixbuf), (update_job_selection),
388 (clear_job_selection):
390 Too early for 0.5. Pixbuf cache code cleaned a bit.
392 2005-11-14 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
397 Release 0.5.0 preparation
399 2005-11-14 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
401 * comics/Makefile.am:
403 * shell/ev-document-types.c: (ev_document_types_add_filters):
405 More advanced handling of custom mime type installation.
407 2005-11-14 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
409 * data/evince.schemas.in:
410 * shell/ev-metadata-manager.c: (value_free),
411 (ev_metadata_manager_get_last), (ev_metadata_manager_set_last),
412 (ev_metadata_manager_get), (ev_metadata_manager_set):
413 * shell/ev-metadata-manager.h:
414 * shell/ev-window.c: (update_chrome_flag),
415 (ev_window_cmd_focus_page_selector), (update_sidebar_visibility),
416 (setup_document_from_metadata), (setup_chrome_from_metadata),
417 (setup_sidebar_from_metadata), (setup_view_from_metadata),
418 (ev_window_cmd_edit_find), (ev_window_cmd_escape),
419 (ev_window_view_toolbar_cb),
420 (ev_window_sidebar_visibility_changed_cb), (find_bar_close_cb),
421 (view_actions_focus_in_cb), (ev_window_init), (ev_window_new):
423 Save last document settings and reuse them for new documents.
425 2005-11-14 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
428 * backend/Makefile.am:
429 * backend/ev-document-factory.c:
430 * backend/ev-document-factory.h:
431 * comics/Makefile.am:
432 * comics/comics-document.c: (G_DEFINE_TYPE_WITH_CODE),
433 (comics_document_load), (comics_document_save),
434 (comics_document_get_n_pages), (comics_document_get_page_size),
435 (get_page_size_area_prepared_cb), (comics_document_render_pixbuf) (render_pixbuf_size_prepared_cb), (comics_document_finalize),
436 (comics_document_class_init), (comics_document_can_get_text),
437 (comics_document_get_info), (comics_document_document_iface_init),
438 (comics_document_init), (get_supported_image_extensions),
439 (comics_document_thumbnails_get_geometry),
440 (comics_document_thumbnails_get_thumbnail),
441 (comics_document_thumbnails_get_dimensions),
442 (comics_document_document_thumbnails_iface_init), (extract_argv):
443 * comics/comics-document.h:
444 * comics/ev-cbr-mime.xml:
447 * shell/ev-application.c: (ev_application_register_service):
448 * shell/ev-document-types.c: (ev_document_types_add_filters):
449 * thumbnailer/Makefile.am:
450 * thumbnailer/evince-thumbnailer-comics.schemas.in:
452 New CBR/CBZ backend for comic books.
454 2005-11-10 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
456 * shell/main.c: (load_files_remote):
458 Thanks to Robert McQueen <robot101@debian.org>. Dbus
459 warning on startup of second instance is fixed. It
462 2005-10-30 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
464 * shell/ev-window.c: (ev_window_finalize):
466 Fix double free that cause crash.
468 2005-10-29 Bastien Nocera <hadess@hadess.net>
470 * tiff/tiff-document.c: (tiff_document_load):
474 2005-10-29 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
478 * shell/ev-view-accessible.c: (ev_view_accessible_get_priv),
479 (ev_view_accessible_free_priv), (ev_view_accessible_class_init),
480 (ev_view_accessible_get_text),
481 (ev_view_accessible_get_character_at_offset),
482 (ev_view_accessible_get_text_before_offset),
483 (ev_view_accessible_get_text_at_offset),
484 (ev_view_accessible_get_text_after_offset),
485 (ev_view_accessible_get_character_count),
486 (ev_view_accessible_get_caret_offset),
487 (ev_view_accessible_set_caret_offset),
488 (ev_view_accessible_get_run_attributes),
489 (ev_view_accessible_get_default_attributes),
490 (ev_view_accessible_get_character_extents),
491 (ev_view_accessible_get_offset_at_point),
492 (ev_view_accessible_get_n_selections),
493 (ev_view_accessible_get_selection),
494 (ev_view_accessible_add_selection),
495 (ev_view_accessible_remove_selection),
496 (ev_view_accessible_set_selection),
497 (ev_view_accessible_text_iface_init),
498 (ev_view_accessible_idle_do_action),
499 (ev_view_accessible_action_do_action),
500 (ev_view_accessible_action_get_n_actions),
501 (ev_view_accessible_action_get_description),
502 (ev_view_accessible_action_get_name),
503 (ev_view_accessible_action_set_description),
504 (ev_view_accessible_action_iface_init),
505 (ev_view_accessible_get_type), (ev_view_accessible_new),
506 (ev_view_accessible_factory_get_accessible_type),
507 (ev_view_accessible_factory_create_accessible),
508 (ev_view_accessible_factory_class_init),
509 (ev_view_accessible_factory_get_type):
510 * shell/ev-view-accessible.h:
511 * shell/ev-view-private.h:
512 * shell/ev-view.c: (ev_view_get_accessible), (ev_view_class_init):
515 Initial accessibility support.
517 2005-10-27 Erdal Ronahi <erdal.ronahi@gmail.com>
519 * configure.ac: Added ku (Kurdish) to ALL_LINGUAS
521 2005-10-26 Hubert Figuiere <hfiguiere@teaser.fr>
523 * shell/ev-print-job.c: (idle_print_handler):
525 Fix for bug Bug 318916: Printing multiple pages.
527 2005-10-20 Runa Bhattacharjee <runa@bengalinux.org>
529 * configure.ac: Added "bn" (Bengali) to ALL_LINGUAS.
531 2005-10-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
535 Thumnail dimensions unified with other backends.
537 * shell/ev-window-title.c: (ev_window_title_update):
541 2005-10-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
543 * data/ev-stock-zoom-fit-width.png:
547 2005-10-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
550 * djvu/djvu-document.c: (djvu_document_load), (djvu_document_save),
551 (djvu_document_finalize):
552 * dvi/dvi-document.c: (dvi_document_load), (dvi_document_save),
553 (dvi_document_finalize):
554 * pixbuf/pixbuf-document.c: (pixbuf_document_load),
555 (pixbuf_document_save), (pixbuf_document_finalize):
556 * tiff/tiff-document.c: (tiff_document_load), (tiff_document_save),
557 (tiff_document_finalize):
559 Save a copy implemented for various backends.
561 2005-10-17 Daniel Gryniewicz <dang@gentoo.org>
565 Don't link with ltiff if tiff is disabled.
567 2005-10-14 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
569 * pdf/GDKSplashOutputDev.cc:
570 * pdf/GDKSplashOutputDev.h:
573 * pdf/pdf-document.cc:
574 * pdf/pdf-document.h:
575 * pdf/test-gdk-output-dev.cc:
577 Remove old unused files.
579 2005-10-12 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
581 * shell/ev-window.c: (ev_window_setup_document):
583 Fixed warnings on reload and probably crash reason.
585 2005-10-12 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
587 * properties/ev-properties-view.c:
588 (ev_properties_view_format_date):
590 Check if date is invalid. Fix for bug 318134.
592 2005-10-02 Wouter Bolsterlee <uws+gnome@xs4all.nl>
594 * shell/ev-window-title.c:
596 Add .indd files (Adobe Indesign) to the list of "bad
599 2005-10-02 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
601 * data/evince-ui.xml:
602 * shell/ev-window.c: (ev_window_set_view_accels_sensitivity):
604 Add <ctrl>KP_Add and <ctrl>KP_Substract bindings.
606 2005-09-27 Christian Persch <chpe@cvs.gnome.org>
608 * shell/ev-window.c: (launch_link), (launch_external_uri),
609 (view_external_link_cb):
611 URL-escape link before passing it to gnome_vfs_url_show.
613 2005-09-27 Carlos Garcia Campos <carlosgc@gnome.org>
615 * shell/ev-view.[ch], shell/ev-window.c: Disable copy action when
616 there isn't text selected.
618 2005-09-27 Marco Pesenti Gritti <mpg@redhat.com>
620 * shell/ev-view.c: (handle_link_over_xy):
622 Check tooltip is valid utf8 before showing it
624 2005-09-27 Carlos Garcia Campos <carlosgc@gnome.org>
626 * shell/ev-view.c: Allow drag and drop of text. Fixes #316772
628 2005-09-27 Christian Persch <chpe@cvs.gnome.org>
630 * shell/ev-window-title.c: (ev_window_title_update):
632 Guard against using g_strstrip on NULL. Fixes bug #317291.
634 2005-09-26 Marco Pesenti Gritti <mpg@redhat.com>
638 Show title even for unknown links
640 2005-09-26 Marco Pesenti Gritti <mpg@redhat.com>
642 * shell/ev-window-title.c: (ev_window_title_update):
644 Strip the title string
646 2005-09-26 Marco Pesenti Gritti <mpg@redhat.com>
648 * shell/ev-window-title.c:
650 Add .rtf to the bad extensions list
652 2005-09-26 Marco Pesenti Gritti <mpg@redhat.com>
654 * shell/ev-view.c: (doc_point_to_view_point), (goto_fitr_link),
655 (goto_fitv_link), (goto_fith_link), (goto_xyz_link):
657 Ignore link coordinates if they are outside page bounds
659 2005-09-26 Marco Pesenti Gritti <mpg@redhat.com>
661 * backend/ev-link.c: (ev_link_type_get_type),
662 (ev_link_get_filename), (ev_link_get_params),
663 (ev_link_get_property), (ev_link_set_property),
664 (ev_window_dispose), (ev_link_class_init), (ev_link_new_launch):
667 * shell/ev-view.c: (ev_view_goto_link), (ev_view_class_init):
668 * shell/ev-window.c: (launch_link), (view_external_link_cb),
671 Implement launch links. Delegate external link opening to
674 2005-09-24 Marco Pesenti Gritti <mpg@redhat.com>
676 * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_bottom),
677 (ev_link_get_right), (ev_link_get_property),
678 (ev_link_set_property), (ev_link_class_init),
679 (ev_link_new_page_fitv), (ev_link_new_page_fitr):
682 * shell/ev-view.c: (goto_fitr_link), (ev_view_goto_link):
686 2005-09-24 Marco Pesenti Gritti <mpg@redhat.com>
688 * shell/ev-view.c: (ev_view_get_width), (ev_view_get_height),
689 (goto_fitv_link), (goto_fith_link), (goto_fit_link),
690 (ev_view_goto_link), (ev_view_size_request_continuous_dual_page),
691 (ev_view_size_request_continuous),
692 (ev_view_size_request_dual_page),
693 (ev_view_size_request_single_page), (ev_view_size_allocate),
694 (ev_view_zoom_for_size_continuous_and_dual_page),
695 (ev_view_zoom_for_size_continuous),
696 (ev_view_zoom_for_size_dual_page),
697 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
698 (ev_sizing_mode_get_type):
700 * shell/ev-window.c: (ev_window_sizing_mode_changed_cb):
702 Do not use modes for link, we need to calculate size ad hoc.
703 Still not perfect because of the usual scrollbar issues grrr.
705 2005-09-24 Marco Pesenti Gritti <mpg@redhat.com>
707 * backend/ev-link.c: (ev_link_type_get_type),
708 (ev_link_new_page_fith), (ev_link_new_page_fitv):
711 * shell/ev-view.c: (goto_fitv_link), (goto_fith_link),
712 (ev_view_goto_link), (ev_view_size_request_continuous_dual_page),
713 (ev_view_size_request_continuous),
714 (ev_view_size_request_dual_page),
715 (ev_view_size_request_single_page), (ev_view_size_allocate),
716 (zoom_for_size_fit_height),
717 (ev_view_zoom_for_size_continuous_and_dual_page),
718 (ev_view_zoom_for_size_continuous),
719 (ev_view_zoom_for_size_dual_page),
720 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
721 (ev_sizing_mode_get_type):
723 * shell/ev-window.c: (ev_window_sizing_mode_changed_cb):
725 Implement FIT_HEIGHT mode (only for links).
728 2005-09-24 Marco Pesenti Gritti <mpg@redhat.com>
730 * shell/ev-window-title.c: (get_filename_from_uri),
731 (ev_window_title_sanitize_extension), (ev_window_title_update),
732 (ev_window_title_set_document), (ev_window_title_set_uri),
733 (ev_window_title_free):
734 * shell/ev-window-title.h:
735 * shell/ev-window.c: (ev_window_setup_document),
736 (ev_window_popup_password_dialog):
738 Refactor window title building while fixing it for
741 2005-09-24 Marco Pesenti Gritti <mpg@redhat.com>
745 Escape link title before setting it in the model
747 2005-09-23 Marco Pesenti Gritti <mpg@redhat.com>
749 * shell/ev-application.c: (removed_from_session), (save_session),
750 (init_session), (ev_application_get_empty_window),
751 (ev_application_init), (ev_application_get_windows):
752 * shell/ev-application.h:
753 * shell/ev-window.c: (ev_window_finalize):
755 Add a function to retrieve window list and share it where
757 Implement session handling, works pretty well thanks to the
760 2005-09-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
762 * shell/ev-password.c: (ev_password_item_created_callback),
763 (ev_password_dialog_save_password):
765 Fix for bug 316972. Use async gnome-keyring API.
767 2005-09-22 Christian Persch <chpe@cvs.gnome.org>
769 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_class_init):
770 Remove unused unrealize handler. Add scroll handling to
771 ev_view_scroll_event for presentation mode (bug #316708),
772 and fix the event state checks there.
774 2005-09-22 Marco Pesenti Gritti <mpg@redhat.com>
776 * shell/ev-page-action.c: (page_changed_cb):
778 "marco, maybe we should be crazy and jump right to 6! :)"
780 Bryan Clark, Sep 2005
782 2005-09-22 Marco Pesenti Gritti <mpg@redhat.com>
784 * ps/ps-document.c: (save_document), (ps_document_save),
785 (ps_document_ps_export_begin), (ps_document_ps_export_do_page),
786 (ps_document_ps_export_end):
788 Fix unstructured documents save and print
790 2005-09-22 Marco Pesenti Gritti <mpg@redhat.com>
792 * shell/ev-application.c: (ev_application_open_uri):
794 Fix window size persistance
796 2005-09-22 Marco Pesenti Gritti <mpg@redhat.com>
798 * shell/ev-view.c: (ev_view_button_release_event):
800 Based on a patch from carlosgc@gnome.org. Mouse buttons
801 switch pages in presentation mode.
803 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
805 * shell/ev-page-cache.c: (ev_page_cache_get_size):
807 Dont cast to int before scaling
809 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
811 * backend/ev-link.c: (ev_link_type_get_type),
812 (ev_link_new_page_xyz), (ev_link_new_page_fit),
813 (ev_link_new_page_fith):
816 * shell/ev-view.c: (goto_fith_link), (ev_view_goto_link):
818 Implement FIT and FITH links
820 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
824 Return 0 results when search is not in progress.
826 * shell/ev-window.c: (ev_window_cmd_go_previous_page),
827 (ev_window_cmd_go_next_page), (find_bar_search_changed_cb):
829 Update menu sensitivity when cancelling search
831 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
833 * shell/ev-view.c: (ev_view_can_find_next):
835 Take all pages in consideration, not just current one
837 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
839 * shell/ev-page-cache.c:
840 * shell/ev-page-cache.h:
841 * shell/ev-view.c: (ev_view_binding_activated),
842 (ev_view_next_page), (ev_view_previous_page),
843 (ev_sizing_mode_get_type):
845 * shell/ev-window.c: (ev_window_cmd_go_previous_page),
846 (ev_window_cmd_go_next_page):
848 Move page next/previous functions from page chace to
849 view and change it to move by 2 page steps in dual mode.
851 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
853 * shell/ev-window.c: (update_sidebar_visibility),
854 (setup_sidebar_from_metadata), (ev_window_setup_document),
855 (setup_view_from_metadata):
857 Show the index by default when there is one
859 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
861 * shell/ev-window-title.c: (ev_window_title_set_document):
865 2005-09-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
867 * shell/ev-view.c: (view_update_range_and_current_page):
869 Allow display of last odd page in dual view. Fix for 316347.
871 2005-09-17 Wouter Bolsterlee <uws+gnome@xs4all.nl>
873 * shell/ev-window.c: (ev_window_cmd_edit_toolbar):
875 Make close button default. Fix for 316383.
877 2005-09-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
879 * shell/ev-properties-dialog.c: (ev_properties_dialog_init):
881 Mark close button as default. Fix for 316381.
883 2005-09-16 Marco Pesenti Gritti <mpg@redhat.com>
885 * backend/ev-link.c: (ev_link_class_init):
887 Allow negative doubles in left/top properties
889 2005-09-16 Marco Pesenti Gritti <mpg@redhat.com>
893 Remove a bunch of strings that was used only
896 2005-09-16 Marco Pesenti Gritti <mpg@redhat.com>
898 * shell/ev-window-title.c: (get_filename_from_uri),
899 (ev_window_title_set_document):
901 When title has a confusing extension, show also
902 the document filename inside ()
904 2005-09-16 Marco Pesenti Gritti <mpg@redhat.com>
907 * shell/ev-window-title.c: (ev_window_title_new),
908 (ev_window_title_update), (ev_window_title_set_type),
909 (ev_window_title_set_document), (ev_window_title_free):
910 * shell/ev-window-title.h:
911 * shell/ev-window.c: (ev_window_setup_document),
912 (password_dialog_response), (ev_window_popup_password_dialog),
913 (ev_window_dispose), (ev_window_init):
915 Factor out and cleanup window title code
917 2005-09-16 Marco Pesenti Gritti <mpg@redhat.com>
919 * shell/ev-window.c: (unable_to_load_dialog_response_cb),
922 Make dialog transient so it doesnt block other windows
924 2005-09-13 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
928 Fix pdf thumbnails rendering.
930 2005-09-13 Wouter Bolsterlee <uws+gnome@xs4all.nl>
932 * shell/ev-window.c: (fullscreen_set_timeout):
934 Increase timeout to hide full screen popup. Bug
937 2005-09-13 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
939 * data/evince.schemas.in:
940 * shell/ev-window.c: (update_action_sensitivity):
942 Allow the user to override document restrictions. Fix for bug
945 2005-09-13 Christian Persch <chpe@cvs.gnome.org>
947 * shell/ev-window.c: (ev_window_update_fullscreen_popup),
948 (ev_window_create_fullscreen_popup), (ev_window_screen_changed),
949 (ev_window_class_init): Fix multihead behaviour of fullscreen
950 toolbar popup. Fixes bug #315451.
952 2005-09-13 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
955 * data/evince-password.glade:
956 * shell/ev-password.c: (ev_password_dialog_set_property),
957 (ev_password_dialog_finalize), (ev_password_dialog_class_init),
958 (ev_password_dialog_init), (ev_password_set_bad_password_label),
959 (ev_password_dialog_entry_changed_cb),
960 (ev_password_dialog_entry_activated_cb),
961 (ev_password_dialog_save_password), (ev_password_keyring_found_cb),
962 (ev_password_search_in_keyring), (ev_password_dialog_get_password),
963 (ev_password_dialog_set_bad_pass):
964 * shell/ev-password.h:
965 * shell/ev-window.c: (password_dialog_response),
966 (ev_window_popup_password_dialog):
968 Support for gnome-keyring for encrypted PDF's.
970 2005-09-11 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
972 * shell/ev-view.c: (handle_link_over_xy), (ev_view_realize),
973 (ev_view_motion_notify_event), (ev_view_leave_notify_event),
974 (ev_view_enter_notify_event), (ev_view_class_init):
976 More precise handling of enter_notify/leave_notify events
977 in EvView. Fix for bug 315470.
979 2005-09-08 Christopher Aillon <caillon@redhat.com>
981 * shell/ev-window.c: (fullscreen_timeout_cb),
982 (fullscreen_set_timeout), (fullscreen_clear_timeout),
985 leak fix: unref fullscreen_timeout_source before clearing it
987 2005-09-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
989 * configure.ac, dvi/mdvi/Makefile.am:
991 Use lt1 instead lt1lib. Thanks to yselkowitz@users.sourceforge.net
993 2005-09-08 Marco Pesenti Gritti <mpg@redhat.com>
995 * backend/ev-link.c: (ev_link_new_page_xyz):
997 * shell/ev-view.c: (goto_xyz_link), (ev_view_goto_link):
999 Fix some bugs with xyz links, respect zoom
1001 2005-09-08 Marco Pesenti Gritti <mpg@redhat.com>
1003 * shell/ev-window.c: (page_changed_cb),
1004 (setup_document_from_metadata), (update_sidebar_visibility),
1005 (setup_view_from_metadata), (ev_window_run_fullscreen),
1006 (ev_window_stop_fullscreen), (ev_window_run_presentation),
1007 (ev_window_stop_presentation), (ev_window_continuous_changed_cb),
1008 (ev_window_dual_mode_changed_cb),
1009 (ev_window_sidebar_current_page_changed_cb):
1011 null check uri before setting and getting metadata
1013 2005-09-08 Marco Pesenti Gritti <mpg@redhat.com>
1016 * properties/Makefile.am:
1017 * shell/Makefile.am:
1018 * thumbnailer/Makefile.am:
1020 Some build fixes for cygwin. Patch by yselkowitz@users.sourceforge.net
1022 2005-09-08 Marco Pesenti Gritti <mpg@redhat.com>
1024 * shell/ev-sidebar-links.c: (ev_sidebar_links_class_init),
1025 (selection_changed_callback):
1026 * shell/ev-sidebar-links.h:
1028 Add a signal for link activation.
1030 * shell/ev-view.c: (ev_view_goto_link),
1031 (ev_view_button_release_event):
1033 * shell/ev-window.c: (sidebar_links_link_activated_cb),
1036 Implement the signal so that we can handle all link types.
1038 * shell/ev-page-cache.c:
1040 Remove unused set_link function
1042 2005-09-08 Marco Pesenti Gritti <mpg@redhat.com>
1044 * lib/ev-tooltip.c: (ev_tooltip_set_position):
1046 Add some space from the cursor, hardcoded but I couldnt
1049 2005-09-07 Marco Pesenti Gritti <mpg@redhat.com>
1053 Use mozilla style vs gtk style, way better for links.
1055 * shell/ev-view.c: (ev_view_motion_notify_event),
1056 (ev_view_destroy), (ev_view_init):
1058 Deactive tooltip when the link hovered is changed.
1060 2005-09-07 Marco Pesenti Gritti <mpg@redhat.com>
1062 * backend/ev-document.h:
1063 * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_top),
1064 (ev_link_get_left), (ev_link_get_zoom), (ev_link_get_property),
1065 (ev_link_set_property), (ev_window_dispose), (ev_link_class_init),
1066 (ev_link_new_page), (ev_link_new_page_xyz):
1067 * backend/ev-link.h:
1068 * pdf/ev-poppler.cc:
1069 * shell/ev-view.c: (doc_point_to_view_point), (scroll_to_xyz_link),
1070 (go_to_link), (tip_from_link):
1072 Implement xyz links, still not functional. Links are a total
1073 mess, will need to refactor and bugfix a lot :(
1075 2005-09-05 Alessio Frusciante <algol@firenze.linux.it>
1077 * configure.ac: Added "it" (Italian) to ALL_LINGUAS.
1079 2005-09-05 Marco Pesenti Gritti <mpg@redhat.com>
1081 * data/evince-ui.xml:
1082 * data/evince.schemas.in:
1083 * shell/Makefile.am:
1084 * shell/ev-window.c: (update_chrome_visibility),
1085 (password_dialog_response), (ev_window_load_job_cb),
1086 (ev_window_xfer_job_cb), (ev_window_open_uri),
1087 (ev_window_class_init), (set_chrome_actions), (load_chrome),
1090 Remove the statusbar. This regress loading feedback, need to
1091 check with Bryan what we want to do there...
1093 2005-09-05 Marco Pesenti Gritti <mpg@redhat.com>
1095 * lib/ev-tooltip.c: (ev_tooltip_init):
1097 Fix tooltip border and size handling
1099 2005-09-05 Marco Pesenti Gritti <mpg@redhat.com>
1101 * lib/ev-tooltip.c: (ev_tooltip_dispose), (ev_tooltip_class_init),
1102 (ev_tooltip_set_position), (ev_tooltip_recently_shown),
1103 (ev_tooltip_timeout), (ev_tooltip_activate),
1104 (ev_tooltip_deactivate):
1106 * shell/ev-view.c: (ev_view_motion_notify_event):
1108 Delay popup showing. Mirror gtk logic/times.
1110 2005-09-03 Marco Pesenti Gritti <mpg@redhat.com>
1113 * lib/ev-tooltip.c: (ev_tooltip_expose_event),
1114 (ev_tooltip_class_init), (ev_tooltip_init), (ev_tooltip_new),
1115 (ev_tooltip_set_text), (ev_tooltip_set_position):
1118 Simple widget to show tooltips at a custom position
1120 * shell/ev-view.c: (tip_from_link), (ev_view_motion_notify_event),
1123 Use it for links. First go, needs work
1125 2005-08-17 Dennis Cranston <dennis_cranston@yahoo.com>
1127 * shell/ev-window.c: (ev_window_cmd_edit_toolbar): A couple small
1128 HIG fixes. Use title capitalization for window title. Use 12
1129 pixels of space between the dialog's vbox and action area.
1131 2005-09-02 Marco Pesenti Gritti <mpg@redhat.com>
1133 * shell/ev-window.c: (file_open_dialog_response_cb),
1134 (ev_window_cmd_file_open), (file_save_dialog_response_cb),
1135 (ev_window_cmd_save_as):
1137 Make file pickers not modal and refactor code some
1139 2005-09-02 Marco Pesenti Gritti <mpg@redhat.com>
1141 * shell/ev-sidebar.h:
1142 * shell/ev-sidebar.c: (ev_sidebar_set_property),
1143 (ev_sidebar_get_current_page), (ev_sidebar_get_property),
1144 (ev_sidebar_class_init), (ev_sidebar_select_page),
1145 (ev_sidebar_menu_item_activate_cb), (ev_sidebar_new),
1146 (ev_sidebar_set_page):
1148 Add a current page property and allow to get/set it
1150 * shell/ev-window.c: (setup_view_from_metadata),
1151 (ev_window_sidebar_current_page_changed_cb), (ev_window_init):
1153 Persist current sidebar page per document
1155 2005-09-02 Marco Pesenti Gritti <mpg@redhat.com>
1157 * data/evince.schemas.in:
1158 * shell/ev-window.c: (update_chrome_visibility),
1159 (setup_document_from_metadata), (update_sidebar_visibility),
1160 (setup_view_from_metadata), (ev_window_sidebar_position_change_cb),
1161 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
1162 (ev_window_run_presentation), (ev_window_stop_presentation),
1163 (ev_window_view_sidebar_cb),
1164 (ev_window_sidebar_visibility_changed_cb), (set_chrome_actions),
1165 (load_chrome), (ev_window_init):
1167 Persist size/visibility of sidebar per document
1169 Fri Sep 2 00:59:55 2005 Jonathan Blandford <jrb@redhat.com>
1171 * shell/ev-view.c (draw_loading_text): Draw loading text.
1173 2005-09-02 Dan Damian <dand@gnome.ro>
1175 * configure.in: Added "ro" to ALL_LINGUAS.
1177 2005-09-01 Marco Pesenti Gritti <mpg@redhat.com>
1179 * shell/ev-view.c: (clear_caches):
1181 ev_page_cache_get doesnt return a reference,
1182 dont try to unref it.
1184 2005-09-01 Marco Pesenti Gritti <mpg@redhat.com>
1186 * shell/main.c: (load_files_remote):
1188 Fix timestamp parameter with dbus <= 0.33
1190 2005-08-31 Marco Pesenti Gritti <mpg@redhat.com>
1192 * data/evince.schemas.in:
1194 Add missing full stop
1196 2005-08-31 Hiroyuki Ikezoe <poincare@ikezoe.net>
1198 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info):
1199 * shell/ev-window.c: (ev_window_print_range), (ev_window_dispose):
1201 Plug some memory leaks
1203 2005-08-29 Christian Persch <chpe@cvs.gnome.org>
1206 * lib/ev-debug.c: (trap_handler):
1208 Check for execinfo.h and use it only if it exists.
1209 Ported from Epiphany (bug #314776).
1211 2005-08-29 Duarte Loreto <happyguy_pt@hotmail.com>
1213 * configure.ac: Added Portuguese (pt) to ALL_LINGUAS.
1215 2005-08-27 Mohammad DAMT <mdamt@gnome.org>
1217 * configure.ac: Added Indonesian "id" to ALL_LINGUAS
1218 * po/id.po : Added Indonesian translation
1220 Fri Aug 26 00:45:09 2005 Jonathan Blandford <jrb@redhat.com>
1223 * shell/ev-application.c: Last minute GTK-2.6 fixes.
1224 * NEWS: Release 0.4.0
1226 Thu Aug 25 23:40:23 2005 Jonathan Blandford <jrb@redhat.com>
1228 * configure.ac: catch another gtk+-2.8ism
1229 * shell/main.c: Make work with gtk+-2.6
1231 2005-08-25 Ryan Lortie <desrt@desrt.ca>
1233 * shell/ev-application-service.xml: Add 'timestamp' argument to
1234 ev_application_open_window and ev_application_open_uri methods.
1236 * shell/ev-application.h: Add 'timestamp' argument to
1237 ev_application_open_window, ev_application_open_uri,
1238 and ev_application_open_uri_list functions.
1240 * shell/ev-application.c (ev_application_open_window,
1241 ev_application_open_uri, ev_application_open_uri_list): Change
1242 functions that show/present windows to use a timestamp if one
1245 * shell/ev-window.c (ev_window_cmd_file_open,
1246 ev_window_cmd_recent_file_activate, drag_data_received_cb):
1247 * shell/main.c (load_files): Modify calls to ev_application to
1248 include GDK_CURRENT_TIME as timestamp.
1250 * shell/main.c (load_files_remote): Obtain timestamp for client
1251 instance from GDK and pass to server instance so new windows are
1252 focused properly. Fix dbus_g_proxy_call() calls by including second
1257 Thu Aug 25 22:13:08 2005 Jonathan Blandford <jrb@redhat.com>
1259 * shell/ev-window.c (ev_window_finalize): Check for
1260 avail. EvWindows when quiting to handle the finalize better,
1263 2005-08-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1265 * properties/ev-properties-view.c:
1267 Set textdomain to libglade. Fixes translation problem in property page.
1269 2005-08-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1271 * djvu/djvu-document.c: (djvu_document_thumbnails_get_thumbnail):
1273 * dvi/dvi-document.c: (dvi_document_thumbnails_get_thumbnail):
1274 * dvi/mdvi-lib/Makefile.am:
1276 Fix rotation of thumbnails, ported to new API. Moved library
1277 dependencies earlier, probably it will fix linkage problem.
1279 Thu Aug 25 02:32:32 2005 Jonathan Blandford <jrb@redhat.com>
1281 * backend/ev-document-misc.c:
1282 (ev_document_misc_get_thumbnail_frame):
1283 * backend/ev-document-misc.h:
1285 * pdf/ev-poppler.cc:
1286 * shell/Makefile.am:
1287 * shell/ev-sidebar-thumbnails.c: (add_range),
1288 (ev_sidebar_thumbnails_set_loading_icon),
1289 (ev_sidebar_thumbnails_refresh),
1290 (ev_sidebar_thumbnails_set_document):
1291 * shell/ev-sidebar-thumbnails.h:
1292 * shell/ev-view.c: (ev_view_motion_notify_event),
1293 (ev_view_set_property), (ev_view_get_property),
1294 (ev_view_class_init), (ev_view_set_rotation):
1295 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
1296 (ev_window_cmd_edit_rotate_right), (ev_window_rotation_changed_cb),
1298 * tiff/tiff-document.c: (tiff_document_thumbnails_get_thumbnail):
1299 Redo rotation (again). prepare for 0.4.0
1301 2005-08-24 Kristian Høgsberg <krh@redhat.com>
1303 * configure.ac: Bump poppler requirement to 0.4.1.
1305 * pdf/ev-poppler.cc (pdf_selection_render_selection): Add rotation
1306 argument to poppler_page_render_selection() call.
1308 2005-08-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1310 * djvu/djvu-document.c: (djvu_document_render_pixbuf),
1311 (djvu_document_thumbnails_get_thumbnail):
1312 * dvi/dvi-document.c: (dvi_document_render_pixbuf),
1313 (dvi_document_thumbnails_get_thumbnail):
1314 * pixbuf/pixbuf-document.c: (pixbuf_document_render_pixbuf),
1315 (pixbuf_document_thumbnails_get_thumbnail):
1316 * tiff/tiff-document.c: (tiff_document_render_pixbuf):
1318 Update rotation direction of backends to fit with pdf and ps.
1320 2005-08-24 Marco Pesenti Gritti <mpg@redhat.com>
1322 * backend/ev-async-renderer.c: (ev_async_renderer_render_pixbuf):
1323 * backend/ev-async-renderer.h:
1324 * ps/ps-document.c: (ps_document_init), (setup_pixmap),
1325 (setup_page), (ps_document_get_page_size),
1326 (ps_async_renderer_render_pixbuf):
1328 * shell/ev-jobs.c: (ev_job_render_run):
1330 Fix orientation in the postscript document
1332 2005-08-23 Marco Pesenti Gritti <mpg@redhat.com>
1334 * pdf/ev-poppler.cc:
1335 * ps/ps-document.c: (push_pixbuf), (ps_document_widget_event):
1336 * shell/ev-view.c: (highlight_find_results):
1338 Adapt to the new poppler rotation API. Fix text maps on landscape
1341 Sat Aug 20 17:13:48 2005 Jonathan Blandford <jrb@redhat.com>
1343 * shell/ev-view.c (compute_new_selection_text): get the correct
1344 region when selecting in modes other than continuous.
1346 Sat Aug 20 13:10:01 2005 Jonathan Blandford <jrb@redhat.com>
1348 * shell/main.c (main): remove redundant g_warnings.
1350 2005-08-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1352 * shell/Makefile.am: Don't include autogenerated
1353 file ev-application-service.h into distribution, since
1354 it causes dbus crash. Fix for bugs 313724 and 313443.
1356 2005-08-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1358 * configure.ac: Fix sed expression for FreeBSD. Thanks
1359 to Joe Marcus Clark <marcus@freebsd.org>
1361 * shell/eggfindbar.c: (entry_activate_callback),
1362 (entry_changed_callback), (egg_find_bar_init),
1363 (egg_find_bar_set_search_string):
1365 Made findbar buttons unsensitive if there is no text in
1366 entry. Fix for the bug 313285.
1368 2005-08-17 Carlos Garcia Campos <carlosgc@gnome.org>
1370 * ps/ps-document.c: Use g_filename_display_name for displaying
1371 filenames and revert string freeze breackage
1373 2005-08-17 Marco Pesenti Gritti <mpg@redhat.com>
1380 * shell/Makefile.am:
1382 Add ev-application-service.xml to extra dist
1384 * shell/ev-view.c: (find_page_at_location):
1386 Remove unused function (fix warning)
1388 2005-08-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1390 * dvi/mdvi-lib/t1.c: (t1_reset_resolution), (t1_really_load_font),
1391 (t1_load_font), (t1_glyph_bitmap), (t1_font_remove):
1393 Fix warnings and compilation with t1lib-5.0 and newer. Fix for
1396 2005-08-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1398 * shell/ev-utils.c: (set_umask_permissions), (write_to_temp_file):
1399 * shell/ev-window.c:
1402 2005-08-16 Carlos Garcia Campos <carlosgc@gnome.org>
1404 * configure.ac: Update script to get dbus version.
1405 Fix for the bug #313443.
1407 2005-08-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1409 * shell/ev-window.c: (ev_window_cmd_escape):
1411 Return focus back to view on escape. Fix for bug 313295.
1413 2005-08-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1415 * shell/ev-window.c: (update_window_title),
1416 (ev_window_popup_password_dialog), (ev_window_load_job_cb),
1417 (ev_window_cmd_save_as):
1419 Correct conversion from uri to displayable string. Fix for
1422 2005-08-16 Carlos Garcia Campos <carlosgc@gnome.org>
1424 * ps/ps-document.c: convert filename to utf8 when there is an error
1425 loading document. Fixes #309915
1427 2005-08-16 Marco Pesenti Gritti <mpg@redhat.com>
1431 We depend on poppler 0.4.0
1433 Mon Aug 15 21:53:05 2005 Jonathan Blandford <jrb@redhat.com>
1436 * NEWS: Release 0.3.3.
1437 * thumbnailer/evince-thumbnailer.c: Remove pdf icon.
1439 2005-08-14 Dennis Cranston <dennis_cranston@yahoo.com>
1441 * shell/ev-window.c: (ev_window_cmd_file_open): HIG fixes:
1442 add a couple missing mnemonics to menu items, use title
1443 capitalization for menu items and window titles, and add
1444 ellipsis to open menu item.
1446 Mon Aug 15 00:40:21 2005 Jonathan Blandford <jrb@redhat.com>
1448 * pdf/ev-poppler.cc:
1449 * shell/ev-metadata-manager.c: (ev_metadata_manager_init):
1450 * shell/ev-view.c: (ev_view_rotate_left), (ev_view_set_rotation),
1451 (ev_view_get_rotation):
1453 * shell/ev-window.c: (setup_view_from_metadata),
1454 (save_rotation_to_file), (ev_window_cmd_edit_rotate_left),
1455 (ev_window_cmd_edit_rotate_right): Fix rotation. Save it to
1458 2005-08-14 Baris Cicek <baris@teamforce.name.tr>
1460 * configure.ac: Added tr to ALL_LINGUAS
1462 2005-08-12 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1464 * shell/ev-view.c: Fix for bug Bug 311838. Search backward
1465 requires several clicks to find word. Thanks to
1466 Colin Slater <kiltedtaco@gmail.com>.
1468 2005-08-11 Bryan Clark <clarkbw@cvs.gnome.org>
1470 * data/evince.desktop.in.in: Hide menu entry and
1471 rename it to "Document Viewer". Fix for bug
1474 2005-08-11 Crispin Flowerday <gnome@flowerday.cx>
1476 * shell/ev-page-action.c (ev_page_action_class_init):
1478 Point to the correct function in constructor of the
1479 activate_label signal
1481 Tue Aug 9 02:17:13 2005 Jonathan Blandford <jrb@redhat.com>
1483 * shell/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
1484 * shell/ev-jobs.h: Make thread safe.
1486 2005-08-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1488 * shell/ev-view.c: (view_update_range_and_current_page):
1489 Don't update page range if we are scrolling to some document
1492 2005-08-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1494 * shell/ev-view.c: (get_page_extents): reverse rotation/scale
1495 when getting max_page_width, fix drawing in dual mode.
1497 Sun Aug 7 02:06:08 2005 Jonathan Blandford <jrb@redhat.com>
1499 * shell/ev-view.c (ev_view_select_all): reverse rotation/page when
1500 getting the area for select_all.
1502 2005-08-06 Kristian Høgsberg <krh@redhat.com>
1504 * backend/ev-selection.c: (ev_selection_render_selection):
1505 * backend/ev-selection.h:
1506 * pdf/ev-poppler.cc:
1507 * shell/ev-jobs.c: (ev_job_render_new):
1509 * shell/ev-pixbuf-cache.c: (get_selection_colors),
1510 (add_job_if_needed), (ev_pixbuf_cache_get_selection_pixbuf):
1511 * shell/ev-view.c: (ev_view_focus_in), (ev_view_focus_out),
1512 (ev_view_class_init):
1514 Change selection color on focus in and focus out events. Also,
1515 poppler now uses GdkColor for specifying the selection colors, so
1516 drop some awkward conversion code.
1518 2005-08-06 Yair Hershkovitz <yairhr@gmail.com>
1520 * configure.ac: Added Hebrew translation
1522 Sat Aug 6 01:12:44 2005 Jonathan Blandford <jrb@redhat.com>
1525 * backend/ev-selection.c: (ev_selection_render_selection):
1526 * backend/ev-selection.h:
1527 * pdf/ev-poppler.cc:
1528 * shell/ev-jobs.c: (ev_job_render_dispose), (ev_job_render_new),
1529 (ev_job_render_run):
1531 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info),
1532 (ev_pixbuf_cache_new), (job_finished_cb), (add_job_if_needed),
1533 (convert_gdk_color_to_uint), (ev_pixbuf_cache_get_text_mapping),
1534 (ev_pixbuf_cache_style_changed),
1535 (ev_pixbuf_cache_get_selection_pixbuf),
1536 (ev_pixbuf_cache_set_selection_list),
1537 (ev_pixbuf_cache_get_selection_list):
1538 * shell/ev-pixbuf-cache.h:
1539 * shell/ev-utils.c: (ev_print_region_contents):
1541 * shell/ev-view.c: (ev_view_queue_draw_page),
1542 (selection_update_idle_cb), (ev_view_motion_notify_event),
1543 (ev_view_style_set), (draw_one_page), (ev_view_class_init),
1544 (setup_caches), (ev_view_find_next), (merge_selection_region),
1546 * shell/ev-window.c: (ev_window_update_fullscreen_popup):
1548 Clean up selection to be much smoother!
1550 2005-08-05 Kristian Høgsberg <krh@redhat.com>
1552 * pdf/ev-poppler.cc (pdf_selection_render_selection): Pass colors
1553 to poppler_page_render_selection().
1555 2005-08-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1557 * ps/ps-document.c: (save_page_list): Use
1558 unzipped document when printing. Thanks to
1559 Colin Slater <kiltedtaco@gmail.com>. Fix for bug
1562 2005-08-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1564 * shell/ev-window.c: (update_action_sensitivity):
1566 Disable print and save respect to lockdown gconf keys. Fix
1569 2005-08-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1572 * shell/ev-utils.c: (rename_file), (set_umask_permissions),
1573 (write_to_temp_file), (ev_file_set_contents):
1575 * shell/ev-window.c: (save_print_config_to_file):
1577 Copy-paste g_file_set_contents to keep compatibility with gtk 2.6
1580 2005-07-31 Christian Persch <chpe@cvs.gnome.org>
1582 * shell/ev-window.c: (load_print_config_from_file),
1583 (save_print_config_to_file), (ev_window_print_range):
1585 Persist the print settings. Fixes bug #311578.
1587 2005-07-31 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1589 * djvu/djvu-document.c: (djvu_document_get_page_size),
1590 (djvu_document_render_pixbuf), (djvu_document_document_iface_init),
1591 (djvu_document_thumbnails_get_thumbnail):
1592 * dvi/dvi-document.c: (dvi_document_get_page_size),
1593 (dvi_document_render_pixbuf), (dvi_document_document_iface_init),
1594 (dvi_document_thumbnails_get_dimensions),
1595 (dvi_document_thumbnails_get_thumbnail):
1596 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size),
1597 (pixbuf_document_render_pixbuf),
1598 (pixbuf_document_document_iface_init),
1599 (pixbuf_document_thumbnails_get_thumbnail):
1601 Update backends to make them build with new rotation system.
1603 2005-07-31 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1605 * help/C/figures/evince_start_window.png:
1607 Update documentation image from Luca Ferretti <elle.uca@libero.it>
1609 Sat Jul 30 19:09:34 2005 Jonathan Blandford <jrb@redhat.com>
1611 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_clear):
1612 * shell/ev-pixbuf-cache.h:
1613 * shell/ev-sidebar-thumbnails.c:
1614 (ev_sidebar_thumbnails_get_property), (add_range),
1615 (adjustment_changed_cb):
1616 * shell/ev-view.c: (ev_view_set_rotation): Fix rotation and the
1617 pixbuf cache. Make thumbnailing work again. Also, fix bug where
1618 we were thumbnailing the entire docment on startup, slowing us
1621 Fri Jul 29 23:14:28 2005 Jonathan Blandford <jrb@redhat.com>
1623 * shell/ev-page-cache.c: (ev_page_cache_new):
1624 * shell/ev-window.c: (update_action_sensitivity): Handle n_pages
1625 == 0, fixes #310306.
1627 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
1629 * shell/ev-view.c: (doc_rect_to_view_rect), (ev_view_rotate_right),
1630 (ev_view_rotate_left):
1632 Account rotation in doc_rect_to_view_rect.
1633 Ensure rotation doesnt go out of bounds.
1635 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
1637 * shell/ev-page-cache.c: (ev_page_cache_get_size):
1639 Correct and cleanup w/h swapping
1641 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
1643 * backend/ev-document-thumbnails.c:
1644 (ev_document_thumbnails_get_thumbnail):
1645 * backend/ev-document-thumbnails.h:
1646 * backend/ev-document.c:
1647 * backend/ev-document.h:
1648 * backend/ev-render-context.c: (ev_render_context_new),
1649 (ev_render_context_set_rotation):
1650 * backend/ev-render-context.h:
1651 * pdf/ev-poppler.cc:
1652 * ps/ps-document.c: (ps_document_document_iface_init):
1653 * shell/ev-jobs.c: (ev_job_thumbnail_new), (ev_job_thumbnail_run):
1655 * shell/ev-page-cache.c: (build_height_to_page),
1656 (ev_page_cache_new), (ev_page_cache_get_size),
1657 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
1658 (ev_page_cache_get_height_to_page):
1659 * shell/ev-page-cache.h:
1660 * shell/ev-pixbuf-cache.c: (check_job_size_and_unref),
1661 (add_job_if_needed), (ev_pixbuf_cache_add_jobs_if_needed),
1662 (ev_pixbuf_cache_set_page_range), (new_selection_pixbuf_needed),
1663 (ev_pixbuf_cache_get_selection_pixbuf):
1664 * shell/ev-pixbuf-cache.h:
1665 * shell/ev-print-job.c: (idle_print_handler):
1666 * shell/ev-sidebar-thumbnails.c: (add_range):
1667 * shell/ev-view.c: (view_update_range_and_current_page),
1668 (get_page_y_offset), (get_page_extents),
1669 (ev_view_size_request_continuous_dual_page),
1670 (ev_view_size_request_continuous),
1671 (ev_view_size_request_dual_page),
1672 (ev_view_size_request_single_page), (draw_one_page),
1673 (ev_view_set_rotation), (ev_view_rotate_right),
1674 (ev_view_rotate_left), (ev_view_zoom_for_size_presentation),
1675 (ev_view_zoom_for_size_continuous_and_dual_page),
1676 (ev_view_zoom_for_size_continuous),
1677 (ev_view_zoom_for_size_dual_page),
1678 (ev_view_zoom_for_size_single_page), (compute_new_selection_text),
1679 (ev_view_select_all):
1680 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
1681 * tiff/tiff-document.c: (tiff_document_render_pixbuf),
1682 (tiff_document_document_iface_init),
1683 (tiff_document_thumbnails_get_thumbnail):
1685 Use rotation rather than orientation. It's easier and enough
1688 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
1690 * shell/ev-page-cache.c: (build_height_to_page),
1691 (ev_page_cache_new), (ev_page_cache_get_size),
1692 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
1693 (ev_page_cache_get_height_to_page):
1694 * shell/ev-page-cache.h:
1695 * shell/ev-view.c: (get_page_y_offset), (get_page_extents),
1696 (ev_view_size_request_continuous_dual_page),
1697 (ev_view_size_request_continuous),
1698 (ev_view_zoom_for_size_continuous_and_dual_page),
1699 (ev_view_zoom_for_size_continuous):
1701 Make the page cache aware of page orientation.
1703 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
1705 * backend/ev-document-thumbnails.c:
1706 (ev_document_thumbnails_get_thumbnail):
1707 * backend/ev-document-thumbnails.h:
1708 * backend/ev-document.c:
1709 * backend/ev-document.h:
1710 * backend/ev-ps-exporter.c: (ev_ps_exporter_do_page):
1711 * backend/ev-ps-exporter.h:
1712 * pdf/ev-poppler.cc:
1713 * ps/ps-document.c: (ps_document_document_iface_init),
1714 (ps_document_ps_export_do_page):
1715 * shell/ev-jobs.c: (ev_job_thumbnail_new), (ev_job_thumbnail_run):
1717 * shell/ev-page-cache.c: (ev_page_cache_get_size),
1718 (ev_page_cache_get):
1719 * shell/ev-page-cache.h:
1720 * shell/ev-pixbuf-cache.c: (check_job_size_and_unref),
1721 (add_job_if_needed), (ev_pixbuf_cache_add_jobs_if_needed),
1722 (ev_pixbuf_cache_set_page_range), (new_selection_pixbuf_needed):
1723 * shell/ev-pixbuf-cache.h:
1724 * shell/ev-print-job.c: (idle_print_handler):
1725 * shell/ev-sidebar-thumbnails.c: (add_range):
1726 * shell/ev-view.c: (view_update_range_and_current_page),
1727 (get_page_extents), (ev_view_size_request_dual_page),
1728 (ev_view_size_request_single_page), (draw_one_page),
1729 (clear_caches), (ev_view_set_orientation), (ev_view_rotate_right),
1730 (ev_view_rotate_left), (ev_view_zoom_for_size_presentation),
1731 (ev_view_zoom_for_size_dual_page),
1732 (ev_view_zoom_for_size_single_page), (compute_new_selection_text),
1733 (ev_view_select_all):
1734 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
1735 * tiff/tiff-document.c: (tiff_document_get_page_size),
1736 (tiff_document_get_orientation), (rotate_pixbuf),
1737 (tiff_document_render_pixbuf), (tiff_document_document_iface_init),
1738 (tiff_document_thumbnails_get_thumbnail),
1739 (tiff_document_ps_export_do_page), (tiff_document_init):
1741 Really make use of the orientation bit of the render context.
1742 Use the render context in a few more places in the backend API.
1743 This regress orientation, but now it's done right. Will try to
1746 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
1748 * shell/ev-view.c: (ensure_rectangle_is_visible):
1750 Patch by Nickolay V. Shmyrev to fix find flickering
1752 2005-07-27 Martin Kretzschmar <martink@gnome.org>
1754 * backend/ev-ps-exporter.h: add paper_width, paper_height, and
1755 duplex parameters to ::begin.
1757 * tiff/tiff-document.c (tiff_document_ps_export_begin):
1758 * shell/ev-print-job.c (idle_print_handler):
1759 * ps/ps-document.c (ps_document_ps_export_begin):
1760 * pdf/ev-poppler.cc (pdf_document_ps_exporter_begin):
1761 * backend/ev-ps-exporter.c (ev_ps_exporter_begin): update
1762 implementations. Poppler backend needs poppler cvs. Rest has
1765 2005-07-25 Martin Kretzschmar <martink@gnome.org>
1767 * shell/ev-window.c (using_pdf_printer): new function.
1768 (ev_window_print_range): print a less techy message if someone
1769 tries to print to PDF.
1771 2005-07-25 Martin Kretzschmar <martink@gnome.org>
1773 * pdf/ev-poppler.cc (font_type_to_string): Remove trailing space
1774 from "unknown font" string. Bug #311431
1776 2005-07-24 Martin Kretzschmar <martink@gnome.org>
1778 * help/es/.cvsignore, help/sr/.cvsignore: ignore xmlpo output.
1780 2005-07-24 Martin Kretzschmar <martink@gnome.org>
1784 * pdf/ev-poppler.cc (font_type_to_string): new, returns user readable
1785 name for PopplerFontTypes
1786 (pdf_document_fonts_fill_model): add font type to the detail column
1788 * backend/ev-document-fonts.h: added
1789 EV_DOCUMENT_FONTS_COLUMN_DETAILS.
1791 * shell/ev-properties-fonts.c (font_cell_data_func): glue together
1792 font name and font details, add a little markup.
1793 (ev_properties_fonts_init): use the new cell data func, specify ypad
1794 property for the cell renderer.
1795 (ev_properties_fonts_set_document): add the details column.
1797 2005-07-24 Artur Flinta <aflinta@cvs.gnome.org>
1799 * configure.ac: Added "pl" to ALL_LINGUAS.
1801 2005-07-24 Danilo Šegan <danilo@gnome.org>
1803 * configure.ac: Added "sr" and "sr@Latn" to ALL_LINGUAS.
1805 2005-07-23 Tommi Vainikainen <thv@iki.fi>
1807 * help/ChangeLog: Started this for translations of manual.
1808 * configure.ac, autogen.sh, .cvsignore: Migrated to
1809 gnome-doc-utils. Patch in bug #311222.
1811 2005-07-22 Martin Kretzschmar <martink@gnome.org>
1813 * backend/ev-document-factory.c (mime_type_supported_by_gdk_pixbuf):
1814 #ifdef this away to fix an unused-function warning.
1816 2005-07-22 Ignacio Casal Quinteiro <nacho.resa@gmail.com>
1818 * configure.ac: Added 'gl' to ALL_LINGUAS.
1820 2005-07-22 Pawan Chitrakar <pawan@nplinux.org>
1822 * configure.ac: Added ne in ALL_LINGUAS
1824 2005-07-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1826 * shell/ev-view.c: (ev_view_leave_notify_event):
1828 Clear status message when pointer leaves view. Fix for bug
1831 2005-07-20 Ankit Patel <ankit644@yahoo.com>
1833 * configure.ac: Gujarati (gu) added to ALL_LINGUAS
1835 2005-07-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1837 * shell/ev-view.c: (ev_view_leave_notify_event),
1838 (ev_view_class_init):
1840 Set cursor to normal then leaving view.
1842 2005-07-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1846 Fix required djvulibre version.
1848 2005-07-15 Rajesh Ranjan <rajeshkajha@yahoo.com>
1850 *configure.ac: Hindi (hi) language added
1852 2005-07-15 Amanpreet Singh Brar <amanpreetalam@yahoo.com>
1854 *configure.ac: Punjabi (pa) Language added
1856 2005-07-12 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1858 * data/evince-ui.xml, shell/ev-window.c:
1860 Add keypad accelerators for zooming. Fix for bug 308128.
1862 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
1865 * backend/Makefile.am:
1866 * backend/ev-document-factory.c: (ev_document_type_get_from_mime):
1868 * shell/ev-document-types.c: (ev_document_types_add_filters):
1870 Allow to enable/disable the pixbuf backend.
1871 Default to off for now. If we want it enabled we should
1872 really put mime types in the desktop, implement properties etc.
1874 * properties/evince-properties.c:
1876 Initialize error to NULL.
1877 Check error is not NULL before freeing.
1879 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
1881 * shell/ev-window.c:
1883 Use F5 as presentation accell
1885 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
1887 * shell/ev-window.c: (update_chrome_visibility),
1888 (ev_window_create_fullscreen_popup), (ev_window_init):
1890 Do not leak the fullscreen toolbar
1892 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
1894 * shell/ev-window.c: (view_actions_focus_in_cb),
1895 (view_actions_focus_out_cb):
1897 These has a return value! Fix totally random focus
1898 issues we was seeing.
1900 2005-07-11 Carlos Garcia Campos <carlosgc@gnome.org>
1902 * shell/main.c: (load_files_remote):
1904 Allow open more than one file
1906 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
1908 * shell/main.c: (load_files_remote):
1910 Fix for dbus 0.33. bug #309975
1912 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
1914 * properties/ev-properties-main.c: (ev_properties_get_pages):
1916 Actually return NULL for types we dont support
1918 2005-07-08 Christian Persch <chpe@cvs.gnome.org>
1924 2005-07-08 Marco Pesenti Gritti <marco@gnome.org>
1926 * backend/ev-document-factory.c:
1927 (ev_document_factory_get_document):
1929 Do not try to create the object if type
1932 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
1934 * ps/ps-document.c: (ps_document_dispose),
1935 (ps_async_renderer_render_pixbuf):
1938 Do not leak the target window
1940 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
1942 * shell/ev-application.c: (ev_application_init):
1944 Let tbe check file existence for us.
1945 Add a comment about eggrecent mime filter.
1947 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
1949 * data/evince-ui.xml:
1950 * shell/ev-application.c: (ev_application_shutdown),
1951 (ev_application_init), (ev_application_get_toolbars_model),
1952 (ev_application_get_recent_model),
1953 (ev_application_save_toolbars_model):
1954 * shell/ev-application.h:
1955 * shell/ev-window.c: (ev_window_add_recent),
1956 (ev_window_setup_recent), (ev_window_cmd_edit_toolbar_cb),
1957 (ev_window_cmd_edit_toolbar), (ev_window_dispose),
1960 Use common toolbar and recent models for all windows.
1961 Patch by Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1963 Thu Jul 7 23:10:01 2005 Jonathan Blandford <jrb@redhat.com>
1965 * configure.ac: add FRONTEND_CORE_LIBS to evince_save_LIBS so we
1966 successfully check for gtk_icon_view_get_visible_range.
1968 2005-07-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1973 Fix djvu and dvi backend build.
1975 2005-07-07 Christian Persch <chpe@cvs.gnome.org>
1977 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c: (new_pixbuf_from_widget),
1978 (new_separator_pixbuf):
1982 2005-07-07 Christian Persch <chpe@cvs.gnome.org>
1984 * shell/ev-window.c: (ev_window_cmd_edit_toolbar):
1986 HIGification of toolbar editor dialogue.
1988 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1991 * shell/Makefile.am:
1993 Ever build metadata manager since it's just
1994 disabled at runtime now.
1996 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1998 * shell/ev-metadata-manager.c: (ev_metadata_manager_init),
1999 (ev_metadata_manager_get), (ev_metadata_manager_set):
2000 * shell/ev-metadata-manager.h:
2002 Add an _init functions that enabled metadata management
2005 * shell/ev-window.c: (page_changed_cb),
2006 (setup_document_from_metadata), (ev_window_setup_document),
2007 (setup_view_from_metadata), (ev_window_open_uri),
2008 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
2009 (ev_window_run_presentation), (ev_window_stop_presentation),
2010 (save_sizing_mode), (ev_window_zoom_changed_cb),
2011 (ev_window_continuous_changed_cb),
2012 (ev_window_dual_mode_changed_cb), (window_state_event_cb),
2013 (window_configure_event_cb):
2015 Remove all ugly metadata define since we deal with it
2018 * shell/main.c: (load_files_remote), (main):
2020 Add support for dbus cvs head. Hopefully didnt break one
2021 of the other versions now!
2023 If we dont get a response from the dbus server just
2024 give up with it and not enable metadata.
2026 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
2029 * backend/Makefile.am:
2031 * cut-n-paste/recent-files/Makefile.am:
2032 * cut-n-paste/toolbar-editor/Makefile.am:
2033 * cut-n-paste/zoom-control/Makefile.am:
2036 * pixbuf/Makefile.am:
2037 * properties/Makefile.am:
2039 * shell/Makefile.am:
2040 * thumbnailer/Makefile.am:
2043 Make frontends depend on just libev.
2044 Rework and group CFLAGS/LIBS definitions.
2047 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
2051 do not unnecessarily save zoom
2054 * lib/ev-file-helpers.c: (ev_dot_dir):
2055 * shell/Makefile.am:
2060 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
2064 Remove unnecessary dependencies
2066 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
2068 * properties/Makefile.am:
2069 * thumbnailer/Makefile.am:
2072 Some more cleanups. Was really necessary
2073 but I probably introduced bugs, feel free
2076 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
2078 * backend/Makefile.am:
2080 * cut-n-paste/recent-files/Makefile.am:
2081 * cut-n-paste/toolbar-editor/Makefile.am:
2082 * cut-n-paste/zoom-control/Makefile.am:
2085 * pixbuf/Makefile.am:
2086 * properties/Makefile.am:
2088 * shell/Makefile.am:
2089 * thumbnailer/Makefile.am:
2092 Use gnome-common macros when possible.
2093 Cleanup dependencies.
2094 Actually disable deprecated where possible.
2096 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
2099 * backend/Makefile.am:
2100 * properties/Makefile.am:
2101 * shell/Makefile.am:
2102 * thumbnailer/Makefile.am:
2104 This should solve the circular dep without
2105 requiring dir reorg!
2107 * shell/ev-window.c: (setup_view_from_metadata):
2109 Never restore window size/position when the
2110 window is already visible.
2112 2005-07-06 Christian Persch <chpe@cvs.gnome.org>
2114 * shell/ev-metadata-manager.c: (ev_metadata_manager_save):
2116 Return a boolean from timeout func. Fix ported from gedit.
2118 2005-07-07 Iñaki Larrañaga <dooteo@euskalgnu.org>
2120 * configure.ac: Added "eu" (Basque) to ALL_LINGUAS.
2122 2005-07-06 Carlos Garcia Campos <carlosgc@gnome.org>
2124 * shell/ev-document-types.c: set "All Documents" as default filter in
2127 2005-07-06 Martin Kretzschmar <martink@gnome.org>
2129 * shell/ev-metadata-manager.c (ev_metadata_manager_set_int)
2130 (ev_metadata_manager_set_double, ev_metadata_manager_set_string)
2131 (ev_metadata_manager_set_boolean): fix value/val thinko.
2133 2005-07-06 Marco Pesenti Gritti <mpg@redhat.com>
2135 * shell/ev-window.c: (setup_view_from_metadata),
2136 (window_state_event_cb), (window_configure_event_cb),
2139 Remember window position and maximized state
2141 2005-07-06 Christian Persch <chpe@cvs.gnome.org>
2145 Fix DBUS configure checks.
2147 * shell/ev-metadata-manager.c: (ev_metadata_manager_set_int),
2148 (ev_metadata_manager_set_double), (ev_metadata_manager_set_string),
2149 (ev_metadata_manager_set_boolean):
2153 * shell/ev-window.c: (page_changed_cb), (ev_window_run_fullscreen),
2154 (ev_window_stop_fullscreen), (ev_window_run_presentation),
2155 (ev_window_stop_presentation), (ev_window_zoom_changed_cb),
2156 (ev_window_continuous_changed_cb),
2157 (ev_window_dual_mode_changed_cb), (ev_window_new):
2159 Fix the build without DBUS.
2161 2005-07-06 Marco Pesenti Gritti <mpg@redhat.com>
2163 * shell/ev-metadata-manager.c: (parse_value), (save_values),
2164 (ev_metadata_manager_set_int), (ev_metadata_manager_set_double),
2165 (ev_metadata_manager_set_string),
2166 (ev_metadata_manager_set_boolean):
2167 * shell/ev-metadata-manager.h:
2169 Add support for some more types
2171 * shell/ev-view.c: (scroll_to_current_page),
2172 (ev_view_get_continuous), (ev_view_set_continuous),
2173 (ev_view_get_dual_page):
2175 * shell/ev-window.c: (page_changed_cb),
2176 (setup_document_from_metadata), (ev_window_setup_document),
2177 (setup_view_from_metadata), (ev_window_open_uri),
2178 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
2179 (ev_window_run_presentation), (ev_window_stop_presentation),
2180 (save_sizing_mode), (ev_window_sizing_mode_changed_cb),
2181 (ev_window_zoom_changed_cb), (ev_window_update_continuous_action),
2182 (ev_window_update_dual_page_action),
2183 (ev_window_continuous_changed_cb),
2184 (ev_window_dual_mode_changed_cb), (ev_window_init):
2186 Remember a bunch of view/document properties. Prolly some
2187 are still missing but it's getting interesting.
2189 2005-07-05 Martin Kretzschmar <martink@gnome.org>
2191 * configure.ac: check if dbus-binding-tool is installed. Not the
2192 case on current Ubuntu breezy, it seems.
2194 2005-07-05 Luca Ferretti <elle.uca@libero.it>
2196 * data/evince.desktop.in.in:
2198 Allow open uri lists and add TryExec field.
2200 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
2204 Enable dbus when available, do not require a configure
2207 2005-07-05 Christian Persch <chpe@cvs.gnome.org>
2211 Use AM_CONDITIONAL unconditionally, fixes the build with DBUS
2214 2005-07-05 Carlos Garcia Campos <carlosgc@gnome.org>
2215 Marco Pesenti Gritti <mpg@redhat.com>
2217 * shell/Makefile.am: Add --prefix for dbus-binding-tool script
2219 * shell/ev-application.[ch], shell/ev-window.c: change dbus RPC
2220 functions to the format required by dbus
2222 * shell/main.c: use G_TYPE instead of DBUS_TYPE to fix compilation
2223 errors. Use the RPC parameters in the expected way
2225 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
2228 * properties/Makefile.am:
2229 * properties/ev-properties-main.c: (ev_properties_get_pages):
2231 Support all mime types
2233 * shell/Makefile.am:
2234 * thumbnailer/Makefile.am:
2235 * thumbnailer/evince-thumbnailer.c: (get_document_from_uri),
2236 (evince_thumbnail_pngenc_get):
2238 Use the document factory
2240 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
2242 * backend/Makefile.am:
2243 * backend/ev-document-factory.c:
2244 (mime_type_supported_by_gdk_pixbuf),
2245 (ev_document_type_get_from_mime),
2246 (ev_document_factory_get_document),
2247 (ev_document_factory_get_backend),
2248 (ev_document_factory_get_mime_types),
2249 (ev_document_factory_get_all_mime_types):
2250 * backend/ev-document-factory.h:
2251 * shell/Makefile.am:
2252 * shell/ev-document-types.c: (get_document_from_uri),
2253 (ev_document_types_get_document),
2254 (file_filter_add_mime_list_and_free),
2255 (ev_document_types_add_filters):
2256 * shell/ev-document-types.h:
2257 * shell/ev-job-xfer.c: (ev_job_xfer_run):
2258 * shell/ev-properties-dialog.c:
2259 (ev_properties_dialog_set_document):
2260 * shell/ev-window.c: (ev_window_cmd_file_open),
2261 (ev_window_cmd_save_as):
2262 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
2264 Rework document types managing to avoid code duplication
2265 and actually abstract from backend implementations.
2266 Also provide a minimal factory api that can be used by
2267 thumbnailer/properties.
2269 2005-07-05 Christian Persch <chpe@cvs.gnome.org>
2271 * properties/ev-properties-view.c: (ev_properties_view_set_info):
2273 * shell/ev-properties-dialog.c: (ev_properties_dialog_init):
2276 2005-07-04 Matthew S. Wilson <msw@rpath.com>
2278 * shell/ev-properties-dialog.c
2279 (ev_properties_dialog_set_document): only call
2280 ev_properties_fonts_set_document() if the document implements the
2283 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
2286 * properties/Makefile.am:
2287 * properties/ev-properties-view.c:
2288 (ev_properties_view_register_type):
2289 * properties/ev-properties-view.h:
2290 * properties/ev-properties-main.h:
2292 Implement nautilus plugin for properties.
2293 Works only for pdf atm, I need to rework the
2294 document types stuff to get this to work
2297 2005-07-04 Martin Kretzschmar <martink@gnome.org>
2299 * shell/ev-properties-fonts.c (enum): kill redundant columns enum
2300 (ev_properties_fonts_set_document): use
2301 EV_DOCUMENT_FONTS_COLUMN_NUM_COLUMNS.
2303 2005-07-04 Matthew S. Wilson <msw@rpath.com>
2305 * tiff/tiff2ps.c: remove TRUE and FALSE definitions, glib provides
2307 (PlaceImage, tiff2ps_process_page): use
2308 g_ascii_dtostr to convert floats to strings in a locale-safe way.
2311 2005-07-04 Martin Kretzschmar <martink@gnome.org>
2313 * shell/main.c: include libgnomeui/gnome-authentication-manager.h
2314 (main): to call gnome_authentication_manager_init. Should fix
2317 * configure.ac: that requires libgnomeui 2.6.0.
2319 2005-07-04 Matthew S. Wilson <msw@rpath.com>
2321 * tiff/tiff-document.c (tiff_document_ps_export_begin)
2322 (tiff_document_ps_export_do_page, tiff_document_ps_export_end):
2323 use the new tiff2ps interfaces
2325 * tiff/tiff2ps.h (tiff2ps_context_new, tiff2ps_process_page)
2326 (tiff2ps_context_finalize): implement new interfaces for tiff2ps
2328 * tiff/tiff2ps.c: refactor tiff2ps code to use a context
2329 structure instead of global variables. Remove use of static
2330 variables in functions.
2332 2005-07-04 Carlos Garcia Campos <carlosgc@gnome.org>
2334 * shell/ev-page-action.c: unref the completion after setting it to the
2337 2005-07-04 Matthew S. Wilson <msw@rpath.com>
2339 * tiff/tiff2ps.c (generateEPSF): disable generating encapsulated
2342 2005-07-04 Matthew S. Wilson <msw@rpath.com>
2344 * shell/ev-window.c (update_action_sensitivity): disable
2345 File->Print if the document does not implement the ps exporter
2348 2005-07-04 Marco Pesenti Gritti <mpg@redhat.com>
2352 * data/evince-properties.glade:
2353 * properties/.cvsignore:
2354 * properties/Makefile.am:
2355 * properties/ev-properties-view.c: (ev_properties_view_dispose),
2356 (ev_properties_view_class_init), (ev_properties_view_format_date),
2357 (make_valid_utf8), (set_property), (ev_properties_view_set_info),
2358 (ev_properties_view_init), (ev_properties_view_new):
2359 * properties/ev-properties-view.h:
2360 * shell/Makefile.am:
2361 * shell/ev-properties-dialog.c: (ev_properties_dialog_class_init),
2362 (ev_properties_dialog_init), (ev_properties_dialog_set_document),
2363 (ev_properties_dialog_new):
2364 * shell/ev-properties-dialog.h:
2365 * shell/ev-properties-fonts.c: (ev_properties_fonts_dispose),
2366 (ev_properties_fonts_class_init), (ev_properties_fonts_init),
2367 (update_progress_label), (job_fonts_finished_cb),
2368 (ev_properties_fonts_set_document), (ev_properties_fonts_new):
2369 * shell/ev-properties-fonts.h:
2370 * shell/ev-properties.c:
2371 * shell/ev-properties.h:
2372 * shell/ev-window.c: (ev_window_setup_document),
2373 (ev_window_cmd_file_properties):
2375 Split the properties pages in two different objects, depend
2376 only on the backend where possible, use widgets instead
2377 of gobject for the glade part, reimplement the dialog
2379 I need this to implement nautilus properties page.
2381 2005-07-03 Matthew S. Wilson <msw@rpath.com>
2383 * tiff/tiff-document.c (tiff_document_ps_export_begin)
2384 (tiff_document_ps_export_do_page, tiff_document_ps_export_end)
2385 (tiff_document_document_ps_exporter_iface_init): implement the ps
2386 exporter interface for tiff documents
2388 * tiff/tiff2ps.c: added a modified version of tiff2ps.c from
2389 libtiff to implement TIFF postscript export
2391 * tiff/tiff2ps.h: added a header file for external tiff2ps
2394 * tiff/Makefile.am (libtiffdocument_la_SOURCES): add tiff2ps.c and
2397 2005-07-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2399 * shell/ev-view.c: (scroll_to_current_page),
2400 (ev_view_set_fullscreen), (ev_view_set_presentation):
2402 Scroll to current page when exit from presentation
2404 2005-07-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2406 * shell/ev-window.c: (update_document_mode),
2407 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
2408 (ev_window_cmd_view_fullscreen), (ev_window_stop_presentation),
2409 (ev_window_cmd_view_presentation), (ev_window_cmd_escape):
2411 Exit from fullscreen mode when switch to presentation. Fix for
2414 2005-07-02 Matthew S. Wilson <msw@rpath.com>
2416 * shell/ev-pixbuf-cache.c (ev_pixbuf_cache_get_selection_pixbuf):
2417 return NULL if the document does not implement the selection
2420 2005-07-02 Matthew S. Wilson <msw@rpath.com>
2422 * tiff/tiff-document.c (tiff_document_get_page_size): scale the
2423 reported height by using the resolution aspect ratio
2424 (tiff_document_render_pixbuf): scale the pixbuf using the
2425 resolution aspect ratio
2427 2005-07-01 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2431 Require libgnomeprint >= 2.5.1. Thanks to Colin Slater
2432 <kiltedaco@gmail.com>
2434 * djvu/djvu-document.c: (djvu_document_get_orientation),
2435 (djvu_document_set_orientation), (djvu_document_get_page_size),
2436 (rotate_pixbuf), (djvu_document_render_pixbuf),
2437 (djvu_document_document_iface_init):
2438 * dvi/dvi-document.c: (dvi_document_get_orientation),
2439 (dvi_document_set_orientation), (dvi_document_get_page_size),
2440 (rotate_pixbuf), (dvi_document_render_pixbuf),
2441 (dvi_document_document_iface_init):
2443 Dvi and djvu backends are ported to new API
2445 Fri Jul 1 00:10:15 2005 Jonathan Blandford <jrb@redhat.com>
2447 * backend/ev-selection.c: (ev_selection_get_selection_region),
2448 (ev_selection_get_selection_map):
2449 * backend/ev-selection.h:
2450 * pdf/ev-poppler.cc:
2451 * shell/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
2453 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info),
2454 (job_finished_cb), (copy_job_to_job_info), (add_job_if_needed),
2455 (ev_pixbuf_cache_get_text_mapping):
2456 * shell/ev-pixbuf-cache.h:
2457 * shell/ev-view.c: (location_in_text),
2458 (ev_view_motion_notify_event), (ev_view_set_cursor): Add I-Beam
2459 support to EvView. Now we can see where we can select! Sweet!
2461 2005-06-30 Kristian Høgsberg <krh@redhat.com>
2463 * shell/ev-view.c (ev_view_button_press_event): Fix
2464 event->y + view->scroll_x typo.
2466 2005-06-30 Kristian Høgsberg <krh@redhat.com>
2468 * pdf/ev-poppler.cc: Adjust to poppler API changes; use a
2469 sub-GdkPixbuf instead of passing dest_x and dest_y.
2471 * shell/ev-view.c: (view_point_to_doc_point),
2472 (view_rect_to_doc_rect), (ev_view_button_press_event),
2473 (ev_view_motion_notify_event), (compute_new_selection_rect),
2474 (gdk_rectangle_point_in), (compute_new_selection_text),
2475 (compute_selections): Update selection code to keep the selection
2476 around as two points and not as a normalized rectangle, and fix
2477 page level selection in two-column mode.
2479 2005-06-30 Alex Duggan <aldug@astrolinux.com>
2481 * shell/ev-window.c: (window_configure_event_cb):
2485 2005-06-30 Marco Pesenti Gritti <mpg@redhat.com>
2487 * pdf/ev-poppler.cc:
2491 2005-06-30 Marco Pesenti Gritti <mpg@redhat.com>
2493 * shell/Makefile.am:
2494 * shell/ev-metadata-manager.c: (item_free),
2495 (ev_metadata_manager_init), (ev_metadata_manager_shutdown),
2496 (parse_value), (parseItem), (load_values),
2497 (ev_metadata_manager_get), (value_free), (ev_metadata_manager_set),
2498 (save_values), (save_item), (get_oldest), (resize_items),
2499 (ev_metadata_manager_save), (ev_metadata_manager_set_int):
2500 * shell/ev-metadata-manager.h:
2502 Metadata manager from gedit but modified to use GValue, so that
2503 we dont need to keep converting from strings.
2507 ENABLE_METADATA conditional, on when dbus is on
2509 * shell/ev-application.c: (ev_application_open_uri):
2511 Show the window after load so that we can initialize
2512 window size before it's showed.
2514 * shell/ev-window.c: (ev_window_setup_from_metadata),
2515 (ev_window_open_uri), (window_configure_event_cb),
2518 Save and load metadata information about window size.
2519 Not yet keeping states in account.
2521 * shell/main.c: (main):
2523 Shutdown metadata manager.
2525 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
2527 * shell/ev-application-service.xml:
2529 * shell/Makefile.am:
2530 * shell/ev-application.c:
2531 * shell/ev-application.h:
2532 * shell/ev-window.c:
2533 * shell/ev-window.h:
2536 Add an optional dbus interface (--enable-dbus).
2537 Rework application code, mainly to be easier to
2539 Do not open multiple windows with the same document,
2542 Thu Jun 30 01:50:14 2005 Jonathan Blandford <jrb@redhat.com>
2544 * shell/ev-pixbuf-cache.c (clear_selection_if_needed): unref the
2545 pixbuf iff it exists.
2547 Thu Jun 30 01:43:00 2005 Jonathan Blandford <jrb@redhat.com>
2550 * backend/ev-render-context.[ch]:
2551 * backend/ev-selection.[ch]:
2553 Massive changes. We now support text selection of pdfs, and not
2554 just rectangular selection. This is pretty broken still, but I
2555 want to get something into CVS.
2557 2005-06-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2559 * pdf/ev-poppler.cc:
2561 Fix for Bug 309080: crash on window close.
2563 * shell/ev-page-action.c: (page_changed_cb):
2565 Fix for Bug 309168: Fix build with gcc 2.95. Thanks to
2566 jensgr@gmx.net (Jens Granseuer).
2568 2005-06-25 Marcel Telka <marcel@telka.sk>
2570 * configure.in (ALL_LINGUAS): Added sk.
2572 2005-06-24 Carlos Garcia Campos <carlosgc@gnome.org>
2574 * shell/ev-window.c: Make rotate menu entries unsensitive if there is
2577 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
2584 * cut-n-paste/recent-files/Makefile.am:
2588 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
2590 * pixbuf/pixbuf-document.c: (pixbuf_document_get_orientation),
2591 (pixbuf_document_set_orientation), (rotate_pixbuf),
2592 (pixbuf_document_get_page_size), (pixbuf_document_render_pixbuf),
2593 (pixbuf_document_document_iface_init), (pixbuf_document_init):
2595 Implement rotation and cleanup the code a bit.
2597 * tiff/tiff-document.c: (tiff_document_get_page_size),
2598 (tiff_document_get_orientation), (tiff_document_set_orientation),
2599 (rotate_pixbuf), (tiff_document_render_pixbuf),
2600 (tiff_document_document_iface_init), (tiff_document_init):
2602 Implement rotation. Was the quicker solution for the release
2603 but we really need to share this code in the shell.
2605 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
2607 * pdf/ev-poppler.cc:
2609 Enable rotation, require poppler cvs. Fix a leak.
2611 2005-06-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2613 * shell/ev-window.c: (update_action_sensitivity):
2615 Make properties unsensitive if document backend doesn't provide
2618 2005-06-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2620 * dvi/mdvi-lib/bitmap.c: (bitmap_alloc), (bitmap_alloc_raw),
2621 (bitmap_flip_horizontally), (bitmap_flip_vertically),
2622 (bitmap_flip_diagonally), (bitmap_rotate_clockwise),
2623 (bitmap_rotate_counter_clockwise), (bitmap_flip_rotate_clockwise),
2624 (bitmap_flip_rotate_counter_clockwise):
2625 * dvi/mdvi-lib/color.c: (mdvi_push_color), (get_color_table):
2626 * dvi/mdvi-lib/common.c: (read_string), (buff_free), (buff_add),
2628 * dvi/mdvi-lib/common.h:
2629 * dvi/mdvi-lib/dvimisc.c: (mdvi_push_color):
2630 * dvi/mdvi-lib/dviread.c: (get_bytes), (dreset), (define_font),
2631 (opendvi), (mdvi_reload), (mdvi_init_context),
2632 (mdvi_destroy_context), (mdvi_dopage), (special):
2633 * dvi/mdvi-lib/font.c: (font_drop_one), (font_free_unused):
2634 * dvi/mdvi-lib/fontmap.c: (read_encoding), (destroy_encoding),
2635 (file_hash_free), (register_encoding), (parse_spec),
2636 (mdvi_load_fontmap), (free_ent), (mdvi_init_fontmaps),
2637 (mdvi_add_fontmap_file), (mdvi_ps_read_fontmap),
2638 (mdvi_ps_flush_fonts), (mdvi_ps_find_font), (mdvi_ps_get_metrics):
2639 * dvi/mdvi-lib/fontsrch.c: (mdvi_list_font_class),
2640 (mdvi_register_font_type), (mdvi_unregister_font_type),
2641 (lookup_font), (mdvi_add_font), (mdvi_font_retry):
2642 * dvi/mdvi-lib/gf.c: (gf_read_bitmap), (gf_load_font):
2643 * dvi/mdvi-lib/hash.c: (mdvi_hash_remove), (mdvi_hash_remove_ptr),
2644 (mdvi_hash_destroy_key), (mdvi_hash_reset):
2645 * dvi/mdvi-lib/pagesel.c: (mdvi_parse_range),
2646 (mdvi_parse_page_spec), (mdvi_free_page_spec), (main):
2647 * dvi/mdvi-lib/paper.c: (mdvi_free_paper_specs):
2648 * dvi/mdvi-lib/pk.c: (pk_lookup), (pk_lookupn), (pk_load_font):
2649 * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
2650 * dvi/mdvi-lib/special.c: (mdvi_register_special),
2651 (mdvi_unregister_special), (mdvi_flush_specials):
2652 * dvi/mdvi-lib/t1.c: (t1_lookup_font), (t1_really_load_font),
2654 * dvi/mdvi-lib/tfm.c: (get_tfm_chars):
2655 * dvi/mdvi-lib/tfmfile.c: (afm_load_file), (tfm_load_file),
2656 (ofm1_load_file), (ofm_load_file), (get_font_metrics),
2657 (free_font_metrics), (flush_font_metrics):
2658 * dvi/mdvi-lib/tt.c: (tt_really_load_font), (tt_get_bitmap),
2660 * dvi/mdvi-lib/util.c: (mdvi_malloc), (mdvi_realloc),
2661 (mdvi_calloc), (mdvi_free), (mdvi_strdup), (mdvi_strncpy),
2662 (mdvi_strndup), (mdvi_memdup), (xstradd), (dstring_append),
2663 (dstring_insert), (dstring_new), (dstring_reset):
2664 * dvi/mdvi-lib/vf.c: (vf_load_font), (vf_free_macros):
2666 Rename xmalloc and xfree to mdvi_malloc and mdvi_free to
2667 avoid conflict with libtool on FC4
2669 * shell/ev-window.c: (ev_window_cmd_help_about):
2671 Update copyright year. Fix for bug 308828.
2673 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
2675 * shell/ev-view.c: (add_scroll_binding_keypad),
2676 (ev_view_binding_activated), (ev_view_class_init),
2677 (on_adjustment_value_changed):
2679 Bug 170874: Arrow keys switch pages in presentation mode
2681 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
2683 * shell/ev-window.c: (ev_window_sidebar_visibility_changed_cb):
2685 Fix for Bug 308265: Sidebar dissappears coming out of
2688 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
2690 * shell/ev-application.c: (ev_application_open):
2691 * shell/ev-document-types.c: (ev_document_types_add_filters),
2692 (ev_document_types_add_filters_for_type):
2693 * shell/ev-document-types.h:
2694 * shell/ev-window.c: (ev_window_cmd_save_as):
2696 Suggest basename as template when saving, provide filters
2697 for save dialog. It's bug 308402
2699 2005-06-20 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2701 * pdf/ev-poppler.cc:
2702 * shell/ev-sidebar-links.c: (job_finished_callback):
2703 * shell/ev-view.c: (update_find_status_message):
2707 2005-06-19 Christian Persch <chpe@cvs.gnome.org>
2709 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
2710 (egg_recent_view_uimanager_set_list):
2712 Fix buglet in !show_numbers case.
2714 2005-06-19 Christian Persch <chpe@cvs.gnome.org>
2716 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
2717 (connect_proxy_cb), (egg_recent_view_uimanager_set_list):
2719 Use pango ellipsisation.
2721 * pdf/ev-poppler.cc:
2723 Fix refcount leak, from nsh.
2725 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2727 * cut-n-paste/recent-files/Makefile.am:
2728 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
2729 * cut-n-paste/recent-files/egg-recent-view-gtk.h:
2731 Removed EggRecentViewGtk
2733 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
2734 * cut-n-paste/recent-files/egg-recent-view-uimanager.h:
2735 * shell/ev-window.c: (ev_window_cmd_recent_file_activate),
2736 (ev_window_setup_recent):
2738 Use ViewUIManager instead of ViewGtk. Less leaks, more compatibility
2741 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2743 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
2744 (egg_recent_view_gtk_finalize):
2748 * cut-n-paste/toolbar-editor/Makefile.am:
2750 Fix location of cursor icon.
2752 * pdf/ev-poppler.cc:
2753 * shell/ev-page-action.c: (build_new_tree_cb), (match_selected_cb),
2754 (display_completion_text), (match_completion):
2755 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
2756 (selection_changed_callback), (create_loading_model),
2757 (print_section_cb), (links_page_num_func),
2758 (update_page_callback_foreach):
2759 * shell/ev-window.c: (ev_window_dispose):
2761 Small memory fixes. Links model now store objects instead
2762 of pointers to improve memory management.
2764 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2766 * shell/ev-window.c: (zoom_control_changed_cb):
2768 Fix update of zoom control (bug 308268).
2770 Sat Jun 18 22:46:42 2005 Jonathan Blandford <jrb@redhat.com>
2772 * shell/ev-properties.c (set_property): escape the text correctly.
2773 Handles non-UTF-8 properties and escaped properties. Also, sets
2774 the text to "<i>None</i>" if the property isn't set.
2776 * data/evince-properties.glade: Change the label to be ellipsized,
2777 and give it a minimum size.
2779 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2781 * lib/ev-file-helpers.c: (ev_file_helpers_shutdown):
2782 * shell/ev-sidebar-links.c: (create_loading_model):
2783 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose):
2784 * shell/ev-view.c: (ev_view_set_document):
2785 * shell/ev-window.c: (ev_window_dispose):
2787 Various small fixes, mostly memory leaks. Thanks to valgrind.
2789 2005-06-19 Martin Kretzschmar <martink@gnome.org>
2791 * ps/ps-document.c: remove the locale.h include again ;-). And
2792 kill the (bogus) setlocale/savelocale business.
2794 2005-06-19 Jaap A. Haitsma <jaap@haitsma.org>
2798 Include locale.h to fix build
2800 * shell/ev-sidebar.c:
2802 Remove unnecessary includes
2804 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2806 * dvi/dvi-document.c: (dvi_document_load):
2807 * dvi/mdvi-lib/dviread.c: (mdvi_init_context):
2810 Check for incorrect dvi files. Fix parsing dvi on AMD64
2811 platform. Thanks to tester@tester.ca (Olivier Crete).
2813 2005-06-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2815 * shell/ev-page-action.c: (match_selected_cb),
2816 (display_completion_text), (match_completion), (update_model):
2817 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
2818 (expand_open_links):
2819 * shell/ev-sidebar.c: (ev_sidebar_destroy),
2820 (ev_sidebar_menu_item_activate_cb), (ev_sidebar_add_page),
2821 (ev_sidebar_set_document):
2822 * shell/ev-window.c: (ev_window_xfer_job_cb),
2823 (sidebar_widget_model_set), (sidebar_page_main_widget_update_cb):
2825 Fixed lot's of memory leaks, for example, memory leak on reload,
2826 described in bug 307793.
2828 2005-06-18 Marco Pesenti Gritti <mpg@redhat.com>
2830 * pdf/ev-poppler.cc:
2831 * shell/ev-sidebar-thumbnails.c: (clear_range), (add_range),
2832 (update_visible_range), (adjustment_changed_cb),
2833 (ev_sidebar_thumbnails_fill_model),
2834 (ev_sidebar_thumbnails_refresh),
2835 (ev_sidebar_tree_selection_changed),
2836 (ev_sidebar_icon_selection_changed),
2837 (ev_sidebar_thumbnails_use_icon_view),
2838 (ev_sidebar_thumbnails_set_document):
2839 * shell/ev-sidebar-thumbnails.h:
2840 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
2841 (ev_window_cmd_edit_rotate_right), (ev_window_init):
2843 Refresh thumbnails when changing orientation. Not fully
2844 working yet becuase of a sidebar bug.
2846 Set page orientation to poppler page everywhere. This sucks
2847 really need to fix poppler.
2849 2005-06-18 Marco Pesenti Gritti <mpg@redhat.com>
2851 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
2852 (egg_recent_view_gtk_new_menu_item),
2853 (egg_recent_view_gtk_set_property),
2854 (egg_recent_view_gtk_get_property),
2855 (egg_recent_view_gtk_class_init), (egg_recent_view_gtk_init),
2856 (egg_recent_view_gtk_set_tooltip_func),
2857 (egg_recent_view_gtk_set_label_width),
2858 (egg_recent_view_gtk_get_label_width):
2859 * cut-n-paste/recent-files/egg-recent-view-gtk.h:
2861 Sync with libegg (ellipsize labels)
2863 2005-06-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2865 * data/evince-ui.xml:
2866 * shell/ev-window.c: (ev_window_cmd_go_forward),
2867 (ev_window_cmd_go_backward):
2869 Shift + PageUp moves 10 Pages. Fix for 306125
2871 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
2873 * pdf/ev-poppler.cc:
2875 Add a flag to check if orientation has been overriden
2877 2005-06-17 Martin Kretzschmar <martink@gnome.org>
2879 * ps/ps.c (psscan, psfree): read "Creator:" comment, free creator
2882 * ps/ps.h: add creator field to document.
2884 * ps/ps-document.c (ps_document_get_info): set format to PostScript,
2887 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
2889 * data/evince-properties.glade:
2890 * shell/ev-properties.c: (ev_properties_set_document):
2892 s/PDF Version/Format
2894 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
2896 * shell/ev-properties.c: (ev_properties_set_document):
2898 Remove unnecessary translations
2900 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
2902 * cut-n-paste/toolbar-editor/Makefile.am:
2904 Correct library name
2906 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
2909 * cut-n-paste/recent-files/egg-recent-model.c:
2910 (egg_recent_model_write_raw), (egg_recent_model_lock_file),
2911 (egg_recent_model_unlock_file):
2912 * cut-n-paste/recent-files/egg-recent-util.c:
2913 (egg_recent_util_get_unique_id):
2914 * cut-n-paste/recent-files/update-from-egg.sh:
2915 * cut-n-paste/toolbar-editor/Makefile.am:
2916 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
2917 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
2918 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
2919 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
2920 (egg_toolbars_model_get_type):
2921 * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
2923 Better makefile for toolbar editor and update everything
2926 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
2928 * shell/ev-window.c: (update_document_mode):
2930 Prefer presentation mode when the document
2933 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
2935 * data/evince-ui.xml:
2936 * shell/ev-window.c:
2938 Add control-equal for zooming
2940 2005-06-17 Theppitak Karoonboonyanan <thep@linux.thai.net>
2942 * configure.ac: Added 'th' (Thai) to ALL_LINGUAS.
2944 2005-06-16 Marco Pesenti Gritti <mpg@redhat.com>
2946 * backend/ev-document.c: (ev_document_get_orientation):
2947 * backend/ev-document.h:
2948 * pdf/ev-poppler.cc:
2949 * ps/ps-document.c: (ps_document_get_orientation),
2950 (ps_document_set_orientation), (ps_document_document_iface_init):
2952 Add a get_orientation api. Improve set_orientation.
2954 * data/evince-ui.xml:
2955 * shell/ev-view.c: (ev_view_set_orientation),
2956 (ev_view_rotate_right), (ev_view_rotate_left):
2958 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
2959 (ev_window_cmd_edit_rotate_right):
2961 Better ui for changing document orientation
2963 2005-06-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2965 * shell/ev-sidebar-links.c: (ev_sidebar_links_get_property),
2966 (ev_sidebar_links_class_init), (ev_sidebar_links_get_label):
2967 * shell/ev-sidebar-links.h:
2968 * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
2969 (ev_sidebar_page_iface_init):
2970 * shell/ev-sidebar-page.h:
2971 * shell/ev-sidebar-thumbnails.c:
2972 (ev_sidebar_thumbnails_get_property),
2973 (ev_sidebar_thumbnails_class_init),
2974 (ev_sidebar_thumbnails_set_document):
2975 * shell/ev-sidebar-thumbnails.h:
2976 * shell/ev-view.c: (ev_view_motion_notify_event):
2977 * shell/ev-window.c: (update_chrome_visibility),
2978 (ev_window_cmd_focus_page_selector),
2979 (ev_window_update_fullscreen_popup), (view_actions_focus_in_cb),
2980 (sidebar_page_main_widget_update_cb), (ev_window_init):
2982 Autoraise toolbar on GoToPage binding and fix bindings in
2983 EvSidebarThumbnails page.
2985 2005-06-15 Christian Persch <chpe@cvs.gnome.org>
2987 * shell/ev-properties.c: (update_progress_label):
2989 Hide the progress label when finished; bug #307697.
2991 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
2993 * pdf/ev-poppler.cc:
2995 Enable is_open for links, you will need poppler cvs
2997 * shell/ev-properties.c: (job_fonts_finished_cb):
2999 Get a lock on the document when filling the tree view
3001 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
3003 * backend/ev-document-links.h:
3004 * pdf/ev-poppler.cc:
3005 * shell/ev-sidebar-links.c: (create_loading_model),
3006 (expand_open_links), (job_finished_callback):
3008 Expand links when specified by the document.
3009 Depend on a poppler api (defined out for now)
3011 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
3013 * shell/ev-properties.c: (ev_properties_dispose),
3014 (ev_properties_class_init), (dialog_destroy_cb),
3015 (ev_properties_init), (job_fonts_finished_cb), (setup_fonts_view),
3016 (ev_properties_set_document), (ev_properties_new),
3017 (ev_properties_show):
3018 * shell/ev-properties.h:
3020 Make it an object, cleanup the code, api to show it as transient
3021 and to set the document.
3023 * shell/ev-window.c: (ev_window_setup_document),
3024 (ev_window_cmd_file_properties):
3026 Adapt to EvProperties changes, do not show multiple
3027 times, update it when document changes.
3029 2005-06-14 Marco Pesenti Gritti <mpg@redhat.com>
3032 * ps/ps-document.c: (ps_document_init), (get_page_orientation),
3033 (ps_document_set_orientation), (ps_document_document_iface_init):
3036 Implement orientation here too
3038 * shell/ev-properties.c: (ev_properties_new):
3039 * data/evince-properties.glade:
3041 Hide the fonts page for backends that doesnt
3044 2005-06-14 Marco Pesenti Gritti <mpg@redhat.com>
3046 * backend/ev-document.c: (ev_document_set_orientation):
3047 * backend/ev-document.h:
3048 * pdf/ev-poppler.cc:
3050 Add orientation api. Currently poppler api is not optimal,
3051 we need to set orientation every time we _get a page.
3052 I will try to fix that at some point.
3054 * data/evince-ui.xml:
3055 * shell/ev-window.c: (ev_window_cmd_edit_landscape),
3056 (ev_window_cmd_edit_portrait), (ev_window_cmd_edit_flip):
3058 Add orientation menu items
3060 * shell/ev-page-cache.c: (ev_page_cache_clear):
3061 * shell/ev-page-cache.h:
3063 Add api to clear the cache
3065 * shell/ev-view.c: (setup_caches), (clear_caches),
3066 (ev_view_set_document), (ev_view_zoom_out),
3067 (ev_view_set_orientation):
3070 Implement orientation changing
3072 2005-06-13 Marco Pesenti Gritti <mpg@redhat.com>
3074 * backend/ev-document-fonts.c: (ev_document_fonts_get_progress),
3075 (ev_document_fonts_scan), (ev_document_fonts_fill_model):
3076 * backend/ev-document-fonts.h:
3078 Separate scan and fill so that we can incrementally fill from
3079 the main thread. Add a progress api.
3081 * data/evince-properties.glade:
3082 * pdf/ev-poppler.cc:
3083 * shell/ev-jobs.c: (ev_job_fonts_new), (ev_job_fonts_run):
3085 * shell/ev-properties.c: (update_progress_label),
3086 (job_fonts_finished_cb), (setup_fonts_view):
3088 Incrementally feel the list and show the progress
3089 percentage in a label like acrobat does.
3091 You are going to need poppler cvs
3093 2005-06-11 Marco Pesenti Gritti <mpg@redhat.com>
3095 * backend/ev-document-fonts.c: (ev_document_fonts_fill_model):
3096 * backend/ev-document-fonts.h:
3097 * pdf/ev-poppler.cc:
3099 Make fonts model fill incrementally.
3101 * shell/ev-job-queue.c: (handle_job), (search_for_jobs_unlocked),
3102 (no_jobs_available_unlocked), (ev_job_queue_init), (find_queue),
3103 (ev_job_queue_remove_job):
3104 * shell/ev-jobs.c: (ev_job_fonts_init), (ev_job_fonts_class_init),
3105 (ev_job_fonts_new), (ev_job_fonts_run):
3108 New job for fonts scanning
3110 * shell/ev-properties.c: (job_fonts_finished_cb),
3111 (fill_fonts_treeview), (setup_fonts_view), (ev_properties_new):
3112 * shell/ev-properties.h:
3113 * shell/ev-window.c: (ev_window_cmd_file_properties):
3115 Incrementally feel the treeview using the new job. Show Loading...
3116 message until scanning is completed.
3118 Hopefully I didnt break the build without the poppler patch.
3120 2005-06-10 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3122 * shell/ev-application.c: (ev_application_open):
3123 * shell/ev-document-types.c: (ev_document_type_from_from_mime),
3124 (ev_document_type_get_type), (ev_document_type_lookup):
3125 * shell/ev-document-types.h:
3126 * shell/ev-job-xfer.c: (ev_job_xfer_dispose), (ev_job_xfer_run):
3127 * shell/ev-job-xfer.h:
3128 * shell/ev-window.c: (ev_window_clear_local_uri),
3129 (ev_window_load_job_cb), (ev_window_xfer_job_cb),
3130 (ev_window_open_uri), (ev_window_add_recent), (ev_window_dispose):
3131 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3133 Transfer remote documents to tmp directory to display them later.
3135 2005-06-10 Marco Pesenti Gritti <mpg@redhat.com>
3137 * backend/ev-document-info.h:
3138 * shell/ev-properties.c: (ev_properties_new):
3140 s/GTime*/GTime. Not sure why we was using a pointer
3143 Wed Jun 8 01:04:22 2005 Jonathan Blandford <jrb@redhat.com>
3145 * shell/ev-sidebar-thumbnails.c: Use a GtkIconView in certain
3146 situations. That situation is that you're using GTK+-HEAD with
3147 the patch at #306726 is applied, and you have a document with <
3148 1500 pages in it. It's not quite as uniformly nice as the
3149 TreeView, but should be better in the long run.
3151 I'm pretty sure I guarded against breaking compilation with
3152 HAVE_GTK_ICON_VIEW_GET_VISIBLE_RANGE gaurds, though it's possible
3155 * shell/ev-window.c (ev_window_init): We don't have our tree/list
3156 widget yet, so I commented that code out
3157 enable_view_actions_for_widget() for now. Need to figure this
3160 * shell/ev-page-action.c (match_selected_cb): emit the right
3161 signals. Our cool C-l completion now works.
3163 2005-06-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3165 * backend/Makefile.am:
3166 * backend/ev-document-fonts.c:
3167 * backend/ev-document-links.c:
3168 * backend/ev-document.c: (ev_document_load):
3169 * backend/ev-document.h:
3170 * backend/ev-job-queue.c:
3171 * backend/ev-job-queue.h:
3172 * backend/ev-jobs.c:
3173 * backend/ev-jobs.h:
3174 * backend/ev-page-cache.c:
3175 * backend/ev-page-cache.h:
3177 EvPageCache and EvJobs are moved to shell.
3179 * lib/ev-file-helpers.c: (ev_file_helpers_shutdown),
3181 * lib/ev-file-helpers.h:
3183 New helper to work with temporary files
3185 * shell/Makefile.am:
3186 * shell/ev-application.c: (ev_application_open):
3187 * shell/ev-application.h:
3188 * shell/ev-job-queue.c: (remove_job_from_queue_locked),
3189 (remove_job_from_async_queue), (add_job_to_async_queue),
3190 (add_job_to_queue_locked), (notify_finished), (job_finished_cb),
3191 (handle_job), (search_for_jobs_unlocked),
3192 (no_jobs_available_unlocked), (ev_render_thread),
3193 (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
3194 (ev_job_queue_add_job), (move_job_async), (move_job),
3195 (ev_job_queue_update_job), (ev_job_queue_remove_job):
3196 * shell/ev-job-queue.h:
3197 * shell/ev-job-xfer.c: (ev_job_xfer_init), (ev_job_xfer_dispose),
3198 (ev_job_xfer_class_init), (ev_job_xfer_new), (ev_job_xfer_run):
3199 * shell/ev-job-xfer.h:
3200 * shell/ev-jobs.c: (ev_job_init), (ev_job_dispose),
3201 (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
3202 (ev_job_links_class_init), (ev_job_render_init),
3203 (ev_job_render_dispose), (ev_job_render_class_init),
3204 (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
3205 (ev_job_thumbnail_class_init), (ev_job_load_init),
3206 (ev_job_load_dispose), (ev_job_load_class_init), (ev_job_finished),
3207 (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
3208 (render_finished_cb), (ev_job_render_run), (ev_job_thumbnail_new),
3209 (ev_job_thumbnail_run), (ev_job_load_new), (ev_job_load_run):
3211 * shell/ev-page-action.c: (ev_page_action_set_document):
3212 * shell/ev-page-cache.c: (ev_page_cache_init),
3213 (ev_page_cache_class_init), (ev_page_cache_finalize),
3214 (ev_page_cache_new), (ev_page_cache_get_n_pages),
3215 (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
3216 (ev_page_cache_set_page_label), (ev_page_cache_set_link),
3217 (ev_page_cache_get_title), (ev_page_cache_get_size),
3218 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
3219 (ev_page_cache_get_height_to_page),
3220 (ev_page_cache_get_max_label_chars),
3221 (ev_page_cache_get_page_label),
3222 (ev_page_cache_has_nonnumeric_page_labels),
3223 (ev_page_cache_get_info), (ev_page_cache_next_page),
3224 (ev_page_cache_prev_page), (ev_page_cache_get):
3225 * shell/ev-page-cache.h:
3226 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_update_range),
3227 (ev_pixbuf_cache_clear_job_sizes),
3228 (ev_pixbuf_cache_add_jobs_if_needed),
3229 (ev_pixbuf_cache_set_page_range):
3230 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings):
3231 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document):
3232 * shell/ev-sidebar-thumbnails.c:
3233 (ev_sidebar_tree_selection_changed),
3234 (ev_sidebar_thumbnails_set_document):
3235 * shell/ev-statusbar.c: (ev_statusbar_destroy),
3236 (ev_statusbar_class_init), (ev_statusbar_init), (ev_statusbar_new),
3237 (ev_statusbar_get_context_id), (ev_statusbar_push),
3238 (ev_statusbar_pop), (ev_statusbar_set_maximized),
3239 (ev_statusbar_pulse), (ev_statusbar_show_progress),
3240 (ev_statusbar_set_progress):
3241 * shell/ev-statusbar.h:
3242 * shell/ev-view.c: (ev_view_set_document), (ev_view_find_next),
3243 (ev_view_find_previous):
3244 * shell/ev-window.c: (ev_window_is_empty),
3245 (ev_window_setup_document), (password_dialog_response),
3246 (ev_window_clear_jobs), (ev_window_load_job_cb),
3247 (ev_window_xfer_job_cb), (ev_window_open_uri),
3248 (ev_window_open_uri_list), (ev_window_cmd_recent_file_activate),
3249 (ev_window_print), (ev_window_print_range),
3250 (ev_window_state_event), (ev_window_cmd_view_reload),
3251 (menu_item_select_cb), (menu_item_deselect_cb),
3252 (view_status_changed_cb), (ev_window_dispose),
3253 (drag_data_received_cb), (ev_window_init):
3254 * shell/ev-window.h:
3255 * shell/main.c: (load_files):
3257 New statusbar to show progress on idle. Two new jobs -
3258 xfer job and load job to load document in background. And update
3259 of page_cache clients to new location of code.
3261 2005-06-08 Carlos Garcia Campos <carlosgc@gnome.org>
3263 * shell/ev-application.c, shell/ev-window.[ch]: Allow multiple
3264 selection in open dialog. It also remembers the last visited directory
3265 in the current session.
3267 2005-06-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3269 * shell/ev-properties.c: (ev_properties_new):
3270 * shell/ev-properties.h:
3271 * shell/ev-window.c: (ev_window_cmd_file_properties):
3273 Get document info from page cache instead of document itself.
3274 This should fix crash related to race conditions described in
3277 2005-06-07 Marco Pesenti Gritti <mpg@redhat.com>
3279 * ps/ps-document.c: (ps_document_init),
3280 (send_ps), (get_page_box), (output), (catchPipe), (input),
3281 (stop_interpreter), (file_length), (file_readable),
3282 (check_filecompressedb), (ps_document_enable_interpreter),
3283 (document_load), (ps_async_renderer_render_pixbuf):
3286 Big cleanup of the ps code
3288 2005-06-07 Marco Pesenti Gritti <mpg@redhat.com>
3290 * backend/Makefile.am:
3291 * backend/ev-async-renderer.c: (ev_async_renderer_get_type),
3292 (ev_async_renderer_class_init), (ev_async_renderer_render_pixbuf):
3293 * backend/ev-async-renderer.h:
3295 Add an async renderer interface (method + callback) which
3296 is useful for backends like ps.
3298 * backend/ev-job-queue.c: (remove_job_from_async_queue),
3299 (add_job_to_async_queue), (job_finished_cb), (handle_job),
3300 (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
3301 (ev_job_queue_add_job), (move_job_async), (move_job),
3302 (ev_job_queue_update_job), (ev_job_queue_remove_job):
3304 Add queues for async renderer, these are executed on the
3307 * backend/ev-jobs.c: (ev_job_render_new), (render_finished_cb),
3308 (ev_job_render_run):
3309 * backend/ev-jobs.h:
3311 If the backend support async renderer interface use it.
3313 * ps/ps-document.c: (ps_document_init), (push_pixbuf),
3314 (setup_pixmap), (ps_document_get_type),
3315 (ps_async_renderer_render_pixbuf),
3316 (ps_document_document_iface_init), (ps_async_renderer_iface_init):
3318 Implement async renderer interface.
3320 2005-06-07 Nickolay V. Shmyrev <<nshmyrev@yandex.ru>>
3322 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose):
3324 Cleanup links job on exit.
3326 2005-06-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3328 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
3329 (drag_data_get_cb), (drag_data_received_cb):
3330 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
3331 (drag_data_get_cb), (parse_item_list),
3332 (egg_toolbar_editor_load_actions):
3333 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
3334 (egg_toolbars_model_to_xml), (egg_toolbars_model_save),
3335 (parse_item_list), (parse_toolbars):
3336 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
3337 (dvi_pixbuf_put_pixel):
3339 Fix gcc 4.0 warnings
3341 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
3343 * ps/ps-document.c: (start_interpreter):
3345 Fix warning when loading ps
3347 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
3349 * ps/ps-document.c: (output):
3351 Fix crash when priting gs error messages.
3353 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
3355 * backend/ev-page-cache.c: (_ev_page_cache_new):
3356 * backend/ev-page-cache.h:
3358 Use a const to return title so that we dont double
3359 free it. Small cleanup and fix a leak.
3361 * shell/ev-window.c: (update_window_title):
3363 strdup value from get_title.
3365 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
3367 * shell/ev-sidebar-links.c: (job_finished_callback),
3368 (ev_sidebar_links_set_document):
3370 Cleanup the old job when changing document
3372 2005-06-05 Nickolay V. Shmyrev <<nshmyrev@yandex.ru>>
3374 * shell/ev-stock-icons.c:
3375 * shell/ev-stock-icons.h:
3376 * shell/ev-window.c:
3378 Add stock icons for actions that can appear in toolbar. Fix for
3381 2005-06-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3383 * backend/ev-page-cache.c: (ev_page_cache_finalize),
3384 (_ev_page_cache_new), (ev_page_cache_get_max_width),
3385 (ev_page_cache_get_max_height), (ev_page_cache_get_height_to_page):
3386 * backend/ev-page-cache.h:
3387 * shell/ev-view.c: (scroll_to_current_page),
3388 (view_update_range_and_current_page), (get_page_y_offset),
3389 (get_page_extents), (ev_view_size_request_continuous_dual_page),
3390 (ev_view_size_request_continuous),
3391 (ev_view_zoom_for_size_continuous_and_dual_page),
3392 (ev_view_zoom_for_size_continuous):
3394 More compact EvView layout in document with pages of different size.
3396 Sat Jun 4 19:20:57 2005 Jonathan Blandford <jrb@redhat.com>
3398 * shell/ev-window.c (ev_window_cmd_file_properties): fix
3401 2005-06-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3403 * shell/ev-view.c: (view_set_adjustment_values):
3404 * shell/ev-window.c: (ev_window_cmd_file_properties):
3406 A bit different fix for rounding problem but it has no
3407 problems on startup. Make properties window transient to parent.
3409 2005-06-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3411 * pdf/ev-poppler.cc:
3413 More commenting of font stuff.
3415 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
3417 * pdf/ev-poppler.cc:
3419 Comment out some more fonts stuff. Should really
3420 work without the poppler patch now.
3422 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
3424 * pdf/ev-poppler.cc:
3428 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
3430 * data/evince-properties.glade:
3431 * pdf/ev-poppler.cc:
3432 * shell/ev-properties.c: (setup_fonts_view):
3434 Set the column title. Show the dialog only
3435 once everything is setup.
3436 Getting font info can be very slow... will
3437 prolly need to make this threaded too.
3439 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
3441 * backend/Makefile.am:
3442 * backend/ev-document-fonts.c: (ev_document_fonts_get_type),
3443 (ev_document_fonts_get_fonts_model):
3444 * backend/ev-document-fonts.h:
3445 * data/evince-properties.glade:
3446 * pdf/ev-poppler.cc:
3447 * shell/ev-properties.c: (setup_fonts_view), (ev_properties_new):
3448 * shell/ev-properties.h:
3449 * shell/ev-window.c: (ev_window_cmd_file_properties):
3451 Implement fonts list. Defined out for now, since it depends
3452 on a not yet committed poppler patch.
3454 Fri Jun 3 21:07:57 2005 Jonathan Blandford <jrb@redhat.com>
3456 * shell/ev-view.c (get_page_extents): other_page isn't necessarily
3459 * shell/ev-window.c: Make sure we add the timeout when we get a
3462 * shell/ev-view.c (view_set_adjustment_values): Add 0.5 to
3463 adjustment->value before calculating the zoom factor to average
3464 out all of our rounding errors. The page no longer 'drifts' when
3467 2005-06-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3469 * data/evince-properties.glade:
3470 * shell/ev-properties.c: (ev_properties_format_date),
3473 Labels don't expand when the dialogue is resized.
3474 strftime result needs to be converted to UTF-8. Thanks
3475 to Christian Persch <chpe@gnome.org>.
3477 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
3479 * data/evince-properties.glade:
3483 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
3485 * backend/ev-document-info.h:
3486 * backend/ev-document.c: (ev_document_info_free):
3487 * data/evince-properties.glade:
3488 * pdf/ev-poppler.cc:
3489 * ps/ps-document.c: (ps_document_get_info):
3490 * shell/ev-properties.c: (ev_properties_format_date),
3491 (set_property), (ev_properties_new):
3492 * shell/ev-properties.h:
3493 * shell/ev-window.c: (ev_window_cmd_file_properties):
3495 Rework properties code to take only EvPropertyInfo
3496 in the constructor so that it can be useful for
3497 nautilus plugin too.
3499 Deal with backends that doesnt support some properties.
3500 Make set property code generic.
3502 2005-06-04 Christian Persch <chpe@gnome.org>
3504 * data/evince-properties.glade:
3506 fix spacings, make resizeable, and make data labels
3507 selectable + ellipsised
3509 2005-06-03 Marco Pesenti Gritti <mpg@redhat.com>
3511 * backend/ev-document-info.h:
3513 * data/evince-ui.xml:
3514 * pdf/ev-poppler.cc:
3515 * shell/Makefile.am:
3516 * shell/ev-window.c: (update_action_sensitivity),
3517 (ev_window_cmd_file_properties):
3519 Initial go at file properties. Patch by
3520 Emil Soleyman-Zomalan <emil@soleyman.com>.
3521 Needs love see #169583
3523 2005-06-02 Marco Pesenti Gritti <mpg@redhat.com>
3525 * ps/ps-document.c: (output):
3526 * ps/ps.c: (psscan):
3528 Try to render even if psscan fails.
3530 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
3532 * ps/ps.c: (psscan), (pscopydoc):
3534 Port buffered reading code from gv
3536 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
3538 * ps/ps-document.c: (interpreter_message), (output):
3540 Do not fail on interpreter messages
3542 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
3544 * backend/ev-document-misc.c:
3545 (ev_document_misc_get_thumbnail_frame):
3547 Pages can be 0 x 0, dont assert on this case
3549 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
3551 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
3552 (ev_sidebar_links_class_init), (ev_sidebar_links_set_document):
3554 Correctly manage our reference on document. Finally the reload
3555 huge leak is gone...
3557 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
3559 * ps/ps-document.c: (ps_document_dispose):
3561 Forgot to chain it to the parent. Thanks chpe.
3563 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
3565 * ps/ps-document.c: (ps_document_dispose),
3566 (ps_document_class_init), (stop_interpreter), (document_load):
3568 Cleanup dispose a bit. Dont leak the whole pixmap.
3570 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
3572 * pdf/ev-poppler.cc:
3574 Release the poppler document on dispose
3576 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
3578 * shell/ev-view.c: (ev_view_set_document):
3580 Release ref on the pixbuf cache when changing
3583 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
3585 * ps/ps-document.c: (ps_document_get_info):
3589 2005-05-31 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
3591 * backend/ev-page-cache.c: (ev_page_cache_init),
3592 (_ev_page_cache_new), (ev_page_cache_get_max_label_chars):
3593 * backend/ev-page-cache.h:
3594 * shell/ev-page-action.c: (page_changed_cb):
3596 Set page action entry width depending on labels width. Fix
3599 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
3601 * backend/ev-link.c: (ev_link_class_init):
3603 Allow -1 as page value (error)
3605 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
3607 * shell/ev-sidebar-thumbnails.c:
3608 (ev_sidebar_thumbnails_set_document):
3609 * shell/ev-view.c: (scroll_to_current_page),
3610 (view_set_adjustment_values), (ev_view_set_scroll_adjustments),
3611 (page_changed_cb), (on_adjustment_value_changed),
3612 (ev_view_set_document):
3614 Slightly modified patch by Nickolay V. Shmyrev <nshmyrev@yandex.ru>.
3617 2005-05-29 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3620 * djvu/djvu-document.c: (djvu_document_get_page_size):
3622 Require djvulibre CVS. Now djvu loading is much faster. Fix for
3625 Sat May 28 07:38:03 2005 Jonathan Blandford <jrb@redhat.com>
3627 * shell/ev-view.c (draw_one_page): modify the expose handling to
3630 * shell/ev-window.c (update_action_sensitivity): Respect
3631 permissions field. Kowtow to the man.
3633 * pdf/ev-poppler.cc: Get the permissions field.
3635 * tiff/*c: Make a tiny bit more robust.
3637 2005-05-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3639 * djvu/djvu-document.c:
3641 Pop messages from djvu context message queue.
3643 2005-05-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3645 * configure.ac, Makefile.am, shell/Makefile.am:
3646 * tiff/Makefile.am, shell/ev-document-types.c:
3648 Cleanup tiff configure checks. Fix for bug 305218.
3650 2005-05-24 Maxim V. Dziumanenko <mvd@mylinux.ua>
3652 * configure.ac: Added "uk" to ALL_LINGUAS.
3654 2005-05-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3656 * cut-n-paste/zoom-control/ephy-zoom.c:
3657 (ephy_zoom_get_changed_zoom_level):
3658 * cut-n-paste/zoom-control/ephy-zoom.h:
3659 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_set_property),
3660 (ev_view_get_property), (ev_view_class_init), (ev_view_set_zoom):
3661 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
3662 (ev_window_cmd_view_zoom_out), (ev_window_zoom_changed_cb),
3663 (zoom_control_changed_cb), (ev_window_init):
3665 Fix minor points related to moving best fit up. Introduce
3666 "zoom" property and make zoom control change it's value on
3667 notify::zoom signals. Fix for 305080.
3669 2005-05-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3671 * data/evince-ui.xml:
3672 * shell/ev-window.c: (set_view_actions_sensitivity):
3674 Use + and - as accels for zoom in and zoom out. Fix for 305001.
3676 2005-05-22 Marco Pesenti Gritti <mpg@redhat.com>
3680 Depends on poppler 0.3.2
3682 2005-05-22 Marco Pesenti Gritti <mpg@redhat.com>
3684 * cut-n-paste/recent-files/egg-recent-item.c:
3685 (egg_recent_item_get_short_name):
3686 * cut-n-paste/toolbar-editor/Makefile.am:
3687 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
3688 (new_pixbuf_from_widget):
3689 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
3690 * cut-n-paste/toolbar-editor/egg-marshal.c:
3691 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
3692 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
3696 Sat May 21 23:18:30 2005 Jonathan Blandford <jrb@redhat.com>
3698 * tiff/tiff-document.c: Rough TIFF backend.
3700 2005-05-21 Marco Pesenti Gritti <mpg@redhat.com>
3704 * cut-n-paste/toolbar-editor/Makefile.am:
3708 2005-05-21 Marco Pesenti Gritti <mpg@redhat.com>
3710 * shell/ev-view.c: (jump_to_find_result), (ev_view_can_find_next),
3711 (ev_view_find_next), (ev_view_find_previous):
3713 Remove the locks around get_n_results
3715 2005-05-21 Juerg Billeter <j@bitron.ch>
3717 * pdf/ev-poppler.c: (pdf_document_ps_exporter_begin):
3719 Pass correct number of pages to poppler.
3721 2005-05-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3725 * data/evince.desktop.in:
3726 * data/evince.desktop.in.in:
3729 Add conditionally dvi and djvu to desktop types. Fix for 304658.
3731 Sat May 21 00:21:30 2005 Jonathan Blandford <jrb@redhat.com>
3733 * shell/ev-view.c: (view_update_adjustments),
3734 (view_set_adjustment_values): cast adjustmen->value to (int)
3735 before using it. Otherwise, we get off by a pixel in some
3738 (draw_one_page): Draw the border on expose.
3740 Fri May 20 22:05:25 2005 Jonathan Blandford <jrb@redhat.com>
3742 * *shell/ev-view.c: Patch from Nickolay V. Shmyrev to reset the
3743 adjustment when the mode changes, #304923
3745 Fri May 20 02:00:03 2005 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3747 * shell/ev-view.c: Use gdk_widget_queue_draw to remove
3748 flickering on resize but still use gdk_window_scroll on
3751 Fri May 20 01:46:57 2005 Jonathan Blandford <jrb@redhat.com>
3753 * shell/ev-view.c: Patch from Nickolay Shmyrev to fix the -p
3756 Fri May 20 01:27:01 2005 Jonathan Blandford <jrb@redhat.com>
3758 * shell/ev-view.c: Patch from Nickolay Shmyrev to to scroll to
3759 second page on page_changed if possible, #304669
3761 Fri May 20 01:07:15 2005 Jonathan Blandford <jrb@redhat.com>
3763 * shell/ev-view.c (view_update_adjustments): Use gdk_window_scroll
3764 instead of gtk_widget_queue_draw. Massive speedups in scrolling.
3766 Fri May 20 01:05:10 2005 Jonathan Blandford <jrb@redhat.com>
3769 * shell/ev-view.c:(ev_view_size_allocate), (ev_view_class_init),
3770 (zoom_for_size_fit_width), (zoom_for_size_best_fit),
3771 (ev_view_zoom_for_size_presentation),
3772 (ev_view_zoom_for_size_continuous_and_dual_page),
3773 (ev_view_zoom_for_size_continuous),
3774 (ev_view_zoom_for_size_dual_page),
3775 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size):
3777 * shell/ev-window.c: (update_view_size),
3778 (ev_window_sizing_mode_changed_cb):
3780 Patch from Nickolay Shmyrev <nshmyrev@yandex.ru> to handle
3781 the scrollbars. It's not 100% right, but it's much closer. Kills
3782 an infinite loop, #304769
3785 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
3787 * data/evince-ui.xml:
3788 * shell/ev-view.c: (ev_view_scroll_view), (ev_view_class_init):
3789 * shell/ev-window.c: (set_view_actions_sensitivity):
3791 Make PgUp/Down behave like Space
3793 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
3795 * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
3796 * backend/ev-ps-exporter.h:
3797 * pdf/ev-poppler.cc:
3798 * ps/ps-document.c: (ps_document_ps_export_begin):
3799 * shell/ev-print-job.c: (idle_print_handler):
3801 Adapt to new poppler api
3803 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
3805 * cut-n-paste/zoom-control/ephy-zoom-control.c:
3806 (ephy_zoom_control_init):
3808 Translate zoom levels
3810 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
3812 * cut-n-paste/zoom-control/ephy-zoom.c:
3813 (ephy_zoom_get_zoom_level_index):
3815 Fix current zoom -> zoom control match
3817 2005-05-18 James Bowes <bowes@cs.dal.ca>
3819 * shell/ev-window.c: (ev_window_init): Give focus to the ev-view,
3820 rather than the scrolled_window that it's in. Fixes bug #304655.
3822 Tue May 17 22:54:17 2005 Jonathan Blandford <jrb@redhat.com>
3824 * shell/ev-view.c: (view_update_adjustments),
3825 (view_set_adjustment_values), (view_update_range_and_current_page),
3826 (view_scroll_to_page), (set_scroll_adjustment),
3827 (ev_view_set_scroll_adjustments), (add_scroll_binding_keypad),
3828 (ev_view_scroll), (ev_view_scroll_view),
3829 (ensure_rectangle_is_visible), (find_page_at_location),
3830 (get_link_at_location), (go_to_link), (status_message_from_link),
3831 (ev_view_size_request_continuous_dual_page),
3832 (ev_view_size_request), (ev_view_size_allocate), (ev_view_realize),
3833 (ev_view_unrealize), (ev_view_expose_event),
3834 (ev_view_button_press_event), (ev_view_motion_notify_event),
3835 (ev_view_button_release_event), (ev_gdk_color_to_rgb),
3836 (draw_rubberband), (highlight_find_results), (draw_one_page),
3837 (ev_view_finalize), (ev_view_destroy), (ev_view_class_init),
3838 (ev_view_init), (find_changed_cb), (page_changed_cb),
3839 (on_adjustment_value_changed), (ev_view_new),
3840 (ev_view_set_document), (ev_view_set_zoom),
3841 (ev_view_set_continuous), (ev_view_set_dual_page),
3842 (ev_view_set_presentation), (ev_view_zoom_in), (ev_view_zoom_out),
3843 (zoom_for_size_fit_width), (zoom_for_size_best_fit),
3844 (ev_view_zoom_for_size_presentation),
3845 (ev_view_zoom_for_size_continuous_dual_page),
3846 (ev_view_zoom_for_size_continuous),
3847 (ev_view_zoom_for_size_dual_page),
3848 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
3849 (ev_view_get_status), (ev_view_set_status),
3850 (update_find_status_message), (ev_view_get_find_status),
3851 (ev_view_set_find_status), (jump_to_find_result),
3852 (jump_to_find_page), (compute_selections), (clear_selection),
3853 (ev_view_select_all), (get_selected_text), (ev_view_copy),
3854 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
3855 (ev_view_update_primary_selection),
3856 (ev_view_create_invisible_cursor), (ev_view_set_cursor):
3858 * shell/ev-window.c: (ev_window_open_page_label),
3859 (ev_window_cmd_view_reload), (ev_window_sizing_mode_changed_cb),
3861 * shell/ev-window.h:
3862 * shell/main.c: (load_files):
3864 Massive code clean up from Nickolay Shmyrev. Keep page offset
3865 when resizing. Remove the bin_window(). Also, patch from James
3866 Bowes to fix command line page, #300641
3868 2005-05-17 Marco Pesenti Gritti <mpg@redhat.com>
3870 * data/evince-ui.xml:
3873 * shell/ev-window.c: (update_action_sensitivity):
3875 Get rid of View->Normal Size, it's just confusing
3877 Tue May 17 00:51:21 2005 Jonathan Blandford <jrb@redhat.com>
3879 * backend/ev-document-info.h:
3880 * backend/ev-document.c: (ev_document_info_free): Free the
3883 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
3884 (clear_range), (add_range), (update_visible_range),
3885 (adjustment_changed_cb), (ev_sidebar_thumbnails_init),
3886 (ev_sidebar_thumbnails_set_document):
3887 * shell/ev-window.c: (ev_window_setup_document): Only render the
3888 visible thumbnails. It takes an instant to render, but it uses
3891 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
3893 * shell/ev-sidebar-links.c: (popup_menu_cb):
3897 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
3900 * shell/ev-sidebar-links.c: (build_popup_menu), (popup_menu_cb),
3901 (button_press_cb), (ev_sidebar_links_construct):
3903 Show the popup menu also on keybindings
3905 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
3907 * shell/ev-window.c: (ev_window_print), (ev_window_print_range):
3908 * shell/ev-window.h:
3910 Expose api to print a range (with dialog). Make private _print use
3913 * shell/ev-sidebar-links.c: (print_section_cb), (button_press_cb),
3914 (ev_sidebar_links_construct):
3916 Show a print context menu on linkx, it prints the selected
3919 2005-05-15 Carlos Garcia Campos <carlosgc@gnome.org>
3921 * shell/ev-sidebar.c: make the drop down menu as width as the toggle
3924 2005-05-12 Marco Pesenti Gritti <mpg@redhat.com>
3930 * shell/ev-window.c: (build_comments_string),
3931 (ev_window_cmd_help_about):
3933 Show poppler version/backend and authors
3935 2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
3937 * cut-n-paste/zoom-control/ephy-zoom.c:
3938 (ephy_zoom_get_zoom_level_index):
3939 * cut-n-paste/zoom-control/ephy-zoom.h:
3941 Move the best fit items at the top of the list
3943 2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
3945 * shell/ev-marshal.list:
3946 * shell/ev-page-action.c: (ev_page_action_widget_class_init),
3947 (activate_cb), (match_selected_cb), (activate_link_cb),
3948 (connect_proxy), (ev_page_action_class_init):
3949 * shell/ev-page-action.h:
3951 Use signals to notify action activation. Hopefully
3952 I did not break completion since I cant test...
3954 * shell/ev-window.c: (activate_link_cb), (activate_label_cb),
3955 (register_custom_actions):
3957 Connect to page selector actions and also grab focus on
3958 the view when activated.
3960 Wed May 11 01:18:29 2005 Jonathan Blandford <jrb@redhat.com>
3962 * pdf/ev-poppler.cc:
3963 * backend/ev-page-cache.c: make page size calculation consistent
3964 and set it to (int)( width * scale + 0.5). This makes the weird
3965 line going through the middle of the page go away.
3967 * shell/ev-view.c: move painting the background page after
3968 checking the expose area covers us.
3970 2005-05-11 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3972 * data/evince-password.glade:
3974 Mark labels as not translatable. Fix for bug 302842.
3976 2005-05-10 Francisco Javier F. Serrador <serrador@cvs.gnome.org>
3978 * configure.ac: Added "es" to ALL_LINGUAS.
3980 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3982 * data/evince-toolbar.xml:
3983 * shell/ev-window.c: (update_action_sensitivity),
3984 (ev_window_setup_document), (ev_window_set_page_mode),
3987 Remove some leftover code from jrb first continous
3988 attempt. Use the new actions, we still need good icons
3991 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3993 * shell/ev-page-action.c: (update_pages_label), (connect_proxy):
3995 Update label when connecting proxy. Fix a warning with NULL
3998 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
4000 * data/evince-ui.xml:
4001 * shell/ev-page-action.c: (ev_page_action_grab_focus):
4002 * shell/ev-page-action.h:
4003 * shell/ev-window.c: (ev_window_cmd_focus_page_selector):
4005 Add mnemonic for edit toolbar.
4006 ctrl+l focus the page entry.
4008 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
4011 * shell/ev-window.c: (ev_window_cmd_edit_toolbar_cb),
4013 * shell/main.c: (main):
4015 Put the toolbar xml in evince own dot dir
4017 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
4019 * shell/ev-window.c: (ev_window_init):
4021 Make the toolbar not removable
4023 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
4025 * data/evince-ui.xml:
4026 * shell/ev-sidebar-links.c: (ev_sidebar_links_get_treeview):
4027 * shell/ev-sidebar-links.h:
4028 * shell/ev-sidebar-thumbnails.c:
4029 (ev_sidebar_thumbnails_get_treeview):
4030 * shell/ev-sidebar-thumbnails.h:
4031 * shell/ev-view.c: (ev_view_scroll), (ev_view_scroll_view),
4032 (ev_view_class_init):
4034 * shell/ev-window.c: (update_action_sensitivity),
4035 (ev_window_cmd_scroll_forward), (ev_window_cmd_scroll_backward),
4036 (set_view_actions_sensitivity), (view_actions_focus_in_cb),
4037 (view_actions_focus_out_cb), (enable_view_actions_for_widget),
4040 This is evil... Make space/backspace global accelerators but
4041 enable them only for some widgets (sidebars and view).
4042 I dont like it, but I dont know a better way... :/
4044 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
4046 * shell/ev-page-action.c: (ev_page_action_widget_set_page_cache),
4047 (ev_page_action_widget_finalize),
4048 (ev_page_action_widget_class_init), (update_page_cache):
4050 Keep a weak reference on proxy->page_cache so that we
4051 dont try to disconnect the signal if the object is already
4052 gone. Maybe there is a better way to cleanup reference handling
4053 in page action though...
4055 2005-05-10 Juerg Billeter <j@bitron.ch>
4057 * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
4058 * backend/ev-ps-exporter.h:
4059 * pdf/ev-poppler.cc: (pdf_document_ps_exporter_begin):
4060 * ps/ps-document.c: (ps_document_ps_export_begin):
4062 Change api to pass print range to ps_exporter_begin. The pdf backend
4063 requires this information.
4065 * shell/ev-print-job.c: (idle_print_handler):
4069 2005-05-10 Juerg Billeter <j@bitron.ch>
4071 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
4072 (idle_print_handler)
4073 * shell/ev-window.c: (ev_window_print):
4075 Support printing page range, based on patch by Amaury Jacquot
4077 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
4079 * data/evince-toolbar.xml:
4081 Add zoom control to available items
4083 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
4085 * shell/ev-window.c: (update_action_sensitivity):
4087 Set slash action insensitive when appropriate
4089 2005-05-10 Christian Persch <chpe@gnome.org>
4091 * cut-n-paste/zoom-control/ephy-zoom-action.c: (create_menu_item):
4093 Fix warning on the overflow menu
4095 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
4097 * shell/ev-window.c: (sanity_check_uri), (ev_window_open):
4099 Check for uri correctness/existence
4101 2005-05-09 Juerg Billeter <j@bitron.ch>
4103 * shell/ev-window.c: (using_postscript_printer):
4105 LPD printers use postscript, too
4107 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
4109 * shell/ev-window.c: (register_custom_actions):
4111 The zoom one is actually sort of useful,
4114 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
4116 * shell/ev-window.c: (register_custom_actions):
4118 Hide page/zoom controls from overflow, they
4121 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
4123 * cut-n-paste/update-from-egg.sh:
4125 Share it between all cut-n-paste subdirs
4127 * cut-n-paste/recent-files/Makefile.am:
4129 Fix to use "global" update-from-egg.sh
4131 * cut-n-paste/recent-files/egg-recent-model.c:
4132 (egg_recent_model_changed_timeout), (egg_recent_model_finalize):
4133 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
4134 (egg_recent_view_gtk_clear), (egg_recent_view_gtk_set_list),
4135 (egg_recent_view_gtk_finalize), (egg_recent_view_gtk_set_menu):
4139 * cut-n-paste/toolbar-editor/Makefile.am:
4141 Fix to use "global" update-from-egg.sh
4143 * cut-n-paste/toolbar-editor/eggmarshalers.list:
4147 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
4150 * cut-n-paste/Makefile.am:
4151 * cut-n-paste/recent-files/Makefile.am:
4152 * cut-n-paste/toolbar-editor/.cvsignore:
4153 * cut-n-paste/toolbar-editor/Makefile.am:
4154 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
4155 (egg_editable_toolbar_get_type), (get_toolbar_position),
4156 (get_n_toolbars), (get_dock_nth), (get_toolbar_nth), (find_action),
4157 (drag_data_delete_cb), (drag_begin_cb), (drag_end_cb),
4158 (drag_data_get_cb), (set_drag_cursor), (unset_drag_cursor),
4159 (set_item_drag_source), (create_item_from_action), (create_item),
4160 (data_is_separator), (drag_data_received_cb), (remove_toolbar_cb),
4161 (popup_toolbar_context_menu_cb), (free_dragged_item),
4162 (toolbar_drag_drop_cb), (toolbar_drag_motion_cb),
4163 (toolbar_drag_leave_cb), (create_dock), (set_fixed_style),
4164 (unset_fixed_style), (toolbar_changed_cb), (unparent_fixed),
4165 (update_fixed), (toolbar_added_cb), (toolbar_removed_cb),
4166 (item_added_cb), (item_removed_cb),
4167 (egg_editable_toolbar_construct),
4168 (egg_editable_toolbar_disconnect_model),
4169 (egg_editable_toolbar_deconstruct),
4170 (egg_editable_toolbar_set_model),
4171 (egg_editable_toolbar_set_ui_manager),
4172 (egg_editable_toolbar_set_property),
4173 (egg_editable_toolbar_get_property),
4174 (egg_editable_toolbar_class_init), (egg_editable_toolbar_init),
4175 (egg_editable_toolbar_finalize), (egg_editable_toolbar_new),
4176 (egg_editable_toolbar_new_with_model),
4177 (egg_editable_toolbar_get_edit_mode),
4178 (egg_editable_toolbar_set_edit_mode), (egg_editable_toolbar_show),
4179 (egg_editable_toolbar_hide), (egg_editable_toolbar_set_fixed),
4180 (egg_editable_toolbar_set_drag_dest), (fake_expose_widget),
4181 (new_pixbuf_from_widget), (new_separator_pixbuf),
4182 (update_separator_image), (style_set_cb),
4183 (_egg_editable_toolbar_new_separator_image),
4184 (egg_editable_toolbar_get_model):
4185 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
4186 * cut-n-paste/toolbar-editor/egg-marshal.c:
4187 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
4188 (egg_toolbar_editor_get_type), (compare_actions), (find_action),
4189 (egg_toolbar_editor_set_ui_manager), (toolbar_removed_cb),
4190 (egg_toolbar_editor_set_model), (egg_toolbar_editor_set_property),
4191 (egg_toolbar_editor_get_property), (egg_toolbar_editor_class_init),
4192 (egg_toolbar_editor_finalize), (egg_toolbar_editor_new),
4193 (drag_begin_cb), (drag_end_cb), (editor_drag_data_received_cb),
4194 (editor_drag_data_delete_cb), (drag_data_get_cb),
4195 (elide_underscores), (set_drag_cursor), (event_box_realize_cb),
4196 (editor_create_item), (update_editor_sheet), (setup_editor),
4197 (egg_toolbar_editor_init), (egg_toolbar_editor_add_action),
4198 (parse_item_list), (model_has_action), (update_actions_list),
4199 (egg_toolbar_editor_load_actions):
4200 * cut-n-paste/toolbar-editor/egg-toolbar-editor.h:
4201 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
4202 (egg_toolbars_model_get_type), (egg_toolbars_model_to_xml),
4203 (safe_save_xml), (egg_toolbars_model_save), (toolbars_toolbar_new),
4204 (toolbars_item_new), (free_toolbar_node), (free_item_node),
4205 (egg_toolbars_model_get_flags), (egg_toolbars_model_set_flags),
4206 (egg_toolbars_model_add_separator), (impl_add_item),
4207 (parse_item_list), (egg_toolbars_model_add_toolbar),
4208 (parse_toolbars), (egg_toolbars_model_load), (impl_get_item_id),
4209 (impl_get_item_data), (impl_get_item_type),
4210 (_egg_accumulator_STRING), (egg_toolbars_model_class_init),
4211 (egg_toolbars_model_init), (free_toolbar),
4212 (egg_toolbars_model_finalize), (egg_toolbars_model_new),
4213 (egg_toolbars_model_remove_toolbar),
4214 (egg_toolbars_model_remove_item), (egg_toolbars_model_move_item),
4215 (egg_toolbars_model_n_items), (egg_toolbars_model_item_nth),
4216 (egg_toolbars_model_n_toolbars), (egg_toolbars_model_toolbar_nth),
4217 (egg_toolbars_model_add_item), (egg_toolbars_model_get_item_id),
4218 (egg_toolbars_model_get_item_data),
4219 (egg_toolbars_model_get_item_type):
4220 * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
4221 * cut-n-paste/toolbar-editor/eggmarshalers.list:
4223 * data/evince-toolbar.xml:
4224 * data/evince-ui.xml:
4225 * data/hand-open.png:
4227 * shell/Makefile.am:
4228 * shell/ev-window.c: (update_chrome_visibility),
4229 (ev_window_cmd_edit_toolbar_cb), (ev_window_cmd_edit_toolbar),
4230 (ev_window_dispose), (ev_window_init):
4232 Implement epiphany like toolbar editor. Based on patch by
4233 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4235 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
4237 * shell/ev-sidebar-thumbnails.c: (page_changed_cb):
4239 Use set_cursor instead of set_selection, so that
4240 the keyboard focus moves too.
4242 2005-05-09 Aleksey Kliger <akliger@gmail.com>
4244 * dvi/mdvi-lib/tfmfile.c: (lookup_font_metrics):
4246 Fix infinite loop when loading Type1 fonts
4248 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
4250 * data/evince-ui.xml:
4251 * shell/ev-window.c:
4255 2005-05-09 Thomas de Grenier de Latour <degrenier@easyconnect.fr>
4259 Make --disable really disable
4261 2005-05-07 Juerg Billeter <j@bitron.ch>
4263 * backend/ev-page-cache.c: (ev_page_cache_set_page_label):
4265 Compare page labels even without has_labels set, fixes setting page
4268 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
4270 * shell/ev-view.c: (ev_view_create_invisible_cursor),
4271 (ev_view_set_cursor), (ev_view_button_press_event),
4272 (ev_view_motion_notify_event), (ev_view_button_release_event),
4275 Implement middle button scrolling. Based on a patch
4276 by Tommi Komulainen <tommi.komulainen@iki.fi>.
4278 2005-05-08 Marco Pesenti Gritti <mpg@redhat.com>
4280 * shell/ev-document-types.c: (get_slow_mime_type),
4281 (get_document_type_from_mime), (ev_document_type_lookup):
4282 * shell/ev-document-types.h:
4284 Change api to lookup from uri. Do fast lookup first, if the
4285 type is unknown try with data sniffing.
4287 * shell/ev-window.c: (ev_window_open), (ev_window_open_uri_list):
4288 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
4292 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
4294 * thumbnailer/Makefile.am:
4298 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
4305 * data/evince-ui.xml:
4307 Hide presentation mode for now
4309 * shell/ev-view.c: (highlight_find_results):
4311 Show current find selection only on current page
4313 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
4315 * shell/ev-view.c: (ev_view_select_all):
4317 Compute size of the actual page, not of
4320 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
4322 * shell/ev-view.c: (clear_selection), (ev_view_finalize),
4323 (view_rect_to_doc_rect), (compute_selections),
4324 (ev_view_bin_expose), (ev_view_select_all), (get_selected_text),
4325 (ev_view_copy), (ev_view_primary_get_cb),
4326 (ev_view_primary_clear_cb), (ev_view_update_primary_selection),
4327 (ev_view_button_press_event), (ev_view_motion_notify_event),
4328 (ev_view_button_release_event), (page_changed_cb):
4332 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
4334 * shell/ev-view.c: (compute_border), (get_page_extents),
4335 (doc_rect_to_view_rect), (highlight_find_results),
4336 (ev_view_bin_expose), (ev_view_select_all),
4337 (ev_view_motion_notify_event), (update_find_status_message),
4338 (jump_to_find_result), (jump_to_find_page):
4340 First go at fixing search, still buggy
4342 2005-05-04 Kristian Høgsberg <krh@redhat.com>
4344 * shell/ev-sidebar.c (ev_sidebar_init): Remove frame around
4345 dropdown box and button at the top of the sidebar.
4347 2005-05-02 James Bowes <bowes@cs.dal.ca>
4349 * configure.ac: Output zoom-control Makefile.
4350 * cut-n-paste/Makefile.am: build zoom-control subdir.
4351 * cut-n-paste/zoom-control/ephy-zoom-action.c:
4352 * cut-n-paste/zoom-control/ephy-zoom-action.h:
4353 * cut-n-paste/zoom-control/ephy-zoom-control.c:
4354 * cut-n-paste/zoom-control/ephy-zoom-control.h:
4355 * cut-n-paste/zoom-control/ephy-zoom.c:
4356 * cut-n-paste/zoom-control/ephy-zoom.h: New files imported
4357 from epiphany, and modified to add a separator into the menu.
4358 * cut-n-paste/zoom-control/Makefile.am: Build zoom-control.
4359 * data/evince-ui.xml: Replace old zoom toolbar actions with new
4360 zoom-control action.
4361 * shell/Makefile.am: Include zoom-control flags.
4362 * shell/ev-view.c: (ev_view_set_zoom), (ev_view_get_zoom),
4363 (ev_view_get_sizing_mode), (ev_view_zoom_in), (ev_view_zoom_out),
4364 (ev_view_zoom_for_size_presentation),
4365 (ev_view_zoom_for_size_continuous_and_dual_page),
4366 (ev_view_zoom_for_size_continuous),
4367 (ev_view_zoom_for_size_dual_page),
4368 (ev_view_zoom_for_size_single_page), (ev_view_zoom_normal):
4369 s/ev_view_zoom/ev_view_set_zoom/ and make public, add
4370 ev_view_get_zoom and ev_view_get_sizing_mode.
4372 * shell/ev-window.c: (update_action_sensitivity),
4373 (update_sizing_buttons), (zoom_control_changed_cb),
4374 (register_custom_actions): Initialize and use the zoom-control
4377 Sun May 1 00:46:47 2005 Jonathan Blandford <jrb@redhat.com>
4379 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init): Change the
4380 preview cache back to 1. Don't know when it got set to 0.
4382 * shell/ev-view.c: (compute_border), (ev_view_realize),
4383 (draw_one_page), (ev_view_set_property), (ev_view_get_property),
4384 (ev_view_class_init), (ev_view_init), (ev_view_set_fullscreen),
4385 (ev_view_get_fullscreen), (ev_view_set_presentation),
4386 (ev_view_get_presentation), (ev_view_set_sizing_mode),
4387 (ev_view_zoom_for_size_presentation), (ev_view_set_zoom_for_size):
4389 * shell/ev-window.c:
4390 (update_chrome_visibility),
4391 (ev_window_cmd_continuous), (ev_window_cmd_dual),
4392 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
4393 (update_document_mode), (ev_window_update_fullscreen_action),
4394 (ev_window_fullscreen), (ev_window_unfullscreen),
4395 (ev_window_cmd_view_fullscreen),
4396 (ev_window_update_presentation_action),
4397 (ev_window_run_presentation), (ev_window_stop_presentation),
4398 (ev_window_cmd_view_presentation), (ev_window_state_event),
4399 (ev_window_focus_in_event), (ev_window_focus_out_event),
4400 (ev_window_cmd_escape), (ev_window_sidebar_visibility_changed_cb):
4401 * data/evince-ui.xml: Initial presentation mode. We should
4402 probably hide this until it's done, as it's quite rough. Also,
4403 change full-screen to fullscreen and add two getters to EvView.
4405 2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
4407 * shell/ev-page-action.c: (update_page_cache),
4408 (ev_page_action_dispose):
4409 * shell/ev-window.c: (destroy_fullscreen_popup),
4410 (ev_window_create_fullscreen_popup):
4412 Use connect_object rather than explicitly
4413 disconnect on dispose.
4415 2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
4417 * shell/ev-page-action.c: (update_page_cache),
4418 (ev_page_action_dispose):
4420 2005-04-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4422 * backend/ev-page-cache.c: (_ev_page_cache_new),
4423 (ev_page_cache_set_page_label),
4424 (ev_page_cache_has_nonnumeric_page_labels):
4425 * backend/ev-page-cache.h:
4426 * shell/ev-page-action.c: (update_pages_label):
4428 If all page labels are numeric, fallback to default
4429 way to display number of pages. See bug 173185.
4431 2005-04-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4433 * shell/ev-page-action.c: (ev_page_action_dispose):
4434 * shell/ev-view.c: (view_update_range_and_current_page):
4435 * shell/ev-window.c: (ev_window_dispose):
4437 Set page on scroll in continuous mode. Fixes bug 301986.
4438 Also cleanup callbacks on destroy of EvWindow and EvPageAction.
4440 2005-04-26 Marco Pesenti Gritti <mpg@redhat.com>
4444 Require poppler 0.3.0
4446 2005-04-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4448 * shell/Makefile.am, configure.ac: Fix build problems
4449 with t1lib. Bug 301996.
4451 2005-04-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4453 * shell/ev-view.c: (ev_view_scroll_event):
4455 Scroll up increase zoom
4457 2005-04-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4459 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_class_init),
4460 (ev_view_set_sizing_mode),
4461 (ev_view_zoom_for_size_continuous_and_dual_page),
4462 (ev_view_zoom_for_size_continuous):
4463 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
4464 (ev_window_cmd_view_page_width), (ev_window_cmd_view_zoom_in),
4465 (ev_window_cmd_view_zoom_out), (ev_window_sizing_mode_changed_cb),
4468 Control + Scroll does zooming, Shift + Scroll scrolls horizontally
4469 Fix for 165473 and 165472.
4471 2005-04-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4474 * thumbnailer/Makefile.am:
4475 * thumbnailer/evince-thumbnailer-djvu.schemas.in:
4476 * thumbnailer/evince-thumbnailer-dvi.schemas.in:
4477 * thumbnailer/evince-thumbnailer.schemas.in:
4479 Make thumbnailer schemas translatable. Fix for bug 301773
4481 * thumbnailer/evince-thumbnailer-djvu.schemas:
4482 * thumbnailer/evince-thumbnailer-dvi.schemas:
4483 * thumbnailer/evince-thumbnailer.schemas:
4487 Sun Apr 24 01:37:39 2005 Jonathan Blandford <jrb@redhat.com>
4489 * shell/ev-view.c (ev_view_init): forgot to set this.
4491 Sun Apr 24 01:07:27 2005 Jonathan Blandford <jrb@redhat.com>
4493 * shell/ev-view.c: (find_page_at_location),
4494 (get_link_at_location),
4495 (ev_view_set_show_border), (ev_view_set_spacing),
4496 (ev_view_zoom_for_size_continuous_and_dual_page),
4497 (ev_view_zoom_for_size_continuous): Fix links for dual/continuous.
4498 Also, add a quick fix measuring of widths. Also, removed
4499 ev_view_set_spacing and ev_view_set_show_border.
4501 * shell/ev-window.c: (ev_window_unfullscreen),
4502 (ev_window_cmd_view_fullscreen): Don't adjust the border/spacing.
4504 2005-04-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4506 * shell/ev-view.c: (view_update_range_and_current_page),
4509 Fix crash on exit and scrolling to page in continuous view.
4511 Sat Apr 23 13:13:04 2005 Jonathan Blandford <jrb@redhat.com>
4514 * backend/ev-page-cache.c: (_ev_page_cache_new),
4515 (ev_page_cache_get_max_width_size),
4516 (ev_page_cache_get_max_height_size):
4517 * backend/ev-page-cache.h:
4518 * data/evince-ui.xml:
4519 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init):
4520 * shell/ev-view.c: (view_update_adjustments),
4521 (view_update_range_and_current_page), (get_bounding_box_size),
4522 (ev_view_size_request_continuous_and_dual_page),
4523 (ev_view_size_request_continuous),
4524 (ev_view_size_request_dual_page),
4525 (ev_view_size_request_single_page), (ev_view_size_request),
4526 (ev_view_size_allocate), (get_page_extents), (draw_one_page),
4527 (ev_view_bin_expose), (ev_view_expose_event),
4528 (ev_view_set_property), (ev_view_get_property),
4529 (ev_view_class_init), (ev_view_init), (ev_view_new),
4530 (page_changed_cb), (ev_view_zoom), (ev_view_set_continuous),
4531 (ev_view_set_dual_page), (ev_view_set_full_screen),
4532 (ev_view_set_presentation), (ev_view_set_sizing_mode),
4533 (ev_view_can_zoom_in), (ev_view_can_zoom_out), (ev_view_zoom_in),
4534 (ev_view_zoom_out), (zoom_for_size_fit_width),
4535 (zoom_for_size_best_fit),
4536 (ev_view_zoom_for_size_continuous_and_dual_page),
4537 (ev_view_zoom_for_size_continuous),
4538 (ev_view_zoom_for_size_dual_page),
4539 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
4540 (ev_view_show_cursor), (ev_sizing_mode_get_type):
4542 * shell/ev-window.c: (update_action_sensitivity),
4543 (ev_window_cmd_continuous), (ev_window_cmd_dual),
4544 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
4545 (update_sizing_buttons), (ev_window_cmd_view_zoom_in),
4546 (ev_window_cmd_view_zoom_out), (update_view_size),
4547 (ev_window_set_sizing_mode), (ev_window_init):
4549 Add Continuous and Dual page modes.
4551 2005-04-23 James Bowes <bowes@cs.dal.ca>
4553 * dvi/dvi-document.c: (dvi_document_load),
4554 (dvi_document_thumbnails_get_thumbnail),
4555 (dvi_document_init_params): Fix up some mixups between
4556 width and height to correct thumbnail rendering.
4558 2005-04-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4560 * dvi/mdvi-lib/private.h:
4561 * dvi/mdvi-lib/setup.c: (mdvi_init_kpathsea):
4563 Suppess output for kpathsea during font generation. Thanks to
4566 Fri Apr 22 19:57:46 2005 Jonathan Blandford <jrb@redhat.com>
4573 * Makefile.am: fix distcheck.
4575 2005-04-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4577 * shell/ev-sidebar-links.c: (selection_changed_callback),
4578 (update_page_callback), (row_activated_callback),
4579 (job_finished_callback), (ev_sidebar_links_set_document):
4581 Fix for bug #169901. Double click on links expands tree.
4583 2005-03-14 Bryan Clark <clarkbw@cvs.gnome.org>
4585 * shell/ev-window.c (ev_window_init): Removed fullscreen toolbar
4586 hard-coded style. Fix for bug 170111
4588 2005-04-22 Kristian Høgsberg <krh@redhat.com>
4590 * shell/ev-view.c (highlight_find_results): Remove unnecessary
4593 2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
4595 * thumbnailer/evince-thumbnailer.schemas: real fix for bug 172496
4597 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
4599 * pdf/ev-poppler.cc:
4600 * shell/ev-view.c: (highlight_find_results):
4602 Fix find on single page documents
4604 2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
4606 * data/evince.schemas.in: fix for bug 301390
4608 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
4610 * shell/ev-view.c: (ev_view_can_zoom_in), (ev_view_can_zoom_out),
4611 (ev_view_zoom_out), (ev_view_zoom_normal):
4613 * shell/ev-window.c: (update_action_sensitivity),
4614 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
4615 (ev_window_cmd_view_zoom_in), (ev_window_cmd_view_zoom_out),
4616 (ev_window_cmd_view_normal_size):
4618 Fix normal size zoom. Make zoom in/zoom out unsensitive when
4619 they are behyond the limits. Tweak MAX_ZOOM to 6, sucks but
4622 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
4626 Depend on 2.57, 2.59 doesnt seem to be necessary
4628 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
4630 * shell/ev-page-action.c: (update_pages_label), (page_changed_cb),
4633 Put back total number of pages as (1 of 1234)
4635 Thu Apr 21 23:37:52 2005 Jonathan Blandford <jrb@redhat.com>
4637 * shell/ev-pixbuf-cache.c (dispose_cache_job_info): actually
4640 * backend/ev-document.h: Remove EV_DOC_MUTEX in favor of a locking
4641 function. This helps debugging.
4643 2005-04-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4645 * djvu/djvu-document.c: (djvu_document_class_init),
4646 (djvu_document_get_info), (djvu_document_document_iface_init):
4647 * dvi/dvi-document.c: (dvi_document_class_init),
4648 (dvi_document_get_info), (dvi_document_document_iface_init):
4650 Dummy implementation of get_info method for dvi and djvu. Fix
4651 crashes with those backends
4653 2005-04-20 Marco Pesenti Gritti <mpg@redhat.com>
4655 * data/evince.desktop.in:
4657 Add application/x-gzpostscript
4659 2005-04-20 Bryan Clark <clarkbw@cvs.gnome.org>
4661 * data/evince.schemas.in: Added real long descriptions,
4664 * README: Added actual text, closes bug 171869
4666 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
4668 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
4672 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
4674 * backend/ev-document-info.h:
4676 s/GDate */GDate so we can just use g_free
4678 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
4680 * shell/ev-window.c: (update_document_mode),
4681 (ev_window_setup_document):
4683 Show the window in fullscreen when specified by
4686 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
4688 * backend/ev-document.c: (ev_document_class_init),
4689 (ev_document_get_info), (ev_document_render_pixbuf):
4690 * backend/ev-document.h:
4691 * backend/ev-page-cache.c: (_ev_page_cache_new):
4692 * pdf/ev-poppler.cc:
4693 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
4694 (pixbuf_document_get_info), (pixbuf_document_document_iface_init):
4695 * ps/ps-document.c: (ps_document_class_init), (document_load),
4696 (ps_document_get_info), (ps_document_document_iface_init):
4698 Remove get_title from the interface, we can just use document info
4700 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
4702 * backend/Makefile.am:
4703 * backend/ev-document.c: (ev_document_render_get_info):
4704 * backend/ev-document.h:
4705 * pdf/ev-poppler.cc:
4707 Initial support for document info. Based on jrb patch.
4709 2005-04-19 Paolo Borelli <pborelli@katamail.com>
4711 * shell/ev-window.c: (ev_window_state_event),
4712 (ev_window_class_init), (ev_window_init):
4714 Doesn't show resize grip when maximized. See bug #301053
4716 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4720 ev-sidebar-thumbnails now has translatable labels
4722 * shell/Makefile.am:
4723 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document),
4724 (ev_sidebar_links_support_document), (ev_sidebar_links_get_label),
4725 (ev_sidebar_links_page_iface_init):
4726 * shell/ev-sidebar-links.h:
4727 * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
4728 (ev_sidebar_page_support_document), (ev_sidebar_page_set_document),
4729 (ev_sidebar_page_get_label):
4730 * shell/ev-sidebar-page.h:
4731 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_new),
4732 (ev_sidebar_thumbnails_set_document),
4733 (ev_sidebar_thumbnails_support_document),
4734 (ev_sidebar_thumbnails_get_label),
4735 (ev_sidebar_thumbnails_page_iface_init):
4736 * shell/ev-sidebar-thumbnails.h:
4737 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
4738 (ev_sidebar_set_document):
4739 * shell/ev-sidebar.h:
4740 * shell/ev-window.c: (ev_window_setup_document), (ev_window_init):
4742 Small rework of sidebar code. Now sidebar pages should implement
4743 EvSidebarPage interface. That makes page management in EvSidebar
4744 easier. See bug #164811 for details
4746 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4748 * shell/ev-application.c: (ev_application_open):
4749 * shell/ev-document-types.c:
4751 Fix build error and small problem with application exit
4753 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4755 * thumbnailer/Makefile.am:
4756 * thumbnailer/evince-thumbnailer-djvu.schemas:
4757 * thumbnailer/evince-thumbnailer-dvi.schemas:
4759 Conditionally install schemas for djvu/dvi thumbnailer
4761 2005-04-18 David Malcolm <dmalcolm@redhat.com>
4763 * shell/ev-document-types.h:
4764 * shell/ev-document-types.c:
4765 New files, handling the mapping from mimetypes to backends
4767 * shell/ev-window.c:
4768 * thumbnailer/evince-thumbnailer.c:
4769 Use the ev-document-types code
4771 * shell/Makefile.am:
4772 Added new convenience library libevbackendfactory_la, containing
4773 the new mimetype->backend logic; moved the backends into it.
4775 * thumbnailer/Makefile.am:
4776 Make the thumbnailer link with the libevbackend.la convenience
4777 library, rather than having a duplicate of the backend logic here.
4779 2005-04-18 Paolo Borelli <pborelli@katamail.com>
4781 * shell/ev-stock-icons.c: constify some vars.
4782 * shell/ev-window.c: ditto.
4784 2005-04-18 Marco Pesenti Gritti <mpg@redhat.com>
4786 * ps/ps-document.c (get_page_orientation):
4788 Respect document orientation
4790 2005-04-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4794 * shell/Makefile.am:
4796 Move library dependencies to components.
4798 * shell/ev-window.c: (update_window_title),
4799 (start_loading_document):
4801 Fix display of uris with spaces. Bug 168358.
4803 Sat Apr 16 18:53:47 2005 Jonathan Blandford <jrb@redhat.com>
4805 * shell/ev-sidebar-links.c: (selection_changed_cb):
4806 * shell/ev-view.c: (ev_view_finalize), (go_to_link),
4807 (ev_view_button_release_event), (ev_view_set_document):
4809 * shell/ev-window.c: (find_bar_search_changed_cb):
4810 * shell/ev-window.h: Minor cleanups removing some dead code.
4812 2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4814 * backend/ev-page-cache.c: (_ev_page_cache_new):
4816 Set current page to 0 if document has pages.
4818 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
4820 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
4822 Initialize GError to NULL, fix a crash when loading fails.
4824 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
4826 * shell/ev-window.c: (update_view_size):
4828 Calculate shadow size only when there is actually
4831 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
4833 * shell/ev-view.c: (ev_view_set_spacing), (ev_view_init):
4836 Allow setting view spacing, default to 0
4838 * shell/ev-window.c: (ev_window_unfullscreen),
4839 (ev_window_cmd_view_fullscreen), (ev_window_init):
4841 Remove spacing in fullscreen mode
4843 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
4845 * shell/ev-view.c: (compute_border), (compute_zoom_factor),
4846 (ev_view_size_request), (expose_bin_window),
4847 (ev_view_set_show_border), (ev_view_init), (page_changed_cb):
4849 * shell/ev-window.c: (ev_window_unfullscreen),
4850 (ev_window_cmd_view_fullscreen):
4852 Do not draw the border in fulscreen
4854 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
4856 * shell/ev-view.c: (ev_view_get_offsets), (compute_zoom_factor),
4857 (ev_view_size_request), (expose_bin_window), (ev_view_select_all),
4858 (find_page_at_location), (page_changed_cb):
4860 Rework border calculation, so that I can more easily disable it.
4861 Code somewhat cleaner too.
4863 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
4865 * backend/ev-page-cache.c: (ev_page_cache_init),
4866 (_ev_page_cache_new):
4868 Remove some assertions, documents can have 0 pages.
4869 Make initial current page -1.
4871 * shell/ev-page-action.c: (page_changed_cb):
4873 Show "" if current page is -1
4875 * shell/ev-window.c: (update_action_sensitivity),
4876 (ev_window_setup_document):
4878 When document has 0 pages do not set the view
4879 and make nearly everything insensitive.
4881 2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4883 * shell/ev-page-view.c:
4884 * shell/ev-page-view.h:
4886 Remove unused files.
4888 * shell/ev-sidebar-thumbnails.c:
4889 (ev_sidebar_thumbnails_set_document):
4890 * shell/ev-sidebar.c: (ev_sidebar_set_document),
4891 (ev_sidebar_supports_document):
4892 * shell/ev-sidebar.h:
4893 * shell/ev-window.c: (ev_window_setup_document):
4895 Doesn't show thumbnails if document has 1 page. Make
4896 sidebar menu entries sensitive only if if they have
4897 sense. Fix bug 164811.
4899 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
4901 * shell/ev-view.c: (compute_zoom_factor), (ev_view_size_request),
4902 (page_changed_cb), (ev_view_zoom), (ev_view_zoom_in),
4903 (ev_view_zoom_out), (ev_view_set_size):
4905 Rework sizing to deal with documents with not uniform page
4908 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
4910 * backend/ev-page-cache.c: (_ev_page_cache_new):
4912 Fix several page size caching bugs
4914 2005-04-15 Luca Ferretti <elle.uca@libero.it>
4916 * shell/ev-window.c: (set_action_properties):
4918 Make all toolbar items translatable
4920 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
4922 * ps/ps-document.c: (ps_document_init), (ps_document_get_type),
4923 (save_page_list), (ps_document_save),
4924 (ps_document_document_iface_init), (ps_document_ps_export_begin),
4925 (ps_document_ps_export_do_page), (ps_document_ps_export_end),
4926 (ps_document_ps_exporter_iface_init):
4929 Based on a patch by J�rg Billeter <j@bitron.ch>
4931 Implement print and save a copy for the ps backend.
4933 2005-04-14 Marco Pesenti Gritti <mpg@redhat.com>
4935 * backend/ev-document.h:
4936 * djvu/djvu-document.c: (djvu_document_can_get_text),
4937 (djvu_document_document_iface_init):
4938 * dvi/dvi-document.c: (dvi_document_can_get_text),
4939 (dvi_document_document_iface_init):
4940 * pdf/ev-poppler.cc:
4941 * pixbuf/pixbuf-document.c: (pixbuf_document_can_get_text),
4942 (pixbuf_document_document_iface_init):
4943 * ps/ps-document.c: (ps_document_can_get_text),
4944 (ps_document_document_iface_init):
4945 * shell/ev-view.c: (ev_view_copy), (ev_view_primary_get_cb):
4946 * shell/ev-window.c: (update_action_sensitivity):
4948 Fix the crash when trying to copy in backends that doesnt
4949 support it. We can implement a better solution once we
4950 do real text selection.
4952 2005-04-12 Marco Pesenti Gritti <mpg@redhat.com>
4954 * data/evince-ui.xml:
4955 * shell/ev-window.c: (ev_window_cmd_escape):
4957 Work around the Escape conflict (find bar and unfullscreen)
4959 2005-04-12 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
4961 * backend/ev-page-cache.c: (ev_page_cache_next_page):
4963 Fix for #300233. Next page correctly handles document end.
4965 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
4966 (ev_sidebar_thumbnails_class_init),
4967 (ev_sidebar_thumbnails_set_document),
4968 (ev_sidebar_thumbnails_clear_job),
4969 (ev_sidebar_thumbnails_clear_model):
4971 Cleanup thumbnail jobs on document changes.
4973 * shell/ev-view.c: (add_scroll_binding_keypad),
4974 (add_scroll_binding_shifted), (ev_view_class_init):
4976 Shift + Space scrolls up. Fix for #173184
4978 * shell/ev-window.c: (ev_window_open_page),
4979 (ev_window_cmd_view_reload):
4981 Fix reload (Bug #300094)
4983 2005-04-09 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4986 * dvi/mdvi-lib/assoc.c:
4987 * dvi/mdvi-lib/assoc.h: Removed garbage files
4989 * dvi/mdvi-lib/bitmap.c:
4990 * dvi/mdvi-lib/color.c: (mdvi_set_color), (mdvi_push_color),
4991 (mdvi_pop_color), (mdvi_reset_color), (get_color_table):
4992 * dvi/mdvi-lib/color.h: Antialias of rules
4994 * dvi/mdvi-lib/common.h:
4995 * dvi/mdvi-lib/dviread.c: (mdvi_configure), (mdvi_init_context),
4996 (mdvi_destroy_context), (draw_shrink_rule), (draw_box), (set_rule):
4997 * dvi/mdvi-lib/files.c:
4998 * dvi/mdvi-lib/fontmap.c: (ps_init_default_paths):
4999 * dvi/mdvi-lib/mdvi.h:
5000 * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
5001 * dvi/mdvi-lib/tfmfile.c: (ofm_load_file):
5002 * dvi/mdvi-lib/util.c: Fix compile warnings
5004 * dvi/dvi-document.c:
5005 (dvi_document_load), (dvi_document_thumbnails_get_dimensions),
5006 (dvi_document_thumbnails_get_thumbnail),
5007 (dvi_document_document_thumbnails_iface_init):
5008 * dvi/mdvi-lib/Makefile.am:
5009 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
5010 (dvi_pixbuf_set_color), (mdvi_pixbuf_device_render):
5012 Dvi backend now renders thumbnails
5014 2005-04-09 Christian Persch <chpe@cvs.gnome.org>
5016 * shell/main.c: (main):
5018 Save accelerators on exit. Fixes bug #172095.
5020 Sat Apr 9 01:05:09 2005 Jonathan Blandford <jrb@redhat.com>
5022 * shell/ev-pixbuf-cache.c (move_one_job): Actually fix the "FIXME:
5023 update priority" comment.
5025 * backend/ev-job-queue.c: Give a way to change priority.
5027 Sat Apr 9 00:05:36 2005 Jonathan Blandford <jrb@redhat.com>
5029 * shell/ev-page-action.c: Fix logic.
5031 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
5033 * shell/ev-view.c: (ev_view_can_find_next):
5034 * shell/ev-window.c: (ev_window_setup_document):
5036 Check that the document supports find
5038 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
5040 * data/evince-ui.xml:
5041 * shell/ev-view.c: (ev_view_can_find_next):
5043 * shell/ev-window.c: (update_action_sensitivity),
5044 (find_changed_cb), (ev_window_setup_document),
5045 (ev_window_cmd_edit_find_next):
5049 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
5051 * pdf/ev-poppler.cc:
5052 * shell/ev-print-job.c: (idle_print_handler):
5054 Make printing work again
5056 Fri Apr 8 01:12:24 2005 Jonathan Blandford <jrb@redhat.com>
5058 * shell/ev-page-action.h:
5059 * shell/ev-page-action.c: (ev_page_action_widget_init),
5060 (ev_page_action_widget_class_init), (page_changed_cb),
5061 (create_tool_item), (update_page_cache), (build_new_tree_cb),
5062 (get_filter_model_from_model), (match_selected_cb),
5063 (display_completion_text), (match_completion), (update_model),
5064 (connect_proxy), (ev_page_action_set_property),
5065 (ev_page_action_get_property), (ev_page_action_set_document),
5066 (ev_page_action_set_model), (ev_page_action_class_init): Big
5067 reworking to make completions work iff we have >= GTK-2.7.0
5069 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_property),
5070 (ev_sidebar_links_get_property), (ev_sidebar_links_class_init),
5071 (job_finished_cb): We now have a 'model' property that is set when
5072 the links are loaded. This can be caught with "notify::model"
5074 * shell/ev-window.c: (sidebar_widget_model_set), (ev_window_init):
5075 listen for the model to be set, and propagate it to the action.
5077 2005-04-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
5079 * cut-n-paste/recent-files/egg-recent-item.c:
5080 (egg_recent_item_set_uri), (make_valid_utf8),
5081 (egg_recent_item_set_mime_type), (egg_recent_item_get_mime_type):
5082 * cut-n-paste/recent-files/egg-recent-item.h:
5084 Update egg-recent from libegg. This should fix long
5085 startup problem. For details see
5086 http://bugzilla.gnome.org/show_bug.cgi?id=160531
5088 2005-04-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
5090 * cut-n-paste/recent-files/Makefile.am:
5091 * data/evince-ui.xml, shell/Makefile.am:
5092 * shell/ev-application.c, shell/ev-application.h:
5093 * shell/ev-window.c: Recent files support.
5095 * configure.ac: Added "ru" to ALL_LINGUAS.
5097 * dvju: new backend to support DJVU files.
5098 * dvi: new backend to support DVI.
5100 * configure.ac, Makefile.am, shell/Makefile.am, ev-window.c:
5101 * ev-application.c: Support for new backends.
5103 * help, ev-window.c, main.c shell/Makefile.am:
5104 Evince user documentation.
5106 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
5109 * shell/ev-window.c:
5110 * thumbnailer/evince-thumbnailer.c:
5112 s/pdf-document/ev-poppler
5114 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
5121 * ps/ps-document.c: (setup_pixmap):
5125 2005-04-05 Kristian Høgsberg <krh@redhat.com>
5127 * backend/ev-page-cache.c (ev_page_cache_next_page):
5128 * shell/ev-window.c (ev_window_cmd_go_next_page)
5129 (ev_window_cmd_go_first_page): Fix of by one errors.
5131 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
5133 * ps/ps-document.c: (get_page_box):
5135 Fix page size calculation
5137 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
5139 * ps/ps-document.c: (ps_document_init), (push_pixbuf),
5140 (ps_document_cleanup), (setup_pixmap), (get_page_box),
5141 (get_page_orientation), (setup_page), (document_load),
5142 (ps_document_get_page_size), (render_pixbuf_idle):
5145 More refactoring to adapt to EvDocument changes
5147 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
5149 * ps/ps-document.c: (start_interpreter):
5151 Actually add alpha args
5153 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
5155 * pdf/ev-poppler.cc:
5157 Make clipboard work again
5159 2005-04-04 Kristian Høgsberg <krh@redhat.com>
5161 Make searching work again.
5163 * backend/ev-document.c:
5164 * backend/ev-document.h:
5165 * backend/ev-document-find.c:
5166 * backend/ev-document-find.h: Change EvDocumentIface so we no
5167 longer store the current page or zoom level in the document. The
5168 consequence is that all calls that operate on the current page now
5169 instead take the page number as an extra argument, and all
5170 coordinates are now doubles in document coordinate system.
5172 * pdf/ev-poppler.cc:
5173 * pixbuf/pixbuf-document.c:
5174 * ps/ps-document.c: Update backends accordingly.
5176 2005-04-04 Marco Pesenti Gritti <marco@gnome.org>
5180 Add required gettext version
5182 Sat Apr 2 18:57:00 2005 Jonathan Blandford <jrb@redhat.com>
5184 * shell/evwindow.c: Patch from Alberto Mesas <amesas@gmail.com> to
5185 make F1 bring up non-existent help.
5187 * shell/eggfindbar.c: Patch from Christian Persch to sync to
5188 epiphany's find bar, #167477
5190 * shell/ev-view.c (ev_view_jump): Patch from Emil Soleyman-Zomalan
5191 <emil@nishra.com> to add space-bar scrolling,
5193 * shell/ev-window.c (static GtkActionEntry entries): add default
5194 keybinding for Help (F1)
5197 * shell/ev-view.c (ev_view_show_cursor): Fix from Yuval Tanny
5198 changing EV_VIEW_CURSOR_LINK to EV_VIEW_CURSOR_NORMAL resolves bug
5201 2005-04-01 David Malcolm <dmalcolm@redhat.com>
5204 * pixbuf/pixbuf-document.c:
5206 Got pixbuf backend working again
5208 2005-04-01 Steve Murphy <murf@e-tools.com>
5210 * configure.in: Added "rw" to ALL_LINGUAS.
5212 Fri Apr 1 02:33:41 2005 Jonathan Blandford <jrb@redhat.com>
5214 * shell/ev-sidebar-links.c (create_loading_model): Fix mismatch in
5215 model types, noticed by Martin Kretzschmar.
5217 2005-04-01 Kristian Høgsberg <krh@redhat.com>
5219 * pdf/ev-poppler.cc: Implement search based on
5220 poppler_page_find_text(). Currently a bit crude since we remember
5221 all matches from all pages. Also, we grab the big document lock
5222 when we search since searching changes the underlying stream and
5223 thus conflicts with the rendering thread.
5225 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
5226 (jump_to_find_page), (ev_view_set_document), (ev_view_find_next),
5227 (ev_view_find_previous): Fix some page indexes to be 0 based,
5228 offset rubber band by view offset,
5230 Fri Apr 01 09:21:12 2005 Pablo Saratxaga <pablo@mandrakesoft.com>
5232 * configure.ac: Added Walloon (wa) to ALL_LINGUAS.
5234 Fri Apr 1 01:59:39 2005 Jonathan Blandford <jrb@redhat.com>
5236 * shell/ev-page-action.c: Changed to use page labels now. Rewrote
5237 completely because I didn't understand GtkActions. I should
5238 read Marco's code more carefully in the future.
5240 * backend/ev-page-cache.h (ev_page_cache_set_page_label): New
5243 2005-03-31 Kristian Høgsberg <krh@redhat.com>
5245 * pdf/ev-poppler.cc (pdf_document_get_links): Update to work with
5246 PopplerRectangle change from poppler CVS.
5248 Thu Mar 31 13:27:50 2005 Jonathan Blandford <jrb@redhat.com>
5250 * backend/ev-document.c: (ev_document_get_page_label):
5251 * backend/ev-document.h:
5252 * backend/ev-page-cache.c: (_ev_page_cache_new),
5253 (ev_page_cache_get_page_label):
5254 * backend/ev-page-cache.h:
5255 * pdf/ev-poppler.cc:
5256 * shell/ev-sidebar-links.c: (ev_sidebar_links_construct),
5257 (links_page_num_func):
5258 * shell/ev-sidebar-thumbnails.c:
5259 (ev_sidebar_thumbnails_set_document):
5260 * shell/ev-view.c: (status_message_from_link),
5261 (ev_view_motion_notify_event):
5262 * shell/ev-window.c: (document_supports_sidebar): Add in page
5263 label support. It's not perfect yet, but it's the first 'feature'
5265 Also, fix a bogus comment noticed by crispin.
5267 Thu Mar 31 01:21:58 2005 Jonathan Blandford <jrb@redhat.com>
5269 * Makefile.am: Remove pixbuf backend for now
5271 * configure.ac: Require poppler-glib instead of just poppler.
5273 * backend/ev-document-thumbnails.h: Add a comment
5275 * backend/ev-document.h:
5276 * backend/ev-document.c: (ev_document_class_init),
5277 (ev_document_load), (ev_document_get_link),
5278 (ev_document_get_links): Remove 3 methods and add get_links.
5281 * backend/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
5282 * backend/ev-jobs.h: now EvJobRender can grab the links for a document.
5284 * backend/ev-link.c: (ev_link_set_title),
5285 (ev_link_mapping_free_foreach), (ev_link_mapping_free),
5286 (ev_link_mapping_find):
5287 * backend/ev-link.h: Allow NULL titles. Also, introduce a mapping link.
5289 * backend/ev-page-cache.c: (ev_page_cache_init),
5290 (_ev_page_cache_new), (ev_page_cache_set_current_page),
5291 (ev_page_cache_get_size), (ev_page_cache_next_page),
5292 (ev_page_cache_prev_page): Fix to be 0 based.
5296 * pdf/ev-poppler.cc: New backend.
5298 * ps/ps-document.c: (ps_document_init), (ps_document_set_page),
5299 (ps_document_get_page), (ps_document_document_iface_init):
5301 * shell/ev-pixbuf-cache.h:
5302 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
5303 (dispose_cache_job_info), (job_finished_cb), (move_one_job),
5304 (ev_pixbuf_cache_update_range), (copy_job_to_job_info),
5305 (add_job_if_needed), (ev_pixbuf_cache_set_page_range),
5306 (ev_pixbuf_cache_get_pixbuf), (ev_pixbuf_cache_get_link_mapping):
5307 Fix up code to grab a page cache per each doc. Also, fix to be 0
5310 * shell/ev-sidebar-thumbnails.c:
5311 (ev_sidebar_tree_selection_changed), (page_changed_cb),
5312 (ev_sidebar_thumbnails_set_document): Fix to be 0 based.
5314 * shell/ev-view.c: (status_message_from_link),
5315 (find_page_at_location), (get_link_at_location),
5316 (ev_view_motion_notify_event), (ev_view_button_release_event),
5317 (ev_view_init): Use the new link code. Fix to be 0 based.
5319 * shell/ev-window.c: (update_action_sensitivity),
5320 (document_supports_sidebar): 0 based.
5322 Fri Mar 25 16:55:58 2005 Jonathan Blandford <jrb@redhat.com>
5324 * pdf/pdf-document.cc: Patch from Fernando Herrera
5325 <fherrera@onirica.com> to fix my quick fix to get_thumbnail.
5328 Wed Mar 23 23:49:41 2005 Jonathan Blandford <jrb@redhat.com>
5330 * pdf/pdf-document.cc (pdf_document_thumbnails_get_thumbnail): add
5331 1 to the page, as this seems to be 1 based. I thought we has this
5334 2005-03-23 Marco Pesenti Gritti <marco@gnome.org>
5337 * backend/Makefile.am:
5338 * backend/ev-document-links.c:
5339 (ev_document_links_has_document_links),
5340 (ev_document_links_get_links_model):
5341 * backend/ev-document-links.h:
5342 * backend/ev-document.c: (ev_document_get_page_cache),
5343 (ev_document_get_doc_mutex), (ev_document_load),
5344 (ev_document_save), (ev_document_get_title),
5345 (ev_document_get_n_pages), (ev_document_set_page),
5346 (ev_document_get_page), (ev_document_set_target),
5347 (ev_document_set_scale), (ev_document_set_page_offset),
5348 (ev_document_get_page_size), (ev_document_get_text),
5349 (ev_document_get_link), (ev_document_render),
5350 (ev_document_render_pixbuf), (ev_document_scale_changed):
5351 * backend/ev-document.h:
5352 * backend/ev-job-queue.c: (remove_object_from_queue),
5353 (notify_finished), (handle_job), (search_for_jobs_unlocked),
5354 (no_jobs_available_unlocked), (ev_render_thread),
5355 (ev_job_queue_init), (find_queue), (ev_job_queue_add_job),
5356 (ev_job_queue_remove_job):
5357 * backend/ev-job-queue.h:
5358 * backend/ev-jobs.c: (ev_job_init), (ev_job_dispose),
5359 (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
5360 (ev_job_links_class_init), (ev_job_render_init),
5361 (ev_job_render_dispose), (ev_job_render_class_init),
5362 (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
5363 (ev_job_thumbnail_class_init), (ev_job_finished),
5364 (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
5365 (ev_job_render_run), (ev_job_thumbnail_new),
5366 (ev_job_thumbnail_run):
5367 * backend/ev-jobs.h:
5368 * backend/ev-link.c:
5369 * backend/ev-link.h:
5370 * backend/ev-page-cache.c: (ev_page_cache_init),
5371 (ev_page_cache_class_init), (ev_page_cache_finalize),
5372 (_ev_page_cache_new), (ev_page_cache_get_n_pages),
5373 (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
5374 (ev_page_cache_set_link), (ev_page_cache_get_title),
5375 (ev_page_cache_get_size), (ev_page_cache_next_page),
5376 (ev_page_cache_prev_page):
5377 * backend/ev-page-cache.h:
5378 * pdf/pdf-document.cc:
5381 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
5382 (push_pixbuf), (interpreter_failed), (ps_document_cleanup),
5383 (ps_document_widget_event), (ps_document_finalize), (get_xdpi),
5384 (get_ydpi), (setup_pixmap), (setup_page), (close_pipe),
5385 (is_interpreter_ready), (output), (catchPipe), (input),
5386 (start_interpreter), (check_filecompressed), (compute_dimensions),
5387 (ps_document_enable_interpreter), (document_load),
5388 (ps_document_next_page), (render_page), (ps_document_set_page),
5389 (ps_document_set_scale), (render_pixbuf_idle),
5390 (ps_document_render_pixbuf), (ps_document_document_iface_init):
5392 * shell/Makefile.am:
5393 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
5394 (ev_pixbuf_cache_class_init), (ev_pixbuf_cache_finalize),
5395 (dispose_cache_job_info), (ev_pixbuf_cache_dispose),
5396 (ev_pixbuf_cache_new), (job_finished_cb),
5397 (check_job_size_and_unref), (move_one_job),
5398 (ev_pixbuf_cache_update_range), (find_job_cache),
5399 (ev_pixbuf_cache_clear_job_sizes), (add_job_if_needed),
5400 (ev_pixbuf_cache_add_jobs_if_needed),
5401 (ev_pixbuf_cache_set_page_range), (ev_pixbuf_cache_get_pixbuf):
5402 * shell/ev-pixbuf-cache.h:
5403 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
5404 (idle_print_handler):
5405 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
5406 (selection_changed_cb), (create_loading_model),
5407 (ev_sidebar_links_construct), (links_page_num_func),
5408 (ev_sidebar_links_clear_document), (update_page_callback_foreach),
5409 (update_page_callback), (job_finished_cb),
5410 (ev_sidebar_links_set_document):
5411 * shell/ev-sidebar-thumbnails.c:
5412 (ev_sidebar_thumbnails_class_init), (adjustment_changed_cb),
5413 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init),
5414 (page_changed_cb), (thumbnail_job_completed_callback),
5415 (ev_sidebar_thumbnails_set_document):
5416 * shell/ev-sidebar-thumbnails.h:
5417 * shell/ev-sidebar.c: (ev_sidebar_set_document):
5418 * shell/ev-view.c: (ev_view_finalize), (ev_view_destroy),
5419 (ev_view_get_offsets), (ev_view_size_request), (ev_view_realize),
5420 (ev_view_unrealize), (highlight_find_results), (expose_bin_window),
5421 (ev_view_select_all), (ev_view_copy), (ev_view_primary_get_cb),
5422 (ev_view_create_invisible_cursor), (ev_view_motion_notify_event),
5423 (ev_view_button_release_event), (ev_view_scroll_view),
5424 (ev_view_class_init), (ev_view_init), (update_find_status_message),
5425 (jump_to_find_result), (jump_to_find_page), (find_changed_cb),
5426 (ev_view_new), (job_finished_cb), (page_changed_cb),
5427 (ev_view_set_document), (go_to_link), (ev_view_zoom),
5428 (size_to_zoom_factor), (ev_view_set_size), (ev_view_find_next),
5429 (ev_view_find_previous):
5431 * shell/ev-window.c: (update_action_sensitivity),
5432 (ev_window_open_page), (update_window_title), (update_total_pages),
5433 (page_changed_cb), (ev_window_setup_document),
5434 (password_dialog_response), (ev_window_cmd_save_as),
5435 (ev_window_print), (ev_window_cmd_go_previous_page),
5436 (ev_window_cmd_go_next_page), (ev_window_cmd_go_first_page),
5437 (ev_window_cmd_go_last_page), (ev_window_cmd_view_reload),
5438 (find_bar_search_changed_cb), (goto_page_cb), (ev_window_init):
5439 * shell/main.c: (main):
5441 Merge evince-threads branch
5443 2005-03-16 Žygimantas Beručka <uid0@akl.lt>
5445 * configure.ac: Added "lt" to ALL_LINGUAS.
5447 2005-03-14 Marco Pesenti Gritti <marco@gnome.org>
5454 2005-03-13 Fernando Herrera <fherrera@onirica.com>
5456 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
5458 Fix here also the thumbnails 1-basedness :)
5460 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
5467 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
5469 * pdf/pdf-document.cc:
5470 * shell/ev-sidebar-thumbnails.c: (adjustment_changed_cb),
5471 (do_one_iteration), (ev_sidebar_thumbnails_set_document):
5473 Fix the mess we did with thumbnails and 1-basedness
5475 2005-03-12 Changwoo Ryu <cwryu@debian.org>
5477 * configure.ac (ALL_LINGUAS): Added "ko" (Korean).
5479 2005-03-09 Marco Pesenti Gritti <marco@gnome.org>
5486 2005-03-08 Marco Pesenti Gritti <marco@gnome.org>
5489 * ps/gsdefaults.c: (gtk_gs_defaults_get_interpreter_cmd),
5490 (gtk_gs_defaults_get_alpha_parameters),
5491 (gtk_gs_defaults_get_ungzip_cmd),
5492 (gtk_gs_defaults_get_unbzip2_cmd):
5494 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
5495 (ps_document_get_orientation), (document_load),
5496 (ps_document_goto_page), (ps_document_set_page_size):
5499 Some more sanitization of the ps backend. Remove a lot
5500 of unused code and do not base our defaults on ggv
5503 2005-03-08 Fernando Herrera <fherrera@onirica.com>
5505 * thumbnailer/evince-thumbnailer.schemas:
5506 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
5507 (main): add -s option for thumbnail size.
5509 2005-03-07 Christian Persch <chpe@cvs.gnome.org>
5513 AC_PROG_RANLIB is rendered obsolete by AC_PROG_LIBTOOL;
5516 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
5518 * pdf/pdf-document.cc:
5520 Remove 4 pixels of useless border from the
5523 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
5525 * backend/ev-document-thumbnails.c:
5526 (ev_document_thumbnails_get_thumbnail):
5527 * backend/ev-document-thumbnails.h:
5529 Rework API a bit. Add a border flag and
5530 change sizing logic (now the size we specify
5531 applies to the bigger dimension).
5533 * pdf/pdf-document.cc:
5534 * pixbuf/pixbuf-document.c:
5535 (pixbuf_document_thumbnails_get_thumbnail):
5536 * shell/ev-sidebar-thumbnails.c: (do_one_iteration):
5537 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
5539 Adapt to the new API and do not draw a border for nautilus
5542 2005-03-03 Fernando Herrera <fherrera@onirica.com>
5544 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
5545 take thumbnails from page "0" instead of "1". Added a copyright header.
5547 2005-03-03 Jens Granseuer <jensgr@gmx.net>
5549 * ps/ps-document.c: (set_up_page), (start_interpreter):
5551 Make it C89 compliant
5553 2005-03-03 Marco Pesenti Gritti <marco@gnome.org>
5558 * pdf/pdf-document.cc:
5559 * thumbnailer/Makefile.am:
5560 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
5562 * thumbnailer/evince-thumbnailer.schemas:
5563 * thumbnailer/pdf-icon.png:
5565 Add a nautilus thumbnailer.
5566 Based on patch by Fernando Herrera <fherrera@onirica.com>.
5568 2005-03-02 Marco Pesenti Gritti <marco@gnome.org>
5576 2005-03-01 Kristian Høgsberg <krh@redhat.com>
5578 Use poppler instead of including xpdf source code. Poppler is a
5579 fork of xpdf to build it as a shared library. See
5580 http://freedesktop.org/wiki/Software/poppler.
5582 * pdf/xpdf/*, pdf/goo/*, pdf/splash/*, pdf/fofi/*: Remove included
5585 * pdf/Makefile.am: Build libpdfdocument.a here.
5587 * pdf/GDKSplashOutputDev.cc:
5588 * pdf/GDKSplashOutputDev.h:
5589 * pdf/GnomeVFSStream.cc:
5590 * pdf/GnomeVFSStream.h:
5593 * test-gdk-output-dev.cc
5595 * Thumb.h: Pull these files out of pdf/xpdf and adjust to compile
5598 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
5600 * shell/ev-sidebar-links.c: (ev_sidebar_links_clear_document):
5602 Clear idle stack before unsetting the document
5604 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
5606 * ps/ps-document.c: (ps_document_widget_event),
5607 (ps_document_set_target), (ps_document_finalize),
5608 (ps_document_get_page):
5610 Disconnect the widget event signal on finalize.
5613 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
5615 * ps/ps-document.c: (set_up_page):
5617 If there is no bpixmap create one, even if size
5620 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
5622 * ps/ps-document.c: (ps_document_init), (ps_document_cleanup),
5623 (set_up_page), (document_load), (ps_document_set_zoom):
5625 Default page is 0. Calculate size even when we have no
5628 2005-02-28 Carlos Garcia Campos <carlosgc@gnome.org>
5630 * shell/ev-sidebar.c: expand the selection widget to be always as
5633 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
5635 * shell/ev-sidebar-thumbnails.c:
5636 (ev_sidebar_thumbnails_set_document):
5638 Clear the list store when setting document
5640 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
5642 * shell/ev-page-action.c: (update_entry), (sync_entry),
5643 (activate_cb), (entry_size_request_cb), (create_tool_item),
5646 Use an entry for the page control instead of spinbuttons
5648 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
5650 * data/evince.schemas.in:
5652 Correct confusing string
5654 Sun Feb 27 23:00:31 2005 Jonathan Blandford <jrb@redhat.com>
5656 * shell/ev-sidebar-links.c (do_one_iteration): Handle title links
5657 for real. Gosh, how long has this been broken.
5659 * pdf/xpdf/pdf-document.cc (build_link_from_action): add back the
5660 check for a NULL link. We crash otherwise.
5662 2005-02-27 Marco Pesenti Gritti <marco@gnome.org>
5669 2005-02-25 Sebastien Bacher <seb128@debian.org>
5671 * configure.ac: add the french translation.
5673 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
5675 * shell/ev-window.c:
5677 Remove unused header -> fix distcheck
5679 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
5681 * shell/ev-window.c: (update_window_title),
5682 (ev_window_popup_password_dialog):
5684 Unescape filename for display
5686 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
5688 * pdf/xpdf/pdf-document.cc:
5690 In get_page_size deal with rotation. Also
5691 cleanup the function a bit.
5693 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
5695 * pdf/xpdf/pdf-document.cc:
5697 Fix crash when opening in new window
5699 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
5703 Check ghostscript >= 7
5705 2005-02-25 Pedro Villavicencio <pvillavi@gnome.cl>
5707 * shell/ev-window.c:
5709 Make page width the default sizing mode
5711 2005-02-25 Carlos Garcia Campos <carlosgc@gnome.org>
5712 Marco Pesenti Gritti <marco@gnome.org>
5714 * shell/ev-window.c: Remember the sidebar size
5716 * data/evince.schemas.in: Add a new gconf key to store the size of
5719 2005-02-24 Kai Willadsen <kaiw@itee.uq.edu.au>
5721 * data/evince-ui.xml:
5722 * shell/ev-window.c: (update_action_sensitivity),
5723 (ev_window_cmd_view_reload):
5725 Add a "Reload" action and menu entry
5727 Thu Feb 24 23:07:33 2005 Jonathan Blandford <jrb@redhat.com>
5729 * shell/ev-window.c (hide_sidebar_and_actions): Hide the sidebar
5730 iff the type doesn't support thumbnailing and indexing.
5732 2005-02-24 Martin Kretzschmar <martink@gnome.org>
5734 * configure.ac (ALL_LINGUAS): Added "zh_TW" (Traditional Chinese).
5736 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
5738 * pdf/splash/Splash.cc:
5740 Port fix for a crasher from kde bug
5741 http://bugs.kde.org/show_bug.cgi?id=97131
5743 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
5745 * pdf/xpdf/pdf-document.cc:
5747 Return a link even if it's of an unrecognized
5748 type. Otherwise we go in an infinte cycle.
5750 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
5752 * shell/ev-window.c: (update_sizing_buttons), (update_view_size),
5753 (size_allocate_cb), (ev_window_set_sizing_mode):
5755 Update size when switching mode
5757 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
5759 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
5760 (ev_window_cmd_view_page_width), (update_sizing_buttons),
5761 (ev_window_cmd_view_normal_size):
5763 Fix size toggle buttons behavior
5765 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
5767 * shell/ev-view.c: (ev_view_get_offsets), (view_rect_to_doc_rect),
5768 (doc_rect_to_view_rect), (ev_view_size_allocate),
5769 (expose_bin_window), (ev_view_select_all), (page_changed_callback),
5770 (scale_changed_callback):
5772 Do not cache offsets in size_allocate.
5774 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
5776 * shell/ev-view.c: (ev_view_size_allocate):
5778 Calculate offsets before calling the parent
5779 class (which does a redraw)
5781 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
5783 * pdf/xpdf/pdf-document.cc:
5785 Fix a crasher on exit. Unused code, put a TODO
5787 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
5789 * backend/ev-document.c: (ev_document_class_init),
5790 (ev_document_page_changed), (ev_document_scale_changed):
5791 * backend/ev-document.h:
5793 Separate page/scale notifications
5795 * pdf/xpdf/pdf-document.cc:
5797 Emit the new signals.
5798 Do not display the pdf page in _render, do it
5799 when scale/page are requested.
5801 * ps/ps-document.c: (ps_document_set_zoom),
5802 (ps_document_widget_event):
5805 Emit the new signals.
5807 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
5808 (ev_view_init), (page_changed_callback), (scale_changed_callback),
5809 (ev_view_set_document), (ev_view_zoom), (ev_view_zoom_in),
5810 (ev_view_zoom_out), (size_to_zoom_factor), (ev_view_set_size):
5812 * shell/ev-window.c: (ev_window_cmd_view_normal_size),
5813 (ev_window_cmd_view_page_width), (size_allocate_cb),
5814 (ev_window_set_sizing_mode):
5816 Rework sizing to be pixel based.
5817 There are bugs but should be already way better.
5819 2005-02-23 Marco Pesenti Gritti <marco@gnome.org>
5821 * shell/ev-window.c: (ev_window_init):
5823 Do not allow to shrink sidebar smaller then
5826 2005-02-23 Carlos Garcia Campos <carlosgc@gnome.org>
5828 * shell/ev-sidebar.[ch]
5829 * shell/ev-window.c:
5831 Improved sidebar widget. Fixes #166683
5833 2005-02-23 Tommi Vainikainen <thv@iki.fi>
5835 * shell/ev-view.c (update_find_status_message): Give translators
5836 more flexibility with ngettext plural handling.
5838 Mon Feb 21 17:52:08 2005 Jonathan Blandford <jrb@redhat.com>
5840 * pdf/xpdf/pdf-document.cc (pdf_document_get_page_size): Patch
5841 from Crispin Flowerday <gnome@flowerday.cx> to avoid rendering the
5842 page when we get the page size.
5844 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
5846 * ps/ps-document.c: (ps_document_set_page), (ps_document_get_page):
5848 ps pages are 0 based, convert
5850 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
5852 * ps/ps-document.c: (ps_document_class_init), (ps_document_load):
5854 Initialize correct parent class. Set GError on document load
5856 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
5858 * pdf/xpdf/pdf-document.cc:
5860 Fixup selection offset calculation
5862 * shell/ev-view.c: (view_rect_to_doc_rect),
5863 (doc_rect_to_view_rect), (ev_view_size_allocate),
5864 (expose_bin_window), (ev_view_select_all), (ev_view_copy),
5865 (ev_view_primary_get_cb), (ev_view_motion_notify_event):
5867 Store selection as document relative, so that zooming
5868 and offset changing doesnt break it.
5870 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
5872 * shell/ev-view.c: (ev_view_best_fit):
5874 Do not try to best fit if the view is not realized
5876 2005-02-20 Kostas Papadimas <pkst@gnome.org>
5878 * configure.ac (ALL_LINGUAS): Added "el" (Greek).
5880 Fri Feb 18 16:06:39 2005 Jonathan Blandford <jrb@redhat.com>
5882 * shell/ev-window.c (ev_window_focus_in_event): missed a case.
5884 Fri Feb 18 15:32:57 2005 Jonathan Blandford <jrb@redhat.com>
5886 * shell/ev-window.c: Change the fullscreen toolbar to always be in
5887 the popup window. That prevents it resizing when in full screen
5890 * shell/ev-view.c: Change Zoom epsilon as a bad hack to avoid
5891 multiple rerenders. This pretty much sucks.
5893 * data/evince-ui.xml: Change the fullscreen toolbar to include the
5894 rest of the toolbar.
5896 2005-02-18 Tommi Vainikainen <thv@iki.fi>
5898 * configure.ac (ALL_LINGUAS): Added "fi" (Finnish).
5900 2005-02-17 Alexander Shopov <ash@contact.bg>
5902 * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
5904 2005-02-16 Bryan Clark <clarkbw@cvs.gnome.org>
5906 * shell/ev-window.c: added ellipsis to Print item. Fixes bug 166915
5908 2005-02-16 Marco Pesenti Gritti <marco@gnome.org>
5910 * shell/ev-view.c: (ev_view_realize), (highlight_find_results),
5911 (ev_view_create_invisible_cursor), (ev_view_set_cursor),
5912 (set_document_page), (document_changed_callback),
5913 (ev_view_set_document), (ev_view_find_previous),
5914 (ev_view_hide_cursor), (ev_view_show_cursor):
5916 * shell/ev-window.c: (update_chrome_visibility),
5917 (fullscreen_timeout_cb), (fullscreen_set_timeout),
5918 (fullscreen_clear_timeout), (fullscreen_motion_notify_cb),
5919 (fullscreen_leave_notify_cb), (ev_window_fullscreen),
5920 (ev_window_unfullscreen):
5921 * shell/main.c: (main):
5923 Automatically hide the fullscreen button.
5924 Patch by Kristian Høgsberg <krh@redhat.com>
5926 2005-02-16 Vincent Noel <vnoel@cox.net>
5928 * shell/main.c (main): Specify an icon for the window. Patch by
5929 Jaap A. Haitsma. Fixes #166177.
5931 Wed Feb 16 06:30:13 2005 Jonathan Blandford <jrb@redhat.com>
5933 * shell/ev-view.c (ev_view_realize): get rid of the black flash.
5935 Tue Feb 15 22:27:13 2005 Jonathan Blandford <jrb@redhat.com>
5937 * backend/ev-document-misc.h:
5938 * backend/ev-document-misc.c:
5939 (ev_document_misc_get_page_border_size),
5940 (ev_document_misc_paint_one_page): New function to canonicalize
5941 sizing/painting a border.
5943 * shell/Makefile.am: Remove ev-page-view.c entirely as it's not
5946 * pdf/xpdf/pdf-document.cc: use new function
5948 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
5949 (ev_view_init), (ev_view_set_mode), (ev_view_zoom),
5950 (ev_view_best_fit), (ev_view_fit_width): * shell/ev-view.h: *
5951 shell/ev-window.c: (update_sizing_buttons),
5952 (ev_window_setup_document), (ev_window_cmd_view_zoom_in),
5953 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_best_fit),
5954 (ev_window_cmd_view_page_width), (size_allocate_cb),
5955 (ev_window_set_sizing_mode), (ev_window_init): make the "best fit"
5956 and "fit width" values act as toggle buttons so they stay
5957 toggled. It's not 100% perfect, and it's a little slow, but it's
5958 good enough to commit I think.
5960 2005-02-15 David Lodge <dave@cirt.net>
5962 * configure.ac (ALL_LINGUAS): Added "en_GB" (English (British)).
5964 2005-02-15 Martin Kretzschmar <martink@gnome.org>
5966 * shell/ev-window.c (update_window_title): replace newlines in
5967 the title by spaces. Bug #166107.
5969 2005-02-14 Martin Kretzschmar <martink@gnome.org>
5971 * shell/ev-view.c (ev_view_best_fit, ev_view_fit_width): add
5972 parameters providing allocation width and height without
5973 scrollbars and width of a possible vertical scrollbar. With this
5974 additional information the functions can work as
5975 intended. Unfortunately they're not idempotent. We should
5976 transform these commands to toggles. Fixes Bug #164976
5977 Initial patch by Stephane Loeuillet, then heavily modified.
5979 * shell/ev-view.h: update prototypes.
5981 * shell/ev-window.c (ev_window_cmd_view_best_fit)
5982 (ev_window_cmd_view_page_width): provide EvView fit functions with
5983 all the information they need. Formulas to calculate this
5984 information taken from GtkScrolledWindow.
5986 2005-02-14 Crispin Flowerday <gnome@flowerday.cx>
5988 * shell/ev-sidebar-thumbnails.c: Ensure that after we have
5989 created a thumbnail, the list store is updated to know
5990 that the thumbnail is set. Fixes bug #166792
5992 2005-02-11 Bryan Clark <clarkbw@cvs.gnome.org>
5994 * shell/ev-window.c: fixed typo, closes bug 166897
5996 * TODO: updated TODO with bug numbers that are relevant
5998 2005-02-09 Carlos Garcia Campos <carlosgc@gnome.org>
6000 * shell/ev-window.c: Support for DnD of files. Fixes #164813
6002 2005-02-09 Vincent Noel <vnoel@cox.net>
6004 * shell/ev-window.c: (set_action_properties): Set the "Previous"
6005 and "Next" toolbar buttons as important to make them stand out.
6007 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
6011 * ps/ps-document.c: (ps_document_finalize), (set_up_page),
6012 (start_interpreter), (stop_interpreter), (document_load),
6013 (ps_document_next_page), (ps_document_goto_page),
6014 (ps_document_set_page_size), (ps_document_widget_event),
6015 (ps_document_render):
6016 * shell/ev-page-view.c: (ev_page_view_dispose):
6017 * shell/ev-view.c: (ev_view_finalize), (expose_bin_window):
6019 Fix compilation on non-gcc platforms
6021 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
6028 * pdf/xpdf/Catalog.cc:
6031 Fix the fix for CAN-2004-0888
6033 2005-02-09 Luca Ferretti <elle.uca@libero.it>
6036 * data/evince-ui.xml:
6037 * shell/ev-stock-icons.c: (ev_stock_icons_init):
6038 * shell/ev-stock-icons.h:
6039 * shell/ev-window.c: (update_action_sensitivity),
6040 (ev_window_cmd_go_previous_page), (ev_window_cmd_go_next_page),
6041 (set_action_properties):
6043 Improve toolbar layout/icons
6045 2005-02-08 Marco Pesenti Gritti <marco@gnome.org>
6047 * pdf/xpdf/pdf-document.cc:
6049 Add warnings about unimplemented/unknown link
6052 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
6054 * ps/ps-document.c: (set_up_page):
6058 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
6060 * ps/ps-document.c: (start_interpreter):
6064 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
6066 * shell/ev-page-view.c: (ev_page_view_dispose):
6067 * shell/ev-view.c: (ev_view_finalize):
6068 * shell/ev-window.c: (ev_window_setup_document),
6069 (ev_window_dispose), (ev_window_init):
6071 Solve more refs issues.
6073 I commented out the page_view initialization for now:
6074 it was never destroyed (because it's never added
6075 to a container). Because of that we was leaking
6076 gs processes. Couldnt think to a clean fix.
6077 We need to figure this out, password view has the
6078 same issue probably.
6080 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
6082 * ps/ps-document.c: (ps_document_finalize),
6083 (ps_document_get_n_pages), (ps_document_get_page):
6085 Some cleanups, stop the interpreter on finalize
6087 * shell/ev-page-view.c: (ev_page_view_dispose),
6088 (ev_page_view_class_init):
6090 Release our reference on the document
6092 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
6096 * doc/debugging.txt:
6099 * lib/ev-debug.c: (log_module), (trap_handler), (ev_debug_init),
6100 (ev_profiler_new), (ev_should_profile), (ev_profiler_dump),
6101 (ev_profiler_free), (ev_profiler_start), (ev_profiler_stop):
6104 Add debugging helpers
6107 * ps/ps-document.c: (set_up_page), (start_interpreter),
6108 (stop_interpreter), (document_load), (ps_document_next_page),
6109 (ps_document_goto_page), (ps_document_set_page_size),
6110 (ps_document_widget_event), (ps_document_render):
6111 * shell/Makefile.am:
6112 * shell/ev-view.c: (expose_bin_window):
6113 * shell/main.c: (main):
6117 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
6119 * ps/ps-document.c: (ps_document_widget_event):
6121 Initialize message_window, this should make ps
6122 rendering really work! (Never noticed because I was
6123 testing with a ps that is causing gs to exit every time!)
6125 2005-02-07 Bryan Clark <clarkbw@cvs.gnome.org>
6127 * data/evince.schemas.in: updated simple error in applyto closing tag
6129 2005-02-07 Christian Persch <chpe@cvs.gnome.org>
6135 * data/evince-ui.xml:
6136 A data/evince.schemas.in:
6138 * shell/ev-stock-icons.c: (ev_stock_icons_init):
6139 * shell/ev-stock-icons.h:
6140 * shell/ev-window.c: (update_chrome_visibility),
6141 (update_chrome_flag), (ev_window_cmd_edit_find),
6142 (ev_window_update_fullscreen_popup), (ev_window_fullscreen),
6143 (ev_window_unfullscreen), (ev_window_focus_in_event),
6144 (ev_window_focus_out_event), (ev_window_cmd_leave_fullscreen),
6145 (ev_window_view_toolbar_cb), (ev_window_view_statusbar_cb),
6146 (ev_window_view_sidebar_cb), (find_bar_close_cb),
6147 (ev_window_dispose), (ev_window_class_init),
6148 (set_action_properties), (set_chrome_actions), (load_chrome),
6151 Implement fullscreen mode changes from bug #164776.
6152 Also implement persistent chrome toggles.
6154 2005-02-07 Jordi Mallach <jordi@sindominio.net>
6156 * configure.ac (ALL_LINGUAS): Added "ca" (Catalan).
6158 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
6164 Add another check for find interface
6168 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
6170 * shell/ev-application.c: (ev_application_open):
6171 * shell/ev-window.c: (ev_window_open):
6173 Open gzipped ps documents
6175 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
6178 * shell/ev-view.c: (set_document_page):
6180 Clamp page number, dont try to move to
6183 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
6185 * backend/ev-document-find.c: (ev_document_find_changed):
6186 * backend/ev-document-find.h:
6187 * pdf/xpdf/pdf-document.cc:
6188 * shell/ev-view.c: (jump_to_find_result), (ev_view_set_document):
6189 * shell/ev-window.c: (find_bar_search_changed_cb):
6191 Fix several bugs with find
6193 2005-02-04 Martin Kretzschmar <martink@gnome.org>
6195 * shell/ev-sidebar-thumbnails.c
6196 (ev_sidebar_thumbnails_select_page): do nothing unless we have a
6197 document. Prevents warning from scroll_to_cell.
6199 2005-02-02 Kjartan Maraas <kmaraas@gnome.org>
6201 * configure.ac: Add «nb» to ALL_LINGUAS too.
6203 Wed Feb 2 21:13:11 2005 Jonathan Blandford <jrb@redhat.com>
6205 * NOTES: New file with some random thoughts.
6209 * backend/ev-document-misc.c:
6210 (ev_document_misc_get_page_border_size): New function to
6211 canonicalize shadow drawing sizes. Possibly goofy.
6213 * shell/ev-view.c: (ev_view_size_request), (set_document_page),
6214 (ev_view_best_fit), (ev_view_fit_width):
6215 * pdf/xpdf/pdf-document.cc:
6216 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
6217 * ps/ps-document.c: (ps_document_get_page_size):
6218 * backend/ev-document-misc.h:
6219 * backend/ev-document.c: (ev_document_get_page_size):
6220 * backend/ev-document.h: get_page_size now takes a page number
6221 parameter. Made all the backends/frontends honor it.
6223 * data/evince-ui.xml: Added a multiple-page mode. Uncomment to
6224 see. Doesn't work yet.
6226 * shell/Makefile.am:
6227 * shell/ev-page-view.[ch]: New multi-page view. Really rough.
6228 Doesn't do anything yet.
6230 * shell/ev-sidebar-thumbnails.c:
6231 (ev_sidebar_thumbnails_set_document): [1..n_pages] instead of
6234 * shell/ev-window.c: (update_action_sensitivity),
6235 (ev_window_setup_document), (ev_window_set_page_mode),
6236 (ev_window_page_mode_cb), (ev_window_init): Clean up the
6237 view-swapping code a bit so we can have multiple views on a
6238 document. Add the multi-page view, though it can't be turned on
6241 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
6243 * shell/ev-application.c: (ev_application_open):
6244 * shell/ev-view.c: (expose_bin_window):
6245 * shell/ev-window.c: (ev_window_open):
6247 Support eps and check document supports find
6248 before drawing highlightings in expose.
6250 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
6252 * pixbuf/pixbuf-document.c:
6253 (pixbuf_document_thumbnails_get_dimensions),
6254 (pixbuf_document_document_thumbnails_iface_init):
6256 implement get_dimensions
6258 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
6265 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
6267 * shell/ev-view.c: (set_document_page):
6269 Scroll at the top of the page when changing page
6271 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
6273 * shell/ev-view.c: (ev_view_motion_notify_event):
6275 Do not redraw unnecessarily
6277 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
6279 * pdf/xpdf/pdf-document.cc:
6280 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
6281 (expose_bin_window), (find_changed_cb):
6283 Yay! find works now... Now to find bugs...
6285 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
6287 * backend/ev-document-find.c: (ev_document_find_base_init),
6288 (ev_document_find_changed):
6289 * backend/ev-document-find.h:
6290 * pdf/xpdf/pdf-document.cc:
6291 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
6292 (expose_bin_window), (ev_view_init), (set_document_page),
6293 (ensure_rectangle_is_visible), (jump_to_find_result),
6294 (jump_to_find_page), (find_changed_cb), (ev_view_set_document),
6295 (ev_view_find_next), (ev_view_find_previous):
6297 * shell/ev-window.c: (find_bar_previous_cb), (find_bar_next_cb):
6299 More work on find implementation, mostly there now
6301 2005-01-29 Marco Pesenti Gritti <marco@gnome.org>
6303 * backend/ev-backend-marshalers.list:
6304 * backend/ev-document-find.c: (ev_document_find_base_init),
6305 (ev_document_find_cancel), (ev_document_find_page_has_results),
6306 (ev_document_find_get_n_results), (ev_document_find_get_result),
6307 (ev_document_find_get_progress), (ev_document_find_changed):
6308 * backend/ev-document-find.h:
6310 Enanche the find interface to be really able to do
6313 * pdf/xpdf/pdf-document.cc:
6317 * shell/ev-view.c: (ev_view_finalize), (highlight_find_results),
6318 (expose_bin_window), (ev_view_init),
6319 (ev_view_get_find_status_message), (find_changed_cb),
6320 (ev_view_set_document), (set_document_page):
6322 Adapt to the new interface. A few things are regressed sorry,
6323 I will finish it soon.
6325 2005-01-28 Martin Kretzschmar <martink@gnome.org>
6327 * shell/ev-sidebar-thumbnails.c (ev_sidebar_thumbnails_destroy)
6328 (ev_sidebar_thumbnails_class_init): use G_DEFINE_TYPE-supplied
6329 ev_sidebar_thumbnails_parent_class variable, don't define another
6330 parent_class variable.
6332 * shell/ev-page-action.c (connect_proxy, ev_page_action_finalize)
6333 (ev_page_action_class_init): ditto.
6335 * pixbuf/pixbuf-document.c (pixbuf_document_finalize)
6336 (pixbuf_document_class_init): ditto.
6338 * backend/ev-link.c (ev_window_dispose, ev_link_class_init):
6341 * .cvsignore: ignore various valgrind output files.
6343 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
6345 * data/evince-ui.xml:
6346 * shell/Makefile.am:
6347 * shell/ev-history.c:
6348 * shell/ev-history.h:
6349 * shell/ev-navigation-action.c:
6350 * shell/ev-navigation-action.h:
6351 * shell/ev-view.c: (ev_view_finalize), (ev_view_go_to_link),
6352 (ev_view_set_page), (ev_view_fit_width):
6354 * shell/ev-window.c: (update_action_sensitivity),
6355 (ev_window_setup_document), (register_custom_actions):
6357 Kill session history
6359 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
6361 * shell/ev-window.c: (update_action_sensitivity):
6363 Fix inverted up/down buttons
6365 2005-01-27 Martin Kretzschmar <martink@gnome.org>
6367 * shell/ev-sidebar-thumbnails.c
6368 (ev_sidebar_thumbnails_select_page): make sure the selected
6369 thumbnail stays visible.
6371 2005-01-26 Martin Kretzschmar <martink@gnome.org>
6373 * shell/ev-window.c (ev_window_init): add GTK_SHADOW_IN to the
6374 scrolled window for Federico.
6376 2005-01-26 Ole Laursen <olau@hardworking.dk>
6378 * configure.ac: Added "da" (Danish) to ALL_LINGUAS.
6380 2005-01-26 Marco Pesenti Gritti <marco@gnome.org>
6383 * pdf/splash/SplashFTFontEngine.cc:
6385 Fix CID fonts with freetype 2.1.9
6387 2005-01-26 Bryan Clark <clarkbw@cvs.gnome.org>
6389 * TODO: added item for desktop icon thumbnailer
6391 Tue Jan 25 00:59:34 2005 Jonathan Blandford <jrb@redhat.com>
6393 * pdf/xpdf/pdf-document.cc (pdf_document_get_title): guard against
6394 unloaded docs when the title is accessed.
6396 * shell/ev-password-view.[hc]: New widget for displaying password
6399 * shell/ev-window.[ch]: Refactor password handling code to handle
6402 2005-01-24 Marco Pesenti Gritti <marco@gnome.org>
6410 2005-01-23 Stephane LOEUILLET <stephane.loeuillet@tiscali.fr>
6412 * pdf/xpdf/pdf-document.cc (pdf_document_search_page_changed):
6413 ignore page offset here, to make search results independent of it,
6415 * shell/ev-view.c (expose_bin_window): but take offsets into
6416 account here. Bug #164932
6418 * pdf/xpdf/pdf-document.cc (pdf_document_get_link): divide by
6419 scale at the right time. Bug #164996
6421 2005-01-22 Martin Kretzschmar <martink@gnome.org>
6423 * pdf/xpdf/GlobalParams.cc: My 2005-01-05 change didn't actually
6424 fix the problem. Now I just removed the Adobe font names and hope
6425 that the URW fonts are always in outline format. Bug #164934
6427 * shell/ev-window.c (update_window_title): empty titles are
6428 useless, use filename in that case too.
6430 * NEWS: Add some content.
6432 2005-01-21 Bryan Clark <clarkbw@cvs.gnome.org>
6434 * TODO: added one more TODO item and a TODONE section :)
6436 2005-01-21 Martin Kretzschmar <martink@gnome.org>
6438 * ps/ps-document.h: add page_[xy]_offset fields.
6440 * ps/ps-document.c (ps_document_set_page_offset)
6441 (ps_document_render): Keep offset in consideration in a few
6442 places. Bug #164752 "postscript documents are not centered in
6445 * data/evince.desktop.in (X-GNOME-Bugzilla-Product):
6446 s/gpdf/evince/. Spotted by Stephane Loeuillet.
6448 * pixbuf/pixbuf-document.c (pixbuf_document_get_n_pages)
6449 (pixbuf_document_get_text, pixbuf_document_document_iface_init):
6450 stub out missing methods for complete EvDocument implementation.
6451 Fixes segfaults with Save A Copy and Copy actions.
6453 * ps/ps-document.c (ps_document_save, ps_document_get_text)
6454 (ps_document_document_iface_init): ditto.
6456 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
6460 * data/evince.desktop.in:
6464 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
6466 * shell/ev-view.c: (ev_view_button_press_event),
6467 (ev_view_motion_notify_event):
6469 Make selection work in any direction
6471 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
6474 * shell/ev-window.c: (set_short_labels), (ev_window_init):
6476 Use shorter labels for some of the toolbars items
6478 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
6480 * pdf/xpdf/pdf-document.cc:
6482 Check the links info is initialized before
6483 using it. Should fix a crash on startup.
6485 2005-01-21 Martin Kretzschmar <martink@gnome.org>
6487 * pixbuf/pixbuf-document.c
6488 (pixbuf_document_thumbnails_get_dimensions): force floating point
6489 division to calculate page_ratio. Fixes crash with landscape
6492 Thu Jan 20 18:56:35 2005 Jonathan Blandford <jrb@redhat.com>
6494 * shell/ev-view.c (ev_view_realize): make the bg color darker.
6496 2005-01-20 Martin Kretzschmar <martink@gnome.org>
6498 * shell/ev-view.c (set_document_page): unset has_selection when
6500 (set_document_page): handle paper size changes when the page
6501 changes (test with Free Culture, page 2).
6503 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
6505 * shell/ev-view.c: (ev_view_size_request), (ev_view_realize),
6506 (expose_bin_window), (ev_view_class_init), (ev_view_init):
6508 Use normal style color for the widget background and
6509 draw a black box around the page.
6511 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
6513 * pdf/xpdf/pdf-document.cc:
6515 Keep offset in consideration in a few places
6517 * shell/ev-view.c: (expose_bin_window):
6519 Set the offsets so that the document is ever centered
6521 2005-01-20 Bryan Clark <clarkbw@cvs.gnome.org>
6523 * TODO: Added TODO items and finished off the first todo item
6525 * AUTHORS: Updated AUTHORS section with piece from gpdf file and
6526 reflect current authors
6528 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
6530 * pdf/xpdf/pdf-document.cc:
6531 * shell/ev-view.c: (ev_view_set_cursor),
6532 (ev_view_motion_notify_event), (document_changed_callback),
6533 (set_document_page):
6535 Show a wait cursor while the page is rendering
6537 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
6539 * shell/ev-sidebar-thumbnails.c:
6540 (ev_sidebar_tree_selection_changed),
6541 (ev_sidebar_thumbnails_select_page):
6542 * shell/ev-sidebar-thumbnails.h:
6543 * shell/ev-view.c: (ev_view_set_document), (ev_view_can_go_back),
6544 (ev_view_can_go_forward):
6545 * shell/ev-window.c: (ev_window_open_page),
6546 (ev_window_setup_document), (update_current_page),
6547 (view_page_changed_cb), (ev_window_init):
6548 * shell/ev-window.h:
6550 Ensure thumbnails selection, toolbar page control and
6551 current page are in sync.
6553 2005-01-19 Marco Pesenti Gritti <marco@gnome.org>
6559 Wed Jan 19 01:10:57 2005 Jonathan Blandford <jrb@redhat.com>
6561 * backend/Makefile.am:
6562 * backend/ev-document-links.h:
6563 * backend/ev-document-security.c: (ev_document_security_get_type),
6564 (ev_document_security_has_document_security),
6565 (ev_document_security_set_password):
6566 * backend/ev-document-security.h:
6567 * backend/ev-document.c: (ev_document_error_quark):
6568 * backend/ev-document.h:
6570 * data/evince-password.glade:
6571 * pdf/xpdf/pdf-document.cc:
6572 * shell/Makefile.am:
6573 * shell/ev-password.c: (ev_password_set_bad_password_label),
6574 (ev_window_password_entry_changed_cb), (ev_password_dialog_new),
6575 (ev_password_dialog_get_password),
6576 (ev_password_dialog_set_bad_pass):
6577 * shell/ev-password.h:
6578 * shell/ev-window.c: (ev_window_get_attribute),
6579 (ev_window_set_property), (update_action_sensitivity),
6580 (ev_window_is_empty), (mime_type_supported_by_gdk_pixbuf),
6581 (ev_window_setup_document), (ev_window_get_password),
6582 (ev_window_open), (ev_window_cmd_save_as),
6583 (using_postscript_printer), (ev_window_print),
6584 (find_not_supported_dialog), (ev_window_cmd_edit_find),
6585 (update_fullscreen_popup), (ev_window_fullscreen),
6586 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
6587 (ev_window_focus_out_cb), (ev_window_cmd_help_about),
6588 (menu_item_select_cb), (find_bar_search_changed_cb),
6589 (ev_window_dispose), (ev_window_init):
6591 Add initial support for password-supported dialogs. This could be
6592 a lot cooler, but it'll do for now.
6594 2005-01-18 Marco Pesenti Gritti <marco@gnome.org>
6596 * pdf/xpdf/pdf-document.cc:
6597 * shell/ev-view.c: (status_message_from_link),
6598 (ev_view_set_status), (ev_view_set_cursor),
6599 (ev_view_motion_notify_event), (ev_view_init):
6600 * shell/ev-window.c: (view_status_changed_cb), (ev_window_init):
6602 Fix bugs in the links implementation and change cursor
6603 when hovering a link.
6605 2005-01-17 Bryan Clark <clarkbw@cvs.gnome.org>
6607 * viewer/.cvsignore: added cvsignore file for viewer directory
6609 * TODO: created TODO document
6611 2005-01-14 Dave Malcolm <dmalcolm@redhat.com>
6614 * shell/ev-view.c (ev_view_can_go_back), (ev_view_can_go_forward):
6615 new functions to help with implementation of sensitivity code
6616 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
6617 of all actions that might require it. Fixes a crash when you
6618 click on the Zoom actions in a window lacking a document.
6620 2005-01-13 Dave Malcolm <dmalcolm@redhat.com>
6622 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
6625 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
6627 * pixbuf/pixbuf-document.c: (pixbuf_document_get_link),
6628 (pixbuf_document_document_iface_init):
6629 * ps/ps-document.c: (ps_document_get_link),
6630 (ps_document_document_iface_init):
6631 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event),
6632 (status_message_from_link), (ev_view_set_status),
6633 (ev_view_set_find_status), (ev_view_motion_notify_event),
6634 (ev_view_button_release_event), (ev_view_set_property),
6635 (ev_view_get_property), (ev_view_class_init), (ev_view_init),
6636 (ev_view_get_find_status_message), (update_find_results),
6637 (ev_view_get_status), (ev_view_get_find_status):
6639 * shell/ev-window.c: (view_status_changed_cb),
6640 (view_find_status_changed_cb), (ev_window_init):
6642 View status message support, use it to show the links.
6645 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
6647 * backend/ev-document.c: (ev_document_get_link):
6648 * backend/ev-document.h:
6649 * pdf/xpdf/pdf-document.cc:
6650 * shell/ev-application.c: (ev_application_open):
6651 * shell/ev-application.h:
6652 * shell/ev-sidebar-links.c: (selection_changed_cb):
6653 * shell/ev-view.c: (ev_view_button_release_event), (go_to_link),
6654 (ev_view_go_to_link):
6656 Add support for document links
6658 2005-01-13 Anders Carlsson <andersca@gnome.org>
6660 * shell/ev-page-action.c: (update_spin), (total_pages_changed_cb),
6662 Set the spin button limits correctly.
6664 * shell/ev-sidebar-thumbnails.c:
6665 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init):
6666 Support changing pages by clicking on the thumbnails.
6668 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
6670 * pixbuf/pixbuf-document.c:
6671 (pixbuf_document_thumbnails_get_dimensions),
6672 (pixbuf_document_document_thumbnails_iface_init):
6674 implement get_dimensions
6676 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
6678 * ps/ps-document.c: (ps_document_goto_page):
6680 Fix page switching on multipage documents
6682 2005-01-12 Jeff Muizelaar <jrmuizel@nit.ca>
6684 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
6686 check for NULL before assigning to width and height parameters
6688 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
6690 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
6691 (pixbuf_document_set_property), (pixbuf_document_get_property):
6693 implement get/set properties
6695 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
6697 * pdf/xpdf/pdf-document.cc: (pdf_info_dict_get_string):
6699 return NULL instead of "Unknown", letting the title get set to
6700 the filename when the pdf has no title.
6702 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
6704 * ps/ps-document.c: (ps_document_get_page_count),
6705 (ps_document_goto_page):
6707 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
6709 * shell/ev-history.c: (ev_history_get_property),
6710 (ev_history_set_property), (ev_history_class_init),
6711 (ev_history_add_page), (ev_history_set_current_index):
6712 * shell/ev-navigation-action.c: (ev_navigation_action_set_history),
6713 (activate_menu_item_cb), (new_history_menu_item), (build_menu),
6714 (ev_navigation_action_finalize):
6715 * shell/ev-navigation-action.h:
6716 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
6717 (ev_view_go_forward), (ev_view_get_find_status_message),
6718 (history_index_changed_cb), (ev_view_set_history):
6720 * shell/ev-window.c: (update_total_pages), (ev_window_open),
6721 (update_current_page), (register_custom_actions):
6723 Implement history dropdowns
6725 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
6727 * shell/ev-history.c: (ev_history_init), (ev_history_add_link):
6728 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
6729 (ev_view_go_forward):
6730 * shell/ev-window.c: (register_custom_actions):
6732 Fix several history bugs
6734 2005-01-11 Kjartan Maraas <kmaraas@gnome.org>
6736 * configure.ac: Add «nb» to ALL_LINGUAS.
6738 2005-01-10 Marco Pesenti Gritti <marco@gnome.org>
6740 * backend/Makefile.am:
6741 * backend/ev-bookmark.c:
6742 * backend/ev-bookmark.h:
6743 * backend/ev-document-bookmarks.c:
6744 * backend/ev-document-bookmarks.h:
6745 * backend/ev-document-links.c: (ev_document_links_get_type),
6746 (ev_document_links_has_document_links),
6747 (ev_document_links_begin_read), (ev_document_links_get_link),
6748 (ev_document_links_get_child), (ev_document_links_next),
6749 (ev_document_links_free_iter):
6750 * backend/ev-document-links.h:
6751 * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_title),
6752 (ev_link_set_title), (ev_link_get_uri), (ev_link_set_uri),
6753 (ev_link_get_link_type), (ev_link_set_link_type),
6754 (ev_link_get_page), (ev_link_set_page), (ev_link_get_property),
6755 (ev_link_set_property), (ev_window_dispose), (ev_link_init),
6756 (ev_link_class_init), (ev_link_new_title), (ev_link_new_page),
6757 (ev_link_new_external):
6758 * backend/ev-link.h:
6759 * pdf/xpdf/pdf-document.cc:
6760 * shell/Makefile.am:
6761 * shell/ev-application.c: (ev_application_open_link):
6762 * shell/ev-application.h:
6763 * shell/ev-history.c: (ev_history_add_link), (ev_history_add_page),
6764 (ev_history_get_link_nth):
6765 * shell/ev-history.h:
6766 * shell/ev-sidebar-bookmarks.c:
6767 * shell/ev-sidebar-bookmarks.h:
6768 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
6769 (ev_sidebar_links_class_init), (selection_changed_cb),
6770 (ev_sidebar_links_construct), (ev_sidebar_links_init),
6771 (links_page_num_func), (ev_sidebar_links_new), (stack_data_free),
6772 (do_one_iteration), (populate_links_idle),
6773 (ev_sidebar_links_clear_document), (ev_sidebar_links_set_document):
6774 * shell/ev-sidebar-links.h:
6775 * shell/ev-sidebar.c: (ev_sidebar_set_document):
6776 * shell/ev-view.c: (go_to_link), (ev_view_go_to_link),
6779 * shell/ev-window.c: (ev_window_open_link), (ev_window_init):
6780 * shell/ev-window.h:
6782 Rename bookmark to link, and use "Index" for the sidebar panel.
6784 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
6786 * shell/Makefile.am:
6787 * shell/ev-application.c: (ev_application_open_bookmark):
6788 * shell/ev-application.h:
6789 * shell/ev-history.c: (ev_history_init), (free_links_list),
6790 (ev_history_finalize), (ev_history_class_init),
6791 (ev_history_add_link), (ev_history_add_page),
6792 (ev_history_get_link_nth), (ev_history_get_n_links),
6793 (ev_history_get_current_index), (ev_history_set_current_index),
6795 * shell/ev-history.h:
6796 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
6797 * shell/ev-view.c: (ev_view_finalize), (ev_view_set_document),
6798 (set_document_page), (go_to_bookmark), (ev_view_go_to_bookmark),
6799 (go_to_index), (ev_view_go_back), (ev_view_go_forward),
6802 * shell/ev-window.c: (ev_window_open_bookmark),
6803 (ev_window_cmd_go_back), (ev_window_cmd_go_forward),
6804 (goto_page_cb), (register_custom_actions):
6805 * shell/ev-window.h:
6807 Initial history implementation. Needs work.
6809 2005-01-09 Martin Kretzschmar <martink@gnome.org>
6811 * pdf/xpdf/GDKSplashOutputDev.cc (redraw): fix pixbuf data offset.
6813 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
6815 * cut-n-paste/recent-files/egg-recent-item.c:
6816 * cut-n-paste/recent-files/egg-recent-item.h:
6817 * cut-n-paste/recent-files/egg-recent-model.c:
6818 * cut-n-paste/recent-files/egg-recent-util.c:
6819 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
6820 * cut-n-paste/recent-files/egg-recent-view.c:
6824 2005-01-08 Martin Kretzschmar <martink@gnome.org>
6826 * pdf/splash/Splash.cc (clear, drawPixel, drawSpan, xorSpan, getPixel)
6827 (fillGlyph, fillImageMask, drawImage):
6828 pdf/splash/SplashBitmap.cc (SplashBitmap, ~SplashBitmap, writePNMFile):
6829 pdf/splash/SplashTypes.h:
6830 pdf/xpdf/SplashOutputDev (startPage, getColor, imageSrc): implement RGB8
6831 packed mode for Splash.
6833 * pdf/xpdf/GDKSplashOutputDev.cc (GDKSplashOutputDev, redraw): use
6834 RGB8 packed mode, eliminates the pixbuf data creation loop.
6836 * shell/ev-print-job.c (ev_print_job_finalize)
6837 (ev_print_job_set_property, ev_print_job_get_property)
6838 (ev_print_job_set_gnome_print_job, ev_print_job_set_document)
6839 (ev_print_job_use_print_dialog_settings, idle_print_handler)
6840 (print_closure_finalize, ev_print_job_print): implement
6841 printing (for backends with EvPsExporter)
6843 * shell/ev_print_job.h: update prototypes.
6845 * shell/ev-window.c (ev_window_print): unref print job after
6848 * shell/ev-view.c (ev_view_set_document): don't connect to "found"
6849 unless the document implements the EvDocumentFind interface.
6851 2005-01-08 Satoru SATOH <ss@gnome.gr.jp>
6853 * configure.ac: Added ja to ALL_LINGUAS.
6855 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
6857 * pdf/xpdf/pdf-document.cc:
6859 add a FIXME. We should probably not allocate
6860 a bookmark object every time
6862 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
6864 * shell/ev-application.c: (ev_application_open),
6865 (ev_application_open_bookmark):
6866 * shell/ev-application.h:
6868 Add a way to open bookmarks
6870 * backend/ev-bookmark.c: (ev_bookmark_get_uri),
6871 (ev_bookmark_set_uri), (ev_bookmark_get_property),
6872 (ev_bookmark_set_property), (ev_bookmark_class_init),
6873 (ev_bookmark_new_title), (ev_bookmark_new_link),
6874 (ev_bookmark_new_external):
6876 Support for external uris, better constructors.
6878 * backend/ev-bookmark.h:
6879 * pdf/xpdf/pdf-document.cc:
6880 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
6882 Handle external uris
6884 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
6886 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb),
6887 (ev_sidebar_bookmarks_construct), (do_one_iteration):
6889 Hook up bookmarks navigation
6891 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
6893 * backend/Makefile.am:
6894 * backend/ev-bookmark.c: (ev_bookmark_type_get_type),
6895 (ev_bookmark_get_title), (ev_bookmark_set_title),
6896 (ev_bookmark_get_bookmark_type), (ev_bookmark_set_bookmark_type),
6897 (ev_bookmark_get_page), (ev_bookmark_set_page),
6898 (ev_bookmark_get_property), (ev_bookmark_set_property),
6899 (ev_window_dispose), (ev_bookmark_init), (ev_bookmark_class_init),
6901 * backend/ev-bookmark.h:
6902 * backend/ev-document-bookmarks.c:
6903 (ev_document_bookmarks_get_bookmark):
6904 * backend/ev-document-bookmarks.h:
6905 * pdf/xpdf/pdf-document.cc:
6906 * shell/ev-sidebar-bookmarks.c: (do_one_iteration):
6908 Add a bookmark object to the backend and use it instead of get_values
6910 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
6912 * data/evince-ui.xml:
6914 Cleanup and add select all.
6916 * shell/ev-view.c: (ev_view_select_all),
6917 (ev_view_button_press_event):
6919 * shell/ev-window.c: (ev_window_cmd_edit_select_all):
6922 Clear selection on click.
6924 Fri Jan 7 01:28:58 2005 Jonathan Blandford <jrb@redhat.com>
6926 * shell/ev-sidebar-thumbnails.c
6927 (ev_sidebar_thumbnails_set_document): forgot to unref the
6930 Fri Jan 7 01:22:48 2005 Jonathan Blandford <jrb@redhat.com>
6932 * shell/ev-sidebar-thumbnails.c: fill in the thumbnails starting
6933 at the visible page, not just linearly. This makes it look fast.
6935 Thu Jan 6 18:48:11 2005 Jonathan Blandford <jrb@redhat.com>
6937 * backend/ev-document-misc.c
6938 (ev_document_misc_get_thumbnail_frame): fill in the thumbnail with
6940 * backend/ev-document-thumbnails.h: New interface to get the size
6943 2005-01-06 Jeremy Katz <katzj@redhat.com>
6945 * shell/Makefile.am (evince_SOURCES): Add ev-utils.[ch] so that
6948 Wed Jan 5 15:38:28 2005 Jonathan Blandford <jrb@redhat.com>
6950 * pdf/xpdf/pdf-document.cc (bitmap_to_pixbuf): bypass
6951 GDKSplashOutputDev and just use a normal SplashOutputDev. Speeds
6954 * shell/ev-sidebar-thumbnail.c: start of some profiling code.
6956 2005-01-05 Martin Kretzschmar <martink@gnome.org>
6958 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): match only outline
6959 fonts. Should fix font problems on systems that have the base
6960 fonts in bitmap format. Reported by James Henstridge
6961 <james@jamesh.id.au>.
6963 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
6966 * pdf/xpdf/GfxState.cc:
6968 Fix for CAN-2004-1125
6970 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
6972 * shell/ev-view.c: (ev_view_copy):
6974 * shell/ev-window.c: (ev_window_cmd_edit_copy):
6976 Implement Edit->Copy
6978 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
6980 * backend/ev-document.c: (ev_document_get_text):
6981 * backend/ev-document.h:
6982 * pdf/xpdf/pdf-document.cc:
6983 * shell/ev-view.c: (ev_view_realize), (expose_bin_window),
6984 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
6985 (ev_view_update_primary_selection), (ev_view_button_press_event),
6986 (ev_view_motion_notify_event), (ev_view_button_release_event):
6988 Beginnings of clipboard support. Incomplete but primary sort
6991 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
6993 * shell/ev-view.c: (ev_gdk_color_to_rgb), (draw_rubberband),
6994 (expose_bin_window):
6996 Nicer rubberband drawing, from GtkIconView.
6998 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
7000 * backend/ev-document.c: (ev_document_save):
7001 * backend/ev-document.h:
7002 * data/evince-ui.xml:
7003 * pdf/xpdf/pdf-document.cc:
7004 * shell/ev-window.c: (save_error_dialog), (ev_window_cmd_save_as):
7006 Implement "Save a copy..." menu item
7008 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
7010 * shell/ev-view.c: (ev_view_zoom):
7012 Queue a resize when zoom changes
7014 Wed Jan 5 02:33:06 2005 Jonathan Blandford <jrb@redhat.com>
7016 * backend/ev-document-misc.[ch]: New misc file to do simple drop
7019 * pdf/xpdf/pdf-document.cc: use the drop shadows in both types of
7022 Tue Jan 4 22:32:32 2005 Jonathan Blandford <jrb@redhat.com>
7024 * pdf/xpdf/pdf-document.cc
7025 (pdf_document_thumbnails_get_page_pixbuf): poor man's dropshadow.
7027 Tue Jan 4 21:25:05 2005 Jonathan Blandford <jrb@redhat.com>
7029 * pdf/xpdf/pdf-document.cc: Do real thumbnailing of PDF files.
7030 It's slow, but I'll speed it up next!
7032 2005-01-04 Jeff Muizelaar <jrmuizel@nit.ca>
7034 * shell/main.c (load_files):
7036 use gnome_vfs_make_uri_from_shell_arg so that relative paths work
7037 from the command line and because it seems more appropriate.
7039 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
7041 * data/evince-ui.xml:
7042 * shell/ev-window.c: (update_action_sensitivity),
7043 (ev_window_cmd_go_page_up), (ev_window_cmd_go_page_down):
7045 s/next page/page down
7046 s/previous page/page up
7048 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
7050 * data/evince-ui.xml:
7052 Change the layout to match clarkbw design.
7054 * shell/Makefile.am:
7055 * shell/ev-navigation-action.c: (build_menu), (menu_activated_cb),
7056 (set_tooltip_cb), (connect_proxy), (ev_navigation_action_init),
7057 (ev_navigation_action_finalize),
7058 (ev_navigation_action_set_property),
7059 (ev_navigation_action_get_property),
7060 (ev_navigation_action_class_init):
7061 * shell/ev-navigation-action.h:
7063 Implement clarkbw toolbar navigation controls (incomplete)
7065 * shell/ev-page-action.c: (update_label), (update_spin),
7066 (value_changed_cb), (create_tool_item), (connect_proxy),
7067 (ev_page_action_init), (ev_page_action_finalize),
7068 (ev_page_action_set_property), (ev_page_action_get_property),
7069 (ev_page_action_set_current_page),
7070 (ev_page_action_set_total_pages), (ev_page_action_class_init):
7071 * shell/ev-page-action.h:
7073 Implement a page switcher in the toolbar
7075 * shell/ev-view.c: (ev_view_scroll_view):
7076 * shell/ev-window.c: (update_total_pages), (ev_window_open),
7077 (update_current_page), (view_page_changed_cb), (goto_page_cb),
7078 (register_custom_actions), (ev_window_init):
7080 Change page on PageUp/Down.
7082 Tue Jan 4 03:22:56 2005 Jonathan Blandford <jrb@redhat.com>
7084 * pdf/xpdf/pdf-document.cc
7085 (pdf_document_thumbnails_get_thumbnail): initial stab at
7086 implementing thumbnail support for pdfs. It only does documents
7087 with precached pdfs now.
7089 Mon Jan 3 17:22:25 2005 Jonathan Blandford <jrb@redhat.com>
7091 * shell/ev-sidebar-thumbnails.c (do_one_iteration): move the
7092 thumbnail code into a time-based idle as well. Also, turn off the
7093 shadow temporarily as it's really slow.
7095 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
7097 * backend/ev-document.c: (ev_document_class_init):
7098 * pdf/xpdf/pdf-document.cc:
7099 * shell/ev-window.c: (ev_window_open):
7101 Fix document title bugs and fallback to
7102 filename when not available.
7104 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
7106 * backend/ev-document.c: (ev_document_get_type),
7107 (ev_document_class_init), (ev_document_load),
7108 (ev_document_get_title):
7109 * backend/ev-document.h:
7110 * pdf/xpdf/pdf-document.cc:
7111 * ps/ps-document.c: (ps_document_set_property),
7112 (ps_document_get_property), (ps_document_class_init),
7116 * shell/ev-window.c: (update_window_title), (ev_window_open),
7119 Initial support for document title. Not working yet.
7121 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
7123 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event):
7125 Grab focus on the view when clicking it
7127 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
7129 * shell/ev-marshal.list:
7130 * shell/ev-view.c: (ev_view_realize), (add_scroll_binding),
7131 (ev_view_scroll_view), (ev_view_class_init), (ev_view_init):
7133 Add key bindings to the view. Now if the focus would work
7136 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
7139 * backend/Makefile.am:
7142 * dvi/dvilib/Makefile.am:
7143 * pdf/xpdf/Makefile.am:
7149 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
7151 * shell/ev-view.c: (ev_view_realize):
7153 Fix mouse wheel scrolling
7155 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
7161 * ps/ps-document.c: (catchPipe), (ps_document_init),
7162 (ps_document_class_init), (ps_document_cleanup),
7163 (ps_document_finalize), (send_ps), (ps_document_get_orientation),
7164 (set_up_page), (close_pipe), (is_interpreter_ready),
7165 (interpreter_failed), (output), (input), (start_interpreter),
7166 (stop_interpreter), (file_length), (file_readable),
7167 (check_filecompressed), (check_pdf), (compute_xdpi),
7168 (compute_ydpi), (compute_size), (ps_document_enable_interpreter),
7169 (ps_document_get_type), (ps_document_emit_error_msg),
7170 (document_load), (ps_document_next_page),
7171 (ps_document_get_current_page), (ps_document_get_page_count),
7172 (ps_document_goto_page), (ps_document_set_page_size),
7173 (ps_document_zoom_to_fit), (ps_document_set_zoom),
7174 (ps_document_load), (ps_document_get_n_pages),
7175 (ps_document_set_page), (ps_document_get_page),
7176 (ps_document_widget_event), (ps_document_set_target),
7177 (ps_document_set_scale), (ps_document_set_page_offset),
7178 (ps_document_get_page_size), (ps_document_render),
7179 (ps_document_document_iface_init):
7182 * shell/ev-window.c: (ev_window_open):
7184 Rename GtkGS to PSDocument
7186 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
7188 * ps/gtkgs.c: (gtk_gs_class_init):
7191 Some more leftover...
7193 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
7195 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_get_orientation),
7196 (output), (stop_interpreter), (gtk_gs_emit_error_msg),
7197 (gtk_gs_zoom_to_fit), (gtk_gs_set_zoom):
7200 Remove unused code and make a lot of stuff private
7202 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
7204 * ps/gsdefaults.c: (gtk_gs_defaults_gconf_client),
7205 (gtk_gs_defaults_changed):
7211 Cleanup headers dependencies
7213 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
7218 * ps/gsdefaults.c: (gtk_gs_defaults_get_paper_sizes):
7220 * ps/gtkgs.c: (file_length), (file_readable),
7221 (check_filecompressed), (check_pdf), (gtk_gs_load),
7222 (gtk_gs_get_postscript):
7226 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
7231 * ps/gtkgs.c: (gtk_gs_set_zoom):
7235 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
7237 * ps/gtkgs.c: (gtk_gs_set_zoom), (gtk_gs_set_zoom_mode):
7239 Ensure the page is rerendered when changing zoom
7241 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
7243 * backend/ev-document.c: (ev_document_base_init),
7244 (ev_document_changed):
7245 * backend/ev-document.h:
7247 Add a changed event that is emitted when the page content
7248 changes. This is necessary to deal with the fact that
7249 in ps backend rendering happen asycrounously.
7250 This makes the ps backend mostly work.
7252 * pdf/xpdf/pdf-document.cc:
7256 * ps/gtkgs.c: (set_up_page), (gtk_gs_widget_event),
7257 (ps_document_set_target):
7261 * shell/ev-view.c: (document_changed_callback),
7262 (ev_view_set_document), (ev_view_set_page):
7264 Redraw on the changed signal
7266 2004-12-25 Raphael Higino <raphaelh@cvs.gnome.org>
7268 * configure.ac: Added pt_BR to ALL_LINGUAS.
7270 Fri Dec 24 00:48:44 2004 Jonathan Blandford <jrb@redhat.com>
7272 * backend/ev-document-bookmarks.c:
7273 (ev_document_bookmarks_get_child): *
7274 backend/ev-document-bookmarks.h: * pdf/xpdf/Makefile.am: *
7275 pdf/xpdf/pdf-document.cc: * pdf/xpdf/pdf-document.h: *
7276 shell/Makefile.am: * shell/ev-sidebar-bookmarks.c:
7277 (ev_sidebar_bookmarks_destroy),
7278 (ev_sidebar_bookmarks_class_init),
7279 (ev_sidebar_bookmarks_construct), (stack_data_free),
7280 (do_one_iteration), (populate_bookmarks_idle),
7281 (ev_sidebar_bookmarks_clear_document),
7282 (ev_sidebar_bookmarks_set_document): *
7283 shell/ev-sidebar-bookmarks.h: * shell/ev-sidebar.c:
7284 (ev_sidebar_add_page),
7285 (ev_sidebar_set_document): * shell/ev-window.c: (ev_window_open):
7286 Initial stab at a bookmarks sidebar. It doesn't navigate yet, but
7287 it displays both the topics and the page numbers.
7289 2004-12-23 Kristian Høgsberg <krh@redhat.com>
7291 * shell/ev-window.c (ev_window_view_sidebar_cb): Hook up sidebar
7293 * shell/ev-window.c (toggle_entries): Set sidebar default value to
7296 2004-12-23 Adam Weinberger <adamw@gnome.org>
7298 * configure.ac: Added en_CA to ALL_LINGUAS.
7300 2004-12-23 Martin Kretzschmar <martink@gnome.org>
7302 * ChangeLog: replace bottom of this ChangeLog (merged history of
7303 ggv and gpdf; where all paths were wrong and most of the files are
7304 not even in this tree) with ChangeLog (from arch) of the shell
7307 2004-12-23 Havoc Pennington <hp@redhat.com>
7309 * shell/ev-window.c: hook up potentially-questionable "find
7310 results status text" feature - something involving the sidebar or
7311 scrollbar or a continuous all-pages-on-giant-roll-of-paper-view
7312 might be better in the end.
7314 * shell/ev-view.c (ev_view_get_find_status_message): new function,
7315 with corresponding signal when it should be updated
7317 * shell/eggfindbar.c (egg_find_bar_set_status_text): new function
7319 2004-12-22 Havoc Pennington <hp@redhat.com>
7321 * pdf/xpdf/pdf-document.cc (pdf_document_find_begin): make search
7322 find stuff on other pages, sort of (only returns one result on
7323 invisible pages, to show they have results; updates full results
7324 for a page when you view it). Currently repaints the current page
7325 every time a new result is found on any page, which isn't so nice.
7327 2004-12-22 Havoc Pennington <hp@redhat.com>
7329 * shell/ev-window.c (ev_window_cmd_edit_find): display an error if
7330 the document doesn't support find (better ideas?)
7331 (find_bar_search_changed_cb): handle missing document or document
7332 that doesn't support find
7334 * pdf/xpdf/pdf-document.cc: port to implement the new
7337 * backend/ev-document-find.c: create a new interface for searching
7339 * backend/ev-document.h, backend/ev-document.c: delete the find stuff
7341 2004-12-23 Martin Kretzschmar <martink@gnome.org>
7343 * pdf/xpdf/Makefile.am (libpdfdocument_la_LIBADD): add
7346 * shell/ev-window.c (ev_window_print): add GnomePrintJob to
7347 EvPrintJob constructor arguments.
7349 * backend/ev-ps-exporter.c, backend/ev-ps-exporter.h: interface
7350 for documents that can export PostScript (page by page).
7352 * backend/Makefile.am (libevbackend_la_SOURCES): add them.
7354 * pdf/xpdf/pdf-document.cc (pdf_document_ps_export_begin)
7355 (pdf_document_ps_export_do_page, pdf_document_ps_export_end)
7356 (pdf_document_ps_exporter_iface_init:
7357 Implement EvPSExporter.
7359 * pdf/xpdf/Makefile.am (libxpdf_la_SOURCES): build PSOutputDev.
7361 2004-12-22 Anders Carlsson <andersca@gnome.org>
7363 * backend/Makefile.am:
7364 * backend/ev-document-thumbnails.c:
7365 (ev_document_thumbnails_get_type),
7366 (ev_document_thumbnails_get_thumbnail):
7367 * backend/ev-document-thumbnails.h:
7368 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
7369 (pixbuf_document_thumbnails_get_thumbnail),
7370 (pixbuf_document_document_thumbnails_iface_init):
7371 * shell/Makefile.am:
7372 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_destroy),
7373 (ev_sidebar_thumbnails_class_init), (ev_sidebar_thumbnails_init),
7374 (populate_thumbnails), (ev_sidebar_thumbnails_set_document):
7375 * shell/ev-sidebar-thumbnails.h:
7376 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
7377 (ev_sidebar_set_document):
7378 * shell/ev-utils.c: (gaussian), (create_blur_filter),
7379 (create_shadow), (ev_pixbuf_add_shadow):
7381 Add thumbnail support.
7383 2004-12-22 Martin Kretzschmar <martink@gnome.org>
7385 * shell/ev-window.c (ev_window_cmd_file_print, ev_window_print)
7386 (using_postscript_printer): Set up a print dialog for "PostScript
7389 * shell/ev-print-job.h, shell/ev-print-job.c: stub classes for
7392 * shell/Makefile.am (evince_SOURCES): add ev-print-job.[ch]
7394 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
7396 * ps/gtkgs.c: (gtk_gs_init), (set_up_page),
7397 (ps_document_set_target), (ps_document_get_page_size),
7398 (ps_document_render):
7403 2004-12-22 Christian Rose <menthos@menthos.com>
7405 * configure.ac: Added "sv" to ALL_LINGUAS.
7407 Wed Dec 22 14:47:38 2004 Jonathan Blandford <jrb@redhat.com>
7409 * backend/ev-document-bookmarks.[ch]: new interface to indicate
7410 document supports bookmarks.
7412 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
7414 * ps/ggvutils.c: (ggv_file_readable):
7416 * ps/gtkgs.c: (check_filecompressed), (check_pdf),
7417 (gtk_gs_get_postscript):
7421 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
7423 * ps/gtkgs.c: (gtk_gs_init), (gtk_gs_class_init), (gtk_gs_cleanup),
7424 (gtk_gs_finalize), (gtk_gs_set_center), (set_up_page), (output),
7425 (start_interpreter), (compute_size), (gtk_gs_enable_interpreter),
7426 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_reload),
7427 (gtk_gs_emit_error_msg), (gtk_gs_disable_interpreter),
7428 (gtk_gs_load), (gtk_gs_goto_page), (gtk_gs_set_page_size),
7429 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
7430 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
7431 (gtk_gs_set_antialiasing), (ps_document_load),
7432 (ps_document_render):
7435 Another check point for the ps backend. Now I can get it to show
7438 Wed Dec 22 13:41:01 2004 Jonathan Blandford <jrb@redhat.com>
7440 * shell/ev-sidebar.c (ev_sidebar_set_document): initial sidebar
7441 document setting code.
7443 2004-12-22 Anders Carlsson <andersca@gnome.org>
7445 * shell/eggfindbar.c: (entry_activate_callback):
7446 Animate the next button when activate is pressed.
7448 2004-12-22 Anders Carlsson <andersca@gnome.org>
7450 * shell/ev-window.c: (ev_window_cmd_edit_find),
7451 (update_fullscreen_popup), (ev_window_fullscreen),
7452 (ev_window_unfullscreen), (ev_window_state_event_cb),
7453 (ev_window_focus_out_cb), (find_bar_close_cb), (ev_window_init):
7454 Fix bugs in fullscreen code.
7456 2004-12-22 Anders Carlsson <andersca@gnome.org>
7460 * pixbuf/Makefile.am:
7461 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
7462 (pixbuf_document_load), (pixbuf_document_get_n_pages),
7463 (pixbuf_document_set_page), (pixbuf_document_get_page),
7464 (pixbuf_document_set_target), (pixbuf_document_set_scale),
7465 (pixbuf_document_set_page_offset), (pixbuf_document_get_page_size),
7466 (pixbuf_document_render), (pixbuf_document_begin_find),
7467 (pixbuf_document_end_find), (pixbuf_document_finalize),
7468 (pixbuf_document_class_init),
7469 (pixbuf_document_document_iface_init), (pixbuf_document_init):
7470 * pixbuf/pixbuf-document.h:
7471 * shell/Makefile.am:
7472 * shell/ev-application.c: (ev_application_open):
7473 * shell/ev-window.c: (mime_type_supported_by_gdk_pixbuf),
7477 Tue Dec 21 21:45:43 2004 Soeren Sandmann <sandmann@redhat.com>
7480 * dvi/dvilib/Makefile.am:
7482 * configure.ac: Auto*ify dvi and dvi/dvilib
7484 * dvi/Makefile: Remove from CVS
7486 * dvi/dvilib/dl-pkfont.cc (unpack_bitmap): Fix uchar/uint
7489 * dvi/dvilib/dl-fontdefinition.{cc,hh}: New DviFontMap class
7491 * dvi/dvilib/dl-vffont.{cc,hh}: Many bugfixes to VF code.
7493 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
7496 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_finalize),
7497 (gtk_gs_value_adjustment_changed), (compute_size),
7498 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_new_from_file),
7499 (gtk_gs_center_page), (gtk_gs_load), (gtk_gs_set_page_size),
7500 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
7501 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
7502 (gtk_gs_start_scroll), (gtk_gs_get_postscript),
7503 (gtk_gs_set_adjustments), (gtk_gs_set_available_size),
7504 (ps_document_load), (ps_document_get_n_pages),
7505 (ps_document_set_page), (ps_document_get_page),
7506 (ps_document_set_target), (ps_document_set_scale),
7507 (ps_document_set_page_offset), (ps_document_get_page_size),
7508 (ps_document_render), (ps_document_begin_find),
7509 (ps_document_end_find), (ps_document_document_iface_init):
7511 * shell/Makefile.am:
7512 * shell/ev-window.c: (ev_window_open):
7514 Some work to integrate gtkgs with EvDocument
7516 2004-12-22 Anders Carlsson <andersca@gnome.org>
7518 * shell/ev-window.c: (update_fullscreen_popup),
7519 (screen_size_changed_cb), (destroy_exit_fullscreen_popup),
7520 (exit_fullscreen_button_clicked_cb),
7521 (fullscreen_popup_size_request_cb), (ev_window_fullscreen),
7522 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
7523 (ev_window_state_event_cb), (ev_window_init):
7524 Add fullscreen support from Epiphany.
7526 2004-12-22 Mark McLoughlin <mark@skynet.ie>
7528 * data/ev-stock-zoom-fit-width.png: fit-width
7529 stock icon from gpdf.
7531 * shell/ev-stock-icons.[ch]: copied from gpdf.
7533 * shell/main.c: (main): init stock icons.
7535 * shell/ev-window.c: use the fit-width icon.
7537 * data/evince-ui.xml: add zooming toolbar items.
7539 2004-12-22 Mark McLoughlin <mark@skynet.ie>
7542 (ev_view_best_fit), (ev_view_fit_width): because
7543 get_page_size() returns the scaled page size, we
7544 need to calculate the scale factor relative to
7545 the previous scale factor. Should really just
7546 add get_real_page_size().
7548 2004-12-22 Mark McLoughlin <mark@skynet.ie>
7550 * shell/ev-view.[ch]:
7551 (ev_view_zoom), (ev_view_zoom_in), (ev_view_zoom_out),
7552 (ev_view_normal_size), (ev_view_best_fit), (ev_view_fit_width):
7555 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
7556 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_normal_size),
7557 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width):
7560 * pdf/xpdf/pdf-document.cc:
7561 (pdf_document_begin_find),
7562 (pdf_document_end_find): make static.
7564 2004-12-22 Martin Kretzschmar <martink@gnome.org>
7566 * pdf/xpdf/GlobalParams.h (setupBaseFontsFc): add prototype.
7568 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): maps base font
7569 names to fontconfig patterns.
7570 (setupBaseFontsFc): setupBaseFonts reimplemented using fontconfig.
7572 * pdf/xpdf/pdf-document.cc (pdf_document_load): use
7575 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
7591 Import ggv backend. Not hooked up yet.
7593 2004-12-22 Mark McLoughlin <mark@skynet.ie>
7595 * shell/main.c: (load_files), (main): load files
7596 from the command line.
7598 2004-12-22 Mark McLoughlin <mark@skynet.ie>
7600 * configure.ac: don't require bonobo.
7602 * cut-n-paste/recent-files/*: kill bonobo recent
7605 * shell/ev-window.c:
7606 (ev_window_is_empty): upd.
7607 (unable_to_load), (ev_window_open): load backend
7608 based on the mime type.
7610 2004-12-22 Martin Kretzschmar <martink@gnome.org>
7612 * backend/.cvsignore: ignore generated marshalers source.
7614 * shell/main.c (main): this is not epiphany.
7616 2004-12-22 Havoc Pennington <hp@redhat.com>
7618 * shell/ev-view.c (ev_view_set_document): connect to "found" signal
7619 (expose_bin_window): draw find highlights
7621 * shell/ev-window.c (find_bar_search_changed_cb): implement
7623 * pdf/xpdf/pdf-document.cc (pdf_document_begin_find)
7624 (pdf_document_end_find): implement this interface
7626 * backend/ev-document.c (ev_document_found): add this to emit
7629 Tue Dec 21 23:57:37 2004 Owen Taylor <otaylor@redhat.com>
7631 * data/evince-ui.xml: Add a few more toolbar items.
7633 * shell/ev-window.c: Hook up page navigation toolbar
7636 * shell/ev-view.[ch]: add ev_view_set/get_page and
7637 a page-changed signal.
7639 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc::
7640 Add ev_document_get_page().
7642 * shell/ev-window.c: Sensitize/desensitize navigation
7645 2004-12-21 Havoc Pennington <hp@redhat.com>
7647 * backend/ev-backend-marshal.c,
7648 backend/ev-backend-marshalers.list, backend/Makefile.am: add
7649 marshaler-generator thingy. I'm sure there's a better way to do
7650 this in the modern world.
7652 * backend/ev-document.h (struct _EvDocumentIface): add begin_find,
7653 end_find methods and "found" signal.
7655 * configure.ac: find glib-genmarshal
7657 Tue Dec 21 23:20:35 2004 Jonathan Blandford <jrb@redhat.com>
7659 * shell/ev-sidebar.c: Construct an actual sidebar.
7660 * shell/ev-sidebar-bookmarks.[ch]:
7661 * shell/ev-sidebar-thumbnails.[ch]: Stub out sidebars.
7663 Tue Dec 21 23:05:51 2004 Owen Taylor <otaylor@redhat.com>
7665 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc:
7668 * shell/ev-view.c: Track the size from the document.
7670 Tue Dec 21 22:17:04 2004 Owen Taylor <otaylor@redhat.com>
7672 * pdf/xpdf/pdf-document.cc (pdf_document_load): PDFDoc
7673 constructor assumes ownership of the string passed in.
7675 * shell/ev-window.c (ev_window_open): Destroy the error
7676 dialog once we've displayed it.
7678 Tue Dec 21 21:58:56 2004 Owen Taylor <otaylor@redhat.com>
7680 * pdf/xpdf/pdf-document.cc shell/ev-view.c: Hook things up
7681 a bit, it works! (sort of)
7683 * pdf/xpdf/Makefile.am pdf/xpdf/pdf-document.cc:
7684 Move to .cc since we need to use C++ in the implementation.
7686 * shell/dummy.cc: Add a CC file to force evince
7687 to be linked as a C++ program.
7689 Tue Dec 21 21:07:55 2004 Owen Taylor <otaylor@redhat.com>
7691 * shell/ev-view.[ch]: Start of content-area widget.
7693 * shell/ev-window.c: Create a EvView, update it
7694 as we change documents.
7696 * shell/Makefile.am shell/ev-marshal.list: Add
7697 generated marshalers.
7699 Tue Dec 21 20:28:11 2004 Jonathan Blandford <jrb@redhat.com>
7701 * Makefile.am (SUBDIRS): move shell.
7703 Tue Dec 21 19:28:55 2004 Owen Taylor <otaylor@redhat.com>
7705 * pdf/{goo,fofi,splash,xpdf}/Makefile.am: Switch from
7706 .a to libtool convenience libraries.
7708 * shell/ev-window.c (ev_window_open): Hard code loading
7711 * backend/ev-document.h: Add a boolean return to load(),
7712 fix GError * to GError **.
7714 * pdf/xpdf/pdf-document.[ch] Makefile.am: Add a stub
7715 object for a PDF backend EvDocument.
7717 Tue Dec 21 18:55:06 2004 Søren Sandmann <sandmann@redhat.com>
7719 * dvi/*: New directory with the beginning of a .dvi backend.
7721 2004-12-21 Havoc Pennington <hp@redhat.com>
7723 * shell/eggfindbar.c (egg_find_bar_init): change buttons to
7724 previous/next instead of back/forward
7726 Tue Dec 21 18:26:24 2004 Owen Taylor <otaylor@redhat.com>
7728 * backend/ev-document.[ch]: Fix a couple of problems so
7731 Tue Dec 21 18:20:40 2004 Owen Taylor <otaylor@redhat.com>
7733 * viewer/* backend/* configure.ac Makefile.am: Move viewer directory
7734 to backend/ directory, rename EvViewer to EvDocument.
7736 2004-12-21 Havoc Pennington <hp@redhat.com>
7738 * shell/ev-window.c: hook up the find bar widget; now we just need
7739 a document to find things in
7741 * shell/eggfindbar.c: a find bar widget
7743 Tue Dec 21 17:20:16 2004 Jonathan Blandford <jrb@redhat.com>
7745 * shell/ev-sidebar.[ch]: initial sidebar boilerplate.
7747 Tue Dec 21 16:30:58 2004 Owen Taylor <otaylor@redhat.com>
7749 * pdf/**: Import of xpdf code from gpdf.
7751 * pdf/xpdf/xpdfconfig.h: Move the non-config.h config.h to xpdfconfig.h
7753 * pdf/splash/SplashFTFont.{cc,h} pdf/splash/SplashFTFont.h
7754 pdf/splash/SplashFTFontEngine.h pdf/splash/SplashFTFontFile.h:
7755 Fix FreeType includes.
7757 * pdf/xpdf/{Error.h GnomeVFSStream.cc ImageOutputDev.cc PDFDoc.cc\
7758 pdffonts.cc pdfimages.cc pdfinfo.cc pdftoppm.cc pdftops.cc
7759 pdftotext.cc PSOutputDev.cc PSOutputDev.h SplashOutputDev.h
7760 Stream.cc TextOutputDev.cc XPDFApp.cc xpdf.cc XPDFViewer.cc
7761 pdf/xpdf/Error.h PSOutputDev.h SplashOutputDev.h}:
7762 Include xpdfconfig.h
7764 Tue Dec 21 16:08:17 2004 Jonathan Blandford <jrb@redhat.com>
7766 * shell/ev-window.c (ev_window_dispose): dispose can be called
7769 2004-12-21 Havoc Pennington <hp@redhat.com>
7771 * shell/ev-window.c (ev_window_init): set title to Document Viewer
7774 * data/evince-ui.xml, shell/ev-window.c: add a bunch of stub menu
7775 items; really they should be synced with the strings, etc. from
7776 current gpdf, but just getting the boring typing out of the way
7778 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
7781 * shell/ev-application.c: (window_destroy_cb):
7782 * shell/ev-window.c:
7783 * shell/main.c: (main):
7785 Actually show the window...
7787 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
7790 * shell/Makefile.am:
7791 * shell/ev-application.c: (ev_application_class_init):
7792 * shell/ev-window.c: (ev_window_dispose), (ev_window_class_init):
7796 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
7798 Import to gnome cvs.
7800 * Remove copies of gpdf and ggv trees.
7801 * Rip out all the recursive configure code.
7802 * Remove bonobo machinery.
7803 * viewer/*: GInterfaces that backends should/can implement.
7805 2004-11-09 Martin Kretzschmar <m_kretzschmar@gmx.net>
7807 * shell/ev-window.c (ev_window_cmd_help_about): fix "documentors"
7810 2004-10-28 Martin Kretzschmar <m_kretzschmar@gmx.net>
7812 * shell/ev-application.c (EV_APPLICATION_GET_PRIVATE)
7813 (ev_application_finalize, ev_application_class_init)
7814 (ev_application_init): use GType instance private data for priv.
7816 * shell/ev-window.c (EV_WINDOW_GET_PRIVATE)
7817 (ev_window_finalize, ev_window_class_init)
7818 (ev_window_init): ditto.
7820 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
7822 * shell/ev-application.c (ev_application_new_window): make public
7823 (ev_application_show_initial_window): kill.
7825 * shell/ev-application.h: update prototypes.
7827 * shell/main.cc (main): inline ev_application_show_initial_window.
7829 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
7831 * shell/ev-application.c (ev_application_new_window): impl.
7832 (ev_application_show_initial_window): use it.
7833 (is_window_empty, ev_application_get_empty_window): returns an
7834 existing empty window or a new one.
7835 (ev_application_open): from ev_window_cmd_file_open.
7837 * shell/ev-application.h: update prototypes
7839 * shell/ev-window.c (ev_window_is_empty): impl.
7840 (ev_window_open): make public.
7841 (ev_window_cmd_file_open): use ev_application_open
7843 * shell/ev-window.h: update prototypes, remove unused.
7845 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
7847 * shell/ev-window.c (ev_window_destroy, ev_window_class_init):
7848 move destroy handler out of here...
7850 * shell/ev-application.c, shell/ev-application.h: ...into this new
7851 class. Also handles initial window creation.
7853 * shell/main.cc (main): use EvApplication to create initial
7856 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
7858 * Makefile.am (SUBDIRS): add cut-n-paste
7860 * cut-n-paste/Makefile.am: add
7862 * configure.ac: generate Makefiles in cut-n-paste
7864 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
7866 * shell/ev-window.c (ev_window_dispose): new, unref the ui_manager
7867 (ev_window_class_init): install ev_window_dispose.
7869 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
7871 * shell/ev-window.h, shell/ev-window.c: replace gchar with
7872 char (gchar looks stupid).
7874 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
7876 * po/de.po: updated German translation.
7878 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
7880 * configure.ac: add more pkg-config library checks for gnome-vfs,
7883 * gpdf/configure.in: temporarily disable libpaper
7884 checks. Otherwise I'd have to add the checks for the shell, too.
7886 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7888 * shell/ev-window.c (ev_window_cmd_file_open): add ps+pdf, ps, pdf
7889 and * file filters to the file choose.
7891 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7893 * po/de.po: Updated German translation.
7895 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7897 * shell/ev-window.c: use "S" as mnemonic for Statusbar.
7899 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7901 * data/evince-ui.xml: add View->Toolbar and View->Statusbar.
7903 * shell/ev-window.c (menu_item_select_cb, menu_item_select_cb)
7904 (ev_window_init): implement those menuitems.
7906 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7908 * data/evince-ui.xml: add a toolbar (with FileOpen action)
7910 * shell/ev-window.c (ev_window_init): use the toolbar.
7912 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7914 * shell/ev-window.c (ev_window_init): use menu translations
7916 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7918 * configure.ac: add "de" to ALL_LINGUAS.
7920 * po/de.po: add German translation.
7922 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7924 * Makefile.am (SUBDIRS): add po
7926 * configure.ac: check intltool, glib-gettext etc, generate
7929 * po, po/POTFILES.in, po/POTFILES.skip: new.
7931 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7933 * shell/Makefile.am (INCLUDES): define GNOMELOCALEDIR which we
7934 already use (#ifdef ENABLE_NLS)
7936 * shell/ev-window.c (ev_window_cmd_help_about): fix two star
7937 pointer indirection thinko.
7939 * shell/main.c: include gi18n.h for bindtextdomain etc.
7941 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7943 * shell/ev-window.c (menu_item_select_cb, menu_item_deselect_cb)
7944 (connect_proxy_cb, disconnect_proxy_cb, ev_window_init): show
7945 tooltips for menu items in the statusbar.
7947 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7949 * configure.ac, data/Makefile.am, shell/Makefile.am: use
7950 pkgdatadir drop UIDIR
7952 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7954 * data/evince-ui.xml: Add File->Open menu item
7956 * shell/ev-window.c (ev_window_cmd_file_open): impl. (shows a file
7957 chooser), hook it up in the ui manager.
7959 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7961 * shell/ev-window.c: fix Help->About tooltip.
7963 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7965 * configure.ac: set CFLAGS for libevprivate.
7967 * lib/ev-stock-icons.h, lib/ev-stock-icons.c: stock icon
7968 definitions, factory etc.
7970 * lib/Makefile.am: build libevprivate.a (only stock icon code).
7972 * shell/Makefile.am: link against libevprivate.a.
7974 * shell/ev-window.c (entries): add stock icon to Help->About.
7976 * shell/main.c (main): init stock icon code.
7978 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7980 * lib/recent-files: egg recent files code
7982 * lib/Makefile.am: add.
7984 * Makefile.am: add lib subdir.
7986 * configure.ac: gen. lib/Makefile and lib/recent-files/Makefile,
7987 set CFLAGS for recent-files.
7989 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7991 * configure.ac: disable -ansi and -pedantic gcc flags. They
7992 disable POSIX stuff in stdio.h, but egg-recent uses them.
7994 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7996 * configure.ac: add --disable-deprecated flag (defaults to on in
7999 * shell/Makefile.am (INCLUDES): use it.
8001 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
8003 * shell/main.c: add missing #include.
8005 * shell/ev-window.c: fix for pedantic gcc.
8006 (ev_window_cmd_help_about): split license into paragraphs for
8007 translators and pedantic compilers.
8009 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
8011 * configure.ac: add more warning flags if compiling with gcc from
8012 cvs (or explicitly requested with --enable-more-warnings).
8014 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
8016 * data/evince-ui.xml: add File and File->Close menu.
8018 * shell/ev-window.c (ev_window_cmd_file_close_window): impl.
8019 (ev_window_destroy): quit after destroy.
8020 (ev_window_class_init): override GtkObject::destroy.
8021 (entries): install close_window callback.
8023 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
8025 * Makefile.am (SUBDIRS): add data subdir.
8027 * configure.ac (UIDIR): gen data/Makefile, define UIDIR. Require
8028 gtk+ 2.5.0 for GtkAboutDialog.
8030 * data/Makefile.am, data/evince-ui.xml: add, ui definition for the
8033 * shell/Makefile.am (INCLUDES): propagate UIDIR definition.
8035 * shell/ev-window.c (ev_window_init): create a menubar, using a ui
8037 (ev_window_cmd_help_about): about command, using GtkAboutDialog.
8039 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
8041 * shell/ev-window.c, shell/ev-window.h: Created an EvWindow class.
8043 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
8045 * shell/main.c: make it a trivial gtk+ program, adjust configure.ac
8047 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
8049 * shell/*: Added shell directory boilerplate, build it.
8051 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
8053 * configure.ac, Makefile.am: Added top-level configure.ac and