1 2005-11-27 Jaap A. Haitsma <jaap@haitsma.org>
4 * shell/ev-window.c: (ev_window_set_view_accels_sensitivity):
6 Enter as shortcut key for next page. Fix for the bug
9 2005-11-18 Ales Nyakhaychyk <nab@mail.by>
11 * configure.ac: Added "be" (Belarusian) to ALL_LINGUAS.
13 2005-11-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
15 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info),
16 (job_finished_cb), (copy_job_to_job_info), (add_job_if_needed),
17 (new_selection_pixbuf_needed),
18 (ev_pixbuf_cache_get_selection_pixbuf), (update_job_selection),
19 (clear_job_selection):
21 Too early for 0.5. Pixbuf cache code cleaned a bit.
23 2005-11-14 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
28 Release 0.5.0 preparation
30 2005-11-14 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
34 * shell/ev-document-types.c: (ev_document_types_add_filters):
36 More advanced handling of custom mime type installation.
38 2005-11-14 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
40 * data/evince.schemas.in:
41 * shell/ev-metadata-manager.c: (value_free),
42 (ev_metadata_manager_get_last), (ev_metadata_manager_set_last),
43 (ev_metadata_manager_get), (ev_metadata_manager_set):
44 * shell/ev-metadata-manager.h:
45 * shell/ev-window.c: (update_chrome_flag),
46 (ev_window_cmd_focus_page_selector), (update_sidebar_visibility),
47 (setup_document_from_metadata), (setup_chrome_from_metadata),
48 (setup_sidebar_from_metadata), (setup_view_from_metadata),
49 (ev_window_cmd_edit_find), (ev_window_cmd_escape),
50 (ev_window_view_toolbar_cb),
51 (ev_window_sidebar_visibility_changed_cb), (find_bar_close_cb),
52 (view_actions_focus_in_cb), (ev_window_init), (ev_window_new):
54 Save last document settings and reuse them for new documents.
56 2005-11-14 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
59 * backend/Makefile.am:
60 * backend/ev-document-factory.c:
61 * backend/ev-document-factory.h:
63 * comics/comics-document.c: (G_DEFINE_TYPE_WITH_CODE),
64 (comics_document_load), (comics_document_save),
65 (comics_document_get_n_pages), (comics_document_get_page_size),
66 (get_page_size_area_prepared_cb), (comics_document_render_pixbuf) (render_pixbuf_size_prepared_cb), (comics_document_finalize),
67 (comics_document_class_init), (comics_document_can_get_text),
68 (comics_document_get_info), (comics_document_document_iface_init),
69 (comics_document_init), (get_supported_image_extensions),
70 (comics_document_thumbnails_get_geometry),
71 (comics_document_thumbnails_get_thumbnail),
72 (comics_document_thumbnails_get_dimensions),
73 (comics_document_document_thumbnails_iface_init), (extract_argv):
74 * comics/comics-document.h:
75 * comics/ev-cbr-mime.xml:
78 * shell/ev-application.c: (ev_application_register_service):
79 * shell/ev-document-types.c: (ev_document_types_add_filters):
80 * thumbnailer/Makefile.am:
81 * thumbnailer/evince-thumbnailer-comics.schemas.in:
83 New CBR/CBZ backend for comic books.
85 2005-11-10 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
87 * shell/main.c: (load_files_remote):
89 Thanks to Robert McQueen <robot101@debian.org>. Dbus
90 warning on startup of second instance is fixed. It
93 2005-10-30 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
95 * shell/ev-window.c: (ev_window_finalize):
97 Fix double free that cause crash.
99 2005-10-29 Bastien Nocera <hadess@hadess.net>
101 * tiff/tiff-document.c: (tiff_document_load):
105 2005-10-29 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
109 * shell/ev-view-accessible.c: (ev_view_accessible_get_priv),
110 (ev_view_accessible_free_priv), (ev_view_accessible_class_init),
111 (ev_view_accessible_get_text),
112 (ev_view_accessible_get_character_at_offset),
113 (ev_view_accessible_get_text_before_offset),
114 (ev_view_accessible_get_text_at_offset),
115 (ev_view_accessible_get_text_after_offset),
116 (ev_view_accessible_get_character_count),
117 (ev_view_accessible_get_caret_offset),
118 (ev_view_accessible_set_caret_offset),
119 (ev_view_accessible_get_run_attributes),
120 (ev_view_accessible_get_default_attributes),
121 (ev_view_accessible_get_character_extents),
122 (ev_view_accessible_get_offset_at_point),
123 (ev_view_accessible_get_n_selections),
124 (ev_view_accessible_get_selection),
125 (ev_view_accessible_add_selection),
126 (ev_view_accessible_remove_selection),
127 (ev_view_accessible_set_selection),
128 (ev_view_accessible_text_iface_init),
129 (ev_view_accessible_idle_do_action),
130 (ev_view_accessible_action_do_action),
131 (ev_view_accessible_action_get_n_actions),
132 (ev_view_accessible_action_get_description),
133 (ev_view_accessible_action_get_name),
134 (ev_view_accessible_action_set_description),
135 (ev_view_accessible_action_iface_init),
136 (ev_view_accessible_get_type), (ev_view_accessible_new),
137 (ev_view_accessible_factory_get_accessible_type),
138 (ev_view_accessible_factory_create_accessible),
139 (ev_view_accessible_factory_class_init),
140 (ev_view_accessible_factory_get_type):
141 * shell/ev-view-accessible.h:
142 * shell/ev-view-private.h:
143 * shell/ev-view.c: (ev_view_get_accessible), (ev_view_class_init):
146 Initial accessibility support.
148 2005-10-27 Erdal Ronahi <erdal.ronahi@gmail.com>
150 * configure.ac: Added ku (Kurdish) to ALL_LINGUAS
152 2005-10-26 Hubert Figuiere <hfiguiere@teaser.fr>
154 * shell/ev-print-job.c: (idle_print_handler):
156 Fix for bug Bug 318916: Printing multiple pages.
158 2005-10-20 Runa Bhattacharjee <runa@bengalinux.org>
160 * configure.ac: Added "bn" (Bengali) to ALL_LINGUAS.
162 2005-10-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
166 Thumnail dimensions unified with other backends.
168 * shell/ev-window-title.c: (ev_window_title_update):
172 2005-10-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
174 * data/ev-stock-zoom-fit-width.png:
178 2005-10-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
181 * djvu/djvu-document.c: (djvu_document_load), (djvu_document_save),
182 (djvu_document_finalize):
183 * dvi/dvi-document.c: (dvi_document_load), (dvi_document_save),
184 (dvi_document_finalize):
185 * pixbuf/pixbuf-document.c: (pixbuf_document_load),
186 (pixbuf_document_save), (pixbuf_document_finalize):
187 * tiff/tiff-document.c: (tiff_document_load), (tiff_document_save),
188 (tiff_document_finalize):
190 Save a copy implemented for various backends.
192 2005-10-17 Daniel Gryniewicz <dang@gentoo.org>
196 Don't link with ltiff if tiff is disabled.
198 2005-10-14 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
200 * pdf/GDKSplashOutputDev.cc:
201 * pdf/GDKSplashOutputDev.h:
204 * pdf/pdf-document.cc:
205 * pdf/pdf-document.h:
206 * pdf/test-gdk-output-dev.cc:
208 Remove old unused files.
210 2005-10-12 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
212 * shell/ev-window.c: (ev_window_setup_document):
214 Fixed warnings on reload and probably crash reason.
216 2005-10-12 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
218 * properties/ev-properties-view.c:
219 (ev_properties_view_format_date):
221 Check if date is invalid. Fix for bug 318134.
223 2005-10-02 Wouter Bolsterlee <uws+gnome@xs4all.nl>
225 * shell/ev-window-title.c:
227 Add .indd files (Adobe Indesign) to the list of "bad
230 2005-10-02 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
232 * data/evince-ui.xml:
233 * shell/ev-window.c: (ev_window_set_view_accels_sensitivity):
235 Add <ctrl>KP_Add and <ctrl>KP_Substract bindings.
237 2005-09-27 Christian Persch <chpe@cvs.gnome.org>
239 * shell/ev-window.c: (launch_link), (launch_external_uri),
240 (view_external_link_cb):
242 URL-escape link before passing it to gnome_vfs_url_show.
244 2005-09-27 Carlos Garcia Campos <carlosgc@gnome.org>
246 * shell/ev-view.[ch], shell/ev-window.c: Disable copy action when
247 there isn't text selected.
249 2005-09-27 Marco Pesenti Gritti <mpg@redhat.com>
251 * shell/ev-view.c: (handle_link_over_xy):
253 Check tooltip is valid utf8 before showing it
255 2005-09-27 Carlos Garcia Campos <carlosgc@gnome.org>
257 * shell/ev-view.c: Allow drag and drop of text. Fixes #316772
259 2005-09-27 Christian Persch <chpe@cvs.gnome.org>
261 * shell/ev-window-title.c: (ev_window_title_update):
263 Guard against using g_strstrip on NULL. Fixes bug #317291.
265 2005-09-26 Marco Pesenti Gritti <mpg@redhat.com>
269 Show title even for unknown links
271 2005-09-26 Marco Pesenti Gritti <mpg@redhat.com>
273 * shell/ev-window-title.c: (ev_window_title_update):
275 Strip the title string
277 2005-09-26 Marco Pesenti Gritti <mpg@redhat.com>
279 * shell/ev-window-title.c:
281 Add .rtf to the bad extensions list
283 2005-09-26 Marco Pesenti Gritti <mpg@redhat.com>
285 * shell/ev-view.c: (doc_point_to_view_point), (goto_fitr_link),
286 (goto_fitv_link), (goto_fith_link), (goto_xyz_link):
288 Ignore link coordinates if they are outside page bounds
290 2005-09-26 Marco Pesenti Gritti <mpg@redhat.com>
292 * backend/ev-link.c: (ev_link_type_get_type),
293 (ev_link_get_filename), (ev_link_get_params),
294 (ev_link_get_property), (ev_link_set_property),
295 (ev_window_dispose), (ev_link_class_init), (ev_link_new_launch):
298 * shell/ev-view.c: (ev_view_goto_link), (ev_view_class_init):
299 * shell/ev-window.c: (launch_link), (view_external_link_cb),
302 Implement launch links. Delegate external link opening to
305 2005-09-24 Marco Pesenti Gritti <mpg@redhat.com>
307 * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_bottom),
308 (ev_link_get_right), (ev_link_get_property),
309 (ev_link_set_property), (ev_link_class_init),
310 (ev_link_new_page_fitv), (ev_link_new_page_fitr):
313 * shell/ev-view.c: (goto_fitr_link), (ev_view_goto_link):
317 2005-09-24 Marco Pesenti Gritti <mpg@redhat.com>
319 * shell/ev-view.c: (ev_view_get_width), (ev_view_get_height),
320 (goto_fitv_link), (goto_fith_link), (goto_fit_link),
321 (ev_view_goto_link), (ev_view_size_request_continuous_dual_page),
322 (ev_view_size_request_continuous),
323 (ev_view_size_request_dual_page),
324 (ev_view_size_request_single_page), (ev_view_size_allocate),
325 (ev_view_zoom_for_size_continuous_and_dual_page),
326 (ev_view_zoom_for_size_continuous),
327 (ev_view_zoom_for_size_dual_page),
328 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
329 (ev_sizing_mode_get_type):
331 * shell/ev-window.c: (ev_window_sizing_mode_changed_cb):
333 Do not use modes for link, we need to calculate size ad hoc.
334 Still not perfect because of the usual scrollbar issues grrr.
336 2005-09-24 Marco Pesenti Gritti <mpg@redhat.com>
338 * backend/ev-link.c: (ev_link_type_get_type),
339 (ev_link_new_page_fith), (ev_link_new_page_fitv):
342 * shell/ev-view.c: (goto_fitv_link), (goto_fith_link),
343 (ev_view_goto_link), (ev_view_size_request_continuous_dual_page),
344 (ev_view_size_request_continuous),
345 (ev_view_size_request_dual_page),
346 (ev_view_size_request_single_page), (ev_view_size_allocate),
347 (zoom_for_size_fit_height),
348 (ev_view_zoom_for_size_continuous_and_dual_page),
349 (ev_view_zoom_for_size_continuous),
350 (ev_view_zoom_for_size_dual_page),
351 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
352 (ev_sizing_mode_get_type):
354 * shell/ev-window.c: (ev_window_sizing_mode_changed_cb):
356 Implement FIT_HEIGHT mode (only for links).
359 2005-09-24 Marco Pesenti Gritti <mpg@redhat.com>
361 * shell/ev-window-title.c: (get_filename_from_uri),
362 (ev_window_title_sanitize_extension), (ev_window_title_update),
363 (ev_window_title_set_document), (ev_window_title_set_uri),
364 (ev_window_title_free):
365 * shell/ev-window-title.h:
366 * shell/ev-window.c: (ev_window_setup_document),
367 (ev_window_popup_password_dialog):
369 Refactor window title building while fixing it for
372 2005-09-24 Marco Pesenti Gritti <mpg@redhat.com>
376 Escape link title before setting it in the model
378 2005-09-23 Marco Pesenti Gritti <mpg@redhat.com>
380 * shell/ev-application.c: (removed_from_session), (save_session),
381 (init_session), (ev_application_get_empty_window),
382 (ev_application_init), (ev_application_get_windows):
383 * shell/ev-application.h:
384 * shell/ev-window.c: (ev_window_finalize):
386 Add a function to retrieve window list and share it where
388 Implement session handling, works pretty well thanks to the
391 2005-09-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
393 * shell/ev-password.c: (ev_password_item_created_callback),
394 (ev_password_dialog_save_password):
396 Fix for bug 316972. Use async gnome-keyring API.
398 2005-09-22 Christian Persch <chpe@cvs.gnome.org>
400 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_class_init):
401 Remove unused unrealize handler. Add scroll handling to
402 ev_view_scroll_event for presentation mode (bug #316708),
403 and fix the event state checks there.
405 2005-09-22 Marco Pesenti Gritti <mpg@redhat.com>
407 * shell/ev-page-action.c: (page_changed_cb):
409 "marco, maybe we should be crazy and jump right to 6! :)"
411 Bryan Clark, Sep 2005
413 2005-09-22 Marco Pesenti Gritti <mpg@redhat.com>
415 * ps/ps-document.c: (save_document), (ps_document_save),
416 (ps_document_ps_export_begin), (ps_document_ps_export_do_page),
417 (ps_document_ps_export_end):
419 Fix unstructured documents save and print
421 2005-09-22 Marco Pesenti Gritti <mpg@redhat.com>
423 * shell/ev-application.c: (ev_application_open_uri):
425 Fix window size persistance
427 2005-09-22 Marco Pesenti Gritti <mpg@redhat.com>
429 * shell/ev-view.c: (ev_view_button_release_event):
431 Based on a patch from carlosgc@gnome.org. Mouse buttons
432 switch pages in presentation mode.
434 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
436 * shell/ev-page-cache.c: (ev_page_cache_get_size):
438 Dont cast to int before scaling
440 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
442 * backend/ev-link.c: (ev_link_type_get_type),
443 (ev_link_new_page_xyz), (ev_link_new_page_fit),
444 (ev_link_new_page_fith):
447 * shell/ev-view.c: (goto_fith_link), (ev_view_goto_link):
449 Implement FIT and FITH links
451 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
455 Return 0 results when search is not in progress.
457 * shell/ev-window.c: (ev_window_cmd_go_previous_page),
458 (ev_window_cmd_go_next_page), (find_bar_search_changed_cb):
460 Update menu sensitivity when cancelling search
462 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
464 * shell/ev-view.c: (ev_view_can_find_next):
466 Take all pages in consideration, not just current one
468 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
470 * shell/ev-page-cache.c:
471 * shell/ev-page-cache.h:
472 * shell/ev-view.c: (ev_view_binding_activated),
473 (ev_view_next_page), (ev_view_previous_page),
474 (ev_sizing_mode_get_type):
476 * shell/ev-window.c: (ev_window_cmd_go_previous_page),
477 (ev_window_cmd_go_next_page):
479 Move page next/previous functions from page chace to
480 view and change it to move by 2 page steps in dual mode.
482 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
484 * shell/ev-window.c: (update_sidebar_visibility),
485 (setup_sidebar_from_metadata), (ev_window_setup_document),
486 (setup_view_from_metadata):
488 Show the index by default when there is one
490 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
492 * shell/ev-window-title.c: (ev_window_title_set_document):
496 2005-09-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
498 * shell/ev-view.c: (view_update_range_and_current_page):
500 Allow display of last odd page in dual view. Fix for 316347.
502 2005-09-17 Wouter Bolsterlee <uws+gnome@xs4all.nl>
504 * shell/ev-window.c: (ev_window_cmd_edit_toolbar):
506 Make close button default. Fix for 316383.
508 2005-09-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
510 * shell/ev-properties-dialog.c: (ev_properties_dialog_init):
512 Mark close button as default. Fix for 316381.
514 2005-09-16 Marco Pesenti Gritti <mpg@redhat.com>
516 * backend/ev-link.c: (ev_link_class_init):
518 Allow negative doubles in left/top properties
520 2005-09-16 Marco Pesenti Gritti <mpg@redhat.com>
524 Remove a bunch of strings that was used only
527 2005-09-16 Marco Pesenti Gritti <mpg@redhat.com>
529 * shell/ev-window-title.c: (get_filename_from_uri),
530 (ev_window_title_set_document):
532 When title has a confusing extension, show also
533 the document filename inside ()
535 2005-09-16 Marco Pesenti Gritti <mpg@redhat.com>
538 * shell/ev-window-title.c: (ev_window_title_new),
539 (ev_window_title_update), (ev_window_title_set_type),
540 (ev_window_title_set_document), (ev_window_title_free):
541 * shell/ev-window-title.h:
542 * shell/ev-window.c: (ev_window_setup_document),
543 (password_dialog_response), (ev_window_popup_password_dialog),
544 (ev_window_dispose), (ev_window_init):
546 Factor out and cleanup window title code
548 2005-09-16 Marco Pesenti Gritti <mpg@redhat.com>
550 * shell/ev-window.c: (unable_to_load_dialog_response_cb),
553 Make dialog transient so it doesnt block other windows
555 2005-09-13 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
559 Fix pdf thumbnails rendering.
561 2005-09-13 Wouter Bolsterlee <uws+gnome@xs4all.nl>
563 * shell/ev-window.c: (fullscreen_set_timeout):
565 Increase timeout to hide full screen popup. Bug
568 2005-09-13 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
570 * data/evince.schemas.in:
571 * shell/ev-window.c: (update_action_sensitivity):
573 Allow the user to override document restrictions. Fix for bug
576 2005-09-13 Christian Persch <chpe@cvs.gnome.org>
578 * shell/ev-window.c: (ev_window_update_fullscreen_popup),
579 (ev_window_create_fullscreen_popup), (ev_window_screen_changed),
580 (ev_window_class_init): Fix multihead behaviour of fullscreen
581 toolbar popup. Fixes bug #315451.
583 2005-09-13 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
586 * data/evince-password.glade:
587 * shell/ev-password.c: (ev_password_dialog_set_property),
588 (ev_password_dialog_finalize), (ev_password_dialog_class_init),
589 (ev_password_dialog_init), (ev_password_set_bad_password_label),
590 (ev_password_dialog_entry_changed_cb),
591 (ev_password_dialog_entry_activated_cb),
592 (ev_password_dialog_save_password), (ev_password_keyring_found_cb),
593 (ev_password_search_in_keyring), (ev_password_dialog_get_password),
594 (ev_password_dialog_set_bad_pass):
595 * shell/ev-password.h:
596 * shell/ev-window.c: (password_dialog_response),
597 (ev_window_popup_password_dialog):
599 Support for gnome-keyring for encrypted PDF's.
601 2005-09-11 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
603 * shell/ev-view.c: (handle_link_over_xy), (ev_view_realize),
604 (ev_view_motion_notify_event), (ev_view_leave_notify_event),
605 (ev_view_enter_notify_event), (ev_view_class_init):
607 More precise handling of enter_notify/leave_notify events
608 in EvView. Fix for bug 315470.
610 2005-09-08 Christopher Aillon <caillon@redhat.com>
612 * shell/ev-window.c: (fullscreen_timeout_cb),
613 (fullscreen_set_timeout), (fullscreen_clear_timeout),
616 leak fix: unref fullscreen_timeout_source before clearing it
618 2005-09-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
620 * configure.ac, dvi/mdvi/Makefile.am:
622 Use lt1 instead lt1lib. Thanks to yselkowitz@users.sourceforge.net
624 2005-09-08 Marco Pesenti Gritti <mpg@redhat.com>
626 * backend/ev-link.c: (ev_link_new_page_xyz):
628 * shell/ev-view.c: (goto_xyz_link), (ev_view_goto_link):
630 Fix some bugs with xyz links, respect zoom
632 2005-09-08 Marco Pesenti Gritti <mpg@redhat.com>
634 * shell/ev-window.c: (page_changed_cb),
635 (setup_document_from_metadata), (update_sidebar_visibility),
636 (setup_view_from_metadata), (ev_window_run_fullscreen),
637 (ev_window_stop_fullscreen), (ev_window_run_presentation),
638 (ev_window_stop_presentation), (ev_window_continuous_changed_cb),
639 (ev_window_dual_mode_changed_cb),
640 (ev_window_sidebar_current_page_changed_cb):
642 null check uri before setting and getting metadata
644 2005-09-08 Marco Pesenti Gritti <mpg@redhat.com>
647 * properties/Makefile.am:
649 * thumbnailer/Makefile.am:
651 Some build fixes for cygwin. Patch by yselkowitz@users.sourceforge.net
653 2005-09-08 Marco Pesenti Gritti <mpg@redhat.com>
655 * shell/ev-sidebar-links.c: (ev_sidebar_links_class_init),
656 (selection_changed_callback):
657 * shell/ev-sidebar-links.h:
659 Add a signal for link activation.
661 * shell/ev-view.c: (ev_view_goto_link),
662 (ev_view_button_release_event):
664 * shell/ev-window.c: (sidebar_links_link_activated_cb),
667 Implement the signal so that we can handle all link types.
669 * shell/ev-page-cache.c:
671 Remove unused set_link function
673 2005-09-08 Marco Pesenti Gritti <mpg@redhat.com>
675 * lib/ev-tooltip.c: (ev_tooltip_set_position):
677 Add some space from the cursor, hardcoded but I couldnt
680 2005-09-07 Marco Pesenti Gritti <mpg@redhat.com>
684 Use mozilla style vs gtk style, way better for links.
686 * shell/ev-view.c: (ev_view_motion_notify_event),
687 (ev_view_destroy), (ev_view_init):
689 Deactive tooltip when the link hovered is changed.
691 2005-09-07 Marco Pesenti Gritti <mpg@redhat.com>
693 * backend/ev-document.h:
694 * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_top),
695 (ev_link_get_left), (ev_link_get_zoom), (ev_link_get_property),
696 (ev_link_set_property), (ev_window_dispose), (ev_link_class_init),
697 (ev_link_new_page), (ev_link_new_page_xyz):
700 * shell/ev-view.c: (doc_point_to_view_point), (scroll_to_xyz_link),
701 (go_to_link), (tip_from_link):
703 Implement xyz links, still not functional. Links are a total
704 mess, will need to refactor and bugfix a lot :(
706 2005-09-05 Alessio Frusciante <algol@firenze.linux.it>
708 * configure.ac: Added "it" (Italian) to ALL_LINGUAS.
710 2005-09-05 Marco Pesenti Gritti <mpg@redhat.com>
712 * data/evince-ui.xml:
713 * data/evince.schemas.in:
715 * shell/ev-window.c: (update_chrome_visibility),
716 (password_dialog_response), (ev_window_load_job_cb),
717 (ev_window_xfer_job_cb), (ev_window_open_uri),
718 (ev_window_class_init), (set_chrome_actions), (load_chrome),
721 Remove the statusbar. This regress loading feedback, need to
722 check with Bryan what we want to do there...
724 2005-09-05 Marco Pesenti Gritti <mpg@redhat.com>
726 * lib/ev-tooltip.c: (ev_tooltip_init):
728 Fix tooltip border and size handling
730 2005-09-05 Marco Pesenti Gritti <mpg@redhat.com>
732 * lib/ev-tooltip.c: (ev_tooltip_dispose), (ev_tooltip_class_init),
733 (ev_tooltip_set_position), (ev_tooltip_recently_shown),
734 (ev_tooltip_timeout), (ev_tooltip_activate),
735 (ev_tooltip_deactivate):
737 * shell/ev-view.c: (ev_view_motion_notify_event):
739 Delay popup showing. Mirror gtk logic/times.
741 2005-09-03 Marco Pesenti Gritti <mpg@redhat.com>
744 * lib/ev-tooltip.c: (ev_tooltip_expose_event),
745 (ev_tooltip_class_init), (ev_tooltip_init), (ev_tooltip_new),
746 (ev_tooltip_set_text), (ev_tooltip_set_position):
749 Simple widget to show tooltips at a custom position
751 * shell/ev-view.c: (tip_from_link), (ev_view_motion_notify_event),
754 Use it for links. First go, needs work
756 2005-08-17 Dennis Cranston <dennis_cranston@yahoo.com>
758 * shell/ev-window.c: (ev_window_cmd_edit_toolbar): A couple small
759 HIG fixes. Use title capitalization for window title. Use 12
760 pixels of space between the dialog's vbox and action area.
762 2005-09-02 Marco Pesenti Gritti <mpg@redhat.com>
764 * shell/ev-window.c: (file_open_dialog_response_cb),
765 (ev_window_cmd_file_open), (file_save_dialog_response_cb),
766 (ev_window_cmd_save_as):
768 Make file pickers not modal and refactor code some
770 2005-09-02 Marco Pesenti Gritti <mpg@redhat.com>
772 * shell/ev-sidebar.h:
773 * shell/ev-sidebar.c: (ev_sidebar_set_property),
774 (ev_sidebar_get_current_page), (ev_sidebar_get_property),
775 (ev_sidebar_class_init), (ev_sidebar_select_page),
776 (ev_sidebar_menu_item_activate_cb), (ev_sidebar_new),
777 (ev_sidebar_set_page):
779 Add a current page property and allow to get/set it
781 * shell/ev-window.c: (setup_view_from_metadata),
782 (ev_window_sidebar_current_page_changed_cb), (ev_window_init):
784 Persist current sidebar page per document
786 2005-09-02 Marco Pesenti Gritti <mpg@redhat.com>
788 * data/evince.schemas.in:
789 * shell/ev-window.c: (update_chrome_visibility),
790 (setup_document_from_metadata), (update_sidebar_visibility),
791 (setup_view_from_metadata), (ev_window_sidebar_position_change_cb),
792 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
793 (ev_window_run_presentation), (ev_window_stop_presentation),
794 (ev_window_view_sidebar_cb),
795 (ev_window_sidebar_visibility_changed_cb), (set_chrome_actions),
796 (load_chrome), (ev_window_init):
798 Persist size/visibility of sidebar per document
800 Fri Sep 2 00:59:55 2005 Jonathan Blandford <jrb@redhat.com>
802 * shell/ev-view.c (draw_loading_text): Draw loading text.
804 2005-09-02 Dan Damian <dand@gnome.ro>
806 * configure.in: Added "ro" to ALL_LINGUAS.
808 2005-09-01 Marco Pesenti Gritti <mpg@redhat.com>
810 * shell/ev-view.c: (clear_caches):
812 ev_page_cache_get doesnt return a reference,
813 dont try to unref it.
815 2005-09-01 Marco Pesenti Gritti <mpg@redhat.com>
817 * shell/main.c: (load_files_remote):
819 Fix timestamp parameter with dbus <= 0.33
821 2005-08-31 Marco Pesenti Gritti <mpg@redhat.com>
823 * data/evince.schemas.in:
825 Add missing full stop
827 2005-08-31 Hiroyuki Ikezoe <poincare@ikezoe.net>
829 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info):
830 * shell/ev-window.c: (ev_window_print_range), (ev_window_dispose):
832 Plug some memory leaks
834 2005-08-29 Christian Persch <chpe@cvs.gnome.org>
837 * lib/ev-debug.c: (trap_handler):
839 Check for execinfo.h and use it only if it exists.
840 Ported from Epiphany (bug #314776).
842 2005-08-29 Duarte Loreto <happyguy_pt@hotmail.com>
844 * configure.ac: Added Portuguese (pt) to ALL_LINGUAS.
846 2005-08-27 Mohammad DAMT <mdamt@gnome.org>
848 * configure.ac: Added Indonesian "id" to ALL_LINGUAS
849 * po/id.po : Added Indonesian translation
851 Fri Aug 26 00:45:09 2005 Jonathan Blandford <jrb@redhat.com>
854 * shell/ev-application.c: Last minute GTK-2.6 fixes.
855 * NEWS: Release 0.4.0
857 Thu Aug 25 23:40:23 2005 Jonathan Blandford <jrb@redhat.com>
859 * configure.ac: catch another gtk+-2.8ism
860 * shell/main.c: Make work with gtk+-2.6
862 2005-08-25 Ryan Lortie <desrt@desrt.ca>
864 * shell/ev-application-service.xml: Add 'timestamp' argument to
865 ev_application_open_window and ev_application_open_uri methods.
867 * shell/ev-application.h: Add 'timestamp' argument to
868 ev_application_open_window, ev_application_open_uri,
869 and ev_application_open_uri_list functions.
871 * shell/ev-application.c (ev_application_open_window,
872 ev_application_open_uri, ev_application_open_uri_list): Change
873 functions that show/present windows to use a timestamp if one
876 * shell/ev-window.c (ev_window_cmd_file_open,
877 ev_window_cmd_recent_file_activate, drag_data_received_cb):
878 * shell/main.c (load_files): Modify calls to ev_application to
879 include GDK_CURRENT_TIME as timestamp.
881 * shell/main.c (load_files_remote): Obtain timestamp for client
882 instance from GDK and pass to server instance so new windows are
883 focused properly. Fix dbus_g_proxy_call() calls by including second
888 Thu Aug 25 22:13:08 2005 Jonathan Blandford <jrb@redhat.com>
890 * shell/ev-window.c (ev_window_finalize): Check for
891 avail. EvWindows when quiting to handle the finalize better,
894 2005-08-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
896 * properties/ev-properties-view.c:
898 Set textdomain to libglade. Fixes translation problem in property page.
900 2005-08-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
902 * djvu/djvu-document.c: (djvu_document_thumbnails_get_thumbnail):
904 * dvi/dvi-document.c: (dvi_document_thumbnails_get_thumbnail):
905 * dvi/mdvi-lib/Makefile.am:
907 Fix rotation of thumbnails, ported to new API. Moved library
908 dependencies earlier, probably it will fix linkage problem.
910 Thu Aug 25 02:32:32 2005 Jonathan Blandford <jrb@redhat.com>
912 * backend/ev-document-misc.c:
913 (ev_document_misc_get_thumbnail_frame):
914 * backend/ev-document-misc.h:
918 * shell/ev-sidebar-thumbnails.c: (add_range),
919 (ev_sidebar_thumbnails_set_loading_icon),
920 (ev_sidebar_thumbnails_refresh),
921 (ev_sidebar_thumbnails_set_document):
922 * shell/ev-sidebar-thumbnails.h:
923 * shell/ev-view.c: (ev_view_motion_notify_event),
924 (ev_view_set_property), (ev_view_get_property),
925 (ev_view_class_init), (ev_view_set_rotation):
926 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
927 (ev_window_cmd_edit_rotate_right), (ev_window_rotation_changed_cb),
929 * tiff/tiff-document.c: (tiff_document_thumbnails_get_thumbnail):
930 Redo rotation (again). prepare for 0.4.0
932 2005-08-24 Kristian Høgsberg <krh@redhat.com>
934 * configure.ac: Bump poppler requirement to 0.4.1.
936 * pdf/ev-poppler.cc (pdf_selection_render_selection): Add rotation
937 argument to poppler_page_render_selection() call.
939 2005-08-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
941 * djvu/djvu-document.c: (djvu_document_render_pixbuf),
942 (djvu_document_thumbnails_get_thumbnail):
943 * dvi/dvi-document.c: (dvi_document_render_pixbuf),
944 (dvi_document_thumbnails_get_thumbnail):
945 * pixbuf/pixbuf-document.c: (pixbuf_document_render_pixbuf),
946 (pixbuf_document_thumbnails_get_thumbnail):
947 * tiff/tiff-document.c: (tiff_document_render_pixbuf):
949 Update rotation direction of backends to fit with pdf and ps.
951 2005-08-24 Marco Pesenti Gritti <mpg@redhat.com>
953 * backend/ev-async-renderer.c: (ev_async_renderer_render_pixbuf):
954 * backend/ev-async-renderer.h:
955 * ps/ps-document.c: (ps_document_init), (setup_pixmap),
956 (setup_page), (ps_document_get_page_size),
957 (ps_async_renderer_render_pixbuf):
959 * shell/ev-jobs.c: (ev_job_render_run):
961 Fix orientation in the postscript document
963 2005-08-23 Marco Pesenti Gritti <mpg@redhat.com>
966 * ps/ps-document.c: (push_pixbuf), (ps_document_widget_event):
967 * shell/ev-view.c: (highlight_find_results):
969 Adapt to the new poppler rotation API. Fix text maps on landscape
972 Sat Aug 20 17:13:48 2005 Jonathan Blandford <jrb@redhat.com>
974 * shell/ev-view.c (compute_new_selection_text): get the correct
975 region when selecting in modes other than continuous.
977 Sat Aug 20 13:10:01 2005 Jonathan Blandford <jrb@redhat.com>
979 * shell/main.c (main): remove redundant g_warnings.
981 2005-08-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
983 * shell/Makefile.am: Don't include autogenerated
984 file ev-application-service.h into distribution, since
985 it causes dbus crash. Fix for bugs 313724 and 313443.
987 2005-08-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
989 * configure.ac: Fix sed expression for FreeBSD. Thanks
990 to Joe Marcus Clark <marcus@freebsd.org>
992 * shell/eggfindbar.c: (entry_activate_callback),
993 (entry_changed_callback), (egg_find_bar_init),
994 (egg_find_bar_set_search_string):
996 Made findbar buttons unsensitive if there is no text in
997 entry. Fix for the bug 313285.
999 2005-08-17 Carlos Garcia Campos <carlosgc@gnome.org>
1001 * ps/ps-document.c: Use g_filename_display_name for displaying
1002 filenames and revert string freeze breackage
1004 2005-08-17 Marco Pesenti Gritti <mpg@redhat.com>
1011 * shell/Makefile.am:
1013 Add ev-application-service.xml to extra dist
1015 * shell/ev-view.c: (find_page_at_location):
1017 Remove unused function (fix warning)
1019 2005-08-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1021 * dvi/mdvi-lib/t1.c: (t1_reset_resolution), (t1_really_load_font),
1022 (t1_load_font), (t1_glyph_bitmap), (t1_font_remove):
1024 Fix warnings and compilation with t1lib-5.0 and newer. Fix for
1027 2005-08-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1029 * shell/ev-utils.c: (set_umask_permissions), (write_to_temp_file):
1030 * shell/ev-window.c:
1033 2005-08-16 Carlos Garcia Campos <carlosgc@gnome.org>
1035 * configure.ac: Update script to get dbus version.
1036 Fix for the bug #313443.
1038 2005-08-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1040 * shell/ev-window.c: (ev_window_cmd_escape):
1042 Return focus back to view on escape. Fix for bug 313295.
1044 2005-08-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1046 * shell/ev-window.c: (update_window_title),
1047 (ev_window_popup_password_dialog), (ev_window_load_job_cb),
1048 (ev_window_cmd_save_as):
1050 Correct conversion from uri to displayable string. Fix for
1053 2005-08-16 Carlos Garcia Campos <carlosgc@gnome.org>
1055 * ps/ps-document.c: convert filename to utf8 when there is an error
1056 loading document. Fixes #309915
1058 2005-08-16 Marco Pesenti Gritti <mpg@redhat.com>
1062 We depend on poppler 0.4.0
1064 Mon Aug 15 21:53:05 2005 Jonathan Blandford <jrb@redhat.com>
1067 * NEWS: Release 0.3.3.
1068 * thumbnailer/evince-thumbnailer.c: Remove pdf icon.
1070 2005-08-14 Dennis Cranston <dennis_cranston@yahoo.com>
1072 * shell/ev-window.c: (ev_window_cmd_file_open): HIG fixes:
1073 add a couple missing mnemonics to menu items, use title
1074 capitalization for menu items and window titles, and add
1075 ellipsis to open menu item.
1077 Mon Aug 15 00:40:21 2005 Jonathan Blandford <jrb@redhat.com>
1079 * pdf/ev-poppler.cc:
1080 * shell/ev-metadata-manager.c: (ev_metadata_manager_init):
1081 * shell/ev-view.c: (ev_view_rotate_left), (ev_view_set_rotation),
1082 (ev_view_get_rotation):
1084 * shell/ev-window.c: (setup_view_from_metadata),
1085 (save_rotation_to_file), (ev_window_cmd_edit_rotate_left),
1086 (ev_window_cmd_edit_rotate_right): Fix rotation. Save it to
1089 2005-08-14 Baris Cicek <baris@teamforce.name.tr>
1091 * configure.ac: Added tr to ALL_LINGUAS
1093 2005-08-12 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1095 * shell/ev-view.c: Fix for bug Bug 311838. Search backward
1096 requires several clicks to find word. Thanks to
1097 Colin Slater <kiltedtaco@gmail.com>.
1099 2005-08-11 Bryan Clark <clarkbw@cvs.gnome.org>
1101 * data/evince.desktop.in.in: Hide menu entry and
1102 rename it to "Document Viewer". Fix for bug
1105 2005-08-11 Crispin Flowerday <gnome@flowerday.cx>
1107 * shell/ev-page-action.c (ev_page_action_class_init):
1109 Point to the correct function in constructor of the
1110 activate_label signal
1112 Tue Aug 9 02:17:13 2005 Jonathan Blandford <jrb@redhat.com>
1114 * shell/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
1115 * shell/ev-jobs.h: Make thread safe.
1117 2005-08-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1119 * shell/ev-view.c: (view_update_range_and_current_page):
1120 Don't update page range if we are scrolling to some document
1123 2005-08-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1125 * shell/ev-view.c: (get_page_extents): reverse rotation/scale
1126 when getting max_page_width, fix drawing in dual mode.
1128 Sun Aug 7 02:06:08 2005 Jonathan Blandford <jrb@redhat.com>
1130 * shell/ev-view.c (ev_view_select_all): reverse rotation/page when
1131 getting the area for select_all.
1133 2005-08-06 Kristian Høgsberg <krh@redhat.com>
1135 * backend/ev-selection.c: (ev_selection_render_selection):
1136 * backend/ev-selection.h:
1137 * pdf/ev-poppler.cc:
1138 * shell/ev-jobs.c: (ev_job_render_new):
1140 * shell/ev-pixbuf-cache.c: (get_selection_colors),
1141 (add_job_if_needed), (ev_pixbuf_cache_get_selection_pixbuf):
1142 * shell/ev-view.c: (ev_view_focus_in), (ev_view_focus_out),
1143 (ev_view_class_init):
1145 Change selection color on focus in and focus out events. Also,
1146 poppler now uses GdkColor for specifying the selection colors, so
1147 drop some awkward conversion code.
1149 2005-08-06 Yair Hershkovitz <yairhr@gmail.com>
1151 * configure.ac: Added Hebrew translation
1153 Sat Aug 6 01:12:44 2005 Jonathan Blandford <jrb@redhat.com>
1156 * backend/ev-selection.c: (ev_selection_render_selection):
1157 * backend/ev-selection.h:
1158 * pdf/ev-poppler.cc:
1159 * shell/ev-jobs.c: (ev_job_render_dispose), (ev_job_render_new),
1160 (ev_job_render_run):
1162 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info),
1163 (ev_pixbuf_cache_new), (job_finished_cb), (add_job_if_needed),
1164 (convert_gdk_color_to_uint), (ev_pixbuf_cache_get_text_mapping),
1165 (ev_pixbuf_cache_style_changed),
1166 (ev_pixbuf_cache_get_selection_pixbuf),
1167 (ev_pixbuf_cache_set_selection_list),
1168 (ev_pixbuf_cache_get_selection_list):
1169 * shell/ev-pixbuf-cache.h:
1170 * shell/ev-utils.c: (ev_print_region_contents):
1172 * shell/ev-view.c: (ev_view_queue_draw_page),
1173 (selection_update_idle_cb), (ev_view_motion_notify_event),
1174 (ev_view_style_set), (draw_one_page), (ev_view_class_init),
1175 (setup_caches), (ev_view_find_next), (merge_selection_region),
1177 * shell/ev-window.c: (ev_window_update_fullscreen_popup):
1179 Clean up selection to be much smoother!
1181 2005-08-05 Kristian Høgsberg <krh@redhat.com>
1183 * pdf/ev-poppler.cc (pdf_selection_render_selection): Pass colors
1184 to poppler_page_render_selection().
1186 2005-08-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1188 * ps/ps-document.c: (save_page_list): Use
1189 unzipped document when printing. Thanks to
1190 Colin Slater <kiltedtaco@gmail.com>. Fix for bug
1193 2005-08-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1195 * shell/ev-window.c: (update_action_sensitivity):
1197 Disable print and save respect to lockdown gconf keys. Fix
1200 2005-08-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1203 * shell/ev-utils.c: (rename_file), (set_umask_permissions),
1204 (write_to_temp_file), (ev_file_set_contents):
1206 * shell/ev-window.c: (save_print_config_to_file):
1208 Copy-paste g_file_set_contents to keep compatibility with gtk 2.6
1211 2005-07-31 Christian Persch <chpe@cvs.gnome.org>
1213 * shell/ev-window.c: (load_print_config_from_file),
1214 (save_print_config_to_file), (ev_window_print_range):
1216 Persist the print settings. Fixes bug #311578.
1218 2005-07-31 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1220 * djvu/djvu-document.c: (djvu_document_get_page_size),
1221 (djvu_document_render_pixbuf), (djvu_document_document_iface_init),
1222 (djvu_document_thumbnails_get_thumbnail):
1223 * dvi/dvi-document.c: (dvi_document_get_page_size),
1224 (dvi_document_render_pixbuf), (dvi_document_document_iface_init),
1225 (dvi_document_thumbnails_get_dimensions),
1226 (dvi_document_thumbnails_get_thumbnail):
1227 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size),
1228 (pixbuf_document_render_pixbuf),
1229 (pixbuf_document_document_iface_init),
1230 (pixbuf_document_thumbnails_get_thumbnail):
1232 Update backends to make them build with new rotation system.
1234 2005-07-31 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1236 * help/C/figures/evince_start_window.png:
1238 Update documentation image from Luca Ferretti <elle.uca@libero.it>
1240 Sat Jul 30 19:09:34 2005 Jonathan Blandford <jrb@redhat.com>
1242 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_clear):
1243 * shell/ev-pixbuf-cache.h:
1244 * shell/ev-sidebar-thumbnails.c:
1245 (ev_sidebar_thumbnails_get_property), (add_range),
1246 (adjustment_changed_cb):
1247 * shell/ev-view.c: (ev_view_set_rotation): Fix rotation and the
1248 pixbuf cache. Make thumbnailing work again. Also, fix bug where
1249 we were thumbnailing the entire docment on startup, slowing us
1252 Fri Jul 29 23:14:28 2005 Jonathan Blandford <jrb@redhat.com>
1254 * shell/ev-page-cache.c: (ev_page_cache_new):
1255 * shell/ev-window.c: (update_action_sensitivity): Handle n_pages
1256 == 0, fixes #310306.
1258 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
1260 * shell/ev-view.c: (doc_rect_to_view_rect), (ev_view_rotate_right),
1261 (ev_view_rotate_left):
1263 Account rotation in doc_rect_to_view_rect.
1264 Ensure rotation doesnt go out of bounds.
1266 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
1268 * shell/ev-page-cache.c: (ev_page_cache_get_size):
1270 Correct and cleanup w/h swapping
1272 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
1274 * backend/ev-document-thumbnails.c:
1275 (ev_document_thumbnails_get_thumbnail):
1276 * backend/ev-document-thumbnails.h:
1277 * backend/ev-document.c:
1278 * backend/ev-document.h:
1279 * backend/ev-render-context.c: (ev_render_context_new),
1280 (ev_render_context_set_rotation):
1281 * backend/ev-render-context.h:
1282 * pdf/ev-poppler.cc:
1283 * ps/ps-document.c: (ps_document_document_iface_init):
1284 * shell/ev-jobs.c: (ev_job_thumbnail_new), (ev_job_thumbnail_run):
1286 * shell/ev-page-cache.c: (build_height_to_page),
1287 (ev_page_cache_new), (ev_page_cache_get_size),
1288 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
1289 (ev_page_cache_get_height_to_page):
1290 * shell/ev-page-cache.h:
1291 * shell/ev-pixbuf-cache.c: (check_job_size_and_unref),
1292 (add_job_if_needed), (ev_pixbuf_cache_add_jobs_if_needed),
1293 (ev_pixbuf_cache_set_page_range), (new_selection_pixbuf_needed),
1294 (ev_pixbuf_cache_get_selection_pixbuf):
1295 * shell/ev-pixbuf-cache.h:
1296 * shell/ev-print-job.c: (idle_print_handler):
1297 * shell/ev-sidebar-thumbnails.c: (add_range):
1298 * shell/ev-view.c: (view_update_range_and_current_page),
1299 (get_page_y_offset), (get_page_extents),
1300 (ev_view_size_request_continuous_dual_page),
1301 (ev_view_size_request_continuous),
1302 (ev_view_size_request_dual_page),
1303 (ev_view_size_request_single_page), (draw_one_page),
1304 (ev_view_set_rotation), (ev_view_rotate_right),
1305 (ev_view_rotate_left), (ev_view_zoom_for_size_presentation),
1306 (ev_view_zoom_for_size_continuous_and_dual_page),
1307 (ev_view_zoom_for_size_continuous),
1308 (ev_view_zoom_for_size_dual_page),
1309 (ev_view_zoom_for_size_single_page), (compute_new_selection_text),
1310 (ev_view_select_all):
1311 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
1312 * tiff/tiff-document.c: (tiff_document_render_pixbuf),
1313 (tiff_document_document_iface_init),
1314 (tiff_document_thumbnails_get_thumbnail):
1316 Use rotation rather than orientation. It's easier and enough
1319 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
1321 * shell/ev-page-cache.c: (build_height_to_page),
1322 (ev_page_cache_new), (ev_page_cache_get_size),
1323 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
1324 (ev_page_cache_get_height_to_page):
1325 * shell/ev-page-cache.h:
1326 * shell/ev-view.c: (get_page_y_offset), (get_page_extents),
1327 (ev_view_size_request_continuous_dual_page),
1328 (ev_view_size_request_continuous),
1329 (ev_view_zoom_for_size_continuous_and_dual_page),
1330 (ev_view_zoom_for_size_continuous):
1332 Make the page cache aware of page orientation.
1334 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
1336 * backend/ev-document-thumbnails.c:
1337 (ev_document_thumbnails_get_thumbnail):
1338 * backend/ev-document-thumbnails.h:
1339 * backend/ev-document.c:
1340 * backend/ev-document.h:
1341 * backend/ev-ps-exporter.c: (ev_ps_exporter_do_page):
1342 * backend/ev-ps-exporter.h:
1343 * pdf/ev-poppler.cc:
1344 * ps/ps-document.c: (ps_document_document_iface_init),
1345 (ps_document_ps_export_do_page):
1346 * shell/ev-jobs.c: (ev_job_thumbnail_new), (ev_job_thumbnail_run):
1348 * shell/ev-page-cache.c: (ev_page_cache_get_size),
1349 (ev_page_cache_get):
1350 * shell/ev-page-cache.h:
1351 * shell/ev-pixbuf-cache.c: (check_job_size_and_unref),
1352 (add_job_if_needed), (ev_pixbuf_cache_add_jobs_if_needed),
1353 (ev_pixbuf_cache_set_page_range), (new_selection_pixbuf_needed):
1354 * shell/ev-pixbuf-cache.h:
1355 * shell/ev-print-job.c: (idle_print_handler):
1356 * shell/ev-sidebar-thumbnails.c: (add_range):
1357 * shell/ev-view.c: (view_update_range_and_current_page),
1358 (get_page_extents), (ev_view_size_request_dual_page),
1359 (ev_view_size_request_single_page), (draw_one_page),
1360 (clear_caches), (ev_view_set_orientation), (ev_view_rotate_right),
1361 (ev_view_rotate_left), (ev_view_zoom_for_size_presentation),
1362 (ev_view_zoom_for_size_dual_page),
1363 (ev_view_zoom_for_size_single_page), (compute_new_selection_text),
1364 (ev_view_select_all):
1365 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
1366 * tiff/tiff-document.c: (tiff_document_get_page_size),
1367 (tiff_document_get_orientation), (rotate_pixbuf),
1368 (tiff_document_render_pixbuf), (tiff_document_document_iface_init),
1369 (tiff_document_thumbnails_get_thumbnail),
1370 (tiff_document_ps_export_do_page), (tiff_document_init):
1372 Really make use of the orientation bit of the render context.
1373 Use the render context in a few more places in the backend API.
1374 This regress orientation, but now it's done right. Will try to
1377 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
1379 * shell/ev-view.c: (ensure_rectangle_is_visible):
1381 Patch by Nickolay V. Shmyrev to fix find flickering
1383 2005-07-27 Martin Kretzschmar <martink@gnome.org>
1385 * backend/ev-ps-exporter.h: add paper_width, paper_height, and
1386 duplex parameters to ::begin.
1388 * tiff/tiff-document.c (tiff_document_ps_export_begin):
1389 * shell/ev-print-job.c (idle_print_handler):
1390 * ps/ps-document.c (ps_document_ps_export_begin):
1391 * pdf/ev-poppler.cc (pdf_document_ps_exporter_begin):
1392 * backend/ev-ps-exporter.c (ev_ps_exporter_begin): update
1393 implementations. Poppler backend needs poppler cvs. Rest has
1396 2005-07-25 Martin Kretzschmar <martink@gnome.org>
1398 * shell/ev-window.c (using_pdf_printer): new function.
1399 (ev_window_print_range): print a less techy message if someone
1400 tries to print to PDF.
1402 2005-07-25 Martin Kretzschmar <martink@gnome.org>
1404 * pdf/ev-poppler.cc (font_type_to_string): Remove trailing space
1405 from "unknown font" string. Bug #311431
1407 2005-07-24 Martin Kretzschmar <martink@gnome.org>
1409 * help/es/.cvsignore, help/sr/.cvsignore: ignore xmlpo output.
1411 2005-07-24 Martin Kretzschmar <martink@gnome.org>
1415 * pdf/ev-poppler.cc (font_type_to_string): new, returns user readable
1416 name for PopplerFontTypes
1417 (pdf_document_fonts_fill_model): add font type to the detail column
1419 * backend/ev-document-fonts.h: added
1420 EV_DOCUMENT_FONTS_COLUMN_DETAILS.
1422 * shell/ev-properties-fonts.c (font_cell_data_func): glue together
1423 font name and font details, add a little markup.
1424 (ev_properties_fonts_init): use the new cell data func, specify ypad
1425 property for the cell renderer.
1426 (ev_properties_fonts_set_document): add the details column.
1428 2005-07-24 Artur Flinta <aflinta@cvs.gnome.org>
1430 * configure.ac: Added "pl" to ALL_LINGUAS.
1432 2005-07-24 Danilo Šegan <danilo@gnome.org>
1434 * configure.ac: Added "sr" and "sr@Latn" to ALL_LINGUAS.
1436 2005-07-23 Tommi Vainikainen <thv@iki.fi>
1438 * help/ChangeLog: Started this for translations of manual.
1439 * configure.ac, autogen.sh, .cvsignore: Migrated to
1440 gnome-doc-utils. Patch in bug #311222.
1442 2005-07-22 Martin Kretzschmar <martink@gnome.org>
1444 * backend/ev-document-factory.c (mime_type_supported_by_gdk_pixbuf):
1445 #ifdef this away to fix an unused-function warning.
1447 2005-07-22 Ignacio Casal Quinteiro <nacho.resa@gmail.com>
1449 * configure.ac: Added 'gl' to ALL_LINGUAS.
1451 2005-07-22 Pawan Chitrakar <pawan@nplinux.org>
1453 * configure.ac: Added ne in ALL_LINGUAS
1455 2005-07-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1457 * shell/ev-view.c: (ev_view_leave_notify_event):
1459 Clear status message when pointer leaves view. Fix for bug
1462 2005-07-20 Ankit Patel <ankit644@yahoo.com>
1464 * configure.ac: Gujarati (gu) added to ALL_LINGUAS
1466 2005-07-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1468 * shell/ev-view.c: (ev_view_leave_notify_event),
1469 (ev_view_class_init):
1471 Set cursor to normal then leaving view.
1473 2005-07-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1477 Fix required djvulibre version.
1479 2005-07-15 Rajesh Ranjan <rajeshkajha@yahoo.com>
1481 *configure.ac: Hindi (hi) language added
1483 2005-07-15 Amanpreet Singh Brar <amanpreetalam@yahoo.com>
1485 *configure.ac: Punjabi (pa) Language added
1487 2005-07-12 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1489 * data/evince-ui.xml, shell/ev-window.c:
1491 Add keypad accelerators for zooming. Fix for bug 308128.
1493 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
1496 * backend/Makefile.am:
1497 * backend/ev-document-factory.c: (ev_document_type_get_from_mime):
1499 * shell/ev-document-types.c: (ev_document_types_add_filters):
1501 Allow to enable/disable the pixbuf backend.
1502 Default to off for now. If we want it enabled we should
1503 really put mime types in the desktop, implement properties etc.
1505 * properties/evince-properties.c:
1507 Initialize error to NULL.
1508 Check error is not NULL before freeing.
1510 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
1512 * shell/ev-window.c:
1514 Use F5 as presentation accell
1516 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
1518 * shell/ev-window.c: (update_chrome_visibility),
1519 (ev_window_create_fullscreen_popup), (ev_window_init):
1521 Do not leak the fullscreen toolbar
1523 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
1525 * shell/ev-window.c: (view_actions_focus_in_cb),
1526 (view_actions_focus_out_cb):
1528 These has a return value! Fix totally random focus
1529 issues we was seeing.
1531 2005-07-11 Carlos Garcia Campos <carlosgc@gnome.org>
1533 * shell/main.c: (load_files_remote):
1535 Allow open more than one file
1537 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
1539 * shell/main.c: (load_files_remote):
1541 Fix for dbus 0.33. bug #309975
1543 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
1545 * properties/ev-properties-main.c: (ev_properties_get_pages):
1547 Actually return NULL for types we dont support
1549 2005-07-08 Christian Persch <chpe@cvs.gnome.org>
1555 2005-07-08 Marco Pesenti Gritti <marco@gnome.org>
1557 * backend/ev-document-factory.c:
1558 (ev_document_factory_get_document):
1560 Do not try to create the object if type
1563 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
1565 * ps/ps-document.c: (ps_document_dispose),
1566 (ps_async_renderer_render_pixbuf):
1569 Do not leak the target window
1571 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
1573 * shell/ev-application.c: (ev_application_init):
1575 Let tbe check file existence for us.
1576 Add a comment about eggrecent mime filter.
1578 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
1580 * data/evince-ui.xml:
1581 * shell/ev-application.c: (ev_application_shutdown),
1582 (ev_application_init), (ev_application_get_toolbars_model),
1583 (ev_application_get_recent_model),
1584 (ev_application_save_toolbars_model):
1585 * shell/ev-application.h:
1586 * shell/ev-window.c: (ev_window_add_recent),
1587 (ev_window_setup_recent), (ev_window_cmd_edit_toolbar_cb),
1588 (ev_window_cmd_edit_toolbar), (ev_window_dispose),
1591 Use common toolbar and recent models for all windows.
1592 Patch by Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1594 Thu Jul 7 23:10:01 2005 Jonathan Blandford <jrb@redhat.com>
1596 * configure.ac: add FRONTEND_CORE_LIBS to evince_save_LIBS so we
1597 successfully check for gtk_icon_view_get_visible_range.
1599 2005-07-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1604 Fix djvu and dvi backend build.
1606 2005-07-07 Christian Persch <chpe@cvs.gnome.org>
1608 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c: (new_pixbuf_from_widget),
1609 (new_separator_pixbuf):
1613 2005-07-07 Christian Persch <chpe@cvs.gnome.org>
1615 * shell/ev-window.c: (ev_window_cmd_edit_toolbar):
1617 HIGification of toolbar editor dialogue.
1619 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1622 * shell/Makefile.am:
1624 Ever build metadata manager since it's just
1625 disabled at runtime now.
1627 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1629 * shell/ev-metadata-manager.c: (ev_metadata_manager_init),
1630 (ev_metadata_manager_get), (ev_metadata_manager_set):
1631 * shell/ev-metadata-manager.h:
1633 Add an _init functions that enabled metadata management
1636 * shell/ev-window.c: (page_changed_cb),
1637 (setup_document_from_metadata), (ev_window_setup_document),
1638 (setup_view_from_metadata), (ev_window_open_uri),
1639 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
1640 (ev_window_run_presentation), (ev_window_stop_presentation),
1641 (save_sizing_mode), (ev_window_zoom_changed_cb),
1642 (ev_window_continuous_changed_cb),
1643 (ev_window_dual_mode_changed_cb), (window_state_event_cb),
1644 (window_configure_event_cb):
1646 Remove all ugly metadata define since we deal with it
1649 * shell/main.c: (load_files_remote), (main):
1651 Add support for dbus cvs head. Hopefully didnt break one
1652 of the other versions now!
1654 If we dont get a response from the dbus server just
1655 give up with it and not enable metadata.
1657 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1660 * backend/Makefile.am:
1662 * cut-n-paste/recent-files/Makefile.am:
1663 * cut-n-paste/toolbar-editor/Makefile.am:
1664 * cut-n-paste/zoom-control/Makefile.am:
1667 * pixbuf/Makefile.am:
1668 * properties/Makefile.am:
1670 * shell/Makefile.am:
1671 * thumbnailer/Makefile.am:
1674 Make frontends depend on just libev.
1675 Rework and group CFLAGS/LIBS definitions.
1678 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1682 do not unnecessarily save zoom
1685 * lib/ev-file-helpers.c: (ev_dot_dir):
1686 * shell/Makefile.am:
1691 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1695 Remove unnecessary dependencies
1697 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1699 * properties/Makefile.am:
1700 * thumbnailer/Makefile.am:
1703 Some more cleanups. Was really necessary
1704 but I probably introduced bugs, feel free
1707 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1709 * backend/Makefile.am:
1711 * cut-n-paste/recent-files/Makefile.am:
1712 * cut-n-paste/toolbar-editor/Makefile.am:
1713 * cut-n-paste/zoom-control/Makefile.am:
1716 * pixbuf/Makefile.am:
1717 * properties/Makefile.am:
1719 * shell/Makefile.am:
1720 * thumbnailer/Makefile.am:
1723 Use gnome-common macros when possible.
1724 Cleanup dependencies.
1725 Actually disable deprecated where possible.
1727 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1730 * backend/Makefile.am:
1731 * properties/Makefile.am:
1732 * shell/Makefile.am:
1733 * thumbnailer/Makefile.am:
1735 This should solve the circular dep without
1736 requiring dir reorg!
1738 * shell/ev-window.c: (setup_view_from_metadata):
1740 Never restore window size/position when the
1741 window is already visible.
1743 2005-07-06 Christian Persch <chpe@cvs.gnome.org>
1745 * shell/ev-metadata-manager.c: (ev_metadata_manager_save):
1747 Return a boolean from timeout func. Fix ported from gedit.
1749 2005-07-07 Iñaki Larrañaga <dooteo@euskalgnu.org>
1751 * configure.ac: Added "eu" (Basque) to ALL_LINGUAS.
1753 2005-07-06 Carlos Garcia Campos <carlosgc@gnome.org>
1755 * shell/ev-document-types.c: set "All Documents" as default filter in
1758 2005-07-06 Martin Kretzschmar <martink@gnome.org>
1760 * shell/ev-metadata-manager.c (ev_metadata_manager_set_int)
1761 (ev_metadata_manager_set_double, ev_metadata_manager_set_string)
1762 (ev_metadata_manager_set_boolean): fix value/val thinko.
1764 2005-07-06 Marco Pesenti Gritti <mpg@redhat.com>
1766 * shell/ev-window.c: (setup_view_from_metadata),
1767 (window_state_event_cb), (window_configure_event_cb),
1770 Remember window position and maximized state
1772 2005-07-06 Christian Persch <chpe@cvs.gnome.org>
1776 Fix DBUS configure checks.
1778 * shell/ev-metadata-manager.c: (ev_metadata_manager_set_int),
1779 (ev_metadata_manager_set_double), (ev_metadata_manager_set_string),
1780 (ev_metadata_manager_set_boolean):
1784 * shell/ev-window.c: (page_changed_cb), (ev_window_run_fullscreen),
1785 (ev_window_stop_fullscreen), (ev_window_run_presentation),
1786 (ev_window_stop_presentation), (ev_window_zoom_changed_cb),
1787 (ev_window_continuous_changed_cb),
1788 (ev_window_dual_mode_changed_cb), (ev_window_new):
1790 Fix the build without DBUS.
1792 2005-07-06 Marco Pesenti Gritti <mpg@redhat.com>
1794 * shell/ev-metadata-manager.c: (parse_value), (save_values),
1795 (ev_metadata_manager_set_int), (ev_metadata_manager_set_double),
1796 (ev_metadata_manager_set_string),
1797 (ev_metadata_manager_set_boolean):
1798 * shell/ev-metadata-manager.h:
1800 Add support for some more types
1802 * shell/ev-view.c: (scroll_to_current_page),
1803 (ev_view_get_continuous), (ev_view_set_continuous),
1804 (ev_view_get_dual_page):
1806 * shell/ev-window.c: (page_changed_cb),
1807 (setup_document_from_metadata), (ev_window_setup_document),
1808 (setup_view_from_metadata), (ev_window_open_uri),
1809 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
1810 (ev_window_run_presentation), (ev_window_stop_presentation),
1811 (save_sizing_mode), (ev_window_sizing_mode_changed_cb),
1812 (ev_window_zoom_changed_cb), (ev_window_update_continuous_action),
1813 (ev_window_update_dual_page_action),
1814 (ev_window_continuous_changed_cb),
1815 (ev_window_dual_mode_changed_cb), (ev_window_init):
1817 Remember a bunch of view/document properties. Prolly some
1818 are still missing but it's getting interesting.
1820 2005-07-05 Martin Kretzschmar <martink@gnome.org>
1822 * configure.ac: check if dbus-binding-tool is installed. Not the
1823 case on current Ubuntu breezy, it seems.
1825 2005-07-05 Luca Ferretti <elle.uca@libero.it>
1827 * data/evince.desktop.in.in:
1829 Allow open uri lists and add TryExec field.
1831 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
1835 Enable dbus when available, do not require a configure
1838 2005-07-05 Christian Persch <chpe@cvs.gnome.org>
1842 Use AM_CONDITIONAL unconditionally, fixes the build with DBUS
1845 2005-07-05 Carlos Garcia Campos <carlosgc@gnome.org>
1846 Marco Pesenti Gritti <mpg@redhat.com>
1848 * shell/Makefile.am: Add --prefix for dbus-binding-tool script
1850 * shell/ev-application.[ch], shell/ev-window.c: change dbus RPC
1851 functions to the format required by dbus
1853 * shell/main.c: use G_TYPE instead of DBUS_TYPE to fix compilation
1854 errors. Use the RPC parameters in the expected way
1856 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
1859 * properties/Makefile.am:
1860 * properties/ev-properties-main.c: (ev_properties_get_pages):
1862 Support all mime types
1864 * shell/Makefile.am:
1865 * thumbnailer/Makefile.am:
1866 * thumbnailer/evince-thumbnailer.c: (get_document_from_uri),
1867 (evince_thumbnail_pngenc_get):
1869 Use the document factory
1871 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
1873 * backend/Makefile.am:
1874 * backend/ev-document-factory.c:
1875 (mime_type_supported_by_gdk_pixbuf),
1876 (ev_document_type_get_from_mime),
1877 (ev_document_factory_get_document),
1878 (ev_document_factory_get_backend),
1879 (ev_document_factory_get_mime_types),
1880 (ev_document_factory_get_all_mime_types):
1881 * backend/ev-document-factory.h:
1882 * shell/Makefile.am:
1883 * shell/ev-document-types.c: (get_document_from_uri),
1884 (ev_document_types_get_document),
1885 (file_filter_add_mime_list_and_free),
1886 (ev_document_types_add_filters):
1887 * shell/ev-document-types.h:
1888 * shell/ev-job-xfer.c: (ev_job_xfer_run):
1889 * shell/ev-properties-dialog.c:
1890 (ev_properties_dialog_set_document):
1891 * shell/ev-window.c: (ev_window_cmd_file_open),
1892 (ev_window_cmd_save_as):
1893 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
1895 Rework document types managing to avoid code duplication
1896 and actually abstract from backend implementations.
1897 Also provide a minimal factory api that can be used by
1898 thumbnailer/properties.
1900 2005-07-05 Christian Persch <chpe@cvs.gnome.org>
1902 * properties/ev-properties-view.c: (ev_properties_view_set_info):
1904 * shell/ev-properties-dialog.c: (ev_properties_dialog_init):
1907 2005-07-04 Matthew S. Wilson <msw@rpath.com>
1909 * shell/ev-properties-dialog.c
1910 (ev_properties_dialog_set_document): only call
1911 ev_properties_fonts_set_document() if the document implements the
1914 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
1917 * properties/Makefile.am:
1918 * properties/ev-properties-view.c:
1919 (ev_properties_view_register_type):
1920 * properties/ev-properties-view.h:
1921 * properties/ev-properties-main.h:
1923 Implement nautilus plugin for properties.
1924 Works only for pdf atm, I need to rework the
1925 document types stuff to get this to work
1928 2005-07-04 Martin Kretzschmar <martink@gnome.org>
1930 * shell/ev-properties-fonts.c (enum): kill redundant columns enum
1931 (ev_properties_fonts_set_document): use
1932 EV_DOCUMENT_FONTS_COLUMN_NUM_COLUMNS.
1934 2005-07-04 Matthew S. Wilson <msw@rpath.com>
1936 * tiff/tiff2ps.c: remove TRUE and FALSE definitions, glib provides
1938 (PlaceImage, tiff2ps_process_page): use
1939 g_ascii_dtostr to convert floats to strings in a locale-safe way.
1942 2005-07-04 Martin Kretzschmar <martink@gnome.org>
1944 * shell/main.c: include libgnomeui/gnome-authentication-manager.h
1945 (main): to call gnome_authentication_manager_init. Should fix
1948 * configure.ac: that requires libgnomeui 2.6.0.
1950 2005-07-04 Matthew S. Wilson <msw@rpath.com>
1952 * tiff/tiff-document.c (tiff_document_ps_export_begin)
1953 (tiff_document_ps_export_do_page, tiff_document_ps_export_end):
1954 use the new tiff2ps interfaces
1956 * tiff/tiff2ps.h (tiff2ps_context_new, tiff2ps_process_page)
1957 (tiff2ps_context_finalize): implement new interfaces for tiff2ps
1959 * tiff/tiff2ps.c: refactor tiff2ps code to use a context
1960 structure instead of global variables. Remove use of static
1961 variables in functions.
1963 2005-07-04 Carlos Garcia Campos <carlosgc@gnome.org>
1965 * shell/ev-page-action.c: unref the completion after setting it to the
1968 2005-07-04 Matthew S. Wilson <msw@rpath.com>
1970 * tiff/tiff2ps.c (generateEPSF): disable generating encapsulated
1973 2005-07-04 Matthew S. Wilson <msw@rpath.com>
1975 * shell/ev-window.c (update_action_sensitivity): disable
1976 File->Print if the document does not implement the ps exporter
1979 2005-07-04 Marco Pesenti Gritti <mpg@redhat.com>
1983 * data/evince-properties.glade:
1984 * properties/.cvsignore:
1985 * properties/Makefile.am:
1986 * properties/ev-properties-view.c: (ev_properties_view_dispose),
1987 (ev_properties_view_class_init), (ev_properties_view_format_date),
1988 (make_valid_utf8), (set_property), (ev_properties_view_set_info),
1989 (ev_properties_view_init), (ev_properties_view_new):
1990 * properties/ev-properties-view.h:
1991 * shell/Makefile.am:
1992 * shell/ev-properties-dialog.c: (ev_properties_dialog_class_init),
1993 (ev_properties_dialog_init), (ev_properties_dialog_set_document),
1994 (ev_properties_dialog_new):
1995 * shell/ev-properties-dialog.h:
1996 * shell/ev-properties-fonts.c: (ev_properties_fonts_dispose),
1997 (ev_properties_fonts_class_init), (ev_properties_fonts_init),
1998 (update_progress_label), (job_fonts_finished_cb),
1999 (ev_properties_fonts_set_document), (ev_properties_fonts_new):
2000 * shell/ev-properties-fonts.h:
2001 * shell/ev-properties.c:
2002 * shell/ev-properties.h:
2003 * shell/ev-window.c: (ev_window_setup_document),
2004 (ev_window_cmd_file_properties):
2006 Split the properties pages in two different objects, depend
2007 only on the backend where possible, use widgets instead
2008 of gobject for the glade part, reimplement the dialog
2010 I need this to implement nautilus properties page.
2012 2005-07-03 Matthew S. Wilson <msw@rpath.com>
2014 * tiff/tiff-document.c (tiff_document_ps_export_begin)
2015 (tiff_document_ps_export_do_page, tiff_document_ps_export_end)
2016 (tiff_document_document_ps_exporter_iface_init): implement the ps
2017 exporter interface for tiff documents
2019 * tiff/tiff2ps.c: added a modified version of tiff2ps.c from
2020 libtiff to implement TIFF postscript export
2022 * tiff/tiff2ps.h: added a header file for external tiff2ps
2025 * tiff/Makefile.am (libtiffdocument_la_SOURCES): add tiff2ps.c and
2028 2005-07-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2030 * shell/ev-view.c: (scroll_to_current_page),
2031 (ev_view_set_fullscreen), (ev_view_set_presentation):
2033 Scroll to current page when exit from presentation
2035 2005-07-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2037 * shell/ev-window.c: (update_document_mode),
2038 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
2039 (ev_window_cmd_view_fullscreen), (ev_window_stop_presentation),
2040 (ev_window_cmd_view_presentation), (ev_window_cmd_escape):
2042 Exit from fullscreen mode when switch to presentation. Fix for
2045 2005-07-02 Matthew S. Wilson <msw@rpath.com>
2047 * shell/ev-pixbuf-cache.c (ev_pixbuf_cache_get_selection_pixbuf):
2048 return NULL if the document does not implement the selection
2051 2005-07-02 Matthew S. Wilson <msw@rpath.com>
2053 * tiff/tiff-document.c (tiff_document_get_page_size): scale the
2054 reported height by using the resolution aspect ratio
2055 (tiff_document_render_pixbuf): scale the pixbuf using the
2056 resolution aspect ratio
2058 2005-07-01 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2062 Require libgnomeprint >= 2.5.1. Thanks to Colin Slater
2063 <kiltedaco@gmail.com>
2065 * djvu/djvu-document.c: (djvu_document_get_orientation),
2066 (djvu_document_set_orientation), (djvu_document_get_page_size),
2067 (rotate_pixbuf), (djvu_document_render_pixbuf),
2068 (djvu_document_document_iface_init):
2069 * dvi/dvi-document.c: (dvi_document_get_orientation),
2070 (dvi_document_set_orientation), (dvi_document_get_page_size),
2071 (rotate_pixbuf), (dvi_document_render_pixbuf),
2072 (dvi_document_document_iface_init):
2074 Dvi and djvu backends are ported to new API
2076 Fri Jul 1 00:10:15 2005 Jonathan Blandford <jrb@redhat.com>
2078 * backend/ev-selection.c: (ev_selection_get_selection_region),
2079 (ev_selection_get_selection_map):
2080 * backend/ev-selection.h:
2081 * pdf/ev-poppler.cc:
2082 * shell/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
2084 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info),
2085 (job_finished_cb), (copy_job_to_job_info), (add_job_if_needed),
2086 (ev_pixbuf_cache_get_text_mapping):
2087 * shell/ev-pixbuf-cache.h:
2088 * shell/ev-view.c: (location_in_text),
2089 (ev_view_motion_notify_event), (ev_view_set_cursor): Add I-Beam
2090 support to EvView. Now we can see where we can select! Sweet!
2092 2005-06-30 Kristian Høgsberg <krh@redhat.com>
2094 * shell/ev-view.c (ev_view_button_press_event): Fix
2095 event->y + view->scroll_x typo.
2097 2005-06-30 Kristian Høgsberg <krh@redhat.com>
2099 * pdf/ev-poppler.cc: Adjust to poppler API changes; use a
2100 sub-GdkPixbuf instead of passing dest_x and dest_y.
2102 * shell/ev-view.c: (view_point_to_doc_point),
2103 (view_rect_to_doc_rect), (ev_view_button_press_event),
2104 (ev_view_motion_notify_event), (compute_new_selection_rect),
2105 (gdk_rectangle_point_in), (compute_new_selection_text),
2106 (compute_selections): Update selection code to keep the selection
2107 around as two points and not as a normalized rectangle, and fix
2108 page level selection in two-column mode.
2110 2005-06-30 Alex Duggan <aldug@astrolinux.com>
2112 * shell/ev-window.c: (window_configure_event_cb):
2116 2005-06-30 Marco Pesenti Gritti <mpg@redhat.com>
2118 * pdf/ev-poppler.cc:
2122 2005-06-30 Marco Pesenti Gritti <mpg@redhat.com>
2124 * shell/Makefile.am:
2125 * shell/ev-metadata-manager.c: (item_free),
2126 (ev_metadata_manager_init), (ev_metadata_manager_shutdown),
2127 (parse_value), (parseItem), (load_values),
2128 (ev_metadata_manager_get), (value_free), (ev_metadata_manager_set),
2129 (save_values), (save_item), (get_oldest), (resize_items),
2130 (ev_metadata_manager_save), (ev_metadata_manager_set_int):
2131 * shell/ev-metadata-manager.h:
2133 Metadata manager from gedit but modified to use GValue, so that
2134 we dont need to keep converting from strings.
2138 ENABLE_METADATA conditional, on when dbus is on
2140 * shell/ev-application.c: (ev_application_open_uri):
2142 Show the window after load so that we can initialize
2143 window size before it's showed.
2145 * shell/ev-window.c: (ev_window_setup_from_metadata),
2146 (ev_window_open_uri), (window_configure_event_cb),
2149 Save and load metadata information about window size.
2150 Not yet keeping states in account.
2152 * shell/main.c: (main):
2154 Shutdown metadata manager.
2156 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
2158 * shell/ev-application-service.xml:
2160 * shell/Makefile.am:
2161 * shell/ev-application.c:
2162 * shell/ev-application.h:
2163 * shell/ev-window.c:
2164 * shell/ev-window.h:
2167 Add an optional dbus interface (--enable-dbus).
2168 Rework application code, mainly to be easier to
2170 Do not open multiple windows with the same document,
2173 Thu Jun 30 01:50:14 2005 Jonathan Blandford <jrb@redhat.com>
2175 * shell/ev-pixbuf-cache.c (clear_selection_if_needed): unref the
2176 pixbuf iff it exists.
2178 Thu Jun 30 01:43:00 2005 Jonathan Blandford <jrb@redhat.com>
2181 * backend/ev-render-context.[ch]:
2182 * backend/ev-selection.[ch]:
2184 Massive changes. We now support text selection of pdfs, and not
2185 just rectangular selection. This is pretty broken still, but I
2186 want to get something into CVS.
2188 2005-06-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2190 * pdf/ev-poppler.cc:
2192 Fix for Bug 309080: crash on window close.
2194 * shell/ev-page-action.c: (page_changed_cb):
2196 Fix for Bug 309168: Fix build with gcc 2.95. Thanks to
2197 jensgr@gmx.net (Jens Granseuer).
2199 2005-06-25 Marcel Telka <marcel@telka.sk>
2201 * configure.in (ALL_LINGUAS): Added sk.
2203 2005-06-24 Carlos Garcia Campos <carlosgc@gnome.org>
2205 * shell/ev-window.c: Make rotate menu entries unsensitive if there is
2208 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
2215 * cut-n-paste/recent-files/Makefile.am:
2219 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
2221 * pixbuf/pixbuf-document.c: (pixbuf_document_get_orientation),
2222 (pixbuf_document_set_orientation), (rotate_pixbuf),
2223 (pixbuf_document_get_page_size), (pixbuf_document_render_pixbuf),
2224 (pixbuf_document_document_iface_init), (pixbuf_document_init):
2226 Implement rotation and cleanup the code a bit.
2228 * tiff/tiff-document.c: (tiff_document_get_page_size),
2229 (tiff_document_get_orientation), (tiff_document_set_orientation),
2230 (rotate_pixbuf), (tiff_document_render_pixbuf),
2231 (tiff_document_document_iface_init), (tiff_document_init):
2233 Implement rotation. Was the quicker solution for the release
2234 but we really need to share this code in the shell.
2236 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
2238 * pdf/ev-poppler.cc:
2240 Enable rotation, require poppler cvs. Fix a leak.
2242 2005-06-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2244 * shell/ev-window.c: (update_action_sensitivity):
2246 Make properties unsensitive if document backend doesn't provide
2249 2005-06-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2251 * dvi/mdvi-lib/bitmap.c: (bitmap_alloc), (bitmap_alloc_raw),
2252 (bitmap_flip_horizontally), (bitmap_flip_vertically),
2253 (bitmap_flip_diagonally), (bitmap_rotate_clockwise),
2254 (bitmap_rotate_counter_clockwise), (bitmap_flip_rotate_clockwise),
2255 (bitmap_flip_rotate_counter_clockwise):
2256 * dvi/mdvi-lib/color.c: (mdvi_push_color), (get_color_table):
2257 * dvi/mdvi-lib/common.c: (read_string), (buff_free), (buff_add),
2259 * dvi/mdvi-lib/common.h:
2260 * dvi/mdvi-lib/dvimisc.c: (mdvi_push_color):
2261 * dvi/mdvi-lib/dviread.c: (get_bytes), (dreset), (define_font),
2262 (opendvi), (mdvi_reload), (mdvi_init_context),
2263 (mdvi_destroy_context), (mdvi_dopage), (special):
2264 * dvi/mdvi-lib/font.c: (font_drop_one), (font_free_unused):
2265 * dvi/mdvi-lib/fontmap.c: (read_encoding), (destroy_encoding),
2266 (file_hash_free), (register_encoding), (parse_spec),
2267 (mdvi_load_fontmap), (free_ent), (mdvi_init_fontmaps),
2268 (mdvi_add_fontmap_file), (mdvi_ps_read_fontmap),
2269 (mdvi_ps_flush_fonts), (mdvi_ps_find_font), (mdvi_ps_get_metrics):
2270 * dvi/mdvi-lib/fontsrch.c: (mdvi_list_font_class),
2271 (mdvi_register_font_type), (mdvi_unregister_font_type),
2272 (lookup_font), (mdvi_add_font), (mdvi_font_retry):
2273 * dvi/mdvi-lib/gf.c: (gf_read_bitmap), (gf_load_font):
2274 * dvi/mdvi-lib/hash.c: (mdvi_hash_remove), (mdvi_hash_remove_ptr),
2275 (mdvi_hash_destroy_key), (mdvi_hash_reset):
2276 * dvi/mdvi-lib/pagesel.c: (mdvi_parse_range),
2277 (mdvi_parse_page_spec), (mdvi_free_page_spec), (main):
2278 * dvi/mdvi-lib/paper.c: (mdvi_free_paper_specs):
2279 * dvi/mdvi-lib/pk.c: (pk_lookup), (pk_lookupn), (pk_load_font):
2280 * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
2281 * dvi/mdvi-lib/special.c: (mdvi_register_special),
2282 (mdvi_unregister_special), (mdvi_flush_specials):
2283 * dvi/mdvi-lib/t1.c: (t1_lookup_font), (t1_really_load_font),
2285 * dvi/mdvi-lib/tfm.c: (get_tfm_chars):
2286 * dvi/mdvi-lib/tfmfile.c: (afm_load_file), (tfm_load_file),
2287 (ofm1_load_file), (ofm_load_file), (get_font_metrics),
2288 (free_font_metrics), (flush_font_metrics):
2289 * dvi/mdvi-lib/tt.c: (tt_really_load_font), (tt_get_bitmap),
2291 * dvi/mdvi-lib/util.c: (mdvi_malloc), (mdvi_realloc),
2292 (mdvi_calloc), (mdvi_free), (mdvi_strdup), (mdvi_strncpy),
2293 (mdvi_strndup), (mdvi_memdup), (xstradd), (dstring_append),
2294 (dstring_insert), (dstring_new), (dstring_reset):
2295 * dvi/mdvi-lib/vf.c: (vf_load_font), (vf_free_macros):
2297 Rename xmalloc and xfree to mdvi_malloc and mdvi_free to
2298 avoid conflict with libtool on FC4
2300 * shell/ev-window.c: (ev_window_cmd_help_about):
2302 Update copyright year. Fix for bug 308828.
2304 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
2306 * shell/ev-view.c: (add_scroll_binding_keypad),
2307 (ev_view_binding_activated), (ev_view_class_init),
2308 (on_adjustment_value_changed):
2310 Bug 170874: Arrow keys switch pages in presentation mode
2312 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
2314 * shell/ev-window.c: (ev_window_sidebar_visibility_changed_cb):
2316 Fix for Bug 308265: Sidebar dissappears coming out of
2319 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
2321 * shell/ev-application.c: (ev_application_open):
2322 * shell/ev-document-types.c: (ev_document_types_add_filters),
2323 (ev_document_types_add_filters_for_type):
2324 * shell/ev-document-types.h:
2325 * shell/ev-window.c: (ev_window_cmd_save_as):
2327 Suggest basename as template when saving, provide filters
2328 for save dialog. It's bug 308402
2330 2005-06-20 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2332 * pdf/ev-poppler.cc:
2333 * shell/ev-sidebar-links.c: (job_finished_callback):
2334 * shell/ev-view.c: (update_find_status_message):
2338 2005-06-19 Christian Persch <chpe@cvs.gnome.org>
2340 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
2341 (egg_recent_view_uimanager_set_list):
2343 Fix buglet in !show_numbers case.
2345 2005-06-19 Christian Persch <chpe@cvs.gnome.org>
2347 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
2348 (connect_proxy_cb), (egg_recent_view_uimanager_set_list):
2350 Use pango ellipsisation.
2352 * pdf/ev-poppler.cc:
2354 Fix refcount leak, from nsh.
2356 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2358 * cut-n-paste/recent-files/Makefile.am:
2359 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
2360 * cut-n-paste/recent-files/egg-recent-view-gtk.h:
2362 Removed EggRecentViewGtk
2364 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
2365 * cut-n-paste/recent-files/egg-recent-view-uimanager.h:
2366 * shell/ev-window.c: (ev_window_cmd_recent_file_activate),
2367 (ev_window_setup_recent):
2369 Use ViewUIManager instead of ViewGtk. Less leaks, more compatibility
2372 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2374 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
2375 (egg_recent_view_gtk_finalize):
2379 * cut-n-paste/toolbar-editor/Makefile.am:
2381 Fix location of cursor icon.
2383 * pdf/ev-poppler.cc:
2384 * shell/ev-page-action.c: (build_new_tree_cb), (match_selected_cb),
2385 (display_completion_text), (match_completion):
2386 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
2387 (selection_changed_callback), (create_loading_model),
2388 (print_section_cb), (links_page_num_func),
2389 (update_page_callback_foreach):
2390 * shell/ev-window.c: (ev_window_dispose):
2392 Small memory fixes. Links model now store objects instead
2393 of pointers to improve memory management.
2395 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2397 * shell/ev-window.c: (zoom_control_changed_cb):
2399 Fix update of zoom control (bug 308268).
2401 Sat Jun 18 22:46:42 2005 Jonathan Blandford <jrb@redhat.com>
2403 * shell/ev-properties.c (set_property): escape the text correctly.
2404 Handles non-UTF-8 properties and escaped properties. Also, sets
2405 the text to "<i>None</i>" if the property isn't set.
2407 * data/evince-properties.glade: Change the label to be ellipsized,
2408 and give it a minimum size.
2410 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2412 * lib/ev-file-helpers.c: (ev_file_helpers_shutdown):
2413 * shell/ev-sidebar-links.c: (create_loading_model):
2414 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose):
2415 * shell/ev-view.c: (ev_view_set_document):
2416 * shell/ev-window.c: (ev_window_dispose):
2418 Various small fixes, mostly memory leaks. Thanks to valgrind.
2420 2005-06-19 Martin Kretzschmar <martink@gnome.org>
2422 * ps/ps-document.c: remove the locale.h include again ;-). And
2423 kill the (bogus) setlocale/savelocale business.
2425 2005-06-19 Jaap A. Haitsma <jaap@haitsma.org>
2429 Include locale.h to fix build
2431 * shell/ev-sidebar.c:
2433 Remove unnecessary includes
2435 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2437 * dvi/dvi-document.c: (dvi_document_load):
2438 * dvi/mdvi-lib/dviread.c: (mdvi_init_context):
2441 Check for incorrect dvi files. Fix parsing dvi on AMD64
2442 platform. Thanks to tester@tester.ca (Olivier Crete).
2444 2005-06-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2446 * shell/ev-page-action.c: (match_selected_cb),
2447 (display_completion_text), (match_completion), (update_model):
2448 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
2449 (expand_open_links):
2450 * shell/ev-sidebar.c: (ev_sidebar_destroy),
2451 (ev_sidebar_menu_item_activate_cb), (ev_sidebar_add_page),
2452 (ev_sidebar_set_document):
2453 * shell/ev-window.c: (ev_window_xfer_job_cb),
2454 (sidebar_widget_model_set), (sidebar_page_main_widget_update_cb):
2456 Fixed lot's of memory leaks, for example, memory leak on reload,
2457 described in bug 307793.
2459 2005-06-18 Marco Pesenti Gritti <mpg@redhat.com>
2461 * pdf/ev-poppler.cc:
2462 * shell/ev-sidebar-thumbnails.c: (clear_range), (add_range),
2463 (update_visible_range), (adjustment_changed_cb),
2464 (ev_sidebar_thumbnails_fill_model),
2465 (ev_sidebar_thumbnails_refresh),
2466 (ev_sidebar_tree_selection_changed),
2467 (ev_sidebar_icon_selection_changed),
2468 (ev_sidebar_thumbnails_use_icon_view),
2469 (ev_sidebar_thumbnails_set_document):
2470 * shell/ev-sidebar-thumbnails.h:
2471 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
2472 (ev_window_cmd_edit_rotate_right), (ev_window_init):
2474 Refresh thumbnails when changing orientation. Not fully
2475 working yet becuase of a sidebar bug.
2477 Set page orientation to poppler page everywhere. This sucks
2478 really need to fix poppler.
2480 2005-06-18 Marco Pesenti Gritti <mpg@redhat.com>
2482 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
2483 (egg_recent_view_gtk_new_menu_item),
2484 (egg_recent_view_gtk_set_property),
2485 (egg_recent_view_gtk_get_property),
2486 (egg_recent_view_gtk_class_init), (egg_recent_view_gtk_init),
2487 (egg_recent_view_gtk_set_tooltip_func),
2488 (egg_recent_view_gtk_set_label_width),
2489 (egg_recent_view_gtk_get_label_width):
2490 * cut-n-paste/recent-files/egg-recent-view-gtk.h:
2492 Sync with libegg (ellipsize labels)
2494 2005-06-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2496 * data/evince-ui.xml:
2497 * shell/ev-window.c: (ev_window_cmd_go_forward),
2498 (ev_window_cmd_go_backward):
2500 Shift + PageUp moves 10 Pages. Fix for 306125
2502 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
2504 * pdf/ev-poppler.cc:
2506 Add a flag to check if orientation has been overriden
2508 2005-06-17 Martin Kretzschmar <martink@gnome.org>
2510 * ps/ps.c (psscan, psfree): read "Creator:" comment, free creator
2513 * ps/ps.h: add creator field to document.
2515 * ps/ps-document.c (ps_document_get_info): set format to PostScript,
2518 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
2520 * data/evince-properties.glade:
2521 * shell/ev-properties.c: (ev_properties_set_document):
2523 s/PDF Version/Format
2525 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
2527 * shell/ev-properties.c: (ev_properties_set_document):
2529 Remove unnecessary translations
2531 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
2533 * cut-n-paste/toolbar-editor/Makefile.am:
2535 Correct library name
2537 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
2540 * cut-n-paste/recent-files/egg-recent-model.c:
2541 (egg_recent_model_write_raw), (egg_recent_model_lock_file),
2542 (egg_recent_model_unlock_file):
2543 * cut-n-paste/recent-files/egg-recent-util.c:
2544 (egg_recent_util_get_unique_id):
2545 * cut-n-paste/recent-files/update-from-egg.sh:
2546 * cut-n-paste/toolbar-editor/Makefile.am:
2547 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
2548 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
2549 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
2550 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
2551 (egg_toolbars_model_get_type):
2552 * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
2554 Better makefile for toolbar editor and update everything
2557 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
2559 * shell/ev-window.c: (update_document_mode):
2561 Prefer presentation mode when the document
2564 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
2566 * data/evince-ui.xml:
2567 * shell/ev-window.c:
2569 Add control-equal for zooming
2571 2005-06-17 Theppitak Karoonboonyanan <thep@linux.thai.net>
2573 * configure.ac: Added 'th' (Thai) to ALL_LINGUAS.
2575 2005-06-16 Marco Pesenti Gritti <mpg@redhat.com>
2577 * backend/ev-document.c: (ev_document_get_orientation):
2578 * backend/ev-document.h:
2579 * pdf/ev-poppler.cc:
2580 * ps/ps-document.c: (ps_document_get_orientation),
2581 (ps_document_set_orientation), (ps_document_document_iface_init):
2583 Add a get_orientation api. Improve set_orientation.
2585 * data/evince-ui.xml:
2586 * shell/ev-view.c: (ev_view_set_orientation),
2587 (ev_view_rotate_right), (ev_view_rotate_left):
2589 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
2590 (ev_window_cmd_edit_rotate_right):
2592 Better ui for changing document orientation
2594 2005-06-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2596 * shell/ev-sidebar-links.c: (ev_sidebar_links_get_property),
2597 (ev_sidebar_links_class_init), (ev_sidebar_links_get_label):
2598 * shell/ev-sidebar-links.h:
2599 * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
2600 (ev_sidebar_page_iface_init):
2601 * shell/ev-sidebar-page.h:
2602 * shell/ev-sidebar-thumbnails.c:
2603 (ev_sidebar_thumbnails_get_property),
2604 (ev_sidebar_thumbnails_class_init),
2605 (ev_sidebar_thumbnails_set_document):
2606 * shell/ev-sidebar-thumbnails.h:
2607 * shell/ev-view.c: (ev_view_motion_notify_event):
2608 * shell/ev-window.c: (update_chrome_visibility),
2609 (ev_window_cmd_focus_page_selector),
2610 (ev_window_update_fullscreen_popup), (view_actions_focus_in_cb),
2611 (sidebar_page_main_widget_update_cb), (ev_window_init):
2613 Autoraise toolbar on GoToPage binding and fix bindings in
2614 EvSidebarThumbnails page.
2616 2005-06-15 Christian Persch <chpe@cvs.gnome.org>
2618 * shell/ev-properties.c: (update_progress_label):
2620 Hide the progress label when finished; bug #307697.
2622 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
2624 * pdf/ev-poppler.cc:
2626 Enable is_open for links, you will need poppler cvs
2628 * shell/ev-properties.c: (job_fonts_finished_cb):
2630 Get a lock on the document when filling the tree view
2632 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
2634 * backend/ev-document-links.h:
2635 * pdf/ev-poppler.cc:
2636 * shell/ev-sidebar-links.c: (create_loading_model),
2637 (expand_open_links), (job_finished_callback):
2639 Expand links when specified by the document.
2640 Depend on a poppler api (defined out for now)
2642 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
2644 * shell/ev-properties.c: (ev_properties_dispose),
2645 (ev_properties_class_init), (dialog_destroy_cb),
2646 (ev_properties_init), (job_fonts_finished_cb), (setup_fonts_view),
2647 (ev_properties_set_document), (ev_properties_new),
2648 (ev_properties_show):
2649 * shell/ev-properties.h:
2651 Make it an object, cleanup the code, api to show it as transient
2652 and to set the document.
2654 * shell/ev-window.c: (ev_window_setup_document),
2655 (ev_window_cmd_file_properties):
2657 Adapt to EvProperties changes, do not show multiple
2658 times, update it when document changes.
2660 2005-06-14 Marco Pesenti Gritti <mpg@redhat.com>
2663 * ps/ps-document.c: (ps_document_init), (get_page_orientation),
2664 (ps_document_set_orientation), (ps_document_document_iface_init):
2667 Implement orientation here too
2669 * shell/ev-properties.c: (ev_properties_new):
2670 * data/evince-properties.glade:
2672 Hide the fonts page for backends that doesnt
2675 2005-06-14 Marco Pesenti Gritti <mpg@redhat.com>
2677 * backend/ev-document.c: (ev_document_set_orientation):
2678 * backend/ev-document.h:
2679 * pdf/ev-poppler.cc:
2681 Add orientation api. Currently poppler api is not optimal,
2682 we need to set orientation every time we _get a page.
2683 I will try to fix that at some point.
2685 * data/evince-ui.xml:
2686 * shell/ev-window.c: (ev_window_cmd_edit_landscape),
2687 (ev_window_cmd_edit_portrait), (ev_window_cmd_edit_flip):
2689 Add orientation menu items
2691 * shell/ev-page-cache.c: (ev_page_cache_clear):
2692 * shell/ev-page-cache.h:
2694 Add api to clear the cache
2696 * shell/ev-view.c: (setup_caches), (clear_caches),
2697 (ev_view_set_document), (ev_view_zoom_out),
2698 (ev_view_set_orientation):
2701 Implement orientation changing
2703 2005-06-13 Marco Pesenti Gritti <mpg@redhat.com>
2705 * backend/ev-document-fonts.c: (ev_document_fonts_get_progress),
2706 (ev_document_fonts_scan), (ev_document_fonts_fill_model):
2707 * backend/ev-document-fonts.h:
2709 Separate scan and fill so that we can incrementally fill from
2710 the main thread. Add a progress api.
2712 * data/evince-properties.glade:
2713 * pdf/ev-poppler.cc:
2714 * shell/ev-jobs.c: (ev_job_fonts_new), (ev_job_fonts_run):
2716 * shell/ev-properties.c: (update_progress_label),
2717 (job_fonts_finished_cb), (setup_fonts_view):
2719 Incrementally feel the list and show the progress
2720 percentage in a label like acrobat does.
2722 You are going to need poppler cvs
2724 2005-06-11 Marco Pesenti Gritti <mpg@redhat.com>
2726 * backend/ev-document-fonts.c: (ev_document_fonts_fill_model):
2727 * backend/ev-document-fonts.h:
2728 * pdf/ev-poppler.cc:
2730 Make fonts model fill incrementally.
2732 * shell/ev-job-queue.c: (handle_job), (search_for_jobs_unlocked),
2733 (no_jobs_available_unlocked), (ev_job_queue_init), (find_queue),
2734 (ev_job_queue_remove_job):
2735 * shell/ev-jobs.c: (ev_job_fonts_init), (ev_job_fonts_class_init),
2736 (ev_job_fonts_new), (ev_job_fonts_run):
2739 New job for fonts scanning
2741 * shell/ev-properties.c: (job_fonts_finished_cb),
2742 (fill_fonts_treeview), (setup_fonts_view), (ev_properties_new):
2743 * shell/ev-properties.h:
2744 * shell/ev-window.c: (ev_window_cmd_file_properties):
2746 Incrementally feel the treeview using the new job. Show Loading...
2747 message until scanning is completed.
2749 Hopefully I didnt break the build without the poppler patch.
2751 2005-06-10 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2753 * shell/ev-application.c: (ev_application_open):
2754 * shell/ev-document-types.c: (ev_document_type_from_from_mime),
2755 (ev_document_type_get_type), (ev_document_type_lookup):
2756 * shell/ev-document-types.h:
2757 * shell/ev-job-xfer.c: (ev_job_xfer_dispose), (ev_job_xfer_run):
2758 * shell/ev-job-xfer.h:
2759 * shell/ev-window.c: (ev_window_clear_local_uri),
2760 (ev_window_load_job_cb), (ev_window_xfer_job_cb),
2761 (ev_window_open_uri), (ev_window_add_recent), (ev_window_dispose):
2762 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
2764 Transfer remote documents to tmp directory to display them later.
2766 2005-06-10 Marco Pesenti Gritti <mpg@redhat.com>
2768 * backend/ev-document-info.h:
2769 * shell/ev-properties.c: (ev_properties_new):
2771 s/GTime*/GTime. Not sure why we was using a pointer
2774 Wed Jun 8 01:04:22 2005 Jonathan Blandford <jrb@redhat.com>
2776 * shell/ev-sidebar-thumbnails.c: Use a GtkIconView in certain
2777 situations. That situation is that you're using GTK+-HEAD with
2778 the patch at #306726 is applied, and you have a document with <
2779 1500 pages in it. It's not quite as uniformly nice as the
2780 TreeView, but should be better in the long run.
2782 I'm pretty sure I guarded against breaking compilation with
2783 HAVE_GTK_ICON_VIEW_GET_VISIBLE_RANGE gaurds, though it's possible
2786 * shell/ev-window.c (ev_window_init): We don't have our tree/list
2787 widget yet, so I commented that code out
2788 enable_view_actions_for_widget() for now. Need to figure this
2791 * shell/ev-page-action.c (match_selected_cb): emit the right
2792 signals. Our cool C-l completion now works.
2794 2005-06-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2796 * backend/Makefile.am:
2797 * backend/ev-document-fonts.c:
2798 * backend/ev-document-links.c:
2799 * backend/ev-document.c: (ev_document_load):
2800 * backend/ev-document.h:
2801 * backend/ev-job-queue.c:
2802 * backend/ev-job-queue.h:
2803 * backend/ev-jobs.c:
2804 * backend/ev-jobs.h:
2805 * backend/ev-page-cache.c:
2806 * backend/ev-page-cache.h:
2808 EvPageCache and EvJobs are moved to shell.
2810 * lib/ev-file-helpers.c: (ev_file_helpers_shutdown),
2812 * lib/ev-file-helpers.h:
2814 New helper to work with temporary files
2816 * shell/Makefile.am:
2817 * shell/ev-application.c: (ev_application_open):
2818 * shell/ev-application.h:
2819 * shell/ev-job-queue.c: (remove_job_from_queue_locked),
2820 (remove_job_from_async_queue), (add_job_to_async_queue),
2821 (add_job_to_queue_locked), (notify_finished), (job_finished_cb),
2822 (handle_job), (search_for_jobs_unlocked),
2823 (no_jobs_available_unlocked), (ev_render_thread),
2824 (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
2825 (ev_job_queue_add_job), (move_job_async), (move_job),
2826 (ev_job_queue_update_job), (ev_job_queue_remove_job):
2827 * shell/ev-job-queue.h:
2828 * shell/ev-job-xfer.c: (ev_job_xfer_init), (ev_job_xfer_dispose),
2829 (ev_job_xfer_class_init), (ev_job_xfer_new), (ev_job_xfer_run):
2830 * shell/ev-job-xfer.h:
2831 * shell/ev-jobs.c: (ev_job_init), (ev_job_dispose),
2832 (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
2833 (ev_job_links_class_init), (ev_job_render_init),
2834 (ev_job_render_dispose), (ev_job_render_class_init),
2835 (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
2836 (ev_job_thumbnail_class_init), (ev_job_load_init),
2837 (ev_job_load_dispose), (ev_job_load_class_init), (ev_job_finished),
2838 (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
2839 (render_finished_cb), (ev_job_render_run), (ev_job_thumbnail_new),
2840 (ev_job_thumbnail_run), (ev_job_load_new), (ev_job_load_run):
2842 * shell/ev-page-action.c: (ev_page_action_set_document):
2843 * shell/ev-page-cache.c: (ev_page_cache_init),
2844 (ev_page_cache_class_init), (ev_page_cache_finalize),
2845 (ev_page_cache_new), (ev_page_cache_get_n_pages),
2846 (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
2847 (ev_page_cache_set_page_label), (ev_page_cache_set_link),
2848 (ev_page_cache_get_title), (ev_page_cache_get_size),
2849 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
2850 (ev_page_cache_get_height_to_page),
2851 (ev_page_cache_get_max_label_chars),
2852 (ev_page_cache_get_page_label),
2853 (ev_page_cache_has_nonnumeric_page_labels),
2854 (ev_page_cache_get_info), (ev_page_cache_next_page),
2855 (ev_page_cache_prev_page), (ev_page_cache_get):
2856 * shell/ev-page-cache.h:
2857 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_update_range),
2858 (ev_pixbuf_cache_clear_job_sizes),
2859 (ev_pixbuf_cache_add_jobs_if_needed),
2860 (ev_pixbuf_cache_set_page_range):
2861 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings):
2862 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document):
2863 * shell/ev-sidebar-thumbnails.c:
2864 (ev_sidebar_tree_selection_changed),
2865 (ev_sidebar_thumbnails_set_document):
2866 * shell/ev-statusbar.c: (ev_statusbar_destroy),
2867 (ev_statusbar_class_init), (ev_statusbar_init), (ev_statusbar_new),
2868 (ev_statusbar_get_context_id), (ev_statusbar_push),
2869 (ev_statusbar_pop), (ev_statusbar_set_maximized),
2870 (ev_statusbar_pulse), (ev_statusbar_show_progress),
2871 (ev_statusbar_set_progress):
2872 * shell/ev-statusbar.h:
2873 * shell/ev-view.c: (ev_view_set_document), (ev_view_find_next),
2874 (ev_view_find_previous):
2875 * shell/ev-window.c: (ev_window_is_empty),
2876 (ev_window_setup_document), (password_dialog_response),
2877 (ev_window_clear_jobs), (ev_window_load_job_cb),
2878 (ev_window_xfer_job_cb), (ev_window_open_uri),
2879 (ev_window_open_uri_list), (ev_window_cmd_recent_file_activate),
2880 (ev_window_print), (ev_window_print_range),
2881 (ev_window_state_event), (ev_window_cmd_view_reload),
2882 (menu_item_select_cb), (menu_item_deselect_cb),
2883 (view_status_changed_cb), (ev_window_dispose),
2884 (drag_data_received_cb), (ev_window_init):
2885 * shell/ev-window.h:
2886 * shell/main.c: (load_files):
2888 New statusbar to show progress on idle. Two new jobs -
2889 xfer job and load job to load document in background. And update
2890 of page_cache clients to new location of code.
2892 2005-06-08 Carlos Garcia Campos <carlosgc@gnome.org>
2894 * shell/ev-application.c, shell/ev-window.[ch]: Allow multiple
2895 selection in open dialog. It also remembers the last visited directory
2896 in the current session.
2898 2005-06-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2900 * shell/ev-properties.c: (ev_properties_new):
2901 * shell/ev-properties.h:
2902 * shell/ev-window.c: (ev_window_cmd_file_properties):
2904 Get document info from page cache instead of document itself.
2905 This should fix crash related to race conditions described in
2908 2005-06-07 Marco Pesenti Gritti <mpg@redhat.com>
2910 * ps/ps-document.c: (ps_document_init),
2911 (send_ps), (get_page_box), (output), (catchPipe), (input),
2912 (stop_interpreter), (file_length), (file_readable),
2913 (check_filecompressedb), (ps_document_enable_interpreter),
2914 (document_load), (ps_async_renderer_render_pixbuf):
2917 Big cleanup of the ps code
2919 2005-06-07 Marco Pesenti Gritti <mpg@redhat.com>
2921 * backend/Makefile.am:
2922 * backend/ev-async-renderer.c: (ev_async_renderer_get_type),
2923 (ev_async_renderer_class_init), (ev_async_renderer_render_pixbuf):
2924 * backend/ev-async-renderer.h:
2926 Add an async renderer interface (method + callback) which
2927 is useful for backends like ps.
2929 * backend/ev-job-queue.c: (remove_job_from_async_queue),
2930 (add_job_to_async_queue), (job_finished_cb), (handle_job),
2931 (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
2932 (ev_job_queue_add_job), (move_job_async), (move_job),
2933 (ev_job_queue_update_job), (ev_job_queue_remove_job):
2935 Add queues for async renderer, these are executed on the
2938 * backend/ev-jobs.c: (ev_job_render_new), (render_finished_cb),
2939 (ev_job_render_run):
2940 * backend/ev-jobs.h:
2942 If the backend support async renderer interface use it.
2944 * ps/ps-document.c: (ps_document_init), (push_pixbuf),
2945 (setup_pixmap), (ps_document_get_type),
2946 (ps_async_renderer_render_pixbuf),
2947 (ps_document_document_iface_init), (ps_async_renderer_iface_init):
2949 Implement async renderer interface.
2951 2005-06-07 Nickolay V. Shmyrev <<nshmyrev@yandex.ru>>
2953 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose):
2955 Cleanup links job on exit.
2957 2005-06-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2959 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
2960 (drag_data_get_cb), (drag_data_received_cb):
2961 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
2962 (drag_data_get_cb), (parse_item_list),
2963 (egg_toolbar_editor_load_actions):
2964 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
2965 (egg_toolbars_model_to_xml), (egg_toolbars_model_save),
2966 (parse_item_list), (parse_toolbars):
2967 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
2968 (dvi_pixbuf_put_pixel):
2970 Fix gcc 4.0 warnings
2972 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
2974 * ps/ps-document.c: (start_interpreter):
2976 Fix warning when loading ps
2978 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
2980 * ps/ps-document.c: (output):
2982 Fix crash when priting gs error messages.
2984 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
2986 * backend/ev-page-cache.c: (_ev_page_cache_new):
2987 * backend/ev-page-cache.h:
2989 Use a const to return title so that we dont double
2990 free it. Small cleanup and fix a leak.
2992 * shell/ev-window.c: (update_window_title):
2994 strdup value from get_title.
2996 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
2998 * shell/ev-sidebar-links.c: (job_finished_callback),
2999 (ev_sidebar_links_set_document):
3001 Cleanup the old job when changing document
3003 2005-06-05 Nickolay V. Shmyrev <<nshmyrev@yandex.ru>>
3005 * shell/ev-stock-icons.c:
3006 * shell/ev-stock-icons.h:
3007 * shell/ev-window.c:
3009 Add stock icons for actions that can appear in toolbar. Fix for
3012 2005-06-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3014 * backend/ev-page-cache.c: (ev_page_cache_finalize),
3015 (_ev_page_cache_new), (ev_page_cache_get_max_width),
3016 (ev_page_cache_get_max_height), (ev_page_cache_get_height_to_page):
3017 * backend/ev-page-cache.h:
3018 * shell/ev-view.c: (scroll_to_current_page),
3019 (view_update_range_and_current_page), (get_page_y_offset),
3020 (get_page_extents), (ev_view_size_request_continuous_dual_page),
3021 (ev_view_size_request_continuous),
3022 (ev_view_zoom_for_size_continuous_and_dual_page),
3023 (ev_view_zoom_for_size_continuous):
3025 More compact EvView layout in document with pages of different size.
3027 Sat Jun 4 19:20:57 2005 Jonathan Blandford <jrb@redhat.com>
3029 * shell/ev-window.c (ev_window_cmd_file_properties): fix
3032 2005-06-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3034 * shell/ev-view.c: (view_set_adjustment_values):
3035 * shell/ev-window.c: (ev_window_cmd_file_properties):
3037 A bit different fix for rounding problem but it has no
3038 problems on startup. Make properties window transient to parent.
3040 2005-06-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3042 * pdf/ev-poppler.cc:
3044 More commenting of font stuff.
3046 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
3048 * pdf/ev-poppler.cc:
3050 Comment out some more fonts stuff. Should really
3051 work without the poppler patch now.
3053 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
3055 * pdf/ev-poppler.cc:
3059 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
3061 * data/evince-properties.glade:
3062 * pdf/ev-poppler.cc:
3063 * shell/ev-properties.c: (setup_fonts_view):
3065 Set the column title. Show the dialog only
3066 once everything is setup.
3067 Getting font info can be very slow... will
3068 prolly need to make this threaded too.
3070 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
3072 * backend/Makefile.am:
3073 * backend/ev-document-fonts.c: (ev_document_fonts_get_type),
3074 (ev_document_fonts_get_fonts_model):
3075 * backend/ev-document-fonts.h:
3076 * data/evince-properties.glade:
3077 * pdf/ev-poppler.cc:
3078 * shell/ev-properties.c: (setup_fonts_view), (ev_properties_new):
3079 * shell/ev-properties.h:
3080 * shell/ev-window.c: (ev_window_cmd_file_properties):
3082 Implement fonts list. Defined out for now, since it depends
3083 on a not yet committed poppler patch.
3085 Fri Jun 3 21:07:57 2005 Jonathan Blandford <jrb@redhat.com>
3087 * shell/ev-view.c (get_page_extents): other_page isn't necessarily
3090 * shell/ev-window.c: Make sure we add the timeout when we get a
3093 * shell/ev-view.c (view_set_adjustment_values): Add 0.5 to
3094 adjustment->value before calculating the zoom factor to average
3095 out all of our rounding errors. The page no longer 'drifts' when
3098 2005-06-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3100 * data/evince-properties.glade:
3101 * shell/ev-properties.c: (ev_properties_format_date),
3104 Labels don't expand when the dialogue is resized.
3105 strftime result needs to be converted to UTF-8. Thanks
3106 to Christian Persch <chpe@gnome.org>.
3108 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
3110 * data/evince-properties.glade:
3114 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
3116 * backend/ev-document-info.h:
3117 * backend/ev-document.c: (ev_document_info_free):
3118 * data/evince-properties.glade:
3119 * pdf/ev-poppler.cc:
3120 * ps/ps-document.c: (ps_document_get_info):
3121 * shell/ev-properties.c: (ev_properties_format_date),
3122 (set_property), (ev_properties_new):
3123 * shell/ev-properties.h:
3124 * shell/ev-window.c: (ev_window_cmd_file_properties):
3126 Rework properties code to take only EvPropertyInfo
3127 in the constructor so that it can be useful for
3128 nautilus plugin too.
3130 Deal with backends that doesnt support some properties.
3131 Make set property code generic.
3133 2005-06-04 Christian Persch <chpe@gnome.org>
3135 * data/evince-properties.glade:
3137 fix spacings, make resizeable, and make data labels
3138 selectable + ellipsised
3140 2005-06-03 Marco Pesenti Gritti <mpg@redhat.com>
3142 * backend/ev-document-info.h:
3144 * data/evince-ui.xml:
3145 * pdf/ev-poppler.cc:
3146 * shell/Makefile.am:
3147 * shell/ev-window.c: (update_action_sensitivity),
3148 (ev_window_cmd_file_properties):
3150 Initial go at file properties. Patch by
3151 Emil Soleyman-Zomalan <emil@soleyman.com>.
3152 Needs love see #169583
3154 2005-06-02 Marco Pesenti Gritti <mpg@redhat.com>
3156 * ps/ps-document.c: (output):
3157 * ps/ps.c: (psscan):
3159 Try to render even if psscan fails.
3161 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
3163 * ps/ps.c: (psscan), (pscopydoc):
3165 Port buffered reading code from gv
3167 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
3169 * ps/ps-document.c: (interpreter_message), (output):
3171 Do not fail on interpreter messages
3173 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
3175 * backend/ev-document-misc.c:
3176 (ev_document_misc_get_thumbnail_frame):
3178 Pages can be 0 x 0, dont assert on this case
3180 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
3182 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
3183 (ev_sidebar_links_class_init), (ev_sidebar_links_set_document):
3185 Correctly manage our reference on document. Finally the reload
3186 huge leak is gone...
3188 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
3190 * ps/ps-document.c: (ps_document_dispose):
3192 Forgot to chain it to the parent. Thanks chpe.
3194 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
3196 * ps/ps-document.c: (ps_document_dispose),
3197 (ps_document_class_init), (stop_interpreter), (document_load):
3199 Cleanup dispose a bit. Dont leak the whole pixmap.
3201 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
3203 * pdf/ev-poppler.cc:
3205 Release the poppler document on dispose
3207 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
3209 * shell/ev-view.c: (ev_view_set_document):
3211 Release ref on the pixbuf cache when changing
3214 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
3216 * ps/ps-document.c: (ps_document_get_info):
3220 2005-05-31 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
3222 * backend/ev-page-cache.c: (ev_page_cache_init),
3223 (_ev_page_cache_new), (ev_page_cache_get_max_label_chars):
3224 * backend/ev-page-cache.h:
3225 * shell/ev-page-action.c: (page_changed_cb):
3227 Set page action entry width depending on labels width. Fix
3230 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
3232 * backend/ev-link.c: (ev_link_class_init):
3234 Allow -1 as page value (error)
3236 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
3238 * shell/ev-sidebar-thumbnails.c:
3239 (ev_sidebar_thumbnails_set_document):
3240 * shell/ev-view.c: (scroll_to_current_page),
3241 (view_set_adjustment_values), (ev_view_set_scroll_adjustments),
3242 (page_changed_cb), (on_adjustment_value_changed),
3243 (ev_view_set_document):
3245 Slightly modified patch by Nickolay V. Shmyrev <nshmyrev@yandex.ru>.
3248 2005-05-29 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3251 * djvu/djvu-document.c: (djvu_document_get_page_size):
3253 Require djvulibre CVS. Now djvu loading is much faster. Fix for
3256 Sat May 28 07:38:03 2005 Jonathan Blandford <jrb@redhat.com>
3258 * shell/ev-view.c (draw_one_page): modify the expose handling to
3261 * shell/ev-window.c (update_action_sensitivity): Respect
3262 permissions field. Kowtow to the man.
3264 * pdf/ev-poppler.cc: Get the permissions field.
3266 * tiff/*c: Make a tiny bit more robust.
3268 2005-05-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3270 * djvu/djvu-document.c:
3272 Pop messages from djvu context message queue.
3274 2005-05-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3276 * configure.ac, Makefile.am, shell/Makefile.am:
3277 * tiff/Makefile.am, shell/ev-document-types.c:
3279 Cleanup tiff configure checks. Fix for bug 305218.
3281 2005-05-24 Maxim V. Dziumanenko <mvd@mylinux.ua>
3283 * configure.ac: Added "uk" to ALL_LINGUAS.
3285 2005-05-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3287 * cut-n-paste/zoom-control/ephy-zoom.c:
3288 (ephy_zoom_get_changed_zoom_level):
3289 * cut-n-paste/zoom-control/ephy-zoom.h:
3290 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_set_property),
3291 (ev_view_get_property), (ev_view_class_init), (ev_view_set_zoom):
3292 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
3293 (ev_window_cmd_view_zoom_out), (ev_window_zoom_changed_cb),
3294 (zoom_control_changed_cb), (ev_window_init):
3296 Fix minor points related to moving best fit up. Introduce
3297 "zoom" property and make zoom control change it's value on
3298 notify::zoom signals. Fix for 305080.
3300 2005-05-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3302 * data/evince-ui.xml:
3303 * shell/ev-window.c: (set_view_actions_sensitivity):
3305 Use + and - as accels for zoom in and zoom out. Fix for 305001.
3307 2005-05-22 Marco Pesenti Gritti <mpg@redhat.com>
3311 Depends on poppler 0.3.2
3313 2005-05-22 Marco Pesenti Gritti <mpg@redhat.com>
3315 * cut-n-paste/recent-files/egg-recent-item.c:
3316 (egg_recent_item_get_short_name):
3317 * cut-n-paste/toolbar-editor/Makefile.am:
3318 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
3319 (new_pixbuf_from_widget):
3320 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
3321 * cut-n-paste/toolbar-editor/egg-marshal.c:
3322 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
3323 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
3327 Sat May 21 23:18:30 2005 Jonathan Blandford <jrb@redhat.com>
3329 * tiff/tiff-document.c: Rough TIFF backend.
3331 2005-05-21 Marco Pesenti Gritti <mpg@redhat.com>
3335 * cut-n-paste/toolbar-editor/Makefile.am:
3339 2005-05-21 Marco Pesenti Gritti <mpg@redhat.com>
3341 * shell/ev-view.c: (jump_to_find_result), (ev_view_can_find_next),
3342 (ev_view_find_next), (ev_view_find_previous):
3344 Remove the locks around get_n_results
3346 2005-05-21 Juerg Billeter <j@bitron.ch>
3348 * pdf/ev-poppler.c: (pdf_document_ps_exporter_begin):
3350 Pass correct number of pages to poppler.
3352 2005-05-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3356 * data/evince.desktop.in:
3357 * data/evince.desktop.in.in:
3360 Add conditionally dvi and djvu to desktop types. Fix for 304658.
3362 Sat May 21 00:21:30 2005 Jonathan Blandford <jrb@redhat.com>
3364 * shell/ev-view.c: (view_update_adjustments),
3365 (view_set_adjustment_values): cast adjustmen->value to (int)
3366 before using it. Otherwise, we get off by a pixel in some
3369 (draw_one_page): Draw the border on expose.
3371 Fri May 20 22:05:25 2005 Jonathan Blandford <jrb@redhat.com>
3373 * *shell/ev-view.c: Patch from Nickolay V. Shmyrev to reset the
3374 adjustment when the mode changes, #304923
3376 Fri May 20 02:00:03 2005 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3378 * shell/ev-view.c: Use gdk_widget_queue_draw to remove
3379 flickering on resize but still use gdk_window_scroll on
3382 Fri May 20 01:46:57 2005 Jonathan Blandford <jrb@redhat.com>
3384 * shell/ev-view.c: Patch from Nickolay Shmyrev to fix the -p
3387 Fri May 20 01:27:01 2005 Jonathan Blandford <jrb@redhat.com>
3389 * shell/ev-view.c: Patch from Nickolay Shmyrev to to scroll to
3390 second page on page_changed if possible, #304669
3392 Fri May 20 01:07:15 2005 Jonathan Blandford <jrb@redhat.com>
3394 * shell/ev-view.c (view_update_adjustments): Use gdk_window_scroll
3395 instead of gtk_widget_queue_draw. Massive speedups in scrolling.
3397 Fri May 20 01:05:10 2005 Jonathan Blandford <jrb@redhat.com>
3400 * shell/ev-view.c:(ev_view_size_allocate), (ev_view_class_init),
3401 (zoom_for_size_fit_width), (zoom_for_size_best_fit),
3402 (ev_view_zoom_for_size_presentation),
3403 (ev_view_zoom_for_size_continuous_and_dual_page),
3404 (ev_view_zoom_for_size_continuous),
3405 (ev_view_zoom_for_size_dual_page),
3406 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size):
3408 * shell/ev-window.c: (update_view_size),
3409 (ev_window_sizing_mode_changed_cb):
3411 Patch from Nickolay Shmyrev <nshmyrev@yandex.ru> to handle
3412 the scrollbars. It's not 100% right, but it's much closer. Kills
3413 an infinite loop, #304769
3416 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
3418 * data/evince-ui.xml:
3419 * shell/ev-view.c: (ev_view_scroll_view), (ev_view_class_init):
3420 * shell/ev-window.c: (set_view_actions_sensitivity):
3422 Make PgUp/Down behave like Space
3424 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
3426 * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
3427 * backend/ev-ps-exporter.h:
3428 * pdf/ev-poppler.cc:
3429 * ps/ps-document.c: (ps_document_ps_export_begin):
3430 * shell/ev-print-job.c: (idle_print_handler):
3432 Adapt to new poppler api
3434 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
3436 * cut-n-paste/zoom-control/ephy-zoom-control.c:
3437 (ephy_zoom_control_init):
3439 Translate zoom levels
3441 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
3443 * cut-n-paste/zoom-control/ephy-zoom.c:
3444 (ephy_zoom_get_zoom_level_index):
3446 Fix current zoom -> zoom control match
3448 2005-05-18 James Bowes <bowes@cs.dal.ca>
3450 * shell/ev-window.c: (ev_window_init): Give focus to the ev-view,
3451 rather than the scrolled_window that it's in. Fixes bug #304655.
3453 Tue May 17 22:54:17 2005 Jonathan Blandford <jrb@redhat.com>
3455 * shell/ev-view.c: (view_update_adjustments),
3456 (view_set_adjustment_values), (view_update_range_and_current_page),
3457 (view_scroll_to_page), (set_scroll_adjustment),
3458 (ev_view_set_scroll_adjustments), (add_scroll_binding_keypad),
3459 (ev_view_scroll), (ev_view_scroll_view),
3460 (ensure_rectangle_is_visible), (find_page_at_location),
3461 (get_link_at_location), (go_to_link), (status_message_from_link),
3462 (ev_view_size_request_continuous_dual_page),
3463 (ev_view_size_request), (ev_view_size_allocate), (ev_view_realize),
3464 (ev_view_unrealize), (ev_view_expose_event),
3465 (ev_view_button_press_event), (ev_view_motion_notify_event),
3466 (ev_view_button_release_event), (ev_gdk_color_to_rgb),
3467 (draw_rubberband), (highlight_find_results), (draw_one_page),
3468 (ev_view_finalize), (ev_view_destroy), (ev_view_class_init),
3469 (ev_view_init), (find_changed_cb), (page_changed_cb),
3470 (on_adjustment_value_changed), (ev_view_new),
3471 (ev_view_set_document), (ev_view_set_zoom),
3472 (ev_view_set_continuous), (ev_view_set_dual_page),
3473 (ev_view_set_presentation), (ev_view_zoom_in), (ev_view_zoom_out),
3474 (zoom_for_size_fit_width), (zoom_for_size_best_fit),
3475 (ev_view_zoom_for_size_presentation),
3476 (ev_view_zoom_for_size_continuous_dual_page),
3477 (ev_view_zoom_for_size_continuous),
3478 (ev_view_zoom_for_size_dual_page),
3479 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
3480 (ev_view_get_status), (ev_view_set_status),
3481 (update_find_status_message), (ev_view_get_find_status),
3482 (ev_view_set_find_status), (jump_to_find_result),
3483 (jump_to_find_page), (compute_selections), (clear_selection),
3484 (ev_view_select_all), (get_selected_text), (ev_view_copy),
3485 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
3486 (ev_view_update_primary_selection),
3487 (ev_view_create_invisible_cursor), (ev_view_set_cursor):
3489 * shell/ev-window.c: (ev_window_open_page_label),
3490 (ev_window_cmd_view_reload), (ev_window_sizing_mode_changed_cb),
3492 * shell/ev-window.h:
3493 * shell/main.c: (load_files):
3495 Massive code clean up from Nickolay Shmyrev. Keep page offset
3496 when resizing. Remove the bin_window(). Also, patch from James
3497 Bowes to fix command line page, #300641
3499 2005-05-17 Marco Pesenti Gritti <mpg@redhat.com>
3501 * data/evince-ui.xml:
3504 * shell/ev-window.c: (update_action_sensitivity):
3506 Get rid of View->Normal Size, it's just confusing
3508 Tue May 17 00:51:21 2005 Jonathan Blandford <jrb@redhat.com>
3510 * backend/ev-document-info.h:
3511 * backend/ev-document.c: (ev_document_info_free): Free the
3514 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
3515 (clear_range), (add_range), (update_visible_range),
3516 (adjustment_changed_cb), (ev_sidebar_thumbnails_init),
3517 (ev_sidebar_thumbnails_set_document):
3518 * shell/ev-window.c: (ev_window_setup_document): Only render the
3519 visible thumbnails. It takes an instant to render, but it uses
3522 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
3524 * shell/ev-sidebar-links.c: (popup_menu_cb):
3528 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
3531 * shell/ev-sidebar-links.c: (build_popup_menu), (popup_menu_cb),
3532 (button_press_cb), (ev_sidebar_links_construct):
3534 Show the popup menu also on keybindings
3536 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
3538 * shell/ev-window.c: (ev_window_print), (ev_window_print_range):
3539 * shell/ev-window.h:
3541 Expose api to print a range (with dialog). Make private _print use
3544 * shell/ev-sidebar-links.c: (print_section_cb), (button_press_cb),
3545 (ev_sidebar_links_construct):
3547 Show a print context menu on linkx, it prints the selected
3550 2005-05-15 Carlos Garcia Campos <carlosgc@gnome.org>
3552 * shell/ev-sidebar.c: make the drop down menu as width as the toggle
3555 2005-05-12 Marco Pesenti Gritti <mpg@redhat.com>
3561 * shell/ev-window.c: (build_comments_string),
3562 (ev_window_cmd_help_about):
3564 Show poppler version/backend and authors
3566 2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
3568 * cut-n-paste/zoom-control/ephy-zoom.c:
3569 (ephy_zoom_get_zoom_level_index):
3570 * cut-n-paste/zoom-control/ephy-zoom.h:
3572 Move the best fit items at the top of the list
3574 2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
3576 * shell/ev-marshal.list:
3577 * shell/ev-page-action.c: (ev_page_action_widget_class_init),
3578 (activate_cb), (match_selected_cb), (activate_link_cb),
3579 (connect_proxy), (ev_page_action_class_init):
3580 * shell/ev-page-action.h:
3582 Use signals to notify action activation. Hopefully
3583 I did not break completion since I cant test...
3585 * shell/ev-window.c: (activate_link_cb), (activate_label_cb),
3586 (register_custom_actions):
3588 Connect to page selector actions and also grab focus on
3589 the view when activated.
3591 Wed May 11 01:18:29 2005 Jonathan Blandford <jrb@redhat.com>
3593 * pdf/ev-poppler.cc:
3594 * backend/ev-page-cache.c: make page size calculation consistent
3595 and set it to (int)( width * scale + 0.5). This makes the weird
3596 line going through the middle of the page go away.
3598 * shell/ev-view.c: move painting the background page after
3599 checking the expose area covers us.
3601 2005-05-11 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3603 * data/evince-password.glade:
3605 Mark labels as not translatable. Fix for bug 302842.
3607 2005-05-10 Francisco Javier F. Serrador <serrador@cvs.gnome.org>
3609 * configure.ac: Added "es" to ALL_LINGUAS.
3611 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3613 * data/evince-toolbar.xml:
3614 * shell/ev-window.c: (update_action_sensitivity),
3615 (ev_window_setup_document), (ev_window_set_page_mode),
3618 Remove some leftover code from jrb first continous
3619 attempt. Use the new actions, we still need good icons
3622 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3624 * shell/ev-page-action.c: (update_pages_label), (connect_proxy):
3626 Update label when connecting proxy. Fix a warning with NULL
3629 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3631 * data/evince-ui.xml:
3632 * shell/ev-page-action.c: (ev_page_action_grab_focus):
3633 * shell/ev-page-action.h:
3634 * shell/ev-window.c: (ev_window_cmd_focus_page_selector):
3636 Add mnemonic for edit toolbar.
3637 ctrl+l focus the page entry.
3639 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3642 * shell/ev-window.c: (ev_window_cmd_edit_toolbar_cb),
3644 * shell/main.c: (main):
3646 Put the toolbar xml in evince own dot dir
3648 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3650 * shell/ev-window.c: (ev_window_init):
3652 Make the toolbar not removable
3654 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3656 * data/evince-ui.xml:
3657 * shell/ev-sidebar-links.c: (ev_sidebar_links_get_treeview):
3658 * shell/ev-sidebar-links.h:
3659 * shell/ev-sidebar-thumbnails.c:
3660 (ev_sidebar_thumbnails_get_treeview):
3661 * shell/ev-sidebar-thumbnails.h:
3662 * shell/ev-view.c: (ev_view_scroll), (ev_view_scroll_view),
3663 (ev_view_class_init):
3665 * shell/ev-window.c: (update_action_sensitivity),
3666 (ev_window_cmd_scroll_forward), (ev_window_cmd_scroll_backward),
3667 (set_view_actions_sensitivity), (view_actions_focus_in_cb),
3668 (view_actions_focus_out_cb), (enable_view_actions_for_widget),
3671 This is evil... Make space/backspace global accelerators but
3672 enable them only for some widgets (sidebars and view).
3673 I dont like it, but I dont know a better way... :/
3675 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3677 * shell/ev-page-action.c: (ev_page_action_widget_set_page_cache),
3678 (ev_page_action_widget_finalize),
3679 (ev_page_action_widget_class_init), (update_page_cache):
3681 Keep a weak reference on proxy->page_cache so that we
3682 dont try to disconnect the signal if the object is already
3683 gone. Maybe there is a better way to cleanup reference handling
3684 in page action though...
3686 2005-05-10 Juerg Billeter <j@bitron.ch>
3688 * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
3689 * backend/ev-ps-exporter.h:
3690 * pdf/ev-poppler.cc: (pdf_document_ps_exporter_begin):
3691 * ps/ps-document.c: (ps_document_ps_export_begin):
3693 Change api to pass print range to ps_exporter_begin. The pdf backend
3694 requires this information.
3696 * shell/ev-print-job.c: (idle_print_handler):
3700 2005-05-10 Juerg Billeter <j@bitron.ch>
3702 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
3703 (idle_print_handler)
3704 * shell/ev-window.c: (ev_window_print):
3706 Support printing page range, based on patch by Amaury Jacquot
3708 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3710 * data/evince-toolbar.xml:
3712 Add zoom control to available items
3714 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3716 * shell/ev-window.c: (update_action_sensitivity):
3718 Set slash action insensitive when appropriate
3720 2005-05-10 Christian Persch <chpe@gnome.org>
3722 * cut-n-paste/zoom-control/ephy-zoom-action.c: (create_menu_item):
3724 Fix warning on the overflow menu
3726 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3728 * shell/ev-window.c: (sanity_check_uri), (ev_window_open):
3730 Check for uri correctness/existence
3732 2005-05-09 Juerg Billeter <j@bitron.ch>
3734 * shell/ev-window.c: (using_postscript_printer):
3736 LPD printers use postscript, too
3738 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
3740 * shell/ev-window.c: (register_custom_actions):
3742 The zoom one is actually sort of useful,
3745 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
3747 * shell/ev-window.c: (register_custom_actions):
3749 Hide page/zoom controls from overflow, they
3752 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
3754 * cut-n-paste/update-from-egg.sh:
3756 Share it between all cut-n-paste subdirs
3758 * cut-n-paste/recent-files/Makefile.am:
3760 Fix to use "global" update-from-egg.sh
3762 * cut-n-paste/recent-files/egg-recent-model.c:
3763 (egg_recent_model_changed_timeout), (egg_recent_model_finalize):
3764 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
3765 (egg_recent_view_gtk_clear), (egg_recent_view_gtk_set_list),
3766 (egg_recent_view_gtk_finalize), (egg_recent_view_gtk_set_menu):
3770 * cut-n-paste/toolbar-editor/Makefile.am:
3772 Fix to use "global" update-from-egg.sh
3774 * cut-n-paste/toolbar-editor/eggmarshalers.list:
3778 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
3781 * cut-n-paste/Makefile.am:
3782 * cut-n-paste/recent-files/Makefile.am:
3783 * cut-n-paste/toolbar-editor/.cvsignore:
3784 * cut-n-paste/toolbar-editor/Makefile.am:
3785 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
3786 (egg_editable_toolbar_get_type), (get_toolbar_position),
3787 (get_n_toolbars), (get_dock_nth), (get_toolbar_nth), (find_action),
3788 (drag_data_delete_cb), (drag_begin_cb), (drag_end_cb),
3789 (drag_data_get_cb), (set_drag_cursor), (unset_drag_cursor),
3790 (set_item_drag_source), (create_item_from_action), (create_item),
3791 (data_is_separator), (drag_data_received_cb), (remove_toolbar_cb),
3792 (popup_toolbar_context_menu_cb), (free_dragged_item),
3793 (toolbar_drag_drop_cb), (toolbar_drag_motion_cb),
3794 (toolbar_drag_leave_cb), (create_dock), (set_fixed_style),
3795 (unset_fixed_style), (toolbar_changed_cb), (unparent_fixed),
3796 (update_fixed), (toolbar_added_cb), (toolbar_removed_cb),
3797 (item_added_cb), (item_removed_cb),
3798 (egg_editable_toolbar_construct),
3799 (egg_editable_toolbar_disconnect_model),
3800 (egg_editable_toolbar_deconstruct),
3801 (egg_editable_toolbar_set_model),
3802 (egg_editable_toolbar_set_ui_manager),
3803 (egg_editable_toolbar_set_property),
3804 (egg_editable_toolbar_get_property),
3805 (egg_editable_toolbar_class_init), (egg_editable_toolbar_init),
3806 (egg_editable_toolbar_finalize), (egg_editable_toolbar_new),
3807 (egg_editable_toolbar_new_with_model),
3808 (egg_editable_toolbar_get_edit_mode),
3809 (egg_editable_toolbar_set_edit_mode), (egg_editable_toolbar_show),
3810 (egg_editable_toolbar_hide), (egg_editable_toolbar_set_fixed),
3811 (egg_editable_toolbar_set_drag_dest), (fake_expose_widget),
3812 (new_pixbuf_from_widget), (new_separator_pixbuf),
3813 (update_separator_image), (style_set_cb),
3814 (_egg_editable_toolbar_new_separator_image),
3815 (egg_editable_toolbar_get_model):
3816 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
3817 * cut-n-paste/toolbar-editor/egg-marshal.c:
3818 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
3819 (egg_toolbar_editor_get_type), (compare_actions), (find_action),
3820 (egg_toolbar_editor_set_ui_manager), (toolbar_removed_cb),
3821 (egg_toolbar_editor_set_model), (egg_toolbar_editor_set_property),
3822 (egg_toolbar_editor_get_property), (egg_toolbar_editor_class_init),
3823 (egg_toolbar_editor_finalize), (egg_toolbar_editor_new),
3824 (drag_begin_cb), (drag_end_cb), (editor_drag_data_received_cb),
3825 (editor_drag_data_delete_cb), (drag_data_get_cb),
3826 (elide_underscores), (set_drag_cursor), (event_box_realize_cb),
3827 (editor_create_item), (update_editor_sheet), (setup_editor),
3828 (egg_toolbar_editor_init), (egg_toolbar_editor_add_action),
3829 (parse_item_list), (model_has_action), (update_actions_list),
3830 (egg_toolbar_editor_load_actions):
3831 * cut-n-paste/toolbar-editor/egg-toolbar-editor.h:
3832 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
3833 (egg_toolbars_model_get_type), (egg_toolbars_model_to_xml),
3834 (safe_save_xml), (egg_toolbars_model_save), (toolbars_toolbar_new),
3835 (toolbars_item_new), (free_toolbar_node), (free_item_node),
3836 (egg_toolbars_model_get_flags), (egg_toolbars_model_set_flags),
3837 (egg_toolbars_model_add_separator), (impl_add_item),
3838 (parse_item_list), (egg_toolbars_model_add_toolbar),
3839 (parse_toolbars), (egg_toolbars_model_load), (impl_get_item_id),
3840 (impl_get_item_data), (impl_get_item_type),
3841 (_egg_accumulator_STRING), (egg_toolbars_model_class_init),
3842 (egg_toolbars_model_init), (free_toolbar),
3843 (egg_toolbars_model_finalize), (egg_toolbars_model_new),
3844 (egg_toolbars_model_remove_toolbar),
3845 (egg_toolbars_model_remove_item), (egg_toolbars_model_move_item),
3846 (egg_toolbars_model_n_items), (egg_toolbars_model_item_nth),
3847 (egg_toolbars_model_n_toolbars), (egg_toolbars_model_toolbar_nth),
3848 (egg_toolbars_model_add_item), (egg_toolbars_model_get_item_id),
3849 (egg_toolbars_model_get_item_data),
3850 (egg_toolbars_model_get_item_type):
3851 * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
3852 * cut-n-paste/toolbar-editor/eggmarshalers.list:
3854 * data/evince-toolbar.xml:
3855 * data/evince-ui.xml:
3856 * data/hand-open.png:
3858 * shell/Makefile.am:
3859 * shell/ev-window.c: (update_chrome_visibility),
3860 (ev_window_cmd_edit_toolbar_cb), (ev_window_cmd_edit_toolbar),
3861 (ev_window_dispose), (ev_window_init):
3863 Implement epiphany like toolbar editor. Based on patch by
3864 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3866 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
3868 * shell/ev-sidebar-thumbnails.c: (page_changed_cb):
3870 Use set_cursor instead of set_selection, so that
3871 the keyboard focus moves too.
3873 2005-05-09 Aleksey Kliger <akliger@gmail.com>
3875 * dvi/mdvi-lib/tfmfile.c: (lookup_font_metrics):
3877 Fix infinite loop when loading Type1 fonts
3879 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
3881 * data/evince-ui.xml:
3882 * shell/ev-window.c:
3886 2005-05-09 Thomas de Grenier de Latour <degrenier@easyconnect.fr>
3890 Make --disable really disable
3892 2005-05-07 Juerg Billeter <j@bitron.ch>
3894 * backend/ev-page-cache.c: (ev_page_cache_set_page_label):
3896 Compare page labels even without has_labels set, fixes setting page
3899 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
3901 * shell/ev-view.c: (ev_view_create_invisible_cursor),
3902 (ev_view_set_cursor), (ev_view_button_press_event),
3903 (ev_view_motion_notify_event), (ev_view_button_release_event),
3906 Implement middle button scrolling. Based on a patch
3907 by Tommi Komulainen <tommi.komulainen@iki.fi>.
3909 2005-05-08 Marco Pesenti Gritti <mpg@redhat.com>
3911 * shell/ev-document-types.c: (get_slow_mime_type),
3912 (get_document_type_from_mime), (ev_document_type_lookup):
3913 * shell/ev-document-types.h:
3915 Change api to lookup from uri. Do fast lookup first, if the
3916 type is unknown try with data sniffing.
3918 * shell/ev-window.c: (ev_window_open), (ev_window_open_uri_list):
3919 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3923 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
3925 * thumbnailer/Makefile.am:
3929 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
3936 * data/evince-ui.xml:
3938 Hide presentation mode for now
3940 * shell/ev-view.c: (highlight_find_results):
3942 Show current find selection only on current page
3944 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
3946 * shell/ev-view.c: (ev_view_select_all):
3948 Compute size of the actual page, not of
3951 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
3953 * shell/ev-view.c: (clear_selection), (ev_view_finalize),
3954 (view_rect_to_doc_rect), (compute_selections),
3955 (ev_view_bin_expose), (ev_view_select_all), (get_selected_text),
3956 (ev_view_copy), (ev_view_primary_get_cb),
3957 (ev_view_primary_clear_cb), (ev_view_update_primary_selection),
3958 (ev_view_button_press_event), (ev_view_motion_notify_event),
3959 (ev_view_button_release_event), (page_changed_cb):
3963 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
3965 * shell/ev-view.c: (compute_border), (get_page_extents),
3966 (doc_rect_to_view_rect), (highlight_find_results),
3967 (ev_view_bin_expose), (ev_view_select_all),
3968 (ev_view_motion_notify_event), (update_find_status_message),
3969 (jump_to_find_result), (jump_to_find_page):
3971 First go at fixing search, still buggy
3973 2005-05-04 Kristian Høgsberg <krh@redhat.com>
3975 * shell/ev-sidebar.c (ev_sidebar_init): Remove frame around
3976 dropdown box and button at the top of the sidebar.
3978 2005-05-02 James Bowes <bowes@cs.dal.ca>
3980 * configure.ac: Output zoom-control Makefile.
3981 * cut-n-paste/Makefile.am: build zoom-control subdir.
3982 * cut-n-paste/zoom-control/ephy-zoom-action.c:
3983 * cut-n-paste/zoom-control/ephy-zoom-action.h:
3984 * cut-n-paste/zoom-control/ephy-zoom-control.c:
3985 * cut-n-paste/zoom-control/ephy-zoom-control.h:
3986 * cut-n-paste/zoom-control/ephy-zoom.c:
3987 * cut-n-paste/zoom-control/ephy-zoom.h: New files imported
3988 from epiphany, and modified to add a separator into the menu.
3989 * cut-n-paste/zoom-control/Makefile.am: Build zoom-control.
3990 * data/evince-ui.xml: Replace old zoom toolbar actions with new
3991 zoom-control action.
3992 * shell/Makefile.am: Include zoom-control flags.
3993 * shell/ev-view.c: (ev_view_set_zoom), (ev_view_get_zoom),
3994 (ev_view_get_sizing_mode), (ev_view_zoom_in), (ev_view_zoom_out),
3995 (ev_view_zoom_for_size_presentation),
3996 (ev_view_zoom_for_size_continuous_and_dual_page),
3997 (ev_view_zoom_for_size_continuous),
3998 (ev_view_zoom_for_size_dual_page),
3999 (ev_view_zoom_for_size_single_page), (ev_view_zoom_normal):
4000 s/ev_view_zoom/ev_view_set_zoom/ and make public, add
4001 ev_view_get_zoom and ev_view_get_sizing_mode.
4003 * shell/ev-window.c: (update_action_sensitivity),
4004 (update_sizing_buttons), (zoom_control_changed_cb),
4005 (register_custom_actions): Initialize and use the zoom-control
4008 Sun May 1 00:46:47 2005 Jonathan Blandford <jrb@redhat.com>
4010 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init): Change the
4011 preview cache back to 1. Don't know when it got set to 0.
4013 * shell/ev-view.c: (compute_border), (ev_view_realize),
4014 (draw_one_page), (ev_view_set_property), (ev_view_get_property),
4015 (ev_view_class_init), (ev_view_init), (ev_view_set_fullscreen),
4016 (ev_view_get_fullscreen), (ev_view_set_presentation),
4017 (ev_view_get_presentation), (ev_view_set_sizing_mode),
4018 (ev_view_zoom_for_size_presentation), (ev_view_set_zoom_for_size):
4020 * shell/ev-window.c:
4021 (update_chrome_visibility),
4022 (ev_window_cmd_continuous), (ev_window_cmd_dual),
4023 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
4024 (update_document_mode), (ev_window_update_fullscreen_action),
4025 (ev_window_fullscreen), (ev_window_unfullscreen),
4026 (ev_window_cmd_view_fullscreen),
4027 (ev_window_update_presentation_action),
4028 (ev_window_run_presentation), (ev_window_stop_presentation),
4029 (ev_window_cmd_view_presentation), (ev_window_state_event),
4030 (ev_window_focus_in_event), (ev_window_focus_out_event),
4031 (ev_window_cmd_escape), (ev_window_sidebar_visibility_changed_cb):
4032 * data/evince-ui.xml: Initial presentation mode. We should
4033 probably hide this until it's done, as it's quite rough. Also,
4034 change full-screen to fullscreen and add two getters to EvView.
4036 2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
4038 * shell/ev-page-action.c: (update_page_cache),
4039 (ev_page_action_dispose):
4040 * shell/ev-window.c: (destroy_fullscreen_popup),
4041 (ev_window_create_fullscreen_popup):
4043 Use connect_object rather than explicitly
4044 disconnect on dispose.
4046 2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
4048 * shell/ev-page-action.c: (update_page_cache),
4049 (ev_page_action_dispose):
4051 2005-04-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4053 * backend/ev-page-cache.c: (_ev_page_cache_new),
4054 (ev_page_cache_set_page_label),
4055 (ev_page_cache_has_nonnumeric_page_labels):
4056 * backend/ev-page-cache.h:
4057 * shell/ev-page-action.c: (update_pages_label):
4059 If all page labels are numeric, fallback to default
4060 way to display number of pages. See bug 173185.
4062 2005-04-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4064 * shell/ev-page-action.c: (ev_page_action_dispose):
4065 * shell/ev-view.c: (view_update_range_and_current_page):
4066 * shell/ev-window.c: (ev_window_dispose):
4068 Set page on scroll in continuous mode. Fixes bug 301986.
4069 Also cleanup callbacks on destroy of EvWindow and EvPageAction.
4071 2005-04-26 Marco Pesenti Gritti <mpg@redhat.com>
4075 Require poppler 0.3.0
4077 2005-04-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4079 * shell/Makefile.am, configure.ac: Fix build problems
4080 with t1lib. Bug 301996.
4082 2005-04-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4084 * shell/ev-view.c: (ev_view_scroll_event):
4086 Scroll up increase zoom
4088 2005-04-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4090 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_class_init),
4091 (ev_view_set_sizing_mode),
4092 (ev_view_zoom_for_size_continuous_and_dual_page),
4093 (ev_view_zoom_for_size_continuous):
4094 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
4095 (ev_window_cmd_view_page_width), (ev_window_cmd_view_zoom_in),
4096 (ev_window_cmd_view_zoom_out), (ev_window_sizing_mode_changed_cb),
4099 Control + Scroll does zooming, Shift + Scroll scrolls horizontally
4100 Fix for 165473 and 165472.
4102 2005-04-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4105 * thumbnailer/Makefile.am:
4106 * thumbnailer/evince-thumbnailer-djvu.schemas.in:
4107 * thumbnailer/evince-thumbnailer-dvi.schemas.in:
4108 * thumbnailer/evince-thumbnailer.schemas.in:
4110 Make thumbnailer schemas translatable. Fix for bug 301773
4112 * thumbnailer/evince-thumbnailer-djvu.schemas:
4113 * thumbnailer/evince-thumbnailer-dvi.schemas:
4114 * thumbnailer/evince-thumbnailer.schemas:
4118 Sun Apr 24 01:37:39 2005 Jonathan Blandford <jrb@redhat.com>
4120 * shell/ev-view.c (ev_view_init): forgot to set this.
4122 Sun Apr 24 01:07:27 2005 Jonathan Blandford <jrb@redhat.com>
4124 * shell/ev-view.c: (find_page_at_location),
4125 (get_link_at_location),
4126 (ev_view_set_show_border), (ev_view_set_spacing),
4127 (ev_view_zoom_for_size_continuous_and_dual_page),
4128 (ev_view_zoom_for_size_continuous): Fix links for dual/continuous.
4129 Also, add a quick fix measuring of widths. Also, removed
4130 ev_view_set_spacing and ev_view_set_show_border.
4132 * shell/ev-window.c: (ev_window_unfullscreen),
4133 (ev_window_cmd_view_fullscreen): Don't adjust the border/spacing.
4135 2005-04-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4137 * shell/ev-view.c: (view_update_range_and_current_page),
4140 Fix crash on exit and scrolling to page in continuous view.
4142 Sat Apr 23 13:13:04 2005 Jonathan Blandford <jrb@redhat.com>
4145 * backend/ev-page-cache.c: (_ev_page_cache_new),
4146 (ev_page_cache_get_max_width_size),
4147 (ev_page_cache_get_max_height_size):
4148 * backend/ev-page-cache.h:
4149 * data/evince-ui.xml:
4150 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init):
4151 * shell/ev-view.c: (view_update_adjustments),
4152 (view_update_range_and_current_page), (get_bounding_box_size),
4153 (ev_view_size_request_continuous_and_dual_page),
4154 (ev_view_size_request_continuous),
4155 (ev_view_size_request_dual_page),
4156 (ev_view_size_request_single_page), (ev_view_size_request),
4157 (ev_view_size_allocate), (get_page_extents), (draw_one_page),
4158 (ev_view_bin_expose), (ev_view_expose_event),
4159 (ev_view_set_property), (ev_view_get_property),
4160 (ev_view_class_init), (ev_view_init), (ev_view_new),
4161 (page_changed_cb), (ev_view_zoom), (ev_view_set_continuous),
4162 (ev_view_set_dual_page), (ev_view_set_full_screen),
4163 (ev_view_set_presentation), (ev_view_set_sizing_mode),
4164 (ev_view_can_zoom_in), (ev_view_can_zoom_out), (ev_view_zoom_in),
4165 (ev_view_zoom_out), (zoom_for_size_fit_width),
4166 (zoom_for_size_best_fit),
4167 (ev_view_zoom_for_size_continuous_and_dual_page),
4168 (ev_view_zoom_for_size_continuous),
4169 (ev_view_zoom_for_size_dual_page),
4170 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
4171 (ev_view_show_cursor), (ev_sizing_mode_get_type):
4173 * shell/ev-window.c: (update_action_sensitivity),
4174 (ev_window_cmd_continuous), (ev_window_cmd_dual),
4175 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
4176 (update_sizing_buttons), (ev_window_cmd_view_zoom_in),
4177 (ev_window_cmd_view_zoom_out), (update_view_size),
4178 (ev_window_set_sizing_mode), (ev_window_init):
4180 Add Continuous and Dual page modes.
4182 2005-04-23 James Bowes <bowes@cs.dal.ca>
4184 * dvi/dvi-document.c: (dvi_document_load),
4185 (dvi_document_thumbnails_get_thumbnail),
4186 (dvi_document_init_params): Fix up some mixups between
4187 width and height to correct thumbnail rendering.
4189 2005-04-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4191 * dvi/mdvi-lib/private.h:
4192 * dvi/mdvi-lib/setup.c: (mdvi_init_kpathsea):
4194 Suppess output for kpathsea during font generation. Thanks to
4197 Fri Apr 22 19:57:46 2005 Jonathan Blandford <jrb@redhat.com>
4204 * Makefile.am: fix distcheck.
4206 2005-04-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4208 * shell/ev-sidebar-links.c: (selection_changed_callback),
4209 (update_page_callback), (row_activated_callback),
4210 (job_finished_callback), (ev_sidebar_links_set_document):
4212 Fix for bug #169901. Double click on links expands tree.
4214 2005-03-14 Bryan Clark <clarkbw@cvs.gnome.org>
4216 * shell/ev-window.c (ev_window_init): Removed fullscreen toolbar
4217 hard-coded style. Fix for bug 170111
4219 2005-04-22 Kristian Høgsberg <krh@redhat.com>
4221 * shell/ev-view.c (highlight_find_results): Remove unnecessary
4224 2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
4226 * thumbnailer/evince-thumbnailer.schemas: real fix for bug 172496
4228 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
4230 * pdf/ev-poppler.cc:
4231 * shell/ev-view.c: (highlight_find_results):
4233 Fix find on single page documents
4235 2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
4237 * data/evince.schemas.in: fix for bug 301390
4239 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
4241 * shell/ev-view.c: (ev_view_can_zoom_in), (ev_view_can_zoom_out),
4242 (ev_view_zoom_out), (ev_view_zoom_normal):
4244 * shell/ev-window.c: (update_action_sensitivity),
4245 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
4246 (ev_window_cmd_view_zoom_in), (ev_window_cmd_view_zoom_out),
4247 (ev_window_cmd_view_normal_size):
4249 Fix normal size zoom. Make zoom in/zoom out unsensitive when
4250 they are behyond the limits. Tweak MAX_ZOOM to 6, sucks but
4253 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
4257 Depend on 2.57, 2.59 doesnt seem to be necessary
4259 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
4261 * shell/ev-page-action.c: (update_pages_label), (page_changed_cb),
4264 Put back total number of pages as (1 of 1234)
4266 Thu Apr 21 23:37:52 2005 Jonathan Blandford <jrb@redhat.com>
4268 * shell/ev-pixbuf-cache.c (dispose_cache_job_info): actually
4271 * backend/ev-document.h: Remove EV_DOC_MUTEX in favor of a locking
4272 function. This helps debugging.
4274 2005-04-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4276 * djvu/djvu-document.c: (djvu_document_class_init),
4277 (djvu_document_get_info), (djvu_document_document_iface_init):
4278 * dvi/dvi-document.c: (dvi_document_class_init),
4279 (dvi_document_get_info), (dvi_document_document_iface_init):
4281 Dummy implementation of get_info method for dvi and djvu. Fix
4282 crashes with those backends
4284 2005-04-20 Marco Pesenti Gritti <mpg@redhat.com>
4286 * data/evince.desktop.in:
4288 Add application/x-gzpostscript
4290 2005-04-20 Bryan Clark <clarkbw@cvs.gnome.org>
4292 * data/evince.schemas.in: Added real long descriptions,
4295 * README: Added actual text, closes bug 171869
4297 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
4299 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
4303 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
4305 * backend/ev-document-info.h:
4307 s/GDate */GDate so we can just use g_free
4309 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
4311 * shell/ev-window.c: (update_document_mode),
4312 (ev_window_setup_document):
4314 Show the window in fullscreen when specified by
4317 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
4319 * backend/ev-document.c: (ev_document_class_init),
4320 (ev_document_get_info), (ev_document_render_pixbuf):
4321 * backend/ev-document.h:
4322 * backend/ev-page-cache.c: (_ev_page_cache_new):
4323 * pdf/ev-poppler.cc:
4324 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
4325 (pixbuf_document_get_info), (pixbuf_document_document_iface_init):
4326 * ps/ps-document.c: (ps_document_class_init), (document_load),
4327 (ps_document_get_info), (ps_document_document_iface_init):
4329 Remove get_title from the interface, we can just use document info
4331 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
4333 * backend/Makefile.am:
4334 * backend/ev-document.c: (ev_document_render_get_info):
4335 * backend/ev-document.h:
4336 * pdf/ev-poppler.cc:
4338 Initial support for document info. Based on jrb patch.
4340 2005-04-19 Paolo Borelli <pborelli@katamail.com>
4342 * shell/ev-window.c: (ev_window_state_event),
4343 (ev_window_class_init), (ev_window_init):
4345 Doesn't show resize grip when maximized. See bug #301053
4347 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4351 ev-sidebar-thumbnails now has translatable labels
4353 * shell/Makefile.am:
4354 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document),
4355 (ev_sidebar_links_support_document), (ev_sidebar_links_get_label),
4356 (ev_sidebar_links_page_iface_init):
4357 * shell/ev-sidebar-links.h:
4358 * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
4359 (ev_sidebar_page_support_document), (ev_sidebar_page_set_document),
4360 (ev_sidebar_page_get_label):
4361 * shell/ev-sidebar-page.h:
4362 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_new),
4363 (ev_sidebar_thumbnails_set_document),
4364 (ev_sidebar_thumbnails_support_document),
4365 (ev_sidebar_thumbnails_get_label),
4366 (ev_sidebar_thumbnails_page_iface_init):
4367 * shell/ev-sidebar-thumbnails.h:
4368 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
4369 (ev_sidebar_set_document):
4370 * shell/ev-sidebar.h:
4371 * shell/ev-window.c: (ev_window_setup_document), (ev_window_init):
4373 Small rework of sidebar code. Now sidebar pages should implement
4374 EvSidebarPage interface. That makes page management in EvSidebar
4375 easier. See bug #164811 for details
4377 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4379 * shell/ev-application.c: (ev_application_open):
4380 * shell/ev-document-types.c:
4382 Fix build error and small problem with application exit
4384 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4386 * thumbnailer/Makefile.am:
4387 * thumbnailer/evince-thumbnailer-djvu.schemas:
4388 * thumbnailer/evince-thumbnailer-dvi.schemas:
4390 Conditionally install schemas for djvu/dvi thumbnailer
4392 2005-04-18 David Malcolm <dmalcolm@redhat.com>
4394 * shell/ev-document-types.h:
4395 * shell/ev-document-types.c:
4396 New files, handling the mapping from mimetypes to backends
4398 * shell/ev-window.c:
4399 * thumbnailer/evince-thumbnailer.c:
4400 Use the ev-document-types code
4402 * shell/Makefile.am:
4403 Added new convenience library libevbackendfactory_la, containing
4404 the new mimetype->backend logic; moved the backends into it.
4406 * thumbnailer/Makefile.am:
4407 Make the thumbnailer link with the libevbackend.la convenience
4408 library, rather than having a duplicate of the backend logic here.
4410 2005-04-18 Paolo Borelli <pborelli@katamail.com>
4412 * shell/ev-stock-icons.c: constify some vars.
4413 * shell/ev-window.c: ditto.
4415 2005-04-18 Marco Pesenti Gritti <mpg@redhat.com>
4417 * ps/ps-document.c (get_page_orientation):
4419 Respect document orientation
4421 2005-04-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4425 * shell/Makefile.am:
4427 Move library dependencies to components.
4429 * shell/ev-window.c: (update_window_title),
4430 (start_loading_document):
4432 Fix display of uris with spaces. Bug 168358.
4434 Sat Apr 16 18:53:47 2005 Jonathan Blandford <jrb@redhat.com>
4436 * shell/ev-sidebar-links.c: (selection_changed_cb):
4437 * shell/ev-view.c: (ev_view_finalize), (go_to_link),
4438 (ev_view_button_release_event), (ev_view_set_document):
4440 * shell/ev-window.c: (find_bar_search_changed_cb):
4441 * shell/ev-window.h: Minor cleanups removing some dead code.
4443 2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4445 * backend/ev-page-cache.c: (_ev_page_cache_new):
4447 Set current page to 0 if document has pages.
4449 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
4451 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
4453 Initialize GError to NULL, fix a crash when loading fails.
4455 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
4457 * shell/ev-window.c: (update_view_size):
4459 Calculate shadow size only when there is actually
4462 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
4464 * shell/ev-view.c: (ev_view_set_spacing), (ev_view_init):
4467 Allow setting view spacing, default to 0
4469 * shell/ev-window.c: (ev_window_unfullscreen),
4470 (ev_window_cmd_view_fullscreen), (ev_window_init):
4472 Remove spacing in fullscreen mode
4474 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
4476 * shell/ev-view.c: (compute_border), (compute_zoom_factor),
4477 (ev_view_size_request), (expose_bin_window),
4478 (ev_view_set_show_border), (ev_view_init), (page_changed_cb):
4480 * shell/ev-window.c: (ev_window_unfullscreen),
4481 (ev_window_cmd_view_fullscreen):
4483 Do not draw the border in fulscreen
4485 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
4487 * shell/ev-view.c: (ev_view_get_offsets), (compute_zoom_factor),
4488 (ev_view_size_request), (expose_bin_window), (ev_view_select_all),
4489 (find_page_at_location), (page_changed_cb):
4491 Rework border calculation, so that I can more easily disable it.
4492 Code somewhat cleaner too.
4494 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
4496 * backend/ev-page-cache.c: (ev_page_cache_init),
4497 (_ev_page_cache_new):
4499 Remove some assertions, documents can have 0 pages.
4500 Make initial current page -1.
4502 * shell/ev-page-action.c: (page_changed_cb):
4504 Show "" if current page is -1
4506 * shell/ev-window.c: (update_action_sensitivity),
4507 (ev_window_setup_document):
4509 When document has 0 pages do not set the view
4510 and make nearly everything insensitive.
4512 2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4514 * shell/ev-page-view.c:
4515 * shell/ev-page-view.h:
4517 Remove unused files.
4519 * shell/ev-sidebar-thumbnails.c:
4520 (ev_sidebar_thumbnails_set_document):
4521 * shell/ev-sidebar.c: (ev_sidebar_set_document),
4522 (ev_sidebar_supports_document):
4523 * shell/ev-sidebar.h:
4524 * shell/ev-window.c: (ev_window_setup_document):
4526 Doesn't show thumbnails if document has 1 page. Make
4527 sidebar menu entries sensitive only if if they have
4528 sense. Fix bug 164811.
4530 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
4532 * shell/ev-view.c: (compute_zoom_factor), (ev_view_size_request),
4533 (page_changed_cb), (ev_view_zoom), (ev_view_zoom_in),
4534 (ev_view_zoom_out), (ev_view_set_size):
4536 Rework sizing to deal with documents with not uniform page
4539 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
4541 * backend/ev-page-cache.c: (_ev_page_cache_new):
4543 Fix several page size caching bugs
4545 2005-04-15 Luca Ferretti <elle.uca@libero.it>
4547 * shell/ev-window.c: (set_action_properties):
4549 Make all toolbar items translatable
4551 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
4553 * ps/ps-document.c: (ps_document_init), (ps_document_get_type),
4554 (save_page_list), (ps_document_save),
4555 (ps_document_document_iface_init), (ps_document_ps_export_begin),
4556 (ps_document_ps_export_do_page), (ps_document_ps_export_end),
4557 (ps_document_ps_exporter_iface_init):
4560 Based on a patch by J�rg Billeter <j@bitron.ch>
4562 Implement print and save a copy for the ps backend.
4564 2005-04-14 Marco Pesenti Gritti <mpg@redhat.com>
4566 * backend/ev-document.h:
4567 * djvu/djvu-document.c: (djvu_document_can_get_text),
4568 (djvu_document_document_iface_init):
4569 * dvi/dvi-document.c: (dvi_document_can_get_text),
4570 (dvi_document_document_iface_init):
4571 * pdf/ev-poppler.cc:
4572 * pixbuf/pixbuf-document.c: (pixbuf_document_can_get_text),
4573 (pixbuf_document_document_iface_init):
4574 * ps/ps-document.c: (ps_document_can_get_text),
4575 (ps_document_document_iface_init):
4576 * shell/ev-view.c: (ev_view_copy), (ev_view_primary_get_cb):
4577 * shell/ev-window.c: (update_action_sensitivity):
4579 Fix the crash when trying to copy in backends that doesnt
4580 support it. We can implement a better solution once we
4581 do real text selection.
4583 2005-04-12 Marco Pesenti Gritti <mpg@redhat.com>
4585 * data/evince-ui.xml:
4586 * shell/ev-window.c: (ev_window_cmd_escape):
4588 Work around the Escape conflict (find bar and unfullscreen)
4590 2005-04-12 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
4592 * backend/ev-page-cache.c: (ev_page_cache_next_page):
4594 Fix for #300233. Next page correctly handles document end.
4596 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
4597 (ev_sidebar_thumbnails_class_init),
4598 (ev_sidebar_thumbnails_set_document),
4599 (ev_sidebar_thumbnails_clear_job),
4600 (ev_sidebar_thumbnails_clear_model):
4602 Cleanup thumbnail jobs on document changes.
4604 * shell/ev-view.c: (add_scroll_binding_keypad),
4605 (add_scroll_binding_shifted), (ev_view_class_init):
4607 Shift + Space scrolls up. Fix for #173184
4609 * shell/ev-window.c: (ev_window_open_page),
4610 (ev_window_cmd_view_reload):
4612 Fix reload (Bug #300094)
4614 2005-04-09 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4617 * dvi/mdvi-lib/assoc.c:
4618 * dvi/mdvi-lib/assoc.h: Removed garbage files
4620 * dvi/mdvi-lib/bitmap.c:
4621 * dvi/mdvi-lib/color.c: (mdvi_set_color), (mdvi_push_color),
4622 (mdvi_pop_color), (mdvi_reset_color), (get_color_table):
4623 * dvi/mdvi-lib/color.h: Antialias of rules
4625 * dvi/mdvi-lib/common.h:
4626 * dvi/mdvi-lib/dviread.c: (mdvi_configure), (mdvi_init_context),
4627 (mdvi_destroy_context), (draw_shrink_rule), (draw_box), (set_rule):
4628 * dvi/mdvi-lib/files.c:
4629 * dvi/mdvi-lib/fontmap.c: (ps_init_default_paths):
4630 * dvi/mdvi-lib/mdvi.h:
4631 * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
4632 * dvi/mdvi-lib/tfmfile.c: (ofm_load_file):
4633 * dvi/mdvi-lib/util.c: Fix compile warnings
4635 * dvi/dvi-document.c:
4636 (dvi_document_load), (dvi_document_thumbnails_get_dimensions),
4637 (dvi_document_thumbnails_get_thumbnail),
4638 (dvi_document_document_thumbnails_iface_init):
4639 * dvi/mdvi-lib/Makefile.am:
4640 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
4641 (dvi_pixbuf_set_color), (mdvi_pixbuf_device_render):
4643 Dvi backend now renders thumbnails
4645 2005-04-09 Christian Persch <chpe@cvs.gnome.org>
4647 * shell/main.c: (main):
4649 Save accelerators on exit. Fixes bug #172095.
4651 Sat Apr 9 01:05:09 2005 Jonathan Blandford <jrb@redhat.com>
4653 * shell/ev-pixbuf-cache.c (move_one_job): Actually fix the "FIXME:
4654 update priority" comment.
4656 * backend/ev-job-queue.c: Give a way to change priority.
4658 Sat Apr 9 00:05:36 2005 Jonathan Blandford <jrb@redhat.com>
4660 * shell/ev-page-action.c: Fix logic.
4662 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
4664 * shell/ev-view.c: (ev_view_can_find_next):
4665 * shell/ev-window.c: (ev_window_setup_document):
4667 Check that the document supports find
4669 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
4671 * data/evince-ui.xml:
4672 * shell/ev-view.c: (ev_view_can_find_next):
4674 * shell/ev-window.c: (update_action_sensitivity),
4675 (find_changed_cb), (ev_window_setup_document),
4676 (ev_window_cmd_edit_find_next):
4680 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
4682 * pdf/ev-poppler.cc:
4683 * shell/ev-print-job.c: (idle_print_handler):
4685 Make printing work again
4687 Fri Apr 8 01:12:24 2005 Jonathan Blandford <jrb@redhat.com>
4689 * shell/ev-page-action.h:
4690 * shell/ev-page-action.c: (ev_page_action_widget_init),
4691 (ev_page_action_widget_class_init), (page_changed_cb),
4692 (create_tool_item), (update_page_cache), (build_new_tree_cb),
4693 (get_filter_model_from_model), (match_selected_cb),
4694 (display_completion_text), (match_completion), (update_model),
4695 (connect_proxy), (ev_page_action_set_property),
4696 (ev_page_action_get_property), (ev_page_action_set_document),
4697 (ev_page_action_set_model), (ev_page_action_class_init): Big
4698 reworking to make completions work iff we have >= GTK-2.7.0
4700 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_property),
4701 (ev_sidebar_links_get_property), (ev_sidebar_links_class_init),
4702 (job_finished_cb): We now have a 'model' property that is set when
4703 the links are loaded. This can be caught with "notify::model"
4705 * shell/ev-window.c: (sidebar_widget_model_set), (ev_window_init):
4706 listen for the model to be set, and propagate it to the action.
4708 2005-04-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4710 * cut-n-paste/recent-files/egg-recent-item.c:
4711 (egg_recent_item_set_uri), (make_valid_utf8),
4712 (egg_recent_item_set_mime_type), (egg_recent_item_get_mime_type):
4713 * cut-n-paste/recent-files/egg-recent-item.h:
4715 Update egg-recent from libegg. This should fix long
4716 startup problem. For details see
4717 http://bugzilla.gnome.org/show_bug.cgi?id=160531
4719 2005-04-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4721 * cut-n-paste/recent-files/Makefile.am:
4722 * data/evince-ui.xml, shell/Makefile.am:
4723 * shell/ev-application.c, shell/ev-application.h:
4724 * shell/ev-window.c: Recent files support.
4726 * configure.ac: Added "ru" to ALL_LINGUAS.
4728 * dvju: new backend to support DJVU files.
4729 * dvi: new backend to support DVI.
4731 * configure.ac, Makefile.am, shell/Makefile.am, ev-window.c:
4732 * ev-application.c: Support for new backends.
4734 * help, ev-window.c, main.c shell/Makefile.am:
4735 Evince user documentation.
4737 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
4740 * shell/ev-window.c:
4741 * thumbnailer/evince-thumbnailer.c:
4743 s/pdf-document/ev-poppler
4745 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
4752 * ps/ps-document.c: (setup_pixmap):
4756 2005-04-05 Kristian Høgsberg <krh@redhat.com>
4758 * backend/ev-page-cache.c (ev_page_cache_next_page):
4759 * shell/ev-window.c (ev_window_cmd_go_next_page)
4760 (ev_window_cmd_go_first_page): Fix of by one errors.
4762 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
4764 * ps/ps-document.c: (get_page_box):
4766 Fix page size calculation
4768 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
4770 * ps/ps-document.c: (ps_document_init), (push_pixbuf),
4771 (ps_document_cleanup), (setup_pixmap), (get_page_box),
4772 (get_page_orientation), (setup_page), (document_load),
4773 (ps_document_get_page_size), (render_pixbuf_idle):
4776 More refactoring to adapt to EvDocument changes
4778 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
4780 * ps/ps-document.c: (start_interpreter):
4782 Actually add alpha args
4784 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
4786 * pdf/ev-poppler.cc:
4788 Make clipboard work again
4790 2005-04-04 Kristian Høgsberg <krh@redhat.com>
4792 Make searching work again.
4794 * backend/ev-document.c:
4795 * backend/ev-document.h:
4796 * backend/ev-document-find.c:
4797 * backend/ev-document-find.h: Change EvDocumentIface so we no
4798 longer store the current page or zoom level in the document. The
4799 consequence is that all calls that operate on the current page now
4800 instead take the page number as an extra argument, and all
4801 coordinates are now doubles in document coordinate system.
4803 * pdf/ev-poppler.cc:
4804 * pixbuf/pixbuf-document.c:
4805 * ps/ps-document.c: Update backends accordingly.
4807 2005-04-04 Marco Pesenti Gritti <marco@gnome.org>
4811 Add required gettext version
4813 Sat Apr 2 18:57:00 2005 Jonathan Blandford <jrb@redhat.com>
4815 * shell/evwindow.c: Patch from Alberto Mesas <amesas@gmail.com> to
4816 make F1 bring up non-existent help.
4818 * shell/eggfindbar.c: Patch from Christian Persch to sync to
4819 epiphany's find bar, #167477
4821 * shell/ev-view.c (ev_view_jump): Patch from Emil Soleyman-Zomalan
4822 <emil@nishra.com> to add space-bar scrolling,
4824 * shell/ev-window.c (static GtkActionEntry entries): add default
4825 keybinding for Help (F1)
4828 * shell/ev-view.c (ev_view_show_cursor): Fix from Yuval Tanny
4829 changing EV_VIEW_CURSOR_LINK to EV_VIEW_CURSOR_NORMAL resolves bug
4832 2005-04-01 David Malcolm <dmalcolm@redhat.com>
4835 * pixbuf/pixbuf-document.c:
4837 Got pixbuf backend working again
4839 2005-04-01 Steve Murphy <murf@e-tools.com>
4841 * configure.in: Added "rw" to ALL_LINGUAS.
4843 Fri Apr 1 02:33:41 2005 Jonathan Blandford <jrb@redhat.com>
4845 * shell/ev-sidebar-links.c (create_loading_model): Fix mismatch in
4846 model types, noticed by Martin Kretzschmar.
4848 2005-04-01 Kristian Høgsberg <krh@redhat.com>
4850 * pdf/ev-poppler.cc: Implement search based on
4851 poppler_page_find_text(). Currently a bit crude since we remember
4852 all matches from all pages. Also, we grab the big document lock
4853 when we search since searching changes the underlying stream and
4854 thus conflicts with the rendering thread.
4856 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
4857 (jump_to_find_page), (ev_view_set_document), (ev_view_find_next),
4858 (ev_view_find_previous): Fix some page indexes to be 0 based,
4859 offset rubber band by view offset,
4861 Fri Apr 01 09:21:12 2005 Pablo Saratxaga <pablo@mandrakesoft.com>
4863 * configure.ac: Added Walloon (wa) to ALL_LINGUAS.
4865 Fri Apr 1 01:59:39 2005 Jonathan Blandford <jrb@redhat.com>
4867 * shell/ev-page-action.c: Changed to use page labels now. Rewrote
4868 completely because I didn't understand GtkActions. I should
4869 read Marco's code more carefully in the future.
4871 * backend/ev-page-cache.h (ev_page_cache_set_page_label): New
4874 2005-03-31 Kristian Høgsberg <krh@redhat.com>
4876 * pdf/ev-poppler.cc (pdf_document_get_links): Update to work with
4877 PopplerRectangle change from poppler CVS.
4879 Thu Mar 31 13:27:50 2005 Jonathan Blandford <jrb@redhat.com>
4881 * backend/ev-document.c: (ev_document_get_page_label):
4882 * backend/ev-document.h:
4883 * backend/ev-page-cache.c: (_ev_page_cache_new),
4884 (ev_page_cache_get_page_label):
4885 * backend/ev-page-cache.h:
4886 * pdf/ev-poppler.cc:
4887 * shell/ev-sidebar-links.c: (ev_sidebar_links_construct),
4888 (links_page_num_func):
4889 * shell/ev-sidebar-thumbnails.c:
4890 (ev_sidebar_thumbnails_set_document):
4891 * shell/ev-view.c: (status_message_from_link),
4892 (ev_view_motion_notify_event):
4893 * shell/ev-window.c: (document_supports_sidebar): Add in page
4894 label support. It's not perfect yet, but it's the first 'feature'
4896 Also, fix a bogus comment noticed by crispin.
4898 Thu Mar 31 01:21:58 2005 Jonathan Blandford <jrb@redhat.com>
4900 * Makefile.am: Remove pixbuf backend for now
4902 * configure.ac: Require poppler-glib instead of just poppler.
4904 * backend/ev-document-thumbnails.h: Add a comment
4906 * backend/ev-document.h:
4907 * backend/ev-document.c: (ev_document_class_init),
4908 (ev_document_load), (ev_document_get_link),
4909 (ev_document_get_links): Remove 3 methods and add get_links.
4912 * backend/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
4913 * backend/ev-jobs.h: now EvJobRender can grab the links for a document.
4915 * backend/ev-link.c: (ev_link_set_title),
4916 (ev_link_mapping_free_foreach), (ev_link_mapping_free),
4917 (ev_link_mapping_find):
4918 * backend/ev-link.h: Allow NULL titles. Also, introduce a mapping link.
4920 * backend/ev-page-cache.c: (ev_page_cache_init),
4921 (_ev_page_cache_new), (ev_page_cache_set_current_page),
4922 (ev_page_cache_get_size), (ev_page_cache_next_page),
4923 (ev_page_cache_prev_page): Fix to be 0 based.
4927 * pdf/ev-poppler.cc: New backend.
4929 * ps/ps-document.c: (ps_document_init), (ps_document_set_page),
4930 (ps_document_get_page), (ps_document_document_iface_init):
4932 * shell/ev-pixbuf-cache.h:
4933 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
4934 (dispose_cache_job_info), (job_finished_cb), (move_one_job),
4935 (ev_pixbuf_cache_update_range), (copy_job_to_job_info),
4936 (add_job_if_needed), (ev_pixbuf_cache_set_page_range),
4937 (ev_pixbuf_cache_get_pixbuf), (ev_pixbuf_cache_get_link_mapping):
4938 Fix up code to grab a page cache per each doc. Also, fix to be 0
4941 * shell/ev-sidebar-thumbnails.c:
4942 (ev_sidebar_tree_selection_changed), (page_changed_cb),
4943 (ev_sidebar_thumbnails_set_document): Fix to be 0 based.
4945 * shell/ev-view.c: (status_message_from_link),
4946 (find_page_at_location), (get_link_at_location),
4947 (ev_view_motion_notify_event), (ev_view_button_release_event),
4948 (ev_view_init): Use the new link code. Fix to be 0 based.
4950 * shell/ev-window.c: (update_action_sensitivity),
4951 (document_supports_sidebar): 0 based.
4953 Fri Mar 25 16:55:58 2005 Jonathan Blandford <jrb@redhat.com>
4955 * pdf/pdf-document.cc: Patch from Fernando Herrera
4956 <fherrera@onirica.com> to fix my quick fix to get_thumbnail.
4959 Wed Mar 23 23:49:41 2005 Jonathan Blandford <jrb@redhat.com>
4961 * pdf/pdf-document.cc (pdf_document_thumbnails_get_thumbnail): add
4962 1 to the page, as this seems to be 1 based. I thought we has this
4965 2005-03-23 Marco Pesenti Gritti <marco@gnome.org>
4968 * backend/Makefile.am:
4969 * backend/ev-document-links.c:
4970 (ev_document_links_has_document_links),
4971 (ev_document_links_get_links_model):
4972 * backend/ev-document-links.h:
4973 * backend/ev-document.c: (ev_document_get_page_cache),
4974 (ev_document_get_doc_mutex), (ev_document_load),
4975 (ev_document_save), (ev_document_get_title),
4976 (ev_document_get_n_pages), (ev_document_set_page),
4977 (ev_document_get_page), (ev_document_set_target),
4978 (ev_document_set_scale), (ev_document_set_page_offset),
4979 (ev_document_get_page_size), (ev_document_get_text),
4980 (ev_document_get_link), (ev_document_render),
4981 (ev_document_render_pixbuf), (ev_document_scale_changed):
4982 * backend/ev-document.h:
4983 * backend/ev-job-queue.c: (remove_object_from_queue),
4984 (notify_finished), (handle_job), (search_for_jobs_unlocked),
4985 (no_jobs_available_unlocked), (ev_render_thread),
4986 (ev_job_queue_init), (find_queue), (ev_job_queue_add_job),
4987 (ev_job_queue_remove_job):
4988 * backend/ev-job-queue.h:
4989 * backend/ev-jobs.c: (ev_job_init), (ev_job_dispose),
4990 (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
4991 (ev_job_links_class_init), (ev_job_render_init),
4992 (ev_job_render_dispose), (ev_job_render_class_init),
4993 (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
4994 (ev_job_thumbnail_class_init), (ev_job_finished),
4995 (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
4996 (ev_job_render_run), (ev_job_thumbnail_new),
4997 (ev_job_thumbnail_run):
4998 * backend/ev-jobs.h:
4999 * backend/ev-link.c:
5000 * backend/ev-link.h:
5001 * backend/ev-page-cache.c: (ev_page_cache_init),
5002 (ev_page_cache_class_init), (ev_page_cache_finalize),
5003 (_ev_page_cache_new), (ev_page_cache_get_n_pages),
5004 (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
5005 (ev_page_cache_set_link), (ev_page_cache_get_title),
5006 (ev_page_cache_get_size), (ev_page_cache_next_page),
5007 (ev_page_cache_prev_page):
5008 * backend/ev-page-cache.h:
5009 * pdf/pdf-document.cc:
5012 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
5013 (push_pixbuf), (interpreter_failed), (ps_document_cleanup),
5014 (ps_document_widget_event), (ps_document_finalize), (get_xdpi),
5015 (get_ydpi), (setup_pixmap), (setup_page), (close_pipe),
5016 (is_interpreter_ready), (output), (catchPipe), (input),
5017 (start_interpreter), (check_filecompressed), (compute_dimensions),
5018 (ps_document_enable_interpreter), (document_load),
5019 (ps_document_next_page), (render_page), (ps_document_set_page),
5020 (ps_document_set_scale), (render_pixbuf_idle),
5021 (ps_document_render_pixbuf), (ps_document_document_iface_init):
5023 * shell/Makefile.am:
5024 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
5025 (ev_pixbuf_cache_class_init), (ev_pixbuf_cache_finalize),
5026 (dispose_cache_job_info), (ev_pixbuf_cache_dispose),
5027 (ev_pixbuf_cache_new), (job_finished_cb),
5028 (check_job_size_and_unref), (move_one_job),
5029 (ev_pixbuf_cache_update_range), (find_job_cache),
5030 (ev_pixbuf_cache_clear_job_sizes), (add_job_if_needed),
5031 (ev_pixbuf_cache_add_jobs_if_needed),
5032 (ev_pixbuf_cache_set_page_range), (ev_pixbuf_cache_get_pixbuf):
5033 * shell/ev-pixbuf-cache.h:
5034 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
5035 (idle_print_handler):
5036 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
5037 (selection_changed_cb), (create_loading_model),
5038 (ev_sidebar_links_construct), (links_page_num_func),
5039 (ev_sidebar_links_clear_document), (update_page_callback_foreach),
5040 (update_page_callback), (job_finished_cb),
5041 (ev_sidebar_links_set_document):
5042 * shell/ev-sidebar-thumbnails.c:
5043 (ev_sidebar_thumbnails_class_init), (adjustment_changed_cb),
5044 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init),
5045 (page_changed_cb), (thumbnail_job_completed_callback),
5046 (ev_sidebar_thumbnails_set_document):
5047 * shell/ev-sidebar-thumbnails.h:
5048 * shell/ev-sidebar.c: (ev_sidebar_set_document):
5049 * shell/ev-view.c: (ev_view_finalize), (ev_view_destroy),
5050 (ev_view_get_offsets), (ev_view_size_request), (ev_view_realize),
5051 (ev_view_unrealize), (highlight_find_results), (expose_bin_window),
5052 (ev_view_select_all), (ev_view_copy), (ev_view_primary_get_cb),
5053 (ev_view_create_invisible_cursor), (ev_view_motion_notify_event),
5054 (ev_view_button_release_event), (ev_view_scroll_view),
5055 (ev_view_class_init), (ev_view_init), (update_find_status_message),
5056 (jump_to_find_result), (jump_to_find_page), (find_changed_cb),
5057 (ev_view_new), (job_finished_cb), (page_changed_cb),
5058 (ev_view_set_document), (go_to_link), (ev_view_zoom),
5059 (size_to_zoom_factor), (ev_view_set_size), (ev_view_find_next),
5060 (ev_view_find_previous):
5062 * shell/ev-window.c: (update_action_sensitivity),
5063 (ev_window_open_page), (update_window_title), (update_total_pages),
5064 (page_changed_cb), (ev_window_setup_document),
5065 (password_dialog_response), (ev_window_cmd_save_as),
5066 (ev_window_print), (ev_window_cmd_go_previous_page),
5067 (ev_window_cmd_go_next_page), (ev_window_cmd_go_first_page),
5068 (ev_window_cmd_go_last_page), (ev_window_cmd_view_reload),
5069 (find_bar_search_changed_cb), (goto_page_cb), (ev_window_init):
5070 * shell/main.c: (main):
5072 Merge evince-threads branch
5074 2005-03-16 Žygimantas Beručka <uid0@akl.lt>
5076 * configure.ac: Added "lt" to ALL_LINGUAS.
5078 2005-03-14 Marco Pesenti Gritti <marco@gnome.org>
5085 2005-03-13 Fernando Herrera <fherrera@onirica.com>
5087 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
5089 Fix here also the thumbnails 1-basedness :)
5091 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
5098 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
5100 * pdf/pdf-document.cc:
5101 * shell/ev-sidebar-thumbnails.c: (adjustment_changed_cb),
5102 (do_one_iteration), (ev_sidebar_thumbnails_set_document):
5104 Fix the mess we did with thumbnails and 1-basedness
5106 2005-03-12 Changwoo Ryu <cwryu@debian.org>
5108 * configure.ac (ALL_LINGUAS): Added "ko" (Korean).
5110 2005-03-09 Marco Pesenti Gritti <marco@gnome.org>
5117 2005-03-08 Marco Pesenti Gritti <marco@gnome.org>
5120 * ps/gsdefaults.c: (gtk_gs_defaults_get_interpreter_cmd),
5121 (gtk_gs_defaults_get_alpha_parameters),
5122 (gtk_gs_defaults_get_ungzip_cmd),
5123 (gtk_gs_defaults_get_unbzip2_cmd):
5125 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
5126 (ps_document_get_orientation), (document_load),
5127 (ps_document_goto_page), (ps_document_set_page_size):
5130 Some more sanitization of the ps backend. Remove a lot
5131 of unused code and do not base our defaults on ggv
5134 2005-03-08 Fernando Herrera <fherrera@onirica.com>
5136 * thumbnailer/evince-thumbnailer.schemas:
5137 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
5138 (main): add -s option for thumbnail size.
5140 2005-03-07 Christian Persch <chpe@cvs.gnome.org>
5144 AC_PROG_RANLIB is rendered obsolete by AC_PROG_LIBTOOL;
5147 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
5149 * pdf/pdf-document.cc:
5151 Remove 4 pixels of useless border from the
5154 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
5156 * backend/ev-document-thumbnails.c:
5157 (ev_document_thumbnails_get_thumbnail):
5158 * backend/ev-document-thumbnails.h:
5160 Rework API a bit. Add a border flag and
5161 change sizing logic (now the size we specify
5162 applies to the bigger dimension).
5164 * pdf/pdf-document.cc:
5165 * pixbuf/pixbuf-document.c:
5166 (pixbuf_document_thumbnails_get_thumbnail):
5167 * shell/ev-sidebar-thumbnails.c: (do_one_iteration):
5168 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
5170 Adapt to the new API and do not draw a border for nautilus
5173 2005-03-03 Fernando Herrera <fherrera@onirica.com>
5175 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
5176 take thumbnails from page "0" instead of "1". Added a copyright header.
5178 2005-03-03 Jens Granseuer <jensgr@gmx.net>
5180 * ps/ps-document.c: (set_up_page), (start_interpreter):
5182 Make it C89 compliant
5184 2005-03-03 Marco Pesenti Gritti <marco@gnome.org>
5189 * pdf/pdf-document.cc:
5190 * thumbnailer/Makefile.am:
5191 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
5193 * thumbnailer/evince-thumbnailer.schemas:
5194 * thumbnailer/pdf-icon.png:
5196 Add a nautilus thumbnailer.
5197 Based on patch by Fernando Herrera <fherrera@onirica.com>.
5199 2005-03-02 Marco Pesenti Gritti <marco@gnome.org>
5207 2005-03-01 Kristian Høgsberg <krh@redhat.com>
5209 Use poppler instead of including xpdf source code. Poppler is a
5210 fork of xpdf to build it as a shared library. See
5211 http://freedesktop.org/wiki/Software/poppler.
5213 * pdf/xpdf/*, pdf/goo/*, pdf/splash/*, pdf/fofi/*: Remove included
5216 * pdf/Makefile.am: Build libpdfdocument.a here.
5218 * pdf/GDKSplashOutputDev.cc:
5219 * pdf/GDKSplashOutputDev.h:
5220 * pdf/GnomeVFSStream.cc:
5221 * pdf/GnomeVFSStream.h:
5224 * test-gdk-output-dev.cc
5226 * Thumb.h: Pull these files out of pdf/xpdf and adjust to compile
5229 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
5231 * shell/ev-sidebar-links.c: (ev_sidebar_links_clear_document):
5233 Clear idle stack before unsetting the document
5235 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
5237 * ps/ps-document.c: (ps_document_widget_event),
5238 (ps_document_set_target), (ps_document_finalize),
5239 (ps_document_get_page):
5241 Disconnect the widget event signal on finalize.
5244 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
5246 * ps/ps-document.c: (set_up_page):
5248 If there is no bpixmap create one, even if size
5251 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
5253 * ps/ps-document.c: (ps_document_init), (ps_document_cleanup),
5254 (set_up_page), (document_load), (ps_document_set_zoom):
5256 Default page is 0. Calculate size even when we have no
5259 2005-02-28 Carlos Garcia Campos <carlosgc@gnome.org>
5261 * shell/ev-sidebar.c: expand the selection widget to be always as
5264 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
5266 * shell/ev-sidebar-thumbnails.c:
5267 (ev_sidebar_thumbnails_set_document):
5269 Clear the list store when setting document
5271 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
5273 * shell/ev-page-action.c: (update_entry), (sync_entry),
5274 (activate_cb), (entry_size_request_cb), (create_tool_item),
5277 Use an entry for the page control instead of spinbuttons
5279 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
5281 * data/evince.schemas.in:
5283 Correct confusing string
5285 Sun Feb 27 23:00:31 2005 Jonathan Blandford <jrb@redhat.com>
5287 * shell/ev-sidebar-links.c (do_one_iteration): Handle title links
5288 for real. Gosh, how long has this been broken.
5290 * pdf/xpdf/pdf-document.cc (build_link_from_action): add back the
5291 check for a NULL link. We crash otherwise.
5293 2005-02-27 Marco Pesenti Gritti <marco@gnome.org>
5300 2005-02-25 Sebastien Bacher <seb128@debian.org>
5302 * configure.ac: add the french translation.
5304 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
5306 * shell/ev-window.c:
5308 Remove unused header -> fix distcheck
5310 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
5312 * shell/ev-window.c: (update_window_title),
5313 (ev_window_popup_password_dialog):
5315 Unescape filename for display
5317 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
5319 * pdf/xpdf/pdf-document.cc:
5321 In get_page_size deal with rotation. Also
5322 cleanup the function a bit.
5324 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
5326 * pdf/xpdf/pdf-document.cc:
5328 Fix crash when opening in new window
5330 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
5334 Check ghostscript >= 7
5336 2005-02-25 Pedro Villavicencio <pvillavi@gnome.cl>
5338 * shell/ev-window.c:
5340 Make page width the default sizing mode
5342 2005-02-25 Carlos Garcia Campos <carlosgc@gnome.org>
5343 Marco Pesenti Gritti <marco@gnome.org>
5345 * shell/ev-window.c: Remember the sidebar size
5347 * data/evince.schemas.in: Add a new gconf key to store the size of
5350 2005-02-24 Kai Willadsen <kaiw@itee.uq.edu.au>
5352 * data/evince-ui.xml:
5353 * shell/ev-window.c: (update_action_sensitivity),
5354 (ev_window_cmd_view_reload):
5356 Add a "Reload" action and menu entry
5358 Thu Feb 24 23:07:33 2005 Jonathan Blandford <jrb@redhat.com>
5360 * shell/ev-window.c (hide_sidebar_and_actions): Hide the sidebar
5361 iff the type doesn't support thumbnailing and indexing.
5363 2005-02-24 Martin Kretzschmar <martink@gnome.org>
5365 * configure.ac (ALL_LINGUAS): Added "zh_TW" (Traditional Chinese).
5367 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
5369 * pdf/splash/Splash.cc:
5371 Port fix for a crasher from kde bug
5372 http://bugs.kde.org/show_bug.cgi?id=97131
5374 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
5376 * pdf/xpdf/pdf-document.cc:
5378 Return a link even if it's of an unrecognized
5379 type. Otherwise we go in an infinte cycle.
5381 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
5383 * shell/ev-window.c: (update_sizing_buttons), (update_view_size),
5384 (size_allocate_cb), (ev_window_set_sizing_mode):
5386 Update size when switching mode
5388 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
5390 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
5391 (ev_window_cmd_view_page_width), (update_sizing_buttons),
5392 (ev_window_cmd_view_normal_size):
5394 Fix size toggle buttons behavior
5396 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
5398 * shell/ev-view.c: (ev_view_get_offsets), (view_rect_to_doc_rect),
5399 (doc_rect_to_view_rect), (ev_view_size_allocate),
5400 (expose_bin_window), (ev_view_select_all), (page_changed_callback),
5401 (scale_changed_callback):
5403 Do not cache offsets in size_allocate.
5405 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
5407 * shell/ev-view.c: (ev_view_size_allocate):
5409 Calculate offsets before calling the parent
5410 class (which does a redraw)
5412 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
5414 * pdf/xpdf/pdf-document.cc:
5416 Fix a crasher on exit. Unused code, put a TODO
5418 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
5420 * backend/ev-document.c: (ev_document_class_init),
5421 (ev_document_page_changed), (ev_document_scale_changed):
5422 * backend/ev-document.h:
5424 Separate page/scale notifications
5426 * pdf/xpdf/pdf-document.cc:
5428 Emit the new signals.
5429 Do not display the pdf page in _render, do it
5430 when scale/page are requested.
5432 * ps/ps-document.c: (ps_document_set_zoom),
5433 (ps_document_widget_event):
5436 Emit the new signals.
5438 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
5439 (ev_view_init), (page_changed_callback), (scale_changed_callback),
5440 (ev_view_set_document), (ev_view_zoom), (ev_view_zoom_in),
5441 (ev_view_zoom_out), (size_to_zoom_factor), (ev_view_set_size):
5443 * shell/ev-window.c: (ev_window_cmd_view_normal_size),
5444 (ev_window_cmd_view_page_width), (size_allocate_cb),
5445 (ev_window_set_sizing_mode):
5447 Rework sizing to be pixel based.
5448 There are bugs but should be already way better.
5450 2005-02-23 Marco Pesenti Gritti <marco@gnome.org>
5452 * shell/ev-window.c: (ev_window_init):
5454 Do not allow to shrink sidebar smaller then
5457 2005-02-23 Carlos Garcia Campos <carlosgc@gnome.org>
5459 * shell/ev-sidebar.[ch]
5460 * shell/ev-window.c:
5462 Improved sidebar widget. Fixes #166683
5464 2005-02-23 Tommi Vainikainen <thv@iki.fi>
5466 * shell/ev-view.c (update_find_status_message): Give translators
5467 more flexibility with ngettext plural handling.
5469 Mon Feb 21 17:52:08 2005 Jonathan Blandford <jrb@redhat.com>
5471 * pdf/xpdf/pdf-document.cc (pdf_document_get_page_size): Patch
5472 from Crispin Flowerday <gnome@flowerday.cx> to avoid rendering the
5473 page when we get the page size.
5475 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
5477 * ps/ps-document.c: (ps_document_set_page), (ps_document_get_page):
5479 ps pages are 0 based, convert
5481 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
5483 * ps/ps-document.c: (ps_document_class_init), (ps_document_load):
5485 Initialize correct parent class. Set GError on document load
5487 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
5489 * pdf/xpdf/pdf-document.cc:
5491 Fixup selection offset calculation
5493 * shell/ev-view.c: (view_rect_to_doc_rect),
5494 (doc_rect_to_view_rect), (ev_view_size_allocate),
5495 (expose_bin_window), (ev_view_select_all), (ev_view_copy),
5496 (ev_view_primary_get_cb), (ev_view_motion_notify_event):
5498 Store selection as document relative, so that zooming
5499 and offset changing doesnt break it.
5501 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
5503 * shell/ev-view.c: (ev_view_best_fit):
5505 Do not try to best fit if the view is not realized
5507 2005-02-20 Kostas Papadimas <pkst@gnome.org>
5509 * configure.ac (ALL_LINGUAS): Added "el" (Greek).
5511 Fri Feb 18 16:06:39 2005 Jonathan Blandford <jrb@redhat.com>
5513 * shell/ev-window.c (ev_window_focus_in_event): missed a case.
5515 Fri Feb 18 15:32:57 2005 Jonathan Blandford <jrb@redhat.com>
5517 * shell/ev-window.c: Change the fullscreen toolbar to always be in
5518 the popup window. That prevents it resizing when in full screen
5521 * shell/ev-view.c: Change Zoom epsilon as a bad hack to avoid
5522 multiple rerenders. This pretty much sucks.
5524 * data/evince-ui.xml: Change the fullscreen toolbar to include the
5525 rest of the toolbar.
5527 2005-02-18 Tommi Vainikainen <thv@iki.fi>
5529 * configure.ac (ALL_LINGUAS): Added "fi" (Finnish).
5531 2005-02-17 Alexander Shopov <ash@contact.bg>
5533 * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
5535 2005-02-16 Bryan Clark <clarkbw@cvs.gnome.org>
5537 * shell/ev-window.c: added ellipsis to Print item. Fixes bug 166915
5539 2005-02-16 Marco Pesenti Gritti <marco@gnome.org>
5541 * shell/ev-view.c: (ev_view_realize), (highlight_find_results),
5542 (ev_view_create_invisible_cursor), (ev_view_set_cursor),
5543 (set_document_page), (document_changed_callback),
5544 (ev_view_set_document), (ev_view_find_previous),
5545 (ev_view_hide_cursor), (ev_view_show_cursor):
5547 * shell/ev-window.c: (update_chrome_visibility),
5548 (fullscreen_timeout_cb), (fullscreen_set_timeout),
5549 (fullscreen_clear_timeout), (fullscreen_motion_notify_cb),
5550 (fullscreen_leave_notify_cb), (ev_window_fullscreen),
5551 (ev_window_unfullscreen):
5552 * shell/main.c: (main):
5554 Automatically hide the fullscreen button.
5555 Patch by Kristian Høgsberg <krh@redhat.com>
5557 2005-02-16 Vincent Noel <vnoel@cox.net>
5559 * shell/main.c (main): Specify an icon for the window. Patch by
5560 Jaap A. Haitsma. Fixes #166177.
5562 Wed Feb 16 06:30:13 2005 Jonathan Blandford <jrb@redhat.com>
5564 * shell/ev-view.c (ev_view_realize): get rid of the black flash.
5566 Tue Feb 15 22:27:13 2005 Jonathan Blandford <jrb@redhat.com>
5568 * backend/ev-document-misc.h:
5569 * backend/ev-document-misc.c:
5570 (ev_document_misc_get_page_border_size),
5571 (ev_document_misc_paint_one_page): New function to canonicalize
5572 sizing/painting a border.
5574 * shell/Makefile.am: Remove ev-page-view.c entirely as it's not
5577 * pdf/xpdf/pdf-document.cc: use new function
5579 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
5580 (ev_view_init), (ev_view_set_mode), (ev_view_zoom),
5581 (ev_view_best_fit), (ev_view_fit_width): * shell/ev-view.h: *
5582 shell/ev-window.c: (update_sizing_buttons),
5583 (ev_window_setup_document), (ev_window_cmd_view_zoom_in),
5584 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_best_fit),
5585 (ev_window_cmd_view_page_width), (size_allocate_cb),
5586 (ev_window_set_sizing_mode), (ev_window_init): make the "best fit"
5587 and "fit width" values act as toggle buttons so they stay
5588 toggled. It's not 100% perfect, and it's a little slow, but it's
5589 good enough to commit I think.
5591 2005-02-15 David Lodge <dave@cirt.net>
5593 * configure.ac (ALL_LINGUAS): Added "en_GB" (English (British)).
5595 2005-02-15 Martin Kretzschmar <martink@gnome.org>
5597 * shell/ev-window.c (update_window_title): replace newlines in
5598 the title by spaces. Bug #166107.
5600 2005-02-14 Martin Kretzschmar <martink@gnome.org>
5602 * shell/ev-view.c (ev_view_best_fit, ev_view_fit_width): add
5603 parameters providing allocation width and height without
5604 scrollbars and width of a possible vertical scrollbar. With this
5605 additional information the functions can work as
5606 intended. Unfortunately they're not idempotent. We should
5607 transform these commands to toggles. Fixes Bug #164976
5608 Initial patch by Stephane Loeuillet, then heavily modified.
5610 * shell/ev-view.h: update prototypes.
5612 * shell/ev-window.c (ev_window_cmd_view_best_fit)
5613 (ev_window_cmd_view_page_width): provide EvView fit functions with
5614 all the information they need. Formulas to calculate this
5615 information taken from GtkScrolledWindow.
5617 2005-02-14 Crispin Flowerday <gnome@flowerday.cx>
5619 * shell/ev-sidebar-thumbnails.c: Ensure that after we have
5620 created a thumbnail, the list store is updated to know
5621 that the thumbnail is set. Fixes bug #166792
5623 2005-02-11 Bryan Clark <clarkbw@cvs.gnome.org>
5625 * shell/ev-window.c: fixed typo, closes bug 166897
5627 * TODO: updated TODO with bug numbers that are relevant
5629 2005-02-09 Carlos Garcia Campos <carlosgc@gnome.org>
5631 * shell/ev-window.c: Support for DnD of files. Fixes #164813
5633 2005-02-09 Vincent Noel <vnoel@cox.net>
5635 * shell/ev-window.c: (set_action_properties): Set the "Previous"
5636 and "Next" toolbar buttons as important to make them stand out.
5638 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
5642 * ps/ps-document.c: (ps_document_finalize), (set_up_page),
5643 (start_interpreter), (stop_interpreter), (document_load),
5644 (ps_document_next_page), (ps_document_goto_page),
5645 (ps_document_set_page_size), (ps_document_widget_event),
5646 (ps_document_render):
5647 * shell/ev-page-view.c: (ev_page_view_dispose):
5648 * shell/ev-view.c: (ev_view_finalize), (expose_bin_window):
5650 Fix compilation on non-gcc platforms
5652 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
5659 * pdf/xpdf/Catalog.cc:
5662 Fix the fix for CAN-2004-0888
5664 2005-02-09 Luca Ferretti <elle.uca@libero.it>
5667 * data/evince-ui.xml:
5668 * shell/ev-stock-icons.c: (ev_stock_icons_init):
5669 * shell/ev-stock-icons.h:
5670 * shell/ev-window.c: (update_action_sensitivity),
5671 (ev_window_cmd_go_previous_page), (ev_window_cmd_go_next_page),
5672 (set_action_properties):
5674 Improve toolbar layout/icons
5676 2005-02-08 Marco Pesenti Gritti <marco@gnome.org>
5678 * pdf/xpdf/pdf-document.cc:
5680 Add warnings about unimplemented/unknown link
5683 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
5685 * ps/ps-document.c: (set_up_page):
5689 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
5691 * ps/ps-document.c: (start_interpreter):
5695 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
5697 * shell/ev-page-view.c: (ev_page_view_dispose):
5698 * shell/ev-view.c: (ev_view_finalize):
5699 * shell/ev-window.c: (ev_window_setup_document),
5700 (ev_window_dispose), (ev_window_init):
5702 Solve more refs issues.
5704 I commented out the page_view initialization for now:
5705 it was never destroyed (because it's never added
5706 to a container). Because of that we was leaking
5707 gs processes. Couldnt think to a clean fix.
5708 We need to figure this out, password view has the
5709 same issue probably.
5711 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
5713 * ps/ps-document.c: (ps_document_finalize),
5714 (ps_document_get_n_pages), (ps_document_get_page):
5716 Some cleanups, stop the interpreter on finalize
5718 * shell/ev-page-view.c: (ev_page_view_dispose),
5719 (ev_page_view_class_init):
5721 Release our reference on the document
5723 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
5727 * doc/debugging.txt:
5730 * lib/ev-debug.c: (log_module), (trap_handler), (ev_debug_init),
5731 (ev_profiler_new), (ev_should_profile), (ev_profiler_dump),
5732 (ev_profiler_free), (ev_profiler_start), (ev_profiler_stop):
5735 Add debugging helpers
5738 * ps/ps-document.c: (set_up_page), (start_interpreter),
5739 (stop_interpreter), (document_load), (ps_document_next_page),
5740 (ps_document_goto_page), (ps_document_set_page_size),
5741 (ps_document_widget_event), (ps_document_render):
5742 * shell/Makefile.am:
5743 * shell/ev-view.c: (expose_bin_window):
5744 * shell/main.c: (main):
5748 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
5750 * ps/ps-document.c: (ps_document_widget_event):
5752 Initialize message_window, this should make ps
5753 rendering really work! (Never noticed because I was
5754 testing with a ps that is causing gs to exit every time!)
5756 2005-02-07 Bryan Clark <clarkbw@cvs.gnome.org>
5758 * data/evince.schemas.in: updated simple error in applyto closing tag
5760 2005-02-07 Christian Persch <chpe@cvs.gnome.org>
5766 * data/evince-ui.xml:
5767 A data/evince.schemas.in:
5769 * shell/ev-stock-icons.c: (ev_stock_icons_init):
5770 * shell/ev-stock-icons.h:
5771 * shell/ev-window.c: (update_chrome_visibility),
5772 (update_chrome_flag), (ev_window_cmd_edit_find),
5773 (ev_window_update_fullscreen_popup), (ev_window_fullscreen),
5774 (ev_window_unfullscreen), (ev_window_focus_in_event),
5775 (ev_window_focus_out_event), (ev_window_cmd_leave_fullscreen),
5776 (ev_window_view_toolbar_cb), (ev_window_view_statusbar_cb),
5777 (ev_window_view_sidebar_cb), (find_bar_close_cb),
5778 (ev_window_dispose), (ev_window_class_init),
5779 (set_action_properties), (set_chrome_actions), (load_chrome),
5782 Implement fullscreen mode changes from bug #164776.
5783 Also implement persistent chrome toggles.
5785 2005-02-07 Jordi Mallach <jordi@sindominio.net>
5787 * configure.ac (ALL_LINGUAS): Added "ca" (Catalan).
5789 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
5795 Add another check for find interface
5799 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
5801 * shell/ev-application.c: (ev_application_open):
5802 * shell/ev-window.c: (ev_window_open):
5804 Open gzipped ps documents
5806 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
5809 * shell/ev-view.c: (set_document_page):
5811 Clamp page number, dont try to move to
5814 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
5816 * backend/ev-document-find.c: (ev_document_find_changed):
5817 * backend/ev-document-find.h:
5818 * pdf/xpdf/pdf-document.cc:
5819 * shell/ev-view.c: (jump_to_find_result), (ev_view_set_document):
5820 * shell/ev-window.c: (find_bar_search_changed_cb):
5822 Fix several bugs with find
5824 2005-02-04 Martin Kretzschmar <martink@gnome.org>
5826 * shell/ev-sidebar-thumbnails.c
5827 (ev_sidebar_thumbnails_select_page): do nothing unless we have a
5828 document. Prevents warning from scroll_to_cell.
5830 2005-02-02 Kjartan Maraas <kmaraas@gnome.org>
5832 * configure.ac: Add «nb» to ALL_LINGUAS too.
5834 Wed Feb 2 21:13:11 2005 Jonathan Blandford <jrb@redhat.com>
5836 * NOTES: New file with some random thoughts.
5840 * backend/ev-document-misc.c:
5841 (ev_document_misc_get_page_border_size): New function to
5842 canonicalize shadow drawing sizes. Possibly goofy.
5844 * shell/ev-view.c: (ev_view_size_request), (set_document_page),
5845 (ev_view_best_fit), (ev_view_fit_width):
5846 * pdf/xpdf/pdf-document.cc:
5847 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
5848 * ps/ps-document.c: (ps_document_get_page_size):
5849 * backend/ev-document-misc.h:
5850 * backend/ev-document.c: (ev_document_get_page_size):
5851 * backend/ev-document.h: get_page_size now takes a page number
5852 parameter. Made all the backends/frontends honor it.
5854 * data/evince-ui.xml: Added a multiple-page mode. Uncomment to
5855 see. Doesn't work yet.
5857 * shell/Makefile.am:
5858 * shell/ev-page-view.[ch]: New multi-page view. Really rough.
5859 Doesn't do anything yet.
5861 * shell/ev-sidebar-thumbnails.c:
5862 (ev_sidebar_thumbnails_set_document): [1..n_pages] instead of
5865 * shell/ev-window.c: (update_action_sensitivity),
5866 (ev_window_setup_document), (ev_window_set_page_mode),
5867 (ev_window_page_mode_cb), (ev_window_init): Clean up the
5868 view-swapping code a bit so we can have multiple views on a
5869 document. Add the multi-page view, though it can't be turned on
5872 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
5874 * shell/ev-application.c: (ev_application_open):
5875 * shell/ev-view.c: (expose_bin_window):
5876 * shell/ev-window.c: (ev_window_open):
5878 Support eps and check document supports find
5879 before drawing highlightings in expose.
5881 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
5883 * pixbuf/pixbuf-document.c:
5884 (pixbuf_document_thumbnails_get_dimensions),
5885 (pixbuf_document_document_thumbnails_iface_init):
5887 implement get_dimensions
5889 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
5896 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
5898 * shell/ev-view.c: (set_document_page):
5900 Scroll at the top of the page when changing page
5902 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
5904 * shell/ev-view.c: (ev_view_motion_notify_event):
5906 Do not redraw unnecessarily
5908 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
5910 * pdf/xpdf/pdf-document.cc:
5911 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
5912 (expose_bin_window), (find_changed_cb):
5914 Yay! find works now... Now to find bugs...
5916 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
5918 * backend/ev-document-find.c: (ev_document_find_base_init),
5919 (ev_document_find_changed):
5920 * backend/ev-document-find.h:
5921 * pdf/xpdf/pdf-document.cc:
5922 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
5923 (expose_bin_window), (ev_view_init), (set_document_page),
5924 (ensure_rectangle_is_visible), (jump_to_find_result),
5925 (jump_to_find_page), (find_changed_cb), (ev_view_set_document),
5926 (ev_view_find_next), (ev_view_find_previous):
5928 * shell/ev-window.c: (find_bar_previous_cb), (find_bar_next_cb):
5930 More work on find implementation, mostly there now
5932 2005-01-29 Marco Pesenti Gritti <marco@gnome.org>
5934 * backend/ev-backend-marshalers.list:
5935 * backend/ev-document-find.c: (ev_document_find_base_init),
5936 (ev_document_find_cancel), (ev_document_find_page_has_results),
5937 (ev_document_find_get_n_results), (ev_document_find_get_result),
5938 (ev_document_find_get_progress), (ev_document_find_changed):
5939 * backend/ev-document-find.h:
5941 Enanche the find interface to be really able to do
5944 * pdf/xpdf/pdf-document.cc:
5948 * shell/ev-view.c: (ev_view_finalize), (highlight_find_results),
5949 (expose_bin_window), (ev_view_init),
5950 (ev_view_get_find_status_message), (find_changed_cb),
5951 (ev_view_set_document), (set_document_page):
5953 Adapt to the new interface. A few things are regressed sorry,
5954 I will finish it soon.
5956 2005-01-28 Martin Kretzschmar <martink@gnome.org>
5958 * shell/ev-sidebar-thumbnails.c (ev_sidebar_thumbnails_destroy)
5959 (ev_sidebar_thumbnails_class_init): use G_DEFINE_TYPE-supplied
5960 ev_sidebar_thumbnails_parent_class variable, don't define another
5961 parent_class variable.
5963 * shell/ev-page-action.c (connect_proxy, ev_page_action_finalize)
5964 (ev_page_action_class_init): ditto.
5966 * pixbuf/pixbuf-document.c (pixbuf_document_finalize)
5967 (pixbuf_document_class_init): ditto.
5969 * backend/ev-link.c (ev_window_dispose, ev_link_class_init):
5972 * .cvsignore: ignore various valgrind output files.
5974 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
5976 * data/evince-ui.xml:
5977 * shell/Makefile.am:
5978 * shell/ev-history.c:
5979 * shell/ev-history.h:
5980 * shell/ev-navigation-action.c:
5981 * shell/ev-navigation-action.h:
5982 * shell/ev-view.c: (ev_view_finalize), (ev_view_go_to_link),
5983 (ev_view_set_page), (ev_view_fit_width):
5985 * shell/ev-window.c: (update_action_sensitivity),
5986 (ev_window_setup_document), (register_custom_actions):
5988 Kill session history
5990 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
5992 * shell/ev-window.c: (update_action_sensitivity):
5994 Fix inverted up/down buttons
5996 2005-01-27 Martin Kretzschmar <martink@gnome.org>
5998 * shell/ev-sidebar-thumbnails.c
5999 (ev_sidebar_thumbnails_select_page): make sure the selected
6000 thumbnail stays visible.
6002 2005-01-26 Martin Kretzschmar <martink@gnome.org>
6004 * shell/ev-window.c (ev_window_init): add GTK_SHADOW_IN to the
6005 scrolled window for Federico.
6007 2005-01-26 Ole Laursen <olau@hardworking.dk>
6009 * configure.ac: Added "da" (Danish) to ALL_LINGUAS.
6011 2005-01-26 Marco Pesenti Gritti <marco@gnome.org>
6014 * pdf/splash/SplashFTFontEngine.cc:
6016 Fix CID fonts with freetype 2.1.9
6018 2005-01-26 Bryan Clark <clarkbw@cvs.gnome.org>
6020 * TODO: added item for desktop icon thumbnailer
6022 Tue Jan 25 00:59:34 2005 Jonathan Blandford <jrb@redhat.com>
6024 * pdf/xpdf/pdf-document.cc (pdf_document_get_title): guard against
6025 unloaded docs when the title is accessed.
6027 * shell/ev-password-view.[hc]: New widget for displaying password
6030 * shell/ev-window.[ch]: Refactor password handling code to handle
6033 2005-01-24 Marco Pesenti Gritti <marco@gnome.org>
6041 2005-01-23 Stephane LOEUILLET <stephane.loeuillet@tiscali.fr>
6043 * pdf/xpdf/pdf-document.cc (pdf_document_search_page_changed):
6044 ignore page offset here, to make search results independent of it,
6046 * shell/ev-view.c (expose_bin_window): but take offsets into
6047 account here. Bug #164932
6049 * pdf/xpdf/pdf-document.cc (pdf_document_get_link): divide by
6050 scale at the right time. Bug #164996
6052 2005-01-22 Martin Kretzschmar <martink@gnome.org>
6054 * pdf/xpdf/GlobalParams.cc: My 2005-01-05 change didn't actually
6055 fix the problem. Now I just removed the Adobe font names and hope
6056 that the URW fonts are always in outline format. Bug #164934
6058 * shell/ev-window.c (update_window_title): empty titles are
6059 useless, use filename in that case too.
6061 * NEWS: Add some content.
6063 2005-01-21 Bryan Clark <clarkbw@cvs.gnome.org>
6065 * TODO: added one more TODO item and a TODONE section :)
6067 2005-01-21 Martin Kretzschmar <martink@gnome.org>
6069 * ps/ps-document.h: add page_[xy]_offset fields.
6071 * ps/ps-document.c (ps_document_set_page_offset)
6072 (ps_document_render): Keep offset in consideration in a few
6073 places. Bug #164752 "postscript documents are not centered in
6076 * data/evince.desktop.in (X-GNOME-Bugzilla-Product):
6077 s/gpdf/evince/. Spotted by Stephane Loeuillet.
6079 * pixbuf/pixbuf-document.c (pixbuf_document_get_n_pages)
6080 (pixbuf_document_get_text, pixbuf_document_document_iface_init):
6081 stub out missing methods for complete EvDocument implementation.
6082 Fixes segfaults with Save A Copy and Copy actions.
6084 * ps/ps-document.c (ps_document_save, ps_document_get_text)
6085 (ps_document_document_iface_init): ditto.
6087 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
6091 * data/evince.desktop.in:
6095 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
6097 * shell/ev-view.c: (ev_view_button_press_event),
6098 (ev_view_motion_notify_event):
6100 Make selection work in any direction
6102 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
6105 * shell/ev-window.c: (set_short_labels), (ev_window_init):
6107 Use shorter labels for some of the toolbars items
6109 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
6111 * pdf/xpdf/pdf-document.cc:
6113 Check the links info is initialized before
6114 using it. Should fix a crash on startup.
6116 2005-01-21 Martin Kretzschmar <martink@gnome.org>
6118 * pixbuf/pixbuf-document.c
6119 (pixbuf_document_thumbnails_get_dimensions): force floating point
6120 division to calculate page_ratio. Fixes crash with landscape
6123 Thu Jan 20 18:56:35 2005 Jonathan Blandford <jrb@redhat.com>
6125 * shell/ev-view.c (ev_view_realize): make the bg color darker.
6127 2005-01-20 Martin Kretzschmar <martink@gnome.org>
6129 * shell/ev-view.c (set_document_page): unset has_selection when
6131 (set_document_page): handle paper size changes when the page
6132 changes (test with Free Culture, page 2).
6134 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
6136 * shell/ev-view.c: (ev_view_size_request), (ev_view_realize),
6137 (expose_bin_window), (ev_view_class_init), (ev_view_init):
6139 Use normal style color for the widget background and
6140 draw a black box around the page.
6142 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
6144 * pdf/xpdf/pdf-document.cc:
6146 Keep offset in consideration in a few places
6148 * shell/ev-view.c: (expose_bin_window):
6150 Set the offsets so that the document is ever centered
6152 2005-01-20 Bryan Clark <clarkbw@cvs.gnome.org>
6154 * TODO: Added TODO items and finished off the first todo item
6156 * AUTHORS: Updated AUTHORS section with piece from gpdf file and
6157 reflect current authors
6159 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
6161 * pdf/xpdf/pdf-document.cc:
6162 * shell/ev-view.c: (ev_view_set_cursor),
6163 (ev_view_motion_notify_event), (document_changed_callback),
6164 (set_document_page):
6166 Show a wait cursor while the page is rendering
6168 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
6170 * shell/ev-sidebar-thumbnails.c:
6171 (ev_sidebar_tree_selection_changed),
6172 (ev_sidebar_thumbnails_select_page):
6173 * shell/ev-sidebar-thumbnails.h:
6174 * shell/ev-view.c: (ev_view_set_document), (ev_view_can_go_back),
6175 (ev_view_can_go_forward):
6176 * shell/ev-window.c: (ev_window_open_page),
6177 (ev_window_setup_document), (update_current_page),
6178 (view_page_changed_cb), (ev_window_init):
6179 * shell/ev-window.h:
6181 Ensure thumbnails selection, toolbar page control and
6182 current page are in sync.
6184 2005-01-19 Marco Pesenti Gritti <marco@gnome.org>
6190 Wed Jan 19 01:10:57 2005 Jonathan Blandford <jrb@redhat.com>
6192 * backend/Makefile.am:
6193 * backend/ev-document-links.h:
6194 * backend/ev-document-security.c: (ev_document_security_get_type),
6195 (ev_document_security_has_document_security),
6196 (ev_document_security_set_password):
6197 * backend/ev-document-security.h:
6198 * backend/ev-document.c: (ev_document_error_quark):
6199 * backend/ev-document.h:
6201 * data/evince-password.glade:
6202 * pdf/xpdf/pdf-document.cc:
6203 * shell/Makefile.am:
6204 * shell/ev-password.c: (ev_password_set_bad_password_label),
6205 (ev_window_password_entry_changed_cb), (ev_password_dialog_new),
6206 (ev_password_dialog_get_password),
6207 (ev_password_dialog_set_bad_pass):
6208 * shell/ev-password.h:
6209 * shell/ev-window.c: (ev_window_get_attribute),
6210 (ev_window_set_property), (update_action_sensitivity),
6211 (ev_window_is_empty), (mime_type_supported_by_gdk_pixbuf),
6212 (ev_window_setup_document), (ev_window_get_password),
6213 (ev_window_open), (ev_window_cmd_save_as),
6214 (using_postscript_printer), (ev_window_print),
6215 (find_not_supported_dialog), (ev_window_cmd_edit_find),
6216 (update_fullscreen_popup), (ev_window_fullscreen),
6217 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
6218 (ev_window_focus_out_cb), (ev_window_cmd_help_about),
6219 (menu_item_select_cb), (find_bar_search_changed_cb),
6220 (ev_window_dispose), (ev_window_init):
6222 Add initial support for password-supported dialogs. This could be
6223 a lot cooler, but it'll do for now.
6225 2005-01-18 Marco Pesenti Gritti <marco@gnome.org>
6227 * pdf/xpdf/pdf-document.cc:
6228 * shell/ev-view.c: (status_message_from_link),
6229 (ev_view_set_status), (ev_view_set_cursor),
6230 (ev_view_motion_notify_event), (ev_view_init):
6231 * shell/ev-window.c: (view_status_changed_cb), (ev_window_init):
6233 Fix bugs in the links implementation and change cursor
6234 when hovering a link.
6236 2005-01-17 Bryan Clark <clarkbw@cvs.gnome.org>
6238 * viewer/.cvsignore: added cvsignore file for viewer directory
6240 * TODO: created TODO document
6242 2005-01-14 Dave Malcolm <dmalcolm@redhat.com>
6245 * shell/ev-view.c (ev_view_can_go_back), (ev_view_can_go_forward):
6246 new functions to help with implementation of sensitivity code
6247 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
6248 of all actions that might require it. Fixes a crash when you
6249 click on the Zoom actions in a window lacking a document.
6251 2005-01-13 Dave Malcolm <dmalcolm@redhat.com>
6253 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
6256 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
6258 * pixbuf/pixbuf-document.c: (pixbuf_document_get_link),
6259 (pixbuf_document_document_iface_init):
6260 * ps/ps-document.c: (ps_document_get_link),
6261 (ps_document_document_iface_init):
6262 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event),
6263 (status_message_from_link), (ev_view_set_status),
6264 (ev_view_set_find_status), (ev_view_motion_notify_event),
6265 (ev_view_button_release_event), (ev_view_set_property),
6266 (ev_view_get_property), (ev_view_class_init), (ev_view_init),
6267 (ev_view_get_find_status_message), (update_find_results),
6268 (ev_view_get_status), (ev_view_get_find_status):
6270 * shell/ev-window.c: (view_status_changed_cb),
6271 (view_find_status_changed_cb), (ev_window_init):
6273 View status message support, use it to show the links.
6276 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
6278 * backend/ev-document.c: (ev_document_get_link):
6279 * backend/ev-document.h:
6280 * pdf/xpdf/pdf-document.cc:
6281 * shell/ev-application.c: (ev_application_open):
6282 * shell/ev-application.h:
6283 * shell/ev-sidebar-links.c: (selection_changed_cb):
6284 * shell/ev-view.c: (ev_view_button_release_event), (go_to_link),
6285 (ev_view_go_to_link):
6287 Add support for document links
6289 2005-01-13 Anders Carlsson <andersca@gnome.org>
6291 * shell/ev-page-action.c: (update_spin), (total_pages_changed_cb),
6293 Set the spin button limits correctly.
6295 * shell/ev-sidebar-thumbnails.c:
6296 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init):
6297 Support changing pages by clicking on the thumbnails.
6299 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
6301 * pixbuf/pixbuf-document.c:
6302 (pixbuf_document_thumbnails_get_dimensions),
6303 (pixbuf_document_document_thumbnails_iface_init):
6305 implement get_dimensions
6307 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
6309 * ps/ps-document.c: (ps_document_goto_page):
6311 Fix page switching on multipage documents
6313 2005-01-12 Jeff Muizelaar <jrmuizel@nit.ca>
6315 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
6317 check for NULL before assigning to width and height parameters
6319 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
6321 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
6322 (pixbuf_document_set_property), (pixbuf_document_get_property):
6324 implement get/set properties
6326 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
6328 * pdf/xpdf/pdf-document.cc: (pdf_info_dict_get_string):
6330 return NULL instead of "Unknown", letting the title get set to
6331 the filename when the pdf has no title.
6333 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
6335 * ps/ps-document.c: (ps_document_get_page_count),
6336 (ps_document_goto_page):
6338 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
6340 * shell/ev-history.c: (ev_history_get_property),
6341 (ev_history_set_property), (ev_history_class_init),
6342 (ev_history_add_page), (ev_history_set_current_index):
6343 * shell/ev-navigation-action.c: (ev_navigation_action_set_history),
6344 (activate_menu_item_cb), (new_history_menu_item), (build_menu),
6345 (ev_navigation_action_finalize):
6346 * shell/ev-navigation-action.h:
6347 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
6348 (ev_view_go_forward), (ev_view_get_find_status_message),
6349 (history_index_changed_cb), (ev_view_set_history):
6351 * shell/ev-window.c: (update_total_pages), (ev_window_open),
6352 (update_current_page), (register_custom_actions):
6354 Implement history dropdowns
6356 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
6358 * shell/ev-history.c: (ev_history_init), (ev_history_add_link):
6359 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
6360 (ev_view_go_forward):
6361 * shell/ev-window.c: (register_custom_actions):
6363 Fix several history bugs
6365 2005-01-11 Kjartan Maraas <kmaraas@gnome.org>
6367 * configure.ac: Add «nb» to ALL_LINGUAS.
6369 2005-01-10 Marco Pesenti Gritti <marco@gnome.org>
6371 * backend/Makefile.am:
6372 * backend/ev-bookmark.c:
6373 * backend/ev-bookmark.h:
6374 * backend/ev-document-bookmarks.c:
6375 * backend/ev-document-bookmarks.h:
6376 * backend/ev-document-links.c: (ev_document_links_get_type),
6377 (ev_document_links_has_document_links),
6378 (ev_document_links_begin_read), (ev_document_links_get_link),
6379 (ev_document_links_get_child), (ev_document_links_next),
6380 (ev_document_links_free_iter):
6381 * backend/ev-document-links.h:
6382 * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_title),
6383 (ev_link_set_title), (ev_link_get_uri), (ev_link_set_uri),
6384 (ev_link_get_link_type), (ev_link_set_link_type),
6385 (ev_link_get_page), (ev_link_set_page), (ev_link_get_property),
6386 (ev_link_set_property), (ev_window_dispose), (ev_link_init),
6387 (ev_link_class_init), (ev_link_new_title), (ev_link_new_page),
6388 (ev_link_new_external):
6389 * backend/ev-link.h:
6390 * pdf/xpdf/pdf-document.cc:
6391 * shell/Makefile.am:
6392 * shell/ev-application.c: (ev_application_open_link):
6393 * shell/ev-application.h:
6394 * shell/ev-history.c: (ev_history_add_link), (ev_history_add_page),
6395 (ev_history_get_link_nth):
6396 * shell/ev-history.h:
6397 * shell/ev-sidebar-bookmarks.c:
6398 * shell/ev-sidebar-bookmarks.h:
6399 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
6400 (ev_sidebar_links_class_init), (selection_changed_cb),
6401 (ev_sidebar_links_construct), (ev_sidebar_links_init),
6402 (links_page_num_func), (ev_sidebar_links_new), (stack_data_free),
6403 (do_one_iteration), (populate_links_idle),
6404 (ev_sidebar_links_clear_document), (ev_sidebar_links_set_document):
6405 * shell/ev-sidebar-links.h:
6406 * shell/ev-sidebar.c: (ev_sidebar_set_document):
6407 * shell/ev-view.c: (go_to_link), (ev_view_go_to_link),
6410 * shell/ev-window.c: (ev_window_open_link), (ev_window_init):
6411 * shell/ev-window.h:
6413 Rename bookmark to link, and use "Index" for the sidebar panel.
6415 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
6417 * shell/Makefile.am:
6418 * shell/ev-application.c: (ev_application_open_bookmark):
6419 * shell/ev-application.h:
6420 * shell/ev-history.c: (ev_history_init), (free_links_list),
6421 (ev_history_finalize), (ev_history_class_init),
6422 (ev_history_add_link), (ev_history_add_page),
6423 (ev_history_get_link_nth), (ev_history_get_n_links),
6424 (ev_history_get_current_index), (ev_history_set_current_index),
6426 * shell/ev-history.h:
6427 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
6428 * shell/ev-view.c: (ev_view_finalize), (ev_view_set_document),
6429 (set_document_page), (go_to_bookmark), (ev_view_go_to_bookmark),
6430 (go_to_index), (ev_view_go_back), (ev_view_go_forward),
6433 * shell/ev-window.c: (ev_window_open_bookmark),
6434 (ev_window_cmd_go_back), (ev_window_cmd_go_forward),
6435 (goto_page_cb), (register_custom_actions):
6436 * shell/ev-window.h:
6438 Initial history implementation. Needs work.
6440 2005-01-09 Martin Kretzschmar <martink@gnome.org>
6442 * pdf/xpdf/GDKSplashOutputDev.cc (redraw): fix pixbuf data offset.
6444 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
6446 * cut-n-paste/recent-files/egg-recent-item.c:
6447 * cut-n-paste/recent-files/egg-recent-item.h:
6448 * cut-n-paste/recent-files/egg-recent-model.c:
6449 * cut-n-paste/recent-files/egg-recent-util.c:
6450 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
6451 * cut-n-paste/recent-files/egg-recent-view.c:
6455 2005-01-08 Martin Kretzschmar <martink@gnome.org>
6457 * pdf/splash/Splash.cc (clear, drawPixel, drawSpan, xorSpan, getPixel)
6458 (fillGlyph, fillImageMask, drawImage):
6459 pdf/splash/SplashBitmap.cc (SplashBitmap, ~SplashBitmap, writePNMFile):
6460 pdf/splash/SplashTypes.h:
6461 pdf/xpdf/SplashOutputDev (startPage, getColor, imageSrc): implement RGB8
6462 packed mode for Splash.
6464 * pdf/xpdf/GDKSplashOutputDev.cc (GDKSplashOutputDev, redraw): use
6465 RGB8 packed mode, eliminates the pixbuf data creation loop.
6467 * shell/ev-print-job.c (ev_print_job_finalize)
6468 (ev_print_job_set_property, ev_print_job_get_property)
6469 (ev_print_job_set_gnome_print_job, ev_print_job_set_document)
6470 (ev_print_job_use_print_dialog_settings, idle_print_handler)
6471 (print_closure_finalize, ev_print_job_print): implement
6472 printing (for backends with EvPsExporter)
6474 * shell/ev_print_job.h: update prototypes.
6476 * shell/ev-window.c (ev_window_print): unref print job after
6479 * shell/ev-view.c (ev_view_set_document): don't connect to "found"
6480 unless the document implements the EvDocumentFind interface.
6482 2005-01-08 Satoru SATOH <ss@gnome.gr.jp>
6484 * configure.ac: Added ja to ALL_LINGUAS.
6486 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
6488 * pdf/xpdf/pdf-document.cc:
6490 add a FIXME. We should probably not allocate
6491 a bookmark object every time
6493 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
6495 * shell/ev-application.c: (ev_application_open),
6496 (ev_application_open_bookmark):
6497 * shell/ev-application.h:
6499 Add a way to open bookmarks
6501 * backend/ev-bookmark.c: (ev_bookmark_get_uri),
6502 (ev_bookmark_set_uri), (ev_bookmark_get_property),
6503 (ev_bookmark_set_property), (ev_bookmark_class_init),
6504 (ev_bookmark_new_title), (ev_bookmark_new_link),
6505 (ev_bookmark_new_external):
6507 Support for external uris, better constructors.
6509 * backend/ev-bookmark.h:
6510 * pdf/xpdf/pdf-document.cc:
6511 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
6513 Handle external uris
6515 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
6517 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb),
6518 (ev_sidebar_bookmarks_construct), (do_one_iteration):
6520 Hook up bookmarks navigation
6522 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
6524 * backend/Makefile.am:
6525 * backend/ev-bookmark.c: (ev_bookmark_type_get_type),
6526 (ev_bookmark_get_title), (ev_bookmark_set_title),
6527 (ev_bookmark_get_bookmark_type), (ev_bookmark_set_bookmark_type),
6528 (ev_bookmark_get_page), (ev_bookmark_set_page),
6529 (ev_bookmark_get_property), (ev_bookmark_set_property),
6530 (ev_window_dispose), (ev_bookmark_init), (ev_bookmark_class_init),
6532 * backend/ev-bookmark.h:
6533 * backend/ev-document-bookmarks.c:
6534 (ev_document_bookmarks_get_bookmark):
6535 * backend/ev-document-bookmarks.h:
6536 * pdf/xpdf/pdf-document.cc:
6537 * shell/ev-sidebar-bookmarks.c: (do_one_iteration):
6539 Add a bookmark object to the backend and use it instead of get_values
6541 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
6543 * data/evince-ui.xml:
6545 Cleanup and add select all.
6547 * shell/ev-view.c: (ev_view_select_all),
6548 (ev_view_button_press_event):
6550 * shell/ev-window.c: (ev_window_cmd_edit_select_all):
6553 Clear selection on click.
6555 Fri Jan 7 01:28:58 2005 Jonathan Blandford <jrb@redhat.com>
6557 * shell/ev-sidebar-thumbnails.c
6558 (ev_sidebar_thumbnails_set_document): forgot to unref the
6561 Fri Jan 7 01:22:48 2005 Jonathan Blandford <jrb@redhat.com>
6563 * shell/ev-sidebar-thumbnails.c: fill in the thumbnails starting
6564 at the visible page, not just linearly. This makes it look fast.
6566 Thu Jan 6 18:48:11 2005 Jonathan Blandford <jrb@redhat.com>
6568 * backend/ev-document-misc.c
6569 (ev_document_misc_get_thumbnail_frame): fill in the thumbnail with
6571 * backend/ev-document-thumbnails.h: New interface to get the size
6574 2005-01-06 Jeremy Katz <katzj@redhat.com>
6576 * shell/Makefile.am (evince_SOURCES): Add ev-utils.[ch] so that
6579 Wed Jan 5 15:38:28 2005 Jonathan Blandford <jrb@redhat.com>
6581 * pdf/xpdf/pdf-document.cc (bitmap_to_pixbuf): bypass
6582 GDKSplashOutputDev and just use a normal SplashOutputDev. Speeds
6585 * shell/ev-sidebar-thumbnail.c: start of some profiling code.
6587 2005-01-05 Martin Kretzschmar <martink@gnome.org>
6589 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): match only outline
6590 fonts. Should fix font problems on systems that have the base
6591 fonts in bitmap format. Reported by James Henstridge
6592 <james@jamesh.id.au>.
6594 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
6597 * pdf/xpdf/GfxState.cc:
6599 Fix for CAN-2004-1125
6601 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
6603 * shell/ev-view.c: (ev_view_copy):
6605 * shell/ev-window.c: (ev_window_cmd_edit_copy):
6607 Implement Edit->Copy
6609 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
6611 * backend/ev-document.c: (ev_document_get_text):
6612 * backend/ev-document.h:
6613 * pdf/xpdf/pdf-document.cc:
6614 * shell/ev-view.c: (ev_view_realize), (expose_bin_window),
6615 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
6616 (ev_view_update_primary_selection), (ev_view_button_press_event),
6617 (ev_view_motion_notify_event), (ev_view_button_release_event):
6619 Beginnings of clipboard support. Incomplete but primary sort
6622 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
6624 * shell/ev-view.c: (ev_gdk_color_to_rgb), (draw_rubberband),
6625 (expose_bin_window):
6627 Nicer rubberband drawing, from GtkIconView.
6629 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
6631 * backend/ev-document.c: (ev_document_save):
6632 * backend/ev-document.h:
6633 * data/evince-ui.xml:
6634 * pdf/xpdf/pdf-document.cc:
6635 * shell/ev-window.c: (save_error_dialog), (ev_window_cmd_save_as):
6637 Implement "Save a copy..." menu item
6639 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
6641 * shell/ev-view.c: (ev_view_zoom):
6643 Queue a resize when zoom changes
6645 Wed Jan 5 02:33:06 2005 Jonathan Blandford <jrb@redhat.com>
6647 * backend/ev-document-misc.[ch]: New misc file to do simple drop
6650 * pdf/xpdf/pdf-document.cc: use the drop shadows in both types of
6653 Tue Jan 4 22:32:32 2005 Jonathan Blandford <jrb@redhat.com>
6655 * pdf/xpdf/pdf-document.cc
6656 (pdf_document_thumbnails_get_page_pixbuf): poor man's dropshadow.
6658 Tue Jan 4 21:25:05 2005 Jonathan Blandford <jrb@redhat.com>
6660 * pdf/xpdf/pdf-document.cc: Do real thumbnailing of PDF files.
6661 It's slow, but I'll speed it up next!
6663 2005-01-04 Jeff Muizelaar <jrmuizel@nit.ca>
6665 * shell/main.c (load_files):
6667 use gnome_vfs_make_uri_from_shell_arg so that relative paths work
6668 from the command line and because it seems more appropriate.
6670 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
6672 * data/evince-ui.xml:
6673 * shell/ev-window.c: (update_action_sensitivity),
6674 (ev_window_cmd_go_page_up), (ev_window_cmd_go_page_down):
6676 s/next page/page down
6677 s/previous page/page up
6679 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
6681 * data/evince-ui.xml:
6683 Change the layout to match clarkbw design.
6685 * shell/Makefile.am:
6686 * shell/ev-navigation-action.c: (build_menu), (menu_activated_cb),
6687 (set_tooltip_cb), (connect_proxy), (ev_navigation_action_init),
6688 (ev_navigation_action_finalize),
6689 (ev_navigation_action_set_property),
6690 (ev_navigation_action_get_property),
6691 (ev_navigation_action_class_init):
6692 * shell/ev-navigation-action.h:
6694 Implement clarkbw toolbar navigation controls (incomplete)
6696 * shell/ev-page-action.c: (update_label), (update_spin),
6697 (value_changed_cb), (create_tool_item), (connect_proxy),
6698 (ev_page_action_init), (ev_page_action_finalize),
6699 (ev_page_action_set_property), (ev_page_action_get_property),
6700 (ev_page_action_set_current_page),
6701 (ev_page_action_set_total_pages), (ev_page_action_class_init):
6702 * shell/ev-page-action.h:
6704 Implement a page switcher in the toolbar
6706 * shell/ev-view.c: (ev_view_scroll_view):
6707 * shell/ev-window.c: (update_total_pages), (ev_window_open),
6708 (update_current_page), (view_page_changed_cb), (goto_page_cb),
6709 (register_custom_actions), (ev_window_init):
6711 Change page on PageUp/Down.
6713 Tue Jan 4 03:22:56 2005 Jonathan Blandford <jrb@redhat.com>
6715 * pdf/xpdf/pdf-document.cc
6716 (pdf_document_thumbnails_get_thumbnail): initial stab at
6717 implementing thumbnail support for pdfs. It only does documents
6718 with precached pdfs now.
6720 Mon Jan 3 17:22:25 2005 Jonathan Blandford <jrb@redhat.com>
6722 * shell/ev-sidebar-thumbnails.c (do_one_iteration): move the
6723 thumbnail code into a time-based idle as well. Also, turn off the
6724 shadow temporarily as it's really slow.
6726 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
6728 * backend/ev-document.c: (ev_document_class_init):
6729 * pdf/xpdf/pdf-document.cc:
6730 * shell/ev-window.c: (ev_window_open):
6732 Fix document title bugs and fallback to
6733 filename when not available.
6735 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
6737 * backend/ev-document.c: (ev_document_get_type),
6738 (ev_document_class_init), (ev_document_load),
6739 (ev_document_get_title):
6740 * backend/ev-document.h:
6741 * pdf/xpdf/pdf-document.cc:
6742 * ps/ps-document.c: (ps_document_set_property),
6743 (ps_document_get_property), (ps_document_class_init),
6747 * shell/ev-window.c: (update_window_title), (ev_window_open),
6750 Initial support for document title. Not working yet.
6752 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
6754 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event):
6756 Grab focus on the view when clicking it
6758 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
6760 * shell/ev-marshal.list:
6761 * shell/ev-view.c: (ev_view_realize), (add_scroll_binding),
6762 (ev_view_scroll_view), (ev_view_class_init), (ev_view_init):
6764 Add key bindings to the view. Now if the focus would work
6767 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
6770 * backend/Makefile.am:
6773 * dvi/dvilib/Makefile.am:
6774 * pdf/xpdf/Makefile.am:
6780 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
6782 * shell/ev-view.c: (ev_view_realize):
6784 Fix mouse wheel scrolling
6786 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
6792 * ps/ps-document.c: (catchPipe), (ps_document_init),
6793 (ps_document_class_init), (ps_document_cleanup),
6794 (ps_document_finalize), (send_ps), (ps_document_get_orientation),
6795 (set_up_page), (close_pipe), (is_interpreter_ready),
6796 (interpreter_failed), (output), (input), (start_interpreter),
6797 (stop_interpreter), (file_length), (file_readable),
6798 (check_filecompressed), (check_pdf), (compute_xdpi),
6799 (compute_ydpi), (compute_size), (ps_document_enable_interpreter),
6800 (ps_document_get_type), (ps_document_emit_error_msg),
6801 (document_load), (ps_document_next_page),
6802 (ps_document_get_current_page), (ps_document_get_page_count),
6803 (ps_document_goto_page), (ps_document_set_page_size),
6804 (ps_document_zoom_to_fit), (ps_document_set_zoom),
6805 (ps_document_load), (ps_document_get_n_pages),
6806 (ps_document_set_page), (ps_document_get_page),
6807 (ps_document_widget_event), (ps_document_set_target),
6808 (ps_document_set_scale), (ps_document_set_page_offset),
6809 (ps_document_get_page_size), (ps_document_render),
6810 (ps_document_document_iface_init):
6813 * shell/ev-window.c: (ev_window_open):
6815 Rename GtkGS to PSDocument
6817 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
6819 * ps/gtkgs.c: (gtk_gs_class_init):
6822 Some more leftover...
6824 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
6826 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_get_orientation),
6827 (output), (stop_interpreter), (gtk_gs_emit_error_msg),
6828 (gtk_gs_zoom_to_fit), (gtk_gs_set_zoom):
6831 Remove unused code and make a lot of stuff private
6833 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
6835 * ps/gsdefaults.c: (gtk_gs_defaults_gconf_client),
6836 (gtk_gs_defaults_changed):
6842 Cleanup headers dependencies
6844 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
6849 * ps/gsdefaults.c: (gtk_gs_defaults_get_paper_sizes):
6851 * ps/gtkgs.c: (file_length), (file_readable),
6852 (check_filecompressed), (check_pdf), (gtk_gs_load),
6853 (gtk_gs_get_postscript):
6857 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
6862 * ps/gtkgs.c: (gtk_gs_set_zoom):
6866 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
6868 * ps/gtkgs.c: (gtk_gs_set_zoom), (gtk_gs_set_zoom_mode):
6870 Ensure the page is rerendered when changing zoom
6872 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
6874 * backend/ev-document.c: (ev_document_base_init),
6875 (ev_document_changed):
6876 * backend/ev-document.h:
6878 Add a changed event that is emitted when the page content
6879 changes. This is necessary to deal with the fact that
6880 in ps backend rendering happen asycrounously.
6881 This makes the ps backend mostly work.
6883 * pdf/xpdf/pdf-document.cc:
6887 * ps/gtkgs.c: (set_up_page), (gtk_gs_widget_event),
6888 (ps_document_set_target):
6892 * shell/ev-view.c: (document_changed_callback),
6893 (ev_view_set_document), (ev_view_set_page):
6895 Redraw on the changed signal
6897 2004-12-25 Raphael Higino <raphaelh@cvs.gnome.org>
6899 * configure.ac: Added pt_BR to ALL_LINGUAS.
6901 Fri Dec 24 00:48:44 2004 Jonathan Blandford <jrb@redhat.com>
6903 * backend/ev-document-bookmarks.c:
6904 (ev_document_bookmarks_get_child): *
6905 backend/ev-document-bookmarks.h: * pdf/xpdf/Makefile.am: *
6906 pdf/xpdf/pdf-document.cc: * pdf/xpdf/pdf-document.h: *
6907 shell/Makefile.am: * shell/ev-sidebar-bookmarks.c:
6908 (ev_sidebar_bookmarks_destroy),
6909 (ev_sidebar_bookmarks_class_init),
6910 (ev_sidebar_bookmarks_construct), (stack_data_free),
6911 (do_one_iteration), (populate_bookmarks_idle),
6912 (ev_sidebar_bookmarks_clear_document),
6913 (ev_sidebar_bookmarks_set_document): *
6914 shell/ev-sidebar-bookmarks.h: * shell/ev-sidebar.c:
6915 (ev_sidebar_add_page),
6916 (ev_sidebar_set_document): * shell/ev-window.c: (ev_window_open):
6917 Initial stab at a bookmarks sidebar. It doesn't navigate yet, but
6918 it displays both the topics and the page numbers.
6920 2004-12-23 Kristian Høgsberg <krh@redhat.com>
6922 * shell/ev-window.c (ev_window_view_sidebar_cb): Hook up sidebar
6924 * shell/ev-window.c (toggle_entries): Set sidebar default value to
6927 2004-12-23 Adam Weinberger <adamw@gnome.org>
6929 * configure.ac: Added en_CA to ALL_LINGUAS.
6931 2004-12-23 Martin Kretzschmar <martink@gnome.org>
6933 * ChangeLog: replace bottom of this ChangeLog (merged history of
6934 ggv and gpdf; where all paths were wrong and most of the files are
6935 not even in this tree) with ChangeLog (from arch) of the shell
6938 2004-12-23 Havoc Pennington <hp@redhat.com>
6940 * shell/ev-window.c: hook up potentially-questionable "find
6941 results status text" feature - something involving the sidebar or
6942 scrollbar or a continuous all-pages-on-giant-roll-of-paper-view
6943 might be better in the end.
6945 * shell/ev-view.c (ev_view_get_find_status_message): new function,
6946 with corresponding signal when it should be updated
6948 * shell/eggfindbar.c (egg_find_bar_set_status_text): new function
6950 2004-12-22 Havoc Pennington <hp@redhat.com>
6952 * pdf/xpdf/pdf-document.cc (pdf_document_find_begin): make search
6953 find stuff on other pages, sort of (only returns one result on
6954 invisible pages, to show they have results; updates full results
6955 for a page when you view it). Currently repaints the current page
6956 every time a new result is found on any page, which isn't so nice.
6958 2004-12-22 Havoc Pennington <hp@redhat.com>
6960 * shell/ev-window.c (ev_window_cmd_edit_find): display an error if
6961 the document doesn't support find (better ideas?)
6962 (find_bar_search_changed_cb): handle missing document or document
6963 that doesn't support find
6965 * pdf/xpdf/pdf-document.cc: port to implement the new
6968 * backend/ev-document-find.c: create a new interface for searching
6970 * backend/ev-document.h, backend/ev-document.c: delete the find stuff
6972 2004-12-23 Martin Kretzschmar <martink@gnome.org>
6974 * pdf/xpdf/Makefile.am (libpdfdocument_la_LIBADD): add
6977 * shell/ev-window.c (ev_window_print): add GnomePrintJob to
6978 EvPrintJob constructor arguments.
6980 * backend/ev-ps-exporter.c, backend/ev-ps-exporter.h: interface
6981 for documents that can export PostScript (page by page).
6983 * backend/Makefile.am (libevbackend_la_SOURCES): add them.
6985 * pdf/xpdf/pdf-document.cc (pdf_document_ps_export_begin)
6986 (pdf_document_ps_export_do_page, pdf_document_ps_export_end)
6987 (pdf_document_ps_exporter_iface_init:
6988 Implement EvPSExporter.
6990 * pdf/xpdf/Makefile.am (libxpdf_la_SOURCES): build PSOutputDev.
6992 2004-12-22 Anders Carlsson <andersca@gnome.org>
6994 * backend/Makefile.am:
6995 * backend/ev-document-thumbnails.c:
6996 (ev_document_thumbnails_get_type),
6997 (ev_document_thumbnails_get_thumbnail):
6998 * backend/ev-document-thumbnails.h:
6999 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
7000 (pixbuf_document_thumbnails_get_thumbnail),
7001 (pixbuf_document_document_thumbnails_iface_init):
7002 * shell/Makefile.am:
7003 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_destroy),
7004 (ev_sidebar_thumbnails_class_init), (ev_sidebar_thumbnails_init),
7005 (populate_thumbnails), (ev_sidebar_thumbnails_set_document):
7006 * shell/ev-sidebar-thumbnails.h:
7007 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
7008 (ev_sidebar_set_document):
7009 * shell/ev-utils.c: (gaussian), (create_blur_filter),
7010 (create_shadow), (ev_pixbuf_add_shadow):
7012 Add thumbnail support.
7014 2004-12-22 Martin Kretzschmar <martink@gnome.org>
7016 * shell/ev-window.c (ev_window_cmd_file_print, ev_window_print)
7017 (using_postscript_printer): Set up a print dialog for "PostScript
7020 * shell/ev-print-job.h, shell/ev-print-job.c: stub classes for
7023 * shell/Makefile.am (evince_SOURCES): add ev-print-job.[ch]
7025 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
7027 * ps/gtkgs.c: (gtk_gs_init), (set_up_page),
7028 (ps_document_set_target), (ps_document_get_page_size),
7029 (ps_document_render):
7034 2004-12-22 Christian Rose <menthos@menthos.com>
7036 * configure.ac: Added "sv" to ALL_LINGUAS.
7038 Wed Dec 22 14:47:38 2004 Jonathan Blandford <jrb@redhat.com>
7040 * backend/ev-document-bookmarks.[ch]: new interface to indicate
7041 document supports bookmarks.
7043 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
7045 * ps/ggvutils.c: (ggv_file_readable):
7047 * ps/gtkgs.c: (check_filecompressed), (check_pdf),
7048 (gtk_gs_get_postscript):
7052 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
7054 * ps/gtkgs.c: (gtk_gs_init), (gtk_gs_class_init), (gtk_gs_cleanup),
7055 (gtk_gs_finalize), (gtk_gs_set_center), (set_up_page), (output),
7056 (start_interpreter), (compute_size), (gtk_gs_enable_interpreter),
7057 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_reload),
7058 (gtk_gs_emit_error_msg), (gtk_gs_disable_interpreter),
7059 (gtk_gs_load), (gtk_gs_goto_page), (gtk_gs_set_page_size),
7060 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
7061 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
7062 (gtk_gs_set_antialiasing), (ps_document_load),
7063 (ps_document_render):
7066 Another check point for the ps backend. Now I can get it to show
7069 Wed Dec 22 13:41:01 2004 Jonathan Blandford <jrb@redhat.com>
7071 * shell/ev-sidebar.c (ev_sidebar_set_document): initial sidebar
7072 document setting code.
7074 2004-12-22 Anders Carlsson <andersca@gnome.org>
7076 * shell/eggfindbar.c: (entry_activate_callback):
7077 Animate the next button when activate is pressed.
7079 2004-12-22 Anders Carlsson <andersca@gnome.org>
7081 * shell/ev-window.c: (ev_window_cmd_edit_find),
7082 (update_fullscreen_popup), (ev_window_fullscreen),
7083 (ev_window_unfullscreen), (ev_window_state_event_cb),
7084 (ev_window_focus_out_cb), (find_bar_close_cb), (ev_window_init):
7085 Fix bugs in fullscreen code.
7087 2004-12-22 Anders Carlsson <andersca@gnome.org>
7091 * pixbuf/Makefile.am:
7092 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
7093 (pixbuf_document_load), (pixbuf_document_get_n_pages),
7094 (pixbuf_document_set_page), (pixbuf_document_get_page),
7095 (pixbuf_document_set_target), (pixbuf_document_set_scale),
7096 (pixbuf_document_set_page_offset), (pixbuf_document_get_page_size),
7097 (pixbuf_document_render), (pixbuf_document_begin_find),
7098 (pixbuf_document_end_find), (pixbuf_document_finalize),
7099 (pixbuf_document_class_init),
7100 (pixbuf_document_document_iface_init), (pixbuf_document_init):
7101 * pixbuf/pixbuf-document.h:
7102 * shell/Makefile.am:
7103 * shell/ev-application.c: (ev_application_open):
7104 * shell/ev-window.c: (mime_type_supported_by_gdk_pixbuf),
7108 Tue Dec 21 21:45:43 2004 Soeren Sandmann <sandmann@redhat.com>
7111 * dvi/dvilib/Makefile.am:
7113 * configure.ac: Auto*ify dvi and dvi/dvilib
7115 * dvi/Makefile: Remove from CVS
7117 * dvi/dvilib/dl-pkfont.cc (unpack_bitmap): Fix uchar/uint
7120 * dvi/dvilib/dl-fontdefinition.{cc,hh}: New DviFontMap class
7122 * dvi/dvilib/dl-vffont.{cc,hh}: Many bugfixes to VF code.
7124 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
7127 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_finalize),
7128 (gtk_gs_value_adjustment_changed), (compute_size),
7129 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_new_from_file),
7130 (gtk_gs_center_page), (gtk_gs_load), (gtk_gs_set_page_size),
7131 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
7132 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
7133 (gtk_gs_start_scroll), (gtk_gs_get_postscript),
7134 (gtk_gs_set_adjustments), (gtk_gs_set_available_size),
7135 (ps_document_load), (ps_document_get_n_pages),
7136 (ps_document_set_page), (ps_document_get_page),
7137 (ps_document_set_target), (ps_document_set_scale),
7138 (ps_document_set_page_offset), (ps_document_get_page_size),
7139 (ps_document_render), (ps_document_begin_find),
7140 (ps_document_end_find), (ps_document_document_iface_init):
7142 * shell/Makefile.am:
7143 * shell/ev-window.c: (ev_window_open):
7145 Some work to integrate gtkgs with EvDocument
7147 2004-12-22 Anders Carlsson <andersca@gnome.org>
7149 * shell/ev-window.c: (update_fullscreen_popup),
7150 (screen_size_changed_cb), (destroy_exit_fullscreen_popup),
7151 (exit_fullscreen_button_clicked_cb),
7152 (fullscreen_popup_size_request_cb), (ev_window_fullscreen),
7153 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
7154 (ev_window_state_event_cb), (ev_window_init):
7155 Add fullscreen support from Epiphany.
7157 2004-12-22 Mark McLoughlin <mark@skynet.ie>
7159 * data/ev-stock-zoom-fit-width.png: fit-width
7160 stock icon from gpdf.
7162 * shell/ev-stock-icons.[ch]: copied from gpdf.
7164 * shell/main.c: (main): init stock icons.
7166 * shell/ev-window.c: use the fit-width icon.
7168 * data/evince-ui.xml: add zooming toolbar items.
7170 2004-12-22 Mark McLoughlin <mark@skynet.ie>
7173 (ev_view_best_fit), (ev_view_fit_width): because
7174 get_page_size() returns the scaled page size, we
7175 need to calculate the scale factor relative to
7176 the previous scale factor. Should really just
7177 add get_real_page_size().
7179 2004-12-22 Mark McLoughlin <mark@skynet.ie>
7181 * shell/ev-view.[ch]:
7182 (ev_view_zoom), (ev_view_zoom_in), (ev_view_zoom_out),
7183 (ev_view_normal_size), (ev_view_best_fit), (ev_view_fit_width):
7186 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
7187 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_normal_size),
7188 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width):
7191 * pdf/xpdf/pdf-document.cc:
7192 (pdf_document_begin_find),
7193 (pdf_document_end_find): make static.
7195 2004-12-22 Martin Kretzschmar <martink@gnome.org>
7197 * pdf/xpdf/GlobalParams.h (setupBaseFontsFc): add prototype.
7199 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): maps base font
7200 names to fontconfig patterns.
7201 (setupBaseFontsFc): setupBaseFonts reimplemented using fontconfig.
7203 * pdf/xpdf/pdf-document.cc (pdf_document_load): use
7206 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
7222 Import ggv backend. Not hooked up yet.
7224 2004-12-22 Mark McLoughlin <mark@skynet.ie>
7226 * shell/main.c: (load_files), (main): load files
7227 from the command line.
7229 2004-12-22 Mark McLoughlin <mark@skynet.ie>
7231 * configure.ac: don't require bonobo.
7233 * cut-n-paste/recent-files/*: kill bonobo recent
7236 * shell/ev-window.c:
7237 (ev_window_is_empty): upd.
7238 (unable_to_load), (ev_window_open): load backend
7239 based on the mime type.
7241 2004-12-22 Martin Kretzschmar <martink@gnome.org>
7243 * backend/.cvsignore: ignore generated marshalers source.
7245 * shell/main.c (main): this is not epiphany.
7247 2004-12-22 Havoc Pennington <hp@redhat.com>
7249 * shell/ev-view.c (ev_view_set_document): connect to "found" signal
7250 (expose_bin_window): draw find highlights
7252 * shell/ev-window.c (find_bar_search_changed_cb): implement
7254 * pdf/xpdf/pdf-document.cc (pdf_document_begin_find)
7255 (pdf_document_end_find): implement this interface
7257 * backend/ev-document.c (ev_document_found): add this to emit
7260 Tue Dec 21 23:57:37 2004 Owen Taylor <otaylor@redhat.com>
7262 * data/evince-ui.xml: Add a few more toolbar items.
7264 * shell/ev-window.c: Hook up page navigation toolbar
7267 * shell/ev-view.[ch]: add ev_view_set/get_page and
7268 a page-changed signal.
7270 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc::
7271 Add ev_document_get_page().
7273 * shell/ev-window.c: Sensitize/desensitize navigation
7276 2004-12-21 Havoc Pennington <hp@redhat.com>
7278 * backend/ev-backend-marshal.c,
7279 backend/ev-backend-marshalers.list, backend/Makefile.am: add
7280 marshaler-generator thingy. I'm sure there's a better way to do
7281 this in the modern world.
7283 * backend/ev-document.h (struct _EvDocumentIface): add begin_find,
7284 end_find methods and "found" signal.
7286 * configure.ac: find glib-genmarshal
7288 Tue Dec 21 23:20:35 2004 Jonathan Blandford <jrb@redhat.com>
7290 * shell/ev-sidebar.c: Construct an actual sidebar.
7291 * shell/ev-sidebar-bookmarks.[ch]:
7292 * shell/ev-sidebar-thumbnails.[ch]: Stub out sidebars.
7294 Tue Dec 21 23:05:51 2004 Owen Taylor <otaylor@redhat.com>
7296 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc:
7299 * shell/ev-view.c: Track the size from the document.
7301 Tue Dec 21 22:17:04 2004 Owen Taylor <otaylor@redhat.com>
7303 * pdf/xpdf/pdf-document.cc (pdf_document_load): PDFDoc
7304 constructor assumes ownership of the string passed in.
7306 * shell/ev-window.c (ev_window_open): Destroy the error
7307 dialog once we've displayed it.
7309 Tue Dec 21 21:58:56 2004 Owen Taylor <otaylor@redhat.com>
7311 * pdf/xpdf/pdf-document.cc shell/ev-view.c: Hook things up
7312 a bit, it works! (sort of)
7314 * pdf/xpdf/Makefile.am pdf/xpdf/pdf-document.cc:
7315 Move to .cc since we need to use C++ in the implementation.
7317 * shell/dummy.cc: Add a CC file to force evince
7318 to be linked as a C++ program.
7320 Tue Dec 21 21:07:55 2004 Owen Taylor <otaylor@redhat.com>
7322 * shell/ev-view.[ch]: Start of content-area widget.
7324 * shell/ev-window.c: Create a EvView, update it
7325 as we change documents.
7327 * shell/Makefile.am shell/ev-marshal.list: Add
7328 generated marshalers.
7330 Tue Dec 21 20:28:11 2004 Jonathan Blandford <jrb@redhat.com>
7332 * Makefile.am (SUBDIRS): move shell.
7334 Tue Dec 21 19:28:55 2004 Owen Taylor <otaylor@redhat.com>
7336 * pdf/{goo,fofi,splash,xpdf}/Makefile.am: Switch from
7337 .a to libtool convenience libraries.
7339 * shell/ev-window.c (ev_window_open): Hard code loading
7342 * backend/ev-document.h: Add a boolean return to load(),
7343 fix GError * to GError **.
7345 * pdf/xpdf/pdf-document.[ch] Makefile.am: Add a stub
7346 object for a PDF backend EvDocument.
7348 Tue Dec 21 18:55:06 2004 Søren Sandmann <sandmann@redhat.com>
7350 * dvi/*: New directory with the beginning of a .dvi backend.
7352 2004-12-21 Havoc Pennington <hp@redhat.com>
7354 * shell/eggfindbar.c (egg_find_bar_init): change buttons to
7355 previous/next instead of back/forward
7357 Tue Dec 21 18:26:24 2004 Owen Taylor <otaylor@redhat.com>
7359 * backend/ev-document.[ch]: Fix a couple of problems so
7362 Tue Dec 21 18:20:40 2004 Owen Taylor <otaylor@redhat.com>
7364 * viewer/* backend/* configure.ac Makefile.am: Move viewer directory
7365 to backend/ directory, rename EvViewer to EvDocument.
7367 2004-12-21 Havoc Pennington <hp@redhat.com>
7369 * shell/ev-window.c: hook up the find bar widget; now we just need
7370 a document to find things in
7372 * shell/eggfindbar.c: a find bar widget
7374 Tue Dec 21 17:20:16 2004 Jonathan Blandford <jrb@redhat.com>
7376 * shell/ev-sidebar.[ch]: initial sidebar boilerplate.
7378 Tue Dec 21 16:30:58 2004 Owen Taylor <otaylor@redhat.com>
7380 * pdf/**: Import of xpdf code from gpdf.
7382 * pdf/xpdf/xpdfconfig.h: Move the non-config.h config.h to xpdfconfig.h
7384 * pdf/splash/SplashFTFont.{cc,h} pdf/splash/SplashFTFont.h
7385 pdf/splash/SplashFTFontEngine.h pdf/splash/SplashFTFontFile.h:
7386 Fix FreeType includes.
7388 * pdf/xpdf/{Error.h GnomeVFSStream.cc ImageOutputDev.cc PDFDoc.cc\
7389 pdffonts.cc pdfimages.cc pdfinfo.cc pdftoppm.cc pdftops.cc
7390 pdftotext.cc PSOutputDev.cc PSOutputDev.h SplashOutputDev.h
7391 Stream.cc TextOutputDev.cc XPDFApp.cc xpdf.cc XPDFViewer.cc
7392 pdf/xpdf/Error.h PSOutputDev.h SplashOutputDev.h}:
7393 Include xpdfconfig.h
7395 Tue Dec 21 16:08:17 2004 Jonathan Blandford <jrb@redhat.com>
7397 * shell/ev-window.c (ev_window_dispose): dispose can be called
7400 2004-12-21 Havoc Pennington <hp@redhat.com>
7402 * shell/ev-window.c (ev_window_init): set title to Document Viewer
7405 * data/evince-ui.xml, shell/ev-window.c: add a bunch of stub menu
7406 items; really they should be synced with the strings, etc. from
7407 current gpdf, but just getting the boring typing out of the way
7409 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
7412 * shell/ev-application.c: (window_destroy_cb):
7413 * shell/ev-window.c:
7414 * shell/main.c: (main):
7416 Actually show the window...
7418 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
7421 * shell/Makefile.am:
7422 * shell/ev-application.c: (ev_application_class_init):
7423 * shell/ev-window.c: (ev_window_dispose), (ev_window_class_init):
7427 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
7429 Import to gnome cvs.
7431 * Remove copies of gpdf and ggv trees.
7432 * Rip out all the recursive configure code.
7433 * Remove bonobo machinery.
7434 * viewer/*: GInterfaces that backends should/can implement.
7436 2004-11-09 Martin Kretzschmar <m_kretzschmar@gmx.net>
7438 * shell/ev-window.c (ev_window_cmd_help_about): fix "documentors"
7441 2004-10-28 Martin Kretzschmar <m_kretzschmar@gmx.net>
7443 * shell/ev-application.c (EV_APPLICATION_GET_PRIVATE)
7444 (ev_application_finalize, ev_application_class_init)
7445 (ev_application_init): use GType instance private data for priv.
7447 * shell/ev-window.c (EV_WINDOW_GET_PRIVATE)
7448 (ev_window_finalize, ev_window_class_init)
7449 (ev_window_init): ditto.
7451 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
7453 * shell/ev-application.c (ev_application_new_window): make public
7454 (ev_application_show_initial_window): kill.
7456 * shell/ev-application.h: update prototypes.
7458 * shell/main.cc (main): inline ev_application_show_initial_window.
7460 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
7462 * shell/ev-application.c (ev_application_new_window): impl.
7463 (ev_application_show_initial_window): use it.
7464 (is_window_empty, ev_application_get_empty_window): returns an
7465 existing empty window or a new one.
7466 (ev_application_open): from ev_window_cmd_file_open.
7468 * shell/ev-application.h: update prototypes
7470 * shell/ev-window.c (ev_window_is_empty): impl.
7471 (ev_window_open): make public.
7472 (ev_window_cmd_file_open): use ev_application_open
7474 * shell/ev-window.h: update prototypes, remove unused.
7476 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
7478 * shell/ev-window.c (ev_window_destroy, ev_window_class_init):
7479 move destroy handler out of here...
7481 * shell/ev-application.c, shell/ev-application.h: ...into this new
7482 class. Also handles initial window creation.
7484 * shell/main.cc (main): use EvApplication to create initial
7487 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
7489 * Makefile.am (SUBDIRS): add cut-n-paste
7491 * cut-n-paste/Makefile.am: add
7493 * configure.ac: generate Makefiles in cut-n-paste
7495 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
7497 * shell/ev-window.c (ev_window_dispose): new, unref the ui_manager
7498 (ev_window_class_init): install ev_window_dispose.
7500 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
7502 * shell/ev-window.h, shell/ev-window.c: replace gchar with
7503 char (gchar looks stupid).
7505 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
7507 * po/de.po: updated German translation.
7509 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
7511 * configure.ac: add more pkg-config library checks for gnome-vfs,
7514 * gpdf/configure.in: temporarily disable libpaper
7515 checks. Otherwise I'd have to add the checks for the shell, too.
7517 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7519 * shell/ev-window.c (ev_window_cmd_file_open): add ps+pdf, ps, pdf
7520 and * file filters to the file choose.
7522 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7524 * po/de.po: Updated German translation.
7526 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7528 * shell/ev-window.c: use "S" as mnemonic for Statusbar.
7530 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7532 * data/evince-ui.xml: add View->Toolbar and View->Statusbar.
7534 * shell/ev-window.c (menu_item_select_cb, menu_item_select_cb)
7535 (ev_window_init): implement those menuitems.
7537 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7539 * data/evince-ui.xml: add a toolbar (with FileOpen action)
7541 * shell/ev-window.c (ev_window_init): use the toolbar.
7543 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7545 * shell/ev-window.c (ev_window_init): use menu translations
7547 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7549 * configure.ac: add "de" to ALL_LINGUAS.
7551 * po/de.po: add German translation.
7553 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7555 * Makefile.am (SUBDIRS): add po
7557 * configure.ac: check intltool, glib-gettext etc, generate
7560 * po, po/POTFILES.in, po/POTFILES.skip: new.
7562 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7564 * shell/Makefile.am (INCLUDES): define GNOMELOCALEDIR which we
7565 already use (#ifdef ENABLE_NLS)
7567 * shell/ev-window.c (ev_window_cmd_help_about): fix two star
7568 pointer indirection thinko.
7570 * shell/main.c: include gi18n.h for bindtextdomain etc.
7572 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7574 * shell/ev-window.c (menu_item_select_cb, menu_item_deselect_cb)
7575 (connect_proxy_cb, disconnect_proxy_cb, ev_window_init): show
7576 tooltips for menu items in the statusbar.
7578 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7580 * configure.ac, data/Makefile.am, shell/Makefile.am: use
7581 pkgdatadir drop UIDIR
7583 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7585 * data/evince-ui.xml: Add File->Open menu item
7587 * shell/ev-window.c (ev_window_cmd_file_open): impl. (shows a file
7588 chooser), hook it up in the ui manager.
7590 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7592 * shell/ev-window.c: fix Help->About tooltip.
7594 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7596 * configure.ac: set CFLAGS for libevprivate.
7598 * lib/ev-stock-icons.h, lib/ev-stock-icons.c: stock icon
7599 definitions, factory etc.
7601 * lib/Makefile.am: build libevprivate.a (only stock icon code).
7603 * shell/Makefile.am: link against libevprivate.a.
7605 * shell/ev-window.c (entries): add stock icon to Help->About.
7607 * shell/main.c (main): init stock icon code.
7609 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7611 * lib/recent-files: egg recent files code
7613 * lib/Makefile.am: add.
7615 * Makefile.am: add lib subdir.
7617 * configure.ac: gen. lib/Makefile and lib/recent-files/Makefile,
7618 set CFLAGS for recent-files.
7620 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7622 * configure.ac: disable -ansi and -pedantic gcc flags. They
7623 disable POSIX stuff in stdio.h, but egg-recent uses them.
7625 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7627 * configure.ac: add --disable-deprecated flag (defaults to on in
7630 * shell/Makefile.am (INCLUDES): use it.
7632 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7634 * shell/main.c: add missing #include.
7636 * shell/ev-window.c: fix for pedantic gcc.
7637 (ev_window_cmd_help_about): split license into paragraphs for
7638 translators and pedantic compilers.
7640 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7642 * configure.ac: add more warning flags if compiling with gcc from
7643 cvs (or explicitly requested with --enable-more-warnings).
7645 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7647 * data/evince-ui.xml: add File and File->Close menu.
7649 * shell/ev-window.c (ev_window_cmd_file_close_window): impl.
7650 (ev_window_destroy): quit after destroy.
7651 (ev_window_class_init): override GtkObject::destroy.
7652 (entries): install close_window callback.
7654 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7656 * Makefile.am (SUBDIRS): add data subdir.
7658 * configure.ac (UIDIR): gen data/Makefile, define UIDIR. Require
7659 gtk+ 2.5.0 for GtkAboutDialog.
7661 * data/Makefile.am, data/evince-ui.xml: add, ui definition for the
7664 * shell/Makefile.am (INCLUDES): propagate UIDIR definition.
7666 * shell/ev-window.c (ev_window_init): create a menubar, using a ui
7668 (ev_window_cmd_help_about): about command, using GtkAboutDialog.
7670 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7672 * shell/ev-window.c, shell/ev-window.h: Created an EvWindow class.
7674 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
7676 * shell/main.c: make it a trivial gtk+ program, adjust configure.ac
7678 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
7680 * shell/*: Added shell directory boilerplate, build it.
7682 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
7684 * configure.ac, Makefile.am: Added top-level configure.ac and