1 2005-06-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3 * backend/ev-page-cache.c: (ev_page_cache_finalize),
4 (_ev_page_cache_new), (ev_page_cache_get_max_width),
5 (ev_page_cache_get_max_height), (ev_page_cache_get_height_to_page):
6 * backend/ev-page-cache.h:
7 * shell/ev-view.c: (scroll_to_current_page),
8 (view_update_range_and_current_page), (get_page_y_offset),
9 (get_page_extents), (ev_view_size_request_continuous_dual_page),
10 (ev_view_size_request_continuous),
11 (ev_view_zoom_for_size_continuous_and_dual_page),
12 (ev_view_zoom_for_size_continuous):
14 More compact EvView layout in document with pages of different size.
16 Sat Jun 4 19:20:57 2005 Jonathan Blandford <jrb@redhat.com>
18 * shell/ev-window.c (ev_window_cmd_file_properties): fix
21 2005-06-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
23 * shell/ev-view.c: (view_set_adjustment_values):
24 * shell/ev-window.c: (ev_window_cmd_file_properties):
26 A bit different fix for rounding problem but it has no
27 problems on startup. Make properties window transient to parent.
29 2005-06-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
33 More commenting of font stuff.
35 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
39 Comment out some more fonts stuff. Should really
40 work without the poppler patch now.
42 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
48 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
50 * data/evince-properties.glade:
52 * shell/ev-properties.c: (setup_fonts_view):
54 Set the column title. Show the dialog only
55 once everything is setup.
56 Getting font info can be very slow... will
57 prolly need to make this threaded too.
59 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
61 * backend/Makefile.am:
62 * backend/ev-document-fonts.c: (ev_document_fonts_get_type),
63 (ev_document_fonts_get_fonts_model):
64 * backend/ev-document-fonts.h:
65 * data/evince-properties.glade:
67 * shell/ev-properties.c: (setup_fonts_view), (ev_properties_new):
68 * shell/ev-properties.h:
69 * shell/ev-window.c: (ev_window_cmd_file_properties):
71 Implement fonts list. Defined out for now, since it depends
72 on a not yet committed poppler patch.
74 Fri Jun 3 21:07:57 2005 Jonathan Blandford <jrb@redhat.com>
76 * shell/ev-view.c (get_page_extents): other_page isn't necessarily
79 * shell/ev-window.c: Make sure we add the timeout when we get a
82 * shell/ev-view.c (view_set_adjustment_values): Add 0.5 to
83 adjustment->value before calculating the zoom factor to average
84 out all of our rounding errors. The page no longer 'drifts' when
87 2005-06-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
89 * data/evince-properties.glade:
90 * shell/ev-properties.c: (ev_properties_format_date),
93 Labels don't expand when the dialogue is resized.
94 strftime result needs to be converted to UTF-8. Thanks
95 to Christian Persch <chpe@gnome.org>.
97 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
99 * data/evince-properties.glade:
103 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
105 * backend/ev-document-info.h:
106 * backend/ev-document.c: (ev_document_info_free):
107 * data/evince-properties.glade:
109 * ps/ps-document.c: (ps_document_get_info):
110 * shell/ev-properties.c: (ev_properties_format_date),
111 (set_property), (ev_properties_new):
112 * shell/ev-properties.h:
113 * shell/ev-window.c: (ev_window_cmd_file_properties):
115 Rework properties code to take only EvPropertyInfo
116 in the constructor so that it can be useful for
119 Deal with backends that doesnt support some properties.
120 Make set property code generic.
122 2005-06-04 Christian Persch <chpe@gnome.org>
124 * data/evince-properties.glade:
126 fix spacings, make resizeable, and make data labels
127 selectable + ellipsised
129 2005-06-03 Marco Pesenti Gritti <mpg@redhat.com>
131 * backend/ev-document-info.h:
133 * data/evince-ui.xml:
136 * shell/ev-window.c: (update_action_sensitivity),
137 (ev_window_cmd_file_properties):
139 Initial go at file properties. Patch by
140 Emil Soleyman-Zomalan <emil@soleyman.com>.
141 Needs love see #169583
143 2005-06-02 Marco Pesenti Gritti <mpg@redhat.com>
145 * ps/ps-document.c: (output):
148 Try to render even if psscan fails.
150 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
152 * ps/ps.c: (psscan), (pscopydoc):
154 Port buffered reading code from gv
156 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
158 * ps/ps-document.c: (interpreter_message), (output):
160 Do not fail on interpreter messages
162 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
164 * backend/ev-document-misc.c:
165 (ev_document_misc_get_thumbnail_frame):
167 Pages can be 0 x 0, dont assert on this case
169 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
171 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
172 (ev_sidebar_links_class_init), (ev_sidebar_links_set_document):
174 Correctly manage our reference on document. Finally the reload
177 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
179 * ps/ps-document.c: (ps_document_dispose):
181 Forgot to chain it to the parent. Thanks chpe.
183 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
185 * ps/ps-document.c: (ps_document_dispose),
186 (ps_document_class_init), (stop_interpreter), (document_load):
188 Cleanup dispose a bit. Dont leak the whole pixmap.
190 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
194 Release the poppler document on dispose
196 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
198 * shell/ev-view.c: (ev_view_set_document):
200 Release ref on the pixbuf cache when changing
203 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
205 * ps/ps-document.c: (ps_document_get_info):
209 2005-05-31 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
211 * backend/ev-page-cache.c: (ev_page_cache_init),
212 (_ev_page_cache_new), (ev_page_cache_get_max_label_chars):
213 * backend/ev-page-cache.h:
214 * shell/ev-page-action.c: (page_changed_cb):
216 Set page action entry width depending on labels width. Fix
219 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
221 * backend/ev-link.c: (ev_link_class_init):
223 Allow -1 as page value (error)
225 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
227 * shell/ev-sidebar-thumbnails.c:
228 (ev_sidebar_thumbnails_set_document):
229 * shell/ev-view.c: (scroll_to_current_page),
230 (view_set_adjustment_values), (ev_view_set_scroll_adjustments),
231 (page_changed_cb), (on_adjustment_value_changed),
232 (ev_view_set_document):
234 Slightly modified patch by Nickolay V. Shmyrev <nshmyrev@yandex.ru>.
237 2005-05-29 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
240 * djvu/djvu-document.c: (djvu_document_get_page_size):
242 Require djvulibre CVS. Now djvu loading is much faster. Fix for
245 Sat May 28 07:38:03 2005 Jonathan Blandford <jrb@redhat.com>
247 * shell/ev-view.c (draw_one_page): modify the expose handling to
250 * shell/ev-window.c (update_action_sensitivity): Respect
251 permissions field. Kowtow to the man.
253 * pdf/ev-poppler.cc: Get the permissions field.
255 * tiff/*c: Make a tiny bit more robust.
257 2005-05-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
259 * djvu/djvu-document.c:
261 Pop messages from djvu context message queue.
263 2005-05-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
265 * configure.ac, Makefile.am, shell/Makefile.am:
266 * tiff/Makefile.am, shell/ev-document-types.c:
268 Cleanup tiff configure checks. Fix for bug 305218.
270 2005-05-24 Maxim V. Dziumanenko <mvd@mylinux.ua>
272 * configure.ac: Added "uk" to ALL_LINGUAS.
274 2005-05-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
276 * cut-n-paste/zoom-control/ephy-zoom.c:
277 (ephy_zoom_get_changed_zoom_level):
278 * cut-n-paste/zoom-control/ephy-zoom.h:
279 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_set_property),
280 (ev_view_get_property), (ev_view_class_init), (ev_view_set_zoom):
281 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
282 (ev_window_cmd_view_zoom_out), (ev_window_zoom_changed_cb),
283 (zoom_control_changed_cb), (ev_window_init):
285 Fix minor points related to moving best fit up. Introduce
286 "zoom" property and make zoom control change it's value on
287 notify::zoom signals. Fix for 305080.
289 2005-05-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
291 * data/evince-ui.xml:
292 * shell/ev-window.c: (set_view_actions_sensitivity):
294 Use + and - as accels for zoom in and zoom out. Fix for 305001.
296 2005-05-22 Marco Pesenti Gritti <mpg@redhat.com>
300 Depends on poppler 0.3.2
302 2005-05-22 Marco Pesenti Gritti <mpg@redhat.com>
304 * cut-n-paste/recent-files/egg-recent-item.c:
305 (egg_recent_item_get_short_name):
306 * cut-n-paste/toolbar-editor/Makefile.am:
307 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
308 (new_pixbuf_from_widget):
309 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
310 * cut-n-paste/toolbar-editor/egg-marshal.c:
311 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
312 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
316 Sat May 21 23:18:30 2005 Jonathan Blandford <jrb@redhat.com>
318 * tiff/tiff-document.c: Rough TIFF backend.
320 2005-05-21 Marco Pesenti Gritti <mpg@redhat.com>
324 * cut-n-paste/toolbar-editor/Makefile.am:
328 2005-05-21 Marco Pesenti Gritti <mpg@redhat.com>
330 * shell/ev-view.c: (jump_to_find_result), (ev_view_can_find_next),
331 (ev_view_find_next), (ev_view_find_previous):
333 Remove the locks around get_n_results
335 2005-05-21 Juerg Billeter <j@bitron.ch>
337 * pdf/ev-poppler.c: (pdf_document_ps_exporter_begin):
339 Pass correct number of pages to poppler.
341 2005-05-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
345 * data/evince.desktop.in:
346 * data/evince.desktop.in.in:
349 Add conditionally dvi and djvu to desktop types. Fix for 304658.
351 Sat May 21 00:21:30 2005 Jonathan Blandford <jrb@redhat.com>
353 * shell/ev-view.c: (view_update_adjustments),
354 (view_set_adjustment_values): cast adjustmen->value to (int)
355 before using it. Otherwise, we get off by a pixel in some
358 (draw_one_page): Draw the border on expose.
360 Fri May 20 22:05:25 2005 Jonathan Blandford <jrb@redhat.com>
362 * *shell/ev-view.c: Patch from Nickolay V. Shmyrev to reset the
363 adjustment when the mode changes, #304923
365 Fri May 20 02:00:03 2005 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
367 * shell/ev-view.c: Use gdk_widget_queue_draw to remove
368 flickering on resize but still use gdk_window_scroll on
371 Fri May 20 01:46:57 2005 Jonathan Blandford <jrb@redhat.com>
373 * shell/ev-view.c: Patch from Nickolay Shmyrev to fix the -p
376 Fri May 20 01:27:01 2005 Jonathan Blandford <jrb@redhat.com>
378 * shell/ev-view.c: Patch from Nickolay Shmyrev to to scroll to
379 second page on page_changed if possible, #304669
381 Fri May 20 01:07:15 2005 Jonathan Blandford <jrb@redhat.com>
383 * shell/ev-view.c (view_update_adjustments): Use gdk_window_scroll
384 instead of gtk_widget_queue_draw. Massive speedups in scrolling.
386 Fri May 20 01:05:10 2005 Jonathan Blandford <jrb@redhat.com>
389 * shell/ev-view.c:(ev_view_size_allocate), (ev_view_class_init),
390 (zoom_for_size_fit_width), (zoom_for_size_best_fit),
391 (ev_view_zoom_for_size_presentation),
392 (ev_view_zoom_for_size_continuous_and_dual_page),
393 (ev_view_zoom_for_size_continuous),
394 (ev_view_zoom_for_size_dual_page),
395 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size):
397 * shell/ev-window.c: (update_view_size),
398 (ev_window_sizing_mode_changed_cb):
400 Patch from Nickolay Shmyrev <nshmyrev@yandex.ru> to handle
401 the scrollbars. It's not 100% right, but it's much closer. Kills
402 an infinite loop, #304769
405 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
407 * data/evince-ui.xml:
408 * shell/ev-view.c: (ev_view_scroll_view), (ev_view_class_init):
409 * shell/ev-window.c: (set_view_actions_sensitivity):
411 Make PgUp/Down behave like Space
413 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
415 * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
416 * backend/ev-ps-exporter.h:
418 * ps/ps-document.c: (ps_document_ps_export_begin):
419 * shell/ev-print-job.c: (idle_print_handler):
421 Adapt to new poppler api
423 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
425 * cut-n-paste/zoom-control/ephy-zoom-control.c:
426 (ephy_zoom_control_init):
428 Translate zoom levels
430 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
432 * cut-n-paste/zoom-control/ephy-zoom.c:
433 (ephy_zoom_get_zoom_level_index):
435 Fix current zoom -> zoom control match
437 2005-05-18 James Bowes <bowes@cs.dal.ca>
439 * shell/ev-window.c: (ev_window_init): Give focus to the ev-view,
440 rather than the scrolled_window that it's in. Fixes bug #304655.
442 Tue May 17 22:54:17 2005 Jonathan Blandford <jrb@redhat.com>
444 * shell/ev-view.c: (view_update_adjustments),
445 (view_set_adjustment_values), (view_update_range_and_current_page),
446 (view_scroll_to_page), (set_scroll_adjustment),
447 (ev_view_set_scroll_adjustments), (add_scroll_binding_keypad),
448 (ev_view_scroll), (ev_view_scroll_view),
449 (ensure_rectangle_is_visible), (find_page_at_location),
450 (get_link_at_location), (go_to_link), (status_message_from_link),
451 (ev_view_size_request_continuous_dual_page),
452 (ev_view_size_request), (ev_view_size_allocate), (ev_view_realize),
453 (ev_view_unrealize), (ev_view_expose_event),
454 (ev_view_button_press_event), (ev_view_motion_notify_event),
455 (ev_view_button_release_event), (ev_gdk_color_to_rgb),
456 (draw_rubberband), (highlight_find_results), (draw_one_page),
457 (ev_view_finalize), (ev_view_destroy), (ev_view_class_init),
458 (ev_view_init), (find_changed_cb), (page_changed_cb),
459 (on_adjustment_value_changed), (ev_view_new),
460 (ev_view_set_document), (ev_view_set_zoom),
461 (ev_view_set_continuous), (ev_view_set_dual_page),
462 (ev_view_set_presentation), (ev_view_zoom_in), (ev_view_zoom_out),
463 (zoom_for_size_fit_width), (zoom_for_size_best_fit),
464 (ev_view_zoom_for_size_presentation),
465 (ev_view_zoom_for_size_continuous_dual_page),
466 (ev_view_zoom_for_size_continuous),
467 (ev_view_zoom_for_size_dual_page),
468 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
469 (ev_view_get_status), (ev_view_set_status),
470 (update_find_status_message), (ev_view_get_find_status),
471 (ev_view_set_find_status), (jump_to_find_result),
472 (jump_to_find_page), (compute_selections), (clear_selection),
473 (ev_view_select_all), (get_selected_text), (ev_view_copy),
474 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
475 (ev_view_update_primary_selection),
476 (ev_view_create_invisible_cursor), (ev_view_set_cursor):
478 * shell/ev-window.c: (ev_window_open_page_label),
479 (ev_window_cmd_view_reload), (ev_window_sizing_mode_changed_cb),
482 * shell/main.c: (load_files):
484 Massive code clean up from Nickolay Shmyrev. Keep page offset
485 when resizing. Remove the bin_window(). Also, patch from James
486 Bowes to fix command line page, #300641
488 2005-05-17 Marco Pesenti Gritti <mpg@redhat.com>
490 * data/evince-ui.xml:
493 * shell/ev-window.c: (update_action_sensitivity):
495 Get rid of View->Normal Size, it's just confusing
497 Tue May 17 00:51:21 2005 Jonathan Blandford <jrb@redhat.com>
499 * backend/ev-document-info.h:
500 * backend/ev-document.c: (ev_document_info_free): Free the
503 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
504 (clear_range), (add_range), (update_visible_range),
505 (adjustment_changed_cb), (ev_sidebar_thumbnails_init),
506 (ev_sidebar_thumbnails_set_document):
507 * shell/ev-window.c: (ev_window_setup_document): Only render the
508 visible thumbnails. It takes an instant to render, but it uses
511 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
513 * shell/ev-sidebar-links.c: (popup_menu_cb):
517 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
520 * shell/ev-sidebar-links.c: (build_popup_menu), (popup_menu_cb),
521 (button_press_cb), (ev_sidebar_links_construct):
523 Show the popup menu also on keybindings
525 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
527 * shell/ev-window.c: (ev_window_print), (ev_window_print_range):
530 Expose api to print a range (with dialog). Make private _print use
533 * shell/ev-sidebar-links.c: (print_section_cb), (button_press_cb),
534 (ev_sidebar_links_construct):
536 Show a print context menu on linkx, it prints the selected
539 2005-05-15 Carlos Garcia Campos <carlosgc@gnome.org>
541 * shell/ev-sidebar.c: make the drop down menu as width as the toggle
544 2005-05-12 Marco Pesenti Gritti <mpg@redhat.com>
550 * shell/ev-window.c: (build_comments_string),
551 (ev_window_cmd_help_about):
553 Show poppler version/backend and authors
555 2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
557 * cut-n-paste/zoom-control/ephy-zoom.c:
558 (ephy_zoom_get_zoom_level_index):
559 * cut-n-paste/zoom-control/ephy-zoom.h:
561 Move the best fit items at the top of the list
563 2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
565 * shell/ev-marshal.list:
566 * shell/ev-page-action.c: (ev_page_action_widget_class_init),
567 (activate_cb), (match_selected_cb), (activate_link_cb),
568 (connect_proxy), (ev_page_action_class_init):
569 * shell/ev-page-action.h:
571 Use signals to notify action activation. Hopefully
572 I did not break completion since I cant test...
574 * shell/ev-window.c: (activate_link_cb), (activate_label_cb),
575 (register_custom_actions):
577 Connect to page selector actions and also grab focus on
578 the view when activated.
580 Wed May 11 01:18:29 2005 Jonathan Blandford <jrb@redhat.com>
583 * backend/ev-page-cache.c: make page size calculation consistent
584 and set it to (int)( width * scale + 0.5). This makes the weird
585 line going through the middle of the page go away.
587 * shell/ev-view.c: move painting the background page after
588 checking the expose area covers us.
590 2005-05-11 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
592 * data/evince-password.glade:
594 Mark labels as not translatable. Fix for bug 302842.
596 2005-05-10 Francisco Javier F. Serrador <serrador@cvs.gnome.org>
598 * configure.ac: Added "es" to ALL_LINGUAS.
600 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
602 * data/evince-toolbar.xml:
603 * shell/ev-window.c: (update_action_sensitivity),
604 (ev_window_setup_document), (ev_window_set_page_mode),
607 Remove some leftover code from jrb first continous
608 attempt. Use the new actions, we still need good icons
611 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
613 * shell/ev-page-action.c: (update_pages_label), (connect_proxy):
615 Update label when connecting proxy. Fix a warning with NULL
618 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
620 * data/evince-ui.xml:
621 * shell/ev-page-action.c: (ev_page_action_grab_focus):
622 * shell/ev-page-action.h:
623 * shell/ev-window.c: (ev_window_cmd_focus_page_selector):
625 Add mnemonic for edit toolbar.
626 ctrl+l focus the page entry.
628 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
631 * shell/ev-window.c: (ev_window_cmd_edit_toolbar_cb),
633 * shell/main.c: (main):
635 Put the toolbar xml in evince own dot dir
637 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
639 * shell/ev-window.c: (ev_window_init):
641 Make the toolbar not removable
643 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
645 * data/evince-ui.xml:
646 * shell/ev-sidebar-links.c: (ev_sidebar_links_get_treeview):
647 * shell/ev-sidebar-links.h:
648 * shell/ev-sidebar-thumbnails.c:
649 (ev_sidebar_thumbnails_get_treeview):
650 * shell/ev-sidebar-thumbnails.h:
651 * shell/ev-view.c: (ev_view_scroll), (ev_view_scroll_view),
652 (ev_view_class_init):
654 * shell/ev-window.c: (update_action_sensitivity),
655 (ev_window_cmd_scroll_forward), (ev_window_cmd_scroll_backward),
656 (set_view_actions_sensitivity), (view_actions_focus_in_cb),
657 (view_actions_focus_out_cb), (enable_view_actions_for_widget),
660 This is evil... Make space/backspace global accelerators but
661 enable them only for some widgets (sidebars and view).
662 I dont like it, but I dont know a better way... :/
664 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
666 * shell/ev-page-action.c: (ev_page_action_widget_set_page_cache),
667 (ev_page_action_widget_finalize),
668 (ev_page_action_widget_class_init), (update_page_cache):
670 Keep a weak reference on proxy->page_cache so that we
671 dont try to disconnect the signal if the object is already
672 gone. Maybe there is a better way to cleanup reference handling
673 in page action though...
675 2005-05-10 Juerg Billeter <j@bitron.ch>
677 * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
678 * backend/ev-ps-exporter.h:
679 * pdf/ev-poppler.cc: (pdf_document_ps_exporter_begin):
680 * ps/ps-document.c: (ps_document_ps_export_begin):
682 Change api to pass print range to ps_exporter_begin. The pdf backend
683 requires this information.
685 * shell/ev-print-job.c: (idle_print_handler):
689 2005-05-10 Juerg Billeter <j@bitron.ch>
691 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
693 * shell/ev-window.c: (ev_window_print):
695 Support printing page range, based on patch by Amaury Jacquot
697 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
699 * data/evince-toolbar.xml:
701 Add zoom control to available items
703 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
705 * shell/ev-window.c: (update_action_sensitivity):
707 Set slash action insensitive when appropriate
709 2005-05-10 Christian Persch <chpe@gnome.org>
711 * cut-n-paste/zoom-control/ephy-zoom-action.c: (create_menu_item):
713 Fix warning on the overflow menu
715 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
717 * shell/ev-window.c: (sanity_check_uri), (ev_window_open):
719 Check for uri correctness/existence
721 2005-05-09 Juerg Billeter <j@bitron.ch>
723 * shell/ev-window.c: (using_postscript_printer):
725 LPD printers use postscript, too
727 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
729 * shell/ev-window.c: (register_custom_actions):
731 The zoom one is actually sort of useful,
734 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
736 * shell/ev-window.c: (register_custom_actions):
738 Hide page/zoom controls from overflow, they
741 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
743 * cut-n-paste/update-from-egg.sh:
745 Share it between all cut-n-paste subdirs
747 * cut-n-paste/recent-files/Makefile.am:
749 Fix to use "global" update-from-egg.sh
751 * cut-n-paste/recent-files/egg-recent-model.c:
752 (egg_recent_model_changed_timeout), (egg_recent_model_finalize):
753 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
754 (egg_recent_view_gtk_clear), (egg_recent_view_gtk_set_list),
755 (egg_recent_view_gtk_finalize), (egg_recent_view_gtk_set_menu):
759 * cut-n-paste/toolbar-editor/Makefile.am:
761 Fix to use "global" update-from-egg.sh
763 * cut-n-paste/toolbar-editor/eggmarshalers.list:
767 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
770 * cut-n-paste/Makefile.am:
771 * cut-n-paste/recent-files/Makefile.am:
772 * cut-n-paste/toolbar-editor/.cvsignore:
773 * cut-n-paste/toolbar-editor/Makefile.am:
774 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
775 (egg_editable_toolbar_get_type), (get_toolbar_position),
776 (get_n_toolbars), (get_dock_nth), (get_toolbar_nth), (find_action),
777 (drag_data_delete_cb), (drag_begin_cb), (drag_end_cb),
778 (drag_data_get_cb), (set_drag_cursor), (unset_drag_cursor),
779 (set_item_drag_source), (create_item_from_action), (create_item),
780 (data_is_separator), (drag_data_received_cb), (remove_toolbar_cb),
781 (popup_toolbar_context_menu_cb), (free_dragged_item),
782 (toolbar_drag_drop_cb), (toolbar_drag_motion_cb),
783 (toolbar_drag_leave_cb), (create_dock), (set_fixed_style),
784 (unset_fixed_style), (toolbar_changed_cb), (unparent_fixed),
785 (update_fixed), (toolbar_added_cb), (toolbar_removed_cb),
786 (item_added_cb), (item_removed_cb),
787 (egg_editable_toolbar_construct),
788 (egg_editable_toolbar_disconnect_model),
789 (egg_editable_toolbar_deconstruct),
790 (egg_editable_toolbar_set_model),
791 (egg_editable_toolbar_set_ui_manager),
792 (egg_editable_toolbar_set_property),
793 (egg_editable_toolbar_get_property),
794 (egg_editable_toolbar_class_init), (egg_editable_toolbar_init),
795 (egg_editable_toolbar_finalize), (egg_editable_toolbar_new),
796 (egg_editable_toolbar_new_with_model),
797 (egg_editable_toolbar_get_edit_mode),
798 (egg_editable_toolbar_set_edit_mode), (egg_editable_toolbar_show),
799 (egg_editable_toolbar_hide), (egg_editable_toolbar_set_fixed),
800 (egg_editable_toolbar_set_drag_dest), (fake_expose_widget),
801 (new_pixbuf_from_widget), (new_separator_pixbuf),
802 (update_separator_image), (style_set_cb),
803 (_egg_editable_toolbar_new_separator_image),
804 (egg_editable_toolbar_get_model):
805 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
806 * cut-n-paste/toolbar-editor/egg-marshal.c:
807 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
808 (egg_toolbar_editor_get_type), (compare_actions), (find_action),
809 (egg_toolbar_editor_set_ui_manager), (toolbar_removed_cb),
810 (egg_toolbar_editor_set_model), (egg_toolbar_editor_set_property),
811 (egg_toolbar_editor_get_property), (egg_toolbar_editor_class_init),
812 (egg_toolbar_editor_finalize), (egg_toolbar_editor_new),
813 (drag_begin_cb), (drag_end_cb), (editor_drag_data_received_cb),
814 (editor_drag_data_delete_cb), (drag_data_get_cb),
815 (elide_underscores), (set_drag_cursor), (event_box_realize_cb),
816 (editor_create_item), (update_editor_sheet), (setup_editor),
817 (egg_toolbar_editor_init), (egg_toolbar_editor_add_action),
818 (parse_item_list), (model_has_action), (update_actions_list),
819 (egg_toolbar_editor_load_actions):
820 * cut-n-paste/toolbar-editor/egg-toolbar-editor.h:
821 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
822 (egg_toolbars_model_get_type), (egg_toolbars_model_to_xml),
823 (safe_save_xml), (egg_toolbars_model_save), (toolbars_toolbar_new),
824 (toolbars_item_new), (free_toolbar_node), (free_item_node),
825 (egg_toolbars_model_get_flags), (egg_toolbars_model_set_flags),
826 (egg_toolbars_model_add_separator), (impl_add_item),
827 (parse_item_list), (egg_toolbars_model_add_toolbar),
828 (parse_toolbars), (egg_toolbars_model_load), (impl_get_item_id),
829 (impl_get_item_data), (impl_get_item_type),
830 (_egg_accumulator_STRING), (egg_toolbars_model_class_init),
831 (egg_toolbars_model_init), (free_toolbar),
832 (egg_toolbars_model_finalize), (egg_toolbars_model_new),
833 (egg_toolbars_model_remove_toolbar),
834 (egg_toolbars_model_remove_item), (egg_toolbars_model_move_item),
835 (egg_toolbars_model_n_items), (egg_toolbars_model_item_nth),
836 (egg_toolbars_model_n_toolbars), (egg_toolbars_model_toolbar_nth),
837 (egg_toolbars_model_add_item), (egg_toolbars_model_get_item_id),
838 (egg_toolbars_model_get_item_data),
839 (egg_toolbars_model_get_item_type):
840 * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
841 * cut-n-paste/toolbar-editor/eggmarshalers.list:
843 * data/evince-toolbar.xml:
844 * data/evince-ui.xml:
845 * data/hand-open.png:
848 * shell/ev-window.c: (update_chrome_visibility),
849 (ev_window_cmd_edit_toolbar_cb), (ev_window_cmd_edit_toolbar),
850 (ev_window_dispose), (ev_window_init):
852 Implement epiphany like toolbar editor. Based on patch by
853 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
855 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
857 * shell/ev-sidebar-thumbnails.c: (page_changed_cb):
859 Use set_cursor instead of set_selection, so that
860 the keyboard focus moves too.
862 2005-05-09 Aleksey Kliger <akliger@gmail.com>
864 * dvi/mdvi-lib/tfmfile.c: (lookup_font_metrics):
866 Fix infinite loop when loading Type1 fonts
868 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
870 * data/evince-ui.xml:
875 2005-05-09 Thomas de Grenier de Latour <degrenier@easyconnect.fr>
879 Make --disable really disable
881 2005-05-07 Juerg Billeter <j@bitron.ch>
883 * backend/ev-page-cache.c: (ev_page_cache_set_page_label):
885 Compare page labels even without has_labels set, fixes setting page
888 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
890 * shell/ev-view.c: (ev_view_create_invisible_cursor),
891 (ev_view_set_cursor), (ev_view_button_press_event),
892 (ev_view_motion_notify_event), (ev_view_button_release_event),
895 Implement middle button scrolling. Based on a patch
896 by Tommi Komulainen <tommi.komulainen@iki.fi>.
898 2005-05-08 Marco Pesenti Gritti <mpg@redhat.com>
900 * shell/ev-document-types.c: (get_slow_mime_type),
901 (get_document_type_from_mime), (ev_document_type_lookup):
902 * shell/ev-document-types.h:
904 Change api to lookup from uri. Do fast lookup first, if the
905 type is unknown try with data sniffing.
907 * shell/ev-window.c: (ev_window_open), (ev_window_open_uri_list):
908 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
912 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
914 * thumbnailer/Makefile.am:
918 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
925 * data/evince-ui.xml:
927 Hide presentation mode for now
929 * shell/ev-view.c: (highlight_find_results):
931 Show current find selection only on current page
933 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
935 * shell/ev-view.c: (ev_view_select_all):
937 Compute size of the actual page, not of
940 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
942 * shell/ev-view.c: (clear_selection), (ev_view_finalize),
943 (view_rect_to_doc_rect), (compute_selections),
944 (ev_view_bin_expose), (ev_view_select_all), (get_selected_text),
945 (ev_view_copy), (ev_view_primary_get_cb),
946 (ev_view_primary_clear_cb), (ev_view_update_primary_selection),
947 (ev_view_button_press_event), (ev_view_motion_notify_event),
948 (ev_view_button_release_event), (page_changed_cb):
952 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
954 * shell/ev-view.c: (compute_border), (get_page_extents),
955 (doc_rect_to_view_rect), (highlight_find_results),
956 (ev_view_bin_expose), (ev_view_select_all),
957 (ev_view_motion_notify_event), (update_find_status_message),
958 (jump_to_find_result), (jump_to_find_page):
960 First go at fixing search, still buggy
962 2005-05-04 Kristian Høgsberg <krh@redhat.com>
964 * shell/ev-sidebar.c (ev_sidebar_init): Remove frame around
965 dropdown box and button at the top of the sidebar.
967 2005-05-02 James Bowes <bowes@cs.dal.ca>
969 * configure.ac: Output zoom-control Makefile.
970 * cut-n-paste/Makefile.am: build zoom-control subdir.
971 * cut-n-paste/zoom-control/ephy-zoom-action.c:
972 * cut-n-paste/zoom-control/ephy-zoom-action.h:
973 * cut-n-paste/zoom-control/ephy-zoom-control.c:
974 * cut-n-paste/zoom-control/ephy-zoom-control.h:
975 * cut-n-paste/zoom-control/ephy-zoom.c:
976 * cut-n-paste/zoom-control/ephy-zoom.h: New files imported
977 from epiphany, and modified to add a separator into the menu.
978 * cut-n-paste/zoom-control/Makefile.am: Build zoom-control.
979 * data/evince-ui.xml: Replace old zoom toolbar actions with new
981 * shell/Makefile.am: Include zoom-control flags.
982 * shell/ev-view.c: (ev_view_set_zoom), (ev_view_get_zoom),
983 (ev_view_get_sizing_mode), (ev_view_zoom_in), (ev_view_zoom_out),
984 (ev_view_zoom_for_size_presentation),
985 (ev_view_zoom_for_size_continuous_and_dual_page),
986 (ev_view_zoom_for_size_continuous),
987 (ev_view_zoom_for_size_dual_page),
988 (ev_view_zoom_for_size_single_page), (ev_view_zoom_normal):
989 s/ev_view_zoom/ev_view_set_zoom/ and make public, add
990 ev_view_get_zoom and ev_view_get_sizing_mode.
992 * shell/ev-window.c: (update_action_sensitivity),
993 (update_sizing_buttons), (zoom_control_changed_cb),
994 (register_custom_actions): Initialize and use the zoom-control
997 Sun May 1 00:46:47 2005 Jonathan Blandford <jrb@redhat.com>
999 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init): Change the
1000 preview cache back to 1. Don't know when it got set to 0.
1002 * shell/ev-view.c: (compute_border), (ev_view_realize),
1003 (draw_one_page), (ev_view_set_property), (ev_view_get_property),
1004 (ev_view_class_init), (ev_view_init), (ev_view_set_fullscreen),
1005 (ev_view_get_fullscreen), (ev_view_set_presentation),
1006 (ev_view_get_presentation), (ev_view_set_sizing_mode),
1007 (ev_view_zoom_for_size_presentation), (ev_view_set_zoom_for_size):
1009 * shell/ev-window.c:
1010 (update_chrome_visibility),
1011 (ev_window_cmd_continuous), (ev_window_cmd_dual),
1012 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
1013 (update_document_mode), (ev_window_update_fullscreen_action),
1014 (ev_window_fullscreen), (ev_window_unfullscreen),
1015 (ev_window_cmd_view_fullscreen),
1016 (ev_window_update_presentation_action),
1017 (ev_window_run_presentation), (ev_window_stop_presentation),
1018 (ev_window_cmd_view_presentation), (ev_window_state_event),
1019 (ev_window_focus_in_event), (ev_window_focus_out_event),
1020 (ev_window_cmd_escape), (ev_window_sidebar_visibility_changed_cb):
1021 * data/evince-ui.xml: Initial presentation mode. We should
1022 probably hide this until it's done, as it's quite rough. Also,
1023 change full-screen to fullscreen and add two getters to EvView.
1025 2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
1027 * shell/ev-page-action.c: (update_page_cache),
1028 (ev_page_action_dispose):
1029 * shell/ev-window.c: (destroy_fullscreen_popup),
1030 (ev_window_create_fullscreen_popup):
1032 Use connect_object rather than explicitly
1033 disconnect on dispose.
1035 2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
1037 * shell/ev-page-action.c: (update_page_cache),
1038 (ev_page_action_dispose):
1040 2005-04-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1042 * backend/ev-page-cache.c: (_ev_page_cache_new),
1043 (ev_page_cache_set_page_label),
1044 (ev_page_cache_has_nonnumeric_page_labels):
1045 * backend/ev-page-cache.h:
1046 * shell/ev-page-action.c: (update_pages_label):
1048 If all page labels are numeric, fallback to default
1049 way to display number of pages. See bug 173185.
1051 2005-04-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1053 * shell/ev-page-action.c: (ev_page_action_dispose):
1054 * shell/ev-view.c: (view_update_range_and_current_page):
1055 * shell/ev-window.c: (ev_window_dispose):
1057 Set page on scroll in continuous mode. Fixes bug 301986.
1058 Also cleanup callbacks on destroy of EvWindow and EvPageAction.
1060 2005-04-26 Marco Pesenti Gritti <mpg@redhat.com>
1064 Require poppler 0.3.0
1066 2005-04-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1068 * shell/Makefile.am, configure.ac: Fix build problems
1069 with t1lib. Bug 301996.
1071 2005-04-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1073 * shell/ev-view.c: (ev_view_scroll_event):
1075 Scroll up increase zoom
1077 2005-04-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1079 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_class_init),
1080 (ev_view_set_sizing_mode),
1081 (ev_view_zoom_for_size_continuous_and_dual_page),
1082 (ev_view_zoom_for_size_continuous):
1083 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
1084 (ev_window_cmd_view_page_width), (ev_window_cmd_view_zoom_in),
1085 (ev_window_cmd_view_zoom_out), (ev_window_sizing_mode_changed_cb),
1088 Control + Scroll does zooming, Shift + Scroll scrolls horizontally
1089 Fix for 165473 and 165472.
1091 2005-04-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1094 * thumbnailer/Makefile.am:
1095 * thumbnailer/evince-thumbnailer-djvu.schemas.in:
1096 * thumbnailer/evince-thumbnailer-dvi.schemas.in:
1097 * thumbnailer/evince-thumbnailer.schemas.in:
1099 Make thumbnailer schemas translatable. Fix for bug 301773
1101 * thumbnailer/evince-thumbnailer-djvu.schemas:
1102 * thumbnailer/evince-thumbnailer-dvi.schemas:
1103 * thumbnailer/evince-thumbnailer.schemas:
1107 Sun Apr 24 01:37:39 2005 Jonathan Blandford <jrb@redhat.com>
1109 * shell/ev-view.c (ev_view_init): forgot to set this.
1111 Sun Apr 24 01:07:27 2005 Jonathan Blandford <jrb@redhat.com>
1113 * shell/ev-view.c: (find_page_at_location),
1114 (get_link_at_location),
1115 (ev_view_set_show_border), (ev_view_set_spacing),
1116 (ev_view_zoom_for_size_continuous_and_dual_page),
1117 (ev_view_zoom_for_size_continuous): Fix links for dual/continuous.
1118 Also, add a quick fix measuring of widths. Also, removed
1119 ev_view_set_spacing and ev_view_set_show_border.
1121 * shell/ev-window.c: (ev_window_unfullscreen),
1122 (ev_window_cmd_view_fullscreen): Don't adjust the border/spacing.
1124 2005-04-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1126 * shell/ev-view.c: (view_update_range_and_current_page),
1129 Fix crash on exit and scrolling to page in continuous view.
1131 Sat Apr 23 13:13:04 2005 Jonathan Blandford <jrb@redhat.com>
1134 * backend/ev-page-cache.c: (_ev_page_cache_new),
1135 (ev_page_cache_get_max_width_size),
1136 (ev_page_cache_get_max_height_size):
1137 * backend/ev-page-cache.h:
1138 * data/evince-ui.xml:
1139 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init):
1140 * shell/ev-view.c: (view_update_adjustments),
1141 (view_update_range_and_current_page), (get_bounding_box_size),
1142 (ev_view_size_request_continuous_and_dual_page),
1143 (ev_view_size_request_continuous),
1144 (ev_view_size_request_dual_page),
1145 (ev_view_size_request_single_page), (ev_view_size_request),
1146 (ev_view_size_allocate), (get_page_extents), (draw_one_page),
1147 (ev_view_bin_expose), (ev_view_expose_event),
1148 (ev_view_set_property), (ev_view_get_property),
1149 (ev_view_class_init), (ev_view_init), (ev_view_new),
1150 (page_changed_cb), (ev_view_zoom), (ev_view_set_continuous),
1151 (ev_view_set_dual_page), (ev_view_set_full_screen),
1152 (ev_view_set_presentation), (ev_view_set_sizing_mode),
1153 (ev_view_can_zoom_in), (ev_view_can_zoom_out), (ev_view_zoom_in),
1154 (ev_view_zoom_out), (zoom_for_size_fit_width),
1155 (zoom_for_size_best_fit),
1156 (ev_view_zoom_for_size_continuous_and_dual_page),
1157 (ev_view_zoom_for_size_continuous),
1158 (ev_view_zoom_for_size_dual_page),
1159 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
1160 (ev_view_show_cursor), (ev_sizing_mode_get_type):
1162 * shell/ev-window.c: (update_action_sensitivity),
1163 (ev_window_cmd_continuous), (ev_window_cmd_dual),
1164 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
1165 (update_sizing_buttons), (ev_window_cmd_view_zoom_in),
1166 (ev_window_cmd_view_zoom_out), (update_view_size),
1167 (ev_window_set_sizing_mode), (ev_window_init):
1169 Add Continuous and Dual page modes.
1171 2005-04-23 James Bowes <bowes@cs.dal.ca>
1173 * dvi/dvi-document.c: (dvi_document_load),
1174 (dvi_document_thumbnails_get_thumbnail),
1175 (dvi_document_init_params): Fix up some mixups between
1176 width and height to correct thumbnail rendering.
1178 2005-04-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1180 * dvi/mdvi-lib/private.h:
1181 * dvi/mdvi-lib/setup.c: (mdvi_init_kpathsea):
1183 Suppess output for kpathsea during font generation. Thanks to
1186 Fri Apr 22 19:57:46 2005 Jonathan Blandford <jrb@redhat.com>
1193 * Makefile.am: fix distcheck.
1195 2005-04-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1197 * shell/ev-sidebar-links.c: (selection_changed_callback),
1198 (update_page_callback), (row_activated_callback),
1199 (job_finished_callback), (ev_sidebar_links_set_document):
1201 Fix for bug #169901. Double click on links expands tree.
1203 2005-03-14 Bryan Clark <clarkbw@cvs.gnome.org>
1205 * shell/ev-window.c (ev_window_init): Removed fullscreen toolbar
1206 hard-coded style. Fix for bug 170111
1208 2005-04-22 Kristian Høgsberg <krh@redhat.com>
1210 * shell/ev-view.c (highlight_find_results): Remove unnecessary
1213 2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
1215 * thumbnailer/evince-thumbnailer.schemas: real fix for bug 172496
1217 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
1219 * pdf/ev-poppler.cc:
1220 * shell/ev-view.c: (highlight_find_results):
1222 Fix find on single page documents
1224 2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
1226 * data/evince.schemas.in: fix for bug 301390
1228 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
1230 * shell/ev-view.c: (ev_view_can_zoom_in), (ev_view_can_zoom_out),
1231 (ev_view_zoom_out), (ev_view_zoom_normal):
1233 * shell/ev-window.c: (update_action_sensitivity),
1234 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
1235 (ev_window_cmd_view_zoom_in), (ev_window_cmd_view_zoom_out),
1236 (ev_window_cmd_view_normal_size):
1238 Fix normal size zoom. Make zoom in/zoom out unsensitive when
1239 they are behyond the limits. Tweak MAX_ZOOM to 6, sucks but
1242 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
1246 Depend on 2.57, 2.59 doesnt seem to be necessary
1248 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
1250 * shell/ev-page-action.c: (update_pages_label), (page_changed_cb),
1253 Put back total number of pages as (1 of 1234)
1255 Thu Apr 21 23:37:52 2005 Jonathan Blandford <jrb@redhat.com>
1257 * shell/ev-pixbuf-cache.c (dispose_cache_job_info): actually
1260 * backend/ev-document.h: Remove EV_DOC_MUTEX in favor of a locking
1261 function. This helps debugging.
1263 2005-04-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1265 * djvu/djvu-document.c: (djvu_document_class_init),
1266 (djvu_document_get_info), (djvu_document_document_iface_init):
1267 * dvi/dvi-document.c: (dvi_document_class_init),
1268 (dvi_document_get_info), (dvi_document_document_iface_init):
1270 Dummy implementation of get_info method for dvi and djvu. Fix
1271 crashes with those backends
1273 2005-04-20 Marco Pesenti Gritti <mpg@redhat.com>
1275 * data/evince.desktop.in:
1277 Add application/x-gzpostscript
1279 2005-04-20 Bryan Clark <clarkbw@cvs.gnome.org>
1281 * data/evince.schemas.in: Added real long descriptions,
1284 * README: Added actual text, closes bug 171869
1286 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
1288 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
1292 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
1294 * backend/ev-document-info.h:
1296 s/GDate */GDate so we can just use g_free
1298 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
1300 * shell/ev-window.c: (update_document_mode),
1301 (ev_window_setup_document):
1303 Show the window in fullscreen when specified by
1306 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
1308 * backend/ev-document.c: (ev_document_class_init),
1309 (ev_document_get_info), (ev_document_render_pixbuf):
1310 * backend/ev-document.h:
1311 * backend/ev-page-cache.c: (_ev_page_cache_new):
1312 * pdf/ev-poppler.cc:
1313 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
1314 (pixbuf_document_get_info), (pixbuf_document_document_iface_init):
1315 * ps/ps-document.c: (ps_document_class_init), (document_load),
1316 (ps_document_get_info), (ps_document_document_iface_init):
1318 Remove get_title from the interface, we can just use document info
1320 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
1322 * backend/Makefile.am:
1323 * backend/ev-document.c: (ev_document_render_get_info):
1324 * backend/ev-document.h:
1325 * pdf/ev-poppler.cc:
1327 Initial support for document info. Based on jrb patch.
1329 2005-04-19 Paolo Borelli <pborelli@katamail.com>
1331 * shell/ev-window.c: (ev_window_state_event),
1332 (ev_window_class_init), (ev_window_init):
1334 Doesn't show resize grip when maximized. See bug #301053
1336 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1340 ev-sidebar-thumbnails now has translatable labels
1342 * shell/Makefile.am:
1343 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document),
1344 (ev_sidebar_links_support_document), (ev_sidebar_links_get_label),
1345 (ev_sidebar_links_page_iface_init):
1346 * shell/ev-sidebar-links.h:
1347 * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
1348 (ev_sidebar_page_support_document), (ev_sidebar_page_set_document),
1349 (ev_sidebar_page_get_label):
1350 * shell/ev-sidebar-page.h:
1351 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_new),
1352 (ev_sidebar_thumbnails_set_document),
1353 (ev_sidebar_thumbnails_support_document),
1354 (ev_sidebar_thumbnails_get_label),
1355 (ev_sidebar_thumbnails_page_iface_init):
1356 * shell/ev-sidebar-thumbnails.h:
1357 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
1358 (ev_sidebar_set_document):
1359 * shell/ev-sidebar.h:
1360 * shell/ev-window.c: (ev_window_setup_document), (ev_window_init):
1362 Small rework of sidebar code. Now sidebar pages should implement
1363 EvSidebarPage interface. That makes page management in EvSidebar
1364 easier. See bug #164811 for details
1366 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1368 * shell/ev-application.c: (ev_application_open):
1369 * shell/ev-document-types.c:
1371 Fix build error and small problem with application exit
1373 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1375 * thumbnailer/Makefile.am:
1376 * thumbnailer/evince-thumbnailer-djvu.schemas:
1377 * thumbnailer/evince-thumbnailer-dvi.schemas:
1379 Conditionally install schemas for djvu/dvi thumbnailer
1381 2005-04-18 David Malcolm <dmalcolm@redhat.com>
1383 * shell/ev-document-types.h:
1384 * shell/ev-document-types.c:
1385 New files, handling the mapping from mimetypes to backends
1387 * shell/ev-window.c:
1388 * thumbnailer/evince-thumbnailer.c:
1389 Use the ev-document-types code
1391 * shell/Makefile.am:
1392 Added new convenience library libevbackendfactory_la, containing
1393 the new mimetype->backend logic; moved the backends into it.
1395 * thumbnailer/Makefile.am:
1396 Make the thumbnailer link with the libevbackend.la convenience
1397 library, rather than having a duplicate of the backend logic here.
1399 2005-04-18 Paolo Borelli <pborelli@katamail.com>
1401 * shell/ev-stock-icons.c: constify some vars.
1402 * shell/ev-window.c: ditto.
1404 2005-04-18 Marco Pesenti Gritti <mpg@redhat.com>
1406 * ps/ps-document.c (get_page_orientation):
1408 Respect document orientation
1410 2005-04-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1414 * shell/Makefile.am:
1416 Move library dependencies to components.
1418 * shell/ev-window.c: (update_window_title),
1419 (start_loading_document):
1421 Fix display of uris with spaces. Bug 168358.
1423 Sat Apr 16 18:53:47 2005 Jonathan Blandford <jrb@redhat.com>
1425 * shell/ev-sidebar-links.c: (selection_changed_cb):
1426 * shell/ev-view.c: (ev_view_finalize), (go_to_link),
1427 (ev_view_button_release_event), (ev_view_set_document):
1429 * shell/ev-window.c: (find_bar_search_changed_cb):
1430 * shell/ev-window.h: Minor cleanups removing some dead code.
1432 2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1434 * backend/ev-page-cache.c: (_ev_page_cache_new):
1436 Set current page to 0 if document has pages.
1438 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
1440 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
1442 Initialize GError to NULL, fix a crash when loading fails.
1444 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
1446 * shell/ev-window.c: (update_view_size):
1448 Calculate shadow size only when there is actually
1451 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
1453 * shell/ev-view.c: (ev_view_set_spacing), (ev_view_init):
1456 Allow setting view spacing, default to 0
1458 * shell/ev-window.c: (ev_window_unfullscreen),
1459 (ev_window_cmd_view_fullscreen), (ev_window_init):
1461 Remove spacing in fullscreen mode
1463 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
1465 * shell/ev-view.c: (compute_border), (compute_zoom_factor),
1466 (ev_view_size_request), (expose_bin_window),
1467 (ev_view_set_show_border), (ev_view_init), (page_changed_cb):
1469 * shell/ev-window.c: (ev_window_unfullscreen),
1470 (ev_window_cmd_view_fullscreen):
1472 Do not draw the border in fulscreen
1474 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
1476 * shell/ev-view.c: (ev_view_get_offsets), (compute_zoom_factor),
1477 (ev_view_size_request), (expose_bin_window), (ev_view_select_all),
1478 (find_page_at_location), (page_changed_cb):
1480 Rework border calculation, so that I can more easily disable it.
1481 Code somewhat cleaner too.
1483 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
1485 * backend/ev-page-cache.c: (ev_page_cache_init),
1486 (_ev_page_cache_new):
1488 Remove some assertions, documents can have 0 pages.
1489 Make initial current page -1.
1491 * shell/ev-page-action.c: (page_changed_cb):
1493 Show "" if current page is -1
1495 * shell/ev-window.c: (update_action_sensitivity),
1496 (ev_window_setup_document):
1498 When document has 0 pages do not set the view
1499 and make nearly everything insensitive.
1501 2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1503 * shell/ev-page-view.c:
1504 * shell/ev-page-view.h:
1506 Remove unused files.
1508 * shell/ev-sidebar-thumbnails.c:
1509 (ev_sidebar_thumbnails_set_document):
1510 * shell/ev-sidebar.c: (ev_sidebar_set_document),
1511 (ev_sidebar_supports_document):
1512 * shell/ev-sidebar.h:
1513 * shell/ev-window.c: (ev_window_setup_document):
1515 Doesn't show thumbnails if document has 1 page. Make
1516 sidebar menu entries sensitive only if if they have
1517 sense. Fix bug 164811.
1519 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
1521 * shell/ev-view.c: (compute_zoom_factor), (ev_view_size_request),
1522 (page_changed_cb), (ev_view_zoom), (ev_view_zoom_in),
1523 (ev_view_zoom_out), (ev_view_set_size):
1525 Rework sizing to deal with documents with not uniform page
1528 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
1530 * backend/ev-page-cache.c: (_ev_page_cache_new):
1532 Fix several page size caching bugs
1534 2005-04-15 Luca Ferretti <elle.uca@libero.it>
1536 * shell/ev-window.c: (set_action_properties):
1538 Make all toolbar items translatable
1540 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
1542 * ps/ps-document.c: (ps_document_init), (ps_document_get_type),
1543 (save_page_list), (ps_document_save),
1544 (ps_document_document_iface_init), (ps_document_ps_export_begin),
1545 (ps_document_ps_export_do_page), (ps_document_ps_export_end),
1546 (ps_document_ps_exporter_iface_init):
1549 Based on a patch by J�rg Billeter <j@bitron.ch>
1551 Implement print and save a copy for the ps backend.
1553 2005-04-14 Marco Pesenti Gritti <mpg@redhat.com>
1555 * backend/ev-document.h:
1556 * djvu/djvu-document.c: (djvu_document_can_get_text),
1557 (djvu_document_document_iface_init):
1558 * dvi/dvi-document.c: (dvi_document_can_get_text),
1559 (dvi_document_document_iface_init):
1560 * pdf/ev-poppler.cc:
1561 * pixbuf/pixbuf-document.c: (pixbuf_document_can_get_text),
1562 (pixbuf_document_document_iface_init):
1563 * ps/ps-document.c: (ps_document_can_get_text),
1564 (ps_document_document_iface_init):
1565 * shell/ev-view.c: (ev_view_copy), (ev_view_primary_get_cb):
1566 * shell/ev-window.c: (update_action_sensitivity):
1568 Fix the crash when trying to copy in backends that doesnt
1569 support it. We can implement a better solution once we
1570 do real text selection.
1572 2005-04-12 Marco Pesenti Gritti <mpg@redhat.com>
1574 * data/evince-ui.xml:
1575 * shell/ev-window.c: (ev_window_cmd_escape):
1577 Work around the Escape conflict (find bar and unfullscreen)
1579 2005-04-12 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
1581 * backend/ev-page-cache.c: (ev_page_cache_next_page):
1583 Fix for #300233. Next page correctly handles document end.
1585 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
1586 (ev_sidebar_thumbnails_class_init),
1587 (ev_sidebar_thumbnails_set_document),
1588 (ev_sidebar_thumbnails_clear_job),
1589 (ev_sidebar_thumbnails_clear_model):
1591 Cleanup thumbnail jobs on document changes.
1593 * shell/ev-view.c: (add_scroll_binding_keypad),
1594 (add_scroll_binding_shifted), (ev_view_class_init):
1596 Shift + Space scrolls up. Fix for #173184
1598 * shell/ev-window.c: (ev_window_open_page),
1599 (ev_window_cmd_view_reload):
1601 Fix reload (Bug #300094)
1603 2005-04-09 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1606 * dvi/mdvi-lib/assoc.c:
1607 * dvi/mdvi-lib/assoc.h: Removed garbage files
1609 * dvi/mdvi-lib/bitmap.c:
1610 * dvi/mdvi-lib/color.c: (mdvi_set_color), (mdvi_push_color),
1611 (mdvi_pop_color), (mdvi_reset_color), (get_color_table):
1612 * dvi/mdvi-lib/color.h: Antialias of rules
1614 * dvi/mdvi-lib/common.h:
1615 * dvi/mdvi-lib/dviread.c: (mdvi_configure), (mdvi_init_context),
1616 (mdvi_destroy_context), (draw_shrink_rule), (draw_box), (set_rule):
1617 * dvi/mdvi-lib/files.c:
1618 * dvi/mdvi-lib/fontmap.c: (ps_init_default_paths):
1619 * dvi/mdvi-lib/mdvi.h:
1620 * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
1621 * dvi/mdvi-lib/tfmfile.c: (ofm_load_file):
1622 * dvi/mdvi-lib/util.c: Fix compile warnings
1624 * dvi/dvi-document.c:
1625 (dvi_document_load), (dvi_document_thumbnails_get_dimensions),
1626 (dvi_document_thumbnails_get_thumbnail),
1627 (dvi_document_document_thumbnails_iface_init):
1628 * dvi/mdvi-lib/Makefile.am:
1629 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
1630 (dvi_pixbuf_set_color), (mdvi_pixbuf_device_render):
1632 Dvi backend now renders thumbnails
1634 2005-04-09 Christian Persch <chpe@cvs.gnome.org>
1636 * shell/main.c: (main):
1638 Save accelerators on exit. Fixes bug #172095.
1640 Sat Apr 9 01:05:09 2005 Jonathan Blandford <jrb@redhat.com>
1642 * shell/ev-pixbuf-cache.c (move_one_job): Actually fix the "FIXME:
1643 update priority" comment.
1645 * backend/ev-job-queue.c: Give a way to change priority.
1647 Sat Apr 9 00:05:36 2005 Jonathan Blandford <jrb@redhat.com>
1649 * shell/ev-page-action.c: Fix logic.
1651 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
1653 * shell/ev-view.c: (ev_view_can_find_next):
1654 * shell/ev-window.c: (ev_window_setup_document):
1656 Check that the document supports find
1658 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
1660 * data/evince-ui.xml:
1661 * shell/ev-view.c: (ev_view_can_find_next):
1663 * shell/ev-window.c: (update_action_sensitivity),
1664 (find_changed_cb), (ev_window_setup_document),
1665 (ev_window_cmd_edit_find_next):
1669 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
1671 * pdf/ev-poppler.cc:
1672 * shell/ev-print-job.c: (idle_print_handler):
1674 Make printing work again
1676 Fri Apr 8 01:12:24 2005 Jonathan Blandford <jrb@redhat.com>
1678 * shell/ev-page-action.h:
1679 * shell/ev-page-action.c: (ev_page_action_widget_init),
1680 (ev_page_action_widget_class_init), (page_changed_cb),
1681 (create_tool_item), (update_page_cache), (build_new_tree_cb),
1682 (get_filter_model_from_model), (match_selected_cb),
1683 (display_completion_text), (match_completion), (update_model),
1684 (connect_proxy), (ev_page_action_set_property),
1685 (ev_page_action_get_property), (ev_page_action_set_document),
1686 (ev_page_action_set_model), (ev_page_action_class_init): Big
1687 reworking to make completions work iff we have >= GTK-2.7.0
1689 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_property),
1690 (ev_sidebar_links_get_property), (ev_sidebar_links_class_init),
1691 (job_finished_cb): We now have a 'model' property that is set when
1692 the links are loaded. This can be caught with "notify::model"
1694 * shell/ev-window.c: (sidebar_widget_model_set), (ev_window_init):
1695 listen for the model to be set, and propagate it to the action.
1697 2005-04-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1699 * cut-n-paste/recent-files/egg-recent-item.c:
1700 (egg_recent_item_set_uri), (make_valid_utf8),
1701 (egg_recent_item_set_mime_type), (egg_recent_item_get_mime_type):
1702 * cut-n-paste/recent-files/egg-recent-item.h:
1704 Update egg-recent from libegg. This should fix long
1705 startup problem. For details see
1706 http://bugzilla.gnome.org/show_bug.cgi?id=160531
1708 2005-04-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1710 * cut-n-paste/recent-files/Makefile.am:
1711 * data/evince-ui.xml, shell/Makefile.am:
1712 * shell/ev-application.c, shell/ev-application.h:
1713 * shell/ev-window.c: Recent files support.
1715 * configure.ac: Added "ru" to ALL_LINGUAS.
1717 * dvju: new backend to support DJVU files.
1718 * dvi: new backend to support DVI.
1720 * configure.ac, Makefile.am, shell/Makefile.am, ev-window.c:
1721 * ev-application.c: Support for new backends.
1723 * help, ev-window.c, main.c shell/Makefile.am:
1724 Evince user documentation.
1726 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
1729 * shell/ev-window.c:
1730 * thumbnailer/evince-thumbnailer.c:
1732 s/pdf-document/ev-poppler
1734 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
1741 * ps/ps-document.c: (setup_pixmap):
1745 2005-04-05 Kristian Høgsberg <krh@redhat.com>
1747 * backend/ev-page-cache.c (ev_page_cache_next_page):
1748 * shell/ev-window.c (ev_window_cmd_go_next_page)
1749 (ev_window_cmd_go_first_page): Fix of by one errors.
1751 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
1753 * ps/ps-document.c: (get_page_box):
1755 Fix page size calculation
1757 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
1759 * ps/ps-document.c: (ps_document_init), (push_pixbuf),
1760 (ps_document_cleanup), (setup_pixmap), (get_page_box),
1761 (get_page_orientation), (setup_page), (document_load),
1762 (ps_document_get_page_size), (render_pixbuf_idle):
1765 More refactoring to adapt to EvDocument changes
1767 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
1769 * ps/ps-document.c: (start_interpreter):
1771 Actually add alpha args
1773 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
1775 * pdf/ev-poppler.cc:
1777 Make clipboard work again
1779 2005-04-04 Kristian Høgsberg <krh@redhat.com>
1781 Make searching work again.
1783 * backend/ev-document.c:
1784 * backend/ev-document.h:
1785 * backend/ev-document-find.c:
1786 * backend/ev-document-find.h: Change EvDocumentIface so we no
1787 longer store the current page or zoom level in the document. The
1788 consequence is that all calls that operate on the current page now
1789 instead take the page number as an extra argument, and all
1790 coordinates are now doubles in document coordinate system.
1792 * pdf/ev-poppler.cc:
1793 * pixbuf/pixbuf-document.c:
1794 * ps/ps-document.c: Update backends accordingly.
1796 2005-04-04 Marco Pesenti Gritti <marco@gnome.org>
1800 Add required gettext version
1802 Sat Apr 2 18:57:00 2005 Jonathan Blandford <jrb@redhat.com>
1804 * shell/evwindow.c: Patch from Alberto Mesas <amesas@gmail.com> to
1805 make F1 bring up non-existent help.
1807 * shell/eggfindbar.c: Patch from Christian Persch to sync to
1808 epiphany's find bar, #167477
1810 * shell/ev-view.c (ev_view_jump): Patch from Emil Soleyman-Zomalan
1811 <emil@nishra.com> to add space-bar scrolling,
1813 * shell/ev-window.c (static GtkActionEntry entries): add default
1814 keybinding for Help (F1)
1817 * shell/ev-view.c (ev_view_show_cursor): Fix from Yuval Tanny
1818 changing EV_VIEW_CURSOR_LINK to EV_VIEW_CURSOR_NORMAL resolves bug
1821 2005-04-01 David Malcolm <dmalcolm@redhat.com>
1824 * pixbuf/pixbuf-document.c:
1826 Got pixbuf backend working again
1828 2005-04-01 Steve Murphy <murf@e-tools.com>
1830 * configure.in: Added "rw" to ALL_LINGUAS.
1832 Fri Apr 1 02:33:41 2005 Jonathan Blandford <jrb@redhat.com>
1834 * shell/ev-sidebar-links.c (create_loading_model): Fix mismatch in
1835 model types, noticed by Martin Kretzschmar.
1837 2005-04-01 Kristian Høgsberg <krh@redhat.com>
1839 * pdf/ev-poppler.cc: Implement search based on
1840 poppler_page_find_text(). Currently a bit crude since we remember
1841 all matches from all pages. Also, we grab the big document lock
1842 when we search since searching changes the underlying stream and
1843 thus conflicts with the rendering thread.
1845 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
1846 (jump_to_find_page), (ev_view_set_document), (ev_view_find_next),
1847 (ev_view_find_previous): Fix some page indexes to be 0 based,
1848 offset rubber band by view offset,
1850 Fri Apr 01 09:21:12 2005 Pablo Saratxaga <pablo@mandrakesoft.com>
1852 * configure.ac: Added Walloon (wa) to ALL_LINGUAS.
1854 Fri Apr 1 01:59:39 2005 Jonathan Blandford <jrb@redhat.com>
1856 * shell/ev-page-action.c: Changed to use page labels now. Rewrote
1857 completely because I didn't understand GtkActions. I should
1858 read Marco's code more carefully in the future.
1860 * backend/ev-page-cache.h (ev_page_cache_set_page_label): New
1863 2005-03-31 Kristian Høgsberg <krh@redhat.com>
1865 * pdf/ev-poppler.cc (pdf_document_get_links): Update to work with
1866 PopplerRectangle change from poppler CVS.
1868 Thu Mar 31 13:27:50 2005 Jonathan Blandford <jrb@redhat.com>
1870 * backend/ev-document.c: (ev_document_get_page_label):
1871 * backend/ev-document.h:
1872 * backend/ev-page-cache.c: (_ev_page_cache_new),
1873 (ev_page_cache_get_page_label):
1874 * backend/ev-page-cache.h:
1875 * pdf/ev-poppler.cc:
1876 * shell/ev-sidebar-links.c: (ev_sidebar_links_construct),
1877 (links_page_num_func):
1878 * shell/ev-sidebar-thumbnails.c:
1879 (ev_sidebar_thumbnails_set_document):
1880 * shell/ev-view.c: (status_message_from_link),
1881 (ev_view_motion_notify_event):
1882 * shell/ev-window.c: (document_supports_sidebar): Add in page
1883 label support. It's not perfect yet, but it's the first 'feature'
1885 Also, fix a bogus comment noticed by crispin.
1887 Thu Mar 31 01:21:58 2005 Jonathan Blandford <jrb@redhat.com>
1889 * Makefile.am: Remove pixbuf backend for now
1891 * configure.ac: Require poppler-glib instead of just poppler.
1893 * backend/ev-document-thumbnails.h: Add a comment
1895 * backend/ev-document.h:
1896 * backend/ev-document.c: (ev_document_class_init),
1897 (ev_document_load), (ev_document_get_link),
1898 (ev_document_get_links): Remove 3 methods and add get_links.
1901 * backend/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
1902 * backend/ev-jobs.h: now EvJobRender can grab the links for a document.
1904 * backend/ev-link.c: (ev_link_set_title),
1905 (ev_link_mapping_free_foreach), (ev_link_mapping_free),
1906 (ev_link_mapping_find):
1907 * backend/ev-link.h: Allow NULL titles. Also, introduce a mapping link.
1909 * backend/ev-page-cache.c: (ev_page_cache_init),
1910 (_ev_page_cache_new), (ev_page_cache_set_current_page),
1911 (ev_page_cache_get_size), (ev_page_cache_next_page),
1912 (ev_page_cache_prev_page): Fix to be 0 based.
1916 * pdf/ev-poppler.cc: New backend.
1918 * ps/ps-document.c: (ps_document_init), (ps_document_set_page),
1919 (ps_document_get_page), (ps_document_document_iface_init):
1921 * shell/ev-pixbuf-cache.h:
1922 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
1923 (dispose_cache_job_info), (job_finished_cb), (move_one_job),
1924 (ev_pixbuf_cache_update_range), (copy_job_to_job_info),
1925 (add_job_if_needed), (ev_pixbuf_cache_set_page_range),
1926 (ev_pixbuf_cache_get_pixbuf), (ev_pixbuf_cache_get_link_mapping):
1927 Fix up code to grab a page cache per each doc. Also, fix to be 0
1930 * shell/ev-sidebar-thumbnails.c:
1931 (ev_sidebar_tree_selection_changed), (page_changed_cb),
1932 (ev_sidebar_thumbnails_set_document): Fix to be 0 based.
1934 * shell/ev-view.c: (status_message_from_link),
1935 (find_page_at_location), (get_link_at_location),
1936 (ev_view_motion_notify_event), (ev_view_button_release_event),
1937 (ev_view_init): Use the new link code. Fix to be 0 based.
1939 * shell/ev-window.c: (update_action_sensitivity),
1940 (document_supports_sidebar): 0 based.
1942 Fri Mar 25 16:55:58 2005 Jonathan Blandford <jrb@redhat.com>
1944 * pdf/pdf-document.cc: Patch from Fernando Herrera
1945 <fherrera@onirica.com> to fix my quick fix to get_thumbnail.
1948 Wed Mar 23 23:49:41 2005 Jonathan Blandford <jrb@redhat.com>
1950 * pdf/pdf-document.cc (pdf_document_thumbnails_get_thumbnail): add
1951 1 to the page, as this seems to be 1 based. I thought we has this
1954 2005-03-23 Marco Pesenti Gritti <marco@gnome.org>
1957 * backend/Makefile.am:
1958 * backend/ev-document-links.c:
1959 (ev_document_links_has_document_links),
1960 (ev_document_links_get_links_model):
1961 * backend/ev-document-links.h:
1962 * backend/ev-document.c: (ev_document_get_page_cache),
1963 (ev_document_get_doc_mutex), (ev_document_load),
1964 (ev_document_save), (ev_document_get_title),
1965 (ev_document_get_n_pages), (ev_document_set_page),
1966 (ev_document_get_page), (ev_document_set_target),
1967 (ev_document_set_scale), (ev_document_set_page_offset),
1968 (ev_document_get_page_size), (ev_document_get_text),
1969 (ev_document_get_link), (ev_document_render),
1970 (ev_document_render_pixbuf), (ev_document_scale_changed):
1971 * backend/ev-document.h:
1972 * backend/ev-job-queue.c: (remove_object_from_queue),
1973 (notify_finished), (handle_job), (search_for_jobs_unlocked),
1974 (no_jobs_available_unlocked), (ev_render_thread),
1975 (ev_job_queue_init), (find_queue), (ev_job_queue_add_job),
1976 (ev_job_queue_remove_job):
1977 * backend/ev-job-queue.h:
1978 * backend/ev-jobs.c: (ev_job_init), (ev_job_dispose),
1979 (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
1980 (ev_job_links_class_init), (ev_job_render_init),
1981 (ev_job_render_dispose), (ev_job_render_class_init),
1982 (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
1983 (ev_job_thumbnail_class_init), (ev_job_finished),
1984 (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
1985 (ev_job_render_run), (ev_job_thumbnail_new),
1986 (ev_job_thumbnail_run):
1987 * backend/ev-jobs.h:
1988 * backend/ev-link.c:
1989 * backend/ev-link.h:
1990 * backend/ev-page-cache.c: (ev_page_cache_init),
1991 (ev_page_cache_class_init), (ev_page_cache_finalize),
1992 (_ev_page_cache_new), (ev_page_cache_get_n_pages),
1993 (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
1994 (ev_page_cache_set_link), (ev_page_cache_get_title),
1995 (ev_page_cache_get_size), (ev_page_cache_next_page),
1996 (ev_page_cache_prev_page):
1997 * backend/ev-page-cache.h:
1998 * pdf/pdf-document.cc:
2001 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
2002 (push_pixbuf), (interpreter_failed), (ps_document_cleanup),
2003 (ps_document_widget_event), (ps_document_finalize), (get_xdpi),
2004 (get_ydpi), (setup_pixmap), (setup_page), (close_pipe),
2005 (is_interpreter_ready), (output), (catchPipe), (input),
2006 (start_interpreter), (check_filecompressed), (compute_dimensions),
2007 (ps_document_enable_interpreter), (document_load),
2008 (ps_document_next_page), (render_page), (ps_document_set_page),
2009 (ps_document_set_scale), (render_pixbuf_idle),
2010 (ps_document_render_pixbuf), (ps_document_document_iface_init):
2012 * shell/Makefile.am:
2013 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
2014 (ev_pixbuf_cache_class_init), (ev_pixbuf_cache_finalize),
2015 (dispose_cache_job_info), (ev_pixbuf_cache_dispose),
2016 (ev_pixbuf_cache_new), (job_finished_cb),
2017 (check_job_size_and_unref), (move_one_job),
2018 (ev_pixbuf_cache_update_range), (find_job_cache),
2019 (ev_pixbuf_cache_clear_job_sizes), (add_job_if_needed),
2020 (ev_pixbuf_cache_add_jobs_if_needed),
2021 (ev_pixbuf_cache_set_page_range), (ev_pixbuf_cache_get_pixbuf):
2022 * shell/ev-pixbuf-cache.h:
2023 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
2024 (idle_print_handler):
2025 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
2026 (selection_changed_cb), (create_loading_model),
2027 (ev_sidebar_links_construct), (links_page_num_func),
2028 (ev_sidebar_links_clear_document), (update_page_callback_foreach),
2029 (update_page_callback), (job_finished_cb),
2030 (ev_sidebar_links_set_document):
2031 * shell/ev-sidebar-thumbnails.c:
2032 (ev_sidebar_thumbnails_class_init), (adjustment_changed_cb),
2033 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init),
2034 (page_changed_cb), (thumbnail_job_completed_callback),
2035 (ev_sidebar_thumbnails_set_document):
2036 * shell/ev-sidebar-thumbnails.h:
2037 * shell/ev-sidebar.c: (ev_sidebar_set_document):
2038 * shell/ev-view.c: (ev_view_finalize), (ev_view_destroy),
2039 (ev_view_get_offsets), (ev_view_size_request), (ev_view_realize),
2040 (ev_view_unrealize), (highlight_find_results), (expose_bin_window),
2041 (ev_view_select_all), (ev_view_copy), (ev_view_primary_get_cb),
2042 (ev_view_create_invisible_cursor), (ev_view_motion_notify_event),
2043 (ev_view_button_release_event), (ev_view_scroll_view),
2044 (ev_view_class_init), (ev_view_init), (update_find_status_message),
2045 (jump_to_find_result), (jump_to_find_page), (find_changed_cb),
2046 (ev_view_new), (job_finished_cb), (page_changed_cb),
2047 (ev_view_set_document), (go_to_link), (ev_view_zoom),
2048 (size_to_zoom_factor), (ev_view_set_size), (ev_view_find_next),
2049 (ev_view_find_previous):
2051 * shell/ev-window.c: (update_action_sensitivity),
2052 (ev_window_open_page), (update_window_title), (update_total_pages),
2053 (page_changed_cb), (ev_window_setup_document),
2054 (password_dialog_response), (ev_window_cmd_save_as),
2055 (ev_window_print), (ev_window_cmd_go_previous_page),
2056 (ev_window_cmd_go_next_page), (ev_window_cmd_go_first_page),
2057 (ev_window_cmd_go_last_page), (ev_window_cmd_view_reload),
2058 (find_bar_search_changed_cb), (goto_page_cb), (ev_window_init):
2059 * shell/main.c: (main):
2061 Merge evince-threads branch
2063 2005-03-16 Žygimantas Beručka <uid0@akl.lt>
2065 * configure.ac: Added "lt" to ALL_LINGUAS.
2067 2005-03-14 Marco Pesenti Gritti <marco@gnome.org>
2074 2005-03-13 Fernando Herrera <fherrera@onirica.com>
2076 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
2078 Fix here also the thumbnails 1-basedness :)
2080 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
2087 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
2089 * pdf/pdf-document.cc:
2090 * shell/ev-sidebar-thumbnails.c: (adjustment_changed_cb),
2091 (do_one_iteration), (ev_sidebar_thumbnails_set_document):
2093 Fix the mess we did with thumbnails and 1-basedness
2095 2005-03-12 Changwoo Ryu <cwryu@debian.org>
2097 * configure.ac (ALL_LINGUAS): Added "ko" (Korean).
2099 2005-03-09 Marco Pesenti Gritti <marco@gnome.org>
2106 2005-03-08 Marco Pesenti Gritti <marco@gnome.org>
2109 * ps/gsdefaults.c: (gtk_gs_defaults_get_interpreter_cmd),
2110 (gtk_gs_defaults_get_alpha_parameters),
2111 (gtk_gs_defaults_get_ungzip_cmd),
2112 (gtk_gs_defaults_get_unbzip2_cmd):
2114 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
2115 (ps_document_get_orientation), (document_load),
2116 (ps_document_goto_page), (ps_document_set_page_size):
2119 Some more sanitization of the ps backend. Remove a lot
2120 of unused code and do not base our defaults on ggv
2123 2005-03-08 Fernando Herrera <fherrera@onirica.com>
2125 * thumbnailer/evince-thumbnailer.schemas:
2126 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
2127 (main): add -s option for thumbnail size.
2129 2005-03-07 Christian Persch <chpe@cvs.gnome.org>
2133 AC_PROG_RANLIB is rendered obsolete by AC_PROG_LIBTOOL;
2136 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
2138 * pdf/pdf-document.cc:
2140 Remove 4 pixels of useless border from the
2143 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
2145 * backend/ev-document-thumbnails.c:
2146 (ev_document_thumbnails_get_thumbnail):
2147 * backend/ev-document-thumbnails.h:
2149 Rework API a bit. Add a border flag and
2150 change sizing logic (now the size we specify
2151 applies to the bigger dimension).
2153 * pdf/pdf-document.cc:
2154 * pixbuf/pixbuf-document.c:
2155 (pixbuf_document_thumbnails_get_thumbnail):
2156 * shell/ev-sidebar-thumbnails.c: (do_one_iteration):
2157 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
2159 Adapt to the new API and do not draw a border for nautilus
2162 2005-03-03 Fernando Herrera <fherrera@onirica.com>
2164 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
2165 take thumbnails from page "0" instead of "1". Added a copyright header.
2167 2005-03-03 Jens Granseuer <jensgr@gmx.net>
2169 * ps/ps-document.c: (set_up_page), (start_interpreter):
2171 Make it C89 compliant
2173 2005-03-03 Marco Pesenti Gritti <marco@gnome.org>
2178 * pdf/pdf-document.cc:
2179 * thumbnailer/Makefile.am:
2180 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
2182 * thumbnailer/evince-thumbnailer.schemas:
2183 * thumbnailer/pdf-icon.png:
2185 Add a nautilus thumbnailer.
2186 Based on patch by Fernando Herrera <fherrera@onirica.com>.
2188 2005-03-02 Marco Pesenti Gritti <marco@gnome.org>
2196 2005-03-01 Kristian Høgsberg <krh@redhat.com>
2198 Use poppler instead of including xpdf source code. Poppler is a
2199 fork of xpdf to build it as a shared library. See
2200 http://freedesktop.org/wiki/Software/poppler.
2202 * pdf/xpdf/*, pdf/goo/*, pdf/splash/*, pdf/fofi/*: Remove included
2205 * pdf/Makefile.am: Build libpdfdocument.a here.
2207 * pdf/GDKSplashOutputDev.cc:
2208 * pdf/GDKSplashOutputDev.h:
2209 * pdf/GnomeVFSStream.cc:
2210 * pdf/GnomeVFSStream.h:
2213 * test-gdk-output-dev.cc
2215 * Thumb.h: Pull these files out of pdf/xpdf and adjust to compile
2218 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
2220 * shell/ev-sidebar-links.c: (ev_sidebar_links_clear_document):
2222 Clear idle stack before unsetting the document
2224 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
2226 * ps/ps-document.c: (ps_document_widget_event),
2227 (ps_document_set_target), (ps_document_finalize),
2228 (ps_document_get_page):
2230 Disconnect the widget event signal on finalize.
2233 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
2235 * ps/ps-document.c: (set_up_page):
2237 If there is no bpixmap create one, even if size
2240 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
2242 * ps/ps-document.c: (ps_document_init), (ps_document_cleanup),
2243 (set_up_page), (document_load), (ps_document_set_zoom):
2245 Default page is 0. Calculate size even when we have no
2248 2005-02-28 Carlos Garcia Campos <carlosgc@gnome.org>
2250 * shell/ev-sidebar.c: expand the selection widget to be always as
2253 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
2255 * shell/ev-sidebar-thumbnails.c:
2256 (ev_sidebar_thumbnails_set_document):
2258 Clear the list store when setting document
2260 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
2262 * shell/ev-page-action.c: (update_entry), (sync_entry),
2263 (activate_cb), (entry_size_request_cb), (create_tool_item),
2266 Use an entry for the page control instead of spinbuttons
2268 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
2270 * data/evince.schemas.in:
2272 Correct confusing string
2274 Sun Feb 27 23:00:31 2005 Jonathan Blandford <jrb@redhat.com>
2276 * shell/ev-sidebar-links.c (do_one_iteration): Handle title links
2277 for real. Gosh, how long has this been broken.
2279 * pdf/xpdf/pdf-document.cc (build_link_from_action): add back the
2280 check for a NULL link. We crash otherwise.
2282 2005-02-27 Marco Pesenti Gritti <marco@gnome.org>
2289 2005-02-25 Sebastien Bacher <seb128@debian.org>
2291 * configure.ac: add the french translation.
2293 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
2295 * shell/ev-window.c:
2297 Remove unused header -> fix distcheck
2299 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
2301 * shell/ev-window.c: (update_window_title),
2302 (ev_window_popup_password_dialog):
2304 Unescape filename for display
2306 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
2308 * pdf/xpdf/pdf-document.cc:
2310 In get_page_size deal with rotation. Also
2311 cleanup the function a bit.
2313 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
2315 * pdf/xpdf/pdf-document.cc:
2317 Fix crash when opening in new window
2319 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
2323 Check ghostscript >= 7
2325 2005-02-25 Pedro Villavicencio <pvillavi@gnome.cl>
2327 * shell/ev-window.c:
2329 Make page width the default sizing mode
2331 2005-02-25 Carlos Garcia Campos <carlosgc@gnome.org>
2332 Marco Pesenti Gritti <marco@gnome.org>
2334 * shell/ev-window.c: Remember the sidebar size
2336 * data/evince.schemas.in: Add a new gconf key to store the size of
2339 2005-02-24 Kai Willadsen <kaiw@itee.uq.edu.au>
2341 * data/evince-ui.xml:
2342 * shell/ev-window.c: (update_action_sensitivity),
2343 (ev_window_cmd_view_reload):
2345 Add a "Reload" action and menu entry
2347 Thu Feb 24 23:07:33 2005 Jonathan Blandford <jrb@redhat.com>
2349 * shell/ev-window.c (hide_sidebar_and_actions): Hide the sidebar
2350 iff the type doesn't support thumbnailing and indexing.
2352 2005-02-24 Martin Kretzschmar <martink@gnome.org>
2354 * configure.ac (ALL_LINGUAS): Added "zh_TW" (Traditional Chinese).
2356 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
2358 * pdf/splash/Splash.cc:
2360 Port fix for a crasher from kde bug
2361 http://bugs.kde.org/show_bug.cgi?id=97131
2363 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
2365 * pdf/xpdf/pdf-document.cc:
2367 Return a link even if it's of an unrecognized
2368 type. Otherwise we go in an infinte cycle.
2370 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
2372 * shell/ev-window.c: (update_sizing_buttons), (update_view_size),
2373 (size_allocate_cb), (ev_window_set_sizing_mode):
2375 Update size when switching mode
2377 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
2379 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
2380 (ev_window_cmd_view_page_width), (update_sizing_buttons),
2381 (ev_window_cmd_view_normal_size):
2383 Fix size toggle buttons behavior
2385 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
2387 * shell/ev-view.c: (ev_view_get_offsets), (view_rect_to_doc_rect),
2388 (doc_rect_to_view_rect), (ev_view_size_allocate),
2389 (expose_bin_window), (ev_view_select_all), (page_changed_callback),
2390 (scale_changed_callback):
2392 Do not cache offsets in size_allocate.
2394 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
2396 * shell/ev-view.c: (ev_view_size_allocate):
2398 Calculate offsets before calling the parent
2399 class (which does a redraw)
2401 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
2403 * pdf/xpdf/pdf-document.cc:
2405 Fix a crasher on exit. Unused code, put a TODO
2407 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
2409 * backend/ev-document.c: (ev_document_class_init),
2410 (ev_document_page_changed), (ev_document_scale_changed):
2411 * backend/ev-document.h:
2413 Separate page/scale notifications
2415 * pdf/xpdf/pdf-document.cc:
2417 Emit the new signals.
2418 Do not display the pdf page in _render, do it
2419 when scale/page are requested.
2421 * ps/ps-document.c: (ps_document_set_zoom),
2422 (ps_document_widget_event):
2425 Emit the new signals.
2427 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
2428 (ev_view_init), (page_changed_callback), (scale_changed_callback),
2429 (ev_view_set_document), (ev_view_zoom), (ev_view_zoom_in),
2430 (ev_view_zoom_out), (size_to_zoom_factor), (ev_view_set_size):
2432 * shell/ev-window.c: (ev_window_cmd_view_normal_size),
2433 (ev_window_cmd_view_page_width), (size_allocate_cb),
2434 (ev_window_set_sizing_mode):
2436 Rework sizing to be pixel based.
2437 There are bugs but should be already way better.
2439 2005-02-23 Marco Pesenti Gritti <marco@gnome.org>
2441 * shell/ev-window.c: (ev_window_init):
2443 Do not allow to shrink sidebar smaller then
2446 2005-02-23 Carlos Garcia Campos <carlosgc@gnome.org>
2448 * shell/ev-sidebar.[ch]
2449 * shell/ev-window.c:
2451 Improved sidebar widget. Fixes #166683
2453 2005-02-23 Tommi Vainikainen <thv@iki.fi>
2455 * shell/ev-view.c (update_find_status_message): Give translators
2456 more flexibility with ngettext plural handling.
2458 Mon Feb 21 17:52:08 2005 Jonathan Blandford <jrb@redhat.com>
2460 * pdf/xpdf/pdf-document.cc (pdf_document_get_page_size): Patch
2461 from Crispin Flowerday <gnome@flowerday.cx> to avoid rendering the
2462 page when we get the page size.
2464 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
2466 * ps/ps-document.c: (ps_document_set_page), (ps_document_get_page):
2468 ps pages are 0 based, convert
2470 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
2472 * ps/ps-document.c: (ps_document_class_init), (ps_document_load):
2474 Initialize correct parent class. Set GError on document load
2476 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
2478 * pdf/xpdf/pdf-document.cc:
2480 Fixup selection offset calculation
2482 * shell/ev-view.c: (view_rect_to_doc_rect),
2483 (doc_rect_to_view_rect), (ev_view_size_allocate),
2484 (expose_bin_window), (ev_view_select_all), (ev_view_copy),
2485 (ev_view_primary_get_cb), (ev_view_motion_notify_event):
2487 Store selection as document relative, so that zooming
2488 and offset changing doesnt break it.
2490 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
2492 * shell/ev-view.c: (ev_view_best_fit):
2494 Do not try to best fit if the view is not realized
2496 2005-02-20 Kostas Papadimas <pkst@gnome.org>
2498 * configure.ac (ALL_LINGUAS): Added "el" (Greek).
2500 Fri Feb 18 16:06:39 2005 Jonathan Blandford <jrb@redhat.com>
2502 * shell/ev-window.c (ev_window_focus_in_event): missed a case.
2504 Fri Feb 18 15:32:57 2005 Jonathan Blandford <jrb@redhat.com>
2506 * shell/ev-window.c: Change the fullscreen toolbar to always be in
2507 the popup window. That prevents it resizing when in full screen
2510 * shell/ev-view.c: Change Zoom epsilon as a bad hack to avoid
2511 multiple rerenders. This pretty much sucks.
2513 * data/evince-ui.xml: Change the fullscreen toolbar to include the
2514 rest of the toolbar.
2516 2005-02-18 Tommi Vainikainen <thv@iki.fi>
2518 * configure.ac (ALL_LINGUAS): Added "fi" (Finnish).
2520 2005-02-17 Alexander Shopov <ash@contact.bg>
2522 * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
2524 2005-02-16 Bryan Clark <clarkbw@cvs.gnome.org>
2526 * shell/ev-window.c: added ellipsis to Print item. Fixes bug 166915
2528 2005-02-16 Marco Pesenti Gritti <marco@gnome.org>
2530 * shell/ev-view.c: (ev_view_realize), (highlight_find_results),
2531 (ev_view_create_invisible_cursor), (ev_view_set_cursor),
2532 (set_document_page), (document_changed_callback),
2533 (ev_view_set_document), (ev_view_find_previous),
2534 (ev_view_hide_cursor), (ev_view_show_cursor):
2536 * shell/ev-window.c: (update_chrome_visibility),
2537 (fullscreen_timeout_cb), (fullscreen_set_timeout),
2538 (fullscreen_clear_timeout), (fullscreen_motion_notify_cb),
2539 (fullscreen_leave_notify_cb), (ev_window_fullscreen),
2540 (ev_window_unfullscreen):
2541 * shell/main.c: (main):
2543 Automatically hide the fullscreen button.
2544 Patch by Kristian Høgsberg <krh@redhat.com>
2546 2005-02-16 Vincent Noel <vnoel@cox.net>
2548 * shell/main.c (main): Specify an icon for the window. Patch by
2549 Jaap A. Haitsma. Fixes #166177.
2551 Wed Feb 16 06:30:13 2005 Jonathan Blandford <jrb@redhat.com>
2553 * shell/ev-view.c (ev_view_realize): get rid of the black flash.
2555 Tue Feb 15 22:27:13 2005 Jonathan Blandford <jrb@redhat.com>
2557 * backend/ev-document-misc.h:
2558 * backend/ev-document-misc.c:
2559 (ev_document_misc_get_page_border_size),
2560 (ev_document_misc_paint_one_page): New function to canonicalize
2561 sizing/painting a border.
2563 * shell/Makefile.am: Remove ev-page-view.c entirely as it's not
2566 * pdf/xpdf/pdf-document.cc: use new function
2568 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
2569 (ev_view_init), (ev_view_set_mode), (ev_view_zoom),
2570 (ev_view_best_fit), (ev_view_fit_width): * shell/ev-view.h: *
2571 shell/ev-window.c: (update_sizing_buttons),
2572 (ev_window_setup_document), (ev_window_cmd_view_zoom_in),
2573 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_best_fit),
2574 (ev_window_cmd_view_page_width), (size_allocate_cb),
2575 (ev_window_set_sizing_mode), (ev_window_init): make the "best fit"
2576 and "fit width" values act as toggle buttons so they stay
2577 toggled. It's not 100% perfect, and it's a little slow, but it's
2578 good enough to commit I think.
2580 2005-02-15 David Lodge <dave@cirt.net>
2582 * configure.ac (ALL_LINGUAS): Added "en_GB" (English (British)).
2584 2005-02-15 Martin Kretzschmar <martink@gnome.org>
2586 * shell/ev-window.c (update_window_title): replace newlines in
2587 the title by spaces. Bug #166107.
2589 2005-02-14 Martin Kretzschmar <martink@gnome.org>
2591 * shell/ev-view.c (ev_view_best_fit, ev_view_fit_width): add
2592 parameters providing allocation width and height without
2593 scrollbars and width of a possible vertical scrollbar. With this
2594 additional information the functions can work as
2595 intended. Unfortunately they're not idempotent. We should
2596 transform these commands to toggles. Fixes Bug #164976
2597 Initial patch by Stephane Loeuillet, then heavily modified.
2599 * shell/ev-view.h: update prototypes.
2601 * shell/ev-window.c (ev_window_cmd_view_best_fit)
2602 (ev_window_cmd_view_page_width): provide EvView fit functions with
2603 all the information they need. Formulas to calculate this
2604 information taken from GtkScrolledWindow.
2606 2005-02-14 Crispin Flowerday <gnome@flowerday.cx>
2608 * shell/ev-sidebar-thumbnails.c: Ensure that after we have
2609 created a thumbnail, the list store is updated to know
2610 that the thumbnail is set. Fixes bug #166792
2612 2005-02-11 Bryan Clark <clarkbw@cvs.gnome.org>
2614 * shell/ev-window.c: fixed typo, closes bug 166897
2616 * TODO: updated TODO with bug numbers that are relevant
2618 2005-02-09 Carlos Garcia Campos <carlosgc@gnome.org>
2620 * shell/ev-window.c: Support for DnD of files. Fixes #164813
2622 2005-02-09 Vincent Noel <vnoel@cox.net>
2624 * shell/ev-window.c: (set_action_properties): Set the "Previous"
2625 and "Next" toolbar buttons as important to make them stand out.
2627 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
2631 * ps/ps-document.c: (ps_document_finalize), (set_up_page),
2632 (start_interpreter), (stop_interpreter), (document_load),
2633 (ps_document_next_page), (ps_document_goto_page),
2634 (ps_document_set_page_size), (ps_document_widget_event),
2635 (ps_document_render):
2636 * shell/ev-page-view.c: (ev_page_view_dispose):
2637 * shell/ev-view.c: (ev_view_finalize), (expose_bin_window):
2639 Fix compilation on non-gcc platforms
2641 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
2648 * pdf/xpdf/Catalog.cc:
2651 Fix the fix for CAN-2004-0888
2653 2005-02-09 Luca Ferretti <elle.uca@libero.it>
2656 * data/evince-ui.xml:
2657 * shell/ev-stock-icons.c: (ev_stock_icons_init):
2658 * shell/ev-stock-icons.h:
2659 * shell/ev-window.c: (update_action_sensitivity),
2660 (ev_window_cmd_go_previous_page), (ev_window_cmd_go_next_page),
2661 (set_action_properties):
2663 Improve toolbar layout/icons
2665 2005-02-08 Marco Pesenti Gritti <marco@gnome.org>
2667 * pdf/xpdf/pdf-document.cc:
2669 Add warnings about unimplemented/unknown link
2672 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
2674 * ps/ps-document.c: (set_up_page):
2678 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
2680 * ps/ps-document.c: (start_interpreter):
2684 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
2686 * shell/ev-page-view.c: (ev_page_view_dispose):
2687 * shell/ev-view.c: (ev_view_finalize):
2688 * shell/ev-window.c: (ev_window_setup_document),
2689 (ev_window_dispose), (ev_window_init):
2691 Solve more refs issues.
2693 I commented out the page_view initialization for now:
2694 it was never destroyed (because it's never added
2695 to a container). Because of that we was leaking
2696 gs processes. Couldnt think to a clean fix.
2697 We need to figure this out, password view has the
2698 same issue probably.
2700 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
2702 * ps/ps-document.c: (ps_document_finalize),
2703 (ps_document_get_n_pages), (ps_document_get_page):
2705 Some cleanups, stop the interpreter on finalize
2707 * shell/ev-page-view.c: (ev_page_view_dispose),
2708 (ev_page_view_class_init):
2710 Release our reference on the document
2712 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
2716 * doc/debugging.txt:
2719 * lib/ev-debug.c: (log_module), (trap_handler), (ev_debug_init),
2720 (ev_profiler_new), (ev_should_profile), (ev_profiler_dump),
2721 (ev_profiler_free), (ev_profiler_start), (ev_profiler_stop):
2724 Add debugging helpers
2727 * ps/ps-document.c: (set_up_page), (start_interpreter),
2728 (stop_interpreter), (document_load), (ps_document_next_page),
2729 (ps_document_goto_page), (ps_document_set_page_size),
2730 (ps_document_widget_event), (ps_document_render):
2731 * shell/Makefile.am:
2732 * shell/ev-view.c: (expose_bin_window):
2733 * shell/main.c: (main):
2737 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
2739 * ps/ps-document.c: (ps_document_widget_event):
2741 Initialize message_window, this should make ps
2742 rendering really work! (Never noticed because I was
2743 testing with a ps that is causing gs to exit every time!)
2745 2005-02-07 Bryan Clark <clarkbw@cvs.gnome.org>
2747 * data/evince.schemas.in: updated simple error in applyto closing tag
2749 2005-02-07 Christian Persch <chpe@cvs.gnome.org>
2755 * data/evince-ui.xml:
2756 A data/evince.schemas.in:
2758 * shell/ev-stock-icons.c: (ev_stock_icons_init):
2759 * shell/ev-stock-icons.h:
2760 * shell/ev-window.c: (update_chrome_visibility),
2761 (update_chrome_flag), (ev_window_cmd_edit_find),
2762 (ev_window_update_fullscreen_popup), (ev_window_fullscreen),
2763 (ev_window_unfullscreen), (ev_window_focus_in_event),
2764 (ev_window_focus_out_event), (ev_window_cmd_leave_fullscreen),
2765 (ev_window_view_toolbar_cb), (ev_window_view_statusbar_cb),
2766 (ev_window_view_sidebar_cb), (find_bar_close_cb),
2767 (ev_window_dispose), (ev_window_class_init),
2768 (set_action_properties), (set_chrome_actions), (load_chrome),
2771 Implement fullscreen mode changes from bug #164776.
2772 Also implement persistent chrome toggles.
2774 2005-02-07 Jordi Mallach <jordi@sindominio.net>
2776 * configure.ac (ALL_LINGUAS): Added "ca" (Catalan).
2778 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
2784 Add another check for find interface
2788 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
2790 * shell/ev-application.c: (ev_application_open):
2791 * shell/ev-window.c: (ev_window_open):
2793 Open gzipped ps documents
2795 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
2798 * shell/ev-view.c: (set_document_page):
2800 Clamp page number, dont try to move to
2803 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
2805 * backend/ev-document-find.c: (ev_document_find_changed):
2806 * backend/ev-document-find.h:
2807 * pdf/xpdf/pdf-document.cc:
2808 * shell/ev-view.c: (jump_to_find_result), (ev_view_set_document):
2809 * shell/ev-window.c: (find_bar_search_changed_cb):
2811 Fix several bugs with find
2813 2005-02-04 Martin Kretzschmar <martink@gnome.org>
2815 * shell/ev-sidebar-thumbnails.c
2816 (ev_sidebar_thumbnails_select_page): do nothing unless we have a
2817 document. Prevents warning from scroll_to_cell.
2819 2005-02-02 Kjartan Maraas <kmaraas@gnome.org>
2821 * configure.ac: Add «nb» to ALL_LINGUAS too.
2823 Wed Feb 2 21:13:11 2005 Jonathan Blandford <jrb@redhat.com>
2825 * NOTES: New file with some random thoughts.
2829 * backend/ev-document-misc.c:
2830 (ev_document_misc_get_page_border_size): New function to
2831 canonicalize shadow drawing sizes. Possibly goofy.
2833 * shell/ev-view.c: (ev_view_size_request), (set_document_page),
2834 (ev_view_best_fit), (ev_view_fit_width):
2835 * pdf/xpdf/pdf-document.cc:
2836 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
2837 * ps/ps-document.c: (ps_document_get_page_size):
2838 * backend/ev-document-misc.h:
2839 * backend/ev-document.c: (ev_document_get_page_size):
2840 * backend/ev-document.h: get_page_size now takes a page number
2841 parameter. Made all the backends/frontends honor it.
2843 * data/evince-ui.xml: Added a multiple-page mode. Uncomment to
2844 see. Doesn't work yet.
2846 * shell/Makefile.am:
2847 * shell/ev-page-view.[ch]: New multi-page view. Really rough.
2848 Doesn't do anything yet.
2850 * shell/ev-sidebar-thumbnails.c:
2851 (ev_sidebar_thumbnails_set_document): [1..n_pages] instead of
2854 * shell/ev-window.c: (update_action_sensitivity),
2855 (ev_window_setup_document), (ev_window_set_page_mode),
2856 (ev_window_page_mode_cb), (ev_window_init): Clean up the
2857 view-swapping code a bit so we can have multiple views on a
2858 document. Add the multi-page view, though it can't be turned on
2861 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
2863 * shell/ev-application.c: (ev_application_open):
2864 * shell/ev-view.c: (expose_bin_window):
2865 * shell/ev-window.c: (ev_window_open):
2867 Support eps and check document supports find
2868 before drawing highlightings in expose.
2870 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
2872 * pixbuf/pixbuf-document.c:
2873 (pixbuf_document_thumbnails_get_dimensions),
2874 (pixbuf_document_document_thumbnails_iface_init):
2876 implement get_dimensions
2878 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
2885 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
2887 * shell/ev-view.c: (set_document_page):
2889 Scroll at the top of the page when changing page
2891 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
2893 * shell/ev-view.c: (ev_view_motion_notify_event):
2895 Do not redraw unnecessarily
2897 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
2899 * pdf/xpdf/pdf-document.cc:
2900 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
2901 (expose_bin_window), (find_changed_cb):
2903 Yay! find works now... Now to find bugs...
2905 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
2907 * backend/ev-document-find.c: (ev_document_find_base_init),
2908 (ev_document_find_changed):
2909 * backend/ev-document-find.h:
2910 * pdf/xpdf/pdf-document.cc:
2911 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
2912 (expose_bin_window), (ev_view_init), (set_document_page),
2913 (ensure_rectangle_is_visible), (jump_to_find_result),
2914 (jump_to_find_page), (find_changed_cb), (ev_view_set_document),
2915 (ev_view_find_next), (ev_view_find_previous):
2917 * shell/ev-window.c: (find_bar_previous_cb), (find_bar_next_cb):
2919 More work on find implementation, mostly there now
2921 2005-01-29 Marco Pesenti Gritti <marco@gnome.org>
2923 * backend/ev-backend-marshalers.list:
2924 * backend/ev-document-find.c: (ev_document_find_base_init),
2925 (ev_document_find_cancel), (ev_document_find_page_has_results),
2926 (ev_document_find_get_n_results), (ev_document_find_get_result),
2927 (ev_document_find_get_progress), (ev_document_find_changed):
2928 * backend/ev-document-find.h:
2930 Enanche the find interface to be really able to do
2933 * pdf/xpdf/pdf-document.cc:
2937 * shell/ev-view.c: (ev_view_finalize), (highlight_find_results),
2938 (expose_bin_window), (ev_view_init),
2939 (ev_view_get_find_status_message), (find_changed_cb),
2940 (ev_view_set_document), (set_document_page):
2942 Adapt to the new interface. A few things are regressed sorry,
2943 I will finish it soon.
2945 2005-01-28 Martin Kretzschmar <martink@gnome.org>
2947 * shell/ev-sidebar-thumbnails.c (ev_sidebar_thumbnails_destroy)
2948 (ev_sidebar_thumbnails_class_init): use G_DEFINE_TYPE-supplied
2949 ev_sidebar_thumbnails_parent_class variable, don't define another
2950 parent_class variable.
2952 * shell/ev-page-action.c (connect_proxy, ev_page_action_finalize)
2953 (ev_page_action_class_init): ditto.
2955 * pixbuf/pixbuf-document.c (pixbuf_document_finalize)
2956 (pixbuf_document_class_init): ditto.
2958 * backend/ev-link.c (ev_window_dispose, ev_link_class_init):
2961 * .cvsignore: ignore various valgrind output files.
2963 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
2965 * data/evince-ui.xml:
2966 * shell/Makefile.am:
2967 * shell/ev-history.c:
2968 * shell/ev-history.h:
2969 * shell/ev-navigation-action.c:
2970 * shell/ev-navigation-action.h:
2971 * shell/ev-view.c: (ev_view_finalize), (ev_view_go_to_link),
2972 (ev_view_set_page), (ev_view_fit_width):
2974 * shell/ev-window.c: (update_action_sensitivity),
2975 (ev_window_setup_document), (register_custom_actions):
2977 Kill session history
2979 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
2981 * shell/ev-window.c: (update_action_sensitivity):
2983 Fix inverted up/down buttons
2985 2005-01-27 Martin Kretzschmar <martink@gnome.org>
2987 * shell/ev-sidebar-thumbnails.c
2988 (ev_sidebar_thumbnails_select_page): make sure the selected
2989 thumbnail stays visible.
2991 2005-01-26 Martin Kretzschmar <martink@gnome.org>
2993 * shell/ev-window.c (ev_window_init): add GTK_SHADOW_IN to the
2994 scrolled window for Federico.
2996 2005-01-26 Ole Laursen <olau@hardworking.dk>
2998 * configure.ac: Added "da" (Danish) to ALL_LINGUAS.
3000 2005-01-26 Marco Pesenti Gritti <marco@gnome.org>
3003 * pdf/splash/SplashFTFontEngine.cc:
3005 Fix CID fonts with freetype 2.1.9
3007 2005-01-26 Bryan Clark <clarkbw@cvs.gnome.org>
3009 * TODO: added item for desktop icon thumbnailer
3011 Tue Jan 25 00:59:34 2005 Jonathan Blandford <jrb@redhat.com>
3013 * pdf/xpdf/pdf-document.cc (pdf_document_get_title): guard against
3014 unloaded docs when the title is accessed.
3016 * shell/ev-password-view.[hc]: New widget for displaying password
3019 * shell/ev-window.[ch]: Refactor password handling code to handle
3022 2005-01-24 Marco Pesenti Gritti <marco@gnome.org>
3030 2005-01-23 Stephane LOEUILLET <stephane.loeuillet@tiscali.fr>
3032 * pdf/xpdf/pdf-document.cc (pdf_document_search_page_changed):
3033 ignore page offset here, to make search results independent of it,
3035 * shell/ev-view.c (expose_bin_window): but take offsets into
3036 account here. Bug #164932
3038 * pdf/xpdf/pdf-document.cc (pdf_document_get_link): divide by
3039 scale at the right time. Bug #164996
3041 2005-01-22 Martin Kretzschmar <martink@gnome.org>
3043 * pdf/xpdf/GlobalParams.cc: My 2005-01-05 change didn't actually
3044 fix the problem. Now I just removed the Adobe font names and hope
3045 that the URW fonts are always in outline format. Bug #164934
3047 * shell/ev-window.c (update_window_title): empty titles are
3048 useless, use filename in that case too.
3050 * NEWS: Add some content.
3052 2005-01-21 Bryan Clark <clarkbw@cvs.gnome.org>
3054 * TODO: added one more TODO item and a TODONE section :)
3056 2005-01-21 Martin Kretzschmar <martink@gnome.org>
3058 * ps/ps-document.h: add page_[xy]_offset fields.
3060 * ps/ps-document.c (ps_document_set_page_offset)
3061 (ps_document_render): Keep offset in consideration in a few
3062 places. Bug #164752 "postscript documents are not centered in
3065 * data/evince.desktop.in (X-GNOME-Bugzilla-Product):
3066 s/gpdf/evince/. Spotted by Stephane Loeuillet.
3068 * pixbuf/pixbuf-document.c (pixbuf_document_get_n_pages)
3069 (pixbuf_document_get_text, pixbuf_document_document_iface_init):
3070 stub out missing methods for complete EvDocument implementation.
3071 Fixes segfaults with Save A Copy and Copy actions.
3073 * ps/ps-document.c (ps_document_save, ps_document_get_text)
3074 (ps_document_document_iface_init): ditto.
3076 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
3080 * data/evince.desktop.in:
3084 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
3086 * shell/ev-view.c: (ev_view_button_press_event),
3087 (ev_view_motion_notify_event):
3089 Make selection work in any direction
3091 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
3094 * shell/ev-window.c: (set_short_labels), (ev_window_init):
3096 Use shorter labels for some of the toolbars items
3098 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
3100 * pdf/xpdf/pdf-document.cc:
3102 Check the links info is initialized before
3103 using it. Should fix a crash on startup.
3105 2005-01-21 Martin Kretzschmar <martink@gnome.org>
3107 * pixbuf/pixbuf-document.c
3108 (pixbuf_document_thumbnails_get_dimensions): force floating point
3109 division to calculate page_ratio. Fixes crash with landscape
3112 Thu Jan 20 18:56:35 2005 Jonathan Blandford <jrb@redhat.com>
3114 * shell/ev-view.c (ev_view_realize): make the bg color darker.
3116 2005-01-20 Martin Kretzschmar <martink@gnome.org>
3118 * shell/ev-view.c (set_document_page): unset has_selection when
3120 (set_document_page): handle paper size changes when the page
3121 changes (test with Free Culture, page 2).
3123 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
3125 * shell/ev-view.c: (ev_view_size_request), (ev_view_realize),
3126 (expose_bin_window), (ev_view_class_init), (ev_view_init):
3128 Use normal style color for the widget background and
3129 draw a black box around the page.
3131 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
3133 * pdf/xpdf/pdf-document.cc:
3135 Keep offset in consideration in a few places
3137 * shell/ev-view.c: (expose_bin_window):
3139 Set the offsets so that the document is ever centered
3141 2005-01-20 Bryan Clark <clarkbw@cvs.gnome.org>
3143 * TODO: Added TODO items and finished off the first todo item
3145 * AUTHORS: Updated AUTHORS section with piece from gpdf file and
3146 reflect current authors
3148 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
3150 * pdf/xpdf/pdf-document.cc:
3151 * shell/ev-view.c: (ev_view_set_cursor),
3152 (ev_view_motion_notify_event), (document_changed_callback),
3153 (set_document_page):
3155 Show a wait cursor while the page is rendering
3157 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
3159 * shell/ev-sidebar-thumbnails.c:
3160 (ev_sidebar_tree_selection_changed),
3161 (ev_sidebar_thumbnails_select_page):
3162 * shell/ev-sidebar-thumbnails.h:
3163 * shell/ev-view.c: (ev_view_set_document), (ev_view_can_go_back),
3164 (ev_view_can_go_forward):
3165 * shell/ev-window.c: (ev_window_open_page),
3166 (ev_window_setup_document), (update_current_page),
3167 (view_page_changed_cb), (ev_window_init):
3168 * shell/ev-window.h:
3170 Ensure thumbnails selection, toolbar page control and
3171 current page are in sync.
3173 2005-01-19 Marco Pesenti Gritti <marco@gnome.org>
3179 Wed Jan 19 01:10:57 2005 Jonathan Blandford <jrb@redhat.com>
3181 * backend/Makefile.am:
3182 * backend/ev-document-links.h:
3183 * backend/ev-document-security.c: (ev_document_security_get_type),
3184 (ev_document_security_has_document_security),
3185 (ev_document_security_set_password):
3186 * backend/ev-document-security.h:
3187 * backend/ev-document.c: (ev_document_error_quark):
3188 * backend/ev-document.h:
3190 * data/evince-password.glade:
3191 * pdf/xpdf/pdf-document.cc:
3192 * shell/Makefile.am:
3193 * shell/ev-password.c: (ev_password_set_bad_password_label),
3194 (ev_window_password_entry_changed_cb), (ev_password_dialog_new),
3195 (ev_password_dialog_get_password),
3196 (ev_password_dialog_set_bad_pass):
3197 * shell/ev-password.h:
3198 * shell/ev-window.c: (ev_window_get_attribute),
3199 (ev_window_set_property), (update_action_sensitivity),
3200 (ev_window_is_empty), (mime_type_supported_by_gdk_pixbuf),
3201 (ev_window_setup_document), (ev_window_get_password),
3202 (ev_window_open), (ev_window_cmd_save_as),
3203 (using_postscript_printer), (ev_window_print),
3204 (find_not_supported_dialog), (ev_window_cmd_edit_find),
3205 (update_fullscreen_popup), (ev_window_fullscreen),
3206 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
3207 (ev_window_focus_out_cb), (ev_window_cmd_help_about),
3208 (menu_item_select_cb), (find_bar_search_changed_cb),
3209 (ev_window_dispose), (ev_window_init):
3211 Add initial support for password-supported dialogs. This could be
3212 a lot cooler, but it'll do for now.
3214 2005-01-18 Marco Pesenti Gritti <marco@gnome.org>
3216 * pdf/xpdf/pdf-document.cc:
3217 * shell/ev-view.c: (status_message_from_link),
3218 (ev_view_set_status), (ev_view_set_cursor),
3219 (ev_view_motion_notify_event), (ev_view_init):
3220 * shell/ev-window.c: (view_status_changed_cb), (ev_window_init):
3222 Fix bugs in the links implementation and change cursor
3223 when hovering a link.
3225 2005-01-17 Bryan Clark <clarkbw@cvs.gnome.org>
3227 * viewer/.cvsignore: added cvsignore file for viewer directory
3229 * TODO: created TODO document
3231 2005-01-14 Dave Malcolm <dmalcolm@redhat.com>
3234 * shell/ev-view.c (ev_view_can_go_back), (ev_view_can_go_forward):
3235 new functions to help with implementation of sensitivity code
3236 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
3237 of all actions that might require it. Fixes a crash when you
3238 click on the Zoom actions in a window lacking a document.
3240 2005-01-13 Dave Malcolm <dmalcolm@redhat.com>
3242 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
3245 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
3247 * pixbuf/pixbuf-document.c: (pixbuf_document_get_link),
3248 (pixbuf_document_document_iface_init):
3249 * ps/ps-document.c: (ps_document_get_link),
3250 (ps_document_document_iface_init):
3251 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event),
3252 (status_message_from_link), (ev_view_set_status),
3253 (ev_view_set_find_status), (ev_view_motion_notify_event),
3254 (ev_view_button_release_event), (ev_view_set_property),
3255 (ev_view_get_property), (ev_view_class_init), (ev_view_init),
3256 (ev_view_get_find_status_message), (update_find_results),
3257 (ev_view_get_status), (ev_view_get_find_status):
3259 * shell/ev-window.c: (view_status_changed_cb),
3260 (view_find_status_changed_cb), (ev_window_init):
3262 View status message support, use it to show the links.
3265 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
3267 * backend/ev-document.c: (ev_document_get_link):
3268 * backend/ev-document.h:
3269 * pdf/xpdf/pdf-document.cc:
3270 * shell/ev-application.c: (ev_application_open):
3271 * shell/ev-application.h:
3272 * shell/ev-sidebar-links.c: (selection_changed_cb):
3273 * shell/ev-view.c: (ev_view_button_release_event), (go_to_link),
3274 (ev_view_go_to_link):
3276 Add support for document links
3278 2005-01-13 Anders Carlsson <andersca@gnome.org>
3280 * shell/ev-page-action.c: (update_spin), (total_pages_changed_cb),
3282 Set the spin button limits correctly.
3284 * shell/ev-sidebar-thumbnails.c:
3285 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init):
3286 Support changing pages by clicking on the thumbnails.
3288 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
3290 * pixbuf/pixbuf-document.c:
3291 (pixbuf_document_thumbnails_get_dimensions),
3292 (pixbuf_document_document_thumbnails_iface_init):
3294 implement get_dimensions
3296 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
3298 * ps/ps-document.c: (ps_document_goto_page):
3300 Fix page switching on multipage documents
3302 2005-01-12 Jeff Muizelaar <jrmuizel@nit.ca>
3304 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
3306 check for NULL before assigning to width and height parameters
3308 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
3310 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
3311 (pixbuf_document_set_property), (pixbuf_document_get_property):
3313 implement get/set properties
3315 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
3317 * pdf/xpdf/pdf-document.cc: (pdf_info_dict_get_string):
3319 return NULL instead of "Unknown", letting the title get set to
3320 the filename when the pdf has no title.
3322 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
3324 * ps/ps-document.c: (ps_document_get_page_count),
3325 (ps_document_goto_page):
3327 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
3329 * shell/ev-history.c: (ev_history_get_property),
3330 (ev_history_set_property), (ev_history_class_init),
3331 (ev_history_add_page), (ev_history_set_current_index):
3332 * shell/ev-navigation-action.c: (ev_navigation_action_set_history),
3333 (activate_menu_item_cb), (new_history_menu_item), (build_menu),
3334 (ev_navigation_action_finalize):
3335 * shell/ev-navigation-action.h:
3336 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
3337 (ev_view_go_forward), (ev_view_get_find_status_message),
3338 (history_index_changed_cb), (ev_view_set_history):
3340 * shell/ev-window.c: (update_total_pages), (ev_window_open),
3341 (update_current_page), (register_custom_actions):
3343 Implement history dropdowns
3345 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
3347 * shell/ev-history.c: (ev_history_init), (ev_history_add_link):
3348 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
3349 (ev_view_go_forward):
3350 * shell/ev-window.c: (register_custom_actions):
3352 Fix several history bugs
3354 2005-01-11 Kjartan Maraas <kmaraas@gnome.org>
3356 * configure.ac: Add «nb» to ALL_LINGUAS.
3358 2005-01-10 Marco Pesenti Gritti <marco@gnome.org>
3360 * backend/Makefile.am:
3361 * backend/ev-bookmark.c:
3362 * backend/ev-bookmark.h:
3363 * backend/ev-document-bookmarks.c:
3364 * backend/ev-document-bookmarks.h:
3365 * backend/ev-document-links.c: (ev_document_links_get_type),
3366 (ev_document_links_has_document_links),
3367 (ev_document_links_begin_read), (ev_document_links_get_link),
3368 (ev_document_links_get_child), (ev_document_links_next),
3369 (ev_document_links_free_iter):
3370 * backend/ev-document-links.h:
3371 * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_title),
3372 (ev_link_set_title), (ev_link_get_uri), (ev_link_set_uri),
3373 (ev_link_get_link_type), (ev_link_set_link_type),
3374 (ev_link_get_page), (ev_link_set_page), (ev_link_get_property),
3375 (ev_link_set_property), (ev_window_dispose), (ev_link_init),
3376 (ev_link_class_init), (ev_link_new_title), (ev_link_new_page),
3377 (ev_link_new_external):
3378 * backend/ev-link.h:
3379 * pdf/xpdf/pdf-document.cc:
3380 * shell/Makefile.am:
3381 * shell/ev-application.c: (ev_application_open_link):
3382 * shell/ev-application.h:
3383 * shell/ev-history.c: (ev_history_add_link), (ev_history_add_page),
3384 (ev_history_get_link_nth):
3385 * shell/ev-history.h:
3386 * shell/ev-sidebar-bookmarks.c:
3387 * shell/ev-sidebar-bookmarks.h:
3388 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
3389 (ev_sidebar_links_class_init), (selection_changed_cb),
3390 (ev_sidebar_links_construct), (ev_sidebar_links_init),
3391 (links_page_num_func), (ev_sidebar_links_new), (stack_data_free),
3392 (do_one_iteration), (populate_links_idle),
3393 (ev_sidebar_links_clear_document), (ev_sidebar_links_set_document):
3394 * shell/ev-sidebar-links.h:
3395 * shell/ev-sidebar.c: (ev_sidebar_set_document):
3396 * shell/ev-view.c: (go_to_link), (ev_view_go_to_link),
3399 * shell/ev-window.c: (ev_window_open_link), (ev_window_init):
3400 * shell/ev-window.h:
3402 Rename bookmark to link, and use "Index" for the sidebar panel.
3404 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
3406 * shell/Makefile.am:
3407 * shell/ev-application.c: (ev_application_open_bookmark):
3408 * shell/ev-application.h:
3409 * shell/ev-history.c: (ev_history_init), (free_links_list),
3410 (ev_history_finalize), (ev_history_class_init),
3411 (ev_history_add_link), (ev_history_add_page),
3412 (ev_history_get_link_nth), (ev_history_get_n_links),
3413 (ev_history_get_current_index), (ev_history_set_current_index),
3415 * shell/ev-history.h:
3416 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
3417 * shell/ev-view.c: (ev_view_finalize), (ev_view_set_document),
3418 (set_document_page), (go_to_bookmark), (ev_view_go_to_bookmark),
3419 (go_to_index), (ev_view_go_back), (ev_view_go_forward),
3422 * shell/ev-window.c: (ev_window_open_bookmark),
3423 (ev_window_cmd_go_back), (ev_window_cmd_go_forward),
3424 (goto_page_cb), (register_custom_actions):
3425 * shell/ev-window.h:
3427 Initial history implementation. Needs work.
3429 2005-01-09 Martin Kretzschmar <martink@gnome.org>
3431 * pdf/xpdf/GDKSplashOutputDev.cc (redraw): fix pixbuf data offset.
3433 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
3435 * cut-n-paste/recent-files/egg-recent-item.c:
3436 * cut-n-paste/recent-files/egg-recent-item.h:
3437 * cut-n-paste/recent-files/egg-recent-model.c:
3438 * cut-n-paste/recent-files/egg-recent-util.c:
3439 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
3440 * cut-n-paste/recent-files/egg-recent-view.c:
3444 2005-01-08 Martin Kretzschmar <martink@gnome.org>
3446 * pdf/splash/Splash.cc (clear, drawPixel, drawSpan, xorSpan, getPixel)
3447 (fillGlyph, fillImageMask, drawImage):
3448 pdf/splash/SplashBitmap.cc (SplashBitmap, ~SplashBitmap, writePNMFile):
3449 pdf/splash/SplashTypes.h:
3450 pdf/xpdf/SplashOutputDev (startPage, getColor, imageSrc): implement RGB8
3451 packed mode for Splash.
3453 * pdf/xpdf/GDKSplashOutputDev.cc (GDKSplashOutputDev, redraw): use
3454 RGB8 packed mode, eliminates the pixbuf data creation loop.
3456 * shell/ev-print-job.c (ev_print_job_finalize)
3457 (ev_print_job_set_property, ev_print_job_get_property)
3458 (ev_print_job_set_gnome_print_job, ev_print_job_set_document)
3459 (ev_print_job_use_print_dialog_settings, idle_print_handler)
3460 (print_closure_finalize, ev_print_job_print): implement
3461 printing (for backends with EvPsExporter)
3463 * shell/ev_print_job.h: update prototypes.
3465 * shell/ev-window.c (ev_window_print): unref print job after
3468 * shell/ev-view.c (ev_view_set_document): don't connect to "found"
3469 unless the document implements the EvDocumentFind interface.
3471 2005-01-08 Satoru SATOH <ss@gnome.gr.jp>
3473 * configure.ac: Added ja to ALL_LINGUAS.
3475 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
3477 * pdf/xpdf/pdf-document.cc:
3479 add a FIXME. We should probably not allocate
3480 a bookmark object every time
3482 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
3484 * shell/ev-application.c: (ev_application_open),
3485 (ev_application_open_bookmark):
3486 * shell/ev-application.h:
3488 Add a way to open bookmarks
3490 * backend/ev-bookmark.c: (ev_bookmark_get_uri),
3491 (ev_bookmark_set_uri), (ev_bookmark_get_property),
3492 (ev_bookmark_set_property), (ev_bookmark_class_init),
3493 (ev_bookmark_new_title), (ev_bookmark_new_link),
3494 (ev_bookmark_new_external):
3496 Support for external uris, better constructors.
3498 * backend/ev-bookmark.h:
3499 * pdf/xpdf/pdf-document.cc:
3500 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
3502 Handle external uris
3504 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
3506 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb),
3507 (ev_sidebar_bookmarks_construct), (do_one_iteration):
3509 Hook up bookmarks navigation
3511 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
3513 * backend/Makefile.am:
3514 * backend/ev-bookmark.c: (ev_bookmark_type_get_type),
3515 (ev_bookmark_get_title), (ev_bookmark_set_title),
3516 (ev_bookmark_get_bookmark_type), (ev_bookmark_set_bookmark_type),
3517 (ev_bookmark_get_page), (ev_bookmark_set_page),
3518 (ev_bookmark_get_property), (ev_bookmark_set_property),
3519 (ev_window_dispose), (ev_bookmark_init), (ev_bookmark_class_init),
3521 * backend/ev-bookmark.h:
3522 * backend/ev-document-bookmarks.c:
3523 (ev_document_bookmarks_get_bookmark):
3524 * backend/ev-document-bookmarks.h:
3525 * pdf/xpdf/pdf-document.cc:
3526 * shell/ev-sidebar-bookmarks.c: (do_one_iteration):
3528 Add a bookmark object to the backend and use it instead of get_values
3530 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
3532 * data/evince-ui.xml:
3534 Cleanup and add select all.
3536 * shell/ev-view.c: (ev_view_select_all),
3537 (ev_view_button_press_event):
3539 * shell/ev-window.c: (ev_window_cmd_edit_select_all):
3542 Clear selection on click.
3544 Fri Jan 7 01:28:58 2005 Jonathan Blandford <jrb@redhat.com>
3546 * shell/ev-sidebar-thumbnails.c
3547 (ev_sidebar_thumbnails_set_document): forgot to unref the
3550 Fri Jan 7 01:22:48 2005 Jonathan Blandford <jrb@redhat.com>
3552 * shell/ev-sidebar-thumbnails.c: fill in the thumbnails starting
3553 at the visible page, not just linearly. This makes it look fast.
3555 Thu Jan 6 18:48:11 2005 Jonathan Blandford <jrb@redhat.com>
3557 * backend/ev-document-misc.c
3558 (ev_document_misc_get_thumbnail_frame): fill in the thumbnail with
3560 * backend/ev-document-thumbnails.h: New interface to get the size
3563 2005-01-06 Jeremy Katz <katzj@redhat.com>
3565 * shell/Makefile.am (evince_SOURCES): Add ev-utils.[ch] so that
3568 Wed Jan 5 15:38:28 2005 Jonathan Blandford <jrb@redhat.com>
3570 * pdf/xpdf/pdf-document.cc (bitmap_to_pixbuf): bypass
3571 GDKSplashOutputDev and just use a normal SplashOutputDev. Speeds
3574 * shell/ev-sidebar-thumbnail.c: start of some profiling code.
3576 2005-01-05 Martin Kretzschmar <martink@gnome.org>
3578 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): match only outline
3579 fonts. Should fix font problems on systems that have the base
3580 fonts in bitmap format. Reported by James Henstridge
3581 <james@jamesh.id.au>.
3583 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
3586 * pdf/xpdf/GfxState.cc:
3588 Fix for CAN-2004-1125
3590 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
3592 * shell/ev-view.c: (ev_view_copy):
3594 * shell/ev-window.c: (ev_window_cmd_edit_copy):
3596 Implement Edit->Copy
3598 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
3600 * backend/ev-document.c: (ev_document_get_text):
3601 * backend/ev-document.h:
3602 * pdf/xpdf/pdf-document.cc:
3603 * shell/ev-view.c: (ev_view_realize), (expose_bin_window),
3604 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
3605 (ev_view_update_primary_selection), (ev_view_button_press_event),
3606 (ev_view_motion_notify_event), (ev_view_button_release_event):
3608 Beginnings of clipboard support. Incomplete but primary sort
3611 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
3613 * shell/ev-view.c: (ev_gdk_color_to_rgb), (draw_rubberband),
3614 (expose_bin_window):
3616 Nicer rubberband drawing, from GtkIconView.
3618 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
3620 * backend/ev-document.c: (ev_document_save):
3621 * backend/ev-document.h:
3622 * data/evince-ui.xml:
3623 * pdf/xpdf/pdf-document.cc:
3624 * shell/ev-window.c: (save_error_dialog), (ev_window_cmd_save_as):
3626 Implement "Save a copy..." menu item
3628 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
3630 * shell/ev-view.c: (ev_view_zoom):
3632 Queue a resize when zoom changes
3634 Wed Jan 5 02:33:06 2005 Jonathan Blandford <jrb@redhat.com>
3636 * backend/ev-document-misc.[ch]: New misc file to do simple drop
3639 * pdf/xpdf/pdf-document.cc: use the drop shadows in both types of
3642 Tue Jan 4 22:32:32 2005 Jonathan Blandford <jrb@redhat.com>
3644 * pdf/xpdf/pdf-document.cc
3645 (pdf_document_thumbnails_get_page_pixbuf): poor man's dropshadow.
3647 Tue Jan 4 21:25:05 2005 Jonathan Blandford <jrb@redhat.com>
3649 * pdf/xpdf/pdf-document.cc: Do real thumbnailing of PDF files.
3650 It's slow, but I'll speed it up next!
3652 2005-01-04 Jeff Muizelaar <jrmuizel@nit.ca>
3654 * shell/main.c (load_files):
3656 use gnome_vfs_make_uri_from_shell_arg so that relative paths work
3657 from the command line and because it seems more appropriate.
3659 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
3661 * data/evince-ui.xml:
3662 * shell/ev-window.c: (update_action_sensitivity),
3663 (ev_window_cmd_go_page_up), (ev_window_cmd_go_page_down):
3665 s/next page/page down
3666 s/previous page/page up
3668 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
3670 * data/evince-ui.xml:
3672 Change the layout to match clarkbw design.
3674 * shell/Makefile.am:
3675 * shell/ev-navigation-action.c: (build_menu), (menu_activated_cb),
3676 (set_tooltip_cb), (connect_proxy), (ev_navigation_action_init),
3677 (ev_navigation_action_finalize),
3678 (ev_navigation_action_set_property),
3679 (ev_navigation_action_get_property),
3680 (ev_navigation_action_class_init):
3681 * shell/ev-navigation-action.h:
3683 Implement clarkbw toolbar navigation controls (incomplete)
3685 * shell/ev-page-action.c: (update_label), (update_spin),
3686 (value_changed_cb), (create_tool_item), (connect_proxy),
3687 (ev_page_action_init), (ev_page_action_finalize),
3688 (ev_page_action_set_property), (ev_page_action_get_property),
3689 (ev_page_action_set_current_page),
3690 (ev_page_action_set_total_pages), (ev_page_action_class_init):
3691 * shell/ev-page-action.h:
3693 Implement a page switcher in the toolbar
3695 * shell/ev-view.c: (ev_view_scroll_view):
3696 * shell/ev-window.c: (update_total_pages), (ev_window_open),
3697 (update_current_page), (view_page_changed_cb), (goto_page_cb),
3698 (register_custom_actions), (ev_window_init):
3700 Change page on PageUp/Down.
3702 Tue Jan 4 03:22:56 2005 Jonathan Blandford <jrb@redhat.com>
3704 * pdf/xpdf/pdf-document.cc
3705 (pdf_document_thumbnails_get_thumbnail): initial stab at
3706 implementing thumbnail support for pdfs. It only does documents
3707 with precached pdfs now.
3709 Mon Jan 3 17:22:25 2005 Jonathan Blandford <jrb@redhat.com>
3711 * shell/ev-sidebar-thumbnails.c (do_one_iteration): move the
3712 thumbnail code into a time-based idle as well. Also, turn off the
3713 shadow temporarily as it's really slow.
3715 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
3717 * backend/ev-document.c: (ev_document_class_init):
3718 * pdf/xpdf/pdf-document.cc:
3719 * shell/ev-window.c: (ev_window_open):
3721 Fix document title bugs and fallback to
3722 filename when not available.
3724 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
3726 * backend/ev-document.c: (ev_document_get_type),
3727 (ev_document_class_init), (ev_document_load),
3728 (ev_document_get_title):
3729 * backend/ev-document.h:
3730 * pdf/xpdf/pdf-document.cc:
3731 * ps/ps-document.c: (ps_document_set_property),
3732 (ps_document_get_property), (ps_document_class_init),
3736 * shell/ev-window.c: (update_window_title), (ev_window_open),
3739 Initial support for document title. Not working yet.
3741 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
3743 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event):
3745 Grab focus on the view when clicking it
3747 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
3749 * shell/ev-marshal.list:
3750 * shell/ev-view.c: (ev_view_realize), (add_scroll_binding),
3751 (ev_view_scroll_view), (ev_view_class_init), (ev_view_init):
3753 Add key bindings to the view. Now if the focus would work
3756 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
3759 * backend/Makefile.am:
3762 * dvi/dvilib/Makefile.am:
3763 * pdf/xpdf/Makefile.am:
3769 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
3771 * shell/ev-view.c: (ev_view_realize):
3773 Fix mouse wheel scrolling
3775 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
3781 * ps/ps-document.c: (catchPipe), (ps_document_init),
3782 (ps_document_class_init), (ps_document_cleanup),
3783 (ps_document_finalize), (send_ps), (ps_document_get_orientation),
3784 (set_up_page), (close_pipe), (is_interpreter_ready),
3785 (interpreter_failed), (output), (input), (start_interpreter),
3786 (stop_interpreter), (file_length), (file_readable),
3787 (check_filecompressed), (check_pdf), (compute_xdpi),
3788 (compute_ydpi), (compute_size), (ps_document_enable_interpreter),
3789 (ps_document_get_type), (ps_document_emit_error_msg),
3790 (document_load), (ps_document_next_page),
3791 (ps_document_get_current_page), (ps_document_get_page_count),
3792 (ps_document_goto_page), (ps_document_set_page_size),
3793 (ps_document_zoom_to_fit), (ps_document_set_zoom),
3794 (ps_document_load), (ps_document_get_n_pages),
3795 (ps_document_set_page), (ps_document_get_page),
3796 (ps_document_widget_event), (ps_document_set_target),
3797 (ps_document_set_scale), (ps_document_set_page_offset),
3798 (ps_document_get_page_size), (ps_document_render),
3799 (ps_document_document_iface_init):
3802 * shell/ev-window.c: (ev_window_open):
3804 Rename GtkGS to PSDocument
3806 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
3808 * ps/gtkgs.c: (gtk_gs_class_init):
3811 Some more leftover...
3813 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
3815 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_get_orientation),
3816 (output), (stop_interpreter), (gtk_gs_emit_error_msg),
3817 (gtk_gs_zoom_to_fit), (gtk_gs_set_zoom):
3820 Remove unused code and make a lot of stuff private
3822 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
3824 * ps/gsdefaults.c: (gtk_gs_defaults_gconf_client),
3825 (gtk_gs_defaults_changed):
3831 Cleanup headers dependencies
3833 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
3838 * ps/gsdefaults.c: (gtk_gs_defaults_get_paper_sizes):
3840 * ps/gtkgs.c: (file_length), (file_readable),
3841 (check_filecompressed), (check_pdf), (gtk_gs_load),
3842 (gtk_gs_get_postscript):
3846 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
3851 * ps/gtkgs.c: (gtk_gs_set_zoom):
3855 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
3857 * ps/gtkgs.c: (gtk_gs_set_zoom), (gtk_gs_set_zoom_mode):
3859 Ensure the page is rerendered when changing zoom
3861 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
3863 * backend/ev-document.c: (ev_document_base_init),
3864 (ev_document_changed):
3865 * backend/ev-document.h:
3867 Add a changed event that is emitted when the page content
3868 changes. This is necessary to deal with the fact that
3869 in ps backend rendering happen asycrounously.
3870 This makes the ps backend mostly work.
3872 * pdf/xpdf/pdf-document.cc:
3876 * ps/gtkgs.c: (set_up_page), (gtk_gs_widget_event),
3877 (ps_document_set_target):
3881 * shell/ev-view.c: (document_changed_callback),
3882 (ev_view_set_document), (ev_view_set_page):
3884 Redraw on the changed signal
3886 2004-12-25 Raphael Higino <raphaelh@cvs.gnome.org>
3888 * configure.ac: Added pt_BR to ALL_LINGUAS.
3890 Fri Dec 24 00:48:44 2004 Jonathan Blandford <jrb@redhat.com>
3892 * backend/ev-document-bookmarks.c:
3893 (ev_document_bookmarks_get_child): *
3894 backend/ev-document-bookmarks.h: * pdf/xpdf/Makefile.am: *
3895 pdf/xpdf/pdf-document.cc: * pdf/xpdf/pdf-document.h: *
3896 shell/Makefile.am: * shell/ev-sidebar-bookmarks.c:
3897 (ev_sidebar_bookmarks_destroy),
3898 (ev_sidebar_bookmarks_class_init),
3899 (ev_sidebar_bookmarks_construct), (stack_data_free),
3900 (do_one_iteration), (populate_bookmarks_idle),
3901 (ev_sidebar_bookmarks_clear_document),
3902 (ev_sidebar_bookmarks_set_document): *
3903 shell/ev-sidebar-bookmarks.h: * shell/ev-sidebar.c:
3904 (ev_sidebar_add_page),
3905 (ev_sidebar_set_document): * shell/ev-window.c: (ev_window_open):
3906 Initial stab at a bookmarks sidebar. It doesn't navigate yet, but
3907 it displays both the topics and the page numbers.
3909 2004-12-23 Kristian Høgsberg <krh@redhat.com>
3911 * shell/ev-window.c (ev_window_view_sidebar_cb): Hook up sidebar
3913 * shell/ev-window.c (toggle_entries): Set sidebar default value to
3916 2004-12-23 Adam Weinberger <adamw@gnome.org>
3918 * configure.ac: Added en_CA to ALL_LINGUAS.
3920 2004-12-23 Martin Kretzschmar <martink@gnome.org>
3922 * ChangeLog: replace bottom of this ChangeLog (merged history of
3923 ggv and gpdf; where all paths were wrong and most of the files are
3924 not even in this tree) with ChangeLog (from arch) of the shell
3927 2004-12-23 Havoc Pennington <hp@redhat.com>
3929 * shell/ev-window.c: hook up potentially-questionable "find
3930 results status text" feature - something involving the sidebar or
3931 scrollbar or a continuous all-pages-on-giant-roll-of-paper-view
3932 might be better in the end.
3934 * shell/ev-view.c (ev_view_get_find_status_message): new function,
3935 with corresponding signal when it should be updated
3937 * shell/eggfindbar.c (egg_find_bar_set_status_text): new function
3939 2004-12-22 Havoc Pennington <hp@redhat.com>
3941 * pdf/xpdf/pdf-document.cc (pdf_document_find_begin): make search
3942 find stuff on other pages, sort of (only returns one result on
3943 invisible pages, to show they have results; updates full results
3944 for a page when you view it). Currently repaints the current page
3945 every time a new result is found on any page, which isn't so nice.
3947 2004-12-22 Havoc Pennington <hp@redhat.com>
3949 * shell/ev-window.c (ev_window_cmd_edit_find): display an error if
3950 the document doesn't support find (better ideas?)
3951 (find_bar_search_changed_cb): handle missing document or document
3952 that doesn't support find
3954 * pdf/xpdf/pdf-document.cc: port to implement the new
3957 * backend/ev-document-find.c: create a new interface for searching
3959 * backend/ev-document.h, backend/ev-document.c: delete the find stuff
3961 2004-12-23 Martin Kretzschmar <martink@gnome.org>
3963 * pdf/xpdf/Makefile.am (libpdfdocument_la_LIBADD): add
3966 * shell/ev-window.c (ev_window_print): add GnomePrintJob to
3967 EvPrintJob constructor arguments.
3969 * backend/ev-ps-exporter.c, backend/ev-ps-exporter.h: interface
3970 for documents that can export PostScript (page by page).
3972 * backend/Makefile.am (libevbackend_la_SOURCES): add them.
3974 * pdf/xpdf/pdf-document.cc (pdf_document_ps_export_begin)
3975 (pdf_document_ps_export_do_page, pdf_document_ps_export_end)
3976 (pdf_document_ps_exporter_iface_init:
3977 Implement EvPSExporter.
3979 * pdf/xpdf/Makefile.am (libxpdf_la_SOURCES): build PSOutputDev.
3981 2004-12-22 Anders Carlsson <andersca@gnome.org>
3983 * backend/Makefile.am:
3984 * backend/ev-document-thumbnails.c:
3985 (ev_document_thumbnails_get_type),
3986 (ev_document_thumbnails_get_thumbnail):
3987 * backend/ev-document-thumbnails.h:
3988 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
3989 (pixbuf_document_thumbnails_get_thumbnail),
3990 (pixbuf_document_document_thumbnails_iface_init):
3991 * shell/Makefile.am:
3992 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_destroy),
3993 (ev_sidebar_thumbnails_class_init), (ev_sidebar_thumbnails_init),
3994 (populate_thumbnails), (ev_sidebar_thumbnails_set_document):
3995 * shell/ev-sidebar-thumbnails.h:
3996 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
3997 (ev_sidebar_set_document):
3998 * shell/ev-utils.c: (gaussian), (create_blur_filter),
3999 (create_shadow), (ev_pixbuf_add_shadow):
4001 Add thumbnail support.
4003 2004-12-22 Martin Kretzschmar <martink@gnome.org>
4005 * shell/ev-window.c (ev_window_cmd_file_print, ev_window_print)
4006 (using_postscript_printer): Set up a print dialog for "PostScript
4009 * shell/ev-print-job.h, shell/ev-print-job.c: stub classes for
4012 * shell/Makefile.am (evince_SOURCES): add ev-print-job.[ch]
4014 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
4016 * ps/gtkgs.c: (gtk_gs_init), (set_up_page),
4017 (ps_document_set_target), (ps_document_get_page_size),
4018 (ps_document_render):
4023 2004-12-22 Christian Rose <menthos@menthos.com>
4025 * configure.ac: Added "sv" to ALL_LINGUAS.
4027 Wed Dec 22 14:47:38 2004 Jonathan Blandford <jrb@redhat.com>
4029 * backend/ev-document-bookmarks.[ch]: new interface to indicate
4030 document supports bookmarks.
4032 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
4034 * ps/ggvutils.c: (ggv_file_readable):
4036 * ps/gtkgs.c: (check_filecompressed), (check_pdf),
4037 (gtk_gs_get_postscript):
4041 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
4043 * ps/gtkgs.c: (gtk_gs_init), (gtk_gs_class_init), (gtk_gs_cleanup),
4044 (gtk_gs_finalize), (gtk_gs_set_center), (set_up_page), (output),
4045 (start_interpreter), (compute_size), (gtk_gs_enable_interpreter),
4046 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_reload),
4047 (gtk_gs_emit_error_msg), (gtk_gs_disable_interpreter),
4048 (gtk_gs_load), (gtk_gs_goto_page), (gtk_gs_set_page_size),
4049 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
4050 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
4051 (gtk_gs_set_antialiasing), (ps_document_load),
4052 (ps_document_render):
4055 Another check point for the ps backend. Now I can get it to show
4058 Wed Dec 22 13:41:01 2004 Jonathan Blandford <jrb@redhat.com>
4060 * shell/ev-sidebar.c (ev_sidebar_set_document): initial sidebar
4061 document setting code.
4063 2004-12-22 Anders Carlsson <andersca@gnome.org>
4065 * shell/eggfindbar.c: (entry_activate_callback):
4066 Animate the next button when activate is pressed.
4068 2004-12-22 Anders Carlsson <andersca@gnome.org>
4070 * shell/ev-window.c: (ev_window_cmd_edit_find),
4071 (update_fullscreen_popup), (ev_window_fullscreen),
4072 (ev_window_unfullscreen), (ev_window_state_event_cb),
4073 (ev_window_focus_out_cb), (find_bar_close_cb), (ev_window_init):
4074 Fix bugs in fullscreen code.
4076 2004-12-22 Anders Carlsson <andersca@gnome.org>
4080 * pixbuf/Makefile.am:
4081 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
4082 (pixbuf_document_load), (pixbuf_document_get_n_pages),
4083 (pixbuf_document_set_page), (pixbuf_document_get_page),
4084 (pixbuf_document_set_target), (pixbuf_document_set_scale),
4085 (pixbuf_document_set_page_offset), (pixbuf_document_get_page_size),
4086 (pixbuf_document_render), (pixbuf_document_begin_find),
4087 (pixbuf_document_end_find), (pixbuf_document_finalize),
4088 (pixbuf_document_class_init),
4089 (pixbuf_document_document_iface_init), (pixbuf_document_init):
4090 * pixbuf/pixbuf-document.h:
4091 * shell/Makefile.am:
4092 * shell/ev-application.c: (ev_application_open):
4093 * shell/ev-window.c: (mime_type_supported_by_gdk_pixbuf),
4097 Tue Dec 21 21:45:43 2004 Soeren Sandmann <sandmann@redhat.com>
4100 * dvi/dvilib/Makefile.am:
4102 * configure.ac: Auto*ify dvi and dvi/dvilib
4104 * dvi/Makefile: Remove from CVS
4106 * dvi/dvilib/dl-pkfont.cc (unpack_bitmap): Fix uchar/uint
4109 * dvi/dvilib/dl-fontdefinition.{cc,hh}: New DviFontMap class
4111 * dvi/dvilib/dl-vffont.{cc,hh}: Many bugfixes to VF code.
4113 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
4116 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_finalize),
4117 (gtk_gs_value_adjustment_changed), (compute_size),
4118 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_new_from_file),
4119 (gtk_gs_center_page), (gtk_gs_load), (gtk_gs_set_page_size),
4120 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
4121 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
4122 (gtk_gs_start_scroll), (gtk_gs_get_postscript),
4123 (gtk_gs_set_adjustments), (gtk_gs_set_available_size),
4124 (ps_document_load), (ps_document_get_n_pages),
4125 (ps_document_set_page), (ps_document_get_page),
4126 (ps_document_set_target), (ps_document_set_scale),
4127 (ps_document_set_page_offset), (ps_document_get_page_size),
4128 (ps_document_render), (ps_document_begin_find),
4129 (ps_document_end_find), (ps_document_document_iface_init):
4131 * shell/Makefile.am:
4132 * shell/ev-window.c: (ev_window_open):
4134 Some work to integrate gtkgs with EvDocument
4136 2004-12-22 Anders Carlsson <andersca@gnome.org>
4138 * shell/ev-window.c: (update_fullscreen_popup),
4139 (screen_size_changed_cb), (destroy_exit_fullscreen_popup),
4140 (exit_fullscreen_button_clicked_cb),
4141 (fullscreen_popup_size_request_cb), (ev_window_fullscreen),
4142 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
4143 (ev_window_state_event_cb), (ev_window_init):
4144 Add fullscreen support from Epiphany.
4146 2004-12-22 Mark McLoughlin <mark@skynet.ie>
4148 * data/ev-stock-zoom-fit-width.png: fit-width
4149 stock icon from gpdf.
4151 * shell/ev-stock-icons.[ch]: copied from gpdf.
4153 * shell/main.c: (main): init stock icons.
4155 * shell/ev-window.c: use the fit-width icon.
4157 * data/evince-ui.xml: add zooming toolbar items.
4159 2004-12-22 Mark McLoughlin <mark@skynet.ie>
4162 (ev_view_best_fit), (ev_view_fit_width): because
4163 get_page_size() returns the scaled page size, we
4164 need to calculate the scale factor relative to
4165 the previous scale factor. Should really just
4166 add get_real_page_size().
4168 2004-12-22 Mark McLoughlin <mark@skynet.ie>
4170 * shell/ev-view.[ch]:
4171 (ev_view_zoom), (ev_view_zoom_in), (ev_view_zoom_out),
4172 (ev_view_normal_size), (ev_view_best_fit), (ev_view_fit_width):
4175 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
4176 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_normal_size),
4177 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width):
4180 * pdf/xpdf/pdf-document.cc:
4181 (pdf_document_begin_find),
4182 (pdf_document_end_find): make static.
4184 2004-12-22 Martin Kretzschmar <martink@gnome.org>
4186 * pdf/xpdf/GlobalParams.h (setupBaseFontsFc): add prototype.
4188 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): maps base font
4189 names to fontconfig patterns.
4190 (setupBaseFontsFc): setupBaseFonts reimplemented using fontconfig.
4192 * pdf/xpdf/pdf-document.cc (pdf_document_load): use
4195 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
4211 Import ggv backend. Not hooked up yet.
4213 2004-12-22 Mark McLoughlin <mark@skynet.ie>
4215 * shell/main.c: (load_files), (main): load files
4216 from the command line.
4218 2004-12-22 Mark McLoughlin <mark@skynet.ie>
4220 * configure.ac: don't require bonobo.
4222 * cut-n-paste/recent-files/*: kill bonobo recent
4225 * shell/ev-window.c:
4226 (ev_window_is_empty): upd.
4227 (unable_to_load), (ev_window_open): load backend
4228 based on the mime type.
4230 2004-12-22 Martin Kretzschmar <martink@gnome.org>
4232 * backend/.cvsignore: ignore generated marshalers source.
4234 * shell/main.c (main): this is not epiphany.
4236 2004-12-22 Havoc Pennington <hp@redhat.com>
4238 * shell/ev-view.c (ev_view_set_document): connect to "found" signal
4239 (expose_bin_window): draw find highlights
4241 * shell/ev-window.c (find_bar_search_changed_cb): implement
4243 * pdf/xpdf/pdf-document.cc (pdf_document_begin_find)
4244 (pdf_document_end_find): implement this interface
4246 * backend/ev-document.c (ev_document_found): add this to emit
4249 Tue Dec 21 23:57:37 2004 Owen Taylor <otaylor@redhat.com>
4251 * data/evince-ui.xml: Add a few more toolbar items.
4253 * shell/ev-window.c: Hook up page navigation toolbar
4256 * shell/ev-view.[ch]: add ev_view_set/get_page and
4257 a page-changed signal.
4259 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc::
4260 Add ev_document_get_page().
4262 * shell/ev-window.c: Sensitize/desensitize navigation
4265 2004-12-21 Havoc Pennington <hp@redhat.com>
4267 * backend/ev-backend-marshal.c,
4268 backend/ev-backend-marshalers.list, backend/Makefile.am: add
4269 marshaler-generator thingy. I'm sure there's a better way to do
4270 this in the modern world.
4272 * backend/ev-document.h (struct _EvDocumentIface): add begin_find,
4273 end_find methods and "found" signal.
4275 * configure.ac: find glib-genmarshal
4277 Tue Dec 21 23:20:35 2004 Jonathan Blandford <jrb@redhat.com>
4279 * shell/ev-sidebar.c: Construct an actual sidebar.
4280 * shell/ev-sidebar-bookmarks.[ch]:
4281 * shell/ev-sidebar-thumbnails.[ch]: Stub out sidebars.
4283 Tue Dec 21 23:05:51 2004 Owen Taylor <otaylor@redhat.com>
4285 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc:
4288 * shell/ev-view.c: Track the size from the document.
4290 Tue Dec 21 22:17:04 2004 Owen Taylor <otaylor@redhat.com>
4292 * pdf/xpdf/pdf-document.cc (pdf_document_load): PDFDoc
4293 constructor assumes ownership of the string passed in.
4295 * shell/ev-window.c (ev_window_open): Destroy the error
4296 dialog once we've displayed it.
4298 Tue Dec 21 21:58:56 2004 Owen Taylor <otaylor@redhat.com>
4300 * pdf/xpdf/pdf-document.cc shell/ev-view.c: Hook things up
4301 a bit, it works! (sort of)
4303 * pdf/xpdf/Makefile.am pdf/xpdf/pdf-document.cc:
4304 Move to .cc since we need to use C++ in the implementation.
4306 * shell/dummy.cc: Add a CC file to force evince
4307 to be linked as a C++ program.
4309 Tue Dec 21 21:07:55 2004 Owen Taylor <otaylor@redhat.com>
4311 * shell/ev-view.[ch]: Start of content-area widget.
4313 * shell/ev-window.c: Create a EvView, update it
4314 as we change documents.
4316 * shell/Makefile.am shell/ev-marshal.list: Add
4317 generated marshalers.
4319 Tue Dec 21 20:28:11 2004 Jonathan Blandford <jrb@redhat.com>
4321 * Makefile.am (SUBDIRS): move shell.
4323 Tue Dec 21 19:28:55 2004 Owen Taylor <otaylor@redhat.com>
4325 * pdf/{goo,fofi,splash,xpdf}/Makefile.am: Switch from
4326 .a to libtool convenience libraries.
4328 * shell/ev-window.c (ev_window_open): Hard code loading
4331 * backend/ev-document.h: Add a boolean return to load(),
4332 fix GError * to GError **.
4334 * pdf/xpdf/pdf-document.[ch] Makefile.am: Add a stub
4335 object for a PDF backend EvDocument.
4337 Tue Dec 21 18:55:06 2004 Søren Sandmann <sandmann@redhat.com>
4339 * dvi/*: New directory with the beginning of a .dvi backend.
4341 2004-12-21 Havoc Pennington <hp@redhat.com>
4343 * shell/eggfindbar.c (egg_find_bar_init): change buttons to
4344 previous/next instead of back/forward
4346 Tue Dec 21 18:26:24 2004 Owen Taylor <otaylor@redhat.com>
4348 * backend/ev-document.[ch]: Fix a couple of problems so
4351 Tue Dec 21 18:20:40 2004 Owen Taylor <otaylor@redhat.com>
4353 * viewer/* backend/* configure.ac Makefile.am: Move viewer directory
4354 to backend/ directory, rename EvViewer to EvDocument.
4356 2004-12-21 Havoc Pennington <hp@redhat.com>
4358 * shell/ev-window.c: hook up the find bar widget; now we just need
4359 a document to find things in
4361 * shell/eggfindbar.c: a find bar widget
4363 Tue Dec 21 17:20:16 2004 Jonathan Blandford <jrb@redhat.com>
4365 * shell/ev-sidebar.[ch]: initial sidebar boilerplate.
4367 Tue Dec 21 16:30:58 2004 Owen Taylor <otaylor@redhat.com>
4369 * pdf/**: Import of xpdf code from gpdf.
4371 * pdf/xpdf/xpdfconfig.h: Move the non-config.h config.h to xpdfconfig.h
4373 * pdf/splash/SplashFTFont.{cc,h} pdf/splash/SplashFTFont.h
4374 pdf/splash/SplashFTFontEngine.h pdf/splash/SplashFTFontFile.h:
4375 Fix FreeType includes.
4377 * pdf/xpdf/{Error.h GnomeVFSStream.cc ImageOutputDev.cc PDFDoc.cc\
4378 pdffonts.cc pdfimages.cc pdfinfo.cc pdftoppm.cc pdftops.cc
4379 pdftotext.cc PSOutputDev.cc PSOutputDev.h SplashOutputDev.h
4380 Stream.cc TextOutputDev.cc XPDFApp.cc xpdf.cc XPDFViewer.cc
4381 pdf/xpdf/Error.h PSOutputDev.h SplashOutputDev.h}:
4382 Include xpdfconfig.h
4384 Tue Dec 21 16:08:17 2004 Jonathan Blandford <jrb@redhat.com>
4386 * shell/ev-window.c (ev_window_dispose): dispose can be called
4389 2004-12-21 Havoc Pennington <hp@redhat.com>
4391 * shell/ev-window.c (ev_window_init): set title to Document Viewer
4394 * data/evince-ui.xml, shell/ev-window.c: add a bunch of stub menu
4395 items; really they should be synced with the strings, etc. from
4396 current gpdf, but just getting the boring typing out of the way
4398 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
4401 * shell/ev-application.c: (window_destroy_cb):
4402 * shell/ev-window.c:
4403 * shell/main.c: (main):
4405 Actually show the window...
4407 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
4410 * shell/Makefile.am:
4411 * shell/ev-application.c: (ev_application_class_init):
4412 * shell/ev-window.c: (ev_window_dispose), (ev_window_class_init):
4416 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
4418 Import to gnome cvs.
4420 * Remove copies of gpdf and ggv trees.
4421 * Rip out all the recursive configure code.
4422 * Remove bonobo machinery.
4423 * viewer/*: GInterfaces that backends should/can implement.
4425 2004-11-09 Martin Kretzschmar <m_kretzschmar@gmx.net>
4427 * shell/ev-window.c (ev_window_cmd_help_about): fix "documentors"
4430 2004-10-28 Martin Kretzschmar <m_kretzschmar@gmx.net>
4432 * shell/ev-application.c (EV_APPLICATION_GET_PRIVATE)
4433 (ev_application_finalize, ev_application_class_init)
4434 (ev_application_init): use GType instance private data for priv.
4436 * shell/ev-window.c (EV_WINDOW_GET_PRIVATE)
4437 (ev_window_finalize, ev_window_class_init)
4438 (ev_window_init): ditto.
4440 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
4442 * shell/ev-application.c (ev_application_new_window): make public
4443 (ev_application_show_initial_window): kill.
4445 * shell/ev-application.h: update prototypes.
4447 * shell/main.cc (main): inline ev_application_show_initial_window.
4449 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
4451 * shell/ev-application.c (ev_application_new_window): impl.
4452 (ev_application_show_initial_window): use it.
4453 (is_window_empty, ev_application_get_empty_window): returns an
4454 existing empty window or a new one.
4455 (ev_application_open): from ev_window_cmd_file_open.
4457 * shell/ev-application.h: update prototypes
4459 * shell/ev-window.c (ev_window_is_empty): impl.
4460 (ev_window_open): make public.
4461 (ev_window_cmd_file_open): use ev_application_open
4463 * shell/ev-window.h: update prototypes, remove unused.
4465 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
4467 * shell/ev-window.c (ev_window_destroy, ev_window_class_init):
4468 move destroy handler out of here...
4470 * shell/ev-application.c, shell/ev-application.h: ...into this new
4471 class. Also handles initial window creation.
4473 * shell/main.cc (main): use EvApplication to create initial
4476 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
4478 * Makefile.am (SUBDIRS): add cut-n-paste
4480 * cut-n-paste/Makefile.am: add
4482 * configure.ac: generate Makefiles in cut-n-paste
4484 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
4486 * shell/ev-window.c (ev_window_dispose): new, unref the ui_manager
4487 (ev_window_class_init): install ev_window_dispose.
4489 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
4491 * shell/ev-window.h, shell/ev-window.c: replace gchar with
4492 char (gchar looks stupid).
4494 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
4496 * po/de.po: updated German translation.
4498 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
4500 * configure.ac: add more pkg-config library checks for gnome-vfs,
4503 * gpdf/configure.in: temporarily disable libpaper
4504 checks. Otherwise I'd have to add the checks for the shell, too.
4506 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
4508 * shell/ev-window.c (ev_window_cmd_file_open): add ps+pdf, ps, pdf
4509 and * file filters to the file choose.
4511 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
4513 * po/de.po: Updated German translation.
4515 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
4517 * shell/ev-window.c: use "S" as mnemonic for Statusbar.
4519 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
4521 * data/evince-ui.xml: add View->Toolbar and View->Statusbar.
4523 * shell/ev-window.c (menu_item_select_cb, menu_item_select_cb)
4524 (ev_window_init): implement those menuitems.
4526 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
4528 * data/evince-ui.xml: add a toolbar (with FileOpen action)
4530 * shell/ev-window.c (ev_window_init): use the toolbar.
4532 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
4534 * shell/ev-window.c (ev_window_init): use menu translations
4536 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
4538 * configure.ac: add "de" to ALL_LINGUAS.
4540 * po/de.po: add German translation.
4542 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
4544 * Makefile.am (SUBDIRS): add po
4546 * configure.ac: check intltool, glib-gettext etc, generate
4549 * po, po/POTFILES.in, po/POTFILES.skip: new.
4551 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
4553 * shell/Makefile.am (INCLUDES): define GNOMELOCALEDIR which we
4554 already use (#ifdef ENABLE_NLS)
4556 * shell/ev-window.c (ev_window_cmd_help_about): fix two star
4557 pointer indirection thinko.
4559 * shell/main.c: include gi18n.h for bindtextdomain etc.
4561 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
4563 * shell/ev-window.c (menu_item_select_cb, menu_item_deselect_cb)
4564 (connect_proxy_cb, disconnect_proxy_cb, ev_window_init): show
4565 tooltips for menu items in the statusbar.
4567 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
4569 * configure.ac, data/Makefile.am, shell/Makefile.am: use
4570 pkgdatadir drop UIDIR
4572 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
4574 * data/evince-ui.xml: Add File->Open menu item
4576 * shell/ev-window.c (ev_window_cmd_file_open): impl. (shows a file
4577 chooser), hook it up in the ui manager.
4579 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
4581 * shell/ev-window.c: fix Help->About tooltip.
4583 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
4585 * configure.ac: set CFLAGS for libevprivate.
4587 * lib/ev-stock-icons.h, lib/ev-stock-icons.c: stock icon
4588 definitions, factory etc.
4590 * lib/Makefile.am: build libevprivate.a (only stock icon code).
4592 * shell/Makefile.am: link against libevprivate.a.
4594 * shell/ev-window.c (entries): add stock icon to Help->About.
4596 * shell/main.c (main): init stock icon code.
4598 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
4600 * lib/recent-files: egg recent files code
4602 * lib/Makefile.am: add.
4604 * Makefile.am: add lib subdir.
4606 * configure.ac: gen. lib/Makefile and lib/recent-files/Makefile,
4607 set CFLAGS for recent-files.
4609 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
4611 * configure.ac: disable -ansi and -pedantic gcc flags. They
4612 disable POSIX stuff in stdio.h, but egg-recent uses them.
4614 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
4616 * configure.ac: add --disable-deprecated flag (defaults to on in
4619 * shell/Makefile.am (INCLUDES): use it.
4621 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
4623 * shell/main.c: add missing #include.
4625 * shell/ev-window.c: fix for pedantic gcc.
4626 (ev_window_cmd_help_about): split license into paragraphs for
4627 translators and pedantic compilers.
4629 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
4631 * configure.ac: add more warning flags if compiling with gcc from
4632 cvs (or explicitly requested with --enable-more-warnings).
4634 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
4636 * data/evince-ui.xml: add File and File->Close menu.
4638 * shell/ev-window.c (ev_window_cmd_file_close_window): impl.
4639 (ev_window_destroy): quit after destroy.
4640 (ev_window_class_init): override GtkObject::destroy.
4641 (entries): install close_window callback.
4643 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
4645 * Makefile.am (SUBDIRS): add data subdir.
4647 * configure.ac (UIDIR): gen data/Makefile, define UIDIR. Require
4648 gtk+ 2.5.0 for GtkAboutDialog.
4650 * data/Makefile.am, data/evince-ui.xml: add, ui definition for the
4653 * shell/Makefile.am (INCLUDES): propagate UIDIR definition.
4655 * shell/ev-window.c (ev_window_init): create a menubar, using a ui
4657 (ev_window_cmd_help_about): about command, using GtkAboutDialog.
4659 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
4661 * shell/ev-window.c, shell/ev-window.h: Created an EvWindow class.
4663 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
4665 * shell/main.c: make it a trivial gtk+ program, adjust configure.ac
4667 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
4669 * shell/*: Added shell directory boilerplate, build it.
4671 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
4673 * configure.ac, Makefile.am: Added top-level configure.ac and