1 2005-10-29 Bastien Nocera <hadess@hadess.net>
3 * tiff/tiff-document.c: (tiff_document_load):
7 2005-10-29 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
11 * shell/ev-view-accessible.c: (ev_view_accessible_get_priv),
12 (ev_view_accessible_free_priv), (ev_view_accessible_class_init),
13 (ev_view_accessible_get_text),
14 (ev_view_accessible_get_character_at_offset),
15 (ev_view_accessible_get_text_before_offset),
16 (ev_view_accessible_get_text_at_offset),
17 (ev_view_accessible_get_text_after_offset),
18 (ev_view_accessible_get_character_count),
19 (ev_view_accessible_get_caret_offset),
20 (ev_view_accessible_set_caret_offset),
21 (ev_view_accessible_get_run_attributes),
22 (ev_view_accessible_get_default_attributes),
23 (ev_view_accessible_get_character_extents),
24 (ev_view_accessible_get_offset_at_point),
25 (ev_view_accessible_get_n_selections),
26 (ev_view_accessible_get_selection),
27 (ev_view_accessible_add_selection),
28 (ev_view_accessible_remove_selection),
29 (ev_view_accessible_set_selection),
30 (ev_view_accessible_text_iface_init),
31 (ev_view_accessible_idle_do_action),
32 (ev_view_accessible_action_do_action),
33 (ev_view_accessible_action_get_n_actions),
34 (ev_view_accessible_action_get_description),
35 (ev_view_accessible_action_get_name),
36 (ev_view_accessible_action_set_description),
37 (ev_view_accessible_action_iface_init),
38 (ev_view_accessible_get_type), (ev_view_accessible_new),
39 (ev_view_accessible_factory_get_accessible_type),
40 (ev_view_accessible_factory_create_accessible),
41 (ev_view_accessible_factory_class_init),
42 (ev_view_accessible_factory_get_type):
43 * shell/ev-view-accessible.h:
44 * shell/ev-view-private.h:
45 * shell/ev-view.c: (ev_view_get_accessible), (ev_view_class_init):
48 Initial accessibility support.
50 2005-10-27 Erdal Ronahi <erdal.ronahi@gmail.com>
52 * configure.ac: Added ku (Kurdish) to ALL_LINGUAS
54 2005-10-26 Hubert Figuiere <hfiguiere@teaser.fr>
56 * shell/ev-print-job.c: (idle_print_handler):
58 Fix for bug Bug 318916: Printing multiple pages.
60 2005-10-20 Runa Bhattacharjee <runa@bengalinux.org>
62 * configure.ac: Added "bn" (Bengali) to ALL_LINGUAS.
64 2005-10-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
68 Thumnail dimensions unified with other backends.
70 * shell/ev-window-title.c: (ev_window_title_update):
74 2005-10-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
76 * data/ev-stock-zoom-fit-width.png:
80 2005-10-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
83 * djvu/djvu-document.c: (djvu_document_load), (djvu_document_save),
84 (djvu_document_finalize):
85 * dvi/dvi-document.c: (dvi_document_load), (dvi_document_save),
86 (dvi_document_finalize):
87 * pixbuf/pixbuf-document.c: (pixbuf_document_load),
88 (pixbuf_document_save), (pixbuf_document_finalize):
89 * tiff/tiff-document.c: (tiff_document_load), (tiff_document_save),
90 (tiff_document_finalize):
92 Save a copy implemented for various backends.
94 2005-10-17 Daniel Gryniewicz <dang@gentoo.org>
98 Don't link with ltiff if tiff is disabled.
100 2005-10-14 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
102 * pdf/GDKSplashOutputDev.cc:
103 * pdf/GDKSplashOutputDev.h:
106 * pdf/pdf-document.cc:
107 * pdf/pdf-document.h:
108 * pdf/test-gdk-output-dev.cc:
110 Remove old unused files.
112 2005-10-12 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
114 * shell/ev-window.c: (ev_window_setup_document):
116 Fixed warnings on reload and probably crash reason.
118 2005-10-12 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
120 * properties/ev-properties-view.c:
121 (ev_properties_view_format_date):
123 Check if date is invalid. Fix for bug 318134.
125 2005-10-02 Wouter Bolsterlee <uws+gnome@xs4all.nl>
127 * shell/ev-window-title.c:
129 Add .indd files (Adobe Indesign) to the list of "bad
132 2005-10-02 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
134 * data/evince-ui.xml:
135 * shell/ev-window.c: (ev_window_set_view_accels_sensitivity):
137 Add <ctrl>KP_Add and <ctrl>KP_Substract bindings.
139 2005-09-27 Christian Persch <chpe@cvs.gnome.org>
141 * shell/ev-window.c: (launch_link), (launch_external_uri),
142 (view_external_link_cb):
144 URL-escape link before passing it to gnome_vfs_url_show.
146 2005-09-27 Carlos Garcia Campos <carlosgc@gnome.org>
148 * shell/ev-view.[ch], shell/ev-window.c: Disable copy action when
149 there isn't text selected.
151 2005-09-27 Marco Pesenti Gritti <mpg@redhat.com>
153 * shell/ev-view.c: (handle_link_over_xy):
155 Check tooltip is valid utf8 before showing it
157 2005-09-27 Carlos Garcia Campos <carlosgc@gnome.org>
159 * shell/ev-view.c: Allow drag and drop of text. Fixes #316772
161 2005-09-27 Christian Persch <chpe@cvs.gnome.org>
163 * shell/ev-window-title.c: (ev_window_title_update):
165 Guard against using g_strstrip on NULL. Fixes bug #317291.
167 2005-09-26 Marco Pesenti Gritti <mpg@redhat.com>
171 Show title even for unknown links
173 2005-09-26 Marco Pesenti Gritti <mpg@redhat.com>
175 * shell/ev-window-title.c: (ev_window_title_update):
177 Strip the title string
179 2005-09-26 Marco Pesenti Gritti <mpg@redhat.com>
181 * shell/ev-window-title.c:
183 Add .rtf to the bad extensions list
185 2005-09-26 Marco Pesenti Gritti <mpg@redhat.com>
187 * shell/ev-view.c: (doc_point_to_view_point), (goto_fitr_link),
188 (goto_fitv_link), (goto_fith_link), (goto_xyz_link):
190 Ignore link coordinates if they are outside page bounds
192 2005-09-26 Marco Pesenti Gritti <mpg@redhat.com>
194 * backend/ev-link.c: (ev_link_type_get_type),
195 (ev_link_get_filename), (ev_link_get_params),
196 (ev_link_get_property), (ev_link_set_property),
197 (ev_window_dispose), (ev_link_class_init), (ev_link_new_launch):
200 * shell/ev-view.c: (ev_view_goto_link), (ev_view_class_init):
201 * shell/ev-window.c: (launch_link), (view_external_link_cb),
204 Implement launch links. Delegate external link opening to
207 2005-09-24 Marco Pesenti Gritti <mpg@redhat.com>
209 * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_bottom),
210 (ev_link_get_right), (ev_link_get_property),
211 (ev_link_set_property), (ev_link_class_init),
212 (ev_link_new_page_fitv), (ev_link_new_page_fitr):
215 * shell/ev-view.c: (goto_fitr_link), (ev_view_goto_link):
219 2005-09-24 Marco Pesenti Gritti <mpg@redhat.com>
221 * shell/ev-view.c: (ev_view_get_width), (ev_view_get_height),
222 (goto_fitv_link), (goto_fith_link), (goto_fit_link),
223 (ev_view_goto_link), (ev_view_size_request_continuous_dual_page),
224 (ev_view_size_request_continuous),
225 (ev_view_size_request_dual_page),
226 (ev_view_size_request_single_page), (ev_view_size_allocate),
227 (ev_view_zoom_for_size_continuous_and_dual_page),
228 (ev_view_zoom_for_size_continuous),
229 (ev_view_zoom_for_size_dual_page),
230 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
231 (ev_sizing_mode_get_type):
233 * shell/ev-window.c: (ev_window_sizing_mode_changed_cb):
235 Do not use modes for link, we need to calculate size ad hoc.
236 Still not perfect because of the usual scrollbar issues grrr.
238 2005-09-24 Marco Pesenti Gritti <mpg@redhat.com>
240 * backend/ev-link.c: (ev_link_type_get_type),
241 (ev_link_new_page_fith), (ev_link_new_page_fitv):
244 * shell/ev-view.c: (goto_fitv_link), (goto_fith_link),
245 (ev_view_goto_link), (ev_view_size_request_continuous_dual_page),
246 (ev_view_size_request_continuous),
247 (ev_view_size_request_dual_page),
248 (ev_view_size_request_single_page), (ev_view_size_allocate),
249 (zoom_for_size_fit_height),
250 (ev_view_zoom_for_size_continuous_and_dual_page),
251 (ev_view_zoom_for_size_continuous),
252 (ev_view_zoom_for_size_dual_page),
253 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
254 (ev_sizing_mode_get_type):
256 * shell/ev-window.c: (ev_window_sizing_mode_changed_cb):
258 Implement FIT_HEIGHT mode (only for links).
261 2005-09-24 Marco Pesenti Gritti <mpg@redhat.com>
263 * shell/ev-window-title.c: (get_filename_from_uri),
264 (ev_window_title_sanitize_extension), (ev_window_title_update),
265 (ev_window_title_set_document), (ev_window_title_set_uri),
266 (ev_window_title_free):
267 * shell/ev-window-title.h:
268 * shell/ev-window.c: (ev_window_setup_document),
269 (ev_window_popup_password_dialog):
271 Refactor window title building while fixing it for
274 2005-09-24 Marco Pesenti Gritti <mpg@redhat.com>
278 Escape link title before setting it in the model
280 2005-09-23 Marco Pesenti Gritti <mpg@redhat.com>
282 * shell/ev-application.c: (removed_from_session), (save_session),
283 (init_session), (ev_application_get_empty_window),
284 (ev_application_init), (ev_application_get_windows):
285 * shell/ev-application.h:
286 * shell/ev-window.c: (ev_window_finalize):
288 Add a function to retrieve window list and share it where
290 Implement session handling, works pretty well thanks to the
293 2005-09-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
295 * shell/ev-password.c: (ev_password_item_created_callback),
296 (ev_password_dialog_save_password):
298 Fix for bug 316972. Use async gnome-keyring API.
300 2005-09-22 Christian Persch <chpe@cvs.gnome.org>
302 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_class_init):
303 Remove unused unrealize handler. Add scroll handling to
304 ev_view_scroll_event for presentation mode (bug #316708),
305 and fix the event state checks there.
307 2005-09-22 Marco Pesenti Gritti <mpg@redhat.com>
309 * shell/ev-page-action.c: (page_changed_cb):
311 "marco, maybe we should be crazy and jump right to 6! :)"
313 Bryan Clark, Sep 2005
315 2005-09-22 Marco Pesenti Gritti <mpg@redhat.com>
317 * ps/ps-document.c: (save_document), (ps_document_save),
318 (ps_document_ps_export_begin), (ps_document_ps_export_do_page),
319 (ps_document_ps_export_end):
321 Fix unstructured documents save and print
323 2005-09-22 Marco Pesenti Gritti <mpg@redhat.com>
325 * shell/ev-application.c: (ev_application_open_uri):
327 Fix window size persistance
329 2005-09-22 Marco Pesenti Gritti <mpg@redhat.com>
331 * shell/ev-view.c: (ev_view_button_release_event):
333 Based on a patch from carlosgc@gnome.org. Mouse buttons
334 switch pages in presentation mode.
336 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
338 * shell/ev-page-cache.c: (ev_page_cache_get_size):
340 Dont cast to int before scaling
342 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
344 * backend/ev-link.c: (ev_link_type_get_type),
345 (ev_link_new_page_xyz), (ev_link_new_page_fit),
346 (ev_link_new_page_fith):
349 * shell/ev-view.c: (goto_fith_link), (ev_view_goto_link):
351 Implement FIT and FITH links
353 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
357 Return 0 results when search is not in progress.
359 * shell/ev-window.c: (ev_window_cmd_go_previous_page),
360 (ev_window_cmd_go_next_page), (find_bar_search_changed_cb):
362 Update menu sensitivity when cancelling search
364 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
366 * shell/ev-view.c: (ev_view_can_find_next):
368 Take all pages in consideration, not just current one
370 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
372 * shell/ev-page-cache.c:
373 * shell/ev-page-cache.h:
374 * shell/ev-view.c: (ev_view_binding_activated),
375 (ev_view_next_page), (ev_view_previous_page),
376 (ev_sizing_mode_get_type):
378 * shell/ev-window.c: (ev_window_cmd_go_previous_page),
379 (ev_window_cmd_go_next_page):
381 Move page next/previous functions from page chace to
382 view and change it to move by 2 page steps in dual mode.
384 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
386 * shell/ev-window.c: (update_sidebar_visibility),
387 (setup_sidebar_from_metadata), (ev_window_setup_document),
388 (setup_view_from_metadata):
390 Show the index by default when there is one
392 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
394 * shell/ev-window-title.c: (ev_window_title_set_document):
398 2005-09-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
400 * shell/ev-view.c: (view_update_range_and_current_page):
402 Allow display of last odd page in dual view. Fix for 316347.
404 2005-09-17 Wouter Bolsterlee <uws+gnome@xs4all.nl>
406 * shell/ev-window.c: (ev_window_cmd_edit_toolbar):
408 Make close button default. Fix for 316383.
410 2005-09-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
412 * shell/ev-properties-dialog.c: (ev_properties_dialog_init):
414 Mark close button as default. Fix for 316381.
416 2005-09-16 Marco Pesenti Gritti <mpg@redhat.com>
418 * backend/ev-link.c: (ev_link_class_init):
420 Allow negative doubles in left/top properties
422 2005-09-16 Marco Pesenti Gritti <mpg@redhat.com>
426 Remove a bunch of strings that was used only
429 2005-09-16 Marco Pesenti Gritti <mpg@redhat.com>
431 * shell/ev-window-title.c: (get_filename_from_uri),
432 (ev_window_title_set_document):
434 When title has a confusing extension, show also
435 the document filename inside ()
437 2005-09-16 Marco Pesenti Gritti <mpg@redhat.com>
440 * shell/ev-window-title.c: (ev_window_title_new),
441 (ev_window_title_update), (ev_window_title_set_type),
442 (ev_window_title_set_document), (ev_window_title_free):
443 * shell/ev-window-title.h:
444 * shell/ev-window.c: (ev_window_setup_document),
445 (password_dialog_response), (ev_window_popup_password_dialog),
446 (ev_window_dispose), (ev_window_init):
448 Factor out and cleanup window title code
450 2005-09-16 Marco Pesenti Gritti <mpg@redhat.com>
452 * shell/ev-window.c: (unable_to_load_dialog_response_cb),
455 Make dialog transient so it doesnt block other windows
457 2005-09-13 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
461 Fix pdf thumbnails rendering.
463 2005-09-13 Wouter Bolsterlee <uws+gnome@xs4all.nl>
465 * shell/ev-window.c: (fullscreen_set_timeout):
467 Increase timeout to hide full screen popup. Bug
470 2005-09-13 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
472 * data/evince.schemas.in:
473 * shell/ev-window.c: (update_action_sensitivity):
475 Allow the user to override document restrictions. Fix for bug
478 2005-09-13 Christian Persch <chpe@cvs.gnome.org>
480 * shell/ev-window.c: (ev_window_update_fullscreen_popup),
481 (ev_window_create_fullscreen_popup), (ev_window_screen_changed),
482 (ev_window_class_init): Fix multihead behaviour of fullscreen
483 toolbar popup. Fixes bug #315451.
485 2005-09-13 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
488 * data/evince-password.glade:
489 * shell/ev-password.c: (ev_password_dialog_set_property),
490 (ev_password_dialog_finalize), (ev_password_dialog_class_init),
491 (ev_password_dialog_init), (ev_password_set_bad_password_label),
492 (ev_password_dialog_entry_changed_cb),
493 (ev_password_dialog_entry_activated_cb),
494 (ev_password_dialog_save_password), (ev_password_keyring_found_cb),
495 (ev_password_search_in_keyring), (ev_password_dialog_get_password),
496 (ev_password_dialog_set_bad_pass):
497 * shell/ev-password.h:
498 * shell/ev-window.c: (password_dialog_response),
499 (ev_window_popup_password_dialog):
501 Support for gnome-keyring for encrypted PDF's.
503 2005-09-11 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
505 * shell/ev-view.c: (handle_link_over_xy), (ev_view_realize),
506 (ev_view_motion_notify_event), (ev_view_leave_notify_event),
507 (ev_view_enter_notify_event), (ev_view_class_init):
509 More precise handling of enter_notify/leave_notify events
510 in EvView. Fix for bug 315470.
512 2005-09-08 Christopher Aillon <caillon@redhat.com>
514 * shell/ev-window.c: (fullscreen_timeout_cb),
515 (fullscreen_set_timeout), (fullscreen_clear_timeout),
518 leak fix: unref fullscreen_timeout_source before clearing it
520 2005-09-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
522 * configure.ac, dvi/mdvi/Makefile.am:
524 Use lt1 instead lt1lib. Thanks to yselkowitz@users.sourceforge.net
526 2005-09-08 Marco Pesenti Gritti <mpg@redhat.com>
528 * backend/ev-link.c: (ev_link_new_page_xyz):
530 * shell/ev-view.c: (goto_xyz_link), (ev_view_goto_link):
532 Fix some bugs with xyz links, respect zoom
534 2005-09-08 Marco Pesenti Gritti <mpg@redhat.com>
536 * shell/ev-window.c: (page_changed_cb),
537 (setup_document_from_metadata), (update_sidebar_visibility),
538 (setup_view_from_metadata), (ev_window_run_fullscreen),
539 (ev_window_stop_fullscreen), (ev_window_run_presentation),
540 (ev_window_stop_presentation), (ev_window_continuous_changed_cb),
541 (ev_window_dual_mode_changed_cb),
542 (ev_window_sidebar_current_page_changed_cb):
544 null check uri before setting and getting metadata
546 2005-09-08 Marco Pesenti Gritti <mpg@redhat.com>
549 * properties/Makefile.am:
551 * thumbnailer/Makefile.am:
553 Some build fixes for cygwin. Patch by yselkowitz@users.sourceforge.net
555 2005-09-08 Marco Pesenti Gritti <mpg@redhat.com>
557 * shell/ev-sidebar-links.c: (ev_sidebar_links_class_init),
558 (selection_changed_callback):
559 * shell/ev-sidebar-links.h:
561 Add a signal for link activation.
563 * shell/ev-view.c: (ev_view_goto_link),
564 (ev_view_button_release_event):
566 * shell/ev-window.c: (sidebar_links_link_activated_cb),
569 Implement the signal so that we can handle all link types.
571 * shell/ev-page-cache.c:
573 Remove unused set_link function
575 2005-09-08 Marco Pesenti Gritti <mpg@redhat.com>
577 * lib/ev-tooltip.c: (ev_tooltip_set_position):
579 Add some space from the cursor, hardcoded but I couldnt
582 2005-09-07 Marco Pesenti Gritti <mpg@redhat.com>
586 Use mozilla style vs gtk style, way better for links.
588 * shell/ev-view.c: (ev_view_motion_notify_event),
589 (ev_view_destroy), (ev_view_init):
591 Deactive tooltip when the link hovered is changed.
593 2005-09-07 Marco Pesenti Gritti <mpg@redhat.com>
595 * backend/ev-document.h:
596 * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_top),
597 (ev_link_get_left), (ev_link_get_zoom), (ev_link_get_property),
598 (ev_link_set_property), (ev_window_dispose), (ev_link_class_init),
599 (ev_link_new_page), (ev_link_new_page_xyz):
602 * shell/ev-view.c: (doc_point_to_view_point), (scroll_to_xyz_link),
603 (go_to_link), (tip_from_link):
605 Implement xyz links, still not functional. Links are a total
606 mess, will need to refactor and bugfix a lot :(
608 2005-09-05 Alessio Frusciante <algol@firenze.linux.it>
610 * configure.ac: Added "it" (Italian) to ALL_LINGUAS.
612 2005-09-05 Marco Pesenti Gritti <mpg@redhat.com>
614 * data/evince-ui.xml:
615 * data/evince.schemas.in:
617 * shell/ev-window.c: (update_chrome_visibility),
618 (password_dialog_response), (ev_window_load_job_cb),
619 (ev_window_xfer_job_cb), (ev_window_open_uri),
620 (ev_window_class_init), (set_chrome_actions), (load_chrome),
623 Remove the statusbar. This regress loading feedback, need to
624 check with Bryan what we want to do there...
626 2005-09-05 Marco Pesenti Gritti <mpg@redhat.com>
628 * lib/ev-tooltip.c: (ev_tooltip_init):
630 Fix tooltip border and size handling
632 2005-09-05 Marco Pesenti Gritti <mpg@redhat.com>
634 * lib/ev-tooltip.c: (ev_tooltip_dispose), (ev_tooltip_class_init),
635 (ev_tooltip_set_position), (ev_tooltip_recently_shown),
636 (ev_tooltip_timeout), (ev_tooltip_activate),
637 (ev_tooltip_deactivate):
639 * shell/ev-view.c: (ev_view_motion_notify_event):
641 Delay popup showing. Mirror gtk logic/times.
643 2005-09-03 Marco Pesenti Gritti <mpg@redhat.com>
646 * lib/ev-tooltip.c: (ev_tooltip_expose_event),
647 (ev_tooltip_class_init), (ev_tooltip_init), (ev_tooltip_new),
648 (ev_tooltip_set_text), (ev_tooltip_set_position):
651 Simple widget to show tooltips at a custom position
653 * shell/ev-view.c: (tip_from_link), (ev_view_motion_notify_event),
656 Use it for links. First go, needs work
658 2005-08-17 Dennis Cranston <dennis_cranston@yahoo.com>
660 * shell/ev-window.c: (ev_window_cmd_edit_toolbar): A couple small
661 HIG fixes. Use title capitalization for window title. Use 12
662 pixels of space between the dialog's vbox and action area.
664 2005-09-02 Marco Pesenti Gritti <mpg@redhat.com>
666 * shell/ev-window.c: (file_open_dialog_response_cb),
667 (ev_window_cmd_file_open), (file_save_dialog_response_cb),
668 (ev_window_cmd_save_as):
670 Make file pickers not modal and refactor code some
672 2005-09-02 Marco Pesenti Gritti <mpg@redhat.com>
674 * shell/ev-sidebar.h:
675 * shell/ev-sidebar.c: (ev_sidebar_set_property),
676 (ev_sidebar_get_current_page), (ev_sidebar_get_property),
677 (ev_sidebar_class_init), (ev_sidebar_select_page),
678 (ev_sidebar_menu_item_activate_cb), (ev_sidebar_new),
679 (ev_sidebar_set_page):
681 Add a current page property and allow to get/set it
683 * shell/ev-window.c: (setup_view_from_metadata),
684 (ev_window_sidebar_current_page_changed_cb), (ev_window_init):
686 Persist current sidebar page per document
688 2005-09-02 Marco Pesenti Gritti <mpg@redhat.com>
690 * data/evince.schemas.in:
691 * shell/ev-window.c: (update_chrome_visibility),
692 (setup_document_from_metadata), (update_sidebar_visibility),
693 (setup_view_from_metadata), (ev_window_sidebar_position_change_cb),
694 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
695 (ev_window_run_presentation), (ev_window_stop_presentation),
696 (ev_window_view_sidebar_cb),
697 (ev_window_sidebar_visibility_changed_cb), (set_chrome_actions),
698 (load_chrome), (ev_window_init):
700 Persist size/visibility of sidebar per document
702 Fri Sep 2 00:59:55 2005 Jonathan Blandford <jrb@redhat.com>
704 * shell/ev-view.c (draw_loading_text): Draw loading text.
706 2005-09-02 Dan Damian <dand@gnome.ro>
708 * configure.in: Added "ro" to ALL_LINGUAS.
710 2005-09-01 Marco Pesenti Gritti <mpg@redhat.com>
712 * shell/ev-view.c: (clear_caches):
714 ev_page_cache_get doesnt return a reference,
715 dont try to unref it.
717 2005-09-01 Marco Pesenti Gritti <mpg@redhat.com>
719 * shell/main.c: (load_files_remote):
721 Fix timestamp parameter with dbus <= 0.33
723 2005-08-31 Marco Pesenti Gritti <mpg@redhat.com>
725 * data/evince.schemas.in:
727 Add missing full stop
729 2005-08-31 Hiroyuki Ikezoe <poincare@ikezoe.net>
731 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info):
732 * shell/ev-window.c: (ev_window_print_range), (ev_window_dispose):
734 Plug some memory leaks
736 2005-08-29 Christian Persch <chpe@cvs.gnome.org>
739 * lib/ev-debug.c: (trap_handler):
741 Check for execinfo.h and use it only if it exists.
742 Ported from Epiphany (bug #314776).
744 2005-08-29 Duarte Loreto <happyguy_pt@hotmail.com>
746 * configure.ac: Added Portuguese (pt) to ALL_LINGUAS.
748 2005-08-27 Mohammad DAMT <mdamt@gnome.org>
750 * configure.ac: Added Indonesian "id" to ALL_LINGUAS
751 * po/id.po : Added Indonesian translation
753 Fri Aug 26 00:45:09 2005 Jonathan Blandford <jrb@redhat.com>
756 * shell/ev-application.c: Last minute GTK-2.6 fixes.
757 * NEWS: Release 0.4.0
759 Thu Aug 25 23:40:23 2005 Jonathan Blandford <jrb@redhat.com>
761 * configure.ac: catch another gtk+-2.8ism
762 * shell/main.c: Make work with gtk+-2.6
764 2005-08-25 Ryan Lortie <desrt@desrt.ca>
766 * shell/ev-application-service.xml: Add 'timestamp' argument to
767 ev_application_open_window and ev_application_open_uri methods.
769 * shell/ev-application.h: Add 'timestamp' argument to
770 ev_application_open_window, ev_application_open_uri,
771 and ev_application_open_uri_list functions.
773 * shell/ev-application.c (ev_application_open_window,
774 ev_application_open_uri, ev_application_open_uri_list): Change
775 functions that show/present windows to use a timestamp if one
778 * shell/ev-window.c (ev_window_cmd_file_open,
779 ev_window_cmd_recent_file_activate, drag_data_received_cb):
780 * shell/main.c (load_files): Modify calls to ev_application to
781 include GDK_CURRENT_TIME as timestamp.
783 * shell/main.c (load_files_remote): Obtain timestamp for client
784 instance from GDK and pass to server instance so new windows are
785 focused properly. Fix dbus_g_proxy_call() calls by including second
790 Thu Aug 25 22:13:08 2005 Jonathan Blandford <jrb@redhat.com>
792 * shell/ev-window.c (ev_window_finalize): Check for
793 avail. EvWindows when quiting to handle the finalize better,
796 2005-08-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
798 * properties/ev-properties-view.c:
800 Set textdomain to libglade. Fixes translation problem in property page.
802 2005-08-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
804 * djvu/djvu-document.c: (djvu_document_thumbnails_get_thumbnail):
806 * dvi/dvi-document.c: (dvi_document_thumbnails_get_thumbnail):
807 * dvi/mdvi-lib/Makefile.am:
809 Fix rotation of thumbnails, ported to new API. Moved library
810 dependencies earlier, probably it will fix linkage problem.
812 Thu Aug 25 02:32:32 2005 Jonathan Blandford <jrb@redhat.com>
814 * backend/ev-document-misc.c:
815 (ev_document_misc_get_thumbnail_frame):
816 * backend/ev-document-misc.h:
820 * shell/ev-sidebar-thumbnails.c: (add_range),
821 (ev_sidebar_thumbnails_set_loading_icon),
822 (ev_sidebar_thumbnails_refresh),
823 (ev_sidebar_thumbnails_set_document):
824 * shell/ev-sidebar-thumbnails.h:
825 * shell/ev-view.c: (ev_view_motion_notify_event),
826 (ev_view_set_property), (ev_view_get_property),
827 (ev_view_class_init), (ev_view_set_rotation):
828 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
829 (ev_window_cmd_edit_rotate_right), (ev_window_rotation_changed_cb),
831 * tiff/tiff-document.c: (tiff_document_thumbnails_get_thumbnail):
832 Redo rotation (again). prepare for 0.4.0
834 2005-08-24 Kristian Høgsberg <krh@redhat.com>
836 * configure.ac: Bump poppler requirement to 0.4.1.
838 * pdf/ev-poppler.cc (pdf_selection_render_selection): Add rotation
839 argument to poppler_page_render_selection() call.
841 2005-08-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
843 * djvu/djvu-document.c: (djvu_document_render_pixbuf),
844 (djvu_document_thumbnails_get_thumbnail):
845 * dvi/dvi-document.c: (dvi_document_render_pixbuf),
846 (dvi_document_thumbnails_get_thumbnail):
847 * pixbuf/pixbuf-document.c: (pixbuf_document_render_pixbuf),
848 (pixbuf_document_thumbnails_get_thumbnail):
849 * tiff/tiff-document.c: (tiff_document_render_pixbuf):
851 Update rotation direction of backends to fit with pdf and ps.
853 2005-08-24 Marco Pesenti Gritti <mpg@redhat.com>
855 * backend/ev-async-renderer.c: (ev_async_renderer_render_pixbuf):
856 * backend/ev-async-renderer.h:
857 * ps/ps-document.c: (ps_document_init), (setup_pixmap),
858 (setup_page), (ps_document_get_page_size),
859 (ps_async_renderer_render_pixbuf):
861 * shell/ev-jobs.c: (ev_job_render_run):
863 Fix orientation in the postscript document
865 2005-08-23 Marco Pesenti Gritti <mpg@redhat.com>
868 * ps/ps-document.c: (push_pixbuf), (ps_document_widget_event):
869 * shell/ev-view.c: (highlight_find_results):
871 Adapt to the new poppler rotation API. Fix text maps on landscape
874 Sat Aug 20 17:13:48 2005 Jonathan Blandford <jrb@redhat.com>
876 * shell/ev-view.c (compute_new_selection_text): get the correct
877 region when selecting in modes other than continuous.
879 Sat Aug 20 13:10:01 2005 Jonathan Blandford <jrb@redhat.com>
881 * shell/main.c (main): remove redundant g_warnings.
883 2005-08-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
885 * shell/Makefile.am: Don't include autogenerated
886 file ev-application-service.h into distribution, since
887 it causes dbus crash. Fix for bugs 313724 and 313443.
889 2005-08-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
891 * configure.ac: Fix sed expression for FreeBSD. Thanks
892 to Joe Marcus Clark <marcus@freebsd.org>
894 * shell/eggfindbar.c: (entry_activate_callback),
895 (entry_changed_callback), (egg_find_bar_init),
896 (egg_find_bar_set_search_string):
898 Made findbar buttons unsensitive if there is no text in
899 entry. Fix for the bug 313285.
901 2005-08-17 Carlos Garcia Campos <carlosgc@gnome.org>
903 * ps/ps-document.c: Use g_filename_display_name for displaying
904 filenames and revert string freeze breackage
906 2005-08-17 Marco Pesenti Gritti <mpg@redhat.com>
915 Add ev-application-service.xml to extra dist
917 * shell/ev-view.c: (find_page_at_location):
919 Remove unused function (fix warning)
921 2005-08-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
923 * dvi/mdvi-lib/t1.c: (t1_reset_resolution), (t1_really_load_font),
924 (t1_load_font), (t1_glyph_bitmap), (t1_font_remove):
926 Fix warnings and compilation with t1lib-5.0 and newer. Fix for
929 2005-08-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
931 * shell/ev-utils.c: (set_umask_permissions), (write_to_temp_file):
935 2005-08-16 Carlos Garcia Campos <carlosgc@gnome.org>
937 * configure.ac: Update script to get dbus version.
938 Fix for the bug #313443.
940 2005-08-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
942 * shell/ev-window.c: (ev_window_cmd_escape):
944 Return focus back to view on escape. Fix for bug 313295.
946 2005-08-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
948 * shell/ev-window.c: (update_window_title),
949 (ev_window_popup_password_dialog), (ev_window_load_job_cb),
950 (ev_window_cmd_save_as):
952 Correct conversion from uri to displayable string. Fix for
955 2005-08-16 Carlos Garcia Campos <carlosgc@gnome.org>
957 * ps/ps-document.c: convert filename to utf8 when there is an error
958 loading document. Fixes #309915
960 2005-08-16 Marco Pesenti Gritti <mpg@redhat.com>
964 We depend on poppler 0.4.0
966 Mon Aug 15 21:53:05 2005 Jonathan Blandford <jrb@redhat.com>
969 * NEWS: Release 0.3.3.
970 * thumbnailer/evince-thumbnailer.c: Remove pdf icon.
972 2005-08-14 Dennis Cranston <dennis_cranston@yahoo.com>
974 * shell/ev-window.c: (ev_window_cmd_file_open): HIG fixes:
975 add a couple missing mnemonics to menu items, use title
976 capitalization for menu items and window titles, and add
977 ellipsis to open menu item.
979 Mon Aug 15 00:40:21 2005 Jonathan Blandford <jrb@redhat.com>
982 * shell/ev-metadata-manager.c: (ev_metadata_manager_init):
983 * shell/ev-view.c: (ev_view_rotate_left), (ev_view_set_rotation),
984 (ev_view_get_rotation):
986 * shell/ev-window.c: (setup_view_from_metadata),
987 (save_rotation_to_file), (ev_window_cmd_edit_rotate_left),
988 (ev_window_cmd_edit_rotate_right): Fix rotation. Save it to
991 2005-08-14 Baris Cicek <baris@teamforce.name.tr>
993 * configure.ac: Added tr to ALL_LINGUAS
995 2005-08-12 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
997 * shell/ev-view.c: Fix for bug Bug 311838. Search backward
998 requires several clicks to find word. Thanks to
999 Colin Slater <kiltedtaco@gmail.com>.
1001 2005-08-11 Bryan Clark <clarkbw@cvs.gnome.org>
1003 * data/evince.desktop.in.in: Hide menu entry and
1004 rename it to "Document Viewer". Fix for bug
1007 2005-08-11 Crispin Flowerday <gnome@flowerday.cx>
1009 * shell/ev-page-action.c (ev_page_action_class_init):
1011 Point to the correct function in constructor of the
1012 activate_label signal
1014 Tue Aug 9 02:17:13 2005 Jonathan Blandford <jrb@redhat.com>
1016 * shell/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
1017 * shell/ev-jobs.h: Make thread safe.
1019 2005-08-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1021 * shell/ev-view.c: (view_update_range_and_current_page):
1022 Don't update page range if we are scrolling to some document
1025 2005-08-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1027 * shell/ev-view.c: (get_page_extents): reverse rotation/scale
1028 when getting max_page_width, fix drawing in dual mode.
1030 Sun Aug 7 02:06:08 2005 Jonathan Blandford <jrb@redhat.com>
1032 * shell/ev-view.c (ev_view_select_all): reverse rotation/page when
1033 getting the area for select_all.
1035 2005-08-06 Kristian Høgsberg <krh@redhat.com>
1037 * backend/ev-selection.c: (ev_selection_render_selection):
1038 * backend/ev-selection.h:
1039 * pdf/ev-poppler.cc:
1040 * shell/ev-jobs.c: (ev_job_render_new):
1042 * shell/ev-pixbuf-cache.c: (get_selection_colors),
1043 (add_job_if_needed), (ev_pixbuf_cache_get_selection_pixbuf):
1044 * shell/ev-view.c: (ev_view_focus_in), (ev_view_focus_out),
1045 (ev_view_class_init):
1047 Change selection color on focus in and focus out events. Also,
1048 poppler now uses GdkColor for specifying the selection colors, so
1049 drop some awkward conversion code.
1051 2005-08-06 Yair Hershkovitz <yairhr@gmail.com>
1053 * configure.ac: Added Hebrew translation
1055 Sat Aug 6 01:12:44 2005 Jonathan Blandford <jrb@redhat.com>
1058 * backend/ev-selection.c: (ev_selection_render_selection):
1059 * backend/ev-selection.h:
1060 * pdf/ev-poppler.cc:
1061 * shell/ev-jobs.c: (ev_job_render_dispose), (ev_job_render_new),
1062 (ev_job_render_run):
1064 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info),
1065 (ev_pixbuf_cache_new), (job_finished_cb), (add_job_if_needed),
1066 (convert_gdk_color_to_uint), (ev_pixbuf_cache_get_text_mapping),
1067 (ev_pixbuf_cache_style_changed),
1068 (ev_pixbuf_cache_get_selection_pixbuf),
1069 (ev_pixbuf_cache_set_selection_list),
1070 (ev_pixbuf_cache_get_selection_list):
1071 * shell/ev-pixbuf-cache.h:
1072 * shell/ev-utils.c: (ev_print_region_contents):
1074 * shell/ev-view.c: (ev_view_queue_draw_page),
1075 (selection_update_idle_cb), (ev_view_motion_notify_event),
1076 (ev_view_style_set), (draw_one_page), (ev_view_class_init),
1077 (setup_caches), (ev_view_find_next), (merge_selection_region),
1079 * shell/ev-window.c: (ev_window_update_fullscreen_popup):
1081 Clean up selection to be much smoother!
1083 2005-08-05 Kristian Høgsberg <krh@redhat.com>
1085 * pdf/ev-poppler.cc (pdf_selection_render_selection): Pass colors
1086 to poppler_page_render_selection().
1088 2005-08-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1090 * ps/ps-document.c: (save_page_list): Use
1091 unzipped document when printing. Thanks to
1092 Colin Slater <kiltedtaco@gmail.com>. Fix for bug
1095 2005-08-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1097 * shell/ev-window.c: (update_action_sensitivity):
1099 Disable print and save respect to lockdown gconf keys. Fix
1102 2005-08-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1105 * shell/ev-utils.c: (rename_file), (set_umask_permissions),
1106 (write_to_temp_file), (ev_file_set_contents):
1108 * shell/ev-window.c: (save_print_config_to_file):
1110 Copy-paste g_file_set_contents to keep compatibility with gtk 2.6
1113 2005-07-31 Christian Persch <chpe@cvs.gnome.org>
1115 * shell/ev-window.c: (load_print_config_from_file),
1116 (save_print_config_to_file), (ev_window_print_range):
1118 Persist the print settings. Fixes bug #311578.
1120 2005-07-31 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1122 * djvu/djvu-document.c: (djvu_document_get_page_size),
1123 (djvu_document_render_pixbuf), (djvu_document_document_iface_init),
1124 (djvu_document_thumbnails_get_thumbnail):
1125 * dvi/dvi-document.c: (dvi_document_get_page_size),
1126 (dvi_document_render_pixbuf), (dvi_document_document_iface_init),
1127 (dvi_document_thumbnails_get_dimensions),
1128 (dvi_document_thumbnails_get_thumbnail):
1129 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size),
1130 (pixbuf_document_render_pixbuf),
1131 (pixbuf_document_document_iface_init),
1132 (pixbuf_document_thumbnails_get_thumbnail):
1134 Update backends to make them build with new rotation system.
1136 2005-07-31 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1138 * help/C/figures/evince_start_window.png:
1140 Update documentation image from Luca Ferretti <elle.uca@libero.it>
1142 Sat Jul 30 19:09:34 2005 Jonathan Blandford <jrb@redhat.com>
1144 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_clear):
1145 * shell/ev-pixbuf-cache.h:
1146 * shell/ev-sidebar-thumbnails.c:
1147 (ev_sidebar_thumbnails_get_property), (add_range),
1148 (adjustment_changed_cb):
1149 * shell/ev-view.c: (ev_view_set_rotation): Fix rotation and the
1150 pixbuf cache. Make thumbnailing work again. Also, fix bug where
1151 we were thumbnailing the entire docment on startup, slowing us
1154 Fri Jul 29 23:14:28 2005 Jonathan Blandford <jrb@redhat.com>
1156 * shell/ev-page-cache.c: (ev_page_cache_new):
1157 * shell/ev-window.c: (update_action_sensitivity): Handle n_pages
1158 == 0, fixes #310306.
1160 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
1162 * shell/ev-view.c: (doc_rect_to_view_rect), (ev_view_rotate_right),
1163 (ev_view_rotate_left):
1165 Account rotation in doc_rect_to_view_rect.
1166 Ensure rotation doesnt go out of bounds.
1168 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
1170 * shell/ev-page-cache.c: (ev_page_cache_get_size):
1172 Correct and cleanup w/h swapping
1174 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
1176 * backend/ev-document-thumbnails.c:
1177 (ev_document_thumbnails_get_thumbnail):
1178 * backend/ev-document-thumbnails.h:
1179 * backend/ev-document.c:
1180 * backend/ev-document.h:
1181 * backend/ev-render-context.c: (ev_render_context_new),
1182 (ev_render_context_set_rotation):
1183 * backend/ev-render-context.h:
1184 * pdf/ev-poppler.cc:
1185 * ps/ps-document.c: (ps_document_document_iface_init):
1186 * shell/ev-jobs.c: (ev_job_thumbnail_new), (ev_job_thumbnail_run):
1188 * shell/ev-page-cache.c: (build_height_to_page),
1189 (ev_page_cache_new), (ev_page_cache_get_size),
1190 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
1191 (ev_page_cache_get_height_to_page):
1192 * shell/ev-page-cache.h:
1193 * shell/ev-pixbuf-cache.c: (check_job_size_and_unref),
1194 (add_job_if_needed), (ev_pixbuf_cache_add_jobs_if_needed),
1195 (ev_pixbuf_cache_set_page_range), (new_selection_pixbuf_needed),
1196 (ev_pixbuf_cache_get_selection_pixbuf):
1197 * shell/ev-pixbuf-cache.h:
1198 * shell/ev-print-job.c: (idle_print_handler):
1199 * shell/ev-sidebar-thumbnails.c: (add_range):
1200 * shell/ev-view.c: (view_update_range_and_current_page),
1201 (get_page_y_offset), (get_page_extents),
1202 (ev_view_size_request_continuous_dual_page),
1203 (ev_view_size_request_continuous),
1204 (ev_view_size_request_dual_page),
1205 (ev_view_size_request_single_page), (draw_one_page),
1206 (ev_view_set_rotation), (ev_view_rotate_right),
1207 (ev_view_rotate_left), (ev_view_zoom_for_size_presentation),
1208 (ev_view_zoom_for_size_continuous_and_dual_page),
1209 (ev_view_zoom_for_size_continuous),
1210 (ev_view_zoom_for_size_dual_page),
1211 (ev_view_zoom_for_size_single_page), (compute_new_selection_text),
1212 (ev_view_select_all):
1213 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
1214 * tiff/tiff-document.c: (tiff_document_render_pixbuf),
1215 (tiff_document_document_iface_init),
1216 (tiff_document_thumbnails_get_thumbnail):
1218 Use rotation rather than orientation. It's easier and enough
1221 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
1223 * shell/ev-page-cache.c: (build_height_to_page),
1224 (ev_page_cache_new), (ev_page_cache_get_size),
1225 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
1226 (ev_page_cache_get_height_to_page):
1227 * shell/ev-page-cache.h:
1228 * shell/ev-view.c: (get_page_y_offset), (get_page_extents),
1229 (ev_view_size_request_continuous_dual_page),
1230 (ev_view_size_request_continuous),
1231 (ev_view_zoom_for_size_continuous_and_dual_page),
1232 (ev_view_zoom_for_size_continuous):
1234 Make the page cache aware of page orientation.
1236 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
1238 * backend/ev-document-thumbnails.c:
1239 (ev_document_thumbnails_get_thumbnail):
1240 * backend/ev-document-thumbnails.h:
1241 * backend/ev-document.c:
1242 * backend/ev-document.h:
1243 * backend/ev-ps-exporter.c: (ev_ps_exporter_do_page):
1244 * backend/ev-ps-exporter.h:
1245 * pdf/ev-poppler.cc:
1246 * ps/ps-document.c: (ps_document_document_iface_init),
1247 (ps_document_ps_export_do_page):
1248 * shell/ev-jobs.c: (ev_job_thumbnail_new), (ev_job_thumbnail_run):
1250 * shell/ev-page-cache.c: (ev_page_cache_get_size),
1251 (ev_page_cache_get):
1252 * shell/ev-page-cache.h:
1253 * shell/ev-pixbuf-cache.c: (check_job_size_and_unref),
1254 (add_job_if_needed), (ev_pixbuf_cache_add_jobs_if_needed),
1255 (ev_pixbuf_cache_set_page_range), (new_selection_pixbuf_needed):
1256 * shell/ev-pixbuf-cache.h:
1257 * shell/ev-print-job.c: (idle_print_handler):
1258 * shell/ev-sidebar-thumbnails.c: (add_range):
1259 * shell/ev-view.c: (view_update_range_and_current_page),
1260 (get_page_extents), (ev_view_size_request_dual_page),
1261 (ev_view_size_request_single_page), (draw_one_page),
1262 (clear_caches), (ev_view_set_orientation), (ev_view_rotate_right),
1263 (ev_view_rotate_left), (ev_view_zoom_for_size_presentation),
1264 (ev_view_zoom_for_size_dual_page),
1265 (ev_view_zoom_for_size_single_page), (compute_new_selection_text),
1266 (ev_view_select_all):
1267 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
1268 * tiff/tiff-document.c: (tiff_document_get_page_size),
1269 (tiff_document_get_orientation), (rotate_pixbuf),
1270 (tiff_document_render_pixbuf), (tiff_document_document_iface_init),
1271 (tiff_document_thumbnails_get_thumbnail),
1272 (tiff_document_ps_export_do_page), (tiff_document_init):
1274 Really make use of the orientation bit of the render context.
1275 Use the render context in a few more places in the backend API.
1276 This regress orientation, but now it's done right. Will try to
1279 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
1281 * shell/ev-view.c: (ensure_rectangle_is_visible):
1283 Patch by Nickolay V. Shmyrev to fix find flickering
1285 2005-07-27 Martin Kretzschmar <martink@gnome.org>
1287 * backend/ev-ps-exporter.h: add paper_width, paper_height, and
1288 duplex parameters to ::begin.
1290 * tiff/tiff-document.c (tiff_document_ps_export_begin):
1291 * shell/ev-print-job.c (idle_print_handler):
1292 * ps/ps-document.c (ps_document_ps_export_begin):
1293 * pdf/ev-poppler.cc (pdf_document_ps_exporter_begin):
1294 * backend/ev-ps-exporter.c (ev_ps_exporter_begin): update
1295 implementations. Poppler backend needs poppler cvs. Rest has
1298 2005-07-25 Martin Kretzschmar <martink@gnome.org>
1300 * shell/ev-window.c (using_pdf_printer): new function.
1301 (ev_window_print_range): print a less techy message if someone
1302 tries to print to PDF.
1304 2005-07-25 Martin Kretzschmar <martink@gnome.org>
1306 * pdf/ev-poppler.cc (font_type_to_string): Remove trailing space
1307 from "unknown font" string. Bug #311431
1309 2005-07-24 Martin Kretzschmar <martink@gnome.org>
1311 * help/es/.cvsignore, help/sr/.cvsignore: ignore xmlpo output.
1313 2005-07-24 Martin Kretzschmar <martink@gnome.org>
1317 * pdf/ev-poppler.cc (font_type_to_string): new, returns user readable
1318 name for PopplerFontTypes
1319 (pdf_document_fonts_fill_model): add font type to the detail column
1321 * backend/ev-document-fonts.h: added
1322 EV_DOCUMENT_FONTS_COLUMN_DETAILS.
1324 * shell/ev-properties-fonts.c (font_cell_data_func): glue together
1325 font name and font details, add a little markup.
1326 (ev_properties_fonts_init): use the new cell data func, specify ypad
1327 property for the cell renderer.
1328 (ev_properties_fonts_set_document): add the details column.
1330 2005-07-24 Artur Flinta <aflinta@cvs.gnome.org>
1332 * configure.ac: Added "pl" to ALL_LINGUAS.
1334 2005-07-24 Danilo Šegan <danilo@gnome.org>
1336 * configure.ac: Added "sr" and "sr@Latn" to ALL_LINGUAS.
1338 2005-07-23 Tommi Vainikainen <thv@iki.fi>
1340 * help/ChangeLog: Started this for translations of manual.
1341 * configure.ac, autogen.sh, .cvsignore: Migrated to
1342 gnome-doc-utils. Patch in bug #311222.
1344 2005-07-22 Martin Kretzschmar <martink@gnome.org>
1346 * backend/ev-document-factory.c (mime_type_supported_by_gdk_pixbuf):
1347 #ifdef this away to fix an unused-function warning.
1349 2005-07-22 Ignacio Casal Quinteiro <nacho.resa@gmail.com>
1351 * configure.ac: Added 'gl' to ALL_LINGUAS.
1353 2005-07-22 Pawan Chitrakar <pawan@nplinux.org>
1355 * configure.ac: Added ne in ALL_LINGUAS
1357 2005-07-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1359 * shell/ev-view.c: (ev_view_leave_notify_event):
1361 Clear status message when pointer leaves view. Fix for bug
1364 2005-07-20 Ankit Patel <ankit644@yahoo.com>
1366 * configure.ac: Gujarati (gu) added to ALL_LINGUAS
1368 2005-07-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1370 * shell/ev-view.c: (ev_view_leave_notify_event),
1371 (ev_view_class_init):
1373 Set cursor to normal then leaving view.
1375 2005-07-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1379 Fix required djvulibre version.
1381 2005-07-15 Rajesh Ranjan <rajeshkajha@yahoo.com>
1383 *configure.ac: Hindi (hi) language added
1385 2005-07-15 Amanpreet Singh Brar <amanpreetalam@yahoo.com>
1387 *configure.ac: Punjabi (pa) Language added
1389 2005-07-12 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1391 * data/evince-ui.xml, shell/ev-window.c:
1393 Add keypad accelerators for zooming. Fix for bug 308128.
1395 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
1398 * backend/Makefile.am:
1399 * backend/ev-document-factory.c: (ev_document_type_get_from_mime):
1401 * shell/ev-document-types.c: (ev_document_types_add_filters):
1403 Allow to enable/disable the pixbuf backend.
1404 Default to off for now. If we want it enabled we should
1405 really put mime types in the desktop, implement properties etc.
1407 * properties/evince-properties.c:
1409 Initialize error to NULL.
1410 Check error is not NULL before freeing.
1412 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
1414 * shell/ev-window.c:
1416 Use F5 as presentation accell
1418 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
1420 * shell/ev-window.c: (update_chrome_visibility),
1421 (ev_window_create_fullscreen_popup), (ev_window_init):
1423 Do not leak the fullscreen toolbar
1425 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
1427 * shell/ev-window.c: (view_actions_focus_in_cb),
1428 (view_actions_focus_out_cb):
1430 These has a return value! Fix totally random focus
1431 issues we was seeing.
1433 2005-07-11 Carlos Garcia Campos <carlosgc@gnome.org>
1435 * shell/main.c: (load_files_remote):
1437 Allow open more than one file
1439 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
1441 * shell/main.c: (load_files_remote):
1443 Fix for dbus 0.33. bug #309975
1445 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
1447 * properties/ev-properties-main.c: (ev_properties_get_pages):
1449 Actually return NULL for types we dont support
1451 2005-07-08 Christian Persch <chpe@cvs.gnome.org>
1457 2005-07-08 Marco Pesenti Gritti <marco@gnome.org>
1459 * backend/ev-document-factory.c:
1460 (ev_document_factory_get_document):
1462 Do not try to create the object if type
1465 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
1467 * ps/ps-document.c: (ps_document_dispose),
1468 (ps_async_renderer_render_pixbuf):
1471 Do not leak the target window
1473 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
1475 * shell/ev-application.c: (ev_application_init):
1477 Let tbe check file existence for us.
1478 Add a comment about eggrecent mime filter.
1480 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
1482 * data/evince-ui.xml:
1483 * shell/ev-application.c: (ev_application_shutdown),
1484 (ev_application_init), (ev_application_get_toolbars_model),
1485 (ev_application_get_recent_model),
1486 (ev_application_save_toolbars_model):
1487 * shell/ev-application.h:
1488 * shell/ev-window.c: (ev_window_add_recent),
1489 (ev_window_setup_recent), (ev_window_cmd_edit_toolbar_cb),
1490 (ev_window_cmd_edit_toolbar), (ev_window_dispose),
1493 Use common toolbar and recent models for all windows.
1494 Patch by Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1496 Thu Jul 7 23:10:01 2005 Jonathan Blandford <jrb@redhat.com>
1498 * configure.ac: add FRONTEND_CORE_LIBS to evince_save_LIBS so we
1499 successfully check for gtk_icon_view_get_visible_range.
1501 2005-07-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1506 Fix djvu and dvi backend build.
1508 2005-07-07 Christian Persch <chpe@cvs.gnome.org>
1510 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c: (new_pixbuf_from_widget),
1511 (new_separator_pixbuf):
1515 2005-07-07 Christian Persch <chpe@cvs.gnome.org>
1517 * shell/ev-window.c: (ev_window_cmd_edit_toolbar):
1519 HIGification of toolbar editor dialogue.
1521 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1524 * shell/Makefile.am:
1526 Ever build metadata manager since it's just
1527 disabled at runtime now.
1529 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1531 * shell/ev-metadata-manager.c: (ev_metadata_manager_init),
1532 (ev_metadata_manager_get), (ev_metadata_manager_set):
1533 * shell/ev-metadata-manager.h:
1535 Add an _init functions that enabled metadata management
1538 * shell/ev-window.c: (page_changed_cb),
1539 (setup_document_from_metadata), (ev_window_setup_document),
1540 (setup_view_from_metadata), (ev_window_open_uri),
1541 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
1542 (ev_window_run_presentation), (ev_window_stop_presentation),
1543 (save_sizing_mode), (ev_window_zoom_changed_cb),
1544 (ev_window_continuous_changed_cb),
1545 (ev_window_dual_mode_changed_cb), (window_state_event_cb),
1546 (window_configure_event_cb):
1548 Remove all ugly metadata define since we deal with it
1551 * shell/main.c: (load_files_remote), (main):
1553 Add support for dbus cvs head. Hopefully didnt break one
1554 of the other versions now!
1556 If we dont get a response from the dbus server just
1557 give up with it and not enable metadata.
1559 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1562 * backend/Makefile.am:
1564 * cut-n-paste/recent-files/Makefile.am:
1565 * cut-n-paste/toolbar-editor/Makefile.am:
1566 * cut-n-paste/zoom-control/Makefile.am:
1569 * pixbuf/Makefile.am:
1570 * properties/Makefile.am:
1572 * shell/Makefile.am:
1573 * thumbnailer/Makefile.am:
1576 Make frontends depend on just libev.
1577 Rework and group CFLAGS/LIBS definitions.
1580 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1584 do not unnecessarily save zoom
1587 * lib/ev-file-helpers.c: (ev_dot_dir):
1588 * shell/Makefile.am:
1593 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1597 Remove unnecessary dependencies
1599 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1601 * properties/Makefile.am:
1602 * thumbnailer/Makefile.am:
1605 Some more cleanups. Was really necessary
1606 but I probably introduced bugs, feel free
1609 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1611 * backend/Makefile.am:
1613 * cut-n-paste/recent-files/Makefile.am:
1614 * cut-n-paste/toolbar-editor/Makefile.am:
1615 * cut-n-paste/zoom-control/Makefile.am:
1618 * pixbuf/Makefile.am:
1619 * properties/Makefile.am:
1621 * shell/Makefile.am:
1622 * thumbnailer/Makefile.am:
1625 Use gnome-common macros when possible.
1626 Cleanup dependencies.
1627 Actually disable deprecated where possible.
1629 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1632 * backend/Makefile.am:
1633 * properties/Makefile.am:
1634 * shell/Makefile.am:
1635 * thumbnailer/Makefile.am:
1637 This should solve the circular dep without
1638 requiring dir reorg!
1640 * shell/ev-window.c: (setup_view_from_metadata):
1642 Never restore window size/position when the
1643 window is already visible.
1645 2005-07-06 Christian Persch <chpe@cvs.gnome.org>
1647 * shell/ev-metadata-manager.c: (ev_metadata_manager_save):
1649 Return a boolean from timeout func. Fix ported from gedit.
1651 2005-07-07 Iñaki Larrañaga <dooteo@euskalgnu.org>
1653 * configure.ac: Added "eu" (Basque) to ALL_LINGUAS.
1655 2005-07-06 Carlos Garcia Campos <carlosgc@gnome.org>
1657 * shell/ev-document-types.c: set "All Documents" as default filter in
1660 2005-07-06 Martin Kretzschmar <martink@gnome.org>
1662 * shell/ev-metadata-manager.c (ev_metadata_manager_set_int)
1663 (ev_metadata_manager_set_double, ev_metadata_manager_set_string)
1664 (ev_metadata_manager_set_boolean): fix value/val thinko.
1666 2005-07-06 Marco Pesenti Gritti <mpg@redhat.com>
1668 * shell/ev-window.c: (setup_view_from_metadata),
1669 (window_state_event_cb), (window_configure_event_cb),
1672 Remember window position and maximized state
1674 2005-07-06 Christian Persch <chpe@cvs.gnome.org>
1678 Fix DBUS configure checks.
1680 * shell/ev-metadata-manager.c: (ev_metadata_manager_set_int),
1681 (ev_metadata_manager_set_double), (ev_metadata_manager_set_string),
1682 (ev_metadata_manager_set_boolean):
1686 * shell/ev-window.c: (page_changed_cb), (ev_window_run_fullscreen),
1687 (ev_window_stop_fullscreen), (ev_window_run_presentation),
1688 (ev_window_stop_presentation), (ev_window_zoom_changed_cb),
1689 (ev_window_continuous_changed_cb),
1690 (ev_window_dual_mode_changed_cb), (ev_window_new):
1692 Fix the build without DBUS.
1694 2005-07-06 Marco Pesenti Gritti <mpg@redhat.com>
1696 * shell/ev-metadata-manager.c: (parse_value), (save_values),
1697 (ev_metadata_manager_set_int), (ev_metadata_manager_set_double),
1698 (ev_metadata_manager_set_string),
1699 (ev_metadata_manager_set_boolean):
1700 * shell/ev-metadata-manager.h:
1702 Add support for some more types
1704 * shell/ev-view.c: (scroll_to_current_page),
1705 (ev_view_get_continuous), (ev_view_set_continuous),
1706 (ev_view_get_dual_page):
1708 * shell/ev-window.c: (page_changed_cb),
1709 (setup_document_from_metadata), (ev_window_setup_document),
1710 (setup_view_from_metadata), (ev_window_open_uri),
1711 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
1712 (ev_window_run_presentation), (ev_window_stop_presentation),
1713 (save_sizing_mode), (ev_window_sizing_mode_changed_cb),
1714 (ev_window_zoom_changed_cb), (ev_window_update_continuous_action),
1715 (ev_window_update_dual_page_action),
1716 (ev_window_continuous_changed_cb),
1717 (ev_window_dual_mode_changed_cb), (ev_window_init):
1719 Remember a bunch of view/document properties. Prolly some
1720 are still missing but it's getting interesting.
1722 2005-07-05 Martin Kretzschmar <martink@gnome.org>
1724 * configure.ac: check if dbus-binding-tool is installed. Not the
1725 case on current Ubuntu breezy, it seems.
1727 2005-07-05 Luca Ferretti <elle.uca@libero.it>
1729 * data/evince.desktop.in.in:
1731 Allow open uri lists and add TryExec field.
1733 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
1737 Enable dbus when available, do not require a configure
1740 2005-07-05 Christian Persch <chpe@cvs.gnome.org>
1744 Use AM_CONDITIONAL unconditionally, fixes the build with DBUS
1747 2005-07-05 Carlos Garcia Campos <carlosgc@gnome.org>
1748 Marco Pesenti Gritti <mpg@redhat.com>
1750 * shell/Makefile.am: Add --prefix for dbus-binding-tool script
1752 * shell/ev-application.[ch], shell/ev-window.c: change dbus RPC
1753 functions to the format required by dbus
1755 * shell/main.c: use G_TYPE instead of DBUS_TYPE to fix compilation
1756 errors. Use the RPC parameters in the expected way
1758 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
1761 * properties/Makefile.am:
1762 * properties/ev-properties-main.c: (ev_properties_get_pages):
1764 Support all mime types
1766 * shell/Makefile.am:
1767 * thumbnailer/Makefile.am:
1768 * thumbnailer/evince-thumbnailer.c: (get_document_from_uri),
1769 (evince_thumbnail_pngenc_get):
1771 Use the document factory
1773 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
1775 * backend/Makefile.am:
1776 * backend/ev-document-factory.c:
1777 (mime_type_supported_by_gdk_pixbuf),
1778 (ev_document_type_get_from_mime),
1779 (ev_document_factory_get_document),
1780 (ev_document_factory_get_backend),
1781 (ev_document_factory_get_mime_types),
1782 (ev_document_factory_get_all_mime_types):
1783 * backend/ev-document-factory.h:
1784 * shell/Makefile.am:
1785 * shell/ev-document-types.c: (get_document_from_uri),
1786 (ev_document_types_get_document),
1787 (file_filter_add_mime_list_and_free),
1788 (ev_document_types_add_filters):
1789 * shell/ev-document-types.h:
1790 * shell/ev-job-xfer.c: (ev_job_xfer_run):
1791 * shell/ev-properties-dialog.c:
1792 (ev_properties_dialog_set_document):
1793 * shell/ev-window.c: (ev_window_cmd_file_open),
1794 (ev_window_cmd_save_as):
1795 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
1797 Rework document types managing to avoid code duplication
1798 and actually abstract from backend implementations.
1799 Also provide a minimal factory api that can be used by
1800 thumbnailer/properties.
1802 2005-07-05 Christian Persch <chpe@cvs.gnome.org>
1804 * properties/ev-properties-view.c: (ev_properties_view_set_info):
1806 * shell/ev-properties-dialog.c: (ev_properties_dialog_init):
1809 2005-07-04 Matthew S. Wilson <msw@rpath.com>
1811 * shell/ev-properties-dialog.c
1812 (ev_properties_dialog_set_document): only call
1813 ev_properties_fonts_set_document() if the document implements the
1816 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
1819 * properties/Makefile.am:
1820 * properties/ev-properties-view.c:
1821 (ev_properties_view_register_type):
1822 * properties/ev-properties-view.h:
1823 * properties/ev-properties-main.h:
1825 Implement nautilus plugin for properties.
1826 Works only for pdf atm, I need to rework the
1827 document types stuff to get this to work
1830 2005-07-04 Martin Kretzschmar <martink@gnome.org>
1832 * shell/ev-properties-fonts.c (enum): kill redundant columns enum
1833 (ev_properties_fonts_set_document): use
1834 EV_DOCUMENT_FONTS_COLUMN_NUM_COLUMNS.
1836 2005-07-04 Matthew S. Wilson <msw@rpath.com>
1838 * tiff/tiff2ps.c: remove TRUE and FALSE definitions, glib provides
1840 (PlaceImage, tiff2ps_process_page): use
1841 g_ascii_dtostr to convert floats to strings in a locale-safe way.
1844 2005-07-04 Martin Kretzschmar <martink@gnome.org>
1846 * shell/main.c: include libgnomeui/gnome-authentication-manager.h
1847 (main): to call gnome_authentication_manager_init. Should fix
1850 * configure.ac: that requires libgnomeui 2.6.0.
1852 2005-07-04 Matthew S. Wilson <msw@rpath.com>
1854 * tiff/tiff-document.c (tiff_document_ps_export_begin)
1855 (tiff_document_ps_export_do_page, tiff_document_ps_export_end):
1856 use the new tiff2ps interfaces
1858 * tiff/tiff2ps.h (tiff2ps_context_new, tiff2ps_process_page)
1859 (tiff2ps_context_finalize): implement new interfaces for tiff2ps
1861 * tiff/tiff2ps.c: refactor tiff2ps code to use a context
1862 structure instead of global variables. Remove use of static
1863 variables in functions.
1865 2005-07-04 Carlos Garcia Campos <carlosgc@gnome.org>
1867 * shell/ev-page-action.c: unref the completion after setting it to the
1870 2005-07-04 Matthew S. Wilson <msw@rpath.com>
1872 * tiff/tiff2ps.c (generateEPSF): disable generating encapsulated
1875 2005-07-04 Matthew S. Wilson <msw@rpath.com>
1877 * shell/ev-window.c (update_action_sensitivity): disable
1878 File->Print if the document does not implement the ps exporter
1881 2005-07-04 Marco Pesenti Gritti <mpg@redhat.com>
1885 * data/evince-properties.glade:
1886 * properties/.cvsignore:
1887 * properties/Makefile.am:
1888 * properties/ev-properties-view.c: (ev_properties_view_dispose),
1889 (ev_properties_view_class_init), (ev_properties_view_format_date),
1890 (make_valid_utf8), (set_property), (ev_properties_view_set_info),
1891 (ev_properties_view_init), (ev_properties_view_new):
1892 * properties/ev-properties-view.h:
1893 * shell/Makefile.am:
1894 * shell/ev-properties-dialog.c: (ev_properties_dialog_class_init),
1895 (ev_properties_dialog_init), (ev_properties_dialog_set_document),
1896 (ev_properties_dialog_new):
1897 * shell/ev-properties-dialog.h:
1898 * shell/ev-properties-fonts.c: (ev_properties_fonts_dispose),
1899 (ev_properties_fonts_class_init), (ev_properties_fonts_init),
1900 (update_progress_label), (job_fonts_finished_cb),
1901 (ev_properties_fonts_set_document), (ev_properties_fonts_new):
1902 * shell/ev-properties-fonts.h:
1903 * shell/ev-properties.c:
1904 * shell/ev-properties.h:
1905 * shell/ev-window.c: (ev_window_setup_document),
1906 (ev_window_cmd_file_properties):
1908 Split the properties pages in two different objects, depend
1909 only on the backend where possible, use widgets instead
1910 of gobject for the glade part, reimplement the dialog
1912 I need this to implement nautilus properties page.
1914 2005-07-03 Matthew S. Wilson <msw@rpath.com>
1916 * tiff/tiff-document.c (tiff_document_ps_export_begin)
1917 (tiff_document_ps_export_do_page, tiff_document_ps_export_end)
1918 (tiff_document_document_ps_exporter_iface_init): implement the ps
1919 exporter interface for tiff documents
1921 * tiff/tiff2ps.c: added a modified version of tiff2ps.c from
1922 libtiff to implement TIFF postscript export
1924 * tiff/tiff2ps.h: added a header file for external tiff2ps
1927 * tiff/Makefile.am (libtiffdocument_la_SOURCES): add tiff2ps.c and
1930 2005-07-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1932 * shell/ev-view.c: (scroll_to_current_page),
1933 (ev_view_set_fullscreen), (ev_view_set_presentation):
1935 Scroll to current page when exit from presentation
1937 2005-07-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1939 * shell/ev-window.c: (update_document_mode),
1940 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
1941 (ev_window_cmd_view_fullscreen), (ev_window_stop_presentation),
1942 (ev_window_cmd_view_presentation), (ev_window_cmd_escape):
1944 Exit from fullscreen mode when switch to presentation. Fix for
1947 2005-07-02 Matthew S. Wilson <msw@rpath.com>
1949 * shell/ev-pixbuf-cache.c (ev_pixbuf_cache_get_selection_pixbuf):
1950 return NULL if the document does not implement the selection
1953 2005-07-02 Matthew S. Wilson <msw@rpath.com>
1955 * tiff/tiff-document.c (tiff_document_get_page_size): scale the
1956 reported height by using the resolution aspect ratio
1957 (tiff_document_render_pixbuf): scale the pixbuf using the
1958 resolution aspect ratio
1960 2005-07-01 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1964 Require libgnomeprint >= 2.5.1. Thanks to Colin Slater
1965 <kiltedaco@gmail.com>
1967 * djvu/djvu-document.c: (djvu_document_get_orientation),
1968 (djvu_document_set_orientation), (djvu_document_get_page_size),
1969 (rotate_pixbuf), (djvu_document_render_pixbuf),
1970 (djvu_document_document_iface_init):
1971 * dvi/dvi-document.c: (dvi_document_get_orientation),
1972 (dvi_document_set_orientation), (dvi_document_get_page_size),
1973 (rotate_pixbuf), (dvi_document_render_pixbuf),
1974 (dvi_document_document_iface_init):
1976 Dvi and djvu backends are ported to new API
1978 Fri Jul 1 00:10:15 2005 Jonathan Blandford <jrb@redhat.com>
1980 * backend/ev-selection.c: (ev_selection_get_selection_region),
1981 (ev_selection_get_selection_map):
1982 * backend/ev-selection.h:
1983 * pdf/ev-poppler.cc:
1984 * shell/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
1986 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info),
1987 (job_finished_cb), (copy_job_to_job_info), (add_job_if_needed),
1988 (ev_pixbuf_cache_get_text_mapping):
1989 * shell/ev-pixbuf-cache.h:
1990 * shell/ev-view.c: (location_in_text),
1991 (ev_view_motion_notify_event), (ev_view_set_cursor): Add I-Beam
1992 support to EvView. Now we can see where we can select! Sweet!
1994 2005-06-30 Kristian Høgsberg <krh@redhat.com>
1996 * shell/ev-view.c (ev_view_button_press_event): Fix
1997 event->y + view->scroll_x typo.
1999 2005-06-30 Kristian Høgsberg <krh@redhat.com>
2001 * pdf/ev-poppler.cc: Adjust to poppler API changes; use a
2002 sub-GdkPixbuf instead of passing dest_x and dest_y.
2004 * shell/ev-view.c: (view_point_to_doc_point),
2005 (view_rect_to_doc_rect), (ev_view_button_press_event),
2006 (ev_view_motion_notify_event), (compute_new_selection_rect),
2007 (gdk_rectangle_point_in), (compute_new_selection_text),
2008 (compute_selections): Update selection code to keep the selection
2009 around as two points and not as a normalized rectangle, and fix
2010 page level selection in two-column mode.
2012 2005-06-30 Alex Duggan <aldug@astrolinux.com>
2014 * shell/ev-window.c: (window_configure_event_cb):
2018 2005-06-30 Marco Pesenti Gritti <mpg@redhat.com>
2020 * pdf/ev-poppler.cc:
2024 2005-06-30 Marco Pesenti Gritti <mpg@redhat.com>
2026 * shell/Makefile.am:
2027 * shell/ev-metadata-manager.c: (item_free),
2028 (ev_metadata_manager_init), (ev_metadata_manager_shutdown),
2029 (parse_value), (parseItem), (load_values),
2030 (ev_metadata_manager_get), (value_free), (ev_metadata_manager_set),
2031 (save_values), (save_item), (get_oldest), (resize_items),
2032 (ev_metadata_manager_save), (ev_metadata_manager_set_int):
2033 * shell/ev-metadata-manager.h:
2035 Metadata manager from gedit but modified to use GValue, so that
2036 we dont need to keep converting from strings.
2040 ENABLE_METADATA conditional, on when dbus is on
2042 * shell/ev-application.c: (ev_application_open_uri):
2044 Show the window after load so that we can initialize
2045 window size before it's showed.
2047 * shell/ev-window.c: (ev_window_setup_from_metadata),
2048 (ev_window_open_uri), (window_configure_event_cb),
2051 Save and load metadata information about window size.
2052 Not yet keeping states in account.
2054 * shell/main.c: (main):
2056 Shutdown metadata manager.
2058 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
2060 * shell/ev-application-service.xml:
2062 * shell/Makefile.am:
2063 * shell/ev-application.c:
2064 * shell/ev-application.h:
2065 * shell/ev-window.c:
2066 * shell/ev-window.h:
2069 Add an optional dbus interface (--enable-dbus).
2070 Rework application code, mainly to be easier to
2072 Do not open multiple windows with the same document,
2075 Thu Jun 30 01:50:14 2005 Jonathan Blandford <jrb@redhat.com>
2077 * shell/ev-pixbuf-cache.c (clear_selection_if_needed): unref the
2078 pixbuf iff it exists.
2080 Thu Jun 30 01:43:00 2005 Jonathan Blandford <jrb@redhat.com>
2083 * backend/ev-render-context.[ch]:
2084 * backend/ev-selection.[ch]:
2086 Massive changes. We now support text selection of pdfs, and not
2087 just rectangular selection. This is pretty broken still, but I
2088 want to get something into CVS.
2090 2005-06-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2092 * pdf/ev-poppler.cc:
2094 Fix for Bug 309080: crash on window close.
2096 * shell/ev-page-action.c: (page_changed_cb):
2098 Fix for Bug 309168: Fix build with gcc 2.95. Thanks to
2099 jensgr@gmx.net (Jens Granseuer).
2101 2005-06-25 Marcel Telka <marcel@telka.sk>
2103 * configure.in (ALL_LINGUAS): Added sk.
2105 2005-06-24 Carlos Garcia Campos <carlosgc@gnome.org>
2107 * shell/ev-window.c: Make rotate menu entries unsensitive if there is
2110 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
2117 * cut-n-paste/recent-files/Makefile.am:
2121 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
2123 * pixbuf/pixbuf-document.c: (pixbuf_document_get_orientation),
2124 (pixbuf_document_set_orientation), (rotate_pixbuf),
2125 (pixbuf_document_get_page_size), (pixbuf_document_render_pixbuf),
2126 (pixbuf_document_document_iface_init), (pixbuf_document_init):
2128 Implement rotation and cleanup the code a bit.
2130 * tiff/tiff-document.c: (tiff_document_get_page_size),
2131 (tiff_document_get_orientation), (tiff_document_set_orientation),
2132 (rotate_pixbuf), (tiff_document_render_pixbuf),
2133 (tiff_document_document_iface_init), (tiff_document_init):
2135 Implement rotation. Was the quicker solution for the release
2136 but we really need to share this code in the shell.
2138 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
2140 * pdf/ev-poppler.cc:
2142 Enable rotation, require poppler cvs. Fix a leak.
2144 2005-06-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2146 * shell/ev-window.c: (update_action_sensitivity):
2148 Make properties unsensitive if document backend doesn't provide
2151 2005-06-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2153 * dvi/mdvi-lib/bitmap.c: (bitmap_alloc), (bitmap_alloc_raw),
2154 (bitmap_flip_horizontally), (bitmap_flip_vertically),
2155 (bitmap_flip_diagonally), (bitmap_rotate_clockwise),
2156 (bitmap_rotate_counter_clockwise), (bitmap_flip_rotate_clockwise),
2157 (bitmap_flip_rotate_counter_clockwise):
2158 * dvi/mdvi-lib/color.c: (mdvi_push_color), (get_color_table):
2159 * dvi/mdvi-lib/common.c: (read_string), (buff_free), (buff_add),
2161 * dvi/mdvi-lib/common.h:
2162 * dvi/mdvi-lib/dvimisc.c: (mdvi_push_color):
2163 * dvi/mdvi-lib/dviread.c: (get_bytes), (dreset), (define_font),
2164 (opendvi), (mdvi_reload), (mdvi_init_context),
2165 (mdvi_destroy_context), (mdvi_dopage), (special):
2166 * dvi/mdvi-lib/font.c: (font_drop_one), (font_free_unused):
2167 * dvi/mdvi-lib/fontmap.c: (read_encoding), (destroy_encoding),
2168 (file_hash_free), (register_encoding), (parse_spec),
2169 (mdvi_load_fontmap), (free_ent), (mdvi_init_fontmaps),
2170 (mdvi_add_fontmap_file), (mdvi_ps_read_fontmap),
2171 (mdvi_ps_flush_fonts), (mdvi_ps_find_font), (mdvi_ps_get_metrics):
2172 * dvi/mdvi-lib/fontsrch.c: (mdvi_list_font_class),
2173 (mdvi_register_font_type), (mdvi_unregister_font_type),
2174 (lookup_font), (mdvi_add_font), (mdvi_font_retry):
2175 * dvi/mdvi-lib/gf.c: (gf_read_bitmap), (gf_load_font):
2176 * dvi/mdvi-lib/hash.c: (mdvi_hash_remove), (mdvi_hash_remove_ptr),
2177 (mdvi_hash_destroy_key), (mdvi_hash_reset):
2178 * dvi/mdvi-lib/pagesel.c: (mdvi_parse_range),
2179 (mdvi_parse_page_spec), (mdvi_free_page_spec), (main):
2180 * dvi/mdvi-lib/paper.c: (mdvi_free_paper_specs):
2181 * dvi/mdvi-lib/pk.c: (pk_lookup), (pk_lookupn), (pk_load_font):
2182 * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
2183 * dvi/mdvi-lib/special.c: (mdvi_register_special),
2184 (mdvi_unregister_special), (mdvi_flush_specials):
2185 * dvi/mdvi-lib/t1.c: (t1_lookup_font), (t1_really_load_font),
2187 * dvi/mdvi-lib/tfm.c: (get_tfm_chars):
2188 * dvi/mdvi-lib/tfmfile.c: (afm_load_file), (tfm_load_file),
2189 (ofm1_load_file), (ofm_load_file), (get_font_metrics),
2190 (free_font_metrics), (flush_font_metrics):
2191 * dvi/mdvi-lib/tt.c: (tt_really_load_font), (tt_get_bitmap),
2193 * dvi/mdvi-lib/util.c: (mdvi_malloc), (mdvi_realloc),
2194 (mdvi_calloc), (mdvi_free), (mdvi_strdup), (mdvi_strncpy),
2195 (mdvi_strndup), (mdvi_memdup), (xstradd), (dstring_append),
2196 (dstring_insert), (dstring_new), (dstring_reset):
2197 * dvi/mdvi-lib/vf.c: (vf_load_font), (vf_free_macros):
2199 Rename xmalloc and xfree to mdvi_malloc and mdvi_free to
2200 avoid conflict with libtool on FC4
2202 * shell/ev-window.c: (ev_window_cmd_help_about):
2204 Update copyright year. Fix for bug 308828.
2206 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
2208 * shell/ev-view.c: (add_scroll_binding_keypad),
2209 (ev_view_binding_activated), (ev_view_class_init),
2210 (on_adjustment_value_changed):
2212 Bug 170874: Arrow keys switch pages in presentation mode
2214 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
2216 * shell/ev-window.c: (ev_window_sidebar_visibility_changed_cb):
2218 Fix for Bug 308265: Sidebar dissappears coming out of
2221 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
2223 * shell/ev-application.c: (ev_application_open):
2224 * shell/ev-document-types.c: (ev_document_types_add_filters),
2225 (ev_document_types_add_filters_for_type):
2226 * shell/ev-document-types.h:
2227 * shell/ev-window.c: (ev_window_cmd_save_as):
2229 Suggest basename as template when saving, provide filters
2230 for save dialog. It's bug 308402
2232 2005-06-20 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2234 * pdf/ev-poppler.cc:
2235 * shell/ev-sidebar-links.c: (job_finished_callback):
2236 * shell/ev-view.c: (update_find_status_message):
2240 2005-06-19 Christian Persch <chpe@cvs.gnome.org>
2242 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
2243 (egg_recent_view_uimanager_set_list):
2245 Fix buglet in !show_numbers case.
2247 2005-06-19 Christian Persch <chpe@cvs.gnome.org>
2249 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
2250 (connect_proxy_cb), (egg_recent_view_uimanager_set_list):
2252 Use pango ellipsisation.
2254 * pdf/ev-poppler.cc:
2256 Fix refcount leak, from nsh.
2258 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2260 * cut-n-paste/recent-files/Makefile.am:
2261 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
2262 * cut-n-paste/recent-files/egg-recent-view-gtk.h:
2264 Removed EggRecentViewGtk
2266 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
2267 * cut-n-paste/recent-files/egg-recent-view-uimanager.h:
2268 * shell/ev-window.c: (ev_window_cmd_recent_file_activate),
2269 (ev_window_setup_recent):
2271 Use ViewUIManager instead of ViewGtk. Less leaks, more compatibility
2274 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2276 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
2277 (egg_recent_view_gtk_finalize):
2281 * cut-n-paste/toolbar-editor/Makefile.am:
2283 Fix location of cursor icon.
2285 * pdf/ev-poppler.cc:
2286 * shell/ev-page-action.c: (build_new_tree_cb), (match_selected_cb),
2287 (display_completion_text), (match_completion):
2288 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
2289 (selection_changed_callback), (create_loading_model),
2290 (print_section_cb), (links_page_num_func),
2291 (update_page_callback_foreach):
2292 * shell/ev-window.c: (ev_window_dispose):
2294 Small memory fixes. Links model now store objects instead
2295 of pointers to improve memory management.
2297 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2299 * shell/ev-window.c: (zoom_control_changed_cb):
2301 Fix update of zoom control (bug 308268).
2303 Sat Jun 18 22:46:42 2005 Jonathan Blandford <jrb@redhat.com>
2305 * shell/ev-properties.c (set_property): escape the text correctly.
2306 Handles non-UTF-8 properties and escaped properties. Also, sets
2307 the text to "<i>None</i>" if the property isn't set.
2309 * data/evince-properties.glade: Change the label to be ellipsized,
2310 and give it a minimum size.
2312 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2314 * lib/ev-file-helpers.c: (ev_file_helpers_shutdown):
2315 * shell/ev-sidebar-links.c: (create_loading_model):
2316 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose):
2317 * shell/ev-view.c: (ev_view_set_document):
2318 * shell/ev-window.c: (ev_window_dispose):
2320 Various small fixes, mostly memory leaks. Thanks to valgrind.
2322 2005-06-19 Martin Kretzschmar <martink@gnome.org>
2324 * ps/ps-document.c: remove the locale.h include again ;-). And
2325 kill the (bogus) setlocale/savelocale business.
2327 2005-06-19 Jaap A. Haitsma <jaap@haitsma.org>
2331 Include locale.h to fix build
2333 * shell/ev-sidebar.c:
2335 Remove unnecessary includes
2337 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2339 * dvi/dvi-document.c: (dvi_document_load):
2340 * dvi/mdvi-lib/dviread.c: (mdvi_init_context):
2343 Check for incorrect dvi files. Fix parsing dvi on AMD64
2344 platform. Thanks to tester@tester.ca (Olivier Crete).
2346 2005-06-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2348 * shell/ev-page-action.c: (match_selected_cb),
2349 (display_completion_text), (match_completion), (update_model):
2350 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
2351 (expand_open_links):
2352 * shell/ev-sidebar.c: (ev_sidebar_destroy),
2353 (ev_sidebar_menu_item_activate_cb), (ev_sidebar_add_page),
2354 (ev_sidebar_set_document):
2355 * shell/ev-window.c: (ev_window_xfer_job_cb),
2356 (sidebar_widget_model_set), (sidebar_page_main_widget_update_cb):
2358 Fixed lot's of memory leaks, for example, memory leak on reload,
2359 described in bug 307793.
2361 2005-06-18 Marco Pesenti Gritti <mpg@redhat.com>
2363 * pdf/ev-poppler.cc:
2364 * shell/ev-sidebar-thumbnails.c: (clear_range), (add_range),
2365 (update_visible_range), (adjustment_changed_cb),
2366 (ev_sidebar_thumbnails_fill_model),
2367 (ev_sidebar_thumbnails_refresh),
2368 (ev_sidebar_tree_selection_changed),
2369 (ev_sidebar_icon_selection_changed),
2370 (ev_sidebar_thumbnails_use_icon_view),
2371 (ev_sidebar_thumbnails_set_document):
2372 * shell/ev-sidebar-thumbnails.h:
2373 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
2374 (ev_window_cmd_edit_rotate_right), (ev_window_init):
2376 Refresh thumbnails when changing orientation. Not fully
2377 working yet becuase of a sidebar bug.
2379 Set page orientation to poppler page everywhere. This sucks
2380 really need to fix poppler.
2382 2005-06-18 Marco Pesenti Gritti <mpg@redhat.com>
2384 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
2385 (egg_recent_view_gtk_new_menu_item),
2386 (egg_recent_view_gtk_set_property),
2387 (egg_recent_view_gtk_get_property),
2388 (egg_recent_view_gtk_class_init), (egg_recent_view_gtk_init),
2389 (egg_recent_view_gtk_set_tooltip_func),
2390 (egg_recent_view_gtk_set_label_width),
2391 (egg_recent_view_gtk_get_label_width):
2392 * cut-n-paste/recent-files/egg-recent-view-gtk.h:
2394 Sync with libegg (ellipsize labels)
2396 2005-06-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2398 * data/evince-ui.xml:
2399 * shell/ev-window.c: (ev_window_cmd_go_forward),
2400 (ev_window_cmd_go_backward):
2402 Shift + PageUp moves 10 Pages. Fix for 306125
2404 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
2406 * pdf/ev-poppler.cc:
2408 Add a flag to check if orientation has been overriden
2410 2005-06-17 Martin Kretzschmar <martink@gnome.org>
2412 * ps/ps.c (psscan, psfree): read "Creator:" comment, free creator
2415 * ps/ps.h: add creator field to document.
2417 * ps/ps-document.c (ps_document_get_info): set format to PostScript,
2420 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
2422 * data/evince-properties.glade:
2423 * shell/ev-properties.c: (ev_properties_set_document):
2425 s/PDF Version/Format
2427 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
2429 * shell/ev-properties.c: (ev_properties_set_document):
2431 Remove unnecessary translations
2433 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
2435 * cut-n-paste/toolbar-editor/Makefile.am:
2437 Correct library name
2439 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
2442 * cut-n-paste/recent-files/egg-recent-model.c:
2443 (egg_recent_model_write_raw), (egg_recent_model_lock_file),
2444 (egg_recent_model_unlock_file):
2445 * cut-n-paste/recent-files/egg-recent-util.c:
2446 (egg_recent_util_get_unique_id):
2447 * cut-n-paste/recent-files/update-from-egg.sh:
2448 * cut-n-paste/toolbar-editor/Makefile.am:
2449 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
2450 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
2451 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
2452 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
2453 (egg_toolbars_model_get_type):
2454 * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
2456 Better makefile for toolbar editor and update everything
2459 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
2461 * shell/ev-window.c: (update_document_mode):
2463 Prefer presentation mode when the document
2466 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
2468 * data/evince-ui.xml:
2469 * shell/ev-window.c:
2471 Add control-equal for zooming
2473 2005-06-17 Theppitak Karoonboonyanan <thep@linux.thai.net>
2475 * configure.ac: Added 'th' (Thai) to ALL_LINGUAS.
2477 2005-06-16 Marco Pesenti Gritti <mpg@redhat.com>
2479 * backend/ev-document.c: (ev_document_get_orientation):
2480 * backend/ev-document.h:
2481 * pdf/ev-poppler.cc:
2482 * ps/ps-document.c: (ps_document_get_orientation),
2483 (ps_document_set_orientation), (ps_document_document_iface_init):
2485 Add a get_orientation api. Improve set_orientation.
2487 * data/evince-ui.xml:
2488 * shell/ev-view.c: (ev_view_set_orientation),
2489 (ev_view_rotate_right), (ev_view_rotate_left):
2491 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
2492 (ev_window_cmd_edit_rotate_right):
2494 Better ui for changing document orientation
2496 2005-06-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2498 * shell/ev-sidebar-links.c: (ev_sidebar_links_get_property),
2499 (ev_sidebar_links_class_init), (ev_sidebar_links_get_label):
2500 * shell/ev-sidebar-links.h:
2501 * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
2502 (ev_sidebar_page_iface_init):
2503 * shell/ev-sidebar-page.h:
2504 * shell/ev-sidebar-thumbnails.c:
2505 (ev_sidebar_thumbnails_get_property),
2506 (ev_sidebar_thumbnails_class_init),
2507 (ev_sidebar_thumbnails_set_document):
2508 * shell/ev-sidebar-thumbnails.h:
2509 * shell/ev-view.c: (ev_view_motion_notify_event):
2510 * shell/ev-window.c: (update_chrome_visibility),
2511 (ev_window_cmd_focus_page_selector),
2512 (ev_window_update_fullscreen_popup), (view_actions_focus_in_cb),
2513 (sidebar_page_main_widget_update_cb), (ev_window_init):
2515 Autoraise toolbar on GoToPage binding and fix bindings in
2516 EvSidebarThumbnails page.
2518 2005-06-15 Christian Persch <chpe@cvs.gnome.org>
2520 * shell/ev-properties.c: (update_progress_label):
2522 Hide the progress label when finished; bug #307697.
2524 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
2526 * pdf/ev-poppler.cc:
2528 Enable is_open for links, you will need poppler cvs
2530 * shell/ev-properties.c: (job_fonts_finished_cb):
2532 Get a lock on the document when filling the tree view
2534 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
2536 * backend/ev-document-links.h:
2537 * pdf/ev-poppler.cc:
2538 * shell/ev-sidebar-links.c: (create_loading_model),
2539 (expand_open_links), (job_finished_callback):
2541 Expand links when specified by the document.
2542 Depend on a poppler api (defined out for now)
2544 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
2546 * shell/ev-properties.c: (ev_properties_dispose),
2547 (ev_properties_class_init), (dialog_destroy_cb),
2548 (ev_properties_init), (job_fonts_finished_cb), (setup_fonts_view),
2549 (ev_properties_set_document), (ev_properties_new),
2550 (ev_properties_show):
2551 * shell/ev-properties.h:
2553 Make it an object, cleanup the code, api to show it as transient
2554 and to set the document.
2556 * shell/ev-window.c: (ev_window_setup_document),
2557 (ev_window_cmd_file_properties):
2559 Adapt to EvProperties changes, do not show multiple
2560 times, update it when document changes.
2562 2005-06-14 Marco Pesenti Gritti <mpg@redhat.com>
2565 * ps/ps-document.c: (ps_document_init), (get_page_orientation),
2566 (ps_document_set_orientation), (ps_document_document_iface_init):
2569 Implement orientation here too
2571 * shell/ev-properties.c: (ev_properties_new):
2572 * data/evince-properties.glade:
2574 Hide the fonts page for backends that doesnt
2577 2005-06-14 Marco Pesenti Gritti <mpg@redhat.com>
2579 * backend/ev-document.c: (ev_document_set_orientation):
2580 * backend/ev-document.h:
2581 * pdf/ev-poppler.cc:
2583 Add orientation api. Currently poppler api is not optimal,
2584 we need to set orientation every time we _get a page.
2585 I will try to fix that at some point.
2587 * data/evince-ui.xml:
2588 * shell/ev-window.c: (ev_window_cmd_edit_landscape),
2589 (ev_window_cmd_edit_portrait), (ev_window_cmd_edit_flip):
2591 Add orientation menu items
2593 * shell/ev-page-cache.c: (ev_page_cache_clear):
2594 * shell/ev-page-cache.h:
2596 Add api to clear the cache
2598 * shell/ev-view.c: (setup_caches), (clear_caches),
2599 (ev_view_set_document), (ev_view_zoom_out),
2600 (ev_view_set_orientation):
2603 Implement orientation changing
2605 2005-06-13 Marco Pesenti Gritti <mpg@redhat.com>
2607 * backend/ev-document-fonts.c: (ev_document_fonts_get_progress),
2608 (ev_document_fonts_scan), (ev_document_fonts_fill_model):
2609 * backend/ev-document-fonts.h:
2611 Separate scan and fill so that we can incrementally fill from
2612 the main thread. Add a progress api.
2614 * data/evince-properties.glade:
2615 * pdf/ev-poppler.cc:
2616 * shell/ev-jobs.c: (ev_job_fonts_new), (ev_job_fonts_run):
2618 * shell/ev-properties.c: (update_progress_label),
2619 (job_fonts_finished_cb), (setup_fonts_view):
2621 Incrementally feel the list and show the progress
2622 percentage in a label like acrobat does.
2624 You are going to need poppler cvs
2626 2005-06-11 Marco Pesenti Gritti <mpg@redhat.com>
2628 * backend/ev-document-fonts.c: (ev_document_fonts_fill_model):
2629 * backend/ev-document-fonts.h:
2630 * pdf/ev-poppler.cc:
2632 Make fonts model fill incrementally.
2634 * shell/ev-job-queue.c: (handle_job), (search_for_jobs_unlocked),
2635 (no_jobs_available_unlocked), (ev_job_queue_init), (find_queue),
2636 (ev_job_queue_remove_job):
2637 * shell/ev-jobs.c: (ev_job_fonts_init), (ev_job_fonts_class_init),
2638 (ev_job_fonts_new), (ev_job_fonts_run):
2641 New job for fonts scanning
2643 * shell/ev-properties.c: (job_fonts_finished_cb),
2644 (fill_fonts_treeview), (setup_fonts_view), (ev_properties_new):
2645 * shell/ev-properties.h:
2646 * shell/ev-window.c: (ev_window_cmd_file_properties):
2648 Incrementally feel the treeview using the new job. Show Loading...
2649 message until scanning is completed.
2651 Hopefully I didnt break the build without the poppler patch.
2653 2005-06-10 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2655 * shell/ev-application.c: (ev_application_open):
2656 * shell/ev-document-types.c: (ev_document_type_from_from_mime),
2657 (ev_document_type_get_type), (ev_document_type_lookup):
2658 * shell/ev-document-types.h:
2659 * shell/ev-job-xfer.c: (ev_job_xfer_dispose), (ev_job_xfer_run):
2660 * shell/ev-job-xfer.h:
2661 * shell/ev-window.c: (ev_window_clear_local_uri),
2662 (ev_window_load_job_cb), (ev_window_xfer_job_cb),
2663 (ev_window_open_uri), (ev_window_add_recent), (ev_window_dispose):
2664 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
2666 Transfer remote documents to tmp directory to display them later.
2668 2005-06-10 Marco Pesenti Gritti <mpg@redhat.com>
2670 * backend/ev-document-info.h:
2671 * shell/ev-properties.c: (ev_properties_new):
2673 s/GTime*/GTime. Not sure why we was using a pointer
2676 Wed Jun 8 01:04:22 2005 Jonathan Blandford <jrb@redhat.com>
2678 * shell/ev-sidebar-thumbnails.c: Use a GtkIconView in certain
2679 situations. That situation is that you're using GTK+-HEAD with
2680 the patch at #306726 is applied, and you have a document with <
2681 1500 pages in it. It's not quite as uniformly nice as the
2682 TreeView, but should be better in the long run.
2684 I'm pretty sure I guarded against breaking compilation with
2685 HAVE_GTK_ICON_VIEW_GET_VISIBLE_RANGE gaurds, though it's possible
2688 * shell/ev-window.c (ev_window_init): We don't have our tree/list
2689 widget yet, so I commented that code out
2690 enable_view_actions_for_widget() for now. Need to figure this
2693 * shell/ev-page-action.c (match_selected_cb): emit the right
2694 signals. Our cool C-l completion now works.
2696 2005-06-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2698 * backend/Makefile.am:
2699 * backend/ev-document-fonts.c:
2700 * backend/ev-document-links.c:
2701 * backend/ev-document.c: (ev_document_load):
2702 * backend/ev-document.h:
2703 * backend/ev-job-queue.c:
2704 * backend/ev-job-queue.h:
2705 * backend/ev-jobs.c:
2706 * backend/ev-jobs.h:
2707 * backend/ev-page-cache.c:
2708 * backend/ev-page-cache.h:
2710 EvPageCache and EvJobs are moved to shell.
2712 * lib/ev-file-helpers.c: (ev_file_helpers_shutdown),
2714 * lib/ev-file-helpers.h:
2716 New helper to work with temporary files
2718 * shell/Makefile.am:
2719 * shell/ev-application.c: (ev_application_open):
2720 * shell/ev-application.h:
2721 * shell/ev-job-queue.c: (remove_job_from_queue_locked),
2722 (remove_job_from_async_queue), (add_job_to_async_queue),
2723 (add_job_to_queue_locked), (notify_finished), (job_finished_cb),
2724 (handle_job), (search_for_jobs_unlocked),
2725 (no_jobs_available_unlocked), (ev_render_thread),
2726 (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
2727 (ev_job_queue_add_job), (move_job_async), (move_job),
2728 (ev_job_queue_update_job), (ev_job_queue_remove_job):
2729 * shell/ev-job-queue.h:
2730 * shell/ev-job-xfer.c: (ev_job_xfer_init), (ev_job_xfer_dispose),
2731 (ev_job_xfer_class_init), (ev_job_xfer_new), (ev_job_xfer_run):
2732 * shell/ev-job-xfer.h:
2733 * shell/ev-jobs.c: (ev_job_init), (ev_job_dispose),
2734 (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
2735 (ev_job_links_class_init), (ev_job_render_init),
2736 (ev_job_render_dispose), (ev_job_render_class_init),
2737 (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
2738 (ev_job_thumbnail_class_init), (ev_job_load_init),
2739 (ev_job_load_dispose), (ev_job_load_class_init), (ev_job_finished),
2740 (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
2741 (render_finished_cb), (ev_job_render_run), (ev_job_thumbnail_new),
2742 (ev_job_thumbnail_run), (ev_job_load_new), (ev_job_load_run):
2744 * shell/ev-page-action.c: (ev_page_action_set_document):
2745 * shell/ev-page-cache.c: (ev_page_cache_init),
2746 (ev_page_cache_class_init), (ev_page_cache_finalize),
2747 (ev_page_cache_new), (ev_page_cache_get_n_pages),
2748 (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
2749 (ev_page_cache_set_page_label), (ev_page_cache_set_link),
2750 (ev_page_cache_get_title), (ev_page_cache_get_size),
2751 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
2752 (ev_page_cache_get_height_to_page),
2753 (ev_page_cache_get_max_label_chars),
2754 (ev_page_cache_get_page_label),
2755 (ev_page_cache_has_nonnumeric_page_labels),
2756 (ev_page_cache_get_info), (ev_page_cache_next_page),
2757 (ev_page_cache_prev_page), (ev_page_cache_get):
2758 * shell/ev-page-cache.h:
2759 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_update_range),
2760 (ev_pixbuf_cache_clear_job_sizes),
2761 (ev_pixbuf_cache_add_jobs_if_needed),
2762 (ev_pixbuf_cache_set_page_range):
2763 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings):
2764 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document):
2765 * shell/ev-sidebar-thumbnails.c:
2766 (ev_sidebar_tree_selection_changed),
2767 (ev_sidebar_thumbnails_set_document):
2768 * shell/ev-statusbar.c: (ev_statusbar_destroy),
2769 (ev_statusbar_class_init), (ev_statusbar_init), (ev_statusbar_new),
2770 (ev_statusbar_get_context_id), (ev_statusbar_push),
2771 (ev_statusbar_pop), (ev_statusbar_set_maximized),
2772 (ev_statusbar_pulse), (ev_statusbar_show_progress),
2773 (ev_statusbar_set_progress):
2774 * shell/ev-statusbar.h:
2775 * shell/ev-view.c: (ev_view_set_document), (ev_view_find_next),
2776 (ev_view_find_previous):
2777 * shell/ev-window.c: (ev_window_is_empty),
2778 (ev_window_setup_document), (password_dialog_response),
2779 (ev_window_clear_jobs), (ev_window_load_job_cb),
2780 (ev_window_xfer_job_cb), (ev_window_open_uri),
2781 (ev_window_open_uri_list), (ev_window_cmd_recent_file_activate),
2782 (ev_window_print), (ev_window_print_range),
2783 (ev_window_state_event), (ev_window_cmd_view_reload),
2784 (menu_item_select_cb), (menu_item_deselect_cb),
2785 (view_status_changed_cb), (ev_window_dispose),
2786 (drag_data_received_cb), (ev_window_init):
2787 * shell/ev-window.h:
2788 * shell/main.c: (load_files):
2790 New statusbar to show progress on idle. Two new jobs -
2791 xfer job and load job to load document in background. And update
2792 of page_cache clients to new location of code.
2794 2005-06-08 Carlos Garcia Campos <carlosgc@gnome.org>
2796 * shell/ev-application.c, shell/ev-window.[ch]: Allow multiple
2797 selection in open dialog. It also remembers the last visited directory
2798 in the current session.
2800 2005-06-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2802 * shell/ev-properties.c: (ev_properties_new):
2803 * shell/ev-properties.h:
2804 * shell/ev-window.c: (ev_window_cmd_file_properties):
2806 Get document info from page cache instead of document itself.
2807 This should fix crash related to race conditions described in
2810 2005-06-07 Marco Pesenti Gritti <mpg@redhat.com>
2812 * ps/ps-document.c: (ps_document_init),
2813 (send_ps), (get_page_box), (output), (catchPipe), (input),
2814 (stop_interpreter), (file_length), (file_readable),
2815 (check_filecompressedb), (ps_document_enable_interpreter),
2816 (document_load), (ps_async_renderer_render_pixbuf):
2819 Big cleanup of the ps code
2821 2005-06-07 Marco Pesenti Gritti <mpg@redhat.com>
2823 * backend/Makefile.am:
2824 * backend/ev-async-renderer.c: (ev_async_renderer_get_type),
2825 (ev_async_renderer_class_init), (ev_async_renderer_render_pixbuf):
2826 * backend/ev-async-renderer.h:
2828 Add an async renderer interface (method + callback) which
2829 is useful for backends like ps.
2831 * backend/ev-job-queue.c: (remove_job_from_async_queue),
2832 (add_job_to_async_queue), (job_finished_cb), (handle_job),
2833 (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
2834 (ev_job_queue_add_job), (move_job_async), (move_job),
2835 (ev_job_queue_update_job), (ev_job_queue_remove_job):
2837 Add queues for async renderer, these are executed on the
2840 * backend/ev-jobs.c: (ev_job_render_new), (render_finished_cb),
2841 (ev_job_render_run):
2842 * backend/ev-jobs.h:
2844 If the backend support async renderer interface use it.
2846 * ps/ps-document.c: (ps_document_init), (push_pixbuf),
2847 (setup_pixmap), (ps_document_get_type),
2848 (ps_async_renderer_render_pixbuf),
2849 (ps_document_document_iface_init), (ps_async_renderer_iface_init):
2851 Implement async renderer interface.
2853 2005-06-07 Nickolay V. Shmyrev <<nshmyrev@yandex.ru>>
2855 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose):
2857 Cleanup links job on exit.
2859 2005-06-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2861 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
2862 (drag_data_get_cb), (drag_data_received_cb):
2863 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
2864 (drag_data_get_cb), (parse_item_list),
2865 (egg_toolbar_editor_load_actions):
2866 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
2867 (egg_toolbars_model_to_xml), (egg_toolbars_model_save),
2868 (parse_item_list), (parse_toolbars):
2869 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
2870 (dvi_pixbuf_put_pixel):
2872 Fix gcc 4.0 warnings
2874 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
2876 * ps/ps-document.c: (start_interpreter):
2878 Fix warning when loading ps
2880 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
2882 * ps/ps-document.c: (output):
2884 Fix crash when priting gs error messages.
2886 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
2888 * backend/ev-page-cache.c: (_ev_page_cache_new):
2889 * backend/ev-page-cache.h:
2891 Use a const to return title so that we dont double
2892 free it. Small cleanup and fix a leak.
2894 * shell/ev-window.c: (update_window_title):
2896 strdup value from get_title.
2898 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
2900 * shell/ev-sidebar-links.c: (job_finished_callback),
2901 (ev_sidebar_links_set_document):
2903 Cleanup the old job when changing document
2905 2005-06-05 Nickolay V. Shmyrev <<nshmyrev@yandex.ru>>
2907 * shell/ev-stock-icons.c:
2908 * shell/ev-stock-icons.h:
2909 * shell/ev-window.c:
2911 Add stock icons for actions that can appear in toolbar. Fix for
2914 2005-06-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2916 * backend/ev-page-cache.c: (ev_page_cache_finalize),
2917 (_ev_page_cache_new), (ev_page_cache_get_max_width),
2918 (ev_page_cache_get_max_height), (ev_page_cache_get_height_to_page):
2919 * backend/ev-page-cache.h:
2920 * shell/ev-view.c: (scroll_to_current_page),
2921 (view_update_range_and_current_page), (get_page_y_offset),
2922 (get_page_extents), (ev_view_size_request_continuous_dual_page),
2923 (ev_view_size_request_continuous),
2924 (ev_view_zoom_for_size_continuous_and_dual_page),
2925 (ev_view_zoom_for_size_continuous):
2927 More compact EvView layout in document with pages of different size.
2929 Sat Jun 4 19:20:57 2005 Jonathan Blandford <jrb@redhat.com>
2931 * shell/ev-window.c (ev_window_cmd_file_properties): fix
2934 2005-06-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2936 * shell/ev-view.c: (view_set_adjustment_values):
2937 * shell/ev-window.c: (ev_window_cmd_file_properties):
2939 A bit different fix for rounding problem but it has no
2940 problems on startup. Make properties window transient to parent.
2942 2005-06-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2944 * pdf/ev-poppler.cc:
2946 More commenting of font stuff.
2948 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
2950 * pdf/ev-poppler.cc:
2952 Comment out some more fonts stuff. Should really
2953 work without the poppler patch now.
2955 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
2957 * pdf/ev-poppler.cc:
2961 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
2963 * data/evince-properties.glade:
2964 * pdf/ev-poppler.cc:
2965 * shell/ev-properties.c: (setup_fonts_view):
2967 Set the column title. Show the dialog only
2968 once everything is setup.
2969 Getting font info can be very slow... will
2970 prolly need to make this threaded too.
2972 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
2974 * backend/Makefile.am:
2975 * backend/ev-document-fonts.c: (ev_document_fonts_get_type),
2976 (ev_document_fonts_get_fonts_model):
2977 * backend/ev-document-fonts.h:
2978 * data/evince-properties.glade:
2979 * pdf/ev-poppler.cc:
2980 * shell/ev-properties.c: (setup_fonts_view), (ev_properties_new):
2981 * shell/ev-properties.h:
2982 * shell/ev-window.c: (ev_window_cmd_file_properties):
2984 Implement fonts list. Defined out for now, since it depends
2985 on a not yet committed poppler patch.
2987 Fri Jun 3 21:07:57 2005 Jonathan Blandford <jrb@redhat.com>
2989 * shell/ev-view.c (get_page_extents): other_page isn't necessarily
2992 * shell/ev-window.c: Make sure we add the timeout when we get a
2995 * shell/ev-view.c (view_set_adjustment_values): Add 0.5 to
2996 adjustment->value before calculating the zoom factor to average
2997 out all of our rounding errors. The page no longer 'drifts' when
3000 2005-06-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3002 * data/evince-properties.glade:
3003 * shell/ev-properties.c: (ev_properties_format_date),
3006 Labels don't expand when the dialogue is resized.
3007 strftime result needs to be converted to UTF-8. Thanks
3008 to Christian Persch <chpe@gnome.org>.
3010 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
3012 * data/evince-properties.glade:
3016 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
3018 * backend/ev-document-info.h:
3019 * backend/ev-document.c: (ev_document_info_free):
3020 * data/evince-properties.glade:
3021 * pdf/ev-poppler.cc:
3022 * ps/ps-document.c: (ps_document_get_info):
3023 * shell/ev-properties.c: (ev_properties_format_date),
3024 (set_property), (ev_properties_new):
3025 * shell/ev-properties.h:
3026 * shell/ev-window.c: (ev_window_cmd_file_properties):
3028 Rework properties code to take only EvPropertyInfo
3029 in the constructor so that it can be useful for
3030 nautilus plugin too.
3032 Deal with backends that doesnt support some properties.
3033 Make set property code generic.
3035 2005-06-04 Christian Persch <chpe@gnome.org>
3037 * data/evince-properties.glade:
3039 fix spacings, make resizeable, and make data labels
3040 selectable + ellipsised
3042 2005-06-03 Marco Pesenti Gritti <mpg@redhat.com>
3044 * backend/ev-document-info.h:
3046 * data/evince-ui.xml:
3047 * pdf/ev-poppler.cc:
3048 * shell/Makefile.am:
3049 * shell/ev-window.c: (update_action_sensitivity),
3050 (ev_window_cmd_file_properties):
3052 Initial go at file properties. Patch by
3053 Emil Soleyman-Zomalan <emil@soleyman.com>.
3054 Needs love see #169583
3056 2005-06-02 Marco Pesenti Gritti <mpg@redhat.com>
3058 * ps/ps-document.c: (output):
3059 * ps/ps.c: (psscan):
3061 Try to render even if psscan fails.
3063 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
3065 * ps/ps.c: (psscan), (pscopydoc):
3067 Port buffered reading code from gv
3069 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
3071 * ps/ps-document.c: (interpreter_message), (output):
3073 Do not fail on interpreter messages
3075 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
3077 * backend/ev-document-misc.c:
3078 (ev_document_misc_get_thumbnail_frame):
3080 Pages can be 0 x 0, dont assert on this case
3082 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
3084 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
3085 (ev_sidebar_links_class_init), (ev_sidebar_links_set_document):
3087 Correctly manage our reference on document. Finally the reload
3088 huge leak is gone...
3090 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
3092 * ps/ps-document.c: (ps_document_dispose):
3094 Forgot to chain it to the parent. Thanks chpe.
3096 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
3098 * ps/ps-document.c: (ps_document_dispose),
3099 (ps_document_class_init), (stop_interpreter), (document_load):
3101 Cleanup dispose a bit. Dont leak the whole pixmap.
3103 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
3105 * pdf/ev-poppler.cc:
3107 Release the poppler document on dispose
3109 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
3111 * shell/ev-view.c: (ev_view_set_document):
3113 Release ref on the pixbuf cache when changing
3116 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
3118 * ps/ps-document.c: (ps_document_get_info):
3122 2005-05-31 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
3124 * backend/ev-page-cache.c: (ev_page_cache_init),
3125 (_ev_page_cache_new), (ev_page_cache_get_max_label_chars):
3126 * backend/ev-page-cache.h:
3127 * shell/ev-page-action.c: (page_changed_cb):
3129 Set page action entry width depending on labels width. Fix
3132 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
3134 * backend/ev-link.c: (ev_link_class_init):
3136 Allow -1 as page value (error)
3138 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
3140 * shell/ev-sidebar-thumbnails.c:
3141 (ev_sidebar_thumbnails_set_document):
3142 * shell/ev-view.c: (scroll_to_current_page),
3143 (view_set_adjustment_values), (ev_view_set_scroll_adjustments),
3144 (page_changed_cb), (on_adjustment_value_changed),
3145 (ev_view_set_document):
3147 Slightly modified patch by Nickolay V. Shmyrev <nshmyrev@yandex.ru>.
3150 2005-05-29 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3153 * djvu/djvu-document.c: (djvu_document_get_page_size):
3155 Require djvulibre CVS. Now djvu loading is much faster. Fix for
3158 Sat May 28 07:38:03 2005 Jonathan Blandford <jrb@redhat.com>
3160 * shell/ev-view.c (draw_one_page): modify the expose handling to
3163 * shell/ev-window.c (update_action_sensitivity): Respect
3164 permissions field. Kowtow to the man.
3166 * pdf/ev-poppler.cc: Get the permissions field.
3168 * tiff/*c: Make a tiny bit more robust.
3170 2005-05-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3172 * djvu/djvu-document.c:
3174 Pop messages from djvu context message queue.
3176 2005-05-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3178 * configure.ac, Makefile.am, shell/Makefile.am:
3179 * tiff/Makefile.am, shell/ev-document-types.c:
3181 Cleanup tiff configure checks. Fix for bug 305218.
3183 2005-05-24 Maxim V. Dziumanenko <mvd@mylinux.ua>
3185 * configure.ac: Added "uk" to ALL_LINGUAS.
3187 2005-05-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3189 * cut-n-paste/zoom-control/ephy-zoom.c:
3190 (ephy_zoom_get_changed_zoom_level):
3191 * cut-n-paste/zoom-control/ephy-zoom.h:
3192 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_set_property),
3193 (ev_view_get_property), (ev_view_class_init), (ev_view_set_zoom):
3194 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
3195 (ev_window_cmd_view_zoom_out), (ev_window_zoom_changed_cb),
3196 (zoom_control_changed_cb), (ev_window_init):
3198 Fix minor points related to moving best fit up. Introduce
3199 "zoom" property and make zoom control change it's value on
3200 notify::zoom signals. Fix for 305080.
3202 2005-05-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3204 * data/evince-ui.xml:
3205 * shell/ev-window.c: (set_view_actions_sensitivity):
3207 Use + and - as accels for zoom in and zoom out. Fix for 305001.
3209 2005-05-22 Marco Pesenti Gritti <mpg@redhat.com>
3213 Depends on poppler 0.3.2
3215 2005-05-22 Marco Pesenti Gritti <mpg@redhat.com>
3217 * cut-n-paste/recent-files/egg-recent-item.c:
3218 (egg_recent_item_get_short_name):
3219 * cut-n-paste/toolbar-editor/Makefile.am:
3220 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
3221 (new_pixbuf_from_widget):
3222 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
3223 * cut-n-paste/toolbar-editor/egg-marshal.c:
3224 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
3225 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
3229 Sat May 21 23:18:30 2005 Jonathan Blandford <jrb@redhat.com>
3231 * tiff/tiff-document.c: Rough TIFF backend.
3233 2005-05-21 Marco Pesenti Gritti <mpg@redhat.com>
3237 * cut-n-paste/toolbar-editor/Makefile.am:
3241 2005-05-21 Marco Pesenti Gritti <mpg@redhat.com>
3243 * shell/ev-view.c: (jump_to_find_result), (ev_view_can_find_next),
3244 (ev_view_find_next), (ev_view_find_previous):
3246 Remove the locks around get_n_results
3248 2005-05-21 Juerg Billeter <j@bitron.ch>
3250 * pdf/ev-poppler.c: (pdf_document_ps_exporter_begin):
3252 Pass correct number of pages to poppler.
3254 2005-05-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3258 * data/evince.desktop.in:
3259 * data/evince.desktop.in.in:
3262 Add conditionally dvi and djvu to desktop types. Fix for 304658.
3264 Sat May 21 00:21:30 2005 Jonathan Blandford <jrb@redhat.com>
3266 * shell/ev-view.c: (view_update_adjustments),
3267 (view_set_adjustment_values): cast adjustmen->value to (int)
3268 before using it. Otherwise, we get off by a pixel in some
3271 (draw_one_page): Draw the border on expose.
3273 Fri May 20 22:05:25 2005 Jonathan Blandford <jrb@redhat.com>
3275 * *shell/ev-view.c: Patch from Nickolay V. Shmyrev to reset the
3276 adjustment when the mode changes, #304923
3278 Fri May 20 02:00:03 2005 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3280 * shell/ev-view.c: Use gdk_widget_queue_draw to remove
3281 flickering on resize but still use gdk_window_scroll on
3284 Fri May 20 01:46:57 2005 Jonathan Blandford <jrb@redhat.com>
3286 * shell/ev-view.c: Patch from Nickolay Shmyrev to fix the -p
3289 Fri May 20 01:27:01 2005 Jonathan Blandford <jrb@redhat.com>
3291 * shell/ev-view.c: Patch from Nickolay Shmyrev to to scroll to
3292 second page on page_changed if possible, #304669
3294 Fri May 20 01:07:15 2005 Jonathan Blandford <jrb@redhat.com>
3296 * shell/ev-view.c (view_update_adjustments): Use gdk_window_scroll
3297 instead of gtk_widget_queue_draw. Massive speedups in scrolling.
3299 Fri May 20 01:05:10 2005 Jonathan Blandford <jrb@redhat.com>
3302 * shell/ev-view.c:(ev_view_size_allocate), (ev_view_class_init),
3303 (zoom_for_size_fit_width), (zoom_for_size_best_fit),
3304 (ev_view_zoom_for_size_presentation),
3305 (ev_view_zoom_for_size_continuous_and_dual_page),
3306 (ev_view_zoom_for_size_continuous),
3307 (ev_view_zoom_for_size_dual_page),
3308 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size):
3310 * shell/ev-window.c: (update_view_size),
3311 (ev_window_sizing_mode_changed_cb):
3313 Patch from Nickolay Shmyrev <nshmyrev@yandex.ru> to handle
3314 the scrollbars. It's not 100% right, but it's much closer. Kills
3315 an infinite loop, #304769
3318 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
3320 * data/evince-ui.xml:
3321 * shell/ev-view.c: (ev_view_scroll_view), (ev_view_class_init):
3322 * shell/ev-window.c: (set_view_actions_sensitivity):
3324 Make PgUp/Down behave like Space
3326 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
3328 * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
3329 * backend/ev-ps-exporter.h:
3330 * pdf/ev-poppler.cc:
3331 * ps/ps-document.c: (ps_document_ps_export_begin):
3332 * shell/ev-print-job.c: (idle_print_handler):
3334 Adapt to new poppler api
3336 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
3338 * cut-n-paste/zoom-control/ephy-zoom-control.c:
3339 (ephy_zoom_control_init):
3341 Translate zoom levels
3343 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
3345 * cut-n-paste/zoom-control/ephy-zoom.c:
3346 (ephy_zoom_get_zoom_level_index):
3348 Fix current zoom -> zoom control match
3350 2005-05-18 James Bowes <bowes@cs.dal.ca>
3352 * shell/ev-window.c: (ev_window_init): Give focus to the ev-view,
3353 rather than the scrolled_window that it's in. Fixes bug #304655.
3355 Tue May 17 22:54:17 2005 Jonathan Blandford <jrb@redhat.com>
3357 * shell/ev-view.c: (view_update_adjustments),
3358 (view_set_adjustment_values), (view_update_range_and_current_page),
3359 (view_scroll_to_page), (set_scroll_adjustment),
3360 (ev_view_set_scroll_adjustments), (add_scroll_binding_keypad),
3361 (ev_view_scroll), (ev_view_scroll_view),
3362 (ensure_rectangle_is_visible), (find_page_at_location),
3363 (get_link_at_location), (go_to_link), (status_message_from_link),
3364 (ev_view_size_request_continuous_dual_page),
3365 (ev_view_size_request), (ev_view_size_allocate), (ev_view_realize),
3366 (ev_view_unrealize), (ev_view_expose_event),
3367 (ev_view_button_press_event), (ev_view_motion_notify_event),
3368 (ev_view_button_release_event), (ev_gdk_color_to_rgb),
3369 (draw_rubberband), (highlight_find_results), (draw_one_page),
3370 (ev_view_finalize), (ev_view_destroy), (ev_view_class_init),
3371 (ev_view_init), (find_changed_cb), (page_changed_cb),
3372 (on_adjustment_value_changed), (ev_view_new),
3373 (ev_view_set_document), (ev_view_set_zoom),
3374 (ev_view_set_continuous), (ev_view_set_dual_page),
3375 (ev_view_set_presentation), (ev_view_zoom_in), (ev_view_zoom_out),
3376 (zoom_for_size_fit_width), (zoom_for_size_best_fit),
3377 (ev_view_zoom_for_size_presentation),
3378 (ev_view_zoom_for_size_continuous_dual_page),
3379 (ev_view_zoom_for_size_continuous),
3380 (ev_view_zoom_for_size_dual_page),
3381 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
3382 (ev_view_get_status), (ev_view_set_status),
3383 (update_find_status_message), (ev_view_get_find_status),
3384 (ev_view_set_find_status), (jump_to_find_result),
3385 (jump_to_find_page), (compute_selections), (clear_selection),
3386 (ev_view_select_all), (get_selected_text), (ev_view_copy),
3387 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
3388 (ev_view_update_primary_selection),
3389 (ev_view_create_invisible_cursor), (ev_view_set_cursor):
3391 * shell/ev-window.c: (ev_window_open_page_label),
3392 (ev_window_cmd_view_reload), (ev_window_sizing_mode_changed_cb),
3394 * shell/ev-window.h:
3395 * shell/main.c: (load_files):
3397 Massive code clean up from Nickolay Shmyrev. Keep page offset
3398 when resizing. Remove the bin_window(). Also, patch from James
3399 Bowes to fix command line page, #300641
3401 2005-05-17 Marco Pesenti Gritti <mpg@redhat.com>
3403 * data/evince-ui.xml:
3406 * shell/ev-window.c: (update_action_sensitivity):
3408 Get rid of View->Normal Size, it's just confusing
3410 Tue May 17 00:51:21 2005 Jonathan Blandford <jrb@redhat.com>
3412 * backend/ev-document-info.h:
3413 * backend/ev-document.c: (ev_document_info_free): Free the
3416 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
3417 (clear_range), (add_range), (update_visible_range),
3418 (adjustment_changed_cb), (ev_sidebar_thumbnails_init),
3419 (ev_sidebar_thumbnails_set_document):
3420 * shell/ev-window.c: (ev_window_setup_document): Only render the
3421 visible thumbnails. It takes an instant to render, but it uses
3424 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
3426 * shell/ev-sidebar-links.c: (popup_menu_cb):
3430 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
3433 * shell/ev-sidebar-links.c: (build_popup_menu), (popup_menu_cb),
3434 (button_press_cb), (ev_sidebar_links_construct):
3436 Show the popup menu also on keybindings
3438 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
3440 * shell/ev-window.c: (ev_window_print), (ev_window_print_range):
3441 * shell/ev-window.h:
3443 Expose api to print a range (with dialog). Make private _print use
3446 * shell/ev-sidebar-links.c: (print_section_cb), (button_press_cb),
3447 (ev_sidebar_links_construct):
3449 Show a print context menu on linkx, it prints the selected
3452 2005-05-15 Carlos Garcia Campos <carlosgc@gnome.org>
3454 * shell/ev-sidebar.c: make the drop down menu as width as the toggle
3457 2005-05-12 Marco Pesenti Gritti <mpg@redhat.com>
3463 * shell/ev-window.c: (build_comments_string),
3464 (ev_window_cmd_help_about):
3466 Show poppler version/backend and authors
3468 2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
3470 * cut-n-paste/zoom-control/ephy-zoom.c:
3471 (ephy_zoom_get_zoom_level_index):
3472 * cut-n-paste/zoom-control/ephy-zoom.h:
3474 Move the best fit items at the top of the list
3476 2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
3478 * shell/ev-marshal.list:
3479 * shell/ev-page-action.c: (ev_page_action_widget_class_init),
3480 (activate_cb), (match_selected_cb), (activate_link_cb),
3481 (connect_proxy), (ev_page_action_class_init):
3482 * shell/ev-page-action.h:
3484 Use signals to notify action activation. Hopefully
3485 I did not break completion since I cant test...
3487 * shell/ev-window.c: (activate_link_cb), (activate_label_cb),
3488 (register_custom_actions):
3490 Connect to page selector actions and also grab focus on
3491 the view when activated.
3493 Wed May 11 01:18:29 2005 Jonathan Blandford <jrb@redhat.com>
3495 * pdf/ev-poppler.cc:
3496 * backend/ev-page-cache.c: make page size calculation consistent
3497 and set it to (int)( width * scale + 0.5). This makes the weird
3498 line going through the middle of the page go away.
3500 * shell/ev-view.c: move painting the background page after
3501 checking the expose area covers us.
3503 2005-05-11 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3505 * data/evince-password.glade:
3507 Mark labels as not translatable. Fix for bug 302842.
3509 2005-05-10 Francisco Javier F. Serrador <serrador@cvs.gnome.org>
3511 * configure.ac: Added "es" to ALL_LINGUAS.
3513 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3515 * data/evince-toolbar.xml:
3516 * shell/ev-window.c: (update_action_sensitivity),
3517 (ev_window_setup_document), (ev_window_set_page_mode),
3520 Remove some leftover code from jrb first continous
3521 attempt. Use the new actions, we still need good icons
3524 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3526 * shell/ev-page-action.c: (update_pages_label), (connect_proxy):
3528 Update label when connecting proxy. Fix a warning with NULL
3531 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3533 * data/evince-ui.xml:
3534 * shell/ev-page-action.c: (ev_page_action_grab_focus):
3535 * shell/ev-page-action.h:
3536 * shell/ev-window.c: (ev_window_cmd_focus_page_selector):
3538 Add mnemonic for edit toolbar.
3539 ctrl+l focus the page entry.
3541 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3544 * shell/ev-window.c: (ev_window_cmd_edit_toolbar_cb),
3546 * shell/main.c: (main):
3548 Put the toolbar xml in evince own dot dir
3550 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3552 * shell/ev-window.c: (ev_window_init):
3554 Make the toolbar not removable
3556 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3558 * data/evince-ui.xml:
3559 * shell/ev-sidebar-links.c: (ev_sidebar_links_get_treeview):
3560 * shell/ev-sidebar-links.h:
3561 * shell/ev-sidebar-thumbnails.c:
3562 (ev_sidebar_thumbnails_get_treeview):
3563 * shell/ev-sidebar-thumbnails.h:
3564 * shell/ev-view.c: (ev_view_scroll), (ev_view_scroll_view),
3565 (ev_view_class_init):
3567 * shell/ev-window.c: (update_action_sensitivity),
3568 (ev_window_cmd_scroll_forward), (ev_window_cmd_scroll_backward),
3569 (set_view_actions_sensitivity), (view_actions_focus_in_cb),
3570 (view_actions_focus_out_cb), (enable_view_actions_for_widget),
3573 This is evil... Make space/backspace global accelerators but
3574 enable them only for some widgets (sidebars and view).
3575 I dont like it, but I dont know a better way... :/
3577 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3579 * shell/ev-page-action.c: (ev_page_action_widget_set_page_cache),
3580 (ev_page_action_widget_finalize),
3581 (ev_page_action_widget_class_init), (update_page_cache):
3583 Keep a weak reference on proxy->page_cache so that we
3584 dont try to disconnect the signal if the object is already
3585 gone. Maybe there is a better way to cleanup reference handling
3586 in page action though...
3588 2005-05-10 Juerg Billeter <j@bitron.ch>
3590 * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
3591 * backend/ev-ps-exporter.h:
3592 * pdf/ev-poppler.cc: (pdf_document_ps_exporter_begin):
3593 * ps/ps-document.c: (ps_document_ps_export_begin):
3595 Change api to pass print range to ps_exporter_begin. The pdf backend
3596 requires this information.
3598 * shell/ev-print-job.c: (idle_print_handler):
3602 2005-05-10 Juerg Billeter <j@bitron.ch>
3604 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
3605 (idle_print_handler)
3606 * shell/ev-window.c: (ev_window_print):
3608 Support printing page range, based on patch by Amaury Jacquot
3610 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3612 * data/evince-toolbar.xml:
3614 Add zoom control to available items
3616 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3618 * shell/ev-window.c: (update_action_sensitivity):
3620 Set slash action insensitive when appropriate
3622 2005-05-10 Christian Persch <chpe@gnome.org>
3624 * cut-n-paste/zoom-control/ephy-zoom-action.c: (create_menu_item):
3626 Fix warning on the overflow menu
3628 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3630 * shell/ev-window.c: (sanity_check_uri), (ev_window_open):
3632 Check for uri correctness/existence
3634 2005-05-09 Juerg Billeter <j@bitron.ch>
3636 * shell/ev-window.c: (using_postscript_printer):
3638 LPD printers use postscript, too
3640 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
3642 * shell/ev-window.c: (register_custom_actions):
3644 The zoom one is actually sort of useful,
3647 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
3649 * shell/ev-window.c: (register_custom_actions):
3651 Hide page/zoom controls from overflow, they
3654 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
3656 * cut-n-paste/update-from-egg.sh:
3658 Share it between all cut-n-paste subdirs
3660 * cut-n-paste/recent-files/Makefile.am:
3662 Fix to use "global" update-from-egg.sh
3664 * cut-n-paste/recent-files/egg-recent-model.c:
3665 (egg_recent_model_changed_timeout), (egg_recent_model_finalize):
3666 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
3667 (egg_recent_view_gtk_clear), (egg_recent_view_gtk_set_list),
3668 (egg_recent_view_gtk_finalize), (egg_recent_view_gtk_set_menu):
3672 * cut-n-paste/toolbar-editor/Makefile.am:
3674 Fix to use "global" update-from-egg.sh
3676 * cut-n-paste/toolbar-editor/eggmarshalers.list:
3680 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
3683 * cut-n-paste/Makefile.am:
3684 * cut-n-paste/recent-files/Makefile.am:
3685 * cut-n-paste/toolbar-editor/.cvsignore:
3686 * cut-n-paste/toolbar-editor/Makefile.am:
3687 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
3688 (egg_editable_toolbar_get_type), (get_toolbar_position),
3689 (get_n_toolbars), (get_dock_nth), (get_toolbar_nth), (find_action),
3690 (drag_data_delete_cb), (drag_begin_cb), (drag_end_cb),
3691 (drag_data_get_cb), (set_drag_cursor), (unset_drag_cursor),
3692 (set_item_drag_source), (create_item_from_action), (create_item),
3693 (data_is_separator), (drag_data_received_cb), (remove_toolbar_cb),
3694 (popup_toolbar_context_menu_cb), (free_dragged_item),
3695 (toolbar_drag_drop_cb), (toolbar_drag_motion_cb),
3696 (toolbar_drag_leave_cb), (create_dock), (set_fixed_style),
3697 (unset_fixed_style), (toolbar_changed_cb), (unparent_fixed),
3698 (update_fixed), (toolbar_added_cb), (toolbar_removed_cb),
3699 (item_added_cb), (item_removed_cb),
3700 (egg_editable_toolbar_construct),
3701 (egg_editable_toolbar_disconnect_model),
3702 (egg_editable_toolbar_deconstruct),
3703 (egg_editable_toolbar_set_model),
3704 (egg_editable_toolbar_set_ui_manager),
3705 (egg_editable_toolbar_set_property),
3706 (egg_editable_toolbar_get_property),
3707 (egg_editable_toolbar_class_init), (egg_editable_toolbar_init),
3708 (egg_editable_toolbar_finalize), (egg_editable_toolbar_new),
3709 (egg_editable_toolbar_new_with_model),
3710 (egg_editable_toolbar_get_edit_mode),
3711 (egg_editable_toolbar_set_edit_mode), (egg_editable_toolbar_show),
3712 (egg_editable_toolbar_hide), (egg_editable_toolbar_set_fixed),
3713 (egg_editable_toolbar_set_drag_dest), (fake_expose_widget),
3714 (new_pixbuf_from_widget), (new_separator_pixbuf),
3715 (update_separator_image), (style_set_cb),
3716 (_egg_editable_toolbar_new_separator_image),
3717 (egg_editable_toolbar_get_model):
3718 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
3719 * cut-n-paste/toolbar-editor/egg-marshal.c:
3720 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
3721 (egg_toolbar_editor_get_type), (compare_actions), (find_action),
3722 (egg_toolbar_editor_set_ui_manager), (toolbar_removed_cb),
3723 (egg_toolbar_editor_set_model), (egg_toolbar_editor_set_property),
3724 (egg_toolbar_editor_get_property), (egg_toolbar_editor_class_init),
3725 (egg_toolbar_editor_finalize), (egg_toolbar_editor_new),
3726 (drag_begin_cb), (drag_end_cb), (editor_drag_data_received_cb),
3727 (editor_drag_data_delete_cb), (drag_data_get_cb),
3728 (elide_underscores), (set_drag_cursor), (event_box_realize_cb),
3729 (editor_create_item), (update_editor_sheet), (setup_editor),
3730 (egg_toolbar_editor_init), (egg_toolbar_editor_add_action),
3731 (parse_item_list), (model_has_action), (update_actions_list),
3732 (egg_toolbar_editor_load_actions):
3733 * cut-n-paste/toolbar-editor/egg-toolbar-editor.h:
3734 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
3735 (egg_toolbars_model_get_type), (egg_toolbars_model_to_xml),
3736 (safe_save_xml), (egg_toolbars_model_save), (toolbars_toolbar_new),
3737 (toolbars_item_new), (free_toolbar_node), (free_item_node),
3738 (egg_toolbars_model_get_flags), (egg_toolbars_model_set_flags),
3739 (egg_toolbars_model_add_separator), (impl_add_item),
3740 (parse_item_list), (egg_toolbars_model_add_toolbar),
3741 (parse_toolbars), (egg_toolbars_model_load), (impl_get_item_id),
3742 (impl_get_item_data), (impl_get_item_type),
3743 (_egg_accumulator_STRING), (egg_toolbars_model_class_init),
3744 (egg_toolbars_model_init), (free_toolbar),
3745 (egg_toolbars_model_finalize), (egg_toolbars_model_new),
3746 (egg_toolbars_model_remove_toolbar),
3747 (egg_toolbars_model_remove_item), (egg_toolbars_model_move_item),
3748 (egg_toolbars_model_n_items), (egg_toolbars_model_item_nth),
3749 (egg_toolbars_model_n_toolbars), (egg_toolbars_model_toolbar_nth),
3750 (egg_toolbars_model_add_item), (egg_toolbars_model_get_item_id),
3751 (egg_toolbars_model_get_item_data),
3752 (egg_toolbars_model_get_item_type):
3753 * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
3754 * cut-n-paste/toolbar-editor/eggmarshalers.list:
3756 * data/evince-toolbar.xml:
3757 * data/evince-ui.xml:
3758 * data/hand-open.png:
3760 * shell/Makefile.am:
3761 * shell/ev-window.c: (update_chrome_visibility),
3762 (ev_window_cmd_edit_toolbar_cb), (ev_window_cmd_edit_toolbar),
3763 (ev_window_dispose), (ev_window_init):
3765 Implement epiphany like toolbar editor. Based on patch by
3766 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3768 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
3770 * shell/ev-sidebar-thumbnails.c: (page_changed_cb):
3772 Use set_cursor instead of set_selection, so that
3773 the keyboard focus moves too.
3775 2005-05-09 Aleksey Kliger <akliger@gmail.com>
3777 * dvi/mdvi-lib/tfmfile.c: (lookup_font_metrics):
3779 Fix infinite loop when loading Type1 fonts
3781 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
3783 * data/evince-ui.xml:
3784 * shell/ev-window.c:
3788 2005-05-09 Thomas de Grenier de Latour <degrenier@easyconnect.fr>
3792 Make --disable really disable
3794 2005-05-07 Juerg Billeter <j@bitron.ch>
3796 * backend/ev-page-cache.c: (ev_page_cache_set_page_label):
3798 Compare page labels even without has_labels set, fixes setting page
3801 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
3803 * shell/ev-view.c: (ev_view_create_invisible_cursor),
3804 (ev_view_set_cursor), (ev_view_button_press_event),
3805 (ev_view_motion_notify_event), (ev_view_button_release_event),
3808 Implement middle button scrolling. Based on a patch
3809 by Tommi Komulainen <tommi.komulainen@iki.fi>.
3811 2005-05-08 Marco Pesenti Gritti <mpg@redhat.com>
3813 * shell/ev-document-types.c: (get_slow_mime_type),
3814 (get_document_type_from_mime), (ev_document_type_lookup):
3815 * shell/ev-document-types.h:
3817 Change api to lookup from uri. Do fast lookup first, if the
3818 type is unknown try with data sniffing.
3820 * shell/ev-window.c: (ev_window_open), (ev_window_open_uri_list):
3821 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3825 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
3827 * thumbnailer/Makefile.am:
3831 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
3838 * data/evince-ui.xml:
3840 Hide presentation mode for now
3842 * shell/ev-view.c: (highlight_find_results):
3844 Show current find selection only on current page
3846 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
3848 * shell/ev-view.c: (ev_view_select_all):
3850 Compute size of the actual page, not of
3853 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
3855 * shell/ev-view.c: (clear_selection), (ev_view_finalize),
3856 (view_rect_to_doc_rect), (compute_selections),
3857 (ev_view_bin_expose), (ev_view_select_all), (get_selected_text),
3858 (ev_view_copy), (ev_view_primary_get_cb),
3859 (ev_view_primary_clear_cb), (ev_view_update_primary_selection),
3860 (ev_view_button_press_event), (ev_view_motion_notify_event),
3861 (ev_view_button_release_event), (page_changed_cb):
3865 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
3867 * shell/ev-view.c: (compute_border), (get_page_extents),
3868 (doc_rect_to_view_rect), (highlight_find_results),
3869 (ev_view_bin_expose), (ev_view_select_all),
3870 (ev_view_motion_notify_event), (update_find_status_message),
3871 (jump_to_find_result), (jump_to_find_page):
3873 First go at fixing search, still buggy
3875 2005-05-04 Kristian Høgsberg <krh@redhat.com>
3877 * shell/ev-sidebar.c (ev_sidebar_init): Remove frame around
3878 dropdown box and button at the top of the sidebar.
3880 2005-05-02 James Bowes <bowes@cs.dal.ca>
3882 * configure.ac: Output zoom-control Makefile.
3883 * cut-n-paste/Makefile.am: build zoom-control subdir.
3884 * cut-n-paste/zoom-control/ephy-zoom-action.c:
3885 * cut-n-paste/zoom-control/ephy-zoom-action.h:
3886 * cut-n-paste/zoom-control/ephy-zoom-control.c:
3887 * cut-n-paste/zoom-control/ephy-zoom-control.h:
3888 * cut-n-paste/zoom-control/ephy-zoom.c:
3889 * cut-n-paste/zoom-control/ephy-zoom.h: New files imported
3890 from epiphany, and modified to add a separator into the menu.
3891 * cut-n-paste/zoom-control/Makefile.am: Build zoom-control.
3892 * data/evince-ui.xml: Replace old zoom toolbar actions with new
3893 zoom-control action.
3894 * shell/Makefile.am: Include zoom-control flags.
3895 * shell/ev-view.c: (ev_view_set_zoom), (ev_view_get_zoom),
3896 (ev_view_get_sizing_mode), (ev_view_zoom_in), (ev_view_zoom_out),
3897 (ev_view_zoom_for_size_presentation),
3898 (ev_view_zoom_for_size_continuous_and_dual_page),
3899 (ev_view_zoom_for_size_continuous),
3900 (ev_view_zoom_for_size_dual_page),
3901 (ev_view_zoom_for_size_single_page), (ev_view_zoom_normal):
3902 s/ev_view_zoom/ev_view_set_zoom/ and make public, add
3903 ev_view_get_zoom and ev_view_get_sizing_mode.
3905 * shell/ev-window.c: (update_action_sensitivity),
3906 (update_sizing_buttons), (zoom_control_changed_cb),
3907 (register_custom_actions): Initialize and use the zoom-control
3910 Sun May 1 00:46:47 2005 Jonathan Blandford <jrb@redhat.com>
3912 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init): Change the
3913 preview cache back to 1. Don't know when it got set to 0.
3915 * shell/ev-view.c: (compute_border), (ev_view_realize),
3916 (draw_one_page), (ev_view_set_property), (ev_view_get_property),
3917 (ev_view_class_init), (ev_view_init), (ev_view_set_fullscreen),
3918 (ev_view_get_fullscreen), (ev_view_set_presentation),
3919 (ev_view_get_presentation), (ev_view_set_sizing_mode),
3920 (ev_view_zoom_for_size_presentation), (ev_view_set_zoom_for_size):
3922 * shell/ev-window.c:
3923 (update_chrome_visibility),
3924 (ev_window_cmd_continuous), (ev_window_cmd_dual),
3925 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
3926 (update_document_mode), (ev_window_update_fullscreen_action),
3927 (ev_window_fullscreen), (ev_window_unfullscreen),
3928 (ev_window_cmd_view_fullscreen),
3929 (ev_window_update_presentation_action),
3930 (ev_window_run_presentation), (ev_window_stop_presentation),
3931 (ev_window_cmd_view_presentation), (ev_window_state_event),
3932 (ev_window_focus_in_event), (ev_window_focus_out_event),
3933 (ev_window_cmd_escape), (ev_window_sidebar_visibility_changed_cb):
3934 * data/evince-ui.xml: Initial presentation mode. We should
3935 probably hide this until it's done, as it's quite rough. Also,
3936 change full-screen to fullscreen and add two getters to EvView.
3938 2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
3940 * shell/ev-page-action.c: (update_page_cache),
3941 (ev_page_action_dispose):
3942 * shell/ev-window.c: (destroy_fullscreen_popup),
3943 (ev_window_create_fullscreen_popup):
3945 Use connect_object rather than explicitly
3946 disconnect on dispose.
3948 2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
3950 * shell/ev-page-action.c: (update_page_cache),
3951 (ev_page_action_dispose):
3953 2005-04-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3955 * backend/ev-page-cache.c: (_ev_page_cache_new),
3956 (ev_page_cache_set_page_label),
3957 (ev_page_cache_has_nonnumeric_page_labels):
3958 * backend/ev-page-cache.h:
3959 * shell/ev-page-action.c: (update_pages_label):
3961 If all page labels are numeric, fallback to default
3962 way to display number of pages. See bug 173185.
3964 2005-04-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3966 * shell/ev-page-action.c: (ev_page_action_dispose):
3967 * shell/ev-view.c: (view_update_range_and_current_page):
3968 * shell/ev-window.c: (ev_window_dispose):
3970 Set page on scroll in continuous mode. Fixes bug 301986.
3971 Also cleanup callbacks on destroy of EvWindow and EvPageAction.
3973 2005-04-26 Marco Pesenti Gritti <mpg@redhat.com>
3977 Require poppler 0.3.0
3979 2005-04-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3981 * shell/Makefile.am, configure.ac: Fix build problems
3982 with t1lib. Bug 301996.
3984 2005-04-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3986 * shell/ev-view.c: (ev_view_scroll_event):
3988 Scroll up increase zoom
3990 2005-04-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3992 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_class_init),
3993 (ev_view_set_sizing_mode),
3994 (ev_view_zoom_for_size_continuous_and_dual_page),
3995 (ev_view_zoom_for_size_continuous):
3996 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
3997 (ev_window_cmd_view_page_width), (ev_window_cmd_view_zoom_in),
3998 (ev_window_cmd_view_zoom_out), (ev_window_sizing_mode_changed_cb),
4001 Control + Scroll does zooming, Shift + Scroll scrolls horizontally
4002 Fix for 165473 and 165472.
4004 2005-04-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4007 * thumbnailer/Makefile.am:
4008 * thumbnailer/evince-thumbnailer-djvu.schemas.in:
4009 * thumbnailer/evince-thumbnailer-dvi.schemas.in:
4010 * thumbnailer/evince-thumbnailer.schemas.in:
4012 Make thumbnailer schemas translatable. Fix for bug 301773
4014 * thumbnailer/evince-thumbnailer-djvu.schemas:
4015 * thumbnailer/evince-thumbnailer-dvi.schemas:
4016 * thumbnailer/evince-thumbnailer.schemas:
4020 Sun Apr 24 01:37:39 2005 Jonathan Blandford <jrb@redhat.com>
4022 * shell/ev-view.c (ev_view_init): forgot to set this.
4024 Sun Apr 24 01:07:27 2005 Jonathan Blandford <jrb@redhat.com>
4026 * shell/ev-view.c: (find_page_at_location),
4027 (get_link_at_location),
4028 (ev_view_set_show_border), (ev_view_set_spacing),
4029 (ev_view_zoom_for_size_continuous_and_dual_page),
4030 (ev_view_zoom_for_size_continuous): Fix links for dual/continuous.
4031 Also, add a quick fix measuring of widths. Also, removed
4032 ev_view_set_spacing and ev_view_set_show_border.
4034 * shell/ev-window.c: (ev_window_unfullscreen),
4035 (ev_window_cmd_view_fullscreen): Don't adjust the border/spacing.
4037 2005-04-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4039 * shell/ev-view.c: (view_update_range_and_current_page),
4042 Fix crash on exit and scrolling to page in continuous view.
4044 Sat Apr 23 13:13:04 2005 Jonathan Blandford <jrb@redhat.com>
4047 * backend/ev-page-cache.c: (_ev_page_cache_new),
4048 (ev_page_cache_get_max_width_size),
4049 (ev_page_cache_get_max_height_size):
4050 * backend/ev-page-cache.h:
4051 * data/evince-ui.xml:
4052 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init):
4053 * shell/ev-view.c: (view_update_adjustments),
4054 (view_update_range_and_current_page), (get_bounding_box_size),
4055 (ev_view_size_request_continuous_and_dual_page),
4056 (ev_view_size_request_continuous),
4057 (ev_view_size_request_dual_page),
4058 (ev_view_size_request_single_page), (ev_view_size_request),
4059 (ev_view_size_allocate), (get_page_extents), (draw_one_page),
4060 (ev_view_bin_expose), (ev_view_expose_event),
4061 (ev_view_set_property), (ev_view_get_property),
4062 (ev_view_class_init), (ev_view_init), (ev_view_new),
4063 (page_changed_cb), (ev_view_zoom), (ev_view_set_continuous),
4064 (ev_view_set_dual_page), (ev_view_set_full_screen),
4065 (ev_view_set_presentation), (ev_view_set_sizing_mode),
4066 (ev_view_can_zoom_in), (ev_view_can_zoom_out), (ev_view_zoom_in),
4067 (ev_view_zoom_out), (zoom_for_size_fit_width),
4068 (zoom_for_size_best_fit),
4069 (ev_view_zoom_for_size_continuous_and_dual_page),
4070 (ev_view_zoom_for_size_continuous),
4071 (ev_view_zoom_for_size_dual_page),
4072 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
4073 (ev_view_show_cursor), (ev_sizing_mode_get_type):
4075 * shell/ev-window.c: (update_action_sensitivity),
4076 (ev_window_cmd_continuous), (ev_window_cmd_dual),
4077 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
4078 (update_sizing_buttons), (ev_window_cmd_view_zoom_in),
4079 (ev_window_cmd_view_zoom_out), (update_view_size),
4080 (ev_window_set_sizing_mode), (ev_window_init):
4082 Add Continuous and Dual page modes.
4084 2005-04-23 James Bowes <bowes@cs.dal.ca>
4086 * dvi/dvi-document.c: (dvi_document_load),
4087 (dvi_document_thumbnails_get_thumbnail),
4088 (dvi_document_init_params): Fix up some mixups between
4089 width and height to correct thumbnail rendering.
4091 2005-04-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4093 * dvi/mdvi-lib/private.h:
4094 * dvi/mdvi-lib/setup.c: (mdvi_init_kpathsea):
4096 Suppess output for kpathsea during font generation. Thanks to
4099 Fri Apr 22 19:57:46 2005 Jonathan Blandford <jrb@redhat.com>
4106 * Makefile.am: fix distcheck.
4108 2005-04-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4110 * shell/ev-sidebar-links.c: (selection_changed_callback),
4111 (update_page_callback), (row_activated_callback),
4112 (job_finished_callback), (ev_sidebar_links_set_document):
4114 Fix for bug #169901. Double click on links expands tree.
4116 2005-03-14 Bryan Clark <clarkbw@cvs.gnome.org>
4118 * shell/ev-window.c (ev_window_init): Removed fullscreen toolbar
4119 hard-coded style. Fix for bug 170111
4121 2005-04-22 Kristian Høgsberg <krh@redhat.com>
4123 * shell/ev-view.c (highlight_find_results): Remove unnecessary
4126 2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
4128 * thumbnailer/evince-thumbnailer.schemas: real fix for bug 172496
4130 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
4132 * pdf/ev-poppler.cc:
4133 * shell/ev-view.c: (highlight_find_results):
4135 Fix find on single page documents
4137 2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
4139 * data/evince.schemas.in: fix for bug 301390
4141 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
4143 * shell/ev-view.c: (ev_view_can_zoom_in), (ev_view_can_zoom_out),
4144 (ev_view_zoom_out), (ev_view_zoom_normal):
4146 * shell/ev-window.c: (update_action_sensitivity),
4147 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
4148 (ev_window_cmd_view_zoom_in), (ev_window_cmd_view_zoom_out),
4149 (ev_window_cmd_view_normal_size):
4151 Fix normal size zoom. Make zoom in/zoom out unsensitive when
4152 they are behyond the limits. Tweak MAX_ZOOM to 6, sucks but
4155 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
4159 Depend on 2.57, 2.59 doesnt seem to be necessary
4161 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
4163 * shell/ev-page-action.c: (update_pages_label), (page_changed_cb),
4166 Put back total number of pages as (1 of 1234)
4168 Thu Apr 21 23:37:52 2005 Jonathan Blandford <jrb@redhat.com>
4170 * shell/ev-pixbuf-cache.c (dispose_cache_job_info): actually
4173 * backend/ev-document.h: Remove EV_DOC_MUTEX in favor of a locking
4174 function. This helps debugging.
4176 2005-04-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4178 * djvu/djvu-document.c: (djvu_document_class_init),
4179 (djvu_document_get_info), (djvu_document_document_iface_init):
4180 * dvi/dvi-document.c: (dvi_document_class_init),
4181 (dvi_document_get_info), (dvi_document_document_iface_init):
4183 Dummy implementation of get_info method for dvi and djvu. Fix
4184 crashes with those backends
4186 2005-04-20 Marco Pesenti Gritti <mpg@redhat.com>
4188 * data/evince.desktop.in:
4190 Add application/x-gzpostscript
4192 2005-04-20 Bryan Clark <clarkbw@cvs.gnome.org>
4194 * data/evince.schemas.in: Added real long descriptions,
4197 * README: Added actual text, closes bug 171869
4199 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
4201 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
4205 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
4207 * backend/ev-document-info.h:
4209 s/GDate */GDate so we can just use g_free
4211 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
4213 * shell/ev-window.c: (update_document_mode),
4214 (ev_window_setup_document):
4216 Show the window in fullscreen when specified by
4219 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
4221 * backend/ev-document.c: (ev_document_class_init),
4222 (ev_document_get_info), (ev_document_render_pixbuf):
4223 * backend/ev-document.h:
4224 * backend/ev-page-cache.c: (_ev_page_cache_new):
4225 * pdf/ev-poppler.cc:
4226 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
4227 (pixbuf_document_get_info), (pixbuf_document_document_iface_init):
4228 * ps/ps-document.c: (ps_document_class_init), (document_load),
4229 (ps_document_get_info), (ps_document_document_iface_init):
4231 Remove get_title from the interface, we can just use document info
4233 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
4235 * backend/Makefile.am:
4236 * backend/ev-document.c: (ev_document_render_get_info):
4237 * backend/ev-document.h:
4238 * pdf/ev-poppler.cc:
4240 Initial support for document info. Based on jrb patch.
4242 2005-04-19 Paolo Borelli <pborelli@katamail.com>
4244 * shell/ev-window.c: (ev_window_state_event),
4245 (ev_window_class_init), (ev_window_init):
4247 Doesn't show resize grip when maximized. See bug #301053
4249 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4253 ev-sidebar-thumbnails now has translatable labels
4255 * shell/Makefile.am:
4256 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document),
4257 (ev_sidebar_links_support_document), (ev_sidebar_links_get_label),
4258 (ev_sidebar_links_page_iface_init):
4259 * shell/ev-sidebar-links.h:
4260 * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
4261 (ev_sidebar_page_support_document), (ev_sidebar_page_set_document),
4262 (ev_sidebar_page_get_label):
4263 * shell/ev-sidebar-page.h:
4264 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_new),
4265 (ev_sidebar_thumbnails_set_document),
4266 (ev_sidebar_thumbnails_support_document),
4267 (ev_sidebar_thumbnails_get_label),
4268 (ev_sidebar_thumbnails_page_iface_init):
4269 * shell/ev-sidebar-thumbnails.h:
4270 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
4271 (ev_sidebar_set_document):
4272 * shell/ev-sidebar.h:
4273 * shell/ev-window.c: (ev_window_setup_document), (ev_window_init):
4275 Small rework of sidebar code. Now sidebar pages should implement
4276 EvSidebarPage interface. That makes page management in EvSidebar
4277 easier. See bug #164811 for details
4279 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4281 * shell/ev-application.c: (ev_application_open):
4282 * shell/ev-document-types.c:
4284 Fix build error and small problem with application exit
4286 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4288 * thumbnailer/Makefile.am:
4289 * thumbnailer/evince-thumbnailer-djvu.schemas:
4290 * thumbnailer/evince-thumbnailer-dvi.schemas:
4292 Conditionally install schemas for djvu/dvi thumbnailer
4294 2005-04-18 David Malcolm <dmalcolm@redhat.com>
4296 * shell/ev-document-types.h:
4297 * shell/ev-document-types.c:
4298 New files, handling the mapping from mimetypes to backends
4300 * shell/ev-window.c:
4301 * thumbnailer/evince-thumbnailer.c:
4302 Use the ev-document-types code
4304 * shell/Makefile.am:
4305 Added new convenience library libevbackendfactory_la, containing
4306 the new mimetype->backend logic; moved the backends into it.
4308 * thumbnailer/Makefile.am:
4309 Make the thumbnailer link with the libevbackend.la convenience
4310 library, rather than having a duplicate of the backend logic here.
4312 2005-04-18 Paolo Borelli <pborelli@katamail.com>
4314 * shell/ev-stock-icons.c: constify some vars.
4315 * shell/ev-window.c: ditto.
4317 2005-04-18 Marco Pesenti Gritti <mpg@redhat.com>
4319 * ps/ps-document.c (get_page_orientation):
4321 Respect document orientation
4323 2005-04-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4327 * shell/Makefile.am:
4329 Move library dependencies to components.
4331 * shell/ev-window.c: (update_window_title),
4332 (start_loading_document):
4334 Fix display of uris with spaces. Bug 168358.
4336 Sat Apr 16 18:53:47 2005 Jonathan Blandford <jrb@redhat.com>
4338 * shell/ev-sidebar-links.c: (selection_changed_cb):
4339 * shell/ev-view.c: (ev_view_finalize), (go_to_link),
4340 (ev_view_button_release_event), (ev_view_set_document):
4342 * shell/ev-window.c: (find_bar_search_changed_cb):
4343 * shell/ev-window.h: Minor cleanups removing some dead code.
4345 2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4347 * backend/ev-page-cache.c: (_ev_page_cache_new):
4349 Set current page to 0 if document has pages.
4351 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
4353 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
4355 Initialize GError to NULL, fix a crash when loading fails.
4357 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
4359 * shell/ev-window.c: (update_view_size):
4361 Calculate shadow size only when there is actually
4364 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
4366 * shell/ev-view.c: (ev_view_set_spacing), (ev_view_init):
4369 Allow setting view spacing, default to 0
4371 * shell/ev-window.c: (ev_window_unfullscreen),
4372 (ev_window_cmd_view_fullscreen), (ev_window_init):
4374 Remove spacing in fullscreen mode
4376 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
4378 * shell/ev-view.c: (compute_border), (compute_zoom_factor),
4379 (ev_view_size_request), (expose_bin_window),
4380 (ev_view_set_show_border), (ev_view_init), (page_changed_cb):
4382 * shell/ev-window.c: (ev_window_unfullscreen),
4383 (ev_window_cmd_view_fullscreen):
4385 Do not draw the border in fulscreen
4387 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
4389 * shell/ev-view.c: (ev_view_get_offsets), (compute_zoom_factor),
4390 (ev_view_size_request), (expose_bin_window), (ev_view_select_all),
4391 (find_page_at_location), (page_changed_cb):
4393 Rework border calculation, so that I can more easily disable it.
4394 Code somewhat cleaner too.
4396 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
4398 * backend/ev-page-cache.c: (ev_page_cache_init),
4399 (_ev_page_cache_new):
4401 Remove some assertions, documents can have 0 pages.
4402 Make initial current page -1.
4404 * shell/ev-page-action.c: (page_changed_cb):
4406 Show "" if current page is -1
4408 * shell/ev-window.c: (update_action_sensitivity),
4409 (ev_window_setup_document):
4411 When document has 0 pages do not set the view
4412 and make nearly everything insensitive.
4414 2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4416 * shell/ev-page-view.c:
4417 * shell/ev-page-view.h:
4419 Remove unused files.
4421 * shell/ev-sidebar-thumbnails.c:
4422 (ev_sidebar_thumbnails_set_document):
4423 * shell/ev-sidebar.c: (ev_sidebar_set_document),
4424 (ev_sidebar_supports_document):
4425 * shell/ev-sidebar.h:
4426 * shell/ev-window.c: (ev_window_setup_document):
4428 Doesn't show thumbnails if document has 1 page. Make
4429 sidebar menu entries sensitive only if if they have
4430 sense. Fix bug 164811.
4432 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
4434 * shell/ev-view.c: (compute_zoom_factor), (ev_view_size_request),
4435 (page_changed_cb), (ev_view_zoom), (ev_view_zoom_in),
4436 (ev_view_zoom_out), (ev_view_set_size):
4438 Rework sizing to deal with documents with not uniform page
4441 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
4443 * backend/ev-page-cache.c: (_ev_page_cache_new):
4445 Fix several page size caching bugs
4447 2005-04-15 Luca Ferretti <elle.uca@libero.it>
4449 * shell/ev-window.c: (set_action_properties):
4451 Make all toolbar items translatable
4453 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
4455 * ps/ps-document.c: (ps_document_init), (ps_document_get_type),
4456 (save_page_list), (ps_document_save),
4457 (ps_document_document_iface_init), (ps_document_ps_export_begin),
4458 (ps_document_ps_export_do_page), (ps_document_ps_export_end),
4459 (ps_document_ps_exporter_iface_init):
4462 Based on a patch by J�rg Billeter <j@bitron.ch>
4464 Implement print and save a copy for the ps backend.
4466 2005-04-14 Marco Pesenti Gritti <mpg@redhat.com>
4468 * backend/ev-document.h:
4469 * djvu/djvu-document.c: (djvu_document_can_get_text),
4470 (djvu_document_document_iface_init):
4471 * dvi/dvi-document.c: (dvi_document_can_get_text),
4472 (dvi_document_document_iface_init):
4473 * pdf/ev-poppler.cc:
4474 * pixbuf/pixbuf-document.c: (pixbuf_document_can_get_text),
4475 (pixbuf_document_document_iface_init):
4476 * ps/ps-document.c: (ps_document_can_get_text),
4477 (ps_document_document_iface_init):
4478 * shell/ev-view.c: (ev_view_copy), (ev_view_primary_get_cb):
4479 * shell/ev-window.c: (update_action_sensitivity):
4481 Fix the crash when trying to copy in backends that doesnt
4482 support it. We can implement a better solution once we
4483 do real text selection.
4485 2005-04-12 Marco Pesenti Gritti <mpg@redhat.com>
4487 * data/evince-ui.xml:
4488 * shell/ev-window.c: (ev_window_cmd_escape):
4490 Work around the Escape conflict (find bar and unfullscreen)
4492 2005-04-12 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
4494 * backend/ev-page-cache.c: (ev_page_cache_next_page):
4496 Fix for #300233. Next page correctly handles document end.
4498 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
4499 (ev_sidebar_thumbnails_class_init),
4500 (ev_sidebar_thumbnails_set_document),
4501 (ev_sidebar_thumbnails_clear_job),
4502 (ev_sidebar_thumbnails_clear_model):
4504 Cleanup thumbnail jobs on document changes.
4506 * shell/ev-view.c: (add_scroll_binding_keypad),
4507 (add_scroll_binding_shifted), (ev_view_class_init):
4509 Shift + Space scrolls up. Fix for #173184
4511 * shell/ev-window.c: (ev_window_open_page),
4512 (ev_window_cmd_view_reload):
4514 Fix reload (Bug #300094)
4516 2005-04-09 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4519 * dvi/mdvi-lib/assoc.c:
4520 * dvi/mdvi-lib/assoc.h: Removed garbage files
4522 * dvi/mdvi-lib/bitmap.c:
4523 * dvi/mdvi-lib/color.c: (mdvi_set_color), (mdvi_push_color),
4524 (mdvi_pop_color), (mdvi_reset_color), (get_color_table):
4525 * dvi/mdvi-lib/color.h: Antialias of rules
4527 * dvi/mdvi-lib/common.h:
4528 * dvi/mdvi-lib/dviread.c: (mdvi_configure), (mdvi_init_context),
4529 (mdvi_destroy_context), (draw_shrink_rule), (draw_box), (set_rule):
4530 * dvi/mdvi-lib/files.c:
4531 * dvi/mdvi-lib/fontmap.c: (ps_init_default_paths):
4532 * dvi/mdvi-lib/mdvi.h:
4533 * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
4534 * dvi/mdvi-lib/tfmfile.c: (ofm_load_file):
4535 * dvi/mdvi-lib/util.c: Fix compile warnings
4537 * dvi/dvi-document.c:
4538 (dvi_document_load), (dvi_document_thumbnails_get_dimensions),
4539 (dvi_document_thumbnails_get_thumbnail),
4540 (dvi_document_document_thumbnails_iface_init):
4541 * dvi/mdvi-lib/Makefile.am:
4542 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
4543 (dvi_pixbuf_set_color), (mdvi_pixbuf_device_render):
4545 Dvi backend now renders thumbnails
4547 2005-04-09 Christian Persch <chpe@cvs.gnome.org>
4549 * shell/main.c: (main):
4551 Save accelerators on exit. Fixes bug #172095.
4553 Sat Apr 9 01:05:09 2005 Jonathan Blandford <jrb@redhat.com>
4555 * shell/ev-pixbuf-cache.c (move_one_job): Actually fix the "FIXME:
4556 update priority" comment.
4558 * backend/ev-job-queue.c: Give a way to change priority.
4560 Sat Apr 9 00:05:36 2005 Jonathan Blandford <jrb@redhat.com>
4562 * shell/ev-page-action.c: Fix logic.
4564 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
4566 * shell/ev-view.c: (ev_view_can_find_next):
4567 * shell/ev-window.c: (ev_window_setup_document):
4569 Check that the document supports find
4571 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
4573 * data/evince-ui.xml:
4574 * shell/ev-view.c: (ev_view_can_find_next):
4576 * shell/ev-window.c: (update_action_sensitivity),
4577 (find_changed_cb), (ev_window_setup_document),
4578 (ev_window_cmd_edit_find_next):
4582 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
4584 * pdf/ev-poppler.cc:
4585 * shell/ev-print-job.c: (idle_print_handler):
4587 Make printing work again
4589 Fri Apr 8 01:12:24 2005 Jonathan Blandford <jrb@redhat.com>
4591 * shell/ev-page-action.h:
4592 * shell/ev-page-action.c: (ev_page_action_widget_init),
4593 (ev_page_action_widget_class_init), (page_changed_cb),
4594 (create_tool_item), (update_page_cache), (build_new_tree_cb),
4595 (get_filter_model_from_model), (match_selected_cb),
4596 (display_completion_text), (match_completion), (update_model),
4597 (connect_proxy), (ev_page_action_set_property),
4598 (ev_page_action_get_property), (ev_page_action_set_document),
4599 (ev_page_action_set_model), (ev_page_action_class_init): Big
4600 reworking to make completions work iff we have >= GTK-2.7.0
4602 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_property),
4603 (ev_sidebar_links_get_property), (ev_sidebar_links_class_init),
4604 (job_finished_cb): We now have a 'model' property that is set when
4605 the links are loaded. This can be caught with "notify::model"
4607 * shell/ev-window.c: (sidebar_widget_model_set), (ev_window_init):
4608 listen for the model to be set, and propagate it to the action.
4610 2005-04-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4612 * cut-n-paste/recent-files/egg-recent-item.c:
4613 (egg_recent_item_set_uri), (make_valid_utf8),
4614 (egg_recent_item_set_mime_type), (egg_recent_item_get_mime_type):
4615 * cut-n-paste/recent-files/egg-recent-item.h:
4617 Update egg-recent from libegg. This should fix long
4618 startup problem. For details see
4619 http://bugzilla.gnome.org/show_bug.cgi?id=160531
4621 2005-04-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4623 * cut-n-paste/recent-files/Makefile.am:
4624 * data/evince-ui.xml, shell/Makefile.am:
4625 * shell/ev-application.c, shell/ev-application.h:
4626 * shell/ev-window.c: Recent files support.
4628 * configure.ac: Added "ru" to ALL_LINGUAS.
4630 * dvju: new backend to support DJVU files.
4631 * dvi: new backend to support DVI.
4633 * configure.ac, Makefile.am, shell/Makefile.am, ev-window.c:
4634 * ev-application.c: Support for new backends.
4636 * help, ev-window.c, main.c shell/Makefile.am:
4637 Evince user documentation.
4639 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
4642 * shell/ev-window.c:
4643 * thumbnailer/evince-thumbnailer.c:
4645 s/pdf-document/ev-poppler
4647 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
4654 * ps/ps-document.c: (setup_pixmap):
4658 2005-04-05 Kristian Høgsberg <krh@redhat.com>
4660 * backend/ev-page-cache.c (ev_page_cache_next_page):
4661 * shell/ev-window.c (ev_window_cmd_go_next_page)
4662 (ev_window_cmd_go_first_page): Fix of by one errors.
4664 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
4666 * ps/ps-document.c: (get_page_box):
4668 Fix page size calculation
4670 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
4672 * ps/ps-document.c: (ps_document_init), (push_pixbuf),
4673 (ps_document_cleanup), (setup_pixmap), (get_page_box),
4674 (get_page_orientation), (setup_page), (document_load),
4675 (ps_document_get_page_size), (render_pixbuf_idle):
4678 More refactoring to adapt to EvDocument changes
4680 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
4682 * ps/ps-document.c: (start_interpreter):
4684 Actually add alpha args
4686 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
4688 * pdf/ev-poppler.cc:
4690 Make clipboard work again
4692 2005-04-04 Kristian Høgsberg <krh@redhat.com>
4694 Make searching work again.
4696 * backend/ev-document.c:
4697 * backend/ev-document.h:
4698 * backend/ev-document-find.c:
4699 * backend/ev-document-find.h: Change EvDocumentIface so we no
4700 longer store the current page or zoom level in the document. The
4701 consequence is that all calls that operate on the current page now
4702 instead take the page number as an extra argument, and all
4703 coordinates are now doubles in document coordinate system.
4705 * pdf/ev-poppler.cc:
4706 * pixbuf/pixbuf-document.c:
4707 * ps/ps-document.c: Update backends accordingly.
4709 2005-04-04 Marco Pesenti Gritti <marco@gnome.org>
4713 Add required gettext version
4715 Sat Apr 2 18:57:00 2005 Jonathan Blandford <jrb@redhat.com>
4717 * shell/evwindow.c: Patch from Alberto Mesas <amesas@gmail.com> to
4718 make F1 bring up non-existent help.
4720 * shell/eggfindbar.c: Patch from Christian Persch to sync to
4721 epiphany's find bar, #167477
4723 * shell/ev-view.c (ev_view_jump): Patch from Emil Soleyman-Zomalan
4724 <emil@nishra.com> to add space-bar scrolling,
4726 * shell/ev-window.c (static GtkActionEntry entries): add default
4727 keybinding for Help (F1)
4730 * shell/ev-view.c (ev_view_show_cursor): Fix from Yuval Tanny
4731 changing EV_VIEW_CURSOR_LINK to EV_VIEW_CURSOR_NORMAL resolves bug
4734 2005-04-01 David Malcolm <dmalcolm@redhat.com>
4737 * pixbuf/pixbuf-document.c:
4739 Got pixbuf backend working again
4741 2005-04-01 Steve Murphy <murf@e-tools.com>
4743 * configure.in: Added "rw" to ALL_LINGUAS.
4745 Fri Apr 1 02:33:41 2005 Jonathan Blandford <jrb@redhat.com>
4747 * shell/ev-sidebar-links.c (create_loading_model): Fix mismatch in
4748 model types, noticed by Martin Kretzschmar.
4750 2005-04-01 Kristian Høgsberg <krh@redhat.com>
4752 * pdf/ev-poppler.cc: Implement search based on
4753 poppler_page_find_text(). Currently a bit crude since we remember
4754 all matches from all pages. Also, we grab the big document lock
4755 when we search since searching changes the underlying stream and
4756 thus conflicts with the rendering thread.
4758 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
4759 (jump_to_find_page), (ev_view_set_document), (ev_view_find_next),
4760 (ev_view_find_previous): Fix some page indexes to be 0 based,
4761 offset rubber band by view offset,
4763 Fri Apr 01 09:21:12 2005 Pablo Saratxaga <pablo@mandrakesoft.com>
4765 * configure.ac: Added Walloon (wa) to ALL_LINGUAS.
4767 Fri Apr 1 01:59:39 2005 Jonathan Blandford <jrb@redhat.com>
4769 * shell/ev-page-action.c: Changed to use page labels now. Rewrote
4770 completely because I didn't understand GtkActions. I should
4771 read Marco's code more carefully in the future.
4773 * backend/ev-page-cache.h (ev_page_cache_set_page_label): New
4776 2005-03-31 Kristian Høgsberg <krh@redhat.com>
4778 * pdf/ev-poppler.cc (pdf_document_get_links): Update to work with
4779 PopplerRectangle change from poppler CVS.
4781 Thu Mar 31 13:27:50 2005 Jonathan Blandford <jrb@redhat.com>
4783 * backend/ev-document.c: (ev_document_get_page_label):
4784 * backend/ev-document.h:
4785 * backend/ev-page-cache.c: (_ev_page_cache_new),
4786 (ev_page_cache_get_page_label):
4787 * backend/ev-page-cache.h:
4788 * pdf/ev-poppler.cc:
4789 * shell/ev-sidebar-links.c: (ev_sidebar_links_construct),
4790 (links_page_num_func):
4791 * shell/ev-sidebar-thumbnails.c:
4792 (ev_sidebar_thumbnails_set_document):
4793 * shell/ev-view.c: (status_message_from_link),
4794 (ev_view_motion_notify_event):
4795 * shell/ev-window.c: (document_supports_sidebar): Add in page
4796 label support. It's not perfect yet, but it's the first 'feature'
4798 Also, fix a bogus comment noticed by crispin.
4800 Thu Mar 31 01:21:58 2005 Jonathan Blandford <jrb@redhat.com>
4802 * Makefile.am: Remove pixbuf backend for now
4804 * configure.ac: Require poppler-glib instead of just poppler.
4806 * backend/ev-document-thumbnails.h: Add a comment
4808 * backend/ev-document.h:
4809 * backend/ev-document.c: (ev_document_class_init),
4810 (ev_document_load), (ev_document_get_link),
4811 (ev_document_get_links): Remove 3 methods and add get_links.
4814 * backend/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
4815 * backend/ev-jobs.h: now EvJobRender can grab the links for a document.
4817 * backend/ev-link.c: (ev_link_set_title),
4818 (ev_link_mapping_free_foreach), (ev_link_mapping_free),
4819 (ev_link_mapping_find):
4820 * backend/ev-link.h: Allow NULL titles. Also, introduce a mapping link.
4822 * backend/ev-page-cache.c: (ev_page_cache_init),
4823 (_ev_page_cache_new), (ev_page_cache_set_current_page),
4824 (ev_page_cache_get_size), (ev_page_cache_next_page),
4825 (ev_page_cache_prev_page): Fix to be 0 based.
4829 * pdf/ev-poppler.cc: New backend.
4831 * ps/ps-document.c: (ps_document_init), (ps_document_set_page),
4832 (ps_document_get_page), (ps_document_document_iface_init):
4834 * shell/ev-pixbuf-cache.h:
4835 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
4836 (dispose_cache_job_info), (job_finished_cb), (move_one_job),
4837 (ev_pixbuf_cache_update_range), (copy_job_to_job_info),
4838 (add_job_if_needed), (ev_pixbuf_cache_set_page_range),
4839 (ev_pixbuf_cache_get_pixbuf), (ev_pixbuf_cache_get_link_mapping):
4840 Fix up code to grab a page cache per each doc. Also, fix to be 0
4843 * shell/ev-sidebar-thumbnails.c:
4844 (ev_sidebar_tree_selection_changed), (page_changed_cb),
4845 (ev_sidebar_thumbnails_set_document): Fix to be 0 based.
4847 * shell/ev-view.c: (status_message_from_link),
4848 (find_page_at_location), (get_link_at_location),
4849 (ev_view_motion_notify_event), (ev_view_button_release_event),
4850 (ev_view_init): Use the new link code. Fix to be 0 based.
4852 * shell/ev-window.c: (update_action_sensitivity),
4853 (document_supports_sidebar): 0 based.
4855 Fri Mar 25 16:55:58 2005 Jonathan Blandford <jrb@redhat.com>
4857 * pdf/pdf-document.cc: Patch from Fernando Herrera
4858 <fherrera@onirica.com> to fix my quick fix to get_thumbnail.
4861 Wed Mar 23 23:49:41 2005 Jonathan Blandford <jrb@redhat.com>
4863 * pdf/pdf-document.cc (pdf_document_thumbnails_get_thumbnail): add
4864 1 to the page, as this seems to be 1 based. I thought we has this
4867 2005-03-23 Marco Pesenti Gritti <marco@gnome.org>
4870 * backend/Makefile.am:
4871 * backend/ev-document-links.c:
4872 (ev_document_links_has_document_links),
4873 (ev_document_links_get_links_model):
4874 * backend/ev-document-links.h:
4875 * backend/ev-document.c: (ev_document_get_page_cache),
4876 (ev_document_get_doc_mutex), (ev_document_load),
4877 (ev_document_save), (ev_document_get_title),
4878 (ev_document_get_n_pages), (ev_document_set_page),
4879 (ev_document_get_page), (ev_document_set_target),
4880 (ev_document_set_scale), (ev_document_set_page_offset),
4881 (ev_document_get_page_size), (ev_document_get_text),
4882 (ev_document_get_link), (ev_document_render),
4883 (ev_document_render_pixbuf), (ev_document_scale_changed):
4884 * backend/ev-document.h:
4885 * backend/ev-job-queue.c: (remove_object_from_queue),
4886 (notify_finished), (handle_job), (search_for_jobs_unlocked),
4887 (no_jobs_available_unlocked), (ev_render_thread),
4888 (ev_job_queue_init), (find_queue), (ev_job_queue_add_job),
4889 (ev_job_queue_remove_job):
4890 * backend/ev-job-queue.h:
4891 * backend/ev-jobs.c: (ev_job_init), (ev_job_dispose),
4892 (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
4893 (ev_job_links_class_init), (ev_job_render_init),
4894 (ev_job_render_dispose), (ev_job_render_class_init),
4895 (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
4896 (ev_job_thumbnail_class_init), (ev_job_finished),
4897 (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
4898 (ev_job_render_run), (ev_job_thumbnail_new),
4899 (ev_job_thumbnail_run):
4900 * backend/ev-jobs.h:
4901 * backend/ev-link.c:
4902 * backend/ev-link.h:
4903 * backend/ev-page-cache.c: (ev_page_cache_init),
4904 (ev_page_cache_class_init), (ev_page_cache_finalize),
4905 (_ev_page_cache_new), (ev_page_cache_get_n_pages),
4906 (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
4907 (ev_page_cache_set_link), (ev_page_cache_get_title),
4908 (ev_page_cache_get_size), (ev_page_cache_next_page),
4909 (ev_page_cache_prev_page):
4910 * backend/ev-page-cache.h:
4911 * pdf/pdf-document.cc:
4914 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
4915 (push_pixbuf), (interpreter_failed), (ps_document_cleanup),
4916 (ps_document_widget_event), (ps_document_finalize), (get_xdpi),
4917 (get_ydpi), (setup_pixmap), (setup_page), (close_pipe),
4918 (is_interpreter_ready), (output), (catchPipe), (input),
4919 (start_interpreter), (check_filecompressed), (compute_dimensions),
4920 (ps_document_enable_interpreter), (document_load),
4921 (ps_document_next_page), (render_page), (ps_document_set_page),
4922 (ps_document_set_scale), (render_pixbuf_idle),
4923 (ps_document_render_pixbuf), (ps_document_document_iface_init):
4925 * shell/Makefile.am:
4926 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
4927 (ev_pixbuf_cache_class_init), (ev_pixbuf_cache_finalize),
4928 (dispose_cache_job_info), (ev_pixbuf_cache_dispose),
4929 (ev_pixbuf_cache_new), (job_finished_cb),
4930 (check_job_size_and_unref), (move_one_job),
4931 (ev_pixbuf_cache_update_range), (find_job_cache),
4932 (ev_pixbuf_cache_clear_job_sizes), (add_job_if_needed),
4933 (ev_pixbuf_cache_add_jobs_if_needed),
4934 (ev_pixbuf_cache_set_page_range), (ev_pixbuf_cache_get_pixbuf):
4935 * shell/ev-pixbuf-cache.h:
4936 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
4937 (idle_print_handler):
4938 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
4939 (selection_changed_cb), (create_loading_model),
4940 (ev_sidebar_links_construct), (links_page_num_func),
4941 (ev_sidebar_links_clear_document), (update_page_callback_foreach),
4942 (update_page_callback), (job_finished_cb),
4943 (ev_sidebar_links_set_document):
4944 * shell/ev-sidebar-thumbnails.c:
4945 (ev_sidebar_thumbnails_class_init), (adjustment_changed_cb),
4946 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init),
4947 (page_changed_cb), (thumbnail_job_completed_callback),
4948 (ev_sidebar_thumbnails_set_document):
4949 * shell/ev-sidebar-thumbnails.h:
4950 * shell/ev-sidebar.c: (ev_sidebar_set_document):
4951 * shell/ev-view.c: (ev_view_finalize), (ev_view_destroy),
4952 (ev_view_get_offsets), (ev_view_size_request), (ev_view_realize),
4953 (ev_view_unrealize), (highlight_find_results), (expose_bin_window),
4954 (ev_view_select_all), (ev_view_copy), (ev_view_primary_get_cb),
4955 (ev_view_create_invisible_cursor), (ev_view_motion_notify_event),
4956 (ev_view_button_release_event), (ev_view_scroll_view),
4957 (ev_view_class_init), (ev_view_init), (update_find_status_message),
4958 (jump_to_find_result), (jump_to_find_page), (find_changed_cb),
4959 (ev_view_new), (job_finished_cb), (page_changed_cb),
4960 (ev_view_set_document), (go_to_link), (ev_view_zoom),
4961 (size_to_zoom_factor), (ev_view_set_size), (ev_view_find_next),
4962 (ev_view_find_previous):
4964 * shell/ev-window.c: (update_action_sensitivity),
4965 (ev_window_open_page), (update_window_title), (update_total_pages),
4966 (page_changed_cb), (ev_window_setup_document),
4967 (password_dialog_response), (ev_window_cmd_save_as),
4968 (ev_window_print), (ev_window_cmd_go_previous_page),
4969 (ev_window_cmd_go_next_page), (ev_window_cmd_go_first_page),
4970 (ev_window_cmd_go_last_page), (ev_window_cmd_view_reload),
4971 (find_bar_search_changed_cb), (goto_page_cb), (ev_window_init):
4972 * shell/main.c: (main):
4974 Merge evince-threads branch
4976 2005-03-16 Žygimantas Beručka <uid0@akl.lt>
4978 * configure.ac: Added "lt" to ALL_LINGUAS.
4980 2005-03-14 Marco Pesenti Gritti <marco@gnome.org>
4987 2005-03-13 Fernando Herrera <fherrera@onirica.com>
4989 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
4991 Fix here also the thumbnails 1-basedness :)
4993 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
5000 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
5002 * pdf/pdf-document.cc:
5003 * shell/ev-sidebar-thumbnails.c: (adjustment_changed_cb),
5004 (do_one_iteration), (ev_sidebar_thumbnails_set_document):
5006 Fix the mess we did with thumbnails and 1-basedness
5008 2005-03-12 Changwoo Ryu <cwryu@debian.org>
5010 * configure.ac (ALL_LINGUAS): Added "ko" (Korean).
5012 2005-03-09 Marco Pesenti Gritti <marco@gnome.org>
5019 2005-03-08 Marco Pesenti Gritti <marco@gnome.org>
5022 * ps/gsdefaults.c: (gtk_gs_defaults_get_interpreter_cmd),
5023 (gtk_gs_defaults_get_alpha_parameters),
5024 (gtk_gs_defaults_get_ungzip_cmd),
5025 (gtk_gs_defaults_get_unbzip2_cmd):
5027 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
5028 (ps_document_get_orientation), (document_load),
5029 (ps_document_goto_page), (ps_document_set_page_size):
5032 Some more sanitization of the ps backend. Remove a lot
5033 of unused code and do not base our defaults on ggv
5036 2005-03-08 Fernando Herrera <fherrera@onirica.com>
5038 * thumbnailer/evince-thumbnailer.schemas:
5039 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
5040 (main): add -s option for thumbnail size.
5042 2005-03-07 Christian Persch <chpe@cvs.gnome.org>
5046 AC_PROG_RANLIB is rendered obsolete by AC_PROG_LIBTOOL;
5049 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
5051 * pdf/pdf-document.cc:
5053 Remove 4 pixels of useless border from the
5056 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
5058 * backend/ev-document-thumbnails.c:
5059 (ev_document_thumbnails_get_thumbnail):
5060 * backend/ev-document-thumbnails.h:
5062 Rework API a bit. Add a border flag and
5063 change sizing logic (now the size we specify
5064 applies to the bigger dimension).
5066 * pdf/pdf-document.cc:
5067 * pixbuf/pixbuf-document.c:
5068 (pixbuf_document_thumbnails_get_thumbnail):
5069 * shell/ev-sidebar-thumbnails.c: (do_one_iteration):
5070 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
5072 Adapt to the new API and do not draw a border for nautilus
5075 2005-03-03 Fernando Herrera <fherrera@onirica.com>
5077 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
5078 take thumbnails from page "0" instead of "1". Added a copyright header.
5080 2005-03-03 Jens Granseuer <jensgr@gmx.net>
5082 * ps/ps-document.c: (set_up_page), (start_interpreter):
5084 Make it C89 compliant
5086 2005-03-03 Marco Pesenti Gritti <marco@gnome.org>
5091 * pdf/pdf-document.cc:
5092 * thumbnailer/Makefile.am:
5093 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
5095 * thumbnailer/evince-thumbnailer.schemas:
5096 * thumbnailer/pdf-icon.png:
5098 Add a nautilus thumbnailer.
5099 Based on patch by Fernando Herrera <fherrera@onirica.com>.
5101 2005-03-02 Marco Pesenti Gritti <marco@gnome.org>
5109 2005-03-01 Kristian Høgsberg <krh@redhat.com>
5111 Use poppler instead of including xpdf source code. Poppler is a
5112 fork of xpdf to build it as a shared library. See
5113 http://freedesktop.org/wiki/Software/poppler.
5115 * pdf/xpdf/*, pdf/goo/*, pdf/splash/*, pdf/fofi/*: Remove included
5118 * pdf/Makefile.am: Build libpdfdocument.a here.
5120 * pdf/GDKSplashOutputDev.cc:
5121 * pdf/GDKSplashOutputDev.h:
5122 * pdf/GnomeVFSStream.cc:
5123 * pdf/GnomeVFSStream.h:
5126 * test-gdk-output-dev.cc
5128 * Thumb.h: Pull these files out of pdf/xpdf and adjust to compile
5131 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
5133 * shell/ev-sidebar-links.c: (ev_sidebar_links_clear_document):
5135 Clear idle stack before unsetting the document
5137 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
5139 * ps/ps-document.c: (ps_document_widget_event),
5140 (ps_document_set_target), (ps_document_finalize),
5141 (ps_document_get_page):
5143 Disconnect the widget event signal on finalize.
5146 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
5148 * ps/ps-document.c: (set_up_page):
5150 If there is no bpixmap create one, even if size
5153 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
5155 * ps/ps-document.c: (ps_document_init), (ps_document_cleanup),
5156 (set_up_page), (document_load), (ps_document_set_zoom):
5158 Default page is 0. Calculate size even when we have no
5161 2005-02-28 Carlos Garcia Campos <carlosgc@gnome.org>
5163 * shell/ev-sidebar.c: expand the selection widget to be always as
5166 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
5168 * shell/ev-sidebar-thumbnails.c:
5169 (ev_sidebar_thumbnails_set_document):
5171 Clear the list store when setting document
5173 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
5175 * shell/ev-page-action.c: (update_entry), (sync_entry),
5176 (activate_cb), (entry_size_request_cb), (create_tool_item),
5179 Use an entry for the page control instead of spinbuttons
5181 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
5183 * data/evince.schemas.in:
5185 Correct confusing string
5187 Sun Feb 27 23:00:31 2005 Jonathan Blandford <jrb@redhat.com>
5189 * shell/ev-sidebar-links.c (do_one_iteration): Handle title links
5190 for real. Gosh, how long has this been broken.
5192 * pdf/xpdf/pdf-document.cc (build_link_from_action): add back the
5193 check for a NULL link. We crash otherwise.
5195 2005-02-27 Marco Pesenti Gritti <marco@gnome.org>
5202 2005-02-25 Sebastien Bacher <seb128@debian.org>
5204 * configure.ac: add the french translation.
5206 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
5208 * shell/ev-window.c:
5210 Remove unused header -> fix distcheck
5212 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
5214 * shell/ev-window.c: (update_window_title),
5215 (ev_window_popup_password_dialog):
5217 Unescape filename for display
5219 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
5221 * pdf/xpdf/pdf-document.cc:
5223 In get_page_size deal with rotation. Also
5224 cleanup the function a bit.
5226 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
5228 * pdf/xpdf/pdf-document.cc:
5230 Fix crash when opening in new window
5232 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
5236 Check ghostscript >= 7
5238 2005-02-25 Pedro Villavicencio <pvillavi@gnome.cl>
5240 * shell/ev-window.c:
5242 Make page width the default sizing mode
5244 2005-02-25 Carlos Garcia Campos <carlosgc@gnome.org>
5245 Marco Pesenti Gritti <marco@gnome.org>
5247 * shell/ev-window.c: Remember the sidebar size
5249 * data/evince.schemas.in: Add a new gconf key to store the size of
5252 2005-02-24 Kai Willadsen <kaiw@itee.uq.edu.au>
5254 * data/evince-ui.xml:
5255 * shell/ev-window.c: (update_action_sensitivity),
5256 (ev_window_cmd_view_reload):
5258 Add a "Reload" action and menu entry
5260 Thu Feb 24 23:07:33 2005 Jonathan Blandford <jrb@redhat.com>
5262 * shell/ev-window.c (hide_sidebar_and_actions): Hide the sidebar
5263 iff the type doesn't support thumbnailing and indexing.
5265 2005-02-24 Martin Kretzschmar <martink@gnome.org>
5267 * configure.ac (ALL_LINGUAS): Added "zh_TW" (Traditional Chinese).
5269 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
5271 * pdf/splash/Splash.cc:
5273 Port fix for a crasher from kde bug
5274 http://bugs.kde.org/show_bug.cgi?id=97131
5276 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
5278 * pdf/xpdf/pdf-document.cc:
5280 Return a link even if it's of an unrecognized
5281 type. Otherwise we go in an infinte cycle.
5283 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
5285 * shell/ev-window.c: (update_sizing_buttons), (update_view_size),
5286 (size_allocate_cb), (ev_window_set_sizing_mode):
5288 Update size when switching mode
5290 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
5292 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
5293 (ev_window_cmd_view_page_width), (update_sizing_buttons),
5294 (ev_window_cmd_view_normal_size):
5296 Fix size toggle buttons behavior
5298 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
5300 * shell/ev-view.c: (ev_view_get_offsets), (view_rect_to_doc_rect),
5301 (doc_rect_to_view_rect), (ev_view_size_allocate),
5302 (expose_bin_window), (ev_view_select_all), (page_changed_callback),
5303 (scale_changed_callback):
5305 Do not cache offsets in size_allocate.
5307 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
5309 * shell/ev-view.c: (ev_view_size_allocate):
5311 Calculate offsets before calling the parent
5312 class (which does a redraw)
5314 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
5316 * pdf/xpdf/pdf-document.cc:
5318 Fix a crasher on exit. Unused code, put a TODO
5320 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
5322 * backend/ev-document.c: (ev_document_class_init),
5323 (ev_document_page_changed), (ev_document_scale_changed):
5324 * backend/ev-document.h:
5326 Separate page/scale notifications
5328 * pdf/xpdf/pdf-document.cc:
5330 Emit the new signals.
5331 Do not display the pdf page in _render, do it
5332 when scale/page are requested.
5334 * ps/ps-document.c: (ps_document_set_zoom),
5335 (ps_document_widget_event):
5338 Emit the new signals.
5340 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
5341 (ev_view_init), (page_changed_callback), (scale_changed_callback),
5342 (ev_view_set_document), (ev_view_zoom), (ev_view_zoom_in),
5343 (ev_view_zoom_out), (size_to_zoom_factor), (ev_view_set_size):
5345 * shell/ev-window.c: (ev_window_cmd_view_normal_size),
5346 (ev_window_cmd_view_page_width), (size_allocate_cb),
5347 (ev_window_set_sizing_mode):
5349 Rework sizing to be pixel based.
5350 There are bugs but should be already way better.
5352 2005-02-23 Marco Pesenti Gritti <marco@gnome.org>
5354 * shell/ev-window.c: (ev_window_init):
5356 Do not allow to shrink sidebar smaller then
5359 2005-02-23 Carlos Garcia Campos <carlosgc@gnome.org>
5361 * shell/ev-sidebar.[ch]
5362 * shell/ev-window.c:
5364 Improved sidebar widget. Fixes #166683
5366 2005-02-23 Tommi Vainikainen <thv@iki.fi>
5368 * shell/ev-view.c (update_find_status_message): Give translators
5369 more flexibility with ngettext plural handling.
5371 Mon Feb 21 17:52:08 2005 Jonathan Blandford <jrb@redhat.com>
5373 * pdf/xpdf/pdf-document.cc (pdf_document_get_page_size): Patch
5374 from Crispin Flowerday <gnome@flowerday.cx> to avoid rendering the
5375 page when we get the page size.
5377 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
5379 * ps/ps-document.c: (ps_document_set_page), (ps_document_get_page):
5381 ps pages are 0 based, convert
5383 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
5385 * ps/ps-document.c: (ps_document_class_init), (ps_document_load):
5387 Initialize correct parent class. Set GError on document load
5389 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
5391 * pdf/xpdf/pdf-document.cc:
5393 Fixup selection offset calculation
5395 * shell/ev-view.c: (view_rect_to_doc_rect),
5396 (doc_rect_to_view_rect), (ev_view_size_allocate),
5397 (expose_bin_window), (ev_view_select_all), (ev_view_copy),
5398 (ev_view_primary_get_cb), (ev_view_motion_notify_event):
5400 Store selection as document relative, so that zooming
5401 and offset changing doesnt break it.
5403 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
5405 * shell/ev-view.c: (ev_view_best_fit):
5407 Do not try to best fit if the view is not realized
5409 2005-02-20 Kostas Papadimas <pkst@gnome.org>
5411 * configure.ac (ALL_LINGUAS): Added "el" (Greek).
5413 Fri Feb 18 16:06:39 2005 Jonathan Blandford <jrb@redhat.com>
5415 * shell/ev-window.c (ev_window_focus_in_event): missed a case.
5417 Fri Feb 18 15:32:57 2005 Jonathan Blandford <jrb@redhat.com>
5419 * shell/ev-window.c: Change the fullscreen toolbar to always be in
5420 the popup window. That prevents it resizing when in full screen
5423 * shell/ev-view.c: Change Zoom epsilon as a bad hack to avoid
5424 multiple rerenders. This pretty much sucks.
5426 * data/evince-ui.xml: Change the fullscreen toolbar to include the
5427 rest of the toolbar.
5429 2005-02-18 Tommi Vainikainen <thv@iki.fi>
5431 * configure.ac (ALL_LINGUAS): Added "fi" (Finnish).
5433 2005-02-17 Alexander Shopov <ash@contact.bg>
5435 * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
5437 2005-02-16 Bryan Clark <clarkbw@cvs.gnome.org>
5439 * shell/ev-window.c: added ellipsis to Print item. Fixes bug 166915
5441 2005-02-16 Marco Pesenti Gritti <marco@gnome.org>
5443 * shell/ev-view.c: (ev_view_realize), (highlight_find_results),
5444 (ev_view_create_invisible_cursor), (ev_view_set_cursor),
5445 (set_document_page), (document_changed_callback),
5446 (ev_view_set_document), (ev_view_find_previous),
5447 (ev_view_hide_cursor), (ev_view_show_cursor):
5449 * shell/ev-window.c: (update_chrome_visibility),
5450 (fullscreen_timeout_cb), (fullscreen_set_timeout),
5451 (fullscreen_clear_timeout), (fullscreen_motion_notify_cb),
5452 (fullscreen_leave_notify_cb), (ev_window_fullscreen),
5453 (ev_window_unfullscreen):
5454 * shell/main.c: (main):
5456 Automatically hide the fullscreen button.
5457 Patch by Kristian Høgsberg <krh@redhat.com>
5459 2005-02-16 Vincent Noel <vnoel@cox.net>
5461 * shell/main.c (main): Specify an icon for the window. Patch by
5462 Jaap A. Haitsma. Fixes #166177.
5464 Wed Feb 16 06:30:13 2005 Jonathan Blandford <jrb@redhat.com>
5466 * shell/ev-view.c (ev_view_realize): get rid of the black flash.
5468 Tue Feb 15 22:27:13 2005 Jonathan Blandford <jrb@redhat.com>
5470 * backend/ev-document-misc.h:
5471 * backend/ev-document-misc.c:
5472 (ev_document_misc_get_page_border_size),
5473 (ev_document_misc_paint_one_page): New function to canonicalize
5474 sizing/painting a border.
5476 * shell/Makefile.am: Remove ev-page-view.c entirely as it's not
5479 * pdf/xpdf/pdf-document.cc: use new function
5481 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
5482 (ev_view_init), (ev_view_set_mode), (ev_view_zoom),
5483 (ev_view_best_fit), (ev_view_fit_width): * shell/ev-view.h: *
5484 shell/ev-window.c: (update_sizing_buttons),
5485 (ev_window_setup_document), (ev_window_cmd_view_zoom_in),
5486 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_best_fit),
5487 (ev_window_cmd_view_page_width), (size_allocate_cb),
5488 (ev_window_set_sizing_mode), (ev_window_init): make the "best fit"
5489 and "fit width" values act as toggle buttons so they stay
5490 toggled. It's not 100% perfect, and it's a little slow, but it's
5491 good enough to commit I think.
5493 2005-02-15 David Lodge <dave@cirt.net>
5495 * configure.ac (ALL_LINGUAS): Added "en_GB" (English (British)).
5497 2005-02-15 Martin Kretzschmar <martink@gnome.org>
5499 * shell/ev-window.c (update_window_title): replace newlines in
5500 the title by spaces. Bug #166107.
5502 2005-02-14 Martin Kretzschmar <martink@gnome.org>
5504 * shell/ev-view.c (ev_view_best_fit, ev_view_fit_width): add
5505 parameters providing allocation width and height without
5506 scrollbars and width of a possible vertical scrollbar. With this
5507 additional information the functions can work as
5508 intended. Unfortunately they're not idempotent. We should
5509 transform these commands to toggles. Fixes Bug #164976
5510 Initial patch by Stephane Loeuillet, then heavily modified.
5512 * shell/ev-view.h: update prototypes.
5514 * shell/ev-window.c (ev_window_cmd_view_best_fit)
5515 (ev_window_cmd_view_page_width): provide EvView fit functions with
5516 all the information they need. Formulas to calculate this
5517 information taken from GtkScrolledWindow.
5519 2005-02-14 Crispin Flowerday <gnome@flowerday.cx>
5521 * shell/ev-sidebar-thumbnails.c: Ensure that after we have
5522 created a thumbnail, the list store is updated to know
5523 that the thumbnail is set. Fixes bug #166792
5525 2005-02-11 Bryan Clark <clarkbw@cvs.gnome.org>
5527 * shell/ev-window.c: fixed typo, closes bug 166897
5529 * TODO: updated TODO with bug numbers that are relevant
5531 2005-02-09 Carlos Garcia Campos <carlosgc@gnome.org>
5533 * shell/ev-window.c: Support for DnD of files. Fixes #164813
5535 2005-02-09 Vincent Noel <vnoel@cox.net>
5537 * shell/ev-window.c: (set_action_properties): Set the "Previous"
5538 and "Next" toolbar buttons as important to make them stand out.
5540 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
5544 * ps/ps-document.c: (ps_document_finalize), (set_up_page),
5545 (start_interpreter), (stop_interpreter), (document_load),
5546 (ps_document_next_page), (ps_document_goto_page),
5547 (ps_document_set_page_size), (ps_document_widget_event),
5548 (ps_document_render):
5549 * shell/ev-page-view.c: (ev_page_view_dispose):
5550 * shell/ev-view.c: (ev_view_finalize), (expose_bin_window):
5552 Fix compilation on non-gcc platforms
5554 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
5561 * pdf/xpdf/Catalog.cc:
5564 Fix the fix for CAN-2004-0888
5566 2005-02-09 Luca Ferretti <elle.uca@libero.it>
5569 * data/evince-ui.xml:
5570 * shell/ev-stock-icons.c: (ev_stock_icons_init):
5571 * shell/ev-stock-icons.h:
5572 * shell/ev-window.c: (update_action_sensitivity),
5573 (ev_window_cmd_go_previous_page), (ev_window_cmd_go_next_page),
5574 (set_action_properties):
5576 Improve toolbar layout/icons
5578 2005-02-08 Marco Pesenti Gritti <marco@gnome.org>
5580 * pdf/xpdf/pdf-document.cc:
5582 Add warnings about unimplemented/unknown link
5585 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
5587 * ps/ps-document.c: (set_up_page):
5591 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
5593 * ps/ps-document.c: (start_interpreter):
5597 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
5599 * shell/ev-page-view.c: (ev_page_view_dispose):
5600 * shell/ev-view.c: (ev_view_finalize):
5601 * shell/ev-window.c: (ev_window_setup_document),
5602 (ev_window_dispose), (ev_window_init):
5604 Solve more refs issues.
5606 I commented out the page_view initialization for now:
5607 it was never destroyed (because it's never added
5608 to a container). Because of that we was leaking
5609 gs processes. Couldnt think to a clean fix.
5610 We need to figure this out, password view has the
5611 same issue probably.
5613 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
5615 * ps/ps-document.c: (ps_document_finalize),
5616 (ps_document_get_n_pages), (ps_document_get_page):
5618 Some cleanups, stop the interpreter on finalize
5620 * shell/ev-page-view.c: (ev_page_view_dispose),
5621 (ev_page_view_class_init):
5623 Release our reference on the document
5625 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
5629 * doc/debugging.txt:
5632 * lib/ev-debug.c: (log_module), (trap_handler), (ev_debug_init),
5633 (ev_profiler_new), (ev_should_profile), (ev_profiler_dump),
5634 (ev_profiler_free), (ev_profiler_start), (ev_profiler_stop):
5637 Add debugging helpers
5640 * ps/ps-document.c: (set_up_page), (start_interpreter),
5641 (stop_interpreter), (document_load), (ps_document_next_page),
5642 (ps_document_goto_page), (ps_document_set_page_size),
5643 (ps_document_widget_event), (ps_document_render):
5644 * shell/Makefile.am:
5645 * shell/ev-view.c: (expose_bin_window):
5646 * shell/main.c: (main):
5650 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
5652 * ps/ps-document.c: (ps_document_widget_event):
5654 Initialize message_window, this should make ps
5655 rendering really work! (Never noticed because I was
5656 testing with a ps that is causing gs to exit every time!)
5658 2005-02-07 Bryan Clark <clarkbw@cvs.gnome.org>
5660 * data/evince.schemas.in: updated simple error in applyto closing tag
5662 2005-02-07 Christian Persch <chpe@cvs.gnome.org>
5668 * data/evince-ui.xml:
5669 A data/evince.schemas.in:
5671 * shell/ev-stock-icons.c: (ev_stock_icons_init):
5672 * shell/ev-stock-icons.h:
5673 * shell/ev-window.c: (update_chrome_visibility),
5674 (update_chrome_flag), (ev_window_cmd_edit_find),
5675 (ev_window_update_fullscreen_popup), (ev_window_fullscreen),
5676 (ev_window_unfullscreen), (ev_window_focus_in_event),
5677 (ev_window_focus_out_event), (ev_window_cmd_leave_fullscreen),
5678 (ev_window_view_toolbar_cb), (ev_window_view_statusbar_cb),
5679 (ev_window_view_sidebar_cb), (find_bar_close_cb),
5680 (ev_window_dispose), (ev_window_class_init),
5681 (set_action_properties), (set_chrome_actions), (load_chrome),
5684 Implement fullscreen mode changes from bug #164776.
5685 Also implement persistent chrome toggles.
5687 2005-02-07 Jordi Mallach <jordi@sindominio.net>
5689 * configure.ac (ALL_LINGUAS): Added "ca" (Catalan).
5691 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
5697 Add another check for find interface
5701 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
5703 * shell/ev-application.c: (ev_application_open):
5704 * shell/ev-window.c: (ev_window_open):
5706 Open gzipped ps documents
5708 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
5711 * shell/ev-view.c: (set_document_page):
5713 Clamp page number, dont try to move to
5716 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
5718 * backend/ev-document-find.c: (ev_document_find_changed):
5719 * backend/ev-document-find.h:
5720 * pdf/xpdf/pdf-document.cc:
5721 * shell/ev-view.c: (jump_to_find_result), (ev_view_set_document):
5722 * shell/ev-window.c: (find_bar_search_changed_cb):
5724 Fix several bugs with find
5726 2005-02-04 Martin Kretzschmar <martink@gnome.org>
5728 * shell/ev-sidebar-thumbnails.c
5729 (ev_sidebar_thumbnails_select_page): do nothing unless we have a
5730 document. Prevents warning from scroll_to_cell.
5732 2005-02-02 Kjartan Maraas <kmaraas@gnome.org>
5734 * configure.ac: Add «nb» to ALL_LINGUAS too.
5736 Wed Feb 2 21:13:11 2005 Jonathan Blandford <jrb@redhat.com>
5738 * NOTES: New file with some random thoughts.
5742 * backend/ev-document-misc.c:
5743 (ev_document_misc_get_page_border_size): New function to
5744 canonicalize shadow drawing sizes. Possibly goofy.
5746 * shell/ev-view.c: (ev_view_size_request), (set_document_page),
5747 (ev_view_best_fit), (ev_view_fit_width):
5748 * pdf/xpdf/pdf-document.cc:
5749 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
5750 * ps/ps-document.c: (ps_document_get_page_size):
5751 * backend/ev-document-misc.h:
5752 * backend/ev-document.c: (ev_document_get_page_size):
5753 * backend/ev-document.h: get_page_size now takes a page number
5754 parameter. Made all the backends/frontends honor it.
5756 * data/evince-ui.xml: Added a multiple-page mode. Uncomment to
5757 see. Doesn't work yet.
5759 * shell/Makefile.am:
5760 * shell/ev-page-view.[ch]: New multi-page view. Really rough.
5761 Doesn't do anything yet.
5763 * shell/ev-sidebar-thumbnails.c:
5764 (ev_sidebar_thumbnails_set_document): [1..n_pages] instead of
5767 * shell/ev-window.c: (update_action_sensitivity),
5768 (ev_window_setup_document), (ev_window_set_page_mode),
5769 (ev_window_page_mode_cb), (ev_window_init): Clean up the
5770 view-swapping code a bit so we can have multiple views on a
5771 document. Add the multi-page view, though it can't be turned on
5774 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
5776 * shell/ev-application.c: (ev_application_open):
5777 * shell/ev-view.c: (expose_bin_window):
5778 * shell/ev-window.c: (ev_window_open):
5780 Support eps and check document supports find
5781 before drawing highlightings in expose.
5783 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
5785 * pixbuf/pixbuf-document.c:
5786 (pixbuf_document_thumbnails_get_dimensions),
5787 (pixbuf_document_document_thumbnails_iface_init):
5789 implement get_dimensions
5791 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
5798 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
5800 * shell/ev-view.c: (set_document_page):
5802 Scroll at the top of the page when changing page
5804 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
5806 * shell/ev-view.c: (ev_view_motion_notify_event):
5808 Do not redraw unnecessarily
5810 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
5812 * pdf/xpdf/pdf-document.cc:
5813 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
5814 (expose_bin_window), (find_changed_cb):
5816 Yay! find works now... Now to find bugs...
5818 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
5820 * backend/ev-document-find.c: (ev_document_find_base_init),
5821 (ev_document_find_changed):
5822 * backend/ev-document-find.h:
5823 * pdf/xpdf/pdf-document.cc:
5824 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
5825 (expose_bin_window), (ev_view_init), (set_document_page),
5826 (ensure_rectangle_is_visible), (jump_to_find_result),
5827 (jump_to_find_page), (find_changed_cb), (ev_view_set_document),
5828 (ev_view_find_next), (ev_view_find_previous):
5830 * shell/ev-window.c: (find_bar_previous_cb), (find_bar_next_cb):
5832 More work on find implementation, mostly there now
5834 2005-01-29 Marco Pesenti Gritti <marco@gnome.org>
5836 * backend/ev-backend-marshalers.list:
5837 * backend/ev-document-find.c: (ev_document_find_base_init),
5838 (ev_document_find_cancel), (ev_document_find_page_has_results),
5839 (ev_document_find_get_n_results), (ev_document_find_get_result),
5840 (ev_document_find_get_progress), (ev_document_find_changed):
5841 * backend/ev-document-find.h:
5843 Enanche the find interface to be really able to do
5846 * pdf/xpdf/pdf-document.cc:
5850 * shell/ev-view.c: (ev_view_finalize), (highlight_find_results),
5851 (expose_bin_window), (ev_view_init),
5852 (ev_view_get_find_status_message), (find_changed_cb),
5853 (ev_view_set_document), (set_document_page):
5855 Adapt to the new interface. A few things are regressed sorry,
5856 I will finish it soon.
5858 2005-01-28 Martin Kretzschmar <martink@gnome.org>
5860 * shell/ev-sidebar-thumbnails.c (ev_sidebar_thumbnails_destroy)
5861 (ev_sidebar_thumbnails_class_init): use G_DEFINE_TYPE-supplied
5862 ev_sidebar_thumbnails_parent_class variable, don't define another
5863 parent_class variable.
5865 * shell/ev-page-action.c (connect_proxy, ev_page_action_finalize)
5866 (ev_page_action_class_init): ditto.
5868 * pixbuf/pixbuf-document.c (pixbuf_document_finalize)
5869 (pixbuf_document_class_init): ditto.
5871 * backend/ev-link.c (ev_window_dispose, ev_link_class_init):
5874 * .cvsignore: ignore various valgrind output files.
5876 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
5878 * data/evince-ui.xml:
5879 * shell/Makefile.am:
5880 * shell/ev-history.c:
5881 * shell/ev-history.h:
5882 * shell/ev-navigation-action.c:
5883 * shell/ev-navigation-action.h:
5884 * shell/ev-view.c: (ev_view_finalize), (ev_view_go_to_link),
5885 (ev_view_set_page), (ev_view_fit_width):
5887 * shell/ev-window.c: (update_action_sensitivity),
5888 (ev_window_setup_document), (register_custom_actions):
5890 Kill session history
5892 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
5894 * shell/ev-window.c: (update_action_sensitivity):
5896 Fix inverted up/down buttons
5898 2005-01-27 Martin Kretzschmar <martink@gnome.org>
5900 * shell/ev-sidebar-thumbnails.c
5901 (ev_sidebar_thumbnails_select_page): make sure the selected
5902 thumbnail stays visible.
5904 2005-01-26 Martin Kretzschmar <martink@gnome.org>
5906 * shell/ev-window.c (ev_window_init): add GTK_SHADOW_IN to the
5907 scrolled window for Federico.
5909 2005-01-26 Ole Laursen <olau@hardworking.dk>
5911 * configure.ac: Added "da" (Danish) to ALL_LINGUAS.
5913 2005-01-26 Marco Pesenti Gritti <marco@gnome.org>
5916 * pdf/splash/SplashFTFontEngine.cc:
5918 Fix CID fonts with freetype 2.1.9
5920 2005-01-26 Bryan Clark <clarkbw@cvs.gnome.org>
5922 * TODO: added item for desktop icon thumbnailer
5924 Tue Jan 25 00:59:34 2005 Jonathan Blandford <jrb@redhat.com>
5926 * pdf/xpdf/pdf-document.cc (pdf_document_get_title): guard against
5927 unloaded docs when the title is accessed.
5929 * shell/ev-password-view.[hc]: New widget for displaying password
5932 * shell/ev-window.[ch]: Refactor password handling code to handle
5935 2005-01-24 Marco Pesenti Gritti <marco@gnome.org>
5943 2005-01-23 Stephane LOEUILLET <stephane.loeuillet@tiscali.fr>
5945 * pdf/xpdf/pdf-document.cc (pdf_document_search_page_changed):
5946 ignore page offset here, to make search results independent of it,
5948 * shell/ev-view.c (expose_bin_window): but take offsets into
5949 account here. Bug #164932
5951 * pdf/xpdf/pdf-document.cc (pdf_document_get_link): divide by
5952 scale at the right time. Bug #164996
5954 2005-01-22 Martin Kretzschmar <martink@gnome.org>
5956 * pdf/xpdf/GlobalParams.cc: My 2005-01-05 change didn't actually
5957 fix the problem. Now I just removed the Adobe font names and hope
5958 that the URW fonts are always in outline format. Bug #164934
5960 * shell/ev-window.c (update_window_title): empty titles are
5961 useless, use filename in that case too.
5963 * NEWS: Add some content.
5965 2005-01-21 Bryan Clark <clarkbw@cvs.gnome.org>
5967 * TODO: added one more TODO item and a TODONE section :)
5969 2005-01-21 Martin Kretzschmar <martink@gnome.org>
5971 * ps/ps-document.h: add page_[xy]_offset fields.
5973 * ps/ps-document.c (ps_document_set_page_offset)
5974 (ps_document_render): Keep offset in consideration in a few
5975 places. Bug #164752 "postscript documents are not centered in
5978 * data/evince.desktop.in (X-GNOME-Bugzilla-Product):
5979 s/gpdf/evince/. Spotted by Stephane Loeuillet.
5981 * pixbuf/pixbuf-document.c (pixbuf_document_get_n_pages)
5982 (pixbuf_document_get_text, pixbuf_document_document_iface_init):
5983 stub out missing methods for complete EvDocument implementation.
5984 Fixes segfaults with Save A Copy and Copy actions.
5986 * ps/ps-document.c (ps_document_save, ps_document_get_text)
5987 (ps_document_document_iface_init): ditto.
5989 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
5993 * data/evince.desktop.in:
5997 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
5999 * shell/ev-view.c: (ev_view_button_press_event),
6000 (ev_view_motion_notify_event):
6002 Make selection work in any direction
6004 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
6007 * shell/ev-window.c: (set_short_labels), (ev_window_init):
6009 Use shorter labels for some of the toolbars items
6011 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
6013 * pdf/xpdf/pdf-document.cc:
6015 Check the links info is initialized before
6016 using it. Should fix a crash on startup.
6018 2005-01-21 Martin Kretzschmar <martink@gnome.org>
6020 * pixbuf/pixbuf-document.c
6021 (pixbuf_document_thumbnails_get_dimensions): force floating point
6022 division to calculate page_ratio. Fixes crash with landscape
6025 Thu Jan 20 18:56:35 2005 Jonathan Blandford <jrb@redhat.com>
6027 * shell/ev-view.c (ev_view_realize): make the bg color darker.
6029 2005-01-20 Martin Kretzschmar <martink@gnome.org>
6031 * shell/ev-view.c (set_document_page): unset has_selection when
6033 (set_document_page): handle paper size changes when the page
6034 changes (test with Free Culture, page 2).
6036 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
6038 * shell/ev-view.c: (ev_view_size_request), (ev_view_realize),
6039 (expose_bin_window), (ev_view_class_init), (ev_view_init):
6041 Use normal style color for the widget background and
6042 draw a black box around the page.
6044 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
6046 * pdf/xpdf/pdf-document.cc:
6048 Keep offset in consideration in a few places
6050 * shell/ev-view.c: (expose_bin_window):
6052 Set the offsets so that the document is ever centered
6054 2005-01-20 Bryan Clark <clarkbw@cvs.gnome.org>
6056 * TODO: Added TODO items and finished off the first todo item
6058 * AUTHORS: Updated AUTHORS section with piece from gpdf file and
6059 reflect current authors
6061 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
6063 * pdf/xpdf/pdf-document.cc:
6064 * shell/ev-view.c: (ev_view_set_cursor),
6065 (ev_view_motion_notify_event), (document_changed_callback),
6066 (set_document_page):
6068 Show a wait cursor while the page is rendering
6070 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
6072 * shell/ev-sidebar-thumbnails.c:
6073 (ev_sidebar_tree_selection_changed),
6074 (ev_sidebar_thumbnails_select_page):
6075 * shell/ev-sidebar-thumbnails.h:
6076 * shell/ev-view.c: (ev_view_set_document), (ev_view_can_go_back),
6077 (ev_view_can_go_forward):
6078 * shell/ev-window.c: (ev_window_open_page),
6079 (ev_window_setup_document), (update_current_page),
6080 (view_page_changed_cb), (ev_window_init):
6081 * shell/ev-window.h:
6083 Ensure thumbnails selection, toolbar page control and
6084 current page are in sync.
6086 2005-01-19 Marco Pesenti Gritti <marco@gnome.org>
6092 Wed Jan 19 01:10:57 2005 Jonathan Blandford <jrb@redhat.com>
6094 * backend/Makefile.am:
6095 * backend/ev-document-links.h:
6096 * backend/ev-document-security.c: (ev_document_security_get_type),
6097 (ev_document_security_has_document_security),
6098 (ev_document_security_set_password):
6099 * backend/ev-document-security.h:
6100 * backend/ev-document.c: (ev_document_error_quark):
6101 * backend/ev-document.h:
6103 * data/evince-password.glade:
6104 * pdf/xpdf/pdf-document.cc:
6105 * shell/Makefile.am:
6106 * shell/ev-password.c: (ev_password_set_bad_password_label),
6107 (ev_window_password_entry_changed_cb), (ev_password_dialog_new),
6108 (ev_password_dialog_get_password),
6109 (ev_password_dialog_set_bad_pass):
6110 * shell/ev-password.h:
6111 * shell/ev-window.c: (ev_window_get_attribute),
6112 (ev_window_set_property), (update_action_sensitivity),
6113 (ev_window_is_empty), (mime_type_supported_by_gdk_pixbuf),
6114 (ev_window_setup_document), (ev_window_get_password),
6115 (ev_window_open), (ev_window_cmd_save_as),
6116 (using_postscript_printer), (ev_window_print),
6117 (find_not_supported_dialog), (ev_window_cmd_edit_find),
6118 (update_fullscreen_popup), (ev_window_fullscreen),
6119 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
6120 (ev_window_focus_out_cb), (ev_window_cmd_help_about),
6121 (menu_item_select_cb), (find_bar_search_changed_cb),
6122 (ev_window_dispose), (ev_window_init):
6124 Add initial support for password-supported dialogs. This could be
6125 a lot cooler, but it'll do for now.
6127 2005-01-18 Marco Pesenti Gritti <marco@gnome.org>
6129 * pdf/xpdf/pdf-document.cc:
6130 * shell/ev-view.c: (status_message_from_link),
6131 (ev_view_set_status), (ev_view_set_cursor),
6132 (ev_view_motion_notify_event), (ev_view_init):
6133 * shell/ev-window.c: (view_status_changed_cb), (ev_window_init):
6135 Fix bugs in the links implementation and change cursor
6136 when hovering a link.
6138 2005-01-17 Bryan Clark <clarkbw@cvs.gnome.org>
6140 * viewer/.cvsignore: added cvsignore file for viewer directory
6142 * TODO: created TODO document
6144 2005-01-14 Dave Malcolm <dmalcolm@redhat.com>
6147 * shell/ev-view.c (ev_view_can_go_back), (ev_view_can_go_forward):
6148 new functions to help with implementation of sensitivity code
6149 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
6150 of all actions that might require it. Fixes a crash when you
6151 click on the Zoom actions in a window lacking a document.
6153 2005-01-13 Dave Malcolm <dmalcolm@redhat.com>
6155 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
6158 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
6160 * pixbuf/pixbuf-document.c: (pixbuf_document_get_link),
6161 (pixbuf_document_document_iface_init):
6162 * ps/ps-document.c: (ps_document_get_link),
6163 (ps_document_document_iface_init):
6164 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event),
6165 (status_message_from_link), (ev_view_set_status),
6166 (ev_view_set_find_status), (ev_view_motion_notify_event),
6167 (ev_view_button_release_event), (ev_view_set_property),
6168 (ev_view_get_property), (ev_view_class_init), (ev_view_init),
6169 (ev_view_get_find_status_message), (update_find_results),
6170 (ev_view_get_status), (ev_view_get_find_status):
6172 * shell/ev-window.c: (view_status_changed_cb),
6173 (view_find_status_changed_cb), (ev_window_init):
6175 View status message support, use it to show the links.
6178 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
6180 * backend/ev-document.c: (ev_document_get_link):
6181 * backend/ev-document.h:
6182 * pdf/xpdf/pdf-document.cc:
6183 * shell/ev-application.c: (ev_application_open):
6184 * shell/ev-application.h:
6185 * shell/ev-sidebar-links.c: (selection_changed_cb):
6186 * shell/ev-view.c: (ev_view_button_release_event), (go_to_link),
6187 (ev_view_go_to_link):
6189 Add support for document links
6191 2005-01-13 Anders Carlsson <andersca@gnome.org>
6193 * shell/ev-page-action.c: (update_spin), (total_pages_changed_cb),
6195 Set the spin button limits correctly.
6197 * shell/ev-sidebar-thumbnails.c:
6198 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init):
6199 Support changing pages by clicking on the thumbnails.
6201 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
6203 * pixbuf/pixbuf-document.c:
6204 (pixbuf_document_thumbnails_get_dimensions),
6205 (pixbuf_document_document_thumbnails_iface_init):
6207 implement get_dimensions
6209 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
6211 * ps/ps-document.c: (ps_document_goto_page):
6213 Fix page switching on multipage documents
6215 2005-01-12 Jeff Muizelaar <jrmuizel@nit.ca>
6217 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
6219 check for NULL before assigning to width and height parameters
6221 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
6223 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
6224 (pixbuf_document_set_property), (pixbuf_document_get_property):
6226 implement get/set properties
6228 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
6230 * pdf/xpdf/pdf-document.cc: (pdf_info_dict_get_string):
6232 return NULL instead of "Unknown", letting the title get set to
6233 the filename when the pdf has no title.
6235 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
6237 * ps/ps-document.c: (ps_document_get_page_count),
6238 (ps_document_goto_page):
6240 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
6242 * shell/ev-history.c: (ev_history_get_property),
6243 (ev_history_set_property), (ev_history_class_init),
6244 (ev_history_add_page), (ev_history_set_current_index):
6245 * shell/ev-navigation-action.c: (ev_navigation_action_set_history),
6246 (activate_menu_item_cb), (new_history_menu_item), (build_menu),
6247 (ev_navigation_action_finalize):
6248 * shell/ev-navigation-action.h:
6249 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
6250 (ev_view_go_forward), (ev_view_get_find_status_message),
6251 (history_index_changed_cb), (ev_view_set_history):
6253 * shell/ev-window.c: (update_total_pages), (ev_window_open),
6254 (update_current_page), (register_custom_actions):
6256 Implement history dropdowns
6258 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
6260 * shell/ev-history.c: (ev_history_init), (ev_history_add_link):
6261 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
6262 (ev_view_go_forward):
6263 * shell/ev-window.c: (register_custom_actions):
6265 Fix several history bugs
6267 2005-01-11 Kjartan Maraas <kmaraas@gnome.org>
6269 * configure.ac: Add «nb» to ALL_LINGUAS.
6271 2005-01-10 Marco Pesenti Gritti <marco@gnome.org>
6273 * backend/Makefile.am:
6274 * backend/ev-bookmark.c:
6275 * backend/ev-bookmark.h:
6276 * backend/ev-document-bookmarks.c:
6277 * backend/ev-document-bookmarks.h:
6278 * backend/ev-document-links.c: (ev_document_links_get_type),
6279 (ev_document_links_has_document_links),
6280 (ev_document_links_begin_read), (ev_document_links_get_link),
6281 (ev_document_links_get_child), (ev_document_links_next),
6282 (ev_document_links_free_iter):
6283 * backend/ev-document-links.h:
6284 * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_title),
6285 (ev_link_set_title), (ev_link_get_uri), (ev_link_set_uri),
6286 (ev_link_get_link_type), (ev_link_set_link_type),
6287 (ev_link_get_page), (ev_link_set_page), (ev_link_get_property),
6288 (ev_link_set_property), (ev_window_dispose), (ev_link_init),
6289 (ev_link_class_init), (ev_link_new_title), (ev_link_new_page),
6290 (ev_link_new_external):
6291 * backend/ev-link.h:
6292 * pdf/xpdf/pdf-document.cc:
6293 * shell/Makefile.am:
6294 * shell/ev-application.c: (ev_application_open_link):
6295 * shell/ev-application.h:
6296 * shell/ev-history.c: (ev_history_add_link), (ev_history_add_page),
6297 (ev_history_get_link_nth):
6298 * shell/ev-history.h:
6299 * shell/ev-sidebar-bookmarks.c:
6300 * shell/ev-sidebar-bookmarks.h:
6301 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
6302 (ev_sidebar_links_class_init), (selection_changed_cb),
6303 (ev_sidebar_links_construct), (ev_sidebar_links_init),
6304 (links_page_num_func), (ev_sidebar_links_new), (stack_data_free),
6305 (do_one_iteration), (populate_links_idle),
6306 (ev_sidebar_links_clear_document), (ev_sidebar_links_set_document):
6307 * shell/ev-sidebar-links.h:
6308 * shell/ev-sidebar.c: (ev_sidebar_set_document):
6309 * shell/ev-view.c: (go_to_link), (ev_view_go_to_link),
6312 * shell/ev-window.c: (ev_window_open_link), (ev_window_init):
6313 * shell/ev-window.h:
6315 Rename bookmark to link, and use "Index" for the sidebar panel.
6317 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
6319 * shell/Makefile.am:
6320 * shell/ev-application.c: (ev_application_open_bookmark):
6321 * shell/ev-application.h:
6322 * shell/ev-history.c: (ev_history_init), (free_links_list),
6323 (ev_history_finalize), (ev_history_class_init),
6324 (ev_history_add_link), (ev_history_add_page),
6325 (ev_history_get_link_nth), (ev_history_get_n_links),
6326 (ev_history_get_current_index), (ev_history_set_current_index),
6328 * shell/ev-history.h:
6329 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
6330 * shell/ev-view.c: (ev_view_finalize), (ev_view_set_document),
6331 (set_document_page), (go_to_bookmark), (ev_view_go_to_bookmark),
6332 (go_to_index), (ev_view_go_back), (ev_view_go_forward),
6335 * shell/ev-window.c: (ev_window_open_bookmark),
6336 (ev_window_cmd_go_back), (ev_window_cmd_go_forward),
6337 (goto_page_cb), (register_custom_actions):
6338 * shell/ev-window.h:
6340 Initial history implementation. Needs work.
6342 2005-01-09 Martin Kretzschmar <martink@gnome.org>
6344 * pdf/xpdf/GDKSplashOutputDev.cc (redraw): fix pixbuf data offset.
6346 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
6348 * cut-n-paste/recent-files/egg-recent-item.c:
6349 * cut-n-paste/recent-files/egg-recent-item.h:
6350 * cut-n-paste/recent-files/egg-recent-model.c:
6351 * cut-n-paste/recent-files/egg-recent-util.c:
6352 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
6353 * cut-n-paste/recent-files/egg-recent-view.c:
6357 2005-01-08 Martin Kretzschmar <martink@gnome.org>
6359 * pdf/splash/Splash.cc (clear, drawPixel, drawSpan, xorSpan, getPixel)
6360 (fillGlyph, fillImageMask, drawImage):
6361 pdf/splash/SplashBitmap.cc (SplashBitmap, ~SplashBitmap, writePNMFile):
6362 pdf/splash/SplashTypes.h:
6363 pdf/xpdf/SplashOutputDev (startPage, getColor, imageSrc): implement RGB8
6364 packed mode for Splash.
6366 * pdf/xpdf/GDKSplashOutputDev.cc (GDKSplashOutputDev, redraw): use
6367 RGB8 packed mode, eliminates the pixbuf data creation loop.
6369 * shell/ev-print-job.c (ev_print_job_finalize)
6370 (ev_print_job_set_property, ev_print_job_get_property)
6371 (ev_print_job_set_gnome_print_job, ev_print_job_set_document)
6372 (ev_print_job_use_print_dialog_settings, idle_print_handler)
6373 (print_closure_finalize, ev_print_job_print): implement
6374 printing (for backends with EvPsExporter)
6376 * shell/ev_print_job.h: update prototypes.
6378 * shell/ev-window.c (ev_window_print): unref print job after
6381 * shell/ev-view.c (ev_view_set_document): don't connect to "found"
6382 unless the document implements the EvDocumentFind interface.
6384 2005-01-08 Satoru SATOH <ss@gnome.gr.jp>
6386 * configure.ac: Added ja to ALL_LINGUAS.
6388 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
6390 * pdf/xpdf/pdf-document.cc:
6392 add a FIXME. We should probably not allocate
6393 a bookmark object every time
6395 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
6397 * shell/ev-application.c: (ev_application_open),
6398 (ev_application_open_bookmark):
6399 * shell/ev-application.h:
6401 Add a way to open bookmarks
6403 * backend/ev-bookmark.c: (ev_bookmark_get_uri),
6404 (ev_bookmark_set_uri), (ev_bookmark_get_property),
6405 (ev_bookmark_set_property), (ev_bookmark_class_init),
6406 (ev_bookmark_new_title), (ev_bookmark_new_link),
6407 (ev_bookmark_new_external):
6409 Support for external uris, better constructors.
6411 * backend/ev-bookmark.h:
6412 * pdf/xpdf/pdf-document.cc:
6413 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
6415 Handle external uris
6417 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
6419 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb),
6420 (ev_sidebar_bookmarks_construct), (do_one_iteration):
6422 Hook up bookmarks navigation
6424 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
6426 * backend/Makefile.am:
6427 * backend/ev-bookmark.c: (ev_bookmark_type_get_type),
6428 (ev_bookmark_get_title), (ev_bookmark_set_title),
6429 (ev_bookmark_get_bookmark_type), (ev_bookmark_set_bookmark_type),
6430 (ev_bookmark_get_page), (ev_bookmark_set_page),
6431 (ev_bookmark_get_property), (ev_bookmark_set_property),
6432 (ev_window_dispose), (ev_bookmark_init), (ev_bookmark_class_init),
6434 * backend/ev-bookmark.h:
6435 * backend/ev-document-bookmarks.c:
6436 (ev_document_bookmarks_get_bookmark):
6437 * backend/ev-document-bookmarks.h:
6438 * pdf/xpdf/pdf-document.cc:
6439 * shell/ev-sidebar-bookmarks.c: (do_one_iteration):
6441 Add a bookmark object to the backend and use it instead of get_values
6443 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
6445 * data/evince-ui.xml:
6447 Cleanup and add select all.
6449 * shell/ev-view.c: (ev_view_select_all),
6450 (ev_view_button_press_event):
6452 * shell/ev-window.c: (ev_window_cmd_edit_select_all):
6455 Clear selection on click.
6457 Fri Jan 7 01:28:58 2005 Jonathan Blandford <jrb@redhat.com>
6459 * shell/ev-sidebar-thumbnails.c
6460 (ev_sidebar_thumbnails_set_document): forgot to unref the
6463 Fri Jan 7 01:22:48 2005 Jonathan Blandford <jrb@redhat.com>
6465 * shell/ev-sidebar-thumbnails.c: fill in the thumbnails starting
6466 at the visible page, not just linearly. This makes it look fast.
6468 Thu Jan 6 18:48:11 2005 Jonathan Blandford <jrb@redhat.com>
6470 * backend/ev-document-misc.c
6471 (ev_document_misc_get_thumbnail_frame): fill in the thumbnail with
6473 * backend/ev-document-thumbnails.h: New interface to get the size
6476 2005-01-06 Jeremy Katz <katzj@redhat.com>
6478 * shell/Makefile.am (evince_SOURCES): Add ev-utils.[ch] so that
6481 Wed Jan 5 15:38:28 2005 Jonathan Blandford <jrb@redhat.com>
6483 * pdf/xpdf/pdf-document.cc (bitmap_to_pixbuf): bypass
6484 GDKSplashOutputDev and just use a normal SplashOutputDev. Speeds
6487 * shell/ev-sidebar-thumbnail.c: start of some profiling code.
6489 2005-01-05 Martin Kretzschmar <martink@gnome.org>
6491 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): match only outline
6492 fonts. Should fix font problems on systems that have the base
6493 fonts in bitmap format. Reported by James Henstridge
6494 <james@jamesh.id.au>.
6496 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
6499 * pdf/xpdf/GfxState.cc:
6501 Fix for CAN-2004-1125
6503 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
6505 * shell/ev-view.c: (ev_view_copy):
6507 * shell/ev-window.c: (ev_window_cmd_edit_copy):
6509 Implement Edit->Copy
6511 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
6513 * backend/ev-document.c: (ev_document_get_text):
6514 * backend/ev-document.h:
6515 * pdf/xpdf/pdf-document.cc:
6516 * shell/ev-view.c: (ev_view_realize), (expose_bin_window),
6517 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
6518 (ev_view_update_primary_selection), (ev_view_button_press_event),
6519 (ev_view_motion_notify_event), (ev_view_button_release_event):
6521 Beginnings of clipboard support. Incomplete but primary sort
6524 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
6526 * shell/ev-view.c: (ev_gdk_color_to_rgb), (draw_rubberband),
6527 (expose_bin_window):
6529 Nicer rubberband drawing, from GtkIconView.
6531 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
6533 * backend/ev-document.c: (ev_document_save):
6534 * backend/ev-document.h:
6535 * data/evince-ui.xml:
6536 * pdf/xpdf/pdf-document.cc:
6537 * shell/ev-window.c: (save_error_dialog), (ev_window_cmd_save_as):
6539 Implement "Save a copy..." menu item
6541 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
6543 * shell/ev-view.c: (ev_view_zoom):
6545 Queue a resize when zoom changes
6547 Wed Jan 5 02:33:06 2005 Jonathan Blandford <jrb@redhat.com>
6549 * backend/ev-document-misc.[ch]: New misc file to do simple drop
6552 * pdf/xpdf/pdf-document.cc: use the drop shadows in both types of
6555 Tue Jan 4 22:32:32 2005 Jonathan Blandford <jrb@redhat.com>
6557 * pdf/xpdf/pdf-document.cc
6558 (pdf_document_thumbnails_get_page_pixbuf): poor man's dropshadow.
6560 Tue Jan 4 21:25:05 2005 Jonathan Blandford <jrb@redhat.com>
6562 * pdf/xpdf/pdf-document.cc: Do real thumbnailing of PDF files.
6563 It's slow, but I'll speed it up next!
6565 2005-01-04 Jeff Muizelaar <jrmuizel@nit.ca>
6567 * shell/main.c (load_files):
6569 use gnome_vfs_make_uri_from_shell_arg so that relative paths work
6570 from the command line and because it seems more appropriate.
6572 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
6574 * data/evince-ui.xml:
6575 * shell/ev-window.c: (update_action_sensitivity),
6576 (ev_window_cmd_go_page_up), (ev_window_cmd_go_page_down):
6578 s/next page/page down
6579 s/previous page/page up
6581 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
6583 * data/evince-ui.xml:
6585 Change the layout to match clarkbw design.
6587 * shell/Makefile.am:
6588 * shell/ev-navigation-action.c: (build_menu), (menu_activated_cb),
6589 (set_tooltip_cb), (connect_proxy), (ev_navigation_action_init),
6590 (ev_navigation_action_finalize),
6591 (ev_navigation_action_set_property),
6592 (ev_navigation_action_get_property),
6593 (ev_navigation_action_class_init):
6594 * shell/ev-navigation-action.h:
6596 Implement clarkbw toolbar navigation controls (incomplete)
6598 * shell/ev-page-action.c: (update_label), (update_spin),
6599 (value_changed_cb), (create_tool_item), (connect_proxy),
6600 (ev_page_action_init), (ev_page_action_finalize),
6601 (ev_page_action_set_property), (ev_page_action_get_property),
6602 (ev_page_action_set_current_page),
6603 (ev_page_action_set_total_pages), (ev_page_action_class_init):
6604 * shell/ev-page-action.h:
6606 Implement a page switcher in the toolbar
6608 * shell/ev-view.c: (ev_view_scroll_view):
6609 * shell/ev-window.c: (update_total_pages), (ev_window_open),
6610 (update_current_page), (view_page_changed_cb), (goto_page_cb),
6611 (register_custom_actions), (ev_window_init):
6613 Change page on PageUp/Down.
6615 Tue Jan 4 03:22:56 2005 Jonathan Blandford <jrb@redhat.com>
6617 * pdf/xpdf/pdf-document.cc
6618 (pdf_document_thumbnails_get_thumbnail): initial stab at
6619 implementing thumbnail support for pdfs. It only does documents
6620 with precached pdfs now.
6622 Mon Jan 3 17:22:25 2005 Jonathan Blandford <jrb@redhat.com>
6624 * shell/ev-sidebar-thumbnails.c (do_one_iteration): move the
6625 thumbnail code into a time-based idle as well. Also, turn off the
6626 shadow temporarily as it's really slow.
6628 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
6630 * backend/ev-document.c: (ev_document_class_init):
6631 * pdf/xpdf/pdf-document.cc:
6632 * shell/ev-window.c: (ev_window_open):
6634 Fix document title bugs and fallback to
6635 filename when not available.
6637 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
6639 * backend/ev-document.c: (ev_document_get_type),
6640 (ev_document_class_init), (ev_document_load),
6641 (ev_document_get_title):
6642 * backend/ev-document.h:
6643 * pdf/xpdf/pdf-document.cc:
6644 * ps/ps-document.c: (ps_document_set_property),
6645 (ps_document_get_property), (ps_document_class_init),
6649 * shell/ev-window.c: (update_window_title), (ev_window_open),
6652 Initial support for document title. Not working yet.
6654 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
6656 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event):
6658 Grab focus on the view when clicking it
6660 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
6662 * shell/ev-marshal.list:
6663 * shell/ev-view.c: (ev_view_realize), (add_scroll_binding),
6664 (ev_view_scroll_view), (ev_view_class_init), (ev_view_init):
6666 Add key bindings to the view. Now if the focus would work
6669 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
6672 * backend/Makefile.am:
6675 * dvi/dvilib/Makefile.am:
6676 * pdf/xpdf/Makefile.am:
6682 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
6684 * shell/ev-view.c: (ev_view_realize):
6686 Fix mouse wheel scrolling
6688 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
6694 * ps/ps-document.c: (catchPipe), (ps_document_init),
6695 (ps_document_class_init), (ps_document_cleanup),
6696 (ps_document_finalize), (send_ps), (ps_document_get_orientation),
6697 (set_up_page), (close_pipe), (is_interpreter_ready),
6698 (interpreter_failed), (output), (input), (start_interpreter),
6699 (stop_interpreter), (file_length), (file_readable),
6700 (check_filecompressed), (check_pdf), (compute_xdpi),
6701 (compute_ydpi), (compute_size), (ps_document_enable_interpreter),
6702 (ps_document_get_type), (ps_document_emit_error_msg),
6703 (document_load), (ps_document_next_page),
6704 (ps_document_get_current_page), (ps_document_get_page_count),
6705 (ps_document_goto_page), (ps_document_set_page_size),
6706 (ps_document_zoom_to_fit), (ps_document_set_zoom),
6707 (ps_document_load), (ps_document_get_n_pages),
6708 (ps_document_set_page), (ps_document_get_page),
6709 (ps_document_widget_event), (ps_document_set_target),
6710 (ps_document_set_scale), (ps_document_set_page_offset),
6711 (ps_document_get_page_size), (ps_document_render),
6712 (ps_document_document_iface_init):
6715 * shell/ev-window.c: (ev_window_open):
6717 Rename GtkGS to PSDocument
6719 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
6721 * ps/gtkgs.c: (gtk_gs_class_init):
6724 Some more leftover...
6726 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
6728 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_get_orientation),
6729 (output), (stop_interpreter), (gtk_gs_emit_error_msg),
6730 (gtk_gs_zoom_to_fit), (gtk_gs_set_zoom):
6733 Remove unused code and make a lot of stuff private
6735 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
6737 * ps/gsdefaults.c: (gtk_gs_defaults_gconf_client),
6738 (gtk_gs_defaults_changed):
6744 Cleanup headers dependencies
6746 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
6751 * ps/gsdefaults.c: (gtk_gs_defaults_get_paper_sizes):
6753 * ps/gtkgs.c: (file_length), (file_readable),
6754 (check_filecompressed), (check_pdf), (gtk_gs_load),
6755 (gtk_gs_get_postscript):
6759 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
6764 * ps/gtkgs.c: (gtk_gs_set_zoom):
6768 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
6770 * ps/gtkgs.c: (gtk_gs_set_zoom), (gtk_gs_set_zoom_mode):
6772 Ensure the page is rerendered when changing zoom
6774 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
6776 * backend/ev-document.c: (ev_document_base_init),
6777 (ev_document_changed):
6778 * backend/ev-document.h:
6780 Add a changed event that is emitted when the page content
6781 changes. This is necessary to deal with the fact that
6782 in ps backend rendering happen asycrounously.
6783 This makes the ps backend mostly work.
6785 * pdf/xpdf/pdf-document.cc:
6789 * ps/gtkgs.c: (set_up_page), (gtk_gs_widget_event),
6790 (ps_document_set_target):
6794 * shell/ev-view.c: (document_changed_callback),
6795 (ev_view_set_document), (ev_view_set_page):
6797 Redraw on the changed signal
6799 2004-12-25 Raphael Higino <raphaelh@cvs.gnome.org>
6801 * configure.ac: Added pt_BR to ALL_LINGUAS.
6803 Fri Dec 24 00:48:44 2004 Jonathan Blandford <jrb@redhat.com>
6805 * backend/ev-document-bookmarks.c:
6806 (ev_document_bookmarks_get_child): *
6807 backend/ev-document-bookmarks.h: * pdf/xpdf/Makefile.am: *
6808 pdf/xpdf/pdf-document.cc: * pdf/xpdf/pdf-document.h: *
6809 shell/Makefile.am: * shell/ev-sidebar-bookmarks.c:
6810 (ev_sidebar_bookmarks_destroy),
6811 (ev_sidebar_bookmarks_class_init),
6812 (ev_sidebar_bookmarks_construct), (stack_data_free),
6813 (do_one_iteration), (populate_bookmarks_idle),
6814 (ev_sidebar_bookmarks_clear_document),
6815 (ev_sidebar_bookmarks_set_document): *
6816 shell/ev-sidebar-bookmarks.h: * shell/ev-sidebar.c:
6817 (ev_sidebar_add_page),
6818 (ev_sidebar_set_document): * shell/ev-window.c: (ev_window_open):
6819 Initial stab at a bookmarks sidebar. It doesn't navigate yet, but
6820 it displays both the topics and the page numbers.
6822 2004-12-23 Kristian Høgsberg <krh@redhat.com>
6824 * shell/ev-window.c (ev_window_view_sidebar_cb): Hook up sidebar
6826 * shell/ev-window.c (toggle_entries): Set sidebar default value to
6829 2004-12-23 Adam Weinberger <adamw@gnome.org>
6831 * configure.ac: Added en_CA to ALL_LINGUAS.
6833 2004-12-23 Martin Kretzschmar <martink@gnome.org>
6835 * ChangeLog: replace bottom of this ChangeLog (merged history of
6836 ggv and gpdf; where all paths were wrong and most of the files are
6837 not even in this tree) with ChangeLog (from arch) of the shell
6840 2004-12-23 Havoc Pennington <hp@redhat.com>
6842 * shell/ev-window.c: hook up potentially-questionable "find
6843 results status text" feature - something involving the sidebar or
6844 scrollbar or a continuous all-pages-on-giant-roll-of-paper-view
6845 might be better in the end.
6847 * shell/ev-view.c (ev_view_get_find_status_message): new function,
6848 with corresponding signal when it should be updated
6850 * shell/eggfindbar.c (egg_find_bar_set_status_text): new function
6852 2004-12-22 Havoc Pennington <hp@redhat.com>
6854 * pdf/xpdf/pdf-document.cc (pdf_document_find_begin): make search
6855 find stuff on other pages, sort of (only returns one result on
6856 invisible pages, to show they have results; updates full results
6857 for a page when you view it). Currently repaints the current page
6858 every time a new result is found on any page, which isn't so nice.
6860 2004-12-22 Havoc Pennington <hp@redhat.com>
6862 * shell/ev-window.c (ev_window_cmd_edit_find): display an error if
6863 the document doesn't support find (better ideas?)
6864 (find_bar_search_changed_cb): handle missing document or document
6865 that doesn't support find
6867 * pdf/xpdf/pdf-document.cc: port to implement the new
6870 * backend/ev-document-find.c: create a new interface for searching
6872 * backend/ev-document.h, backend/ev-document.c: delete the find stuff
6874 2004-12-23 Martin Kretzschmar <martink@gnome.org>
6876 * pdf/xpdf/Makefile.am (libpdfdocument_la_LIBADD): add
6879 * shell/ev-window.c (ev_window_print): add GnomePrintJob to
6880 EvPrintJob constructor arguments.
6882 * backend/ev-ps-exporter.c, backend/ev-ps-exporter.h: interface
6883 for documents that can export PostScript (page by page).
6885 * backend/Makefile.am (libevbackend_la_SOURCES): add them.
6887 * pdf/xpdf/pdf-document.cc (pdf_document_ps_export_begin)
6888 (pdf_document_ps_export_do_page, pdf_document_ps_export_end)
6889 (pdf_document_ps_exporter_iface_init:
6890 Implement EvPSExporter.
6892 * pdf/xpdf/Makefile.am (libxpdf_la_SOURCES): build PSOutputDev.
6894 2004-12-22 Anders Carlsson <andersca@gnome.org>
6896 * backend/Makefile.am:
6897 * backend/ev-document-thumbnails.c:
6898 (ev_document_thumbnails_get_type),
6899 (ev_document_thumbnails_get_thumbnail):
6900 * backend/ev-document-thumbnails.h:
6901 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
6902 (pixbuf_document_thumbnails_get_thumbnail),
6903 (pixbuf_document_document_thumbnails_iface_init):
6904 * shell/Makefile.am:
6905 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_destroy),
6906 (ev_sidebar_thumbnails_class_init), (ev_sidebar_thumbnails_init),
6907 (populate_thumbnails), (ev_sidebar_thumbnails_set_document):
6908 * shell/ev-sidebar-thumbnails.h:
6909 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
6910 (ev_sidebar_set_document):
6911 * shell/ev-utils.c: (gaussian), (create_blur_filter),
6912 (create_shadow), (ev_pixbuf_add_shadow):
6914 Add thumbnail support.
6916 2004-12-22 Martin Kretzschmar <martink@gnome.org>
6918 * shell/ev-window.c (ev_window_cmd_file_print, ev_window_print)
6919 (using_postscript_printer): Set up a print dialog for "PostScript
6922 * shell/ev-print-job.h, shell/ev-print-job.c: stub classes for
6925 * shell/Makefile.am (evince_SOURCES): add ev-print-job.[ch]
6927 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
6929 * ps/gtkgs.c: (gtk_gs_init), (set_up_page),
6930 (ps_document_set_target), (ps_document_get_page_size),
6931 (ps_document_render):
6936 2004-12-22 Christian Rose <menthos@menthos.com>
6938 * configure.ac: Added "sv" to ALL_LINGUAS.
6940 Wed Dec 22 14:47:38 2004 Jonathan Blandford <jrb@redhat.com>
6942 * backend/ev-document-bookmarks.[ch]: new interface to indicate
6943 document supports bookmarks.
6945 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
6947 * ps/ggvutils.c: (ggv_file_readable):
6949 * ps/gtkgs.c: (check_filecompressed), (check_pdf),
6950 (gtk_gs_get_postscript):
6954 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
6956 * ps/gtkgs.c: (gtk_gs_init), (gtk_gs_class_init), (gtk_gs_cleanup),
6957 (gtk_gs_finalize), (gtk_gs_set_center), (set_up_page), (output),
6958 (start_interpreter), (compute_size), (gtk_gs_enable_interpreter),
6959 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_reload),
6960 (gtk_gs_emit_error_msg), (gtk_gs_disable_interpreter),
6961 (gtk_gs_load), (gtk_gs_goto_page), (gtk_gs_set_page_size),
6962 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
6963 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
6964 (gtk_gs_set_antialiasing), (ps_document_load),
6965 (ps_document_render):
6968 Another check point for the ps backend. Now I can get it to show
6971 Wed Dec 22 13:41:01 2004 Jonathan Blandford <jrb@redhat.com>
6973 * shell/ev-sidebar.c (ev_sidebar_set_document): initial sidebar
6974 document setting code.
6976 2004-12-22 Anders Carlsson <andersca@gnome.org>
6978 * shell/eggfindbar.c: (entry_activate_callback):
6979 Animate the next button when activate is pressed.
6981 2004-12-22 Anders Carlsson <andersca@gnome.org>
6983 * shell/ev-window.c: (ev_window_cmd_edit_find),
6984 (update_fullscreen_popup), (ev_window_fullscreen),
6985 (ev_window_unfullscreen), (ev_window_state_event_cb),
6986 (ev_window_focus_out_cb), (find_bar_close_cb), (ev_window_init):
6987 Fix bugs in fullscreen code.
6989 2004-12-22 Anders Carlsson <andersca@gnome.org>
6993 * pixbuf/Makefile.am:
6994 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
6995 (pixbuf_document_load), (pixbuf_document_get_n_pages),
6996 (pixbuf_document_set_page), (pixbuf_document_get_page),
6997 (pixbuf_document_set_target), (pixbuf_document_set_scale),
6998 (pixbuf_document_set_page_offset), (pixbuf_document_get_page_size),
6999 (pixbuf_document_render), (pixbuf_document_begin_find),
7000 (pixbuf_document_end_find), (pixbuf_document_finalize),
7001 (pixbuf_document_class_init),
7002 (pixbuf_document_document_iface_init), (pixbuf_document_init):
7003 * pixbuf/pixbuf-document.h:
7004 * shell/Makefile.am:
7005 * shell/ev-application.c: (ev_application_open):
7006 * shell/ev-window.c: (mime_type_supported_by_gdk_pixbuf),
7010 Tue Dec 21 21:45:43 2004 Soeren Sandmann <sandmann@redhat.com>
7013 * dvi/dvilib/Makefile.am:
7015 * configure.ac: Auto*ify dvi and dvi/dvilib
7017 * dvi/Makefile: Remove from CVS
7019 * dvi/dvilib/dl-pkfont.cc (unpack_bitmap): Fix uchar/uint
7022 * dvi/dvilib/dl-fontdefinition.{cc,hh}: New DviFontMap class
7024 * dvi/dvilib/dl-vffont.{cc,hh}: Many bugfixes to VF code.
7026 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
7029 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_finalize),
7030 (gtk_gs_value_adjustment_changed), (compute_size),
7031 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_new_from_file),
7032 (gtk_gs_center_page), (gtk_gs_load), (gtk_gs_set_page_size),
7033 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
7034 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
7035 (gtk_gs_start_scroll), (gtk_gs_get_postscript),
7036 (gtk_gs_set_adjustments), (gtk_gs_set_available_size),
7037 (ps_document_load), (ps_document_get_n_pages),
7038 (ps_document_set_page), (ps_document_get_page),
7039 (ps_document_set_target), (ps_document_set_scale),
7040 (ps_document_set_page_offset), (ps_document_get_page_size),
7041 (ps_document_render), (ps_document_begin_find),
7042 (ps_document_end_find), (ps_document_document_iface_init):
7044 * shell/Makefile.am:
7045 * shell/ev-window.c: (ev_window_open):
7047 Some work to integrate gtkgs with EvDocument
7049 2004-12-22 Anders Carlsson <andersca@gnome.org>
7051 * shell/ev-window.c: (update_fullscreen_popup),
7052 (screen_size_changed_cb), (destroy_exit_fullscreen_popup),
7053 (exit_fullscreen_button_clicked_cb),
7054 (fullscreen_popup_size_request_cb), (ev_window_fullscreen),
7055 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
7056 (ev_window_state_event_cb), (ev_window_init):
7057 Add fullscreen support from Epiphany.
7059 2004-12-22 Mark McLoughlin <mark@skynet.ie>
7061 * data/ev-stock-zoom-fit-width.png: fit-width
7062 stock icon from gpdf.
7064 * shell/ev-stock-icons.[ch]: copied from gpdf.
7066 * shell/main.c: (main): init stock icons.
7068 * shell/ev-window.c: use the fit-width icon.
7070 * data/evince-ui.xml: add zooming toolbar items.
7072 2004-12-22 Mark McLoughlin <mark@skynet.ie>
7075 (ev_view_best_fit), (ev_view_fit_width): because
7076 get_page_size() returns the scaled page size, we
7077 need to calculate the scale factor relative to
7078 the previous scale factor. Should really just
7079 add get_real_page_size().
7081 2004-12-22 Mark McLoughlin <mark@skynet.ie>
7083 * shell/ev-view.[ch]:
7084 (ev_view_zoom), (ev_view_zoom_in), (ev_view_zoom_out),
7085 (ev_view_normal_size), (ev_view_best_fit), (ev_view_fit_width):
7088 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
7089 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_normal_size),
7090 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width):
7093 * pdf/xpdf/pdf-document.cc:
7094 (pdf_document_begin_find),
7095 (pdf_document_end_find): make static.
7097 2004-12-22 Martin Kretzschmar <martink@gnome.org>
7099 * pdf/xpdf/GlobalParams.h (setupBaseFontsFc): add prototype.
7101 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): maps base font
7102 names to fontconfig patterns.
7103 (setupBaseFontsFc): setupBaseFonts reimplemented using fontconfig.
7105 * pdf/xpdf/pdf-document.cc (pdf_document_load): use
7108 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
7124 Import ggv backend. Not hooked up yet.
7126 2004-12-22 Mark McLoughlin <mark@skynet.ie>
7128 * shell/main.c: (load_files), (main): load files
7129 from the command line.
7131 2004-12-22 Mark McLoughlin <mark@skynet.ie>
7133 * configure.ac: don't require bonobo.
7135 * cut-n-paste/recent-files/*: kill bonobo recent
7138 * shell/ev-window.c:
7139 (ev_window_is_empty): upd.
7140 (unable_to_load), (ev_window_open): load backend
7141 based on the mime type.
7143 2004-12-22 Martin Kretzschmar <martink@gnome.org>
7145 * backend/.cvsignore: ignore generated marshalers source.
7147 * shell/main.c (main): this is not epiphany.
7149 2004-12-22 Havoc Pennington <hp@redhat.com>
7151 * shell/ev-view.c (ev_view_set_document): connect to "found" signal
7152 (expose_bin_window): draw find highlights
7154 * shell/ev-window.c (find_bar_search_changed_cb): implement
7156 * pdf/xpdf/pdf-document.cc (pdf_document_begin_find)
7157 (pdf_document_end_find): implement this interface
7159 * backend/ev-document.c (ev_document_found): add this to emit
7162 Tue Dec 21 23:57:37 2004 Owen Taylor <otaylor@redhat.com>
7164 * data/evince-ui.xml: Add a few more toolbar items.
7166 * shell/ev-window.c: Hook up page navigation toolbar
7169 * shell/ev-view.[ch]: add ev_view_set/get_page and
7170 a page-changed signal.
7172 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc::
7173 Add ev_document_get_page().
7175 * shell/ev-window.c: Sensitize/desensitize navigation
7178 2004-12-21 Havoc Pennington <hp@redhat.com>
7180 * backend/ev-backend-marshal.c,
7181 backend/ev-backend-marshalers.list, backend/Makefile.am: add
7182 marshaler-generator thingy. I'm sure there's a better way to do
7183 this in the modern world.
7185 * backend/ev-document.h (struct _EvDocumentIface): add begin_find,
7186 end_find methods and "found" signal.
7188 * configure.ac: find glib-genmarshal
7190 Tue Dec 21 23:20:35 2004 Jonathan Blandford <jrb@redhat.com>
7192 * shell/ev-sidebar.c: Construct an actual sidebar.
7193 * shell/ev-sidebar-bookmarks.[ch]:
7194 * shell/ev-sidebar-thumbnails.[ch]: Stub out sidebars.
7196 Tue Dec 21 23:05:51 2004 Owen Taylor <otaylor@redhat.com>
7198 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc:
7201 * shell/ev-view.c: Track the size from the document.
7203 Tue Dec 21 22:17:04 2004 Owen Taylor <otaylor@redhat.com>
7205 * pdf/xpdf/pdf-document.cc (pdf_document_load): PDFDoc
7206 constructor assumes ownership of the string passed in.
7208 * shell/ev-window.c (ev_window_open): Destroy the error
7209 dialog once we've displayed it.
7211 Tue Dec 21 21:58:56 2004 Owen Taylor <otaylor@redhat.com>
7213 * pdf/xpdf/pdf-document.cc shell/ev-view.c: Hook things up
7214 a bit, it works! (sort of)
7216 * pdf/xpdf/Makefile.am pdf/xpdf/pdf-document.cc:
7217 Move to .cc since we need to use C++ in the implementation.
7219 * shell/dummy.cc: Add a CC file to force evince
7220 to be linked as a C++ program.
7222 Tue Dec 21 21:07:55 2004 Owen Taylor <otaylor@redhat.com>
7224 * shell/ev-view.[ch]: Start of content-area widget.
7226 * shell/ev-window.c: Create a EvView, update it
7227 as we change documents.
7229 * shell/Makefile.am shell/ev-marshal.list: Add
7230 generated marshalers.
7232 Tue Dec 21 20:28:11 2004 Jonathan Blandford <jrb@redhat.com>
7234 * Makefile.am (SUBDIRS): move shell.
7236 Tue Dec 21 19:28:55 2004 Owen Taylor <otaylor@redhat.com>
7238 * pdf/{goo,fofi,splash,xpdf}/Makefile.am: Switch from
7239 .a to libtool convenience libraries.
7241 * shell/ev-window.c (ev_window_open): Hard code loading
7244 * backend/ev-document.h: Add a boolean return to load(),
7245 fix GError * to GError **.
7247 * pdf/xpdf/pdf-document.[ch] Makefile.am: Add a stub
7248 object for a PDF backend EvDocument.
7250 Tue Dec 21 18:55:06 2004 Søren Sandmann <sandmann@redhat.com>
7252 * dvi/*: New directory with the beginning of a .dvi backend.
7254 2004-12-21 Havoc Pennington <hp@redhat.com>
7256 * shell/eggfindbar.c (egg_find_bar_init): change buttons to
7257 previous/next instead of back/forward
7259 Tue Dec 21 18:26:24 2004 Owen Taylor <otaylor@redhat.com>
7261 * backend/ev-document.[ch]: Fix a couple of problems so
7264 Tue Dec 21 18:20:40 2004 Owen Taylor <otaylor@redhat.com>
7266 * viewer/* backend/* configure.ac Makefile.am: Move viewer directory
7267 to backend/ directory, rename EvViewer to EvDocument.
7269 2004-12-21 Havoc Pennington <hp@redhat.com>
7271 * shell/ev-window.c: hook up the find bar widget; now we just need
7272 a document to find things in
7274 * shell/eggfindbar.c: a find bar widget
7276 Tue Dec 21 17:20:16 2004 Jonathan Blandford <jrb@redhat.com>
7278 * shell/ev-sidebar.[ch]: initial sidebar boilerplate.
7280 Tue Dec 21 16:30:58 2004 Owen Taylor <otaylor@redhat.com>
7282 * pdf/**: Import of xpdf code from gpdf.
7284 * pdf/xpdf/xpdfconfig.h: Move the non-config.h config.h to xpdfconfig.h
7286 * pdf/splash/SplashFTFont.{cc,h} pdf/splash/SplashFTFont.h
7287 pdf/splash/SplashFTFontEngine.h pdf/splash/SplashFTFontFile.h:
7288 Fix FreeType includes.
7290 * pdf/xpdf/{Error.h GnomeVFSStream.cc ImageOutputDev.cc PDFDoc.cc\
7291 pdffonts.cc pdfimages.cc pdfinfo.cc pdftoppm.cc pdftops.cc
7292 pdftotext.cc PSOutputDev.cc PSOutputDev.h SplashOutputDev.h
7293 Stream.cc TextOutputDev.cc XPDFApp.cc xpdf.cc XPDFViewer.cc
7294 pdf/xpdf/Error.h PSOutputDev.h SplashOutputDev.h}:
7295 Include xpdfconfig.h
7297 Tue Dec 21 16:08:17 2004 Jonathan Blandford <jrb@redhat.com>
7299 * shell/ev-window.c (ev_window_dispose): dispose can be called
7302 2004-12-21 Havoc Pennington <hp@redhat.com>
7304 * shell/ev-window.c (ev_window_init): set title to Document Viewer
7307 * data/evince-ui.xml, shell/ev-window.c: add a bunch of stub menu
7308 items; really they should be synced with the strings, etc. from
7309 current gpdf, but just getting the boring typing out of the way
7311 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
7314 * shell/ev-application.c: (window_destroy_cb):
7315 * shell/ev-window.c:
7316 * shell/main.c: (main):
7318 Actually show the window...
7320 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
7323 * shell/Makefile.am:
7324 * shell/ev-application.c: (ev_application_class_init):
7325 * shell/ev-window.c: (ev_window_dispose), (ev_window_class_init):
7329 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
7331 Import to gnome cvs.
7333 * Remove copies of gpdf and ggv trees.
7334 * Rip out all the recursive configure code.
7335 * Remove bonobo machinery.
7336 * viewer/*: GInterfaces that backends should/can implement.
7338 2004-11-09 Martin Kretzschmar <m_kretzschmar@gmx.net>
7340 * shell/ev-window.c (ev_window_cmd_help_about): fix "documentors"
7343 2004-10-28 Martin Kretzschmar <m_kretzschmar@gmx.net>
7345 * shell/ev-application.c (EV_APPLICATION_GET_PRIVATE)
7346 (ev_application_finalize, ev_application_class_init)
7347 (ev_application_init): use GType instance private data for priv.
7349 * shell/ev-window.c (EV_WINDOW_GET_PRIVATE)
7350 (ev_window_finalize, ev_window_class_init)
7351 (ev_window_init): ditto.
7353 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
7355 * shell/ev-application.c (ev_application_new_window): make public
7356 (ev_application_show_initial_window): kill.
7358 * shell/ev-application.h: update prototypes.
7360 * shell/main.cc (main): inline ev_application_show_initial_window.
7362 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
7364 * shell/ev-application.c (ev_application_new_window): impl.
7365 (ev_application_show_initial_window): use it.
7366 (is_window_empty, ev_application_get_empty_window): returns an
7367 existing empty window or a new one.
7368 (ev_application_open): from ev_window_cmd_file_open.
7370 * shell/ev-application.h: update prototypes
7372 * shell/ev-window.c (ev_window_is_empty): impl.
7373 (ev_window_open): make public.
7374 (ev_window_cmd_file_open): use ev_application_open
7376 * shell/ev-window.h: update prototypes, remove unused.
7378 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
7380 * shell/ev-window.c (ev_window_destroy, ev_window_class_init):
7381 move destroy handler out of here...
7383 * shell/ev-application.c, shell/ev-application.h: ...into this new
7384 class. Also handles initial window creation.
7386 * shell/main.cc (main): use EvApplication to create initial
7389 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
7391 * Makefile.am (SUBDIRS): add cut-n-paste
7393 * cut-n-paste/Makefile.am: add
7395 * configure.ac: generate Makefiles in cut-n-paste
7397 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
7399 * shell/ev-window.c (ev_window_dispose): new, unref the ui_manager
7400 (ev_window_class_init): install ev_window_dispose.
7402 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
7404 * shell/ev-window.h, shell/ev-window.c: replace gchar with
7405 char (gchar looks stupid).
7407 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
7409 * po/de.po: updated German translation.
7411 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
7413 * configure.ac: add more pkg-config library checks for gnome-vfs,
7416 * gpdf/configure.in: temporarily disable libpaper
7417 checks. Otherwise I'd have to add the checks for the shell, too.
7419 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7421 * shell/ev-window.c (ev_window_cmd_file_open): add ps+pdf, ps, pdf
7422 and * file filters to the file choose.
7424 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7426 * po/de.po: Updated German translation.
7428 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7430 * shell/ev-window.c: use "S" as mnemonic for Statusbar.
7432 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7434 * data/evince-ui.xml: add View->Toolbar and View->Statusbar.
7436 * shell/ev-window.c (menu_item_select_cb, menu_item_select_cb)
7437 (ev_window_init): implement those menuitems.
7439 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7441 * data/evince-ui.xml: add a toolbar (with FileOpen action)
7443 * shell/ev-window.c (ev_window_init): use the toolbar.
7445 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7447 * shell/ev-window.c (ev_window_init): use menu translations
7449 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7451 * configure.ac: add "de" to ALL_LINGUAS.
7453 * po/de.po: add German translation.
7455 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7457 * Makefile.am (SUBDIRS): add po
7459 * configure.ac: check intltool, glib-gettext etc, generate
7462 * po, po/POTFILES.in, po/POTFILES.skip: new.
7464 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7466 * shell/Makefile.am (INCLUDES): define GNOMELOCALEDIR which we
7467 already use (#ifdef ENABLE_NLS)
7469 * shell/ev-window.c (ev_window_cmd_help_about): fix two star
7470 pointer indirection thinko.
7472 * shell/main.c: include gi18n.h for bindtextdomain etc.
7474 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7476 * shell/ev-window.c (menu_item_select_cb, menu_item_deselect_cb)
7477 (connect_proxy_cb, disconnect_proxy_cb, ev_window_init): show
7478 tooltips for menu items in the statusbar.
7480 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7482 * configure.ac, data/Makefile.am, shell/Makefile.am: use
7483 pkgdatadir drop UIDIR
7485 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7487 * data/evince-ui.xml: Add File->Open menu item
7489 * shell/ev-window.c (ev_window_cmd_file_open): impl. (shows a file
7490 chooser), hook it up in the ui manager.
7492 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7494 * shell/ev-window.c: fix Help->About tooltip.
7496 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7498 * configure.ac: set CFLAGS for libevprivate.
7500 * lib/ev-stock-icons.h, lib/ev-stock-icons.c: stock icon
7501 definitions, factory etc.
7503 * lib/Makefile.am: build libevprivate.a (only stock icon code).
7505 * shell/Makefile.am: link against libevprivate.a.
7507 * shell/ev-window.c (entries): add stock icon to Help->About.
7509 * shell/main.c (main): init stock icon code.
7511 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7513 * lib/recent-files: egg recent files code
7515 * lib/Makefile.am: add.
7517 * Makefile.am: add lib subdir.
7519 * configure.ac: gen. lib/Makefile and lib/recent-files/Makefile,
7520 set CFLAGS for recent-files.
7522 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7524 * configure.ac: disable -ansi and -pedantic gcc flags. They
7525 disable POSIX stuff in stdio.h, but egg-recent uses them.
7527 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7529 * configure.ac: add --disable-deprecated flag (defaults to on in
7532 * shell/Makefile.am (INCLUDES): use it.
7534 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7536 * shell/main.c: add missing #include.
7538 * shell/ev-window.c: fix for pedantic gcc.
7539 (ev_window_cmd_help_about): split license into paragraphs for
7540 translators and pedantic compilers.
7542 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7544 * configure.ac: add more warning flags if compiling with gcc from
7545 cvs (or explicitly requested with --enable-more-warnings).
7547 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7549 * data/evince-ui.xml: add File and File->Close menu.
7551 * shell/ev-window.c (ev_window_cmd_file_close_window): impl.
7552 (ev_window_destroy): quit after destroy.
7553 (ev_window_class_init): override GtkObject::destroy.
7554 (entries): install close_window callback.
7556 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7558 * Makefile.am (SUBDIRS): add data subdir.
7560 * configure.ac (UIDIR): gen data/Makefile, define UIDIR. Require
7561 gtk+ 2.5.0 for GtkAboutDialog.
7563 * data/Makefile.am, data/evince-ui.xml: add, ui definition for the
7566 * shell/Makefile.am (INCLUDES): propagate UIDIR definition.
7568 * shell/ev-window.c (ev_window_init): create a menubar, using a ui
7570 (ev_window_cmd_help_about): about command, using GtkAboutDialog.
7572 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7574 * shell/ev-window.c, shell/ev-window.h: Created an EvWindow class.
7576 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
7578 * shell/main.c: make it a trivial gtk+ program, adjust configure.ac
7580 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
7582 * shell/*: Added shell directory boilerplate, build it.
7584 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
7586 * configure.ac, Makefile.am: Added top-level configure.ac and