1 2005-06-30 Kristian Høgsberg <krh@redhat.com>
3 * shell/ev-view.c (ev_view_button_press_event): Fix
4 event->y + view->scroll_x typo.
6 2005-06-30 Kristian Høgsberg <krh@redhat.com>
8 * pdf/ev-poppler.cc: Adjust to poppler API changes; use a
9 sub-GdkPixbuf instead of passing dest_x and dest_y.
11 * shell/ev-view.c: (view_point_to_doc_point),
12 (view_rect_to_doc_rect), (ev_view_button_press_event),
13 (ev_view_motion_notify_event), (compute_new_selection_rect),
14 (gdk_rectangle_point_in), (compute_new_selection_text),
15 (compute_selections): Update selection code to keep the selection
16 around as two points and not as a normalized rectangle, and fix
17 page level selection in two-column mode.
19 2005-06-30 Alex Duggan <aldug@astrolinux.com>
21 * shell/ev-window.c: (window_configure_event_cb):
25 2005-06-30 Marco Pesenti Gritti <mpg@redhat.com>
31 2005-06-30 Marco Pesenti Gritti <mpg@redhat.com>
34 * shell/ev-metadata-manager.c: (item_free),
35 (ev_metadata_manager_init), (ev_metadata_manager_shutdown),
36 (parse_value), (parseItem), (load_values),
37 (ev_metadata_manager_get), (value_free), (ev_metadata_manager_set),
38 (save_values), (save_item), (get_oldest), (resize_items),
39 (ev_metadata_manager_save), (ev_metadata_manager_set_int):
40 * shell/ev-metadata-manager.h:
42 Metadata manager from gedit but modified to use GValue, so that
43 we dont need to keep converting from strings.
47 ENABLE_METADATA conditional, on when dbus is on
49 * shell/ev-application.c: (ev_application_open_uri):
51 Show the window after load so that we can initialize
52 window size before it's showed.
54 * shell/ev-window.c: (ev_window_setup_from_metadata),
55 (ev_window_open_uri), (window_configure_event_cb),
58 Save and load metadata information about window size.
59 Not yet keeping states in account.
61 * shell/main.c: (main):
63 Shutdown metadata manager.
65 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
67 * shell/ev-application-service.xml:
70 * shell/ev-application.c:
71 * shell/ev-application.h:
76 Add an optional dbus interface (--enable-dbus).
77 Rework application code, mainly to be easier to
79 Do not open multiple windows with the same document,
82 Thu Jun 30 01:50:14 2005 Jonathan Blandford <jrb@redhat.com>
84 * shell/ev-pixbuf-cache.c (clear_selection_if_needed): unref the
87 Thu Jun 30 01:43:00 2005 Jonathan Blandford <jrb@redhat.com>
90 * backend/ev-render-context.[ch]:
91 * backend/ev-selection.[ch]:
93 Massive changes. We now support text selection of pdfs, and not
94 just rectangular selection. This is pretty broken still, but I
95 want to get something into CVS.
97 2005-06-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
101 Fix for Bug 309080: crash on window close.
103 * shell/ev-page-action.c: (page_changed_cb):
105 Fix for Bug 309168: Fix build with gcc 2.95. Thanks to
106 jensgr@gmx.net (Jens Granseuer).
108 2005-06-25 Marcel Telka <marcel@telka.sk>
110 * configure.in (ALL_LINGUAS): Added sk.
112 2005-06-24 Carlos Garcia Campos <carlosgc@gnome.org>
114 * shell/ev-window.c: Make rotate menu entries unsensitive if there is
117 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
124 * cut-n-paste/recent-files/Makefile.am:
128 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
130 * pixbuf/pixbuf-document.c: (pixbuf_document_get_orientation),
131 (pixbuf_document_set_orientation), (rotate_pixbuf),
132 (pixbuf_document_get_page_size), (pixbuf_document_render_pixbuf),
133 (pixbuf_document_document_iface_init), (pixbuf_document_init):
135 Implement rotation and cleanup the code a bit.
137 * tiff/tiff-document.c: (tiff_document_get_page_size),
138 (tiff_document_get_orientation), (tiff_document_set_orientation),
139 (rotate_pixbuf), (tiff_document_render_pixbuf),
140 (tiff_document_document_iface_init), (tiff_document_init):
142 Implement rotation. Was the quicker solution for the release
143 but we really need to share this code in the shell.
145 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
149 Enable rotation, require poppler cvs. Fix a leak.
151 2005-06-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
153 * shell/ev-window.c: (update_action_sensitivity):
155 Make properties unsensitive if document backend doesn't provide
158 2005-06-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
160 * dvi/mdvi-lib/bitmap.c: (bitmap_alloc), (bitmap_alloc_raw),
161 (bitmap_flip_horizontally), (bitmap_flip_vertically),
162 (bitmap_flip_diagonally), (bitmap_rotate_clockwise),
163 (bitmap_rotate_counter_clockwise), (bitmap_flip_rotate_clockwise),
164 (bitmap_flip_rotate_counter_clockwise):
165 * dvi/mdvi-lib/color.c: (mdvi_push_color), (get_color_table):
166 * dvi/mdvi-lib/common.c: (read_string), (buff_free), (buff_add),
168 * dvi/mdvi-lib/common.h:
169 * dvi/mdvi-lib/dvimisc.c: (mdvi_push_color):
170 * dvi/mdvi-lib/dviread.c: (get_bytes), (dreset), (define_font),
171 (opendvi), (mdvi_reload), (mdvi_init_context),
172 (mdvi_destroy_context), (mdvi_dopage), (special):
173 * dvi/mdvi-lib/font.c: (font_drop_one), (font_free_unused):
174 * dvi/mdvi-lib/fontmap.c: (read_encoding), (destroy_encoding),
175 (file_hash_free), (register_encoding), (parse_spec),
176 (mdvi_load_fontmap), (free_ent), (mdvi_init_fontmaps),
177 (mdvi_add_fontmap_file), (mdvi_ps_read_fontmap),
178 (mdvi_ps_flush_fonts), (mdvi_ps_find_font), (mdvi_ps_get_metrics):
179 * dvi/mdvi-lib/fontsrch.c: (mdvi_list_font_class),
180 (mdvi_register_font_type), (mdvi_unregister_font_type),
181 (lookup_font), (mdvi_add_font), (mdvi_font_retry):
182 * dvi/mdvi-lib/gf.c: (gf_read_bitmap), (gf_load_font):
183 * dvi/mdvi-lib/hash.c: (mdvi_hash_remove), (mdvi_hash_remove_ptr),
184 (mdvi_hash_destroy_key), (mdvi_hash_reset):
185 * dvi/mdvi-lib/pagesel.c: (mdvi_parse_range),
186 (mdvi_parse_page_spec), (mdvi_free_page_spec), (main):
187 * dvi/mdvi-lib/paper.c: (mdvi_free_paper_specs):
188 * dvi/mdvi-lib/pk.c: (pk_lookup), (pk_lookupn), (pk_load_font):
189 * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
190 * dvi/mdvi-lib/special.c: (mdvi_register_special),
191 (mdvi_unregister_special), (mdvi_flush_specials):
192 * dvi/mdvi-lib/t1.c: (t1_lookup_font), (t1_really_load_font),
194 * dvi/mdvi-lib/tfm.c: (get_tfm_chars):
195 * dvi/mdvi-lib/tfmfile.c: (afm_load_file), (tfm_load_file),
196 (ofm1_load_file), (ofm_load_file), (get_font_metrics),
197 (free_font_metrics), (flush_font_metrics):
198 * dvi/mdvi-lib/tt.c: (tt_really_load_font), (tt_get_bitmap),
200 * dvi/mdvi-lib/util.c: (mdvi_malloc), (mdvi_realloc),
201 (mdvi_calloc), (mdvi_free), (mdvi_strdup), (mdvi_strncpy),
202 (mdvi_strndup), (mdvi_memdup), (xstradd), (dstring_append),
203 (dstring_insert), (dstring_new), (dstring_reset):
204 * dvi/mdvi-lib/vf.c: (vf_load_font), (vf_free_macros):
206 Rename xmalloc and xfree to mdvi_malloc and mdvi_free to
207 avoid conflict with libtool on FC4
209 * shell/ev-window.c: (ev_window_cmd_help_about):
211 Update copyright year. Fix for bug 308828.
213 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
215 * shell/ev-view.c: (add_scroll_binding_keypad),
216 (ev_view_binding_activated), (ev_view_class_init),
217 (on_adjustment_value_changed):
219 Bug 170874: Arrow keys switch pages in presentation mode
221 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
223 * shell/ev-window.c: (ev_window_sidebar_visibility_changed_cb):
225 Fix for Bug 308265: Sidebar dissappears coming out of
228 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
230 * shell/ev-application.c: (ev_application_open):
231 * shell/ev-document-types.c: (ev_document_types_add_filters),
232 (ev_document_types_add_filters_for_type):
233 * shell/ev-document-types.h:
234 * shell/ev-window.c: (ev_window_cmd_save_as):
236 Suggest basename as template when saving, provide filters
237 for save dialog. It's bug 308402
239 2005-06-20 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
242 * shell/ev-sidebar-links.c: (job_finished_callback):
243 * shell/ev-view.c: (update_find_status_message):
247 2005-06-19 Christian Persch <chpe@cvs.gnome.org>
249 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
250 (egg_recent_view_uimanager_set_list):
252 Fix buglet in !show_numbers case.
254 2005-06-19 Christian Persch <chpe@cvs.gnome.org>
256 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
257 (connect_proxy_cb), (egg_recent_view_uimanager_set_list):
259 Use pango ellipsisation.
263 Fix refcount leak, from nsh.
265 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
267 * cut-n-paste/recent-files/Makefile.am:
268 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
269 * cut-n-paste/recent-files/egg-recent-view-gtk.h:
271 Removed EggRecentViewGtk
273 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
274 * cut-n-paste/recent-files/egg-recent-view-uimanager.h:
275 * shell/ev-window.c: (ev_window_cmd_recent_file_activate),
276 (ev_window_setup_recent):
278 Use ViewUIManager instead of ViewGtk. Less leaks, more compatibility
281 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
283 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
284 (egg_recent_view_gtk_finalize):
288 * cut-n-paste/toolbar-editor/Makefile.am:
290 Fix location of cursor icon.
293 * shell/ev-page-action.c: (build_new_tree_cb), (match_selected_cb),
294 (display_completion_text), (match_completion):
295 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
296 (selection_changed_callback), (create_loading_model),
297 (print_section_cb), (links_page_num_func),
298 (update_page_callback_foreach):
299 * shell/ev-window.c: (ev_window_dispose):
301 Small memory fixes. Links model now store objects instead
302 of pointers to improve memory management.
304 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
306 * shell/ev-window.c: (zoom_control_changed_cb):
308 Fix update of zoom control (bug 308268).
310 Sat Jun 18 22:46:42 2005 Jonathan Blandford <jrb@redhat.com>
312 * shell/ev-properties.c (set_property): escape the text correctly.
313 Handles non-UTF-8 properties and escaped properties. Also, sets
314 the text to "<i>None</i>" if the property isn't set.
316 * data/evince-properties.glade: Change the label to be ellipsized,
317 and give it a minimum size.
319 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
321 * lib/ev-file-helpers.c: (ev_file_helpers_shutdown):
322 * shell/ev-sidebar-links.c: (create_loading_model):
323 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose):
324 * shell/ev-view.c: (ev_view_set_document):
325 * shell/ev-window.c: (ev_window_dispose):
327 Various small fixes, mostly memory leaks. Thanks to valgrind.
329 2005-06-19 Martin Kretzschmar <martink@gnome.org>
331 * ps/ps-document.c: remove the locale.h include again ;-). And
332 kill the (bogus) setlocale/savelocale business.
334 2005-06-19 Jaap A. Haitsma <jaap@haitsma.org>
338 Include locale.h to fix build
340 * shell/ev-sidebar.c:
342 Remove unnecessary includes
344 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
346 * dvi/dvi-document.c: (dvi_document_load):
347 * dvi/mdvi-lib/dviread.c: (mdvi_init_context):
350 Check for incorrect dvi files. Fix parsing dvi on AMD64
351 platform. Thanks to tester@tester.ca (Olivier Crete).
353 2005-06-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
355 * shell/ev-page-action.c: (match_selected_cb),
356 (display_completion_text), (match_completion), (update_model):
357 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
359 * shell/ev-sidebar.c: (ev_sidebar_destroy),
360 (ev_sidebar_menu_item_activate_cb), (ev_sidebar_add_page),
361 (ev_sidebar_set_document):
362 * shell/ev-window.c: (ev_window_xfer_job_cb),
363 (sidebar_widget_model_set), (sidebar_page_main_widget_update_cb):
365 Fixed lot's of memory leaks, for example, memory leak on reload,
366 described in bug 307793.
368 2005-06-18 Marco Pesenti Gritti <mpg@redhat.com>
371 * shell/ev-sidebar-thumbnails.c: (clear_range), (add_range),
372 (update_visible_range), (adjustment_changed_cb),
373 (ev_sidebar_thumbnails_fill_model),
374 (ev_sidebar_thumbnails_refresh),
375 (ev_sidebar_tree_selection_changed),
376 (ev_sidebar_icon_selection_changed),
377 (ev_sidebar_thumbnails_use_icon_view),
378 (ev_sidebar_thumbnails_set_document):
379 * shell/ev-sidebar-thumbnails.h:
380 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
381 (ev_window_cmd_edit_rotate_right), (ev_window_init):
383 Refresh thumbnails when changing orientation. Not fully
384 working yet becuase of a sidebar bug.
386 Set page orientation to poppler page everywhere. This sucks
387 really need to fix poppler.
389 2005-06-18 Marco Pesenti Gritti <mpg@redhat.com>
391 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
392 (egg_recent_view_gtk_new_menu_item),
393 (egg_recent_view_gtk_set_property),
394 (egg_recent_view_gtk_get_property),
395 (egg_recent_view_gtk_class_init), (egg_recent_view_gtk_init),
396 (egg_recent_view_gtk_set_tooltip_func),
397 (egg_recent_view_gtk_set_label_width),
398 (egg_recent_view_gtk_get_label_width):
399 * cut-n-paste/recent-files/egg-recent-view-gtk.h:
401 Sync with libegg (ellipsize labels)
403 2005-06-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
405 * data/evince-ui.xml:
406 * shell/ev-window.c: (ev_window_cmd_go_forward),
407 (ev_window_cmd_go_backward):
409 Shift + PageUp moves 10 Pages. Fix for 306125
411 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
415 Add a flag to check if orientation has been overriden
417 2005-06-17 Martin Kretzschmar <martink@gnome.org>
419 * ps/ps.c (psscan, psfree): read "Creator:" comment, free creator
422 * ps/ps.h: add creator field to document.
424 * ps/ps-document.c (ps_document_get_info): set format to PostScript,
427 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
429 * data/evince-properties.glade:
430 * shell/ev-properties.c: (ev_properties_set_document):
434 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
436 * shell/ev-properties.c: (ev_properties_set_document):
438 Remove unnecessary translations
440 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
442 * cut-n-paste/toolbar-editor/Makefile.am:
446 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
449 * cut-n-paste/recent-files/egg-recent-model.c:
450 (egg_recent_model_write_raw), (egg_recent_model_lock_file),
451 (egg_recent_model_unlock_file):
452 * cut-n-paste/recent-files/egg-recent-util.c:
453 (egg_recent_util_get_unique_id):
454 * cut-n-paste/recent-files/update-from-egg.sh:
455 * cut-n-paste/toolbar-editor/Makefile.am:
456 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
457 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
458 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
459 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
460 (egg_toolbars_model_get_type):
461 * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
463 Better makefile for toolbar editor and update everything
466 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
468 * shell/ev-window.c: (update_document_mode):
470 Prefer presentation mode when the document
473 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
475 * data/evince-ui.xml:
478 Add control-equal for zooming
480 2005-06-17 Theppitak Karoonboonyanan <thep@linux.thai.net>
482 * configure.ac: Added 'th' (Thai) to ALL_LINGUAS.
484 2005-06-16 Marco Pesenti Gritti <mpg@redhat.com>
486 * backend/ev-document.c: (ev_document_get_orientation):
487 * backend/ev-document.h:
489 * ps/ps-document.c: (ps_document_get_orientation),
490 (ps_document_set_orientation), (ps_document_document_iface_init):
492 Add a get_orientation api. Improve set_orientation.
494 * data/evince-ui.xml:
495 * shell/ev-view.c: (ev_view_set_orientation),
496 (ev_view_rotate_right), (ev_view_rotate_left):
498 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
499 (ev_window_cmd_edit_rotate_right):
501 Better ui for changing document orientation
503 2005-06-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
505 * shell/ev-sidebar-links.c: (ev_sidebar_links_get_property),
506 (ev_sidebar_links_class_init), (ev_sidebar_links_get_label):
507 * shell/ev-sidebar-links.h:
508 * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
509 (ev_sidebar_page_iface_init):
510 * shell/ev-sidebar-page.h:
511 * shell/ev-sidebar-thumbnails.c:
512 (ev_sidebar_thumbnails_get_property),
513 (ev_sidebar_thumbnails_class_init),
514 (ev_sidebar_thumbnails_set_document):
515 * shell/ev-sidebar-thumbnails.h:
516 * shell/ev-view.c: (ev_view_motion_notify_event):
517 * shell/ev-window.c: (update_chrome_visibility),
518 (ev_window_cmd_focus_page_selector),
519 (ev_window_update_fullscreen_popup), (view_actions_focus_in_cb),
520 (sidebar_page_main_widget_update_cb), (ev_window_init):
522 Autoraise toolbar on GoToPage binding and fix bindings in
523 EvSidebarThumbnails page.
525 2005-06-15 Christian Persch <chpe@cvs.gnome.org>
527 * shell/ev-properties.c: (update_progress_label):
529 Hide the progress label when finished; bug #307697.
531 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
535 Enable is_open for links, you will need poppler cvs
537 * shell/ev-properties.c: (job_fonts_finished_cb):
539 Get a lock on the document when filling the tree view
541 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
543 * backend/ev-document-links.h:
545 * shell/ev-sidebar-links.c: (create_loading_model),
546 (expand_open_links), (job_finished_callback):
548 Expand links when specified by the document.
549 Depend on a poppler api (defined out for now)
551 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
553 * shell/ev-properties.c: (ev_properties_dispose),
554 (ev_properties_class_init), (dialog_destroy_cb),
555 (ev_properties_init), (job_fonts_finished_cb), (setup_fonts_view),
556 (ev_properties_set_document), (ev_properties_new),
557 (ev_properties_show):
558 * shell/ev-properties.h:
560 Make it an object, cleanup the code, api to show it as transient
561 and to set the document.
563 * shell/ev-window.c: (ev_window_setup_document),
564 (ev_window_cmd_file_properties):
566 Adapt to EvProperties changes, do not show multiple
567 times, update it when document changes.
569 2005-06-14 Marco Pesenti Gritti <mpg@redhat.com>
572 * ps/ps-document.c: (ps_document_init), (get_page_orientation),
573 (ps_document_set_orientation), (ps_document_document_iface_init):
576 Implement orientation here too
578 * shell/ev-properties.c: (ev_properties_new):
579 * data/evince-properties.glade:
581 Hide the fonts page for backends that doesnt
584 2005-06-14 Marco Pesenti Gritti <mpg@redhat.com>
586 * backend/ev-document.c: (ev_document_set_orientation):
587 * backend/ev-document.h:
590 Add orientation api. Currently poppler api is not optimal,
591 we need to set orientation every time we _get a page.
592 I will try to fix that at some point.
594 * data/evince-ui.xml:
595 * shell/ev-window.c: (ev_window_cmd_edit_landscape),
596 (ev_window_cmd_edit_portrait), (ev_window_cmd_edit_flip):
598 Add orientation menu items
600 * shell/ev-page-cache.c: (ev_page_cache_clear):
601 * shell/ev-page-cache.h:
603 Add api to clear the cache
605 * shell/ev-view.c: (setup_caches), (clear_caches),
606 (ev_view_set_document), (ev_view_zoom_out),
607 (ev_view_set_orientation):
610 Implement orientation changing
612 2005-06-13 Marco Pesenti Gritti <mpg@redhat.com>
614 * backend/ev-document-fonts.c: (ev_document_fonts_get_progress),
615 (ev_document_fonts_scan), (ev_document_fonts_fill_model):
616 * backend/ev-document-fonts.h:
618 Separate scan and fill so that we can incrementally fill from
619 the main thread. Add a progress api.
621 * data/evince-properties.glade:
623 * shell/ev-jobs.c: (ev_job_fonts_new), (ev_job_fonts_run):
625 * shell/ev-properties.c: (update_progress_label),
626 (job_fonts_finished_cb), (setup_fonts_view):
628 Incrementally feel the list and show the progress
629 percentage in a label like acrobat does.
631 You are going to need poppler cvs
633 2005-06-11 Marco Pesenti Gritti <mpg@redhat.com>
635 * backend/ev-document-fonts.c: (ev_document_fonts_fill_model):
636 * backend/ev-document-fonts.h:
639 Make fonts model fill incrementally.
641 * shell/ev-job-queue.c: (handle_job), (search_for_jobs_unlocked),
642 (no_jobs_available_unlocked), (ev_job_queue_init), (find_queue),
643 (ev_job_queue_remove_job):
644 * shell/ev-jobs.c: (ev_job_fonts_init), (ev_job_fonts_class_init),
645 (ev_job_fonts_new), (ev_job_fonts_run):
648 New job for fonts scanning
650 * shell/ev-properties.c: (job_fonts_finished_cb),
651 (fill_fonts_treeview), (setup_fonts_view), (ev_properties_new):
652 * shell/ev-properties.h:
653 * shell/ev-window.c: (ev_window_cmd_file_properties):
655 Incrementally feel the treeview using the new job. Show Loading...
656 message until scanning is completed.
658 Hopefully I didnt break the build without the poppler patch.
660 2005-06-10 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
662 * shell/ev-application.c: (ev_application_open):
663 * shell/ev-document-types.c: (ev_document_type_from_from_mime),
664 (ev_document_type_get_type), (ev_document_type_lookup):
665 * shell/ev-document-types.h:
666 * shell/ev-job-xfer.c: (ev_job_xfer_dispose), (ev_job_xfer_run):
667 * shell/ev-job-xfer.h:
668 * shell/ev-window.c: (ev_window_clear_local_uri),
669 (ev_window_load_job_cb), (ev_window_xfer_job_cb),
670 (ev_window_open_uri), (ev_window_add_recent), (ev_window_dispose):
671 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
673 Transfer remote documents to tmp directory to display them later.
675 2005-06-10 Marco Pesenti Gritti <mpg@redhat.com>
677 * backend/ev-document-info.h:
678 * shell/ev-properties.c: (ev_properties_new):
680 s/GTime*/GTime. Not sure why we was using a pointer
683 Wed Jun 8 01:04:22 2005 Jonathan Blandford <jrb@redhat.com>
685 * shell/ev-sidebar-thumbnails.c: Use a GtkIconView in certain
686 situations. That situation is that you're using GTK+-HEAD with
687 the patch at #306726 is applied, and you have a document with <
688 1500 pages in it. It's not quite as uniformly nice as the
689 TreeView, but should be better in the long run.
691 I'm pretty sure I guarded against breaking compilation with
692 HAVE_GTK_ICON_VIEW_GET_VISIBLE_RANGE gaurds, though it's possible
695 * shell/ev-window.c (ev_window_init): We don't have our tree/list
696 widget yet, so I commented that code out
697 enable_view_actions_for_widget() for now. Need to figure this
700 * shell/ev-page-action.c (match_selected_cb): emit the right
701 signals. Our cool C-l completion now works.
703 2005-06-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
705 * backend/Makefile.am:
706 * backend/ev-document-fonts.c:
707 * backend/ev-document-links.c:
708 * backend/ev-document.c: (ev_document_load):
709 * backend/ev-document.h:
710 * backend/ev-job-queue.c:
711 * backend/ev-job-queue.h:
714 * backend/ev-page-cache.c:
715 * backend/ev-page-cache.h:
717 EvPageCache and EvJobs are moved to shell.
719 * lib/ev-file-helpers.c: (ev_file_helpers_shutdown),
721 * lib/ev-file-helpers.h:
723 New helper to work with temporary files
726 * shell/ev-application.c: (ev_application_open):
727 * shell/ev-application.h:
728 * shell/ev-job-queue.c: (remove_job_from_queue_locked),
729 (remove_job_from_async_queue), (add_job_to_async_queue),
730 (add_job_to_queue_locked), (notify_finished), (job_finished_cb),
731 (handle_job), (search_for_jobs_unlocked),
732 (no_jobs_available_unlocked), (ev_render_thread),
733 (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
734 (ev_job_queue_add_job), (move_job_async), (move_job),
735 (ev_job_queue_update_job), (ev_job_queue_remove_job):
736 * shell/ev-job-queue.h:
737 * shell/ev-job-xfer.c: (ev_job_xfer_init), (ev_job_xfer_dispose),
738 (ev_job_xfer_class_init), (ev_job_xfer_new), (ev_job_xfer_run):
739 * shell/ev-job-xfer.h:
740 * shell/ev-jobs.c: (ev_job_init), (ev_job_dispose),
741 (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
742 (ev_job_links_class_init), (ev_job_render_init),
743 (ev_job_render_dispose), (ev_job_render_class_init),
744 (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
745 (ev_job_thumbnail_class_init), (ev_job_load_init),
746 (ev_job_load_dispose), (ev_job_load_class_init), (ev_job_finished),
747 (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
748 (render_finished_cb), (ev_job_render_run), (ev_job_thumbnail_new),
749 (ev_job_thumbnail_run), (ev_job_load_new), (ev_job_load_run):
751 * shell/ev-page-action.c: (ev_page_action_set_document):
752 * shell/ev-page-cache.c: (ev_page_cache_init),
753 (ev_page_cache_class_init), (ev_page_cache_finalize),
754 (ev_page_cache_new), (ev_page_cache_get_n_pages),
755 (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
756 (ev_page_cache_set_page_label), (ev_page_cache_set_link),
757 (ev_page_cache_get_title), (ev_page_cache_get_size),
758 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
759 (ev_page_cache_get_height_to_page),
760 (ev_page_cache_get_max_label_chars),
761 (ev_page_cache_get_page_label),
762 (ev_page_cache_has_nonnumeric_page_labels),
763 (ev_page_cache_get_info), (ev_page_cache_next_page),
764 (ev_page_cache_prev_page), (ev_page_cache_get):
765 * shell/ev-page-cache.h:
766 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_update_range),
767 (ev_pixbuf_cache_clear_job_sizes),
768 (ev_pixbuf_cache_add_jobs_if_needed),
769 (ev_pixbuf_cache_set_page_range):
770 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings):
771 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document):
772 * shell/ev-sidebar-thumbnails.c:
773 (ev_sidebar_tree_selection_changed),
774 (ev_sidebar_thumbnails_set_document):
775 * shell/ev-statusbar.c: (ev_statusbar_destroy),
776 (ev_statusbar_class_init), (ev_statusbar_init), (ev_statusbar_new),
777 (ev_statusbar_get_context_id), (ev_statusbar_push),
778 (ev_statusbar_pop), (ev_statusbar_set_maximized),
779 (ev_statusbar_pulse), (ev_statusbar_show_progress),
780 (ev_statusbar_set_progress):
781 * shell/ev-statusbar.h:
782 * shell/ev-view.c: (ev_view_set_document), (ev_view_find_next),
783 (ev_view_find_previous):
784 * shell/ev-window.c: (ev_window_is_empty),
785 (ev_window_setup_document), (password_dialog_response),
786 (ev_window_clear_jobs), (ev_window_load_job_cb),
787 (ev_window_xfer_job_cb), (ev_window_open_uri),
788 (ev_window_open_uri_list), (ev_window_cmd_recent_file_activate),
789 (ev_window_print), (ev_window_print_range),
790 (ev_window_state_event), (ev_window_cmd_view_reload),
791 (menu_item_select_cb), (menu_item_deselect_cb),
792 (view_status_changed_cb), (ev_window_dispose),
793 (drag_data_received_cb), (ev_window_init):
795 * shell/main.c: (load_files):
797 New statusbar to show progress on idle. Two new jobs -
798 xfer job and load job to load document in background. And update
799 of page_cache clients to new location of code.
801 2005-06-08 Carlos Garcia Campos <carlosgc@gnome.org>
803 * shell/ev-application.c, shell/ev-window.[ch]: Allow multiple
804 selection in open dialog. It also remembers the last visited directory
805 in the current session.
807 2005-06-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
809 * shell/ev-properties.c: (ev_properties_new):
810 * shell/ev-properties.h:
811 * shell/ev-window.c: (ev_window_cmd_file_properties):
813 Get document info from page cache instead of document itself.
814 This should fix crash related to race conditions described in
817 2005-06-07 Marco Pesenti Gritti <mpg@redhat.com>
819 * ps/ps-document.c: (ps_document_init),
820 (send_ps), (get_page_box), (output), (catchPipe), (input),
821 (stop_interpreter), (file_length), (file_readable),
822 (check_filecompressedb), (ps_document_enable_interpreter),
823 (document_load), (ps_async_renderer_render_pixbuf):
826 Big cleanup of the ps code
828 2005-06-07 Marco Pesenti Gritti <mpg@redhat.com>
830 * backend/Makefile.am:
831 * backend/ev-async-renderer.c: (ev_async_renderer_get_type),
832 (ev_async_renderer_class_init), (ev_async_renderer_render_pixbuf):
833 * backend/ev-async-renderer.h:
835 Add an async renderer interface (method + callback) which
836 is useful for backends like ps.
838 * backend/ev-job-queue.c: (remove_job_from_async_queue),
839 (add_job_to_async_queue), (job_finished_cb), (handle_job),
840 (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
841 (ev_job_queue_add_job), (move_job_async), (move_job),
842 (ev_job_queue_update_job), (ev_job_queue_remove_job):
844 Add queues for async renderer, these are executed on the
847 * backend/ev-jobs.c: (ev_job_render_new), (render_finished_cb),
851 If the backend support async renderer interface use it.
853 * ps/ps-document.c: (ps_document_init), (push_pixbuf),
854 (setup_pixmap), (ps_document_get_type),
855 (ps_async_renderer_render_pixbuf),
856 (ps_document_document_iface_init), (ps_async_renderer_iface_init):
858 Implement async renderer interface.
860 2005-06-07 Nickolay V. Shmyrev <<nshmyrev@yandex.ru>>
862 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose):
864 Cleanup links job on exit.
866 2005-06-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
868 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
869 (drag_data_get_cb), (drag_data_received_cb):
870 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
871 (drag_data_get_cb), (parse_item_list),
872 (egg_toolbar_editor_load_actions):
873 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
874 (egg_toolbars_model_to_xml), (egg_toolbars_model_save),
875 (parse_item_list), (parse_toolbars):
876 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
877 (dvi_pixbuf_put_pixel):
881 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
883 * ps/ps-document.c: (start_interpreter):
885 Fix warning when loading ps
887 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
889 * ps/ps-document.c: (output):
891 Fix crash when priting gs error messages.
893 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
895 * backend/ev-page-cache.c: (_ev_page_cache_new):
896 * backend/ev-page-cache.h:
898 Use a const to return title so that we dont double
899 free it. Small cleanup and fix a leak.
901 * shell/ev-window.c: (update_window_title):
903 strdup value from get_title.
905 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
907 * shell/ev-sidebar-links.c: (job_finished_callback),
908 (ev_sidebar_links_set_document):
910 Cleanup the old job when changing document
912 2005-06-05 Nickolay V. Shmyrev <<nshmyrev@yandex.ru>>
914 * shell/ev-stock-icons.c:
915 * shell/ev-stock-icons.h:
918 Add stock icons for actions that can appear in toolbar. Fix for
921 2005-06-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
923 * backend/ev-page-cache.c: (ev_page_cache_finalize),
924 (_ev_page_cache_new), (ev_page_cache_get_max_width),
925 (ev_page_cache_get_max_height), (ev_page_cache_get_height_to_page):
926 * backend/ev-page-cache.h:
927 * shell/ev-view.c: (scroll_to_current_page),
928 (view_update_range_and_current_page), (get_page_y_offset),
929 (get_page_extents), (ev_view_size_request_continuous_dual_page),
930 (ev_view_size_request_continuous),
931 (ev_view_zoom_for_size_continuous_and_dual_page),
932 (ev_view_zoom_for_size_continuous):
934 More compact EvView layout in document with pages of different size.
936 Sat Jun 4 19:20:57 2005 Jonathan Blandford <jrb@redhat.com>
938 * shell/ev-window.c (ev_window_cmd_file_properties): fix
941 2005-06-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
943 * shell/ev-view.c: (view_set_adjustment_values):
944 * shell/ev-window.c: (ev_window_cmd_file_properties):
946 A bit different fix for rounding problem but it has no
947 problems on startup. Make properties window transient to parent.
949 2005-06-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
953 More commenting of font stuff.
955 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
959 Comment out some more fonts stuff. Should really
960 work without the poppler patch now.
962 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
968 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
970 * data/evince-properties.glade:
972 * shell/ev-properties.c: (setup_fonts_view):
974 Set the column title. Show the dialog only
975 once everything is setup.
976 Getting font info can be very slow... will
977 prolly need to make this threaded too.
979 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
981 * backend/Makefile.am:
982 * backend/ev-document-fonts.c: (ev_document_fonts_get_type),
983 (ev_document_fonts_get_fonts_model):
984 * backend/ev-document-fonts.h:
985 * data/evince-properties.glade:
987 * shell/ev-properties.c: (setup_fonts_view), (ev_properties_new):
988 * shell/ev-properties.h:
989 * shell/ev-window.c: (ev_window_cmd_file_properties):
991 Implement fonts list. Defined out for now, since it depends
992 on a not yet committed poppler patch.
994 Fri Jun 3 21:07:57 2005 Jonathan Blandford <jrb@redhat.com>
996 * shell/ev-view.c (get_page_extents): other_page isn't necessarily
999 * shell/ev-window.c: Make sure we add the timeout when we get a
1002 * shell/ev-view.c (view_set_adjustment_values): Add 0.5 to
1003 adjustment->value before calculating the zoom factor to average
1004 out all of our rounding errors. The page no longer 'drifts' when
1007 2005-06-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1009 * data/evince-properties.glade:
1010 * shell/ev-properties.c: (ev_properties_format_date),
1013 Labels don't expand when the dialogue is resized.
1014 strftime result needs to be converted to UTF-8. Thanks
1015 to Christian Persch <chpe@gnome.org>.
1017 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1019 * data/evince-properties.glade:
1023 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1025 * backend/ev-document-info.h:
1026 * backend/ev-document.c: (ev_document_info_free):
1027 * data/evince-properties.glade:
1028 * pdf/ev-poppler.cc:
1029 * ps/ps-document.c: (ps_document_get_info):
1030 * shell/ev-properties.c: (ev_properties_format_date),
1031 (set_property), (ev_properties_new):
1032 * shell/ev-properties.h:
1033 * shell/ev-window.c: (ev_window_cmd_file_properties):
1035 Rework properties code to take only EvPropertyInfo
1036 in the constructor so that it can be useful for
1037 nautilus plugin too.
1039 Deal with backends that doesnt support some properties.
1040 Make set property code generic.
1042 2005-06-04 Christian Persch <chpe@gnome.org>
1044 * data/evince-properties.glade:
1046 fix spacings, make resizeable, and make data labels
1047 selectable + ellipsised
1049 2005-06-03 Marco Pesenti Gritti <mpg@redhat.com>
1051 * backend/ev-document-info.h:
1053 * data/evince-ui.xml:
1054 * pdf/ev-poppler.cc:
1055 * shell/Makefile.am:
1056 * shell/ev-window.c: (update_action_sensitivity),
1057 (ev_window_cmd_file_properties):
1059 Initial go at file properties. Patch by
1060 Emil Soleyman-Zomalan <emil@soleyman.com>.
1061 Needs love see #169583
1063 2005-06-02 Marco Pesenti Gritti <mpg@redhat.com>
1065 * ps/ps-document.c: (output):
1066 * ps/ps.c: (psscan):
1068 Try to render even if psscan fails.
1070 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
1072 * ps/ps.c: (psscan), (pscopydoc):
1074 Port buffered reading code from gv
1076 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
1078 * ps/ps-document.c: (interpreter_message), (output):
1080 Do not fail on interpreter messages
1082 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
1084 * backend/ev-document-misc.c:
1085 (ev_document_misc_get_thumbnail_frame):
1087 Pages can be 0 x 0, dont assert on this case
1089 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1091 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
1092 (ev_sidebar_links_class_init), (ev_sidebar_links_set_document):
1094 Correctly manage our reference on document. Finally the reload
1095 huge leak is gone...
1097 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1099 * ps/ps-document.c: (ps_document_dispose):
1101 Forgot to chain it to the parent. Thanks chpe.
1103 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1105 * ps/ps-document.c: (ps_document_dispose),
1106 (ps_document_class_init), (stop_interpreter), (document_load):
1108 Cleanup dispose a bit. Dont leak the whole pixmap.
1110 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1112 * pdf/ev-poppler.cc:
1114 Release the poppler document on dispose
1116 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1118 * shell/ev-view.c: (ev_view_set_document):
1120 Release ref on the pixbuf cache when changing
1123 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1125 * ps/ps-document.c: (ps_document_get_info):
1129 2005-05-31 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
1131 * backend/ev-page-cache.c: (ev_page_cache_init),
1132 (_ev_page_cache_new), (ev_page_cache_get_max_label_chars):
1133 * backend/ev-page-cache.h:
1134 * shell/ev-page-action.c: (page_changed_cb):
1136 Set page action entry width depending on labels width. Fix
1139 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1141 * backend/ev-link.c: (ev_link_class_init):
1143 Allow -1 as page value (error)
1145 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1147 * shell/ev-sidebar-thumbnails.c:
1148 (ev_sidebar_thumbnails_set_document):
1149 * shell/ev-view.c: (scroll_to_current_page),
1150 (view_set_adjustment_values), (ev_view_set_scroll_adjustments),
1151 (page_changed_cb), (on_adjustment_value_changed),
1152 (ev_view_set_document):
1154 Slightly modified patch by Nickolay V. Shmyrev <nshmyrev@yandex.ru>.
1157 2005-05-29 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1160 * djvu/djvu-document.c: (djvu_document_get_page_size):
1162 Require djvulibre CVS. Now djvu loading is much faster. Fix for
1165 Sat May 28 07:38:03 2005 Jonathan Blandford <jrb@redhat.com>
1167 * shell/ev-view.c (draw_one_page): modify the expose handling to
1170 * shell/ev-window.c (update_action_sensitivity): Respect
1171 permissions field. Kowtow to the man.
1173 * pdf/ev-poppler.cc: Get the permissions field.
1175 * tiff/*c: Make a tiny bit more robust.
1177 2005-05-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1179 * djvu/djvu-document.c:
1181 Pop messages from djvu context message queue.
1183 2005-05-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1185 * configure.ac, Makefile.am, shell/Makefile.am:
1186 * tiff/Makefile.am, shell/ev-document-types.c:
1188 Cleanup tiff configure checks. Fix for bug 305218.
1190 2005-05-24 Maxim V. Dziumanenko <mvd@mylinux.ua>
1192 * configure.ac: Added "uk" to ALL_LINGUAS.
1194 2005-05-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1196 * cut-n-paste/zoom-control/ephy-zoom.c:
1197 (ephy_zoom_get_changed_zoom_level):
1198 * cut-n-paste/zoom-control/ephy-zoom.h:
1199 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_set_property),
1200 (ev_view_get_property), (ev_view_class_init), (ev_view_set_zoom):
1201 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
1202 (ev_window_cmd_view_zoom_out), (ev_window_zoom_changed_cb),
1203 (zoom_control_changed_cb), (ev_window_init):
1205 Fix minor points related to moving best fit up. Introduce
1206 "zoom" property and make zoom control change it's value on
1207 notify::zoom signals. Fix for 305080.
1209 2005-05-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1211 * data/evince-ui.xml:
1212 * shell/ev-window.c: (set_view_actions_sensitivity):
1214 Use + and - as accels for zoom in and zoom out. Fix for 305001.
1216 2005-05-22 Marco Pesenti Gritti <mpg@redhat.com>
1220 Depends on poppler 0.3.2
1222 2005-05-22 Marco Pesenti Gritti <mpg@redhat.com>
1224 * cut-n-paste/recent-files/egg-recent-item.c:
1225 (egg_recent_item_get_short_name):
1226 * cut-n-paste/toolbar-editor/Makefile.am:
1227 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
1228 (new_pixbuf_from_widget):
1229 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
1230 * cut-n-paste/toolbar-editor/egg-marshal.c:
1231 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
1232 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
1236 Sat May 21 23:18:30 2005 Jonathan Blandford <jrb@redhat.com>
1238 * tiff/tiff-document.c: Rough TIFF backend.
1240 2005-05-21 Marco Pesenti Gritti <mpg@redhat.com>
1244 * cut-n-paste/toolbar-editor/Makefile.am:
1248 2005-05-21 Marco Pesenti Gritti <mpg@redhat.com>
1250 * shell/ev-view.c: (jump_to_find_result), (ev_view_can_find_next),
1251 (ev_view_find_next), (ev_view_find_previous):
1253 Remove the locks around get_n_results
1255 2005-05-21 Juerg Billeter <j@bitron.ch>
1257 * pdf/ev-poppler.c: (pdf_document_ps_exporter_begin):
1259 Pass correct number of pages to poppler.
1261 2005-05-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1265 * data/evince.desktop.in:
1266 * data/evince.desktop.in.in:
1269 Add conditionally dvi and djvu to desktop types. Fix for 304658.
1271 Sat May 21 00:21:30 2005 Jonathan Blandford <jrb@redhat.com>
1273 * shell/ev-view.c: (view_update_adjustments),
1274 (view_set_adjustment_values): cast adjustmen->value to (int)
1275 before using it. Otherwise, we get off by a pixel in some
1278 (draw_one_page): Draw the border on expose.
1280 Fri May 20 22:05:25 2005 Jonathan Blandford <jrb@redhat.com>
1282 * *shell/ev-view.c: Patch from Nickolay V. Shmyrev to reset the
1283 adjustment when the mode changes, #304923
1285 Fri May 20 02:00:03 2005 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1287 * shell/ev-view.c: Use gdk_widget_queue_draw to remove
1288 flickering on resize but still use gdk_window_scroll on
1291 Fri May 20 01:46:57 2005 Jonathan Blandford <jrb@redhat.com>
1293 * shell/ev-view.c: Patch from Nickolay Shmyrev to fix the -p
1296 Fri May 20 01:27:01 2005 Jonathan Blandford <jrb@redhat.com>
1298 * shell/ev-view.c: Patch from Nickolay Shmyrev to to scroll to
1299 second page on page_changed if possible, #304669
1301 Fri May 20 01:07:15 2005 Jonathan Blandford <jrb@redhat.com>
1303 * shell/ev-view.c (view_update_adjustments): Use gdk_window_scroll
1304 instead of gtk_widget_queue_draw. Massive speedups in scrolling.
1306 Fri May 20 01:05:10 2005 Jonathan Blandford <jrb@redhat.com>
1309 * shell/ev-view.c:(ev_view_size_allocate), (ev_view_class_init),
1310 (zoom_for_size_fit_width), (zoom_for_size_best_fit),
1311 (ev_view_zoom_for_size_presentation),
1312 (ev_view_zoom_for_size_continuous_and_dual_page),
1313 (ev_view_zoom_for_size_continuous),
1314 (ev_view_zoom_for_size_dual_page),
1315 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size):
1317 * shell/ev-window.c: (update_view_size),
1318 (ev_window_sizing_mode_changed_cb):
1320 Patch from Nickolay Shmyrev <nshmyrev@yandex.ru> to handle
1321 the scrollbars. It's not 100% right, but it's much closer. Kills
1322 an infinite loop, #304769
1325 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
1327 * data/evince-ui.xml:
1328 * shell/ev-view.c: (ev_view_scroll_view), (ev_view_class_init):
1329 * shell/ev-window.c: (set_view_actions_sensitivity):
1331 Make PgUp/Down behave like Space
1333 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
1335 * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
1336 * backend/ev-ps-exporter.h:
1337 * pdf/ev-poppler.cc:
1338 * ps/ps-document.c: (ps_document_ps_export_begin):
1339 * shell/ev-print-job.c: (idle_print_handler):
1341 Adapt to new poppler api
1343 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
1345 * cut-n-paste/zoom-control/ephy-zoom-control.c:
1346 (ephy_zoom_control_init):
1348 Translate zoom levels
1350 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
1352 * cut-n-paste/zoom-control/ephy-zoom.c:
1353 (ephy_zoom_get_zoom_level_index):
1355 Fix current zoom -> zoom control match
1357 2005-05-18 James Bowes <bowes@cs.dal.ca>
1359 * shell/ev-window.c: (ev_window_init): Give focus to the ev-view,
1360 rather than the scrolled_window that it's in. Fixes bug #304655.
1362 Tue May 17 22:54:17 2005 Jonathan Blandford <jrb@redhat.com>
1364 * shell/ev-view.c: (view_update_adjustments),
1365 (view_set_adjustment_values), (view_update_range_and_current_page),
1366 (view_scroll_to_page), (set_scroll_adjustment),
1367 (ev_view_set_scroll_adjustments), (add_scroll_binding_keypad),
1368 (ev_view_scroll), (ev_view_scroll_view),
1369 (ensure_rectangle_is_visible), (find_page_at_location),
1370 (get_link_at_location), (go_to_link), (status_message_from_link),
1371 (ev_view_size_request_continuous_dual_page),
1372 (ev_view_size_request), (ev_view_size_allocate), (ev_view_realize),
1373 (ev_view_unrealize), (ev_view_expose_event),
1374 (ev_view_button_press_event), (ev_view_motion_notify_event),
1375 (ev_view_button_release_event), (ev_gdk_color_to_rgb),
1376 (draw_rubberband), (highlight_find_results), (draw_one_page),
1377 (ev_view_finalize), (ev_view_destroy), (ev_view_class_init),
1378 (ev_view_init), (find_changed_cb), (page_changed_cb),
1379 (on_adjustment_value_changed), (ev_view_new),
1380 (ev_view_set_document), (ev_view_set_zoom),
1381 (ev_view_set_continuous), (ev_view_set_dual_page),
1382 (ev_view_set_presentation), (ev_view_zoom_in), (ev_view_zoom_out),
1383 (zoom_for_size_fit_width), (zoom_for_size_best_fit),
1384 (ev_view_zoom_for_size_presentation),
1385 (ev_view_zoom_for_size_continuous_dual_page),
1386 (ev_view_zoom_for_size_continuous),
1387 (ev_view_zoom_for_size_dual_page),
1388 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
1389 (ev_view_get_status), (ev_view_set_status),
1390 (update_find_status_message), (ev_view_get_find_status),
1391 (ev_view_set_find_status), (jump_to_find_result),
1392 (jump_to_find_page), (compute_selections), (clear_selection),
1393 (ev_view_select_all), (get_selected_text), (ev_view_copy),
1394 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
1395 (ev_view_update_primary_selection),
1396 (ev_view_create_invisible_cursor), (ev_view_set_cursor):
1398 * shell/ev-window.c: (ev_window_open_page_label),
1399 (ev_window_cmd_view_reload), (ev_window_sizing_mode_changed_cb),
1401 * shell/ev-window.h:
1402 * shell/main.c: (load_files):
1404 Massive code clean up from Nickolay Shmyrev. Keep page offset
1405 when resizing. Remove the bin_window(). Also, patch from James
1406 Bowes to fix command line page, #300641
1408 2005-05-17 Marco Pesenti Gritti <mpg@redhat.com>
1410 * data/evince-ui.xml:
1413 * shell/ev-window.c: (update_action_sensitivity):
1415 Get rid of View->Normal Size, it's just confusing
1417 Tue May 17 00:51:21 2005 Jonathan Blandford <jrb@redhat.com>
1419 * backend/ev-document-info.h:
1420 * backend/ev-document.c: (ev_document_info_free): Free the
1423 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
1424 (clear_range), (add_range), (update_visible_range),
1425 (adjustment_changed_cb), (ev_sidebar_thumbnails_init),
1426 (ev_sidebar_thumbnails_set_document):
1427 * shell/ev-window.c: (ev_window_setup_document): Only render the
1428 visible thumbnails. It takes an instant to render, but it uses
1431 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
1433 * shell/ev-sidebar-links.c: (popup_menu_cb):
1437 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
1440 * shell/ev-sidebar-links.c: (build_popup_menu), (popup_menu_cb),
1441 (button_press_cb), (ev_sidebar_links_construct):
1443 Show the popup menu also on keybindings
1445 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
1447 * shell/ev-window.c: (ev_window_print), (ev_window_print_range):
1448 * shell/ev-window.h:
1450 Expose api to print a range (with dialog). Make private _print use
1453 * shell/ev-sidebar-links.c: (print_section_cb), (button_press_cb),
1454 (ev_sidebar_links_construct):
1456 Show a print context menu on linkx, it prints the selected
1459 2005-05-15 Carlos Garcia Campos <carlosgc@gnome.org>
1461 * shell/ev-sidebar.c: make the drop down menu as width as the toggle
1464 2005-05-12 Marco Pesenti Gritti <mpg@redhat.com>
1470 * shell/ev-window.c: (build_comments_string),
1471 (ev_window_cmd_help_about):
1473 Show poppler version/backend and authors
1475 2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
1477 * cut-n-paste/zoom-control/ephy-zoom.c:
1478 (ephy_zoom_get_zoom_level_index):
1479 * cut-n-paste/zoom-control/ephy-zoom.h:
1481 Move the best fit items at the top of the list
1483 2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
1485 * shell/ev-marshal.list:
1486 * shell/ev-page-action.c: (ev_page_action_widget_class_init),
1487 (activate_cb), (match_selected_cb), (activate_link_cb),
1488 (connect_proxy), (ev_page_action_class_init):
1489 * shell/ev-page-action.h:
1491 Use signals to notify action activation. Hopefully
1492 I did not break completion since I cant test...
1494 * shell/ev-window.c: (activate_link_cb), (activate_label_cb),
1495 (register_custom_actions):
1497 Connect to page selector actions and also grab focus on
1498 the view when activated.
1500 Wed May 11 01:18:29 2005 Jonathan Blandford <jrb@redhat.com>
1502 * pdf/ev-poppler.cc:
1503 * backend/ev-page-cache.c: make page size calculation consistent
1504 and set it to (int)( width * scale + 0.5). This makes the weird
1505 line going through the middle of the page go away.
1507 * shell/ev-view.c: move painting the background page after
1508 checking the expose area covers us.
1510 2005-05-11 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1512 * data/evince-password.glade:
1514 Mark labels as not translatable. Fix for bug 302842.
1516 2005-05-10 Francisco Javier F. Serrador <serrador@cvs.gnome.org>
1518 * configure.ac: Added "es" to ALL_LINGUAS.
1520 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
1522 * data/evince-toolbar.xml:
1523 * shell/ev-window.c: (update_action_sensitivity),
1524 (ev_window_setup_document), (ev_window_set_page_mode),
1527 Remove some leftover code from jrb first continous
1528 attempt. Use the new actions, we still need good icons
1531 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
1533 * shell/ev-page-action.c: (update_pages_label), (connect_proxy):
1535 Update label when connecting proxy. Fix a warning with NULL
1538 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
1540 * data/evince-ui.xml:
1541 * shell/ev-page-action.c: (ev_page_action_grab_focus):
1542 * shell/ev-page-action.h:
1543 * shell/ev-window.c: (ev_window_cmd_focus_page_selector):
1545 Add mnemonic for edit toolbar.
1546 ctrl+l focus the page entry.
1548 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
1551 * shell/ev-window.c: (ev_window_cmd_edit_toolbar_cb),
1553 * shell/main.c: (main):
1555 Put the toolbar xml in evince own dot dir
1557 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
1559 * shell/ev-window.c: (ev_window_init):
1561 Make the toolbar not removable
1563 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
1565 * data/evince-ui.xml:
1566 * shell/ev-sidebar-links.c: (ev_sidebar_links_get_treeview):
1567 * shell/ev-sidebar-links.h:
1568 * shell/ev-sidebar-thumbnails.c:
1569 (ev_sidebar_thumbnails_get_treeview):
1570 * shell/ev-sidebar-thumbnails.h:
1571 * shell/ev-view.c: (ev_view_scroll), (ev_view_scroll_view),
1572 (ev_view_class_init):
1574 * shell/ev-window.c: (update_action_sensitivity),
1575 (ev_window_cmd_scroll_forward), (ev_window_cmd_scroll_backward),
1576 (set_view_actions_sensitivity), (view_actions_focus_in_cb),
1577 (view_actions_focus_out_cb), (enable_view_actions_for_widget),
1580 This is evil... Make space/backspace global accelerators but
1581 enable them only for some widgets (sidebars and view).
1582 I dont like it, but I dont know a better way... :/
1584 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
1586 * shell/ev-page-action.c: (ev_page_action_widget_set_page_cache),
1587 (ev_page_action_widget_finalize),
1588 (ev_page_action_widget_class_init), (update_page_cache):
1590 Keep a weak reference on proxy->page_cache so that we
1591 dont try to disconnect the signal if the object is already
1592 gone. Maybe there is a better way to cleanup reference handling
1593 in page action though...
1595 2005-05-10 Juerg Billeter <j@bitron.ch>
1597 * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
1598 * backend/ev-ps-exporter.h:
1599 * pdf/ev-poppler.cc: (pdf_document_ps_exporter_begin):
1600 * ps/ps-document.c: (ps_document_ps_export_begin):
1602 Change api to pass print range to ps_exporter_begin. The pdf backend
1603 requires this information.
1605 * shell/ev-print-job.c: (idle_print_handler):
1609 2005-05-10 Juerg Billeter <j@bitron.ch>
1611 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
1612 (idle_print_handler)
1613 * shell/ev-window.c: (ev_window_print):
1615 Support printing page range, based on patch by Amaury Jacquot
1617 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
1619 * data/evince-toolbar.xml:
1621 Add zoom control to available items
1623 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
1625 * shell/ev-window.c: (update_action_sensitivity):
1627 Set slash action insensitive when appropriate
1629 2005-05-10 Christian Persch <chpe@gnome.org>
1631 * cut-n-paste/zoom-control/ephy-zoom-action.c: (create_menu_item):
1633 Fix warning on the overflow menu
1635 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
1637 * shell/ev-window.c: (sanity_check_uri), (ev_window_open):
1639 Check for uri correctness/existence
1641 2005-05-09 Juerg Billeter <j@bitron.ch>
1643 * shell/ev-window.c: (using_postscript_printer):
1645 LPD printers use postscript, too
1647 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
1649 * shell/ev-window.c: (register_custom_actions):
1651 The zoom one is actually sort of useful,
1654 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
1656 * shell/ev-window.c: (register_custom_actions):
1658 Hide page/zoom controls from overflow, they
1661 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
1663 * cut-n-paste/update-from-egg.sh:
1665 Share it between all cut-n-paste subdirs
1667 * cut-n-paste/recent-files/Makefile.am:
1669 Fix to use "global" update-from-egg.sh
1671 * cut-n-paste/recent-files/egg-recent-model.c:
1672 (egg_recent_model_changed_timeout), (egg_recent_model_finalize):
1673 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
1674 (egg_recent_view_gtk_clear), (egg_recent_view_gtk_set_list),
1675 (egg_recent_view_gtk_finalize), (egg_recent_view_gtk_set_menu):
1679 * cut-n-paste/toolbar-editor/Makefile.am:
1681 Fix to use "global" update-from-egg.sh
1683 * cut-n-paste/toolbar-editor/eggmarshalers.list:
1687 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
1690 * cut-n-paste/Makefile.am:
1691 * cut-n-paste/recent-files/Makefile.am:
1692 * cut-n-paste/toolbar-editor/.cvsignore:
1693 * cut-n-paste/toolbar-editor/Makefile.am:
1694 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
1695 (egg_editable_toolbar_get_type), (get_toolbar_position),
1696 (get_n_toolbars), (get_dock_nth), (get_toolbar_nth), (find_action),
1697 (drag_data_delete_cb), (drag_begin_cb), (drag_end_cb),
1698 (drag_data_get_cb), (set_drag_cursor), (unset_drag_cursor),
1699 (set_item_drag_source), (create_item_from_action), (create_item),
1700 (data_is_separator), (drag_data_received_cb), (remove_toolbar_cb),
1701 (popup_toolbar_context_menu_cb), (free_dragged_item),
1702 (toolbar_drag_drop_cb), (toolbar_drag_motion_cb),
1703 (toolbar_drag_leave_cb), (create_dock), (set_fixed_style),
1704 (unset_fixed_style), (toolbar_changed_cb), (unparent_fixed),
1705 (update_fixed), (toolbar_added_cb), (toolbar_removed_cb),
1706 (item_added_cb), (item_removed_cb),
1707 (egg_editable_toolbar_construct),
1708 (egg_editable_toolbar_disconnect_model),
1709 (egg_editable_toolbar_deconstruct),
1710 (egg_editable_toolbar_set_model),
1711 (egg_editable_toolbar_set_ui_manager),
1712 (egg_editable_toolbar_set_property),
1713 (egg_editable_toolbar_get_property),
1714 (egg_editable_toolbar_class_init), (egg_editable_toolbar_init),
1715 (egg_editable_toolbar_finalize), (egg_editable_toolbar_new),
1716 (egg_editable_toolbar_new_with_model),
1717 (egg_editable_toolbar_get_edit_mode),
1718 (egg_editable_toolbar_set_edit_mode), (egg_editable_toolbar_show),
1719 (egg_editable_toolbar_hide), (egg_editable_toolbar_set_fixed),
1720 (egg_editable_toolbar_set_drag_dest), (fake_expose_widget),
1721 (new_pixbuf_from_widget), (new_separator_pixbuf),
1722 (update_separator_image), (style_set_cb),
1723 (_egg_editable_toolbar_new_separator_image),
1724 (egg_editable_toolbar_get_model):
1725 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
1726 * cut-n-paste/toolbar-editor/egg-marshal.c:
1727 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
1728 (egg_toolbar_editor_get_type), (compare_actions), (find_action),
1729 (egg_toolbar_editor_set_ui_manager), (toolbar_removed_cb),
1730 (egg_toolbar_editor_set_model), (egg_toolbar_editor_set_property),
1731 (egg_toolbar_editor_get_property), (egg_toolbar_editor_class_init),
1732 (egg_toolbar_editor_finalize), (egg_toolbar_editor_new),
1733 (drag_begin_cb), (drag_end_cb), (editor_drag_data_received_cb),
1734 (editor_drag_data_delete_cb), (drag_data_get_cb),
1735 (elide_underscores), (set_drag_cursor), (event_box_realize_cb),
1736 (editor_create_item), (update_editor_sheet), (setup_editor),
1737 (egg_toolbar_editor_init), (egg_toolbar_editor_add_action),
1738 (parse_item_list), (model_has_action), (update_actions_list),
1739 (egg_toolbar_editor_load_actions):
1740 * cut-n-paste/toolbar-editor/egg-toolbar-editor.h:
1741 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
1742 (egg_toolbars_model_get_type), (egg_toolbars_model_to_xml),
1743 (safe_save_xml), (egg_toolbars_model_save), (toolbars_toolbar_new),
1744 (toolbars_item_new), (free_toolbar_node), (free_item_node),
1745 (egg_toolbars_model_get_flags), (egg_toolbars_model_set_flags),
1746 (egg_toolbars_model_add_separator), (impl_add_item),
1747 (parse_item_list), (egg_toolbars_model_add_toolbar),
1748 (parse_toolbars), (egg_toolbars_model_load), (impl_get_item_id),
1749 (impl_get_item_data), (impl_get_item_type),
1750 (_egg_accumulator_STRING), (egg_toolbars_model_class_init),
1751 (egg_toolbars_model_init), (free_toolbar),
1752 (egg_toolbars_model_finalize), (egg_toolbars_model_new),
1753 (egg_toolbars_model_remove_toolbar),
1754 (egg_toolbars_model_remove_item), (egg_toolbars_model_move_item),
1755 (egg_toolbars_model_n_items), (egg_toolbars_model_item_nth),
1756 (egg_toolbars_model_n_toolbars), (egg_toolbars_model_toolbar_nth),
1757 (egg_toolbars_model_add_item), (egg_toolbars_model_get_item_id),
1758 (egg_toolbars_model_get_item_data),
1759 (egg_toolbars_model_get_item_type):
1760 * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
1761 * cut-n-paste/toolbar-editor/eggmarshalers.list:
1763 * data/evince-toolbar.xml:
1764 * data/evince-ui.xml:
1765 * data/hand-open.png:
1767 * shell/Makefile.am:
1768 * shell/ev-window.c: (update_chrome_visibility),
1769 (ev_window_cmd_edit_toolbar_cb), (ev_window_cmd_edit_toolbar),
1770 (ev_window_dispose), (ev_window_init):
1772 Implement epiphany like toolbar editor. Based on patch by
1773 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1775 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
1777 * shell/ev-sidebar-thumbnails.c: (page_changed_cb):
1779 Use set_cursor instead of set_selection, so that
1780 the keyboard focus moves too.
1782 2005-05-09 Aleksey Kliger <akliger@gmail.com>
1784 * dvi/mdvi-lib/tfmfile.c: (lookup_font_metrics):
1786 Fix infinite loop when loading Type1 fonts
1788 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
1790 * data/evince-ui.xml:
1791 * shell/ev-window.c:
1795 2005-05-09 Thomas de Grenier de Latour <degrenier@easyconnect.fr>
1799 Make --disable really disable
1801 2005-05-07 Juerg Billeter <j@bitron.ch>
1803 * backend/ev-page-cache.c: (ev_page_cache_set_page_label):
1805 Compare page labels even without has_labels set, fixes setting page
1808 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
1810 * shell/ev-view.c: (ev_view_create_invisible_cursor),
1811 (ev_view_set_cursor), (ev_view_button_press_event),
1812 (ev_view_motion_notify_event), (ev_view_button_release_event),
1815 Implement middle button scrolling. Based on a patch
1816 by Tommi Komulainen <tommi.komulainen@iki.fi>.
1818 2005-05-08 Marco Pesenti Gritti <mpg@redhat.com>
1820 * shell/ev-document-types.c: (get_slow_mime_type),
1821 (get_document_type_from_mime), (ev_document_type_lookup):
1822 * shell/ev-document-types.h:
1824 Change api to lookup from uri. Do fast lookup first, if the
1825 type is unknown try with data sniffing.
1827 * shell/ev-window.c: (ev_window_open), (ev_window_open_uri_list):
1828 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
1832 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
1834 * thumbnailer/Makefile.am:
1838 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
1845 * data/evince-ui.xml:
1847 Hide presentation mode for now
1849 * shell/ev-view.c: (highlight_find_results):
1851 Show current find selection only on current page
1853 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
1855 * shell/ev-view.c: (ev_view_select_all):
1857 Compute size of the actual page, not of
1860 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
1862 * shell/ev-view.c: (clear_selection), (ev_view_finalize),
1863 (view_rect_to_doc_rect), (compute_selections),
1864 (ev_view_bin_expose), (ev_view_select_all), (get_selected_text),
1865 (ev_view_copy), (ev_view_primary_get_cb),
1866 (ev_view_primary_clear_cb), (ev_view_update_primary_selection),
1867 (ev_view_button_press_event), (ev_view_motion_notify_event),
1868 (ev_view_button_release_event), (page_changed_cb):
1872 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
1874 * shell/ev-view.c: (compute_border), (get_page_extents),
1875 (doc_rect_to_view_rect), (highlight_find_results),
1876 (ev_view_bin_expose), (ev_view_select_all),
1877 (ev_view_motion_notify_event), (update_find_status_message),
1878 (jump_to_find_result), (jump_to_find_page):
1880 First go at fixing search, still buggy
1882 2005-05-04 Kristian Høgsberg <krh@redhat.com>
1884 * shell/ev-sidebar.c (ev_sidebar_init): Remove frame around
1885 dropdown box and button at the top of the sidebar.
1887 2005-05-02 James Bowes <bowes@cs.dal.ca>
1889 * configure.ac: Output zoom-control Makefile.
1890 * cut-n-paste/Makefile.am: build zoom-control subdir.
1891 * cut-n-paste/zoom-control/ephy-zoom-action.c:
1892 * cut-n-paste/zoom-control/ephy-zoom-action.h:
1893 * cut-n-paste/zoom-control/ephy-zoom-control.c:
1894 * cut-n-paste/zoom-control/ephy-zoom-control.h:
1895 * cut-n-paste/zoom-control/ephy-zoom.c:
1896 * cut-n-paste/zoom-control/ephy-zoom.h: New files imported
1897 from epiphany, and modified to add a separator into the menu.
1898 * cut-n-paste/zoom-control/Makefile.am: Build zoom-control.
1899 * data/evince-ui.xml: Replace old zoom toolbar actions with new
1900 zoom-control action.
1901 * shell/Makefile.am: Include zoom-control flags.
1902 * shell/ev-view.c: (ev_view_set_zoom), (ev_view_get_zoom),
1903 (ev_view_get_sizing_mode), (ev_view_zoom_in), (ev_view_zoom_out),
1904 (ev_view_zoom_for_size_presentation),
1905 (ev_view_zoom_for_size_continuous_and_dual_page),
1906 (ev_view_zoom_for_size_continuous),
1907 (ev_view_zoom_for_size_dual_page),
1908 (ev_view_zoom_for_size_single_page), (ev_view_zoom_normal):
1909 s/ev_view_zoom/ev_view_set_zoom/ and make public, add
1910 ev_view_get_zoom and ev_view_get_sizing_mode.
1912 * shell/ev-window.c: (update_action_sensitivity),
1913 (update_sizing_buttons), (zoom_control_changed_cb),
1914 (register_custom_actions): Initialize and use the zoom-control
1917 Sun May 1 00:46:47 2005 Jonathan Blandford <jrb@redhat.com>
1919 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init): Change the
1920 preview cache back to 1. Don't know when it got set to 0.
1922 * shell/ev-view.c: (compute_border), (ev_view_realize),
1923 (draw_one_page), (ev_view_set_property), (ev_view_get_property),
1924 (ev_view_class_init), (ev_view_init), (ev_view_set_fullscreen),
1925 (ev_view_get_fullscreen), (ev_view_set_presentation),
1926 (ev_view_get_presentation), (ev_view_set_sizing_mode),
1927 (ev_view_zoom_for_size_presentation), (ev_view_set_zoom_for_size):
1929 * shell/ev-window.c:
1930 (update_chrome_visibility),
1931 (ev_window_cmd_continuous), (ev_window_cmd_dual),
1932 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
1933 (update_document_mode), (ev_window_update_fullscreen_action),
1934 (ev_window_fullscreen), (ev_window_unfullscreen),
1935 (ev_window_cmd_view_fullscreen),
1936 (ev_window_update_presentation_action),
1937 (ev_window_run_presentation), (ev_window_stop_presentation),
1938 (ev_window_cmd_view_presentation), (ev_window_state_event),
1939 (ev_window_focus_in_event), (ev_window_focus_out_event),
1940 (ev_window_cmd_escape), (ev_window_sidebar_visibility_changed_cb):
1941 * data/evince-ui.xml: Initial presentation mode. We should
1942 probably hide this until it's done, as it's quite rough. Also,
1943 change full-screen to fullscreen and add two getters to EvView.
1945 2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
1947 * shell/ev-page-action.c: (update_page_cache),
1948 (ev_page_action_dispose):
1949 * shell/ev-window.c: (destroy_fullscreen_popup),
1950 (ev_window_create_fullscreen_popup):
1952 Use connect_object rather than explicitly
1953 disconnect on dispose.
1955 2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
1957 * shell/ev-page-action.c: (update_page_cache),
1958 (ev_page_action_dispose):
1960 2005-04-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1962 * backend/ev-page-cache.c: (_ev_page_cache_new),
1963 (ev_page_cache_set_page_label),
1964 (ev_page_cache_has_nonnumeric_page_labels):
1965 * backend/ev-page-cache.h:
1966 * shell/ev-page-action.c: (update_pages_label):
1968 If all page labels are numeric, fallback to default
1969 way to display number of pages. See bug 173185.
1971 2005-04-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1973 * shell/ev-page-action.c: (ev_page_action_dispose):
1974 * shell/ev-view.c: (view_update_range_and_current_page):
1975 * shell/ev-window.c: (ev_window_dispose):
1977 Set page on scroll in continuous mode. Fixes bug 301986.
1978 Also cleanup callbacks on destroy of EvWindow and EvPageAction.
1980 2005-04-26 Marco Pesenti Gritti <mpg@redhat.com>
1984 Require poppler 0.3.0
1986 2005-04-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1988 * shell/Makefile.am, configure.ac: Fix build problems
1989 with t1lib. Bug 301996.
1991 2005-04-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1993 * shell/ev-view.c: (ev_view_scroll_event):
1995 Scroll up increase zoom
1997 2005-04-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1999 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_class_init),
2000 (ev_view_set_sizing_mode),
2001 (ev_view_zoom_for_size_continuous_and_dual_page),
2002 (ev_view_zoom_for_size_continuous):
2003 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
2004 (ev_window_cmd_view_page_width), (ev_window_cmd_view_zoom_in),
2005 (ev_window_cmd_view_zoom_out), (ev_window_sizing_mode_changed_cb),
2008 Control + Scroll does zooming, Shift + Scroll scrolls horizontally
2009 Fix for 165473 and 165472.
2011 2005-04-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2014 * thumbnailer/Makefile.am:
2015 * thumbnailer/evince-thumbnailer-djvu.schemas.in:
2016 * thumbnailer/evince-thumbnailer-dvi.schemas.in:
2017 * thumbnailer/evince-thumbnailer.schemas.in:
2019 Make thumbnailer schemas translatable. Fix for bug 301773
2021 * thumbnailer/evince-thumbnailer-djvu.schemas:
2022 * thumbnailer/evince-thumbnailer-dvi.schemas:
2023 * thumbnailer/evince-thumbnailer.schemas:
2027 Sun Apr 24 01:37:39 2005 Jonathan Blandford <jrb@redhat.com>
2029 * shell/ev-view.c (ev_view_init): forgot to set this.
2031 Sun Apr 24 01:07:27 2005 Jonathan Blandford <jrb@redhat.com>
2033 * shell/ev-view.c: (find_page_at_location),
2034 (get_link_at_location),
2035 (ev_view_set_show_border), (ev_view_set_spacing),
2036 (ev_view_zoom_for_size_continuous_and_dual_page),
2037 (ev_view_zoom_for_size_continuous): Fix links for dual/continuous.
2038 Also, add a quick fix measuring of widths. Also, removed
2039 ev_view_set_spacing and ev_view_set_show_border.
2041 * shell/ev-window.c: (ev_window_unfullscreen),
2042 (ev_window_cmd_view_fullscreen): Don't adjust the border/spacing.
2044 2005-04-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2046 * shell/ev-view.c: (view_update_range_and_current_page),
2049 Fix crash on exit and scrolling to page in continuous view.
2051 Sat Apr 23 13:13:04 2005 Jonathan Blandford <jrb@redhat.com>
2054 * backend/ev-page-cache.c: (_ev_page_cache_new),
2055 (ev_page_cache_get_max_width_size),
2056 (ev_page_cache_get_max_height_size):
2057 * backend/ev-page-cache.h:
2058 * data/evince-ui.xml:
2059 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init):
2060 * shell/ev-view.c: (view_update_adjustments),
2061 (view_update_range_and_current_page), (get_bounding_box_size),
2062 (ev_view_size_request_continuous_and_dual_page),
2063 (ev_view_size_request_continuous),
2064 (ev_view_size_request_dual_page),
2065 (ev_view_size_request_single_page), (ev_view_size_request),
2066 (ev_view_size_allocate), (get_page_extents), (draw_one_page),
2067 (ev_view_bin_expose), (ev_view_expose_event),
2068 (ev_view_set_property), (ev_view_get_property),
2069 (ev_view_class_init), (ev_view_init), (ev_view_new),
2070 (page_changed_cb), (ev_view_zoom), (ev_view_set_continuous),
2071 (ev_view_set_dual_page), (ev_view_set_full_screen),
2072 (ev_view_set_presentation), (ev_view_set_sizing_mode),
2073 (ev_view_can_zoom_in), (ev_view_can_zoom_out), (ev_view_zoom_in),
2074 (ev_view_zoom_out), (zoom_for_size_fit_width),
2075 (zoom_for_size_best_fit),
2076 (ev_view_zoom_for_size_continuous_and_dual_page),
2077 (ev_view_zoom_for_size_continuous),
2078 (ev_view_zoom_for_size_dual_page),
2079 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
2080 (ev_view_show_cursor), (ev_sizing_mode_get_type):
2082 * shell/ev-window.c: (update_action_sensitivity),
2083 (ev_window_cmd_continuous), (ev_window_cmd_dual),
2084 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
2085 (update_sizing_buttons), (ev_window_cmd_view_zoom_in),
2086 (ev_window_cmd_view_zoom_out), (update_view_size),
2087 (ev_window_set_sizing_mode), (ev_window_init):
2089 Add Continuous and Dual page modes.
2091 2005-04-23 James Bowes <bowes@cs.dal.ca>
2093 * dvi/dvi-document.c: (dvi_document_load),
2094 (dvi_document_thumbnails_get_thumbnail),
2095 (dvi_document_init_params): Fix up some mixups between
2096 width and height to correct thumbnail rendering.
2098 2005-04-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2100 * dvi/mdvi-lib/private.h:
2101 * dvi/mdvi-lib/setup.c: (mdvi_init_kpathsea):
2103 Suppess output for kpathsea during font generation. Thanks to
2106 Fri Apr 22 19:57:46 2005 Jonathan Blandford <jrb@redhat.com>
2113 * Makefile.am: fix distcheck.
2115 2005-04-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2117 * shell/ev-sidebar-links.c: (selection_changed_callback),
2118 (update_page_callback), (row_activated_callback),
2119 (job_finished_callback), (ev_sidebar_links_set_document):
2121 Fix for bug #169901. Double click on links expands tree.
2123 2005-03-14 Bryan Clark <clarkbw@cvs.gnome.org>
2125 * shell/ev-window.c (ev_window_init): Removed fullscreen toolbar
2126 hard-coded style. Fix for bug 170111
2128 2005-04-22 Kristian Høgsberg <krh@redhat.com>
2130 * shell/ev-view.c (highlight_find_results): Remove unnecessary
2133 2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
2135 * thumbnailer/evince-thumbnailer.schemas: real fix for bug 172496
2137 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
2139 * pdf/ev-poppler.cc:
2140 * shell/ev-view.c: (highlight_find_results):
2142 Fix find on single page documents
2144 2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
2146 * data/evince.schemas.in: fix for bug 301390
2148 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
2150 * shell/ev-view.c: (ev_view_can_zoom_in), (ev_view_can_zoom_out),
2151 (ev_view_zoom_out), (ev_view_zoom_normal):
2153 * shell/ev-window.c: (update_action_sensitivity),
2154 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
2155 (ev_window_cmd_view_zoom_in), (ev_window_cmd_view_zoom_out),
2156 (ev_window_cmd_view_normal_size):
2158 Fix normal size zoom. Make zoom in/zoom out unsensitive when
2159 they are behyond the limits. Tweak MAX_ZOOM to 6, sucks but
2162 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
2166 Depend on 2.57, 2.59 doesnt seem to be necessary
2168 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
2170 * shell/ev-page-action.c: (update_pages_label), (page_changed_cb),
2173 Put back total number of pages as (1 of 1234)
2175 Thu Apr 21 23:37:52 2005 Jonathan Blandford <jrb@redhat.com>
2177 * shell/ev-pixbuf-cache.c (dispose_cache_job_info): actually
2180 * backend/ev-document.h: Remove EV_DOC_MUTEX in favor of a locking
2181 function. This helps debugging.
2183 2005-04-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2185 * djvu/djvu-document.c: (djvu_document_class_init),
2186 (djvu_document_get_info), (djvu_document_document_iface_init):
2187 * dvi/dvi-document.c: (dvi_document_class_init),
2188 (dvi_document_get_info), (dvi_document_document_iface_init):
2190 Dummy implementation of get_info method for dvi and djvu. Fix
2191 crashes with those backends
2193 2005-04-20 Marco Pesenti Gritti <mpg@redhat.com>
2195 * data/evince.desktop.in:
2197 Add application/x-gzpostscript
2199 2005-04-20 Bryan Clark <clarkbw@cvs.gnome.org>
2201 * data/evince.schemas.in: Added real long descriptions,
2204 * README: Added actual text, closes bug 171869
2206 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
2208 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
2212 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
2214 * backend/ev-document-info.h:
2216 s/GDate */GDate so we can just use g_free
2218 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
2220 * shell/ev-window.c: (update_document_mode),
2221 (ev_window_setup_document):
2223 Show the window in fullscreen when specified by
2226 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
2228 * backend/ev-document.c: (ev_document_class_init),
2229 (ev_document_get_info), (ev_document_render_pixbuf):
2230 * backend/ev-document.h:
2231 * backend/ev-page-cache.c: (_ev_page_cache_new):
2232 * pdf/ev-poppler.cc:
2233 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
2234 (pixbuf_document_get_info), (pixbuf_document_document_iface_init):
2235 * ps/ps-document.c: (ps_document_class_init), (document_load),
2236 (ps_document_get_info), (ps_document_document_iface_init):
2238 Remove get_title from the interface, we can just use document info
2240 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
2242 * backend/Makefile.am:
2243 * backend/ev-document.c: (ev_document_render_get_info):
2244 * backend/ev-document.h:
2245 * pdf/ev-poppler.cc:
2247 Initial support for document info. Based on jrb patch.
2249 2005-04-19 Paolo Borelli <pborelli@katamail.com>
2251 * shell/ev-window.c: (ev_window_state_event),
2252 (ev_window_class_init), (ev_window_init):
2254 Doesn't show resize grip when maximized. See bug #301053
2256 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2260 ev-sidebar-thumbnails now has translatable labels
2262 * shell/Makefile.am:
2263 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document),
2264 (ev_sidebar_links_support_document), (ev_sidebar_links_get_label),
2265 (ev_sidebar_links_page_iface_init):
2266 * shell/ev-sidebar-links.h:
2267 * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
2268 (ev_sidebar_page_support_document), (ev_sidebar_page_set_document),
2269 (ev_sidebar_page_get_label):
2270 * shell/ev-sidebar-page.h:
2271 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_new),
2272 (ev_sidebar_thumbnails_set_document),
2273 (ev_sidebar_thumbnails_support_document),
2274 (ev_sidebar_thumbnails_get_label),
2275 (ev_sidebar_thumbnails_page_iface_init):
2276 * shell/ev-sidebar-thumbnails.h:
2277 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
2278 (ev_sidebar_set_document):
2279 * shell/ev-sidebar.h:
2280 * shell/ev-window.c: (ev_window_setup_document), (ev_window_init):
2282 Small rework of sidebar code. Now sidebar pages should implement
2283 EvSidebarPage interface. That makes page management in EvSidebar
2284 easier. See bug #164811 for details
2286 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2288 * shell/ev-application.c: (ev_application_open):
2289 * shell/ev-document-types.c:
2291 Fix build error and small problem with application exit
2293 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2295 * thumbnailer/Makefile.am:
2296 * thumbnailer/evince-thumbnailer-djvu.schemas:
2297 * thumbnailer/evince-thumbnailer-dvi.schemas:
2299 Conditionally install schemas for djvu/dvi thumbnailer
2301 2005-04-18 David Malcolm <dmalcolm@redhat.com>
2303 * shell/ev-document-types.h:
2304 * shell/ev-document-types.c:
2305 New files, handling the mapping from mimetypes to backends
2307 * shell/ev-window.c:
2308 * thumbnailer/evince-thumbnailer.c:
2309 Use the ev-document-types code
2311 * shell/Makefile.am:
2312 Added new convenience library libevbackendfactory_la, containing
2313 the new mimetype->backend logic; moved the backends into it.
2315 * thumbnailer/Makefile.am:
2316 Make the thumbnailer link with the libevbackend.la convenience
2317 library, rather than having a duplicate of the backend logic here.
2319 2005-04-18 Paolo Borelli <pborelli@katamail.com>
2321 * shell/ev-stock-icons.c: constify some vars.
2322 * shell/ev-window.c: ditto.
2324 2005-04-18 Marco Pesenti Gritti <mpg@redhat.com>
2326 * ps/ps-document.c (get_page_orientation):
2328 Respect document orientation
2330 2005-04-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2334 * shell/Makefile.am:
2336 Move library dependencies to components.
2338 * shell/ev-window.c: (update_window_title),
2339 (start_loading_document):
2341 Fix display of uris with spaces. Bug 168358.
2343 Sat Apr 16 18:53:47 2005 Jonathan Blandford <jrb@redhat.com>
2345 * shell/ev-sidebar-links.c: (selection_changed_cb):
2346 * shell/ev-view.c: (ev_view_finalize), (go_to_link),
2347 (ev_view_button_release_event), (ev_view_set_document):
2349 * shell/ev-window.c: (find_bar_search_changed_cb):
2350 * shell/ev-window.h: Minor cleanups removing some dead code.
2352 2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2354 * backend/ev-page-cache.c: (_ev_page_cache_new):
2356 Set current page to 0 if document has pages.
2358 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
2360 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
2362 Initialize GError to NULL, fix a crash when loading fails.
2364 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
2366 * shell/ev-window.c: (update_view_size):
2368 Calculate shadow size only when there is actually
2371 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
2373 * shell/ev-view.c: (ev_view_set_spacing), (ev_view_init):
2376 Allow setting view spacing, default to 0
2378 * shell/ev-window.c: (ev_window_unfullscreen),
2379 (ev_window_cmd_view_fullscreen), (ev_window_init):
2381 Remove spacing in fullscreen mode
2383 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
2385 * shell/ev-view.c: (compute_border), (compute_zoom_factor),
2386 (ev_view_size_request), (expose_bin_window),
2387 (ev_view_set_show_border), (ev_view_init), (page_changed_cb):
2389 * shell/ev-window.c: (ev_window_unfullscreen),
2390 (ev_window_cmd_view_fullscreen):
2392 Do not draw the border in fulscreen
2394 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
2396 * shell/ev-view.c: (ev_view_get_offsets), (compute_zoom_factor),
2397 (ev_view_size_request), (expose_bin_window), (ev_view_select_all),
2398 (find_page_at_location), (page_changed_cb):
2400 Rework border calculation, so that I can more easily disable it.
2401 Code somewhat cleaner too.
2403 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
2405 * backend/ev-page-cache.c: (ev_page_cache_init),
2406 (_ev_page_cache_new):
2408 Remove some assertions, documents can have 0 pages.
2409 Make initial current page -1.
2411 * shell/ev-page-action.c: (page_changed_cb):
2413 Show "" if current page is -1
2415 * shell/ev-window.c: (update_action_sensitivity),
2416 (ev_window_setup_document):
2418 When document has 0 pages do not set the view
2419 and make nearly everything insensitive.
2421 2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2423 * shell/ev-page-view.c:
2424 * shell/ev-page-view.h:
2426 Remove unused files.
2428 * shell/ev-sidebar-thumbnails.c:
2429 (ev_sidebar_thumbnails_set_document):
2430 * shell/ev-sidebar.c: (ev_sidebar_set_document),
2431 (ev_sidebar_supports_document):
2432 * shell/ev-sidebar.h:
2433 * shell/ev-window.c: (ev_window_setup_document):
2435 Doesn't show thumbnails if document has 1 page. Make
2436 sidebar menu entries sensitive only if if they have
2437 sense. Fix bug 164811.
2439 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
2441 * shell/ev-view.c: (compute_zoom_factor), (ev_view_size_request),
2442 (page_changed_cb), (ev_view_zoom), (ev_view_zoom_in),
2443 (ev_view_zoom_out), (ev_view_set_size):
2445 Rework sizing to deal with documents with not uniform page
2448 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
2450 * backend/ev-page-cache.c: (_ev_page_cache_new):
2452 Fix several page size caching bugs
2454 2005-04-15 Luca Ferretti <elle.uca@libero.it>
2456 * shell/ev-window.c: (set_action_properties):
2458 Make all toolbar items translatable
2460 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
2462 * ps/ps-document.c: (ps_document_init), (ps_document_get_type),
2463 (save_page_list), (ps_document_save),
2464 (ps_document_document_iface_init), (ps_document_ps_export_begin),
2465 (ps_document_ps_export_do_page), (ps_document_ps_export_end),
2466 (ps_document_ps_exporter_iface_init):
2469 Based on a patch by J�rg Billeter <j@bitron.ch>
2471 Implement print and save a copy for the ps backend.
2473 2005-04-14 Marco Pesenti Gritti <mpg@redhat.com>
2475 * backend/ev-document.h:
2476 * djvu/djvu-document.c: (djvu_document_can_get_text),
2477 (djvu_document_document_iface_init):
2478 * dvi/dvi-document.c: (dvi_document_can_get_text),
2479 (dvi_document_document_iface_init):
2480 * pdf/ev-poppler.cc:
2481 * pixbuf/pixbuf-document.c: (pixbuf_document_can_get_text),
2482 (pixbuf_document_document_iface_init):
2483 * ps/ps-document.c: (ps_document_can_get_text),
2484 (ps_document_document_iface_init):
2485 * shell/ev-view.c: (ev_view_copy), (ev_view_primary_get_cb):
2486 * shell/ev-window.c: (update_action_sensitivity):
2488 Fix the crash when trying to copy in backends that doesnt
2489 support it. We can implement a better solution once we
2490 do real text selection.
2492 2005-04-12 Marco Pesenti Gritti <mpg@redhat.com>
2494 * data/evince-ui.xml:
2495 * shell/ev-window.c: (ev_window_cmd_escape):
2497 Work around the Escape conflict (find bar and unfullscreen)
2499 2005-04-12 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
2501 * backend/ev-page-cache.c: (ev_page_cache_next_page):
2503 Fix for #300233. Next page correctly handles document end.
2505 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
2506 (ev_sidebar_thumbnails_class_init),
2507 (ev_sidebar_thumbnails_set_document),
2508 (ev_sidebar_thumbnails_clear_job),
2509 (ev_sidebar_thumbnails_clear_model):
2511 Cleanup thumbnail jobs on document changes.
2513 * shell/ev-view.c: (add_scroll_binding_keypad),
2514 (add_scroll_binding_shifted), (ev_view_class_init):
2516 Shift + Space scrolls up. Fix for #173184
2518 * shell/ev-window.c: (ev_window_open_page),
2519 (ev_window_cmd_view_reload):
2521 Fix reload (Bug #300094)
2523 2005-04-09 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2526 * dvi/mdvi-lib/assoc.c:
2527 * dvi/mdvi-lib/assoc.h: Removed garbage files
2529 * dvi/mdvi-lib/bitmap.c:
2530 * dvi/mdvi-lib/color.c: (mdvi_set_color), (mdvi_push_color),
2531 (mdvi_pop_color), (mdvi_reset_color), (get_color_table):
2532 * dvi/mdvi-lib/color.h: Antialias of rules
2534 * dvi/mdvi-lib/common.h:
2535 * dvi/mdvi-lib/dviread.c: (mdvi_configure), (mdvi_init_context),
2536 (mdvi_destroy_context), (draw_shrink_rule), (draw_box), (set_rule):
2537 * dvi/mdvi-lib/files.c:
2538 * dvi/mdvi-lib/fontmap.c: (ps_init_default_paths):
2539 * dvi/mdvi-lib/mdvi.h:
2540 * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
2541 * dvi/mdvi-lib/tfmfile.c: (ofm_load_file):
2542 * dvi/mdvi-lib/util.c: Fix compile warnings
2544 * dvi/dvi-document.c:
2545 (dvi_document_load), (dvi_document_thumbnails_get_dimensions),
2546 (dvi_document_thumbnails_get_thumbnail),
2547 (dvi_document_document_thumbnails_iface_init):
2548 * dvi/mdvi-lib/Makefile.am:
2549 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
2550 (dvi_pixbuf_set_color), (mdvi_pixbuf_device_render):
2552 Dvi backend now renders thumbnails
2554 2005-04-09 Christian Persch <chpe@cvs.gnome.org>
2556 * shell/main.c: (main):
2558 Save accelerators on exit. Fixes bug #172095.
2560 Sat Apr 9 01:05:09 2005 Jonathan Blandford <jrb@redhat.com>
2562 * shell/ev-pixbuf-cache.c (move_one_job): Actually fix the "FIXME:
2563 update priority" comment.
2565 * backend/ev-job-queue.c: Give a way to change priority.
2567 Sat Apr 9 00:05:36 2005 Jonathan Blandford <jrb@redhat.com>
2569 * shell/ev-page-action.c: Fix logic.
2571 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
2573 * shell/ev-view.c: (ev_view_can_find_next):
2574 * shell/ev-window.c: (ev_window_setup_document):
2576 Check that the document supports find
2578 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
2580 * data/evince-ui.xml:
2581 * shell/ev-view.c: (ev_view_can_find_next):
2583 * shell/ev-window.c: (update_action_sensitivity),
2584 (find_changed_cb), (ev_window_setup_document),
2585 (ev_window_cmd_edit_find_next):
2589 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
2591 * pdf/ev-poppler.cc:
2592 * shell/ev-print-job.c: (idle_print_handler):
2594 Make printing work again
2596 Fri Apr 8 01:12:24 2005 Jonathan Blandford <jrb@redhat.com>
2598 * shell/ev-page-action.h:
2599 * shell/ev-page-action.c: (ev_page_action_widget_init),
2600 (ev_page_action_widget_class_init), (page_changed_cb),
2601 (create_tool_item), (update_page_cache), (build_new_tree_cb),
2602 (get_filter_model_from_model), (match_selected_cb),
2603 (display_completion_text), (match_completion), (update_model),
2604 (connect_proxy), (ev_page_action_set_property),
2605 (ev_page_action_get_property), (ev_page_action_set_document),
2606 (ev_page_action_set_model), (ev_page_action_class_init): Big
2607 reworking to make completions work iff we have >= GTK-2.7.0
2609 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_property),
2610 (ev_sidebar_links_get_property), (ev_sidebar_links_class_init),
2611 (job_finished_cb): We now have a 'model' property that is set when
2612 the links are loaded. This can be caught with "notify::model"
2614 * shell/ev-window.c: (sidebar_widget_model_set), (ev_window_init):
2615 listen for the model to be set, and propagate it to the action.
2617 2005-04-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2619 * cut-n-paste/recent-files/egg-recent-item.c:
2620 (egg_recent_item_set_uri), (make_valid_utf8),
2621 (egg_recent_item_set_mime_type), (egg_recent_item_get_mime_type):
2622 * cut-n-paste/recent-files/egg-recent-item.h:
2624 Update egg-recent from libegg. This should fix long
2625 startup problem. For details see
2626 http://bugzilla.gnome.org/show_bug.cgi?id=160531
2628 2005-04-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2630 * cut-n-paste/recent-files/Makefile.am:
2631 * data/evince-ui.xml, shell/Makefile.am:
2632 * shell/ev-application.c, shell/ev-application.h:
2633 * shell/ev-window.c: Recent files support.
2635 * configure.ac: Added "ru" to ALL_LINGUAS.
2637 * dvju: new backend to support DJVU files.
2638 * dvi: new backend to support DVI.
2640 * configure.ac, Makefile.am, shell/Makefile.am, ev-window.c:
2641 * ev-application.c: Support for new backends.
2643 * help, ev-window.c, main.c shell/Makefile.am:
2644 Evince user documentation.
2646 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
2649 * shell/ev-window.c:
2650 * thumbnailer/evince-thumbnailer.c:
2652 s/pdf-document/ev-poppler
2654 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
2661 * ps/ps-document.c: (setup_pixmap):
2665 2005-04-05 Kristian Høgsberg <krh@redhat.com>
2667 * backend/ev-page-cache.c (ev_page_cache_next_page):
2668 * shell/ev-window.c (ev_window_cmd_go_next_page)
2669 (ev_window_cmd_go_first_page): Fix of by one errors.
2671 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
2673 * ps/ps-document.c: (get_page_box):
2675 Fix page size calculation
2677 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
2679 * ps/ps-document.c: (ps_document_init), (push_pixbuf),
2680 (ps_document_cleanup), (setup_pixmap), (get_page_box),
2681 (get_page_orientation), (setup_page), (document_load),
2682 (ps_document_get_page_size), (render_pixbuf_idle):
2685 More refactoring to adapt to EvDocument changes
2687 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
2689 * ps/ps-document.c: (start_interpreter):
2691 Actually add alpha args
2693 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
2695 * pdf/ev-poppler.cc:
2697 Make clipboard work again
2699 2005-04-04 Kristian Høgsberg <krh@redhat.com>
2701 Make searching work again.
2703 * backend/ev-document.c:
2704 * backend/ev-document.h:
2705 * backend/ev-document-find.c:
2706 * backend/ev-document-find.h: Change EvDocumentIface so we no
2707 longer store the current page or zoom level in the document. The
2708 consequence is that all calls that operate on the current page now
2709 instead take the page number as an extra argument, and all
2710 coordinates are now doubles in document coordinate system.
2712 * pdf/ev-poppler.cc:
2713 * pixbuf/pixbuf-document.c:
2714 * ps/ps-document.c: Update backends accordingly.
2716 2005-04-04 Marco Pesenti Gritti <marco@gnome.org>
2720 Add required gettext version
2722 Sat Apr 2 18:57:00 2005 Jonathan Blandford <jrb@redhat.com>
2724 * shell/evwindow.c: Patch from Alberto Mesas <amesas@gmail.com> to
2725 make F1 bring up non-existent help.
2727 * shell/eggfindbar.c: Patch from Christian Persch to sync to
2728 epiphany's find bar, #167477
2730 * shell/ev-view.c (ev_view_jump): Patch from Emil Soleyman-Zomalan
2731 <emil@nishra.com> to add space-bar scrolling,
2733 * shell/ev-window.c (static GtkActionEntry entries): add default
2734 keybinding for Help (F1)
2737 * shell/ev-view.c (ev_view_show_cursor): Fix from Yuval Tanny
2738 changing EV_VIEW_CURSOR_LINK to EV_VIEW_CURSOR_NORMAL resolves bug
2741 2005-04-01 David Malcolm <dmalcolm@redhat.com>
2744 * pixbuf/pixbuf-document.c:
2746 Got pixbuf backend working again
2748 2005-04-01 Steve Murphy <murf@e-tools.com>
2750 * configure.in: Added "rw" to ALL_LINGUAS.
2752 Fri Apr 1 02:33:41 2005 Jonathan Blandford <jrb@redhat.com>
2754 * shell/ev-sidebar-links.c (create_loading_model): Fix mismatch in
2755 model types, noticed by Martin Kretzschmar.
2757 2005-04-01 Kristian Høgsberg <krh@redhat.com>
2759 * pdf/ev-poppler.cc: Implement search based on
2760 poppler_page_find_text(). Currently a bit crude since we remember
2761 all matches from all pages. Also, we grab the big document lock
2762 when we search since searching changes the underlying stream and
2763 thus conflicts with the rendering thread.
2765 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
2766 (jump_to_find_page), (ev_view_set_document), (ev_view_find_next),
2767 (ev_view_find_previous): Fix some page indexes to be 0 based,
2768 offset rubber band by view offset,
2770 Fri Apr 01 09:21:12 2005 Pablo Saratxaga <pablo@mandrakesoft.com>
2772 * configure.ac: Added Walloon (wa) to ALL_LINGUAS.
2774 Fri Apr 1 01:59:39 2005 Jonathan Blandford <jrb@redhat.com>
2776 * shell/ev-page-action.c: Changed to use page labels now. Rewrote
2777 completely because I didn't understand GtkActions. I should
2778 read Marco's code more carefully in the future.
2780 * backend/ev-page-cache.h (ev_page_cache_set_page_label): New
2783 2005-03-31 Kristian Høgsberg <krh@redhat.com>
2785 * pdf/ev-poppler.cc (pdf_document_get_links): Update to work with
2786 PopplerRectangle change from poppler CVS.
2788 Thu Mar 31 13:27:50 2005 Jonathan Blandford <jrb@redhat.com>
2790 * backend/ev-document.c: (ev_document_get_page_label):
2791 * backend/ev-document.h:
2792 * backend/ev-page-cache.c: (_ev_page_cache_new),
2793 (ev_page_cache_get_page_label):
2794 * backend/ev-page-cache.h:
2795 * pdf/ev-poppler.cc:
2796 * shell/ev-sidebar-links.c: (ev_sidebar_links_construct),
2797 (links_page_num_func):
2798 * shell/ev-sidebar-thumbnails.c:
2799 (ev_sidebar_thumbnails_set_document):
2800 * shell/ev-view.c: (status_message_from_link),
2801 (ev_view_motion_notify_event):
2802 * shell/ev-window.c: (document_supports_sidebar): Add in page
2803 label support. It's not perfect yet, but it's the first 'feature'
2805 Also, fix a bogus comment noticed by crispin.
2807 Thu Mar 31 01:21:58 2005 Jonathan Blandford <jrb@redhat.com>
2809 * Makefile.am: Remove pixbuf backend for now
2811 * configure.ac: Require poppler-glib instead of just poppler.
2813 * backend/ev-document-thumbnails.h: Add a comment
2815 * backend/ev-document.h:
2816 * backend/ev-document.c: (ev_document_class_init),
2817 (ev_document_load), (ev_document_get_link),
2818 (ev_document_get_links): Remove 3 methods and add get_links.
2821 * backend/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
2822 * backend/ev-jobs.h: now EvJobRender can grab the links for a document.
2824 * backend/ev-link.c: (ev_link_set_title),
2825 (ev_link_mapping_free_foreach), (ev_link_mapping_free),
2826 (ev_link_mapping_find):
2827 * backend/ev-link.h: Allow NULL titles. Also, introduce a mapping link.
2829 * backend/ev-page-cache.c: (ev_page_cache_init),
2830 (_ev_page_cache_new), (ev_page_cache_set_current_page),
2831 (ev_page_cache_get_size), (ev_page_cache_next_page),
2832 (ev_page_cache_prev_page): Fix to be 0 based.
2836 * pdf/ev-poppler.cc: New backend.
2838 * ps/ps-document.c: (ps_document_init), (ps_document_set_page),
2839 (ps_document_get_page), (ps_document_document_iface_init):
2841 * shell/ev-pixbuf-cache.h:
2842 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
2843 (dispose_cache_job_info), (job_finished_cb), (move_one_job),
2844 (ev_pixbuf_cache_update_range), (copy_job_to_job_info),
2845 (add_job_if_needed), (ev_pixbuf_cache_set_page_range),
2846 (ev_pixbuf_cache_get_pixbuf), (ev_pixbuf_cache_get_link_mapping):
2847 Fix up code to grab a page cache per each doc. Also, fix to be 0
2850 * shell/ev-sidebar-thumbnails.c:
2851 (ev_sidebar_tree_selection_changed), (page_changed_cb),
2852 (ev_sidebar_thumbnails_set_document): Fix to be 0 based.
2854 * shell/ev-view.c: (status_message_from_link),
2855 (find_page_at_location), (get_link_at_location),
2856 (ev_view_motion_notify_event), (ev_view_button_release_event),
2857 (ev_view_init): Use the new link code. Fix to be 0 based.
2859 * shell/ev-window.c: (update_action_sensitivity),
2860 (document_supports_sidebar): 0 based.
2862 Fri Mar 25 16:55:58 2005 Jonathan Blandford <jrb@redhat.com>
2864 * pdf/pdf-document.cc: Patch from Fernando Herrera
2865 <fherrera@onirica.com> to fix my quick fix to get_thumbnail.
2868 Wed Mar 23 23:49:41 2005 Jonathan Blandford <jrb@redhat.com>
2870 * pdf/pdf-document.cc (pdf_document_thumbnails_get_thumbnail): add
2871 1 to the page, as this seems to be 1 based. I thought we has this
2874 2005-03-23 Marco Pesenti Gritti <marco@gnome.org>
2877 * backend/Makefile.am:
2878 * backend/ev-document-links.c:
2879 (ev_document_links_has_document_links),
2880 (ev_document_links_get_links_model):
2881 * backend/ev-document-links.h:
2882 * backend/ev-document.c: (ev_document_get_page_cache),
2883 (ev_document_get_doc_mutex), (ev_document_load),
2884 (ev_document_save), (ev_document_get_title),
2885 (ev_document_get_n_pages), (ev_document_set_page),
2886 (ev_document_get_page), (ev_document_set_target),
2887 (ev_document_set_scale), (ev_document_set_page_offset),
2888 (ev_document_get_page_size), (ev_document_get_text),
2889 (ev_document_get_link), (ev_document_render),
2890 (ev_document_render_pixbuf), (ev_document_scale_changed):
2891 * backend/ev-document.h:
2892 * backend/ev-job-queue.c: (remove_object_from_queue),
2893 (notify_finished), (handle_job), (search_for_jobs_unlocked),
2894 (no_jobs_available_unlocked), (ev_render_thread),
2895 (ev_job_queue_init), (find_queue), (ev_job_queue_add_job),
2896 (ev_job_queue_remove_job):
2897 * backend/ev-job-queue.h:
2898 * backend/ev-jobs.c: (ev_job_init), (ev_job_dispose),
2899 (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
2900 (ev_job_links_class_init), (ev_job_render_init),
2901 (ev_job_render_dispose), (ev_job_render_class_init),
2902 (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
2903 (ev_job_thumbnail_class_init), (ev_job_finished),
2904 (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
2905 (ev_job_render_run), (ev_job_thumbnail_new),
2906 (ev_job_thumbnail_run):
2907 * backend/ev-jobs.h:
2908 * backend/ev-link.c:
2909 * backend/ev-link.h:
2910 * backend/ev-page-cache.c: (ev_page_cache_init),
2911 (ev_page_cache_class_init), (ev_page_cache_finalize),
2912 (_ev_page_cache_new), (ev_page_cache_get_n_pages),
2913 (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
2914 (ev_page_cache_set_link), (ev_page_cache_get_title),
2915 (ev_page_cache_get_size), (ev_page_cache_next_page),
2916 (ev_page_cache_prev_page):
2917 * backend/ev-page-cache.h:
2918 * pdf/pdf-document.cc:
2921 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
2922 (push_pixbuf), (interpreter_failed), (ps_document_cleanup),
2923 (ps_document_widget_event), (ps_document_finalize), (get_xdpi),
2924 (get_ydpi), (setup_pixmap), (setup_page), (close_pipe),
2925 (is_interpreter_ready), (output), (catchPipe), (input),
2926 (start_interpreter), (check_filecompressed), (compute_dimensions),
2927 (ps_document_enable_interpreter), (document_load),
2928 (ps_document_next_page), (render_page), (ps_document_set_page),
2929 (ps_document_set_scale), (render_pixbuf_idle),
2930 (ps_document_render_pixbuf), (ps_document_document_iface_init):
2932 * shell/Makefile.am:
2933 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
2934 (ev_pixbuf_cache_class_init), (ev_pixbuf_cache_finalize),
2935 (dispose_cache_job_info), (ev_pixbuf_cache_dispose),
2936 (ev_pixbuf_cache_new), (job_finished_cb),
2937 (check_job_size_and_unref), (move_one_job),
2938 (ev_pixbuf_cache_update_range), (find_job_cache),
2939 (ev_pixbuf_cache_clear_job_sizes), (add_job_if_needed),
2940 (ev_pixbuf_cache_add_jobs_if_needed),
2941 (ev_pixbuf_cache_set_page_range), (ev_pixbuf_cache_get_pixbuf):
2942 * shell/ev-pixbuf-cache.h:
2943 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
2944 (idle_print_handler):
2945 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
2946 (selection_changed_cb), (create_loading_model),
2947 (ev_sidebar_links_construct), (links_page_num_func),
2948 (ev_sidebar_links_clear_document), (update_page_callback_foreach),
2949 (update_page_callback), (job_finished_cb),
2950 (ev_sidebar_links_set_document):
2951 * shell/ev-sidebar-thumbnails.c:
2952 (ev_sidebar_thumbnails_class_init), (adjustment_changed_cb),
2953 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init),
2954 (page_changed_cb), (thumbnail_job_completed_callback),
2955 (ev_sidebar_thumbnails_set_document):
2956 * shell/ev-sidebar-thumbnails.h:
2957 * shell/ev-sidebar.c: (ev_sidebar_set_document):
2958 * shell/ev-view.c: (ev_view_finalize), (ev_view_destroy),
2959 (ev_view_get_offsets), (ev_view_size_request), (ev_view_realize),
2960 (ev_view_unrealize), (highlight_find_results), (expose_bin_window),
2961 (ev_view_select_all), (ev_view_copy), (ev_view_primary_get_cb),
2962 (ev_view_create_invisible_cursor), (ev_view_motion_notify_event),
2963 (ev_view_button_release_event), (ev_view_scroll_view),
2964 (ev_view_class_init), (ev_view_init), (update_find_status_message),
2965 (jump_to_find_result), (jump_to_find_page), (find_changed_cb),
2966 (ev_view_new), (job_finished_cb), (page_changed_cb),
2967 (ev_view_set_document), (go_to_link), (ev_view_zoom),
2968 (size_to_zoom_factor), (ev_view_set_size), (ev_view_find_next),
2969 (ev_view_find_previous):
2971 * shell/ev-window.c: (update_action_sensitivity),
2972 (ev_window_open_page), (update_window_title), (update_total_pages),
2973 (page_changed_cb), (ev_window_setup_document),
2974 (password_dialog_response), (ev_window_cmd_save_as),
2975 (ev_window_print), (ev_window_cmd_go_previous_page),
2976 (ev_window_cmd_go_next_page), (ev_window_cmd_go_first_page),
2977 (ev_window_cmd_go_last_page), (ev_window_cmd_view_reload),
2978 (find_bar_search_changed_cb), (goto_page_cb), (ev_window_init):
2979 * shell/main.c: (main):
2981 Merge evince-threads branch
2983 2005-03-16 Žygimantas Beručka <uid0@akl.lt>
2985 * configure.ac: Added "lt" to ALL_LINGUAS.
2987 2005-03-14 Marco Pesenti Gritti <marco@gnome.org>
2994 2005-03-13 Fernando Herrera <fherrera@onirica.com>
2996 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
2998 Fix here also the thumbnails 1-basedness :)
3000 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
3007 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
3009 * pdf/pdf-document.cc:
3010 * shell/ev-sidebar-thumbnails.c: (adjustment_changed_cb),
3011 (do_one_iteration), (ev_sidebar_thumbnails_set_document):
3013 Fix the mess we did with thumbnails and 1-basedness
3015 2005-03-12 Changwoo Ryu <cwryu@debian.org>
3017 * configure.ac (ALL_LINGUAS): Added "ko" (Korean).
3019 2005-03-09 Marco Pesenti Gritti <marco@gnome.org>
3026 2005-03-08 Marco Pesenti Gritti <marco@gnome.org>
3029 * ps/gsdefaults.c: (gtk_gs_defaults_get_interpreter_cmd),
3030 (gtk_gs_defaults_get_alpha_parameters),
3031 (gtk_gs_defaults_get_ungzip_cmd),
3032 (gtk_gs_defaults_get_unbzip2_cmd):
3034 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
3035 (ps_document_get_orientation), (document_load),
3036 (ps_document_goto_page), (ps_document_set_page_size):
3039 Some more sanitization of the ps backend. Remove a lot
3040 of unused code and do not base our defaults on ggv
3043 2005-03-08 Fernando Herrera <fherrera@onirica.com>
3045 * thumbnailer/evince-thumbnailer.schemas:
3046 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
3047 (main): add -s option for thumbnail size.
3049 2005-03-07 Christian Persch <chpe@cvs.gnome.org>
3053 AC_PROG_RANLIB is rendered obsolete by AC_PROG_LIBTOOL;
3056 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
3058 * pdf/pdf-document.cc:
3060 Remove 4 pixels of useless border from the
3063 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
3065 * backend/ev-document-thumbnails.c:
3066 (ev_document_thumbnails_get_thumbnail):
3067 * backend/ev-document-thumbnails.h:
3069 Rework API a bit. Add a border flag and
3070 change sizing logic (now the size we specify
3071 applies to the bigger dimension).
3073 * pdf/pdf-document.cc:
3074 * pixbuf/pixbuf-document.c:
3075 (pixbuf_document_thumbnails_get_thumbnail):
3076 * shell/ev-sidebar-thumbnails.c: (do_one_iteration):
3077 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3079 Adapt to the new API and do not draw a border for nautilus
3082 2005-03-03 Fernando Herrera <fherrera@onirica.com>
3084 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3085 take thumbnails from page "0" instead of "1". Added a copyright header.
3087 2005-03-03 Jens Granseuer <jensgr@gmx.net>
3089 * ps/ps-document.c: (set_up_page), (start_interpreter):
3091 Make it C89 compliant
3093 2005-03-03 Marco Pesenti Gritti <marco@gnome.org>
3098 * pdf/pdf-document.cc:
3099 * thumbnailer/Makefile.am:
3100 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
3102 * thumbnailer/evince-thumbnailer.schemas:
3103 * thumbnailer/pdf-icon.png:
3105 Add a nautilus thumbnailer.
3106 Based on patch by Fernando Herrera <fherrera@onirica.com>.
3108 2005-03-02 Marco Pesenti Gritti <marco@gnome.org>
3116 2005-03-01 Kristian Høgsberg <krh@redhat.com>
3118 Use poppler instead of including xpdf source code. Poppler is a
3119 fork of xpdf to build it as a shared library. See
3120 http://freedesktop.org/wiki/Software/poppler.
3122 * pdf/xpdf/*, pdf/goo/*, pdf/splash/*, pdf/fofi/*: Remove included
3125 * pdf/Makefile.am: Build libpdfdocument.a here.
3127 * pdf/GDKSplashOutputDev.cc:
3128 * pdf/GDKSplashOutputDev.h:
3129 * pdf/GnomeVFSStream.cc:
3130 * pdf/GnomeVFSStream.h:
3133 * test-gdk-output-dev.cc
3135 * Thumb.h: Pull these files out of pdf/xpdf and adjust to compile
3138 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
3140 * shell/ev-sidebar-links.c: (ev_sidebar_links_clear_document):
3142 Clear idle stack before unsetting the document
3144 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
3146 * ps/ps-document.c: (ps_document_widget_event),
3147 (ps_document_set_target), (ps_document_finalize),
3148 (ps_document_get_page):
3150 Disconnect the widget event signal on finalize.
3153 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
3155 * ps/ps-document.c: (set_up_page):
3157 If there is no bpixmap create one, even if size
3160 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
3162 * ps/ps-document.c: (ps_document_init), (ps_document_cleanup),
3163 (set_up_page), (document_load), (ps_document_set_zoom):
3165 Default page is 0. Calculate size even when we have no
3168 2005-02-28 Carlos Garcia Campos <carlosgc@gnome.org>
3170 * shell/ev-sidebar.c: expand the selection widget to be always as
3173 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
3175 * shell/ev-sidebar-thumbnails.c:
3176 (ev_sidebar_thumbnails_set_document):
3178 Clear the list store when setting document
3180 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
3182 * shell/ev-page-action.c: (update_entry), (sync_entry),
3183 (activate_cb), (entry_size_request_cb), (create_tool_item),
3186 Use an entry for the page control instead of spinbuttons
3188 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
3190 * data/evince.schemas.in:
3192 Correct confusing string
3194 Sun Feb 27 23:00:31 2005 Jonathan Blandford <jrb@redhat.com>
3196 * shell/ev-sidebar-links.c (do_one_iteration): Handle title links
3197 for real. Gosh, how long has this been broken.
3199 * pdf/xpdf/pdf-document.cc (build_link_from_action): add back the
3200 check for a NULL link. We crash otherwise.
3202 2005-02-27 Marco Pesenti Gritti <marco@gnome.org>
3209 2005-02-25 Sebastien Bacher <seb128@debian.org>
3211 * configure.ac: add the french translation.
3213 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
3215 * shell/ev-window.c:
3217 Remove unused header -> fix distcheck
3219 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
3221 * shell/ev-window.c: (update_window_title),
3222 (ev_window_popup_password_dialog):
3224 Unescape filename for display
3226 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
3228 * pdf/xpdf/pdf-document.cc:
3230 In get_page_size deal with rotation. Also
3231 cleanup the function a bit.
3233 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
3235 * pdf/xpdf/pdf-document.cc:
3237 Fix crash when opening in new window
3239 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
3243 Check ghostscript >= 7
3245 2005-02-25 Pedro Villavicencio <pvillavi@gnome.cl>
3247 * shell/ev-window.c:
3249 Make page width the default sizing mode
3251 2005-02-25 Carlos Garcia Campos <carlosgc@gnome.org>
3252 Marco Pesenti Gritti <marco@gnome.org>
3254 * shell/ev-window.c: Remember the sidebar size
3256 * data/evince.schemas.in: Add a new gconf key to store the size of
3259 2005-02-24 Kai Willadsen <kaiw@itee.uq.edu.au>
3261 * data/evince-ui.xml:
3262 * shell/ev-window.c: (update_action_sensitivity),
3263 (ev_window_cmd_view_reload):
3265 Add a "Reload" action and menu entry
3267 Thu Feb 24 23:07:33 2005 Jonathan Blandford <jrb@redhat.com>
3269 * shell/ev-window.c (hide_sidebar_and_actions): Hide the sidebar
3270 iff the type doesn't support thumbnailing and indexing.
3272 2005-02-24 Martin Kretzschmar <martink@gnome.org>
3274 * configure.ac (ALL_LINGUAS): Added "zh_TW" (Traditional Chinese).
3276 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
3278 * pdf/splash/Splash.cc:
3280 Port fix for a crasher from kde bug
3281 http://bugs.kde.org/show_bug.cgi?id=97131
3283 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
3285 * pdf/xpdf/pdf-document.cc:
3287 Return a link even if it's of an unrecognized
3288 type. Otherwise we go in an infinte cycle.
3290 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
3292 * shell/ev-window.c: (update_sizing_buttons), (update_view_size),
3293 (size_allocate_cb), (ev_window_set_sizing_mode):
3295 Update size when switching mode
3297 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
3299 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
3300 (ev_window_cmd_view_page_width), (update_sizing_buttons),
3301 (ev_window_cmd_view_normal_size):
3303 Fix size toggle buttons behavior
3305 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
3307 * shell/ev-view.c: (ev_view_get_offsets), (view_rect_to_doc_rect),
3308 (doc_rect_to_view_rect), (ev_view_size_allocate),
3309 (expose_bin_window), (ev_view_select_all), (page_changed_callback),
3310 (scale_changed_callback):
3312 Do not cache offsets in size_allocate.
3314 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
3316 * shell/ev-view.c: (ev_view_size_allocate):
3318 Calculate offsets before calling the parent
3319 class (which does a redraw)
3321 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
3323 * pdf/xpdf/pdf-document.cc:
3325 Fix a crasher on exit. Unused code, put a TODO
3327 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
3329 * backend/ev-document.c: (ev_document_class_init),
3330 (ev_document_page_changed), (ev_document_scale_changed):
3331 * backend/ev-document.h:
3333 Separate page/scale notifications
3335 * pdf/xpdf/pdf-document.cc:
3337 Emit the new signals.
3338 Do not display the pdf page in _render, do it
3339 when scale/page are requested.
3341 * ps/ps-document.c: (ps_document_set_zoom),
3342 (ps_document_widget_event):
3345 Emit the new signals.
3347 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
3348 (ev_view_init), (page_changed_callback), (scale_changed_callback),
3349 (ev_view_set_document), (ev_view_zoom), (ev_view_zoom_in),
3350 (ev_view_zoom_out), (size_to_zoom_factor), (ev_view_set_size):
3352 * shell/ev-window.c: (ev_window_cmd_view_normal_size),
3353 (ev_window_cmd_view_page_width), (size_allocate_cb),
3354 (ev_window_set_sizing_mode):
3356 Rework sizing to be pixel based.
3357 There are bugs but should be already way better.
3359 2005-02-23 Marco Pesenti Gritti <marco@gnome.org>
3361 * shell/ev-window.c: (ev_window_init):
3363 Do not allow to shrink sidebar smaller then
3366 2005-02-23 Carlos Garcia Campos <carlosgc@gnome.org>
3368 * shell/ev-sidebar.[ch]
3369 * shell/ev-window.c:
3371 Improved sidebar widget. Fixes #166683
3373 2005-02-23 Tommi Vainikainen <thv@iki.fi>
3375 * shell/ev-view.c (update_find_status_message): Give translators
3376 more flexibility with ngettext plural handling.
3378 Mon Feb 21 17:52:08 2005 Jonathan Blandford <jrb@redhat.com>
3380 * pdf/xpdf/pdf-document.cc (pdf_document_get_page_size): Patch
3381 from Crispin Flowerday <gnome@flowerday.cx> to avoid rendering the
3382 page when we get the page size.
3384 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
3386 * ps/ps-document.c: (ps_document_set_page), (ps_document_get_page):
3388 ps pages are 0 based, convert
3390 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
3392 * ps/ps-document.c: (ps_document_class_init), (ps_document_load):
3394 Initialize correct parent class. Set GError on document load
3396 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
3398 * pdf/xpdf/pdf-document.cc:
3400 Fixup selection offset calculation
3402 * shell/ev-view.c: (view_rect_to_doc_rect),
3403 (doc_rect_to_view_rect), (ev_view_size_allocate),
3404 (expose_bin_window), (ev_view_select_all), (ev_view_copy),
3405 (ev_view_primary_get_cb), (ev_view_motion_notify_event):
3407 Store selection as document relative, so that zooming
3408 and offset changing doesnt break it.
3410 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
3412 * shell/ev-view.c: (ev_view_best_fit):
3414 Do not try to best fit if the view is not realized
3416 2005-02-20 Kostas Papadimas <pkst@gnome.org>
3418 * configure.ac (ALL_LINGUAS): Added "el" (Greek).
3420 Fri Feb 18 16:06:39 2005 Jonathan Blandford <jrb@redhat.com>
3422 * shell/ev-window.c (ev_window_focus_in_event): missed a case.
3424 Fri Feb 18 15:32:57 2005 Jonathan Blandford <jrb@redhat.com>
3426 * shell/ev-window.c: Change the fullscreen toolbar to always be in
3427 the popup window. That prevents it resizing when in full screen
3430 * shell/ev-view.c: Change Zoom epsilon as a bad hack to avoid
3431 multiple rerenders. This pretty much sucks.
3433 * data/evince-ui.xml: Change the fullscreen toolbar to include the
3434 rest of the toolbar.
3436 2005-02-18 Tommi Vainikainen <thv@iki.fi>
3438 * configure.ac (ALL_LINGUAS): Added "fi" (Finnish).
3440 2005-02-17 Alexander Shopov <ash@contact.bg>
3442 * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
3444 2005-02-16 Bryan Clark <clarkbw@cvs.gnome.org>
3446 * shell/ev-window.c: added ellipsis to Print item. Fixes bug 166915
3448 2005-02-16 Marco Pesenti Gritti <marco@gnome.org>
3450 * shell/ev-view.c: (ev_view_realize), (highlight_find_results),
3451 (ev_view_create_invisible_cursor), (ev_view_set_cursor),
3452 (set_document_page), (document_changed_callback),
3453 (ev_view_set_document), (ev_view_find_previous),
3454 (ev_view_hide_cursor), (ev_view_show_cursor):
3456 * shell/ev-window.c: (update_chrome_visibility),
3457 (fullscreen_timeout_cb), (fullscreen_set_timeout),
3458 (fullscreen_clear_timeout), (fullscreen_motion_notify_cb),
3459 (fullscreen_leave_notify_cb), (ev_window_fullscreen),
3460 (ev_window_unfullscreen):
3461 * shell/main.c: (main):
3463 Automatically hide the fullscreen button.
3464 Patch by Kristian Høgsberg <krh@redhat.com>
3466 2005-02-16 Vincent Noel <vnoel@cox.net>
3468 * shell/main.c (main): Specify an icon for the window. Patch by
3469 Jaap A. Haitsma. Fixes #166177.
3471 Wed Feb 16 06:30:13 2005 Jonathan Blandford <jrb@redhat.com>
3473 * shell/ev-view.c (ev_view_realize): get rid of the black flash.
3475 Tue Feb 15 22:27:13 2005 Jonathan Blandford <jrb@redhat.com>
3477 * backend/ev-document-misc.h:
3478 * backend/ev-document-misc.c:
3479 (ev_document_misc_get_page_border_size),
3480 (ev_document_misc_paint_one_page): New function to canonicalize
3481 sizing/painting a border.
3483 * shell/Makefile.am: Remove ev-page-view.c entirely as it's not
3486 * pdf/xpdf/pdf-document.cc: use new function
3488 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
3489 (ev_view_init), (ev_view_set_mode), (ev_view_zoom),
3490 (ev_view_best_fit), (ev_view_fit_width): * shell/ev-view.h: *
3491 shell/ev-window.c: (update_sizing_buttons),
3492 (ev_window_setup_document), (ev_window_cmd_view_zoom_in),
3493 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_best_fit),
3494 (ev_window_cmd_view_page_width), (size_allocate_cb),
3495 (ev_window_set_sizing_mode), (ev_window_init): make the "best fit"
3496 and "fit width" values act as toggle buttons so they stay
3497 toggled. It's not 100% perfect, and it's a little slow, but it's
3498 good enough to commit I think.
3500 2005-02-15 David Lodge <dave@cirt.net>
3502 * configure.ac (ALL_LINGUAS): Added "en_GB" (English (British)).
3504 2005-02-15 Martin Kretzschmar <martink@gnome.org>
3506 * shell/ev-window.c (update_window_title): replace newlines in
3507 the title by spaces. Bug #166107.
3509 2005-02-14 Martin Kretzschmar <martink@gnome.org>
3511 * shell/ev-view.c (ev_view_best_fit, ev_view_fit_width): add
3512 parameters providing allocation width and height without
3513 scrollbars and width of a possible vertical scrollbar. With this
3514 additional information the functions can work as
3515 intended. Unfortunately they're not idempotent. We should
3516 transform these commands to toggles. Fixes Bug #164976
3517 Initial patch by Stephane Loeuillet, then heavily modified.
3519 * shell/ev-view.h: update prototypes.
3521 * shell/ev-window.c (ev_window_cmd_view_best_fit)
3522 (ev_window_cmd_view_page_width): provide EvView fit functions with
3523 all the information they need. Formulas to calculate this
3524 information taken from GtkScrolledWindow.
3526 2005-02-14 Crispin Flowerday <gnome@flowerday.cx>
3528 * shell/ev-sidebar-thumbnails.c: Ensure that after we have
3529 created a thumbnail, the list store is updated to know
3530 that the thumbnail is set. Fixes bug #166792
3532 2005-02-11 Bryan Clark <clarkbw@cvs.gnome.org>
3534 * shell/ev-window.c: fixed typo, closes bug 166897
3536 * TODO: updated TODO with bug numbers that are relevant
3538 2005-02-09 Carlos Garcia Campos <carlosgc@gnome.org>
3540 * shell/ev-window.c: Support for DnD of files. Fixes #164813
3542 2005-02-09 Vincent Noel <vnoel@cox.net>
3544 * shell/ev-window.c: (set_action_properties): Set the "Previous"
3545 and "Next" toolbar buttons as important to make them stand out.
3547 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
3551 * ps/ps-document.c: (ps_document_finalize), (set_up_page),
3552 (start_interpreter), (stop_interpreter), (document_load),
3553 (ps_document_next_page), (ps_document_goto_page),
3554 (ps_document_set_page_size), (ps_document_widget_event),
3555 (ps_document_render):
3556 * shell/ev-page-view.c: (ev_page_view_dispose):
3557 * shell/ev-view.c: (ev_view_finalize), (expose_bin_window):
3559 Fix compilation on non-gcc platforms
3561 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
3568 * pdf/xpdf/Catalog.cc:
3571 Fix the fix for CAN-2004-0888
3573 2005-02-09 Luca Ferretti <elle.uca@libero.it>
3576 * data/evince-ui.xml:
3577 * shell/ev-stock-icons.c: (ev_stock_icons_init):
3578 * shell/ev-stock-icons.h:
3579 * shell/ev-window.c: (update_action_sensitivity),
3580 (ev_window_cmd_go_previous_page), (ev_window_cmd_go_next_page),
3581 (set_action_properties):
3583 Improve toolbar layout/icons
3585 2005-02-08 Marco Pesenti Gritti <marco@gnome.org>
3587 * pdf/xpdf/pdf-document.cc:
3589 Add warnings about unimplemented/unknown link
3592 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
3594 * ps/ps-document.c: (set_up_page):
3598 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
3600 * ps/ps-document.c: (start_interpreter):
3604 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
3606 * shell/ev-page-view.c: (ev_page_view_dispose):
3607 * shell/ev-view.c: (ev_view_finalize):
3608 * shell/ev-window.c: (ev_window_setup_document),
3609 (ev_window_dispose), (ev_window_init):
3611 Solve more refs issues.
3613 I commented out the page_view initialization for now:
3614 it was never destroyed (because it's never added
3615 to a container). Because of that we was leaking
3616 gs processes. Couldnt think to a clean fix.
3617 We need to figure this out, password view has the
3618 same issue probably.
3620 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
3622 * ps/ps-document.c: (ps_document_finalize),
3623 (ps_document_get_n_pages), (ps_document_get_page):
3625 Some cleanups, stop the interpreter on finalize
3627 * shell/ev-page-view.c: (ev_page_view_dispose),
3628 (ev_page_view_class_init):
3630 Release our reference on the document
3632 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
3636 * doc/debugging.txt:
3639 * lib/ev-debug.c: (log_module), (trap_handler), (ev_debug_init),
3640 (ev_profiler_new), (ev_should_profile), (ev_profiler_dump),
3641 (ev_profiler_free), (ev_profiler_start), (ev_profiler_stop):
3644 Add debugging helpers
3647 * ps/ps-document.c: (set_up_page), (start_interpreter),
3648 (stop_interpreter), (document_load), (ps_document_next_page),
3649 (ps_document_goto_page), (ps_document_set_page_size),
3650 (ps_document_widget_event), (ps_document_render):
3651 * shell/Makefile.am:
3652 * shell/ev-view.c: (expose_bin_window):
3653 * shell/main.c: (main):
3657 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
3659 * ps/ps-document.c: (ps_document_widget_event):
3661 Initialize message_window, this should make ps
3662 rendering really work! (Never noticed because I was
3663 testing with a ps that is causing gs to exit every time!)
3665 2005-02-07 Bryan Clark <clarkbw@cvs.gnome.org>
3667 * data/evince.schemas.in: updated simple error in applyto closing tag
3669 2005-02-07 Christian Persch <chpe@cvs.gnome.org>
3675 * data/evince-ui.xml:
3676 A data/evince.schemas.in:
3678 * shell/ev-stock-icons.c: (ev_stock_icons_init):
3679 * shell/ev-stock-icons.h:
3680 * shell/ev-window.c: (update_chrome_visibility),
3681 (update_chrome_flag), (ev_window_cmd_edit_find),
3682 (ev_window_update_fullscreen_popup), (ev_window_fullscreen),
3683 (ev_window_unfullscreen), (ev_window_focus_in_event),
3684 (ev_window_focus_out_event), (ev_window_cmd_leave_fullscreen),
3685 (ev_window_view_toolbar_cb), (ev_window_view_statusbar_cb),
3686 (ev_window_view_sidebar_cb), (find_bar_close_cb),
3687 (ev_window_dispose), (ev_window_class_init),
3688 (set_action_properties), (set_chrome_actions), (load_chrome),
3691 Implement fullscreen mode changes from bug #164776.
3692 Also implement persistent chrome toggles.
3694 2005-02-07 Jordi Mallach <jordi@sindominio.net>
3696 * configure.ac (ALL_LINGUAS): Added "ca" (Catalan).
3698 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
3704 Add another check for find interface
3708 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
3710 * shell/ev-application.c: (ev_application_open):
3711 * shell/ev-window.c: (ev_window_open):
3713 Open gzipped ps documents
3715 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
3718 * shell/ev-view.c: (set_document_page):
3720 Clamp page number, dont try to move to
3723 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
3725 * backend/ev-document-find.c: (ev_document_find_changed):
3726 * backend/ev-document-find.h:
3727 * pdf/xpdf/pdf-document.cc:
3728 * shell/ev-view.c: (jump_to_find_result), (ev_view_set_document):
3729 * shell/ev-window.c: (find_bar_search_changed_cb):
3731 Fix several bugs with find
3733 2005-02-04 Martin Kretzschmar <martink@gnome.org>
3735 * shell/ev-sidebar-thumbnails.c
3736 (ev_sidebar_thumbnails_select_page): do nothing unless we have a
3737 document. Prevents warning from scroll_to_cell.
3739 2005-02-02 Kjartan Maraas <kmaraas@gnome.org>
3741 * configure.ac: Add «nb» to ALL_LINGUAS too.
3743 Wed Feb 2 21:13:11 2005 Jonathan Blandford <jrb@redhat.com>
3745 * NOTES: New file with some random thoughts.
3749 * backend/ev-document-misc.c:
3750 (ev_document_misc_get_page_border_size): New function to
3751 canonicalize shadow drawing sizes. Possibly goofy.
3753 * shell/ev-view.c: (ev_view_size_request), (set_document_page),
3754 (ev_view_best_fit), (ev_view_fit_width):
3755 * pdf/xpdf/pdf-document.cc:
3756 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
3757 * ps/ps-document.c: (ps_document_get_page_size):
3758 * backend/ev-document-misc.h:
3759 * backend/ev-document.c: (ev_document_get_page_size):
3760 * backend/ev-document.h: get_page_size now takes a page number
3761 parameter. Made all the backends/frontends honor it.
3763 * data/evince-ui.xml: Added a multiple-page mode. Uncomment to
3764 see. Doesn't work yet.
3766 * shell/Makefile.am:
3767 * shell/ev-page-view.[ch]: New multi-page view. Really rough.
3768 Doesn't do anything yet.
3770 * shell/ev-sidebar-thumbnails.c:
3771 (ev_sidebar_thumbnails_set_document): [1..n_pages] instead of
3774 * shell/ev-window.c: (update_action_sensitivity),
3775 (ev_window_setup_document), (ev_window_set_page_mode),
3776 (ev_window_page_mode_cb), (ev_window_init): Clean up the
3777 view-swapping code a bit so we can have multiple views on a
3778 document. Add the multi-page view, though it can't be turned on
3781 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
3783 * shell/ev-application.c: (ev_application_open):
3784 * shell/ev-view.c: (expose_bin_window):
3785 * shell/ev-window.c: (ev_window_open):
3787 Support eps and check document supports find
3788 before drawing highlightings in expose.
3790 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
3792 * pixbuf/pixbuf-document.c:
3793 (pixbuf_document_thumbnails_get_dimensions),
3794 (pixbuf_document_document_thumbnails_iface_init):
3796 implement get_dimensions
3798 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
3805 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
3807 * shell/ev-view.c: (set_document_page):
3809 Scroll at the top of the page when changing page
3811 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
3813 * shell/ev-view.c: (ev_view_motion_notify_event):
3815 Do not redraw unnecessarily
3817 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
3819 * pdf/xpdf/pdf-document.cc:
3820 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
3821 (expose_bin_window), (find_changed_cb):
3823 Yay! find works now... Now to find bugs...
3825 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
3827 * backend/ev-document-find.c: (ev_document_find_base_init),
3828 (ev_document_find_changed):
3829 * backend/ev-document-find.h:
3830 * pdf/xpdf/pdf-document.cc:
3831 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
3832 (expose_bin_window), (ev_view_init), (set_document_page),
3833 (ensure_rectangle_is_visible), (jump_to_find_result),
3834 (jump_to_find_page), (find_changed_cb), (ev_view_set_document),
3835 (ev_view_find_next), (ev_view_find_previous):
3837 * shell/ev-window.c: (find_bar_previous_cb), (find_bar_next_cb):
3839 More work on find implementation, mostly there now
3841 2005-01-29 Marco Pesenti Gritti <marco@gnome.org>
3843 * backend/ev-backend-marshalers.list:
3844 * backend/ev-document-find.c: (ev_document_find_base_init),
3845 (ev_document_find_cancel), (ev_document_find_page_has_results),
3846 (ev_document_find_get_n_results), (ev_document_find_get_result),
3847 (ev_document_find_get_progress), (ev_document_find_changed):
3848 * backend/ev-document-find.h:
3850 Enanche the find interface to be really able to do
3853 * pdf/xpdf/pdf-document.cc:
3857 * shell/ev-view.c: (ev_view_finalize), (highlight_find_results),
3858 (expose_bin_window), (ev_view_init),
3859 (ev_view_get_find_status_message), (find_changed_cb),
3860 (ev_view_set_document), (set_document_page):
3862 Adapt to the new interface. A few things are regressed sorry,
3863 I will finish it soon.
3865 2005-01-28 Martin Kretzschmar <martink@gnome.org>
3867 * shell/ev-sidebar-thumbnails.c (ev_sidebar_thumbnails_destroy)
3868 (ev_sidebar_thumbnails_class_init): use G_DEFINE_TYPE-supplied
3869 ev_sidebar_thumbnails_parent_class variable, don't define another
3870 parent_class variable.
3872 * shell/ev-page-action.c (connect_proxy, ev_page_action_finalize)
3873 (ev_page_action_class_init): ditto.
3875 * pixbuf/pixbuf-document.c (pixbuf_document_finalize)
3876 (pixbuf_document_class_init): ditto.
3878 * backend/ev-link.c (ev_window_dispose, ev_link_class_init):
3881 * .cvsignore: ignore various valgrind output files.
3883 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
3885 * data/evince-ui.xml:
3886 * shell/Makefile.am:
3887 * shell/ev-history.c:
3888 * shell/ev-history.h:
3889 * shell/ev-navigation-action.c:
3890 * shell/ev-navigation-action.h:
3891 * shell/ev-view.c: (ev_view_finalize), (ev_view_go_to_link),
3892 (ev_view_set_page), (ev_view_fit_width):
3894 * shell/ev-window.c: (update_action_sensitivity),
3895 (ev_window_setup_document), (register_custom_actions):
3897 Kill session history
3899 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
3901 * shell/ev-window.c: (update_action_sensitivity):
3903 Fix inverted up/down buttons
3905 2005-01-27 Martin Kretzschmar <martink@gnome.org>
3907 * shell/ev-sidebar-thumbnails.c
3908 (ev_sidebar_thumbnails_select_page): make sure the selected
3909 thumbnail stays visible.
3911 2005-01-26 Martin Kretzschmar <martink@gnome.org>
3913 * shell/ev-window.c (ev_window_init): add GTK_SHADOW_IN to the
3914 scrolled window for Federico.
3916 2005-01-26 Ole Laursen <olau@hardworking.dk>
3918 * configure.ac: Added "da" (Danish) to ALL_LINGUAS.
3920 2005-01-26 Marco Pesenti Gritti <marco@gnome.org>
3923 * pdf/splash/SplashFTFontEngine.cc:
3925 Fix CID fonts with freetype 2.1.9
3927 2005-01-26 Bryan Clark <clarkbw@cvs.gnome.org>
3929 * TODO: added item for desktop icon thumbnailer
3931 Tue Jan 25 00:59:34 2005 Jonathan Blandford <jrb@redhat.com>
3933 * pdf/xpdf/pdf-document.cc (pdf_document_get_title): guard against
3934 unloaded docs when the title is accessed.
3936 * shell/ev-password-view.[hc]: New widget for displaying password
3939 * shell/ev-window.[ch]: Refactor password handling code to handle
3942 2005-01-24 Marco Pesenti Gritti <marco@gnome.org>
3950 2005-01-23 Stephane LOEUILLET <stephane.loeuillet@tiscali.fr>
3952 * pdf/xpdf/pdf-document.cc (pdf_document_search_page_changed):
3953 ignore page offset here, to make search results independent of it,
3955 * shell/ev-view.c (expose_bin_window): but take offsets into
3956 account here. Bug #164932
3958 * pdf/xpdf/pdf-document.cc (pdf_document_get_link): divide by
3959 scale at the right time. Bug #164996
3961 2005-01-22 Martin Kretzschmar <martink@gnome.org>
3963 * pdf/xpdf/GlobalParams.cc: My 2005-01-05 change didn't actually
3964 fix the problem. Now I just removed the Adobe font names and hope
3965 that the URW fonts are always in outline format. Bug #164934
3967 * shell/ev-window.c (update_window_title): empty titles are
3968 useless, use filename in that case too.
3970 * NEWS: Add some content.
3972 2005-01-21 Bryan Clark <clarkbw@cvs.gnome.org>
3974 * TODO: added one more TODO item and a TODONE section :)
3976 2005-01-21 Martin Kretzschmar <martink@gnome.org>
3978 * ps/ps-document.h: add page_[xy]_offset fields.
3980 * ps/ps-document.c (ps_document_set_page_offset)
3981 (ps_document_render): Keep offset in consideration in a few
3982 places. Bug #164752 "postscript documents are not centered in
3985 * data/evince.desktop.in (X-GNOME-Bugzilla-Product):
3986 s/gpdf/evince/. Spotted by Stephane Loeuillet.
3988 * pixbuf/pixbuf-document.c (pixbuf_document_get_n_pages)
3989 (pixbuf_document_get_text, pixbuf_document_document_iface_init):
3990 stub out missing methods for complete EvDocument implementation.
3991 Fixes segfaults with Save A Copy and Copy actions.
3993 * ps/ps-document.c (ps_document_save, ps_document_get_text)
3994 (ps_document_document_iface_init): ditto.
3996 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
4000 * data/evince.desktop.in:
4004 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
4006 * shell/ev-view.c: (ev_view_button_press_event),
4007 (ev_view_motion_notify_event):
4009 Make selection work in any direction
4011 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
4014 * shell/ev-window.c: (set_short_labels), (ev_window_init):
4016 Use shorter labels for some of the toolbars items
4018 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
4020 * pdf/xpdf/pdf-document.cc:
4022 Check the links info is initialized before
4023 using it. Should fix a crash on startup.
4025 2005-01-21 Martin Kretzschmar <martink@gnome.org>
4027 * pixbuf/pixbuf-document.c
4028 (pixbuf_document_thumbnails_get_dimensions): force floating point
4029 division to calculate page_ratio. Fixes crash with landscape
4032 Thu Jan 20 18:56:35 2005 Jonathan Blandford <jrb@redhat.com>
4034 * shell/ev-view.c (ev_view_realize): make the bg color darker.
4036 2005-01-20 Martin Kretzschmar <martink@gnome.org>
4038 * shell/ev-view.c (set_document_page): unset has_selection when
4040 (set_document_page): handle paper size changes when the page
4041 changes (test with Free Culture, page 2).
4043 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
4045 * shell/ev-view.c: (ev_view_size_request), (ev_view_realize),
4046 (expose_bin_window), (ev_view_class_init), (ev_view_init):
4048 Use normal style color for the widget background and
4049 draw a black box around the page.
4051 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
4053 * pdf/xpdf/pdf-document.cc:
4055 Keep offset in consideration in a few places
4057 * shell/ev-view.c: (expose_bin_window):
4059 Set the offsets so that the document is ever centered
4061 2005-01-20 Bryan Clark <clarkbw@cvs.gnome.org>
4063 * TODO: Added TODO items and finished off the first todo item
4065 * AUTHORS: Updated AUTHORS section with piece from gpdf file and
4066 reflect current authors
4068 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
4070 * pdf/xpdf/pdf-document.cc:
4071 * shell/ev-view.c: (ev_view_set_cursor),
4072 (ev_view_motion_notify_event), (document_changed_callback),
4073 (set_document_page):
4075 Show a wait cursor while the page is rendering
4077 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
4079 * shell/ev-sidebar-thumbnails.c:
4080 (ev_sidebar_tree_selection_changed),
4081 (ev_sidebar_thumbnails_select_page):
4082 * shell/ev-sidebar-thumbnails.h:
4083 * shell/ev-view.c: (ev_view_set_document), (ev_view_can_go_back),
4084 (ev_view_can_go_forward):
4085 * shell/ev-window.c: (ev_window_open_page),
4086 (ev_window_setup_document), (update_current_page),
4087 (view_page_changed_cb), (ev_window_init):
4088 * shell/ev-window.h:
4090 Ensure thumbnails selection, toolbar page control and
4091 current page are in sync.
4093 2005-01-19 Marco Pesenti Gritti <marco@gnome.org>
4099 Wed Jan 19 01:10:57 2005 Jonathan Blandford <jrb@redhat.com>
4101 * backend/Makefile.am:
4102 * backend/ev-document-links.h:
4103 * backend/ev-document-security.c: (ev_document_security_get_type),
4104 (ev_document_security_has_document_security),
4105 (ev_document_security_set_password):
4106 * backend/ev-document-security.h:
4107 * backend/ev-document.c: (ev_document_error_quark):
4108 * backend/ev-document.h:
4110 * data/evince-password.glade:
4111 * pdf/xpdf/pdf-document.cc:
4112 * shell/Makefile.am:
4113 * shell/ev-password.c: (ev_password_set_bad_password_label),
4114 (ev_window_password_entry_changed_cb), (ev_password_dialog_new),
4115 (ev_password_dialog_get_password),
4116 (ev_password_dialog_set_bad_pass):
4117 * shell/ev-password.h:
4118 * shell/ev-window.c: (ev_window_get_attribute),
4119 (ev_window_set_property), (update_action_sensitivity),
4120 (ev_window_is_empty), (mime_type_supported_by_gdk_pixbuf),
4121 (ev_window_setup_document), (ev_window_get_password),
4122 (ev_window_open), (ev_window_cmd_save_as),
4123 (using_postscript_printer), (ev_window_print),
4124 (find_not_supported_dialog), (ev_window_cmd_edit_find),
4125 (update_fullscreen_popup), (ev_window_fullscreen),
4126 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
4127 (ev_window_focus_out_cb), (ev_window_cmd_help_about),
4128 (menu_item_select_cb), (find_bar_search_changed_cb),
4129 (ev_window_dispose), (ev_window_init):
4131 Add initial support for password-supported dialogs. This could be
4132 a lot cooler, but it'll do for now.
4134 2005-01-18 Marco Pesenti Gritti <marco@gnome.org>
4136 * pdf/xpdf/pdf-document.cc:
4137 * shell/ev-view.c: (status_message_from_link),
4138 (ev_view_set_status), (ev_view_set_cursor),
4139 (ev_view_motion_notify_event), (ev_view_init):
4140 * shell/ev-window.c: (view_status_changed_cb), (ev_window_init):
4142 Fix bugs in the links implementation and change cursor
4143 when hovering a link.
4145 2005-01-17 Bryan Clark <clarkbw@cvs.gnome.org>
4147 * viewer/.cvsignore: added cvsignore file for viewer directory
4149 * TODO: created TODO document
4151 2005-01-14 Dave Malcolm <dmalcolm@redhat.com>
4154 * shell/ev-view.c (ev_view_can_go_back), (ev_view_can_go_forward):
4155 new functions to help with implementation of sensitivity code
4156 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
4157 of all actions that might require it. Fixes a crash when you
4158 click on the Zoom actions in a window lacking a document.
4160 2005-01-13 Dave Malcolm <dmalcolm@redhat.com>
4162 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
4165 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
4167 * pixbuf/pixbuf-document.c: (pixbuf_document_get_link),
4168 (pixbuf_document_document_iface_init):
4169 * ps/ps-document.c: (ps_document_get_link),
4170 (ps_document_document_iface_init):
4171 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event),
4172 (status_message_from_link), (ev_view_set_status),
4173 (ev_view_set_find_status), (ev_view_motion_notify_event),
4174 (ev_view_button_release_event), (ev_view_set_property),
4175 (ev_view_get_property), (ev_view_class_init), (ev_view_init),
4176 (ev_view_get_find_status_message), (update_find_results),
4177 (ev_view_get_status), (ev_view_get_find_status):
4179 * shell/ev-window.c: (view_status_changed_cb),
4180 (view_find_status_changed_cb), (ev_window_init):
4182 View status message support, use it to show the links.
4185 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
4187 * backend/ev-document.c: (ev_document_get_link):
4188 * backend/ev-document.h:
4189 * pdf/xpdf/pdf-document.cc:
4190 * shell/ev-application.c: (ev_application_open):
4191 * shell/ev-application.h:
4192 * shell/ev-sidebar-links.c: (selection_changed_cb):
4193 * shell/ev-view.c: (ev_view_button_release_event), (go_to_link),
4194 (ev_view_go_to_link):
4196 Add support for document links
4198 2005-01-13 Anders Carlsson <andersca@gnome.org>
4200 * shell/ev-page-action.c: (update_spin), (total_pages_changed_cb),
4202 Set the spin button limits correctly.
4204 * shell/ev-sidebar-thumbnails.c:
4205 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init):
4206 Support changing pages by clicking on the thumbnails.
4208 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
4210 * pixbuf/pixbuf-document.c:
4211 (pixbuf_document_thumbnails_get_dimensions),
4212 (pixbuf_document_document_thumbnails_iface_init):
4214 implement get_dimensions
4216 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
4218 * ps/ps-document.c: (ps_document_goto_page):
4220 Fix page switching on multipage documents
4222 2005-01-12 Jeff Muizelaar <jrmuizel@nit.ca>
4224 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
4226 check for NULL before assigning to width and height parameters
4228 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
4230 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
4231 (pixbuf_document_set_property), (pixbuf_document_get_property):
4233 implement get/set properties
4235 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
4237 * pdf/xpdf/pdf-document.cc: (pdf_info_dict_get_string):
4239 return NULL instead of "Unknown", letting the title get set to
4240 the filename when the pdf has no title.
4242 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
4244 * ps/ps-document.c: (ps_document_get_page_count),
4245 (ps_document_goto_page):
4247 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
4249 * shell/ev-history.c: (ev_history_get_property),
4250 (ev_history_set_property), (ev_history_class_init),
4251 (ev_history_add_page), (ev_history_set_current_index):
4252 * shell/ev-navigation-action.c: (ev_navigation_action_set_history),
4253 (activate_menu_item_cb), (new_history_menu_item), (build_menu),
4254 (ev_navigation_action_finalize):
4255 * shell/ev-navigation-action.h:
4256 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
4257 (ev_view_go_forward), (ev_view_get_find_status_message),
4258 (history_index_changed_cb), (ev_view_set_history):
4260 * shell/ev-window.c: (update_total_pages), (ev_window_open),
4261 (update_current_page), (register_custom_actions):
4263 Implement history dropdowns
4265 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
4267 * shell/ev-history.c: (ev_history_init), (ev_history_add_link):
4268 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
4269 (ev_view_go_forward):
4270 * shell/ev-window.c: (register_custom_actions):
4272 Fix several history bugs
4274 2005-01-11 Kjartan Maraas <kmaraas@gnome.org>
4276 * configure.ac: Add «nb» to ALL_LINGUAS.
4278 2005-01-10 Marco Pesenti Gritti <marco@gnome.org>
4280 * backend/Makefile.am:
4281 * backend/ev-bookmark.c:
4282 * backend/ev-bookmark.h:
4283 * backend/ev-document-bookmarks.c:
4284 * backend/ev-document-bookmarks.h:
4285 * backend/ev-document-links.c: (ev_document_links_get_type),
4286 (ev_document_links_has_document_links),
4287 (ev_document_links_begin_read), (ev_document_links_get_link),
4288 (ev_document_links_get_child), (ev_document_links_next),
4289 (ev_document_links_free_iter):
4290 * backend/ev-document-links.h:
4291 * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_title),
4292 (ev_link_set_title), (ev_link_get_uri), (ev_link_set_uri),
4293 (ev_link_get_link_type), (ev_link_set_link_type),
4294 (ev_link_get_page), (ev_link_set_page), (ev_link_get_property),
4295 (ev_link_set_property), (ev_window_dispose), (ev_link_init),
4296 (ev_link_class_init), (ev_link_new_title), (ev_link_new_page),
4297 (ev_link_new_external):
4298 * backend/ev-link.h:
4299 * pdf/xpdf/pdf-document.cc:
4300 * shell/Makefile.am:
4301 * shell/ev-application.c: (ev_application_open_link):
4302 * shell/ev-application.h:
4303 * shell/ev-history.c: (ev_history_add_link), (ev_history_add_page),
4304 (ev_history_get_link_nth):
4305 * shell/ev-history.h:
4306 * shell/ev-sidebar-bookmarks.c:
4307 * shell/ev-sidebar-bookmarks.h:
4308 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
4309 (ev_sidebar_links_class_init), (selection_changed_cb),
4310 (ev_sidebar_links_construct), (ev_sidebar_links_init),
4311 (links_page_num_func), (ev_sidebar_links_new), (stack_data_free),
4312 (do_one_iteration), (populate_links_idle),
4313 (ev_sidebar_links_clear_document), (ev_sidebar_links_set_document):
4314 * shell/ev-sidebar-links.h:
4315 * shell/ev-sidebar.c: (ev_sidebar_set_document):
4316 * shell/ev-view.c: (go_to_link), (ev_view_go_to_link),
4319 * shell/ev-window.c: (ev_window_open_link), (ev_window_init):
4320 * shell/ev-window.h:
4322 Rename bookmark to link, and use "Index" for the sidebar panel.
4324 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
4326 * shell/Makefile.am:
4327 * shell/ev-application.c: (ev_application_open_bookmark):
4328 * shell/ev-application.h:
4329 * shell/ev-history.c: (ev_history_init), (free_links_list),
4330 (ev_history_finalize), (ev_history_class_init),
4331 (ev_history_add_link), (ev_history_add_page),
4332 (ev_history_get_link_nth), (ev_history_get_n_links),
4333 (ev_history_get_current_index), (ev_history_set_current_index),
4335 * shell/ev-history.h:
4336 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
4337 * shell/ev-view.c: (ev_view_finalize), (ev_view_set_document),
4338 (set_document_page), (go_to_bookmark), (ev_view_go_to_bookmark),
4339 (go_to_index), (ev_view_go_back), (ev_view_go_forward),
4342 * shell/ev-window.c: (ev_window_open_bookmark),
4343 (ev_window_cmd_go_back), (ev_window_cmd_go_forward),
4344 (goto_page_cb), (register_custom_actions):
4345 * shell/ev-window.h:
4347 Initial history implementation. Needs work.
4349 2005-01-09 Martin Kretzschmar <martink@gnome.org>
4351 * pdf/xpdf/GDKSplashOutputDev.cc (redraw): fix pixbuf data offset.
4353 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
4355 * cut-n-paste/recent-files/egg-recent-item.c:
4356 * cut-n-paste/recent-files/egg-recent-item.h:
4357 * cut-n-paste/recent-files/egg-recent-model.c:
4358 * cut-n-paste/recent-files/egg-recent-util.c:
4359 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
4360 * cut-n-paste/recent-files/egg-recent-view.c:
4364 2005-01-08 Martin Kretzschmar <martink@gnome.org>
4366 * pdf/splash/Splash.cc (clear, drawPixel, drawSpan, xorSpan, getPixel)
4367 (fillGlyph, fillImageMask, drawImage):
4368 pdf/splash/SplashBitmap.cc (SplashBitmap, ~SplashBitmap, writePNMFile):
4369 pdf/splash/SplashTypes.h:
4370 pdf/xpdf/SplashOutputDev (startPage, getColor, imageSrc): implement RGB8
4371 packed mode for Splash.
4373 * pdf/xpdf/GDKSplashOutputDev.cc (GDKSplashOutputDev, redraw): use
4374 RGB8 packed mode, eliminates the pixbuf data creation loop.
4376 * shell/ev-print-job.c (ev_print_job_finalize)
4377 (ev_print_job_set_property, ev_print_job_get_property)
4378 (ev_print_job_set_gnome_print_job, ev_print_job_set_document)
4379 (ev_print_job_use_print_dialog_settings, idle_print_handler)
4380 (print_closure_finalize, ev_print_job_print): implement
4381 printing (for backends with EvPsExporter)
4383 * shell/ev_print_job.h: update prototypes.
4385 * shell/ev-window.c (ev_window_print): unref print job after
4388 * shell/ev-view.c (ev_view_set_document): don't connect to "found"
4389 unless the document implements the EvDocumentFind interface.
4391 2005-01-08 Satoru SATOH <ss@gnome.gr.jp>
4393 * configure.ac: Added ja to ALL_LINGUAS.
4395 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
4397 * pdf/xpdf/pdf-document.cc:
4399 add a FIXME. We should probably not allocate
4400 a bookmark object every time
4402 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
4404 * shell/ev-application.c: (ev_application_open),
4405 (ev_application_open_bookmark):
4406 * shell/ev-application.h:
4408 Add a way to open bookmarks
4410 * backend/ev-bookmark.c: (ev_bookmark_get_uri),
4411 (ev_bookmark_set_uri), (ev_bookmark_get_property),
4412 (ev_bookmark_set_property), (ev_bookmark_class_init),
4413 (ev_bookmark_new_title), (ev_bookmark_new_link),
4414 (ev_bookmark_new_external):
4416 Support for external uris, better constructors.
4418 * backend/ev-bookmark.h:
4419 * pdf/xpdf/pdf-document.cc:
4420 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
4422 Handle external uris
4424 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
4426 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb),
4427 (ev_sidebar_bookmarks_construct), (do_one_iteration):
4429 Hook up bookmarks navigation
4431 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
4433 * backend/Makefile.am:
4434 * backend/ev-bookmark.c: (ev_bookmark_type_get_type),
4435 (ev_bookmark_get_title), (ev_bookmark_set_title),
4436 (ev_bookmark_get_bookmark_type), (ev_bookmark_set_bookmark_type),
4437 (ev_bookmark_get_page), (ev_bookmark_set_page),
4438 (ev_bookmark_get_property), (ev_bookmark_set_property),
4439 (ev_window_dispose), (ev_bookmark_init), (ev_bookmark_class_init),
4441 * backend/ev-bookmark.h:
4442 * backend/ev-document-bookmarks.c:
4443 (ev_document_bookmarks_get_bookmark):
4444 * backend/ev-document-bookmarks.h:
4445 * pdf/xpdf/pdf-document.cc:
4446 * shell/ev-sidebar-bookmarks.c: (do_one_iteration):
4448 Add a bookmark object to the backend and use it instead of get_values
4450 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
4452 * data/evince-ui.xml:
4454 Cleanup and add select all.
4456 * shell/ev-view.c: (ev_view_select_all),
4457 (ev_view_button_press_event):
4459 * shell/ev-window.c: (ev_window_cmd_edit_select_all):
4462 Clear selection on click.
4464 Fri Jan 7 01:28:58 2005 Jonathan Blandford <jrb@redhat.com>
4466 * shell/ev-sidebar-thumbnails.c
4467 (ev_sidebar_thumbnails_set_document): forgot to unref the
4470 Fri Jan 7 01:22:48 2005 Jonathan Blandford <jrb@redhat.com>
4472 * shell/ev-sidebar-thumbnails.c: fill in the thumbnails starting
4473 at the visible page, not just linearly. This makes it look fast.
4475 Thu Jan 6 18:48:11 2005 Jonathan Blandford <jrb@redhat.com>
4477 * backend/ev-document-misc.c
4478 (ev_document_misc_get_thumbnail_frame): fill in the thumbnail with
4480 * backend/ev-document-thumbnails.h: New interface to get the size
4483 2005-01-06 Jeremy Katz <katzj@redhat.com>
4485 * shell/Makefile.am (evince_SOURCES): Add ev-utils.[ch] so that
4488 Wed Jan 5 15:38:28 2005 Jonathan Blandford <jrb@redhat.com>
4490 * pdf/xpdf/pdf-document.cc (bitmap_to_pixbuf): bypass
4491 GDKSplashOutputDev and just use a normal SplashOutputDev. Speeds
4494 * shell/ev-sidebar-thumbnail.c: start of some profiling code.
4496 2005-01-05 Martin Kretzschmar <martink@gnome.org>
4498 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): match only outline
4499 fonts. Should fix font problems on systems that have the base
4500 fonts in bitmap format. Reported by James Henstridge
4501 <james@jamesh.id.au>.
4503 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
4506 * pdf/xpdf/GfxState.cc:
4508 Fix for CAN-2004-1125
4510 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
4512 * shell/ev-view.c: (ev_view_copy):
4514 * shell/ev-window.c: (ev_window_cmd_edit_copy):
4516 Implement Edit->Copy
4518 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
4520 * backend/ev-document.c: (ev_document_get_text):
4521 * backend/ev-document.h:
4522 * pdf/xpdf/pdf-document.cc:
4523 * shell/ev-view.c: (ev_view_realize), (expose_bin_window),
4524 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
4525 (ev_view_update_primary_selection), (ev_view_button_press_event),
4526 (ev_view_motion_notify_event), (ev_view_button_release_event):
4528 Beginnings of clipboard support. Incomplete but primary sort
4531 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
4533 * shell/ev-view.c: (ev_gdk_color_to_rgb), (draw_rubberband),
4534 (expose_bin_window):
4536 Nicer rubberband drawing, from GtkIconView.
4538 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
4540 * backend/ev-document.c: (ev_document_save):
4541 * backend/ev-document.h:
4542 * data/evince-ui.xml:
4543 * pdf/xpdf/pdf-document.cc:
4544 * shell/ev-window.c: (save_error_dialog), (ev_window_cmd_save_as):
4546 Implement "Save a copy..." menu item
4548 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
4550 * shell/ev-view.c: (ev_view_zoom):
4552 Queue a resize when zoom changes
4554 Wed Jan 5 02:33:06 2005 Jonathan Blandford <jrb@redhat.com>
4556 * backend/ev-document-misc.[ch]: New misc file to do simple drop
4559 * pdf/xpdf/pdf-document.cc: use the drop shadows in both types of
4562 Tue Jan 4 22:32:32 2005 Jonathan Blandford <jrb@redhat.com>
4564 * pdf/xpdf/pdf-document.cc
4565 (pdf_document_thumbnails_get_page_pixbuf): poor man's dropshadow.
4567 Tue Jan 4 21:25:05 2005 Jonathan Blandford <jrb@redhat.com>
4569 * pdf/xpdf/pdf-document.cc: Do real thumbnailing of PDF files.
4570 It's slow, but I'll speed it up next!
4572 2005-01-04 Jeff Muizelaar <jrmuizel@nit.ca>
4574 * shell/main.c (load_files):
4576 use gnome_vfs_make_uri_from_shell_arg so that relative paths work
4577 from the command line and because it seems more appropriate.
4579 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
4581 * data/evince-ui.xml:
4582 * shell/ev-window.c: (update_action_sensitivity),
4583 (ev_window_cmd_go_page_up), (ev_window_cmd_go_page_down):
4585 s/next page/page down
4586 s/previous page/page up
4588 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
4590 * data/evince-ui.xml:
4592 Change the layout to match clarkbw design.
4594 * shell/Makefile.am:
4595 * shell/ev-navigation-action.c: (build_menu), (menu_activated_cb),
4596 (set_tooltip_cb), (connect_proxy), (ev_navigation_action_init),
4597 (ev_navigation_action_finalize),
4598 (ev_navigation_action_set_property),
4599 (ev_navigation_action_get_property),
4600 (ev_navigation_action_class_init):
4601 * shell/ev-navigation-action.h:
4603 Implement clarkbw toolbar navigation controls (incomplete)
4605 * shell/ev-page-action.c: (update_label), (update_spin),
4606 (value_changed_cb), (create_tool_item), (connect_proxy),
4607 (ev_page_action_init), (ev_page_action_finalize),
4608 (ev_page_action_set_property), (ev_page_action_get_property),
4609 (ev_page_action_set_current_page),
4610 (ev_page_action_set_total_pages), (ev_page_action_class_init):
4611 * shell/ev-page-action.h:
4613 Implement a page switcher in the toolbar
4615 * shell/ev-view.c: (ev_view_scroll_view):
4616 * shell/ev-window.c: (update_total_pages), (ev_window_open),
4617 (update_current_page), (view_page_changed_cb), (goto_page_cb),
4618 (register_custom_actions), (ev_window_init):
4620 Change page on PageUp/Down.
4622 Tue Jan 4 03:22:56 2005 Jonathan Blandford <jrb@redhat.com>
4624 * pdf/xpdf/pdf-document.cc
4625 (pdf_document_thumbnails_get_thumbnail): initial stab at
4626 implementing thumbnail support for pdfs. It only does documents
4627 with precached pdfs now.
4629 Mon Jan 3 17:22:25 2005 Jonathan Blandford <jrb@redhat.com>
4631 * shell/ev-sidebar-thumbnails.c (do_one_iteration): move the
4632 thumbnail code into a time-based idle as well. Also, turn off the
4633 shadow temporarily as it's really slow.
4635 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
4637 * backend/ev-document.c: (ev_document_class_init):
4638 * pdf/xpdf/pdf-document.cc:
4639 * shell/ev-window.c: (ev_window_open):
4641 Fix document title bugs and fallback to
4642 filename when not available.
4644 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
4646 * backend/ev-document.c: (ev_document_get_type),
4647 (ev_document_class_init), (ev_document_load),
4648 (ev_document_get_title):
4649 * backend/ev-document.h:
4650 * pdf/xpdf/pdf-document.cc:
4651 * ps/ps-document.c: (ps_document_set_property),
4652 (ps_document_get_property), (ps_document_class_init),
4656 * shell/ev-window.c: (update_window_title), (ev_window_open),
4659 Initial support for document title. Not working yet.
4661 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
4663 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event):
4665 Grab focus on the view when clicking it
4667 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
4669 * shell/ev-marshal.list:
4670 * shell/ev-view.c: (ev_view_realize), (add_scroll_binding),
4671 (ev_view_scroll_view), (ev_view_class_init), (ev_view_init):
4673 Add key bindings to the view. Now if the focus would work
4676 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
4679 * backend/Makefile.am:
4682 * dvi/dvilib/Makefile.am:
4683 * pdf/xpdf/Makefile.am:
4689 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
4691 * shell/ev-view.c: (ev_view_realize):
4693 Fix mouse wheel scrolling
4695 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
4701 * ps/ps-document.c: (catchPipe), (ps_document_init),
4702 (ps_document_class_init), (ps_document_cleanup),
4703 (ps_document_finalize), (send_ps), (ps_document_get_orientation),
4704 (set_up_page), (close_pipe), (is_interpreter_ready),
4705 (interpreter_failed), (output), (input), (start_interpreter),
4706 (stop_interpreter), (file_length), (file_readable),
4707 (check_filecompressed), (check_pdf), (compute_xdpi),
4708 (compute_ydpi), (compute_size), (ps_document_enable_interpreter),
4709 (ps_document_get_type), (ps_document_emit_error_msg),
4710 (document_load), (ps_document_next_page),
4711 (ps_document_get_current_page), (ps_document_get_page_count),
4712 (ps_document_goto_page), (ps_document_set_page_size),
4713 (ps_document_zoom_to_fit), (ps_document_set_zoom),
4714 (ps_document_load), (ps_document_get_n_pages),
4715 (ps_document_set_page), (ps_document_get_page),
4716 (ps_document_widget_event), (ps_document_set_target),
4717 (ps_document_set_scale), (ps_document_set_page_offset),
4718 (ps_document_get_page_size), (ps_document_render),
4719 (ps_document_document_iface_init):
4722 * shell/ev-window.c: (ev_window_open):
4724 Rename GtkGS to PSDocument
4726 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
4728 * ps/gtkgs.c: (gtk_gs_class_init):
4731 Some more leftover...
4733 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
4735 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_get_orientation),
4736 (output), (stop_interpreter), (gtk_gs_emit_error_msg),
4737 (gtk_gs_zoom_to_fit), (gtk_gs_set_zoom):
4740 Remove unused code and make a lot of stuff private
4742 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
4744 * ps/gsdefaults.c: (gtk_gs_defaults_gconf_client),
4745 (gtk_gs_defaults_changed):
4751 Cleanup headers dependencies
4753 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
4758 * ps/gsdefaults.c: (gtk_gs_defaults_get_paper_sizes):
4760 * ps/gtkgs.c: (file_length), (file_readable),
4761 (check_filecompressed), (check_pdf), (gtk_gs_load),
4762 (gtk_gs_get_postscript):
4766 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
4771 * ps/gtkgs.c: (gtk_gs_set_zoom):
4775 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
4777 * ps/gtkgs.c: (gtk_gs_set_zoom), (gtk_gs_set_zoom_mode):
4779 Ensure the page is rerendered when changing zoom
4781 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
4783 * backend/ev-document.c: (ev_document_base_init),
4784 (ev_document_changed):
4785 * backend/ev-document.h:
4787 Add a changed event that is emitted when the page content
4788 changes. This is necessary to deal with the fact that
4789 in ps backend rendering happen asycrounously.
4790 This makes the ps backend mostly work.
4792 * pdf/xpdf/pdf-document.cc:
4796 * ps/gtkgs.c: (set_up_page), (gtk_gs_widget_event),
4797 (ps_document_set_target):
4801 * shell/ev-view.c: (document_changed_callback),
4802 (ev_view_set_document), (ev_view_set_page):
4804 Redraw on the changed signal
4806 2004-12-25 Raphael Higino <raphaelh@cvs.gnome.org>
4808 * configure.ac: Added pt_BR to ALL_LINGUAS.
4810 Fri Dec 24 00:48:44 2004 Jonathan Blandford <jrb@redhat.com>
4812 * backend/ev-document-bookmarks.c:
4813 (ev_document_bookmarks_get_child): *
4814 backend/ev-document-bookmarks.h: * pdf/xpdf/Makefile.am: *
4815 pdf/xpdf/pdf-document.cc: * pdf/xpdf/pdf-document.h: *
4816 shell/Makefile.am: * shell/ev-sidebar-bookmarks.c:
4817 (ev_sidebar_bookmarks_destroy),
4818 (ev_sidebar_bookmarks_class_init),
4819 (ev_sidebar_bookmarks_construct), (stack_data_free),
4820 (do_one_iteration), (populate_bookmarks_idle),
4821 (ev_sidebar_bookmarks_clear_document),
4822 (ev_sidebar_bookmarks_set_document): *
4823 shell/ev-sidebar-bookmarks.h: * shell/ev-sidebar.c:
4824 (ev_sidebar_add_page),
4825 (ev_sidebar_set_document): * shell/ev-window.c: (ev_window_open):
4826 Initial stab at a bookmarks sidebar. It doesn't navigate yet, but
4827 it displays both the topics and the page numbers.
4829 2004-12-23 Kristian Høgsberg <krh@redhat.com>
4831 * shell/ev-window.c (ev_window_view_sidebar_cb): Hook up sidebar
4833 * shell/ev-window.c (toggle_entries): Set sidebar default value to
4836 2004-12-23 Adam Weinberger <adamw@gnome.org>
4838 * configure.ac: Added en_CA to ALL_LINGUAS.
4840 2004-12-23 Martin Kretzschmar <martink@gnome.org>
4842 * ChangeLog: replace bottom of this ChangeLog (merged history of
4843 ggv and gpdf; where all paths were wrong and most of the files are
4844 not even in this tree) with ChangeLog (from arch) of the shell
4847 2004-12-23 Havoc Pennington <hp@redhat.com>
4849 * shell/ev-window.c: hook up potentially-questionable "find
4850 results status text" feature - something involving the sidebar or
4851 scrollbar or a continuous all-pages-on-giant-roll-of-paper-view
4852 might be better in the end.
4854 * shell/ev-view.c (ev_view_get_find_status_message): new function,
4855 with corresponding signal when it should be updated
4857 * shell/eggfindbar.c (egg_find_bar_set_status_text): new function
4859 2004-12-22 Havoc Pennington <hp@redhat.com>
4861 * pdf/xpdf/pdf-document.cc (pdf_document_find_begin): make search
4862 find stuff on other pages, sort of (only returns one result on
4863 invisible pages, to show they have results; updates full results
4864 for a page when you view it). Currently repaints the current page
4865 every time a new result is found on any page, which isn't so nice.
4867 2004-12-22 Havoc Pennington <hp@redhat.com>
4869 * shell/ev-window.c (ev_window_cmd_edit_find): display an error if
4870 the document doesn't support find (better ideas?)
4871 (find_bar_search_changed_cb): handle missing document or document
4872 that doesn't support find
4874 * pdf/xpdf/pdf-document.cc: port to implement the new
4877 * backend/ev-document-find.c: create a new interface for searching
4879 * backend/ev-document.h, backend/ev-document.c: delete the find stuff
4881 2004-12-23 Martin Kretzschmar <martink@gnome.org>
4883 * pdf/xpdf/Makefile.am (libpdfdocument_la_LIBADD): add
4886 * shell/ev-window.c (ev_window_print): add GnomePrintJob to
4887 EvPrintJob constructor arguments.
4889 * backend/ev-ps-exporter.c, backend/ev-ps-exporter.h: interface
4890 for documents that can export PostScript (page by page).
4892 * backend/Makefile.am (libevbackend_la_SOURCES): add them.
4894 * pdf/xpdf/pdf-document.cc (pdf_document_ps_export_begin)
4895 (pdf_document_ps_export_do_page, pdf_document_ps_export_end)
4896 (pdf_document_ps_exporter_iface_init:
4897 Implement EvPSExporter.
4899 * pdf/xpdf/Makefile.am (libxpdf_la_SOURCES): build PSOutputDev.
4901 2004-12-22 Anders Carlsson <andersca@gnome.org>
4903 * backend/Makefile.am:
4904 * backend/ev-document-thumbnails.c:
4905 (ev_document_thumbnails_get_type),
4906 (ev_document_thumbnails_get_thumbnail):
4907 * backend/ev-document-thumbnails.h:
4908 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
4909 (pixbuf_document_thumbnails_get_thumbnail),
4910 (pixbuf_document_document_thumbnails_iface_init):
4911 * shell/Makefile.am:
4912 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_destroy),
4913 (ev_sidebar_thumbnails_class_init), (ev_sidebar_thumbnails_init),
4914 (populate_thumbnails), (ev_sidebar_thumbnails_set_document):
4915 * shell/ev-sidebar-thumbnails.h:
4916 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
4917 (ev_sidebar_set_document):
4918 * shell/ev-utils.c: (gaussian), (create_blur_filter),
4919 (create_shadow), (ev_pixbuf_add_shadow):
4921 Add thumbnail support.
4923 2004-12-22 Martin Kretzschmar <martink@gnome.org>
4925 * shell/ev-window.c (ev_window_cmd_file_print, ev_window_print)
4926 (using_postscript_printer): Set up a print dialog for "PostScript
4929 * shell/ev-print-job.h, shell/ev-print-job.c: stub classes for
4932 * shell/Makefile.am (evince_SOURCES): add ev-print-job.[ch]
4934 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
4936 * ps/gtkgs.c: (gtk_gs_init), (set_up_page),
4937 (ps_document_set_target), (ps_document_get_page_size),
4938 (ps_document_render):
4943 2004-12-22 Christian Rose <menthos@menthos.com>
4945 * configure.ac: Added "sv" to ALL_LINGUAS.
4947 Wed Dec 22 14:47:38 2004 Jonathan Blandford <jrb@redhat.com>
4949 * backend/ev-document-bookmarks.[ch]: new interface to indicate
4950 document supports bookmarks.
4952 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
4954 * ps/ggvutils.c: (ggv_file_readable):
4956 * ps/gtkgs.c: (check_filecompressed), (check_pdf),
4957 (gtk_gs_get_postscript):
4961 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
4963 * ps/gtkgs.c: (gtk_gs_init), (gtk_gs_class_init), (gtk_gs_cleanup),
4964 (gtk_gs_finalize), (gtk_gs_set_center), (set_up_page), (output),
4965 (start_interpreter), (compute_size), (gtk_gs_enable_interpreter),
4966 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_reload),
4967 (gtk_gs_emit_error_msg), (gtk_gs_disable_interpreter),
4968 (gtk_gs_load), (gtk_gs_goto_page), (gtk_gs_set_page_size),
4969 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
4970 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
4971 (gtk_gs_set_antialiasing), (ps_document_load),
4972 (ps_document_render):
4975 Another check point for the ps backend. Now I can get it to show
4978 Wed Dec 22 13:41:01 2004 Jonathan Blandford <jrb@redhat.com>
4980 * shell/ev-sidebar.c (ev_sidebar_set_document): initial sidebar
4981 document setting code.
4983 2004-12-22 Anders Carlsson <andersca@gnome.org>
4985 * shell/eggfindbar.c: (entry_activate_callback):
4986 Animate the next button when activate is pressed.
4988 2004-12-22 Anders Carlsson <andersca@gnome.org>
4990 * shell/ev-window.c: (ev_window_cmd_edit_find),
4991 (update_fullscreen_popup), (ev_window_fullscreen),
4992 (ev_window_unfullscreen), (ev_window_state_event_cb),
4993 (ev_window_focus_out_cb), (find_bar_close_cb), (ev_window_init):
4994 Fix bugs in fullscreen code.
4996 2004-12-22 Anders Carlsson <andersca@gnome.org>
5000 * pixbuf/Makefile.am:
5001 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
5002 (pixbuf_document_load), (pixbuf_document_get_n_pages),
5003 (pixbuf_document_set_page), (pixbuf_document_get_page),
5004 (pixbuf_document_set_target), (pixbuf_document_set_scale),
5005 (pixbuf_document_set_page_offset), (pixbuf_document_get_page_size),
5006 (pixbuf_document_render), (pixbuf_document_begin_find),
5007 (pixbuf_document_end_find), (pixbuf_document_finalize),
5008 (pixbuf_document_class_init),
5009 (pixbuf_document_document_iface_init), (pixbuf_document_init):
5010 * pixbuf/pixbuf-document.h:
5011 * shell/Makefile.am:
5012 * shell/ev-application.c: (ev_application_open):
5013 * shell/ev-window.c: (mime_type_supported_by_gdk_pixbuf),
5017 Tue Dec 21 21:45:43 2004 Soeren Sandmann <sandmann@redhat.com>
5020 * dvi/dvilib/Makefile.am:
5022 * configure.ac: Auto*ify dvi and dvi/dvilib
5024 * dvi/Makefile: Remove from CVS
5026 * dvi/dvilib/dl-pkfont.cc (unpack_bitmap): Fix uchar/uint
5029 * dvi/dvilib/dl-fontdefinition.{cc,hh}: New DviFontMap class
5031 * dvi/dvilib/dl-vffont.{cc,hh}: Many bugfixes to VF code.
5033 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
5036 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_finalize),
5037 (gtk_gs_value_adjustment_changed), (compute_size),
5038 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_new_from_file),
5039 (gtk_gs_center_page), (gtk_gs_load), (gtk_gs_set_page_size),
5040 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
5041 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
5042 (gtk_gs_start_scroll), (gtk_gs_get_postscript),
5043 (gtk_gs_set_adjustments), (gtk_gs_set_available_size),
5044 (ps_document_load), (ps_document_get_n_pages),
5045 (ps_document_set_page), (ps_document_get_page),
5046 (ps_document_set_target), (ps_document_set_scale),
5047 (ps_document_set_page_offset), (ps_document_get_page_size),
5048 (ps_document_render), (ps_document_begin_find),
5049 (ps_document_end_find), (ps_document_document_iface_init):
5051 * shell/Makefile.am:
5052 * shell/ev-window.c: (ev_window_open):
5054 Some work to integrate gtkgs with EvDocument
5056 2004-12-22 Anders Carlsson <andersca@gnome.org>
5058 * shell/ev-window.c: (update_fullscreen_popup),
5059 (screen_size_changed_cb), (destroy_exit_fullscreen_popup),
5060 (exit_fullscreen_button_clicked_cb),
5061 (fullscreen_popup_size_request_cb), (ev_window_fullscreen),
5062 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
5063 (ev_window_state_event_cb), (ev_window_init):
5064 Add fullscreen support from Epiphany.
5066 2004-12-22 Mark McLoughlin <mark@skynet.ie>
5068 * data/ev-stock-zoom-fit-width.png: fit-width
5069 stock icon from gpdf.
5071 * shell/ev-stock-icons.[ch]: copied from gpdf.
5073 * shell/main.c: (main): init stock icons.
5075 * shell/ev-window.c: use the fit-width icon.
5077 * data/evince-ui.xml: add zooming toolbar items.
5079 2004-12-22 Mark McLoughlin <mark@skynet.ie>
5082 (ev_view_best_fit), (ev_view_fit_width): because
5083 get_page_size() returns the scaled page size, we
5084 need to calculate the scale factor relative to
5085 the previous scale factor. Should really just
5086 add get_real_page_size().
5088 2004-12-22 Mark McLoughlin <mark@skynet.ie>
5090 * shell/ev-view.[ch]:
5091 (ev_view_zoom), (ev_view_zoom_in), (ev_view_zoom_out),
5092 (ev_view_normal_size), (ev_view_best_fit), (ev_view_fit_width):
5095 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
5096 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_normal_size),
5097 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width):
5100 * pdf/xpdf/pdf-document.cc:
5101 (pdf_document_begin_find),
5102 (pdf_document_end_find): make static.
5104 2004-12-22 Martin Kretzschmar <martink@gnome.org>
5106 * pdf/xpdf/GlobalParams.h (setupBaseFontsFc): add prototype.
5108 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): maps base font
5109 names to fontconfig patterns.
5110 (setupBaseFontsFc): setupBaseFonts reimplemented using fontconfig.
5112 * pdf/xpdf/pdf-document.cc (pdf_document_load): use
5115 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
5131 Import ggv backend. Not hooked up yet.
5133 2004-12-22 Mark McLoughlin <mark@skynet.ie>
5135 * shell/main.c: (load_files), (main): load files
5136 from the command line.
5138 2004-12-22 Mark McLoughlin <mark@skynet.ie>
5140 * configure.ac: don't require bonobo.
5142 * cut-n-paste/recent-files/*: kill bonobo recent
5145 * shell/ev-window.c:
5146 (ev_window_is_empty): upd.
5147 (unable_to_load), (ev_window_open): load backend
5148 based on the mime type.
5150 2004-12-22 Martin Kretzschmar <martink@gnome.org>
5152 * backend/.cvsignore: ignore generated marshalers source.
5154 * shell/main.c (main): this is not epiphany.
5156 2004-12-22 Havoc Pennington <hp@redhat.com>
5158 * shell/ev-view.c (ev_view_set_document): connect to "found" signal
5159 (expose_bin_window): draw find highlights
5161 * shell/ev-window.c (find_bar_search_changed_cb): implement
5163 * pdf/xpdf/pdf-document.cc (pdf_document_begin_find)
5164 (pdf_document_end_find): implement this interface
5166 * backend/ev-document.c (ev_document_found): add this to emit
5169 Tue Dec 21 23:57:37 2004 Owen Taylor <otaylor@redhat.com>
5171 * data/evince-ui.xml: Add a few more toolbar items.
5173 * shell/ev-window.c: Hook up page navigation toolbar
5176 * shell/ev-view.[ch]: add ev_view_set/get_page and
5177 a page-changed signal.
5179 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc::
5180 Add ev_document_get_page().
5182 * shell/ev-window.c: Sensitize/desensitize navigation
5185 2004-12-21 Havoc Pennington <hp@redhat.com>
5187 * backend/ev-backend-marshal.c,
5188 backend/ev-backend-marshalers.list, backend/Makefile.am: add
5189 marshaler-generator thingy. I'm sure there's a better way to do
5190 this in the modern world.
5192 * backend/ev-document.h (struct _EvDocumentIface): add begin_find,
5193 end_find methods and "found" signal.
5195 * configure.ac: find glib-genmarshal
5197 Tue Dec 21 23:20:35 2004 Jonathan Blandford <jrb@redhat.com>
5199 * shell/ev-sidebar.c: Construct an actual sidebar.
5200 * shell/ev-sidebar-bookmarks.[ch]:
5201 * shell/ev-sidebar-thumbnails.[ch]: Stub out sidebars.
5203 Tue Dec 21 23:05:51 2004 Owen Taylor <otaylor@redhat.com>
5205 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc:
5208 * shell/ev-view.c: Track the size from the document.
5210 Tue Dec 21 22:17:04 2004 Owen Taylor <otaylor@redhat.com>
5212 * pdf/xpdf/pdf-document.cc (pdf_document_load): PDFDoc
5213 constructor assumes ownership of the string passed in.
5215 * shell/ev-window.c (ev_window_open): Destroy the error
5216 dialog once we've displayed it.
5218 Tue Dec 21 21:58:56 2004 Owen Taylor <otaylor@redhat.com>
5220 * pdf/xpdf/pdf-document.cc shell/ev-view.c: Hook things up
5221 a bit, it works! (sort of)
5223 * pdf/xpdf/Makefile.am pdf/xpdf/pdf-document.cc:
5224 Move to .cc since we need to use C++ in the implementation.
5226 * shell/dummy.cc: Add a CC file to force evince
5227 to be linked as a C++ program.
5229 Tue Dec 21 21:07:55 2004 Owen Taylor <otaylor@redhat.com>
5231 * shell/ev-view.[ch]: Start of content-area widget.
5233 * shell/ev-window.c: Create a EvView, update it
5234 as we change documents.
5236 * shell/Makefile.am shell/ev-marshal.list: Add
5237 generated marshalers.
5239 Tue Dec 21 20:28:11 2004 Jonathan Blandford <jrb@redhat.com>
5241 * Makefile.am (SUBDIRS): move shell.
5243 Tue Dec 21 19:28:55 2004 Owen Taylor <otaylor@redhat.com>
5245 * pdf/{goo,fofi,splash,xpdf}/Makefile.am: Switch from
5246 .a to libtool convenience libraries.
5248 * shell/ev-window.c (ev_window_open): Hard code loading
5251 * backend/ev-document.h: Add a boolean return to load(),
5252 fix GError * to GError **.
5254 * pdf/xpdf/pdf-document.[ch] Makefile.am: Add a stub
5255 object for a PDF backend EvDocument.
5257 Tue Dec 21 18:55:06 2004 Søren Sandmann <sandmann@redhat.com>
5259 * dvi/*: New directory with the beginning of a .dvi backend.
5261 2004-12-21 Havoc Pennington <hp@redhat.com>
5263 * shell/eggfindbar.c (egg_find_bar_init): change buttons to
5264 previous/next instead of back/forward
5266 Tue Dec 21 18:26:24 2004 Owen Taylor <otaylor@redhat.com>
5268 * backend/ev-document.[ch]: Fix a couple of problems so
5271 Tue Dec 21 18:20:40 2004 Owen Taylor <otaylor@redhat.com>
5273 * viewer/* backend/* configure.ac Makefile.am: Move viewer directory
5274 to backend/ directory, rename EvViewer to EvDocument.
5276 2004-12-21 Havoc Pennington <hp@redhat.com>
5278 * shell/ev-window.c: hook up the find bar widget; now we just need
5279 a document to find things in
5281 * shell/eggfindbar.c: a find bar widget
5283 Tue Dec 21 17:20:16 2004 Jonathan Blandford <jrb@redhat.com>
5285 * shell/ev-sidebar.[ch]: initial sidebar boilerplate.
5287 Tue Dec 21 16:30:58 2004 Owen Taylor <otaylor@redhat.com>
5289 * pdf/**: Import of xpdf code from gpdf.
5291 * pdf/xpdf/xpdfconfig.h: Move the non-config.h config.h to xpdfconfig.h
5293 * pdf/splash/SplashFTFont.{cc,h} pdf/splash/SplashFTFont.h
5294 pdf/splash/SplashFTFontEngine.h pdf/splash/SplashFTFontFile.h:
5295 Fix FreeType includes.
5297 * pdf/xpdf/{Error.h GnomeVFSStream.cc ImageOutputDev.cc PDFDoc.cc\
5298 pdffonts.cc pdfimages.cc pdfinfo.cc pdftoppm.cc pdftops.cc
5299 pdftotext.cc PSOutputDev.cc PSOutputDev.h SplashOutputDev.h
5300 Stream.cc TextOutputDev.cc XPDFApp.cc xpdf.cc XPDFViewer.cc
5301 pdf/xpdf/Error.h PSOutputDev.h SplashOutputDev.h}:
5302 Include xpdfconfig.h
5304 Tue Dec 21 16:08:17 2004 Jonathan Blandford <jrb@redhat.com>
5306 * shell/ev-window.c (ev_window_dispose): dispose can be called
5309 2004-12-21 Havoc Pennington <hp@redhat.com>
5311 * shell/ev-window.c (ev_window_init): set title to Document Viewer
5314 * data/evince-ui.xml, shell/ev-window.c: add a bunch of stub menu
5315 items; really they should be synced with the strings, etc. from
5316 current gpdf, but just getting the boring typing out of the way
5318 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
5321 * shell/ev-application.c: (window_destroy_cb):
5322 * shell/ev-window.c:
5323 * shell/main.c: (main):
5325 Actually show the window...
5327 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
5330 * shell/Makefile.am:
5331 * shell/ev-application.c: (ev_application_class_init):
5332 * shell/ev-window.c: (ev_window_dispose), (ev_window_class_init):
5336 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
5338 Import to gnome cvs.
5340 * Remove copies of gpdf and ggv trees.
5341 * Rip out all the recursive configure code.
5342 * Remove bonobo machinery.
5343 * viewer/*: GInterfaces that backends should/can implement.
5345 2004-11-09 Martin Kretzschmar <m_kretzschmar@gmx.net>
5347 * shell/ev-window.c (ev_window_cmd_help_about): fix "documentors"
5350 2004-10-28 Martin Kretzschmar <m_kretzschmar@gmx.net>
5352 * shell/ev-application.c (EV_APPLICATION_GET_PRIVATE)
5353 (ev_application_finalize, ev_application_class_init)
5354 (ev_application_init): use GType instance private data for priv.
5356 * shell/ev-window.c (EV_WINDOW_GET_PRIVATE)
5357 (ev_window_finalize, ev_window_class_init)
5358 (ev_window_init): ditto.
5360 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
5362 * shell/ev-application.c (ev_application_new_window): make public
5363 (ev_application_show_initial_window): kill.
5365 * shell/ev-application.h: update prototypes.
5367 * shell/main.cc (main): inline ev_application_show_initial_window.
5369 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
5371 * shell/ev-application.c (ev_application_new_window): impl.
5372 (ev_application_show_initial_window): use it.
5373 (is_window_empty, ev_application_get_empty_window): returns an
5374 existing empty window or a new one.
5375 (ev_application_open): from ev_window_cmd_file_open.
5377 * shell/ev-application.h: update prototypes
5379 * shell/ev-window.c (ev_window_is_empty): impl.
5380 (ev_window_open): make public.
5381 (ev_window_cmd_file_open): use ev_application_open
5383 * shell/ev-window.h: update prototypes, remove unused.
5385 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
5387 * shell/ev-window.c (ev_window_destroy, ev_window_class_init):
5388 move destroy handler out of here...
5390 * shell/ev-application.c, shell/ev-application.h: ...into this new
5391 class. Also handles initial window creation.
5393 * shell/main.cc (main): use EvApplication to create initial
5396 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
5398 * Makefile.am (SUBDIRS): add cut-n-paste
5400 * cut-n-paste/Makefile.am: add
5402 * configure.ac: generate Makefiles in cut-n-paste
5404 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
5406 * shell/ev-window.c (ev_window_dispose): new, unref the ui_manager
5407 (ev_window_class_init): install ev_window_dispose.
5409 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
5411 * shell/ev-window.h, shell/ev-window.c: replace gchar with
5412 char (gchar looks stupid).
5414 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
5416 * po/de.po: updated German translation.
5418 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
5420 * configure.ac: add more pkg-config library checks for gnome-vfs,
5423 * gpdf/configure.in: temporarily disable libpaper
5424 checks. Otherwise I'd have to add the checks for the shell, too.
5426 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
5428 * shell/ev-window.c (ev_window_cmd_file_open): add ps+pdf, ps, pdf
5429 and * file filters to the file choose.
5431 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
5433 * po/de.po: Updated German translation.
5435 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
5437 * shell/ev-window.c: use "S" as mnemonic for Statusbar.
5439 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
5441 * data/evince-ui.xml: add View->Toolbar and View->Statusbar.
5443 * shell/ev-window.c (menu_item_select_cb, menu_item_select_cb)
5444 (ev_window_init): implement those menuitems.
5446 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
5448 * data/evince-ui.xml: add a toolbar (with FileOpen action)
5450 * shell/ev-window.c (ev_window_init): use the toolbar.
5452 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
5454 * shell/ev-window.c (ev_window_init): use menu translations
5456 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
5458 * configure.ac: add "de" to ALL_LINGUAS.
5460 * po/de.po: add German translation.
5462 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
5464 * Makefile.am (SUBDIRS): add po
5466 * configure.ac: check intltool, glib-gettext etc, generate
5469 * po, po/POTFILES.in, po/POTFILES.skip: new.
5471 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
5473 * shell/Makefile.am (INCLUDES): define GNOMELOCALEDIR which we
5474 already use (#ifdef ENABLE_NLS)
5476 * shell/ev-window.c (ev_window_cmd_help_about): fix two star
5477 pointer indirection thinko.
5479 * shell/main.c: include gi18n.h for bindtextdomain etc.
5481 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5483 * shell/ev-window.c (menu_item_select_cb, menu_item_deselect_cb)
5484 (connect_proxy_cb, disconnect_proxy_cb, ev_window_init): show
5485 tooltips for menu items in the statusbar.
5487 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5489 * configure.ac, data/Makefile.am, shell/Makefile.am: use
5490 pkgdatadir drop UIDIR
5492 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5494 * data/evince-ui.xml: Add File->Open menu item
5496 * shell/ev-window.c (ev_window_cmd_file_open): impl. (shows a file
5497 chooser), hook it up in the ui manager.
5499 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5501 * shell/ev-window.c: fix Help->About tooltip.
5503 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5505 * configure.ac: set CFLAGS for libevprivate.
5507 * lib/ev-stock-icons.h, lib/ev-stock-icons.c: stock icon
5508 definitions, factory etc.
5510 * lib/Makefile.am: build libevprivate.a (only stock icon code).
5512 * shell/Makefile.am: link against libevprivate.a.
5514 * shell/ev-window.c (entries): add stock icon to Help->About.
5516 * shell/main.c (main): init stock icon code.
5518 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5520 * lib/recent-files: egg recent files code
5522 * lib/Makefile.am: add.
5524 * Makefile.am: add lib subdir.
5526 * configure.ac: gen. lib/Makefile and lib/recent-files/Makefile,
5527 set CFLAGS for recent-files.
5529 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5531 * configure.ac: disable -ansi and -pedantic gcc flags. They
5532 disable POSIX stuff in stdio.h, but egg-recent uses them.
5534 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5536 * configure.ac: add --disable-deprecated flag (defaults to on in
5539 * shell/Makefile.am (INCLUDES): use it.
5541 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5543 * shell/main.c: add missing #include.
5545 * shell/ev-window.c: fix for pedantic gcc.
5546 (ev_window_cmd_help_about): split license into paragraphs for
5547 translators and pedantic compilers.
5549 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5551 * configure.ac: add more warning flags if compiling with gcc from
5552 cvs (or explicitly requested with --enable-more-warnings).
5554 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5556 * data/evince-ui.xml: add File and File->Close menu.
5558 * shell/ev-window.c (ev_window_cmd_file_close_window): impl.
5559 (ev_window_destroy): quit after destroy.
5560 (ev_window_class_init): override GtkObject::destroy.
5561 (entries): install close_window callback.
5563 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5565 * Makefile.am (SUBDIRS): add data subdir.
5567 * configure.ac (UIDIR): gen data/Makefile, define UIDIR. Require
5568 gtk+ 2.5.0 for GtkAboutDialog.
5570 * data/Makefile.am, data/evince-ui.xml: add, ui definition for the
5573 * shell/Makefile.am (INCLUDES): propagate UIDIR definition.
5575 * shell/ev-window.c (ev_window_init): create a menubar, using a ui
5577 (ev_window_cmd_help_about): about command, using GtkAboutDialog.
5579 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5581 * shell/ev-window.c, shell/ev-window.h: Created an EvWindow class.
5583 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
5585 * shell/main.c: make it a trivial gtk+ program, adjust configure.ac
5587 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
5589 * shell/*: Added shell directory boilerplate, build it.
5591 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
5593 * configure.ac, Makefile.am: Added top-level configure.ac and