1 2005-07-06 Marco Pesenti Gritti <set EMAIL_ADDRESS environment variable>
3 * shell/ev-metadata-manager.c: (parse_value), (save_values),
4 (ev_metadata_manager_set_int), (ev_metadata_manager_set_double),
5 (ev_metadata_manager_set_string),
6 (ev_metadata_manager_set_boolean):
7 * shell/ev-metadata-manager.h:
9 Add support for some more types
11 * shell/ev-view.c: (scroll_to_current_page),
12 (ev_view_get_continuous), (ev_view_set_continuous),
13 (ev_view_get_dual_page):
15 * shell/ev-window.c: (page_changed_cb),
16 (setup_document_from_metadata), (ev_window_setup_document),
17 (setup_view_from_metadata), (ev_window_open_uri),
18 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
19 (ev_window_run_presentation), (ev_window_stop_presentation),
20 (save_sizing_mode), (ev_window_sizing_mode_changed_cb),
21 (ev_window_zoom_changed_cb), (ev_window_update_continuous_action),
22 (ev_window_update_dual_page_action),
23 (ev_window_continuous_changed_cb),
24 (ev_window_dual_mode_changed_cb), (ev_window_init):
26 Remember a bunch of view/document properties. Prolly some
27 are still missing but it's getting interesting.
29 2005-07-05 Martin Kretzschmar <martink@gnome.org>
31 * configure.ac: check if dbus-binding-tool is installed. Not the
32 case on current Ubuntu breezy, it seems.
34 2005-07-05 Luca Ferretti <elle.uca@libero.it>
36 * data/evince.desktop.in.in:
38 Allow open uri lists and add TryExec field.
40 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
44 Enable dbus when available, do not require a configure
47 2005-07-05 Christian Persch <chpe@cvs.gnome.org>
51 Use AM_CONDITIONAL unconditionally, fixes the build with DBUS
54 2005-07-05 Carlos Garcia Campos <carlosgc@gnome.org>
55 Marco Pesenti Gritti <mpg@redhat.com>
57 * shell/Makefile.am: Add --prefix for dbus-binding-tool script
59 * shell/ev-application.[ch], shell/ev-window.c: change dbus RPC
60 functions to the format required by dbus
62 * shell/main.c: use G_TYPE instead of DBUS_TYPE to fix compilation
63 errors. Use the RPC parameters in the expected way
65 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
68 * properties/Makefile.am:
69 * properties/ev-properties-main.c: (ev_properties_get_pages):
71 Support all mime types
74 * thumbnailer/Makefile.am:
75 * thumbnailer/evince-thumbnailer.c: (get_document_from_uri),
76 (evince_thumbnail_pngenc_get):
78 Use the document factory
80 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
82 * backend/Makefile.am:
83 * backend/ev-document-factory.c:
84 (mime_type_supported_by_gdk_pixbuf),
85 (ev_document_type_get_from_mime),
86 (ev_document_factory_get_document),
87 (ev_document_factory_get_backend),
88 (ev_document_factory_get_mime_types),
89 (ev_document_factory_get_all_mime_types):
90 * backend/ev-document-factory.h:
92 * shell/ev-document-types.c: (get_document_from_uri),
93 (ev_document_types_get_document),
94 (file_filter_add_mime_list_and_free),
95 (ev_document_types_add_filters):
96 * shell/ev-document-types.h:
97 * shell/ev-job-xfer.c: (ev_job_xfer_run):
98 * shell/ev-properties-dialog.c:
99 (ev_properties_dialog_set_document):
100 * shell/ev-window.c: (ev_window_cmd_file_open),
101 (ev_window_cmd_save_as):
102 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
104 Rework document types managing to avoid code duplication
105 and actually abstract from backend implementations.
106 Also provide a minimal factory api that can be used by
107 thumbnailer/properties.
109 2005-07-05 Christian Persch <chpe@cvs.gnome.org>
111 * properties/ev-properties-view.c: (ev_properties_view_set_info):
113 * shell/ev-properties-dialog.c: (ev_properties_dialog_init):
116 2005-07-04 Matthew S. Wilson <msw@rpath.com>
118 * shell/ev-properties-dialog.c
119 (ev_properties_dialog_set_document): only call
120 ev_properties_fonts_set_document() if the document implements the
123 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
126 * properties/Makefile.am:
127 * properties/ev-properties-view.c:
128 (ev_properties_view_register_type):
129 * properties/ev-properties-view.h:
130 * properties/ev-properties-main.h:
132 Implement nautilus plugin for properties.
133 Works only for pdf atm, I need to rework the
134 document types stuff to get this to work
137 2005-07-04 Martin Kretzschmar <martink@gnome.org>
139 * shell/ev-properties-fonts.c (enum): kill redundant columns enum
140 (ev_properties_fonts_set_document): use
141 EV_DOCUMENT_FONTS_COLUMN_NUM_COLUMNS.
143 2005-07-04 Matthew S. Wilson <msw@rpath.com>
145 * tiff/tiff2ps.c: remove TRUE and FALSE definitions, glib provides
147 (PlaceImage, tiff2ps_process_page): use
148 g_ascii_dtostr to convert floats to strings in a locale-safe way.
151 2005-07-04 Martin Kretzschmar <martink@gnome.org>
153 * shell/main.c: include libgnomeui/gnome-authentication-manager.h
154 (main): to call gnome_authentication_manager_init. Should fix
157 * configure.ac: that requires libgnomeui 2.6.0.
159 2005-07-04 Matthew S. Wilson <msw@rpath.com>
161 * tiff/tiff-document.c (tiff_document_ps_export_begin)
162 (tiff_document_ps_export_do_page, tiff_document_ps_export_end):
163 use the new tiff2ps interfaces
165 * tiff/tiff2ps.h (tiff2ps_context_new, tiff2ps_process_page)
166 (tiff2ps_context_finalize): implement new interfaces for tiff2ps
168 * tiff/tiff2ps.c: refactor tiff2ps code to use a context
169 structure instead of global variables. Remove use of static
170 variables in functions.
172 2005-07-04 Carlos Garcia Campos <carlosgc@gnome.org>
174 * shell/ev-page-action.c: unref the completion after setting it to the
177 2005-07-04 Matthew S. Wilson <msw@rpath.com>
179 * tiff/tiff2ps.c (generateEPSF): disable generating encapsulated
182 2005-07-04 Matthew S. Wilson <msw@rpath.com>
184 * shell/ev-window.c (update_action_sensitivity): disable
185 File->Print if the document does not implement the ps exporter
188 2005-07-04 Marco Pesenti Gritti <mpg@redhat.com>
192 * data/evince-properties.glade:
193 * properties/.cvsignore:
194 * properties/Makefile.am:
195 * properties/ev-properties-view.c: (ev_properties_view_dispose),
196 (ev_properties_view_class_init), (ev_properties_view_format_date),
197 (make_valid_utf8), (set_property), (ev_properties_view_set_info),
198 (ev_properties_view_init), (ev_properties_view_new):
199 * properties/ev-properties-view.h:
201 * shell/ev-properties-dialog.c: (ev_properties_dialog_class_init),
202 (ev_properties_dialog_init), (ev_properties_dialog_set_document),
203 (ev_properties_dialog_new):
204 * shell/ev-properties-dialog.h:
205 * shell/ev-properties-fonts.c: (ev_properties_fonts_dispose),
206 (ev_properties_fonts_class_init), (ev_properties_fonts_init),
207 (update_progress_label), (job_fonts_finished_cb),
208 (ev_properties_fonts_set_document), (ev_properties_fonts_new):
209 * shell/ev-properties-fonts.h:
210 * shell/ev-properties.c:
211 * shell/ev-properties.h:
212 * shell/ev-window.c: (ev_window_setup_document),
213 (ev_window_cmd_file_properties):
215 Split the properties pages in two different objects, depend
216 only on the backend where possible, use widgets instead
217 of gobject for the glade part, reimplement the dialog
219 I need this to implement nautilus properties page.
221 2005-07-03 Matthew S. Wilson <msw@rpath.com>
223 * tiff/tiff-document.c (tiff_document_ps_export_begin)
224 (tiff_document_ps_export_do_page, tiff_document_ps_export_end)
225 (tiff_document_document_ps_exporter_iface_init): implement the ps
226 exporter interface for tiff documents
228 * tiff/tiff2ps.c: added a modified version of tiff2ps.c from
229 libtiff to implement TIFF postscript export
231 * tiff/tiff2ps.h: added a header file for external tiff2ps
234 * tiff/Makefile.am (libtiffdocument_la_SOURCES): add tiff2ps.c and
237 2005-07-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
239 * shell/ev-view.c: (scroll_to_current_page),
240 (ev_view_set_fullscreen), (ev_view_set_presentation):
242 Scroll to current page when exit from presentation
244 2005-07-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
246 * shell/ev-window.c: (update_document_mode),
247 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
248 (ev_window_cmd_view_fullscreen), (ev_window_stop_presentation),
249 (ev_window_cmd_view_presentation), (ev_window_cmd_escape):
251 Exit from fullscreen mode when switch to presentation. Fix for
254 2005-07-02 Matthew S. Wilson <msw@rpath.com>
256 * shell/ev-pixbuf-cache.c (ev_pixbuf_cache_get_selection_pixbuf):
257 return NULL if the document does not implement the selection
260 2005-07-02 Matthew S. Wilson <msw@rpath.com>
262 * tiff/tiff-document.c (tiff_document_get_page_size): scale the
263 reported height by using the resolution aspect ratio
264 (tiff_document_render_pixbuf): scale the pixbuf using the
265 resolution aspect ratio
267 2005-07-01 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
271 Require libgnomeprint >= 2.5.1. Thanks to Colin Slater
272 <kiltedaco@gmail.com>
274 * djvu/djvu-document.c: (djvu_document_get_orientation),
275 (djvu_document_set_orientation), (djvu_document_get_page_size),
276 (rotate_pixbuf), (djvu_document_render_pixbuf),
277 (djvu_document_document_iface_init):
278 * dvi/dvi-document.c: (dvi_document_get_orientation),
279 (dvi_document_set_orientation), (dvi_document_get_page_size),
280 (rotate_pixbuf), (dvi_document_render_pixbuf),
281 (dvi_document_document_iface_init):
283 Dvi and djvu backends are ported to new API
285 Fri Jul 1 00:10:15 2005 Jonathan Blandford <jrb@redhat.com>
287 * backend/ev-selection.c: (ev_selection_get_selection_region),
288 (ev_selection_get_selection_map):
289 * backend/ev-selection.h:
291 * shell/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
293 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info),
294 (job_finished_cb), (copy_job_to_job_info), (add_job_if_needed),
295 (ev_pixbuf_cache_get_text_mapping):
296 * shell/ev-pixbuf-cache.h:
297 * shell/ev-view.c: (location_in_text),
298 (ev_view_motion_notify_event), (ev_view_set_cursor): Add I-Beam
299 support to EvView. Now we can see where we can select! Sweet!
301 2005-06-30 Kristian Høgsberg <krh@redhat.com>
303 * shell/ev-view.c (ev_view_button_press_event): Fix
304 event->y + view->scroll_x typo.
306 2005-06-30 Kristian Høgsberg <krh@redhat.com>
308 * pdf/ev-poppler.cc: Adjust to poppler API changes; use a
309 sub-GdkPixbuf instead of passing dest_x and dest_y.
311 * shell/ev-view.c: (view_point_to_doc_point),
312 (view_rect_to_doc_rect), (ev_view_button_press_event),
313 (ev_view_motion_notify_event), (compute_new_selection_rect),
314 (gdk_rectangle_point_in), (compute_new_selection_text),
315 (compute_selections): Update selection code to keep the selection
316 around as two points and not as a normalized rectangle, and fix
317 page level selection in two-column mode.
319 2005-06-30 Alex Duggan <aldug@astrolinux.com>
321 * shell/ev-window.c: (window_configure_event_cb):
325 2005-06-30 Marco Pesenti Gritti <mpg@redhat.com>
331 2005-06-30 Marco Pesenti Gritti <mpg@redhat.com>
334 * shell/ev-metadata-manager.c: (item_free),
335 (ev_metadata_manager_init), (ev_metadata_manager_shutdown),
336 (parse_value), (parseItem), (load_values),
337 (ev_metadata_manager_get), (value_free), (ev_metadata_manager_set),
338 (save_values), (save_item), (get_oldest), (resize_items),
339 (ev_metadata_manager_save), (ev_metadata_manager_set_int):
340 * shell/ev-metadata-manager.h:
342 Metadata manager from gedit but modified to use GValue, so that
343 we dont need to keep converting from strings.
347 ENABLE_METADATA conditional, on when dbus is on
349 * shell/ev-application.c: (ev_application_open_uri):
351 Show the window after load so that we can initialize
352 window size before it's showed.
354 * shell/ev-window.c: (ev_window_setup_from_metadata),
355 (ev_window_open_uri), (window_configure_event_cb),
358 Save and load metadata information about window size.
359 Not yet keeping states in account.
361 * shell/main.c: (main):
363 Shutdown metadata manager.
365 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
367 * shell/ev-application-service.xml:
370 * shell/ev-application.c:
371 * shell/ev-application.h:
376 Add an optional dbus interface (--enable-dbus).
377 Rework application code, mainly to be easier to
379 Do not open multiple windows with the same document,
382 Thu Jun 30 01:50:14 2005 Jonathan Blandford <jrb@redhat.com>
384 * shell/ev-pixbuf-cache.c (clear_selection_if_needed): unref the
385 pixbuf iff it exists.
387 Thu Jun 30 01:43:00 2005 Jonathan Blandford <jrb@redhat.com>
390 * backend/ev-render-context.[ch]:
391 * backend/ev-selection.[ch]:
393 Massive changes. We now support text selection of pdfs, and not
394 just rectangular selection. This is pretty broken still, but I
395 want to get something into CVS.
397 2005-06-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
401 Fix for Bug 309080: crash on window close.
403 * shell/ev-page-action.c: (page_changed_cb):
405 Fix for Bug 309168: Fix build with gcc 2.95. Thanks to
406 jensgr@gmx.net (Jens Granseuer).
408 2005-06-25 Marcel Telka <marcel@telka.sk>
410 * configure.in (ALL_LINGUAS): Added sk.
412 2005-06-24 Carlos Garcia Campos <carlosgc@gnome.org>
414 * shell/ev-window.c: Make rotate menu entries unsensitive if there is
417 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
424 * cut-n-paste/recent-files/Makefile.am:
428 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
430 * pixbuf/pixbuf-document.c: (pixbuf_document_get_orientation),
431 (pixbuf_document_set_orientation), (rotate_pixbuf),
432 (pixbuf_document_get_page_size), (pixbuf_document_render_pixbuf),
433 (pixbuf_document_document_iface_init), (pixbuf_document_init):
435 Implement rotation and cleanup the code a bit.
437 * tiff/tiff-document.c: (tiff_document_get_page_size),
438 (tiff_document_get_orientation), (tiff_document_set_orientation),
439 (rotate_pixbuf), (tiff_document_render_pixbuf),
440 (tiff_document_document_iface_init), (tiff_document_init):
442 Implement rotation. Was the quicker solution for the release
443 but we really need to share this code in the shell.
445 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
449 Enable rotation, require poppler cvs. Fix a leak.
451 2005-06-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
453 * shell/ev-window.c: (update_action_sensitivity):
455 Make properties unsensitive if document backend doesn't provide
458 2005-06-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
460 * dvi/mdvi-lib/bitmap.c: (bitmap_alloc), (bitmap_alloc_raw),
461 (bitmap_flip_horizontally), (bitmap_flip_vertically),
462 (bitmap_flip_diagonally), (bitmap_rotate_clockwise),
463 (bitmap_rotate_counter_clockwise), (bitmap_flip_rotate_clockwise),
464 (bitmap_flip_rotate_counter_clockwise):
465 * dvi/mdvi-lib/color.c: (mdvi_push_color), (get_color_table):
466 * dvi/mdvi-lib/common.c: (read_string), (buff_free), (buff_add),
468 * dvi/mdvi-lib/common.h:
469 * dvi/mdvi-lib/dvimisc.c: (mdvi_push_color):
470 * dvi/mdvi-lib/dviread.c: (get_bytes), (dreset), (define_font),
471 (opendvi), (mdvi_reload), (mdvi_init_context),
472 (mdvi_destroy_context), (mdvi_dopage), (special):
473 * dvi/mdvi-lib/font.c: (font_drop_one), (font_free_unused):
474 * dvi/mdvi-lib/fontmap.c: (read_encoding), (destroy_encoding),
475 (file_hash_free), (register_encoding), (parse_spec),
476 (mdvi_load_fontmap), (free_ent), (mdvi_init_fontmaps),
477 (mdvi_add_fontmap_file), (mdvi_ps_read_fontmap),
478 (mdvi_ps_flush_fonts), (mdvi_ps_find_font), (mdvi_ps_get_metrics):
479 * dvi/mdvi-lib/fontsrch.c: (mdvi_list_font_class),
480 (mdvi_register_font_type), (mdvi_unregister_font_type),
481 (lookup_font), (mdvi_add_font), (mdvi_font_retry):
482 * dvi/mdvi-lib/gf.c: (gf_read_bitmap), (gf_load_font):
483 * dvi/mdvi-lib/hash.c: (mdvi_hash_remove), (mdvi_hash_remove_ptr),
484 (mdvi_hash_destroy_key), (mdvi_hash_reset):
485 * dvi/mdvi-lib/pagesel.c: (mdvi_parse_range),
486 (mdvi_parse_page_spec), (mdvi_free_page_spec), (main):
487 * dvi/mdvi-lib/paper.c: (mdvi_free_paper_specs):
488 * dvi/mdvi-lib/pk.c: (pk_lookup), (pk_lookupn), (pk_load_font):
489 * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
490 * dvi/mdvi-lib/special.c: (mdvi_register_special),
491 (mdvi_unregister_special), (mdvi_flush_specials):
492 * dvi/mdvi-lib/t1.c: (t1_lookup_font), (t1_really_load_font),
494 * dvi/mdvi-lib/tfm.c: (get_tfm_chars):
495 * dvi/mdvi-lib/tfmfile.c: (afm_load_file), (tfm_load_file),
496 (ofm1_load_file), (ofm_load_file), (get_font_metrics),
497 (free_font_metrics), (flush_font_metrics):
498 * dvi/mdvi-lib/tt.c: (tt_really_load_font), (tt_get_bitmap),
500 * dvi/mdvi-lib/util.c: (mdvi_malloc), (mdvi_realloc),
501 (mdvi_calloc), (mdvi_free), (mdvi_strdup), (mdvi_strncpy),
502 (mdvi_strndup), (mdvi_memdup), (xstradd), (dstring_append),
503 (dstring_insert), (dstring_new), (dstring_reset):
504 * dvi/mdvi-lib/vf.c: (vf_load_font), (vf_free_macros):
506 Rename xmalloc and xfree to mdvi_malloc and mdvi_free to
507 avoid conflict with libtool on FC4
509 * shell/ev-window.c: (ev_window_cmd_help_about):
511 Update copyright year. Fix for bug 308828.
513 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
515 * shell/ev-view.c: (add_scroll_binding_keypad),
516 (ev_view_binding_activated), (ev_view_class_init),
517 (on_adjustment_value_changed):
519 Bug 170874: Arrow keys switch pages in presentation mode
521 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
523 * shell/ev-window.c: (ev_window_sidebar_visibility_changed_cb):
525 Fix for Bug 308265: Sidebar dissappears coming out of
528 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
530 * shell/ev-application.c: (ev_application_open):
531 * shell/ev-document-types.c: (ev_document_types_add_filters),
532 (ev_document_types_add_filters_for_type):
533 * shell/ev-document-types.h:
534 * shell/ev-window.c: (ev_window_cmd_save_as):
536 Suggest basename as template when saving, provide filters
537 for save dialog. It's bug 308402
539 2005-06-20 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
542 * shell/ev-sidebar-links.c: (job_finished_callback):
543 * shell/ev-view.c: (update_find_status_message):
547 2005-06-19 Christian Persch <chpe@cvs.gnome.org>
549 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
550 (egg_recent_view_uimanager_set_list):
552 Fix buglet in !show_numbers case.
554 2005-06-19 Christian Persch <chpe@cvs.gnome.org>
556 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
557 (connect_proxy_cb), (egg_recent_view_uimanager_set_list):
559 Use pango ellipsisation.
563 Fix refcount leak, from nsh.
565 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
567 * cut-n-paste/recent-files/Makefile.am:
568 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
569 * cut-n-paste/recent-files/egg-recent-view-gtk.h:
571 Removed EggRecentViewGtk
573 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
574 * cut-n-paste/recent-files/egg-recent-view-uimanager.h:
575 * shell/ev-window.c: (ev_window_cmd_recent_file_activate),
576 (ev_window_setup_recent):
578 Use ViewUIManager instead of ViewGtk. Less leaks, more compatibility
581 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
583 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
584 (egg_recent_view_gtk_finalize):
588 * cut-n-paste/toolbar-editor/Makefile.am:
590 Fix location of cursor icon.
593 * shell/ev-page-action.c: (build_new_tree_cb), (match_selected_cb),
594 (display_completion_text), (match_completion):
595 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
596 (selection_changed_callback), (create_loading_model),
597 (print_section_cb), (links_page_num_func),
598 (update_page_callback_foreach):
599 * shell/ev-window.c: (ev_window_dispose):
601 Small memory fixes. Links model now store objects instead
602 of pointers to improve memory management.
604 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
606 * shell/ev-window.c: (zoom_control_changed_cb):
608 Fix update of zoom control (bug 308268).
610 Sat Jun 18 22:46:42 2005 Jonathan Blandford <jrb@redhat.com>
612 * shell/ev-properties.c (set_property): escape the text correctly.
613 Handles non-UTF-8 properties and escaped properties. Also, sets
614 the text to "<i>None</i>" if the property isn't set.
616 * data/evince-properties.glade: Change the label to be ellipsized,
617 and give it a minimum size.
619 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
621 * lib/ev-file-helpers.c: (ev_file_helpers_shutdown):
622 * shell/ev-sidebar-links.c: (create_loading_model):
623 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose):
624 * shell/ev-view.c: (ev_view_set_document):
625 * shell/ev-window.c: (ev_window_dispose):
627 Various small fixes, mostly memory leaks. Thanks to valgrind.
629 2005-06-19 Martin Kretzschmar <martink@gnome.org>
631 * ps/ps-document.c: remove the locale.h include again ;-). And
632 kill the (bogus) setlocale/savelocale business.
634 2005-06-19 Jaap A. Haitsma <jaap@haitsma.org>
638 Include locale.h to fix build
640 * shell/ev-sidebar.c:
642 Remove unnecessary includes
644 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
646 * dvi/dvi-document.c: (dvi_document_load):
647 * dvi/mdvi-lib/dviread.c: (mdvi_init_context):
650 Check for incorrect dvi files. Fix parsing dvi on AMD64
651 platform. Thanks to tester@tester.ca (Olivier Crete).
653 2005-06-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
655 * shell/ev-page-action.c: (match_selected_cb),
656 (display_completion_text), (match_completion), (update_model):
657 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
659 * shell/ev-sidebar.c: (ev_sidebar_destroy),
660 (ev_sidebar_menu_item_activate_cb), (ev_sidebar_add_page),
661 (ev_sidebar_set_document):
662 * shell/ev-window.c: (ev_window_xfer_job_cb),
663 (sidebar_widget_model_set), (sidebar_page_main_widget_update_cb):
665 Fixed lot's of memory leaks, for example, memory leak on reload,
666 described in bug 307793.
668 2005-06-18 Marco Pesenti Gritti <mpg@redhat.com>
671 * shell/ev-sidebar-thumbnails.c: (clear_range), (add_range),
672 (update_visible_range), (adjustment_changed_cb),
673 (ev_sidebar_thumbnails_fill_model),
674 (ev_sidebar_thumbnails_refresh),
675 (ev_sidebar_tree_selection_changed),
676 (ev_sidebar_icon_selection_changed),
677 (ev_sidebar_thumbnails_use_icon_view),
678 (ev_sidebar_thumbnails_set_document):
679 * shell/ev-sidebar-thumbnails.h:
680 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
681 (ev_window_cmd_edit_rotate_right), (ev_window_init):
683 Refresh thumbnails when changing orientation. Not fully
684 working yet becuase of a sidebar bug.
686 Set page orientation to poppler page everywhere. This sucks
687 really need to fix poppler.
689 2005-06-18 Marco Pesenti Gritti <mpg@redhat.com>
691 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
692 (egg_recent_view_gtk_new_menu_item),
693 (egg_recent_view_gtk_set_property),
694 (egg_recent_view_gtk_get_property),
695 (egg_recent_view_gtk_class_init), (egg_recent_view_gtk_init),
696 (egg_recent_view_gtk_set_tooltip_func),
697 (egg_recent_view_gtk_set_label_width),
698 (egg_recent_view_gtk_get_label_width):
699 * cut-n-paste/recent-files/egg-recent-view-gtk.h:
701 Sync with libegg (ellipsize labels)
703 2005-06-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
705 * data/evince-ui.xml:
706 * shell/ev-window.c: (ev_window_cmd_go_forward),
707 (ev_window_cmd_go_backward):
709 Shift + PageUp moves 10 Pages. Fix for 306125
711 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
715 Add a flag to check if orientation has been overriden
717 2005-06-17 Martin Kretzschmar <martink@gnome.org>
719 * ps/ps.c (psscan, psfree): read "Creator:" comment, free creator
722 * ps/ps.h: add creator field to document.
724 * ps/ps-document.c (ps_document_get_info): set format to PostScript,
727 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
729 * data/evince-properties.glade:
730 * shell/ev-properties.c: (ev_properties_set_document):
734 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
736 * shell/ev-properties.c: (ev_properties_set_document):
738 Remove unnecessary translations
740 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
742 * cut-n-paste/toolbar-editor/Makefile.am:
746 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
749 * cut-n-paste/recent-files/egg-recent-model.c:
750 (egg_recent_model_write_raw), (egg_recent_model_lock_file),
751 (egg_recent_model_unlock_file):
752 * cut-n-paste/recent-files/egg-recent-util.c:
753 (egg_recent_util_get_unique_id):
754 * cut-n-paste/recent-files/update-from-egg.sh:
755 * cut-n-paste/toolbar-editor/Makefile.am:
756 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
757 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
758 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
759 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
760 (egg_toolbars_model_get_type):
761 * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
763 Better makefile for toolbar editor and update everything
766 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
768 * shell/ev-window.c: (update_document_mode):
770 Prefer presentation mode when the document
773 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
775 * data/evince-ui.xml:
778 Add control-equal for zooming
780 2005-06-17 Theppitak Karoonboonyanan <thep@linux.thai.net>
782 * configure.ac: Added 'th' (Thai) to ALL_LINGUAS.
784 2005-06-16 Marco Pesenti Gritti <mpg@redhat.com>
786 * backend/ev-document.c: (ev_document_get_orientation):
787 * backend/ev-document.h:
789 * ps/ps-document.c: (ps_document_get_orientation),
790 (ps_document_set_orientation), (ps_document_document_iface_init):
792 Add a get_orientation api. Improve set_orientation.
794 * data/evince-ui.xml:
795 * shell/ev-view.c: (ev_view_set_orientation),
796 (ev_view_rotate_right), (ev_view_rotate_left):
798 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
799 (ev_window_cmd_edit_rotate_right):
801 Better ui for changing document orientation
803 2005-06-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
805 * shell/ev-sidebar-links.c: (ev_sidebar_links_get_property),
806 (ev_sidebar_links_class_init), (ev_sidebar_links_get_label):
807 * shell/ev-sidebar-links.h:
808 * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
809 (ev_sidebar_page_iface_init):
810 * shell/ev-sidebar-page.h:
811 * shell/ev-sidebar-thumbnails.c:
812 (ev_sidebar_thumbnails_get_property),
813 (ev_sidebar_thumbnails_class_init),
814 (ev_sidebar_thumbnails_set_document):
815 * shell/ev-sidebar-thumbnails.h:
816 * shell/ev-view.c: (ev_view_motion_notify_event):
817 * shell/ev-window.c: (update_chrome_visibility),
818 (ev_window_cmd_focus_page_selector),
819 (ev_window_update_fullscreen_popup), (view_actions_focus_in_cb),
820 (sidebar_page_main_widget_update_cb), (ev_window_init):
822 Autoraise toolbar on GoToPage binding and fix bindings in
823 EvSidebarThumbnails page.
825 2005-06-15 Christian Persch <chpe@cvs.gnome.org>
827 * shell/ev-properties.c: (update_progress_label):
829 Hide the progress label when finished; bug #307697.
831 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
835 Enable is_open for links, you will need poppler cvs
837 * shell/ev-properties.c: (job_fonts_finished_cb):
839 Get a lock on the document when filling the tree view
841 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
843 * backend/ev-document-links.h:
845 * shell/ev-sidebar-links.c: (create_loading_model),
846 (expand_open_links), (job_finished_callback):
848 Expand links when specified by the document.
849 Depend on a poppler api (defined out for now)
851 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
853 * shell/ev-properties.c: (ev_properties_dispose),
854 (ev_properties_class_init), (dialog_destroy_cb),
855 (ev_properties_init), (job_fonts_finished_cb), (setup_fonts_view),
856 (ev_properties_set_document), (ev_properties_new),
857 (ev_properties_show):
858 * shell/ev-properties.h:
860 Make it an object, cleanup the code, api to show it as transient
861 and to set the document.
863 * shell/ev-window.c: (ev_window_setup_document),
864 (ev_window_cmd_file_properties):
866 Adapt to EvProperties changes, do not show multiple
867 times, update it when document changes.
869 2005-06-14 Marco Pesenti Gritti <mpg@redhat.com>
872 * ps/ps-document.c: (ps_document_init), (get_page_orientation),
873 (ps_document_set_orientation), (ps_document_document_iface_init):
876 Implement orientation here too
878 * shell/ev-properties.c: (ev_properties_new):
879 * data/evince-properties.glade:
881 Hide the fonts page for backends that doesnt
884 2005-06-14 Marco Pesenti Gritti <mpg@redhat.com>
886 * backend/ev-document.c: (ev_document_set_orientation):
887 * backend/ev-document.h:
890 Add orientation api. Currently poppler api is not optimal,
891 we need to set orientation every time we _get a page.
892 I will try to fix that at some point.
894 * data/evince-ui.xml:
895 * shell/ev-window.c: (ev_window_cmd_edit_landscape),
896 (ev_window_cmd_edit_portrait), (ev_window_cmd_edit_flip):
898 Add orientation menu items
900 * shell/ev-page-cache.c: (ev_page_cache_clear):
901 * shell/ev-page-cache.h:
903 Add api to clear the cache
905 * shell/ev-view.c: (setup_caches), (clear_caches),
906 (ev_view_set_document), (ev_view_zoom_out),
907 (ev_view_set_orientation):
910 Implement orientation changing
912 2005-06-13 Marco Pesenti Gritti <mpg@redhat.com>
914 * backend/ev-document-fonts.c: (ev_document_fonts_get_progress),
915 (ev_document_fonts_scan), (ev_document_fonts_fill_model):
916 * backend/ev-document-fonts.h:
918 Separate scan and fill so that we can incrementally fill from
919 the main thread. Add a progress api.
921 * data/evince-properties.glade:
923 * shell/ev-jobs.c: (ev_job_fonts_new), (ev_job_fonts_run):
925 * shell/ev-properties.c: (update_progress_label),
926 (job_fonts_finished_cb), (setup_fonts_view):
928 Incrementally feel the list and show the progress
929 percentage in a label like acrobat does.
931 You are going to need poppler cvs
933 2005-06-11 Marco Pesenti Gritti <mpg@redhat.com>
935 * backend/ev-document-fonts.c: (ev_document_fonts_fill_model):
936 * backend/ev-document-fonts.h:
939 Make fonts model fill incrementally.
941 * shell/ev-job-queue.c: (handle_job), (search_for_jobs_unlocked),
942 (no_jobs_available_unlocked), (ev_job_queue_init), (find_queue),
943 (ev_job_queue_remove_job):
944 * shell/ev-jobs.c: (ev_job_fonts_init), (ev_job_fonts_class_init),
945 (ev_job_fonts_new), (ev_job_fonts_run):
948 New job for fonts scanning
950 * shell/ev-properties.c: (job_fonts_finished_cb),
951 (fill_fonts_treeview), (setup_fonts_view), (ev_properties_new):
952 * shell/ev-properties.h:
953 * shell/ev-window.c: (ev_window_cmd_file_properties):
955 Incrementally feel the treeview using the new job. Show Loading...
956 message until scanning is completed.
958 Hopefully I didnt break the build without the poppler patch.
960 2005-06-10 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
962 * shell/ev-application.c: (ev_application_open):
963 * shell/ev-document-types.c: (ev_document_type_from_from_mime),
964 (ev_document_type_get_type), (ev_document_type_lookup):
965 * shell/ev-document-types.h:
966 * shell/ev-job-xfer.c: (ev_job_xfer_dispose), (ev_job_xfer_run):
967 * shell/ev-job-xfer.h:
968 * shell/ev-window.c: (ev_window_clear_local_uri),
969 (ev_window_load_job_cb), (ev_window_xfer_job_cb),
970 (ev_window_open_uri), (ev_window_add_recent), (ev_window_dispose):
971 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
973 Transfer remote documents to tmp directory to display them later.
975 2005-06-10 Marco Pesenti Gritti <mpg@redhat.com>
977 * backend/ev-document-info.h:
978 * shell/ev-properties.c: (ev_properties_new):
980 s/GTime*/GTime. Not sure why we was using a pointer
983 Wed Jun 8 01:04:22 2005 Jonathan Blandford <jrb@redhat.com>
985 * shell/ev-sidebar-thumbnails.c: Use a GtkIconView in certain
986 situations. That situation is that you're using GTK+-HEAD with
987 the patch at #306726 is applied, and you have a document with <
988 1500 pages in it. It's not quite as uniformly nice as the
989 TreeView, but should be better in the long run.
991 I'm pretty sure I guarded against breaking compilation with
992 HAVE_GTK_ICON_VIEW_GET_VISIBLE_RANGE gaurds, though it's possible
995 * shell/ev-window.c (ev_window_init): We don't have our tree/list
996 widget yet, so I commented that code out
997 enable_view_actions_for_widget() for now. Need to figure this
1000 * shell/ev-page-action.c (match_selected_cb): emit the right
1001 signals. Our cool C-l completion now works.
1003 2005-06-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1005 * backend/Makefile.am:
1006 * backend/ev-document-fonts.c:
1007 * backend/ev-document-links.c:
1008 * backend/ev-document.c: (ev_document_load):
1009 * backend/ev-document.h:
1010 * backend/ev-job-queue.c:
1011 * backend/ev-job-queue.h:
1012 * backend/ev-jobs.c:
1013 * backend/ev-jobs.h:
1014 * backend/ev-page-cache.c:
1015 * backend/ev-page-cache.h:
1017 EvPageCache and EvJobs are moved to shell.
1019 * lib/ev-file-helpers.c: (ev_file_helpers_shutdown),
1021 * lib/ev-file-helpers.h:
1023 New helper to work with temporary files
1025 * shell/Makefile.am:
1026 * shell/ev-application.c: (ev_application_open):
1027 * shell/ev-application.h:
1028 * shell/ev-job-queue.c: (remove_job_from_queue_locked),
1029 (remove_job_from_async_queue), (add_job_to_async_queue),
1030 (add_job_to_queue_locked), (notify_finished), (job_finished_cb),
1031 (handle_job), (search_for_jobs_unlocked),
1032 (no_jobs_available_unlocked), (ev_render_thread),
1033 (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
1034 (ev_job_queue_add_job), (move_job_async), (move_job),
1035 (ev_job_queue_update_job), (ev_job_queue_remove_job):
1036 * shell/ev-job-queue.h:
1037 * shell/ev-job-xfer.c: (ev_job_xfer_init), (ev_job_xfer_dispose),
1038 (ev_job_xfer_class_init), (ev_job_xfer_new), (ev_job_xfer_run):
1039 * shell/ev-job-xfer.h:
1040 * shell/ev-jobs.c: (ev_job_init), (ev_job_dispose),
1041 (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
1042 (ev_job_links_class_init), (ev_job_render_init),
1043 (ev_job_render_dispose), (ev_job_render_class_init),
1044 (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
1045 (ev_job_thumbnail_class_init), (ev_job_load_init),
1046 (ev_job_load_dispose), (ev_job_load_class_init), (ev_job_finished),
1047 (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
1048 (render_finished_cb), (ev_job_render_run), (ev_job_thumbnail_new),
1049 (ev_job_thumbnail_run), (ev_job_load_new), (ev_job_load_run):
1051 * shell/ev-page-action.c: (ev_page_action_set_document):
1052 * shell/ev-page-cache.c: (ev_page_cache_init),
1053 (ev_page_cache_class_init), (ev_page_cache_finalize),
1054 (ev_page_cache_new), (ev_page_cache_get_n_pages),
1055 (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
1056 (ev_page_cache_set_page_label), (ev_page_cache_set_link),
1057 (ev_page_cache_get_title), (ev_page_cache_get_size),
1058 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
1059 (ev_page_cache_get_height_to_page),
1060 (ev_page_cache_get_max_label_chars),
1061 (ev_page_cache_get_page_label),
1062 (ev_page_cache_has_nonnumeric_page_labels),
1063 (ev_page_cache_get_info), (ev_page_cache_next_page),
1064 (ev_page_cache_prev_page), (ev_page_cache_get):
1065 * shell/ev-page-cache.h:
1066 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_update_range),
1067 (ev_pixbuf_cache_clear_job_sizes),
1068 (ev_pixbuf_cache_add_jobs_if_needed),
1069 (ev_pixbuf_cache_set_page_range):
1070 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings):
1071 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document):
1072 * shell/ev-sidebar-thumbnails.c:
1073 (ev_sidebar_tree_selection_changed),
1074 (ev_sidebar_thumbnails_set_document):
1075 * shell/ev-statusbar.c: (ev_statusbar_destroy),
1076 (ev_statusbar_class_init), (ev_statusbar_init), (ev_statusbar_new),
1077 (ev_statusbar_get_context_id), (ev_statusbar_push),
1078 (ev_statusbar_pop), (ev_statusbar_set_maximized),
1079 (ev_statusbar_pulse), (ev_statusbar_show_progress),
1080 (ev_statusbar_set_progress):
1081 * shell/ev-statusbar.h:
1082 * shell/ev-view.c: (ev_view_set_document), (ev_view_find_next),
1083 (ev_view_find_previous):
1084 * shell/ev-window.c: (ev_window_is_empty),
1085 (ev_window_setup_document), (password_dialog_response),
1086 (ev_window_clear_jobs), (ev_window_load_job_cb),
1087 (ev_window_xfer_job_cb), (ev_window_open_uri),
1088 (ev_window_open_uri_list), (ev_window_cmd_recent_file_activate),
1089 (ev_window_print), (ev_window_print_range),
1090 (ev_window_state_event), (ev_window_cmd_view_reload),
1091 (menu_item_select_cb), (menu_item_deselect_cb),
1092 (view_status_changed_cb), (ev_window_dispose),
1093 (drag_data_received_cb), (ev_window_init):
1094 * shell/ev-window.h:
1095 * shell/main.c: (load_files):
1097 New statusbar to show progress on idle. Two new jobs -
1098 xfer job and load job to load document in background. And update
1099 of page_cache clients to new location of code.
1101 2005-06-08 Carlos Garcia Campos <carlosgc@gnome.org>
1103 * shell/ev-application.c, shell/ev-window.[ch]: Allow multiple
1104 selection in open dialog. It also remembers the last visited directory
1105 in the current session.
1107 2005-06-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1109 * shell/ev-properties.c: (ev_properties_new):
1110 * shell/ev-properties.h:
1111 * shell/ev-window.c: (ev_window_cmd_file_properties):
1113 Get document info from page cache instead of document itself.
1114 This should fix crash related to race conditions described in
1117 2005-06-07 Marco Pesenti Gritti <mpg@redhat.com>
1119 * ps/ps-document.c: (ps_document_init),
1120 (send_ps), (get_page_box), (output), (catchPipe), (input),
1121 (stop_interpreter), (file_length), (file_readable),
1122 (check_filecompressedb), (ps_document_enable_interpreter),
1123 (document_load), (ps_async_renderer_render_pixbuf):
1126 Big cleanup of the ps code
1128 2005-06-07 Marco Pesenti Gritti <mpg@redhat.com>
1130 * backend/Makefile.am:
1131 * backend/ev-async-renderer.c: (ev_async_renderer_get_type),
1132 (ev_async_renderer_class_init), (ev_async_renderer_render_pixbuf):
1133 * backend/ev-async-renderer.h:
1135 Add an async renderer interface (method + callback) which
1136 is useful for backends like ps.
1138 * backend/ev-job-queue.c: (remove_job_from_async_queue),
1139 (add_job_to_async_queue), (job_finished_cb), (handle_job),
1140 (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
1141 (ev_job_queue_add_job), (move_job_async), (move_job),
1142 (ev_job_queue_update_job), (ev_job_queue_remove_job):
1144 Add queues for async renderer, these are executed on the
1147 * backend/ev-jobs.c: (ev_job_render_new), (render_finished_cb),
1148 (ev_job_render_run):
1149 * backend/ev-jobs.h:
1151 If the backend support async renderer interface use it.
1153 * ps/ps-document.c: (ps_document_init), (push_pixbuf),
1154 (setup_pixmap), (ps_document_get_type),
1155 (ps_async_renderer_render_pixbuf),
1156 (ps_document_document_iface_init), (ps_async_renderer_iface_init):
1158 Implement async renderer interface.
1160 2005-06-07 Nickolay V. Shmyrev <<nshmyrev@yandex.ru>>
1162 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose):
1164 Cleanup links job on exit.
1166 2005-06-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1168 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
1169 (drag_data_get_cb), (drag_data_received_cb):
1170 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
1171 (drag_data_get_cb), (parse_item_list),
1172 (egg_toolbar_editor_load_actions):
1173 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
1174 (egg_toolbars_model_to_xml), (egg_toolbars_model_save),
1175 (parse_item_list), (parse_toolbars):
1176 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
1177 (dvi_pixbuf_put_pixel):
1179 Fix gcc 4.0 warnings
1181 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
1183 * ps/ps-document.c: (start_interpreter):
1185 Fix warning when loading ps
1187 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
1189 * ps/ps-document.c: (output):
1191 Fix crash when priting gs error messages.
1193 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
1195 * backend/ev-page-cache.c: (_ev_page_cache_new):
1196 * backend/ev-page-cache.h:
1198 Use a const to return title so that we dont double
1199 free it. Small cleanup and fix a leak.
1201 * shell/ev-window.c: (update_window_title):
1203 strdup value from get_title.
1205 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
1207 * shell/ev-sidebar-links.c: (job_finished_callback),
1208 (ev_sidebar_links_set_document):
1210 Cleanup the old job when changing document
1212 2005-06-05 Nickolay V. Shmyrev <<nshmyrev@yandex.ru>>
1214 * shell/ev-stock-icons.c:
1215 * shell/ev-stock-icons.h:
1216 * shell/ev-window.c:
1218 Add stock icons for actions that can appear in toolbar. Fix for
1221 2005-06-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1223 * backend/ev-page-cache.c: (ev_page_cache_finalize),
1224 (_ev_page_cache_new), (ev_page_cache_get_max_width),
1225 (ev_page_cache_get_max_height), (ev_page_cache_get_height_to_page):
1226 * backend/ev-page-cache.h:
1227 * shell/ev-view.c: (scroll_to_current_page),
1228 (view_update_range_and_current_page), (get_page_y_offset),
1229 (get_page_extents), (ev_view_size_request_continuous_dual_page),
1230 (ev_view_size_request_continuous),
1231 (ev_view_zoom_for_size_continuous_and_dual_page),
1232 (ev_view_zoom_for_size_continuous):
1234 More compact EvView layout in document with pages of different size.
1236 Sat Jun 4 19:20:57 2005 Jonathan Blandford <jrb@redhat.com>
1238 * shell/ev-window.c (ev_window_cmd_file_properties): fix
1241 2005-06-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1243 * shell/ev-view.c: (view_set_adjustment_values):
1244 * shell/ev-window.c: (ev_window_cmd_file_properties):
1246 A bit different fix for rounding problem but it has no
1247 problems on startup. Make properties window transient to parent.
1249 2005-06-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1251 * pdf/ev-poppler.cc:
1253 More commenting of font stuff.
1255 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1257 * pdf/ev-poppler.cc:
1259 Comment out some more fonts stuff. Should really
1260 work without the poppler patch now.
1262 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1264 * pdf/ev-poppler.cc:
1268 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1270 * data/evince-properties.glade:
1271 * pdf/ev-poppler.cc:
1272 * shell/ev-properties.c: (setup_fonts_view):
1274 Set the column title. Show the dialog only
1275 once everything is setup.
1276 Getting font info can be very slow... will
1277 prolly need to make this threaded too.
1279 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1281 * backend/Makefile.am:
1282 * backend/ev-document-fonts.c: (ev_document_fonts_get_type),
1283 (ev_document_fonts_get_fonts_model):
1284 * backend/ev-document-fonts.h:
1285 * data/evince-properties.glade:
1286 * pdf/ev-poppler.cc:
1287 * shell/ev-properties.c: (setup_fonts_view), (ev_properties_new):
1288 * shell/ev-properties.h:
1289 * shell/ev-window.c: (ev_window_cmd_file_properties):
1291 Implement fonts list. Defined out for now, since it depends
1292 on a not yet committed poppler patch.
1294 Fri Jun 3 21:07:57 2005 Jonathan Blandford <jrb@redhat.com>
1296 * shell/ev-view.c (get_page_extents): other_page isn't necessarily
1299 * shell/ev-window.c: Make sure we add the timeout when we get a
1302 * shell/ev-view.c (view_set_adjustment_values): Add 0.5 to
1303 adjustment->value before calculating the zoom factor to average
1304 out all of our rounding errors. The page no longer 'drifts' when
1307 2005-06-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1309 * data/evince-properties.glade:
1310 * shell/ev-properties.c: (ev_properties_format_date),
1313 Labels don't expand when the dialogue is resized.
1314 strftime result needs to be converted to UTF-8. Thanks
1315 to Christian Persch <chpe@gnome.org>.
1317 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1319 * data/evince-properties.glade:
1323 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1325 * backend/ev-document-info.h:
1326 * backend/ev-document.c: (ev_document_info_free):
1327 * data/evince-properties.glade:
1328 * pdf/ev-poppler.cc:
1329 * ps/ps-document.c: (ps_document_get_info):
1330 * shell/ev-properties.c: (ev_properties_format_date),
1331 (set_property), (ev_properties_new):
1332 * shell/ev-properties.h:
1333 * shell/ev-window.c: (ev_window_cmd_file_properties):
1335 Rework properties code to take only EvPropertyInfo
1336 in the constructor so that it can be useful for
1337 nautilus plugin too.
1339 Deal with backends that doesnt support some properties.
1340 Make set property code generic.
1342 2005-06-04 Christian Persch <chpe@gnome.org>
1344 * data/evince-properties.glade:
1346 fix spacings, make resizeable, and make data labels
1347 selectable + ellipsised
1349 2005-06-03 Marco Pesenti Gritti <mpg@redhat.com>
1351 * backend/ev-document-info.h:
1353 * data/evince-ui.xml:
1354 * pdf/ev-poppler.cc:
1355 * shell/Makefile.am:
1356 * shell/ev-window.c: (update_action_sensitivity),
1357 (ev_window_cmd_file_properties):
1359 Initial go at file properties. Patch by
1360 Emil Soleyman-Zomalan <emil@soleyman.com>.
1361 Needs love see #169583
1363 2005-06-02 Marco Pesenti Gritti <mpg@redhat.com>
1365 * ps/ps-document.c: (output):
1366 * ps/ps.c: (psscan):
1368 Try to render even if psscan fails.
1370 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
1372 * ps/ps.c: (psscan), (pscopydoc):
1374 Port buffered reading code from gv
1376 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
1378 * ps/ps-document.c: (interpreter_message), (output):
1380 Do not fail on interpreter messages
1382 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
1384 * backend/ev-document-misc.c:
1385 (ev_document_misc_get_thumbnail_frame):
1387 Pages can be 0 x 0, dont assert on this case
1389 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1391 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
1392 (ev_sidebar_links_class_init), (ev_sidebar_links_set_document):
1394 Correctly manage our reference on document. Finally the reload
1395 huge leak is gone...
1397 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1399 * ps/ps-document.c: (ps_document_dispose):
1401 Forgot to chain it to the parent. Thanks chpe.
1403 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1405 * ps/ps-document.c: (ps_document_dispose),
1406 (ps_document_class_init), (stop_interpreter), (document_load):
1408 Cleanup dispose a bit. Dont leak the whole pixmap.
1410 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1412 * pdf/ev-poppler.cc:
1414 Release the poppler document on dispose
1416 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1418 * shell/ev-view.c: (ev_view_set_document):
1420 Release ref on the pixbuf cache when changing
1423 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1425 * ps/ps-document.c: (ps_document_get_info):
1429 2005-05-31 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
1431 * backend/ev-page-cache.c: (ev_page_cache_init),
1432 (_ev_page_cache_new), (ev_page_cache_get_max_label_chars):
1433 * backend/ev-page-cache.h:
1434 * shell/ev-page-action.c: (page_changed_cb):
1436 Set page action entry width depending on labels width. Fix
1439 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1441 * backend/ev-link.c: (ev_link_class_init):
1443 Allow -1 as page value (error)
1445 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1447 * shell/ev-sidebar-thumbnails.c:
1448 (ev_sidebar_thumbnails_set_document):
1449 * shell/ev-view.c: (scroll_to_current_page),
1450 (view_set_adjustment_values), (ev_view_set_scroll_adjustments),
1451 (page_changed_cb), (on_adjustment_value_changed),
1452 (ev_view_set_document):
1454 Slightly modified patch by Nickolay V. Shmyrev <nshmyrev@yandex.ru>.
1457 2005-05-29 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1460 * djvu/djvu-document.c: (djvu_document_get_page_size):
1462 Require djvulibre CVS. Now djvu loading is much faster. Fix for
1465 Sat May 28 07:38:03 2005 Jonathan Blandford <jrb@redhat.com>
1467 * shell/ev-view.c (draw_one_page): modify the expose handling to
1470 * shell/ev-window.c (update_action_sensitivity): Respect
1471 permissions field. Kowtow to the man.
1473 * pdf/ev-poppler.cc: Get the permissions field.
1475 * tiff/*c: Make a tiny bit more robust.
1477 2005-05-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1479 * djvu/djvu-document.c:
1481 Pop messages from djvu context message queue.
1483 2005-05-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1485 * configure.ac, Makefile.am, shell/Makefile.am:
1486 * tiff/Makefile.am, shell/ev-document-types.c:
1488 Cleanup tiff configure checks. Fix for bug 305218.
1490 2005-05-24 Maxim V. Dziumanenko <mvd@mylinux.ua>
1492 * configure.ac: Added "uk" to ALL_LINGUAS.
1494 2005-05-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1496 * cut-n-paste/zoom-control/ephy-zoom.c:
1497 (ephy_zoom_get_changed_zoom_level):
1498 * cut-n-paste/zoom-control/ephy-zoom.h:
1499 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_set_property),
1500 (ev_view_get_property), (ev_view_class_init), (ev_view_set_zoom):
1501 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
1502 (ev_window_cmd_view_zoom_out), (ev_window_zoom_changed_cb),
1503 (zoom_control_changed_cb), (ev_window_init):
1505 Fix minor points related to moving best fit up. Introduce
1506 "zoom" property and make zoom control change it's value on
1507 notify::zoom signals. Fix for 305080.
1509 2005-05-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1511 * data/evince-ui.xml:
1512 * shell/ev-window.c: (set_view_actions_sensitivity):
1514 Use + and - as accels for zoom in and zoom out. Fix for 305001.
1516 2005-05-22 Marco Pesenti Gritti <mpg@redhat.com>
1520 Depends on poppler 0.3.2
1522 2005-05-22 Marco Pesenti Gritti <mpg@redhat.com>
1524 * cut-n-paste/recent-files/egg-recent-item.c:
1525 (egg_recent_item_get_short_name):
1526 * cut-n-paste/toolbar-editor/Makefile.am:
1527 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
1528 (new_pixbuf_from_widget):
1529 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
1530 * cut-n-paste/toolbar-editor/egg-marshal.c:
1531 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
1532 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
1536 Sat May 21 23:18:30 2005 Jonathan Blandford <jrb@redhat.com>
1538 * tiff/tiff-document.c: Rough TIFF backend.
1540 2005-05-21 Marco Pesenti Gritti <mpg@redhat.com>
1544 * cut-n-paste/toolbar-editor/Makefile.am:
1548 2005-05-21 Marco Pesenti Gritti <mpg@redhat.com>
1550 * shell/ev-view.c: (jump_to_find_result), (ev_view_can_find_next),
1551 (ev_view_find_next), (ev_view_find_previous):
1553 Remove the locks around get_n_results
1555 2005-05-21 Juerg Billeter <j@bitron.ch>
1557 * pdf/ev-poppler.c: (pdf_document_ps_exporter_begin):
1559 Pass correct number of pages to poppler.
1561 2005-05-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1565 * data/evince.desktop.in:
1566 * data/evince.desktop.in.in:
1569 Add conditionally dvi and djvu to desktop types. Fix for 304658.
1571 Sat May 21 00:21:30 2005 Jonathan Blandford <jrb@redhat.com>
1573 * shell/ev-view.c: (view_update_adjustments),
1574 (view_set_adjustment_values): cast adjustmen->value to (int)
1575 before using it. Otherwise, we get off by a pixel in some
1578 (draw_one_page): Draw the border on expose.
1580 Fri May 20 22:05:25 2005 Jonathan Blandford <jrb@redhat.com>
1582 * *shell/ev-view.c: Patch from Nickolay V. Shmyrev to reset the
1583 adjustment when the mode changes, #304923
1585 Fri May 20 02:00:03 2005 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1587 * shell/ev-view.c: Use gdk_widget_queue_draw to remove
1588 flickering on resize but still use gdk_window_scroll on
1591 Fri May 20 01:46:57 2005 Jonathan Blandford <jrb@redhat.com>
1593 * shell/ev-view.c: Patch from Nickolay Shmyrev to fix the -p
1596 Fri May 20 01:27:01 2005 Jonathan Blandford <jrb@redhat.com>
1598 * shell/ev-view.c: Patch from Nickolay Shmyrev to to scroll to
1599 second page on page_changed if possible, #304669
1601 Fri May 20 01:07:15 2005 Jonathan Blandford <jrb@redhat.com>
1603 * shell/ev-view.c (view_update_adjustments): Use gdk_window_scroll
1604 instead of gtk_widget_queue_draw. Massive speedups in scrolling.
1606 Fri May 20 01:05:10 2005 Jonathan Blandford <jrb@redhat.com>
1609 * shell/ev-view.c:(ev_view_size_allocate), (ev_view_class_init),
1610 (zoom_for_size_fit_width), (zoom_for_size_best_fit),
1611 (ev_view_zoom_for_size_presentation),
1612 (ev_view_zoom_for_size_continuous_and_dual_page),
1613 (ev_view_zoom_for_size_continuous),
1614 (ev_view_zoom_for_size_dual_page),
1615 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size):
1617 * shell/ev-window.c: (update_view_size),
1618 (ev_window_sizing_mode_changed_cb):
1620 Patch from Nickolay Shmyrev <nshmyrev@yandex.ru> to handle
1621 the scrollbars. It's not 100% right, but it's much closer. Kills
1622 an infinite loop, #304769
1625 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
1627 * data/evince-ui.xml:
1628 * shell/ev-view.c: (ev_view_scroll_view), (ev_view_class_init):
1629 * shell/ev-window.c: (set_view_actions_sensitivity):
1631 Make PgUp/Down behave like Space
1633 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
1635 * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
1636 * backend/ev-ps-exporter.h:
1637 * pdf/ev-poppler.cc:
1638 * ps/ps-document.c: (ps_document_ps_export_begin):
1639 * shell/ev-print-job.c: (idle_print_handler):
1641 Adapt to new poppler api
1643 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
1645 * cut-n-paste/zoom-control/ephy-zoom-control.c:
1646 (ephy_zoom_control_init):
1648 Translate zoom levels
1650 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
1652 * cut-n-paste/zoom-control/ephy-zoom.c:
1653 (ephy_zoom_get_zoom_level_index):
1655 Fix current zoom -> zoom control match
1657 2005-05-18 James Bowes <bowes@cs.dal.ca>
1659 * shell/ev-window.c: (ev_window_init): Give focus to the ev-view,
1660 rather than the scrolled_window that it's in. Fixes bug #304655.
1662 Tue May 17 22:54:17 2005 Jonathan Blandford <jrb@redhat.com>
1664 * shell/ev-view.c: (view_update_adjustments),
1665 (view_set_adjustment_values), (view_update_range_and_current_page),
1666 (view_scroll_to_page), (set_scroll_adjustment),
1667 (ev_view_set_scroll_adjustments), (add_scroll_binding_keypad),
1668 (ev_view_scroll), (ev_view_scroll_view),
1669 (ensure_rectangle_is_visible), (find_page_at_location),
1670 (get_link_at_location), (go_to_link), (status_message_from_link),
1671 (ev_view_size_request_continuous_dual_page),
1672 (ev_view_size_request), (ev_view_size_allocate), (ev_view_realize),
1673 (ev_view_unrealize), (ev_view_expose_event),
1674 (ev_view_button_press_event), (ev_view_motion_notify_event),
1675 (ev_view_button_release_event), (ev_gdk_color_to_rgb),
1676 (draw_rubberband), (highlight_find_results), (draw_one_page),
1677 (ev_view_finalize), (ev_view_destroy), (ev_view_class_init),
1678 (ev_view_init), (find_changed_cb), (page_changed_cb),
1679 (on_adjustment_value_changed), (ev_view_new),
1680 (ev_view_set_document), (ev_view_set_zoom),
1681 (ev_view_set_continuous), (ev_view_set_dual_page),
1682 (ev_view_set_presentation), (ev_view_zoom_in), (ev_view_zoom_out),
1683 (zoom_for_size_fit_width), (zoom_for_size_best_fit),
1684 (ev_view_zoom_for_size_presentation),
1685 (ev_view_zoom_for_size_continuous_dual_page),
1686 (ev_view_zoom_for_size_continuous),
1687 (ev_view_zoom_for_size_dual_page),
1688 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
1689 (ev_view_get_status), (ev_view_set_status),
1690 (update_find_status_message), (ev_view_get_find_status),
1691 (ev_view_set_find_status), (jump_to_find_result),
1692 (jump_to_find_page), (compute_selections), (clear_selection),
1693 (ev_view_select_all), (get_selected_text), (ev_view_copy),
1694 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
1695 (ev_view_update_primary_selection),
1696 (ev_view_create_invisible_cursor), (ev_view_set_cursor):
1698 * shell/ev-window.c: (ev_window_open_page_label),
1699 (ev_window_cmd_view_reload), (ev_window_sizing_mode_changed_cb),
1701 * shell/ev-window.h:
1702 * shell/main.c: (load_files):
1704 Massive code clean up from Nickolay Shmyrev. Keep page offset
1705 when resizing. Remove the bin_window(). Also, patch from James
1706 Bowes to fix command line page, #300641
1708 2005-05-17 Marco Pesenti Gritti <mpg@redhat.com>
1710 * data/evince-ui.xml:
1713 * shell/ev-window.c: (update_action_sensitivity):
1715 Get rid of View->Normal Size, it's just confusing
1717 Tue May 17 00:51:21 2005 Jonathan Blandford <jrb@redhat.com>
1719 * backend/ev-document-info.h:
1720 * backend/ev-document.c: (ev_document_info_free): Free the
1723 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
1724 (clear_range), (add_range), (update_visible_range),
1725 (adjustment_changed_cb), (ev_sidebar_thumbnails_init),
1726 (ev_sidebar_thumbnails_set_document):
1727 * shell/ev-window.c: (ev_window_setup_document): Only render the
1728 visible thumbnails. It takes an instant to render, but it uses
1731 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
1733 * shell/ev-sidebar-links.c: (popup_menu_cb):
1737 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
1740 * shell/ev-sidebar-links.c: (build_popup_menu), (popup_menu_cb),
1741 (button_press_cb), (ev_sidebar_links_construct):
1743 Show the popup menu also on keybindings
1745 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
1747 * shell/ev-window.c: (ev_window_print), (ev_window_print_range):
1748 * shell/ev-window.h:
1750 Expose api to print a range (with dialog). Make private _print use
1753 * shell/ev-sidebar-links.c: (print_section_cb), (button_press_cb),
1754 (ev_sidebar_links_construct):
1756 Show a print context menu on linkx, it prints the selected
1759 2005-05-15 Carlos Garcia Campos <carlosgc@gnome.org>
1761 * shell/ev-sidebar.c: make the drop down menu as width as the toggle
1764 2005-05-12 Marco Pesenti Gritti <mpg@redhat.com>
1770 * shell/ev-window.c: (build_comments_string),
1771 (ev_window_cmd_help_about):
1773 Show poppler version/backend and authors
1775 2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
1777 * cut-n-paste/zoom-control/ephy-zoom.c:
1778 (ephy_zoom_get_zoom_level_index):
1779 * cut-n-paste/zoom-control/ephy-zoom.h:
1781 Move the best fit items at the top of the list
1783 2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
1785 * shell/ev-marshal.list:
1786 * shell/ev-page-action.c: (ev_page_action_widget_class_init),
1787 (activate_cb), (match_selected_cb), (activate_link_cb),
1788 (connect_proxy), (ev_page_action_class_init):
1789 * shell/ev-page-action.h:
1791 Use signals to notify action activation. Hopefully
1792 I did not break completion since I cant test...
1794 * shell/ev-window.c: (activate_link_cb), (activate_label_cb),
1795 (register_custom_actions):
1797 Connect to page selector actions and also grab focus on
1798 the view when activated.
1800 Wed May 11 01:18:29 2005 Jonathan Blandford <jrb@redhat.com>
1802 * pdf/ev-poppler.cc:
1803 * backend/ev-page-cache.c: make page size calculation consistent
1804 and set it to (int)( width * scale + 0.5). This makes the weird
1805 line going through the middle of the page go away.
1807 * shell/ev-view.c: move painting the background page after
1808 checking the expose area covers us.
1810 2005-05-11 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1812 * data/evince-password.glade:
1814 Mark labels as not translatable. Fix for bug 302842.
1816 2005-05-10 Francisco Javier F. Serrador <serrador@cvs.gnome.org>
1818 * configure.ac: Added "es" to ALL_LINGUAS.
1820 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
1822 * data/evince-toolbar.xml:
1823 * shell/ev-window.c: (update_action_sensitivity),
1824 (ev_window_setup_document), (ev_window_set_page_mode),
1827 Remove some leftover code from jrb first continous
1828 attempt. Use the new actions, we still need good icons
1831 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
1833 * shell/ev-page-action.c: (update_pages_label), (connect_proxy):
1835 Update label when connecting proxy. Fix a warning with NULL
1838 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
1840 * data/evince-ui.xml:
1841 * shell/ev-page-action.c: (ev_page_action_grab_focus):
1842 * shell/ev-page-action.h:
1843 * shell/ev-window.c: (ev_window_cmd_focus_page_selector):
1845 Add mnemonic for edit toolbar.
1846 ctrl+l focus the page entry.
1848 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
1851 * shell/ev-window.c: (ev_window_cmd_edit_toolbar_cb),
1853 * shell/main.c: (main):
1855 Put the toolbar xml in evince own dot dir
1857 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
1859 * shell/ev-window.c: (ev_window_init):
1861 Make the toolbar not removable
1863 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
1865 * data/evince-ui.xml:
1866 * shell/ev-sidebar-links.c: (ev_sidebar_links_get_treeview):
1867 * shell/ev-sidebar-links.h:
1868 * shell/ev-sidebar-thumbnails.c:
1869 (ev_sidebar_thumbnails_get_treeview):
1870 * shell/ev-sidebar-thumbnails.h:
1871 * shell/ev-view.c: (ev_view_scroll), (ev_view_scroll_view),
1872 (ev_view_class_init):
1874 * shell/ev-window.c: (update_action_sensitivity),
1875 (ev_window_cmd_scroll_forward), (ev_window_cmd_scroll_backward),
1876 (set_view_actions_sensitivity), (view_actions_focus_in_cb),
1877 (view_actions_focus_out_cb), (enable_view_actions_for_widget),
1880 This is evil... Make space/backspace global accelerators but
1881 enable them only for some widgets (sidebars and view).
1882 I dont like it, but I dont know a better way... :/
1884 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
1886 * shell/ev-page-action.c: (ev_page_action_widget_set_page_cache),
1887 (ev_page_action_widget_finalize),
1888 (ev_page_action_widget_class_init), (update_page_cache):
1890 Keep a weak reference on proxy->page_cache so that we
1891 dont try to disconnect the signal if the object is already
1892 gone. Maybe there is a better way to cleanup reference handling
1893 in page action though...
1895 2005-05-10 Juerg Billeter <j@bitron.ch>
1897 * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
1898 * backend/ev-ps-exporter.h:
1899 * pdf/ev-poppler.cc: (pdf_document_ps_exporter_begin):
1900 * ps/ps-document.c: (ps_document_ps_export_begin):
1902 Change api to pass print range to ps_exporter_begin. The pdf backend
1903 requires this information.
1905 * shell/ev-print-job.c: (idle_print_handler):
1909 2005-05-10 Juerg Billeter <j@bitron.ch>
1911 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
1912 (idle_print_handler)
1913 * shell/ev-window.c: (ev_window_print):
1915 Support printing page range, based on patch by Amaury Jacquot
1917 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
1919 * data/evince-toolbar.xml:
1921 Add zoom control to available items
1923 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
1925 * shell/ev-window.c: (update_action_sensitivity):
1927 Set slash action insensitive when appropriate
1929 2005-05-10 Christian Persch <chpe@gnome.org>
1931 * cut-n-paste/zoom-control/ephy-zoom-action.c: (create_menu_item):
1933 Fix warning on the overflow menu
1935 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
1937 * shell/ev-window.c: (sanity_check_uri), (ev_window_open):
1939 Check for uri correctness/existence
1941 2005-05-09 Juerg Billeter <j@bitron.ch>
1943 * shell/ev-window.c: (using_postscript_printer):
1945 LPD printers use postscript, too
1947 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
1949 * shell/ev-window.c: (register_custom_actions):
1951 The zoom one is actually sort of useful,
1954 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
1956 * shell/ev-window.c: (register_custom_actions):
1958 Hide page/zoom controls from overflow, they
1961 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
1963 * cut-n-paste/update-from-egg.sh:
1965 Share it between all cut-n-paste subdirs
1967 * cut-n-paste/recent-files/Makefile.am:
1969 Fix to use "global" update-from-egg.sh
1971 * cut-n-paste/recent-files/egg-recent-model.c:
1972 (egg_recent_model_changed_timeout), (egg_recent_model_finalize):
1973 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
1974 (egg_recent_view_gtk_clear), (egg_recent_view_gtk_set_list),
1975 (egg_recent_view_gtk_finalize), (egg_recent_view_gtk_set_menu):
1979 * cut-n-paste/toolbar-editor/Makefile.am:
1981 Fix to use "global" update-from-egg.sh
1983 * cut-n-paste/toolbar-editor/eggmarshalers.list:
1987 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
1990 * cut-n-paste/Makefile.am:
1991 * cut-n-paste/recent-files/Makefile.am:
1992 * cut-n-paste/toolbar-editor/.cvsignore:
1993 * cut-n-paste/toolbar-editor/Makefile.am:
1994 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
1995 (egg_editable_toolbar_get_type), (get_toolbar_position),
1996 (get_n_toolbars), (get_dock_nth), (get_toolbar_nth), (find_action),
1997 (drag_data_delete_cb), (drag_begin_cb), (drag_end_cb),
1998 (drag_data_get_cb), (set_drag_cursor), (unset_drag_cursor),
1999 (set_item_drag_source), (create_item_from_action), (create_item),
2000 (data_is_separator), (drag_data_received_cb), (remove_toolbar_cb),
2001 (popup_toolbar_context_menu_cb), (free_dragged_item),
2002 (toolbar_drag_drop_cb), (toolbar_drag_motion_cb),
2003 (toolbar_drag_leave_cb), (create_dock), (set_fixed_style),
2004 (unset_fixed_style), (toolbar_changed_cb), (unparent_fixed),
2005 (update_fixed), (toolbar_added_cb), (toolbar_removed_cb),
2006 (item_added_cb), (item_removed_cb),
2007 (egg_editable_toolbar_construct),
2008 (egg_editable_toolbar_disconnect_model),
2009 (egg_editable_toolbar_deconstruct),
2010 (egg_editable_toolbar_set_model),
2011 (egg_editable_toolbar_set_ui_manager),
2012 (egg_editable_toolbar_set_property),
2013 (egg_editable_toolbar_get_property),
2014 (egg_editable_toolbar_class_init), (egg_editable_toolbar_init),
2015 (egg_editable_toolbar_finalize), (egg_editable_toolbar_new),
2016 (egg_editable_toolbar_new_with_model),
2017 (egg_editable_toolbar_get_edit_mode),
2018 (egg_editable_toolbar_set_edit_mode), (egg_editable_toolbar_show),
2019 (egg_editable_toolbar_hide), (egg_editable_toolbar_set_fixed),
2020 (egg_editable_toolbar_set_drag_dest), (fake_expose_widget),
2021 (new_pixbuf_from_widget), (new_separator_pixbuf),
2022 (update_separator_image), (style_set_cb),
2023 (_egg_editable_toolbar_new_separator_image),
2024 (egg_editable_toolbar_get_model):
2025 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
2026 * cut-n-paste/toolbar-editor/egg-marshal.c:
2027 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
2028 (egg_toolbar_editor_get_type), (compare_actions), (find_action),
2029 (egg_toolbar_editor_set_ui_manager), (toolbar_removed_cb),
2030 (egg_toolbar_editor_set_model), (egg_toolbar_editor_set_property),
2031 (egg_toolbar_editor_get_property), (egg_toolbar_editor_class_init),
2032 (egg_toolbar_editor_finalize), (egg_toolbar_editor_new),
2033 (drag_begin_cb), (drag_end_cb), (editor_drag_data_received_cb),
2034 (editor_drag_data_delete_cb), (drag_data_get_cb),
2035 (elide_underscores), (set_drag_cursor), (event_box_realize_cb),
2036 (editor_create_item), (update_editor_sheet), (setup_editor),
2037 (egg_toolbar_editor_init), (egg_toolbar_editor_add_action),
2038 (parse_item_list), (model_has_action), (update_actions_list),
2039 (egg_toolbar_editor_load_actions):
2040 * cut-n-paste/toolbar-editor/egg-toolbar-editor.h:
2041 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
2042 (egg_toolbars_model_get_type), (egg_toolbars_model_to_xml),
2043 (safe_save_xml), (egg_toolbars_model_save), (toolbars_toolbar_new),
2044 (toolbars_item_new), (free_toolbar_node), (free_item_node),
2045 (egg_toolbars_model_get_flags), (egg_toolbars_model_set_flags),
2046 (egg_toolbars_model_add_separator), (impl_add_item),
2047 (parse_item_list), (egg_toolbars_model_add_toolbar),
2048 (parse_toolbars), (egg_toolbars_model_load), (impl_get_item_id),
2049 (impl_get_item_data), (impl_get_item_type),
2050 (_egg_accumulator_STRING), (egg_toolbars_model_class_init),
2051 (egg_toolbars_model_init), (free_toolbar),
2052 (egg_toolbars_model_finalize), (egg_toolbars_model_new),
2053 (egg_toolbars_model_remove_toolbar),
2054 (egg_toolbars_model_remove_item), (egg_toolbars_model_move_item),
2055 (egg_toolbars_model_n_items), (egg_toolbars_model_item_nth),
2056 (egg_toolbars_model_n_toolbars), (egg_toolbars_model_toolbar_nth),
2057 (egg_toolbars_model_add_item), (egg_toolbars_model_get_item_id),
2058 (egg_toolbars_model_get_item_data),
2059 (egg_toolbars_model_get_item_type):
2060 * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
2061 * cut-n-paste/toolbar-editor/eggmarshalers.list:
2063 * data/evince-toolbar.xml:
2064 * data/evince-ui.xml:
2065 * data/hand-open.png:
2067 * shell/Makefile.am:
2068 * shell/ev-window.c: (update_chrome_visibility),
2069 (ev_window_cmd_edit_toolbar_cb), (ev_window_cmd_edit_toolbar),
2070 (ev_window_dispose), (ev_window_init):
2072 Implement epiphany like toolbar editor. Based on patch by
2073 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2075 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2077 * shell/ev-sidebar-thumbnails.c: (page_changed_cb):
2079 Use set_cursor instead of set_selection, so that
2080 the keyboard focus moves too.
2082 2005-05-09 Aleksey Kliger <akliger@gmail.com>
2084 * dvi/mdvi-lib/tfmfile.c: (lookup_font_metrics):
2086 Fix infinite loop when loading Type1 fonts
2088 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2090 * data/evince-ui.xml:
2091 * shell/ev-window.c:
2095 2005-05-09 Thomas de Grenier de Latour <degrenier@easyconnect.fr>
2099 Make --disable really disable
2101 2005-05-07 Juerg Billeter <j@bitron.ch>
2103 * backend/ev-page-cache.c: (ev_page_cache_set_page_label):
2105 Compare page labels even without has_labels set, fixes setting page
2108 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2110 * shell/ev-view.c: (ev_view_create_invisible_cursor),
2111 (ev_view_set_cursor), (ev_view_button_press_event),
2112 (ev_view_motion_notify_event), (ev_view_button_release_event),
2115 Implement middle button scrolling. Based on a patch
2116 by Tommi Komulainen <tommi.komulainen@iki.fi>.
2118 2005-05-08 Marco Pesenti Gritti <mpg@redhat.com>
2120 * shell/ev-document-types.c: (get_slow_mime_type),
2121 (get_document_type_from_mime), (ev_document_type_lookup):
2122 * shell/ev-document-types.h:
2124 Change api to lookup from uri. Do fast lookup first, if the
2125 type is unknown try with data sniffing.
2127 * shell/ev-window.c: (ev_window_open), (ev_window_open_uri_list):
2128 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
2132 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2134 * thumbnailer/Makefile.am:
2138 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2145 * data/evince-ui.xml:
2147 Hide presentation mode for now
2149 * shell/ev-view.c: (highlight_find_results):
2151 Show current find selection only on current page
2153 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2155 * shell/ev-view.c: (ev_view_select_all):
2157 Compute size of the actual page, not of
2160 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2162 * shell/ev-view.c: (clear_selection), (ev_view_finalize),
2163 (view_rect_to_doc_rect), (compute_selections),
2164 (ev_view_bin_expose), (ev_view_select_all), (get_selected_text),
2165 (ev_view_copy), (ev_view_primary_get_cb),
2166 (ev_view_primary_clear_cb), (ev_view_update_primary_selection),
2167 (ev_view_button_press_event), (ev_view_motion_notify_event),
2168 (ev_view_button_release_event), (page_changed_cb):
2172 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2174 * shell/ev-view.c: (compute_border), (get_page_extents),
2175 (doc_rect_to_view_rect), (highlight_find_results),
2176 (ev_view_bin_expose), (ev_view_select_all),
2177 (ev_view_motion_notify_event), (update_find_status_message),
2178 (jump_to_find_result), (jump_to_find_page):
2180 First go at fixing search, still buggy
2182 2005-05-04 Kristian Høgsberg <krh@redhat.com>
2184 * shell/ev-sidebar.c (ev_sidebar_init): Remove frame around
2185 dropdown box and button at the top of the sidebar.
2187 2005-05-02 James Bowes <bowes@cs.dal.ca>
2189 * configure.ac: Output zoom-control Makefile.
2190 * cut-n-paste/Makefile.am: build zoom-control subdir.
2191 * cut-n-paste/zoom-control/ephy-zoom-action.c:
2192 * cut-n-paste/zoom-control/ephy-zoom-action.h:
2193 * cut-n-paste/zoom-control/ephy-zoom-control.c:
2194 * cut-n-paste/zoom-control/ephy-zoom-control.h:
2195 * cut-n-paste/zoom-control/ephy-zoom.c:
2196 * cut-n-paste/zoom-control/ephy-zoom.h: New files imported
2197 from epiphany, and modified to add a separator into the menu.
2198 * cut-n-paste/zoom-control/Makefile.am: Build zoom-control.
2199 * data/evince-ui.xml: Replace old zoom toolbar actions with new
2200 zoom-control action.
2201 * shell/Makefile.am: Include zoom-control flags.
2202 * shell/ev-view.c: (ev_view_set_zoom), (ev_view_get_zoom),
2203 (ev_view_get_sizing_mode), (ev_view_zoom_in), (ev_view_zoom_out),
2204 (ev_view_zoom_for_size_presentation),
2205 (ev_view_zoom_for_size_continuous_and_dual_page),
2206 (ev_view_zoom_for_size_continuous),
2207 (ev_view_zoom_for_size_dual_page),
2208 (ev_view_zoom_for_size_single_page), (ev_view_zoom_normal):
2209 s/ev_view_zoom/ev_view_set_zoom/ and make public, add
2210 ev_view_get_zoom and ev_view_get_sizing_mode.
2212 * shell/ev-window.c: (update_action_sensitivity),
2213 (update_sizing_buttons), (zoom_control_changed_cb),
2214 (register_custom_actions): Initialize and use the zoom-control
2217 Sun May 1 00:46:47 2005 Jonathan Blandford <jrb@redhat.com>
2219 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init): Change the
2220 preview cache back to 1. Don't know when it got set to 0.
2222 * shell/ev-view.c: (compute_border), (ev_view_realize),
2223 (draw_one_page), (ev_view_set_property), (ev_view_get_property),
2224 (ev_view_class_init), (ev_view_init), (ev_view_set_fullscreen),
2225 (ev_view_get_fullscreen), (ev_view_set_presentation),
2226 (ev_view_get_presentation), (ev_view_set_sizing_mode),
2227 (ev_view_zoom_for_size_presentation), (ev_view_set_zoom_for_size):
2229 * shell/ev-window.c:
2230 (update_chrome_visibility),
2231 (ev_window_cmd_continuous), (ev_window_cmd_dual),
2232 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
2233 (update_document_mode), (ev_window_update_fullscreen_action),
2234 (ev_window_fullscreen), (ev_window_unfullscreen),
2235 (ev_window_cmd_view_fullscreen),
2236 (ev_window_update_presentation_action),
2237 (ev_window_run_presentation), (ev_window_stop_presentation),
2238 (ev_window_cmd_view_presentation), (ev_window_state_event),
2239 (ev_window_focus_in_event), (ev_window_focus_out_event),
2240 (ev_window_cmd_escape), (ev_window_sidebar_visibility_changed_cb):
2241 * data/evince-ui.xml: Initial presentation mode. We should
2242 probably hide this until it's done, as it's quite rough. Also,
2243 change full-screen to fullscreen and add two getters to EvView.
2245 2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
2247 * shell/ev-page-action.c: (update_page_cache),
2248 (ev_page_action_dispose):
2249 * shell/ev-window.c: (destroy_fullscreen_popup),
2250 (ev_window_create_fullscreen_popup):
2252 Use connect_object rather than explicitly
2253 disconnect on dispose.
2255 2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
2257 * shell/ev-page-action.c: (update_page_cache),
2258 (ev_page_action_dispose):
2260 2005-04-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2262 * backend/ev-page-cache.c: (_ev_page_cache_new),
2263 (ev_page_cache_set_page_label),
2264 (ev_page_cache_has_nonnumeric_page_labels):
2265 * backend/ev-page-cache.h:
2266 * shell/ev-page-action.c: (update_pages_label):
2268 If all page labels are numeric, fallback to default
2269 way to display number of pages. See bug 173185.
2271 2005-04-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2273 * shell/ev-page-action.c: (ev_page_action_dispose):
2274 * shell/ev-view.c: (view_update_range_and_current_page):
2275 * shell/ev-window.c: (ev_window_dispose):
2277 Set page on scroll in continuous mode. Fixes bug 301986.
2278 Also cleanup callbacks on destroy of EvWindow and EvPageAction.
2280 2005-04-26 Marco Pesenti Gritti <mpg@redhat.com>
2284 Require poppler 0.3.0
2286 2005-04-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2288 * shell/Makefile.am, configure.ac: Fix build problems
2289 with t1lib. Bug 301996.
2291 2005-04-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2293 * shell/ev-view.c: (ev_view_scroll_event):
2295 Scroll up increase zoom
2297 2005-04-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2299 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_class_init),
2300 (ev_view_set_sizing_mode),
2301 (ev_view_zoom_for_size_continuous_and_dual_page),
2302 (ev_view_zoom_for_size_continuous):
2303 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
2304 (ev_window_cmd_view_page_width), (ev_window_cmd_view_zoom_in),
2305 (ev_window_cmd_view_zoom_out), (ev_window_sizing_mode_changed_cb),
2308 Control + Scroll does zooming, Shift + Scroll scrolls horizontally
2309 Fix for 165473 and 165472.
2311 2005-04-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2314 * thumbnailer/Makefile.am:
2315 * thumbnailer/evince-thumbnailer-djvu.schemas.in:
2316 * thumbnailer/evince-thumbnailer-dvi.schemas.in:
2317 * thumbnailer/evince-thumbnailer.schemas.in:
2319 Make thumbnailer schemas translatable. Fix for bug 301773
2321 * thumbnailer/evince-thumbnailer-djvu.schemas:
2322 * thumbnailer/evince-thumbnailer-dvi.schemas:
2323 * thumbnailer/evince-thumbnailer.schemas:
2327 Sun Apr 24 01:37:39 2005 Jonathan Blandford <jrb@redhat.com>
2329 * shell/ev-view.c (ev_view_init): forgot to set this.
2331 Sun Apr 24 01:07:27 2005 Jonathan Blandford <jrb@redhat.com>
2333 * shell/ev-view.c: (find_page_at_location),
2334 (get_link_at_location),
2335 (ev_view_set_show_border), (ev_view_set_spacing),
2336 (ev_view_zoom_for_size_continuous_and_dual_page),
2337 (ev_view_zoom_for_size_continuous): Fix links for dual/continuous.
2338 Also, add a quick fix measuring of widths. Also, removed
2339 ev_view_set_spacing and ev_view_set_show_border.
2341 * shell/ev-window.c: (ev_window_unfullscreen),
2342 (ev_window_cmd_view_fullscreen): Don't adjust the border/spacing.
2344 2005-04-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2346 * shell/ev-view.c: (view_update_range_and_current_page),
2349 Fix crash on exit and scrolling to page in continuous view.
2351 Sat Apr 23 13:13:04 2005 Jonathan Blandford <jrb@redhat.com>
2354 * backend/ev-page-cache.c: (_ev_page_cache_new),
2355 (ev_page_cache_get_max_width_size),
2356 (ev_page_cache_get_max_height_size):
2357 * backend/ev-page-cache.h:
2358 * data/evince-ui.xml:
2359 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init):
2360 * shell/ev-view.c: (view_update_adjustments),
2361 (view_update_range_and_current_page), (get_bounding_box_size),
2362 (ev_view_size_request_continuous_and_dual_page),
2363 (ev_view_size_request_continuous),
2364 (ev_view_size_request_dual_page),
2365 (ev_view_size_request_single_page), (ev_view_size_request),
2366 (ev_view_size_allocate), (get_page_extents), (draw_one_page),
2367 (ev_view_bin_expose), (ev_view_expose_event),
2368 (ev_view_set_property), (ev_view_get_property),
2369 (ev_view_class_init), (ev_view_init), (ev_view_new),
2370 (page_changed_cb), (ev_view_zoom), (ev_view_set_continuous),
2371 (ev_view_set_dual_page), (ev_view_set_full_screen),
2372 (ev_view_set_presentation), (ev_view_set_sizing_mode),
2373 (ev_view_can_zoom_in), (ev_view_can_zoom_out), (ev_view_zoom_in),
2374 (ev_view_zoom_out), (zoom_for_size_fit_width),
2375 (zoom_for_size_best_fit),
2376 (ev_view_zoom_for_size_continuous_and_dual_page),
2377 (ev_view_zoom_for_size_continuous),
2378 (ev_view_zoom_for_size_dual_page),
2379 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
2380 (ev_view_show_cursor), (ev_sizing_mode_get_type):
2382 * shell/ev-window.c: (update_action_sensitivity),
2383 (ev_window_cmd_continuous), (ev_window_cmd_dual),
2384 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
2385 (update_sizing_buttons), (ev_window_cmd_view_zoom_in),
2386 (ev_window_cmd_view_zoom_out), (update_view_size),
2387 (ev_window_set_sizing_mode), (ev_window_init):
2389 Add Continuous and Dual page modes.
2391 2005-04-23 James Bowes <bowes@cs.dal.ca>
2393 * dvi/dvi-document.c: (dvi_document_load),
2394 (dvi_document_thumbnails_get_thumbnail),
2395 (dvi_document_init_params): Fix up some mixups between
2396 width and height to correct thumbnail rendering.
2398 2005-04-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2400 * dvi/mdvi-lib/private.h:
2401 * dvi/mdvi-lib/setup.c: (mdvi_init_kpathsea):
2403 Suppess output for kpathsea during font generation. Thanks to
2406 Fri Apr 22 19:57:46 2005 Jonathan Blandford <jrb@redhat.com>
2413 * Makefile.am: fix distcheck.
2415 2005-04-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2417 * shell/ev-sidebar-links.c: (selection_changed_callback),
2418 (update_page_callback), (row_activated_callback),
2419 (job_finished_callback), (ev_sidebar_links_set_document):
2421 Fix for bug #169901. Double click on links expands tree.
2423 2005-03-14 Bryan Clark <clarkbw@cvs.gnome.org>
2425 * shell/ev-window.c (ev_window_init): Removed fullscreen toolbar
2426 hard-coded style. Fix for bug 170111
2428 2005-04-22 Kristian Høgsberg <krh@redhat.com>
2430 * shell/ev-view.c (highlight_find_results): Remove unnecessary
2433 2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
2435 * thumbnailer/evince-thumbnailer.schemas: real fix for bug 172496
2437 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
2439 * pdf/ev-poppler.cc:
2440 * shell/ev-view.c: (highlight_find_results):
2442 Fix find on single page documents
2444 2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
2446 * data/evince.schemas.in: fix for bug 301390
2448 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
2450 * shell/ev-view.c: (ev_view_can_zoom_in), (ev_view_can_zoom_out),
2451 (ev_view_zoom_out), (ev_view_zoom_normal):
2453 * shell/ev-window.c: (update_action_sensitivity),
2454 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
2455 (ev_window_cmd_view_zoom_in), (ev_window_cmd_view_zoom_out),
2456 (ev_window_cmd_view_normal_size):
2458 Fix normal size zoom. Make zoom in/zoom out unsensitive when
2459 they are behyond the limits. Tweak MAX_ZOOM to 6, sucks but
2462 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
2466 Depend on 2.57, 2.59 doesnt seem to be necessary
2468 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
2470 * shell/ev-page-action.c: (update_pages_label), (page_changed_cb),
2473 Put back total number of pages as (1 of 1234)
2475 Thu Apr 21 23:37:52 2005 Jonathan Blandford <jrb@redhat.com>
2477 * shell/ev-pixbuf-cache.c (dispose_cache_job_info): actually
2480 * backend/ev-document.h: Remove EV_DOC_MUTEX in favor of a locking
2481 function. This helps debugging.
2483 2005-04-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2485 * djvu/djvu-document.c: (djvu_document_class_init),
2486 (djvu_document_get_info), (djvu_document_document_iface_init):
2487 * dvi/dvi-document.c: (dvi_document_class_init),
2488 (dvi_document_get_info), (dvi_document_document_iface_init):
2490 Dummy implementation of get_info method for dvi and djvu. Fix
2491 crashes with those backends
2493 2005-04-20 Marco Pesenti Gritti <mpg@redhat.com>
2495 * data/evince.desktop.in:
2497 Add application/x-gzpostscript
2499 2005-04-20 Bryan Clark <clarkbw@cvs.gnome.org>
2501 * data/evince.schemas.in: Added real long descriptions,
2504 * README: Added actual text, closes bug 171869
2506 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
2508 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
2512 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
2514 * backend/ev-document-info.h:
2516 s/GDate */GDate so we can just use g_free
2518 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
2520 * shell/ev-window.c: (update_document_mode),
2521 (ev_window_setup_document):
2523 Show the window in fullscreen when specified by
2526 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
2528 * backend/ev-document.c: (ev_document_class_init),
2529 (ev_document_get_info), (ev_document_render_pixbuf):
2530 * backend/ev-document.h:
2531 * backend/ev-page-cache.c: (_ev_page_cache_new):
2532 * pdf/ev-poppler.cc:
2533 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
2534 (pixbuf_document_get_info), (pixbuf_document_document_iface_init):
2535 * ps/ps-document.c: (ps_document_class_init), (document_load),
2536 (ps_document_get_info), (ps_document_document_iface_init):
2538 Remove get_title from the interface, we can just use document info
2540 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
2542 * backend/Makefile.am:
2543 * backend/ev-document.c: (ev_document_render_get_info):
2544 * backend/ev-document.h:
2545 * pdf/ev-poppler.cc:
2547 Initial support for document info. Based on jrb patch.
2549 2005-04-19 Paolo Borelli <pborelli@katamail.com>
2551 * shell/ev-window.c: (ev_window_state_event),
2552 (ev_window_class_init), (ev_window_init):
2554 Doesn't show resize grip when maximized. See bug #301053
2556 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2560 ev-sidebar-thumbnails now has translatable labels
2562 * shell/Makefile.am:
2563 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document),
2564 (ev_sidebar_links_support_document), (ev_sidebar_links_get_label),
2565 (ev_sidebar_links_page_iface_init):
2566 * shell/ev-sidebar-links.h:
2567 * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
2568 (ev_sidebar_page_support_document), (ev_sidebar_page_set_document),
2569 (ev_sidebar_page_get_label):
2570 * shell/ev-sidebar-page.h:
2571 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_new),
2572 (ev_sidebar_thumbnails_set_document),
2573 (ev_sidebar_thumbnails_support_document),
2574 (ev_sidebar_thumbnails_get_label),
2575 (ev_sidebar_thumbnails_page_iface_init):
2576 * shell/ev-sidebar-thumbnails.h:
2577 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
2578 (ev_sidebar_set_document):
2579 * shell/ev-sidebar.h:
2580 * shell/ev-window.c: (ev_window_setup_document), (ev_window_init):
2582 Small rework of sidebar code. Now sidebar pages should implement
2583 EvSidebarPage interface. That makes page management in EvSidebar
2584 easier. See bug #164811 for details
2586 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2588 * shell/ev-application.c: (ev_application_open):
2589 * shell/ev-document-types.c:
2591 Fix build error and small problem with application exit
2593 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2595 * thumbnailer/Makefile.am:
2596 * thumbnailer/evince-thumbnailer-djvu.schemas:
2597 * thumbnailer/evince-thumbnailer-dvi.schemas:
2599 Conditionally install schemas for djvu/dvi thumbnailer
2601 2005-04-18 David Malcolm <dmalcolm@redhat.com>
2603 * shell/ev-document-types.h:
2604 * shell/ev-document-types.c:
2605 New files, handling the mapping from mimetypes to backends
2607 * shell/ev-window.c:
2608 * thumbnailer/evince-thumbnailer.c:
2609 Use the ev-document-types code
2611 * shell/Makefile.am:
2612 Added new convenience library libevbackendfactory_la, containing
2613 the new mimetype->backend logic; moved the backends into it.
2615 * thumbnailer/Makefile.am:
2616 Make the thumbnailer link with the libevbackend.la convenience
2617 library, rather than having a duplicate of the backend logic here.
2619 2005-04-18 Paolo Borelli <pborelli@katamail.com>
2621 * shell/ev-stock-icons.c: constify some vars.
2622 * shell/ev-window.c: ditto.
2624 2005-04-18 Marco Pesenti Gritti <mpg@redhat.com>
2626 * ps/ps-document.c (get_page_orientation):
2628 Respect document orientation
2630 2005-04-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2634 * shell/Makefile.am:
2636 Move library dependencies to components.
2638 * shell/ev-window.c: (update_window_title),
2639 (start_loading_document):
2641 Fix display of uris with spaces. Bug 168358.
2643 Sat Apr 16 18:53:47 2005 Jonathan Blandford <jrb@redhat.com>
2645 * shell/ev-sidebar-links.c: (selection_changed_cb):
2646 * shell/ev-view.c: (ev_view_finalize), (go_to_link),
2647 (ev_view_button_release_event), (ev_view_set_document):
2649 * shell/ev-window.c: (find_bar_search_changed_cb):
2650 * shell/ev-window.h: Minor cleanups removing some dead code.
2652 2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2654 * backend/ev-page-cache.c: (_ev_page_cache_new):
2656 Set current page to 0 if document has pages.
2658 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
2660 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
2662 Initialize GError to NULL, fix a crash when loading fails.
2664 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
2666 * shell/ev-window.c: (update_view_size):
2668 Calculate shadow size only when there is actually
2671 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
2673 * shell/ev-view.c: (ev_view_set_spacing), (ev_view_init):
2676 Allow setting view spacing, default to 0
2678 * shell/ev-window.c: (ev_window_unfullscreen),
2679 (ev_window_cmd_view_fullscreen), (ev_window_init):
2681 Remove spacing in fullscreen mode
2683 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
2685 * shell/ev-view.c: (compute_border), (compute_zoom_factor),
2686 (ev_view_size_request), (expose_bin_window),
2687 (ev_view_set_show_border), (ev_view_init), (page_changed_cb):
2689 * shell/ev-window.c: (ev_window_unfullscreen),
2690 (ev_window_cmd_view_fullscreen):
2692 Do not draw the border in fulscreen
2694 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
2696 * shell/ev-view.c: (ev_view_get_offsets), (compute_zoom_factor),
2697 (ev_view_size_request), (expose_bin_window), (ev_view_select_all),
2698 (find_page_at_location), (page_changed_cb):
2700 Rework border calculation, so that I can more easily disable it.
2701 Code somewhat cleaner too.
2703 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
2705 * backend/ev-page-cache.c: (ev_page_cache_init),
2706 (_ev_page_cache_new):
2708 Remove some assertions, documents can have 0 pages.
2709 Make initial current page -1.
2711 * shell/ev-page-action.c: (page_changed_cb):
2713 Show "" if current page is -1
2715 * shell/ev-window.c: (update_action_sensitivity),
2716 (ev_window_setup_document):
2718 When document has 0 pages do not set the view
2719 and make nearly everything insensitive.
2721 2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2723 * shell/ev-page-view.c:
2724 * shell/ev-page-view.h:
2726 Remove unused files.
2728 * shell/ev-sidebar-thumbnails.c:
2729 (ev_sidebar_thumbnails_set_document):
2730 * shell/ev-sidebar.c: (ev_sidebar_set_document),
2731 (ev_sidebar_supports_document):
2732 * shell/ev-sidebar.h:
2733 * shell/ev-window.c: (ev_window_setup_document):
2735 Doesn't show thumbnails if document has 1 page. Make
2736 sidebar menu entries sensitive only if if they have
2737 sense. Fix bug 164811.
2739 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
2741 * shell/ev-view.c: (compute_zoom_factor), (ev_view_size_request),
2742 (page_changed_cb), (ev_view_zoom), (ev_view_zoom_in),
2743 (ev_view_zoom_out), (ev_view_set_size):
2745 Rework sizing to deal with documents with not uniform page
2748 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
2750 * backend/ev-page-cache.c: (_ev_page_cache_new):
2752 Fix several page size caching bugs
2754 2005-04-15 Luca Ferretti <elle.uca@libero.it>
2756 * shell/ev-window.c: (set_action_properties):
2758 Make all toolbar items translatable
2760 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
2762 * ps/ps-document.c: (ps_document_init), (ps_document_get_type),
2763 (save_page_list), (ps_document_save),
2764 (ps_document_document_iface_init), (ps_document_ps_export_begin),
2765 (ps_document_ps_export_do_page), (ps_document_ps_export_end),
2766 (ps_document_ps_exporter_iface_init):
2769 Based on a patch by J�rg Billeter <j@bitron.ch>
2771 Implement print and save a copy for the ps backend.
2773 2005-04-14 Marco Pesenti Gritti <mpg@redhat.com>
2775 * backend/ev-document.h:
2776 * djvu/djvu-document.c: (djvu_document_can_get_text),
2777 (djvu_document_document_iface_init):
2778 * dvi/dvi-document.c: (dvi_document_can_get_text),
2779 (dvi_document_document_iface_init):
2780 * pdf/ev-poppler.cc:
2781 * pixbuf/pixbuf-document.c: (pixbuf_document_can_get_text),
2782 (pixbuf_document_document_iface_init):
2783 * ps/ps-document.c: (ps_document_can_get_text),
2784 (ps_document_document_iface_init):
2785 * shell/ev-view.c: (ev_view_copy), (ev_view_primary_get_cb):
2786 * shell/ev-window.c: (update_action_sensitivity):
2788 Fix the crash when trying to copy in backends that doesnt
2789 support it. We can implement a better solution once we
2790 do real text selection.
2792 2005-04-12 Marco Pesenti Gritti <mpg@redhat.com>
2794 * data/evince-ui.xml:
2795 * shell/ev-window.c: (ev_window_cmd_escape):
2797 Work around the Escape conflict (find bar and unfullscreen)
2799 2005-04-12 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
2801 * backend/ev-page-cache.c: (ev_page_cache_next_page):
2803 Fix for #300233. Next page correctly handles document end.
2805 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
2806 (ev_sidebar_thumbnails_class_init),
2807 (ev_sidebar_thumbnails_set_document),
2808 (ev_sidebar_thumbnails_clear_job),
2809 (ev_sidebar_thumbnails_clear_model):
2811 Cleanup thumbnail jobs on document changes.
2813 * shell/ev-view.c: (add_scroll_binding_keypad),
2814 (add_scroll_binding_shifted), (ev_view_class_init):
2816 Shift + Space scrolls up. Fix for #173184
2818 * shell/ev-window.c: (ev_window_open_page),
2819 (ev_window_cmd_view_reload):
2821 Fix reload (Bug #300094)
2823 2005-04-09 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2826 * dvi/mdvi-lib/assoc.c:
2827 * dvi/mdvi-lib/assoc.h: Removed garbage files
2829 * dvi/mdvi-lib/bitmap.c:
2830 * dvi/mdvi-lib/color.c: (mdvi_set_color), (mdvi_push_color),
2831 (mdvi_pop_color), (mdvi_reset_color), (get_color_table):
2832 * dvi/mdvi-lib/color.h: Antialias of rules
2834 * dvi/mdvi-lib/common.h:
2835 * dvi/mdvi-lib/dviread.c: (mdvi_configure), (mdvi_init_context),
2836 (mdvi_destroy_context), (draw_shrink_rule), (draw_box), (set_rule):
2837 * dvi/mdvi-lib/files.c:
2838 * dvi/mdvi-lib/fontmap.c: (ps_init_default_paths):
2839 * dvi/mdvi-lib/mdvi.h:
2840 * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
2841 * dvi/mdvi-lib/tfmfile.c: (ofm_load_file):
2842 * dvi/mdvi-lib/util.c: Fix compile warnings
2844 * dvi/dvi-document.c:
2845 (dvi_document_load), (dvi_document_thumbnails_get_dimensions),
2846 (dvi_document_thumbnails_get_thumbnail),
2847 (dvi_document_document_thumbnails_iface_init):
2848 * dvi/mdvi-lib/Makefile.am:
2849 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
2850 (dvi_pixbuf_set_color), (mdvi_pixbuf_device_render):
2852 Dvi backend now renders thumbnails
2854 2005-04-09 Christian Persch <chpe@cvs.gnome.org>
2856 * shell/main.c: (main):
2858 Save accelerators on exit. Fixes bug #172095.
2860 Sat Apr 9 01:05:09 2005 Jonathan Blandford <jrb@redhat.com>
2862 * shell/ev-pixbuf-cache.c (move_one_job): Actually fix the "FIXME:
2863 update priority" comment.
2865 * backend/ev-job-queue.c: Give a way to change priority.
2867 Sat Apr 9 00:05:36 2005 Jonathan Blandford <jrb@redhat.com>
2869 * shell/ev-page-action.c: Fix logic.
2871 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
2873 * shell/ev-view.c: (ev_view_can_find_next):
2874 * shell/ev-window.c: (ev_window_setup_document):
2876 Check that the document supports find
2878 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
2880 * data/evince-ui.xml:
2881 * shell/ev-view.c: (ev_view_can_find_next):
2883 * shell/ev-window.c: (update_action_sensitivity),
2884 (find_changed_cb), (ev_window_setup_document),
2885 (ev_window_cmd_edit_find_next):
2889 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
2891 * pdf/ev-poppler.cc:
2892 * shell/ev-print-job.c: (idle_print_handler):
2894 Make printing work again
2896 Fri Apr 8 01:12:24 2005 Jonathan Blandford <jrb@redhat.com>
2898 * shell/ev-page-action.h:
2899 * shell/ev-page-action.c: (ev_page_action_widget_init),
2900 (ev_page_action_widget_class_init), (page_changed_cb),
2901 (create_tool_item), (update_page_cache), (build_new_tree_cb),
2902 (get_filter_model_from_model), (match_selected_cb),
2903 (display_completion_text), (match_completion), (update_model),
2904 (connect_proxy), (ev_page_action_set_property),
2905 (ev_page_action_get_property), (ev_page_action_set_document),
2906 (ev_page_action_set_model), (ev_page_action_class_init): Big
2907 reworking to make completions work iff we have >= GTK-2.7.0
2909 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_property),
2910 (ev_sidebar_links_get_property), (ev_sidebar_links_class_init),
2911 (job_finished_cb): We now have a 'model' property that is set when
2912 the links are loaded. This can be caught with "notify::model"
2914 * shell/ev-window.c: (sidebar_widget_model_set), (ev_window_init):
2915 listen for the model to be set, and propagate it to the action.
2917 2005-04-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2919 * cut-n-paste/recent-files/egg-recent-item.c:
2920 (egg_recent_item_set_uri), (make_valid_utf8),
2921 (egg_recent_item_set_mime_type), (egg_recent_item_get_mime_type):
2922 * cut-n-paste/recent-files/egg-recent-item.h:
2924 Update egg-recent from libegg. This should fix long
2925 startup problem. For details see
2926 http://bugzilla.gnome.org/show_bug.cgi?id=160531
2928 2005-04-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2930 * cut-n-paste/recent-files/Makefile.am:
2931 * data/evince-ui.xml, shell/Makefile.am:
2932 * shell/ev-application.c, shell/ev-application.h:
2933 * shell/ev-window.c: Recent files support.
2935 * configure.ac: Added "ru" to ALL_LINGUAS.
2937 * dvju: new backend to support DJVU files.
2938 * dvi: new backend to support DVI.
2940 * configure.ac, Makefile.am, shell/Makefile.am, ev-window.c:
2941 * ev-application.c: Support for new backends.
2943 * help, ev-window.c, main.c shell/Makefile.am:
2944 Evince user documentation.
2946 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
2949 * shell/ev-window.c:
2950 * thumbnailer/evince-thumbnailer.c:
2952 s/pdf-document/ev-poppler
2954 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
2961 * ps/ps-document.c: (setup_pixmap):
2965 2005-04-05 Kristian Høgsberg <krh@redhat.com>
2967 * backend/ev-page-cache.c (ev_page_cache_next_page):
2968 * shell/ev-window.c (ev_window_cmd_go_next_page)
2969 (ev_window_cmd_go_first_page): Fix of by one errors.
2971 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
2973 * ps/ps-document.c: (get_page_box):
2975 Fix page size calculation
2977 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
2979 * ps/ps-document.c: (ps_document_init), (push_pixbuf),
2980 (ps_document_cleanup), (setup_pixmap), (get_page_box),
2981 (get_page_orientation), (setup_page), (document_load),
2982 (ps_document_get_page_size), (render_pixbuf_idle):
2985 More refactoring to adapt to EvDocument changes
2987 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
2989 * ps/ps-document.c: (start_interpreter):
2991 Actually add alpha args
2993 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
2995 * pdf/ev-poppler.cc:
2997 Make clipboard work again
2999 2005-04-04 Kristian Høgsberg <krh@redhat.com>
3001 Make searching work again.
3003 * backend/ev-document.c:
3004 * backend/ev-document.h:
3005 * backend/ev-document-find.c:
3006 * backend/ev-document-find.h: Change EvDocumentIface so we no
3007 longer store the current page or zoom level in the document. The
3008 consequence is that all calls that operate on the current page now
3009 instead take the page number as an extra argument, and all
3010 coordinates are now doubles in document coordinate system.
3012 * pdf/ev-poppler.cc:
3013 * pixbuf/pixbuf-document.c:
3014 * ps/ps-document.c: Update backends accordingly.
3016 2005-04-04 Marco Pesenti Gritti <marco@gnome.org>
3020 Add required gettext version
3022 Sat Apr 2 18:57:00 2005 Jonathan Blandford <jrb@redhat.com>
3024 * shell/evwindow.c: Patch from Alberto Mesas <amesas@gmail.com> to
3025 make F1 bring up non-existent help.
3027 * shell/eggfindbar.c: Patch from Christian Persch to sync to
3028 epiphany's find bar, #167477
3030 * shell/ev-view.c (ev_view_jump): Patch from Emil Soleyman-Zomalan
3031 <emil@nishra.com> to add space-bar scrolling,
3033 * shell/ev-window.c (static GtkActionEntry entries): add default
3034 keybinding for Help (F1)
3037 * shell/ev-view.c (ev_view_show_cursor): Fix from Yuval Tanny
3038 changing EV_VIEW_CURSOR_LINK to EV_VIEW_CURSOR_NORMAL resolves bug
3041 2005-04-01 David Malcolm <dmalcolm@redhat.com>
3044 * pixbuf/pixbuf-document.c:
3046 Got pixbuf backend working again
3048 2005-04-01 Steve Murphy <murf@e-tools.com>
3050 * configure.in: Added "rw" to ALL_LINGUAS.
3052 Fri Apr 1 02:33:41 2005 Jonathan Blandford <jrb@redhat.com>
3054 * shell/ev-sidebar-links.c (create_loading_model): Fix mismatch in
3055 model types, noticed by Martin Kretzschmar.
3057 2005-04-01 Kristian Høgsberg <krh@redhat.com>
3059 * pdf/ev-poppler.cc: Implement search based on
3060 poppler_page_find_text(). Currently a bit crude since we remember
3061 all matches from all pages. Also, we grab the big document lock
3062 when we search since searching changes the underlying stream and
3063 thus conflicts with the rendering thread.
3065 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
3066 (jump_to_find_page), (ev_view_set_document), (ev_view_find_next),
3067 (ev_view_find_previous): Fix some page indexes to be 0 based,
3068 offset rubber band by view offset,
3070 Fri Apr 01 09:21:12 2005 Pablo Saratxaga <pablo@mandrakesoft.com>
3072 * configure.ac: Added Walloon (wa) to ALL_LINGUAS.
3074 Fri Apr 1 01:59:39 2005 Jonathan Blandford <jrb@redhat.com>
3076 * shell/ev-page-action.c: Changed to use page labels now. Rewrote
3077 completely because I didn't understand GtkActions. I should
3078 read Marco's code more carefully in the future.
3080 * backend/ev-page-cache.h (ev_page_cache_set_page_label): New
3083 2005-03-31 Kristian Høgsberg <krh@redhat.com>
3085 * pdf/ev-poppler.cc (pdf_document_get_links): Update to work with
3086 PopplerRectangle change from poppler CVS.
3088 Thu Mar 31 13:27:50 2005 Jonathan Blandford <jrb@redhat.com>
3090 * backend/ev-document.c: (ev_document_get_page_label):
3091 * backend/ev-document.h:
3092 * backend/ev-page-cache.c: (_ev_page_cache_new),
3093 (ev_page_cache_get_page_label):
3094 * backend/ev-page-cache.h:
3095 * pdf/ev-poppler.cc:
3096 * shell/ev-sidebar-links.c: (ev_sidebar_links_construct),
3097 (links_page_num_func):
3098 * shell/ev-sidebar-thumbnails.c:
3099 (ev_sidebar_thumbnails_set_document):
3100 * shell/ev-view.c: (status_message_from_link),
3101 (ev_view_motion_notify_event):
3102 * shell/ev-window.c: (document_supports_sidebar): Add in page
3103 label support. It's not perfect yet, but it's the first 'feature'
3105 Also, fix a bogus comment noticed by crispin.
3107 Thu Mar 31 01:21:58 2005 Jonathan Blandford <jrb@redhat.com>
3109 * Makefile.am: Remove pixbuf backend for now
3111 * configure.ac: Require poppler-glib instead of just poppler.
3113 * backend/ev-document-thumbnails.h: Add a comment
3115 * backend/ev-document.h:
3116 * backend/ev-document.c: (ev_document_class_init),
3117 (ev_document_load), (ev_document_get_link),
3118 (ev_document_get_links): Remove 3 methods and add get_links.
3121 * backend/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
3122 * backend/ev-jobs.h: now EvJobRender can grab the links for a document.
3124 * backend/ev-link.c: (ev_link_set_title),
3125 (ev_link_mapping_free_foreach), (ev_link_mapping_free),
3126 (ev_link_mapping_find):
3127 * backend/ev-link.h: Allow NULL titles. Also, introduce a mapping link.
3129 * backend/ev-page-cache.c: (ev_page_cache_init),
3130 (_ev_page_cache_new), (ev_page_cache_set_current_page),
3131 (ev_page_cache_get_size), (ev_page_cache_next_page),
3132 (ev_page_cache_prev_page): Fix to be 0 based.
3136 * pdf/ev-poppler.cc: New backend.
3138 * ps/ps-document.c: (ps_document_init), (ps_document_set_page),
3139 (ps_document_get_page), (ps_document_document_iface_init):
3141 * shell/ev-pixbuf-cache.h:
3142 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
3143 (dispose_cache_job_info), (job_finished_cb), (move_one_job),
3144 (ev_pixbuf_cache_update_range), (copy_job_to_job_info),
3145 (add_job_if_needed), (ev_pixbuf_cache_set_page_range),
3146 (ev_pixbuf_cache_get_pixbuf), (ev_pixbuf_cache_get_link_mapping):
3147 Fix up code to grab a page cache per each doc. Also, fix to be 0
3150 * shell/ev-sidebar-thumbnails.c:
3151 (ev_sidebar_tree_selection_changed), (page_changed_cb),
3152 (ev_sidebar_thumbnails_set_document): Fix to be 0 based.
3154 * shell/ev-view.c: (status_message_from_link),
3155 (find_page_at_location), (get_link_at_location),
3156 (ev_view_motion_notify_event), (ev_view_button_release_event),
3157 (ev_view_init): Use the new link code. Fix to be 0 based.
3159 * shell/ev-window.c: (update_action_sensitivity),
3160 (document_supports_sidebar): 0 based.
3162 Fri Mar 25 16:55:58 2005 Jonathan Blandford <jrb@redhat.com>
3164 * pdf/pdf-document.cc: Patch from Fernando Herrera
3165 <fherrera@onirica.com> to fix my quick fix to get_thumbnail.
3168 Wed Mar 23 23:49:41 2005 Jonathan Blandford <jrb@redhat.com>
3170 * pdf/pdf-document.cc (pdf_document_thumbnails_get_thumbnail): add
3171 1 to the page, as this seems to be 1 based. I thought we has this
3174 2005-03-23 Marco Pesenti Gritti <marco@gnome.org>
3177 * backend/Makefile.am:
3178 * backend/ev-document-links.c:
3179 (ev_document_links_has_document_links),
3180 (ev_document_links_get_links_model):
3181 * backend/ev-document-links.h:
3182 * backend/ev-document.c: (ev_document_get_page_cache),
3183 (ev_document_get_doc_mutex), (ev_document_load),
3184 (ev_document_save), (ev_document_get_title),
3185 (ev_document_get_n_pages), (ev_document_set_page),
3186 (ev_document_get_page), (ev_document_set_target),
3187 (ev_document_set_scale), (ev_document_set_page_offset),
3188 (ev_document_get_page_size), (ev_document_get_text),
3189 (ev_document_get_link), (ev_document_render),
3190 (ev_document_render_pixbuf), (ev_document_scale_changed):
3191 * backend/ev-document.h:
3192 * backend/ev-job-queue.c: (remove_object_from_queue),
3193 (notify_finished), (handle_job), (search_for_jobs_unlocked),
3194 (no_jobs_available_unlocked), (ev_render_thread),
3195 (ev_job_queue_init), (find_queue), (ev_job_queue_add_job),
3196 (ev_job_queue_remove_job):
3197 * backend/ev-job-queue.h:
3198 * backend/ev-jobs.c: (ev_job_init), (ev_job_dispose),
3199 (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
3200 (ev_job_links_class_init), (ev_job_render_init),
3201 (ev_job_render_dispose), (ev_job_render_class_init),
3202 (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
3203 (ev_job_thumbnail_class_init), (ev_job_finished),
3204 (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
3205 (ev_job_render_run), (ev_job_thumbnail_new),
3206 (ev_job_thumbnail_run):
3207 * backend/ev-jobs.h:
3208 * backend/ev-link.c:
3209 * backend/ev-link.h:
3210 * backend/ev-page-cache.c: (ev_page_cache_init),
3211 (ev_page_cache_class_init), (ev_page_cache_finalize),
3212 (_ev_page_cache_new), (ev_page_cache_get_n_pages),
3213 (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
3214 (ev_page_cache_set_link), (ev_page_cache_get_title),
3215 (ev_page_cache_get_size), (ev_page_cache_next_page),
3216 (ev_page_cache_prev_page):
3217 * backend/ev-page-cache.h:
3218 * pdf/pdf-document.cc:
3221 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
3222 (push_pixbuf), (interpreter_failed), (ps_document_cleanup),
3223 (ps_document_widget_event), (ps_document_finalize), (get_xdpi),
3224 (get_ydpi), (setup_pixmap), (setup_page), (close_pipe),
3225 (is_interpreter_ready), (output), (catchPipe), (input),
3226 (start_interpreter), (check_filecompressed), (compute_dimensions),
3227 (ps_document_enable_interpreter), (document_load),
3228 (ps_document_next_page), (render_page), (ps_document_set_page),
3229 (ps_document_set_scale), (render_pixbuf_idle),
3230 (ps_document_render_pixbuf), (ps_document_document_iface_init):
3232 * shell/Makefile.am:
3233 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
3234 (ev_pixbuf_cache_class_init), (ev_pixbuf_cache_finalize),
3235 (dispose_cache_job_info), (ev_pixbuf_cache_dispose),
3236 (ev_pixbuf_cache_new), (job_finished_cb),
3237 (check_job_size_and_unref), (move_one_job),
3238 (ev_pixbuf_cache_update_range), (find_job_cache),
3239 (ev_pixbuf_cache_clear_job_sizes), (add_job_if_needed),
3240 (ev_pixbuf_cache_add_jobs_if_needed),
3241 (ev_pixbuf_cache_set_page_range), (ev_pixbuf_cache_get_pixbuf):
3242 * shell/ev-pixbuf-cache.h:
3243 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
3244 (idle_print_handler):
3245 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
3246 (selection_changed_cb), (create_loading_model),
3247 (ev_sidebar_links_construct), (links_page_num_func),
3248 (ev_sidebar_links_clear_document), (update_page_callback_foreach),
3249 (update_page_callback), (job_finished_cb),
3250 (ev_sidebar_links_set_document):
3251 * shell/ev-sidebar-thumbnails.c:
3252 (ev_sidebar_thumbnails_class_init), (adjustment_changed_cb),
3253 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init),
3254 (page_changed_cb), (thumbnail_job_completed_callback),
3255 (ev_sidebar_thumbnails_set_document):
3256 * shell/ev-sidebar-thumbnails.h:
3257 * shell/ev-sidebar.c: (ev_sidebar_set_document):
3258 * shell/ev-view.c: (ev_view_finalize), (ev_view_destroy),
3259 (ev_view_get_offsets), (ev_view_size_request), (ev_view_realize),
3260 (ev_view_unrealize), (highlight_find_results), (expose_bin_window),
3261 (ev_view_select_all), (ev_view_copy), (ev_view_primary_get_cb),
3262 (ev_view_create_invisible_cursor), (ev_view_motion_notify_event),
3263 (ev_view_button_release_event), (ev_view_scroll_view),
3264 (ev_view_class_init), (ev_view_init), (update_find_status_message),
3265 (jump_to_find_result), (jump_to_find_page), (find_changed_cb),
3266 (ev_view_new), (job_finished_cb), (page_changed_cb),
3267 (ev_view_set_document), (go_to_link), (ev_view_zoom),
3268 (size_to_zoom_factor), (ev_view_set_size), (ev_view_find_next),
3269 (ev_view_find_previous):
3271 * shell/ev-window.c: (update_action_sensitivity),
3272 (ev_window_open_page), (update_window_title), (update_total_pages),
3273 (page_changed_cb), (ev_window_setup_document),
3274 (password_dialog_response), (ev_window_cmd_save_as),
3275 (ev_window_print), (ev_window_cmd_go_previous_page),
3276 (ev_window_cmd_go_next_page), (ev_window_cmd_go_first_page),
3277 (ev_window_cmd_go_last_page), (ev_window_cmd_view_reload),
3278 (find_bar_search_changed_cb), (goto_page_cb), (ev_window_init):
3279 * shell/main.c: (main):
3281 Merge evince-threads branch
3283 2005-03-16 Žygimantas Beručka <uid0@akl.lt>
3285 * configure.ac: Added "lt" to ALL_LINGUAS.
3287 2005-03-14 Marco Pesenti Gritti <marco@gnome.org>
3294 2005-03-13 Fernando Herrera <fherrera@onirica.com>
3296 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3298 Fix here also the thumbnails 1-basedness :)
3300 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
3307 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
3309 * pdf/pdf-document.cc:
3310 * shell/ev-sidebar-thumbnails.c: (adjustment_changed_cb),
3311 (do_one_iteration), (ev_sidebar_thumbnails_set_document):
3313 Fix the mess we did with thumbnails and 1-basedness
3315 2005-03-12 Changwoo Ryu <cwryu@debian.org>
3317 * configure.ac (ALL_LINGUAS): Added "ko" (Korean).
3319 2005-03-09 Marco Pesenti Gritti <marco@gnome.org>
3326 2005-03-08 Marco Pesenti Gritti <marco@gnome.org>
3329 * ps/gsdefaults.c: (gtk_gs_defaults_get_interpreter_cmd),
3330 (gtk_gs_defaults_get_alpha_parameters),
3331 (gtk_gs_defaults_get_ungzip_cmd),
3332 (gtk_gs_defaults_get_unbzip2_cmd):
3334 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
3335 (ps_document_get_orientation), (document_load),
3336 (ps_document_goto_page), (ps_document_set_page_size):
3339 Some more sanitization of the ps backend. Remove a lot
3340 of unused code and do not base our defaults on ggv
3343 2005-03-08 Fernando Herrera <fherrera@onirica.com>
3345 * thumbnailer/evince-thumbnailer.schemas:
3346 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
3347 (main): add -s option for thumbnail size.
3349 2005-03-07 Christian Persch <chpe@cvs.gnome.org>
3353 AC_PROG_RANLIB is rendered obsolete by AC_PROG_LIBTOOL;
3356 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
3358 * pdf/pdf-document.cc:
3360 Remove 4 pixels of useless border from the
3363 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
3365 * backend/ev-document-thumbnails.c:
3366 (ev_document_thumbnails_get_thumbnail):
3367 * backend/ev-document-thumbnails.h:
3369 Rework API a bit. Add a border flag and
3370 change sizing logic (now the size we specify
3371 applies to the bigger dimension).
3373 * pdf/pdf-document.cc:
3374 * pixbuf/pixbuf-document.c:
3375 (pixbuf_document_thumbnails_get_thumbnail):
3376 * shell/ev-sidebar-thumbnails.c: (do_one_iteration):
3377 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3379 Adapt to the new API and do not draw a border for nautilus
3382 2005-03-03 Fernando Herrera <fherrera@onirica.com>
3384 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3385 take thumbnails from page "0" instead of "1". Added a copyright header.
3387 2005-03-03 Jens Granseuer <jensgr@gmx.net>
3389 * ps/ps-document.c: (set_up_page), (start_interpreter):
3391 Make it C89 compliant
3393 2005-03-03 Marco Pesenti Gritti <marco@gnome.org>
3398 * pdf/pdf-document.cc:
3399 * thumbnailer/Makefile.am:
3400 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
3402 * thumbnailer/evince-thumbnailer.schemas:
3403 * thumbnailer/pdf-icon.png:
3405 Add a nautilus thumbnailer.
3406 Based on patch by Fernando Herrera <fherrera@onirica.com>.
3408 2005-03-02 Marco Pesenti Gritti <marco@gnome.org>
3416 2005-03-01 Kristian Høgsberg <krh@redhat.com>
3418 Use poppler instead of including xpdf source code. Poppler is a
3419 fork of xpdf to build it as a shared library. See
3420 http://freedesktop.org/wiki/Software/poppler.
3422 * pdf/xpdf/*, pdf/goo/*, pdf/splash/*, pdf/fofi/*: Remove included
3425 * pdf/Makefile.am: Build libpdfdocument.a here.
3427 * pdf/GDKSplashOutputDev.cc:
3428 * pdf/GDKSplashOutputDev.h:
3429 * pdf/GnomeVFSStream.cc:
3430 * pdf/GnomeVFSStream.h:
3433 * test-gdk-output-dev.cc
3435 * Thumb.h: Pull these files out of pdf/xpdf and adjust to compile
3438 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
3440 * shell/ev-sidebar-links.c: (ev_sidebar_links_clear_document):
3442 Clear idle stack before unsetting the document
3444 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
3446 * ps/ps-document.c: (ps_document_widget_event),
3447 (ps_document_set_target), (ps_document_finalize),
3448 (ps_document_get_page):
3450 Disconnect the widget event signal on finalize.
3453 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
3455 * ps/ps-document.c: (set_up_page):
3457 If there is no bpixmap create one, even if size
3460 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
3462 * ps/ps-document.c: (ps_document_init), (ps_document_cleanup),
3463 (set_up_page), (document_load), (ps_document_set_zoom):
3465 Default page is 0. Calculate size even when we have no
3468 2005-02-28 Carlos Garcia Campos <carlosgc@gnome.org>
3470 * shell/ev-sidebar.c: expand the selection widget to be always as
3473 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
3475 * shell/ev-sidebar-thumbnails.c:
3476 (ev_sidebar_thumbnails_set_document):
3478 Clear the list store when setting document
3480 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
3482 * shell/ev-page-action.c: (update_entry), (sync_entry),
3483 (activate_cb), (entry_size_request_cb), (create_tool_item),
3486 Use an entry for the page control instead of spinbuttons
3488 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
3490 * data/evince.schemas.in:
3492 Correct confusing string
3494 Sun Feb 27 23:00:31 2005 Jonathan Blandford <jrb@redhat.com>
3496 * shell/ev-sidebar-links.c (do_one_iteration): Handle title links
3497 for real. Gosh, how long has this been broken.
3499 * pdf/xpdf/pdf-document.cc (build_link_from_action): add back the
3500 check for a NULL link. We crash otherwise.
3502 2005-02-27 Marco Pesenti Gritti <marco@gnome.org>
3509 2005-02-25 Sebastien Bacher <seb128@debian.org>
3511 * configure.ac: add the french translation.
3513 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
3515 * shell/ev-window.c:
3517 Remove unused header -> fix distcheck
3519 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
3521 * shell/ev-window.c: (update_window_title),
3522 (ev_window_popup_password_dialog):
3524 Unescape filename for display
3526 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
3528 * pdf/xpdf/pdf-document.cc:
3530 In get_page_size deal with rotation. Also
3531 cleanup the function a bit.
3533 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
3535 * pdf/xpdf/pdf-document.cc:
3537 Fix crash when opening in new window
3539 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
3543 Check ghostscript >= 7
3545 2005-02-25 Pedro Villavicencio <pvillavi@gnome.cl>
3547 * shell/ev-window.c:
3549 Make page width the default sizing mode
3551 2005-02-25 Carlos Garcia Campos <carlosgc@gnome.org>
3552 Marco Pesenti Gritti <marco@gnome.org>
3554 * shell/ev-window.c: Remember the sidebar size
3556 * data/evince.schemas.in: Add a new gconf key to store the size of
3559 2005-02-24 Kai Willadsen <kaiw@itee.uq.edu.au>
3561 * data/evince-ui.xml:
3562 * shell/ev-window.c: (update_action_sensitivity),
3563 (ev_window_cmd_view_reload):
3565 Add a "Reload" action and menu entry
3567 Thu Feb 24 23:07:33 2005 Jonathan Blandford <jrb@redhat.com>
3569 * shell/ev-window.c (hide_sidebar_and_actions): Hide the sidebar
3570 iff the type doesn't support thumbnailing and indexing.
3572 2005-02-24 Martin Kretzschmar <martink@gnome.org>
3574 * configure.ac (ALL_LINGUAS): Added "zh_TW" (Traditional Chinese).
3576 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
3578 * pdf/splash/Splash.cc:
3580 Port fix for a crasher from kde bug
3581 http://bugs.kde.org/show_bug.cgi?id=97131
3583 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
3585 * pdf/xpdf/pdf-document.cc:
3587 Return a link even if it's of an unrecognized
3588 type. Otherwise we go in an infinte cycle.
3590 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
3592 * shell/ev-window.c: (update_sizing_buttons), (update_view_size),
3593 (size_allocate_cb), (ev_window_set_sizing_mode):
3595 Update size when switching mode
3597 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
3599 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
3600 (ev_window_cmd_view_page_width), (update_sizing_buttons),
3601 (ev_window_cmd_view_normal_size):
3603 Fix size toggle buttons behavior
3605 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
3607 * shell/ev-view.c: (ev_view_get_offsets), (view_rect_to_doc_rect),
3608 (doc_rect_to_view_rect), (ev_view_size_allocate),
3609 (expose_bin_window), (ev_view_select_all), (page_changed_callback),
3610 (scale_changed_callback):
3612 Do not cache offsets in size_allocate.
3614 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
3616 * shell/ev-view.c: (ev_view_size_allocate):
3618 Calculate offsets before calling the parent
3619 class (which does a redraw)
3621 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
3623 * pdf/xpdf/pdf-document.cc:
3625 Fix a crasher on exit. Unused code, put a TODO
3627 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
3629 * backend/ev-document.c: (ev_document_class_init),
3630 (ev_document_page_changed), (ev_document_scale_changed):
3631 * backend/ev-document.h:
3633 Separate page/scale notifications
3635 * pdf/xpdf/pdf-document.cc:
3637 Emit the new signals.
3638 Do not display the pdf page in _render, do it
3639 when scale/page are requested.
3641 * ps/ps-document.c: (ps_document_set_zoom),
3642 (ps_document_widget_event):
3645 Emit the new signals.
3647 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
3648 (ev_view_init), (page_changed_callback), (scale_changed_callback),
3649 (ev_view_set_document), (ev_view_zoom), (ev_view_zoom_in),
3650 (ev_view_zoom_out), (size_to_zoom_factor), (ev_view_set_size):
3652 * shell/ev-window.c: (ev_window_cmd_view_normal_size),
3653 (ev_window_cmd_view_page_width), (size_allocate_cb),
3654 (ev_window_set_sizing_mode):
3656 Rework sizing to be pixel based.
3657 There are bugs but should be already way better.
3659 2005-02-23 Marco Pesenti Gritti <marco@gnome.org>
3661 * shell/ev-window.c: (ev_window_init):
3663 Do not allow to shrink sidebar smaller then
3666 2005-02-23 Carlos Garcia Campos <carlosgc@gnome.org>
3668 * shell/ev-sidebar.[ch]
3669 * shell/ev-window.c:
3671 Improved sidebar widget. Fixes #166683
3673 2005-02-23 Tommi Vainikainen <thv@iki.fi>
3675 * shell/ev-view.c (update_find_status_message): Give translators
3676 more flexibility with ngettext plural handling.
3678 Mon Feb 21 17:52:08 2005 Jonathan Blandford <jrb@redhat.com>
3680 * pdf/xpdf/pdf-document.cc (pdf_document_get_page_size): Patch
3681 from Crispin Flowerday <gnome@flowerday.cx> to avoid rendering the
3682 page when we get the page size.
3684 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
3686 * ps/ps-document.c: (ps_document_set_page), (ps_document_get_page):
3688 ps pages are 0 based, convert
3690 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
3692 * ps/ps-document.c: (ps_document_class_init), (ps_document_load):
3694 Initialize correct parent class. Set GError on document load
3696 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
3698 * pdf/xpdf/pdf-document.cc:
3700 Fixup selection offset calculation
3702 * shell/ev-view.c: (view_rect_to_doc_rect),
3703 (doc_rect_to_view_rect), (ev_view_size_allocate),
3704 (expose_bin_window), (ev_view_select_all), (ev_view_copy),
3705 (ev_view_primary_get_cb), (ev_view_motion_notify_event):
3707 Store selection as document relative, so that zooming
3708 and offset changing doesnt break it.
3710 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
3712 * shell/ev-view.c: (ev_view_best_fit):
3714 Do not try to best fit if the view is not realized
3716 2005-02-20 Kostas Papadimas <pkst@gnome.org>
3718 * configure.ac (ALL_LINGUAS): Added "el" (Greek).
3720 Fri Feb 18 16:06:39 2005 Jonathan Blandford <jrb@redhat.com>
3722 * shell/ev-window.c (ev_window_focus_in_event): missed a case.
3724 Fri Feb 18 15:32:57 2005 Jonathan Blandford <jrb@redhat.com>
3726 * shell/ev-window.c: Change the fullscreen toolbar to always be in
3727 the popup window. That prevents it resizing when in full screen
3730 * shell/ev-view.c: Change Zoom epsilon as a bad hack to avoid
3731 multiple rerenders. This pretty much sucks.
3733 * data/evince-ui.xml: Change the fullscreen toolbar to include the
3734 rest of the toolbar.
3736 2005-02-18 Tommi Vainikainen <thv@iki.fi>
3738 * configure.ac (ALL_LINGUAS): Added "fi" (Finnish).
3740 2005-02-17 Alexander Shopov <ash@contact.bg>
3742 * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
3744 2005-02-16 Bryan Clark <clarkbw@cvs.gnome.org>
3746 * shell/ev-window.c: added ellipsis to Print item. Fixes bug 166915
3748 2005-02-16 Marco Pesenti Gritti <marco@gnome.org>
3750 * shell/ev-view.c: (ev_view_realize), (highlight_find_results),
3751 (ev_view_create_invisible_cursor), (ev_view_set_cursor),
3752 (set_document_page), (document_changed_callback),
3753 (ev_view_set_document), (ev_view_find_previous),
3754 (ev_view_hide_cursor), (ev_view_show_cursor):
3756 * shell/ev-window.c: (update_chrome_visibility),
3757 (fullscreen_timeout_cb), (fullscreen_set_timeout),
3758 (fullscreen_clear_timeout), (fullscreen_motion_notify_cb),
3759 (fullscreen_leave_notify_cb), (ev_window_fullscreen),
3760 (ev_window_unfullscreen):
3761 * shell/main.c: (main):
3763 Automatically hide the fullscreen button.
3764 Patch by Kristian Høgsberg <krh@redhat.com>
3766 2005-02-16 Vincent Noel <vnoel@cox.net>
3768 * shell/main.c (main): Specify an icon for the window. Patch by
3769 Jaap A. Haitsma. Fixes #166177.
3771 Wed Feb 16 06:30:13 2005 Jonathan Blandford <jrb@redhat.com>
3773 * shell/ev-view.c (ev_view_realize): get rid of the black flash.
3775 Tue Feb 15 22:27:13 2005 Jonathan Blandford <jrb@redhat.com>
3777 * backend/ev-document-misc.h:
3778 * backend/ev-document-misc.c:
3779 (ev_document_misc_get_page_border_size),
3780 (ev_document_misc_paint_one_page): New function to canonicalize
3781 sizing/painting a border.
3783 * shell/Makefile.am: Remove ev-page-view.c entirely as it's not
3786 * pdf/xpdf/pdf-document.cc: use new function
3788 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
3789 (ev_view_init), (ev_view_set_mode), (ev_view_zoom),
3790 (ev_view_best_fit), (ev_view_fit_width): * shell/ev-view.h: *
3791 shell/ev-window.c: (update_sizing_buttons),
3792 (ev_window_setup_document), (ev_window_cmd_view_zoom_in),
3793 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_best_fit),
3794 (ev_window_cmd_view_page_width), (size_allocate_cb),
3795 (ev_window_set_sizing_mode), (ev_window_init): make the "best fit"
3796 and "fit width" values act as toggle buttons so they stay
3797 toggled. It's not 100% perfect, and it's a little slow, but it's
3798 good enough to commit I think.
3800 2005-02-15 David Lodge <dave@cirt.net>
3802 * configure.ac (ALL_LINGUAS): Added "en_GB" (English (British)).
3804 2005-02-15 Martin Kretzschmar <martink@gnome.org>
3806 * shell/ev-window.c (update_window_title): replace newlines in
3807 the title by spaces. Bug #166107.
3809 2005-02-14 Martin Kretzschmar <martink@gnome.org>
3811 * shell/ev-view.c (ev_view_best_fit, ev_view_fit_width): add
3812 parameters providing allocation width and height without
3813 scrollbars and width of a possible vertical scrollbar. With this
3814 additional information the functions can work as
3815 intended. Unfortunately they're not idempotent. We should
3816 transform these commands to toggles. Fixes Bug #164976
3817 Initial patch by Stephane Loeuillet, then heavily modified.
3819 * shell/ev-view.h: update prototypes.
3821 * shell/ev-window.c (ev_window_cmd_view_best_fit)
3822 (ev_window_cmd_view_page_width): provide EvView fit functions with
3823 all the information they need. Formulas to calculate this
3824 information taken from GtkScrolledWindow.
3826 2005-02-14 Crispin Flowerday <gnome@flowerday.cx>
3828 * shell/ev-sidebar-thumbnails.c: Ensure that after we have
3829 created a thumbnail, the list store is updated to know
3830 that the thumbnail is set. Fixes bug #166792
3832 2005-02-11 Bryan Clark <clarkbw@cvs.gnome.org>
3834 * shell/ev-window.c: fixed typo, closes bug 166897
3836 * TODO: updated TODO with bug numbers that are relevant
3838 2005-02-09 Carlos Garcia Campos <carlosgc@gnome.org>
3840 * shell/ev-window.c: Support for DnD of files. Fixes #164813
3842 2005-02-09 Vincent Noel <vnoel@cox.net>
3844 * shell/ev-window.c: (set_action_properties): Set the "Previous"
3845 and "Next" toolbar buttons as important to make them stand out.
3847 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
3851 * ps/ps-document.c: (ps_document_finalize), (set_up_page),
3852 (start_interpreter), (stop_interpreter), (document_load),
3853 (ps_document_next_page), (ps_document_goto_page),
3854 (ps_document_set_page_size), (ps_document_widget_event),
3855 (ps_document_render):
3856 * shell/ev-page-view.c: (ev_page_view_dispose):
3857 * shell/ev-view.c: (ev_view_finalize), (expose_bin_window):
3859 Fix compilation on non-gcc platforms
3861 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
3868 * pdf/xpdf/Catalog.cc:
3871 Fix the fix for CAN-2004-0888
3873 2005-02-09 Luca Ferretti <elle.uca@libero.it>
3876 * data/evince-ui.xml:
3877 * shell/ev-stock-icons.c: (ev_stock_icons_init):
3878 * shell/ev-stock-icons.h:
3879 * shell/ev-window.c: (update_action_sensitivity),
3880 (ev_window_cmd_go_previous_page), (ev_window_cmd_go_next_page),
3881 (set_action_properties):
3883 Improve toolbar layout/icons
3885 2005-02-08 Marco Pesenti Gritti <marco@gnome.org>
3887 * pdf/xpdf/pdf-document.cc:
3889 Add warnings about unimplemented/unknown link
3892 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
3894 * ps/ps-document.c: (set_up_page):
3898 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
3900 * ps/ps-document.c: (start_interpreter):
3904 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
3906 * shell/ev-page-view.c: (ev_page_view_dispose):
3907 * shell/ev-view.c: (ev_view_finalize):
3908 * shell/ev-window.c: (ev_window_setup_document),
3909 (ev_window_dispose), (ev_window_init):
3911 Solve more refs issues.
3913 I commented out the page_view initialization for now:
3914 it was never destroyed (because it's never added
3915 to a container). Because of that we was leaking
3916 gs processes. Couldnt think to a clean fix.
3917 We need to figure this out, password view has the
3918 same issue probably.
3920 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
3922 * ps/ps-document.c: (ps_document_finalize),
3923 (ps_document_get_n_pages), (ps_document_get_page):
3925 Some cleanups, stop the interpreter on finalize
3927 * shell/ev-page-view.c: (ev_page_view_dispose),
3928 (ev_page_view_class_init):
3930 Release our reference on the document
3932 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
3936 * doc/debugging.txt:
3939 * lib/ev-debug.c: (log_module), (trap_handler), (ev_debug_init),
3940 (ev_profiler_new), (ev_should_profile), (ev_profiler_dump),
3941 (ev_profiler_free), (ev_profiler_start), (ev_profiler_stop):
3944 Add debugging helpers
3947 * ps/ps-document.c: (set_up_page), (start_interpreter),
3948 (stop_interpreter), (document_load), (ps_document_next_page),
3949 (ps_document_goto_page), (ps_document_set_page_size),
3950 (ps_document_widget_event), (ps_document_render):
3951 * shell/Makefile.am:
3952 * shell/ev-view.c: (expose_bin_window):
3953 * shell/main.c: (main):
3957 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
3959 * ps/ps-document.c: (ps_document_widget_event):
3961 Initialize message_window, this should make ps
3962 rendering really work! (Never noticed because I was
3963 testing with a ps that is causing gs to exit every time!)
3965 2005-02-07 Bryan Clark <clarkbw@cvs.gnome.org>
3967 * data/evince.schemas.in: updated simple error in applyto closing tag
3969 2005-02-07 Christian Persch <chpe@cvs.gnome.org>
3975 * data/evince-ui.xml:
3976 A data/evince.schemas.in:
3978 * shell/ev-stock-icons.c: (ev_stock_icons_init):
3979 * shell/ev-stock-icons.h:
3980 * shell/ev-window.c: (update_chrome_visibility),
3981 (update_chrome_flag), (ev_window_cmd_edit_find),
3982 (ev_window_update_fullscreen_popup), (ev_window_fullscreen),
3983 (ev_window_unfullscreen), (ev_window_focus_in_event),
3984 (ev_window_focus_out_event), (ev_window_cmd_leave_fullscreen),
3985 (ev_window_view_toolbar_cb), (ev_window_view_statusbar_cb),
3986 (ev_window_view_sidebar_cb), (find_bar_close_cb),
3987 (ev_window_dispose), (ev_window_class_init),
3988 (set_action_properties), (set_chrome_actions), (load_chrome),
3991 Implement fullscreen mode changes from bug #164776.
3992 Also implement persistent chrome toggles.
3994 2005-02-07 Jordi Mallach <jordi@sindominio.net>
3996 * configure.ac (ALL_LINGUAS): Added "ca" (Catalan).
3998 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
4004 Add another check for find interface
4008 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
4010 * shell/ev-application.c: (ev_application_open):
4011 * shell/ev-window.c: (ev_window_open):
4013 Open gzipped ps documents
4015 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
4018 * shell/ev-view.c: (set_document_page):
4020 Clamp page number, dont try to move to
4023 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
4025 * backend/ev-document-find.c: (ev_document_find_changed):
4026 * backend/ev-document-find.h:
4027 * pdf/xpdf/pdf-document.cc:
4028 * shell/ev-view.c: (jump_to_find_result), (ev_view_set_document):
4029 * shell/ev-window.c: (find_bar_search_changed_cb):
4031 Fix several bugs with find
4033 2005-02-04 Martin Kretzschmar <martink@gnome.org>
4035 * shell/ev-sidebar-thumbnails.c
4036 (ev_sidebar_thumbnails_select_page): do nothing unless we have a
4037 document. Prevents warning from scroll_to_cell.
4039 2005-02-02 Kjartan Maraas <kmaraas@gnome.org>
4041 * configure.ac: Add «nb» to ALL_LINGUAS too.
4043 Wed Feb 2 21:13:11 2005 Jonathan Blandford <jrb@redhat.com>
4045 * NOTES: New file with some random thoughts.
4049 * backend/ev-document-misc.c:
4050 (ev_document_misc_get_page_border_size): New function to
4051 canonicalize shadow drawing sizes. Possibly goofy.
4053 * shell/ev-view.c: (ev_view_size_request), (set_document_page),
4054 (ev_view_best_fit), (ev_view_fit_width):
4055 * pdf/xpdf/pdf-document.cc:
4056 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
4057 * ps/ps-document.c: (ps_document_get_page_size):
4058 * backend/ev-document-misc.h:
4059 * backend/ev-document.c: (ev_document_get_page_size):
4060 * backend/ev-document.h: get_page_size now takes a page number
4061 parameter. Made all the backends/frontends honor it.
4063 * data/evince-ui.xml: Added a multiple-page mode. Uncomment to
4064 see. Doesn't work yet.
4066 * shell/Makefile.am:
4067 * shell/ev-page-view.[ch]: New multi-page view. Really rough.
4068 Doesn't do anything yet.
4070 * shell/ev-sidebar-thumbnails.c:
4071 (ev_sidebar_thumbnails_set_document): [1..n_pages] instead of
4074 * shell/ev-window.c: (update_action_sensitivity),
4075 (ev_window_setup_document), (ev_window_set_page_mode),
4076 (ev_window_page_mode_cb), (ev_window_init): Clean up the
4077 view-swapping code a bit so we can have multiple views on a
4078 document. Add the multi-page view, though it can't be turned on
4081 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
4083 * shell/ev-application.c: (ev_application_open):
4084 * shell/ev-view.c: (expose_bin_window):
4085 * shell/ev-window.c: (ev_window_open):
4087 Support eps and check document supports find
4088 before drawing highlightings in expose.
4090 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
4092 * pixbuf/pixbuf-document.c:
4093 (pixbuf_document_thumbnails_get_dimensions),
4094 (pixbuf_document_document_thumbnails_iface_init):
4096 implement get_dimensions
4098 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
4105 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
4107 * shell/ev-view.c: (set_document_page):
4109 Scroll at the top of the page when changing page
4111 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
4113 * shell/ev-view.c: (ev_view_motion_notify_event):
4115 Do not redraw unnecessarily
4117 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
4119 * pdf/xpdf/pdf-document.cc:
4120 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
4121 (expose_bin_window), (find_changed_cb):
4123 Yay! find works now... Now to find bugs...
4125 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
4127 * backend/ev-document-find.c: (ev_document_find_base_init),
4128 (ev_document_find_changed):
4129 * backend/ev-document-find.h:
4130 * pdf/xpdf/pdf-document.cc:
4131 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
4132 (expose_bin_window), (ev_view_init), (set_document_page),
4133 (ensure_rectangle_is_visible), (jump_to_find_result),
4134 (jump_to_find_page), (find_changed_cb), (ev_view_set_document),
4135 (ev_view_find_next), (ev_view_find_previous):
4137 * shell/ev-window.c: (find_bar_previous_cb), (find_bar_next_cb):
4139 More work on find implementation, mostly there now
4141 2005-01-29 Marco Pesenti Gritti <marco@gnome.org>
4143 * backend/ev-backend-marshalers.list:
4144 * backend/ev-document-find.c: (ev_document_find_base_init),
4145 (ev_document_find_cancel), (ev_document_find_page_has_results),
4146 (ev_document_find_get_n_results), (ev_document_find_get_result),
4147 (ev_document_find_get_progress), (ev_document_find_changed):
4148 * backend/ev-document-find.h:
4150 Enanche the find interface to be really able to do
4153 * pdf/xpdf/pdf-document.cc:
4157 * shell/ev-view.c: (ev_view_finalize), (highlight_find_results),
4158 (expose_bin_window), (ev_view_init),
4159 (ev_view_get_find_status_message), (find_changed_cb),
4160 (ev_view_set_document), (set_document_page):
4162 Adapt to the new interface. A few things are regressed sorry,
4163 I will finish it soon.
4165 2005-01-28 Martin Kretzschmar <martink@gnome.org>
4167 * shell/ev-sidebar-thumbnails.c (ev_sidebar_thumbnails_destroy)
4168 (ev_sidebar_thumbnails_class_init): use G_DEFINE_TYPE-supplied
4169 ev_sidebar_thumbnails_parent_class variable, don't define another
4170 parent_class variable.
4172 * shell/ev-page-action.c (connect_proxy, ev_page_action_finalize)
4173 (ev_page_action_class_init): ditto.
4175 * pixbuf/pixbuf-document.c (pixbuf_document_finalize)
4176 (pixbuf_document_class_init): ditto.
4178 * backend/ev-link.c (ev_window_dispose, ev_link_class_init):
4181 * .cvsignore: ignore various valgrind output files.
4183 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
4185 * data/evince-ui.xml:
4186 * shell/Makefile.am:
4187 * shell/ev-history.c:
4188 * shell/ev-history.h:
4189 * shell/ev-navigation-action.c:
4190 * shell/ev-navigation-action.h:
4191 * shell/ev-view.c: (ev_view_finalize), (ev_view_go_to_link),
4192 (ev_view_set_page), (ev_view_fit_width):
4194 * shell/ev-window.c: (update_action_sensitivity),
4195 (ev_window_setup_document), (register_custom_actions):
4197 Kill session history
4199 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
4201 * shell/ev-window.c: (update_action_sensitivity):
4203 Fix inverted up/down buttons
4205 2005-01-27 Martin Kretzschmar <martink@gnome.org>
4207 * shell/ev-sidebar-thumbnails.c
4208 (ev_sidebar_thumbnails_select_page): make sure the selected
4209 thumbnail stays visible.
4211 2005-01-26 Martin Kretzschmar <martink@gnome.org>
4213 * shell/ev-window.c (ev_window_init): add GTK_SHADOW_IN to the
4214 scrolled window for Federico.
4216 2005-01-26 Ole Laursen <olau@hardworking.dk>
4218 * configure.ac: Added "da" (Danish) to ALL_LINGUAS.
4220 2005-01-26 Marco Pesenti Gritti <marco@gnome.org>
4223 * pdf/splash/SplashFTFontEngine.cc:
4225 Fix CID fonts with freetype 2.1.9
4227 2005-01-26 Bryan Clark <clarkbw@cvs.gnome.org>
4229 * TODO: added item for desktop icon thumbnailer
4231 Tue Jan 25 00:59:34 2005 Jonathan Blandford <jrb@redhat.com>
4233 * pdf/xpdf/pdf-document.cc (pdf_document_get_title): guard against
4234 unloaded docs when the title is accessed.
4236 * shell/ev-password-view.[hc]: New widget for displaying password
4239 * shell/ev-window.[ch]: Refactor password handling code to handle
4242 2005-01-24 Marco Pesenti Gritti <marco@gnome.org>
4250 2005-01-23 Stephane LOEUILLET <stephane.loeuillet@tiscali.fr>
4252 * pdf/xpdf/pdf-document.cc (pdf_document_search_page_changed):
4253 ignore page offset here, to make search results independent of it,
4255 * shell/ev-view.c (expose_bin_window): but take offsets into
4256 account here. Bug #164932
4258 * pdf/xpdf/pdf-document.cc (pdf_document_get_link): divide by
4259 scale at the right time. Bug #164996
4261 2005-01-22 Martin Kretzschmar <martink@gnome.org>
4263 * pdf/xpdf/GlobalParams.cc: My 2005-01-05 change didn't actually
4264 fix the problem. Now I just removed the Adobe font names and hope
4265 that the URW fonts are always in outline format. Bug #164934
4267 * shell/ev-window.c (update_window_title): empty titles are
4268 useless, use filename in that case too.
4270 * NEWS: Add some content.
4272 2005-01-21 Bryan Clark <clarkbw@cvs.gnome.org>
4274 * TODO: added one more TODO item and a TODONE section :)
4276 2005-01-21 Martin Kretzschmar <martink@gnome.org>
4278 * ps/ps-document.h: add page_[xy]_offset fields.
4280 * ps/ps-document.c (ps_document_set_page_offset)
4281 (ps_document_render): Keep offset in consideration in a few
4282 places. Bug #164752 "postscript documents are not centered in
4285 * data/evince.desktop.in (X-GNOME-Bugzilla-Product):
4286 s/gpdf/evince/. Spotted by Stephane Loeuillet.
4288 * pixbuf/pixbuf-document.c (pixbuf_document_get_n_pages)
4289 (pixbuf_document_get_text, pixbuf_document_document_iface_init):
4290 stub out missing methods for complete EvDocument implementation.
4291 Fixes segfaults with Save A Copy and Copy actions.
4293 * ps/ps-document.c (ps_document_save, ps_document_get_text)
4294 (ps_document_document_iface_init): ditto.
4296 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
4300 * data/evince.desktop.in:
4304 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
4306 * shell/ev-view.c: (ev_view_button_press_event),
4307 (ev_view_motion_notify_event):
4309 Make selection work in any direction
4311 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
4314 * shell/ev-window.c: (set_short_labels), (ev_window_init):
4316 Use shorter labels for some of the toolbars items
4318 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
4320 * pdf/xpdf/pdf-document.cc:
4322 Check the links info is initialized before
4323 using it. Should fix a crash on startup.
4325 2005-01-21 Martin Kretzschmar <martink@gnome.org>
4327 * pixbuf/pixbuf-document.c
4328 (pixbuf_document_thumbnails_get_dimensions): force floating point
4329 division to calculate page_ratio. Fixes crash with landscape
4332 Thu Jan 20 18:56:35 2005 Jonathan Blandford <jrb@redhat.com>
4334 * shell/ev-view.c (ev_view_realize): make the bg color darker.
4336 2005-01-20 Martin Kretzschmar <martink@gnome.org>
4338 * shell/ev-view.c (set_document_page): unset has_selection when
4340 (set_document_page): handle paper size changes when the page
4341 changes (test with Free Culture, page 2).
4343 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
4345 * shell/ev-view.c: (ev_view_size_request), (ev_view_realize),
4346 (expose_bin_window), (ev_view_class_init), (ev_view_init):
4348 Use normal style color for the widget background and
4349 draw a black box around the page.
4351 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
4353 * pdf/xpdf/pdf-document.cc:
4355 Keep offset in consideration in a few places
4357 * shell/ev-view.c: (expose_bin_window):
4359 Set the offsets so that the document is ever centered
4361 2005-01-20 Bryan Clark <clarkbw@cvs.gnome.org>
4363 * TODO: Added TODO items and finished off the first todo item
4365 * AUTHORS: Updated AUTHORS section with piece from gpdf file and
4366 reflect current authors
4368 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
4370 * pdf/xpdf/pdf-document.cc:
4371 * shell/ev-view.c: (ev_view_set_cursor),
4372 (ev_view_motion_notify_event), (document_changed_callback),
4373 (set_document_page):
4375 Show a wait cursor while the page is rendering
4377 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
4379 * shell/ev-sidebar-thumbnails.c:
4380 (ev_sidebar_tree_selection_changed),
4381 (ev_sidebar_thumbnails_select_page):
4382 * shell/ev-sidebar-thumbnails.h:
4383 * shell/ev-view.c: (ev_view_set_document), (ev_view_can_go_back),
4384 (ev_view_can_go_forward):
4385 * shell/ev-window.c: (ev_window_open_page),
4386 (ev_window_setup_document), (update_current_page),
4387 (view_page_changed_cb), (ev_window_init):
4388 * shell/ev-window.h:
4390 Ensure thumbnails selection, toolbar page control and
4391 current page are in sync.
4393 2005-01-19 Marco Pesenti Gritti <marco@gnome.org>
4399 Wed Jan 19 01:10:57 2005 Jonathan Blandford <jrb@redhat.com>
4401 * backend/Makefile.am:
4402 * backend/ev-document-links.h:
4403 * backend/ev-document-security.c: (ev_document_security_get_type),
4404 (ev_document_security_has_document_security),
4405 (ev_document_security_set_password):
4406 * backend/ev-document-security.h:
4407 * backend/ev-document.c: (ev_document_error_quark):
4408 * backend/ev-document.h:
4410 * data/evince-password.glade:
4411 * pdf/xpdf/pdf-document.cc:
4412 * shell/Makefile.am:
4413 * shell/ev-password.c: (ev_password_set_bad_password_label),
4414 (ev_window_password_entry_changed_cb), (ev_password_dialog_new),
4415 (ev_password_dialog_get_password),
4416 (ev_password_dialog_set_bad_pass):
4417 * shell/ev-password.h:
4418 * shell/ev-window.c: (ev_window_get_attribute),
4419 (ev_window_set_property), (update_action_sensitivity),
4420 (ev_window_is_empty), (mime_type_supported_by_gdk_pixbuf),
4421 (ev_window_setup_document), (ev_window_get_password),
4422 (ev_window_open), (ev_window_cmd_save_as),
4423 (using_postscript_printer), (ev_window_print),
4424 (find_not_supported_dialog), (ev_window_cmd_edit_find),
4425 (update_fullscreen_popup), (ev_window_fullscreen),
4426 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
4427 (ev_window_focus_out_cb), (ev_window_cmd_help_about),
4428 (menu_item_select_cb), (find_bar_search_changed_cb),
4429 (ev_window_dispose), (ev_window_init):
4431 Add initial support for password-supported dialogs. This could be
4432 a lot cooler, but it'll do for now.
4434 2005-01-18 Marco Pesenti Gritti <marco@gnome.org>
4436 * pdf/xpdf/pdf-document.cc:
4437 * shell/ev-view.c: (status_message_from_link),
4438 (ev_view_set_status), (ev_view_set_cursor),
4439 (ev_view_motion_notify_event), (ev_view_init):
4440 * shell/ev-window.c: (view_status_changed_cb), (ev_window_init):
4442 Fix bugs in the links implementation and change cursor
4443 when hovering a link.
4445 2005-01-17 Bryan Clark <clarkbw@cvs.gnome.org>
4447 * viewer/.cvsignore: added cvsignore file for viewer directory
4449 * TODO: created TODO document
4451 2005-01-14 Dave Malcolm <dmalcolm@redhat.com>
4454 * shell/ev-view.c (ev_view_can_go_back), (ev_view_can_go_forward):
4455 new functions to help with implementation of sensitivity code
4456 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
4457 of all actions that might require it. Fixes a crash when you
4458 click on the Zoom actions in a window lacking a document.
4460 2005-01-13 Dave Malcolm <dmalcolm@redhat.com>
4462 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
4465 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
4467 * pixbuf/pixbuf-document.c: (pixbuf_document_get_link),
4468 (pixbuf_document_document_iface_init):
4469 * ps/ps-document.c: (ps_document_get_link),
4470 (ps_document_document_iface_init):
4471 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event),
4472 (status_message_from_link), (ev_view_set_status),
4473 (ev_view_set_find_status), (ev_view_motion_notify_event),
4474 (ev_view_button_release_event), (ev_view_set_property),
4475 (ev_view_get_property), (ev_view_class_init), (ev_view_init),
4476 (ev_view_get_find_status_message), (update_find_results),
4477 (ev_view_get_status), (ev_view_get_find_status):
4479 * shell/ev-window.c: (view_status_changed_cb),
4480 (view_find_status_changed_cb), (ev_window_init):
4482 View status message support, use it to show the links.
4485 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
4487 * backend/ev-document.c: (ev_document_get_link):
4488 * backend/ev-document.h:
4489 * pdf/xpdf/pdf-document.cc:
4490 * shell/ev-application.c: (ev_application_open):
4491 * shell/ev-application.h:
4492 * shell/ev-sidebar-links.c: (selection_changed_cb):
4493 * shell/ev-view.c: (ev_view_button_release_event), (go_to_link),
4494 (ev_view_go_to_link):
4496 Add support for document links
4498 2005-01-13 Anders Carlsson <andersca@gnome.org>
4500 * shell/ev-page-action.c: (update_spin), (total_pages_changed_cb),
4502 Set the spin button limits correctly.
4504 * shell/ev-sidebar-thumbnails.c:
4505 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init):
4506 Support changing pages by clicking on the thumbnails.
4508 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
4510 * pixbuf/pixbuf-document.c:
4511 (pixbuf_document_thumbnails_get_dimensions),
4512 (pixbuf_document_document_thumbnails_iface_init):
4514 implement get_dimensions
4516 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
4518 * ps/ps-document.c: (ps_document_goto_page):
4520 Fix page switching on multipage documents
4522 2005-01-12 Jeff Muizelaar <jrmuizel@nit.ca>
4524 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
4526 check for NULL before assigning to width and height parameters
4528 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
4530 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
4531 (pixbuf_document_set_property), (pixbuf_document_get_property):
4533 implement get/set properties
4535 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
4537 * pdf/xpdf/pdf-document.cc: (pdf_info_dict_get_string):
4539 return NULL instead of "Unknown", letting the title get set to
4540 the filename when the pdf has no title.
4542 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
4544 * ps/ps-document.c: (ps_document_get_page_count),
4545 (ps_document_goto_page):
4547 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
4549 * shell/ev-history.c: (ev_history_get_property),
4550 (ev_history_set_property), (ev_history_class_init),
4551 (ev_history_add_page), (ev_history_set_current_index):
4552 * shell/ev-navigation-action.c: (ev_navigation_action_set_history),
4553 (activate_menu_item_cb), (new_history_menu_item), (build_menu),
4554 (ev_navigation_action_finalize):
4555 * shell/ev-navigation-action.h:
4556 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
4557 (ev_view_go_forward), (ev_view_get_find_status_message),
4558 (history_index_changed_cb), (ev_view_set_history):
4560 * shell/ev-window.c: (update_total_pages), (ev_window_open),
4561 (update_current_page), (register_custom_actions):
4563 Implement history dropdowns
4565 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
4567 * shell/ev-history.c: (ev_history_init), (ev_history_add_link):
4568 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
4569 (ev_view_go_forward):
4570 * shell/ev-window.c: (register_custom_actions):
4572 Fix several history bugs
4574 2005-01-11 Kjartan Maraas <kmaraas@gnome.org>
4576 * configure.ac: Add «nb» to ALL_LINGUAS.
4578 2005-01-10 Marco Pesenti Gritti <marco@gnome.org>
4580 * backend/Makefile.am:
4581 * backend/ev-bookmark.c:
4582 * backend/ev-bookmark.h:
4583 * backend/ev-document-bookmarks.c:
4584 * backend/ev-document-bookmarks.h:
4585 * backend/ev-document-links.c: (ev_document_links_get_type),
4586 (ev_document_links_has_document_links),
4587 (ev_document_links_begin_read), (ev_document_links_get_link),
4588 (ev_document_links_get_child), (ev_document_links_next),
4589 (ev_document_links_free_iter):
4590 * backend/ev-document-links.h:
4591 * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_title),
4592 (ev_link_set_title), (ev_link_get_uri), (ev_link_set_uri),
4593 (ev_link_get_link_type), (ev_link_set_link_type),
4594 (ev_link_get_page), (ev_link_set_page), (ev_link_get_property),
4595 (ev_link_set_property), (ev_window_dispose), (ev_link_init),
4596 (ev_link_class_init), (ev_link_new_title), (ev_link_new_page),
4597 (ev_link_new_external):
4598 * backend/ev-link.h:
4599 * pdf/xpdf/pdf-document.cc:
4600 * shell/Makefile.am:
4601 * shell/ev-application.c: (ev_application_open_link):
4602 * shell/ev-application.h:
4603 * shell/ev-history.c: (ev_history_add_link), (ev_history_add_page),
4604 (ev_history_get_link_nth):
4605 * shell/ev-history.h:
4606 * shell/ev-sidebar-bookmarks.c:
4607 * shell/ev-sidebar-bookmarks.h:
4608 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
4609 (ev_sidebar_links_class_init), (selection_changed_cb),
4610 (ev_sidebar_links_construct), (ev_sidebar_links_init),
4611 (links_page_num_func), (ev_sidebar_links_new), (stack_data_free),
4612 (do_one_iteration), (populate_links_idle),
4613 (ev_sidebar_links_clear_document), (ev_sidebar_links_set_document):
4614 * shell/ev-sidebar-links.h:
4615 * shell/ev-sidebar.c: (ev_sidebar_set_document):
4616 * shell/ev-view.c: (go_to_link), (ev_view_go_to_link),
4619 * shell/ev-window.c: (ev_window_open_link), (ev_window_init):
4620 * shell/ev-window.h:
4622 Rename bookmark to link, and use "Index" for the sidebar panel.
4624 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
4626 * shell/Makefile.am:
4627 * shell/ev-application.c: (ev_application_open_bookmark):
4628 * shell/ev-application.h:
4629 * shell/ev-history.c: (ev_history_init), (free_links_list),
4630 (ev_history_finalize), (ev_history_class_init),
4631 (ev_history_add_link), (ev_history_add_page),
4632 (ev_history_get_link_nth), (ev_history_get_n_links),
4633 (ev_history_get_current_index), (ev_history_set_current_index),
4635 * shell/ev-history.h:
4636 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
4637 * shell/ev-view.c: (ev_view_finalize), (ev_view_set_document),
4638 (set_document_page), (go_to_bookmark), (ev_view_go_to_bookmark),
4639 (go_to_index), (ev_view_go_back), (ev_view_go_forward),
4642 * shell/ev-window.c: (ev_window_open_bookmark),
4643 (ev_window_cmd_go_back), (ev_window_cmd_go_forward),
4644 (goto_page_cb), (register_custom_actions):
4645 * shell/ev-window.h:
4647 Initial history implementation. Needs work.
4649 2005-01-09 Martin Kretzschmar <martink@gnome.org>
4651 * pdf/xpdf/GDKSplashOutputDev.cc (redraw): fix pixbuf data offset.
4653 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
4655 * cut-n-paste/recent-files/egg-recent-item.c:
4656 * cut-n-paste/recent-files/egg-recent-item.h:
4657 * cut-n-paste/recent-files/egg-recent-model.c:
4658 * cut-n-paste/recent-files/egg-recent-util.c:
4659 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
4660 * cut-n-paste/recent-files/egg-recent-view.c:
4664 2005-01-08 Martin Kretzschmar <martink@gnome.org>
4666 * pdf/splash/Splash.cc (clear, drawPixel, drawSpan, xorSpan, getPixel)
4667 (fillGlyph, fillImageMask, drawImage):
4668 pdf/splash/SplashBitmap.cc (SplashBitmap, ~SplashBitmap, writePNMFile):
4669 pdf/splash/SplashTypes.h:
4670 pdf/xpdf/SplashOutputDev (startPage, getColor, imageSrc): implement RGB8
4671 packed mode for Splash.
4673 * pdf/xpdf/GDKSplashOutputDev.cc (GDKSplashOutputDev, redraw): use
4674 RGB8 packed mode, eliminates the pixbuf data creation loop.
4676 * shell/ev-print-job.c (ev_print_job_finalize)
4677 (ev_print_job_set_property, ev_print_job_get_property)
4678 (ev_print_job_set_gnome_print_job, ev_print_job_set_document)
4679 (ev_print_job_use_print_dialog_settings, idle_print_handler)
4680 (print_closure_finalize, ev_print_job_print): implement
4681 printing (for backends with EvPsExporter)
4683 * shell/ev_print_job.h: update prototypes.
4685 * shell/ev-window.c (ev_window_print): unref print job after
4688 * shell/ev-view.c (ev_view_set_document): don't connect to "found"
4689 unless the document implements the EvDocumentFind interface.
4691 2005-01-08 Satoru SATOH <ss@gnome.gr.jp>
4693 * configure.ac: Added ja to ALL_LINGUAS.
4695 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
4697 * pdf/xpdf/pdf-document.cc:
4699 add a FIXME. We should probably not allocate
4700 a bookmark object every time
4702 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
4704 * shell/ev-application.c: (ev_application_open),
4705 (ev_application_open_bookmark):
4706 * shell/ev-application.h:
4708 Add a way to open bookmarks
4710 * backend/ev-bookmark.c: (ev_bookmark_get_uri),
4711 (ev_bookmark_set_uri), (ev_bookmark_get_property),
4712 (ev_bookmark_set_property), (ev_bookmark_class_init),
4713 (ev_bookmark_new_title), (ev_bookmark_new_link),
4714 (ev_bookmark_new_external):
4716 Support for external uris, better constructors.
4718 * backend/ev-bookmark.h:
4719 * pdf/xpdf/pdf-document.cc:
4720 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
4722 Handle external uris
4724 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
4726 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb),
4727 (ev_sidebar_bookmarks_construct), (do_one_iteration):
4729 Hook up bookmarks navigation
4731 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
4733 * backend/Makefile.am:
4734 * backend/ev-bookmark.c: (ev_bookmark_type_get_type),
4735 (ev_bookmark_get_title), (ev_bookmark_set_title),
4736 (ev_bookmark_get_bookmark_type), (ev_bookmark_set_bookmark_type),
4737 (ev_bookmark_get_page), (ev_bookmark_set_page),
4738 (ev_bookmark_get_property), (ev_bookmark_set_property),
4739 (ev_window_dispose), (ev_bookmark_init), (ev_bookmark_class_init),
4741 * backend/ev-bookmark.h:
4742 * backend/ev-document-bookmarks.c:
4743 (ev_document_bookmarks_get_bookmark):
4744 * backend/ev-document-bookmarks.h:
4745 * pdf/xpdf/pdf-document.cc:
4746 * shell/ev-sidebar-bookmarks.c: (do_one_iteration):
4748 Add a bookmark object to the backend and use it instead of get_values
4750 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
4752 * data/evince-ui.xml:
4754 Cleanup and add select all.
4756 * shell/ev-view.c: (ev_view_select_all),
4757 (ev_view_button_press_event):
4759 * shell/ev-window.c: (ev_window_cmd_edit_select_all):
4762 Clear selection on click.
4764 Fri Jan 7 01:28:58 2005 Jonathan Blandford <jrb@redhat.com>
4766 * shell/ev-sidebar-thumbnails.c
4767 (ev_sidebar_thumbnails_set_document): forgot to unref the
4770 Fri Jan 7 01:22:48 2005 Jonathan Blandford <jrb@redhat.com>
4772 * shell/ev-sidebar-thumbnails.c: fill in the thumbnails starting
4773 at the visible page, not just linearly. This makes it look fast.
4775 Thu Jan 6 18:48:11 2005 Jonathan Blandford <jrb@redhat.com>
4777 * backend/ev-document-misc.c
4778 (ev_document_misc_get_thumbnail_frame): fill in the thumbnail with
4780 * backend/ev-document-thumbnails.h: New interface to get the size
4783 2005-01-06 Jeremy Katz <katzj@redhat.com>
4785 * shell/Makefile.am (evince_SOURCES): Add ev-utils.[ch] so that
4788 Wed Jan 5 15:38:28 2005 Jonathan Blandford <jrb@redhat.com>
4790 * pdf/xpdf/pdf-document.cc (bitmap_to_pixbuf): bypass
4791 GDKSplashOutputDev and just use a normal SplashOutputDev. Speeds
4794 * shell/ev-sidebar-thumbnail.c: start of some profiling code.
4796 2005-01-05 Martin Kretzschmar <martink@gnome.org>
4798 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): match only outline
4799 fonts. Should fix font problems on systems that have the base
4800 fonts in bitmap format. Reported by James Henstridge
4801 <james@jamesh.id.au>.
4803 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
4806 * pdf/xpdf/GfxState.cc:
4808 Fix for CAN-2004-1125
4810 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
4812 * shell/ev-view.c: (ev_view_copy):
4814 * shell/ev-window.c: (ev_window_cmd_edit_copy):
4816 Implement Edit->Copy
4818 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
4820 * backend/ev-document.c: (ev_document_get_text):
4821 * backend/ev-document.h:
4822 * pdf/xpdf/pdf-document.cc:
4823 * shell/ev-view.c: (ev_view_realize), (expose_bin_window),
4824 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
4825 (ev_view_update_primary_selection), (ev_view_button_press_event),
4826 (ev_view_motion_notify_event), (ev_view_button_release_event):
4828 Beginnings of clipboard support. Incomplete but primary sort
4831 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
4833 * shell/ev-view.c: (ev_gdk_color_to_rgb), (draw_rubberband),
4834 (expose_bin_window):
4836 Nicer rubberband drawing, from GtkIconView.
4838 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
4840 * backend/ev-document.c: (ev_document_save):
4841 * backend/ev-document.h:
4842 * data/evince-ui.xml:
4843 * pdf/xpdf/pdf-document.cc:
4844 * shell/ev-window.c: (save_error_dialog), (ev_window_cmd_save_as):
4846 Implement "Save a copy..." menu item
4848 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
4850 * shell/ev-view.c: (ev_view_zoom):
4852 Queue a resize when zoom changes
4854 Wed Jan 5 02:33:06 2005 Jonathan Blandford <jrb@redhat.com>
4856 * backend/ev-document-misc.[ch]: New misc file to do simple drop
4859 * pdf/xpdf/pdf-document.cc: use the drop shadows in both types of
4862 Tue Jan 4 22:32:32 2005 Jonathan Blandford <jrb@redhat.com>
4864 * pdf/xpdf/pdf-document.cc
4865 (pdf_document_thumbnails_get_page_pixbuf): poor man's dropshadow.
4867 Tue Jan 4 21:25:05 2005 Jonathan Blandford <jrb@redhat.com>
4869 * pdf/xpdf/pdf-document.cc: Do real thumbnailing of PDF files.
4870 It's slow, but I'll speed it up next!
4872 2005-01-04 Jeff Muizelaar <jrmuizel@nit.ca>
4874 * shell/main.c (load_files):
4876 use gnome_vfs_make_uri_from_shell_arg so that relative paths work
4877 from the command line and because it seems more appropriate.
4879 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
4881 * data/evince-ui.xml:
4882 * shell/ev-window.c: (update_action_sensitivity),
4883 (ev_window_cmd_go_page_up), (ev_window_cmd_go_page_down):
4885 s/next page/page down
4886 s/previous page/page up
4888 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
4890 * data/evince-ui.xml:
4892 Change the layout to match clarkbw design.
4894 * shell/Makefile.am:
4895 * shell/ev-navigation-action.c: (build_menu), (menu_activated_cb),
4896 (set_tooltip_cb), (connect_proxy), (ev_navigation_action_init),
4897 (ev_navigation_action_finalize),
4898 (ev_navigation_action_set_property),
4899 (ev_navigation_action_get_property),
4900 (ev_navigation_action_class_init):
4901 * shell/ev-navigation-action.h:
4903 Implement clarkbw toolbar navigation controls (incomplete)
4905 * shell/ev-page-action.c: (update_label), (update_spin),
4906 (value_changed_cb), (create_tool_item), (connect_proxy),
4907 (ev_page_action_init), (ev_page_action_finalize),
4908 (ev_page_action_set_property), (ev_page_action_get_property),
4909 (ev_page_action_set_current_page),
4910 (ev_page_action_set_total_pages), (ev_page_action_class_init):
4911 * shell/ev-page-action.h:
4913 Implement a page switcher in the toolbar
4915 * shell/ev-view.c: (ev_view_scroll_view):
4916 * shell/ev-window.c: (update_total_pages), (ev_window_open),
4917 (update_current_page), (view_page_changed_cb), (goto_page_cb),
4918 (register_custom_actions), (ev_window_init):
4920 Change page on PageUp/Down.
4922 Tue Jan 4 03:22:56 2005 Jonathan Blandford <jrb@redhat.com>
4924 * pdf/xpdf/pdf-document.cc
4925 (pdf_document_thumbnails_get_thumbnail): initial stab at
4926 implementing thumbnail support for pdfs. It only does documents
4927 with precached pdfs now.
4929 Mon Jan 3 17:22:25 2005 Jonathan Blandford <jrb@redhat.com>
4931 * shell/ev-sidebar-thumbnails.c (do_one_iteration): move the
4932 thumbnail code into a time-based idle as well. Also, turn off the
4933 shadow temporarily as it's really slow.
4935 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
4937 * backend/ev-document.c: (ev_document_class_init):
4938 * pdf/xpdf/pdf-document.cc:
4939 * shell/ev-window.c: (ev_window_open):
4941 Fix document title bugs and fallback to
4942 filename when not available.
4944 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
4946 * backend/ev-document.c: (ev_document_get_type),
4947 (ev_document_class_init), (ev_document_load),
4948 (ev_document_get_title):
4949 * backend/ev-document.h:
4950 * pdf/xpdf/pdf-document.cc:
4951 * ps/ps-document.c: (ps_document_set_property),
4952 (ps_document_get_property), (ps_document_class_init),
4956 * shell/ev-window.c: (update_window_title), (ev_window_open),
4959 Initial support for document title. Not working yet.
4961 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
4963 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event):
4965 Grab focus on the view when clicking it
4967 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
4969 * shell/ev-marshal.list:
4970 * shell/ev-view.c: (ev_view_realize), (add_scroll_binding),
4971 (ev_view_scroll_view), (ev_view_class_init), (ev_view_init):
4973 Add key bindings to the view. Now if the focus would work
4976 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
4979 * backend/Makefile.am:
4982 * dvi/dvilib/Makefile.am:
4983 * pdf/xpdf/Makefile.am:
4989 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
4991 * shell/ev-view.c: (ev_view_realize):
4993 Fix mouse wheel scrolling
4995 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5001 * ps/ps-document.c: (catchPipe), (ps_document_init),
5002 (ps_document_class_init), (ps_document_cleanup),
5003 (ps_document_finalize), (send_ps), (ps_document_get_orientation),
5004 (set_up_page), (close_pipe), (is_interpreter_ready),
5005 (interpreter_failed), (output), (input), (start_interpreter),
5006 (stop_interpreter), (file_length), (file_readable),
5007 (check_filecompressed), (check_pdf), (compute_xdpi),
5008 (compute_ydpi), (compute_size), (ps_document_enable_interpreter),
5009 (ps_document_get_type), (ps_document_emit_error_msg),
5010 (document_load), (ps_document_next_page),
5011 (ps_document_get_current_page), (ps_document_get_page_count),
5012 (ps_document_goto_page), (ps_document_set_page_size),
5013 (ps_document_zoom_to_fit), (ps_document_set_zoom),
5014 (ps_document_load), (ps_document_get_n_pages),
5015 (ps_document_set_page), (ps_document_get_page),
5016 (ps_document_widget_event), (ps_document_set_target),
5017 (ps_document_set_scale), (ps_document_set_page_offset),
5018 (ps_document_get_page_size), (ps_document_render),
5019 (ps_document_document_iface_init):
5022 * shell/ev-window.c: (ev_window_open):
5024 Rename GtkGS to PSDocument
5026 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5028 * ps/gtkgs.c: (gtk_gs_class_init):
5031 Some more leftover...
5033 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5035 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_get_orientation),
5036 (output), (stop_interpreter), (gtk_gs_emit_error_msg),
5037 (gtk_gs_zoom_to_fit), (gtk_gs_set_zoom):
5040 Remove unused code and make a lot of stuff private
5042 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5044 * ps/gsdefaults.c: (gtk_gs_defaults_gconf_client),
5045 (gtk_gs_defaults_changed):
5051 Cleanup headers dependencies
5053 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5058 * ps/gsdefaults.c: (gtk_gs_defaults_get_paper_sizes):
5060 * ps/gtkgs.c: (file_length), (file_readable),
5061 (check_filecompressed), (check_pdf), (gtk_gs_load),
5062 (gtk_gs_get_postscript):
5066 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
5071 * ps/gtkgs.c: (gtk_gs_set_zoom):
5075 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
5077 * ps/gtkgs.c: (gtk_gs_set_zoom), (gtk_gs_set_zoom_mode):
5079 Ensure the page is rerendered when changing zoom
5081 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
5083 * backend/ev-document.c: (ev_document_base_init),
5084 (ev_document_changed):
5085 * backend/ev-document.h:
5087 Add a changed event that is emitted when the page content
5088 changes. This is necessary to deal with the fact that
5089 in ps backend rendering happen asycrounously.
5090 This makes the ps backend mostly work.
5092 * pdf/xpdf/pdf-document.cc:
5096 * ps/gtkgs.c: (set_up_page), (gtk_gs_widget_event),
5097 (ps_document_set_target):
5101 * shell/ev-view.c: (document_changed_callback),
5102 (ev_view_set_document), (ev_view_set_page):
5104 Redraw on the changed signal
5106 2004-12-25 Raphael Higino <raphaelh@cvs.gnome.org>
5108 * configure.ac: Added pt_BR to ALL_LINGUAS.
5110 Fri Dec 24 00:48:44 2004 Jonathan Blandford <jrb@redhat.com>
5112 * backend/ev-document-bookmarks.c:
5113 (ev_document_bookmarks_get_child): *
5114 backend/ev-document-bookmarks.h: * pdf/xpdf/Makefile.am: *
5115 pdf/xpdf/pdf-document.cc: * pdf/xpdf/pdf-document.h: *
5116 shell/Makefile.am: * shell/ev-sidebar-bookmarks.c:
5117 (ev_sidebar_bookmarks_destroy),
5118 (ev_sidebar_bookmarks_class_init),
5119 (ev_sidebar_bookmarks_construct), (stack_data_free),
5120 (do_one_iteration), (populate_bookmarks_idle),
5121 (ev_sidebar_bookmarks_clear_document),
5122 (ev_sidebar_bookmarks_set_document): *
5123 shell/ev-sidebar-bookmarks.h: * shell/ev-sidebar.c:
5124 (ev_sidebar_add_page),
5125 (ev_sidebar_set_document): * shell/ev-window.c: (ev_window_open):
5126 Initial stab at a bookmarks sidebar. It doesn't navigate yet, but
5127 it displays both the topics and the page numbers.
5129 2004-12-23 Kristian Høgsberg <krh@redhat.com>
5131 * shell/ev-window.c (ev_window_view_sidebar_cb): Hook up sidebar
5133 * shell/ev-window.c (toggle_entries): Set sidebar default value to
5136 2004-12-23 Adam Weinberger <adamw@gnome.org>
5138 * configure.ac: Added en_CA to ALL_LINGUAS.
5140 2004-12-23 Martin Kretzschmar <martink@gnome.org>
5142 * ChangeLog: replace bottom of this ChangeLog (merged history of
5143 ggv and gpdf; where all paths were wrong and most of the files are
5144 not even in this tree) with ChangeLog (from arch) of the shell
5147 2004-12-23 Havoc Pennington <hp@redhat.com>
5149 * shell/ev-window.c: hook up potentially-questionable "find
5150 results status text" feature - something involving the sidebar or
5151 scrollbar or a continuous all-pages-on-giant-roll-of-paper-view
5152 might be better in the end.
5154 * shell/ev-view.c (ev_view_get_find_status_message): new function,
5155 with corresponding signal when it should be updated
5157 * shell/eggfindbar.c (egg_find_bar_set_status_text): new function
5159 2004-12-22 Havoc Pennington <hp@redhat.com>
5161 * pdf/xpdf/pdf-document.cc (pdf_document_find_begin): make search
5162 find stuff on other pages, sort of (only returns one result on
5163 invisible pages, to show they have results; updates full results
5164 for a page when you view it). Currently repaints the current page
5165 every time a new result is found on any page, which isn't so nice.
5167 2004-12-22 Havoc Pennington <hp@redhat.com>
5169 * shell/ev-window.c (ev_window_cmd_edit_find): display an error if
5170 the document doesn't support find (better ideas?)
5171 (find_bar_search_changed_cb): handle missing document or document
5172 that doesn't support find
5174 * pdf/xpdf/pdf-document.cc: port to implement the new
5177 * backend/ev-document-find.c: create a new interface for searching
5179 * backend/ev-document.h, backend/ev-document.c: delete the find stuff
5181 2004-12-23 Martin Kretzschmar <martink@gnome.org>
5183 * pdf/xpdf/Makefile.am (libpdfdocument_la_LIBADD): add
5186 * shell/ev-window.c (ev_window_print): add GnomePrintJob to
5187 EvPrintJob constructor arguments.
5189 * backend/ev-ps-exporter.c, backend/ev-ps-exporter.h: interface
5190 for documents that can export PostScript (page by page).
5192 * backend/Makefile.am (libevbackend_la_SOURCES): add them.
5194 * pdf/xpdf/pdf-document.cc (pdf_document_ps_export_begin)
5195 (pdf_document_ps_export_do_page, pdf_document_ps_export_end)
5196 (pdf_document_ps_exporter_iface_init:
5197 Implement EvPSExporter.
5199 * pdf/xpdf/Makefile.am (libxpdf_la_SOURCES): build PSOutputDev.
5201 2004-12-22 Anders Carlsson <andersca@gnome.org>
5203 * backend/Makefile.am:
5204 * backend/ev-document-thumbnails.c:
5205 (ev_document_thumbnails_get_type),
5206 (ev_document_thumbnails_get_thumbnail):
5207 * backend/ev-document-thumbnails.h:
5208 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
5209 (pixbuf_document_thumbnails_get_thumbnail),
5210 (pixbuf_document_document_thumbnails_iface_init):
5211 * shell/Makefile.am:
5212 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_destroy),
5213 (ev_sidebar_thumbnails_class_init), (ev_sidebar_thumbnails_init),
5214 (populate_thumbnails), (ev_sidebar_thumbnails_set_document):
5215 * shell/ev-sidebar-thumbnails.h:
5216 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
5217 (ev_sidebar_set_document):
5218 * shell/ev-utils.c: (gaussian), (create_blur_filter),
5219 (create_shadow), (ev_pixbuf_add_shadow):
5221 Add thumbnail support.
5223 2004-12-22 Martin Kretzschmar <martink@gnome.org>
5225 * shell/ev-window.c (ev_window_cmd_file_print, ev_window_print)
5226 (using_postscript_printer): Set up a print dialog for "PostScript
5229 * shell/ev-print-job.h, shell/ev-print-job.c: stub classes for
5232 * shell/Makefile.am (evince_SOURCES): add ev-print-job.[ch]
5234 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
5236 * ps/gtkgs.c: (gtk_gs_init), (set_up_page),
5237 (ps_document_set_target), (ps_document_get_page_size),
5238 (ps_document_render):
5243 2004-12-22 Christian Rose <menthos@menthos.com>
5245 * configure.ac: Added "sv" to ALL_LINGUAS.
5247 Wed Dec 22 14:47:38 2004 Jonathan Blandford <jrb@redhat.com>
5249 * backend/ev-document-bookmarks.[ch]: new interface to indicate
5250 document supports bookmarks.
5252 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
5254 * ps/ggvutils.c: (ggv_file_readable):
5256 * ps/gtkgs.c: (check_filecompressed), (check_pdf),
5257 (gtk_gs_get_postscript):
5261 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
5263 * ps/gtkgs.c: (gtk_gs_init), (gtk_gs_class_init), (gtk_gs_cleanup),
5264 (gtk_gs_finalize), (gtk_gs_set_center), (set_up_page), (output),
5265 (start_interpreter), (compute_size), (gtk_gs_enable_interpreter),
5266 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_reload),
5267 (gtk_gs_emit_error_msg), (gtk_gs_disable_interpreter),
5268 (gtk_gs_load), (gtk_gs_goto_page), (gtk_gs_set_page_size),
5269 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
5270 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
5271 (gtk_gs_set_antialiasing), (ps_document_load),
5272 (ps_document_render):
5275 Another check point for the ps backend. Now I can get it to show
5278 Wed Dec 22 13:41:01 2004 Jonathan Blandford <jrb@redhat.com>
5280 * shell/ev-sidebar.c (ev_sidebar_set_document): initial sidebar
5281 document setting code.
5283 2004-12-22 Anders Carlsson <andersca@gnome.org>
5285 * shell/eggfindbar.c: (entry_activate_callback):
5286 Animate the next button when activate is pressed.
5288 2004-12-22 Anders Carlsson <andersca@gnome.org>
5290 * shell/ev-window.c: (ev_window_cmd_edit_find),
5291 (update_fullscreen_popup), (ev_window_fullscreen),
5292 (ev_window_unfullscreen), (ev_window_state_event_cb),
5293 (ev_window_focus_out_cb), (find_bar_close_cb), (ev_window_init):
5294 Fix bugs in fullscreen code.
5296 2004-12-22 Anders Carlsson <andersca@gnome.org>
5300 * pixbuf/Makefile.am:
5301 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
5302 (pixbuf_document_load), (pixbuf_document_get_n_pages),
5303 (pixbuf_document_set_page), (pixbuf_document_get_page),
5304 (pixbuf_document_set_target), (pixbuf_document_set_scale),
5305 (pixbuf_document_set_page_offset), (pixbuf_document_get_page_size),
5306 (pixbuf_document_render), (pixbuf_document_begin_find),
5307 (pixbuf_document_end_find), (pixbuf_document_finalize),
5308 (pixbuf_document_class_init),
5309 (pixbuf_document_document_iface_init), (pixbuf_document_init):
5310 * pixbuf/pixbuf-document.h:
5311 * shell/Makefile.am:
5312 * shell/ev-application.c: (ev_application_open):
5313 * shell/ev-window.c: (mime_type_supported_by_gdk_pixbuf),
5317 Tue Dec 21 21:45:43 2004 Soeren Sandmann <sandmann@redhat.com>
5320 * dvi/dvilib/Makefile.am:
5322 * configure.ac: Auto*ify dvi and dvi/dvilib
5324 * dvi/Makefile: Remove from CVS
5326 * dvi/dvilib/dl-pkfont.cc (unpack_bitmap): Fix uchar/uint
5329 * dvi/dvilib/dl-fontdefinition.{cc,hh}: New DviFontMap class
5331 * dvi/dvilib/dl-vffont.{cc,hh}: Many bugfixes to VF code.
5333 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
5336 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_finalize),
5337 (gtk_gs_value_adjustment_changed), (compute_size),
5338 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_new_from_file),
5339 (gtk_gs_center_page), (gtk_gs_load), (gtk_gs_set_page_size),
5340 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
5341 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
5342 (gtk_gs_start_scroll), (gtk_gs_get_postscript),
5343 (gtk_gs_set_adjustments), (gtk_gs_set_available_size),
5344 (ps_document_load), (ps_document_get_n_pages),
5345 (ps_document_set_page), (ps_document_get_page),
5346 (ps_document_set_target), (ps_document_set_scale),
5347 (ps_document_set_page_offset), (ps_document_get_page_size),
5348 (ps_document_render), (ps_document_begin_find),
5349 (ps_document_end_find), (ps_document_document_iface_init):
5351 * shell/Makefile.am:
5352 * shell/ev-window.c: (ev_window_open):
5354 Some work to integrate gtkgs with EvDocument
5356 2004-12-22 Anders Carlsson <andersca@gnome.org>
5358 * shell/ev-window.c: (update_fullscreen_popup),
5359 (screen_size_changed_cb), (destroy_exit_fullscreen_popup),
5360 (exit_fullscreen_button_clicked_cb),
5361 (fullscreen_popup_size_request_cb), (ev_window_fullscreen),
5362 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
5363 (ev_window_state_event_cb), (ev_window_init):
5364 Add fullscreen support from Epiphany.
5366 2004-12-22 Mark McLoughlin <mark@skynet.ie>
5368 * data/ev-stock-zoom-fit-width.png: fit-width
5369 stock icon from gpdf.
5371 * shell/ev-stock-icons.[ch]: copied from gpdf.
5373 * shell/main.c: (main): init stock icons.
5375 * shell/ev-window.c: use the fit-width icon.
5377 * data/evince-ui.xml: add zooming toolbar items.
5379 2004-12-22 Mark McLoughlin <mark@skynet.ie>
5382 (ev_view_best_fit), (ev_view_fit_width): because
5383 get_page_size() returns the scaled page size, we
5384 need to calculate the scale factor relative to
5385 the previous scale factor. Should really just
5386 add get_real_page_size().
5388 2004-12-22 Mark McLoughlin <mark@skynet.ie>
5390 * shell/ev-view.[ch]:
5391 (ev_view_zoom), (ev_view_zoom_in), (ev_view_zoom_out),
5392 (ev_view_normal_size), (ev_view_best_fit), (ev_view_fit_width):
5395 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
5396 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_normal_size),
5397 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width):
5400 * pdf/xpdf/pdf-document.cc:
5401 (pdf_document_begin_find),
5402 (pdf_document_end_find): make static.
5404 2004-12-22 Martin Kretzschmar <martink@gnome.org>
5406 * pdf/xpdf/GlobalParams.h (setupBaseFontsFc): add prototype.
5408 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): maps base font
5409 names to fontconfig patterns.
5410 (setupBaseFontsFc): setupBaseFonts reimplemented using fontconfig.
5412 * pdf/xpdf/pdf-document.cc (pdf_document_load): use
5415 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
5431 Import ggv backend. Not hooked up yet.
5433 2004-12-22 Mark McLoughlin <mark@skynet.ie>
5435 * shell/main.c: (load_files), (main): load files
5436 from the command line.
5438 2004-12-22 Mark McLoughlin <mark@skynet.ie>
5440 * configure.ac: don't require bonobo.
5442 * cut-n-paste/recent-files/*: kill bonobo recent
5445 * shell/ev-window.c:
5446 (ev_window_is_empty): upd.
5447 (unable_to_load), (ev_window_open): load backend
5448 based on the mime type.
5450 2004-12-22 Martin Kretzschmar <martink@gnome.org>
5452 * backend/.cvsignore: ignore generated marshalers source.
5454 * shell/main.c (main): this is not epiphany.
5456 2004-12-22 Havoc Pennington <hp@redhat.com>
5458 * shell/ev-view.c (ev_view_set_document): connect to "found" signal
5459 (expose_bin_window): draw find highlights
5461 * shell/ev-window.c (find_bar_search_changed_cb): implement
5463 * pdf/xpdf/pdf-document.cc (pdf_document_begin_find)
5464 (pdf_document_end_find): implement this interface
5466 * backend/ev-document.c (ev_document_found): add this to emit
5469 Tue Dec 21 23:57:37 2004 Owen Taylor <otaylor@redhat.com>
5471 * data/evince-ui.xml: Add a few more toolbar items.
5473 * shell/ev-window.c: Hook up page navigation toolbar
5476 * shell/ev-view.[ch]: add ev_view_set/get_page and
5477 a page-changed signal.
5479 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc::
5480 Add ev_document_get_page().
5482 * shell/ev-window.c: Sensitize/desensitize navigation
5485 2004-12-21 Havoc Pennington <hp@redhat.com>
5487 * backend/ev-backend-marshal.c,
5488 backend/ev-backend-marshalers.list, backend/Makefile.am: add
5489 marshaler-generator thingy. I'm sure there's a better way to do
5490 this in the modern world.
5492 * backend/ev-document.h (struct _EvDocumentIface): add begin_find,
5493 end_find methods and "found" signal.
5495 * configure.ac: find glib-genmarshal
5497 Tue Dec 21 23:20:35 2004 Jonathan Blandford <jrb@redhat.com>
5499 * shell/ev-sidebar.c: Construct an actual sidebar.
5500 * shell/ev-sidebar-bookmarks.[ch]:
5501 * shell/ev-sidebar-thumbnails.[ch]: Stub out sidebars.
5503 Tue Dec 21 23:05:51 2004 Owen Taylor <otaylor@redhat.com>
5505 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc:
5508 * shell/ev-view.c: Track the size from the document.
5510 Tue Dec 21 22:17:04 2004 Owen Taylor <otaylor@redhat.com>
5512 * pdf/xpdf/pdf-document.cc (pdf_document_load): PDFDoc
5513 constructor assumes ownership of the string passed in.
5515 * shell/ev-window.c (ev_window_open): Destroy the error
5516 dialog once we've displayed it.
5518 Tue Dec 21 21:58:56 2004 Owen Taylor <otaylor@redhat.com>
5520 * pdf/xpdf/pdf-document.cc shell/ev-view.c: Hook things up
5521 a bit, it works! (sort of)
5523 * pdf/xpdf/Makefile.am pdf/xpdf/pdf-document.cc:
5524 Move to .cc since we need to use C++ in the implementation.
5526 * shell/dummy.cc: Add a CC file to force evince
5527 to be linked as a C++ program.
5529 Tue Dec 21 21:07:55 2004 Owen Taylor <otaylor@redhat.com>
5531 * shell/ev-view.[ch]: Start of content-area widget.
5533 * shell/ev-window.c: Create a EvView, update it
5534 as we change documents.
5536 * shell/Makefile.am shell/ev-marshal.list: Add
5537 generated marshalers.
5539 Tue Dec 21 20:28:11 2004 Jonathan Blandford <jrb@redhat.com>
5541 * Makefile.am (SUBDIRS): move shell.
5543 Tue Dec 21 19:28:55 2004 Owen Taylor <otaylor@redhat.com>
5545 * pdf/{goo,fofi,splash,xpdf}/Makefile.am: Switch from
5546 .a to libtool convenience libraries.
5548 * shell/ev-window.c (ev_window_open): Hard code loading
5551 * backend/ev-document.h: Add a boolean return to load(),
5552 fix GError * to GError **.
5554 * pdf/xpdf/pdf-document.[ch] Makefile.am: Add a stub
5555 object for a PDF backend EvDocument.
5557 Tue Dec 21 18:55:06 2004 Søren Sandmann <sandmann@redhat.com>
5559 * dvi/*: New directory with the beginning of a .dvi backend.
5561 2004-12-21 Havoc Pennington <hp@redhat.com>
5563 * shell/eggfindbar.c (egg_find_bar_init): change buttons to
5564 previous/next instead of back/forward
5566 Tue Dec 21 18:26:24 2004 Owen Taylor <otaylor@redhat.com>
5568 * backend/ev-document.[ch]: Fix a couple of problems so
5571 Tue Dec 21 18:20:40 2004 Owen Taylor <otaylor@redhat.com>
5573 * viewer/* backend/* configure.ac Makefile.am: Move viewer directory
5574 to backend/ directory, rename EvViewer to EvDocument.
5576 2004-12-21 Havoc Pennington <hp@redhat.com>
5578 * shell/ev-window.c: hook up the find bar widget; now we just need
5579 a document to find things in
5581 * shell/eggfindbar.c: a find bar widget
5583 Tue Dec 21 17:20:16 2004 Jonathan Blandford <jrb@redhat.com>
5585 * shell/ev-sidebar.[ch]: initial sidebar boilerplate.
5587 Tue Dec 21 16:30:58 2004 Owen Taylor <otaylor@redhat.com>
5589 * pdf/**: Import of xpdf code from gpdf.
5591 * pdf/xpdf/xpdfconfig.h: Move the non-config.h config.h to xpdfconfig.h
5593 * pdf/splash/SplashFTFont.{cc,h} pdf/splash/SplashFTFont.h
5594 pdf/splash/SplashFTFontEngine.h pdf/splash/SplashFTFontFile.h:
5595 Fix FreeType includes.
5597 * pdf/xpdf/{Error.h GnomeVFSStream.cc ImageOutputDev.cc PDFDoc.cc\
5598 pdffonts.cc pdfimages.cc pdfinfo.cc pdftoppm.cc pdftops.cc
5599 pdftotext.cc PSOutputDev.cc PSOutputDev.h SplashOutputDev.h
5600 Stream.cc TextOutputDev.cc XPDFApp.cc xpdf.cc XPDFViewer.cc
5601 pdf/xpdf/Error.h PSOutputDev.h SplashOutputDev.h}:
5602 Include xpdfconfig.h
5604 Tue Dec 21 16:08:17 2004 Jonathan Blandford <jrb@redhat.com>
5606 * shell/ev-window.c (ev_window_dispose): dispose can be called
5609 2004-12-21 Havoc Pennington <hp@redhat.com>
5611 * shell/ev-window.c (ev_window_init): set title to Document Viewer
5614 * data/evince-ui.xml, shell/ev-window.c: add a bunch of stub menu
5615 items; really they should be synced with the strings, etc. from
5616 current gpdf, but just getting the boring typing out of the way
5618 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
5621 * shell/ev-application.c: (window_destroy_cb):
5622 * shell/ev-window.c:
5623 * shell/main.c: (main):
5625 Actually show the window...
5627 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
5630 * shell/Makefile.am:
5631 * shell/ev-application.c: (ev_application_class_init):
5632 * shell/ev-window.c: (ev_window_dispose), (ev_window_class_init):
5636 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
5638 Import to gnome cvs.
5640 * Remove copies of gpdf and ggv trees.
5641 * Rip out all the recursive configure code.
5642 * Remove bonobo machinery.
5643 * viewer/*: GInterfaces that backends should/can implement.
5645 2004-11-09 Martin Kretzschmar <m_kretzschmar@gmx.net>
5647 * shell/ev-window.c (ev_window_cmd_help_about): fix "documentors"
5650 2004-10-28 Martin Kretzschmar <m_kretzschmar@gmx.net>
5652 * shell/ev-application.c (EV_APPLICATION_GET_PRIVATE)
5653 (ev_application_finalize, ev_application_class_init)
5654 (ev_application_init): use GType instance private data for priv.
5656 * shell/ev-window.c (EV_WINDOW_GET_PRIVATE)
5657 (ev_window_finalize, ev_window_class_init)
5658 (ev_window_init): ditto.
5660 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
5662 * shell/ev-application.c (ev_application_new_window): make public
5663 (ev_application_show_initial_window): kill.
5665 * shell/ev-application.h: update prototypes.
5667 * shell/main.cc (main): inline ev_application_show_initial_window.
5669 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
5671 * shell/ev-application.c (ev_application_new_window): impl.
5672 (ev_application_show_initial_window): use it.
5673 (is_window_empty, ev_application_get_empty_window): returns an
5674 existing empty window or a new one.
5675 (ev_application_open): from ev_window_cmd_file_open.
5677 * shell/ev-application.h: update prototypes
5679 * shell/ev-window.c (ev_window_is_empty): impl.
5680 (ev_window_open): make public.
5681 (ev_window_cmd_file_open): use ev_application_open
5683 * shell/ev-window.h: update prototypes, remove unused.
5685 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
5687 * shell/ev-window.c (ev_window_destroy, ev_window_class_init):
5688 move destroy handler out of here...
5690 * shell/ev-application.c, shell/ev-application.h: ...into this new
5691 class. Also handles initial window creation.
5693 * shell/main.cc (main): use EvApplication to create initial
5696 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
5698 * Makefile.am (SUBDIRS): add cut-n-paste
5700 * cut-n-paste/Makefile.am: add
5702 * configure.ac: generate Makefiles in cut-n-paste
5704 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
5706 * shell/ev-window.c (ev_window_dispose): new, unref the ui_manager
5707 (ev_window_class_init): install ev_window_dispose.
5709 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
5711 * shell/ev-window.h, shell/ev-window.c: replace gchar with
5712 char (gchar looks stupid).
5714 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
5716 * po/de.po: updated German translation.
5718 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
5720 * configure.ac: add more pkg-config library checks for gnome-vfs,
5723 * gpdf/configure.in: temporarily disable libpaper
5724 checks. Otherwise I'd have to add the checks for the shell, too.
5726 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
5728 * shell/ev-window.c (ev_window_cmd_file_open): add ps+pdf, ps, pdf
5729 and * file filters to the file choose.
5731 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
5733 * po/de.po: Updated German translation.
5735 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
5737 * shell/ev-window.c: use "S" as mnemonic for Statusbar.
5739 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
5741 * data/evince-ui.xml: add View->Toolbar and View->Statusbar.
5743 * shell/ev-window.c (menu_item_select_cb, menu_item_select_cb)
5744 (ev_window_init): implement those menuitems.
5746 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
5748 * data/evince-ui.xml: add a toolbar (with FileOpen action)
5750 * shell/ev-window.c (ev_window_init): use the toolbar.
5752 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
5754 * shell/ev-window.c (ev_window_init): use menu translations
5756 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
5758 * configure.ac: add "de" to ALL_LINGUAS.
5760 * po/de.po: add German translation.
5762 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
5764 * Makefile.am (SUBDIRS): add po
5766 * configure.ac: check intltool, glib-gettext etc, generate
5769 * po, po/POTFILES.in, po/POTFILES.skip: new.
5771 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
5773 * shell/Makefile.am (INCLUDES): define GNOMELOCALEDIR which we
5774 already use (#ifdef ENABLE_NLS)
5776 * shell/ev-window.c (ev_window_cmd_help_about): fix two star
5777 pointer indirection thinko.
5779 * shell/main.c: include gi18n.h for bindtextdomain etc.
5781 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5783 * shell/ev-window.c (menu_item_select_cb, menu_item_deselect_cb)
5784 (connect_proxy_cb, disconnect_proxy_cb, ev_window_init): show
5785 tooltips for menu items in the statusbar.
5787 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5789 * configure.ac, data/Makefile.am, shell/Makefile.am: use
5790 pkgdatadir drop UIDIR
5792 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5794 * data/evince-ui.xml: Add File->Open menu item
5796 * shell/ev-window.c (ev_window_cmd_file_open): impl. (shows a file
5797 chooser), hook it up in the ui manager.
5799 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5801 * shell/ev-window.c: fix Help->About tooltip.
5803 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5805 * configure.ac: set CFLAGS for libevprivate.
5807 * lib/ev-stock-icons.h, lib/ev-stock-icons.c: stock icon
5808 definitions, factory etc.
5810 * lib/Makefile.am: build libevprivate.a (only stock icon code).
5812 * shell/Makefile.am: link against libevprivate.a.
5814 * shell/ev-window.c (entries): add stock icon to Help->About.
5816 * shell/main.c (main): init stock icon code.
5818 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5820 * lib/recent-files: egg recent files code
5822 * lib/Makefile.am: add.
5824 * Makefile.am: add lib subdir.
5826 * configure.ac: gen. lib/Makefile and lib/recent-files/Makefile,
5827 set CFLAGS for recent-files.
5829 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5831 * configure.ac: disable -ansi and -pedantic gcc flags. They
5832 disable POSIX stuff in stdio.h, but egg-recent uses them.
5834 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5836 * configure.ac: add --disable-deprecated flag (defaults to on in
5839 * shell/Makefile.am (INCLUDES): use it.
5841 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5843 * shell/main.c: add missing #include.
5845 * shell/ev-window.c: fix for pedantic gcc.
5846 (ev_window_cmd_help_about): split license into paragraphs for
5847 translators and pedantic compilers.
5849 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5851 * configure.ac: add more warning flags if compiling with gcc from
5852 cvs (or explicitly requested with --enable-more-warnings).
5854 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5856 * data/evince-ui.xml: add File and File->Close menu.
5858 * shell/ev-window.c (ev_window_cmd_file_close_window): impl.
5859 (ev_window_destroy): quit after destroy.
5860 (ev_window_class_init): override GtkObject::destroy.
5861 (entries): install close_window callback.
5863 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5865 * Makefile.am (SUBDIRS): add data subdir.
5867 * configure.ac (UIDIR): gen data/Makefile, define UIDIR. Require
5868 gtk+ 2.5.0 for GtkAboutDialog.
5870 * data/Makefile.am, data/evince-ui.xml: add, ui definition for the
5873 * shell/Makefile.am (INCLUDES): propagate UIDIR definition.
5875 * shell/ev-window.c (ev_window_init): create a menubar, using a ui
5877 (ev_window_cmd_help_about): about command, using GtkAboutDialog.
5879 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5881 * shell/ev-window.c, shell/ev-window.h: Created an EvWindow class.
5883 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
5885 * shell/main.c: make it a trivial gtk+ program, adjust configure.ac
5887 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
5889 * shell/*: Added shell directory boilerplate, build it.
5891 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
5893 * configure.ac, Makefile.am: Added top-level configure.ac and