1 2005-07-05 Carlos Garcia Campos <carlosgc@gnome.org>
2 Marco Pesenti Gritti <mpg@redhat.com>
4 * shell/Makefile.am: Add --prefix for dbus-binding-tool script
6 * shell/ev-application.[ch], shell/ev-window.c: change dbus RPC
7 functions to the format required by dbus
9 * shell/main.c: use G_TYPE instead of DBUS_TYPE to fix compilation
10 errors. Use the RPC parameters in the expected way
12 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
15 * properties/Makefile.am:
16 * properties/ev-properties-main.c: (ev_properties_get_pages):
18 Support all mime types
21 * thumbnailer/Makefile.am:
22 * thumbnailer/evince-thumbnailer.c: (get_document_from_uri),
23 (evince_thumbnail_pngenc_get):
25 Use the document factory
27 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
29 * backend/Makefile.am:
30 * backend/ev-document-factory.c:
31 (mime_type_supported_by_gdk_pixbuf),
32 (ev_document_type_get_from_mime),
33 (ev_document_factory_get_document),
34 (ev_document_factory_get_backend),
35 (ev_document_factory_get_mime_types),
36 (ev_document_factory_get_all_mime_types):
37 * backend/ev-document-factory.h:
39 * shell/ev-document-types.c: (get_document_from_uri),
40 (ev_document_types_get_document),
41 (file_filter_add_mime_list_and_free),
42 (ev_document_types_add_filters):
43 * shell/ev-document-types.h:
44 * shell/ev-job-xfer.c: (ev_job_xfer_run):
45 * shell/ev-properties-dialog.c:
46 (ev_properties_dialog_set_document):
47 * shell/ev-window.c: (ev_window_cmd_file_open),
48 (ev_window_cmd_save_as):
49 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
51 Rework document types managing to avoid code duplication
52 and actually abstract from backend implementations.
53 Also provide a minimal factory api that can be used by
54 thumbnailer/properties.
56 2005-07-05 Christian Persch <chpe@cvs.gnome.org>
58 * properties/ev-properties-view.c: (ev_properties_view_set_info):
60 * shell/ev-properties-dialog.c: (ev_properties_dialog_init):
63 2005-07-04 Matthew S. Wilson <msw@rpath.com>
65 * shell/ev-properties-dialog.c
66 (ev_properties_dialog_set_document): only call
67 ev_properties_fonts_set_document() if the document implements the
70 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
73 * properties/Makefile.am:
74 * properties/ev-properties-view.c:
75 (ev_properties_view_register_type):
76 * properties/ev-properties-view.h:
77 * properties/ev-properties-main.h:
79 Implement nautilus plugin for properties.
80 Works only for pdf atm, I need to rework the
81 document types stuff to get this to work
84 2005-07-04 Martin Kretzschmar <martink@gnome.org>
86 * shell/ev-properties-fonts.c (enum): kill redundant columns enum
87 (ev_properties_fonts_set_document): use
88 EV_DOCUMENT_FONTS_COLUMN_NUM_COLUMNS.
90 2005-07-04 Matthew S. Wilson <msw@rpath.com>
92 * tiff/tiff2ps.c: remove TRUE and FALSE definitions, glib provides
94 (PlaceImage, tiff2ps_process_page): use
95 g_ascii_dtostr to convert floats to strings in a locale-safe way.
98 2005-07-04 Martin Kretzschmar <martink@gnome.org>
100 * shell/main.c: include libgnomeui/gnome-authentication-manager.h
101 (main): to call gnome_authentication_manager_init. Should fix
104 * configure.ac: that requires libgnomeui 2.6.0.
106 2005-07-04 Matthew S. Wilson <msw@rpath.com>
108 * tiff/tiff-document.c (tiff_document_ps_export_begin)
109 (tiff_document_ps_export_do_page, tiff_document_ps_export_end):
110 use the new tiff2ps interfaces
112 * tiff/tiff2ps.h (tiff2ps_context_new, tiff2ps_process_page)
113 (tiff2ps_context_finalize): implement new interfaces for tiff2ps
115 * tiff/tiff2ps.c: refactor tiff2ps code to use a context
116 structure instead of global variables. Remove use of static
117 variables in functions.
119 2005-07-04 Carlos Garcia Campos <carlosgc@gnome.org>
121 * shell/ev-page-action.c: unref the completion after setting it to the
124 2005-07-04 Matthew S. Wilson <msw@rpath.com>
126 * tiff/tiff2ps.c (generateEPSF): disable generating encapsulated
129 2005-07-04 Matthew S. Wilson <msw@rpath.com>
131 * shell/ev-window.c (update_action_sensitivity): disable
132 File->Print if the document does not implement the ps exporter
135 2005-07-04 Marco Pesenti Gritti <mpg@redhat.com>
139 * data/evince-properties.glade:
140 * properties/.cvsignore:
141 * properties/Makefile.am:
142 * properties/ev-properties-view.c: (ev_properties_view_dispose),
143 (ev_properties_view_class_init), (ev_properties_view_format_date),
144 (make_valid_utf8), (set_property), (ev_properties_view_set_info),
145 (ev_properties_view_init), (ev_properties_view_new):
146 * properties/ev-properties-view.h:
148 * shell/ev-properties-dialog.c: (ev_properties_dialog_class_init),
149 (ev_properties_dialog_init), (ev_properties_dialog_set_document),
150 (ev_properties_dialog_new):
151 * shell/ev-properties-dialog.h:
152 * shell/ev-properties-fonts.c: (ev_properties_fonts_dispose),
153 (ev_properties_fonts_class_init), (ev_properties_fonts_init),
154 (update_progress_label), (job_fonts_finished_cb),
155 (ev_properties_fonts_set_document), (ev_properties_fonts_new):
156 * shell/ev-properties-fonts.h:
157 * shell/ev-properties.c:
158 * shell/ev-properties.h:
159 * shell/ev-window.c: (ev_window_setup_document),
160 (ev_window_cmd_file_properties):
162 Split the properties pages in two different objects, depend
163 only on the backend where possible, use widgets instead
164 of gobject for the glade part, reimplement the dialog
166 I need this to implement nautilus properties page.
168 2005-07-03 Matthew S. Wilson <msw@rpath.com>
170 * tiff/tiff-document.c (tiff_document_ps_export_begin)
171 (tiff_document_ps_export_do_page, tiff_document_ps_export_end)
172 (tiff_document_document_ps_exporter_iface_init): implement the ps
173 exporter interface for tiff documents
175 * tiff/tiff2ps.c: added a modified version of tiff2ps.c from
176 libtiff to implement TIFF postscript export
178 * tiff/tiff2ps.h: added a header file for external tiff2ps
181 * tiff/Makefile.am (libtiffdocument_la_SOURCES): add tiff2ps.c and
184 2005-07-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
186 * shell/ev-view.c: (scroll_to_current_page),
187 (ev_view_set_fullscreen), (ev_view_set_presentation):
189 Scroll to current page when exit from presentation
191 2005-07-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
193 * shell/ev-window.c: (update_document_mode),
194 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
195 (ev_window_cmd_view_fullscreen), (ev_window_stop_presentation),
196 (ev_window_cmd_view_presentation), (ev_window_cmd_escape):
198 Exit from fullscreen mode when switch to presentation. Fix for
201 2005-07-02 Matthew S. Wilson <msw@rpath.com>
203 * shell/ev-pixbuf-cache.c (ev_pixbuf_cache_get_selection_pixbuf):
204 return NULL if the document does not implement the selection
207 2005-07-02 Matthew S. Wilson <msw@rpath.com>
209 * tiff/tiff-document.c (tiff_document_get_page_size): scale the
210 reported height by using the resolution aspect ratio
211 (tiff_document_render_pixbuf): scale the pixbuf using the
212 resolution aspect ratio
214 2005-07-01 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
218 Require libgnomeprint >= 2.5.1. Thanks to Colin Slater
219 <kiltedaco@gmail.com>
221 * djvu/djvu-document.c: (djvu_document_get_orientation),
222 (djvu_document_set_orientation), (djvu_document_get_page_size),
223 (rotate_pixbuf), (djvu_document_render_pixbuf),
224 (djvu_document_document_iface_init):
225 * dvi/dvi-document.c: (dvi_document_get_orientation),
226 (dvi_document_set_orientation), (dvi_document_get_page_size),
227 (rotate_pixbuf), (dvi_document_render_pixbuf),
228 (dvi_document_document_iface_init):
230 Dvi and djvu backends are ported to new API
232 Fri Jul 1 00:10:15 2005 Jonathan Blandford <jrb@redhat.com>
234 * backend/ev-selection.c: (ev_selection_get_selection_region),
235 (ev_selection_get_selection_map):
236 * backend/ev-selection.h:
238 * shell/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
240 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info),
241 (job_finished_cb), (copy_job_to_job_info), (add_job_if_needed),
242 (ev_pixbuf_cache_get_text_mapping):
243 * shell/ev-pixbuf-cache.h:
244 * shell/ev-view.c: (location_in_text),
245 (ev_view_motion_notify_event), (ev_view_set_cursor): Add I-Beam
246 support to EvView. Now we can see where we can select! Sweet!
248 2005-06-30 Kristian Høgsberg <krh@redhat.com>
250 * shell/ev-view.c (ev_view_button_press_event): Fix
251 event->y + view->scroll_x typo.
253 2005-06-30 Kristian Høgsberg <krh@redhat.com>
255 * pdf/ev-poppler.cc: Adjust to poppler API changes; use a
256 sub-GdkPixbuf instead of passing dest_x and dest_y.
258 * shell/ev-view.c: (view_point_to_doc_point),
259 (view_rect_to_doc_rect), (ev_view_button_press_event),
260 (ev_view_motion_notify_event), (compute_new_selection_rect),
261 (gdk_rectangle_point_in), (compute_new_selection_text),
262 (compute_selections): Update selection code to keep the selection
263 around as two points and not as a normalized rectangle, and fix
264 page level selection in two-column mode.
266 2005-06-30 Alex Duggan <aldug@astrolinux.com>
268 * shell/ev-window.c: (window_configure_event_cb):
272 2005-06-30 Marco Pesenti Gritti <mpg@redhat.com>
278 2005-06-30 Marco Pesenti Gritti <mpg@redhat.com>
281 * shell/ev-metadata-manager.c: (item_free),
282 (ev_metadata_manager_init), (ev_metadata_manager_shutdown),
283 (parse_value), (parseItem), (load_values),
284 (ev_metadata_manager_get), (value_free), (ev_metadata_manager_set),
285 (save_values), (save_item), (get_oldest), (resize_items),
286 (ev_metadata_manager_save), (ev_metadata_manager_set_int):
287 * shell/ev-metadata-manager.h:
289 Metadata manager from gedit but modified to use GValue, so that
290 we dont need to keep converting from strings.
294 ENABLE_METADATA conditional, on when dbus is on
296 * shell/ev-application.c: (ev_application_open_uri):
298 Show the window after load so that we can initialize
299 window size before it's showed.
301 * shell/ev-window.c: (ev_window_setup_from_metadata),
302 (ev_window_open_uri), (window_configure_event_cb),
305 Save and load metadata information about window size.
306 Not yet keeping states in account.
308 * shell/main.c: (main):
310 Shutdown metadata manager.
312 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
314 * shell/ev-application-service.xml:
317 * shell/ev-application.c:
318 * shell/ev-application.h:
323 Add an optional dbus interface (--enable-dbus).
324 Rework application code, mainly to be easier to
326 Do not open multiple windows with the same document,
329 Thu Jun 30 01:50:14 2005 Jonathan Blandford <jrb@redhat.com>
331 * shell/ev-pixbuf-cache.c (clear_selection_if_needed): unref the
332 pixbuf iff it exists.
334 Thu Jun 30 01:43:00 2005 Jonathan Blandford <jrb@redhat.com>
337 * backend/ev-render-context.[ch]:
338 * backend/ev-selection.[ch]:
340 Massive changes. We now support text selection of pdfs, and not
341 just rectangular selection. This is pretty broken still, but I
342 want to get something into CVS.
344 2005-06-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
348 Fix for Bug 309080: crash on window close.
350 * shell/ev-page-action.c: (page_changed_cb):
352 Fix for Bug 309168: Fix build with gcc 2.95. Thanks to
353 jensgr@gmx.net (Jens Granseuer).
355 2005-06-25 Marcel Telka <marcel@telka.sk>
357 * configure.in (ALL_LINGUAS): Added sk.
359 2005-06-24 Carlos Garcia Campos <carlosgc@gnome.org>
361 * shell/ev-window.c: Make rotate menu entries unsensitive if there is
364 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
371 * cut-n-paste/recent-files/Makefile.am:
375 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
377 * pixbuf/pixbuf-document.c: (pixbuf_document_get_orientation),
378 (pixbuf_document_set_orientation), (rotate_pixbuf),
379 (pixbuf_document_get_page_size), (pixbuf_document_render_pixbuf),
380 (pixbuf_document_document_iface_init), (pixbuf_document_init):
382 Implement rotation and cleanup the code a bit.
384 * tiff/tiff-document.c: (tiff_document_get_page_size),
385 (tiff_document_get_orientation), (tiff_document_set_orientation),
386 (rotate_pixbuf), (tiff_document_render_pixbuf),
387 (tiff_document_document_iface_init), (tiff_document_init):
389 Implement rotation. Was the quicker solution for the release
390 but we really need to share this code in the shell.
392 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
396 Enable rotation, require poppler cvs. Fix a leak.
398 2005-06-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
400 * shell/ev-window.c: (update_action_sensitivity):
402 Make properties unsensitive if document backend doesn't provide
405 2005-06-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
407 * dvi/mdvi-lib/bitmap.c: (bitmap_alloc), (bitmap_alloc_raw),
408 (bitmap_flip_horizontally), (bitmap_flip_vertically),
409 (bitmap_flip_diagonally), (bitmap_rotate_clockwise),
410 (bitmap_rotate_counter_clockwise), (bitmap_flip_rotate_clockwise),
411 (bitmap_flip_rotate_counter_clockwise):
412 * dvi/mdvi-lib/color.c: (mdvi_push_color), (get_color_table):
413 * dvi/mdvi-lib/common.c: (read_string), (buff_free), (buff_add),
415 * dvi/mdvi-lib/common.h:
416 * dvi/mdvi-lib/dvimisc.c: (mdvi_push_color):
417 * dvi/mdvi-lib/dviread.c: (get_bytes), (dreset), (define_font),
418 (opendvi), (mdvi_reload), (mdvi_init_context),
419 (mdvi_destroy_context), (mdvi_dopage), (special):
420 * dvi/mdvi-lib/font.c: (font_drop_one), (font_free_unused):
421 * dvi/mdvi-lib/fontmap.c: (read_encoding), (destroy_encoding),
422 (file_hash_free), (register_encoding), (parse_spec),
423 (mdvi_load_fontmap), (free_ent), (mdvi_init_fontmaps),
424 (mdvi_add_fontmap_file), (mdvi_ps_read_fontmap),
425 (mdvi_ps_flush_fonts), (mdvi_ps_find_font), (mdvi_ps_get_metrics):
426 * dvi/mdvi-lib/fontsrch.c: (mdvi_list_font_class),
427 (mdvi_register_font_type), (mdvi_unregister_font_type),
428 (lookup_font), (mdvi_add_font), (mdvi_font_retry):
429 * dvi/mdvi-lib/gf.c: (gf_read_bitmap), (gf_load_font):
430 * dvi/mdvi-lib/hash.c: (mdvi_hash_remove), (mdvi_hash_remove_ptr),
431 (mdvi_hash_destroy_key), (mdvi_hash_reset):
432 * dvi/mdvi-lib/pagesel.c: (mdvi_parse_range),
433 (mdvi_parse_page_spec), (mdvi_free_page_spec), (main):
434 * dvi/mdvi-lib/paper.c: (mdvi_free_paper_specs):
435 * dvi/mdvi-lib/pk.c: (pk_lookup), (pk_lookupn), (pk_load_font):
436 * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
437 * dvi/mdvi-lib/special.c: (mdvi_register_special),
438 (mdvi_unregister_special), (mdvi_flush_specials):
439 * dvi/mdvi-lib/t1.c: (t1_lookup_font), (t1_really_load_font),
441 * dvi/mdvi-lib/tfm.c: (get_tfm_chars):
442 * dvi/mdvi-lib/tfmfile.c: (afm_load_file), (tfm_load_file),
443 (ofm1_load_file), (ofm_load_file), (get_font_metrics),
444 (free_font_metrics), (flush_font_metrics):
445 * dvi/mdvi-lib/tt.c: (tt_really_load_font), (tt_get_bitmap),
447 * dvi/mdvi-lib/util.c: (mdvi_malloc), (mdvi_realloc),
448 (mdvi_calloc), (mdvi_free), (mdvi_strdup), (mdvi_strncpy),
449 (mdvi_strndup), (mdvi_memdup), (xstradd), (dstring_append),
450 (dstring_insert), (dstring_new), (dstring_reset):
451 * dvi/mdvi-lib/vf.c: (vf_load_font), (vf_free_macros):
453 Rename xmalloc and xfree to mdvi_malloc and mdvi_free to
454 avoid conflict with libtool on FC4
456 * shell/ev-window.c: (ev_window_cmd_help_about):
458 Update copyright year. Fix for bug 308828.
460 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
462 * shell/ev-view.c: (add_scroll_binding_keypad),
463 (ev_view_binding_activated), (ev_view_class_init),
464 (on_adjustment_value_changed):
466 Bug 170874: Arrow keys switch pages in presentation mode
468 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
470 * shell/ev-window.c: (ev_window_sidebar_visibility_changed_cb):
472 Fix for Bug 308265: Sidebar dissappears coming out of
475 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
477 * shell/ev-application.c: (ev_application_open):
478 * shell/ev-document-types.c: (ev_document_types_add_filters),
479 (ev_document_types_add_filters_for_type):
480 * shell/ev-document-types.h:
481 * shell/ev-window.c: (ev_window_cmd_save_as):
483 Suggest basename as template when saving, provide filters
484 for save dialog. It's bug 308402
486 2005-06-20 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
489 * shell/ev-sidebar-links.c: (job_finished_callback):
490 * shell/ev-view.c: (update_find_status_message):
494 2005-06-19 Christian Persch <chpe@cvs.gnome.org>
496 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
497 (egg_recent_view_uimanager_set_list):
499 Fix buglet in !show_numbers case.
501 2005-06-19 Christian Persch <chpe@cvs.gnome.org>
503 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
504 (connect_proxy_cb), (egg_recent_view_uimanager_set_list):
506 Use pango ellipsisation.
510 Fix refcount leak, from nsh.
512 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
514 * cut-n-paste/recent-files/Makefile.am:
515 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
516 * cut-n-paste/recent-files/egg-recent-view-gtk.h:
518 Removed EggRecentViewGtk
520 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
521 * cut-n-paste/recent-files/egg-recent-view-uimanager.h:
522 * shell/ev-window.c: (ev_window_cmd_recent_file_activate),
523 (ev_window_setup_recent):
525 Use ViewUIManager instead of ViewGtk. Less leaks, more compatibility
528 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
530 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
531 (egg_recent_view_gtk_finalize):
535 * cut-n-paste/toolbar-editor/Makefile.am:
537 Fix location of cursor icon.
540 * shell/ev-page-action.c: (build_new_tree_cb), (match_selected_cb),
541 (display_completion_text), (match_completion):
542 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
543 (selection_changed_callback), (create_loading_model),
544 (print_section_cb), (links_page_num_func),
545 (update_page_callback_foreach):
546 * shell/ev-window.c: (ev_window_dispose):
548 Small memory fixes. Links model now store objects instead
549 of pointers to improve memory management.
551 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
553 * shell/ev-window.c: (zoom_control_changed_cb):
555 Fix update of zoom control (bug 308268).
557 Sat Jun 18 22:46:42 2005 Jonathan Blandford <jrb@redhat.com>
559 * shell/ev-properties.c (set_property): escape the text correctly.
560 Handles non-UTF-8 properties and escaped properties. Also, sets
561 the text to "<i>None</i>" if the property isn't set.
563 * data/evince-properties.glade: Change the label to be ellipsized,
564 and give it a minimum size.
566 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
568 * lib/ev-file-helpers.c: (ev_file_helpers_shutdown):
569 * shell/ev-sidebar-links.c: (create_loading_model):
570 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose):
571 * shell/ev-view.c: (ev_view_set_document):
572 * shell/ev-window.c: (ev_window_dispose):
574 Various small fixes, mostly memory leaks. Thanks to valgrind.
576 2005-06-19 Martin Kretzschmar <martink@gnome.org>
578 * ps/ps-document.c: remove the locale.h include again ;-). And
579 kill the (bogus) setlocale/savelocale business.
581 2005-06-19 Jaap A. Haitsma <jaap@haitsma.org>
585 Include locale.h to fix build
587 * shell/ev-sidebar.c:
589 Remove unnecessary includes
591 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
593 * dvi/dvi-document.c: (dvi_document_load):
594 * dvi/mdvi-lib/dviread.c: (mdvi_init_context):
597 Check for incorrect dvi files. Fix parsing dvi on AMD64
598 platform. Thanks to tester@tester.ca (Olivier Crete).
600 2005-06-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
602 * shell/ev-page-action.c: (match_selected_cb),
603 (display_completion_text), (match_completion), (update_model):
604 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
606 * shell/ev-sidebar.c: (ev_sidebar_destroy),
607 (ev_sidebar_menu_item_activate_cb), (ev_sidebar_add_page),
608 (ev_sidebar_set_document):
609 * shell/ev-window.c: (ev_window_xfer_job_cb),
610 (sidebar_widget_model_set), (sidebar_page_main_widget_update_cb):
612 Fixed lot's of memory leaks, for example, memory leak on reload,
613 described in bug 307793.
615 2005-06-18 Marco Pesenti Gritti <mpg@redhat.com>
618 * shell/ev-sidebar-thumbnails.c: (clear_range), (add_range),
619 (update_visible_range), (adjustment_changed_cb),
620 (ev_sidebar_thumbnails_fill_model),
621 (ev_sidebar_thumbnails_refresh),
622 (ev_sidebar_tree_selection_changed),
623 (ev_sidebar_icon_selection_changed),
624 (ev_sidebar_thumbnails_use_icon_view),
625 (ev_sidebar_thumbnails_set_document):
626 * shell/ev-sidebar-thumbnails.h:
627 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
628 (ev_window_cmd_edit_rotate_right), (ev_window_init):
630 Refresh thumbnails when changing orientation. Not fully
631 working yet becuase of a sidebar bug.
633 Set page orientation to poppler page everywhere. This sucks
634 really need to fix poppler.
636 2005-06-18 Marco Pesenti Gritti <mpg@redhat.com>
638 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
639 (egg_recent_view_gtk_new_menu_item),
640 (egg_recent_view_gtk_set_property),
641 (egg_recent_view_gtk_get_property),
642 (egg_recent_view_gtk_class_init), (egg_recent_view_gtk_init),
643 (egg_recent_view_gtk_set_tooltip_func),
644 (egg_recent_view_gtk_set_label_width),
645 (egg_recent_view_gtk_get_label_width):
646 * cut-n-paste/recent-files/egg-recent-view-gtk.h:
648 Sync with libegg (ellipsize labels)
650 2005-06-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
652 * data/evince-ui.xml:
653 * shell/ev-window.c: (ev_window_cmd_go_forward),
654 (ev_window_cmd_go_backward):
656 Shift + PageUp moves 10 Pages. Fix for 306125
658 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
662 Add a flag to check if orientation has been overriden
664 2005-06-17 Martin Kretzschmar <martink@gnome.org>
666 * ps/ps.c (psscan, psfree): read "Creator:" comment, free creator
669 * ps/ps.h: add creator field to document.
671 * ps/ps-document.c (ps_document_get_info): set format to PostScript,
674 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
676 * data/evince-properties.glade:
677 * shell/ev-properties.c: (ev_properties_set_document):
681 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
683 * shell/ev-properties.c: (ev_properties_set_document):
685 Remove unnecessary translations
687 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
689 * cut-n-paste/toolbar-editor/Makefile.am:
693 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
696 * cut-n-paste/recent-files/egg-recent-model.c:
697 (egg_recent_model_write_raw), (egg_recent_model_lock_file),
698 (egg_recent_model_unlock_file):
699 * cut-n-paste/recent-files/egg-recent-util.c:
700 (egg_recent_util_get_unique_id):
701 * cut-n-paste/recent-files/update-from-egg.sh:
702 * cut-n-paste/toolbar-editor/Makefile.am:
703 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
704 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
705 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
706 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
707 (egg_toolbars_model_get_type):
708 * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
710 Better makefile for toolbar editor and update everything
713 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
715 * shell/ev-window.c: (update_document_mode):
717 Prefer presentation mode when the document
720 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
722 * data/evince-ui.xml:
725 Add control-equal for zooming
727 2005-06-17 Theppitak Karoonboonyanan <thep@linux.thai.net>
729 * configure.ac: Added 'th' (Thai) to ALL_LINGUAS.
731 2005-06-16 Marco Pesenti Gritti <mpg@redhat.com>
733 * backend/ev-document.c: (ev_document_get_orientation):
734 * backend/ev-document.h:
736 * ps/ps-document.c: (ps_document_get_orientation),
737 (ps_document_set_orientation), (ps_document_document_iface_init):
739 Add a get_orientation api. Improve set_orientation.
741 * data/evince-ui.xml:
742 * shell/ev-view.c: (ev_view_set_orientation),
743 (ev_view_rotate_right), (ev_view_rotate_left):
745 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
746 (ev_window_cmd_edit_rotate_right):
748 Better ui for changing document orientation
750 2005-06-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
752 * shell/ev-sidebar-links.c: (ev_sidebar_links_get_property),
753 (ev_sidebar_links_class_init), (ev_sidebar_links_get_label):
754 * shell/ev-sidebar-links.h:
755 * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
756 (ev_sidebar_page_iface_init):
757 * shell/ev-sidebar-page.h:
758 * shell/ev-sidebar-thumbnails.c:
759 (ev_sidebar_thumbnails_get_property),
760 (ev_sidebar_thumbnails_class_init),
761 (ev_sidebar_thumbnails_set_document):
762 * shell/ev-sidebar-thumbnails.h:
763 * shell/ev-view.c: (ev_view_motion_notify_event):
764 * shell/ev-window.c: (update_chrome_visibility),
765 (ev_window_cmd_focus_page_selector),
766 (ev_window_update_fullscreen_popup), (view_actions_focus_in_cb),
767 (sidebar_page_main_widget_update_cb), (ev_window_init):
769 Autoraise toolbar on GoToPage binding and fix bindings in
770 EvSidebarThumbnails page.
772 2005-06-15 Christian Persch <chpe@cvs.gnome.org>
774 * shell/ev-properties.c: (update_progress_label):
776 Hide the progress label when finished; bug #307697.
778 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
782 Enable is_open for links, you will need poppler cvs
784 * shell/ev-properties.c: (job_fonts_finished_cb):
786 Get a lock on the document when filling the tree view
788 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
790 * backend/ev-document-links.h:
792 * shell/ev-sidebar-links.c: (create_loading_model),
793 (expand_open_links), (job_finished_callback):
795 Expand links when specified by the document.
796 Depend on a poppler api (defined out for now)
798 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
800 * shell/ev-properties.c: (ev_properties_dispose),
801 (ev_properties_class_init), (dialog_destroy_cb),
802 (ev_properties_init), (job_fonts_finished_cb), (setup_fonts_view),
803 (ev_properties_set_document), (ev_properties_new),
804 (ev_properties_show):
805 * shell/ev-properties.h:
807 Make it an object, cleanup the code, api to show it as transient
808 and to set the document.
810 * shell/ev-window.c: (ev_window_setup_document),
811 (ev_window_cmd_file_properties):
813 Adapt to EvProperties changes, do not show multiple
814 times, update it when document changes.
816 2005-06-14 Marco Pesenti Gritti <mpg@redhat.com>
819 * ps/ps-document.c: (ps_document_init), (get_page_orientation),
820 (ps_document_set_orientation), (ps_document_document_iface_init):
823 Implement orientation here too
825 * shell/ev-properties.c: (ev_properties_new):
826 * data/evince-properties.glade:
828 Hide the fonts page for backends that doesnt
831 2005-06-14 Marco Pesenti Gritti <mpg@redhat.com>
833 * backend/ev-document.c: (ev_document_set_orientation):
834 * backend/ev-document.h:
837 Add orientation api. Currently poppler api is not optimal,
838 we need to set orientation every time we _get a page.
839 I will try to fix that at some point.
841 * data/evince-ui.xml:
842 * shell/ev-window.c: (ev_window_cmd_edit_landscape),
843 (ev_window_cmd_edit_portrait), (ev_window_cmd_edit_flip):
845 Add orientation menu items
847 * shell/ev-page-cache.c: (ev_page_cache_clear):
848 * shell/ev-page-cache.h:
850 Add api to clear the cache
852 * shell/ev-view.c: (setup_caches), (clear_caches),
853 (ev_view_set_document), (ev_view_zoom_out),
854 (ev_view_set_orientation):
857 Implement orientation changing
859 2005-06-13 Marco Pesenti Gritti <mpg@redhat.com>
861 * backend/ev-document-fonts.c: (ev_document_fonts_get_progress),
862 (ev_document_fonts_scan), (ev_document_fonts_fill_model):
863 * backend/ev-document-fonts.h:
865 Separate scan and fill so that we can incrementally fill from
866 the main thread. Add a progress api.
868 * data/evince-properties.glade:
870 * shell/ev-jobs.c: (ev_job_fonts_new), (ev_job_fonts_run):
872 * shell/ev-properties.c: (update_progress_label),
873 (job_fonts_finished_cb), (setup_fonts_view):
875 Incrementally feel the list and show the progress
876 percentage in a label like acrobat does.
878 You are going to need poppler cvs
880 2005-06-11 Marco Pesenti Gritti <mpg@redhat.com>
882 * backend/ev-document-fonts.c: (ev_document_fonts_fill_model):
883 * backend/ev-document-fonts.h:
886 Make fonts model fill incrementally.
888 * shell/ev-job-queue.c: (handle_job), (search_for_jobs_unlocked),
889 (no_jobs_available_unlocked), (ev_job_queue_init), (find_queue),
890 (ev_job_queue_remove_job):
891 * shell/ev-jobs.c: (ev_job_fonts_init), (ev_job_fonts_class_init),
892 (ev_job_fonts_new), (ev_job_fonts_run):
895 New job for fonts scanning
897 * shell/ev-properties.c: (job_fonts_finished_cb),
898 (fill_fonts_treeview), (setup_fonts_view), (ev_properties_new):
899 * shell/ev-properties.h:
900 * shell/ev-window.c: (ev_window_cmd_file_properties):
902 Incrementally feel the treeview using the new job. Show Loading...
903 message until scanning is completed.
905 Hopefully I didnt break the build without the poppler patch.
907 2005-06-10 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
909 * shell/ev-application.c: (ev_application_open):
910 * shell/ev-document-types.c: (ev_document_type_from_from_mime),
911 (ev_document_type_get_type), (ev_document_type_lookup):
912 * shell/ev-document-types.h:
913 * shell/ev-job-xfer.c: (ev_job_xfer_dispose), (ev_job_xfer_run):
914 * shell/ev-job-xfer.h:
915 * shell/ev-window.c: (ev_window_clear_local_uri),
916 (ev_window_load_job_cb), (ev_window_xfer_job_cb),
917 (ev_window_open_uri), (ev_window_add_recent), (ev_window_dispose):
918 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
920 Transfer remote documents to tmp directory to display them later.
922 2005-06-10 Marco Pesenti Gritti <mpg@redhat.com>
924 * backend/ev-document-info.h:
925 * shell/ev-properties.c: (ev_properties_new):
927 s/GTime*/GTime. Not sure why we was using a pointer
930 Wed Jun 8 01:04:22 2005 Jonathan Blandford <jrb@redhat.com>
932 * shell/ev-sidebar-thumbnails.c: Use a GtkIconView in certain
933 situations. That situation is that you're using GTK+-HEAD with
934 the patch at #306726 is applied, and you have a document with <
935 1500 pages in it. It's not quite as uniformly nice as the
936 TreeView, but should be better in the long run.
938 I'm pretty sure I guarded against breaking compilation with
939 HAVE_GTK_ICON_VIEW_GET_VISIBLE_RANGE gaurds, though it's possible
942 * shell/ev-window.c (ev_window_init): We don't have our tree/list
943 widget yet, so I commented that code out
944 enable_view_actions_for_widget() for now. Need to figure this
947 * shell/ev-page-action.c (match_selected_cb): emit the right
948 signals. Our cool C-l completion now works.
950 2005-06-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
952 * backend/Makefile.am:
953 * backend/ev-document-fonts.c:
954 * backend/ev-document-links.c:
955 * backend/ev-document.c: (ev_document_load):
956 * backend/ev-document.h:
957 * backend/ev-job-queue.c:
958 * backend/ev-job-queue.h:
961 * backend/ev-page-cache.c:
962 * backend/ev-page-cache.h:
964 EvPageCache and EvJobs are moved to shell.
966 * lib/ev-file-helpers.c: (ev_file_helpers_shutdown),
968 * lib/ev-file-helpers.h:
970 New helper to work with temporary files
973 * shell/ev-application.c: (ev_application_open):
974 * shell/ev-application.h:
975 * shell/ev-job-queue.c: (remove_job_from_queue_locked),
976 (remove_job_from_async_queue), (add_job_to_async_queue),
977 (add_job_to_queue_locked), (notify_finished), (job_finished_cb),
978 (handle_job), (search_for_jobs_unlocked),
979 (no_jobs_available_unlocked), (ev_render_thread),
980 (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
981 (ev_job_queue_add_job), (move_job_async), (move_job),
982 (ev_job_queue_update_job), (ev_job_queue_remove_job):
983 * shell/ev-job-queue.h:
984 * shell/ev-job-xfer.c: (ev_job_xfer_init), (ev_job_xfer_dispose),
985 (ev_job_xfer_class_init), (ev_job_xfer_new), (ev_job_xfer_run):
986 * shell/ev-job-xfer.h:
987 * shell/ev-jobs.c: (ev_job_init), (ev_job_dispose),
988 (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
989 (ev_job_links_class_init), (ev_job_render_init),
990 (ev_job_render_dispose), (ev_job_render_class_init),
991 (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
992 (ev_job_thumbnail_class_init), (ev_job_load_init),
993 (ev_job_load_dispose), (ev_job_load_class_init), (ev_job_finished),
994 (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
995 (render_finished_cb), (ev_job_render_run), (ev_job_thumbnail_new),
996 (ev_job_thumbnail_run), (ev_job_load_new), (ev_job_load_run):
998 * shell/ev-page-action.c: (ev_page_action_set_document):
999 * shell/ev-page-cache.c: (ev_page_cache_init),
1000 (ev_page_cache_class_init), (ev_page_cache_finalize),
1001 (ev_page_cache_new), (ev_page_cache_get_n_pages),
1002 (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
1003 (ev_page_cache_set_page_label), (ev_page_cache_set_link),
1004 (ev_page_cache_get_title), (ev_page_cache_get_size),
1005 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
1006 (ev_page_cache_get_height_to_page),
1007 (ev_page_cache_get_max_label_chars),
1008 (ev_page_cache_get_page_label),
1009 (ev_page_cache_has_nonnumeric_page_labels),
1010 (ev_page_cache_get_info), (ev_page_cache_next_page),
1011 (ev_page_cache_prev_page), (ev_page_cache_get):
1012 * shell/ev-page-cache.h:
1013 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_update_range),
1014 (ev_pixbuf_cache_clear_job_sizes),
1015 (ev_pixbuf_cache_add_jobs_if_needed),
1016 (ev_pixbuf_cache_set_page_range):
1017 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings):
1018 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document):
1019 * shell/ev-sidebar-thumbnails.c:
1020 (ev_sidebar_tree_selection_changed),
1021 (ev_sidebar_thumbnails_set_document):
1022 * shell/ev-statusbar.c: (ev_statusbar_destroy),
1023 (ev_statusbar_class_init), (ev_statusbar_init), (ev_statusbar_new),
1024 (ev_statusbar_get_context_id), (ev_statusbar_push),
1025 (ev_statusbar_pop), (ev_statusbar_set_maximized),
1026 (ev_statusbar_pulse), (ev_statusbar_show_progress),
1027 (ev_statusbar_set_progress):
1028 * shell/ev-statusbar.h:
1029 * shell/ev-view.c: (ev_view_set_document), (ev_view_find_next),
1030 (ev_view_find_previous):
1031 * shell/ev-window.c: (ev_window_is_empty),
1032 (ev_window_setup_document), (password_dialog_response),
1033 (ev_window_clear_jobs), (ev_window_load_job_cb),
1034 (ev_window_xfer_job_cb), (ev_window_open_uri),
1035 (ev_window_open_uri_list), (ev_window_cmd_recent_file_activate),
1036 (ev_window_print), (ev_window_print_range),
1037 (ev_window_state_event), (ev_window_cmd_view_reload),
1038 (menu_item_select_cb), (menu_item_deselect_cb),
1039 (view_status_changed_cb), (ev_window_dispose),
1040 (drag_data_received_cb), (ev_window_init):
1041 * shell/ev-window.h:
1042 * shell/main.c: (load_files):
1044 New statusbar to show progress on idle. Two new jobs -
1045 xfer job and load job to load document in background. And update
1046 of page_cache clients to new location of code.
1048 2005-06-08 Carlos Garcia Campos <carlosgc@gnome.org>
1050 * shell/ev-application.c, shell/ev-window.[ch]: Allow multiple
1051 selection in open dialog. It also remembers the last visited directory
1052 in the current session.
1054 2005-06-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1056 * shell/ev-properties.c: (ev_properties_new):
1057 * shell/ev-properties.h:
1058 * shell/ev-window.c: (ev_window_cmd_file_properties):
1060 Get document info from page cache instead of document itself.
1061 This should fix crash related to race conditions described in
1064 2005-06-07 Marco Pesenti Gritti <mpg@redhat.com>
1066 * ps/ps-document.c: (ps_document_init),
1067 (send_ps), (get_page_box), (output), (catchPipe), (input),
1068 (stop_interpreter), (file_length), (file_readable),
1069 (check_filecompressedb), (ps_document_enable_interpreter),
1070 (document_load), (ps_async_renderer_render_pixbuf):
1073 Big cleanup of the ps code
1075 2005-06-07 Marco Pesenti Gritti <mpg@redhat.com>
1077 * backend/Makefile.am:
1078 * backend/ev-async-renderer.c: (ev_async_renderer_get_type),
1079 (ev_async_renderer_class_init), (ev_async_renderer_render_pixbuf):
1080 * backend/ev-async-renderer.h:
1082 Add an async renderer interface (method + callback) which
1083 is useful for backends like ps.
1085 * backend/ev-job-queue.c: (remove_job_from_async_queue),
1086 (add_job_to_async_queue), (job_finished_cb), (handle_job),
1087 (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
1088 (ev_job_queue_add_job), (move_job_async), (move_job),
1089 (ev_job_queue_update_job), (ev_job_queue_remove_job):
1091 Add queues for async renderer, these are executed on the
1094 * backend/ev-jobs.c: (ev_job_render_new), (render_finished_cb),
1095 (ev_job_render_run):
1096 * backend/ev-jobs.h:
1098 If the backend support async renderer interface use it.
1100 * ps/ps-document.c: (ps_document_init), (push_pixbuf),
1101 (setup_pixmap), (ps_document_get_type),
1102 (ps_async_renderer_render_pixbuf),
1103 (ps_document_document_iface_init), (ps_async_renderer_iface_init):
1105 Implement async renderer interface.
1107 2005-06-07 Nickolay V. Shmyrev <<nshmyrev@yandex.ru>>
1109 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose):
1111 Cleanup links job on exit.
1113 2005-06-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1115 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
1116 (drag_data_get_cb), (drag_data_received_cb):
1117 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
1118 (drag_data_get_cb), (parse_item_list),
1119 (egg_toolbar_editor_load_actions):
1120 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
1121 (egg_toolbars_model_to_xml), (egg_toolbars_model_save),
1122 (parse_item_list), (parse_toolbars):
1123 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
1124 (dvi_pixbuf_put_pixel):
1126 Fix gcc 4.0 warnings
1128 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
1130 * ps/ps-document.c: (start_interpreter):
1132 Fix warning when loading ps
1134 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
1136 * ps/ps-document.c: (output):
1138 Fix crash when priting gs error messages.
1140 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
1142 * backend/ev-page-cache.c: (_ev_page_cache_new):
1143 * backend/ev-page-cache.h:
1145 Use a const to return title so that we dont double
1146 free it. Small cleanup and fix a leak.
1148 * shell/ev-window.c: (update_window_title):
1150 strdup value from get_title.
1152 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
1154 * shell/ev-sidebar-links.c: (job_finished_callback),
1155 (ev_sidebar_links_set_document):
1157 Cleanup the old job when changing document
1159 2005-06-05 Nickolay V. Shmyrev <<nshmyrev@yandex.ru>>
1161 * shell/ev-stock-icons.c:
1162 * shell/ev-stock-icons.h:
1163 * shell/ev-window.c:
1165 Add stock icons for actions that can appear in toolbar. Fix for
1168 2005-06-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1170 * backend/ev-page-cache.c: (ev_page_cache_finalize),
1171 (_ev_page_cache_new), (ev_page_cache_get_max_width),
1172 (ev_page_cache_get_max_height), (ev_page_cache_get_height_to_page):
1173 * backend/ev-page-cache.h:
1174 * shell/ev-view.c: (scroll_to_current_page),
1175 (view_update_range_and_current_page), (get_page_y_offset),
1176 (get_page_extents), (ev_view_size_request_continuous_dual_page),
1177 (ev_view_size_request_continuous),
1178 (ev_view_zoom_for_size_continuous_and_dual_page),
1179 (ev_view_zoom_for_size_continuous):
1181 More compact EvView layout in document with pages of different size.
1183 Sat Jun 4 19:20:57 2005 Jonathan Blandford <jrb@redhat.com>
1185 * shell/ev-window.c (ev_window_cmd_file_properties): fix
1188 2005-06-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1190 * shell/ev-view.c: (view_set_adjustment_values):
1191 * shell/ev-window.c: (ev_window_cmd_file_properties):
1193 A bit different fix for rounding problem but it has no
1194 problems on startup. Make properties window transient to parent.
1196 2005-06-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1198 * pdf/ev-poppler.cc:
1200 More commenting of font stuff.
1202 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1204 * pdf/ev-poppler.cc:
1206 Comment out some more fonts stuff. Should really
1207 work without the poppler patch now.
1209 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1211 * pdf/ev-poppler.cc:
1215 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1217 * data/evince-properties.glade:
1218 * pdf/ev-poppler.cc:
1219 * shell/ev-properties.c: (setup_fonts_view):
1221 Set the column title. Show the dialog only
1222 once everything is setup.
1223 Getting font info can be very slow... will
1224 prolly need to make this threaded too.
1226 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1228 * backend/Makefile.am:
1229 * backend/ev-document-fonts.c: (ev_document_fonts_get_type),
1230 (ev_document_fonts_get_fonts_model):
1231 * backend/ev-document-fonts.h:
1232 * data/evince-properties.glade:
1233 * pdf/ev-poppler.cc:
1234 * shell/ev-properties.c: (setup_fonts_view), (ev_properties_new):
1235 * shell/ev-properties.h:
1236 * shell/ev-window.c: (ev_window_cmd_file_properties):
1238 Implement fonts list. Defined out for now, since it depends
1239 on a not yet committed poppler patch.
1241 Fri Jun 3 21:07:57 2005 Jonathan Blandford <jrb@redhat.com>
1243 * shell/ev-view.c (get_page_extents): other_page isn't necessarily
1246 * shell/ev-window.c: Make sure we add the timeout when we get a
1249 * shell/ev-view.c (view_set_adjustment_values): Add 0.5 to
1250 adjustment->value before calculating the zoom factor to average
1251 out all of our rounding errors. The page no longer 'drifts' when
1254 2005-06-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1256 * data/evince-properties.glade:
1257 * shell/ev-properties.c: (ev_properties_format_date),
1260 Labels don't expand when the dialogue is resized.
1261 strftime result needs to be converted to UTF-8. Thanks
1262 to Christian Persch <chpe@gnome.org>.
1264 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1266 * data/evince-properties.glade:
1270 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1272 * backend/ev-document-info.h:
1273 * backend/ev-document.c: (ev_document_info_free):
1274 * data/evince-properties.glade:
1275 * pdf/ev-poppler.cc:
1276 * ps/ps-document.c: (ps_document_get_info):
1277 * shell/ev-properties.c: (ev_properties_format_date),
1278 (set_property), (ev_properties_new):
1279 * shell/ev-properties.h:
1280 * shell/ev-window.c: (ev_window_cmd_file_properties):
1282 Rework properties code to take only EvPropertyInfo
1283 in the constructor so that it can be useful for
1284 nautilus plugin too.
1286 Deal with backends that doesnt support some properties.
1287 Make set property code generic.
1289 2005-06-04 Christian Persch <chpe@gnome.org>
1291 * data/evince-properties.glade:
1293 fix spacings, make resizeable, and make data labels
1294 selectable + ellipsised
1296 2005-06-03 Marco Pesenti Gritti <mpg@redhat.com>
1298 * backend/ev-document-info.h:
1300 * data/evince-ui.xml:
1301 * pdf/ev-poppler.cc:
1302 * shell/Makefile.am:
1303 * shell/ev-window.c: (update_action_sensitivity),
1304 (ev_window_cmd_file_properties):
1306 Initial go at file properties. Patch by
1307 Emil Soleyman-Zomalan <emil@soleyman.com>.
1308 Needs love see #169583
1310 2005-06-02 Marco Pesenti Gritti <mpg@redhat.com>
1312 * ps/ps-document.c: (output):
1313 * ps/ps.c: (psscan):
1315 Try to render even if psscan fails.
1317 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
1319 * ps/ps.c: (psscan), (pscopydoc):
1321 Port buffered reading code from gv
1323 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
1325 * ps/ps-document.c: (interpreter_message), (output):
1327 Do not fail on interpreter messages
1329 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
1331 * backend/ev-document-misc.c:
1332 (ev_document_misc_get_thumbnail_frame):
1334 Pages can be 0 x 0, dont assert on this case
1336 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1338 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
1339 (ev_sidebar_links_class_init), (ev_sidebar_links_set_document):
1341 Correctly manage our reference on document. Finally the reload
1342 huge leak is gone...
1344 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1346 * ps/ps-document.c: (ps_document_dispose):
1348 Forgot to chain it to the parent. Thanks chpe.
1350 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1352 * ps/ps-document.c: (ps_document_dispose),
1353 (ps_document_class_init), (stop_interpreter), (document_load):
1355 Cleanup dispose a bit. Dont leak the whole pixmap.
1357 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1359 * pdf/ev-poppler.cc:
1361 Release the poppler document on dispose
1363 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1365 * shell/ev-view.c: (ev_view_set_document):
1367 Release ref on the pixbuf cache when changing
1370 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1372 * ps/ps-document.c: (ps_document_get_info):
1376 2005-05-31 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
1378 * backend/ev-page-cache.c: (ev_page_cache_init),
1379 (_ev_page_cache_new), (ev_page_cache_get_max_label_chars):
1380 * backend/ev-page-cache.h:
1381 * shell/ev-page-action.c: (page_changed_cb):
1383 Set page action entry width depending on labels width. Fix
1386 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1388 * backend/ev-link.c: (ev_link_class_init):
1390 Allow -1 as page value (error)
1392 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1394 * shell/ev-sidebar-thumbnails.c:
1395 (ev_sidebar_thumbnails_set_document):
1396 * shell/ev-view.c: (scroll_to_current_page),
1397 (view_set_adjustment_values), (ev_view_set_scroll_adjustments),
1398 (page_changed_cb), (on_adjustment_value_changed),
1399 (ev_view_set_document):
1401 Slightly modified patch by Nickolay V. Shmyrev <nshmyrev@yandex.ru>.
1404 2005-05-29 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1407 * djvu/djvu-document.c: (djvu_document_get_page_size):
1409 Require djvulibre CVS. Now djvu loading is much faster. Fix for
1412 Sat May 28 07:38:03 2005 Jonathan Blandford <jrb@redhat.com>
1414 * shell/ev-view.c (draw_one_page): modify the expose handling to
1417 * shell/ev-window.c (update_action_sensitivity): Respect
1418 permissions field. Kowtow to the man.
1420 * pdf/ev-poppler.cc: Get the permissions field.
1422 * tiff/*c: Make a tiny bit more robust.
1424 2005-05-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1426 * djvu/djvu-document.c:
1428 Pop messages from djvu context message queue.
1430 2005-05-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1432 * configure.ac, Makefile.am, shell/Makefile.am:
1433 * tiff/Makefile.am, shell/ev-document-types.c:
1435 Cleanup tiff configure checks. Fix for bug 305218.
1437 2005-05-24 Maxim V. Dziumanenko <mvd@mylinux.ua>
1439 * configure.ac: Added "uk" to ALL_LINGUAS.
1441 2005-05-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1443 * cut-n-paste/zoom-control/ephy-zoom.c:
1444 (ephy_zoom_get_changed_zoom_level):
1445 * cut-n-paste/zoom-control/ephy-zoom.h:
1446 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_set_property),
1447 (ev_view_get_property), (ev_view_class_init), (ev_view_set_zoom):
1448 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
1449 (ev_window_cmd_view_zoom_out), (ev_window_zoom_changed_cb),
1450 (zoom_control_changed_cb), (ev_window_init):
1452 Fix minor points related to moving best fit up. Introduce
1453 "zoom" property and make zoom control change it's value on
1454 notify::zoom signals. Fix for 305080.
1456 2005-05-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1458 * data/evince-ui.xml:
1459 * shell/ev-window.c: (set_view_actions_sensitivity):
1461 Use + and - as accels for zoom in and zoom out. Fix for 305001.
1463 2005-05-22 Marco Pesenti Gritti <mpg@redhat.com>
1467 Depends on poppler 0.3.2
1469 2005-05-22 Marco Pesenti Gritti <mpg@redhat.com>
1471 * cut-n-paste/recent-files/egg-recent-item.c:
1472 (egg_recent_item_get_short_name):
1473 * cut-n-paste/toolbar-editor/Makefile.am:
1474 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
1475 (new_pixbuf_from_widget):
1476 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
1477 * cut-n-paste/toolbar-editor/egg-marshal.c:
1478 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
1479 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
1483 Sat May 21 23:18:30 2005 Jonathan Blandford <jrb@redhat.com>
1485 * tiff/tiff-document.c: Rough TIFF backend.
1487 2005-05-21 Marco Pesenti Gritti <mpg@redhat.com>
1491 * cut-n-paste/toolbar-editor/Makefile.am:
1495 2005-05-21 Marco Pesenti Gritti <mpg@redhat.com>
1497 * shell/ev-view.c: (jump_to_find_result), (ev_view_can_find_next),
1498 (ev_view_find_next), (ev_view_find_previous):
1500 Remove the locks around get_n_results
1502 2005-05-21 Juerg Billeter <j@bitron.ch>
1504 * pdf/ev-poppler.c: (pdf_document_ps_exporter_begin):
1506 Pass correct number of pages to poppler.
1508 2005-05-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1512 * data/evince.desktop.in:
1513 * data/evince.desktop.in.in:
1516 Add conditionally dvi and djvu to desktop types. Fix for 304658.
1518 Sat May 21 00:21:30 2005 Jonathan Blandford <jrb@redhat.com>
1520 * shell/ev-view.c: (view_update_adjustments),
1521 (view_set_adjustment_values): cast adjustmen->value to (int)
1522 before using it. Otherwise, we get off by a pixel in some
1525 (draw_one_page): Draw the border on expose.
1527 Fri May 20 22:05:25 2005 Jonathan Blandford <jrb@redhat.com>
1529 * *shell/ev-view.c: Patch from Nickolay V. Shmyrev to reset the
1530 adjustment when the mode changes, #304923
1532 Fri May 20 02:00:03 2005 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1534 * shell/ev-view.c: Use gdk_widget_queue_draw to remove
1535 flickering on resize but still use gdk_window_scroll on
1538 Fri May 20 01:46:57 2005 Jonathan Blandford <jrb@redhat.com>
1540 * shell/ev-view.c: Patch from Nickolay Shmyrev to fix the -p
1543 Fri May 20 01:27:01 2005 Jonathan Blandford <jrb@redhat.com>
1545 * shell/ev-view.c: Patch from Nickolay Shmyrev to to scroll to
1546 second page on page_changed if possible, #304669
1548 Fri May 20 01:07:15 2005 Jonathan Blandford <jrb@redhat.com>
1550 * shell/ev-view.c (view_update_adjustments): Use gdk_window_scroll
1551 instead of gtk_widget_queue_draw. Massive speedups in scrolling.
1553 Fri May 20 01:05:10 2005 Jonathan Blandford <jrb@redhat.com>
1556 * shell/ev-view.c:(ev_view_size_allocate), (ev_view_class_init),
1557 (zoom_for_size_fit_width), (zoom_for_size_best_fit),
1558 (ev_view_zoom_for_size_presentation),
1559 (ev_view_zoom_for_size_continuous_and_dual_page),
1560 (ev_view_zoom_for_size_continuous),
1561 (ev_view_zoom_for_size_dual_page),
1562 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size):
1564 * shell/ev-window.c: (update_view_size),
1565 (ev_window_sizing_mode_changed_cb):
1567 Patch from Nickolay Shmyrev <nshmyrev@yandex.ru> to handle
1568 the scrollbars. It's not 100% right, but it's much closer. Kills
1569 an infinite loop, #304769
1572 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
1574 * data/evince-ui.xml:
1575 * shell/ev-view.c: (ev_view_scroll_view), (ev_view_class_init):
1576 * shell/ev-window.c: (set_view_actions_sensitivity):
1578 Make PgUp/Down behave like Space
1580 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
1582 * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
1583 * backend/ev-ps-exporter.h:
1584 * pdf/ev-poppler.cc:
1585 * ps/ps-document.c: (ps_document_ps_export_begin):
1586 * shell/ev-print-job.c: (idle_print_handler):
1588 Adapt to new poppler api
1590 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
1592 * cut-n-paste/zoom-control/ephy-zoom-control.c:
1593 (ephy_zoom_control_init):
1595 Translate zoom levels
1597 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
1599 * cut-n-paste/zoom-control/ephy-zoom.c:
1600 (ephy_zoom_get_zoom_level_index):
1602 Fix current zoom -> zoom control match
1604 2005-05-18 James Bowes <bowes@cs.dal.ca>
1606 * shell/ev-window.c: (ev_window_init): Give focus to the ev-view,
1607 rather than the scrolled_window that it's in. Fixes bug #304655.
1609 Tue May 17 22:54:17 2005 Jonathan Blandford <jrb@redhat.com>
1611 * shell/ev-view.c: (view_update_adjustments),
1612 (view_set_adjustment_values), (view_update_range_and_current_page),
1613 (view_scroll_to_page), (set_scroll_adjustment),
1614 (ev_view_set_scroll_adjustments), (add_scroll_binding_keypad),
1615 (ev_view_scroll), (ev_view_scroll_view),
1616 (ensure_rectangle_is_visible), (find_page_at_location),
1617 (get_link_at_location), (go_to_link), (status_message_from_link),
1618 (ev_view_size_request_continuous_dual_page),
1619 (ev_view_size_request), (ev_view_size_allocate), (ev_view_realize),
1620 (ev_view_unrealize), (ev_view_expose_event),
1621 (ev_view_button_press_event), (ev_view_motion_notify_event),
1622 (ev_view_button_release_event), (ev_gdk_color_to_rgb),
1623 (draw_rubberband), (highlight_find_results), (draw_one_page),
1624 (ev_view_finalize), (ev_view_destroy), (ev_view_class_init),
1625 (ev_view_init), (find_changed_cb), (page_changed_cb),
1626 (on_adjustment_value_changed), (ev_view_new),
1627 (ev_view_set_document), (ev_view_set_zoom),
1628 (ev_view_set_continuous), (ev_view_set_dual_page),
1629 (ev_view_set_presentation), (ev_view_zoom_in), (ev_view_zoom_out),
1630 (zoom_for_size_fit_width), (zoom_for_size_best_fit),
1631 (ev_view_zoom_for_size_presentation),
1632 (ev_view_zoom_for_size_continuous_dual_page),
1633 (ev_view_zoom_for_size_continuous),
1634 (ev_view_zoom_for_size_dual_page),
1635 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
1636 (ev_view_get_status), (ev_view_set_status),
1637 (update_find_status_message), (ev_view_get_find_status),
1638 (ev_view_set_find_status), (jump_to_find_result),
1639 (jump_to_find_page), (compute_selections), (clear_selection),
1640 (ev_view_select_all), (get_selected_text), (ev_view_copy),
1641 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
1642 (ev_view_update_primary_selection),
1643 (ev_view_create_invisible_cursor), (ev_view_set_cursor):
1645 * shell/ev-window.c: (ev_window_open_page_label),
1646 (ev_window_cmd_view_reload), (ev_window_sizing_mode_changed_cb),
1648 * shell/ev-window.h:
1649 * shell/main.c: (load_files):
1651 Massive code clean up from Nickolay Shmyrev. Keep page offset
1652 when resizing. Remove the bin_window(). Also, patch from James
1653 Bowes to fix command line page, #300641
1655 2005-05-17 Marco Pesenti Gritti <mpg@redhat.com>
1657 * data/evince-ui.xml:
1660 * shell/ev-window.c: (update_action_sensitivity):
1662 Get rid of View->Normal Size, it's just confusing
1664 Tue May 17 00:51:21 2005 Jonathan Blandford <jrb@redhat.com>
1666 * backend/ev-document-info.h:
1667 * backend/ev-document.c: (ev_document_info_free): Free the
1670 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
1671 (clear_range), (add_range), (update_visible_range),
1672 (adjustment_changed_cb), (ev_sidebar_thumbnails_init),
1673 (ev_sidebar_thumbnails_set_document):
1674 * shell/ev-window.c: (ev_window_setup_document): Only render the
1675 visible thumbnails. It takes an instant to render, but it uses
1678 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
1680 * shell/ev-sidebar-links.c: (popup_menu_cb):
1684 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
1687 * shell/ev-sidebar-links.c: (build_popup_menu), (popup_menu_cb),
1688 (button_press_cb), (ev_sidebar_links_construct):
1690 Show the popup menu also on keybindings
1692 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
1694 * shell/ev-window.c: (ev_window_print), (ev_window_print_range):
1695 * shell/ev-window.h:
1697 Expose api to print a range (with dialog). Make private _print use
1700 * shell/ev-sidebar-links.c: (print_section_cb), (button_press_cb),
1701 (ev_sidebar_links_construct):
1703 Show a print context menu on linkx, it prints the selected
1706 2005-05-15 Carlos Garcia Campos <carlosgc@gnome.org>
1708 * shell/ev-sidebar.c: make the drop down menu as width as the toggle
1711 2005-05-12 Marco Pesenti Gritti <mpg@redhat.com>
1717 * shell/ev-window.c: (build_comments_string),
1718 (ev_window_cmd_help_about):
1720 Show poppler version/backend and authors
1722 2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
1724 * cut-n-paste/zoom-control/ephy-zoom.c:
1725 (ephy_zoom_get_zoom_level_index):
1726 * cut-n-paste/zoom-control/ephy-zoom.h:
1728 Move the best fit items at the top of the list
1730 2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
1732 * shell/ev-marshal.list:
1733 * shell/ev-page-action.c: (ev_page_action_widget_class_init),
1734 (activate_cb), (match_selected_cb), (activate_link_cb),
1735 (connect_proxy), (ev_page_action_class_init):
1736 * shell/ev-page-action.h:
1738 Use signals to notify action activation. Hopefully
1739 I did not break completion since I cant test...
1741 * shell/ev-window.c: (activate_link_cb), (activate_label_cb),
1742 (register_custom_actions):
1744 Connect to page selector actions and also grab focus on
1745 the view when activated.
1747 Wed May 11 01:18:29 2005 Jonathan Blandford <jrb@redhat.com>
1749 * pdf/ev-poppler.cc:
1750 * backend/ev-page-cache.c: make page size calculation consistent
1751 and set it to (int)( width * scale + 0.5). This makes the weird
1752 line going through the middle of the page go away.
1754 * shell/ev-view.c: move painting the background page after
1755 checking the expose area covers us.
1757 2005-05-11 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1759 * data/evince-password.glade:
1761 Mark labels as not translatable. Fix for bug 302842.
1763 2005-05-10 Francisco Javier F. Serrador <serrador@cvs.gnome.org>
1765 * configure.ac: Added "es" to ALL_LINGUAS.
1767 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
1769 * data/evince-toolbar.xml:
1770 * shell/ev-window.c: (update_action_sensitivity),
1771 (ev_window_setup_document), (ev_window_set_page_mode),
1774 Remove some leftover code from jrb first continous
1775 attempt. Use the new actions, we still need good icons
1778 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
1780 * shell/ev-page-action.c: (update_pages_label), (connect_proxy):
1782 Update label when connecting proxy. Fix a warning with NULL
1785 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
1787 * data/evince-ui.xml:
1788 * shell/ev-page-action.c: (ev_page_action_grab_focus):
1789 * shell/ev-page-action.h:
1790 * shell/ev-window.c: (ev_window_cmd_focus_page_selector):
1792 Add mnemonic for edit toolbar.
1793 ctrl+l focus the page entry.
1795 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
1798 * shell/ev-window.c: (ev_window_cmd_edit_toolbar_cb),
1800 * shell/main.c: (main):
1802 Put the toolbar xml in evince own dot dir
1804 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
1806 * shell/ev-window.c: (ev_window_init):
1808 Make the toolbar not removable
1810 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
1812 * data/evince-ui.xml:
1813 * shell/ev-sidebar-links.c: (ev_sidebar_links_get_treeview):
1814 * shell/ev-sidebar-links.h:
1815 * shell/ev-sidebar-thumbnails.c:
1816 (ev_sidebar_thumbnails_get_treeview):
1817 * shell/ev-sidebar-thumbnails.h:
1818 * shell/ev-view.c: (ev_view_scroll), (ev_view_scroll_view),
1819 (ev_view_class_init):
1821 * shell/ev-window.c: (update_action_sensitivity),
1822 (ev_window_cmd_scroll_forward), (ev_window_cmd_scroll_backward),
1823 (set_view_actions_sensitivity), (view_actions_focus_in_cb),
1824 (view_actions_focus_out_cb), (enable_view_actions_for_widget),
1827 This is evil... Make space/backspace global accelerators but
1828 enable them only for some widgets (sidebars and view).
1829 I dont like it, but I dont know a better way... :/
1831 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
1833 * shell/ev-page-action.c: (ev_page_action_widget_set_page_cache),
1834 (ev_page_action_widget_finalize),
1835 (ev_page_action_widget_class_init), (update_page_cache):
1837 Keep a weak reference on proxy->page_cache so that we
1838 dont try to disconnect the signal if the object is already
1839 gone. Maybe there is a better way to cleanup reference handling
1840 in page action though...
1842 2005-05-10 Juerg Billeter <j@bitron.ch>
1844 * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
1845 * backend/ev-ps-exporter.h:
1846 * pdf/ev-poppler.cc: (pdf_document_ps_exporter_begin):
1847 * ps/ps-document.c: (ps_document_ps_export_begin):
1849 Change api to pass print range to ps_exporter_begin. The pdf backend
1850 requires this information.
1852 * shell/ev-print-job.c: (idle_print_handler):
1856 2005-05-10 Juerg Billeter <j@bitron.ch>
1858 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
1859 (idle_print_handler)
1860 * shell/ev-window.c: (ev_window_print):
1862 Support printing page range, based on patch by Amaury Jacquot
1864 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
1866 * data/evince-toolbar.xml:
1868 Add zoom control to available items
1870 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
1872 * shell/ev-window.c: (update_action_sensitivity):
1874 Set slash action insensitive when appropriate
1876 2005-05-10 Christian Persch <chpe@gnome.org>
1878 * cut-n-paste/zoom-control/ephy-zoom-action.c: (create_menu_item):
1880 Fix warning on the overflow menu
1882 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
1884 * shell/ev-window.c: (sanity_check_uri), (ev_window_open):
1886 Check for uri correctness/existence
1888 2005-05-09 Juerg Billeter <j@bitron.ch>
1890 * shell/ev-window.c: (using_postscript_printer):
1892 LPD printers use postscript, too
1894 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
1896 * shell/ev-window.c: (register_custom_actions):
1898 The zoom one is actually sort of useful,
1901 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
1903 * shell/ev-window.c: (register_custom_actions):
1905 Hide page/zoom controls from overflow, they
1908 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
1910 * cut-n-paste/update-from-egg.sh:
1912 Share it between all cut-n-paste subdirs
1914 * cut-n-paste/recent-files/Makefile.am:
1916 Fix to use "global" update-from-egg.sh
1918 * cut-n-paste/recent-files/egg-recent-model.c:
1919 (egg_recent_model_changed_timeout), (egg_recent_model_finalize):
1920 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
1921 (egg_recent_view_gtk_clear), (egg_recent_view_gtk_set_list),
1922 (egg_recent_view_gtk_finalize), (egg_recent_view_gtk_set_menu):
1926 * cut-n-paste/toolbar-editor/Makefile.am:
1928 Fix to use "global" update-from-egg.sh
1930 * cut-n-paste/toolbar-editor/eggmarshalers.list:
1934 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
1937 * cut-n-paste/Makefile.am:
1938 * cut-n-paste/recent-files/Makefile.am:
1939 * cut-n-paste/toolbar-editor/.cvsignore:
1940 * cut-n-paste/toolbar-editor/Makefile.am:
1941 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
1942 (egg_editable_toolbar_get_type), (get_toolbar_position),
1943 (get_n_toolbars), (get_dock_nth), (get_toolbar_nth), (find_action),
1944 (drag_data_delete_cb), (drag_begin_cb), (drag_end_cb),
1945 (drag_data_get_cb), (set_drag_cursor), (unset_drag_cursor),
1946 (set_item_drag_source), (create_item_from_action), (create_item),
1947 (data_is_separator), (drag_data_received_cb), (remove_toolbar_cb),
1948 (popup_toolbar_context_menu_cb), (free_dragged_item),
1949 (toolbar_drag_drop_cb), (toolbar_drag_motion_cb),
1950 (toolbar_drag_leave_cb), (create_dock), (set_fixed_style),
1951 (unset_fixed_style), (toolbar_changed_cb), (unparent_fixed),
1952 (update_fixed), (toolbar_added_cb), (toolbar_removed_cb),
1953 (item_added_cb), (item_removed_cb),
1954 (egg_editable_toolbar_construct),
1955 (egg_editable_toolbar_disconnect_model),
1956 (egg_editable_toolbar_deconstruct),
1957 (egg_editable_toolbar_set_model),
1958 (egg_editable_toolbar_set_ui_manager),
1959 (egg_editable_toolbar_set_property),
1960 (egg_editable_toolbar_get_property),
1961 (egg_editable_toolbar_class_init), (egg_editable_toolbar_init),
1962 (egg_editable_toolbar_finalize), (egg_editable_toolbar_new),
1963 (egg_editable_toolbar_new_with_model),
1964 (egg_editable_toolbar_get_edit_mode),
1965 (egg_editable_toolbar_set_edit_mode), (egg_editable_toolbar_show),
1966 (egg_editable_toolbar_hide), (egg_editable_toolbar_set_fixed),
1967 (egg_editable_toolbar_set_drag_dest), (fake_expose_widget),
1968 (new_pixbuf_from_widget), (new_separator_pixbuf),
1969 (update_separator_image), (style_set_cb),
1970 (_egg_editable_toolbar_new_separator_image),
1971 (egg_editable_toolbar_get_model):
1972 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
1973 * cut-n-paste/toolbar-editor/egg-marshal.c:
1974 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
1975 (egg_toolbar_editor_get_type), (compare_actions), (find_action),
1976 (egg_toolbar_editor_set_ui_manager), (toolbar_removed_cb),
1977 (egg_toolbar_editor_set_model), (egg_toolbar_editor_set_property),
1978 (egg_toolbar_editor_get_property), (egg_toolbar_editor_class_init),
1979 (egg_toolbar_editor_finalize), (egg_toolbar_editor_new),
1980 (drag_begin_cb), (drag_end_cb), (editor_drag_data_received_cb),
1981 (editor_drag_data_delete_cb), (drag_data_get_cb),
1982 (elide_underscores), (set_drag_cursor), (event_box_realize_cb),
1983 (editor_create_item), (update_editor_sheet), (setup_editor),
1984 (egg_toolbar_editor_init), (egg_toolbar_editor_add_action),
1985 (parse_item_list), (model_has_action), (update_actions_list),
1986 (egg_toolbar_editor_load_actions):
1987 * cut-n-paste/toolbar-editor/egg-toolbar-editor.h:
1988 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
1989 (egg_toolbars_model_get_type), (egg_toolbars_model_to_xml),
1990 (safe_save_xml), (egg_toolbars_model_save), (toolbars_toolbar_new),
1991 (toolbars_item_new), (free_toolbar_node), (free_item_node),
1992 (egg_toolbars_model_get_flags), (egg_toolbars_model_set_flags),
1993 (egg_toolbars_model_add_separator), (impl_add_item),
1994 (parse_item_list), (egg_toolbars_model_add_toolbar),
1995 (parse_toolbars), (egg_toolbars_model_load), (impl_get_item_id),
1996 (impl_get_item_data), (impl_get_item_type),
1997 (_egg_accumulator_STRING), (egg_toolbars_model_class_init),
1998 (egg_toolbars_model_init), (free_toolbar),
1999 (egg_toolbars_model_finalize), (egg_toolbars_model_new),
2000 (egg_toolbars_model_remove_toolbar),
2001 (egg_toolbars_model_remove_item), (egg_toolbars_model_move_item),
2002 (egg_toolbars_model_n_items), (egg_toolbars_model_item_nth),
2003 (egg_toolbars_model_n_toolbars), (egg_toolbars_model_toolbar_nth),
2004 (egg_toolbars_model_add_item), (egg_toolbars_model_get_item_id),
2005 (egg_toolbars_model_get_item_data),
2006 (egg_toolbars_model_get_item_type):
2007 * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
2008 * cut-n-paste/toolbar-editor/eggmarshalers.list:
2010 * data/evince-toolbar.xml:
2011 * data/evince-ui.xml:
2012 * data/hand-open.png:
2014 * shell/Makefile.am:
2015 * shell/ev-window.c: (update_chrome_visibility),
2016 (ev_window_cmd_edit_toolbar_cb), (ev_window_cmd_edit_toolbar),
2017 (ev_window_dispose), (ev_window_init):
2019 Implement epiphany like toolbar editor. Based on patch by
2020 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2022 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2024 * shell/ev-sidebar-thumbnails.c: (page_changed_cb):
2026 Use set_cursor instead of set_selection, so that
2027 the keyboard focus moves too.
2029 2005-05-09 Aleksey Kliger <akliger@gmail.com>
2031 * dvi/mdvi-lib/tfmfile.c: (lookup_font_metrics):
2033 Fix infinite loop when loading Type1 fonts
2035 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2037 * data/evince-ui.xml:
2038 * shell/ev-window.c:
2042 2005-05-09 Thomas de Grenier de Latour <degrenier@easyconnect.fr>
2046 Make --disable really disable
2048 2005-05-07 Juerg Billeter <j@bitron.ch>
2050 * backend/ev-page-cache.c: (ev_page_cache_set_page_label):
2052 Compare page labels even without has_labels set, fixes setting page
2055 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2057 * shell/ev-view.c: (ev_view_create_invisible_cursor),
2058 (ev_view_set_cursor), (ev_view_button_press_event),
2059 (ev_view_motion_notify_event), (ev_view_button_release_event),
2062 Implement middle button scrolling. Based on a patch
2063 by Tommi Komulainen <tommi.komulainen@iki.fi>.
2065 2005-05-08 Marco Pesenti Gritti <mpg@redhat.com>
2067 * shell/ev-document-types.c: (get_slow_mime_type),
2068 (get_document_type_from_mime), (ev_document_type_lookup):
2069 * shell/ev-document-types.h:
2071 Change api to lookup from uri. Do fast lookup first, if the
2072 type is unknown try with data sniffing.
2074 * shell/ev-window.c: (ev_window_open), (ev_window_open_uri_list):
2075 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
2079 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2081 * thumbnailer/Makefile.am:
2085 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2092 * data/evince-ui.xml:
2094 Hide presentation mode for now
2096 * shell/ev-view.c: (highlight_find_results):
2098 Show current find selection only on current page
2100 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2102 * shell/ev-view.c: (ev_view_select_all):
2104 Compute size of the actual page, not of
2107 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2109 * shell/ev-view.c: (clear_selection), (ev_view_finalize),
2110 (view_rect_to_doc_rect), (compute_selections),
2111 (ev_view_bin_expose), (ev_view_select_all), (get_selected_text),
2112 (ev_view_copy), (ev_view_primary_get_cb),
2113 (ev_view_primary_clear_cb), (ev_view_update_primary_selection),
2114 (ev_view_button_press_event), (ev_view_motion_notify_event),
2115 (ev_view_button_release_event), (page_changed_cb):
2119 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2121 * shell/ev-view.c: (compute_border), (get_page_extents),
2122 (doc_rect_to_view_rect), (highlight_find_results),
2123 (ev_view_bin_expose), (ev_view_select_all),
2124 (ev_view_motion_notify_event), (update_find_status_message),
2125 (jump_to_find_result), (jump_to_find_page):
2127 First go at fixing search, still buggy
2129 2005-05-04 Kristian Høgsberg <krh@redhat.com>
2131 * shell/ev-sidebar.c (ev_sidebar_init): Remove frame around
2132 dropdown box and button at the top of the sidebar.
2134 2005-05-02 James Bowes <bowes@cs.dal.ca>
2136 * configure.ac: Output zoom-control Makefile.
2137 * cut-n-paste/Makefile.am: build zoom-control subdir.
2138 * cut-n-paste/zoom-control/ephy-zoom-action.c:
2139 * cut-n-paste/zoom-control/ephy-zoom-action.h:
2140 * cut-n-paste/zoom-control/ephy-zoom-control.c:
2141 * cut-n-paste/zoom-control/ephy-zoom-control.h:
2142 * cut-n-paste/zoom-control/ephy-zoom.c:
2143 * cut-n-paste/zoom-control/ephy-zoom.h: New files imported
2144 from epiphany, and modified to add a separator into the menu.
2145 * cut-n-paste/zoom-control/Makefile.am: Build zoom-control.
2146 * data/evince-ui.xml: Replace old zoom toolbar actions with new
2147 zoom-control action.
2148 * shell/Makefile.am: Include zoom-control flags.
2149 * shell/ev-view.c: (ev_view_set_zoom), (ev_view_get_zoom),
2150 (ev_view_get_sizing_mode), (ev_view_zoom_in), (ev_view_zoom_out),
2151 (ev_view_zoom_for_size_presentation),
2152 (ev_view_zoom_for_size_continuous_and_dual_page),
2153 (ev_view_zoom_for_size_continuous),
2154 (ev_view_zoom_for_size_dual_page),
2155 (ev_view_zoom_for_size_single_page), (ev_view_zoom_normal):
2156 s/ev_view_zoom/ev_view_set_zoom/ and make public, add
2157 ev_view_get_zoom and ev_view_get_sizing_mode.
2159 * shell/ev-window.c: (update_action_sensitivity),
2160 (update_sizing_buttons), (zoom_control_changed_cb),
2161 (register_custom_actions): Initialize and use the zoom-control
2164 Sun May 1 00:46:47 2005 Jonathan Blandford <jrb@redhat.com>
2166 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init): Change the
2167 preview cache back to 1. Don't know when it got set to 0.
2169 * shell/ev-view.c: (compute_border), (ev_view_realize),
2170 (draw_one_page), (ev_view_set_property), (ev_view_get_property),
2171 (ev_view_class_init), (ev_view_init), (ev_view_set_fullscreen),
2172 (ev_view_get_fullscreen), (ev_view_set_presentation),
2173 (ev_view_get_presentation), (ev_view_set_sizing_mode),
2174 (ev_view_zoom_for_size_presentation), (ev_view_set_zoom_for_size):
2176 * shell/ev-window.c:
2177 (update_chrome_visibility),
2178 (ev_window_cmd_continuous), (ev_window_cmd_dual),
2179 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
2180 (update_document_mode), (ev_window_update_fullscreen_action),
2181 (ev_window_fullscreen), (ev_window_unfullscreen),
2182 (ev_window_cmd_view_fullscreen),
2183 (ev_window_update_presentation_action),
2184 (ev_window_run_presentation), (ev_window_stop_presentation),
2185 (ev_window_cmd_view_presentation), (ev_window_state_event),
2186 (ev_window_focus_in_event), (ev_window_focus_out_event),
2187 (ev_window_cmd_escape), (ev_window_sidebar_visibility_changed_cb):
2188 * data/evince-ui.xml: Initial presentation mode. We should
2189 probably hide this until it's done, as it's quite rough. Also,
2190 change full-screen to fullscreen and add two getters to EvView.
2192 2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
2194 * shell/ev-page-action.c: (update_page_cache),
2195 (ev_page_action_dispose):
2196 * shell/ev-window.c: (destroy_fullscreen_popup),
2197 (ev_window_create_fullscreen_popup):
2199 Use connect_object rather than explicitly
2200 disconnect on dispose.
2202 2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
2204 * shell/ev-page-action.c: (update_page_cache),
2205 (ev_page_action_dispose):
2207 2005-04-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2209 * backend/ev-page-cache.c: (_ev_page_cache_new),
2210 (ev_page_cache_set_page_label),
2211 (ev_page_cache_has_nonnumeric_page_labels):
2212 * backend/ev-page-cache.h:
2213 * shell/ev-page-action.c: (update_pages_label):
2215 If all page labels are numeric, fallback to default
2216 way to display number of pages. See bug 173185.
2218 2005-04-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2220 * shell/ev-page-action.c: (ev_page_action_dispose):
2221 * shell/ev-view.c: (view_update_range_and_current_page):
2222 * shell/ev-window.c: (ev_window_dispose):
2224 Set page on scroll in continuous mode. Fixes bug 301986.
2225 Also cleanup callbacks on destroy of EvWindow and EvPageAction.
2227 2005-04-26 Marco Pesenti Gritti <mpg@redhat.com>
2231 Require poppler 0.3.0
2233 2005-04-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2235 * shell/Makefile.am, configure.ac: Fix build problems
2236 with t1lib. Bug 301996.
2238 2005-04-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2240 * shell/ev-view.c: (ev_view_scroll_event):
2242 Scroll up increase zoom
2244 2005-04-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2246 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_class_init),
2247 (ev_view_set_sizing_mode),
2248 (ev_view_zoom_for_size_continuous_and_dual_page),
2249 (ev_view_zoom_for_size_continuous):
2250 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
2251 (ev_window_cmd_view_page_width), (ev_window_cmd_view_zoom_in),
2252 (ev_window_cmd_view_zoom_out), (ev_window_sizing_mode_changed_cb),
2255 Control + Scroll does zooming, Shift + Scroll scrolls horizontally
2256 Fix for 165473 and 165472.
2258 2005-04-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2261 * thumbnailer/Makefile.am:
2262 * thumbnailer/evince-thumbnailer-djvu.schemas.in:
2263 * thumbnailer/evince-thumbnailer-dvi.schemas.in:
2264 * thumbnailer/evince-thumbnailer.schemas.in:
2266 Make thumbnailer schemas translatable. Fix for bug 301773
2268 * thumbnailer/evince-thumbnailer-djvu.schemas:
2269 * thumbnailer/evince-thumbnailer-dvi.schemas:
2270 * thumbnailer/evince-thumbnailer.schemas:
2274 Sun Apr 24 01:37:39 2005 Jonathan Blandford <jrb@redhat.com>
2276 * shell/ev-view.c (ev_view_init): forgot to set this.
2278 Sun Apr 24 01:07:27 2005 Jonathan Blandford <jrb@redhat.com>
2280 * shell/ev-view.c: (find_page_at_location),
2281 (get_link_at_location),
2282 (ev_view_set_show_border), (ev_view_set_spacing),
2283 (ev_view_zoom_for_size_continuous_and_dual_page),
2284 (ev_view_zoom_for_size_continuous): Fix links for dual/continuous.
2285 Also, add a quick fix measuring of widths. Also, removed
2286 ev_view_set_spacing and ev_view_set_show_border.
2288 * shell/ev-window.c: (ev_window_unfullscreen),
2289 (ev_window_cmd_view_fullscreen): Don't adjust the border/spacing.
2291 2005-04-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2293 * shell/ev-view.c: (view_update_range_and_current_page),
2296 Fix crash on exit and scrolling to page in continuous view.
2298 Sat Apr 23 13:13:04 2005 Jonathan Blandford <jrb@redhat.com>
2301 * backend/ev-page-cache.c: (_ev_page_cache_new),
2302 (ev_page_cache_get_max_width_size),
2303 (ev_page_cache_get_max_height_size):
2304 * backend/ev-page-cache.h:
2305 * data/evince-ui.xml:
2306 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init):
2307 * shell/ev-view.c: (view_update_adjustments),
2308 (view_update_range_and_current_page), (get_bounding_box_size),
2309 (ev_view_size_request_continuous_and_dual_page),
2310 (ev_view_size_request_continuous),
2311 (ev_view_size_request_dual_page),
2312 (ev_view_size_request_single_page), (ev_view_size_request),
2313 (ev_view_size_allocate), (get_page_extents), (draw_one_page),
2314 (ev_view_bin_expose), (ev_view_expose_event),
2315 (ev_view_set_property), (ev_view_get_property),
2316 (ev_view_class_init), (ev_view_init), (ev_view_new),
2317 (page_changed_cb), (ev_view_zoom), (ev_view_set_continuous),
2318 (ev_view_set_dual_page), (ev_view_set_full_screen),
2319 (ev_view_set_presentation), (ev_view_set_sizing_mode),
2320 (ev_view_can_zoom_in), (ev_view_can_zoom_out), (ev_view_zoom_in),
2321 (ev_view_zoom_out), (zoom_for_size_fit_width),
2322 (zoom_for_size_best_fit),
2323 (ev_view_zoom_for_size_continuous_and_dual_page),
2324 (ev_view_zoom_for_size_continuous),
2325 (ev_view_zoom_for_size_dual_page),
2326 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
2327 (ev_view_show_cursor), (ev_sizing_mode_get_type):
2329 * shell/ev-window.c: (update_action_sensitivity),
2330 (ev_window_cmd_continuous), (ev_window_cmd_dual),
2331 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
2332 (update_sizing_buttons), (ev_window_cmd_view_zoom_in),
2333 (ev_window_cmd_view_zoom_out), (update_view_size),
2334 (ev_window_set_sizing_mode), (ev_window_init):
2336 Add Continuous and Dual page modes.
2338 2005-04-23 James Bowes <bowes@cs.dal.ca>
2340 * dvi/dvi-document.c: (dvi_document_load),
2341 (dvi_document_thumbnails_get_thumbnail),
2342 (dvi_document_init_params): Fix up some mixups between
2343 width and height to correct thumbnail rendering.
2345 2005-04-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2347 * dvi/mdvi-lib/private.h:
2348 * dvi/mdvi-lib/setup.c: (mdvi_init_kpathsea):
2350 Suppess output for kpathsea during font generation. Thanks to
2353 Fri Apr 22 19:57:46 2005 Jonathan Blandford <jrb@redhat.com>
2360 * Makefile.am: fix distcheck.
2362 2005-04-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2364 * shell/ev-sidebar-links.c: (selection_changed_callback),
2365 (update_page_callback), (row_activated_callback),
2366 (job_finished_callback), (ev_sidebar_links_set_document):
2368 Fix for bug #169901. Double click on links expands tree.
2370 2005-03-14 Bryan Clark <clarkbw@cvs.gnome.org>
2372 * shell/ev-window.c (ev_window_init): Removed fullscreen toolbar
2373 hard-coded style. Fix for bug 170111
2375 2005-04-22 Kristian Høgsberg <krh@redhat.com>
2377 * shell/ev-view.c (highlight_find_results): Remove unnecessary
2380 2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
2382 * thumbnailer/evince-thumbnailer.schemas: real fix for bug 172496
2384 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
2386 * pdf/ev-poppler.cc:
2387 * shell/ev-view.c: (highlight_find_results):
2389 Fix find on single page documents
2391 2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
2393 * data/evince.schemas.in: fix for bug 301390
2395 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
2397 * shell/ev-view.c: (ev_view_can_zoom_in), (ev_view_can_zoom_out),
2398 (ev_view_zoom_out), (ev_view_zoom_normal):
2400 * shell/ev-window.c: (update_action_sensitivity),
2401 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
2402 (ev_window_cmd_view_zoom_in), (ev_window_cmd_view_zoom_out),
2403 (ev_window_cmd_view_normal_size):
2405 Fix normal size zoom. Make zoom in/zoom out unsensitive when
2406 they are behyond the limits. Tweak MAX_ZOOM to 6, sucks but
2409 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
2413 Depend on 2.57, 2.59 doesnt seem to be necessary
2415 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
2417 * shell/ev-page-action.c: (update_pages_label), (page_changed_cb),
2420 Put back total number of pages as (1 of 1234)
2422 Thu Apr 21 23:37:52 2005 Jonathan Blandford <jrb@redhat.com>
2424 * shell/ev-pixbuf-cache.c (dispose_cache_job_info): actually
2427 * backend/ev-document.h: Remove EV_DOC_MUTEX in favor of a locking
2428 function. This helps debugging.
2430 2005-04-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2432 * djvu/djvu-document.c: (djvu_document_class_init),
2433 (djvu_document_get_info), (djvu_document_document_iface_init):
2434 * dvi/dvi-document.c: (dvi_document_class_init),
2435 (dvi_document_get_info), (dvi_document_document_iface_init):
2437 Dummy implementation of get_info method for dvi and djvu. Fix
2438 crashes with those backends
2440 2005-04-20 Marco Pesenti Gritti <mpg@redhat.com>
2442 * data/evince.desktop.in:
2444 Add application/x-gzpostscript
2446 2005-04-20 Bryan Clark <clarkbw@cvs.gnome.org>
2448 * data/evince.schemas.in: Added real long descriptions,
2451 * README: Added actual text, closes bug 171869
2453 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
2455 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
2459 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
2461 * backend/ev-document-info.h:
2463 s/GDate */GDate so we can just use g_free
2465 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
2467 * shell/ev-window.c: (update_document_mode),
2468 (ev_window_setup_document):
2470 Show the window in fullscreen when specified by
2473 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
2475 * backend/ev-document.c: (ev_document_class_init),
2476 (ev_document_get_info), (ev_document_render_pixbuf):
2477 * backend/ev-document.h:
2478 * backend/ev-page-cache.c: (_ev_page_cache_new):
2479 * pdf/ev-poppler.cc:
2480 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
2481 (pixbuf_document_get_info), (pixbuf_document_document_iface_init):
2482 * ps/ps-document.c: (ps_document_class_init), (document_load),
2483 (ps_document_get_info), (ps_document_document_iface_init):
2485 Remove get_title from the interface, we can just use document info
2487 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
2489 * backend/Makefile.am:
2490 * backend/ev-document.c: (ev_document_render_get_info):
2491 * backend/ev-document.h:
2492 * pdf/ev-poppler.cc:
2494 Initial support for document info. Based on jrb patch.
2496 2005-04-19 Paolo Borelli <pborelli@katamail.com>
2498 * shell/ev-window.c: (ev_window_state_event),
2499 (ev_window_class_init), (ev_window_init):
2501 Doesn't show resize grip when maximized. See bug #301053
2503 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2507 ev-sidebar-thumbnails now has translatable labels
2509 * shell/Makefile.am:
2510 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document),
2511 (ev_sidebar_links_support_document), (ev_sidebar_links_get_label),
2512 (ev_sidebar_links_page_iface_init):
2513 * shell/ev-sidebar-links.h:
2514 * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
2515 (ev_sidebar_page_support_document), (ev_sidebar_page_set_document),
2516 (ev_sidebar_page_get_label):
2517 * shell/ev-sidebar-page.h:
2518 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_new),
2519 (ev_sidebar_thumbnails_set_document),
2520 (ev_sidebar_thumbnails_support_document),
2521 (ev_sidebar_thumbnails_get_label),
2522 (ev_sidebar_thumbnails_page_iface_init):
2523 * shell/ev-sidebar-thumbnails.h:
2524 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
2525 (ev_sidebar_set_document):
2526 * shell/ev-sidebar.h:
2527 * shell/ev-window.c: (ev_window_setup_document), (ev_window_init):
2529 Small rework of sidebar code. Now sidebar pages should implement
2530 EvSidebarPage interface. That makes page management in EvSidebar
2531 easier. See bug #164811 for details
2533 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2535 * shell/ev-application.c: (ev_application_open):
2536 * shell/ev-document-types.c:
2538 Fix build error and small problem with application exit
2540 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2542 * thumbnailer/Makefile.am:
2543 * thumbnailer/evince-thumbnailer-djvu.schemas:
2544 * thumbnailer/evince-thumbnailer-dvi.schemas:
2546 Conditionally install schemas for djvu/dvi thumbnailer
2548 2005-04-18 David Malcolm <dmalcolm@redhat.com>
2550 * shell/ev-document-types.h:
2551 * shell/ev-document-types.c:
2552 New files, handling the mapping from mimetypes to backends
2554 * shell/ev-window.c:
2555 * thumbnailer/evince-thumbnailer.c:
2556 Use the ev-document-types code
2558 * shell/Makefile.am:
2559 Added new convenience library libevbackendfactory_la, containing
2560 the new mimetype->backend logic; moved the backends into it.
2562 * thumbnailer/Makefile.am:
2563 Make the thumbnailer link with the libevbackend.la convenience
2564 library, rather than having a duplicate of the backend logic here.
2566 2005-04-18 Paolo Borelli <pborelli@katamail.com>
2568 * shell/ev-stock-icons.c: constify some vars.
2569 * shell/ev-window.c: ditto.
2571 2005-04-18 Marco Pesenti Gritti <mpg@redhat.com>
2573 * ps/ps-document.c (get_page_orientation):
2575 Respect document orientation
2577 2005-04-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2581 * shell/Makefile.am:
2583 Move library dependencies to components.
2585 * shell/ev-window.c: (update_window_title),
2586 (start_loading_document):
2588 Fix display of uris with spaces. Bug 168358.
2590 Sat Apr 16 18:53:47 2005 Jonathan Blandford <jrb@redhat.com>
2592 * shell/ev-sidebar-links.c: (selection_changed_cb):
2593 * shell/ev-view.c: (ev_view_finalize), (go_to_link),
2594 (ev_view_button_release_event), (ev_view_set_document):
2596 * shell/ev-window.c: (find_bar_search_changed_cb):
2597 * shell/ev-window.h: Minor cleanups removing some dead code.
2599 2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2601 * backend/ev-page-cache.c: (_ev_page_cache_new):
2603 Set current page to 0 if document has pages.
2605 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
2607 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
2609 Initialize GError to NULL, fix a crash when loading fails.
2611 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
2613 * shell/ev-window.c: (update_view_size):
2615 Calculate shadow size only when there is actually
2618 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
2620 * shell/ev-view.c: (ev_view_set_spacing), (ev_view_init):
2623 Allow setting view spacing, default to 0
2625 * shell/ev-window.c: (ev_window_unfullscreen),
2626 (ev_window_cmd_view_fullscreen), (ev_window_init):
2628 Remove spacing in fullscreen mode
2630 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
2632 * shell/ev-view.c: (compute_border), (compute_zoom_factor),
2633 (ev_view_size_request), (expose_bin_window),
2634 (ev_view_set_show_border), (ev_view_init), (page_changed_cb):
2636 * shell/ev-window.c: (ev_window_unfullscreen),
2637 (ev_window_cmd_view_fullscreen):
2639 Do not draw the border in fulscreen
2641 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
2643 * shell/ev-view.c: (ev_view_get_offsets), (compute_zoom_factor),
2644 (ev_view_size_request), (expose_bin_window), (ev_view_select_all),
2645 (find_page_at_location), (page_changed_cb):
2647 Rework border calculation, so that I can more easily disable it.
2648 Code somewhat cleaner too.
2650 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
2652 * backend/ev-page-cache.c: (ev_page_cache_init),
2653 (_ev_page_cache_new):
2655 Remove some assertions, documents can have 0 pages.
2656 Make initial current page -1.
2658 * shell/ev-page-action.c: (page_changed_cb):
2660 Show "" if current page is -1
2662 * shell/ev-window.c: (update_action_sensitivity),
2663 (ev_window_setup_document):
2665 When document has 0 pages do not set the view
2666 and make nearly everything insensitive.
2668 2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2670 * shell/ev-page-view.c:
2671 * shell/ev-page-view.h:
2673 Remove unused files.
2675 * shell/ev-sidebar-thumbnails.c:
2676 (ev_sidebar_thumbnails_set_document):
2677 * shell/ev-sidebar.c: (ev_sidebar_set_document),
2678 (ev_sidebar_supports_document):
2679 * shell/ev-sidebar.h:
2680 * shell/ev-window.c: (ev_window_setup_document):
2682 Doesn't show thumbnails if document has 1 page. Make
2683 sidebar menu entries sensitive only if if they have
2684 sense. Fix bug 164811.
2686 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
2688 * shell/ev-view.c: (compute_zoom_factor), (ev_view_size_request),
2689 (page_changed_cb), (ev_view_zoom), (ev_view_zoom_in),
2690 (ev_view_zoom_out), (ev_view_set_size):
2692 Rework sizing to deal with documents with not uniform page
2695 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
2697 * backend/ev-page-cache.c: (_ev_page_cache_new):
2699 Fix several page size caching bugs
2701 2005-04-15 Luca Ferretti <elle.uca@libero.it>
2703 * shell/ev-window.c: (set_action_properties):
2705 Make all toolbar items translatable
2707 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
2709 * ps/ps-document.c: (ps_document_init), (ps_document_get_type),
2710 (save_page_list), (ps_document_save),
2711 (ps_document_document_iface_init), (ps_document_ps_export_begin),
2712 (ps_document_ps_export_do_page), (ps_document_ps_export_end),
2713 (ps_document_ps_exporter_iface_init):
2716 Based on a patch by J�rg Billeter <j@bitron.ch>
2718 Implement print and save a copy for the ps backend.
2720 2005-04-14 Marco Pesenti Gritti <mpg@redhat.com>
2722 * backend/ev-document.h:
2723 * djvu/djvu-document.c: (djvu_document_can_get_text),
2724 (djvu_document_document_iface_init):
2725 * dvi/dvi-document.c: (dvi_document_can_get_text),
2726 (dvi_document_document_iface_init):
2727 * pdf/ev-poppler.cc:
2728 * pixbuf/pixbuf-document.c: (pixbuf_document_can_get_text),
2729 (pixbuf_document_document_iface_init):
2730 * ps/ps-document.c: (ps_document_can_get_text),
2731 (ps_document_document_iface_init):
2732 * shell/ev-view.c: (ev_view_copy), (ev_view_primary_get_cb):
2733 * shell/ev-window.c: (update_action_sensitivity):
2735 Fix the crash when trying to copy in backends that doesnt
2736 support it. We can implement a better solution once we
2737 do real text selection.
2739 2005-04-12 Marco Pesenti Gritti <mpg@redhat.com>
2741 * data/evince-ui.xml:
2742 * shell/ev-window.c: (ev_window_cmd_escape):
2744 Work around the Escape conflict (find bar and unfullscreen)
2746 2005-04-12 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
2748 * backend/ev-page-cache.c: (ev_page_cache_next_page):
2750 Fix for #300233. Next page correctly handles document end.
2752 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
2753 (ev_sidebar_thumbnails_class_init),
2754 (ev_sidebar_thumbnails_set_document),
2755 (ev_sidebar_thumbnails_clear_job),
2756 (ev_sidebar_thumbnails_clear_model):
2758 Cleanup thumbnail jobs on document changes.
2760 * shell/ev-view.c: (add_scroll_binding_keypad),
2761 (add_scroll_binding_shifted), (ev_view_class_init):
2763 Shift + Space scrolls up. Fix for #173184
2765 * shell/ev-window.c: (ev_window_open_page),
2766 (ev_window_cmd_view_reload):
2768 Fix reload (Bug #300094)
2770 2005-04-09 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2773 * dvi/mdvi-lib/assoc.c:
2774 * dvi/mdvi-lib/assoc.h: Removed garbage files
2776 * dvi/mdvi-lib/bitmap.c:
2777 * dvi/mdvi-lib/color.c: (mdvi_set_color), (mdvi_push_color),
2778 (mdvi_pop_color), (mdvi_reset_color), (get_color_table):
2779 * dvi/mdvi-lib/color.h: Antialias of rules
2781 * dvi/mdvi-lib/common.h:
2782 * dvi/mdvi-lib/dviread.c: (mdvi_configure), (mdvi_init_context),
2783 (mdvi_destroy_context), (draw_shrink_rule), (draw_box), (set_rule):
2784 * dvi/mdvi-lib/files.c:
2785 * dvi/mdvi-lib/fontmap.c: (ps_init_default_paths):
2786 * dvi/mdvi-lib/mdvi.h:
2787 * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
2788 * dvi/mdvi-lib/tfmfile.c: (ofm_load_file):
2789 * dvi/mdvi-lib/util.c: Fix compile warnings
2791 * dvi/dvi-document.c:
2792 (dvi_document_load), (dvi_document_thumbnails_get_dimensions),
2793 (dvi_document_thumbnails_get_thumbnail),
2794 (dvi_document_document_thumbnails_iface_init):
2795 * dvi/mdvi-lib/Makefile.am:
2796 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
2797 (dvi_pixbuf_set_color), (mdvi_pixbuf_device_render):
2799 Dvi backend now renders thumbnails
2801 2005-04-09 Christian Persch <chpe@cvs.gnome.org>
2803 * shell/main.c: (main):
2805 Save accelerators on exit. Fixes bug #172095.
2807 Sat Apr 9 01:05:09 2005 Jonathan Blandford <jrb@redhat.com>
2809 * shell/ev-pixbuf-cache.c (move_one_job): Actually fix the "FIXME:
2810 update priority" comment.
2812 * backend/ev-job-queue.c: Give a way to change priority.
2814 Sat Apr 9 00:05:36 2005 Jonathan Blandford <jrb@redhat.com>
2816 * shell/ev-page-action.c: Fix logic.
2818 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
2820 * shell/ev-view.c: (ev_view_can_find_next):
2821 * shell/ev-window.c: (ev_window_setup_document):
2823 Check that the document supports find
2825 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
2827 * data/evince-ui.xml:
2828 * shell/ev-view.c: (ev_view_can_find_next):
2830 * shell/ev-window.c: (update_action_sensitivity),
2831 (find_changed_cb), (ev_window_setup_document),
2832 (ev_window_cmd_edit_find_next):
2836 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
2838 * pdf/ev-poppler.cc:
2839 * shell/ev-print-job.c: (idle_print_handler):
2841 Make printing work again
2843 Fri Apr 8 01:12:24 2005 Jonathan Blandford <jrb@redhat.com>
2845 * shell/ev-page-action.h:
2846 * shell/ev-page-action.c: (ev_page_action_widget_init),
2847 (ev_page_action_widget_class_init), (page_changed_cb),
2848 (create_tool_item), (update_page_cache), (build_new_tree_cb),
2849 (get_filter_model_from_model), (match_selected_cb),
2850 (display_completion_text), (match_completion), (update_model),
2851 (connect_proxy), (ev_page_action_set_property),
2852 (ev_page_action_get_property), (ev_page_action_set_document),
2853 (ev_page_action_set_model), (ev_page_action_class_init): Big
2854 reworking to make completions work iff we have >= GTK-2.7.0
2856 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_property),
2857 (ev_sidebar_links_get_property), (ev_sidebar_links_class_init),
2858 (job_finished_cb): We now have a 'model' property that is set when
2859 the links are loaded. This can be caught with "notify::model"
2861 * shell/ev-window.c: (sidebar_widget_model_set), (ev_window_init):
2862 listen for the model to be set, and propagate it to the action.
2864 2005-04-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2866 * cut-n-paste/recent-files/egg-recent-item.c:
2867 (egg_recent_item_set_uri), (make_valid_utf8),
2868 (egg_recent_item_set_mime_type), (egg_recent_item_get_mime_type):
2869 * cut-n-paste/recent-files/egg-recent-item.h:
2871 Update egg-recent from libegg. This should fix long
2872 startup problem. For details see
2873 http://bugzilla.gnome.org/show_bug.cgi?id=160531
2875 2005-04-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2877 * cut-n-paste/recent-files/Makefile.am:
2878 * data/evince-ui.xml, shell/Makefile.am:
2879 * shell/ev-application.c, shell/ev-application.h:
2880 * shell/ev-window.c: Recent files support.
2882 * configure.ac: Added "ru" to ALL_LINGUAS.
2884 * dvju: new backend to support DJVU files.
2885 * dvi: new backend to support DVI.
2887 * configure.ac, Makefile.am, shell/Makefile.am, ev-window.c:
2888 * ev-application.c: Support for new backends.
2890 * help, ev-window.c, main.c shell/Makefile.am:
2891 Evince user documentation.
2893 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
2896 * shell/ev-window.c:
2897 * thumbnailer/evince-thumbnailer.c:
2899 s/pdf-document/ev-poppler
2901 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
2908 * ps/ps-document.c: (setup_pixmap):
2912 2005-04-05 Kristian Høgsberg <krh@redhat.com>
2914 * backend/ev-page-cache.c (ev_page_cache_next_page):
2915 * shell/ev-window.c (ev_window_cmd_go_next_page)
2916 (ev_window_cmd_go_first_page): Fix of by one errors.
2918 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
2920 * ps/ps-document.c: (get_page_box):
2922 Fix page size calculation
2924 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
2926 * ps/ps-document.c: (ps_document_init), (push_pixbuf),
2927 (ps_document_cleanup), (setup_pixmap), (get_page_box),
2928 (get_page_orientation), (setup_page), (document_load),
2929 (ps_document_get_page_size), (render_pixbuf_idle):
2932 More refactoring to adapt to EvDocument changes
2934 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
2936 * ps/ps-document.c: (start_interpreter):
2938 Actually add alpha args
2940 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
2942 * pdf/ev-poppler.cc:
2944 Make clipboard work again
2946 2005-04-04 Kristian Høgsberg <krh@redhat.com>
2948 Make searching work again.
2950 * backend/ev-document.c:
2951 * backend/ev-document.h:
2952 * backend/ev-document-find.c:
2953 * backend/ev-document-find.h: Change EvDocumentIface so we no
2954 longer store the current page or zoom level in the document. The
2955 consequence is that all calls that operate on the current page now
2956 instead take the page number as an extra argument, and all
2957 coordinates are now doubles in document coordinate system.
2959 * pdf/ev-poppler.cc:
2960 * pixbuf/pixbuf-document.c:
2961 * ps/ps-document.c: Update backends accordingly.
2963 2005-04-04 Marco Pesenti Gritti <marco@gnome.org>
2967 Add required gettext version
2969 Sat Apr 2 18:57:00 2005 Jonathan Blandford <jrb@redhat.com>
2971 * shell/evwindow.c: Patch from Alberto Mesas <amesas@gmail.com> to
2972 make F1 bring up non-existent help.
2974 * shell/eggfindbar.c: Patch from Christian Persch to sync to
2975 epiphany's find bar, #167477
2977 * shell/ev-view.c (ev_view_jump): Patch from Emil Soleyman-Zomalan
2978 <emil@nishra.com> to add space-bar scrolling,
2980 * shell/ev-window.c (static GtkActionEntry entries): add default
2981 keybinding for Help (F1)
2984 * shell/ev-view.c (ev_view_show_cursor): Fix from Yuval Tanny
2985 changing EV_VIEW_CURSOR_LINK to EV_VIEW_CURSOR_NORMAL resolves bug
2988 2005-04-01 David Malcolm <dmalcolm@redhat.com>
2991 * pixbuf/pixbuf-document.c:
2993 Got pixbuf backend working again
2995 2005-04-01 Steve Murphy <murf@e-tools.com>
2997 * configure.in: Added "rw" to ALL_LINGUAS.
2999 Fri Apr 1 02:33:41 2005 Jonathan Blandford <jrb@redhat.com>
3001 * shell/ev-sidebar-links.c (create_loading_model): Fix mismatch in
3002 model types, noticed by Martin Kretzschmar.
3004 2005-04-01 Kristian Høgsberg <krh@redhat.com>
3006 * pdf/ev-poppler.cc: Implement search based on
3007 poppler_page_find_text(). Currently a bit crude since we remember
3008 all matches from all pages. Also, we grab the big document lock
3009 when we search since searching changes the underlying stream and
3010 thus conflicts with the rendering thread.
3012 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
3013 (jump_to_find_page), (ev_view_set_document), (ev_view_find_next),
3014 (ev_view_find_previous): Fix some page indexes to be 0 based,
3015 offset rubber band by view offset,
3017 Fri Apr 01 09:21:12 2005 Pablo Saratxaga <pablo@mandrakesoft.com>
3019 * configure.ac: Added Walloon (wa) to ALL_LINGUAS.
3021 Fri Apr 1 01:59:39 2005 Jonathan Blandford <jrb@redhat.com>
3023 * shell/ev-page-action.c: Changed to use page labels now. Rewrote
3024 completely because I didn't understand GtkActions. I should
3025 read Marco's code more carefully in the future.
3027 * backend/ev-page-cache.h (ev_page_cache_set_page_label): New
3030 2005-03-31 Kristian Høgsberg <krh@redhat.com>
3032 * pdf/ev-poppler.cc (pdf_document_get_links): Update to work with
3033 PopplerRectangle change from poppler CVS.
3035 Thu Mar 31 13:27:50 2005 Jonathan Blandford <jrb@redhat.com>
3037 * backend/ev-document.c: (ev_document_get_page_label):
3038 * backend/ev-document.h:
3039 * backend/ev-page-cache.c: (_ev_page_cache_new),
3040 (ev_page_cache_get_page_label):
3041 * backend/ev-page-cache.h:
3042 * pdf/ev-poppler.cc:
3043 * shell/ev-sidebar-links.c: (ev_sidebar_links_construct),
3044 (links_page_num_func):
3045 * shell/ev-sidebar-thumbnails.c:
3046 (ev_sidebar_thumbnails_set_document):
3047 * shell/ev-view.c: (status_message_from_link),
3048 (ev_view_motion_notify_event):
3049 * shell/ev-window.c: (document_supports_sidebar): Add in page
3050 label support. It's not perfect yet, but it's the first 'feature'
3052 Also, fix a bogus comment noticed by crispin.
3054 Thu Mar 31 01:21:58 2005 Jonathan Blandford <jrb@redhat.com>
3056 * Makefile.am: Remove pixbuf backend for now
3058 * configure.ac: Require poppler-glib instead of just poppler.
3060 * backend/ev-document-thumbnails.h: Add a comment
3062 * backend/ev-document.h:
3063 * backend/ev-document.c: (ev_document_class_init),
3064 (ev_document_load), (ev_document_get_link),
3065 (ev_document_get_links): Remove 3 methods and add get_links.
3068 * backend/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
3069 * backend/ev-jobs.h: now EvJobRender can grab the links for a document.
3071 * backend/ev-link.c: (ev_link_set_title),
3072 (ev_link_mapping_free_foreach), (ev_link_mapping_free),
3073 (ev_link_mapping_find):
3074 * backend/ev-link.h: Allow NULL titles. Also, introduce a mapping link.
3076 * backend/ev-page-cache.c: (ev_page_cache_init),
3077 (_ev_page_cache_new), (ev_page_cache_set_current_page),
3078 (ev_page_cache_get_size), (ev_page_cache_next_page),
3079 (ev_page_cache_prev_page): Fix to be 0 based.
3083 * pdf/ev-poppler.cc: New backend.
3085 * ps/ps-document.c: (ps_document_init), (ps_document_set_page),
3086 (ps_document_get_page), (ps_document_document_iface_init):
3088 * shell/ev-pixbuf-cache.h:
3089 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
3090 (dispose_cache_job_info), (job_finished_cb), (move_one_job),
3091 (ev_pixbuf_cache_update_range), (copy_job_to_job_info),
3092 (add_job_if_needed), (ev_pixbuf_cache_set_page_range),
3093 (ev_pixbuf_cache_get_pixbuf), (ev_pixbuf_cache_get_link_mapping):
3094 Fix up code to grab a page cache per each doc. Also, fix to be 0
3097 * shell/ev-sidebar-thumbnails.c:
3098 (ev_sidebar_tree_selection_changed), (page_changed_cb),
3099 (ev_sidebar_thumbnails_set_document): Fix to be 0 based.
3101 * shell/ev-view.c: (status_message_from_link),
3102 (find_page_at_location), (get_link_at_location),
3103 (ev_view_motion_notify_event), (ev_view_button_release_event),
3104 (ev_view_init): Use the new link code. Fix to be 0 based.
3106 * shell/ev-window.c: (update_action_sensitivity),
3107 (document_supports_sidebar): 0 based.
3109 Fri Mar 25 16:55:58 2005 Jonathan Blandford <jrb@redhat.com>
3111 * pdf/pdf-document.cc: Patch from Fernando Herrera
3112 <fherrera@onirica.com> to fix my quick fix to get_thumbnail.
3115 Wed Mar 23 23:49:41 2005 Jonathan Blandford <jrb@redhat.com>
3117 * pdf/pdf-document.cc (pdf_document_thumbnails_get_thumbnail): add
3118 1 to the page, as this seems to be 1 based. I thought we has this
3121 2005-03-23 Marco Pesenti Gritti <marco@gnome.org>
3124 * backend/Makefile.am:
3125 * backend/ev-document-links.c:
3126 (ev_document_links_has_document_links),
3127 (ev_document_links_get_links_model):
3128 * backend/ev-document-links.h:
3129 * backend/ev-document.c: (ev_document_get_page_cache),
3130 (ev_document_get_doc_mutex), (ev_document_load),
3131 (ev_document_save), (ev_document_get_title),
3132 (ev_document_get_n_pages), (ev_document_set_page),
3133 (ev_document_get_page), (ev_document_set_target),
3134 (ev_document_set_scale), (ev_document_set_page_offset),
3135 (ev_document_get_page_size), (ev_document_get_text),
3136 (ev_document_get_link), (ev_document_render),
3137 (ev_document_render_pixbuf), (ev_document_scale_changed):
3138 * backend/ev-document.h:
3139 * backend/ev-job-queue.c: (remove_object_from_queue),
3140 (notify_finished), (handle_job), (search_for_jobs_unlocked),
3141 (no_jobs_available_unlocked), (ev_render_thread),
3142 (ev_job_queue_init), (find_queue), (ev_job_queue_add_job),
3143 (ev_job_queue_remove_job):
3144 * backend/ev-job-queue.h:
3145 * backend/ev-jobs.c: (ev_job_init), (ev_job_dispose),
3146 (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
3147 (ev_job_links_class_init), (ev_job_render_init),
3148 (ev_job_render_dispose), (ev_job_render_class_init),
3149 (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
3150 (ev_job_thumbnail_class_init), (ev_job_finished),
3151 (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
3152 (ev_job_render_run), (ev_job_thumbnail_new),
3153 (ev_job_thumbnail_run):
3154 * backend/ev-jobs.h:
3155 * backend/ev-link.c:
3156 * backend/ev-link.h:
3157 * backend/ev-page-cache.c: (ev_page_cache_init),
3158 (ev_page_cache_class_init), (ev_page_cache_finalize),
3159 (_ev_page_cache_new), (ev_page_cache_get_n_pages),
3160 (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
3161 (ev_page_cache_set_link), (ev_page_cache_get_title),
3162 (ev_page_cache_get_size), (ev_page_cache_next_page),
3163 (ev_page_cache_prev_page):
3164 * backend/ev-page-cache.h:
3165 * pdf/pdf-document.cc:
3168 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
3169 (push_pixbuf), (interpreter_failed), (ps_document_cleanup),
3170 (ps_document_widget_event), (ps_document_finalize), (get_xdpi),
3171 (get_ydpi), (setup_pixmap), (setup_page), (close_pipe),
3172 (is_interpreter_ready), (output), (catchPipe), (input),
3173 (start_interpreter), (check_filecompressed), (compute_dimensions),
3174 (ps_document_enable_interpreter), (document_load),
3175 (ps_document_next_page), (render_page), (ps_document_set_page),
3176 (ps_document_set_scale), (render_pixbuf_idle),
3177 (ps_document_render_pixbuf), (ps_document_document_iface_init):
3179 * shell/Makefile.am:
3180 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
3181 (ev_pixbuf_cache_class_init), (ev_pixbuf_cache_finalize),
3182 (dispose_cache_job_info), (ev_pixbuf_cache_dispose),
3183 (ev_pixbuf_cache_new), (job_finished_cb),
3184 (check_job_size_and_unref), (move_one_job),
3185 (ev_pixbuf_cache_update_range), (find_job_cache),
3186 (ev_pixbuf_cache_clear_job_sizes), (add_job_if_needed),
3187 (ev_pixbuf_cache_add_jobs_if_needed),
3188 (ev_pixbuf_cache_set_page_range), (ev_pixbuf_cache_get_pixbuf):
3189 * shell/ev-pixbuf-cache.h:
3190 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
3191 (idle_print_handler):
3192 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
3193 (selection_changed_cb), (create_loading_model),
3194 (ev_sidebar_links_construct), (links_page_num_func),
3195 (ev_sidebar_links_clear_document), (update_page_callback_foreach),
3196 (update_page_callback), (job_finished_cb),
3197 (ev_sidebar_links_set_document):
3198 * shell/ev-sidebar-thumbnails.c:
3199 (ev_sidebar_thumbnails_class_init), (adjustment_changed_cb),
3200 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init),
3201 (page_changed_cb), (thumbnail_job_completed_callback),
3202 (ev_sidebar_thumbnails_set_document):
3203 * shell/ev-sidebar-thumbnails.h:
3204 * shell/ev-sidebar.c: (ev_sidebar_set_document):
3205 * shell/ev-view.c: (ev_view_finalize), (ev_view_destroy),
3206 (ev_view_get_offsets), (ev_view_size_request), (ev_view_realize),
3207 (ev_view_unrealize), (highlight_find_results), (expose_bin_window),
3208 (ev_view_select_all), (ev_view_copy), (ev_view_primary_get_cb),
3209 (ev_view_create_invisible_cursor), (ev_view_motion_notify_event),
3210 (ev_view_button_release_event), (ev_view_scroll_view),
3211 (ev_view_class_init), (ev_view_init), (update_find_status_message),
3212 (jump_to_find_result), (jump_to_find_page), (find_changed_cb),
3213 (ev_view_new), (job_finished_cb), (page_changed_cb),
3214 (ev_view_set_document), (go_to_link), (ev_view_zoom),
3215 (size_to_zoom_factor), (ev_view_set_size), (ev_view_find_next),
3216 (ev_view_find_previous):
3218 * shell/ev-window.c: (update_action_sensitivity),
3219 (ev_window_open_page), (update_window_title), (update_total_pages),
3220 (page_changed_cb), (ev_window_setup_document),
3221 (password_dialog_response), (ev_window_cmd_save_as),
3222 (ev_window_print), (ev_window_cmd_go_previous_page),
3223 (ev_window_cmd_go_next_page), (ev_window_cmd_go_first_page),
3224 (ev_window_cmd_go_last_page), (ev_window_cmd_view_reload),
3225 (find_bar_search_changed_cb), (goto_page_cb), (ev_window_init):
3226 * shell/main.c: (main):
3228 Merge evince-threads branch
3230 2005-03-16 Žygimantas Beručka <uid0@akl.lt>
3232 * configure.ac: Added "lt" to ALL_LINGUAS.
3234 2005-03-14 Marco Pesenti Gritti <marco@gnome.org>
3241 2005-03-13 Fernando Herrera <fherrera@onirica.com>
3243 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3245 Fix here also the thumbnails 1-basedness :)
3247 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
3254 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
3256 * pdf/pdf-document.cc:
3257 * shell/ev-sidebar-thumbnails.c: (adjustment_changed_cb),
3258 (do_one_iteration), (ev_sidebar_thumbnails_set_document):
3260 Fix the mess we did with thumbnails and 1-basedness
3262 2005-03-12 Changwoo Ryu <cwryu@debian.org>
3264 * configure.ac (ALL_LINGUAS): Added "ko" (Korean).
3266 2005-03-09 Marco Pesenti Gritti <marco@gnome.org>
3273 2005-03-08 Marco Pesenti Gritti <marco@gnome.org>
3276 * ps/gsdefaults.c: (gtk_gs_defaults_get_interpreter_cmd),
3277 (gtk_gs_defaults_get_alpha_parameters),
3278 (gtk_gs_defaults_get_ungzip_cmd),
3279 (gtk_gs_defaults_get_unbzip2_cmd):
3281 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
3282 (ps_document_get_orientation), (document_load),
3283 (ps_document_goto_page), (ps_document_set_page_size):
3286 Some more sanitization of the ps backend. Remove a lot
3287 of unused code and do not base our defaults on ggv
3290 2005-03-08 Fernando Herrera <fherrera@onirica.com>
3292 * thumbnailer/evince-thumbnailer.schemas:
3293 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
3294 (main): add -s option for thumbnail size.
3296 2005-03-07 Christian Persch <chpe@cvs.gnome.org>
3300 AC_PROG_RANLIB is rendered obsolete by AC_PROG_LIBTOOL;
3303 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
3305 * pdf/pdf-document.cc:
3307 Remove 4 pixels of useless border from the
3310 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
3312 * backend/ev-document-thumbnails.c:
3313 (ev_document_thumbnails_get_thumbnail):
3314 * backend/ev-document-thumbnails.h:
3316 Rework API a bit. Add a border flag and
3317 change sizing logic (now the size we specify
3318 applies to the bigger dimension).
3320 * pdf/pdf-document.cc:
3321 * pixbuf/pixbuf-document.c:
3322 (pixbuf_document_thumbnails_get_thumbnail):
3323 * shell/ev-sidebar-thumbnails.c: (do_one_iteration):
3324 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3326 Adapt to the new API and do not draw a border for nautilus
3329 2005-03-03 Fernando Herrera <fherrera@onirica.com>
3331 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3332 take thumbnails from page "0" instead of "1". Added a copyright header.
3334 2005-03-03 Jens Granseuer <jensgr@gmx.net>
3336 * ps/ps-document.c: (set_up_page), (start_interpreter):
3338 Make it C89 compliant
3340 2005-03-03 Marco Pesenti Gritti <marco@gnome.org>
3345 * pdf/pdf-document.cc:
3346 * thumbnailer/Makefile.am:
3347 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
3349 * thumbnailer/evince-thumbnailer.schemas:
3350 * thumbnailer/pdf-icon.png:
3352 Add a nautilus thumbnailer.
3353 Based on patch by Fernando Herrera <fherrera@onirica.com>.
3355 2005-03-02 Marco Pesenti Gritti <marco@gnome.org>
3363 2005-03-01 Kristian Høgsberg <krh@redhat.com>
3365 Use poppler instead of including xpdf source code. Poppler is a
3366 fork of xpdf to build it as a shared library. See
3367 http://freedesktop.org/wiki/Software/poppler.
3369 * pdf/xpdf/*, pdf/goo/*, pdf/splash/*, pdf/fofi/*: Remove included
3372 * pdf/Makefile.am: Build libpdfdocument.a here.
3374 * pdf/GDKSplashOutputDev.cc:
3375 * pdf/GDKSplashOutputDev.h:
3376 * pdf/GnomeVFSStream.cc:
3377 * pdf/GnomeVFSStream.h:
3380 * test-gdk-output-dev.cc
3382 * Thumb.h: Pull these files out of pdf/xpdf and adjust to compile
3385 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
3387 * shell/ev-sidebar-links.c: (ev_sidebar_links_clear_document):
3389 Clear idle stack before unsetting the document
3391 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
3393 * ps/ps-document.c: (ps_document_widget_event),
3394 (ps_document_set_target), (ps_document_finalize),
3395 (ps_document_get_page):
3397 Disconnect the widget event signal on finalize.
3400 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
3402 * ps/ps-document.c: (set_up_page):
3404 If there is no bpixmap create one, even if size
3407 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
3409 * ps/ps-document.c: (ps_document_init), (ps_document_cleanup),
3410 (set_up_page), (document_load), (ps_document_set_zoom):
3412 Default page is 0. Calculate size even when we have no
3415 2005-02-28 Carlos Garcia Campos <carlosgc@gnome.org>
3417 * shell/ev-sidebar.c: expand the selection widget to be always as
3420 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
3422 * shell/ev-sidebar-thumbnails.c:
3423 (ev_sidebar_thumbnails_set_document):
3425 Clear the list store when setting document
3427 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
3429 * shell/ev-page-action.c: (update_entry), (sync_entry),
3430 (activate_cb), (entry_size_request_cb), (create_tool_item),
3433 Use an entry for the page control instead of spinbuttons
3435 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
3437 * data/evince.schemas.in:
3439 Correct confusing string
3441 Sun Feb 27 23:00:31 2005 Jonathan Blandford <jrb@redhat.com>
3443 * shell/ev-sidebar-links.c (do_one_iteration): Handle title links
3444 for real. Gosh, how long has this been broken.
3446 * pdf/xpdf/pdf-document.cc (build_link_from_action): add back the
3447 check for a NULL link. We crash otherwise.
3449 2005-02-27 Marco Pesenti Gritti <marco@gnome.org>
3456 2005-02-25 Sebastien Bacher <seb128@debian.org>
3458 * configure.ac: add the french translation.
3460 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
3462 * shell/ev-window.c:
3464 Remove unused header -> fix distcheck
3466 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
3468 * shell/ev-window.c: (update_window_title),
3469 (ev_window_popup_password_dialog):
3471 Unescape filename for display
3473 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
3475 * pdf/xpdf/pdf-document.cc:
3477 In get_page_size deal with rotation. Also
3478 cleanup the function a bit.
3480 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
3482 * pdf/xpdf/pdf-document.cc:
3484 Fix crash when opening in new window
3486 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
3490 Check ghostscript >= 7
3492 2005-02-25 Pedro Villavicencio <pvillavi@gnome.cl>
3494 * shell/ev-window.c:
3496 Make page width the default sizing mode
3498 2005-02-25 Carlos Garcia Campos <carlosgc@gnome.org>
3499 Marco Pesenti Gritti <marco@gnome.org>
3501 * shell/ev-window.c: Remember the sidebar size
3503 * data/evince.schemas.in: Add a new gconf key to store the size of
3506 2005-02-24 Kai Willadsen <kaiw@itee.uq.edu.au>
3508 * data/evince-ui.xml:
3509 * shell/ev-window.c: (update_action_sensitivity),
3510 (ev_window_cmd_view_reload):
3512 Add a "Reload" action and menu entry
3514 Thu Feb 24 23:07:33 2005 Jonathan Blandford <jrb@redhat.com>
3516 * shell/ev-window.c (hide_sidebar_and_actions): Hide the sidebar
3517 iff the type doesn't support thumbnailing and indexing.
3519 2005-02-24 Martin Kretzschmar <martink@gnome.org>
3521 * configure.ac (ALL_LINGUAS): Added "zh_TW" (Traditional Chinese).
3523 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
3525 * pdf/splash/Splash.cc:
3527 Port fix for a crasher from kde bug
3528 http://bugs.kde.org/show_bug.cgi?id=97131
3530 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
3532 * pdf/xpdf/pdf-document.cc:
3534 Return a link even if it's of an unrecognized
3535 type. Otherwise we go in an infinte cycle.
3537 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
3539 * shell/ev-window.c: (update_sizing_buttons), (update_view_size),
3540 (size_allocate_cb), (ev_window_set_sizing_mode):
3542 Update size when switching mode
3544 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
3546 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
3547 (ev_window_cmd_view_page_width), (update_sizing_buttons),
3548 (ev_window_cmd_view_normal_size):
3550 Fix size toggle buttons behavior
3552 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
3554 * shell/ev-view.c: (ev_view_get_offsets), (view_rect_to_doc_rect),
3555 (doc_rect_to_view_rect), (ev_view_size_allocate),
3556 (expose_bin_window), (ev_view_select_all), (page_changed_callback),
3557 (scale_changed_callback):
3559 Do not cache offsets in size_allocate.
3561 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
3563 * shell/ev-view.c: (ev_view_size_allocate):
3565 Calculate offsets before calling the parent
3566 class (which does a redraw)
3568 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
3570 * pdf/xpdf/pdf-document.cc:
3572 Fix a crasher on exit. Unused code, put a TODO
3574 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
3576 * backend/ev-document.c: (ev_document_class_init),
3577 (ev_document_page_changed), (ev_document_scale_changed):
3578 * backend/ev-document.h:
3580 Separate page/scale notifications
3582 * pdf/xpdf/pdf-document.cc:
3584 Emit the new signals.
3585 Do not display the pdf page in _render, do it
3586 when scale/page are requested.
3588 * ps/ps-document.c: (ps_document_set_zoom),
3589 (ps_document_widget_event):
3592 Emit the new signals.
3594 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
3595 (ev_view_init), (page_changed_callback), (scale_changed_callback),
3596 (ev_view_set_document), (ev_view_zoom), (ev_view_zoom_in),
3597 (ev_view_zoom_out), (size_to_zoom_factor), (ev_view_set_size):
3599 * shell/ev-window.c: (ev_window_cmd_view_normal_size),
3600 (ev_window_cmd_view_page_width), (size_allocate_cb),
3601 (ev_window_set_sizing_mode):
3603 Rework sizing to be pixel based.
3604 There are bugs but should be already way better.
3606 2005-02-23 Marco Pesenti Gritti <marco@gnome.org>
3608 * shell/ev-window.c: (ev_window_init):
3610 Do not allow to shrink sidebar smaller then
3613 2005-02-23 Carlos Garcia Campos <carlosgc@gnome.org>
3615 * shell/ev-sidebar.[ch]
3616 * shell/ev-window.c:
3618 Improved sidebar widget. Fixes #166683
3620 2005-02-23 Tommi Vainikainen <thv@iki.fi>
3622 * shell/ev-view.c (update_find_status_message): Give translators
3623 more flexibility with ngettext plural handling.
3625 Mon Feb 21 17:52:08 2005 Jonathan Blandford <jrb@redhat.com>
3627 * pdf/xpdf/pdf-document.cc (pdf_document_get_page_size): Patch
3628 from Crispin Flowerday <gnome@flowerday.cx> to avoid rendering the
3629 page when we get the page size.
3631 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
3633 * ps/ps-document.c: (ps_document_set_page), (ps_document_get_page):
3635 ps pages are 0 based, convert
3637 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
3639 * ps/ps-document.c: (ps_document_class_init), (ps_document_load):
3641 Initialize correct parent class. Set GError on document load
3643 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
3645 * pdf/xpdf/pdf-document.cc:
3647 Fixup selection offset calculation
3649 * shell/ev-view.c: (view_rect_to_doc_rect),
3650 (doc_rect_to_view_rect), (ev_view_size_allocate),
3651 (expose_bin_window), (ev_view_select_all), (ev_view_copy),
3652 (ev_view_primary_get_cb), (ev_view_motion_notify_event):
3654 Store selection as document relative, so that zooming
3655 and offset changing doesnt break it.
3657 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
3659 * shell/ev-view.c: (ev_view_best_fit):
3661 Do not try to best fit if the view is not realized
3663 2005-02-20 Kostas Papadimas <pkst@gnome.org>
3665 * configure.ac (ALL_LINGUAS): Added "el" (Greek).
3667 Fri Feb 18 16:06:39 2005 Jonathan Blandford <jrb@redhat.com>
3669 * shell/ev-window.c (ev_window_focus_in_event): missed a case.
3671 Fri Feb 18 15:32:57 2005 Jonathan Blandford <jrb@redhat.com>
3673 * shell/ev-window.c: Change the fullscreen toolbar to always be in
3674 the popup window. That prevents it resizing when in full screen
3677 * shell/ev-view.c: Change Zoom epsilon as a bad hack to avoid
3678 multiple rerenders. This pretty much sucks.
3680 * data/evince-ui.xml: Change the fullscreen toolbar to include the
3681 rest of the toolbar.
3683 2005-02-18 Tommi Vainikainen <thv@iki.fi>
3685 * configure.ac (ALL_LINGUAS): Added "fi" (Finnish).
3687 2005-02-17 Alexander Shopov <ash@contact.bg>
3689 * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
3691 2005-02-16 Bryan Clark <clarkbw@cvs.gnome.org>
3693 * shell/ev-window.c: added ellipsis to Print item. Fixes bug 166915
3695 2005-02-16 Marco Pesenti Gritti <marco@gnome.org>
3697 * shell/ev-view.c: (ev_view_realize), (highlight_find_results),
3698 (ev_view_create_invisible_cursor), (ev_view_set_cursor),
3699 (set_document_page), (document_changed_callback),
3700 (ev_view_set_document), (ev_view_find_previous),
3701 (ev_view_hide_cursor), (ev_view_show_cursor):
3703 * shell/ev-window.c: (update_chrome_visibility),
3704 (fullscreen_timeout_cb), (fullscreen_set_timeout),
3705 (fullscreen_clear_timeout), (fullscreen_motion_notify_cb),
3706 (fullscreen_leave_notify_cb), (ev_window_fullscreen),
3707 (ev_window_unfullscreen):
3708 * shell/main.c: (main):
3710 Automatically hide the fullscreen button.
3711 Patch by Kristian Høgsberg <krh@redhat.com>
3713 2005-02-16 Vincent Noel <vnoel@cox.net>
3715 * shell/main.c (main): Specify an icon for the window. Patch by
3716 Jaap A. Haitsma. Fixes #166177.
3718 Wed Feb 16 06:30:13 2005 Jonathan Blandford <jrb@redhat.com>
3720 * shell/ev-view.c (ev_view_realize): get rid of the black flash.
3722 Tue Feb 15 22:27:13 2005 Jonathan Blandford <jrb@redhat.com>
3724 * backend/ev-document-misc.h:
3725 * backend/ev-document-misc.c:
3726 (ev_document_misc_get_page_border_size),
3727 (ev_document_misc_paint_one_page): New function to canonicalize
3728 sizing/painting a border.
3730 * shell/Makefile.am: Remove ev-page-view.c entirely as it's not
3733 * pdf/xpdf/pdf-document.cc: use new function
3735 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
3736 (ev_view_init), (ev_view_set_mode), (ev_view_zoom),
3737 (ev_view_best_fit), (ev_view_fit_width): * shell/ev-view.h: *
3738 shell/ev-window.c: (update_sizing_buttons),
3739 (ev_window_setup_document), (ev_window_cmd_view_zoom_in),
3740 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_best_fit),
3741 (ev_window_cmd_view_page_width), (size_allocate_cb),
3742 (ev_window_set_sizing_mode), (ev_window_init): make the "best fit"
3743 and "fit width" values act as toggle buttons so they stay
3744 toggled. It's not 100% perfect, and it's a little slow, but it's
3745 good enough to commit I think.
3747 2005-02-15 David Lodge <dave@cirt.net>
3749 * configure.ac (ALL_LINGUAS): Added "en_GB" (English (British)).
3751 2005-02-15 Martin Kretzschmar <martink@gnome.org>
3753 * shell/ev-window.c (update_window_title): replace newlines in
3754 the title by spaces. Bug #166107.
3756 2005-02-14 Martin Kretzschmar <martink@gnome.org>
3758 * shell/ev-view.c (ev_view_best_fit, ev_view_fit_width): add
3759 parameters providing allocation width and height without
3760 scrollbars and width of a possible vertical scrollbar. With this
3761 additional information the functions can work as
3762 intended. Unfortunately they're not idempotent. We should
3763 transform these commands to toggles. Fixes Bug #164976
3764 Initial patch by Stephane Loeuillet, then heavily modified.
3766 * shell/ev-view.h: update prototypes.
3768 * shell/ev-window.c (ev_window_cmd_view_best_fit)
3769 (ev_window_cmd_view_page_width): provide EvView fit functions with
3770 all the information they need. Formulas to calculate this
3771 information taken from GtkScrolledWindow.
3773 2005-02-14 Crispin Flowerday <gnome@flowerday.cx>
3775 * shell/ev-sidebar-thumbnails.c: Ensure that after we have
3776 created a thumbnail, the list store is updated to know
3777 that the thumbnail is set. Fixes bug #166792
3779 2005-02-11 Bryan Clark <clarkbw@cvs.gnome.org>
3781 * shell/ev-window.c: fixed typo, closes bug 166897
3783 * TODO: updated TODO with bug numbers that are relevant
3785 2005-02-09 Carlos Garcia Campos <carlosgc@gnome.org>
3787 * shell/ev-window.c: Support for DnD of files. Fixes #164813
3789 2005-02-09 Vincent Noel <vnoel@cox.net>
3791 * shell/ev-window.c: (set_action_properties): Set the "Previous"
3792 and "Next" toolbar buttons as important to make them stand out.
3794 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
3798 * ps/ps-document.c: (ps_document_finalize), (set_up_page),
3799 (start_interpreter), (stop_interpreter), (document_load),
3800 (ps_document_next_page), (ps_document_goto_page),
3801 (ps_document_set_page_size), (ps_document_widget_event),
3802 (ps_document_render):
3803 * shell/ev-page-view.c: (ev_page_view_dispose):
3804 * shell/ev-view.c: (ev_view_finalize), (expose_bin_window):
3806 Fix compilation on non-gcc platforms
3808 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
3815 * pdf/xpdf/Catalog.cc:
3818 Fix the fix for CAN-2004-0888
3820 2005-02-09 Luca Ferretti <elle.uca@libero.it>
3823 * data/evince-ui.xml:
3824 * shell/ev-stock-icons.c: (ev_stock_icons_init):
3825 * shell/ev-stock-icons.h:
3826 * shell/ev-window.c: (update_action_sensitivity),
3827 (ev_window_cmd_go_previous_page), (ev_window_cmd_go_next_page),
3828 (set_action_properties):
3830 Improve toolbar layout/icons
3832 2005-02-08 Marco Pesenti Gritti <marco@gnome.org>
3834 * pdf/xpdf/pdf-document.cc:
3836 Add warnings about unimplemented/unknown link
3839 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
3841 * ps/ps-document.c: (set_up_page):
3845 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
3847 * ps/ps-document.c: (start_interpreter):
3851 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
3853 * shell/ev-page-view.c: (ev_page_view_dispose):
3854 * shell/ev-view.c: (ev_view_finalize):
3855 * shell/ev-window.c: (ev_window_setup_document),
3856 (ev_window_dispose), (ev_window_init):
3858 Solve more refs issues.
3860 I commented out the page_view initialization for now:
3861 it was never destroyed (because it's never added
3862 to a container). Because of that we was leaking
3863 gs processes. Couldnt think to a clean fix.
3864 We need to figure this out, password view has the
3865 same issue probably.
3867 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
3869 * ps/ps-document.c: (ps_document_finalize),
3870 (ps_document_get_n_pages), (ps_document_get_page):
3872 Some cleanups, stop the interpreter on finalize
3874 * shell/ev-page-view.c: (ev_page_view_dispose),
3875 (ev_page_view_class_init):
3877 Release our reference on the document
3879 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
3883 * doc/debugging.txt:
3886 * lib/ev-debug.c: (log_module), (trap_handler), (ev_debug_init),
3887 (ev_profiler_new), (ev_should_profile), (ev_profiler_dump),
3888 (ev_profiler_free), (ev_profiler_start), (ev_profiler_stop):
3891 Add debugging helpers
3894 * ps/ps-document.c: (set_up_page), (start_interpreter),
3895 (stop_interpreter), (document_load), (ps_document_next_page),
3896 (ps_document_goto_page), (ps_document_set_page_size),
3897 (ps_document_widget_event), (ps_document_render):
3898 * shell/Makefile.am:
3899 * shell/ev-view.c: (expose_bin_window):
3900 * shell/main.c: (main):
3904 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
3906 * ps/ps-document.c: (ps_document_widget_event):
3908 Initialize message_window, this should make ps
3909 rendering really work! (Never noticed because I was
3910 testing with a ps that is causing gs to exit every time!)
3912 2005-02-07 Bryan Clark <clarkbw@cvs.gnome.org>
3914 * data/evince.schemas.in: updated simple error in applyto closing tag
3916 2005-02-07 Christian Persch <chpe@cvs.gnome.org>
3922 * data/evince-ui.xml:
3923 A data/evince.schemas.in:
3925 * shell/ev-stock-icons.c: (ev_stock_icons_init):
3926 * shell/ev-stock-icons.h:
3927 * shell/ev-window.c: (update_chrome_visibility),
3928 (update_chrome_flag), (ev_window_cmd_edit_find),
3929 (ev_window_update_fullscreen_popup), (ev_window_fullscreen),
3930 (ev_window_unfullscreen), (ev_window_focus_in_event),
3931 (ev_window_focus_out_event), (ev_window_cmd_leave_fullscreen),
3932 (ev_window_view_toolbar_cb), (ev_window_view_statusbar_cb),
3933 (ev_window_view_sidebar_cb), (find_bar_close_cb),
3934 (ev_window_dispose), (ev_window_class_init),
3935 (set_action_properties), (set_chrome_actions), (load_chrome),
3938 Implement fullscreen mode changes from bug #164776.
3939 Also implement persistent chrome toggles.
3941 2005-02-07 Jordi Mallach <jordi@sindominio.net>
3943 * configure.ac (ALL_LINGUAS): Added "ca" (Catalan).
3945 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
3951 Add another check for find interface
3955 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
3957 * shell/ev-application.c: (ev_application_open):
3958 * shell/ev-window.c: (ev_window_open):
3960 Open gzipped ps documents
3962 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
3965 * shell/ev-view.c: (set_document_page):
3967 Clamp page number, dont try to move to
3970 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
3972 * backend/ev-document-find.c: (ev_document_find_changed):
3973 * backend/ev-document-find.h:
3974 * pdf/xpdf/pdf-document.cc:
3975 * shell/ev-view.c: (jump_to_find_result), (ev_view_set_document):
3976 * shell/ev-window.c: (find_bar_search_changed_cb):
3978 Fix several bugs with find
3980 2005-02-04 Martin Kretzschmar <martink@gnome.org>
3982 * shell/ev-sidebar-thumbnails.c
3983 (ev_sidebar_thumbnails_select_page): do nothing unless we have a
3984 document. Prevents warning from scroll_to_cell.
3986 2005-02-02 Kjartan Maraas <kmaraas@gnome.org>
3988 * configure.ac: Add «nb» to ALL_LINGUAS too.
3990 Wed Feb 2 21:13:11 2005 Jonathan Blandford <jrb@redhat.com>
3992 * NOTES: New file with some random thoughts.
3996 * backend/ev-document-misc.c:
3997 (ev_document_misc_get_page_border_size): New function to
3998 canonicalize shadow drawing sizes. Possibly goofy.
4000 * shell/ev-view.c: (ev_view_size_request), (set_document_page),
4001 (ev_view_best_fit), (ev_view_fit_width):
4002 * pdf/xpdf/pdf-document.cc:
4003 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
4004 * ps/ps-document.c: (ps_document_get_page_size):
4005 * backend/ev-document-misc.h:
4006 * backend/ev-document.c: (ev_document_get_page_size):
4007 * backend/ev-document.h: get_page_size now takes a page number
4008 parameter. Made all the backends/frontends honor it.
4010 * data/evince-ui.xml: Added a multiple-page mode. Uncomment to
4011 see. Doesn't work yet.
4013 * shell/Makefile.am:
4014 * shell/ev-page-view.[ch]: New multi-page view. Really rough.
4015 Doesn't do anything yet.
4017 * shell/ev-sidebar-thumbnails.c:
4018 (ev_sidebar_thumbnails_set_document): [1..n_pages] instead of
4021 * shell/ev-window.c: (update_action_sensitivity),
4022 (ev_window_setup_document), (ev_window_set_page_mode),
4023 (ev_window_page_mode_cb), (ev_window_init): Clean up the
4024 view-swapping code a bit so we can have multiple views on a
4025 document. Add the multi-page view, though it can't be turned on
4028 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
4030 * shell/ev-application.c: (ev_application_open):
4031 * shell/ev-view.c: (expose_bin_window):
4032 * shell/ev-window.c: (ev_window_open):
4034 Support eps and check document supports find
4035 before drawing highlightings in expose.
4037 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
4039 * pixbuf/pixbuf-document.c:
4040 (pixbuf_document_thumbnails_get_dimensions),
4041 (pixbuf_document_document_thumbnails_iface_init):
4043 implement get_dimensions
4045 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
4052 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
4054 * shell/ev-view.c: (set_document_page):
4056 Scroll at the top of the page when changing page
4058 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
4060 * shell/ev-view.c: (ev_view_motion_notify_event):
4062 Do not redraw unnecessarily
4064 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
4066 * pdf/xpdf/pdf-document.cc:
4067 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
4068 (expose_bin_window), (find_changed_cb):
4070 Yay! find works now... Now to find bugs...
4072 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
4074 * backend/ev-document-find.c: (ev_document_find_base_init),
4075 (ev_document_find_changed):
4076 * backend/ev-document-find.h:
4077 * pdf/xpdf/pdf-document.cc:
4078 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
4079 (expose_bin_window), (ev_view_init), (set_document_page),
4080 (ensure_rectangle_is_visible), (jump_to_find_result),
4081 (jump_to_find_page), (find_changed_cb), (ev_view_set_document),
4082 (ev_view_find_next), (ev_view_find_previous):
4084 * shell/ev-window.c: (find_bar_previous_cb), (find_bar_next_cb):
4086 More work on find implementation, mostly there now
4088 2005-01-29 Marco Pesenti Gritti <marco@gnome.org>
4090 * backend/ev-backend-marshalers.list:
4091 * backend/ev-document-find.c: (ev_document_find_base_init),
4092 (ev_document_find_cancel), (ev_document_find_page_has_results),
4093 (ev_document_find_get_n_results), (ev_document_find_get_result),
4094 (ev_document_find_get_progress), (ev_document_find_changed):
4095 * backend/ev-document-find.h:
4097 Enanche the find interface to be really able to do
4100 * pdf/xpdf/pdf-document.cc:
4104 * shell/ev-view.c: (ev_view_finalize), (highlight_find_results),
4105 (expose_bin_window), (ev_view_init),
4106 (ev_view_get_find_status_message), (find_changed_cb),
4107 (ev_view_set_document), (set_document_page):
4109 Adapt to the new interface. A few things are regressed sorry,
4110 I will finish it soon.
4112 2005-01-28 Martin Kretzschmar <martink@gnome.org>
4114 * shell/ev-sidebar-thumbnails.c (ev_sidebar_thumbnails_destroy)
4115 (ev_sidebar_thumbnails_class_init): use G_DEFINE_TYPE-supplied
4116 ev_sidebar_thumbnails_parent_class variable, don't define another
4117 parent_class variable.
4119 * shell/ev-page-action.c (connect_proxy, ev_page_action_finalize)
4120 (ev_page_action_class_init): ditto.
4122 * pixbuf/pixbuf-document.c (pixbuf_document_finalize)
4123 (pixbuf_document_class_init): ditto.
4125 * backend/ev-link.c (ev_window_dispose, ev_link_class_init):
4128 * .cvsignore: ignore various valgrind output files.
4130 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
4132 * data/evince-ui.xml:
4133 * shell/Makefile.am:
4134 * shell/ev-history.c:
4135 * shell/ev-history.h:
4136 * shell/ev-navigation-action.c:
4137 * shell/ev-navigation-action.h:
4138 * shell/ev-view.c: (ev_view_finalize), (ev_view_go_to_link),
4139 (ev_view_set_page), (ev_view_fit_width):
4141 * shell/ev-window.c: (update_action_sensitivity),
4142 (ev_window_setup_document), (register_custom_actions):
4144 Kill session history
4146 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
4148 * shell/ev-window.c: (update_action_sensitivity):
4150 Fix inverted up/down buttons
4152 2005-01-27 Martin Kretzschmar <martink@gnome.org>
4154 * shell/ev-sidebar-thumbnails.c
4155 (ev_sidebar_thumbnails_select_page): make sure the selected
4156 thumbnail stays visible.
4158 2005-01-26 Martin Kretzschmar <martink@gnome.org>
4160 * shell/ev-window.c (ev_window_init): add GTK_SHADOW_IN to the
4161 scrolled window for Federico.
4163 2005-01-26 Ole Laursen <olau@hardworking.dk>
4165 * configure.ac: Added "da" (Danish) to ALL_LINGUAS.
4167 2005-01-26 Marco Pesenti Gritti <marco@gnome.org>
4170 * pdf/splash/SplashFTFontEngine.cc:
4172 Fix CID fonts with freetype 2.1.9
4174 2005-01-26 Bryan Clark <clarkbw@cvs.gnome.org>
4176 * TODO: added item for desktop icon thumbnailer
4178 Tue Jan 25 00:59:34 2005 Jonathan Blandford <jrb@redhat.com>
4180 * pdf/xpdf/pdf-document.cc (pdf_document_get_title): guard against
4181 unloaded docs when the title is accessed.
4183 * shell/ev-password-view.[hc]: New widget for displaying password
4186 * shell/ev-window.[ch]: Refactor password handling code to handle
4189 2005-01-24 Marco Pesenti Gritti <marco@gnome.org>
4197 2005-01-23 Stephane LOEUILLET <stephane.loeuillet@tiscali.fr>
4199 * pdf/xpdf/pdf-document.cc (pdf_document_search_page_changed):
4200 ignore page offset here, to make search results independent of it,
4202 * shell/ev-view.c (expose_bin_window): but take offsets into
4203 account here. Bug #164932
4205 * pdf/xpdf/pdf-document.cc (pdf_document_get_link): divide by
4206 scale at the right time. Bug #164996
4208 2005-01-22 Martin Kretzschmar <martink@gnome.org>
4210 * pdf/xpdf/GlobalParams.cc: My 2005-01-05 change didn't actually
4211 fix the problem. Now I just removed the Adobe font names and hope
4212 that the URW fonts are always in outline format. Bug #164934
4214 * shell/ev-window.c (update_window_title): empty titles are
4215 useless, use filename in that case too.
4217 * NEWS: Add some content.
4219 2005-01-21 Bryan Clark <clarkbw@cvs.gnome.org>
4221 * TODO: added one more TODO item and a TODONE section :)
4223 2005-01-21 Martin Kretzschmar <martink@gnome.org>
4225 * ps/ps-document.h: add page_[xy]_offset fields.
4227 * ps/ps-document.c (ps_document_set_page_offset)
4228 (ps_document_render): Keep offset in consideration in a few
4229 places. Bug #164752 "postscript documents are not centered in
4232 * data/evince.desktop.in (X-GNOME-Bugzilla-Product):
4233 s/gpdf/evince/. Spotted by Stephane Loeuillet.
4235 * pixbuf/pixbuf-document.c (pixbuf_document_get_n_pages)
4236 (pixbuf_document_get_text, pixbuf_document_document_iface_init):
4237 stub out missing methods for complete EvDocument implementation.
4238 Fixes segfaults with Save A Copy and Copy actions.
4240 * ps/ps-document.c (ps_document_save, ps_document_get_text)
4241 (ps_document_document_iface_init): ditto.
4243 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
4247 * data/evince.desktop.in:
4251 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
4253 * shell/ev-view.c: (ev_view_button_press_event),
4254 (ev_view_motion_notify_event):
4256 Make selection work in any direction
4258 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
4261 * shell/ev-window.c: (set_short_labels), (ev_window_init):
4263 Use shorter labels for some of the toolbars items
4265 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
4267 * pdf/xpdf/pdf-document.cc:
4269 Check the links info is initialized before
4270 using it. Should fix a crash on startup.
4272 2005-01-21 Martin Kretzschmar <martink@gnome.org>
4274 * pixbuf/pixbuf-document.c
4275 (pixbuf_document_thumbnails_get_dimensions): force floating point
4276 division to calculate page_ratio. Fixes crash with landscape
4279 Thu Jan 20 18:56:35 2005 Jonathan Blandford <jrb@redhat.com>
4281 * shell/ev-view.c (ev_view_realize): make the bg color darker.
4283 2005-01-20 Martin Kretzschmar <martink@gnome.org>
4285 * shell/ev-view.c (set_document_page): unset has_selection when
4287 (set_document_page): handle paper size changes when the page
4288 changes (test with Free Culture, page 2).
4290 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
4292 * shell/ev-view.c: (ev_view_size_request), (ev_view_realize),
4293 (expose_bin_window), (ev_view_class_init), (ev_view_init):
4295 Use normal style color for the widget background and
4296 draw a black box around the page.
4298 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
4300 * pdf/xpdf/pdf-document.cc:
4302 Keep offset in consideration in a few places
4304 * shell/ev-view.c: (expose_bin_window):
4306 Set the offsets so that the document is ever centered
4308 2005-01-20 Bryan Clark <clarkbw@cvs.gnome.org>
4310 * TODO: Added TODO items and finished off the first todo item
4312 * AUTHORS: Updated AUTHORS section with piece from gpdf file and
4313 reflect current authors
4315 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
4317 * pdf/xpdf/pdf-document.cc:
4318 * shell/ev-view.c: (ev_view_set_cursor),
4319 (ev_view_motion_notify_event), (document_changed_callback),
4320 (set_document_page):
4322 Show a wait cursor while the page is rendering
4324 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
4326 * shell/ev-sidebar-thumbnails.c:
4327 (ev_sidebar_tree_selection_changed),
4328 (ev_sidebar_thumbnails_select_page):
4329 * shell/ev-sidebar-thumbnails.h:
4330 * shell/ev-view.c: (ev_view_set_document), (ev_view_can_go_back),
4331 (ev_view_can_go_forward):
4332 * shell/ev-window.c: (ev_window_open_page),
4333 (ev_window_setup_document), (update_current_page),
4334 (view_page_changed_cb), (ev_window_init):
4335 * shell/ev-window.h:
4337 Ensure thumbnails selection, toolbar page control and
4338 current page are in sync.
4340 2005-01-19 Marco Pesenti Gritti <marco@gnome.org>
4346 Wed Jan 19 01:10:57 2005 Jonathan Blandford <jrb@redhat.com>
4348 * backend/Makefile.am:
4349 * backend/ev-document-links.h:
4350 * backend/ev-document-security.c: (ev_document_security_get_type),
4351 (ev_document_security_has_document_security),
4352 (ev_document_security_set_password):
4353 * backend/ev-document-security.h:
4354 * backend/ev-document.c: (ev_document_error_quark):
4355 * backend/ev-document.h:
4357 * data/evince-password.glade:
4358 * pdf/xpdf/pdf-document.cc:
4359 * shell/Makefile.am:
4360 * shell/ev-password.c: (ev_password_set_bad_password_label),
4361 (ev_window_password_entry_changed_cb), (ev_password_dialog_new),
4362 (ev_password_dialog_get_password),
4363 (ev_password_dialog_set_bad_pass):
4364 * shell/ev-password.h:
4365 * shell/ev-window.c: (ev_window_get_attribute),
4366 (ev_window_set_property), (update_action_sensitivity),
4367 (ev_window_is_empty), (mime_type_supported_by_gdk_pixbuf),
4368 (ev_window_setup_document), (ev_window_get_password),
4369 (ev_window_open), (ev_window_cmd_save_as),
4370 (using_postscript_printer), (ev_window_print),
4371 (find_not_supported_dialog), (ev_window_cmd_edit_find),
4372 (update_fullscreen_popup), (ev_window_fullscreen),
4373 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
4374 (ev_window_focus_out_cb), (ev_window_cmd_help_about),
4375 (menu_item_select_cb), (find_bar_search_changed_cb),
4376 (ev_window_dispose), (ev_window_init):
4378 Add initial support for password-supported dialogs. This could be
4379 a lot cooler, but it'll do for now.
4381 2005-01-18 Marco Pesenti Gritti <marco@gnome.org>
4383 * pdf/xpdf/pdf-document.cc:
4384 * shell/ev-view.c: (status_message_from_link),
4385 (ev_view_set_status), (ev_view_set_cursor),
4386 (ev_view_motion_notify_event), (ev_view_init):
4387 * shell/ev-window.c: (view_status_changed_cb), (ev_window_init):
4389 Fix bugs in the links implementation and change cursor
4390 when hovering a link.
4392 2005-01-17 Bryan Clark <clarkbw@cvs.gnome.org>
4394 * viewer/.cvsignore: added cvsignore file for viewer directory
4396 * TODO: created TODO document
4398 2005-01-14 Dave Malcolm <dmalcolm@redhat.com>
4401 * shell/ev-view.c (ev_view_can_go_back), (ev_view_can_go_forward):
4402 new functions to help with implementation of sensitivity code
4403 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
4404 of all actions that might require it. Fixes a crash when you
4405 click on the Zoom actions in a window lacking a document.
4407 2005-01-13 Dave Malcolm <dmalcolm@redhat.com>
4409 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
4412 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
4414 * pixbuf/pixbuf-document.c: (pixbuf_document_get_link),
4415 (pixbuf_document_document_iface_init):
4416 * ps/ps-document.c: (ps_document_get_link),
4417 (ps_document_document_iface_init):
4418 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event),
4419 (status_message_from_link), (ev_view_set_status),
4420 (ev_view_set_find_status), (ev_view_motion_notify_event),
4421 (ev_view_button_release_event), (ev_view_set_property),
4422 (ev_view_get_property), (ev_view_class_init), (ev_view_init),
4423 (ev_view_get_find_status_message), (update_find_results),
4424 (ev_view_get_status), (ev_view_get_find_status):
4426 * shell/ev-window.c: (view_status_changed_cb),
4427 (view_find_status_changed_cb), (ev_window_init):
4429 View status message support, use it to show the links.
4432 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
4434 * backend/ev-document.c: (ev_document_get_link):
4435 * backend/ev-document.h:
4436 * pdf/xpdf/pdf-document.cc:
4437 * shell/ev-application.c: (ev_application_open):
4438 * shell/ev-application.h:
4439 * shell/ev-sidebar-links.c: (selection_changed_cb):
4440 * shell/ev-view.c: (ev_view_button_release_event), (go_to_link),
4441 (ev_view_go_to_link):
4443 Add support for document links
4445 2005-01-13 Anders Carlsson <andersca@gnome.org>
4447 * shell/ev-page-action.c: (update_spin), (total_pages_changed_cb),
4449 Set the spin button limits correctly.
4451 * shell/ev-sidebar-thumbnails.c:
4452 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init):
4453 Support changing pages by clicking on the thumbnails.
4455 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
4457 * pixbuf/pixbuf-document.c:
4458 (pixbuf_document_thumbnails_get_dimensions),
4459 (pixbuf_document_document_thumbnails_iface_init):
4461 implement get_dimensions
4463 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
4465 * ps/ps-document.c: (ps_document_goto_page):
4467 Fix page switching on multipage documents
4469 2005-01-12 Jeff Muizelaar <jrmuizel@nit.ca>
4471 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
4473 check for NULL before assigning to width and height parameters
4475 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
4477 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
4478 (pixbuf_document_set_property), (pixbuf_document_get_property):
4480 implement get/set properties
4482 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
4484 * pdf/xpdf/pdf-document.cc: (pdf_info_dict_get_string):
4486 return NULL instead of "Unknown", letting the title get set to
4487 the filename when the pdf has no title.
4489 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
4491 * ps/ps-document.c: (ps_document_get_page_count),
4492 (ps_document_goto_page):
4494 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
4496 * shell/ev-history.c: (ev_history_get_property),
4497 (ev_history_set_property), (ev_history_class_init),
4498 (ev_history_add_page), (ev_history_set_current_index):
4499 * shell/ev-navigation-action.c: (ev_navigation_action_set_history),
4500 (activate_menu_item_cb), (new_history_menu_item), (build_menu),
4501 (ev_navigation_action_finalize):
4502 * shell/ev-navigation-action.h:
4503 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
4504 (ev_view_go_forward), (ev_view_get_find_status_message),
4505 (history_index_changed_cb), (ev_view_set_history):
4507 * shell/ev-window.c: (update_total_pages), (ev_window_open),
4508 (update_current_page), (register_custom_actions):
4510 Implement history dropdowns
4512 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
4514 * shell/ev-history.c: (ev_history_init), (ev_history_add_link):
4515 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
4516 (ev_view_go_forward):
4517 * shell/ev-window.c: (register_custom_actions):
4519 Fix several history bugs
4521 2005-01-11 Kjartan Maraas <kmaraas@gnome.org>
4523 * configure.ac: Add «nb» to ALL_LINGUAS.
4525 2005-01-10 Marco Pesenti Gritti <marco@gnome.org>
4527 * backend/Makefile.am:
4528 * backend/ev-bookmark.c:
4529 * backend/ev-bookmark.h:
4530 * backend/ev-document-bookmarks.c:
4531 * backend/ev-document-bookmarks.h:
4532 * backend/ev-document-links.c: (ev_document_links_get_type),
4533 (ev_document_links_has_document_links),
4534 (ev_document_links_begin_read), (ev_document_links_get_link),
4535 (ev_document_links_get_child), (ev_document_links_next),
4536 (ev_document_links_free_iter):
4537 * backend/ev-document-links.h:
4538 * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_title),
4539 (ev_link_set_title), (ev_link_get_uri), (ev_link_set_uri),
4540 (ev_link_get_link_type), (ev_link_set_link_type),
4541 (ev_link_get_page), (ev_link_set_page), (ev_link_get_property),
4542 (ev_link_set_property), (ev_window_dispose), (ev_link_init),
4543 (ev_link_class_init), (ev_link_new_title), (ev_link_new_page),
4544 (ev_link_new_external):
4545 * backend/ev-link.h:
4546 * pdf/xpdf/pdf-document.cc:
4547 * shell/Makefile.am:
4548 * shell/ev-application.c: (ev_application_open_link):
4549 * shell/ev-application.h:
4550 * shell/ev-history.c: (ev_history_add_link), (ev_history_add_page),
4551 (ev_history_get_link_nth):
4552 * shell/ev-history.h:
4553 * shell/ev-sidebar-bookmarks.c:
4554 * shell/ev-sidebar-bookmarks.h:
4555 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
4556 (ev_sidebar_links_class_init), (selection_changed_cb),
4557 (ev_sidebar_links_construct), (ev_sidebar_links_init),
4558 (links_page_num_func), (ev_sidebar_links_new), (stack_data_free),
4559 (do_one_iteration), (populate_links_idle),
4560 (ev_sidebar_links_clear_document), (ev_sidebar_links_set_document):
4561 * shell/ev-sidebar-links.h:
4562 * shell/ev-sidebar.c: (ev_sidebar_set_document):
4563 * shell/ev-view.c: (go_to_link), (ev_view_go_to_link),
4566 * shell/ev-window.c: (ev_window_open_link), (ev_window_init):
4567 * shell/ev-window.h:
4569 Rename bookmark to link, and use "Index" for the sidebar panel.
4571 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
4573 * shell/Makefile.am:
4574 * shell/ev-application.c: (ev_application_open_bookmark):
4575 * shell/ev-application.h:
4576 * shell/ev-history.c: (ev_history_init), (free_links_list),
4577 (ev_history_finalize), (ev_history_class_init),
4578 (ev_history_add_link), (ev_history_add_page),
4579 (ev_history_get_link_nth), (ev_history_get_n_links),
4580 (ev_history_get_current_index), (ev_history_set_current_index),
4582 * shell/ev-history.h:
4583 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
4584 * shell/ev-view.c: (ev_view_finalize), (ev_view_set_document),
4585 (set_document_page), (go_to_bookmark), (ev_view_go_to_bookmark),
4586 (go_to_index), (ev_view_go_back), (ev_view_go_forward),
4589 * shell/ev-window.c: (ev_window_open_bookmark),
4590 (ev_window_cmd_go_back), (ev_window_cmd_go_forward),
4591 (goto_page_cb), (register_custom_actions):
4592 * shell/ev-window.h:
4594 Initial history implementation. Needs work.
4596 2005-01-09 Martin Kretzschmar <martink@gnome.org>
4598 * pdf/xpdf/GDKSplashOutputDev.cc (redraw): fix pixbuf data offset.
4600 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
4602 * cut-n-paste/recent-files/egg-recent-item.c:
4603 * cut-n-paste/recent-files/egg-recent-item.h:
4604 * cut-n-paste/recent-files/egg-recent-model.c:
4605 * cut-n-paste/recent-files/egg-recent-util.c:
4606 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
4607 * cut-n-paste/recent-files/egg-recent-view.c:
4611 2005-01-08 Martin Kretzschmar <martink@gnome.org>
4613 * pdf/splash/Splash.cc (clear, drawPixel, drawSpan, xorSpan, getPixel)
4614 (fillGlyph, fillImageMask, drawImage):
4615 pdf/splash/SplashBitmap.cc (SplashBitmap, ~SplashBitmap, writePNMFile):
4616 pdf/splash/SplashTypes.h:
4617 pdf/xpdf/SplashOutputDev (startPage, getColor, imageSrc): implement RGB8
4618 packed mode for Splash.
4620 * pdf/xpdf/GDKSplashOutputDev.cc (GDKSplashOutputDev, redraw): use
4621 RGB8 packed mode, eliminates the pixbuf data creation loop.
4623 * shell/ev-print-job.c (ev_print_job_finalize)
4624 (ev_print_job_set_property, ev_print_job_get_property)
4625 (ev_print_job_set_gnome_print_job, ev_print_job_set_document)
4626 (ev_print_job_use_print_dialog_settings, idle_print_handler)
4627 (print_closure_finalize, ev_print_job_print): implement
4628 printing (for backends with EvPsExporter)
4630 * shell/ev_print_job.h: update prototypes.
4632 * shell/ev-window.c (ev_window_print): unref print job after
4635 * shell/ev-view.c (ev_view_set_document): don't connect to "found"
4636 unless the document implements the EvDocumentFind interface.
4638 2005-01-08 Satoru SATOH <ss@gnome.gr.jp>
4640 * configure.ac: Added ja to ALL_LINGUAS.
4642 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
4644 * pdf/xpdf/pdf-document.cc:
4646 add a FIXME. We should probably not allocate
4647 a bookmark object every time
4649 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
4651 * shell/ev-application.c: (ev_application_open),
4652 (ev_application_open_bookmark):
4653 * shell/ev-application.h:
4655 Add a way to open bookmarks
4657 * backend/ev-bookmark.c: (ev_bookmark_get_uri),
4658 (ev_bookmark_set_uri), (ev_bookmark_get_property),
4659 (ev_bookmark_set_property), (ev_bookmark_class_init),
4660 (ev_bookmark_new_title), (ev_bookmark_new_link),
4661 (ev_bookmark_new_external):
4663 Support for external uris, better constructors.
4665 * backend/ev-bookmark.h:
4666 * pdf/xpdf/pdf-document.cc:
4667 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
4669 Handle external uris
4671 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
4673 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb),
4674 (ev_sidebar_bookmarks_construct), (do_one_iteration):
4676 Hook up bookmarks navigation
4678 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
4680 * backend/Makefile.am:
4681 * backend/ev-bookmark.c: (ev_bookmark_type_get_type),
4682 (ev_bookmark_get_title), (ev_bookmark_set_title),
4683 (ev_bookmark_get_bookmark_type), (ev_bookmark_set_bookmark_type),
4684 (ev_bookmark_get_page), (ev_bookmark_set_page),
4685 (ev_bookmark_get_property), (ev_bookmark_set_property),
4686 (ev_window_dispose), (ev_bookmark_init), (ev_bookmark_class_init),
4688 * backend/ev-bookmark.h:
4689 * backend/ev-document-bookmarks.c:
4690 (ev_document_bookmarks_get_bookmark):
4691 * backend/ev-document-bookmarks.h:
4692 * pdf/xpdf/pdf-document.cc:
4693 * shell/ev-sidebar-bookmarks.c: (do_one_iteration):
4695 Add a bookmark object to the backend and use it instead of get_values
4697 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
4699 * data/evince-ui.xml:
4701 Cleanup and add select all.
4703 * shell/ev-view.c: (ev_view_select_all),
4704 (ev_view_button_press_event):
4706 * shell/ev-window.c: (ev_window_cmd_edit_select_all):
4709 Clear selection on click.
4711 Fri Jan 7 01:28:58 2005 Jonathan Blandford <jrb@redhat.com>
4713 * shell/ev-sidebar-thumbnails.c
4714 (ev_sidebar_thumbnails_set_document): forgot to unref the
4717 Fri Jan 7 01:22:48 2005 Jonathan Blandford <jrb@redhat.com>
4719 * shell/ev-sidebar-thumbnails.c: fill in the thumbnails starting
4720 at the visible page, not just linearly. This makes it look fast.
4722 Thu Jan 6 18:48:11 2005 Jonathan Blandford <jrb@redhat.com>
4724 * backend/ev-document-misc.c
4725 (ev_document_misc_get_thumbnail_frame): fill in the thumbnail with
4727 * backend/ev-document-thumbnails.h: New interface to get the size
4730 2005-01-06 Jeremy Katz <katzj@redhat.com>
4732 * shell/Makefile.am (evince_SOURCES): Add ev-utils.[ch] so that
4735 Wed Jan 5 15:38:28 2005 Jonathan Blandford <jrb@redhat.com>
4737 * pdf/xpdf/pdf-document.cc (bitmap_to_pixbuf): bypass
4738 GDKSplashOutputDev and just use a normal SplashOutputDev. Speeds
4741 * shell/ev-sidebar-thumbnail.c: start of some profiling code.
4743 2005-01-05 Martin Kretzschmar <martink@gnome.org>
4745 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): match only outline
4746 fonts. Should fix font problems on systems that have the base
4747 fonts in bitmap format. Reported by James Henstridge
4748 <james@jamesh.id.au>.
4750 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
4753 * pdf/xpdf/GfxState.cc:
4755 Fix for CAN-2004-1125
4757 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
4759 * shell/ev-view.c: (ev_view_copy):
4761 * shell/ev-window.c: (ev_window_cmd_edit_copy):
4763 Implement Edit->Copy
4765 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
4767 * backend/ev-document.c: (ev_document_get_text):
4768 * backend/ev-document.h:
4769 * pdf/xpdf/pdf-document.cc:
4770 * shell/ev-view.c: (ev_view_realize), (expose_bin_window),
4771 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
4772 (ev_view_update_primary_selection), (ev_view_button_press_event),
4773 (ev_view_motion_notify_event), (ev_view_button_release_event):
4775 Beginnings of clipboard support. Incomplete but primary sort
4778 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
4780 * shell/ev-view.c: (ev_gdk_color_to_rgb), (draw_rubberband),
4781 (expose_bin_window):
4783 Nicer rubberband drawing, from GtkIconView.
4785 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
4787 * backend/ev-document.c: (ev_document_save):
4788 * backend/ev-document.h:
4789 * data/evince-ui.xml:
4790 * pdf/xpdf/pdf-document.cc:
4791 * shell/ev-window.c: (save_error_dialog), (ev_window_cmd_save_as):
4793 Implement "Save a copy..." menu item
4795 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
4797 * shell/ev-view.c: (ev_view_zoom):
4799 Queue a resize when zoom changes
4801 Wed Jan 5 02:33:06 2005 Jonathan Blandford <jrb@redhat.com>
4803 * backend/ev-document-misc.[ch]: New misc file to do simple drop
4806 * pdf/xpdf/pdf-document.cc: use the drop shadows in both types of
4809 Tue Jan 4 22:32:32 2005 Jonathan Blandford <jrb@redhat.com>
4811 * pdf/xpdf/pdf-document.cc
4812 (pdf_document_thumbnails_get_page_pixbuf): poor man's dropshadow.
4814 Tue Jan 4 21:25:05 2005 Jonathan Blandford <jrb@redhat.com>
4816 * pdf/xpdf/pdf-document.cc: Do real thumbnailing of PDF files.
4817 It's slow, but I'll speed it up next!
4819 2005-01-04 Jeff Muizelaar <jrmuizel@nit.ca>
4821 * shell/main.c (load_files):
4823 use gnome_vfs_make_uri_from_shell_arg so that relative paths work
4824 from the command line and because it seems more appropriate.
4826 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
4828 * data/evince-ui.xml:
4829 * shell/ev-window.c: (update_action_sensitivity),
4830 (ev_window_cmd_go_page_up), (ev_window_cmd_go_page_down):
4832 s/next page/page down
4833 s/previous page/page up
4835 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
4837 * data/evince-ui.xml:
4839 Change the layout to match clarkbw design.
4841 * shell/Makefile.am:
4842 * shell/ev-navigation-action.c: (build_menu), (menu_activated_cb),
4843 (set_tooltip_cb), (connect_proxy), (ev_navigation_action_init),
4844 (ev_navigation_action_finalize),
4845 (ev_navigation_action_set_property),
4846 (ev_navigation_action_get_property),
4847 (ev_navigation_action_class_init):
4848 * shell/ev-navigation-action.h:
4850 Implement clarkbw toolbar navigation controls (incomplete)
4852 * shell/ev-page-action.c: (update_label), (update_spin),
4853 (value_changed_cb), (create_tool_item), (connect_proxy),
4854 (ev_page_action_init), (ev_page_action_finalize),
4855 (ev_page_action_set_property), (ev_page_action_get_property),
4856 (ev_page_action_set_current_page),
4857 (ev_page_action_set_total_pages), (ev_page_action_class_init):
4858 * shell/ev-page-action.h:
4860 Implement a page switcher in the toolbar
4862 * shell/ev-view.c: (ev_view_scroll_view):
4863 * shell/ev-window.c: (update_total_pages), (ev_window_open),
4864 (update_current_page), (view_page_changed_cb), (goto_page_cb),
4865 (register_custom_actions), (ev_window_init):
4867 Change page on PageUp/Down.
4869 Tue Jan 4 03:22:56 2005 Jonathan Blandford <jrb@redhat.com>
4871 * pdf/xpdf/pdf-document.cc
4872 (pdf_document_thumbnails_get_thumbnail): initial stab at
4873 implementing thumbnail support for pdfs. It only does documents
4874 with precached pdfs now.
4876 Mon Jan 3 17:22:25 2005 Jonathan Blandford <jrb@redhat.com>
4878 * shell/ev-sidebar-thumbnails.c (do_one_iteration): move the
4879 thumbnail code into a time-based idle as well. Also, turn off the
4880 shadow temporarily as it's really slow.
4882 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
4884 * backend/ev-document.c: (ev_document_class_init):
4885 * pdf/xpdf/pdf-document.cc:
4886 * shell/ev-window.c: (ev_window_open):
4888 Fix document title bugs and fallback to
4889 filename when not available.
4891 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
4893 * backend/ev-document.c: (ev_document_get_type),
4894 (ev_document_class_init), (ev_document_load),
4895 (ev_document_get_title):
4896 * backend/ev-document.h:
4897 * pdf/xpdf/pdf-document.cc:
4898 * ps/ps-document.c: (ps_document_set_property),
4899 (ps_document_get_property), (ps_document_class_init),
4903 * shell/ev-window.c: (update_window_title), (ev_window_open),
4906 Initial support for document title. Not working yet.
4908 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
4910 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event):
4912 Grab focus on the view when clicking it
4914 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
4916 * shell/ev-marshal.list:
4917 * shell/ev-view.c: (ev_view_realize), (add_scroll_binding),
4918 (ev_view_scroll_view), (ev_view_class_init), (ev_view_init):
4920 Add key bindings to the view. Now if the focus would work
4923 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
4926 * backend/Makefile.am:
4929 * dvi/dvilib/Makefile.am:
4930 * pdf/xpdf/Makefile.am:
4936 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
4938 * shell/ev-view.c: (ev_view_realize):
4940 Fix mouse wheel scrolling
4942 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
4948 * ps/ps-document.c: (catchPipe), (ps_document_init),
4949 (ps_document_class_init), (ps_document_cleanup),
4950 (ps_document_finalize), (send_ps), (ps_document_get_orientation),
4951 (set_up_page), (close_pipe), (is_interpreter_ready),
4952 (interpreter_failed), (output), (input), (start_interpreter),
4953 (stop_interpreter), (file_length), (file_readable),
4954 (check_filecompressed), (check_pdf), (compute_xdpi),
4955 (compute_ydpi), (compute_size), (ps_document_enable_interpreter),
4956 (ps_document_get_type), (ps_document_emit_error_msg),
4957 (document_load), (ps_document_next_page),
4958 (ps_document_get_current_page), (ps_document_get_page_count),
4959 (ps_document_goto_page), (ps_document_set_page_size),
4960 (ps_document_zoom_to_fit), (ps_document_set_zoom),
4961 (ps_document_load), (ps_document_get_n_pages),
4962 (ps_document_set_page), (ps_document_get_page),
4963 (ps_document_widget_event), (ps_document_set_target),
4964 (ps_document_set_scale), (ps_document_set_page_offset),
4965 (ps_document_get_page_size), (ps_document_render),
4966 (ps_document_document_iface_init):
4969 * shell/ev-window.c: (ev_window_open):
4971 Rename GtkGS to PSDocument
4973 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
4975 * ps/gtkgs.c: (gtk_gs_class_init):
4978 Some more leftover...
4980 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
4982 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_get_orientation),
4983 (output), (stop_interpreter), (gtk_gs_emit_error_msg),
4984 (gtk_gs_zoom_to_fit), (gtk_gs_set_zoom):
4987 Remove unused code and make a lot of stuff private
4989 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
4991 * ps/gsdefaults.c: (gtk_gs_defaults_gconf_client),
4992 (gtk_gs_defaults_changed):
4998 Cleanup headers dependencies
5000 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5005 * ps/gsdefaults.c: (gtk_gs_defaults_get_paper_sizes):
5007 * ps/gtkgs.c: (file_length), (file_readable),
5008 (check_filecompressed), (check_pdf), (gtk_gs_load),
5009 (gtk_gs_get_postscript):
5013 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
5018 * ps/gtkgs.c: (gtk_gs_set_zoom):
5022 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
5024 * ps/gtkgs.c: (gtk_gs_set_zoom), (gtk_gs_set_zoom_mode):
5026 Ensure the page is rerendered when changing zoom
5028 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
5030 * backend/ev-document.c: (ev_document_base_init),
5031 (ev_document_changed):
5032 * backend/ev-document.h:
5034 Add a changed event that is emitted when the page content
5035 changes. This is necessary to deal with the fact that
5036 in ps backend rendering happen asycrounously.
5037 This makes the ps backend mostly work.
5039 * pdf/xpdf/pdf-document.cc:
5043 * ps/gtkgs.c: (set_up_page), (gtk_gs_widget_event),
5044 (ps_document_set_target):
5048 * shell/ev-view.c: (document_changed_callback),
5049 (ev_view_set_document), (ev_view_set_page):
5051 Redraw on the changed signal
5053 2004-12-25 Raphael Higino <raphaelh@cvs.gnome.org>
5055 * configure.ac: Added pt_BR to ALL_LINGUAS.
5057 Fri Dec 24 00:48:44 2004 Jonathan Blandford <jrb@redhat.com>
5059 * backend/ev-document-bookmarks.c:
5060 (ev_document_bookmarks_get_child): *
5061 backend/ev-document-bookmarks.h: * pdf/xpdf/Makefile.am: *
5062 pdf/xpdf/pdf-document.cc: * pdf/xpdf/pdf-document.h: *
5063 shell/Makefile.am: * shell/ev-sidebar-bookmarks.c:
5064 (ev_sidebar_bookmarks_destroy),
5065 (ev_sidebar_bookmarks_class_init),
5066 (ev_sidebar_bookmarks_construct), (stack_data_free),
5067 (do_one_iteration), (populate_bookmarks_idle),
5068 (ev_sidebar_bookmarks_clear_document),
5069 (ev_sidebar_bookmarks_set_document): *
5070 shell/ev-sidebar-bookmarks.h: * shell/ev-sidebar.c:
5071 (ev_sidebar_add_page),
5072 (ev_sidebar_set_document): * shell/ev-window.c: (ev_window_open):
5073 Initial stab at a bookmarks sidebar. It doesn't navigate yet, but
5074 it displays both the topics and the page numbers.
5076 2004-12-23 Kristian Høgsberg <krh@redhat.com>
5078 * shell/ev-window.c (ev_window_view_sidebar_cb): Hook up sidebar
5080 * shell/ev-window.c (toggle_entries): Set sidebar default value to
5083 2004-12-23 Adam Weinberger <adamw@gnome.org>
5085 * configure.ac: Added en_CA to ALL_LINGUAS.
5087 2004-12-23 Martin Kretzschmar <martink@gnome.org>
5089 * ChangeLog: replace bottom of this ChangeLog (merged history of
5090 ggv and gpdf; where all paths were wrong and most of the files are
5091 not even in this tree) with ChangeLog (from arch) of the shell
5094 2004-12-23 Havoc Pennington <hp@redhat.com>
5096 * shell/ev-window.c: hook up potentially-questionable "find
5097 results status text" feature - something involving the sidebar or
5098 scrollbar or a continuous all-pages-on-giant-roll-of-paper-view
5099 might be better in the end.
5101 * shell/ev-view.c (ev_view_get_find_status_message): new function,
5102 with corresponding signal when it should be updated
5104 * shell/eggfindbar.c (egg_find_bar_set_status_text): new function
5106 2004-12-22 Havoc Pennington <hp@redhat.com>
5108 * pdf/xpdf/pdf-document.cc (pdf_document_find_begin): make search
5109 find stuff on other pages, sort of (only returns one result on
5110 invisible pages, to show they have results; updates full results
5111 for a page when you view it). Currently repaints the current page
5112 every time a new result is found on any page, which isn't so nice.
5114 2004-12-22 Havoc Pennington <hp@redhat.com>
5116 * shell/ev-window.c (ev_window_cmd_edit_find): display an error if
5117 the document doesn't support find (better ideas?)
5118 (find_bar_search_changed_cb): handle missing document or document
5119 that doesn't support find
5121 * pdf/xpdf/pdf-document.cc: port to implement the new
5124 * backend/ev-document-find.c: create a new interface for searching
5126 * backend/ev-document.h, backend/ev-document.c: delete the find stuff
5128 2004-12-23 Martin Kretzschmar <martink@gnome.org>
5130 * pdf/xpdf/Makefile.am (libpdfdocument_la_LIBADD): add
5133 * shell/ev-window.c (ev_window_print): add GnomePrintJob to
5134 EvPrintJob constructor arguments.
5136 * backend/ev-ps-exporter.c, backend/ev-ps-exporter.h: interface
5137 for documents that can export PostScript (page by page).
5139 * backend/Makefile.am (libevbackend_la_SOURCES): add them.
5141 * pdf/xpdf/pdf-document.cc (pdf_document_ps_export_begin)
5142 (pdf_document_ps_export_do_page, pdf_document_ps_export_end)
5143 (pdf_document_ps_exporter_iface_init:
5144 Implement EvPSExporter.
5146 * pdf/xpdf/Makefile.am (libxpdf_la_SOURCES): build PSOutputDev.
5148 2004-12-22 Anders Carlsson <andersca@gnome.org>
5150 * backend/Makefile.am:
5151 * backend/ev-document-thumbnails.c:
5152 (ev_document_thumbnails_get_type),
5153 (ev_document_thumbnails_get_thumbnail):
5154 * backend/ev-document-thumbnails.h:
5155 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
5156 (pixbuf_document_thumbnails_get_thumbnail),
5157 (pixbuf_document_document_thumbnails_iface_init):
5158 * shell/Makefile.am:
5159 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_destroy),
5160 (ev_sidebar_thumbnails_class_init), (ev_sidebar_thumbnails_init),
5161 (populate_thumbnails), (ev_sidebar_thumbnails_set_document):
5162 * shell/ev-sidebar-thumbnails.h:
5163 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
5164 (ev_sidebar_set_document):
5165 * shell/ev-utils.c: (gaussian), (create_blur_filter),
5166 (create_shadow), (ev_pixbuf_add_shadow):
5168 Add thumbnail support.
5170 2004-12-22 Martin Kretzschmar <martink@gnome.org>
5172 * shell/ev-window.c (ev_window_cmd_file_print, ev_window_print)
5173 (using_postscript_printer): Set up a print dialog for "PostScript
5176 * shell/ev-print-job.h, shell/ev-print-job.c: stub classes for
5179 * shell/Makefile.am (evince_SOURCES): add ev-print-job.[ch]
5181 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
5183 * ps/gtkgs.c: (gtk_gs_init), (set_up_page),
5184 (ps_document_set_target), (ps_document_get_page_size),
5185 (ps_document_render):
5190 2004-12-22 Christian Rose <menthos@menthos.com>
5192 * configure.ac: Added "sv" to ALL_LINGUAS.
5194 Wed Dec 22 14:47:38 2004 Jonathan Blandford <jrb@redhat.com>
5196 * backend/ev-document-bookmarks.[ch]: new interface to indicate
5197 document supports bookmarks.
5199 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
5201 * ps/ggvutils.c: (ggv_file_readable):
5203 * ps/gtkgs.c: (check_filecompressed), (check_pdf),
5204 (gtk_gs_get_postscript):
5208 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
5210 * ps/gtkgs.c: (gtk_gs_init), (gtk_gs_class_init), (gtk_gs_cleanup),
5211 (gtk_gs_finalize), (gtk_gs_set_center), (set_up_page), (output),
5212 (start_interpreter), (compute_size), (gtk_gs_enable_interpreter),
5213 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_reload),
5214 (gtk_gs_emit_error_msg), (gtk_gs_disable_interpreter),
5215 (gtk_gs_load), (gtk_gs_goto_page), (gtk_gs_set_page_size),
5216 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
5217 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
5218 (gtk_gs_set_antialiasing), (ps_document_load),
5219 (ps_document_render):
5222 Another check point for the ps backend. Now I can get it to show
5225 Wed Dec 22 13:41:01 2004 Jonathan Blandford <jrb@redhat.com>
5227 * shell/ev-sidebar.c (ev_sidebar_set_document): initial sidebar
5228 document setting code.
5230 2004-12-22 Anders Carlsson <andersca@gnome.org>
5232 * shell/eggfindbar.c: (entry_activate_callback):
5233 Animate the next button when activate is pressed.
5235 2004-12-22 Anders Carlsson <andersca@gnome.org>
5237 * shell/ev-window.c: (ev_window_cmd_edit_find),
5238 (update_fullscreen_popup), (ev_window_fullscreen),
5239 (ev_window_unfullscreen), (ev_window_state_event_cb),
5240 (ev_window_focus_out_cb), (find_bar_close_cb), (ev_window_init):
5241 Fix bugs in fullscreen code.
5243 2004-12-22 Anders Carlsson <andersca@gnome.org>
5247 * pixbuf/Makefile.am:
5248 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
5249 (pixbuf_document_load), (pixbuf_document_get_n_pages),
5250 (pixbuf_document_set_page), (pixbuf_document_get_page),
5251 (pixbuf_document_set_target), (pixbuf_document_set_scale),
5252 (pixbuf_document_set_page_offset), (pixbuf_document_get_page_size),
5253 (pixbuf_document_render), (pixbuf_document_begin_find),
5254 (pixbuf_document_end_find), (pixbuf_document_finalize),
5255 (pixbuf_document_class_init),
5256 (pixbuf_document_document_iface_init), (pixbuf_document_init):
5257 * pixbuf/pixbuf-document.h:
5258 * shell/Makefile.am:
5259 * shell/ev-application.c: (ev_application_open):
5260 * shell/ev-window.c: (mime_type_supported_by_gdk_pixbuf),
5264 Tue Dec 21 21:45:43 2004 Soeren Sandmann <sandmann@redhat.com>
5267 * dvi/dvilib/Makefile.am:
5269 * configure.ac: Auto*ify dvi and dvi/dvilib
5271 * dvi/Makefile: Remove from CVS
5273 * dvi/dvilib/dl-pkfont.cc (unpack_bitmap): Fix uchar/uint
5276 * dvi/dvilib/dl-fontdefinition.{cc,hh}: New DviFontMap class
5278 * dvi/dvilib/dl-vffont.{cc,hh}: Many bugfixes to VF code.
5280 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
5283 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_finalize),
5284 (gtk_gs_value_adjustment_changed), (compute_size),
5285 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_new_from_file),
5286 (gtk_gs_center_page), (gtk_gs_load), (gtk_gs_set_page_size),
5287 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
5288 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
5289 (gtk_gs_start_scroll), (gtk_gs_get_postscript),
5290 (gtk_gs_set_adjustments), (gtk_gs_set_available_size),
5291 (ps_document_load), (ps_document_get_n_pages),
5292 (ps_document_set_page), (ps_document_get_page),
5293 (ps_document_set_target), (ps_document_set_scale),
5294 (ps_document_set_page_offset), (ps_document_get_page_size),
5295 (ps_document_render), (ps_document_begin_find),
5296 (ps_document_end_find), (ps_document_document_iface_init):
5298 * shell/Makefile.am:
5299 * shell/ev-window.c: (ev_window_open):
5301 Some work to integrate gtkgs with EvDocument
5303 2004-12-22 Anders Carlsson <andersca@gnome.org>
5305 * shell/ev-window.c: (update_fullscreen_popup),
5306 (screen_size_changed_cb), (destroy_exit_fullscreen_popup),
5307 (exit_fullscreen_button_clicked_cb),
5308 (fullscreen_popup_size_request_cb), (ev_window_fullscreen),
5309 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
5310 (ev_window_state_event_cb), (ev_window_init):
5311 Add fullscreen support from Epiphany.
5313 2004-12-22 Mark McLoughlin <mark@skynet.ie>
5315 * data/ev-stock-zoom-fit-width.png: fit-width
5316 stock icon from gpdf.
5318 * shell/ev-stock-icons.[ch]: copied from gpdf.
5320 * shell/main.c: (main): init stock icons.
5322 * shell/ev-window.c: use the fit-width icon.
5324 * data/evince-ui.xml: add zooming toolbar items.
5326 2004-12-22 Mark McLoughlin <mark@skynet.ie>
5329 (ev_view_best_fit), (ev_view_fit_width): because
5330 get_page_size() returns the scaled page size, we
5331 need to calculate the scale factor relative to
5332 the previous scale factor. Should really just
5333 add get_real_page_size().
5335 2004-12-22 Mark McLoughlin <mark@skynet.ie>
5337 * shell/ev-view.[ch]:
5338 (ev_view_zoom), (ev_view_zoom_in), (ev_view_zoom_out),
5339 (ev_view_normal_size), (ev_view_best_fit), (ev_view_fit_width):
5342 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
5343 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_normal_size),
5344 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width):
5347 * pdf/xpdf/pdf-document.cc:
5348 (pdf_document_begin_find),
5349 (pdf_document_end_find): make static.
5351 2004-12-22 Martin Kretzschmar <martink@gnome.org>
5353 * pdf/xpdf/GlobalParams.h (setupBaseFontsFc): add prototype.
5355 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): maps base font
5356 names to fontconfig patterns.
5357 (setupBaseFontsFc): setupBaseFonts reimplemented using fontconfig.
5359 * pdf/xpdf/pdf-document.cc (pdf_document_load): use
5362 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
5378 Import ggv backend. Not hooked up yet.
5380 2004-12-22 Mark McLoughlin <mark@skynet.ie>
5382 * shell/main.c: (load_files), (main): load files
5383 from the command line.
5385 2004-12-22 Mark McLoughlin <mark@skynet.ie>
5387 * configure.ac: don't require bonobo.
5389 * cut-n-paste/recent-files/*: kill bonobo recent
5392 * shell/ev-window.c:
5393 (ev_window_is_empty): upd.
5394 (unable_to_load), (ev_window_open): load backend
5395 based on the mime type.
5397 2004-12-22 Martin Kretzschmar <martink@gnome.org>
5399 * backend/.cvsignore: ignore generated marshalers source.
5401 * shell/main.c (main): this is not epiphany.
5403 2004-12-22 Havoc Pennington <hp@redhat.com>
5405 * shell/ev-view.c (ev_view_set_document): connect to "found" signal
5406 (expose_bin_window): draw find highlights
5408 * shell/ev-window.c (find_bar_search_changed_cb): implement
5410 * pdf/xpdf/pdf-document.cc (pdf_document_begin_find)
5411 (pdf_document_end_find): implement this interface
5413 * backend/ev-document.c (ev_document_found): add this to emit
5416 Tue Dec 21 23:57:37 2004 Owen Taylor <otaylor@redhat.com>
5418 * data/evince-ui.xml: Add a few more toolbar items.
5420 * shell/ev-window.c: Hook up page navigation toolbar
5423 * shell/ev-view.[ch]: add ev_view_set/get_page and
5424 a page-changed signal.
5426 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc::
5427 Add ev_document_get_page().
5429 * shell/ev-window.c: Sensitize/desensitize navigation
5432 2004-12-21 Havoc Pennington <hp@redhat.com>
5434 * backend/ev-backend-marshal.c,
5435 backend/ev-backend-marshalers.list, backend/Makefile.am: add
5436 marshaler-generator thingy. I'm sure there's a better way to do
5437 this in the modern world.
5439 * backend/ev-document.h (struct _EvDocumentIface): add begin_find,
5440 end_find methods and "found" signal.
5442 * configure.ac: find glib-genmarshal
5444 Tue Dec 21 23:20:35 2004 Jonathan Blandford <jrb@redhat.com>
5446 * shell/ev-sidebar.c: Construct an actual sidebar.
5447 * shell/ev-sidebar-bookmarks.[ch]:
5448 * shell/ev-sidebar-thumbnails.[ch]: Stub out sidebars.
5450 Tue Dec 21 23:05:51 2004 Owen Taylor <otaylor@redhat.com>
5452 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc:
5455 * shell/ev-view.c: Track the size from the document.
5457 Tue Dec 21 22:17:04 2004 Owen Taylor <otaylor@redhat.com>
5459 * pdf/xpdf/pdf-document.cc (pdf_document_load): PDFDoc
5460 constructor assumes ownership of the string passed in.
5462 * shell/ev-window.c (ev_window_open): Destroy the error
5463 dialog once we've displayed it.
5465 Tue Dec 21 21:58:56 2004 Owen Taylor <otaylor@redhat.com>
5467 * pdf/xpdf/pdf-document.cc shell/ev-view.c: Hook things up
5468 a bit, it works! (sort of)
5470 * pdf/xpdf/Makefile.am pdf/xpdf/pdf-document.cc:
5471 Move to .cc since we need to use C++ in the implementation.
5473 * shell/dummy.cc: Add a CC file to force evince
5474 to be linked as a C++ program.
5476 Tue Dec 21 21:07:55 2004 Owen Taylor <otaylor@redhat.com>
5478 * shell/ev-view.[ch]: Start of content-area widget.
5480 * shell/ev-window.c: Create a EvView, update it
5481 as we change documents.
5483 * shell/Makefile.am shell/ev-marshal.list: Add
5484 generated marshalers.
5486 Tue Dec 21 20:28:11 2004 Jonathan Blandford <jrb@redhat.com>
5488 * Makefile.am (SUBDIRS): move shell.
5490 Tue Dec 21 19:28:55 2004 Owen Taylor <otaylor@redhat.com>
5492 * pdf/{goo,fofi,splash,xpdf}/Makefile.am: Switch from
5493 .a to libtool convenience libraries.
5495 * shell/ev-window.c (ev_window_open): Hard code loading
5498 * backend/ev-document.h: Add a boolean return to load(),
5499 fix GError * to GError **.
5501 * pdf/xpdf/pdf-document.[ch] Makefile.am: Add a stub
5502 object for a PDF backend EvDocument.
5504 Tue Dec 21 18:55:06 2004 Søren Sandmann <sandmann@redhat.com>
5506 * dvi/*: New directory with the beginning of a .dvi backend.
5508 2004-12-21 Havoc Pennington <hp@redhat.com>
5510 * shell/eggfindbar.c (egg_find_bar_init): change buttons to
5511 previous/next instead of back/forward
5513 Tue Dec 21 18:26:24 2004 Owen Taylor <otaylor@redhat.com>
5515 * backend/ev-document.[ch]: Fix a couple of problems so
5518 Tue Dec 21 18:20:40 2004 Owen Taylor <otaylor@redhat.com>
5520 * viewer/* backend/* configure.ac Makefile.am: Move viewer directory
5521 to backend/ directory, rename EvViewer to EvDocument.
5523 2004-12-21 Havoc Pennington <hp@redhat.com>
5525 * shell/ev-window.c: hook up the find bar widget; now we just need
5526 a document to find things in
5528 * shell/eggfindbar.c: a find bar widget
5530 Tue Dec 21 17:20:16 2004 Jonathan Blandford <jrb@redhat.com>
5532 * shell/ev-sidebar.[ch]: initial sidebar boilerplate.
5534 Tue Dec 21 16:30:58 2004 Owen Taylor <otaylor@redhat.com>
5536 * pdf/**: Import of xpdf code from gpdf.
5538 * pdf/xpdf/xpdfconfig.h: Move the non-config.h config.h to xpdfconfig.h
5540 * pdf/splash/SplashFTFont.{cc,h} pdf/splash/SplashFTFont.h
5541 pdf/splash/SplashFTFontEngine.h pdf/splash/SplashFTFontFile.h:
5542 Fix FreeType includes.
5544 * pdf/xpdf/{Error.h GnomeVFSStream.cc ImageOutputDev.cc PDFDoc.cc\
5545 pdffonts.cc pdfimages.cc pdfinfo.cc pdftoppm.cc pdftops.cc
5546 pdftotext.cc PSOutputDev.cc PSOutputDev.h SplashOutputDev.h
5547 Stream.cc TextOutputDev.cc XPDFApp.cc xpdf.cc XPDFViewer.cc
5548 pdf/xpdf/Error.h PSOutputDev.h SplashOutputDev.h}:
5549 Include xpdfconfig.h
5551 Tue Dec 21 16:08:17 2004 Jonathan Blandford <jrb@redhat.com>
5553 * shell/ev-window.c (ev_window_dispose): dispose can be called
5556 2004-12-21 Havoc Pennington <hp@redhat.com>
5558 * shell/ev-window.c (ev_window_init): set title to Document Viewer
5561 * data/evince-ui.xml, shell/ev-window.c: add a bunch of stub menu
5562 items; really they should be synced with the strings, etc. from
5563 current gpdf, but just getting the boring typing out of the way
5565 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
5568 * shell/ev-application.c: (window_destroy_cb):
5569 * shell/ev-window.c:
5570 * shell/main.c: (main):
5572 Actually show the window...
5574 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
5577 * shell/Makefile.am:
5578 * shell/ev-application.c: (ev_application_class_init):
5579 * shell/ev-window.c: (ev_window_dispose), (ev_window_class_init):
5583 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
5585 Import to gnome cvs.
5587 * Remove copies of gpdf and ggv trees.
5588 * Rip out all the recursive configure code.
5589 * Remove bonobo machinery.
5590 * viewer/*: GInterfaces that backends should/can implement.
5592 2004-11-09 Martin Kretzschmar <m_kretzschmar@gmx.net>
5594 * shell/ev-window.c (ev_window_cmd_help_about): fix "documentors"
5597 2004-10-28 Martin Kretzschmar <m_kretzschmar@gmx.net>
5599 * shell/ev-application.c (EV_APPLICATION_GET_PRIVATE)
5600 (ev_application_finalize, ev_application_class_init)
5601 (ev_application_init): use GType instance private data for priv.
5603 * shell/ev-window.c (EV_WINDOW_GET_PRIVATE)
5604 (ev_window_finalize, ev_window_class_init)
5605 (ev_window_init): ditto.
5607 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
5609 * shell/ev-application.c (ev_application_new_window): make public
5610 (ev_application_show_initial_window): kill.
5612 * shell/ev-application.h: update prototypes.
5614 * shell/main.cc (main): inline ev_application_show_initial_window.
5616 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
5618 * shell/ev-application.c (ev_application_new_window): impl.
5619 (ev_application_show_initial_window): use it.
5620 (is_window_empty, ev_application_get_empty_window): returns an
5621 existing empty window or a new one.
5622 (ev_application_open): from ev_window_cmd_file_open.
5624 * shell/ev-application.h: update prototypes
5626 * shell/ev-window.c (ev_window_is_empty): impl.
5627 (ev_window_open): make public.
5628 (ev_window_cmd_file_open): use ev_application_open
5630 * shell/ev-window.h: update prototypes, remove unused.
5632 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
5634 * shell/ev-window.c (ev_window_destroy, ev_window_class_init):
5635 move destroy handler out of here...
5637 * shell/ev-application.c, shell/ev-application.h: ...into this new
5638 class. Also handles initial window creation.
5640 * shell/main.cc (main): use EvApplication to create initial
5643 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
5645 * Makefile.am (SUBDIRS): add cut-n-paste
5647 * cut-n-paste/Makefile.am: add
5649 * configure.ac: generate Makefiles in cut-n-paste
5651 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
5653 * shell/ev-window.c (ev_window_dispose): new, unref the ui_manager
5654 (ev_window_class_init): install ev_window_dispose.
5656 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
5658 * shell/ev-window.h, shell/ev-window.c: replace gchar with
5659 char (gchar looks stupid).
5661 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
5663 * po/de.po: updated German translation.
5665 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
5667 * configure.ac: add more pkg-config library checks for gnome-vfs,
5670 * gpdf/configure.in: temporarily disable libpaper
5671 checks. Otherwise I'd have to add the checks for the shell, too.
5673 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
5675 * shell/ev-window.c (ev_window_cmd_file_open): add ps+pdf, ps, pdf
5676 and * file filters to the file choose.
5678 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
5680 * po/de.po: Updated German translation.
5682 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
5684 * shell/ev-window.c: use "S" as mnemonic for Statusbar.
5686 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
5688 * data/evince-ui.xml: add View->Toolbar and View->Statusbar.
5690 * shell/ev-window.c (menu_item_select_cb, menu_item_select_cb)
5691 (ev_window_init): implement those menuitems.
5693 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
5695 * data/evince-ui.xml: add a toolbar (with FileOpen action)
5697 * shell/ev-window.c (ev_window_init): use the toolbar.
5699 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
5701 * shell/ev-window.c (ev_window_init): use menu translations
5703 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
5705 * configure.ac: add "de" to ALL_LINGUAS.
5707 * po/de.po: add German translation.
5709 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
5711 * Makefile.am (SUBDIRS): add po
5713 * configure.ac: check intltool, glib-gettext etc, generate
5716 * po, po/POTFILES.in, po/POTFILES.skip: new.
5718 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
5720 * shell/Makefile.am (INCLUDES): define GNOMELOCALEDIR which we
5721 already use (#ifdef ENABLE_NLS)
5723 * shell/ev-window.c (ev_window_cmd_help_about): fix two star
5724 pointer indirection thinko.
5726 * shell/main.c: include gi18n.h for bindtextdomain etc.
5728 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5730 * shell/ev-window.c (menu_item_select_cb, menu_item_deselect_cb)
5731 (connect_proxy_cb, disconnect_proxy_cb, ev_window_init): show
5732 tooltips for menu items in the statusbar.
5734 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5736 * configure.ac, data/Makefile.am, shell/Makefile.am: use
5737 pkgdatadir drop UIDIR
5739 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5741 * data/evince-ui.xml: Add File->Open menu item
5743 * shell/ev-window.c (ev_window_cmd_file_open): impl. (shows a file
5744 chooser), hook it up in the ui manager.
5746 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5748 * shell/ev-window.c: fix Help->About tooltip.
5750 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5752 * configure.ac: set CFLAGS for libevprivate.
5754 * lib/ev-stock-icons.h, lib/ev-stock-icons.c: stock icon
5755 definitions, factory etc.
5757 * lib/Makefile.am: build libevprivate.a (only stock icon code).
5759 * shell/Makefile.am: link against libevprivate.a.
5761 * shell/ev-window.c (entries): add stock icon to Help->About.
5763 * shell/main.c (main): init stock icon code.
5765 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5767 * lib/recent-files: egg recent files code
5769 * lib/Makefile.am: add.
5771 * Makefile.am: add lib subdir.
5773 * configure.ac: gen. lib/Makefile and lib/recent-files/Makefile,
5774 set CFLAGS for recent-files.
5776 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5778 * configure.ac: disable -ansi and -pedantic gcc flags. They
5779 disable POSIX stuff in stdio.h, but egg-recent uses them.
5781 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5783 * configure.ac: add --disable-deprecated flag (defaults to on in
5786 * shell/Makefile.am (INCLUDES): use it.
5788 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5790 * shell/main.c: add missing #include.
5792 * shell/ev-window.c: fix for pedantic gcc.
5793 (ev_window_cmd_help_about): split license into paragraphs for
5794 translators and pedantic compilers.
5796 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5798 * configure.ac: add more warning flags if compiling with gcc from
5799 cvs (or explicitly requested with --enable-more-warnings).
5801 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5803 * data/evince-ui.xml: add File and File->Close menu.
5805 * shell/ev-window.c (ev_window_cmd_file_close_window): impl.
5806 (ev_window_destroy): quit after destroy.
5807 (ev_window_class_init): override GtkObject::destroy.
5808 (entries): install close_window callback.
5810 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5812 * Makefile.am (SUBDIRS): add data subdir.
5814 * configure.ac (UIDIR): gen data/Makefile, define UIDIR. Require
5815 gtk+ 2.5.0 for GtkAboutDialog.
5817 * data/Makefile.am, data/evince-ui.xml: add, ui definition for the
5820 * shell/Makefile.am (INCLUDES): propagate UIDIR definition.
5822 * shell/ev-window.c (ev_window_init): create a menubar, using a ui
5824 (ev_window_cmd_help_about): about command, using GtkAboutDialog.
5826 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5828 * shell/ev-window.c, shell/ev-window.h: Created an EvWindow class.
5830 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
5832 * shell/main.c: make it a trivial gtk+ program, adjust configure.ac
5834 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
5836 * shell/*: Added shell directory boilerplate, build it.
5838 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
5840 * configure.ac, Makefile.am: Added top-level configure.ac and