1 2005-06-30 Kristian Høgsberg <krh@redhat.com>
3 * pdf/ev-poppler.cc: Adjust to poppler API changes; use a
4 sub-GdkPixbuf instead of passing dest_x and dest_y.
6 * shell/ev-view.c: (view_point_to_doc_point),
7 (view_rect_to_doc_rect), (ev_view_button_press_event),
8 (ev_view_motion_notify_event), (compute_new_selection_rect),
9 (gdk_rectangle_point_in), (compute_new_selection_text),
10 (compute_selections): Update selection code to keep the selection
11 around as two points and not as a normalized rectangle, and fix
12 page level selection in two-column mode.
14 2005-06-30 Alex Duggan <aldug@astrolinux.com>
16 * shell/ev-window.c: (window_configure_event_cb):
20 2005-06-30 Marco Pesenti Gritti <mpg@redhat.com>
26 2005-06-30 Marco Pesenti Gritti <mpg@redhat.com>
29 * shell/ev-metadata-manager.c: (item_free),
30 (ev_metadata_manager_init), (ev_metadata_manager_shutdown),
31 (parse_value), (parseItem), (load_values),
32 (ev_metadata_manager_get), (value_free), (ev_metadata_manager_set),
33 (save_values), (save_item), (get_oldest), (resize_items),
34 (ev_metadata_manager_save), (ev_metadata_manager_set_int):
35 * shell/ev-metadata-manager.h:
37 Metadata manager from gedit but modified to use GValue, so that
38 we dont need to keep converting from strings.
42 ENABLE_METADATA conditional, on when dbus is on
44 * shell/ev-application.c: (ev_application_open_uri):
46 Show the window after load so that we can initialize
47 window size before it's showed.
49 * shell/ev-window.c: (ev_window_setup_from_metadata),
50 (ev_window_open_uri), (window_configure_event_cb),
53 Save and load metadata information about window size.
54 Not yet keeping states in account.
56 * shell/main.c: (main):
58 Shutdown metadata manager.
60 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
62 * shell/ev-application-service.xml:
65 * shell/ev-application.c:
66 * shell/ev-application.h:
71 Add an optional dbus interface (--enable-dbus).
72 Rework application code, mainly to be easier to
74 Do not open multiple windows with the same document,
77 Thu Jun 30 01:50:14 2005 Jonathan Blandford <jrb@redhat.com>
79 * shell/ev-pixbuf-cache.c (clear_selection_if_needed): unref the
82 Thu Jun 30 01:43:00 2005 Jonathan Blandford <jrb@redhat.com>
85 * backend/ev-render-context.[ch]:
86 * backend/ev-selection.[ch]:
88 Massive changes. We now support text selection of pdfs, and not
89 just rectangular selection. This is pretty broken still, but I
90 want to get something into CVS.
92 2005-06-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
96 Fix for Bug 309080: crash on window close.
98 * shell/ev-page-action.c: (page_changed_cb):
100 Fix for Bug 309168: Fix build with gcc 2.95. Thanks to
101 jensgr@gmx.net (Jens Granseuer).
103 2005-06-25 Marcel Telka <marcel@telka.sk>
105 * configure.in (ALL_LINGUAS): Added sk.
107 2005-06-24 Carlos Garcia Campos <carlosgc@gnome.org>
109 * shell/ev-window.c: Make rotate menu entries unsensitive if there is
112 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
119 * cut-n-paste/recent-files/Makefile.am:
123 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
125 * pixbuf/pixbuf-document.c: (pixbuf_document_get_orientation),
126 (pixbuf_document_set_orientation), (rotate_pixbuf),
127 (pixbuf_document_get_page_size), (pixbuf_document_render_pixbuf),
128 (pixbuf_document_document_iface_init), (pixbuf_document_init):
130 Implement rotation and cleanup the code a bit.
132 * tiff/tiff-document.c: (tiff_document_get_page_size),
133 (tiff_document_get_orientation), (tiff_document_set_orientation),
134 (rotate_pixbuf), (tiff_document_render_pixbuf),
135 (tiff_document_document_iface_init), (tiff_document_init):
137 Implement rotation. Was the quicker solution for the release
138 but we really need to share this code in the shell.
140 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
144 Enable rotation, require poppler cvs. Fix a leak.
146 2005-06-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
148 * shell/ev-window.c: (update_action_sensitivity):
150 Make properties unsensitive if document backend doesn't provide
153 2005-06-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
155 * dvi/mdvi-lib/bitmap.c: (bitmap_alloc), (bitmap_alloc_raw),
156 (bitmap_flip_horizontally), (bitmap_flip_vertically),
157 (bitmap_flip_diagonally), (bitmap_rotate_clockwise),
158 (bitmap_rotate_counter_clockwise), (bitmap_flip_rotate_clockwise),
159 (bitmap_flip_rotate_counter_clockwise):
160 * dvi/mdvi-lib/color.c: (mdvi_push_color), (get_color_table):
161 * dvi/mdvi-lib/common.c: (read_string), (buff_free), (buff_add),
163 * dvi/mdvi-lib/common.h:
164 * dvi/mdvi-lib/dvimisc.c: (mdvi_push_color):
165 * dvi/mdvi-lib/dviread.c: (get_bytes), (dreset), (define_font),
166 (opendvi), (mdvi_reload), (mdvi_init_context),
167 (mdvi_destroy_context), (mdvi_dopage), (special):
168 * dvi/mdvi-lib/font.c: (font_drop_one), (font_free_unused):
169 * dvi/mdvi-lib/fontmap.c: (read_encoding), (destroy_encoding),
170 (file_hash_free), (register_encoding), (parse_spec),
171 (mdvi_load_fontmap), (free_ent), (mdvi_init_fontmaps),
172 (mdvi_add_fontmap_file), (mdvi_ps_read_fontmap),
173 (mdvi_ps_flush_fonts), (mdvi_ps_find_font), (mdvi_ps_get_metrics):
174 * dvi/mdvi-lib/fontsrch.c: (mdvi_list_font_class),
175 (mdvi_register_font_type), (mdvi_unregister_font_type),
176 (lookup_font), (mdvi_add_font), (mdvi_font_retry):
177 * dvi/mdvi-lib/gf.c: (gf_read_bitmap), (gf_load_font):
178 * dvi/mdvi-lib/hash.c: (mdvi_hash_remove), (mdvi_hash_remove_ptr),
179 (mdvi_hash_destroy_key), (mdvi_hash_reset):
180 * dvi/mdvi-lib/pagesel.c: (mdvi_parse_range),
181 (mdvi_parse_page_spec), (mdvi_free_page_spec), (main):
182 * dvi/mdvi-lib/paper.c: (mdvi_free_paper_specs):
183 * dvi/mdvi-lib/pk.c: (pk_lookup), (pk_lookupn), (pk_load_font):
184 * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
185 * dvi/mdvi-lib/special.c: (mdvi_register_special),
186 (mdvi_unregister_special), (mdvi_flush_specials):
187 * dvi/mdvi-lib/t1.c: (t1_lookup_font), (t1_really_load_font),
189 * dvi/mdvi-lib/tfm.c: (get_tfm_chars):
190 * dvi/mdvi-lib/tfmfile.c: (afm_load_file), (tfm_load_file),
191 (ofm1_load_file), (ofm_load_file), (get_font_metrics),
192 (free_font_metrics), (flush_font_metrics):
193 * dvi/mdvi-lib/tt.c: (tt_really_load_font), (tt_get_bitmap),
195 * dvi/mdvi-lib/util.c: (mdvi_malloc), (mdvi_realloc),
196 (mdvi_calloc), (mdvi_free), (mdvi_strdup), (mdvi_strncpy),
197 (mdvi_strndup), (mdvi_memdup), (xstradd), (dstring_append),
198 (dstring_insert), (dstring_new), (dstring_reset):
199 * dvi/mdvi-lib/vf.c: (vf_load_font), (vf_free_macros):
201 Rename xmalloc and xfree to mdvi_malloc and mdvi_free to
202 avoid conflict with libtool on FC4
204 * shell/ev-window.c: (ev_window_cmd_help_about):
206 Update copyright year. Fix for bug 308828.
208 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
210 * shell/ev-view.c: (add_scroll_binding_keypad),
211 (ev_view_binding_activated), (ev_view_class_init),
212 (on_adjustment_value_changed):
214 Bug 170874: Arrow keys switch pages in presentation mode
216 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
218 * shell/ev-window.c: (ev_window_sidebar_visibility_changed_cb):
220 Fix for Bug 308265: Sidebar dissappears coming out of
223 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
225 * shell/ev-application.c: (ev_application_open):
226 * shell/ev-document-types.c: (ev_document_types_add_filters),
227 (ev_document_types_add_filters_for_type):
228 * shell/ev-document-types.h:
229 * shell/ev-window.c: (ev_window_cmd_save_as):
231 Suggest basename as template when saving, provide filters
232 for save dialog. It's bug 308402
234 2005-06-20 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
237 * shell/ev-sidebar-links.c: (job_finished_callback):
238 * shell/ev-view.c: (update_find_status_message):
242 2005-06-19 Christian Persch <chpe@cvs.gnome.org>
244 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
245 (egg_recent_view_uimanager_set_list):
247 Fix buglet in !show_numbers case.
249 2005-06-19 Christian Persch <chpe@cvs.gnome.org>
251 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
252 (connect_proxy_cb), (egg_recent_view_uimanager_set_list):
254 Use pango ellipsisation.
258 Fix refcount leak, from nsh.
260 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
262 * cut-n-paste/recent-files/Makefile.am:
263 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
264 * cut-n-paste/recent-files/egg-recent-view-gtk.h:
266 Removed EggRecentViewGtk
268 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
269 * cut-n-paste/recent-files/egg-recent-view-uimanager.h:
270 * shell/ev-window.c: (ev_window_cmd_recent_file_activate),
271 (ev_window_setup_recent):
273 Use ViewUIManager instead of ViewGtk. Less leaks, more compatibility
276 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
278 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
279 (egg_recent_view_gtk_finalize):
283 * cut-n-paste/toolbar-editor/Makefile.am:
285 Fix location of cursor icon.
288 * shell/ev-page-action.c: (build_new_tree_cb), (match_selected_cb),
289 (display_completion_text), (match_completion):
290 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
291 (selection_changed_callback), (create_loading_model),
292 (print_section_cb), (links_page_num_func),
293 (update_page_callback_foreach):
294 * shell/ev-window.c: (ev_window_dispose):
296 Small memory fixes. Links model now store objects instead
297 of pointers to improve memory management.
299 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
301 * shell/ev-window.c: (zoom_control_changed_cb):
303 Fix update of zoom control (bug 308268).
305 Sat Jun 18 22:46:42 2005 Jonathan Blandford <jrb@redhat.com>
307 * shell/ev-properties.c (set_property): escape the text correctly.
308 Handles non-UTF-8 properties and escaped properties. Also, sets
309 the text to "<i>None</i>" if the property isn't set.
311 * data/evince-properties.glade: Change the label to be ellipsized,
312 and give it a minimum size.
314 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
316 * lib/ev-file-helpers.c: (ev_file_helpers_shutdown):
317 * shell/ev-sidebar-links.c: (create_loading_model):
318 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose):
319 * shell/ev-view.c: (ev_view_set_document):
320 * shell/ev-window.c: (ev_window_dispose):
322 Various small fixes, mostly memory leaks. Thanks to valgrind.
324 2005-06-19 Martin Kretzschmar <martink@gnome.org>
326 * ps/ps-document.c: remove the locale.h include again ;-). And
327 kill the (bogus) setlocale/savelocale business.
329 2005-06-19 Jaap A. Haitsma <jaap@haitsma.org>
333 Include locale.h to fix build
335 * shell/ev-sidebar.c:
337 Remove unnecessary includes
339 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
341 * dvi/dvi-document.c: (dvi_document_load):
342 * dvi/mdvi-lib/dviread.c: (mdvi_init_context):
345 Check for incorrect dvi files. Fix parsing dvi on AMD64
346 platform. Thanks to tester@tester.ca (Olivier Crete).
348 2005-06-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
350 * shell/ev-page-action.c: (match_selected_cb),
351 (display_completion_text), (match_completion), (update_model):
352 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
354 * shell/ev-sidebar.c: (ev_sidebar_destroy),
355 (ev_sidebar_menu_item_activate_cb), (ev_sidebar_add_page),
356 (ev_sidebar_set_document):
357 * shell/ev-window.c: (ev_window_xfer_job_cb),
358 (sidebar_widget_model_set), (sidebar_page_main_widget_update_cb):
360 Fixed lot's of memory leaks, for example, memory leak on reload,
361 described in bug 307793.
363 2005-06-18 Marco Pesenti Gritti <mpg@redhat.com>
366 * shell/ev-sidebar-thumbnails.c: (clear_range), (add_range),
367 (update_visible_range), (adjustment_changed_cb),
368 (ev_sidebar_thumbnails_fill_model),
369 (ev_sidebar_thumbnails_refresh),
370 (ev_sidebar_tree_selection_changed),
371 (ev_sidebar_icon_selection_changed),
372 (ev_sidebar_thumbnails_use_icon_view),
373 (ev_sidebar_thumbnails_set_document):
374 * shell/ev-sidebar-thumbnails.h:
375 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
376 (ev_window_cmd_edit_rotate_right), (ev_window_init):
378 Refresh thumbnails when changing orientation. Not fully
379 working yet becuase of a sidebar bug.
381 Set page orientation to poppler page everywhere. This sucks
382 really need to fix poppler.
384 2005-06-18 Marco Pesenti Gritti <mpg@redhat.com>
386 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
387 (egg_recent_view_gtk_new_menu_item),
388 (egg_recent_view_gtk_set_property),
389 (egg_recent_view_gtk_get_property),
390 (egg_recent_view_gtk_class_init), (egg_recent_view_gtk_init),
391 (egg_recent_view_gtk_set_tooltip_func),
392 (egg_recent_view_gtk_set_label_width),
393 (egg_recent_view_gtk_get_label_width):
394 * cut-n-paste/recent-files/egg-recent-view-gtk.h:
396 Sync with libegg (ellipsize labels)
398 2005-06-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
400 * data/evince-ui.xml:
401 * shell/ev-window.c: (ev_window_cmd_go_forward),
402 (ev_window_cmd_go_backward):
404 Shift + PageUp moves 10 Pages. Fix for 306125
406 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
410 Add a flag to check if orientation has been overriden
412 2005-06-17 Martin Kretzschmar <martink@gnome.org>
414 * ps/ps.c (psscan, psfree): read "Creator:" comment, free creator
417 * ps/ps.h: add creator field to document.
419 * ps/ps-document.c (ps_document_get_info): set format to PostScript,
422 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
424 * data/evince-properties.glade:
425 * shell/ev-properties.c: (ev_properties_set_document):
429 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
431 * shell/ev-properties.c: (ev_properties_set_document):
433 Remove unnecessary translations
435 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
437 * cut-n-paste/toolbar-editor/Makefile.am:
441 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
444 * cut-n-paste/recent-files/egg-recent-model.c:
445 (egg_recent_model_write_raw), (egg_recent_model_lock_file),
446 (egg_recent_model_unlock_file):
447 * cut-n-paste/recent-files/egg-recent-util.c:
448 (egg_recent_util_get_unique_id):
449 * cut-n-paste/recent-files/update-from-egg.sh:
450 * cut-n-paste/toolbar-editor/Makefile.am:
451 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
452 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
453 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
454 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
455 (egg_toolbars_model_get_type):
456 * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
458 Better makefile for toolbar editor and update everything
461 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
463 * shell/ev-window.c: (update_document_mode):
465 Prefer presentation mode when the document
468 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
470 * data/evince-ui.xml:
473 Add control-equal for zooming
475 2005-06-17 Theppitak Karoonboonyanan <thep@linux.thai.net>
477 * configure.ac: Added 'th' (Thai) to ALL_LINGUAS.
479 2005-06-16 Marco Pesenti Gritti <mpg@redhat.com>
481 * backend/ev-document.c: (ev_document_get_orientation):
482 * backend/ev-document.h:
484 * ps/ps-document.c: (ps_document_get_orientation),
485 (ps_document_set_orientation), (ps_document_document_iface_init):
487 Add a get_orientation api. Improve set_orientation.
489 * data/evince-ui.xml:
490 * shell/ev-view.c: (ev_view_set_orientation),
491 (ev_view_rotate_right), (ev_view_rotate_left):
493 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
494 (ev_window_cmd_edit_rotate_right):
496 Better ui for changing document orientation
498 2005-06-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
500 * shell/ev-sidebar-links.c: (ev_sidebar_links_get_property),
501 (ev_sidebar_links_class_init), (ev_sidebar_links_get_label):
502 * shell/ev-sidebar-links.h:
503 * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
504 (ev_sidebar_page_iface_init):
505 * shell/ev-sidebar-page.h:
506 * shell/ev-sidebar-thumbnails.c:
507 (ev_sidebar_thumbnails_get_property),
508 (ev_sidebar_thumbnails_class_init),
509 (ev_sidebar_thumbnails_set_document):
510 * shell/ev-sidebar-thumbnails.h:
511 * shell/ev-view.c: (ev_view_motion_notify_event):
512 * shell/ev-window.c: (update_chrome_visibility),
513 (ev_window_cmd_focus_page_selector),
514 (ev_window_update_fullscreen_popup), (view_actions_focus_in_cb),
515 (sidebar_page_main_widget_update_cb), (ev_window_init):
517 Autoraise toolbar on GoToPage binding and fix bindings in
518 EvSidebarThumbnails page.
520 2005-06-15 Christian Persch <chpe@cvs.gnome.org>
522 * shell/ev-properties.c: (update_progress_label):
524 Hide the progress label when finished; bug #307697.
526 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
530 Enable is_open for links, you will need poppler cvs
532 * shell/ev-properties.c: (job_fonts_finished_cb):
534 Get a lock on the document when filling the tree view
536 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
538 * backend/ev-document-links.h:
540 * shell/ev-sidebar-links.c: (create_loading_model),
541 (expand_open_links), (job_finished_callback):
543 Expand links when specified by the document.
544 Depend on a poppler api (defined out for now)
546 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
548 * shell/ev-properties.c: (ev_properties_dispose),
549 (ev_properties_class_init), (dialog_destroy_cb),
550 (ev_properties_init), (job_fonts_finished_cb), (setup_fonts_view),
551 (ev_properties_set_document), (ev_properties_new),
552 (ev_properties_show):
553 * shell/ev-properties.h:
555 Make it an object, cleanup the code, api to show it as transient
556 and to set the document.
558 * shell/ev-window.c: (ev_window_setup_document),
559 (ev_window_cmd_file_properties):
561 Adapt to EvProperties changes, do not show multiple
562 times, update it when document changes.
564 2005-06-14 Marco Pesenti Gritti <mpg@redhat.com>
567 * ps/ps-document.c: (ps_document_init), (get_page_orientation),
568 (ps_document_set_orientation), (ps_document_document_iface_init):
571 Implement orientation here too
573 * shell/ev-properties.c: (ev_properties_new):
574 * data/evince-properties.glade:
576 Hide the fonts page for backends that doesnt
579 2005-06-14 Marco Pesenti Gritti <mpg@redhat.com>
581 * backend/ev-document.c: (ev_document_set_orientation):
582 * backend/ev-document.h:
585 Add orientation api. Currently poppler api is not optimal,
586 we need to set orientation every time we _get a page.
587 I will try to fix that at some point.
589 * data/evince-ui.xml:
590 * shell/ev-window.c: (ev_window_cmd_edit_landscape),
591 (ev_window_cmd_edit_portrait), (ev_window_cmd_edit_flip):
593 Add orientation menu items
595 * shell/ev-page-cache.c: (ev_page_cache_clear):
596 * shell/ev-page-cache.h:
598 Add api to clear the cache
600 * shell/ev-view.c: (setup_caches), (clear_caches),
601 (ev_view_set_document), (ev_view_zoom_out),
602 (ev_view_set_orientation):
605 Implement orientation changing
607 2005-06-13 Marco Pesenti Gritti <mpg@redhat.com>
609 * backend/ev-document-fonts.c: (ev_document_fonts_get_progress),
610 (ev_document_fonts_scan), (ev_document_fonts_fill_model):
611 * backend/ev-document-fonts.h:
613 Separate scan and fill so that we can incrementally fill from
614 the main thread. Add a progress api.
616 * data/evince-properties.glade:
618 * shell/ev-jobs.c: (ev_job_fonts_new), (ev_job_fonts_run):
620 * shell/ev-properties.c: (update_progress_label),
621 (job_fonts_finished_cb), (setup_fonts_view):
623 Incrementally feel the list and show the progress
624 percentage in a label like acrobat does.
626 You are going to need poppler cvs
628 2005-06-11 Marco Pesenti Gritti <mpg@redhat.com>
630 * backend/ev-document-fonts.c: (ev_document_fonts_fill_model):
631 * backend/ev-document-fonts.h:
634 Make fonts model fill incrementally.
636 * shell/ev-job-queue.c: (handle_job), (search_for_jobs_unlocked),
637 (no_jobs_available_unlocked), (ev_job_queue_init), (find_queue),
638 (ev_job_queue_remove_job):
639 * shell/ev-jobs.c: (ev_job_fonts_init), (ev_job_fonts_class_init),
640 (ev_job_fonts_new), (ev_job_fonts_run):
643 New job for fonts scanning
645 * shell/ev-properties.c: (job_fonts_finished_cb),
646 (fill_fonts_treeview), (setup_fonts_view), (ev_properties_new):
647 * shell/ev-properties.h:
648 * shell/ev-window.c: (ev_window_cmd_file_properties):
650 Incrementally feel the treeview using the new job. Show Loading...
651 message until scanning is completed.
653 Hopefully I didnt break the build without the poppler patch.
655 2005-06-10 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
657 * shell/ev-application.c: (ev_application_open):
658 * shell/ev-document-types.c: (ev_document_type_from_from_mime),
659 (ev_document_type_get_type), (ev_document_type_lookup):
660 * shell/ev-document-types.h:
661 * shell/ev-job-xfer.c: (ev_job_xfer_dispose), (ev_job_xfer_run):
662 * shell/ev-job-xfer.h:
663 * shell/ev-window.c: (ev_window_clear_local_uri),
664 (ev_window_load_job_cb), (ev_window_xfer_job_cb),
665 (ev_window_open_uri), (ev_window_add_recent), (ev_window_dispose):
666 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
668 Transfer remote documents to tmp directory to display them later.
670 2005-06-10 Marco Pesenti Gritti <mpg@redhat.com>
672 * backend/ev-document-info.h:
673 * shell/ev-properties.c: (ev_properties_new):
675 s/GTime*/GTime. Not sure why we was using a pointer
678 Wed Jun 8 01:04:22 2005 Jonathan Blandford <jrb@redhat.com>
680 * shell/ev-sidebar-thumbnails.c: Use a GtkIconView in certain
681 situations. That situation is that you're using GTK+-HEAD with
682 the patch at #306726 is applied, and you have a document with <
683 1500 pages in it. It's not quite as uniformly nice as the
684 TreeView, but should be better in the long run.
686 I'm pretty sure I guarded against breaking compilation with
687 HAVE_GTK_ICON_VIEW_GET_VISIBLE_RANGE gaurds, though it's possible
690 * shell/ev-window.c (ev_window_init): We don't have our tree/list
691 widget yet, so I commented that code out
692 enable_view_actions_for_widget() for now. Need to figure this
695 * shell/ev-page-action.c (match_selected_cb): emit the right
696 signals. Our cool C-l completion now works.
698 2005-06-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
700 * backend/Makefile.am:
701 * backend/ev-document-fonts.c:
702 * backend/ev-document-links.c:
703 * backend/ev-document.c: (ev_document_load):
704 * backend/ev-document.h:
705 * backend/ev-job-queue.c:
706 * backend/ev-job-queue.h:
709 * backend/ev-page-cache.c:
710 * backend/ev-page-cache.h:
712 EvPageCache and EvJobs are moved to shell.
714 * lib/ev-file-helpers.c: (ev_file_helpers_shutdown),
716 * lib/ev-file-helpers.h:
718 New helper to work with temporary files
721 * shell/ev-application.c: (ev_application_open):
722 * shell/ev-application.h:
723 * shell/ev-job-queue.c: (remove_job_from_queue_locked),
724 (remove_job_from_async_queue), (add_job_to_async_queue),
725 (add_job_to_queue_locked), (notify_finished), (job_finished_cb),
726 (handle_job), (search_for_jobs_unlocked),
727 (no_jobs_available_unlocked), (ev_render_thread),
728 (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
729 (ev_job_queue_add_job), (move_job_async), (move_job),
730 (ev_job_queue_update_job), (ev_job_queue_remove_job):
731 * shell/ev-job-queue.h:
732 * shell/ev-job-xfer.c: (ev_job_xfer_init), (ev_job_xfer_dispose),
733 (ev_job_xfer_class_init), (ev_job_xfer_new), (ev_job_xfer_run):
734 * shell/ev-job-xfer.h:
735 * shell/ev-jobs.c: (ev_job_init), (ev_job_dispose),
736 (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
737 (ev_job_links_class_init), (ev_job_render_init),
738 (ev_job_render_dispose), (ev_job_render_class_init),
739 (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
740 (ev_job_thumbnail_class_init), (ev_job_load_init),
741 (ev_job_load_dispose), (ev_job_load_class_init), (ev_job_finished),
742 (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
743 (render_finished_cb), (ev_job_render_run), (ev_job_thumbnail_new),
744 (ev_job_thumbnail_run), (ev_job_load_new), (ev_job_load_run):
746 * shell/ev-page-action.c: (ev_page_action_set_document):
747 * shell/ev-page-cache.c: (ev_page_cache_init),
748 (ev_page_cache_class_init), (ev_page_cache_finalize),
749 (ev_page_cache_new), (ev_page_cache_get_n_pages),
750 (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
751 (ev_page_cache_set_page_label), (ev_page_cache_set_link),
752 (ev_page_cache_get_title), (ev_page_cache_get_size),
753 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
754 (ev_page_cache_get_height_to_page),
755 (ev_page_cache_get_max_label_chars),
756 (ev_page_cache_get_page_label),
757 (ev_page_cache_has_nonnumeric_page_labels),
758 (ev_page_cache_get_info), (ev_page_cache_next_page),
759 (ev_page_cache_prev_page), (ev_page_cache_get):
760 * shell/ev-page-cache.h:
761 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_update_range),
762 (ev_pixbuf_cache_clear_job_sizes),
763 (ev_pixbuf_cache_add_jobs_if_needed),
764 (ev_pixbuf_cache_set_page_range):
765 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings):
766 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document):
767 * shell/ev-sidebar-thumbnails.c:
768 (ev_sidebar_tree_selection_changed),
769 (ev_sidebar_thumbnails_set_document):
770 * shell/ev-statusbar.c: (ev_statusbar_destroy),
771 (ev_statusbar_class_init), (ev_statusbar_init), (ev_statusbar_new),
772 (ev_statusbar_get_context_id), (ev_statusbar_push),
773 (ev_statusbar_pop), (ev_statusbar_set_maximized),
774 (ev_statusbar_pulse), (ev_statusbar_show_progress),
775 (ev_statusbar_set_progress):
776 * shell/ev-statusbar.h:
777 * shell/ev-view.c: (ev_view_set_document), (ev_view_find_next),
778 (ev_view_find_previous):
779 * shell/ev-window.c: (ev_window_is_empty),
780 (ev_window_setup_document), (password_dialog_response),
781 (ev_window_clear_jobs), (ev_window_load_job_cb),
782 (ev_window_xfer_job_cb), (ev_window_open_uri),
783 (ev_window_open_uri_list), (ev_window_cmd_recent_file_activate),
784 (ev_window_print), (ev_window_print_range),
785 (ev_window_state_event), (ev_window_cmd_view_reload),
786 (menu_item_select_cb), (menu_item_deselect_cb),
787 (view_status_changed_cb), (ev_window_dispose),
788 (drag_data_received_cb), (ev_window_init):
790 * shell/main.c: (load_files):
792 New statusbar to show progress on idle. Two new jobs -
793 xfer job and load job to load document in background. And update
794 of page_cache clients to new location of code.
796 2005-06-08 Carlos Garcia Campos <carlosgc@gnome.org>
798 * shell/ev-application.c, shell/ev-window.[ch]: Allow multiple
799 selection in open dialog. It also remembers the last visited directory
800 in the current session.
802 2005-06-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
804 * shell/ev-properties.c: (ev_properties_new):
805 * shell/ev-properties.h:
806 * shell/ev-window.c: (ev_window_cmd_file_properties):
808 Get document info from page cache instead of document itself.
809 This should fix crash related to race conditions described in
812 2005-06-07 Marco Pesenti Gritti <mpg@redhat.com>
814 * ps/ps-document.c: (ps_document_init),
815 (send_ps), (get_page_box), (output), (catchPipe), (input),
816 (stop_interpreter), (file_length), (file_readable),
817 (check_filecompressedb), (ps_document_enable_interpreter),
818 (document_load), (ps_async_renderer_render_pixbuf):
821 Big cleanup of the ps code
823 2005-06-07 Marco Pesenti Gritti <mpg@redhat.com>
825 * backend/Makefile.am:
826 * backend/ev-async-renderer.c: (ev_async_renderer_get_type),
827 (ev_async_renderer_class_init), (ev_async_renderer_render_pixbuf):
828 * backend/ev-async-renderer.h:
830 Add an async renderer interface (method + callback) which
831 is useful for backends like ps.
833 * backend/ev-job-queue.c: (remove_job_from_async_queue),
834 (add_job_to_async_queue), (job_finished_cb), (handle_job),
835 (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
836 (ev_job_queue_add_job), (move_job_async), (move_job),
837 (ev_job_queue_update_job), (ev_job_queue_remove_job):
839 Add queues for async renderer, these are executed on the
842 * backend/ev-jobs.c: (ev_job_render_new), (render_finished_cb),
846 If the backend support async renderer interface use it.
848 * ps/ps-document.c: (ps_document_init), (push_pixbuf),
849 (setup_pixmap), (ps_document_get_type),
850 (ps_async_renderer_render_pixbuf),
851 (ps_document_document_iface_init), (ps_async_renderer_iface_init):
853 Implement async renderer interface.
855 2005-06-07 Nickolay V. Shmyrev <<nshmyrev@yandex.ru>>
857 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose):
859 Cleanup links job on exit.
861 2005-06-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
863 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
864 (drag_data_get_cb), (drag_data_received_cb):
865 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
866 (drag_data_get_cb), (parse_item_list),
867 (egg_toolbar_editor_load_actions):
868 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
869 (egg_toolbars_model_to_xml), (egg_toolbars_model_save),
870 (parse_item_list), (parse_toolbars):
871 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
872 (dvi_pixbuf_put_pixel):
876 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
878 * ps/ps-document.c: (start_interpreter):
880 Fix warning when loading ps
882 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
884 * ps/ps-document.c: (output):
886 Fix crash when priting gs error messages.
888 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
890 * backend/ev-page-cache.c: (_ev_page_cache_new):
891 * backend/ev-page-cache.h:
893 Use a const to return title so that we dont double
894 free it. Small cleanup and fix a leak.
896 * shell/ev-window.c: (update_window_title):
898 strdup value from get_title.
900 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
902 * shell/ev-sidebar-links.c: (job_finished_callback),
903 (ev_sidebar_links_set_document):
905 Cleanup the old job when changing document
907 2005-06-05 Nickolay V. Shmyrev <<nshmyrev@yandex.ru>>
909 * shell/ev-stock-icons.c:
910 * shell/ev-stock-icons.h:
913 Add stock icons for actions that can appear in toolbar. Fix for
916 2005-06-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
918 * backend/ev-page-cache.c: (ev_page_cache_finalize),
919 (_ev_page_cache_new), (ev_page_cache_get_max_width),
920 (ev_page_cache_get_max_height), (ev_page_cache_get_height_to_page):
921 * backend/ev-page-cache.h:
922 * shell/ev-view.c: (scroll_to_current_page),
923 (view_update_range_and_current_page), (get_page_y_offset),
924 (get_page_extents), (ev_view_size_request_continuous_dual_page),
925 (ev_view_size_request_continuous),
926 (ev_view_zoom_for_size_continuous_and_dual_page),
927 (ev_view_zoom_for_size_continuous):
929 More compact EvView layout in document with pages of different size.
931 Sat Jun 4 19:20:57 2005 Jonathan Blandford <jrb@redhat.com>
933 * shell/ev-window.c (ev_window_cmd_file_properties): fix
936 2005-06-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
938 * shell/ev-view.c: (view_set_adjustment_values):
939 * shell/ev-window.c: (ev_window_cmd_file_properties):
941 A bit different fix for rounding problem but it has no
942 problems on startup. Make properties window transient to parent.
944 2005-06-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
948 More commenting of font stuff.
950 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
954 Comment out some more fonts stuff. Should really
955 work without the poppler patch now.
957 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
963 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
965 * data/evince-properties.glade:
967 * shell/ev-properties.c: (setup_fonts_view):
969 Set the column title. Show the dialog only
970 once everything is setup.
971 Getting font info can be very slow... will
972 prolly need to make this threaded too.
974 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
976 * backend/Makefile.am:
977 * backend/ev-document-fonts.c: (ev_document_fonts_get_type),
978 (ev_document_fonts_get_fonts_model):
979 * backend/ev-document-fonts.h:
980 * data/evince-properties.glade:
982 * shell/ev-properties.c: (setup_fonts_view), (ev_properties_new):
983 * shell/ev-properties.h:
984 * shell/ev-window.c: (ev_window_cmd_file_properties):
986 Implement fonts list. Defined out for now, since it depends
987 on a not yet committed poppler patch.
989 Fri Jun 3 21:07:57 2005 Jonathan Blandford <jrb@redhat.com>
991 * shell/ev-view.c (get_page_extents): other_page isn't necessarily
994 * shell/ev-window.c: Make sure we add the timeout when we get a
997 * shell/ev-view.c (view_set_adjustment_values): Add 0.5 to
998 adjustment->value before calculating the zoom factor to average
999 out all of our rounding errors. The page no longer 'drifts' when
1002 2005-06-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1004 * data/evince-properties.glade:
1005 * shell/ev-properties.c: (ev_properties_format_date),
1008 Labels don't expand when the dialogue is resized.
1009 strftime result needs to be converted to UTF-8. Thanks
1010 to Christian Persch <chpe@gnome.org>.
1012 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1014 * data/evince-properties.glade:
1018 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1020 * backend/ev-document-info.h:
1021 * backend/ev-document.c: (ev_document_info_free):
1022 * data/evince-properties.glade:
1023 * pdf/ev-poppler.cc:
1024 * ps/ps-document.c: (ps_document_get_info):
1025 * shell/ev-properties.c: (ev_properties_format_date),
1026 (set_property), (ev_properties_new):
1027 * shell/ev-properties.h:
1028 * shell/ev-window.c: (ev_window_cmd_file_properties):
1030 Rework properties code to take only EvPropertyInfo
1031 in the constructor so that it can be useful for
1032 nautilus plugin too.
1034 Deal with backends that doesnt support some properties.
1035 Make set property code generic.
1037 2005-06-04 Christian Persch <chpe@gnome.org>
1039 * data/evince-properties.glade:
1041 fix spacings, make resizeable, and make data labels
1042 selectable + ellipsised
1044 2005-06-03 Marco Pesenti Gritti <mpg@redhat.com>
1046 * backend/ev-document-info.h:
1048 * data/evince-ui.xml:
1049 * pdf/ev-poppler.cc:
1050 * shell/Makefile.am:
1051 * shell/ev-window.c: (update_action_sensitivity),
1052 (ev_window_cmd_file_properties):
1054 Initial go at file properties. Patch by
1055 Emil Soleyman-Zomalan <emil@soleyman.com>.
1056 Needs love see #169583
1058 2005-06-02 Marco Pesenti Gritti <mpg@redhat.com>
1060 * ps/ps-document.c: (output):
1061 * ps/ps.c: (psscan):
1063 Try to render even if psscan fails.
1065 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
1067 * ps/ps.c: (psscan), (pscopydoc):
1069 Port buffered reading code from gv
1071 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
1073 * ps/ps-document.c: (interpreter_message), (output):
1075 Do not fail on interpreter messages
1077 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
1079 * backend/ev-document-misc.c:
1080 (ev_document_misc_get_thumbnail_frame):
1082 Pages can be 0 x 0, dont assert on this case
1084 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1086 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
1087 (ev_sidebar_links_class_init), (ev_sidebar_links_set_document):
1089 Correctly manage our reference on document. Finally the reload
1090 huge leak is gone...
1092 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1094 * ps/ps-document.c: (ps_document_dispose):
1096 Forgot to chain it to the parent. Thanks chpe.
1098 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1100 * ps/ps-document.c: (ps_document_dispose),
1101 (ps_document_class_init), (stop_interpreter), (document_load):
1103 Cleanup dispose a bit. Dont leak the whole pixmap.
1105 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1107 * pdf/ev-poppler.cc:
1109 Release the poppler document on dispose
1111 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1113 * shell/ev-view.c: (ev_view_set_document):
1115 Release ref on the pixbuf cache when changing
1118 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1120 * ps/ps-document.c: (ps_document_get_info):
1124 2005-05-31 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
1126 * backend/ev-page-cache.c: (ev_page_cache_init),
1127 (_ev_page_cache_new), (ev_page_cache_get_max_label_chars):
1128 * backend/ev-page-cache.h:
1129 * shell/ev-page-action.c: (page_changed_cb):
1131 Set page action entry width depending on labels width. Fix
1134 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1136 * backend/ev-link.c: (ev_link_class_init):
1138 Allow -1 as page value (error)
1140 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1142 * shell/ev-sidebar-thumbnails.c:
1143 (ev_sidebar_thumbnails_set_document):
1144 * shell/ev-view.c: (scroll_to_current_page),
1145 (view_set_adjustment_values), (ev_view_set_scroll_adjustments),
1146 (page_changed_cb), (on_adjustment_value_changed),
1147 (ev_view_set_document):
1149 Slightly modified patch by Nickolay V. Shmyrev <nshmyrev@yandex.ru>.
1152 2005-05-29 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1155 * djvu/djvu-document.c: (djvu_document_get_page_size):
1157 Require djvulibre CVS. Now djvu loading is much faster. Fix for
1160 Sat May 28 07:38:03 2005 Jonathan Blandford <jrb@redhat.com>
1162 * shell/ev-view.c (draw_one_page): modify the expose handling to
1165 * shell/ev-window.c (update_action_sensitivity): Respect
1166 permissions field. Kowtow to the man.
1168 * pdf/ev-poppler.cc: Get the permissions field.
1170 * tiff/*c: Make a tiny bit more robust.
1172 2005-05-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1174 * djvu/djvu-document.c:
1176 Pop messages from djvu context message queue.
1178 2005-05-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1180 * configure.ac, Makefile.am, shell/Makefile.am:
1181 * tiff/Makefile.am, shell/ev-document-types.c:
1183 Cleanup tiff configure checks. Fix for bug 305218.
1185 2005-05-24 Maxim V. Dziumanenko <mvd@mylinux.ua>
1187 * configure.ac: Added "uk" to ALL_LINGUAS.
1189 2005-05-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1191 * cut-n-paste/zoom-control/ephy-zoom.c:
1192 (ephy_zoom_get_changed_zoom_level):
1193 * cut-n-paste/zoom-control/ephy-zoom.h:
1194 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_set_property),
1195 (ev_view_get_property), (ev_view_class_init), (ev_view_set_zoom):
1196 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
1197 (ev_window_cmd_view_zoom_out), (ev_window_zoom_changed_cb),
1198 (zoom_control_changed_cb), (ev_window_init):
1200 Fix minor points related to moving best fit up. Introduce
1201 "zoom" property and make zoom control change it's value on
1202 notify::zoom signals. Fix for 305080.
1204 2005-05-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1206 * data/evince-ui.xml:
1207 * shell/ev-window.c: (set_view_actions_sensitivity):
1209 Use + and - as accels for zoom in and zoom out. Fix for 305001.
1211 2005-05-22 Marco Pesenti Gritti <mpg@redhat.com>
1215 Depends on poppler 0.3.2
1217 2005-05-22 Marco Pesenti Gritti <mpg@redhat.com>
1219 * cut-n-paste/recent-files/egg-recent-item.c:
1220 (egg_recent_item_get_short_name):
1221 * cut-n-paste/toolbar-editor/Makefile.am:
1222 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
1223 (new_pixbuf_from_widget):
1224 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
1225 * cut-n-paste/toolbar-editor/egg-marshal.c:
1226 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
1227 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
1231 Sat May 21 23:18:30 2005 Jonathan Blandford <jrb@redhat.com>
1233 * tiff/tiff-document.c: Rough TIFF backend.
1235 2005-05-21 Marco Pesenti Gritti <mpg@redhat.com>
1239 * cut-n-paste/toolbar-editor/Makefile.am:
1243 2005-05-21 Marco Pesenti Gritti <mpg@redhat.com>
1245 * shell/ev-view.c: (jump_to_find_result), (ev_view_can_find_next),
1246 (ev_view_find_next), (ev_view_find_previous):
1248 Remove the locks around get_n_results
1250 2005-05-21 Juerg Billeter <j@bitron.ch>
1252 * pdf/ev-poppler.c: (pdf_document_ps_exporter_begin):
1254 Pass correct number of pages to poppler.
1256 2005-05-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1260 * data/evince.desktop.in:
1261 * data/evince.desktop.in.in:
1264 Add conditionally dvi and djvu to desktop types. Fix for 304658.
1266 Sat May 21 00:21:30 2005 Jonathan Blandford <jrb@redhat.com>
1268 * shell/ev-view.c: (view_update_adjustments),
1269 (view_set_adjustment_values): cast adjustmen->value to (int)
1270 before using it. Otherwise, we get off by a pixel in some
1273 (draw_one_page): Draw the border on expose.
1275 Fri May 20 22:05:25 2005 Jonathan Blandford <jrb@redhat.com>
1277 * *shell/ev-view.c: Patch from Nickolay V. Shmyrev to reset the
1278 adjustment when the mode changes, #304923
1280 Fri May 20 02:00:03 2005 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1282 * shell/ev-view.c: Use gdk_widget_queue_draw to remove
1283 flickering on resize but still use gdk_window_scroll on
1286 Fri May 20 01:46:57 2005 Jonathan Blandford <jrb@redhat.com>
1288 * shell/ev-view.c: Patch from Nickolay Shmyrev to fix the -p
1291 Fri May 20 01:27:01 2005 Jonathan Blandford <jrb@redhat.com>
1293 * shell/ev-view.c: Patch from Nickolay Shmyrev to to scroll to
1294 second page on page_changed if possible, #304669
1296 Fri May 20 01:07:15 2005 Jonathan Blandford <jrb@redhat.com>
1298 * shell/ev-view.c (view_update_adjustments): Use gdk_window_scroll
1299 instead of gtk_widget_queue_draw. Massive speedups in scrolling.
1301 Fri May 20 01:05:10 2005 Jonathan Blandford <jrb@redhat.com>
1304 * shell/ev-view.c:(ev_view_size_allocate), (ev_view_class_init),
1305 (zoom_for_size_fit_width), (zoom_for_size_best_fit),
1306 (ev_view_zoom_for_size_presentation),
1307 (ev_view_zoom_for_size_continuous_and_dual_page),
1308 (ev_view_zoom_for_size_continuous),
1309 (ev_view_zoom_for_size_dual_page),
1310 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size):
1312 * shell/ev-window.c: (update_view_size),
1313 (ev_window_sizing_mode_changed_cb):
1315 Patch from Nickolay Shmyrev <nshmyrev@yandex.ru> to handle
1316 the scrollbars. It's not 100% right, but it's much closer. Kills
1317 an infinite loop, #304769
1320 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
1322 * data/evince-ui.xml:
1323 * shell/ev-view.c: (ev_view_scroll_view), (ev_view_class_init):
1324 * shell/ev-window.c: (set_view_actions_sensitivity):
1326 Make PgUp/Down behave like Space
1328 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
1330 * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
1331 * backend/ev-ps-exporter.h:
1332 * pdf/ev-poppler.cc:
1333 * ps/ps-document.c: (ps_document_ps_export_begin):
1334 * shell/ev-print-job.c: (idle_print_handler):
1336 Adapt to new poppler api
1338 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
1340 * cut-n-paste/zoom-control/ephy-zoom-control.c:
1341 (ephy_zoom_control_init):
1343 Translate zoom levels
1345 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
1347 * cut-n-paste/zoom-control/ephy-zoom.c:
1348 (ephy_zoom_get_zoom_level_index):
1350 Fix current zoom -> zoom control match
1352 2005-05-18 James Bowes <bowes@cs.dal.ca>
1354 * shell/ev-window.c: (ev_window_init): Give focus to the ev-view,
1355 rather than the scrolled_window that it's in. Fixes bug #304655.
1357 Tue May 17 22:54:17 2005 Jonathan Blandford <jrb@redhat.com>
1359 * shell/ev-view.c: (view_update_adjustments),
1360 (view_set_adjustment_values), (view_update_range_and_current_page),
1361 (view_scroll_to_page), (set_scroll_adjustment),
1362 (ev_view_set_scroll_adjustments), (add_scroll_binding_keypad),
1363 (ev_view_scroll), (ev_view_scroll_view),
1364 (ensure_rectangle_is_visible), (find_page_at_location),
1365 (get_link_at_location), (go_to_link), (status_message_from_link),
1366 (ev_view_size_request_continuous_dual_page),
1367 (ev_view_size_request), (ev_view_size_allocate), (ev_view_realize),
1368 (ev_view_unrealize), (ev_view_expose_event),
1369 (ev_view_button_press_event), (ev_view_motion_notify_event),
1370 (ev_view_button_release_event), (ev_gdk_color_to_rgb),
1371 (draw_rubberband), (highlight_find_results), (draw_one_page),
1372 (ev_view_finalize), (ev_view_destroy), (ev_view_class_init),
1373 (ev_view_init), (find_changed_cb), (page_changed_cb),
1374 (on_adjustment_value_changed), (ev_view_new),
1375 (ev_view_set_document), (ev_view_set_zoom),
1376 (ev_view_set_continuous), (ev_view_set_dual_page),
1377 (ev_view_set_presentation), (ev_view_zoom_in), (ev_view_zoom_out),
1378 (zoom_for_size_fit_width), (zoom_for_size_best_fit),
1379 (ev_view_zoom_for_size_presentation),
1380 (ev_view_zoom_for_size_continuous_dual_page),
1381 (ev_view_zoom_for_size_continuous),
1382 (ev_view_zoom_for_size_dual_page),
1383 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
1384 (ev_view_get_status), (ev_view_set_status),
1385 (update_find_status_message), (ev_view_get_find_status),
1386 (ev_view_set_find_status), (jump_to_find_result),
1387 (jump_to_find_page), (compute_selections), (clear_selection),
1388 (ev_view_select_all), (get_selected_text), (ev_view_copy),
1389 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
1390 (ev_view_update_primary_selection),
1391 (ev_view_create_invisible_cursor), (ev_view_set_cursor):
1393 * shell/ev-window.c: (ev_window_open_page_label),
1394 (ev_window_cmd_view_reload), (ev_window_sizing_mode_changed_cb),
1396 * shell/ev-window.h:
1397 * shell/main.c: (load_files):
1399 Massive code clean up from Nickolay Shmyrev. Keep page offset
1400 when resizing. Remove the bin_window(). Also, patch from James
1401 Bowes to fix command line page, #300641
1403 2005-05-17 Marco Pesenti Gritti <mpg@redhat.com>
1405 * data/evince-ui.xml:
1408 * shell/ev-window.c: (update_action_sensitivity):
1410 Get rid of View->Normal Size, it's just confusing
1412 Tue May 17 00:51:21 2005 Jonathan Blandford <jrb@redhat.com>
1414 * backend/ev-document-info.h:
1415 * backend/ev-document.c: (ev_document_info_free): Free the
1418 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
1419 (clear_range), (add_range), (update_visible_range),
1420 (adjustment_changed_cb), (ev_sidebar_thumbnails_init),
1421 (ev_sidebar_thumbnails_set_document):
1422 * shell/ev-window.c: (ev_window_setup_document): Only render the
1423 visible thumbnails. It takes an instant to render, but it uses
1426 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
1428 * shell/ev-sidebar-links.c: (popup_menu_cb):
1432 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
1435 * shell/ev-sidebar-links.c: (build_popup_menu), (popup_menu_cb),
1436 (button_press_cb), (ev_sidebar_links_construct):
1438 Show the popup menu also on keybindings
1440 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
1442 * shell/ev-window.c: (ev_window_print), (ev_window_print_range):
1443 * shell/ev-window.h:
1445 Expose api to print a range (with dialog). Make private _print use
1448 * shell/ev-sidebar-links.c: (print_section_cb), (button_press_cb),
1449 (ev_sidebar_links_construct):
1451 Show a print context menu on linkx, it prints the selected
1454 2005-05-15 Carlos Garcia Campos <carlosgc@gnome.org>
1456 * shell/ev-sidebar.c: make the drop down menu as width as the toggle
1459 2005-05-12 Marco Pesenti Gritti <mpg@redhat.com>
1465 * shell/ev-window.c: (build_comments_string),
1466 (ev_window_cmd_help_about):
1468 Show poppler version/backend and authors
1470 2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
1472 * cut-n-paste/zoom-control/ephy-zoom.c:
1473 (ephy_zoom_get_zoom_level_index):
1474 * cut-n-paste/zoom-control/ephy-zoom.h:
1476 Move the best fit items at the top of the list
1478 2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
1480 * shell/ev-marshal.list:
1481 * shell/ev-page-action.c: (ev_page_action_widget_class_init),
1482 (activate_cb), (match_selected_cb), (activate_link_cb),
1483 (connect_proxy), (ev_page_action_class_init):
1484 * shell/ev-page-action.h:
1486 Use signals to notify action activation. Hopefully
1487 I did not break completion since I cant test...
1489 * shell/ev-window.c: (activate_link_cb), (activate_label_cb),
1490 (register_custom_actions):
1492 Connect to page selector actions and also grab focus on
1493 the view when activated.
1495 Wed May 11 01:18:29 2005 Jonathan Blandford <jrb@redhat.com>
1497 * pdf/ev-poppler.cc:
1498 * backend/ev-page-cache.c: make page size calculation consistent
1499 and set it to (int)( width * scale + 0.5). This makes the weird
1500 line going through the middle of the page go away.
1502 * shell/ev-view.c: move painting the background page after
1503 checking the expose area covers us.
1505 2005-05-11 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1507 * data/evince-password.glade:
1509 Mark labels as not translatable. Fix for bug 302842.
1511 2005-05-10 Francisco Javier F. Serrador <serrador@cvs.gnome.org>
1513 * configure.ac: Added "es" to ALL_LINGUAS.
1515 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
1517 * data/evince-toolbar.xml:
1518 * shell/ev-window.c: (update_action_sensitivity),
1519 (ev_window_setup_document), (ev_window_set_page_mode),
1522 Remove some leftover code from jrb first continous
1523 attempt. Use the new actions, we still need good icons
1526 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
1528 * shell/ev-page-action.c: (update_pages_label), (connect_proxy):
1530 Update label when connecting proxy. Fix a warning with NULL
1533 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
1535 * data/evince-ui.xml:
1536 * shell/ev-page-action.c: (ev_page_action_grab_focus):
1537 * shell/ev-page-action.h:
1538 * shell/ev-window.c: (ev_window_cmd_focus_page_selector):
1540 Add mnemonic for edit toolbar.
1541 ctrl+l focus the page entry.
1543 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
1546 * shell/ev-window.c: (ev_window_cmd_edit_toolbar_cb),
1548 * shell/main.c: (main):
1550 Put the toolbar xml in evince own dot dir
1552 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
1554 * shell/ev-window.c: (ev_window_init):
1556 Make the toolbar not removable
1558 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
1560 * data/evince-ui.xml:
1561 * shell/ev-sidebar-links.c: (ev_sidebar_links_get_treeview):
1562 * shell/ev-sidebar-links.h:
1563 * shell/ev-sidebar-thumbnails.c:
1564 (ev_sidebar_thumbnails_get_treeview):
1565 * shell/ev-sidebar-thumbnails.h:
1566 * shell/ev-view.c: (ev_view_scroll), (ev_view_scroll_view),
1567 (ev_view_class_init):
1569 * shell/ev-window.c: (update_action_sensitivity),
1570 (ev_window_cmd_scroll_forward), (ev_window_cmd_scroll_backward),
1571 (set_view_actions_sensitivity), (view_actions_focus_in_cb),
1572 (view_actions_focus_out_cb), (enable_view_actions_for_widget),
1575 This is evil... Make space/backspace global accelerators but
1576 enable them only for some widgets (sidebars and view).
1577 I dont like it, but I dont know a better way... :/
1579 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
1581 * shell/ev-page-action.c: (ev_page_action_widget_set_page_cache),
1582 (ev_page_action_widget_finalize),
1583 (ev_page_action_widget_class_init), (update_page_cache):
1585 Keep a weak reference on proxy->page_cache so that we
1586 dont try to disconnect the signal if the object is already
1587 gone. Maybe there is a better way to cleanup reference handling
1588 in page action though...
1590 2005-05-10 Juerg Billeter <j@bitron.ch>
1592 * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
1593 * backend/ev-ps-exporter.h:
1594 * pdf/ev-poppler.cc: (pdf_document_ps_exporter_begin):
1595 * ps/ps-document.c: (ps_document_ps_export_begin):
1597 Change api to pass print range to ps_exporter_begin. The pdf backend
1598 requires this information.
1600 * shell/ev-print-job.c: (idle_print_handler):
1604 2005-05-10 Juerg Billeter <j@bitron.ch>
1606 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
1607 (idle_print_handler)
1608 * shell/ev-window.c: (ev_window_print):
1610 Support printing page range, based on patch by Amaury Jacquot
1612 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
1614 * data/evince-toolbar.xml:
1616 Add zoom control to available items
1618 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
1620 * shell/ev-window.c: (update_action_sensitivity):
1622 Set slash action insensitive when appropriate
1624 2005-05-10 Christian Persch <chpe@gnome.org>
1626 * cut-n-paste/zoom-control/ephy-zoom-action.c: (create_menu_item):
1628 Fix warning on the overflow menu
1630 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
1632 * shell/ev-window.c: (sanity_check_uri), (ev_window_open):
1634 Check for uri correctness/existence
1636 2005-05-09 Juerg Billeter <j@bitron.ch>
1638 * shell/ev-window.c: (using_postscript_printer):
1640 LPD printers use postscript, too
1642 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
1644 * shell/ev-window.c: (register_custom_actions):
1646 The zoom one is actually sort of useful,
1649 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
1651 * shell/ev-window.c: (register_custom_actions):
1653 Hide page/zoom controls from overflow, they
1656 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
1658 * cut-n-paste/update-from-egg.sh:
1660 Share it between all cut-n-paste subdirs
1662 * cut-n-paste/recent-files/Makefile.am:
1664 Fix to use "global" update-from-egg.sh
1666 * cut-n-paste/recent-files/egg-recent-model.c:
1667 (egg_recent_model_changed_timeout), (egg_recent_model_finalize):
1668 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
1669 (egg_recent_view_gtk_clear), (egg_recent_view_gtk_set_list),
1670 (egg_recent_view_gtk_finalize), (egg_recent_view_gtk_set_menu):
1674 * cut-n-paste/toolbar-editor/Makefile.am:
1676 Fix to use "global" update-from-egg.sh
1678 * cut-n-paste/toolbar-editor/eggmarshalers.list:
1682 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
1685 * cut-n-paste/Makefile.am:
1686 * cut-n-paste/recent-files/Makefile.am:
1687 * cut-n-paste/toolbar-editor/.cvsignore:
1688 * cut-n-paste/toolbar-editor/Makefile.am:
1689 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
1690 (egg_editable_toolbar_get_type), (get_toolbar_position),
1691 (get_n_toolbars), (get_dock_nth), (get_toolbar_nth), (find_action),
1692 (drag_data_delete_cb), (drag_begin_cb), (drag_end_cb),
1693 (drag_data_get_cb), (set_drag_cursor), (unset_drag_cursor),
1694 (set_item_drag_source), (create_item_from_action), (create_item),
1695 (data_is_separator), (drag_data_received_cb), (remove_toolbar_cb),
1696 (popup_toolbar_context_menu_cb), (free_dragged_item),
1697 (toolbar_drag_drop_cb), (toolbar_drag_motion_cb),
1698 (toolbar_drag_leave_cb), (create_dock), (set_fixed_style),
1699 (unset_fixed_style), (toolbar_changed_cb), (unparent_fixed),
1700 (update_fixed), (toolbar_added_cb), (toolbar_removed_cb),
1701 (item_added_cb), (item_removed_cb),
1702 (egg_editable_toolbar_construct),
1703 (egg_editable_toolbar_disconnect_model),
1704 (egg_editable_toolbar_deconstruct),
1705 (egg_editable_toolbar_set_model),
1706 (egg_editable_toolbar_set_ui_manager),
1707 (egg_editable_toolbar_set_property),
1708 (egg_editable_toolbar_get_property),
1709 (egg_editable_toolbar_class_init), (egg_editable_toolbar_init),
1710 (egg_editable_toolbar_finalize), (egg_editable_toolbar_new),
1711 (egg_editable_toolbar_new_with_model),
1712 (egg_editable_toolbar_get_edit_mode),
1713 (egg_editable_toolbar_set_edit_mode), (egg_editable_toolbar_show),
1714 (egg_editable_toolbar_hide), (egg_editable_toolbar_set_fixed),
1715 (egg_editable_toolbar_set_drag_dest), (fake_expose_widget),
1716 (new_pixbuf_from_widget), (new_separator_pixbuf),
1717 (update_separator_image), (style_set_cb),
1718 (_egg_editable_toolbar_new_separator_image),
1719 (egg_editable_toolbar_get_model):
1720 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
1721 * cut-n-paste/toolbar-editor/egg-marshal.c:
1722 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
1723 (egg_toolbar_editor_get_type), (compare_actions), (find_action),
1724 (egg_toolbar_editor_set_ui_manager), (toolbar_removed_cb),
1725 (egg_toolbar_editor_set_model), (egg_toolbar_editor_set_property),
1726 (egg_toolbar_editor_get_property), (egg_toolbar_editor_class_init),
1727 (egg_toolbar_editor_finalize), (egg_toolbar_editor_new),
1728 (drag_begin_cb), (drag_end_cb), (editor_drag_data_received_cb),
1729 (editor_drag_data_delete_cb), (drag_data_get_cb),
1730 (elide_underscores), (set_drag_cursor), (event_box_realize_cb),
1731 (editor_create_item), (update_editor_sheet), (setup_editor),
1732 (egg_toolbar_editor_init), (egg_toolbar_editor_add_action),
1733 (parse_item_list), (model_has_action), (update_actions_list),
1734 (egg_toolbar_editor_load_actions):
1735 * cut-n-paste/toolbar-editor/egg-toolbar-editor.h:
1736 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
1737 (egg_toolbars_model_get_type), (egg_toolbars_model_to_xml),
1738 (safe_save_xml), (egg_toolbars_model_save), (toolbars_toolbar_new),
1739 (toolbars_item_new), (free_toolbar_node), (free_item_node),
1740 (egg_toolbars_model_get_flags), (egg_toolbars_model_set_flags),
1741 (egg_toolbars_model_add_separator), (impl_add_item),
1742 (parse_item_list), (egg_toolbars_model_add_toolbar),
1743 (parse_toolbars), (egg_toolbars_model_load), (impl_get_item_id),
1744 (impl_get_item_data), (impl_get_item_type),
1745 (_egg_accumulator_STRING), (egg_toolbars_model_class_init),
1746 (egg_toolbars_model_init), (free_toolbar),
1747 (egg_toolbars_model_finalize), (egg_toolbars_model_new),
1748 (egg_toolbars_model_remove_toolbar),
1749 (egg_toolbars_model_remove_item), (egg_toolbars_model_move_item),
1750 (egg_toolbars_model_n_items), (egg_toolbars_model_item_nth),
1751 (egg_toolbars_model_n_toolbars), (egg_toolbars_model_toolbar_nth),
1752 (egg_toolbars_model_add_item), (egg_toolbars_model_get_item_id),
1753 (egg_toolbars_model_get_item_data),
1754 (egg_toolbars_model_get_item_type):
1755 * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
1756 * cut-n-paste/toolbar-editor/eggmarshalers.list:
1758 * data/evince-toolbar.xml:
1759 * data/evince-ui.xml:
1760 * data/hand-open.png:
1762 * shell/Makefile.am:
1763 * shell/ev-window.c: (update_chrome_visibility),
1764 (ev_window_cmd_edit_toolbar_cb), (ev_window_cmd_edit_toolbar),
1765 (ev_window_dispose), (ev_window_init):
1767 Implement epiphany like toolbar editor. Based on patch by
1768 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1770 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
1772 * shell/ev-sidebar-thumbnails.c: (page_changed_cb):
1774 Use set_cursor instead of set_selection, so that
1775 the keyboard focus moves too.
1777 2005-05-09 Aleksey Kliger <akliger@gmail.com>
1779 * dvi/mdvi-lib/tfmfile.c: (lookup_font_metrics):
1781 Fix infinite loop when loading Type1 fonts
1783 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
1785 * data/evince-ui.xml:
1786 * shell/ev-window.c:
1790 2005-05-09 Thomas de Grenier de Latour <degrenier@easyconnect.fr>
1794 Make --disable really disable
1796 2005-05-07 Juerg Billeter <j@bitron.ch>
1798 * backend/ev-page-cache.c: (ev_page_cache_set_page_label):
1800 Compare page labels even without has_labels set, fixes setting page
1803 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
1805 * shell/ev-view.c: (ev_view_create_invisible_cursor),
1806 (ev_view_set_cursor), (ev_view_button_press_event),
1807 (ev_view_motion_notify_event), (ev_view_button_release_event),
1810 Implement middle button scrolling. Based on a patch
1811 by Tommi Komulainen <tommi.komulainen@iki.fi>.
1813 2005-05-08 Marco Pesenti Gritti <mpg@redhat.com>
1815 * shell/ev-document-types.c: (get_slow_mime_type),
1816 (get_document_type_from_mime), (ev_document_type_lookup):
1817 * shell/ev-document-types.h:
1819 Change api to lookup from uri. Do fast lookup first, if the
1820 type is unknown try with data sniffing.
1822 * shell/ev-window.c: (ev_window_open), (ev_window_open_uri_list):
1823 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
1827 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
1829 * thumbnailer/Makefile.am:
1833 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
1840 * data/evince-ui.xml:
1842 Hide presentation mode for now
1844 * shell/ev-view.c: (highlight_find_results):
1846 Show current find selection only on current page
1848 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
1850 * shell/ev-view.c: (ev_view_select_all):
1852 Compute size of the actual page, not of
1855 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
1857 * shell/ev-view.c: (clear_selection), (ev_view_finalize),
1858 (view_rect_to_doc_rect), (compute_selections),
1859 (ev_view_bin_expose), (ev_view_select_all), (get_selected_text),
1860 (ev_view_copy), (ev_view_primary_get_cb),
1861 (ev_view_primary_clear_cb), (ev_view_update_primary_selection),
1862 (ev_view_button_press_event), (ev_view_motion_notify_event),
1863 (ev_view_button_release_event), (page_changed_cb):
1867 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
1869 * shell/ev-view.c: (compute_border), (get_page_extents),
1870 (doc_rect_to_view_rect), (highlight_find_results),
1871 (ev_view_bin_expose), (ev_view_select_all),
1872 (ev_view_motion_notify_event), (update_find_status_message),
1873 (jump_to_find_result), (jump_to_find_page):
1875 First go at fixing search, still buggy
1877 2005-05-04 Kristian Høgsberg <krh@redhat.com>
1879 * shell/ev-sidebar.c (ev_sidebar_init): Remove frame around
1880 dropdown box and button at the top of the sidebar.
1882 2005-05-02 James Bowes <bowes@cs.dal.ca>
1884 * configure.ac: Output zoom-control Makefile.
1885 * cut-n-paste/Makefile.am: build zoom-control subdir.
1886 * cut-n-paste/zoom-control/ephy-zoom-action.c:
1887 * cut-n-paste/zoom-control/ephy-zoom-action.h:
1888 * cut-n-paste/zoom-control/ephy-zoom-control.c:
1889 * cut-n-paste/zoom-control/ephy-zoom-control.h:
1890 * cut-n-paste/zoom-control/ephy-zoom.c:
1891 * cut-n-paste/zoom-control/ephy-zoom.h: New files imported
1892 from epiphany, and modified to add a separator into the menu.
1893 * cut-n-paste/zoom-control/Makefile.am: Build zoom-control.
1894 * data/evince-ui.xml: Replace old zoom toolbar actions with new
1895 zoom-control action.
1896 * shell/Makefile.am: Include zoom-control flags.
1897 * shell/ev-view.c: (ev_view_set_zoom), (ev_view_get_zoom),
1898 (ev_view_get_sizing_mode), (ev_view_zoom_in), (ev_view_zoom_out),
1899 (ev_view_zoom_for_size_presentation),
1900 (ev_view_zoom_for_size_continuous_and_dual_page),
1901 (ev_view_zoom_for_size_continuous),
1902 (ev_view_zoom_for_size_dual_page),
1903 (ev_view_zoom_for_size_single_page), (ev_view_zoom_normal):
1904 s/ev_view_zoom/ev_view_set_zoom/ and make public, add
1905 ev_view_get_zoom and ev_view_get_sizing_mode.
1907 * shell/ev-window.c: (update_action_sensitivity),
1908 (update_sizing_buttons), (zoom_control_changed_cb),
1909 (register_custom_actions): Initialize and use the zoom-control
1912 Sun May 1 00:46:47 2005 Jonathan Blandford <jrb@redhat.com>
1914 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init): Change the
1915 preview cache back to 1. Don't know when it got set to 0.
1917 * shell/ev-view.c: (compute_border), (ev_view_realize),
1918 (draw_one_page), (ev_view_set_property), (ev_view_get_property),
1919 (ev_view_class_init), (ev_view_init), (ev_view_set_fullscreen),
1920 (ev_view_get_fullscreen), (ev_view_set_presentation),
1921 (ev_view_get_presentation), (ev_view_set_sizing_mode),
1922 (ev_view_zoom_for_size_presentation), (ev_view_set_zoom_for_size):
1924 * shell/ev-window.c:
1925 (update_chrome_visibility),
1926 (ev_window_cmd_continuous), (ev_window_cmd_dual),
1927 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
1928 (update_document_mode), (ev_window_update_fullscreen_action),
1929 (ev_window_fullscreen), (ev_window_unfullscreen),
1930 (ev_window_cmd_view_fullscreen),
1931 (ev_window_update_presentation_action),
1932 (ev_window_run_presentation), (ev_window_stop_presentation),
1933 (ev_window_cmd_view_presentation), (ev_window_state_event),
1934 (ev_window_focus_in_event), (ev_window_focus_out_event),
1935 (ev_window_cmd_escape), (ev_window_sidebar_visibility_changed_cb):
1936 * data/evince-ui.xml: Initial presentation mode. We should
1937 probably hide this until it's done, as it's quite rough. Also,
1938 change full-screen to fullscreen and add two getters to EvView.
1940 2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
1942 * shell/ev-page-action.c: (update_page_cache),
1943 (ev_page_action_dispose):
1944 * shell/ev-window.c: (destroy_fullscreen_popup),
1945 (ev_window_create_fullscreen_popup):
1947 Use connect_object rather than explicitly
1948 disconnect on dispose.
1950 2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
1952 * shell/ev-page-action.c: (update_page_cache),
1953 (ev_page_action_dispose):
1955 2005-04-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1957 * backend/ev-page-cache.c: (_ev_page_cache_new),
1958 (ev_page_cache_set_page_label),
1959 (ev_page_cache_has_nonnumeric_page_labels):
1960 * backend/ev-page-cache.h:
1961 * shell/ev-page-action.c: (update_pages_label):
1963 If all page labels are numeric, fallback to default
1964 way to display number of pages. See bug 173185.
1966 2005-04-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1968 * shell/ev-page-action.c: (ev_page_action_dispose):
1969 * shell/ev-view.c: (view_update_range_and_current_page):
1970 * shell/ev-window.c: (ev_window_dispose):
1972 Set page on scroll in continuous mode. Fixes bug 301986.
1973 Also cleanup callbacks on destroy of EvWindow and EvPageAction.
1975 2005-04-26 Marco Pesenti Gritti <mpg@redhat.com>
1979 Require poppler 0.3.0
1981 2005-04-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1983 * shell/Makefile.am, configure.ac: Fix build problems
1984 with t1lib. Bug 301996.
1986 2005-04-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1988 * shell/ev-view.c: (ev_view_scroll_event):
1990 Scroll up increase zoom
1992 2005-04-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1994 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_class_init),
1995 (ev_view_set_sizing_mode),
1996 (ev_view_zoom_for_size_continuous_and_dual_page),
1997 (ev_view_zoom_for_size_continuous):
1998 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
1999 (ev_window_cmd_view_page_width), (ev_window_cmd_view_zoom_in),
2000 (ev_window_cmd_view_zoom_out), (ev_window_sizing_mode_changed_cb),
2003 Control + Scroll does zooming, Shift + Scroll scrolls horizontally
2004 Fix for 165473 and 165472.
2006 2005-04-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2009 * thumbnailer/Makefile.am:
2010 * thumbnailer/evince-thumbnailer-djvu.schemas.in:
2011 * thumbnailer/evince-thumbnailer-dvi.schemas.in:
2012 * thumbnailer/evince-thumbnailer.schemas.in:
2014 Make thumbnailer schemas translatable. Fix for bug 301773
2016 * thumbnailer/evince-thumbnailer-djvu.schemas:
2017 * thumbnailer/evince-thumbnailer-dvi.schemas:
2018 * thumbnailer/evince-thumbnailer.schemas:
2022 Sun Apr 24 01:37:39 2005 Jonathan Blandford <jrb@redhat.com>
2024 * shell/ev-view.c (ev_view_init): forgot to set this.
2026 Sun Apr 24 01:07:27 2005 Jonathan Blandford <jrb@redhat.com>
2028 * shell/ev-view.c: (find_page_at_location),
2029 (get_link_at_location),
2030 (ev_view_set_show_border), (ev_view_set_spacing),
2031 (ev_view_zoom_for_size_continuous_and_dual_page),
2032 (ev_view_zoom_for_size_continuous): Fix links for dual/continuous.
2033 Also, add a quick fix measuring of widths. Also, removed
2034 ev_view_set_spacing and ev_view_set_show_border.
2036 * shell/ev-window.c: (ev_window_unfullscreen),
2037 (ev_window_cmd_view_fullscreen): Don't adjust the border/spacing.
2039 2005-04-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2041 * shell/ev-view.c: (view_update_range_and_current_page),
2044 Fix crash on exit and scrolling to page in continuous view.
2046 Sat Apr 23 13:13:04 2005 Jonathan Blandford <jrb@redhat.com>
2049 * backend/ev-page-cache.c: (_ev_page_cache_new),
2050 (ev_page_cache_get_max_width_size),
2051 (ev_page_cache_get_max_height_size):
2052 * backend/ev-page-cache.h:
2053 * data/evince-ui.xml:
2054 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init):
2055 * shell/ev-view.c: (view_update_adjustments),
2056 (view_update_range_and_current_page), (get_bounding_box_size),
2057 (ev_view_size_request_continuous_and_dual_page),
2058 (ev_view_size_request_continuous),
2059 (ev_view_size_request_dual_page),
2060 (ev_view_size_request_single_page), (ev_view_size_request),
2061 (ev_view_size_allocate), (get_page_extents), (draw_one_page),
2062 (ev_view_bin_expose), (ev_view_expose_event),
2063 (ev_view_set_property), (ev_view_get_property),
2064 (ev_view_class_init), (ev_view_init), (ev_view_new),
2065 (page_changed_cb), (ev_view_zoom), (ev_view_set_continuous),
2066 (ev_view_set_dual_page), (ev_view_set_full_screen),
2067 (ev_view_set_presentation), (ev_view_set_sizing_mode),
2068 (ev_view_can_zoom_in), (ev_view_can_zoom_out), (ev_view_zoom_in),
2069 (ev_view_zoom_out), (zoom_for_size_fit_width),
2070 (zoom_for_size_best_fit),
2071 (ev_view_zoom_for_size_continuous_and_dual_page),
2072 (ev_view_zoom_for_size_continuous),
2073 (ev_view_zoom_for_size_dual_page),
2074 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
2075 (ev_view_show_cursor), (ev_sizing_mode_get_type):
2077 * shell/ev-window.c: (update_action_sensitivity),
2078 (ev_window_cmd_continuous), (ev_window_cmd_dual),
2079 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
2080 (update_sizing_buttons), (ev_window_cmd_view_zoom_in),
2081 (ev_window_cmd_view_zoom_out), (update_view_size),
2082 (ev_window_set_sizing_mode), (ev_window_init):
2084 Add Continuous and Dual page modes.
2086 2005-04-23 James Bowes <bowes@cs.dal.ca>
2088 * dvi/dvi-document.c: (dvi_document_load),
2089 (dvi_document_thumbnails_get_thumbnail),
2090 (dvi_document_init_params): Fix up some mixups between
2091 width and height to correct thumbnail rendering.
2093 2005-04-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2095 * dvi/mdvi-lib/private.h:
2096 * dvi/mdvi-lib/setup.c: (mdvi_init_kpathsea):
2098 Suppess output for kpathsea during font generation. Thanks to
2101 Fri Apr 22 19:57:46 2005 Jonathan Blandford <jrb@redhat.com>
2108 * Makefile.am: fix distcheck.
2110 2005-04-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2112 * shell/ev-sidebar-links.c: (selection_changed_callback),
2113 (update_page_callback), (row_activated_callback),
2114 (job_finished_callback), (ev_sidebar_links_set_document):
2116 Fix for bug #169901. Double click on links expands tree.
2118 2005-03-14 Bryan Clark <clarkbw@cvs.gnome.org>
2120 * shell/ev-window.c (ev_window_init): Removed fullscreen toolbar
2121 hard-coded style. Fix for bug 170111
2123 2005-04-22 Kristian Høgsberg <krh@redhat.com>
2125 * shell/ev-view.c (highlight_find_results): Remove unnecessary
2128 2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
2130 * thumbnailer/evince-thumbnailer.schemas: real fix for bug 172496
2132 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
2134 * pdf/ev-poppler.cc:
2135 * shell/ev-view.c: (highlight_find_results):
2137 Fix find on single page documents
2139 2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
2141 * data/evince.schemas.in: fix for bug 301390
2143 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
2145 * shell/ev-view.c: (ev_view_can_zoom_in), (ev_view_can_zoom_out),
2146 (ev_view_zoom_out), (ev_view_zoom_normal):
2148 * shell/ev-window.c: (update_action_sensitivity),
2149 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
2150 (ev_window_cmd_view_zoom_in), (ev_window_cmd_view_zoom_out),
2151 (ev_window_cmd_view_normal_size):
2153 Fix normal size zoom. Make zoom in/zoom out unsensitive when
2154 they are behyond the limits. Tweak MAX_ZOOM to 6, sucks but
2157 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
2161 Depend on 2.57, 2.59 doesnt seem to be necessary
2163 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
2165 * shell/ev-page-action.c: (update_pages_label), (page_changed_cb),
2168 Put back total number of pages as (1 of 1234)
2170 Thu Apr 21 23:37:52 2005 Jonathan Blandford <jrb@redhat.com>
2172 * shell/ev-pixbuf-cache.c (dispose_cache_job_info): actually
2175 * backend/ev-document.h: Remove EV_DOC_MUTEX in favor of a locking
2176 function. This helps debugging.
2178 2005-04-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2180 * djvu/djvu-document.c: (djvu_document_class_init),
2181 (djvu_document_get_info), (djvu_document_document_iface_init):
2182 * dvi/dvi-document.c: (dvi_document_class_init),
2183 (dvi_document_get_info), (dvi_document_document_iface_init):
2185 Dummy implementation of get_info method for dvi and djvu. Fix
2186 crashes with those backends
2188 2005-04-20 Marco Pesenti Gritti <mpg@redhat.com>
2190 * data/evince.desktop.in:
2192 Add application/x-gzpostscript
2194 2005-04-20 Bryan Clark <clarkbw@cvs.gnome.org>
2196 * data/evince.schemas.in: Added real long descriptions,
2199 * README: Added actual text, closes bug 171869
2201 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
2203 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
2207 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
2209 * backend/ev-document-info.h:
2211 s/GDate */GDate so we can just use g_free
2213 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
2215 * shell/ev-window.c: (update_document_mode),
2216 (ev_window_setup_document):
2218 Show the window in fullscreen when specified by
2221 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
2223 * backend/ev-document.c: (ev_document_class_init),
2224 (ev_document_get_info), (ev_document_render_pixbuf):
2225 * backend/ev-document.h:
2226 * backend/ev-page-cache.c: (_ev_page_cache_new):
2227 * pdf/ev-poppler.cc:
2228 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
2229 (pixbuf_document_get_info), (pixbuf_document_document_iface_init):
2230 * ps/ps-document.c: (ps_document_class_init), (document_load),
2231 (ps_document_get_info), (ps_document_document_iface_init):
2233 Remove get_title from the interface, we can just use document info
2235 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
2237 * backend/Makefile.am:
2238 * backend/ev-document.c: (ev_document_render_get_info):
2239 * backend/ev-document.h:
2240 * pdf/ev-poppler.cc:
2242 Initial support for document info. Based on jrb patch.
2244 2005-04-19 Paolo Borelli <pborelli@katamail.com>
2246 * shell/ev-window.c: (ev_window_state_event),
2247 (ev_window_class_init), (ev_window_init):
2249 Doesn't show resize grip when maximized. See bug #301053
2251 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2255 ev-sidebar-thumbnails now has translatable labels
2257 * shell/Makefile.am:
2258 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document),
2259 (ev_sidebar_links_support_document), (ev_sidebar_links_get_label),
2260 (ev_sidebar_links_page_iface_init):
2261 * shell/ev-sidebar-links.h:
2262 * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
2263 (ev_sidebar_page_support_document), (ev_sidebar_page_set_document),
2264 (ev_sidebar_page_get_label):
2265 * shell/ev-sidebar-page.h:
2266 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_new),
2267 (ev_sidebar_thumbnails_set_document),
2268 (ev_sidebar_thumbnails_support_document),
2269 (ev_sidebar_thumbnails_get_label),
2270 (ev_sidebar_thumbnails_page_iface_init):
2271 * shell/ev-sidebar-thumbnails.h:
2272 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
2273 (ev_sidebar_set_document):
2274 * shell/ev-sidebar.h:
2275 * shell/ev-window.c: (ev_window_setup_document), (ev_window_init):
2277 Small rework of sidebar code. Now sidebar pages should implement
2278 EvSidebarPage interface. That makes page management in EvSidebar
2279 easier. See bug #164811 for details
2281 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2283 * shell/ev-application.c: (ev_application_open):
2284 * shell/ev-document-types.c:
2286 Fix build error and small problem with application exit
2288 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2290 * thumbnailer/Makefile.am:
2291 * thumbnailer/evince-thumbnailer-djvu.schemas:
2292 * thumbnailer/evince-thumbnailer-dvi.schemas:
2294 Conditionally install schemas for djvu/dvi thumbnailer
2296 2005-04-18 David Malcolm <dmalcolm@redhat.com>
2298 * shell/ev-document-types.h:
2299 * shell/ev-document-types.c:
2300 New files, handling the mapping from mimetypes to backends
2302 * shell/ev-window.c:
2303 * thumbnailer/evince-thumbnailer.c:
2304 Use the ev-document-types code
2306 * shell/Makefile.am:
2307 Added new convenience library libevbackendfactory_la, containing
2308 the new mimetype->backend logic; moved the backends into it.
2310 * thumbnailer/Makefile.am:
2311 Make the thumbnailer link with the libevbackend.la convenience
2312 library, rather than having a duplicate of the backend logic here.
2314 2005-04-18 Paolo Borelli <pborelli@katamail.com>
2316 * shell/ev-stock-icons.c: constify some vars.
2317 * shell/ev-window.c: ditto.
2319 2005-04-18 Marco Pesenti Gritti <mpg@redhat.com>
2321 * ps/ps-document.c (get_page_orientation):
2323 Respect document orientation
2325 2005-04-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2329 * shell/Makefile.am:
2331 Move library dependencies to components.
2333 * shell/ev-window.c: (update_window_title),
2334 (start_loading_document):
2336 Fix display of uris with spaces. Bug 168358.
2338 Sat Apr 16 18:53:47 2005 Jonathan Blandford <jrb@redhat.com>
2340 * shell/ev-sidebar-links.c: (selection_changed_cb):
2341 * shell/ev-view.c: (ev_view_finalize), (go_to_link),
2342 (ev_view_button_release_event), (ev_view_set_document):
2344 * shell/ev-window.c: (find_bar_search_changed_cb):
2345 * shell/ev-window.h: Minor cleanups removing some dead code.
2347 2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2349 * backend/ev-page-cache.c: (_ev_page_cache_new):
2351 Set current page to 0 if document has pages.
2353 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
2355 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
2357 Initialize GError to NULL, fix a crash when loading fails.
2359 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
2361 * shell/ev-window.c: (update_view_size):
2363 Calculate shadow size only when there is actually
2366 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
2368 * shell/ev-view.c: (ev_view_set_spacing), (ev_view_init):
2371 Allow setting view spacing, default to 0
2373 * shell/ev-window.c: (ev_window_unfullscreen),
2374 (ev_window_cmd_view_fullscreen), (ev_window_init):
2376 Remove spacing in fullscreen mode
2378 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
2380 * shell/ev-view.c: (compute_border), (compute_zoom_factor),
2381 (ev_view_size_request), (expose_bin_window),
2382 (ev_view_set_show_border), (ev_view_init), (page_changed_cb):
2384 * shell/ev-window.c: (ev_window_unfullscreen),
2385 (ev_window_cmd_view_fullscreen):
2387 Do not draw the border in fulscreen
2389 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
2391 * shell/ev-view.c: (ev_view_get_offsets), (compute_zoom_factor),
2392 (ev_view_size_request), (expose_bin_window), (ev_view_select_all),
2393 (find_page_at_location), (page_changed_cb):
2395 Rework border calculation, so that I can more easily disable it.
2396 Code somewhat cleaner too.
2398 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
2400 * backend/ev-page-cache.c: (ev_page_cache_init),
2401 (_ev_page_cache_new):
2403 Remove some assertions, documents can have 0 pages.
2404 Make initial current page -1.
2406 * shell/ev-page-action.c: (page_changed_cb):
2408 Show "" if current page is -1
2410 * shell/ev-window.c: (update_action_sensitivity),
2411 (ev_window_setup_document):
2413 When document has 0 pages do not set the view
2414 and make nearly everything insensitive.
2416 2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2418 * shell/ev-page-view.c:
2419 * shell/ev-page-view.h:
2421 Remove unused files.
2423 * shell/ev-sidebar-thumbnails.c:
2424 (ev_sidebar_thumbnails_set_document):
2425 * shell/ev-sidebar.c: (ev_sidebar_set_document),
2426 (ev_sidebar_supports_document):
2427 * shell/ev-sidebar.h:
2428 * shell/ev-window.c: (ev_window_setup_document):
2430 Doesn't show thumbnails if document has 1 page. Make
2431 sidebar menu entries sensitive only if if they have
2432 sense. Fix bug 164811.
2434 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
2436 * shell/ev-view.c: (compute_zoom_factor), (ev_view_size_request),
2437 (page_changed_cb), (ev_view_zoom), (ev_view_zoom_in),
2438 (ev_view_zoom_out), (ev_view_set_size):
2440 Rework sizing to deal with documents with not uniform page
2443 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
2445 * backend/ev-page-cache.c: (_ev_page_cache_new):
2447 Fix several page size caching bugs
2449 2005-04-15 Luca Ferretti <elle.uca@libero.it>
2451 * shell/ev-window.c: (set_action_properties):
2453 Make all toolbar items translatable
2455 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
2457 * ps/ps-document.c: (ps_document_init), (ps_document_get_type),
2458 (save_page_list), (ps_document_save),
2459 (ps_document_document_iface_init), (ps_document_ps_export_begin),
2460 (ps_document_ps_export_do_page), (ps_document_ps_export_end),
2461 (ps_document_ps_exporter_iface_init):
2464 Based on a patch by J�rg Billeter <j@bitron.ch>
2466 Implement print and save a copy for the ps backend.
2468 2005-04-14 Marco Pesenti Gritti <mpg@redhat.com>
2470 * backend/ev-document.h:
2471 * djvu/djvu-document.c: (djvu_document_can_get_text),
2472 (djvu_document_document_iface_init):
2473 * dvi/dvi-document.c: (dvi_document_can_get_text),
2474 (dvi_document_document_iface_init):
2475 * pdf/ev-poppler.cc:
2476 * pixbuf/pixbuf-document.c: (pixbuf_document_can_get_text),
2477 (pixbuf_document_document_iface_init):
2478 * ps/ps-document.c: (ps_document_can_get_text),
2479 (ps_document_document_iface_init):
2480 * shell/ev-view.c: (ev_view_copy), (ev_view_primary_get_cb):
2481 * shell/ev-window.c: (update_action_sensitivity):
2483 Fix the crash when trying to copy in backends that doesnt
2484 support it. We can implement a better solution once we
2485 do real text selection.
2487 2005-04-12 Marco Pesenti Gritti <mpg@redhat.com>
2489 * data/evince-ui.xml:
2490 * shell/ev-window.c: (ev_window_cmd_escape):
2492 Work around the Escape conflict (find bar and unfullscreen)
2494 2005-04-12 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
2496 * backend/ev-page-cache.c: (ev_page_cache_next_page):
2498 Fix for #300233. Next page correctly handles document end.
2500 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
2501 (ev_sidebar_thumbnails_class_init),
2502 (ev_sidebar_thumbnails_set_document),
2503 (ev_sidebar_thumbnails_clear_job),
2504 (ev_sidebar_thumbnails_clear_model):
2506 Cleanup thumbnail jobs on document changes.
2508 * shell/ev-view.c: (add_scroll_binding_keypad),
2509 (add_scroll_binding_shifted), (ev_view_class_init):
2511 Shift + Space scrolls up. Fix for #173184
2513 * shell/ev-window.c: (ev_window_open_page),
2514 (ev_window_cmd_view_reload):
2516 Fix reload (Bug #300094)
2518 2005-04-09 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2521 * dvi/mdvi-lib/assoc.c:
2522 * dvi/mdvi-lib/assoc.h: Removed garbage files
2524 * dvi/mdvi-lib/bitmap.c:
2525 * dvi/mdvi-lib/color.c: (mdvi_set_color), (mdvi_push_color),
2526 (mdvi_pop_color), (mdvi_reset_color), (get_color_table):
2527 * dvi/mdvi-lib/color.h: Antialias of rules
2529 * dvi/mdvi-lib/common.h:
2530 * dvi/mdvi-lib/dviread.c: (mdvi_configure), (mdvi_init_context),
2531 (mdvi_destroy_context), (draw_shrink_rule), (draw_box), (set_rule):
2532 * dvi/mdvi-lib/files.c:
2533 * dvi/mdvi-lib/fontmap.c: (ps_init_default_paths):
2534 * dvi/mdvi-lib/mdvi.h:
2535 * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
2536 * dvi/mdvi-lib/tfmfile.c: (ofm_load_file):
2537 * dvi/mdvi-lib/util.c: Fix compile warnings
2539 * dvi/dvi-document.c:
2540 (dvi_document_load), (dvi_document_thumbnails_get_dimensions),
2541 (dvi_document_thumbnails_get_thumbnail),
2542 (dvi_document_document_thumbnails_iface_init):
2543 * dvi/mdvi-lib/Makefile.am:
2544 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
2545 (dvi_pixbuf_set_color), (mdvi_pixbuf_device_render):
2547 Dvi backend now renders thumbnails
2549 2005-04-09 Christian Persch <chpe@cvs.gnome.org>
2551 * shell/main.c: (main):
2553 Save accelerators on exit. Fixes bug #172095.
2555 Sat Apr 9 01:05:09 2005 Jonathan Blandford <jrb@redhat.com>
2557 * shell/ev-pixbuf-cache.c (move_one_job): Actually fix the "FIXME:
2558 update priority" comment.
2560 * backend/ev-job-queue.c: Give a way to change priority.
2562 Sat Apr 9 00:05:36 2005 Jonathan Blandford <jrb@redhat.com>
2564 * shell/ev-page-action.c: Fix logic.
2566 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
2568 * shell/ev-view.c: (ev_view_can_find_next):
2569 * shell/ev-window.c: (ev_window_setup_document):
2571 Check that the document supports find
2573 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
2575 * data/evince-ui.xml:
2576 * shell/ev-view.c: (ev_view_can_find_next):
2578 * shell/ev-window.c: (update_action_sensitivity),
2579 (find_changed_cb), (ev_window_setup_document),
2580 (ev_window_cmd_edit_find_next):
2584 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
2586 * pdf/ev-poppler.cc:
2587 * shell/ev-print-job.c: (idle_print_handler):
2589 Make printing work again
2591 Fri Apr 8 01:12:24 2005 Jonathan Blandford <jrb@redhat.com>
2593 * shell/ev-page-action.h:
2594 * shell/ev-page-action.c: (ev_page_action_widget_init),
2595 (ev_page_action_widget_class_init), (page_changed_cb),
2596 (create_tool_item), (update_page_cache), (build_new_tree_cb),
2597 (get_filter_model_from_model), (match_selected_cb),
2598 (display_completion_text), (match_completion), (update_model),
2599 (connect_proxy), (ev_page_action_set_property),
2600 (ev_page_action_get_property), (ev_page_action_set_document),
2601 (ev_page_action_set_model), (ev_page_action_class_init): Big
2602 reworking to make completions work iff we have >= GTK-2.7.0
2604 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_property),
2605 (ev_sidebar_links_get_property), (ev_sidebar_links_class_init),
2606 (job_finished_cb): We now have a 'model' property that is set when
2607 the links are loaded. This can be caught with "notify::model"
2609 * shell/ev-window.c: (sidebar_widget_model_set), (ev_window_init):
2610 listen for the model to be set, and propagate it to the action.
2612 2005-04-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2614 * cut-n-paste/recent-files/egg-recent-item.c:
2615 (egg_recent_item_set_uri), (make_valid_utf8),
2616 (egg_recent_item_set_mime_type), (egg_recent_item_get_mime_type):
2617 * cut-n-paste/recent-files/egg-recent-item.h:
2619 Update egg-recent from libegg. This should fix long
2620 startup problem. For details see
2621 http://bugzilla.gnome.org/show_bug.cgi?id=160531
2623 2005-04-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2625 * cut-n-paste/recent-files/Makefile.am:
2626 * data/evince-ui.xml, shell/Makefile.am:
2627 * shell/ev-application.c, shell/ev-application.h:
2628 * shell/ev-window.c: Recent files support.
2630 * configure.ac: Added "ru" to ALL_LINGUAS.
2632 * dvju: new backend to support DJVU files.
2633 * dvi: new backend to support DVI.
2635 * configure.ac, Makefile.am, shell/Makefile.am, ev-window.c:
2636 * ev-application.c: Support for new backends.
2638 * help, ev-window.c, main.c shell/Makefile.am:
2639 Evince user documentation.
2641 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
2644 * shell/ev-window.c:
2645 * thumbnailer/evince-thumbnailer.c:
2647 s/pdf-document/ev-poppler
2649 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
2656 * ps/ps-document.c: (setup_pixmap):
2660 2005-04-05 Kristian Høgsberg <krh@redhat.com>
2662 * backend/ev-page-cache.c (ev_page_cache_next_page):
2663 * shell/ev-window.c (ev_window_cmd_go_next_page)
2664 (ev_window_cmd_go_first_page): Fix of by one errors.
2666 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
2668 * ps/ps-document.c: (get_page_box):
2670 Fix page size calculation
2672 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
2674 * ps/ps-document.c: (ps_document_init), (push_pixbuf),
2675 (ps_document_cleanup), (setup_pixmap), (get_page_box),
2676 (get_page_orientation), (setup_page), (document_load),
2677 (ps_document_get_page_size), (render_pixbuf_idle):
2680 More refactoring to adapt to EvDocument changes
2682 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
2684 * ps/ps-document.c: (start_interpreter):
2686 Actually add alpha args
2688 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
2690 * pdf/ev-poppler.cc:
2692 Make clipboard work again
2694 2005-04-04 Kristian Høgsberg <krh@redhat.com>
2696 Make searching work again.
2698 * backend/ev-document.c:
2699 * backend/ev-document.h:
2700 * backend/ev-document-find.c:
2701 * backend/ev-document-find.h: Change EvDocumentIface so we no
2702 longer store the current page or zoom level in the document. The
2703 consequence is that all calls that operate on the current page now
2704 instead take the page number as an extra argument, and all
2705 coordinates are now doubles in document coordinate system.
2707 * pdf/ev-poppler.cc:
2708 * pixbuf/pixbuf-document.c:
2709 * ps/ps-document.c: Update backends accordingly.
2711 2005-04-04 Marco Pesenti Gritti <marco@gnome.org>
2715 Add required gettext version
2717 Sat Apr 2 18:57:00 2005 Jonathan Blandford <jrb@redhat.com>
2719 * shell/evwindow.c: Patch from Alberto Mesas <amesas@gmail.com> to
2720 make F1 bring up non-existent help.
2722 * shell/eggfindbar.c: Patch from Christian Persch to sync to
2723 epiphany's find bar, #167477
2725 * shell/ev-view.c (ev_view_jump): Patch from Emil Soleyman-Zomalan
2726 <emil@nishra.com> to add space-bar scrolling,
2728 * shell/ev-window.c (static GtkActionEntry entries): add default
2729 keybinding for Help (F1)
2732 * shell/ev-view.c (ev_view_show_cursor): Fix from Yuval Tanny
2733 changing EV_VIEW_CURSOR_LINK to EV_VIEW_CURSOR_NORMAL resolves bug
2736 2005-04-01 David Malcolm <dmalcolm@redhat.com>
2739 * pixbuf/pixbuf-document.c:
2741 Got pixbuf backend working again
2743 2005-04-01 Steve Murphy <murf@e-tools.com>
2745 * configure.in: Added "rw" to ALL_LINGUAS.
2747 Fri Apr 1 02:33:41 2005 Jonathan Blandford <jrb@redhat.com>
2749 * shell/ev-sidebar-links.c (create_loading_model): Fix mismatch in
2750 model types, noticed by Martin Kretzschmar.
2752 2005-04-01 Kristian Høgsberg <krh@redhat.com>
2754 * pdf/ev-poppler.cc: Implement search based on
2755 poppler_page_find_text(). Currently a bit crude since we remember
2756 all matches from all pages. Also, we grab the big document lock
2757 when we search since searching changes the underlying stream and
2758 thus conflicts with the rendering thread.
2760 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
2761 (jump_to_find_page), (ev_view_set_document), (ev_view_find_next),
2762 (ev_view_find_previous): Fix some page indexes to be 0 based,
2763 offset rubber band by view offset,
2765 Fri Apr 01 09:21:12 2005 Pablo Saratxaga <pablo@mandrakesoft.com>
2767 * configure.ac: Added Walloon (wa) to ALL_LINGUAS.
2769 Fri Apr 1 01:59:39 2005 Jonathan Blandford <jrb@redhat.com>
2771 * shell/ev-page-action.c: Changed to use page labels now. Rewrote
2772 completely because I didn't understand GtkActions. I should
2773 read Marco's code more carefully in the future.
2775 * backend/ev-page-cache.h (ev_page_cache_set_page_label): New
2778 2005-03-31 Kristian Høgsberg <krh@redhat.com>
2780 * pdf/ev-poppler.cc (pdf_document_get_links): Update to work with
2781 PopplerRectangle change from poppler CVS.
2783 Thu Mar 31 13:27:50 2005 Jonathan Blandford <jrb@redhat.com>
2785 * backend/ev-document.c: (ev_document_get_page_label):
2786 * backend/ev-document.h:
2787 * backend/ev-page-cache.c: (_ev_page_cache_new),
2788 (ev_page_cache_get_page_label):
2789 * backend/ev-page-cache.h:
2790 * pdf/ev-poppler.cc:
2791 * shell/ev-sidebar-links.c: (ev_sidebar_links_construct),
2792 (links_page_num_func):
2793 * shell/ev-sidebar-thumbnails.c:
2794 (ev_sidebar_thumbnails_set_document):
2795 * shell/ev-view.c: (status_message_from_link),
2796 (ev_view_motion_notify_event):
2797 * shell/ev-window.c: (document_supports_sidebar): Add in page
2798 label support. It's not perfect yet, but it's the first 'feature'
2800 Also, fix a bogus comment noticed by crispin.
2802 Thu Mar 31 01:21:58 2005 Jonathan Blandford <jrb@redhat.com>
2804 * Makefile.am: Remove pixbuf backend for now
2806 * configure.ac: Require poppler-glib instead of just poppler.
2808 * backend/ev-document-thumbnails.h: Add a comment
2810 * backend/ev-document.h:
2811 * backend/ev-document.c: (ev_document_class_init),
2812 (ev_document_load), (ev_document_get_link),
2813 (ev_document_get_links): Remove 3 methods and add get_links.
2816 * backend/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
2817 * backend/ev-jobs.h: now EvJobRender can grab the links for a document.
2819 * backend/ev-link.c: (ev_link_set_title),
2820 (ev_link_mapping_free_foreach), (ev_link_mapping_free),
2821 (ev_link_mapping_find):
2822 * backend/ev-link.h: Allow NULL titles. Also, introduce a mapping link.
2824 * backend/ev-page-cache.c: (ev_page_cache_init),
2825 (_ev_page_cache_new), (ev_page_cache_set_current_page),
2826 (ev_page_cache_get_size), (ev_page_cache_next_page),
2827 (ev_page_cache_prev_page): Fix to be 0 based.
2831 * pdf/ev-poppler.cc: New backend.
2833 * ps/ps-document.c: (ps_document_init), (ps_document_set_page),
2834 (ps_document_get_page), (ps_document_document_iface_init):
2836 * shell/ev-pixbuf-cache.h:
2837 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
2838 (dispose_cache_job_info), (job_finished_cb), (move_one_job),
2839 (ev_pixbuf_cache_update_range), (copy_job_to_job_info),
2840 (add_job_if_needed), (ev_pixbuf_cache_set_page_range),
2841 (ev_pixbuf_cache_get_pixbuf), (ev_pixbuf_cache_get_link_mapping):
2842 Fix up code to grab a page cache per each doc. Also, fix to be 0
2845 * shell/ev-sidebar-thumbnails.c:
2846 (ev_sidebar_tree_selection_changed), (page_changed_cb),
2847 (ev_sidebar_thumbnails_set_document): Fix to be 0 based.
2849 * shell/ev-view.c: (status_message_from_link),
2850 (find_page_at_location), (get_link_at_location),
2851 (ev_view_motion_notify_event), (ev_view_button_release_event),
2852 (ev_view_init): Use the new link code. Fix to be 0 based.
2854 * shell/ev-window.c: (update_action_sensitivity),
2855 (document_supports_sidebar): 0 based.
2857 Fri Mar 25 16:55:58 2005 Jonathan Blandford <jrb@redhat.com>
2859 * pdf/pdf-document.cc: Patch from Fernando Herrera
2860 <fherrera@onirica.com> to fix my quick fix to get_thumbnail.
2863 Wed Mar 23 23:49:41 2005 Jonathan Blandford <jrb@redhat.com>
2865 * pdf/pdf-document.cc (pdf_document_thumbnails_get_thumbnail): add
2866 1 to the page, as this seems to be 1 based. I thought we has this
2869 2005-03-23 Marco Pesenti Gritti <marco@gnome.org>
2872 * backend/Makefile.am:
2873 * backend/ev-document-links.c:
2874 (ev_document_links_has_document_links),
2875 (ev_document_links_get_links_model):
2876 * backend/ev-document-links.h:
2877 * backend/ev-document.c: (ev_document_get_page_cache),
2878 (ev_document_get_doc_mutex), (ev_document_load),
2879 (ev_document_save), (ev_document_get_title),
2880 (ev_document_get_n_pages), (ev_document_set_page),
2881 (ev_document_get_page), (ev_document_set_target),
2882 (ev_document_set_scale), (ev_document_set_page_offset),
2883 (ev_document_get_page_size), (ev_document_get_text),
2884 (ev_document_get_link), (ev_document_render),
2885 (ev_document_render_pixbuf), (ev_document_scale_changed):
2886 * backend/ev-document.h:
2887 * backend/ev-job-queue.c: (remove_object_from_queue),
2888 (notify_finished), (handle_job), (search_for_jobs_unlocked),
2889 (no_jobs_available_unlocked), (ev_render_thread),
2890 (ev_job_queue_init), (find_queue), (ev_job_queue_add_job),
2891 (ev_job_queue_remove_job):
2892 * backend/ev-job-queue.h:
2893 * backend/ev-jobs.c: (ev_job_init), (ev_job_dispose),
2894 (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
2895 (ev_job_links_class_init), (ev_job_render_init),
2896 (ev_job_render_dispose), (ev_job_render_class_init),
2897 (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
2898 (ev_job_thumbnail_class_init), (ev_job_finished),
2899 (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
2900 (ev_job_render_run), (ev_job_thumbnail_new),
2901 (ev_job_thumbnail_run):
2902 * backend/ev-jobs.h:
2903 * backend/ev-link.c:
2904 * backend/ev-link.h:
2905 * backend/ev-page-cache.c: (ev_page_cache_init),
2906 (ev_page_cache_class_init), (ev_page_cache_finalize),
2907 (_ev_page_cache_new), (ev_page_cache_get_n_pages),
2908 (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
2909 (ev_page_cache_set_link), (ev_page_cache_get_title),
2910 (ev_page_cache_get_size), (ev_page_cache_next_page),
2911 (ev_page_cache_prev_page):
2912 * backend/ev-page-cache.h:
2913 * pdf/pdf-document.cc:
2916 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
2917 (push_pixbuf), (interpreter_failed), (ps_document_cleanup),
2918 (ps_document_widget_event), (ps_document_finalize), (get_xdpi),
2919 (get_ydpi), (setup_pixmap), (setup_page), (close_pipe),
2920 (is_interpreter_ready), (output), (catchPipe), (input),
2921 (start_interpreter), (check_filecompressed), (compute_dimensions),
2922 (ps_document_enable_interpreter), (document_load),
2923 (ps_document_next_page), (render_page), (ps_document_set_page),
2924 (ps_document_set_scale), (render_pixbuf_idle),
2925 (ps_document_render_pixbuf), (ps_document_document_iface_init):
2927 * shell/Makefile.am:
2928 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
2929 (ev_pixbuf_cache_class_init), (ev_pixbuf_cache_finalize),
2930 (dispose_cache_job_info), (ev_pixbuf_cache_dispose),
2931 (ev_pixbuf_cache_new), (job_finished_cb),
2932 (check_job_size_and_unref), (move_one_job),
2933 (ev_pixbuf_cache_update_range), (find_job_cache),
2934 (ev_pixbuf_cache_clear_job_sizes), (add_job_if_needed),
2935 (ev_pixbuf_cache_add_jobs_if_needed),
2936 (ev_pixbuf_cache_set_page_range), (ev_pixbuf_cache_get_pixbuf):
2937 * shell/ev-pixbuf-cache.h:
2938 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
2939 (idle_print_handler):
2940 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
2941 (selection_changed_cb), (create_loading_model),
2942 (ev_sidebar_links_construct), (links_page_num_func),
2943 (ev_sidebar_links_clear_document), (update_page_callback_foreach),
2944 (update_page_callback), (job_finished_cb),
2945 (ev_sidebar_links_set_document):
2946 * shell/ev-sidebar-thumbnails.c:
2947 (ev_sidebar_thumbnails_class_init), (adjustment_changed_cb),
2948 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init),
2949 (page_changed_cb), (thumbnail_job_completed_callback),
2950 (ev_sidebar_thumbnails_set_document):
2951 * shell/ev-sidebar-thumbnails.h:
2952 * shell/ev-sidebar.c: (ev_sidebar_set_document):
2953 * shell/ev-view.c: (ev_view_finalize), (ev_view_destroy),
2954 (ev_view_get_offsets), (ev_view_size_request), (ev_view_realize),
2955 (ev_view_unrealize), (highlight_find_results), (expose_bin_window),
2956 (ev_view_select_all), (ev_view_copy), (ev_view_primary_get_cb),
2957 (ev_view_create_invisible_cursor), (ev_view_motion_notify_event),
2958 (ev_view_button_release_event), (ev_view_scroll_view),
2959 (ev_view_class_init), (ev_view_init), (update_find_status_message),
2960 (jump_to_find_result), (jump_to_find_page), (find_changed_cb),
2961 (ev_view_new), (job_finished_cb), (page_changed_cb),
2962 (ev_view_set_document), (go_to_link), (ev_view_zoom),
2963 (size_to_zoom_factor), (ev_view_set_size), (ev_view_find_next),
2964 (ev_view_find_previous):
2966 * shell/ev-window.c: (update_action_sensitivity),
2967 (ev_window_open_page), (update_window_title), (update_total_pages),
2968 (page_changed_cb), (ev_window_setup_document),
2969 (password_dialog_response), (ev_window_cmd_save_as),
2970 (ev_window_print), (ev_window_cmd_go_previous_page),
2971 (ev_window_cmd_go_next_page), (ev_window_cmd_go_first_page),
2972 (ev_window_cmd_go_last_page), (ev_window_cmd_view_reload),
2973 (find_bar_search_changed_cb), (goto_page_cb), (ev_window_init):
2974 * shell/main.c: (main):
2976 Merge evince-threads branch
2978 2005-03-16 Žygimantas Beručka <uid0@akl.lt>
2980 * configure.ac: Added "lt" to ALL_LINGUAS.
2982 2005-03-14 Marco Pesenti Gritti <marco@gnome.org>
2989 2005-03-13 Fernando Herrera <fherrera@onirica.com>
2991 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
2993 Fix here also the thumbnails 1-basedness :)
2995 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
3002 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
3004 * pdf/pdf-document.cc:
3005 * shell/ev-sidebar-thumbnails.c: (adjustment_changed_cb),
3006 (do_one_iteration), (ev_sidebar_thumbnails_set_document):
3008 Fix the mess we did with thumbnails and 1-basedness
3010 2005-03-12 Changwoo Ryu <cwryu@debian.org>
3012 * configure.ac (ALL_LINGUAS): Added "ko" (Korean).
3014 2005-03-09 Marco Pesenti Gritti <marco@gnome.org>
3021 2005-03-08 Marco Pesenti Gritti <marco@gnome.org>
3024 * ps/gsdefaults.c: (gtk_gs_defaults_get_interpreter_cmd),
3025 (gtk_gs_defaults_get_alpha_parameters),
3026 (gtk_gs_defaults_get_ungzip_cmd),
3027 (gtk_gs_defaults_get_unbzip2_cmd):
3029 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
3030 (ps_document_get_orientation), (document_load),
3031 (ps_document_goto_page), (ps_document_set_page_size):
3034 Some more sanitization of the ps backend. Remove a lot
3035 of unused code and do not base our defaults on ggv
3038 2005-03-08 Fernando Herrera <fherrera@onirica.com>
3040 * thumbnailer/evince-thumbnailer.schemas:
3041 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
3042 (main): add -s option for thumbnail size.
3044 2005-03-07 Christian Persch <chpe@cvs.gnome.org>
3048 AC_PROG_RANLIB is rendered obsolete by AC_PROG_LIBTOOL;
3051 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
3053 * pdf/pdf-document.cc:
3055 Remove 4 pixels of useless border from the
3058 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
3060 * backend/ev-document-thumbnails.c:
3061 (ev_document_thumbnails_get_thumbnail):
3062 * backend/ev-document-thumbnails.h:
3064 Rework API a bit. Add a border flag and
3065 change sizing logic (now the size we specify
3066 applies to the bigger dimension).
3068 * pdf/pdf-document.cc:
3069 * pixbuf/pixbuf-document.c:
3070 (pixbuf_document_thumbnails_get_thumbnail):
3071 * shell/ev-sidebar-thumbnails.c: (do_one_iteration):
3072 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3074 Adapt to the new API and do not draw a border for nautilus
3077 2005-03-03 Fernando Herrera <fherrera@onirica.com>
3079 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3080 take thumbnails from page "0" instead of "1". Added a copyright header.
3082 2005-03-03 Jens Granseuer <jensgr@gmx.net>
3084 * ps/ps-document.c: (set_up_page), (start_interpreter):
3086 Make it C89 compliant
3088 2005-03-03 Marco Pesenti Gritti <marco@gnome.org>
3093 * pdf/pdf-document.cc:
3094 * thumbnailer/Makefile.am:
3095 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
3097 * thumbnailer/evince-thumbnailer.schemas:
3098 * thumbnailer/pdf-icon.png:
3100 Add a nautilus thumbnailer.
3101 Based on patch by Fernando Herrera <fherrera@onirica.com>.
3103 2005-03-02 Marco Pesenti Gritti <marco@gnome.org>
3111 2005-03-01 Kristian Høgsberg <krh@redhat.com>
3113 Use poppler instead of including xpdf source code. Poppler is a
3114 fork of xpdf to build it as a shared library. See
3115 http://freedesktop.org/wiki/Software/poppler.
3117 * pdf/xpdf/*, pdf/goo/*, pdf/splash/*, pdf/fofi/*: Remove included
3120 * pdf/Makefile.am: Build libpdfdocument.a here.
3122 * pdf/GDKSplashOutputDev.cc:
3123 * pdf/GDKSplashOutputDev.h:
3124 * pdf/GnomeVFSStream.cc:
3125 * pdf/GnomeVFSStream.h:
3128 * test-gdk-output-dev.cc
3130 * Thumb.h: Pull these files out of pdf/xpdf and adjust to compile
3133 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
3135 * shell/ev-sidebar-links.c: (ev_sidebar_links_clear_document):
3137 Clear idle stack before unsetting the document
3139 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
3141 * ps/ps-document.c: (ps_document_widget_event),
3142 (ps_document_set_target), (ps_document_finalize),
3143 (ps_document_get_page):
3145 Disconnect the widget event signal on finalize.
3148 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
3150 * ps/ps-document.c: (set_up_page):
3152 If there is no bpixmap create one, even if size
3155 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
3157 * ps/ps-document.c: (ps_document_init), (ps_document_cleanup),
3158 (set_up_page), (document_load), (ps_document_set_zoom):
3160 Default page is 0. Calculate size even when we have no
3163 2005-02-28 Carlos Garcia Campos <carlosgc@gnome.org>
3165 * shell/ev-sidebar.c: expand the selection widget to be always as
3168 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
3170 * shell/ev-sidebar-thumbnails.c:
3171 (ev_sidebar_thumbnails_set_document):
3173 Clear the list store when setting document
3175 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
3177 * shell/ev-page-action.c: (update_entry), (sync_entry),
3178 (activate_cb), (entry_size_request_cb), (create_tool_item),
3181 Use an entry for the page control instead of spinbuttons
3183 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
3185 * data/evince.schemas.in:
3187 Correct confusing string
3189 Sun Feb 27 23:00:31 2005 Jonathan Blandford <jrb@redhat.com>
3191 * shell/ev-sidebar-links.c (do_one_iteration): Handle title links
3192 for real. Gosh, how long has this been broken.
3194 * pdf/xpdf/pdf-document.cc (build_link_from_action): add back the
3195 check for a NULL link. We crash otherwise.
3197 2005-02-27 Marco Pesenti Gritti <marco@gnome.org>
3204 2005-02-25 Sebastien Bacher <seb128@debian.org>
3206 * configure.ac: add the french translation.
3208 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
3210 * shell/ev-window.c:
3212 Remove unused header -> fix distcheck
3214 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
3216 * shell/ev-window.c: (update_window_title),
3217 (ev_window_popup_password_dialog):
3219 Unescape filename for display
3221 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
3223 * pdf/xpdf/pdf-document.cc:
3225 In get_page_size deal with rotation. Also
3226 cleanup the function a bit.
3228 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
3230 * pdf/xpdf/pdf-document.cc:
3232 Fix crash when opening in new window
3234 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
3238 Check ghostscript >= 7
3240 2005-02-25 Pedro Villavicencio <pvillavi@gnome.cl>
3242 * shell/ev-window.c:
3244 Make page width the default sizing mode
3246 2005-02-25 Carlos Garcia Campos <carlosgc@gnome.org>
3247 Marco Pesenti Gritti <marco@gnome.org>
3249 * shell/ev-window.c: Remember the sidebar size
3251 * data/evince.schemas.in: Add a new gconf key to store the size of
3254 2005-02-24 Kai Willadsen <kaiw@itee.uq.edu.au>
3256 * data/evince-ui.xml:
3257 * shell/ev-window.c: (update_action_sensitivity),
3258 (ev_window_cmd_view_reload):
3260 Add a "Reload" action and menu entry
3262 Thu Feb 24 23:07:33 2005 Jonathan Blandford <jrb@redhat.com>
3264 * shell/ev-window.c (hide_sidebar_and_actions): Hide the sidebar
3265 iff the type doesn't support thumbnailing and indexing.
3267 2005-02-24 Martin Kretzschmar <martink@gnome.org>
3269 * configure.ac (ALL_LINGUAS): Added "zh_TW" (Traditional Chinese).
3271 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
3273 * pdf/splash/Splash.cc:
3275 Port fix for a crasher from kde bug
3276 http://bugs.kde.org/show_bug.cgi?id=97131
3278 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
3280 * pdf/xpdf/pdf-document.cc:
3282 Return a link even if it's of an unrecognized
3283 type. Otherwise we go in an infinte cycle.
3285 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
3287 * shell/ev-window.c: (update_sizing_buttons), (update_view_size),
3288 (size_allocate_cb), (ev_window_set_sizing_mode):
3290 Update size when switching mode
3292 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
3294 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
3295 (ev_window_cmd_view_page_width), (update_sizing_buttons),
3296 (ev_window_cmd_view_normal_size):
3298 Fix size toggle buttons behavior
3300 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
3302 * shell/ev-view.c: (ev_view_get_offsets), (view_rect_to_doc_rect),
3303 (doc_rect_to_view_rect), (ev_view_size_allocate),
3304 (expose_bin_window), (ev_view_select_all), (page_changed_callback),
3305 (scale_changed_callback):
3307 Do not cache offsets in size_allocate.
3309 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
3311 * shell/ev-view.c: (ev_view_size_allocate):
3313 Calculate offsets before calling the parent
3314 class (which does a redraw)
3316 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
3318 * pdf/xpdf/pdf-document.cc:
3320 Fix a crasher on exit. Unused code, put a TODO
3322 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
3324 * backend/ev-document.c: (ev_document_class_init),
3325 (ev_document_page_changed), (ev_document_scale_changed):
3326 * backend/ev-document.h:
3328 Separate page/scale notifications
3330 * pdf/xpdf/pdf-document.cc:
3332 Emit the new signals.
3333 Do not display the pdf page in _render, do it
3334 when scale/page are requested.
3336 * ps/ps-document.c: (ps_document_set_zoom),
3337 (ps_document_widget_event):
3340 Emit the new signals.
3342 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
3343 (ev_view_init), (page_changed_callback), (scale_changed_callback),
3344 (ev_view_set_document), (ev_view_zoom), (ev_view_zoom_in),
3345 (ev_view_zoom_out), (size_to_zoom_factor), (ev_view_set_size):
3347 * shell/ev-window.c: (ev_window_cmd_view_normal_size),
3348 (ev_window_cmd_view_page_width), (size_allocate_cb),
3349 (ev_window_set_sizing_mode):
3351 Rework sizing to be pixel based.
3352 There are bugs but should be already way better.
3354 2005-02-23 Marco Pesenti Gritti <marco@gnome.org>
3356 * shell/ev-window.c: (ev_window_init):
3358 Do not allow to shrink sidebar smaller then
3361 2005-02-23 Carlos Garcia Campos <carlosgc@gnome.org>
3363 * shell/ev-sidebar.[ch]
3364 * shell/ev-window.c:
3366 Improved sidebar widget. Fixes #166683
3368 2005-02-23 Tommi Vainikainen <thv@iki.fi>
3370 * shell/ev-view.c (update_find_status_message): Give translators
3371 more flexibility with ngettext plural handling.
3373 Mon Feb 21 17:52:08 2005 Jonathan Blandford <jrb@redhat.com>
3375 * pdf/xpdf/pdf-document.cc (pdf_document_get_page_size): Patch
3376 from Crispin Flowerday <gnome@flowerday.cx> to avoid rendering the
3377 page when we get the page size.
3379 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
3381 * ps/ps-document.c: (ps_document_set_page), (ps_document_get_page):
3383 ps pages are 0 based, convert
3385 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
3387 * ps/ps-document.c: (ps_document_class_init), (ps_document_load):
3389 Initialize correct parent class. Set GError on document load
3391 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
3393 * pdf/xpdf/pdf-document.cc:
3395 Fixup selection offset calculation
3397 * shell/ev-view.c: (view_rect_to_doc_rect),
3398 (doc_rect_to_view_rect), (ev_view_size_allocate),
3399 (expose_bin_window), (ev_view_select_all), (ev_view_copy),
3400 (ev_view_primary_get_cb), (ev_view_motion_notify_event):
3402 Store selection as document relative, so that zooming
3403 and offset changing doesnt break it.
3405 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
3407 * shell/ev-view.c: (ev_view_best_fit):
3409 Do not try to best fit if the view is not realized
3411 2005-02-20 Kostas Papadimas <pkst@gnome.org>
3413 * configure.ac (ALL_LINGUAS): Added "el" (Greek).
3415 Fri Feb 18 16:06:39 2005 Jonathan Blandford <jrb@redhat.com>
3417 * shell/ev-window.c (ev_window_focus_in_event): missed a case.
3419 Fri Feb 18 15:32:57 2005 Jonathan Blandford <jrb@redhat.com>
3421 * shell/ev-window.c: Change the fullscreen toolbar to always be in
3422 the popup window. That prevents it resizing when in full screen
3425 * shell/ev-view.c: Change Zoom epsilon as a bad hack to avoid
3426 multiple rerenders. This pretty much sucks.
3428 * data/evince-ui.xml: Change the fullscreen toolbar to include the
3429 rest of the toolbar.
3431 2005-02-18 Tommi Vainikainen <thv@iki.fi>
3433 * configure.ac (ALL_LINGUAS): Added "fi" (Finnish).
3435 2005-02-17 Alexander Shopov <ash@contact.bg>
3437 * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
3439 2005-02-16 Bryan Clark <clarkbw@cvs.gnome.org>
3441 * shell/ev-window.c: added ellipsis to Print item. Fixes bug 166915
3443 2005-02-16 Marco Pesenti Gritti <marco@gnome.org>
3445 * shell/ev-view.c: (ev_view_realize), (highlight_find_results),
3446 (ev_view_create_invisible_cursor), (ev_view_set_cursor),
3447 (set_document_page), (document_changed_callback),
3448 (ev_view_set_document), (ev_view_find_previous),
3449 (ev_view_hide_cursor), (ev_view_show_cursor):
3451 * shell/ev-window.c: (update_chrome_visibility),
3452 (fullscreen_timeout_cb), (fullscreen_set_timeout),
3453 (fullscreen_clear_timeout), (fullscreen_motion_notify_cb),
3454 (fullscreen_leave_notify_cb), (ev_window_fullscreen),
3455 (ev_window_unfullscreen):
3456 * shell/main.c: (main):
3458 Automatically hide the fullscreen button.
3459 Patch by Kristian Høgsberg <krh@redhat.com>
3461 2005-02-16 Vincent Noel <vnoel@cox.net>
3463 * shell/main.c (main): Specify an icon for the window. Patch by
3464 Jaap A. Haitsma. Fixes #166177.
3466 Wed Feb 16 06:30:13 2005 Jonathan Blandford <jrb@redhat.com>
3468 * shell/ev-view.c (ev_view_realize): get rid of the black flash.
3470 Tue Feb 15 22:27:13 2005 Jonathan Blandford <jrb@redhat.com>
3472 * backend/ev-document-misc.h:
3473 * backend/ev-document-misc.c:
3474 (ev_document_misc_get_page_border_size),
3475 (ev_document_misc_paint_one_page): New function to canonicalize
3476 sizing/painting a border.
3478 * shell/Makefile.am: Remove ev-page-view.c entirely as it's not
3481 * pdf/xpdf/pdf-document.cc: use new function
3483 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
3484 (ev_view_init), (ev_view_set_mode), (ev_view_zoom),
3485 (ev_view_best_fit), (ev_view_fit_width): * shell/ev-view.h: *
3486 shell/ev-window.c: (update_sizing_buttons),
3487 (ev_window_setup_document), (ev_window_cmd_view_zoom_in),
3488 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_best_fit),
3489 (ev_window_cmd_view_page_width), (size_allocate_cb),
3490 (ev_window_set_sizing_mode), (ev_window_init): make the "best fit"
3491 and "fit width" values act as toggle buttons so they stay
3492 toggled. It's not 100% perfect, and it's a little slow, but it's
3493 good enough to commit I think.
3495 2005-02-15 David Lodge <dave@cirt.net>
3497 * configure.ac (ALL_LINGUAS): Added "en_GB" (English (British)).
3499 2005-02-15 Martin Kretzschmar <martink@gnome.org>
3501 * shell/ev-window.c (update_window_title): replace newlines in
3502 the title by spaces. Bug #166107.
3504 2005-02-14 Martin Kretzschmar <martink@gnome.org>
3506 * shell/ev-view.c (ev_view_best_fit, ev_view_fit_width): add
3507 parameters providing allocation width and height without
3508 scrollbars and width of a possible vertical scrollbar. With this
3509 additional information the functions can work as
3510 intended. Unfortunately they're not idempotent. We should
3511 transform these commands to toggles. Fixes Bug #164976
3512 Initial patch by Stephane Loeuillet, then heavily modified.
3514 * shell/ev-view.h: update prototypes.
3516 * shell/ev-window.c (ev_window_cmd_view_best_fit)
3517 (ev_window_cmd_view_page_width): provide EvView fit functions with
3518 all the information they need. Formulas to calculate this
3519 information taken from GtkScrolledWindow.
3521 2005-02-14 Crispin Flowerday <gnome@flowerday.cx>
3523 * shell/ev-sidebar-thumbnails.c: Ensure that after we have
3524 created a thumbnail, the list store is updated to know
3525 that the thumbnail is set. Fixes bug #166792
3527 2005-02-11 Bryan Clark <clarkbw@cvs.gnome.org>
3529 * shell/ev-window.c: fixed typo, closes bug 166897
3531 * TODO: updated TODO with bug numbers that are relevant
3533 2005-02-09 Carlos Garcia Campos <carlosgc@gnome.org>
3535 * shell/ev-window.c: Support for DnD of files. Fixes #164813
3537 2005-02-09 Vincent Noel <vnoel@cox.net>
3539 * shell/ev-window.c: (set_action_properties): Set the "Previous"
3540 and "Next" toolbar buttons as important to make them stand out.
3542 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
3546 * ps/ps-document.c: (ps_document_finalize), (set_up_page),
3547 (start_interpreter), (stop_interpreter), (document_load),
3548 (ps_document_next_page), (ps_document_goto_page),
3549 (ps_document_set_page_size), (ps_document_widget_event),
3550 (ps_document_render):
3551 * shell/ev-page-view.c: (ev_page_view_dispose):
3552 * shell/ev-view.c: (ev_view_finalize), (expose_bin_window):
3554 Fix compilation on non-gcc platforms
3556 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
3563 * pdf/xpdf/Catalog.cc:
3566 Fix the fix for CAN-2004-0888
3568 2005-02-09 Luca Ferretti <elle.uca@libero.it>
3571 * data/evince-ui.xml:
3572 * shell/ev-stock-icons.c: (ev_stock_icons_init):
3573 * shell/ev-stock-icons.h:
3574 * shell/ev-window.c: (update_action_sensitivity),
3575 (ev_window_cmd_go_previous_page), (ev_window_cmd_go_next_page),
3576 (set_action_properties):
3578 Improve toolbar layout/icons
3580 2005-02-08 Marco Pesenti Gritti <marco@gnome.org>
3582 * pdf/xpdf/pdf-document.cc:
3584 Add warnings about unimplemented/unknown link
3587 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
3589 * ps/ps-document.c: (set_up_page):
3593 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
3595 * ps/ps-document.c: (start_interpreter):
3599 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
3601 * shell/ev-page-view.c: (ev_page_view_dispose):
3602 * shell/ev-view.c: (ev_view_finalize):
3603 * shell/ev-window.c: (ev_window_setup_document),
3604 (ev_window_dispose), (ev_window_init):
3606 Solve more refs issues.
3608 I commented out the page_view initialization for now:
3609 it was never destroyed (because it's never added
3610 to a container). Because of that we was leaking
3611 gs processes. Couldnt think to a clean fix.
3612 We need to figure this out, password view has the
3613 same issue probably.
3615 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
3617 * ps/ps-document.c: (ps_document_finalize),
3618 (ps_document_get_n_pages), (ps_document_get_page):
3620 Some cleanups, stop the interpreter on finalize
3622 * shell/ev-page-view.c: (ev_page_view_dispose),
3623 (ev_page_view_class_init):
3625 Release our reference on the document
3627 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
3631 * doc/debugging.txt:
3634 * lib/ev-debug.c: (log_module), (trap_handler), (ev_debug_init),
3635 (ev_profiler_new), (ev_should_profile), (ev_profiler_dump),
3636 (ev_profiler_free), (ev_profiler_start), (ev_profiler_stop):
3639 Add debugging helpers
3642 * ps/ps-document.c: (set_up_page), (start_interpreter),
3643 (stop_interpreter), (document_load), (ps_document_next_page),
3644 (ps_document_goto_page), (ps_document_set_page_size),
3645 (ps_document_widget_event), (ps_document_render):
3646 * shell/Makefile.am:
3647 * shell/ev-view.c: (expose_bin_window):
3648 * shell/main.c: (main):
3652 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
3654 * ps/ps-document.c: (ps_document_widget_event):
3656 Initialize message_window, this should make ps
3657 rendering really work! (Never noticed because I was
3658 testing with a ps that is causing gs to exit every time!)
3660 2005-02-07 Bryan Clark <clarkbw@cvs.gnome.org>
3662 * data/evince.schemas.in: updated simple error in applyto closing tag
3664 2005-02-07 Christian Persch <chpe@cvs.gnome.org>
3670 * data/evince-ui.xml:
3671 A data/evince.schemas.in:
3673 * shell/ev-stock-icons.c: (ev_stock_icons_init):
3674 * shell/ev-stock-icons.h:
3675 * shell/ev-window.c: (update_chrome_visibility),
3676 (update_chrome_flag), (ev_window_cmd_edit_find),
3677 (ev_window_update_fullscreen_popup), (ev_window_fullscreen),
3678 (ev_window_unfullscreen), (ev_window_focus_in_event),
3679 (ev_window_focus_out_event), (ev_window_cmd_leave_fullscreen),
3680 (ev_window_view_toolbar_cb), (ev_window_view_statusbar_cb),
3681 (ev_window_view_sidebar_cb), (find_bar_close_cb),
3682 (ev_window_dispose), (ev_window_class_init),
3683 (set_action_properties), (set_chrome_actions), (load_chrome),
3686 Implement fullscreen mode changes from bug #164776.
3687 Also implement persistent chrome toggles.
3689 2005-02-07 Jordi Mallach <jordi@sindominio.net>
3691 * configure.ac (ALL_LINGUAS): Added "ca" (Catalan).
3693 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
3699 Add another check for find interface
3703 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
3705 * shell/ev-application.c: (ev_application_open):
3706 * shell/ev-window.c: (ev_window_open):
3708 Open gzipped ps documents
3710 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
3713 * shell/ev-view.c: (set_document_page):
3715 Clamp page number, dont try to move to
3718 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
3720 * backend/ev-document-find.c: (ev_document_find_changed):
3721 * backend/ev-document-find.h:
3722 * pdf/xpdf/pdf-document.cc:
3723 * shell/ev-view.c: (jump_to_find_result), (ev_view_set_document):
3724 * shell/ev-window.c: (find_bar_search_changed_cb):
3726 Fix several bugs with find
3728 2005-02-04 Martin Kretzschmar <martink@gnome.org>
3730 * shell/ev-sidebar-thumbnails.c
3731 (ev_sidebar_thumbnails_select_page): do nothing unless we have a
3732 document. Prevents warning from scroll_to_cell.
3734 2005-02-02 Kjartan Maraas <kmaraas@gnome.org>
3736 * configure.ac: Add «nb» to ALL_LINGUAS too.
3738 Wed Feb 2 21:13:11 2005 Jonathan Blandford <jrb@redhat.com>
3740 * NOTES: New file with some random thoughts.
3744 * backend/ev-document-misc.c:
3745 (ev_document_misc_get_page_border_size): New function to
3746 canonicalize shadow drawing sizes. Possibly goofy.
3748 * shell/ev-view.c: (ev_view_size_request), (set_document_page),
3749 (ev_view_best_fit), (ev_view_fit_width):
3750 * pdf/xpdf/pdf-document.cc:
3751 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
3752 * ps/ps-document.c: (ps_document_get_page_size):
3753 * backend/ev-document-misc.h:
3754 * backend/ev-document.c: (ev_document_get_page_size):
3755 * backend/ev-document.h: get_page_size now takes a page number
3756 parameter. Made all the backends/frontends honor it.
3758 * data/evince-ui.xml: Added a multiple-page mode. Uncomment to
3759 see. Doesn't work yet.
3761 * shell/Makefile.am:
3762 * shell/ev-page-view.[ch]: New multi-page view. Really rough.
3763 Doesn't do anything yet.
3765 * shell/ev-sidebar-thumbnails.c:
3766 (ev_sidebar_thumbnails_set_document): [1..n_pages] instead of
3769 * shell/ev-window.c: (update_action_sensitivity),
3770 (ev_window_setup_document), (ev_window_set_page_mode),
3771 (ev_window_page_mode_cb), (ev_window_init): Clean up the
3772 view-swapping code a bit so we can have multiple views on a
3773 document. Add the multi-page view, though it can't be turned on
3776 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
3778 * shell/ev-application.c: (ev_application_open):
3779 * shell/ev-view.c: (expose_bin_window):
3780 * shell/ev-window.c: (ev_window_open):
3782 Support eps and check document supports find
3783 before drawing highlightings in expose.
3785 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
3787 * pixbuf/pixbuf-document.c:
3788 (pixbuf_document_thumbnails_get_dimensions),
3789 (pixbuf_document_document_thumbnails_iface_init):
3791 implement get_dimensions
3793 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
3800 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
3802 * shell/ev-view.c: (set_document_page):
3804 Scroll at the top of the page when changing page
3806 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
3808 * shell/ev-view.c: (ev_view_motion_notify_event):
3810 Do not redraw unnecessarily
3812 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
3814 * pdf/xpdf/pdf-document.cc:
3815 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
3816 (expose_bin_window), (find_changed_cb):
3818 Yay! find works now... Now to find bugs...
3820 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
3822 * backend/ev-document-find.c: (ev_document_find_base_init),
3823 (ev_document_find_changed):
3824 * backend/ev-document-find.h:
3825 * pdf/xpdf/pdf-document.cc:
3826 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
3827 (expose_bin_window), (ev_view_init), (set_document_page),
3828 (ensure_rectangle_is_visible), (jump_to_find_result),
3829 (jump_to_find_page), (find_changed_cb), (ev_view_set_document),
3830 (ev_view_find_next), (ev_view_find_previous):
3832 * shell/ev-window.c: (find_bar_previous_cb), (find_bar_next_cb):
3834 More work on find implementation, mostly there now
3836 2005-01-29 Marco Pesenti Gritti <marco@gnome.org>
3838 * backend/ev-backend-marshalers.list:
3839 * backend/ev-document-find.c: (ev_document_find_base_init),
3840 (ev_document_find_cancel), (ev_document_find_page_has_results),
3841 (ev_document_find_get_n_results), (ev_document_find_get_result),
3842 (ev_document_find_get_progress), (ev_document_find_changed):
3843 * backend/ev-document-find.h:
3845 Enanche the find interface to be really able to do
3848 * pdf/xpdf/pdf-document.cc:
3852 * shell/ev-view.c: (ev_view_finalize), (highlight_find_results),
3853 (expose_bin_window), (ev_view_init),
3854 (ev_view_get_find_status_message), (find_changed_cb),
3855 (ev_view_set_document), (set_document_page):
3857 Adapt to the new interface. A few things are regressed sorry,
3858 I will finish it soon.
3860 2005-01-28 Martin Kretzschmar <martink@gnome.org>
3862 * shell/ev-sidebar-thumbnails.c (ev_sidebar_thumbnails_destroy)
3863 (ev_sidebar_thumbnails_class_init): use G_DEFINE_TYPE-supplied
3864 ev_sidebar_thumbnails_parent_class variable, don't define another
3865 parent_class variable.
3867 * shell/ev-page-action.c (connect_proxy, ev_page_action_finalize)
3868 (ev_page_action_class_init): ditto.
3870 * pixbuf/pixbuf-document.c (pixbuf_document_finalize)
3871 (pixbuf_document_class_init): ditto.
3873 * backend/ev-link.c (ev_window_dispose, ev_link_class_init):
3876 * .cvsignore: ignore various valgrind output files.
3878 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
3880 * data/evince-ui.xml:
3881 * shell/Makefile.am:
3882 * shell/ev-history.c:
3883 * shell/ev-history.h:
3884 * shell/ev-navigation-action.c:
3885 * shell/ev-navigation-action.h:
3886 * shell/ev-view.c: (ev_view_finalize), (ev_view_go_to_link),
3887 (ev_view_set_page), (ev_view_fit_width):
3889 * shell/ev-window.c: (update_action_sensitivity),
3890 (ev_window_setup_document), (register_custom_actions):
3892 Kill session history
3894 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
3896 * shell/ev-window.c: (update_action_sensitivity):
3898 Fix inverted up/down buttons
3900 2005-01-27 Martin Kretzschmar <martink@gnome.org>
3902 * shell/ev-sidebar-thumbnails.c
3903 (ev_sidebar_thumbnails_select_page): make sure the selected
3904 thumbnail stays visible.
3906 2005-01-26 Martin Kretzschmar <martink@gnome.org>
3908 * shell/ev-window.c (ev_window_init): add GTK_SHADOW_IN to the
3909 scrolled window for Federico.
3911 2005-01-26 Ole Laursen <olau@hardworking.dk>
3913 * configure.ac: Added "da" (Danish) to ALL_LINGUAS.
3915 2005-01-26 Marco Pesenti Gritti <marco@gnome.org>
3918 * pdf/splash/SplashFTFontEngine.cc:
3920 Fix CID fonts with freetype 2.1.9
3922 2005-01-26 Bryan Clark <clarkbw@cvs.gnome.org>
3924 * TODO: added item for desktop icon thumbnailer
3926 Tue Jan 25 00:59:34 2005 Jonathan Blandford <jrb@redhat.com>
3928 * pdf/xpdf/pdf-document.cc (pdf_document_get_title): guard against
3929 unloaded docs when the title is accessed.
3931 * shell/ev-password-view.[hc]: New widget for displaying password
3934 * shell/ev-window.[ch]: Refactor password handling code to handle
3937 2005-01-24 Marco Pesenti Gritti <marco@gnome.org>
3945 2005-01-23 Stephane LOEUILLET <stephane.loeuillet@tiscali.fr>
3947 * pdf/xpdf/pdf-document.cc (pdf_document_search_page_changed):
3948 ignore page offset here, to make search results independent of it,
3950 * shell/ev-view.c (expose_bin_window): but take offsets into
3951 account here. Bug #164932
3953 * pdf/xpdf/pdf-document.cc (pdf_document_get_link): divide by
3954 scale at the right time. Bug #164996
3956 2005-01-22 Martin Kretzschmar <martink@gnome.org>
3958 * pdf/xpdf/GlobalParams.cc: My 2005-01-05 change didn't actually
3959 fix the problem. Now I just removed the Adobe font names and hope
3960 that the URW fonts are always in outline format. Bug #164934
3962 * shell/ev-window.c (update_window_title): empty titles are
3963 useless, use filename in that case too.
3965 * NEWS: Add some content.
3967 2005-01-21 Bryan Clark <clarkbw@cvs.gnome.org>
3969 * TODO: added one more TODO item and a TODONE section :)
3971 2005-01-21 Martin Kretzschmar <martink@gnome.org>
3973 * ps/ps-document.h: add page_[xy]_offset fields.
3975 * ps/ps-document.c (ps_document_set_page_offset)
3976 (ps_document_render): Keep offset in consideration in a few
3977 places. Bug #164752 "postscript documents are not centered in
3980 * data/evince.desktop.in (X-GNOME-Bugzilla-Product):
3981 s/gpdf/evince/. Spotted by Stephane Loeuillet.
3983 * pixbuf/pixbuf-document.c (pixbuf_document_get_n_pages)
3984 (pixbuf_document_get_text, pixbuf_document_document_iface_init):
3985 stub out missing methods for complete EvDocument implementation.
3986 Fixes segfaults with Save A Copy and Copy actions.
3988 * ps/ps-document.c (ps_document_save, ps_document_get_text)
3989 (ps_document_document_iface_init): ditto.
3991 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
3995 * data/evince.desktop.in:
3999 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
4001 * shell/ev-view.c: (ev_view_button_press_event),
4002 (ev_view_motion_notify_event):
4004 Make selection work in any direction
4006 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
4009 * shell/ev-window.c: (set_short_labels), (ev_window_init):
4011 Use shorter labels for some of the toolbars items
4013 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
4015 * pdf/xpdf/pdf-document.cc:
4017 Check the links info is initialized before
4018 using it. Should fix a crash on startup.
4020 2005-01-21 Martin Kretzschmar <martink@gnome.org>
4022 * pixbuf/pixbuf-document.c
4023 (pixbuf_document_thumbnails_get_dimensions): force floating point
4024 division to calculate page_ratio. Fixes crash with landscape
4027 Thu Jan 20 18:56:35 2005 Jonathan Blandford <jrb@redhat.com>
4029 * shell/ev-view.c (ev_view_realize): make the bg color darker.
4031 2005-01-20 Martin Kretzschmar <martink@gnome.org>
4033 * shell/ev-view.c (set_document_page): unset has_selection when
4035 (set_document_page): handle paper size changes when the page
4036 changes (test with Free Culture, page 2).
4038 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
4040 * shell/ev-view.c: (ev_view_size_request), (ev_view_realize),
4041 (expose_bin_window), (ev_view_class_init), (ev_view_init):
4043 Use normal style color for the widget background and
4044 draw a black box around the page.
4046 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
4048 * pdf/xpdf/pdf-document.cc:
4050 Keep offset in consideration in a few places
4052 * shell/ev-view.c: (expose_bin_window):
4054 Set the offsets so that the document is ever centered
4056 2005-01-20 Bryan Clark <clarkbw@cvs.gnome.org>
4058 * TODO: Added TODO items and finished off the first todo item
4060 * AUTHORS: Updated AUTHORS section with piece from gpdf file and
4061 reflect current authors
4063 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
4065 * pdf/xpdf/pdf-document.cc:
4066 * shell/ev-view.c: (ev_view_set_cursor),
4067 (ev_view_motion_notify_event), (document_changed_callback),
4068 (set_document_page):
4070 Show a wait cursor while the page is rendering
4072 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
4074 * shell/ev-sidebar-thumbnails.c:
4075 (ev_sidebar_tree_selection_changed),
4076 (ev_sidebar_thumbnails_select_page):
4077 * shell/ev-sidebar-thumbnails.h:
4078 * shell/ev-view.c: (ev_view_set_document), (ev_view_can_go_back),
4079 (ev_view_can_go_forward):
4080 * shell/ev-window.c: (ev_window_open_page),
4081 (ev_window_setup_document), (update_current_page),
4082 (view_page_changed_cb), (ev_window_init):
4083 * shell/ev-window.h:
4085 Ensure thumbnails selection, toolbar page control and
4086 current page are in sync.
4088 2005-01-19 Marco Pesenti Gritti <marco@gnome.org>
4094 Wed Jan 19 01:10:57 2005 Jonathan Blandford <jrb@redhat.com>
4096 * backend/Makefile.am:
4097 * backend/ev-document-links.h:
4098 * backend/ev-document-security.c: (ev_document_security_get_type),
4099 (ev_document_security_has_document_security),
4100 (ev_document_security_set_password):
4101 * backend/ev-document-security.h:
4102 * backend/ev-document.c: (ev_document_error_quark):
4103 * backend/ev-document.h:
4105 * data/evince-password.glade:
4106 * pdf/xpdf/pdf-document.cc:
4107 * shell/Makefile.am:
4108 * shell/ev-password.c: (ev_password_set_bad_password_label),
4109 (ev_window_password_entry_changed_cb), (ev_password_dialog_new),
4110 (ev_password_dialog_get_password),
4111 (ev_password_dialog_set_bad_pass):
4112 * shell/ev-password.h:
4113 * shell/ev-window.c: (ev_window_get_attribute),
4114 (ev_window_set_property), (update_action_sensitivity),
4115 (ev_window_is_empty), (mime_type_supported_by_gdk_pixbuf),
4116 (ev_window_setup_document), (ev_window_get_password),
4117 (ev_window_open), (ev_window_cmd_save_as),
4118 (using_postscript_printer), (ev_window_print),
4119 (find_not_supported_dialog), (ev_window_cmd_edit_find),
4120 (update_fullscreen_popup), (ev_window_fullscreen),
4121 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
4122 (ev_window_focus_out_cb), (ev_window_cmd_help_about),
4123 (menu_item_select_cb), (find_bar_search_changed_cb),
4124 (ev_window_dispose), (ev_window_init):
4126 Add initial support for password-supported dialogs. This could be
4127 a lot cooler, but it'll do for now.
4129 2005-01-18 Marco Pesenti Gritti <marco@gnome.org>
4131 * pdf/xpdf/pdf-document.cc:
4132 * shell/ev-view.c: (status_message_from_link),
4133 (ev_view_set_status), (ev_view_set_cursor),
4134 (ev_view_motion_notify_event), (ev_view_init):
4135 * shell/ev-window.c: (view_status_changed_cb), (ev_window_init):
4137 Fix bugs in the links implementation and change cursor
4138 when hovering a link.
4140 2005-01-17 Bryan Clark <clarkbw@cvs.gnome.org>
4142 * viewer/.cvsignore: added cvsignore file for viewer directory
4144 * TODO: created TODO document
4146 2005-01-14 Dave Malcolm <dmalcolm@redhat.com>
4149 * shell/ev-view.c (ev_view_can_go_back), (ev_view_can_go_forward):
4150 new functions to help with implementation of sensitivity code
4151 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
4152 of all actions that might require it. Fixes a crash when you
4153 click on the Zoom actions in a window lacking a document.
4155 2005-01-13 Dave Malcolm <dmalcolm@redhat.com>
4157 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
4160 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
4162 * pixbuf/pixbuf-document.c: (pixbuf_document_get_link),
4163 (pixbuf_document_document_iface_init):
4164 * ps/ps-document.c: (ps_document_get_link),
4165 (ps_document_document_iface_init):
4166 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event),
4167 (status_message_from_link), (ev_view_set_status),
4168 (ev_view_set_find_status), (ev_view_motion_notify_event),
4169 (ev_view_button_release_event), (ev_view_set_property),
4170 (ev_view_get_property), (ev_view_class_init), (ev_view_init),
4171 (ev_view_get_find_status_message), (update_find_results),
4172 (ev_view_get_status), (ev_view_get_find_status):
4174 * shell/ev-window.c: (view_status_changed_cb),
4175 (view_find_status_changed_cb), (ev_window_init):
4177 View status message support, use it to show the links.
4180 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
4182 * backend/ev-document.c: (ev_document_get_link):
4183 * backend/ev-document.h:
4184 * pdf/xpdf/pdf-document.cc:
4185 * shell/ev-application.c: (ev_application_open):
4186 * shell/ev-application.h:
4187 * shell/ev-sidebar-links.c: (selection_changed_cb):
4188 * shell/ev-view.c: (ev_view_button_release_event), (go_to_link),
4189 (ev_view_go_to_link):
4191 Add support for document links
4193 2005-01-13 Anders Carlsson <andersca@gnome.org>
4195 * shell/ev-page-action.c: (update_spin), (total_pages_changed_cb),
4197 Set the spin button limits correctly.
4199 * shell/ev-sidebar-thumbnails.c:
4200 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init):
4201 Support changing pages by clicking on the thumbnails.
4203 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
4205 * pixbuf/pixbuf-document.c:
4206 (pixbuf_document_thumbnails_get_dimensions),
4207 (pixbuf_document_document_thumbnails_iface_init):
4209 implement get_dimensions
4211 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
4213 * ps/ps-document.c: (ps_document_goto_page):
4215 Fix page switching on multipage documents
4217 2005-01-12 Jeff Muizelaar <jrmuizel@nit.ca>
4219 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
4221 check for NULL before assigning to width and height parameters
4223 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
4225 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
4226 (pixbuf_document_set_property), (pixbuf_document_get_property):
4228 implement get/set properties
4230 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
4232 * pdf/xpdf/pdf-document.cc: (pdf_info_dict_get_string):
4234 return NULL instead of "Unknown", letting the title get set to
4235 the filename when the pdf has no title.
4237 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
4239 * ps/ps-document.c: (ps_document_get_page_count),
4240 (ps_document_goto_page):
4242 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
4244 * shell/ev-history.c: (ev_history_get_property),
4245 (ev_history_set_property), (ev_history_class_init),
4246 (ev_history_add_page), (ev_history_set_current_index):
4247 * shell/ev-navigation-action.c: (ev_navigation_action_set_history),
4248 (activate_menu_item_cb), (new_history_menu_item), (build_menu),
4249 (ev_navigation_action_finalize):
4250 * shell/ev-navigation-action.h:
4251 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
4252 (ev_view_go_forward), (ev_view_get_find_status_message),
4253 (history_index_changed_cb), (ev_view_set_history):
4255 * shell/ev-window.c: (update_total_pages), (ev_window_open),
4256 (update_current_page), (register_custom_actions):
4258 Implement history dropdowns
4260 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
4262 * shell/ev-history.c: (ev_history_init), (ev_history_add_link):
4263 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
4264 (ev_view_go_forward):
4265 * shell/ev-window.c: (register_custom_actions):
4267 Fix several history bugs
4269 2005-01-11 Kjartan Maraas <kmaraas@gnome.org>
4271 * configure.ac: Add «nb» to ALL_LINGUAS.
4273 2005-01-10 Marco Pesenti Gritti <marco@gnome.org>
4275 * backend/Makefile.am:
4276 * backend/ev-bookmark.c:
4277 * backend/ev-bookmark.h:
4278 * backend/ev-document-bookmarks.c:
4279 * backend/ev-document-bookmarks.h:
4280 * backend/ev-document-links.c: (ev_document_links_get_type),
4281 (ev_document_links_has_document_links),
4282 (ev_document_links_begin_read), (ev_document_links_get_link),
4283 (ev_document_links_get_child), (ev_document_links_next),
4284 (ev_document_links_free_iter):
4285 * backend/ev-document-links.h:
4286 * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_title),
4287 (ev_link_set_title), (ev_link_get_uri), (ev_link_set_uri),
4288 (ev_link_get_link_type), (ev_link_set_link_type),
4289 (ev_link_get_page), (ev_link_set_page), (ev_link_get_property),
4290 (ev_link_set_property), (ev_window_dispose), (ev_link_init),
4291 (ev_link_class_init), (ev_link_new_title), (ev_link_new_page),
4292 (ev_link_new_external):
4293 * backend/ev-link.h:
4294 * pdf/xpdf/pdf-document.cc:
4295 * shell/Makefile.am:
4296 * shell/ev-application.c: (ev_application_open_link):
4297 * shell/ev-application.h:
4298 * shell/ev-history.c: (ev_history_add_link), (ev_history_add_page),
4299 (ev_history_get_link_nth):
4300 * shell/ev-history.h:
4301 * shell/ev-sidebar-bookmarks.c:
4302 * shell/ev-sidebar-bookmarks.h:
4303 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
4304 (ev_sidebar_links_class_init), (selection_changed_cb),
4305 (ev_sidebar_links_construct), (ev_sidebar_links_init),
4306 (links_page_num_func), (ev_sidebar_links_new), (stack_data_free),
4307 (do_one_iteration), (populate_links_idle),
4308 (ev_sidebar_links_clear_document), (ev_sidebar_links_set_document):
4309 * shell/ev-sidebar-links.h:
4310 * shell/ev-sidebar.c: (ev_sidebar_set_document):
4311 * shell/ev-view.c: (go_to_link), (ev_view_go_to_link),
4314 * shell/ev-window.c: (ev_window_open_link), (ev_window_init):
4315 * shell/ev-window.h:
4317 Rename bookmark to link, and use "Index" for the sidebar panel.
4319 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
4321 * shell/Makefile.am:
4322 * shell/ev-application.c: (ev_application_open_bookmark):
4323 * shell/ev-application.h:
4324 * shell/ev-history.c: (ev_history_init), (free_links_list),
4325 (ev_history_finalize), (ev_history_class_init),
4326 (ev_history_add_link), (ev_history_add_page),
4327 (ev_history_get_link_nth), (ev_history_get_n_links),
4328 (ev_history_get_current_index), (ev_history_set_current_index),
4330 * shell/ev-history.h:
4331 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
4332 * shell/ev-view.c: (ev_view_finalize), (ev_view_set_document),
4333 (set_document_page), (go_to_bookmark), (ev_view_go_to_bookmark),
4334 (go_to_index), (ev_view_go_back), (ev_view_go_forward),
4337 * shell/ev-window.c: (ev_window_open_bookmark),
4338 (ev_window_cmd_go_back), (ev_window_cmd_go_forward),
4339 (goto_page_cb), (register_custom_actions):
4340 * shell/ev-window.h:
4342 Initial history implementation. Needs work.
4344 2005-01-09 Martin Kretzschmar <martink@gnome.org>
4346 * pdf/xpdf/GDKSplashOutputDev.cc (redraw): fix pixbuf data offset.
4348 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
4350 * cut-n-paste/recent-files/egg-recent-item.c:
4351 * cut-n-paste/recent-files/egg-recent-item.h:
4352 * cut-n-paste/recent-files/egg-recent-model.c:
4353 * cut-n-paste/recent-files/egg-recent-util.c:
4354 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
4355 * cut-n-paste/recent-files/egg-recent-view.c:
4359 2005-01-08 Martin Kretzschmar <martink@gnome.org>
4361 * pdf/splash/Splash.cc (clear, drawPixel, drawSpan, xorSpan, getPixel)
4362 (fillGlyph, fillImageMask, drawImage):
4363 pdf/splash/SplashBitmap.cc (SplashBitmap, ~SplashBitmap, writePNMFile):
4364 pdf/splash/SplashTypes.h:
4365 pdf/xpdf/SplashOutputDev (startPage, getColor, imageSrc): implement RGB8
4366 packed mode for Splash.
4368 * pdf/xpdf/GDKSplashOutputDev.cc (GDKSplashOutputDev, redraw): use
4369 RGB8 packed mode, eliminates the pixbuf data creation loop.
4371 * shell/ev-print-job.c (ev_print_job_finalize)
4372 (ev_print_job_set_property, ev_print_job_get_property)
4373 (ev_print_job_set_gnome_print_job, ev_print_job_set_document)
4374 (ev_print_job_use_print_dialog_settings, idle_print_handler)
4375 (print_closure_finalize, ev_print_job_print): implement
4376 printing (for backends with EvPsExporter)
4378 * shell/ev_print_job.h: update prototypes.
4380 * shell/ev-window.c (ev_window_print): unref print job after
4383 * shell/ev-view.c (ev_view_set_document): don't connect to "found"
4384 unless the document implements the EvDocumentFind interface.
4386 2005-01-08 Satoru SATOH <ss@gnome.gr.jp>
4388 * configure.ac: Added ja to ALL_LINGUAS.
4390 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
4392 * pdf/xpdf/pdf-document.cc:
4394 add a FIXME. We should probably not allocate
4395 a bookmark object every time
4397 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
4399 * shell/ev-application.c: (ev_application_open),
4400 (ev_application_open_bookmark):
4401 * shell/ev-application.h:
4403 Add a way to open bookmarks
4405 * backend/ev-bookmark.c: (ev_bookmark_get_uri),
4406 (ev_bookmark_set_uri), (ev_bookmark_get_property),
4407 (ev_bookmark_set_property), (ev_bookmark_class_init),
4408 (ev_bookmark_new_title), (ev_bookmark_new_link),
4409 (ev_bookmark_new_external):
4411 Support for external uris, better constructors.
4413 * backend/ev-bookmark.h:
4414 * pdf/xpdf/pdf-document.cc:
4415 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
4417 Handle external uris
4419 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
4421 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb),
4422 (ev_sidebar_bookmarks_construct), (do_one_iteration):
4424 Hook up bookmarks navigation
4426 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
4428 * backend/Makefile.am:
4429 * backend/ev-bookmark.c: (ev_bookmark_type_get_type),
4430 (ev_bookmark_get_title), (ev_bookmark_set_title),
4431 (ev_bookmark_get_bookmark_type), (ev_bookmark_set_bookmark_type),
4432 (ev_bookmark_get_page), (ev_bookmark_set_page),
4433 (ev_bookmark_get_property), (ev_bookmark_set_property),
4434 (ev_window_dispose), (ev_bookmark_init), (ev_bookmark_class_init),
4436 * backend/ev-bookmark.h:
4437 * backend/ev-document-bookmarks.c:
4438 (ev_document_bookmarks_get_bookmark):
4439 * backend/ev-document-bookmarks.h:
4440 * pdf/xpdf/pdf-document.cc:
4441 * shell/ev-sidebar-bookmarks.c: (do_one_iteration):
4443 Add a bookmark object to the backend and use it instead of get_values
4445 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
4447 * data/evince-ui.xml:
4449 Cleanup and add select all.
4451 * shell/ev-view.c: (ev_view_select_all),
4452 (ev_view_button_press_event):
4454 * shell/ev-window.c: (ev_window_cmd_edit_select_all):
4457 Clear selection on click.
4459 Fri Jan 7 01:28:58 2005 Jonathan Blandford <jrb@redhat.com>
4461 * shell/ev-sidebar-thumbnails.c
4462 (ev_sidebar_thumbnails_set_document): forgot to unref the
4465 Fri Jan 7 01:22:48 2005 Jonathan Blandford <jrb@redhat.com>
4467 * shell/ev-sidebar-thumbnails.c: fill in the thumbnails starting
4468 at the visible page, not just linearly. This makes it look fast.
4470 Thu Jan 6 18:48:11 2005 Jonathan Blandford <jrb@redhat.com>
4472 * backend/ev-document-misc.c
4473 (ev_document_misc_get_thumbnail_frame): fill in the thumbnail with
4475 * backend/ev-document-thumbnails.h: New interface to get the size
4478 2005-01-06 Jeremy Katz <katzj@redhat.com>
4480 * shell/Makefile.am (evince_SOURCES): Add ev-utils.[ch] so that
4483 Wed Jan 5 15:38:28 2005 Jonathan Blandford <jrb@redhat.com>
4485 * pdf/xpdf/pdf-document.cc (bitmap_to_pixbuf): bypass
4486 GDKSplashOutputDev and just use a normal SplashOutputDev. Speeds
4489 * shell/ev-sidebar-thumbnail.c: start of some profiling code.
4491 2005-01-05 Martin Kretzschmar <martink@gnome.org>
4493 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): match only outline
4494 fonts. Should fix font problems on systems that have the base
4495 fonts in bitmap format. Reported by James Henstridge
4496 <james@jamesh.id.au>.
4498 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
4501 * pdf/xpdf/GfxState.cc:
4503 Fix for CAN-2004-1125
4505 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
4507 * shell/ev-view.c: (ev_view_copy):
4509 * shell/ev-window.c: (ev_window_cmd_edit_copy):
4511 Implement Edit->Copy
4513 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
4515 * backend/ev-document.c: (ev_document_get_text):
4516 * backend/ev-document.h:
4517 * pdf/xpdf/pdf-document.cc:
4518 * shell/ev-view.c: (ev_view_realize), (expose_bin_window),
4519 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
4520 (ev_view_update_primary_selection), (ev_view_button_press_event),
4521 (ev_view_motion_notify_event), (ev_view_button_release_event):
4523 Beginnings of clipboard support. Incomplete but primary sort
4526 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
4528 * shell/ev-view.c: (ev_gdk_color_to_rgb), (draw_rubberband),
4529 (expose_bin_window):
4531 Nicer rubberband drawing, from GtkIconView.
4533 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
4535 * backend/ev-document.c: (ev_document_save):
4536 * backend/ev-document.h:
4537 * data/evince-ui.xml:
4538 * pdf/xpdf/pdf-document.cc:
4539 * shell/ev-window.c: (save_error_dialog), (ev_window_cmd_save_as):
4541 Implement "Save a copy..." menu item
4543 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
4545 * shell/ev-view.c: (ev_view_zoom):
4547 Queue a resize when zoom changes
4549 Wed Jan 5 02:33:06 2005 Jonathan Blandford <jrb@redhat.com>
4551 * backend/ev-document-misc.[ch]: New misc file to do simple drop
4554 * pdf/xpdf/pdf-document.cc: use the drop shadows in both types of
4557 Tue Jan 4 22:32:32 2005 Jonathan Blandford <jrb@redhat.com>
4559 * pdf/xpdf/pdf-document.cc
4560 (pdf_document_thumbnails_get_page_pixbuf): poor man's dropshadow.
4562 Tue Jan 4 21:25:05 2005 Jonathan Blandford <jrb@redhat.com>
4564 * pdf/xpdf/pdf-document.cc: Do real thumbnailing of PDF files.
4565 It's slow, but I'll speed it up next!
4567 2005-01-04 Jeff Muizelaar <jrmuizel@nit.ca>
4569 * shell/main.c (load_files):
4571 use gnome_vfs_make_uri_from_shell_arg so that relative paths work
4572 from the command line and because it seems more appropriate.
4574 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
4576 * data/evince-ui.xml:
4577 * shell/ev-window.c: (update_action_sensitivity),
4578 (ev_window_cmd_go_page_up), (ev_window_cmd_go_page_down):
4580 s/next page/page down
4581 s/previous page/page up
4583 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
4585 * data/evince-ui.xml:
4587 Change the layout to match clarkbw design.
4589 * shell/Makefile.am:
4590 * shell/ev-navigation-action.c: (build_menu), (menu_activated_cb),
4591 (set_tooltip_cb), (connect_proxy), (ev_navigation_action_init),
4592 (ev_navigation_action_finalize),
4593 (ev_navigation_action_set_property),
4594 (ev_navigation_action_get_property),
4595 (ev_navigation_action_class_init):
4596 * shell/ev-navigation-action.h:
4598 Implement clarkbw toolbar navigation controls (incomplete)
4600 * shell/ev-page-action.c: (update_label), (update_spin),
4601 (value_changed_cb), (create_tool_item), (connect_proxy),
4602 (ev_page_action_init), (ev_page_action_finalize),
4603 (ev_page_action_set_property), (ev_page_action_get_property),
4604 (ev_page_action_set_current_page),
4605 (ev_page_action_set_total_pages), (ev_page_action_class_init):
4606 * shell/ev-page-action.h:
4608 Implement a page switcher in the toolbar
4610 * shell/ev-view.c: (ev_view_scroll_view):
4611 * shell/ev-window.c: (update_total_pages), (ev_window_open),
4612 (update_current_page), (view_page_changed_cb), (goto_page_cb),
4613 (register_custom_actions), (ev_window_init):
4615 Change page on PageUp/Down.
4617 Tue Jan 4 03:22:56 2005 Jonathan Blandford <jrb@redhat.com>
4619 * pdf/xpdf/pdf-document.cc
4620 (pdf_document_thumbnails_get_thumbnail): initial stab at
4621 implementing thumbnail support for pdfs. It only does documents
4622 with precached pdfs now.
4624 Mon Jan 3 17:22:25 2005 Jonathan Blandford <jrb@redhat.com>
4626 * shell/ev-sidebar-thumbnails.c (do_one_iteration): move the
4627 thumbnail code into a time-based idle as well. Also, turn off the
4628 shadow temporarily as it's really slow.
4630 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
4632 * backend/ev-document.c: (ev_document_class_init):
4633 * pdf/xpdf/pdf-document.cc:
4634 * shell/ev-window.c: (ev_window_open):
4636 Fix document title bugs and fallback to
4637 filename when not available.
4639 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
4641 * backend/ev-document.c: (ev_document_get_type),
4642 (ev_document_class_init), (ev_document_load),
4643 (ev_document_get_title):
4644 * backend/ev-document.h:
4645 * pdf/xpdf/pdf-document.cc:
4646 * ps/ps-document.c: (ps_document_set_property),
4647 (ps_document_get_property), (ps_document_class_init),
4651 * shell/ev-window.c: (update_window_title), (ev_window_open),
4654 Initial support for document title. Not working yet.
4656 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
4658 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event):
4660 Grab focus on the view when clicking it
4662 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
4664 * shell/ev-marshal.list:
4665 * shell/ev-view.c: (ev_view_realize), (add_scroll_binding),
4666 (ev_view_scroll_view), (ev_view_class_init), (ev_view_init):
4668 Add key bindings to the view. Now if the focus would work
4671 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
4674 * backend/Makefile.am:
4677 * dvi/dvilib/Makefile.am:
4678 * pdf/xpdf/Makefile.am:
4684 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
4686 * shell/ev-view.c: (ev_view_realize):
4688 Fix mouse wheel scrolling
4690 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
4696 * ps/ps-document.c: (catchPipe), (ps_document_init),
4697 (ps_document_class_init), (ps_document_cleanup),
4698 (ps_document_finalize), (send_ps), (ps_document_get_orientation),
4699 (set_up_page), (close_pipe), (is_interpreter_ready),
4700 (interpreter_failed), (output), (input), (start_interpreter),
4701 (stop_interpreter), (file_length), (file_readable),
4702 (check_filecompressed), (check_pdf), (compute_xdpi),
4703 (compute_ydpi), (compute_size), (ps_document_enable_interpreter),
4704 (ps_document_get_type), (ps_document_emit_error_msg),
4705 (document_load), (ps_document_next_page),
4706 (ps_document_get_current_page), (ps_document_get_page_count),
4707 (ps_document_goto_page), (ps_document_set_page_size),
4708 (ps_document_zoom_to_fit), (ps_document_set_zoom),
4709 (ps_document_load), (ps_document_get_n_pages),
4710 (ps_document_set_page), (ps_document_get_page),
4711 (ps_document_widget_event), (ps_document_set_target),
4712 (ps_document_set_scale), (ps_document_set_page_offset),
4713 (ps_document_get_page_size), (ps_document_render),
4714 (ps_document_document_iface_init):
4717 * shell/ev-window.c: (ev_window_open):
4719 Rename GtkGS to PSDocument
4721 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
4723 * ps/gtkgs.c: (gtk_gs_class_init):
4726 Some more leftover...
4728 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
4730 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_get_orientation),
4731 (output), (stop_interpreter), (gtk_gs_emit_error_msg),
4732 (gtk_gs_zoom_to_fit), (gtk_gs_set_zoom):
4735 Remove unused code and make a lot of stuff private
4737 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
4739 * ps/gsdefaults.c: (gtk_gs_defaults_gconf_client),
4740 (gtk_gs_defaults_changed):
4746 Cleanup headers dependencies
4748 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
4753 * ps/gsdefaults.c: (gtk_gs_defaults_get_paper_sizes):
4755 * ps/gtkgs.c: (file_length), (file_readable),
4756 (check_filecompressed), (check_pdf), (gtk_gs_load),
4757 (gtk_gs_get_postscript):
4761 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
4766 * ps/gtkgs.c: (gtk_gs_set_zoom):
4770 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
4772 * ps/gtkgs.c: (gtk_gs_set_zoom), (gtk_gs_set_zoom_mode):
4774 Ensure the page is rerendered when changing zoom
4776 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
4778 * backend/ev-document.c: (ev_document_base_init),
4779 (ev_document_changed):
4780 * backend/ev-document.h:
4782 Add a changed event that is emitted when the page content
4783 changes. This is necessary to deal with the fact that
4784 in ps backend rendering happen asycrounously.
4785 This makes the ps backend mostly work.
4787 * pdf/xpdf/pdf-document.cc:
4791 * ps/gtkgs.c: (set_up_page), (gtk_gs_widget_event),
4792 (ps_document_set_target):
4796 * shell/ev-view.c: (document_changed_callback),
4797 (ev_view_set_document), (ev_view_set_page):
4799 Redraw on the changed signal
4801 2004-12-25 Raphael Higino <raphaelh@cvs.gnome.org>
4803 * configure.ac: Added pt_BR to ALL_LINGUAS.
4805 Fri Dec 24 00:48:44 2004 Jonathan Blandford <jrb@redhat.com>
4807 * backend/ev-document-bookmarks.c:
4808 (ev_document_bookmarks_get_child): *
4809 backend/ev-document-bookmarks.h: * pdf/xpdf/Makefile.am: *
4810 pdf/xpdf/pdf-document.cc: * pdf/xpdf/pdf-document.h: *
4811 shell/Makefile.am: * shell/ev-sidebar-bookmarks.c:
4812 (ev_sidebar_bookmarks_destroy),
4813 (ev_sidebar_bookmarks_class_init),
4814 (ev_sidebar_bookmarks_construct), (stack_data_free),
4815 (do_one_iteration), (populate_bookmarks_idle),
4816 (ev_sidebar_bookmarks_clear_document),
4817 (ev_sidebar_bookmarks_set_document): *
4818 shell/ev-sidebar-bookmarks.h: * shell/ev-sidebar.c:
4819 (ev_sidebar_add_page),
4820 (ev_sidebar_set_document): * shell/ev-window.c: (ev_window_open):
4821 Initial stab at a bookmarks sidebar. It doesn't navigate yet, but
4822 it displays both the topics and the page numbers.
4824 2004-12-23 Kristian Høgsberg <krh@redhat.com>
4826 * shell/ev-window.c (ev_window_view_sidebar_cb): Hook up sidebar
4828 * shell/ev-window.c (toggle_entries): Set sidebar default value to
4831 2004-12-23 Adam Weinberger <adamw@gnome.org>
4833 * configure.ac: Added en_CA to ALL_LINGUAS.
4835 2004-12-23 Martin Kretzschmar <martink@gnome.org>
4837 * ChangeLog: replace bottom of this ChangeLog (merged history of
4838 ggv and gpdf; where all paths were wrong and most of the files are
4839 not even in this tree) with ChangeLog (from arch) of the shell
4842 2004-12-23 Havoc Pennington <hp@redhat.com>
4844 * shell/ev-window.c: hook up potentially-questionable "find
4845 results status text" feature - something involving the sidebar or
4846 scrollbar or a continuous all-pages-on-giant-roll-of-paper-view
4847 might be better in the end.
4849 * shell/ev-view.c (ev_view_get_find_status_message): new function,
4850 with corresponding signal when it should be updated
4852 * shell/eggfindbar.c (egg_find_bar_set_status_text): new function
4854 2004-12-22 Havoc Pennington <hp@redhat.com>
4856 * pdf/xpdf/pdf-document.cc (pdf_document_find_begin): make search
4857 find stuff on other pages, sort of (only returns one result on
4858 invisible pages, to show they have results; updates full results
4859 for a page when you view it). Currently repaints the current page
4860 every time a new result is found on any page, which isn't so nice.
4862 2004-12-22 Havoc Pennington <hp@redhat.com>
4864 * shell/ev-window.c (ev_window_cmd_edit_find): display an error if
4865 the document doesn't support find (better ideas?)
4866 (find_bar_search_changed_cb): handle missing document or document
4867 that doesn't support find
4869 * pdf/xpdf/pdf-document.cc: port to implement the new
4872 * backend/ev-document-find.c: create a new interface for searching
4874 * backend/ev-document.h, backend/ev-document.c: delete the find stuff
4876 2004-12-23 Martin Kretzschmar <martink@gnome.org>
4878 * pdf/xpdf/Makefile.am (libpdfdocument_la_LIBADD): add
4881 * shell/ev-window.c (ev_window_print): add GnomePrintJob to
4882 EvPrintJob constructor arguments.
4884 * backend/ev-ps-exporter.c, backend/ev-ps-exporter.h: interface
4885 for documents that can export PostScript (page by page).
4887 * backend/Makefile.am (libevbackend_la_SOURCES): add them.
4889 * pdf/xpdf/pdf-document.cc (pdf_document_ps_export_begin)
4890 (pdf_document_ps_export_do_page, pdf_document_ps_export_end)
4891 (pdf_document_ps_exporter_iface_init:
4892 Implement EvPSExporter.
4894 * pdf/xpdf/Makefile.am (libxpdf_la_SOURCES): build PSOutputDev.
4896 2004-12-22 Anders Carlsson <andersca@gnome.org>
4898 * backend/Makefile.am:
4899 * backend/ev-document-thumbnails.c:
4900 (ev_document_thumbnails_get_type),
4901 (ev_document_thumbnails_get_thumbnail):
4902 * backend/ev-document-thumbnails.h:
4903 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
4904 (pixbuf_document_thumbnails_get_thumbnail),
4905 (pixbuf_document_document_thumbnails_iface_init):
4906 * shell/Makefile.am:
4907 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_destroy),
4908 (ev_sidebar_thumbnails_class_init), (ev_sidebar_thumbnails_init),
4909 (populate_thumbnails), (ev_sidebar_thumbnails_set_document):
4910 * shell/ev-sidebar-thumbnails.h:
4911 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
4912 (ev_sidebar_set_document):
4913 * shell/ev-utils.c: (gaussian), (create_blur_filter),
4914 (create_shadow), (ev_pixbuf_add_shadow):
4916 Add thumbnail support.
4918 2004-12-22 Martin Kretzschmar <martink@gnome.org>
4920 * shell/ev-window.c (ev_window_cmd_file_print, ev_window_print)
4921 (using_postscript_printer): Set up a print dialog for "PostScript
4924 * shell/ev-print-job.h, shell/ev-print-job.c: stub classes for
4927 * shell/Makefile.am (evince_SOURCES): add ev-print-job.[ch]
4929 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
4931 * ps/gtkgs.c: (gtk_gs_init), (set_up_page),
4932 (ps_document_set_target), (ps_document_get_page_size),
4933 (ps_document_render):
4938 2004-12-22 Christian Rose <menthos@menthos.com>
4940 * configure.ac: Added "sv" to ALL_LINGUAS.
4942 Wed Dec 22 14:47:38 2004 Jonathan Blandford <jrb@redhat.com>
4944 * backend/ev-document-bookmarks.[ch]: new interface to indicate
4945 document supports bookmarks.
4947 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
4949 * ps/ggvutils.c: (ggv_file_readable):
4951 * ps/gtkgs.c: (check_filecompressed), (check_pdf),
4952 (gtk_gs_get_postscript):
4956 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
4958 * ps/gtkgs.c: (gtk_gs_init), (gtk_gs_class_init), (gtk_gs_cleanup),
4959 (gtk_gs_finalize), (gtk_gs_set_center), (set_up_page), (output),
4960 (start_interpreter), (compute_size), (gtk_gs_enable_interpreter),
4961 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_reload),
4962 (gtk_gs_emit_error_msg), (gtk_gs_disable_interpreter),
4963 (gtk_gs_load), (gtk_gs_goto_page), (gtk_gs_set_page_size),
4964 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
4965 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
4966 (gtk_gs_set_antialiasing), (ps_document_load),
4967 (ps_document_render):
4970 Another check point for the ps backend. Now I can get it to show
4973 Wed Dec 22 13:41:01 2004 Jonathan Blandford <jrb@redhat.com>
4975 * shell/ev-sidebar.c (ev_sidebar_set_document): initial sidebar
4976 document setting code.
4978 2004-12-22 Anders Carlsson <andersca@gnome.org>
4980 * shell/eggfindbar.c: (entry_activate_callback):
4981 Animate the next button when activate is pressed.
4983 2004-12-22 Anders Carlsson <andersca@gnome.org>
4985 * shell/ev-window.c: (ev_window_cmd_edit_find),
4986 (update_fullscreen_popup), (ev_window_fullscreen),
4987 (ev_window_unfullscreen), (ev_window_state_event_cb),
4988 (ev_window_focus_out_cb), (find_bar_close_cb), (ev_window_init):
4989 Fix bugs in fullscreen code.
4991 2004-12-22 Anders Carlsson <andersca@gnome.org>
4995 * pixbuf/Makefile.am:
4996 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
4997 (pixbuf_document_load), (pixbuf_document_get_n_pages),
4998 (pixbuf_document_set_page), (pixbuf_document_get_page),
4999 (pixbuf_document_set_target), (pixbuf_document_set_scale),
5000 (pixbuf_document_set_page_offset), (pixbuf_document_get_page_size),
5001 (pixbuf_document_render), (pixbuf_document_begin_find),
5002 (pixbuf_document_end_find), (pixbuf_document_finalize),
5003 (pixbuf_document_class_init),
5004 (pixbuf_document_document_iface_init), (pixbuf_document_init):
5005 * pixbuf/pixbuf-document.h:
5006 * shell/Makefile.am:
5007 * shell/ev-application.c: (ev_application_open):
5008 * shell/ev-window.c: (mime_type_supported_by_gdk_pixbuf),
5012 Tue Dec 21 21:45:43 2004 Soeren Sandmann <sandmann@redhat.com>
5015 * dvi/dvilib/Makefile.am:
5017 * configure.ac: Auto*ify dvi and dvi/dvilib
5019 * dvi/Makefile: Remove from CVS
5021 * dvi/dvilib/dl-pkfont.cc (unpack_bitmap): Fix uchar/uint
5024 * dvi/dvilib/dl-fontdefinition.{cc,hh}: New DviFontMap class
5026 * dvi/dvilib/dl-vffont.{cc,hh}: Many bugfixes to VF code.
5028 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
5031 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_finalize),
5032 (gtk_gs_value_adjustment_changed), (compute_size),
5033 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_new_from_file),
5034 (gtk_gs_center_page), (gtk_gs_load), (gtk_gs_set_page_size),
5035 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
5036 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
5037 (gtk_gs_start_scroll), (gtk_gs_get_postscript),
5038 (gtk_gs_set_adjustments), (gtk_gs_set_available_size),
5039 (ps_document_load), (ps_document_get_n_pages),
5040 (ps_document_set_page), (ps_document_get_page),
5041 (ps_document_set_target), (ps_document_set_scale),
5042 (ps_document_set_page_offset), (ps_document_get_page_size),
5043 (ps_document_render), (ps_document_begin_find),
5044 (ps_document_end_find), (ps_document_document_iface_init):
5046 * shell/Makefile.am:
5047 * shell/ev-window.c: (ev_window_open):
5049 Some work to integrate gtkgs with EvDocument
5051 2004-12-22 Anders Carlsson <andersca@gnome.org>
5053 * shell/ev-window.c: (update_fullscreen_popup),
5054 (screen_size_changed_cb), (destroy_exit_fullscreen_popup),
5055 (exit_fullscreen_button_clicked_cb),
5056 (fullscreen_popup_size_request_cb), (ev_window_fullscreen),
5057 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
5058 (ev_window_state_event_cb), (ev_window_init):
5059 Add fullscreen support from Epiphany.
5061 2004-12-22 Mark McLoughlin <mark@skynet.ie>
5063 * data/ev-stock-zoom-fit-width.png: fit-width
5064 stock icon from gpdf.
5066 * shell/ev-stock-icons.[ch]: copied from gpdf.
5068 * shell/main.c: (main): init stock icons.
5070 * shell/ev-window.c: use the fit-width icon.
5072 * data/evince-ui.xml: add zooming toolbar items.
5074 2004-12-22 Mark McLoughlin <mark@skynet.ie>
5077 (ev_view_best_fit), (ev_view_fit_width): because
5078 get_page_size() returns the scaled page size, we
5079 need to calculate the scale factor relative to
5080 the previous scale factor. Should really just
5081 add get_real_page_size().
5083 2004-12-22 Mark McLoughlin <mark@skynet.ie>
5085 * shell/ev-view.[ch]:
5086 (ev_view_zoom), (ev_view_zoom_in), (ev_view_zoom_out),
5087 (ev_view_normal_size), (ev_view_best_fit), (ev_view_fit_width):
5090 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
5091 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_normal_size),
5092 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width):
5095 * pdf/xpdf/pdf-document.cc:
5096 (pdf_document_begin_find),
5097 (pdf_document_end_find): make static.
5099 2004-12-22 Martin Kretzschmar <martink@gnome.org>
5101 * pdf/xpdf/GlobalParams.h (setupBaseFontsFc): add prototype.
5103 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): maps base font
5104 names to fontconfig patterns.
5105 (setupBaseFontsFc): setupBaseFonts reimplemented using fontconfig.
5107 * pdf/xpdf/pdf-document.cc (pdf_document_load): use
5110 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
5126 Import ggv backend. Not hooked up yet.
5128 2004-12-22 Mark McLoughlin <mark@skynet.ie>
5130 * shell/main.c: (load_files), (main): load files
5131 from the command line.
5133 2004-12-22 Mark McLoughlin <mark@skynet.ie>
5135 * configure.ac: don't require bonobo.
5137 * cut-n-paste/recent-files/*: kill bonobo recent
5140 * shell/ev-window.c:
5141 (ev_window_is_empty): upd.
5142 (unable_to_load), (ev_window_open): load backend
5143 based on the mime type.
5145 2004-12-22 Martin Kretzschmar <martink@gnome.org>
5147 * backend/.cvsignore: ignore generated marshalers source.
5149 * shell/main.c (main): this is not epiphany.
5151 2004-12-22 Havoc Pennington <hp@redhat.com>
5153 * shell/ev-view.c (ev_view_set_document): connect to "found" signal
5154 (expose_bin_window): draw find highlights
5156 * shell/ev-window.c (find_bar_search_changed_cb): implement
5158 * pdf/xpdf/pdf-document.cc (pdf_document_begin_find)
5159 (pdf_document_end_find): implement this interface
5161 * backend/ev-document.c (ev_document_found): add this to emit
5164 Tue Dec 21 23:57:37 2004 Owen Taylor <otaylor@redhat.com>
5166 * data/evince-ui.xml: Add a few more toolbar items.
5168 * shell/ev-window.c: Hook up page navigation toolbar
5171 * shell/ev-view.[ch]: add ev_view_set/get_page and
5172 a page-changed signal.
5174 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc::
5175 Add ev_document_get_page().
5177 * shell/ev-window.c: Sensitize/desensitize navigation
5180 2004-12-21 Havoc Pennington <hp@redhat.com>
5182 * backend/ev-backend-marshal.c,
5183 backend/ev-backend-marshalers.list, backend/Makefile.am: add
5184 marshaler-generator thingy. I'm sure there's a better way to do
5185 this in the modern world.
5187 * backend/ev-document.h (struct _EvDocumentIface): add begin_find,
5188 end_find methods and "found" signal.
5190 * configure.ac: find glib-genmarshal
5192 Tue Dec 21 23:20:35 2004 Jonathan Blandford <jrb@redhat.com>
5194 * shell/ev-sidebar.c: Construct an actual sidebar.
5195 * shell/ev-sidebar-bookmarks.[ch]:
5196 * shell/ev-sidebar-thumbnails.[ch]: Stub out sidebars.
5198 Tue Dec 21 23:05:51 2004 Owen Taylor <otaylor@redhat.com>
5200 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc:
5203 * shell/ev-view.c: Track the size from the document.
5205 Tue Dec 21 22:17:04 2004 Owen Taylor <otaylor@redhat.com>
5207 * pdf/xpdf/pdf-document.cc (pdf_document_load): PDFDoc
5208 constructor assumes ownership of the string passed in.
5210 * shell/ev-window.c (ev_window_open): Destroy the error
5211 dialog once we've displayed it.
5213 Tue Dec 21 21:58:56 2004 Owen Taylor <otaylor@redhat.com>
5215 * pdf/xpdf/pdf-document.cc shell/ev-view.c: Hook things up
5216 a bit, it works! (sort of)
5218 * pdf/xpdf/Makefile.am pdf/xpdf/pdf-document.cc:
5219 Move to .cc since we need to use C++ in the implementation.
5221 * shell/dummy.cc: Add a CC file to force evince
5222 to be linked as a C++ program.
5224 Tue Dec 21 21:07:55 2004 Owen Taylor <otaylor@redhat.com>
5226 * shell/ev-view.[ch]: Start of content-area widget.
5228 * shell/ev-window.c: Create a EvView, update it
5229 as we change documents.
5231 * shell/Makefile.am shell/ev-marshal.list: Add
5232 generated marshalers.
5234 Tue Dec 21 20:28:11 2004 Jonathan Blandford <jrb@redhat.com>
5236 * Makefile.am (SUBDIRS): move shell.
5238 Tue Dec 21 19:28:55 2004 Owen Taylor <otaylor@redhat.com>
5240 * pdf/{goo,fofi,splash,xpdf}/Makefile.am: Switch from
5241 .a to libtool convenience libraries.
5243 * shell/ev-window.c (ev_window_open): Hard code loading
5246 * backend/ev-document.h: Add a boolean return to load(),
5247 fix GError * to GError **.
5249 * pdf/xpdf/pdf-document.[ch] Makefile.am: Add a stub
5250 object for a PDF backend EvDocument.
5252 Tue Dec 21 18:55:06 2004 Søren Sandmann <sandmann@redhat.com>
5254 * dvi/*: New directory with the beginning of a .dvi backend.
5256 2004-12-21 Havoc Pennington <hp@redhat.com>
5258 * shell/eggfindbar.c (egg_find_bar_init): change buttons to
5259 previous/next instead of back/forward
5261 Tue Dec 21 18:26:24 2004 Owen Taylor <otaylor@redhat.com>
5263 * backend/ev-document.[ch]: Fix a couple of problems so
5266 Tue Dec 21 18:20:40 2004 Owen Taylor <otaylor@redhat.com>
5268 * viewer/* backend/* configure.ac Makefile.am: Move viewer directory
5269 to backend/ directory, rename EvViewer to EvDocument.
5271 2004-12-21 Havoc Pennington <hp@redhat.com>
5273 * shell/ev-window.c: hook up the find bar widget; now we just need
5274 a document to find things in
5276 * shell/eggfindbar.c: a find bar widget
5278 Tue Dec 21 17:20:16 2004 Jonathan Blandford <jrb@redhat.com>
5280 * shell/ev-sidebar.[ch]: initial sidebar boilerplate.
5282 Tue Dec 21 16:30:58 2004 Owen Taylor <otaylor@redhat.com>
5284 * pdf/**: Import of xpdf code from gpdf.
5286 * pdf/xpdf/xpdfconfig.h: Move the non-config.h config.h to xpdfconfig.h
5288 * pdf/splash/SplashFTFont.{cc,h} pdf/splash/SplashFTFont.h
5289 pdf/splash/SplashFTFontEngine.h pdf/splash/SplashFTFontFile.h:
5290 Fix FreeType includes.
5292 * pdf/xpdf/{Error.h GnomeVFSStream.cc ImageOutputDev.cc PDFDoc.cc\
5293 pdffonts.cc pdfimages.cc pdfinfo.cc pdftoppm.cc pdftops.cc
5294 pdftotext.cc PSOutputDev.cc PSOutputDev.h SplashOutputDev.h
5295 Stream.cc TextOutputDev.cc XPDFApp.cc xpdf.cc XPDFViewer.cc
5296 pdf/xpdf/Error.h PSOutputDev.h SplashOutputDev.h}:
5297 Include xpdfconfig.h
5299 Tue Dec 21 16:08:17 2004 Jonathan Blandford <jrb@redhat.com>
5301 * shell/ev-window.c (ev_window_dispose): dispose can be called
5304 2004-12-21 Havoc Pennington <hp@redhat.com>
5306 * shell/ev-window.c (ev_window_init): set title to Document Viewer
5309 * data/evince-ui.xml, shell/ev-window.c: add a bunch of stub menu
5310 items; really they should be synced with the strings, etc. from
5311 current gpdf, but just getting the boring typing out of the way
5313 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
5316 * shell/ev-application.c: (window_destroy_cb):
5317 * shell/ev-window.c:
5318 * shell/main.c: (main):
5320 Actually show the window...
5322 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
5325 * shell/Makefile.am:
5326 * shell/ev-application.c: (ev_application_class_init):
5327 * shell/ev-window.c: (ev_window_dispose), (ev_window_class_init):
5331 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
5333 Import to gnome cvs.
5335 * Remove copies of gpdf and ggv trees.
5336 * Rip out all the recursive configure code.
5337 * Remove bonobo machinery.
5338 * viewer/*: GInterfaces that backends should/can implement.
5340 2004-11-09 Martin Kretzschmar <m_kretzschmar@gmx.net>
5342 * shell/ev-window.c (ev_window_cmd_help_about): fix "documentors"
5345 2004-10-28 Martin Kretzschmar <m_kretzschmar@gmx.net>
5347 * shell/ev-application.c (EV_APPLICATION_GET_PRIVATE)
5348 (ev_application_finalize, ev_application_class_init)
5349 (ev_application_init): use GType instance private data for priv.
5351 * shell/ev-window.c (EV_WINDOW_GET_PRIVATE)
5352 (ev_window_finalize, ev_window_class_init)
5353 (ev_window_init): ditto.
5355 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
5357 * shell/ev-application.c (ev_application_new_window): make public
5358 (ev_application_show_initial_window): kill.
5360 * shell/ev-application.h: update prototypes.
5362 * shell/main.cc (main): inline ev_application_show_initial_window.
5364 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
5366 * shell/ev-application.c (ev_application_new_window): impl.
5367 (ev_application_show_initial_window): use it.
5368 (is_window_empty, ev_application_get_empty_window): returns an
5369 existing empty window or a new one.
5370 (ev_application_open): from ev_window_cmd_file_open.
5372 * shell/ev-application.h: update prototypes
5374 * shell/ev-window.c (ev_window_is_empty): impl.
5375 (ev_window_open): make public.
5376 (ev_window_cmd_file_open): use ev_application_open
5378 * shell/ev-window.h: update prototypes, remove unused.
5380 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
5382 * shell/ev-window.c (ev_window_destroy, ev_window_class_init):
5383 move destroy handler out of here...
5385 * shell/ev-application.c, shell/ev-application.h: ...into this new
5386 class. Also handles initial window creation.
5388 * shell/main.cc (main): use EvApplication to create initial
5391 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
5393 * Makefile.am (SUBDIRS): add cut-n-paste
5395 * cut-n-paste/Makefile.am: add
5397 * configure.ac: generate Makefiles in cut-n-paste
5399 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
5401 * shell/ev-window.c (ev_window_dispose): new, unref the ui_manager
5402 (ev_window_class_init): install ev_window_dispose.
5404 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
5406 * shell/ev-window.h, shell/ev-window.c: replace gchar with
5407 char (gchar looks stupid).
5409 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
5411 * po/de.po: updated German translation.
5413 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
5415 * configure.ac: add more pkg-config library checks for gnome-vfs,
5418 * gpdf/configure.in: temporarily disable libpaper
5419 checks. Otherwise I'd have to add the checks for the shell, too.
5421 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
5423 * shell/ev-window.c (ev_window_cmd_file_open): add ps+pdf, ps, pdf
5424 and * file filters to the file choose.
5426 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
5428 * po/de.po: Updated German translation.
5430 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
5432 * shell/ev-window.c: use "S" as mnemonic for Statusbar.
5434 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
5436 * data/evince-ui.xml: add View->Toolbar and View->Statusbar.
5438 * shell/ev-window.c (menu_item_select_cb, menu_item_select_cb)
5439 (ev_window_init): implement those menuitems.
5441 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
5443 * data/evince-ui.xml: add a toolbar (with FileOpen action)
5445 * shell/ev-window.c (ev_window_init): use the toolbar.
5447 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
5449 * shell/ev-window.c (ev_window_init): use menu translations
5451 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
5453 * configure.ac: add "de" to ALL_LINGUAS.
5455 * po/de.po: add German translation.
5457 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
5459 * Makefile.am (SUBDIRS): add po
5461 * configure.ac: check intltool, glib-gettext etc, generate
5464 * po, po/POTFILES.in, po/POTFILES.skip: new.
5466 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
5468 * shell/Makefile.am (INCLUDES): define GNOMELOCALEDIR which we
5469 already use (#ifdef ENABLE_NLS)
5471 * shell/ev-window.c (ev_window_cmd_help_about): fix two star
5472 pointer indirection thinko.
5474 * shell/main.c: include gi18n.h for bindtextdomain etc.
5476 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5478 * shell/ev-window.c (menu_item_select_cb, menu_item_deselect_cb)
5479 (connect_proxy_cb, disconnect_proxy_cb, ev_window_init): show
5480 tooltips for menu items in the statusbar.
5482 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5484 * configure.ac, data/Makefile.am, shell/Makefile.am: use
5485 pkgdatadir drop UIDIR
5487 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5489 * data/evince-ui.xml: Add File->Open menu item
5491 * shell/ev-window.c (ev_window_cmd_file_open): impl. (shows a file
5492 chooser), hook it up in the ui manager.
5494 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5496 * shell/ev-window.c: fix Help->About tooltip.
5498 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5500 * configure.ac: set CFLAGS for libevprivate.
5502 * lib/ev-stock-icons.h, lib/ev-stock-icons.c: stock icon
5503 definitions, factory etc.
5505 * lib/Makefile.am: build libevprivate.a (only stock icon code).
5507 * shell/Makefile.am: link against libevprivate.a.
5509 * shell/ev-window.c (entries): add stock icon to Help->About.
5511 * shell/main.c (main): init stock icon code.
5513 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5515 * lib/recent-files: egg recent files code
5517 * lib/Makefile.am: add.
5519 * Makefile.am: add lib subdir.
5521 * configure.ac: gen. lib/Makefile and lib/recent-files/Makefile,
5522 set CFLAGS for recent-files.
5524 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5526 * configure.ac: disable -ansi and -pedantic gcc flags. They
5527 disable POSIX stuff in stdio.h, but egg-recent uses them.
5529 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5531 * configure.ac: add --disable-deprecated flag (defaults to on in
5534 * shell/Makefile.am (INCLUDES): use it.
5536 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5538 * shell/main.c: add missing #include.
5540 * shell/ev-window.c: fix for pedantic gcc.
5541 (ev_window_cmd_help_about): split license into paragraphs for
5542 translators and pedantic compilers.
5544 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5546 * configure.ac: add more warning flags if compiling with gcc from
5547 cvs (or explicitly requested with --enable-more-warnings).
5549 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5551 * data/evince-ui.xml: add File and File->Close menu.
5553 * shell/ev-window.c (ev_window_cmd_file_close_window): impl.
5554 (ev_window_destroy): quit after destroy.
5555 (ev_window_class_init): override GtkObject::destroy.
5556 (entries): install close_window callback.
5558 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5560 * Makefile.am (SUBDIRS): add data subdir.
5562 * configure.ac (UIDIR): gen data/Makefile, define UIDIR. Require
5563 gtk+ 2.5.0 for GtkAboutDialog.
5565 * data/Makefile.am, data/evince-ui.xml: add, ui definition for the
5568 * shell/Makefile.am (INCLUDES): propagate UIDIR definition.
5570 * shell/ev-window.c (ev_window_init): create a menubar, using a ui
5572 (ev_window_cmd_help_about): about command, using GtkAboutDialog.
5574 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5576 * shell/ev-window.c, shell/ev-window.h: Created an EvWindow class.
5578 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
5580 * shell/main.c: make it a trivial gtk+ program, adjust configure.ac
5582 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
5584 * shell/*: Added shell directory boilerplate, build it.
5586 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
5588 * configure.ac, Makefile.am: Added top-level configure.ac and