1 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
5 Enable dbus when available, do not require a configure
8 2005-07-05 Christian Persch <chpe@cvs.gnome.org>
12 Use AM_CONDITIONAL unconditionally, fixes the build with DBUS
15 2005-07-05 Carlos Garcia Campos <carlosgc@gnome.org>
16 Marco Pesenti Gritti <mpg@redhat.com>
18 * shell/Makefile.am: Add --prefix for dbus-binding-tool script
20 * shell/ev-application.[ch], shell/ev-window.c: change dbus RPC
21 functions to the format required by dbus
23 * shell/main.c: use G_TYPE instead of DBUS_TYPE to fix compilation
24 errors. Use the RPC parameters in the expected way
26 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
29 * properties/Makefile.am:
30 * properties/ev-properties-main.c: (ev_properties_get_pages):
32 Support all mime types
35 * thumbnailer/Makefile.am:
36 * thumbnailer/evince-thumbnailer.c: (get_document_from_uri),
37 (evince_thumbnail_pngenc_get):
39 Use the document factory
41 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
43 * backend/Makefile.am:
44 * backend/ev-document-factory.c:
45 (mime_type_supported_by_gdk_pixbuf),
46 (ev_document_type_get_from_mime),
47 (ev_document_factory_get_document),
48 (ev_document_factory_get_backend),
49 (ev_document_factory_get_mime_types),
50 (ev_document_factory_get_all_mime_types):
51 * backend/ev-document-factory.h:
53 * shell/ev-document-types.c: (get_document_from_uri),
54 (ev_document_types_get_document),
55 (file_filter_add_mime_list_and_free),
56 (ev_document_types_add_filters):
57 * shell/ev-document-types.h:
58 * shell/ev-job-xfer.c: (ev_job_xfer_run):
59 * shell/ev-properties-dialog.c:
60 (ev_properties_dialog_set_document):
61 * shell/ev-window.c: (ev_window_cmd_file_open),
62 (ev_window_cmd_save_as):
63 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
65 Rework document types managing to avoid code duplication
66 and actually abstract from backend implementations.
67 Also provide a minimal factory api that can be used by
68 thumbnailer/properties.
70 2005-07-05 Christian Persch <chpe@cvs.gnome.org>
72 * properties/ev-properties-view.c: (ev_properties_view_set_info):
74 * shell/ev-properties-dialog.c: (ev_properties_dialog_init):
77 2005-07-04 Matthew S. Wilson <msw@rpath.com>
79 * shell/ev-properties-dialog.c
80 (ev_properties_dialog_set_document): only call
81 ev_properties_fonts_set_document() if the document implements the
84 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
87 * properties/Makefile.am:
88 * properties/ev-properties-view.c:
89 (ev_properties_view_register_type):
90 * properties/ev-properties-view.h:
91 * properties/ev-properties-main.h:
93 Implement nautilus plugin for properties.
94 Works only for pdf atm, I need to rework the
95 document types stuff to get this to work
98 2005-07-04 Martin Kretzschmar <martink@gnome.org>
100 * shell/ev-properties-fonts.c (enum): kill redundant columns enum
101 (ev_properties_fonts_set_document): use
102 EV_DOCUMENT_FONTS_COLUMN_NUM_COLUMNS.
104 2005-07-04 Matthew S. Wilson <msw@rpath.com>
106 * tiff/tiff2ps.c: remove TRUE and FALSE definitions, glib provides
108 (PlaceImage, tiff2ps_process_page): use
109 g_ascii_dtostr to convert floats to strings in a locale-safe way.
112 2005-07-04 Martin Kretzschmar <martink@gnome.org>
114 * shell/main.c: include libgnomeui/gnome-authentication-manager.h
115 (main): to call gnome_authentication_manager_init. Should fix
118 * configure.ac: that requires libgnomeui 2.6.0.
120 2005-07-04 Matthew S. Wilson <msw@rpath.com>
122 * tiff/tiff-document.c (tiff_document_ps_export_begin)
123 (tiff_document_ps_export_do_page, tiff_document_ps_export_end):
124 use the new tiff2ps interfaces
126 * tiff/tiff2ps.h (tiff2ps_context_new, tiff2ps_process_page)
127 (tiff2ps_context_finalize): implement new interfaces for tiff2ps
129 * tiff/tiff2ps.c: refactor tiff2ps code to use a context
130 structure instead of global variables. Remove use of static
131 variables in functions.
133 2005-07-04 Carlos Garcia Campos <carlosgc@gnome.org>
135 * shell/ev-page-action.c: unref the completion after setting it to the
138 2005-07-04 Matthew S. Wilson <msw@rpath.com>
140 * tiff/tiff2ps.c (generateEPSF): disable generating encapsulated
143 2005-07-04 Matthew S. Wilson <msw@rpath.com>
145 * shell/ev-window.c (update_action_sensitivity): disable
146 File->Print if the document does not implement the ps exporter
149 2005-07-04 Marco Pesenti Gritti <mpg@redhat.com>
153 * data/evince-properties.glade:
154 * properties/.cvsignore:
155 * properties/Makefile.am:
156 * properties/ev-properties-view.c: (ev_properties_view_dispose),
157 (ev_properties_view_class_init), (ev_properties_view_format_date),
158 (make_valid_utf8), (set_property), (ev_properties_view_set_info),
159 (ev_properties_view_init), (ev_properties_view_new):
160 * properties/ev-properties-view.h:
162 * shell/ev-properties-dialog.c: (ev_properties_dialog_class_init),
163 (ev_properties_dialog_init), (ev_properties_dialog_set_document),
164 (ev_properties_dialog_new):
165 * shell/ev-properties-dialog.h:
166 * shell/ev-properties-fonts.c: (ev_properties_fonts_dispose),
167 (ev_properties_fonts_class_init), (ev_properties_fonts_init),
168 (update_progress_label), (job_fonts_finished_cb),
169 (ev_properties_fonts_set_document), (ev_properties_fonts_new):
170 * shell/ev-properties-fonts.h:
171 * shell/ev-properties.c:
172 * shell/ev-properties.h:
173 * shell/ev-window.c: (ev_window_setup_document),
174 (ev_window_cmd_file_properties):
176 Split the properties pages in two different objects, depend
177 only on the backend where possible, use widgets instead
178 of gobject for the glade part, reimplement the dialog
180 I need this to implement nautilus properties page.
182 2005-07-03 Matthew S. Wilson <msw@rpath.com>
184 * tiff/tiff-document.c (tiff_document_ps_export_begin)
185 (tiff_document_ps_export_do_page, tiff_document_ps_export_end)
186 (tiff_document_document_ps_exporter_iface_init): implement the ps
187 exporter interface for tiff documents
189 * tiff/tiff2ps.c: added a modified version of tiff2ps.c from
190 libtiff to implement TIFF postscript export
192 * tiff/tiff2ps.h: added a header file for external tiff2ps
195 * tiff/Makefile.am (libtiffdocument_la_SOURCES): add tiff2ps.c and
198 2005-07-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
200 * shell/ev-view.c: (scroll_to_current_page),
201 (ev_view_set_fullscreen), (ev_view_set_presentation):
203 Scroll to current page when exit from presentation
205 2005-07-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
207 * shell/ev-window.c: (update_document_mode),
208 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
209 (ev_window_cmd_view_fullscreen), (ev_window_stop_presentation),
210 (ev_window_cmd_view_presentation), (ev_window_cmd_escape):
212 Exit from fullscreen mode when switch to presentation. Fix for
215 2005-07-02 Matthew S. Wilson <msw@rpath.com>
217 * shell/ev-pixbuf-cache.c (ev_pixbuf_cache_get_selection_pixbuf):
218 return NULL if the document does not implement the selection
221 2005-07-02 Matthew S. Wilson <msw@rpath.com>
223 * tiff/tiff-document.c (tiff_document_get_page_size): scale the
224 reported height by using the resolution aspect ratio
225 (tiff_document_render_pixbuf): scale the pixbuf using the
226 resolution aspect ratio
228 2005-07-01 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
232 Require libgnomeprint >= 2.5.1. Thanks to Colin Slater
233 <kiltedaco@gmail.com>
235 * djvu/djvu-document.c: (djvu_document_get_orientation),
236 (djvu_document_set_orientation), (djvu_document_get_page_size),
237 (rotate_pixbuf), (djvu_document_render_pixbuf),
238 (djvu_document_document_iface_init):
239 * dvi/dvi-document.c: (dvi_document_get_orientation),
240 (dvi_document_set_orientation), (dvi_document_get_page_size),
241 (rotate_pixbuf), (dvi_document_render_pixbuf),
242 (dvi_document_document_iface_init):
244 Dvi and djvu backends are ported to new API
246 Fri Jul 1 00:10:15 2005 Jonathan Blandford <jrb@redhat.com>
248 * backend/ev-selection.c: (ev_selection_get_selection_region),
249 (ev_selection_get_selection_map):
250 * backend/ev-selection.h:
252 * shell/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
254 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info),
255 (job_finished_cb), (copy_job_to_job_info), (add_job_if_needed),
256 (ev_pixbuf_cache_get_text_mapping):
257 * shell/ev-pixbuf-cache.h:
258 * shell/ev-view.c: (location_in_text),
259 (ev_view_motion_notify_event), (ev_view_set_cursor): Add I-Beam
260 support to EvView. Now we can see where we can select! Sweet!
262 2005-06-30 Kristian Høgsberg <krh@redhat.com>
264 * shell/ev-view.c (ev_view_button_press_event): Fix
265 event->y + view->scroll_x typo.
267 2005-06-30 Kristian Høgsberg <krh@redhat.com>
269 * pdf/ev-poppler.cc: Adjust to poppler API changes; use a
270 sub-GdkPixbuf instead of passing dest_x and dest_y.
272 * shell/ev-view.c: (view_point_to_doc_point),
273 (view_rect_to_doc_rect), (ev_view_button_press_event),
274 (ev_view_motion_notify_event), (compute_new_selection_rect),
275 (gdk_rectangle_point_in), (compute_new_selection_text),
276 (compute_selections): Update selection code to keep the selection
277 around as two points and not as a normalized rectangle, and fix
278 page level selection in two-column mode.
280 2005-06-30 Alex Duggan <aldug@astrolinux.com>
282 * shell/ev-window.c: (window_configure_event_cb):
286 2005-06-30 Marco Pesenti Gritti <mpg@redhat.com>
292 2005-06-30 Marco Pesenti Gritti <mpg@redhat.com>
295 * shell/ev-metadata-manager.c: (item_free),
296 (ev_metadata_manager_init), (ev_metadata_manager_shutdown),
297 (parse_value), (parseItem), (load_values),
298 (ev_metadata_manager_get), (value_free), (ev_metadata_manager_set),
299 (save_values), (save_item), (get_oldest), (resize_items),
300 (ev_metadata_manager_save), (ev_metadata_manager_set_int):
301 * shell/ev-metadata-manager.h:
303 Metadata manager from gedit but modified to use GValue, so that
304 we dont need to keep converting from strings.
308 ENABLE_METADATA conditional, on when dbus is on
310 * shell/ev-application.c: (ev_application_open_uri):
312 Show the window after load so that we can initialize
313 window size before it's showed.
315 * shell/ev-window.c: (ev_window_setup_from_metadata),
316 (ev_window_open_uri), (window_configure_event_cb),
319 Save and load metadata information about window size.
320 Not yet keeping states in account.
322 * shell/main.c: (main):
324 Shutdown metadata manager.
326 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
328 * shell/ev-application-service.xml:
331 * shell/ev-application.c:
332 * shell/ev-application.h:
337 Add an optional dbus interface (--enable-dbus).
338 Rework application code, mainly to be easier to
340 Do not open multiple windows with the same document,
343 Thu Jun 30 01:50:14 2005 Jonathan Blandford <jrb@redhat.com>
345 * shell/ev-pixbuf-cache.c (clear_selection_if_needed): unref the
346 pixbuf iff it exists.
348 Thu Jun 30 01:43:00 2005 Jonathan Blandford <jrb@redhat.com>
351 * backend/ev-render-context.[ch]:
352 * backend/ev-selection.[ch]:
354 Massive changes. We now support text selection of pdfs, and not
355 just rectangular selection. This is pretty broken still, but I
356 want to get something into CVS.
358 2005-06-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
362 Fix for Bug 309080: crash on window close.
364 * shell/ev-page-action.c: (page_changed_cb):
366 Fix for Bug 309168: Fix build with gcc 2.95. Thanks to
367 jensgr@gmx.net (Jens Granseuer).
369 2005-06-25 Marcel Telka <marcel@telka.sk>
371 * configure.in (ALL_LINGUAS): Added sk.
373 2005-06-24 Carlos Garcia Campos <carlosgc@gnome.org>
375 * shell/ev-window.c: Make rotate menu entries unsensitive if there is
378 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
385 * cut-n-paste/recent-files/Makefile.am:
389 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
391 * pixbuf/pixbuf-document.c: (pixbuf_document_get_orientation),
392 (pixbuf_document_set_orientation), (rotate_pixbuf),
393 (pixbuf_document_get_page_size), (pixbuf_document_render_pixbuf),
394 (pixbuf_document_document_iface_init), (pixbuf_document_init):
396 Implement rotation and cleanup the code a bit.
398 * tiff/tiff-document.c: (tiff_document_get_page_size),
399 (tiff_document_get_orientation), (tiff_document_set_orientation),
400 (rotate_pixbuf), (tiff_document_render_pixbuf),
401 (tiff_document_document_iface_init), (tiff_document_init):
403 Implement rotation. Was the quicker solution for the release
404 but we really need to share this code in the shell.
406 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
410 Enable rotation, require poppler cvs. Fix a leak.
412 2005-06-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
414 * shell/ev-window.c: (update_action_sensitivity):
416 Make properties unsensitive if document backend doesn't provide
419 2005-06-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
421 * dvi/mdvi-lib/bitmap.c: (bitmap_alloc), (bitmap_alloc_raw),
422 (bitmap_flip_horizontally), (bitmap_flip_vertically),
423 (bitmap_flip_diagonally), (bitmap_rotate_clockwise),
424 (bitmap_rotate_counter_clockwise), (bitmap_flip_rotate_clockwise),
425 (bitmap_flip_rotate_counter_clockwise):
426 * dvi/mdvi-lib/color.c: (mdvi_push_color), (get_color_table):
427 * dvi/mdvi-lib/common.c: (read_string), (buff_free), (buff_add),
429 * dvi/mdvi-lib/common.h:
430 * dvi/mdvi-lib/dvimisc.c: (mdvi_push_color):
431 * dvi/mdvi-lib/dviread.c: (get_bytes), (dreset), (define_font),
432 (opendvi), (mdvi_reload), (mdvi_init_context),
433 (mdvi_destroy_context), (mdvi_dopage), (special):
434 * dvi/mdvi-lib/font.c: (font_drop_one), (font_free_unused):
435 * dvi/mdvi-lib/fontmap.c: (read_encoding), (destroy_encoding),
436 (file_hash_free), (register_encoding), (parse_spec),
437 (mdvi_load_fontmap), (free_ent), (mdvi_init_fontmaps),
438 (mdvi_add_fontmap_file), (mdvi_ps_read_fontmap),
439 (mdvi_ps_flush_fonts), (mdvi_ps_find_font), (mdvi_ps_get_metrics):
440 * dvi/mdvi-lib/fontsrch.c: (mdvi_list_font_class),
441 (mdvi_register_font_type), (mdvi_unregister_font_type),
442 (lookup_font), (mdvi_add_font), (mdvi_font_retry):
443 * dvi/mdvi-lib/gf.c: (gf_read_bitmap), (gf_load_font):
444 * dvi/mdvi-lib/hash.c: (mdvi_hash_remove), (mdvi_hash_remove_ptr),
445 (mdvi_hash_destroy_key), (mdvi_hash_reset):
446 * dvi/mdvi-lib/pagesel.c: (mdvi_parse_range),
447 (mdvi_parse_page_spec), (mdvi_free_page_spec), (main):
448 * dvi/mdvi-lib/paper.c: (mdvi_free_paper_specs):
449 * dvi/mdvi-lib/pk.c: (pk_lookup), (pk_lookupn), (pk_load_font):
450 * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
451 * dvi/mdvi-lib/special.c: (mdvi_register_special),
452 (mdvi_unregister_special), (mdvi_flush_specials):
453 * dvi/mdvi-lib/t1.c: (t1_lookup_font), (t1_really_load_font),
455 * dvi/mdvi-lib/tfm.c: (get_tfm_chars):
456 * dvi/mdvi-lib/tfmfile.c: (afm_load_file), (tfm_load_file),
457 (ofm1_load_file), (ofm_load_file), (get_font_metrics),
458 (free_font_metrics), (flush_font_metrics):
459 * dvi/mdvi-lib/tt.c: (tt_really_load_font), (tt_get_bitmap),
461 * dvi/mdvi-lib/util.c: (mdvi_malloc), (mdvi_realloc),
462 (mdvi_calloc), (mdvi_free), (mdvi_strdup), (mdvi_strncpy),
463 (mdvi_strndup), (mdvi_memdup), (xstradd), (dstring_append),
464 (dstring_insert), (dstring_new), (dstring_reset):
465 * dvi/mdvi-lib/vf.c: (vf_load_font), (vf_free_macros):
467 Rename xmalloc and xfree to mdvi_malloc and mdvi_free to
468 avoid conflict with libtool on FC4
470 * shell/ev-window.c: (ev_window_cmd_help_about):
472 Update copyright year. Fix for bug 308828.
474 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
476 * shell/ev-view.c: (add_scroll_binding_keypad),
477 (ev_view_binding_activated), (ev_view_class_init),
478 (on_adjustment_value_changed):
480 Bug 170874: Arrow keys switch pages in presentation mode
482 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
484 * shell/ev-window.c: (ev_window_sidebar_visibility_changed_cb):
486 Fix for Bug 308265: Sidebar dissappears coming out of
489 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
491 * shell/ev-application.c: (ev_application_open):
492 * shell/ev-document-types.c: (ev_document_types_add_filters),
493 (ev_document_types_add_filters_for_type):
494 * shell/ev-document-types.h:
495 * shell/ev-window.c: (ev_window_cmd_save_as):
497 Suggest basename as template when saving, provide filters
498 for save dialog. It's bug 308402
500 2005-06-20 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
503 * shell/ev-sidebar-links.c: (job_finished_callback):
504 * shell/ev-view.c: (update_find_status_message):
508 2005-06-19 Christian Persch <chpe@cvs.gnome.org>
510 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
511 (egg_recent_view_uimanager_set_list):
513 Fix buglet in !show_numbers case.
515 2005-06-19 Christian Persch <chpe@cvs.gnome.org>
517 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
518 (connect_proxy_cb), (egg_recent_view_uimanager_set_list):
520 Use pango ellipsisation.
524 Fix refcount leak, from nsh.
526 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
528 * cut-n-paste/recent-files/Makefile.am:
529 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
530 * cut-n-paste/recent-files/egg-recent-view-gtk.h:
532 Removed EggRecentViewGtk
534 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
535 * cut-n-paste/recent-files/egg-recent-view-uimanager.h:
536 * shell/ev-window.c: (ev_window_cmd_recent_file_activate),
537 (ev_window_setup_recent):
539 Use ViewUIManager instead of ViewGtk. Less leaks, more compatibility
542 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
544 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
545 (egg_recent_view_gtk_finalize):
549 * cut-n-paste/toolbar-editor/Makefile.am:
551 Fix location of cursor icon.
554 * shell/ev-page-action.c: (build_new_tree_cb), (match_selected_cb),
555 (display_completion_text), (match_completion):
556 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
557 (selection_changed_callback), (create_loading_model),
558 (print_section_cb), (links_page_num_func),
559 (update_page_callback_foreach):
560 * shell/ev-window.c: (ev_window_dispose):
562 Small memory fixes. Links model now store objects instead
563 of pointers to improve memory management.
565 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
567 * shell/ev-window.c: (zoom_control_changed_cb):
569 Fix update of zoom control (bug 308268).
571 Sat Jun 18 22:46:42 2005 Jonathan Blandford <jrb@redhat.com>
573 * shell/ev-properties.c (set_property): escape the text correctly.
574 Handles non-UTF-8 properties and escaped properties. Also, sets
575 the text to "<i>None</i>" if the property isn't set.
577 * data/evince-properties.glade: Change the label to be ellipsized,
578 and give it a minimum size.
580 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
582 * lib/ev-file-helpers.c: (ev_file_helpers_shutdown):
583 * shell/ev-sidebar-links.c: (create_loading_model):
584 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose):
585 * shell/ev-view.c: (ev_view_set_document):
586 * shell/ev-window.c: (ev_window_dispose):
588 Various small fixes, mostly memory leaks. Thanks to valgrind.
590 2005-06-19 Martin Kretzschmar <martink@gnome.org>
592 * ps/ps-document.c: remove the locale.h include again ;-). And
593 kill the (bogus) setlocale/savelocale business.
595 2005-06-19 Jaap A. Haitsma <jaap@haitsma.org>
599 Include locale.h to fix build
601 * shell/ev-sidebar.c:
603 Remove unnecessary includes
605 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
607 * dvi/dvi-document.c: (dvi_document_load):
608 * dvi/mdvi-lib/dviread.c: (mdvi_init_context):
611 Check for incorrect dvi files. Fix parsing dvi on AMD64
612 platform. Thanks to tester@tester.ca (Olivier Crete).
614 2005-06-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
616 * shell/ev-page-action.c: (match_selected_cb),
617 (display_completion_text), (match_completion), (update_model):
618 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
620 * shell/ev-sidebar.c: (ev_sidebar_destroy),
621 (ev_sidebar_menu_item_activate_cb), (ev_sidebar_add_page),
622 (ev_sidebar_set_document):
623 * shell/ev-window.c: (ev_window_xfer_job_cb),
624 (sidebar_widget_model_set), (sidebar_page_main_widget_update_cb):
626 Fixed lot's of memory leaks, for example, memory leak on reload,
627 described in bug 307793.
629 2005-06-18 Marco Pesenti Gritti <mpg@redhat.com>
632 * shell/ev-sidebar-thumbnails.c: (clear_range), (add_range),
633 (update_visible_range), (adjustment_changed_cb),
634 (ev_sidebar_thumbnails_fill_model),
635 (ev_sidebar_thumbnails_refresh),
636 (ev_sidebar_tree_selection_changed),
637 (ev_sidebar_icon_selection_changed),
638 (ev_sidebar_thumbnails_use_icon_view),
639 (ev_sidebar_thumbnails_set_document):
640 * shell/ev-sidebar-thumbnails.h:
641 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
642 (ev_window_cmd_edit_rotate_right), (ev_window_init):
644 Refresh thumbnails when changing orientation. Not fully
645 working yet becuase of a sidebar bug.
647 Set page orientation to poppler page everywhere. This sucks
648 really need to fix poppler.
650 2005-06-18 Marco Pesenti Gritti <mpg@redhat.com>
652 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
653 (egg_recent_view_gtk_new_menu_item),
654 (egg_recent_view_gtk_set_property),
655 (egg_recent_view_gtk_get_property),
656 (egg_recent_view_gtk_class_init), (egg_recent_view_gtk_init),
657 (egg_recent_view_gtk_set_tooltip_func),
658 (egg_recent_view_gtk_set_label_width),
659 (egg_recent_view_gtk_get_label_width):
660 * cut-n-paste/recent-files/egg-recent-view-gtk.h:
662 Sync with libegg (ellipsize labels)
664 2005-06-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
666 * data/evince-ui.xml:
667 * shell/ev-window.c: (ev_window_cmd_go_forward),
668 (ev_window_cmd_go_backward):
670 Shift + PageUp moves 10 Pages. Fix for 306125
672 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
676 Add a flag to check if orientation has been overriden
678 2005-06-17 Martin Kretzschmar <martink@gnome.org>
680 * ps/ps.c (psscan, psfree): read "Creator:" comment, free creator
683 * ps/ps.h: add creator field to document.
685 * ps/ps-document.c (ps_document_get_info): set format to PostScript,
688 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
690 * data/evince-properties.glade:
691 * shell/ev-properties.c: (ev_properties_set_document):
695 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
697 * shell/ev-properties.c: (ev_properties_set_document):
699 Remove unnecessary translations
701 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
703 * cut-n-paste/toolbar-editor/Makefile.am:
707 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
710 * cut-n-paste/recent-files/egg-recent-model.c:
711 (egg_recent_model_write_raw), (egg_recent_model_lock_file),
712 (egg_recent_model_unlock_file):
713 * cut-n-paste/recent-files/egg-recent-util.c:
714 (egg_recent_util_get_unique_id):
715 * cut-n-paste/recent-files/update-from-egg.sh:
716 * cut-n-paste/toolbar-editor/Makefile.am:
717 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
718 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
719 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
720 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
721 (egg_toolbars_model_get_type):
722 * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
724 Better makefile for toolbar editor and update everything
727 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
729 * shell/ev-window.c: (update_document_mode):
731 Prefer presentation mode when the document
734 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
736 * data/evince-ui.xml:
739 Add control-equal for zooming
741 2005-06-17 Theppitak Karoonboonyanan <thep@linux.thai.net>
743 * configure.ac: Added 'th' (Thai) to ALL_LINGUAS.
745 2005-06-16 Marco Pesenti Gritti <mpg@redhat.com>
747 * backend/ev-document.c: (ev_document_get_orientation):
748 * backend/ev-document.h:
750 * ps/ps-document.c: (ps_document_get_orientation),
751 (ps_document_set_orientation), (ps_document_document_iface_init):
753 Add a get_orientation api. Improve set_orientation.
755 * data/evince-ui.xml:
756 * shell/ev-view.c: (ev_view_set_orientation),
757 (ev_view_rotate_right), (ev_view_rotate_left):
759 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
760 (ev_window_cmd_edit_rotate_right):
762 Better ui for changing document orientation
764 2005-06-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
766 * shell/ev-sidebar-links.c: (ev_sidebar_links_get_property),
767 (ev_sidebar_links_class_init), (ev_sidebar_links_get_label):
768 * shell/ev-sidebar-links.h:
769 * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
770 (ev_sidebar_page_iface_init):
771 * shell/ev-sidebar-page.h:
772 * shell/ev-sidebar-thumbnails.c:
773 (ev_sidebar_thumbnails_get_property),
774 (ev_sidebar_thumbnails_class_init),
775 (ev_sidebar_thumbnails_set_document):
776 * shell/ev-sidebar-thumbnails.h:
777 * shell/ev-view.c: (ev_view_motion_notify_event):
778 * shell/ev-window.c: (update_chrome_visibility),
779 (ev_window_cmd_focus_page_selector),
780 (ev_window_update_fullscreen_popup), (view_actions_focus_in_cb),
781 (sidebar_page_main_widget_update_cb), (ev_window_init):
783 Autoraise toolbar on GoToPage binding and fix bindings in
784 EvSidebarThumbnails page.
786 2005-06-15 Christian Persch <chpe@cvs.gnome.org>
788 * shell/ev-properties.c: (update_progress_label):
790 Hide the progress label when finished; bug #307697.
792 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
796 Enable is_open for links, you will need poppler cvs
798 * shell/ev-properties.c: (job_fonts_finished_cb):
800 Get a lock on the document when filling the tree view
802 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
804 * backend/ev-document-links.h:
806 * shell/ev-sidebar-links.c: (create_loading_model),
807 (expand_open_links), (job_finished_callback):
809 Expand links when specified by the document.
810 Depend on a poppler api (defined out for now)
812 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
814 * shell/ev-properties.c: (ev_properties_dispose),
815 (ev_properties_class_init), (dialog_destroy_cb),
816 (ev_properties_init), (job_fonts_finished_cb), (setup_fonts_view),
817 (ev_properties_set_document), (ev_properties_new),
818 (ev_properties_show):
819 * shell/ev-properties.h:
821 Make it an object, cleanup the code, api to show it as transient
822 and to set the document.
824 * shell/ev-window.c: (ev_window_setup_document),
825 (ev_window_cmd_file_properties):
827 Adapt to EvProperties changes, do not show multiple
828 times, update it when document changes.
830 2005-06-14 Marco Pesenti Gritti <mpg@redhat.com>
833 * ps/ps-document.c: (ps_document_init), (get_page_orientation),
834 (ps_document_set_orientation), (ps_document_document_iface_init):
837 Implement orientation here too
839 * shell/ev-properties.c: (ev_properties_new):
840 * data/evince-properties.glade:
842 Hide the fonts page for backends that doesnt
845 2005-06-14 Marco Pesenti Gritti <mpg@redhat.com>
847 * backend/ev-document.c: (ev_document_set_orientation):
848 * backend/ev-document.h:
851 Add orientation api. Currently poppler api is not optimal,
852 we need to set orientation every time we _get a page.
853 I will try to fix that at some point.
855 * data/evince-ui.xml:
856 * shell/ev-window.c: (ev_window_cmd_edit_landscape),
857 (ev_window_cmd_edit_portrait), (ev_window_cmd_edit_flip):
859 Add orientation menu items
861 * shell/ev-page-cache.c: (ev_page_cache_clear):
862 * shell/ev-page-cache.h:
864 Add api to clear the cache
866 * shell/ev-view.c: (setup_caches), (clear_caches),
867 (ev_view_set_document), (ev_view_zoom_out),
868 (ev_view_set_orientation):
871 Implement orientation changing
873 2005-06-13 Marco Pesenti Gritti <mpg@redhat.com>
875 * backend/ev-document-fonts.c: (ev_document_fonts_get_progress),
876 (ev_document_fonts_scan), (ev_document_fonts_fill_model):
877 * backend/ev-document-fonts.h:
879 Separate scan and fill so that we can incrementally fill from
880 the main thread. Add a progress api.
882 * data/evince-properties.glade:
884 * shell/ev-jobs.c: (ev_job_fonts_new), (ev_job_fonts_run):
886 * shell/ev-properties.c: (update_progress_label),
887 (job_fonts_finished_cb), (setup_fonts_view):
889 Incrementally feel the list and show the progress
890 percentage in a label like acrobat does.
892 You are going to need poppler cvs
894 2005-06-11 Marco Pesenti Gritti <mpg@redhat.com>
896 * backend/ev-document-fonts.c: (ev_document_fonts_fill_model):
897 * backend/ev-document-fonts.h:
900 Make fonts model fill incrementally.
902 * shell/ev-job-queue.c: (handle_job), (search_for_jobs_unlocked),
903 (no_jobs_available_unlocked), (ev_job_queue_init), (find_queue),
904 (ev_job_queue_remove_job):
905 * shell/ev-jobs.c: (ev_job_fonts_init), (ev_job_fonts_class_init),
906 (ev_job_fonts_new), (ev_job_fonts_run):
909 New job for fonts scanning
911 * shell/ev-properties.c: (job_fonts_finished_cb),
912 (fill_fonts_treeview), (setup_fonts_view), (ev_properties_new):
913 * shell/ev-properties.h:
914 * shell/ev-window.c: (ev_window_cmd_file_properties):
916 Incrementally feel the treeview using the new job. Show Loading...
917 message until scanning is completed.
919 Hopefully I didnt break the build without the poppler patch.
921 2005-06-10 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
923 * shell/ev-application.c: (ev_application_open):
924 * shell/ev-document-types.c: (ev_document_type_from_from_mime),
925 (ev_document_type_get_type), (ev_document_type_lookup):
926 * shell/ev-document-types.h:
927 * shell/ev-job-xfer.c: (ev_job_xfer_dispose), (ev_job_xfer_run):
928 * shell/ev-job-xfer.h:
929 * shell/ev-window.c: (ev_window_clear_local_uri),
930 (ev_window_load_job_cb), (ev_window_xfer_job_cb),
931 (ev_window_open_uri), (ev_window_add_recent), (ev_window_dispose):
932 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
934 Transfer remote documents to tmp directory to display them later.
936 2005-06-10 Marco Pesenti Gritti <mpg@redhat.com>
938 * backend/ev-document-info.h:
939 * shell/ev-properties.c: (ev_properties_new):
941 s/GTime*/GTime. Not sure why we was using a pointer
944 Wed Jun 8 01:04:22 2005 Jonathan Blandford <jrb@redhat.com>
946 * shell/ev-sidebar-thumbnails.c: Use a GtkIconView in certain
947 situations. That situation is that you're using GTK+-HEAD with
948 the patch at #306726 is applied, and you have a document with <
949 1500 pages in it. It's not quite as uniformly nice as the
950 TreeView, but should be better in the long run.
952 I'm pretty sure I guarded against breaking compilation with
953 HAVE_GTK_ICON_VIEW_GET_VISIBLE_RANGE gaurds, though it's possible
956 * shell/ev-window.c (ev_window_init): We don't have our tree/list
957 widget yet, so I commented that code out
958 enable_view_actions_for_widget() for now. Need to figure this
961 * shell/ev-page-action.c (match_selected_cb): emit the right
962 signals. Our cool C-l completion now works.
964 2005-06-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
966 * backend/Makefile.am:
967 * backend/ev-document-fonts.c:
968 * backend/ev-document-links.c:
969 * backend/ev-document.c: (ev_document_load):
970 * backend/ev-document.h:
971 * backend/ev-job-queue.c:
972 * backend/ev-job-queue.h:
975 * backend/ev-page-cache.c:
976 * backend/ev-page-cache.h:
978 EvPageCache and EvJobs are moved to shell.
980 * lib/ev-file-helpers.c: (ev_file_helpers_shutdown),
982 * lib/ev-file-helpers.h:
984 New helper to work with temporary files
987 * shell/ev-application.c: (ev_application_open):
988 * shell/ev-application.h:
989 * shell/ev-job-queue.c: (remove_job_from_queue_locked),
990 (remove_job_from_async_queue), (add_job_to_async_queue),
991 (add_job_to_queue_locked), (notify_finished), (job_finished_cb),
992 (handle_job), (search_for_jobs_unlocked),
993 (no_jobs_available_unlocked), (ev_render_thread),
994 (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
995 (ev_job_queue_add_job), (move_job_async), (move_job),
996 (ev_job_queue_update_job), (ev_job_queue_remove_job):
997 * shell/ev-job-queue.h:
998 * shell/ev-job-xfer.c: (ev_job_xfer_init), (ev_job_xfer_dispose),
999 (ev_job_xfer_class_init), (ev_job_xfer_new), (ev_job_xfer_run):
1000 * shell/ev-job-xfer.h:
1001 * shell/ev-jobs.c: (ev_job_init), (ev_job_dispose),
1002 (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
1003 (ev_job_links_class_init), (ev_job_render_init),
1004 (ev_job_render_dispose), (ev_job_render_class_init),
1005 (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
1006 (ev_job_thumbnail_class_init), (ev_job_load_init),
1007 (ev_job_load_dispose), (ev_job_load_class_init), (ev_job_finished),
1008 (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
1009 (render_finished_cb), (ev_job_render_run), (ev_job_thumbnail_new),
1010 (ev_job_thumbnail_run), (ev_job_load_new), (ev_job_load_run):
1012 * shell/ev-page-action.c: (ev_page_action_set_document):
1013 * shell/ev-page-cache.c: (ev_page_cache_init),
1014 (ev_page_cache_class_init), (ev_page_cache_finalize),
1015 (ev_page_cache_new), (ev_page_cache_get_n_pages),
1016 (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
1017 (ev_page_cache_set_page_label), (ev_page_cache_set_link),
1018 (ev_page_cache_get_title), (ev_page_cache_get_size),
1019 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
1020 (ev_page_cache_get_height_to_page),
1021 (ev_page_cache_get_max_label_chars),
1022 (ev_page_cache_get_page_label),
1023 (ev_page_cache_has_nonnumeric_page_labels),
1024 (ev_page_cache_get_info), (ev_page_cache_next_page),
1025 (ev_page_cache_prev_page), (ev_page_cache_get):
1026 * shell/ev-page-cache.h:
1027 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_update_range),
1028 (ev_pixbuf_cache_clear_job_sizes),
1029 (ev_pixbuf_cache_add_jobs_if_needed),
1030 (ev_pixbuf_cache_set_page_range):
1031 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings):
1032 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document):
1033 * shell/ev-sidebar-thumbnails.c:
1034 (ev_sidebar_tree_selection_changed),
1035 (ev_sidebar_thumbnails_set_document):
1036 * shell/ev-statusbar.c: (ev_statusbar_destroy),
1037 (ev_statusbar_class_init), (ev_statusbar_init), (ev_statusbar_new),
1038 (ev_statusbar_get_context_id), (ev_statusbar_push),
1039 (ev_statusbar_pop), (ev_statusbar_set_maximized),
1040 (ev_statusbar_pulse), (ev_statusbar_show_progress),
1041 (ev_statusbar_set_progress):
1042 * shell/ev-statusbar.h:
1043 * shell/ev-view.c: (ev_view_set_document), (ev_view_find_next),
1044 (ev_view_find_previous):
1045 * shell/ev-window.c: (ev_window_is_empty),
1046 (ev_window_setup_document), (password_dialog_response),
1047 (ev_window_clear_jobs), (ev_window_load_job_cb),
1048 (ev_window_xfer_job_cb), (ev_window_open_uri),
1049 (ev_window_open_uri_list), (ev_window_cmd_recent_file_activate),
1050 (ev_window_print), (ev_window_print_range),
1051 (ev_window_state_event), (ev_window_cmd_view_reload),
1052 (menu_item_select_cb), (menu_item_deselect_cb),
1053 (view_status_changed_cb), (ev_window_dispose),
1054 (drag_data_received_cb), (ev_window_init):
1055 * shell/ev-window.h:
1056 * shell/main.c: (load_files):
1058 New statusbar to show progress on idle. Two new jobs -
1059 xfer job and load job to load document in background. And update
1060 of page_cache clients to new location of code.
1062 2005-06-08 Carlos Garcia Campos <carlosgc@gnome.org>
1064 * shell/ev-application.c, shell/ev-window.[ch]: Allow multiple
1065 selection in open dialog. It also remembers the last visited directory
1066 in the current session.
1068 2005-06-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1070 * shell/ev-properties.c: (ev_properties_new):
1071 * shell/ev-properties.h:
1072 * shell/ev-window.c: (ev_window_cmd_file_properties):
1074 Get document info from page cache instead of document itself.
1075 This should fix crash related to race conditions described in
1078 2005-06-07 Marco Pesenti Gritti <mpg@redhat.com>
1080 * ps/ps-document.c: (ps_document_init),
1081 (send_ps), (get_page_box), (output), (catchPipe), (input),
1082 (stop_interpreter), (file_length), (file_readable),
1083 (check_filecompressedb), (ps_document_enable_interpreter),
1084 (document_load), (ps_async_renderer_render_pixbuf):
1087 Big cleanup of the ps code
1089 2005-06-07 Marco Pesenti Gritti <mpg@redhat.com>
1091 * backend/Makefile.am:
1092 * backend/ev-async-renderer.c: (ev_async_renderer_get_type),
1093 (ev_async_renderer_class_init), (ev_async_renderer_render_pixbuf):
1094 * backend/ev-async-renderer.h:
1096 Add an async renderer interface (method + callback) which
1097 is useful for backends like ps.
1099 * backend/ev-job-queue.c: (remove_job_from_async_queue),
1100 (add_job_to_async_queue), (job_finished_cb), (handle_job),
1101 (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
1102 (ev_job_queue_add_job), (move_job_async), (move_job),
1103 (ev_job_queue_update_job), (ev_job_queue_remove_job):
1105 Add queues for async renderer, these are executed on the
1108 * backend/ev-jobs.c: (ev_job_render_new), (render_finished_cb),
1109 (ev_job_render_run):
1110 * backend/ev-jobs.h:
1112 If the backend support async renderer interface use it.
1114 * ps/ps-document.c: (ps_document_init), (push_pixbuf),
1115 (setup_pixmap), (ps_document_get_type),
1116 (ps_async_renderer_render_pixbuf),
1117 (ps_document_document_iface_init), (ps_async_renderer_iface_init):
1119 Implement async renderer interface.
1121 2005-06-07 Nickolay V. Shmyrev <<nshmyrev@yandex.ru>>
1123 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose):
1125 Cleanup links job on exit.
1127 2005-06-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1129 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
1130 (drag_data_get_cb), (drag_data_received_cb):
1131 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
1132 (drag_data_get_cb), (parse_item_list),
1133 (egg_toolbar_editor_load_actions):
1134 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
1135 (egg_toolbars_model_to_xml), (egg_toolbars_model_save),
1136 (parse_item_list), (parse_toolbars):
1137 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
1138 (dvi_pixbuf_put_pixel):
1140 Fix gcc 4.0 warnings
1142 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
1144 * ps/ps-document.c: (start_interpreter):
1146 Fix warning when loading ps
1148 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
1150 * ps/ps-document.c: (output):
1152 Fix crash when priting gs error messages.
1154 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
1156 * backend/ev-page-cache.c: (_ev_page_cache_new):
1157 * backend/ev-page-cache.h:
1159 Use a const to return title so that we dont double
1160 free it. Small cleanup and fix a leak.
1162 * shell/ev-window.c: (update_window_title):
1164 strdup value from get_title.
1166 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
1168 * shell/ev-sidebar-links.c: (job_finished_callback),
1169 (ev_sidebar_links_set_document):
1171 Cleanup the old job when changing document
1173 2005-06-05 Nickolay V. Shmyrev <<nshmyrev@yandex.ru>>
1175 * shell/ev-stock-icons.c:
1176 * shell/ev-stock-icons.h:
1177 * shell/ev-window.c:
1179 Add stock icons for actions that can appear in toolbar. Fix for
1182 2005-06-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1184 * backend/ev-page-cache.c: (ev_page_cache_finalize),
1185 (_ev_page_cache_new), (ev_page_cache_get_max_width),
1186 (ev_page_cache_get_max_height), (ev_page_cache_get_height_to_page):
1187 * backend/ev-page-cache.h:
1188 * shell/ev-view.c: (scroll_to_current_page),
1189 (view_update_range_and_current_page), (get_page_y_offset),
1190 (get_page_extents), (ev_view_size_request_continuous_dual_page),
1191 (ev_view_size_request_continuous),
1192 (ev_view_zoom_for_size_continuous_and_dual_page),
1193 (ev_view_zoom_for_size_continuous):
1195 More compact EvView layout in document with pages of different size.
1197 Sat Jun 4 19:20:57 2005 Jonathan Blandford <jrb@redhat.com>
1199 * shell/ev-window.c (ev_window_cmd_file_properties): fix
1202 2005-06-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1204 * shell/ev-view.c: (view_set_adjustment_values):
1205 * shell/ev-window.c: (ev_window_cmd_file_properties):
1207 A bit different fix for rounding problem but it has no
1208 problems on startup. Make properties window transient to parent.
1210 2005-06-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1212 * pdf/ev-poppler.cc:
1214 More commenting of font stuff.
1216 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1218 * pdf/ev-poppler.cc:
1220 Comment out some more fonts stuff. Should really
1221 work without the poppler patch now.
1223 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1225 * pdf/ev-poppler.cc:
1229 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1231 * data/evince-properties.glade:
1232 * pdf/ev-poppler.cc:
1233 * shell/ev-properties.c: (setup_fonts_view):
1235 Set the column title. Show the dialog only
1236 once everything is setup.
1237 Getting font info can be very slow... will
1238 prolly need to make this threaded too.
1240 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1242 * backend/Makefile.am:
1243 * backend/ev-document-fonts.c: (ev_document_fonts_get_type),
1244 (ev_document_fonts_get_fonts_model):
1245 * backend/ev-document-fonts.h:
1246 * data/evince-properties.glade:
1247 * pdf/ev-poppler.cc:
1248 * shell/ev-properties.c: (setup_fonts_view), (ev_properties_new):
1249 * shell/ev-properties.h:
1250 * shell/ev-window.c: (ev_window_cmd_file_properties):
1252 Implement fonts list. Defined out for now, since it depends
1253 on a not yet committed poppler patch.
1255 Fri Jun 3 21:07:57 2005 Jonathan Blandford <jrb@redhat.com>
1257 * shell/ev-view.c (get_page_extents): other_page isn't necessarily
1260 * shell/ev-window.c: Make sure we add the timeout when we get a
1263 * shell/ev-view.c (view_set_adjustment_values): Add 0.5 to
1264 adjustment->value before calculating the zoom factor to average
1265 out all of our rounding errors. The page no longer 'drifts' when
1268 2005-06-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1270 * data/evince-properties.glade:
1271 * shell/ev-properties.c: (ev_properties_format_date),
1274 Labels don't expand when the dialogue is resized.
1275 strftime result needs to be converted to UTF-8. Thanks
1276 to Christian Persch <chpe@gnome.org>.
1278 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1280 * data/evince-properties.glade:
1284 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1286 * backend/ev-document-info.h:
1287 * backend/ev-document.c: (ev_document_info_free):
1288 * data/evince-properties.glade:
1289 * pdf/ev-poppler.cc:
1290 * ps/ps-document.c: (ps_document_get_info):
1291 * shell/ev-properties.c: (ev_properties_format_date),
1292 (set_property), (ev_properties_new):
1293 * shell/ev-properties.h:
1294 * shell/ev-window.c: (ev_window_cmd_file_properties):
1296 Rework properties code to take only EvPropertyInfo
1297 in the constructor so that it can be useful for
1298 nautilus plugin too.
1300 Deal with backends that doesnt support some properties.
1301 Make set property code generic.
1303 2005-06-04 Christian Persch <chpe@gnome.org>
1305 * data/evince-properties.glade:
1307 fix spacings, make resizeable, and make data labels
1308 selectable + ellipsised
1310 2005-06-03 Marco Pesenti Gritti <mpg@redhat.com>
1312 * backend/ev-document-info.h:
1314 * data/evince-ui.xml:
1315 * pdf/ev-poppler.cc:
1316 * shell/Makefile.am:
1317 * shell/ev-window.c: (update_action_sensitivity),
1318 (ev_window_cmd_file_properties):
1320 Initial go at file properties. Patch by
1321 Emil Soleyman-Zomalan <emil@soleyman.com>.
1322 Needs love see #169583
1324 2005-06-02 Marco Pesenti Gritti <mpg@redhat.com>
1326 * ps/ps-document.c: (output):
1327 * ps/ps.c: (psscan):
1329 Try to render even if psscan fails.
1331 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
1333 * ps/ps.c: (psscan), (pscopydoc):
1335 Port buffered reading code from gv
1337 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
1339 * ps/ps-document.c: (interpreter_message), (output):
1341 Do not fail on interpreter messages
1343 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
1345 * backend/ev-document-misc.c:
1346 (ev_document_misc_get_thumbnail_frame):
1348 Pages can be 0 x 0, dont assert on this case
1350 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1352 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
1353 (ev_sidebar_links_class_init), (ev_sidebar_links_set_document):
1355 Correctly manage our reference on document. Finally the reload
1356 huge leak is gone...
1358 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1360 * ps/ps-document.c: (ps_document_dispose):
1362 Forgot to chain it to the parent. Thanks chpe.
1364 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1366 * ps/ps-document.c: (ps_document_dispose),
1367 (ps_document_class_init), (stop_interpreter), (document_load):
1369 Cleanup dispose a bit. Dont leak the whole pixmap.
1371 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1373 * pdf/ev-poppler.cc:
1375 Release the poppler document on dispose
1377 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1379 * shell/ev-view.c: (ev_view_set_document):
1381 Release ref on the pixbuf cache when changing
1384 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1386 * ps/ps-document.c: (ps_document_get_info):
1390 2005-05-31 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
1392 * backend/ev-page-cache.c: (ev_page_cache_init),
1393 (_ev_page_cache_new), (ev_page_cache_get_max_label_chars):
1394 * backend/ev-page-cache.h:
1395 * shell/ev-page-action.c: (page_changed_cb):
1397 Set page action entry width depending on labels width. Fix
1400 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1402 * backend/ev-link.c: (ev_link_class_init):
1404 Allow -1 as page value (error)
1406 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1408 * shell/ev-sidebar-thumbnails.c:
1409 (ev_sidebar_thumbnails_set_document):
1410 * shell/ev-view.c: (scroll_to_current_page),
1411 (view_set_adjustment_values), (ev_view_set_scroll_adjustments),
1412 (page_changed_cb), (on_adjustment_value_changed),
1413 (ev_view_set_document):
1415 Slightly modified patch by Nickolay V. Shmyrev <nshmyrev@yandex.ru>.
1418 2005-05-29 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1421 * djvu/djvu-document.c: (djvu_document_get_page_size):
1423 Require djvulibre CVS. Now djvu loading is much faster. Fix for
1426 Sat May 28 07:38:03 2005 Jonathan Blandford <jrb@redhat.com>
1428 * shell/ev-view.c (draw_one_page): modify the expose handling to
1431 * shell/ev-window.c (update_action_sensitivity): Respect
1432 permissions field. Kowtow to the man.
1434 * pdf/ev-poppler.cc: Get the permissions field.
1436 * tiff/*c: Make a tiny bit more robust.
1438 2005-05-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1440 * djvu/djvu-document.c:
1442 Pop messages from djvu context message queue.
1444 2005-05-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1446 * configure.ac, Makefile.am, shell/Makefile.am:
1447 * tiff/Makefile.am, shell/ev-document-types.c:
1449 Cleanup tiff configure checks. Fix for bug 305218.
1451 2005-05-24 Maxim V. Dziumanenko <mvd@mylinux.ua>
1453 * configure.ac: Added "uk" to ALL_LINGUAS.
1455 2005-05-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1457 * cut-n-paste/zoom-control/ephy-zoom.c:
1458 (ephy_zoom_get_changed_zoom_level):
1459 * cut-n-paste/zoom-control/ephy-zoom.h:
1460 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_set_property),
1461 (ev_view_get_property), (ev_view_class_init), (ev_view_set_zoom):
1462 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
1463 (ev_window_cmd_view_zoom_out), (ev_window_zoom_changed_cb),
1464 (zoom_control_changed_cb), (ev_window_init):
1466 Fix minor points related to moving best fit up. Introduce
1467 "zoom" property and make zoom control change it's value on
1468 notify::zoom signals. Fix for 305080.
1470 2005-05-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1472 * data/evince-ui.xml:
1473 * shell/ev-window.c: (set_view_actions_sensitivity):
1475 Use + and - as accels for zoom in and zoom out. Fix for 305001.
1477 2005-05-22 Marco Pesenti Gritti <mpg@redhat.com>
1481 Depends on poppler 0.3.2
1483 2005-05-22 Marco Pesenti Gritti <mpg@redhat.com>
1485 * cut-n-paste/recent-files/egg-recent-item.c:
1486 (egg_recent_item_get_short_name):
1487 * cut-n-paste/toolbar-editor/Makefile.am:
1488 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
1489 (new_pixbuf_from_widget):
1490 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
1491 * cut-n-paste/toolbar-editor/egg-marshal.c:
1492 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
1493 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
1497 Sat May 21 23:18:30 2005 Jonathan Blandford <jrb@redhat.com>
1499 * tiff/tiff-document.c: Rough TIFF backend.
1501 2005-05-21 Marco Pesenti Gritti <mpg@redhat.com>
1505 * cut-n-paste/toolbar-editor/Makefile.am:
1509 2005-05-21 Marco Pesenti Gritti <mpg@redhat.com>
1511 * shell/ev-view.c: (jump_to_find_result), (ev_view_can_find_next),
1512 (ev_view_find_next), (ev_view_find_previous):
1514 Remove the locks around get_n_results
1516 2005-05-21 Juerg Billeter <j@bitron.ch>
1518 * pdf/ev-poppler.c: (pdf_document_ps_exporter_begin):
1520 Pass correct number of pages to poppler.
1522 2005-05-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1526 * data/evince.desktop.in:
1527 * data/evince.desktop.in.in:
1530 Add conditionally dvi and djvu to desktop types. Fix for 304658.
1532 Sat May 21 00:21:30 2005 Jonathan Blandford <jrb@redhat.com>
1534 * shell/ev-view.c: (view_update_adjustments),
1535 (view_set_adjustment_values): cast adjustmen->value to (int)
1536 before using it. Otherwise, we get off by a pixel in some
1539 (draw_one_page): Draw the border on expose.
1541 Fri May 20 22:05:25 2005 Jonathan Blandford <jrb@redhat.com>
1543 * *shell/ev-view.c: Patch from Nickolay V. Shmyrev to reset the
1544 adjustment when the mode changes, #304923
1546 Fri May 20 02:00:03 2005 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1548 * shell/ev-view.c: Use gdk_widget_queue_draw to remove
1549 flickering on resize but still use gdk_window_scroll on
1552 Fri May 20 01:46:57 2005 Jonathan Blandford <jrb@redhat.com>
1554 * shell/ev-view.c: Patch from Nickolay Shmyrev to fix the -p
1557 Fri May 20 01:27:01 2005 Jonathan Blandford <jrb@redhat.com>
1559 * shell/ev-view.c: Patch from Nickolay Shmyrev to to scroll to
1560 second page on page_changed if possible, #304669
1562 Fri May 20 01:07:15 2005 Jonathan Blandford <jrb@redhat.com>
1564 * shell/ev-view.c (view_update_adjustments): Use gdk_window_scroll
1565 instead of gtk_widget_queue_draw. Massive speedups in scrolling.
1567 Fri May 20 01:05:10 2005 Jonathan Blandford <jrb@redhat.com>
1570 * shell/ev-view.c:(ev_view_size_allocate), (ev_view_class_init),
1571 (zoom_for_size_fit_width), (zoom_for_size_best_fit),
1572 (ev_view_zoom_for_size_presentation),
1573 (ev_view_zoom_for_size_continuous_and_dual_page),
1574 (ev_view_zoom_for_size_continuous),
1575 (ev_view_zoom_for_size_dual_page),
1576 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size):
1578 * shell/ev-window.c: (update_view_size),
1579 (ev_window_sizing_mode_changed_cb):
1581 Patch from Nickolay Shmyrev <nshmyrev@yandex.ru> to handle
1582 the scrollbars. It's not 100% right, but it's much closer. Kills
1583 an infinite loop, #304769
1586 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
1588 * data/evince-ui.xml:
1589 * shell/ev-view.c: (ev_view_scroll_view), (ev_view_class_init):
1590 * shell/ev-window.c: (set_view_actions_sensitivity):
1592 Make PgUp/Down behave like Space
1594 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
1596 * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
1597 * backend/ev-ps-exporter.h:
1598 * pdf/ev-poppler.cc:
1599 * ps/ps-document.c: (ps_document_ps_export_begin):
1600 * shell/ev-print-job.c: (idle_print_handler):
1602 Adapt to new poppler api
1604 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
1606 * cut-n-paste/zoom-control/ephy-zoom-control.c:
1607 (ephy_zoom_control_init):
1609 Translate zoom levels
1611 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
1613 * cut-n-paste/zoom-control/ephy-zoom.c:
1614 (ephy_zoom_get_zoom_level_index):
1616 Fix current zoom -> zoom control match
1618 2005-05-18 James Bowes <bowes@cs.dal.ca>
1620 * shell/ev-window.c: (ev_window_init): Give focus to the ev-view,
1621 rather than the scrolled_window that it's in. Fixes bug #304655.
1623 Tue May 17 22:54:17 2005 Jonathan Blandford <jrb@redhat.com>
1625 * shell/ev-view.c: (view_update_adjustments),
1626 (view_set_adjustment_values), (view_update_range_and_current_page),
1627 (view_scroll_to_page), (set_scroll_adjustment),
1628 (ev_view_set_scroll_adjustments), (add_scroll_binding_keypad),
1629 (ev_view_scroll), (ev_view_scroll_view),
1630 (ensure_rectangle_is_visible), (find_page_at_location),
1631 (get_link_at_location), (go_to_link), (status_message_from_link),
1632 (ev_view_size_request_continuous_dual_page),
1633 (ev_view_size_request), (ev_view_size_allocate), (ev_view_realize),
1634 (ev_view_unrealize), (ev_view_expose_event),
1635 (ev_view_button_press_event), (ev_view_motion_notify_event),
1636 (ev_view_button_release_event), (ev_gdk_color_to_rgb),
1637 (draw_rubberband), (highlight_find_results), (draw_one_page),
1638 (ev_view_finalize), (ev_view_destroy), (ev_view_class_init),
1639 (ev_view_init), (find_changed_cb), (page_changed_cb),
1640 (on_adjustment_value_changed), (ev_view_new),
1641 (ev_view_set_document), (ev_view_set_zoom),
1642 (ev_view_set_continuous), (ev_view_set_dual_page),
1643 (ev_view_set_presentation), (ev_view_zoom_in), (ev_view_zoom_out),
1644 (zoom_for_size_fit_width), (zoom_for_size_best_fit),
1645 (ev_view_zoom_for_size_presentation),
1646 (ev_view_zoom_for_size_continuous_dual_page),
1647 (ev_view_zoom_for_size_continuous),
1648 (ev_view_zoom_for_size_dual_page),
1649 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
1650 (ev_view_get_status), (ev_view_set_status),
1651 (update_find_status_message), (ev_view_get_find_status),
1652 (ev_view_set_find_status), (jump_to_find_result),
1653 (jump_to_find_page), (compute_selections), (clear_selection),
1654 (ev_view_select_all), (get_selected_text), (ev_view_copy),
1655 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
1656 (ev_view_update_primary_selection),
1657 (ev_view_create_invisible_cursor), (ev_view_set_cursor):
1659 * shell/ev-window.c: (ev_window_open_page_label),
1660 (ev_window_cmd_view_reload), (ev_window_sizing_mode_changed_cb),
1662 * shell/ev-window.h:
1663 * shell/main.c: (load_files):
1665 Massive code clean up from Nickolay Shmyrev. Keep page offset
1666 when resizing. Remove the bin_window(). Also, patch from James
1667 Bowes to fix command line page, #300641
1669 2005-05-17 Marco Pesenti Gritti <mpg@redhat.com>
1671 * data/evince-ui.xml:
1674 * shell/ev-window.c: (update_action_sensitivity):
1676 Get rid of View->Normal Size, it's just confusing
1678 Tue May 17 00:51:21 2005 Jonathan Blandford <jrb@redhat.com>
1680 * backend/ev-document-info.h:
1681 * backend/ev-document.c: (ev_document_info_free): Free the
1684 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
1685 (clear_range), (add_range), (update_visible_range),
1686 (adjustment_changed_cb), (ev_sidebar_thumbnails_init),
1687 (ev_sidebar_thumbnails_set_document):
1688 * shell/ev-window.c: (ev_window_setup_document): Only render the
1689 visible thumbnails. It takes an instant to render, but it uses
1692 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
1694 * shell/ev-sidebar-links.c: (popup_menu_cb):
1698 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
1701 * shell/ev-sidebar-links.c: (build_popup_menu), (popup_menu_cb),
1702 (button_press_cb), (ev_sidebar_links_construct):
1704 Show the popup menu also on keybindings
1706 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
1708 * shell/ev-window.c: (ev_window_print), (ev_window_print_range):
1709 * shell/ev-window.h:
1711 Expose api to print a range (with dialog). Make private _print use
1714 * shell/ev-sidebar-links.c: (print_section_cb), (button_press_cb),
1715 (ev_sidebar_links_construct):
1717 Show a print context menu on linkx, it prints the selected
1720 2005-05-15 Carlos Garcia Campos <carlosgc@gnome.org>
1722 * shell/ev-sidebar.c: make the drop down menu as width as the toggle
1725 2005-05-12 Marco Pesenti Gritti <mpg@redhat.com>
1731 * shell/ev-window.c: (build_comments_string),
1732 (ev_window_cmd_help_about):
1734 Show poppler version/backend and authors
1736 2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
1738 * cut-n-paste/zoom-control/ephy-zoom.c:
1739 (ephy_zoom_get_zoom_level_index):
1740 * cut-n-paste/zoom-control/ephy-zoom.h:
1742 Move the best fit items at the top of the list
1744 2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
1746 * shell/ev-marshal.list:
1747 * shell/ev-page-action.c: (ev_page_action_widget_class_init),
1748 (activate_cb), (match_selected_cb), (activate_link_cb),
1749 (connect_proxy), (ev_page_action_class_init):
1750 * shell/ev-page-action.h:
1752 Use signals to notify action activation. Hopefully
1753 I did not break completion since I cant test...
1755 * shell/ev-window.c: (activate_link_cb), (activate_label_cb),
1756 (register_custom_actions):
1758 Connect to page selector actions and also grab focus on
1759 the view when activated.
1761 Wed May 11 01:18:29 2005 Jonathan Blandford <jrb@redhat.com>
1763 * pdf/ev-poppler.cc:
1764 * backend/ev-page-cache.c: make page size calculation consistent
1765 and set it to (int)( width * scale + 0.5). This makes the weird
1766 line going through the middle of the page go away.
1768 * shell/ev-view.c: move painting the background page after
1769 checking the expose area covers us.
1771 2005-05-11 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1773 * data/evince-password.glade:
1775 Mark labels as not translatable. Fix for bug 302842.
1777 2005-05-10 Francisco Javier F. Serrador <serrador@cvs.gnome.org>
1779 * configure.ac: Added "es" to ALL_LINGUAS.
1781 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
1783 * data/evince-toolbar.xml:
1784 * shell/ev-window.c: (update_action_sensitivity),
1785 (ev_window_setup_document), (ev_window_set_page_mode),
1788 Remove some leftover code from jrb first continous
1789 attempt. Use the new actions, we still need good icons
1792 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
1794 * shell/ev-page-action.c: (update_pages_label), (connect_proxy):
1796 Update label when connecting proxy. Fix a warning with NULL
1799 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
1801 * data/evince-ui.xml:
1802 * shell/ev-page-action.c: (ev_page_action_grab_focus):
1803 * shell/ev-page-action.h:
1804 * shell/ev-window.c: (ev_window_cmd_focus_page_selector):
1806 Add mnemonic for edit toolbar.
1807 ctrl+l focus the page entry.
1809 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
1812 * shell/ev-window.c: (ev_window_cmd_edit_toolbar_cb),
1814 * shell/main.c: (main):
1816 Put the toolbar xml in evince own dot dir
1818 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
1820 * shell/ev-window.c: (ev_window_init):
1822 Make the toolbar not removable
1824 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
1826 * data/evince-ui.xml:
1827 * shell/ev-sidebar-links.c: (ev_sidebar_links_get_treeview):
1828 * shell/ev-sidebar-links.h:
1829 * shell/ev-sidebar-thumbnails.c:
1830 (ev_sidebar_thumbnails_get_treeview):
1831 * shell/ev-sidebar-thumbnails.h:
1832 * shell/ev-view.c: (ev_view_scroll), (ev_view_scroll_view),
1833 (ev_view_class_init):
1835 * shell/ev-window.c: (update_action_sensitivity),
1836 (ev_window_cmd_scroll_forward), (ev_window_cmd_scroll_backward),
1837 (set_view_actions_sensitivity), (view_actions_focus_in_cb),
1838 (view_actions_focus_out_cb), (enable_view_actions_for_widget),
1841 This is evil... Make space/backspace global accelerators but
1842 enable them only for some widgets (sidebars and view).
1843 I dont like it, but I dont know a better way... :/
1845 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
1847 * shell/ev-page-action.c: (ev_page_action_widget_set_page_cache),
1848 (ev_page_action_widget_finalize),
1849 (ev_page_action_widget_class_init), (update_page_cache):
1851 Keep a weak reference on proxy->page_cache so that we
1852 dont try to disconnect the signal if the object is already
1853 gone. Maybe there is a better way to cleanup reference handling
1854 in page action though...
1856 2005-05-10 Juerg Billeter <j@bitron.ch>
1858 * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
1859 * backend/ev-ps-exporter.h:
1860 * pdf/ev-poppler.cc: (pdf_document_ps_exporter_begin):
1861 * ps/ps-document.c: (ps_document_ps_export_begin):
1863 Change api to pass print range to ps_exporter_begin. The pdf backend
1864 requires this information.
1866 * shell/ev-print-job.c: (idle_print_handler):
1870 2005-05-10 Juerg Billeter <j@bitron.ch>
1872 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
1873 (idle_print_handler)
1874 * shell/ev-window.c: (ev_window_print):
1876 Support printing page range, based on patch by Amaury Jacquot
1878 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
1880 * data/evince-toolbar.xml:
1882 Add zoom control to available items
1884 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
1886 * shell/ev-window.c: (update_action_sensitivity):
1888 Set slash action insensitive when appropriate
1890 2005-05-10 Christian Persch <chpe@gnome.org>
1892 * cut-n-paste/zoom-control/ephy-zoom-action.c: (create_menu_item):
1894 Fix warning on the overflow menu
1896 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
1898 * shell/ev-window.c: (sanity_check_uri), (ev_window_open):
1900 Check for uri correctness/existence
1902 2005-05-09 Juerg Billeter <j@bitron.ch>
1904 * shell/ev-window.c: (using_postscript_printer):
1906 LPD printers use postscript, too
1908 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
1910 * shell/ev-window.c: (register_custom_actions):
1912 The zoom one is actually sort of useful,
1915 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
1917 * shell/ev-window.c: (register_custom_actions):
1919 Hide page/zoom controls from overflow, they
1922 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
1924 * cut-n-paste/update-from-egg.sh:
1926 Share it between all cut-n-paste subdirs
1928 * cut-n-paste/recent-files/Makefile.am:
1930 Fix to use "global" update-from-egg.sh
1932 * cut-n-paste/recent-files/egg-recent-model.c:
1933 (egg_recent_model_changed_timeout), (egg_recent_model_finalize):
1934 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
1935 (egg_recent_view_gtk_clear), (egg_recent_view_gtk_set_list),
1936 (egg_recent_view_gtk_finalize), (egg_recent_view_gtk_set_menu):
1940 * cut-n-paste/toolbar-editor/Makefile.am:
1942 Fix to use "global" update-from-egg.sh
1944 * cut-n-paste/toolbar-editor/eggmarshalers.list:
1948 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
1951 * cut-n-paste/Makefile.am:
1952 * cut-n-paste/recent-files/Makefile.am:
1953 * cut-n-paste/toolbar-editor/.cvsignore:
1954 * cut-n-paste/toolbar-editor/Makefile.am:
1955 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
1956 (egg_editable_toolbar_get_type), (get_toolbar_position),
1957 (get_n_toolbars), (get_dock_nth), (get_toolbar_nth), (find_action),
1958 (drag_data_delete_cb), (drag_begin_cb), (drag_end_cb),
1959 (drag_data_get_cb), (set_drag_cursor), (unset_drag_cursor),
1960 (set_item_drag_source), (create_item_from_action), (create_item),
1961 (data_is_separator), (drag_data_received_cb), (remove_toolbar_cb),
1962 (popup_toolbar_context_menu_cb), (free_dragged_item),
1963 (toolbar_drag_drop_cb), (toolbar_drag_motion_cb),
1964 (toolbar_drag_leave_cb), (create_dock), (set_fixed_style),
1965 (unset_fixed_style), (toolbar_changed_cb), (unparent_fixed),
1966 (update_fixed), (toolbar_added_cb), (toolbar_removed_cb),
1967 (item_added_cb), (item_removed_cb),
1968 (egg_editable_toolbar_construct),
1969 (egg_editable_toolbar_disconnect_model),
1970 (egg_editable_toolbar_deconstruct),
1971 (egg_editable_toolbar_set_model),
1972 (egg_editable_toolbar_set_ui_manager),
1973 (egg_editable_toolbar_set_property),
1974 (egg_editable_toolbar_get_property),
1975 (egg_editable_toolbar_class_init), (egg_editable_toolbar_init),
1976 (egg_editable_toolbar_finalize), (egg_editable_toolbar_new),
1977 (egg_editable_toolbar_new_with_model),
1978 (egg_editable_toolbar_get_edit_mode),
1979 (egg_editable_toolbar_set_edit_mode), (egg_editable_toolbar_show),
1980 (egg_editable_toolbar_hide), (egg_editable_toolbar_set_fixed),
1981 (egg_editable_toolbar_set_drag_dest), (fake_expose_widget),
1982 (new_pixbuf_from_widget), (new_separator_pixbuf),
1983 (update_separator_image), (style_set_cb),
1984 (_egg_editable_toolbar_new_separator_image),
1985 (egg_editable_toolbar_get_model):
1986 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
1987 * cut-n-paste/toolbar-editor/egg-marshal.c:
1988 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
1989 (egg_toolbar_editor_get_type), (compare_actions), (find_action),
1990 (egg_toolbar_editor_set_ui_manager), (toolbar_removed_cb),
1991 (egg_toolbar_editor_set_model), (egg_toolbar_editor_set_property),
1992 (egg_toolbar_editor_get_property), (egg_toolbar_editor_class_init),
1993 (egg_toolbar_editor_finalize), (egg_toolbar_editor_new),
1994 (drag_begin_cb), (drag_end_cb), (editor_drag_data_received_cb),
1995 (editor_drag_data_delete_cb), (drag_data_get_cb),
1996 (elide_underscores), (set_drag_cursor), (event_box_realize_cb),
1997 (editor_create_item), (update_editor_sheet), (setup_editor),
1998 (egg_toolbar_editor_init), (egg_toolbar_editor_add_action),
1999 (parse_item_list), (model_has_action), (update_actions_list),
2000 (egg_toolbar_editor_load_actions):
2001 * cut-n-paste/toolbar-editor/egg-toolbar-editor.h:
2002 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
2003 (egg_toolbars_model_get_type), (egg_toolbars_model_to_xml),
2004 (safe_save_xml), (egg_toolbars_model_save), (toolbars_toolbar_new),
2005 (toolbars_item_new), (free_toolbar_node), (free_item_node),
2006 (egg_toolbars_model_get_flags), (egg_toolbars_model_set_flags),
2007 (egg_toolbars_model_add_separator), (impl_add_item),
2008 (parse_item_list), (egg_toolbars_model_add_toolbar),
2009 (parse_toolbars), (egg_toolbars_model_load), (impl_get_item_id),
2010 (impl_get_item_data), (impl_get_item_type),
2011 (_egg_accumulator_STRING), (egg_toolbars_model_class_init),
2012 (egg_toolbars_model_init), (free_toolbar),
2013 (egg_toolbars_model_finalize), (egg_toolbars_model_new),
2014 (egg_toolbars_model_remove_toolbar),
2015 (egg_toolbars_model_remove_item), (egg_toolbars_model_move_item),
2016 (egg_toolbars_model_n_items), (egg_toolbars_model_item_nth),
2017 (egg_toolbars_model_n_toolbars), (egg_toolbars_model_toolbar_nth),
2018 (egg_toolbars_model_add_item), (egg_toolbars_model_get_item_id),
2019 (egg_toolbars_model_get_item_data),
2020 (egg_toolbars_model_get_item_type):
2021 * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
2022 * cut-n-paste/toolbar-editor/eggmarshalers.list:
2024 * data/evince-toolbar.xml:
2025 * data/evince-ui.xml:
2026 * data/hand-open.png:
2028 * shell/Makefile.am:
2029 * shell/ev-window.c: (update_chrome_visibility),
2030 (ev_window_cmd_edit_toolbar_cb), (ev_window_cmd_edit_toolbar),
2031 (ev_window_dispose), (ev_window_init):
2033 Implement epiphany like toolbar editor. Based on patch by
2034 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2036 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2038 * shell/ev-sidebar-thumbnails.c: (page_changed_cb):
2040 Use set_cursor instead of set_selection, so that
2041 the keyboard focus moves too.
2043 2005-05-09 Aleksey Kliger <akliger@gmail.com>
2045 * dvi/mdvi-lib/tfmfile.c: (lookup_font_metrics):
2047 Fix infinite loop when loading Type1 fonts
2049 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2051 * data/evince-ui.xml:
2052 * shell/ev-window.c:
2056 2005-05-09 Thomas de Grenier de Latour <degrenier@easyconnect.fr>
2060 Make --disable really disable
2062 2005-05-07 Juerg Billeter <j@bitron.ch>
2064 * backend/ev-page-cache.c: (ev_page_cache_set_page_label):
2066 Compare page labels even without has_labels set, fixes setting page
2069 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2071 * shell/ev-view.c: (ev_view_create_invisible_cursor),
2072 (ev_view_set_cursor), (ev_view_button_press_event),
2073 (ev_view_motion_notify_event), (ev_view_button_release_event),
2076 Implement middle button scrolling. Based on a patch
2077 by Tommi Komulainen <tommi.komulainen@iki.fi>.
2079 2005-05-08 Marco Pesenti Gritti <mpg@redhat.com>
2081 * shell/ev-document-types.c: (get_slow_mime_type),
2082 (get_document_type_from_mime), (ev_document_type_lookup):
2083 * shell/ev-document-types.h:
2085 Change api to lookup from uri. Do fast lookup first, if the
2086 type is unknown try with data sniffing.
2088 * shell/ev-window.c: (ev_window_open), (ev_window_open_uri_list):
2089 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
2093 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2095 * thumbnailer/Makefile.am:
2099 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2106 * data/evince-ui.xml:
2108 Hide presentation mode for now
2110 * shell/ev-view.c: (highlight_find_results):
2112 Show current find selection only on current page
2114 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2116 * shell/ev-view.c: (ev_view_select_all):
2118 Compute size of the actual page, not of
2121 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2123 * shell/ev-view.c: (clear_selection), (ev_view_finalize),
2124 (view_rect_to_doc_rect), (compute_selections),
2125 (ev_view_bin_expose), (ev_view_select_all), (get_selected_text),
2126 (ev_view_copy), (ev_view_primary_get_cb),
2127 (ev_view_primary_clear_cb), (ev_view_update_primary_selection),
2128 (ev_view_button_press_event), (ev_view_motion_notify_event),
2129 (ev_view_button_release_event), (page_changed_cb):
2133 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2135 * shell/ev-view.c: (compute_border), (get_page_extents),
2136 (doc_rect_to_view_rect), (highlight_find_results),
2137 (ev_view_bin_expose), (ev_view_select_all),
2138 (ev_view_motion_notify_event), (update_find_status_message),
2139 (jump_to_find_result), (jump_to_find_page):
2141 First go at fixing search, still buggy
2143 2005-05-04 Kristian Høgsberg <krh@redhat.com>
2145 * shell/ev-sidebar.c (ev_sidebar_init): Remove frame around
2146 dropdown box and button at the top of the sidebar.
2148 2005-05-02 James Bowes <bowes@cs.dal.ca>
2150 * configure.ac: Output zoom-control Makefile.
2151 * cut-n-paste/Makefile.am: build zoom-control subdir.
2152 * cut-n-paste/zoom-control/ephy-zoom-action.c:
2153 * cut-n-paste/zoom-control/ephy-zoom-action.h:
2154 * cut-n-paste/zoom-control/ephy-zoom-control.c:
2155 * cut-n-paste/zoom-control/ephy-zoom-control.h:
2156 * cut-n-paste/zoom-control/ephy-zoom.c:
2157 * cut-n-paste/zoom-control/ephy-zoom.h: New files imported
2158 from epiphany, and modified to add a separator into the menu.
2159 * cut-n-paste/zoom-control/Makefile.am: Build zoom-control.
2160 * data/evince-ui.xml: Replace old zoom toolbar actions with new
2161 zoom-control action.
2162 * shell/Makefile.am: Include zoom-control flags.
2163 * shell/ev-view.c: (ev_view_set_zoom), (ev_view_get_zoom),
2164 (ev_view_get_sizing_mode), (ev_view_zoom_in), (ev_view_zoom_out),
2165 (ev_view_zoom_for_size_presentation),
2166 (ev_view_zoom_for_size_continuous_and_dual_page),
2167 (ev_view_zoom_for_size_continuous),
2168 (ev_view_zoom_for_size_dual_page),
2169 (ev_view_zoom_for_size_single_page), (ev_view_zoom_normal):
2170 s/ev_view_zoom/ev_view_set_zoom/ and make public, add
2171 ev_view_get_zoom and ev_view_get_sizing_mode.
2173 * shell/ev-window.c: (update_action_sensitivity),
2174 (update_sizing_buttons), (zoom_control_changed_cb),
2175 (register_custom_actions): Initialize and use the zoom-control
2178 Sun May 1 00:46:47 2005 Jonathan Blandford <jrb@redhat.com>
2180 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init): Change the
2181 preview cache back to 1. Don't know when it got set to 0.
2183 * shell/ev-view.c: (compute_border), (ev_view_realize),
2184 (draw_one_page), (ev_view_set_property), (ev_view_get_property),
2185 (ev_view_class_init), (ev_view_init), (ev_view_set_fullscreen),
2186 (ev_view_get_fullscreen), (ev_view_set_presentation),
2187 (ev_view_get_presentation), (ev_view_set_sizing_mode),
2188 (ev_view_zoom_for_size_presentation), (ev_view_set_zoom_for_size):
2190 * shell/ev-window.c:
2191 (update_chrome_visibility),
2192 (ev_window_cmd_continuous), (ev_window_cmd_dual),
2193 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
2194 (update_document_mode), (ev_window_update_fullscreen_action),
2195 (ev_window_fullscreen), (ev_window_unfullscreen),
2196 (ev_window_cmd_view_fullscreen),
2197 (ev_window_update_presentation_action),
2198 (ev_window_run_presentation), (ev_window_stop_presentation),
2199 (ev_window_cmd_view_presentation), (ev_window_state_event),
2200 (ev_window_focus_in_event), (ev_window_focus_out_event),
2201 (ev_window_cmd_escape), (ev_window_sidebar_visibility_changed_cb):
2202 * data/evince-ui.xml: Initial presentation mode. We should
2203 probably hide this until it's done, as it's quite rough. Also,
2204 change full-screen to fullscreen and add two getters to EvView.
2206 2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
2208 * shell/ev-page-action.c: (update_page_cache),
2209 (ev_page_action_dispose):
2210 * shell/ev-window.c: (destroy_fullscreen_popup),
2211 (ev_window_create_fullscreen_popup):
2213 Use connect_object rather than explicitly
2214 disconnect on dispose.
2216 2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
2218 * shell/ev-page-action.c: (update_page_cache),
2219 (ev_page_action_dispose):
2221 2005-04-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2223 * backend/ev-page-cache.c: (_ev_page_cache_new),
2224 (ev_page_cache_set_page_label),
2225 (ev_page_cache_has_nonnumeric_page_labels):
2226 * backend/ev-page-cache.h:
2227 * shell/ev-page-action.c: (update_pages_label):
2229 If all page labels are numeric, fallback to default
2230 way to display number of pages. See bug 173185.
2232 2005-04-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2234 * shell/ev-page-action.c: (ev_page_action_dispose):
2235 * shell/ev-view.c: (view_update_range_and_current_page):
2236 * shell/ev-window.c: (ev_window_dispose):
2238 Set page on scroll in continuous mode. Fixes bug 301986.
2239 Also cleanup callbacks on destroy of EvWindow and EvPageAction.
2241 2005-04-26 Marco Pesenti Gritti <mpg@redhat.com>
2245 Require poppler 0.3.0
2247 2005-04-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2249 * shell/Makefile.am, configure.ac: Fix build problems
2250 with t1lib. Bug 301996.
2252 2005-04-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2254 * shell/ev-view.c: (ev_view_scroll_event):
2256 Scroll up increase zoom
2258 2005-04-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2260 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_class_init),
2261 (ev_view_set_sizing_mode),
2262 (ev_view_zoom_for_size_continuous_and_dual_page),
2263 (ev_view_zoom_for_size_continuous):
2264 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
2265 (ev_window_cmd_view_page_width), (ev_window_cmd_view_zoom_in),
2266 (ev_window_cmd_view_zoom_out), (ev_window_sizing_mode_changed_cb),
2269 Control + Scroll does zooming, Shift + Scroll scrolls horizontally
2270 Fix for 165473 and 165472.
2272 2005-04-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2275 * thumbnailer/Makefile.am:
2276 * thumbnailer/evince-thumbnailer-djvu.schemas.in:
2277 * thumbnailer/evince-thumbnailer-dvi.schemas.in:
2278 * thumbnailer/evince-thumbnailer.schemas.in:
2280 Make thumbnailer schemas translatable. Fix for bug 301773
2282 * thumbnailer/evince-thumbnailer-djvu.schemas:
2283 * thumbnailer/evince-thumbnailer-dvi.schemas:
2284 * thumbnailer/evince-thumbnailer.schemas:
2288 Sun Apr 24 01:37:39 2005 Jonathan Blandford <jrb@redhat.com>
2290 * shell/ev-view.c (ev_view_init): forgot to set this.
2292 Sun Apr 24 01:07:27 2005 Jonathan Blandford <jrb@redhat.com>
2294 * shell/ev-view.c: (find_page_at_location),
2295 (get_link_at_location),
2296 (ev_view_set_show_border), (ev_view_set_spacing),
2297 (ev_view_zoom_for_size_continuous_and_dual_page),
2298 (ev_view_zoom_for_size_continuous): Fix links for dual/continuous.
2299 Also, add a quick fix measuring of widths. Also, removed
2300 ev_view_set_spacing and ev_view_set_show_border.
2302 * shell/ev-window.c: (ev_window_unfullscreen),
2303 (ev_window_cmd_view_fullscreen): Don't adjust the border/spacing.
2305 2005-04-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2307 * shell/ev-view.c: (view_update_range_and_current_page),
2310 Fix crash on exit and scrolling to page in continuous view.
2312 Sat Apr 23 13:13:04 2005 Jonathan Blandford <jrb@redhat.com>
2315 * backend/ev-page-cache.c: (_ev_page_cache_new),
2316 (ev_page_cache_get_max_width_size),
2317 (ev_page_cache_get_max_height_size):
2318 * backend/ev-page-cache.h:
2319 * data/evince-ui.xml:
2320 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init):
2321 * shell/ev-view.c: (view_update_adjustments),
2322 (view_update_range_and_current_page), (get_bounding_box_size),
2323 (ev_view_size_request_continuous_and_dual_page),
2324 (ev_view_size_request_continuous),
2325 (ev_view_size_request_dual_page),
2326 (ev_view_size_request_single_page), (ev_view_size_request),
2327 (ev_view_size_allocate), (get_page_extents), (draw_one_page),
2328 (ev_view_bin_expose), (ev_view_expose_event),
2329 (ev_view_set_property), (ev_view_get_property),
2330 (ev_view_class_init), (ev_view_init), (ev_view_new),
2331 (page_changed_cb), (ev_view_zoom), (ev_view_set_continuous),
2332 (ev_view_set_dual_page), (ev_view_set_full_screen),
2333 (ev_view_set_presentation), (ev_view_set_sizing_mode),
2334 (ev_view_can_zoom_in), (ev_view_can_zoom_out), (ev_view_zoom_in),
2335 (ev_view_zoom_out), (zoom_for_size_fit_width),
2336 (zoom_for_size_best_fit),
2337 (ev_view_zoom_for_size_continuous_and_dual_page),
2338 (ev_view_zoom_for_size_continuous),
2339 (ev_view_zoom_for_size_dual_page),
2340 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
2341 (ev_view_show_cursor), (ev_sizing_mode_get_type):
2343 * shell/ev-window.c: (update_action_sensitivity),
2344 (ev_window_cmd_continuous), (ev_window_cmd_dual),
2345 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
2346 (update_sizing_buttons), (ev_window_cmd_view_zoom_in),
2347 (ev_window_cmd_view_zoom_out), (update_view_size),
2348 (ev_window_set_sizing_mode), (ev_window_init):
2350 Add Continuous and Dual page modes.
2352 2005-04-23 James Bowes <bowes@cs.dal.ca>
2354 * dvi/dvi-document.c: (dvi_document_load),
2355 (dvi_document_thumbnails_get_thumbnail),
2356 (dvi_document_init_params): Fix up some mixups between
2357 width and height to correct thumbnail rendering.
2359 2005-04-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2361 * dvi/mdvi-lib/private.h:
2362 * dvi/mdvi-lib/setup.c: (mdvi_init_kpathsea):
2364 Suppess output for kpathsea during font generation. Thanks to
2367 Fri Apr 22 19:57:46 2005 Jonathan Blandford <jrb@redhat.com>
2374 * Makefile.am: fix distcheck.
2376 2005-04-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2378 * shell/ev-sidebar-links.c: (selection_changed_callback),
2379 (update_page_callback), (row_activated_callback),
2380 (job_finished_callback), (ev_sidebar_links_set_document):
2382 Fix for bug #169901. Double click on links expands tree.
2384 2005-03-14 Bryan Clark <clarkbw@cvs.gnome.org>
2386 * shell/ev-window.c (ev_window_init): Removed fullscreen toolbar
2387 hard-coded style. Fix for bug 170111
2389 2005-04-22 Kristian Høgsberg <krh@redhat.com>
2391 * shell/ev-view.c (highlight_find_results): Remove unnecessary
2394 2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
2396 * thumbnailer/evince-thumbnailer.schemas: real fix for bug 172496
2398 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
2400 * pdf/ev-poppler.cc:
2401 * shell/ev-view.c: (highlight_find_results):
2403 Fix find on single page documents
2405 2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
2407 * data/evince.schemas.in: fix for bug 301390
2409 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
2411 * shell/ev-view.c: (ev_view_can_zoom_in), (ev_view_can_zoom_out),
2412 (ev_view_zoom_out), (ev_view_zoom_normal):
2414 * shell/ev-window.c: (update_action_sensitivity),
2415 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
2416 (ev_window_cmd_view_zoom_in), (ev_window_cmd_view_zoom_out),
2417 (ev_window_cmd_view_normal_size):
2419 Fix normal size zoom. Make zoom in/zoom out unsensitive when
2420 they are behyond the limits. Tweak MAX_ZOOM to 6, sucks but
2423 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
2427 Depend on 2.57, 2.59 doesnt seem to be necessary
2429 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
2431 * shell/ev-page-action.c: (update_pages_label), (page_changed_cb),
2434 Put back total number of pages as (1 of 1234)
2436 Thu Apr 21 23:37:52 2005 Jonathan Blandford <jrb@redhat.com>
2438 * shell/ev-pixbuf-cache.c (dispose_cache_job_info): actually
2441 * backend/ev-document.h: Remove EV_DOC_MUTEX in favor of a locking
2442 function. This helps debugging.
2444 2005-04-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2446 * djvu/djvu-document.c: (djvu_document_class_init),
2447 (djvu_document_get_info), (djvu_document_document_iface_init):
2448 * dvi/dvi-document.c: (dvi_document_class_init),
2449 (dvi_document_get_info), (dvi_document_document_iface_init):
2451 Dummy implementation of get_info method for dvi and djvu. Fix
2452 crashes with those backends
2454 2005-04-20 Marco Pesenti Gritti <mpg@redhat.com>
2456 * data/evince.desktop.in:
2458 Add application/x-gzpostscript
2460 2005-04-20 Bryan Clark <clarkbw@cvs.gnome.org>
2462 * data/evince.schemas.in: Added real long descriptions,
2465 * README: Added actual text, closes bug 171869
2467 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
2469 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
2473 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
2475 * backend/ev-document-info.h:
2477 s/GDate */GDate so we can just use g_free
2479 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
2481 * shell/ev-window.c: (update_document_mode),
2482 (ev_window_setup_document):
2484 Show the window in fullscreen when specified by
2487 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
2489 * backend/ev-document.c: (ev_document_class_init),
2490 (ev_document_get_info), (ev_document_render_pixbuf):
2491 * backend/ev-document.h:
2492 * backend/ev-page-cache.c: (_ev_page_cache_new):
2493 * pdf/ev-poppler.cc:
2494 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
2495 (pixbuf_document_get_info), (pixbuf_document_document_iface_init):
2496 * ps/ps-document.c: (ps_document_class_init), (document_load),
2497 (ps_document_get_info), (ps_document_document_iface_init):
2499 Remove get_title from the interface, we can just use document info
2501 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
2503 * backend/Makefile.am:
2504 * backend/ev-document.c: (ev_document_render_get_info):
2505 * backend/ev-document.h:
2506 * pdf/ev-poppler.cc:
2508 Initial support for document info. Based on jrb patch.
2510 2005-04-19 Paolo Borelli <pborelli@katamail.com>
2512 * shell/ev-window.c: (ev_window_state_event),
2513 (ev_window_class_init), (ev_window_init):
2515 Doesn't show resize grip when maximized. See bug #301053
2517 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2521 ev-sidebar-thumbnails now has translatable labels
2523 * shell/Makefile.am:
2524 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document),
2525 (ev_sidebar_links_support_document), (ev_sidebar_links_get_label),
2526 (ev_sidebar_links_page_iface_init):
2527 * shell/ev-sidebar-links.h:
2528 * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
2529 (ev_sidebar_page_support_document), (ev_sidebar_page_set_document),
2530 (ev_sidebar_page_get_label):
2531 * shell/ev-sidebar-page.h:
2532 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_new),
2533 (ev_sidebar_thumbnails_set_document),
2534 (ev_sidebar_thumbnails_support_document),
2535 (ev_sidebar_thumbnails_get_label),
2536 (ev_sidebar_thumbnails_page_iface_init):
2537 * shell/ev-sidebar-thumbnails.h:
2538 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
2539 (ev_sidebar_set_document):
2540 * shell/ev-sidebar.h:
2541 * shell/ev-window.c: (ev_window_setup_document), (ev_window_init):
2543 Small rework of sidebar code. Now sidebar pages should implement
2544 EvSidebarPage interface. That makes page management in EvSidebar
2545 easier. See bug #164811 for details
2547 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2549 * shell/ev-application.c: (ev_application_open):
2550 * shell/ev-document-types.c:
2552 Fix build error and small problem with application exit
2554 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2556 * thumbnailer/Makefile.am:
2557 * thumbnailer/evince-thumbnailer-djvu.schemas:
2558 * thumbnailer/evince-thumbnailer-dvi.schemas:
2560 Conditionally install schemas for djvu/dvi thumbnailer
2562 2005-04-18 David Malcolm <dmalcolm@redhat.com>
2564 * shell/ev-document-types.h:
2565 * shell/ev-document-types.c:
2566 New files, handling the mapping from mimetypes to backends
2568 * shell/ev-window.c:
2569 * thumbnailer/evince-thumbnailer.c:
2570 Use the ev-document-types code
2572 * shell/Makefile.am:
2573 Added new convenience library libevbackendfactory_la, containing
2574 the new mimetype->backend logic; moved the backends into it.
2576 * thumbnailer/Makefile.am:
2577 Make the thumbnailer link with the libevbackend.la convenience
2578 library, rather than having a duplicate of the backend logic here.
2580 2005-04-18 Paolo Borelli <pborelli@katamail.com>
2582 * shell/ev-stock-icons.c: constify some vars.
2583 * shell/ev-window.c: ditto.
2585 2005-04-18 Marco Pesenti Gritti <mpg@redhat.com>
2587 * ps/ps-document.c (get_page_orientation):
2589 Respect document orientation
2591 2005-04-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2595 * shell/Makefile.am:
2597 Move library dependencies to components.
2599 * shell/ev-window.c: (update_window_title),
2600 (start_loading_document):
2602 Fix display of uris with spaces. Bug 168358.
2604 Sat Apr 16 18:53:47 2005 Jonathan Blandford <jrb@redhat.com>
2606 * shell/ev-sidebar-links.c: (selection_changed_cb):
2607 * shell/ev-view.c: (ev_view_finalize), (go_to_link),
2608 (ev_view_button_release_event), (ev_view_set_document):
2610 * shell/ev-window.c: (find_bar_search_changed_cb):
2611 * shell/ev-window.h: Minor cleanups removing some dead code.
2613 2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2615 * backend/ev-page-cache.c: (_ev_page_cache_new):
2617 Set current page to 0 if document has pages.
2619 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
2621 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
2623 Initialize GError to NULL, fix a crash when loading fails.
2625 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
2627 * shell/ev-window.c: (update_view_size):
2629 Calculate shadow size only when there is actually
2632 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
2634 * shell/ev-view.c: (ev_view_set_spacing), (ev_view_init):
2637 Allow setting view spacing, default to 0
2639 * shell/ev-window.c: (ev_window_unfullscreen),
2640 (ev_window_cmd_view_fullscreen), (ev_window_init):
2642 Remove spacing in fullscreen mode
2644 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
2646 * shell/ev-view.c: (compute_border), (compute_zoom_factor),
2647 (ev_view_size_request), (expose_bin_window),
2648 (ev_view_set_show_border), (ev_view_init), (page_changed_cb):
2650 * shell/ev-window.c: (ev_window_unfullscreen),
2651 (ev_window_cmd_view_fullscreen):
2653 Do not draw the border in fulscreen
2655 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
2657 * shell/ev-view.c: (ev_view_get_offsets), (compute_zoom_factor),
2658 (ev_view_size_request), (expose_bin_window), (ev_view_select_all),
2659 (find_page_at_location), (page_changed_cb):
2661 Rework border calculation, so that I can more easily disable it.
2662 Code somewhat cleaner too.
2664 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
2666 * backend/ev-page-cache.c: (ev_page_cache_init),
2667 (_ev_page_cache_new):
2669 Remove some assertions, documents can have 0 pages.
2670 Make initial current page -1.
2672 * shell/ev-page-action.c: (page_changed_cb):
2674 Show "" if current page is -1
2676 * shell/ev-window.c: (update_action_sensitivity),
2677 (ev_window_setup_document):
2679 When document has 0 pages do not set the view
2680 and make nearly everything insensitive.
2682 2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2684 * shell/ev-page-view.c:
2685 * shell/ev-page-view.h:
2687 Remove unused files.
2689 * shell/ev-sidebar-thumbnails.c:
2690 (ev_sidebar_thumbnails_set_document):
2691 * shell/ev-sidebar.c: (ev_sidebar_set_document),
2692 (ev_sidebar_supports_document):
2693 * shell/ev-sidebar.h:
2694 * shell/ev-window.c: (ev_window_setup_document):
2696 Doesn't show thumbnails if document has 1 page. Make
2697 sidebar menu entries sensitive only if if they have
2698 sense. Fix bug 164811.
2700 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
2702 * shell/ev-view.c: (compute_zoom_factor), (ev_view_size_request),
2703 (page_changed_cb), (ev_view_zoom), (ev_view_zoom_in),
2704 (ev_view_zoom_out), (ev_view_set_size):
2706 Rework sizing to deal with documents with not uniform page
2709 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
2711 * backend/ev-page-cache.c: (_ev_page_cache_new):
2713 Fix several page size caching bugs
2715 2005-04-15 Luca Ferretti <elle.uca@libero.it>
2717 * shell/ev-window.c: (set_action_properties):
2719 Make all toolbar items translatable
2721 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
2723 * ps/ps-document.c: (ps_document_init), (ps_document_get_type),
2724 (save_page_list), (ps_document_save),
2725 (ps_document_document_iface_init), (ps_document_ps_export_begin),
2726 (ps_document_ps_export_do_page), (ps_document_ps_export_end),
2727 (ps_document_ps_exporter_iface_init):
2730 Based on a patch by J�rg Billeter <j@bitron.ch>
2732 Implement print and save a copy for the ps backend.
2734 2005-04-14 Marco Pesenti Gritti <mpg@redhat.com>
2736 * backend/ev-document.h:
2737 * djvu/djvu-document.c: (djvu_document_can_get_text),
2738 (djvu_document_document_iface_init):
2739 * dvi/dvi-document.c: (dvi_document_can_get_text),
2740 (dvi_document_document_iface_init):
2741 * pdf/ev-poppler.cc:
2742 * pixbuf/pixbuf-document.c: (pixbuf_document_can_get_text),
2743 (pixbuf_document_document_iface_init):
2744 * ps/ps-document.c: (ps_document_can_get_text),
2745 (ps_document_document_iface_init):
2746 * shell/ev-view.c: (ev_view_copy), (ev_view_primary_get_cb):
2747 * shell/ev-window.c: (update_action_sensitivity):
2749 Fix the crash when trying to copy in backends that doesnt
2750 support it. We can implement a better solution once we
2751 do real text selection.
2753 2005-04-12 Marco Pesenti Gritti <mpg@redhat.com>
2755 * data/evince-ui.xml:
2756 * shell/ev-window.c: (ev_window_cmd_escape):
2758 Work around the Escape conflict (find bar and unfullscreen)
2760 2005-04-12 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
2762 * backend/ev-page-cache.c: (ev_page_cache_next_page):
2764 Fix for #300233. Next page correctly handles document end.
2766 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
2767 (ev_sidebar_thumbnails_class_init),
2768 (ev_sidebar_thumbnails_set_document),
2769 (ev_sidebar_thumbnails_clear_job),
2770 (ev_sidebar_thumbnails_clear_model):
2772 Cleanup thumbnail jobs on document changes.
2774 * shell/ev-view.c: (add_scroll_binding_keypad),
2775 (add_scroll_binding_shifted), (ev_view_class_init):
2777 Shift + Space scrolls up. Fix for #173184
2779 * shell/ev-window.c: (ev_window_open_page),
2780 (ev_window_cmd_view_reload):
2782 Fix reload (Bug #300094)
2784 2005-04-09 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2787 * dvi/mdvi-lib/assoc.c:
2788 * dvi/mdvi-lib/assoc.h: Removed garbage files
2790 * dvi/mdvi-lib/bitmap.c:
2791 * dvi/mdvi-lib/color.c: (mdvi_set_color), (mdvi_push_color),
2792 (mdvi_pop_color), (mdvi_reset_color), (get_color_table):
2793 * dvi/mdvi-lib/color.h: Antialias of rules
2795 * dvi/mdvi-lib/common.h:
2796 * dvi/mdvi-lib/dviread.c: (mdvi_configure), (mdvi_init_context),
2797 (mdvi_destroy_context), (draw_shrink_rule), (draw_box), (set_rule):
2798 * dvi/mdvi-lib/files.c:
2799 * dvi/mdvi-lib/fontmap.c: (ps_init_default_paths):
2800 * dvi/mdvi-lib/mdvi.h:
2801 * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
2802 * dvi/mdvi-lib/tfmfile.c: (ofm_load_file):
2803 * dvi/mdvi-lib/util.c: Fix compile warnings
2805 * dvi/dvi-document.c:
2806 (dvi_document_load), (dvi_document_thumbnails_get_dimensions),
2807 (dvi_document_thumbnails_get_thumbnail),
2808 (dvi_document_document_thumbnails_iface_init):
2809 * dvi/mdvi-lib/Makefile.am:
2810 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
2811 (dvi_pixbuf_set_color), (mdvi_pixbuf_device_render):
2813 Dvi backend now renders thumbnails
2815 2005-04-09 Christian Persch <chpe@cvs.gnome.org>
2817 * shell/main.c: (main):
2819 Save accelerators on exit. Fixes bug #172095.
2821 Sat Apr 9 01:05:09 2005 Jonathan Blandford <jrb@redhat.com>
2823 * shell/ev-pixbuf-cache.c (move_one_job): Actually fix the "FIXME:
2824 update priority" comment.
2826 * backend/ev-job-queue.c: Give a way to change priority.
2828 Sat Apr 9 00:05:36 2005 Jonathan Blandford <jrb@redhat.com>
2830 * shell/ev-page-action.c: Fix logic.
2832 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
2834 * shell/ev-view.c: (ev_view_can_find_next):
2835 * shell/ev-window.c: (ev_window_setup_document):
2837 Check that the document supports find
2839 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
2841 * data/evince-ui.xml:
2842 * shell/ev-view.c: (ev_view_can_find_next):
2844 * shell/ev-window.c: (update_action_sensitivity),
2845 (find_changed_cb), (ev_window_setup_document),
2846 (ev_window_cmd_edit_find_next):
2850 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
2852 * pdf/ev-poppler.cc:
2853 * shell/ev-print-job.c: (idle_print_handler):
2855 Make printing work again
2857 Fri Apr 8 01:12:24 2005 Jonathan Blandford <jrb@redhat.com>
2859 * shell/ev-page-action.h:
2860 * shell/ev-page-action.c: (ev_page_action_widget_init),
2861 (ev_page_action_widget_class_init), (page_changed_cb),
2862 (create_tool_item), (update_page_cache), (build_new_tree_cb),
2863 (get_filter_model_from_model), (match_selected_cb),
2864 (display_completion_text), (match_completion), (update_model),
2865 (connect_proxy), (ev_page_action_set_property),
2866 (ev_page_action_get_property), (ev_page_action_set_document),
2867 (ev_page_action_set_model), (ev_page_action_class_init): Big
2868 reworking to make completions work iff we have >= GTK-2.7.0
2870 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_property),
2871 (ev_sidebar_links_get_property), (ev_sidebar_links_class_init),
2872 (job_finished_cb): We now have a 'model' property that is set when
2873 the links are loaded. This can be caught with "notify::model"
2875 * shell/ev-window.c: (sidebar_widget_model_set), (ev_window_init):
2876 listen for the model to be set, and propagate it to the action.
2878 2005-04-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2880 * cut-n-paste/recent-files/egg-recent-item.c:
2881 (egg_recent_item_set_uri), (make_valid_utf8),
2882 (egg_recent_item_set_mime_type), (egg_recent_item_get_mime_type):
2883 * cut-n-paste/recent-files/egg-recent-item.h:
2885 Update egg-recent from libegg. This should fix long
2886 startup problem. For details see
2887 http://bugzilla.gnome.org/show_bug.cgi?id=160531
2889 2005-04-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2891 * cut-n-paste/recent-files/Makefile.am:
2892 * data/evince-ui.xml, shell/Makefile.am:
2893 * shell/ev-application.c, shell/ev-application.h:
2894 * shell/ev-window.c: Recent files support.
2896 * configure.ac: Added "ru" to ALL_LINGUAS.
2898 * dvju: new backend to support DJVU files.
2899 * dvi: new backend to support DVI.
2901 * configure.ac, Makefile.am, shell/Makefile.am, ev-window.c:
2902 * ev-application.c: Support for new backends.
2904 * help, ev-window.c, main.c shell/Makefile.am:
2905 Evince user documentation.
2907 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
2910 * shell/ev-window.c:
2911 * thumbnailer/evince-thumbnailer.c:
2913 s/pdf-document/ev-poppler
2915 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
2922 * ps/ps-document.c: (setup_pixmap):
2926 2005-04-05 Kristian Høgsberg <krh@redhat.com>
2928 * backend/ev-page-cache.c (ev_page_cache_next_page):
2929 * shell/ev-window.c (ev_window_cmd_go_next_page)
2930 (ev_window_cmd_go_first_page): Fix of by one errors.
2932 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
2934 * ps/ps-document.c: (get_page_box):
2936 Fix page size calculation
2938 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
2940 * ps/ps-document.c: (ps_document_init), (push_pixbuf),
2941 (ps_document_cleanup), (setup_pixmap), (get_page_box),
2942 (get_page_orientation), (setup_page), (document_load),
2943 (ps_document_get_page_size), (render_pixbuf_idle):
2946 More refactoring to adapt to EvDocument changes
2948 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
2950 * ps/ps-document.c: (start_interpreter):
2952 Actually add alpha args
2954 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
2956 * pdf/ev-poppler.cc:
2958 Make clipboard work again
2960 2005-04-04 Kristian Høgsberg <krh@redhat.com>
2962 Make searching work again.
2964 * backend/ev-document.c:
2965 * backend/ev-document.h:
2966 * backend/ev-document-find.c:
2967 * backend/ev-document-find.h: Change EvDocumentIface so we no
2968 longer store the current page or zoom level in the document. The
2969 consequence is that all calls that operate on the current page now
2970 instead take the page number as an extra argument, and all
2971 coordinates are now doubles in document coordinate system.
2973 * pdf/ev-poppler.cc:
2974 * pixbuf/pixbuf-document.c:
2975 * ps/ps-document.c: Update backends accordingly.
2977 2005-04-04 Marco Pesenti Gritti <marco@gnome.org>
2981 Add required gettext version
2983 Sat Apr 2 18:57:00 2005 Jonathan Blandford <jrb@redhat.com>
2985 * shell/evwindow.c: Patch from Alberto Mesas <amesas@gmail.com> to
2986 make F1 bring up non-existent help.
2988 * shell/eggfindbar.c: Patch from Christian Persch to sync to
2989 epiphany's find bar, #167477
2991 * shell/ev-view.c (ev_view_jump): Patch from Emil Soleyman-Zomalan
2992 <emil@nishra.com> to add space-bar scrolling,
2994 * shell/ev-window.c (static GtkActionEntry entries): add default
2995 keybinding for Help (F1)
2998 * shell/ev-view.c (ev_view_show_cursor): Fix from Yuval Tanny
2999 changing EV_VIEW_CURSOR_LINK to EV_VIEW_CURSOR_NORMAL resolves bug
3002 2005-04-01 David Malcolm <dmalcolm@redhat.com>
3005 * pixbuf/pixbuf-document.c:
3007 Got pixbuf backend working again
3009 2005-04-01 Steve Murphy <murf@e-tools.com>
3011 * configure.in: Added "rw" to ALL_LINGUAS.
3013 Fri Apr 1 02:33:41 2005 Jonathan Blandford <jrb@redhat.com>
3015 * shell/ev-sidebar-links.c (create_loading_model): Fix mismatch in
3016 model types, noticed by Martin Kretzschmar.
3018 2005-04-01 Kristian Høgsberg <krh@redhat.com>
3020 * pdf/ev-poppler.cc: Implement search based on
3021 poppler_page_find_text(). Currently a bit crude since we remember
3022 all matches from all pages. Also, we grab the big document lock
3023 when we search since searching changes the underlying stream and
3024 thus conflicts with the rendering thread.
3026 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
3027 (jump_to_find_page), (ev_view_set_document), (ev_view_find_next),
3028 (ev_view_find_previous): Fix some page indexes to be 0 based,
3029 offset rubber band by view offset,
3031 Fri Apr 01 09:21:12 2005 Pablo Saratxaga <pablo@mandrakesoft.com>
3033 * configure.ac: Added Walloon (wa) to ALL_LINGUAS.
3035 Fri Apr 1 01:59:39 2005 Jonathan Blandford <jrb@redhat.com>
3037 * shell/ev-page-action.c: Changed to use page labels now. Rewrote
3038 completely because I didn't understand GtkActions. I should
3039 read Marco's code more carefully in the future.
3041 * backend/ev-page-cache.h (ev_page_cache_set_page_label): New
3044 2005-03-31 Kristian Høgsberg <krh@redhat.com>
3046 * pdf/ev-poppler.cc (pdf_document_get_links): Update to work with
3047 PopplerRectangle change from poppler CVS.
3049 Thu Mar 31 13:27:50 2005 Jonathan Blandford <jrb@redhat.com>
3051 * backend/ev-document.c: (ev_document_get_page_label):
3052 * backend/ev-document.h:
3053 * backend/ev-page-cache.c: (_ev_page_cache_new),
3054 (ev_page_cache_get_page_label):
3055 * backend/ev-page-cache.h:
3056 * pdf/ev-poppler.cc:
3057 * shell/ev-sidebar-links.c: (ev_sidebar_links_construct),
3058 (links_page_num_func):
3059 * shell/ev-sidebar-thumbnails.c:
3060 (ev_sidebar_thumbnails_set_document):
3061 * shell/ev-view.c: (status_message_from_link),
3062 (ev_view_motion_notify_event):
3063 * shell/ev-window.c: (document_supports_sidebar): Add in page
3064 label support. It's not perfect yet, but it's the first 'feature'
3066 Also, fix a bogus comment noticed by crispin.
3068 Thu Mar 31 01:21:58 2005 Jonathan Blandford <jrb@redhat.com>
3070 * Makefile.am: Remove pixbuf backend for now
3072 * configure.ac: Require poppler-glib instead of just poppler.
3074 * backend/ev-document-thumbnails.h: Add a comment
3076 * backend/ev-document.h:
3077 * backend/ev-document.c: (ev_document_class_init),
3078 (ev_document_load), (ev_document_get_link),
3079 (ev_document_get_links): Remove 3 methods and add get_links.
3082 * backend/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
3083 * backend/ev-jobs.h: now EvJobRender can grab the links for a document.
3085 * backend/ev-link.c: (ev_link_set_title),
3086 (ev_link_mapping_free_foreach), (ev_link_mapping_free),
3087 (ev_link_mapping_find):
3088 * backend/ev-link.h: Allow NULL titles. Also, introduce a mapping link.
3090 * backend/ev-page-cache.c: (ev_page_cache_init),
3091 (_ev_page_cache_new), (ev_page_cache_set_current_page),
3092 (ev_page_cache_get_size), (ev_page_cache_next_page),
3093 (ev_page_cache_prev_page): Fix to be 0 based.
3097 * pdf/ev-poppler.cc: New backend.
3099 * ps/ps-document.c: (ps_document_init), (ps_document_set_page),
3100 (ps_document_get_page), (ps_document_document_iface_init):
3102 * shell/ev-pixbuf-cache.h:
3103 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
3104 (dispose_cache_job_info), (job_finished_cb), (move_one_job),
3105 (ev_pixbuf_cache_update_range), (copy_job_to_job_info),
3106 (add_job_if_needed), (ev_pixbuf_cache_set_page_range),
3107 (ev_pixbuf_cache_get_pixbuf), (ev_pixbuf_cache_get_link_mapping):
3108 Fix up code to grab a page cache per each doc. Also, fix to be 0
3111 * shell/ev-sidebar-thumbnails.c:
3112 (ev_sidebar_tree_selection_changed), (page_changed_cb),
3113 (ev_sidebar_thumbnails_set_document): Fix to be 0 based.
3115 * shell/ev-view.c: (status_message_from_link),
3116 (find_page_at_location), (get_link_at_location),
3117 (ev_view_motion_notify_event), (ev_view_button_release_event),
3118 (ev_view_init): Use the new link code. Fix to be 0 based.
3120 * shell/ev-window.c: (update_action_sensitivity),
3121 (document_supports_sidebar): 0 based.
3123 Fri Mar 25 16:55:58 2005 Jonathan Blandford <jrb@redhat.com>
3125 * pdf/pdf-document.cc: Patch from Fernando Herrera
3126 <fherrera@onirica.com> to fix my quick fix to get_thumbnail.
3129 Wed Mar 23 23:49:41 2005 Jonathan Blandford <jrb@redhat.com>
3131 * pdf/pdf-document.cc (pdf_document_thumbnails_get_thumbnail): add
3132 1 to the page, as this seems to be 1 based. I thought we has this
3135 2005-03-23 Marco Pesenti Gritti <marco@gnome.org>
3138 * backend/Makefile.am:
3139 * backend/ev-document-links.c:
3140 (ev_document_links_has_document_links),
3141 (ev_document_links_get_links_model):
3142 * backend/ev-document-links.h:
3143 * backend/ev-document.c: (ev_document_get_page_cache),
3144 (ev_document_get_doc_mutex), (ev_document_load),
3145 (ev_document_save), (ev_document_get_title),
3146 (ev_document_get_n_pages), (ev_document_set_page),
3147 (ev_document_get_page), (ev_document_set_target),
3148 (ev_document_set_scale), (ev_document_set_page_offset),
3149 (ev_document_get_page_size), (ev_document_get_text),
3150 (ev_document_get_link), (ev_document_render),
3151 (ev_document_render_pixbuf), (ev_document_scale_changed):
3152 * backend/ev-document.h:
3153 * backend/ev-job-queue.c: (remove_object_from_queue),
3154 (notify_finished), (handle_job), (search_for_jobs_unlocked),
3155 (no_jobs_available_unlocked), (ev_render_thread),
3156 (ev_job_queue_init), (find_queue), (ev_job_queue_add_job),
3157 (ev_job_queue_remove_job):
3158 * backend/ev-job-queue.h:
3159 * backend/ev-jobs.c: (ev_job_init), (ev_job_dispose),
3160 (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
3161 (ev_job_links_class_init), (ev_job_render_init),
3162 (ev_job_render_dispose), (ev_job_render_class_init),
3163 (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
3164 (ev_job_thumbnail_class_init), (ev_job_finished),
3165 (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
3166 (ev_job_render_run), (ev_job_thumbnail_new),
3167 (ev_job_thumbnail_run):
3168 * backend/ev-jobs.h:
3169 * backend/ev-link.c:
3170 * backend/ev-link.h:
3171 * backend/ev-page-cache.c: (ev_page_cache_init),
3172 (ev_page_cache_class_init), (ev_page_cache_finalize),
3173 (_ev_page_cache_new), (ev_page_cache_get_n_pages),
3174 (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
3175 (ev_page_cache_set_link), (ev_page_cache_get_title),
3176 (ev_page_cache_get_size), (ev_page_cache_next_page),
3177 (ev_page_cache_prev_page):
3178 * backend/ev-page-cache.h:
3179 * pdf/pdf-document.cc:
3182 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
3183 (push_pixbuf), (interpreter_failed), (ps_document_cleanup),
3184 (ps_document_widget_event), (ps_document_finalize), (get_xdpi),
3185 (get_ydpi), (setup_pixmap), (setup_page), (close_pipe),
3186 (is_interpreter_ready), (output), (catchPipe), (input),
3187 (start_interpreter), (check_filecompressed), (compute_dimensions),
3188 (ps_document_enable_interpreter), (document_load),
3189 (ps_document_next_page), (render_page), (ps_document_set_page),
3190 (ps_document_set_scale), (render_pixbuf_idle),
3191 (ps_document_render_pixbuf), (ps_document_document_iface_init):
3193 * shell/Makefile.am:
3194 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
3195 (ev_pixbuf_cache_class_init), (ev_pixbuf_cache_finalize),
3196 (dispose_cache_job_info), (ev_pixbuf_cache_dispose),
3197 (ev_pixbuf_cache_new), (job_finished_cb),
3198 (check_job_size_and_unref), (move_one_job),
3199 (ev_pixbuf_cache_update_range), (find_job_cache),
3200 (ev_pixbuf_cache_clear_job_sizes), (add_job_if_needed),
3201 (ev_pixbuf_cache_add_jobs_if_needed),
3202 (ev_pixbuf_cache_set_page_range), (ev_pixbuf_cache_get_pixbuf):
3203 * shell/ev-pixbuf-cache.h:
3204 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
3205 (idle_print_handler):
3206 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
3207 (selection_changed_cb), (create_loading_model),
3208 (ev_sidebar_links_construct), (links_page_num_func),
3209 (ev_sidebar_links_clear_document), (update_page_callback_foreach),
3210 (update_page_callback), (job_finished_cb),
3211 (ev_sidebar_links_set_document):
3212 * shell/ev-sidebar-thumbnails.c:
3213 (ev_sidebar_thumbnails_class_init), (adjustment_changed_cb),
3214 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init),
3215 (page_changed_cb), (thumbnail_job_completed_callback),
3216 (ev_sidebar_thumbnails_set_document):
3217 * shell/ev-sidebar-thumbnails.h:
3218 * shell/ev-sidebar.c: (ev_sidebar_set_document):
3219 * shell/ev-view.c: (ev_view_finalize), (ev_view_destroy),
3220 (ev_view_get_offsets), (ev_view_size_request), (ev_view_realize),
3221 (ev_view_unrealize), (highlight_find_results), (expose_bin_window),
3222 (ev_view_select_all), (ev_view_copy), (ev_view_primary_get_cb),
3223 (ev_view_create_invisible_cursor), (ev_view_motion_notify_event),
3224 (ev_view_button_release_event), (ev_view_scroll_view),
3225 (ev_view_class_init), (ev_view_init), (update_find_status_message),
3226 (jump_to_find_result), (jump_to_find_page), (find_changed_cb),
3227 (ev_view_new), (job_finished_cb), (page_changed_cb),
3228 (ev_view_set_document), (go_to_link), (ev_view_zoom),
3229 (size_to_zoom_factor), (ev_view_set_size), (ev_view_find_next),
3230 (ev_view_find_previous):
3232 * shell/ev-window.c: (update_action_sensitivity),
3233 (ev_window_open_page), (update_window_title), (update_total_pages),
3234 (page_changed_cb), (ev_window_setup_document),
3235 (password_dialog_response), (ev_window_cmd_save_as),
3236 (ev_window_print), (ev_window_cmd_go_previous_page),
3237 (ev_window_cmd_go_next_page), (ev_window_cmd_go_first_page),
3238 (ev_window_cmd_go_last_page), (ev_window_cmd_view_reload),
3239 (find_bar_search_changed_cb), (goto_page_cb), (ev_window_init):
3240 * shell/main.c: (main):
3242 Merge evince-threads branch
3244 2005-03-16 Žygimantas Beručka <uid0@akl.lt>
3246 * configure.ac: Added "lt" to ALL_LINGUAS.
3248 2005-03-14 Marco Pesenti Gritti <marco@gnome.org>
3255 2005-03-13 Fernando Herrera <fherrera@onirica.com>
3257 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3259 Fix here also the thumbnails 1-basedness :)
3261 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
3268 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
3270 * pdf/pdf-document.cc:
3271 * shell/ev-sidebar-thumbnails.c: (adjustment_changed_cb),
3272 (do_one_iteration), (ev_sidebar_thumbnails_set_document):
3274 Fix the mess we did with thumbnails and 1-basedness
3276 2005-03-12 Changwoo Ryu <cwryu@debian.org>
3278 * configure.ac (ALL_LINGUAS): Added "ko" (Korean).
3280 2005-03-09 Marco Pesenti Gritti <marco@gnome.org>
3287 2005-03-08 Marco Pesenti Gritti <marco@gnome.org>
3290 * ps/gsdefaults.c: (gtk_gs_defaults_get_interpreter_cmd),
3291 (gtk_gs_defaults_get_alpha_parameters),
3292 (gtk_gs_defaults_get_ungzip_cmd),
3293 (gtk_gs_defaults_get_unbzip2_cmd):
3295 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
3296 (ps_document_get_orientation), (document_load),
3297 (ps_document_goto_page), (ps_document_set_page_size):
3300 Some more sanitization of the ps backend. Remove a lot
3301 of unused code and do not base our defaults on ggv
3304 2005-03-08 Fernando Herrera <fherrera@onirica.com>
3306 * thumbnailer/evince-thumbnailer.schemas:
3307 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
3308 (main): add -s option for thumbnail size.
3310 2005-03-07 Christian Persch <chpe@cvs.gnome.org>
3314 AC_PROG_RANLIB is rendered obsolete by AC_PROG_LIBTOOL;
3317 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
3319 * pdf/pdf-document.cc:
3321 Remove 4 pixels of useless border from the
3324 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
3326 * backend/ev-document-thumbnails.c:
3327 (ev_document_thumbnails_get_thumbnail):
3328 * backend/ev-document-thumbnails.h:
3330 Rework API a bit. Add a border flag and
3331 change sizing logic (now the size we specify
3332 applies to the bigger dimension).
3334 * pdf/pdf-document.cc:
3335 * pixbuf/pixbuf-document.c:
3336 (pixbuf_document_thumbnails_get_thumbnail):
3337 * shell/ev-sidebar-thumbnails.c: (do_one_iteration):
3338 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3340 Adapt to the new API and do not draw a border for nautilus
3343 2005-03-03 Fernando Herrera <fherrera@onirica.com>
3345 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3346 take thumbnails from page "0" instead of "1". Added a copyright header.
3348 2005-03-03 Jens Granseuer <jensgr@gmx.net>
3350 * ps/ps-document.c: (set_up_page), (start_interpreter):
3352 Make it C89 compliant
3354 2005-03-03 Marco Pesenti Gritti <marco@gnome.org>
3359 * pdf/pdf-document.cc:
3360 * thumbnailer/Makefile.am:
3361 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
3363 * thumbnailer/evince-thumbnailer.schemas:
3364 * thumbnailer/pdf-icon.png:
3366 Add a nautilus thumbnailer.
3367 Based on patch by Fernando Herrera <fherrera@onirica.com>.
3369 2005-03-02 Marco Pesenti Gritti <marco@gnome.org>
3377 2005-03-01 Kristian Høgsberg <krh@redhat.com>
3379 Use poppler instead of including xpdf source code. Poppler is a
3380 fork of xpdf to build it as a shared library. See
3381 http://freedesktop.org/wiki/Software/poppler.
3383 * pdf/xpdf/*, pdf/goo/*, pdf/splash/*, pdf/fofi/*: Remove included
3386 * pdf/Makefile.am: Build libpdfdocument.a here.
3388 * pdf/GDKSplashOutputDev.cc:
3389 * pdf/GDKSplashOutputDev.h:
3390 * pdf/GnomeVFSStream.cc:
3391 * pdf/GnomeVFSStream.h:
3394 * test-gdk-output-dev.cc
3396 * Thumb.h: Pull these files out of pdf/xpdf and adjust to compile
3399 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
3401 * shell/ev-sidebar-links.c: (ev_sidebar_links_clear_document):
3403 Clear idle stack before unsetting the document
3405 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
3407 * ps/ps-document.c: (ps_document_widget_event),
3408 (ps_document_set_target), (ps_document_finalize),
3409 (ps_document_get_page):
3411 Disconnect the widget event signal on finalize.
3414 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
3416 * ps/ps-document.c: (set_up_page):
3418 If there is no bpixmap create one, even if size
3421 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
3423 * ps/ps-document.c: (ps_document_init), (ps_document_cleanup),
3424 (set_up_page), (document_load), (ps_document_set_zoom):
3426 Default page is 0. Calculate size even when we have no
3429 2005-02-28 Carlos Garcia Campos <carlosgc@gnome.org>
3431 * shell/ev-sidebar.c: expand the selection widget to be always as
3434 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
3436 * shell/ev-sidebar-thumbnails.c:
3437 (ev_sidebar_thumbnails_set_document):
3439 Clear the list store when setting document
3441 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
3443 * shell/ev-page-action.c: (update_entry), (sync_entry),
3444 (activate_cb), (entry_size_request_cb), (create_tool_item),
3447 Use an entry for the page control instead of spinbuttons
3449 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
3451 * data/evince.schemas.in:
3453 Correct confusing string
3455 Sun Feb 27 23:00:31 2005 Jonathan Blandford <jrb@redhat.com>
3457 * shell/ev-sidebar-links.c (do_one_iteration): Handle title links
3458 for real. Gosh, how long has this been broken.
3460 * pdf/xpdf/pdf-document.cc (build_link_from_action): add back the
3461 check for a NULL link. We crash otherwise.
3463 2005-02-27 Marco Pesenti Gritti <marco@gnome.org>
3470 2005-02-25 Sebastien Bacher <seb128@debian.org>
3472 * configure.ac: add the french translation.
3474 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
3476 * shell/ev-window.c:
3478 Remove unused header -> fix distcheck
3480 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
3482 * shell/ev-window.c: (update_window_title),
3483 (ev_window_popup_password_dialog):
3485 Unescape filename for display
3487 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
3489 * pdf/xpdf/pdf-document.cc:
3491 In get_page_size deal with rotation. Also
3492 cleanup the function a bit.
3494 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
3496 * pdf/xpdf/pdf-document.cc:
3498 Fix crash when opening in new window
3500 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
3504 Check ghostscript >= 7
3506 2005-02-25 Pedro Villavicencio <pvillavi@gnome.cl>
3508 * shell/ev-window.c:
3510 Make page width the default sizing mode
3512 2005-02-25 Carlos Garcia Campos <carlosgc@gnome.org>
3513 Marco Pesenti Gritti <marco@gnome.org>
3515 * shell/ev-window.c: Remember the sidebar size
3517 * data/evince.schemas.in: Add a new gconf key to store the size of
3520 2005-02-24 Kai Willadsen <kaiw@itee.uq.edu.au>
3522 * data/evince-ui.xml:
3523 * shell/ev-window.c: (update_action_sensitivity),
3524 (ev_window_cmd_view_reload):
3526 Add a "Reload" action and menu entry
3528 Thu Feb 24 23:07:33 2005 Jonathan Blandford <jrb@redhat.com>
3530 * shell/ev-window.c (hide_sidebar_and_actions): Hide the sidebar
3531 iff the type doesn't support thumbnailing and indexing.
3533 2005-02-24 Martin Kretzschmar <martink@gnome.org>
3535 * configure.ac (ALL_LINGUAS): Added "zh_TW" (Traditional Chinese).
3537 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
3539 * pdf/splash/Splash.cc:
3541 Port fix for a crasher from kde bug
3542 http://bugs.kde.org/show_bug.cgi?id=97131
3544 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
3546 * pdf/xpdf/pdf-document.cc:
3548 Return a link even if it's of an unrecognized
3549 type. Otherwise we go in an infinte cycle.
3551 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
3553 * shell/ev-window.c: (update_sizing_buttons), (update_view_size),
3554 (size_allocate_cb), (ev_window_set_sizing_mode):
3556 Update size when switching mode
3558 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
3560 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
3561 (ev_window_cmd_view_page_width), (update_sizing_buttons),
3562 (ev_window_cmd_view_normal_size):
3564 Fix size toggle buttons behavior
3566 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
3568 * shell/ev-view.c: (ev_view_get_offsets), (view_rect_to_doc_rect),
3569 (doc_rect_to_view_rect), (ev_view_size_allocate),
3570 (expose_bin_window), (ev_view_select_all), (page_changed_callback),
3571 (scale_changed_callback):
3573 Do not cache offsets in size_allocate.
3575 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
3577 * shell/ev-view.c: (ev_view_size_allocate):
3579 Calculate offsets before calling the parent
3580 class (which does a redraw)
3582 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
3584 * pdf/xpdf/pdf-document.cc:
3586 Fix a crasher on exit. Unused code, put a TODO
3588 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
3590 * backend/ev-document.c: (ev_document_class_init),
3591 (ev_document_page_changed), (ev_document_scale_changed):
3592 * backend/ev-document.h:
3594 Separate page/scale notifications
3596 * pdf/xpdf/pdf-document.cc:
3598 Emit the new signals.
3599 Do not display the pdf page in _render, do it
3600 when scale/page are requested.
3602 * ps/ps-document.c: (ps_document_set_zoom),
3603 (ps_document_widget_event):
3606 Emit the new signals.
3608 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
3609 (ev_view_init), (page_changed_callback), (scale_changed_callback),
3610 (ev_view_set_document), (ev_view_zoom), (ev_view_zoom_in),
3611 (ev_view_zoom_out), (size_to_zoom_factor), (ev_view_set_size):
3613 * shell/ev-window.c: (ev_window_cmd_view_normal_size),
3614 (ev_window_cmd_view_page_width), (size_allocate_cb),
3615 (ev_window_set_sizing_mode):
3617 Rework sizing to be pixel based.
3618 There are bugs but should be already way better.
3620 2005-02-23 Marco Pesenti Gritti <marco@gnome.org>
3622 * shell/ev-window.c: (ev_window_init):
3624 Do not allow to shrink sidebar smaller then
3627 2005-02-23 Carlos Garcia Campos <carlosgc@gnome.org>
3629 * shell/ev-sidebar.[ch]
3630 * shell/ev-window.c:
3632 Improved sidebar widget. Fixes #166683
3634 2005-02-23 Tommi Vainikainen <thv@iki.fi>
3636 * shell/ev-view.c (update_find_status_message): Give translators
3637 more flexibility with ngettext plural handling.
3639 Mon Feb 21 17:52:08 2005 Jonathan Blandford <jrb@redhat.com>
3641 * pdf/xpdf/pdf-document.cc (pdf_document_get_page_size): Patch
3642 from Crispin Flowerday <gnome@flowerday.cx> to avoid rendering the
3643 page when we get the page size.
3645 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
3647 * ps/ps-document.c: (ps_document_set_page), (ps_document_get_page):
3649 ps pages are 0 based, convert
3651 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
3653 * ps/ps-document.c: (ps_document_class_init), (ps_document_load):
3655 Initialize correct parent class. Set GError on document load
3657 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
3659 * pdf/xpdf/pdf-document.cc:
3661 Fixup selection offset calculation
3663 * shell/ev-view.c: (view_rect_to_doc_rect),
3664 (doc_rect_to_view_rect), (ev_view_size_allocate),
3665 (expose_bin_window), (ev_view_select_all), (ev_view_copy),
3666 (ev_view_primary_get_cb), (ev_view_motion_notify_event):
3668 Store selection as document relative, so that zooming
3669 and offset changing doesnt break it.
3671 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
3673 * shell/ev-view.c: (ev_view_best_fit):
3675 Do not try to best fit if the view is not realized
3677 2005-02-20 Kostas Papadimas <pkst@gnome.org>
3679 * configure.ac (ALL_LINGUAS): Added "el" (Greek).
3681 Fri Feb 18 16:06:39 2005 Jonathan Blandford <jrb@redhat.com>
3683 * shell/ev-window.c (ev_window_focus_in_event): missed a case.
3685 Fri Feb 18 15:32:57 2005 Jonathan Blandford <jrb@redhat.com>
3687 * shell/ev-window.c: Change the fullscreen toolbar to always be in
3688 the popup window. That prevents it resizing when in full screen
3691 * shell/ev-view.c: Change Zoom epsilon as a bad hack to avoid
3692 multiple rerenders. This pretty much sucks.
3694 * data/evince-ui.xml: Change the fullscreen toolbar to include the
3695 rest of the toolbar.
3697 2005-02-18 Tommi Vainikainen <thv@iki.fi>
3699 * configure.ac (ALL_LINGUAS): Added "fi" (Finnish).
3701 2005-02-17 Alexander Shopov <ash@contact.bg>
3703 * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
3705 2005-02-16 Bryan Clark <clarkbw@cvs.gnome.org>
3707 * shell/ev-window.c: added ellipsis to Print item. Fixes bug 166915
3709 2005-02-16 Marco Pesenti Gritti <marco@gnome.org>
3711 * shell/ev-view.c: (ev_view_realize), (highlight_find_results),
3712 (ev_view_create_invisible_cursor), (ev_view_set_cursor),
3713 (set_document_page), (document_changed_callback),
3714 (ev_view_set_document), (ev_view_find_previous),
3715 (ev_view_hide_cursor), (ev_view_show_cursor):
3717 * shell/ev-window.c: (update_chrome_visibility),
3718 (fullscreen_timeout_cb), (fullscreen_set_timeout),
3719 (fullscreen_clear_timeout), (fullscreen_motion_notify_cb),
3720 (fullscreen_leave_notify_cb), (ev_window_fullscreen),
3721 (ev_window_unfullscreen):
3722 * shell/main.c: (main):
3724 Automatically hide the fullscreen button.
3725 Patch by Kristian Høgsberg <krh@redhat.com>
3727 2005-02-16 Vincent Noel <vnoel@cox.net>
3729 * shell/main.c (main): Specify an icon for the window. Patch by
3730 Jaap A. Haitsma. Fixes #166177.
3732 Wed Feb 16 06:30:13 2005 Jonathan Blandford <jrb@redhat.com>
3734 * shell/ev-view.c (ev_view_realize): get rid of the black flash.
3736 Tue Feb 15 22:27:13 2005 Jonathan Blandford <jrb@redhat.com>
3738 * backend/ev-document-misc.h:
3739 * backend/ev-document-misc.c:
3740 (ev_document_misc_get_page_border_size),
3741 (ev_document_misc_paint_one_page): New function to canonicalize
3742 sizing/painting a border.
3744 * shell/Makefile.am: Remove ev-page-view.c entirely as it's not
3747 * pdf/xpdf/pdf-document.cc: use new function
3749 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
3750 (ev_view_init), (ev_view_set_mode), (ev_view_zoom),
3751 (ev_view_best_fit), (ev_view_fit_width): * shell/ev-view.h: *
3752 shell/ev-window.c: (update_sizing_buttons),
3753 (ev_window_setup_document), (ev_window_cmd_view_zoom_in),
3754 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_best_fit),
3755 (ev_window_cmd_view_page_width), (size_allocate_cb),
3756 (ev_window_set_sizing_mode), (ev_window_init): make the "best fit"
3757 and "fit width" values act as toggle buttons so they stay
3758 toggled. It's not 100% perfect, and it's a little slow, but it's
3759 good enough to commit I think.
3761 2005-02-15 David Lodge <dave@cirt.net>
3763 * configure.ac (ALL_LINGUAS): Added "en_GB" (English (British)).
3765 2005-02-15 Martin Kretzschmar <martink@gnome.org>
3767 * shell/ev-window.c (update_window_title): replace newlines in
3768 the title by spaces. Bug #166107.
3770 2005-02-14 Martin Kretzschmar <martink@gnome.org>
3772 * shell/ev-view.c (ev_view_best_fit, ev_view_fit_width): add
3773 parameters providing allocation width and height without
3774 scrollbars and width of a possible vertical scrollbar. With this
3775 additional information the functions can work as
3776 intended. Unfortunately they're not idempotent. We should
3777 transform these commands to toggles. Fixes Bug #164976
3778 Initial patch by Stephane Loeuillet, then heavily modified.
3780 * shell/ev-view.h: update prototypes.
3782 * shell/ev-window.c (ev_window_cmd_view_best_fit)
3783 (ev_window_cmd_view_page_width): provide EvView fit functions with
3784 all the information they need. Formulas to calculate this
3785 information taken from GtkScrolledWindow.
3787 2005-02-14 Crispin Flowerday <gnome@flowerday.cx>
3789 * shell/ev-sidebar-thumbnails.c: Ensure that after we have
3790 created a thumbnail, the list store is updated to know
3791 that the thumbnail is set. Fixes bug #166792
3793 2005-02-11 Bryan Clark <clarkbw@cvs.gnome.org>
3795 * shell/ev-window.c: fixed typo, closes bug 166897
3797 * TODO: updated TODO with bug numbers that are relevant
3799 2005-02-09 Carlos Garcia Campos <carlosgc@gnome.org>
3801 * shell/ev-window.c: Support for DnD of files. Fixes #164813
3803 2005-02-09 Vincent Noel <vnoel@cox.net>
3805 * shell/ev-window.c: (set_action_properties): Set the "Previous"
3806 and "Next" toolbar buttons as important to make them stand out.
3808 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
3812 * ps/ps-document.c: (ps_document_finalize), (set_up_page),
3813 (start_interpreter), (stop_interpreter), (document_load),
3814 (ps_document_next_page), (ps_document_goto_page),
3815 (ps_document_set_page_size), (ps_document_widget_event),
3816 (ps_document_render):
3817 * shell/ev-page-view.c: (ev_page_view_dispose):
3818 * shell/ev-view.c: (ev_view_finalize), (expose_bin_window):
3820 Fix compilation on non-gcc platforms
3822 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
3829 * pdf/xpdf/Catalog.cc:
3832 Fix the fix for CAN-2004-0888
3834 2005-02-09 Luca Ferretti <elle.uca@libero.it>
3837 * data/evince-ui.xml:
3838 * shell/ev-stock-icons.c: (ev_stock_icons_init):
3839 * shell/ev-stock-icons.h:
3840 * shell/ev-window.c: (update_action_sensitivity),
3841 (ev_window_cmd_go_previous_page), (ev_window_cmd_go_next_page),
3842 (set_action_properties):
3844 Improve toolbar layout/icons
3846 2005-02-08 Marco Pesenti Gritti <marco@gnome.org>
3848 * pdf/xpdf/pdf-document.cc:
3850 Add warnings about unimplemented/unknown link
3853 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
3855 * ps/ps-document.c: (set_up_page):
3859 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
3861 * ps/ps-document.c: (start_interpreter):
3865 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
3867 * shell/ev-page-view.c: (ev_page_view_dispose):
3868 * shell/ev-view.c: (ev_view_finalize):
3869 * shell/ev-window.c: (ev_window_setup_document),
3870 (ev_window_dispose), (ev_window_init):
3872 Solve more refs issues.
3874 I commented out the page_view initialization for now:
3875 it was never destroyed (because it's never added
3876 to a container). Because of that we was leaking
3877 gs processes. Couldnt think to a clean fix.
3878 We need to figure this out, password view has the
3879 same issue probably.
3881 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
3883 * ps/ps-document.c: (ps_document_finalize),
3884 (ps_document_get_n_pages), (ps_document_get_page):
3886 Some cleanups, stop the interpreter on finalize
3888 * shell/ev-page-view.c: (ev_page_view_dispose),
3889 (ev_page_view_class_init):
3891 Release our reference on the document
3893 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
3897 * doc/debugging.txt:
3900 * lib/ev-debug.c: (log_module), (trap_handler), (ev_debug_init),
3901 (ev_profiler_new), (ev_should_profile), (ev_profiler_dump),
3902 (ev_profiler_free), (ev_profiler_start), (ev_profiler_stop):
3905 Add debugging helpers
3908 * ps/ps-document.c: (set_up_page), (start_interpreter),
3909 (stop_interpreter), (document_load), (ps_document_next_page),
3910 (ps_document_goto_page), (ps_document_set_page_size),
3911 (ps_document_widget_event), (ps_document_render):
3912 * shell/Makefile.am:
3913 * shell/ev-view.c: (expose_bin_window):
3914 * shell/main.c: (main):
3918 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
3920 * ps/ps-document.c: (ps_document_widget_event):
3922 Initialize message_window, this should make ps
3923 rendering really work! (Never noticed because I was
3924 testing with a ps that is causing gs to exit every time!)
3926 2005-02-07 Bryan Clark <clarkbw@cvs.gnome.org>
3928 * data/evince.schemas.in: updated simple error in applyto closing tag
3930 2005-02-07 Christian Persch <chpe@cvs.gnome.org>
3936 * data/evince-ui.xml:
3937 A data/evince.schemas.in:
3939 * shell/ev-stock-icons.c: (ev_stock_icons_init):
3940 * shell/ev-stock-icons.h:
3941 * shell/ev-window.c: (update_chrome_visibility),
3942 (update_chrome_flag), (ev_window_cmd_edit_find),
3943 (ev_window_update_fullscreen_popup), (ev_window_fullscreen),
3944 (ev_window_unfullscreen), (ev_window_focus_in_event),
3945 (ev_window_focus_out_event), (ev_window_cmd_leave_fullscreen),
3946 (ev_window_view_toolbar_cb), (ev_window_view_statusbar_cb),
3947 (ev_window_view_sidebar_cb), (find_bar_close_cb),
3948 (ev_window_dispose), (ev_window_class_init),
3949 (set_action_properties), (set_chrome_actions), (load_chrome),
3952 Implement fullscreen mode changes from bug #164776.
3953 Also implement persistent chrome toggles.
3955 2005-02-07 Jordi Mallach <jordi@sindominio.net>
3957 * configure.ac (ALL_LINGUAS): Added "ca" (Catalan).
3959 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
3965 Add another check for find interface
3969 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
3971 * shell/ev-application.c: (ev_application_open):
3972 * shell/ev-window.c: (ev_window_open):
3974 Open gzipped ps documents
3976 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
3979 * shell/ev-view.c: (set_document_page):
3981 Clamp page number, dont try to move to
3984 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
3986 * backend/ev-document-find.c: (ev_document_find_changed):
3987 * backend/ev-document-find.h:
3988 * pdf/xpdf/pdf-document.cc:
3989 * shell/ev-view.c: (jump_to_find_result), (ev_view_set_document):
3990 * shell/ev-window.c: (find_bar_search_changed_cb):
3992 Fix several bugs with find
3994 2005-02-04 Martin Kretzschmar <martink@gnome.org>
3996 * shell/ev-sidebar-thumbnails.c
3997 (ev_sidebar_thumbnails_select_page): do nothing unless we have a
3998 document. Prevents warning from scroll_to_cell.
4000 2005-02-02 Kjartan Maraas <kmaraas@gnome.org>
4002 * configure.ac: Add «nb» to ALL_LINGUAS too.
4004 Wed Feb 2 21:13:11 2005 Jonathan Blandford <jrb@redhat.com>
4006 * NOTES: New file with some random thoughts.
4010 * backend/ev-document-misc.c:
4011 (ev_document_misc_get_page_border_size): New function to
4012 canonicalize shadow drawing sizes. Possibly goofy.
4014 * shell/ev-view.c: (ev_view_size_request), (set_document_page),
4015 (ev_view_best_fit), (ev_view_fit_width):
4016 * pdf/xpdf/pdf-document.cc:
4017 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
4018 * ps/ps-document.c: (ps_document_get_page_size):
4019 * backend/ev-document-misc.h:
4020 * backend/ev-document.c: (ev_document_get_page_size):
4021 * backend/ev-document.h: get_page_size now takes a page number
4022 parameter. Made all the backends/frontends honor it.
4024 * data/evince-ui.xml: Added a multiple-page mode. Uncomment to
4025 see. Doesn't work yet.
4027 * shell/Makefile.am:
4028 * shell/ev-page-view.[ch]: New multi-page view. Really rough.
4029 Doesn't do anything yet.
4031 * shell/ev-sidebar-thumbnails.c:
4032 (ev_sidebar_thumbnails_set_document): [1..n_pages] instead of
4035 * shell/ev-window.c: (update_action_sensitivity),
4036 (ev_window_setup_document), (ev_window_set_page_mode),
4037 (ev_window_page_mode_cb), (ev_window_init): Clean up the
4038 view-swapping code a bit so we can have multiple views on a
4039 document. Add the multi-page view, though it can't be turned on
4042 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
4044 * shell/ev-application.c: (ev_application_open):
4045 * shell/ev-view.c: (expose_bin_window):
4046 * shell/ev-window.c: (ev_window_open):
4048 Support eps and check document supports find
4049 before drawing highlightings in expose.
4051 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
4053 * pixbuf/pixbuf-document.c:
4054 (pixbuf_document_thumbnails_get_dimensions),
4055 (pixbuf_document_document_thumbnails_iface_init):
4057 implement get_dimensions
4059 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
4066 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
4068 * shell/ev-view.c: (set_document_page):
4070 Scroll at the top of the page when changing page
4072 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
4074 * shell/ev-view.c: (ev_view_motion_notify_event):
4076 Do not redraw unnecessarily
4078 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
4080 * pdf/xpdf/pdf-document.cc:
4081 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
4082 (expose_bin_window), (find_changed_cb):
4084 Yay! find works now... Now to find bugs...
4086 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
4088 * backend/ev-document-find.c: (ev_document_find_base_init),
4089 (ev_document_find_changed):
4090 * backend/ev-document-find.h:
4091 * pdf/xpdf/pdf-document.cc:
4092 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
4093 (expose_bin_window), (ev_view_init), (set_document_page),
4094 (ensure_rectangle_is_visible), (jump_to_find_result),
4095 (jump_to_find_page), (find_changed_cb), (ev_view_set_document),
4096 (ev_view_find_next), (ev_view_find_previous):
4098 * shell/ev-window.c: (find_bar_previous_cb), (find_bar_next_cb):
4100 More work on find implementation, mostly there now
4102 2005-01-29 Marco Pesenti Gritti <marco@gnome.org>
4104 * backend/ev-backend-marshalers.list:
4105 * backend/ev-document-find.c: (ev_document_find_base_init),
4106 (ev_document_find_cancel), (ev_document_find_page_has_results),
4107 (ev_document_find_get_n_results), (ev_document_find_get_result),
4108 (ev_document_find_get_progress), (ev_document_find_changed):
4109 * backend/ev-document-find.h:
4111 Enanche the find interface to be really able to do
4114 * pdf/xpdf/pdf-document.cc:
4118 * shell/ev-view.c: (ev_view_finalize), (highlight_find_results),
4119 (expose_bin_window), (ev_view_init),
4120 (ev_view_get_find_status_message), (find_changed_cb),
4121 (ev_view_set_document), (set_document_page):
4123 Adapt to the new interface. A few things are regressed sorry,
4124 I will finish it soon.
4126 2005-01-28 Martin Kretzschmar <martink@gnome.org>
4128 * shell/ev-sidebar-thumbnails.c (ev_sidebar_thumbnails_destroy)
4129 (ev_sidebar_thumbnails_class_init): use G_DEFINE_TYPE-supplied
4130 ev_sidebar_thumbnails_parent_class variable, don't define another
4131 parent_class variable.
4133 * shell/ev-page-action.c (connect_proxy, ev_page_action_finalize)
4134 (ev_page_action_class_init): ditto.
4136 * pixbuf/pixbuf-document.c (pixbuf_document_finalize)
4137 (pixbuf_document_class_init): ditto.
4139 * backend/ev-link.c (ev_window_dispose, ev_link_class_init):
4142 * .cvsignore: ignore various valgrind output files.
4144 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
4146 * data/evince-ui.xml:
4147 * shell/Makefile.am:
4148 * shell/ev-history.c:
4149 * shell/ev-history.h:
4150 * shell/ev-navigation-action.c:
4151 * shell/ev-navigation-action.h:
4152 * shell/ev-view.c: (ev_view_finalize), (ev_view_go_to_link),
4153 (ev_view_set_page), (ev_view_fit_width):
4155 * shell/ev-window.c: (update_action_sensitivity),
4156 (ev_window_setup_document), (register_custom_actions):
4158 Kill session history
4160 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
4162 * shell/ev-window.c: (update_action_sensitivity):
4164 Fix inverted up/down buttons
4166 2005-01-27 Martin Kretzschmar <martink@gnome.org>
4168 * shell/ev-sidebar-thumbnails.c
4169 (ev_sidebar_thumbnails_select_page): make sure the selected
4170 thumbnail stays visible.
4172 2005-01-26 Martin Kretzschmar <martink@gnome.org>
4174 * shell/ev-window.c (ev_window_init): add GTK_SHADOW_IN to the
4175 scrolled window for Federico.
4177 2005-01-26 Ole Laursen <olau@hardworking.dk>
4179 * configure.ac: Added "da" (Danish) to ALL_LINGUAS.
4181 2005-01-26 Marco Pesenti Gritti <marco@gnome.org>
4184 * pdf/splash/SplashFTFontEngine.cc:
4186 Fix CID fonts with freetype 2.1.9
4188 2005-01-26 Bryan Clark <clarkbw@cvs.gnome.org>
4190 * TODO: added item for desktop icon thumbnailer
4192 Tue Jan 25 00:59:34 2005 Jonathan Blandford <jrb@redhat.com>
4194 * pdf/xpdf/pdf-document.cc (pdf_document_get_title): guard against
4195 unloaded docs when the title is accessed.
4197 * shell/ev-password-view.[hc]: New widget for displaying password
4200 * shell/ev-window.[ch]: Refactor password handling code to handle
4203 2005-01-24 Marco Pesenti Gritti <marco@gnome.org>
4211 2005-01-23 Stephane LOEUILLET <stephane.loeuillet@tiscali.fr>
4213 * pdf/xpdf/pdf-document.cc (pdf_document_search_page_changed):
4214 ignore page offset here, to make search results independent of it,
4216 * shell/ev-view.c (expose_bin_window): but take offsets into
4217 account here. Bug #164932
4219 * pdf/xpdf/pdf-document.cc (pdf_document_get_link): divide by
4220 scale at the right time. Bug #164996
4222 2005-01-22 Martin Kretzschmar <martink@gnome.org>
4224 * pdf/xpdf/GlobalParams.cc: My 2005-01-05 change didn't actually
4225 fix the problem. Now I just removed the Adobe font names and hope
4226 that the URW fonts are always in outline format. Bug #164934
4228 * shell/ev-window.c (update_window_title): empty titles are
4229 useless, use filename in that case too.
4231 * NEWS: Add some content.
4233 2005-01-21 Bryan Clark <clarkbw@cvs.gnome.org>
4235 * TODO: added one more TODO item and a TODONE section :)
4237 2005-01-21 Martin Kretzschmar <martink@gnome.org>
4239 * ps/ps-document.h: add page_[xy]_offset fields.
4241 * ps/ps-document.c (ps_document_set_page_offset)
4242 (ps_document_render): Keep offset in consideration in a few
4243 places. Bug #164752 "postscript documents are not centered in
4246 * data/evince.desktop.in (X-GNOME-Bugzilla-Product):
4247 s/gpdf/evince/. Spotted by Stephane Loeuillet.
4249 * pixbuf/pixbuf-document.c (pixbuf_document_get_n_pages)
4250 (pixbuf_document_get_text, pixbuf_document_document_iface_init):
4251 stub out missing methods for complete EvDocument implementation.
4252 Fixes segfaults with Save A Copy and Copy actions.
4254 * ps/ps-document.c (ps_document_save, ps_document_get_text)
4255 (ps_document_document_iface_init): ditto.
4257 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
4261 * data/evince.desktop.in:
4265 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
4267 * shell/ev-view.c: (ev_view_button_press_event),
4268 (ev_view_motion_notify_event):
4270 Make selection work in any direction
4272 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
4275 * shell/ev-window.c: (set_short_labels), (ev_window_init):
4277 Use shorter labels for some of the toolbars items
4279 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
4281 * pdf/xpdf/pdf-document.cc:
4283 Check the links info is initialized before
4284 using it. Should fix a crash on startup.
4286 2005-01-21 Martin Kretzschmar <martink@gnome.org>
4288 * pixbuf/pixbuf-document.c
4289 (pixbuf_document_thumbnails_get_dimensions): force floating point
4290 division to calculate page_ratio. Fixes crash with landscape
4293 Thu Jan 20 18:56:35 2005 Jonathan Blandford <jrb@redhat.com>
4295 * shell/ev-view.c (ev_view_realize): make the bg color darker.
4297 2005-01-20 Martin Kretzschmar <martink@gnome.org>
4299 * shell/ev-view.c (set_document_page): unset has_selection when
4301 (set_document_page): handle paper size changes when the page
4302 changes (test with Free Culture, page 2).
4304 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
4306 * shell/ev-view.c: (ev_view_size_request), (ev_view_realize),
4307 (expose_bin_window), (ev_view_class_init), (ev_view_init):
4309 Use normal style color for the widget background and
4310 draw a black box around the page.
4312 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
4314 * pdf/xpdf/pdf-document.cc:
4316 Keep offset in consideration in a few places
4318 * shell/ev-view.c: (expose_bin_window):
4320 Set the offsets so that the document is ever centered
4322 2005-01-20 Bryan Clark <clarkbw@cvs.gnome.org>
4324 * TODO: Added TODO items and finished off the first todo item
4326 * AUTHORS: Updated AUTHORS section with piece from gpdf file and
4327 reflect current authors
4329 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
4331 * pdf/xpdf/pdf-document.cc:
4332 * shell/ev-view.c: (ev_view_set_cursor),
4333 (ev_view_motion_notify_event), (document_changed_callback),
4334 (set_document_page):
4336 Show a wait cursor while the page is rendering
4338 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
4340 * shell/ev-sidebar-thumbnails.c:
4341 (ev_sidebar_tree_selection_changed),
4342 (ev_sidebar_thumbnails_select_page):
4343 * shell/ev-sidebar-thumbnails.h:
4344 * shell/ev-view.c: (ev_view_set_document), (ev_view_can_go_back),
4345 (ev_view_can_go_forward):
4346 * shell/ev-window.c: (ev_window_open_page),
4347 (ev_window_setup_document), (update_current_page),
4348 (view_page_changed_cb), (ev_window_init):
4349 * shell/ev-window.h:
4351 Ensure thumbnails selection, toolbar page control and
4352 current page are in sync.
4354 2005-01-19 Marco Pesenti Gritti <marco@gnome.org>
4360 Wed Jan 19 01:10:57 2005 Jonathan Blandford <jrb@redhat.com>
4362 * backend/Makefile.am:
4363 * backend/ev-document-links.h:
4364 * backend/ev-document-security.c: (ev_document_security_get_type),
4365 (ev_document_security_has_document_security),
4366 (ev_document_security_set_password):
4367 * backend/ev-document-security.h:
4368 * backend/ev-document.c: (ev_document_error_quark):
4369 * backend/ev-document.h:
4371 * data/evince-password.glade:
4372 * pdf/xpdf/pdf-document.cc:
4373 * shell/Makefile.am:
4374 * shell/ev-password.c: (ev_password_set_bad_password_label),
4375 (ev_window_password_entry_changed_cb), (ev_password_dialog_new),
4376 (ev_password_dialog_get_password),
4377 (ev_password_dialog_set_bad_pass):
4378 * shell/ev-password.h:
4379 * shell/ev-window.c: (ev_window_get_attribute),
4380 (ev_window_set_property), (update_action_sensitivity),
4381 (ev_window_is_empty), (mime_type_supported_by_gdk_pixbuf),
4382 (ev_window_setup_document), (ev_window_get_password),
4383 (ev_window_open), (ev_window_cmd_save_as),
4384 (using_postscript_printer), (ev_window_print),
4385 (find_not_supported_dialog), (ev_window_cmd_edit_find),
4386 (update_fullscreen_popup), (ev_window_fullscreen),
4387 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
4388 (ev_window_focus_out_cb), (ev_window_cmd_help_about),
4389 (menu_item_select_cb), (find_bar_search_changed_cb),
4390 (ev_window_dispose), (ev_window_init):
4392 Add initial support for password-supported dialogs. This could be
4393 a lot cooler, but it'll do for now.
4395 2005-01-18 Marco Pesenti Gritti <marco@gnome.org>
4397 * pdf/xpdf/pdf-document.cc:
4398 * shell/ev-view.c: (status_message_from_link),
4399 (ev_view_set_status), (ev_view_set_cursor),
4400 (ev_view_motion_notify_event), (ev_view_init):
4401 * shell/ev-window.c: (view_status_changed_cb), (ev_window_init):
4403 Fix bugs in the links implementation and change cursor
4404 when hovering a link.
4406 2005-01-17 Bryan Clark <clarkbw@cvs.gnome.org>
4408 * viewer/.cvsignore: added cvsignore file for viewer directory
4410 * TODO: created TODO document
4412 2005-01-14 Dave Malcolm <dmalcolm@redhat.com>
4415 * shell/ev-view.c (ev_view_can_go_back), (ev_view_can_go_forward):
4416 new functions to help with implementation of sensitivity code
4417 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
4418 of all actions that might require it. Fixes a crash when you
4419 click on the Zoom actions in a window lacking a document.
4421 2005-01-13 Dave Malcolm <dmalcolm@redhat.com>
4423 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
4426 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
4428 * pixbuf/pixbuf-document.c: (pixbuf_document_get_link),
4429 (pixbuf_document_document_iface_init):
4430 * ps/ps-document.c: (ps_document_get_link),
4431 (ps_document_document_iface_init):
4432 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event),
4433 (status_message_from_link), (ev_view_set_status),
4434 (ev_view_set_find_status), (ev_view_motion_notify_event),
4435 (ev_view_button_release_event), (ev_view_set_property),
4436 (ev_view_get_property), (ev_view_class_init), (ev_view_init),
4437 (ev_view_get_find_status_message), (update_find_results),
4438 (ev_view_get_status), (ev_view_get_find_status):
4440 * shell/ev-window.c: (view_status_changed_cb),
4441 (view_find_status_changed_cb), (ev_window_init):
4443 View status message support, use it to show the links.
4446 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
4448 * backend/ev-document.c: (ev_document_get_link):
4449 * backend/ev-document.h:
4450 * pdf/xpdf/pdf-document.cc:
4451 * shell/ev-application.c: (ev_application_open):
4452 * shell/ev-application.h:
4453 * shell/ev-sidebar-links.c: (selection_changed_cb):
4454 * shell/ev-view.c: (ev_view_button_release_event), (go_to_link),
4455 (ev_view_go_to_link):
4457 Add support for document links
4459 2005-01-13 Anders Carlsson <andersca@gnome.org>
4461 * shell/ev-page-action.c: (update_spin), (total_pages_changed_cb),
4463 Set the spin button limits correctly.
4465 * shell/ev-sidebar-thumbnails.c:
4466 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init):
4467 Support changing pages by clicking on the thumbnails.
4469 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
4471 * pixbuf/pixbuf-document.c:
4472 (pixbuf_document_thumbnails_get_dimensions),
4473 (pixbuf_document_document_thumbnails_iface_init):
4475 implement get_dimensions
4477 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
4479 * ps/ps-document.c: (ps_document_goto_page):
4481 Fix page switching on multipage documents
4483 2005-01-12 Jeff Muizelaar <jrmuizel@nit.ca>
4485 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
4487 check for NULL before assigning to width and height parameters
4489 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
4491 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
4492 (pixbuf_document_set_property), (pixbuf_document_get_property):
4494 implement get/set properties
4496 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
4498 * pdf/xpdf/pdf-document.cc: (pdf_info_dict_get_string):
4500 return NULL instead of "Unknown", letting the title get set to
4501 the filename when the pdf has no title.
4503 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
4505 * ps/ps-document.c: (ps_document_get_page_count),
4506 (ps_document_goto_page):
4508 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
4510 * shell/ev-history.c: (ev_history_get_property),
4511 (ev_history_set_property), (ev_history_class_init),
4512 (ev_history_add_page), (ev_history_set_current_index):
4513 * shell/ev-navigation-action.c: (ev_navigation_action_set_history),
4514 (activate_menu_item_cb), (new_history_menu_item), (build_menu),
4515 (ev_navigation_action_finalize):
4516 * shell/ev-navigation-action.h:
4517 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
4518 (ev_view_go_forward), (ev_view_get_find_status_message),
4519 (history_index_changed_cb), (ev_view_set_history):
4521 * shell/ev-window.c: (update_total_pages), (ev_window_open),
4522 (update_current_page), (register_custom_actions):
4524 Implement history dropdowns
4526 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
4528 * shell/ev-history.c: (ev_history_init), (ev_history_add_link):
4529 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
4530 (ev_view_go_forward):
4531 * shell/ev-window.c: (register_custom_actions):
4533 Fix several history bugs
4535 2005-01-11 Kjartan Maraas <kmaraas@gnome.org>
4537 * configure.ac: Add «nb» to ALL_LINGUAS.
4539 2005-01-10 Marco Pesenti Gritti <marco@gnome.org>
4541 * backend/Makefile.am:
4542 * backend/ev-bookmark.c:
4543 * backend/ev-bookmark.h:
4544 * backend/ev-document-bookmarks.c:
4545 * backend/ev-document-bookmarks.h:
4546 * backend/ev-document-links.c: (ev_document_links_get_type),
4547 (ev_document_links_has_document_links),
4548 (ev_document_links_begin_read), (ev_document_links_get_link),
4549 (ev_document_links_get_child), (ev_document_links_next),
4550 (ev_document_links_free_iter):
4551 * backend/ev-document-links.h:
4552 * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_title),
4553 (ev_link_set_title), (ev_link_get_uri), (ev_link_set_uri),
4554 (ev_link_get_link_type), (ev_link_set_link_type),
4555 (ev_link_get_page), (ev_link_set_page), (ev_link_get_property),
4556 (ev_link_set_property), (ev_window_dispose), (ev_link_init),
4557 (ev_link_class_init), (ev_link_new_title), (ev_link_new_page),
4558 (ev_link_new_external):
4559 * backend/ev-link.h:
4560 * pdf/xpdf/pdf-document.cc:
4561 * shell/Makefile.am:
4562 * shell/ev-application.c: (ev_application_open_link):
4563 * shell/ev-application.h:
4564 * shell/ev-history.c: (ev_history_add_link), (ev_history_add_page),
4565 (ev_history_get_link_nth):
4566 * shell/ev-history.h:
4567 * shell/ev-sidebar-bookmarks.c:
4568 * shell/ev-sidebar-bookmarks.h:
4569 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
4570 (ev_sidebar_links_class_init), (selection_changed_cb),
4571 (ev_sidebar_links_construct), (ev_sidebar_links_init),
4572 (links_page_num_func), (ev_sidebar_links_new), (stack_data_free),
4573 (do_one_iteration), (populate_links_idle),
4574 (ev_sidebar_links_clear_document), (ev_sidebar_links_set_document):
4575 * shell/ev-sidebar-links.h:
4576 * shell/ev-sidebar.c: (ev_sidebar_set_document):
4577 * shell/ev-view.c: (go_to_link), (ev_view_go_to_link),
4580 * shell/ev-window.c: (ev_window_open_link), (ev_window_init):
4581 * shell/ev-window.h:
4583 Rename bookmark to link, and use "Index" for the sidebar panel.
4585 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
4587 * shell/Makefile.am:
4588 * shell/ev-application.c: (ev_application_open_bookmark):
4589 * shell/ev-application.h:
4590 * shell/ev-history.c: (ev_history_init), (free_links_list),
4591 (ev_history_finalize), (ev_history_class_init),
4592 (ev_history_add_link), (ev_history_add_page),
4593 (ev_history_get_link_nth), (ev_history_get_n_links),
4594 (ev_history_get_current_index), (ev_history_set_current_index),
4596 * shell/ev-history.h:
4597 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
4598 * shell/ev-view.c: (ev_view_finalize), (ev_view_set_document),
4599 (set_document_page), (go_to_bookmark), (ev_view_go_to_bookmark),
4600 (go_to_index), (ev_view_go_back), (ev_view_go_forward),
4603 * shell/ev-window.c: (ev_window_open_bookmark),
4604 (ev_window_cmd_go_back), (ev_window_cmd_go_forward),
4605 (goto_page_cb), (register_custom_actions):
4606 * shell/ev-window.h:
4608 Initial history implementation. Needs work.
4610 2005-01-09 Martin Kretzschmar <martink@gnome.org>
4612 * pdf/xpdf/GDKSplashOutputDev.cc (redraw): fix pixbuf data offset.
4614 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
4616 * cut-n-paste/recent-files/egg-recent-item.c:
4617 * cut-n-paste/recent-files/egg-recent-item.h:
4618 * cut-n-paste/recent-files/egg-recent-model.c:
4619 * cut-n-paste/recent-files/egg-recent-util.c:
4620 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
4621 * cut-n-paste/recent-files/egg-recent-view.c:
4625 2005-01-08 Martin Kretzschmar <martink@gnome.org>
4627 * pdf/splash/Splash.cc (clear, drawPixel, drawSpan, xorSpan, getPixel)
4628 (fillGlyph, fillImageMask, drawImage):
4629 pdf/splash/SplashBitmap.cc (SplashBitmap, ~SplashBitmap, writePNMFile):
4630 pdf/splash/SplashTypes.h:
4631 pdf/xpdf/SplashOutputDev (startPage, getColor, imageSrc): implement RGB8
4632 packed mode for Splash.
4634 * pdf/xpdf/GDKSplashOutputDev.cc (GDKSplashOutputDev, redraw): use
4635 RGB8 packed mode, eliminates the pixbuf data creation loop.
4637 * shell/ev-print-job.c (ev_print_job_finalize)
4638 (ev_print_job_set_property, ev_print_job_get_property)
4639 (ev_print_job_set_gnome_print_job, ev_print_job_set_document)
4640 (ev_print_job_use_print_dialog_settings, idle_print_handler)
4641 (print_closure_finalize, ev_print_job_print): implement
4642 printing (for backends with EvPsExporter)
4644 * shell/ev_print_job.h: update prototypes.
4646 * shell/ev-window.c (ev_window_print): unref print job after
4649 * shell/ev-view.c (ev_view_set_document): don't connect to "found"
4650 unless the document implements the EvDocumentFind interface.
4652 2005-01-08 Satoru SATOH <ss@gnome.gr.jp>
4654 * configure.ac: Added ja to ALL_LINGUAS.
4656 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
4658 * pdf/xpdf/pdf-document.cc:
4660 add a FIXME. We should probably not allocate
4661 a bookmark object every time
4663 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
4665 * shell/ev-application.c: (ev_application_open),
4666 (ev_application_open_bookmark):
4667 * shell/ev-application.h:
4669 Add a way to open bookmarks
4671 * backend/ev-bookmark.c: (ev_bookmark_get_uri),
4672 (ev_bookmark_set_uri), (ev_bookmark_get_property),
4673 (ev_bookmark_set_property), (ev_bookmark_class_init),
4674 (ev_bookmark_new_title), (ev_bookmark_new_link),
4675 (ev_bookmark_new_external):
4677 Support for external uris, better constructors.
4679 * backend/ev-bookmark.h:
4680 * pdf/xpdf/pdf-document.cc:
4681 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
4683 Handle external uris
4685 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
4687 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb),
4688 (ev_sidebar_bookmarks_construct), (do_one_iteration):
4690 Hook up bookmarks navigation
4692 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
4694 * backend/Makefile.am:
4695 * backend/ev-bookmark.c: (ev_bookmark_type_get_type),
4696 (ev_bookmark_get_title), (ev_bookmark_set_title),
4697 (ev_bookmark_get_bookmark_type), (ev_bookmark_set_bookmark_type),
4698 (ev_bookmark_get_page), (ev_bookmark_set_page),
4699 (ev_bookmark_get_property), (ev_bookmark_set_property),
4700 (ev_window_dispose), (ev_bookmark_init), (ev_bookmark_class_init),
4702 * backend/ev-bookmark.h:
4703 * backend/ev-document-bookmarks.c:
4704 (ev_document_bookmarks_get_bookmark):
4705 * backend/ev-document-bookmarks.h:
4706 * pdf/xpdf/pdf-document.cc:
4707 * shell/ev-sidebar-bookmarks.c: (do_one_iteration):
4709 Add a bookmark object to the backend and use it instead of get_values
4711 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
4713 * data/evince-ui.xml:
4715 Cleanup and add select all.
4717 * shell/ev-view.c: (ev_view_select_all),
4718 (ev_view_button_press_event):
4720 * shell/ev-window.c: (ev_window_cmd_edit_select_all):
4723 Clear selection on click.
4725 Fri Jan 7 01:28:58 2005 Jonathan Blandford <jrb@redhat.com>
4727 * shell/ev-sidebar-thumbnails.c
4728 (ev_sidebar_thumbnails_set_document): forgot to unref the
4731 Fri Jan 7 01:22:48 2005 Jonathan Blandford <jrb@redhat.com>
4733 * shell/ev-sidebar-thumbnails.c: fill in the thumbnails starting
4734 at the visible page, not just linearly. This makes it look fast.
4736 Thu Jan 6 18:48:11 2005 Jonathan Blandford <jrb@redhat.com>
4738 * backend/ev-document-misc.c
4739 (ev_document_misc_get_thumbnail_frame): fill in the thumbnail with
4741 * backend/ev-document-thumbnails.h: New interface to get the size
4744 2005-01-06 Jeremy Katz <katzj@redhat.com>
4746 * shell/Makefile.am (evince_SOURCES): Add ev-utils.[ch] so that
4749 Wed Jan 5 15:38:28 2005 Jonathan Blandford <jrb@redhat.com>
4751 * pdf/xpdf/pdf-document.cc (bitmap_to_pixbuf): bypass
4752 GDKSplashOutputDev and just use a normal SplashOutputDev. Speeds
4755 * shell/ev-sidebar-thumbnail.c: start of some profiling code.
4757 2005-01-05 Martin Kretzschmar <martink@gnome.org>
4759 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): match only outline
4760 fonts. Should fix font problems on systems that have the base
4761 fonts in bitmap format. Reported by James Henstridge
4762 <james@jamesh.id.au>.
4764 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
4767 * pdf/xpdf/GfxState.cc:
4769 Fix for CAN-2004-1125
4771 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
4773 * shell/ev-view.c: (ev_view_copy):
4775 * shell/ev-window.c: (ev_window_cmd_edit_copy):
4777 Implement Edit->Copy
4779 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
4781 * backend/ev-document.c: (ev_document_get_text):
4782 * backend/ev-document.h:
4783 * pdf/xpdf/pdf-document.cc:
4784 * shell/ev-view.c: (ev_view_realize), (expose_bin_window),
4785 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
4786 (ev_view_update_primary_selection), (ev_view_button_press_event),
4787 (ev_view_motion_notify_event), (ev_view_button_release_event):
4789 Beginnings of clipboard support. Incomplete but primary sort
4792 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
4794 * shell/ev-view.c: (ev_gdk_color_to_rgb), (draw_rubberband),
4795 (expose_bin_window):
4797 Nicer rubberband drawing, from GtkIconView.
4799 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
4801 * backend/ev-document.c: (ev_document_save):
4802 * backend/ev-document.h:
4803 * data/evince-ui.xml:
4804 * pdf/xpdf/pdf-document.cc:
4805 * shell/ev-window.c: (save_error_dialog), (ev_window_cmd_save_as):
4807 Implement "Save a copy..." menu item
4809 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
4811 * shell/ev-view.c: (ev_view_zoom):
4813 Queue a resize when zoom changes
4815 Wed Jan 5 02:33:06 2005 Jonathan Blandford <jrb@redhat.com>
4817 * backend/ev-document-misc.[ch]: New misc file to do simple drop
4820 * pdf/xpdf/pdf-document.cc: use the drop shadows in both types of
4823 Tue Jan 4 22:32:32 2005 Jonathan Blandford <jrb@redhat.com>
4825 * pdf/xpdf/pdf-document.cc
4826 (pdf_document_thumbnails_get_page_pixbuf): poor man's dropshadow.
4828 Tue Jan 4 21:25:05 2005 Jonathan Blandford <jrb@redhat.com>
4830 * pdf/xpdf/pdf-document.cc: Do real thumbnailing of PDF files.
4831 It's slow, but I'll speed it up next!
4833 2005-01-04 Jeff Muizelaar <jrmuizel@nit.ca>
4835 * shell/main.c (load_files):
4837 use gnome_vfs_make_uri_from_shell_arg so that relative paths work
4838 from the command line and because it seems more appropriate.
4840 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
4842 * data/evince-ui.xml:
4843 * shell/ev-window.c: (update_action_sensitivity),
4844 (ev_window_cmd_go_page_up), (ev_window_cmd_go_page_down):
4846 s/next page/page down
4847 s/previous page/page up
4849 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
4851 * data/evince-ui.xml:
4853 Change the layout to match clarkbw design.
4855 * shell/Makefile.am:
4856 * shell/ev-navigation-action.c: (build_menu), (menu_activated_cb),
4857 (set_tooltip_cb), (connect_proxy), (ev_navigation_action_init),
4858 (ev_navigation_action_finalize),
4859 (ev_navigation_action_set_property),
4860 (ev_navigation_action_get_property),
4861 (ev_navigation_action_class_init):
4862 * shell/ev-navigation-action.h:
4864 Implement clarkbw toolbar navigation controls (incomplete)
4866 * shell/ev-page-action.c: (update_label), (update_spin),
4867 (value_changed_cb), (create_tool_item), (connect_proxy),
4868 (ev_page_action_init), (ev_page_action_finalize),
4869 (ev_page_action_set_property), (ev_page_action_get_property),
4870 (ev_page_action_set_current_page),
4871 (ev_page_action_set_total_pages), (ev_page_action_class_init):
4872 * shell/ev-page-action.h:
4874 Implement a page switcher in the toolbar
4876 * shell/ev-view.c: (ev_view_scroll_view):
4877 * shell/ev-window.c: (update_total_pages), (ev_window_open),
4878 (update_current_page), (view_page_changed_cb), (goto_page_cb),
4879 (register_custom_actions), (ev_window_init):
4881 Change page on PageUp/Down.
4883 Tue Jan 4 03:22:56 2005 Jonathan Blandford <jrb@redhat.com>
4885 * pdf/xpdf/pdf-document.cc
4886 (pdf_document_thumbnails_get_thumbnail): initial stab at
4887 implementing thumbnail support for pdfs. It only does documents
4888 with precached pdfs now.
4890 Mon Jan 3 17:22:25 2005 Jonathan Blandford <jrb@redhat.com>
4892 * shell/ev-sidebar-thumbnails.c (do_one_iteration): move the
4893 thumbnail code into a time-based idle as well. Also, turn off the
4894 shadow temporarily as it's really slow.
4896 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
4898 * backend/ev-document.c: (ev_document_class_init):
4899 * pdf/xpdf/pdf-document.cc:
4900 * shell/ev-window.c: (ev_window_open):
4902 Fix document title bugs and fallback to
4903 filename when not available.
4905 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
4907 * backend/ev-document.c: (ev_document_get_type),
4908 (ev_document_class_init), (ev_document_load),
4909 (ev_document_get_title):
4910 * backend/ev-document.h:
4911 * pdf/xpdf/pdf-document.cc:
4912 * ps/ps-document.c: (ps_document_set_property),
4913 (ps_document_get_property), (ps_document_class_init),
4917 * shell/ev-window.c: (update_window_title), (ev_window_open),
4920 Initial support for document title. Not working yet.
4922 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
4924 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event):
4926 Grab focus on the view when clicking it
4928 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
4930 * shell/ev-marshal.list:
4931 * shell/ev-view.c: (ev_view_realize), (add_scroll_binding),
4932 (ev_view_scroll_view), (ev_view_class_init), (ev_view_init):
4934 Add key bindings to the view. Now if the focus would work
4937 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
4940 * backend/Makefile.am:
4943 * dvi/dvilib/Makefile.am:
4944 * pdf/xpdf/Makefile.am:
4950 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
4952 * shell/ev-view.c: (ev_view_realize):
4954 Fix mouse wheel scrolling
4956 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
4962 * ps/ps-document.c: (catchPipe), (ps_document_init),
4963 (ps_document_class_init), (ps_document_cleanup),
4964 (ps_document_finalize), (send_ps), (ps_document_get_orientation),
4965 (set_up_page), (close_pipe), (is_interpreter_ready),
4966 (interpreter_failed), (output), (input), (start_interpreter),
4967 (stop_interpreter), (file_length), (file_readable),
4968 (check_filecompressed), (check_pdf), (compute_xdpi),
4969 (compute_ydpi), (compute_size), (ps_document_enable_interpreter),
4970 (ps_document_get_type), (ps_document_emit_error_msg),
4971 (document_load), (ps_document_next_page),
4972 (ps_document_get_current_page), (ps_document_get_page_count),
4973 (ps_document_goto_page), (ps_document_set_page_size),
4974 (ps_document_zoom_to_fit), (ps_document_set_zoom),
4975 (ps_document_load), (ps_document_get_n_pages),
4976 (ps_document_set_page), (ps_document_get_page),
4977 (ps_document_widget_event), (ps_document_set_target),
4978 (ps_document_set_scale), (ps_document_set_page_offset),
4979 (ps_document_get_page_size), (ps_document_render),
4980 (ps_document_document_iface_init):
4983 * shell/ev-window.c: (ev_window_open):
4985 Rename GtkGS to PSDocument
4987 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
4989 * ps/gtkgs.c: (gtk_gs_class_init):
4992 Some more leftover...
4994 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
4996 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_get_orientation),
4997 (output), (stop_interpreter), (gtk_gs_emit_error_msg),
4998 (gtk_gs_zoom_to_fit), (gtk_gs_set_zoom):
5001 Remove unused code and make a lot of stuff private
5003 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5005 * ps/gsdefaults.c: (gtk_gs_defaults_gconf_client),
5006 (gtk_gs_defaults_changed):
5012 Cleanup headers dependencies
5014 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5019 * ps/gsdefaults.c: (gtk_gs_defaults_get_paper_sizes):
5021 * ps/gtkgs.c: (file_length), (file_readable),
5022 (check_filecompressed), (check_pdf), (gtk_gs_load),
5023 (gtk_gs_get_postscript):
5027 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
5032 * ps/gtkgs.c: (gtk_gs_set_zoom):
5036 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
5038 * ps/gtkgs.c: (gtk_gs_set_zoom), (gtk_gs_set_zoom_mode):
5040 Ensure the page is rerendered when changing zoom
5042 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
5044 * backend/ev-document.c: (ev_document_base_init),
5045 (ev_document_changed):
5046 * backend/ev-document.h:
5048 Add a changed event that is emitted when the page content
5049 changes. This is necessary to deal with the fact that
5050 in ps backend rendering happen asycrounously.
5051 This makes the ps backend mostly work.
5053 * pdf/xpdf/pdf-document.cc:
5057 * ps/gtkgs.c: (set_up_page), (gtk_gs_widget_event),
5058 (ps_document_set_target):
5062 * shell/ev-view.c: (document_changed_callback),
5063 (ev_view_set_document), (ev_view_set_page):
5065 Redraw on the changed signal
5067 2004-12-25 Raphael Higino <raphaelh@cvs.gnome.org>
5069 * configure.ac: Added pt_BR to ALL_LINGUAS.
5071 Fri Dec 24 00:48:44 2004 Jonathan Blandford <jrb@redhat.com>
5073 * backend/ev-document-bookmarks.c:
5074 (ev_document_bookmarks_get_child): *
5075 backend/ev-document-bookmarks.h: * pdf/xpdf/Makefile.am: *
5076 pdf/xpdf/pdf-document.cc: * pdf/xpdf/pdf-document.h: *
5077 shell/Makefile.am: * shell/ev-sidebar-bookmarks.c:
5078 (ev_sidebar_bookmarks_destroy),
5079 (ev_sidebar_bookmarks_class_init),
5080 (ev_sidebar_bookmarks_construct), (stack_data_free),
5081 (do_one_iteration), (populate_bookmarks_idle),
5082 (ev_sidebar_bookmarks_clear_document),
5083 (ev_sidebar_bookmarks_set_document): *
5084 shell/ev-sidebar-bookmarks.h: * shell/ev-sidebar.c:
5085 (ev_sidebar_add_page),
5086 (ev_sidebar_set_document): * shell/ev-window.c: (ev_window_open):
5087 Initial stab at a bookmarks sidebar. It doesn't navigate yet, but
5088 it displays both the topics and the page numbers.
5090 2004-12-23 Kristian Høgsberg <krh@redhat.com>
5092 * shell/ev-window.c (ev_window_view_sidebar_cb): Hook up sidebar
5094 * shell/ev-window.c (toggle_entries): Set sidebar default value to
5097 2004-12-23 Adam Weinberger <adamw@gnome.org>
5099 * configure.ac: Added en_CA to ALL_LINGUAS.
5101 2004-12-23 Martin Kretzschmar <martink@gnome.org>
5103 * ChangeLog: replace bottom of this ChangeLog (merged history of
5104 ggv and gpdf; where all paths were wrong and most of the files are
5105 not even in this tree) with ChangeLog (from arch) of the shell
5108 2004-12-23 Havoc Pennington <hp@redhat.com>
5110 * shell/ev-window.c: hook up potentially-questionable "find
5111 results status text" feature - something involving the sidebar or
5112 scrollbar or a continuous all-pages-on-giant-roll-of-paper-view
5113 might be better in the end.
5115 * shell/ev-view.c (ev_view_get_find_status_message): new function,
5116 with corresponding signal when it should be updated
5118 * shell/eggfindbar.c (egg_find_bar_set_status_text): new function
5120 2004-12-22 Havoc Pennington <hp@redhat.com>
5122 * pdf/xpdf/pdf-document.cc (pdf_document_find_begin): make search
5123 find stuff on other pages, sort of (only returns one result on
5124 invisible pages, to show they have results; updates full results
5125 for a page when you view it). Currently repaints the current page
5126 every time a new result is found on any page, which isn't so nice.
5128 2004-12-22 Havoc Pennington <hp@redhat.com>
5130 * shell/ev-window.c (ev_window_cmd_edit_find): display an error if
5131 the document doesn't support find (better ideas?)
5132 (find_bar_search_changed_cb): handle missing document or document
5133 that doesn't support find
5135 * pdf/xpdf/pdf-document.cc: port to implement the new
5138 * backend/ev-document-find.c: create a new interface for searching
5140 * backend/ev-document.h, backend/ev-document.c: delete the find stuff
5142 2004-12-23 Martin Kretzschmar <martink@gnome.org>
5144 * pdf/xpdf/Makefile.am (libpdfdocument_la_LIBADD): add
5147 * shell/ev-window.c (ev_window_print): add GnomePrintJob to
5148 EvPrintJob constructor arguments.
5150 * backend/ev-ps-exporter.c, backend/ev-ps-exporter.h: interface
5151 for documents that can export PostScript (page by page).
5153 * backend/Makefile.am (libevbackend_la_SOURCES): add them.
5155 * pdf/xpdf/pdf-document.cc (pdf_document_ps_export_begin)
5156 (pdf_document_ps_export_do_page, pdf_document_ps_export_end)
5157 (pdf_document_ps_exporter_iface_init:
5158 Implement EvPSExporter.
5160 * pdf/xpdf/Makefile.am (libxpdf_la_SOURCES): build PSOutputDev.
5162 2004-12-22 Anders Carlsson <andersca@gnome.org>
5164 * backend/Makefile.am:
5165 * backend/ev-document-thumbnails.c:
5166 (ev_document_thumbnails_get_type),
5167 (ev_document_thumbnails_get_thumbnail):
5168 * backend/ev-document-thumbnails.h:
5169 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
5170 (pixbuf_document_thumbnails_get_thumbnail),
5171 (pixbuf_document_document_thumbnails_iface_init):
5172 * shell/Makefile.am:
5173 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_destroy),
5174 (ev_sidebar_thumbnails_class_init), (ev_sidebar_thumbnails_init),
5175 (populate_thumbnails), (ev_sidebar_thumbnails_set_document):
5176 * shell/ev-sidebar-thumbnails.h:
5177 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
5178 (ev_sidebar_set_document):
5179 * shell/ev-utils.c: (gaussian), (create_blur_filter),
5180 (create_shadow), (ev_pixbuf_add_shadow):
5182 Add thumbnail support.
5184 2004-12-22 Martin Kretzschmar <martink@gnome.org>
5186 * shell/ev-window.c (ev_window_cmd_file_print, ev_window_print)
5187 (using_postscript_printer): Set up a print dialog for "PostScript
5190 * shell/ev-print-job.h, shell/ev-print-job.c: stub classes for
5193 * shell/Makefile.am (evince_SOURCES): add ev-print-job.[ch]
5195 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
5197 * ps/gtkgs.c: (gtk_gs_init), (set_up_page),
5198 (ps_document_set_target), (ps_document_get_page_size),
5199 (ps_document_render):
5204 2004-12-22 Christian Rose <menthos@menthos.com>
5206 * configure.ac: Added "sv" to ALL_LINGUAS.
5208 Wed Dec 22 14:47:38 2004 Jonathan Blandford <jrb@redhat.com>
5210 * backend/ev-document-bookmarks.[ch]: new interface to indicate
5211 document supports bookmarks.
5213 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
5215 * ps/ggvutils.c: (ggv_file_readable):
5217 * ps/gtkgs.c: (check_filecompressed), (check_pdf),
5218 (gtk_gs_get_postscript):
5222 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
5224 * ps/gtkgs.c: (gtk_gs_init), (gtk_gs_class_init), (gtk_gs_cleanup),
5225 (gtk_gs_finalize), (gtk_gs_set_center), (set_up_page), (output),
5226 (start_interpreter), (compute_size), (gtk_gs_enable_interpreter),
5227 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_reload),
5228 (gtk_gs_emit_error_msg), (gtk_gs_disable_interpreter),
5229 (gtk_gs_load), (gtk_gs_goto_page), (gtk_gs_set_page_size),
5230 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
5231 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
5232 (gtk_gs_set_antialiasing), (ps_document_load),
5233 (ps_document_render):
5236 Another check point for the ps backend. Now I can get it to show
5239 Wed Dec 22 13:41:01 2004 Jonathan Blandford <jrb@redhat.com>
5241 * shell/ev-sidebar.c (ev_sidebar_set_document): initial sidebar
5242 document setting code.
5244 2004-12-22 Anders Carlsson <andersca@gnome.org>
5246 * shell/eggfindbar.c: (entry_activate_callback):
5247 Animate the next button when activate is pressed.
5249 2004-12-22 Anders Carlsson <andersca@gnome.org>
5251 * shell/ev-window.c: (ev_window_cmd_edit_find),
5252 (update_fullscreen_popup), (ev_window_fullscreen),
5253 (ev_window_unfullscreen), (ev_window_state_event_cb),
5254 (ev_window_focus_out_cb), (find_bar_close_cb), (ev_window_init):
5255 Fix bugs in fullscreen code.
5257 2004-12-22 Anders Carlsson <andersca@gnome.org>
5261 * pixbuf/Makefile.am:
5262 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
5263 (pixbuf_document_load), (pixbuf_document_get_n_pages),
5264 (pixbuf_document_set_page), (pixbuf_document_get_page),
5265 (pixbuf_document_set_target), (pixbuf_document_set_scale),
5266 (pixbuf_document_set_page_offset), (pixbuf_document_get_page_size),
5267 (pixbuf_document_render), (pixbuf_document_begin_find),
5268 (pixbuf_document_end_find), (pixbuf_document_finalize),
5269 (pixbuf_document_class_init),
5270 (pixbuf_document_document_iface_init), (pixbuf_document_init):
5271 * pixbuf/pixbuf-document.h:
5272 * shell/Makefile.am:
5273 * shell/ev-application.c: (ev_application_open):
5274 * shell/ev-window.c: (mime_type_supported_by_gdk_pixbuf),
5278 Tue Dec 21 21:45:43 2004 Soeren Sandmann <sandmann@redhat.com>
5281 * dvi/dvilib/Makefile.am:
5283 * configure.ac: Auto*ify dvi and dvi/dvilib
5285 * dvi/Makefile: Remove from CVS
5287 * dvi/dvilib/dl-pkfont.cc (unpack_bitmap): Fix uchar/uint
5290 * dvi/dvilib/dl-fontdefinition.{cc,hh}: New DviFontMap class
5292 * dvi/dvilib/dl-vffont.{cc,hh}: Many bugfixes to VF code.
5294 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
5297 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_finalize),
5298 (gtk_gs_value_adjustment_changed), (compute_size),
5299 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_new_from_file),
5300 (gtk_gs_center_page), (gtk_gs_load), (gtk_gs_set_page_size),
5301 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
5302 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
5303 (gtk_gs_start_scroll), (gtk_gs_get_postscript),
5304 (gtk_gs_set_adjustments), (gtk_gs_set_available_size),
5305 (ps_document_load), (ps_document_get_n_pages),
5306 (ps_document_set_page), (ps_document_get_page),
5307 (ps_document_set_target), (ps_document_set_scale),
5308 (ps_document_set_page_offset), (ps_document_get_page_size),
5309 (ps_document_render), (ps_document_begin_find),
5310 (ps_document_end_find), (ps_document_document_iface_init):
5312 * shell/Makefile.am:
5313 * shell/ev-window.c: (ev_window_open):
5315 Some work to integrate gtkgs with EvDocument
5317 2004-12-22 Anders Carlsson <andersca@gnome.org>
5319 * shell/ev-window.c: (update_fullscreen_popup),
5320 (screen_size_changed_cb), (destroy_exit_fullscreen_popup),
5321 (exit_fullscreen_button_clicked_cb),
5322 (fullscreen_popup_size_request_cb), (ev_window_fullscreen),
5323 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
5324 (ev_window_state_event_cb), (ev_window_init):
5325 Add fullscreen support from Epiphany.
5327 2004-12-22 Mark McLoughlin <mark@skynet.ie>
5329 * data/ev-stock-zoom-fit-width.png: fit-width
5330 stock icon from gpdf.
5332 * shell/ev-stock-icons.[ch]: copied from gpdf.
5334 * shell/main.c: (main): init stock icons.
5336 * shell/ev-window.c: use the fit-width icon.
5338 * data/evince-ui.xml: add zooming toolbar items.
5340 2004-12-22 Mark McLoughlin <mark@skynet.ie>
5343 (ev_view_best_fit), (ev_view_fit_width): because
5344 get_page_size() returns the scaled page size, we
5345 need to calculate the scale factor relative to
5346 the previous scale factor. Should really just
5347 add get_real_page_size().
5349 2004-12-22 Mark McLoughlin <mark@skynet.ie>
5351 * shell/ev-view.[ch]:
5352 (ev_view_zoom), (ev_view_zoom_in), (ev_view_zoom_out),
5353 (ev_view_normal_size), (ev_view_best_fit), (ev_view_fit_width):
5356 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
5357 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_normal_size),
5358 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width):
5361 * pdf/xpdf/pdf-document.cc:
5362 (pdf_document_begin_find),
5363 (pdf_document_end_find): make static.
5365 2004-12-22 Martin Kretzschmar <martink@gnome.org>
5367 * pdf/xpdf/GlobalParams.h (setupBaseFontsFc): add prototype.
5369 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): maps base font
5370 names to fontconfig patterns.
5371 (setupBaseFontsFc): setupBaseFonts reimplemented using fontconfig.
5373 * pdf/xpdf/pdf-document.cc (pdf_document_load): use
5376 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
5392 Import ggv backend. Not hooked up yet.
5394 2004-12-22 Mark McLoughlin <mark@skynet.ie>
5396 * shell/main.c: (load_files), (main): load files
5397 from the command line.
5399 2004-12-22 Mark McLoughlin <mark@skynet.ie>
5401 * configure.ac: don't require bonobo.
5403 * cut-n-paste/recent-files/*: kill bonobo recent
5406 * shell/ev-window.c:
5407 (ev_window_is_empty): upd.
5408 (unable_to_load), (ev_window_open): load backend
5409 based on the mime type.
5411 2004-12-22 Martin Kretzschmar <martink@gnome.org>
5413 * backend/.cvsignore: ignore generated marshalers source.
5415 * shell/main.c (main): this is not epiphany.
5417 2004-12-22 Havoc Pennington <hp@redhat.com>
5419 * shell/ev-view.c (ev_view_set_document): connect to "found" signal
5420 (expose_bin_window): draw find highlights
5422 * shell/ev-window.c (find_bar_search_changed_cb): implement
5424 * pdf/xpdf/pdf-document.cc (pdf_document_begin_find)
5425 (pdf_document_end_find): implement this interface
5427 * backend/ev-document.c (ev_document_found): add this to emit
5430 Tue Dec 21 23:57:37 2004 Owen Taylor <otaylor@redhat.com>
5432 * data/evince-ui.xml: Add a few more toolbar items.
5434 * shell/ev-window.c: Hook up page navigation toolbar
5437 * shell/ev-view.[ch]: add ev_view_set/get_page and
5438 a page-changed signal.
5440 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc::
5441 Add ev_document_get_page().
5443 * shell/ev-window.c: Sensitize/desensitize navigation
5446 2004-12-21 Havoc Pennington <hp@redhat.com>
5448 * backend/ev-backend-marshal.c,
5449 backend/ev-backend-marshalers.list, backend/Makefile.am: add
5450 marshaler-generator thingy. I'm sure there's a better way to do
5451 this in the modern world.
5453 * backend/ev-document.h (struct _EvDocumentIface): add begin_find,
5454 end_find methods and "found" signal.
5456 * configure.ac: find glib-genmarshal
5458 Tue Dec 21 23:20:35 2004 Jonathan Blandford <jrb@redhat.com>
5460 * shell/ev-sidebar.c: Construct an actual sidebar.
5461 * shell/ev-sidebar-bookmarks.[ch]:
5462 * shell/ev-sidebar-thumbnails.[ch]: Stub out sidebars.
5464 Tue Dec 21 23:05:51 2004 Owen Taylor <otaylor@redhat.com>
5466 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc:
5469 * shell/ev-view.c: Track the size from the document.
5471 Tue Dec 21 22:17:04 2004 Owen Taylor <otaylor@redhat.com>
5473 * pdf/xpdf/pdf-document.cc (pdf_document_load): PDFDoc
5474 constructor assumes ownership of the string passed in.
5476 * shell/ev-window.c (ev_window_open): Destroy the error
5477 dialog once we've displayed it.
5479 Tue Dec 21 21:58:56 2004 Owen Taylor <otaylor@redhat.com>
5481 * pdf/xpdf/pdf-document.cc shell/ev-view.c: Hook things up
5482 a bit, it works! (sort of)
5484 * pdf/xpdf/Makefile.am pdf/xpdf/pdf-document.cc:
5485 Move to .cc since we need to use C++ in the implementation.
5487 * shell/dummy.cc: Add a CC file to force evince
5488 to be linked as a C++ program.
5490 Tue Dec 21 21:07:55 2004 Owen Taylor <otaylor@redhat.com>
5492 * shell/ev-view.[ch]: Start of content-area widget.
5494 * shell/ev-window.c: Create a EvView, update it
5495 as we change documents.
5497 * shell/Makefile.am shell/ev-marshal.list: Add
5498 generated marshalers.
5500 Tue Dec 21 20:28:11 2004 Jonathan Blandford <jrb@redhat.com>
5502 * Makefile.am (SUBDIRS): move shell.
5504 Tue Dec 21 19:28:55 2004 Owen Taylor <otaylor@redhat.com>
5506 * pdf/{goo,fofi,splash,xpdf}/Makefile.am: Switch from
5507 .a to libtool convenience libraries.
5509 * shell/ev-window.c (ev_window_open): Hard code loading
5512 * backend/ev-document.h: Add a boolean return to load(),
5513 fix GError * to GError **.
5515 * pdf/xpdf/pdf-document.[ch] Makefile.am: Add a stub
5516 object for a PDF backend EvDocument.
5518 Tue Dec 21 18:55:06 2004 Søren Sandmann <sandmann@redhat.com>
5520 * dvi/*: New directory with the beginning of a .dvi backend.
5522 2004-12-21 Havoc Pennington <hp@redhat.com>
5524 * shell/eggfindbar.c (egg_find_bar_init): change buttons to
5525 previous/next instead of back/forward
5527 Tue Dec 21 18:26:24 2004 Owen Taylor <otaylor@redhat.com>
5529 * backend/ev-document.[ch]: Fix a couple of problems so
5532 Tue Dec 21 18:20:40 2004 Owen Taylor <otaylor@redhat.com>
5534 * viewer/* backend/* configure.ac Makefile.am: Move viewer directory
5535 to backend/ directory, rename EvViewer to EvDocument.
5537 2004-12-21 Havoc Pennington <hp@redhat.com>
5539 * shell/ev-window.c: hook up the find bar widget; now we just need
5540 a document to find things in
5542 * shell/eggfindbar.c: a find bar widget
5544 Tue Dec 21 17:20:16 2004 Jonathan Blandford <jrb@redhat.com>
5546 * shell/ev-sidebar.[ch]: initial sidebar boilerplate.
5548 Tue Dec 21 16:30:58 2004 Owen Taylor <otaylor@redhat.com>
5550 * pdf/**: Import of xpdf code from gpdf.
5552 * pdf/xpdf/xpdfconfig.h: Move the non-config.h config.h to xpdfconfig.h
5554 * pdf/splash/SplashFTFont.{cc,h} pdf/splash/SplashFTFont.h
5555 pdf/splash/SplashFTFontEngine.h pdf/splash/SplashFTFontFile.h:
5556 Fix FreeType includes.
5558 * pdf/xpdf/{Error.h GnomeVFSStream.cc ImageOutputDev.cc PDFDoc.cc\
5559 pdffonts.cc pdfimages.cc pdfinfo.cc pdftoppm.cc pdftops.cc
5560 pdftotext.cc PSOutputDev.cc PSOutputDev.h SplashOutputDev.h
5561 Stream.cc TextOutputDev.cc XPDFApp.cc xpdf.cc XPDFViewer.cc
5562 pdf/xpdf/Error.h PSOutputDev.h SplashOutputDev.h}:
5563 Include xpdfconfig.h
5565 Tue Dec 21 16:08:17 2004 Jonathan Blandford <jrb@redhat.com>
5567 * shell/ev-window.c (ev_window_dispose): dispose can be called
5570 2004-12-21 Havoc Pennington <hp@redhat.com>
5572 * shell/ev-window.c (ev_window_init): set title to Document Viewer
5575 * data/evince-ui.xml, shell/ev-window.c: add a bunch of stub menu
5576 items; really they should be synced with the strings, etc. from
5577 current gpdf, but just getting the boring typing out of the way
5579 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
5582 * shell/ev-application.c: (window_destroy_cb):
5583 * shell/ev-window.c:
5584 * shell/main.c: (main):
5586 Actually show the window...
5588 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
5591 * shell/Makefile.am:
5592 * shell/ev-application.c: (ev_application_class_init):
5593 * shell/ev-window.c: (ev_window_dispose), (ev_window_class_init):
5597 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
5599 Import to gnome cvs.
5601 * Remove copies of gpdf and ggv trees.
5602 * Rip out all the recursive configure code.
5603 * Remove bonobo machinery.
5604 * viewer/*: GInterfaces that backends should/can implement.
5606 2004-11-09 Martin Kretzschmar <m_kretzschmar@gmx.net>
5608 * shell/ev-window.c (ev_window_cmd_help_about): fix "documentors"
5611 2004-10-28 Martin Kretzschmar <m_kretzschmar@gmx.net>
5613 * shell/ev-application.c (EV_APPLICATION_GET_PRIVATE)
5614 (ev_application_finalize, ev_application_class_init)
5615 (ev_application_init): use GType instance private data for priv.
5617 * shell/ev-window.c (EV_WINDOW_GET_PRIVATE)
5618 (ev_window_finalize, ev_window_class_init)
5619 (ev_window_init): ditto.
5621 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
5623 * shell/ev-application.c (ev_application_new_window): make public
5624 (ev_application_show_initial_window): kill.
5626 * shell/ev-application.h: update prototypes.
5628 * shell/main.cc (main): inline ev_application_show_initial_window.
5630 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
5632 * shell/ev-application.c (ev_application_new_window): impl.
5633 (ev_application_show_initial_window): use it.
5634 (is_window_empty, ev_application_get_empty_window): returns an
5635 existing empty window or a new one.
5636 (ev_application_open): from ev_window_cmd_file_open.
5638 * shell/ev-application.h: update prototypes
5640 * shell/ev-window.c (ev_window_is_empty): impl.
5641 (ev_window_open): make public.
5642 (ev_window_cmd_file_open): use ev_application_open
5644 * shell/ev-window.h: update prototypes, remove unused.
5646 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
5648 * shell/ev-window.c (ev_window_destroy, ev_window_class_init):
5649 move destroy handler out of here...
5651 * shell/ev-application.c, shell/ev-application.h: ...into this new
5652 class. Also handles initial window creation.
5654 * shell/main.cc (main): use EvApplication to create initial
5657 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
5659 * Makefile.am (SUBDIRS): add cut-n-paste
5661 * cut-n-paste/Makefile.am: add
5663 * configure.ac: generate Makefiles in cut-n-paste
5665 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
5667 * shell/ev-window.c (ev_window_dispose): new, unref the ui_manager
5668 (ev_window_class_init): install ev_window_dispose.
5670 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
5672 * shell/ev-window.h, shell/ev-window.c: replace gchar with
5673 char (gchar looks stupid).
5675 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
5677 * po/de.po: updated German translation.
5679 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
5681 * configure.ac: add more pkg-config library checks for gnome-vfs,
5684 * gpdf/configure.in: temporarily disable libpaper
5685 checks. Otherwise I'd have to add the checks for the shell, too.
5687 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
5689 * shell/ev-window.c (ev_window_cmd_file_open): add ps+pdf, ps, pdf
5690 and * file filters to the file choose.
5692 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
5694 * po/de.po: Updated German translation.
5696 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
5698 * shell/ev-window.c: use "S" as mnemonic for Statusbar.
5700 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
5702 * data/evince-ui.xml: add View->Toolbar and View->Statusbar.
5704 * shell/ev-window.c (menu_item_select_cb, menu_item_select_cb)
5705 (ev_window_init): implement those menuitems.
5707 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
5709 * data/evince-ui.xml: add a toolbar (with FileOpen action)
5711 * shell/ev-window.c (ev_window_init): use the toolbar.
5713 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
5715 * shell/ev-window.c (ev_window_init): use menu translations
5717 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
5719 * configure.ac: add "de" to ALL_LINGUAS.
5721 * po/de.po: add German translation.
5723 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
5725 * Makefile.am (SUBDIRS): add po
5727 * configure.ac: check intltool, glib-gettext etc, generate
5730 * po, po/POTFILES.in, po/POTFILES.skip: new.
5732 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
5734 * shell/Makefile.am (INCLUDES): define GNOMELOCALEDIR which we
5735 already use (#ifdef ENABLE_NLS)
5737 * shell/ev-window.c (ev_window_cmd_help_about): fix two star
5738 pointer indirection thinko.
5740 * shell/main.c: include gi18n.h for bindtextdomain etc.
5742 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5744 * shell/ev-window.c (menu_item_select_cb, menu_item_deselect_cb)
5745 (connect_proxy_cb, disconnect_proxy_cb, ev_window_init): show
5746 tooltips for menu items in the statusbar.
5748 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5750 * configure.ac, data/Makefile.am, shell/Makefile.am: use
5751 pkgdatadir drop UIDIR
5753 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5755 * data/evince-ui.xml: Add File->Open menu item
5757 * shell/ev-window.c (ev_window_cmd_file_open): impl. (shows a file
5758 chooser), hook it up in the ui manager.
5760 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5762 * shell/ev-window.c: fix Help->About tooltip.
5764 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5766 * configure.ac: set CFLAGS for libevprivate.
5768 * lib/ev-stock-icons.h, lib/ev-stock-icons.c: stock icon
5769 definitions, factory etc.
5771 * lib/Makefile.am: build libevprivate.a (only stock icon code).
5773 * shell/Makefile.am: link against libevprivate.a.
5775 * shell/ev-window.c (entries): add stock icon to Help->About.
5777 * shell/main.c (main): init stock icon code.
5779 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5781 * lib/recent-files: egg recent files code
5783 * lib/Makefile.am: add.
5785 * Makefile.am: add lib subdir.
5787 * configure.ac: gen. lib/Makefile and lib/recent-files/Makefile,
5788 set CFLAGS for recent-files.
5790 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5792 * configure.ac: disable -ansi and -pedantic gcc flags. They
5793 disable POSIX stuff in stdio.h, but egg-recent uses them.
5795 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5797 * configure.ac: add --disable-deprecated flag (defaults to on in
5800 * shell/Makefile.am (INCLUDES): use it.
5802 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5804 * shell/main.c: add missing #include.
5806 * shell/ev-window.c: fix for pedantic gcc.
5807 (ev_window_cmd_help_about): split license into paragraphs for
5808 translators and pedantic compilers.
5810 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5812 * configure.ac: add more warning flags if compiling with gcc from
5813 cvs (or explicitly requested with --enable-more-warnings).
5815 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5817 * data/evince-ui.xml: add File and File->Close menu.
5819 * shell/ev-window.c (ev_window_cmd_file_close_window): impl.
5820 (ev_window_destroy): quit after destroy.
5821 (ev_window_class_init): override GtkObject::destroy.
5822 (entries): install close_window callback.
5824 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5826 * Makefile.am (SUBDIRS): add data subdir.
5828 * configure.ac (UIDIR): gen data/Makefile, define UIDIR. Require
5829 gtk+ 2.5.0 for GtkAboutDialog.
5831 * data/Makefile.am, data/evince-ui.xml: add, ui definition for the
5834 * shell/Makefile.am (INCLUDES): propagate UIDIR definition.
5836 * shell/ev-window.c (ev_window_init): create a menubar, using a ui
5838 (ev_window_cmd_help_about): about command, using GtkAboutDialog.
5840 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5842 * shell/ev-window.c, shell/ev-window.h: Created an EvWindow class.
5844 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
5846 * shell/main.c: make it a trivial gtk+ program, adjust configure.ac
5848 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
5850 * shell/*: Added shell directory boilerplate, build it.
5852 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
5854 * configure.ac, Makefile.am: Added top-level configure.ac and