1 2005-07-05 Luca Ferretti <elle.uca@libero.it>
3 * data/evince.desktop.in.in:
5 Allow open uri lists and add TryExec field.
7 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
11 Enable dbus when available, do not require a configure
14 2005-07-05 Christian Persch <chpe@cvs.gnome.org>
18 Use AM_CONDITIONAL unconditionally, fixes the build with DBUS
21 2005-07-05 Carlos Garcia Campos <carlosgc@gnome.org>
22 Marco Pesenti Gritti <mpg@redhat.com>
24 * shell/Makefile.am: Add --prefix for dbus-binding-tool script
26 * shell/ev-application.[ch], shell/ev-window.c: change dbus RPC
27 functions to the format required by dbus
29 * shell/main.c: use G_TYPE instead of DBUS_TYPE to fix compilation
30 errors. Use the RPC parameters in the expected way
32 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
35 * properties/Makefile.am:
36 * properties/ev-properties-main.c: (ev_properties_get_pages):
38 Support all mime types
41 * thumbnailer/Makefile.am:
42 * thumbnailer/evince-thumbnailer.c: (get_document_from_uri),
43 (evince_thumbnail_pngenc_get):
45 Use the document factory
47 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
49 * backend/Makefile.am:
50 * backend/ev-document-factory.c:
51 (mime_type_supported_by_gdk_pixbuf),
52 (ev_document_type_get_from_mime),
53 (ev_document_factory_get_document),
54 (ev_document_factory_get_backend),
55 (ev_document_factory_get_mime_types),
56 (ev_document_factory_get_all_mime_types):
57 * backend/ev-document-factory.h:
59 * shell/ev-document-types.c: (get_document_from_uri),
60 (ev_document_types_get_document),
61 (file_filter_add_mime_list_and_free),
62 (ev_document_types_add_filters):
63 * shell/ev-document-types.h:
64 * shell/ev-job-xfer.c: (ev_job_xfer_run):
65 * shell/ev-properties-dialog.c:
66 (ev_properties_dialog_set_document):
67 * shell/ev-window.c: (ev_window_cmd_file_open),
68 (ev_window_cmd_save_as):
69 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
71 Rework document types managing to avoid code duplication
72 and actually abstract from backend implementations.
73 Also provide a minimal factory api that can be used by
74 thumbnailer/properties.
76 2005-07-05 Christian Persch <chpe@cvs.gnome.org>
78 * properties/ev-properties-view.c: (ev_properties_view_set_info):
80 * shell/ev-properties-dialog.c: (ev_properties_dialog_init):
83 2005-07-04 Matthew S. Wilson <msw@rpath.com>
85 * shell/ev-properties-dialog.c
86 (ev_properties_dialog_set_document): only call
87 ev_properties_fonts_set_document() if the document implements the
90 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
93 * properties/Makefile.am:
94 * properties/ev-properties-view.c:
95 (ev_properties_view_register_type):
96 * properties/ev-properties-view.h:
97 * properties/ev-properties-main.h:
99 Implement nautilus plugin for properties.
100 Works only for pdf atm, I need to rework the
101 document types stuff to get this to work
104 2005-07-04 Martin Kretzschmar <martink@gnome.org>
106 * shell/ev-properties-fonts.c (enum): kill redundant columns enum
107 (ev_properties_fonts_set_document): use
108 EV_DOCUMENT_FONTS_COLUMN_NUM_COLUMNS.
110 2005-07-04 Matthew S. Wilson <msw@rpath.com>
112 * tiff/tiff2ps.c: remove TRUE and FALSE definitions, glib provides
114 (PlaceImage, tiff2ps_process_page): use
115 g_ascii_dtostr to convert floats to strings in a locale-safe way.
118 2005-07-04 Martin Kretzschmar <martink@gnome.org>
120 * shell/main.c: include libgnomeui/gnome-authentication-manager.h
121 (main): to call gnome_authentication_manager_init. Should fix
124 * configure.ac: that requires libgnomeui 2.6.0.
126 2005-07-04 Matthew S. Wilson <msw@rpath.com>
128 * tiff/tiff-document.c (tiff_document_ps_export_begin)
129 (tiff_document_ps_export_do_page, tiff_document_ps_export_end):
130 use the new tiff2ps interfaces
132 * tiff/tiff2ps.h (tiff2ps_context_new, tiff2ps_process_page)
133 (tiff2ps_context_finalize): implement new interfaces for tiff2ps
135 * tiff/tiff2ps.c: refactor tiff2ps code to use a context
136 structure instead of global variables. Remove use of static
137 variables in functions.
139 2005-07-04 Carlos Garcia Campos <carlosgc@gnome.org>
141 * shell/ev-page-action.c: unref the completion after setting it to the
144 2005-07-04 Matthew S. Wilson <msw@rpath.com>
146 * tiff/tiff2ps.c (generateEPSF): disable generating encapsulated
149 2005-07-04 Matthew S. Wilson <msw@rpath.com>
151 * shell/ev-window.c (update_action_sensitivity): disable
152 File->Print if the document does not implement the ps exporter
155 2005-07-04 Marco Pesenti Gritti <mpg@redhat.com>
159 * data/evince-properties.glade:
160 * properties/.cvsignore:
161 * properties/Makefile.am:
162 * properties/ev-properties-view.c: (ev_properties_view_dispose),
163 (ev_properties_view_class_init), (ev_properties_view_format_date),
164 (make_valid_utf8), (set_property), (ev_properties_view_set_info),
165 (ev_properties_view_init), (ev_properties_view_new):
166 * properties/ev-properties-view.h:
168 * shell/ev-properties-dialog.c: (ev_properties_dialog_class_init),
169 (ev_properties_dialog_init), (ev_properties_dialog_set_document),
170 (ev_properties_dialog_new):
171 * shell/ev-properties-dialog.h:
172 * shell/ev-properties-fonts.c: (ev_properties_fonts_dispose),
173 (ev_properties_fonts_class_init), (ev_properties_fonts_init),
174 (update_progress_label), (job_fonts_finished_cb),
175 (ev_properties_fonts_set_document), (ev_properties_fonts_new):
176 * shell/ev-properties-fonts.h:
177 * shell/ev-properties.c:
178 * shell/ev-properties.h:
179 * shell/ev-window.c: (ev_window_setup_document),
180 (ev_window_cmd_file_properties):
182 Split the properties pages in two different objects, depend
183 only on the backend where possible, use widgets instead
184 of gobject for the glade part, reimplement the dialog
186 I need this to implement nautilus properties page.
188 2005-07-03 Matthew S. Wilson <msw@rpath.com>
190 * tiff/tiff-document.c (tiff_document_ps_export_begin)
191 (tiff_document_ps_export_do_page, tiff_document_ps_export_end)
192 (tiff_document_document_ps_exporter_iface_init): implement the ps
193 exporter interface for tiff documents
195 * tiff/tiff2ps.c: added a modified version of tiff2ps.c from
196 libtiff to implement TIFF postscript export
198 * tiff/tiff2ps.h: added a header file for external tiff2ps
201 * tiff/Makefile.am (libtiffdocument_la_SOURCES): add tiff2ps.c and
204 2005-07-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
206 * shell/ev-view.c: (scroll_to_current_page),
207 (ev_view_set_fullscreen), (ev_view_set_presentation):
209 Scroll to current page when exit from presentation
211 2005-07-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
213 * shell/ev-window.c: (update_document_mode),
214 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
215 (ev_window_cmd_view_fullscreen), (ev_window_stop_presentation),
216 (ev_window_cmd_view_presentation), (ev_window_cmd_escape):
218 Exit from fullscreen mode when switch to presentation. Fix for
221 2005-07-02 Matthew S. Wilson <msw@rpath.com>
223 * shell/ev-pixbuf-cache.c (ev_pixbuf_cache_get_selection_pixbuf):
224 return NULL if the document does not implement the selection
227 2005-07-02 Matthew S. Wilson <msw@rpath.com>
229 * tiff/tiff-document.c (tiff_document_get_page_size): scale the
230 reported height by using the resolution aspect ratio
231 (tiff_document_render_pixbuf): scale the pixbuf using the
232 resolution aspect ratio
234 2005-07-01 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
238 Require libgnomeprint >= 2.5.1. Thanks to Colin Slater
239 <kiltedaco@gmail.com>
241 * djvu/djvu-document.c: (djvu_document_get_orientation),
242 (djvu_document_set_orientation), (djvu_document_get_page_size),
243 (rotate_pixbuf), (djvu_document_render_pixbuf),
244 (djvu_document_document_iface_init):
245 * dvi/dvi-document.c: (dvi_document_get_orientation),
246 (dvi_document_set_orientation), (dvi_document_get_page_size),
247 (rotate_pixbuf), (dvi_document_render_pixbuf),
248 (dvi_document_document_iface_init):
250 Dvi and djvu backends are ported to new API
252 Fri Jul 1 00:10:15 2005 Jonathan Blandford <jrb@redhat.com>
254 * backend/ev-selection.c: (ev_selection_get_selection_region),
255 (ev_selection_get_selection_map):
256 * backend/ev-selection.h:
258 * shell/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
260 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info),
261 (job_finished_cb), (copy_job_to_job_info), (add_job_if_needed),
262 (ev_pixbuf_cache_get_text_mapping):
263 * shell/ev-pixbuf-cache.h:
264 * shell/ev-view.c: (location_in_text),
265 (ev_view_motion_notify_event), (ev_view_set_cursor): Add I-Beam
266 support to EvView. Now we can see where we can select! Sweet!
268 2005-06-30 Kristian Høgsberg <krh@redhat.com>
270 * shell/ev-view.c (ev_view_button_press_event): Fix
271 event->y + view->scroll_x typo.
273 2005-06-30 Kristian Høgsberg <krh@redhat.com>
275 * pdf/ev-poppler.cc: Adjust to poppler API changes; use a
276 sub-GdkPixbuf instead of passing dest_x and dest_y.
278 * shell/ev-view.c: (view_point_to_doc_point),
279 (view_rect_to_doc_rect), (ev_view_button_press_event),
280 (ev_view_motion_notify_event), (compute_new_selection_rect),
281 (gdk_rectangle_point_in), (compute_new_selection_text),
282 (compute_selections): Update selection code to keep the selection
283 around as two points and not as a normalized rectangle, and fix
284 page level selection in two-column mode.
286 2005-06-30 Alex Duggan <aldug@astrolinux.com>
288 * shell/ev-window.c: (window_configure_event_cb):
292 2005-06-30 Marco Pesenti Gritti <mpg@redhat.com>
298 2005-06-30 Marco Pesenti Gritti <mpg@redhat.com>
301 * shell/ev-metadata-manager.c: (item_free),
302 (ev_metadata_manager_init), (ev_metadata_manager_shutdown),
303 (parse_value), (parseItem), (load_values),
304 (ev_metadata_manager_get), (value_free), (ev_metadata_manager_set),
305 (save_values), (save_item), (get_oldest), (resize_items),
306 (ev_metadata_manager_save), (ev_metadata_manager_set_int):
307 * shell/ev-metadata-manager.h:
309 Metadata manager from gedit but modified to use GValue, so that
310 we dont need to keep converting from strings.
314 ENABLE_METADATA conditional, on when dbus is on
316 * shell/ev-application.c: (ev_application_open_uri):
318 Show the window after load so that we can initialize
319 window size before it's showed.
321 * shell/ev-window.c: (ev_window_setup_from_metadata),
322 (ev_window_open_uri), (window_configure_event_cb),
325 Save and load metadata information about window size.
326 Not yet keeping states in account.
328 * shell/main.c: (main):
330 Shutdown metadata manager.
332 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
334 * shell/ev-application-service.xml:
337 * shell/ev-application.c:
338 * shell/ev-application.h:
343 Add an optional dbus interface (--enable-dbus).
344 Rework application code, mainly to be easier to
346 Do not open multiple windows with the same document,
349 Thu Jun 30 01:50:14 2005 Jonathan Blandford <jrb@redhat.com>
351 * shell/ev-pixbuf-cache.c (clear_selection_if_needed): unref the
352 pixbuf iff it exists.
354 Thu Jun 30 01:43:00 2005 Jonathan Blandford <jrb@redhat.com>
357 * backend/ev-render-context.[ch]:
358 * backend/ev-selection.[ch]:
360 Massive changes. We now support text selection of pdfs, and not
361 just rectangular selection. This is pretty broken still, but I
362 want to get something into CVS.
364 2005-06-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
368 Fix for Bug 309080: crash on window close.
370 * shell/ev-page-action.c: (page_changed_cb):
372 Fix for Bug 309168: Fix build with gcc 2.95. Thanks to
373 jensgr@gmx.net (Jens Granseuer).
375 2005-06-25 Marcel Telka <marcel@telka.sk>
377 * configure.in (ALL_LINGUAS): Added sk.
379 2005-06-24 Carlos Garcia Campos <carlosgc@gnome.org>
381 * shell/ev-window.c: Make rotate menu entries unsensitive if there is
384 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
391 * cut-n-paste/recent-files/Makefile.am:
395 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
397 * pixbuf/pixbuf-document.c: (pixbuf_document_get_orientation),
398 (pixbuf_document_set_orientation), (rotate_pixbuf),
399 (pixbuf_document_get_page_size), (pixbuf_document_render_pixbuf),
400 (pixbuf_document_document_iface_init), (pixbuf_document_init):
402 Implement rotation and cleanup the code a bit.
404 * tiff/tiff-document.c: (tiff_document_get_page_size),
405 (tiff_document_get_orientation), (tiff_document_set_orientation),
406 (rotate_pixbuf), (tiff_document_render_pixbuf),
407 (tiff_document_document_iface_init), (tiff_document_init):
409 Implement rotation. Was the quicker solution for the release
410 but we really need to share this code in the shell.
412 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
416 Enable rotation, require poppler cvs. Fix a leak.
418 2005-06-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
420 * shell/ev-window.c: (update_action_sensitivity):
422 Make properties unsensitive if document backend doesn't provide
425 2005-06-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
427 * dvi/mdvi-lib/bitmap.c: (bitmap_alloc), (bitmap_alloc_raw),
428 (bitmap_flip_horizontally), (bitmap_flip_vertically),
429 (bitmap_flip_diagonally), (bitmap_rotate_clockwise),
430 (bitmap_rotate_counter_clockwise), (bitmap_flip_rotate_clockwise),
431 (bitmap_flip_rotate_counter_clockwise):
432 * dvi/mdvi-lib/color.c: (mdvi_push_color), (get_color_table):
433 * dvi/mdvi-lib/common.c: (read_string), (buff_free), (buff_add),
435 * dvi/mdvi-lib/common.h:
436 * dvi/mdvi-lib/dvimisc.c: (mdvi_push_color):
437 * dvi/mdvi-lib/dviread.c: (get_bytes), (dreset), (define_font),
438 (opendvi), (mdvi_reload), (mdvi_init_context),
439 (mdvi_destroy_context), (mdvi_dopage), (special):
440 * dvi/mdvi-lib/font.c: (font_drop_one), (font_free_unused):
441 * dvi/mdvi-lib/fontmap.c: (read_encoding), (destroy_encoding),
442 (file_hash_free), (register_encoding), (parse_spec),
443 (mdvi_load_fontmap), (free_ent), (mdvi_init_fontmaps),
444 (mdvi_add_fontmap_file), (mdvi_ps_read_fontmap),
445 (mdvi_ps_flush_fonts), (mdvi_ps_find_font), (mdvi_ps_get_metrics):
446 * dvi/mdvi-lib/fontsrch.c: (mdvi_list_font_class),
447 (mdvi_register_font_type), (mdvi_unregister_font_type),
448 (lookup_font), (mdvi_add_font), (mdvi_font_retry):
449 * dvi/mdvi-lib/gf.c: (gf_read_bitmap), (gf_load_font):
450 * dvi/mdvi-lib/hash.c: (mdvi_hash_remove), (mdvi_hash_remove_ptr),
451 (mdvi_hash_destroy_key), (mdvi_hash_reset):
452 * dvi/mdvi-lib/pagesel.c: (mdvi_parse_range),
453 (mdvi_parse_page_spec), (mdvi_free_page_spec), (main):
454 * dvi/mdvi-lib/paper.c: (mdvi_free_paper_specs):
455 * dvi/mdvi-lib/pk.c: (pk_lookup), (pk_lookupn), (pk_load_font):
456 * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
457 * dvi/mdvi-lib/special.c: (mdvi_register_special),
458 (mdvi_unregister_special), (mdvi_flush_specials):
459 * dvi/mdvi-lib/t1.c: (t1_lookup_font), (t1_really_load_font),
461 * dvi/mdvi-lib/tfm.c: (get_tfm_chars):
462 * dvi/mdvi-lib/tfmfile.c: (afm_load_file), (tfm_load_file),
463 (ofm1_load_file), (ofm_load_file), (get_font_metrics),
464 (free_font_metrics), (flush_font_metrics):
465 * dvi/mdvi-lib/tt.c: (tt_really_load_font), (tt_get_bitmap),
467 * dvi/mdvi-lib/util.c: (mdvi_malloc), (mdvi_realloc),
468 (mdvi_calloc), (mdvi_free), (mdvi_strdup), (mdvi_strncpy),
469 (mdvi_strndup), (mdvi_memdup), (xstradd), (dstring_append),
470 (dstring_insert), (dstring_new), (dstring_reset):
471 * dvi/mdvi-lib/vf.c: (vf_load_font), (vf_free_macros):
473 Rename xmalloc and xfree to mdvi_malloc and mdvi_free to
474 avoid conflict with libtool on FC4
476 * shell/ev-window.c: (ev_window_cmd_help_about):
478 Update copyright year. Fix for bug 308828.
480 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
482 * shell/ev-view.c: (add_scroll_binding_keypad),
483 (ev_view_binding_activated), (ev_view_class_init),
484 (on_adjustment_value_changed):
486 Bug 170874: Arrow keys switch pages in presentation mode
488 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
490 * shell/ev-window.c: (ev_window_sidebar_visibility_changed_cb):
492 Fix for Bug 308265: Sidebar dissappears coming out of
495 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
497 * shell/ev-application.c: (ev_application_open):
498 * shell/ev-document-types.c: (ev_document_types_add_filters),
499 (ev_document_types_add_filters_for_type):
500 * shell/ev-document-types.h:
501 * shell/ev-window.c: (ev_window_cmd_save_as):
503 Suggest basename as template when saving, provide filters
504 for save dialog. It's bug 308402
506 2005-06-20 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
509 * shell/ev-sidebar-links.c: (job_finished_callback):
510 * shell/ev-view.c: (update_find_status_message):
514 2005-06-19 Christian Persch <chpe@cvs.gnome.org>
516 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
517 (egg_recent_view_uimanager_set_list):
519 Fix buglet in !show_numbers case.
521 2005-06-19 Christian Persch <chpe@cvs.gnome.org>
523 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
524 (connect_proxy_cb), (egg_recent_view_uimanager_set_list):
526 Use pango ellipsisation.
530 Fix refcount leak, from nsh.
532 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
534 * cut-n-paste/recent-files/Makefile.am:
535 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
536 * cut-n-paste/recent-files/egg-recent-view-gtk.h:
538 Removed EggRecentViewGtk
540 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
541 * cut-n-paste/recent-files/egg-recent-view-uimanager.h:
542 * shell/ev-window.c: (ev_window_cmd_recent_file_activate),
543 (ev_window_setup_recent):
545 Use ViewUIManager instead of ViewGtk. Less leaks, more compatibility
548 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
550 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
551 (egg_recent_view_gtk_finalize):
555 * cut-n-paste/toolbar-editor/Makefile.am:
557 Fix location of cursor icon.
560 * shell/ev-page-action.c: (build_new_tree_cb), (match_selected_cb),
561 (display_completion_text), (match_completion):
562 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
563 (selection_changed_callback), (create_loading_model),
564 (print_section_cb), (links_page_num_func),
565 (update_page_callback_foreach):
566 * shell/ev-window.c: (ev_window_dispose):
568 Small memory fixes. Links model now store objects instead
569 of pointers to improve memory management.
571 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
573 * shell/ev-window.c: (zoom_control_changed_cb):
575 Fix update of zoom control (bug 308268).
577 Sat Jun 18 22:46:42 2005 Jonathan Blandford <jrb@redhat.com>
579 * shell/ev-properties.c (set_property): escape the text correctly.
580 Handles non-UTF-8 properties and escaped properties. Also, sets
581 the text to "<i>None</i>" if the property isn't set.
583 * data/evince-properties.glade: Change the label to be ellipsized,
584 and give it a minimum size.
586 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
588 * lib/ev-file-helpers.c: (ev_file_helpers_shutdown):
589 * shell/ev-sidebar-links.c: (create_loading_model):
590 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose):
591 * shell/ev-view.c: (ev_view_set_document):
592 * shell/ev-window.c: (ev_window_dispose):
594 Various small fixes, mostly memory leaks. Thanks to valgrind.
596 2005-06-19 Martin Kretzschmar <martink@gnome.org>
598 * ps/ps-document.c: remove the locale.h include again ;-). And
599 kill the (bogus) setlocale/savelocale business.
601 2005-06-19 Jaap A. Haitsma <jaap@haitsma.org>
605 Include locale.h to fix build
607 * shell/ev-sidebar.c:
609 Remove unnecessary includes
611 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
613 * dvi/dvi-document.c: (dvi_document_load):
614 * dvi/mdvi-lib/dviread.c: (mdvi_init_context):
617 Check for incorrect dvi files. Fix parsing dvi on AMD64
618 platform. Thanks to tester@tester.ca (Olivier Crete).
620 2005-06-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
622 * shell/ev-page-action.c: (match_selected_cb),
623 (display_completion_text), (match_completion), (update_model):
624 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
626 * shell/ev-sidebar.c: (ev_sidebar_destroy),
627 (ev_sidebar_menu_item_activate_cb), (ev_sidebar_add_page),
628 (ev_sidebar_set_document):
629 * shell/ev-window.c: (ev_window_xfer_job_cb),
630 (sidebar_widget_model_set), (sidebar_page_main_widget_update_cb):
632 Fixed lot's of memory leaks, for example, memory leak on reload,
633 described in bug 307793.
635 2005-06-18 Marco Pesenti Gritti <mpg@redhat.com>
638 * shell/ev-sidebar-thumbnails.c: (clear_range), (add_range),
639 (update_visible_range), (adjustment_changed_cb),
640 (ev_sidebar_thumbnails_fill_model),
641 (ev_sidebar_thumbnails_refresh),
642 (ev_sidebar_tree_selection_changed),
643 (ev_sidebar_icon_selection_changed),
644 (ev_sidebar_thumbnails_use_icon_view),
645 (ev_sidebar_thumbnails_set_document):
646 * shell/ev-sidebar-thumbnails.h:
647 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
648 (ev_window_cmd_edit_rotate_right), (ev_window_init):
650 Refresh thumbnails when changing orientation. Not fully
651 working yet becuase of a sidebar bug.
653 Set page orientation to poppler page everywhere. This sucks
654 really need to fix poppler.
656 2005-06-18 Marco Pesenti Gritti <mpg@redhat.com>
658 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
659 (egg_recent_view_gtk_new_menu_item),
660 (egg_recent_view_gtk_set_property),
661 (egg_recent_view_gtk_get_property),
662 (egg_recent_view_gtk_class_init), (egg_recent_view_gtk_init),
663 (egg_recent_view_gtk_set_tooltip_func),
664 (egg_recent_view_gtk_set_label_width),
665 (egg_recent_view_gtk_get_label_width):
666 * cut-n-paste/recent-files/egg-recent-view-gtk.h:
668 Sync with libegg (ellipsize labels)
670 2005-06-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
672 * data/evince-ui.xml:
673 * shell/ev-window.c: (ev_window_cmd_go_forward),
674 (ev_window_cmd_go_backward):
676 Shift + PageUp moves 10 Pages. Fix for 306125
678 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
682 Add a flag to check if orientation has been overriden
684 2005-06-17 Martin Kretzschmar <martink@gnome.org>
686 * ps/ps.c (psscan, psfree): read "Creator:" comment, free creator
689 * ps/ps.h: add creator field to document.
691 * ps/ps-document.c (ps_document_get_info): set format to PostScript,
694 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
696 * data/evince-properties.glade:
697 * shell/ev-properties.c: (ev_properties_set_document):
701 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
703 * shell/ev-properties.c: (ev_properties_set_document):
705 Remove unnecessary translations
707 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
709 * cut-n-paste/toolbar-editor/Makefile.am:
713 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
716 * cut-n-paste/recent-files/egg-recent-model.c:
717 (egg_recent_model_write_raw), (egg_recent_model_lock_file),
718 (egg_recent_model_unlock_file):
719 * cut-n-paste/recent-files/egg-recent-util.c:
720 (egg_recent_util_get_unique_id):
721 * cut-n-paste/recent-files/update-from-egg.sh:
722 * cut-n-paste/toolbar-editor/Makefile.am:
723 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
724 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
725 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
726 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
727 (egg_toolbars_model_get_type):
728 * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
730 Better makefile for toolbar editor and update everything
733 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
735 * shell/ev-window.c: (update_document_mode):
737 Prefer presentation mode when the document
740 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
742 * data/evince-ui.xml:
745 Add control-equal for zooming
747 2005-06-17 Theppitak Karoonboonyanan <thep@linux.thai.net>
749 * configure.ac: Added 'th' (Thai) to ALL_LINGUAS.
751 2005-06-16 Marco Pesenti Gritti <mpg@redhat.com>
753 * backend/ev-document.c: (ev_document_get_orientation):
754 * backend/ev-document.h:
756 * ps/ps-document.c: (ps_document_get_orientation),
757 (ps_document_set_orientation), (ps_document_document_iface_init):
759 Add a get_orientation api. Improve set_orientation.
761 * data/evince-ui.xml:
762 * shell/ev-view.c: (ev_view_set_orientation),
763 (ev_view_rotate_right), (ev_view_rotate_left):
765 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
766 (ev_window_cmd_edit_rotate_right):
768 Better ui for changing document orientation
770 2005-06-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
772 * shell/ev-sidebar-links.c: (ev_sidebar_links_get_property),
773 (ev_sidebar_links_class_init), (ev_sidebar_links_get_label):
774 * shell/ev-sidebar-links.h:
775 * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
776 (ev_sidebar_page_iface_init):
777 * shell/ev-sidebar-page.h:
778 * shell/ev-sidebar-thumbnails.c:
779 (ev_sidebar_thumbnails_get_property),
780 (ev_sidebar_thumbnails_class_init),
781 (ev_sidebar_thumbnails_set_document):
782 * shell/ev-sidebar-thumbnails.h:
783 * shell/ev-view.c: (ev_view_motion_notify_event):
784 * shell/ev-window.c: (update_chrome_visibility),
785 (ev_window_cmd_focus_page_selector),
786 (ev_window_update_fullscreen_popup), (view_actions_focus_in_cb),
787 (sidebar_page_main_widget_update_cb), (ev_window_init):
789 Autoraise toolbar on GoToPage binding and fix bindings in
790 EvSidebarThumbnails page.
792 2005-06-15 Christian Persch <chpe@cvs.gnome.org>
794 * shell/ev-properties.c: (update_progress_label):
796 Hide the progress label when finished; bug #307697.
798 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
802 Enable is_open for links, you will need poppler cvs
804 * shell/ev-properties.c: (job_fonts_finished_cb):
806 Get a lock on the document when filling the tree view
808 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
810 * backend/ev-document-links.h:
812 * shell/ev-sidebar-links.c: (create_loading_model),
813 (expand_open_links), (job_finished_callback):
815 Expand links when specified by the document.
816 Depend on a poppler api (defined out for now)
818 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
820 * shell/ev-properties.c: (ev_properties_dispose),
821 (ev_properties_class_init), (dialog_destroy_cb),
822 (ev_properties_init), (job_fonts_finished_cb), (setup_fonts_view),
823 (ev_properties_set_document), (ev_properties_new),
824 (ev_properties_show):
825 * shell/ev-properties.h:
827 Make it an object, cleanup the code, api to show it as transient
828 and to set the document.
830 * shell/ev-window.c: (ev_window_setup_document),
831 (ev_window_cmd_file_properties):
833 Adapt to EvProperties changes, do not show multiple
834 times, update it when document changes.
836 2005-06-14 Marco Pesenti Gritti <mpg@redhat.com>
839 * ps/ps-document.c: (ps_document_init), (get_page_orientation),
840 (ps_document_set_orientation), (ps_document_document_iface_init):
843 Implement orientation here too
845 * shell/ev-properties.c: (ev_properties_new):
846 * data/evince-properties.glade:
848 Hide the fonts page for backends that doesnt
851 2005-06-14 Marco Pesenti Gritti <mpg@redhat.com>
853 * backend/ev-document.c: (ev_document_set_orientation):
854 * backend/ev-document.h:
857 Add orientation api. Currently poppler api is not optimal,
858 we need to set orientation every time we _get a page.
859 I will try to fix that at some point.
861 * data/evince-ui.xml:
862 * shell/ev-window.c: (ev_window_cmd_edit_landscape),
863 (ev_window_cmd_edit_portrait), (ev_window_cmd_edit_flip):
865 Add orientation menu items
867 * shell/ev-page-cache.c: (ev_page_cache_clear):
868 * shell/ev-page-cache.h:
870 Add api to clear the cache
872 * shell/ev-view.c: (setup_caches), (clear_caches),
873 (ev_view_set_document), (ev_view_zoom_out),
874 (ev_view_set_orientation):
877 Implement orientation changing
879 2005-06-13 Marco Pesenti Gritti <mpg@redhat.com>
881 * backend/ev-document-fonts.c: (ev_document_fonts_get_progress),
882 (ev_document_fonts_scan), (ev_document_fonts_fill_model):
883 * backend/ev-document-fonts.h:
885 Separate scan and fill so that we can incrementally fill from
886 the main thread. Add a progress api.
888 * data/evince-properties.glade:
890 * shell/ev-jobs.c: (ev_job_fonts_new), (ev_job_fonts_run):
892 * shell/ev-properties.c: (update_progress_label),
893 (job_fonts_finished_cb), (setup_fonts_view):
895 Incrementally feel the list and show the progress
896 percentage in a label like acrobat does.
898 You are going to need poppler cvs
900 2005-06-11 Marco Pesenti Gritti <mpg@redhat.com>
902 * backend/ev-document-fonts.c: (ev_document_fonts_fill_model):
903 * backend/ev-document-fonts.h:
906 Make fonts model fill incrementally.
908 * shell/ev-job-queue.c: (handle_job), (search_for_jobs_unlocked),
909 (no_jobs_available_unlocked), (ev_job_queue_init), (find_queue),
910 (ev_job_queue_remove_job):
911 * shell/ev-jobs.c: (ev_job_fonts_init), (ev_job_fonts_class_init),
912 (ev_job_fonts_new), (ev_job_fonts_run):
915 New job for fonts scanning
917 * shell/ev-properties.c: (job_fonts_finished_cb),
918 (fill_fonts_treeview), (setup_fonts_view), (ev_properties_new):
919 * shell/ev-properties.h:
920 * shell/ev-window.c: (ev_window_cmd_file_properties):
922 Incrementally feel the treeview using the new job. Show Loading...
923 message until scanning is completed.
925 Hopefully I didnt break the build without the poppler patch.
927 2005-06-10 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
929 * shell/ev-application.c: (ev_application_open):
930 * shell/ev-document-types.c: (ev_document_type_from_from_mime),
931 (ev_document_type_get_type), (ev_document_type_lookup):
932 * shell/ev-document-types.h:
933 * shell/ev-job-xfer.c: (ev_job_xfer_dispose), (ev_job_xfer_run):
934 * shell/ev-job-xfer.h:
935 * shell/ev-window.c: (ev_window_clear_local_uri),
936 (ev_window_load_job_cb), (ev_window_xfer_job_cb),
937 (ev_window_open_uri), (ev_window_add_recent), (ev_window_dispose):
938 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
940 Transfer remote documents to tmp directory to display them later.
942 2005-06-10 Marco Pesenti Gritti <mpg@redhat.com>
944 * backend/ev-document-info.h:
945 * shell/ev-properties.c: (ev_properties_new):
947 s/GTime*/GTime. Not sure why we was using a pointer
950 Wed Jun 8 01:04:22 2005 Jonathan Blandford <jrb@redhat.com>
952 * shell/ev-sidebar-thumbnails.c: Use a GtkIconView in certain
953 situations. That situation is that you're using GTK+-HEAD with
954 the patch at #306726 is applied, and you have a document with <
955 1500 pages in it. It's not quite as uniformly nice as the
956 TreeView, but should be better in the long run.
958 I'm pretty sure I guarded against breaking compilation with
959 HAVE_GTK_ICON_VIEW_GET_VISIBLE_RANGE gaurds, though it's possible
962 * shell/ev-window.c (ev_window_init): We don't have our tree/list
963 widget yet, so I commented that code out
964 enable_view_actions_for_widget() for now. Need to figure this
967 * shell/ev-page-action.c (match_selected_cb): emit the right
968 signals. Our cool C-l completion now works.
970 2005-06-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
972 * backend/Makefile.am:
973 * backend/ev-document-fonts.c:
974 * backend/ev-document-links.c:
975 * backend/ev-document.c: (ev_document_load):
976 * backend/ev-document.h:
977 * backend/ev-job-queue.c:
978 * backend/ev-job-queue.h:
981 * backend/ev-page-cache.c:
982 * backend/ev-page-cache.h:
984 EvPageCache and EvJobs are moved to shell.
986 * lib/ev-file-helpers.c: (ev_file_helpers_shutdown),
988 * lib/ev-file-helpers.h:
990 New helper to work with temporary files
993 * shell/ev-application.c: (ev_application_open):
994 * shell/ev-application.h:
995 * shell/ev-job-queue.c: (remove_job_from_queue_locked),
996 (remove_job_from_async_queue), (add_job_to_async_queue),
997 (add_job_to_queue_locked), (notify_finished), (job_finished_cb),
998 (handle_job), (search_for_jobs_unlocked),
999 (no_jobs_available_unlocked), (ev_render_thread),
1000 (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
1001 (ev_job_queue_add_job), (move_job_async), (move_job),
1002 (ev_job_queue_update_job), (ev_job_queue_remove_job):
1003 * shell/ev-job-queue.h:
1004 * shell/ev-job-xfer.c: (ev_job_xfer_init), (ev_job_xfer_dispose),
1005 (ev_job_xfer_class_init), (ev_job_xfer_new), (ev_job_xfer_run):
1006 * shell/ev-job-xfer.h:
1007 * shell/ev-jobs.c: (ev_job_init), (ev_job_dispose),
1008 (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
1009 (ev_job_links_class_init), (ev_job_render_init),
1010 (ev_job_render_dispose), (ev_job_render_class_init),
1011 (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
1012 (ev_job_thumbnail_class_init), (ev_job_load_init),
1013 (ev_job_load_dispose), (ev_job_load_class_init), (ev_job_finished),
1014 (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
1015 (render_finished_cb), (ev_job_render_run), (ev_job_thumbnail_new),
1016 (ev_job_thumbnail_run), (ev_job_load_new), (ev_job_load_run):
1018 * shell/ev-page-action.c: (ev_page_action_set_document):
1019 * shell/ev-page-cache.c: (ev_page_cache_init),
1020 (ev_page_cache_class_init), (ev_page_cache_finalize),
1021 (ev_page_cache_new), (ev_page_cache_get_n_pages),
1022 (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
1023 (ev_page_cache_set_page_label), (ev_page_cache_set_link),
1024 (ev_page_cache_get_title), (ev_page_cache_get_size),
1025 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
1026 (ev_page_cache_get_height_to_page),
1027 (ev_page_cache_get_max_label_chars),
1028 (ev_page_cache_get_page_label),
1029 (ev_page_cache_has_nonnumeric_page_labels),
1030 (ev_page_cache_get_info), (ev_page_cache_next_page),
1031 (ev_page_cache_prev_page), (ev_page_cache_get):
1032 * shell/ev-page-cache.h:
1033 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_update_range),
1034 (ev_pixbuf_cache_clear_job_sizes),
1035 (ev_pixbuf_cache_add_jobs_if_needed),
1036 (ev_pixbuf_cache_set_page_range):
1037 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings):
1038 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document):
1039 * shell/ev-sidebar-thumbnails.c:
1040 (ev_sidebar_tree_selection_changed),
1041 (ev_sidebar_thumbnails_set_document):
1042 * shell/ev-statusbar.c: (ev_statusbar_destroy),
1043 (ev_statusbar_class_init), (ev_statusbar_init), (ev_statusbar_new),
1044 (ev_statusbar_get_context_id), (ev_statusbar_push),
1045 (ev_statusbar_pop), (ev_statusbar_set_maximized),
1046 (ev_statusbar_pulse), (ev_statusbar_show_progress),
1047 (ev_statusbar_set_progress):
1048 * shell/ev-statusbar.h:
1049 * shell/ev-view.c: (ev_view_set_document), (ev_view_find_next),
1050 (ev_view_find_previous):
1051 * shell/ev-window.c: (ev_window_is_empty),
1052 (ev_window_setup_document), (password_dialog_response),
1053 (ev_window_clear_jobs), (ev_window_load_job_cb),
1054 (ev_window_xfer_job_cb), (ev_window_open_uri),
1055 (ev_window_open_uri_list), (ev_window_cmd_recent_file_activate),
1056 (ev_window_print), (ev_window_print_range),
1057 (ev_window_state_event), (ev_window_cmd_view_reload),
1058 (menu_item_select_cb), (menu_item_deselect_cb),
1059 (view_status_changed_cb), (ev_window_dispose),
1060 (drag_data_received_cb), (ev_window_init):
1061 * shell/ev-window.h:
1062 * shell/main.c: (load_files):
1064 New statusbar to show progress on idle. Two new jobs -
1065 xfer job and load job to load document in background. And update
1066 of page_cache clients to new location of code.
1068 2005-06-08 Carlos Garcia Campos <carlosgc@gnome.org>
1070 * shell/ev-application.c, shell/ev-window.[ch]: Allow multiple
1071 selection in open dialog. It also remembers the last visited directory
1072 in the current session.
1074 2005-06-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1076 * shell/ev-properties.c: (ev_properties_new):
1077 * shell/ev-properties.h:
1078 * shell/ev-window.c: (ev_window_cmd_file_properties):
1080 Get document info from page cache instead of document itself.
1081 This should fix crash related to race conditions described in
1084 2005-06-07 Marco Pesenti Gritti <mpg@redhat.com>
1086 * ps/ps-document.c: (ps_document_init),
1087 (send_ps), (get_page_box), (output), (catchPipe), (input),
1088 (stop_interpreter), (file_length), (file_readable),
1089 (check_filecompressedb), (ps_document_enable_interpreter),
1090 (document_load), (ps_async_renderer_render_pixbuf):
1093 Big cleanup of the ps code
1095 2005-06-07 Marco Pesenti Gritti <mpg@redhat.com>
1097 * backend/Makefile.am:
1098 * backend/ev-async-renderer.c: (ev_async_renderer_get_type),
1099 (ev_async_renderer_class_init), (ev_async_renderer_render_pixbuf):
1100 * backend/ev-async-renderer.h:
1102 Add an async renderer interface (method + callback) which
1103 is useful for backends like ps.
1105 * backend/ev-job-queue.c: (remove_job_from_async_queue),
1106 (add_job_to_async_queue), (job_finished_cb), (handle_job),
1107 (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
1108 (ev_job_queue_add_job), (move_job_async), (move_job),
1109 (ev_job_queue_update_job), (ev_job_queue_remove_job):
1111 Add queues for async renderer, these are executed on the
1114 * backend/ev-jobs.c: (ev_job_render_new), (render_finished_cb),
1115 (ev_job_render_run):
1116 * backend/ev-jobs.h:
1118 If the backend support async renderer interface use it.
1120 * ps/ps-document.c: (ps_document_init), (push_pixbuf),
1121 (setup_pixmap), (ps_document_get_type),
1122 (ps_async_renderer_render_pixbuf),
1123 (ps_document_document_iface_init), (ps_async_renderer_iface_init):
1125 Implement async renderer interface.
1127 2005-06-07 Nickolay V. Shmyrev <<nshmyrev@yandex.ru>>
1129 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose):
1131 Cleanup links job on exit.
1133 2005-06-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1135 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
1136 (drag_data_get_cb), (drag_data_received_cb):
1137 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
1138 (drag_data_get_cb), (parse_item_list),
1139 (egg_toolbar_editor_load_actions):
1140 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
1141 (egg_toolbars_model_to_xml), (egg_toolbars_model_save),
1142 (parse_item_list), (parse_toolbars):
1143 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
1144 (dvi_pixbuf_put_pixel):
1146 Fix gcc 4.0 warnings
1148 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
1150 * ps/ps-document.c: (start_interpreter):
1152 Fix warning when loading ps
1154 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
1156 * ps/ps-document.c: (output):
1158 Fix crash when priting gs error messages.
1160 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
1162 * backend/ev-page-cache.c: (_ev_page_cache_new):
1163 * backend/ev-page-cache.h:
1165 Use a const to return title so that we dont double
1166 free it. Small cleanup and fix a leak.
1168 * shell/ev-window.c: (update_window_title):
1170 strdup value from get_title.
1172 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
1174 * shell/ev-sidebar-links.c: (job_finished_callback),
1175 (ev_sidebar_links_set_document):
1177 Cleanup the old job when changing document
1179 2005-06-05 Nickolay V. Shmyrev <<nshmyrev@yandex.ru>>
1181 * shell/ev-stock-icons.c:
1182 * shell/ev-stock-icons.h:
1183 * shell/ev-window.c:
1185 Add stock icons for actions that can appear in toolbar. Fix for
1188 2005-06-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1190 * backend/ev-page-cache.c: (ev_page_cache_finalize),
1191 (_ev_page_cache_new), (ev_page_cache_get_max_width),
1192 (ev_page_cache_get_max_height), (ev_page_cache_get_height_to_page):
1193 * backend/ev-page-cache.h:
1194 * shell/ev-view.c: (scroll_to_current_page),
1195 (view_update_range_and_current_page), (get_page_y_offset),
1196 (get_page_extents), (ev_view_size_request_continuous_dual_page),
1197 (ev_view_size_request_continuous),
1198 (ev_view_zoom_for_size_continuous_and_dual_page),
1199 (ev_view_zoom_for_size_continuous):
1201 More compact EvView layout in document with pages of different size.
1203 Sat Jun 4 19:20:57 2005 Jonathan Blandford <jrb@redhat.com>
1205 * shell/ev-window.c (ev_window_cmd_file_properties): fix
1208 2005-06-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1210 * shell/ev-view.c: (view_set_adjustment_values):
1211 * shell/ev-window.c: (ev_window_cmd_file_properties):
1213 A bit different fix for rounding problem but it has no
1214 problems on startup. Make properties window transient to parent.
1216 2005-06-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1218 * pdf/ev-poppler.cc:
1220 More commenting of font stuff.
1222 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1224 * pdf/ev-poppler.cc:
1226 Comment out some more fonts stuff. Should really
1227 work without the poppler patch now.
1229 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1231 * pdf/ev-poppler.cc:
1235 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1237 * data/evince-properties.glade:
1238 * pdf/ev-poppler.cc:
1239 * shell/ev-properties.c: (setup_fonts_view):
1241 Set the column title. Show the dialog only
1242 once everything is setup.
1243 Getting font info can be very slow... will
1244 prolly need to make this threaded too.
1246 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1248 * backend/Makefile.am:
1249 * backend/ev-document-fonts.c: (ev_document_fonts_get_type),
1250 (ev_document_fonts_get_fonts_model):
1251 * backend/ev-document-fonts.h:
1252 * data/evince-properties.glade:
1253 * pdf/ev-poppler.cc:
1254 * shell/ev-properties.c: (setup_fonts_view), (ev_properties_new):
1255 * shell/ev-properties.h:
1256 * shell/ev-window.c: (ev_window_cmd_file_properties):
1258 Implement fonts list. Defined out for now, since it depends
1259 on a not yet committed poppler patch.
1261 Fri Jun 3 21:07:57 2005 Jonathan Blandford <jrb@redhat.com>
1263 * shell/ev-view.c (get_page_extents): other_page isn't necessarily
1266 * shell/ev-window.c: Make sure we add the timeout when we get a
1269 * shell/ev-view.c (view_set_adjustment_values): Add 0.5 to
1270 adjustment->value before calculating the zoom factor to average
1271 out all of our rounding errors. The page no longer 'drifts' when
1274 2005-06-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1276 * data/evince-properties.glade:
1277 * shell/ev-properties.c: (ev_properties_format_date),
1280 Labels don't expand when the dialogue is resized.
1281 strftime result needs to be converted to UTF-8. Thanks
1282 to Christian Persch <chpe@gnome.org>.
1284 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1286 * data/evince-properties.glade:
1290 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1292 * backend/ev-document-info.h:
1293 * backend/ev-document.c: (ev_document_info_free):
1294 * data/evince-properties.glade:
1295 * pdf/ev-poppler.cc:
1296 * ps/ps-document.c: (ps_document_get_info):
1297 * shell/ev-properties.c: (ev_properties_format_date),
1298 (set_property), (ev_properties_new):
1299 * shell/ev-properties.h:
1300 * shell/ev-window.c: (ev_window_cmd_file_properties):
1302 Rework properties code to take only EvPropertyInfo
1303 in the constructor so that it can be useful for
1304 nautilus plugin too.
1306 Deal with backends that doesnt support some properties.
1307 Make set property code generic.
1309 2005-06-04 Christian Persch <chpe@gnome.org>
1311 * data/evince-properties.glade:
1313 fix spacings, make resizeable, and make data labels
1314 selectable + ellipsised
1316 2005-06-03 Marco Pesenti Gritti <mpg@redhat.com>
1318 * backend/ev-document-info.h:
1320 * data/evince-ui.xml:
1321 * pdf/ev-poppler.cc:
1322 * shell/Makefile.am:
1323 * shell/ev-window.c: (update_action_sensitivity),
1324 (ev_window_cmd_file_properties):
1326 Initial go at file properties. Patch by
1327 Emil Soleyman-Zomalan <emil@soleyman.com>.
1328 Needs love see #169583
1330 2005-06-02 Marco Pesenti Gritti <mpg@redhat.com>
1332 * ps/ps-document.c: (output):
1333 * ps/ps.c: (psscan):
1335 Try to render even if psscan fails.
1337 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
1339 * ps/ps.c: (psscan), (pscopydoc):
1341 Port buffered reading code from gv
1343 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
1345 * ps/ps-document.c: (interpreter_message), (output):
1347 Do not fail on interpreter messages
1349 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
1351 * backend/ev-document-misc.c:
1352 (ev_document_misc_get_thumbnail_frame):
1354 Pages can be 0 x 0, dont assert on this case
1356 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1358 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
1359 (ev_sidebar_links_class_init), (ev_sidebar_links_set_document):
1361 Correctly manage our reference on document. Finally the reload
1362 huge leak is gone...
1364 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1366 * ps/ps-document.c: (ps_document_dispose):
1368 Forgot to chain it to the parent. Thanks chpe.
1370 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1372 * ps/ps-document.c: (ps_document_dispose),
1373 (ps_document_class_init), (stop_interpreter), (document_load):
1375 Cleanup dispose a bit. Dont leak the whole pixmap.
1377 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1379 * pdf/ev-poppler.cc:
1381 Release the poppler document on dispose
1383 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1385 * shell/ev-view.c: (ev_view_set_document):
1387 Release ref on the pixbuf cache when changing
1390 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1392 * ps/ps-document.c: (ps_document_get_info):
1396 2005-05-31 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
1398 * backend/ev-page-cache.c: (ev_page_cache_init),
1399 (_ev_page_cache_new), (ev_page_cache_get_max_label_chars):
1400 * backend/ev-page-cache.h:
1401 * shell/ev-page-action.c: (page_changed_cb):
1403 Set page action entry width depending on labels width. Fix
1406 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1408 * backend/ev-link.c: (ev_link_class_init):
1410 Allow -1 as page value (error)
1412 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1414 * shell/ev-sidebar-thumbnails.c:
1415 (ev_sidebar_thumbnails_set_document):
1416 * shell/ev-view.c: (scroll_to_current_page),
1417 (view_set_adjustment_values), (ev_view_set_scroll_adjustments),
1418 (page_changed_cb), (on_adjustment_value_changed),
1419 (ev_view_set_document):
1421 Slightly modified patch by Nickolay V. Shmyrev <nshmyrev@yandex.ru>.
1424 2005-05-29 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1427 * djvu/djvu-document.c: (djvu_document_get_page_size):
1429 Require djvulibre CVS. Now djvu loading is much faster. Fix for
1432 Sat May 28 07:38:03 2005 Jonathan Blandford <jrb@redhat.com>
1434 * shell/ev-view.c (draw_one_page): modify the expose handling to
1437 * shell/ev-window.c (update_action_sensitivity): Respect
1438 permissions field. Kowtow to the man.
1440 * pdf/ev-poppler.cc: Get the permissions field.
1442 * tiff/*c: Make a tiny bit more robust.
1444 2005-05-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1446 * djvu/djvu-document.c:
1448 Pop messages from djvu context message queue.
1450 2005-05-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1452 * configure.ac, Makefile.am, shell/Makefile.am:
1453 * tiff/Makefile.am, shell/ev-document-types.c:
1455 Cleanup tiff configure checks. Fix for bug 305218.
1457 2005-05-24 Maxim V. Dziumanenko <mvd@mylinux.ua>
1459 * configure.ac: Added "uk" to ALL_LINGUAS.
1461 2005-05-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1463 * cut-n-paste/zoom-control/ephy-zoom.c:
1464 (ephy_zoom_get_changed_zoom_level):
1465 * cut-n-paste/zoom-control/ephy-zoom.h:
1466 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_set_property),
1467 (ev_view_get_property), (ev_view_class_init), (ev_view_set_zoom):
1468 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
1469 (ev_window_cmd_view_zoom_out), (ev_window_zoom_changed_cb),
1470 (zoom_control_changed_cb), (ev_window_init):
1472 Fix minor points related to moving best fit up. Introduce
1473 "zoom" property and make zoom control change it's value on
1474 notify::zoom signals. Fix for 305080.
1476 2005-05-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1478 * data/evince-ui.xml:
1479 * shell/ev-window.c: (set_view_actions_sensitivity):
1481 Use + and - as accels for zoom in and zoom out. Fix for 305001.
1483 2005-05-22 Marco Pesenti Gritti <mpg@redhat.com>
1487 Depends on poppler 0.3.2
1489 2005-05-22 Marco Pesenti Gritti <mpg@redhat.com>
1491 * cut-n-paste/recent-files/egg-recent-item.c:
1492 (egg_recent_item_get_short_name):
1493 * cut-n-paste/toolbar-editor/Makefile.am:
1494 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
1495 (new_pixbuf_from_widget):
1496 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
1497 * cut-n-paste/toolbar-editor/egg-marshal.c:
1498 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
1499 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
1503 Sat May 21 23:18:30 2005 Jonathan Blandford <jrb@redhat.com>
1505 * tiff/tiff-document.c: Rough TIFF backend.
1507 2005-05-21 Marco Pesenti Gritti <mpg@redhat.com>
1511 * cut-n-paste/toolbar-editor/Makefile.am:
1515 2005-05-21 Marco Pesenti Gritti <mpg@redhat.com>
1517 * shell/ev-view.c: (jump_to_find_result), (ev_view_can_find_next),
1518 (ev_view_find_next), (ev_view_find_previous):
1520 Remove the locks around get_n_results
1522 2005-05-21 Juerg Billeter <j@bitron.ch>
1524 * pdf/ev-poppler.c: (pdf_document_ps_exporter_begin):
1526 Pass correct number of pages to poppler.
1528 2005-05-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1532 * data/evince.desktop.in:
1533 * data/evince.desktop.in.in:
1536 Add conditionally dvi and djvu to desktop types. Fix for 304658.
1538 Sat May 21 00:21:30 2005 Jonathan Blandford <jrb@redhat.com>
1540 * shell/ev-view.c: (view_update_adjustments),
1541 (view_set_adjustment_values): cast adjustmen->value to (int)
1542 before using it. Otherwise, we get off by a pixel in some
1545 (draw_one_page): Draw the border on expose.
1547 Fri May 20 22:05:25 2005 Jonathan Blandford <jrb@redhat.com>
1549 * *shell/ev-view.c: Patch from Nickolay V. Shmyrev to reset the
1550 adjustment when the mode changes, #304923
1552 Fri May 20 02:00:03 2005 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1554 * shell/ev-view.c: Use gdk_widget_queue_draw to remove
1555 flickering on resize but still use gdk_window_scroll on
1558 Fri May 20 01:46:57 2005 Jonathan Blandford <jrb@redhat.com>
1560 * shell/ev-view.c: Patch from Nickolay Shmyrev to fix the -p
1563 Fri May 20 01:27:01 2005 Jonathan Blandford <jrb@redhat.com>
1565 * shell/ev-view.c: Patch from Nickolay Shmyrev to to scroll to
1566 second page on page_changed if possible, #304669
1568 Fri May 20 01:07:15 2005 Jonathan Blandford <jrb@redhat.com>
1570 * shell/ev-view.c (view_update_adjustments): Use gdk_window_scroll
1571 instead of gtk_widget_queue_draw. Massive speedups in scrolling.
1573 Fri May 20 01:05:10 2005 Jonathan Blandford <jrb@redhat.com>
1576 * shell/ev-view.c:(ev_view_size_allocate), (ev_view_class_init),
1577 (zoom_for_size_fit_width), (zoom_for_size_best_fit),
1578 (ev_view_zoom_for_size_presentation),
1579 (ev_view_zoom_for_size_continuous_and_dual_page),
1580 (ev_view_zoom_for_size_continuous),
1581 (ev_view_zoom_for_size_dual_page),
1582 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size):
1584 * shell/ev-window.c: (update_view_size),
1585 (ev_window_sizing_mode_changed_cb):
1587 Patch from Nickolay Shmyrev <nshmyrev@yandex.ru> to handle
1588 the scrollbars. It's not 100% right, but it's much closer. Kills
1589 an infinite loop, #304769
1592 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
1594 * data/evince-ui.xml:
1595 * shell/ev-view.c: (ev_view_scroll_view), (ev_view_class_init):
1596 * shell/ev-window.c: (set_view_actions_sensitivity):
1598 Make PgUp/Down behave like Space
1600 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
1602 * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
1603 * backend/ev-ps-exporter.h:
1604 * pdf/ev-poppler.cc:
1605 * ps/ps-document.c: (ps_document_ps_export_begin):
1606 * shell/ev-print-job.c: (idle_print_handler):
1608 Adapt to new poppler api
1610 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
1612 * cut-n-paste/zoom-control/ephy-zoom-control.c:
1613 (ephy_zoom_control_init):
1615 Translate zoom levels
1617 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
1619 * cut-n-paste/zoom-control/ephy-zoom.c:
1620 (ephy_zoom_get_zoom_level_index):
1622 Fix current zoom -> zoom control match
1624 2005-05-18 James Bowes <bowes@cs.dal.ca>
1626 * shell/ev-window.c: (ev_window_init): Give focus to the ev-view,
1627 rather than the scrolled_window that it's in. Fixes bug #304655.
1629 Tue May 17 22:54:17 2005 Jonathan Blandford <jrb@redhat.com>
1631 * shell/ev-view.c: (view_update_adjustments),
1632 (view_set_adjustment_values), (view_update_range_and_current_page),
1633 (view_scroll_to_page), (set_scroll_adjustment),
1634 (ev_view_set_scroll_adjustments), (add_scroll_binding_keypad),
1635 (ev_view_scroll), (ev_view_scroll_view),
1636 (ensure_rectangle_is_visible), (find_page_at_location),
1637 (get_link_at_location), (go_to_link), (status_message_from_link),
1638 (ev_view_size_request_continuous_dual_page),
1639 (ev_view_size_request), (ev_view_size_allocate), (ev_view_realize),
1640 (ev_view_unrealize), (ev_view_expose_event),
1641 (ev_view_button_press_event), (ev_view_motion_notify_event),
1642 (ev_view_button_release_event), (ev_gdk_color_to_rgb),
1643 (draw_rubberband), (highlight_find_results), (draw_one_page),
1644 (ev_view_finalize), (ev_view_destroy), (ev_view_class_init),
1645 (ev_view_init), (find_changed_cb), (page_changed_cb),
1646 (on_adjustment_value_changed), (ev_view_new),
1647 (ev_view_set_document), (ev_view_set_zoom),
1648 (ev_view_set_continuous), (ev_view_set_dual_page),
1649 (ev_view_set_presentation), (ev_view_zoom_in), (ev_view_zoom_out),
1650 (zoom_for_size_fit_width), (zoom_for_size_best_fit),
1651 (ev_view_zoom_for_size_presentation),
1652 (ev_view_zoom_for_size_continuous_dual_page),
1653 (ev_view_zoom_for_size_continuous),
1654 (ev_view_zoom_for_size_dual_page),
1655 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
1656 (ev_view_get_status), (ev_view_set_status),
1657 (update_find_status_message), (ev_view_get_find_status),
1658 (ev_view_set_find_status), (jump_to_find_result),
1659 (jump_to_find_page), (compute_selections), (clear_selection),
1660 (ev_view_select_all), (get_selected_text), (ev_view_copy),
1661 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
1662 (ev_view_update_primary_selection),
1663 (ev_view_create_invisible_cursor), (ev_view_set_cursor):
1665 * shell/ev-window.c: (ev_window_open_page_label),
1666 (ev_window_cmd_view_reload), (ev_window_sizing_mode_changed_cb),
1668 * shell/ev-window.h:
1669 * shell/main.c: (load_files):
1671 Massive code clean up from Nickolay Shmyrev. Keep page offset
1672 when resizing. Remove the bin_window(). Also, patch from James
1673 Bowes to fix command line page, #300641
1675 2005-05-17 Marco Pesenti Gritti <mpg@redhat.com>
1677 * data/evince-ui.xml:
1680 * shell/ev-window.c: (update_action_sensitivity):
1682 Get rid of View->Normal Size, it's just confusing
1684 Tue May 17 00:51:21 2005 Jonathan Blandford <jrb@redhat.com>
1686 * backend/ev-document-info.h:
1687 * backend/ev-document.c: (ev_document_info_free): Free the
1690 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
1691 (clear_range), (add_range), (update_visible_range),
1692 (adjustment_changed_cb), (ev_sidebar_thumbnails_init),
1693 (ev_sidebar_thumbnails_set_document):
1694 * shell/ev-window.c: (ev_window_setup_document): Only render the
1695 visible thumbnails. It takes an instant to render, but it uses
1698 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
1700 * shell/ev-sidebar-links.c: (popup_menu_cb):
1704 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
1707 * shell/ev-sidebar-links.c: (build_popup_menu), (popup_menu_cb),
1708 (button_press_cb), (ev_sidebar_links_construct):
1710 Show the popup menu also on keybindings
1712 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
1714 * shell/ev-window.c: (ev_window_print), (ev_window_print_range):
1715 * shell/ev-window.h:
1717 Expose api to print a range (with dialog). Make private _print use
1720 * shell/ev-sidebar-links.c: (print_section_cb), (button_press_cb),
1721 (ev_sidebar_links_construct):
1723 Show a print context menu on linkx, it prints the selected
1726 2005-05-15 Carlos Garcia Campos <carlosgc@gnome.org>
1728 * shell/ev-sidebar.c: make the drop down menu as width as the toggle
1731 2005-05-12 Marco Pesenti Gritti <mpg@redhat.com>
1737 * shell/ev-window.c: (build_comments_string),
1738 (ev_window_cmd_help_about):
1740 Show poppler version/backend and authors
1742 2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
1744 * cut-n-paste/zoom-control/ephy-zoom.c:
1745 (ephy_zoom_get_zoom_level_index):
1746 * cut-n-paste/zoom-control/ephy-zoom.h:
1748 Move the best fit items at the top of the list
1750 2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
1752 * shell/ev-marshal.list:
1753 * shell/ev-page-action.c: (ev_page_action_widget_class_init),
1754 (activate_cb), (match_selected_cb), (activate_link_cb),
1755 (connect_proxy), (ev_page_action_class_init):
1756 * shell/ev-page-action.h:
1758 Use signals to notify action activation. Hopefully
1759 I did not break completion since I cant test...
1761 * shell/ev-window.c: (activate_link_cb), (activate_label_cb),
1762 (register_custom_actions):
1764 Connect to page selector actions and also grab focus on
1765 the view when activated.
1767 Wed May 11 01:18:29 2005 Jonathan Blandford <jrb@redhat.com>
1769 * pdf/ev-poppler.cc:
1770 * backend/ev-page-cache.c: make page size calculation consistent
1771 and set it to (int)( width * scale + 0.5). This makes the weird
1772 line going through the middle of the page go away.
1774 * shell/ev-view.c: move painting the background page after
1775 checking the expose area covers us.
1777 2005-05-11 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1779 * data/evince-password.glade:
1781 Mark labels as not translatable. Fix for bug 302842.
1783 2005-05-10 Francisco Javier F. Serrador <serrador@cvs.gnome.org>
1785 * configure.ac: Added "es" to ALL_LINGUAS.
1787 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
1789 * data/evince-toolbar.xml:
1790 * shell/ev-window.c: (update_action_sensitivity),
1791 (ev_window_setup_document), (ev_window_set_page_mode),
1794 Remove some leftover code from jrb first continous
1795 attempt. Use the new actions, we still need good icons
1798 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
1800 * shell/ev-page-action.c: (update_pages_label), (connect_proxy):
1802 Update label when connecting proxy. Fix a warning with NULL
1805 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
1807 * data/evince-ui.xml:
1808 * shell/ev-page-action.c: (ev_page_action_grab_focus):
1809 * shell/ev-page-action.h:
1810 * shell/ev-window.c: (ev_window_cmd_focus_page_selector):
1812 Add mnemonic for edit toolbar.
1813 ctrl+l focus the page entry.
1815 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
1818 * shell/ev-window.c: (ev_window_cmd_edit_toolbar_cb),
1820 * shell/main.c: (main):
1822 Put the toolbar xml in evince own dot dir
1824 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
1826 * shell/ev-window.c: (ev_window_init):
1828 Make the toolbar not removable
1830 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
1832 * data/evince-ui.xml:
1833 * shell/ev-sidebar-links.c: (ev_sidebar_links_get_treeview):
1834 * shell/ev-sidebar-links.h:
1835 * shell/ev-sidebar-thumbnails.c:
1836 (ev_sidebar_thumbnails_get_treeview):
1837 * shell/ev-sidebar-thumbnails.h:
1838 * shell/ev-view.c: (ev_view_scroll), (ev_view_scroll_view),
1839 (ev_view_class_init):
1841 * shell/ev-window.c: (update_action_sensitivity),
1842 (ev_window_cmd_scroll_forward), (ev_window_cmd_scroll_backward),
1843 (set_view_actions_sensitivity), (view_actions_focus_in_cb),
1844 (view_actions_focus_out_cb), (enable_view_actions_for_widget),
1847 This is evil... Make space/backspace global accelerators but
1848 enable them only for some widgets (sidebars and view).
1849 I dont like it, but I dont know a better way... :/
1851 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
1853 * shell/ev-page-action.c: (ev_page_action_widget_set_page_cache),
1854 (ev_page_action_widget_finalize),
1855 (ev_page_action_widget_class_init), (update_page_cache):
1857 Keep a weak reference on proxy->page_cache so that we
1858 dont try to disconnect the signal if the object is already
1859 gone. Maybe there is a better way to cleanup reference handling
1860 in page action though...
1862 2005-05-10 Juerg Billeter <j@bitron.ch>
1864 * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
1865 * backend/ev-ps-exporter.h:
1866 * pdf/ev-poppler.cc: (pdf_document_ps_exporter_begin):
1867 * ps/ps-document.c: (ps_document_ps_export_begin):
1869 Change api to pass print range to ps_exporter_begin. The pdf backend
1870 requires this information.
1872 * shell/ev-print-job.c: (idle_print_handler):
1876 2005-05-10 Juerg Billeter <j@bitron.ch>
1878 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
1879 (idle_print_handler)
1880 * shell/ev-window.c: (ev_window_print):
1882 Support printing page range, based on patch by Amaury Jacquot
1884 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
1886 * data/evince-toolbar.xml:
1888 Add zoom control to available items
1890 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
1892 * shell/ev-window.c: (update_action_sensitivity):
1894 Set slash action insensitive when appropriate
1896 2005-05-10 Christian Persch <chpe@gnome.org>
1898 * cut-n-paste/zoom-control/ephy-zoom-action.c: (create_menu_item):
1900 Fix warning on the overflow menu
1902 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
1904 * shell/ev-window.c: (sanity_check_uri), (ev_window_open):
1906 Check for uri correctness/existence
1908 2005-05-09 Juerg Billeter <j@bitron.ch>
1910 * shell/ev-window.c: (using_postscript_printer):
1912 LPD printers use postscript, too
1914 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
1916 * shell/ev-window.c: (register_custom_actions):
1918 The zoom one is actually sort of useful,
1921 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
1923 * shell/ev-window.c: (register_custom_actions):
1925 Hide page/zoom controls from overflow, they
1928 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
1930 * cut-n-paste/update-from-egg.sh:
1932 Share it between all cut-n-paste subdirs
1934 * cut-n-paste/recent-files/Makefile.am:
1936 Fix to use "global" update-from-egg.sh
1938 * cut-n-paste/recent-files/egg-recent-model.c:
1939 (egg_recent_model_changed_timeout), (egg_recent_model_finalize):
1940 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
1941 (egg_recent_view_gtk_clear), (egg_recent_view_gtk_set_list),
1942 (egg_recent_view_gtk_finalize), (egg_recent_view_gtk_set_menu):
1946 * cut-n-paste/toolbar-editor/Makefile.am:
1948 Fix to use "global" update-from-egg.sh
1950 * cut-n-paste/toolbar-editor/eggmarshalers.list:
1954 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
1957 * cut-n-paste/Makefile.am:
1958 * cut-n-paste/recent-files/Makefile.am:
1959 * cut-n-paste/toolbar-editor/.cvsignore:
1960 * cut-n-paste/toolbar-editor/Makefile.am:
1961 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
1962 (egg_editable_toolbar_get_type), (get_toolbar_position),
1963 (get_n_toolbars), (get_dock_nth), (get_toolbar_nth), (find_action),
1964 (drag_data_delete_cb), (drag_begin_cb), (drag_end_cb),
1965 (drag_data_get_cb), (set_drag_cursor), (unset_drag_cursor),
1966 (set_item_drag_source), (create_item_from_action), (create_item),
1967 (data_is_separator), (drag_data_received_cb), (remove_toolbar_cb),
1968 (popup_toolbar_context_menu_cb), (free_dragged_item),
1969 (toolbar_drag_drop_cb), (toolbar_drag_motion_cb),
1970 (toolbar_drag_leave_cb), (create_dock), (set_fixed_style),
1971 (unset_fixed_style), (toolbar_changed_cb), (unparent_fixed),
1972 (update_fixed), (toolbar_added_cb), (toolbar_removed_cb),
1973 (item_added_cb), (item_removed_cb),
1974 (egg_editable_toolbar_construct),
1975 (egg_editable_toolbar_disconnect_model),
1976 (egg_editable_toolbar_deconstruct),
1977 (egg_editable_toolbar_set_model),
1978 (egg_editable_toolbar_set_ui_manager),
1979 (egg_editable_toolbar_set_property),
1980 (egg_editable_toolbar_get_property),
1981 (egg_editable_toolbar_class_init), (egg_editable_toolbar_init),
1982 (egg_editable_toolbar_finalize), (egg_editable_toolbar_new),
1983 (egg_editable_toolbar_new_with_model),
1984 (egg_editable_toolbar_get_edit_mode),
1985 (egg_editable_toolbar_set_edit_mode), (egg_editable_toolbar_show),
1986 (egg_editable_toolbar_hide), (egg_editable_toolbar_set_fixed),
1987 (egg_editable_toolbar_set_drag_dest), (fake_expose_widget),
1988 (new_pixbuf_from_widget), (new_separator_pixbuf),
1989 (update_separator_image), (style_set_cb),
1990 (_egg_editable_toolbar_new_separator_image),
1991 (egg_editable_toolbar_get_model):
1992 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
1993 * cut-n-paste/toolbar-editor/egg-marshal.c:
1994 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
1995 (egg_toolbar_editor_get_type), (compare_actions), (find_action),
1996 (egg_toolbar_editor_set_ui_manager), (toolbar_removed_cb),
1997 (egg_toolbar_editor_set_model), (egg_toolbar_editor_set_property),
1998 (egg_toolbar_editor_get_property), (egg_toolbar_editor_class_init),
1999 (egg_toolbar_editor_finalize), (egg_toolbar_editor_new),
2000 (drag_begin_cb), (drag_end_cb), (editor_drag_data_received_cb),
2001 (editor_drag_data_delete_cb), (drag_data_get_cb),
2002 (elide_underscores), (set_drag_cursor), (event_box_realize_cb),
2003 (editor_create_item), (update_editor_sheet), (setup_editor),
2004 (egg_toolbar_editor_init), (egg_toolbar_editor_add_action),
2005 (parse_item_list), (model_has_action), (update_actions_list),
2006 (egg_toolbar_editor_load_actions):
2007 * cut-n-paste/toolbar-editor/egg-toolbar-editor.h:
2008 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
2009 (egg_toolbars_model_get_type), (egg_toolbars_model_to_xml),
2010 (safe_save_xml), (egg_toolbars_model_save), (toolbars_toolbar_new),
2011 (toolbars_item_new), (free_toolbar_node), (free_item_node),
2012 (egg_toolbars_model_get_flags), (egg_toolbars_model_set_flags),
2013 (egg_toolbars_model_add_separator), (impl_add_item),
2014 (parse_item_list), (egg_toolbars_model_add_toolbar),
2015 (parse_toolbars), (egg_toolbars_model_load), (impl_get_item_id),
2016 (impl_get_item_data), (impl_get_item_type),
2017 (_egg_accumulator_STRING), (egg_toolbars_model_class_init),
2018 (egg_toolbars_model_init), (free_toolbar),
2019 (egg_toolbars_model_finalize), (egg_toolbars_model_new),
2020 (egg_toolbars_model_remove_toolbar),
2021 (egg_toolbars_model_remove_item), (egg_toolbars_model_move_item),
2022 (egg_toolbars_model_n_items), (egg_toolbars_model_item_nth),
2023 (egg_toolbars_model_n_toolbars), (egg_toolbars_model_toolbar_nth),
2024 (egg_toolbars_model_add_item), (egg_toolbars_model_get_item_id),
2025 (egg_toolbars_model_get_item_data),
2026 (egg_toolbars_model_get_item_type):
2027 * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
2028 * cut-n-paste/toolbar-editor/eggmarshalers.list:
2030 * data/evince-toolbar.xml:
2031 * data/evince-ui.xml:
2032 * data/hand-open.png:
2034 * shell/Makefile.am:
2035 * shell/ev-window.c: (update_chrome_visibility),
2036 (ev_window_cmd_edit_toolbar_cb), (ev_window_cmd_edit_toolbar),
2037 (ev_window_dispose), (ev_window_init):
2039 Implement epiphany like toolbar editor. Based on patch by
2040 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2042 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2044 * shell/ev-sidebar-thumbnails.c: (page_changed_cb):
2046 Use set_cursor instead of set_selection, so that
2047 the keyboard focus moves too.
2049 2005-05-09 Aleksey Kliger <akliger@gmail.com>
2051 * dvi/mdvi-lib/tfmfile.c: (lookup_font_metrics):
2053 Fix infinite loop when loading Type1 fonts
2055 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2057 * data/evince-ui.xml:
2058 * shell/ev-window.c:
2062 2005-05-09 Thomas de Grenier de Latour <degrenier@easyconnect.fr>
2066 Make --disable really disable
2068 2005-05-07 Juerg Billeter <j@bitron.ch>
2070 * backend/ev-page-cache.c: (ev_page_cache_set_page_label):
2072 Compare page labels even without has_labels set, fixes setting page
2075 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2077 * shell/ev-view.c: (ev_view_create_invisible_cursor),
2078 (ev_view_set_cursor), (ev_view_button_press_event),
2079 (ev_view_motion_notify_event), (ev_view_button_release_event),
2082 Implement middle button scrolling. Based on a patch
2083 by Tommi Komulainen <tommi.komulainen@iki.fi>.
2085 2005-05-08 Marco Pesenti Gritti <mpg@redhat.com>
2087 * shell/ev-document-types.c: (get_slow_mime_type),
2088 (get_document_type_from_mime), (ev_document_type_lookup):
2089 * shell/ev-document-types.h:
2091 Change api to lookup from uri. Do fast lookup first, if the
2092 type is unknown try with data sniffing.
2094 * shell/ev-window.c: (ev_window_open), (ev_window_open_uri_list):
2095 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
2099 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2101 * thumbnailer/Makefile.am:
2105 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2112 * data/evince-ui.xml:
2114 Hide presentation mode for now
2116 * shell/ev-view.c: (highlight_find_results):
2118 Show current find selection only on current page
2120 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2122 * shell/ev-view.c: (ev_view_select_all):
2124 Compute size of the actual page, not of
2127 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2129 * shell/ev-view.c: (clear_selection), (ev_view_finalize),
2130 (view_rect_to_doc_rect), (compute_selections),
2131 (ev_view_bin_expose), (ev_view_select_all), (get_selected_text),
2132 (ev_view_copy), (ev_view_primary_get_cb),
2133 (ev_view_primary_clear_cb), (ev_view_update_primary_selection),
2134 (ev_view_button_press_event), (ev_view_motion_notify_event),
2135 (ev_view_button_release_event), (page_changed_cb):
2139 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2141 * shell/ev-view.c: (compute_border), (get_page_extents),
2142 (doc_rect_to_view_rect), (highlight_find_results),
2143 (ev_view_bin_expose), (ev_view_select_all),
2144 (ev_view_motion_notify_event), (update_find_status_message),
2145 (jump_to_find_result), (jump_to_find_page):
2147 First go at fixing search, still buggy
2149 2005-05-04 Kristian Høgsberg <krh@redhat.com>
2151 * shell/ev-sidebar.c (ev_sidebar_init): Remove frame around
2152 dropdown box and button at the top of the sidebar.
2154 2005-05-02 James Bowes <bowes@cs.dal.ca>
2156 * configure.ac: Output zoom-control Makefile.
2157 * cut-n-paste/Makefile.am: build zoom-control subdir.
2158 * cut-n-paste/zoom-control/ephy-zoom-action.c:
2159 * cut-n-paste/zoom-control/ephy-zoom-action.h:
2160 * cut-n-paste/zoom-control/ephy-zoom-control.c:
2161 * cut-n-paste/zoom-control/ephy-zoom-control.h:
2162 * cut-n-paste/zoom-control/ephy-zoom.c:
2163 * cut-n-paste/zoom-control/ephy-zoom.h: New files imported
2164 from epiphany, and modified to add a separator into the menu.
2165 * cut-n-paste/zoom-control/Makefile.am: Build zoom-control.
2166 * data/evince-ui.xml: Replace old zoom toolbar actions with new
2167 zoom-control action.
2168 * shell/Makefile.am: Include zoom-control flags.
2169 * shell/ev-view.c: (ev_view_set_zoom), (ev_view_get_zoom),
2170 (ev_view_get_sizing_mode), (ev_view_zoom_in), (ev_view_zoom_out),
2171 (ev_view_zoom_for_size_presentation),
2172 (ev_view_zoom_for_size_continuous_and_dual_page),
2173 (ev_view_zoom_for_size_continuous),
2174 (ev_view_zoom_for_size_dual_page),
2175 (ev_view_zoom_for_size_single_page), (ev_view_zoom_normal):
2176 s/ev_view_zoom/ev_view_set_zoom/ and make public, add
2177 ev_view_get_zoom and ev_view_get_sizing_mode.
2179 * shell/ev-window.c: (update_action_sensitivity),
2180 (update_sizing_buttons), (zoom_control_changed_cb),
2181 (register_custom_actions): Initialize and use the zoom-control
2184 Sun May 1 00:46:47 2005 Jonathan Blandford <jrb@redhat.com>
2186 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init): Change the
2187 preview cache back to 1. Don't know when it got set to 0.
2189 * shell/ev-view.c: (compute_border), (ev_view_realize),
2190 (draw_one_page), (ev_view_set_property), (ev_view_get_property),
2191 (ev_view_class_init), (ev_view_init), (ev_view_set_fullscreen),
2192 (ev_view_get_fullscreen), (ev_view_set_presentation),
2193 (ev_view_get_presentation), (ev_view_set_sizing_mode),
2194 (ev_view_zoom_for_size_presentation), (ev_view_set_zoom_for_size):
2196 * shell/ev-window.c:
2197 (update_chrome_visibility),
2198 (ev_window_cmd_continuous), (ev_window_cmd_dual),
2199 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
2200 (update_document_mode), (ev_window_update_fullscreen_action),
2201 (ev_window_fullscreen), (ev_window_unfullscreen),
2202 (ev_window_cmd_view_fullscreen),
2203 (ev_window_update_presentation_action),
2204 (ev_window_run_presentation), (ev_window_stop_presentation),
2205 (ev_window_cmd_view_presentation), (ev_window_state_event),
2206 (ev_window_focus_in_event), (ev_window_focus_out_event),
2207 (ev_window_cmd_escape), (ev_window_sidebar_visibility_changed_cb):
2208 * data/evince-ui.xml: Initial presentation mode. We should
2209 probably hide this until it's done, as it's quite rough. Also,
2210 change full-screen to fullscreen and add two getters to EvView.
2212 2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
2214 * shell/ev-page-action.c: (update_page_cache),
2215 (ev_page_action_dispose):
2216 * shell/ev-window.c: (destroy_fullscreen_popup),
2217 (ev_window_create_fullscreen_popup):
2219 Use connect_object rather than explicitly
2220 disconnect on dispose.
2222 2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
2224 * shell/ev-page-action.c: (update_page_cache),
2225 (ev_page_action_dispose):
2227 2005-04-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2229 * backend/ev-page-cache.c: (_ev_page_cache_new),
2230 (ev_page_cache_set_page_label),
2231 (ev_page_cache_has_nonnumeric_page_labels):
2232 * backend/ev-page-cache.h:
2233 * shell/ev-page-action.c: (update_pages_label):
2235 If all page labels are numeric, fallback to default
2236 way to display number of pages. See bug 173185.
2238 2005-04-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2240 * shell/ev-page-action.c: (ev_page_action_dispose):
2241 * shell/ev-view.c: (view_update_range_and_current_page):
2242 * shell/ev-window.c: (ev_window_dispose):
2244 Set page on scroll in continuous mode. Fixes bug 301986.
2245 Also cleanup callbacks on destroy of EvWindow and EvPageAction.
2247 2005-04-26 Marco Pesenti Gritti <mpg@redhat.com>
2251 Require poppler 0.3.0
2253 2005-04-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2255 * shell/Makefile.am, configure.ac: Fix build problems
2256 with t1lib. Bug 301996.
2258 2005-04-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2260 * shell/ev-view.c: (ev_view_scroll_event):
2262 Scroll up increase zoom
2264 2005-04-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2266 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_class_init),
2267 (ev_view_set_sizing_mode),
2268 (ev_view_zoom_for_size_continuous_and_dual_page),
2269 (ev_view_zoom_for_size_continuous):
2270 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
2271 (ev_window_cmd_view_page_width), (ev_window_cmd_view_zoom_in),
2272 (ev_window_cmd_view_zoom_out), (ev_window_sizing_mode_changed_cb),
2275 Control + Scroll does zooming, Shift + Scroll scrolls horizontally
2276 Fix for 165473 and 165472.
2278 2005-04-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2281 * thumbnailer/Makefile.am:
2282 * thumbnailer/evince-thumbnailer-djvu.schemas.in:
2283 * thumbnailer/evince-thumbnailer-dvi.schemas.in:
2284 * thumbnailer/evince-thumbnailer.schemas.in:
2286 Make thumbnailer schemas translatable. Fix for bug 301773
2288 * thumbnailer/evince-thumbnailer-djvu.schemas:
2289 * thumbnailer/evince-thumbnailer-dvi.schemas:
2290 * thumbnailer/evince-thumbnailer.schemas:
2294 Sun Apr 24 01:37:39 2005 Jonathan Blandford <jrb@redhat.com>
2296 * shell/ev-view.c (ev_view_init): forgot to set this.
2298 Sun Apr 24 01:07:27 2005 Jonathan Blandford <jrb@redhat.com>
2300 * shell/ev-view.c: (find_page_at_location),
2301 (get_link_at_location),
2302 (ev_view_set_show_border), (ev_view_set_spacing),
2303 (ev_view_zoom_for_size_continuous_and_dual_page),
2304 (ev_view_zoom_for_size_continuous): Fix links for dual/continuous.
2305 Also, add a quick fix measuring of widths. Also, removed
2306 ev_view_set_spacing and ev_view_set_show_border.
2308 * shell/ev-window.c: (ev_window_unfullscreen),
2309 (ev_window_cmd_view_fullscreen): Don't adjust the border/spacing.
2311 2005-04-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2313 * shell/ev-view.c: (view_update_range_and_current_page),
2316 Fix crash on exit and scrolling to page in continuous view.
2318 Sat Apr 23 13:13:04 2005 Jonathan Blandford <jrb@redhat.com>
2321 * backend/ev-page-cache.c: (_ev_page_cache_new),
2322 (ev_page_cache_get_max_width_size),
2323 (ev_page_cache_get_max_height_size):
2324 * backend/ev-page-cache.h:
2325 * data/evince-ui.xml:
2326 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init):
2327 * shell/ev-view.c: (view_update_adjustments),
2328 (view_update_range_and_current_page), (get_bounding_box_size),
2329 (ev_view_size_request_continuous_and_dual_page),
2330 (ev_view_size_request_continuous),
2331 (ev_view_size_request_dual_page),
2332 (ev_view_size_request_single_page), (ev_view_size_request),
2333 (ev_view_size_allocate), (get_page_extents), (draw_one_page),
2334 (ev_view_bin_expose), (ev_view_expose_event),
2335 (ev_view_set_property), (ev_view_get_property),
2336 (ev_view_class_init), (ev_view_init), (ev_view_new),
2337 (page_changed_cb), (ev_view_zoom), (ev_view_set_continuous),
2338 (ev_view_set_dual_page), (ev_view_set_full_screen),
2339 (ev_view_set_presentation), (ev_view_set_sizing_mode),
2340 (ev_view_can_zoom_in), (ev_view_can_zoom_out), (ev_view_zoom_in),
2341 (ev_view_zoom_out), (zoom_for_size_fit_width),
2342 (zoom_for_size_best_fit),
2343 (ev_view_zoom_for_size_continuous_and_dual_page),
2344 (ev_view_zoom_for_size_continuous),
2345 (ev_view_zoom_for_size_dual_page),
2346 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
2347 (ev_view_show_cursor), (ev_sizing_mode_get_type):
2349 * shell/ev-window.c: (update_action_sensitivity),
2350 (ev_window_cmd_continuous), (ev_window_cmd_dual),
2351 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
2352 (update_sizing_buttons), (ev_window_cmd_view_zoom_in),
2353 (ev_window_cmd_view_zoom_out), (update_view_size),
2354 (ev_window_set_sizing_mode), (ev_window_init):
2356 Add Continuous and Dual page modes.
2358 2005-04-23 James Bowes <bowes@cs.dal.ca>
2360 * dvi/dvi-document.c: (dvi_document_load),
2361 (dvi_document_thumbnails_get_thumbnail),
2362 (dvi_document_init_params): Fix up some mixups between
2363 width and height to correct thumbnail rendering.
2365 2005-04-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2367 * dvi/mdvi-lib/private.h:
2368 * dvi/mdvi-lib/setup.c: (mdvi_init_kpathsea):
2370 Suppess output for kpathsea during font generation. Thanks to
2373 Fri Apr 22 19:57:46 2005 Jonathan Blandford <jrb@redhat.com>
2380 * Makefile.am: fix distcheck.
2382 2005-04-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2384 * shell/ev-sidebar-links.c: (selection_changed_callback),
2385 (update_page_callback), (row_activated_callback),
2386 (job_finished_callback), (ev_sidebar_links_set_document):
2388 Fix for bug #169901. Double click on links expands tree.
2390 2005-03-14 Bryan Clark <clarkbw@cvs.gnome.org>
2392 * shell/ev-window.c (ev_window_init): Removed fullscreen toolbar
2393 hard-coded style. Fix for bug 170111
2395 2005-04-22 Kristian Høgsberg <krh@redhat.com>
2397 * shell/ev-view.c (highlight_find_results): Remove unnecessary
2400 2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
2402 * thumbnailer/evince-thumbnailer.schemas: real fix for bug 172496
2404 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
2406 * pdf/ev-poppler.cc:
2407 * shell/ev-view.c: (highlight_find_results):
2409 Fix find on single page documents
2411 2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
2413 * data/evince.schemas.in: fix for bug 301390
2415 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
2417 * shell/ev-view.c: (ev_view_can_zoom_in), (ev_view_can_zoom_out),
2418 (ev_view_zoom_out), (ev_view_zoom_normal):
2420 * shell/ev-window.c: (update_action_sensitivity),
2421 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
2422 (ev_window_cmd_view_zoom_in), (ev_window_cmd_view_zoom_out),
2423 (ev_window_cmd_view_normal_size):
2425 Fix normal size zoom. Make zoom in/zoom out unsensitive when
2426 they are behyond the limits. Tweak MAX_ZOOM to 6, sucks but
2429 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
2433 Depend on 2.57, 2.59 doesnt seem to be necessary
2435 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
2437 * shell/ev-page-action.c: (update_pages_label), (page_changed_cb),
2440 Put back total number of pages as (1 of 1234)
2442 Thu Apr 21 23:37:52 2005 Jonathan Blandford <jrb@redhat.com>
2444 * shell/ev-pixbuf-cache.c (dispose_cache_job_info): actually
2447 * backend/ev-document.h: Remove EV_DOC_MUTEX in favor of a locking
2448 function. This helps debugging.
2450 2005-04-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2452 * djvu/djvu-document.c: (djvu_document_class_init),
2453 (djvu_document_get_info), (djvu_document_document_iface_init):
2454 * dvi/dvi-document.c: (dvi_document_class_init),
2455 (dvi_document_get_info), (dvi_document_document_iface_init):
2457 Dummy implementation of get_info method for dvi and djvu. Fix
2458 crashes with those backends
2460 2005-04-20 Marco Pesenti Gritti <mpg@redhat.com>
2462 * data/evince.desktop.in:
2464 Add application/x-gzpostscript
2466 2005-04-20 Bryan Clark <clarkbw@cvs.gnome.org>
2468 * data/evince.schemas.in: Added real long descriptions,
2471 * README: Added actual text, closes bug 171869
2473 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
2475 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
2479 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
2481 * backend/ev-document-info.h:
2483 s/GDate */GDate so we can just use g_free
2485 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
2487 * shell/ev-window.c: (update_document_mode),
2488 (ev_window_setup_document):
2490 Show the window in fullscreen when specified by
2493 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
2495 * backend/ev-document.c: (ev_document_class_init),
2496 (ev_document_get_info), (ev_document_render_pixbuf):
2497 * backend/ev-document.h:
2498 * backend/ev-page-cache.c: (_ev_page_cache_new):
2499 * pdf/ev-poppler.cc:
2500 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
2501 (pixbuf_document_get_info), (pixbuf_document_document_iface_init):
2502 * ps/ps-document.c: (ps_document_class_init), (document_load),
2503 (ps_document_get_info), (ps_document_document_iface_init):
2505 Remove get_title from the interface, we can just use document info
2507 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
2509 * backend/Makefile.am:
2510 * backend/ev-document.c: (ev_document_render_get_info):
2511 * backend/ev-document.h:
2512 * pdf/ev-poppler.cc:
2514 Initial support for document info. Based on jrb patch.
2516 2005-04-19 Paolo Borelli <pborelli@katamail.com>
2518 * shell/ev-window.c: (ev_window_state_event),
2519 (ev_window_class_init), (ev_window_init):
2521 Doesn't show resize grip when maximized. See bug #301053
2523 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2527 ev-sidebar-thumbnails now has translatable labels
2529 * shell/Makefile.am:
2530 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document),
2531 (ev_sidebar_links_support_document), (ev_sidebar_links_get_label),
2532 (ev_sidebar_links_page_iface_init):
2533 * shell/ev-sidebar-links.h:
2534 * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
2535 (ev_sidebar_page_support_document), (ev_sidebar_page_set_document),
2536 (ev_sidebar_page_get_label):
2537 * shell/ev-sidebar-page.h:
2538 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_new),
2539 (ev_sidebar_thumbnails_set_document),
2540 (ev_sidebar_thumbnails_support_document),
2541 (ev_sidebar_thumbnails_get_label),
2542 (ev_sidebar_thumbnails_page_iface_init):
2543 * shell/ev-sidebar-thumbnails.h:
2544 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
2545 (ev_sidebar_set_document):
2546 * shell/ev-sidebar.h:
2547 * shell/ev-window.c: (ev_window_setup_document), (ev_window_init):
2549 Small rework of sidebar code. Now sidebar pages should implement
2550 EvSidebarPage interface. That makes page management in EvSidebar
2551 easier. See bug #164811 for details
2553 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2555 * shell/ev-application.c: (ev_application_open):
2556 * shell/ev-document-types.c:
2558 Fix build error and small problem with application exit
2560 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2562 * thumbnailer/Makefile.am:
2563 * thumbnailer/evince-thumbnailer-djvu.schemas:
2564 * thumbnailer/evince-thumbnailer-dvi.schemas:
2566 Conditionally install schemas for djvu/dvi thumbnailer
2568 2005-04-18 David Malcolm <dmalcolm@redhat.com>
2570 * shell/ev-document-types.h:
2571 * shell/ev-document-types.c:
2572 New files, handling the mapping from mimetypes to backends
2574 * shell/ev-window.c:
2575 * thumbnailer/evince-thumbnailer.c:
2576 Use the ev-document-types code
2578 * shell/Makefile.am:
2579 Added new convenience library libevbackendfactory_la, containing
2580 the new mimetype->backend logic; moved the backends into it.
2582 * thumbnailer/Makefile.am:
2583 Make the thumbnailer link with the libevbackend.la convenience
2584 library, rather than having a duplicate of the backend logic here.
2586 2005-04-18 Paolo Borelli <pborelli@katamail.com>
2588 * shell/ev-stock-icons.c: constify some vars.
2589 * shell/ev-window.c: ditto.
2591 2005-04-18 Marco Pesenti Gritti <mpg@redhat.com>
2593 * ps/ps-document.c (get_page_orientation):
2595 Respect document orientation
2597 2005-04-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2601 * shell/Makefile.am:
2603 Move library dependencies to components.
2605 * shell/ev-window.c: (update_window_title),
2606 (start_loading_document):
2608 Fix display of uris with spaces. Bug 168358.
2610 Sat Apr 16 18:53:47 2005 Jonathan Blandford <jrb@redhat.com>
2612 * shell/ev-sidebar-links.c: (selection_changed_cb):
2613 * shell/ev-view.c: (ev_view_finalize), (go_to_link),
2614 (ev_view_button_release_event), (ev_view_set_document):
2616 * shell/ev-window.c: (find_bar_search_changed_cb):
2617 * shell/ev-window.h: Minor cleanups removing some dead code.
2619 2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2621 * backend/ev-page-cache.c: (_ev_page_cache_new):
2623 Set current page to 0 if document has pages.
2625 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
2627 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
2629 Initialize GError to NULL, fix a crash when loading fails.
2631 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
2633 * shell/ev-window.c: (update_view_size):
2635 Calculate shadow size only when there is actually
2638 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
2640 * shell/ev-view.c: (ev_view_set_spacing), (ev_view_init):
2643 Allow setting view spacing, default to 0
2645 * shell/ev-window.c: (ev_window_unfullscreen),
2646 (ev_window_cmd_view_fullscreen), (ev_window_init):
2648 Remove spacing in fullscreen mode
2650 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
2652 * shell/ev-view.c: (compute_border), (compute_zoom_factor),
2653 (ev_view_size_request), (expose_bin_window),
2654 (ev_view_set_show_border), (ev_view_init), (page_changed_cb):
2656 * shell/ev-window.c: (ev_window_unfullscreen),
2657 (ev_window_cmd_view_fullscreen):
2659 Do not draw the border in fulscreen
2661 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
2663 * shell/ev-view.c: (ev_view_get_offsets), (compute_zoom_factor),
2664 (ev_view_size_request), (expose_bin_window), (ev_view_select_all),
2665 (find_page_at_location), (page_changed_cb):
2667 Rework border calculation, so that I can more easily disable it.
2668 Code somewhat cleaner too.
2670 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
2672 * backend/ev-page-cache.c: (ev_page_cache_init),
2673 (_ev_page_cache_new):
2675 Remove some assertions, documents can have 0 pages.
2676 Make initial current page -1.
2678 * shell/ev-page-action.c: (page_changed_cb):
2680 Show "" if current page is -1
2682 * shell/ev-window.c: (update_action_sensitivity),
2683 (ev_window_setup_document):
2685 When document has 0 pages do not set the view
2686 and make nearly everything insensitive.
2688 2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2690 * shell/ev-page-view.c:
2691 * shell/ev-page-view.h:
2693 Remove unused files.
2695 * shell/ev-sidebar-thumbnails.c:
2696 (ev_sidebar_thumbnails_set_document):
2697 * shell/ev-sidebar.c: (ev_sidebar_set_document),
2698 (ev_sidebar_supports_document):
2699 * shell/ev-sidebar.h:
2700 * shell/ev-window.c: (ev_window_setup_document):
2702 Doesn't show thumbnails if document has 1 page. Make
2703 sidebar menu entries sensitive only if if they have
2704 sense. Fix bug 164811.
2706 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
2708 * shell/ev-view.c: (compute_zoom_factor), (ev_view_size_request),
2709 (page_changed_cb), (ev_view_zoom), (ev_view_zoom_in),
2710 (ev_view_zoom_out), (ev_view_set_size):
2712 Rework sizing to deal with documents with not uniform page
2715 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
2717 * backend/ev-page-cache.c: (_ev_page_cache_new):
2719 Fix several page size caching bugs
2721 2005-04-15 Luca Ferretti <elle.uca@libero.it>
2723 * shell/ev-window.c: (set_action_properties):
2725 Make all toolbar items translatable
2727 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
2729 * ps/ps-document.c: (ps_document_init), (ps_document_get_type),
2730 (save_page_list), (ps_document_save),
2731 (ps_document_document_iface_init), (ps_document_ps_export_begin),
2732 (ps_document_ps_export_do_page), (ps_document_ps_export_end),
2733 (ps_document_ps_exporter_iface_init):
2736 Based on a patch by J�rg Billeter <j@bitron.ch>
2738 Implement print and save a copy for the ps backend.
2740 2005-04-14 Marco Pesenti Gritti <mpg@redhat.com>
2742 * backend/ev-document.h:
2743 * djvu/djvu-document.c: (djvu_document_can_get_text),
2744 (djvu_document_document_iface_init):
2745 * dvi/dvi-document.c: (dvi_document_can_get_text),
2746 (dvi_document_document_iface_init):
2747 * pdf/ev-poppler.cc:
2748 * pixbuf/pixbuf-document.c: (pixbuf_document_can_get_text),
2749 (pixbuf_document_document_iface_init):
2750 * ps/ps-document.c: (ps_document_can_get_text),
2751 (ps_document_document_iface_init):
2752 * shell/ev-view.c: (ev_view_copy), (ev_view_primary_get_cb):
2753 * shell/ev-window.c: (update_action_sensitivity):
2755 Fix the crash when trying to copy in backends that doesnt
2756 support it. We can implement a better solution once we
2757 do real text selection.
2759 2005-04-12 Marco Pesenti Gritti <mpg@redhat.com>
2761 * data/evince-ui.xml:
2762 * shell/ev-window.c: (ev_window_cmd_escape):
2764 Work around the Escape conflict (find bar and unfullscreen)
2766 2005-04-12 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
2768 * backend/ev-page-cache.c: (ev_page_cache_next_page):
2770 Fix for #300233. Next page correctly handles document end.
2772 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
2773 (ev_sidebar_thumbnails_class_init),
2774 (ev_sidebar_thumbnails_set_document),
2775 (ev_sidebar_thumbnails_clear_job),
2776 (ev_sidebar_thumbnails_clear_model):
2778 Cleanup thumbnail jobs on document changes.
2780 * shell/ev-view.c: (add_scroll_binding_keypad),
2781 (add_scroll_binding_shifted), (ev_view_class_init):
2783 Shift + Space scrolls up. Fix for #173184
2785 * shell/ev-window.c: (ev_window_open_page),
2786 (ev_window_cmd_view_reload):
2788 Fix reload (Bug #300094)
2790 2005-04-09 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2793 * dvi/mdvi-lib/assoc.c:
2794 * dvi/mdvi-lib/assoc.h: Removed garbage files
2796 * dvi/mdvi-lib/bitmap.c:
2797 * dvi/mdvi-lib/color.c: (mdvi_set_color), (mdvi_push_color),
2798 (mdvi_pop_color), (mdvi_reset_color), (get_color_table):
2799 * dvi/mdvi-lib/color.h: Antialias of rules
2801 * dvi/mdvi-lib/common.h:
2802 * dvi/mdvi-lib/dviread.c: (mdvi_configure), (mdvi_init_context),
2803 (mdvi_destroy_context), (draw_shrink_rule), (draw_box), (set_rule):
2804 * dvi/mdvi-lib/files.c:
2805 * dvi/mdvi-lib/fontmap.c: (ps_init_default_paths):
2806 * dvi/mdvi-lib/mdvi.h:
2807 * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
2808 * dvi/mdvi-lib/tfmfile.c: (ofm_load_file):
2809 * dvi/mdvi-lib/util.c: Fix compile warnings
2811 * dvi/dvi-document.c:
2812 (dvi_document_load), (dvi_document_thumbnails_get_dimensions),
2813 (dvi_document_thumbnails_get_thumbnail),
2814 (dvi_document_document_thumbnails_iface_init):
2815 * dvi/mdvi-lib/Makefile.am:
2816 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
2817 (dvi_pixbuf_set_color), (mdvi_pixbuf_device_render):
2819 Dvi backend now renders thumbnails
2821 2005-04-09 Christian Persch <chpe@cvs.gnome.org>
2823 * shell/main.c: (main):
2825 Save accelerators on exit. Fixes bug #172095.
2827 Sat Apr 9 01:05:09 2005 Jonathan Blandford <jrb@redhat.com>
2829 * shell/ev-pixbuf-cache.c (move_one_job): Actually fix the "FIXME:
2830 update priority" comment.
2832 * backend/ev-job-queue.c: Give a way to change priority.
2834 Sat Apr 9 00:05:36 2005 Jonathan Blandford <jrb@redhat.com>
2836 * shell/ev-page-action.c: Fix logic.
2838 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
2840 * shell/ev-view.c: (ev_view_can_find_next):
2841 * shell/ev-window.c: (ev_window_setup_document):
2843 Check that the document supports find
2845 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
2847 * data/evince-ui.xml:
2848 * shell/ev-view.c: (ev_view_can_find_next):
2850 * shell/ev-window.c: (update_action_sensitivity),
2851 (find_changed_cb), (ev_window_setup_document),
2852 (ev_window_cmd_edit_find_next):
2856 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
2858 * pdf/ev-poppler.cc:
2859 * shell/ev-print-job.c: (idle_print_handler):
2861 Make printing work again
2863 Fri Apr 8 01:12:24 2005 Jonathan Blandford <jrb@redhat.com>
2865 * shell/ev-page-action.h:
2866 * shell/ev-page-action.c: (ev_page_action_widget_init),
2867 (ev_page_action_widget_class_init), (page_changed_cb),
2868 (create_tool_item), (update_page_cache), (build_new_tree_cb),
2869 (get_filter_model_from_model), (match_selected_cb),
2870 (display_completion_text), (match_completion), (update_model),
2871 (connect_proxy), (ev_page_action_set_property),
2872 (ev_page_action_get_property), (ev_page_action_set_document),
2873 (ev_page_action_set_model), (ev_page_action_class_init): Big
2874 reworking to make completions work iff we have >= GTK-2.7.0
2876 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_property),
2877 (ev_sidebar_links_get_property), (ev_sidebar_links_class_init),
2878 (job_finished_cb): We now have a 'model' property that is set when
2879 the links are loaded. This can be caught with "notify::model"
2881 * shell/ev-window.c: (sidebar_widget_model_set), (ev_window_init):
2882 listen for the model to be set, and propagate it to the action.
2884 2005-04-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2886 * cut-n-paste/recent-files/egg-recent-item.c:
2887 (egg_recent_item_set_uri), (make_valid_utf8),
2888 (egg_recent_item_set_mime_type), (egg_recent_item_get_mime_type):
2889 * cut-n-paste/recent-files/egg-recent-item.h:
2891 Update egg-recent from libegg. This should fix long
2892 startup problem. For details see
2893 http://bugzilla.gnome.org/show_bug.cgi?id=160531
2895 2005-04-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2897 * cut-n-paste/recent-files/Makefile.am:
2898 * data/evince-ui.xml, shell/Makefile.am:
2899 * shell/ev-application.c, shell/ev-application.h:
2900 * shell/ev-window.c: Recent files support.
2902 * configure.ac: Added "ru" to ALL_LINGUAS.
2904 * dvju: new backend to support DJVU files.
2905 * dvi: new backend to support DVI.
2907 * configure.ac, Makefile.am, shell/Makefile.am, ev-window.c:
2908 * ev-application.c: Support for new backends.
2910 * help, ev-window.c, main.c shell/Makefile.am:
2911 Evince user documentation.
2913 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
2916 * shell/ev-window.c:
2917 * thumbnailer/evince-thumbnailer.c:
2919 s/pdf-document/ev-poppler
2921 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
2928 * ps/ps-document.c: (setup_pixmap):
2932 2005-04-05 Kristian Høgsberg <krh@redhat.com>
2934 * backend/ev-page-cache.c (ev_page_cache_next_page):
2935 * shell/ev-window.c (ev_window_cmd_go_next_page)
2936 (ev_window_cmd_go_first_page): Fix of by one errors.
2938 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
2940 * ps/ps-document.c: (get_page_box):
2942 Fix page size calculation
2944 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
2946 * ps/ps-document.c: (ps_document_init), (push_pixbuf),
2947 (ps_document_cleanup), (setup_pixmap), (get_page_box),
2948 (get_page_orientation), (setup_page), (document_load),
2949 (ps_document_get_page_size), (render_pixbuf_idle):
2952 More refactoring to adapt to EvDocument changes
2954 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
2956 * ps/ps-document.c: (start_interpreter):
2958 Actually add alpha args
2960 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
2962 * pdf/ev-poppler.cc:
2964 Make clipboard work again
2966 2005-04-04 Kristian Høgsberg <krh@redhat.com>
2968 Make searching work again.
2970 * backend/ev-document.c:
2971 * backend/ev-document.h:
2972 * backend/ev-document-find.c:
2973 * backend/ev-document-find.h: Change EvDocumentIface so we no
2974 longer store the current page or zoom level in the document. The
2975 consequence is that all calls that operate on the current page now
2976 instead take the page number as an extra argument, and all
2977 coordinates are now doubles in document coordinate system.
2979 * pdf/ev-poppler.cc:
2980 * pixbuf/pixbuf-document.c:
2981 * ps/ps-document.c: Update backends accordingly.
2983 2005-04-04 Marco Pesenti Gritti <marco@gnome.org>
2987 Add required gettext version
2989 Sat Apr 2 18:57:00 2005 Jonathan Blandford <jrb@redhat.com>
2991 * shell/evwindow.c: Patch from Alberto Mesas <amesas@gmail.com> to
2992 make F1 bring up non-existent help.
2994 * shell/eggfindbar.c: Patch from Christian Persch to sync to
2995 epiphany's find bar, #167477
2997 * shell/ev-view.c (ev_view_jump): Patch from Emil Soleyman-Zomalan
2998 <emil@nishra.com> to add space-bar scrolling,
3000 * shell/ev-window.c (static GtkActionEntry entries): add default
3001 keybinding for Help (F1)
3004 * shell/ev-view.c (ev_view_show_cursor): Fix from Yuval Tanny
3005 changing EV_VIEW_CURSOR_LINK to EV_VIEW_CURSOR_NORMAL resolves bug
3008 2005-04-01 David Malcolm <dmalcolm@redhat.com>
3011 * pixbuf/pixbuf-document.c:
3013 Got pixbuf backend working again
3015 2005-04-01 Steve Murphy <murf@e-tools.com>
3017 * configure.in: Added "rw" to ALL_LINGUAS.
3019 Fri Apr 1 02:33:41 2005 Jonathan Blandford <jrb@redhat.com>
3021 * shell/ev-sidebar-links.c (create_loading_model): Fix mismatch in
3022 model types, noticed by Martin Kretzschmar.
3024 2005-04-01 Kristian Høgsberg <krh@redhat.com>
3026 * pdf/ev-poppler.cc: Implement search based on
3027 poppler_page_find_text(). Currently a bit crude since we remember
3028 all matches from all pages. Also, we grab the big document lock
3029 when we search since searching changes the underlying stream and
3030 thus conflicts with the rendering thread.
3032 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
3033 (jump_to_find_page), (ev_view_set_document), (ev_view_find_next),
3034 (ev_view_find_previous): Fix some page indexes to be 0 based,
3035 offset rubber band by view offset,
3037 Fri Apr 01 09:21:12 2005 Pablo Saratxaga <pablo@mandrakesoft.com>
3039 * configure.ac: Added Walloon (wa) to ALL_LINGUAS.
3041 Fri Apr 1 01:59:39 2005 Jonathan Blandford <jrb@redhat.com>
3043 * shell/ev-page-action.c: Changed to use page labels now. Rewrote
3044 completely because I didn't understand GtkActions. I should
3045 read Marco's code more carefully in the future.
3047 * backend/ev-page-cache.h (ev_page_cache_set_page_label): New
3050 2005-03-31 Kristian Høgsberg <krh@redhat.com>
3052 * pdf/ev-poppler.cc (pdf_document_get_links): Update to work with
3053 PopplerRectangle change from poppler CVS.
3055 Thu Mar 31 13:27:50 2005 Jonathan Blandford <jrb@redhat.com>
3057 * backend/ev-document.c: (ev_document_get_page_label):
3058 * backend/ev-document.h:
3059 * backend/ev-page-cache.c: (_ev_page_cache_new),
3060 (ev_page_cache_get_page_label):
3061 * backend/ev-page-cache.h:
3062 * pdf/ev-poppler.cc:
3063 * shell/ev-sidebar-links.c: (ev_sidebar_links_construct),
3064 (links_page_num_func):
3065 * shell/ev-sidebar-thumbnails.c:
3066 (ev_sidebar_thumbnails_set_document):
3067 * shell/ev-view.c: (status_message_from_link),
3068 (ev_view_motion_notify_event):
3069 * shell/ev-window.c: (document_supports_sidebar): Add in page
3070 label support. It's not perfect yet, but it's the first 'feature'
3072 Also, fix a bogus comment noticed by crispin.
3074 Thu Mar 31 01:21:58 2005 Jonathan Blandford <jrb@redhat.com>
3076 * Makefile.am: Remove pixbuf backend for now
3078 * configure.ac: Require poppler-glib instead of just poppler.
3080 * backend/ev-document-thumbnails.h: Add a comment
3082 * backend/ev-document.h:
3083 * backend/ev-document.c: (ev_document_class_init),
3084 (ev_document_load), (ev_document_get_link),
3085 (ev_document_get_links): Remove 3 methods and add get_links.
3088 * backend/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
3089 * backend/ev-jobs.h: now EvJobRender can grab the links for a document.
3091 * backend/ev-link.c: (ev_link_set_title),
3092 (ev_link_mapping_free_foreach), (ev_link_mapping_free),
3093 (ev_link_mapping_find):
3094 * backend/ev-link.h: Allow NULL titles. Also, introduce a mapping link.
3096 * backend/ev-page-cache.c: (ev_page_cache_init),
3097 (_ev_page_cache_new), (ev_page_cache_set_current_page),
3098 (ev_page_cache_get_size), (ev_page_cache_next_page),
3099 (ev_page_cache_prev_page): Fix to be 0 based.
3103 * pdf/ev-poppler.cc: New backend.
3105 * ps/ps-document.c: (ps_document_init), (ps_document_set_page),
3106 (ps_document_get_page), (ps_document_document_iface_init):
3108 * shell/ev-pixbuf-cache.h:
3109 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
3110 (dispose_cache_job_info), (job_finished_cb), (move_one_job),
3111 (ev_pixbuf_cache_update_range), (copy_job_to_job_info),
3112 (add_job_if_needed), (ev_pixbuf_cache_set_page_range),
3113 (ev_pixbuf_cache_get_pixbuf), (ev_pixbuf_cache_get_link_mapping):
3114 Fix up code to grab a page cache per each doc. Also, fix to be 0
3117 * shell/ev-sidebar-thumbnails.c:
3118 (ev_sidebar_tree_selection_changed), (page_changed_cb),
3119 (ev_sidebar_thumbnails_set_document): Fix to be 0 based.
3121 * shell/ev-view.c: (status_message_from_link),
3122 (find_page_at_location), (get_link_at_location),
3123 (ev_view_motion_notify_event), (ev_view_button_release_event),
3124 (ev_view_init): Use the new link code. Fix to be 0 based.
3126 * shell/ev-window.c: (update_action_sensitivity),
3127 (document_supports_sidebar): 0 based.
3129 Fri Mar 25 16:55:58 2005 Jonathan Blandford <jrb@redhat.com>
3131 * pdf/pdf-document.cc: Patch from Fernando Herrera
3132 <fherrera@onirica.com> to fix my quick fix to get_thumbnail.
3135 Wed Mar 23 23:49:41 2005 Jonathan Blandford <jrb@redhat.com>
3137 * pdf/pdf-document.cc (pdf_document_thumbnails_get_thumbnail): add
3138 1 to the page, as this seems to be 1 based. I thought we has this
3141 2005-03-23 Marco Pesenti Gritti <marco@gnome.org>
3144 * backend/Makefile.am:
3145 * backend/ev-document-links.c:
3146 (ev_document_links_has_document_links),
3147 (ev_document_links_get_links_model):
3148 * backend/ev-document-links.h:
3149 * backend/ev-document.c: (ev_document_get_page_cache),
3150 (ev_document_get_doc_mutex), (ev_document_load),
3151 (ev_document_save), (ev_document_get_title),
3152 (ev_document_get_n_pages), (ev_document_set_page),
3153 (ev_document_get_page), (ev_document_set_target),
3154 (ev_document_set_scale), (ev_document_set_page_offset),
3155 (ev_document_get_page_size), (ev_document_get_text),
3156 (ev_document_get_link), (ev_document_render),
3157 (ev_document_render_pixbuf), (ev_document_scale_changed):
3158 * backend/ev-document.h:
3159 * backend/ev-job-queue.c: (remove_object_from_queue),
3160 (notify_finished), (handle_job), (search_for_jobs_unlocked),
3161 (no_jobs_available_unlocked), (ev_render_thread),
3162 (ev_job_queue_init), (find_queue), (ev_job_queue_add_job),
3163 (ev_job_queue_remove_job):
3164 * backend/ev-job-queue.h:
3165 * backend/ev-jobs.c: (ev_job_init), (ev_job_dispose),
3166 (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
3167 (ev_job_links_class_init), (ev_job_render_init),
3168 (ev_job_render_dispose), (ev_job_render_class_init),
3169 (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
3170 (ev_job_thumbnail_class_init), (ev_job_finished),
3171 (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
3172 (ev_job_render_run), (ev_job_thumbnail_new),
3173 (ev_job_thumbnail_run):
3174 * backend/ev-jobs.h:
3175 * backend/ev-link.c:
3176 * backend/ev-link.h:
3177 * backend/ev-page-cache.c: (ev_page_cache_init),
3178 (ev_page_cache_class_init), (ev_page_cache_finalize),
3179 (_ev_page_cache_new), (ev_page_cache_get_n_pages),
3180 (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
3181 (ev_page_cache_set_link), (ev_page_cache_get_title),
3182 (ev_page_cache_get_size), (ev_page_cache_next_page),
3183 (ev_page_cache_prev_page):
3184 * backend/ev-page-cache.h:
3185 * pdf/pdf-document.cc:
3188 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
3189 (push_pixbuf), (interpreter_failed), (ps_document_cleanup),
3190 (ps_document_widget_event), (ps_document_finalize), (get_xdpi),
3191 (get_ydpi), (setup_pixmap), (setup_page), (close_pipe),
3192 (is_interpreter_ready), (output), (catchPipe), (input),
3193 (start_interpreter), (check_filecompressed), (compute_dimensions),
3194 (ps_document_enable_interpreter), (document_load),
3195 (ps_document_next_page), (render_page), (ps_document_set_page),
3196 (ps_document_set_scale), (render_pixbuf_idle),
3197 (ps_document_render_pixbuf), (ps_document_document_iface_init):
3199 * shell/Makefile.am:
3200 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
3201 (ev_pixbuf_cache_class_init), (ev_pixbuf_cache_finalize),
3202 (dispose_cache_job_info), (ev_pixbuf_cache_dispose),
3203 (ev_pixbuf_cache_new), (job_finished_cb),
3204 (check_job_size_and_unref), (move_one_job),
3205 (ev_pixbuf_cache_update_range), (find_job_cache),
3206 (ev_pixbuf_cache_clear_job_sizes), (add_job_if_needed),
3207 (ev_pixbuf_cache_add_jobs_if_needed),
3208 (ev_pixbuf_cache_set_page_range), (ev_pixbuf_cache_get_pixbuf):
3209 * shell/ev-pixbuf-cache.h:
3210 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
3211 (idle_print_handler):
3212 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
3213 (selection_changed_cb), (create_loading_model),
3214 (ev_sidebar_links_construct), (links_page_num_func),
3215 (ev_sidebar_links_clear_document), (update_page_callback_foreach),
3216 (update_page_callback), (job_finished_cb),
3217 (ev_sidebar_links_set_document):
3218 * shell/ev-sidebar-thumbnails.c:
3219 (ev_sidebar_thumbnails_class_init), (adjustment_changed_cb),
3220 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init),
3221 (page_changed_cb), (thumbnail_job_completed_callback),
3222 (ev_sidebar_thumbnails_set_document):
3223 * shell/ev-sidebar-thumbnails.h:
3224 * shell/ev-sidebar.c: (ev_sidebar_set_document):
3225 * shell/ev-view.c: (ev_view_finalize), (ev_view_destroy),
3226 (ev_view_get_offsets), (ev_view_size_request), (ev_view_realize),
3227 (ev_view_unrealize), (highlight_find_results), (expose_bin_window),
3228 (ev_view_select_all), (ev_view_copy), (ev_view_primary_get_cb),
3229 (ev_view_create_invisible_cursor), (ev_view_motion_notify_event),
3230 (ev_view_button_release_event), (ev_view_scroll_view),
3231 (ev_view_class_init), (ev_view_init), (update_find_status_message),
3232 (jump_to_find_result), (jump_to_find_page), (find_changed_cb),
3233 (ev_view_new), (job_finished_cb), (page_changed_cb),
3234 (ev_view_set_document), (go_to_link), (ev_view_zoom),
3235 (size_to_zoom_factor), (ev_view_set_size), (ev_view_find_next),
3236 (ev_view_find_previous):
3238 * shell/ev-window.c: (update_action_sensitivity),
3239 (ev_window_open_page), (update_window_title), (update_total_pages),
3240 (page_changed_cb), (ev_window_setup_document),
3241 (password_dialog_response), (ev_window_cmd_save_as),
3242 (ev_window_print), (ev_window_cmd_go_previous_page),
3243 (ev_window_cmd_go_next_page), (ev_window_cmd_go_first_page),
3244 (ev_window_cmd_go_last_page), (ev_window_cmd_view_reload),
3245 (find_bar_search_changed_cb), (goto_page_cb), (ev_window_init):
3246 * shell/main.c: (main):
3248 Merge evince-threads branch
3250 2005-03-16 Žygimantas Beručka <uid0@akl.lt>
3252 * configure.ac: Added "lt" to ALL_LINGUAS.
3254 2005-03-14 Marco Pesenti Gritti <marco@gnome.org>
3261 2005-03-13 Fernando Herrera <fherrera@onirica.com>
3263 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3265 Fix here also the thumbnails 1-basedness :)
3267 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
3274 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
3276 * pdf/pdf-document.cc:
3277 * shell/ev-sidebar-thumbnails.c: (adjustment_changed_cb),
3278 (do_one_iteration), (ev_sidebar_thumbnails_set_document):
3280 Fix the mess we did with thumbnails and 1-basedness
3282 2005-03-12 Changwoo Ryu <cwryu@debian.org>
3284 * configure.ac (ALL_LINGUAS): Added "ko" (Korean).
3286 2005-03-09 Marco Pesenti Gritti <marco@gnome.org>
3293 2005-03-08 Marco Pesenti Gritti <marco@gnome.org>
3296 * ps/gsdefaults.c: (gtk_gs_defaults_get_interpreter_cmd),
3297 (gtk_gs_defaults_get_alpha_parameters),
3298 (gtk_gs_defaults_get_ungzip_cmd),
3299 (gtk_gs_defaults_get_unbzip2_cmd):
3301 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
3302 (ps_document_get_orientation), (document_load),
3303 (ps_document_goto_page), (ps_document_set_page_size):
3306 Some more sanitization of the ps backend. Remove a lot
3307 of unused code and do not base our defaults on ggv
3310 2005-03-08 Fernando Herrera <fherrera@onirica.com>
3312 * thumbnailer/evince-thumbnailer.schemas:
3313 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
3314 (main): add -s option for thumbnail size.
3316 2005-03-07 Christian Persch <chpe@cvs.gnome.org>
3320 AC_PROG_RANLIB is rendered obsolete by AC_PROG_LIBTOOL;
3323 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
3325 * pdf/pdf-document.cc:
3327 Remove 4 pixels of useless border from the
3330 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
3332 * backend/ev-document-thumbnails.c:
3333 (ev_document_thumbnails_get_thumbnail):
3334 * backend/ev-document-thumbnails.h:
3336 Rework API a bit. Add a border flag and
3337 change sizing logic (now the size we specify
3338 applies to the bigger dimension).
3340 * pdf/pdf-document.cc:
3341 * pixbuf/pixbuf-document.c:
3342 (pixbuf_document_thumbnails_get_thumbnail):
3343 * shell/ev-sidebar-thumbnails.c: (do_one_iteration):
3344 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3346 Adapt to the new API and do not draw a border for nautilus
3349 2005-03-03 Fernando Herrera <fherrera@onirica.com>
3351 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3352 take thumbnails from page "0" instead of "1". Added a copyright header.
3354 2005-03-03 Jens Granseuer <jensgr@gmx.net>
3356 * ps/ps-document.c: (set_up_page), (start_interpreter):
3358 Make it C89 compliant
3360 2005-03-03 Marco Pesenti Gritti <marco@gnome.org>
3365 * pdf/pdf-document.cc:
3366 * thumbnailer/Makefile.am:
3367 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
3369 * thumbnailer/evince-thumbnailer.schemas:
3370 * thumbnailer/pdf-icon.png:
3372 Add a nautilus thumbnailer.
3373 Based on patch by Fernando Herrera <fherrera@onirica.com>.
3375 2005-03-02 Marco Pesenti Gritti <marco@gnome.org>
3383 2005-03-01 Kristian Høgsberg <krh@redhat.com>
3385 Use poppler instead of including xpdf source code. Poppler is a
3386 fork of xpdf to build it as a shared library. See
3387 http://freedesktop.org/wiki/Software/poppler.
3389 * pdf/xpdf/*, pdf/goo/*, pdf/splash/*, pdf/fofi/*: Remove included
3392 * pdf/Makefile.am: Build libpdfdocument.a here.
3394 * pdf/GDKSplashOutputDev.cc:
3395 * pdf/GDKSplashOutputDev.h:
3396 * pdf/GnomeVFSStream.cc:
3397 * pdf/GnomeVFSStream.h:
3400 * test-gdk-output-dev.cc
3402 * Thumb.h: Pull these files out of pdf/xpdf and adjust to compile
3405 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
3407 * shell/ev-sidebar-links.c: (ev_sidebar_links_clear_document):
3409 Clear idle stack before unsetting the document
3411 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
3413 * ps/ps-document.c: (ps_document_widget_event),
3414 (ps_document_set_target), (ps_document_finalize),
3415 (ps_document_get_page):
3417 Disconnect the widget event signal on finalize.
3420 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
3422 * ps/ps-document.c: (set_up_page):
3424 If there is no bpixmap create one, even if size
3427 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
3429 * ps/ps-document.c: (ps_document_init), (ps_document_cleanup),
3430 (set_up_page), (document_load), (ps_document_set_zoom):
3432 Default page is 0. Calculate size even when we have no
3435 2005-02-28 Carlos Garcia Campos <carlosgc@gnome.org>
3437 * shell/ev-sidebar.c: expand the selection widget to be always as
3440 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
3442 * shell/ev-sidebar-thumbnails.c:
3443 (ev_sidebar_thumbnails_set_document):
3445 Clear the list store when setting document
3447 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
3449 * shell/ev-page-action.c: (update_entry), (sync_entry),
3450 (activate_cb), (entry_size_request_cb), (create_tool_item),
3453 Use an entry for the page control instead of spinbuttons
3455 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
3457 * data/evince.schemas.in:
3459 Correct confusing string
3461 Sun Feb 27 23:00:31 2005 Jonathan Blandford <jrb@redhat.com>
3463 * shell/ev-sidebar-links.c (do_one_iteration): Handle title links
3464 for real. Gosh, how long has this been broken.
3466 * pdf/xpdf/pdf-document.cc (build_link_from_action): add back the
3467 check for a NULL link. We crash otherwise.
3469 2005-02-27 Marco Pesenti Gritti <marco@gnome.org>
3476 2005-02-25 Sebastien Bacher <seb128@debian.org>
3478 * configure.ac: add the french translation.
3480 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
3482 * shell/ev-window.c:
3484 Remove unused header -> fix distcheck
3486 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
3488 * shell/ev-window.c: (update_window_title),
3489 (ev_window_popup_password_dialog):
3491 Unescape filename for display
3493 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
3495 * pdf/xpdf/pdf-document.cc:
3497 In get_page_size deal with rotation. Also
3498 cleanup the function a bit.
3500 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
3502 * pdf/xpdf/pdf-document.cc:
3504 Fix crash when opening in new window
3506 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
3510 Check ghostscript >= 7
3512 2005-02-25 Pedro Villavicencio <pvillavi@gnome.cl>
3514 * shell/ev-window.c:
3516 Make page width the default sizing mode
3518 2005-02-25 Carlos Garcia Campos <carlosgc@gnome.org>
3519 Marco Pesenti Gritti <marco@gnome.org>
3521 * shell/ev-window.c: Remember the sidebar size
3523 * data/evince.schemas.in: Add a new gconf key to store the size of
3526 2005-02-24 Kai Willadsen <kaiw@itee.uq.edu.au>
3528 * data/evince-ui.xml:
3529 * shell/ev-window.c: (update_action_sensitivity),
3530 (ev_window_cmd_view_reload):
3532 Add a "Reload" action and menu entry
3534 Thu Feb 24 23:07:33 2005 Jonathan Blandford <jrb@redhat.com>
3536 * shell/ev-window.c (hide_sidebar_and_actions): Hide the sidebar
3537 iff the type doesn't support thumbnailing and indexing.
3539 2005-02-24 Martin Kretzschmar <martink@gnome.org>
3541 * configure.ac (ALL_LINGUAS): Added "zh_TW" (Traditional Chinese).
3543 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
3545 * pdf/splash/Splash.cc:
3547 Port fix for a crasher from kde bug
3548 http://bugs.kde.org/show_bug.cgi?id=97131
3550 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
3552 * pdf/xpdf/pdf-document.cc:
3554 Return a link even if it's of an unrecognized
3555 type. Otherwise we go in an infinte cycle.
3557 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
3559 * shell/ev-window.c: (update_sizing_buttons), (update_view_size),
3560 (size_allocate_cb), (ev_window_set_sizing_mode):
3562 Update size when switching mode
3564 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
3566 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
3567 (ev_window_cmd_view_page_width), (update_sizing_buttons),
3568 (ev_window_cmd_view_normal_size):
3570 Fix size toggle buttons behavior
3572 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
3574 * shell/ev-view.c: (ev_view_get_offsets), (view_rect_to_doc_rect),
3575 (doc_rect_to_view_rect), (ev_view_size_allocate),
3576 (expose_bin_window), (ev_view_select_all), (page_changed_callback),
3577 (scale_changed_callback):
3579 Do not cache offsets in size_allocate.
3581 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
3583 * shell/ev-view.c: (ev_view_size_allocate):
3585 Calculate offsets before calling the parent
3586 class (which does a redraw)
3588 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
3590 * pdf/xpdf/pdf-document.cc:
3592 Fix a crasher on exit. Unused code, put a TODO
3594 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
3596 * backend/ev-document.c: (ev_document_class_init),
3597 (ev_document_page_changed), (ev_document_scale_changed):
3598 * backend/ev-document.h:
3600 Separate page/scale notifications
3602 * pdf/xpdf/pdf-document.cc:
3604 Emit the new signals.
3605 Do not display the pdf page in _render, do it
3606 when scale/page are requested.
3608 * ps/ps-document.c: (ps_document_set_zoom),
3609 (ps_document_widget_event):
3612 Emit the new signals.
3614 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
3615 (ev_view_init), (page_changed_callback), (scale_changed_callback),
3616 (ev_view_set_document), (ev_view_zoom), (ev_view_zoom_in),
3617 (ev_view_zoom_out), (size_to_zoom_factor), (ev_view_set_size):
3619 * shell/ev-window.c: (ev_window_cmd_view_normal_size),
3620 (ev_window_cmd_view_page_width), (size_allocate_cb),
3621 (ev_window_set_sizing_mode):
3623 Rework sizing to be pixel based.
3624 There are bugs but should be already way better.
3626 2005-02-23 Marco Pesenti Gritti <marco@gnome.org>
3628 * shell/ev-window.c: (ev_window_init):
3630 Do not allow to shrink sidebar smaller then
3633 2005-02-23 Carlos Garcia Campos <carlosgc@gnome.org>
3635 * shell/ev-sidebar.[ch]
3636 * shell/ev-window.c:
3638 Improved sidebar widget. Fixes #166683
3640 2005-02-23 Tommi Vainikainen <thv@iki.fi>
3642 * shell/ev-view.c (update_find_status_message): Give translators
3643 more flexibility with ngettext plural handling.
3645 Mon Feb 21 17:52:08 2005 Jonathan Blandford <jrb@redhat.com>
3647 * pdf/xpdf/pdf-document.cc (pdf_document_get_page_size): Patch
3648 from Crispin Flowerday <gnome@flowerday.cx> to avoid rendering the
3649 page when we get the page size.
3651 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
3653 * ps/ps-document.c: (ps_document_set_page), (ps_document_get_page):
3655 ps pages are 0 based, convert
3657 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
3659 * ps/ps-document.c: (ps_document_class_init), (ps_document_load):
3661 Initialize correct parent class. Set GError on document load
3663 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
3665 * pdf/xpdf/pdf-document.cc:
3667 Fixup selection offset calculation
3669 * shell/ev-view.c: (view_rect_to_doc_rect),
3670 (doc_rect_to_view_rect), (ev_view_size_allocate),
3671 (expose_bin_window), (ev_view_select_all), (ev_view_copy),
3672 (ev_view_primary_get_cb), (ev_view_motion_notify_event):
3674 Store selection as document relative, so that zooming
3675 and offset changing doesnt break it.
3677 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
3679 * shell/ev-view.c: (ev_view_best_fit):
3681 Do not try to best fit if the view is not realized
3683 2005-02-20 Kostas Papadimas <pkst@gnome.org>
3685 * configure.ac (ALL_LINGUAS): Added "el" (Greek).
3687 Fri Feb 18 16:06:39 2005 Jonathan Blandford <jrb@redhat.com>
3689 * shell/ev-window.c (ev_window_focus_in_event): missed a case.
3691 Fri Feb 18 15:32:57 2005 Jonathan Blandford <jrb@redhat.com>
3693 * shell/ev-window.c: Change the fullscreen toolbar to always be in
3694 the popup window. That prevents it resizing when in full screen
3697 * shell/ev-view.c: Change Zoom epsilon as a bad hack to avoid
3698 multiple rerenders. This pretty much sucks.
3700 * data/evince-ui.xml: Change the fullscreen toolbar to include the
3701 rest of the toolbar.
3703 2005-02-18 Tommi Vainikainen <thv@iki.fi>
3705 * configure.ac (ALL_LINGUAS): Added "fi" (Finnish).
3707 2005-02-17 Alexander Shopov <ash@contact.bg>
3709 * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
3711 2005-02-16 Bryan Clark <clarkbw@cvs.gnome.org>
3713 * shell/ev-window.c: added ellipsis to Print item. Fixes bug 166915
3715 2005-02-16 Marco Pesenti Gritti <marco@gnome.org>
3717 * shell/ev-view.c: (ev_view_realize), (highlight_find_results),
3718 (ev_view_create_invisible_cursor), (ev_view_set_cursor),
3719 (set_document_page), (document_changed_callback),
3720 (ev_view_set_document), (ev_view_find_previous),
3721 (ev_view_hide_cursor), (ev_view_show_cursor):
3723 * shell/ev-window.c: (update_chrome_visibility),
3724 (fullscreen_timeout_cb), (fullscreen_set_timeout),
3725 (fullscreen_clear_timeout), (fullscreen_motion_notify_cb),
3726 (fullscreen_leave_notify_cb), (ev_window_fullscreen),
3727 (ev_window_unfullscreen):
3728 * shell/main.c: (main):
3730 Automatically hide the fullscreen button.
3731 Patch by Kristian Høgsberg <krh@redhat.com>
3733 2005-02-16 Vincent Noel <vnoel@cox.net>
3735 * shell/main.c (main): Specify an icon for the window. Patch by
3736 Jaap A. Haitsma. Fixes #166177.
3738 Wed Feb 16 06:30:13 2005 Jonathan Blandford <jrb@redhat.com>
3740 * shell/ev-view.c (ev_view_realize): get rid of the black flash.
3742 Tue Feb 15 22:27:13 2005 Jonathan Blandford <jrb@redhat.com>
3744 * backend/ev-document-misc.h:
3745 * backend/ev-document-misc.c:
3746 (ev_document_misc_get_page_border_size),
3747 (ev_document_misc_paint_one_page): New function to canonicalize
3748 sizing/painting a border.
3750 * shell/Makefile.am: Remove ev-page-view.c entirely as it's not
3753 * pdf/xpdf/pdf-document.cc: use new function
3755 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
3756 (ev_view_init), (ev_view_set_mode), (ev_view_zoom),
3757 (ev_view_best_fit), (ev_view_fit_width): * shell/ev-view.h: *
3758 shell/ev-window.c: (update_sizing_buttons),
3759 (ev_window_setup_document), (ev_window_cmd_view_zoom_in),
3760 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_best_fit),
3761 (ev_window_cmd_view_page_width), (size_allocate_cb),
3762 (ev_window_set_sizing_mode), (ev_window_init): make the "best fit"
3763 and "fit width" values act as toggle buttons so they stay
3764 toggled. It's not 100% perfect, and it's a little slow, but it's
3765 good enough to commit I think.
3767 2005-02-15 David Lodge <dave@cirt.net>
3769 * configure.ac (ALL_LINGUAS): Added "en_GB" (English (British)).
3771 2005-02-15 Martin Kretzschmar <martink@gnome.org>
3773 * shell/ev-window.c (update_window_title): replace newlines in
3774 the title by spaces. Bug #166107.
3776 2005-02-14 Martin Kretzschmar <martink@gnome.org>
3778 * shell/ev-view.c (ev_view_best_fit, ev_view_fit_width): add
3779 parameters providing allocation width and height without
3780 scrollbars and width of a possible vertical scrollbar. With this
3781 additional information the functions can work as
3782 intended. Unfortunately they're not idempotent. We should
3783 transform these commands to toggles. Fixes Bug #164976
3784 Initial patch by Stephane Loeuillet, then heavily modified.
3786 * shell/ev-view.h: update prototypes.
3788 * shell/ev-window.c (ev_window_cmd_view_best_fit)
3789 (ev_window_cmd_view_page_width): provide EvView fit functions with
3790 all the information they need. Formulas to calculate this
3791 information taken from GtkScrolledWindow.
3793 2005-02-14 Crispin Flowerday <gnome@flowerday.cx>
3795 * shell/ev-sidebar-thumbnails.c: Ensure that after we have
3796 created a thumbnail, the list store is updated to know
3797 that the thumbnail is set. Fixes bug #166792
3799 2005-02-11 Bryan Clark <clarkbw@cvs.gnome.org>
3801 * shell/ev-window.c: fixed typo, closes bug 166897
3803 * TODO: updated TODO with bug numbers that are relevant
3805 2005-02-09 Carlos Garcia Campos <carlosgc@gnome.org>
3807 * shell/ev-window.c: Support for DnD of files. Fixes #164813
3809 2005-02-09 Vincent Noel <vnoel@cox.net>
3811 * shell/ev-window.c: (set_action_properties): Set the "Previous"
3812 and "Next" toolbar buttons as important to make them stand out.
3814 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
3818 * ps/ps-document.c: (ps_document_finalize), (set_up_page),
3819 (start_interpreter), (stop_interpreter), (document_load),
3820 (ps_document_next_page), (ps_document_goto_page),
3821 (ps_document_set_page_size), (ps_document_widget_event),
3822 (ps_document_render):
3823 * shell/ev-page-view.c: (ev_page_view_dispose):
3824 * shell/ev-view.c: (ev_view_finalize), (expose_bin_window):
3826 Fix compilation on non-gcc platforms
3828 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
3835 * pdf/xpdf/Catalog.cc:
3838 Fix the fix for CAN-2004-0888
3840 2005-02-09 Luca Ferretti <elle.uca@libero.it>
3843 * data/evince-ui.xml:
3844 * shell/ev-stock-icons.c: (ev_stock_icons_init):
3845 * shell/ev-stock-icons.h:
3846 * shell/ev-window.c: (update_action_sensitivity),
3847 (ev_window_cmd_go_previous_page), (ev_window_cmd_go_next_page),
3848 (set_action_properties):
3850 Improve toolbar layout/icons
3852 2005-02-08 Marco Pesenti Gritti <marco@gnome.org>
3854 * pdf/xpdf/pdf-document.cc:
3856 Add warnings about unimplemented/unknown link
3859 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
3861 * ps/ps-document.c: (set_up_page):
3865 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
3867 * ps/ps-document.c: (start_interpreter):
3871 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
3873 * shell/ev-page-view.c: (ev_page_view_dispose):
3874 * shell/ev-view.c: (ev_view_finalize):
3875 * shell/ev-window.c: (ev_window_setup_document),
3876 (ev_window_dispose), (ev_window_init):
3878 Solve more refs issues.
3880 I commented out the page_view initialization for now:
3881 it was never destroyed (because it's never added
3882 to a container). Because of that we was leaking
3883 gs processes. Couldnt think to a clean fix.
3884 We need to figure this out, password view has the
3885 same issue probably.
3887 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
3889 * ps/ps-document.c: (ps_document_finalize),
3890 (ps_document_get_n_pages), (ps_document_get_page):
3892 Some cleanups, stop the interpreter on finalize
3894 * shell/ev-page-view.c: (ev_page_view_dispose),
3895 (ev_page_view_class_init):
3897 Release our reference on the document
3899 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
3903 * doc/debugging.txt:
3906 * lib/ev-debug.c: (log_module), (trap_handler), (ev_debug_init),
3907 (ev_profiler_new), (ev_should_profile), (ev_profiler_dump),
3908 (ev_profiler_free), (ev_profiler_start), (ev_profiler_stop):
3911 Add debugging helpers
3914 * ps/ps-document.c: (set_up_page), (start_interpreter),
3915 (stop_interpreter), (document_load), (ps_document_next_page),
3916 (ps_document_goto_page), (ps_document_set_page_size),
3917 (ps_document_widget_event), (ps_document_render):
3918 * shell/Makefile.am:
3919 * shell/ev-view.c: (expose_bin_window):
3920 * shell/main.c: (main):
3924 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
3926 * ps/ps-document.c: (ps_document_widget_event):
3928 Initialize message_window, this should make ps
3929 rendering really work! (Never noticed because I was
3930 testing with a ps that is causing gs to exit every time!)
3932 2005-02-07 Bryan Clark <clarkbw@cvs.gnome.org>
3934 * data/evince.schemas.in: updated simple error in applyto closing tag
3936 2005-02-07 Christian Persch <chpe@cvs.gnome.org>
3942 * data/evince-ui.xml:
3943 A data/evince.schemas.in:
3945 * shell/ev-stock-icons.c: (ev_stock_icons_init):
3946 * shell/ev-stock-icons.h:
3947 * shell/ev-window.c: (update_chrome_visibility),
3948 (update_chrome_flag), (ev_window_cmd_edit_find),
3949 (ev_window_update_fullscreen_popup), (ev_window_fullscreen),
3950 (ev_window_unfullscreen), (ev_window_focus_in_event),
3951 (ev_window_focus_out_event), (ev_window_cmd_leave_fullscreen),
3952 (ev_window_view_toolbar_cb), (ev_window_view_statusbar_cb),
3953 (ev_window_view_sidebar_cb), (find_bar_close_cb),
3954 (ev_window_dispose), (ev_window_class_init),
3955 (set_action_properties), (set_chrome_actions), (load_chrome),
3958 Implement fullscreen mode changes from bug #164776.
3959 Also implement persistent chrome toggles.
3961 2005-02-07 Jordi Mallach <jordi@sindominio.net>
3963 * configure.ac (ALL_LINGUAS): Added "ca" (Catalan).
3965 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
3971 Add another check for find interface
3975 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
3977 * shell/ev-application.c: (ev_application_open):
3978 * shell/ev-window.c: (ev_window_open):
3980 Open gzipped ps documents
3982 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
3985 * shell/ev-view.c: (set_document_page):
3987 Clamp page number, dont try to move to
3990 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
3992 * backend/ev-document-find.c: (ev_document_find_changed):
3993 * backend/ev-document-find.h:
3994 * pdf/xpdf/pdf-document.cc:
3995 * shell/ev-view.c: (jump_to_find_result), (ev_view_set_document):
3996 * shell/ev-window.c: (find_bar_search_changed_cb):
3998 Fix several bugs with find
4000 2005-02-04 Martin Kretzschmar <martink@gnome.org>
4002 * shell/ev-sidebar-thumbnails.c
4003 (ev_sidebar_thumbnails_select_page): do nothing unless we have a
4004 document. Prevents warning from scroll_to_cell.
4006 2005-02-02 Kjartan Maraas <kmaraas@gnome.org>
4008 * configure.ac: Add «nb» to ALL_LINGUAS too.
4010 Wed Feb 2 21:13:11 2005 Jonathan Blandford <jrb@redhat.com>
4012 * NOTES: New file with some random thoughts.
4016 * backend/ev-document-misc.c:
4017 (ev_document_misc_get_page_border_size): New function to
4018 canonicalize shadow drawing sizes. Possibly goofy.
4020 * shell/ev-view.c: (ev_view_size_request), (set_document_page),
4021 (ev_view_best_fit), (ev_view_fit_width):
4022 * pdf/xpdf/pdf-document.cc:
4023 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
4024 * ps/ps-document.c: (ps_document_get_page_size):
4025 * backend/ev-document-misc.h:
4026 * backend/ev-document.c: (ev_document_get_page_size):
4027 * backend/ev-document.h: get_page_size now takes a page number
4028 parameter. Made all the backends/frontends honor it.
4030 * data/evince-ui.xml: Added a multiple-page mode. Uncomment to
4031 see. Doesn't work yet.
4033 * shell/Makefile.am:
4034 * shell/ev-page-view.[ch]: New multi-page view. Really rough.
4035 Doesn't do anything yet.
4037 * shell/ev-sidebar-thumbnails.c:
4038 (ev_sidebar_thumbnails_set_document): [1..n_pages] instead of
4041 * shell/ev-window.c: (update_action_sensitivity),
4042 (ev_window_setup_document), (ev_window_set_page_mode),
4043 (ev_window_page_mode_cb), (ev_window_init): Clean up the
4044 view-swapping code a bit so we can have multiple views on a
4045 document. Add the multi-page view, though it can't be turned on
4048 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
4050 * shell/ev-application.c: (ev_application_open):
4051 * shell/ev-view.c: (expose_bin_window):
4052 * shell/ev-window.c: (ev_window_open):
4054 Support eps and check document supports find
4055 before drawing highlightings in expose.
4057 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
4059 * pixbuf/pixbuf-document.c:
4060 (pixbuf_document_thumbnails_get_dimensions),
4061 (pixbuf_document_document_thumbnails_iface_init):
4063 implement get_dimensions
4065 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
4072 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
4074 * shell/ev-view.c: (set_document_page):
4076 Scroll at the top of the page when changing page
4078 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
4080 * shell/ev-view.c: (ev_view_motion_notify_event):
4082 Do not redraw unnecessarily
4084 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
4086 * pdf/xpdf/pdf-document.cc:
4087 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
4088 (expose_bin_window), (find_changed_cb):
4090 Yay! find works now... Now to find bugs...
4092 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
4094 * backend/ev-document-find.c: (ev_document_find_base_init),
4095 (ev_document_find_changed):
4096 * backend/ev-document-find.h:
4097 * pdf/xpdf/pdf-document.cc:
4098 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
4099 (expose_bin_window), (ev_view_init), (set_document_page),
4100 (ensure_rectangle_is_visible), (jump_to_find_result),
4101 (jump_to_find_page), (find_changed_cb), (ev_view_set_document),
4102 (ev_view_find_next), (ev_view_find_previous):
4104 * shell/ev-window.c: (find_bar_previous_cb), (find_bar_next_cb):
4106 More work on find implementation, mostly there now
4108 2005-01-29 Marco Pesenti Gritti <marco@gnome.org>
4110 * backend/ev-backend-marshalers.list:
4111 * backend/ev-document-find.c: (ev_document_find_base_init),
4112 (ev_document_find_cancel), (ev_document_find_page_has_results),
4113 (ev_document_find_get_n_results), (ev_document_find_get_result),
4114 (ev_document_find_get_progress), (ev_document_find_changed):
4115 * backend/ev-document-find.h:
4117 Enanche the find interface to be really able to do
4120 * pdf/xpdf/pdf-document.cc:
4124 * shell/ev-view.c: (ev_view_finalize), (highlight_find_results),
4125 (expose_bin_window), (ev_view_init),
4126 (ev_view_get_find_status_message), (find_changed_cb),
4127 (ev_view_set_document), (set_document_page):
4129 Adapt to the new interface. A few things are regressed sorry,
4130 I will finish it soon.
4132 2005-01-28 Martin Kretzschmar <martink@gnome.org>
4134 * shell/ev-sidebar-thumbnails.c (ev_sidebar_thumbnails_destroy)
4135 (ev_sidebar_thumbnails_class_init): use G_DEFINE_TYPE-supplied
4136 ev_sidebar_thumbnails_parent_class variable, don't define another
4137 parent_class variable.
4139 * shell/ev-page-action.c (connect_proxy, ev_page_action_finalize)
4140 (ev_page_action_class_init): ditto.
4142 * pixbuf/pixbuf-document.c (pixbuf_document_finalize)
4143 (pixbuf_document_class_init): ditto.
4145 * backend/ev-link.c (ev_window_dispose, ev_link_class_init):
4148 * .cvsignore: ignore various valgrind output files.
4150 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
4152 * data/evince-ui.xml:
4153 * shell/Makefile.am:
4154 * shell/ev-history.c:
4155 * shell/ev-history.h:
4156 * shell/ev-navigation-action.c:
4157 * shell/ev-navigation-action.h:
4158 * shell/ev-view.c: (ev_view_finalize), (ev_view_go_to_link),
4159 (ev_view_set_page), (ev_view_fit_width):
4161 * shell/ev-window.c: (update_action_sensitivity),
4162 (ev_window_setup_document), (register_custom_actions):
4164 Kill session history
4166 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
4168 * shell/ev-window.c: (update_action_sensitivity):
4170 Fix inverted up/down buttons
4172 2005-01-27 Martin Kretzschmar <martink@gnome.org>
4174 * shell/ev-sidebar-thumbnails.c
4175 (ev_sidebar_thumbnails_select_page): make sure the selected
4176 thumbnail stays visible.
4178 2005-01-26 Martin Kretzschmar <martink@gnome.org>
4180 * shell/ev-window.c (ev_window_init): add GTK_SHADOW_IN to the
4181 scrolled window for Federico.
4183 2005-01-26 Ole Laursen <olau@hardworking.dk>
4185 * configure.ac: Added "da" (Danish) to ALL_LINGUAS.
4187 2005-01-26 Marco Pesenti Gritti <marco@gnome.org>
4190 * pdf/splash/SplashFTFontEngine.cc:
4192 Fix CID fonts with freetype 2.1.9
4194 2005-01-26 Bryan Clark <clarkbw@cvs.gnome.org>
4196 * TODO: added item for desktop icon thumbnailer
4198 Tue Jan 25 00:59:34 2005 Jonathan Blandford <jrb@redhat.com>
4200 * pdf/xpdf/pdf-document.cc (pdf_document_get_title): guard against
4201 unloaded docs when the title is accessed.
4203 * shell/ev-password-view.[hc]: New widget for displaying password
4206 * shell/ev-window.[ch]: Refactor password handling code to handle
4209 2005-01-24 Marco Pesenti Gritti <marco@gnome.org>
4217 2005-01-23 Stephane LOEUILLET <stephane.loeuillet@tiscali.fr>
4219 * pdf/xpdf/pdf-document.cc (pdf_document_search_page_changed):
4220 ignore page offset here, to make search results independent of it,
4222 * shell/ev-view.c (expose_bin_window): but take offsets into
4223 account here. Bug #164932
4225 * pdf/xpdf/pdf-document.cc (pdf_document_get_link): divide by
4226 scale at the right time. Bug #164996
4228 2005-01-22 Martin Kretzschmar <martink@gnome.org>
4230 * pdf/xpdf/GlobalParams.cc: My 2005-01-05 change didn't actually
4231 fix the problem. Now I just removed the Adobe font names and hope
4232 that the URW fonts are always in outline format. Bug #164934
4234 * shell/ev-window.c (update_window_title): empty titles are
4235 useless, use filename in that case too.
4237 * NEWS: Add some content.
4239 2005-01-21 Bryan Clark <clarkbw@cvs.gnome.org>
4241 * TODO: added one more TODO item and a TODONE section :)
4243 2005-01-21 Martin Kretzschmar <martink@gnome.org>
4245 * ps/ps-document.h: add page_[xy]_offset fields.
4247 * ps/ps-document.c (ps_document_set_page_offset)
4248 (ps_document_render): Keep offset in consideration in a few
4249 places. Bug #164752 "postscript documents are not centered in
4252 * data/evince.desktop.in (X-GNOME-Bugzilla-Product):
4253 s/gpdf/evince/. Spotted by Stephane Loeuillet.
4255 * pixbuf/pixbuf-document.c (pixbuf_document_get_n_pages)
4256 (pixbuf_document_get_text, pixbuf_document_document_iface_init):
4257 stub out missing methods for complete EvDocument implementation.
4258 Fixes segfaults with Save A Copy and Copy actions.
4260 * ps/ps-document.c (ps_document_save, ps_document_get_text)
4261 (ps_document_document_iface_init): ditto.
4263 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
4267 * data/evince.desktop.in:
4271 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
4273 * shell/ev-view.c: (ev_view_button_press_event),
4274 (ev_view_motion_notify_event):
4276 Make selection work in any direction
4278 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
4281 * shell/ev-window.c: (set_short_labels), (ev_window_init):
4283 Use shorter labels for some of the toolbars items
4285 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
4287 * pdf/xpdf/pdf-document.cc:
4289 Check the links info is initialized before
4290 using it. Should fix a crash on startup.
4292 2005-01-21 Martin Kretzschmar <martink@gnome.org>
4294 * pixbuf/pixbuf-document.c
4295 (pixbuf_document_thumbnails_get_dimensions): force floating point
4296 division to calculate page_ratio. Fixes crash with landscape
4299 Thu Jan 20 18:56:35 2005 Jonathan Blandford <jrb@redhat.com>
4301 * shell/ev-view.c (ev_view_realize): make the bg color darker.
4303 2005-01-20 Martin Kretzschmar <martink@gnome.org>
4305 * shell/ev-view.c (set_document_page): unset has_selection when
4307 (set_document_page): handle paper size changes when the page
4308 changes (test with Free Culture, page 2).
4310 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
4312 * shell/ev-view.c: (ev_view_size_request), (ev_view_realize),
4313 (expose_bin_window), (ev_view_class_init), (ev_view_init):
4315 Use normal style color for the widget background and
4316 draw a black box around the page.
4318 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
4320 * pdf/xpdf/pdf-document.cc:
4322 Keep offset in consideration in a few places
4324 * shell/ev-view.c: (expose_bin_window):
4326 Set the offsets so that the document is ever centered
4328 2005-01-20 Bryan Clark <clarkbw@cvs.gnome.org>
4330 * TODO: Added TODO items and finished off the first todo item
4332 * AUTHORS: Updated AUTHORS section with piece from gpdf file and
4333 reflect current authors
4335 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
4337 * pdf/xpdf/pdf-document.cc:
4338 * shell/ev-view.c: (ev_view_set_cursor),
4339 (ev_view_motion_notify_event), (document_changed_callback),
4340 (set_document_page):
4342 Show a wait cursor while the page is rendering
4344 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
4346 * shell/ev-sidebar-thumbnails.c:
4347 (ev_sidebar_tree_selection_changed),
4348 (ev_sidebar_thumbnails_select_page):
4349 * shell/ev-sidebar-thumbnails.h:
4350 * shell/ev-view.c: (ev_view_set_document), (ev_view_can_go_back),
4351 (ev_view_can_go_forward):
4352 * shell/ev-window.c: (ev_window_open_page),
4353 (ev_window_setup_document), (update_current_page),
4354 (view_page_changed_cb), (ev_window_init):
4355 * shell/ev-window.h:
4357 Ensure thumbnails selection, toolbar page control and
4358 current page are in sync.
4360 2005-01-19 Marco Pesenti Gritti <marco@gnome.org>
4366 Wed Jan 19 01:10:57 2005 Jonathan Blandford <jrb@redhat.com>
4368 * backend/Makefile.am:
4369 * backend/ev-document-links.h:
4370 * backend/ev-document-security.c: (ev_document_security_get_type),
4371 (ev_document_security_has_document_security),
4372 (ev_document_security_set_password):
4373 * backend/ev-document-security.h:
4374 * backend/ev-document.c: (ev_document_error_quark):
4375 * backend/ev-document.h:
4377 * data/evince-password.glade:
4378 * pdf/xpdf/pdf-document.cc:
4379 * shell/Makefile.am:
4380 * shell/ev-password.c: (ev_password_set_bad_password_label),
4381 (ev_window_password_entry_changed_cb), (ev_password_dialog_new),
4382 (ev_password_dialog_get_password),
4383 (ev_password_dialog_set_bad_pass):
4384 * shell/ev-password.h:
4385 * shell/ev-window.c: (ev_window_get_attribute),
4386 (ev_window_set_property), (update_action_sensitivity),
4387 (ev_window_is_empty), (mime_type_supported_by_gdk_pixbuf),
4388 (ev_window_setup_document), (ev_window_get_password),
4389 (ev_window_open), (ev_window_cmd_save_as),
4390 (using_postscript_printer), (ev_window_print),
4391 (find_not_supported_dialog), (ev_window_cmd_edit_find),
4392 (update_fullscreen_popup), (ev_window_fullscreen),
4393 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
4394 (ev_window_focus_out_cb), (ev_window_cmd_help_about),
4395 (menu_item_select_cb), (find_bar_search_changed_cb),
4396 (ev_window_dispose), (ev_window_init):
4398 Add initial support for password-supported dialogs. This could be
4399 a lot cooler, but it'll do for now.
4401 2005-01-18 Marco Pesenti Gritti <marco@gnome.org>
4403 * pdf/xpdf/pdf-document.cc:
4404 * shell/ev-view.c: (status_message_from_link),
4405 (ev_view_set_status), (ev_view_set_cursor),
4406 (ev_view_motion_notify_event), (ev_view_init):
4407 * shell/ev-window.c: (view_status_changed_cb), (ev_window_init):
4409 Fix bugs in the links implementation and change cursor
4410 when hovering a link.
4412 2005-01-17 Bryan Clark <clarkbw@cvs.gnome.org>
4414 * viewer/.cvsignore: added cvsignore file for viewer directory
4416 * TODO: created TODO document
4418 2005-01-14 Dave Malcolm <dmalcolm@redhat.com>
4421 * shell/ev-view.c (ev_view_can_go_back), (ev_view_can_go_forward):
4422 new functions to help with implementation of sensitivity code
4423 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
4424 of all actions that might require it. Fixes a crash when you
4425 click on the Zoom actions in a window lacking a document.
4427 2005-01-13 Dave Malcolm <dmalcolm@redhat.com>
4429 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
4432 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
4434 * pixbuf/pixbuf-document.c: (pixbuf_document_get_link),
4435 (pixbuf_document_document_iface_init):
4436 * ps/ps-document.c: (ps_document_get_link),
4437 (ps_document_document_iface_init):
4438 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event),
4439 (status_message_from_link), (ev_view_set_status),
4440 (ev_view_set_find_status), (ev_view_motion_notify_event),
4441 (ev_view_button_release_event), (ev_view_set_property),
4442 (ev_view_get_property), (ev_view_class_init), (ev_view_init),
4443 (ev_view_get_find_status_message), (update_find_results),
4444 (ev_view_get_status), (ev_view_get_find_status):
4446 * shell/ev-window.c: (view_status_changed_cb),
4447 (view_find_status_changed_cb), (ev_window_init):
4449 View status message support, use it to show the links.
4452 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
4454 * backend/ev-document.c: (ev_document_get_link):
4455 * backend/ev-document.h:
4456 * pdf/xpdf/pdf-document.cc:
4457 * shell/ev-application.c: (ev_application_open):
4458 * shell/ev-application.h:
4459 * shell/ev-sidebar-links.c: (selection_changed_cb):
4460 * shell/ev-view.c: (ev_view_button_release_event), (go_to_link),
4461 (ev_view_go_to_link):
4463 Add support for document links
4465 2005-01-13 Anders Carlsson <andersca@gnome.org>
4467 * shell/ev-page-action.c: (update_spin), (total_pages_changed_cb),
4469 Set the spin button limits correctly.
4471 * shell/ev-sidebar-thumbnails.c:
4472 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init):
4473 Support changing pages by clicking on the thumbnails.
4475 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
4477 * pixbuf/pixbuf-document.c:
4478 (pixbuf_document_thumbnails_get_dimensions),
4479 (pixbuf_document_document_thumbnails_iface_init):
4481 implement get_dimensions
4483 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
4485 * ps/ps-document.c: (ps_document_goto_page):
4487 Fix page switching on multipage documents
4489 2005-01-12 Jeff Muizelaar <jrmuizel@nit.ca>
4491 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
4493 check for NULL before assigning to width and height parameters
4495 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
4497 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
4498 (pixbuf_document_set_property), (pixbuf_document_get_property):
4500 implement get/set properties
4502 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
4504 * pdf/xpdf/pdf-document.cc: (pdf_info_dict_get_string):
4506 return NULL instead of "Unknown", letting the title get set to
4507 the filename when the pdf has no title.
4509 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
4511 * ps/ps-document.c: (ps_document_get_page_count),
4512 (ps_document_goto_page):
4514 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
4516 * shell/ev-history.c: (ev_history_get_property),
4517 (ev_history_set_property), (ev_history_class_init),
4518 (ev_history_add_page), (ev_history_set_current_index):
4519 * shell/ev-navigation-action.c: (ev_navigation_action_set_history),
4520 (activate_menu_item_cb), (new_history_menu_item), (build_menu),
4521 (ev_navigation_action_finalize):
4522 * shell/ev-navigation-action.h:
4523 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
4524 (ev_view_go_forward), (ev_view_get_find_status_message),
4525 (history_index_changed_cb), (ev_view_set_history):
4527 * shell/ev-window.c: (update_total_pages), (ev_window_open),
4528 (update_current_page), (register_custom_actions):
4530 Implement history dropdowns
4532 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
4534 * shell/ev-history.c: (ev_history_init), (ev_history_add_link):
4535 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
4536 (ev_view_go_forward):
4537 * shell/ev-window.c: (register_custom_actions):
4539 Fix several history bugs
4541 2005-01-11 Kjartan Maraas <kmaraas@gnome.org>
4543 * configure.ac: Add «nb» to ALL_LINGUAS.
4545 2005-01-10 Marco Pesenti Gritti <marco@gnome.org>
4547 * backend/Makefile.am:
4548 * backend/ev-bookmark.c:
4549 * backend/ev-bookmark.h:
4550 * backend/ev-document-bookmarks.c:
4551 * backend/ev-document-bookmarks.h:
4552 * backend/ev-document-links.c: (ev_document_links_get_type),
4553 (ev_document_links_has_document_links),
4554 (ev_document_links_begin_read), (ev_document_links_get_link),
4555 (ev_document_links_get_child), (ev_document_links_next),
4556 (ev_document_links_free_iter):
4557 * backend/ev-document-links.h:
4558 * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_title),
4559 (ev_link_set_title), (ev_link_get_uri), (ev_link_set_uri),
4560 (ev_link_get_link_type), (ev_link_set_link_type),
4561 (ev_link_get_page), (ev_link_set_page), (ev_link_get_property),
4562 (ev_link_set_property), (ev_window_dispose), (ev_link_init),
4563 (ev_link_class_init), (ev_link_new_title), (ev_link_new_page),
4564 (ev_link_new_external):
4565 * backend/ev-link.h:
4566 * pdf/xpdf/pdf-document.cc:
4567 * shell/Makefile.am:
4568 * shell/ev-application.c: (ev_application_open_link):
4569 * shell/ev-application.h:
4570 * shell/ev-history.c: (ev_history_add_link), (ev_history_add_page),
4571 (ev_history_get_link_nth):
4572 * shell/ev-history.h:
4573 * shell/ev-sidebar-bookmarks.c:
4574 * shell/ev-sidebar-bookmarks.h:
4575 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
4576 (ev_sidebar_links_class_init), (selection_changed_cb),
4577 (ev_sidebar_links_construct), (ev_sidebar_links_init),
4578 (links_page_num_func), (ev_sidebar_links_new), (stack_data_free),
4579 (do_one_iteration), (populate_links_idle),
4580 (ev_sidebar_links_clear_document), (ev_sidebar_links_set_document):
4581 * shell/ev-sidebar-links.h:
4582 * shell/ev-sidebar.c: (ev_sidebar_set_document):
4583 * shell/ev-view.c: (go_to_link), (ev_view_go_to_link),
4586 * shell/ev-window.c: (ev_window_open_link), (ev_window_init):
4587 * shell/ev-window.h:
4589 Rename bookmark to link, and use "Index" for the sidebar panel.
4591 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
4593 * shell/Makefile.am:
4594 * shell/ev-application.c: (ev_application_open_bookmark):
4595 * shell/ev-application.h:
4596 * shell/ev-history.c: (ev_history_init), (free_links_list),
4597 (ev_history_finalize), (ev_history_class_init),
4598 (ev_history_add_link), (ev_history_add_page),
4599 (ev_history_get_link_nth), (ev_history_get_n_links),
4600 (ev_history_get_current_index), (ev_history_set_current_index),
4602 * shell/ev-history.h:
4603 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
4604 * shell/ev-view.c: (ev_view_finalize), (ev_view_set_document),
4605 (set_document_page), (go_to_bookmark), (ev_view_go_to_bookmark),
4606 (go_to_index), (ev_view_go_back), (ev_view_go_forward),
4609 * shell/ev-window.c: (ev_window_open_bookmark),
4610 (ev_window_cmd_go_back), (ev_window_cmd_go_forward),
4611 (goto_page_cb), (register_custom_actions):
4612 * shell/ev-window.h:
4614 Initial history implementation. Needs work.
4616 2005-01-09 Martin Kretzschmar <martink@gnome.org>
4618 * pdf/xpdf/GDKSplashOutputDev.cc (redraw): fix pixbuf data offset.
4620 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
4622 * cut-n-paste/recent-files/egg-recent-item.c:
4623 * cut-n-paste/recent-files/egg-recent-item.h:
4624 * cut-n-paste/recent-files/egg-recent-model.c:
4625 * cut-n-paste/recent-files/egg-recent-util.c:
4626 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
4627 * cut-n-paste/recent-files/egg-recent-view.c:
4631 2005-01-08 Martin Kretzschmar <martink@gnome.org>
4633 * pdf/splash/Splash.cc (clear, drawPixel, drawSpan, xorSpan, getPixel)
4634 (fillGlyph, fillImageMask, drawImage):
4635 pdf/splash/SplashBitmap.cc (SplashBitmap, ~SplashBitmap, writePNMFile):
4636 pdf/splash/SplashTypes.h:
4637 pdf/xpdf/SplashOutputDev (startPage, getColor, imageSrc): implement RGB8
4638 packed mode for Splash.
4640 * pdf/xpdf/GDKSplashOutputDev.cc (GDKSplashOutputDev, redraw): use
4641 RGB8 packed mode, eliminates the pixbuf data creation loop.
4643 * shell/ev-print-job.c (ev_print_job_finalize)
4644 (ev_print_job_set_property, ev_print_job_get_property)
4645 (ev_print_job_set_gnome_print_job, ev_print_job_set_document)
4646 (ev_print_job_use_print_dialog_settings, idle_print_handler)
4647 (print_closure_finalize, ev_print_job_print): implement
4648 printing (for backends with EvPsExporter)
4650 * shell/ev_print_job.h: update prototypes.
4652 * shell/ev-window.c (ev_window_print): unref print job after
4655 * shell/ev-view.c (ev_view_set_document): don't connect to "found"
4656 unless the document implements the EvDocumentFind interface.
4658 2005-01-08 Satoru SATOH <ss@gnome.gr.jp>
4660 * configure.ac: Added ja to ALL_LINGUAS.
4662 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
4664 * pdf/xpdf/pdf-document.cc:
4666 add a FIXME. We should probably not allocate
4667 a bookmark object every time
4669 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
4671 * shell/ev-application.c: (ev_application_open),
4672 (ev_application_open_bookmark):
4673 * shell/ev-application.h:
4675 Add a way to open bookmarks
4677 * backend/ev-bookmark.c: (ev_bookmark_get_uri),
4678 (ev_bookmark_set_uri), (ev_bookmark_get_property),
4679 (ev_bookmark_set_property), (ev_bookmark_class_init),
4680 (ev_bookmark_new_title), (ev_bookmark_new_link),
4681 (ev_bookmark_new_external):
4683 Support for external uris, better constructors.
4685 * backend/ev-bookmark.h:
4686 * pdf/xpdf/pdf-document.cc:
4687 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
4689 Handle external uris
4691 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
4693 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb),
4694 (ev_sidebar_bookmarks_construct), (do_one_iteration):
4696 Hook up bookmarks navigation
4698 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
4700 * backend/Makefile.am:
4701 * backend/ev-bookmark.c: (ev_bookmark_type_get_type),
4702 (ev_bookmark_get_title), (ev_bookmark_set_title),
4703 (ev_bookmark_get_bookmark_type), (ev_bookmark_set_bookmark_type),
4704 (ev_bookmark_get_page), (ev_bookmark_set_page),
4705 (ev_bookmark_get_property), (ev_bookmark_set_property),
4706 (ev_window_dispose), (ev_bookmark_init), (ev_bookmark_class_init),
4708 * backend/ev-bookmark.h:
4709 * backend/ev-document-bookmarks.c:
4710 (ev_document_bookmarks_get_bookmark):
4711 * backend/ev-document-bookmarks.h:
4712 * pdf/xpdf/pdf-document.cc:
4713 * shell/ev-sidebar-bookmarks.c: (do_one_iteration):
4715 Add a bookmark object to the backend and use it instead of get_values
4717 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
4719 * data/evince-ui.xml:
4721 Cleanup and add select all.
4723 * shell/ev-view.c: (ev_view_select_all),
4724 (ev_view_button_press_event):
4726 * shell/ev-window.c: (ev_window_cmd_edit_select_all):
4729 Clear selection on click.
4731 Fri Jan 7 01:28:58 2005 Jonathan Blandford <jrb@redhat.com>
4733 * shell/ev-sidebar-thumbnails.c
4734 (ev_sidebar_thumbnails_set_document): forgot to unref the
4737 Fri Jan 7 01:22:48 2005 Jonathan Blandford <jrb@redhat.com>
4739 * shell/ev-sidebar-thumbnails.c: fill in the thumbnails starting
4740 at the visible page, not just linearly. This makes it look fast.
4742 Thu Jan 6 18:48:11 2005 Jonathan Blandford <jrb@redhat.com>
4744 * backend/ev-document-misc.c
4745 (ev_document_misc_get_thumbnail_frame): fill in the thumbnail with
4747 * backend/ev-document-thumbnails.h: New interface to get the size
4750 2005-01-06 Jeremy Katz <katzj@redhat.com>
4752 * shell/Makefile.am (evince_SOURCES): Add ev-utils.[ch] so that
4755 Wed Jan 5 15:38:28 2005 Jonathan Blandford <jrb@redhat.com>
4757 * pdf/xpdf/pdf-document.cc (bitmap_to_pixbuf): bypass
4758 GDKSplashOutputDev and just use a normal SplashOutputDev. Speeds
4761 * shell/ev-sidebar-thumbnail.c: start of some profiling code.
4763 2005-01-05 Martin Kretzschmar <martink@gnome.org>
4765 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): match only outline
4766 fonts. Should fix font problems on systems that have the base
4767 fonts in bitmap format. Reported by James Henstridge
4768 <james@jamesh.id.au>.
4770 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
4773 * pdf/xpdf/GfxState.cc:
4775 Fix for CAN-2004-1125
4777 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
4779 * shell/ev-view.c: (ev_view_copy):
4781 * shell/ev-window.c: (ev_window_cmd_edit_copy):
4783 Implement Edit->Copy
4785 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
4787 * backend/ev-document.c: (ev_document_get_text):
4788 * backend/ev-document.h:
4789 * pdf/xpdf/pdf-document.cc:
4790 * shell/ev-view.c: (ev_view_realize), (expose_bin_window),
4791 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
4792 (ev_view_update_primary_selection), (ev_view_button_press_event),
4793 (ev_view_motion_notify_event), (ev_view_button_release_event):
4795 Beginnings of clipboard support. Incomplete but primary sort
4798 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
4800 * shell/ev-view.c: (ev_gdk_color_to_rgb), (draw_rubberband),
4801 (expose_bin_window):
4803 Nicer rubberband drawing, from GtkIconView.
4805 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
4807 * backend/ev-document.c: (ev_document_save):
4808 * backend/ev-document.h:
4809 * data/evince-ui.xml:
4810 * pdf/xpdf/pdf-document.cc:
4811 * shell/ev-window.c: (save_error_dialog), (ev_window_cmd_save_as):
4813 Implement "Save a copy..." menu item
4815 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
4817 * shell/ev-view.c: (ev_view_zoom):
4819 Queue a resize when zoom changes
4821 Wed Jan 5 02:33:06 2005 Jonathan Blandford <jrb@redhat.com>
4823 * backend/ev-document-misc.[ch]: New misc file to do simple drop
4826 * pdf/xpdf/pdf-document.cc: use the drop shadows in both types of
4829 Tue Jan 4 22:32:32 2005 Jonathan Blandford <jrb@redhat.com>
4831 * pdf/xpdf/pdf-document.cc
4832 (pdf_document_thumbnails_get_page_pixbuf): poor man's dropshadow.
4834 Tue Jan 4 21:25:05 2005 Jonathan Blandford <jrb@redhat.com>
4836 * pdf/xpdf/pdf-document.cc: Do real thumbnailing of PDF files.
4837 It's slow, but I'll speed it up next!
4839 2005-01-04 Jeff Muizelaar <jrmuizel@nit.ca>
4841 * shell/main.c (load_files):
4843 use gnome_vfs_make_uri_from_shell_arg so that relative paths work
4844 from the command line and because it seems more appropriate.
4846 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
4848 * data/evince-ui.xml:
4849 * shell/ev-window.c: (update_action_sensitivity),
4850 (ev_window_cmd_go_page_up), (ev_window_cmd_go_page_down):
4852 s/next page/page down
4853 s/previous page/page up
4855 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
4857 * data/evince-ui.xml:
4859 Change the layout to match clarkbw design.
4861 * shell/Makefile.am:
4862 * shell/ev-navigation-action.c: (build_menu), (menu_activated_cb),
4863 (set_tooltip_cb), (connect_proxy), (ev_navigation_action_init),
4864 (ev_navigation_action_finalize),
4865 (ev_navigation_action_set_property),
4866 (ev_navigation_action_get_property),
4867 (ev_navigation_action_class_init):
4868 * shell/ev-navigation-action.h:
4870 Implement clarkbw toolbar navigation controls (incomplete)
4872 * shell/ev-page-action.c: (update_label), (update_spin),
4873 (value_changed_cb), (create_tool_item), (connect_proxy),
4874 (ev_page_action_init), (ev_page_action_finalize),
4875 (ev_page_action_set_property), (ev_page_action_get_property),
4876 (ev_page_action_set_current_page),
4877 (ev_page_action_set_total_pages), (ev_page_action_class_init):
4878 * shell/ev-page-action.h:
4880 Implement a page switcher in the toolbar
4882 * shell/ev-view.c: (ev_view_scroll_view):
4883 * shell/ev-window.c: (update_total_pages), (ev_window_open),
4884 (update_current_page), (view_page_changed_cb), (goto_page_cb),
4885 (register_custom_actions), (ev_window_init):
4887 Change page on PageUp/Down.
4889 Tue Jan 4 03:22:56 2005 Jonathan Blandford <jrb@redhat.com>
4891 * pdf/xpdf/pdf-document.cc
4892 (pdf_document_thumbnails_get_thumbnail): initial stab at
4893 implementing thumbnail support for pdfs. It only does documents
4894 with precached pdfs now.
4896 Mon Jan 3 17:22:25 2005 Jonathan Blandford <jrb@redhat.com>
4898 * shell/ev-sidebar-thumbnails.c (do_one_iteration): move the
4899 thumbnail code into a time-based idle as well. Also, turn off the
4900 shadow temporarily as it's really slow.
4902 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
4904 * backend/ev-document.c: (ev_document_class_init):
4905 * pdf/xpdf/pdf-document.cc:
4906 * shell/ev-window.c: (ev_window_open):
4908 Fix document title bugs and fallback to
4909 filename when not available.
4911 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
4913 * backend/ev-document.c: (ev_document_get_type),
4914 (ev_document_class_init), (ev_document_load),
4915 (ev_document_get_title):
4916 * backend/ev-document.h:
4917 * pdf/xpdf/pdf-document.cc:
4918 * ps/ps-document.c: (ps_document_set_property),
4919 (ps_document_get_property), (ps_document_class_init),
4923 * shell/ev-window.c: (update_window_title), (ev_window_open),
4926 Initial support for document title. Not working yet.
4928 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
4930 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event):
4932 Grab focus on the view when clicking it
4934 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
4936 * shell/ev-marshal.list:
4937 * shell/ev-view.c: (ev_view_realize), (add_scroll_binding),
4938 (ev_view_scroll_view), (ev_view_class_init), (ev_view_init):
4940 Add key bindings to the view. Now if the focus would work
4943 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
4946 * backend/Makefile.am:
4949 * dvi/dvilib/Makefile.am:
4950 * pdf/xpdf/Makefile.am:
4956 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
4958 * shell/ev-view.c: (ev_view_realize):
4960 Fix mouse wheel scrolling
4962 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
4968 * ps/ps-document.c: (catchPipe), (ps_document_init),
4969 (ps_document_class_init), (ps_document_cleanup),
4970 (ps_document_finalize), (send_ps), (ps_document_get_orientation),
4971 (set_up_page), (close_pipe), (is_interpreter_ready),
4972 (interpreter_failed), (output), (input), (start_interpreter),
4973 (stop_interpreter), (file_length), (file_readable),
4974 (check_filecompressed), (check_pdf), (compute_xdpi),
4975 (compute_ydpi), (compute_size), (ps_document_enable_interpreter),
4976 (ps_document_get_type), (ps_document_emit_error_msg),
4977 (document_load), (ps_document_next_page),
4978 (ps_document_get_current_page), (ps_document_get_page_count),
4979 (ps_document_goto_page), (ps_document_set_page_size),
4980 (ps_document_zoom_to_fit), (ps_document_set_zoom),
4981 (ps_document_load), (ps_document_get_n_pages),
4982 (ps_document_set_page), (ps_document_get_page),
4983 (ps_document_widget_event), (ps_document_set_target),
4984 (ps_document_set_scale), (ps_document_set_page_offset),
4985 (ps_document_get_page_size), (ps_document_render),
4986 (ps_document_document_iface_init):
4989 * shell/ev-window.c: (ev_window_open):
4991 Rename GtkGS to PSDocument
4993 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
4995 * ps/gtkgs.c: (gtk_gs_class_init):
4998 Some more leftover...
5000 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5002 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_get_orientation),
5003 (output), (stop_interpreter), (gtk_gs_emit_error_msg),
5004 (gtk_gs_zoom_to_fit), (gtk_gs_set_zoom):
5007 Remove unused code and make a lot of stuff private
5009 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5011 * ps/gsdefaults.c: (gtk_gs_defaults_gconf_client),
5012 (gtk_gs_defaults_changed):
5018 Cleanup headers dependencies
5020 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5025 * ps/gsdefaults.c: (gtk_gs_defaults_get_paper_sizes):
5027 * ps/gtkgs.c: (file_length), (file_readable),
5028 (check_filecompressed), (check_pdf), (gtk_gs_load),
5029 (gtk_gs_get_postscript):
5033 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
5038 * ps/gtkgs.c: (gtk_gs_set_zoom):
5042 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
5044 * ps/gtkgs.c: (gtk_gs_set_zoom), (gtk_gs_set_zoom_mode):
5046 Ensure the page is rerendered when changing zoom
5048 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
5050 * backend/ev-document.c: (ev_document_base_init),
5051 (ev_document_changed):
5052 * backend/ev-document.h:
5054 Add a changed event that is emitted when the page content
5055 changes. This is necessary to deal with the fact that
5056 in ps backend rendering happen asycrounously.
5057 This makes the ps backend mostly work.
5059 * pdf/xpdf/pdf-document.cc:
5063 * ps/gtkgs.c: (set_up_page), (gtk_gs_widget_event),
5064 (ps_document_set_target):
5068 * shell/ev-view.c: (document_changed_callback),
5069 (ev_view_set_document), (ev_view_set_page):
5071 Redraw on the changed signal
5073 2004-12-25 Raphael Higino <raphaelh@cvs.gnome.org>
5075 * configure.ac: Added pt_BR to ALL_LINGUAS.
5077 Fri Dec 24 00:48:44 2004 Jonathan Blandford <jrb@redhat.com>
5079 * backend/ev-document-bookmarks.c:
5080 (ev_document_bookmarks_get_child): *
5081 backend/ev-document-bookmarks.h: * pdf/xpdf/Makefile.am: *
5082 pdf/xpdf/pdf-document.cc: * pdf/xpdf/pdf-document.h: *
5083 shell/Makefile.am: * shell/ev-sidebar-bookmarks.c:
5084 (ev_sidebar_bookmarks_destroy),
5085 (ev_sidebar_bookmarks_class_init),
5086 (ev_sidebar_bookmarks_construct), (stack_data_free),
5087 (do_one_iteration), (populate_bookmarks_idle),
5088 (ev_sidebar_bookmarks_clear_document),
5089 (ev_sidebar_bookmarks_set_document): *
5090 shell/ev-sidebar-bookmarks.h: * shell/ev-sidebar.c:
5091 (ev_sidebar_add_page),
5092 (ev_sidebar_set_document): * shell/ev-window.c: (ev_window_open):
5093 Initial stab at a bookmarks sidebar. It doesn't navigate yet, but
5094 it displays both the topics and the page numbers.
5096 2004-12-23 Kristian Høgsberg <krh@redhat.com>
5098 * shell/ev-window.c (ev_window_view_sidebar_cb): Hook up sidebar
5100 * shell/ev-window.c (toggle_entries): Set sidebar default value to
5103 2004-12-23 Adam Weinberger <adamw@gnome.org>
5105 * configure.ac: Added en_CA to ALL_LINGUAS.
5107 2004-12-23 Martin Kretzschmar <martink@gnome.org>
5109 * ChangeLog: replace bottom of this ChangeLog (merged history of
5110 ggv and gpdf; where all paths were wrong and most of the files are
5111 not even in this tree) with ChangeLog (from arch) of the shell
5114 2004-12-23 Havoc Pennington <hp@redhat.com>
5116 * shell/ev-window.c: hook up potentially-questionable "find
5117 results status text" feature - something involving the sidebar or
5118 scrollbar or a continuous all-pages-on-giant-roll-of-paper-view
5119 might be better in the end.
5121 * shell/ev-view.c (ev_view_get_find_status_message): new function,
5122 with corresponding signal when it should be updated
5124 * shell/eggfindbar.c (egg_find_bar_set_status_text): new function
5126 2004-12-22 Havoc Pennington <hp@redhat.com>
5128 * pdf/xpdf/pdf-document.cc (pdf_document_find_begin): make search
5129 find stuff on other pages, sort of (only returns one result on
5130 invisible pages, to show they have results; updates full results
5131 for a page when you view it). Currently repaints the current page
5132 every time a new result is found on any page, which isn't so nice.
5134 2004-12-22 Havoc Pennington <hp@redhat.com>
5136 * shell/ev-window.c (ev_window_cmd_edit_find): display an error if
5137 the document doesn't support find (better ideas?)
5138 (find_bar_search_changed_cb): handle missing document or document
5139 that doesn't support find
5141 * pdf/xpdf/pdf-document.cc: port to implement the new
5144 * backend/ev-document-find.c: create a new interface for searching
5146 * backend/ev-document.h, backend/ev-document.c: delete the find stuff
5148 2004-12-23 Martin Kretzschmar <martink@gnome.org>
5150 * pdf/xpdf/Makefile.am (libpdfdocument_la_LIBADD): add
5153 * shell/ev-window.c (ev_window_print): add GnomePrintJob to
5154 EvPrintJob constructor arguments.
5156 * backend/ev-ps-exporter.c, backend/ev-ps-exporter.h: interface
5157 for documents that can export PostScript (page by page).
5159 * backend/Makefile.am (libevbackend_la_SOURCES): add them.
5161 * pdf/xpdf/pdf-document.cc (pdf_document_ps_export_begin)
5162 (pdf_document_ps_export_do_page, pdf_document_ps_export_end)
5163 (pdf_document_ps_exporter_iface_init:
5164 Implement EvPSExporter.
5166 * pdf/xpdf/Makefile.am (libxpdf_la_SOURCES): build PSOutputDev.
5168 2004-12-22 Anders Carlsson <andersca@gnome.org>
5170 * backend/Makefile.am:
5171 * backend/ev-document-thumbnails.c:
5172 (ev_document_thumbnails_get_type),
5173 (ev_document_thumbnails_get_thumbnail):
5174 * backend/ev-document-thumbnails.h:
5175 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
5176 (pixbuf_document_thumbnails_get_thumbnail),
5177 (pixbuf_document_document_thumbnails_iface_init):
5178 * shell/Makefile.am:
5179 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_destroy),
5180 (ev_sidebar_thumbnails_class_init), (ev_sidebar_thumbnails_init),
5181 (populate_thumbnails), (ev_sidebar_thumbnails_set_document):
5182 * shell/ev-sidebar-thumbnails.h:
5183 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
5184 (ev_sidebar_set_document):
5185 * shell/ev-utils.c: (gaussian), (create_blur_filter),
5186 (create_shadow), (ev_pixbuf_add_shadow):
5188 Add thumbnail support.
5190 2004-12-22 Martin Kretzschmar <martink@gnome.org>
5192 * shell/ev-window.c (ev_window_cmd_file_print, ev_window_print)
5193 (using_postscript_printer): Set up a print dialog for "PostScript
5196 * shell/ev-print-job.h, shell/ev-print-job.c: stub classes for
5199 * shell/Makefile.am (evince_SOURCES): add ev-print-job.[ch]
5201 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
5203 * ps/gtkgs.c: (gtk_gs_init), (set_up_page),
5204 (ps_document_set_target), (ps_document_get_page_size),
5205 (ps_document_render):
5210 2004-12-22 Christian Rose <menthos@menthos.com>
5212 * configure.ac: Added "sv" to ALL_LINGUAS.
5214 Wed Dec 22 14:47:38 2004 Jonathan Blandford <jrb@redhat.com>
5216 * backend/ev-document-bookmarks.[ch]: new interface to indicate
5217 document supports bookmarks.
5219 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
5221 * ps/ggvutils.c: (ggv_file_readable):
5223 * ps/gtkgs.c: (check_filecompressed), (check_pdf),
5224 (gtk_gs_get_postscript):
5228 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
5230 * ps/gtkgs.c: (gtk_gs_init), (gtk_gs_class_init), (gtk_gs_cleanup),
5231 (gtk_gs_finalize), (gtk_gs_set_center), (set_up_page), (output),
5232 (start_interpreter), (compute_size), (gtk_gs_enable_interpreter),
5233 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_reload),
5234 (gtk_gs_emit_error_msg), (gtk_gs_disable_interpreter),
5235 (gtk_gs_load), (gtk_gs_goto_page), (gtk_gs_set_page_size),
5236 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
5237 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
5238 (gtk_gs_set_antialiasing), (ps_document_load),
5239 (ps_document_render):
5242 Another check point for the ps backend. Now I can get it to show
5245 Wed Dec 22 13:41:01 2004 Jonathan Blandford <jrb@redhat.com>
5247 * shell/ev-sidebar.c (ev_sidebar_set_document): initial sidebar
5248 document setting code.
5250 2004-12-22 Anders Carlsson <andersca@gnome.org>
5252 * shell/eggfindbar.c: (entry_activate_callback):
5253 Animate the next button when activate is pressed.
5255 2004-12-22 Anders Carlsson <andersca@gnome.org>
5257 * shell/ev-window.c: (ev_window_cmd_edit_find),
5258 (update_fullscreen_popup), (ev_window_fullscreen),
5259 (ev_window_unfullscreen), (ev_window_state_event_cb),
5260 (ev_window_focus_out_cb), (find_bar_close_cb), (ev_window_init):
5261 Fix bugs in fullscreen code.
5263 2004-12-22 Anders Carlsson <andersca@gnome.org>
5267 * pixbuf/Makefile.am:
5268 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
5269 (pixbuf_document_load), (pixbuf_document_get_n_pages),
5270 (pixbuf_document_set_page), (pixbuf_document_get_page),
5271 (pixbuf_document_set_target), (pixbuf_document_set_scale),
5272 (pixbuf_document_set_page_offset), (pixbuf_document_get_page_size),
5273 (pixbuf_document_render), (pixbuf_document_begin_find),
5274 (pixbuf_document_end_find), (pixbuf_document_finalize),
5275 (pixbuf_document_class_init),
5276 (pixbuf_document_document_iface_init), (pixbuf_document_init):
5277 * pixbuf/pixbuf-document.h:
5278 * shell/Makefile.am:
5279 * shell/ev-application.c: (ev_application_open):
5280 * shell/ev-window.c: (mime_type_supported_by_gdk_pixbuf),
5284 Tue Dec 21 21:45:43 2004 Soeren Sandmann <sandmann@redhat.com>
5287 * dvi/dvilib/Makefile.am:
5289 * configure.ac: Auto*ify dvi and dvi/dvilib
5291 * dvi/Makefile: Remove from CVS
5293 * dvi/dvilib/dl-pkfont.cc (unpack_bitmap): Fix uchar/uint
5296 * dvi/dvilib/dl-fontdefinition.{cc,hh}: New DviFontMap class
5298 * dvi/dvilib/dl-vffont.{cc,hh}: Many bugfixes to VF code.
5300 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
5303 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_finalize),
5304 (gtk_gs_value_adjustment_changed), (compute_size),
5305 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_new_from_file),
5306 (gtk_gs_center_page), (gtk_gs_load), (gtk_gs_set_page_size),
5307 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
5308 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
5309 (gtk_gs_start_scroll), (gtk_gs_get_postscript),
5310 (gtk_gs_set_adjustments), (gtk_gs_set_available_size),
5311 (ps_document_load), (ps_document_get_n_pages),
5312 (ps_document_set_page), (ps_document_get_page),
5313 (ps_document_set_target), (ps_document_set_scale),
5314 (ps_document_set_page_offset), (ps_document_get_page_size),
5315 (ps_document_render), (ps_document_begin_find),
5316 (ps_document_end_find), (ps_document_document_iface_init):
5318 * shell/Makefile.am:
5319 * shell/ev-window.c: (ev_window_open):
5321 Some work to integrate gtkgs with EvDocument
5323 2004-12-22 Anders Carlsson <andersca@gnome.org>
5325 * shell/ev-window.c: (update_fullscreen_popup),
5326 (screen_size_changed_cb), (destroy_exit_fullscreen_popup),
5327 (exit_fullscreen_button_clicked_cb),
5328 (fullscreen_popup_size_request_cb), (ev_window_fullscreen),
5329 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
5330 (ev_window_state_event_cb), (ev_window_init):
5331 Add fullscreen support from Epiphany.
5333 2004-12-22 Mark McLoughlin <mark@skynet.ie>
5335 * data/ev-stock-zoom-fit-width.png: fit-width
5336 stock icon from gpdf.
5338 * shell/ev-stock-icons.[ch]: copied from gpdf.
5340 * shell/main.c: (main): init stock icons.
5342 * shell/ev-window.c: use the fit-width icon.
5344 * data/evince-ui.xml: add zooming toolbar items.
5346 2004-12-22 Mark McLoughlin <mark@skynet.ie>
5349 (ev_view_best_fit), (ev_view_fit_width): because
5350 get_page_size() returns the scaled page size, we
5351 need to calculate the scale factor relative to
5352 the previous scale factor. Should really just
5353 add get_real_page_size().
5355 2004-12-22 Mark McLoughlin <mark@skynet.ie>
5357 * shell/ev-view.[ch]:
5358 (ev_view_zoom), (ev_view_zoom_in), (ev_view_zoom_out),
5359 (ev_view_normal_size), (ev_view_best_fit), (ev_view_fit_width):
5362 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
5363 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_normal_size),
5364 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width):
5367 * pdf/xpdf/pdf-document.cc:
5368 (pdf_document_begin_find),
5369 (pdf_document_end_find): make static.
5371 2004-12-22 Martin Kretzschmar <martink@gnome.org>
5373 * pdf/xpdf/GlobalParams.h (setupBaseFontsFc): add prototype.
5375 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): maps base font
5376 names to fontconfig patterns.
5377 (setupBaseFontsFc): setupBaseFonts reimplemented using fontconfig.
5379 * pdf/xpdf/pdf-document.cc (pdf_document_load): use
5382 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
5398 Import ggv backend. Not hooked up yet.
5400 2004-12-22 Mark McLoughlin <mark@skynet.ie>
5402 * shell/main.c: (load_files), (main): load files
5403 from the command line.
5405 2004-12-22 Mark McLoughlin <mark@skynet.ie>
5407 * configure.ac: don't require bonobo.
5409 * cut-n-paste/recent-files/*: kill bonobo recent
5412 * shell/ev-window.c:
5413 (ev_window_is_empty): upd.
5414 (unable_to_load), (ev_window_open): load backend
5415 based on the mime type.
5417 2004-12-22 Martin Kretzschmar <martink@gnome.org>
5419 * backend/.cvsignore: ignore generated marshalers source.
5421 * shell/main.c (main): this is not epiphany.
5423 2004-12-22 Havoc Pennington <hp@redhat.com>
5425 * shell/ev-view.c (ev_view_set_document): connect to "found" signal
5426 (expose_bin_window): draw find highlights
5428 * shell/ev-window.c (find_bar_search_changed_cb): implement
5430 * pdf/xpdf/pdf-document.cc (pdf_document_begin_find)
5431 (pdf_document_end_find): implement this interface
5433 * backend/ev-document.c (ev_document_found): add this to emit
5436 Tue Dec 21 23:57:37 2004 Owen Taylor <otaylor@redhat.com>
5438 * data/evince-ui.xml: Add a few more toolbar items.
5440 * shell/ev-window.c: Hook up page navigation toolbar
5443 * shell/ev-view.[ch]: add ev_view_set/get_page and
5444 a page-changed signal.
5446 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc::
5447 Add ev_document_get_page().
5449 * shell/ev-window.c: Sensitize/desensitize navigation
5452 2004-12-21 Havoc Pennington <hp@redhat.com>
5454 * backend/ev-backend-marshal.c,
5455 backend/ev-backend-marshalers.list, backend/Makefile.am: add
5456 marshaler-generator thingy. I'm sure there's a better way to do
5457 this in the modern world.
5459 * backend/ev-document.h (struct _EvDocumentIface): add begin_find,
5460 end_find methods and "found" signal.
5462 * configure.ac: find glib-genmarshal
5464 Tue Dec 21 23:20:35 2004 Jonathan Blandford <jrb@redhat.com>
5466 * shell/ev-sidebar.c: Construct an actual sidebar.
5467 * shell/ev-sidebar-bookmarks.[ch]:
5468 * shell/ev-sidebar-thumbnails.[ch]: Stub out sidebars.
5470 Tue Dec 21 23:05:51 2004 Owen Taylor <otaylor@redhat.com>
5472 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc:
5475 * shell/ev-view.c: Track the size from the document.
5477 Tue Dec 21 22:17:04 2004 Owen Taylor <otaylor@redhat.com>
5479 * pdf/xpdf/pdf-document.cc (pdf_document_load): PDFDoc
5480 constructor assumes ownership of the string passed in.
5482 * shell/ev-window.c (ev_window_open): Destroy the error
5483 dialog once we've displayed it.
5485 Tue Dec 21 21:58:56 2004 Owen Taylor <otaylor@redhat.com>
5487 * pdf/xpdf/pdf-document.cc shell/ev-view.c: Hook things up
5488 a bit, it works! (sort of)
5490 * pdf/xpdf/Makefile.am pdf/xpdf/pdf-document.cc:
5491 Move to .cc since we need to use C++ in the implementation.
5493 * shell/dummy.cc: Add a CC file to force evince
5494 to be linked as a C++ program.
5496 Tue Dec 21 21:07:55 2004 Owen Taylor <otaylor@redhat.com>
5498 * shell/ev-view.[ch]: Start of content-area widget.
5500 * shell/ev-window.c: Create a EvView, update it
5501 as we change documents.
5503 * shell/Makefile.am shell/ev-marshal.list: Add
5504 generated marshalers.
5506 Tue Dec 21 20:28:11 2004 Jonathan Blandford <jrb@redhat.com>
5508 * Makefile.am (SUBDIRS): move shell.
5510 Tue Dec 21 19:28:55 2004 Owen Taylor <otaylor@redhat.com>
5512 * pdf/{goo,fofi,splash,xpdf}/Makefile.am: Switch from
5513 .a to libtool convenience libraries.
5515 * shell/ev-window.c (ev_window_open): Hard code loading
5518 * backend/ev-document.h: Add a boolean return to load(),
5519 fix GError * to GError **.
5521 * pdf/xpdf/pdf-document.[ch] Makefile.am: Add a stub
5522 object for a PDF backend EvDocument.
5524 Tue Dec 21 18:55:06 2004 Søren Sandmann <sandmann@redhat.com>
5526 * dvi/*: New directory with the beginning of a .dvi backend.
5528 2004-12-21 Havoc Pennington <hp@redhat.com>
5530 * shell/eggfindbar.c (egg_find_bar_init): change buttons to
5531 previous/next instead of back/forward
5533 Tue Dec 21 18:26:24 2004 Owen Taylor <otaylor@redhat.com>
5535 * backend/ev-document.[ch]: Fix a couple of problems so
5538 Tue Dec 21 18:20:40 2004 Owen Taylor <otaylor@redhat.com>
5540 * viewer/* backend/* configure.ac Makefile.am: Move viewer directory
5541 to backend/ directory, rename EvViewer to EvDocument.
5543 2004-12-21 Havoc Pennington <hp@redhat.com>
5545 * shell/ev-window.c: hook up the find bar widget; now we just need
5546 a document to find things in
5548 * shell/eggfindbar.c: a find bar widget
5550 Tue Dec 21 17:20:16 2004 Jonathan Blandford <jrb@redhat.com>
5552 * shell/ev-sidebar.[ch]: initial sidebar boilerplate.
5554 Tue Dec 21 16:30:58 2004 Owen Taylor <otaylor@redhat.com>
5556 * pdf/**: Import of xpdf code from gpdf.
5558 * pdf/xpdf/xpdfconfig.h: Move the non-config.h config.h to xpdfconfig.h
5560 * pdf/splash/SplashFTFont.{cc,h} pdf/splash/SplashFTFont.h
5561 pdf/splash/SplashFTFontEngine.h pdf/splash/SplashFTFontFile.h:
5562 Fix FreeType includes.
5564 * pdf/xpdf/{Error.h GnomeVFSStream.cc ImageOutputDev.cc PDFDoc.cc\
5565 pdffonts.cc pdfimages.cc pdfinfo.cc pdftoppm.cc pdftops.cc
5566 pdftotext.cc PSOutputDev.cc PSOutputDev.h SplashOutputDev.h
5567 Stream.cc TextOutputDev.cc XPDFApp.cc xpdf.cc XPDFViewer.cc
5568 pdf/xpdf/Error.h PSOutputDev.h SplashOutputDev.h}:
5569 Include xpdfconfig.h
5571 Tue Dec 21 16:08:17 2004 Jonathan Blandford <jrb@redhat.com>
5573 * shell/ev-window.c (ev_window_dispose): dispose can be called
5576 2004-12-21 Havoc Pennington <hp@redhat.com>
5578 * shell/ev-window.c (ev_window_init): set title to Document Viewer
5581 * data/evince-ui.xml, shell/ev-window.c: add a bunch of stub menu
5582 items; really they should be synced with the strings, etc. from
5583 current gpdf, but just getting the boring typing out of the way
5585 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
5588 * shell/ev-application.c: (window_destroy_cb):
5589 * shell/ev-window.c:
5590 * shell/main.c: (main):
5592 Actually show the window...
5594 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
5597 * shell/Makefile.am:
5598 * shell/ev-application.c: (ev_application_class_init):
5599 * shell/ev-window.c: (ev_window_dispose), (ev_window_class_init):
5603 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
5605 Import to gnome cvs.
5607 * Remove copies of gpdf and ggv trees.
5608 * Rip out all the recursive configure code.
5609 * Remove bonobo machinery.
5610 * viewer/*: GInterfaces that backends should/can implement.
5612 2004-11-09 Martin Kretzschmar <m_kretzschmar@gmx.net>
5614 * shell/ev-window.c (ev_window_cmd_help_about): fix "documentors"
5617 2004-10-28 Martin Kretzschmar <m_kretzschmar@gmx.net>
5619 * shell/ev-application.c (EV_APPLICATION_GET_PRIVATE)
5620 (ev_application_finalize, ev_application_class_init)
5621 (ev_application_init): use GType instance private data for priv.
5623 * shell/ev-window.c (EV_WINDOW_GET_PRIVATE)
5624 (ev_window_finalize, ev_window_class_init)
5625 (ev_window_init): ditto.
5627 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
5629 * shell/ev-application.c (ev_application_new_window): make public
5630 (ev_application_show_initial_window): kill.
5632 * shell/ev-application.h: update prototypes.
5634 * shell/main.cc (main): inline ev_application_show_initial_window.
5636 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
5638 * shell/ev-application.c (ev_application_new_window): impl.
5639 (ev_application_show_initial_window): use it.
5640 (is_window_empty, ev_application_get_empty_window): returns an
5641 existing empty window or a new one.
5642 (ev_application_open): from ev_window_cmd_file_open.
5644 * shell/ev-application.h: update prototypes
5646 * shell/ev-window.c (ev_window_is_empty): impl.
5647 (ev_window_open): make public.
5648 (ev_window_cmd_file_open): use ev_application_open
5650 * shell/ev-window.h: update prototypes, remove unused.
5652 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
5654 * shell/ev-window.c (ev_window_destroy, ev_window_class_init):
5655 move destroy handler out of here...
5657 * shell/ev-application.c, shell/ev-application.h: ...into this new
5658 class. Also handles initial window creation.
5660 * shell/main.cc (main): use EvApplication to create initial
5663 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
5665 * Makefile.am (SUBDIRS): add cut-n-paste
5667 * cut-n-paste/Makefile.am: add
5669 * configure.ac: generate Makefiles in cut-n-paste
5671 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
5673 * shell/ev-window.c (ev_window_dispose): new, unref the ui_manager
5674 (ev_window_class_init): install ev_window_dispose.
5676 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
5678 * shell/ev-window.h, shell/ev-window.c: replace gchar with
5679 char (gchar looks stupid).
5681 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
5683 * po/de.po: updated German translation.
5685 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
5687 * configure.ac: add more pkg-config library checks for gnome-vfs,
5690 * gpdf/configure.in: temporarily disable libpaper
5691 checks. Otherwise I'd have to add the checks for the shell, too.
5693 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
5695 * shell/ev-window.c (ev_window_cmd_file_open): add ps+pdf, ps, pdf
5696 and * file filters to the file choose.
5698 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
5700 * po/de.po: Updated German translation.
5702 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
5704 * shell/ev-window.c: use "S" as mnemonic for Statusbar.
5706 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
5708 * data/evince-ui.xml: add View->Toolbar and View->Statusbar.
5710 * shell/ev-window.c (menu_item_select_cb, menu_item_select_cb)
5711 (ev_window_init): implement those menuitems.
5713 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
5715 * data/evince-ui.xml: add a toolbar (with FileOpen action)
5717 * shell/ev-window.c (ev_window_init): use the toolbar.
5719 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
5721 * shell/ev-window.c (ev_window_init): use menu translations
5723 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
5725 * configure.ac: add "de" to ALL_LINGUAS.
5727 * po/de.po: add German translation.
5729 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
5731 * Makefile.am (SUBDIRS): add po
5733 * configure.ac: check intltool, glib-gettext etc, generate
5736 * po, po/POTFILES.in, po/POTFILES.skip: new.
5738 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
5740 * shell/Makefile.am (INCLUDES): define GNOMELOCALEDIR which we
5741 already use (#ifdef ENABLE_NLS)
5743 * shell/ev-window.c (ev_window_cmd_help_about): fix two star
5744 pointer indirection thinko.
5746 * shell/main.c: include gi18n.h for bindtextdomain etc.
5748 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5750 * shell/ev-window.c (menu_item_select_cb, menu_item_deselect_cb)
5751 (connect_proxy_cb, disconnect_proxy_cb, ev_window_init): show
5752 tooltips for menu items in the statusbar.
5754 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5756 * configure.ac, data/Makefile.am, shell/Makefile.am: use
5757 pkgdatadir drop UIDIR
5759 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5761 * data/evince-ui.xml: Add File->Open menu item
5763 * shell/ev-window.c (ev_window_cmd_file_open): impl. (shows a file
5764 chooser), hook it up in the ui manager.
5766 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5768 * shell/ev-window.c: fix Help->About tooltip.
5770 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5772 * configure.ac: set CFLAGS for libevprivate.
5774 * lib/ev-stock-icons.h, lib/ev-stock-icons.c: stock icon
5775 definitions, factory etc.
5777 * lib/Makefile.am: build libevprivate.a (only stock icon code).
5779 * shell/Makefile.am: link against libevprivate.a.
5781 * shell/ev-window.c (entries): add stock icon to Help->About.
5783 * shell/main.c (main): init stock icon code.
5785 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5787 * lib/recent-files: egg recent files code
5789 * lib/Makefile.am: add.
5791 * Makefile.am: add lib subdir.
5793 * configure.ac: gen. lib/Makefile and lib/recent-files/Makefile,
5794 set CFLAGS for recent-files.
5796 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5798 * configure.ac: disable -ansi and -pedantic gcc flags. They
5799 disable POSIX stuff in stdio.h, but egg-recent uses them.
5801 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5803 * configure.ac: add --disable-deprecated flag (defaults to on in
5806 * shell/Makefile.am (INCLUDES): use it.
5808 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5810 * shell/main.c: add missing #include.
5812 * shell/ev-window.c: fix for pedantic gcc.
5813 (ev_window_cmd_help_about): split license into paragraphs for
5814 translators and pedantic compilers.
5816 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5818 * configure.ac: add more warning flags if compiling with gcc from
5819 cvs (or explicitly requested with --enable-more-warnings).
5821 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5823 * data/evince-ui.xml: add File and File->Close menu.
5825 * shell/ev-window.c (ev_window_cmd_file_close_window): impl.
5826 (ev_window_destroy): quit after destroy.
5827 (ev_window_class_init): override GtkObject::destroy.
5828 (entries): install close_window callback.
5830 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5832 * Makefile.am (SUBDIRS): add data subdir.
5834 * configure.ac (UIDIR): gen data/Makefile, define UIDIR. Require
5835 gtk+ 2.5.0 for GtkAboutDialog.
5837 * data/Makefile.am, data/evince-ui.xml: add, ui definition for the
5840 * shell/Makefile.am (INCLUDES): propagate UIDIR definition.
5842 * shell/ev-window.c (ev_window_init): create a menubar, using a ui
5844 (ev_window_cmd_help_about): about command, using GtkAboutDialog.
5846 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5848 * shell/ev-window.c, shell/ev-window.h: Created an EvWindow class.
5850 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
5852 * shell/main.c: make it a trivial gtk+ program, adjust configure.ac
5854 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
5856 * shell/*: Added shell directory boilerplate, build it.
5858 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
5860 * configure.ac, Makefile.am: Added top-level configure.ac and