1 2005-12-29 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3 * shell/ev-window.c: (setup_view_from_metadata):
5 Remember if last window was maximized. Fix for the
8 2005-12-28 Abel Cheung <maddog@linuxhall.org>
10 * configure.ac: Added "zh_HK" to ALL_LINGUAS.
12 2005-12-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
14 * backend/ev-link.c: (ev_link_get_page), (ev_link_init):
15 * shell/ev-page-action.c: (build_new_tree_cb):
16 * shell/ev-sidebar-links.c: (links_page_num_func),
17 (update_page_callback_foreach), (update_page_callback):
18 * shell/ev-view.c: (scroll_to_current_page):
20 Fix for the bug #325067 with more intelligent selection
21 of current link in sidebar. Make sidebar handle links
22 of FITR-like type more correctly.
24 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
25 (dvi_pixbuf_put_pixel):
27 Fix memory consumtion with disabled alpha channel.
29 2005-12-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
32 * shell/ev-window.c: (view_menu_popup_cb),
33 (ev_popup_cmd_open_link), (ev_window_init):
35 Update context menu for internal links. Fix for the bug
38 2005-12-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
40 * shell/ev-view.c: (ev_view_popup_menu), (ev_view_class_init):
42 Bind context menu to keyboard also. Fix for the bug
45 2005-12-27 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
47 * shell/ev-view.c: (selection_scroll_timeout_cb):
49 Horizontal scroll on selection also.
51 2005-12-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
53 * shell/ev-metadata-manager.c: (parse_value):
54 * shell/ev-view.c: (goto_xyz_link):
56 Correct zoom setup and metadata save broken in
59 2005-12-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
61 * shell/ev-view-private.h:
62 * shell/ev-view.c: (scroll_to_current_page),
63 (view_set_adjustment_values), (goto_fitr_link), (goto_fitv_link),
64 (goto_fith_link), (goto_fit_link), (goto_xyz_link),
65 (page_changed_cb), (ev_view_set_continuous),
66 (ev_view_set_dual_page), (ev_view_set_presentation):
68 Delay scroll until allocation to correctly position page. Fix
71 2005-12-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
76 Update NEWS and require poppler 0.5.0.
78 2005-12-25 Carlos Garcia Campos <carlosgc@gnome.org>
81 * shell/ev-view-private.h:
82 * shell/ev-view.c: (ev_view_get_link_at_location),
83 (handle_link_over_xy), (ev_view_button_press_event),
84 (ev_view_button_release_event), (ev_view_class_init):
85 * shell/ev-window.c: (view_menu_popup_cb), (ev_window_dispose),
86 (ev_popup_cmd_open_link), (ev_popup_cmd_copy_link_address),
89 Implement right-click context menu.
91 2005-12-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
93 * djvu/djvu-document.c: (djvu_document_thumbnails_get_thumbnail):
94 * dvi/pixbuf-device.c: (dvi_pixbuf_create_image),
95 (mdvi_pixbuf_device_render):
98 Don't generate thumbnails with alpha. See bug #324077.
99 Thanks to Jeroen Zwartepoorte <jeroen.zwartepoorte@gmail.com>.
101 2005-12-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
103 * shell/ev-window.c: (setup_chrome_from_metadata):
105 Fix typo that was hiding toolbar.
107 2005-12-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
109 * shell/ev-view-private.h:
110 * shell/ev-view.c: (ev_view_realize), (selection_update_idle_cb),
111 (selection_scroll_timeout_cb), (ev_view_motion_notify_event),
112 (ev_view_button_release_event), (ev_view_destroy):
114 Small cleanup and autoscrolling during selection. Thanks to
115 Ricardo Markiewicz <rmarkie@fi.uba.ar>.
117 2005-12-22 Jani Monoses <jani.monoses@gmail.com>
121 Correctly check for comics option.
123 2005-12-21 Eduardo Lima <eduardo.lima@indt.org.br>
126 * backend/Makefile.am:
127 * backend/ev-document-factory.c:
128 * shell/ev-document-types.c:
130 Included option in configure to make ps backend
131 compilation optional with --disable-ps.
133 2005-12-20 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
135 * backend/ev-document-factory.c:
136 * comics/Makefile.am:
137 * comics/comics-document.c: (comics_document_load):
138 * comics/ev-cbr-mime.xml:
141 Comics mime types are added to shared-mime-info CVS. Now
142 we don't need to install our own mime types.
144 2005-12-20 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
148 Add shortcut for "save a copy" menu entry. Fix for
151 2005-12-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
153 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info),
154 (job_finished_cb), (new_selection_pixbuf_needed),
155 (ev_pixbuf_cache_get_selection_pixbuf), (update_job_selection),
156 (clear_job_selection), (ev_pixbuf_cache_set_selection_list):
158 Rework selection job info logic and fix critical warning.
160 2005-12-17 Abel Cheung <maddog@linuxhall.org>
162 * configure.ac: Added "cy" "fa" "mk" "vi" to ALL_LINGUAS.
164 2005-11-27 Jaap A. Haitsma <jaap@haitsma.org>
166 * data/evince-ui.xml:
167 * shell/ev-window.c: (ev_window_set_view_accels_sensitivity):
169 Enter as shortcut key for next page. Fix for the bug
172 2005-11-18 Ales Nyakhaychyk <nab@mail.by>
174 * configure.ac: Added "be" (Belarusian) to ALL_LINGUAS.
176 2005-11-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
178 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info),
179 (job_finished_cb), (copy_job_to_job_info), (add_job_if_needed),
180 (new_selection_pixbuf_needed),
181 (ev_pixbuf_cache_get_selection_pixbuf), (update_job_selection),
182 (clear_job_selection):
184 Too early for 0.5. Pixbuf cache code cleaned a bit.
186 2005-11-14 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
191 Release 0.5.0 preparation
193 2005-11-14 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
195 * comics/Makefile.am:
197 * shell/ev-document-types.c: (ev_document_types_add_filters):
199 More advanced handling of custom mime type installation.
201 2005-11-14 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
203 * data/evince.schemas.in:
204 * shell/ev-metadata-manager.c: (value_free),
205 (ev_metadata_manager_get_last), (ev_metadata_manager_set_last),
206 (ev_metadata_manager_get), (ev_metadata_manager_set):
207 * shell/ev-metadata-manager.h:
208 * shell/ev-window.c: (update_chrome_flag),
209 (ev_window_cmd_focus_page_selector), (update_sidebar_visibility),
210 (setup_document_from_metadata), (setup_chrome_from_metadata),
211 (setup_sidebar_from_metadata), (setup_view_from_metadata),
212 (ev_window_cmd_edit_find), (ev_window_cmd_escape),
213 (ev_window_view_toolbar_cb),
214 (ev_window_sidebar_visibility_changed_cb), (find_bar_close_cb),
215 (view_actions_focus_in_cb), (ev_window_init), (ev_window_new):
217 Save last document settings and reuse them for new documents.
219 2005-11-14 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
222 * backend/Makefile.am:
223 * backend/ev-document-factory.c:
224 * backend/ev-document-factory.h:
225 * comics/Makefile.am:
226 * comics/comics-document.c: (G_DEFINE_TYPE_WITH_CODE),
227 (comics_document_load), (comics_document_save),
228 (comics_document_get_n_pages), (comics_document_get_page_size),
229 (get_page_size_area_prepared_cb), (comics_document_render_pixbuf) (render_pixbuf_size_prepared_cb), (comics_document_finalize),
230 (comics_document_class_init), (comics_document_can_get_text),
231 (comics_document_get_info), (comics_document_document_iface_init),
232 (comics_document_init), (get_supported_image_extensions),
233 (comics_document_thumbnails_get_geometry),
234 (comics_document_thumbnails_get_thumbnail),
235 (comics_document_thumbnails_get_dimensions),
236 (comics_document_document_thumbnails_iface_init), (extract_argv):
237 * comics/comics-document.h:
238 * comics/ev-cbr-mime.xml:
241 * shell/ev-application.c: (ev_application_register_service):
242 * shell/ev-document-types.c: (ev_document_types_add_filters):
243 * thumbnailer/Makefile.am:
244 * thumbnailer/evince-thumbnailer-comics.schemas.in:
246 New CBR/CBZ backend for comic books.
248 2005-11-10 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
250 * shell/main.c: (load_files_remote):
252 Thanks to Robert McQueen <robot101@debian.org>. Dbus
253 warning on startup of second instance is fixed. It
256 2005-10-30 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
258 * shell/ev-window.c: (ev_window_finalize):
260 Fix double free that cause crash.
262 2005-10-29 Bastien Nocera <hadess@hadess.net>
264 * tiff/tiff-document.c: (tiff_document_load):
268 2005-10-29 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
272 * shell/ev-view-accessible.c: (ev_view_accessible_get_priv),
273 (ev_view_accessible_free_priv), (ev_view_accessible_class_init),
274 (ev_view_accessible_get_text),
275 (ev_view_accessible_get_character_at_offset),
276 (ev_view_accessible_get_text_before_offset),
277 (ev_view_accessible_get_text_at_offset),
278 (ev_view_accessible_get_text_after_offset),
279 (ev_view_accessible_get_character_count),
280 (ev_view_accessible_get_caret_offset),
281 (ev_view_accessible_set_caret_offset),
282 (ev_view_accessible_get_run_attributes),
283 (ev_view_accessible_get_default_attributes),
284 (ev_view_accessible_get_character_extents),
285 (ev_view_accessible_get_offset_at_point),
286 (ev_view_accessible_get_n_selections),
287 (ev_view_accessible_get_selection),
288 (ev_view_accessible_add_selection),
289 (ev_view_accessible_remove_selection),
290 (ev_view_accessible_set_selection),
291 (ev_view_accessible_text_iface_init),
292 (ev_view_accessible_idle_do_action),
293 (ev_view_accessible_action_do_action),
294 (ev_view_accessible_action_get_n_actions),
295 (ev_view_accessible_action_get_description),
296 (ev_view_accessible_action_get_name),
297 (ev_view_accessible_action_set_description),
298 (ev_view_accessible_action_iface_init),
299 (ev_view_accessible_get_type), (ev_view_accessible_new),
300 (ev_view_accessible_factory_get_accessible_type),
301 (ev_view_accessible_factory_create_accessible),
302 (ev_view_accessible_factory_class_init),
303 (ev_view_accessible_factory_get_type):
304 * shell/ev-view-accessible.h:
305 * shell/ev-view-private.h:
306 * shell/ev-view.c: (ev_view_get_accessible), (ev_view_class_init):
309 Initial accessibility support.
311 2005-10-27 Erdal Ronahi <erdal.ronahi@gmail.com>
313 * configure.ac: Added ku (Kurdish) to ALL_LINGUAS
315 2005-10-26 Hubert Figuiere <hfiguiere@teaser.fr>
317 * shell/ev-print-job.c: (idle_print_handler):
319 Fix for bug Bug 318916: Printing multiple pages.
321 2005-10-20 Runa Bhattacharjee <runa@bengalinux.org>
323 * configure.ac: Added "bn" (Bengali) to ALL_LINGUAS.
325 2005-10-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
329 Thumnail dimensions unified with other backends.
331 * shell/ev-window-title.c: (ev_window_title_update):
335 2005-10-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
337 * data/ev-stock-zoom-fit-width.png:
341 2005-10-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
344 * djvu/djvu-document.c: (djvu_document_load), (djvu_document_save),
345 (djvu_document_finalize):
346 * dvi/dvi-document.c: (dvi_document_load), (dvi_document_save),
347 (dvi_document_finalize):
348 * pixbuf/pixbuf-document.c: (pixbuf_document_load),
349 (pixbuf_document_save), (pixbuf_document_finalize):
350 * tiff/tiff-document.c: (tiff_document_load), (tiff_document_save),
351 (tiff_document_finalize):
353 Save a copy implemented for various backends.
355 2005-10-17 Daniel Gryniewicz <dang@gentoo.org>
359 Don't link with ltiff if tiff is disabled.
361 2005-10-14 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
363 * pdf/GDKSplashOutputDev.cc:
364 * pdf/GDKSplashOutputDev.h:
367 * pdf/pdf-document.cc:
368 * pdf/pdf-document.h:
369 * pdf/test-gdk-output-dev.cc:
371 Remove old unused files.
373 2005-10-12 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
375 * shell/ev-window.c: (ev_window_setup_document):
377 Fixed warnings on reload and probably crash reason.
379 2005-10-12 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
381 * properties/ev-properties-view.c:
382 (ev_properties_view_format_date):
384 Check if date is invalid. Fix for bug 318134.
386 2005-10-02 Wouter Bolsterlee <uws+gnome@xs4all.nl>
388 * shell/ev-window-title.c:
390 Add .indd files (Adobe Indesign) to the list of "bad
393 2005-10-02 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
395 * data/evince-ui.xml:
396 * shell/ev-window.c: (ev_window_set_view_accels_sensitivity):
398 Add <ctrl>KP_Add and <ctrl>KP_Substract bindings.
400 2005-09-27 Christian Persch <chpe@cvs.gnome.org>
402 * shell/ev-window.c: (launch_link), (launch_external_uri),
403 (view_external_link_cb):
405 URL-escape link before passing it to gnome_vfs_url_show.
407 2005-09-27 Carlos Garcia Campos <carlosgc@gnome.org>
409 * shell/ev-view.[ch], shell/ev-window.c: Disable copy action when
410 there isn't text selected.
412 2005-09-27 Marco Pesenti Gritti <mpg@redhat.com>
414 * shell/ev-view.c: (handle_link_over_xy):
416 Check tooltip is valid utf8 before showing it
418 2005-09-27 Carlos Garcia Campos <carlosgc@gnome.org>
420 * shell/ev-view.c: Allow drag and drop of text. Fixes #316772
422 2005-09-27 Christian Persch <chpe@cvs.gnome.org>
424 * shell/ev-window-title.c: (ev_window_title_update):
426 Guard against using g_strstrip on NULL. Fixes bug #317291.
428 2005-09-26 Marco Pesenti Gritti <mpg@redhat.com>
432 Show title even for unknown links
434 2005-09-26 Marco Pesenti Gritti <mpg@redhat.com>
436 * shell/ev-window-title.c: (ev_window_title_update):
438 Strip the title string
440 2005-09-26 Marco Pesenti Gritti <mpg@redhat.com>
442 * shell/ev-window-title.c:
444 Add .rtf to the bad extensions list
446 2005-09-26 Marco Pesenti Gritti <mpg@redhat.com>
448 * shell/ev-view.c: (doc_point_to_view_point), (goto_fitr_link),
449 (goto_fitv_link), (goto_fith_link), (goto_xyz_link):
451 Ignore link coordinates if they are outside page bounds
453 2005-09-26 Marco Pesenti Gritti <mpg@redhat.com>
455 * backend/ev-link.c: (ev_link_type_get_type),
456 (ev_link_get_filename), (ev_link_get_params),
457 (ev_link_get_property), (ev_link_set_property),
458 (ev_window_dispose), (ev_link_class_init), (ev_link_new_launch):
461 * shell/ev-view.c: (ev_view_goto_link), (ev_view_class_init):
462 * shell/ev-window.c: (launch_link), (view_external_link_cb),
465 Implement launch links. Delegate external link opening to
468 2005-09-24 Marco Pesenti Gritti <mpg@redhat.com>
470 * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_bottom),
471 (ev_link_get_right), (ev_link_get_property),
472 (ev_link_set_property), (ev_link_class_init),
473 (ev_link_new_page_fitv), (ev_link_new_page_fitr):
476 * shell/ev-view.c: (goto_fitr_link), (ev_view_goto_link):
480 2005-09-24 Marco Pesenti Gritti <mpg@redhat.com>
482 * shell/ev-view.c: (ev_view_get_width), (ev_view_get_height),
483 (goto_fitv_link), (goto_fith_link), (goto_fit_link),
484 (ev_view_goto_link), (ev_view_size_request_continuous_dual_page),
485 (ev_view_size_request_continuous),
486 (ev_view_size_request_dual_page),
487 (ev_view_size_request_single_page), (ev_view_size_allocate),
488 (ev_view_zoom_for_size_continuous_and_dual_page),
489 (ev_view_zoom_for_size_continuous),
490 (ev_view_zoom_for_size_dual_page),
491 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
492 (ev_sizing_mode_get_type):
494 * shell/ev-window.c: (ev_window_sizing_mode_changed_cb):
496 Do not use modes for link, we need to calculate size ad hoc.
497 Still not perfect because of the usual scrollbar issues grrr.
499 2005-09-24 Marco Pesenti Gritti <mpg@redhat.com>
501 * backend/ev-link.c: (ev_link_type_get_type),
502 (ev_link_new_page_fith), (ev_link_new_page_fitv):
505 * shell/ev-view.c: (goto_fitv_link), (goto_fith_link),
506 (ev_view_goto_link), (ev_view_size_request_continuous_dual_page),
507 (ev_view_size_request_continuous),
508 (ev_view_size_request_dual_page),
509 (ev_view_size_request_single_page), (ev_view_size_allocate),
510 (zoom_for_size_fit_height),
511 (ev_view_zoom_for_size_continuous_and_dual_page),
512 (ev_view_zoom_for_size_continuous),
513 (ev_view_zoom_for_size_dual_page),
514 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
515 (ev_sizing_mode_get_type):
517 * shell/ev-window.c: (ev_window_sizing_mode_changed_cb):
519 Implement FIT_HEIGHT mode (only for links).
522 2005-09-24 Marco Pesenti Gritti <mpg@redhat.com>
524 * shell/ev-window-title.c: (get_filename_from_uri),
525 (ev_window_title_sanitize_extension), (ev_window_title_update),
526 (ev_window_title_set_document), (ev_window_title_set_uri),
527 (ev_window_title_free):
528 * shell/ev-window-title.h:
529 * shell/ev-window.c: (ev_window_setup_document),
530 (ev_window_popup_password_dialog):
532 Refactor window title building while fixing it for
535 2005-09-24 Marco Pesenti Gritti <mpg@redhat.com>
539 Escape link title before setting it in the model
541 2005-09-23 Marco Pesenti Gritti <mpg@redhat.com>
543 * shell/ev-application.c: (removed_from_session), (save_session),
544 (init_session), (ev_application_get_empty_window),
545 (ev_application_init), (ev_application_get_windows):
546 * shell/ev-application.h:
547 * shell/ev-window.c: (ev_window_finalize):
549 Add a function to retrieve window list and share it where
551 Implement session handling, works pretty well thanks to the
554 2005-09-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
556 * shell/ev-password.c: (ev_password_item_created_callback),
557 (ev_password_dialog_save_password):
559 Fix for bug 316972. Use async gnome-keyring API.
561 2005-09-22 Christian Persch <chpe@cvs.gnome.org>
563 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_class_init):
564 Remove unused unrealize handler. Add scroll handling to
565 ev_view_scroll_event for presentation mode (bug #316708),
566 and fix the event state checks there.
568 2005-09-22 Marco Pesenti Gritti <mpg@redhat.com>
570 * shell/ev-page-action.c: (page_changed_cb):
572 "marco, maybe we should be crazy and jump right to 6! :)"
574 Bryan Clark, Sep 2005
576 2005-09-22 Marco Pesenti Gritti <mpg@redhat.com>
578 * ps/ps-document.c: (save_document), (ps_document_save),
579 (ps_document_ps_export_begin), (ps_document_ps_export_do_page),
580 (ps_document_ps_export_end):
582 Fix unstructured documents save and print
584 2005-09-22 Marco Pesenti Gritti <mpg@redhat.com>
586 * shell/ev-application.c: (ev_application_open_uri):
588 Fix window size persistance
590 2005-09-22 Marco Pesenti Gritti <mpg@redhat.com>
592 * shell/ev-view.c: (ev_view_button_release_event):
594 Based on a patch from carlosgc@gnome.org. Mouse buttons
595 switch pages in presentation mode.
597 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
599 * shell/ev-page-cache.c: (ev_page_cache_get_size):
601 Dont cast to int before scaling
603 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
605 * backend/ev-link.c: (ev_link_type_get_type),
606 (ev_link_new_page_xyz), (ev_link_new_page_fit),
607 (ev_link_new_page_fith):
610 * shell/ev-view.c: (goto_fith_link), (ev_view_goto_link):
612 Implement FIT and FITH links
614 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
618 Return 0 results when search is not in progress.
620 * shell/ev-window.c: (ev_window_cmd_go_previous_page),
621 (ev_window_cmd_go_next_page), (find_bar_search_changed_cb):
623 Update menu sensitivity when cancelling search
625 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
627 * shell/ev-view.c: (ev_view_can_find_next):
629 Take all pages in consideration, not just current one
631 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
633 * shell/ev-page-cache.c:
634 * shell/ev-page-cache.h:
635 * shell/ev-view.c: (ev_view_binding_activated),
636 (ev_view_next_page), (ev_view_previous_page),
637 (ev_sizing_mode_get_type):
639 * shell/ev-window.c: (ev_window_cmd_go_previous_page),
640 (ev_window_cmd_go_next_page):
642 Move page next/previous functions from page chace to
643 view and change it to move by 2 page steps in dual mode.
645 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
647 * shell/ev-window.c: (update_sidebar_visibility),
648 (setup_sidebar_from_metadata), (ev_window_setup_document),
649 (setup_view_from_metadata):
651 Show the index by default when there is one
653 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
655 * shell/ev-window-title.c: (ev_window_title_set_document):
659 2005-09-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
661 * shell/ev-view.c: (view_update_range_and_current_page):
663 Allow display of last odd page in dual view. Fix for 316347.
665 2005-09-17 Wouter Bolsterlee <uws+gnome@xs4all.nl>
667 * shell/ev-window.c: (ev_window_cmd_edit_toolbar):
669 Make close button default. Fix for 316383.
671 2005-09-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
673 * shell/ev-properties-dialog.c: (ev_properties_dialog_init):
675 Mark close button as default. Fix for 316381.
677 2005-09-16 Marco Pesenti Gritti <mpg@redhat.com>
679 * backend/ev-link.c: (ev_link_class_init):
681 Allow negative doubles in left/top properties
683 2005-09-16 Marco Pesenti Gritti <mpg@redhat.com>
687 Remove a bunch of strings that was used only
690 2005-09-16 Marco Pesenti Gritti <mpg@redhat.com>
692 * shell/ev-window-title.c: (get_filename_from_uri),
693 (ev_window_title_set_document):
695 When title has a confusing extension, show also
696 the document filename inside ()
698 2005-09-16 Marco Pesenti Gritti <mpg@redhat.com>
701 * shell/ev-window-title.c: (ev_window_title_new),
702 (ev_window_title_update), (ev_window_title_set_type),
703 (ev_window_title_set_document), (ev_window_title_free):
704 * shell/ev-window-title.h:
705 * shell/ev-window.c: (ev_window_setup_document),
706 (password_dialog_response), (ev_window_popup_password_dialog),
707 (ev_window_dispose), (ev_window_init):
709 Factor out and cleanup window title code
711 2005-09-16 Marco Pesenti Gritti <mpg@redhat.com>
713 * shell/ev-window.c: (unable_to_load_dialog_response_cb),
716 Make dialog transient so it doesnt block other windows
718 2005-09-13 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
722 Fix pdf thumbnails rendering.
724 2005-09-13 Wouter Bolsterlee <uws+gnome@xs4all.nl>
726 * shell/ev-window.c: (fullscreen_set_timeout):
728 Increase timeout to hide full screen popup. Bug
731 2005-09-13 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
733 * data/evince.schemas.in:
734 * shell/ev-window.c: (update_action_sensitivity):
736 Allow the user to override document restrictions. Fix for bug
739 2005-09-13 Christian Persch <chpe@cvs.gnome.org>
741 * shell/ev-window.c: (ev_window_update_fullscreen_popup),
742 (ev_window_create_fullscreen_popup), (ev_window_screen_changed),
743 (ev_window_class_init): Fix multihead behaviour of fullscreen
744 toolbar popup. Fixes bug #315451.
746 2005-09-13 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
749 * data/evince-password.glade:
750 * shell/ev-password.c: (ev_password_dialog_set_property),
751 (ev_password_dialog_finalize), (ev_password_dialog_class_init),
752 (ev_password_dialog_init), (ev_password_set_bad_password_label),
753 (ev_password_dialog_entry_changed_cb),
754 (ev_password_dialog_entry_activated_cb),
755 (ev_password_dialog_save_password), (ev_password_keyring_found_cb),
756 (ev_password_search_in_keyring), (ev_password_dialog_get_password),
757 (ev_password_dialog_set_bad_pass):
758 * shell/ev-password.h:
759 * shell/ev-window.c: (password_dialog_response),
760 (ev_window_popup_password_dialog):
762 Support for gnome-keyring for encrypted PDF's.
764 2005-09-11 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
766 * shell/ev-view.c: (handle_link_over_xy), (ev_view_realize),
767 (ev_view_motion_notify_event), (ev_view_leave_notify_event),
768 (ev_view_enter_notify_event), (ev_view_class_init):
770 More precise handling of enter_notify/leave_notify events
771 in EvView. Fix for bug 315470.
773 2005-09-08 Christopher Aillon <caillon@redhat.com>
775 * shell/ev-window.c: (fullscreen_timeout_cb),
776 (fullscreen_set_timeout), (fullscreen_clear_timeout),
779 leak fix: unref fullscreen_timeout_source before clearing it
781 2005-09-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
783 * configure.ac, dvi/mdvi/Makefile.am:
785 Use lt1 instead lt1lib. Thanks to yselkowitz@users.sourceforge.net
787 2005-09-08 Marco Pesenti Gritti <mpg@redhat.com>
789 * backend/ev-link.c: (ev_link_new_page_xyz):
791 * shell/ev-view.c: (goto_xyz_link), (ev_view_goto_link):
793 Fix some bugs with xyz links, respect zoom
795 2005-09-08 Marco Pesenti Gritti <mpg@redhat.com>
797 * shell/ev-window.c: (page_changed_cb),
798 (setup_document_from_metadata), (update_sidebar_visibility),
799 (setup_view_from_metadata), (ev_window_run_fullscreen),
800 (ev_window_stop_fullscreen), (ev_window_run_presentation),
801 (ev_window_stop_presentation), (ev_window_continuous_changed_cb),
802 (ev_window_dual_mode_changed_cb),
803 (ev_window_sidebar_current_page_changed_cb):
805 null check uri before setting and getting metadata
807 2005-09-08 Marco Pesenti Gritti <mpg@redhat.com>
810 * properties/Makefile.am:
812 * thumbnailer/Makefile.am:
814 Some build fixes for cygwin. Patch by yselkowitz@users.sourceforge.net
816 2005-09-08 Marco Pesenti Gritti <mpg@redhat.com>
818 * shell/ev-sidebar-links.c: (ev_sidebar_links_class_init),
819 (selection_changed_callback):
820 * shell/ev-sidebar-links.h:
822 Add a signal for link activation.
824 * shell/ev-view.c: (ev_view_goto_link),
825 (ev_view_button_release_event):
827 * shell/ev-window.c: (sidebar_links_link_activated_cb),
830 Implement the signal so that we can handle all link types.
832 * shell/ev-page-cache.c:
834 Remove unused set_link function
836 2005-09-08 Marco Pesenti Gritti <mpg@redhat.com>
838 * lib/ev-tooltip.c: (ev_tooltip_set_position):
840 Add some space from the cursor, hardcoded but I couldnt
843 2005-09-07 Marco Pesenti Gritti <mpg@redhat.com>
847 Use mozilla style vs gtk style, way better for links.
849 * shell/ev-view.c: (ev_view_motion_notify_event),
850 (ev_view_destroy), (ev_view_init):
852 Deactive tooltip when the link hovered is changed.
854 2005-09-07 Marco Pesenti Gritti <mpg@redhat.com>
856 * backend/ev-document.h:
857 * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_top),
858 (ev_link_get_left), (ev_link_get_zoom), (ev_link_get_property),
859 (ev_link_set_property), (ev_window_dispose), (ev_link_class_init),
860 (ev_link_new_page), (ev_link_new_page_xyz):
863 * shell/ev-view.c: (doc_point_to_view_point), (scroll_to_xyz_link),
864 (go_to_link), (tip_from_link):
866 Implement xyz links, still not functional. Links are a total
867 mess, will need to refactor and bugfix a lot :(
869 2005-09-05 Alessio Frusciante <algol@firenze.linux.it>
871 * configure.ac: Added "it" (Italian) to ALL_LINGUAS.
873 2005-09-05 Marco Pesenti Gritti <mpg@redhat.com>
875 * data/evince-ui.xml:
876 * data/evince.schemas.in:
878 * shell/ev-window.c: (update_chrome_visibility),
879 (password_dialog_response), (ev_window_load_job_cb),
880 (ev_window_xfer_job_cb), (ev_window_open_uri),
881 (ev_window_class_init), (set_chrome_actions), (load_chrome),
884 Remove the statusbar. This regress loading feedback, need to
885 check with Bryan what we want to do there...
887 2005-09-05 Marco Pesenti Gritti <mpg@redhat.com>
889 * lib/ev-tooltip.c: (ev_tooltip_init):
891 Fix tooltip border and size handling
893 2005-09-05 Marco Pesenti Gritti <mpg@redhat.com>
895 * lib/ev-tooltip.c: (ev_tooltip_dispose), (ev_tooltip_class_init),
896 (ev_tooltip_set_position), (ev_tooltip_recently_shown),
897 (ev_tooltip_timeout), (ev_tooltip_activate),
898 (ev_tooltip_deactivate):
900 * shell/ev-view.c: (ev_view_motion_notify_event):
902 Delay popup showing. Mirror gtk logic/times.
904 2005-09-03 Marco Pesenti Gritti <mpg@redhat.com>
907 * lib/ev-tooltip.c: (ev_tooltip_expose_event),
908 (ev_tooltip_class_init), (ev_tooltip_init), (ev_tooltip_new),
909 (ev_tooltip_set_text), (ev_tooltip_set_position):
912 Simple widget to show tooltips at a custom position
914 * shell/ev-view.c: (tip_from_link), (ev_view_motion_notify_event),
917 Use it for links. First go, needs work
919 2005-08-17 Dennis Cranston <dennis_cranston@yahoo.com>
921 * shell/ev-window.c: (ev_window_cmd_edit_toolbar): A couple small
922 HIG fixes. Use title capitalization for window title. Use 12
923 pixels of space between the dialog's vbox and action area.
925 2005-09-02 Marco Pesenti Gritti <mpg@redhat.com>
927 * shell/ev-window.c: (file_open_dialog_response_cb),
928 (ev_window_cmd_file_open), (file_save_dialog_response_cb),
929 (ev_window_cmd_save_as):
931 Make file pickers not modal and refactor code some
933 2005-09-02 Marco Pesenti Gritti <mpg@redhat.com>
935 * shell/ev-sidebar.h:
936 * shell/ev-sidebar.c: (ev_sidebar_set_property),
937 (ev_sidebar_get_current_page), (ev_sidebar_get_property),
938 (ev_sidebar_class_init), (ev_sidebar_select_page),
939 (ev_sidebar_menu_item_activate_cb), (ev_sidebar_new),
940 (ev_sidebar_set_page):
942 Add a current page property and allow to get/set it
944 * shell/ev-window.c: (setup_view_from_metadata),
945 (ev_window_sidebar_current_page_changed_cb), (ev_window_init):
947 Persist current sidebar page per document
949 2005-09-02 Marco Pesenti Gritti <mpg@redhat.com>
951 * data/evince.schemas.in:
952 * shell/ev-window.c: (update_chrome_visibility),
953 (setup_document_from_metadata), (update_sidebar_visibility),
954 (setup_view_from_metadata), (ev_window_sidebar_position_change_cb),
955 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
956 (ev_window_run_presentation), (ev_window_stop_presentation),
957 (ev_window_view_sidebar_cb),
958 (ev_window_sidebar_visibility_changed_cb), (set_chrome_actions),
959 (load_chrome), (ev_window_init):
961 Persist size/visibility of sidebar per document
963 Fri Sep 2 00:59:55 2005 Jonathan Blandford <jrb@redhat.com>
965 * shell/ev-view.c (draw_loading_text): Draw loading text.
967 2005-09-02 Dan Damian <dand@gnome.ro>
969 * configure.in: Added "ro" to ALL_LINGUAS.
971 2005-09-01 Marco Pesenti Gritti <mpg@redhat.com>
973 * shell/ev-view.c: (clear_caches):
975 ev_page_cache_get doesnt return a reference,
976 dont try to unref it.
978 2005-09-01 Marco Pesenti Gritti <mpg@redhat.com>
980 * shell/main.c: (load_files_remote):
982 Fix timestamp parameter with dbus <= 0.33
984 2005-08-31 Marco Pesenti Gritti <mpg@redhat.com>
986 * data/evince.schemas.in:
988 Add missing full stop
990 2005-08-31 Hiroyuki Ikezoe <poincare@ikezoe.net>
992 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info):
993 * shell/ev-window.c: (ev_window_print_range), (ev_window_dispose):
995 Plug some memory leaks
997 2005-08-29 Christian Persch <chpe@cvs.gnome.org>
1000 * lib/ev-debug.c: (trap_handler):
1002 Check for execinfo.h and use it only if it exists.
1003 Ported from Epiphany (bug #314776).
1005 2005-08-29 Duarte Loreto <happyguy_pt@hotmail.com>
1007 * configure.ac: Added Portuguese (pt) to ALL_LINGUAS.
1009 2005-08-27 Mohammad DAMT <mdamt@gnome.org>
1011 * configure.ac: Added Indonesian "id" to ALL_LINGUAS
1012 * po/id.po : Added Indonesian translation
1014 Fri Aug 26 00:45:09 2005 Jonathan Blandford <jrb@redhat.com>
1017 * shell/ev-application.c: Last minute GTK-2.6 fixes.
1018 * NEWS: Release 0.4.0
1020 Thu Aug 25 23:40:23 2005 Jonathan Blandford <jrb@redhat.com>
1022 * configure.ac: catch another gtk+-2.8ism
1023 * shell/main.c: Make work with gtk+-2.6
1025 2005-08-25 Ryan Lortie <desrt@desrt.ca>
1027 * shell/ev-application-service.xml: Add 'timestamp' argument to
1028 ev_application_open_window and ev_application_open_uri methods.
1030 * shell/ev-application.h: Add 'timestamp' argument to
1031 ev_application_open_window, ev_application_open_uri,
1032 and ev_application_open_uri_list functions.
1034 * shell/ev-application.c (ev_application_open_window,
1035 ev_application_open_uri, ev_application_open_uri_list): Change
1036 functions that show/present windows to use a timestamp if one
1039 * shell/ev-window.c (ev_window_cmd_file_open,
1040 ev_window_cmd_recent_file_activate, drag_data_received_cb):
1041 * shell/main.c (load_files): Modify calls to ev_application to
1042 include GDK_CURRENT_TIME as timestamp.
1044 * shell/main.c (load_files_remote): Obtain timestamp for client
1045 instance from GDK and pass to server instance so new windows are
1046 focused properly. Fix dbus_g_proxy_call() calls by including second
1051 Thu Aug 25 22:13:08 2005 Jonathan Blandford <jrb@redhat.com>
1053 * shell/ev-window.c (ev_window_finalize): Check for
1054 avail. EvWindows when quiting to handle the finalize better,
1057 2005-08-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1059 * properties/ev-properties-view.c:
1061 Set textdomain to libglade. Fixes translation problem in property page.
1063 2005-08-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1065 * djvu/djvu-document.c: (djvu_document_thumbnails_get_thumbnail):
1067 * dvi/dvi-document.c: (dvi_document_thumbnails_get_thumbnail):
1068 * dvi/mdvi-lib/Makefile.am:
1070 Fix rotation of thumbnails, ported to new API. Moved library
1071 dependencies earlier, probably it will fix linkage problem.
1073 Thu Aug 25 02:32:32 2005 Jonathan Blandford <jrb@redhat.com>
1075 * backend/ev-document-misc.c:
1076 (ev_document_misc_get_thumbnail_frame):
1077 * backend/ev-document-misc.h:
1079 * pdf/ev-poppler.cc:
1080 * shell/Makefile.am:
1081 * shell/ev-sidebar-thumbnails.c: (add_range),
1082 (ev_sidebar_thumbnails_set_loading_icon),
1083 (ev_sidebar_thumbnails_refresh),
1084 (ev_sidebar_thumbnails_set_document):
1085 * shell/ev-sidebar-thumbnails.h:
1086 * shell/ev-view.c: (ev_view_motion_notify_event),
1087 (ev_view_set_property), (ev_view_get_property),
1088 (ev_view_class_init), (ev_view_set_rotation):
1089 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
1090 (ev_window_cmd_edit_rotate_right), (ev_window_rotation_changed_cb),
1092 * tiff/tiff-document.c: (tiff_document_thumbnails_get_thumbnail):
1093 Redo rotation (again). prepare for 0.4.0
1095 2005-08-24 Kristian Høgsberg <krh@redhat.com>
1097 * configure.ac: Bump poppler requirement to 0.4.1.
1099 * pdf/ev-poppler.cc (pdf_selection_render_selection): Add rotation
1100 argument to poppler_page_render_selection() call.
1102 2005-08-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1104 * djvu/djvu-document.c: (djvu_document_render_pixbuf),
1105 (djvu_document_thumbnails_get_thumbnail):
1106 * dvi/dvi-document.c: (dvi_document_render_pixbuf),
1107 (dvi_document_thumbnails_get_thumbnail):
1108 * pixbuf/pixbuf-document.c: (pixbuf_document_render_pixbuf),
1109 (pixbuf_document_thumbnails_get_thumbnail):
1110 * tiff/tiff-document.c: (tiff_document_render_pixbuf):
1112 Update rotation direction of backends to fit with pdf and ps.
1114 2005-08-24 Marco Pesenti Gritti <mpg@redhat.com>
1116 * backend/ev-async-renderer.c: (ev_async_renderer_render_pixbuf):
1117 * backend/ev-async-renderer.h:
1118 * ps/ps-document.c: (ps_document_init), (setup_pixmap),
1119 (setup_page), (ps_document_get_page_size),
1120 (ps_async_renderer_render_pixbuf):
1122 * shell/ev-jobs.c: (ev_job_render_run):
1124 Fix orientation in the postscript document
1126 2005-08-23 Marco Pesenti Gritti <mpg@redhat.com>
1128 * pdf/ev-poppler.cc:
1129 * ps/ps-document.c: (push_pixbuf), (ps_document_widget_event):
1130 * shell/ev-view.c: (highlight_find_results):
1132 Adapt to the new poppler rotation API. Fix text maps on landscape
1135 Sat Aug 20 17:13:48 2005 Jonathan Blandford <jrb@redhat.com>
1137 * shell/ev-view.c (compute_new_selection_text): get the correct
1138 region when selecting in modes other than continuous.
1140 Sat Aug 20 13:10:01 2005 Jonathan Blandford <jrb@redhat.com>
1142 * shell/main.c (main): remove redundant g_warnings.
1144 2005-08-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1146 * shell/Makefile.am: Don't include autogenerated
1147 file ev-application-service.h into distribution, since
1148 it causes dbus crash. Fix for bugs 313724 and 313443.
1150 2005-08-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1152 * configure.ac: Fix sed expression for FreeBSD. Thanks
1153 to Joe Marcus Clark <marcus@freebsd.org>
1155 * shell/eggfindbar.c: (entry_activate_callback),
1156 (entry_changed_callback), (egg_find_bar_init),
1157 (egg_find_bar_set_search_string):
1159 Made findbar buttons unsensitive if there is no text in
1160 entry. Fix for the bug 313285.
1162 2005-08-17 Carlos Garcia Campos <carlosgc@gnome.org>
1164 * ps/ps-document.c: Use g_filename_display_name for displaying
1165 filenames and revert string freeze breackage
1167 2005-08-17 Marco Pesenti Gritti <mpg@redhat.com>
1174 * shell/Makefile.am:
1176 Add ev-application-service.xml to extra dist
1178 * shell/ev-view.c: (find_page_at_location):
1180 Remove unused function (fix warning)
1182 2005-08-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1184 * dvi/mdvi-lib/t1.c: (t1_reset_resolution), (t1_really_load_font),
1185 (t1_load_font), (t1_glyph_bitmap), (t1_font_remove):
1187 Fix warnings and compilation with t1lib-5.0 and newer. Fix for
1190 2005-08-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1192 * shell/ev-utils.c: (set_umask_permissions), (write_to_temp_file):
1193 * shell/ev-window.c:
1196 2005-08-16 Carlos Garcia Campos <carlosgc@gnome.org>
1198 * configure.ac: Update script to get dbus version.
1199 Fix for the bug #313443.
1201 2005-08-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1203 * shell/ev-window.c: (ev_window_cmd_escape):
1205 Return focus back to view on escape. Fix for bug 313295.
1207 2005-08-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1209 * shell/ev-window.c: (update_window_title),
1210 (ev_window_popup_password_dialog), (ev_window_load_job_cb),
1211 (ev_window_cmd_save_as):
1213 Correct conversion from uri to displayable string. Fix for
1216 2005-08-16 Carlos Garcia Campos <carlosgc@gnome.org>
1218 * ps/ps-document.c: convert filename to utf8 when there is an error
1219 loading document. Fixes #309915
1221 2005-08-16 Marco Pesenti Gritti <mpg@redhat.com>
1225 We depend on poppler 0.4.0
1227 Mon Aug 15 21:53:05 2005 Jonathan Blandford <jrb@redhat.com>
1230 * NEWS: Release 0.3.3.
1231 * thumbnailer/evince-thumbnailer.c: Remove pdf icon.
1233 2005-08-14 Dennis Cranston <dennis_cranston@yahoo.com>
1235 * shell/ev-window.c: (ev_window_cmd_file_open): HIG fixes:
1236 add a couple missing mnemonics to menu items, use title
1237 capitalization for menu items and window titles, and add
1238 ellipsis to open menu item.
1240 Mon Aug 15 00:40:21 2005 Jonathan Blandford <jrb@redhat.com>
1242 * pdf/ev-poppler.cc:
1243 * shell/ev-metadata-manager.c: (ev_metadata_manager_init):
1244 * shell/ev-view.c: (ev_view_rotate_left), (ev_view_set_rotation),
1245 (ev_view_get_rotation):
1247 * shell/ev-window.c: (setup_view_from_metadata),
1248 (save_rotation_to_file), (ev_window_cmd_edit_rotate_left),
1249 (ev_window_cmd_edit_rotate_right): Fix rotation. Save it to
1252 2005-08-14 Baris Cicek <baris@teamforce.name.tr>
1254 * configure.ac: Added tr to ALL_LINGUAS
1256 2005-08-12 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1258 * shell/ev-view.c: Fix for bug Bug 311838. Search backward
1259 requires several clicks to find word. Thanks to
1260 Colin Slater <kiltedtaco@gmail.com>.
1262 2005-08-11 Bryan Clark <clarkbw@cvs.gnome.org>
1264 * data/evince.desktop.in.in: Hide menu entry and
1265 rename it to "Document Viewer". Fix for bug
1268 2005-08-11 Crispin Flowerday <gnome@flowerday.cx>
1270 * shell/ev-page-action.c (ev_page_action_class_init):
1272 Point to the correct function in constructor of the
1273 activate_label signal
1275 Tue Aug 9 02:17:13 2005 Jonathan Blandford <jrb@redhat.com>
1277 * shell/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
1278 * shell/ev-jobs.h: Make thread safe.
1280 2005-08-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1282 * shell/ev-view.c: (view_update_range_and_current_page):
1283 Don't update page range if we are scrolling to some document
1286 2005-08-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1288 * shell/ev-view.c: (get_page_extents): reverse rotation/scale
1289 when getting max_page_width, fix drawing in dual mode.
1291 Sun Aug 7 02:06:08 2005 Jonathan Blandford <jrb@redhat.com>
1293 * shell/ev-view.c (ev_view_select_all): reverse rotation/page when
1294 getting the area for select_all.
1296 2005-08-06 Kristian Høgsberg <krh@redhat.com>
1298 * backend/ev-selection.c: (ev_selection_render_selection):
1299 * backend/ev-selection.h:
1300 * pdf/ev-poppler.cc:
1301 * shell/ev-jobs.c: (ev_job_render_new):
1303 * shell/ev-pixbuf-cache.c: (get_selection_colors),
1304 (add_job_if_needed), (ev_pixbuf_cache_get_selection_pixbuf):
1305 * shell/ev-view.c: (ev_view_focus_in), (ev_view_focus_out),
1306 (ev_view_class_init):
1308 Change selection color on focus in and focus out events. Also,
1309 poppler now uses GdkColor for specifying the selection colors, so
1310 drop some awkward conversion code.
1312 2005-08-06 Yair Hershkovitz <yairhr@gmail.com>
1314 * configure.ac: Added Hebrew translation
1316 Sat Aug 6 01:12:44 2005 Jonathan Blandford <jrb@redhat.com>
1319 * backend/ev-selection.c: (ev_selection_render_selection):
1320 * backend/ev-selection.h:
1321 * pdf/ev-poppler.cc:
1322 * shell/ev-jobs.c: (ev_job_render_dispose), (ev_job_render_new),
1323 (ev_job_render_run):
1325 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info),
1326 (ev_pixbuf_cache_new), (job_finished_cb), (add_job_if_needed),
1327 (convert_gdk_color_to_uint), (ev_pixbuf_cache_get_text_mapping),
1328 (ev_pixbuf_cache_style_changed),
1329 (ev_pixbuf_cache_get_selection_pixbuf),
1330 (ev_pixbuf_cache_set_selection_list),
1331 (ev_pixbuf_cache_get_selection_list):
1332 * shell/ev-pixbuf-cache.h:
1333 * shell/ev-utils.c: (ev_print_region_contents):
1335 * shell/ev-view.c: (ev_view_queue_draw_page),
1336 (selection_update_idle_cb), (ev_view_motion_notify_event),
1337 (ev_view_style_set), (draw_one_page), (ev_view_class_init),
1338 (setup_caches), (ev_view_find_next), (merge_selection_region),
1340 * shell/ev-window.c: (ev_window_update_fullscreen_popup):
1342 Clean up selection to be much smoother!
1344 2005-08-05 Kristian Høgsberg <krh@redhat.com>
1346 * pdf/ev-poppler.cc (pdf_selection_render_selection): Pass colors
1347 to poppler_page_render_selection().
1349 2005-08-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1351 * ps/ps-document.c: (save_page_list): Use
1352 unzipped document when printing. Thanks to
1353 Colin Slater <kiltedtaco@gmail.com>. Fix for bug
1356 2005-08-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1358 * shell/ev-window.c: (update_action_sensitivity):
1360 Disable print and save respect to lockdown gconf keys. Fix
1363 2005-08-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1366 * shell/ev-utils.c: (rename_file), (set_umask_permissions),
1367 (write_to_temp_file), (ev_file_set_contents):
1369 * shell/ev-window.c: (save_print_config_to_file):
1371 Copy-paste g_file_set_contents to keep compatibility with gtk 2.6
1374 2005-07-31 Christian Persch <chpe@cvs.gnome.org>
1376 * shell/ev-window.c: (load_print_config_from_file),
1377 (save_print_config_to_file), (ev_window_print_range):
1379 Persist the print settings. Fixes bug #311578.
1381 2005-07-31 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1383 * djvu/djvu-document.c: (djvu_document_get_page_size),
1384 (djvu_document_render_pixbuf), (djvu_document_document_iface_init),
1385 (djvu_document_thumbnails_get_thumbnail):
1386 * dvi/dvi-document.c: (dvi_document_get_page_size),
1387 (dvi_document_render_pixbuf), (dvi_document_document_iface_init),
1388 (dvi_document_thumbnails_get_dimensions),
1389 (dvi_document_thumbnails_get_thumbnail):
1390 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size),
1391 (pixbuf_document_render_pixbuf),
1392 (pixbuf_document_document_iface_init),
1393 (pixbuf_document_thumbnails_get_thumbnail):
1395 Update backends to make them build with new rotation system.
1397 2005-07-31 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1399 * help/C/figures/evince_start_window.png:
1401 Update documentation image from Luca Ferretti <elle.uca@libero.it>
1403 Sat Jul 30 19:09:34 2005 Jonathan Blandford <jrb@redhat.com>
1405 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_clear):
1406 * shell/ev-pixbuf-cache.h:
1407 * shell/ev-sidebar-thumbnails.c:
1408 (ev_sidebar_thumbnails_get_property), (add_range),
1409 (adjustment_changed_cb):
1410 * shell/ev-view.c: (ev_view_set_rotation): Fix rotation and the
1411 pixbuf cache. Make thumbnailing work again. Also, fix bug where
1412 we were thumbnailing the entire docment on startup, slowing us
1415 Fri Jul 29 23:14:28 2005 Jonathan Blandford <jrb@redhat.com>
1417 * shell/ev-page-cache.c: (ev_page_cache_new):
1418 * shell/ev-window.c: (update_action_sensitivity): Handle n_pages
1419 == 0, fixes #310306.
1421 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
1423 * shell/ev-view.c: (doc_rect_to_view_rect), (ev_view_rotate_right),
1424 (ev_view_rotate_left):
1426 Account rotation in doc_rect_to_view_rect.
1427 Ensure rotation doesnt go out of bounds.
1429 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
1431 * shell/ev-page-cache.c: (ev_page_cache_get_size):
1433 Correct and cleanup w/h swapping
1435 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
1437 * backend/ev-document-thumbnails.c:
1438 (ev_document_thumbnails_get_thumbnail):
1439 * backend/ev-document-thumbnails.h:
1440 * backend/ev-document.c:
1441 * backend/ev-document.h:
1442 * backend/ev-render-context.c: (ev_render_context_new),
1443 (ev_render_context_set_rotation):
1444 * backend/ev-render-context.h:
1445 * pdf/ev-poppler.cc:
1446 * ps/ps-document.c: (ps_document_document_iface_init):
1447 * shell/ev-jobs.c: (ev_job_thumbnail_new), (ev_job_thumbnail_run):
1449 * shell/ev-page-cache.c: (build_height_to_page),
1450 (ev_page_cache_new), (ev_page_cache_get_size),
1451 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
1452 (ev_page_cache_get_height_to_page):
1453 * shell/ev-page-cache.h:
1454 * shell/ev-pixbuf-cache.c: (check_job_size_and_unref),
1455 (add_job_if_needed), (ev_pixbuf_cache_add_jobs_if_needed),
1456 (ev_pixbuf_cache_set_page_range), (new_selection_pixbuf_needed),
1457 (ev_pixbuf_cache_get_selection_pixbuf):
1458 * shell/ev-pixbuf-cache.h:
1459 * shell/ev-print-job.c: (idle_print_handler):
1460 * shell/ev-sidebar-thumbnails.c: (add_range):
1461 * shell/ev-view.c: (view_update_range_and_current_page),
1462 (get_page_y_offset), (get_page_extents),
1463 (ev_view_size_request_continuous_dual_page),
1464 (ev_view_size_request_continuous),
1465 (ev_view_size_request_dual_page),
1466 (ev_view_size_request_single_page), (draw_one_page),
1467 (ev_view_set_rotation), (ev_view_rotate_right),
1468 (ev_view_rotate_left), (ev_view_zoom_for_size_presentation),
1469 (ev_view_zoom_for_size_continuous_and_dual_page),
1470 (ev_view_zoom_for_size_continuous),
1471 (ev_view_zoom_for_size_dual_page),
1472 (ev_view_zoom_for_size_single_page), (compute_new_selection_text),
1473 (ev_view_select_all):
1474 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
1475 * tiff/tiff-document.c: (tiff_document_render_pixbuf),
1476 (tiff_document_document_iface_init),
1477 (tiff_document_thumbnails_get_thumbnail):
1479 Use rotation rather than orientation. It's easier and enough
1482 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
1484 * shell/ev-page-cache.c: (build_height_to_page),
1485 (ev_page_cache_new), (ev_page_cache_get_size),
1486 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
1487 (ev_page_cache_get_height_to_page):
1488 * shell/ev-page-cache.h:
1489 * shell/ev-view.c: (get_page_y_offset), (get_page_extents),
1490 (ev_view_size_request_continuous_dual_page),
1491 (ev_view_size_request_continuous),
1492 (ev_view_zoom_for_size_continuous_and_dual_page),
1493 (ev_view_zoom_for_size_continuous):
1495 Make the page cache aware of page orientation.
1497 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
1499 * backend/ev-document-thumbnails.c:
1500 (ev_document_thumbnails_get_thumbnail):
1501 * backend/ev-document-thumbnails.h:
1502 * backend/ev-document.c:
1503 * backend/ev-document.h:
1504 * backend/ev-ps-exporter.c: (ev_ps_exporter_do_page):
1505 * backend/ev-ps-exporter.h:
1506 * pdf/ev-poppler.cc:
1507 * ps/ps-document.c: (ps_document_document_iface_init),
1508 (ps_document_ps_export_do_page):
1509 * shell/ev-jobs.c: (ev_job_thumbnail_new), (ev_job_thumbnail_run):
1511 * shell/ev-page-cache.c: (ev_page_cache_get_size),
1512 (ev_page_cache_get):
1513 * shell/ev-page-cache.h:
1514 * shell/ev-pixbuf-cache.c: (check_job_size_and_unref),
1515 (add_job_if_needed), (ev_pixbuf_cache_add_jobs_if_needed),
1516 (ev_pixbuf_cache_set_page_range), (new_selection_pixbuf_needed):
1517 * shell/ev-pixbuf-cache.h:
1518 * shell/ev-print-job.c: (idle_print_handler):
1519 * shell/ev-sidebar-thumbnails.c: (add_range):
1520 * shell/ev-view.c: (view_update_range_and_current_page),
1521 (get_page_extents), (ev_view_size_request_dual_page),
1522 (ev_view_size_request_single_page), (draw_one_page),
1523 (clear_caches), (ev_view_set_orientation), (ev_view_rotate_right),
1524 (ev_view_rotate_left), (ev_view_zoom_for_size_presentation),
1525 (ev_view_zoom_for_size_dual_page),
1526 (ev_view_zoom_for_size_single_page), (compute_new_selection_text),
1527 (ev_view_select_all):
1528 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
1529 * tiff/tiff-document.c: (tiff_document_get_page_size),
1530 (tiff_document_get_orientation), (rotate_pixbuf),
1531 (tiff_document_render_pixbuf), (tiff_document_document_iface_init),
1532 (tiff_document_thumbnails_get_thumbnail),
1533 (tiff_document_ps_export_do_page), (tiff_document_init):
1535 Really make use of the orientation bit of the render context.
1536 Use the render context in a few more places in the backend API.
1537 This regress orientation, but now it's done right. Will try to
1540 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
1542 * shell/ev-view.c: (ensure_rectangle_is_visible):
1544 Patch by Nickolay V. Shmyrev to fix find flickering
1546 2005-07-27 Martin Kretzschmar <martink@gnome.org>
1548 * backend/ev-ps-exporter.h: add paper_width, paper_height, and
1549 duplex parameters to ::begin.
1551 * tiff/tiff-document.c (tiff_document_ps_export_begin):
1552 * shell/ev-print-job.c (idle_print_handler):
1553 * ps/ps-document.c (ps_document_ps_export_begin):
1554 * pdf/ev-poppler.cc (pdf_document_ps_exporter_begin):
1555 * backend/ev-ps-exporter.c (ev_ps_exporter_begin): update
1556 implementations. Poppler backend needs poppler cvs. Rest has
1559 2005-07-25 Martin Kretzschmar <martink@gnome.org>
1561 * shell/ev-window.c (using_pdf_printer): new function.
1562 (ev_window_print_range): print a less techy message if someone
1563 tries to print to PDF.
1565 2005-07-25 Martin Kretzschmar <martink@gnome.org>
1567 * pdf/ev-poppler.cc (font_type_to_string): Remove trailing space
1568 from "unknown font" string. Bug #311431
1570 2005-07-24 Martin Kretzschmar <martink@gnome.org>
1572 * help/es/.cvsignore, help/sr/.cvsignore: ignore xmlpo output.
1574 2005-07-24 Martin Kretzschmar <martink@gnome.org>
1578 * pdf/ev-poppler.cc (font_type_to_string): new, returns user readable
1579 name for PopplerFontTypes
1580 (pdf_document_fonts_fill_model): add font type to the detail column
1582 * backend/ev-document-fonts.h: added
1583 EV_DOCUMENT_FONTS_COLUMN_DETAILS.
1585 * shell/ev-properties-fonts.c (font_cell_data_func): glue together
1586 font name and font details, add a little markup.
1587 (ev_properties_fonts_init): use the new cell data func, specify ypad
1588 property for the cell renderer.
1589 (ev_properties_fonts_set_document): add the details column.
1591 2005-07-24 Artur Flinta <aflinta@cvs.gnome.org>
1593 * configure.ac: Added "pl" to ALL_LINGUAS.
1595 2005-07-24 Danilo Šegan <danilo@gnome.org>
1597 * configure.ac: Added "sr" and "sr@Latn" to ALL_LINGUAS.
1599 2005-07-23 Tommi Vainikainen <thv@iki.fi>
1601 * help/ChangeLog: Started this for translations of manual.
1602 * configure.ac, autogen.sh, .cvsignore: Migrated to
1603 gnome-doc-utils. Patch in bug #311222.
1605 2005-07-22 Martin Kretzschmar <martink@gnome.org>
1607 * backend/ev-document-factory.c (mime_type_supported_by_gdk_pixbuf):
1608 #ifdef this away to fix an unused-function warning.
1610 2005-07-22 Ignacio Casal Quinteiro <nacho.resa@gmail.com>
1612 * configure.ac: Added 'gl' to ALL_LINGUAS.
1614 2005-07-22 Pawan Chitrakar <pawan@nplinux.org>
1616 * configure.ac: Added ne in ALL_LINGUAS
1618 2005-07-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1620 * shell/ev-view.c: (ev_view_leave_notify_event):
1622 Clear status message when pointer leaves view. Fix for bug
1625 2005-07-20 Ankit Patel <ankit644@yahoo.com>
1627 * configure.ac: Gujarati (gu) added to ALL_LINGUAS
1629 2005-07-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1631 * shell/ev-view.c: (ev_view_leave_notify_event),
1632 (ev_view_class_init):
1634 Set cursor to normal then leaving view.
1636 2005-07-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1640 Fix required djvulibre version.
1642 2005-07-15 Rajesh Ranjan <rajeshkajha@yahoo.com>
1644 *configure.ac: Hindi (hi) language added
1646 2005-07-15 Amanpreet Singh Brar <amanpreetalam@yahoo.com>
1648 *configure.ac: Punjabi (pa) Language added
1650 2005-07-12 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1652 * data/evince-ui.xml, shell/ev-window.c:
1654 Add keypad accelerators for zooming. Fix for bug 308128.
1656 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
1659 * backend/Makefile.am:
1660 * backend/ev-document-factory.c: (ev_document_type_get_from_mime):
1662 * shell/ev-document-types.c: (ev_document_types_add_filters):
1664 Allow to enable/disable the pixbuf backend.
1665 Default to off for now. If we want it enabled we should
1666 really put mime types in the desktop, implement properties etc.
1668 * properties/evince-properties.c:
1670 Initialize error to NULL.
1671 Check error is not NULL before freeing.
1673 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
1675 * shell/ev-window.c:
1677 Use F5 as presentation accell
1679 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
1681 * shell/ev-window.c: (update_chrome_visibility),
1682 (ev_window_create_fullscreen_popup), (ev_window_init):
1684 Do not leak the fullscreen toolbar
1686 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
1688 * shell/ev-window.c: (view_actions_focus_in_cb),
1689 (view_actions_focus_out_cb):
1691 These has a return value! Fix totally random focus
1692 issues we was seeing.
1694 2005-07-11 Carlos Garcia Campos <carlosgc@gnome.org>
1696 * shell/main.c: (load_files_remote):
1698 Allow open more than one file
1700 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
1702 * shell/main.c: (load_files_remote):
1704 Fix for dbus 0.33. bug #309975
1706 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
1708 * properties/ev-properties-main.c: (ev_properties_get_pages):
1710 Actually return NULL for types we dont support
1712 2005-07-08 Christian Persch <chpe@cvs.gnome.org>
1718 2005-07-08 Marco Pesenti Gritti <marco@gnome.org>
1720 * backend/ev-document-factory.c:
1721 (ev_document_factory_get_document):
1723 Do not try to create the object if type
1726 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
1728 * ps/ps-document.c: (ps_document_dispose),
1729 (ps_async_renderer_render_pixbuf):
1732 Do not leak the target window
1734 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
1736 * shell/ev-application.c: (ev_application_init):
1738 Let tbe check file existence for us.
1739 Add a comment about eggrecent mime filter.
1741 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
1743 * data/evince-ui.xml:
1744 * shell/ev-application.c: (ev_application_shutdown),
1745 (ev_application_init), (ev_application_get_toolbars_model),
1746 (ev_application_get_recent_model),
1747 (ev_application_save_toolbars_model):
1748 * shell/ev-application.h:
1749 * shell/ev-window.c: (ev_window_add_recent),
1750 (ev_window_setup_recent), (ev_window_cmd_edit_toolbar_cb),
1751 (ev_window_cmd_edit_toolbar), (ev_window_dispose),
1754 Use common toolbar and recent models for all windows.
1755 Patch by Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1757 Thu Jul 7 23:10:01 2005 Jonathan Blandford <jrb@redhat.com>
1759 * configure.ac: add FRONTEND_CORE_LIBS to evince_save_LIBS so we
1760 successfully check for gtk_icon_view_get_visible_range.
1762 2005-07-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1767 Fix djvu and dvi backend build.
1769 2005-07-07 Christian Persch <chpe@cvs.gnome.org>
1771 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c: (new_pixbuf_from_widget),
1772 (new_separator_pixbuf):
1776 2005-07-07 Christian Persch <chpe@cvs.gnome.org>
1778 * shell/ev-window.c: (ev_window_cmd_edit_toolbar):
1780 HIGification of toolbar editor dialogue.
1782 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1785 * shell/Makefile.am:
1787 Ever build metadata manager since it's just
1788 disabled at runtime now.
1790 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1792 * shell/ev-metadata-manager.c: (ev_metadata_manager_init),
1793 (ev_metadata_manager_get), (ev_metadata_manager_set):
1794 * shell/ev-metadata-manager.h:
1796 Add an _init functions that enabled metadata management
1799 * shell/ev-window.c: (page_changed_cb),
1800 (setup_document_from_metadata), (ev_window_setup_document),
1801 (setup_view_from_metadata), (ev_window_open_uri),
1802 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
1803 (ev_window_run_presentation), (ev_window_stop_presentation),
1804 (save_sizing_mode), (ev_window_zoom_changed_cb),
1805 (ev_window_continuous_changed_cb),
1806 (ev_window_dual_mode_changed_cb), (window_state_event_cb),
1807 (window_configure_event_cb):
1809 Remove all ugly metadata define since we deal with it
1812 * shell/main.c: (load_files_remote), (main):
1814 Add support for dbus cvs head. Hopefully didnt break one
1815 of the other versions now!
1817 If we dont get a response from the dbus server just
1818 give up with it and not enable metadata.
1820 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1823 * backend/Makefile.am:
1825 * cut-n-paste/recent-files/Makefile.am:
1826 * cut-n-paste/toolbar-editor/Makefile.am:
1827 * cut-n-paste/zoom-control/Makefile.am:
1830 * pixbuf/Makefile.am:
1831 * properties/Makefile.am:
1833 * shell/Makefile.am:
1834 * thumbnailer/Makefile.am:
1837 Make frontends depend on just libev.
1838 Rework and group CFLAGS/LIBS definitions.
1841 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1845 do not unnecessarily save zoom
1848 * lib/ev-file-helpers.c: (ev_dot_dir):
1849 * shell/Makefile.am:
1854 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1858 Remove unnecessary dependencies
1860 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1862 * properties/Makefile.am:
1863 * thumbnailer/Makefile.am:
1866 Some more cleanups. Was really necessary
1867 but I probably introduced bugs, feel free
1870 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1872 * backend/Makefile.am:
1874 * cut-n-paste/recent-files/Makefile.am:
1875 * cut-n-paste/toolbar-editor/Makefile.am:
1876 * cut-n-paste/zoom-control/Makefile.am:
1879 * pixbuf/Makefile.am:
1880 * properties/Makefile.am:
1882 * shell/Makefile.am:
1883 * thumbnailer/Makefile.am:
1886 Use gnome-common macros when possible.
1887 Cleanup dependencies.
1888 Actually disable deprecated where possible.
1890 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1893 * backend/Makefile.am:
1894 * properties/Makefile.am:
1895 * shell/Makefile.am:
1896 * thumbnailer/Makefile.am:
1898 This should solve the circular dep without
1899 requiring dir reorg!
1901 * shell/ev-window.c: (setup_view_from_metadata):
1903 Never restore window size/position when the
1904 window is already visible.
1906 2005-07-06 Christian Persch <chpe@cvs.gnome.org>
1908 * shell/ev-metadata-manager.c: (ev_metadata_manager_save):
1910 Return a boolean from timeout func. Fix ported from gedit.
1912 2005-07-07 Iñaki Larrañaga <dooteo@euskalgnu.org>
1914 * configure.ac: Added "eu" (Basque) to ALL_LINGUAS.
1916 2005-07-06 Carlos Garcia Campos <carlosgc@gnome.org>
1918 * shell/ev-document-types.c: set "All Documents" as default filter in
1921 2005-07-06 Martin Kretzschmar <martink@gnome.org>
1923 * shell/ev-metadata-manager.c (ev_metadata_manager_set_int)
1924 (ev_metadata_manager_set_double, ev_metadata_manager_set_string)
1925 (ev_metadata_manager_set_boolean): fix value/val thinko.
1927 2005-07-06 Marco Pesenti Gritti <mpg@redhat.com>
1929 * shell/ev-window.c: (setup_view_from_metadata),
1930 (window_state_event_cb), (window_configure_event_cb),
1933 Remember window position and maximized state
1935 2005-07-06 Christian Persch <chpe@cvs.gnome.org>
1939 Fix DBUS configure checks.
1941 * shell/ev-metadata-manager.c: (ev_metadata_manager_set_int),
1942 (ev_metadata_manager_set_double), (ev_metadata_manager_set_string),
1943 (ev_metadata_manager_set_boolean):
1947 * shell/ev-window.c: (page_changed_cb), (ev_window_run_fullscreen),
1948 (ev_window_stop_fullscreen), (ev_window_run_presentation),
1949 (ev_window_stop_presentation), (ev_window_zoom_changed_cb),
1950 (ev_window_continuous_changed_cb),
1951 (ev_window_dual_mode_changed_cb), (ev_window_new):
1953 Fix the build without DBUS.
1955 2005-07-06 Marco Pesenti Gritti <mpg@redhat.com>
1957 * shell/ev-metadata-manager.c: (parse_value), (save_values),
1958 (ev_metadata_manager_set_int), (ev_metadata_manager_set_double),
1959 (ev_metadata_manager_set_string),
1960 (ev_metadata_manager_set_boolean):
1961 * shell/ev-metadata-manager.h:
1963 Add support for some more types
1965 * shell/ev-view.c: (scroll_to_current_page),
1966 (ev_view_get_continuous), (ev_view_set_continuous),
1967 (ev_view_get_dual_page):
1969 * shell/ev-window.c: (page_changed_cb),
1970 (setup_document_from_metadata), (ev_window_setup_document),
1971 (setup_view_from_metadata), (ev_window_open_uri),
1972 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
1973 (ev_window_run_presentation), (ev_window_stop_presentation),
1974 (save_sizing_mode), (ev_window_sizing_mode_changed_cb),
1975 (ev_window_zoom_changed_cb), (ev_window_update_continuous_action),
1976 (ev_window_update_dual_page_action),
1977 (ev_window_continuous_changed_cb),
1978 (ev_window_dual_mode_changed_cb), (ev_window_init):
1980 Remember a bunch of view/document properties. Prolly some
1981 are still missing but it's getting interesting.
1983 2005-07-05 Martin Kretzschmar <martink@gnome.org>
1985 * configure.ac: check if dbus-binding-tool is installed. Not the
1986 case on current Ubuntu breezy, it seems.
1988 2005-07-05 Luca Ferretti <elle.uca@libero.it>
1990 * data/evince.desktop.in.in:
1992 Allow open uri lists and add TryExec field.
1994 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
1998 Enable dbus when available, do not require a configure
2001 2005-07-05 Christian Persch <chpe@cvs.gnome.org>
2005 Use AM_CONDITIONAL unconditionally, fixes the build with DBUS
2008 2005-07-05 Carlos Garcia Campos <carlosgc@gnome.org>
2009 Marco Pesenti Gritti <mpg@redhat.com>
2011 * shell/Makefile.am: Add --prefix for dbus-binding-tool script
2013 * shell/ev-application.[ch], shell/ev-window.c: change dbus RPC
2014 functions to the format required by dbus
2016 * shell/main.c: use G_TYPE instead of DBUS_TYPE to fix compilation
2017 errors. Use the RPC parameters in the expected way
2019 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
2022 * properties/Makefile.am:
2023 * properties/ev-properties-main.c: (ev_properties_get_pages):
2025 Support all mime types
2027 * shell/Makefile.am:
2028 * thumbnailer/Makefile.am:
2029 * thumbnailer/evince-thumbnailer.c: (get_document_from_uri),
2030 (evince_thumbnail_pngenc_get):
2032 Use the document factory
2034 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
2036 * backend/Makefile.am:
2037 * backend/ev-document-factory.c:
2038 (mime_type_supported_by_gdk_pixbuf),
2039 (ev_document_type_get_from_mime),
2040 (ev_document_factory_get_document),
2041 (ev_document_factory_get_backend),
2042 (ev_document_factory_get_mime_types),
2043 (ev_document_factory_get_all_mime_types):
2044 * backend/ev-document-factory.h:
2045 * shell/Makefile.am:
2046 * shell/ev-document-types.c: (get_document_from_uri),
2047 (ev_document_types_get_document),
2048 (file_filter_add_mime_list_and_free),
2049 (ev_document_types_add_filters):
2050 * shell/ev-document-types.h:
2051 * shell/ev-job-xfer.c: (ev_job_xfer_run):
2052 * shell/ev-properties-dialog.c:
2053 (ev_properties_dialog_set_document):
2054 * shell/ev-window.c: (ev_window_cmd_file_open),
2055 (ev_window_cmd_save_as):
2056 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
2058 Rework document types managing to avoid code duplication
2059 and actually abstract from backend implementations.
2060 Also provide a minimal factory api that can be used by
2061 thumbnailer/properties.
2063 2005-07-05 Christian Persch <chpe@cvs.gnome.org>
2065 * properties/ev-properties-view.c: (ev_properties_view_set_info):
2067 * shell/ev-properties-dialog.c: (ev_properties_dialog_init):
2070 2005-07-04 Matthew S. Wilson <msw@rpath.com>
2072 * shell/ev-properties-dialog.c
2073 (ev_properties_dialog_set_document): only call
2074 ev_properties_fonts_set_document() if the document implements the
2077 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
2080 * properties/Makefile.am:
2081 * properties/ev-properties-view.c:
2082 (ev_properties_view_register_type):
2083 * properties/ev-properties-view.h:
2084 * properties/ev-properties-main.h:
2086 Implement nautilus plugin for properties.
2087 Works only for pdf atm, I need to rework the
2088 document types stuff to get this to work
2091 2005-07-04 Martin Kretzschmar <martink@gnome.org>
2093 * shell/ev-properties-fonts.c (enum): kill redundant columns enum
2094 (ev_properties_fonts_set_document): use
2095 EV_DOCUMENT_FONTS_COLUMN_NUM_COLUMNS.
2097 2005-07-04 Matthew S. Wilson <msw@rpath.com>
2099 * tiff/tiff2ps.c: remove TRUE and FALSE definitions, glib provides
2101 (PlaceImage, tiff2ps_process_page): use
2102 g_ascii_dtostr to convert floats to strings in a locale-safe way.
2105 2005-07-04 Martin Kretzschmar <martink@gnome.org>
2107 * shell/main.c: include libgnomeui/gnome-authentication-manager.h
2108 (main): to call gnome_authentication_manager_init. Should fix
2111 * configure.ac: that requires libgnomeui 2.6.0.
2113 2005-07-04 Matthew S. Wilson <msw@rpath.com>
2115 * tiff/tiff-document.c (tiff_document_ps_export_begin)
2116 (tiff_document_ps_export_do_page, tiff_document_ps_export_end):
2117 use the new tiff2ps interfaces
2119 * tiff/tiff2ps.h (tiff2ps_context_new, tiff2ps_process_page)
2120 (tiff2ps_context_finalize): implement new interfaces for tiff2ps
2122 * tiff/tiff2ps.c: refactor tiff2ps code to use a context
2123 structure instead of global variables. Remove use of static
2124 variables in functions.
2126 2005-07-04 Carlos Garcia Campos <carlosgc@gnome.org>
2128 * shell/ev-page-action.c: unref the completion after setting it to the
2131 2005-07-04 Matthew S. Wilson <msw@rpath.com>
2133 * tiff/tiff2ps.c (generateEPSF): disable generating encapsulated
2136 2005-07-04 Matthew S. Wilson <msw@rpath.com>
2138 * shell/ev-window.c (update_action_sensitivity): disable
2139 File->Print if the document does not implement the ps exporter
2142 2005-07-04 Marco Pesenti Gritti <mpg@redhat.com>
2146 * data/evince-properties.glade:
2147 * properties/.cvsignore:
2148 * properties/Makefile.am:
2149 * properties/ev-properties-view.c: (ev_properties_view_dispose),
2150 (ev_properties_view_class_init), (ev_properties_view_format_date),
2151 (make_valid_utf8), (set_property), (ev_properties_view_set_info),
2152 (ev_properties_view_init), (ev_properties_view_new):
2153 * properties/ev-properties-view.h:
2154 * shell/Makefile.am:
2155 * shell/ev-properties-dialog.c: (ev_properties_dialog_class_init),
2156 (ev_properties_dialog_init), (ev_properties_dialog_set_document),
2157 (ev_properties_dialog_new):
2158 * shell/ev-properties-dialog.h:
2159 * shell/ev-properties-fonts.c: (ev_properties_fonts_dispose),
2160 (ev_properties_fonts_class_init), (ev_properties_fonts_init),
2161 (update_progress_label), (job_fonts_finished_cb),
2162 (ev_properties_fonts_set_document), (ev_properties_fonts_new):
2163 * shell/ev-properties-fonts.h:
2164 * shell/ev-properties.c:
2165 * shell/ev-properties.h:
2166 * shell/ev-window.c: (ev_window_setup_document),
2167 (ev_window_cmd_file_properties):
2169 Split the properties pages in two different objects, depend
2170 only on the backend where possible, use widgets instead
2171 of gobject for the glade part, reimplement the dialog
2173 I need this to implement nautilus properties page.
2175 2005-07-03 Matthew S. Wilson <msw@rpath.com>
2177 * tiff/tiff-document.c (tiff_document_ps_export_begin)
2178 (tiff_document_ps_export_do_page, tiff_document_ps_export_end)
2179 (tiff_document_document_ps_exporter_iface_init): implement the ps
2180 exporter interface for tiff documents
2182 * tiff/tiff2ps.c: added a modified version of tiff2ps.c from
2183 libtiff to implement TIFF postscript export
2185 * tiff/tiff2ps.h: added a header file for external tiff2ps
2188 * tiff/Makefile.am (libtiffdocument_la_SOURCES): add tiff2ps.c and
2191 2005-07-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2193 * shell/ev-view.c: (scroll_to_current_page),
2194 (ev_view_set_fullscreen), (ev_view_set_presentation):
2196 Scroll to current page when exit from presentation
2198 2005-07-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2200 * shell/ev-window.c: (update_document_mode),
2201 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
2202 (ev_window_cmd_view_fullscreen), (ev_window_stop_presentation),
2203 (ev_window_cmd_view_presentation), (ev_window_cmd_escape):
2205 Exit from fullscreen mode when switch to presentation. Fix for
2208 2005-07-02 Matthew S. Wilson <msw@rpath.com>
2210 * shell/ev-pixbuf-cache.c (ev_pixbuf_cache_get_selection_pixbuf):
2211 return NULL if the document does not implement the selection
2214 2005-07-02 Matthew S. Wilson <msw@rpath.com>
2216 * tiff/tiff-document.c (tiff_document_get_page_size): scale the
2217 reported height by using the resolution aspect ratio
2218 (tiff_document_render_pixbuf): scale the pixbuf using the
2219 resolution aspect ratio
2221 2005-07-01 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2225 Require libgnomeprint >= 2.5.1. Thanks to Colin Slater
2226 <kiltedaco@gmail.com>
2228 * djvu/djvu-document.c: (djvu_document_get_orientation),
2229 (djvu_document_set_orientation), (djvu_document_get_page_size),
2230 (rotate_pixbuf), (djvu_document_render_pixbuf),
2231 (djvu_document_document_iface_init):
2232 * dvi/dvi-document.c: (dvi_document_get_orientation),
2233 (dvi_document_set_orientation), (dvi_document_get_page_size),
2234 (rotate_pixbuf), (dvi_document_render_pixbuf),
2235 (dvi_document_document_iface_init):
2237 Dvi and djvu backends are ported to new API
2239 Fri Jul 1 00:10:15 2005 Jonathan Blandford <jrb@redhat.com>
2241 * backend/ev-selection.c: (ev_selection_get_selection_region),
2242 (ev_selection_get_selection_map):
2243 * backend/ev-selection.h:
2244 * pdf/ev-poppler.cc:
2245 * shell/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
2247 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info),
2248 (job_finished_cb), (copy_job_to_job_info), (add_job_if_needed),
2249 (ev_pixbuf_cache_get_text_mapping):
2250 * shell/ev-pixbuf-cache.h:
2251 * shell/ev-view.c: (location_in_text),
2252 (ev_view_motion_notify_event), (ev_view_set_cursor): Add I-Beam
2253 support to EvView. Now we can see where we can select! Sweet!
2255 2005-06-30 Kristian Høgsberg <krh@redhat.com>
2257 * shell/ev-view.c (ev_view_button_press_event): Fix
2258 event->y + view->scroll_x typo.
2260 2005-06-30 Kristian Høgsberg <krh@redhat.com>
2262 * pdf/ev-poppler.cc: Adjust to poppler API changes; use a
2263 sub-GdkPixbuf instead of passing dest_x and dest_y.
2265 * shell/ev-view.c: (view_point_to_doc_point),
2266 (view_rect_to_doc_rect), (ev_view_button_press_event),
2267 (ev_view_motion_notify_event), (compute_new_selection_rect),
2268 (gdk_rectangle_point_in), (compute_new_selection_text),
2269 (compute_selections): Update selection code to keep the selection
2270 around as two points and not as a normalized rectangle, and fix
2271 page level selection in two-column mode.
2273 2005-06-30 Alex Duggan <aldug@astrolinux.com>
2275 * shell/ev-window.c: (window_configure_event_cb):
2279 2005-06-30 Marco Pesenti Gritti <mpg@redhat.com>
2281 * pdf/ev-poppler.cc:
2285 2005-06-30 Marco Pesenti Gritti <mpg@redhat.com>
2287 * shell/Makefile.am:
2288 * shell/ev-metadata-manager.c: (item_free),
2289 (ev_metadata_manager_init), (ev_metadata_manager_shutdown),
2290 (parse_value), (parseItem), (load_values),
2291 (ev_metadata_manager_get), (value_free), (ev_metadata_manager_set),
2292 (save_values), (save_item), (get_oldest), (resize_items),
2293 (ev_metadata_manager_save), (ev_metadata_manager_set_int):
2294 * shell/ev-metadata-manager.h:
2296 Metadata manager from gedit but modified to use GValue, so that
2297 we dont need to keep converting from strings.
2301 ENABLE_METADATA conditional, on when dbus is on
2303 * shell/ev-application.c: (ev_application_open_uri):
2305 Show the window after load so that we can initialize
2306 window size before it's showed.
2308 * shell/ev-window.c: (ev_window_setup_from_metadata),
2309 (ev_window_open_uri), (window_configure_event_cb),
2312 Save and load metadata information about window size.
2313 Not yet keeping states in account.
2315 * shell/main.c: (main):
2317 Shutdown metadata manager.
2319 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
2321 * shell/ev-application-service.xml:
2323 * shell/Makefile.am:
2324 * shell/ev-application.c:
2325 * shell/ev-application.h:
2326 * shell/ev-window.c:
2327 * shell/ev-window.h:
2330 Add an optional dbus interface (--enable-dbus).
2331 Rework application code, mainly to be easier to
2333 Do not open multiple windows with the same document,
2336 Thu Jun 30 01:50:14 2005 Jonathan Blandford <jrb@redhat.com>
2338 * shell/ev-pixbuf-cache.c (clear_selection_if_needed): unref the
2339 pixbuf iff it exists.
2341 Thu Jun 30 01:43:00 2005 Jonathan Blandford <jrb@redhat.com>
2344 * backend/ev-render-context.[ch]:
2345 * backend/ev-selection.[ch]:
2347 Massive changes. We now support text selection of pdfs, and not
2348 just rectangular selection. This is pretty broken still, but I
2349 want to get something into CVS.
2351 2005-06-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2353 * pdf/ev-poppler.cc:
2355 Fix for Bug 309080: crash on window close.
2357 * shell/ev-page-action.c: (page_changed_cb):
2359 Fix for Bug 309168: Fix build with gcc 2.95. Thanks to
2360 jensgr@gmx.net (Jens Granseuer).
2362 2005-06-25 Marcel Telka <marcel@telka.sk>
2364 * configure.in (ALL_LINGUAS): Added sk.
2366 2005-06-24 Carlos Garcia Campos <carlosgc@gnome.org>
2368 * shell/ev-window.c: Make rotate menu entries unsensitive if there is
2371 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
2378 * cut-n-paste/recent-files/Makefile.am:
2382 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
2384 * pixbuf/pixbuf-document.c: (pixbuf_document_get_orientation),
2385 (pixbuf_document_set_orientation), (rotate_pixbuf),
2386 (pixbuf_document_get_page_size), (pixbuf_document_render_pixbuf),
2387 (pixbuf_document_document_iface_init), (pixbuf_document_init):
2389 Implement rotation and cleanup the code a bit.
2391 * tiff/tiff-document.c: (tiff_document_get_page_size),
2392 (tiff_document_get_orientation), (tiff_document_set_orientation),
2393 (rotate_pixbuf), (tiff_document_render_pixbuf),
2394 (tiff_document_document_iface_init), (tiff_document_init):
2396 Implement rotation. Was the quicker solution for the release
2397 but we really need to share this code in the shell.
2399 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
2401 * pdf/ev-poppler.cc:
2403 Enable rotation, require poppler cvs. Fix a leak.
2405 2005-06-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2407 * shell/ev-window.c: (update_action_sensitivity):
2409 Make properties unsensitive if document backend doesn't provide
2412 2005-06-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2414 * dvi/mdvi-lib/bitmap.c: (bitmap_alloc), (bitmap_alloc_raw),
2415 (bitmap_flip_horizontally), (bitmap_flip_vertically),
2416 (bitmap_flip_diagonally), (bitmap_rotate_clockwise),
2417 (bitmap_rotate_counter_clockwise), (bitmap_flip_rotate_clockwise),
2418 (bitmap_flip_rotate_counter_clockwise):
2419 * dvi/mdvi-lib/color.c: (mdvi_push_color), (get_color_table):
2420 * dvi/mdvi-lib/common.c: (read_string), (buff_free), (buff_add),
2422 * dvi/mdvi-lib/common.h:
2423 * dvi/mdvi-lib/dvimisc.c: (mdvi_push_color):
2424 * dvi/mdvi-lib/dviread.c: (get_bytes), (dreset), (define_font),
2425 (opendvi), (mdvi_reload), (mdvi_init_context),
2426 (mdvi_destroy_context), (mdvi_dopage), (special):
2427 * dvi/mdvi-lib/font.c: (font_drop_one), (font_free_unused):
2428 * dvi/mdvi-lib/fontmap.c: (read_encoding), (destroy_encoding),
2429 (file_hash_free), (register_encoding), (parse_spec),
2430 (mdvi_load_fontmap), (free_ent), (mdvi_init_fontmaps),
2431 (mdvi_add_fontmap_file), (mdvi_ps_read_fontmap),
2432 (mdvi_ps_flush_fonts), (mdvi_ps_find_font), (mdvi_ps_get_metrics):
2433 * dvi/mdvi-lib/fontsrch.c: (mdvi_list_font_class),
2434 (mdvi_register_font_type), (mdvi_unregister_font_type),
2435 (lookup_font), (mdvi_add_font), (mdvi_font_retry):
2436 * dvi/mdvi-lib/gf.c: (gf_read_bitmap), (gf_load_font):
2437 * dvi/mdvi-lib/hash.c: (mdvi_hash_remove), (mdvi_hash_remove_ptr),
2438 (mdvi_hash_destroy_key), (mdvi_hash_reset):
2439 * dvi/mdvi-lib/pagesel.c: (mdvi_parse_range),
2440 (mdvi_parse_page_spec), (mdvi_free_page_spec), (main):
2441 * dvi/mdvi-lib/paper.c: (mdvi_free_paper_specs):
2442 * dvi/mdvi-lib/pk.c: (pk_lookup), (pk_lookupn), (pk_load_font):
2443 * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
2444 * dvi/mdvi-lib/special.c: (mdvi_register_special),
2445 (mdvi_unregister_special), (mdvi_flush_specials):
2446 * dvi/mdvi-lib/t1.c: (t1_lookup_font), (t1_really_load_font),
2448 * dvi/mdvi-lib/tfm.c: (get_tfm_chars):
2449 * dvi/mdvi-lib/tfmfile.c: (afm_load_file), (tfm_load_file),
2450 (ofm1_load_file), (ofm_load_file), (get_font_metrics),
2451 (free_font_metrics), (flush_font_metrics):
2452 * dvi/mdvi-lib/tt.c: (tt_really_load_font), (tt_get_bitmap),
2454 * dvi/mdvi-lib/util.c: (mdvi_malloc), (mdvi_realloc),
2455 (mdvi_calloc), (mdvi_free), (mdvi_strdup), (mdvi_strncpy),
2456 (mdvi_strndup), (mdvi_memdup), (xstradd), (dstring_append),
2457 (dstring_insert), (dstring_new), (dstring_reset):
2458 * dvi/mdvi-lib/vf.c: (vf_load_font), (vf_free_macros):
2460 Rename xmalloc and xfree to mdvi_malloc and mdvi_free to
2461 avoid conflict with libtool on FC4
2463 * shell/ev-window.c: (ev_window_cmd_help_about):
2465 Update copyright year. Fix for bug 308828.
2467 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
2469 * shell/ev-view.c: (add_scroll_binding_keypad),
2470 (ev_view_binding_activated), (ev_view_class_init),
2471 (on_adjustment_value_changed):
2473 Bug 170874: Arrow keys switch pages in presentation mode
2475 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
2477 * shell/ev-window.c: (ev_window_sidebar_visibility_changed_cb):
2479 Fix for Bug 308265: Sidebar dissappears coming out of
2482 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
2484 * shell/ev-application.c: (ev_application_open):
2485 * shell/ev-document-types.c: (ev_document_types_add_filters),
2486 (ev_document_types_add_filters_for_type):
2487 * shell/ev-document-types.h:
2488 * shell/ev-window.c: (ev_window_cmd_save_as):
2490 Suggest basename as template when saving, provide filters
2491 for save dialog. It's bug 308402
2493 2005-06-20 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2495 * pdf/ev-poppler.cc:
2496 * shell/ev-sidebar-links.c: (job_finished_callback):
2497 * shell/ev-view.c: (update_find_status_message):
2501 2005-06-19 Christian Persch <chpe@cvs.gnome.org>
2503 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
2504 (egg_recent_view_uimanager_set_list):
2506 Fix buglet in !show_numbers case.
2508 2005-06-19 Christian Persch <chpe@cvs.gnome.org>
2510 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
2511 (connect_proxy_cb), (egg_recent_view_uimanager_set_list):
2513 Use pango ellipsisation.
2515 * pdf/ev-poppler.cc:
2517 Fix refcount leak, from nsh.
2519 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2521 * cut-n-paste/recent-files/Makefile.am:
2522 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
2523 * cut-n-paste/recent-files/egg-recent-view-gtk.h:
2525 Removed EggRecentViewGtk
2527 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
2528 * cut-n-paste/recent-files/egg-recent-view-uimanager.h:
2529 * shell/ev-window.c: (ev_window_cmd_recent_file_activate),
2530 (ev_window_setup_recent):
2532 Use ViewUIManager instead of ViewGtk. Less leaks, more compatibility
2535 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2537 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
2538 (egg_recent_view_gtk_finalize):
2542 * cut-n-paste/toolbar-editor/Makefile.am:
2544 Fix location of cursor icon.
2546 * pdf/ev-poppler.cc:
2547 * shell/ev-page-action.c: (build_new_tree_cb), (match_selected_cb),
2548 (display_completion_text), (match_completion):
2549 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
2550 (selection_changed_callback), (create_loading_model),
2551 (print_section_cb), (links_page_num_func),
2552 (update_page_callback_foreach):
2553 * shell/ev-window.c: (ev_window_dispose):
2555 Small memory fixes. Links model now store objects instead
2556 of pointers to improve memory management.
2558 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2560 * shell/ev-window.c: (zoom_control_changed_cb):
2562 Fix update of zoom control (bug 308268).
2564 Sat Jun 18 22:46:42 2005 Jonathan Blandford <jrb@redhat.com>
2566 * shell/ev-properties.c (set_property): escape the text correctly.
2567 Handles non-UTF-8 properties and escaped properties. Also, sets
2568 the text to "<i>None</i>" if the property isn't set.
2570 * data/evince-properties.glade: Change the label to be ellipsized,
2571 and give it a minimum size.
2573 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2575 * lib/ev-file-helpers.c: (ev_file_helpers_shutdown):
2576 * shell/ev-sidebar-links.c: (create_loading_model):
2577 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose):
2578 * shell/ev-view.c: (ev_view_set_document):
2579 * shell/ev-window.c: (ev_window_dispose):
2581 Various small fixes, mostly memory leaks. Thanks to valgrind.
2583 2005-06-19 Martin Kretzschmar <martink@gnome.org>
2585 * ps/ps-document.c: remove the locale.h include again ;-). And
2586 kill the (bogus) setlocale/savelocale business.
2588 2005-06-19 Jaap A. Haitsma <jaap@haitsma.org>
2592 Include locale.h to fix build
2594 * shell/ev-sidebar.c:
2596 Remove unnecessary includes
2598 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2600 * dvi/dvi-document.c: (dvi_document_load):
2601 * dvi/mdvi-lib/dviread.c: (mdvi_init_context):
2604 Check for incorrect dvi files. Fix parsing dvi on AMD64
2605 platform. Thanks to tester@tester.ca (Olivier Crete).
2607 2005-06-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2609 * shell/ev-page-action.c: (match_selected_cb),
2610 (display_completion_text), (match_completion), (update_model):
2611 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
2612 (expand_open_links):
2613 * shell/ev-sidebar.c: (ev_sidebar_destroy),
2614 (ev_sidebar_menu_item_activate_cb), (ev_sidebar_add_page),
2615 (ev_sidebar_set_document):
2616 * shell/ev-window.c: (ev_window_xfer_job_cb),
2617 (sidebar_widget_model_set), (sidebar_page_main_widget_update_cb):
2619 Fixed lot's of memory leaks, for example, memory leak on reload,
2620 described in bug 307793.
2622 2005-06-18 Marco Pesenti Gritti <mpg@redhat.com>
2624 * pdf/ev-poppler.cc:
2625 * shell/ev-sidebar-thumbnails.c: (clear_range), (add_range),
2626 (update_visible_range), (adjustment_changed_cb),
2627 (ev_sidebar_thumbnails_fill_model),
2628 (ev_sidebar_thumbnails_refresh),
2629 (ev_sidebar_tree_selection_changed),
2630 (ev_sidebar_icon_selection_changed),
2631 (ev_sidebar_thumbnails_use_icon_view),
2632 (ev_sidebar_thumbnails_set_document):
2633 * shell/ev-sidebar-thumbnails.h:
2634 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
2635 (ev_window_cmd_edit_rotate_right), (ev_window_init):
2637 Refresh thumbnails when changing orientation. Not fully
2638 working yet becuase of a sidebar bug.
2640 Set page orientation to poppler page everywhere. This sucks
2641 really need to fix poppler.
2643 2005-06-18 Marco Pesenti Gritti <mpg@redhat.com>
2645 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
2646 (egg_recent_view_gtk_new_menu_item),
2647 (egg_recent_view_gtk_set_property),
2648 (egg_recent_view_gtk_get_property),
2649 (egg_recent_view_gtk_class_init), (egg_recent_view_gtk_init),
2650 (egg_recent_view_gtk_set_tooltip_func),
2651 (egg_recent_view_gtk_set_label_width),
2652 (egg_recent_view_gtk_get_label_width):
2653 * cut-n-paste/recent-files/egg-recent-view-gtk.h:
2655 Sync with libegg (ellipsize labels)
2657 2005-06-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2659 * data/evince-ui.xml:
2660 * shell/ev-window.c: (ev_window_cmd_go_forward),
2661 (ev_window_cmd_go_backward):
2663 Shift + PageUp moves 10 Pages. Fix for 306125
2665 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
2667 * pdf/ev-poppler.cc:
2669 Add a flag to check if orientation has been overriden
2671 2005-06-17 Martin Kretzschmar <martink@gnome.org>
2673 * ps/ps.c (psscan, psfree): read "Creator:" comment, free creator
2676 * ps/ps.h: add creator field to document.
2678 * ps/ps-document.c (ps_document_get_info): set format to PostScript,
2681 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
2683 * data/evince-properties.glade:
2684 * shell/ev-properties.c: (ev_properties_set_document):
2686 s/PDF Version/Format
2688 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
2690 * shell/ev-properties.c: (ev_properties_set_document):
2692 Remove unnecessary translations
2694 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
2696 * cut-n-paste/toolbar-editor/Makefile.am:
2698 Correct library name
2700 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
2703 * cut-n-paste/recent-files/egg-recent-model.c:
2704 (egg_recent_model_write_raw), (egg_recent_model_lock_file),
2705 (egg_recent_model_unlock_file):
2706 * cut-n-paste/recent-files/egg-recent-util.c:
2707 (egg_recent_util_get_unique_id):
2708 * cut-n-paste/recent-files/update-from-egg.sh:
2709 * cut-n-paste/toolbar-editor/Makefile.am:
2710 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
2711 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
2712 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
2713 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
2714 (egg_toolbars_model_get_type):
2715 * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
2717 Better makefile for toolbar editor and update everything
2720 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
2722 * shell/ev-window.c: (update_document_mode):
2724 Prefer presentation mode when the document
2727 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
2729 * data/evince-ui.xml:
2730 * shell/ev-window.c:
2732 Add control-equal for zooming
2734 2005-06-17 Theppitak Karoonboonyanan <thep@linux.thai.net>
2736 * configure.ac: Added 'th' (Thai) to ALL_LINGUAS.
2738 2005-06-16 Marco Pesenti Gritti <mpg@redhat.com>
2740 * backend/ev-document.c: (ev_document_get_orientation):
2741 * backend/ev-document.h:
2742 * pdf/ev-poppler.cc:
2743 * ps/ps-document.c: (ps_document_get_orientation),
2744 (ps_document_set_orientation), (ps_document_document_iface_init):
2746 Add a get_orientation api. Improve set_orientation.
2748 * data/evince-ui.xml:
2749 * shell/ev-view.c: (ev_view_set_orientation),
2750 (ev_view_rotate_right), (ev_view_rotate_left):
2752 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
2753 (ev_window_cmd_edit_rotate_right):
2755 Better ui for changing document orientation
2757 2005-06-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2759 * shell/ev-sidebar-links.c: (ev_sidebar_links_get_property),
2760 (ev_sidebar_links_class_init), (ev_sidebar_links_get_label):
2761 * shell/ev-sidebar-links.h:
2762 * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
2763 (ev_sidebar_page_iface_init):
2764 * shell/ev-sidebar-page.h:
2765 * shell/ev-sidebar-thumbnails.c:
2766 (ev_sidebar_thumbnails_get_property),
2767 (ev_sidebar_thumbnails_class_init),
2768 (ev_sidebar_thumbnails_set_document):
2769 * shell/ev-sidebar-thumbnails.h:
2770 * shell/ev-view.c: (ev_view_motion_notify_event):
2771 * shell/ev-window.c: (update_chrome_visibility),
2772 (ev_window_cmd_focus_page_selector),
2773 (ev_window_update_fullscreen_popup), (view_actions_focus_in_cb),
2774 (sidebar_page_main_widget_update_cb), (ev_window_init):
2776 Autoraise toolbar on GoToPage binding and fix bindings in
2777 EvSidebarThumbnails page.
2779 2005-06-15 Christian Persch <chpe@cvs.gnome.org>
2781 * shell/ev-properties.c: (update_progress_label):
2783 Hide the progress label when finished; bug #307697.
2785 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
2787 * pdf/ev-poppler.cc:
2789 Enable is_open for links, you will need poppler cvs
2791 * shell/ev-properties.c: (job_fonts_finished_cb):
2793 Get a lock on the document when filling the tree view
2795 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
2797 * backend/ev-document-links.h:
2798 * pdf/ev-poppler.cc:
2799 * shell/ev-sidebar-links.c: (create_loading_model),
2800 (expand_open_links), (job_finished_callback):
2802 Expand links when specified by the document.
2803 Depend on a poppler api (defined out for now)
2805 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
2807 * shell/ev-properties.c: (ev_properties_dispose),
2808 (ev_properties_class_init), (dialog_destroy_cb),
2809 (ev_properties_init), (job_fonts_finished_cb), (setup_fonts_view),
2810 (ev_properties_set_document), (ev_properties_new),
2811 (ev_properties_show):
2812 * shell/ev-properties.h:
2814 Make it an object, cleanup the code, api to show it as transient
2815 and to set the document.
2817 * shell/ev-window.c: (ev_window_setup_document),
2818 (ev_window_cmd_file_properties):
2820 Adapt to EvProperties changes, do not show multiple
2821 times, update it when document changes.
2823 2005-06-14 Marco Pesenti Gritti <mpg@redhat.com>
2826 * ps/ps-document.c: (ps_document_init), (get_page_orientation),
2827 (ps_document_set_orientation), (ps_document_document_iface_init):
2830 Implement orientation here too
2832 * shell/ev-properties.c: (ev_properties_new):
2833 * data/evince-properties.glade:
2835 Hide the fonts page for backends that doesnt
2838 2005-06-14 Marco Pesenti Gritti <mpg@redhat.com>
2840 * backend/ev-document.c: (ev_document_set_orientation):
2841 * backend/ev-document.h:
2842 * pdf/ev-poppler.cc:
2844 Add orientation api. Currently poppler api is not optimal,
2845 we need to set orientation every time we _get a page.
2846 I will try to fix that at some point.
2848 * data/evince-ui.xml:
2849 * shell/ev-window.c: (ev_window_cmd_edit_landscape),
2850 (ev_window_cmd_edit_portrait), (ev_window_cmd_edit_flip):
2852 Add orientation menu items
2854 * shell/ev-page-cache.c: (ev_page_cache_clear):
2855 * shell/ev-page-cache.h:
2857 Add api to clear the cache
2859 * shell/ev-view.c: (setup_caches), (clear_caches),
2860 (ev_view_set_document), (ev_view_zoom_out),
2861 (ev_view_set_orientation):
2864 Implement orientation changing
2866 2005-06-13 Marco Pesenti Gritti <mpg@redhat.com>
2868 * backend/ev-document-fonts.c: (ev_document_fonts_get_progress),
2869 (ev_document_fonts_scan), (ev_document_fonts_fill_model):
2870 * backend/ev-document-fonts.h:
2872 Separate scan and fill so that we can incrementally fill from
2873 the main thread. Add a progress api.
2875 * data/evince-properties.glade:
2876 * pdf/ev-poppler.cc:
2877 * shell/ev-jobs.c: (ev_job_fonts_new), (ev_job_fonts_run):
2879 * shell/ev-properties.c: (update_progress_label),
2880 (job_fonts_finished_cb), (setup_fonts_view):
2882 Incrementally feel the list and show the progress
2883 percentage in a label like acrobat does.
2885 You are going to need poppler cvs
2887 2005-06-11 Marco Pesenti Gritti <mpg@redhat.com>
2889 * backend/ev-document-fonts.c: (ev_document_fonts_fill_model):
2890 * backend/ev-document-fonts.h:
2891 * pdf/ev-poppler.cc:
2893 Make fonts model fill incrementally.
2895 * shell/ev-job-queue.c: (handle_job), (search_for_jobs_unlocked),
2896 (no_jobs_available_unlocked), (ev_job_queue_init), (find_queue),
2897 (ev_job_queue_remove_job):
2898 * shell/ev-jobs.c: (ev_job_fonts_init), (ev_job_fonts_class_init),
2899 (ev_job_fonts_new), (ev_job_fonts_run):
2902 New job for fonts scanning
2904 * shell/ev-properties.c: (job_fonts_finished_cb),
2905 (fill_fonts_treeview), (setup_fonts_view), (ev_properties_new):
2906 * shell/ev-properties.h:
2907 * shell/ev-window.c: (ev_window_cmd_file_properties):
2909 Incrementally feel the treeview using the new job. Show Loading...
2910 message until scanning is completed.
2912 Hopefully I didnt break the build without the poppler patch.
2914 2005-06-10 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2916 * shell/ev-application.c: (ev_application_open):
2917 * shell/ev-document-types.c: (ev_document_type_from_from_mime),
2918 (ev_document_type_get_type), (ev_document_type_lookup):
2919 * shell/ev-document-types.h:
2920 * shell/ev-job-xfer.c: (ev_job_xfer_dispose), (ev_job_xfer_run):
2921 * shell/ev-job-xfer.h:
2922 * shell/ev-window.c: (ev_window_clear_local_uri),
2923 (ev_window_load_job_cb), (ev_window_xfer_job_cb),
2924 (ev_window_open_uri), (ev_window_add_recent), (ev_window_dispose):
2925 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
2927 Transfer remote documents to tmp directory to display them later.
2929 2005-06-10 Marco Pesenti Gritti <mpg@redhat.com>
2931 * backend/ev-document-info.h:
2932 * shell/ev-properties.c: (ev_properties_new):
2934 s/GTime*/GTime. Not sure why we was using a pointer
2937 Wed Jun 8 01:04:22 2005 Jonathan Blandford <jrb@redhat.com>
2939 * shell/ev-sidebar-thumbnails.c: Use a GtkIconView in certain
2940 situations. That situation is that you're using GTK+-HEAD with
2941 the patch at #306726 is applied, and you have a document with <
2942 1500 pages in it. It's not quite as uniformly nice as the
2943 TreeView, but should be better in the long run.
2945 I'm pretty sure I guarded against breaking compilation with
2946 HAVE_GTK_ICON_VIEW_GET_VISIBLE_RANGE gaurds, though it's possible
2949 * shell/ev-window.c (ev_window_init): We don't have our tree/list
2950 widget yet, so I commented that code out
2951 enable_view_actions_for_widget() for now. Need to figure this
2954 * shell/ev-page-action.c (match_selected_cb): emit the right
2955 signals. Our cool C-l completion now works.
2957 2005-06-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2959 * backend/Makefile.am:
2960 * backend/ev-document-fonts.c:
2961 * backend/ev-document-links.c:
2962 * backend/ev-document.c: (ev_document_load):
2963 * backend/ev-document.h:
2964 * backend/ev-job-queue.c:
2965 * backend/ev-job-queue.h:
2966 * backend/ev-jobs.c:
2967 * backend/ev-jobs.h:
2968 * backend/ev-page-cache.c:
2969 * backend/ev-page-cache.h:
2971 EvPageCache and EvJobs are moved to shell.
2973 * lib/ev-file-helpers.c: (ev_file_helpers_shutdown),
2975 * lib/ev-file-helpers.h:
2977 New helper to work with temporary files
2979 * shell/Makefile.am:
2980 * shell/ev-application.c: (ev_application_open):
2981 * shell/ev-application.h:
2982 * shell/ev-job-queue.c: (remove_job_from_queue_locked),
2983 (remove_job_from_async_queue), (add_job_to_async_queue),
2984 (add_job_to_queue_locked), (notify_finished), (job_finished_cb),
2985 (handle_job), (search_for_jobs_unlocked),
2986 (no_jobs_available_unlocked), (ev_render_thread),
2987 (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
2988 (ev_job_queue_add_job), (move_job_async), (move_job),
2989 (ev_job_queue_update_job), (ev_job_queue_remove_job):
2990 * shell/ev-job-queue.h:
2991 * shell/ev-job-xfer.c: (ev_job_xfer_init), (ev_job_xfer_dispose),
2992 (ev_job_xfer_class_init), (ev_job_xfer_new), (ev_job_xfer_run):
2993 * shell/ev-job-xfer.h:
2994 * shell/ev-jobs.c: (ev_job_init), (ev_job_dispose),
2995 (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
2996 (ev_job_links_class_init), (ev_job_render_init),
2997 (ev_job_render_dispose), (ev_job_render_class_init),
2998 (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
2999 (ev_job_thumbnail_class_init), (ev_job_load_init),
3000 (ev_job_load_dispose), (ev_job_load_class_init), (ev_job_finished),
3001 (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
3002 (render_finished_cb), (ev_job_render_run), (ev_job_thumbnail_new),
3003 (ev_job_thumbnail_run), (ev_job_load_new), (ev_job_load_run):
3005 * shell/ev-page-action.c: (ev_page_action_set_document):
3006 * shell/ev-page-cache.c: (ev_page_cache_init),
3007 (ev_page_cache_class_init), (ev_page_cache_finalize),
3008 (ev_page_cache_new), (ev_page_cache_get_n_pages),
3009 (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
3010 (ev_page_cache_set_page_label), (ev_page_cache_set_link),
3011 (ev_page_cache_get_title), (ev_page_cache_get_size),
3012 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
3013 (ev_page_cache_get_height_to_page),
3014 (ev_page_cache_get_max_label_chars),
3015 (ev_page_cache_get_page_label),
3016 (ev_page_cache_has_nonnumeric_page_labels),
3017 (ev_page_cache_get_info), (ev_page_cache_next_page),
3018 (ev_page_cache_prev_page), (ev_page_cache_get):
3019 * shell/ev-page-cache.h:
3020 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_update_range),
3021 (ev_pixbuf_cache_clear_job_sizes),
3022 (ev_pixbuf_cache_add_jobs_if_needed),
3023 (ev_pixbuf_cache_set_page_range):
3024 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings):
3025 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document):
3026 * shell/ev-sidebar-thumbnails.c:
3027 (ev_sidebar_tree_selection_changed),
3028 (ev_sidebar_thumbnails_set_document):
3029 * shell/ev-statusbar.c: (ev_statusbar_destroy),
3030 (ev_statusbar_class_init), (ev_statusbar_init), (ev_statusbar_new),
3031 (ev_statusbar_get_context_id), (ev_statusbar_push),
3032 (ev_statusbar_pop), (ev_statusbar_set_maximized),
3033 (ev_statusbar_pulse), (ev_statusbar_show_progress),
3034 (ev_statusbar_set_progress):
3035 * shell/ev-statusbar.h:
3036 * shell/ev-view.c: (ev_view_set_document), (ev_view_find_next),
3037 (ev_view_find_previous):
3038 * shell/ev-window.c: (ev_window_is_empty),
3039 (ev_window_setup_document), (password_dialog_response),
3040 (ev_window_clear_jobs), (ev_window_load_job_cb),
3041 (ev_window_xfer_job_cb), (ev_window_open_uri),
3042 (ev_window_open_uri_list), (ev_window_cmd_recent_file_activate),
3043 (ev_window_print), (ev_window_print_range),
3044 (ev_window_state_event), (ev_window_cmd_view_reload),
3045 (menu_item_select_cb), (menu_item_deselect_cb),
3046 (view_status_changed_cb), (ev_window_dispose),
3047 (drag_data_received_cb), (ev_window_init):
3048 * shell/ev-window.h:
3049 * shell/main.c: (load_files):
3051 New statusbar to show progress on idle. Two new jobs -
3052 xfer job and load job to load document in background. And update
3053 of page_cache clients to new location of code.
3055 2005-06-08 Carlos Garcia Campos <carlosgc@gnome.org>
3057 * shell/ev-application.c, shell/ev-window.[ch]: Allow multiple
3058 selection in open dialog. It also remembers the last visited directory
3059 in the current session.
3061 2005-06-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3063 * shell/ev-properties.c: (ev_properties_new):
3064 * shell/ev-properties.h:
3065 * shell/ev-window.c: (ev_window_cmd_file_properties):
3067 Get document info from page cache instead of document itself.
3068 This should fix crash related to race conditions described in
3071 2005-06-07 Marco Pesenti Gritti <mpg@redhat.com>
3073 * ps/ps-document.c: (ps_document_init),
3074 (send_ps), (get_page_box), (output), (catchPipe), (input),
3075 (stop_interpreter), (file_length), (file_readable),
3076 (check_filecompressedb), (ps_document_enable_interpreter),
3077 (document_load), (ps_async_renderer_render_pixbuf):
3080 Big cleanup of the ps code
3082 2005-06-07 Marco Pesenti Gritti <mpg@redhat.com>
3084 * backend/Makefile.am:
3085 * backend/ev-async-renderer.c: (ev_async_renderer_get_type),
3086 (ev_async_renderer_class_init), (ev_async_renderer_render_pixbuf):
3087 * backend/ev-async-renderer.h:
3089 Add an async renderer interface (method + callback) which
3090 is useful for backends like ps.
3092 * backend/ev-job-queue.c: (remove_job_from_async_queue),
3093 (add_job_to_async_queue), (job_finished_cb), (handle_job),
3094 (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
3095 (ev_job_queue_add_job), (move_job_async), (move_job),
3096 (ev_job_queue_update_job), (ev_job_queue_remove_job):
3098 Add queues for async renderer, these are executed on the
3101 * backend/ev-jobs.c: (ev_job_render_new), (render_finished_cb),
3102 (ev_job_render_run):
3103 * backend/ev-jobs.h:
3105 If the backend support async renderer interface use it.
3107 * ps/ps-document.c: (ps_document_init), (push_pixbuf),
3108 (setup_pixmap), (ps_document_get_type),
3109 (ps_async_renderer_render_pixbuf),
3110 (ps_document_document_iface_init), (ps_async_renderer_iface_init):
3112 Implement async renderer interface.
3114 2005-06-07 Nickolay V. Shmyrev <<nshmyrev@yandex.ru>>
3116 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose):
3118 Cleanup links job on exit.
3120 2005-06-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3122 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
3123 (drag_data_get_cb), (drag_data_received_cb):
3124 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
3125 (drag_data_get_cb), (parse_item_list),
3126 (egg_toolbar_editor_load_actions):
3127 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
3128 (egg_toolbars_model_to_xml), (egg_toolbars_model_save),
3129 (parse_item_list), (parse_toolbars):
3130 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
3131 (dvi_pixbuf_put_pixel):
3133 Fix gcc 4.0 warnings
3135 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
3137 * ps/ps-document.c: (start_interpreter):
3139 Fix warning when loading ps
3141 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
3143 * ps/ps-document.c: (output):
3145 Fix crash when priting gs error messages.
3147 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
3149 * backend/ev-page-cache.c: (_ev_page_cache_new):
3150 * backend/ev-page-cache.h:
3152 Use a const to return title so that we dont double
3153 free it. Small cleanup and fix a leak.
3155 * shell/ev-window.c: (update_window_title):
3157 strdup value from get_title.
3159 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
3161 * shell/ev-sidebar-links.c: (job_finished_callback),
3162 (ev_sidebar_links_set_document):
3164 Cleanup the old job when changing document
3166 2005-06-05 Nickolay V. Shmyrev <<nshmyrev@yandex.ru>>
3168 * shell/ev-stock-icons.c:
3169 * shell/ev-stock-icons.h:
3170 * shell/ev-window.c:
3172 Add stock icons for actions that can appear in toolbar. Fix for
3175 2005-06-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3177 * backend/ev-page-cache.c: (ev_page_cache_finalize),
3178 (_ev_page_cache_new), (ev_page_cache_get_max_width),
3179 (ev_page_cache_get_max_height), (ev_page_cache_get_height_to_page):
3180 * backend/ev-page-cache.h:
3181 * shell/ev-view.c: (scroll_to_current_page),
3182 (view_update_range_and_current_page), (get_page_y_offset),
3183 (get_page_extents), (ev_view_size_request_continuous_dual_page),
3184 (ev_view_size_request_continuous),
3185 (ev_view_zoom_for_size_continuous_and_dual_page),
3186 (ev_view_zoom_for_size_continuous):
3188 More compact EvView layout in document with pages of different size.
3190 Sat Jun 4 19:20:57 2005 Jonathan Blandford <jrb@redhat.com>
3192 * shell/ev-window.c (ev_window_cmd_file_properties): fix
3195 2005-06-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3197 * shell/ev-view.c: (view_set_adjustment_values):
3198 * shell/ev-window.c: (ev_window_cmd_file_properties):
3200 A bit different fix for rounding problem but it has no
3201 problems on startup. Make properties window transient to parent.
3203 2005-06-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3205 * pdf/ev-poppler.cc:
3207 More commenting of font stuff.
3209 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
3211 * pdf/ev-poppler.cc:
3213 Comment out some more fonts stuff. Should really
3214 work without the poppler patch now.
3216 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
3218 * pdf/ev-poppler.cc:
3222 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
3224 * data/evince-properties.glade:
3225 * pdf/ev-poppler.cc:
3226 * shell/ev-properties.c: (setup_fonts_view):
3228 Set the column title. Show the dialog only
3229 once everything is setup.
3230 Getting font info can be very slow... will
3231 prolly need to make this threaded too.
3233 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
3235 * backend/Makefile.am:
3236 * backend/ev-document-fonts.c: (ev_document_fonts_get_type),
3237 (ev_document_fonts_get_fonts_model):
3238 * backend/ev-document-fonts.h:
3239 * data/evince-properties.glade:
3240 * pdf/ev-poppler.cc:
3241 * shell/ev-properties.c: (setup_fonts_view), (ev_properties_new):
3242 * shell/ev-properties.h:
3243 * shell/ev-window.c: (ev_window_cmd_file_properties):
3245 Implement fonts list. Defined out for now, since it depends
3246 on a not yet committed poppler patch.
3248 Fri Jun 3 21:07:57 2005 Jonathan Blandford <jrb@redhat.com>
3250 * shell/ev-view.c (get_page_extents): other_page isn't necessarily
3253 * shell/ev-window.c: Make sure we add the timeout when we get a
3256 * shell/ev-view.c (view_set_adjustment_values): Add 0.5 to
3257 adjustment->value before calculating the zoom factor to average
3258 out all of our rounding errors. The page no longer 'drifts' when
3261 2005-06-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3263 * data/evince-properties.glade:
3264 * shell/ev-properties.c: (ev_properties_format_date),
3267 Labels don't expand when the dialogue is resized.
3268 strftime result needs to be converted to UTF-8. Thanks
3269 to Christian Persch <chpe@gnome.org>.
3271 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
3273 * data/evince-properties.glade:
3277 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
3279 * backend/ev-document-info.h:
3280 * backend/ev-document.c: (ev_document_info_free):
3281 * data/evince-properties.glade:
3282 * pdf/ev-poppler.cc:
3283 * ps/ps-document.c: (ps_document_get_info):
3284 * shell/ev-properties.c: (ev_properties_format_date),
3285 (set_property), (ev_properties_new):
3286 * shell/ev-properties.h:
3287 * shell/ev-window.c: (ev_window_cmd_file_properties):
3289 Rework properties code to take only EvPropertyInfo
3290 in the constructor so that it can be useful for
3291 nautilus plugin too.
3293 Deal with backends that doesnt support some properties.
3294 Make set property code generic.
3296 2005-06-04 Christian Persch <chpe@gnome.org>
3298 * data/evince-properties.glade:
3300 fix spacings, make resizeable, and make data labels
3301 selectable + ellipsised
3303 2005-06-03 Marco Pesenti Gritti <mpg@redhat.com>
3305 * backend/ev-document-info.h:
3307 * data/evince-ui.xml:
3308 * pdf/ev-poppler.cc:
3309 * shell/Makefile.am:
3310 * shell/ev-window.c: (update_action_sensitivity),
3311 (ev_window_cmd_file_properties):
3313 Initial go at file properties. Patch by
3314 Emil Soleyman-Zomalan <emil@soleyman.com>.
3315 Needs love see #169583
3317 2005-06-02 Marco Pesenti Gritti <mpg@redhat.com>
3319 * ps/ps-document.c: (output):
3320 * ps/ps.c: (psscan):
3322 Try to render even if psscan fails.
3324 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
3326 * ps/ps.c: (psscan), (pscopydoc):
3328 Port buffered reading code from gv
3330 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
3332 * ps/ps-document.c: (interpreter_message), (output):
3334 Do not fail on interpreter messages
3336 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
3338 * backend/ev-document-misc.c:
3339 (ev_document_misc_get_thumbnail_frame):
3341 Pages can be 0 x 0, dont assert on this case
3343 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
3345 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
3346 (ev_sidebar_links_class_init), (ev_sidebar_links_set_document):
3348 Correctly manage our reference on document. Finally the reload
3349 huge leak is gone...
3351 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
3353 * ps/ps-document.c: (ps_document_dispose):
3355 Forgot to chain it to the parent. Thanks chpe.
3357 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
3359 * ps/ps-document.c: (ps_document_dispose),
3360 (ps_document_class_init), (stop_interpreter), (document_load):
3362 Cleanup dispose a bit. Dont leak the whole pixmap.
3364 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
3366 * pdf/ev-poppler.cc:
3368 Release the poppler document on dispose
3370 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
3372 * shell/ev-view.c: (ev_view_set_document):
3374 Release ref on the pixbuf cache when changing
3377 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
3379 * ps/ps-document.c: (ps_document_get_info):
3383 2005-05-31 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
3385 * backend/ev-page-cache.c: (ev_page_cache_init),
3386 (_ev_page_cache_new), (ev_page_cache_get_max_label_chars):
3387 * backend/ev-page-cache.h:
3388 * shell/ev-page-action.c: (page_changed_cb):
3390 Set page action entry width depending on labels width. Fix
3393 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
3395 * backend/ev-link.c: (ev_link_class_init):
3397 Allow -1 as page value (error)
3399 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
3401 * shell/ev-sidebar-thumbnails.c:
3402 (ev_sidebar_thumbnails_set_document):
3403 * shell/ev-view.c: (scroll_to_current_page),
3404 (view_set_adjustment_values), (ev_view_set_scroll_adjustments),
3405 (page_changed_cb), (on_adjustment_value_changed),
3406 (ev_view_set_document):
3408 Slightly modified patch by Nickolay V. Shmyrev <nshmyrev@yandex.ru>.
3411 2005-05-29 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3414 * djvu/djvu-document.c: (djvu_document_get_page_size):
3416 Require djvulibre CVS. Now djvu loading is much faster. Fix for
3419 Sat May 28 07:38:03 2005 Jonathan Blandford <jrb@redhat.com>
3421 * shell/ev-view.c (draw_one_page): modify the expose handling to
3424 * shell/ev-window.c (update_action_sensitivity): Respect
3425 permissions field. Kowtow to the man.
3427 * pdf/ev-poppler.cc: Get the permissions field.
3429 * tiff/*c: Make a tiny bit more robust.
3431 2005-05-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3433 * djvu/djvu-document.c:
3435 Pop messages from djvu context message queue.
3437 2005-05-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3439 * configure.ac, Makefile.am, shell/Makefile.am:
3440 * tiff/Makefile.am, shell/ev-document-types.c:
3442 Cleanup tiff configure checks. Fix for bug 305218.
3444 2005-05-24 Maxim V. Dziumanenko <mvd@mylinux.ua>
3446 * configure.ac: Added "uk" to ALL_LINGUAS.
3448 2005-05-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3450 * cut-n-paste/zoom-control/ephy-zoom.c:
3451 (ephy_zoom_get_changed_zoom_level):
3452 * cut-n-paste/zoom-control/ephy-zoom.h:
3453 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_set_property),
3454 (ev_view_get_property), (ev_view_class_init), (ev_view_set_zoom):
3455 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
3456 (ev_window_cmd_view_zoom_out), (ev_window_zoom_changed_cb),
3457 (zoom_control_changed_cb), (ev_window_init):
3459 Fix minor points related to moving best fit up. Introduce
3460 "zoom" property and make zoom control change it's value on
3461 notify::zoom signals. Fix for 305080.
3463 2005-05-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3465 * data/evince-ui.xml:
3466 * shell/ev-window.c: (set_view_actions_sensitivity):
3468 Use + and - as accels for zoom in and zoom out. Fix for 305001.
3470 2005-05-22 Marco Pesenti Gritti <mpg@redhat.com>
3474 Depends on poppler 0.3.2
3476 2005-05-22 Marco Pesenti Gritti <mpg@redhat.com>
3478 * cut-n-paste/recent-files/egg-recent-item.c:
3479 (egg_recent_item_get_short_name):
3480 * cut-n-paste/toolbar-editor/Makefile.am:
3481 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
3482 (new_pixbuf_from_widget):
3483 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
3484 * cut-n-paste/toolbar-editor/egg-marshal.c:
3485 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
3486 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
3490 Sat May 21 23:18:30 2005 Jonathan Blandford <jrb@redhat.com>
3492 * tiff/tiff-document.c: Rough TIFF backend.
3494 2005-05-21 Marco Pesenti Gritti <mpg@redhat.com>
3498 * cut-n-paste/toolbar-editor/Makefile.am:
3502 2005-05-21 Marco Pesenti Gritti <mpg@redhat.com>
3504 * shell/ev-view.c: (jump_to_find_result), (ev_view_can_find_next),
3505 (ev_view_find_next), (ev_view_find_previous):
3507 Remove the locks around get_n_results
3509 2005-05-21 Juerg Billeter <j@bitron.ch>
3511 * pdf/ev-poppler.c: (pdf_document_ps_exporter_begin):
3513 Pass correct number of pages to poppler.
3515 2005-05-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3519 * data/evince.desktop.in:
3520 * data/evince.desktop.in.in:
3523 Add conditionally dvi and djvu to desktop types. Fix for 304658.
3525 Sat May 21 00:21:30 2005 Jonathan Blandford <jrb@redhat.com>
3527 * shell/ev-view.c: (view_update_adjustments),
3528 (view_set_adjustment_values): cast adjustmen->value to (int)
3529 before using it. Otherwise, we get off by a pixel in some
3532 (draw_one_page): Draw the border on expose.
3534 Fri May 20 22:05:25 2005 Jonathan Blandford <jrb@redhat.com>
3536 * *shell/ev-view.c: Patch from Nickolay V. Shmyrev to reset the
3537 adjustment when the mode changes, #304923
3539 Fri May 20 02:00:03 2005 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3541 * shell/ev-view.c: Use gdk_widget_queue_draw to remove
3542 flickering on resize but still use gdk_window_scroll on
3545 Fri May 20 01:46:57 2005 Jonathan Blandford <jrb@redhat.com>
3547 * shell/ev-view.c: Patch from Nickolay Shmyrev to fix the -p
3550 Fri May 20 01:27:01 2005 Jonathan Blandford <jrb@redhat.com>
3552 * shell/ev-view.c: Patch from Nickolay Shmyrev to to scroll to
3553 second page on page_changed if possible, #304669
3555 Fri May 20 01:07:15 2005 Jonathan Blandford <jrb@redhat.com>
3557 * shell/ev-view.c (view_update_adjustments): Use gdk_window_scroll
3558 instead of gtk_widget_queue_draw. Massive speedups in scrolling.
3560 Fri May 20 01:05:10 2005 Jonathan Blandford <jrb@redhat.com>
3563 * shell/ev-view.c:(ev_view_size_allocate), (ev_view_class_init),
3564 (zoom_for_size_fit_width), (zoom_for_size_best_fit),
3565 (ev_view_zoom_for_size_presentation),
3566 (ev_view_zoom_for_size_continuous_and_dual_page),
3567 (ev_view_zoom_for_size_continuous),
3568 (ev_view_zoom_for_size_dual_page),
3569 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size):
3571 * shell/ev-window.c: (update_view_size),
3572 (ev_window_sizing_mode_changed_cb):
3574 Patch from Nickolay Shmyrev <nshmyrev@yandex.ru> to handle
3575 the scrollbars. It's not 100% right, but it's much closer. Kills
3576 an infinite loop, #304769
3579 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
3581 * data/evince-ui.xml:
3582 * shell/ev-view.c: (ev_view_scroll_view), (ev_view_class_init):
3583 * shell/ev-window.c: (set_view_actions_sensitivity):
3585 Make PgUp/Down behave like Space
3587 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
3589 * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
3590 * backend/ev-ps-exporter.h:
3591 * pdf/ev-poppler.cc:
3592 * ps/ps-document.c: (ps_document_ps_export_begin):
3593 * shell/ev-print-job.c: (idle_print_handler):
3595 Adapt to new poppler api
3597 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
3599 * cut-n-paste/zoom-control/ephy-zoom-control.c:
3600 (ephy_zoom_control_init):
3602 Translate zoom levels
3604 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
3606 * cut-n-paste/zoom-control/ephy-zoom.c:
3607 (ephy_zoom_get_zoom_level_index):
3609 Fix current zoom -> zoom control match
3611 2005-05-18 James Bowes <bowes@cs.dal.ca>
3613 * shell/ev-window.c: (ev_window_init): Give focus to the ev-view,
3614 rather than the scrolled_window that it's in. Fixes bug #304655.
3616 Tue May 17 22:54:17 2005 Jonathan Blandford <jrb@redhat.com>
3618 * shell/ev-view.c: (view_update_adjustments),
3619 (view_set_adjustment_values), (view_update_range_and_current_page),
3620 (view_scroll_to_page), (set_scroll_adjustment),
3621 (ev_view_set_scroll_adjustments), (add_scroll_binding_keypad),
3622 (ev_view_scroll), (ev_view_scroll_view),
3623 (ensure_rectangle_is_visible), (find_page_at_location),
3624 (get_link_at_location), (go_to_link), (status_message_from_link),
3625 (ev_view_size_request_continuous_dual_page),
3626 (ev_view_size_request), (ev_view_size_allocate), (ev_view_realize),
3627 (ev_view_unrealize), (ev_view_expose_event),
3628 (ev_view_button_press_event), (ev_view_motion_notify_event),
3629 (ev_view_button_release_event), (ev_gdk_color_to_rgb),
3630 (draw_rubberband), (highlight_find_results), (draw_one_page),
3631 (ev_view_finalize), (ev_view_destroy), (ev_view_class_init),
3632 (ev_view_init), (find_changed_cb), (page_changed_cb),
3633 (on_adjustment_value_changed), (ev_view_new),
3634 (ev_view_set_document), (ev_view_set_zoom),
3635 (ev_view_set_continuous), (ev_view_set_dual_page),
3636 (ev_view_set_presentation), (ev_view_zoom_in), (ev_view_zoom_out),
3637 (zoom_for_size_fit_width), (zoom_for_size_best_fit),
3638 (ev_view_zoom_for_size_presentation),
3639 (ev_view_zoom_for_size_continuous_dual_page),
3640 (ev_view_zoom_for_size_continuous),
3641 (ev_view_zoom_for_size_dual_page),
3642 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
3643 (ev_view_get_status), (ev_view_set_status),
3644 (update_find_status_message), (ev_view_get_find_status),
3645 (ev_view_set_find_status), (jump_to_find_result),
3646 (jump_to_find_page), (compute_selections), (clear_selection),
3647 (ev_view_select_all), (get_selected_text), (ev_view_copy),
3648 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
3649 (ev_view_update_primary_selection),
3650 (ev_view_create_invisible_cursor), (ev_view_set_cursor):
3652 * shell/ev-window.c: (ev_window_open_page_label),
3653 (ev_window_cmd_view_reload), (ev_window_sizing_mode_changed_cb),
3655 * shell/ev-window.h:
3656 * shell/main.c: (load_files):
3658 Massive code clean up from Nickolay Shmyrev. Keep page offset
3659 when resizing. Remove the bin_window(). Also, patch from James
3660 Bowes to fix command line page, #300641
3662 2005-05-17 Marco Pesenti Gritti <mpg@redhat.com>
3664 * data/evince-ui.xml:
3667 * shell/ev-window.c: (update_action_sensitivity):
3669 Get rid of View->Normal Size, it's just confusing
3671 Tue May 17 00:51:21 2005 Jonathan Blandford <jrb@redhat.com>
3673 * backend/ev-document-info.h:
3674 * backend/ev-document.c: (ev_document_info_free): Free the
3677 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
3678 (clear_range), (add_range), (update_visible_range),
3679 (adjustment_changed_cb), (ev_sidebar_thumbnails_init),
3680 (ev_sidebar_thumbnails_set_document):
3681 * shell/ev-window.c: (ev_window_setup_document): Only render the
3682 visible thumbnails. It takes an instant to render, but it uses
3685 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
3687 * shell/ev-sidebar-links.c: (popup_menu_cb):
3691 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
3694 * shell/ev-sidebar-links.c: (build_popup_menu), (popup_menu_cb),
3695 (button_press_cb), (ev_sidebar_links_construct):
3697 Show the popup menu also on keybindings
3699 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
3701 * shell/ev-window.c: (ev_window_print), (ev_window_print_range):
3702 * shell/ev-window.h:
3704 Expose api to print a range (with dialog). Make private _print use
3707 * shell/ev-sidebar-links.c: (print_section_cb), (button_press_cb),
3708 (ev_sidebar_links_construct):
3710 Show a print context menu on linkx, it prints the selected
3713 2005-05-15 Carlos Garcia Campos <carlosgc@gnome.org>
3715 * shell/ev-sidebar.c: make the drop down menu as width as the toggle
3718 2005-05-12 Marco Pesenti Gritti <mpg@redhat.com>
3724 * shell/ev-window.c: (build_comments_string),
3725 (ev_window_cmd_help_about):
3727 Show poppler version/backend and authors
3729 2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
3731 * cut-n-paste/zoom-control/ephy-zoom.c:
3732 (ephy_zoom_get_zoom_level_index):
3733 * cut-n-paste/zoom-control/ephy-zoom.h:
3735 Move the best fit items at the top of the list
3737 2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
3739 * shell/ev-marshal.list:
3740 * shell/ev-page-action.c: (ev_page_action_widget_class_init),
3741 (activate_cb), (match_selected_cb), (activate_link_cb),
3742 (connect_proxy), (ev_page_action_class_init):
3743 * shell/ev-page-action.h:
3745 Use signals to notify action activation. Hopefully
3746 I did not break completion since I cant test...
3748 * shell/ev-window.c: (activate_link_cb), (activate_label_cb),
3749 (register_custom_actions):
3751 Connect to page selector actions and also grab focus on
3752 the view when activated.
3754 Wed May 11 01:18:29 2005 Jonathan Blandford <jrb@redhat.com>
3756 * pdf/ev-poppler.cc:
3757 * backend/ev-page-cache.c: make page size calculation consistent
3758 and set it to (int)( width * scale + 0.5). This makes the weird
3759 line going through the middle of the page go away.
3761 * shell/ev-view.c: move painting the background page after
3762 checking the expose area covers us.
3764 2005-05-11 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3766 * data/evince-password.glade:
3768 Mark labels as not translatable. Fix for bug 302842.
3770 2005-05-10 Francisco Javier F. Serrador <serrador@cvs.gnome.org>
3772 * configure.ac: Added "es" to ALL_LINGUAS.
3774 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3776 * data/evince-toolbar.xml:
3777 * shell/ev-window.c: (update_action_sensitivity),
3778 (ev_window_setup_document), (ev_window_set_page_mode),
3781 Remove some leftover code from jrb first continous
3782 attempt. Use the new actions, we still need good icons
3785 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3787 * shell/ev-page-action.c: (update_pages_label), (connect_proxy):
3789 Update label when connecting proxy. Fix a warning with NULL
3792 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3794 * data/evince-ui.xml:
3795 * shell/ev-page-action.c: (ev_page_action_grab_focus):
3796 * shell/ev-page-action.h:
3797 * shell/ev-window.c: (ev_window_cmd_focus_page_selector):
3799 Add mnemonic for edit toolbar.
3800 ctrl+l focus the page entry.
3802 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3805 * shell/ev-window.c: (ev_window_cmd_edit_toolbar_cb),
3807 * shell/main.c: (main):
3809 Put the toolbar xml in evince own dot dir
3811 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3813 * shell/ev-window.c: (ev_window_init):
3815 Make the toolbar not removable
3817 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3819 * data/evince-ui.xml:
3820 * shell/ev-sidebar-links.c: (ev_sidebar_links_get_treeview):
3821 * shell/ev-sidebar-links.h:
3822 * shell/ev-sidebar-thumbnails.c:
3823 (ev_sidebar_thumbnails_get_treeview):
3824 * shell/ev-sidebar-thumbnails.h:
3825 * shell/ev-view.c: (ev_view_scroll), (ev_view_scroll_view),
3826 (ev_view_class_init):
3828 * shell/ev-window.c: (update_action_sensitivity),
3829 (ev_window_cmd_scroll_forward), (ev_window_cmd_scroll_backward),
3830 (set_view_actions_sensitivity), (view_actions_focus_in_cb),
3831 (view_actions_focus_out_cb), (enable_view_actions_for_widget),
3834 This is evil... Make space/backspace global accelerators but
3835 enable them only for some widgets (sidebars and view).
3836 I dont like it, but I dont know a better way... :/
3838 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3840 * shell/ev-page-action.c: (ev_page_action_widget_set_page_cache),
3841 (ev_page_action_widget_finalize),
3842 (ev_page_action_widget_class_init), (update_page_cache):
3844 Keep a weak reference on proxy->page_cache so that we
3845 dont try to disconnect the signal if the object is already
3846 gone. Maybe there is a better way to cleanup reference handling
3847 in page action though...
3849 2005-05-10 Juerg Billeter <j@bitron.ch>
3851 * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
3852 * backend/ev-ps-exporter.h:
3853 * pdf/ev-poppler.cc: (pdf_document_ps_exporter_begin):
3854 * ps/ps-document.c: (ps_document_ps_export_begin):
3856 Change api to pass print range to ps_exporter_begin. The pdf backend
3857 requires this information.
3859 * shell/ev-print-job.c: (idle_print_handler):
3863 2005-05-10 Juerg Billeter <j@bitron.ch>
3865 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
3866 (idle_print_handler)
3867 * shell/ev-window.c: (ev_window_print):
3869 Support printing page range, based on patch by Amaury Jacquot
3871 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3873 * data/evince-toolbar.xml:
3875 Add zoom control to available items
3877 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3879 * shell/ev-window.c: (update_action_sensitivity):
3881 Set slash action insensitive when appropriate
3883 2005-05-10 Christian Persch <chpe@gnome.org>
3885 * cut-n-paste/zoom-control/ephy-zoom-action.c: (create_menu_item):
3887 Fix warning on the overflow menu
3889 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3891 * shell/ev-window.c: (sanity_check_uri), (ev_window_open):
3893 Check for uri correctness/existence
3895 2005-05-09 Juerg Billeter <j@bitron.ch>
3897 * shell/ev-window.c: (using_postscript_printer):
3899 LPD printers use postscript, too
3901 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
3903 * shell/ev-window.c: (register_custom_actions):
3905 The zoom one is actually sort of useful,
3908 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
3910 * shell/ev-window.c: (register_custom_actions):
3912 Hide page/zoom controls from overflow, they
3915 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
3917 * cut-n-paste/update-from-egg.sh:
3919 Share it between all cut-n-paste subdirs
3921 * cut-n-paste/recent-files/Makefile.am:
3923 Fix to use "global" update-from-egg.sh
3925 * cut-n-paste/recent-files/egg-recent-model.c:
3926 (egg_recent_model_changed_timeout), (egg_recent_model_finalize):
3927 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
3928 (egg_recent_view_gtk_clear), (egg_recent_view_gtk_set_list),
3929 (egg_recent_view_gtk_finalize), (egg_recent_view_gtk_set_menu):
3933 * cut-n-paste/toolbar-editor/Makefile.am:
3935 Fix to use "global" update-from-egg.sh
3937 * cut-n-paste/toolbar-editor/eggmarshalers.list:
3941 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
3944 * cut-n-paste/Makefile.am:
3945 * cut-n-paste/recent-files/Makefile.am:
3946 * cut-n-paste/toolbar-editor/.cvsignore:
3947 * cut-n-paste/toolbar-editor/Makefile.am:
3948 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
3949 (egg_editable_toolbar_get_type), (get_toolbar_position),
3950 (get_n_toolbars), (get_dock_nth), (get_toolbar_nth), (find_action),
3951 (drag_data_delete_cb), (drag_begin_cb), (drag_end_cb),
3952 (drag_data_get_cb), (set_drag_cursor), (unset_drag_cursor),
3953 (set_item_drag_source), (create_item_from_action), (create_item),
3954 (data_is_separator), (drag_data_received_cb), (remove_toolbar_cb),
3955 (popup_toolbar_context_menu_cb), (free_dragged_item),
3956 (toolbar_drag_drop_cb), (toolbar_drag_motion_cb),
3957 (toolbar_drag_leave_cb), (create_dock), (set_fixed_style),
3958 (unset_fixed_style), (toolbar_changed_cb), (unparent_fixed),
3959 (update_fixed), (toolbar_added_cb), (toolbar_removed_cb),
3960 (item_added_cb), (item_removed_cb),
3961 (egg_editable_toolbar_construct),
3962 (egg_editable_toolbar_disconnect_model),
3963 (egg_editable_toolbar_deconstruct),
3964 (egg_editable_toolbar_set_model),
3965 (egg_editable_toolbar_set_ui_manager),
3966 (egg_editable_toolbar_set_property),
3967 (egg_editable_toolbar_get_property),
3968 (egg_editable_toolbar_class_init), (egg_editable_toolbar_init),
3969 (egg_editable_toolbar_finalize), (egg_editable_toolbar_new),
3970 (egg_editable_toolbar_new_with_model),
3971 (egg_editable_toolbar_get_edit_mode),
3972 (egg_editable_toolbar_set_edit_mode), (egg_editable_toolbar_show),
3973 (egg_editable_toolbar_hide), (egg_editable_toolbar_set_fixed),
3974 (egg_editable_toolbar_set_drag_dest), (fake_expose_widget),
3975 (new_pixbuf_from_widget), (new_separator_pixbuf),
3976 (update_separator_image), (style_set_cb),
3977 (_egg_editable_toolbar_new_separator_image),
3978 (egg_editable_toolbar_get_model):
3979 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
3980 * cut-n-paste/toolbar-editor/egg-marshal.c:
3981 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
3982 (egg_toolbar_editor_get_type), (compare_actions), (find_action),
3983 (egg_toolbar_editor_set_ui_manager), (toolbar_removed_cb),
3984 (egg_toolbar_editor_set_model), (egg_toolbar_editor_set_property),
3985 (egg_toolbar_editor_get_property), (egg_toolbar_editor_class_init),
3986 (egg_toolbar_editor_finalize), (egg_toolbar_editor_new),
3987 (drag_begin_cb), (drag_end_cb), (editor_drag_data_received_cb),
3988 (editor_drag_data_delete_cb), (drag_data_get_cb),
3989 (elide_underscores), (set_drag_cursor), (event_box_realize_cb),
3990 (editor_create_item), (update_editor_sheet), (setup_editor),
3991 (egg_toolbar_editor_init), (egg_toolbar_editor_add_action),
3992 (parse_item_list), (model_has_action), (update_actions_list),
3993 (egg_toolbar_editor_load_actions):
3994 * cut-n-paste/toolbar-editor/egg-toolbar-editor.h:
3995 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
3996 (egg_toolbars_model_get_type), (egg_toolbars_model_to_xml),
3997 (safe_save_xml), (egg_toolbars_model_save), (toolbars_toolbar_new),
3998 (toolbars_item_new), (free_toolbar_node), (free_item_node),
3999 (egg_toolbars_model_get_flags), (egg_toolbars_model_set_flags),
4000 (egg_toolbars_model_add_separator), (impl_add_item),
4001 (parse_item_list), (egg_toolbars_model_add_toolbar),
4002 (parse_toolbars), (egg_toolbars_model_load), (impl_get_item_id),
4003 (impl_get_item_data), (impl_get_item_type),
4004 (_egg_accumulator_STRING), (egg_toolbars_model_class_init),
4005 (egg_toolbars_model_init), (free_toolbar),
4006 (egg_toolbars_model_finalize), (egg_toolbars_model_new),
4007 (egg_toolbars_model_remove_toolbar),
4008 (egg_toolbars_model_remove_item), (egg_toolbars_model_move_item),
4009 (egg_toolbars_model_n_items), (egg_toolbars_model_item_nth),
4010 (egg_toolbars_model_n_toolbars), (egg_toolbars_model_toolbar_nth),
4011 (egg_toolbars_model_add_item), (egg_toolbars_model_get_item_id),
4012 (egg_toolbars_model_get_item_data),
4013 (egg_toolbars_model_get_item_type):
4014 * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
4015 * cut-n-paste/toolbar-editor/eggmarshalers.list:
4017 * data/evince-toolbar.xml:
4018 * data/evince-ui.xml:
4019 * data/hand-open.png:
4021 * shell/Makefile.am:
4022 * shell/ev-window.c: (update_chrome_visibility),
4023 (ev_window_cmd_edit_toolbar_cb), (ev_window_cmd_edit_toolbar),
4024 (ev_window_dispose), (ev_window_init):
4026 Implement epiphany like toolbar editor. Based on patch by
4027 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4029 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
4031 * shell/ev-sidebar-thumbnails.c: (page_changed_cb):
4033 Use set_cursor instead of set_selection, so that
4034 the keyboard focus moves too.
4036 2005-05-09 Aleksey Kliger <akliger@gmail.com>
4038 * dvi/mdvi-lib/tfmfile.c: (lookup_font_metrics):
4040 Fix infinite loop when loading Type1 fonts
4042 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
4044 * data/evince-ui.xml:
4045 * shell/ev-window.c:
4049 2005-05-09 Thomas de Grenier de Latour <degrenier@easyconnect.fr>
4053 Make --disable really disable
4055 2005-05-07 Juerg Billeter <j@bitron.ch>
4057 * backend/ev-page-cache.c: (ev_page_cache_set_page_label):
4059 Compare page labels even without has_labels set, fixes setting page
4062 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
4064 * shell/ev-view.c: (ev_view_create_invisible_cursor),
4065 (ev_view_set_cursor), (ev_view_button_press_event),
4066 (ev_view_motion_notify_event), (ev_view_button_release_event),
4069 Implement middle button scrolling. Based on a patch
4070 by Tommi Komulainen <tommi.komulainen@iki.fi>.
4072 2005-05-08 Marco Pesenti Gritti <mpg@redhat.com>
4074 * shell/ev-document-types.c: (get_slow_mime_type),
4075 (get_document_type_from_mime), (ev_document_type_lookup):
4076 * shell/ev-document-types.h:
4078 Change api to lookup from uri. Do fast lookup first, if the
4079 type is unknown try with data sniffing.
4081 * shell/ev-window.c: (ev_window_open), (ev_window_open_uri_list):
4082 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
4086 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
4088 * thumbnailer/Makefile.am:
4092 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
4099 * data/evince-ui.xml:
4101 Hide presentation mode for now
4103 * shell/ev-view.c: (highlight_find_results):
4105 Show current find selection only on current page
4107 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
4109 * shell/ev-view.c: (ev_view_select_all):
4111 Compute size of the actual page, not of
4114 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
4116 * shell/ev-view.c: (clear_selection), (ev_view_finalize),
4117 (view_rect_to_doc_rect), (compute_selections),
4118 (ev_view_bin_expose), (ev_view_select_all), (get_selected_text),
4119 (ev_view_copy), (ev_view_primary_get_cb),
4120 (ev_view_primary_clear_cb), (ev_view_update_primary_selection),
4121 (ev_view_button_press_event), (ev_view_motion_notify_event),
4122 (ev_view_button_release_event), (page_changed_cb):
4126 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
4128 * shell/ev-view.c: (compute_border), (get_page_extents),
4129 (doc_rect_to_view_rect), (highlight_find_results),
4130 (ev_view_bin_expose), (ev_view_select_all),
4131 (ev_view_motion_notify_event), (update_find_status_message),
4132 (jump_to_find_result), (jump_to_find_page):
4134 First go at fixing search, still buggy
4136 2005-05-04 Kristian Høgsberg <krh@redhat.com>
4138 * shell/ev-sidebar.c (ev_sidebar_init): Remove frame around
4139 dropdown box and button at the top of the sidebar.
4141 2005-05-02 James Bowes <bowes@cs.dal.ca>
4143 * configure.ac: Output zoom-control Makefile.
4144 * cut-n-paste/Makefile.am: build zoom-control subdir.
4145 * cut-n-paste/zoom-control/ephy-zoom-action.c:
4146 * cut-n-paste/zoom-control/ephy-zoom-action.h:
4147 * cut-n-paste/zoom-control/ephy-zoom-control.c:
4148 * cut-n-paste/zoom-control/ephy-zoom-control.h:
4149 * cut-n-paste/zoom-control/ephy-zoom.c:
4150 * cut-n-paste/zoom-control/ephy-zoom.h: New files imported
4151 from epiphany, and modified to add a separator into the menu.
4152 * cut-n-paste/zoom-control/Makefile.am: Build zoom-control.
4153 * data/evince-ui.xml: Replace old zoom toolbar actions with new
4154 zoom-control action.
4155 * shell/Makefile.am: Include zoom-control flags.
4156 * shell/ev-view.c: (ev_view_set_zoom), (ev_view_get_zoom),
4157 (ev_view_get_sizing_mode), (ev_view_zoom_in), (ev_view_zoom_out),
4158 (ev_view_zoom_for_size_presentation),
4159 (ev_view_zoom_for_size_continuous_and_dual_page),
4160 (ev_view_zoom_for_size_continuous),
4161 (ev_view_zoom_for_size_dual_page),
4162 (ev_view_zoom_for_size_single_page), (ev_view_zoom_normal):
4163 s/ev_view_zoom/ev_view_set_zoom/ and make public, add
4164 ev_view_get_zoom and ev_view_get_sizing_mode.
4166 * shell/ev-window.c: (update_action_sensitivity),
4167 (update_sizing_buttons), (zoom_control_changed_cb),
4168 (register_custom_actions): Initialize and use the zoom-control
4171 Sun May 1 00:46:47 2005 Jonathan Blandford <jrb@redhat.com>
4173 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init): Change the
4174 preview cache back to 1. Don't know when it got set to 0.
4176 * shell/ev-view.c: (compute_border), (ev_view_realize),
4177 (draw_one_page), (ev_view_set_property), (ev_view_get_property),
4178 (ev_view_class_init), (ev_view_init), (ev_view_set_fullscreen),
4179 (ev_view_get_fullscreen), (ev_view_set_presentation),
4180 (ev_view_get_presentation), (ev_view_set_sizing_mode),
4181 (ev_view_zoom_for_size_presentation), (ev_view_set_zoom_for_size):
4183 * shell/ev-window.c:
4184 (update_chrome_visibility),
4185 (ev_window_cmd_continuous), (ev_window_cmd_dual),
4186 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
4187 (update_document_mode), (ev_window_update_fullscreen_action),
4188 (ev_window_fullscreen), (ev_window_unfullscreen),
4189 (ev_window_cmd_view_fullscreen),
4190 (ev_window_update_presentation_action),
4191 (ev_window_run_presentation), (ev_window_stop_presentation),
4192 (ev_window_cmd_view_presentation), (ev_window_state_event),
4193 (ev_window_focus_in_event), (ev_window_focus_out_event),
4194 (ev_window_cmd_escape), (ev_window_sidebar_visibility_changed_cb):
4195 * data/evince-ui.xml: Initial presentation mode. We should
4196 probably hide this until it's done, as it's quite rough. Also,
4197 change full-screen to fullscreen and add two getters to EvView.
4199 2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
4201 * shell/ev-page-action.c: (update_page_cache),
4202 (ev_page_action_dispose):
4203 * shell/ev-window.c: (destroy_fullscreen_popup),
4204 (ev_window_create_fullscreen_popup):
4206 Use connect_object rather than explicitly
4207 disconnect on dispose.
4209 2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
4211 * shell/ev-page-action.c: (update_page_cache),
4212 (ev_page_action_dispose):
4214 2005-04-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4216 * backend/ev-page-cache.c: (_ev_page_cache_new),
4217 (ev_page_cache_set_page_label),
4218 (ev_page_cache_has_nonnumeric_page_labels):
4219 * backend/ev-page-cache.h:
4220 * shell/ev-page-action.c: (update_pages_label):
4222 If all page labels are numeric, fallback to default
4223 way to display number of pages. See bug 173185.
4225 2005-04-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4227 * shell/ev-page-action.c: (ev_page_action_dispose):
4228 * shell/ev-view.c: (view_update_range_and_current_page):
4229 * shell/ev-window.c: (ev_window_dispose):
4231 Set page on scroll in continuous mode. Fixes bug 301986.
4232 Also cleanup callbacks on destroy of EvWindow and EvPageAction.
4234 2005-04-26 Marco Pesenti Gritti <mpg@redhat.com>
4238 Require poppler 0.3.0
4240 2005-04-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4242 * shell/Makefile.am, configure.ac: Fix build problems
4243 with t1lib. Bug 301996.
4245 2005-04-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4247 * shell/ev-view.c: (ev_view_scroll_event):
4249 Scroll up increase zoom
4251 2005-04-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4253 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_class_init),
4254 (ev_view_set_sizing_mode),
4255 (ev_view_zoom_for_size_continuous_and_dual_page),
4256 (ev_view_zoom_for_size_continuous):
4257 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
4258 (ev_window_cmd_view_page_width), (ev_window_cmd_view_zoom_in),
4259 (ev_window_cmd_view_zoom_out), (ev_window_sizing_mode_changed_cb),
4262 Control + Scroll does zooming, Shift + Scroll scrolls horizontally
4263 Fix for 165473 and 165472.
4265 2005-04-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4268 * thumbnailer/Makefile.am:
4269 * thumbnailer/evince-thumbnailer-djvu.schemas.in:
4270 * thumbnailer/evince-thumbnailer-dvi.schemas.in:
4271 * thumbnailer/evince-thumbnailer.schemas.in:
4273 Make thumbnailer schemas translatable. Fix for bug 301773
4275 * thumbnailer/evince-thumbnailer-djvu.schemas:
4276 * thumbnailer/evince-thumbnailer-dvi.schemas:
4277 * thumbnailer/evince-thumbnailer.schemas:
4281 Sun Apr 24 01:37:39 2005 Jonathan Blandford <jrb@redhat.com>
4283 * shell/ev-view.c (ev_view_init): forgot to set this.
4285 Sun Apr 24 01:07:27 2005 Jonathan Blandford <jrb@redhat.com>
4287 * shell/ev-view.c: (find_page_at_location),
4288 (get_link_at_location),
4289 (ev_view_set_show_border), (ev_view_set_spacing),
4290 (ev_view_zoom_for_size_continuous_and_dual_page),
4291 (ev_view_zoom_for_size_continuous): Fix links for dual/continuous.
4292 Also, add a quick fix measuring of widths. Also, removed
4293 ev_view_set_spacing and ev_view_set_show_border.
4295 * shell/ev-window.c: (ev_window_unfullscreen),
4296 (ev_window_cmd_view_fullscreen): Don't adjust the border/spacing.
4298 2005-04-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4300 * shell/ev-view.c: (view_update_range_and_current_page),
4303 Fix crash on exit and scrolling to page in continuous view.
4305 Sat Apr 23 13:13:04 2005 Jonathan Blandford <jrb@redhat.com>
4308 * backend/ev-page-cache.c: (_ev_page_cache_new),
4309 (ev_page_cache_get_max_width_size),
4310 (ev_page_cache_get_max_height_size):
4311 * backend/ev-page-cache.h:
4312 * data/evince-ui.xml:
4313 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init):
4314 * shell/ev-view.c: (view_update_adjustments),
4315 (view_update_range_and_current_page), (get_bounding_box_size),
4316 (ev_view_size_request_continuous_and_dual_page),
4317 (ev_view_size_request_continuous),
4318 (ev_view_size_request_dual_page),
4319 (ev_view_size_request_single_page), (ev_view_size_request),
4320 (ev_view_size_allocate), (get_page_extents), (draw_one_page),
4321 (ev_view_bin_expose), (ev_view_expose_event),
4322 (ev_view_set_property), (ev_view_get_property),
4323 (ev_view_class_init), (ev_view_init), (ev_view_new),
4324 (page_changed_cb), (ev_view_zoom), (ev_view_set_continuous),
4325 (ev_view_set_dual_page), (ev_view_set_full_screen),
4326 (ev_view_set_presentation), (ev_view_set_sizing_mode),
4327 (ev_view_can_zoom_in), (ev_view_can_zoom_out), (ev_view_zoom_in),
4328 (ev_view_zoom_out), (zoom_for_size_fit_width),
4329 (zoom_for_size_best_fit),
4330 (ev_view_zoom_for_size_continuous_and_dual_page),
4331 (ev_view_zoom_for_size_continuous),
4332 (ev_view_zoom_for_size_dual_page),
4333 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
4334 (ev_view_show_cursor), (ev_sizing_mode_get_type):
4336 * shell/ev-window.c: (update_action_sensitivity),
4337 (ev_window_cmd_continuous), (ev_window_cmd_dual),
4338 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
4339 (update_sizing_buttons), (ev_window_cmd_view_zoom_in),
4340 (ev_window_cmd_view_zoom_out), (update_view_size),
4341 (ev_window_set_sizing_mode), (ev_window_init):
4343 Add Continuous and Dual page modes.
4345 2005-04-23 James Bowes <bowes@cs.dal.ca>
4347 * dvi/dvi-document.c: (dvi_document_load),
4348 (dvi_document_thumbnails_get_thumbnail),
4349 (dvi_document_init_params): Fix up some mixups between
4350 width and height to correct thumbnail rendering.
4352 2005-04-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4354 * dvi/mdvi-lib/private.h:
4355 * dvi/mdvi-lib/setup.c: (mdvi_init_kpathsea):
4357 Suppess output for kpathsea during font generation. Thanks to
4360 Fri Apr 22 19:57:46 2005 Jonathan Blandford <jrb@redhat.com>
4367 * Makefile.am: fix distcheck.
4369 2005-04-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4371 * shell/ev-sidebar-links.c: (selection_changed_callback),
4372 (update_page_callback), (row_activated_callback),
4373 (job_finished_callback), (ev_sidebar_links_set_document):
4375 Fix for bug #169901. Double click on links expands tree.
4377 2005-03-14 Bryan Clark <clarkbw@cvs.gnome.org>
4379 * shell/ev-window.c (ev_window_init): Removed fullscreen toolbar
4380 hard-coded style. Fix for bug 170111
4382 2005-04-22 Kristian Høgsberg <krh@redhat.com>
4384 * shell/ev-view.c (highlight_find_results): Remove unnecessary
4387 2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
4389 * thumbnailer/evince-thumbnailer.schemas: real fix for bug 172496
4391 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
4393 * pdf/ev-poppler.cc:
4394 * shell/ev-view.c: (highlight_find_results):
4396 Fix find on single page documents
4398 2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
4400 * data/evince.schemas.in: fix for bug 301390
4402 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
4404 * shell/ev-view.c: (ev_view_can_zoom_in), (ev_view_can_zoom_out),
4405 (ev_view_zoom_out), (ev_view_zoom_normal):
4407 * shell/ev-window.c: (update_action_sensitivity),
4408 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
4409 (ev_window_cmd_view_zoom_in), (ev_window_cmd_view_zoom_out),
4410 (ev_window_cmd_view_normal_size):
4412 Fix normal size zoom. Make zoom in/zoom out unsensitive when
4413 they are behyond the limits. Tweak MAX_ZOOM to 6, sucks but
4416 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
4420 Depend on 2.57, 2.59 doesnt seem to be necessary
4422 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
4424 * shell/ev-page-action.c: (update_pages_label), (page_changed_cb),
4427 Put back total number of pages as (1 of 1234)
4429 Thu Apr 21 23:37:52 2005 Jonathan Blandford <jrb@redhat.com>
4431 * shell/ev-pixbuf-cache.c (dispose_cache_job_info): actually
4434 * backend/ev-document.h: Remove EV_DOC_MUTEX in favor of a locking
4435 function. This helps debugging.
4437 2005-04-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4439 * djvu/djvu-document.c: (djvu_document_class_init),
4440 (djvu_document_get_info), (djvu_document_document_iface_init):
4441 * dvi/dvi-document.c: (dvi_document_class_init),
4442 (dvi_document_get_info), (dvi_document_document_iface_init):
4444 Dummy implementation of get_info method for dvi and djvu. Fix
4445 crashes with those backends
4447 2005-04-20 Marco Pesenti Gritti <mpg@redhat.com>
4449 * data/evince.desktop.in:
4451 Add application/x-gzpostscript
4453 2005-04-20 Bryan Clark <clarkbw@cvs.gnome.org>
4455 * data/evince.schemas.in: Added real long descriptions,
4458 * README: Added actual text, closes bug 171869
4460 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
4462 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
4466 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
4468 * backend/ev-document-info.h:
4470 s/GDate */GDate so we can just use g_free
4472 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
4474 * shell/ev-window.c: (update_document_mode),
4475 (ev_window_setup_document):
4477 Show the window in fullscreen when specified by
4480 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
4482 * backend/ev-document.c: (ev_document_class_init),
4483 (ev_document_get_info), (ev_document_render_pixbuf):
4484 * backend/ev-document.h:
4485 * backend/ev-page-cache.c: (_ev_page_cache_new):
4486 * pdf/ev-poppler.cc:
4487 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
4488 (pixbuf_document_get_info), (pixbuf_document_document_iface_init):
4489 * ps/ps-document.c: (ps_document_class_init), (document_load),
4490 (ps_document_get_info), (ps_document_document_iface_init):
4492 Remove get_title from the interface, we can just use document info
4494 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
4496 * backend/Makefile.am:
4497 * backend/ev-document.c: (ev_document_render_get_info):
4498 * backend/ev-document.h:
4499 * pdf/ev-poppler.cc:
4501 Initial support for document info. Based on jrb patch.
4503 2005-04-19 Paolo Borelli <pborelli@katamail.com>
4505 * shell/ev-window.c: (ev_window_state_event),
4506 (ev_window_class_init), (ev_window_init):
4508 Doesn't show resize grip when maximized. See bug #301053
4510 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4514 ev-sidebar-thumbnails now has translatable labels
4516 * shell/Makefile.am:
4517 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document),
4518 (ev_sidebar_links_support_document), (ev_sidebar_links_get_label),
4519 (ev_sidebar_links_page_iface_init):
4520 * shell/ev-sidebar-links.h:
4521 * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
4522 (ev_sidebar_page_support_document), (ev_sidebar_page_set_document),
4523 (ev_sidebar_page_get_label):
4524 * shell/ev-sidebar-page.h:
4525 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_new),
4526 (ev_sidebar_thumbnails_set_document),
4527 (ev_sidebar_thumbnails_support_document),
4528 (ev_sidebar_thumbnails_get_label),
4529 (ev_sidebar_thumbnails_page_iface_init):
4530 * shell/ev-sidebar-thumbnails.h:
4531 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
4532 (ev_sidebar_set_document):
4533 * shell/ev-sidebar.h:
4534 * shell/ev-window.c: (ev_window_setup_document), (ev_window_init):
4536 Small rework of sidebar code. Now sidebar pages should implement
4537 EvSidebarPage interface. That makes page management in EvSidebar
4538 easier. See bug #164811 for details
4540 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4542 * shell/ev-application.c: (ev_application_open):
4543 * shell/ev-document-types.c:
4545 Fix build error and small problem with application exit
4547 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4549 * thumbnailer/Makefile.am:
4550 * thumbnailer/evince-thumbnailer-djvu.schemas:
4551 * thumbnailer/evince-thumbnailer-dvi.schemas:
4553 Conditionally install schemas for djvu/dvi thumbnailer
4555 2005-04-18 David Malcolm <dmalcolm@redhat.com>
4557 * shell/ev-document-types.h:
4558 * shell/ev-document-types.c:
4559 New files, handling the mapping from mimetypes to backends
4561 * shell/ev-window.c:
4562 * thumbnailer/evince-thumbnailer.c:
4563 Use the ev-document-types code
4565 * shell/Makefile.am:
4566 Added new convenience library libevbackendfactory_la, containing
4567 the new mimetype->backend logic; moved the backends into it.
4569 * thumbnailer/Makefile.am:
4570 Make the thumbnailer link with the libevbackend.la convenience
4571 library, rather than having a duplicate of the backend logic here.
4573 2005-04-18 Paolo Borelli <pborelli@katamail.com>
4575 * shell/ev-stock-icons.c: constify some vars.
4576 * shell/ev-window.c: ditto.
4578 2005-04-18 Marco Pesenti Gritti <mpg@redhat.com>
4580 * ps/ps-document.c (get_page_orientation):
4582 Respect document orientation
4584 2005-04-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4588 * shell/Makefile.am:
4590 Move library dependencies to components.
4592 * shell/ev-window.c: (update_window_title),
4593 (start_loading_document):
4595 Fix display of uris with spaces. Bug 168358.
4597 Sat Apr 16 18:53:47 2005 Jonathan Blandford <jrb@redhat.com>
4599 * shell/ev-sidebar-links.c: (selection_changed_cb):
4600 * shell/ev-view.c: (ev_view_finalize), (go_to_link),
4601 (ev_view_button_release_event), (ev_view_set_document):
4603 * shell/ev-window.c: (find_bar_search_changed_cb):
4604 * shell/ev-window.h: Minor cleanups removing some dead code.
4606 2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4608 * backend/ev-page-cache.c: (_ev_page_cache_new):
4610 Set current page to 0 if document has pages.
4612 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
4614 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
4616 Initialize GError to NULL, fix a crash when loading fails.
4618 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
4620 * shell/ev-window.c: (update_view_size):
4622 Calculate shadow size only when there is actually
4625 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
4627 * shell/ev-view.c: (ev_view_set_spacing), (ev_view_init):
4630 Allow setting view spacing, default to 0
4632 * shell/ev-window.c: (ev_window_unfullscreen),
4633 (ev_window_cmd_view_fullscreen), (ev_window_init):
4635 Remove spacing in fullscreen mode
4637 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
4639 * shell/ev-view.c: (compute_border), (compute_zoom_factor),
4640 (ev_view_size_request), (expose_bin_window),
4641 (ev_view_set_show_border), (ev_view_init), (page_changed_cb):
4643 * shell/ev-window.c: (ev_window_unfullscreen),
4644 (ev_window_cmd_view_fullscreen):
4646 Do not draw the border in fulscreen
4648 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
4650 * shell/ev-view.c: (ev_view_get_offsets), (compute_zoom_factor),
4651 (ev_view_size_request), (expose_bin_window), (ev_view_select_all),
4652 (find_page_at_location), (page_changed_cb):
4654 Rework border calculation, so that I can more easily disable it.
4655 Code somewhat cleaner too.
4657 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
4659 * backend/ev-page-cache.c: (ev_page_cache_init),
4660 (_ev_page_cache_new):
4662 Remove some assertions, documents can have 0 pages.
4663 Make initial current page -1.
4665 * shell/ev-page-action.c: (page_changed_cb):
4667 Show "" if current page is -1
4669 * shell/ev-window.c: (update_action_sensitivity),
4670 (ev_window_setup_document):
4672 When document has 0 pages do not set the view
4673 and make nearly everything insensitive.
4675 2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4677 * shell/ev-page-view.c:
4678 * shell/ev-page-view.h:
4680 Remove unused files.
4682 * shell/ev-sidebar-thumbnails.c:
4683 (ev_sidebar_thumbnails_set_document):
4684 * shell/ev-sidebar.c: (ev_sidebar_set_document),
4685 (ev_sidebar_supports_document):
4686 * shell/ev-sidebar.h:
4687 * shell/ev-window.c: (ev_window_setup_document):
4689 Doesn't show thumbnails if document has 1 page. Make
4690 sidebar menu entries sensitive only if if they have
4691 sense. Fix bug 164811.
4693 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
4695 * shell/ev-view.c: (compute_zoom_factor), (ev_view_size_request),
4696 (page_changed_cb), (ev_view_zoom), (ev_view_zoom_in),
4697 (ev_view_zoom_out), (ev_view_set_size):
4699 Rework sizing to deal with documents with not uniform page
4702 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
4704 * backend/ev-page-cache.c: (_ev_page_cache_new):
4706 Fix several page size caching bugs
4708 2005-04-15 Luca Ferretti <elle.uca@libero.it>
4710 * shell/ev-window.c: (set_action_properties):
4712 Make all toolbar items translatable
4714 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
4716 * ps/ps-document.c: (ps_document_init), (ps_document_get_type),
4717 (save_page_list), (ps_document_save),
4718 (ps_document_document_iface_init), (ps_document_ps_export_begin),
4719 (ps_document_ps_export_do_page), (ps_document_ps_export_end),
4720 (ps_document_ps_exporter_iface_init):
4723 Based on a patch by J�rg Billeter <j@bitron.ch>
4725 Implement print and save a copy for the ps backend.
4727 2005-04-14 Marco Pesenti Gritti <mpg@redhat.com>
4729 * backend/ev-document.h:
4730 * djvu/djvu-document.c: (djvu_document_can_get_text),
4731 (djvu_document_document_iface_init):
4732 * dvi/dvi-document.c: (dvi_document_can_get_text),
4733 (dvi_document_document_iface_init):
4734 * pdf/ev-poppler.cc:
4735 * pixbuf/pixbuf-document.c: (pixbuf_document_can_get_text),
4736 (pixbuf_document_document_iface_init):
4737 * ps/ps-document.c: (ps_document_can_get_text),
4738 (ps_document_document_iface_init):
4739 * shell/ev-view.c: (ev_view_copy), (ev_view_primary_get_cb):
4740 * shell/ev-window.c: (update_action_sensitivity):
4742 Fix the crash when trying to copy in backends that doesnt
4743 support it. We can implement a better solution once we
4744 do real text selection.
4746 2005-04-12 Marco Pesenti Gritti <mpg@redhat.com>
4748 * data/evince-ui.xml:
4749 * shell/ev-window.c: (ev_window_cmd_escape):
4751 Work around the Escape conflict (find bar and unfullscreen)
4753 2005-04-12 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
4755 * backend/ev-page-cache.c: (ev_page_cache_next_page):
4757 Fix for #300233. Next page correctly handles document end.
4759 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
4760 (ev_sidebar_thumbnails_class_init),
4761 (ev_sidebar_thumbnails_set_document),
4762 (ev_sidebar_thumbnails_clear_job),
4763 (ev_sidebar_thumbnails_clear_model):
4765 Cleanup thumbnail jobs on document changes.
4767 * shell/ev-view.c: (add_scroll_binding_keypad),
4768 (add_scroll_binding_shifted), (ev_view_class_init):
4770 Shift + Space scrolls up. Fix for #173184
4772 * shell/ev-window.c: (ev_window_open_page),
4773 (ev_window_cmd_view_reload):
4775 Fix reload (Bug #300094)
4777 2005-04-09 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4780 * dvi/mdvi-lib/assoc.c:
4781 * dvi/mdvi-lib/assoc.h: Removed garbage files
4783 * dvi/mdvi-lib/bitmap.c:
4784 * dvi/mdvi-lib/color.c: (mdvi_set_color), (mdvi_push_color),
4785 (mdvi_pop_color), (mdvi_reset_color), (get_color_table):
4786 * dvi/mdvi-lib/color.h: Antialias of rules
4788 * dvi/mdvi-lib/common.h:
4789 * dvi/mdvi-lib/dviread.c: (mdvi_configure), (mdvi_init_context),
4790 (mdvi_destroy_context), (draw_shrink_rule), (draw_box), (set_rule):
4791 * dvi/mdvi-lib/files.c:
4792 * dvi/mdvi-lib/fontmap.c: (ps_init_default_paths):
4793 * dvi/mdvi-lib/mdvi.h:
4794 * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
4795 * dvi/mdvi-lib/tfmfile.c: (ofm_load_file):
4796 * dvi/mdvi-lib/util.c: Fix compile warnings
4798 * dvi/dvi-document.c:
4799 (dvi_document_load), (dvi_document_thumbnails_get_dimensions),
4800 (dvi_document_thumbnails_get_thumbnail),
4801 (dvi_document_document_thumbnails_iface_init):
4802 * dvi/mdvi-lib/Makefile.am:
4803 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
4804 (dvi_pixbuf_set_color), (mdvi_pixbuf_device_render):
4806 Dvi backend now renders thumbnails
4808 2005-04-09 Christian Persch <chpe@cvs.gnome.org>
4810 * shell/main.c: (main):
4812 Save accelerators on exit. Fixes bug #172095.
4814 Sat Apr 9 01:05:09 2005 Jonathan Blandford <jrb@redhat.com>
4816 * shell/ev-pixbuf-cache.c (move_one_job): Actually fix the "FIXME:
4817 update priority" comment.
4819 * backend/ev-job-queue.c: Give a way to change priority.
4821 Sat Apr 9 00:05:36 2005 Jonathan Blandford <jrb@redhat.com>
4823 * shell/ev-page-action.c: Fix logic.
4825 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
4827 * shell/ev-view.c: (ev_view_can_find_next):
4828 * shell/ev-window.c: (ev_window_setup_document):
4830 Check that the document supports find
4832 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
4834 * data/evince-ui.xml:
4835 * shell/ev-view.c: (ev_view_can_find_next):
4837 * shell/ev-window.c: (update_action_sensitivity),
4838 (find_changed_cb), (ev_window_setup_document),
4839 (ev_window_cmd_edit_find_next):
4843 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
4845 * pdf/ev-poppler.cc:
4846 * shell/ev-print-job.c: (idle_print_handler):
4848 Make printing work again
4850 Fri Apr 8 01:12:24 2005 Jonathan Blandford <jrb@redhat.com>
4852 * shell/ev-page-action.h:
4853 * shell/ev-page-action.c: (ev_page_action_widget_init),
4854 (ev_page_action_widget_class_init), (page_changed_cb),
4855 (create_tool_item), (update_page_cache), (build_new_tree_cb),
4856 (get_filter_model_from_model), (match_selected_cb),
4857 (display_completion_text), (match_completion), (update_model),
4858 (connect_proxy), (ev_page_action_set_property),
4859 (ev_page_action_get_property), (ev_page_action_set_document),
4860 (ev_page_action_set_model), (ev_page_action_class_init): Big
4861 reworking to make completions work iff we have >= GTK-2.7.0
4863 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_property),
4864 (ev_sidebar_links_get_property), (ev_sidebar_links_class_init),
4865 (job_finished_cb): We now have a 'model' property that is set when
4866 the links are loaded. This can be caught with "notify::model"
4868 * shell/ev-window.c: (sidebar_widget_model_set), (ev_window_init):
4869 listen for the model to be set, and propagate it to the action.
4871 2005-04-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4873 * cut-n-paste/recent-files/egg-recent-item.c:
4874 (egg_recent_item_set_uri), (make_valid_utf8),
4875 (egg_recent_item_set_mime_type), (egg_recent_item_get_mime_type):
4876 * cut-n-paste/recent-files/egg-recent-item.h:
4878 Update egg-recent from libegg. This should fix long
4879 startup problem. For details see
4880 http://bugzilla.gnome.org/show_bug.cgi?id=160531
4882 2005-04-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4884 * cut-n-paste/recent-files/Makefile.am:
4885 * data/evince-ui.xml, shell/Makefile.am:
4886 * shell/ev-application.c, shell/ev-application.h:
4887 * shell/ev-window.c: Recent files support.
4889 * configure.ac: Added "ru" to ALL_LINGUAS.
4891 * dvju: new backend to support DJVU files.
4892 * dvi: new backend to support DVI.
4894 * configure.ac, Makefile.am, shell/Makefile.am, ev-window.c:
4895 * ev-application.c: Support for new backends.
4897 * help, ev-window.c, main.c shell/Makefile.am:
4898 Evince user documentation.
4900 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
4903 * shell/ev-window.c:
4904 * thumbnailer/evince-thumbnailer.c:
4906 s/pdf-document/ev-poppler
4908 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
4915 * ps/ps-document.c: (setup_pixmap):
4919 2005-04-05 Kristian Høgsberg <krh@redhat.com>
4921 * backend/ev-page-cache.c (ev_page_cache_next_page):
4922 * shell/ev-window.c (ev_window_cmd_go_next_page)
4923 (ev_window_cmd_go_first_page): Fix of by one errors.
4925 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
4927 * ps/ps-document.c: (get_page_box):
4929 Fix page size calculation
4931 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
4933 * ps/ps-document.c: (ps_document_init), (push_pixbuf),
4934 (ps_document_cleanup), (setup_pixmap), (get_page_box),
4935 (get_page_orientation), (setup_page), (document_load),
4936 (ps_document_get_page_size), (render_pixbuf_idle):
4939 More refactoring to adapt to EvDocument changes
4941 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
4943 * ps/ps-document.c: (start_interpreter):
4945 Actually add alpha args
4947 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
4949 * pdf/ev-poppler.cc:
4951 Make clipboard work again
4953 2005-04-04 Kristian Høgsberg <krh@redhat.com>
4955 Make searching work again.
4957 * backend/ev-document.c:
4958 * backend/ev-document.h:
4959 * backend/ev-document-find.c:
4960 * backend/ev-document-find.h: Change EvDocumentIface so we no
4961 longer store the current page or zoom level in the document. The
4962 consequence is that all calls that operate on the current page now
4963 instead take the page number as an extra argument, and all
4964 coordinates are now doubles in document coordinate system.
4966 * pdf/ev-poppler.cc:
4967 * pixbuf/pixbuf-document.c:
4968 * ps/ps-document.c: Update backends accordingly.
4970 2005-04-04 Marco Pesenti Gritti <marco@gnome.org>
4974 Add required gettext version
4976 Sat Apr 2 18:57:00 2005 Jonathan Blandford <jrb@redhat.com>
4978 * shell/evwindow.c: Patch from Alberto Mesas <amesas@gmail.com> to
4979 make F1 bring up non-existent help.
4981 * shell/eggfindbar.c: Patch from Christian Persch to sync to
4982 epiphany's find bar, #167477
4984 * shell/ev-view.c (ev_view_jump): Patch from Emil Soleyman-Zomalan
4985 <emil@nishra.com> to add space-bar scrolling,
4987 * shell/ev-window.c (static GtkActionEntry entries): add default
4988 keybinding for Help (F1)
4991 * shell/ev-view.c (ev_view_show_cursor): Fix from Yuval Tanny
4992 changing EV_VIEW_CURSOR_LINK to EV_VIEW_CURSOR_NORMAL resolves bug
4995 2005-04-01 David Malcolm <dmalcolm@redhat.com>
4998 * pixbuf/pixbuf-document.c:
5000 Got pixbuf backend working again
5002 2005-04-01 Steve Murphy <murf@e-tools.com>
5004 * configure.in: Added "rw" to ALL_LINGUAS.
5006 Fri Apr 1 02:33:41 2005 Jonathan Blandford <jrb@redhat.com>
5008 * shell/ev-sidebar-links.c (create_loading_model): Fix mismatch in
5009 model types, noticed by Martin Kretzschmar.
5011 2005-04-01 Kristian Høgsberg <krh@redhat.com>
5013 * pdf/ev-poppler.cc: Implement search based on
5014 poppler_page_find_text(). Currently a bit crude since we remember
5015 all matches from all pages. Also, we grab the big document lock
5016 when we search since searching changes the underlying stream and
5017 thus conflicts with the rendering thread.
5019 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
5020 (jump_to_find_page), (ev_view_set_document), (ev_view_find_next),
5021 (ev_view_find_previous): Fix some page indexes to be 0 based,
5022 offset rubber band by view offset,
5024 Fri Apr 01 09:21:12 2005 Pablo Saratxaga <pablo@mandrakesoft.com>
5026 * configure.ac: Added Walloon (wa) to ALL_LINGUAS.
5028 Fri Apr 1 01:59:39 2005 Jonathan Blandford <jrb@redhat.com>
5030 * shell/ev-page-action.c: Changed to use page labels now. Rewrote
5031 completely because I didn't understand GtkActions. I should
5032 read Marco's code more carefully in the future.
5034 * backend/ev-page-cache.h (ev_page_cache_set_page_label): New
5037 2005-03-31 Kristian Høgsberg <krh@redhat.com>
5039 * pdf/ev-poppler.cc (pdf_document_get_links): Update to work with
5040 PopplerRectangle change from poppler CVS.
5042 Thu Mar 31 13:27:50 2005 Jonathan Blandford <jrb@redhat.com>
5044 * backend/ev-document.c: (ev_document_get_page_label):
5045 * backend/ev-document.h:
5046 * backend/ev-page-cache.c: (_ev_page_cache_new),
5047 (ev_page_cache_get_page_label):
5048 * backend/ev-page-cache.h:
5049 * pdf/ev-poppler.cc:
5050 * shell/ev-sidebar-links.c: (ev_sidebar_links_construct),
5051 (links_page_num_func):
5052 * shell/ev-sidebar-thumbnails.c:
5053 (ev_sidebar_thumbnails_set_document):
5054 * shell/ev-view.c: (status_message_from_link),
5055 (ev_view_motion_notify_event):
5056 * shell/ev-window.c: (document_supports_sidebar): Add in page
5057 label support. It's not perfect yet, but it's the first 'feature'
5059 Also, fix a bogus comment noticed by crispin.
5061 Thu Mar 31 01:21:58 2005 Jonathan Blandford <jrb@redhat.com>
5063 * Makefile.am: Remove pixbuf backend for now
5065 * configure.ac: Require poppler-glib instead of just poppler.
5067 * backend/ev-document-thumbnails.h: Add a comment
5069 * backend/ev-document.h:
5070 * backend/ev-document.c: (ev_document_class_init),
5071 (ev_document_load), (ev_document_get_link),
5072 (ev_document_get_links): Remove 3 methods and add get_links.
5075 * backend/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
5076 * backend/ev-jobs.h: now EvJobRender can grab the links for a document.
5078 * backend/ev-link.c: (ev_link_set_title),
5079 (ev_link_mapping_free_foreach), (ev_link_mapping_free),
5080 (ev_link_mapping_find):
5081 * backend/ev-link.h: Allow NULL titles. Also, introduce a mapping link.
5083 * backend/ev-page-cache.c: (ev_page_cache_init),
5084 (_ev_page_cache_new), (ev_page_cache_set_current_page),
5085 (ev_page_cache_get_size), (ev_page_cache_next_page),
5086 (ev_page_cache_prev_page): Fix to be 0 based.
5090 * pdf/ev-poppler.cc: New backend.
5092 * ps/ps-document.c: (ps_document_init), (ps_document_set_page),
5093 (ps_document_get_page), (ps_document_document_iface_init):
5095 * shell/ev-pixbuf-cache.h:
5096 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
5097 (dispose_cache_job_info), (job_finished_cb), (move_one_job),
5098 (ev_pixbuf_cache_update_range), (copy_job_to_job_info),
5099 (add_job_if_needed), (ev_pixbuf_cache_set_page_range),
5100 (ev_pixbuf_cache_get_pixbuf), (ev_pixbuf_cache_get_link_mapping):
5101 Fix up code to grab a page cache per each doc. Also, fix to be 0
5104 * shell/ev-sidebar-thumbnails.c:
5105 (ev_sidebar_tree_selection_changed), (page_changed_cb),
5106 (ev_sidebar_thumbnails_set_document): Fix to be 0 based.
5108 * shell/ev-view.c: (status_message_from_link),
5109 (find_page_at_location), (get_link_at_location),
5110 (ev_view_motion_notify_event), (ev_view_button_release_event),
5111 (ev_view_init): Use the new link code. Fix to be 0 based.
5113 * shell/ev-window.c: (update_action_sensitivity),
5114 (document_supports_sidebar): 0 based.
5116 Fri Mar 25 16:55:58 2005 Jonathan Blandford <jrb@redhat.com>
5118 * pdf/pdf-document.cc: Patch from Fernando Herrera
5119 <fherrera@onirica.com> to fix my quick fix to get_thumbnail.
5122 Wed Mar 23 23:49:41 2005 Jonathan Blandford <jrb@redhat.com>
5124 * pdf/pdf-document.cc (pdf_document_thumbnails_get_thumbnail): add
5125 1 to the page, as this seems to be 1 based. I thought we has this
5128 2005-03-23 Marco Pesenti Gritti <marco@gnome.org>
5131 * backend/Makefile.am:
5132 * backend/ev-document-links.c:
5133 (ev_document_links_has_document_links),
5134 (ev_document_links_get_links_model):
5135 * backend/ev-document-links.h:
5136 * backend/ev-document.c: (ev_document_get_page_cache),
5137 (ev_document_get_doc_mutex), (ev_document_load),
5138 (ev_document_save), (ev_document_get_title),
5139 (ev_document_get_n_pages), (ev_document_set_page),
5140 (ev_document_get_page), (ev_document_set_target),
5141 (ev_document_set_scale), (ev_document_set_page_offset),
5142 (ev_document_get_page_size), (ev_document_get_text),
5143 (ev_document_get_link), (ev_document_render),
5144 (ev_document_render_pixbuf), (ev_document_scale_changed):
5145 * backend/ev-document.h:
5146 * backend/ev-job-queue.c: (remove_object_from_queue),
5147 (notify_finished), (handle_job), (search_for_jobs_unlocked),
5148 (no_jobs_available_unlocked), (ev_render_thread),
5149 (ev_job_queue_init), (find_queue), (ev_job_queue_add_job),
5150 (ev_job_queue_remove_job):
5151 * backend/ev-job-queue.h:
5152 * backend/ev-jobs.c: (ev_job_init), (ev_job_dispose),
5153 (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
5154 (ev_job_links_class_init), (ev_job_render_init),
5155 (ev_job_render_dispose), (ev_job_render_class_init),
5156 (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
5157 (ev_job_thumbnail_class_init), (ev_job_finished),
5158 (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
5159 (ev_job_render_run), (ev_job_thumbnail_new),
5160 (ev_job_thumbnail_run):
5161 * backend/ev-jobs.h:
5162 * backend/ev-link.c:
5163 * backend/ev-link.h:
5164 * backend/ev-page-cache.c: (ev_page_cache_init),
5165 (ev_page_cache_class_init), (ev_page_cache_finalize),
5166 (_ev_page_cache_new), (ev_page_cache_get_n_pages),
5167 (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
5168 (ev_page_cache_set_link), (ev_page_cache_get_title),
5169 (ev_page_cache_get_size), (ev_page_cache_next_page),
5170 (ev_page_cache_prev_page):
5171 * backend/ev-page-cache.h:
5172 * pdf/pdf-document.cc:
5175 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
5176 (push_pixbuf), (interpreter_failed), (ps_document_cleanup),
5177 (ps_document_widget_event), (ps_document_finalize), (get_xdpi),
5178 (get_ydpi), (setup_pixmap), (setup_page), (close_pipe),
5179 (is_interpreter_ready), (output), (catchPipe), (input),
5180 (start_interpreter), (check_filecompressed), (compute_dimensions),
5181 (ps_document_enable_interpreter), (document_load),
5182 (ps_document_next_page), (render_page), (ps_document_set_page),
5183 (ps_document_set_scale), (render_pixbuf_idle),
5184 (ps_document_render_pixbuf), (ps_document_document_iface_init):
5186 * shell/Makefile.am:
5187 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
5188 (ev_pixbuf_cache_class_init), (ev_pixbuf_cache_finalize),
5189 (dispose_cache_job_info), (ev_pixbuf_cache_dispose),
5190 (ev_pixbuf_cache_new), (job_finished_cb),
5191 (check_job_size_and_unref), (move_one_job),
5192 (ev_pixbuf_cache_update_range), (find_job_cache),
5193 (ev_pixbuf_cache_clear_job_sizes), (add_job_if_needed),
5194 (ev_pixbuf_cache_add_jobs_if_needed),
5195 (ev_pixbuf_cache_set_page_range), (ev_pixbuf_cache_get_pixbuf):
5196 * shell/ev-pixbuf-cache.h:
5197 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
5198 (idle_print_handler):
5199 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
5200 (selection_changed_cb), (create_loading_model),
5201 (ev_sidebar_links_construct), (links_page_num_func),
5202 (ev_sidebar_links_clear_document), (update_page_callback_foreach),
5203 (update_page_callback), (job_finished_cb),
5204 (ev_sidebar_links_set_document):
5205 * shell/ev-sidebar-thumbnails.c:
5206 (ev_sidebar_thumbnails_class_init), (adjustment_changed_cb),
5207 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init),
5208 (page_changed_cb), (thumbnail_job_completed_callback),
5209 (ev_sidebar_thumbnails_set_document):
5210 * shell/ev-sidebar-thumbnails.h:
5211 * shell/ev-sidebar.c: (ev_sidebar_set_document):
5212 * shell/ev-view.c: (ev_view_finalize), (ev_view_destroy),
5213 (ev_view_get_offsets), (ev_view_size_request), (ev_view_realize),
5214 (ev_view_unrealize), (highlight_find_results), (expose_bin_window),
5215 (ev_view_select_all), (ev_view_copy), (ev_view_primary_get_cb),
5216 (ev_view_create_invisible_cursor), (ev_view_motion_notify_event),
5217 (ev_view_button_release_event), (ev_view_scroll_view),
5218 (ev_view_class_init), (ev_view_init), (update_find_status_message),
5219 (jump_to_find_result), (jump_to_find_page), (find_changed_cb),
5220 (ev_view_new), (job_finished_cb), (page_changed_cb),
5221 (ev_view_set_document), (go_to_link), (ev_view_zoom),
5222 (size_to_zoom_factor), (ev_view_set_size), (ev_view_find_next),
5223 (ev_view_find_previous):
5225 * shell/ev-window.c: (update_action_sensitivity),
5226 (ev_window_open_page), (update_window_title), (update_total_pages),
5227 (page_changed_cb), (ev_window_setup_document),
5228 (password_dialog_response), (ev_window_cmd_save_as),
5229 (ev_window_print), (ev_window_cmd_go_previous_page),
5230 (ev_window_cmd_go_next_page), (ev_window_cmd_go_first_page),
5231 (ev_window_cmd_go_last_page), (ev_window_cmd_view_reload),
5232 (find_bar_search_changed_cb), (goto_page_cb), (ev_window_init):
5233 * shell/main.c: (main):
5235 Merge evince-threads branch
5237 2005-03-16 Žygimantas Beručka <uid0@akl.lt>
5239 * configure.ac: Added "lt" to ALL_LINGUAS.
5241 2005-03-14 Marco Pesenti Gritti <marco@gnome.org>
5248 2005-03-13 Fernando Herrera <fherrera@onirica.com>
5250 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
5252 Fix here also the thumbnails 1-basedness :)
5254 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
5261 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
5263 * pdf/pdf-document.cc:
5264 * shell/ev-sidebar-thumbnails.c: (adjustment_changed_cb),
5265 (do_one_iteration), (ev_sidebar_thumbnails_set_document):
5267 Fix the mess we did with thumbnails and 1-basedness
5269 2005-03-12 Changwoo Ryu <cwryu@debian.org>
5271 * configure.ac (ALL_LINGUAS): Added "ko" (Korean).
5273 2005-03-09 Marco Pesenti Gritti <marco@gnome.org>
5280 2005-03-08 Marco Pesenti Gritti <marco@gnome.org>
5283 * ps/gsdefaults.c: (gtk_gs_defaults_get_interpreter_cmd),
5284 (gtk_gs_defaults_get_alpha_parameters),
5285 (gtk_gs_defaults_get_ungzip_cmd),
5286 (gtk_gs_defaults_get_unbzip2_cmd):
5288 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
5289 (ps_document_get_orientation), (document_load),
5290 (ps_document_goto_page), (ps_document_set_page_size):
5293 Some more sanitization of the ps backend. Remove a lot
5294 of unused code and do not base our defaults on ggv
5297 2005-03-08 Fernando Herrera <fherrera@onirica.com>
5299 * thumbnailer/evince-thumbnailer.schemas:
5300 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
5301 (main): add -s option for thumbnail size.
5303 2005-03-07 Christian Persch <chpe@cvs.gnome.org>
5307 AC_PROG_RANLIB is rendered obsolete by AC_PROG_LIBTOOL;
5310 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
5312 * pdf/pdf-document.cc:
5314 Remove 4 pixels of useless border from the
5317 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
5319 * backend/ev-document-thumbnails.c:
5320 (ev_document_thumbnails_get_thumbnail):
5321 * backend/ev-document-thumbnails.h:
5323 Rework API a bit. Add a border flag and
5324 change sizing logic (now the size we specify
5325 applies to the bigger dimension).
5327 * pdf/pdf-document.cc:
5328 * pixbuf/pixbuf-document.c:
5329 (pixbuf_document_thumbnails_get_thumbnail):
5330 * shell/ev-sidebar-thumbnails.c: (do_one_iteration):
5331 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
5333 Adapt to the new API and do not draw a border for nautilus
5336 2005-03-03 Fernando Herrera <fherrera@onirica.com>
5338 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
5339 take thumbnails from page "0" instead of "1". Added a copyright header.
5341 2005-03-03 Jens Granseuer <jensgr@gmx.net>
5343 * ps/ps-document.c: (set_up_page), (start_interpreter):
5345 Make it C89 compliant
5347 2005-03-03 Marco Pesenti Gritti <marco@gnome.org>
5352 * pdf/pdf-document.cc:
5353 * thumbnailer/Makefile.am:
5354 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
5356 * thumbnailer/evince-thumbnailer.schemas:
5357 * thumbnailer/pdf-icon.png:
5359 Add a nautilus thumbnailer.
5360 Based on patch by Fernando Herrera <fherrera@onirica.com>.
5362 2005-03-02 Marco Pesenti Gritti <marco@gnome.org>
5370 2005-03-01 Kristian Høgsberg <krh@redhat.com>
5372 Use poppler instead of including xpdf source code. Poppler is a
5373 fork of xpdf to build it as a shared library. See
5374 http://freedesktop.org/wiki/Software/poppler.
5376 * pdf/xpdf/*, pdf/goo/*, pdf/splash/*, pdf/fofi/*: Remove included
5379 * pdf/Makefile.am: Build libpdfdocument.a here.
5381 * pdf/GDKSplashOutputDev.cc:
5382 * pdf/GDKSplashOutputDev.h:
5383 * pdf/GnomeVFSStream.cc:
5384 * pdf/GnomeVFSStream.h:
5387 * test-gdk-output-dev.cc
5389 * Thumb.h: Pull these files out of pdf/xpdf and adjust to compile
5392 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
5394 * shell/ev-sidebar-links.c: (ev_sidebar_links_clear_document):
5396 Clear idle stack before unsetting the document
5398 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
5400 * ps/ps-document.c: (ps_document_widget_event),
5401 (ps_document_set_target), (ps_document_finalize),
5402 (ps_document_get_page):
5404 Disconnect the widget event signal on finalize.
5407 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
5409 * ps/ps-document.c: (set_up_page):
5411 If there is no bpixmap create one, even if size
5414 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
5416 * ps/ps-document.c: (ps_document_init), (ps_document_cleanup),
5417 (set_up_page), (document_load), (ps_document_set_zoom):
5419 Default page is 0. Calculate size even when we have no
5422 2005-02-28 Carlos Garcia Campos <carlosgc@gnome.org>
5424 * shell/ev-sidebar.c: expand the selection widget to be always as
5427 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
5429 * shell/ev-sidebar-thumbnails.c:
5430 (ev_sidebar_thumbnails_set_document):
5432 Clear the list store when setting document
5434 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
5436 * shell/ev-page-action.c: (update_entry), (sync_entry),
5437 (activate_cb), (entry_size_request_cb), (create_tool_item),
5440 Use an entry for the page control instead of spinbuttons
5442 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
5444 * data/evince.schemas.in:
5446 Correct confusing string
5448 Sun Feb 27 23:00:31 2005 Jonathan Blandford <jrb@redhat.com>
5450 * shell/ev-sidebar-links.c (do_one_iteration): Handle title links
5451 for real. Gosh, how long has this been broken.
5453 * pdf/xpdf/pdf-document.cc (build_link_from_action): add back the
5454 check for a NULL link. We crash otherwise.
5456 2005-02-27 Marco Pesenti Gritti <marco@gnome.org>
5463 2005-02-25 Sebastien Bacher <seb128@debian.org>
5465 * configure.ac: add the french translation.
5467 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
5469 * shell/ev-window.c:
5471 Remove unused header -> fix distcheck
5473 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
5475 * shell/ev-window.c: (update_window_title),
5476 (ev_window_popup_password_dialog):
5478 Unescape filename for display
5480 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
5482 * pdf/xpdf/pdf-document.cc:
5484 In get_page_size deal with rotation. Also
5485 cleanup the function a bit.
5487 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
5489 * pdf/xpdf/pdf-document.cc:
5491 Fix crash when opening in new window
5493 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
5497 Check ghostscript >= 7
5499 2005-02-25 Pedro Villavicencio <pvillavi@gnome.cl>
5501 * shell/ev-window.c:
5503 Make page width the default sizing mode
5505 2005-02-25 Carlos Garcia Campos <carlosgc@gnome.org>
5506 Marco Pesenti Gritti <marco@gnome.org>
5508 * shell/ev-window.c: Remember the sidebar size
5510 * data/evince.schemas.in: Add a new gconf key to store the size of
5513 2005-02-24 Kai Willadsen <kaiw@itee.uq.edu.au>
5515 * data/evince-ui.xml:
5516 * shell/ev-window.c: (update_action_sensitivity),
5517 (ev_window_cmd_view_reload):
5519 Add a "Reload" action and menu entry
5521 Thu Feb 24 23:07:33 2005 Jonathan Blandford <jrb@redhat.com>
5523 * shell/ev-window.c (hide_sidebar_and_actions): Hide the sidebar
5524 iff the type doesn't support thumbnailing and indexing.
5526 2005-02-24 Martin Kretzschmar <martink@gnome.org>
5528 * configure.ac (ALL_LINGUAS): Added "zh_TW" (Traditional Chinese).
5530 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
5532 * pdf/splash/Splash.cc:
5534 Port fix for a crasher from kde bug
5535 http://bugs.kde.org/show_bug.cgi?id=97131
5537 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
5539 * pdf/xpdf/pdf-document.cc:
5541 Return a link even if it's of an unrecognized
5542 type. Otherwise we go in an infinte cycle.
5544 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
5546 * shell/ev-window.c: (update_sizing_buttons), (update_view_size),
5547 (size_allocate_cb), (ev_window_set_sizing_mode):
5549 Update size when switching mode
5551 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
5553 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
5554 (ev_window_cmd_view_page_width), (update_sizing_buttons),
5555 (ev_window_cmd_view_normal_size):
5557 Fix size toggle buttons behavior
5559 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
5561 * shell/ev-view.c: (ev_view_get_offsets), (view_rect_to_doc_rect),
5562 (doc_rect_to_view_rect), (ev_view_size_allocate),
5563 (expose_bin_window), (ev_view_select_all), (page_changed_callback),
5564 (scale_changed_callback):
5566 Do not cache offsets in size_allocate.
5568 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
5570 * shell/ev-view.c: (ev_view_size_allocate):
5572 Calculate offsets before calling the parent
5573 class (which does a redraw)
5575 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
5577 * pdf/xpdf/pdf-document.cc:
5579 Fix a crasher on exit. Unused code, put a TODO
5581 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
5583 * backend/ev-document.c: (ev_document_class_init),
5584 (ev_document_page_changed), (ev_document_scale_changed):
5585 * backend/ev-document.h:
5587 Separate page/scale notifications
5589 * pdf/xpdf/pdf-document.cc:
5591 Emit the new signals.
5592 Do not display the pdf page in _render, do it
5593 when scale/page are requested.
5595 * ps/ps-document.c: (ps_document_set_zoom),
5596 (ps_document_widget_event):
5599 Emit the new signals.
5601 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
5602 (ev_view_init), (page_changed_callback), (scale_changed_callback),
5603 (ev_view_set_document), (ev_view_zoom), (ev_view_zoom_in),
5604 (ev_view_zoom_out), (size_to_zoom_factor), (ev_view_set_size):
5606 * shell/ev-window.c: (ev_window_cmd_view_normal_size),
5607 (ev_window_cmd_view_page_width), (size_allocate_cb),
5608 (ev_window_set_sizing_mode):
5610 Rework sizing to be pixel based.
5611 There are bugs but should be already way better.
5613 2005-02-23 Marco Pesenti Gritti <marco@gnome.org>
5615 * shell/ev-window.c: (ev_window_init):
5617 Do not allow to shrink sidebar smaller then
5620 2005-02-23 Carlos Garcia Campos <carlosgc@gnome.org>
5622 * shell/ev-sidebar.[ch]
5623 * shell/ev-window.c:
5625 Improved sidebar widget. Fixes #166683
5627 2005-02-23 Tommi Vainikainen <thv@iki.fi>
5629 * shell/ev-view.c (update_find_status_message): Give translators
5630 more flexibility with ngettext plural handling.
5632 Mon Feb 21 17:52:08 2005 Jonathan Blandford <jrb@redhat.com>
5634 * pdf/xpdf/pdf-document.cc (pdf_document_get_page_size): Patch
5635 from Crispin Flowerday <gnome@flowerday.cx> to avoid rendering the
5636 page when we get the page size.
5638 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
5640 * ps/ps-document.c: (ps_document_set_page), (ps_document_get_page):
5642 ps pages are 0 based, convert
5644 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
5646 * ps/ps-document.c: (ps_document_class_init), (ps_document_load):
5648 Initialize correct parent class. Set GError on document load
5650 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
5652 * pdf/xpdf/pdf-document.cc:
5654 Fixup selection offset calculation
5656 * shell/ev-view.c: (view_rect_to_doc_rect),
5657 (doc_rect_to_view_rect), (ev_view_size_allocate),
5658 (expose_bin_window), (ev_view_select_all), (ev_view_copy),
5659 (ev_view_primary_get_cb), (ev_view_motion_notify_event):
5661 Store selection as document relative, so that zooming
5662 and offset changing doesnt break it.
5664 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
5666 * shell/ev-view.c: (ev_view_best_fit):
5668 Do not try to best fit if the view is not realized
5670 2005-02-20 Kostas Papadimas <pkst@gnome.org>
5672 * configure.ac (ALL_LINGUAS): Added "el" (Greek).
5674 Fri Feb 18 16:06:39 2005 Jonathan Blandford <jrb@redhat.com>
5676 * shell/ev-window.c (ev_window_focus_in_event): missed a case.
5678 Fri Feb 18 15:32:57 2005 Jonathan Blandford <jrb@redhat.com>
5680 * shell/ev-window.c: Change the fullscreen toolbar to always be in
5681 the popup window. That prevents it resizing when in full screen
5684 * shell/ev-view.c: Change Zoom epsilon as a bad hack to avoid
5685 multiple rerenders. This pretty much sucks.
5687 * data/evince-ui.xml: Change the fullscreen toolbar to include the
5688 rest of the toolbar.
5690 2005-02-18 Tommi Vainikainen <thv@iki.fi>
5692 * configure.ac (ALL_LINGUAS): Added "fi" (Finnish).
5694 2005-02-17 Alexander Shopov <ash@contact.bg>
5696 * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
5698 2005-02-16 Bryan Clark <clarkbw@cvs.gnome.org>
5700 * shell/ev-window.c: added ellipsis to Print item. Fixes bug 166915
5702 2005-02-16 Marco Pesenti Gritti <marco@gnome.org>
5704 * shell/ev-view.c: (ev_view_realize), (highlight_find_results),
5705 (ev_view_create_invisible_cursor), (ev_view_set_cursor),
5706 (set_document_page), (document_changed_callback),
5707 (ev_view_set_document), (ev_view_find_previous),
5708 (ev_view_hide_cursor), (ev_view_show_cursor):
5710 * shell/ev-window.c: (update_chrome_visibility),
5711 (fullscreen_timeout_cb), (fullscreen_set_timeout),
5712 (fullscreen_clear_timeout), (fullscreen_motion_notify_cb),
5713 (fullscreen_leave_notify_cb), (ev_window_fullscreen),
5714 (ev_window_unfullscreen):
5715 * shell/main.c: (main):
5717 Automatically hide the fullscreen button.
5718 Patch by Kristian Høgsberg <krh@redhat.com>
5720 2005-02-16 Vincent Noel <vnoel@cox.net>
5722 * shell/main.c (main): Specify an icon for the window. Patch by
5723 Jaap A. Haitsma. Fixes #166177.
5725 Wed Feb 16 06:30:13 2005 Jonathan Blandford <jrb@redhat.com>
5727 * shell/ev-view.c (ev_view_realize): get rid of the black flash.
5729 Tue Feb 15 22:27:13 2005 Jonathan Blandford <jrb@redhat.com>
5731 * backend/ev-document-misc.h:
5732 * backend/ev-document-misc.c:
5733 (ev_document_misc_get_page_border_size),
5734 (ev_document_misc_paint_one_page): New function to canonicalize
5735 sizing/painting a border.
5737 * shell/Makefile.am: Remove ev-page-view.c entirely as it's not
5740 * pdf/xpdf/pdf-document.cc: use new function
5742 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
5743 (ev_view_init), (ev_view_set_mode), (ev_view_zoom),
5744 (ev_view_best_fit), (ev_view_fit_width): * shell/ev-view.h: *
5745 shell/ev-window.c: (update_sizing_buttons),
5746 (ev_window_setup_document), (ev_window_cmd_view_zoom_in),
5747 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_best_fit),
5748 (ev_window_cmd_view_page_width), (size_allocate_cb),
5749 (ev_window_set_sizing_mode), (ev_window_init): make the "best fit"
5750 and "fit width" values act as toggle buttons so they stay
5751 toggled. It's not 100% perfect, and it's a little slow, but it's
5752 good enough to commit I think.
5754 2005-02-15 David Lodge <dave@cirt.net>
5756 * configure.ac (ALL_LINGUAS): Added "en_GB" (English (British)).
5758 2005-02-15 Martin Kretzschmar <martink@gnome.org>
5760 * shell/ev-window.c (update_window_title): replace newlines in
5761 the title by spaces. Bug #166107.
5763 2005-02-14 Martin Kretzschmar <martink@gnome.org>
5765 * shell/ev-view.c (ev_view_best_fit, ev_view_fit_width): add
5766 parameters providing allocation width and height without
5767 scrollbars and width of a possible vertical scrollbar. With this
5768 additional information the functions can work as
5769 intended. Unfortunately they're not idempotent. We should
5770 transform these commands to toggles. Fixes Bug #164976
5771 Initial patch by Stephane Loeuillet, then heavily modified.
5773 * shell/ev-view.h: update prototypes.
5775 * shell/ev-window.c (ev_window_cmd_view_best_fit)
5776 (ev_window_cmd_view_page_width): provide EvView fit functions with
5777 all the information they need. Formulas to calculate this
5778 information taken from GtkScrolledWindow.
5780 2005-02-14 Crispin Flowerday <gnome@flowerday.cx>
5782 * shell/ev-sidebar-thumbnails.c: Ensure that after we have
5783 created a thumbnail, the list store is updated to know
5784 that the thumbnail is set. Fixes bug #166792
5786 2005-02-11 Bryan Clark <clarkbw@cvs.gnome.org>
5788 * shell/ev-window.c: fixed typo, closes bug 166897
5790 * TODO: updated TODO with bug numbers that are relevant
5792 2005-02-09 Carlos Garcia Campos <carlosgc@gnome.org>
5794 * shell/ev-window.c: Support for DnD of files. Fixes #164813
5796 2005-02-09 Vincent Noel <vnoel@cox.net>
5798 * shell/ev-window.c: (set_action_properties): Set the "Previous"
5799 and "Next" toolbar buttons as important to make them stand out.
5801 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
5805 * ps/ps-document.c: (ps_document_finalize), (set_up_page),
5806 (start_interpreter), (stop_interpreter), (document_load),
5807 (ps_document_next_page), (ps_document_goto_page),
5808 (ps_document_set_page_size), (ps_document_widget_event),
5809 (ps_document_render):
5810 * shell/ev-page-view.c: (ev_page_view_dispose):
5811 * shell/ev-view.c: (ev_view_finalize), (expose_bin_window):
5813 Fix compilation on non-gcc platforms
5815 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
5822 * pdf/xpdf/Catalog.cc:
5825 Fix the fix for CAN-2004-0888
5827 2005-02-09 Luca Ferretti <elle.uca@libero.it>
5830 * data/evince-ui.xml:
5831 * shell/ev-stock-icons.c: (ev_stock_icons_init):
5832 * shell/ev-stock-icons.h:
5833 * shell/ev-window.c: (update_action_sensitivity),
5834 (ev_window_cmd_go_previous_page), (ev_window_cmd_go_next_page),
5835 (set_action_properties):
5837 Improve toolbar layout/icons
5839 2005-02-08 Marco Pesenti Gritti <marco@gnome.org>
5841 * pdf/xpdf/pdf-document.cc:
5843 Add warnings about unimplemented/unknown link
5846 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
5848 * ps/ps-document.c: (set_up_page):
5852 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
5854 * ps/ps-document.c: (start_interpreter):
5858 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
5860 * shell/ev-page-view.c: (ev_page_view_dispose):
5861 * shell/ev-view.c: (ev_view_finalize):
5862 * shell/ev-window.c: (ev_window_setup_document),
5863 (ev_window_dispose), (ev_window_init):
5865 Solve more refs issues.
5867 I commented out the page_view initialization for now:
5868 it was never destroyed (because it's never added
5869 to a container). Because of that we was leaking
5870 gs processes. Couldnt think to a clean fix.
5871 We need to figure this out, password view has the
5872 same issue probably.
5874 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
5876 * ps/ps-document.c: (ps_document_finalize),
5877 (ps_document_get_n_pages), (ps_document_get_page):
5879 Some cleanups, stop the interpreter on finalize
5881 * shell/ev-page-view.c: (ev_page_view_dispose),
5882 (ev_page_view_class_init):
5884 Release our reference on the document
5886 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
5890 * doc/debugging.txt:
5893 * lib/ev-debug.c: (log_module), (trap_handler), (ev_debug_init),
5894 (ev_profiler_new), (ev_should_profile), (ev_profiler_dump),
5895 (ev_profiler_free), (ev_profiler_start), (ev_profiler_stop):
5898 Add debugging helpers
5901 * ps/ps-document.c: (set_up_page), (start_interpreter),
5902 (stop_interpreter), (document_load), (ps_document_next_page),
5903 (ps_document_goto_page), (ps_document_set_page_size),
5904 (ps_document_widget_event), (ps_document_render):
5905 * shell/Makefile.am:
5906 * shell/ev-view.c: (expose_bin_window):
5907 * shell/main.c: (main):
5911 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
5913 * ps/ps-document.c: (ps_document_widget_event):
5915 Initialize message_window, this should make ps
5916 rendering really work! (Never noticed because I was
5917 testing with a ps that is causing gs to exit every time!)
5919 2005-02-07 Bryan Clark <clarkbw@cvs.gnome.org>
5921 * data/evince.schemas.in: updated simple error in applyto closing tag
5923 2005-02-07 Christian Persch <chpe@cvs.gnome.org>
5929 * data/evince-ui.xml:
5930 A data/evince.schemas.in:
5932 * shell/ev-stock-icons.c: (ev_stock_icons_init):
5933 * shell/ev-stock-icons.h:
5934 * shell/ev-window.c: (update_chrome_visibility),
5935 (update_chrome_flag), (ev_window_cmd_edit_find),
5936 (ev_window_update_fullscreen_popup), (ev_window_fullscreen),
5937 (ev_window_unfullscreen), (ev_window_focus_in_event),
5938 (ev_window_focus_out_event), (ev_window_cmd_leave_fullscreen),
5939 (ev_window_view_toolbar_cb), (ev_window_view_statusbar_cb),
5940 (ev_window_view_sidebar_cb), (find_bar_close_cb),
5941 (ev_window_dispose), (ev_window_class_init),
5942 (set_action_properties), (set_chrome_actions), (load_chrome),
5945 Implement fullscreen mode changes from bug #164776.
5946 Also implement persistent chrome toggles.
5948 2005-02-07 Jordi Mallach <jordi@sindominio.net>
5950 * configure.ac (ALL_LINGUAS): Added "ca" (Catalan).
5952 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
5958 Add another check for find interface
5962 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
5964 * shell/ev-application.c: (ev_application_open):
5965 * shell/ev-window.c: (ev_window_open):
5967 Open gzipped ps documents
5969 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
5972 * shell/ev-view.c: (set_document_page):
5974 Clamp page number, dont try to move to
5977 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
5979 * backend/ev-document-find.c: (ev_document_find_changed):
5980 * backend/ev-document-find.h:
5981 * pdf/xpdf/pdf-document.cc:
5982 * shell/ev-view.c: (jump_to_find_result), (ev_view_set_document):
5983 * shell/ev-window.c: (find_bar_search_changed_cb):
5985 Fix several bugs with find
5987 2005-02-04 Martin Kretzschmar <martink@gnome.org>
5989 * shell/ev-sidebar-thumbnails.c
5990 (ev_sidebar_thumbnails_select_page): do nothing unless we have a
5991 document. Prevents warning from scroll_to_cell.
5993 2005-02-02 Kjartan Maraas <kmaraas@gnome.org>
5995 * configure.ac: Add «nb» to ALL_LINGUAS too.
5997 Wed Feb 2 21:13:11 2005 Jonathan Blandford <jrb@redhat.com>
5999 * NOTES: New file with some random thoughts.
6003 * backend/ev-document-misc.c:
6004 (ev_document_misc_get_page_border_size): New function to
6005 canonicalize shadow drawing sizes. Possibly goofy.
6007 * shell/ev-view.c: (ev_view_size_request), (set_document_page),
6008 (ev_view_best_fit), (ev_view_fit_width):
6009 * pdf/xpdf/pdf-document.cc:
6010 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
6011 * ps/ps-document.c: (ps_document_get_page_size):
6012 * backend/ev-document-misc.h:
6013 * backend/ev-document.c: (ev_document_get_page_size):
6014 * backend/ev-document.h: get_page_size now takes a page number
6015 parameter. Made all the backends/frontends honor it.
6017 * data/evince-ui.xml: Added a multiple-page mode. Uncomment to
6018 see. Doesn't work yet.
6020 * shell/Makefile.am:
6021 * shell/ev-page-view.[ch]: New multi-page view. Really rough.
6022 Doesn't do anything yet.
6024 * shell/ev-sidebar-thumbnails.c:
6025 (ev_sidebar_thumbnails_set_document): [1..n_pages] instead of
6028 * shell/ev-window.c: (update_action_sensitivity),
6029 (ev_window_setup_document), (ev_window_set_page_mode),
6030 (ev_window_page_mode_cb), (ev_window_init): Clean up the
6031 view-swapping code a bit so we can have multiple views on a
6032 document. Add the multi-page view, though it can't be turned on
6035 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
6037 * shell/ev-application.c: (ev_application_open):
6038 * shell/ev-view.c: (expose_bin_window):
6039 * shell/ev-window.c: (ev_window_open):
6041 Support eps and check document supports find
6042 before drawing highlightings in expose.
6044 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
6046 * pixbuf/pixbuf-document.c:
6047 (pixbuf_document_thumbnails_get_dimensions),
6048 (pixbuf_document_document_thumbnails_iface_init):
6050 implement get_dimensions
6052 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
6059 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
6061 * shell/ev-view.c: (set_document_page):
6063 Scroll at the top of the page when changing page
6065 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
6067 * shell/ev-view.c: (ev_view_motion_notify_event):
6069 Do not redraw unnecessarily
6071 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
6073 * pdf/xpdf/pdf-document.cc:
6074 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
6075 (expose_bin_window), (find_changed_cb):
6077 Yay! find works now... Now to find bugs...
6079 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
6081 * backend/ev-document-find.c: (ev_document_find_base_init),
6082 (ev_document_find_changed):
6083 * backend/ev-document-find.h:
6084 * pdf/xpdf/pdf-document.cc:
6085 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
6086 (expose_bin_window), (ev_view_init), (set_document_page),
6087 (ensure_rectangle_is_visible), (jump_to_find_result),
6088 (jump_to_find_page), (find_changed_cb), (ev_view_set_document),
6089 (ev_view_find_next), (ev_view_find_previous):
6091 * shell/ev-window.c: (find_bar_previous_cb), (find_bar_next_cb):
6093 More work on find implementation, mostly there now
6095 2005-01-29 Marco Pesenti Gritti <marco@gnome.org>
6097 * backend/ev-backend-marshalers.list:
6098 * backend/ev-document-find.c: (ev_document_find_base_init),
6099 (ev_document_find_cancel), (ev_document_find_page_has_results),
6100 (ev_document_find_get_n_results), (ev_document_find_get_result),
6101 (ev_document_find_get_progress), (ev_document_find_changed):
6102 * backend/ev-document-find.h:
6104 Enanche the find interface to be really able to do
6107 * pdf/xpdf/pdf-document.cc:
6111 * shell/ev-view.c: (ev_view_finalize), (highlight_find_results),
6112 (expose_bin_window), (ev_view_init),
6113 (ev_view_get_find_status_message), (find_changed_cb),
6114 (ev_view_set_document), (set_document_page):
6116 Adapt to the new interface. A few things are regressed sorry,
6117 I will finish it soon.
6119 2005-01-28 Martin Kretzschmar <martink@gnome.org>
6121 * shell/ev-sidebar-thumbnails.c (ev_sidebar_thumbnails_destroy)
6122 (ev_sidebar_thumbnails_class_init): use G_DEFINE_TYPE-supplied
6123 ev_sidebar_thumbnails_parent_class variable, don't define another
6124 parent_class variable.
6126 * shell/ev-page-action.c (connect_proxy, ev_page_action_finalize)
6127 (ev_page_action_class_init): ditto.
6129 * pixbuf/pixbuf-document.c (pixbuf_document_finalize)
6130 (pixbuf_document_class_init): ditto.
6132 * backend/ev-link.c (ev_window_dispose, ev_link_class_init):
6135 * .cvsignore: ignore various valgrind output files.
6137 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
6139 * data/evince-ui.xml:
6140 * shell/Makefile.am:
6141 * shell/ev-history.c:
6142 * shell/ev-history.h:
6143 * shell/ev-navigation-action.c:
6144 * shell/ev-navigation-action.h:
6145 * shell/ev-view.c: (ev_view_finalize), (ev_view_go_to_link),
6146 (ev_view_set_page), (ev_view_fit_width):
6148 * shell/ev-window.c: (update_action_sensitivity),
6149 (ev_window_setup_document), (register_custom_actions):
6151 Kill session history
6153 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
6155 * shell/ev-window.c: (update_action_sensitivity):
6157 Fix inverted up/down buttons
6159 2005-01-27 Martin Kretzschmar <martink@gnome.org>
6161 * shell/ev-sidebar-thumbnails.c
6162 (ev_sidebar_thumbnails_select_page): make sure the selected
6163 thumbnail stays visible.
6165 2005-01-26 Martin Kretzschmar <martink@gnome.org>
6167 * shell/ev-window.c (ev_window_init): add GTK_SHADOW_IN to the
6168 scrolled window for Federico.
6170 2005-01-26 Ole Laursen <olau@hardworking.dk>
6172 * configure.ac: Added "da" (Danish) to ALL_LINGUAS.
6174 2005-01-26 Marco Pesenti Gritti <marco@gnome.org>
6177 * pdf/splash/SplashFTFontEngine.cc:
6179 Fix CID fonts with freetype 2.1.9
6181 2005-01-26 Bryan Clark <clarkbw@cvs.gnome.org>
6183 * TODO: added item for desktop icon thumbnailer
6185 Tue Jan 25 00:59:34 2005 Jonathan Blandford <jrb@redhat.com>
6187 * pdf/xpdf/pdf-document.cc (pdf_document_get_title): guard against
6188 unloaded docs when the title is accessed.
6190 * shell/ev-password-view.[hc]: New widget for displaying password
6193 * shell/ev-window.[ch]: Refactor password handling code to handle
6196 2005-01-24 Marco Pesenti Gritti <marco@gnome.org>
6204 2005-01-23 Stephane LOEUILLET <stephane.loeuillet@tiscali.fr>
6206 * pdf/xpdf/pdf-document.cc (pdf_document_search_page_changed):
6207 ignore page offset here, to make search results independent of it,
6209 * shell/ev-view.c (expose_bin_window): but take offsets into
6210 account here. Bug #164932
6212 * pdf/xpdf/pdf-document.cc (pdf_document_get_link): divide by
6213 scale at the right time. Bug #164996
6215 2005-01-22 Martin Kretzschmar <martink@gnome.org>
6217 * pdf/xpdf/GlobalParams.cc: My 2005-01-05 change didn't actually
6218 fix the problem. Now I just removed the Adobe font names and hope
6219 that the URW fonts are always in outline format. Bug #164934
6221 * shell/ev-window.c (update_window_title): empty titles are
6222 useless, use filename in that case too.
6224 * NEWS: Add some content.
6226 2005-01-21 Bryan Clark <clarkbw@cvs.gnome.org>
6228 * TODO: added one more TODO item and a TODONE section :)
6230 2005-01-21 Martin Kretzschmar <martink@gnome.org>
6232 * ps/ps-document.h: add page_[xy]_offset fields.
6234 * ps/ps-document.c (ps_document_set_page_offset)
6235 (ps_document_render): Keep offset in consideration in a few
6236 places. Bug #164752 "postscript documents are not centered in
6239 * data/evince.desktop.in (X-GNOME-Bugzilla-Product):
6240 s/gpdf/evince/. Spotted by Stephane Loeuillet.
6242 * pixbuf/pixbuf-document.c (pixbuf_document_get_n_pages)
6243 (pixbuf_document_get_text, pixbuf_document_document_iface_init):
6244 stub out missing methods for complete EvDocument implementation.
6245 Fixes segfaults with Save A Copy and Copy actions.
6247 * ps/ps-document.c (ps_document_save, ps_document_get_text)
6248 (ps_document_document_iface_init): ditto.
6250 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
6254 * data/evince.desktop.in:
6258 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
6260 * shell/ev-view.c: (ev_view_button_press_event),
6261 (ev_view_motion_notify_event):
6263 Make selection work in any direction
6265 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
6268 * shell/ev-window.c: (set_short_labels), (ev_window_init):
6270 Use shorter labels for some of the toolbars items
6272 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
6274 * pdf/xpdf/pdf-document.cc:
6276 Check the links info is initialized before
6277 using it. Should fix a crash on startup.
6279 2005-01-21 Martin Kretzschmar <martink@gnome.org>
6281 * pixbuf/pixbuf-document.c
6282 (pixbuf_document_thumbnails_get_dimensions): force floating point
6283 division to calculate page_ratio. Fixes crash with landscape
6286 Thu Jan 20 18:56:35 2005 Jonathan Blandford <jrb@redhat.com>
6288 * shell/ev-view.c (ev_view_realize): make the bg color darker.
6290 2005-01-20 Martin Kretzschmar <martink@gnome.org>
6292 * shell/ev-view.c (set_document_page): unset has_selection when
6294 (set_document_page): handle paper size changes when the page
6295 changes (test with Free Culture, page 2).
6297 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
6299 * shell/ev-view.c: (ev_view_size_request), (ev_view_realize),
6300 (expose_bin_window), (ev_view_class_init), (ev_view_init):
6302 Use normal style color for the widget background and
6303 draw a black box around the page.
6305 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
6307 * pdf/xpdf/pdf-document.cc:
6309 Keep offset in consideration in a few places
6311 * shell/ev-view.c: (expose_bin_window):
6313 Set the offsets so that the document is ever centered
6315 2005-01-20 Bryan Clark <clarkbw@cvs.gnome.org>
6317 * TODO: Added TODO items and finished off the first todo item
6319 * AUTHORS: Updated AUTHORS section with piece from gpdf file and
6320 reflect current authors
6322 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
6324 * pdf/xpdf/pdf-document.cc:
6325 * shell/ev-view.c: (ev_view_set_cursor),
6326 (ev_view_motion_notify_event), (document_changed_callback),
6327 (set_document_page):
6329 Show a wait cursor while the page is rendering
6331 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
6333 * shell/ev-sidebar-thumbnails.c:
6334 (ev_sidebar_tree_selection_changed),
6335 (ev_sidebar_thumbnails_select_page):
6336 * shell/ev-sidebar-thumbnails.h:
6337 * shell/ev-view.c: (ev_view_set_document), (ev_view_can_go_back),
6338 (ev_view_can_go_forward):
6339 * shell/ev-window.c: (ev_window_open_page),
6340 (ev_window_setup_document), (update_current_page),
6341 (view_page_changed_cb), (ev_window_init):
6342 * shell/ev-window.h:
6344 Ensure thumbnails selection, toolbar page control and
6345 current page are in sync.
6347 2005-01-19 Marco Pesenti Gritti <marco@gnome.org>
6353 Wed Jan 19 01:10:57 2005 Jonathan Blandford <jrb@redhat.com>
6355 * backend/Makefile.am:
6356 * backend/ev-document-links.h:
6357 * backend/ev-document-security.c: (ev_document_security_get_type),
6358 (ev_document_security_has_document_security),
6359 (ev_document_security_set_password):
6360 * backend/ev-document-security.h:
6361 * backend/ev-document.c: (ev_document_error_quark):
6362 * backend/ev-document.h:
6364 * data/evince-password.glade:
6365 * pdf/xpdf/pdf-document.cc:
6366 * shell/Makefile.am:
6367 * shell/ev-password.c: (ev_password_set_bad_password_label),
6368 (ev_window_password_entry_changed_cb), (ev_password_dialog_new),
6369 (ev_password_dialog_get_password),
6370 (ev_password_dialog_set_bad_pass):
6371 * shell/ev-password.h:
6372 * shell/ev-window.c: (ev_window_get_attribute),
6373 (ev_window_set_property), (update_action_sensitivity),
6374 (ev_window_is_empty), (mime_type_supported_by_gdk_pixbuf),
6375 (ev_window_setup_document), (ev_window_get_password),
6376 (ev_window_open), (ev_window_cmd_save_as),
6377 (using_postscript_printer), (ev_window_print),
6378 (find_not_supported_dialog), (ev_window_cmd_edit_find),
6379 (update_fullscreen_popup), (ev_window_fullscreen),
6380 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
6381 (ev_window_focus_out_cb), (ev_window_cmd_help_about),
6382 (menu_item_select_cb), (find_bar_search_changed_cb),
6383 (ev_window_dispose), (ev_window_init):
6385 Add initial support for password-supported dialogs. This could be
6386 a lot cooler, but it'll do for now.
6388 2005-01-18 Marco Pesenti Gritti <marco@gnome.org>
6390 * pdf/xpdf/pdf-document.cc:
6391 * shell/ev-view.c: (status_message_from_link),
6392 (ev_view_set_status), (ev_view_set_cursor),
6393 (ev_view_motion_notify_event), (ev_view_init):
6394 * shell/ev-window.c: (view_status_changed_cb), (ev_window_init):
6396 Fix bugs in the links implementation and change cursor
6397 when hovering a link.
6399 2005-01-17 Bryan Clark <clarkbw@cvs.gnome.org>
6401 * viewer/.cvsignore: added cvsignore file for viewer directory
6403 * TODO: created TODO document
6405 2005-01-14 Dave Malcolm <dmalcolm@redhat.com>
6408 * shell/ev-view.c (ev_view_can_go_back), (ev_view_can_go_forward):
6409 new functions to help with implementation of sensitivity code
6410 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
6411 of all actions that might require it. Fixes a crash when you
6412 click on the Zoom actions in a window lacking a document.
6414 2005-01-13 Dave Malcolm <dmalcolm@redhat.com>
6416 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
6419 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
6421 * pixbuf/pixbuf-document.c: (pixbuf_document_get_link),
6422 (pixbuf_document_document_iface_init):
6423 * ps/ps-document.c: (ps_document_get_link),
6424 (ps_document_document_iface_init):
6425 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event),
6426 (status_message_from_link), (ev_view_set_status),
6427 (ev_view_set_find_status), (ev_view_motion_notify_event),
6428 (ev_view_button_release_event), (ev_view_set_property),
6429 (ev_view_get_property), (ev_view_class_init), (ev_view_init),
6430 (ev_view_get_find_status_message), (update_find_results),
6431 (ev_view_get_status), (ev_view_get_find_status):
6433 * shell/ev-window.c: (view_status_changed_cb),
6434 (view_find_status_changed_cb), (ev_window_init):
6436 View status message support, use it to show the links.
6439 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
6441 * backend/ev-document.c: (ev_document_get_link):
6442 * backend/ev-document.h:
6443 * pdf/xpdf/pdf-document.cc:
6444 * shell/ev-application.c: (ev_application_open):
6445 * shell/ev-application.h:
6446 * shell/ev-sidebar-links.c: (selection_changed_cb):
6447 * shell/ev-view.c: (ev_view_button_release_event), (go_to_link),
6448 (ev_view_go_to_link):
6450 Add support for document links
6452 2005-01-13 Anders Carlsson <andersca@gnome.org>
6454 * shell/ev-page-action.c: (update_spin), (total_pages_changed_cb),
6456 Set the spin button limits correctly.
6458 * shell/ev-sidebar-thumbnails.c:
6459 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init):
6460 Support changing pages by clicking on the thumbnails.
6462 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
6464 * pixbuf/pixbuf-document.c:
6465 (pixbuf_document_thumbnails_get_dimensions),
6466 (pixbuf_document_document_thumbnails_iface_init):
6468 implement get_dimensions
6470 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
6472 * ps/ps-document.c: (ps_document_goto_page):
6474 Fix page switching on multipage documents
6476 2005-01-12 Jeff Muizelaar <jrmuizel@nit.ca>
6478 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
6480 check for NULL before assigning to width and height parameters
6482 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
6484 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
6485 (pixbuf_document_set_property), (pixbuf_document_get_property):
6487 implement get/set properties
6489 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
6491 * pdf/xpdf/pdf-document.cc: (pdf_info_dict_get_string):
6493 return NULL instead of "Unknown", letting the title get set to
6494 the filename when the pdf has no title.
6496 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
6498 * ps/ps-document.c: (ps_document_get_page_count),
6499 (ps_document_goto_page):
6501 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
6503 * shell/ev-history.c: (ev_history_get_property),
6504 (ev_history_set_property), (ev_history_class_init),
6505 (ev_history_add_page), (ev_history_set_current_index):
6506 * shell/ev-navigation-action.c: (ev_navigation_action_set_history),
6507 (activate_menu_item_cb), (new_history_menu_item), (build_menu),
6508 (ev_navigation_action_finalize):
6509 * shell/ev-navigation-action.h:
6510 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
6511 (ev_view_go_forward), (ev_view_get_find_status_message),
6512 (history_index_changed_cb), (ev_view_set_history):
6514 * shell/ev-window.c: (update_total_pages), (ev_window_open),
6515 (update_current_page), (register_custom_actions):
6517 Implement history dropdowns
6519 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
6521 * shell/ev-history.c: (ev_history_init), (ev_history_add_link):
6522 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
6523 (ev_view_go_forward):
6524 * shell/ev-window.c: (register_custom_actions):
6526 Fix several history bugs
6528 2005-01-11 Kjartan Maraas <kmaraas@gnome.org>
6530 * configure.ac: Add «nb» to ALL_LINGUAS.
6532 2005-01-10 Marco Pesenti Gritti <marco@gnome.org>
6534 * backend/Makefile.am:
6535 * backend/ev-bookmark.c:
6536 * backend/ev-bookmark.h:
6537 * backend/ev-document-bookmarks.c:
6538 * backend/ev-document-bookmarks.h:
6539 * backend/ev-document-links.c: (ev_document_links_get_type),
6540 (ev_document_links_has_document_links),
6541 (ev_document_links_begin_read), (ev_document_links_get_link),
6542 (ev_document_links_get_child), (ev_document_links_next),
6543 (ev_document_links_free_iter):
6544 * backend/ev-document-links.h:
6545 * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_title),
6546 (ev_link_set_title), (ev_link_get_uri), (ev_link_set_uri),
6547 (ev_link_get_link_type), (ev_link_set_link_type),
6548 (ev_link_get_page), (ev_link_set_page), (ev_link_get_property),
6549 (ev_link_set_property), (ev_window_dispose), (ev_link_init),
6550 (ev_link_class_init), (ev_link_new_title), (ev_link_new_page),
6551 (ev_link_new_external):
6552 * backend/ev-link.h:
6553 * pdf/xpdf/pdf-document.cc:
6554 * shell/Makefile.am:
6555 * shell/ev-application.c: (ev_application_open_link):
6556 * shell/ev-application.h:
6557 * shell/ev-history.c: (ev_history_add_link), (ev_history_add_page),
6558 (ev_history_get_link_nth):
6559 * shell/ev-history.h:
6560 * shell/ev-sidebar-bookmarks.c:
6561 * shell/ev-sidebar-bookmarks.h:
6562 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
6563 (ev_sidebar_links_class_init), (selection_changed_cb),
6564 (ev_sidebar_links_construct), (ev_sidebar_links_init),
6565 (links_page_num_func), (ev_sidebar_links_new), (stack_data_free),
6566 (do_one_iteration), (populate_links_idle),
6567 (ev_sidebar_links_clear_document), (ev_sidebar_links_set_document):
6568 * shell/ev-sidebar-links.h:
6569 * shell/ev-sidebar.c: (ev_sidebar_set_document):
6570 * shell/ev-view.c: (go_to_link), (ev_view_go_to_link),
6573 * shell/ev-window.c: (ev_window_open_link), (ev_window_init):
6574 * shell/ev-window.h:
6576 Rename bookmark to link, and use "Index" for the sidebar panel.
6578 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
6580 * shell/Makefile.am:
6581 * shell/ev-application.c: (ev_application_open_bookmark):
6582 * shell/ev-application.h:
6583 * shell/ev-history.c: (ev_history_init), (free_links_list),
6584 (ev_history_finalize), (ev_history_class_init),
6585 (ev_history_add_link), (ev_history_add_page),
6586 (ev_history_get_link_nth), (ev_history_get_n_links),
6587 (ev_history_get_current_index), (ev_history_set_current_index),
6589 * shell/ev-history.h:
6590 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
6591 * shell/ev-view.c: (ev_view_finalize), (ev_view_set_document),
6592 (set_document_page), (go_to_bookmark), (ev_view_go_to_bookmark),
6593 (go_to_index), (ev_view_go_back), (ev_view_go_forward),
6596 * shell/ev-window.c: (ev_window_open_bookmark),
6597 (ev_window_cmd_go_back), (ev_window_cmd_go_forward),
6598 (goto_page_cb), (register_custom_actions):
6599 * shell/ev-window.h:
6601 Initial history implementation. Needs work.
6603 2005-01-09 Martin Kretzschmar <martink@gnome.org>
6605 * pdf/xpdf/GDKSplashOutputDev.cc (redraw): fix pixbuf data offset.
6607 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
6609 * cut-n-paste/recent-files/egg-recent-item.c:
6610 * cut-n-paste/recent-files/egg-recent-item.h:
6611 * cut-n-paste/recent-files/egg-recent-model.c:
6612 * cut-n-paste/recent-files/egg-recent-util.c:
6613 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
6614 * cut-n-paste/recent-files/egg-recent-view.c:
6618 2005-01-08 Martin Kretzschmar <martink@gnome.org>
6620 * pdf/splash/Splash.cc (clear, drawPixel, drawSpan, xorSpan, getPixel)
6621 (fillGlyph, fillImageMask, drawImage):
6622 pdf/splash/SplashBitmap.cc (SplashBitmap, ~SplashBitmap, writePNMFile):
6623 pdf/splash/SplashTypes.h:
6624 pdf/xpdf/SplashOutputDev (startPage, getColor, imageSrc): implement RGB8
6625 packed mode for Splash.
6627 * pdf/xpdf/GDKSplashOutputDev.cc (GDKSplashOutputDev, redraw): use
6628 RGB8 packed mode, eliminates the pixbuf data creation loop.
6630 * shell/ev-print-job.c (ev_print_job_finalize)
6631 (ev_print_job_set_property, ev_print_job_get_property)
6632 (ev_print_job_set_gnome_print_job, ev_print_job_set_document)
6633 (ev_print_job_use_print_dialog_settings, idle_print_handler)
6634 (print_closure_finalize, ev_print_job_print): implement
6635 printing (for backends with EvPsExporter)
6637 * shell/ev_print_job.h: update prototypes.
6639 * shell/ev-window.c (ev_window_print): unref print job after
6642 * shell/ev-view.c (ev_view_set_document): don't connect to "found"
6643 unless the document implements the EvDocumentFind interface.
6645 2005-01-08 Satoru SATOH <ss@gnome.gr.jp>
6647 * configure.ac: Added ja to ALL_LINGUAS.
6649 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
6651 * pdf/xpdf/pdf-document.cc:
6653 add a FIXME. We should probably not allocate
6654 a bookmark object every time
6656 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
6658 * shell/ev-application.c: (ev_application_open),
6659 (ev_application_open_bookmark):
6660 * shell/ev-application.h:
6662 Add a way to open bookmarks
6664 * backend/ev-bookmark.c: (ev_bookmark_get_uri),
6665 (ev_bookmark_set_uri), (ev_bookmark_get_property),
6666 (ev_bookmark_set_property), (ev_bookmark_class_init),
6667 (ev_bookmark_new_title), (ev_bookmark_new_link),
6668 (ev_bookmark_new_external):
6670 Support for external uris, better constructors.
6672 * backend/ev-bookmark.h:
6673 * pdf/xpdf/pdf-document.cc:
6674 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
6676 Handle external uris
6678 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
6680 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb),
6681 (ev_sidebar_bookmarks_construct), (do_one_iteration):
6683 Hook up bookmarks navigation
6685 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
6687 * backend/Makefile.am:
6688 * backend/ev-bookmark.c: (ev_bookmark_type_get_type),
6689 (ev_bookmark_get_title), (ev_bookmark_set_title),
6690 (ev_bookmark_get_bookmark_type), (ev_bookmark_set_bookmark_type),
6691 (ev_bookmark_get_page), (ev_bookmark_set_page),
6692 (ev_bookmark_get_property), (ev_bookmark_set_property),
6693 (ev_window_dispose), (ev_bookmark_init), (ev_bookmark_class_init),
6695 * backend/ev-bookmark.h:
6696 * backend/ev-document-bookmarks.c:
6697 (ev_document_bookmarks_get_bookmark):
6698 * backend/ev-document-bookmarks.h:
6699 * pdf/xpdf/pdf-document.cc:
6700 * shell/ev-sidebar-bookmarks.c: (do_one_iteration):
6702 Add a bookmark object to the backend and use it instead of get_values
6704 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
6706 * data/evince-ui.xml:
6708 Cleanup and add select all.
6710 * shell/ev-view.c: (ev_view_select_all),
6711 (ev_view_button_press_event):
6713 * shell/ev-window.c: (ev_window_cmd_edit_select_all):
6716 Clear selection on click.
6718 Fri Jan 7 01:28:58 2005 Jonathan Blandford <jrb@redhat.com>
6720 * shell/ev-sidebar-thumbnails.c
6721 (ev_sidebar_thumbnails_set_document): forgot to unref the
6724 Fri Jan 7 01:22:48 2005 Jonathan Blandford <jrb@redhat.com>
6726 * shell/ev-sidebar-thumbnails.c: fill in the thumbnails starting
6727 at the visible page, not just linearly. This makes it look fast.
6729 Thu Jan 6 18:48:11 2005 Jonathan Blandford <jrb@redhat.com>
6731 * backend/ev-document-misc.c
6732 (ev_document_misc_get_thumbnail_frame): fill in the thumbnail with
6734 * backend/ev-document-thumbnails.h: New interface to get the size
6737 2005-01-06 Jeremy Katz <katzj@redhat.com>
6739 * shell/Makefile.am (evince_SOURCES): Add ev-utils.[ch] so that
6742 Wed Jan 5 15:38:28 2005 Jonathan Blandford <jrb@redhat.com>
6744 * pdf/xpdf/pdf-document.cc (bitmap_to_pixbuf): bypass
6745 GDKSplashOutputDev and just use a normal SplashOutputDev. Speeds
6748 * shell/ev-sidebar-thumbnail.c: start of some profiling code.
6750 2005-01-05 Martin Kretzschmar <martink@gnome.org>
6752 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): match only outline
6753 fonts. Should fix font problems on systems that have the base
6754 fonts in bitmap format. Reported by James Henstridge
6755 <james@jamesh.id.au>.
6757 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
6760 * pdf/xpdf/GfxState.cc:
6762 Fix for CAN-2004-1125
6764 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
6766 * shell/ev-view.c: (ev_view_copy):
6768 * shell/ev-window.c: (ev_window_cmd_edit_copy):
6770 Implement Edit->Copy
6772 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
6774 * backend/ev-document.c: (ev_document_get_text):
6775 * backend/ev-document.h:
6776 * pdf/xpdf/pdf-document.cc:
6777 * shell/ev-view.c: (ev_view_realize), (expose_bin_window),
6778 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
6779 (ev_view_update_primary_selection), (ev_view_button_press_event),
6780 (ev_view_motion_notify_event), (ev_view_button_release_event):
6782 Beginnings of clipboard support. Incomplete but primary sort
6785 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
6787 * shell/ev-view.c: (ev_gdk_color_to_rgb), (draw_rubberband),
6788 (expose_bin_window):
6790 Nicer rubberband drawing, from GtkIconView.
6792 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
6794 * backend/ev-document.c: (ev_document_save):
6795 * backend/ev-document.h:
6796 * data/evince-ui.xml:
6797 * pdf/xpdf/pdf-document.cc:
6798 * shell/ev-window.c: (save_error_dialog), (ev_window_cmd_save_as):
6800 Implement "Save a copy..." menu item
6802 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
6804 * shell/ev-view.c: (ev_view_zoom):
6806 Queue a resize when zoom changes
6808 Wed Jan 5 02:33:06 2005 Jonathan Blandford <jrb@redhat.com>
6810 * backend/ev-document-misc.[ch]: New misc file to do simple drop
6813 * pdf/xpdf/pdf-document.cc: use the drop shadows in both types of
6816 Tue Jan 4 22:32:32 2005 Jonathan Blandford <jrb@redhat.com>
6818 * pdf/xpdf/pdf-document.cc
6819 (pdf_document_thumbnails_get_page_pixbuf): poor man's dropshadow.
6821 Tue Jan 4 21:25:05 2005 Jonathan Blandford <jrb@redhat.com>
6823 * pdf/xpdf/pdf-document.cc: Do real thumbnailing of PDF files.
6824 It's slow, but I'll speed it up next!
6826 2005-01-04 Jeff Muizelaar <jrmuizel@nit.ca>
6828 * shell/main.c (load_files):
6830 use gnome_vfs_make_uri_from_shell_arg so that relative paths work
6831 from the command line and because it seems more appropriate.
6833 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
6835 * data/evince-ui.xml:
6836 * shell/ev-window.c: (update_action_sensitivity),
6837 (ev_window_cmd_go_page_up), (ev_window_cmd_go_page_down):
6839 s/next page/page down
6840 s/previous page/page up
6842 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
6844 * data/evince-ui.xml:
6846 Change the layout to match clarkbw design.
6848 * shell/Makefile.am:
6849 * shell/ev-navigation-action.c: (build_menu), (menu_activated_cb),
6850 (set_tooltip_cb), (connect_proxy), (ev_navigation_action_init),
6851 (ev_navigation_action_finalize),
6852 (ev_navigation_action_set_property),
6853 (ev_navigation_action_get_property),
6854 (ev_navigation_action_class_init):
6855 * shell/ev-navigation-action.h:
6857 Implement clarkbw toolbar navigation controls (incomplete)
6859 * shell/ev-page-action.c: (update_label), (update_spin),
6860 (value_changed_cb), (create_tool_item), (connect_proxy),
6861 (ev_page_action_init), (ev_page_action_finalize),
6862 (ev_page_action_set_property), (ev_page_action_get_property),
6863 (ev_page_action_set_current_page),
6864 (ev_page_action_set_total_pages), (ev_page_action_class_init):
6865 * shell/ev-page-action.h:
6867 Implement a page switcher in the toolbar
6869 * shell/ev-view.c: (ev_view_scroll_view):
6870 * shell/ev-window.c: (update_total_pages), (ev_window_open),
6871 (update_current_page), (view_page_changed_cb), (goto_page_cb),
6872 (register_custom_actions), (ev_window_init):
6874 Change page on PageUp/Down.
6876 Tue Jan 4 03:22:56 2005 Jonathan Blandford <jrb@redhat.com>
6878 * pdf/xpdf/pdf-document.cc
6879 (pdf_document_thumbnails_get_thumbnail): initial stab at
6880 implementing thumbnail support for pdfs. It only does documents
6881 with precached pdfs now.
6883 Mon Jan 3 17:22:25 2005 Jonathan Blandford <jrb@redhat.com>
6885 * shell/ev-sidebar-thumbnails.c (do_one_iteration): move the
6886 thumbnail code into a time-based idle as well. Also, turn off the
6887 shadow temporarily as it's really slow.
6889 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
6891 * backend/ev-document.c: (ev_document_class_init):
6892 * pdf/xpdf/pdf-document.cc:
6893 * shell/ev-window.c: (ev_window_open):
6895 Fix document title bugs and fallback to
6896 filename when not available.
6898 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
6900 * backend/ev-document.c: (ev_document_get_type),
6901 (ev_document_class_init), (ev_document_load),
6902 (ev_document_get_title):
6903 * backend/ev-document.h:
6904 * pdf/xpdf/pdf-document.cc:
6905 * ps/ps-document.c: (ps_document_set_property),
6906 (ps_document_get_property), (ps_document_class_init),
6910 * shell/ev-window.c: (update_window_title), (ev_window_open),
6913 Initial support for document title. Not working yet.
6915 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
6917 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event):
6919 Grab focus on the view when clicking it
6921 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
6923 * shell/ev-marshal.list:
6924 * shell/ev-view.c: (ev_view_realize), (add_scroll_binding),
6925 (ev_view_scroll_view), (ev_view_class_init), (ev_view_init):
6927 Add key bindings to the view. Now if the focus would work
6930 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
6933 * backend/Makefile.am:
6936 * dvi/dvilib/Makefile.am:
6937 * pdf/xpdf/Makefile.am:
6943 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
6945 * shell/ev-view.c: (ev_view_realize):
6947 Fix mouse wheel scrolling
6949 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
6955 * ps/ps-document.c: (catchPipe), (ps_document_init),
6956 (ps_document_class_init), (ps_document_cleanup),
6957 (ps_document_finalize), (send_ps), (ps_document_get_orientation),
6958 (set_up_page), (close_pipe), (is_interpreter_ready),
6959 (interpreter_failed), (output), (input), (start_interpreter),
6960 (stop_interpreter), (file_length), (file_readable),
6961 (check_filecompressed), (check_pdf), (compute_xdpi),
6962 (compute_ydpi), (compute_size), (ps_document_enable_interpreter),
6963 (ps_document_get_type), (ps_document_emit_error_msg),
6964 (document_load), (ps_document_next_page),
6965 (ps_document_get_current_page), (ps_document_get_page_count),
6966 (ps_document_goto_page), (ps_document_set_page_size),
6967 (ps_document_zoom_to_fit), (ps_document_set_zoom),
6968 (ps_document_load), (ps_document_get_n_pages),
6969 (ps_document_set_page), (ps_document_get_page),
6970 (ps_document_widget_event), (ps_document_set_target),
6971 (ps_document_set_scale), (ps_document_set_page_offset),
6972 (ps_document_get_page_size), (ps_document_render),
6973 (ps_document_document_iface_init):
6976 * shell/ev-window.c: (ev_window_open):
6978 Rename GtkGS to PSDocument
6980 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
6982 * ps/gtkgs.c: (gtk_gs_class_init):
6985 Some more leftover...
6987 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
6989 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_get_orientation),
6990 (output), (stop_interpreter), (gtk_gs_emit_error_msg),
6991 (gtk_gs_zoom_to_fit), (gtk_gs_set_zoom):
6994 Remove unused code and make a lot of stuff private
6996 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
6998 * ps/gsdefaults.c: (gtk_gs_defaults_gconf_client),
6999 (gtk_gs_defaults_changed):
7005 Cleanup headers dependencies
7007 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
7012 * ps/gsdefaults.c: (gtk_gs_defaults_get_paper_sizes):
7014 * ps/gtkgs.c: (file_length), (file_readable),
7015 (check_filecompressed), (check_pdf), (gtk_gs_load),
7016 (gtk_gs_get_postscript):
7020 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
7025 * ps/gtkgs.c: (gtk_gs_set_zoom):
7029 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
7031 * ps/gtkgs.c: (gtk_gs_set_zoom), (gtk_gs_set_zoom_mode):
7033 Ensure the page is rerendered when changing zoom
7035 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
7037 * backend/ev-document.c: (ev_document_base_init),
7038 (ev_document_changed):
7039 * backend/ev-document.h:
7041 Add a changed event that is emitted when the page content
7042 changes. This is necessary to deal with the fact that
7043 in ps backend rendering happen asycrounously.
7044 This makes the ps backend mostly work.
7046 * pdf/xpdf/pdf-document.cc:
7050 * ps/gtkgs.c: (set_up_page), (gtk_gs_widget_event),
7051 (ps_document_set_target):
7055 * shell/ev-view.c: (document_changed_callback),
7056 (ev_view_set_document), (ev_view_set_page):
7058 Redraw on the changed signal
7060 2004-12-25 Raphael Higino <raphaelh@cvs.gnome.org>
7062 * configure.ac: Added pt_BR to ALL_LINGUAS.
7064 Fri Dec 24 00:48:44 2004 Jonathan Blandford <jrb@redhat.com>
7066 * backend/ev-document-bookmarks.c:
7067 (ev_document_bookmarks_get_child): *
7068 backend/ev-document-bookmarks.h: * pdf/xpdf/Makefile.am: *
7069 pdf/xpdf/pdf-document.cc: * pdf/xpdf/pdf-document.h: *
7070 shell/Makefile.am: * shell/ev-sidebar-bookmarks.c:
7071 (ev_sidebar_bookmarks_destroy),
7072 (ev_sidebar_bookmarks_class_init),
7073 (ev_sidebar_bookmarks_construct), (stack_data_free),
7074 (do_one_iteration), (populate_bookmarks_idle),
7075 (ev_sidebar_bookmarks_clear_document),
7076 (ev_sidebar_bookmarks_set_document): *
7077 shell/ev-sidebar-bookmarks.h: * shell/ev-sidebar.c:
7078 (ev_sidebar_add_page),
7079 (ev_sidebar_set_document): * shell/ev-window.c: (ev_window_open):
7080 Initial stab at a bookmarks sidebar. It doesn't navigate yet, but
7081 it displays both the topics and the page numbers.
7083 2004-12-23 Kristian Høgsberg <krh@redhat.com>
7085 * shell/ev-window.c (ev_window_view_sidebar_cb): Hook up sidebar
7087 * shell/ev-window.c (toggle_entries): Set sidebar default value to
7090 2004-12-23 Adam Weinberger <adamw@gnome.org>
7092 * configure.ac: Added en_CA to ALL_LINGUAS.
7094 2004-12-23 Martin Kretzschmar <martink@gnome.org>
7096 * ChangeLog: replace bottom of this ChangeLog (merged history of
7097 ggv and gpdf; where all paths were wrong and most of the files are
7098 not even in this tree) with ChangeLog (from arch) of the shell
7101 2004-12-23 Havoc Pennington <hp@redhat.com>
7103 * shell/ev-window.c: hook up potentially-questionable "find
7104 results status text" feature - something involving the sidebar or
7105 scrollbar or a continuous all-pages-on-giant-roll-of-paper-view
7106 might be better in the end.
7108 * shell/ev-view.c (ev_view_get_find_status_message): new function,
7109 with corresponding signal when it should be updated
7111 * shell/eggfindbar.c (egg_find_bar_set_status_text): new function
7113 2004-12-22 Havoc Pennington <hp@redhat.com>
7115 * pdf/xpdf/pdf-document.cc (pdf_document_find_begin): make search
7116 find stuff on other pages, sort of (only returns one result on
7117 invisible pages, to show they have results; updates full results
7118 for a page when you view it). Currently repaints the current page
7119 every time a new result is found on any page, which isn't so nice.
7121 2004-12-22 Havoc Pennington <hp@redhat.com>
7123 * shell/ev-window.c (ev_window_cmd_edit_find): display an error if
7124 the document doesn't support find (better ideas?)
7125 (find_bar_search_changed_cb): handle missing document or document
7126 that doesn't support find
7128 * pdf/xpdf/pdf-document.cc: port to implement the new
7131 * backend/ev-document-find.c: create a new interface for searching
7133 * backend/ev-document.h, backend/ev-document.c: delete the find stuff
7135 2004-12-23 Martin Kretzschmar <martink@gnome.org>
7137 * pdf/xpdf/Makefile.am (libpdfdocument_la_LIBADD): add
7140 * shell/ev-window.c (ev_window_print): add GnomePrintJob to
7141 EvPrintJob constructor arguments.
7143 * backend/ev-ps-exporter.c, backend/ev-ps-exporter.h: interface
7144 for documents that can export PostScript (page by page).
7146 * backend/Makefile.am (libevbackend_la_SOURCES): add them.
7148 * pdf/xpdf/pdf-document.cc (pdf_document_ps_export_begin)
7149 (pdf_document_ps_export_do_page, pdf_document_ps_export_end)
7150 (pdf_document_ps_exporter_iface_init:
7151 Implement EvPSExporter.
7153 * pdf/xpdf/Makefile.am (libxpdf_la_SOURCES): build PSOutputDev.
7155 2004-12-22 Anders Carlsson <andersca@gnome.org>
7157 * backend/Makefile.am:
7158 * backend/ev-document-thumbnails.c:
7159 (ev_document_thumbnails_get_type),
7160 (ev_document_thumbnails_get_thumbnail):
7161 * backend/ev-document-thumbnails.h:
7162 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
7163 (pixbuf_document_thumbnails_get_thumbnail),
7164 (pixbuf_document_document_thumbnails_iface_init):
7165 * shell/Makefile.am:
7166 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_destroy),
7167 (ev_sidebar_thumbnails_class_init), (ev_sidebar_thumbnails_init),
7168 (populate_thumbnails), (ev_sidebar_thumbnails_set_document):
7169 * shell/ev-sidebar-thumbnails.h:
7170 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
7171 (ev_sidebar_set_document):
7172 * shell/ev-utils.c: (gaussian), (create_blur_filter),
7173 (create_shadow), (ev_pixbuf_add_shadow):
7175 Add thumbnail support.
7177 2004-12-22 Martin Kretzschmar <martink@gnome.org>
7179 * shell/ev-window.c (ev_window_cmd_file_print, ev_window_print)
7180 (using_postscript_printer): Set up a print dialog for "PostScript
7183 * shell/ev-print-job.h, shell/ev-print-job.c: stub classes for
7186 * shell/Makefile.am (evince_SOURCES): add ev-print-job.[ch]
7188 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
7190 * ps/gtkgs.c: (gtk_gs_init), (set_up_page),
7191 (ps_document_set_target), (ps_document_get_page_size),
7192 (ps_document_render):
7197 2004-12-22 Christian Rose <menthos@menthos.com>
7199 * configure.ac: Added "sv" to ALL_LINGUAS.
7201 Wed Dec 22 14:47:38 2004 Jonathan Blandford <jrb@redhat.com>
7203 * backend/ev-document-bookmarks.[ch]: new interface to indicate
7204 document supports bookmarks.
7206 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
7208 * ps/ggvutils.c: (ggv_file_readable):
7210 * ps/gtkgs.c: (check_filecompressed), (check_pdf),
7211 (gtk_gs_get_postscript):
7215 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
7217 * ps/gtkgs.c: (gtk_gs_init), (gtk_gs_class_init), (gtk_gs_cleanup),
7218 (gtk_gs_finalize), (gtk_gs_set_center), (set_up_page), (output),
7219 (start_interpreter), (compute_size), (gtk_gs_enable_interpreter),
7220 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_reload),
7221 (gtk_gs_emit_error_msg), (gtk_gs_disable_interpreter),
7222 (gtk_gs_load), (gtk_gs_goto_page), (gtk_gs_set_page_size),
7223 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
7224 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
7225 (gtk_gs_set_antialiasing), (ps_document_load),
7226 (ps_document_render):
7229 Another check point for the ps backend. Now I can get it to show
7232 Wed Dec 22 13:41:01 2004 Jonathan Blandford <jrb@redhat.com>
7234 * shell/ev-sidebar.c (ev_sidebar_set_document): initial sidebar
7235 document setting code.
7237 2004-12-22 Anders Carlsson <andersca@gnome.org>
7239 * shell/eggfindbar.c: (entry_activate_callback):
7240 Animate the next button when activate is pressed.
7242 2004-12-22 Anders Carlsson <andersca@gnome.org>
7244 * shell/ev-window.c: (ev_window_cmd_edit_find),
7245 (update_fullscreen_popup), (ev_window_fullscreen),
7246 (ev_window_unfullscreen), (ev_window_state_event_cb),
7247 (ev_window_focus_out_cb), (find_bar_close_cb), (ev_window_init):
7248 Fix bugs in fullscreen code.
7250 2004-12-22 Anders Carlsson <andersca@gnome.org>
7254 * pixbuf/Makefile.am:
7255 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
7256 (pixbuf_document_load), (pixbuf_document_get_n_pages),
7257 (pixbuf_document_set_page), (pixbuf_document_get_page),
7258 (pixbuf_document_set_target), (pixbuf_document_set_scale),
7259 (pixbuf_document_set_page_offset), (pixbuf_document_get_page_size),
7260 (pixbuf_document_render), (pixbuf_document_begin_find),
7261 (pixbuf_document_end_find), (pixbuf_document_finalize),
7262 (pixbuf_document_class_init),
7263 (pixbuf_document_document_iface_init), (pixbuf_document_init):
7264 * pixbuf/pixbuf-document.h:
7265 * shell/Makefile.am:
7266 * shell/ev-application.c: (ev_application_open):
7267 * shell/ev-window.c: (mime_type_supported_by_gdk_pixbuf),
7271 Tue Dec 21 21:45:43 2004 Soeren Sandmann <sandmann@redhat.com>
7274 * dvi/dvilib/Makefile.am:
7276 * configure.ac: Auto*ify dvi and dvi/dvilib
7278 * dvi/Makefile: Remove from CVS
7280 * dvi/dvilib/dl-pkfont.cc (unpack_bitmap): Fix uchar/uint
7283 * dvi/dvilib/dl-fontdefinition.{cc,hh}: New DviFontMap class
7285 * dvi/dvilib/dl-vffont.{cc,hh}: Many bugfixes to VF code.
7287 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
7290 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_finalize),
7291 (gtk_gs_value_adjustment_changed), (compute_size),
7292 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_new_from_file),
7293 (gtk_gs_center_page), (gtk_gs_load), (gtk_gs_set_page_size),
7294 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
7295 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
7296 (gtk_gs_start_scroll), (gtk_gs_get_postscript),
7297 (gtk_gs_set_adjustments), (gtk_gs_set_available_size),
7298 (ps_document_load), (ps_document_get_n_pages),
7299 (ps_document_set_page), (ps_document_get_page),
7300 (ps_document_set_target), (ps_document_set_scale),
7301 (ps_document_set_page_offset), (ps_document_get_page_size),
7302 (ps_document_render), (ps_document_begin_find),
7303 (ps_document_end_find), (ps_document_document_iface_init):
7305 * shell/Makefile.am:
7306 * shell/ev-window.c: (ev_window_open):
7308 Some work to integrate gtkgs with EvDocument
7310 2004-12-22 Anders Carlsson <andersca@gnome.org>
7312 * shell/ev-window.c: (update_fullscreen_popup),
7313 (screen_size_changed_cb), (destroy_exit_fullscreen_popup),
7314 (exit_fullscreen_button_clicked_cb),
7315 (fullscreen_popup_size_request_cb), (ev_window_fullscreen),
7316 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
7317 (ev_window_state_event_cb), (ev_window_init):
7318 Add fullscreen support from Epiphany.
7320 2004-12-22 Mark McLoughlin <mark@skynet.ie>
7322 * data/ev-stock-zoom-fit-width.png: fit-width
7323 stock icon from gpdf.
7325 * shell/ev-stock-icons.[ch]: copied from gpdf.
7327 * shell/main.c: (main): init stock icons.
7329 * shell/ev-window.c: use the fit-width icon.
7331 * data/evince-ui.xml: add zooming toolbar items.
7333 2004-12-22 Mark McLoughlin <mark@skynet.ie>
7336 (ev_view_best_fit), (ev_view_fit_width): because
7337 get_page_size() returns the scaled page size, we
7338 need to calculate the scale factor relative to
7339 the previous scale factor. Should really just
7340 add get_real_page_size().
7342 2004-12-22 Mark McLoughlin <mark@skynet.ie>
7344 * shell/ev-view.[ch]:
7345 (ev_view_zoom), (ev_view_zoom_in), (ev_view_zoom_out),
7346 (ev_view_normal_size), (ev_view_best_fit), (ev_view_fit_width):
7349 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
7350 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_normal_size),
7351 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width):
7354 * pdf/xpdf/pdf-document.cc:
7355 (pdf_document_begin_find),
7356 (pdf_document_end_find): make static.
7358 2004-12-22 Martin Kretzschmar <martink@gnome.org>
7360 * pdf/xpdf/GlobalParams.h (setupBaseFontsFc): add prototype.
7362 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): maps base font
7363 names to fontconfig patterns.
7364 (setupBaseFontsFc): setupBaseFonts reimplemented using fontconfig.
7366 * pdf/xpdf/pdf-document.cc (pdf_document_load): use
7369 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
7385 Import ggv backend. Not hooked up yet.
7387 2004-12-22 Mark McLoughlin <mark@skynet.ie>
7389 * shell/main.c: (load_files), (main): load files
7390 from the command line.
7392 2004-12-22 Mark McLoughlin <mark@skynet.ie>
7394 * configure.ac: don't require bonobo.
7396 * cut-n-paste/recent-files/*: kill bonobo recent
7399 * shell/ev-window.c:
7400 (ev_window_is_empty): upd.
7401 (unable_to_load), (ev_window_open): load backend
7402 based on the mime type.
7404 2004-12-22 Martin Kretzschmar <martink@gnome.org>
7406 * backend/.cvsignore: ignore generated marshalers source.
7408 * shell/main.c (main): this is not epiphany.
7410 2004-12-22 Havoc Pennington <hp@redhat.com>
7412 * shell/ev-view.c (ev_view_set_document): connect to "found" signal
7413 (expose_bin_window): draw find highlights
7415 * shell/ev-window.c (find_bar_search_changed_cb): implement
7417 * pdf/xpdf/pdf-document.cc (pdf_document_begin_find)
7418 (pdf_document_end_find): implement this interface
7420 * backend/ev-document.c (ev_document_found): add this to emit
7423 Tue Dec 21 23:57:37 2004 Owen Taylor <otaylor@redhat.com>
7425 * data/evince-ui.xml: Add a few more toolbar items.
7427 * shell/ev-window.c: Hook up page navigation toolbar
7430 * shell/ev-view.[ch]: add ev_view_set/get_page and
7431 a page-changed signal.
7433 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc::
7434 Add ev_document_get_page().
7436 * shell/ev-window.c: Sensitize/desensitize navigation
7439 2004-12-21 Havoc Pennington <hp@redhat.com>
7441 * backend/ev-backend-marshal.c,
7442 backend/ev-backend-marshalers.list, backend/Makefile.am: add
7443 marshaler-generator thingy. I'm sure there's a better way to do
7444 this in the modern world.
7446 * backend/ev-document.h (struct _EvDocumentIface): add begin_find,
7447 end_find methods and "found" signal.
7449 * configure.ac: find glib-genmarshal
7451 Tue Dec 21 23:20:35 2004 Jonathan Blandford <jrb@redhat.com>
7453 * shell/ev-sidebar.c: Construct an actual sidebar.
7454 * shell/ev-sidebar-bookmarks.[ch]:
7455 * shell/ev-sidebar-thumbnails.[ch]: Stub out sidebars.
7457 Tue Dec 21 23:05:51 2004 Owen Taylor <otaylor@redhat.com>
7459 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc:
7462 * shell/ev-view.c: Track the size from the document.
7464 Tue Dec 21 22:17:04 2004 Owen Taylor <otaylor@redhat.com>
7466 * pdf/xpdf/pdf-document.cc (pdf_document_load): PDFDoc
7467 constructor assumes ownership of the string passed in.
7469 * shell/ev-window.c (ev_window_open): Destroy the error
7470 dialog once we've displayed it.
7472 Tue Dec 21 21:58:56 2004 Owen Taylor <otaylor@redhat.com>
7474 * pdf/xpdf/pdf-document.cc shell/ev-view.c: Hook things up
7475 a bit, it works! (sort of)
7477 * pdf/xpdf/Makefile.am pdf/xpdf/pdf-document.cc:
7478 Move to .cc since we need to use C++ in the implementation.
7480 * shell/dummy.cc: Add a CC file to force evince
7481 to be linked as a C++ program.
7483 Tue Dec 21 21:07:55 2004 Owen Taylor <otaylor@redhat.com>
7485 * shell/ev-view.[ch]: Start of content-area widget.
7487 * shell/ev-window.c: Create a EvView, update it
7488 as we change documents.
7490 * shell/Makefile.am shell/ev-marshal.list: Add
7491 generated marshalers.
7493 Tue Dec 21 20:28:11 2004 Jonathan Blandford <jrb@redhat.com>
7495 * Makefile.am (SUBDIRS): move shell.
7497 Tue Dec 21 19:28:55 2004 Owen Taylor <otaylor@redhat.com>
7499 * pdf/{goo,fofi,splash,xpdf}/Makefile.am: Switch from
7500 .a to libtool convenience libraries.
7502 * shell/ev-window.c (ev_window_open): Hard code loading
7505 * backend/ev-document.h: Add a boolean return to load(),
7506 fix GError * to GError **.
7508 * pdf/xpdf/pdf-document.[ch] Makefile.am: Add a stub
7509 object for a PDF backend EvDocument.
7511 Tue Dec 21 18:55:06 2004 Søren Sandmann <sandmann@redhat.com>
7513 * dvi/*: New directory with the beginning of a .dvi backend.
7515 2004-12-21 Havoc Pennington <hp@redhat.com>
7517 * shell/eggfindbar.c (egg_find_bar_init): change buttons to
7518 previous/next instead of back/forward
7520 Tue Dec 21 18:26:24 2004 Owen Taylor <otaylor@redhat.com>
7522 * backend/ev-document.[ch]: Fix a couple of problems so
7525 Tue Dec 21 18:20:40 2004 Owen Taylor <otaylor@redhat.com>
7527 * viewer/* backend/* configure.ac Makefile.am: Move viewer directory
7528 to backend/ directory, rename EvViewer to EvDocument.
7530 2004-12-21 Havoc Pennington <hp@redhat.com>
7532 * shell/ev-window.c: hook up the find bar widget; now we just need
7533 a document to find things in
7535 * shell/eggfindbar.c: a find bar widget
7537 Tue Dec 21 17:20:16 2004 Jonathan Blandford <jrb@redhat.com>
7539 * shell/ev-sidebar.[ch]: initial sidebar boilerplate.
7541 Tue Dec 21 16:30:58 2004 Owen Taylor <otaylor@redhat.com>
7543 * pdf/**: Import of xpdf code from gpdf.
7545 * pdf/xpdf/xpdfconfig.h: Move the non-config.h config.h to xpdfconfig.h
7547 * pdf/splash/SplashFTFont.{cc,h} pdf/splash/SplashFTFont.h
7548 pdf/splash/SplashFTFontEngine.h pdf/splash/SplashFTFontFile.h:
7549 Fix FreeType includes.
7551 * pdf/xpdf/{Error.h GnomeVFSStream.cc ImageOutputDev.cc PDFDoc.cc\
7552 pdffonts.cc pdfimages.cc pdfinfo.cc pdftoppm.cc pdftops.cc
7553 pdftotext.cc PSOutputDev.cc PSOutputDev.h SplashOutputDev.h
7554 Stream.cc TextOutputDev.cc XPDFApp.cc xpdf.cc XPDFViewer.cc
7555 pdf/xpdf/Error.h PSOutputDev.h SplashOutputDev.h}:
7556 Include xpdfconfig.h
7558 Tue Dec 21 16:08:17 2004 Jonathan Blandford <jrb@redhat.com>
7560 * shell/ev-window.c (ev_window_dispose): dispose can be called
7563 2004-12-21 Havoc Pennington <hp@redhat.com>
7565 * shell/ev-window.c (ev_window_init): set title to Document Viewer
7568 * data/evince-ui.xml, shell/ev-window.c: add a bunch of stub menu
7569 items; really they should be synced with the strings, etc. from
7570 current gpdf, but just getting the boring typing out of the way
7572 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
7575 * shell/ev-application.c: (window_destroy_cb):
7576 * shell/ev-window.c:
7577 * shell/main.c: (main):
7579 Actually show the window...
7581 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
7584 * shell/Makefile.am:
7585 * shell/ev-application.c: (ev_application_class_init):
7586 * shell/ev-window.c: (ev_window_dispose), (ev_window_class_init):
7590 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
7592 Import to gnome cvs.
7594 * Remove copies of gpdf and ggv trees.
7595 * Rip out all the recursive configure code.
7596 * Remove bonobo machinery.
7597 * viewer/*: GInterfaces that backends should/can implement.
7599 2004-11-09 Martin Kretzschmar <m_kretzschmar@gmx.net>
7601 * shell/ev-window.c (ev_window_cmd_help_about): fix "documentors"
7604 2004-10-28 Martin Kretzschmar <m_kretzschmar@gmx.net>
7606 * shell/ev-application.c (EV_APPLICATION_GET_PRIVATE)
7607 (ev_application_finalize, ev_application_class_init)
7608 (ev_application_init): use GType instance private data for priv.
7610 * shell/ev-window.c (EV_WINDOW_GET_PRIVATE)
7611 (ev_window_finalize, ev_window_class_init)
7612 (ev_window_init): ditto.
7614 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
7616 * shell/ev-application.c (ev_application_new_window): make public
7617 (ev_application_show_initial_window): kill.
7619 * shell/ev-application.h: update prototypes.
7621 * shell/main.cc (main): inline ev_application_show_initial_window.
7623 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
7625 * shell/ev-application.c (ev_application_new_window): impl.
7626 (ev_application_show_initial_window): use it.
7627 (is_window_empty, ev_application_get_empty_window): returns an
7628 existing empty window or a new one.
7629 (ev_application_open): from ev_window_cmd_file_open.
7631 * shell/ev-application.h: update prototypes
7633 * shell/ev-window.c (ev_window_is_empty): impl.
7634 (ev_window_open): make public.
7635 (ev_window_cmd_file_open): use ev_application_open
7637 * shell/ev-window.h: update prototypes, remove unused.
7639 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
7641 * shell/ev-window.c (ev_window_destroy, ev_window_class_init):
7642 move destroy handler out of here...
7644 * shell/ev-application.c, shell/ev-application.h: ...into this new
7645 class. Also handles initial window creation.
7647 * shell/main.cc (main): use EvApplication to create initial
7650 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
7652 * Makefile.am (SUBDIRS): add cut-n-paste
7654 * cut-n-paste/Makefile.am: add
7656 * configure.ac: generate Makefiles in cut-n-paste
7658 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
7660 * shell/ev-window.c (ev_window_dispose): new, unref the ui_manager
7661 (ev_window_class_init): install ev_window_dispose.
7663 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
7665 * shell/ev-window.h, shell/ev-window.c: replace gchar with
7666 char (gchar looks stupid).
7668 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
7670 * po/de.po: updated German translation.
7672 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
7674 * configure.ac: add more pkg-config library checks for gnome-vfs,
7677 * gpdf/configure.in: temporarily disable libpaper
7678 checks. Otherwise I'd have to add the checks for the shell, too.
7680 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7682 * shell/ev-window.c (ev_window_cmd_file_open): add ps+pdf, ps, pdf
7683 and * file filters to the file choose.
7685 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7687 * po/de.po: Updated German translation.
7689 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7691 * shell/ev-window.c: use "S" as mnemonic for Statusbar.
7693 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7695 * data/evince-ui.xml: add View->Toolbar and View->Statusbar.
7697 * shell/ev-window.c (menu_item_select_cb, menu_item_select_cb)
7698 (ev_window_init): implement those menuitems.
7700 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7702 * data/evince-ui.xml: add a toolbar (with FileOpen action)
7704 * shell/ev-window.c (ev_window_init): use the toolbar.
7706 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7708 * shell/ev-window.c (ev_window_init): use menu translations
7710 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7712 * configure.ac: add "de" to ALL_LINGUAS.
7714 * po/de.po: add German translation.
7716 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7718 * Makefile.am (SUBDIRS): add po
7720 * configure.ac: check intltool, glib-gettext etc, generate
7723 * po, po/POTFILES.in, po/POTFILES.skip: new.
7725 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7727 * shell/Makefile.am (INCLUDES): define GNOMELOCALEDIR which we
7728 already use (#ifdef ENABLE_NLS)
7730 * shell/ev-window.c (ev_window_cmd_help_about): fix two star
7731 pointer indirection thinko.
7733 * shell/main.c: include gi18n.h for bindtextdomain etc.
7735 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7737 * shell/ev-window.c (menu_item_select_cb, menu_item_deselect_cb)
7738 (connect_proxy_cb, disconnect_proxy_cb, ev_window_init): show
7739 tooltips for menu items in the statusbar.
7741 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7743 * configure.ac, data/Makefile.am, shell/Makefile.am: use
7744 pkgdatadir drop UIDIR
7746 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7748 * data/evince-ui.xml: Add File->Open menu item
7750 * shell/ev-window.c (ev_window_cmd_file_open): impl. (shows a file
7751 chooser), hook it up in the ui manager.
7753 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7755 * shell/ev-window.c: fix Help->About tooltip.
7757 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7759 * configure.ac: set CFLAGS for libevprivate.
7761 * lib/ev-stock-icons.h, lib/ev-stock-icons.c: stock icon
7762 definitions, factory etc.
7764 * lib/Makefile.am: build libevprivate.a (only stock icon code).
7766 * shell/Makefile.am: link against libevprivate.a.
7768 * shell/ev-window.c (entries): add stock icon to Help->About.
7770 * shell/main.c (main): init stock icon code.
7772 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7774 * lib/recent-files: egg recent files code
7776 * lib/Makefile.am: add.
7778 * Makefile.am: add lib subdir.
7780 * configure.ac: gen. lib/Makefile and lib/recent-files/Makefile,
7781 set CFLAGS for recent-files.
7783 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7785 * configure.ac: disable -ansi and -pedantic gcc flags. They
7786 disable POSIX stuff in stdio.h, but egg-recent uses them.
7788 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7790 * configure.ac: add --disable-deprecated flag (defaults to on in
7793 * shell/Makefile.am (INCLUDES): use it.
7795 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7797 * shell/main.c: add missing #include.
7799 * shell/ev-window.c: fix for pedantic gcc.
7800 (ev_window_cmd_help_about): split license into paragraphs for
7801 translators and pedantic compilers.
7803 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7805 * configure.ac: add more warning flags if compiling with gcc from
7806 cvs (or explicitly requested with --enable-more-warnings).
7808 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7810 * data/evince-ui.xml: add File and File->Close menu.
7812 * shell/ev-window.c (ev_window_cmd_file_close_window): impl.
7813 (ev_window_destroy): quit after destroy.
7814 (ev_window_class_init): override GtkObject::destroy.
7815 (entries): install close_window callback.
7817 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7819 * Makefile.am (SUBDIRS): add data subdir.
7821 * configure.ac (UIDIR): gen data/Makefile, define UIDIR. Require
7822 gtk+ 2.5.0 for GtkAboutDialog.
7824 * data/Makefile.am, data/evince-ui.xml: add, ui definition for the
7827 * shell/Makefile.am (INCLUDES): propagate UIDIR definition.
7829 * shell/ev-window.c (ev_window_init): create a menubar, using a ui
7831 (ev_window_cmd_help_about): about command, using GtkAboutDialog.
7833 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7835 * shell/ev-window.c, shell/ev-window.h: Created an EvWindow class.
7837 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
7839 * shell/main.c: make it a trivial gtk+ program, adjust configure.ac
7841 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
7843 * shell/*: Added shell directory boilerplate, build it.
7845 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
7847 * configure.ac, Makefile.am: Added top-level configure.ac and