1 2006-01-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
5 Commit workaround Mozilla problem. Fix for the bug #325919
7 * shell/ev-metadata-manager.c: (parse_value), (parseItem),
10 Fix for year 2038 problem.
12 2006-01-06 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
14 * shell/ev-window.c: (setup_document_from_metadata),
15 (ev_window_cmd_view_reload):
17 Clamp page recieved from metadata in valid values. Fix
20 2006-01-06 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
23 Add MAINTAINERS as requested on desktop-devel-list.
25 2006-01-06 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
27 * backend/ev-document-factory.c: (gdk_pixbuf_mime_type_list),
28 (mime_type_supported_by_gdk_pixbuf),
29 (ev_document_factory_get_mime_types),
30 (ev_document_factory_get_all_mime_types):
32 Don't add pixbuf mime types if pixbuf backend is disabled.
34 * shell/ev-application.c: (ev_application_get_uri_window):
36 Fix for the bug 325815 - unhandled MIME type message doesn't
39 * shell/ev-document-types.c: (ev_document_types_add_filters):
40 * shell/ev-window.c: (page_changed_cb), (ev_window_setup_document),
41 (password_dialog_response), (ev_window_popup_password_dialog),
42 (ev_window_load_job_cb), (ev_window_sidebar_position_change_cb),
43 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
44 (ev_window_run_presentation), (ev_window_stop_presentation),
45 (save_sizing_mode), (ev_window_zoom_changed_cb),
46 (ev_window_continuous_changed_cb), (ev_window_rotation_changed_cb),
47 (ev_window_dual_mode_changed_cb),
48 (ev_window_sidebar_current_page_changed_cb),
49 (ev_window_sidebar_visibility_changed_cb), (ev_window_dispose),
50 (window_state_event_cb), (window_configure_event_cb):
52 Cleanup additional uris holded by EvWindow.
54 2006-01-06 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
56 * shell/ev-view.c: (ev_view_scroll), (ev_view_previous_page),
57 (ev_view_can_previous_page), (ev_view_can_next_page):
59 * shell/ev-window.c: (update_action_sensitivity):
61 Two page scrolling with Space and PageUp in dual mode. Second fix
64 2006-01-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
66 * shell/ev-view.c: (scroll_to_current_page):
68 Correctly clamp adjustment value. Fix for the bug
71 2006-01-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
73 * shell/ev-sidebar-links.c: (print_section_cb):
74 * shell/ev-window.c: (ev_window_get_uri),
75 (ev_window_close_dialogs), (ev_window_open_uri), (ev_window_print),
76 (ev_window_print_dialog_response_cb), (ev_window_print_range),
79 Make print dialog non-modal. Fix for the bug #325622.
81 2006-01-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
83 * shell/ev-metadata-manager.c:
84 * shell/ev-utils.c: (using_pdf_printer),
85 (using_postscript_printer), (load_print_config_from_file),
86 (save_print_config_to_file):
88 * shell/ev-window.c: (update_sizing_buttons), (page_changed_cb),
89 (update_sidebar_visibility), (setup_sidebar_from_metadata),
90 (setup_view_from_metadata), (ev_window_setup_document),
91 (ev_window_load_job_cb), (ev_window_sidebar_position_change_cb),
92 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
93 (ev_window_run_presentation), (ev_window_stop_presentation),
94 (save_sizing_mode), (ev_window_zoom_changed_cb),
95 (ev_window_continuous_changed_cb), (ev_window_rotation_changed_cb),
96 (ev_window_dual_mode_changed_cb),
97 (ev_window_sidebar_current_page_changed_cb),
98 (ev_window_sidebar_visibility_changed_cb), (ev_window_dispose),
99 (window_state_event_cb), (window_configure_event_cb),
102 Setting saving behaviour fixes.
104 2005-12-30 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
108 Make antialiasing gs options better and allow
109 to change them during configure. Fix for the
112 2005-12-29 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
114 * shell/ev-window.c: (setup_view_from_metadata):
116 Remember if last window was maximized. Fix for the
119 2005-12-28 Abel Cheung <maddog@linuxhall.org>
121 * configure.ac: Added "zh_HK" to ALL_LINGUAS.
123 2005-12-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
125 * backend/ev-link.c: (ev_link_get_page), (ev_link_init):
126 * shell/ev-page-action.c: (build_new_tree_cb):
127 * shell/ev-sidebar-links.c: (links_page_num_func),
128 (update_page_callback_foreach), (update_page_callback):
129 * shell/ev-view.c: (scroll_to_current_page):
131 Fix for the bug #325067 with more intelligent selection
132 of current link in sidebar. Make sidebar handle links
133 of FITR-like type more correctly.
135 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
136 (dvi_pixbuf_put_pixel):
138 Fix memory consumtion with disabled alpha channel.
140 2005-12-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
142 * data/evince-ui.xml:
143 * shell/ev-window.c: (view_menu_popup_cb),
144 (ev_popup_cmd_open_link), (ev_window_init):
146 Update context menu for internal links. Fix for the bug
149 2005-12-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
151 * shell/ev-view.c: (ev_view_popup_menu), (ev_view_class_init):
153 Bind context menu to keyboard also. Fix for the bug
156 2005-12-27 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
158 * shell/ev-view.c: (selection_scroll_timeout_cb):
160 Horizontal scroll on selection also.
162 2005-12-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
164 * shell/ev-metadata-manager.c: (parse_value):
165 * shell/ev-view.c: (goto_xyz_link):
167 Correct zoom setup and metadata save broken in
170 2005-12-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
172 * shell/ev-view-private.h:
173 * shell/ev-view.c: (scroll_to_current_page),
174 (view_set_adjustment_values), (goto_fitr_link), (goto_fitv_link),
175 (goto_fith_link), (goto_fit_link), (goto_xyz_link),
176 (page_changed_cb), (ev_view_set_continuous),
177 (ev_view_set_dual_page), (ev_view_set_presentation):
179 Delay scroll until allocation to correctly position page. Fix
182 2005-12-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
187 Update NEWS and require poppler 0.5.0.
189 2005-12-25 Carlos Garcia Campos <carlosgc@gnome.org>
191 * data/evince-ui.xml:
192 * shell/ev-view-private.h:
193 * shell/ev-view.c: (ev_view_get_link_at_location),
194 (handle_link_over_xy), (ev_view_button_press_event),
195 (ev_view_button_release_event), (ev_view_class_init):
196 * shell/ev-window.c: (view_menu_popup_cb), (ev_window_dispose),
197 (ev_popup_cmd_open_link), (ev_popup_cmd_copy_link_address),
200 Implement right-click context menu.
202 2005-12-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
204 * djvu/djvu-document.c: (djvu_document_thumbnails_get_thumbnail):
205 * dvi/pixbuf-device.c: (dvi_pixbuf_create_image),
206 (mdvi_pixbuf_device_render):
209 Don't generate thumbnails with alpha. See bug #324077.
210 Thanks to Jeroen Zwartepoorte <jeroen.zwartepoorte@gmail.com>.
212 2005-12-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
214 * shell/ev-window.c: (setup_chrome_from_metadata):
216 Fix typo that was hiding toolbar.
218 2005-12-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
220 * shell/ev-view-private.h:
221 * shell/ev-view.c: (ev_view_realize), (selection_update_idle_cb),
222 (selection_scroll_timeout_cb), (ev_view_motion_notify_event),
223 (ev_view_button_release_event), (ev_view_destroy):
225 Small cleanup and autoscrolling during selection. Thanks to
226 Ricardo Markiewicz <rmarkie@fi.uba.ar>.
228 2005-12-22 Jani Monoses <jani.monoses@gmail.com>
232 Correctly check for comics option.
234 2005-12-21 Eduardo Lima <eduardo.lima@indt.org.br>
237 * backend/Makefile.am:
238 * backend/ev-document-factory.c:
239 * shell/ev-document-types.c:
241 Included option in configure to make ps backend
242 compilation optional with --disable-ps.
244 2005-12-20 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
246 * backend/ev-document-factory.c:
247 * comics/Makefile.am:
248 * comics/comics-document.c: (comics_document_load):
249 * comics/ev-cbr-mime.xml:
252 Comics mime types are added to shared-mime-info CVS. Now
253 we don't need to install our own mime types.
255 2005-12-20 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
259 Add shortcut for "save a copy" menu entry. Fix for
262 2005-12-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
264 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info),
265 (job_finished_cb), (new_selection_pixbuf_needed),
266 (ev_pixbuf_cache_get_selection_pixbuf), (update_job_selection),
267 (clear_job_selection), (ev_pixbuf_cache_set_selection_list):
269 Rework selection job info logic and fix critical warning.
271 2005-12-17 Abel Cheung <maddog@linuxhall.org>
273 * configure.ac: Added "cy" "fa" "mk" "vi" to ALL_LINGUAS.
275 2005-11-27 Jaap A. Haitsma <jaap@haitsma.org>
277 * data/evince-ui.xml:
278 * shell/ev-window.c: (ev_window_set_view_accels_sensitivity):
280 Enter as shortcut key for next page. Fix for the bug
283 2005-11-18 Ales Nyakhaychyk <nab@mail.by>
285 * configure.ac: Added "be" (Belarusian) to ALL_LINGUAS.
287 2005-11-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
289 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info),
290 (job_finished_cb), (copy_job_to_job_info), (add_job_if_needed),
291 (new_selection_pixbuf_needed),
292 (ev_pixbuf_cache_get_selection_pixbuf), (update_job_selection),
293 (clear_job_selection):
295 Too early for 0.5. Pixbuf cache code cleaned a bit.
297 2005-11-14 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
302 Release 0.5.0 preparation
304 2005-11-14 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
306 * comics/Makefile.am:
308 * shell/ev-document-types.c: (ev_document_types_add_filters):
310 More advanced handling of custom mime type installation.
312 2005-11-14 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
314 * data/evince.schemas.in:
315 * shell/ev-metadata-manager.c: (value_free),
316 (ev_metadata_manager_get_last), (ev_metadata_manager_set_last),
317 (ev_metadata_manager_get), (ev_metadata_manager_set):
318 * shell/ev-metadata-manager.h:
319 * shell/ev-window.c: (update_chrome_flag),
320 (ev_window_cmd_focus_page_selector), (update_sidebar_visibility),
321 (setup_document_from_metadata), (setup_chrome_from_metadata),
322 (setup_sidebar_from_metadata), (setup_view_from_metadata),
323 (ev_window_cmd_edit_find), (ev_window_cmd_escape),
324 (ev_window_view_toolbar_cb),
325 (ev_window_sidebar_visibility_changed_cb), (find_bar_close_cb),
326 (view_actions_focus_in_cb), (ev_window_init), (ev_window_new):
328 Save last document settings and reuse them for new documents.
330 2005-11-14 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
333 * backend/Makefile.am:
334 * backend/ev-document-factory.c:
335 * backend/ev-document-factory.h:
336 * comics/Makefile.am:
337 * comics/comics-document.c: (G_DEFINE_TYPE_WITH_CODE),
338 (comics_document_load), (comics_document_save),
339 (comics_document_get_n_pages), (comics_document_get_page_size),
340 (get_page_size_area_prepared_cb), (comics_document_render_pixbuf) (render_pixbuf_size_prepared_cb), (comics_document_finalize),
341 (comics_document_class_init), (comics_document_can_get_text),
342 (comics_document_get_info), (comics_document_document_iface_init),
343 (comics_document_init), (get_supported_image_extensions),
344 (comics_document_thumbnails_get_geometry),
345 (comics_document_thumbnails_get_thumbnail),
346 (comics_document_thumbnails_get_dimensions),
347 (comics_document_document_thumbnails_iface_init), (extract_argv):
348 * comics/comics-document.h:
349 * comics/ev-cbr-mime.xml:
352 * shell/ev-application.c: (ev_application_register_service):
353 * shell/ev-document-types.c: (ev_document_types_add_filters):
354 * thumbnailer/Makefile.am:
355 * thumbnailer/evince-thumbnailer-comics.schemas.in:
357 New CBR/CBZ backend for comic books.
359 2005-11-10 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
361 * shell/main.c: (load_files_remote):
363 Thanks to Robert McQueen <robot101@debian.org>. Dbus
364 warning on startup of second instance is fixed. It
367 2005-10-30 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
369 * shell/ev-window.c: (ev_window_finalize):
371 Fix double free that cause crash.
373 2005-10-29 Bastien Nocera <hadess@hadess.net>
375 * tiff/tiff-document.c: (tiff_document_load):
379 2005-10-29 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
383 * shell/ev-view-accessible.c: (ev_view_accessible_get_priv),
384 (ev_view_accessible_free_priv), (ev_view_accessible_class_init),
385 (ev_view_accessible_get_text),
386 (ev_view_accessible_get_character_at_offset),
387 (ev_view_accessible_get_text_before_offset),
388 (ev_view_accessible_get_text_at_offset),
389 (ev_view_accessible_get_text_after_offset),
390 (ev_view_accessible_get_character_count),
391 (ev_view_accessible_get_caret_offset),
392 (ev_view_accessible_set_caret_offset),
393 (ev_view_accessible_get_run_attributes),
394 (ev_view_accessible_get_default_attributes),
395 (ev_view_accessible_get_character_extents),
396 (ev_view_accessible_get_offset_at_point),
397 (ev_view_accessible_get_n_selections),
398 (ev_view_accessible_get_selection),
399 (ev_view_accessible_add_selection),
400 (ev_view_accessible_remove_selection),
401 (ev_view_accessible_set_selection),
402 (ev_view_accessible_text_iface_init),
403 (ev_view_accessible_idle_do_action),
404 (ev_view_accessible_action_do_action),
405 (ev_view_accessible_action_get_n_actions),
406 (ev_view_accessible_action_get_description),
407 (ev_view_accessible_action_get_name),
408 (ev_view_accessible_action_set_description),
409 (ev_view_accessible_action_iface_init),
410 (ev_view_accessible_get_type), (ev_view_accessible_new),
411 (ev_view_accessible_factory_get_accessible_type),
412 (ev_view_accessible_factory_create_accessible),
413 (ev_view_accessible_factory_class_init),
414 (ev_view_accessible_factory_get_type):
415 * shell/ev-view-accessible.h:
416 * shell/ev-view-private.h:
417 * shell/ev-view.c: (ev_view_get_accessible), (ev_view_class_init):
420 Initial accessibility support.
422 2005-10-27 Erdal Ronahi <erdal.ronahi@gmail.com>
424 * configure.ac: Added ku (Kurdish) to ALL_LINGUAS
426 2005-10-26 Hubert Figuiere <hfiguiere@teaser.fr>
428 * shell/ev-print-job.c: (idle_print_handler):
430 Fix for bug Bug 318916: Printing multiple pages.
432 2005-10-20 Runa Bhattacharjee <runa@bengalinux.org>
434 * configure.ac: Added "bn" (Bengali) to ALL_LINGUAS.
436 2005-10-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
440 Thumnail dimensions unified with other backends.
442 * shell/ev-window-title.c: (ev_window_title_update):
446 2005-10-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
448 * data/ev-stock-zoom-fit-width.png:
452 2005-10-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
455 * djvu/djvu-document.c: (djvu_document_load), (djvu_document_save),
456 (djvu_document_finalize):
457 * dvi/dvi-document.c: (dvi_document_load), (dvi_document_save),
458 (dvi_document_finalize):
459 * pixbuf/pixbuf-document.c: (pixbuf_document_load),
460 (pixbuf_document_save), (pixbuf_document_finalize):
461 * tiff/tiff-document.c: (tiff_document_load), (tiff_document_save),
462 (tiff_document_finalize):
464 Save a copy implemented for various backends.
466 2005-10-17 Daniel Gryniewicz <dang@gentoo.org>
470 Don't link with ltiff if tiff is disabled.
472 2005-10-14 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
474 * pdf/GDKSplashOutputDev.cc:
475 * pdf/GDKSplashOutputDev.h:
478 * pdf/pdf-document.cc:
479 * pdf/pdf-document.h:
480 * pdf/test-gdk-output-dev.cc:
482 Remove old unused files.
484 2005-10-12 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
486 * shell/ev-window.c: (ev_window_setup_document):
488 Fixed warnings on reload and probably crash reason.
490 2005-10-12 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
492 * properties/ev-properties-view.c:
493 (ev_properties_view_format_date):
495 Check if date is invalid. Fix for bug 318134.
497 2005-10-02 Wouter Bolsterlee <uws+gnome@xs4all.nl>
499 * shell/ev-window-title.c:
501 Add .indd files (Adobe Indesign) to the list of "bad
504 2005-10-02 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
506 * data/evince-ui.xml:
507 * shell/ev-window.c: (ev_window_set_view_accels_sensitivity):
509 Add <ctrl>KP_Add and <ctrl>KP_Substract bindings.
511 2005-09-27 Christian Persch <chpe@cvs.gnome.org>
513 * shell/ev-window.c: (launch_link), (launch_external_uri),
514 (view_external_link_cb):
516 URL-escape link before passing it to gnome_vfs_url_show.
518 2005-09-27 Carlos Garcia Campos <carlosgc@gnome.org>
520 * shell/ev-view.[ch], shell/ev-window.c: Disable copy action when
521 there isn't text selected.
523 2005-09-27 Marco Pesenti Gritti <mpg@redhat.com>
525 * shell/ev-view.c: (handle_link_over_xy):
527 Check tooltip is valid utf8 before showing it
529 2005-09-27 Carlos Garcia Campos <carlosgc@gnome.org>
531 * shell/ev-view.c: Allow drag and drop of text. Fixes #316772
533 2005-09-27 Christian Persch <chpe@cvs.gnome.org>
535 * shell/ev-window-title.c: (ev_window_title_update):
537 Guard against using g_strstrip on NULL. Fixes bug #317291.
539 2005-09-26 Marco Pesenti Gritti <mpg@redhat.com>
543 Show title even for unknown links
545 2005-09-26 Marco Pesenti Gritti <mpg@redhat.com>
547 * shell/ev-window-title.c: (ev_window_title_update):
549 Strip the title string
551 2005-09-26 Marco Pesenti Gritti <mpg@redhat.com>
553 * shell/ev-window-title.c:
555 Add .rtf to the bad extensions list
557 2005-09-26 Marco Pesenti Gritti <mpg@redhat.com>
559 * shell/ev-view.c: (doc_point_to_view_point), (goto_fitr_link),
560 (goto_fitv_link), (goto_fith_link), (goto_xyz_link):
562 Ignore link coordinates if they are outside page bounds
564 2005-09-26 Marco Pesenti Gritti <mpg@redhat.com>
566 * backend/ev-link.c: (ev_link_type_get_type),
567 (ev_link_get_filename), (ev_link_get_params),
568 (ev_link_get_property), (ev_link_set_property),
569 (ev_window_dispose), (ev_link_class_init), (ev_link_new_launch):
572 * shell/ev-view.c: (ev_view_goto_link), (ev_view_class_init):
573 * shell/ev-window.c: (launch_link), (view_external_link_cb),
576 Implement launch links. Delegate external link opening to
579 2005-09-24 Marco Pesenti Gritti <mpg@redhat.com>
581 * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_bottom),
582 (ev_link_get_right), (ev_link_get_property),
583 (ev_link_set_property), (ev_link_class_init),
584 (ev_link_new_page_fitv), (ev_link_new_page_fitr):
587 * shell/ev-view.c: (goto_fitr_link), (ev_view_goto_link):
591 2005-09-24 Marco Pesenti Gritti <mpg@redhat.com>
593 * shell/ev-view.c: (ev_view_get_width), (ev_view_get_height),
594 (goto_fitv_link), (goto_fith_link), (goto_fit_link),
595 (ev_view_goto_link), (ev_view_size_request_continuous_dual_page),
596 (ev_view_size_request_continuous),
597 (ev_view_size_request_dual_page),
598 (ev_view_size_request_single_page), (ev_view_size_allocate),
599 (ev_view_zoom_for_size_continuous_and_dual_page),
600 (ev_view_zoom_for_size_continuous),
601 (ev_view_zoom_for_size_dual_page),
602 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
603 (ev_sizing_mode_get_type):
605 * shell/ev-window.c: (ev_window_sizing_mode_changed_cb):
607 Do not use modes for link, we need to calculate size ad hoc.
608 Still not perfect because of the usual scrollbar issues grrr.
610 2005-09-24 Marco Pesenti Gritti <mpg@redhat.com>
612 * backend/ev-link.c: (ev_link_type_get_type),
613 (ev_link_new_page_fith), (ev_link_new_page_fitv):
616 * shell/ev-view.c: (goto_fitv_link), (goto_fith_link),
617 (ev_view_goto_link), (ev_view_size_request_continuous_dual_page),
618 (ev_view_size_request_continuous),
619 (ev_view_size_request_dual_page),
620 (ev_view_size_request_single_page), (ev_view_size_allocate),
621 (zoom_for_size_fit_height),
622 (ev_view_zoom_for_size_continuous_and_dual_page),
623 (ev_view_zoom_for_size_continuous),
624 (ev_view_zoom_for_size_dual_page),
625 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
626 (ev_sizing_mode_get_type):
628 * shell/ev-window.c: (ev_window_sizing_mode_changed_cb):
630 Implement FIT_HEIGHT mode (only for links).
633 2005-09-24 Marco Pesenti Gritti <mpg@redhat.com>
635 * shell/ev-window-title.c: (get_filename_from_uri),
636 (ev_window_title_sanitize_extension), (ev_window_title_update),
637 (ev_window_title_set_document), (ev_window_title_set_uri),
638 (ev_window_title_free):
639 * shell/ev-window-title.h:
640 * shell/ev-window.c: (ev_window_setup_document),
641 (ev_window_popup_password_dialog):
643 Refactor window title building while fixing it for
646 2005-09-24 Marco Pesenti Gritti <mpg@redhat.com>
650 Escape link title before setting it in the model
652 2005-09-23 Marco Pesenti Gritti <mpg@redhat.com>
654 * shell/ev-application.c: (removed_from_session), (save_session),
655 (init_session), (ev_application_get_empty_window),
656 (ev_application_init), (ev_application_get_windows):
657 * shell/ev-application.h:
658 * shell/ev-window.c: (ev_window_finalize):
660 Add a function to retrieve window list and share it where
662 Implement session handling, works pretty well thanks to the
665 2005-09-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
667 * shell/ev-password.c: (ev_password_item_created_callback),
668 (ev_password_dialog_save_password):
670 Fix for bug 316972. Use async gnome-keyring API.
672 2005-09-22 Christian Persch <chpe@cvs.gnome.org>
674 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_class_init):
675 Remove unused unrealize handler. Add scroll handling to
676 ev_view_scroll_event for presentation mode (bug #316708),
677 and fix the event state checks there.
679 2005-09-22 Marco Pesenti Gritti <mpg@redhat.com>
681 * shell/ev-page-action.c: (page_changed_cb):
683 "marco, maybe we should be crazy and jump right to 6! :)"
685 Bryan Clark, Sep 2005
687 2005-09-22 Marco Pesenti Gritti <mpg@redhat.com>
689 * ps/ps-document.c: (save_document), (ps_document_save),
690 (ps_document_ps_export_begin), (ps_document_ps_export_do_page),
691 (ps_document_ps_export_end):
693 Fix unstructured documents save and print
695 2005-09-22 Marco Pesenti Gritti <mpg@redhat.com>
697 * shell/ev-application.c: (ev_application_open_uri):
699 Fix window size persistance
701 2005-09-22 Marco Pesenti Gritti <mpg@redhat.com>
703 * shell/ev-view.c: (ev_view_button_release_event):
705 Based on a patch from carlosgc@gnome.org. Mouse buttons
706 switch pages in presentation mode.
708 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
710 * shell/ev-page-cache.c: (ev_page_cache_get_size):
712 Dont cast to int before scaling
714 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
716 * backend/ev-link.c: (ev_link_type_get_type),
717 (ev_link_new_page_xyz), (ev_link_new_page_fit),
718 (ev_link_new_page_fith):
721 * shell/ev-view.c: (goto_fith_link), (ev_view_goto_link):
723 Implement FIT and FITH links
725 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
729 Return 0 results when search is not in progress.
731 * shell/ev-window.c: (ev_window_cmd_go_previous_page),
732 (ev_window_cmd_go_next_page), (find_bar_search_changed_cb):
734 Update menu sensitivity when cancelling search
736 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
738 * shell/ev-view.c: (ev_view_can_find_next):
740 Take all pages in consideration, not just current one
742 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
744 * shell/ev-page-cache.c:
745 * shell/ev-page-cache.h:
746 * shell/ev-view.c: (ev_view_binding_activated),
747 (ev_view_next_page), (ev_view_previous_page),
748 (ev_sizing_mode_get_type):
750 * shell/ev-window.c: (ev_window_cmd_go_previous_page),
751 (ev_window_cmd_go_next_page):
753 Move page next/previous functions from page chace to
754 view and change it to move by 2 page steps in dual mode.
756 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
758 * shell/ev-window.c: (update_sidebar_visibility),
759 (setup_sidebar_from_metadata), (ev_window_setup_document),
760 (setup_view_from_metadata):
762 Show the index by default when there is one
764 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
766 * shell/ev-window-title.c: (ev_window_title_set_document):
770 2005-09-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
772 * shell/ev-view.c: (view_update_range_and_current_page):
774 Allow display of last odd page in dual view. Fix for 316347.
776 2005-09-17 Wouter Bolsterlee <uws+gnome@xs4all.nl>
778 * shell/ev-window.c: (ev_window_cmd_edit_toolbar):
780 Make close button default. Fix for 316383.
782 2005-09-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
784 * shell/ev-properties-dialog.c: (ev_properties_dialog_init):
786 Mark close button as default. Fix for 316381.
788 2005-09-16 Marco Pesenti Gritti <mpg@redhat.com>
790 * backend/ev-link.c: (ev_link_class_init):
792 Allow negative doubles in left/top properties
794 2005-09-16 Marco Pesenti Gritti <mpg@redhat.com>
798 Remove a bunch of strings that was used only
801 2005-09-16 Marco Pesenti Gritti <mpg@redhat.com>
803 * shell/ev-window-title.c: (get_filename_from_uri),
804 (ev_window_title_set_document):
806 When title has a confusing extension, show also
807 the document filename inside ()
809 2005-09-16 Marco Pesenti Gritti <mpg@redhat.com>
812 * shell/ev-window-title.c: (ev_window_title_new),
813 (ev_window_title_update), (ev_window_title_set_type),
814 (ev_window_title_set_document), (ev_window_title_free):
815 * shell/ev-window-title.h:
816 * shell/ev-window.c: (ev_window_setup_document),
817 (password_dialog_response), (ev_window_popup_password_dialog),
818 (ev_window_dispose), (ev_window_init):
820 Factor out and cleanup window title code
822 2005-09-16 Marco Pesenti Gritti <mpg@redhat.com>
824 * shell/ev-window.c: (unable_to_load_dialog_response_cb),
827 Make dialog transient so it doesnt block other windows
829 2005-09-13 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
833 Fix pdf thumbnails rendering.
835 2005-09-13 Wouter Bolsterlee <uws+gnome@xs4all.nl>
837 * shell/ev-window.c: (fullscreen_set_timeout):
839 Increase timeout to hide full screen popup. Bug
842 2005-09-13 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
844 * data/evince.schemas.in:
845 * shell/ev-window.c: (update_action_sensitivity):
847 Allow the user to override document restrictions. Fix for bug
850 2005-09-13 Christian Persch <chpe@cvs.gnome.org>
852 * shell/ev-window.c: (ev_window_update_fullscreen_popup),
853 (ev_window_create_fullscreen_popup), (ev_window_screen_changed),
854 (ev_window_class_init): Fix multihead behaviour of fullscreen
855 toolbar popup. Fixes bug #315451.
857 2005-09-13 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
860 * data/evince-password.glade:
861 * shell/ev-password.c: (ev_password_dialog_set_property),
862 (ev_password_dialog_finalize), (ev_password_dialog_class_init),
863 (ev_password_dialog_init), (ev_password_set_bad_password_label),
864 (ev_password_dialog_entry_changed_cb),
865 (ev_password_dialog_entry_activated_cb),
866 (ev_password_dialog_save_password), (ev_password_keyring_found_cb),
867 (ev_password_search_in_keyring), (ev_password_dialog_get_password),
868 (ev_password_dialog_set_bad_pass):
869 * shell/ev-password.h:
870 * shell/ev-window.c: (password_dialog_response),
871 (ev_window_popup_password_dialog):
873 Support for gnome-keyring for encrypted PDF's.
875 2005-09-11 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
877 * shell/ev-view.c: (handle_link_over_xy), (ev_view_realize),
878 (ev_view_motion_notify_event), (ev_view_leave_notify_event),
879 (ev_view_enter_notify_event), (ev_view_class_init):
881 More precise handling of enter_notify/leave_notify events
882 in EvView. Fix for bug 315470.
884 2005-09-08 Christopher Aillon <caillon@redhat.com>
886 * shell/ev-window.c: (fullscreen_timeout_cb),
887 (fullscreen_set_timeout), (fullscreen_clear_timeout),
890 leak fix: unref fullscreen_timeout_source before clearing it
892 2005-09-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
894 * configure.ac, dvi/mdvi/Makefile.am:
896 Use lt1 instead lt1lib. Thanks to yselkowitz@users.sourceforge.net
898 2005-09-08 Marco Pesenti Gritti <mpg@redhat.com>
900 * backend/ev-link.c: (ev_link_new_page_xyz):
902 * shell/ev-view.c: (goto_xyz_link), (ev_view_goto_link):
904 Fix some bugs with xyz links, respect zoom
906 2005-09-08 Marco Pesenti Gritti <mpg@redhat.com>
908 * shell/ev-window.c: (page_changed_cb),
909 (setup_document_from_metadata), (update_sidebar_visibility),
910 (setup_view_from_metadata), (ev_window_run_fullscreen),
911 (ev_window_stop_fullscreen), (ev_window_run_presentation),
912 (ev_window_stop_presentation), (ev_window_continuous_changed_cb),
913 (ev_window_dual_mode_changed_cb),
914 (ev_window_sidebar_current_page_changed_cb):
916 null check uri before setting and getting metadata
918 2005-09-08 Marco Pesenti Gritti <mpg@redhat.com>
921 * properties/Makefile.am:
923 * thumbnailer/Makefile.am:
925 Some build fixes for cygwin. Patch by yselkowitz@users.sourceforge.net
927 2005-09-08 Marco Pesenti Gritti <mpg@redhat.com>
929 * shell/ev-sidebar-links.c: (ev_sidebar_links_class_init),
930 (selection_changed_callback):
931 * shell/ev-sidebar-links.h:
933 Add a signal for link activation.
935 * shell/ev-view.c: (ev_view_goto_link),
936 (ev_view_button_release_event):
938 * shell/ev-window.c: (sidebar_links_link_activated_cb),
941 Implement the signal so that we can handle all link types.
943 * shell/ev-page-cache.c:
945 Remove unused set_link function
947 2005-09-08 Marco Pesenti Gritti <mpg@redhat.com>
949 * lib/ev-tooltip.c: (ev_tooltip_set_position):
951 Add some space from the cursor, hardcoded but I couldnt
954 2005-09-07 Marco Pesenti Gritti <mpg@redhat.com>
958 Use mozilla style vs gtk style, way better for links.
960 * shell/ev-view.c: (ev_view_motion_notify_event),
961 (ev_view_destroy), (ev_view_init):
963 Deactive tooltip when the link hovered is changed.
965 2005-09-07 Marco Pesenti Gritti <mpg@redhat.com>
967 * backend/ev-document.h:
968 * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_top),
969 (ev_link_get_left), (ev_link_get_zoom), (ev_link_get_property),
970 (ev_link_set_property), (ev_window_dispose), (ev_link_class_init),
971 (ev_link_new_page), (ev_link_new_page_xyz):
974 * shell/ev-view.c: (doc_point_to_view_point), (scroll_to_xyz_link),
975 (go_to_link), (tip_from_link):
977 Implement xyz links, still not functional. Links are a total
978 mess, will need to refactor and bugfix a lot :(
980 2005-09-05 Alessio Frusciante <algol@firenze.linux.it>
982 * configure.ac: Added "it" (Italian) to ALL_LINGUAS.
984 2005-09-05 Marco Pesenti Gritti <mpg@redhat.com>
986 * data/evince-ui.xml:
987 * data/evince.schemas.in:
989 * shell/ev-window.c: (update_chrome_visibility),
990 (password_dialog_response), (ev_window_load_job_cb),
991 (ev_window_xfer_job_cb), (ev_window_open_uri),
992 (ev_window_class_init), (set_chrome_actions), (load_chrome),
995 Remove the statusbar. This regress loading feedback, need to
996 check with Bryan what we want to do there...
998 2005-09-05 Marco Pesenti Gritti <mpg@redhat.com>
1000 * lib/ev-tooltip.c: (ev_tooltip_init):
1002 Fix tooltip border and size handling
1004 2005-09-05 Marco Pesenti Gritti <mpg@redhat.com>
1006 * lib/ev-tooltip.c: (ev_tooltip_dispose), (ev_tooltip_class_init),
1007 (ev_tooltip_set_position), (ev_tooltip_recently_shown),
1008 (ev_tooltip_timeout), (ev_tooltip_activate),
1009 (ev_tooltip_deactivate):
1011 * shell/ev-view.c: (ev_view_motion_notify_event):
1013 Delay popup showing. Mirror gtk logic/times.
1015 2005-09-03 Marco Pesenti Gritti <mpg@redhat.com>
1018 * lib/ev-tooltip.c: (ev_tooltip_expose_event),
1019 (ev_tooltip_class_init), (ev_tooltip_init), (ev_tooltip_new),
1020 (ev_tooltip_set_text), (ev_tooltip_set_position):
1023 Simple widget to show tooltips at a custom position
1025 * shell/ev-view.c: (tip_from_link), (ev_view_motion_notify_event),
1028 Use it for links. First go, needs work
1030 2005-08-17 Dennis Cranston <dennis_cranston@yahoo.com>
1032 * shell/ev-window.c: (ev_window_cmd_edit_toolbar): A couple small
1033 HIG fixes. Use title capitalization for window title. Use 12
1034 pixels of space between the dialog's vbox and action area.
1036 2005-09-02 Marco Pesenti Gritti <mpg@redhat.com>
1038 * shell/ev-window.c: (file_open_dialog_response_cb),
1039 (ev_window_cmd_file_open), (file_save_dialog_response_cb),
1040 (ev_window_cmd_save_as):
1042 Make file pickers not modal and refactor code some
1044 2005-09-02 Marco Pesenti Gritti <mpg@redhat.com>
1046 * shell/ev-sidebar.h:
1047 * shell/ev-sidebar.c: (ev_sidebar_set_property),
1048 (ev_sidebar_get_current_page), (ev_sidebar_get_property),
1049 (ev_sidebar_class_init), (ev_sidebar_select_page),
1050 (ev_sidebar_menu_item_activate_cb), (ev_sidebar_new),
1051 (ev_sidebar_set_page):
1053 Add a current page property and allow to get/set it
1055 * shell/ev-window.c: (setup_view_from_metadata),
1056 (ev_window_sidebar_current_page_changed_cb), (ev_window_init):
1058 Persist current sidebar page per document
1060 2005-09-02 Marco Pesenti Gritti <mpg@redhat.com>
1062 * data/evince.schemas.in:
1063 * shell/ev-window.c: (update_chrome_visibility),
1064 (setup_document_from_metadata), (update_sidebar_visibility),
1065 (setup_view_from_metadata), (ev_window_sidebar_position_change_cb),
1066 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
1067 (ev_window_run_presentation), (ev_window_stop_presentation),
1068 (ev_window_view_sidebar_cb),
1069 (ev_window_sidebar_visibility_changed_cb), (set_chrome_actions),
1070 (load_chrome), (ev_window_init):
1072 Persist size/visibility of sidebar per document
1074 Fri Sep 2 00:59:55 2005 Jonathan Blandford <jrb@redhat.com>
1076 * shell/ev-view.c (draw_loading_text): Draw loading text.
1078 2005-09-02 Dan Damian <dand@gnome.ro>
1080 * configure.in: Added "ro" to ALL_LINGUAS.
1082 2005-09-01 Marco Pesenti Gritti <mpg@redhat.com>
1084 * shell/ev-view.c: (clear_caches):
1086 ev_page_cache_get doesnt return a reference,
1087 dont try to unref it.
1089 2005-09-01 Marco Pesenti Gritti <mpg@redhat.com>
1091 * shell/main.c: (load_files_remote):
1093 Fix timestamp parameter with dbus <= 0.33
1095 2005-08-31 Marco Pesenti Gritti <mpg@redhat.com>
1097 * data/evince.schemas.in:
1099 Add missing full stop
1101 2005-08-31 Hiroyuki Ikezoe <poincare@ikezoe.net>
1103 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info):
1104 * shell/ev-window.c: (ev_window_print_range), (ev_window_dispose):
1106 Plug some memory leaks
1108 2005-08-29 Christian Persch <chpe@cvs.gnome.org>
1111 * lib/ev-debug.c: (trap_handler):
1113 Check for execinfo.h and use it only if it exists.
1114 Ported from Epiphany (bug #314776).
1116 2005-08-29 Duarte Loreto <happyguy_pt@hotmail.com>
1118 * configure.ac: Added Portuguese (pt) to ALL_LINGUAS.
1120 2005-08-27 Mohammad DAMT <mdamt@gnome.org>
1122 * configure.ac: Added Indonesian "id" to ALL_LINGUAS
1123 * po/id.po : Added Indonesian translation
1125 Fri Aug 26 00:45:09 2005 Jonathan Blandford <jrb@redhat.com>
1128 * shell/ev-application.c: Last minute GTK-2.6 fixes.
1129 * NEWS: Release 0.4.0
1131 Thu Aug 25 23:40:23 2005 Jonathan Blandford <jrb@redhat.com>
1133 * configure.ac: catch another gtk+-2.8ism
1134 * shell/main.c: Make work with gtk+-2.6
1136 2005-08-25 Ryan Lortie <desrt@desrt.ca>
1138 * shell/ev-application-service.xml: Add 'timestamp' argument to
1139 ev_application_open_window and ev_application_open_uri methods.
1141 * shell/ev-application.h: Add 'timestamp' argument to
1142 ev_application_open_window, ev_application_open_uri,
1143 and ev_application_open_uri_list functions.
1145 * shell/ev-application.c (ev_application_open_window,
1146 ev_application_open_uri, ev_application_open_uri_list): Change
1147 functions that show/present windows to use a timestamp if one
1150 * shell/ev-window.c (ev_window_cmd_file_open,
1151 ev_window_cmd_recent_file_activate, drag_data_received_cb):
1152 * shell/main.c (load_files): Modify calls to ev_application to
1153 include GDK_CURRENT_TIME as timestamp.
1155 * shell/main.c (load_files_remote): Obtain timestamp for client
1156 instance from GDK and pass to server instance so new windows are
1157 focused properly. Fix dbus_g_proxy_call() calls by including second
1162 Thu Aug 25 22:13:08 2005 Jonathan Blandford <jrb@redhat.com>
1164 * shell/ev-window.c (ev_window_finalize): Check for
1165 avail. EvWindows when quiting to handle the finalize better,
1168 2005-08-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1170 * properties/ev-properties-view.c:
1172 Set textdomain to libglade. Fixes translation problem in property page.
1174 2005-08-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1176 * djvu/djvu-document.c: (djvu_document_thumbnails_get_thumbnail):
1178 * dvi/dvi-document.c: (dvi_document_thumbnails_get_thumbnail):
1179 * dvi/mdvi-lib/Makefile.am:
1181 Fix rotation of thumbnails, ported to new API. Moved library
1182 dependencies earlier, probably it will fix linkage problem.
1184 Thu Aug 25 02:32:32 2005 Jonathan Blandford <jrb@redhat.com>
1186 * backend/ev-document-misc.c:
1187 (ev_document_misc_get_thumbnail_frame):
1188 * backend/ev-document-misc.h:
1190 * pdf/ev-poppler.cc:
1191 * shell/Makefile.am:
1192 * shell/ev-sidebar-thumbnails.c: (add_range),
1193 (ev_sidebar_thumbnails_set_loading_icon),
1194 (ev_sidebar_thumbnails_refresh),
1195 (ev_sidebar_thumbnails_set_document):
1196 * shell/ev-sidebar-thumbnails.h:
1197 * shell/ev-view.c: (ev_view_motion_notify_event),
1198 (ev_view_set_property), (ev_view_get_property),
1199 (ev_view_class_init), (ev_view_set_rotation):
1200 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
1201 (ev_window_cmd_edit_rotate_right), (ev_window_rotation_changed_cb),
1203 * tiff/tiff-document.c: (tiff_document_thumbnails_get_thumbnail):
1204 Redo rotation (again). prepare for 0.4.0
1206 2005-08-24 Kristian Høgsberg <krh@redhat.com>
1208 * configure.ac: Bump poppler requirement to 0.4.1.
1210 * pdf/ev-poppler.cc (pdf_selection_render_selection): Add rotation
1211 argument to poppler_page_render_selection() call.
1213 2005-08-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1215 * djvu/djvu-document.c: (djvu_document_render_pixbuf),
1216 (djvu_document_thumbnails_get_thumbnail):
1217 * dvi/dvi-document.c: (dvi_document_render_pixbuf),
1218 (dvi_document_thumbnails_get_thumbnail):
1219 * pixbuf/pixbuf-document.c: (pixbuf_document_render_pixbuf),
1220 (pixbuf_document_thumbnails_get_thumbnail):
1221 * tiff/tiff-document.c: (tiff_document_render_pixbuf):
1223 Update rotation direction of backends to fit with pdf and ps.
1225 2005-08-24 Marco Pesenti Gritti <mpg@redhat.com>
1227 * backend/ev-async-renderer.c: (ev_async_renderer_render_pixbuf):
1228 * backend/ev-async-renderer.h:
1229 * ps/ps-document.c: (ps_document_init), (setup_pixmap),
1230 (setup_page), (ps_document_get_page_size),
1231 (ps_async_renderer_render_pixbuf):
1233 * shell/ev-jobs.c: (ev_job_render_run):
1235 Fix orientation in the postscript document
1237 2005-08-23 Marco Pesenti Gritti <mpg@redhat.com>
1239 * pdf/ev-poppler.cc:
1240 * ps/ps-document.c: (push_pixbuf), (ps_document_widget_event):
1241 * shell/ev-view.c: (highlight_find_results):
1243 Adapt to the new poppler rotation API. Fix text maps on landscape
1246 Sat Aug 20 17:13:48 2005 Jonathan Blandford <jrb@redhat.com>
1248 * shell/ev-view.c (compute_new_selection_text): get the correct
1249 region when selecting in modes other than continuous.
1251 Sat Aug 20 13:10:01 2005 Jonathan Blandford <jrb@redhat.com>
1253 * shell/main.c (main): remove redundant g_warnings.
1255 2005-08-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1257 * shell/Makefile.am: Don't include autogenerated
1258 file ev-application-service.h into distribution, since
1259 it causes dbus crash. Fix for bugs 313724 and 313443.
1261 2005-08-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1263 * configure.ac: Fix sed expression for FreeBSD. Thanks
1264 to Joe Marcus Clark <marcus@freebsd.org>
1266 * shell/eggfindbar.c: (entry_activate_callback),
1267 (entry_changed_callback), (egg_find_bar_init),
1268 (egg_find_bar_set_search_string):
1270 Made findbar buttons unsensitive if there is no text in
1271 entry. Fix for the bug 313285.
1273 2005-08-17 Carlos Garcia Campos <carlosgc@gnome.org>
1275 * ps/ps-document.c: Use g_filename_display_name for displaying
1276 filenames and revert string freeze breackage
1278 2005-08-17 Marco Pesenti Gritti <mpg@redhat.com>
1285 * shell/Makefile.am:
1287 Add ev-application-service.xml to extra dist
1289 * shell/ev-view.c: (find_page_at_location):
1291 Remove unused function (fix warning)
1293 2005-08-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1295 * dvi/mdvi-lib/t1.c: (t1_reset_resolution), (t1_really_load_font),
1296 (t1_load_font), (t1_glyph_bitmap), (t1_font_remove):
1298 Fix warnings and compilation with t1lib-5.0 and newer. Fix for
1301 2005-08-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1303 * shell/ev-utils.c: (set_umask_permissions), (write_to_temp_file):
1304 * shell/ev-window.c:
1307 2005-08-16 Carlos Garcia Campos <carlosgc@gnome.org>
1309 * configure.ac: Update script to get dbus version.
1310 Fix for the bug #313443.
1312 2005-08-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1314 * shell/ev-window.c: (ev_window_cmd_escape):
1316 Return focus back to view on escape. Fix for bug 313295.
1318 2005-08-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1320 * shell/ev-window.c: (update_window_title),
1321 (ev_window_popup_password_dialog), (ev_window_load_job_cb),
1322 (ev_window_cmd_save_as):
1324 Correct conversion from uri to displayable string. Fix for
1327 2005-08-16 Carlos Garcia Campos <carlosgc@gnome.org>
1329 * ps/ps-document.c: convert filename to utf8 when there is an error
1330 loading document. Fixes #309915
1332 2005-08-16 Marco Pesenti Gritti <mpg@redhat.com>
1336 We depend on poppler 0.4.0
1338 Mon Aug 15 21:53:05 2005 Jonathan Blandford <jrb@redhat.com>
1341 * NEWS: Release 0.3.3.
1342 * thumbnailer/evince-thumbnailer.c: Remove pdf icon.
1344 2005-08-14 Dennis Cranston <dennis_cranston@yahoo.com>
1346 * shell/ev-window.c: (ev_window_cmd_file_open): HIG fixes:
1347 add a couple missing mnemonics to menu items, use title
1348 capitalization for menu items and window titles, and add
1349 ellipsis to open menu item.
1351 Mon Aug 15 00:40:21 2005 Jonathan Blandford <jrb@redhat.com>
1353 * pdf/ev-poppler.cc:
1354 * shell/ev-metadata-manager.c: (ev_metadata_manager_init):
1355 * shell/ev-view.c: (ev_view_rotate_left), (ev_view_set_rotation),
1356 (ev_view_get_rotation):
1358 * shell/ev-window.c: (setup_view_from_metadata),
1359 (save_rotation_to_file), (ev_window_cmd_edit_rotate_left),
1360 (ev_window_cmd_edit_rotate_right): Fix rotation. Save it to
1363 2005-08-14 Baris Cicek <baris@teamforce.name.tr>
1365 * configure.ac: Added tr to ALL_LINGUAS
1367 2005-08-12 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1369 * shell/ev-view.c: Fix for bug Bug 311838. Search backward
1370 requires several clicks to find word. Thanks to
1371 Colin Slater <kiltedtaco@gmail.com>.
1373 2005-08-11 Bryan Clark <clarkbw@cvs.gnome.org>
1375 * data/evince.desktop.in.in: Hide menu entry and
1376 rename it to "Document Viewer". Fix for bug
1379 2005-08-11 Crispin Flowerday <gnome@flowerday.cx>
1381 * shell/ev-page-action.c (ev_page_action_class_init):
1383 Point to the correct function in constructor of the
1384 activate_label signal
1386 Tue Aug 9 02:17:13 2005 Jonathan Blandford <jrb@redhat.com>
1388 * shell/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
1389 * shell/ev-jobs.h: Make thread safe.
1391 2005-08-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1393 * shell/ev-view.c: (view_update_range_and_current_page):
1394 Don't update page range if we are scrolling to some document
1397 2005-08-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1399 * shell/ev-view.c: (get_page_extents): reverse rotation/scale
1400 when getting max_page_width, fix drawing in dual mode.
1402 Sun Aug 7 02:06:08 2005 Jonathan Blandford <jrb@redhat.com>
1404 * shell/ev-view.c (ev_view_select_all): reverse rotation/page when
1405 getting the area for select_all.
1407 2005-08-06 Kristian Høgsberg <krh@redhat.com>
1409 * backend/ev-selection.c: (ev_selection_render_selection):
1410 * backend/ev-selection.h:
1411 * pdf/ev-poppler.cc:
1412 * shell/ev-jobs.c: (ev_job_render_new):
1414 * shell/ev-pixbuf-cache.c: (get_selection_colors),
1415 (add_job_if_needed), (ev_pixbuf_cache_get_selection_pixbuf):
1416 * shell/ev-view.c: (ev_view_focus_in), (ev_view_focus_out),
1417 (ev_view_class_init):
1419 Change selection color on focus in and focus out events. Also,
1420 poppler now uses GdkColor for specifying the selection colors, so
1421 drop some awkward conversion code.
1423 2005-08-06 Yair Hershkovitz <yairhr@gmail.com>
1425 * configure.ac: Added Hebrew translation
1427 Sat Aug 6 01:12:44 2005 Jonathan Blandford <jrb@redhat.com>
1430 * backend/ev-selection.c: (ev_selection_render_selection):
1431 * backend/ev-selection.h:
1432 * pdf/ev-poppler.cc:
1433 * shell/ev-jobs.c: (ev_job_render_dispose), (ev_job_render_new),
1434 (ev_job_render_run):
1436 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info),
1437 (ev_pixbuf_cache_new), (job_finished_cb), (add_job_if_needed),
1438 (convert_gdk_color_to_uint), (ev_pixbuf_cache_get_text_mapping),
1439 (ev_pixbuf_cache_style_changed),
1440 (ev_pixbuf_cache_get_selection_pixbuf),
1441 (ev_pixbuf_cache_set_selection_list),
1442 (ev_pixbuf_cache_get_selection_list):
1443 * shell/ev-pixbuf-cache.h:
1444 * shell/ev-utils.c: (ev_print_region_contents):
1446 * shell/ev-view.c: (ev_view_queue_draw_page),
1447 (selection_update_idle_cb), (ev_view_motion_notify_event),
1448 (ev_view_style_set), (draw_one_page), (ev_view_class_init),
1449 (setup_caches), (ev_view_find_next), (merge_selection_region),
1451 * shell/ev-window.c: (ev_window_update_fullscreen_popup):
1453 Clean up selection to be much smoother!
1455 2005-08-05 Kristian Høgsberg <krh@redhat.com>
1457 * pdf/ev-poppler.cc (pdf_selection_render_selection): Pass colors
1458 to poppler_page_render_selection().
1460 2005-08-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1462 * ps/ps-document.c: (save_page_list): Use
1463 unzipped document when printing. Thanks to
1464 Colin Slater <kiltedtaco@gmail.com>. Fix for bug
1467 2005-08-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1469 * shell/ev-window.c: (update_action_sensitivity):
1471 Disable print and save respect to lockdown gconf keys. Fix
1474 2005-08-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1477 * shell/ev-utils.c: (rename_file), (set_umask_permissions),
1478 (write_to_temp_file), (ev_file_set_contents):
1480 * shell/ev-window.c: (save_print_config_to_file):
1482 Copy-paste g_file_set_contents to keep compatibility with gtk 2.6
1485 2005-07-31 Christian Persch <chpe@cvs.gnome.org>
1487 * shell/ev-window.c: (load_print_config_from_file),
1488 (save_print_config_to_file), (ev_window_print_range):
1490 Persist the print settings. Fixes bug #311578.
1492 2005-07-31 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1494 * djvu/djvu-document.c: (djvu_document_get_page_size),
1495 (djvu_document_render_pixbuf), (djvu_document_document_iface_init),
1496 (djvu_document_thumbnails_get_thumbnail):
1497 * dvi/dvi-document.c: (dvi_document_get_page_size),
1498 (dvi_document_render_pixbuf), (dvi_document_document_iface_init),
1499 (dvi_document_thumbnails_get_dimensions),
1500 (dvi_document_thumbnails_get_thumbnail):
1501 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size),
1502 (pixbuf_document_render_pixbuf),
1503 (pixbuf_document_document_iface_init),
1504 (pixbuf_document_thumbnails_get_thumbnail):
1506 Update backends to make them build with new rotation system.
1508 2005-07-31 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1510 * help/C/figures/evince_start_window.png:
1512 Update documentation image from Luca Ferretti <elle.uca@libero.it>
1514 Sat Jul 30 19:09:34 2005 Jonathan Blandford <jrb@redhat.com>
1516 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_clear):
1517 * shell/ev-pixbuf-cache.h:
1518 * shell/ev-sidebar-thumbnails.c:
1519 (ev_sidebar_thumbnails_get_property), (add_range),
1520 (adjustment_changed_cb):
1521 * shell/ev-view.c: (ev_view_set_rotation): Fix rotation and the
1522 pixbuf cache. Make thumbnailing work again. Also, fix bug where
1523 we were thumbnailing the entire docment on startup, slowing us
1526 Fri Jul 29 23:14:28 2005 Jonathan Blandford <jrb@redhat.com>
1528 * shell/ev-page-cache.c: (ev_page_cache_new):
1529 * shell/ev-window.c: (update_action_sensitivity): Handle n_pages
1530 == 0, fixes #310306.
1532 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
1534 * shell/ev-view.c: (doc_rect_to_view_rect), (ev_view_rotate_right),
1535 (ev_view_rotate_left):
1537 Account rotation in doc_rect_to_view_rect.
1538 Ensure rotation doesnt go out of bounds.
1540 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
1542 * shell/ev-page-cache.c: (ev_page_cache_get_size):
1544 Correct and cleanup w/h swapping
1546 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
1548 * backend/ev-document-thumbnails.c:
1549 (ev_document_thumbnails_get_thumbnail):
1550 * backend/ev-document-thumbnails.h:
1551 * backend/ev-document.c:
1552 * backend/ev-document.h:
1553 * backend/ev-render-context.c: (ev_render_context_new),
1554 (ev_render_context_set_rotation):
1555 * backend/ev-render-context.h:
1556 * pdf/ev-poppler.cc:
1557 * ps/ps-document.c: (ps_document_document_iface_init):
1558 * shell/ev-jobs.c: (ev_job_thumbnail_new), (ev_job_thumbnail_run):
1560 * shell/ev-page-cache.c: (build_height_to_page),
1561 (ev_page_cache_new), (ev_page_cache_get_size),
1562 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
1563 (ev_page_cache_get_height_to_page):
1564 * shell/ev-page-cache.h:
1565 * shell/ev-pixbuf-cache.c: (check_job_size_and_unref),
1566 (add_job_if_needed), (ev_pixbuf_cache_add_jobs_if_needed),
1567 (ev_pixbuf_cache_set_page_range), (new_selection_pixbuf_needed),
1568 (ev_pixbuf_cache_get_selection_pixbuf):
1569 * shell/ev-pixbuf-cache.h:
1570 * shell/ev-print-job.c: (idle_print_handler):
1571 * shell/ev-sidebar-thumbnails.c: (add_range):
1572 * shell/ev-view.c: (view_update_range_and_current_page),
1573 (get_page_y_offset), (get_page_extents),
1574 (ev_view_size_request_continuous_dual_page),
1575 (ev_view_size_request_continuous),
1576 (ev_view_size_request_dual_page),
1577 (ev_view_size_request_single_page), (draw_one_page),
1578 (ev_view_set_rotation), (ev_view_rotate_right),
1579 (ev_view_rotate_left), (ev_view_zoom_for_size_presentation),
1580 (ev_view_zoom_for_size_continuous_and_dual_page),
1581 (ev_view_zoom_for_size_continuous),
1582 (ev_view_zoom_for_size_dual_page),
1583 (ev_view_zoom_for_size_single_page), (compute_new_selection_text),
1584 (ev_view_select_all):
1585 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
1586 * tiff/tiff-document.c: (tiff_document_render_pixbuf),
1587 (tiff_document_document_iface_init),
1588 (tiff_document_thumbnails_get_thumbnail):
1590 Use rotation rather than orientation. It's easier and enough
1593 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
1595 * shell/ev-page-cache.c: (build_height_to_page),
1596 (ev_page_cache_new), (ev_page_cache_get_size),
1597 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
1598 (ev_page_cache_get_height_to_page):
1599 * shell/ev-page-cache.h:
1600 * shell/ev-view.c: (get_page_y_offset), (get_page_extents),
1601 (ev_view_size_request_continuous_dual_page),
1602 (ev_view_size_request_continuous),
1603 (ev_view_zoom_for_size_continuous_and_dual_page),
1604 (ev_view_zoom_for_size_continuous):
1606 Make the page cache aware of page orientation.
1608 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
1610 * backend/ev-document-thumbnails.c:
1611 (ev_document_thumbnails_get_thumbnail):
1612 * backend/ev-document-thumbnails.h:
1613 * backend/ev-document.c:
1614 * backend/ev-document.h:
1615 * backend/ev-ps-exporter.c: (ev_ps_exporter_do_page):
1616 * backend/ev-ps-exporter.h:
1617 * pdf/ev-poppler.cc:
1618 * ps/ps-document.c: (ps_document_document_iface_init),
1619 (ps_document_ps_export_do_page):
1620 * shell/ev-jobs.c: (ev_job_thumbnail_new), (ev_job_thumbnail_run):
1622 * shell/ev-page-cache.c: (ev_page_cache_get_size),
1623 (ev_page_cache_get):
1624 * shell/ev-page-cache.h:
1625 * shell/ev-pixbuf-cache.c: (check_job_size_and_unref),
1626 (add_job_if_needed), (ev_pixbuf_cache_add_jobs_if_needed),
1627 (ev_pixbuf_cache_set_page_range), (new_selection_pixbuf_needed):
1628 * shell/ev-pixbuf-cache.h:
1629 * shell/ev-print-job.c: (idle_print_handler):
1630 * shell/ev-sidebar-thumbnails.c: (add_range):
1631 * shell/ev-view.c: (view_update_range_and_current_page),
1632 (get_page_extents), (ev_view_size_request_dual_page),
1633 (ev_view_size_request_single_page), (draw_one_page),
1634 (clear_caches), (ev_view_set_orientation), (ev_view_rotate_right),
1635 (ev_view_rotate_left), (ev_view_zoom_for_size_presentation),
1636 (ev_view_zoom_for_size_dual_page),
1637 (ev_view_zoom_for_size_single_page), (compute_new_selection_text),
1638 (ev_view_select_all):
1639 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
1640 * tiff/tiff-document.c: (tiff_document_get_page_size),
1641 (tiff_document_get_orientation), (rotate_pixbuf),
1642 (tiff_document_render_pixbuf), (tiff_document_document_iface_init),
1643 (tiff_document_thumbnails_get_thumbnail),
1644 (tiff_document_ps_export_do_page), (tiff_document_init):
1646 Really make use of the orientation bit of the render context.
1647 Use the render context in a few more places in the backend API.
1648 This regress orientation, but now it's done right. Will try to
1651 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
1653 * shell/ev-view.c: (ensure_rectangle_is_visible):
1655 Patch by Nickolay V. Shmyrev to fix find flickering
1657 2005-07-27 Martin Kretzschmar <martink@gnome.org>
1659 * backend/ev-ps-exporter.h: add paper_width, paper_height, and
1660 duplex parameters to ::begin.
1662 * tiff/tiff-document.c (tiff_document_ps_export_begin):
1663 * shell/ev-print-job.c (idle_print_handler):
1664 * ps/ps-document.c (ps_document_ps_export_begin):
1665 * pdf/ev-poppler.cc (pdf_document_ps_exporter_begin):
1666 * backend/ev-ps-exporter.c (ev_ps_exporter_begin): update
1667 implementations. Poppler backend needs poppler cvs. Rest has
1670 2005-07-25 Martin Kretzschmar <martink@gnome.org>
1672 * shell/ev-window.c (using_pdf_printer): new function.
1673 (ev_window_print_range): print a less techy message if someone
1674 tries to print to PDF.
1676 2005-07-25 Martin Kretzschmar <martink@gnome.org>
1678 * pdf/ev-poppler.cc (font_type_to_string): Remove trailing space
1679 from "unknown font" string. Bug #311431
1681 2005-07-24 Martin Kretzschmar <martink@gnome.org>
1683 * help/es/.cvsignore, help/sr/.cvsignore: ignore xmlpo output.
1685 2005-07-24 Martin Kretzschmar <martink@gnome.org>
1689 * pdf/ev-poppler.cc (font_type_to_string): new, returns user readable
1690 name for PopplerFontTypes
1691 (pdf_document_fonts_fill_model): add font type to the detail column
1693 * backend/ev-document-fonts.h: added
1694 EV_DOCUMENT_FONTS_COLUMN_DETAILS.
1696 * shell/ev-properties-fonts.c (font_cell_data_func): glue together
1697 font name and font details, add a little markup.
1698 (ev_properties_fonts_init): use the new cell data func, specify ypad
1699 property for the cell renderer.
1700 (ev_properties_fonts_set_document): add the details column.
1702 2005-07-24 Artur Flinta <aflinta@cvs.gnome.org>
1704 * configure.ac: Added "pl" to ALL_LINGUAS.
1706 2005-07-24 Danilo Šegan <danilo@gnome.org>
1708 * configure.ac: Added "sr" and "sr@Latn" to ALL_LINGUAS.
1710 2005-07-23 Tommi Vainikainen <thv@iki.fi>
1712 * help/ChangeLog: Started this for translations of manual.
1713 * configure.ac, autogen.sh, .cvsignore: Migrated to
1714 gnome-doc-utils. Patch in bug #311222.
1716 2005-07-22 Martin Kretzschmar <martink@gnome.org>
1718 * backend/ev-document-factory.c (mime_type_supported_by_gdk_pixbuf):
1719 #ifdef this away to fix an unused-function warning.
1721 2005-07-22 Ignacio Casal Quinteiro <nacho.resa@gmail.com>
1723 * configure.ac: Added 'gl' to ALL_LINGUAS.
1725 2005-07-22 Pawan Chitrakar <pawan@nplinux.org>
1727 * configure.ac: Added ne in ALL_LINGUAS
1729 2005-07-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1731 * shell/ev-view.c: (ev_view_leave_notify_event):
1733 Clear status message when pointer leaves view. Fix for bug
1736 2005-07-20 Ankit Patel <ankit644@yahoo.com>
1738 * configure.ac: Gujarati (gu) added to ALL_LINGUAS
1740 2005-07-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1742 * shell/ev-view.c: (ev_view_leave_notify_event),
1743 (ev_view_class_init):
1745 Set cursor to normal then leaving view.
1747 2005-07-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1751 Fix required djvulibre version.
1753 2005-07-15 Rajesh Ranjan <rajeshkajha@yahoo.com>
1755 *configure.ac: Hindi (hi) language added
1757 2005-07-15 Amanpreet Singh Brar <amanpreetalam@yahoo.com>
1759 *configure.ac: Punjabi (pa) Language added
1761 2005-07-12 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1763 * data/evince-ui.xml, shell/ev-window.c:
1765 Add keypad accelerators for zooming. Fix for bug 308128.
1767 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
1770 * backend/Makefile.am:
1771 * backend/ev-document-factory.c: (ev_document_type_get_from_mime):
1773 * shell/ev-document-types.c: (ev_document_types_add_filters):
1775 Allow to enable/disable the pixbuf backend.
1776 Default to off for now. If we want it enabled we should
1777 really put mime types in the desktop, implement properties etc.
1779 * properties/evince-properties.c:
1781 Initialize error to NULL.
1782 Check error is not NULL before freeing.
1784 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
1786 * shell/ev-window.c:
1788 Use F5 as presentation accell
1790 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
1792 * shell/ev-window.c: (update_chrome_visibility),
1793 (ev_window_create_fullscreen_popup), (ev_window_init):
1795 Do not leak the fullscreen toolbar
1797 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
1799 * shell/ev-window.c: (view_actions_focus_in_cb),
1800 (view_actions_focus_out_cb):
1802 These has a return value! Fix totally random focus
1803 issues we was seeing.
1805 2005-07-11 Carlos Garcia Campos <carlosgc@gnome.org>
1807 * shell/main.c: (load_files_remote):
1809 Allow open more than one file
1811 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
1813 * shell/main.c: (load_files_remote):
1815 Fix for dbus 0.33. bug #309975
1817 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
1819 * properties/ev-properties-main.c: (ev_properties_get_pages):
1821 Actually return NULL for types we dont support
1823 2005-07-08 Christian Persch <chpe@cvs.gnome.org>
1829 2005-07-08 Marco Pesenti Gritti <marco@gnome.org>
1831 * backend/ev-document-factory.c:
1832 (ev_document_factory_get_document):
1834 Do not try to create the object if type
1837 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
1839 * ps/ps-document.c: (ps_document_dispose),
1840 (ps_async_renderer_render_pixbuf):
1843 Do not leak the target window
1845 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
1847 * shell/ev-application.c: (ev_application_init):
1849 Let tbe check file existence for us.
1850 Add a comment about eggrecent mime filter.
1852 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
1854 * data/evince-ui.xml:
1855 * shell/ev-application.c: (ev_application_shutdown),
1856 (ev_application_init), (ev_application_get_toolbars_model),
1857 (ev_application_get_recent_model),
1858 (ev_application_save_toolbars_model):
1859 * shell/ev-application.h:
1860 * shell/ev-window.c: (ev_window_add_recent),
1861 (ev_window_setup_recent), (ev_window_cmd_edit_toolbar_cb),
1862 (ev_window_cmd_edit_toolbar), (ev_window_dispose),
1865 Use common toolbar and recent models for all windows.
1866 Patch by Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1868 Thu Jul 7 23:10:01 2005 Jonathan Blandford <jrb@redhat.com>
1870 * configure.ac: add FRONTEND_CORE_LIBS to evince_save_LIBS so we
1871 successfully check for gtk_icon_view_get_visible_range.
1873 2005-07-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1878 Fix djvu and dvi backend build.
1880 2005-07-07 Christian Persch <chpe@cvs.gnome.org>
1882 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c: (new_pixbuf_from_widget),
1883 (new_separator_pixbuf):
1887 2005-07-07 Christian Persch <chpe@cvs.gnome.org>
1889 * shell/ev-window.c: (ev_window_cmd_edit_toolbar):
1891 HIGification of toolbar editor dialogue.
1893 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1896 * shell/Makefile.am:
1898 Ever build metadata manager since it's just
1899 disabled at runtime now.
1901 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1903 * shell/ev-metadata-manager.c: (ev_metadata_manager_init),
1904 (ev_metadata_manager_get), (ev_metadata_manager_set):
1905 * shell/ev-metadata-manager.h:
1907 Add an _init functions that enabled metadata management
1910 * shell/ev-window.c: (page_changed_cb),
1911 (setup_document_from_metadata), (ev_window_setup_document),
1912 (setup_view_from_metadata), (ev_window_open_uri),
1913 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
1914 (ev_window_run_presentation), (ev_window_stop_presentation),
1915 (save_sizing_mode), (ev_window_zoom_changed_cb),
1916 (ev_window_continuous_changed_cb),
1917 (ev_window_dual_mode_changed_cb), (window_state_event_cb),
1918 (window_configure_event_cb):
1920 Remove all ugly metadata define since we deal with it
1923 * shell/main.c: (load_files_remote), (main):
1925 Add support for dbus cvs head. Hopefully didnt break one
1926 of the other versions now!
1928 If we dont get a response from the dbus server just
1929 give up with it and not enable metadata.
1931 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1934 * backend/Makefile.am:
1936 * cut-n-paste/recent-files/Makefile.am:
1937 * cut-n-paste/toolbar-editor/Makefile.am:
1938 * cut-n-paste/zoom-control/Makefile.am:
1941 * pixbuf/Makefile.am:
1942 * properties/Makefile.am:
1944 * shell/Makefile.am:
1945 * thumbnailer/Makefile.am:
1948 Make frontends depend on just libev.
1949 Rework and group CFLAGS/LIBS definitions.
1952 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1956 do not unnecessarily save zoom
1959 * lib/ev-file-helpers.c: (ev_dot_dir):
1960 * shell/Makefile.am:
1965 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1969 Remove unnecessary dependencies
1971 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1973 * properties/Makefile.am:
1974 * thumbnailer/Makefile.am:
1977 Some more cleanups. Was really necessary
1978 but I probably introduced bugs, feel free
1981 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1983 * backend/Makefile.am:
1985 * cut-n-paste/recent-files/Makefile.am:
1986 * cut-n-paste/toolbar-editor/Makefile.am:
1987 * cut-n-paste/zoom-control/Makefile.am:
1990 * pixbuf/Makefile.am:
1991 * properties/Makefile.am:
1993 * shell/Makefile.am:
1994 * thumbnailer/Makefile.am:
1997 Use gnome-common macros when possible.
1998 Cleanup dependencies.
1999 Actually disable deprecated where possible.
2001 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
2004 * backend/Makefile.am:
2005 * properties/Makefile.am:
2006 * shell/Makefile.am:
2007 * thumbnailer/Makefile.am:
2009 This should solve the circular dep without
2010 requiring dir reorg!
2012 * shell/ev-window.c: (setup_view_from_metadata):
2014 Never restore window size/position when the
2015 window is already visible.
2017 2005-07-06 Christian Persch <chpe@cvs.gnome.org>
2019 * shell/ev-metadata-manager.c: (ev_metadata_manager_save):
2021 Return a boolean from timeout func. Fix ported from gedit.
2023 2005-07-07 Iñaki Larrañaga <dooteo@euskalgnu.org>
2025 * configure.ac: Added "eu" (Basque) to ALL_LINGUAS.
2027 2005-07-06 Carlos Garcia Campos <carlosgc@gnome.org>
2029 * shell/ev-document-types.c: set "All Documents" as default filter in
2032 2005-07-06 Martin Kretzschmar <martink@gnome.org>
2034 * shell/ev-metadata-manager.c (ev_metadata_manager_set_int)
2035 (ev_metadata_manager_set_double, ev_metadata_manager_set_string)
2036 (ev_metadata_manager_set_boolean): fix value/val thinko.
2038 2005-07-06 Marco Pesenti Gritti <mpg@redhat.com>
2040 * shell/ev-window.c: (setup_view_from_metadata),
2041 (window_state_event_cb), (window_configure_event_cb),
2044 Remember window position and maximized state
2046 2005-07-06 Christian Persch <chpe@cvs.gnome.org>
2050 Fix DBUS configure checks.
2052 * shell/ev-metadata-manager.c: (ev_metadata_manager_set_int),
2053 (ev_metadata_manager_set_double), (ev_metadata_manager_set_string),
2054 (ev_metadata_manager_set_boolean):
2058 * shell/ev-window.c: (page_changed_cb), (ev_window_run_fullscreen),
2059 (ev_window_stop_fullscreen), (ev_window_run_presentation),
2060 (ev_window_stop_presentation), (ev_window_zoom_changed_cb),
2061 (ev_window_continuous_changed_cb),
2062 (ev_window_dual_mode_changed_cb), (ev_window_new):
2064 Fix the build without DBUS.
2066 2005-07-06 Marco Pesenti Gritti <mpg@redhat.com>
2068 * shell/ev-metadata-manager.c: (parse_value), (save_values),
2069 (ev_metadata_manager_set_int), (ev_metadata_manager_set_double),
2070 (ev_metadata_manager_set_string),
2071 (ev_metadata_manager_set_boolean):
2072 * shell/ev-metadata-manager.h:
2074 Add support for some more types
2076 * shell/ev-view.c: (scroll_to_current_page),
2077 (ev_view_get_continuous), (ev_view_set_continuous),
2078 (ev_view_get_dual_page):
2080 * shell/ev-window.c: (page_changed_cb),
2081 (setup_document_from_metadata), (ev_window_setup_document),
2082 (setup_view_from_metadata), (ev_window_open_uri),
2083 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
2084 (ev_window_run_presentation), (ev_window_stop_presentation),
2085 (save_sizing_mode), (ev_window_sizing_mode_changed_cb),
2086 (ev_window_zoom_changed_cb), (ev_window_update_continuous_action),
2087 (ev_window_update_dual_page_action),
2088 (ev_window_continuous_changed_cb),
2089 (ev_window_dual_mode_changed_cb), (ev_window_init):
2091 Remember a bunch of view/document properties. Prolly some
2092 are still missing but it's getting interesting.
2094 2005-07-05 Martin Kretzschmar <martink@gnome.org>
2096 * configure.ac: check if dbus-binding-tool is installed. Not the
2097 case on current Ubuntu breezy, it seems.
2099 2005-07-05 Luca Ferretti <elle.uca@libero.it>
2101 * data/evince.desktop.in.in:
2103 Allow open uri lists and add TryExec field.
2105 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
2109 Enable dbus when available, do not require a configure
2112 2005-07-05 Christian Persch <chpe@cvs.gnome.org>
2116 Use AM_CONDITIONAL unconditionally, fixes the build with DBUS
2119 2005-07-05 Carlos Garcia Campos <carlosgc@gnome.org>
2120 Marco Pesenti Gritti <mpg@redhat.com>
2122 * shell/Makefile.am: Add --prefix for dbus-binding-tool script
2124 * shell/ev-application.[ch], shell/ev-window.c: change dbus RPC
2125 functions to the format required by dbus
2127 * shell/main.c: use G_TYPE instead of DBUS_TYPE to fix compilation
2128 errors. Use the RPC parameters in the expected way
2130 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
2133 * properties/Makefile.am:
2134 * properties/ev-properties-main.c: (ev_properties_get_pages):
2136 Support all mime types
2138 * shell/Makefile.am:
2139 * thumbnailer/Makefile.am:
2140 * thumbnailer/evince-thumbnailer.c: (get_document_from_uri),
2141 (evince_thumbnail_pngenc_get):
2143 Use the document factory
2145 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
2147 * backend/Makefile.am:
2148 * backend/ev-document-factory.c:
2149 (mime_type_supported_by_gdk_pixbuf),
2150 (ev_document_type_get_from_mime),
2151 (ev_document_factory_get_document),
2152 (ev_document_factory_get_backend),
2153 (ev_document_factory_get_mime_types),
2154 (ev_document_factory_get_all_mime_types):
2155 * backend/ev-document-factory.h:
2156 * shell/Makefile.am:
2157 * shell/ev-document-types.c: (get_document_from_uri),
2158 (ev_document_types_get_document),
2159 (file_filter_add_mime_list_and_free),
2160 (ev_document_types_add_filters):
2161 * shell/ev-document-types.h:
2162 * shell/ev-job-xfer.c: (ev_job_xfer_run):
2163 * shell/ev-properties-dialog.c:
2164 (ev_properties_dialog_set_document):
2165 * shell/ev-window.c: (ev_window_cmd_file_open),
2166 (ev_window_cmd_save_as):
2167 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
2169 Rework document types managing to avoid code duplication
2170 and actually abstract from backend implementations.
2171 Also provide a minimal factory api that can be used by
2172 thumbnailer/properties.
2174 2005-07-05 Christian Persch <chpe@cvs.gnome.org>
2176 * properties/ev-properties-view.c: (ev_properties_view_set_info):
2178 * shell/ev-properties-dialog.c: (ev_properties_dialog_init):
2181 2005-07-04 Matthew S. Wilson <msw@rpath.com>
2183 * shell/ev-properties-dialog.c
2184 (ev_properties_dialog_set_document): only call
2185 ev_properties_fonts_set_document() if the document implements the
2188 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
2191 * properties/Makefile.am:
2192 * properties/ev-properties-view.c:
2193 (ev_properties_view_register_type):
2194 * properties/ev-properties-view.h:
2195 * properties/ev-properties-main.h:
2197 Implement nautilus plugin for properties.
2198 Works only for pdf atm, I need to rework the
2199 document types stuff to get this to work
2202 2005-07-04 Martin Kretzschmar <martink@gnome.org>
2204 * shell/ev-properties-fonts.c (enum): kill redundant columns enum
2205 (ev_properties_fonts_set_document): use
2206 EV_DOCUMENT_FONTS_COLUMN_NUM_COLUMNS.
2208 2005-07-04 Matthew S. Wilson <msw@rpath.com>
2210 * tiff/tiff2ps.c: remove TRUE and FALSE definitions, glib provides
2212 (PlaceImage, tiff2ps_process_page): use
2213 g_ascii_dtostr to convert floats to strings in a locale-safe way.
2216 2005-07-04 Martin Kretzschmar <martink@gnome.org>
2218 * shell/main.c: include libgnomeui/gnome-authentication-manager.h
2219 (main): to call gnome_authentication_manager_init. Should fix
2222 * configure.ac: that requires libgnomeui 2.6.0.
2224 2005-07-04 Matthew S. Wilson <msw@rpath.com>
2226 * tiff/tiff-document.c (tiff_document_ps_export_begin)
2227 (tiff_document_ps_export_do_page, tiff_document_ps_export_end):
2228 use the new tiff2ps interfaces
2230 * tiff/tiff2ps.h (tiff2ps_context_new, tiff2ps_process_page)
2231 (tiff2ps_context_finalize): implement new interfaces for tiff2ps
2233 * tiff/tiff2ps.c: refactor tiff2ps code to use a context
2234 structure instead of global variables. Remove use of static
2235 variables in functions.
2237 2005-07-04 Carlos Garcia Campos <carlosgc@gnome.org>
2239 * shell/ev-page-action.c: unref the completion after setting it to the
2242 2005-07-04 Matthew S. Wilson <msw@rpath.com>
2244 * tiff/tiff2ps.c (generateEPSF): disable generating encapsulated
2247 2005-07-04 Matthew S. Wilson <msw@rpath.com>
2249 * shell/ev-window.c (update_action_sensitivity): disable
2250 File->Print if the document does not implement the ps exporter
2253 2005-07-04 Marco Pesenti Gritti <mpg@redhat.com>
2257 * data/evince-properties.glade:
2258 * properties/.cvsignore:
2259 * properties/Makefile.am:
2260 * properties/ev-properties-view.c: (ev_properties_view_dispose),
2261 (ev_properties_view_class_init), (ev_properties_view_format_date),
2262 (make_valid_utf8), (set_property), (ev_properties_view_set_info),
2263 (ev_properties_view_init), (ev_properties_view_new):
2264 * properties/ev-properties-view.h:
2265 * shell/Makefile.am:
2266 * shell/ev-properties-dialog.c: (ev_properties_dialog_class_init),
2267 (ev_properties_dialog_init), (ev_properties_dialog_set_document),
2268 (ev_properties_dialog_new):
2269 * shell/ev-properties-dialog.h:
2270 * shell/ev-properties-fonts.c: (ev_properties_fonts_dispose),
2271 (ev_properties_fonts_class_init), (ev_properties_fonts_init),
2272 (update_progress_label), (job_fonts_finished_cb),
2273 (ev_properties_fonts_set_document), (ev_properties_fonts_new):
2274 * shell/ev-properties-fonts.h:
2275 * shell/ev-properties.c:
2276 * shell/ev-properties.h:
2277 * shell/ev-window.c: (ev_window_setup_document),
2278 (ev_window_cmd_file_properties):
2280 Split the properties pages in two different objects, depend
2281 only on the backend where possible, use widgets instead
2282 of gobject for the glade part, reimplement the dialog
2284 I need this to implement nautilus properties page.
2286 2005-07-03 Matthew S. Wilson <msw@rpath.com>
2288 * tiff/tiff-document.c (tiff_document_ps_export_begin)
2289 (tiff_document_ps_export_do_page, tiff_document_ps_export_end)
2290 (tiff_document_document_ps_exporter_iface_init): implement the ps
2291 exporter interface for tiff documents
2293 * tiff/tiff2ps.c: added a modified version of tiff2ps.c from
2294 libtiff to implement TIFF postscript export
2296 * tiff/tiff2ps.h: added a header file for external tiff2ps
2299 * tiff/Makefile.am (libtiffdocument_la_SOURCES): add tiff2ps.c and
2302 2005-07-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2304 * shell/ev-view.c: (scroll_to_current_page),
2305 (ev_view_set_fullscreen), (ev_view_set_presentation):
2307 Scroll to current page when exit from presentation
2309 2005-07-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2311 * shell/ev-window.c: (update_document_mode),
2312 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
2313 (ev_window_cmd_view_fullscreen), (ev_window_stop_presentation),
2314 (ev_window_cmd_view_presentation), (ev_window_cmd_escape):
2316 Exit from fullscreen mode when switch to presentation. Fix for
2319 2005-07-02 Matthew S. Wilson <msw@rpath.com>
2321 * shell/ev-pixbuf-cache.c (ev_pixbuf_cache_get_selection_pixbuf):
2322 return NULL if the document does not implement the selection
2325 2005-07-02 Matthew S. Wilson <msw@rpath.com>
2327 * tiff/tiff-document.c (tiff_document_get_page_size): scale the
2328 reported height by using the resolution aspect ratio
2329 (tiff_document_render_pixbuf): scale the pixbuf using the
2330 resolution aspect ratio
2332 2005-07-01 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2336 Require libgnomeprint >= 2.5.1. Thanks to Colin Slater
2337 <kiltedaco@gmail.com>
2339 * djvu/djvu-document.c: (djvu_document_get_orientation),
2340 (djvu_document_set_orientation), (djvu_document_get_page_size),
2341 (rotate_pixbuf), (djvu_document_render_pixbuf),
2342 (djvu_document_document_iface_init):
2343 * dvi/dvi-document.c: (dvi_document_get_orientation),
2344 (dvi_document_set_orientation), (dvi_document_get_page_size),
2345 (rotate_pixbuf), (dvi_document_render_pixbuf),
2346 (dvi_document_document_iface_init):
2348 Dvi and djvu backends are ported to new API
2350 Fri Jul 1 00:10:15 2005 Jonathan Blandford <jrb@redhat.com>
2352 * backend/ev-selection.c: (ev_selection_get_selection_region),
2353 (ev_selection_get_selection_map):
2354 * backend/ev-selection.h:
2355 * pdf/ev-poppler.cc:
2356 * shell/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
2358 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info),
2359 (job_finished_cb), (copy_job_to_job_info), (add_job_if_needed),
2360 (ev_pixbuf_cache_get_text_mapping):
2361 * shell/ev-pixbuf-cache.h:
2362 * shell/ev-view.c: (location_in_text),
2363 (ev_view_motion_notify_event), (ev_view_set_cursor): Add I-Beam
2364 support to EvView. Now we can see where we can select! Sweet!
2366 2005-06-30 Kristian Høgsberg <krh@redhat.com>
2368 * shell/ev-view.c (ev_view_button_press_event): Fix
2369 event->y + view->scroll_x typo.
2371 2005-06-30 Kristian Høgsberg <krh@redhat.com>
2373 * pdf/ev-poppler.cc: Adjust to poppler API changes; use a
2374 sub-GdkPixbuf instead of passing dest_x and dest_y.
2376 * shell/ev-view.c: (view_point_to_doc_point),
2377 (view_rect_to_doc_rect), (ev_view_button_press_event),
2378 (ev_view_motion_notify_event), (compute_new_selection_rect),
2379 (gdk_rectangle_point_in), (compute_new_selection_text),
2380 (compute_selections): Update selection code to keep the selection
2381 around as two points and not as a normalized rectangle, and fix
2382 page level selection in two-column mode.
2384 2005-06-30 Alex Duggan <aldug@astrolinux.com>
2386 * shell/ev-window.c: (window_configure_event_cb):
2390 2005-06-30 Marco Pesenti Gritti <mpg@redhat.com>
2392 * pdf/ev-poppler.cc:
2396 2005-06-30 Marco Pesenti Gritti <mpg@redhat.com>
2398 * shell/Makefile.am:
2399 * shell/ev-metadata-manager.c: (item_free),
2400 (ev_metadata_manager_init), (ev_metadata_manager_shutdown),
2401 (parse_value), (parseItem), (load_values),
2402 (ev_metadata_manager_get), (value_free), (ev_metadata_manager_set),
2403 (save_values), (save_item), (get_oldest), (resize_items),
2404 (ev_metadata_manager_save), (ev_metadata_manager_set_int):
2405 * shell/ev-metadata-manager.h:
2407 Metadata manager from gedit but modified to use GValue, so that
2408 we dont need to keep converting from strings.
2412 ENABLE_METADATA conditional, on when dbus is on
2414 * shell/ev-application.c: (ev_application_open_uri):
2416 Show the window after load so that we can initialize
2417 window size before it's showed.
2419 * shell/ev-window.c: (ev_window_setup_from_metadata),
2420 (ev_window_open_uri), (window_configure_event_cb),
2423 Save and load metadata information about window size.
2424 Not yet keeping states in account.
2426 * shell/main.c: (main):
2428 Shutdown metadata manager.
2430 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
2432 * shell/ev-application-service.xml:
2434 * shell/Makefile.am:
2435 * shell/ev-application.c:
2436 * shell/ev-application.h:
2437 * shell/ev-window.c:
2438 * shell/ev-window.h:
2441 Add an optional dbus interface (--enable-dbus).
2442 Rework application code, mainly to be easier to
2444 Do not open multiple windows with the same document,
2447 Thu Jun 30 01:50:14 2005 Jonathan Blandford <jrb@redhat.com>
2449 * shell/ev-pixbuf-cache.c (clear_selection_if_needed): unref the
2450 pixbuf iff it exists.
2452 Thu Jun 30 01:43:00 2005 Jonathan Blandford <jrb@redhat.com>
2455 * backend/ev-render-context.[ch]:
2456 * backend/ev-selection.[ch]:
2458 Massive changes. We now support text selection of pdfs, and not
2459 just rectangular selection. This is pretty broken still, but I
2460 want to get something into CVS.
2462 2005-06-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2464 * pdf/ev-poppler.cc:
2466 Fix for Bug 309080: crash on window close.
2468 * shell/ev-page-action.c: (page_changed_cb):
2470 Fix for Bug 309168: Fix build with gcc 2.95. Thanks to
2471 jensgr@gmx.net (Jens Granseuer).
2473 2005-06-25 Marcel Telka <marcel@telka.sk>
2475 * configure.in (ALL_LINGUAS): Added sk.
2477 2005-06-24 Carlos Garcia Campos <carlosgc@gnome.org>
2479 * shell/ev-window.c: Make rotate menu entries unsensitive if there is
2482 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
2489 * cut-n-paste/recent-files/Makefile.am:
2493 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
2495 * pixbuf/pixbuf-document.c: (pixbuf_document_get_orientation),
2496 (pixbuf_document_set_orientation), (rotate_pixbuf),
2497 (pixbuf_document_get_page_size), (pixbuf_document_render_pixbuf),
2498 (pixbuf_document_document_iface_init), (pixbuf_document_init):
2500 Implement rotation and cleanup the code a bit.
2502 * tiff/tiff-document.c: (tiff_document_get_page_size),
2503 (tiff_document_get_orientation), (tiff_document_set_orientation),
2504 (rotate_pixbuf), (tiff_document_render_pixbuf),
2505 (tiff_document_document_iface_init), (tiff_document_init):
2507 Implement rotation. Was the quicker solution for the release
2508 but we really need to share this code in the shell.
2510 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
2512 * pdf/ev-poppler.cc:
2514 Enable rotation, require poppler cvs. Fix a leak.
2516 2005-06-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2518 * shell/ev-window.c: (update_action_sensitivity):
2520 Make properties unsensitive if document backend doesn't provide
2523 2005-06-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2525 * dvi/mdvi-lib/bitmap.c: (bitmap_alloc), (bitmap_alloc_raw),
2526 (bitmap_flip_horizontally), (bitmap_flip_vertically),
2527 (bitmap_flip_diagonally), (bitmap_rotate_clockwise),
2528 (bitmap_rotate_counter_clockwise), (bitmap_flip_rotate_clockwise),
2529 (bitmap_flip_rotate_counter_clockwise):
2530 * dvi/mdvi-lib/color.c: (mdvi_push_color), (get_color_table):
2531 * dvi/mdvi-lib/common.c: (read_string), (buff_free), (buff_add),
2533 * dvi/mdvi-lib/common.h:
2534 * dvi/mdvi-lib/dvimisc.c: (mdvi_push_color):
2535 * dvi/mdvi-lib/dviread.c: (get_bytes), (dreset), (define_font),
2536 (opendvi), (mdvi_reload), (mdvi_init_context),
2537 (mdvi_destroy_context), (mdvi_dopage), (special):
2538 * dvi/mdvi-lib/font.c: (font_drop_one), (font_free_unused):
2539 * dvi/mdvi-lib/fontmap.c: (read_encoding), (destroy_encoding),
2540 (file_hash_free), (register_encoding), (parse_spec),
2541 (mdvi_load_fontmap), (free_ent), (mdvi_init_fontmaps),
2542 (mdvi_add_fontmap_file), (mdvi_ps_read_fontmap),
2543 (mdvi_ps_flush_fonts), (mdvi_ps_find_font), (mdvi_ps_get_metrics):
2544 * dvi/mdvi-lib/fontsrch.c: (mdvi_list_font_class),
2545 (mdvi_register_font_type), (mdvi_unregister_font_type),
2546 (lookup_font), (mdvi_add_font), (mdvi_font_retry):
2547 * dvi/mdvi-lib/gf.c: (gf_read_bitmap), (gf_load_font):
2548 * dvi/mdvi-lib/hash.c: (mdvi_hash_remove), (mdvi_hash_remove_ptr),
2549 (mdvi_hash_destroy_key), (mdvi_hash_reset):
2550 * dvi/mdvi-lib/pagesel.c: (mdvi_parse_range),
2551 (mdvi_parse_page_spec), (mdvi_free_page_spec), (main):
2552 * dvi/mdvi-lib/paper.c: (mdvi_free_paper_specs):
2553 * dvi/mdvi-lib/pk.c: (pk_lookup), (pk_lookupn), (pk_load_font):
2554 * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
2555 * dvi/mdvi-lib/special.c: (mdvi_register_special),
2556 (mdvi_unregister_special), (mdvi_flush_specials):
2557 * dvi/mdvi-lib/t1.c: (t1_lookup_font), (t1_really_load_font),
2559 * dvi/mdvi-lib/tfm.c: (get_tfm_chars):
2560 * dvi/mdvi-lib/tfmfile.c: (afm_load_file), (tfm_load_file),
2561 (ofm1_load_file), (ofm_load_file), (get_font_metrics),
2562 (free_font_metrics), (flush_font_metrics):
2563 * dvi/mdvi-lib/tt.c: (tt_really_load_font), (tt_get_bitmap),
2565 * dvi/mdvi-lib/util.c: (mdvi_malloc), (mdvi_realloc),
2566 (mdvi_calloc), (mdvi_free), (mdvi_strdup), (mdvi_strncpy),
2567 (mdvi_strndup), (mdvi_memdup), (xstradd), (dstring_append),
2568 (dstring_insert), (dstring_new), (dstring_reset):
2569 * dvi/mdvi-lib/vf.c: (vf_load_font), (vf_free_macros):
2571 Rename xmalloc and xfree to mdvi_malloc and mdvi_free to
2572 avoid conflict with libtool on FC4
2574 * shell/ev-window.c: (ev_window_cmd_help_about):
2576 Update copyright year. Fix for bug 308828.
2578 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
2580 * shell/ev-view.c: (add_scroll_binding_keypad),
2581 (ev_view_binding_activated), (ev_view_class_init),
2582 (on_adjustment_value_changed):
2584 Bug 170874: Arrow keys switch pages in presentation mode
2586 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
2588 * shell/ev-window.c: (ev_window_sidebar_visibility_changed_cb):
2590 Fix for Bug 308265: Sidebar dissappears coming out of
2593 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
2595 * shell/ev-application.c: (ev_application_open):
2596 * shell/ev-document-types.c: (ev_document_types_add_filters),
2597 (ev_document_types_add_filters_for_type):
2598 * shell/ev-document-types.h:
2599 * shell/ev-window.c: (ev_window_cmd_save_as):
2601 Suggest basename as template when saving, provide filters
2602 for save dialog. It's bug 308402
2604 2005-06-20 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2606 * pdf/ev-poppler.cc:
2607 * shell/ev-sidebar-links.c: (job_finished_callback):
2608 * shell/ev-view.c: (update_find_status_message):
2612 2005-06-19 Christian Persch <chpe@cvs.gnome.org>
2614 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
2615 (egg_recent_view_uimanager_set_list):
2617 Fix buglet in !show_numbers case.
2619 2005-06-19 Christian Persch <chpe@cvs.gnome.org>
2621 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
2622 (connect_proxy_cb), (egg_recent_view_uimanager_set_list):
2624 Use pango ellipsisation.
2626 * pdf/ev-poppler.cc:
2628 Fix refcount leak, from nsh.
2630 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2632 * cut-n-paste/recent-files/Makefile.am:
2633 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
2634 * cut-n-paste/recent-files/egg-recent-view-gtk.h:
2636 Removed EggRecentViewGtk
2638 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
2639 * cut-n-paste/recent-files/egg-recent-view-uimanager.h:
2640 * shell/ev-window.c: (ev_window_cmd_recent_file_activate),
2641 (ev_window_setup_recent):
2643 Use ViewUIManager instead of ViewGtk. Less leaks, more compatibility
2646 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2648 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
2649 (egg_recent_view_gtk_finalize):
2653 * cut-n-paste/toolbar-editor/Makefile.am:
2655 Fix location of cursor icon.
2657 * pdf/ev-poppler.cc:
2658 * shell/ev-page-action.c: (build_new_tree_cb), (match_selected_cb),
2659 (display_completion_text), (match_completion):
2660 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
2661 (selection_changed_callback), (create_loading_model),
2662 (print_section_cb), (links_page_num_func),
2663 (update_page_callback_foreach):
2664 * shell/ev-window.c: (ev_window_dispose):
2666 Small memory fixes. Links model now store objects instead
2667 of pointers to improve memory management.
2669 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2671 * shell/ev-window.c: (zoom_control_changed_cb):
2673 Fix update of zoom control (bug 308268).
2675 Sat Jun 18 22:46:42 2005 Jonathan Blandford <jrb@redhat.com>
2677 * shell/ev-properties.c (set_property): escape the text correctly.
2678 Handles non-UTF-8 properties and escaped properties. Also, sets
2679 the text to "<i>None</i>" if the property isn't set.
2681 * data/evince-properties.glade: Change the label to be ellipsized,
2682 and give it a minimum size.
2684 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2686 * lib/ev-file-helpers.c: (ev_file_helpers_shutdown):
2687 * shell/ev-sidebar-links.c: (create_loading_model):
2688 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose):
2689 * shell/ev-view.c: (ev_view_set_document):
2690 * shell/ev-window.c: (ev_window_dispose):
2692 Various small fixes, mostly memory leaks. Thanks to valgrind.
2694 2005-06-19 Martin Kretzschmar <martink@gnome.org>
2696 * ps/ps-document.c: remove the locale.h include again ;-). And
2697 kill the (bogus) setlocale/savelocale business.
2699 2005-06-19 Jaap A. Haitsma <jaap@haitsma.org>
2703 Include locale.h to fix build
2705 * shell/ev-sidebar.c:
2707 Remove unnecessary includes
2709 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2711 * dvi/dvi-document.c: (dvi_document_load):
2712 * dvi/mdvi-lib/dviread.c: (mdvi_init_context):
2715 Check for incorrect dvi files. Fix parsing dvi on AMD64
2716 platform. Thanks to tester@tester.ca (Olivier Crete).
2718 2005-06-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2720 * shell/ev-page-action.c: (match_selected_cb),
2721 (display_completion_text), (match_completion), (update_model):
2722 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
2723 (expand_open_links):
2724 * shell/ev-sidebar.c: (ev_sidebar_destroy),
2725 (ev_sidebar_menu_item_activate_cb), (ev_sidebar_add_page),
2726 (ev_sidebar_set_document):
2727 * shell/ev-window.c: (ev_window_xfer_job_cb),
2728 (sidebar_widget_model_set), (sidebar_page_main_widget_update_cb):
2730 Fixed lot's of memory leaks, for example, memory leak on reload,
2731 described in bug 307793.
2733 2005-06-18 Marco Pesenti Gritti <mpg@redhat.com>
2735 * pdf/ev-poppler.cc:
2736 * shell/ev-sidebar-thumbnails.c: (clear_range), (add_range),
2737 (update_visible_range), (adjustment_changed_cb),
2738 (ev_sidebar_thumbnails_fill_model),
2739 (ev_sidebar_thumbnails_refresh),
2740 (ev_sidebar_tree_selection_changed),
2741 (ev_sidebar_icon_selection_changed),
2742 (ev_sidebar_thumbnails_use_icon_view),
2743 (ev_sidebar_thumbnails_set_document):
2744 * shell/ev-sidebar-thumbnails.h:
2745 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
2746 (ev_window_cmd_edit_rotate_right), (ev_window_init):
2748 Refresh thumbnails when changing orientation. Not fully
2749 working yet becuase of a sidebar bug.
2751 Set page orientation to poppler page everywhere. This sucks
2752 really need to fix poppler.
2754 2005-06-18 Marco Pesenti Gritti <mpg@redhat.com>
2756 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
2757 (egg_recent_view_gtk_new_menu_item),
2758 (egg_recent_view_gtk_set_property),
2759 (egg_recent_view_gtk_get_property),
2760 (egg_recent_view_gtk_class_init), (egg_recent_view_gtk_init),
2761 (egg_recent_view_gtk_set_tooltip_func),
2762 (egg_recent_view_gtk_set_label_width),
2763 (egg_recent_view_gtk_get_label_width):
2764 * cut-n-paste/recent-files/egg-recent-view-gtk.h:
2766 Sync with libegg (ellipsize labels)
2768 2005-06-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2770 * data/evince-ui.xml:
2771 * shell/ev-window.c: (ev_window_cmd_go_forward),
2772 (ev_window_cmd_go_backward):
2774 Shift + PageUp moves 10 Pages. Fix for 306125
2776 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
2778 * pdf/ev-poppler.cc:
2780 Add a flag to check if orientation has been overriden
2782 2005-06-17 Martin Kretzschmar <martink@gnome.org>
2784 * ps/ps.c (psscan, psfree): read "Creator:" comment, free creator
2787 * ps/ps.h: add creator field to document.
2789 * ps/ps-document.c (ps_document_get_info): set format to PostScript,
2792 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
2794 * data/evince-properties.glade:
2795 * shell/ev-properties.c: (ev_properties_set_document):
2797 s/PDF Version/Format
2799 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
2801 * shell/ev-properties.c: (ev_properties_set_document):
2803 Remove unnecessary translations
2805 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
2807 * cut-n-paste/toolbar-editor/Makefile.am:
2809 Correct library name
2811 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
2814 * cut-n-paste/recent-files/egg-recent-model.c:
2815 (egg_recent_model_write_raw), (egg_recent_model_lock_file),
2816 (egg_recent_model_unlock_file):
2817 * cut-n-paste/recent-files/egg-recent-util.c:
2818 (egg_recent_util_get_unique_id):
2819 * cut-n-paste/recent-files/update-from-egg.sh:
2820 * cut-n-paste/toolbar-editor/Makefile.am:
2821 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
2822 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
2823 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
2824 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
2825 (egg_toolbars_model_get_type):
2826 * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
2828 Better makefile for toolbar editor and update everything
2831 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
2833 * shell/ev-window.c: (update_document_mode):
2835 Prefer presentation mode when the document
2838 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
2840 * data/evince-ui.xml:
2841 * shell/ev-window.c:
2843 Add control-equal for zooming
2845 2005-06-17 Theppitak Karoonboonyanan <thep@linux.thai.net>
2847 * configure.ac: Added 'th' (Thai) to ALL_LINGUAS.
2849 2005-06-16 Marco Pesenti Gritti <mpg@redhat.com>
2851 * backend/ev-document.c: (ev_document_get_orientation):
2852 * backend/ev-document.h:
2853 * pdf/ev-poppler.cc:
2854 * ps/ps-document.c: (ps_document_get_orientation),
2855 (ps_document_set_orientation), (ps_document_document_iface_init):
2857 Add a get_orientation api. Improve set_orientation.
2859 * data/evince-ui.xml:
2860 * shell/ev-view.c: (ev_view_set_orientation),
2861 (ev_view_rotate_right), (ev_view_rotate_left):
2863 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
2864 (ev_window_cmd_edit_rotate_right):
2866 Better ui for changing document orientation
2868 2005-06-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2870 * shell/ev-sidebar-links.c: (ev_sidebar_links_get_property),
2871 (ev_sidebar_links_class_init), (ev_sidebar_links_get_label):
2872 * shell/ev-sidebar-links.h:
2873 * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
2874 (ev_sidebar_page_iface_init):
2875 * shell/ev-sidebar-page.h:
2876 * shell/ev-sidebar-thumbnails.c:
2877 (ev_sidebar_thumbnails_get_property),
2878 (ev_sidebar_thumbnails_class_init),
2879 (ev_sidebar_thumbnails_set_document):
2880 * shell/ev-sidebar-thumbnails.h:
2881 * shell/ev-view.c: (ev_view_motion_notify_event):
2882 * shell/ev-window.c: (update_chrome_visibility),
2883 (ev_window_cmd_focus_page_selector),
2884 (ev_window_update_fullscreen_popup), (view_actions_focus_in_cb),
2885 (sidebar_page_main_widget_update_cb), (ev_window_init):
2887 Autoraise toolbar on GoToPage binding and fix bindings in
2888 EvSidebarThumbnails page.
2890 2005-06-15 Christian Persch <chpe@cvs.gnome.org>
2892 * shell/ev-properties.c: (update_progress_label):
2894 Hide the progress label when finished; bug #307697.
2896 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
2898 * pdf/ev-poppler.cc:
2900 Enable is_open for links, you will need poppler cvs
2902 * shell/ev-properties.c: (job_fonts_finished_cb):
2904 Get a lock on the document when filling the tree view
2906 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
2908 * backend/ev-document-links.h:
2909 * pdf/ev-poppler.cc:
2910 * shell/ev-sidebar-links.c: (create_loading_model),
2911 (expand_open_links), (job_finished_callback):
2913 Expand links when specified by the document.
2914 Depend on a poppler api (defined out for now)
2916 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
2918 * shell/ev-properties.c: (ev_properties_dispose),
2919 (ev_properties_class_init), (dialog_destroy_cb),
2920 (ev_properties_init), (job_fonts_finished_cb), (setup_fonts_view),
2921 (ev_properties_set_document), (ev_properties_new),
2922 (ev_properties_show):
2923 * shell/ev-properties.h:
2925 Make it an object, cleanup the code, api to show it as transient
2926 and to set the document.
2928 * shell/ev-window.c: (ev_window_setup_document),
2929 (ev_window_cmd_file_properties):
2931 Adapt to EvProperties changes, do not show multiple
2932 times, update it when document changes.
2934 2005-06-14 Marco Pesenti Gritti <mpg@redhat.com>
2937 * ps/ps-document.c: (ps_document_init), (get_page_orientation),
2938 (ps_document_set_orientation), (ps_document_document_iface_init):
2941 Implement orientation here too
2943 * shell/ev-properties.c: (ev_properties_new):
2944 * data/evince-properties.glade:
2946 Hide the fonts page for backends that doesnt
2949 2005-06-14 Marco Pesenti Gritti <mpg@redhat.com>
2951 * backend/ev-document.c: (ev_document_set_orientation):
2952 * backend/ev-document.h:
2953 * pdf/ev-poppler.cc:
2955 Add orientation api. Currently poppler api is not optimal,
2956 we need to set orientation every time we _get a page.
2957 I will try to fix that at some point.
2959 * data/evince-ui.xml:
2960 * shell/ev-window.c: (ev_window_cmd_edit_landscape),
2961 (ev_window_cmd_edit_portrait), (ev_window_cmd_edit_flip):
2963 Add orientation menu items
2965 * shell/ev-page-cache.c: (ev_page_cache_clear):
2966 * shell/ev-page-cache.h:
2968 Add api to clear the cache
2970 * shell/ev-view.c: (setup_caches), (clear_caches),
2971 (ev_view_set_document), (ev_view_zoom_out),
2972 (ev_view_set_orientation):
2975 Implement orientation changing
2977 2005-06-13 Marco Pesenti Gritti <mpg@redhat.com>
2979 * backend/ev-document-fonts.c: (ev_document_fonts_get_progress),
2980 (ev_document_fonts_scan), (ev_document_fonts_fill_model):
2981 * backend/ev-document-fonts.h:
2983 Separate scan and fill so that we can incrementally fill from
2984 the main thread. Add a progress api.
2986 * data/evince-properties.glade:
2987 * pdf/ev-poppler.cc:
2988 * shell/ev-jobs.c: (ev_job_fonts_new), (ev_job_fonts_run):
2990 * shell/ev-properties.c: (update_progress_label),
2991 (job_fonts_finished_cb), (setup_fonts_view):
2993 Incrementally feel the list and show the progress
2994 percentage in a label like acrobat does.
2996 You are going to need poppler cvs
2998 2005-06-11 Marco Pesenti Gritti <mpg@redhat.com>
3000 * backend/ev-document-fonts.c: (ev_document_fonts_fill_model):
3001 * backend/ev-document-fonts.h:
3002 * pdf/ev-poppler.cc:
3004 Make fonts model fill incrementally.
3006 * shell/ev-job-queue.c: (handle_job), (search_for_jobs_unlocked),
3007 (no_jobs_available_unlocked), (ev_job_queue_init), (find_queue),
3008 (ev_job_queue_remove_job):
3009 * shell/ev-jobs.c: (ev_job_fonts_init), (ev_job_fonts_class_init),
3010 (ev_job_fonts_new), (ev_job_fonts_run):
3013 New job for fonts scanning
3015 * shell/ev-properties.c: (job_fonts_finished_cb),
3016 (fill_fonts_treeview), (setup_fonts_view), (ev_properties_new):
3017 * shell/ev-properties.h:
3018 * shell/ev-window.c: (ev_window_cmd_file_properties):
3020 Incrementally feel the treeview using the new job. Show Loading...
3021 message until scanning is completed.
3023 Hopefully I didnt break the build without the poppler patch.
3025 2005-06-10 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3027 * shell/ev-application.c: (ev_application_open):
3028 * shell/ev-document-types.c: (ev_document_type_from_from_mime),
3029 (ev_document_type_get_type), (ev_document_type_lookup):
3030 * shell/ev-document-types.h:
3031 * shell/ev-job-xfer.c: (ev_job_xfer_dispose), (ev_job_xfer_run):
3032 * shell/ev-job-xfer.h:
3033 * shell/ev-window.c: (ev_window_clear_local_uri),
3034 (ev_window_load_job_cb), (ev_window_xfer_job_cb),
3035 (ev_window_open_uri), (ev_window_add_recent), (ev_window_dispose):
3036 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3038 Transfer remote documents to tmp directory to display them later.
3040 2005-06-10 Marco Pesenti Gritti <mpg@redhat.com>
3042 * backend/ev-document-info.h:
3043 * shell/ev-properties.c: (ev_properties_new):
3045 s/GTime*/GTime. Not sure why we was using a pointer
3048 Wed Jun 8 01:04:22 2005 Jonathan Blandford <jrb@redhat.com>
3050 * shell/ev-sidebar-thumbnails.c: Use a GtkIconView in certain
3051 situations. That situation is that you're using GTK+-HEAD with
3052 the patch at #306726 is applied, and you have a document with <
3053 1500 pages in it. It's not quite as uniformly nice as the
3054 TreeView, but should be better in the long run.
3056 I'm pretty sure I guarded against breaking compilation with
3057 HAVE_GTK_ICON_VIEW_GET_VISIBLE_RANGE gaurds, though it's possible
3060 * shell/ev-window.c (ev_window_init): We don't have our tree/list
3061 widget yet, so I commented that code out
3062 enable_view_actions_for_widget() for now. Need to figure this
3065 * shell/ev-page-action.c (match_selected_cb): emit the right
3066 signals. Our cool C-l completion now works.
3068 2005-06-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3070 * backend/Makefile.am:
3071 * backend/ev-document-fonts.c:
3072 * backend/ev-document-links.c:
3073 * backend/ev-document.c: (ev_document_load):
3074 * backend/ev-document.h:
3075 * backend/ev-job-queue.c:
3076 * backend/ev-job-queue.h:
3077 * backend/ev-jobs.c:
3078 * backend/ev-jobs.h:
3079 * backend/ev-page-cache.c:
3080 * backend/ev-page-cache.h:
3082 EvPageCache and EvJobs are moved to shell.
3084 * lib/ev-file-helpers.c: (ev_file_helpers_shutdown),
3086 * lib/ev-file-helpers.h:
3088 New helper to work with temporary files
3090 * shell/Makefile.am:
3091 * shell/ev-application.c: (ev_application_open):
3092 * shell/ev-application.h:
3093 * shell/ev-job-queue.c: (remove_job_from_queue_locked),
3094 (remove_job_from_async_queue), (add_job_to_async_queue),
3095 (add_job_to_queue_locked), (notify_finished), (job_finished_cb),
3096 (handle_job), (search_for_jobs_unlocked),
3097 (no_jobs_available_unlocked), (ev_render_thread),
3098 (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
3099 (ev_job_queue_add_job), (move_job_async), (move_job),
3100 (ev_job_queue_update_job), (ev_job_queue_remove_job):
3101 * shell/ev-job-queue.h:
3102 * shell/ev-job-xfer.c: (ev_job_xfer_init), (ev_job_xfer_dispose),
3103 (ev_job_xfer_class_init), (ev_job_xfer_new), (ev_job_xfer_run):
3104 * shell/ev-job-xfer.h:
3105 * shell/ev-jobs.c: (ev_job_init), (ev_job_dispose),
3106 (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
3107 (ev_job_links_class_init), (ev_job_render_init),
3108 (ev_job_render_dispose), (ev_job_render_class_init),
3109 (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
3110 (ev_job_thumbnail_class_init), (ev_job_load_init),
3111 (ev_job_load_dispose), (ev_job_load_class_init), (ev_job_finished),
3112 (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
3113 (render_finished_cb), (ev_job_render_run), (ev_job_thumbnail_new),
3114 (ev_job_thumbnail_run), (ev_job_load_new), (ev_job_load_run):
3116 * shell/ev-page-action.c: (ev_page_action_set_document):
3117 * shell/ev-page-cache.c: (ev_page_cache_init),
3118 (ev_page_cache_class_init), (ev_page_cache_finalize),
3119 (ev_page_cache_new), (ev_page_cache_get_n_pages),
3120 (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
3121 (ev_page_cache_set_page_label), (ev_page_cache_set_link),
3122 (ev_page_cache_get_title), (ev_page_cache_get_size),
3123 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
3124 (ev_page_cache_get_height_to_page),
3125 (ev_page_cache_get_max_label_chars),
3126 (ev_page_cache_get_page_label),
3127 (ev_page_cache_has_nonnumeric_page_labels),
3128 (ev_page_cache_get_info), (ev_page_cache_next_page),
3129 (ev_page_cache_prev_page), (ev_page_cache_get):
3130 * shell/ev-page-cache.h:
3131 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_update_range),
3132 (ev_pixbuf_cache_clear_job_sizes),
3133 (ev_pixbuf_cache_add_jobs_if_needed),
3134 (ev_pixbuf_cache_set_page_range):
3135 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings):
3136 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document):
3137 * shell/ev-sidebar-thumbnails.c:
3138 (ev_sidebar_tree_selection_changed),
3139 (ev_sidebar_thumbnails_set_document):
3140 * shell/ev-statusbar.c: (ev_statusbar_destroy),
3141 (ev_statusbar_class_init), (ev_statusbar_init), (ev_statusbar_new),
3142 (ev_statusbar_get_context_id), (ev_statusbar_push),
3143 (ev_statusbar_pop), (ev_statusbar_set_maximized),
3144 (ev_statusbar_pulse), (ev_statusbar_show_progress),
3145 (ev_statusbar_set_progress):
3146 * shell/ev-statusbar.h:
3147 * shell/ev-view.c: (ev_view_set_document), (ev_view_find_next),
3148 (ev_view_find_previous):
3149 * shell/ev-window.c: (ev_window_is_empty),
3150 (ev_window_setup_document), (password_dialog_response),
3151 (ev_window_clear_jobs), (ev_window_load_job_cb),
3152 (ev_window_xfer_job_cb), (ev_window_open_uri),
3153 (ev_window_open_uri_list), (ev_window_cmd_recent_file_activate),
3154 (ev_window_print), (ev_window_print_range),
3155 (ev_window_state_event), (ev_window_cmd_view_reload),
3156 (menu_item_select_cb), (menu_item_deselect_cb),
3157 (view_status_changed_cb), (ev_window_dispose),
3158 (drag_data_received_cb), (ev_window_init):
3159 * shell/ev-window.h:
3160 * shell/main.c: (load_files):
3162 New statusbar to show progress on idle. Two new jobs -
3163 xfer job and load job to load document in background. And update
3164 of page_cache clients to new location of code.
3166 2005-06-08 Carlos Garcia Campos <carlosgc@gnome.org>
3168 * shell/ev-application.c, shell/ev-window.[ch]: Allow multiple
3169 selection in open dialog. It also remembers the last visited directory
3170 in the current session.
3172 2005-06-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3174 * shell/ev-properties.c: (ev_properties_new):
3175 * shell/ev-properties.h:
3176 * shell/ev-window.c: (ev_window_cmd_file_properties):
3178 Get document info from page cache instead of document itself.
3179 This should fix crash related to race conditions described in
3182 2005-06-07 Marco Pesenti Gritti <mpg@redhat.com>
3184 * ps/ps-document.c: (ps_document_init),
3185 (send_ps), (get_page_box), (output), (catchPipe), (input),
3186 (stop_interpreter), (file_length), (file_readable),
3187 (check_filecompressedb), (ps_document_enable_interpreter),
3188 (document_load), (ps_async_renderer_render_pixbuf):
3191 Big cleanup of the ps code
3193 2005-06-07 Marco Pesenti Gritti <mpg@redhat.com>
3195 * backend/Makefile.am:
3196 * backend/ev-async-renderer.c: (ev_async_renderer_get_type),
3197 (ev_async_renderer_class_init), (ev_async_renderer_render_pixbuf):
3198 * backend/ev-async-renderer.h:
3200 Add an async renderer interface (method + callback) which
3201 is useful for backends like ps.
3203 * backend/ev-job-queue.c: (remove_job_from_async_queue),
3204 (add_job_to_async_queue), (job_finished_cb), (handle_job),
3205 (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
3206 (ev_job_queue_add_job), (move_job_async), (move_job),
3207 (ev_job_queue_update_job), (ev_job_queue_remove_job):
3209 Add queues for async renderer, these are executed on the
3212 * backend/ev-jobs.c: (ev_job_render_new), (render_finished_cb),
3213 (ev_job_render_run):
3214 * backend/ev-jobs.h:
3216 If the backend support async renderer interface use it.
3218 * ps/ps-document.c: (ps_document_init), (push_pixbuf),
3219 (setup_pixmap), (ps_document_get_type),
3220 (ps_async_renderer_render_pixbuf),
3221 (ps_document_document_iface_init), (ps_async_renderer_iface_init):
3223 Implement async renderer interface.
3225 2005-06-07 Nickolay V. Shmyrev <<nshmyrev@yandex.ru>>
3227 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose):
3229 Cleanup links job on exit.
3231 2005-06-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3233 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
3234 (drag_data_get_cb), (drag_data_received_cb):
3235 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
3236 (drag_data_get_cb), (parse_item_list),
3237 (egg_toolbar_editor_load_actions):
3238 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
3239 (egg_toolbars_model_to_xml), (egg_toolbars_model_save),
3240 (parse_item_list), (parse_toolbars):
3241 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
3242 (dvi_pixbuf_put_pixel):
3244 Fix gcc 4.0 warnings
3246 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
3248 * ps/ps-document.c: (start_interpreter):
3250 Fix warning when loading ps
3252 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
3254 * ps/ps-document.c: (output):
3256 Fix crash when priting gs error messages.
3258 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
3260 * backend/ev-page-cache.c: (_ev_page_cache_new):
3261 * backend/ev-page-cache.h:
3263 Use a const to return title so that we dont double
3264 free it. Small cleanup and fix a leak.
3266 * shell/ev-window.c: (update_window_title):
3268 strdup value from get_title.
3270 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
3272 * shell/ev-sidebar-links.c: (job_finished_callback),
3273 (ev_sidebar_links_set_document):
3275 Cleanup the old job when changing document
3277 2005-06-05 Nickolay V. Shmyrev <<nshmyrev@yandex.ru>>
3279 * shell/ev-stock-icons.c:
3280 * shell/ev-stock-icons.h:
3281 * shell/ev-window.c:
3283 Add stock icons for actions that can appear in toolbar. Fix for
3286 2005-06-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3288 * backend/ev-page-cache.c: (ev_page_cache_finalize),
3289 (_ev_page_cache_new), (ev_page_cache_get_max_width),
3290 (ev_page_cache_get_max_height), (ev_page_cache_get_height_to_page):
3291 * backend/ev-page-cache.h:
3292 * shell/ev-view.c: (scroll_to_current_page),
3293 (view_update_range_and_current_page), (get_page_y_offset),
3294 (get_page_extents), (ev_view_size_request_continuous_dual_page),
3295 (ev_view_size_request_continuous),
3296 (ev_view_zoom_for_size_continuous_and_dual_page),
3297 (ev_view_zoom_for_size_continuous):
3299 More compact EvView layout in document with pages of different size.
3301 Sat Jun 4 19:20:57 2005 Jonathan Blandford <jrb@redhat.com>
3303 * shell/ev-window.c (ev_window_cmd_file_properties): fix
3306 2005-06-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3308 * shell/ev-view.c: (view_set_adjustment_values):
3309 * shell/ev-window.c: (ev_window_cmd_file_properties):
3311 A bit different fix for rounding problem but it has no
3312 problems on startup. Make properties window transient to parent.
3314 2005-06-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3316 * pdf/ev-poppler.cc:
3318 More commenting of font stuff.
3320 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
3322 * pdf/ev-poppler.cc:
3324 Comment out some more fonts stuff. Should really
3325 work without the poppler patch now.
3327 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
3329 * pdf/ev-poppler.cc:
3333 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
3335 * data/evince-properties.glade:
3336 * pdf/ev-poppler.cc:
3337 * shell/ev-properties.c: (setup_fonts_view):
3339 Set the column title. Show the dialog only
3340 once everything is setup.
3341 Getting font info can be very slow... will
3342 prolly need to make this threaded too.
3344 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
3346 * backend/Makefile.am:
3347 * backend/ev-document-fonts.c: (ev_document_fonts_get_type),
3348 (ev_document_fonts_get_fonts_model):
3349 * backend/ev-document-fonts.h:
3350 * data/evince-properties.glade:
3351 * pdf/ev-poppler.cc:
3352 * shell/ev-properties.c: (setup_fonts_view), (ev_properties_new):
3353 * shell/ev-properties.h:
3354 * shell/ev-window.c: (ev_window_cmd_file_properties):
3356 Implement fonts list. Defined out for now, since it depends
3357 on a not yet committed poppler patch.
3359 Fri Jun 3 21:07:57 2005 Jonathan Blandford <jrb@redhat.com>
3361 * shell/ev-view.c (get_page_extents): other_page isn't necessarily
3364 * shell/ev-window.c: Make sure we add the timeout when we get a
3367 * shell/ev-view.c (view_set_adjustment_values): Add 0.5 to
3368 adjustment->value before calculating the zoom factor to average
3369 out all of our rounding errors. The page no longer 'drifts' when
3372 2005-06-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3374 * data/evince-properties.glade:
3375 * shell/ev-properties.c: (ev_properties_format_date),
3378 Labels don't expand when the dialogue is resized.
3379 strftime result needs to be converted to UTF-8. Thanks
3380 to Christian Persch <chpe@gnome.org>.
3382 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
3384 * data/evince-properties.glade:
3388 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
3390 * backend/ev-document-info.h:
3391 * backend/ev-document.c: (ev_document_info_free):
3392 * data/evince-properties.glade:
3393 * pdf/ev-poppler.cc:
3394 * ps/ps-document.c: (ps_document_get_info):
3395 * shell/ev-properties.c: (ev_properties_format_date),
3396 (set_property), (ev_properties_new):
3397 * shell/ev-properties.h:
3398 * shell/ev-window.c: (ev_window_cmd_file_properties):
3400 Rework properties code to take only EvPropertyInfo
3401 in the constructor so that it can be useful for
3402 nautilus plugin too.
3404 Deal with backends that doesnt support some properties.
3405 Make set property code generic.
3407 2005-06-04 Christian Persch <chpe@gnome.org>
3409 * data/evince-properties.glade:
3411 fix spacings, make resizeable, and make data labels
3412 selectable + ellipsised
3414 2005-06-03 Marco Pesenti Gritti <mpg@redhat.com>
3416 * backend/ev-document-info.h:
3418 * data/evince-ui.xml:
3419 * pdf/ev-poppler.cc:
3420 * shell/Makefile.am:
3421 * shell/ev-window.c: (update_action_sensitivity),
3422 (ev_window_cmd_file_properties):
3424 Initial go at file properties. Patch by
3425 Emil Soleyman-Zomalan <emil@soleyman.com>.
3426 Needs love see #169583
3428 2005-06-02 Marco Pesenti Gritti <mpg@redhat.com>
3430 * ps/ps-document.c: (output):
3431 * ps/ps.c: (psscan):
3433 Try to render even if psscan fails.
3435 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
3437 * ps/ps.c: (psscan), (pscopydoc):
3439 Port buffered reading code from gv
3441 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
3443 * ps/ps-document.c: (interpreter_message), (output):
3445 Do not fail on interpreter messages
3447 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
3449 * backend/ev-document-misc.c:
3450 (ev_document_misc_get_thumbnail_frame):
3452 Pages can be 0 x 0, dont assert on this case
3454 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
3456 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
3457 (ev_sidebar_links_class_init), (ev_sidebar_links_set_document):
3459 Correctly manage our reference on document. Finally the reload
3460 huge leak is gone...
3462 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
3464 * ps/ps-document.c: (ps_document_dispose):
3466 Forgot to chain it to the parent. Thanks chpe.
3468 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
3470 * ps/ps-document.c: (ps_document_dispose),
3471 (ps_document_class_init), (stop_interpreter), (document_load):
3473 Cleanup dispose a bit. Dont leak the whole pixmap.
3475 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
3477 * pdf/ev-poppler.cc:
3479 Release the poppler document on dispose
3481 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
3483 * shell/ev-view.c: (ev_view_set_document):
3485 Release ref on the pixbuf cache when changing
3488 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
3490 * ps/ps-document.c: (ps_document_get_info):
3494 2005-05-31 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
3496 * backend/ev-page-cache.c: (ev_page_cache_init),
3497 (_ev_page_cache_new), (ev_page_cache_get_max_label_chars):
3498 * backend/ev-page-cache.h:
3499 * shell/ev-page-action.c: (page_changed_cb):
3501 Set page action entry width depending on labels width. Fix
3504 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
3506 * backend/ev-link.c: (ev_link_class_init):
3508 Allow -1 as page value (error)
3510 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
3512 * shell/ev-sidebar-thumbnails.c:
3513 (ev_sidebar_thumbnails_set_document):
3514 * shell/ev-view.c: (scroll_to_current_page),
3515 (view_set_adjustment_values), (ev_view_set_scroll_adjustments),
3516 (page_changed_cb), (on_adjustment_value_changed),
3517 (ev_view_set_document):
3519 Slightly modified patch by Nickolay V. Shmyrev <nshmyrev@yandex.ru>.
3522 2005-05-29 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3525 * djvu/djvu-document.c: (djvu_document_get_page_size):
3527 Require djvulibre CVS. Now djvu loading is much faster. Fix for
3530 Sat May 28 07:38:03 2005 Jonathan Blandford <jrb@redhat.com>
3532 * shell/ev-view.c (draw_one_page): modify the expose handling to
3535 * shell/ev-window.c (update_action_sensitivity): Respect
3536 permissions field. Kowtow to the man.
3538 * pdf/ev-poppler.cc: Get the permissions field.
3540 * tiff/*c: Make a tiny bit more robust.
3542 2005-05-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3544 * djvu/djvu-document.c:
3546 Pop messages from djvu context message queue.
3548 2005-05-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3550 * configure.ac, Makefile.am, shell/Makefile.am:
3551 * tiff/Makefile.am, shell/ev-document-types.c:
3553 Cleanup tiff configure checks. Fix for bug 305218.
3555 2005-05-24 Maxim V. Dziumanenko <mvd@mylinux.ua>
3557 * configure.ac: Added "uk" to ALL_LINGUAS.
3559 2005-05-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3561 * cut-n-paste/zoom-control/ephy-zoom.c:
3562 (ephy_zoom_get_changed_zoom_level):
3563 * cut-n-paste/zoom-control/ephy-zoom.h:
3564 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_set_property),
3565 (ev_view_get_property), (ev_view_class_init), (ev_view_set_zoom):
3566 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
3567 (ev_window_cmd_view_zoom_out), (ev_window_zoom_changed_cb),
3568 (zoom_control_changed_cb), (ev_window_init):
3570 Fix minor points related to moving best fit up. Introduce
3571 "zoom" property and make zoom control change it's value on
3572 notify::zoom signals. Fix for 305080.
3574 2005-05-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3576 * data/evince-ui.xml:
3577 * shell/ev-window.c: (set_view_actions_sensitivity):
3579 Use + and - as accels for zoom in and zoom out. Fix for 305001.
3581 2005-05-22 Marco Pesenti Gritti <mpg@redhat.com>
3585 Depends on poppler 0.3.2
3587 2005-05-22 Marco Pesenti Gritti <mpg@redhat.com>
3589 * cut-n-paste/recent-files/egg-recent-item.c:
3590 (egg_recent_item_get_short_name):
3591 * cut-n-paste/toolbar-editor/Makefile.am:
3592 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
3593 (new_pixbuf_from_widget):
3594 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
3595 * cut-n-paste/toolbar-editor/egg-marshal.c:
3596 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
3597 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
3601 Sat May 21 23:18:30 2005 Jonathan Blandford <jrb@redhat.com>
3603 * tiff/tiff-document.c: Rough TIFF backend.
3605 2005-05-21 Marco Pesenti Gritti <mpg@redhat.com>
3609 * cut-n-paste/toolbar-editor/Makefile.am:
3613 2005-05-21 Marco Pesenti Gritti <mpg@redhat.com>
3615 * shell/ev-view.c: (jump_to_find_result), (ev_view_can_find_next),
3616 (ev_view_find_next), (ev_view_find_previous):
3618 Remove the locks around get_n_results
3620 2005-05-21 Juerg Billeter <j@bitron.ch>
3622 * pdf/ev-poppler.c: (pdf_document_ps_exporter_begin):
3624 Pass correct number of pages to poppler.
3626 2005-05-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3630 * data/evince.desktop.in:
3631 * data/evince.desktop.in.in:
3634 Add conditionally dvi and djvu to desktop types. Fix for 304658.
3636 Sat May 21 00:21:30 2005 Jonathan Blandford <jrb@redhat.com>
3638 * shell/ev-view.c: (view_update_adjustments),
3639 (view_set_adjustment_values): cast adjustmen->value to (int)
3640 before using it. Otherwise, we get off by a pixel in some
3643 (draw_one_page): Draw the border on expose.
3645 Fri May 20 22:05:25 2005 Jonathan Blandford <jrb@redhat.com>
3647 * *shell/ev-view.c: Patch from Nickolay V. Shmyrev to reset the
3648 adjustment when the mode changes, #304923
3650 Fri May 20 02:00:03 2005 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3652 * shell/ev-view.c: Use gdk_widget_queue_draw to remove
3653 flickering on resize but still use gdk_window_scroll on
3656 Fri May 20 01:46:57 2005 Jonathan Blandford <jrb@redhat.com>
3658 * shell/ev-view.c: Patch from Nickolay Shmyrev to fix the -p
3661 Fri May 20 01:27:01 2005 Jonathan Blandford <jrb@redhat.com>
3663 * shell/ev-view.c: Patch from Nickolay Shmyrev to to scroll to
3664 second page on page_changed if possible, #304669
3666 Fri May 20 01:07:15 2005 Jonathan Blandford <jrb@redhat.com>
3668 * shell/ev-view.c (view_update_adjustments): Use gdk_window_scroll
3669 instead of gtk_widget_queue_draw. Massive speedups in scrolling.
3671 Fri May 20 01:05:10 2005 Jonathan Blandford <jrb@redhat.com>
3674 * shell/ev-view.c:(ev_view_size_allocate), (ev_view_class_init),
3675 (zoom_for_size_fit_width), (zoom_for_size_best_fit),
3676 (ev_view_zoom_for_size_presentation),
3677 (ev_view_zoom_for_size_continuous_and_dual_page),
3678 (ev_view_zoom_for_size_continuous),
3679 (ev_view_zoom_for_size_dual_page),
3680 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size):
3682 * shell/ev-window.c: (update_view_size),
3683 (ev_window_sizing_mode_changed_cb):
3685 Patch from Nickolay Shmyrev <nshmyrev@yandex.ru> to handle
3686 the scrollbars. It's not 100% right, but it's much closer. Kills
3687 an infinite loop, #304769
3690 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
3692 * data/evince-ui.xml:
3693 * shell/ev-view.c: (ev_view_scroll_view), (ev_view_class_init):
3694 * shell/ev-window.c: (set_view_actions_sensitivity):
3696 Make PgUp/Down behave like Space
3698 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
3700 * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
3701 * backend/ev-ps-exporter.h:
3702 * pdf/ev-poppler.cc:
3703 * ps/ps-document.c: (ps_document_ps_export_begin):
3704 * shell/ev-print-job.c: (idle_print_handler):
3706 Adapt to new poppler api
3708 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
3710 * cut-n-paste/zoom-control/ephy-zoom-control.c:
3711 (ephy_zoom_control_init):
3713 Translate zoom levels
3715 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
3717 * cut-n-paste/zoom-control/ephy-zoom.c:
3718 (ephy_zoom_get_zoom_level_index):
3720 Fix current zoom -> zoom control match
3722 2005-05-18 James Bowes <bowes@cs.dal.ca>
3724 * shell/ev-window.c: (ev_window_init): Give focus to the ev-view,
3725 rather than the scrolled_window that it's in. Fixes bug #304655.
3727 Tue May 17 22:54:17 2005 Jonathan Blandford <jrb@redhat.com>
3729 * shell/ev-view.c: (view_update_adjustments),
3730 (view_set_adjustment_values), (view_update_range_and_current_page),
3731 (view_scroll_to_page), (set_scroll_adjustment),
3732 (ev_view_set_scroll_adjustments), (add_scroll_binding_keypad),
3733 (ev_view_scroll), (ev_view_scroll_view),
3734 (ensure_rectangle_is_visible), (find_page_at_location),
3735 (get_link_at_location), (go_to_link), (status_message_from_link),
3736 (ev_view_size_request_continuous_dual_page),
3737 (ev_view_size_request), (ev_view_size_allocate), (ev_view_realize),
3738 (ev_view_unrealize), (ev_view_expose_event),
3739 (ev_view_button_press_event), (ev_view_motion_notify_event),
3740 (ev_view_button_release_event), (ev_gdk_color_to_rgb),
3741 (draw_rubberband), (highlight_find_results), (draw_one_page),
3742 (ev_view_finalize), (ev_view_destroy), (ev_view_class_init),
3743 (ev_view_init), (find_changed_cb), (page_changed_cb),
3744 (on_adjustment_value_changed), (ev_view_new),
3745 (ev_view_set_document), (ev_view_set_zoom),
3746 (ev_view_set_continuous), (ev_view_set_dual_page),
3747 (ev_view_set_presentation), (ev_view_zoom_in), (ev_view_zoom_out),
3748 (zoom_for_size_fit_width), (zoom_for_size_best_fit),
3749 (ev_view_zoom_for_size_presentation),
3750 (ev_view_zoom_for_size_continuous_dual_page),
3751 (ev_view_zoom_for_size_continuous),
3752 (ev_view_zoom_for_size_dual_page),
3753 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
3754 (ev_view_get_status), (ev_view_set_status),
3755 (update_find_status_message), (ev_view_get_find_status),
3756 (ev_view_set_find_status), (jump_to_find_result),
3757 (jump_to_find_page), (compute_selections), (clear_selection),
3758 (ev_view_select_all), (get_selected_text), (ev_view_copy),
3759 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
3760 (ev_view_update_primary_selection),
3761 (ev_view_create_invisible_cursor), (ev_view_set_cursor):
3763 * shell/ev-window.c: (ev_window_open_page_label),
3764 (ev_window_cmd_view_reload), (ev_window_sizing_mode_changed_cb),
3766 * shell/ev-window.h:
3767 * shell/main.c: (load_files):
3769 Massive code clean up from Nickolay Shmyrev. Keep page offset
3770 when resizing. Remove the bin_window(). Also, patch from James
3771 Bowes to fix command line page, #300641
3773 2005-05-17 Marco Pesenti Gritti <mpg@redhat.com>
3775 * data/evince-ui.xml:
3778 * shell/ev-window.c: (update_action_sensitivity):
3780 Get rid of View->Normal Size, it's just confusing
3782 Tue May 17 00:51:21 2005 Jonathan Blandford <jrb@redhat.com>
3784 * backend/ev-document-info.h:
3785 * backend/ev-document.c: (ev_document_info_free): Free the
3788 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
3789 (clear_range), (add_range), (update_visible_range),
3790 (adjustment_changed_cb), (ev_sidebar_thumbnails_init),
3791 (ev_sidebar_thumbnails_set_document):
3792 * shell/ev-window.c: (ev_window_setup_document): Only render the
3793 visible thumbnails. It takes an instant to render, but it uses
3796 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
3798 * shell/ev-sidebar-links.c: (popup_menu_cb):
3802 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
3805 * shell/ev-sidebar-links.c: (build_popup_menu), (popup_menu_cb),
3806 (button_press_cb), (ev_sidebar_links_construct):
3808 Show the popup menu also on keybindings
3810 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
3812 * shell/ev-window.c: (ev_window_print), (ev_window_print_range):
3813 * shell/ev-window.h:
3815 Expose api to print a range (with dialog). Make private _print use
3818 * shell/ev-sidebar-links.c: (print_section_cb), (button_press_cb),
3819 (ev_sidebar_links_construct):
3821 Show a print context menu on linkx, it prints the selected
3824 2005-05-15 Carlos Garcia Campos <carlosgc@gnome.org>
3826 * shell/ev-sidebar.c: make the drop down menu as width as the toggle
3829 2005-05-12 Marco Pesenti Gritti <mpg@redhat.com>
3835 * shell/ev-window.c: (build_comments_string),
3836 (ev_window_cmd_help_about):
3838 Show poppler version/backend and authors
3840 2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
3842 * cut-n-paste/zoom-control/ephy-zoom.c:
3843 (ephy_zoom_get_zoom_level_index):
3844 * cut-n-paste/zoom-control/ephy-zoom.h:
3846 Move the best fit items at the top of the list
3848 2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
3850 * shell/ev-marshal.list:
3851 * shell/ev-page-action.c: (ev_page_action_widget_class_init),
3852 (activate_cb), (match_selected_cb), (activate_link_cb),
3853 (connect_proxy), (ev_page_action_class_init):
3854 * shell/ev-page-action.h:
3856 Use signals to notify action activation. Hopefully
3857 I did not break completion since I cant test...
3859 * shell/ev-window.c: (activate_link_cb), (activate_label_cb),
3860 (register_custom_actions):
3862 Connect to page selector actions and also grab focus on
3863 the view when activated.
3865 Wed May 11 01:18:29 2005 Jonathan Blandford <jrb@redhat.com>
3867 * pdf/ev-poppler.cc:
3868 * backend/ev-page-cache.c: make page size calculation consistent
3869 and set it to (int)( width * scale + 0.5). This makes the weird
3870 line going through the middle of the page go away.
3872 * shell/ev-view.c: move painting the background page after
3873 checking the expose area covers us.
3875 2005-05-11 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3877 * data/evince-password.glade:
3879 Mark labels as not translatable. Fix for bug 302842.
3881 2005-05-10 Francisco Javier F. Serrador <serrador@cvs.gnome.org>
3883 * configure.ac: Added "es" to ALL_LINGUAS.
3885 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3887 * data/evince-toolbar.xml:
3888 * shell/ev-window.c: (update_action_sensitivity),
3889 (ev_window_setup_document), (ev_window_set_page_mode),
3892 Remove some leftover code from jrb first continous
3893 attempt. Use the new actions, we still need good icons
3896 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3898 * shell/ev-page-action.c: (update_pages_label), (connect_proxy):
3900 Update label when connecting proxy. Fix a warning with NULL
3903 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3905 * data/evince-ui.xml:
3906 * shell/ev-page-action.c: (ev_page_action_grab_focus):
3907 * shell/ev-page-action.h:
3908 * shell/ev-window.c: (ev_window_cmd_focus_page_selector):
3910 Add mnemonic for edit toolbar.
3911 ctrl+l focus the page entry.
3913 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3916 * shell/ev-window.c: (ev_window_cmd_edit_toolbar_cb),
3918 * shell/main.c: (main):
3920 Put the toolbar xml in evince own dot dir
3922 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3924 * shell/ev-window.c: (ev_window_init):
3926 Make the toolbar not removable
3928 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3930 * data/evince-ui.xml:
3931 * shell/ev-sidebar-links.c: (ev_sidebar_links_get_treeview):
3932 * shell/ev-sidebar-links.h:
3933 * shell/ev-sidebar-thumbnails.c:
3934 (ev_sidebar_thumbnails_get_treeview):
3935 * shell/ev-sidebar-thumbnails.h:
3936 * shell/ev-view.c: (ev_view_scroll), (ev_view_scroll_view),
3937 (ev_view_class_init):
3939 * shell/ev-window.c: (update_action_sensitivity),
3940 (ev_window_cmd_scroll_forward), (ev_window_cmd_scroll_backward),
3941 (set_view_actions_sensitivity), (view_actions_focus_in_cb),
3942 (view_actions_focus_out_cb), (enable_view_actions_for_widget),
3945 This is evil... Make space/backspace global accelerators but
3946 enable them only for some widgets (sidebars and view).
3947 I dont like it, but I dont know a better way... :/
3949 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3951 * shell/ev-page-action.c: (ev_page_action_widget_set_page_cache),
3952 (ev_page_action_widget_finalize),
3953 (ev_page_action_widget_class_init), (update_page_cache):
3955 Keep a weak reference on proxy->page_cache so that we
3956 dont try to disconnect the signal if the object is already
3957 gone. Maybe there is a better way to cleanup reference handling
3958 in page action though...
3960 2005-05-10 Juerg Billeter <j@bitron.ch>
3962 * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
3963 * backend/ev-ps-exporter.h:
3964 * pdf/ev-poppler.cc: (pdf_document_ps_exporter_begin):
3965 * ps/ps-document.c: (ps_document_ps_export_begin):
3967 Change api to pass print range to ps_exporter_begin. The pdf backend
3968 requires this information.
3970 * shell/ev-print-job.c: (idle_print_handler):
3974 2005-05-10 Juerg Billeter <j@bitron.ch>
3976 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
3977 (idle_print_handler)
3978 * shell/ev-window.c: (ev_window_print):
3980 Support printing page range, based on patch by Amaury Jacquot
3982 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3984 * data/evince-toolbar.xml:
3986 Add zoom control to available items
3988 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3990 * shell/ev-window.c: (update_action_sensitivity):
3992 Set slash action insensitive when appropriate
3994 2005-05-10 Christian Persch <chpe@gnome.org>
3996 * cut-n-paste/zoom-control/ephy-zoom-action.c: (create_menu_item):
3998 Fix warning on the overflow menu
4000 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
4002 * shell/ev-window.c: (sanity_check_uri), (ev_window_open):
4004 Check for uri correctness/existence
4006 2005-05-09 Juerg Billeter <j@bitron.ch>
4008 * shell/ev-window.c: (using_postscript_printer):
4010 LPD printers use postscript, too
4012 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
4014 * shell/ev-window.c: (register_custom_actions):
4016 The zoom one is actually sort of useful,
4019 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
4021 * shell/ev-window.c: (register_custom_actions):
4023 Hide page/zoom controls from overflow, they
4026 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
4028 * cut-n-paste/update-from-egg.sh:
4030 Share it between all cut-n-paste subdirs
4032 * cut-n-paste/recent-files/Makefile.am:
4034 Fix to use "global" update-from-egg.sh
4036 * cut-n-paste/recent-files/egg-recent-model.c:
4037 (egg_recent_model_changed_timeout), (egg_recent_model_finalize):
4038 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
4039 (egg_recent_view_gtk_clear), (egg_recent_view_gtk_set_list),
4040 (egg_recent_view_gtk_finalize), (egg_recent_view_gtk_set_menu):
4044 * cut-n-paste/toolbar-editor/Makefile.am:
4046 Fix to use "global" update-from-egg.sh
4048 * cut-n-paste/toolbar-editor/eggmarshalers.list:
4052 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
4055 * cut-n-paste/Makefile.am:
4056 * cut-n-paste/recent-files/Makefile.am:
4057 * cut-n-paste/toolbar-editor/.cvsignore:
4058 * cut-n-paste/toolbar-editor/Makefile.am:
4059 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
4060 (egg_editable_toolbar_get_type), (get_toolbar_position),
4061 (get_n_toolbars), (get_dock_nth), (get_toolbar_nth), (find_action),
4062 (drag_data_delete_cb), (drag_begin_cb), (drag_end_cb),
4063 (drag_data_get_cb), (set_drag_cursor), (unset_drag_cursor),
4064 (set_item_drag_source), (create_item_from_action), (create_item),
4065 (data_is_separator), (drag_data_received_cb), (remove_toolbar_cb),
4066 (popup_toolbar_context_menu_cb), (free_dragged_item),
4067 (toolbar_drag_drop_cb), (toolbar_drag_motion_cb),
4068 (toolbar_drag_leave_cb), (create_dock), (set_fixed_style),
4069 (unset_fixed_style), (toolbar_changed_cb), (unparent_fixed),
4070 (update_fixed), (toolbar_added_cb), (toolbar_removed_cb),
4071 (item_added_cb), (item_removed_cb),
4072 (egg_editable_toolbar_construct),
4073 (egg_editable_toolbar_disconnect_model),
4074 (egg_editable_toolbar_deconstruct),
4075 (egg_editable_toolbar_set_model),
4076 (egg_editable_toolbar_set_ui_manager),
4077 (egg_editable_toolbar_set_property),
4078 (egg_editable_toolbar_get_property),
4079 (egg_editable_toolbar_class_init), (egg_editable_toolbar_init),
4080 (egg_editable_toolbar_finalize), (egg_editable_toolbar_new),
4081 (egg_editable_toolbar_new_with_model),
4082 (egg_editable_toolbar_get_edit_mode),
4083 (egg_editable_toolbar_set_edit_mode), (egg_editable_toolbar_show),
4084 (egg_editable_toolbar_hide), (egg_editable_toolbar_set_fixed),
4085 (egg_editable_toolbar_set_drag_dest), (fake_expose_widget),
4086 (new_pixbuf_from_widget), (new_separator_pixbuf),
4087 (update_separator_image), (style_set_cb),
4088 (_egg_editable_toolbar_new_separator_image),
4089 (egg_editable_toolbar_get_model):
4090 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
4091 * cut-n-paste/toolbar-editor/egg-marshal.c:
4092 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
4093 (egg_toolbar_editor_get_type), (compare_actions), (find_action),
4094 (egg_toolbar_editor_set_ui_manager), (toolbar_removed_cb),
4095 (egg_toolbar_editor_set_model), (egg_toolbar_editor_set_property),
4096 (egg_toolbar_editor_get_property), (egg_toolbar_editor_class_init),
4097 (egg_toolbar_editor_finalize), (egg_toolbar_editor_new),
4098 (drag_begin_cb), (drag_end_cb), (editor_drag_data_received_cb),
4099 (editor_drag_data_delete_cb), (drag_data_get_cb),
4100 (elide_underscores), (set_drag_cursor), (event_box_realize_cb),
4101 (editor_create_item), (update_editor_sheet), (setup_editor),
4102 (egg_toolbar_editor_init), (egg_toolbar_editor_add_action),
4103 (parse_item_list), (model_has_action), (update_actions_list),
4104 (egg_toolbar_editor_load_actions):
4105 * cut-n-paste/toolbar-editor/egg-toolbar-editor.h:
4106 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
4107 (egg_toolbars_model_get_type), (egg_toolbars_model_to_xml),
4108 (safe_save_xml), (egg_toolbars_model_save), (toolbars_toolbar_new),
4109 (toolbars_item_new), (free_toolbar_node), (free_item_node),
4110 (egg_toolbars_model_get_flags), (egg_toolbars_model_set_flags),
4111 (egg_toolbars_model_add_separator), (impl_add_item),
4112 (parse_item_list), (egg_toolbars_model_add_toolbar),
4113 (parse_toolbars), (egg_toolbars_model_load), (impl_get_item_id),
4114 (impl_get_item_data), (impl_get_item_type),
4115 (_egg_accumulator_STRING), (egg_toolbars_model_class_init),
4116 (egg_toolbars_model_init), (free_toolbar),
4117 (egg_toolbars_model_finalize), (egg_toolbars_model_new),
4118 (egg_toolbars_model_remove_toolbar),
4119 (egg_toolbars_model_remove_item), (egg_toolbars_model_move_item),
4120 (egg_toolbars_model_n_items), (egg_toolbars_model_item_nth),
4121 (egg_toolbars_model_n_toolbars), (egg_toolbars_model_toolbar_nth),
4122 (egg_toolbars_model_add_item), (egg_toolbars_model_get_item_id),
4123 (egg_toolbars_model_get_item_data),
4124 (egg_toolbars_model_get_item_type):
4125 * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
4126 * cut-n-paste/toolbar-editor/eggmarshalers.list:
4128 * data/evince-toolbar.xml:
4129 * data/evince-ui.xml:
4130 * data/hand-open.png:
4132 * shell/Makefile.am:
4133 * shell/ev-window.c: (update_chrome_visibility),
4134 (ev_window_cmd_edit_toolbar_cb), (ev_window_cmd_edit_toolbar),
4135 (ev_window_dispose), (ev_window_init):
4137 Implement epiphany like toolbar editor. Based on patch by
4138 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4140 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
4142 * shell/ev-sidebar-thumbnails.c: (page_changed_cb):
4144 Use set_cursor instead of set_selection, so that
4145 the keyboard focus moves too.
4147 2005-05-09 Aleksey Kliger <akliger@gmail.com>
4149 * dvi/mdvi-lib/tfmfile.c: (lookup_font_metrics):
4151 Fix infinite loop when loading Type1 fonts
4153 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
4155 * data/evince-ui.xml:
4156 * shell/ev-window.c:
4160 2005-05-09 Thomas de Grenier de Latour <degrenier@easyconnect.fr>
4164 Make --disable really disable
4166 2005-05-07 Juerg Billeter <j@bitron.ch>
4168 * backend/ev-page-cache.c: (ev_page_cache_set_page_label):
4170 Compare page labels even without has_labels set, fixes setting page
4173 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
4175 * shell/ev-view.c: (ev_view_create_invisible_cursor),
4176 (ev_view_set_cursor), (ev_view_button_press_event),
4177 (ev_view_motion_notify_event), (ev_view_button_release_event),
4180 Implement middle button scrolling. Based on a patch
4181 by Tommi Komulainen <tommi.komulainen@iki.fi>.
4183 2005-05-08 Marco Pesenti Gritti <mpg@redhat.com>
4185 * shell/ev-document-types.c: (get_slow_mime_type),
4186 (get_document_type_from_mime), (ev_document_type_lookup):
4187 * shell/ev-document-types.h:
4189 Change api to lookup from uri. Do fast lookup first, if the
4190 type is unknown try with data sniffing.
4192 * shell/ev-window.c: (ev_window_open), (ev_window_open_uri_list):
4193 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
4197 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
4199 * thumbnailer/Makefile.am:
4203 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
4210 * data/evince-ui.xml:
4212 Hide presentation mode for now
4214 * shell/ev-view.c: (highlight_find_results):
4216 Show current find selection only on current page
4218 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
4220 * shell/ev-view.c: (ev_view_select_all):
4222 Compute size of the actual page, not of
4225 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
4227 * shell/ev-view.c: (clear_selection), (ev_view_finalize),
4228 (view_rect_to_doc_rect), (compute_selections),
4229 (ev_view_bin_expose), (ev_view_select_all), (get_selected_text),
4230 (ev_view_copy), (ev_view_primary_get_cb),
4231 (ev_view_primary_clear_cb), (ev_view_update_primary_selection),
4232 (ev_view_button_press_event), (ev_view_motion_notify_event),
4233 (ev_view_button_release_event), (page_changed_cb):
4237 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
4239 * shell/ev-view.c: (compute_border), (get_page_extents),
4240 (doc_rect_to_view_rect), (highlight_find_results),
4241 (ev_view_bin_expose), (ev_view_select_all),
4242 (ev_view_motion_notify_event), (update_find_status_message),
4243 (jump_to_find_result), (jump_to_find_page):
4245 First go at fixing search, still buggy
4247 2005-05-04 Kristian Høgsberg <krh@redhat.com>
4249 * shell/ev-sidebar.c (ev_sidebar_init): Remove frame around
4250 dropdown box and button at the top of the sidebar.
4252 2005-05-02 James Bowes <bowes@cs.dal.ca>
4254 * configure.ac: Output zoom-control Makefile.
4255 * cut-n-paste/Makefile.am: build zoom-control subdir.
4256 * cut-n-paste/zoom-control/ephy-zoom-action.c:
4257 * cut-n-paste/zoom-control/ephy-zoom-action.h:
4258 * cut-n-paste/zoom-control/ephy-zoom-control.c:
4259 * cut-n-paste/zoom-control/ephy-zoom-control.h:
4260 * cut-n-paste/zoom-control/ephy-zoom.c:
4261 * cut-n-paste/zoom-control/ephy-zoom.h: New files imported
4262 from epiphany, and modified to add a separator into the menu.
4263 * cut-n-paste/zoom-control/Makefile.am: Build zoom-control.
4264 * data/evince-ui.xml: Replace old zoom toolbar actions with new
4265 zoom-control action.
4266 * shell/Makefile.am: Include zoom-control flags.
4267 * shell/ev-view.c: (ev_view_set_zoom), (ev_view_get_zoom),
4268 (ev_view_get_sizing_mode), (ev_view_zoom_in), (ev_view_zoom_out),
4269 (ev_view_zoom_for_size_presentation),
4270 (ev_view_zoom_for_size_continuous_and_dual_page),
4271 (ev_view_zoom_for_size_continuous),
4272 (ev_view_zoom_for_size_dual_page),
4273 (ev_view_zoom_for_size_single_page), (ev_view_zoom_normal):
4274 s/ev_view_zoom/ev_view_set_zoom/ and make public, add
4275 ev_view_get_zoom and ev_view_get_sizing_mode.
4277 * shell/ev-window.c: (update_action_sensitivity),
4278 (update_sizing_buttons), (zoom_control_changed_cb),
4279 (register_custom_actions): Initialize and use the zoom-control
4282 Sun May 1 00:46:47 2005 Jonathan Blandford <jrb@redhat.com>
4284 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init): Change the
4285 preview cache back to 1. Don't know when it got set to 0.
4287 * shell/ev-view.c: (compute_border), (ev_view_realize),
4288 (draw_one_page), (ev_view_set_property), (ev_view_get_property),
4289 (ev_view_class_init), (ev_view_init), (ev_view_set_fullscreen),
4290 (ev_view_get_fullscreen), (ev_view_set_presentation),
4291 (ev_view_get_presentation), (ev_view_set_sizing_mode),
4292 (ev_view_zoom_for_size_presentation), (ev_view_set_zoom_for_size):
4294 * shell/ev-window.c:
4295 (update_chrome_visibility),
4296 (ev_window_cmd_continuous), (ev_window_cmd_dual),
4297 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
4298 (update_document_mode), (ev_window_update_fullscreen_action),
4299 (ev_window_fullscreen), (ev_window_unfullscreen),
4300 (ev_window_cmd_view_fullscreen),
4301 (ev_window_update_presentation_action),
4302 (ev_window_run_presentation), (ev_window_stop_presentation),
4303 (ev_window_cmd_view_presentation), (ev_window_state_event),
4304 (ev_window_focus_in_event), (ev_window_focus_out_event),
4305 (ev_window_cmd_escape), (ev_window_sidebar_visibility_changed_cb):
4306 * data/evince-ui.xml: Initial presentation mode. We should
4307 probably hide this until it's done, as it's quite rough. Also,
4308 change full-screen to fullscreen and add two getters to EvView.
4310 2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
4312 * shell/ev-page-action.c: (update_page_cache),
4313 (ev_page_action_dispose):
4314 * shell/ev-window.c: (destroy_fullscreen_popup),
4315 (ev_window_create_fullscreen_popup):
4317 Use connect_object rather than explicitly
4318 disconnect on dispose.
4320 2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
4322 * shell/ev-page-action.c: (update_page_cache),
4323 (ev_page_action_dispose):
4325 2005-04-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4327 * backend/ev-page-cache.c: (_ev_page_cache_new),
4328 (ev_page_cache_set_page_label),
4329 (ev_page_cache_has_nonnumeric_page_labels):
4330 * backend/ev-page-cache.h:
4331 * shell/ev-page-action.c: (update_pages_label):
4333 If all page labels are numeric, fallback to default
4334 way to display number of pages. See bug 173185.
4336 2005-04-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4338 * shell/ev-page-action.c: (ev_page_action_dispose):
4339 * shell/ev-view.c: (view_update_range_and_current_page):
4340 * shell/ev-window.c: (ev_window_dispose):
4342 Set page on scroll in continuous mode. Fixes bug 301986.
4343 Also cleanup callbacks on destroy of EvWindow and EvPageAction.
4345 2005-04-26 Marco Pesenti Gritti <mpg@redhat.com>
4349 Require poppler 0.3.0
4351 2005-04-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4353 * shell/Makefile.am, configure.ac: Fix build problems
4354 with t1lib. Bug 301996.
4356 2005-04-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4358 * shell/ev-view.c: (ev_view_scroll_event):
4360 Scroll up increase zoom
4362 2005-04-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4364 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_class_init),
4365 (ev_view_set_sizing_mode),
4366 (ev_view_zoom_for_size_continuous_and_dual_page),
4367 (ev_view_zoom_for_size_continuous):
4368 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
4369 (ev_window_cmd_view_page_width), (ev_window_cmd_view_zoom_in),
4370 (ev_window_cmd_view_zoom_out), (ev_window_sizing_mode_changed_cb),
4373 Control + Scroll does zooming, Shift + Scroll scrolls horizontally
4374 Fix for 165473 and 165472.
4376 2005-04-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4379 * thumbnailer/Makefile.am:
4380 * thumbnailer/evince-thumbnailer-djvu.schemas.in:
4381 * thumbnailer/evince-thumbnailer-dvi.schemas.in:
4382 * thumbnailer/evince-thumbnailer.schemas.in:
4384 Make thumbnailer schemas translatable. Fix for bug 301773
4386 * thumbnailer/evince-thumbnailer-djvu.schemas:
4387 * thumbnailer/evince-thumbnailer-dvi.schemas:
4388 * thumbnailer/evince-thumbnailer.schemas:
4392 Sun Apr 24 01:37:39 2005 Jonathan Blandford <jrb@redhat.com>
4394 * shell/ev-view.c (ev_view_init): forgot to set this.
4396 Sun Apr 24 01:07:27 2005 Jonathan Blandford <jrb@redhat.com>
4398 * shell/ev-view.c: (find_page_at_location),
4399 (get_link_at_location),
4400 (ev_view_set_show_border), (ev_view_set_spacing),
4401 (ev_view_zoom_for_size_continuous_and_dual_page),
4402 (ev_view_zoom_for_size_continuous): Fix links for dual/continuous.
4403 Also, add a quick fix measuring of widths. Also, removed
4404 ev_view_set_spacing and ev_view_set_show_border.
4406 * shell/ev-window.c: (ev_window_unfullscreen),
4407 (ev_window_cmd_view_fullscreen): Don't adjust the border/spacing.
4409 2005-04-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4411 * shell/ev-view.c: (view_update_range_and_current_page),
4414 Fix crash on exit and scrolling to page in continuous view.
4416 Sat Apr 23 13:13:04 2005 Jonathan Blandford <jrb@redhat.com>
4419 * backend/ev-page-cache.c: (_ev_page_cache_new),
4420 (ev_page_cache_get_max_width_size),
4421 (ev_page_cache_get_max_height_size):
4422 * backend/ev-page-cache.h:
4423 * data/evince-ui.xml:
4424 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init):
4425 * shell/ev-view.c: (view_update_adjustments),
4426 (view_update_range_and_current_page), (get_bounding_box_size),
4427 (ev_view_size_request_continuous_and_dual_page),
4428 (ev_view_size_request_continuous),
4429 (ev_view_size_request_dual_page),
4430 (ev_view_size_request_single_page), (ev_view_size_request),
4431 (ev_view_size_allocate), (get_page_extents), (draw_one_page),
4432 (ev_view_bin_expose), (ev_view_expose_event),
4433 (ev_view_set_property), (ev_view_get_property),
4434 (ev_view_class_init), (ev_view_init), (ev_view_new),
4435 (page_changed_cb), (ev_view_zoom), (ev_view_set_continuous),
4436 (ev_view_set_dual_page), (ev_view_set_full_screen),
4437 (ev_view_set_presentation), (ev_view_set_sizing_mode),
4438 (ev_view_can_zoom_in), (ev_view_can_zoom_out), (ev_view_zoom_in),
4439 (ev_view_zoom_out), (zoom_for_size_fit_width),
4440 (zoom_for_size_best_fit),
4441 (ev_view_zoom_for_size_continuous_and_dual_page),
4442 (ev_view_zoom_for_size_continuous),
4443 (ev_view_zoom_for_size_dual_page),
4444 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
4445 (ev_view_show_cursor), (ev_sizing_mode_get_type):
4447 * shell/ev-window.c: (update_action_sensitivity),
4448 (ev_window_cmd_continuous), (ev_window_cmd_dual),
4449 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
4450 (update_sizing_buttons), (ev_window_cmd_view_zoom_in),
4451 (ev_window_cmd_view_zoom_out), (update_view_size),
4452 (ev_window_set_sizing_mode), (ev_window_init):
4454 Add Continuous and Dual page modes.
4456 2005-04-23 James Bowes <bowes@cs.dal.ca>
4458 * dvi/dvi-document.c: (dvi_document_load),
4459 (dvi_document_thumbnails_get_thumbnail),
4460 (dvi_document_init_params): Fix up some mixups between
4461 width and height to correct thumbnail rendering.
4463 2005-04-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4465 * dvi/mdvi-lib/private.h:
4466 * dvi/mdvi-lib/setup.c: (mdvi_init_kpathsea):
4468 Suppess output for kpathsea during font generation. Thanks to
4471 Fri Apr 22 19:57:46 2005 Jonathan Blandford <jrb@redhat.com>
4478 * Makefile.am: fix distcheck.
4480 2005-04-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4482 * shell/ev-sidebar-links.c: (selection_changed_callback),
4483 (update_page_callback), (row_activated_callback),
4484 (job_finished_callback), (ev_sidebar_links_set_document):
4486 Fix for bug #169901. Double click on links expands tree.
4488 2005-03-14 Bryan Clark <clarkbw@cvs.gnome.org>
4490 * shell/ev-window.c (ev_window_init): Removed fullscreen toolbar
4491 hard-coded style. Fix for bug 170111
4493 2005-04-22 Kristian Høgsberg <krh@redhat.com>
4495 * shell/ev-view.c (highlight_find_results): Remove unnecessary
4498 2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
4500 * thumbnailer/evince-thumbnailer.schemas: real fix for bug 172496
4502 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
4504 * pdf/ev-poppler.cc:
4505 * shell/ev-view.c: (highlight_find_results):
4507 Fix find on single page documents
4509 2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
4511 * data/evince.schemas.in: fix for bug 301390
4513 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
4515 * shell/ev-view.c: (ev_view_can_zoom_in), (ev_view_can_zoom_out),
4516 (ev_view_zoom_out), (ev_view_zoom_normal):
4518 * shell/ev-window.c: (update_action_sensitivity),
4519 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
4520 (ev_window_cmd_view_zoom_in), (ev_window_cmd_view_zoom_out),
4521 (ev_window_cmd_view_normal_size):
4523 Fix normal size zoom. Make zoom in/zoom out unsensitive when
4524 they are behyond the limits. Tweak MAX_ZOOM to 6, sucks but
4527 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
4531 Depend on 2.57, 2.59 doesnt seem to be necessary
4533 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
4535 * shell/ev-page-action.c: (update_pages_label), (page_changed_cb),
4538 Put back total number of pages as (1 of 1234)
4540 Thu Apr 21 23:37:52 2005 Jonathan Blandford <jrb@redhat.com>
4542 * shell/ev-pixbuf-cache.c (dispose_cache_job_info): actually
4545 * backend/ev-document.h: Remove EV_DOC_MUTEX in favor of a locking
4546 function. This helps debugging.
4548 2005-04-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4550 * djvu/djvu-document.c: (djvu_document_class_init),
4551 (djvu_document_get_info), (djvu_document_document_iface_init):
4552 * dvi/dvi-document.c: (dvi_document_class_init),
4553 (dvi_document_get_info), (dvi_document_document_iface_init):
4555 Dummy implementation of get_info method for dvi and djvu. Fix
4556 crashes with those backends
4558 2005-04-20 Marco Pesenti Gritti <mpg@redhat.com>
4560 * data/evince.desktop.in:
4562 Add application/x-gzpostscript
4564 2005-04-20 Bryan Clark <clarkbw@cvs.gnome.org>
4566 * data/evince.schemas.in: Added real long descriptions,
4569 * README: Added actual text, closes bug 171869
4571 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
4573 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
4577 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
4579 * backend/ev-document-info.h:
4581 s/GDate */GDate so we can just use g_free
4583 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
4585 * shell/ev-window.c: (update_document_mode),
4586 (ev_window_setup_document):
4588 Show the window in fullscreen when specified by
4591 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
4593 * backend/ev-document.c: (ev_document_class_init),
4594 (ev_document_get_info), (ev_document_render_pixbuf):
4595 * backend/ev-document.h:
4596 * backend/ev-page-cache.c: (_ev_page_cache_new):
4597 * pdf/ev-poppler.cc:
4598 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
4599 (pixbuf_document_get_info), (pixbuf_document_document_iface_init):
4600 * ps/ps-document.c: (ps_document_class_init), (document_load),
4601 (ps_document_get_info), (ps_document_document_iface_init):
4603 Remove get_title from the interface, we can just use document info
4605 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
4607 * backend/Makefile.am:
4608 * backend/ev-document.c: (ev_document_render_get_info):
4609 * backend/ev-document.h:
4610 * pdf/ev-poppler.cc:
4612 Initial support for document info. Based on jrb patch.
4614 2005-04-19 Paolo Borelli <pborelli@katamail.com>
4616 * shell/ev-window.c: (ev_window_state_event),
4617 (ev_window_class_init), (ev_window_init):
4619 Doesn't show resize grip when maximized. See bug #301053
4621 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4625 ev-sidebar-thumbnails now has translatable labels
4627 * shell/Makefile.am:
4628 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document),
4629 (ev_sidebar_links_support_document), (ev_sidebar_links_get_label),
4630 (ev_sidebar_links_page_iface_init):
4631 * shell/ev-sidebar-links.h:
4632 * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
4633 (ev_sidebar_page_support_document), (ev_sidebar_page_set_document),
4634 (ev_sidebar_page_get_label):
4635 * shell/ev-sidebar-page.h:
4636 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_new),
4637 (ev_sidebar_thumbnails_set_document),
4638 (ev_sidebar_thumbnails_support_document),
4639 (ev_sidebar_thumbnails_get_label),
4640 (ev_sidebar_thumbnails_page_iface_init):
4641 * shell/ev-sidebar-thumbnails.h:
4642 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
4643 (ev_sidebar_set_document):
4644 * shell/ev-sidebar.h:
4645 * shell/ev-window.c: (ev_window_setup_document), (ev_window_init):
4647 Small rework of sidebar code. Now sidebar pages should implement
4648 EvSidebarPage interface. That makes page management in EvSidebar
4649 easier. See bug #164811 for details
4651 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4653 * shell/ev-application.c: (ev_application_open):
4654 * shell/ev-document-types.c:
4656 Fix build error and small problem with application exit
4658 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4660 * thumbnailer/Makefile.am:
4661 * thumbnailer/evince-thumbnailer-djvu.schemas:
4662 * thumbnailer/evince-thumbnailer-dvi.schemas:
4664 Conditionally install schemas for djvu/dvi thumbnailer
4666 2005-04-18 David Malcolm <dmalcolm@redhat.com>
4668 * shell/ev-document-types.h:
4669 * shell/ev-document-types.c:
4670 New files, handling the mapping from mimetypes to backends
4672 * shell/ev-window.c:
4673 * thumbnailer/evince-thumbnailer.c:
4674 Use the ev-document-types code
4676 * shell/Makefile.am:
4677 Added new convenience library libevbackendfactory_la, containing
4678 the new mimetype->backend logic; moved the backends into it.
4680 * thumbnailer/Makefile.am:
4681 Make the thumbnailer link with the libevbackend.la convenience
4682 library, rather than having a duplicate of the backend logic here.
4684 2005-04-18 Paolo Borelli <pborelli@katamail.com>
4686 * shell/ev-stock-icons.c: constify some vars.
4687 * shell/ev-window.c: ditto.
4689 2005-04-18 Marco Pesenti Gritti <mpg@redhat.com>
4691 * ps/ps-document.c (get_page_orientation):
4693 Respect document orientation
4695 2005-04-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4699 * shell/Makefile.am:
4701 Move library dependencies to components.
4703 * shell/ev-window.c: (update_window_title),
4704 (start_loading_document):
4706 Fix display of uris with spaces. Bug 168358.
4708 Sat Apr 16 18:53:47 2005 Jonathan Blandford <jrb@redhat.com>
4710 * shell/ev-sidebar-links.c: (selection_changed_cb):
4711 * shell/ev-view.c: (ev_view_finalize), (go_to_link),
4712 (ev_view_button_release_event), (ev_view_set_document):
4714 * shell/ev-window.c: (find_bar_search_changed_cb):
4715 * shell/ev-window.h: Minor cleanups removing some dead code.
4717 2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4719 * backend/ev-page-cache.c: (_ev_page_cache_new):
4721 Set current page to 0 if document has pages.
4723 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
4725 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
4727 Initialize GError to NULL, fix a crash when loading fails.
4729 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
4731 * shell/ev-window.c: (update_view_size):
4733 Calculate shadow size only when there is actually
4736 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
4738 * shell/ev-view.c: (ev_view_set_spacing), (ev_view_init):
4741 Allow setting view spacing, default to 0
4743 * shell/ev-window.c: (ev_window_unfullscreen),
4744 (ev_window_cmd_view_fullscreen), (ev_window_init):
4746 Remove spacing in fullscreen mode
4748 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
4750 * shell/ev-view.c: (compute_border), (compute_zoom_factor),
4751 (ev_view_size_request), (expose_bin_window),
4752 (ev_view_set_show_border), (ev_view_init), (page_changed_cb):
4754 * shell/ev-window.c: (ev_window_unfullscreen),
4755 (ev_window_cmd_view_fullscreen):
4757 Do not draw the border in fulscreen
4759 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
4761 * shell/ev-view.c: (ev_view_get_offsets), (compute_zoom_factor),
4762 (ev_view_size_request), (expose_bin_window), (ev_view_select_all),
4763 (find_page_at_location), (page_changed_cb):
4765 Rework border calculation, so that I can more easily disable it.
4766 Code somewhat cleaner too.
4768 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
4770 * backend/ev-page-cache.c: (ev_page_cache_init),
4771 (_ev_page_cache_new):
4773 Remove some assertions, documents can have 0 pages.
4774 Make initial current page -1.
4776 * shell/ev-page-action.c: (page_changed_cb):
4778 Show "" if current page is -1
4780 * shell/ev-window.c: (update_action_sensitivity),
4781 (ev_window_setup_document):
4783 When document has 0 pages do not set the view
4784 and make nearly everything insensitive.
4786 2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4788 * shell/ev-page-view.c:
4789 * shell/ev-page-view.h:
4791 Remove unused files.
4793 * shell/ev-sidebar-thumbnails.c:
4794 (ev_sidebar_thumbnails_set_document):
4795 * shell/ev-sidebar.c: (ev_sidebar_set_document),
4796 (ev_sidebar_supports_document):
4797 * shell/ev-sidebar.h:
4798 * shell/ev-window.c: (ev_window_setup_document):
4800 Doesn't show thumbnails if document has 1 page. Make
4801 sidebar menu entries sensitive only if if they have
4802 sense. Fix bug 164811.
4804 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
4806 * shell/ev-view.c: (compute_zoom_factor), (ev_view_size_request),
4807 (page_changed_cb), (ev_view_zoom), (ev_view_zoom_in),
4808 (ev_view_zoom_out), (ev_view_set_size):
4810 Rework sizing to deal with documents with not uniform page
4813 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
4815 * backend/ev-page-cache.c: (_ev_page_cache_new):
4817 Fix several page size caching bugs
4819 2005-04-15 Luca Ferretti <elle.uca@libero.it>
4821 * shell/ev-window.c: (set_action_properties):
4823 Make all toolbar items translatable
4825 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
4827 * ps/ps-document.c: (ps_document_init), (ps_document_get_type),
4828 (save_page_list), (ps_document_save),
4829 (ps_document_document_iface_init), (ps_document_ps_export_begin),
4830 (ps_document_ps_export_do_page), (ps_document_ps_export_end),
4831 (ps_document_ps_exporter_iface_init):
4834 Based on a patch by J�rg Billeter <j@bitron.ch>
4836 Implement print and save a copy for the ps backend.
4838 2005-04-14 Marco Pesenti Gritti <mpg@redhat.com>
4840 * backend/ev-document.h:
4841 * djvu/djvu-document.c: (djvu_document_can_get_text),
4842 (djvu_document_document_iface_init):
4843 * dvi/dvi-document.c: (dvi_document_can_get_text),
4844 (dvi_document_document_iface_init):
4845 * pdf/ev-poppler.cc:
4846 * pixbuf/pixbuf-document.c: (pixbuf_document_can_get_text),
4847 (pixbuf_document_document_iface_init):
4848 * ps/ps-document.c: (ps_document_can_get_text),
4849 (ps_document_document_iface_init):
4850 * shell/ev-view.c: (ev_view_copy), (ev_view_primary_get_cb):
4851 * shell/ev-window.c: (update_action_sensitivity):
4853 Fix the crash when trying to copy in backends that doesnt
4854 support it. We can implement a better solution once we
4855 do real text selection.
4857 2005-04-12 Marco Pesenti Gritti <mpg@redhat.com>
4859 * data/evince-ui.xml:
4860 * shell/ev-window.c: (ev_window_cmd_escape):
4862 Work around the Escape conflict (find bar and unfullscreen)
4864 2005-04-12 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
4866 * backend/ev-page-cache.c: (ev_page_cache_next_page):
4868 Fix for #300233. Next page correctly handles document end.
4870 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
4871 (ev_sidebar_thumbnails_class_init),
4872 (ev_sidebar_thumbnails_set_document),
4873 (ev_sidebar_thumbnails_clear_job),
4874 (ev_sidebar_thumbnails_clear_model):
4876 Cleanup thumbnail jobs on document changes.
4878 * shell/ev-view.c: (add_scroll_binding_keypad),
4879 (add_scroll_binding_shifted), (ev_view_class_init):
4881 Shift + Space scrolls up. Fix for #173184
4883 * shell/ev-window.c: (ev_window_open_page),
4884 (ev_window_cmd_view_reload):
4886 Fix reload (Bug #300094)
4888 2005-04-09 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4891 * dvi/mdvi-lib/assoc.c:
4892 * dvi/mdvi-lib/assoc.h: Removed garbage files
4894 * dvi/mdvi-lib/bitmap.c:
4895 * dvi/mdvi-lib/color.c: (mdvi_set_color), (mdvi_push_color),
4896 (mdvi_pop_color), (mdvi_reset_color), (get_color_table):
4897 * dvi/mdvi-lib/color.h: Antialias of rules
4899 * dvi/mdvi-lib/common.h:
4900 * dvi/mdvi-lib/dviread.c: (mdvi_configure), (mdvi_init_context),
4901 (mdvi_destroy_context), (draw_shrink_rule), (draw_box), (set_rule):
4902 * dvi/mdvi-lib/files.c:
4903 * dvi/mdvi-lib/fontmap.c: (ps_init_default_paths):
4904 * dvi/mdvi-lib/mdvi.h:
4905 * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
4906 * dvi/mdvi-lib/tfmfile.c: (ofm_load_file):
4907 * dvi/mdvi-lib/util.c: Fix compile warnings
4909 * dvi/dvi-document.c:
4910 (dvi_document_load), (dvi_document_thumbnails_get_dimensions),
4911 (dvi_document_thumbnails_get_thumbnail),
4912 (dvi_document_document_thumbnails_iface_init):
4913 * dvi/mdvi-lib/Makefile.am:
4914 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
4915 (dvi_pixbuf_set_color), (mdvi_pixbuf_device_render):
4917 Dvi backend now renders thumbnails
4919 2005-04-09 Christian Persch <chpe@cvs.gnome.org>
4921 * shell/main.c: (main):
4923 Save accelerators on exit. Fixes bug #172095.
4925 Sat Apr 9 01:05:09 2005 Jonathan Blandford <jrb@redhat.com>
4927 * shell/ev-pixbuf-cache.c (move_one_job): Actually fix the "FIXME:
4928 update priority" comment.
4930 * backend/ev-job-queue.c: Give a way to change priority.
4932 Sat Apr 9 00:05:36 2005 Jonathan Blandford <jrb@redhat.com>
4934 * shell/ev-page-action.c: Fix logic.
4936 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
4938 * shell/ev-view.c: (ev_view_can_find_next):
4939 * shell/ev-window.c: (ev_window_setup_document):
4941 Check that the document supports find
4943 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
4945 * data/evince-ui.xml:
4946 * shell/ev-view.c: (ev_view_can_find_next):
4948 * shell/ev-window.c: (update_action_sensitivity),
4949 (find_changed_cb), (ev_window_setup_document),
4950 (ev_window_cmd_edit_find_next):
4954 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
4956 * pdf/ev-poppler.cc:
4957 * shell/ev-print-job.c: (idle_print_handler):
4959 Make printing work again
4961 Fri Apr 8 01:12:24 2005 Jonathan Blandford <jrb@redhat.com>
4963 * shell/ev-page-action.h:
4964 * shell/ev-page-action.c: (ev_page_action_widget_init),
4965 (ev_page_action_widget_class_init), (page_changed_cb),
4966 (create_tool_item), (update_page_cache), (build_new_tree_cb),
4967 (get_filter_model_from_model), (match_selected_cb),
4968 (display_completion_text), (match_completion), (update_model),
4969 (connect_proxy), (ev_page_action_set_property),
4970 (ev_page_action_get_property), (ev_page_action_set_document),
4971 (ev_page_action_set_model), (ev_page_action_class_init): Big
4972 reworking to make completions work iff we have >= GTK-2.7.0
4974 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_property),
4975 (ev_sidebar_links_get_property), (ev_sidebar_links_class_init),
4976 (job_finished_cb): We now have a 'model' property that is set when
4977 the links are loaded. This can be caught with "notify::model"
4979 * shell/ev-window.c: (sidebar_widget_model_set), (ev_window_init):
4980 listen for the model to be set, and propagate it to the action.
4982 2005-04-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4984 * cut-n-paste/recent-files/egg-recent-item.c:
4985 (egg_recent_item_set_uri), (make_valid_utf8),
4986 (egg_recent_item_set_mime_type), (egg_recent_item_get_mime_type):
4987 * cut-n-paste/recent-files/egg-recent-item.h:
4989 Update egg-recent from libegg. This should fix long
4990 startup problem. For details see
4991 http://bugzilla.gnome.org/show_bug.cgi?id=160531
4993 2005-04-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4995 * cut-n-paste/recent-files/Makefile.am:
4996 * data/evince-ui.xml, shell/Makefile.am:
4997 * shell/ev-application.c, shell/ev-application.h:
4998 * shell/ev-window.c: Recent files support.
5000 * configure.ac: Added "ru" to ALL_LINGUAS.
5002 * dvju: new backend to support DJVU files.
5003 * dvi: new backend to support DVI.
5005 * configure.ac, Makefile.am, shell/Makefile.am, ev-window.c:
5006 * ev-application.c: Support for new backends.
5008 * help, ev-window.c, main.c shell/Makefile.am:
5009 Evince user documentation.
5011 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
5014 * shell/ev-window.c:
5015 * thumbnailer/evince-thumbnailer.c:
5017 s/pdf-document/ev-poppler
5019 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
5026 * ps/ps-document.c: (setup_pixmap):
5030 2005-04-05 Kristian Høgsberg <krh@redhat.com>
5032 * backend/ev-page-cache.c (ev_page_cache_next_page):
5033 * shell/ev-window.c (ev_window_cmd_go_next_page)
5034 (ev_window_cmd_go_first_page): Fix of by one errors.
5036 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
5038 * ps/ps-document.c: (get_page_box):
5040 Fix page size calculation
5042 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
5044 * ps/ps-document.c: (ps_document_init), (push_pixbuf),
5045 (ps_document_cleanup), (setup_pixmap), (get_page_box),
5046 (get_page_orientation), (setup_page), (document_load),
5047 (ps_document_get_page_size), (render_pixbuf_idle):
5050 More refactoring to adapt to EvDocument changes
5052 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
5054 * ps/ps-document.c: (start_interpreter):
5056 Actually add alpha args
5058 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
5060 * pdf/ev-poppler.cc:
5062 Make clipboard work again
5064 2005-04-04 Kristian Høgsberg <krh@redhat.com>
5066 Make searching work again.
5068 * backend/ev-document.c:
5069 * backend/ev-document.h:
5070 * backend/ev-document-find.c:
5071 * backend/ev-document-find.h: Change EvDocumentIface so we no
5072 longer store the current page or zoom level in the document. The
5073 consequence is that all calls that operate on the current page now
5074 instead take the page number as an extra argument, and all
5075 coordinates are now doubles in document coordinate system.
5077 * pdf/ev-poppler.cc:
5078 * pixbuf/pixbuf-document.c:
5079 * ps/ps-document.c: Update backends accordingly.
5081 2005-04-04 Marco Pesenti Gritti <marco@gnome.org>
5085 Add required gettext version
5087 Sat Apr 2 18:57:00 2005 Jonathan Blandford <jrb@redhat.com>
5089 * shell/evwindow.c: Patch from Alberto Mesas <amesas@gmail.com> to
5090 make F1 bring up non-existent help.
5092 * shell/eggfindbar.c: Patch from Christian Persch to sync to
5093 epiphany's find bar, #167477
5095 * shell/ev-view.c (ev_view_jump): Patch from Emil Soleyman-Zomalan
5096 <emil@nishra.com> to add space-bar scrolling,
5098 * shell/ev-window.c (static GtkActionEntry entries): add default
5099 keybinding for Help (F1)
5102 * shell/ev-view.c (ev_view_show_cursor): Fix from Yuval Tanny
5103 changing EV_VIEW_CURSOR_LINK to EV_VIEW_CURSOR_NORMAL resolves bug
5106 2005-04-01 David Malcolm <dmalcolm@redhat.com>
5109 * pixbuf/pixbuf-document.c:
5111 Got pixbuf backend working again
5113 2005-04-01 Steve Murphy <murf@e-tools.com>
5115 * configure.in: Added "rw" to ALL_LINGUAS.
5117 Fri Apr 1 02:33:41 2005 Jonathan Blandford <jrb@redhat.com>
5119 * shell/ev-sidebar-links.c (create_loading_model): Fix mismatch in
5120 model types, noticed by Martin Kretzschmar.
5122 2005-04-01 Kristian Høgsberg <krh@redhat.com>
5124 * pdf/ev-poppler.cc: Implement search based on
5125 poppler_page_find_text(). Currently a bit crude since we remember
5126 all matches from all pages. Also, we grab the big document lock
5127 when we search since searching changes the underlying stream and
5128 thus conflicts with the rendering thread.
5130 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
5131 (jump_to_find_page), (ev_view_set_document), (ev_view_find_next),
5132 (ev_view_find_previous): Fix some page indexes to be 0 based,
5133 offset rubber band by view offset,
5135 Fri Apr 01 09:21:12 2005 Pablo Saratxaga <pablo@mandrakesoft.com>
5137 * configure.ac: Added Walloon (wa) to ALL_LINGUAS.
5139 Fri Apr 1 01:59:39 2005 Jonathan Blandford <jrb@redhat.com>
5141 * shell/ev-page-action.c: Changed to use page labels now. Rewrote
5142 completely because I didn't understand GtkActions. I should
5143 read Marco's code more carefully in the future.
5145 * backend/ev-page-cache.h (ev_page_cache_set_page_label): New
5148 2005-03-31 Kristian Høgsberg <krh@redhat.com>
5150 * pdf/ev-poppler.cc (pdf_document_get_links): Update to work with
5151 PopplerRectangle change from poppler CVS.
5153 Thu Mar 31 13:27:50 2005 Jonathan Blandford <jrb@redhat.com>
5155 * backend/ev-document.c: (ev_document_get_page_label):
5156 * backend/ev-document.h:
5157 * backend/ev-page-cache.c: (_ev_page_cache_new),
5158 (ev_page_cache_get_page_label):
5159 * backend/ev-page-cache.h:
5160 * pdf/ev-poppler.cc:
5161 * shell/ev-sidebar-links.c: (ev_sidebar_links_construct),
5162 (links_page_num_func):
5163 * shell/ev-sidebar-thumbnails.c:
5164 (ev_sidebar_thumbnails_set_document):
5165 * shell/ev-view.c: (status_message_from_link),
5166 (ev_view_motion_notify_event):
5167 * shell/ev-window.c: (document_supports_sidebar): Add in page
5168 label support. It's not perfect yet, but it's the first 'feature'
5170 Also, fix a bogus comment noticed by crispin.
5172 Thu Mar 31 01:21:58 2005 Jonathan Blandford <jrb@redhat.com>
5174 * Makefile.am: Remove pixbuf backend for now
5176 * configure.ac: Require poppler-glib instead of just poppler.
5178 * backend/ev-document-thumbnails.h: Add a comment
5180 * backend/ev-document.h:
5181 * backend/ev-document.c: (ev_document_class_init),
5182 (ev_document_load), (ev_document_get_link),
5183 (ev_document_get_links): Remove 3 methods and add get_links.
5186 * backend/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
5187 * backend/ev-jobs.h: now EvJobRender can grab the links for a document.
5189 * backend/ev-link.c: (ev_link_set_title),
5190 (ev_link_mapping_free_foreach), (ev_link_mapping_free),
5191 (ev_link_mapping_find):
5192 * backend/ev-link.h: Allow NULL titles. Also, introduce a mapping link.
5194 * backend/ev-page-cache.c: (ev_page_cache_init),
5195 (_ev_page_cache_new), (ev_page_cache_set_current_page),
5196 (ev_page_cache_get_size), (ev_page_cache_next_page),
5197 (ev_page_cache_prev_page): Fix to be 0 based.
5201 * pdf/ev-poppler.cc: New backend.
5203 * ps/ps-document.c: (ps_document_init), (ps_document_set_page),
5204 (ps_document_get_page), (ps_document_document_iface_init):
5206 * shell/ev-pixbuf-cache.h:
5207 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
5208 (dispose_cache_job_info), (job_finished_cb), (move_one_job),
5209 (ev_pixbuf_cache_update_range), (copy_job_to_job_info),
5210 (add_job_if_needed), (ev_pixbuf_cache_set_page_range),
5211 (ev_pixbuf_cache_get_pixbuf), (ev_pixbuf_cache_get_link_mapping):
5212 Fix up code to grab a page cache per each doc. Also, fix to be 0
5215 * shell/ev-sidebar-thumbnails.c:
5216 (ev_sidebar_tree_selection_changed), (page_changed_cb),
5217 (ev_sidebar_thumbnails_set_document): Fix to be 0 based.
5219 * shell/ev-view.c: (status_message_from_link),
5220 (find_page_at_location), (get_link_at_location),
5221 (ev_view_motion_notify_event), (ev_view_button_release_event),
5222 (ev_view_init): Use the new link code. Fix to be 0 based.
5224 * shell/ev-window.c: (update_action_sensitivity),
5225 (document_supports_sidebar): 0 based.
5227 Fri Mar 25 16:55:58 2005 Jonathan Blandford <jrb@redhat.com>
5229 * pdf/pdf-document.cc: Patch from Fernando Herrera
5230 <fherrera@onirica.com> to fix my quick fix to get_thumbnail.
5233 Wed Mar 23 23:49:41 2005 Jonathan Blandford <jrb@redhat.com>
5235 * pdf/pdf-document.cc (pdf_document_thumbnails_get_thumbnail): add
5236 1 to the page, as this seems to be 1 based. I thought we has this
5239 2005-03-23 Marco Pesenti Gritti <marco@gnome.org>
5242 * backend/Makefile.am:
5243 * backend/ev-document-links.c:
5244 (ev_document_links_has_document_links),
5245 (ev_document_links_get_links_model):
5246 * backend/ev-document-links.h:
5247 * backend/ev-document.c: (ev_document_get_page_cache),
5248 (ev_document_get_doc_mutex), (ev_document_load),
5249 (ev_document_save), (ev_document_get_title),
5250 (ev_document_get_n_pages), (ev_document_set_page),
5251 (ev_document_get_page), (ev_document_set_target),
5252 (ev_document_set_scale), (ev_document_set_page_offset),
5253 (ev_document_get_page_size), (ev_document_get_text),
5254 (ev_document_get_link), (ev_document_render),
5255 (ev_document_render_pixbuf), (ev_document_scale_changed):
5256 * backend/ev-document.h:
5257 * backend/ev-job-queue.c: (remove_object_from_queue),
5258 (notify_finished), (handle_job), (search_for_jobs_unlocked),
5259 (no_jobs_available_unlocked), (ev_render_thread),
5260 (ev_job_queue_init), (find_queue), (ev_job_queue_add_job),
5261 (ev_job_queue_remove_job):
5262 * backend/ev-job-queue.h:
5263 * backend/ev-jobs.c: (ev_job_init), (ev_job_dispose),
5264 (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
5265 (ev_job_links_class_init), (ev_job_render_init),
5266 (ev_job_render_dispose), (ev_job_render_class_init),
5267 (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
5268 (ev_job_thumbnail_class_init), (ev_job_finished),
5269 (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
5270 (ev_job_render_run), (ev_job_thumbnail_new),
5271 (ev_job_thumbnail_run):
5272 * backend/ev-jobs.h:
5273 * backend/ev-link.c:
5274 * backend/ev-link.h:
5275 * backend/ev-page-cache.c: (ev_page_cache_init),
5276 (ev_page_cache_class_init), (ev_page_cache_finalize),
5277 (_ev_page_cache_new), (ev_page_cache_get_n_pages),
5278 (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
5279 (ev_page_cache_set_link), (ev_page_cache_get_title),
5280 (ev_page_cache_get_size), (ev_page_cache_next_page),
5281 (ev_page_cache_prev_page):
5282 * backend/ev-page-cache.h:
5283 * pdf/pdf-document.cc:
5286 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
5287 (push_pixbuf), (interpreter_failed), (ps_document_cleanup),
5288 (ps_document_widget_event), (ps_document_finalize), (get_xdpi),
5289 (get_ydpi), (setup_pixmap), (setup_page), (close_pipe),
5290 (is_interpreter_ready), (output), (catchPipe), (input),
5291 (start_interpreter), (check_filecompressed), (compute_dimensions),
5292 (ps_document_enable_interpreter), (document_load),
5293 (ps_document_next_page), (render_page), (ps_document_set_page),
5294 (ps_document_set_scale), (render_pixbuf_idle),
5295 (ps_document_render_pixbuf), (ps_document_document_iface_init):
5297 * shell/Makefile.am:
5298 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
5299 (ev_pixbuf_cache_class_init), (ev_pixbuf_cache_finalize),
5300 (dispose_cache_job_info), (ev_pixbuf_cache_dispose),
5301 (ev_pixbuf_cache_new), (job_finished_cb),
5302 (check_job_size_and_unref), (move_one_job),
5303 (ev_pixbuf_cache_update_range), (find_job_cache),
5304 (ev_pixbuf_cache_clear_job_sizes), (add_job_if_needed),
5305 (ev_pixbuf_cache_add_jobs_if_needed),
5306 (ev_pixbuf_cache_set_page_range), (ev_pixbuf_cache_get_pixbuf):
5307 * shell/ev-pixbuf-cache.h:
5308 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
5309 (idle_print_handler):
5310 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
5311 (selection_changed_cb), (create_loading_model),
5312 (ev_sidebar_links_construct), (links_page_num_func),
5313 (ev_sidebar_links_clear_document), (update_page_callback_foreach),
5314 (update_page_callback), (job_finished_cb),
5315 (ev_sidebar_links_set_document):
5316 * shell/ev-sidebar-thumbnails.c:
5317 (ev_sidebar_thumbnails_class_init), (adjustment_changed_cb),
5318 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init),
5319 (page_changed_cb), (thumbnail_job_completed_callback),
5320 (ev_sidebar_thumbnails_set_document):
5321 * shell/ev-sidebar-thumbnails.h:
5322 * shell/ev-sidebar.c: (ev_sidebar_set_document):
5323 * shell/ev-view.c: (ev_view_finalize), (ev_view_destroy),
5324 (ev_view_get_offsets), (ev_view_size_request), (ev_view_realize),
5325 (ev_view_unrealize), (highlight_find_results), (expose_bin_window),
5326 (ev_view_select_all), (ev_view_copy), (ev_view_primary_get_cb),
5327 (ev_view_create_invisible_cursor), (ev_view_motion_notify_event),
5328 (ev_view_button_release_event), (ev_view_scroll_view),
5329 (ev_view_class_init), (ev_view_init), (update_find_status_message),
5330 (jump_to_find_result), (jump_to_find_page), (find_changed_cb),
5331 (ev_view_new), (job_finished_cb), (page_changed_cb),
5332 (ev_view_set_document), (go_to_link), (ev_view_zoom),
5333 (size_to_zoom_factor), (ev_view_set_size), (ev_view_find_next),
5334 (ev_view_find_previous):
5336 * shell/ev-window.c: (update_action_sensitivity),
5337 (ev_window_open_page), (update_window_title), (update_total_pages),
5338 (page_changed_cb), (ev_window_setup_document),
5339 (password_dialog_response), (ev_window_cmd_save_as),
5340 (ev_window_print), (ev_window_cmd_go_previous_page),
5341 (ev_window_cmd_go_next_page), (ev_window_cmd_go_first_page),
5342 (ev_window_cmd_go_last_page), (ev_window_cmd_view_reload),
5343 (find_bar_search_changed_cb), (goto_page_cb), (ev_window_init):
5344 * shell/main.c: (main):
5346 Merge evince-threads branch
5348 2005-03-16 Žygimantas Beručka <uid0@akl.lt>
5350 * configure.ac: Added "lt" to ALL_LINGUAS.
5352 2005-03-14 Marco Pesenti Gritti <marco@gnome.org>
5359 2005-03-13 Fernando Herrera <fherrera@onirica.com>
5361 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
5363 Fix here also the thumbnails 1-basedness :)
5365 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
5372 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
5374 * pdf/pdf-document.cc:
5375 * shell/ev-sidebar-thumbnails.c: (adjustment_changed_cb),
5376 (do_one_iteration), (ev_sidebar_thumbnails_set_document):
5378 Fix the mess we did with thumbnails and 1-basedness
5380 2005-03-12 Changwoo Ryu <cwryu@debian.org>
5382 * configure.ac (ALL_LINGUAS): Added "ko" (Korean).
5384 2005-03-09 Marco Pesenti Gritti <marco@gnome.org>
5391 2005-03-08 Marco Pesenti Gritti <marco@gnome.org>
5394 * ps/gsdefaults.c: (gtk_gs_defaults_get_interpreter_cmd),
5395 (gtk_gs_defaults_get_alpha_parameters),
5396 (gtk_gs_defaults_get_ungzip_cmd),
5397 (gtk_gs_defaults_get_unbzip2_cmd):
5399 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
5400 (ps_document_get_orientation), (document_load),
5401 (ps_document_goto_page), (ps_document_set_page_size):
5404 Some more sanitization of the ps backend. Remove a lot
5405 of unused code and do not base our defaults on ggv
5408 2005-03-08 Fernando Herrera <fherrera@onirica.com>
5410 * thumbnailer/evince-thumbnailer.schemas:
5411 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
5412 (main): add -s option for thumbnail size.
5414 2005-03-07 Christian Persch <chpe@cvs.gnome.org>
5418 AC_PROG_RANLIB is rendered obsolete by AC_PROG_LIBTOOL;
5421 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
5423 * pdf/pdf-document.cc:
5425 Remove 4 pixels of useless border from the
5428 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
5430 * backend/ev-document-thumbnails.c:
5431 (ev_document_thumbnails_get_thumbnail):
5432 * backend/ev-document-thumbnails.h:
5434 Rework API a bit. Add a border flag and
5435 change sizing logic (now the size we specify
5436 applies to the bigger dimension).
5438 * pdf/pdf-document.cc:
5439 * pixbuf/pixbuf-document.c:
5440 (pixbuf_document_thumbnails_get_thumbnail):
5441 * shell/ev-sidebar-thumbnails.c: (do_one_iteration):
5442 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
5444 Adapt to the new API and do not draw a border for nautilus
5447 2005-03-03 Fernando Herrera <fherrera@onirica.com>
5449 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
5450 take thumbnails from page "0" instead of "1". Added a copyright header.
5452 2005-03-03 Jens Granseuer <jensgr@gmx.net>
5454 * ps/ps-document.c: (set_up_page), (start_interpreter):
5456 Make it C89 compliant
5458 2005-03-03 Marco Pesenti Gritti <marco@gnome.org>
5463 * pdf/pdf-document.cc:
5464 * thumbnailer/Makefile.am:
5465 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
5467 * thumbnailer/evince-thumbnailer.schemas:
5468 * thumbnailer/pdf-icon.png:
5470 Add a nautilus thumbnailer.
5471 Based on patch by Fernando Herrera <fherrera@onirica.com>.
5473 2005-03-02 Marco Pesenti Gritti <marco@gnome.org>
5481 2005-03-01 Kristian Høgsberg <krh@redhat.com>
5483 Use poppler instead of including xpdf source code. Poppler is a
5484 fork of xpdf to build it as a shared library. See
5485 http://freedesktop.org/wiki/Software/poppler.
5487 * pdf/xpdf/*, pdf/goo/*, pdf/splash/*, pdf/fofi/*: Remove included
5490 * pdf/Makefile.am: Build libpdfdocument.a here.
5492 * pdf/GDKSplashOutputDev.cc:
5493 * pdf/GDKSplashOutputDev.h:
5494 * pdf/GnomeVFSStream.cc:
5495 * pdf/GnomeVFSStream.h:
5498 * test-gdk-output-dev.cc
5500 * Thumb.h: Pull these files out of pdf/xpdf and adjust to compile
5503 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
5505 * shell/ev-sidebar-links.c: (ev_sidebar_links_clear_document):
5507 Clear idle stack before unsetting the document
5509 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
5511 * ps/ps-document.c: (ps_document_widget_event),
5512 (ps_document_set_target), (ps_document_finalize),
5513 (ps_document_get_page):
5515 Disconnect the widget event signal on finalize.
5518 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
5520 * ps/ps-document.c: (set_up_page):
5522 If there is no bpixmap create one, even if size
5525 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
5527 * ps/ps-document.c: (ps_document_init), (ps_document_cleanup),
5528 (set_up_page), (document_load), (ps_document_set_zoom):
5530 Default page is 0. Calculate size even when we have no
5533 2005-02-28 Carlos Garcia Campos <carlosgc@gnome.org>
5535 * shell/ev-sidebar.c: expand the selection widget to be always as
5538 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
5540 * shell/ev-sidebar-thumbnails.c:
5541 (ev_sidebar_thumbnails_set_document):
5543 Clear the list store when setting document
5545 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
5547 * shell/ev-page-action.c: (update_entry), (sync_entry),
5548 (activate_cb), (entry_size_request_cb), (create_tool_item),
5551 Use an entry for the page control instead of spinbuttons
5553 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
5555 * data/evince.schemas.in:
5557 Correct confusing string
5559 Sun Feb 27 23:00:31 2005 Jonathan Blandford <jrb@redhat.com>
5561 * shell/ev-sidebar-links.c (do_one_iteration): Handle title links
5562 for real. Gosh, how long has this been broken.
5564 * pdf/xpdf/pdf-document.cc (build_link_from_action): add back the
5565 check for a NULL link. We crash otherwise.
5567 2005-02-27 Marco Pesenti Gritti <marco@gnome.org>
5574 2005-02-25 Sebastien Bacher <seb128@debian.org>
5576 * configure.ac: add the french translation.
5578 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
5580 * shell/ev-window.c:
5582 Remove unused header -> fix distcheck
5584 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
5586 * shell/ev-window.c: (update_window_title),
5587 (ev_window_popup_password_dialog):
5589 Unescape filename for display
5591 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
5593 * pdf/xpdf/pdf-document.cc:
5595 In get_page_size deal with rotation. Also
5596 cleanup the function a bit.
5598 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
5600 * pdf/xpdf/pdf-document.cc:
5602 Fix crash when opening in new window
5604 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
5608 Check ghostscript >= 7
5610 2005-02-25 Pedro Villavicencio <pvillavi@gnome.cl>
5612 * shell/ev-window.c:
5614 Make page width the default sizing mode
5616 2005-02-25 Carlos Garcia Campos <carlosgc@gnome.org>
5617 Marco Pesenti Gritti <marco@gnome.org>
5619 * shell/ev-window.c: Remember the sidebar size
5621 * data/evince.schemas.in: Add a new gconf key to store the size of
5624 2005-02-24 Kai Willadsen <kaiw@itee.uq.edu.au>
5626 * data/evince-ui.xml:
5627 * shell/ev-window.c: (update_action_sensitivity),
5628 (ev_window_cmd_view_reload):
5630 Add a "Reload" action and menu entry
5632 Thu Feb 24 23:07:33 2005 Jonathan Blandford <jrb@redhat.com>
5634 * shell/ev-window.c (hide_sidebar_and_actions): Hide the sidebar
5635 iff the type doesn't support thumbnailing and indexing.
5637 2005-02-24 Martin Kretzschmar <martink@gnome.org>
5639 * configure.ac (ALL_LINGUAS): Added "zh_TW" (Traditional Chinese).
5641 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
5643 * pdf/splash/Splash.cc:
5645 Port fix for a crasher from kde bug
5646 http://bugs.kde.org/show_bug.cgi?id=97131
5648 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
5650 * pdf/xpdf/pdf-document.cc:
5652 Return a link even if it's of an unrecognized
5653 type. Otherwise we go in an infinte cycle.
5655 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
5657 * shell/ev-window.c: (update_sizing_buttons), (update_view_size),
5658 (size_allocate_cb), (ev_window_set_sizing_mode):
5660 Update size when switching mode
5662 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
5664 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
5665 (ev_window_cmd_view_page_width), (update_sizing_buttons),
5666 (ev_window_cmd_view_normal_size):
5668 Fix size toggle buttons behavior
5670 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
5672 * shell/ev-view.c: (ev_view_get_offsets), (view_rect_to_doc_rect),
5673 (doc_rect_to_view_rect), (ev_view_size_allocate),
5674 (expose_bin_window), (ev_view_select_all), (page_changed_callback),
5675 (scale_changed_callback):
5677 Do not cache offsets in size_allocate.
5679 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
5681 * shell/ev-view.c: (ev_view_size_allocate):
5683 Calculate offsets before calling the parent
5684 class (which does a redraw)
5686 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
5688 * pdf/xpdf/pdf-document.cc:
5690 Fix a crasher on exit. Unused code, put a TODO
5692 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
5694 * backend/ev-document.c: (ev_document_class_init),
5695 (ev_document_page_changed), (ev_document_scale_changed):
5696 * backend/ev-document.h:
5698 Separate page/scale notifications
5700 * pdf/xpdf/pdf-document.cc:
5702 Emit the new signals.
5703 Do not display the pdf page in _render, do it
5704 when scale/page are requested.
5706 * ps/ps-document.c: (ps_document_set_zoom),
5707 (ps_document_widget_event):
5710 Emit the new signals.
5712 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
5713 (ev_view_init), (page_changed_callback), (scale_changed_callback),
5714 (ev_view_set_document), (ev_view_zoom), (ev_view_zoom_in),
5715 (ev_view_zoom_out), (size_to_zoom_factor), (ev_view_set_size):
5717 * shell/ev-window.c: (ev_window_cmd_view_normal_size),
5718 (ev_window_cmd_view_page_width), (size_allocate_cb),
5719 (ev_window_set_sizing_mode):
5721 Rework sizing to be pixel based.
5722 There are bugs but should be already way better.
5724 2005-02-23 Marco Pesenti Gritti <marco@gnome.org>
5726 * shell/ev-window.c: (ev_window_init):
5728 Do not allow to shrink sidebar smaller then
5731 2005-02-23 Carlos Garcia Campos <carlosgc@gnome.org>
5733 * shell/ev-sidebar.[ch]
5734 * shell/ev-window.c:
5736 Improved sidebar widget. Fixes #166683
5738 2005-02-23 Tommi Vainikainen <thv@iki.fi>
5740 * shell/ev-view.c (update_find_status_message): Give translators
5741 more flexibility with ngettext plural handling.
5743 Mon Feb 21 17:52:08 2005 Jonathan Blandford <jrb@redhat.com>
5745 * pdf/xpdf/pdf-document.cc (pdf_document_get_page_size): Patch
5746 from Crispin Flowerday <gnome@flowerday.cx> to avoid rendering the
5747 page when we get the page size.
5749 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
5751 * ps/ps-document.c: (ps_document_set_page), (ps_document_get_page):
5753 ps pages are 0 based, convert
5755 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
5757 * ps/ps-document.c: (ps_document_class_init), (ps_document_load):
5759 Initialize correct parent class. Set GError on document load
5761 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
5763 * pdf/xpdf/pdf-document.cc:
5765 Fixup selection offset calculation
5767 * shell/ev-view.c: (view_rect_to_doc_rect),
5768 (doc_rect_to_view_rect), (ev_view_size_allocate),
5769 (expose_bin_window), (ev_view_select_all), (ev_view_copy),
5770 (ev_view_primary_get_cb), (ev_view_motion_notify_event):
5772 Store selection as document relative, so that zooming
5773 and offset changing doesnt break it.
5775 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
5777 * shell/ev-view.c: (ev_view_best_fit):
5779 Do not try to best fit if the view is not realized
5781 2005-02-20 Kostas Papadimas <pkst@gnome.org>
5783 * configure.ac (ALL_LINGUAS): Added "el" (Greek).
5785 Fri Feb 18 16:06:39 2005 Jonathan Blandford <jrb@redhat.com>
5787 * shell/ev-window.c (ev_window_focus_in_event): missed a case.
5789 Fri Feb 18 15:32:57 2005 Jonathan Blandford <jrb@redhat.com>
5791 * shell/ev-window.c: Change the fullscreen toolbar to always be in
5792 the popup window. That prevents it resizing when in full screen
5795 * shell/ev-view.c: Change Zoom epsilon as a bad hack to avoid
5796 multiple rerenders. This pretty much sucks.
5798 * data/evince-ui.xml: Change the fullscreen toolbar to include the
5799 rest of the toolbar.
5801 2005-02-18 Tommi Vainikainen <thv@iki.fi>
5803 * configure.ac (ALL_LINGUAS): Added "fi" (Finnish).
5805 2005-02-17 Alexander Shopov <ash@contact.bg>
5807 * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
5809 2005-02-16 Bryan Clark <clarkbw@cvs.gnome.org>
5811 * shell/ev-window.c: added ellipsis to Print item. Fixes bug 166915
5813 2005-02-16 Marco Pesenti Gritti <marco@gnome.org>
5815 * shell/ev-view.c: (ev_view_realize), (highlight_find_results),
5816 (ev_view_create_invisible_cursor), (ev_view_set_cursor),
5817 (set_document_page), (document_changed_callback),
5818 (ev_view_set_document), (ev_view_find_previous),
5819 (ev_view_hide_cursor), (ev_view_show_cursor):
5821 * shell/ev-window.c: (update_chrome_visibility),
5822 (fullscreen_timeout_cb), (fullscreen_set_timeout),
5823 (fullscreen_clear_timeout), (fullscreen_motion_notify_cb),
5824 (fullscreen_leave_notify_cb), (ev_window_fullscreen),
5825 (ev_window_unfullscreen):
5826 * shell/main.c: (main):
5828 Automatically hide the fullscreen button.
5829 Patch by Kristian Høgsberg <krh@redhat.com>
5831 2005-02-16 Vincent Noel <vnoel@cox.net>
5833 * shell/main.c (main): Specify an icon for the window. Patch by
5834 Jaap A. Haitsma. Fixes #166177.
5836 Wed Feb 16 06:30:13 2005 Jonathan Blandford <jrb@redhat.com>
5838 * shell/ev-view.c (ev_view_realize): get rid of the black flash.
5840 Tue Feb 15 22:27:13 2005 Jonathan Blandford <jrb@redhat.com>
5842 * backend/ev-document-misc.h:
5843 * backend/ev-document-misc.c:
5844 (ev_document_misc_get_page_border_size),
5845 (ev_document_misc_paint_one_page): New function to canonicalize
5846 sizing/painting a border.
5848 * shell/Makefile.am: Remove ev-page-view.c entirely as it's not
5851 * pdf/xpdf/pdf-document.cc: use new function
5853 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
5854 (ev_view_init), (ev_view_set_mode), (ev_view_zoom),
5855 (ev_view_best_fit), (ev_view_fit_width): * shell/ev-view.h: *
5856 shell/ev-window.c: (update_sizing_buttons),
5857 (ev_window_setup_document), (ev_window_cmd_view_zoom_in),
5858 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_best_fit),
5859 (ev_window_cmd_view_page_width), (size_allocate_cb),
5860 (ev_window_set_sizing_mode), (ev_window_init): make the "best fit"
5861 and "fit width" values act as toggle buttons so they stay
5862 toggled. It's not 100% perfect, and it's a little slow, but it's
5863 good enough to commit I think.
5865 2005-02-15 David Lodge <dave@cirt.net>
5867 * configure.ac (ALL_LINGUAS): Added "en_GB" (English (British)).
5869 2005-02-15 Martin Kretzschmar <martink@gnome.org>
5871 * shell/ev-window.c (update_window_title): replace newlines in
5872 the title by spaces. Bug #166107.
5874 2005-02-14 Martin Kretzschmar <martink@gnome.org>
5876 * shell/ev-view.c (ev_view_best_fit, ev_view_fit_width): add
5877 parameters providing allocation width and height without
5878 scrollbars and width of a possible vertical scrollbar. With this
5879 additional information the functions can work as
5880 intended. Unfortunately they're not idempotent. We should
5881 transform these commands to toggles. Fixes Bug #164976
5882 Initial patch by Stephane Loeuillet, then heavily modified.
5884 * shell/ev-view.h: update prototypes.
5886 * shell/ev-window.c (ev_window_cmd_view_best_fit)
5887 (ev_window_cmd_view_page_width): provide EvView fit functions with
5888 all the information they need. Formulas to calculate this
5889 information taken from GtkScrolledWindow.
5891 2005-02-14 Crispin Flowerday <gnome@flowerday.cx>
5893 * shell/ev-sidebar-thumbnails.c: Ensure that after we have
5894 created a thumbnail, the list store is updated to know
5895 that the thumbnail is set. Fixes bug #166792
5897 2005-02-11 Bryan Clark <clarkbw@cvs.gnome.org>
5899 * shell/ev-window.c: fixed typo, closes bug 166897
5901 * TODO: updated TODO with bug numbers that are relevant
5903 2005-02-09 Carlos Garcia Campos <carlosgc@gnome.org>
5905 * shell/ev-window.c: Support for DnD of files. Fixes #164813
5907 2005-02-09 Vincent Noel <vnoel@cox.net>
5909 * shell/ev-window.c: (set_action_properties): Set the "Previous"
5910 and "Next" toolbar buttons as important to make them stand out.
5912 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
5916 * ps/ps-document.c: (ps_document_finalize), (set_up_page),
5917 (start_interpreter), (stop_interpreter), (document_load),
5918 (ps_document_next_page), (ps_document_goto_page),
5919 (ps_document_set_page_size), (ps_document_widget_event),
5920 (ps_document_render):
5921 * shell/ev-page-view.c: (ev_page_view_dispose):
5922 * shell/ev-view.c: (ev_view_finalize), (expose_bin_window):
5924 Fix compilation on non-gcc platforms
5926 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
5933 * pdf/xpdf/Catalog.cc:
5936 Fix the fix for CAN-2004-0888
5938 2005-02-09 Luca Ferretti <elle.uca@libero.it>
5941 * data/evince-ui.xml:
5942 * shell/ev-stock-icons.c: (ev_stock_icons_init):
5943 * shell/ev-stock-icons.h:
5944 * shell/ev-window.c: (update_action_sensitivity),
5945 (ev_window_cmd_go_previous_page), (ev_window_cmd_go_next_page),
5946 (set_action_properties):
5948 Improve toolbar layout/icons
5950 2005-02-08 Marco Pesenti Gritti <marco@gnome.org>
5952 * pdf/xpdf/pdf-document.cc:
5954 Add warnings about unimplemented/unknown link
5957 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
5959 * ps/ps-document.c: (set_up_page):
5963 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
5965 * ps/ps-document.c: (start_interpreter):
5969 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
5971 * shell/ev-page-view.c: (ev_page_view_dispose):
5972 * shell/ev-view.c: (ev_view_finalize):
5973 * shell/ev-window.c: (ev_window_setup_document),
5974 (ev_window_dispose), (ev_window_init):
5976 Solve more refs issues.
5978 I commented out the page_view initialization for now:
5979 it was never destroyed (because it's never added
5980 to a container). Because of that we was leaking
5981 gs processes. Couldnt think to a clean fix.
5982 We need to figure this out, password view has the
5983 same issue probably.
5985 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
5987 * ps/ps-document.c: (ps_document_finalize),
5988 (ps_document_get_n_pages), (ps_document_get_page):
5990 Some cleanups, stop the interpreter on finalize
5992 * shell/ev-page-view.c: (ev_page_view_dispose),
5993 (ev_page_view_class_init):
5995 Release our reference on the document
5997 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
6001 * doc/debugging.txt:
6004 * lib/ev-debug.c: (log_module), (trap_handler), (ev_debug_init),
6005 (ev_profiler_new), (ev_should_profile), (ev_profiler_dump),
6006 (ev_profiler_free), (ev_profiler_start), (ev_profiler_stop):
6009 Add debugging helpers
6012 * ps/ps-document.c: (set_up_page), (start_interpreter),
6013 (stop_interpreter), (document_load), (ps_document_next_page),
6014 (ps_document_goto_page), (ps_document_set_page_size),
6015 (ps_document_widget_event), (ps_document_render):
6016 * shell/Makefile.am:
6017 * shell/ev-view.c: (expose_bin_window):
6018 * shell/main.c: (main):
6022 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
6024 * ps/ps-document.c: (ps_document_widget_event):
6026 Initialize message_window, this should make ps
6027 rendering really work! (Never noticed because I was
6028 testing with a ps that is causing gs to exit every time!)
6030 2005-02-07 Bryan Clark <clarkbw@cvs.gnome.org>
6032 * data/evince.schemas.in: updated simple error in applyto closing tag
6034 2005-02-07 Christian Persch <chpe@cvs.gnome.org>
6040 * data/evince-ui.xml:
6041 A data/evince.schemas.in:
6043 * shell/ev-stock-icons.c: (ev_stock_icons_init):
6044 * shell/ev-stock-icons.h:
6045 * shell/ev-window.c: (update_chrome_visibility),
6046 (update_chrome_flag), (ev_window_cmd_edit_find),
6047 (ev_window_update_fullscreen_popup), (ev_window_fullscreen),
6048 (ev_window_unfullscreen), (ev_window_focus_in_event),
6049 (ev_window_focus_out_event), (ev_window_cmd_leave_fullscreen),
6050 (ev_window_view_toolbar_cb), (ev_window_view_statusbar_cb),
6051 (ev_window_view_sidebar_cb), (find_bar_close_cb),
6052 (ev_window_dispose), (ev_window_class_init),
6053 (set_action_properties), (set_chrome_actions), (load_chrome),
6056 Implement fullscreen mode changes from bug #164776.
6057 Also implement persistent chrome toggles.
6059 2005-02-07 Jordi Mallach <jordi@sindominio.net>
6061 * configure.ac (ALL_LINGUAS): Added "ca" (Catalan).
6063 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
6069 Add another check for find interface
6073 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
6075 * shell/ev-application.c: (ev_application_open):
6076 * shell/ev-window.c: (ev_window_open):
6078 Open gzipped ps documents
6080 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
6083 * shell/ev-view.c: (set_document_page):
6085 Clamp page number, dont try to move to
6088 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
6090 * backend/ev-document-find.c: (ev_document_find_changed):
6091 * backend/ev-document-find.h:
6092 * pdf/xpdf/pdf-document.cc:
6093 * shell/ev-view.c: (jump_to_find_result), (ev_view_set_document):
6094 * shell/ev-window.c: (find_bar_search_changed_cb):
6096 Fix several bugs with find
6098 2005-02-04 Martin Kretzschmar <martink@gnome.org>
6100 * shell/ev-sidebar-thumbnails.c
6101 (ev_sidebar_thumbnails_select_page): do nothing unless we have a
6102 document. Prevents warning from scroll_to_cell.
6104 2005-02-02 Kjartan Maraas <kmaraas@gnome.org>
6106 * configure.ac: Add «nb» to ALL_LINGUAS too.
6108 Wed Feb 2 21:13:11 2005 Jonathan Blandford <jrb@redhat.com>
6110 * NOTES: New file with some random thoughts.
6114 * backend/ev-document-misc.c:
6115 (ev_document_misc_get_page_border_size): New function to
6116 canonicalize shadow drawing sizes. Possibly goofy.
6118 * shell/ev-view.c: (ev_view_size_request), (set_document_page),
6119 (ev_view_best_fit), (ev_view_fit_width):
6120 * pdf/xpdf/pdf-document.cc:
6121 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
6122 * ps/ps-document.c: (ps_document_get_page_size):
6123 * backend/ev-document-misc.h:
6124 * backend/ev-document.c: (ev_document_get_page_size):
6125 * backend/ev-document.h: get_page_size now takes a page number
6126 parameter. Made all the backends/frontends honor it.
6128 * data/evince-ui.xml: Added a multiple-page mode. Uncomment to
6129 see. Doesn't work yet.
6131 * shell/Makefile.am:
6132 * shell/ev-page-view.[ch]: New multi-page view. Really rough.
6133 Doesn't do anything yet.
6135 * shell/ev-sidebar-thumbnails.c:
6136 (ev_sidebar_thumbnails_set_document): [1..n_pages] instead of
6139 * shell/ev-window.c: (update_action_sensitivity),
6140 (ev_window_setup_document), (ev_window_set_page_mode),
6141 (ev_window_page_mode_cb), (ev_window_init): Clean up the
6142 view-swapping code a bit so we can have multiple views on a
6143 document. Add the multi-page view, though it can't be turned on
6146 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
6148 * shell/ev-application.c: (ev_application_open):
6149 * shell/ev-view.c: (expose_bin_window):
6150 * shell/ev-window.c: (ev_window_open):
6152 Support eps and check document supports find
6153 before drawing highlightings in expose.
6155 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
6157 * pixbuf/pixbuf-document.c:
6158 (pixbuf_document_thumbnails_get_dimensions),
6159 (pixbuf_document_document_thumbnails_iface_init):
6161 implement get_dimensions
6163 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
6170 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
6172 * shell/ev-view.c: (set_document_page):
6174 Scroll at the top of the page when changing page
6176 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
6178 * shell/ev-view.c: (ev_view_motion_notify_event):
6180 Do not redraw unnecessarily
6182 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
6184 * pdf/xpdf/pdf-document.cc:
6185 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
6186 (expose_bin_window), (find_changed_cb):
6188 Yay! find works now... Now to find bugs...
6190 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
6192 * backend/ev-document-find.c: (ev_document_find_base_init),
6193 (ev_document_find_changed):
6194 * backend/ev-document-find.h:
6195 * pdf/xpdf/pdf-document.cc:
6196 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
6197 (expose_bin_window), (ev_view_init), (set_document_page),
6198 (ensure_rectangle_is_visible), (jump_to_find_result),
6199 (jump_to_find_page), (find_changed_cb), (ev_view_set_document),
6200 (ev_view_find_next), (ev_view_find_previous):
6202 * shell/ev-window.c: (find_bar_previous_cb), (find_bar_next_cb):
6204 More work on find implementation, mostly there now
6206 2005-01-29 Marco Pesenti Gritti <marco@gnome.org>
6208 * backend/ev-backend-marshalers.list:
6209 * backend/ev-document-find.c: (ev_document_find_base_init),
6210 (ev_document_find_cancel), (ev_document_find_page_has_results),
6211 (ev_document_find_get_n_results), (ev_document_find_get_result),
6212 (ev_document_find_get_progress), (ev_document_find_changed):
6213 * backend/ev-document-find.h:
6215 Enanche the find interface to be really able to do
6218 * pdf/xpdf/pdf-document.cc:
6222 * shell/ev-view.c: (ev_view_finalize), (highlight_find_results),
6223 (expose_bin_window), (ev_view_init),
6224 (ev_view_get_find_status_message), (find_changed_cb),
6225 (ev_view_set_document), (set_document_page):
6227 Adapt to the new interface. A few things are regressed sorry,
6228 I will finish it soon.
6230 2005-01-28 Martin Kretzschmar <martink@gnome.org>
6232 * shell/ev-sidebar-thumbnails.c (ev_sidebar_thumbnails_destroy)
6233 (ev_sidebar_thumbnails_class_init): use G_DEFINE_TYPE-supplied
6234 ev_sidebar_thumbnails_parent_class variable, don't define another
6235 parent_class variable.
6237 * shell/ev-page-action.c (connect_proxy, ev_page_action_finalize)
6238 (ev_page_action_class_init): ditto.
6240 * pixbuf/pixbuf-document.c (pixbuf_document_finalize)
6241 (pixbuf_document_class_init): ditto.
6243 * backend/ev-link.c (ev_window_dispose, ev_link_class_init):
6246 * .cvsignore: ignore various valgrind output files.
6248 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
6250 * data/evince-ui.xml:
6251 * shell/Makefile.am:
6252 * shell/ev-history.c:
6253 * shell/ev-history.h:
6254 * shell/ev-navigation-action.c:
6255 * shell/ev-navigation-action.h:
6256 * shell/ev-view.c: (ev_view_finalize), (ev_view_go_to_link),
6257 (ev_view_set_page), (ev_view_fit_width):
6259 * shell/ev-window.c: (update_action_sensitivity),
6260 (ev_window_setup_document), (register_custom_actions):
6262 Kill session history
6264 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
6266 * shell/ev-window.c: (update_action_sensitivity):
6268 Fix inverted up/down buttons
6270 2005-01-27 Martin Kretzschmar <martink@gnome.org>
6272 * shell/ev-sidebar-thumbnails.c
6273 (ev_sidebar_thumbnails_select_page): make sure the selected
6274 thumbnail stays visible.
6276 2005-01-26 Martin Kretzschmar <martink@gnome.org>
6278 * shell/ev-window.c (ev_window_init): add GTK_SHADOW_IN to the
6279 scrolled window for Federico.
6281 2005-01-26 Ole Laursen <olau@hardworking.dk>
6283 * configure.ac: Added "da" (Danish) to ALL_LINGUAS.
6285 2005-01-26 Marco Pesenti Gritti <marco@gnome.org>
6288 * pdf/splash/SplashFTFontEngine.cc:
6290 Fix CID fonts with freetype 2.1.9
6292 2005-01-26 Bryan Clark <clarkbw@cvs.gnome.org>
6294 * TODO: added item for desktop icon thumbnailer
6296 Tue Jan 25 00:59:34 2005 Jonathan Blandford <jrb@redhat.com>
6298 * pdf/xpdf/pdf-document.cc (pdf_document_get_title): guard against
6299 unloaded docs when the title is accessed.
6301 * shell/ev-password-view.[hc]: New widget for displaying password
6304 * shell/ev-window.[ch]: Refactor password handling code to handle
6307 2005-01-24 Marco Pesenti Gritti <marco@gnome.org>
6315 2005-01-23 Stephane LOEUILLET <stephane.loeuillet@tiscali.fr>
6317 * pdf/xpdf/pdf-document.cc (pdf_document_search_page_changed):
6318 ignore page offset here, to make search results independent of it,
6320 * shell/ev-view.c (expose_bin_window): but take offsets into
6321 account here. Bug #164932
6323 * pdf/xpdf/pdf-document.cc (pdf_document_get_link): divide by
6324 scale at the right time. Bug #164996
6326 2005-01-22 Martin Kretzschmar <martink@gnome.org>
6328 * pdf/xpdf/GlobalParams.cc: My 2005-01-05 change didn't actually
6329 fix the problem. Now I just removed the Adobe font names and hope
6330 that the URW fonts are always in outline format. Bug #164934
6332 * shell/ev-window.c (update_window_title): empty titles are
6333 useless, use filename in that case too.
6335 * NEWS: Add some content.
6337 2005-01-21 Bryan Clark <clarkbw@cvs.gnome.org>
6339 * TODO: added one more TODO item and a TODONE section :)
6341 2005-01-21 Martin Kretzschmar <martink@gnome.org>
6343 * ps/ps-document.h: add page_[xy]_offset fields.
6345 * ps/ps-document.c (ps_document_set_page_offset)
6346 (ps_document_render): Keep offset in consideration in a few
6347 places. Bug #164752 "postscript documents are not centered in
6350 * data/evince.desktop.in (X-GNOME-Bugzilla-Product):
6351 s/gpdf/evince/. Spotted by Stephane Loeuillet.
6353 * pixbuf/pixbuf-document.c (pixbuf_document_get_n_pages)
6354 (pixbuf_document_get_text, pixbuf_document_document_iface_init):
6355 stub out missing methods for complete EvDocument implementation.
6356 Fixes segfaults with Save A Copy and Copy actions.
6358 * ps/ps-document.c (ps_document_save, ps_document_get_text)
6359 (ps_document_document_iface_init): ditto.
6361 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
6365 * data/evince.desktop.in:
6369 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
6371 * shell/ev-view.c: (ev_view_button_press_event),
6372 (ev_view_motion_notify_event):
6374 Make selection work in any direction
6376 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
6379 * shell/ev-window.c: (set_short_labels), (ev_window_init):
6381 Use shorter labels for some of the toolbars items
6383 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
6385 * pdf/xpdf/pdf-document.cc:
6387 Check the links info is initialized before
6388 using it. Should fix a crash on startup.
6390 2005-01-21 Martin Kretzschmar <martink@gnome.org>
6392 * pixbuf/pixbuf-document.c
6393 (pixbuf_document_thumbnails_get_dimensions): force floating point
6394 division to calculate page_ratio. Fixes crash with landscape
6397 Thu Jan 20 18:56:35 2005 Jonathan Blandford <jrb@redhat.com>
6399 * shell/ev-view.c (ev_view_realize): make the bg color darker.
6401 2005-01-20 Martin Kretzschmar <martink@gnome.org>
6403 * shell/ev-view.c (set_document_page): unset has_selection when
6405 (set_document_page): handle paper size changes when the page
6406 changes (test with Free Culture, page 2).
6408 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
6410 * shell/ev-view.c: (ev_view_size_request), (ev_view_realize),
6411 (expose_bin_window), (ev_view_class_init), (ev_view_init):
6413 Use normal style color for the widget background and
6414 draw a black box around the page.
6416 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
6418 * pdf/xpdf/pdf-document.cc:
6420 Keep offset in consideration in a few places
6422 * shell/ev-view.c: (expose_bin_window):
6424 Set the offsets so that the document is ever centered
6426 2005-01-20 Bryan Clark <clarkbw@cvs.gnome.org>
6428 * TODO: Added TODO items and finished off the first todo item
6430 * AUTHORS: Updated AUTHORS section with piece from gpdf file and
6431 reflect current authors
6433 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
6435 * pdf/xpdf/pdf-document.cc:
6436 * shell/ev-view.c: (ev_view_set_cursor),
6437 (ev_view_motion_notify_event), (document_changed_callback),
6438 (set_document_page):
6440 Show a wait cursor while the page is rendering
6442 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
6444 * shell/ev-sidebar-thumbnails.c:
6445 (ev_sidebar_tree_selection_changed),
6446 (ev_sidebar_thumbnails_select_page):
6447 * shell/ev-sidebar-thumbnails.h:
6448 * shell/ev-view.c: (ev_view_set_document), (ev_view_can_go_back),
6449 (ev_view_can_go_forward):
6450 * shell/ev-window.c: (ev_window_open_page),
6451 (ev_window_setup_document), (update_current_page),
6452 (view_page_changed_cb), (ev_window_init):
6453 * shell/ev-window.h:
6455 Ensure thumbnails selection, toolbar page control and
6456 current page are in sync.
6458 2005-01-19 Marco Pesenti Gritti <marco@gnome.org>
6464 Wed Jan 19 01:10:57 2005 Jonathan Blandford <jrb@redhat.com>
6466 * backend/Makefile.am:
6467 * backend/ev-document-links.h:
6468 * backend/ev-document-security.c: (ev_document_security_get_type),
6469 (ev_document_security_has_document_security),
6470 (ev_document_security_set_password):
6471 * backend/ev-document-security.h:
6472 * backend/ev-document.c: (ev_document_error_quark):
6473 * backend/ev-document.h:
6475 * data/evince-password.glade:
6476 * pdf/xpdf/pdf-document.cc:
6477 * shell/Makefile.am:
6478 * shell/ev-password.c: (ev_password_set_bad_password_label),
6479 (ev_window_password_entry_changed_cb), (ev_password_dialog_new),
6480 (ev_password_dialog_get_password),
6481 (ev_password_dialog_set_bad_pass):
6482 * shell/ev-password.h:
6483 * shell/ev-window.c: (ev_window_get_attribute),
6484 (ev_window_set_property), (update_action_sensitivity),
6485 (ev_window_is_empty), (mime_type_supported_by_gdk_pixbuf),
6486 (ev_window_setup_document), (ev_window_get_password),
6487 (ev_window_open), (ev_window_cmd_save_as),
6488 (using_postscript_printer), (ev_window_print),
6489 (find_not_supported_dialog), (ev_window_cmd_edit_find),
6490 (update_fullscreen_popup), (ev_window_fullscreen),
6491 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
6492 (ev_window_focus_out_cb), (ev_window_cmd_help_about),
6493 (menu_item_select_cb), (find_bar_search_changed_cb),
6494 (ev_window_dispose), (ev_window_init):
6496 Add initial support for password-supported dialogs. This could be
6497 a lot cooler, but it'll do for now.
6499 2005-01-18 Marco Pesenti Gritti <marco@gnome.org>
6501 * pdf/xpdf/pdf-document.cc:
6502 * shell/ev-view.c: (status_message_from_link),
6503 (ev_view_set_status), (ev_view_set_cursor),
6504 (ev_view_motion_notify_event), (ev_view_init):
6505 * shell/ev-window.c: (view_status_changed_cb), (ev_window_init):
6507 Fix bugs in the links implementation and change cursor
6508 when hovering a link.
6510 2005-01-17 Bryan Clark <clarkbw@cvs.gnome.org>
6512 * viewer/.cvsignore: added cvsignore file for viewer directory
6514 * TODO: created TODO document
6516 2005-01-14 Dave Malcolm <dmalcolm@redhat.com>
6519 * shell/ev-view.c (ev_view_can_go_back), (ev_view_can_go_forward):
6520 new functions to help with implementation of sensitivity code
6521 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
6522 of all actions that might require it. Fixes a crash when you
6523 click on the Zoom actions in a window lacking a document.
6525 2005-01-13 Dave Malcolm <dmalcolm@redhat.com>
6527 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
6530 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
6532 * pixbuf/pixbuf-document.c: (pixbuf_document_get_link),
6533 (pixbuf_document_document_iface_init):
6534 * ps/ps-document.c: (ps_document_get_link),
6535 (ps_document_document_iface_init):
6536 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event),
6537 (status_message_from_link), (ev_view_set_status),
6538 (ev_view_set_find_status), (ev_view_motion_notify_event),
6539 (ev_view_button_release_event), (ev_view_set_property),
6540 (ev_view_get_property), (ev_view_class_init), (ev_view_init),
6541 (ev_view_get_find_status_message), (update_find_results),
6542 (ev_view_get_status), (ev_view_get_find_status):
6544 * shell/ev-window.c: (view_status_changed_cb),
6545 (view_find_status_changed_cb), (ev_window_init):
6547 View status message support, use it to show the links.
6550 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
6552 * backend/ev-document.c: (ev_document_get_link):
6553 * backend/ev-document.h:
6554 * pdf/xpdf/pdf-document.cc:
6555 * shell/ev-application.c: (ev_application_open):
6556 * shell/ev-application.h:
6557 * shell/ev-sidebar-links.c: (selection_changed_cb):
6558 * shell/ev-view.c: (ev_view_button_release_event), (go_to_link),
6559 (ev_view_go_to_link):
6561 Add support for document links
6563 2005-01-13 Anders Carlsson <andersca@gnome.org>
6565 * shell/ev-page-action.c: (update_spin), (total_pages_changed_cb),
6567 Set the spin button limits correctly.
6569 * shell/ev-sidebar-thumbnails.c:
6570 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init):
6571 Support changing pages by clicking on the thumbnails.
6573 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
6575 * pixbuf/pixbuf-document.c:
6576 (pixbuf_document_thumbnails_get_dimensions),
6577 (pixbuf_document_document_thumbnails_iface_init):
6579 implement get_dimensions
6581 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
6583 * ps/ps-document.c: (ps_document_goto_page):
6585 Fix page switching on multipage documents
6587 2005-01-12 Jeff Muizelaar <jrmuizel@nit.ca>
6589 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
6591 check for NULL before assigning to width and height parameters
6593 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
6595 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
6596 (pixbuf_document_set_property), (pixbuf_document_get_property):
6598 implement get/set properties
6600 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
6602 * pdf/xpdf/pdf-document.cc: (pdf_info_dict_get_string):
6604 return NULL instead of "Unknown", letting the title get set to
6605 the filename when the pdf has no title.
6607 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
6609 * ps/ps-document.c: (ps_document_get_page_count),
6610 (ps_document_goto_page):
6612 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
6614 * shell/ev-history.c: (ev_history_get_property),
6615 (ev_history_set_property), (ev_history_class_init),
6616 (ev_history_add_page), (ev_history_set_current_index):
6617 * shell/ev-navigation-action.c: (ev_navigation_action_set_history),
6618 (activate_menu_item_cb), (new_history_menu_item), (build_menu),
6619 (ev_navigation_action_finalize):
6620 * shell/ev-navigation-action.h:
6621 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
6622 (ev_view_go_forward), (ev_view_get_find_status_message),
6623 (history_index_changed_cb), (ev_view_set_history):
6625 * shell/ev-window.c: (update_total_pages), (ev_window_open),
6626 (update_current_page), (register_custom_actions):
6628 Implement history dropdowns
6630 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
6632 * shell/ev-history.c: (ev_history_init), (ev_history_add_link):
6633 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
6634 (ev_view_go_forward):
6635 * shell/ev-window.c: (register_custom_actions):
6637 Fix several history bugs
6639 2005-01-11 Kjartan Maraas <kmaraas@gnome.org>
6641 * configure.ac: Add «nb» to ALL_LINGUAS.
6643 2005-01-10 Marco Pesenti Gritti <marco@gnome.org>
6645 * backend/Makefile.am:
6646 * backend/ev-bookmark.c:
6647 * backend/ev-bookmark.h:
6648 * backend/ev-document-bookmarks.c:
6649 * backend/ev-document-bookmarks.h:
6650 * backend/ev-document-links.c: (ev_document_links_get_type),
6651 (ev_document_links_has_document_links),
6652 (ev_document_links_begin_read), (ev_document_links_get_link),
6653 (ev_document_links_get_child), (ev_document_links_next),
6654 (ev_document_links_free_iter):
6655 * backend/ev-document-links.h:
6656 * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_title),
6657 (ev_link_set_title), (ev_link_get_uri), (ev_link_set_uri),
6658 (ev_link_get_link_type), (ev_link_set_link_type),
6659 (ev_link_get_page), (ev_link_set_page), (ev_link_get_property),
6660 (ev_link_set_property), (ev_window_dispose), (ev_link_init),
6661 (ev_link_class_init), (ev_link_new_title), (ev_link_new_page),
6662 (ev_link_new_external):
6663 * backend/ev-link.h:
6664 * pdf/xpdf/pdf-document.cc:
6665 * shell/Makefile.am:
6666 * shell/ev-application.c: (ev_application_open_link):
6667 * shell/ev-application.h:
6668 * shell/ev-history.c: (ev_history_add_link), (ev_history_add_page),
6669 (ev_history_get_link_nth):
6670 * shell/ev-history.h:
6671 * shell/ev-sidebar-bookmarks.c:
6672 * shell/ev-sidebar-bookmarks.h:
6673 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
6674 (ev_sidebar_links_class_init), (selection_changed_cb),
6675 (ev_sidebar_links_construct), (ev_sidebar_links_init),
6676 (links_page_num_func), (ev_sidebar_links_new), (stack_data_free),
6677 (do_one_iteration), (populate_links_idle),
6678 (ev_sidebar_links_clear_document), (ev_sidebar_links_set_document):
6679 * shell/ev-sidebar-links.h:
6680 * shell/ev-sidebar.c: (ev_sidebar_set_document):
6681 * shell/ev-view.c: (go_to_link), (ev_view_go_to_link),
6684 * shell/ev-window.c: (ev_window_open_link), (ev_window_init):
6685 * shell/ev-window.h:
6687 Rename bookmark to link, and use "Index" for the sidebar panel.
6689 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
6691 * shell/Makefile.am:
6692 * shell/ev-application.c: (ev_application_open_bookmark):
6693 * shell/ev-application.h:
6694 * shell/ev-history.c: (ev_history_init), (free_links_list),
6695 (ev_history_finalize), (ev_history_class_init),
6696 (ev_history_add_link), (ev_history_add_page),
6697 (ev_history_get_link_nth), (ev_history_get_n_links),
6698 (ev_history_get_current_index), (ev_history_set_current_index),
6700 * shell/ev-history.h:
6701 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
6702 * shell/ev-view.c: (ev_view_finalize), (ev_view_set_document),
6703 (set_document_page), (go_to_bookmark), (ev_view_go_to_bookmark),
6704 (go_to_index), (ev_view_go_back), (ev_view_go_forward),
6707 * shell/ev-window.c: (ev_window_open_bookmark),
6708 (ev_window_cmd_go_back), (ev_window_cmd_go_forward),
6709 (goto_page_cb), (register_custom_actions):
6710 * shell/ev-window.h:
6712 Initial history implementation. Needs work.
6714 2005-01-09 Martin Kretzschmar <martink@gnome.org>
6716 * pdf/xpdf/GDKSplashOutputDev.cc (redraw): fix pixbuf data offset.
6718 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
6720 * cut-n-paste/recent-files/egg-recent-item.c:
6721 * cut-n-paste/recent-files/egg-recent-item.h:
6722 * cut-n-paste/recent-files/egg-recent-model.c:
6723 * cut-n-paste/recent-files/egg-recent-util.c:
6724 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
6725 * cut-n-paste/recent-files/egg-recent-view.c:
6729 2005-01-08 Martin Kretzschmar <martink@gnome.org>
6731 * pdf/splash/Splash.cc (clear, drawPixel, drawSpan, xorSpan, getPixel)
6732 (fillGlyph, fillImageMask, drawImage):
6733 pdf/splash/SplashBitmap.cc (SplashBitmap, ~SplashBitmap, writePNMFile):
6734 pdf/splash/SplashTypes.h:
6735 pdf/xpdf/SplashOutputDev (startPage, getColor, imageSrc): implement RGB8
6736 packed mode for Splash.
6738 * pdf/xpdf/GDKSplashOutputDev.cc (GDKSplashOutputDev, redraw): use
6739 RGB8 packed mode, eliminates the pixbuf data creation loop.
6741 * shell/ev-print-job.c (ev_print_job_finalize)
6742 (ev_print_job_set_property, ev_print_job_get_property)
6743 (ev_print_job_set_gnome_print_job, ev_print_job_set_document)
6744 (ev_print_job_use_print_dialog_settings, idle_print_handler)
6745 (print_closure_finalize, ev_print_job_print): implement
6746 printing (for backends with EvPsExporter)
6748 * shell/ev_print_job.h: update prototypes.
6750 * shell/ev-window.c (ev_window_print): unref print job after
6753 * shell/ev-view.c (ev_view_set_document): don't connect to "found"
6754 unless the document implements the EvDocumentFind interface.
6756 2005-01-08 Satoru SATOH <ss@gnome.gr.jp>
6758 * configure.ac: Added ja to ALL_LINGUAS.
6760 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
6762 * pdf/xpdf/pdf-document.cc:
6764 add a FIXME. We should probably not allocate
6765 a bookmark object every time
6767 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
6769 * shell/ev-application.c: (ev_application_open),
6770 (ev_application_open_bookmark):
6771 * shell/ev-application.h:
6773 Add a way to open bookmarks
6775 * backend/ev-bookmark.c: (ev_bookmark_get_uri),
6776 (ev_bookmark_set_uri), (ev_bookmark_get_property),
6777 (ev_bookmark_set_property), (ev_bookmark_class_init),
6778 (ev_bookmark_new_title), (ev_bookmark_new_link),
6779 (ev_bookmark_new_external):
6781 Support for external uris, better constructors.
6783 * backend/ev-bookmark.h:
6784 * pdf/xpdf/pdf-document.cc:
6785 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
6787 Handle external uris
6789 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
6791 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb),
6792 (ev_sidebar_bookmarks_construct), (do_one_iteration):
6794 Hook up bookmarks navigation
6796 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
6798 * backend/Makefile.am:
6799 * backend/ev-bookmark.c: (ev_bookmark_type_get_type),
6800 (ev_bookmark_get_title), (ev_bookmark_set_title),
6801 (ev_bookmark_get_bookmark_type), (ev_bookmark_set_bookmark_type),
6802 (ev_bookmark_get_page), (ev_bookmark_set_page),
6803 (ev_bookmark_get_property), (ev_bookmark_set_property),
6804 (ev_window_dispose), (ev_bookmark_init), (ev_bookmark_class_init),
6806 * backend/ev-bookmark.h:
6807 * backend/ev-document-bookmarks.c:
6808 (ev_document_bookmarks_get_bookmark):
6809 * backend/ev-document-bookmarks.h:
6810 * pdf/xpdf/pdf-document.cc:
6811 * shell/ev-sidebar-bookmarks.c: (do_one_iteration):
6813 Add a bookmark object to the backend and use it instead of get_values
6815 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
6817 * data/evince-ui.xml:
6819 Cleanup and add select all.
6821 * shell/ev-view.c: (ev_view_select_all),
6822 (ev_view_button_press_event):
6824 * shell/ev-window.c: (ev_window_cmd_edit_select_all):
6827 Clear selection on click.
6829 Fri Jan 7 01:28:58 2005 Jonathan Blandford <jrb@redhat.com>
6831 * shell/ev-sidebar-thumbnails.c
6832 (ev_sidebar_thumbnails_set_document): forgot to unref the
6835 Fri Jan 7 01:22:48 2005 Jonathan Blandford <jrb@redhat.com>
6837 * shell/ev-sidebar-thumbnails.c: fill in the thumbnails starting
6838 at the visible page, not just linearly. This makes it look fast.
6840 Thu Jan 6 18:48:11 2005 Jonathan Blandford <jrb@redhat.com>
6842 * backend/ev-document-misc.c
6843 (ev_document_misc_get_thumbnail_frame): fill in the thumbnail with
6845 * backend/ev-document-thumbnails.h: New interface to get the size
6848 2005-01-06 Jeremy Katz <katzj@redhat.com>
6850 * shell/Makefile.am (evince_SOURCES): Add ev-utils.[ch] so that
6853 Wed Jan 5 15:38:28 2005 Jonathan Blandford <jrb@redhat.com>
6855 * pdf/xpdf/pdf-document.cc (bitmap_to_pixbuf): bypass
6856 GDKSplashOutputDev and just use a normal SplashOutputDev. Speeds
6859 * shell/ev-sidebar-thumbnail.c: start of some profiling code.
6861 2005-01-05 Martin Kretzschmar <martink@gnome.org>
6863 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): match only outline
6864 fonts. Should fix font problems on systems that have the base
6865 fonts in bitmap format. Reported by James Henstridge
6866 <james@jamesh.id.au>.
6868 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
6871 * pdf/xpdf/GfxState.cc:
6873 Fix for CAN-2004-1125
6875 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
6877 * shell/ev-view.c: (ev_view_copy):
6879 * shell/ev-window.c: (ev_window_cmd_edit_copy):
6881 Implement Edit->Copy
6883 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
6885 * backend/ev-document.c: (ev_document_get_text):
6886 * backend/ev-document.h:
6887 * pdf/xpdf/pdf-document.cc:
6888 * shell/ev-view.c: (ev_view_realize), (expose_bin_window),
6889 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
6890 (ev_view_update_primary_selection), (ev_view_button_press_event),
6891 (ev_view_motion_notify_event), (ev_view_button_release_event):
6893 Beginnings of clipboard support. Incomplete but primary sort
6896 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
6898 * shell/ev-view.c: (ev_gdk_color_to_rgb), (draw_rubberband),
6899 (expose_bin_window):
6901 Nicer rubberband drawing, from GtkIconView.
6903 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
6905 * backend/ev-document.c: (ev_document_save):
6906 * backend/ev-document.h:
6907 * data/evince-ui.xml:
6908 * pdf/xpdf/pdf-document.cc:
6909 * shell/ev-window.c: (save_error_dialog), (ev_window_cmd_save_as):
6911 Implement "Save a copy..." menu item
6913 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
6915 * shell/ev-view.c: (ev_view_zoom):
6917 Queue a resize when zoom changes
6919 Wed Jan 5 02:33:06 2005 Jonathan Blandford <jrb@redhat.com>
6921 * backend/ev-document-misc.[ch]: New misc file to do simple drop
6924 * pdf/xpdf/pdf-document.cc: use the drop shadows in both types of
6927 Tue Jan 4 22:32:32 2005 Jonathan Blandford <jrb@redhat.com>
6929 * pdf/xpdf/pdf-document.cc
6930 (pdf_document_thumbnails_get_page_pixbuf): poor man's dropshadow.
6932 Tue Jan 4 21:25:05 2005 Jonathan Blandford <jrb@redhat.com>
6934 * pdf/xpdf/pdf-document.cc: Do real thumbnailing of PDF files.
6935 It's slow, but I'll speed it up next!
6937 2005-01-04 Jeff Muizelaar <jrmuizel@nit.ca>
6939 * shell/main.c (load_files):
6941 use gnome_vfs_make_uri_from_shell_arg so that relative paths work
6942 from the command line and because it seems more appropriate.
6944 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
6946 * data/evince-ui.xml:
6947 * shell/ev-window.c: (update_action_sensitivity),
6948 (ev_window_cmd_go_page_up), (ev_window_cmd_go_page_down):
6950 s/next page/page down
6951 s/previous page/page up
6953 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
6955 * data/evince-ui.xml:
6957 Change the layout to match clarkbw design.
6959 * shell/Makefile.am:
6960 * shell/ev-navigation-action.c: (build_menu), (menu_activated_cb),
6961 (set_tooltip_cb), (connect_proxy), (ev_navigation_action_init),
6962 (ev_navigation_action_finalize),
6963 (ev_navigation_action_set_property),
6964 (ev_navigation_action_get_property),
6965 (ev_navigation_action_class_init):
6966 * shell/ev-navigation-action.h:
6968 Implement clarkbw toolbar navigation controls (incomplete)
6970 * shell/ev-page-action.c: (update_label), (update_spin),
6971 (value_changed_cb), (create_tool_item), (connect_proxy),
6972 (ev_page_action_init), (ev_page_action_finalize),
6973 (ev_page_action_set_property), (ev_page_action_get_property),
6974 (ev_page_action_set_current_page),
6975 (ev_page_action_set_total_pages), (ev_page_action_class_init):
6976 * shell/ev-page-action.h:
6978 Implement a page switcher in the toolbar
6980 * shell/ev-view.c: (ev_view_scroll_view):
6981 * shell/ev-window.c: (update_total_pages), (ev_window_open),
6982 (update_current_page), (view_page_changed_cb), (goto_page_cb),
6983 (register_custom_actions), (ev_window_init):
6985 Change page on PageUp/Down.
6987 Tue Jan 4 03:22:56 2005 Jonathan Blandford <jrb@redhat.com>
6989 * pdf/xpdf/pdf-document.cc
6990 (pdf_document_thumbnails_get_thumbnail): initial stab at
6991 implementing thumbnail support for pdfs. It only does documents
6992 with precached pdfs now.
6994 Mon Jan 3 17:22:25 2005 Jonathan Blandford <jrb@redhat.com>
6996 * shell/ev-sidebar-thumbnails.c (do_one_iteration): move the
6997 thumbnail code into a time-based idle as well. Also, turn off the
6998 shadow temporarily as it's really slow.
7000 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
7002 * backend/ev-document.c: (ev_document_class_init):
7003 * pdf/xpdf/pdf-document.cc:
7004 * shell/ev-window.c: (ev_window_open):
7006 Fix document title bugs and fallback to
7007 filename when not available.
7009 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
7011 * backend/ev-document.c: (ev_document_get_type),
7012 (ev_document_class_init), (ev_document_load),
7013 (ev_document_get_title):
7014 * backend/ev-document.h:
7015 * pdf/xpdf/pdf-document.cc:
7016 * ps/ps-document.c: (ps_document_set_property),
7017 (ps_document_get_property), (ps_document_class_init),
7021 * shell/ev-window.c: (update_window_title), (ev_window_open),
7024 Initial support for document title. Not working yet.
7026 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
7028 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event):
7030 Grab focus on the view when clicking it
7032 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
7034 * shell/ev-marshal.list:
7035 * shell/ev-view.c: (ev_view_realize), (add_scroll_binding),
7036 (ev_view_scroll_view), (ev_view_class_init), (ev_view_init):
7038 Add key bindings to the view. Now if the focus would work
7041 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
7044 * backend/Makefile.am:
7047 * dvi/dvilib/Makefile.am:
7048 * pdf/xpdf/Makefile.am:
7054 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
7056 * shell/ev-view.c: (ev_view_realize):
7058 Fix mouse wheel scrolling
7060 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
7066 * ps/ps-document.c: (catchPipe), (ps_document_init),
7067 (ps_document_class_init), (ps_document_cleanup),
7068 (ps_document_finalize), (send_ps), (ps_document_get_orientation),
7069 (set_up_page), (close_pipe), (is_interpreter_ready),
7070 (interpreter_failed), (output), (input), (start_interpreter),
7071 (stop_interpreter), (file_length), (file_readable),
7072 (check_filecompressed), (check_pdf), (compute_xdpi),
7073 (compute_ydpi), (compute_size), (ps_document_enable_interpreter),
7074 (ps_document_get_type), (ps_document_emit_error_msg),
7075 (document_load), (ps_document_next_page),
7076 (ps_document_get_current_page), (ps_document_get_page_count),
7077 (ps_document_goto_page), (ps_document_set_page_size),
7078 (ps_document_zoom_to_fit), (ps_document_set_zoom),
7079 (ps_document_load), (ps_document_get_n_pages),
7080 (ps_document_set_page), (ps_document_get_page),
7081 (ps_document_widget_event), (ps_document_set_target),
7082 (ps_document_set_scale), (ps_document_set_page_offset),
7083 (ps_document_get_page_size), (ps_document_render),
7084 (ps_document_document_iface_init):
7087 * shell/ev-window.c: (ev_window_open):
7089 Rename GtkGS to PSDocument
7091 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
7093 * ps/gtkgs.c: (gtk_gs_class_init):
7096 Some more leftover...
7098 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
7100 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_get_orientation),
7101 (output), (stop_interpreter), (gtk_gs_emit_error_msg),
7102 (gtk_gs_zoom_to_fit), (gtk_gs_set_zoom):
7105 Remove unused code and make a lot of stuff private
7107 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
7109 * ps/gsdefaults.c: (gtk_gs_defaults_gconf_client),
7110 (gtk_gs_defaults_changed):
7116 Cleanup headers dependencies
7118 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
7123 * ps/gsdefaults.c: (gtk_gs_defaults_get_paper_sizes):
7125 * ps/gtkgs.c: (file_length), (file_readable),
7126 (check_filecompressed), (check_pdf), (gtk_gs_load),
7127 (gtk_gs_get_postscript):
7131 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
7136 * ps/gtkgs.c: (gtk_gs_set_zoom):
7140 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
7142 * ps/gtkgs.c: (gtk_gs_set_zoom), (gtk_gs_set_zoom_mode):
7144 Ensure the page is rerendered when changing zoom
7146 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
7148 * backend/ev-document.c: (ev_document_base_init),
7149 (ev_document_changed):
7150 * backend/ev-document.h:
7152 Add a changed event that is emitted when the page content
7153 changes. This is necessary to deal with the fact that
7154 in ps backend rendering happen asycrounously.
7155 This makes the ps backend mostly work.
7157 * pdf/xpdf/pdf-document.cc:
7161 * ps/gtkgs.c: (set_up_page), (gtk_gs_widget_event),
7162 (ps_document_set_target):
7166 * shell/ev-view.c: (document_changed_callback),
7167 (ev_view_set_document), (ev_view_set_page):
7169 Redraw on the changed signal
7171 2004-12-25 Raphael Higino <raphaelh@cvs.gnome.org>
7173 * configure.ac: Added pt_BR to ALL_LINGUAS.
7175 Fri Dec 24 00:48:44 2004 Jonathan Blandford <jrb@redhat.com>
7177 * backend/ev-document-bookmarks.c:
7178 (ev_document_bookmarks_get_child): *
7179 backend/ev-document-bookmarks.h: * pdf/xpdf/Makefile.am: *
7180 pdf/xpdf/pdf-document.cc: * pdf/xpdf/pdf-document.h: *
7181 shell/Makefile.am: * shell/ev-sidebar-bookmarks.c:
7182 (ev_sidebar_bookmarks_destroy),
7183 (ev_sidebar_bookmarks_class_init),
7184 (ev_sidebar_bookmarks_construct), (stack_data_free),
7185 (do_one_iteration), (populate_bookmarks_idle),
7186 (ev_sidebar_bookmarks_clear_document),
7187 (ev_sidebar_bookmarks_set_document): *
7188 shell/ev-sidebar-bookmarks.h: * shell/ev-sidebar.c:
7189 (ev_sidebar_add_page),
7190 (ev_sidebar_set_document): * shell/ev-window.c: (ev_window_open):
7191 Initial stab at a bookmarks sidebar. It doesn't navigate yet, but
7192 it displays both the topics and the page numbers.
7194 2004-12-23 Kristian Høgsberg <krh@redhat.com>
7196 * shell/ev-window.c (ev_window_view_sidebar_cb): Hook up sidebar
7198 * shell/ev-window.c (toggle_entries): Set sidebar default value to
7201 2004-12-23 Adam Weinberger <adamw@gnome.org>
7203 * configure.ac: Added en_CA to ALL_LINGUAS.
7205 2004-12-23 Martin Kretzschmar <martink@gnome.org>
7207 * ChangeLog: replace bottom of this ChangeLog (merged history of
7208 ggv and gpdf; where all paths were wrong and most of the files are
7209 not even in this tree) with ChangeLog (from arch) of the shell
7212 2004-12-23 Havoc Pennington <hp@redhat.com>
7214 * shell/ev-window.c: hook up potentially-questionable "find
7215 results status text" feature - something involving the sidebar or
7216 scrollbar or a continuous all-pages-on-giant-roll-of-paper-view
7217 might be better in the end.
7219 * shell/ev-view.c (ev_view_get_find_status_message): new function,
7220 with corresponding signal when it should be updated
7222 * shell/eggfindbar.c (egg_find_bar_set_status_text): new function
7224 2004-12-22 Havoc Pennington <hp@redhat.com>
7226 * pdf/xpdf/pdf-document.cc (pdf_document_find_begin): make search
7227 find stuff on other pages, sort of (only returns one result on
7228 invisible pages, to show they have results; updates full results
7229 for a page when you view it). Currently repaints the current page
7230 every time a new result is found on any page, which isn't so nice.
7232 2004-12-22 Havoc Pennington <hp@redhat.com>
7234 * shell/ev-window.c (ev_window_cmd_edit_find): display an error if
7235 the document doesn't support find (better ideas?)
7236 (find_bar_search_changed_cb): handle missing document or document
7237 that doesn't support find
7239 * pdf/xpdf/pdf-document.cc: port to implement the new
7242 * backend/ev-document-find.c: create a new interface for searching
7244 * backend/ev-document.h, backend/ev-document.c: delete the find stuff
7246 2004-12-23 Martin Kretzschmar <martink@gnome.org>
7248 * pdf/xpdf/Makefile.am (libpdfdocument_la_LIBADD): add
7251 * shell/ev-window.c (ev_window_print): add GnomePrintJob to
7252 EvPrintJob constructor arguments.
7254 * backend/ev-ps-exporter.c, backend/ev-ps-exporter.h: interface
7255 for documents that can export PostScript (page by page).
7257 * backend/Makefile.am (libevbackend_la_SOURCES): add them.
7259 * pdf/xpdf/pdf-document.cc (pdf_document_ps_export_begin)
7260 (pdf_document_ps_export_do_page, pdf_document_ps_export_end)
7261 (pdf_document_ps_exporter_iface_init:
7262 Implement EvPSExporter.
7264 * pdf/xpdf/Makefile.am (libxpdf_la_SOURCES): build PSOutputDev.
7266 2004-12-22 Anders Carlsson <andersca@gnome.org>
7268 * backend/Makefile.am:
7269 * backend/ev-document-thumbnails.c:
7270 (ev_document_thumbnails_get_type),
7271 (ev_document_thumbnails_get_thumbnail):
7272 * backend/ev-document-thumbnails.h:
7273 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
7274 (pixbuf_document_thumbnails_get_thumbnail),
7275 (pixbuf_document_document_thumbnails_iface_init):
7276 * shell/Makefile.am:
7277 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_destroy),
7278 (ev_sidebar_thumbnails_class_init), (ev_sidebar_thumbnails_init),
7279 (populate_thumbnails), (ev_sidebar_thumbnails_set_document):
7280 * shell/ev-sidebar-thumbnails.h:
7281 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
7282 (ev_sidebar_set_document):
7283 * shell/ev-utils.c: (gaussian), (create_blur_filter),
7284 (create_shadow), (ev_pixbuf_add_shadow):
7286 Add thumbnail support.
7288 2004-12-22 Martin Kretzschmar <martink@gnome.org>
7290 * shell/ev-window.c (ev_window_cmd_file_print, ev_window_print)
7291 (using_postscript_printer): Set up a print dialog for "PostScript
7294 * shell/ev-print-job.h, shell/ev-print-job.c: stub classes for
7297 * shell/Makefile.am (evince_SOURCES): add ev-print-job.[ch]
7299 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
7301 * ps/gtkgs.c: (gtk_gs_init), (set_up_page),
7302 (ps_document_set_target), (ps_document_get_page_size),
7303 (ps_document_render):
7308 2004-12-22 Christian Rose <menthos@menthos.com>
7310 * configure.ac: Added "sv" to ALL_LINGUAS.
7312 Wed Dec 22 14:47:38 2004 Jonathan Blandford <jrb@redhat.com>
7314 * backend/ev-document-bookmarks.[ch]: new interface to indicate
7315 document supports bookmarks.
7317 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
7319 * ps/ggvutils.c: (ggv_file_readable):
7321 * ps/gtkgs.c: (check_filecompressed), (check_pdf),
7322 (gtk_gs_get_postscript):
7326 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
7328 * ps/gtkgs.c: (gtk_gs_init), (gtk_gs_class_init), (gtk_gs_cleanup),
7329 (gtk_gs_finalize), (gtk_gs_set_center), (set_up_page), (output),
7330 (start_interpreter), (compute_size), (gtk_gs_enable_interpreter),
7331 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_reload),
7332 (gtk_gs_emit_error_msg), (gtk_gs_disable_interpreter),
7333 (gtk_gs_load), (gtk_gs_goto_page), (gtk_gs_set_page_size),
7334 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
7335 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
7336 (gtk_gs_set_antialiasing), (ps_document_load),
7337 (ps_document_render):
7340 Another check point for the ps backend. Now I can get it to show
7343 Wed Dec 22 13:41:01 2004 Jonathan Blandford <jrb@redhat.com>
7345 * shell/ev-sidebar.c (ev_sidebar_set_document): initial sidebar
7346 document setting code.
7348 2004-12-22 Anders Carlsson <andersca@gnome.org>
7350 * shell/eggfindbar.c: (entry_activate_callback):
7351 Animate the next button when activate is pressed.
7353 2004-12-22 Anders Carlsson <andersca@gnome.org>
7355 * shell/ev-window.c: (ev_window_cmd_edit_find),
7356 (update_fullscreen_popup), (ev_window_fullscreen),
7357 (ev_window_unfullscreen), (ev_window_state_event_cb),
7358 (ev_window_focus_out_cb), (find_bar_close_cb), (ev_window_init):
7359 Fix bugs in fullscreen code.
7361 2004-12-22 Anders Carlsson <andersca@gnome.org>
7365 * pixbuf/Makefile.am:
7366 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
7367 (pixbuf_document_load), (pixbuf_document_get_n_pages),
7368 (pixbuf_document_set_page), (pixbuf_document_get_page),
7369 (pixbuf_document_set_target), (pixbuf_document_set_scale),
7370 (pixbuf_document_set_page_offset), (pixbuf_document_get_page_size),
7371 (pixbuf_document_render), (pixbuf_document_begin_find),
7372 (pixbuf_document_end_find), (pixbuf_document_finalize),
7373 (pixbuf_document_class_init),
7374 (pixbuf_document_document_iface_init), (pixbuf_document_init):
7375 * pixbuf/pixbuf-document.h:
7376 * shell/Makefile.am:
7377 * shell/ev-application.c: (ev_application_open):
7378 * shell/ev-window.c: (mime_type_supported_by_gdk_pixbuf),
7382 Tue Dec 21 21:45:43 2004 Soeren Sandmann <sandmann@redhat.com>
7385 * dvi/dvilib/Makefile.am:
7387 * configure.ac: Auto*ify dvi and dvi/dvilib
7389 * dvi/Makefile: Remove from CVS
7391 * dvi/dvilib/dl-pkfont.cc (unpack_bitmap): Fix uchar/uint
7394 * dvi/dvilib/dl-fontdefinition.{cc,hh}: New DviFontMap class
7396 * dvi/dvilib/dl-vffont.{cc,hh}: Many bugfixes to VF code.
7398 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
7401 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_finalize),
7402 (gtk_gs_value_adjustment_changed), (compute_size),
7403 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_new_from_file),
7404 (gtk_gs_center_page), (gtk_gs_load), (gtk_gs_set_page_size),
7405 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
7406 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
7407 (gtk_gs_start_scroll), (gtk_gs_get_postscript),
7408 (gtk_gs_set_adjustments), (gtk_gs_set_available_size),
7409 (ps_document_load), (ps_document_get_n_pages),
7410 (ps_document_set_page), (ps_document_get_page),
7411 (ps_document_set_target), (ps_document_set_scale),
7412 (ps_document_set_page_offset), (ps_document_get_page_size),
7413 (ps_document_render), (ps_document_begin_find),
7414 (ps_document_end_find), (ps_document_document_iface_init):
7416 * shell/Makefile.am:
7417 * shell/ev-window.c: (ev_window_open):
7419 Some work to integrate gtkgs with EvDocument
7421 2004-12-22 Anders Carlsson <andersca@gnome.org>
7423 * shell/ev-window.c: (update_fullscreen_popup),
7424 (screen_size_changed_cb), (destroy_exit_fullscreen_popup),
7425 (exit_fullscreen_button_clicked_cb),
7426 (fullscreen_popup_size_request_cb), (ev_window_fullscreen),
7427 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
7428 (ev_window_state_event_cb), (ev_window_init):
7429 Add fullscreen support from Epiphany.
7431 2004-12-22 Mark McLoughlin <mark@skynet.ie>
7433 * data/ev-stock-zoom-fit-width.png: fit-width
7434 stock icon from gpdf.
7436 * shell/ev-stock-icons.[ch]: copied from gpdf.
7438 * shell/main.c: (main): init stock icons.
7440 * shell/ev-window.c: use the fit-width icon.
7442 * data/evince-ui.xml: add zooming toolbar items.
7444 2004-12-22 Mark McLoughlin <mark@skynet.ie>
7447 (ev_view_best_fit), (ev_view_fit_width): because
7448 get_page_size() returns the scaled page size, we
7449 need to calculate the scale factor relative to
7450 the previous scale factor. Should really just
7451 add get_real_page_size().
7453 2004-12-22 Mark McLoughlin <mark@skynet.ie>
7455 * shell/ev-view.[ch]:
7456 (ev_view_zoom), (ev_view_zoom_in), (ev_view_zoom_out),
7457 (ev_view_normal_size), (ev_view_best_fit), (ev_view_fit_width):
7460 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
7461 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_normal_size),
7462 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width):
7465 * pdf/xpdf/pdf-document.cc:
7466 (pdf_document_begin_find),
7467 (pdf_document_end_find): make static.
7469 2004-12-22 Martin Kretzschmar <martink@gnome.org>
7471 * pdf/xpdf/GlobalParams.h (setupBaseFontsFc): add prototype.
7473 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): maps base font
7474 names to fontconfig patterns.
7475 (setupBaseFontsFc): setupBaseFonts reimplemented using fontconfig.
7477 * pdf/xpdf/pdf-document.cc (pdf_document_load): use
7480 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
7496 Import ggv backend. Not hooked up yet.
7498 2004-12-22 Mark McLoughlin <mark@skynet.ie>
7500 * shell/main.c: (load_files), (main): load files
7501 from the command line.
7503 2004-12-22 Mark McLoughlin <mark@skynet.ie>
7505 * configure.ac: don't require bonobo.
7507 * cut-n-paste/recent-files/*: kill bonobo recent
7510 * shell/ev-window.c:
7511 (ev_window_is_empty): upd.
7512 (unable_to_load), (ev_window_open): load backend
7513 based on the mime type.
7515 2004-12-22 Martin Kretzschmar <martink@gnome.org>
7517 * backend/.cvsignore: ignore generated marshalers source.
7519 * shell/main.c (main): this is not epiphany.
7521 2004-12-22 Havoc Pennington <hp@redhat.com>
7523 * shell/ev-view.c (ev_view_set_document): connect to "found" signal
7524 (expose_bin_window): draw find highlights
7526 * shell/ev-window.c (find_bar_search_changed_cb): implement
7528 * pdf/xpdf/pdf-document.cc (pdf_document_begin_find)
7529 (pdf_document_end_find): implement this interface
7531 * backend/ev-document.c (ev_document_found): add this to emit
7534 Tue Dec 21 23:57:37 2004 Owen Taylor <otaylor@redhat.com>
7536 * data/evince-ui.xml: Add a few more toolbar items.
7538 * shell/ev-window.c: Hook up page navigation toolbar
7541 * shell/ev-view.[ch]: add ev_view_set/get_page and
7542 a page-changed signal.
7544 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc::
7545 Add ev_document_get_page().
7547 * shell/ev-window.c: Sensitize/desensitize navigation
7550 2004-12-21 Havoc Pennington <hp@redhat.com>
7552 * backend/ev-backend-marshal.c,
7553 backend/ev-backend-marshalers.list, backend/Makefile.am: add
7554 marshaler-generator thingy. I'm sure there's a better way to do
7555 this in the modern world.
7557 * backend/ev-document.h (struct _EvDocumentIface): add begin_find,
7558 end_find methods and "found" signal.
7560 * configure.ac: find glib-genmarshal
7562 Tue Dec 21 23:20:35 2004 Jonathan Blandford <jrb@redhat.com>
7564 * shell/ev-sidebar.c: Construct an actual sidebar.
7565 * shell/ev-sidebar-bookmarks.[ch]:
7566 * shell/ev-sidebar-thumbnails.[ch]: Stub out sidebars.
7568 Tue Dec 21 23:05:51 2004 Owen Taylor <otaylor@redhat.com>
7570 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc:
7573 * shell/ev-view.c: Track the size from the document.
7575 Tue Dec 21 22:17:04 2004 Owen Taylor <otaylor@redhat.com>
7577 * pdf/xpdf/pdf-document.cc (pdf_document_load): PDFDoc
7578 constructor assumes ownership of the string passed in.
7580 * shell/ev-window.c (ev_window_open): Destroy the error
7581 dialog once we've displayed it.
7583 Tue Dec 21 21:58:56 2004 Owen Taylor <otaylor@redhat.com>
7585 * pdf/xpdf/pdf-document.cc shell/ev-view.c: Hook things up
7586 a bit, it works! (sort of)
7588 * pdf/xpdf/Makefile.am pdf/xpdf/pdf-document.cc:
7589 Move to .cc since we need to use C++ in the implementation.
7591 * shell/dummy.cc: Add a CC file to force evince
7592 to be linked as a C++ program.
7594 Tue Dec 21 21:07:55 2004 Owen Taylor <otaylor@redhat.com>
7596 * shell/ev-view.[ch]: Start of content-area widget.
7598 * shell/ev-window.c: Create a EvView, update it
7599 as we change documents.
7601 * shell/Makefile.am shell/ev-marshal.list: Add
7602 generated marshalers.
7604 Tue Dec 21 20:28:11 2004 Jonathan Blandford <jrb@redhat.com>
7606 * Makefile.am (SUBDIRS): move shell.
7608 Tue Dec 21 19:28:55 2004 Owen Taylor <otaylor@redhat.com>
7610 * pdf/{goo,fofi,splash,xpdf}/Makefile.am: Switch from
7611 .a to libtool convenience libraries.
7613 * shell/ev-window.c (ev_window_open): Hard code loading
7616 * backend/ev-document.h: Add a boolean return to load(),
7617 fix GError * to GError **.
7619 * pdf/xpdf/pdf-document.[ch] Makefile.am: Add a stub
7620 object for a PDF backend EvDocument.
7622 Tue Dec 21 18:55:06 2004 Søren Sandmann <sandmann@redhat.com>
7624 * dvi/*: New directory with the beginning of a .dvi backend.
7626 2004-12-21 Havoc Pennington <hp@redhat.com>
7628 * shell/eggfindbar.c (egg_find_bar_init): change buttons to
7629 previous/next instead of back/forward
7631 Tue Dec 21 18:26:24 2004 Owen Taylor <otaylor@redhat.com>
7633 * backend/ev-document.[ch]: Fix a couple of problems so
7636 Tue Dec 21 18:20:40 2004 Owen Taylor <otaylor@redhat.com>
7638 * viewer/* backend/* configure.ac Makefile.am: Move viewer directory
7639 to backend/ directory, rename EvViewer to EvDocument.
7641 2004-12-21 Havoc Pennington <hp@redhat.com>
7643 * shell/ev-window.c: hook up the find bar widget; now we just need
7644 a document to find things in
7646 * shell/eggfindbar.c: a find bar widget
7648 Tue Dec 21 17:20:16 2004 Jonathan Blandford <jrb@redhat.com>
7650 * shell/ev-sidebar.[ch]: initial sidebar boilerplate.
7652 Tue Dec 21 16:30:58 2004 Owen Taylor <otaylor@redhat.com>
7654 * pdf/**: Import of xpdf code from gpdf.
7656 * pdf/xpdf/xpdfconfig.h: Move the non-config.h config.h to xpdfconfig.h
7658 * pdf/splash/SplashFTFont.{cc,h} pdf/splash/SplashFTFont.h
7659 pdf/splash/SplashFTFontEngine.h pdf/splash/SplashFTFontFile.h:
7660 Fix FreeType includes.
7662 * pdf/xpdf/{Error.h GnomeVFSStream.cc ImageOutputDev.cc PDFDoc.cc\
7663 pdffonts.cc pdfimages.cc pdfinfo.cc pdftoppm.cc pdftops.cc
7664 pdftotext.cc PSOutputDev.cc PSOutputDev.h SplashOutputDev.h
7665 Stream.cc TextOutputDev.cc XPDFApp.cc xpdf.cc XPDFViewer.cc
7666 pdf/xpdf/Error.h PSOutputDev.h SplashOutputDev.h}:
7667 Include xpdfconfig.h
7669 Tue Dec 21 16:08:17 2004 Jonathan Blandford <jrb@redhat.com>
7671 * shell/ev-window.c (ev_window_dispose): dispose can be called
7674 2004-12-21 Havoc Pennington <hp@redhat.com>
7676 * shell/ev-window.c (ev_window_init): set title to Document Viewer
7679 * data/evince-ui.xml, shell/ev-window.c: add a bunch of stub menu
7680 items; really they should be synced with the strings, etc. from
7681 current gpdf, but just getting the boring typing out of the way
7683 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
7686 * shell/ev-application.c: (window_destroy_cb):
7687 * shell/ev-window.c:
7688 * shell/main.c: (main):
7690 Actually show the window...
7692 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
7695 * shell/Makefile.am:
7696 * shell/ev-application.c: (ev_application_class_init):
7697 * shell/ev-window.c: (ev_window_dispose), (ev_window_class_init):
7701 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
7703 Import to gnome cvs.
7705 * Remove copies of gpdf and ggv trees.
7706 * Rip out all the recursive configure code.
7707 * Remove bonobo machinery.
7708 * viewer/*: GInterfaces that backends should/can implement.
7710 2004-11-09 Martin Kretzschmar <m_kretzschmar@gmx.net>
7712 * shell/ev-window.c (ev_window_cmd_help_about): fix "documentors"
7715 2004-10-28 Martin Kretzschmar <m_kretzschmar@gmx.net>
7717 * shell/ev-application.c (EV_APPLICATION_GET_PRIVATE)
7718 (ev_application_finalize, ev_application_class_init)
7719 (ev_application_init): use GType instance private data for priv.
7721 * shell/ev-window.c (EV_WINDOW_GET_PRIVATE)
7722 (ev_window_finalize, ev_window_class_init)
7723 (ev_window_init): ditto.
7725 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
7727 * shell/ev-application.c (ev_application_new_window): make public
7728 (ev_application_show_initial_window): kill.
7730 * shell/ev-application.h: update prototypes.
7732 * shell/main.cc (main): inline ev_application_show_initial_window.
7734 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
7736 * shell/ev-application.c (ev_application_new_window): impl.
7737 (ev_application_show_initial_window): use it.
7738 (is_window_empty, ev_application_get_empty_window): returns an
7739 existing empty window or a new one.
7740 (ev_application_open): from ev_window_cmd_file_open.
7742 * shell/ev-application.h: update prototypes
7744 * shell/ev-window.c (ev_window_is_empty): impl.
7745 (ev_window_open): make public.
7746 (ev_window_cmd_file_open): use ev_application_open
7748 * shell/ev-window.h: update prototypes, remove unused.
7750 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
7752 * shell/ev-window.c (ev_window_destroy, ev_window_class_init):
7753 move destroy handler out of here...
7755 * shell/ev-application.c, shell/ev-application.h: ...into this new
7756 class. Also handles initial window creation.
7758 * shell/main.cc (main): use EvApplication to create initial
7761 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
7763 * Makefile.am (SUBDIRS): add cut-n-paste
7765 * cut-n-paste/Makefile.am: add
7767 * configure.ac: generate Makefiles in cut-n-paste
7769 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
7771 * shell/ev-window.c (ev_window_dispose): new, unref the ui_manager
7772 (ev_window_class_init): install ev_window_dispose.
7774 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
7776 * shell/ev-window.h, shell/ev-window.c: replace gchar with
7777 char (gchar looks stupid).
7779 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
7781 * po/de.po: updated German translation.
7783 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
7785 * configure.ac: add more pkg-config library checks for gnome-vfs,
7788 * gpdf/configure.in: temporarily disable libpaper
7789 checks. Otherwise I'd have to add the checks for the shell, too.
7791 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7793 * shell/ev-window.c (ev_window_cmd_file_open): add ps+pdf, ps, pdf
7794 and * file filters to the file choose.
7796 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7798 * po/de.po: Updated German translation.
7800 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7802 * shell/ev-window.c: use "S" as mnemonic for Statusbar.
7804 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7806 * data/evince-ui.xml: add View->Toolbar and View->Statusbar.
7808 * shell/ev-window.c (menu_item_select_cb, menu_item_select_cb)
7809 (ev_window_init): implement those menuitems.
7811 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7813 * data/evince-ui.xml: add a toolbar (with FileOpen action)
7815 * shell/ev-window.c (ev_window_init): use the toolbar.
7817 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7819 * shell/ev-window.c (ev_window_init): use menu translations
7821 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7823 * configure.ac: add "de" to ALL_LINGUAS.
7825 * po/de.po: add German translation.
7827 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7829 * Makefile.am (SUBDIRS): add po
7831 * configure.ac: check intltool, glib-gettext etc, generate
7834 * po, po/POTFILES.in, po/POTFILES.skip: new.
7836 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7838 * shell/Makefile.am (INCLUDES): define GNOMELOCALEDIR which we
7839 already use (#ifdef ENABLE_NLS)
7841 * shell/ev-window.c (ev_window_cmd_help_about): fix two star
7842 pointer indirection thinko.
7844 * shell/main.c: include gi18n.h for bindtextdomain etc.
7846 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7848 * shell/ev-window.c (menu_item_select_cb, menu_item_deselect_cb)
7849 (connect_proxy_cb, disconnect_proxy_cb, ev_window_init): show
7850 tooltips for menu items in the statusbar.
7852 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7854 * configure.ac, data/Makefile.am, shell/Makefile.am: use
7855 pkgdatadir drop UIDIR
7857 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7859 * data/evince-ui.xml: Add File->Open menu item
7861 * shell/ev-window.c (ev_window_cmd_file_open): impl. (shows a file
7862 chooser), hook it up in the ui manager.
7864 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7866 * shell/ev-window.c: fix Help->About tooltip.
7868 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7870 * configure.ac: set CFLAGS for libevprivate.
7872 * lib/ev-stock-icons.h, lib/ev-stock-icons.c: stock icon
7873 definitions, factory etc.
7875 * lib/Makefile.am: build libevprivate.a (only stock icon code).
7877 * shell/Makefile.am: link against libevprivate.a.
7879 * shell/ev-window.c (entries): add stock icon to Help->About.
7881 * shell/main.c (main): init stock icon code.
7883 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7885 * lib/recent-files: egg recent files code
7887 * lib/Makefile.am: add.
7889 * Makefile.am: add lib subdir.
7891 * configure.ac: gen. lib/Makefile and lib/recent-files/Makefile,
7892 set CFLAGS for recent-files.
7894 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7896 * configure.ac: disable -ansi and -pedantic gcc flags. They
7897 disable POSIX stuff in stdio.h, but egg-recent uses them.
7899 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7901 * configure.ac: add --disable-deprecated flag (defaults to on in
7904 * shell/Makefile.am (INCLUDES): use it.
7906 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7908 * shell/main.c: add missing #include.
7910 * shell/ev-window.c: fix for pedantic gcc.
7911 (ev_window_cmd_help_about): split license into paragraphs for
7912 translators and pedantic compilers.
7914 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7916 * configure.ac: add more warning flags if compiling with gcc from
7917 cvs (or explicitly requested with --enable-more-warnings).
7919 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7921 * data/evince-ui.xml: add File and File->Close menu.
7923 * shell/ev-window.c (ev_window_cmd_file_close_window): impl.
7924 (ev_window_destroy): quit after destroy.
7925 (ev_window_class_init): override GtkObject::destroy.
7926 (entries): install close_window callback.
7928 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7930 * Makefile.am (SUBDIRS): add data subdir.
7932 * configure.ac (UIDIR): gen data/Makefile, define UIDIR. Require
7933 gtk+ 2.5.0 for GtkAboutDialog.
7935 * data/Makefile.am, data/evince-ui.xml: add, ui definition for the
7938 * shell/Makefile.am (INCLUDES): propagate UIDIR definition.
7940 * shell/ev-window.c (ev_window_init): create a menubar, using a ui
7942 (ev_window_cmd_help_about): about command, using GtkAboutDialog.
7944 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7946 * shell/ev-window.c, shell/ev-window.h: Created an EvWindow class.
7948 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
7950 * shell/main.c: make it a trivial gtk+ program, adjust configure.ac
7952 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
7954 * shell/*: Added shell directory boilerplate, build it.
7956 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
7958 * configure.ac, Makefile.am: Added top-level configure.ac and