1 2005-07-02 Matthew S. Wilson <msw@rpath.com>
3 * tiff/tiff-document.c (tiff_document_get_page_size): scale the
4 reported height by using the resolution aspect ratio
5 (tiff_document_render_pixbuf): scale the pixbuf using the
6 resolution aspect ratio
8 2005-07-01 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
12 Require libgnomeprint >= 2.5.1. Thanks to Colin Slater
15 * djvu/djvu-document.c: (djvu_document_get_orientation),
16 (djvu_document_set_orientation), (djvu_document_get_page_size),
17 (rotate_pixbuf), (djvu_document_render_pixbuf),
18 (djvu_document_document_iface_init):
19 * dvi/dvi-document.c: (dvi_document_get_orientation),
20 (dvi_document_set_orientation), (dvi_document_get_page_size),
21 (rotate_pixbuf), (dvi_document_render_pixbuf),
22 (dvi_document_document_iface_init):
24 Dvi and djvu backends are ported to new API
26 Fri Jul 1 00:10:15 2005 Jonathan Blandford <jrb@redhat.com>
28 * backend/ev-selection.c: (ev_selection_get_selection_region),
29 (ev_selection_get_selection_map):
30 * backend/ev-selection.h:
32 * shell/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
34 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info),
35 (job_finished_cb), (copy_job_to_job_info), (add_job_if_needed),
36 (ev_pixbuf_cache_get_text_mapping):
37 * shell/ev-pixbuf-cache.h:
38 * shell/ev-view.c: (location_in_text),
39 (ev_view_motion_notify_event), (ev_view_set_cursor): Add I-Beam
40 support to EvView. Now we can see where we can select! Sweet!
42 2005-06-30 Kristian Høgsberg <krh@redhat.com>
44 * shell/ev-view.c (ev_view_button_press_event): Fix
45 event->y + view->scroll_x typo.
47 2005-06-30 Kristian Høgsberg <krh@redhat.com>
49 * pdf/ev-poppler.cc: Adjust to poppler API changes; use a
50 sub-GdkPixbuf instead of passing dest_x and dest_y.
52 * shell/ev-view.c: (view_point_to_doc_point),
53 (view_rect_to_doc_rect), (ev_view_button_press_event),
54 (ev_view_motion_notify_event), (compute_new_selection_rect),
55 (gdk_rectangle_point_in), (compute_new_selection_text),
56 (compute_selections): Update selection code to keep the selection
57 around as two points and not as a normalized rectangle, and fix
58 page level selection in two-column mode.
60 2005-06-30 Alex Duggan <aldug@astrolinux.com>
62 * shell/ev-window.c: (window_configure_event_cb):
66 2005-06-30 Marco Pesenti Gritti <mpg@redhat.com>
72 2005-06-30 Marco Pesenti Gritti <mpg@redhat.com>
75 * shell/ev-metadata-manager.c: (item_free),
76 (ev_metadata_manager_init), (ev_metadata_manager_shutdown),
77 (parse_value), (parseItem), (load_values),
78 (ev_metadata_manager_get), (value_free), (ev_metadata_manager_set),
79 (save_values), (save_item), (get_oldest), (resize_items),
80 (ev_metadata_manager_save), (ev_metadata_manager_set_int):
81 * shell/ev-metadata-manager.h:
83 Metadata manager from gedit but modified to use GValue, so that
84 we dont need to keep converting from strings.
88 ENABLE_METADATA conditional, on when dbus is on
90 * shell/ev-application.c: (ev_application_open_uri):
92 Show the window after load so that we can initialize
93 window size before it's showed.
95 * shell/ev-window.c: (ev_window_setup_from_metadata),
96 (ev_window_open_uri), (window_configure_event_cb),
99 Save and load metadata information about window size.
100 Not yet keeping states in account.
102 * shell/main.c: (main):
104 Shutdown metadata manager.
106 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
108 * shell/ev-application-service.xml:
111 * shell/ev-application.c:
112 * shell/ev-application.h:
117 Add an optional dbus interface (--enable-dbus).
118 Rework application code, mainly to be easier to
120 Do not open multiple windows with the same document,
123 Thu Jun 30 01:50:14 2005 Jonathan Blandford <jrb@redhat.com>
125 * shell/ev-pixbuf-cache.c (clear_selection_if_needed): unref the
126 pixbuf iff it exists.
128 Thu Jun 30 01:43:00 2005 Jonathan Blandford <jrb@redhat.com>
131 * backend/ev-render-context.[ch]:
132 * backend/ev-selection.[ch]:
134 Massive changes. We now support text selection of pdfs, and not
135 just rectangular selection. This is pretty broken still, but I
136 want to get something into CVS.
138 2005-06-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
142 Fix for Bug 309080: crash on window close.
144 * shell/ev-page-action.c: (page_changed_cb):
146 Fix for Bug 309168: Fix build with gcc 2.95. Thanks to
147 jensgr@gmx.net (Jens Granseuer).
149 2005-06-25 Marcel Telka <marcel@telka.sk>
151 * configure.in (ALL_LINGUAS): Added sk.
153 2005-06-24 Carlos Garcia Campos <carlosgc@gnome.org>
155 * shell/ev-window.c: Make rotate menu entries unsensitive if there is
158 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
165 * cut-n-paste/recent-files/Makefile.am:
169 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
171 * pixbuf/pixbuf-document.c: (pixbuf_document_get_orientation),
172 (pixbuf_document_set_orientation), (rotate_pixbuf),
173 (pixbuf_document_get_page_size), (pixbuf_document_render_pixbuf),
174 (pixbuf_document_document_iface_init), (pixbuf_document_init):
176 Implement rotation and cleanup the code a bit.
178 * tiff/tiff-document.c: (tiff_document_get_page_size),
179 (tiff_document_get_orientation), (tiff_document_set_orientation),
180 (rotate_pixbuf), (tiff_document_render_pixbuf),
181 (tiff_document_document_iface_init), (tiff_document_init):
183 Implement rotation. Was the quicker solution for the release
184 but we really need to share this code in the shell.
186 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
190 Enable rotation, require poppler cvs. Fix a leak.
192 2005-06-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
194 * shell/ev-window.c: (update_action_sensitivity):
196 Make properties unsensitive if document backend doesn't provide
199 2005-06-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
201 * dvi/mdvi-lib/bitmap.c: (bitmap_alloc), (bitmap_alloc_raw),
202 (bitmap_flip_horizontally), (bitmap_flip_vertically),
203 (bitmap_flip_diagonally), (bitmap_rotate_clockwise),
204 (bitmap_rotate_counter_clockwise), (bitmap_flip_rotate_clockwise),
205 (bitmap_flip_rotate_counter_clockwise):
206 * dvi/mdvi-lib/color.c: (mdvi_push_color), (get_color_table):
207 * dvi/mdvi-lib/common.c: (read_string), (buff_free), (buff_add),
209 * dvi/mdvi-lib/common.h:
210 * dvi/mdvi-lib/dvimisc.c: (mdvi_push_color):
211 * dvi/mdvi-lib/dviread.c: (get_bytes), (dreset), (define_font),
212 (opendvi), (mdvi_reload), (mdvi_init_context),
213 (mdvi_destroy_context), (mdvi_dopage), (special):
214 * dvi/mdvi-lib/font.c: (font_drop_one), (font_free_unused):
215 * dvi/mdvi-lib/fontmap.c: (read_encoding), (destroy_encoding),
216 (file_hash_free), (register_encoding), (parse_spec),
217 (mdvi_load_fontmap), (free_ent), (mdvi_init_fontmaps),
218 (mdvi_add_fontmap_file), (mdvi_ps_read_fontmap),
219 (mdvi_ps_flush_fonts), (mdvi_ps_find_font), (mdvi_ps_get_metrics):
220 * dvi/mdvi-lib/fontsrch.c: (mdvi_list_font_class),
221 (mdvi_register_font_type), (mdvi_unregister_font_type),
222 (lookup_font), (mdvi_add_font), (mdvi_font_retry):
223 * dvi/mdvi-lib/gf.c: (gf_read_bitmap), (gf_load_font):
224 * dvi/mdvi-lib/hash.c: (mdvi_hash_remove), (mdvi_hash_remove_ptr),
225 (mdvi_hash_destroy_key), (mdvi_hash_reset):
226 * dvi/mdvi-lib/pagesel.c: (mdvi_parse_range),
227 (mdvi_parse_page_spec), (mdvi_free_page_spec), (main):
228 * dvi/mdvi-lib/paper.c: (mdvi_free_paper_specs):
229 * dvi/mdvi-lib/pk.c: (pk_lookup), (pk_lookupn), (pk_load_font):
230 * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
231 * dvi/mdvi-lib/special.c: (mdvi_register_special),
232 (mdvi_unregister_special), (mdvi_flush_specials):
233 * dvi/mdvi-lib/t1.c: (t1_lookup_font), (t1_really_load_font),
235 * dvi/mdvi-lib/tfm.c: (get_tfm_chars):
236 * dvi/mdvi-lib/tfmfile.c: (afm_load_file), (tfm_load_file),
237 (ofm1_load_file), (ofm_load_file), (get_font_metrics),
238 (free_font_metrics), (flush_font_metrics):
239 * dvi/mdvi-lib/tt.c: (tt_really_load_font), (tt_get_bitmap),
241 * dvi/mdvi-lib/util.c: (mdvi_malloc), (mdvi_realloc),
242 (mdvi_calloc), (mdvi_free), (mdvi_strdup), (mdvi_strncpy),
243 (mdvi_strndup), (mdvi_memdup), (xstradd), (dstring_append),
244 (dstring_insert), (dstring_new), (dstring_reset):
245 * dvi/mdvi-lib/vf.c: (vf_load_font), (vf_free_macros):
247 Rename xmalloc and xfree to mdvi_malloc and mdvi_free to
248 avoid conflict with libtool on FC4
250 * shell/ev-window.c: (ev_window_cmd_help_about):
252 Update copyright year. Fix for bug 308828.
254 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
256 * shell/ev-view.c: (add_scroll_binding_keypad),
257 (ev_view_binding_activated), (ev_view_class_init),
258 (on_adjustment_value_changed):
260 Bug 170874: Arrow keys switch pages in presentation mode
262 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
264 * shell/ev-window.c: (ev_window_sidebar_visibility_changed_cb):
266 Fix for Bug 308265: Sidebar dissappears coming out of
269 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
271 * shell/ev-application.c: (ev_application_open):
272 * shell/ev-document-types.c: (ev_document_types_add_filters),
273 (ev_document_types_add_filters_for_type):
274 * shell/ev-document-types.h:
275 * shell/ev-window.c: (ev_window_cmd_save_as):
277 Suggest basename as template when saving, provide filters
278 for save dialog. It's bug 308402
280 2005-06-20 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
283 * shell/ev-sidebar-links.c: (job_finished_callback):
284 * shell/ev-view.c: (update_find_status_message):
288 2005-06-19 Christian Persch <chpe@cvs.gnome.org>
290 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
291 (egg_recent_view_uimanager_set_list):
293 Fix buglet in !show_numbers case.
295 2005-06-19 Christian Persch <chpe@cvs.gnome.org>
297 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
298 (connect_proxy_cb), (egg_recent_view_uimanager_set_list):
300 Use pango ellipsisation.
304 Fix refcount leak, from nsh.
306 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
308 * cut-n-paste/recent-files/Makefile.am:
309 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
310 * cut-n-paste/recent-files/egg-recent-view-gtk.h:
312 Removed EggRecentViewGtk
314 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
315 * cut-n-paste/recent-files/egg-recent-view-uimanager.h:
316 * shell/ev-window.c: (ev_window_cmd_recent_file_activate),
317 (ev_window_setup_recent):
319 Use ViewUIManager instead of ViewGtk. Less leaks, more compatibility
322 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
324 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
325 (egg_recent_view_gtk_finalize):
329 * cut-n-paste/toolbar-editor/Makefile.am:
331 Fix location of cursor icon.
334 * shell/ev-page-action.c: (build_new_tree_cb), (match_selected_cb),
335 (display_completion_text), (match_completion):
336 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
337 (selection_changed_callback), (create_loading_model),
338 (print_section_cb), (links_page_num_func),
339 (update_page_callback_foreach):
340 * shell/ev-window.c: (ev_window_dispose):
342 Small memory fixes. Links model now store objects instead
343 of pointers to improve memory management.
345 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
347 * shell/ev-window.c: (zoom_control_changed_cb):
349 Fix update of zoom control (bug 308268).
351 Sat Jun 18 22:46:42 2005 Jonathan Blandford <jrb@redhat.com>
353 * shell/ev-properties.c (set_property): escape the text correctly.
354 Handles non-UTF-8 properties and escaped properties. Also, sets
355 the text to "<i>None</i>" if the property isn't set.
357 * data/evince-properties.glade: Change the label to be ellipsized,
358 and give it a minimum size.
360 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
362 * lib/ev-file-helpers.c: (ev_file_helpers_shutdown):
363 * shell/ev-sidebar-links.c: (create_loading_model):
364 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose):
365 * shell/ev-view.c: (ev_view_set_document):
366 * shell/ev-window.c: (ev_window_dispose):
368 Various small fixes, mostly memory leaks. Thanks to valgrind.
370 2005-06-19 Martin Kretzschmar <martink@gnome.org>
372 * ps/ps-document.c: remove the locale.h include again ;-). And
373 kill the (bogus) setlocale/savelocale business.
375 2005-06-19 Jaap A. Haitsma <jaap@haitsma.org>
379 Include locale.h to fix build
381 * shell/ev-sidebar.c:
383 Remove unnecessary includes
385 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
387 * dvi/dvi-document.c: (dvi_document_load):
388 * dvi/mdvi-lib/dviread.c: (mdvi_init_context):
391 Check for incorrect dvi files. Fix parsing dvi on AMD64
392 platform. Thanks to tester@tester.ca (Olivier Crete).
394 2005-06-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
396 * shell/ev-page-action.c: (match_selected_cb),
397 (display_completion_text), (match_completion), (update_model):
398 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
400 * shell/ev-sidebar.c: (ev_sidebar_destroy),
401 (ev_sidebar_menu_item_activate_cb), (ev_sidebar_add_page),
402 (ev_sidebar_set_document):
403 * shell/ev-window.c: (ev_window_xfer_job_cb),
404 (sidebar_widget_model_set), (sidebar_page_main_widget_update_cb):
406 Fixed lot's of memory leaks, for example, memory leak on reload,
407 described in bug 307793.
409 2005-06-18 Marco Pesenti Gritti <mpg@redhat.com>
412 * shell/ev-sidebar-thumbnails.c: (clear_range), (add_range),
413 (update_visible_range), (adjustment_changed_cb),
414 (ev_sidebar_thumbnails_fill_model),
415 (ev_sidebar_thumbnails_refresh),
416 (ev_sidebar_tree_selection_changed),
417 (ev_sidebar_icon_selection_changed),
418 (ev_sidebar_thumbnails_use_icon_view),
419 (ev_sidebar_thumbnails_set_document):
420 * shell/ev-sidebar-thumbnails.h:
421 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
422 (ev_window_cmd_edit_rotate_right), (ev_window_init):
424 Refresh thumbnails when changing orientation. Not fully
425 working yet becuase of a sidebar bug.
427 Set page orientation to poppler page everywhere. This sucks
428 really need to fix poppler.
430 2005-06-18 Marco Pesenti Gritti <mpg@redhat.com>
432 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
433 (egg_recent_view_gtk_new_menu_item),
434 (egg_recent_view_gtk_set_property),
435 (egg_recent_view_gtk_get_property),
436 (egg_recent_view_gtk_class_init), (egg_recent_view_gtk_init),
437 (egg_recent_view_gtk_set_tooltip_func),
438 (egg_recent_view_gtk_set_label_width),
439 (egg_recent_view_gtk_get_label_width):
440 * cut-n-paste/recent-files/egg-recent-view-gtk.h:
442 Sync with libegg (ellipsize labels)
444 2005-06-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
446 * data/evince-ui.xml:
447 * shell/ev-window.c: (ev_window_cmd_go_forward),
448 (ev_window_cmd_go_backward):
450 Shift + PageUp moves 10 Pages. Fix for 306125
452 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
456 Add a flag to check if orientation has been overriden
458 2005-06-17 Martin Kretzschmar <martink@gnome.org>
460 * ps/ps.c (psscan, psfree): read "Creator:" comment, free creator
463 * ps/ps.h: add creator field to document.
465 * ps/ps-document.c (ps_document_get_info): set format to PostScript,
468 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
470 * data/evince-properties.glade:
471 * shell/ev-properties.c: (ev_properties_set_document):
475 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
477 * shell/ev-properties.c: (ev_properties_set_document):
479 Remove unnecessary translations
481 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
483 * cut-n-paste/toolbar-editor/Makefile.am:
487 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
490 * cut-n-paste/recent-files/egg-recent-model.c:
491 (egg_recent_model_write_raw), (egg_recent_model_lock_file),
492 (egg_recent_model_unlock_file):
493 * cut-n-paste/recent-files/egg-recent-util.c:
494 (egg_recent_util_get_unique_id):
495 * cut-n-paste/recent-files/update-from-egg.sh:
496 * cut-n-paste/toolbar-editor/Makefile.am:
497 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
498 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
499 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
500 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
501 (egg_toolbars_model_get_type):
502 * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
504 Better makefile for toolbar editor and update everything
507 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
509 * shell/ev-window.c: (update_document_mode):
511 Prefer presentation mode when the document
514 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
516 * data/evince-ui.xml:
519 Add control-equal for zooming
521 2005-06-17 Theppitak Karoonboonyanan <thep@linux.thai.net>
523 * configure.ac: Added 'th' (Thai) to ALL_LINGUAS.
525 2005-06-16 Marco Pesenti Gritti <mpg@redhat.com>
527 * backend/ev-document.c: (ev_document_get_orientation):
528 * backend/ev-document.h:
530 * ps/ps-document.c: (ps_document_get_orientation),
531 (ps_document_set_orientation), (ps_document_document_iface_init):
533 Add a get_orientation api. Improve set_orientation.
535 * data/evince-ui.xml:
536 * shell/ev-view.c: (ev_view_set_orientation),
537 (ev_view_rotate_right), (ev_view_rotate_left):
539 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
540 (ev_window_cmd_edit_rotate_right):
542 Better ui for changing document orientation
544 2005-06-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
546 * shell/ev-sidebar-links.c: (ev_sidebar_links_get_property),
547 (ev_sidebar_links_class_init), (ev_sidebar_links_get_label):
548 * shell/ev-sidebar-links.h:
549 * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
550 (ev_sidebar_page_iface_init):
551 * shell/ev-sidebar-page.h:
552 * shell/ev-sidebar-thumbnails.c:
553 (ev_sidebar_thumbnails_get_property),
554 (ev_sidebar_thumbnails_class_init),
555 (ev_sidebar_thumbnails_set_document):
556 * shell/ev-sidebar-thumbnails.h:
557 * shell/ev-view.c: (ev_view_motion_notify_event):
558 * shell/ev-window.c: (update_chrome_visibility),
559 (ev_window_cmd_focus_page_selector),
560 (ev_window_update_fullscreen_popup), (view_actions_focus_in_cb),
561 (sidebar_page_main_widget_update_cb), (ev_window_init):
563 Autoraise toolbar on GoToPage binding and fix bindings in
564 EvSidebarThumbnails page.
566 2005-06-15 Christian Persch <chpe@cvs.gnome.org>
568 * shell/ev-properties.c: (update_progress_label):
570 Hide the progress label when finished; bug #307697.
572 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
576 Enable is_open for links, you will need poppler cvs
578 * shell/ev-properties.c: (job_fonts_finished_cb):
580 Get a lock on the document when filling the tree view
582 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
584 * backend/ev-document-links.h:
586 * shell/ev-sidebar-links.c: (create_loading_model),
587 (expand_open_links), (job_finished_callback):
589 Expand links when specified by the document.
590 Depend on a poppler api (defined out for now)
592 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
594 * shell/ev-properties.c: (ev_properties_dispose),
595 (ev_properties_class_init), (dialog_destroy_cb),
596 (ev_properties_init), (job_fonts_finished_cb), (setup_fonts_view),
597 (ev_properties_set_document), (ev_properties_new),
598 (ev_properties_show):
599 * shell/ev-properties.h:
601 Make it an object, cleanup the code, api to show it as transient
602 and to set the document.
604 * shell/ev-window.c: (ev_window_setup_document),
605 (ev_window_cmd_file_properties):
607 Adapt to EvProperties changes, do not show multiple
608 times, update it when document changes.
610 2005-06-14 Marco Pesenti Gritti <mpg@redhat.com>
613 * ps/ps-document.c: (ps_document_init), (get_page_orientation),
614 (ps_document_set_orientation), (ps_document_document_iface_init):
617 Implement orientation here too
619 * shell/ev-properties.c: (ev_properties_new):
620 * data/evince-properties.glade:
622 Hide the fonts page for backends that doesnt
625 2005-06-14 Marco Pesenti Gritti <mpg@redhat.com>
627 * backend/ev-document.c: (ev_document_set_orientation):
628 * backend/ev-document.h:
631 Add orientation api. Currently poppler api is not optimal,
632 we need to set orientation every time we _get a page.
633 I will try to fix that at some point.
635 * data/evince-ui.xml:
636 * shell/ev-window.c: (ev_window_cmd_edit_landscape),
637 (ev_window_cmd_edit_portrait), (ev_window_cmd_edit_flip):
639 Add orientation menu items
641 * shell/ev-page-cache.c: (ev_page_cache_clear):
642 * shell/ev-page-cache.h:
644 Add api to clear the cache
646 * shell/ev-view.c: (setup_caches), (clear_caches),
647 (ev_view_set_document), (ev_view_zoom_out),
648 (ev_view_set_orientation):
651 Implement orientation changing
653 2005-06-13 Marco Pesenti Gritti <mpg@redhat.com>
655 * backend/ev-document-fonts.c: (ev_document_fonts_get_progress),
656 (ev_document_fonts_scan), (ev_document_fonts_fill_model):
657 * backend/ev-document-fonts.h:
659 Separate scan and fill so that we can incrementally fill from
660 the main thread. Add a progress api.
662 * data/evince-properties.glade:
664 * shell/ev-jobs.c: (ev_job_fonts_new), (ev_job_fonts_run):
666 * shell/ev-properties.c: (update_progress_label),
667 (job_fonts_finished_cb), (setup_fonts_view):
669 Incrementally feel the list and show the progress
670 percentage in a label like acrobat does.
672 You are going to need poppler cvs
674 2005-06-11 Marco Pesenti Gritti <mpg@redhat.com>
676 * backend/ev-document-fonts.c: (ev_document_fonts_fill_model):
677 * backend/ev-document-fonts.h:
680 Make fonts model fill incrementally.
682 * shell/ev-job-queue.c: (handle_job), (search_for_jobs_unlocked),
683 (no_jobs_available_unlocked), (ev_job_queue_init), (find_queue),
684 (ev_job_queue_remove_job):
685 * shell/ev-jobs.c: (ev_job_fonts_init), (ev_job_fonts_class_init),
686 (ev_job_fonts_new), (ev_job_fonts_run):
689 New job for fonts scanning
691 * shell/ev-properties.c: (job_fonts_finished_cb),
692 (fill_fonts_treeview), (setup_fonts_view), (ev_properties_new):
693 * shell/ev-properties.h:
694 * shell/ev-window.c: (ev_window_cmd_file_properties):
696 Incrementally feel the treeview using the new job. Show Loading...
697 message until scanning is completed.
699 Hopefully I didnt break the build without the poppler patch.
701 2005-06-10 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
703 * shell/ev-application.c: (ev_application_open):
704 * shell/ev-document-types.c: (ev_document_type_from_from_mime),
705 (ev_document_type_get_type), (ev_document_type_lookup):
706 * shell/ev-document-types.h:
707 * shell/ev-job-xfer.c: (ev_job_xfer_dispose), (ev_job_xfer_run):
708 * shell/ev-job-xfer.h:
709 * shell/ev-window.c: (ev_window_clear_local_uri),
710 (ev_window_load_job_cb), (ev_window_xfer_job_cb),
711 (ev_window_open_uri), (ev_window_add_recent), (ev_window_dispose):
712 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
714 Transfer remote documents to tmp directory to display them later.
716 2005-06-10 Marco Pesenti Gritti <mpg@redhat.com>
718 * backend/ev-document-info.h:
719 * shell/ev-properties.c: (ev_properties_new):
721 s/GTime*/GTime. Not sure why we was using a pointer
724 Wed Jun 8 01:04:22 2005 Jonathan Blandford <jrb@redhat.com>
726 * shell/ev-sidebar-thumbnails.c: Use a GtkIconView in certain
727 situations. That situation is that you're using GTK+-HEAD with
728 the patch at #306726 is applied, and you have a document with <
729 1500 pages in it. It's not quite as uniformly nice as the
730 TreeView, but should be better in the long run.
732 I'm pretty sure I guarded against breaking compilation with
733 HAVE_GTK_ICON_VIEW_GET_VISIBLE_RANGE gaurds, though it's possible
736 * shell/ev-window.c (ev_window_init): We don't have our tree/list
737 widget yet, so I commented that code out
738 enable_view_actions_for_widget() for now. Need to figure this
741 * shell/ev-page-action.c (match_selected_cb): emit the right
742 signals. Our cool C-l completion now works.
744 2005-06-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
746 * backend/Makefile.am:
747 * backend/ev-document-fonts.c:
748 * backend/ev-document-links.c:
749 * backend/ev-document.c: (ev_document_load):
750 * backend/ev-document.h:
751 * backend/ev-job-queue.c:
752 * backend/ev-job-queue.h:
755 * backend/ev-page-cache.c:
756 * backend/ev-page-cache.h:
758 EvPageCache and EvJobs are moved to shell.
760 * lib/ev-file-helpers.c: (ev_file_helpers_shutdown),
762 * lib/ev-file-helpers.h:
764 New helper to work with temporary files
767 * shell/ev-application.c: (ev_application_open):
768 * shell/ev-application.h:
769 * shell/ev-job-queue.c: (remove_job_from_queue_locked),
770 (remove_job_from_async_queue), (add_job_to_async_queue),
771 (add_job_to_queue_locked), (notify_finished), (job_finished_cb),
772 (handle_job), (search_for_jobs_unlocked),
773 (no_jobs_available_unlocked), (ev_render_thread),
774 (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
775 (ev_job_queue_add_job), (move_job_async), (move_job),
776 (ev_job_queue_update_job), (ev_job_queue_remove_job):
777 * shell/ev-job-queue.h:
778 * shell/ev-job-xfer.c: (ev_job_xfer_init), (ev_job_xfer_dispose),
779 (ev_job_xfer_class_init), (ev_job_xfer_new), (ev_job_xfer_run):
780 * shell/ev-job-xfer.h:
781 * shell/ev-jobs.c: (ev_job_init), (ev_job_dispose),
782 (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
783 (ev_job_links_class_init), (ev_job_render_init),
784 (ev_job_render_dispose), (ev_job_render_class_init),
785 (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
786 (ev_job_thumbnail_class_init), (ev_job_load_init),
787 (ev_job_load_dispose), (ev_job_load_class_init), (ev_job_finished),
788 (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
789 (render_finished_cb), (ev_job_render_run), (ev_job_thumbnail_new),
790 (ev_job_thumbnail_run), (ev_job_load_new), (ev_job_load_run):
792 * shell/ev-page-action.c: (ev_page_action_set_document):
793 * shell/ev-page-cache.c: (ev_page_cache_init),
794 (ev_page_cache_class_init), (ev_page_cache_finalize),
795 (ev_page_cache_new), (ev_page_cache_get_n_pages),
796 (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
797 (ev_page_cache_set_page_label), (ev_page_cache_set_link),
798 (ev_page_cache_get_title), (ev_page_cache_get_size),
799 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
800 (ev_page_cache_get_height_to_page),
801 (ev_page_cache_get_max_label_chars),
802 (ev_page_cache_get_page_label),
803 (ev_page_cache_has_nonnumeric_page_labels),
804 (ev_page_cache_get_info), (ev_page_cache_next_page),
805 (ev_page_cache_prev_page), (ev_page_cache_get):
806 * shell/ev-page-cache.h:
807 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_update_range),
808 (ev_pixbuf_cache_clear_job_sizes),
809 (ev_pixbuf_cache_add_jobs_if_needed),
810 (ev_pixbuf_cache_set_page_range):
811 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings):
812 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document):
813 * shell/ev-sidebar-thumbnails.c:
814 (ev_sidebar_tree_selection_changed),
815 (ev_sidebar_thumbnails_set_document):
816 * shell/ev-statusbar.c: (ev_statusbar_destroy),
817 (ev_statusbar_class_init), (ev_statusbar_init), (ev_statusbar_new),
818 (ev_statusbar_get_context_id), (ev_statusbar_push),
819 (ev_statusbar_pop), (ev_statusbar_set_maximized),
820 (ev_statusbar_pulse), (ev_statusbar_show_progress),
821 (ev_statusbar_set_progress):
822 * shell/ev-statusbar.h:
823 * shell/ev-view.c: (ev_view_set_document), (ev_view_find_next),
824 (ev_view_find_previous):
825 * shell/ev-window.c: (ev_window_is_empty),
826 (ev_window_setup_document), (password_dialog_response),
827 (ev_window_clear_jobs), (ev_window_load_job_cb),
828 (ev_window_xfer_job_cb), (ev_window_open_uri),
829 (ev_window_open_uri_list), (ev_window_cmd_recent_file_activate),
830 (ev_window_print), (ev_window_print_range),
831 (ev_window_state_event), (ev_window_cmd_view_reload),
832 (menu_item_select_cb), (menu_item_deselect_cb),
833 (view_status_changed_cb), (ev_window_dispose),
834 (drag_data_received_cb), (ev_window_init):
836 * shell/main.c: (load_files):
838 New statusbar to show progress on idle. Two new jobs -
839 xfer job and load job to load document in background. And update
840 of page_cache clients to new location of code.
842 2005-06-08 Carlos Garcia Campos <carlosgc@gnome.org>
844 * shell/ev-application.c, shell/ev-window.[ch]: Allow multiple
845 selection in open dialog. It also remembers the last visited directory
846 in the current session.
848 2005-06-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
850 * shell/ev-properties.c: (ev_properties_new):
851 * shell/ev-properties.h:
852 * shell/ev-window.c: (ev_window_cmd_file_properties):
854 Get document info from page cache instead of document itself.
855 This should fix crash related to race conditions described in
858 2005-06-07 Marco Pesenti Gritti <mpg@redhat.com>
860 * ps/ps-document.c: (ps_document_init),
861 (send_ps), (get_page_box), (output), (catchPipe), (input),
862 (stop_interpreter), (file_length), (file_readable),
863 (check_filecompressedb), (ps_document_enable_interpreter),
864 (document_load), (ps_async_renderer_render_pixbuf):
867 Big cleanup of the ps code
869 2005-06-07 Marco Pesenti Gritti <mpg@redhat.com>
871 * backend/Makefile.am:
872 * backend/ev-async-renderer.c: (ev_async_renderer_get_type),
873 (ev_async_renderer_class_init), (ev_async_renderer_render_pixbuf):
874 * backend/ev-async-renderer.h:
876 Add an async renderer interface (method + callback) which
877 is useful for backends like ps.
879 * backend/ev-job-queue.c: (remove_job_from_async_queue),
880 (add_job_to_async_queue), (job_finished_cb), (handle_job),
881 (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
882 (ev_job_queue_add_job), (move_job_async), (move_job),
883 (ev_job_queue_update_job), (ev_job_queue_remove_job):
885 Add queues for async renderer, these are executed on the
888 * backend/ev-jobs.c: (ev_job_render_new), (render_finished_cb),
892 If the backend support async renderer interface use it.
894 * ps/ps-document.c: (ps_document_init), (push_pixbuf),
895 (setup_pixmap), (ps_document_get_type),
896 (ps_async_renderer_render_pixbuf),
897 (ps_document_document_iface_init), (ps_async_renderer_iface_init):
899 Implement async renderer interface.
901 2005-06-07 Nickolay V. Shmyrev <<nshmyrev@yandex.ru>>
903 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose):
905 Cleanup links job on exit.
907 2005-06-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
909 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
910 (drag_data_get_cb), (drag_data_received_cb):
911 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
912 (drag_data_get_cb), (parse_item_list),
913 (egg_toolbar_editor_load_actions):
914 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
915 (egg_toolbars_model_to_xml), (egg_toolbars_model_save),
916 (parse_item_list), (parse_toolbars):
917 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
918 (dvi_pixbuf_put_pixel):
922 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
924 * ps/ps-document.c: (start_interpreter):
926 Fix warning when loading ps
928 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
930 * ps/ps-document.c: (output):
932 Fix crash when priting gs error messages.
934 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
936 * backend/ev-page-cache.c: (_ev_page_cache_new):
937 * backend/ev-page-cache.h:
939 Use a const to return title so that we dont double
940 free it. Small cleanup and fix a leak.
942 * shell/ev-window.c: (update_window_title):
944 strdup value from get_title.
946 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
948 * shell/ev-sidebar-links.c: (job_finished_callback),
949 (ev_sidebar_links_set_document):
951 Cleanup the old job when changing document
953 2005-06-05 Nickolay V. Shmyrev <<nshmyrev@yandex.ru>>
955 * shell/ev-stock-icons.c:
956 * shell/ev-stock-icons.h:
959 Add stock icons for actions that can appear in toolbar. Fix for
962 2005-06-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
964 * backend/ev-page-cache.c: (ev_page_cache_finalize),
965 (_ev_page_cache_new), (ev_page_cache_get_max_width),
966 (ev_page_cache_get_max_height), (ev_page_cache_get_height_to_page):
967 * backend/ev-page-cache.h:
968 * shell/ev-view.c: (scroll_to_current_page),
969 (view_update_range_and_current_page), (get_page_y_offset),
970 (get_page_extents), (ev_view_size_request_continuous_dual_page),
971 (ev_view_size_request_continuous),
972 (ev_view_zoom_for_size_continuous_and_dual_page),
973 (ev_view_zoom_for_size_continuous):
975 More compact EvView layout in document with pages of different size.
977 Sat Jun 4 19:20:57 2005 Jonathan Blandford <jrb@redhat.com>
979 * shell/ev-window.c (ev_window_cmd_file_properties): fix
982 2005-06-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
984 * shell/ev-view.c: (view_set_adjustment_values):
985 * shell/ev-window.c: (ev_window_cmd_file_properties):
987 A bit different fix for rounding problem but it has no
988 problems on startup. Make properties window transient to parent.
990 2005-06-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
994 More commenting of font stuff.
996 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1000 Comment out some more fonts stuff. Should really
1001 work without the poppler patch now.
1003 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1005 * pdf/ev-poppler.cc:
1009 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1011 * data/evince-properties.glade:
1012 * pdf/ev-poppler.cc:
1013 * shell/ev-properties.c: (setup_fonts_view):
1015 Set the column title. Show the dialog only
1016 once everything is setup.
1017 Getting font info can be very slow... will
1018 prolly need to make this threaded too.
1020 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1022 * backend/Makefile.am:
1023 * backend/ev-document-fonts.c: (ev_document_fonts_get_type),
1024 (ev_document_fonts_get_fonts_model):
1025 * backend/ev-document-fonts.h:
1026 * data/evince-properties.glade:
1027 * pdf/ev-poppler.cc:
1028 * shell/ev-properties.c: (setup_fonts_view), (ev_properties_new):
1029 * shell/ev-properties.h:
1030 * shell/ev-window.c: (ev_window_cmd_file_properties):
1032 Implement fonts list. Defined out for now, since it depends
1033 on a not yet committed poppler patch.
1035 Fri Jun 3 21:07:57 2005 Jonathan Blandford <jrb@redhat.com>
1037 * shell/ev-view.c (get_page_extents): other_page isn't necessarily
1040 * shell/ev-window.c: Make sure we add the timeout when we get a
1043 * shell/ev-view.c (view_set_adjustment_values): Add 0.5 to
1044 adjustment->value before calculating the zoom factor to average
1045 out all of our rounding errors. The page no longer 'drifts' when
1048 2005-06-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1050 * data/evince-properties.glade:
1051 * shell/ev-properties.c: (ev_properties_format_date),
1054 Labels don't expand when the dialogue is resized.
1055 strftime result needs to be converted to UTF-8. Thanks
1056 to Christian Persch <chpe@gnome.org>.
1058 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1060 * data/evince-properties.glade:
1064 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1066 * backend/ev-document-info.h:
1067 * backend/ev-document.c: (ev_document_info_free):
1068 * data/evince-properties.glade:
1069 * pdf/ev-poppler.cc:
1070 * ps/ps-document.c: (ps_document_get_info):
1071 * shell/ev-properties.c: (ev_properties_format_date),
1072 (set_property), (ev_properties_new):
1073 * shell/ev-properties.h:
1074 * shell/ev-window.c: (ev_window_cmd_file_properties):
1076 Rework properties code to take only EvPropertyInfo
1077 in the constructor so that it can be useful for
1078 nautilus plugin too.
1080 Deal with backends that doesnt support some properties.
1081 Make set property code generic.
1083 2005-06-04 Christian Persch <chpe@gnome.org>
1085 * data/evince-properties.glade:
1087 fix spacings, make resizeable, and make data labels
1088 selectable + ellipsised
1090 2005-06-03 Marco Pesenti Gritti <mpg@redhat.com>
1092 * backend/ev-document-info.h:
1094 * data/evince-ui.xml:
1095 * pdf/ev-poppler.cc:
1096 * shell/Makefile.am:
1097 * shell/ev-window.c: (update_action_sensitivity),
1098 (ev_window_cmd_file_properties):
1100 Initial go at file properties. Patch by
1101 Emil Soleyman-Zomalan <emil@soleyman.com>.
1102 Needs love see #169583
1104 2005-06-02 Marco Pesenti Gritti <mpg@redhat.com>
1106 * ps/ps-document.c: (output):
1107 * ps/ps.c: (psscan):
1109 Try to render even if psscan fails.
1111 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
1113 * ps/ps.c: (psscan), (pscopydoc):
1115 Port buffered reading code from gv
1117 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
1119 * ps/ps-document.c: (interpreter_message), (output):
1121 Do not fail on interpreter messages
1123 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
1125 * backend/ev-document-misc.c:
1126 (ev_document_misc_get_thumbnail_frame):
1128 Pages can be 0 x 0, dont assert on this case
1130 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1132 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
1133 (ev_sidebar_links_class_init), (ev_sidebar_links_set_document):
1135 Correctly manage our reference on document. Finally the reload
1136 huge leak is gone...
1138 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1140 * ps/ps-document.c: (ps_document_dispose):
1142 Forgot to chain it to the parent. Thanks chpe.
1144 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1146 * ps/ps-document.c: (ps_document_dispose),
1147 (ps_document_class_init), (stop_interpreter), (document_load):
1149 Cleanup dispose a bit. Dont leak the whole pixmap.
1151 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1153 * pdf/ev-poppler.cc:
1155 Release the poppler document on dispose
1157 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1159 * shell/ev-view.c: (ev_view_set_document):
1161 Release ref on the pixbuf cache when changing
1164 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1166 * ps/ps-document.c: (ps_document_get_info):
1170 2005-05-31 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
1172 * backend/ev-page-cache.c: (ev_page_cache_init),
1173 (_ev_page_cache_new), (ev_page_cache_get_max_label_chars):
1174 * backend/ev-page-cache.h:
1175 * shell/ev-page-action.c: (page_changed_cb):
1177 Set page action entry width depending on labels width. Fix
1180 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1182 * backend/ev-link.c: (ev_link_class_init):
1184 Allow -1 as page value (error)
1186 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1188 * shell/ev-sidebar-thumbnails.c:
1189 (ev_sidebar_thumbnails_set_document):
1190 * shell/ev-view.c: (scroll_to_current_page),
1191 (view_set_adjustment_values), (ev_view_set_scroll_adjustments),
1192 (page_changed_cb), (on_adjustment_value_changed),
1193 (ev_view_set_document):
1195 Slightly modified patch by Nickolay V. Shmyrev <nshmyrev@yandex.ru>.
1198 2005-05-29 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1201 * djvu/djvu-document.c: (djvu_document_get_page_size):
1203 Require djvulibre CVS. Now djvu loading is much faster. Fix for
1206 Sat May 28 07:38:03 2005 Jonathan Blandford <jrb@redhat.com>
1208 * shell/ev-view.c (draw_one_page): modify the expose handling to
1211 * shell/ev-window.c (update_action_sensitivity): Respect
1212 permissions field. Kowtow to the man.
1214 * pdf/ev-poppler.cc: Get the permissions field.
1216 * tiff/*c: Make a tiny bit more robust.
1218 2005-05-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1220 * djvu/djvu-document.c:
1222 Pop messages from djvu context message queue.
1224 2005-05-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1226 * configure.ac, Makefile.am, shell/Makefile.am:
1227 * tiff/Makefile.am, shell/ev-document-types.c:
1229 Cleanup tiff configure checks. Fix for bug 305218.
1231 2005-05-24 Maxim V. Dziumanenko <mvd@mylinux.ua>
1233 * configure.ac: Added "uk" to ALL_LINGUAS.
1235 2005-05-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1237 * cut-n-paste/zoom-control/ephy-zoom.c:
1238 (ephy_zoom_get_changed_zoom_level):
1239 * cut-n-paste/zoom-control/ephy-zoom.h:
1240 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_set_property),
1241 (ev_view_get_property), (ev_view_class_init), (ev_view_set_zoom):
1242 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
1243 (ev_window_cmd_view_zoom_out), (ev_window_zoom_changed_cb),
1244 (zoom_control_changed_cb), (ev_window_init):
1246 Fix minor points related to moving best fit up. Introduce
1247 "zoom" property and make zoom control change it's value on
1248 notify::zoom signals. Fix for 305080.
1250 2005-05-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1252 * data/evince-ui.xml:
1253 * shell/ev-window.c: (set_view_actions_sensitivity):
1255 Use + and - as accels for zoom in and zoom out. Fix for 305001.
1257 2005-05-22 Marco Pesenti Gritti <mpg@redhat.com>
1261 Depends on poppler 0.3.2
1263 2005-05-22 Marco Pesenti Gritti <mpg@redhat.com>
1265 * cut-n-paste/recent-files/egg-recent-item.c:
1266 (egg_recent_item_get_short_name):
1267 * cut-n-paste/toolbar-editor/Makefile.am:
1268 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
1269 (new_pixbuf_from_widget):
1270 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
1271 * cut-n-paste/toolbar-editor/egg-marshal.c:
1272 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
1273 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
1277 Sat May 21 23:18:30 2005 Jonathan Blandford <jrb@redhat.com>
1279 * tiff/tiff-document.c: Rough TIFF backend.
1281 2005-05-21 Marco Pesenti Gritti <mpg@redhat.com>
1285 * cut-n-paste/toolbar-editor/Makefile.am:
1289 2005-05-21 Marco Pesenti Gritti <mpg@redhat.com>
1291 * shell/ev-view.c: (jump_to_find_result), (ev_view_can_find_next),
1292 (ev_view_find_next), (ev_view_find_previous):
1294 Remove the locks around get_n_results
1296 2005-05-21 Juerg Billeter <j@bitron.ch>
1298 * pdf/ev-poppler.c: (pdf_document_ps_exporter_begin):
1300 Pass correct number of pages to poppler.
1302 2005-05-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1306 * data/evince.desktop.in:
1307 * data/evince.desktop.in.in:
1310 Add conditionally dvi and djvu to desktop types. Fix for 304658.
1312 Sat May 21 00:21:30 2005 Jonathan Blandford <jrb@redhat.com>
1314 * shell/ev-view.c: (view_update_adjustments),
1315 (view_set_adjustment_values): cast adjustmen->value to (int)
1316 before using it. Otherwise, we get off by a pixel in some
1319 (draw_one_page): Draw the border on expose.
1321 Fri May 20 22:05:25 2005 Jonathan Blandford <jrb@redhat.com>
1323 * *shell/ev-view.c: Patch from Nickolay V. Shmyrev to reset the
1324 adjustment when the mode changes, #304923
1326 Fri May 20 02:00:03 2005 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1328 * shell/ev-view.c: Use gdk_widget_queue_draw to remove
1329 flickering on resize but still use gdk_window_scroll on
1332 Fri May 20 01:46:57 2005 Jonathan Blandford <jrb@redhat.com>
1334 * shell/ev-view.c: Patch from Nickolay Shmyrev to fix the -p
1337 Fri May 20 01:27:01 2005 Jonathan Blandford <jrb@redhat.com>
1339 * shell/ev-view.c: Patch from Nickolay Shmyrev to to scroll to
1340 second page on page_changed if possible, #304669
1342 Fri May 20 01:07:15 2005 Jonathan Blandford <jrb@redhat.com>
1344 * shell/ev-view.c (view_update_adjustments): Use gdk_window_scroll
1345 instead of gtk_widget_queue_draw. Massive speedups in scrolling.
1347 Fri May 20 01:05:10 2005 Jonathan Blandford <jrb@redhat.com>
1350 * shell/ev-view.c:(ev_view_size_allocate), (ev_view_class_init),
1351 (zoom_for_size_fit_width), (zoom_for_size_best_fit),
1352 (ev_view_zoom_for_size_presentation),
1353 (ev_view_zoom_for_size_continuous_and_dual_page),
1354 (ev_view_zoom_for_size_continuous),
1355 (ev_view_zoom_for_size_dual_page),
1356 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size):
1358 * shell/ev-window.c: (update_view_size),
1359 (ev_window_sizing_mode_changed_cb):
1361 Patch from Nickolay Shmyrev <nshmyrev@yandex.ru> to handle
1362 the scrollbars. It's not 100% right, but it's much closer. Kills
1363 an infinite loop, #304769
1366 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
1368 * data/evince-ui.xml:
1369 * shell/ev-view.c: (ev_view_scroll_view), (ev_view_class_init):
1370 * shell/ev-window.c: (set_view_actions_sensitivity):
1372 Make PgUp/Down behave like Space
1374 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
1376 * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
1377 * backend/ev-ps-exporter.h:
1378 * pdf/ev-poppler.cc:
1379 * ps/ps-document.c: (ps_document_ps_export_begin):
1380 * shell/ev-print-job.c: (idle_print_handler):
1382 Adapt to new poppler api
1384 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
1386 * cut-n-paste/zoom-control/ephy-zoom-control.c:
1387 (ephy_zoom_control_init):
1389 Translate zoom levels
1391 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
1393 * cut-n-paste/zoom-control/ephy-zoom.c:
1394 (ephy_zoom_get_zoom_level_index):
1396 Fix current zoom -> zoom control match
1398 2005-05-18 James Bowes <bowes@cs.dal.ca>
1400 * shell/ev-window.c: (ev_window_init): Give focus to the ev-view,
1401 rather than the scrolled_window that it's in. Fixes bug #304655.
1403 Tue May 17 22:54:17 2005 Jonathan Blandford <jrb@redhat.com>
1405 * shell/ev-view.c: (view_update_adjustments),
1406 (view_set_adjustment_values), (view_update_range_and_current_page),
1407 (view_scroll_to_page), (set_scroll_adjustment),
1408 (ev_view_set_scroll_adjustments), (add_scroll_binding_keypad),
1409 (ev_view_scroll), (ev_view_scroll_view),
1410 (ensure_rectangle_is_visible), (find_page_at_location),
1411 (get_link_at_location), (go_to_link), (status_message_from_link),
1412 (ev_view_size_request_continuous_dual_page),
1413 (ev_view_size_request), (ev_view_size_allocate), (ev_view_realize),
1414 (ev_view_unrealize), (ev_view_expose_event),
1415 (ev_view_button_press_event), (ev_view_motion_notify_event),
1416 (ev_view_button_release_event), (ev_gdk_color_to_rgb),
1417 (draw_rubberband), (highlight_find_results), (draw_one_page),
1418 (ev_view_finalize), (ev_view_destroy), (ev_view_class_init),
1419 (ev_view_init), (find_changed_cb), (page_changed_cb),
1420 (on_adjustment_value_changed), (ev_view_new),
1421 (ev_view_set_document), (ev_view_set_zoom),
1422 (ev_view_set_continuous), (ev_view_set_dual_page),
1423 (ev_view_set_presentation), (ev_view_zoom_in), (ev_view_zoom_out),
1424 (zoom_for_size_fit_width), (zoom_for_size_best_fit),
1425 (ev_view_zoom_for_size_presentation),
1426 (ev_view_zoom_for_size_continuous_dual_page),
1427 (ev_view_zoom_for_size_continuous),
1428 (ev_view_zoom_for_size_dual_page),
1429 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
1430 (ev_view_get_status), (ev_view_set_status),
1431 (update_find_status_message), (ev_view_get_find_status),
1432 (ev_view_set_find_status), (jump_to_find_result),
1433 (jump_to_find_page), (compute_selections), (clear_selection),
1434 (ev_view_select_all), (get_selected_text), (ev_view_copy),
1435 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
1436 (ev_view_update_primary_selection),
1437 (ev_view_create_invisible_cursor), (ev_view_set_cursor):
1439 * shell/ev-window.c: (ev_window_open_page_label),
1440 (ev_window_cmd_view_reload), (ev_window_sizing_mode_changed_cb),
1442 * shell/ev-window.h:
1443 * shell/main.c: (load_files):
1445 Massive code clean up from Nickolay Shmyrev. Keep page offset
1446 when resizing. Remove the bin_window(). Also, patch from James
1447 Bowes to fix command line page, #300641
1449 2005-05-17 Marco Pesenti Gritti <mpg@redhat.com>
1451 * data/evince-ui.xml:
1454 * shell/ev-window.c: (update_action_sensitivity):
1456 Get rid of View->Normal Size, it's just confusing
1458 Tue May 17 00:51:21 2005 Jonathan Blandford <jrb@redhat.com>
1460 * backend/ev-document-info.h:
1461 * backend/ev-document.c: (ev_document_info_free): Free the
1464 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
1465 (clear_range), (add_range), (update_visible_range),
1466 (adjustment_changed_cb), (ev_sidebar_thumbnails_init),
1467 (ev_sidebar_thumbnails_set_document):
1468 * shell/ev-window.c: (ev_window_setup_document): Only render the
1469 visible thumbnails. It takes an instant to render, but it uses
1472 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
1474 * shell/ev-sidebar-links.c: (popup_menu_cb):
1478 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
1481 * shell/ev-sidebar-links.c: (build_popup_menu), (popup_menu_cb),
1482 (button_press_cb), (ev_sidebar_links_construct):
1484 Show the popup menu also on keybindings
1486 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
1488 * shell/ev-window.c: (ev_window_print), (ev_window_print_range):
1489 * shell/ev-window.h:
1491 Expose api to print a range (with dialog). Make private _print use
1494 * shell/ev-sidebar-links.c: (print_section_cb), (button_press_cb),
1495 (ev_sidebar_links_construct):
1497 Show a print context menu on linkx, it prints the selected
1500 2005-05-15 Carlos Garcia Campos <carlosgc@gnome.org>
1502 * shell/ev-sidebar.c: make the drop down menu as width as the toggle
1505 2005-05-12 Marco Pesenti Gritti <mpg@redhat.com>
1511 * shell/ev-window.c: (build_comments_string),
1512 (ev_window_cmd_help_about):
1514 Show poppler version/backend and authors
1516 2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
1518 * cut-n-paste/zoom-control/ephy-zoom.c:
1519 (ephy_zoom_get_zoom_level_index):
1520 * cut-n-paste/zoom-control/ephy-zoom.h:
1522 Move the best fit items at the top of the list
1524 2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
1526 * shell/ev-marshal.list:
1527 * shell/ev-page-action.c: (ev_page_action_widget_class_init),
1528 (activate_cb), (match_selected_cb), (activate_link_cb),
1529 (connect_proxy), (ev_page_action_class_init):
1530 * shell/ev-page-action.h:
1532 Use signals to notify action activation. Hopefully
1533 I did not break completion since I cant test...
1535 * shell/ev-window.c: (activate_link_cb), (activate_label_cb),
1536 (register_custom_actions):
1538 Connect to page selector actions and also grab focus on
1539 the view when activated.
1541 Wed May 11 01:18:29 2005 Jonathan Blandford <jrb@redhat.com>
1543 * pdf/ev-poppler.cc:
1544 * backend/ev-page-cache.c: make page size calculation consistent
1545 and set it to (int)( width * scale + 0.5). This makes the weird
1546 line going through the middle of the page go away.
1548 * shell/ev-view.c: move painting the background page after
1549 checking the expose area covers us.
1551 2005-05-11 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1553 * data/evince-password.glade:
1555 Mark labels as not translatable. Fix for bug 302842.
1557 2005-05-10 Francisco Javier F. Serrador <serrador@cvs.gnome.org>
1559 * configure.ac: Added "es" to ALL_LINGUAS.
1561 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
1563 * data/evince-toolbar.xml:
1564 * shell/ev-window.c: (update_action_sensitivity),
1565 (ev_window_setup_document), (ev_window_set_page_mode),
1568 Remove some leftover code from jrb first continous
1569 attempt. Use the new actions, we still need good icons
1572 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
1574 * shell/ev-page-action.c: (update_pages_label), (connect_proxy):
1576 Update label when connecting proxy. Fix a warning with NULL
1579 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
1581 * data/evince-ui.xml:
1582 * shell/ev-page-action.c: (ev_page_action_grab_focus):
1583 * shell/ev-page-action.h:
1584 * shell/ev-window.c: (ev_window_cmd_focus_page_selector):
1586 Add mnemonic for edit toolbar.
1587 ctrl+l focus the page entry.
1589 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
1592 * shell/ev-window.c: (ev_window_cmd_edit_toolbar_cb),
1594 * shell/main.c: (main):
1596 Put the toolbar xml in evince own dot dir
1598 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
1600 * shell/ev-window.c: (ev_window_init):
1602 Make the toolbar not removable
1604 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
1606 * data/evince-ui.xml:
1607 * shell/ev-sidebar-links.c: (ev_sidebar_links_get_treeview):
1608 * shell/ev-sidebar-links.h:
1609 * shell/ev-sidebar-thumbnails.c:
1610 (ev_sidebar_thumbnails_get_treeview):
1611 * shell/ev-sidebar-thumbnails.h:
1612 * shell/ev-view.c: (ev_view_scroll), (ev_view_scroll_view),
1613 (ev_view_class_init):
1615 * shell/ev-window.c: (update_action_sensitivity),
1616 (ev_window_cmd_scroll_forward), (ev_window_cmd_scroll_backward),
1617 (set_view_actions_sensitivity), (view_actions_focus_in_cb),
1618 (view_actions_focus_out_cb), (enable_view_actions_for_widget),
1621 This is evil... Make space/backspace global accelerators but
1622 enable them only for some widgets (sidebars and view).
1623 I dont like it, but I dont know a better way... :/
1625 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
1627 * shell/ev-page-action.c: (ev_page_action_widget_set_page_cache),
1628 (ev_page_action_widget_finalize),
1629 (ev_page_action_widget_class_init), (update_page_cache):
1631 Keep a weak reference on proxy->page_cache so that we
1632 dont try to disconnect the signal if the object is already
1633 gone. Maybe there is a better way to cleanup reference handling
1634 in page action though...
1636 2005-05-10 Juerg Billeter <j@bitron.ch>
1638 * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
1639 * backend/ev-ps-exporter.h:
1640 * pdf/ev-poppler.cc: (pdf_document_ps_exporter_begin):
1641 * ps/ps-document.c: (ps_document_ps_export_begin):
1643 Change api to pass print range to ps_exporter_begin. The pdf backend
1644 requires this information.
1646 * shell/ev-print-job.c: (idle_print_handler):
1650 2005-05-10 Juerg Billeter <j@bitron.ch>
1652 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
1653 (idle_print_handler)
1654 * shell/ev-window.c: (ev_window_print):
1656 Support printing page range, based on patch by Amaury Jacquot
1658 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
1660 * data/evince-toolbar.xml:
1662 Add zoom control to available items
1664 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
1666 * shell/ev-window.c: (update_action_sensitivity):
1668 Set slash action insensitive when appropriate
1670 2005-05-10 Christian Persch <chpe@gnome.org>
1672 * cut-n-paste/zoom-control/ephy-zoom-action.c: (create_menu_item):
1674 Fix warning on the overflow menu
1676 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
1678 * shell/ev-window.c: (sanity_check_uri), (ev_window_open):
1680 Check for uri correctness/existence
1682 2005-05-09 Juerg Billeter <j@bitron.ch>
1684 * shell/ev-window.c: (using_postscript_printer):
1686 LPD printers use postscript, too
1688 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
1690 * shell/ev-window.c: (register_custom_actions):
1692 The zoom one is actually sort of useful,
1695 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
1697 * shell/ev-window.c: (register_custom_actions):
1699 Hide page/zoom controls from overflow, they
1702 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
1704 * cut-n-paste/update-from-egg.sh:
1706 Share it between all cut-n-paste subdirs
1708 * cut-n-paste/recent-files/Makefile.am:
1710 Fix to use "global" update-from-egg.sh
1712 * cut-n-paste/recent-files/egg-recent-model.c:
1713 (egg_recent_model_changed_timeout), (egg_recent_model_finalize):
1714 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
1715 (egg_recent_view_gtk_clear), (egg_recent_view_gtk_set_list),
1716 (egg_recent_view_gtk_finalize), (egg_recent_view_gtk_set_menu):
1720 * cut-n-paste/toolbar-editor/Makefile.am:
1722 Fix to use "global" update-from-egg.sh
1724 * cut-n-paste/toolbar-editor/eggmarshalers.list:
1728 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
1731 * cut-n-paste/Makefile.am:
1732 * cut-n-paste/recent-files/Makefile.am:
1733 * cut-n-paste/toolbar-editor/.cvsignore:
1734 * cut-n-paste/toolbar-editor/Makefile.am:
1735 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
1736 (egg_editable_toolbar_get_type), (get_toolbar_position),
1737 (get_n_toolbars), (get_dock_nth), (get_toolbar_nth), (find_action),
1738 (drag_data_delete_cb), (drag_begin_cb), (drag_end_cb),
1739 (drag_data_get_cb), (set_drag_cursor), (unset_drag_cursor),
1740 (set_item_drag_source), (create_item_from_action), (create_item),
1741 (data_is_separator), (drag_data_received_cb), (remove_toolbar_cb),
1742 (popup_toolbar_context_menu_cb), (free_dragged_item),
1743 (toolbar_drag_drop_cb), (toolbar_drag_motion_cb),
1744 (toolbar_drag_leave_cb), (create_dock), (set_fixed_style),
1745 (unset_fixed_style), (toolbar_changed_cb), (unparent_fixed),
1746 (update_fixed), (toolbar_added_cb), (toolbar_removed_cb),
1747 (item_added_cb), (item_removed_cb),
1748 (egg_editable_toolbar_construct),
1749 (egg_editable_toolbar_disconnect_model),
1750 (egg_editable_toolbar_deconstruct),
1751 (egg_editable_toolbar_set_model),
1752 (egg_editable_toolbar_set_ui_manager),
1753 (egg_editable_toolbar_set_property),
1754 (egg_editable_toolbar_get_property),
1755 (egg_editable_toolbar_class_init), (egg_editable_toolbar_init),
1756 (egg_editable_toolbar_finalize), (egg_editable_toolbar_new),
1757 (egg_editable_toolbar_new_with_model),
1758 (egg_editable_toolbar_get_edit_mode),
1759 (egg_editable_toolbar_set_edit_mode), (egg_editable_toolbar_show),
1760 (egg_editable_toolbar_hide), (egg_editable_toolbar_set_fixed),
1761 (egg_editable_toolbar_set_drag_dest), (fake_expose_widget),
1762 (new_pixbuf_from_widget), (new_separator_pixbuf),
1763 (update_separator_image), (style_set_cb),
1764 (_egg_editable_toolbar_new_separator_image),
1765 (egg_editable_toolbar_get_model):
1766 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
1767 * cut-n-paste/toolbar-editor/egg-marshal.c:
1768 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
1769 (egg_toolbar_editor_get_type), (compare_actions), (find_action),
1770 (egg_toolbar_editor_set_ui_manager), (toolbar_removed_cb),
1771 (egg_toolbar_editor_set_model), (egg_toolbar_editor_set_property),
1772 (egg_toolbar_editor_get_property), (egg_toolbar_editor_class_init),
1773 (egg_toolbar_editor_finalize), (egg_toolbar_editor_new),
1774 (drag_begin_cb), (drag_end_cb), (editor_drag_data_received_cb),
1775 (editor_drag_data_delete_cb), (drag_data_get_cb),
1776 (elide_underscores), (set_drag_cursor), (event_box_realize_cb),
1777 (editor_create_item), (update_editor_sheet), (setup_editor),
1778 (egg_toolbar_editor_init), (egg_toolbar_editor_add_action),
1779 (parse_item_list), (model_has_action), (update_actions_list),
1780 (egg_toolbar_editor_load_actions):
1781 * cut-n-paste/toolbar-editor/egg-toolbar-editor.h:
1782 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
1783 (egg_toolbars_model_get_type), (egg_toolbars_model_to_xml),
1784 (safe_save_xml), (egg_toolbars_model_save), (toolbars_toolbar_new),
1785 (toolbars_item_new), (free_toolbar_node), (free_item_node),
1786 (egg_toolbars_model_get_flags), (egg_toolbars_model_set_flags),
1787 (egg_toolbars_model_add_separator), (impl_add_item),
1788 (parse_item_list), (egg_toolbars_model_add_toolbar),
1789 (parse_toolbars), (egg_toolbars_model_load), (impl_get_item_id),
1790 (impl_get_item_data), (impl_get_item_type),
1791 (_egg_accumulator_STRING), (egg_toolbars_model_class_init),
1792 (egg_toolbars_model_init), (free_toolbar),
1793 (egg_toolbars_model_finalize), (egg_toolbars_model_new),
1794 (egg_toolbars_model_remove_toolbar),
1795 (egg_toolbars_model_remove_item), (egg_toolbars_model_move_item),
1796 (egg_toolbars_model_n_items), (egg_toolbars_model_item_nth),
1797 (egg_toolbars_model_n_toolbars), (egg_toolbars_model_toolbar_nth),
1798 (egg_toolbars_model_add_item), (egg_toolbars_model_get_item_id),
1799 (egg_toolbars_model_get_item_data),
1800 (egg_toolbars_model_get_item_type):
1801 * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
1802 * cut-n-paste/toolbar-editor/eggmarshalers.list:
1804 * data/evince-toolbar.xml:
1805 * data/evince-ui.xml:
1806 * data/hand-open.png:
1808 * shell/Makefile.am:
1809 * shell/ev-window.c: (update_chrome_visibility),
1810 (ev_window_cmd_edit_toolbar_cb), (ev_window_cmd_edit_toolbar),
1811 (ev_window_dispose), (ev_window_init):
1813 Implement epiphany like toolbar editor. Based on patch by
1814 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1816 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
1818 * shell/ev-sidebar-thumbnails.c: (page_changed_cb):
1820 Use set_cursor instead of set_selection, so that
1821 the keyboard focus moves too.
1823 2005-05-09 Aleksey Kliger <akliger@gmail.com>
1825 * dvi/mdvi-lib/tfmfile.c: (lookup_font_metrics):
1827 Fix infinite loop when loading Type1 fonts
1829 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
1831 * data/evince-ui.xml:
1832 * shell/ev-window.c:
1836 2005-05-09 Thomas de Grenier de Latour <degrenier@easyconnect.fr>
1840 Make --disable really disable
1842 2005-05-07 Juerg Billeter <j@bitron.ch>
1844 * backend/ev-page-cache.c: (ev_page_cache_set_page_label):
1846 Compare page labels even without has_labels set, fixes setting page
1849 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
1851 * shell/ev-view.c: (ev_view_create_invisible_cursor),
1852 (ev_view_set_cursor), (ev_view_button_press_event),
1853 (ev_view_motion_notify_event), (ev_view_button_release_event),
1856 Implement middle button scrolling. Based on a patch
1857 by Tommi Komulainen <tommi.komulainen@iki.fi>.
1859 2005-05-08 Marco Pesenti Gritti <mpg@redhat.com>
1861 * shell/ev-document-types.c: (get_slow_mime_type),
1862 (get_document_type_from_mime), (ev_document_type_lookup):
1863 * shell/ev-document-types.h:
1865 Change api to lookup from uri. Do fast lookup first, if the
1866 type is unknown try with data sniffing.
1868 * shell/ev-window.c: (ev_window_open), (ev_window_open_uri_list):
1869 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
1873 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
1875 * thumbnailer/Makefile.am:
1879 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
1886 * data/evince-ui.xml:
1888 Hide presentation mode for now
1890 * shell/ev-view.c: (highlight_find_results):
1892 Show current find selection only on current page
1894 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
1896 * shell/ev-view.c: (ev_view_select_all):
1898 Compute size of the actual page, not of
1901 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
1903 * shell/ev-view.c: (clear_selection), (ev_view_finalize),
1904 (view_rect_to_doc_rect), (compute_selections),
1905 (ev_view_bin_expose), (ev_view_select_all), (get_selected_text),
1906 (ev_view_copy), (ev_view_primary_get_cb),
1907 (ev_view_primary_clear_cb), (ev_view_update_primary_selection),
1908 (ev_view_button_press_event), (ev_view_motion_notify_event),
1909 (ev_view_button_release_event), (page_changed_cb):
1913 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
1915 * shell/ev-view.c: (compute_border), (get_page_extents),
1916 (doc_rect_to_view_rect), (highlight_find_results),
1917 (ev_view_bin_expose), (ev_view_select_all),
1918 (ev_view_motion_notify_event), (update_find_status_message),
1919 (jump_to_find_result), (jump_to_find_page):
1921 First go at fixing search, still buggy
1923 2005-05-04 Kristian Høgsberg <krh@redhat.com>
1925 * shell/ev-sidebar.c (ev_sidebar_init): Remove frame around
1926 dropdown box and button at the top of the sidebar.
1928 2005-05-02 James Bowes <bowes@cs.dal.ca>
1930 * configure.ac: Output zoom-control Makefile.
1931 * cut-n-paste/Makefile.am: build zoom-control subdir.
1932 * cut-n-paste/zoom-control/ephy-zoom-action.c:
1933 * cut-n-paste/zoom-control/ephy-zoom-action.h:
1934 * cut-n-paste/zoom-control/ephy-zoom-control.c:
1935 * cut-n-paste/zoom-control/ephy-zoom-control.h:
1936 * cut-n-paste/zoom-control/ephy-zoom.c:
1937 * cut-n-paste/zoom-control/ephy-zoom.h: New files imported
1938 from epiphany, and modified to add a separator into the menu.
1939 * cut-n-paste/zoom-control/Makefile.am: Build zoom-control.
1940 * data/evince-ui.xml: Replace old zoom toolbar actions with new
1941 zoom-control action.
1942 * shell/Makefile.am: Include zoom-control flags.
1943 * shell/ev-view.c: (ev_view_set_zoom), (ev_view_get_zoom),
1944 (ev_view_get_sizing_mode), (ev_view_zoom_in), (ev_view_zoom_out),
1945 (ev_view_zoom_for_size_presentation),
1946 (ev_view_zoom_for_size_continuous_and_dual_page),
1947 (ev_view_zoom_for_size_continuous),
1948 (ev_view_zoom_for_size_dual_page),
1949 (ev_view_zoom_for_size_single_page), (ev_view_zoom_normal):
1950 s/ev_view_zoom/ev_view_set_zoom/ and make public, add
1951 ev_view_get_zoom and ev_view_get_sizing_mode.
1953 * shell/ev-window.c: (update_action_sensitivity),
1954 (update_sizing_buttons), (zoom_control_changed_cb),
1955 (register_custom_actions): Initialize and use the zoom-control
1958 Sun May 1 00:46:47 2005 Jonathan Blandford <jrb@redhat.com>
1960 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init): Change the
1961 preview cache back to 1. Don't know when it got set to 0.
1963 * shell/ev-view.c: (compute_border), (ev_view_realize),
1964 (draw_one_page), (ev_view_set_property), (ev_view_get_property),
1965 (ev_view_class_init), (ev_view_init), (ev_view_set_fullscreen),
1966 (ev_view_get_fullscreen), (ev_view_set_presentation),
1967 (ev_view_get_presentation), (ev_view_set_sizing_mode),
1968 (ev_view_zoom_for_size_presentation), (ev_view_set_zoom_for_size):
1970 * shell/ev-window.c:
1971 (update_chrome_visibility),
1972 (ev_window_cmd_continuous), (ev_window_cmd_dual),
1973 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
1974 (update_document_mode), (ev_window_update_fullscreen_action),
1975 (ev_window_fullscreen), (ev_window_unfullscreen),
1976 (ev_window_cmd_view_fullscreen),
1977 (ev_window_update_presentation_action),
1978 (ev_window_run_presentation), (ev_window_stop_presentation),
1979 (ev_window_cmd_view_presentation), (ev_window_state_event),
1980 (ev_window_focus_in_event), (ev_window_focus_out_event),
1981 (ev_window_cmd_escape), (ev_window_sidebar_visibility_changed_cb):
1982 * data/evince-ui.xml: Initial presentation mode. We should
1983 probably hide this until it's done, as it's quite rough. Also,
1984 change full-screen to fullscreen and add two getters to EvView.
1986 2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
1988 * shell/ev-page-action.c: (update_page_cache),
1989 (ev_page_action_dispose):
1990 * shell/ev-window.c: (destroy_fullscreen_popup),
1991 (ev_window_create_fullscreen_popup):
1993 Use connect_object rather than explicitly
1994 disconnect on dispose.
1996 2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
1998 * shell/ev-page-action.c: (update_page_cache),
1999 (ev_page_action_dispose):
2001 2005-04-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2003 * backend/ev-page-cache.c: (_ev_page_cache_new),
2004 (ev_page_cache_set_page_label),
2005 (ev_page_cache_has_nonnumeric_page_labels):
2006 * backend/ev-page-cache.h:
2007 * shell/ev-page-action.c: (update_pages_label):
2009 If all page labels are numeric, fallback to default
2010 way to display number of pages. See bug 173185.
2012 2005-04-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2014 * shell/ev-page-action.c: (ev_page_action_dispose):
2015 * shell/ev-view.c: (view_update_range_and_current_page):
2016 * shell/ev-window.c: (ev_window_dispose):
2018 Set page on scroll in continuous mode. Fixes bug 301986.
2019 Also cleanup callbacks on destroy of EvWindow and EvPageAction.
2021 2005-04-26 Marco Pesenti Gritti <mpg@redhat.com>
2025 Require poppler 0.3.0
2027 2005-04-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2029 * shell/Makefile.am, configure.ac: Fix build problems
2030 with t1lib. Bug 301996.
2032 2005-04-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2034 * shell/ev-view.c: (ev_view_scroll_event):
2036 Scroll up increase zoom
2038 2005-04-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2040 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_class_init),
2041 (ev_view_set_sizing_mode),
2042 (ev_view_zoom_for_size_continuous_and_dual_page),
2043 (ev_view_zoom_for_size_continuous):
2044 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
2045 (ev_window_cmd_view_page_width), (ev_window_cmd_view_zoom_in),
2046 (ev_window_cmd_view_zoom_out), (ev_window_sizing_mode_changed_cb),
2049 Control + Scroll does zooming, Shift + Scroll scrolls horizontally
2050 Fix for 165473 and 165472.
2052 2005-04-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2055 * thumbnailer/Makefile.am:
2056 * thumbnailer/evince-thumbnailer-djvu.schemas.in:
2057 * thumbnailer/evince-thumbnailer-dvi.schemas.in:
2058 * thumbnailer/evince-thumbnailer.schemas.in:
2060 Make thumbnailer schemas translatable. Fix for bug 301773
2062 * thumbnailer/evince-thumbnailer-djvu.schemas:
2063 * thumbnailer/evince-thumbnailer-dvi.schemas:
2064 * thumbnailer/evince-thumbnailer.schemas:
2068 Sun Apr 24 01:37:39 2005 Jonathan Blandford <jrb@redhat.com>
2070 * shell/ev-view.c (ev_view_init): forgot to set this.
2072 Sun Apr 24 01:07:27 2005 Jonathan Blandford <jrb@redhat.com>
2074 * shell/ev-view.c: (find_page_at_location),
2075 (get_link_at_location),
2076 (ev_view_set_show_border), (ev_view_set_spacing),
2077 (ev_view_zoom_for_size_continuous_and_dual_page),
2078 (ev_view_zoom_for_size_continuous): Fix links for dual/continuous.
2079 Also, add a quick fix measuring of widths. Also, removed
2080 ev_view_set_spacing and ev_view_set_show_border.
2082 * shell/ev-window.c: (ev_window_unfullscreen),
2083 (ev_window_cmd_view_fullscreen): Don't adjust the border/spacing.
2085 2005-04-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2087 * shell/ev-view.c: (view_update_range_and_current_page),
2090 Fix crash on exit and scrolling to page in continuous view.
2092 Sat Apr 23 13:13:04 2005 Jonathan Blandford <jrb@redhat.com>
2095 * backend/ev-page-cache.c: (_ev_page_cache_new),
2096 (ev_page_cache_get_max_width_size),
2097 (ev_page_cache_get_max_height_size):
2098 * backend/ev-page-cache.h:
2099 * data/evince-ui.xml:
2100 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init):
2101 * shell/ev-view.c: (view_update_adjustments),
2102 (view_update_range_and_current_page), (get_bounding_box_size),
2103 (ev_view_size_request_continuous_and_dual_page),
2104 (ev_view_size_request_continuous),
2105 (ev_view_size_request_dual_page),
2106 (ev_view_size_request_single_page), (ev_view_size_request),
2107 (ev_view_size_allocate), (get_page_extents), (draw_one_page),
2108 (ev_view_bin_expose), (ev_view_expose_event),
2109 (ev_view_set_property), (ev_view_get_property),
2110 (ev_view_class_init), (ev_view_init), (ev_view_new),
2111 (page_changed_cb), (ev_view_zoom), (ev_view_set_continuous),
2112 (ev_view_set_dual_page), (ev_view_set_full_screen),
2113 (ev_view_set_presentation), (ev_view_set_sizing_mode),
2114 (ev_view_can_zoom_in), (ev_view_can_zoom_out), (ev_view_zoom_in),
2115 (ev_view_zoom_out), (zoom_for_size_fit_width),
2116 (zoom_for_size_best_fit),
2117 (ev_view_zoom_for_size_continuous_and_dual_page),
2118 (ev_view_zoom_for_size_continuous),
2119 (ev_view_zoom_for_size_dual_page),
2120 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
2121 (ev_view_show_cursor), (ev_sizing_mode_get_type):
2123 * shell/ev-window.c: (update_action_sensitivity),
2124 (ev_window_cmd_continuous), (ev_window_cmd_dual),
2125 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
2126 (update_sizing_buttons), (ev_window_cmd_view_zoom_in),
2127 (ev_window_cmd_view_zoom_out), (update_view_size),
2128 (ev_window_set_sizing_mode), (ev_window_init):
2130 Add Continuous and Dual page modes.
2132 2005-04-23 James Bowes <bowes@cs.dal.ca>
2134 * dvi/dvi-document.c: (dvi_document_load),
2135 (dvi_document_thumbnails_get_thumbnail),
2136 (dvi_document_init_params): Fix up some mixups between
2137 width and height to correct thumbnail rendering.
2139 2005-04-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2141 * dvi/mdvi-lib/private.h:
2142 * dvi/mdvi-lib/setup.c: (mdvi_init_kpathsea):
2144 Suppess output for kpathsea during font generation. Thanks to
2147 Fri Apr 22 19:57:46 2005 Jonathan Blandford <jrb@redhat.com>
2154 * Makefile.am: fix distcheck.
2156 2005-04-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2158 * shell/ev-sidebar-links.c: (selection_changed_callback),
2159 (update_page_callback), (row_activated_callback),
2160 (job_finished_callback), (ev_sidebar_links_set_document):
2162 Fix for bug #169901. Double click on links expands tree.
2164 2005-03-14 Bryan Clark <clarkbw@cvs.gnome.org>
2166 * shell/ev-window.c (ev_window_init): Removed fullscreen toolbar
2167 hard-coded style. Fix for bug 170111
2169 2005-04-22 Kristian Høgsberg <krh@redhat.com>
2171 * shell/ev-view.c (highlight_find_results): Remove unnecessary
2174 2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
2176 * thumbnailer/evince-thumbnailer.schemas: real fix for bug 172496
2178 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
2180 * pdf/ev-poppler.cc:
2181 * shell/ev-view.c: (highlight_find_results):
2183 Fix find on single page documents
2185 2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
2187 * data/evince.schemas.in: fix for bug 301390
2189 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
2191 * shell/ev-view.c: (ev_view_can_zoom_in), (ev_view_can_zoom_out),
2192 (ev_view_zoom_out), (ev_view_zoom_normal):
2194 * shell/ev-window.c: (update_action_sensitivity),
2195 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
2196 (ev_window_cmd_view_zoom_in), (ev_window_cmd_view_zoom_out),
2197 (ev_window_cmd_view_normal_size):
2199 Fix normal size zoom. Make zoom in/zoom out unsensitive when
2200 they are behyond the limits. Tweak MAX_ZOOM to 6, sucks but
2203 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
2207 Depend on 2.57, 2.59 doesnt seem to be necessary
2209 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
2211 * shell/ev-page-action.c: (update_pages_label), (page_changed_cb),
2214 Put back total number of pages as (1 of 1234)
2216 Thu Apr 21 23:37:52 2005 Jonathan Blandford <jrb@redhat.com>
2218 * shell/ev-pixbuf-cache.c (dispose_cache_job_info): actually
2221 * backend/ev-document.h: Remove EV_DOC_MUTEX in favor of a locking
2222 function. This helps debugging.
2224 2005-04-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2226 * djvu/djvu-document.c: (djvu_document_class_init),
2227 (djvu_document_get_info), (djvu_document_document_iface_init):
2228 * dvi/dvi-document.c: (dvi_document_class_init),
2229 (dvi_document_get_info), (dvi_document_document_iface_init):
2231 Dummy implementation of get_info method for dvi and djvu. Fix
2232 crashes with those backends
2234 2005-04-20 Marco Pesenti Gritti <mpg@redhat.com>
2236 * data/evince.desktop.in:
2238 Add application/x-gzpostscript
2240 2005-04-20 Bryan Clark <clarkbw@cvs.gnome.org>
2242 * data/evince.schemas.in: Added real long descriptions,
2245 * README: Added actual text, closes bug 171869
2247 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
2249 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
2253 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
2255 * backend/ev-document-info.h:
2257 s/GDate */GDate so we can just use g_free
2259 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
2261 * shell/ev-window.c: (update_document_mode),
2262 (ev_window_setup_document):
2264 Show the window in fullscreen when specified by
2267 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
2269 * backend/ev-document.c: (ev_document_class_init),
2270 (ev_document_get_info), (ev_document_render_pixbuf):
2271 * backend/ev-document.h:
2272 * backend/ev-page-cache.c: (_ev_page_cache_new):
2273 * pdf/ev-poppler.cc:
2274 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
2275 (pixbuf_document_get_info), (pixbuf_document_document_iface_init):
2276 * ps/ps-document.c: (ps_document_class_init), (document_load),
2277 (ps_document_get_info), (ps_document_document_iface_init):
2279 Remove get_title from the interface, we can just use document info
2281 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
2283 * backend/Makefile.am:
2284 * backend/ev-document.c: (ev_document_render_get_info):
2285 * backend/ev-document.h:
2286 * pdf/ev-poppler.cc:
2288 Initial support for document info. Based on jrb patch.
2290 2005-04-19 Paolo Borelli <pborelli@katamail.com>
2292 * shell/ev-window.c: (ev_window_state_event),
2293 (ev_window_class_init), (ev_window_init):
2295 Doesn't show resize grip when maximized. See bug #301053
2297 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2301 ev-sidebar-thumbnails now has translatable labels
2303 * shell/Makefile.am:
2304 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document),
2305 (ev_sidebar_links_support_document), (ev_sidebar_links_get_label),
2306 (ev_sidebar_links_page_iface_init):
2307 * shell/ev-sidebar-links.h:
2308 * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
2309 (ev_sidebar_page_support_document), (ev_sidebar_page_set_document),
2310 (ev_sidebar_page_get_label):
2311 * shell/ev-sidebar-page.h:
2312 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_new),
2313 (ev_sidebar_thumbnails_set_document),
2314 (ev_sidebar_thumbnails_support_document),
2315 (ev_sidebar_thumbnails_get_label),
2316 (ev_sidebar_thumbnails_page_iface_init):
2317 * shell/ev-sidebar-thumbnails.h:
2318 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
2319 (ev_sidebar_set_document):
2320 * shell/ev-sidebar.h:
2321 * shell/ev-window.c: (ev_window_setup_document), (ev_window_init):
2323 Small rework of sidebar code. Now sidebar pages should implement
2324 EvSidebarPage interface. That makes page management in EvSidebar
2325 easier. See bug #164811 for details
2327 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2329 * shell/ev-application.c: (ev_application_open):
2330 * shell/ev-document-types.c:
2332 Fix build error and small problem with application exit
2334 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2336 * thumbnailer/Makefile.am:
2337 * thumbnailer/evince-thumbnailer-djvu.schemas:
2338 * thumbnailer/evince-thumbnailer-dvi.schemas:
2340 Conditionally install schemas for djvu/dvi thumbnailer
2342 2005-04-18 David Malcolm <dmalcolm@redhat.com>
2344 * shell/ev-document-types.h:
2345 * shell/ev-document-types.c:
2346 New files, handling the mapping from mimetypes to backends
2348 * shell/ev-window.c:
2349 * thumbnailer/evince-thumbnailer.c:
2350 Use the ev-document-types code
2352 * shell/Makefile.am:
2353 Added new convenience library libevbackendfactory_la, containing
2354 the new mimetype->backend logic; moved the backends into it.
2356 * thumbnailer/Makefile.am:
2357 Make the thumbnailer link with the libevbackend.la convenience
2358 library, rather than having a duplicate of the backend logic here.
2360 2005-04-18 Paolo Borelli <pborelli@katamail.com>
2362 * shell/ev-stock-icons.c: constify some vars.
2363 * shell/ev-window.c: ditto.
2365 2005-04-18 Marco Pesenti Gritti <mpg@redhat.com>
2367 * ps/ps-document.c (get_page_orientation):
2369 Respect document orientation
2371 2005-04-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2375 * shell/Makefile.am:
2377 Move library dependencies to components.
2379 * shell/ev-window.c: (update_window_title),
2380 (start_loading_document):
2382 Fix display of uris with spaces. Bug 168358.
2384 Sat Apr 16 18:53:47 2005 Jonathan Blandford <jrb@redhat.com>
2386 * shell/ev-sidebar-links.c: (selection_changed_cb):
2387 * shell/ev-view.c: (ev_view_finalize), (go_to_link),
2388 (ev_view_button_release_event), (ev_view_set_document):
2390 * shell/ev-window.c: (find_bar_search_changed_cb):
2391 * shell/ev-window.h: Minor cleanups removing some dead code.
2393 2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2395 * backend/ev-page-cache.c: (_ev_page_cache_new):
2397 Set current page to 0 if document has pages.
2399 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
2401 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
2403 Initialize GError to NULL, fix a crash when loading fails.
2405 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
2407 * shell/ev-window.c: (update_view_size):
2409 Calculate shadow size only when there is actually
2412 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
2414 * shell/ev-view.c: (ev_view_set_spacing), (ev_view_init):
2417 Allow setting view spacing, default to 0
2419 * shell/ev-window.c: (ev_window_unfullscreen),
2420 (ev_window_cmd_view_fullscreen), (ev_window_init):
2422 Remove spacing in fullscreen mode
2424 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
2426 * shell/ev-view.c: (compute_border), (compute_zoom_factor),
2427 (ev_view_size_request), (expose_bin_window),
2428 (ev_view_set_show_border), (ev_view_init), (page_changed_cb):
2430 * shell/ev-window.c: (ev_window_unfullscreen),
2431 (ev_window_cmd_view_fullscreen):
2433 Do not draw the border in fulscreen
2435 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
2437 * shell/ev-view.c: (ev_view_get_offsets), (compute_zoom_factor),
2438 (ev_view_size_request), (expose_bin_window), (ev_view_select_all),
2439 (find_page_at_location), (page_changed_cb):
2441 Rework border calculation, so that I can more easily disable it.
2442 Code somewhat cleaner too.
2444 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
2446 * backend/ev-page-cache.c: (ev_page_cache_init),
2447 (_ev_page_cache_new):
2449 Remove some assertions, documents can have 0 pages.
2450 Make initial current page -1.
2452 * shell/ev-page-action.c: (page_changed_cb):
2454 Show "" if current page is -1
2456 * shell/ev-window.c: (update_action_sensitivity),
2457 (ev_window_setup_document):
2459 When document has 0 pages do not set the view
2460 and make nearly everything insensitive.
2462 2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2464 * shell/ev-page-view.c:
2465 * shell/ev-page-view.h:
2467 Remove unused files.
2469 * shell/ev-sidebar-thumbnails.c:
2470 (ev_sidebar_thumbnails_set_document):
2471 * shell/ev-sidebar.c: (ev_sidebar_set_document),
2472 (ev_sidebar_supports_document):
2473 * shell/ev-sidebar.h:
2474 * shell/ev-window.c: (ev_window_setup_document):
2476 Doesn't show thumbnails if document has 1 page. Make
2477 sidebar menu entries sensitive only if if they have
2478 sense. Fix bug 164811.
2480 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
2482 * shell/ev-view.c: (compute_zoom_factor), (ev_view_size_request),
2483 (page_changed_cb), (ev_view_zoom), (ev_view_zoom_in),
2484 (ev_view_zoom_out), (ev_view_set_size):
2486 Rework sizing to deal with documents with not uniform page
2489 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
2491 * backend/ev-page-cache.c: (_ev_page_cache_new):
2493 Fix several page size caching bugs
2495 2005-04-15 Luca Ferretti <elle.uca@libero.it>
2497 * shell/ev-window.c: (set_action_properties):
2499 Make all toolbar items translatable
2501 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
2503 * ps/ps-document.c: (ps_document_init), (ps_document_get_type),
2504 (save_page_list), (ps_document_save),
2505 (ps_document_document_iface_init), (ps_document_ps_export_begin),
2506 (ps_document_ps_export_do_page), (ps_document_ps_export_end),
2507 (ps_document_ps_exporter_iface_init):
2510 Based on a patch by J�rg Billeter <j@bitron.ch>
2512 Implement print and save a copy for the ps backend.
2514 2005-04-14 Marco Pesenti Gritti <mpg@redhat.com>
2516 * backend/ev-document.h:
2517 * djvu/djvu-document.c: (djvu_document_can_get_text),
2518 (djvu_document_document_iface_init):
2519 * dvi/dvi-document.c: (dvi_document_can_get_text),
2520 (dvi_document_document_iface_init):
2521 * pdf/ev-poppler.cc:
2522 * pixbuf/pixbuf-document.c: (pixbuf_document_can_get_text),
2523 (pixbuf_document_document_iface_init):
2524 * ps/ps-document.c: (ps_document_can_get_text),
2525 (ps_document_document_iface_init):
2526 * shell/ev-view.c: (ev_view_copy), (ev_view_primary_get_cb):
2527 * shell/ev-window.c: (update_action_sensitivity):
2529 Fix the crash when trying to copy in backends that doesnt
2530 support it. We can implement a better solution once we
2531 do real text selection.
2533 2005-04-12 Marco Pesenti Gritti <mpg@redhat.com>
2535 * data/evince-ui.xml:
2536 * shell/ev-window.c: (ev_window_cmd_escape):
2538 Work around the Escape conflict (find bar and unfullscreen)
2540 2005-04-12 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
2542 * backend/ev-page-cache.c: (ev_page_cache_next_page):
2544 Fix for #300233. Next page correctly handles document end.
2546 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
2547 (ev_sidebar_thumbnails_class_init),
2548 (ev_sidebar_thumbnails_set_document),
2549 (ev_sidebar_thumbnails_clear_job),
2550 (ev_sidebar_thumbnails_clear_model):
2552 Cleanup thumbnail jobs on document changes.
2554 * shell/ev-view.c: (add_scroll_binding_keypad),
2555 (add_scroll_binding_shifted), (ev_view_class_init):
2557 Shift + Space scrolls up. Fix for #173184
2559 * shell/ev-window.c: (ev_window_open_page),
2560 (ev_window_cmd_view_reload):
2562 Fix reload (Bug #300094)
2564 2005-04-09 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2567 * dvi/mdvi-lib/assoc.c:
2568 * dvi/mdvi-lib/assoc.h: Removed garbage files
2570 * dvi/mdvi-lib/bitmap.c:
2571 * dvi/mdvi-lib/color.c: (mdvi_set_color), (mdvi_push_color),
2572 (mdvi_pop_color), (mdvi_reset_color), (get_color_table):
2573 * dvi/mdvi-lib/color.h: Antialias of rules
2575 * dvi/mdvi-lib/common.h:
2576 * dvi/mdvi-lib/dviread.c: (mdvi_configure), (mdvi_init_context),
2577 (mdvi_destroy_context), (draw_shrink_rule), (draw_box), (set_rule):
2578 * dvi/mdvi-lib/files.c:
2579 * dvi/mdvi-lib/fontmap.c: (ps_init_default_paths):
2580 * dvi/mdvi-lib/mdvi.h:
2581 * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
2582 * dvi/mdvi-lib/tfmfile.c: (ofm_load_file):
2583 * dvi/mdvi-lib/util.c: Fix compile warnings
2585 * dvi/dvi-document.c:
2586 (dvi_document_load), (dvi_document_thumbnails_get_dimensions),
2587 (dvi_document_thumbnails_get_thumbnail),
2588 (dvi_document_document_thumbnails_iface_init):
2589 * dvi/mdvi-lib/Makefile.am:
2590 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
2591 (dvi_pixbuf_set_color), (mdvi_pixbuf_device_render):
2593 Dvi backend now renders thumbnails
2595 2005-04-09 Christian Persch <chpe@cvs.gnome.org>
2597 * shell/main.c: (main):
2599 Save accelerators on exit. Fixes bug #172095.
2601 Sat Apr 9 01:05:09 2005 Jonathan Blandford <jrb@redhat.com>
2603 * shell/ev-pixbuf-cache.c (move_one_job): Actually fix the "FIXME:
2604 update priority" comment.
2606 * backend/ev-job-queue.c: Give a way to change priority.
2608 Sat Apr 9 00:05:36 2005 Jonathan Blandford <jrb@redhat.com>
2610 * shell/ev-page-action.c: Fix logic.
2612 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
2614 * shell/ev-view.c: (ev_view_can_find_next):
2615 * shell/ev-window.c: (ev_window_setup_document):
2617 Check that the document supports find
2619 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
2621 * data/evince-ui.xml:
2622 * shell/ev-view.c: (ev_view_can_find_next):
2624 * shell/ev-window.c: (update_action_sensitivity),
2625 (find_changed_cb), (ev_window_setup_document),
2626 (ev_window_cmd_edit_find_next):
2630 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
2632 * pdf/ev-poppler.cc:
2633 * shell/ev-print-job.c: (idle_print_handler):
2635 Make printing work again
2637 Fri Apr 8 01:12:24 2005 Jonathan Blandford <jrb@redhat.com>
2639 * shell/ev-page-action.h:
2640 * shell/ev-page-action.c: (ev_page_action_widget_init),
2641 (ev_page_action_widget_class_init), (page_changed_cb),
2642 (create_tool_item), (update_page_cache), (build_new_tree_cb),
2643 (get_filter_model_from_model), (match_selected_cb),
2644 (display_completion_text), (match_completion), (update_model),
2645 (connect_proxy), (ev_page_action_set_property),
2646 (ev_page_action_get_property), (ev_page_action_set_document),
2647 (ev_page_action_set_model), (ev_page_action_class_init): Big
2648 reworking to make completions work iff we have >= GTK-2.7.0
2650 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_property),
2651 (ev_sidebar_links_get_property), (ev_sidebar_links_class_init),
2652 (job_finished_cb): We now have a 'model' property that is set when
2653 the links are loaded. This can be caught with "notify::model"
2655 * shell/ev-window.c: (sidebar_widget_model_set), (ev_window_init):
2656 listen for the model to be set, and propagate it to the action.
2658 2005-04-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2660 * cut-n-paste/recent-files/egg-recent-item.c:
2661 (egg_recent_item_set_uri), (make_valid_utf8),
2662 (egg_recent_item_set_mime_type), (egg_recent_item_get_mime_type):
2663 * cut-n-paste/recent-files/egg-recent-item.h:
2665 Update egg-recent from libegg. This should fix long
2666 startup problem. For details see
2667 http://bugzilla.gnome.org/show_bug.cgi?id=160531
2669 2005-04-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2671 * cut-n-paste/recent-files/Makefile.am:
2672 * data/evince-ui.xml, shell/Makefile.am:
2673 * shell/ev-application.c, shell/ev-application.h:
2674 * shell/ev-window.c: Recent files support.
2676 * configure.ac: Added "ru" to ALL_LINGUAS.
2678 * dvju: new backend to support DJVU files.
2679 * dvi: new backend to support DVI.
2681 * configure.ac, Makefile.am, shell/Makefile.am, ev-window.c:
2682 * ev-application.c: Support for new backends.
2684 * help, ev-window.c, main.c shell/Makefile.am:
2685 Evince user documentation.
2687 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
2690 * shell/ev-window.c:
2691 * thumbnailer/evince-thumbnailer.c:
2693 s/pdf-document/ev-poppler
2695 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
2702 * ps/ps-document.c: (setup_pixmap):
2706 2005-04-05 Kristian Høgsberg <krh@redhat.com>
2708 * backend/ev-page-cache.c (ev_page_cache_next_page):
2709 * shell/ev-window.c (ev_window_cmd_go_next_page)
2710 (ev_window_cmd_go_first_page): Fix of by one errors.
2712 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
2714 * ps/ps-document.c: (get_page_box):
2716 Fix page size calculation
2718 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
2720 * ps/ps-document.c: (ps_document_init), (push_pixbuf),
2721 (ps_document_cleanup), (setup_pixmap), (get_page_box),
2722 (get_page_orientation), (setup_page), (document_load),
2723 (ps_document_get_page_size), (render_pixbuf_idle):
2726 More refactoring to adapt to EvDocument changes
2728 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
2730 * ps/ps-document.c: (start_interpreter):
2732 Actually add alpha args
2734 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
2736 * pdf/ev-poppler.cc:
2738 Make clipboard work again
2740 2005-04-04 Kristian Høgsberg <krh@redhat.com>
2742 Make searching work again.
2744 * backend/ev-document.c:
2745 * backend/ev-document.h:
2746 * backend/ev-document-find.c:
2747 * backend/ev-document-find.h: Change EvDocumentIface so we no
2748 longer store the current page or zoom level in the document. The
2749 consequence is that all calls that operate on the current page now
2750 instead take the page number as an extra argument, and all
2751 coordinates are now doubles in document coordinate system.
2753 * pdf/ev-poppler.cc:
2754 * pixbuf/pixbuf-document.c:
2755 * ps/ps-document.c: Update backends accordingly.
2757 2005-04-04 Marco Pesenti Gritti <marco@gnome.org>
2761 Add required gettext version
2763 Sat Apr 2 18:57:00 2005 Jonathan Blandford <jrb@redhat.com>
2765 * shell/evwindow.c: Patch from Alberto Mesas <amesas@gmail.com> to
2766 make F1 bring up non-existent help.
2768 * shell/eggfindbar.c: Patch from Christian Persch to sync to
2769 epiphany's find bar, #167477
2771 * shell/ev-view.c (ev_view_jump): Patch from Emil Soleyman-Zomalan
2772 <emil@nishra.com> to add space-bar scrolling,
2774 * shell/ev-window.c (static GtkActionEntry entries): add default
2775 keybinding for Help (F1)
2778 * shell/ev-view.c (ev_view_show_cursor): Fix from Yuval Tanny
2779 changing EV_VIEW_CURSOR_LINK to EV_VIEW_CURSOR_NORMAL resolves bug
2782 2005-04-01 David Malcolm <dmalcolm@redhat.com>
2785 * pixbuf/pixbuf-document.c:
2787 Got pixbuf backend working again
2789 2005-04-01 Steve Murphy <murf@e-tools.com>
2791 * configure.in: Added "rw" to ALL_LINGUAS.
2793 Fri Apr 1 02:33:41 2005 Jonathan Blandford <jrb@redhat.com>
2795 * shell/ev-sidebar-links.c (create_loading_model): Fix mismatch in
2796 model types, noticed by Martin Kretzschmar.
2798 2005-04-01 Kristian Høgsberg <krh@redhat.com>
2800 * pdf/ev-poppler.cc: Implement search based on
2801 poppler_page_find_text(). Currently a bit crude since we remember
2802 all matches from all pages. Also, we grab the big document lock
2803 when we search since searching changes the underlying stream and
2804 thus conflicts with the rendering thread.
2806 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
2807 (jump_to_find_page), (ev_view_set_document), (ev_view_find_next),
2808 (ev_view_find_previous): Fix some page indexes to be 0 based,
2809 offset rubber band by view offset,
2811 Fri Apr 01 09:21:12 2005 Pablo Saratxaga <pablo@mandrakesoft.com>
2813 * configure.ac: Added Walloon (wa) to ALL_LINGUAS.
2815 Fri Apr 1 01:59:39 2005 Jonathan Blandford <jrb@redhat.com>
2817 * shell/ev-page-action.c: Changed to use page labels now. Rewrote
2818 completely because I didn't understand GtkActions. I should
2819 read Marco's code more carefully in the future.
2821 * backend/ev-page-cache.h (ev_page_cache_set_page_label): New
2824 2005-03-31 Kristian Høgsberg <krh@redhat.com>
2826 * pdf/ev-poppler.cc (pdf_document_get_links): Update to work with
2827 PopplerRectangle change from poppler CVS.
2829 Thu Mar 31 13:27:50 2005 Jonathan Blandford <jrb@redhat.com>
2831 * backend/ev-document.c: (ev_document_get_page_label):
2832 * backend/ev-document.h:
2833 * backend/ev-page-cache.c: (_ev_page_cache_new),
2834 (ev_page_cache_get_page_label):
2835 * backend/ev-page-cache.h:
2836 * pdf/ev-poppler.cc:
2837 * shell/ev-sidebar-links.c: (ev_sidebar_links_construct),
2838 (links_page_num_func):
2839 * shell/ev-sidebar-thumbnails.c:
2840 (ev_sidebar_thumbnails_set_document):
2841 * shell/ev-view.c: (status_message_from_link),
2842 (ev_view_motion_notify_event):
2843 * shell/ev-window.c: (document_supports_sidebar): Add in page
2844 label support. It's not perfect yet, but it's the first 'feature'
2846 Also, fix a bogus comment noticed by crispin.
2848 Thu Mar 31 01:21:58 2005 Jonathan Blandford <jrb@redhat.com>
2850 * Makefile.am: Remove pixbuf backend for now
2852 * configure.ac: Require poppler-glib instead of just poppler.
2854 * backend/ev-document-thumbnails.h: Add a comment
2856 * backend/ev-document.h:
2857 * backend/ev-document.c: (ev_document_class_init),
2858 (ev_document_load), (ev_document_get_link),
2859 (ev_document_get_links): Remove 3 methods and add get_links.
2862 * backend/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
2863 * backend/ev-jobs.h: now EvJobRender can grab the links for a document.
2865 * backend/ev-link.c: (ev_link_set_title),
2866 (ev_link_mapping_free_foreach), (ev_link_mapping_free),
2867 (ev_link_mapping_find):
2868 * backend/ev-link.h: Allow NULL titles. Also, introduce a mapping link.
2870 * backend/ev-page-cache.c: (ev_page_cache_init),
2871 (_ev_page_cache_new), (ev_page_cache_set_current_page),
2872 (ev_page_cache_get_size), (ev_page_cache_next_page),
2873 (ev_page_cache_prev_page): Fix to be 0 based.
2877 * pdf/ev-poppler.cc: New backend.
2879 * ps/ps-document.c: (ps_document_init), (ps_document_set_page),
2880 (ps_document_get_page), (ps_document_document_iface_init):
2882 * shell/ev-pixbuf-cache.h:
2883 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
2884 (dispose_cache_job_info), (job_finished_cb), (move_one_job),
2885 (ev_pixbuf_cache_update_range), (copy_job_to_job_info),
2886 (add_job_if_needed), (ev_pixbuf_cache_set_page_range),
2887 (ev_pixbuf_cache_get_pixbuf), (ev_pixbuf_cache_get_link_mapping):
2888 Fix up code to grab a page cache per each doc. Also, fix to be 0
2891 * shell/ev-sidebar-thumbnails.c:
2892 (ev_sidebar_tree_selection_changed), (page_changed_cb),
2893 (ev_sidebar_thumbnails_set_document): Fix to be 0 based.
2895 * shell/ev-view.c: (status_message_from_link),
2896 (find_page_at_location), (get_link_at_location),
2897 (ev_view_motion_notify_event), (ev_view_button_release_event),
2898 (ev_view_init): Use the new link code. Fix to be 0 based.
2900 * shell/ev-window.c: (update_action_sensitivity),
2901 (document_supports_sidebar): 0 based.
2903 Fri Mar 25 16:55:58 2005 Jonathan Blandford <jrb@redhat.com>
2905 * pdf/pdf-document.cc: Patch from Fernando Herrera
2906 <fherrera@onirica.com> to fix my quick fix to get_thumbnail.
2909 Wed Mar 23 23:49:41 2005 Jonathan Blandford <jrb@redhat.com>
2911 * pdf/pdf-document.cc (pdf_document_thumbnails_get_thumbnail): add
2912 1 to the page, as this seems to be 1 based. I thought we has this
2915 2005-03-23 Marco Pesenti Gritti <marco@gnome.org>
2918 * backend/Makefile.am:
2919 * backend/ev-document-links.c:
2920 (ev_document_links_has_document_links),
2921 (ev_document_links_get_links_model):
2922 * backend/ev-document-links.h:
2923 * backend/ev-document.c: (ev_document_get_page_cache),
2924 (ev_document_get_doc_mutex), (ev_document_load),
2925 (ev_document_save), (ev_document_get_title),
2926 (ev_document_get_n_pages), (ev_document_set_page),
2927 (ev_document_get_page), (ev_document_set_target),
2928 (ev_document_set_scale), (ev_document_set_page_offset),
2929 (ev_document_get_page_size), (ev_document_get_text),
2930 (ev_document_get_link), (ev_document_render),
2931 (ev_document_render_pixbuf), (ev_document_scale_changed):
2932 * backend/ev-document.h:
2933 * backend/ev-job-queue.c: (remove_object_from_queue),
2934 (notify_finished), (handle_job), (search_for_jobs_unlocked),
2935 (no_jobs_available_unlocked), (ev_render_thread),
2936 (ev_job_queue_init), (find_queue), (ev_job_queue_add_job),
2937 (ev_job_queue_remove_job):
2938 * backend/ev-job-queue.h:
2939 * backend/ev-jobs.c: (ev_job_init), (ev_job_dispose),
2940 (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
2941 (ev_job_links_class_init), (ev_job_render_init),
2942 (ev_job_render_dispose), (ev_job_render_class_init),
2943 (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
2944 (ev_job_thumbnail_class_init), (ev_job_finished),
2945 (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
2946 (ev_job_render_run), (ev_job_thumbnail_new),
2947 (ev_job_thumbnail_run):
2948 * backend/ev-jobs.h:
2949 * backend/ev-link.c:
2950 * backend/ev-link.h:
2951 * backend/ev-page-cache.c: (ev_page_cache_init),
2952 (ev_page_cache_class_init), (ev_page_cache_finalize),
2953 (_ev_page_cache_new), (ev_page_cache_get_n_pages),
2954 (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
2955 (ev_page_cache_set_link), (ev_page_cache_get_title),
2956 (ev_page_cache_get_size), (ev_page_cache_next_page),
2957 (ev_page_cache_prev_page):
2958 * backend/ev-page-cache.h:
2959 * pdf/pdf-document.cc:
2962 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
2963 (push_pixbuf), (interpreter_failed), (ps_document_cleanup),
2964 (ps_document_widget_event), (ps_document_finalize), (get_xdpi),
2965 (get_ydpi), (setup_pixmap), (setup_page), (close_pipe),
2966 (is_interpreter_ready), (output), (catchPipe), (input),
2967 (start_interpreter), (check_filecompressed), (compute_dimensions),
2968 (ps_document_enable_interpreter), (document_load),
2969 (ps_document_next_page), (render_page), (ps_document_set_page),
2970 (ps_document_set_scale), (render_pixbuf_idle),
2971 (ps_document_render_pixbuf), (ps_document_document_iface_init):
2973 * shell/Makefile.am:
2974 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
2975 (ev_pixbuf_cache_class_init), (ev_pixbuf_cache_finalize),
2976 (dispose_cache_job_info), (ev_pixbuf_cache_dispose),
2977 (ev_pixbuf_cache_new), (job_finished_cb),
2978 (check_job_size_and_unref), (move_one_job),
2979 (ev_pixbuf_cache_update_range), (find_job_cache),
2980 (ev_pixbuf_cache_clear_job_sizes), (add_job_if_needed),
2981 (ev_pixbuf_cache_add_jobs_if_needed),
2982 (ev_pixbuf_cache_set_page_range), (ev_pixbuf_cache_get_pixbuf):
2983 * shell/ev-pixbuf-cache.h:
2984 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
2985 (idle_print_handler):
2986 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
2987 (selection_changed_cb), (create_loading_model),
2988 (ev_sidebar_links_construct), (links_page_num_func),
2989 (ev_sidebar_links_clear_document), (update_page_callback_foreach),
2990 (update_page_callback), (job_finished_cb),
2991 (ev_sidebar_links_set_document):
2992 * shell/ev-sidebar-thumbnails.c:
2993 (ev_sidebar_thumbnails_class_init), (adjustment_changed_cb),
2994 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init),
2995 (page_changed_cb), (thumbnail_job_completed_callback),
2996 (ev_sidebar_thumbnails_set_document):
2997 * shell/ev-sidebar-thumbnails.h:
2998 * shell/ev-sidebar.c: (ev_sidebar_set_document):
2999 * shell/ev-view.c: (ev_view_finalize), (ev_view_destroy),
3000 (ev_view_get_offsets), (ev_view_size_request), (ev_view_realize),
3001 (ev_view_unrealize), (highlight_find_results), (expose_bin_window),
3002 (ev_view_select_all), (ev_view_copy), (ev_view_primary_get_cb),
3003 (ev_view_create_invisible_cursor), (ev_view_motion_notify_event),
3004 (ev_view_button_release_event), (ev_view_scroll_view),
3005 (ev_view_class_init), (ev_view_init), (update_find_status_message),
3006 (jump_to_find_result), (jump_to_find_page), (find_changed_cb),
3007 (ev_view_new), (job_finished_cb), (page_changed_cb),
3008 (ev_view_set_document), (go_to_link), (ev_view_zoom),
3009 (size_to_zoom_factor), (ev_view_set_size), (ev_view_find_next),
3010 (ev_view_find_previous):
3012 * shell/ev-window.c: (update_action_sensitivity),
3013 (ev_window_open_page), (update_window_title), (update_total_pages),
3014 (page_changed_cb), (ev_window_setup_document),
3015 (password_dialog_response), (ev_window_cmd_save_as),
3016 (ev_window_print), (ev_window_cmd_go_previous_page),
3017 (ev_window_cmd_go_next_page), (ev_window_cmd_go_first_page),
3018 (ev_window_cmd_go_last_page), (ev_window_cmd_view_reload),
3019 (find_bar_search_changed_cb), (goto_page_cb), (ev_window_init):
3020 * shell/main.c: (main):
3022 Merge evince-threads branch
3024 2005-03-16 Žygimantas Beručka <uid0@akl.lt>
3026 * configure.ac: Added "lt" to ALL_LINGUAS.
3028 2005-03-14 Marco Pesenti Gritti <marco@gnome.org>
3035 2005-03-13 Fernando Herrera <fherrera@onirica.com>
3037 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3039 Fix here also the thumbnails 1-basedness :)
3041 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
3048 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
3050 * pdf/pdf-document.cc:
3051 * shell/ev-sidebar-thumbnails.c: (adjustment_changed_cb),
3052 (do_one_iteration), (ev_sidebar_thumbnails_set_document):
3054 Fix the mess we did with thumbnails and 1-basedness
3056 2005-03-12 Changwoo Ryu <cwryu@debian.org>
3058 * configure.ac (ALL_LINGUAS): Added "ko" (Korean).
3060 2005-03-09 Marco Pesenti Gritti <marco@gnome.org>
3067 2005-03-08 Marco Pesenti Gritti <marco@gnome.org>
3070 * ps/gsdefaults.c: (gtk_gs_defaults_get_interpreter_cmd),
3071 (gtk_gs_defaults_get_alpha_parameters),
3072 (gtk_gs_defaults_get_ungzip_cmd),
3073 (gtk_gs_defaults_get_unbzip2_cmd):
3075 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
3076 (ps_document_get_orientation), (document_load),
3077 (ps_document_goto_page), (ps_document_set_page_size):
3080 Some more sanitization of the ps backend. Remove a lot
3081 of unused code and do not base our defaults on ggv
3084 2005-03-08 Fernando Herrera <fherrera@onirica.com>
3086 * thumbnailer/evince-thumbnailer.schemas:
3087 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
3088 (main): add -s option for thumbnail size.
3090 2005-03-07 Christian Persch <chpe@cvs.gnome.org>
3094 AC_PROG_RANLIB is rendered obsolete by AC_PROG_LIBTOOL;
3097 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
3099 * pdf/pdf-document.cc:
3101 Remove 4 pixels of useless border from the
3104 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
3106 * backend/ev-document-thumbnails.c:
3107 (ev_document_thumbnails_get_thumbnail):
3108 * backend/ev-document-thumbnails.h:
3110 Rework API a bit. Add a border flag and
3111 change sizing logic (now the size we specify
3112 applies to the bigger dimension).
3114 * pdf/pdf-document.cc:
3115 * pixbuf/pixbuf-document.c:
3116 (pixbuf_document_thumbnails_get_thumbnail):
3117 * shell/ev-sidebar-thumbnails.c: (do_one_iteration):
3118 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3120 Adapt to the new API and do not draw a border for nautilus
3123 2005-03-03 Fernando Herrera <fherrera@onirica.com>
3125 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3126 take thumbnails from page "0" instead of "1". Added a copyright header.
3128 2005-03-03 Jens Granseuer <jensgr@gmx.net>
3130 * ps/ps-document.c: (set_up_page), (start_interpreter):
3132 Make it C89 compliant
3134 2005-03-03 Marco Pesenti Gritti <marco@gnome.org>
3139 * pdf/pdf-document.cc:
3140 * thumbnailer/Makefile.am:
3141 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
3143 * thumbnailer/evince-thumbnailer.schemas:
3144 * thumbnailer/pdf-icon.png:
3146 Add a nautilus thumbnailer.
3147 Based on patch by Fernando Herrera <fherrera@onirica.com>.
3149 2005-03-02 Marco Pesenti Gritti <marco@gnome.org>
3157 2005-03-01 Kristian Høgsberg <krh@redhat.com>
3159 Use poppler instead of including xpdf source code. Poppler is a
3160 fork of xpdf to build it as a shared library. See
3161 http://freedesktop.org/wiki/Software/poppler.
3163 * pdf/xpdf/*, pdf/goo/*, pdf/splash/*, pdf/fofi/*: Remove included
3166 * pdf/Makefile.am: Build libpdfdocument.a here.
3168 * pdf/GDKSplashOutputDev.cc:
3169 * pdf/GDKSplashOutputDev.h:
3170 * pdf/GnomeVFSStream.cc:
3171 * pdf/GnomeVFSStream.h:
3174 * test-gdk-output-dev.cc
3176 * Thumb.h: Pull these files out of pdf/xpdf and adjust to compile
3179 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
3181 * shell/ev-sidebar-links.c: (ev_sidebar_links_clear_document):
3183 Clear idle stack before unsetting the document
3185 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
3187 * ps/ps-document.c: (ps_document_widget_event),
3188 (ps_document_set_target), (ps_document_finalize),
3189 (ps_document_get_page):
3191 Disconnect the widget event signal on finalize.
3194 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
3196 * ps/ps-document.c: (set_up_page):
3198 If there is no bpixmap create one, even if size
3201 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
3203 * ps/ps-document.c: (ps_document_init), (ps_document_cleanup),
3204 (set_up_page), (document_load), (ps_document_set_zoom):
3206 Default page is 0. Calculate size even when we have no
3209 2005-02-28 Carlos Garcia Campos <carlosgc@gnome.org>
3211 * shell/ev-sidebar.c: expand the selection widget to be always as
3214 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
3216 * shell/ev-sidebar-thumbnails.c:
3217 (ev_sidebar_thumbnails_set_document):
3219 Clear the list store when setting document
3221 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
3223 * shell/ev-page-action.c: (update_entry), (sync_entry),
3224 (activate_cb), (entry_size_request_cb), (create_tool_item),
3227 Use an entry for the page control instead of spinbuttons
3229 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
3231 * data/evince.schemas.in:
3233 Correct confusing string
3235 Sun Feb 27 23:00:31 2005 Jonathan Blandford <jrb@redhat.com>
3237 * shell/ev-sidebar-links.c (do_one_iteration): Handle title links
3238 for real. Gosh, how long has this been broken.
3240 * pdf/xpdf/pdf-document.cc (build_link_from_action): add back the
3241 check for a NULL link. We crash otherwise.
3243 2005-02-27 Marco Pesenti Gritti <marco@gnome.org>
3250 2005-02-25 Sebastien Bacher <seb128@debian.org>
3252 * configure.ac: add the french translation.
3254 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
3256 * shell/ev-window.c:
3258 Remove unused header -> fix distcheck
3260 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
3262 * shell/ev-window.c: (update_window_title),
3263 (ev_window_popup_password_dialog):
3265 Unescape filename for display
3267 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
3269 * pdf/xpdf/pdf-document.cc:
3271 In get_page_size deal with rotation. Also
3272 cleanup the function a bit.
3274 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
3276 * pdf/xpdf/pdf-document.cc:
3278 Fix crash when opening in new window
3280 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
3284 Check ghostscript >= 7
3286 2005-02-25 Pedro Villavicencio <pvillavi@gnome.cl>
3288 * shell/ev-window.c:
3290 Make page width the default sizing mode
3292 2005-02-25 Carlos Garcia Campos <carlosgc@gnome.org>
3293 Marco Pesenti Gritti <marco@gnome.org>
3295 * shell/ev-window.c: Remember the sidebar size
3297 * data/evince.schemas.in: Add a new gconf key to store the size of
3300 2005-02-24 Kai Willadsen <kaiw@itee.uq.edu.au>
3302 * data/evince-ui.xml:
3303 * shell/ev-window.c: (update_action_sensitivity),
3304 (ev_window_cmd_view_reload):
3306 Add a "Reload" action and menu entry
3308 Thu Feb 24 23:07:33 2005 Jonathan Blandford <jrb@redhat.com>
3310 * shell/ev-window.c (hide_sidebar_and_actions): Hide the sidebar
3311 iff the type doesn't support thumbnailing and indexing.
3313 2005-02-24 Martin Kretzschmar <martink@gnome.org>
3315 * configure.ac (ALL_LINGUAS): Added "zh_TW" (Traditional Chinese).
3317 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
3319 * pdf/splash/Splash.cc:
3321 Port fix for a crasher from kde bug
3322 http://bugs.kde.org/show_bug.cgi?id=97131
3324 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
3326 * pdf/xpdf/pdf-document.cc:
3328 Return a link even if it's of an unrecognized
3329 type. Otherwise we go in an infinte cycle.
3331 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
3333 * shell/ev-window.c: (update_sizing_buttons), (update_view_size),
3334 (size_allocate_cb), (ev_window_set_sizing_mode):
3336 Update size when switching mode
3338 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
3340 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
3341 (ev_window_cmd_view_page_width), (update_sizing_buttons),
3342 (ev_window_cmd_view_normal_size):
3344 Fix size toggle buttons behavior
3346 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
3348 * shell/ev-view.c: (ev_view_get_offsets), (view_rect_to_doc_rect),
3349 (doc_rect_to_view_rect), (ev_view_size_allocate),
3350 (expose_bin_window), (ev_view_select_all), (page_changed_callback),
3351 (scale_changed_callback):
3353 Do not cache offsets in size_allocate.
3355 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
3357 * shell/ev-view.c: (ev_view_size_allocate):
3359 Calculate offsets before calling the parent
3360 class (which does a redraw)
3362 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
3364 * pdf/xpdf/pdf-document.cc:
3366 Fix a crasher on exit. Unused code, put a TODO
3368 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
3370 * backend/ev-document.c: (ev_document_class_init),
3371 (ev_document_page_changed), (ev_document_scale_changed):
3372 * backend/ev-document.h:
3374 Separate page/scale notifications
3376 * pdf/xpdf/pdf-document.cc:
3378 Emit the new signals.
3379 Do not display the pdf page in _render, do it
3380 when scale/page are requested.
3382 * ps/ps-document.c: (ps_document_set_zoom),
3383 (ps_document_widget_event):
3386 Emit the new signals.
3388 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
3389 (ev_view_init), (page_changed_callback), (scale_changed_callback),
3390 (ev_view_set_document), (ev_view_zoom), (ev_view_zoom_in),
3391 (ev_view_zoom_out), (size_to_zoom_factor), (ev_view_set_size):
3393 * shell/ev-window.c: (ev_window_cmd_view_normal_size),
3394 (ev_window_cmd_view_page_width), (size_allocate_cb),
3395 (ev_window_set_sizing_mode):
3397 Rework sizing to be pixel based.
3398 There are bugs but should be already way better.
3400 2005-02-23 Marco Pesenti Gritti <marco@gnome.org>
3402 * shell/ev-window.c: (ev_window_init):
3404 Do not allow to shrink sidebar smaller then
3407 2005-02-23 Carlos Garcia Campos <carlosgc@gnome.org>
3409 * shell/ev-sidebar.[ch]
3410 * shell/ev-window.c:
3412 Improved sidebar widget. Fixes #166683
3414 2005-02-23 Tommi Vainikainen <thv@iki.fi>
3416 * shell/ev-view.c (update_find_status_message): Give translators
3417 more flexibility with ngettext plural handling.
3419 Mon Feb 21 17:52:08 2005 Jonathan Blandford <jrb@redhat.com>
3421 * pdf/xpdf/pdf-document.cc (pdf_document_get_page_size): Patch
3422 from Crispin Flowerday <gnome@flowerday.cx> to avoid rendering the
3423 page when we get the page size.
3425 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
3427 * ps/ps-document.c: (ps_document_set_page), (ps_document_get_page):
3429 ps pages are 0 based, convert
3431 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
3433 * ps/ps-document.c: (ps_document_class_init), (ps_document_load):
3435 Initialize correct parent class. Set GError on document load
3437 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
3439 * pdf/xpdf/pdf-document.cc:
3441 Fixup selection offset calculation
3443 * shell/ev-view.c: (view_rect_to_doc_rect),
3444 (doc_rect_to_view_rect), (ev_view_size_allocate),
3445 (expose_bin_window), (ev_view_select_all), (ev_view_copy),
3446 (ev_view_primary_get_cb), (ev_view_motion_notify_event):
3448 Store selection as document relative, so that zooming
3449 and offset changing doesnt break it.
3451 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
3453 * shell/ev-view.c: (ev_view_best_fit):
3455 Do not try to best fit if the view is not realized
3457 2005-02-20 Kostas Papadimas <pkst@gnome.org>
3459 * configure.ac (ALL_LINGUAS): Added "el" (Greek).
3461 Fri Feb 18 16:06:39 2005 Jonathan Blandford <jrb@redhat.com>
3463 * shell/ev-window.c (ev_window_focus_in_event): missed a case.
3465 Fri Feb 18 15:32:57 2005 Jonathan Blandford <jrb@redhat.com>
3467 * shell/ev-window.c: Change the fullscreen toolbar to always be in
3468 the popup window. That prevents it resizing when in full screen
3471 * shell/ev-view.c: Change Zoom epsilon as a bad hack to avoid
3472 multiple rerenders. This pretty much sucks.
3474 * data/evince-ui.xml: Change the fullscreen toolbar to include the
3475 rest of the toolbar.
3477 2005-02-18 Tommi Vainikainen <thv@iki.fi>
3479 * configure.ac (ALL_LINGUAS): Added "fi" (Finnish).
3481 2005-02-17 Alexander Shopov <ash@contact.bg>
3483 * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
3485 2005-02-16 Bryan Clark <clarkbw@cvs.gnome.org>
3487 * shell/ev-window.c: added ellipsis to Print item. Fixes bug 166915
3489 2005-02-16 Marco Pesenti Gritti <marco@gnome.org>
3491 * shell/ev-view.c: (ev_view_realize), (highlight_find_results),
3492 (ev_view_create_invisible_cursor), (ev_view_set_cursor),
3493 (set_document_page), (document_changed_callback),
3494 (ev_view_set_document), (ev_view_find_previous),
3495 (ev_view_hide_cursor), (ev_view_show_cursor):
3497 * shell/ev-window.c: (update_chrome_visibility),
3498 (fullscreen_timeout_cb), (fullscreen_set_timeout),
3499 (fullscreen_clear_timeout), (fullscreen_motion_notify_cb),
3500 (fullscreen_leave_notify_cb), (ev_window_fullscreen),
3501 (ev_window_unfullscreen):
3502 * shell/main.c: (main):
3504 Automatically hide the fullscreen button.
3505 Patch by Kristian Høgsberg <krh@redhat.com>
3507 2005-02-16 Vincent Noel <vnoel@cox.net>
3509 * shell/main.c (main): Specify an icon for the window. Patch by
3510 Jaap A. Haitsma. Fixes #166177.
3512 Wed Feb 16 06:30:13 2005 Jonathan Blandford <jrb@redhat.com>
3514 * shell/ev-view.c (ev_view_realize): get rid of the black flash.
3516 Tue Feb 15 22:27:13 2005 Jonathan Blandford <jrb@redhat.com>
3518 * backend/ev-document-misc.h:
3519 * backend/ev-document-misc.c:
3520 (ev_document_misc_get_page_border_size),
3521 (ev_document_misc_paint_one_page): New function to canonicalize
3522 sizing/painting a border.
3524 * shell/Makefile.am: Remove ev-page-view.c entirely as it's not
3527 * pdf/xpdf/pdf-document.cc: use new function
3529 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
3530 (ev_view_init), (ev_view_set_mode), (ev_view_zoom),
3531 (ev_view_best_fit), (ev_view_fit_width): * shell/ev-view.h: *
3532 shell/ev-window.c: (update_sizing_buttons),
3533 (ev_window_setup_document), (ev_window_cmd_view_zoom_in),
3534 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_best_fit),
3535 (ev_window_cmd_view_page_width), (size_allocate_cb),
3536 (ev_window_set_sizing_mode), (ev_window_init): make the "best fit"
3537 and "fit width" values act as toggle buttons so they stay
3538 toggled. It's not 100% perfect, and it's a little slow, but it's
3539 good enough to commit I think.
3541 2005-02-15 David Lodge <dave@cirt.net>
3543 * configure.ac (ALL_LINGUAS): Added "en_GB" (English (British)).
3545 2005-02-15 Martin Kretzschmar <martink@gnome.org>
3547 * shell/ev-window.c (update_window_title): replace newlines in
3548 the title by spaces. Bug #166107.
3550 2005-02-14 Martin Kretzschmar <martink@gnome.org>
3552 * shell/ev-view.c (ev_view_best_fit, ev_view_fit_width): add
3553 parameters providing allocation width and height without
3554 scrollbars and width of a possible vertical scrollbar. With this
3555 additional information the functions can work as
3556 intended. Unfortunately they're not idempotent. We should
3557 transform these commands to toggles. Fixes Bug #164976
3558 Initial patch by Stephane Loeuillet, then heavily modified.
3560 * shell/ev-view.h: update prototypes.
3562 * shell/ev-window.c (ev_window_cmd_view_best_fit)
3563 (ev_window_cmd_view_page_width): provide EvView fit functions with
3564 all the information they need. Formulas to calculate this
3565 information taken from GtkScrolledWindow.
3567 2005-02-14 Crispin Flowerday <gnome@flowerday.cx>
3569 * shell/ev-sidebar-thumbnails.c: Ensure that after we have
3570 created a thumbnail, the list store is updated to know
3571 that the thumbnail is set. Fixes bug #166792
3573 2005-02-11 Bryan Clark <clarkbw@cvs.gnome.org>
3575 * shell/ev-window.c: fixed typo, closes bug 166897
3577 * TODO: updated TODO with bug numbers that are relevant
3579 2005-02-09 Carlos Garcia Campos <carlosgc@gnome.org>
3581 * shell/ev-window.c: Support for DnD of files. Fixes #164813
3583 2005-02-09 Vincent Noel <vnoel@cox.net>
3585 * shell/ev-window.c: (set_action_properties): Set the "Previous"
3586 and "Next" toolbar buttons as important to make them stand out.
3588 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
3592 * ps/ps-document.c: (ps_document_finalize), (set_up_page),
3593 (start_interpreter), (stop_interpreter), (document_load),
3594 (ps_document_next_page), (ps_document_goto_page),
3595 (ps_document_set_page_size), (ps_document_widget_event),
3596 (ps_document_render):
3597 * shell/ev-page-view.c: (ev_page_view_dispose):
3598 * shell/ev-view.c: (ev_view_finalize), (expose_bin_window):
3600 Fix compilation on non-gcc platforms
3602 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
3609 * pdf/xpdf/Catalog.cc:
3612 Fix the fix for CAN-2004-0888
3614 2005-02-09 Luca Ferretti <elle.uca@libero.it>
3617 * data/evince-ui.xml:
3618 * shell/ev-stock-icons.c: (ev_stock_icons_init):
3619 * shell/ev-stock-icons.h:
3620 * shell/ev-window.c: (update_action_sensitivity),
3621 (ev_window_cmd_go_previous_page), (ev_window_cmd_go_next_page),
3622 (set_action_properties):
3624 Improve toolbar layout/icons
3626 2005-02-08 Marco Pesenti Gritti <marco@gnome.org>
3628 * pdf/xpdf/pdf-document.cc:
3630 Add warnings about unimplemented/unknown link
3633 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
3635 * ps/ps-document.c: (set_up_page):
3639 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
3641 * ps/ps-document.c: (start_interpreter):
3645 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
3647 * shell/ev-page-view.c: (ev_page_view_dispose):
3648 * shell/ev-view.c: (ev_view_finalize):
3649 * shell/ev-window.c: (ev_window_setup_document),
3650 (ev_window_dispose), (ev_window_init):
3652 Solve more refs issues.
3654 I commented out the page_view initialization for now:
3655 it was never destroyed (because it's never added
3656 to a container). Because of that we was leaking
3657 gs processes. Couldnt think to a clean fix.
3658 We need to figure this out, password view has the
3659 same issue probably.
3661 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
3663 * ps/ps-document.c: (ps_document_finalize),
3664 (ps_document_get_n_pages), (ps_document_get_page):
3666 Some cleanups, stop the interpreter on finalize
3668 * shell/ev-page-view.c: (ev_page_view_dispose),
3669 (ev_page_view_class_init):
3671 Release our reference on the document
3673 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
3677 * doc/debugging.txt:
3680 * lib/ev-debug.c: (log_module), (trap_handler), (ev_debug_init),
3681 (ev_profiler_new), (ev_should_profile), (ev_profiler_dump),
3682 (ev_profiler_free), (ev_profiler_start), (ev_profiler_stop):
3685 Add debugging helpers
3688 * ps/ps-document.c: (set_up_page), (start_interpreter),
3689 (stop_interpreter), (document_load), (ps_document_next_page),
3690 (ps_document_goto_page), (ps_document_set_page_size),
3691 (ps_document_widget_event), (ps_document_render):
3692 * shell/Makefile.am:
3693 * shell/ev-view.c: (expose_bin_window):
3694 * shell/main.c: (main):
3698 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
3700 * ps/ps-document.c: (ps_document_widget_event):
3702 Initialize message_window, this should make ps
3703 rendering really work! (Never noticed because I was
3704 testing with a ps that is causing gs to exit every time!)
3706 2005-02-07 Bryan Clark <clarkbw@cvs.gnome.org>
3708 * data/evince.schemas.in: updated simple error in applyto closing tag
3710 2005-02-07 Christian Persch <chpe@cvs.gnome.org>
3716 * data/evince-ui.xml:
3717 A data/evince.schemas.in:
3719 * shell/ev-stock-icons.c: (ev_stock_icons_init):
3720 * shell/ev-stock-icons.h:
3721 * shell/ev-window.c: (update_chrome_visibility),
3722 (update_chrome_flag), (ev_window_cmd_edit_find),
3723 (ev_window_update_fullscreen_popup), (ev_window_fullscreen),
3724 (ev_window_unfullscreen), (ev_window_focus_in_event),
3725 (ev_window_focus_out_event), (ev_window_cmd_leave_fullscreen),
3726 (ev_window_view_toolbar_cb), (ev_window_view_statusbar_cb),
3727 (ev_window_view_sidebar_cb), (find_bar_close_cb),
3728 (ev_window_dispose), (ev_window_class_init),
3729 (set_action_properties), (set_chrome_actions), (load_chrome),
3732 Implement fullscreen mode changes from bug #164776.
3733 Also implement persistent chrome toggles.
3735 2005-02-07 Jordi Mallach <jordi@sindominio.net>
3737 * configure.ac (ALL_LINGUAS): Added "ca" (Catalan).
3739 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
3745 Add another check for find interface
3749 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
3751 * shell/ev-application.c: (ev_application_open):
3752 * shell/ev-window.c: (ev_window_open):
3754 Open gzipped ps documents
3756 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
3759 * shell/ev-view.c: (set_document_page):
3761 Clamp page number, dont try to move to
3764 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
3766 * backend/ev-document-find.c: (ev_document_find_changed):
3767 * backend/ev-document-find.h:
3768 * pdf/xpdf/pdf-document.cc:
3769 * shell/ev-view.c: (jump_to_find_result), (ev_view_set_document):
3770 * shell/ev-window.c: (find_bar_search_changed_cb):
3772 Fix several bugs with find
3774 2005-02-04 Martin Kretzschmar <martink@gnome.org>
3776 * shell/ev-sidebar-thumbnails.c
3777 (ev_sidebar_thumbnails_select_page): do nothing unless we have a
3778 document. Prevents warning from scroll_to_cell.
3780 2005-02-02 Kjartan Maraas <kmaraas@gnome.org>
3782 * configure.ac: Add «nb» to ALL_LINGUAS too.
3784 Wed Feb 2 21:13:11 2005 Jonathan Blandford <jrb@redhat.com>
3786 * NOTES: New file with some random thoughts.
3790 * backend/ev-document-misc.c:
3791 (ev_document_misc_get_page_border_size): New function to
3792 canonicalize shadow drawing sizes. Possibly goofy.
3794 * shell/ev-view.c: (ev_view_size_request), (set_document_page),
3795 (ev_view_best_fit), (ev_view_fit_width):
3796 * pdf/xpdf/pdf-document.cc:
3797 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
3798 * ps/ps-document.c: (ps_document_get_page_size):
3799 * backend/ev-document-misc.h:
3800 * backend/ev-document.c: (ev_document_get_page_size):
3801 * backend/ev-document.h: get_page_size now takes a page number
3802 parameter. Made all the backends/frontends honor it.
3804 * data/evince-ui.xml: Added a multiple-page mode. Uncomment to
3805 see. Doesn't work yet.
3807 * shell/Makefile.am:
3808 * shell/ev-page-view.[ch]: New multi-page view. Really rough.
3809 Doesn't do anything yet.
3811 * shell/ev-sidebar-thumbnails.c:
3812 (ev_sidebar_thumbnails_set_document): [1..n_pages] instead of
3815 * shell/ev-window.c: (update_action_sensitivity),
3816 (ev_window_setup_document), (ev_window_set_page_mode),
3817 (ev_window_page_mode_cb), (ev_window_init): Clean up the
3818 view-swapping code a bit so we can have multiple views on a
3819 document. Add the multi-page view, though it can't be turned on
3822 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
3824 * shell/ev-application.c: (ev_application_open):
3825 * shell/ev-view.c: (expose_bin_window):
3826 * shell/ev-window.c: (ev_window_open):
3828 Support eps and check document supports find
3829 before drawing highlightings in expose.
3831 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
3833 * pixbuf/pixbuf-document.c:
3834 (pixbuf_document_thumbnails_get_dimensions),
3835 (pixbuf_document_document_thumbnails_iface_init):
3837 implement get_dimensions
3839 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
3846 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
3848 * shell/ev-view.c: (set_document_page):
3850 Scroll at the top of the page when changing page
3852 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
3854 * shell/ev-view.c: (ev_view_motion_notify_event):
3856 Do not redraw unnecessarily
3858 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
3860 * pdf/xpdf/pdf-document.cc:
3861 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
3862 (expose_bin_window), (find_changed_cb):
3864 Yay! find works now... Now to find bugs...
3866 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
3868 * backend/ev-document-find.c: (ev_document_find_base_init),
3869 (ev_document_find_changed):
3870 * backend/ev-document-find.h:
3871 * pdf/xpdf/pdf-document.cc:
3872 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
3873 (expose_bin_window), (ev_view_init), (set_document_page),
3874 (ensure_rectangle_is_visible), (jump_to_find_result),
3875 (jump_to_find_page), (find_changed_cb), (ev_view_set_document),
3876 (ev_view_find_next), (ev_view_find_previous):
3878 * shell/ev-window.c: (find_bar_previous_cb), (find_bar_next_cb):
3880 More work on find implementation, mostly there now
3882 2005-01-29 Marco Pesenti Gritti <marco@gnome.org>
3884 * backend/ev-backend-marshalers.list:
3885 * backend/ev-document-find.c: (ev_document_find_base_init),
3886 (ev_document_find_cancel), (ev_document_find_page_has_results),
3887 (ev_document_find_get_n_results), (ev_document_find_get_result),
3888 (ev_document_find_get_progress), (ev_document_find_changed):
3889 * backend/ev-document-find.h:
3891 Enanche the find interface to be really able to do
3894 * pdf/xpdf/pdf-document.cc:
3898 * shell/ev-view.c: (ev_view_finalize), (highlight_find_results),
3899 (expose_bin_window), (ev_view_init),
3900 (ev_view_get_find_status_message), (find_changed_cb),
3901 (ev_view_set_document), (set_document_page):
3903 Adapt to the new interface. A few things are regressed sorry,
3904 I will finish it soon.
3906 2005-01-28 Martin Kretzschmar <martink@gnome.org>
3908 * shell/ev-sidebar-thumbnails.c (ev_sidebar_thumbnails_destroy)
3909 (ev_sidebar_thumbnails_class_init): use G_DEFINE_TYPE-supplied
3910 ev_sidebar_thumbnails_parent_class variable, don't define another
3911 parent_class variable.
3913 * shell/ev-page-action.c (connect_proxy, ev_page_action_finalize)
3914 (ev_page_action_class_init): ditto.
3916 * pixbuf/pixbuf-document.c (pixbuf_document_finalize)
3917 (pixbuf_document_class_init): ditto.
3919 * backend/ev-link.c (ev_window_dispose, ev_link_class_init):
3922 * .cvsignore: ignore various valgrind output files.
3924 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
3926 * data/evince-ui.xml:
3927 * shell/Makefile.am:
3928 * shell/ev-history.c:
3929 * shell/ev-history.h:
3930 * shell/ev-navigation-action.c:
3931 * shell/ev-navigation-action.h:
3932 * shell/ev-view.c: (ev_view_finalize), (ev_view_go_to_link),
3933 (ev_view_set_page), (ev_view_fit_width):
3935 * shell/ev-window.c: (update_action_sensitivity),
3936 (ev_window_setup_document), (register_custom_actions):
3938 Kill session history
3940 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
3942 * shell/ev-window.c: (update_action_sensitivity):
3944 Fix inverted up/down buttons
3946 2005-01-27 Martin Kretzschmar <martink@gnome.org>
3948 * shell/ev-sidebar-thumbnails.c
3949 (ev_sidebar_thumbnails_select_page): make sure the selected
3950 thumbnail stays visible.
3952 2005-01-26 Martin Kretzschmar <martink@gnome.org>
3954 * shell/ev-window.c (ev_window_init): add GTK_SHADOW_IN to the
3955 scrolled window for Federico.
3957 2005-01-26 Ole Laursen <olau@hardworking.dk>
3959 * configure.ac: Added "da" (Danish) to ALL_LINGUAS.
3961 2005-01-26 Marco Pesenti Gritti <marco@gnome.org>
3964 * pdf/splash/SplashFTFontEngine.cc:
3966 Fix CID fonts with freetype 2.1.9
3968 2005-01-26 Bryan Clark <clarkbw@cvs.gnome.org>
3970 * TODO: added item for desktop icon thumbnailer
3972 Tue Jan 25 00:59:34 2005 Jonathan Blandford <jrb@redhat.com>
3974 * pdf/xpdf/pdf-document.cc (pdf_document_get_title): guard against
3975 unloaded docs when the title is accessed.
3977 * shell/ev-password-view.[hc]: New widget for displaying password
3980 * shell/ev-window.[ch]: Refactor password handling code to handle
3983 2005-01-24 Marco Pesenti Gritti <marco@gnome.org>
3991 2005-01-23 Stephane LOEUILLET <stephane.loeuillet@tiscali.fr>
3993 * pdf/xpdf/pdf-document.cc (pdf_document_search_page_changed):
3994 ignore page offset here, to make search results independent of it,
3996 * shell/ev-view.c (expose_bin_window): but take offsets into
3997 account here. Bug #164932
3999 * pdf/xpdf/pdf-document.cc (pdf_document_get_link): divide by
4000 scale at the right time. Bug #164996
4002 2005-01-22 Martin Kretzschmar <martink@gnome.org>
4004 * pdf/xpdf/GlobalParams.cc: My 2005-01-05 change didn't actually
4005 fix the problem. Now I just removed the Adobe font names and hope
4006 that the URW fonts are always in outline format. Bug #164934
4008 * shell/ev-window.c (update_window_title): empty titles are
4009 useless, use filename in that case too.
4011 * NEWS: Add some content.
4013 2005-01-21 Bryan Clark <clarkbw@cvs.gnome.org>
4015 * TODO: added one more TODO item and a TODONE section :)
4017 2005-01-21 Martin Kretzschmar <martink@gnome.org>
4019 * ps/ps-document.h: add page_[xy]_offset fields.
4021 * ps/ps-document.c (ps_document_set_page_offset)
4022 (ps_document_render): Keep offset in consideration in a few
4023 places. Bug #164752 "postscript documents are not centered in
4026 * data/evince.desktop.in (X-GNOME-Bugzilla-Product):
4027 s/gpdf/evince/. Spotted by Stephane Loeuillet.
4029 * pixbuf/pixbuf-document.c (pixbuf_document_get_n_pages)
4030 (pixbuf_document_get_text, pixbuf_document_document_iface_init):
4031 stub out missing methods for complete EvDocument implementation.
4032 Fixes segfaults with Save A Copy and Copy actions.
4034 * ps/ps-document.c (ps_document_save, ps_document_get_text)
4035 (ps_document_document_iface_init): ditto.
4037 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
4041 * data/evince.desktop.in:
4045 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
4047 * shell/ev-view.c: (ev_view_button_press_event),
4048 (ev_view_motion_notify_event):
4050 Make selection work in any direction
4052 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
4055 * shell/ev-window.c: (set_short_labels), (ev_window_init):
4057 Use shorter labels for some of the toolbars items
4059 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
4061 * pdf/xpdf/pdf-document.cc:
4063 Check the links info is initialized before
4064 using it. Should fix a crash on startup.
4066 2005-01-21 Martin Kretzschmar <martink@gnome.org>
4068 * pixbuf/pixbuf-document.c
4069 (pixbuf_document_thumbnails_get_dimensions): force floating point
4070 division to calculate page_ratio. Fixes crash with landscape
4073 Thu Jan 20 18:56:35 2005 Jonathan Blandford <jrb@redhat.com>
4075 * shell/ev-view.c (ev_view_realize): make the bg color darker.
4077 2005-01-20 Martin Kretzschmar <martink@gnome.org>
4079 * shell/ev-view.c (set_document_page): unset has_selection when
4081 (set_document_page): handle paper size changes when the page
4082 changes (test with Free Culture, page 2).
4084 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
4086 * shell/ev-view.c: (ev_view_size_request), (ev_view_realize),
4087 (expose_bin_window), (ev_view_class_init), (ev_view_init):
4089 Use normal style color for the widget background and
4090 draw a black box around the page.
4092 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
4094 * pdf/xpdf/pdf-document.cc:
4096 Keep offset in consideration in a few places
4098 * shell/ev-view.c: (expose_bin_window):
4100 Set the offsets so that the document is ever centered
4102 2005-01-20 Bryan Clark <clarkbw@cvs.gnome.org>
4104 * TODO: Added TODO items and finished off the first todo item
4106 * AUTHORS: Updated AUTHORS section with piece from gpdf file and
4107 reflect current authors
4109 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
4111 * pdf/xpdf/pdf-document.cc:
4112 * shell/ev-view.c: (ev_view_set_cursor),
4113 (ev_view_motion_notify_event), (document_changed_callback),
4114 (set_document_page):
4116 Show a wait cursor while the page is rendering
4118 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
4120 * shell/ev-sidebar-thumbnails.c:
4121 (ev_sidebar_tree_selection_changed),
4122 (ev_sidebar_thumbnails_select_page):
4123 * shell/ev-sidebar-thumbnails.h:
4124 * shell/ev-view.c: (ev_view_set_document), (ev_view_can_go_back),
4125 (ev_view_can_go_forward):
4126 * shell/ev-window.c: (ev_window_open_page),
4127 (ev_window_setup_document), (update_current_page),
4128 (view_page_changed_cb), (ev_window_init):
4129 * shell/ev-window.h:
4131 Ensure thumbnails selection, toolbar page control and
4132 current page are in sync.
4134 2005-01-19 Marco Pesenti Gritti <marco@gnome.org>
4140 Wed Jan 19 01:10:57 2005 Jonathan Blandford <jrb@redhat.com>
4142 * backend/Makefile.am:
4143 * backend/ev-document-links.h:
4144 * backend/ev-document-security.c: (ev_document_security_get_type),
4145 (ev_document_security_has_document_security),
4146 (ev_document_security_set_password):
4147 * backend/ev-document-security.h:
4148 * backend/ev-document.c: (ev_document_error_quark):
4149 * backend/ev-document.h:
4151 * data/evince-password.glade:
4152 * pdf/xpdf/pdf-document.cc:
4153 * shell/Makefile.am:
4154 * shell/ev-password.c: (ev_password_set_bad_password_label),
4155 (ev_window_password_entry_changed_cb), (ev_password_dialog_new),
4156 (ev_password_dialog_get_password),
4157 (ev_password_dialog_set_bad_pass):
4158 * shell/ev-password.h:
4159 * shell/ev-window.c: (ev_window_get_attribute),
4160 (ev_window_set_property), (update_action_sensitivity),
4161 (ev_window_is_empty), (mime_type_supported_by_gdk_pixbuf),
4162 (ev_window_setup_document), (ev_window_get_password),
4163 (ev_window_open), (ev_window_cmd_save_as),
4164 (using_postscript_printer), (ev_window_print),
4165 (find_not_supported_dialog), (ev_window_cmd_edit_find),
4166 (update_fullscreen_popup), (ev_window_fullscreen),
4167 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
4168 (ev_window_focus_out_cb), (ev_window_cmd_help_about),
4169 (menu_item_select_cb), (find_bar_search_changed_cb),
4170 (ev_window_dispose), (ev_window_init):
4172 Add initial support for password-supported dialogs. This could be
4173 a lot cooler, but it'll do for now.
4175 2005-01-18 Marco Pesenti Gritti <marco@gnome.org>
4177 * pdf/xpdf/pdf-document.cc:
4178 * shell/ev-view.c: (status_message_from_link),
4179 (ev_view_set_status), (ev_view_set_cursor),
4180 (ev_view_motion_notify_event), (ev_view_init):
4181 * shell/ev-window.c: (view_status_changed_cb), (ev_window_init):
4183 Fix bugs in the links implementation and change cursor
4184 when hovering a link.
4186 2005-01-17 Bryan Clark <clarkbw@cvs.gnome.org>
4188 * viewer/.cvsignore: added cvsignore file for viewer directory
4190 * TODO: created TODO document
4192 2005-01-14 Dave Malcolm <dmalcolm@redhat.com>
4195 * shell/ev-view.c (ev_view_can_go_back), (ev_view_can_go_forward):
4196 new functions to help with implementation of sensitivity code
4197 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
4198 of all actions that might require it. Fixes a crash when you
4199 click on the Zoom actions in a window lacking a document.
4201 2005-01-13 Dave Malcolm <dmalcolm@redhat.com>
4203 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
4206 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
4208 * pixbuf/pixbuf-document.c: (pixbuf_document_get_link),
4209 (pixbuf_document_document_iface_init):
4210 * ps/ps-document.c: (ps_document_get_link),
4211 (ps_document_document_iface_init):
4212 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event),
4213 (status_message_from_link), (ev_view_set_status),
4214 (ev_view_set_find_status), (ev_view_motion_notify_event),
4215 (ev_view_button_release_event), (ev_view_set_property),
4216 (ev_view_get_property), (ev_view_class_init), (ev_view_init),
4217 (ev_view_get_find_status_message), (update_find_results),
4218 (ev_view_get_status), (ev_view_get_find_status):
4220 * shell/ev-window.c: (view_status_changed_cb),
4221 (view_find_status_changed_cb), (ev_window_init):
4223 View status message support, use it to show the links.
4226 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
4228 * backend/ev-document.c: (ev_document_get_link):
4229 * backend/ev-document.h:
4230 * pdf/xpdf/pdf-document.cc:
4231 * shell/ev-application.c: (ev_application_open):
4232 * shell/ev-application.h:
4233 * shell/ev-sidebar-links.c: (selection_changed_cb):
4234 * shell/ev-view.c: (ev_view_button_release_event), (go_to_link),
4235 (ev_view_go_to_link):
4237 Add support for document links
4239 2005-01-13 Anders Carlsson <andersca@gnome.org>
4241 * shell/ev-page-action.c: (update_spin), (total_pages_changed_cb),
4243 Set the spin button limits correctly.
4245 * shell/ev-sidebar-thumbnails.c:
4246 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init):
4247 Support changing pages by clicking on the thumbnails.
4249 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
4251 * pixbuf/pixbuf-document.c:
4252 (pixbuf_document_thumbnails_get_dimensions),
4253 (pixbuf_document_document_thumbnails_iface_init):
4255 implement get_dimensions
4257 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
4259 * ps/ps-document.c: (ps_document_goto_page):
4261 Fix page switching on multipage documents
4263 2005-01-12 Jeff Muizelaar <jrmuizel@nit.ca>
4265 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
4267 check for NULL before assigning to width and height parameters
4269 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
4271 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
4272 (pixbuf_document_set_property), (pixbuf_document_get_property):
4274 implement get/set properties
4276 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
4278 * pdf/xpdf/pdf-document.cc: (pdf_info_dict_get_string):
4280 return NULL instead of "Unknown", letting the title get set to
4281 the filename when the pdf has no title.
4283 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
4285 * ps/ps-document.c: (ps_document_get_page_count),
4286 (ps_document_goto_page):
4288 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
4290 * shell/ev-history.c: (ev_history_get_property),
4291 (ev_history_set_property), (ev_history_class_init),
4292 (ev_history_add_page), (ev_history_set_current_index):
4293 * shell/ev-navigation-action.c: (ev_navigation_action_set_history),
4294 (activate_menu_item_cb), (new_history_menu_item), (build_menu),
4295 (ev_navigation_action_finalize):
4296 * shell/ev-navigation-action.h:
4297 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
4298 (ev_view_go_forward), (ev_view_get_find_status_message),
4299 (history_index_changed_cb), (ev_view_set_history):
4301 * shell/ev-window.c: (update_total_pages), (ev_window_open),
4302 (update_current_page), (register_custom_actions):
4304 Implement history dropdowns
4306 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
4308 * shell/ev-history.c: (ev_history_init), (ev_history_add_link):
4309 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
4310 (ev_view_go_forward):
4311 * shell/ev-window.c: (register_custom_actions):
4313 Fix several history bugs
4315 2005-01-11 Kjartan Maraas <kmaraas@gnome.org>
4317 * configure.ac: Add «nb» to ALL_LINGUAS.
4319 2005-01-10 Marco Pesenti Gritti <marco@gnome.org>
4321 * backend/Makefile.am:
4322 * backend/ev-bookmark.c:
4323 * backend/ev-bookmark.h:
4324 * backend/ev-document-bookmarks.c:
4325 * backend/ev-document-bookmarks.h:
4326 * backend/ev-document-links.c: (ev_document_links_get_type),
4327 (ev_document_links_has_document_links),
4328 (ev_document_links_begin_read), (ev_document_links_get_link),
4329 (ev_document_links_get_child), (ev_document_links_next),
4330 (ev_document_links_free_iter):
4331 * backend/ev-document-links.h:
4332 * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_title),
4333 (ev_link_set_title), (ev_link_get_uri), (ev_link_set_uri),
4334 (ev_link_get_link_type), (ev_link_set_link_type),
4335 (ev_link_get_page), (ev_link_set_page), (ev_link_get_property),
4336 (ev_link_set_property), (ev_window_dispose), (ev_link_init),
4337 (ev_link_class_init), (ev_link_new_title), (ev_link_new_page),
4338 (ev_link_new_external):
4339 * backend/ev-link.h:
4340 * pdf/xpdf/pdf-document.cc:
4341 * shell/Makefile.am:
4342 * shell/ev-application.c: (ev_application_open_link):
4343 * shell/ev-application.h:
4344 * shell/ev-history.c: (ev_history_add_link), (ev_history_add_page),
4345 (ev_history_get_link_nth):
4346 * shell/ev-history.h:
4347 * shell/ev-sidebar-bookmarks.c:
4348 * shell/ev-sidebar-bookmarks.h:
4349 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
4350 (ev_sidebar_links_class_init), (selection_changed_cb),
4351 (ev_sidebar_links_construct), (ev_sidebar_links_init),
4352 (links_page_num_func), (ev_sidebar_links_new), (stack_data_free),
4353 (do_one_iteration), (populate_links_idle),
4354 (ev_sidebar_links_clear_document), (ev_sidebar_links_set_document):
4355 * shell/ev-sidebar-links.h:
4356 * shell/ev-sidebar.c: (ev_sidebar_set_document):
4357 * shell/ev-view.c: (go_to_link), (ev_view_go_to_link),
4360 * shell/ev-window.c: (ev_window_open_link), (ev_window_init):
4361 * shell/ev-window.h:
4363 Rename bookmark to link, and use "Index" for the sidebar panel.
4365 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
4367 * shell/Makefile.am:
4368 * shell/ev-application.c: (ev_application_open_bookmark):
4369 * shell/ev-application.h:
4370 * shell/ev-history.c: (ev_history_init), (free_links_list),
4371 (ev_history_finalize), (ev_history_class_init),
4372 (ev_history_add_link), (ev_history_add_page),
4373 (ev_history_get_link_nth), (ev_history_get_n_links),
4374 (ev_history_get_current_index), (ev_history_set_current_index),
4376 * shell/ev-history.h:
4377 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
4378 * shell/ev-view.c: (ev_view_finalize), (ev_view_set_document),
4379 (set_document_page), (go_to_bookmark), (ev_view_go_to_bookmark),
4380 (go_to_index), (ev_view_go_back), (ev_view_go_forward),
4383 * shell/ev-window.c: (ev_window_open_bookmark),
4384 (ev_window_cmd_go_back), (ev_window_cmd_go_forward),
4385 (goto_page_cb), (register_custom_actions):
4386 * shell/ev-window.h:
4388 Initial history implementation. Needs work.
4390 2005-01-09 Martin Kretzschmar <martink@gnome.org>
4392 * pdf/xpdf/GDKSplashOutputDev.cc (redraw): fix pixbuf data offset.
4394 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
4396 * cut-n-paste/recent-files/egg-recent-item.c:
4397 * cut-n-paste/recent-files/egg-recent-item.h:
4398 * cut-n-paste/recent-files/egg-recent-model.c:
4399 * cut-n-paste/recent-files/egg-recent-util.c:
4400 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
4401 * cut-n-paste/recent-files/egg-recent-view.c:
4405 2005-01-08 Martin Kretzschmar <martink@gnome.org>
4407 * pdf/splash/Splash.cc (clear, drawPixel, drawSpan, xorSpan, getPixel)
4408 (fillGlyph, fillImageMask, drawImage):
4409 pdf/splash/SplashBitmap.cc (SplashBitmap, ~SplashBitmap, writePNMFile):
4410 pdf/splash/SplashTypes.h:
4411 pdf/xpdf/SplashOutputDev (startPage, getColor, imageSrc): implement RGB8
4412 packed mode for Splash.
4414 * pdf/xpdf/GDKSplashOutputDev.cc (GDKSplashOutputDev, redraw): use
4415 RGB8 packed mode, eliminates the pixbuf data creation loop.
4417 * shell/ev-print-job.c (ev_print_job_finalize)
4418 (ev_print_job_set_property, ev_print_job_get_property)
4419 (ev_print_job_set_gnome_print_job, ev_print_job_set_document)
4420 (ev_print_job_use_print_dialog_settings, idle_print_handler)
4421 (print_closure_finalize, ev_print_job_print): implement
4422 printing (for backends with EvPsExporter)
4424 * shell/ev_print_job.h: update prototypes.
4426 * shell/ev-window.c (ev_window_print): unref print job after
4429 * shell/ev-view.c (ev_view_set_document): don't connect to "found"
4430 unless the document implements the EvDocumentFind interface.
4432 2005-01-08 Satoru SATOH <ss@gnome.gr.jp>
4434 * configure.ac: Added ja to ALL_LINGUAS.
4436 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
4438 * pdf/xpdf/pdf-document.cc:
4440 add a FIXME. We should probably not allocate
4441 a bookmark object every time
4443 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
4445 * shell/ev-application.c: (ev_application_open),
4446 (ev_application_open_bookmark):
4447 * shell/ev-application.h:
4449 Add a way to open bookmarks
4451 * backend/ev-bookmark.c: (ev_bookmark_get_uri),
4452 (ev_bookmark_set_uri), (ev_bookmark_get_property),
4453 (ev_bookmark_set_property), (ev_bookmark_class_init),
4454 (ev_bookmark_new_title), (ev_bookmark_new_link),
4455 (ev_bookmark_new_external):
4457 Support for external uris, better constructors.
4459 * backend/ev-bookmark.h:
4460 * pdf/xpdf/pdf-document.cc:
4461 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
4463 Handle external uris
4465 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
4467 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb),
4468 (ev_sidebar_bookmarks_construct), (do_one_iteration):
4470 Hook up bookmarks navigation
4472 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
4474 * backend/Makefile.am:
4475 * backend/ev-bookmark.c: (ev_bookmark_type_get_type),
4476 (ev_bookmark_get_title), (ev_bookmark_set_title),
4477 (ev_bookmark_get_bookmark_type), (ev_bookmark_set_bookmark_type),
4478 (ev_bookmark_get_page), (ev_bookmark_set_page),
4479 (ev_bookmark_get_property), (ev_bookmark_set_property),
4480 (ev_window_dispose), (ev_bookmark_init), (ev_bookmark_class_init),
4482 * backend/ev-bookmark.h:
4483 * backend/ev-document-bookmarks.c:
4484 (ev_document_bookmarks_get_bookmark):
4485 * backend/ev-document-bookmarks.h:
4486 * pdf/xpdf/pdf-document.cc:
4487 * shell/ev-sidebar-bookmarks.c: (do_one_iteration):
4489 Add a bookmark object to the backend and use it instead of get_values
4491 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
4493 * data/evince-ui.xml:
4495 Cleanup and add select all.
4497 * shell/ev-view.c: (ev_view_select_all),
4498 (ev_view_button_press_event):
4500 * shell/ev-window.c: (ev_window_cmd_edit_select_all):
4503 Clear selection on click.
4505 Fri Jan 7 01:28:58 2005 Jonathan Blandford <jrb@redhat.com>
4507 * shell/ev-sidebar-thumbnails.c
4508 (ev_sidebar_thumbnails_set_document): forgot to unref the
4511 Fri Jan 7 01:22:48 2005 Jonathan Blandford <jrb@redhat.com>
4513 * shell/ev-sidebar-thumbnails.c: fill in the thumbnails starting
4514 at the visible page, not just linearly. This makes it look fast.
4516 Thu Jan 6 18:48:11 2005 Jonathan Blandford <jrb@redhat.com>
4518 * backend/ev-document-misc.c
4519 (ev_document_misc_get_thumbnail_frame): fill in the thumbnail with
4521 * backend/ev-document-thumbnails.h: New interface to get the size
4524 2005-01-06 Jeremy Katz <katzj@redhat.com>
4526 * shell/Makefile.am (evince_SOURCES): Add ev-utils.[ch] so that
4529 Wed Jan 5 15:38:28 2005 Jonathan Blandford <jrb@redhat.com>
4531 * pdf/xpdf/pdf-document.cc (bitmap_to_pixbuf): bypass
4532 GDKSplashOutputDev and just use a normal SplashOutputDev. Speeds
4535 * shell/ev-sidebar-thumbnail.c: start of some profiling code.
4537 2005-01-05 Martin Kretzschmar <martink@gnome.org>
4539 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): match only outline
4540 fonts. Should fix font problems on systems that have the base
4541 fonts in bitmap format. Reported by James Henstridge
4542 <james@jamesh.id.au>.
4544 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
4547 * pdf/xpdf/GfxState.cc:
4549 Fix for CAN-2004-1125
4551 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
4553 * shell/ev-view.c: (ev_view_copy):
4555 * shell/ev-window.c: (ev_window_cmd_edit_copy):
4557 Implement Edit->Copy
4559 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
4561 * backend/ev-document.c: (ev_document_get_text):
4562 * backend/ev-document.h:
4563 * pdf/xpdf/pdf-document.cc:
4564 * shell/ev-view.c: (ev_view_realize), (expose_bin_window),
4565 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
4566 (ev_view_update_primary_selection), (ev_view_button_press_event),
4567 (ev_view_motion_notify_event), (ev_view_button_release_event):
4569 Beginnings of clipboard support. Incomplete but primary sort
4572 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
4574 * shell/ev-view.c: (ev_gdk_color_to_rgb), (draw_rubberband),
4575 (expose_bin_window):
4577 Nicer rubberband drawing, from GtkIconView.
4579 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
4581 * backend/ev-document.c: (ev_document_save):
4582 * backend/ev-document.h:
4583 * data/evince-ui.xml:
4584 * pdf/xpdf/pdf-document.cc:
4585 * shell/ev-window.c: (save_error_dialog), (ev_window_cmd_save_as):
4587 Implement "Save a copy..." menu item
4589 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
4591 * shell/ev-view.c: (ev_view_zoom):
4593 Queue a resize when zoom changes
4595 Wed Jan 5 02:33:06 2005 Jonathan Blandford <jrb@redhat.com>
4597 * backend/ev-document-misc.[ch]: New misc file to do simple drop
4600 * pdf/xpdf/pdf-document.cc: use the drop shadows in both types of
4603 Tue Jan 4 22:32:32 2005 Jonathan Blandford <jrb@redhat.com>
4605 * pdf/xpdf/pdf-document.cc
4606 (pdf_document_thumbnails_get_page_pixbuf): poor man's dropshadow.
4608 Tue Jan 4 21:25:05 2005 Jonathan Blandford <jrb@redhat.com>
4610 * pdf/xpdf/pdf-document.cc: Do real thumbnailing of PDF files.
4611 It's slow, but I'll speed it up next!
4613 2005-01-04 Jeff Muizelaar <jrmuizel@nit.ca>
4615 * shell/main.c (load_files):
4617 use gnome_vfs_make_uri_from_shell_arg so that relative paths work
4618 from the command line and because it seems more appropriate.
4620 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
4622 * data/evince-ui.xml:
4623 * shell/ev-window.c: (update_action_sensitivity),
4624 (ev_window_cmd_go_page_up), (ev_window_cmd_go_page_down):
4626 s/next page/page down
4627 s/previous page/page up
4629 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
4631 * data/evince-ui.xml:
4633 Change the layout to match clarkbw design.
4635 * shell/Makefile.am:
4636 * shell/ev-navigation-action.c: (build_menu), (menu_activated_cb),
4637 (set_tooltip_cb), (connect_proxy), (ev_navigation_action_init),
4638 (ev_navigation_action_finalize),
4639 (ev_navigation_action_set_property),
4640 (ev_navigation_action_get_property),
4641 (ev_navigation_action_class_init):
4642 * shell/ev-navigation-action.h:
4644 Implement clarkbw toolbar navigation controls (incomplete)
4646 * shell/ev-page-action.c: (update_label), (update_spin),
4647 (value_changed_cb), (create_tool_item), (connect_proxy),
4648 (ev_page_action_init), (ev_page_action_finalize),
4649 (ev_page_action_set_property), (ev_page_action_get_property),
4650 (ev_page_action_set_current_page),
4651 (ev_page_action_set_total_pages), (ev_page_action_class_init):
4652 * shell/ev-page-action.h:
4654 Implement a page switcher in the toolbar
4656 * shell/ev-view.c: (ev_view_scroll_view):
4657 * shell/ev-window.c: (update_total_pages), (ev_window_open),
4658 (update_current_page), (view_page_changed_cb), (goto_page_cb),
4659 (register_custom_actions), (ev_window_init):
4661 Change page on PageUp/Down.
4663 Tue Jan 4 03:22:56 2005 Jonathan Blandford <jrb@redhat.com>
4665 * pdf/xpdf/pdf-document.cc
4666 (pdf_document_thumbnails_get_thumbnail): initial stab at
4667 implementing thumbnail support for pdfs. It only does documents
4668 with precached pdfs now.
4670 Mon Jan 3 17:22:25 2005 Jonathan Blandford <jrb@redhat.com>
4672 * shell/ev-sidebar-thumbnails.c (do_one_iteration): move the
4673 thumbnail code into a time-based idle as well. Also, turn off the
4674 shadow temporarily as it's really slow.
4676 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
4678 * backend/ev-document.c: (ev_document_class_init):
4679 * pdf/xpdf/pdf-document.cc:
4680 * shell/ev-window.c: (ev_window_open):
4682 Fix document title bugs and fallback to
4683 filename when not available.
4685 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
4687 * backend/ev-document.c: (ev_document_get_type),
4688 (ev_document_class_init), (ev_document_load),
4689 (ev_document_get_title):
4690 * backend/ev-document.h:
4691 * pdf/xpdf/pdf-document.cc:
4692 * ps/ps-document.c: (ps_document_set_property),
4693 (ps_document_get_property), (ps_document_class_init),
4697 * shell/ev-window.c: (update_window_title), (ev_window_open),
4700 Initial support for document title. Not working yet.
4702 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
4704 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event):
4706 Grab focus on the view when clicking it
4708 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
4710 * shell/ev-marshal.list:
4711 * shell/ev-view.c: (ev_view_realize), (add_scroll_binding),
4712 (ev_view_scroll_view), (ev_view_class_init), (ev_view_init):
4714 Add key bindings to the view. Now if the focus would work
4717 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
4720 * backend/Makefile.am:
4723 * dvi/dvilib/Makefile.am:
4724 * pdf/xpdf/Makefile.am:
4730 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
4732 * shell/ev-view.c: (ev_view_realize):
4734 Fix mouse wheel scrolling
4736 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
4742 * ps/ps-document.c: (catchPipe), (ps_document_init),
4743 (ps_document_class_init), (ps_document_cleanup),
4744 (ps_document_finalize), (send_ps), (ps_document_get_orientation),
4745 (set_up_page), (close_pipe), (is_interpreter_ready),
4746 (interpreter_failed), (output), (input), (start_interpreter),
4747 (stop_interpreter), (file_length), (file_readable),
4748 (check_filecompressed), (check_pdf), (compute_xdpi),
4749 (compute_ydpi), (compute_size), (ps_document_enable_interpreter),
4750 (ps_document_get_type), (ps_document_emit_error_msg),
4751 (document_load), (ps_document_next_page),
4752 (ps_document_get_current_page), (ps_document_get_page_count),
4753 (ps_document_goto_page), (ps_document_set_page_size),
4754 (ps_document_zoom_to_fit), (ps_document_set_zoom),
4755 (ps_document_load), (ps_document_get_n_pages),
4756 (ps_document_set_page), (ps_document_get_page),
4757 (ps_document_widget_event), (ps_document_set_target),
4758 (ps_document_set_scale), (ps_document_set_page_offset),
4759 (ps_document_get_page_size), (ps_document_render),
4760 (ps_document_document_iface_init):
4763 * shell/ev-window.c: (ev_window_open):
4765 Rename GtkGS to PSDocument
4767 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
4769 * ps/gtkgs.c: (gtk_gs_class_init):
4772 Some more leftover...
4774 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
4776 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_get_orientation),
4777 (output), (stop_interpreter), (gtk_gs_emit_error_msg),
4778 (gtk_gs_zoom_to_fit), (gtk_gs_set_zoom):
4781 Remove unused code and make a lot of stuff private
4783 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
4785 * ps/gsdefaults.c: (gtk_gs_defaults_gconf_client),
4786 (gtk_gs_defaults_changed):
4792 Cleanup headers dependencies
4794 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
4799 * ps/gsdefaults.c: (gtk_gs_defaults_get_paper_sizes):
4801 * ps/gtkgs.c: (file_length), (file_readable),
4802 (check_filecompressed), (check_pdf), (gtk_gs_load),
4803 (gtk_gs_get_postscript):
4807 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
4812 * ps/gtkgs.c: (gtk_gs_set_zoom):
4816 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
4818 * ps/gtkgs.c: (gtk_gs_set_zoom), (gtk_gs_set_zoom_mode):
4820 Ensure the page is rerendered when changing zoom
4822 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
4824 * backend/ev-document.c: (ev_document_base_init),
4825 (ev_document_changed):
4826 * backend/ev-document.h:
4828 Add a changed event that is emitted when the page content
4829 changes. This is necessary to deal with the fact that
4830 in ps backend rendering happen asycrounously.
4831 This makes the ps backend mostly work.
4833 * pdf/xpdf/pdf-document.cc:
4837 * ps/gtkgs.c: (set_up_page), (gtk_gs_widget_event),
4838 (ps_document_set_target):
4842 * shell/ev-view.c: (document_changed_callback),
4843 (ev_view_set_document), (ev_view_set_page):
4845 Redraw on the changed signal
4847 2004-12-25 Raphael Higino <raphaelh@cvs.gnome.org>
4849 * configure.ac: Added pt_BR to ALL_LINGUAS.
4851 Fri Dec 24 00:48:44 2004 Jonathan Blandford <jrb@redhat.com>
4853 * backend/ev-document-bookmarks.c:
4854 (ev_document_bookmarks_get_child): *
4855 backend/ev-document-bookmarks.h: * pdf/xpdf/Makefile.am: *
4856 pdf/xpdf/pdf-document.cc: * pdf/xpdf/pdf-document.h: *
4857 shell/Makefile.am: * shell/ev-sidebar-bookmarks.c:
4858 (ev_sidebar_bookmarks_destroy),
4859 (ev_sidebar_bookmarks_class_init),
4860 (ev_sidebar_bookmarks_construct), (stack_data_free),
4861 (do_one_iteration), (populate_bookmarks_idle),
4862 (ev_sidebar_bookmarks_clear_document),
4863 (ev_sidebar_bookmarks_set_document): *
4864 shell/ev-sidebar-bookmarks.h: * shell/ev-sidebar.c:
4865 (ev_sidebar_add_page),
4866 (ev_sidebar_set_document): * shell/ev-window.c: (ev_window_open):
4867 Initial stab at a bookmarks sidebar. It doesn't navigate yet, but
4868 it displays both the topics and the page numbers.
4870 2004-12-23 Kristian Høgsberg <krh@redhat.com>
4872 * shell/ev-window.c (ev_window_view_sidebar_cb): Hook up sidebar
4874 * shell/ev-window.c (toggle_entries): Set sidebar default value to
4877 2004-12-23 Adam Weinberger <adamw@gnome.org>
4879 * configure.ac: Added en_CA to ALL_LINGUAS.
4881 2004-12-23 Martin Kretzschmar <martink@gnome.org>
4883 * ChangeLog: replace bottom of this ChangeLog (merged history of
4884 ggv and gpdf; where all paths were wrong and most of the files are
4885 not even in this tree) with ChangeLog (from arch) of the shell
4888 2004-12-23 Havoc Pennington <hp@redhat.com>
4890 * shell/ev-window.c: hook up potentially-questionable "find
4891 results status text" feature - something involving the sidebar or
4892 scrollbar or a continuous all-pages-on-giant-roll-of-paper-view
4893 might be better in the end.
4895 * shell/ev-view.c (ev_view_get_find_status_message): new function,
4896 with corresponding signal when it should be updated
4898 * shell/eggfindbar.c (egg_find_bar_set_status_text): new function
4900 2004-12-22 Havoc Pennington <hp@redhat.com>
4902 * pdf/xpdf/pdf-document.cc (pdf_document_find_begin): make search
4903 find stuff on other pages, sort of (only returns one result on
4904 invisible pages, to show they have results; updates full results
4905 for a page when you view it). Currently repaints the current page
4906 every time a new result is found on any page, which isn't so nice.
4908 2004-12-22 Havoc Pennington <hp@redhat.com>
4910 * shell/ev-window.c (ev_window_cmd_edit_find): display an error if
4911 the document doesn't support find (better ideas?)
4912 (find_bar_search_changed_cb): handle missing document or document
4913 that doesn't support find
4915 * pdf/xpdf/pdf-document.cc: port to implement the new
4918 * backend/ev-document-find.c: create a new interface for searching
4920 * backend/ev-document.h, backend/ev-document.c: delete the find stuff
4922 2004-12-23 Martin Kretzschmar <martink@gnome.org>
4924 * pdf/xpdf/Makefile.am (libpdfdocument_la_LIBADD): add
4927 * shell/ev-window.c (ev_window_print): add GnomePrintJob to
4928 EvPrintJob constructor arguments.
4930 * backend/ev-ps-exporter.c, backend/ev-ps-exporter.h: interface
4931 for documents that can export PostScript (page by page).
4933 * backend/Makefile.am (libevbackend_la_SOURCES): add them.
4935 * pdf/xpdf/pdf-document.cc (pdf_document_ps_export_begin)
4936 (pdf_document_ps_export_do_page, pdf_document_ps_export_end)
4937 (pdf_document_ps_exporter_iface_init:
4938 Implement EvPSExporter.
4940 * pdf/xpdf/Makefile.am (libxpdf_la_SOURCES): build PSOutputDev.
4942 2004-12-22 Anders Carlsson <andersca@gnome.org>
4944 * backend/Makefile.am:
4945 * backend/ev-document-thumbnails.c:
4946 (ev_document_thumbnails_get_type),
4947 (ev_document_thumbnails_get_thumbnail):
4948 * backend/ev-document-thumbnails.h:
4949 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
4950 (pixbuf_document_thumbnails_get_thumbnail),
4951 (pixbuf_document_document_thumbnails_iface_init):
4952 * shell/Makefile.am:
4953 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_destroy),
4954 (ev_sidebar_thumbnails_class_init), (ev_sidebar_thumbnails_init),
4955 (populate_thumbnails), (ev_sidebar_thumbnails_set_document):
4956 * shell/ev-sidebar-thumbnails.h:
4957 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
4958 (ev_sidebar_set_document):
4959 * shell/ev-utils.c: (gaussian), (create_blur_filter),
4960 (create_shadow), (ev_pixbuf_add_shadow):
4962 Add thumbnail support.
4964 2004-12-22 Martin Kretzschmar <martink@gnome.org>
4966 * shell/ev-window.c (ev_window_cmd_file_print, ev_window_print)
4967 (using_postscript_printer): Set up a print dialog for "PostScript
4970 * shell/ev-print-job.h, shell/ev-print-job.c: stub classes for
4973 * shell/Makefile.am (evince_SOURCES): add ev-print-job.[ch]
4975 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
4977 * ps/gtkgs.c: (gtk_gs_init), (set_up_page),
4978 (ps_document_set_target), (ps_document_get_page_size),
4979 (ps_document_render):
4984 2004-12-22 Christian Rose <menthos@menthos.com>
4986 * configure.ac: Added "sv" to ALL_LINGUAS.
4988 Wed Dec 22 14:47:38 2004 Jonathan Blandford <jrb@redhat.com>
4990 * backend/ev-document-bookmarks.[ch]: new interface to indicate
4991 document supports bookmarks.
4993 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
4995 * ps/ggvutils.c: (ggv_file_readable):
4997 * ps/gtkgs.c: (check_filecompressed), (check_pdf),
4998 (gtk_gs_get_postscript):
5002 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
5004 * ps/gtkgs.c: (gtk_gs_init), (gtk_gs_class_init), (gtk_gs_cleanup),
5005 (gtk_gs_finalize), (gtk_gs_set_center), (set_up_page), (output),
5006 (start_interpreter), (compute_size), (gtk_gs_enable_interpreter),
5007 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_reload),
5008 (gtk_gs_emit_error_msg), (gtk_gs_disable_interpreter),
5009 (gtk_gs_load), (gtk_gs_goto_page), (gtk_gs_set_page_size),
5010 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
5011 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
5012 (gtk_gs_set_antialiasing), (ps_document_load),
5013 (ps_document_render):
5016 Another check point for the ps backend. Now I can get it to show
5019 Wed Dec 22 13:41:01 2004 Jonathan Blandford <jrb@redhat.com>
5021 * shell/ev-sidebar.c (ev_sidebar_set_document): initial sidebar
5022 document setting code.
5024 2004-12-22 Anders Carlsson <andersca@gnome.org>
5026 * shell/eggfindbar.c: (entry_activate_callback):
5027 Animate the next button when activate is pressed.
5029 2004-12-22 Anders Carlsson <andersca@gnome.org>
5031 * shell/ev-window.c: (ev_window_cmd_edit_find),
5032 (update_fullscreen_popup), (ev_window_fullscreen),
5033 (ev_window_unfullscreen), (ev_window_state_event_cb),
5034 (ev_window_focus_out_cb), (find_bar_close_cb), (ev_window_init):
5035 Fix bugs in fullscreen code.
5037 2004-12-22 Anders Carlsson <andersca@gnome.org>
5041 * pixbuf/Makefile.am:
5042 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
5043 (pixbuf_document_load), (pixbuf_document_get_n_pages),
5044 (pixbuf_document_set_page), (pixbuf_document_get_page),
5045 (pixbuf_document_set_target), (pixbuf_document_set_scale),
5046 (pixbuf_document_set_page_offset), (pixbuf_document_get_page_size),
5047 (pixbuf_document_render), (pixbuf_document_begin_find),
5048 (pixbuf_document_end_find), (pixbuf_document_finalize),
5049 (pixbuf_document_class_init),
5050 (pixbuf_document_document_iface_init), (pixbuf_document_init):
5051 * pixbuf/pixbuf-document.h:
5052 * shell/Makefile.am:
5053 * shell/ev-application.c: (ev_application_open):
5054 * shell/ev-window.c: (mime_type_supported_by_gdk_pixbuf),
5058 Tue Dec 21 21:45:43 2004 Soeren Sandmann <sandmann@redhat.com>
5061 * dvi/dvilib/Makefile.am:
5063 * configure.ac: Auto*ify dvi and dvi/dvilib
5065 * dvi/Makefile: Remove from CVS
5067 * dvi/dvilib/dl-pkfont.cc (unpack_bitmap): Fix uchar/uint
5070 * dvi/dvilib/dl-fontdefinition.{cc,hh}: New DviFontMap class
5072 * dvi/dvilib/dl-vffont.{cc,hh}: Many bugfixes to VF code.
5074 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
5077 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_finalize),
5078 (gtk_gs_value_adjustment_changed), (compute_size),
5079 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_new_from_file),
5080 (gtk_gs_center_page), (gtk_gs_load), (gtk_gs_set_page_size),
5081 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
5082 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
5083 (gtk_gs_start_scroll), (gtk_gs_get_postscript),
5084 (gtk_gs_set_adjustments), (gtk_gs_set_available_size),
5085 (ps_document_load), (ps_document_get_n_pages),
5086 (ps_document_set_page), (ps_document_get_page),
5087 (ps_document_set_target), (ps_document_set_scale),
5088 (ps_document_set_page_offset), (ps_document_get_page_size),
5089 (ps_document_render), (ps_document_begin_find),
5090 (ps_document_end_find), (ps_document_document_iface_init):
5092 * shell/Makefile.am:
5093 * shell/ev-window.c: (ev_window_open):
5095 Some work to integrate gtkgs with EvDocument
5097 2004-12-22 Anders Carlsson <andersca@gnome.org>
5099 * shell/ev-window.c: (update_fullscreen_popup),
5100 (screen_size_changed_cb), (destroy_exit_fullscreen_popup),
5101 (exit_fullscreen_button_clicked_cb),
5102 (fullscreen_popup_size_request_cb), (ev_window_fullscreen),
5103 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
5104 (ev_window_state_event_cb), (ev_window_init):
5105 Add fullscreen support from Epiphany.
5107 2004-12-22 Mark McLoughlin <mark@skynet.ie>
5109 * data/ev-stock-zoom-fit-width.png: fit-width
5110 stock icon from gpdf.
5112 * shell/ev-stock-icons.[ch]: copied from gpdf.
5114 * shell/main.c: (main): init stock icons.
5116 * shell/ev-window.c: use the fit-width icon.
5118 * data/evince-ui.xml: add zooming toolbar items.
5120 2004-12-22 Mark McLoughlin <mark@skynet.ie>
5123 (ev_view_best_fit), (ev_view_fit_width): because
5124 get_page_size() returns the scaled page size, we
5125 need to calculate the scale factor relative to
5126 the previous scale factor. Should really just
5127 add get_real_page_size().
5129 2004-12-22 Mark McLoughlin <mark@skynet.ie>
5131 * shell/ev-view.[ch]:
5132 (ev_view_zoom), (ev_view_zoom_in), (ev_view_zoom_out),
5133 (ev_view_normal_size), (ev_view_best_fit), (ev_view_fit_width):
5136 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
5137 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_normal_size),
5138 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width):
5141 * pdf/xpdf/pdf-document.cc:
5142 (pdf_document_begin_find),
5143 (pdf_document_end_find): make static.
5145 2004-12-22 Martin Kretzschmar <martink@gnome.org>
5147 * pdf/xpdf/GlobalParams.h (setupBaseFontsFc): add prototype.
5149 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): maps base font
5150 names to fontconfig patterns.
5151 (setupBaseFontsFc): setupBaseFonts reimplemented using fontconfig.
5153 * pdf/xpdf/pdf-document.cc (pdf_document_load): use
5156 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
5172 Import ggv backend. Not hooked up yet.
5174 2004-12-22 Mark McLoughlin <mark@skynet.ie>
5176 * shell/main.c: (load_files), (main): load files
5177 from the command line.
5179 2004-12-22 Mark McLoughlin <mark@skynet.ie>
5181 * configure.ac: don't require bonobo.
5183 * cut-n-paste/recent-files/*: kill bonobo recent
5186 * shell/ev-window.c:
5187 (ev_window_is_empty): upd.
5188 (unable_to_load), (ev_window_open): load backend
5189 based on the mime type.
5191 2004-12-22 Martin Kretzschmar <martink@gnome.org>
5193 * backend/.cvsignore: ignore generated marshalers source.
5195 * shell/main.c (main): this is not epiphany.
5197 2004-12-22 Havoc Pennington <hp@redhat.com>
5199 * shell/ev-view.c (ev_view_set_document): connect to "found" signal
5200 (expose_bin_window): draw find highlights
5202 * shell/ev-window.c (find_bar_search_changed_cb): implement
5204 * pdf/xpdf/pdf-document.cc (pdf_document_begin_find)
5205 (pdf_document_end_find): implement this interface
5207 * backend/ev-document.c (ev_document_found): add this to emit
5210 Tue Dec 21 23:57:37 2004 Owen Taylor <otaylor@redhat.com>
5212 * data/evince-ui.xml: Add a few more toolbar items.
5214 * shell/ev-window.c: Hook up page navigation toolbar
5217 * shell/ev-view.[ch]: add ev_view_set/get_page and
5218 a page-changed signal.
5220 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc::
5221 Add ev_document_get_page().
5223 * shell/ev-window.c: Sensitize/desensitize navigation
5226 2004-12-21 Havoc Pennington <hp@redhat.com>
5228 * backend/ev-backend-marshal.c,
5229 backend/ev-backend-marshalers.list, backend/Makefile.am: add
5230 marshaler-generator thingy. I'm sure there's a better way to do
5231 this in the modern world.
5233 * backend/ev-document.h (struct _EvDocumentIface): add begin_find,
5234 end_find methods and "found" signal.
5236 * configure.ac: find glib-genmarshal
5238 Tue Dec 21 23:20:35 2004 Jonathan Blandford <jrb@redhat.com>
5240 * shell/ev-sidebar.c: Construct an actual sidebar.
5241 * shell/ev-sidebar-bookmarks.[ch]:
5242 * shell/ev-sidebar-thumbnails.[ch]: Stub out sidebars.
5244 Tue Dec 21 23:05:51 2004 Owen Taylor <otaylor@redhat.com>
5246 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc:
5249 * shell/ev-view.c: Track the size from the document.
5251 Tue Dec 21 22:17:04 2004 Owen Taylor <otaylor@redhat.com>
5253 * pdf/xpdf/pdf-document.cc (pdf_document_load): PDFDoc
5254 constructor assumes ownership of the string passed in.
5256 * shell/ev-window.c (ev_window_open): Destroy the error
5257 dialog once we've displayed it.
5259 Tue Dec 21 21:58:56 2004 Owen Taylor <otaylor@redhat.com>
5261 * pdf/xpdf/pdf-document.cc shell/ev-view.c: Hook things up
5262 a bit, it works! (sort of)
5264 * pdf/xpdf/Makefile.am pdf/xpdf/pdf-document.cc:
5265 Move to .cc since we need to use C++ in the implementation.
5267 * shell/dummy.cc: Add a CC file to force evince
5268 to be linked as a C++ program.
5270 Tue Dec 21 21:07:55 2004 Owen Taylor <otaylor@redhat.com>
5272 * shell/ev-view.[ch]: Start of content-area widget.
5274 * shell/ev-window.c: Create a EvView, update it
5275 as we change documents.
5277 * shell/Makefile.am shell/ev-marshal.list: Add
5278 generated marshalers.
5280 Tue Dec 21 20:28:11 2004 Jonathan Blandford <jrb@redhat.com>
5282 * Makefile.am (SUBDIRS): move shell.
5284 Tue Dec 21 19:28:55 2004 Owen Taylor <otaylor@redhat.com>
5286 * pdf/{goo,fofi,splash,xpdf}/Makefile.am: Switch from
5287 .a to libtool convenience libraries.
5289 * shell/ev-window.c (ev_window_open): Hard code loading
5292 * backend/ev-document.h: Add a boolean return to load(),
5293 fix GError * to GError **.
5295 * pdf/xpdf/pdf-document.[ch] Makefile.am: Add a stub
5296 object for a PDF backend EvDocument.
5298 Tue Dec 21 18:55:06 2004 Søren Sandmann <sandmann@redhat.com>
5300 * dvi/*: New directory with the beginning of a .dvi backend.
5302 2004-12-21 Havoc Pennington <hp@redhat.com>
5304 * shell/eggfindbar.c (egg_find_bar_init): change buttons to
5305 previous/next instead of back/forward
5307 Tue Dec 21 18:26:24 2004 Owen Taylor <otaylor@redhat.com>
5309 * backend/ev-document.[ch]: Fix a couple of problems so
5312 Tue Dec 21 18:20:40 2004 Owen Taylor <otaylor@redhat.com>
5314 * viewer/* backend/* configure.ac Makefile.am: Move viewer directory
5315 to backend/ directory, rename EvViewer to EvDocument.
5317 2004-12-21 Havoc Pennington <hp@redhat.com>
5319 * shell/ev-window.c: hook up the find bar widget; now we just need
5320 a document to find things in
5322 * shell/eggfindbar.c: a find bar widget
5324 Tue Dec 21 17:20:16 2004 Jonathan Blandford <jrb@redhat.com>
5326 * shell/ev-sidebar.[ch]: initial sidebar boilerplate.
5328 Tue Dec 21 16:30:58 2004 Owen Taylor <otaylor@redhat.com>
5330 * pdf/**: Import of xpdf code from gpdf.
5332 * pdf/xpdf/xpdfconfig.h: Move the non-config.h config.h to xpdfconfig.h
5334 * pdf/splash/SplashFTFont.{cc,h} pdf/splash/SplashFTFont.h
5335 pdf/splash/SplashFTFontEngine.h pdf/splash/SplashFTFontFile.h:
5336 Fix FreeType includes.
5338 * pdf/xpdf/{Error.h GnomeVFSStream.cc ImageOutputDev.cc PDFDoc.cc\
5339 pdffonts.cc pdfimages.cc pdfinfo.cc pdftoppm.cc pdftops.cc
5340 pdftotext.cc PSOutputDev.cc PSOutputDev.h SplashOutputDev.h
5341 Stream.cc TextOutputDev.cc XPDFApp.cc xpdf.cc XPDFViewer.cc
5342 pdf/xpdf/Error.h PSOutputDev.h SplashOutputDev.h}:
5343 Include xpdfconfig.h
5345 Tue Dec 21 16:08:17 2004 Jonathan Blandford <jrb@redhat.com>
5347 * shell/ev-window.c (ev_window_dispose): dispose can be called
5350 2004-12-21 Havoc Pennington <hp@redhat.com>
5352 * shell/ev-window.c (ev_window_init): set title to Document Viewer
5355 * data/evince-ui.xml, shell/ev-window.c: add a bunch of stub menu
5356 items; really they should be synced with the strings, etc. from
5357 current gpdf, but just getting the boring typing out of the way
5359 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
5362 * shell/ev-application.c: (window_destroy_cb):
5363 * shell/ev-window.c:
5364 * shell/main.c: (main):
5366 Actually show the window...
5368 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
5371 * shell/Makefile.am:
5372 * shell/ev-application.c: (ev_application_class_init):
5373 * shell/ev-window.c: (ev_window_dispose), (ev_window_class_init):
5377 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
5379 Import to gnome cvs.
5381 * Remove copies of gpdf and ggv trees.
5382 * Rip out all the recursive configure code.
5383 * Remove bonobo machinery.
5384 * viewer/*: GInterfaces that backends should/can implement.
5386 2004-11-09 Martin Kretzschmar <m_kretzschmar@gmx.net>
5388 * shell/ev-window.c (ev_window_cmd_help_about): fix "documentors"
5391 2004-10-28 Martin Kretzschmar <m_kretzschmar@gmx.net>
5393 * shell/ev-application.c (EV_APPLICATION_GET_PRIVATE)
5394 (ev_application_finalize, ev_application_class_init)
5395 (ev_application_init): use GType instance private data for priv.
5397 * shell/ev-window.c (EV_WINDOW_GET_PRIVATE)
5398 (ev_window_finalize, ev_window_class_init)
5399 (ev_window_init): ditto.
5401 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
5403 * shell/ev-application.c (ev_application_new_window): make public
5404 (ev_application_show_initial_window): kill.
5406 * shell/ev-application.h: update prototypes.
5408 * shell/main.cc (main): inline ev_application_show_initial_window.
5410 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
5412 * shell/ev-application.c (ev_application_new_window): impl.
5413 (ev_application_show_initial_window): use it.
5414 (is_window_empty, ev_application_get_empty_window): returns an
5415 existing empty window or a new one.
5416 (ev_application_open): from ev_window_cmd_file_open.
5418 * shell/ev-application.h: update prototypes
5420 * shell/ev-window.c (ev_window_is_empty): impl.
5421 (ev_window_open): make public.
5422 (ev_window_cmd_file_open): use ev_application_open
5424 * shell/ev-window.h: update prototypes, remove unused.
5426 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
5428 * shell/ev-window.c (ev_window_destroy, ev_window_class_init):
5429 move destroy handler out of here...
5431 * shell/ev-application.c, shell/ev-application.h: ...into this new
5432 class. Also handles initial window creation.
5434 * shell/main.cc (main): use EvApplication to create initial
5437 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
5439 * Makefile.am (SUBDIRS): add cut-n-paste
5441 * cut-n-paste/Makefile.am: add
5443 * configure.ac: generate Makefiles in cut-n-paste
5445 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
5447 * shell/ev-window.c (ev_window_dispose): new, unref the ui_manager
5448 (ev_window_class_init): install ev_window_dispose.
5450 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
5452 * shell/ev-window.h, shell/ev-window.c: replace gchar with
5453 char (gchar looks stupid).
5455 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
5457 * po/de.po: updated German translation.
5459 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
5461 * configure.ac: add more pkg-config library checks for gnome-vfs,
5464 * gpdf/configure.in: temporarily disable libpaper
5465 checks. Otherwise I'd have to add the checks for the shell, too.
5467 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
5469 * shell/ev-window.c (ev_window_cmd_file_open): add ps+pdf, ps, pdf
5470 and * file filters to the file choose.
5472 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
5474 * po/de.po: Updated German translation.
5476 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
5478 * shell/ev-window.c: use "S" as mnemonic for Statusbar.
5480 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
5482 * data/evince-ui.xml: add View->Toolbar and View->Statusbar.
5484 * shell/ev-window.c (menu_item_select_cb, menu_item_select_cb)
5485 (ev_window_init): implement those menuitems.
5487 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
5489 * data/evince-ui.xml: add a toolbar (with FileOpen action)
5491 * shell/ev-window.c (ev_window_init): use the toolbar.
5493 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
5495 * shell/ev-window.c (ev_window_init): use menu translations
5497 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
5499 * configure.ac: add "de" to ALL_LINGUAS.
5501 * po/de.po: add German translation.
5503 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
5505 * Makefile.am (SUBDIRS): add po
5507 * configure.ac: check intltool, glib-gettext etc, generate
5510 * po, po/POTFILES.in, po/POTFILES.skip: new.
5512 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
5514 * shell/Makefile.am (INCLUDES): define GNOMELOCALEDIR which we
5515 already use (#ifdef ENABLE_NLS)
5517 * shell/ev-window.c (ev_window_cmd_help_about): fix two star
5518 pointer indirection thinko.
5520 * shell/main.c: include gi18n.h for bindtextdomain etc.
5522 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5524 * shell/ev-window.c (menu_item_select_cb, menu_item_deselect_cb)
5525 (connect_proxy_cb, disconnect_proxy_cb, ev_window_init): show
5526 tooltips for menu items in the statusbar.
5528 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5530 * configure.ac, data/Makefile.am, shell/Makefile.am: use
5531 pkgdatadir drop UIDIR
5533 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5535 * data/evince-ui.xml: Add File->Open menu item
5537 * shell/ev-window.c (ev_window_cmd_file_open): impl. (shows a file
5538 chooser), hook it up in the ui manager.
5540 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5542 * shell/ev-window.c: fix Help->About tooltip.
5544 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5546 * configure.ac: set CFLAGS for libevprivate.
5548 * lib/ev-stock-icons.h, lib/ev-stock-icons.c: stock icon
5549 definitions, factory etc.
5551 * lib/Makefile.am: build libevprivate.a (only stock icon code).
5553 * shell/Makefile.am: link against libevprivate.a.
5555 * shell/ev-window.c (entries): add stock icon to Help->About.
5557 * shell/main.c (main): init stock icon code.
5559 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5561 * lib/recent-files: egg recent files code
5563 * lib/Makefile.am: add.
5565 * Makefile.am: add lib subdir.
5567 * configure.ac: gen. lib/Makefile and lib/recent-files/Makefile,
5568 set CFLAGS for recent-files.
5570 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5572 * configure.ac: disable -ansi and -pedantic gcc flags. They
5573 disable POSIX stuff in stdio.h, but egg-recent uses them.
5575 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5577 * configure.ac: add --disable-deprecated flag (defaults to on in
5580 * shell/Makefile.am (INCLUDES): use it.
5582 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5584 * shell/main.c: add missing #include.
5586 * shell/ev-window.c: fix for pedantic gcc.
5587 (ev_window_cmd_help_about): split license into paragraphs for
5588 translators and pedantic compilers.
5590 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5592 * configure.ac: add more warning flags if compiling with gcc from
5593 cvs (or explicitly requested with --enable-more-warnings).
5595 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5597 * data/evince-ui.xml: add File and File->Close menu.
5599 * shell/ev-window.c (ev_window_cmd_file_close_window): impl.
5600 (ev_window_destroy): quit after destroy.
5601 (ev_window_class_init): override GtkObject::destroy.
5602 (entries): install close_window callback.
5604 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5606 * Makefile.am (SUBDIRS): add data subdir.
5608 * configure.ac (UIDIR): gen data/Makefile, define UIDIR. Require
5609 gtk+ 2.5.0 for GtkAboutDialog.
5611 * data/Makefile.am, data/evince-ui.xml: add, ui definition for the
5614 * shell/Makefile.am (INCLUDES): propagate UIDIR definition.
5616 * shell/ev-window.c (ev_window_init): create a menubar, using a ui
5618 (ev_window_cmd_help_about): about command, using GtkAboutDialog.
5620 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5622 * shell/ev-window.c, shell/ev-window.h: Created an EvWindow class.
5624 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
5626 * shell/main.c: make it a trivial gtk+ program, adjust configure.ac
5628 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
5630 * shell/*: Added shell directory boilerplate, build it.
5632 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
5634 * configure.ac, Makefile.am: Added top-level configure.ac and