1 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
3 * properties/Makefile.am:
4 * thumbnailer/Makefile.am:
7 Some more cleanups. Was really necessary
8 but I probably introduced bugs, feel free
11 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
13 * backend/Makefile.am:
15 * cut-n-paste/recent-files/Makefile.am:
16 * cut-n-paste/toolbar-editor/Makefile.am:
17 * cut-n-paste/zoom-control/Makefile.am:
21 * properties/Makefile.am:
24 * thumbnailer/Makefile.am:
27 Use gnome-common macros when possible.
29 Actually disable deprecated where possible.
31 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
34 * backend/Makefile.am:
35 * properties/Makefile.am:
37 * thumbnailer/Makefile.am:
39 This should solve the circular dep without
42 * shell/ev-window.c: (setup_view_from_metadata):
44 Never restore window size/position when the
45 window is already visible.
47 2005-07-06 Christian Persch <chpe@cvs.gnome.org>
49 * shell/ev-metadata-manager.c: (ev_metadata_manager_save):
51 Return a boolean from timeout func. Fix ported from gedit.
53 2005-07-07 Iñaki Larrañaga <dooteo@euskalgnu.org>
55 * configure.ac: Added "eu" (Basque) to ALL_LINGUAS.
57 2005-07-06 Carlos Garcia Campos <carlosgc@gnome.org>
59 * shell/ev-document-types.c: set "All Documents" as default filter in
62 2005-07-06 Martin Kretzschmar <martink@gnome.org>
64 * shell/ev-metadata-manager.c (ev_metadata_manager_set_int)
65 (ev_metadata_manager_set_double, ev_metadata_manager_set_string)
66 (ev_metadata_manager_set_boolean): fix value/val thinko.
68 2005-07-06 Marco Pesenti Gritti <mpg@redhat.com>
70 * shell/ev-window.c: (setup_view_from_metadata),
71 (window_state_event_cb), (window_configure_event_cb),
74 Remember window position and maximized state
76 2005-07-06 Christian Persch <chpe@cvs.gnome.org>
80 Fix DBUS configure checks.
82 * shell/ev-metadata-manager.c: (ev_metadata_manager_set_int),
83 (ev_metadata_manager_set_double), (ev_metadata_manager_set_string),
84 (ev_metadata_manager_set_boolean):
88 * shell/ev-window.c: (page_changed_cb), (ev_window_run_fullscreen),
89 (ev_window_stop_fullscreen), (ev_window_run_presentation),
90 (ev_window_stop_presentation), (ev_window_zoom_changed_cb),
91 (ev_window_continuous_changed_cb),
92 (ev_window_dual_mode_changed_cb), (ev_window_new):
94 Fix the build without DBUS.
96 2005-07-06 Marco Pesenti Gritti <mpg@redhat.com>
98 * shell/ev-metadata-manager.c: (parse_value), (save_values),
99 (ev_metadata_manager_set_int), (ev_metadata_manager_set_double),
100 (ev_metadata_manager_set_string),
101 (ev_metadata_manager_set_boolean):
102 * shell/ev-metadata-manager.h:
104 Add support for some more types
106 * shell/ev-view.c: (scroll_to_current_page),
107 (ev_view_get_continuous), (ev_view_set_continuous),
108 (ev_view_get_dual_page):
110 * shell/ev-window.c: (page_changed_cb),
111 (setup_document_from_metadata), (ev_window_setup_document),
112 (setup_view_from_metadata), (ev_window_open_uri),
113 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
114 (ev_window_run_presentation), (ev_window_stop_presentation),
115 (save_sizing_mode), (ev_window_sizing_mode_changed_cb),
116 (ev_window_zoom_changed_cb), (ev_window_update_continuous_action),
117 (ev_window_update_dual_page_action),
118 (ev_window_continuous_changed_cb),
119 (ev_window_dual_mode_changed_cb), (ev_window_init):
121 Remember a bunch of view/document properties. Prolly some
122 are still missing but it's getting interesting.
124 2005-07-05 Martin Kretzschmar <martink@gnome.org>
126 * configure.ac: check if dbus-binding-tool is installed. Not the
127 case on current Ubuntu breezy, it seems.
129 2005-07-05 Luca Ferretti <elle.uca@libero.it>
131 * data/evince.desktop.in.in:
133 Allow open uri lists and add TryExec field.
135 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
139 Enable dbus when available, do not require a configure
142 2005-07-05 Christian Persch <chpe@cvs.gnome.org>
146 Use AM_CONDITIONAL unconditionally, fixes the build with DBUS
149 2005-07-05 Carlos Garcia Campos <carlosgc@gnome.org>
150 Marco Pesenti Gritti <mpg@redhat.com>
152 * shell/Makefile.am: Add --prefix for dbus-binding-tool script
154 * shell/ev-application.[ch], shell/ev-window.c: change dbus RPC
155 functions to the format required by dbus
157 * shell/main.c: use G_TYPE instead of DBUS_TYPE to fix compilation
158 errors. Use the RPC parameters in the expected way
160 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
163 * properties/Makefile.am:
164 * properties/ev-properties-main.c: (ev_properties_get_pages):
166 Support all mime types
169 * thumbnailer/Makefile.am:
170 * thumbnailer/evince-thumbnailer.c: (get_document_from_uri),
171 (evince_thumbnail_pngenc_get):
173 Use the document factory
175 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
177 * backend/Makefile.am:
178 * backend/ev-document-factory.c:
179 (mime_type_supported_by_gdk_pixbuf),
180 (ev_document_type_get_from_mime),
181 (ev_document_factory_get_document),
182 (ev_document_factory_get_backend),
183 (ev_document_factory_get_mime_types),
184 (ev_document_factory_get_all_mime_types):
185 * backend/ev-document-factory.h:
187 * shell/ev-document-types.c: (get_document_from_uri),
188 (ev_document_types_get_document),
189 (file_filter_add_mime_list_and_free),
190 (ev_document_types_add_filters):
191 * shell/ev-document-types.h:
192 * shell/ev-job-xfer.c: (ev_job_xfer_run):
193 * shell/ev-properties-dialog.c:
194 (ev_properties_dialog_set_document):
195 * shell/ev-window.c: (ev_window_cmd_file_open),
196 (ev_window_cmd_save_as):
197 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
199 Rework document types managing to avoid code duplication
200 and actually abstract from backend implementations.
201 Also provide a minimal factory api that can be used by
202 thumbnailer/properties.
204 2005-07-05 Christian Persch <chpe@cvs.gnome.org>
206 * properties/ev-properties-view.c: (ev_properties_view_set_info):
208 * shell/ev-properties-dialog.c: (ev_properties_dialog_init):
211 2005-07-04 Matthew S. Wilson <msw@rpath.com>
213 * shell/ev-properties-dialog.c
214 (ev_properties_dialog_set_document): only call
215 ev_properties_fonts_set_document() if the document implements the
218 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
221 * properties/Makefile.am:
222 * properties/ev-properties-view.c:
223 (ev_properties_view_register_type):
224 * properties/ev-properties-view.h:
225 * properties/ev-properties-main.h:
227 Implement nautilus plugin for properties.
228 Works only for pdf atm, I need to rework the
229 document types stuff to get this to work
232 2005-07-04 Martin Kretzschmar <martink@gnome.org>
234 * shell/ev-properties-fonts.c (enum): kill redundant columns enum
235 (ev_properties_fonts_set_document): use
236 EV_DOCUMENT_FONTS_COLUMN_NUM_COLUMNS.
238 2005-07-04 Matthew S. Wilson <msw@rpath.com>
240 * tiff/tiff2ps.c: remove TRUE and FALSE definitions, glib provides
242 (PlaceImage, tiff2ps_process_page): use
243 g_ascii_dtostr to convert floats to strings in a locale-safe way.
246 2005-07-04 Martin Kretzschmar <martink@gnome.org>
248 * shell/main.c: include libgnomeui/gnome-authentication-manager.h
249 (main): to call gnome_authentication_manager_init. Should fix
252 * configure.ac: that requires libgnomeui 2.6.0.
254 2005-07-04 Matthew S. Wilson <msw@rpath.com>
256 * tiff/tiff-document.c (tiff_document_ps_export_begin)
257 (tiff_document_ps_export_do_page, tiff_document_ps_export_end):
258 use the new tiff2ps interfaces
260 * tiff/tiff2ps.h (tiff2ps_context_new, tiff2ps_process_page)
261 (tiff2ps_context_finalize): implement new interfaces for tiff2ps
263 * tiff/tiff2ps.c: refactor tiff2ps code to use a context
264 structure instead of global variables. Remove use of static
265 variables in functions.
267 2005-07-04 Carlos Garcia Campos <carlosgc@gnome.org>
269 * shell/ev-page-action.c: unref the completion after setting it to the
272 2005-07-04 Matthew S. Wilson <msw@rpath.com>
274 * tiff/tiff2ps.c (generateEPSF): disable generating encapsulated
277 2005-07-04 Matthew S. Wilson <msw@rpath.com>
279 * shell/ev-window.c (update_action_sensitivity): disable
280 File->Print if the document does not implement the ps exporter
283 2005-07-04 Marco Pesenti Gritti <mpg@redhat.com>
287 * data/evince-properties.glade:
288 * properties/.cvsignore:
289 * properties/Makefile.am:
290 * properties/ev-properties-view.c: (ev_properties_view_dispose),
291 (ev_properties_view_class_init), (ev_properties_view_format_date),
292 (make_valid_utf8), (set_property), (ev_properties_view_set_info),
293 (ev_properties_view_init), (ev_properties_view_new):
294 * properties/ev-properties-view.h:
296 * shell/ev-properties-dialog.c: (ev_properties_dialog_class_init),
297 (ev_properties_dialog_init), (ev_properties_dialog_set_document),
298 (ev_properties_dialog_new):
299 * shell/ev-properties-dialog.h:
300 * shell/ev-properties-fonts.c: (ev_properties_fonts_dispose),
301 (ev_properties_fonts_class_init), (ev_properties_fonts_init),
302 (update_progress_label), (job_fonts_finished_cb),
303 (ev_properties_fonts_set_document), (ev_properties_fonts_new):
304 * shell/ev-properties-fonts.h:
305 * shell/ev-properties.c:
306 * shell/ev-properties.h:
307 * shell/ev-window.c: (ev_window_setup_document),
308 (ev_window_cmd_file_properties):
310 Split the properties pages in two different objects, depend
311 only on the backend where possible, use widgets instead
312 of gobject for the glade part, reimplement the dialog
314 I need this to implement nautilus properties page.
316 2005-07-03 Matthew S. Wilson <msw@rpath.com>
318 * tiff/tiff-document.c (tiff_document_ps_export_begin)
319 (tiff_document_ps_export_do_page, tiff_document_ps_export_end)
320 (tiff_document_document_ps_exporter_iface_init): implement the ps
321 exporter interface for tiff documents
323 * tiff/tiff2ps.c: added a modified version of tiff2ps.c from
324 libtiff to implement TIFF postscript export
326 * tiff/tiff2ps.h: added a header file for external tiff2ps
329 * tiff/Makefile.am (libtiffdocument_la_SOURCES): add tiff2ps.c and
332 2005-07-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
334 * shell/ev-view.c: (scroll_to_current_page),
335 (ev_view_set_fullscreen), (ev_view_set_presentation):
337 Scroll to current page when exit from presentation
339 2005-07-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
341 * shell/ev-window.c: (update_document_mode),
342 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
343 (ev_window_cmd_view_fullscreen), (ev_window_stop_presentation),
344 (ev_window_cmd_view_presentation), (ev_window_cmd_escape):
346 Exit from fullscreen mode when switch to presentation. Fix for
349 2005-07-02 Matthew S. Wilson <msw@rpath.com>
351 * shell/ev-pixbuf-cache.c (ev_pixbuf_cache_get_selection_pixbuf):
352 return NULL if the document does not implement the selection
355 2005-07-02 Matthew S. Wilson <msw@rpath.com>
357 * tiff/tiff-document.c (tiff_document_get_page_size): scale the
358 reported height by using the resolution aspect ratio
359 (tiff_document_render_pixbuf): scale the pixbuf using the
360 resolution aspect ratio
362 2005-07-01 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
366 Require libgnomeprint >= 2.5.1. Thanks to Colin Slater
367 <kiltedaco@gmail.com>
369 * djvu/djvu-document.c: (djvu_document_get_orientation),
370 (djvu_document_set_orientation), (djvu_document_get_page_size),
371 (rotate_pixbuf), (djvu_document_render_pixbuf),
372 (djvu_document_document_iface_init):
373 * dvi/dvi-document.c: (dvi_document_get_orientation),
374 (dvi_document_set_orientation), (dvi_document_get_page_size),
375 (rotate_pixbuf), (dvi_document_render_pixbuf),
376 (dvi_document_document_iface_init):
378 Dvi and djvu backends are ported to new API
380 Fri Jul 1 00:10:15 2005 Jonathan Blandford <jrb@redhat.com>
382 * backend/ev-selection.c: (ev_selection_get_selection_region),
383 (ev_selection_get_selection_map):
384 * backend/ev-selection.h:
386 * shell/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
388 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info),
389 (job_finished_cb), (copy_job_to_job_info), (add_job_if_needed),
390 (ev_pixbuf_cache_get_text_mapping):
391 * shell/ev-pixbuf-cache.h:
392 * shell/ev-view.c: (location_in_text),
393 (ev_view_motion_notify_event), (ev_view_set_cursor): Add I-Beam
394 support to EvView. Now we can see where we can select! Sweet!
396 2005-06-30 Kristian Høgsberg <krh@redhat.com>
398 * shell/ev-view.c (ev_view_button_press_event): Fix
399 event->y + view->scroll_x typo.
401 2005-06-30 Kristian Høgsberg <krh@redhat.com>
403 * pdf/ev-poppler.cc: Adjust to poppler API changes; use a
404 sub-GdkPixbuf instead of passing dest_x and dest_y.
406 * shell/ev-view.c: (view_point_to_doc_point),
407 (view_rect_to_doc_rect), (ev_view_button_press_event),
408 (ev_view_motion_notify_event), (compute_new_selection_rect),
409 (gdk_rectangle_point_in), (compute_new_selection_text),
410 (compute_selections): Update selection code to keep the selection
411 around as two points and not as a normalized rectangle, and fix
412 page level selection in two-column mode.
414 2005-06-30 Alex Duggan <aldug@astrolinux.com>
416 * shell/ev-window.c: (window_configure_event_cb):
420 2005-06-30 Marco Pesenti Gritti <mpg@redhat.com>
426 2005-06-30 Marco Pesenti Gritti <mpg@redhat.com>
429 * shell/ev-metadata-manager.c: (item_free),
430 (ev_metadata_manager_init), (ev_metadata_manager_shutdown),
431 (parse_value), (parseItem), (load_values),
432 (ev_metadata_manager_get), (value_free), (ev_metadata_manager_set),
433 (save_values), (save_item), (get_oldest), (resize_items),
434 (ev_metadata_manager_save), (ev_metadata_manager_set_int):
435 * shell/ev-metadata-manager.h:
437 Metadata manager from gedit but modified to use GValue, so that
438 we dont need to keep converting from strings.
442 ENABLE_METADATA conditional, on when dbus is on
444 * shell/ev-application.c: (ev_application_open_uri):
446 Show the window after load so that we can initialize
447 window size before it's showed.
449 * shell/ev-window.c: (ev_window_setup_from_metadata),
450 (ev_window_open_uri), (window_configure_event_cb),
453 Save and load metadata information about window size.
454 Not yet keeping states in account.
456 * shell/main.c: (main):
458 Shutdown metadata manager.
460 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
462 * shell/ev-application-service.xml:
465 * shell/ev-application.c:
466 * shell/ev-application.h:
471 Add an optional dbus interface (--enable-dbus).
472 Rework application code, mainly to be easier to
474 Do not open multiple windows with the same document,
477 Thu Jun 30 01:50:14 2005 Jonathan Blandford <jrb@redhat.com>
479 * shell/ev-pixbuf-cache.c (clear_selection_if_needed): unref the
480 pixbuf iff it exists.
482 Thu Jun 30 01:43:00 2005 Jonathan Blandford <jrb@redhat.com>
485 * backend/ev-render-context.[ch]:
486 * backend/ev-selection.[ch]:
488 Massive changes. We now support text selection of pdfs, and not
489 just rectangular selection. This is pretty broken still, but I
490 want to get something into CVS.
492 2005-06-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
496 Fix for Bug 309080: crash on window close.
498 * shell/ev-page-action.c: (page_changed_cb):
500 Fix for Bug 309168: Fix build with gcc 2.95. Thanks to
501 jensgr@gmx.net (Jens Granseuer).
503 2005-06-25 Marcel Telka <marcel@telka.sk>
505 * configure.in (ALL_LINGUAS): Added sk.
507 2005-06-24 Carlos Garcia Campos <carlosgc@gnome.org>
509 * shell/ev-window.c: Make rotate menu entries unsensitive if there is
512 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
519 * cut-n-paste/recent-files/Makefile.am:
523 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
525 * pixbuf/pixbuf-document.c: (pixbuf_document_get_orientation),
526 (pixbuf_document_set_orientation), (rotate_pixbuf),
527 (pixbuf_document_get_page_size), (pixbuf_document_render_pixbuf),
528 (pixbuf_document_document_iface_init), (pixbuf_document_init):
530 Implement rotation and cleanup the code a bit.
532 * tiff/tiff-document.c: (tiff_document_get_page_size),
533 (tiff_document_get_orientation), (tiff_document_set_orientation),
534 (rotate_pixbuf), (tiff_document_render_pixbuf),
535 (tiff_document_document_iface_init), (tiff_document_init):
537 Implement rotation. Was the quicker solution for the release
538 but we really need to share this code in the shell.
540 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
544 Enable rotation, require poppler cvs. Fix a leak.
546 2005-06-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
548 * shell/ev-window.c: (update_action_sensitivity):
550 Make properties unsensitive if document backend doesn't provide
553 2005-06-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
555 * dvi/mdvi-lib/bitmap.c: (bitmap_alloc), (bitmap_alloc_raw),
556 (bitmap_flip_horizontally), (bitmap_flip_vertically),
557 (bitmap_flip_diagonally), (bitmap_rotate_clockwise),
558 (bitmap_rotate_counter_clockwise), (bitmap_flip_rotate_clockwise),
559 (bitmap_flip_rotate_counter_clockwise):
560 * dvi/mdvi-lib/color.c: (mdvi_push_color), (get_color_table):
561 * dvi/mdvi-lib/common.c: (read_string), (buff_free), (buff_add),
563 * dvi/mdvi-lib/common.h:
564 * dvi/mdvi-lib/dvimisc.c: (mdvi_push_color):
565 * dvi/mdvi-lib/dviread.c: (get_bytes), (dreset), (define_font),
566 (opendvi), (mdvi_reload), (mdvi_init_context),
567 (mdvi_destroy_context), (mdvi_dopage), (special):
568 * dvi/mdvi-lib/font.c: (font_drop_one), (font_free_unused):
569 * dvi/mdvi-lib/fontmap.c: (read_encoding), (destroy_encoding),
570 (file_hash_free), (register_encoding), (parse_spec),
571 (mdvi_load_fontmap), (free_ent), (mdvi_init_fontmaps),
572 (mdvi_add_fontmap_file), (mdvi_ps_read_fontmap),
573 (mdvi_ps_flush_fonts), (mdvi_ps_find_font), (mdvi_ps_get_metrics):
574 * dvi/mdvi-lib/fontsrch.c: (mdvi_list_font_class),
575 (mdvi_register_font_type), (mdvi_unregister_font_type),
576 (lookup_font), (mdvi_add_font), (mdvi_font_retry):
577 * dvi/mdvi-lib/gf.c: (gf_read_bitmap), (gf_load_font):
578 * dvi/mdvi-lib/hash.c: (mdvi_hash_remove), (mdvi_hash_remove_ptr),
579 (mdvi_hash_destroy_key), (mdvi_hash_reset):
580 * dvi/mdvi-lib/pagesel.c: (mdvi_parse_range),
581 (mdvi_parse_page_spec), (mdvi_free_page_spec), (main):
582 * dvi/mdvi-lib/paper.c: (mdvi_free_paper_specs):
583 * dvi/mdvi-lib/pk.c: (pk_lookup), (pk_lookupn), (pk_load_font):
584 * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
585 * dvi/mdvi-lib/special.c: (mdvi_register_special),
586 (mdvi_unregister_special), (mdvi_flush_specials):
587 * dvi/mdvi-lib/t1.c: (t1_lookup_font), (t1_really_load_font),
589 * dvi/mdvi-lib/tfm.c: (get_tfm_chars):
590 * dvi/mdvi-lib/tfmfile.c: (afm_load_file), (tfm_load_file),
591 (ofm1_load_file), (ofm_load_file), (get_font_metrics),
592 (free_font_metrics), (flush_font_metrics):
593 * dvi/mdvi-lib/tt.c: (tt_really_load_font), (tt_get_bitmap),
595 * dvi/mdvi-lib/util.c: (mdvi_malloc), (mdvi_realloc),
596 (mdvi_calloc), (mdvi_free), (mdvi_strdup), (mdvi_strncpy),
597 (mdvi_strndup), (mdvi_memdup), (xstradd), (dstring_append),
598 (dstring_insert), (dstring_new), (dstring_reset):
599 * dvi/mdvi-lib/vf.c: (vf_load_font), (vf_free_macros):
601 Rename xmalloc and xfree to mdvi_malloc and mdvi_free to
602 avoid conflict with libtool on FC4
604 * shell/ev-window.c: (ev_window_cmd_help_about):
606 Update copyright year. Fix for bug 308828.
608 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
610 * shell/ev-view.c: (add_scroll_binding_keypad),
611 (ev_view_binding_activated), (ev_view_class_init),
612 (on_adjustment_value_changed):
614 Bug 170874: Arrow keys switch pages in presentation mode
616 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
618 * shell/ev-window.c: (ev_window_sidebar_visibility_changed_cb):
620 Fix for Bug 308265: Sidebar dissappears coming out of
623 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
625 * shell/ev-application.c: (ev_application_open):
626 * shell/ev-document-types.c: (ev_document_types_add_filters),
627 (ev_document_types_add_filters_for_type):
628 * shell/ev-document-types.h:
629 * shell/ev-window.c: (ev_window_cmd_save_as):
631 Suggest basename as template when saving, provide filters
632 for save dialog. It's bug 308402
634 2005-06-20 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
637 * shell/ev-sidebar-links.c: (job_finished_callback):
638 * shell/ev-view.c: (update_find_status_message):
642 2005-06-19 Christian Persch <chpe@cvs.gnome.org>
644 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
645 (egg_recent_view_uimanager_set_list):
647 Fix buglet in !show_numbers case.
649 2005-06-19 Christian Persch <chpe@cvs.gnome.org>
651 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
652 (connect_proxy_cb), (egg_recent_view_uimanager_set_list):
654 Use pango ellipsisation.
658 Fix refcount leak, from nsh.
660 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
662 * cut-n-paste/recent-files/Makefile.am:
663 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
664 * cut-n-paste/recent-files/egg-recent-view-gtk.h:
666 Removed EggRecentViewGtk
668 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
669 * cut-n-paste/recent-files/egg-recent-view-uimanager.h:
670 * shell/ev-window.c: (ev_window_cmd_recent_file_activate),
671 (ev_window_setup_recent):
673 Use ViewUIManager instead of ViewGtk. Less leaks, more compatibility
676 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
678 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
679 (egg_recent_view_gtk_finalize):
683 * cut-n-paste/toolbar-editor/Makefile.am:
685 Fix location of cursor icon.
688 * shell/ev-page-action.c: (build_new_tree_cb), (match_selected_cb),
689 (display_completion_text), (match_completion):
690 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
691 (selection_changed_callback), (create_loading_model),
692 (print_section_cb), (links_page_num_func),
693 (update_page_callback_foreach):
694 * shell/ev-window.c: (ev_window_dispose):
696 Small memory fixes. Links model now store objects instead
697 of pointers to improve memory management.
699 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
701 * shell/ev-window.c: (zoom_control_changed_cb):
703 Fix update of zoom control (bug 308268).
705 Sat Jun 18 22:46:42 2005 Jonathan Blandford <jrb@redhat.com>
707 * shell/ev-properties.c (set_property): escape the text correctly.
708 Handles non-UTF-8 properties and escaped properties. Also, sets
709 the text to "<i>None</i>" if the property isn't set.
711 * data/evince-properties.glade: Change the label to be ellipsized,
712 and give it a minimum size.
714 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
716 * lib/ev-file-helpers.c: (ev_file_helpers_shutdown):
717 * shell/ev-sidebar-links.c: (create_loading_model):
718 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose):
719 * shell/ev-view.c: (ev_view_set_document):
720 * shell/ev-window.c: (ev_window_dispose):
722 Various small fixes, mostly memory leaks. Thanks to valgrind.
724 2005-06-19 Martin Kretzschmar <martink@gnome.org>
726 * ps/ps-document.c: remove the locale.h include again ;-). And
727 kill the (bogus) setlocale/savelocale business.
729 2005-06-19 Jaap A. Haitsma <jaap@haitsma.org>
733 Include locale.h to fix build
735 * shell/ev-sidebar.c:
737 Remove unnecessary includes
739 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
741 * dvi/dvi-document.c: (dvi_document_load):
742 * dvi/mdvi-lib/dviread.c: (mdvi_init_context):
745 Check for incorrect dvi files. Fix parsing dvi on AMD64
746 platform. Thanks to tester@tester.ca (Olivier Crete).
748 2005-06-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
750 * shell/ev-page-action.c: (match_selected_cb),
751 (display_completion_text), (match_completion), (update_model):
752 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
754 * shell/ev-sidebar.c: (ev_sidebar_destroy),
755 (ev_sidebar_menu_item_activate_cb), (ev_sidebar_add_page),
756 (ev_sidebar_set_document):
757 * shell/ev-window.c: (ev_window_xfer_job_cb),
758 (sidebar_widget_model_set), (sidebar_page_main_widget_update_cb):
760 Fixed lot's of memory leaks, for example, memory leak on reload,
761 described in bug 307793.
763 2005-06-18 Marco Pesenti Gritti <mpg@redhat.com>
766 * shell/ev-sidebar-thumbnails.c: (clear_range), (add_range),
767 (update_visible_range), (adjustment_changed_cb),
768 (ev_sidebar_thumbnails_fill_model),
769 (ev_sidebar_thumbnails_refresh),
770 (ev_sidebar_tree_selection_changed),
771 (ev_sidebar_icon_selection_changed),
772 (ev_sidebar_thumbnails_use_icon_view),
773 (ev_sidebar_thumbnails_set_document):
774 * shell/ev-sidebar-thumbnails.h:
775 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
776 (ev_window_cmd_edit_rotate_right), (ev_window_init):
778 Refresh thumbnails when changing orientation. Not fully
779 working yet becuase of a sidebar bug.
781 Set page orientation to poppler page everywhere. This sucks
782 really need to fix poppler.
784 2005-06-18 Marco Pesenti Gritti <mpg@redhat.com>
786 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
787 (egg_recent_view_gtk_new_menu_item),
788 (egg_recent_view_gtk_set_property),
789 (egg_recent_view_gtk_get_property),
790 (egg_recent_view_gtk_class_init), (egg_recent_view_gtk_init),
791 (egg_recent_view_gtk_set_tooltip_func),
792 (egg_recent_view_gtk_set_label_width),
793 (egg_recent_view_gtk_get_label_width):
794 * cut-n-paste/recent-files/egg-recent-view-gtk.h:
796 Sync with libegg (ellipsize labels)
798 2005-06-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
800 * data/evince-ui.xml:
801 * shell/ev-window.c: (ev_window_cmd_go_forward),
802 (ev_window_cmd_go_backward):
804 Shift + PageUp moves 10 Pages. Fix for 306125
806 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
810 Add a flag to check if orientation has been overriden
812 2005-06-17 Martin Kretzschmar <martink@gnome.org>
814 * ps/ps.c (psscan, psfree): read "Creator:" comment, free creator
817 * ps/ps.h: add creator field to document.
819 * ps/ps-document.c (ps_document_get_info): set format to PostScript,
822 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
824 * data/evince-properties.glade:
825 * shell/ev-properties.c: (ev_properties_set_document):
829 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
831 * shell/ev-properties.c: (ev_properties_set_document):
833 Remove unnecessary translations
835 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
837 * cut-n-paste/toolbar-editor/Makefile.am:
841 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
844 * cut-n-paste/recent-files/egg-recent-model.c:
845 (egg_recent_model_write_raw), (egg_recent_model_lock_file),
846 (egg_recent_model_unlock_file):
847 * cut-n-paste/recent-files/egg-recent-util.c:
848 (egg_recent_util_get_unique_id):
849 * cut-n-paste/recent-files/update-from-egg.sh:
850 * cut-n-paste/toolbar-editor/Makefile.am:
851 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
852 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
853 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
854 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
855 (egg_toolbars_model_get_type):
856 * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
858 Better makefile for toolbar editor and update everything
861 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
863 * shell/ev-window.c: (update_document_mode):
865 Prefer presentation mode when the document
868 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
870 * data/evince-ui.xml:
873 Add control-equal for zooming
875 2005-06-17 Theppitak Karoonboonyanan <thep@linux.thai.net>
877 * configure.ac: Added 'th' (Thai) to ALL_LINGUAS.
879 2005-06-16 Marco Pesenti Gritti <mpg@redhat.com>
881 * backend/ev-document.c: (ev_document_get_orientation):
882 * backend/ev-document.h:
884 * ps/ps-document.c: (ps_document_get_orientation),
885 (ps_document_set_orientation), (ps_document_document_iface_init):
887 Add a get_orientation api. Improve set_orientation.
889 * data/evince-ui.xml:
890 * shell/ev-view.c: (ev_view_set_orientation),
891 (ev_view_rotate_right), (ev_view_rotate_left):
893 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
894 (ev_window_cmd_edit_rotate_right):
896 Better ui for changing document orientation
898 2005-06-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
900 * shell/ev-sidebar-links.c: (ev_sidebar_links_get_property),
901 (ev_sidebar_links_class_init), (ev_sidebar_links_get_label):
902 * shell/ev-sidebar-links.h:
903 * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
904 (ev_sidebar_page_iface_init):
905 * shell/ev-sidebar-page.h:
906 * shell/ev-sidebar-thumbnails.c:
907 (ev_sidebar_thumbnails_get_property),
908 (ev_sidebar_thumbnails_class_init),
909 (ev_sidebar_thumbnails_set_document):
910 * shell/ev-sidebar-thumbnails.h:
911 * shell/ev-view.c: (ev_view_motion_notify_event):
912 * shell/ev-window.c: (update_chrome_visibility),
913 (ev_window_cmd_focus_page_selector),
914 (ev_window_update_fullscreen_popup), (view_actions_focus_in_cb),
915 (sidebar_page_main_widget_update_cb), (ev_window_init):
917 Autoraise toolbar on GoToPage binding and fix bindings in
918 EvSidebarThumbnails page.
920 2005-06-15 Christian Persch <chpe@cvs.gnome.org>
922 * shell/ev-properties.c: (update_progress_label):
924 Hide the progress label when finished; bug #307697.
926 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
930 Enable is_open for links, you will need poppler cvs
932 * shell/ev-properties.c: (job_fonts_finished_cb):
934 Get a lock on the document when filling the tree view
936 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
938 * backend/ev-document-links.h:
940 * shell/ev-sidebar-links.c: (create_loading_model),
941 (expand_open_links), (job_finished_callback):
943 Expand links when specified by the document.
944 Depend on a poppler api (defined out for now)
946 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
948 * shell/ev-properties.c: (ev_properties_dispose),
949 (ev_properties_class_init), (dialog_destroy_cb),
950 (ev_properties_init), (job_fonts_finished_cb), (setup_fonts_view),
951 (ev_properties_set_document), (ev_properties_new),
952 (ev_properties_show):
953 * shell/ev-properties.h:
955 Make it an object, cleanup the code, api to show it as transient
956 and to set the document.
958 * shell/ev-window.c: (ev_window_setup_document),
959 (ev_window_cmd_file_properties):
961 Adapt to EvProperties changes, do not show multiple
962 times, update it when document changes.
964 2005-06-14 Marco Pesenti Gritti <mpg@redhat.com>
967 * ps/ps-document.c: (ps_document_init), (get_page_orientation),
968 (ps_document_set_orientation), (ps_document_document_iface_init):
971 Implement orientation here too
973 * shell/ev-properties.c: (ev_properties_new):
974 * data/evince-properties.glade:
976 Hide the fonts page for backends that doesnt
979 2005-06-14 Marco Pesenti Gritti <mpg@redhat.com>
981 * backend/ev-document.c: (ev_document_set_orientation):
982 * backend/ev-document.h:
985 Add orientation api. Currently poppler api is not optimal,
986 we need to set orientation every time we _get a page.
987 I will try to fix that at some point.
989 * data/evince-ui.xml:
990 * shell/ev-window.c: (ev_window_cmd_edit_landscape),
991 (ev_window_cmd_edit_portrait), (ev_window_cmd_edit_flip):
993 Add orientation menu items
995 * shell/ev-page-cache.c: (ev_page_cache_clear):
996 * shell/ev-page-cache.h:
998 Add api to clear the cache
1000 * shell/ev-view.c: (setup_caches), (clear_caches),
1001 (ev_view_set_document), (ev_view_zoom_out),
1002 (ev_view_set_orientation):
1005 Implement orientation changing
1007 2005-06-13 Marco Pesenti Gritti <mpg@redhat.com>
1009 * backend/ev-document-fonts.c: (ev_document_fonts_get_progress),
1010 (ev_document_fonts_scan), (ev_document_fonts_fill_model):
1011 * backend/ev-document-fonts.h:
1013 Separate scan and fill so that we can incrementally fill from
1014 the main thread. Add a progress api.
1016 * data/evince-properties.glade:
1017 * pdf/ev-poppler.cc:
1018 * shell/ev-jobs.c: (ev_job_fonts_new), (ev_job_fonts_run):
1020 * shell/ev-properties.c: (update_progress_label),
1021 (job_fonts_finished_cb), (setup_fonts_view):
1023 Incrementally feel the list and show the progress
1024 percentage in a label like acrobat does.
1026 You are going to need poppler cvs
1028 2005-06-11 Marco Pesenti Gritti <mpg@redhat.com>
1030 * backend/ev-document-fonts.c: (ev_document_fonts_fill_model):
1031 * backend/ev-document-fonts.h:
1032 * pdf/ev-poppler.cc:
1034 Make fonts model fill incrementally.
1036 * shell/ev-job-queue.c: (handle_job), (search_for_jobs_unlocked),
1037 (no_jobs_available_unlocked), (ev_job_queue_init), (find_queue),
1038 (ev_job_queue_remove_job):
1039 * shell/ev-jobs.c: (ev_job_fonts_init), (ev_job_fonts_class_init),
1040 (ev_job_fonts_new), (ev_job_fonts_run):
1043 New job for fonts scanning
1045 * shell/ev-properties.c: (job_fonts_finished_cb),
1046 (fill_fonts_treeview), (setup_fonts_view), (ev_properties_new):
1047 * shell/ev-properties.h:
1048 * shell/ev-window.c: (ev_window_cmd_file_properties):
1050 Incrementally feel the treeview using the new job. Show Loading...
1051 message until scanning is completed.
1053 Hopefully I didnt break the build without the poppler patch.
1055 2005-06-10 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1057 * shell/ev-application.c: (ev_application_open):
1058 * shell/ev-document-types.c: (ev_document_type_from_from_mime),
1059 (ev_document_type_get_type), (ev_document_type_lookup):
1060 * shell/ev-document-types.h:
1061 * shell/ev-job-xfer.c: (ev_job_xfer_dispose), (ev_job_xfer_run):
1062 * shell/ev-job-xfer.h:
1063 * shell/ev-window.c: (ev_window_clear_local_uri),
1064 (ev_window_load_job_cb), (ev_window_xfer_job_cb),
1065 (ev_window_open_uri), (ev_window_add_recent), (ev_window_dispose):
1066 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
1068 Transfer remote documents to tmp directory to display them later.
1070 2005-06-10 Marco Pesenti Gritti <mpg@redhat.com>
1072 * backend/ev-document-info.h:
1073 * shell/ev-properties.c: (ev_properties_new):
1075 s/GTime*/GTime. Not sure why we was using a pointer
1078 Wed Jun 8 01:04:22 2005 Jonathan Blandford <jrb@redhat.com>
1080 * shell/ev-sidebar-thumbnails.c: Use a GtkIconView in certain
1081 situations. That situation is that you're using GTK+-HEAD with
1082 the patch at #306726 is applied, and you have a document with <
1083 1500 pages in it. It's not quite as uniformly nice as the
1084 TreeView, but should be better in the long run.
1086 I'm pretty sure I guarded against breaking compilation with
1087 HAVE_GTK_ICON_VIEW_GET_VISIBLE_RANGE gaurds, though it's possible
1090 * shell/ev-window.c (ev_window_init): We don't have our tree/list
1091 widget yet, so I commented that code out
1092 enable_view_actions_for_widget() for now. Need to figure this
1095 * shell/ev-page-action.c (match_selected_cb): emit the right
1096 signals. Our cool C-l completion now works.
1098 2005-06-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1100 * backend/Makefile.am:
1101 * backend/ev-document-fonts.c:
1102 * backend/ev-document-links.c:
1103 * backend/ev-document.c: (ev_document_load):
1104 * backend/ev-document.h:
1105 * backend/ev-job-queue.c:
1106 * backend/ev-job-queue.h:
1107 * backend/ev-jobs.c:
1108 * backend/ev-jobs.h:
1109 * backend/ev-page-cache.c:
1110 * backend/ev-page-cache.h:
1112 EvPageCache and EvJobs are moved to shell.
1114 * lib/ev-file-helpers.c: (ev_file_helpers_shutdown),
1116 * lib/ev-file-helpers.h:
1118 New helper to work with temporary files
1120 * shell/Makefile.am:
1121 * shell/ev-application.c: (ev_application_open):
1122 * shell/ev-application.h:
1123 * shell/ev-job-queue.c: (remove_job_from_queue_locked),
1124 (remove_job_from_async_queue), (add_job_to_async_queue),
1125 (add_job_to_queue_locked), (notify_finished), (job_finished_cb),
1126 (handle_job), (search_for_jobs_unlocked),
1127 (no_jobs_available_unlocked), (ev_render_thread),
1128 (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
1129 (ev_job_queue_add_job), (move_job_async), (move_job),
1130 (ev_job_queue_update_job), (ev_job_queue_remove_job):
1131 * shell/ev-job-queue.h:
1132 * shell/ev-job-xfer.c: (ev_job_xfer_init), (ev_job_xfer_dispose),
1133 (ev_job_xfer_class_init), (ev_job_xfer_new), (ev_job_xfer_run):
1134 * shell/ev-job-xfer.h:
1135 * shell/ev-jobs.c: (ev_job_init), (ev_job_dispose),
1136 (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
1137 (ev_job_links_class_init), (ev_job_render_init),
1138 (ev_job_render_dispose), (ev_job_render_class_init),
1139 (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
1140 (ev_job_thumbnail_class_init), (ev_job_load_init),
1141 (ev_job_load_dispose), (ev_job_load_class_init), (ev_job_finished),
1142 (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
1143 (render_finished_cb), (ev_job_render_run), (ev_job_thumbnail_new),
1144 (ev_job_thumbnail_run), (ev_job_load_new), (ev_job_load_run):
1146 * shell/ev-page-action.c: (ev_page_action_set_document):
1147 * shell/ev-page-cache.c: (ev_page_cache_init),
1148 (ev_page_cache_class_init), (ev_page_cache_finalize),
1149 (ev_page_cache_new), (ev_page_cache_get_n_pages),
1150 (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
1151 (ev_page_cache_set_page_label), (ev_page_cache_set_link),
1152 (ev_page_cache_get_title), (ev_page_cache_get_size),
1153 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
1154 (ev_page_cache_get_height_to_page),
1155 (ev_page_cache_get_max_label_chars),
1156 (ev_page_cache_get_page_label),
1157 (ev_page_cache_has_nonnumeric_page_labels),
1158 (ev_page_cache_get_info), (ev_page_cache_next_page),
1159 (ev_page_cache_prev_page), (ev_page_cache_get):
1160 * shell/ev-page-cache.h:
1161 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_update_range),
1162 (ev_pixbuf_cache_clear_job_sizes),
1163 (ev_pixbuf_cache_add_jobs_if_needed),
1164 (ev_pixbuf_cache_set_page_range):
1165 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings):
1166 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document):
1167 * shell/ev-sidebar-thumbnails.c:
1168 (ev_sidebar_tree_selection_changed),
1169 (ev_sidebar_thumbnails_set_document):
1170 * shell/ev-statusbar.c: (ev_statusbar_destroy),
1171 (ev_statusbar_class_init), (ev_statusbar_init), (ev_statusbar_new),
1172 (ev_statusbar_get_context_id), (ev_statusbar_push),
1173 (ev_statusbar_pop), (ev_statusbar_set_maximized),
1174 (ev_statusbar_pulse), (ev_statusbar_show_progress),
1175 (ev_statusbar_set_progress):
1176 * shell/ev-statusbar.h:
1177 * shell/ev-view.c: (ev_view_set_document), (ev_view_find_next),
1178 (ev_view_find_previous):
1179 * shell/ev-window.c: (ev_window_is_empty),
1180 (ev_window_setup_document), (password_dialog_response),
1181 (ev_window_clear_jobs), (ev_window_load_job_cb),
1182 (ev_window_xfer_job_cb), (ev_window_open_uri),
1183 (ev_window_open_uri_list), (ev_window_cmd_recent_file_activate),
1184 (ev_window_print), (ev_window_print_range),
1185 (ev_window_state_event), (ev_window_cmd_view_reload),
1186 (menu_item_select_cb), (menu_item_deselect_cb),
1187 (view_status_changed_cb), (ev_window_dispose),
1188 (drag_data_received_cb), (ev_window_init):
1189 * shell/ev-window.h:
1190 * shell/main.c: (load_files):
1192 New statusbar to show progress on idle. Two new jobs -
1193 xfer job and load job to load document in background. And update
1194 of page_cache clients to new location of code.
1196 2005-06-08 Carlos Garcia Campos <carlosgc@gnome.org>
1198 * shell/ev-application.c, shell/ev-window.[ch]: Allow multiple
1199 selection in open dialog. It also remembers the last visited directory
1200 in the current session.
1202 2005-06-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1204 * shell/ev-properties.c: (ev_properties_new):
1205 * shell/ev-properties.h:
1206 * shell/ev-window.c: (ev_window_cmd_file_properties):
1208 Get document info from page cache instead of document itself.
1209 This should fix crash related to race conditions described in
1212 2005-06-07 Marco Pesenti Gritti <mpg@redhat.com>
1214 * ps/ps-document.c: (ps_document_init),
1215 (send_ps), (get_page_box), (output), (catchPipe), (input),
1216 (stop_interpreter), (file_length), (file_readable),
1217 (check_filecompressedb), (ps_document_enable_interpreter),
1218 (document_load), (ps_async_renderer_render_pixbuf):
1221 Big cleanup of the ps code
1223 2005-06-07 Marco Pesenti Gritti <mpg@redhat.com>
1225 * backend/Makefile.am:
1226 * backend/ev-async-renderer.c: (ev_async_renderer_get_type),
1227 (ev_async_renderer_class_init), (ev_async_renderer_render_pixbuf):
1228 * backend/ev-async-renderer.h:
1230 Add an async renderer interface (method + callback) which
1231 is useful for backends like ps.
1233 * backend/ev-job-queue.c: (remove_job_from_async_queue),
1234 (add_job_to_async_queue), (job_finished_cb), (handle_job),
1235 (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
1236 (ev_job_queue_add_job), (move_job_async), (move_job),
1237 (ev_job_queue_update_job), (ev_job_queue_remove_job):
1239 Add queues for async renderer, these are executed on the
1242 * backend/ev-jobs.c: (ev_job_render_new), (render_finished_cb),
1243 (ev_job_render_run):
1244 * backend/ev-jobs.h:
1246 If the backend support async renderer interface use it.
1248 * ps/ps-document.c: (ps_document_init), (push_pixbuf),
1249 (setup_pixmap), (ps_document_get_type),
1250 (ps_async_renderer_render_pixbuf),
1251 (ps_document_document_iface_init), (ps_async_renderer_iface_init):
1253 Implement async renderer interface.
1255 2005-06-07 Nickolay V. Shmyrev <<nshmyrev@yandex.ru>>
1257 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose):
1259 Cleanup links job on exit.
1261 2005-06-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1263 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
1264 (drag_data_get_cb), (drag_data_received_cb):
1265 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
1266 (drag_data_get_cb), (parse_item_list),
1267 (egg_toolbar_editor_load_actions):
1268 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
1269 (egg_toolbars_model_to_xml), (egg_toolbars_model_save),
1270 (parse_item_list), (parse_toolbars):
1271 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
1272 (dvi_pixbuf_put_pixel):
1274 Fix gcc 4.0 warnings
1276 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
1278 * ps/ps-document.c: (start_interpreter):
1280 Fix warning when loading ps
1282 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
1284 * ps/ps-document.c: (output):
1286 Fix crash when priting gs error messages.
1288 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
1290 * backend/ev-page-cache.c: (_ev_page_cache_new):
1291 * backend/ev-page-cache.h:
1293 Use a const to return title so that we dont double
1294 free it. Small cleanup and fix a leak.
1296 * shell/ev-window.c: (update_window_title):
1298 strdup value from get_title.
1300 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
1302 * shell/ev-sidebar-links.c: (job_finished_callback),
1303 (ev_sidebar_links_set_document):
1305 Cleanup the old job when changing document
1307 2005-06-05 Nickolay V. Shmyrev <<nshmyrev@yandex.ru>>
1309 * shell/ev-stock-icons.c:
1310 * shell/ev-stock-icons.h:
1311 * shell/ev-window.c:
1313 Add stock icons for actions that can appear in toolbar. Fix for
1316 2005-06-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1318 * backend/ev-page-cache.c: (ev_page_cache_finalize),
1319 (_ev_page_cache_new), (ev_page_cache_get_max_width),
1320 (ev_page_cache_get_max_height), (ev_page_cache_get_height_to_page):
1321 * backend/ev-page-cache.h:
1322 * shell/ev-view.c: (scroll_to_current_page),
1323 (view_update_range_and_current_page), (get_page_y_offset),
1324 (get_page_extents), (ev_view_size_request_continuous_dual_page),
1325 (ev_view_size_request_continuous),
1326 (ev_view_zoom_for_size_continuous_and_dual_page),
1327 (ev_view_zoom_for_size_continuous):
1329 More compact EvView layout in document with pages of different size.
1331 Sat Jun 4 19:20:57 2005 Jonathan Blandford <jrb@redhat.com>
1333 * shell/ev-window.c (ev_window_cmd_file_properties): fix
1336 2005-06-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1338 * shell/ev-view.c: (view_set_adjustment_values):
1339 * shell/ev-window.c: (ev_window_cmd_file_properties):
1341 A bit different fix for rounding problem but it has no
1342 problems on startup. Make properties window transient to parent.
1344 2005-06-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1346 * pdf/ev-poppler.cc:
1348 More commenting of font stuff.
1350 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1352 * pdf/ev-poppler.cc:
1354 Comment out some more fonts stuff. Should really
1355 work without the poppler patch now.
1357 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1359 * pdf/ev-poppler.cc:
1363 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1365 * data/evince-properties.glade:
1366 * pdf/ev-poppler.cc:
1367 * shell/ev-properties.c: (setup_fonts_view):
1369 Set the column title. Show the dialog only
1370 once everything is setup.
1371 Getting font info can be very slow... will
1372 prolly need to make this threaded too.
1374 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1376 * backend/Makefile.am:
1377 * backend/ev-document-fonts.c: (ev_document_fonts_get_type),
1378 (ev_document_fonts_get_fonts_model):
1379 * backend/ev-document-fonts.h:
1380 * data/evince-properties.glade:
1381 * pdf/ev-poppler.cc:
1382 * shell/ev-properties.c: (setup_fonts_view), (ev_properties_new):
1383 * shell/ev-properties.h:
1384 * shell/ev-window.c: (ev_window_cmd_file_properties):
1386 Implement fonts list. Defined out for now, since it depends
1387 on a not yet committed poppler patch.
1389 Fri Jun 3 21:07:57 2005 Jonathan Blandford <jrb@redhat.com>
1391 * shell/ev-view.c (get_page_extents): other_page isn't necessarily
1394 * shell/ev-window.c: Make sure we add the timeout when we get a
1397 * shell/ev-view.c (view_set_adjustment_values): Add 0.5 to
1398 adjustment->value before calculating the zoom factor to average
1399 out all of our rounding errors. The page no longer 'drifts' when
1402 2005-06-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1404 * data/evince-properties.glade:
1405 * shell/ev-properties.c: (ev_properties_format_date),
1408 Labels don't expand when the dialogue is resized.
1409 strftime result needs to be converted to UTF-8. Thanks
1410 to Christian Persch <chpe@gnome.org>.
1412 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1414 * data/evince-properties.glade:
1418 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1420 * backend/ev-document-info.h:
1421 * backend/ev-document.c: (ev_document_info_free):
1422 * data/evince-properties.glade:
1423 * pdf/ev-poppler.cc:
1424 * ps/ps-document.c: (ps_document_get_info):
1425 * shell/ev-properties.c: (ev_properties_format_date),
1426 (set_property), (ev_properties_new):
1427 * shell/ev-properties.h:
1428 * shell/ev-window.c: (ev_window_cmd_file_properties):
1430 Rework properties code to take only EvPropertyInfo
1431 in the constructor so that it can be useful for
1432 nautilus plugin too.
1434 Deal with backends that doesnt support some properties.
1435 Make set property code generic.
1437 2005-06-04 Christian Persch <chpe@gnome.org>
1439 * data/evince-properties.glade:
1441 fix spacings, make resizeable, and make data labels
1442 selectable + ellipsised
1444 2005-06-03 Marco Pesenti Gritti <mpg@redhat.com>
1446 * backend/ev-document-info.h:
1448 * data/evince-ui.xml:
1449 * pdf/ev-poppler.cc:
1450 * shell/Makefile.am:
1451 * shell/ev-window.c: (update_action_sensitivity),
1452 (ev_window_cmd_file_properties):
1454 Initial go at file properties. Patch by
1455 Emil Soleyman-Zomalan <emil@soleyman.com>.
1456 Needs love see #169583
1458 2005-06-02 Marco Pesenti Gritti <mpg@redhat.com>
1460 * ps/ps-document.c: (output):
1461 * ps/ps.c: (psscan):
1463 Try to render even if psscan fails.
1465 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
1467 * ps/ps.c: (psscan), (pscopydoc):
1469 Port buffered reading code from gv
1471 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
1473 * ps/ps-document.c: (interpreter_message), (output):
1475 Do not fail on interpreter messages
1477 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
1479 * backend/ev-document-misc.c:
1480 (ev_document_misc_get_thumbnail_frame):
1482 Pages can be 0 x 0, dont assert on this case
1484 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1486 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
1487 (ev_sidebar_links_class_init), (ev_sidebar_links_set_document):
1489 Correctly manage our reference on document. Finally the reload
1490 huge leak is gone...
1492 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1494 * ps/ps-document.c: (ps_document_dispose):
1496 Forgot to chain it to the parent. Thanks chpe.
1498 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1500 * ps/ps-document.c: (ps_document_dispose),
1501 (ps_document_class_init), (stop_interpreter), (document_load):
1503 Cleanup dispose a bit. Dont leak the whole pixmap.
1505 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1507 * pdf/ev-poppler.cc:
1509 Release the poppler document on dispose
1511 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1513 * shell/ev-view.c: (ev_view_set_document):
1515 Release ref on the pixbuf cache when changing
1518 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1520 * ps/ps-document.c: (ps_document_get_info):
1524 2005-05-31 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
1526 * backend/ev-page-cache.c: (ev_page_cache_init),
1527 (_ev_page_cache_new), (ev_page_cache_get_max_label_chars):
1528 * backend/ev-page-cache.h:
1529 * shell/ev-page-action.c: (page_changed_cb):
1531 Set page action entry width depending on labels width. Fix
1534 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1536 * backend/ev-link.c: (ev_link_class_init):
1538 Allow -1 as page value (error)
1540 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1542 * shell/ev-sidebar-thumbnails.c:
1543 (ev_sidebar_thumbnails_set_document):
1544 * shell/ev-view.c: (scroll_to_current_page),
1545 (view_set_adjustment_values), (ev_view_set_scroll_adjustments),
1546 (page_changed_cb), (on_adjustment_value_changed),
1547 (ev_view_set_document):
1549 Slightly modified patch by Nickolay V. Shmyrev <nshmyrev@yandex.ru>.
1552 2005-05-29 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1555 * djvu/djvu-document.c: (djvu_document_get_page_size):
1557 Require djvulibre CVS. Now djvu loading is much faster. Fix for
1560 Sat May 28 07:38:03 2005 Jonathan Blandford <jrb@redhat.com>
1562 * shell/ev-view.c (draw_one_page): modify the expose handling to
1565 * shell/ev-window.c (update_action_sensitivity): Respect
1566 permissions field. Kowtow to the man.
1568 * pdf/ev-poppler.cc: Get the permissions field.
1570 * tiff/*c: Make a tiny bit more robust.
1572 2005-05-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1574 * djvu/djvu-document.c:
1576 Pop messages from djvu context message queue.
1578 2005-05-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1580 * configure.ac, Makefile.am, shell/Makefile.am:
1581 * tiff/Makefile.am, shell/ev-document-types.c:
1583 Cleanup tiff configure checks. Fix for bug 305218.
1585 2005-05-24 Maxim V. Dziumanenko <mvd@mylinux.ua>
1587 * configure.ac: Added "uk" to ALL_LINGUAS.
1589 2005-05-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1591 * cut-n-paste/zoom-control/ephy-zoom.c:
1592 (ephy_zoom_get_changed_zoom_level):
1593 * cut-n-paste/zoom-control/ephy-zoom.h:
1594 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_set_property),
1595 (ev_view_get_property), (ev_view_class_init), (ev_view_set_zoom):
1596 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
1597 (ev_window_cmd_view_zoom_out), (ev_window_zoom_changed_cb),
1598 (zoom_control_changed_cb), (ev_window_init):
1600 Fix minor points related to moving best fit up. Introduce
1601 "zoom" property and make zoom control change it's value on
1602 notify::zoom signals. Fix for 305080.
1604 2005-05-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1606 * data/evince-ui.xml:
1607 * shell/ev-window.c: (set_view_actions_sensitivity):
1609 Use + and - as accels for zoom in and zoom out. Fix for 305001.
1611 2005-05-22 Marco Pesenti Gritti <mpg@redhat.com>
1615 Depends on poppler 0.3.2
1617 2005-05-22 Marco Pesenti Gritti <mpg@redhat.com>
1619 * cut-n-paste/recent-files/egg-recent-item.c:
1620 (egg_recent_item_get_short_name):
1621 * cut-n-paste/toolbar-editor/Makefile.am:
1622 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
1623 (new_pixbuf_from_widget):
1624 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
1625 * cut-n-paste/toolbar-editor/egg-marshal.c:
1626 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
1627 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
1631 Sat May 21 23:18:30 2005 Jonathan Blandford <jrb@redhat.com>
1633 * tiff/tiff-document.c: Rough TIFF backend.
1635 2005-05-21 Marco Pesenti Gritti <mpg@redhat.com>
1639 * cut-n-paste/toolbar-editor/Makefile.am:
1643 2005-05-21 Marco Pesenti Gritti <mpg@redhat.com>
1645 * shell/ev-view.c: (jump_to_find_result), (ev_view_can_find_next),
1646 (ev_view_find_next), (ev_view_find_previous):
1648 Remove the locks around get_n_results
1650 2005-05-21 Juerg Billeter <j@bitron.ch>
1652 * pdf/ev-poppler.c: (pdf_document_ps_exporter_begin):
1654 Pass correct number of pages to poppler.
1656 2005-05-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1660 * data/evince.desktop.in:
1661 * data/evince.desktop.in.in:
1664 Add conditionally dvi and djvu to desktop types. Fix for 304658.
1666 Sat May 21 00:21:30 2005 Jonathan Blandford <jrb@redhat.com>
1668 * shell/ev-view.c: (view_update_adjustments),
1669 (view_set_adjustment_values): cast adjustmen->value to (int)
1670 before using it. Otherwise, we get off by a pixel in some
1673 (draw_one_page): Draw the border on expose.
1675 Fri May 20 22:05:25 2005 Jonathan Blandford <jrb@redhat.com>
1677 * *shell/ev-view.c: Patch from Nickolay V. Shmyrev to reset the
1678 adjustment when the mode changes, #304923
1680 Fri May 20 02:00:03 2005 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1682 * shell/ev-view.c: Use gdk_widget_queue_draw to remove
1683 flickering on resize but still use gdk_window_scroll on
1686 Fri May 20 01:46:57 2005 Jonathan Blandford <jrb@redhat.com>
1688 * shell/ev-view.c: Patch from Nickolay Shmyrev to fix the -p
1691 Fri May 20 01:27:01 2005 Jonathan Blandford <jrb@redhat.com>
1693 * shell/ev-view.c: Patch from Nickolay Shmyrev to to scroll to
1694 second page on page_changed if possible, #304669
1696 Fri May 20 01:07:15 2005 Jonathan Blandford <jrb@redhat.com>
1698 * shell/ev-view.c (view_update_adjustments): Use gdk_window_scroll
1699 instead of gtk_widget_queue_draw. Massive speedups in scrolling.
1701 Fri May 20 01:05:10 2005 Jonathan Blandford <jrb@redhat.com>
1704 * shell/ev-view.c:(ev_view_size_allocate), (ev_view_class_init),
1705 (zoom_for_size_fit_width), (zoom_for_size_best_fit),
1706 (ev_view_zoom_for_size_presentation),
1707 (ev_view_zoom_for_size_continuous_and_dual_page),
1708 (ev_view_zoom_for_size_continuous),
1709 (ev_view_zoom_for_size_dual_page),
1710 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size):
1712 * shell/ev-window.c: (update_view_size),
1713 (ev_window_sizing_mode_changed_cb):
1715 Patch from Nickolay Shmyrev <nshmyrev@yandex.ru> to handle
1716 the scrollbars. It's not 100% right, but it's much closer. Kills
1717 an infinite loop, #304769
1720 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
1722 * data/evince-ui.xml:
1723 * shell/ev-view.c: (ev_view_scroll_view), (ev_view_class_init):
1724 * shell/ev-window.c: (set_view_actions_sensitivity):
1726 Make PgUp/Down behave like Space
1728 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
1730 * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
1731 * backend/ev-ps-exporter.h:
1732 * pdf/ev-poppler.cc:
1733 * ps/ps-document.c: (ps_document_ps_export_begin):
1734 * shell/ev-print-job.c: (idle_print_handler):
1736 Adapt to new poppler api
1738 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
1740 * cut-n-paste/zoom-control/ephy-zoom-control.c:
1741 (ephy_zoom_control_init):
1743 Translate zoom levels
1745 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
1747 * cut-n-paste/zoom-control/ephy-zoom.c:
1748 (ephy_zoom_get_zoom_level_index):
1750 Fix current zoom -> zoom control match
1752 2005-05-18 James Bowes <bowes@cs.dal.ca>
1754 * shell/ev-window.c: (ev_window_init): Give focus to the ev-view,
1755 rather than the scrolled_window that it's in. Fixes bug #304655.
1757 Tue May 17 22:54:17 2005 Jonathan Blandford <jrb@redhat.com>
1759 * shell/ev-view.c: (view_update_adjustments),
1760 (view_set_adjustment_values), (view_update_range_and_current_page),
1761 (view_scroll_to_page), (set_scroll_adjustment),
1762 (ev_view_set_scroll_adjustments), (add_scroll_binding_keypad),
1763 (ev_view_scroll), (ev_view_scroll_view),
1764 (ensure_rectangle_is_visible), (find_page_at_location),
1765 (get_link_at_location), (go_to_link), (status_message_from_link),
1766 (ev_view_size_request_continuous_dual_page),
1767 (ev_view_size_request), (ev_view_size_allocate), (ev_view_realize),
1768 (ev_view_unrealize), (ev_view_expose_event),
1769 (ev_view_button_press_event), (ev_view_motion_notify_event),
1770 (ev_view_button_release_event), (ev_gdk_color_to_rgb),
1771 (draw_rubberband), (highlight_find_results), (draw_one_page),
1772 (ev_view_finalize), (ev_view_destroy), (ev_view_class_init),
1773 (ev_view_init), (find_changed_cb), (page_changed_cb),
1774 (on_adjustment_value_changed), (ev_view_new),
1775 (ev_view_set_document), (ev_view_set_zoom),
1776 (ev_view_set_continuous), (ev_view_set_dual_page),
1777 (ev_view_set_presentation), (ev_view_zoom_in), (ev_view_zoom_out),
1778 (zoom_for_size_fit_width), (zoom_for_size_best_fit),
1779 (ev_view_zoom_for_size_presentation),
1780 (ev_view_zoom_for_size_continuous_dual_page),
1781 (ev_view_zoom_for_size_continuous),
1782 (ev_view_zoom_for_size_dual_page),
1783 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
1784 (ev_view_get_status), (ev_view_set_status),
1785 (update_find_status_message), (ev_view_get_find_status),
1786 (ev_view_set_find_status), (jump_to_find_result),
1787 (jump_to_find_page), (compute_selections), (clear_selection),
1788 (ev_view_select_all), (get_selected_text), (ev_view_copy),
1789 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
1790 (ev_view_update_primary_selection),
1791 (ev_view_create_invisible_cursor), (ev_view_set_cursor):
1793 * shell/ev-window.c: (ev_window_open_page_label),
1794 (ev_window_cmd_view_reload), (ev_window_sizing_mode_changed_cb),
1796 * shell/ev-window.h:
1797 * shell/main.c: (load_files):
1799 Massive code clean up from Nickolay Shmyrev. Keep page offset
1800 when resizing. Remove the bin_window(). Also, patch from James
1801 Bowes to fix command line page, #300641
1803 2005-05-17 Marco Pesenti Gritti <mpg@redhat.com>
1805 * data/evince-ui.xml:
1808 * shell/ev-window.c: (update_action_sensitivity):
1810 Get rid of View->Normal Size, it's just confusing
1812 Tue May 17 00:51:21 2005 Jonathan Blandford <jrb@redhat.com>
1814 * backend/ev-document-info.h:
1815 * backend/ev-document.c: (ev_document_info_free): Free the
1818 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
1819 (clear_range), (add_range), (update_visible_range),
1820 (adjustment_changed_cb), (ev_sidebar_thumbnails_init),
1821 (ev_sidebar_thumbnails_set_document):
1822 * shell/ev-window.c: (ev_window_setup_document): Only render the
1823 visible thumbnails. It takes an instant to render, but it uses
1826 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
1828 * shell/ev-sidebar-links.c: (popup_menu_cb):
1832 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
1835 * shell/ev-sidebar-links.c: (build_popup_menu), (popup_menu_cb),
1836 (button_press_cb), (ev_sidebar_links_construct):
1838 Show the popup menu also on keybindings
1840 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
1842 * shell/ev-window.c: (ev_window_print), (ev_window_print_range):
1843 * shell/ev-window.h:
1845 Expose api to print a range (with dialog). Make private _print use
1848 * shell/ev-sidebar-links.c: (print_section_cb), (button_press_cb),
1849 (ev_sidebar_links_construct):
1851 Show a print context menu on linkx, it prints the selected
1854 2005-05-15 Carlos Garcia Campos <carlosgc@gnome.org>
1856 * shell/ev-sidebar.c: make the drop down menu as width as the toggle
1859 2005-05-12 Marco Pesenti Gritti <mpg@redhat.com>
1865 * shell/ev-window.c: (build_comments_string),
1866 (ev_window_cmd_help_about):
1868 Show poppler version/backend and authors
1870 2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
1872 * cut-n-paste/zoom-control/ephy-zoom.c:
1873 (ephy_zoom_get_zoom_level_index):
1874 * cut-n-paste/zoom-control/ephy-zoom.h:
1876 Move the best fit items at the top of the list
1878 2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
1880 * shell/ev-marshal.list:
1881 * shell/ev-page-action.c: (ev_page_action_widget_class_init),
1882 (activate_cb), (match_selected_cb), (activate_link_cb),
1883 (connect_proxy), (ev_page_action_class_init):
1884 * shell/ev-page-action.h:
1886 Use signals to notify action activation. Hopefully
1887 I did not break completion since I cant test...
1889 * shell/ev-window.c: (activate_link_cb), (activate_label_cb),
1890 (register_custom_actions):
1892 Connect to page selector actions and also grab focus on
1893 the view when activated.
1895 Wed May 11 01:18:29 2005 Jonathan Blandford <jrb@redhat.com>
1897 * pdf/ev-poppler.cc:
1898 * backend/ev-page-cache.c: make page size calculation consistent
1899 and set it to (int)( width * scale + 0.5). This makes the weird
1900 line going through the middle of the page go away.
1902 * shell/ev-view.c: move painting the background page after
1903 checking the expose area covers us.
1905 2005-05-11 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1907 * data/evince-password.glade:
1909 Mark labels as not translatable. Fix for bug 302842.
1911 2005-05-10 Francisco Javier F. Serrador <serrador@cvs.gnome.org>
1913 * configure.ac: Added "es" to ALL_LINGUAS.
1915 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
1917 * data/evince-toolbar.xml:
1918 * shell/ev-window.c: (update_action_sensitivity),
1919 (ev_window_setup_document), (ev_window_set_page_mode),
1922 Remove some leftover code from jrb first continous
1923 attempt. Use the new actions, we still need good icons
1926 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
1928 * shell/ev-page-action.c: (update_pages_label), (connect_proxy):
1930 Update label when connecting proxy. Fix a warning with NULL
1933 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
1935 * data/evince-ui.xml:
1936 * shell/ev-page-action.c: (ev_page_action_grab_focus):
1937 * shell/ev-page-action.h:
1938 * shell/ev-window.c: (ev_window_cmd_focus_page_selector):
1940 Add mnemonic for edit toolbar.
1941 ctrl+l focus the page entry.
1943 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
1946 * shell/ev-window.c: (ev_window_cmd_edit_toolbar_cb),
1948 * shell/main.c: (main):
1950 Put the toolbar xml in evince own dot dir
1952 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
1954 * shell/ev-window.c: (ev_window_init):
1956 Make the toolbar not removable
1958 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
1960 * data/evince-ui.xml:
1961 * shell/ev-sidebar-links.c: (ev_sidebar_links_get_treeview):
1962 * shell/ev-sidebar-links.h:
1963 * shell/ev-sidebar-thumbnails.c:
1964 (ev_sidebar_thumbnails_get_treeview):
1965 * shell/ev-sidebar-thumbnails.h:
1966 * shell/ev-view.c: (ev_view_scroll), (ev_view_scroll_view),
1967 (ev_view_class_init):
1969 * shell/ev-window.c: (update_action_sensitivity),
1970 (ev_window_cmd_scroll_forward), (ev_window_cmd_scroll_backward),
1971 (set_view_actions_sensitivity), (view_actions_focus_in_cb),
1972 (view_actions_focus_out_cb), (enable_view_actions_for_widget),
1975 This is evil... Make space/backspace global accelerators but
1976 enable them only for some widgets (sidebars and view).
1977 I dont like it, but I dont know a better way... :/
1979 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
1981 * shell/ev-page-action.c: (ev_page_action_widget_set_page_cache),
1982 (ev_page_action_widget_finalize),
1983 (ev_page_action_widget_class_init), (update_page_cache):
1985 Keep a weak reference on proxy->page_cache so that we
1986 dont try to disconnect the signal if the object is already
1987 gone. Maybe there is a better way to cleanup reference handling
1988 in page action though...
1990 2005-05-10 Juerg Billeter <j@bitron.ch>
1992 * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
1993 * backend/ev-ps-exporter.h:
1994 * pdf/ev-poppler.cc: (pdf_document_ps_exporter_begin):
1995 * ps/ps-document.c: (ps_document_ps_export_begin):
1997 Change api to pass print range to ps_exporter_begin. The pdf backend
1998 requires this information.
2000 * shell/ev-print-job.c: (idle_print_handler):
2004 2005-05-10 Juerg Billeter <j@bitron.ch>
2006 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
2007 (idle_print_handler)
2008 * shell/ev-window.c: (ev_window_print):
2010 Support printing page range, based on patch by Amaury Jacquot
2012 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2014 * data/evince-toolbar.xml:
2016 Add zoom control to available items
2018 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2020 * shell/ev-window.c: (update_action_sensitivity):
2022 Set slash action insensitive when appropriate
2024 2005-05-10 Christian Persch <chpe@gnome.org>
2026 * cut-n-paste/zoom-control/ephy-zoom-action.c: (create_menu_item):
2028 Fix warning on the overflow menu
2030 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2032 * shell/ev-window.c: (sanity_check_uri), (ev_window_open):
2034 Check for uri correctness/existence
2036 2005-05-09 Juerg Billeter <j@bitron.ch>
2038 * shell/ev-window.c: (using_postscript_printer):
2040 LPD printers use postscript, too
2042 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2044 * shell/ev-window.c: (register_custom_actions):
2046 The zoom one is actually sort of useful,
2049 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2051 * shell/ev-window.c: (register_custom_actions):
2053 Hide page/zoom controls from overflow, they
2056 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2058 * cut-n-paste/update-from-egg.sh:
2060 Share it between all cut-n-paste subdirs
2062 * cut-n-paste/recent-files/Makefile.am:
2064 Fix to use "global" update-from-egg.sh
2066 * cut-n-paste/recent-files/egg-recent-model.c:
2067 (egg_recent_model_changed_timeout), (egg_recent_model_finalize):
2068 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
2069 (egg_recent_view_gtk_clear), (egg_recent_view_gtk_set_list),
2070 (egg_recent_view_gtk_finalize), (egg_recent_view_gtk_set_menu):
2074 * cut-n-paste/toolbar-editor/Makefile.am:
2076 Fix to use "global" update-from-egg.sh
2078 * cut-n-paste/toolbar-editor/eggmarshalers.list:
2082 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2085 * cut-n-paste/Makefile.am:
2086 * cut-n-paste/recent-files/Makefile.am:
2087 * cut-n-paste/toolbar-editor/.cvsignore:
2088 * cut-n-paste/toolbar-editor/Makefile.am:
2089 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
2090 (egg_editable_toolbar_get_type), (get_toolbar_position),
2091 (get_n_toolbars), (get_dock_nth), (get_toolbar_nth), (find_action),
2092 (drag_data_delete_cb), (drag_begin_cb), (drag_end_cb),
2093 (drag_data_get_cb), (set_drag_cursor), (unset_drag_cursor),
2094 (set_item_drag_source), (create_item_from_action), (create_item),
2095 (data_is_separator), (drag_data_received_cb), (remove_toolbar_cb),
2096 (popup_toolbar_context_menu_cb), (free_dragged_item),
2097 (toolbar_drag_drop_cb), (toolbar_drag_motion_cb),
2098 (toolbar_drag_leave_cb), (create_dock), (set_fixed_style),
2099 (unset_fixed_style), (toolbar_changed_cb), (unparent_fixed),
2100 (update_fixed), (toolbar_added_cb), (toolbar_removed_cb),
2101 (item_added_cb), (item_removed_cb),
2102 (egg_editable_toolbar_construct),
2103 (egg_editable_toolbar_disconnect_model),
2104 (egg_editable_toolbar_deconstruct),
2105 (egg_editable_toolbar_set_model),
2106 (egg_editable_toolbar_set_ui_manager),
2107 (egg_editable_toolbar_set_property),
2108 (egg_editable_toolbar_get_property),
2109 (egg_editable_toolbar_class_init), (egg_editable_toolbar_init),
2110 (egg_editable_toolbar_finalize), (egg_editable_toolbar_new),
2111 (egg_editable_toolbar_new_with_model),
2112 (egg_editable_toolbar_get_edit_mode),
2113 (egg_editable_toolbar_set_edit_mode), (egg_editable_toolbar_show),
2114 (egg_editable_toolbar_hide), (egg_editable_toolbar_set_fixed),
2115 (egg_editable_toolbar_set_drag_dest), (fake_expose_widget),
2116 (new_pixbuf_from_widget), (new_separator_pixbuf),
2117 (update_separator_image), (style_set_cb),
2118 (_egg_editable_toolbar_new_separator_image),
2119 (egg_editable_toolbar_get_model):
2120 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
2121 * cut-n-paste/toolbar-editor/egg-marshal.c:
2122 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
2123 (egg_toolbar_editor_get_type), (compare_actions), (find_action),
2124 (egg_toolbar_editor_set_ui_manager), (toolbar_removed_cb),
2125 (egg_toolbar_editor_set_model), (egg_toolbar_editor_set_property),
2126 (egg_toolbar_editor_get_property), (egg_toolbar_editor_class_init),
2127 (egg_toolbar_editor_finalize), (egg_toolbar_editor_new),
2128 (drag_begin_cb), (drag_end_cb), (editor_drag_data_received_cb),
2129 (editor_drag_data_delete_cb), (drag_data_get_cb),
2130 (elide_underscores), (set_drag_cursor), (event_box_realize_cb),
2131 (editor_create_item), (update_editor_sheet), (setup_editor),
2132 (egg_toolbar_editor_init), (egg_toolbar_editor_add_action),
2133 (parse_item_list), (model_has_action), (update_actions_list),
2134 (egg_toolbar_editor_load_actions):
2135 * cut-n-paste/toolbar-editor/egg-toolbar-editor.h:
2136 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
2137 (egg_toolbars_model_get_type), (egg_toolbars_model_to_xml),
2138 (safe_save_xml), (egg_toolbars_model_save), (toolbars_toolbar_new),
2139 (toolbars_item_new), (free_toolbar_node), (free_item_node),
2140 (egg_toolbars_model_get_flags), (egg_toolbars_model_set_flags),
2141 (egg_toolbars_model_add_separator), (impl_add_item),
2142 (parse_item_list), (egg_toolbars_model_add_toolbar),
2143 (parse_toolbars), (egg_toolbars_model_load), (impl_get_item_id),
2144 (impl_get_item_data), (impl_get_item_type),
2145 (_egg_accumulator_STRING), (egg_toolbars_model_class_init),
2146 (egg_toolbars_model_init), (free_toolbar),
2147 (egg_toolbars_model_finalize), (egg_toolbars_model_new),
2148 (egg_toolbars_model_remove_toolbar),
2149 (egg_toolbars_model_remove_item), (egg_toolbars_model_move_item),
2150 (egg_toolbars_model_n_items), (egg_toolbars_model_item_nth),
2151 (egg_toolbars_model_n_toolbars), (egg_toolbars_model_toolbar_nth),
2152 (egg_toolbars_model_add_item), (egg_toolbars_model_get_item_id),
2153 (egg_toolbars_model_get_item_data),
2154 (egg_toolbars_model_get_item_type):
2155 * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
2156 * cut-n-paste/toolbar-editor/eggmarshalers.list:
2158 * data/evince-toolbar.xml:
2159 * data/evince-ui.xml:
2160 * data/hand-open.png:
2162 * shell/Makefile.am:
2163 * shell/ev-window.c: (update_chrome_visibility),
2164 (ev_window_cmd_edit_toolbar_cb), (ev_window_cmd_edit_toolbar),
2165 (ev_window_dispose), (ev_window_init):
2167 Implement epiphany like toolbar editor. Based on patch by
2168 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2170 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2172 * shell/ev-sidebar-thumbnails.c: (page_changed_cb):
2174 Use set_cursor instead of set_selection, so that
2175 the keyboard focus moves too.
2177 2005-05-09 Aleksey Kliger <akliger@gmail.com>
2179 * dvi/mdvi-lib/tfmfile.c: (lookup_font_metrics):
2181 Fix infinite loop when loading Type1 fonts
2183 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2185 * data/evince-ui.xml:
2186 * shell/ev-window.c:
2190 2005-05-09 Thomas de Grenier de Latour <degrenier@easyconnect.fr>
2194 Make --disable really disable
2196 2005-05-07 Juerg Billeter <j@bitron.ch>
2198 * backend/ev-page-cache.c: (ev_page_cache_set_page_label):
2200 Compare page labels even without has_labels set, fixes setting page
2203 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2205 * shell/ev-view.c: (ev_view_create_invisible_cursor),
2206 (ev_view_set_cursor), (ev_view_button_press_event),
2207 (ev_view_motion_notify_event), (ev_view_button_release_event),
2210 Implement middle button scrolling. Based on a patch
2211 by Tommi Komulainen <tommi.komulainen@iki.fi>.
2213 2005-05-08 Marco Pesenti Gritti <mpg@redhat.com>
2215 * shell/ev-document-types.c: (get_slow_mime_type),
2216 (get_document_type_from_mime), (ev_document_type_lookup):
2217 * shell/ev-document-types.h:
2219 Change api to lookup from uri. Do fast lookup first, if the
2220 type is unknown try with data sniffing.
2222 * shell/ev-window.c: (ev_window_open), (ev_window_open_uri_list):
2223 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
2227 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2229 * thumbnailer/Makefile.am:
2233 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2240 * data/evince-ui.xml:
2242 Hide presentation mode for now
2244 * shell/ev-view.c: (highlight_find_results):
2246 Show current find selection only on current page
2248 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2250 * shell/ev-view.c: (ev_view_select_all):
2252 Compute size of the actual page, not of
2255 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2257 * shell/ev-view.c: (clear_selection), (ev_view_finalize),
2258 (view_rect_to_doc_rect), (compute_selections),
2259 (ev_view_bin_expose), (ev_view_select_all), (get_selected_text),
2260 (ev_view_copy), (ev_view_primary_get_cb),
2261 (ev_view_primary_clear_cb), (ev_view_update_primary_selection),
2262 (ev_view_button_press_event), (ev_view_motion_notify_event),
2263 (ev_view_button_release_event), (page_changed_cb):
2267 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2269 * shell/ev-view.c: (compute_border), (get_page_extents),
2270 (doc_rect_to_view_rect), (highlight_find_results),
2271 (ev_view_bin_expose), (ev_view_select_all),
2272 (ev_view_motion_notify_event), (update_find_status_message),
2273 (jump_to_find_result), (jump_to_find_page):
2275 First go at fixing search, still buggy
2277 2005-05-04 Kristian Høgsberg <krh@redhat.com>
2279 * shell/ev-sidebar.c (ev_sidebar_init): Remove frame around
2280 dropdown box and button at the top of the sidebar.
2282 2005-05-02 James Bowes <bowes@cs.dal.ca>
2284 * configure.ac: Output zoom-control Makefile.
2285 * cut-n-paste/Makefile.am: build zoom-control subdir.
2286 * cut-n-paste/zoom-control/ephy-zoom-action.c:
2287 * cut-n-paste/zoom-control/ephy-zoom-action.h:
2288 * cut-n-paste/zoom-control/ephy-zoom-control.c:
2289 * cut-n-paste/zoom-control/ephy-zoom-control.h:
2290 * cut-n-paste/zoom-control/ephy-zoom.c:
2291 * cut-n-paste/zoom-control/ephy-zoom.h: New files imported
2292 from epiphany, and modified to add a separator into the menu.
2293 * cut-n-paste/zoom-control/Makefile.am: Build zoom-control.
2294 * data/evince-ui.xml: Replace old zoom toolbar actions with new
2295 zoom-control action.
2296 * shell/Makefile.am: Include zoom-control flags.
2297 * shell/ev-view.c: (ev_view_set_zoom), (ev_view_get_zoom),
2298 (ev_view_get_sizing_mode), (ev_view_zoom_in), (ev_view_zoom_out),
2299 (ev_view_zoom_for_size_presentation),
2300 (ev_view_zoom_for_size_continuous_and_dual_page),
2301 (ev_view_zoom_for_size_continuous),
2302 (ev_view_zoom_for_size_dual_page),
2303 (ev_view_zoom_for_size_single_page), (ev_view_zoom_normal):
2304 s/ev_view_zoom/ev_view_set_zoom/ and make public, add
2305 ev_view_get_zoom and ev_view_get_sizing_mode.
2307 * shell/ev-window.c: (update_action_sensitivity),
2308 (update_sizing_buttons), (zoom_control_changed_cb),
2309 (register_custom_actions): Initialize and use the zoom-control
2312 Sun May 1 00:46:47 2005 Jonathan Blandford <jrb@redhat.com>
2314 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init): Change the
2315 preview cache back to 1. Don't know when it got set to 0.
2317 * shell/ev-view.c: (compute_border), (ev_view_realize),
2318 (draw_one_page), (ev_view_set_property), (ev_view_get_property),
2319 (ev_view_class_init), (ev_view_init), (ev_view_set_fullscreen),
2320 (ev_view_get_fullscreen), (ev_view_set_presentation),
2321 (ev_view_get_presentation), (ev_view_set_sizing_mode),
2322 (ev_view_zoom_for_size_presentation), (ev_view_set_zoom_for_size):
2324 * shell/ev-window.c:
2325 (update_chrome_visibility),
2326 (ev_window_cmd_continuous), (ev_window_cmd_dual),
2327 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
2328 (update_document_mode), (ev_window_update_fullscreen_action),
2329 (ev_window_fullscreen), (ev_window_unfullscreen),
2330 (ev_window_cmd_view_fullscreen),
2331 (ev_window_update_presentation_action),
2332 (ev_window_run_presentation), (ev_window_stop_presentation),
2333 (ev_window_cmd_view_presentation), (ev_window_state_event),
2334 (ev_window_focus_in_event), (ev_window_focus_out_event),
2335 (ev_window_cmd_escape), (ev_window_sidebar_visibility_changed_cb):
2336 * data/evince-ui.xml: Initial presentation mode. We should
2337 probably hide this until it's done, as it's quite rough. Also,
2338 change full-screen to fullscreen and add two getters to EvView.
2340 2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
2342 * shell/ev-page-action.c: (update_page_cache),
2343 (ev_page_action_dispose):
2344 * shell/ev-window.c: (destroy_fullscreen_popup),
2345 (ev_window_create_fullscreen_popup):
2347 Use connect_object rather than explicitly
2348 disconnect on dispose.
2350 2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
2352 * shell/ev-page-action.c: (update_page_cache),
2353 (ev_page_action_dispose):
2355 2005-04-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2357 * backend/ev-page-cache.c: (_ev_page_cache_new),
2358 (ev_page_cache_set_page_label),
2359 (ev_page_cache_has_nonnumeric_page_labels):
2360 * backend/ev-page-cache.h:
2361 * shell/ev-page-action.c: (update_pages_label):
2363 If all page labels are numeric, fallback to default
2364 way to display number of pages. See bug 173185.
2366 2005-04-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2368 * shell/ev-page-action.c: (ev_page_action_dispose):
2369 * shell/ev-view.c: (view_update_range_and_current_page):
2370 * shell/ev-window.c: (ev_window_dispose):
2372 Set page on scroll in continuous mode. Fixes bug 301986.
2373 Also cleanup callbacks on destroy of EvWindow and EvPageAction.
2375 2005-04-26 Marco Pesenti Gritti <mpg@redhat.com>
2379 Require poppler 0.3.0
2381 2005-04-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2383 * shell/Makefile.am, configure.ac: Fix build problems
2384 with t1lib. Bug 301996.
2386 2005-04-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2388 * shell/ev-view.c: (ev_view_scroll_event):
2390 Scroll up increase zoom
2392 2005-04-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2394 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_class_init),
2395 (ev_view_set_sizing_mode),
2396 (ev_view_zoom_for_size_continuous_and_dual_page),
2397 (ev_view_zoom_for_size_continuous):
2398 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
2399 (ev_window_cmd_view_page_width), (ev_window_cmd_view_zoom_in),
2400 (ev_window_cmd_view_zoom_out), (ev_window_sizing_mode_changed_cb),
2403 Control + Scroll does zooming, Shift + Scroll scrolls horizontally
2404 Fix for 165473 and 165472.
2406 2005-04-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2409 * thumbnailer/Makefile.am:
2410 * thumbnailer/evince-thumbnailer-djvu.schemas.in:
2411 * thumbnailer/evince-thumbnailer-dvi.schemas.in:
2412 * thumbnailer/evince-thumbnailer.schemas.in:
2414 Make thumbnailer schemas translatable. Fix for bug 301773
2416 * thumbnailer/evince-thumbnailer-djvu.schemas:
2417 * thumbnailer/evince-thumbnailer-dvi.schemas:
2418 * thumbnailer/evince-thumbnailer.schemas:
2422 Sun Apr 24 01:37:39 2005 Jonathan Blandford <jrb@redhat.com>
2424 * shell/ev-view.c (ev_view_init): forgot to set this.
2426 Sun Apr 24 01:07:27 2005 Jonathan Blandford <jrb@redhat.com>
2428 * shell/ev-view.c: (find_page_at_location),
2429 (get_link_at_location),
2430 (ev_view_set_show_border), (ev_view_set_spacing),
2431 (ev_view_zoom_for_size_continuous_and_dual_page),
2432 (ev_view_zoom_for_size_continuous): Fix links for dual/continuous.
2433 Also, add a quick fix measuring of widths. Also, removed
2434 ev_view_set_spacing and ev_view_set_show_border.
2436 * shell/ev-window.c: (ev_window_unfullscreen),
2437 (ev_window_cmd_view_fullscreen): Don't adjust the border/spacing.
2439 2005-04-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2441 * shell/ev-view.c: (view_update_range_and_current_page),
2444 Fix crash on exit and scrolling to page in continuous view.
2446 Sat Apr 23 13:13:04 2005 Jonathan Blandford <jrb@redhat.com>
2449 * backend/ev-page-cache.c: (_ev_page_cache_new),
2450 (ev_page_cache_get_max_width_size),
2451 (ev_page_cache_get_max_height_size):
2452 * backend/ev-page-cache.h:
2453 * data/evince-ui.xml:
2454 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init):
2455 * shell/ev-view.c: (view_update_adjustments),
2456 (view_update_range_and_current_page), (get_bounding_box_size),
2457 (ev_view_size_request_continuous_and_dual_page),
2458 (ev_view_size_request_continuous),
2459 (ev_view_size_request_dual_page),
2460 (ev_view_size_request_single_page), (ev_view_size_request),
2461 (ev_view_size_allocate), (get_page_extents), (draw_one_page),
2462 (ev_view_bin_expose), (ev_view_expose_event),
2463 (ev_view_set_property), (ev_view_get_property),
2464 (ev_view_class_init), (ev_view_init), (ev_view_new),
2465 (page_changed_cb), (ev_view_zoom), (ev_view_set_continuous),
2466 (ev_view_set_dual_page), (ev_view_set_full_screen),
2467 (ev_view_set_presentation), (ev_view_set_sizing_mode),
2468 (ev_view_can_zoom_in), (ev_view_can_zoom_out), (ev_view_zoom_in),
2469 (ev_view_zoom_out), (zoom_for_size_fit_width),
2470 (zoom_for_size_best_fit),
2471 (ev_view_zoom_for_size_continuous_and_dual_page),
2472 (ev_view_zoom_for_size_continuous),
2473 (ev_view_zoom_for_size_dual_page),
2474 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
2475 (ev_view_show_cursor), (ev_sizing_mode_get_type):
2477 * shell/ev-window.c: (update_action_sensitivity),
2478 (ev_window_cmd_continuous), (ev_window_cmd_dual),
2479 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
2480 (update_sizing_buttons), (ev_window_cmd_view_zoom_in),
2481 (ev_window_cmd_view_zoom_out), (update_view_size),
2482 (ev_window_set_sizing_mode), (ev_window_init):
2484 Add Continuous and Dual page modes.
2486 2005-04-23 James Bowes <bowes@cs.dal.ca>
2488 * dvi/dvi-document.c: (dvi_document_load),
2489 (dvi_document_thumbnails_get_thumbnail),
2490 (dvi_document_init_params): Fix up some mixups between
2491 width and height to correct thumbnail rendering.
2493 2005-04-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2495 * dvi/mdvi-lib/private.h:
2496 * dvi/mdvi-lib/setup.c: (mdvi_init_kpathsea):
2498 Suppess output for kpathsea during font generation. Thanks to
2501 Fri Apr 22 19:57:46 2005 Jonathan Blandford <jrb@redhat.com>
2508 * Makefile.am: fix distcheck.
2510 2005-04-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2512 * shell/ev-sidebar-links.c: (selection_changed_callback),
2513 (update_page_callback), (row_activated_callback),
2514 (job_finished_callback), (ev_sidebar_links_set_document):
2516 Fix for bug #169901. Double click on links expands tree.
2518 2005-03-14 Bryan Clark <clarkbw@cvs.gnome.org>
2520 * shell/ev-window.c (ev_window_init): Removed fullscreen toolbar
2521 hard-coded style. Fix for bug 170111
2523 2005-04-22 Kristian Høgsberg <krh@redhat.com>
2525 * shell/ev-view.c (highlight_find_results): Remove unnecessary
2528 2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
2530 * thumbnailer/evince-thumbnailer.schemas: real fix for bug 172496
2532 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
2534 * pdf/ev-poppler.cc:
2535 * shell/ev-view.c: (highlight_find_results):
2537 Fix find on single page documents
2539 2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
2541 * data/evince.schemas.in: fix for bug 301390
2543 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
2545 * shell/ev-view.c: (ev_view_can_zoom_in), (ev_view_can_zoom_out),
2546 (ev_view_zoom_out), (ev_view_zoom_normal):
2548 * shell/ev-window.c: (update_action_sensitivity),
2549 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
2550 (ev_window_cmd_view_zoom_in), (ev_window_cmd_view_zoom_out),
2551 (ev_window_cmd_view_normal_size):
2553 Fix normal size zoom. Make zoom in/zoom out unsensitive when
2554 they are behyond the limits. Tweak MAX_ZOOM to 6, sucks but
2557 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
2561 Depend on 2.57, 2.59 doesnt seem to be necessary
2563 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
2565 * shell/ev-page-action.c: (update_pages_label), (page_changed_cb),
2568 Put back total number of pages as (1 of 1234)
2570 Thu Apr 21 23:37:52 2005 Jonathan Blandford <jrb@redhat.com>
2572 * shell/ev-pixbuf-cache.c (dispose_cache_job_info): actually
2575 * backend/ev-document.h: Remove EV_DOC_MUTEX in favor of a locking
2576 function. This helps debugging.
2578 2005-04-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2580 * djvu/djvu-document.c: (djvu_document_class_init),
2581 (djvu_document_get_info), (djvu_document_document_iface_init):
2582 * dvi/dvi-document.c: (dvi_document_class_init),
2583 (dvi_document_get_info), (dvi_document_document_iface_init):
2585 Dummy implementation of get_info method for dvi and djvu. Fix
2586 crashes with those backends
2588 2005-04-20 Marco Pesenti Gritti <mpg@redhat.com>
2590 * data/evince.desktop.in:
2592 Add application/x-gzpostscript
2594 2005-04-20 Bryan Clark <clarkbw@cvs.gnome.org>
2596 * data/evince.schemas.in: Added real long descriptions,
2599 * README: Added actual text, closes bug 171869
2601 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
2603 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
2607 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
2609 * backend/ev-document-info.h:
2611 s/GDate */GDate so we can just use g_free
2613 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
2615 * shell/ev-window.c: (update_document_mode),
2616 (ev_window_setup_document):
2618 Show the window in fullscreen when specified by
2621 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
2623 * backend/ev-document.c: (ev_document_class_init),
2624 (ev_document_get_info), (ev_document_render_pixbuf):
2625 * backend/ev-document.h:
2626 * backend/ev-page-cache.c: (_ev_page_cache_new):
2627 * pdf/ev-poppler.cc:
2628 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
2629 (pixbuf_document_get_info), (pixbuf_document_document_iface_init):
2630 * ps/ps-document.c: (ps_document_class_init), (document_load),
2631 (ps_document_get_info), (ps_document_document_iface_init):
2633 Remove get_title from the interface, we can just use document info
2635 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
2637 * backend/Makefile.am:
2638 * backend/ev-document.c: (ev_document_render_get_info):
2639 * backend/ev-document.h:
2640 * pdf/ev-poppler.cc:
2642 Initial support for document info. Based on jrb patch.
2644 2005-04-19 Paolo Borelli <pborelli@katamail.com>
2646 * shell/ev-window.c: (ev_window_state_event),
2647 (ev_window_class_init), (ev_window_init):
2649 Doesn't show resize grip when maximized. See bug #301053
2651 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2655 ev-sidebar-thumbnails now has translatable labels
2657 * shell/Makefile.am:
2658 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document),
2659 (ev_sidebar_links_support_document), (ev_sidebar_links_get_label),
2660 (ev_sidebar_links_page_iface_init):
2661 * shell/ev-sidebar-links.h:
2662 * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
2663 (ev_sidebar_page_support_document), (ev_sidebar_page_set_document),
2664 (ev_sidebar_page_get_label):
2665 * shell/ev-sidebar-page.h:
2666 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_new),
2667 (ev_sidebar_thumbnails_set_document),
2668 (ev_sidebar_thumbnails_support_document),
2669 (ev_sidebar_thumbnails_get_label),
2670 (ev_sidebar_thumbnails_page_iface_init):
2671 * shell/ev-sidebar-thumbnails.h:
2672 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
2673 (ev_sidebar_set_document):
2674 * shell/ev-sidebar.h:
2675 * shell/ev-window.c: (ev_window_setup_document), (ev_window_init):
2677 Small rework of sidebar code. Now sidebar pages should implement
2678 EvSidebarPage interface. That makes page management in EvSidebar
2679 easier. See bug #164811 for details
2681 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2683 * shell/ev-application.c: (ev_application_open):
2684 * shell/ev-document-types.c:
2686 Fix build error and small problem with application exit
2688 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2690 * thumbnailer/Makefile.am:
2691 * thumbnailer/evince-thumbnailer-djvu.schemas:
2692 * thumbnailer/evince-thumbnailer-dvi.schemas:
2694 Conditionally install schemas for djvu/dvi thumbnailer
2696 2005-04-18 David Malcolm <dmalcolm@redhat.com>
2698 * shell/ev-document-types.h:
2699 * shell/ev-document-types.c:
2700 New files, handling the mapping from mimetypes to backends
2702 * shell/ev-window.c:
2703 * thumbnailer/evince-thumbnailer.c:
2704 Use the ev-document-types code
2706 * shell/Makefile.am:
2707 Added new convenience library libevbackendfactory_la, containing
2708 the new mimetype->backend logic; moved the backends into it.
2710 * thumbnailer/Makefile.am:
2711 Make the thumbnailer link with the libevbackend.la convenience
2712 library, rather than having a duplicate of the backend logic here.
2714 2005-04-18 Paolo Borelli <pborelli@katamail.com>
2716 * shell/ev-stock-icons.c: constify some vars.
2717 * shell/ev-window.c: ditto.
2719 2005-04-18 Marco Pesenti Gritti <mpg@redhat.com>
2721 * ps/ps-document.c (get_page_orientation):
2723 Respect document orientation
2725 2005-04-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2729 * shell/Makefile.am:
2731 Move library dependencies to components.
2733 * shell/ev-window.c: (update_window_title),
2734 (start_loading_document):
2736 Fix display of uris with spaces. Bug 168358.
2738 Sat Apr 16 18:53:47 2005 Jonathan Blandford <jrb@redhat.com>
2740 * shell/ev-sidebar-links.c: (selection_changed_cb):
2741 * shell/ev-view.c: (ev_view_finalize), (go_to_link),
2742 (ev_view_button_release_event), (ev_view_set_document):
2744 * shell/ev-window.c: (find_bar_search_changed_cb):
2745 * shell/ev-window.h: Minor cleanups removing some dead code.
2747 2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2749 * backend/ev-page-cache.c: (_ev_page_cache_new):
2751 Set current page to 0 if document has pages.
2753 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
2755 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
2757 Initialize GError to NULL, fix a crash when loading fails.
2759 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
2761 * shell/ev-window.c: (update_view_size):
2763 Calculate shadow size only when there is actually
2766 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
2768 * shell/ev-view.c: (ev_view_set_spacing), (ev_view_init):
2771 Allow setting view spacing, default to 0
2773 * shell/ev-window.c: (ev_window_unfullscreen),
2774 (ev_window_cmd_view_fullscreen), (ev_window_init):
2776 Remove spacing in fullscreen mode
2778 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
2780 * shell/ev-view.c: (compute_border), (compute_zoom_factor),
2781 (ev_view_size_request), (expose_bin_window),
2782 (ev_view_set_show_border), (ev_view_init), (page_changed_cb):
2784 * shell/ev-window.c: (ev_window_unfullscreen),
2785 (ev_window_cmd_view_fullscreen):
2787 Do not draw the border in fulscreen
2789 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
2791 * shell/ev-view.c: (ev_view_get_offsets), (compute_zoom_factor),
2792 (ev_view_size_request), (expose_bin_window), (ev_view_select_all),
2793 (find_page_at_location), (page_changed_cb):
2795 Rework border calculation, so that I can more easily disable it.
2796 Code somewhat cleaner too.
2798 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
2800 * backend/ev-page-cache.c: (ev_page_cache_init),
2801 (_ev_page_cache_new):
2803 Remove some assertions, documents can have 0 pages.
2804 Make initial current page -1.
2806 * shell/ev-page-action.c: (page_changed_cb):
2808 Show "" if current page is -1
2810 * shell/ev-window.c: (update_action_sensitivity),
2811 (ev_window_setup_document):
2813 When document has 0 pages do not set the view
2814 and make nearly everything insensitive.
2816 2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2818 * shell/ev-page-view.c:
2819 * shell/ev-page-view.h:
2821 Remove unused files.
2823 * shell/ev-sidebar-thumbnails.c:
2824 (ev_sidebar_thumbnails_set_document):
2825 * shell/ev-sidebar.c: (ev_sidebar_set_document),
2826 (ev_sidebar_supports_document):
2827 * shell/ev-sidebar.h:
2828 * shell/ev-window.c: (ev_window_setup_document):
2830 Doesn't show thumbnails if document has 1 page. Make
2831 sidebar menu entries sensitive only if if they have
2832 sense. Fix bug 164811.
2834 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
2836 * shell/ev-view.c: (compute_zoom_factor), (ev_view_size_request),
2837 (page_changed_cb), (ev_view_zoom), (ev_view_zoom_in),
2838 (ev_view_zoom_out), (ev_view_set_size):
2840 Rework sizing to deal with documents with not uniform page
2843 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
2845 * backend/ev-page-cache.c: (_ev_page_cache_new):
2847 Fix several page size caching bugs
2849 2005-04-15 Luca Ferretti <elle.uca@libero.it>
2851 * shell/ev-window.c: (set_action_properties):
2853 Make all toolbar items translatable
2855 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
2857 * ps/ps-document.c: (ps_document_init), (ps_document_get_type),
2858 (save_page_list), (ps_document_save),
2859 (ps_document_document_iface_init), (ps_document_ps_export_begin),
2860 (ps_document_ps_export_do_page), (ps_document_ps_export_end),
2861 (ps_document_ps_exporter_iface_init):
2864 Based on a patch by J�rg Billeter <j@bitron.ch>
2866 Implement print and save a copy for the ps backend.
2868 2005-04-14 Marco Pesenti Gritti <mpg@redhat.com>
2870 * backend/ev-document.h:
2871 * djvu/djvu-document.c: (djvu_document_can_get_text),
2872 (djvu_document_document_iface_init):
2873 * dvi/dvi-document.c: (dvi_document_can_get_text),
2874 (dvi_document_document_iface_init):
2875 * pdf/ev-poppler.cc:
2876 * pixbuf/pixbuf-document.c: (pixbuf_document_can_get_text),
2877 (pixbuf_document_document_iface_init):
2878 * ps/ps-document.c: (ps_document_can_get_text),
2879 (ps_document_document_iface_init):
2880 * shell/ev-view.c: (ev_view_copy), (ev_view_primary_get_cb):
2881 * shell/ev-window.c: (update_action_sensitivity):
2883 Fix the crash when trying to copy in backends that doesnt
2884 support it. We can implement a better solution once we
2885 do real text selection.
2887 2005-04-12 Marco Pesenti Gritti <mpg@redhat.com>
2889 * data/evince-ui.xml:
2890 * shell/ev-window.c: (ev_window_cmd_escape):
2892 Work around the Escape conflict (find bar and unfullscreen)
2894 2005-04-12 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
2896 * backend/ev-page-cache.c: (ev_page_cache_next_page):
2898 Fix for #300233. Next page correctly handles document end.
2900 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
2901 (ev_sidebar_thumbnails_class_init),
2902 (ev_sidebar_thumbnails_set_document),
2903 (ev_sidebar_thumbnails_clear_job),
2904 (ev_sidebar_thumbnails_clear_model):
2906 Cleanup thumbnail jobs on document changes.
2908 * shell/ev-view.c: (add_scroll_binding_keypad),
2909 (add_scroll_binding_shifted), (ev_view_class_init):
2911 Shift + Space scrolls up. Fix for #173184
2913 * shell/ev-window.c: (ev_window_open_page),
2914 (ev_window_cmd_view_reload):
2916 Fix reload (Bug #300094)
2918 2005-04-09 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2921 * dvi/mdvi-lib/assoc.c:
2922 * dvi/mdvi-lib/assoc.h: Removed garbage files
2924 * dvi/mdvi-lib/bitmap.c:
2925 * dvi/mdvi-lib/color.c: (mdvi_set_color), (mdvi_push_color),
2926 (mdvi_pop_color), (mdvi_reset_color), (get_color_table):
2927 * dvi/mdvi-lib/color.h: Antialias of rules
2929 * dvi/mdvi-lib/common.h:
2930 * dvi/mdvi-lib/dviread.c: (mdvi_configure), (mdvi_init_context),
2931 (mdvi_destroy_context), (draw_shrink_rule), (draw_box), (set_rule):
2932 * dvi/mdvi-lib/files.c:
2933 * dvi/mdvi-lib/fontmap.c: (ps_init_default_paths):
2934 * dvi/mdvi-lib/mdvi.h:
2935 * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
2936 * dvi/mdvi-lib/tfmfile.c: (ofm_load_file):
2937 * dvi/mdvi-lib/util.c: Fix compile warnings
2939 * dvi/dvi-document.c:
2940 (dvi_document_load), (dvi_document_thumbnails_get_dimensions),
2941 (dvi_document_thumbnails_get_thumbnail),
2942 (dvi_document_document_thumbnails_iface_init):
2943 * dvi/mdvi-lib/Makefile.am:
2944 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
2945 (dvi_pixbuf_set_color), (mdvi_pixbuf_device_render):
2947 Dvi backend now renders thumbnails
2949 2005-04-09 Christian Persch <chpe@cvs.gnome.org>
2951 * shell/main.c: (main):
2953 Save accelerators on exit. Fixes bug #172095.
2955 Sat Apr 9 01:05:09 2005 Jonathan Blandford <jrb@redhat.com>
2957 * shell/ev-pixbuf-cache.c (move_one_job): Actually fix the "FIXME:
2958 update priority" comment.
2960 * backend/ev-job-queue.c: Give a way to change priority.
2962 Sat Apr 9 00:05:36 2005 Jonathan Blandford <jrb@redhat.com>
2964 * shell/ev-page-action.c: Fix logic.
2966 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
2968 * shell/ev-view.c: (ev_view_can_find_next):
2969 * shell/ev-window.c: (ev_window_setup_document):
2971 Check that the document supports find
2973 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
2975 * data/evince-ui.xml:
2976 * shell/ev-view.c: (ev_view_can_find_next):
2978 * shell/ev-window.c: (update_action_sensitivity),
2979 (find_changed_cb), (ev_window_setup_document),
2980 (ev_window_cmd_edit_find_next):
2984 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
2986 * pdf/ev-poppler.cc:
2987 * shell/ev-print-job.c: (idle_print_handler):
2989 Make printing work again
2991 Fri Apr 8 01:12:24 2005 Jonathan Blandford <jrb@redhat.com>
2993 * shell/ev-page-action.h:
2994 * shell/ev-page-action.c: (ev_page_action_widget_init),
2995 (ev_page_action_widget_class_init), (page_changed_cb),
2996 (create_tool_item), (update_page_cache), (build_new_tree_cb),
2997 (get_filter_model_from_model), (match_selected_cb),
2998 (display_completion_text), (match_completion), (update_model),
2999 (connect_proxy), (ev_page_action_set_property),
3000 (ev_page_action_get_property), (ev_page_action_set_document),
3001 (ev_page_action_set_model), (ev_page_action_class_init): Big
3002 reworking to make completions work iff we have >= GTK-2.7.0
3004 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_property),
3005 (ev_sidebar_links_get_property), (ev_sidebar_links_class_init),
3006 (job_finished_cb): We now have a 'model' property that is set when
3007 the links are loaded. This can be caught with "notify::model"
3009 * shell/ev-window.c: (sidebar_widget_model_set), (ev_window_init):
3010 listen for the model to be set, and propagate it to the action.
3012 2005-04-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3014 * cut-n-paste/recent-files/egg-recent-item.c:
3015 (egg_recent_item_set_uri), (make_valid_utf8),
3016 (egg_recent_item_set_mime_type), (egg_recent_item_get_mime_type):
3017 * cut-n-paste/recent-files/egg-recent-item.h:
3019 Update egg-recent from libegg. This should fix long
3020 startup problem. For details see
3021 http://bugzilla.gnome.org/show_bug.cgi?id=160531
3023 2005-04-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3025 * cut-n-paste/recent-files/Makefile.am:
3026 * data/evince-ui.xml, shell/Makefile.am:
3027 * shell/ev-application.c, shell/ev-application.h:
3028 * shell/ev-window.c: Recent files support.
3030 * configure.ac: Added "ru" to ALL_LINGUAS.
3032 * dvju: new backend to support DJVU files.
3033 * dvi: new backend to support DVI.
3035 * configure.ac, Makefile.am, shell/Makefile.am, ev-window.c:
3036 * ev-application.c: Support for new backends.
3038 * help, ev-window.c, main.c shell/Makefile.am:
3039 Evince user documentation.
3041 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
3044 * shell/ev-window.c:
3045 * thumbnailer/evince-thumbnailer.c:
3047 s/pdf-document/ev-poppler
3049 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
3056 * ps/ps-document.c: (setup_pixmap):
3060 2005-04-05 Kristian Høgsberg <krh@redhat.com>
3062 * backend/ev-page-cache.c (ev_page_cache_next_page):
3063 * shell/ev-window.c (ev_window_cmd_go_next_page)
3064 (ev_window_cmd_go_first_page): Fix of by one errors.
3066 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
3068 * ps/ps-document.c: (get_page_box):
3070 Fix page size calculation
3072 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
3074 * ps/ps-document.c: (ps_document_init), (push_pixbuf),
3075 (ps_document_cleanup), (setup_pixmap), (get_page_box),
3076 (get_page_orientation), (setup_page), (document_load),
3077 (ps_document_get_page_size), (render_pixbuf_idle):
3080 More refactoring to adapt to EvDocument changes
3082 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
3084 * ps/ps-document.c: (start_interpreter):
3086 Actually add alpha args
3088 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
3090 * pdf/ev-poppler.cc:
3092 Make clipboard work again
3094 2005-04-04 Kristian Høgsberg <krh@redhat.com>
3096 Make searching work again.
3098 * backend/ev-document.c:
3099 * backend/ev-document.h:
3100 * backend/ev-document-find.c:
3101 * backend/ev-document-find.h: Change EvDocumentIface so we no
3102 longer store the current page or zoom level in the document. The
3103 consequence is that all calls that operate on the current page now
3104 instead take the page number as an extra argument, and all
3105 coordinates are now doubles in document coordinate system.
3107 * pdf/ev-poppler.cc:
3108 * pixbuf/pixbuf-document.c:
3109 * ps/ps-document.c: Update backends accordingly.
3111 2005-04-04 Marco Pesenti Gritti <marco@gnome.org>
3115 Add required gettext version
3117 Sat Apr 2 18:57:00 2005 Jonathan Blandford <jrb@redhat.com>
3119 * shell/evwindow.c: Patch from Alberto Mesas <amesas@gmail.com> to
3120 make F1 bring up non-existent help.
3122 * shell/eggfindbar.c: Patch from Christian Persch to sync to
3123 epiphany's find bar, #167477
3125 * shell/ev-view.c (ev_view_jump): Patch from Emil Soleyman-Zomalan
3126 <emil@nishra.com> to add space-bar scrolling,
3128 * shell/ev-window.c (static GtkActionEntry entries): add default
3129 keybinding for Help (F1)
3132 * shell/ev-view.c (ev_view_show_cursor): Fix from Yuval Tanny
3133 changing EV_VIEW_CURSOR_LINK to EV_VIEW_CURSOR_NORMAL resolves bug
3136 2005-04-01 David Malcolm <dmalcolm@redhat.com>
3139 * pixbuf/pixbuf-document.c:
3141 Got pixbuf backend working again
3143 2005-04-01 Steve Murphy <murf@e-tools.com>
3145 * configure.in: Added "rw" to ALL_LINGUAS.
3147 Fri Apr 1 02:33:41 2005 Jonathan Blandford <jrb@redhat.com>
3149 * shell/ev-sidebar-links.c (create_loading_model): Fix mismatch in
3150 model types, noticed by Martin Kretzschmar.
3152 2005-04-01 Kristian Høgsberg <krh@redhat.com>
3154 * pdf/ev-poppler.cc: Implement search based on
3155 poppler_page_find_text(). Currently a bit crude since we remember
3156 all matches from all pages. Also, we grab the big document lock
3157 when we search since searching changes the underlying stream and
3158 thus conflicts with the rendering thread.
3160 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
3161 (jump_to_find_page), (ev_view_set_document), (ev_view_find_next),
3162 (ev_view_find_previous): Fix some page indexes to be 0 based,
3163 offset rubber band by view offset,
3165 Fri Apr 01 09:21:12 2005 Pablo Saratxaga <pablo@mandrakesoft.com>
3167 * configure.ac: Added Walloon (wa) to ALL_LINGUAS.
3169 Fri Apr 1 01:59:39 2005 Jonathan Blandford <jrb@redhat.com>
3171 * shell/ev-page-action.c: Changed to use page labels now. Rewrote
3172 completely because I didn't understand GtkActions. I should
3173 read Marco's code more carefully in the future.
3175 * backend/ev-page-cache.h (ev_page_cache_set_page_label): New
3178 2005-03-31 Kristian Høgsberg <krh@redhat.com>
3180 * pdf/ev-poppler.cc (pdf_document_get_links): Update to work with
3181 PopplerRectangle change from poppler CVS.
3183 Thu Mar 31 13:27:50 2005 Jonathan Blandford <jrb@redhat.com>
3185 * backend/ev-document.c: (ev_document_get_page_label):
3186 * backend/ev-document.h:
3187 * backend/ev-page-cache.c: (_ev_page_cache_new),
3188 (ev_page_cache_get_page_label):
3189 * backend/ev-page-cache.h:
3190 * pdf/ev-poppler.cc:
3191 * shell/ev-sidebar-links.c: (ev_sidebar_links_construct),
3192 (links_page_num_func):
3193 * shell/ev-sidebar-thumbnails.c:
3194 (ev_sidebar_thumbnails_set_document):
3195 * shell/ev-view.c: (status_message_from_link),
3196 (ev_view_motion_notify_event):
3197 * shell/ev-window.c: (document_supports_sidebar): Add in page
3198 label support. It's not perfect yet, but it's the first 'feature'
3200 Also, fix a bogus comment noticed by crispin.
3202 Thu Mar 31 01:21:58 2005 Jonathan Blandford <jrb@redhat.com>
3204 * Makefile.am: Remove pixbuf backend for now
3206 * configure.ac: Require poppler-glib instead of just poppler.
3208 * backend/ev-document-thumbnails.h: Add a comment
3210 * backend/ev-document.h:
3211 * backend/ev-document.c: (ev_document_class_init),
3212 (ev_document_load), (ev_document_get_link),
3213 (ev_document_get_links): Remove 3 methods and add get_links.
3216 * backend/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
3217 * backend/ev-jobs.h: now EvJobRender can grab the links for a document.
3219 * backend/ev-link.c: (ev_link_set_title),
3220 (ev_link_mapping_free_foreach), (ev_link_mapping_free),
3221 (ev_link_mapping_find):
3222 * backend/ev-link.h: Allow NULL titles. Also, introduce a mapping link.
3224 * backend/ev-page-cache.c: (ev_page_cache_init),
3225 (_ev_page_cache_new), (ev_page_cache_set_current_page),
3226 (ev_page_cache_get_size), (ev_page_cache_next_page),
3227 (ev_page_cache_prev_page): Fix to be 0 based.
3231 * pdf/ev-poppler.cc: New backend.
3233 * ps/ps-document.c: (ps_document_init), (ps_document_set_page),
3234 (ps_document_get_page), (ps_document_document_iface_init):
3236 * shell/ev-pixbuf-cache.h:
3237 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
3238 (dispose_cache_job_info), (job_finished_cb), (move_one_job),
3239 (ev_pixbuf_cache_update_range), (copy_job_to_job_info),
3240 (add_job_if_needed), (ev_pixbuf_cache_set_page_range),
3241 (ev_pixbuf_cache_get_pixbuf), (ev_pixbuf_cache_get_link_mapping):
3242 Fix up code to grab a page cache per each doc. Also, fix to be 0
3245 * shell/ev-sidebar-thumbnails.c:
3246 (ev_sidebar_tree_selection_changed), (page_changed_cb),
3247 (ev_sidebar_thumbnails_set_document): Fix to be 0 based.
3249 * shell/ev-view.c: (status_message_from_link),
3250 (find_page_at_location), (get_link_at_location),
3251 (ev_view_motion_notify_event), (ev_view_button_release_event),
3252 (ev_view_init): Use the new link code. Fix to be 0 based.
3254 * shell/ev-window.c: (update_action_sensitivity),
3255 (document_supports_sidebar): 0 based.
3257 Fri Mar 25 16:55:58 2005 Jonathan Blandford <jrb@redhat.com>
3259 * pdf/pdf-document.cc: Patch from Fernando Herrera
3260 <fherrera@onirica.com> to fix my quick fix to get_thumbnail.
3263 Wed Mar 23 23:49:41 2005 Jonathan Blandford <jrb@redhat.com>
3265 * pdf/pdf-document.cc (pdf_document_thumbnails_get_thumbnail): add
3266 1 to the page, as this seems to be 1 based. I thought we has this
3269 2005-03-23 Marco Pesenti Gritti <marco@gnome.org>
3272 * backend/Makefile.am:
3273 * backend/ev-document-links.c:
3274 (ev_document_links_has_document_links),
3275 (ev_document_links_get_links_model):
3276 * backend/ev-document-links.h:
3277 * backend/ev-document.c: (ev_document_get_page_cache),
3278 (ev_document_get_doc_mutex), (ev_document_load),
3279 (ev_document_save), (ev_document_get_title),
3280 (ev_document_get_n_pages), (ev_document_set_page),
3281 (ev_document_get_page), (ev_document_set_target),
3282 (ev_document_set_scale), (ev_document_set_page_offset),
3283 (ev_document_get_page_size), (ev_document_get_text),
3284 (ev_document_get_link), (ev_document_render),
3285 (ev_document_render_pixbuf), (ev_document_scale_changed):
3286 * backend/ev-document.h:
3287 * backend/ev-job-queue.c: (remove_object_from_queue),
3288 (notify_finished), (handle_job), (search_for_jobs_unlocked),
3289 (no_jobs_available_unlocked), (ev_render_thread),
3290 (ev_job_queue_init), (find_queue), (ev_job_queue_add_job),
3291 (ev_job_queue_remove_job):
3292 * backend/ev-job-queue.h:
3293 * backend/ev-jobs.c: (ev_job_init), (ev_job_dispose),
3294 (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
3295 (ev_job_links_class_init), (ev_job_render_init),
3296 (ev_job_render_dispose), (ev_job_render_class_init),
3297 (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
3298 (ev_job_thumbnail_class_init), (ev_job_finished),
3299 (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
3300 (ev_job_render_run), (ev_job_thumbnail_new),
3301 (ev_job_thumbnail_run):
3302 * backend/ev-jobs.h:
3303 * backend/ev-link.c:
3304 * backend/ev-link.h:
3305 * backend/ev-page-cache.c: (ev_page_cache_init),
3306 (ev_page_cache_class_init), (ev_page_cache_finalize),
3307 (_ev_page_cache_new), (ev_page_cache_get_n_pages),
3308 (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
3309 (ev_page_cache_set_link), (ev_page_cache_get_title),
3310 (ev_page_cache_get_size), (ev_page_cache_next_page),
3311 (ev_page_cache_prev_page):
3312 * backend/ev-page-cache.h:
3313 * pdf/pdf-document.cc:
3316 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
3317 (push_pixbuf), (interpreter_failed), (ps_document_cleanup),
3318 (ps_document_widget_event), (ps_document_finalize), (get_xdpi),
3319 (get_ydpi), (setup_pixmap), (setup_page), (close_pipe),
3320 (is_interpreter_ready), (output), (catchPipe), (input),
3321 (start_interpreter), (check_filecompressed), (compute_dimensions),
3322 (ps_document_enable_interpreter), (document_load),
3323 (ps_document_next_page), (render_page), (ps_document_set_page),
3324 (ps_document_set_scale), (render_pixbuf_idle),
3325 (ps_document_render_pixbuf), (ps_document_document_iface_init):
3327 * shell/Makefile.am:
3328 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
3329 (ev_pixbuf_cache_class_init), (ev_pixbuf_cache_finalize),
3330 (dispose_cache_job_info), (ev_pixbuf_cache_dispose),
3331 (ev_pixbuf_cache_new), (job_finished_cb),
3332 (check_job_size_and_unref), (move_one_job),
3333 (ev_pixbuf_cache_update_range), (find_job_cache),
3334 (ev_pixbuf_cache_clear_job_sizes), (add_job_if_needed),
3335 (ev_pixbuf_cache_add_jobs_if_needed),
3336 (ev_pixbuf_cache_set_page_range), (ev_pixbuf_cache_get_pixbuf):
3337 * shell/ev-pixbuf-cache.h:
3338 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
3339 (idle_print_handler):
3340 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
3341 (selection_changed_cb), (create_loading_model),
3342 (ev_sidebar_links_construct), (links_page_num_func),
3343 (ev_sidebar_links_clear_document), (update_page_callback_foreach),
3344 (update_page_callback), (job_finished_cb),
3345 (ev_sidebar_links_set_document):
3346 * shell/ev-sidebar-thumbnails.c:
3347 (ev_sidebar_thumbnails_class_init), (adjustment_changed_cb),
3348 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init),
3349 (page_changed_cb), (thumbnail_job_completed_callback),
3350 (ev_sidebar_thumbnails_set_document):
3351 * shell/ev-sidebar-thumbnails.h:
3352 * shell/ev-sidebar.c: (ev_sidebar_set_document):
3353 * shell/ev-view.c: (ev_view_finalize), (ev_view_destroy),
3354 (ev_view_get_offsets), (ev_view_size_request), (ev_view_realize),
3355 (ev_view_unrealize), (highlight_find_results), (expose_bin_window),
3356 (ev_view_select_all), (ev_view_copy), (ev_view_primary_get_cb),
3357 (ev_view_create_invisible_cursor), (ev_view_motion_notify_event),
3358 (ev_view_button_release_event), (ev_view_scroll_view),
3359 (ev_view_class_init), (ev_view_init), (update_find_status_message),
3360 (jump_to_find_result), (jump_to_find_page), (find_changed_cb),
3361 (ev_view_new), (job_finished_cb), (page_changed_cb),
3362 (ev_view_set_document), (go_to_link), (ev_view_zoom),
3363 (size_to_zoom_factor), (ev_view_set_size), (ev_view_find_next),
3364 (ev_view_find_previous):
3366 * shell/ev-window.c: (update_action_sensitivity),
3367 (ev_window_open_page), (update_window_title), (update_total_pages),
3368 (page_changed_cb), (ev_window_setup_document),
3369 (password_dialog_response), (ev_window_cmd_save_as),
3370 (ev_window_print), (ev_window_cmd_go_previous_page),
3371 (ev_window_cmd_go_next_page), (ev_window_cmd_go_first_page),
3372 (ev_window_cmd_go_last_page), (ev_window_cmd_view_reload),
3373 (find_bar_search_changed_cb), (goto_page_cb), (ev_window_init):
3374 * shell/main.c: (main):
3376 Merge evince-threads branch
3378 2005-03-16 Žygimantas Beručka <uid0@akl.lt>
3380 * configure.ac: Added "lt" to ALL_LINGUAS.
3382 2005-03-14 Marco Pesenti Gritti <marco@gnome.org>
3389 2005-03-13 Fernando Herrera <fherrera@onirica.com>
3391 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3393 Fix here also the thumbnails 1-basedness :)
3395 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
3402 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
3404 * pdf/pdf-document.cc:
3405 * shell/ev-sidebar-thumbnails.c: (adjustment_changed_cb),
3406 (do_one_iteration), (ev_sidebar_thumbnails_set_document):
3408 Fix the mess we did with thumbnails and 1-basedness
3410 2005-03-12 Changwoo Ryu <cwryu@debian.org>
3412 * configure.ac (ALL_LINGUAS): Added "ko" (Korean).
3414 2005-03-09 Marco Pesenti Gritti <marco@gnome.org>
3421 2005-03-08 Marco Pesenti Gritti <marco@gnome.org>
3424 * ps/gsdefaults.c: (gtk_gs_defaults_get_interpreter_cmd),
3425 (gtk_gs_defaults_get_alpha_parameters),
3426 (gtk_gs_defaults_get_ungzip_cmd),
3427 (gtk_gs_defaults_get_unbzip2_cmd):
3429 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
3430 (ps_document_get_orientation), (document_load),
3431 (ps_document_goto_page), (ps_document_set_page_size):
3434 Some more sanitization of the ps backend. Remove a lot
3435 of unused code and do not base our defaults on ggv
3438 2005-03-08 Fernando Herrera <fherrera@onirica.com>
3440 * thumbnailer/evince-thumbnailer.schemas:
3441 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
3442 (main): add -s option for thumbnail size.
3444 2005-03-07 Christian Persch <chpe@cvs.gnome.org>
3448 AC_PROG_RANLIB is rendered obsolete by AC_PROG_LIBTOOL;
3451 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
3453 * pdf/pdf-document.cc:
3455 Remove 4 pixels of useless border from the
3458 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
3460 * backend/ev-document-thumbnails.c:
3461 (ev_document_thumbnails_get_thumbnail):
3462 * backend/ev-document-thumbnails.h:
3464 Rework API a bit. Add a border flag and
3465 change sizing logic (now the size we specify
3466 applies to the bigger dimension).
3468 * pdf/pdf-document.cc:
3469 * pixbuf/pixbuf-document.c:
3470 (pixbuf_document_thumbnails_get_thumbnail):
3471 * shell/ev-sidebar-thumbnails.c: (do_one_iteration):
3472 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3474 Adapt to the new API and do not draw a border for nautilus
3477 2005-03-03 Fernando Herrera <fherrera@onirica.com>
3479 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3480 take thumbnails from page "0" instead of "1". Added a copyright header.
3482 2005-03-03 Jens Granseuer <jensgr@gmx.net>
3484 * ps/ps-document.c: (set_up_page), (start_interpreter):
3486 Make it C89 compliant
3488 2005-03-03 Marco Pesenti Gritti <marco@gnome.org>
3493 * pdf/pdf-document.cc:
3494 * thumbnailer/Makefile.am:
3495 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
3497 * thumbnailer/evince-thumbnailer.schemas:
3498 * thumbnailer/pdf-icon.png:
3500 Add a nautilus thumbnailer.
3501 Based on patch by Fernando Herrera <fherrera@onirica.com>.
3503 2005-03-02 Marco Pesenti Gritti <marco@gnome.org>
3511 2005-03-01 Kristian Høgsberg <krh@redhat.com>
3513 Use poppler instead of including xpdf source code. Poppler is a
3514 fork of xpdf to build it as a shared library. See
3515 http://freedesktop.org/wiki/Software/poppler.
3517 * pdf/xpdf/*, pdf/goo/*, pdf/splash/*, pdf/fofi/*: Remove included
3520 * pdf/Makefile.am: Build libpdfdocument.a here.
3522 * pdf/GDKSplashOutputDev.cc:
3523 * pdf/GDKSplashOutputDev.h:
3524 * pdf/GnomeVFSStream.cc:
3525 * pdf/GnomeVFSStream.h:
3528 * test-gdk-output-dev.cc
3530 * Thumb.h: Pull these files out of pdf/xpdf and adjust to compile
3533 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
3535 * shell/ev-sidebar-links.c: (ev_sidebar_links_clear_document):
3537 Clear idle stack before unsetting the document
3539 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
3541 * ps/ps-document.c: (ps_document_widget_event),
3542 (ps_document_set_target), (ps_document_finalize),
3543 (ps_document_get_page):
3545 Disconnect the widget event signal on finalize.
3548 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
3550 * ps/ps-document.c: (set_up_page):
3552 If there is no bpixmap create one, even if size
3555 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
3557 * ps/ps-document.c: (ps_document_init), (ps_document_cleanup),
3558 (set_up_page), (document_load), (ps_document_set_zoom):
3560 Default page is 0. Calculate size even when we have no
3563 2005-02-28 Carlos Garcia Campos <carlosgc@gnome.org>
3565 * shell/ev-sidebar.c: expand the selection widget to be always as
3568 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
3570 * shell/ev-sidebar-thumbnails.c:
3571 (ev_sidebar_thumbnails_set_document):
3573 Clear the list store when setting document
3575 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
3577 * shell/ev-page-action.c: (update_entry), (sync_entry),
3578 (activate_cb), (entry_size_request_cb), (create_tool_item),
3581 Use an entry for the page control instead of spinbuttons
3583 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
3585 * data/evince.schemas.in:
3587 Correct confusing string
3589 Sun Feb 27 23:00:31 2005 Jonathan Blandford <jrb@redhat.com>
3591 * shell/ev-sidebar-links.c (do_one_iteration): Handle title links
3592 for real. Gosh, how long has this been broken.
3594 * pdf/xpdf/pdf-document.cc (build_link_from_action): add back the
3595 check for a NULL link. We crash otherwise.
3597 2005-02-27 Marco Pesenti Gritti <marco@gnome.org>
3604 2005-02-25 Sebastien Bacher <seb128@debian.org>
3606 * configure.ac: add the french translation.
3608 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
3610 * shell/ev-window.c:
3612 Remove unused header -> fix distcheck
3614 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
3616 * shell/ev-window.c: (update_window_title),
3617 (ev_window_popup_password_dialog):
3619 Unescape filename for display
3621 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
3623 * pdf/xpdf/pdf-document.cc:
3625 In get_page_size deal with rotation. Also
3626 cleanup the function a bit.
3628 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
3630 * pdf/xpdf/pdf-document.cc:
3632 Fix crash when opening in new window
3634 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
3638 Check ghostscript >= 7
3640 2005-02-25 Pedro Villavicencio <pvillavi@gnome.cl>
3642 * shell/ev-window.c:
3644 Make page width the default sizing mode
3646 2005-02-25 Carlos Garcia Campos <carlosgc@gnome.org>
3647 Marco Pesenti Gritti <marco@gnome.org>
3649 * shell/ev-window.c: Remember the sidebar size
3651 * data/evince.schemas.in: Add a new gconf key to store the size of
3654 2005-02-24 Kai Willadsen <kaiw@itee.uq.edu.au>
3656 * data/evince-ui.xml:
3657 * shell/ev-window.c: (update_action_sensitivity),
3658 (ev_window_cmd_view_reload):
3660 Add a "Reload" action and menu entry
3662 Thu Feb 24 23:07:33 2005 Jonathan Blandford <jrb@redhat.com>
3664 * shell/ev-window.c (hide_sidebar_and_actions): Hide the sidebar
3665 iff the type doesn't support thumbnailing and indexing.
3667 2005-02-24 Martin Kretzschmar <martink@gnome.org>
3669 * configure.ac (ALL_LINGUAS): Added "zh_TW" (Traditional Chinese).
3671 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
3673 * pdf/splash/Splash.cc:
3675 Port fix for a crasher from kde bug
3676 http://bugs.kde.org/show_bug.cgi?id=97131
3678 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
3680 * pdf/xpdf/pdf-document.cc:
3682 Return a link even if it's of an unrecognized
3683 type. Otherwise we go in an infinte cycle.
3685 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
3687 * shell/ev-window.c: (update_sizing_buttons), (update_view_size),
3688 (size_allocate_cb), (ev_window_set_sizing_mode):
3690 Update size when switching mode
3692 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
3694 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
3695 (ev_window_cmd_view_page_width), (update_sizing_buttons),
3696 (ev_window_cmd_view_normal_size):
3698 Fix size toggle buttons behavior
3700 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
3702 * shell/ev-view.c: (ev_view_get_offsets), (view_rect_to_doc_rect),
3703 (doc_rect_to_view_rect), (ev_view_size_allocate),
3704 (expose_bin_window), (ev_view_select_all), (page_changed_callback),
3705 (scale_changed_callback):
3707 Do not cache offsets in size_allocate.
3709 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
3711 * shell/ev-view.c: (ev_view_size_allocate):
3713 Calculate offsets before calling the parent
3714 class (which does a redraw)
3716 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
3718 * pdf/xpdf/pdf-document.cc:
3720 Fix a crasher on exit. Unused code, put a TODO
3722 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
3724 * backend/ev-document.c: (ev_document_class_init),
3725 (ev_document_page_changed), (ev_document_scale_changed):
3726 * backend/ev-document.h:
3728 Separate page/scale notifications
3730 * pdf/xpdf/pdf-document.cc:
3732 Emit the new signals.
3733 Do not display the pdf page in _render, do it
3734 when scale/page are requested.
3736 * ps/ps-document.c: (ps_document_set_zoom),
3737 (ps_document_widget_event):
3740 Emit the new signals.
3742 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
3743 (ev_view_init), (page_changed_callback), (scale_changed_callback),
3744 (ev_view_set_document), (ev_view_zoom), (ev_view_zoom_in),
3745 (ev_view_zoom_out), (size_to_zoom_factor), (ev_view_set_size):
3747 * shell/ev-window.c: (ev_window_cmd_view_normal_size),
3748 (ev_window_cmd_view_page_width), (size_allocate_cb),
3749 (ev_window_set_sizing_mode):
3751 Rework sizing to be pixel based.
3752 There are bugs but should be already way better.
3754 2005-02-23 Marco Pesenti Gritti <marco@gnome.org>
3756 * shell/ev-window.c: (ev_window_init):
3758 Do not allow to shrink sidebar smaller then
3761 2005-02-23 Carlos Garcia Campos <carlosgc@gnome.org>
3763 * shell/ev-sidebar.[ch]
3764 * shell/ev-window.c:
3766 Improved sidebar widget. Fixes #166683
3768 2005-02-23 Tommi Vainikainen <thv@iki.fi>
3770 * shell/ev-view.c (update_find_status_message): Give translators
3771 more flexibility with ngettext plural handling.
3773 Mon Feb 21 17:52:08 2005 Jonathan Blandford <jrb@redhat.com>
3775 * pdf/xpdf/pdf-document.cc (pdf_document_get_page_size): Patch
3776 from Crispin Flowerday <gnome@flowerday.cx> to avoid rendering the
3777 page when we get the page size.
3779 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
3781 * ps/ps-document.c: (ps_document_set_page), (ps_document_get_page):
3783 ps pages are 0 based, convert
3785 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
3787 * ps/ps-document.c: (ps_document_class_init), (ps_document_load):
3789 Initialize correct parent class. Set GError on document load
3791 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
3793 * pdf/xpdf/pdf-document.cc:
3795 Fixup selection offset calculation
3797 * shell/ev-view.c: (view_rect_to_doc_rect),
3798 (doc_rect_to_view_rect), (ev_view_size_allocate),
3799 (expose_bin_window), (ev_view_select_all), (ev_view_copy),
3800 (ev_view_primary_get_cb), (ev_view_motion_notify_event):
3802 Store selection as document relative, so that zooming
3803 and offset changing doesnt break it.
3805 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
3807 * shell/ev-view.c: (ev_view_best_fit):
3809 Do not try to best fit if the view is not realized
3811 2005-02-20 Kostas Papadimas <pkst@gnome.org>
3813 * configure.ac (ALL_LINGUAS): Added "el" (Greek).
3815 Fri Feb 18 16:06:39 2005 Jonathan Blandford <jrb@redhat.com>
3817 * shell/ev-window.c (ev_window_focus_in_event): missed a case.
3819 Fri Feb 18 15:32:57 2005 Jonathan Blandford <jrb@redhat.com>
3821 * shell/ev-window.c: Change the fullscreen toolbar to always be in
3822 the popup window. That prevents it resizing when in full screen
3825 * shell/ev-view.c: Change Zoom epsilon as a bad hack to avoid
3826 multiple rerenders. This pretty much sucks.
3828 * data/evince-ui.xml: Change the fullscreen toolbar to include the
3829 rest of the toolbar.
3831 2005-02-18 Tommi Vainikainen <thv@iki.fi>
3833 * configure.ac (ALL_LINGUAS): Added "fi" (Finnish).
3835 2005-02-17 Alexander Shopov <ash@contact.bg>
3837 * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
3839 2005-02-16 Bryan Clark <clarkbw@cvs.gnome.org>
3841 * shell/ev-window.c: added ellipsis to Print item. Fixes bug 166915
3843 2005-02-16 Marco Pesenti Gritti <marco@gnome.org>
3845 * shell/ev-view.c: (ev_view_realize), (highlight_find_results),
3846 (ev_view_create_invisible_cursor), (ev_view_set_cursor),
3847 (set_document_page), (document_changed_callback),
3848 (ev_view_set_document), (ev_view_find_previous),
3849 (ev_view_hide_cursor), (ev_view_show_cursor):
3851 * shell/ev-window.c: (update_chrome_visibility),
3852 (fullscreen_timeout_cb), (fullscreen_set_timeout),
3853 (fullscreen_clear_timeout), (fullscreen_motion_notify_cb),
3854 (fullscreen_leave_notify_cb), (ev_window_fullscreen),
3855 (ev_window_unfullscreen):
3856 * shell/main.c: (main):
3858 Automatically hide the fullscreen button.
3859 Patch by Kristian Høgsberg <krh@redhat.com>
3861 2005-02-16 Vincent Noel <vnoel@cox.net>
3863 * shell/main.c (main): Specify an icon for the window. Patch by
3864 Jaap A. Haitsma. Fixes #166177.
3866 Wed Feb 16 06:30:13 2005 Jonathan Blandford <jrb@redhat.com>
3868 * shell/ev-view.c (ev_view_realize): get rid of the black flash.
3870 Tue Feb 15 22:27:13 2005 Jonathan Blandford <jrb@redhat.com>
3872 * backend/ev-document-misc.h:
3873 * backend/ev-document-misc.c:
3874 (ev_document_misc_get_page_border_size),
3875 (ev_document_misc_paint_one_page): New function to canonicalize
3876 sizing/painting a border.
3878 * shell/Makefile.am: Remove ev-page-view.c entirely as it's not
3881 * pdf/xpdf/pdf-document.cc: use new function
3883 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
3884 (ev_view_init), (ev_view_set_mode), (ev_view_zoom),
3885 (ev_view_best_fit), (ev_view_fit_width): * shell/ev-view.h: *
3886 shell/ev-window.c: (update_sizing_buttons),
3887 (ev_window_setup_document), (ev_window_cmd_view_zoom_in),
3888 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_best_fit),
3889 (ev_window_cmd_view_page_width), (size_allocate_cb),
3890 (ev_window_set_sizing_mode), (ev_window_init): make the "best fit"
3891 and "fit width" values act as toggle buttons so they stay
3892 toggled. It's not 100% perfect, and it's a little slow, but it's
3893 good enough to commit I think.
3895 2005-02-15 David Lodge <dave@cirt.net>
3897 * configure.ac (ALL_LINGUAS): Added "en_GB" (English (British)).
3899 2005-02-15 Martin Kretzschmar <martink@gnome.org>
3901 * shell/ev-window.c (update_window_title): replace newlines in
3902 the title by spaces. Bug #166107.
3904 2005-02-14 Martin Kretzschmar <martink@gnome.org>
3906 * shell/ev-view.c (ev_view_best_fit, ev_view_fit_width): add
3907 parameters providing allocation width and height without
3908 scrollbars and width of a possible vertical scrollbar. With this
3909 additional information the functions can work as
3910 intended. Unfortunately they're not idempotent. We should
3911 transform these commands to toggles. Fixes Bug #164976
3912 Initial patch by Stephane Loeuillet, then heavily modified.
3914 * shell/ev-view.h: update prototypes.
3916 * shell/ev-window.c (ev_window_cmd_view_best_fit)
3917 (ev_window_cmd_view_page_width): provide EvView fit functions with
3918 all the information they need. Formulas to calculate this
3919 information taken from GtkScrolledWindow.
3921 2005-02-14 Crispin Flowerday <gnome@flowerday.cx>
3923 * shell/ev-sidebar-thumbnails.c: Ensure that after we have
3924 created a thumbnail, the list store is updated to know
3925 that the thumbnail is set. Fixes bug #166792
3927 2005-02-11 Bryan Clark <clarkbw@cvs.gnome.org>
3929 * shell/ev-window.c: fixed typo, closes bug 166897
3931 * TODO: updated TODO with bug numbers that are relevant
3933 2005-02-09 Carlos Garcia Campos <carlosgc@gnome.org>
3935 * shell/ev-window.c: Support for DnD of files. Fixes #164813
3937 2005-02-09 Vincent Noel <vnoel@cox.net>
3939 * shell/ev-window.c: (set_action_properties): Set the "Previous"
3940 and "Next" toolbar buttons as important to make them stand out.
3942 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
3946 * ps/ps-document.c: (ps_document_finalize), (set_up_page),
3947 (start_interpreter), (stop_interpreter), (document_load),
3948 (ps_document_next_page), (ps_document_goto_page),
3949 (ps_document_set_page_size), (ps_document_widget_event),
3950 (ps_document_render):
3951 * shell/ev-page-view.c: (ev_page_view_dispose):
3952 * shell/ev-view.c: (ev_view_finalize), (expose_bin_window):
3954 Fix compilation on non-gcc platforms
3956 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
3963 * pdf/xpdf/Catalog.cc:
3966 Fix the fix for CAN-2004-0888
3968 2005-02-09 Luca Ferretti <elle.uca@libero.it>
3971 * data/evince-ui.xml:
3972 * shell/ev-stock-icons.c: (ev_stock_icons_init):
3973 * shell/ev-stock-icons.h:
3974 * shell/ev-window.c: (update_action_sensitivity),
3975 (ev_window_cmd_go_previous_page), (ev_window_cmd_go_next_page),
3976 (set_action_properties):
3978 Improve toolbar layout/icons
3980 2005-02-08 Marco Pesenti Gritti <marco@gnome.org>
3982 * pdf/xpdf/pdf-document.cc:
3984 Add warnings about unimplemented/unknown link
3987 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
3989 * ps/ps-document.c: (set_up_page):
3993 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
3995 * ps/ps-document.c: (start_interpreter):
3999 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4001 * shell/ev-page-view.c: (ev_page_view_dispose):
4002 * shell/ev-view.c: (ev_view_finalize):
4003 * shell/ev-window.c: (ev_window_setup_document),
4004 (ev_window_dispose), (ev_window_init):
4006 Solve more refs issues.
4008 I commented out the page_view initialization for now:
4009 it was never destroyed (because it's never added
4010 to a container). Because of that we was leaking
4011 gs processes. Couldnt think to a clean fix.
4012 We need to figure this out, password view has the
4013 same issue probably.
4015 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4017 * ps/ps-document.c: (ps_document_finalize),
4018 (ps_document_get_n_pages), (ps_document_get_page):
4020 Some cleanups, stop the interpreter on finalize
4022 * shell/ev-page-view.c: (ev_page_view_dispose),
4023 (ev_page_view_class_init):
4025 Release our reference on the document
4027 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4031 * doc/debugging.txt:
4034 * lib/ev-debug.c: (log_module), (trap_handler), (ev_debug_init),
4035 (ev_profiler_new), (ev_should_profile), (ev_profiler_dump),
4036 (ev_profiler_free), (ev_profiler_start), (ev_profiler_stop):
4039 Add debugging helpers
4042 * ps/ps-document.c: (set_up_page), (start_interpreter),
4043 (stop_interpreter), (document_load), (ps_document_next_page),
4044 (ps_document_goto_page), (ps_document_set_page_size),
4045 (ps_document_widget_event), (ps_document_render):
4046 * shell/Makefile.am:
4047 * shell/ev-view.c: (expose_bin_window):
4048 * shell/main.c: (main):
4052 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4054 * ps/ps-document.c: (ps_document_widget_event):
4056 Initialize message_window, this should make ps
4057 rendering really work! (Never noticed because I was
4058 testing with a ps that is causing gs to exit every time!)
4060 2005-02-07 Bryan Clark <clarkbw@cvs.gnome.org>
4062 * data/evince.schemas.in: updated simple error in applyto closing tag
4064 2005-02-07 Christian Persch <chpe@cvs.gnome.org>
4070 * data/evince-ui.xml:
4071 A data/evince.schemas.in:
4073 * shell/ev-stock-icons.c: (ev_stock_icons_init):
4074 * shell/ev-stock-icons.h:
4075 * shell/ev-window.c: (update_chrome_visibility),
4076 (update_chrome_flag), (ev_window_cmd_edit_find),
4077 (ev_window_update_fullscreen_popup), (ev_window_fullscreen),
4078 (ev_window_unfullscreen), (ev_window_focus_in_event),
4079 (ev_window_focus_out_event), (ev_window_cmd_leave_fullscreen),
4080 (ev_window_view_toolbar_cb), (ev_window_view_statusbar_cb),
4081 (ev_window_view_sidebar_cb), (find_bar_close_cb),
4082 (ev_window_dispose), (ev_window_class_init),
4083 (set_action_properties), (set_chrome_actions), (load_chrome),
4086 Implement fullscreen mode changes from bug #164776.
4087 Also implement persistent chrome toggles.
4089 2005-02-07 Jordi Mallach <jordi@sindominio.net>
4091 * configure.ac (ALL_LINGUAS): Added "ca" (Catalan).
4093 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
4099 Add another check for find interface
4103 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
4105 * shell/ev-application.c: (ev_application_open):
4106 * shell/ev-window.c: (ev_window_open):
4108 Open gzipped ps documents
4110 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
4113 * shell/ev-view.c: (set_document_page):
4115 Clamp page number, dont try to move to
4118 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
4120 * backend/ev-document-find.c: (ev_document_find_changed):
4121 * backend/ev-document-find.h:
4122 * pdf/xpdf/pdf-document.cc:
4123 * shell/ev-view.c: (jump_to_find_result), (ev_view_set_document):
4124 * shell/ev-window.c: (find_bar_search_changed_cb):
4126 Fix several bugs with find
4128 2005-02-04 Martin Kretzschmar <martink@gnome.org>
4130 * shell/ev-sidebar-thumbnails.c
4131 (ev_sidebar_thumbnails_select_page): do nothing unless we have a
4132 document. Prevents warning from scroll_to_cell.
4134 2005-02-02 Kjartan Maraas <kmaraas@gnome.org>
4136 * configure.ac: Add «nb» to ALL_LINGUAS too.
4138 Wed Feb 2 21:13:11 2005 Jonathan Blandford <jrb@redhat.com>
4140 * NOTES: New file with some random thoughts.
4144 * backend/ev-document-misc.c:
4145 (ev_document_misc_get_page_border_size): New function to
4146 canonicalize shadow drawing sizes. Possibly goofy.
4148 * shell/ev-view.c: (ev_view_size_request), (set_document_page),
4149 (ev_view_best_fit), (ev_view_fit_width):
4150 * pdf/xpdf/pdf-document.cc:
4151 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
4152 * ps/ps-document.c: (ps_document_get_page_size):
4153 * backend/ev-document-misc.h:
4154 * backend/ev-document.c: (ev_document_get_page_size):
4155 * backend/ev-document.h: get_page_size now takes a page number
4156 parameter. Made all the backends/frontends honor it.
4158 * data/evince-ui.xml: Added a multiple-page mode. Uncomment to
4159 see. Doesn't work yet.
4161 * shell/Makefile.am:
4162 * shell/ev-page-view.[ch]: New multi-page view. Really rough.
4163 Doesn't do anything yet.
4165 * shell/ev-sidebar-thumbnails.c:
4166 (ev_sidebar_thumbnails_set_document): [1..n_pages] instead of
4169 * shell/ev-window.c: (update_action_sensitivity),
4170 (ev_window_setup_document), (ev_window_set_page_mode),
4171 (ev_window_page_mode_cb), (ev_window_init): Clean up the
4172 view-swapping code a bit so we can have multiple views on a
4173 document. Add the multi-page view, though it can't be turned on
4176 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
4178 * shell/ev-application.c: (ev_application_open):
4179 * shell/ev-view.c: (expose_bin_window):
4180 * shell/ev-window.c: (ev_window_open):
4182 Support eps and check document supports find
4183 before drawing highlightings in expose.
4185 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
4187 * pixbuf/pixbuf-document.c:
4188 (pixbuf_document_thumbnails_get_dimensions),
4189 (pixbuf_document_document_thumbnails_iface_init):
4191 implement get_dimensions
4193 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
4200 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
4202 * shell/ev-view.c: (set_document_page):
4204 Scroll at the top of the page when changing page
4206 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
4208 * shell/ev-view.c: (ev_view_motion_notify_event):
4210 Do not redraw unnecessarily
4212 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
4214 * pdf/xpdf/pdf-document.cc:
4215 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
4216 (expose_bin_window), (find_changed_cb):
4218 Yay! find works now... Now to find bugs...
4220 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
4222 * backend/ev-document-find.c: (ev_document_find_base_init),
4223 (ev_document_find_changed):
4224 * backend/ev-document-find.h:
4225 * pdf/xpdf/pdf-document.cc:
4226 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
4227 (expose_bin_window), (ev_view_init), (set_document_page),
4228 (ensure_rectangle_is_visible), (jump_to_find_result),
4229 (jump_to_find_page), (find_changed_cb), (ev_view_set_document),
4230 (ev_view_find_next), (ev_view_find_previous):
4232 * shell/ev-window.c: (find_bar_previous_cb), (find_bar_next_cb):
4234 More work on find implementation, mostly there now
4236 2005-01-29 Marco Pesenti Gritti <marco@gnome.org>
4238 * backend/ev-backend-marshalers.list:
4239 * backend/ev-document-find.c: (ev_document_find_base_init),
4240 (ev_document_find_cancel), (ev_document_find_page_has_results),
4241 (ev_document_find_get_n_results), (ev_document_find_get_result),
4242 (ev_document_find_get_progress), (ev_document_find_changed):
4243 * backend/ev-document-find.h:
4245 Enanche the find interface to be really able to do
4248 * pdf/xpdf/pdf-document.cc:
4252 * shell/ev-view.c: (ev_view_finalize), (highlight_find_results),
4253 (expose_bin_window), (ev_view_init),
4254 (ev_view_get_find_status_message), (find_changed_cb),
4255 (ev_view_set_document), (set_document_page):
4257 Adapt to the new interface. A few things are regressed sorry,
4258 I will finish it soon.
4260 2005-01-28 Martin Kretzschmar <martink@gnome.org>
4262 * shell/ev-sidebar-thumbnails.c (ev_sidebar_thumbnails_destroy)
4263 (ev_sidebar_thumbnails_class_init): use G_DEFINE_TYPE-supplied
4264 ev_sidebar_thumbnails_parent_class variable, don't define another
4265 parent_class variable.
4267 * shell/ev-page-action.c (connect_proxy, ev_page_action_finalize)
4268 (ev_page_action_class_init): ditto.
4270 * pixbuf/pixbuf-document.c (pixbuf_document_finalize)
4271 (pixbuf_document_class_init): ditto.
4273 * backend/ev-link.c (ev_window_dispose, ev_link_class_init):
4276 * .cvsignore: ignore various valgrind output files.
4278 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
4280 * data/evince-ui.xml:
4281 * shell/Makefile.am:
4282 * shell/ev-history.c:
4283 * shell/ev-history.h:
4284 * shell/ev-navigation-action.c:
4285 * shell/ev-navigation-action.h:
4286 * shell/ev-view.c: (ev_view_finalize), (ev_view_go_to_link),
4287 (ev_view_set_page), (ev_view_fit_width):
4289 * shell/ev-window.c: (update_action_sensitivity),
4290 (ev_window_setup_document), (register_custom_actions):
4292 Kill session history
4294 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
4296 * shell/ev-window.c: (update_action_sensitivity):
4298 Fix inverted up/down buttons
4300 2005-01-27 Martin Kretzschmar <martink@gnome.org>
4302 * shell/ev-sidebar-thumbnails.c
4303 (ev_sidebar_thumbnails_select_page): make sure the selected
4304 thumbnail stays visible.
4306 2005-01-26 Martin Kretzschmar <martink@gnome.org>
4308 * shell/ev-window.c (ev_window_init): add GTK_SHADOW_IN to the
4309 scrolled window for Federico.
4311 2005-01-26 Ole Laursen <olau@hardworking.dk>
4313 * configure.ac: Added "da" (Danish) to ALL_LINGUAS.
4315 2005-01-26 Marco Pesenti Gritti <marco@gnome.org>
4318 * pdf/splash/SplashFTFontEngine.cc:
4320 Fix CID fonts with freetype 2.1.9
4322 2005-01-26 Bryan Clark <clarkbw@cvs.gnome.org>
4324 * TODO: added item for desktop icon thumbnailer
4326 Tue Jan 25 00:59:34 2005 Jonathan Blandford <jrb@redhat.com>
4328 * pdf/xpdf/pdf-document.cc (pdf_document_get_title): guard against
4329 unloaded docs when the title is accessed.
4331 * shell/ev-password-view.[hc]: New widget for displaying password
4334 * shell/ev-window.[ch]: Refactor password handling code to handle
4337 2005-01-24 Marco Pesenti Gritti <marco@gnome.org>
4345 2005-01-23 Stephane LOEUILLET <stephane.loeuillet@tiscali.fr>
4347 * pdf/xpdf/pdf-document.cc (pdf_document_search_page_changed):
4348 ignore page offset here, to make search results independent of it,
4350 * shell/ev-view.c (expose_bin_window): but take offsets into
4351 account here. Bug #164932
4353 * pdf/xpdf/pdf-document.cc (pdf_document_get_link): divide by
4354 scale at the right time. Bug #164996
4356 2005-01-22 Martin Kretzschmar <martink@gnome.org>
4358 * pdf/xpdf/GlobalParams.cc: My 2005-01-05 change didn't actually
4359 fix the problem. Now I just removed the Adobe font names and hope
4360 that the URW fonts are always in outline format. Bug #164934
4362 * shell/ev-window.c (update_window_title): empty titles are
4363 useless, use filename in that case too.
4365 * NEWS: Add some content.
4367 2005-01-21 Bryan Clark <clarkbw@cvs.gnome.org>
4369 * TODO: added one more TODO item and a TODONE section :)
4371 2005-01-21 Martin Kretzschmar <martink@gnome.org>
4373 * ps/ps-document.h: add page_[xy]_offset fields.
4375 * ps/ps-document.c (ps_document_set_page_offset)
4376 (ps_document_render): Keep offset in consideration in a few
4377 places. Bug #164752 "postscript documents are not centered in
4380 * data/evince.desktop.in (X-GNOME-Bugzilla-Product):
4381 s/gpdf/evince/. Spotted by Stephane Loeuillet.
4383 * pixbuf/pixbuf-document.c (pixbuf_document_get_n_pages)
4384 (pixbuf_document_get_text, pixbuf_document_document_iface_init):
4385 stub out missing methods for complete EvDocument implementation.
4386 Fixes segfaults with Save A Copy and Copy actions.
4388 * ps/ps-document.c (ps_document_save, ps_document_get_text)
4389 (ps_document_document_iface_init): ditto.
4391 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
4395 * data/evince.desktop.in:
4399 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
4401 * shell/ev-view.c: (ev_view_button_press_event),
4402 (ev_view_motion_notify_event):
4404 Make selection work in any direction
4406 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
4409 * shell/ev-window.c: (set_short_labels), (ev_window_init):
4411 Use shorter labels for some of the toolbars items
4413 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
4415 * pdf/xpdf/pdf-document.cc:
4417 Check the links info is initialized before
4418 using it. Should fix a crash on startup.
4420 2005-01-21 Martin Kretzschmar <martink@gnome.org>
4422 * pixbuf/pixbuf-document.c
4423 (pixbuf_document_thumbnails_get_dimensions): force floating point
4424 division to calculate page_ratio. Fixes crash with landscape
4427 Thu Jan 20 18:56:35 2005 Jonathan Blandford <jrb@redhat.com>
4429 * shell/ev-view.c (ev_view_realize): make the bg color darker.
4431 2005-01-20 Martin Kretzschmar <martink@gnome.org>
4433 * shell/ev-view.c (set_document_page): unset has_selection when
4435 (set_document_page): handle paper size changes when the page
4436 changes (test with Free Culture, page 2).
4438 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
4440 * shell/ev-view.c: (ev_view_size_request), (ev_view_realize),
4441 (expose_bin_window), (ev_view_class_init), (ev_view_init):
4443 Use normal style color for the widget background and
4444 draw a black box around the page.
4446 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
4448 * pdf/xpdf/pdf-document.cc:
4450 Keep offset in consideration in a few places
4452 * shell/ev-view.c: (expose_bin_window):
4454 Set the offsets so that the document is ever centered
4456 2005-01-20 Bryan Clark <clarkbw@cvs.gnome.org>
4458 * TODO: Added TODO items and finished off the first todo item
4460 * AUTHORS: Updated AUTHORS section with piece from gpdf file and
4461 reflect current authors
4463 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
4465 * pdf/xpdf/pdf-document.cc:
4466 * shell/ev-view.c: (ev_view_set_cursor),
4467 (ev_view_motion_notify_event), (document_changed_callback),
4468 (set_document_page):
4470 Show a wait cursor while the page is rendering
4472 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
4474 * shell/ev-sidebar-thumbnails.c:
4475 (ev_sidebar_tree_selection_changed),
4476 (ev_sidebar_thumbnails_select_page):
4477 * shell/ev-sidebar-thumbnails.h:
4478 * shell/ev-view.c: (ev_view_set_document), (ev_view_can_go_back),
4479 (ev_view_can_go_forward):
4480 * shell/ev-window.c: (ev_window_open_page),
4481 (ev_window_setup_document), (update_current_page),
4482 (view_page_changed_cb), (ev_window_init):
4483 * shell/ev-window.h:
4485 Ensure thumbnails selection, toolbar page control and
4486 current page are in sync.
4488 2005-01-19 Marco Pesenti Gritti <marco@gnome.org>
4494 Wed Jan 19 01:10:57 2005 Jonathan Blandford <jrb@redhat.com>
4496 * backend/Makefile.am:
4497 * backend/ev-document-links.h:
4498 * backend/ev-document-security.c: (ev_document_security_get_type),
4499 (ev_document_security_has_document_security),
4500 (ev_document_security_set_password):
4501 * backend/ev-document-security.h:
4502 * backend/ev-document.c: (ev_document_error_quark):
4503 * backend/ev-document.h:
4505 * data/evince-password.glade:
4506 * pdf/xpdf/pdf-document.cc:
4507 * shell/Makefile.am:
4508 * shell/ev-password.c: (ev_password_set_bad_password_label),
4509 (ev_window_password_entry_changed_cb), (ev_password_dialog_new),
4510 (ev_password_dialog_get_password),
4511 (ev_password_dialog_set_bad_pass):
4512 * shell/ev-password.h:
4513 * shell/ev-window.c: (ev_window_get_attribute),
4514 (ev_window_set_property), (update_action_sensitivity),
4515 (ev_window_is_empty), (mime_type_supported_by_gdk_pixbuf),
4516 (ev_window_setup_document), (ev_window_get_password),
4517 (ev_window_open), (ev_window_cmd_save_as),
4518 (using_postscript_printer), (ev_window_print),
4519 (find_not_supported_dialog), (ev_window_cmd_edit_find),
4520 (update_fullscreen_popup), (ev_window_fullscreen),
4521 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
4522 (ev_window_focus_out_cb), (ev_window_cmd_help_about),
4523 (menu_item_select_cb), (find_bar_search_changed_cb),
4524 (ev_window_dispose), (ev_window_init):
4526 Add initial support for password-supported dialogs. This could be
4527 a lot cooler, but it'll do for now.
4529 2005-01-18 Marco Pesenti Gritti <marco@gnome.org>
4531 * pdf/xpdf/pdf-document.cc:
4532 * shell/ev-view.c: (status_message_from_link),
4533 (ev_view_set_status), (ev_view_set_cursor),
4534 (ev_view_motion_notify_event), (ev_view_init):
4535 * shell/ev-window.c: (view_status_changed_cb), (ev_window_init):
4537 Fix bugs in the links implementation and change cursor
4538 when hovering a link.
4540 2005-01-17 Bryan Clark <clarkbw@cvs.gnome.org>
4542 * viewer/.cvsignore: added cvsignore file for viewer directory
4544 * TODO: created TODO document
4546 2005-01-14 Dave Malcolm <dmalcolm@redhat.com>
4549 * shell/ev-view.c (ev_view_can_go_back), (ev_view_can_go_forward):
4550 new functions to help with implementation of sensitivity code
4551 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
4552 of all actions that might require it. Fixes a crash when you
4553 click on the Zoom actions in a window lacking a document.
4555 2005-01-13 Dave Malcolm <dmalcolm@redhat.com>
4557 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
4560 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
4562 * pixbuf/pixbuf-document.c: (pixbuf_document_get_link),
4563 (pixbuf_document_document_iface_init):
4564 * ps/ps-document.c: (ps_document_get_link),
4565 (ps_document_document_iface_init):
4566 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event),
4567 (status_message_from_link), (ev_view_set_status),
4568 (ev_view_set_find_status), (ev_view_motion_notify_event),
4569 (ev_view_button_release_event), (ev_view_set_property),
4570 (ev_view_get_property), (ev_view_class_init), (ev_view_init),
4571 (ev_view_get_find_status_message), (update_find_results),
4572 (ev_view_get_status), (ev_view_get_find_status):
4574 * shell/ev-window.c: (view_status_changed_cb),
4575 (view_find_status_changed_cb), (ev_window_init):
4577 View status message support, use it to show the links.
4580 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
4582 * backend/ev-document.c: (ev_document_get_link):
4583 * backend/ev-document.h:
4584 * pdf/xpdf/pdf-document.cc:
4585 * shell/ev-application.c: (ev_application_open):
4586 * shell/ev-application.h:
4587 * shell/ev-sidebar-links.c: (selection_changed_cb):
4588 * shell/ev-view.c: (ev_view_button_release_event), (go_to_link),
4589 (ev_view_go_to_link):
4591 Add support for document links
4593 2005-01-13 Anders Carlsson <andersca@gnome.org>
4595 * shell/ev-page-action.c: (update_spin), (total_pages_changed_cb),
4597 Set the spin button limits correctly.
4599 * shell/ev-sidebar-thumbnails.c:
4600 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init):
4601 Support changing pages by clicking on the thumbnails.
4603 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
4605 * pixbuf/pixbuf-document.c:
4606 (pixbuf_document_thumbnails_get_dimensions),
4607 (pixbuf_document_document_thumbnails_iface_init):
4609 implement get_dimensions
4611 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
4613 * ps/ps-document.c: (ps_document_goto_page):
4615 Fix page switching on multipage documents
4617 2005-01-12 Jeff Muizelaar <jrmuizel@nit.ca>
4619 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
4621 check for NULL before assigning to width and height parameters
4623 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
4625 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
4626 (pixbuf_document_set_property), (pixbuf_document_get_property):
4628 implement get/set properties
4630 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
4632 * pdf/xpdf/pdf-document.cc: (pdf_info_dict_get_string):
4634 return NULL instead of "Unknown", letting the title get set to
4635 the filename when the pdf has no title.
4637 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
4639 * ps/ps-document.c: (ps_document_get_page_count),
4640 (ps_document_goto_page):
4642 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
4644 * shell/ev-history.c: (ev_history_get_property),
4645 (ev_history_set_property), (ev_history_class_init),
4646 (ev_history_add_page), (ev_history_set_current_index):
4647 * shell/ev-navigation-action.c: (ev_navigation_action_set_history),
4648 (activate_menu_item_cb), (new_history_menu_item), (build_menu),
4649 (ev_navigation_action_finalize):
4650 * shell/ev-navigation-action.h:
4651 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
4652 (ev_view_go_forward), (ev_view_get_find_status_message),
4653 (history_index_changed_cb), (ev_view_set_history):
4655 * shell/ev-window.c: (update_total_pages), (ev_window_open),
4656 (update_current_page), (register_custom_actions):
4658 Implement history dropdowns
4660 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
4662 * shell/ev-history.c: (ev_history_init), (ev_history_add_link):
4663 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
4664 (ev_view_go_forward):
4665 * shell/ev-window.c: (register_custom_actions):
4667 Fix several history bugs
4669 2005-01-11 Kjartan Maraas <kmaraas@gnome.org>
4671 * configure.ac: Add «nb» to ALL_LINGUAS.
4673 2005-01-10 Marco Pesenti Gritti <marco@gnome.org>
4675 * backend/Makefile.am:
4676 * backend/ev-bookmark.c:
4677 * backend/ev-bookmark.h:
4678 * backend/ev-document-bookmarks.c:
4679 * backend/ev-document-bookmarks.h:
4680 * backend/ev-document-links.c: (ev_document_links_get_type),
4681 (ev_document_links_has_document_links),
4682 (ev_document_links_begin_read), (ev_document_links_get_link),
4683 (ev_document_links_get_child), (ev_document_links_next),
4684 (ev_document_links_free_iter):
4685 * backend/ev-document-links.h:
4686 * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_title),
4687 (ev_link_set_title), (ev_link_get_uri), (ev_link_set_uri),
4688 (ev_link_get_link_type), (ev_link_set_link_type),
4689 (ev_link_get_page), (ev_link_set_page), (ev_link_get_property),
4690 (ev_link_set_property), (ev_window_dispose), (ev_link_init),
4691 (ev_link_class_init), (ev_link_new_title), (ev_link_new_page),
4692 (ev_link_new_external):
4693 * backend/ev-link.h:
4694 * pdf/xpdf/pdf-document.cc:
4695 * shell/Makefile.am:
4696 * shell/ev-application.c: (ev_application_open_link):
4697 * shell/ev-application.h:
4698 * shell/ev-history.c: (ev_history_add_link), (ev_history_add_page),
4699 (ev_history_get_link_nth):
4700 * shell/ev-history.h:
4701 * shell/ev-sidebar-bookmarks.c:
4702 * shell/ev-sidebar-bookmarks.h:
4703 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
4704 (ev_sidebar_links_class_init), (selection_changed_cb),
4705 (ev_sidebar_links_construct), (ev_sidebar_links_init),
4706 (links_page_num_func), (ev_sidebar_links_new), (stack_data_free),
4707 (do_one_iteration), (populate_links_idle),
4708 (ev_sidebar_links_clear_document), (ev_sidebar_links_set_document):
4709 * shell/ev-sidebar-links.h:
4710 * shell/ev-sidebar.c: (ev_sidebar_set_document):
4711 * shell/ev-view.c: (go_to_link), (ev_view_go_to_link),
4714 * shell/ev-window.c: (ev_window_open_link), (ev_window_init):
4715 * shell/ev-window.h:
4717 Rename bookmark to link, and use "Index" for the sidebar panel.
4719 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
4721 * shell/Makefile.am:
4722 * shell/ev-application.c: (ev_application_open_bookmark):
4723 * shell/ev-application.h:
4724 * shell/ev-history.c: (ev_history_init), (free_links_list),
4725 (ev_history_finalize), (ev_history_class_init),
4726 (ev_history_add_link), (ev_history_add_page),
4727 (ev_history_get_link_nth), (ev_history_get_n_links),
4728 (ev_history_get_current_index), (ev_history_set_current_index),
4730 * shell/ev-history.h:
4731 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
4732 * shell/ev-view.c: (ev_view_finalize), (ev_view_set_document),
4733 (set_document_page), (go_to_bookmark), (ev_view_go_to_bookmark),
4734 (go_to_index), (ev_view_go_back), (ev_view_go_forward),
4737 * shell/ev-window.c: (ev_window_open_bookmark),
4738 (ev_window_cmd_go_back), (ev_window_cmd_go_forward),
4739 (goto_page_cb), (register_custom_actions):
4740 * shell/ev-window.h:
4742 Initial history implementation. Needs work.
4744 2005-01-09 Martin Kretzschmar <martink@gnome.org>
4746 * pdf/xpdf/GDKSplashOutputDev.cc (redraw): fix pixbuf data offset.
4748 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
4750 * cut-n-paste/recent-files/egg-recent-item.c:
4751 * cut-n-paste/recent-files/egg-recent-item.h:
4752 * cut-n-paste/recent-files/egg-recent-model.c:
4753 * cut-n-paste/recent-files/egg-recent-util.c:
4754 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
4755 * cut-n-paste/recent-files/egg-recent-view.c:
4759 2005-01-08 Martin Kretzschmar <martink@gnome.org>
4761 * pdf/splash/Splash.cc (clear, drawPixel, drawSpan, xorSpan, getPixel)
4762 (fillGlyph, fillImageMask, drawImage):
4763 pdf/splash/SplashBitmap.cc (SplashBitmap, ~SplashBitmap, writePNMFile):
4764 pdf/splash/SplashTypes.h:
4765 pdf/xpdf/SplashOutputDev (startPage, getColor, imageSrc): implement RGB8
4766 packed mode for Splash.
4768 * pdf/xpdf/GDKSplashOutputDev.cc (GDKSplashOutputDev, redraw): use
4769 RGB8 packed mode, eliminates the pixbuf data creation loop.
4771 * shell/ev-print-job.c (ev_print_job_finalize)
4772 (ev_print_job_set_property, ev_print_job_get_property)
4773 (ev_print_job_set_gnome_print_job, ev_print_job_set_document)
4774 (ev_print_job_use_print_dialog_settings, idle_print_handler)
4775 (print_closure_finalize, ev_print_job_print): implement
4776 printing (for backends with EvPsExporter)
4778 * shell/ev_print_job.h: update prototypes.
4780 * shell/ev-window.c (ev_window_print): unref print job after
4783 * shell/ev-view.c (ev_view_set_document): don't connect to "found"
4784 unless the document implements the EvDocumentFind interface.
4786 2005-01-08 Satoru SATOH <ss@gnome.gr.jp>
4788 * configure.ac: Added ja to ALL_LINGUAS.
4790 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
4792 * pdf/xpdf/pdf-document.cc:
4794 add a FIXME. We should probably not allocate
4795 a bookmark object every time
4797 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
4799 * shell/ev-application.c: (ev_application_open),
4800 (ev_application_open_bookmark):
4801 * shell/ev-application.h:
4803 Add a way to open bookmarks
4805 * backend/ev-bookmark.c: (ev_bookmark_get_uri),
4806 (ev_bookmark_set_uri), (ev_bookmark_get_property),
4807 (ev_bookmark_set_property), (ev_bookmark_class_init),
4808 (ev_bookmark_new_title), (ev_bookmark_new_link),
4809 (ev_bookmark_new_external):
4811 Support for external uris, better constructors.
4813 * backend/ev-bookmark.h:
4814 * pdf/xpdf/pdf-document.cc:
4815 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
4817 Handle external uris
4819 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
4821 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb),
4822 (ev_sidebar_bookmarks_construct), (do_one_iteration):
4824 Hook up bookmarks navigation
4826 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
4828 * backend/Makefile.am:
4829 * backend/ev-bookmark.c: (ev_bookmark_type_get_type),
4830 (ev_bookmark_get_title), (ev_bookmark_set_title),
4831 (ev_bookmark_get_bookmark_type), (ev_bookmark_set_bookmark_type),
4832 (ev_bookmark_get_page), (ev_bookmark_set_page),
4833 (ev_bookmark_get_property), (ev_bookmark_set_property),
4834 (ev_window_dispose), (ev_bookmark_init), (ev_bookmark_class_init),
4836 * backend/ev-bookmark.h:
4837 * backend/ev-document-bookmarks.c:
4838 (ev_document_bookmarks_get_bookmark):
4839 * backend/ev-document-bookmarks.h:
4840 * pdf/xpdf/pdf-document.cc:
4841 * shell/ev-sidebar-bookmarks.c: (do_one_iteration):
4843 Add a bookmark object to the backend and use it instead of get_values
4845 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
4847 * data/evince-ui.xml:
4849 Cleanup and add select all.
4851 * shell/ev-view.c: (ev_view_select_all),
4852 (ev_view_button_press_event):
4854 * shell/ev-window.c: (ev_window_cmd_edit_select_all):
4857 Clear selection on click.
4859 Fri Jan 7 01:28:58 2005 Jonathan Blandford <jrb@redhat.com>
4861 * shell/ev-sidebar-thumbnails.c
4862 (ev_sidebar_thumbnails_set_document): forgot to unref the
4865 Fri Jan 7 01:22:48 2005 Jonathan Blandford <jrb@redhat.com>
4867 * shell/ev-sidebar-thumbnails.c: fill in the thumbnails starting
4868 at the visible page, not just linearly. This makes it look fast.
4870 Thu Jan 6 18:48:11 2005 Jonathan Blandford <jrb@redhat.com>
4872 * backend/ev-document-misc.c
4873 (ev_document_misc_get_thumbnail_frame): fill in the thumbnail with
4875 * backend/ev-document-thumbnails.h: New interface to get the size
4878 2005-01-06 Jeremy Katz <katzj@redhat.com>
4880 * shell/Makefile.am (evince_SOURCES): Add ev-utils.[ch] so that
4883 Wed Jan 5 15:38:28 2005 Jonathan Blandford <jrb@redhat.com>
4885 * pdf/xpdf/pdf-document.cc (bitmap_to_pixbuf): bypass
4886 GDKSplashOutputDev and just use a normal SplashOutputDev. Speeds
4889 * shell/ev-sidebar-thumbnail.c: start of some profiling code.
4891 2005-01-05 Martin Kretzschmar <martink@gnome.org>
4893 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): match only outline
4894 fonts. Should fix font problems on systems that have the base
4895 fonts in bitmap format. Reported by James Henstridge
4896 <james@jamesh.id.au>.
4898 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
4901 * pdf/xpdf/GfxState.cc:
4903 Fix for CAN-2004-1125
4905 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
4907 * shell/ev-view.c: (ev_view_copy):
4909 * shell/ev-window.c: (ev_window_cmd_edit_copy):
4911 Implement Edit->Copy
4913 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
4915 * backend/ev-document.c: (ev_document_get_text):
4916 * backend/ev-document.h:
4917 * pdf/xpdf/pdf-document.cc:
4918 * shell/ev-view.c: (ev_view_realize), (expose_bin_window),
4919 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
4920 (ev_view_update_primary_selection), (ev_view_button_press_event),
4921 (ev_view_motion_notify_event), (ev_view_button_release_event):
4923 Beginnings of clipboard support. Incomplete but primary sort
4926 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
4928 * shell/ev-view.c: (ev_gdk_color_to_rgb), (draw_rubberband),
4929 (expose_bin_window):
4931 Nicer rubberband drawing, from GtkIconView.
4933 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
4935 * backend/ev-document.c: (ev_document_save):
4936 * backend/ev-document.h:
4937 * data/evince-ui.xml:
4938 * pdf/xpdf/pdf-document.cc:
4939 * shell/ev-window.c: (save_error_dialog), (ev_window_cmd_save_as):
4941 Implement "Save a copy..." menu item
4943 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
4945 * shell/ev-view.c: (ev_view_zoom):
4947 Queue a resize when zoom changes
4949 Wed Jan 5 02:33:06 2005 Jonathan Blandford <jrb@redhat.com>
4951 * backend/ev-document-misc.[ch]: New misc file to do simple drop
4954 * pdf/xpdf/pdf-document.cc: use the drop shadows in both types of
4957 Tue Jan 4 22:32:32 2005 Jonathan Blandford <jrb@redhat.com>
4959 * pdf/xpdf/pdf-document.cc
4960 (pdf_document_thumbnails_get_page_pixbuf): poor man's dropshadow.
4962 Tue Jan 4 21:25:05 2005 Jonathan Blandford <jrb@redhat.com>
4964 * pdf/xpdf/pdf-document.cc: Do real thumbnailing of PDF files.
4965 It's slow, but I'll speed it up next!
4967 2005-01-04 Jeff Muizelaar <jrmuizel@nit.ca>
4969 * shell/main.c (load_files):
4971 use gnome_vfs_make_uri_from_shell_arg so that relative paths work
4972 from the command line and because it seems more appropriate.
4974 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
4976 * data/evince-ui.xml:
4977 * shell/ev-window.c: (update_action_sensitivity),
4978 (ev_window_cmd_go_page_up), (ev_window_cmd_go_page_down):
4980 s/next page/page down
4981 s/previous page/page up
4983 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
4985 * data/evince-ui.xml:
4987 Change the layout to match clarkbw design.
4989 * shell/Makefile.am:
4990 * shell/ev-navigation-action.c: (build_menu), (menu_activated_cb),
4991 (set_tooltip_cb), (connect_proxy), (ev_navigation_action_init),
4992 (ev_navigation_action_finalize),
4993 (ev_navigation_action_set_property),
4994 (ev_navigation_action_get_property),
4995 (ev_navigation_action_class_init):
4996 * shell/ev-navigation-action.h:
4998 Implement clarkbw toolbar navigation controls (incomplete)
5000 * shell/ev-page-action.c: (update_label), (update_spin),
5001 (value_changed_cb), (create_tool_item), (connect_proxy),
5002 (ev_page_action_init), (ev_page_action_finalize),
5003 (ev_page_action_set_property), (ev_page_action_get_property),
5004 (ev_page_action_set_current_page),
5005 (ev_page_action_set_total_pages), (ev_page_action_class_init):
5006 * shell/ev-page-action.h:
5008 Implement a page switcher in the toolbar
5010 * shell/ev-view.c: (ev_view_scroll_view):
5011 * shell/ev-window.c: (update_total_pages), (ev_window_open),
5012 (update_current_page), (view_page_changed_cb), (goto_page_cb),
5013 (register_custom_actions), (ev_window_init):
5015 Change page on PageUp/Down.
5017 Tue Jan 4 03:22:56 2005 Jonathan Blandford <jrb@redhat.com>
5019 * pdf/xpdf/pdf-document.cc
5020 (pdf_document_thumbnails_get_thumbnail): initial stab at
5021 implementing thumbnail support for pdfs. It only does documents
5022 with precached pdfs now.
5024 Mon Jan 3 17:22:25 2005 Jonathan Blandford <jrb@redhat.com>
5026 * shell/ev-sidebar-thumbnails.c (do_one_iteration): move the
5027 thumbnail code into a time-based idle as well. Also, turn off the
5028 shadow temporarily as it's really slow.
5030 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
5032 * backend/ev-document.c: (ev_document_class_init):
5033 * pdf/xpdf/pdf-document.cc:
5034 * shell/ev-window.c: (ev_window_open):
5036 Fix document title bugs and fallback to
5037 filename when not available.
5039 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
5041 * backend/ev-document.c: (ev_document_get_type),
5042 (ev_document_class_init), (ev_document_load),
5043 (ev_document_get_title):
5044 * backend/ev-document.h:
5045 * pdf/xpdf/pdf-document.cc:
5046 * ps/ps-document.c: (ps_document_set_property),
5047 (ps_document_get_property), (ps_document_class_init),
5051 * shell/ev-window.c: (update_window_title), (ev_window_open),
5054 Initial support for document title. Not working yet.
5056 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
5058 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event):
5060 Grab focus on the view when clicking it
5062 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
5064 * shell/ev-marshal.list:
5065 * shell/ev-view.c: (ev_view_realize), (add_scroll_binding),
5066 (ev_view_scroll_view), (ev_view_class_init), (ev_view_init):
5068 Add key bindings to the view. Now if the focus would work
5071 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
5074 * backend/Makefile.am:
5077 * dvi/dvilib/Makefile.am:
5078 * pdf/xpdf/Makefile.am:
5084 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5086 * shell/ev-view.c: (ev_view_realize):
5088 Fix mouse wheel scrolling
5090 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5096 * ps/ps-document.c: (catchPipe), (ps_document_init),
5097 (ps_document_class_init), (ps_document_cleanup),
5098 (ps_document_finalize), (send_ps), (ps_document_get_orientation),
5099 (set_up_page), (close_pipe), (is_interpreter_ready),
5100 (interpreter_failed), (output), (input), (start_interpreter),
5101 (stop_interpreter), (file_length), (file_readable),
5102 (check_filecompressed), (check_pdf), (compute_xdpi),
5103 (compute_ydpi), (compute_size), (ps_document_enable_interpreter),
5104 (ps_document_get_type), (ps_document_emit_error_msg),
5105 (document_load), (ps_document_next_page),
5106 (ps_document_get_current_page), (ps_document_get_page_count),
5107 (ps_document_goto_page), (ps_document_set_page_size),
5108 (ps_document_zoom_to_fit), (ps_document_set_zoom),
5109 (ps_document_load), (ps_document_get_n_pages),
5110 (ps_document_set_page), (ps_document_get_page),
5111 (ps_document_widget_event), (ps_document_set_target),
5112 (ps_document_set_scale), (ps_document_set_page_offset),
5113 (ps_document_get_page_size), (ps_document_render),
5114 (ps_document_document_iface_init):
5117 * shell/ev-window.c: (ev_window_open):
5119 Rename GtkGS to PSDocument
5121 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5123 * ps/gtkgs.c: (gtk_gs_class_init):
5126 Some more leftover...
5128 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5130 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_get_orientation),
5131 (output), (stop_interpreter), (gtk_gs_emit_error_msg),
5132 (gtk_gs_zoom_to_fit), (gtk_gs_set_zoom):
5135 Remove unused code and make a lot of stuff private
5137 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5139 * ps/gsdefaults.c: (gtk_gs_defaults_gconf_client),
5140 (gtk_gs_defaults_changed):
5146 Cleanup headers dependencies
5148 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5153 * ps/gsdefaults.c: (gtk_gs_defaults_get_paper_sizes):
5155 * ps/gtkgs.c: (file_length), (file_readable),
5156 (check_filecompressed), (check_pdf), (gtk_gs_load),
5157 (gtk_gs_get_postscript):
5161 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
5166 * ps/gtkgs.c: (gtk_gs_set_zoom):
5170 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
5172 * ps/gtkgs.c: (gtk_gs_set_zoom), (gtk_gs_set_zoom_mode):
5174 Ensure the page is rerendered when changing zoom
5176 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
5178 * backend/ev-document.c: (ev_document_base_init),
5179 (ev_document_changed):
5180 * backend/ev-document.h:
5182 Add a changed event that is emitted when the page content
5183 changes. This is necessary to deal with the fact that
5184 in ps backend rendering happen asycrounously.
5185 This makes the ps backend mostly work.
5187 * pdf/xpdf/pdf-document.cc:
5191 * ps/gtkgs.c: (set_up_page), (gtk_gs_widget_event),
5192 (ps_document_set_target):
5196 * shell/ev-view.c: (document_changed_callback),
5197 (ev_view_set_document), (ev_view_set_page):
5199 Redraw on the changed signal
5201 2004-12-25 Raphael Higino <raphaelh@cvs.gnome.org>
5203 * configure.ac: Added pt_BR to ALL_LINGUAS.
5205 Fri Dec 24 00:48:44 2004 Jonathan Blandford <jrb@redhat.com>
5207 * backend/ev-document-bookmarks.c:
5208 (ev_document_bookmarks_get_child): *
5209 backend/ev-document-bookmarks.h: * pdf/xpdf/Makefile.am: *
5210 pdf/xpdf/pdf-document.cc: * pdf/xpdf/pdf-document.h: *
5211 shell/Makefile.am: * shell/ev-sidebar-bookmarks.c:
5212 (ev_sidebar_bookmarks_destroy),
5213 (ev_sidebar_bookmarks_class_init),
5214 (ev_sidebar_bookmarks_construct), (stack_data_free),
5215 (do_one_iteration), (populate_bookmarks_idle),
5216 (ev_sidebar_bookmarks_clear_document),
5217 (ev_sidebar_bookmarks_set_document): *
5218 shell/ev-sidebar-bookmarks.h: * shell/ev-sidebar.c:
5219 (ev_sidebar_add_page),
5220 (ev_sidebar_set_document): * shell/ev-window.c: (ev_window_open):
5221 Initial stab at a bookmarks sidebar. It doesn't navigate yet, but
5222 it displays both the topics and the page numbers.
5224 2004-12-23 Kristian Høgsberg <krh@redhat.com>
5226 * shell/ev-window.c (ev_window_view_sidebar_cb): Hook up sidebar
5228 * shell/ev-window.c (toggle_entries): Set sidebar default value to
5231 2004-12-23 Adam Weinberger <adamw@gnome.org>
5233 * configure.ac: Added en_CA to ALL_LINGUAS.
5235 2004-12-23 Martin Kretzschmar <martink@gnome.org>
5237 * ChangeLog: replace bottom of this ChangeLog (merged history of
5238 ggv and gpdf; where all paths were wrong and most of the files are
5239 not even in this tree) with ChangeLog (from arch) of the shell
5242 2004-12-23 Havoc Pennington <hp@redhat.com>
5244 * shell/ev-window.c: hook up potentially-questionable "find
5245 results status text" feature - something involving the sidebar or
5246 scrollbar or a continuous all-pages-on-giant-roll-of-paper-view
5247 might be better in the end.
5249 * shell/ev-view.c (ev_view_get_find_status_message): new function,
5250 with corresponding signal when it should be updated
5252 * shell/eggfindbar.c (egg_find_bar_set_status_text): new function
5254 2004-12-22 Havoc Pennington <hp@redhat.com>
5256 * pdf/xpdf/pdf-document.cc (pdf_document_find_begin): make search
5257 find stuff on other pages, sort of (only returns one result on
5258 invisible pages, to show they have results; updates full results
5259 for a page when you view it). Currently repaints the current page
5260 every time a new result is found on any page, which isn't so nice.
5262 2004-12-22 Havoc Pennington <hp@redhat.com>
5264 * shell/ev-window.c (ev_window_cmd_edit_find): display an error if
5265 the document doesn't support find (better ideas?)
5266 (find_bar_search_changed_cb): handle missing document or document
5267 that doesn't support find
5269 * pdf/xpdf/pdf-document.cc: port to implement the new
5272 * backend/ev-document-find.c: create a new interface for searching
5274 * backend/ev-document.h, backend/ev-document.c: delete the find stuff
5276 2004-12-23 Martin Kretzschmar <martink@gnome.org>
5278 * pdf/xpdf/Makefile.am (libpdfdocument_la_LIBADD): add
5281 * shell/ev-window.c (ev_window_print): add GnomePrintJob to
5282 EvPrintJob constructor arguments.
5284 * backend/ev-ps-exporter.c, backend/ev-ps-exporter.h: interface
5285 for documents that can export PostScript (page by page).
5287 * backend/Makefile.am (libevbackend_la_SOURCES): add them.
5289 * pdf/xpdf/pdf-document.cc (pdf_document_ps_export_begin)
5290 (pdf_document_ps_export_do_page, pdf_document_ps_export_end)
5291 (pdf_document_ps_exporter_iface_init:
5292 Implement EvPSExporter.
5294 * pdf/xpdf/Makefile.am (libxpdf_la_SOURCES): build PSOutputDev.
5296 2004-12-22 Anders Carlsson <andersca@gnome.org>
5298 * backend/Makefile.am:
5299 * backend/ev-document-thumbnails.c:
5300 (ev_document_thumbnails_get_type),
5301 (ev_document_thumbnails_get_thumbnail):
5302 * backend/ev-document-thumbnails.h:
5303 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
5304 (pixbuf_document_thumbnails_get_thumbnail),
5305 (pixbuf_document_document_thumbnails_iface_init):
5306 * shell/Makefile.am:
5307 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_destroy),
5308 (ev_sidebar_thumbnails_class_init), (ev_sidebar_thumbnails_init),
5309 (populate_thumbnails), (ev_sidebar_thumbnails_set_document):
5310 * shell/ev-sidebar-thumbnails.h:
5311 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
5312 (ev_sidebar_set_document):
5313 * shell/ev-utils.c: (gaussian), (create_blur_filter),
5314 (create_shadow), (ev_pixbuf_add_shadow):
5316 Add thumbnail support.
5318 2004-12-22 Martin Kretzschmar <martink@gnome.org>
5320 * shell/ev-window.c (ev_window_cmd_file_print, ev_window_print)
5321 (using_postscript_printer): Set up a print dialog for "PostScript
5324 * shell/ev-print-job.h, shell/ev-print-job.c: stub classes for
5327 * shell/Makefile.am (evince_SOURCES): add ev-print-job.[ch]
5329 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
5331 * ps/gtkgs.c: (gtk_gs_init), (set_up_page),
5332 (ps_document_set_target), (ps_document_get_page_size),
5333 (ps_document_render):
5338 2004-12-22 Christian Rose <menthos@menthos.com>
5340 * configure.ac: Added "sv" to ALL_LINGUAS.
5342 Wed Dec 22 14:47:38 2004 Jonathan Blandford <jrb@redhat.com>
5344 * backend/ev-document-bookmarks.[ch]: new interface to indicate
5345 document supports bookmarks.
5347 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
5349 * ps/ggvutils.c: (ggv_file_readable):
5351 * ps/gtkgs.c: (check_filecompressed), (check_pdf),
5352 (gtk_gs_get_postscript):
5356 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
5358 * ps/gtkgs.c: (gtk_gs_init), (gtk_gs_class_init), (gtk_gs_cleanup),
5359 (gtk_gs_finalize), (gtk_gs_set_center), (set_up_page), (output),
5360 (start_interpreter), (compute_size), (gtk_gs_enable_interpreter),
5361 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_reload),
5362 (gtk_gs_emit_error_msg), (gtk_gs_disable_interpreter),
5363 (gtk_gs_load), (gtk_gs_goto_page), (gtk_gs_set_page_size),
5364 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
5365 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
5366 (gtk_gs_set_antialiasing), (ps_document_load),
5367 (ps_document_render):
5370 Another check point for the ps backend. Now I can get it to show
5373 Wed Dec 22 13:41:01 2004 Jonathan Blandford <jrb@redhat.com>
5375 * shell/ev-sidebar.c (ev_sidebar_set_document): initial sidebar
5376 document setting code.
5378 2004-12-22 Anders Carlsson <andersca@gnome.org>
5380 * shell/eggfindbar.c: (entry_activate_callback):
5381 Animate the next button when activate is pressed.
5383 2004-12-22 Anders Carlsson <andersca@gnome.org>
5385 * shell/ev-window.c: (ev_window_cmd_edit_find),
5386 (update_fullscreen_popup), (ev_window_fullscreen),
5387 (ev_window_unfullscreen), (ev_window_state_event_cb),
5388 (ev_window_focus_out_cb), (find_bar_close_cb), (ev_window_init):
5389 Fix bugs in fullscreen code.
5391 2004-12-22 Anders Carlsson <andersca@gnome.org>
5395 * pixbuf/Makefile.am:
5396 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
5397 (pixbuf_document_load), (pixbuf_document_get_n_pages),
5398 (pixbuf_document_set_page), (pixbuf_document_get_page),
5399 (pixbuf_document_set_target), (pixbuf_document_set_scale),
5400 (pixbuf_document_set_page_offset), (pixbuf_document_get_page_size),
5401 (pixbuf_document_render), (pixbuf_document_begin_find),
5402 (pixbuf_document_end_find), (pixbuf_document_finalize),
5403 (pixbuf_document_class_init),
5404 (pixbuf_document_document_iface_init), (pixbuf_document_init):
5405 * pixbuf/pixbuf-document.h:
5406 * shell/Makefile.am:
5407 * shell/ev-application.c: (ev_application_open):
5408 * shell/ev-window.c: (mime_type_supported_by_gdk_pixbuf),
5412 Tue Dec 21 21:45:43 2004 Soeren Sandmann <sandmann@redhat.com>
5415 * dvi/dvilib/Makefile.am:
5417 * configure.ac: Auto*ify dvi and dvi/dvilib
5419 * dvi/Makefile: Remove from CVS
5421 * dvi/dvilib/dl-pkfont.cc (unpack_bitmap): Fix uchar/uint
5424 * dvi/dvilib/dl-fontdefinition.{cc,hh}: New DviFontMap class
5426 * dvi/dvilib/dl-vffont.{cc,hh}: Many bugfixes to VF code.
5428 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
5431 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_finalize),
5432 (gtk_gs_value_adjustment_changed), (compute_size),
5433 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_new_from_file),
5434 (gtk_gs_center_page), (gtk_gs_load), (gtk_gs_set_page_size),
5435 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
5436 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
5437 (gtk_gs_start_scroll), (gtk_gs_get_postscript),
5438 (gtk_gs_set_adjustments), (gtk_gs_set_available_size),
5439 (ps_document_load), (ps_document_get_n_pages),
5440 (ps_document_set_page), (ps_document_get_page),
5441 (ps_document_set_target), (ps_document_set_scale),
5442 (ps_document_set_page_offset), (ps_document_get_page_size),
5443 (ps_document_render), (ps_document_begin_find),
5444 (ps_document_end_find), (ps_document_document_iface_init):
5446 * shell/Makefile.am:
5447 * shell/ev-window.c: (ev_window_open):
5449 Some work to integrate gtkgs with EvDocument
5451 2004-12-22 Anders Carlsson <andersca@gnome.org>
5453 * shell/ev-window.c: (update_fullscreen_popup),
5454 (screen_size_changed_cb), (destroy_exit_fullscreen_popup),
5455 (exit_fullscreen_button_clicked_cb),
5456 (fullscreen_popup_size_request_cb), (ev_window_fullscreen),
5457 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
5458 (ev_window_state_event_cb), (ev_window_init):
5459 Add fullscreen support from Epiphany.
5461 2004-12-22 Mark McLoughlin <mark@skynet.ie>
5463 * data/ev-stock-zoom-fit-width.png: fit-width
5464 stock icon from gpdf.
5466 * shell/ev-stock-icons.[ch]: copied from gpdf.
5468 * shell/main.c: (main): init stock icons.
5470 * shell/ev-window.c: use the fit-width icon.
5472 * data/evince-ui.xml: add zooming toolbar items.
5474 2004-12-22 Mark McLoughlin <mark@skynet.ie>
5477 (ev_view_best_fit), (ev_view_fit_width): because
5478 get_page_size() returns the scaled page size, we
5479 need to calculate the scale factor relative to
5480 the previous scale factor. Should really just
5481 add get_real_page_size().
5483 2004-12-22 Mark McLoughlin <mark@skynet.ie>
5485 * shell/ev-view.[ch]:
5486 (ev_view_zoom), (ev_view_zoom_in), (ev_view_zoom_out),
5487 (ev_view_normal_size), (ev_view_best_fit), (ev_view_fit_width):
5490 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
5491 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_normal_size),
5492 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width):
5495 * pdf/xpdf/pdf-document.cc:
5496 (pdf_document_begin_find),
5497 (pdf_document_end_find): make static.
5499 2004-12-22 Martin Kretzschmar <martink@gnome.org>
5501 * pdf/xpdf/GlobalParams.h (setupBaseFontsFc): add prototype.
5503 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): maps base font
5504 names to fontconfig patterns.
5505 (setupBaseFontsFc): setupBaseFonts reimplemented using fontconfig.
5507 * pdf/xpdf/pdf-document.cc (pdf_document_load): use
5510 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
5526 Import ggv backend. Not hooked up yet.
5528 2004-12-22 Mark McLoughlin <mark@skynet.ie>
5530 * shell/main.c: (load_files), (main): load files
5531 from the command line.
5533 2004-12-22 Mark McLoughlin <mark@skynet.ie>
5535 * configure.ac: don't require bonobo.
5537 * cut-n-paste/recent-files/*: kill bonobo recent
5540 * shell/ev-window.c:
5541 (ev_window_is_empty): upd.
5542 (unable_to_load), (ev_window_open): load backend
5543 based on the mime type.
5545 2004-12-22 Martin Kretzschmar <martink@gnome.org>
5547 * backend/.cvsignore: ignore generated marshalers source.
5549 * shell/main.c (main): this is not epiphany.
5551 2004-12-22 Havoc Pennington <hp@redhat.com>
5553 * shell/ev-view.c (ev_view_set_document): connect to "found" signal
5554 (expose_bin_window): draw find highlights
5556 * shell/ev-window.c (find_bar_search_changed_cb): implement
5558 * pdf/xpdf/pdf-document.cc (pdf_document_begin_find)
5559 (pdf_document_end_find): implement this interface
5561 * backend/ev-document.c (ev_document_found): add this to emit
5564 Tue Dec 21 23:57:37 2004 Owen Taylor <otaylor@redhat.com>
5566 * data/evince-ui.xml: Add a few more toolbar items.
5568 * shell/ev-window.c: Hook up page navigation toolbar
5571 * shell/ev-view.[ch]: add ev_view_set/get_page and
5572 a page-changed signal.
5574 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc::
5575 Add ev_document_get_page().
5577 * shell/ev-window.c: Sensitize/desensitize navigation
5580 2004-12-21 Havoc Pennington <hp@redhat.com>
5582 * backend/ev-backend-marshal.c,
5583 backend/ev-backend-marshalers.list, backend/Makefile.am: add
5584 marshaler-generator thingy. I'm sure there's a better way to do
5585 this in the modern world.
5587 * backend/ev-document.h (struct _EvDocumentIface): add begin_find,
5588 end_find methods and "found" signal.
5590 * configure.ac: find glib-genmarshal
5592 Tue Dec 21 23:20:35 2004 Jonathan Blandford <jrb@redhat.com>
5594 * shell/ev-sidebar.c: Construct an actual sidebar.
5595 * shell/ev-sidebar-bookmarks.[ch]:
5596 * shell/ev-sidebar-thumbnails.[ch]: Stub out sidebars.
5598 Tue Dec 21 23:05:51 2004 Owen Taylor <otaylor@redhat.com>
5600 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc:
5603 * shell/ev-view.c: Track the size from the document.
5605 Tue Dec 21 22:17:04 2004 Owen Taylor <otaylor@redhat.com>
5607 * pdf/xpdf/pdf-document.cc (pdf_document_load): PDFDoc
5608 constructor assumes ownership of the string passed in.
5610 * shell/ev-window.c (ev_window_open): Destroy the error
5611 dialog once we've displayed it.
5613 Tue Dec 21 21:58:56 2004 Owen Taylor <otaylor@redhat.com>
5615 * pdf/xpdf/pdf-document.cc shell/ev-view.c: Hook things up
5616 a bit, it works! (sort of)
5618 * pdf/xpdf/Makefile.am pdf/xpdf/pdf-document.cc:
5619 Move to .cc since we need to use C++ in the implementation.
5621 * shell/dummy.cc: Add a CC file to force evince
5622 to be linked as a C++ program.
5624 Tue Dec 21 21:07:55 2004 Owen Taylor <otaylor@redhat.com>
5626 * shell/ev-view.[ch]: Start of content-area widget.
5628 * shell/ev-window.c: Create a EvView, update it
5629 as we change documents.
5631 * shell/Makefile.am shell/ev-marshal.list: Add
5632 generated marshalers.
5634 Tue Dec 21 20:28:11 2004 Jonathan Blandford <jrb@redhat.com>
5636 * Makefile.am (SUBDIRS): move shell.
5638 Tue Dec 21 19:28:55 2004 Owen Taylor <otaylor@redhat.com>
5640 * pdf/{goo,fofi,splash,xpdf}/Makefile.am: Switch from
5641 .a to libtool convenience libraries.
5643 * shell/ev-window.c (ev_window_open): Hard code loading
5646 * backend/ev-document.h: Add a boolean return to load(),
5647 fix GError * to GError **.
5649 * pdf/xpdf/pdf-document.[ch] Makefile.am: Add a stub
5650 object for a PDF backend EvDocument.
5652 Tue Dec 21 18:55:06 2004 Søren Sandmann <sandmann@redhat.com>
5654 * dvi/*: New directory with the beginning of a .dvi backend.
5656 2004-12-21 Havoc Pennington <hp@redhat.com>
5658 * shell/eggfindbar.c (egg_find_bar_init): change buttons to
5659 previous/next instead of back/forward
5661 Tue Dec 21 18:26:24 2004 Owen Taylor <otaylor@redhat.com>
5663 * backend/ev-document.[ch]: Fix a couple of problems so
5666 Tue Dec 21 18:20:40 2004 Owen Taylor <otaylor@redhat.com>
5668 * viewer/* backend/* configure.ac Makefile.am: Move viewer directory
5669 to backend/ directory, rename EvViewer to EvDocument.
5671 2004-12-21 Havoc Pennington <hp@redhat.com>
5673 * shell/ev-window.c: hook up the find bar widget; now we just need
5674 a document to find things in
5676 * shell/eggfindbar.c: a find bar widget
5678 Tue Dec 21 17:20:16 2004 Jonathan Blandford <jrb@redhat.com>
5680 * shell/ev-sidebar.[ch]: initial sidebar boilerplate.
5682 Tue Dec 21 16:30:58 2004 Owen Taylor <otaylor@redhat.com>
5684 * pdf/**: Import of xpdf code from gpdf.
5686 * pdf/xpdf/xpdfconfig.h: Move the non-config.h config.h to xpdfconfig.h
5688 * pdf/splash/SplashFTFont.{cc,h} pdf/splash/SplashFTFont.h
5689 pdf/splash/SplashFTFontEngine.h pdf/splash/SplashFTFontFile.h:
5690 Fix FreeType includes.
5692 * pdf/xpdf/{Error.h GnomeVFSStream.cc ImageOutputDev.cc PDFDoc.cc\
5693 pdffonts.cc pdfimages.cc pdfinfo.cc pdftoppm.cc pdftops.cc
5694 pdftotext.cc PSOutputDev.cc PSOutputDev.h SplashOutputDev.h
5695 Stream.cc TextOutputDev.cc XPDFApp.cc xpdf.cc XPDFViewer.cc
5696 pdf/xpdf/Error.h PSOutputDev.h SplashOutputDev.h}:
5697 Include xpdfconfig.h
5699 Tue Dec 21 16:08:17 2004 Jonathan Blandford <jrb@redhat.com>
5701 * shell/ev-window.c (ev_window_dispose): dispose can be called
5704 2004-12-21 Havoc Pennington <hp@redhat.com>
5706 * shell/ev-window.c (ev_window_init): set title to Document Viewer
5709 * data/evince-ui.xml, shell/ev-window.c: add a bunch of stub menu
5710 items; really they should be synced with the strings, etc. from
5711 current gpdf, but just getting the boring typing out of the way
5713 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
5716 * shell/ev-application.c: (window_destroy_cb):
5717 * shell/ev-window.c:
5718 * shell/main.c: (main):
5720 Actually show the window...
5722 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
5725 * shell/Makefile.am:
5726 * shell/ev-application.c: (ev_application_class_init):
5727 * shell/ev-window.c: (ev_window_dispose), (ev_window_class_init):
5731 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
5733 Import to gnome cvs.
5735 * Remove copies of gpdf and ggv trees.
5736 * Rip out all the recursive configure code.
5737 * Remove bonobo machinery.
5738 * viewer/*: GInterfaces that backends should/can implement.
5740 2004-11-09 Martin Kretzschmar <m_kretzschmar@gmx.net>
5742 * shell/ev-window.c (ev_window_cmd_help_about): fix "documentors"
5745 2004-10-28 Martin Kretzschmar <m_kretzschmar@gmx.net>
5747 * shell/ev-application.c (EV_APPLICATION_GET_PRIVATE)
5748 (ev_application_finalize, ev_application_class_init)
5749 (ev_application_init): use GType instance private data for priv.
5751 * shell/ev-window.c (EV_WINDOW_GET_PRIVATE)
5752 (ev_window_finalize, ev_window_class_init)
5753 (ev_window_init): ditto.
5755 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
5757 * shell/ev-application.c (ev_application_new_window): make public
5758 (ev_application_show_initial_window): kill.
5760 * shell/ev-application.h: update prototypes.
5762 * shell/main.cc (main): inline ev_application_show_initial_window.
5764 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
5766 * shell/ev-application.c (ev_application_new_window): impl.
5767 (ev_application_show_initial_window): use it.
5768 (is_window_empty, ev_application_get_empty_window): returns an
5769 existing empty window or a new one.
5770 (ev_application_open): from ev_window_cmd_file_open.
5772 * shell/ev-application.h: update prototypes
5774 * shell/ev-window.c (ev_window_is_empty): impl.
5775 (ev_window_open): make public.
5776 (ev_window_cmd_file_open): use ev_application_open
5778 * shell/ev-window.h: update prototypes, remove unused.
5780 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
5782 * shell/ev-window.c (ev_window_destroy, ev_window_class_init):
5783 move destroy handler out of here...
5785 * shell/ev-application.c, shell/ev-application.h: ...into this new
5786 class. Also handles initial window creation.
5788 * shell/main.cc (main): use EvApplication to create initial
5791 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
5793 * Makefile.am (SUBDIRS): add cut-n-paste
5795 * cut-n-paste/Makefile.am: add
5797 * configure.ac: generate Makefiles in cut-n-paste
5799 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
5801 * shell/ev-window.c (ev_window_dispose): new, unref the ui_manager
5802 (ev_window_class_init): install ev_window_dispose.
5804 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
5806 * shell/ev-window.h, shell/ev-window.c: replace gchar with
5807 char (gchar looks stupid).
5809 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
5811 * po/de.po: updated German translation.
5813 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
5815 * configure.ac: add more pkg-config library checks for gnome-vfs,
5818 * gpdf/configure.in: temporarily disable libpaper
5819 checks. Otherwise I'd have to add the checks for the shell, too.
5821 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
5823 * shell/ev-window.c (ev_window_cmd_file_open): add ps+pdf, ps, pdf
5824 and * file filters to the file choose.
5826 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
5828 * po/de.po: Updated German translation.
5830 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
5832 * shell/ev-window.c: use "S" as mnemonic for Statusbar.
5834 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
5836 * data/evince-ui.xml: add View->Toolbar and View->Statusbar.
5838 * shell/ev-window.c (menu_item_select_cb, menu_item_select_cb)
5839 (ev_window_init): implement those menuitems.
5841 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
5843 * data/evince-ui.xml: add a toolbar (with FileOpen action)
5845 * shell/ev-window.c (ev_window_init): use the toolbar.
5847 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
5849 * shell/ev-window.c (ev_window_init): use menu translations
5851 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
5853 * configure.ac: add "de" to ALL_LINGUAS.
5855 * po/de.po: add German translation.
5857 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
5859 * Makefile.am (SUBDIRS): add po
5861 * configure.ac: check intltool, glib-gettext etc, generate
5864 * po, po/POTFILES.in, po/POTFILES.skip: new.
5866 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
5868 * shell/Makefile.am (INCLUDES): define GNOMELOCALEDIR which we
5869 already use (#ifdef ENABLE_NLS)
5871 * shell/ev-window.c (ev_window_cmd_help_about): fix two star
5872 pointer indirection thinko.
5874 * shell/main.c: include gi18n.h for bindtextdomain etc.
5876 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5878 * shell/ev-window.c (menu_item_select_cb, menu_item_deselect_cb)
5879 (connect_proxy_cb, disconnect_proxy_cb, ev_window_init): show
5880 tooltips for menu items in the statusbar.
5882 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5884 * configure.ac, data/Makefile.am, shell/Makefile.am: use
5885 pkgdatadir drop UIDIR
5887 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5889 * data/evince-ui.xml: Add File->Open menu item
5891 * shell/ev-window.c (ev_window_cmd_file_open): impl. (shows a file
5892 chooser), hook it up in the ui manager.
5894 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5896 * shell/ev-window.c: fix Help->About tooltip.
5898 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5900 * configure.ac: set CFLAGS for libevprivate.
5902 * lib/ev-stock-icons.h, lib/ev-stock-icons.c: stock icon
5903 definitions, factory etc.
5905 * lib/Makefile.am: build libevprivate.a (only stock icon code).
5907 * shell/Makefile.am: link against libevprivate.a.
5909 * shell/ev-window.c (entries): add stock icon to Help->About.
5911 * shell/main.c (main): init stock icon code.
5913 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5915 * lib/recent-files: egg recent files code
5917 * lib/Makefile.am: add.
5919 * Makefile.am: add lib subdir.
5921 * configure.ac: gen. lib/Makefile and lib/recent-files/Makefile,
5922 set CFLAGS for recent-files.
5924 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5926 * configure.ac: disable -ansi and -pedantic gcc flags. They
5927 disable POSIX stuff in stdio.h, but egg-recent uses them.
5929 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5931 * configure.ac: add --disable-deprecated flag (defaults to on in
5934 * shell/Makefile.am (INCLUDES): use it.
5936 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5938 * shell/main.c: add missing #include.
5940 * shell/ev-window.c: fix for pedantic gcc.
5941 (ev_window_cmd_help_about): split license into paragraphs for
5942 translators and pedantic compilers.
5944 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5946 * configure.ac: add more warning flags if compiling with gcc from
5947 cvs (or explicitly requested with --enable-more-warnings).
5949 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5951 * data/evince-ui.xml: add File and File->Close menu.
5953 * shell/ev-window.c (ev_window_cmd_file_close_window): impl.
5954 (ev_window_destroy): quit after destroy.
5955 (ev_window_class_init): override GtkObject::destroy.
5956 (entries): install close_window callback.
5958 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5960 * Makefile.am (SUBDIRS): add data subdir.
5962 * configure.ac (UIDIR): gen data/Makefile, define UIDIR. Require
5963 gtk+ 2.5.0 for GtkAboutDialog.
5965 * data/Makefile.am, data/evince-ui.xml: add, ui definition for the
5968 * shell/Makefile.am (INCLUDES): propagate UIDIR definition.
5970 * shell/ev-window.c (ev_window_init): create a menubar, using a ui
5972 (ev_window_cmd_help_about): about command, using GtkAboutDialog.
5974 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5976 * shell/ev-window.c, shell/ev-window.h: Created an EvWindow class.
5978 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
5980 * shell/main.c: make it a trivial gtk+ program, adjust configure.ac
5982 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
5984 * shell/*: Added shell directory boilerplate, build it.
5986 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
5988 * configure.ac, Makefile.am: Added top-level configure.ac and