1 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
6 Ever build metadata manager since it's just
7 disabled at runtime now.
9 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
11 * shell/ev-metadata-manager.c: (ev_metadata_manager_init),
12 (ev_metadata_manager_get), (ev_metadata_manager_set):
13 * shell/ev-metadata-manager.h:
15 Add an _init functions that enabled metadata management
18 * shell/ev-window.c: (page_changed_cb),
19 (setup_document_from_metadata), (ev_window_setup_document),
20 (setup_view_from_metadata), (ev_window_open_uri),
21 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
22 (ev_window_run_presentation), (ev_window_stop_presentation),
23 (save_sizing_mode), (ev_window_zoom_changed_cb),
24 (ev_window_continuous_changed_cb),
25 (ev_window_dual_mode_changed_cb), (window_state_event_cb),
26 (window_configure_event_cb):
28 Remove all ugly metadata define since we deal with it
31 * shell/main.c: (load_files_remote), (main):
33 Add support for dbus cvs head. Hopefully didnt break one
34 of the other versions now!
36 If we dont get a response from the dbus server just
37 give up with it and not enable metadata.
39 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
42 * backend/Makefile.am:
44 * cut-n-paste/recent-files/Makefile.am:
45 * cut-n-paste/toolbar-editor/Makefile.am:
46 * cut-n-paste/zoom-control/Makefile.am:
50 * properties/Makefile.am:
53 * thumbnailer/Makefile.am:
56 Make frontends depend on just libev.
57 Rework and group CFLAGS/LIBS definitions.
60 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
64 do not unnecessarily save zoom
67 * lib/ev-file-helpers.c: (ev_dot_dir):
73 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
77 Remove unnecessary dependencies
79 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
81 * properties/Makefile.am:
82 * thumbnailer/Makefile.am:
85 Some more cleanups. Was really necessary
86 but I probably introduced bugs, feel free
89 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
91 * backend/Makefile.am:
93 * cut-n-paste/recent-files/Makefile.am:
94 * cut-n-paste/toolbar-editor/Makefile.am:
95 * cut-n-paste/zoom-control/Makefile.am:
99 * properties/Makefile.am:
102 * thumbnailer/Makefile.am:
105 Use gnome-common macros when possible.
106 Cleanup dependencies.
107 Actually disable deprecated where possible.
109 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
112 * backend/Makefile.am:
113 * properties/Makefile.am:
115 * thumbnailer/Makefile.am:
117 This should solve the circular dep without
120 * shell/ev-window.c: (setup_view_from_metadata):
122 Never restore window size/position when the
123 window is already visible.
125 2005-07-06 Christian Persch <chpe@cvs.gnome.org>
127 * shell/ev-metadata-manager.c: (ev_metadata_manager_save):
129 Return a boolean from timeout func. Fix ported from gedit.
131 2005-07-07 Iñaki Larrañaga <dooteo@euskalgnu.org>
133 * configure.ac: Added "eu" (Basque) to ALL_LINGUAS.
135 2005-07-06 Carlos Garcia Campos <carlosgc@gnome.org>
137 * shell/ev-document-types.c: set "All Documents" as default filter in
140 2005-07-06 Martin Kretzschmar <martink@gnome.org>
142 * shell/ev-metadata-manager.c (ev_metadata_manager_set_int)
143 (ev_metadata_manager_set_double, ev_metadata_manager_set_string)
144 (ev_metadata_manager_set_boolean): fix value/val thinko.
146 2005-07-06 Marco Pesenti Gritti <mpg@redhat.com>
148 * shell/ev-window.c: (setup_view_from_metadata),
149 (window_state_event_cb), (window_configure_event_cb),
152 Remember window position and maximized state
154 2005-07-06 Christian Persch <chpe@cvs.gnome.org>
158 Fix DBUS configure checks.
160 * shell/ev-metadata-manager.c: (ev_metadata_manager_set_int),
161 (ev_metadata_manager_set_double), (ev_metadata_manager_set_string),
162 (ev_metadata_manager_set_boolean):
166 * shell/ev-window.c: (page_changed_cb), (ev_window_run_fullscreen),
167 (ev_window_stop_fullscreen), (ev_window_run_presentation),
168 (ev_window_stop_presentation), (ev_window_zoom_changed_cb),
169 (ev_window_continuous_changed_cb),
170 (ev_window_dual_mode_changed_cb), (ev_window_new):
172 Fix the build without DBUS.
174 2005-07-06 Marco Pesenti Gritti <mpg@redhat.com>
176 * shell/ev-metadata-manager.c: (parse_value), (save_values),
177 (ev_metadata_manager_set_int), (ev_metadata_manager_set_double),
178 (ev_metadata_manager_set_string),
179 (ev_metadata_manager_set_boolean):
180 * shell/ev-metadata-manager.h:
182 Add support for some more types
184 * shell/ev-view.c: (scroll_to_current_page),
185 (ev_view_get_continuous), (ev_view_set_continuous),
186 (ev_view_get_dual_page):
188 * shell/ev-window.c: (page_changed_cb),
189 (setup_document_from_metadata), (ev_window_setup_document),
190 (setup_view_from_metadata), (ev_window_open_uri),
191 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
192 (ev_window_run_presentation), (ev_window_stop_presentation),
193 (save_sizing_mode), (ev_window_sizing_mode_changed_cb),
194 (ev_window_zoom_changed_cb), (ev_window_update_continuous_action),
195 (ev_window_update_dual_page_action),
196 (ev_window_continuous_changed_cb),
197 (ev_window_dual_mode_changed_cb), (ev_window_init):
199 Remember a bunch of view/document properties. Prolly some
200 are still missing but it's getting interesting.
202 2005-07-05 Martin Kretzschmar <martink@gnome.org>
204 * configure.ac: check if dbus-binding-tool is installed. Not the
205 case on current Ubuntu breezy, it seems.
207 2005-07-05 Luca Ferretti <elle.uca@libero.it>
209 * data/evince.desktop.in.in:
211 Allow open uri lists and add TryExec field.
213 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
217 Enable dbus when available, do not require a configure
220 2005-07-05 Christian Persch <chpe@cvs.gnome.org>
224 Use AM_CONDITIONAL unconditionally, fixes the build with DBUS
227 2005-07-05 Carlos Garcia Campos <carlosgc@gnome.org>
228 Marco Pesenti Gritti <mpg@redhat.com>
230 * shell/Makefile.am: Add --prefix for dbus-binding-tool script
232 * shell/ev-application.[ch], shell/ev-window.c: change dbus RPC
233 functions to the format required by dbus
235 * shell/main.c: use G_TYPE instead of DBUS_TYPE to fix compilation
236 errors. Use the RPC parameters in the expected way
238 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
241 * properties/Makefile.am:
242 * properties/ev-properties-main.c: (ev_properties_get_pages):
244 Support all mime types
247 * thumbnailer/Makefile.am:
248 * thumbnailer/evince-thumbnailer.c: (get_document_from_uri),
249 (evince_thumbnail_pngenc_get):
251 Use the document factory
253 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
255 * backend/Makefile.am:
256 * backend/ev-document-factory.c:
257 (mime_type_supported_by_gdk_pixbuf),
258 (ev_document_type_get_from_mime),
259 (ev_document_factory_get_document),
260 (ev_document_factory_get_backend),
261 (ev_document_factory_get_mime_types),
262 (ev_document_factory_get_all_mime_types):
263 * backend/ev-document-factory.h:
265 * shell/ev-document-types.c: (get_document_from_uri),
266 (ev_document_types_get_document),
267 (file_filter_add_mime_list_and_free),
268 (ev_document_types_add_filters):
269 * shell/ev-document-types.h:
270 * shell/ev-job-xfer.c: (ev_job_xfer_run):
271 * shell/ev-properties-dialog.c:
272 (ev_properties_dialog_set_document):
273 * shell/ev-window.c: (ev_window_cmd_file_open),
274 (ev_window_cmd_save_as):
275 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
277 Rework document types managing to avoid code duplication
278 and actually abstract from backend implementations.
279 Also provide a minimal factory api that can be used by
280 thumbnailer/properties.
282 2005-07-05 Christian Persch <chpe@cvs.gnome.org>
284 * properties/ev-properties-view.c: (ev_properties_view_set_info):
286 * shell/ev-properties-dialog.c: (ev_properties_dialog_init):
289 2005-07-04 Matthew S. Wilson <msw@rpath.com>
291 * shell/ev-properties-dialog.c
292 (ev_properties_dialog_set_document): only call
293 ev_properties_fonts_set_document() if the document implements the
296 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
299 * properties/Makefile.am:
300 * properties/ev-properties-view.c:
301 (ev_properties_view_register_type):
302 * properties/ev-properties-view.h:
303 * properties/ev-properties-main.h:
305 Implement nautilus plugin for properties.
306 Works only for pdf atm, I need to rework the
307 document types stuff to get this to work
310 2005-07-04 Martin Kretzschmar <martink@gnome.org>
312 * shell/ev-properties-fonts.c (enum): kill redundant columns enum
313 (ev_properties_fonts_set_document): use
314 EV_DOCUMENT_FONTS_COLUMN_NUM_COLUMNS.
316 2005-07-04 Matthew S. Wilson <msw@rpath.com>
318 * tiff/tiff2ps.c: remove TRUE and FALSE definitions, glib provides
320 (PlaceImage, tiff2ps_process_page): use
321 g_ascii_dtostr to convert floats to strings in a locale-safe way.
324 2005-07-04 Martin Kretzschmar <martink@gnome.org>
326 * shell/main.c: include libgnomeui/gnome-authentication-manager.h
327 (main): to call gnome_authentication_manager_init. Should fix
330 * configure.ac: that requires libgnomeui 2.6.0.
332 2005-07-04 Matthew S. Wilson <msw@rpath.com>
334 * tiff/tiff-document.c (tiff_document_ps_export_begin)
335 (tiff_document_ps_export_do_page, tiff_document_ps_export_end):
336 use the new tiff2ps interfaces
338 * tiff/tiff2ps.h (tiff2ps_context_new, tiff2ps_process_page)
339 (tiff2ps_context_finalize): implement new interfaces for tiff2ps
341 * tiff/tiff2ps.c: refactor tiff2ps code to use a context
342 structure instead of global variables. Remove use of static
343 variables in functions.
345 2005-07-04 Carlos Garcia Campos <carlosgc@gnome.org>
347 * shell/ev-page-action.c: unref the completion after setting it to the
350 2005-07-04 Matthew S. Wilson <msw@rpath.com>
352 * tiff/tiff2ps.c (generateEPSF): disable generating encapsulated
355 2005-07-04 Matthew S. Wilson <msw@rpath.com>
357 * shell/ev-window.c (update_action_sensitivity): disable
358 File->Print if the document does not implement the ps exporter
361 2005-07-04 Marco Pesenti Gritti <mpg@redhat.com>
365 * data/evince-properties.glade:
366 * properties/.cvsignore:
367 * properties/Makefile.am:
368 * properties/ev-properties-view.c: (ev_properties_view_dispose),
369 (ev_properties_view_class_init), (ev_properties_view_format_date),
370 (make_valid_utf8), (set_property), (ev_properties_view_set_info),
371 (ev_properties_view_init), (ev_properties_view_new):
372 * properties/ev-properties-view.h:
374 * shell/ev-properties-dialog.c: (ev_properties_dialog_class_init),
375 (ev_properties_dialog_init), (ev_properties_dialog_set_document),
376 (ev_properties_dialog_new):
377 * shell/ev-properties-dialog.h:
378 * shell/ev-properties-fonts.c: (ev_properties_fonts_dispose),
379 (ev_properties_fonts_class_init), (ev_properties_fonts_init),
380 (update_progress_label), (job_fonts_finished_cb),
381 (ev_properties_fonts_set_document), (ev_properties_fonts_new):
382 * shell/ev-properties-fonts.h:
383 * shell/ev-properties.c:
384 * shell/ev-properties.h:
385 * shell/ev-window.c: (ev_window_setup_document),
386 (ev_window_cmd_file_properties):
388 Split the properties pages in two different objects, depend
389 only on the backend where possible, use widgets instead
390 of gobject for the glade part, reimplement the dialog
392 I need this to implement nautilus properties page.
394 2005-07-03 Matthew S. Wilson <msw@rpath.com>
396 * tiff/tiff-document.c (tiff_document_ps_export_begin)
397 (tiff_document_ps_export_do_page, tiff_document_ps_export_end)
398 (tiff_document_document_ps_exporter_iface_init): implement the ps
399 exporter interface for tiff documents
401 * tiff/tiff2ps.c: added a modified version of tiff2ps.c from
402 libtiff to implement TIFF postscript export
404 * tiff/tiff2ps.h: added a header file for external tiff2ps
407 * tiff/Makefile.am (libtiffdocument_la_SOURCES): add tiff2ps.c and
410 2005-07-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
412 * shell/ev-view.c: (scroll_to_current_page),
413 (ev_view_set_fullscreen), (ev_view_set_presentation):
415 Scroll to current page when exit from presentation
417 2005-07-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
419 * shell/ev-window.c: (update_document_mode),
420 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
421 (ev_window_cmd_view_fullscreen), (ev_window_stop_presentation),
422 (ev_window_cmd_view_presentation), (ev_window_cmd_escape):
424 Exit from fullscreen mode when switch to presentation. Fix for
427 2005-07-02 Matthew S. Wilson <msw@rpath.com>
429 * shell/ev-pixbuf-cache.c (ev_pixbuf_cache_get_selection_pixbuf):
430 return NULL if the document does not implement the selection
433 2005-07-02 Matthew S. Wilson <msw@rpath.com>
435 * tiff/tiff-document.c (tiff_document_get_page_size): scale the
436 reported height by using the resolution aspect ratio
437 (tiff_document_render_pixbuf): scale the pixbuf using the
438 resolution aspect ratio
440 2005-07-01 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
444 Require libgnomeprint >= 2.5.1. Thanks to Colin Slater
445 <kiltedaco@gmail.com>
447 * djvu/djvu-document.c: (djvu_document_get_orientation),
448 (djvu_document_set_orientation), (djvu_document_get_page_size),
449 (rotate_pixbuf), (djvu_document_render_pixbuf),
450 (djvu_document_document_iface_init):
451 * dvi/dvi-document.c: (dvi_document_get_orientation),
452 (dvi_document_set_orientation), (dvi_document_get_page_size),
453 (rotate_pixbuf), (dvi_document_render_pixbuf),
454 (dvi_document_document_iface_init):
456 Dvi and djvu backends are ported to new API
458 Fri Jul 1 00:10:15 2005 Jonathan Blandford <jrb@redhat.com>
460 * backend/ev-selection.c: (ev_selection_get_selection_region),
461 (ev_selection_get_selection_map):
462 * backend/ev-selection.h:
464 * shell/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
466 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info),
467 (job_finished_cb), (copy_job_to_job_info), (add_job_if_needed),
468 (ev_pixbuf_cache_get_text_mapping):
469 * shell/ev-pixbuf-cache.h:
470 * shell/ev-view.c: (location_in_text),
471 (ev_view_motion_notify_event), (ev_view_set_cursor): Add I-Beam
472 support to EvView. Now we can see where we can select! Sweet!
474 2005-06-30 Kristian Høgsberg <krh@redhat.com>
476 * shell/ev-view.c (ev_view_button_press_event): Fix
477 event->y + view->scroll_x typo.
479 2005-06-30 Kristian Høgsberg <krh@redhat.com>
481 * pdf/ev-poppler.cc: Adjust to poppler API changes; use a
482 sub-GdkPixbuf instead of passing dest_x and dest_y.
484 * shell/ev-view.c: (view_point_to_doc_point),
485 (view_rect_to_doc_rect), (ev_view_button_press_event),
486 (ev_view_motion_notify_event), (compute_new_selection_rect),
487 (gdk_rectangle_point_in), (compute_new_selection_text),
488 (compute_selections): Update selection code to keep the selection
489 around as two points and not as a normalized rectangle, and fix
490 page level selection in two-column mode.
492 2005-06-30 Alex Duggan <aldug@astrolinux.com>
494 * shell/ev-window.c: (window_configure_event_cb):
498 2005-06-30 Marco Pesenti Gritti <mpg@redhat.com>
504 2005-06-30 Marco Pesenti Gritti <mpg@redhat.com>
507 * shell/ev-metadata-manager.c: (item_free),
508 (ev_metadata_manager_init), (ev_metadata_manager_shutdown),
509 (parse_value), (parseItem), (load_values),
510 (ev_metadata_manager_get), (value_free), (ev_metadata_manager_set),
511 (save_values), (save_item), (get_oldest), (resize_items),
512 (ev_metadata_manager_save), (ev_metadata_manager_set_int):
513 * shell/ev-metadata-manager.h:
515 Metadata manager from gedit but modified to use GValue, so that
516 we dont need to keep converting from strings.
520 ENABLE_METADATA conditional, on when dbus is on
522 * shell/ev-application.c: (ev_application_open_uri):
524 Show the window after load so that we can initialize
525 window size before it's showed.
527 * shell/ev-window.c: (ev_window_setup_from_metadata),
528 (ev_window_open_uri), (window_configure_event_cb),
531 Save and load metadata information about window size.
532 Not yet keeping states in account.
534 * shell/main.c: (main):
536 Shutdown metadata manager.
538 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
540 * shell/ev-application-service.xml:
543 * shell/ev-application.c:
544 * shell/ev-application.h:
549 Add an optional dbus interface (--enable-dbus).
550 Rework application code, mainly to be easier to
552 Do not open multiple windows with the same document,
555 Thu Jun 30 01:50:14 2005 Jonathan Blandford <jrb@redhat.com>
557 * shell/ev-pixbuf-cache.c (clear_selection_if_needed): unref the
558 pixbuf iff it exists.
560 Thu Jun 30 01:43:00 2005 Jonathan Blandford <jrb@redhat.com>
563 * backend/ev-render-context.[ch]:
564 * backend/ev-selection.[ch]:
566 Massive changes. We now support text selection of pdfs, and not
567 just rectangular selection. This is pretty broken still, but I
568 want to get something into CVS.
570 2005-06-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
574 Fix for Bug 309080: crash on window close.
576 * shell/ev-page-action.c: (page_changed_cb):
578 Fix for Bug 309168: Fix build with gcc 2.95. Thanks to
579 jensgr@gmx.net (Jens Granseuer).
581 2005-06-25 Marcel Telka <marcel@telka.sk>
583 * configure.in (ALL_LINGUAS): Added sk.
585 2005-06-24 Carlos Garcia Campos <carlosgc@gnome.org>
587 * shell/ev-window.c: Make rotate menu entries unsensitive if there is
590 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
597 * cut-n-paste/recent-files/Makefile.am:
601 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
603 * pixbuf/pixbuf-document.c: (pixbuf_document_get_orientation),
604 (pixbuf_document_set_orientation), (rotate_pixbuf),
605 (pixbuf_document_get_page_size), (pixbuf_document_render_pixbuf),
606 (pixbuf_document_document_iface_init), (pixbuf_document_init):
608 Implement rotation and cleanup the code a bit.
610 * tiff/tiff-document.c: (tiff_document_get_page_size),
611 (tiff_document_get_orientation), (tiff_document_set_orientation),
612 (rotate_pixbuf), (tiff_document_render_pixbuf),
613 (tiff_document_document_iface_init), (tiff_document_init):
615 Implement rotation. Was the quicker solution for the release
616 but we really need to share this code in the shell.
618 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
622 Enable rotation, require poppler cvs. Fix a leak.
624 2005-06-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
626 * shell/ev-window.c: (update_action_sensitivity):
628 Make properties unsensitive if document backend doesn't provide
631 2005-06-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
633 * dvi/mdvi-lib/bitmap.c: (bitmap_alloc), (bitmap_alloc_raw),
634 (bitmap_flip_horizontally), (bitmap_flip_vertically),
635 (bitmap_flip_diagonally), (bitmap_rotate_clockwise),
636 (bitmap_rotate_counter_clockwise), (bitmap_flip_rotate_clockwise),
637 (bitmap_flip_rotate_counter_clockwise):
638 * dvi/mdvi-lib/color.c: (mdvi_push_color), (get_color_table):
639 * dvi/mdvi-lib/common.c: (read_string), (buff_free), (buff_add),
641 * dvi/mdvi-lib/common.h:
642 * dvi/mdvi-lib/dvimisc.c: (mdvi_push_color):
643 * dvi/mdvi-lib/dviread.c: (get_bytes), (dreset), (define_font),
644 (opendvi), (mdvi_reload), (mdvi_init_context),
645 (mdvi_destroy_context), (mdvi_dopage), (special):
646 * dvi/mdvi-lib/font.c: (font_drop_one), (font_free_unused):
647 * dvi/mdvi-lib/fontmap.c: (read_encoding), (destroy_encoding),
648 (file_hash_free), (register_encoding), (parse_spec),
649 (mdvi_load_fontmap), (free_ent), (mdvi_init_fontmaps),
650 (mdvi_add_fontmap_file), (mdvi_ps_read_fontmap),
651 (mdvi_ps_flush_fonts), (mdvi_ps_find_font), (mdvi_ps_get_metrics):
652 * dvi/mdvi-lib/fontsrch.c: (mdvi_list_font_class),
653 (mdvi_register_font_type), (mdvi_unregister_font_type),
654 (lookup_font), (mdvi_add_font), (mdvi_font_retry):
655 * dvi/mdvi-lib/gf.c: (gf_read_bitmap), (gf_load_font):
656 * dvi/mdvi-lib/hash.c: (mdvi_hash_remove), (mdvi_hash_remove_ptr),
657 (mdvi_hash_destroy_key), (mdvi_hash_reset):
658 * dvi/mdvi-lib/pagesel.c: (mdvi_parse_range),
659 (mdvi_parse_page_spec), (mdvi_free_page_spec), (main):
660 * dvi/mdvi-lib/paper.c: (mdvi_free_paper_specs):
661 * dvi/mdvi-lib/pk.c: (pk_lookup), (pk_lookupn), (pk_load_font):
662 * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
663 * dvi/mdvi-lib/special.c: (mdvi_register_special),
664 (mdvi_unregister_special), (mdvi_flush_specials):
665 * dvi/mdvi-lib/t1.c: (t1_lookup_font), (t1_really_load_font),
667 * dvi/mdvi-lib/tfm.c: (get_tfm_chars):
668 * dvi/mdvi-lib/tfmfile.c: (afm_load_file), (tfm_load_file),
669 (ofm1_load_file), (ofm_load_file), (get_font_metrics),
670 (free_font_metrics), (flush_font_metrics):
671 * dvi/mdvi-lib/tt.c: (tt_really_load_font), (tt_get_bitmap),
673 * dvi/mdvi-lib/util.c: (mdvi_malloc), (mdvi_realloc),
674 (mdvi_calloc), (mdvi_free), (mdvi_strdup), (mdvi_strncpy),
675 (mdvi_strndup), (mdvi_memdup), (xstradd), (dstring_append),
676 (dstring_insert), (dstring_new), (dstring_reset):
677 * dvi/mdvi-lib/vf.c: (vf_load_font), (vf_free_macros):
679 Rename xmalloc and xfree to mdvi_malloc and mdvi_free to
680 avoid conflict with libtool on FC4
682 * shell/ev-window.c: (ev_window_cmd_help_about):
684 Update copyright year. Fix for bug 308828.
686 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
688 * shell/ev-view.c: (add_scroll_binding_keypad),
689 (ev_view_binding_activated), (ev_view_class_init),
690 (on_adjustment_value_changed):
692 Bug 170874: Arrow keys switch pages in presentation mode
694 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
696 * shell/ev-window.c: (ev_window_sidebar_visibility_changed_cb):
698 Fix for Bug 308265: Sidebar dissappears coming out of
701 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
703 * shell/ev-application.c: (ev_application_open):
704 * shell/ev-document-types.c: (ev_document_types_add_filters),
705 (ev_document_types_add_filters_for_type):
706 * shell/ev-document-types.h:
707 * shell/ev-window.c: (ev_window_cmd_save_as):
709 Suggest basename as template when saving, provide filters
710 for save dialog. It's bug 308402
712 2005-06-20 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
715 * shell/ev-sidebar-links.c: (job_finished_callback):
716 * shell/ev-view.c: (update_find_status_message):
720 2005-06-19 Christian Persch <chpe@cvs.gnome.org>
722 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
723 (egg_recent_view_uimanager_set_list):
725 Fix buglet in !show_numbers case.
727 2005-06-19 Christian Persch <chpe@cvs.gnome.org>
729 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
730 (connect_proxy_cb), (egg_recent_view_uimanager_set_list):
732 Use pango ellipsisation.
736 Fix refcount leak, from nsh.
738 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
740 * cut-n-paste/recent-files/Makefile.am:
741 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
742 * cut-n-paste/recent-files/egg-recent-view-gtk.h:
744 Removed EggRecentViewGtk
746 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
747 * cut-n-paste/recent-files/egg-recent-view-uimanager.h:
748 * shell/ev-window.c: (ev_window_cmd_recent_file_activate),
749 (ev_window_setup_recent):
751 Use ViewUIManager instead of ViewGtk. Less leaks, more compatibility
754 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
756 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
757 (egg_recent_view_gtk_finalize):
761 * cut-n-paste/toolbar-editor/Makefile.am:
763 Fix location of cursor icon.
766 * shell/ev-page-action.c: (build_new_tree_cb), (match_selected_cb),
767 (display_completion_text), (match_completion):
768 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
769 (selection_changed_callback), (create_loading_model),
770 (print_section_cb), (links_page_num_func),
771 (update_page_callback_foreach):
772 * shell/ev-window.c: (ev_window_dispose):
774 Small memory fixes. Links model now store objects instead
775 of pointers to improve memory management.
777 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
779 * shell/ev-window.c: (zoom_control_changed_cb):
781 Fix update of zoom control (bug 308268).
783 Sat Jun 18 22:46:42 2005 Jonathan Blandford <jrb@redhat.com>
785 * shell/ev-properties.c (set_property): escape the text correctly.
786 Handles non-UTF-8 properties and escaped properties. Also, sets
787 the text to "<i>None</i>" if the property isn't set.
789 * data/evince-properties.glade: Change the label to be ellipsized,
790 and give it a minimum size.
792 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
794 * lib/ev-file-helpers.c: (ev_file_helpers_shutdown):
795 * shell/ev-sidebar-links.c: (create_loading_model):
796 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose):
797 * shell/ev-view.c: (ev_view_set_document):
798 * shell/ev-window.c: (ev_window_dispose):
800 Various small fixes, mostly memory leaks. Thanks to valgrind.
802 2005-06-19 Martin Kretzschmar <martink@gnome.org>
804 * ps/ps-document.c: remove the locale.h include again ;-). And
805 kill the (bogus) setlocale/savelocale business.
807 2005-06-19 Jaap A. Haitsma <jaap@haitsma.org>
811 Include locale.h to fix build
813 * shell/ev-sidebar.c:
815 Remove unnecessary includes
817 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
819 * dvi/dvi-document.c: (dvi_document_load):
820 * dvi/mdvi-lib/dviread.c: (mdvi_init_context):
823 Check for incorrect dvi files. Fix parsing dvi on AMD64
824 platform. Thanks to tester@tester.ca (Olivier Crete).
826 2005-06-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
828 * shell/ev-page-action.c: (match_selected_cb),
829 (display_completion_text), (match_completion), (update_model):
830 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
832 * shell/ev-sidebar.c: (ev_sidebar_destroy),
833 (ev_sidebar_menu_item_activate_cb), (ev_sidebar_add_page),
834 (ev_sidebar_set_document):
835 * shell/ev-window.c: (ev_window_xfer_job_cb),
836 (sidebar_widget_model_set), (sidebar_page_main_widget_update_cb):
838 Fixed lot's of memory leaks, for example, memory leak on reload,
839 described in bug 307793.
841 2005-06-18 Marco Pesenti Gritti <mpg@redhat.com>
844 * shell/ev-sidebar-thumbnails.c: (clear_range), (add_range),
845 (update_visible_range), (adjustment_changed_cb),
846 (ev_sidebar_thumbnails_fill_model),
847 (ev_sidebar_thumbnails_refresh),
848 (ev_sidebar_tree_selection_changed),
849 (ev_sidebar_icon_selection_changed),
850 (ev_sidebar_thumbnails_use_icon_view),
851 (ev_sidebar_thumbnails_set_document):
852 * shell/ev-sidebar-thumbnails.h:
853 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
854 (ev_window_cmd_edit_rotate_right), (ev_window_init):
856 Refresh thumbnails when changing orientation. Not fully
857 working yet becuase of a sidebar bug.
859 Set page orientation to poppler page everywhere. This sucks
860 really need to fix poppler.
862 2005-06-18 Marco Pesenti Gritti <mpg@redhat.com>
864 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
865 (egg_recent_view_gtk_new_menu_item),
866 (egg_recent_view_gtk_set_property),
867 (egg_recent_view_gtk_get_property),
868 (egg_recent_view_gtk_class_init), (egg_recent_view_gtk_init),
869 (egg_recent_view_gtk_set_tooltip_func),
870 (egg_recent_view_gtk_set_label_width),
871 (egg_recent_view_gtk_get_label_width):
872 * cut-n-paste/recent-files/egg-recent-view-gtk.h:
874 Sync with libegg (ellipsize labels)
876 2005-06-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
878 * data/evince-ui.xml:
879 * shell/ev-window.c: (ev_window_cmd_go_forward),
880 (ev_window_cmd_go_backward):
882 Shift + PageUp moves 10 Pages. Fix for 306125
884 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
888 Add a flag to check if orientation has been overriden
890 2005-06-17 Martin Kretzschmar <martink@gnome.org>
892 * ps/ps.c (psscan, psfree): read "Creator:" comment, free creator
895 * ps/ps.h: add creator field to document.
897 * ps/ps-document.c (ps_document_get_info): set format to PostScript,
900 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
902 * data/evince-properties.glade:
903 * shell/ev-properties.c: (ev_properties_set_document):
907 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
909 * shell/ev-properties.c: (ev_properties_set_document):
911 Remove unnecessary translations
913 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
915 * cut-n-paste/toolbar-editor/Makefile.am:
919 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
922 * cut-n-paste/recent-files/egg-recent-model.c:
923 (egg_recent_model_write_raw), (egg_recent_model_lock_file),
924 (egg_recent_model_unlock_file):
925 * cut-n-paste/recent-files/egg-recent-util.c:
926 (egg_recent_util_get_unique_id):
927 * cut-n-paste/recent-files/update-from-egg.sh:
928 * cut-n-paste/toolbar-editor/Makefile.am:
929 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
930 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
931 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
932 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
933 (egg_toolbars_model_get_type):
934 * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
936 Better makefile for toolbar editor and update everything
939 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
941 * shell/ev-window.c: (update_document_mode):
943 Prefer presentation mode when the document
946 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
948 * data/evince-ui.xml:
951 Add control-equal for zooming
953 2005-06-17 Theppitak Karoonboonyanan <thep@linux.thai.net>
955 * configure.ac: Added 'th' (Thai) to ALL_LINGUAS.
957 2005-06-16 Marco Pesenti Gritti <mpg@redhat.com>
959 * backend/ev-document.c: (ev_document_get_orientation):
960 * backend/ev-document.h:
962 * ps/ps-document.c: (ps_document_get_orientation),
963 (ps_document_set_orientation), (ps_document_document_iface_init):
965 Add a get_orientation api. Improve set_orientation.
967 * data/evince-ui.xml:
968 * shell/ev-view.c: (ev_view_set_orientation),
969 (ev_view_rotate_right), (ev_view_rotate_left):
971 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
972 (ev_window_cmd_edit_rotate_right):
974 Better ui for changing document orientation
976 2005-06-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
978 * shell/ev-sidebar-links.c: (ev_sidebar_links_get_property),
979 (ev_sidebar_links_class_init), (ev_sidebar_links_get_label):
980 * shell/ev-sidebar-links.h:
981 * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
982 (ev_sidebar_page_iface_init):
983 * shell/ev-sidebar-page.h:
984 * shell/ev-sidebar-thumbnails.c:
985 (ev_sidebar_thumbnails_get_property),
986 (ev_sidebar_thumbnails_class_init),
987 (ev_sidebar_thumbnails_set_document):
988 * shell/ev-sidebar-thumbnails.h:
989 * shell/ev-view.c: (ev_view_motion_notify_event):
990 * shell/ev-window.c: (update_chrome_visibility),
991 (ev_window_cmd_focus_page_selector),
992 (ev_window_update_fullscreen_popup), (view_actions_focus_in_cb),
993 (sidebar_page_main_widget_update_cb), (ev_window_init):
995 Autoraise toolbar on GoToPage binding and fix bindings in
996 EvSidebarThumbnails page.
998 2005-06-15 Christian Persch <chpe@cvs.gnome.org>
1000 * shell/ev-properties.c: (update_progress_label):
1002 Hide the progress label when finished; bug #307697.
1004 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
1006 * pdf/ev-poppler.cc:
1008 Enable is_open for links, you will need poppler cvs
1010 * shell/ev-properties.c: (job_fonts_finished_cb):
1012 Get a lock on the document when filling the tree view
1014 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
1016 * backend/ev-document-links.h:
1017 * pdf/ev-poppler.cc:
1018 * shell/ev-sidebar-links.c: (create_loading_model),
1019 (expand_open_links), (job_finished_callback):
1021 Expand links when specified by the document.
1022 Depend on a poppler api (defined out for now)
1024 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
1026 * shell/ev-properties.c: (ev_properties_dispose),
1027 (ev_properties_class_init), (dialog_destroy_cb),
1028 (ev_properties_init), (job_fonts_finished_cb), (setup_fonts_view),
1029 (ev_properties_set_document), (ev_properties_new),
1030 (ev_properties_show):
1031 * shell/ev-properties.h:
1033 Make it an object, cleanup the code, api to show it as transient
1034 and to set the document.
1036 * shell/ev-window.c: (ev_window_setup_document),
1037 (ev_window_cmd_file_properties):
1039 Adapt to EvProperties changes, do not show multiple
1040 times, update it when document changes.
1042 2005-06-14 Marco Pesenti Gritti <mpg@redhat.com>
1045 * ps/ps-document.c: (ps_document_init), (get_page_orientation),
1046 (ps_document_set_orientation), (ps_document_document_iface_init):
1049 Implement orientation here too
1051 * shell/ev-properties.c: (ev_properties_new):
1052 * data/evince-properties.glade:
1054 Hide the fonts page for backends that doesnt
1057 2005-06-14 Marco Pesenti Gritti <mpg@redhat.com>
1059 * backend/ev-document.c: (ev_document_set_orientation):
1060 * backend/ev-document.h:
1061 * pdf/ev-poppler.cc:
1063 Add orientation api. Currently poppler api is not optimal,
1064 we need to set orientation every time we _get a page.
1065 I will try to fix that at some point.
1067 * data/evince-ui.xml:
1068 * shell/ev-window.c: (ev_window_cmd_edit_landscape),
1069 (ev_window_cmd_edit_portrait), (ev_window_cmd_edit_flip):
1071 Add orientation menu items
1073 * shell/ev-page-cache.c: (ev_page_cache_clear):
1074 * shell/ev-page-cache.h:
1076 Add api to clear the cache
1078 * shell/ev-view.c: (setup_caches), (clear_caches),
1079 (ev_view_set_document), (ev_view_zoom_out),
1080 (ev_view_set_orientation):
1083 Implement orientation changing
1085 2005-06-13 Marco Pesenti Gritti <mpg@redhat.com>
1087 * backend/ev-document-fonts.c: (ev_document_fonts_get_progress),
1088 (ev_document_fonts_scan), (ev_document_fonts_fill_model):
1089 * backend/ev-document-fonts.h:
1091 Separate scan and fill so that we can incrementally fill from
1092 the main thread. Add a progress api.
1094 * data/evince-properties.glade:
1095 * pdf/ev-poppler.cc:
1096 * shell/ev-jobs.c: (ev_job_fonts_new), (ev_job_fonts_run):
1098 * shell/ev-properties.c: (update_progress_label),
1099 (job_fonts_finished_cb), (setup_fonts_view):
1101 Incrementally feel the list and show the progress
1102 percentage in a label like acrobat does.
1104 You are going to need poppler cvs
1106 2005-06-11 Marco Pesenti Gritti <mpg@redhat.com>
1108 * backend/ev-document-fonts.c: (ev_document_fonts_fill_model):
1109 * backend/ev-document-fonts.h:
1110 * pdf/ev-poppler.cc:
1112 Make fonts model fill incrementally.
1114 * shell/ev-job-queue.c: (handle_job), (search_for_jobs_unlocked),
1115 (no_jobs_available_unlocked), (ev_job_queue_init), (find_queue),
1116 (ev_job_queue_remove_job):
1117 * shell/ev-jobs.c: (ev_job_fonts_init), (ev_job_fonts_class_init),
1118 (ev_job_fonts_new), (ev_job_fonts_run):
1121 New job for fonts scanning
1123 * shell/ev-properties.c: (job_fonts_finished_cb),
1124 (fill_fonts_treeview), (setup_fonts_view), (ev_properties_new):
1125 * shell/ev-properties.h:
1126 * shell/ev-window.c: (ev_window_cmd_file_properties):
1128 Incrementally feel the treeview using the new job. Show Loading...
1129 message until scanning is completed.
1131 Hopefully I didnt break the build without the poppler patch.
1133 2005-06-10 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1135 * shell/ev-application.c: (ev_application_open):
1136 * shell/ev-document-types.c: (ev_document_type_from_from_mime),
1137 (ev_document_type_get_type), (ev_document_type_lookup):
1138 * shell/ev-document-types.h:
1139 * shell/ev-job-xfer.c: (ev_job_xfer_dispose), (ev_job_xfer_run):
1140 * shell/ev-job-xfer.h:
1141 * shell/ev-window.c: (ev_window_clear_local_uri),
1142 (ev_window_load_job_cb), (ev_window_xfer_job_cb),
1143 (ev_window_open_uri), (ev_window_add_recent), (ev_window_dispose):
1144 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
1146 Transfer remote documents to tmp directory to display them later.
1148 2005-06-10 Marco Pesenti Gritti <mpg@redhat.com>
1150 * backend/ev-document-info.h:
1151 * shell/ev-properties.c: (ev_properties_new):
1153 s/GTime*/GTime. Not sure why we was using a pointer
1156 Wed Jun 8 01:04:22 2005 Jonathan Blandford <jrb@redhat.com>
1158 * shell/ev-sidebar-thumbnails.c: Use a GtkIconView in certain
1159 situations. That situation is that you're using GTK+-HEAD with
1160 the patch at #306726 is applied, and you have a document with <
1161 1500 pages in it. It's not quite as uniformly nice as the
1162 TreeView, but should be better in the long run.
1164 I'm pretty sure I guarded against breaking compilation with
1165 HAVE_GTK_ICON_VIEW_GET_VISIBLE_RANGE gaurds, though it's possible
1168 * shell/ev-window.c (ev_window_init): We don't have our tree/list
1169 widget yet, so I commented that code out
1170 enable_view_actions_for_widget() for now. Need to figure this
1173 * shell/ev-page-action.c (match_selected_cb): emit the right
1174 signals. Our cool C-l completion now works.
1176 2005-06-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1178 * backend/Makefile.am:
1179 * backend/ev-document-fonts.c:
1180 * backend/ev-document-links.c:
1181 * backend/ev-document.c: (ev_document_load):
1182 * backend/ev-document.h:
1183 * backend/ev-job-queue.c:
1184 * backend/ev-job-queue.h:
1185 * backend/ev-jobs.c:
1186 * backend/ev-jobs.h:
1187 * backend/ev-page-cache.c:
1188 * backend/ev-page-cache.h:
1190 EvPageCache and EvJobs are moved to shell.
1192 * lib/ev-file-helpers.c: (ev_file_helpers_shutdown),
1194 * lib/ev-file-helpers.h:
1196 New helper to work with temporary files
1198 * shell/Makefile.am:
1199 * shell/ev-application.c: (ev_application_open):
1200 * shell/ev-application.h:
1201 * shell/ev-job-queue.c: (remove_job_from_queue_locked),
1202 (remove_job_from_async_queue), (add_job_to_async_queue),
1203 (add_job_to_queue_locked), (notify_finished), (job_finished_cb),
1204 (handle_job), (search_for_jobs_unlocked),
1205 (no_jobs_available_unlocked), (ev_render_thread),
1206 (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
1207 (ev_job_queue_add_job), (move_job_async), (move_job),
1208 (ev_job_queue_update_job), (ev_job_queue_remove_job):
1209 * shell/ev-job-queue.h:
1210 * shell/ev-job-xfer.c: (ev_job_xfer_init), (ev_job_xfer_dispose),
1211 (ev_job_xfer_class_init), (ev_job_xfer_new), (ev_job_xfer_run):
1212 * shell/ev-job-xfer.h:
1213 * shell/ev-jobs.c: (ev_job_init), (ev_job_dispose),
1214 (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
1215 (ev_job_links_class_init), (ev_job_render_init),
1216 (ev_job_render_dispose), (ev_job_render_class_init),
1217 (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
1218 (ev_job_thumbnail_class_init), (ev_job_load_init),
1219 (ev_job_load_dispose), (ev_job_load_class_init), (ev_job_finished),
1220 (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
1221 (render_finished_cb), (ev_job_render_run), (ev_job_thumbnail_new),
1222 (ev_job_thumbnail_run), (ev_job_load_new), (ev_job_load_run):
1224 * shell/ev-page-action.c: (ev_page_action_set_document):
1225 * shell/ev-page-cache.c: (ev_page_cache_init),
1226 (ev_page_cache_class_init), (ev_page_cache_finalize),
1227 (ev_page_cache_new), (ev_page_cache_get_n_pages),
1228 (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
1229 (ev_page_cache_set_page_label), (ev_page_cache_set_link),
1230 (ev_page_cache_get_title), (ev_page_cache_get_size),
1231 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
1232 (ev_page_cache_get_height_to_page),
1233 (ev_page_cache_get_max_label_chars),
1234 (ev_page_cache_get_page_label),
1235 (ev_page_cache_has_nonnumeric_page_labels),
1236 (ev_page_cache_get_info), (ev_page_cache_next_page),
1237 (ev_page_cache_prev_page), (ev_page_cache_get):
1238 * shell/ev-page-cache.h:
1239 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_update_range),
1240 (ev_pixbuf_cache_clear_job_sizes),
1241 (ev_pixbuf_cache_add_jobs_if_needed),
1242 (ev_pixbuf_cache_set_page_range):
1243 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings):
1244 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document):
1245 * shell/ev-sidebar-thumbnails.c:
1246 (ev_sidebar_tree_selection_changed),
1247 (ev_sidebar_thumbnails_set_document):
1248 * shell/ev-statusbar.c: (ev_statusbar_destroy),
1249 (ev_statusbar_class_init), (ev_statusbar_init), (ev_statusbar_new),
1250 (ev_statusbar_get_context_id), (ev_statusbar_push),
1251 (ev_statusbar_pop), (ev_statusbar_set_maximized),
1252 (ev_statusbar_pulse), (ev_statusbar_show_progress),
1253 (ev_statusbar_set_progress):
1254 * shell/ev-statusbar.h:
1255 * shell/ev-view.c: (ev_view_set_document), (ev_view_find_next),
1256 (ev_view_find_previous):
1257 * shell/ev-window.c: (ev_window_is_empty),
1258 (ev_window_setup_document), (password_dialog_response),
1259 (ev_window_clear_jobs), (ev_window_load_job_cb),
1260 (ev_window_xfer_job_cb), (ev_window_open_uri),
1261 (ev_window_open_uri_list), (ev_window_cmd_recent_file_activate),
1262 (ev_window_print), (ev_window_print_range),
1263 (ev_window_state_event), (ev_window_cmd_view_reload),
1264 (menu_item_select_cb), (menu_item_deselect_cb),
1265 (view_status_changed_cb), (ev_window_dispose),
1266 (drag_data_received_cb), (ev_window_init):
1267 * shell/ev-window.h:
1268 * shell/main.c: (load_files):
1270 New statusbar to show progress on idle. Two new jobs -
1271 xfer job and load job to load document in background. And update
1272 of page_cache clients to new location of code.
1274 2005-06-08 Carlos Garcia Campos <carlosgc@gnome.org>
1276 * shell/ev-application.c, shell/ev-window.[ch]: Allow multiple
1277 selection in open dialog. It also remembers the last visited directory
1278 in the current session.
1280 2005-06-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1282 * shell/ev-properties.c: (ev_properties_new):
1283 * shell/ev-properties.h:
1284 * shell/ev-window.c: (ev_window_cmd_file_properties):
1286 Get document info from page cache instead of document itself.
1287 This should fix crash related to race conditions described in
1290 2005-06-07 Marco Pesenti Gritti <mpg@redhat.com>
1292 * ps/ps-document.c: (ps_document_init),
1293 (send_ps), (get_page_box), (output), (catchPipe), (input),
1294 (stop_interpreter), (file_length), (file_readable),
1295 (check_filecompressedb), (ps_document_enable_interpreter),
1296 (document_load), (ps_async_renderer_render_pixbuf):
1299 Big cleanup of the ps code
1301 2005-06-07 Marco Pesenti Gritti <mpg@redhat.com>
1303 * backend/Makefile.am:
1304 * backend/ev-async-renderer.c: (ev_async_renderer_get_type),
1305 (ev_async_renderer_class_init), (ev_async_renderer_render_pixbuf):
1306 * backend/ev-async-renderer.h:
1308 Add an async renderer interface (method + callback) which
1309 is useful for backends like ps.
1311 * backend/ev-job-queue.c: (remove_job_from_async_queue),
1312 (add_job_to_async_queue), (job_finished_cb), (handle_job),
1313 (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
1314 (ev_job_queue_add_job), (move_job_async), (move_job),
1315 (ev_job_queue_update_job), (ev_job_queue_remove_job):
1317 Add queues for async renderer, these are executed on the
1320 * backend/ev-jobs.c: (ev_job_render_new), (render_finished_cb),
1321 (ev_job_render_run):
1322 * backend/ev-jobs.h:
1324 If the backend support async renderer interface use it.
1326 * ps/ps-document.c: (ps_document_init), (push_pixbuf),
1327 (setup_pixmap), (ps_document_get_type),
1328 (ps_async_renderer_render_pixbuf),
1329 (ps_document_document_iface_init), (ps_async_renderer_iface_init):
1331 Implement async renderer interface.
1333 2005-06-07 Nickolay V. Shmyrev <<nshmyrev@yandex.ru>>
1335 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose):
1337 Cleanup links job on exit.
1339 2005-06-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1341 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
1342 (drag_data_get_cb), (drag_data_received_cb):
1343 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
1344 (drag_data_get_cb), (parse_item_list),
1345 (egg_toolbar_editor_load_actions):
1346 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
1347 (egg_toolbars_model_to_xml), (egg_toolbars_model_save),
1348 (parse_item_list), (parse_toolbars):
1349 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
1350 (dvi_pixbuf_put_pixel):
1352 Fix gcc 4.0 warnings
1354 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
1356 * ps/ps-document.c: (start_interpreter):
1358 Fix warning when loading ps
1360 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
1362 * ps/ps-document.c: (output):
1364 Fix crash when priting gs error messages.
1366 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
1368 * backend/ev-page-cache.c: (_ev_page_cache_new):
1369 * backend/ev-page-cache.h:
1371 Use a const to return title so that we dont double
1372 free it. Small cleanup and fix a leak.
1374 * shell/ev-window.c: (update_window_title):
1376 strdup value from get_title.
1378 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
1380 * shell/ev-sidebar-links.c: (job_finished_callback),
1381 (ev_sidebar_links_set_document):
1383 Cleanup the old job when changing document
1385 2005-06-05 Nickolay V. Shmyrev <<nshmyrev@yandex.ru>>
1387 * shell/ev-stock-icons.c:
1388 * shell/ev-stock-icons.h:
1389 * shell/ev-window.c:
1391 Add stock icons for actions that can appear in toolbar. Fix for
1394 2005-06-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1396 * backend/ev-page-cache.c: (ev_page_cache_finalize),
1397 (_ev_page_cache_new), (ev_page_cache_get_max_width),
1398 (ev_page_cache_get_max_height), (ev_page_cache_get_height_to_page):
1399 * backend/ev-page-cache.h:
1400 * shell/ev-view.c: (scroll_to_current_page),
1401 (view_update_range_and_current_page), (get_page_y_offset),
1402 (get_page_extents), (ev_view_size_request_continuous_dual_page),
1403 (ev_view_size_request_continuous),
1404 (ev_view_zoom_for_size_continuous_and_dual_page),
1405 (ev_view_zoom_for_size_continuous):
1407 More compact EvView layout in document with pages of different size.
1409 Sat Jun 4 19:20:57 2005 Jonathan Blandford <jrb@redhat.com>
1411 * shell/ev-window.c (ev_window_cmd_file_properties): fix
1414 2005-06-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1416 * shell/ev-view.c: (view_set_adjustment_values):
1417 * shell/ev-window.c: (ev_window_cmd_file_properties):
1419 A bit different fix for rounding problem but it has no
1420 problems on startup. Make properties window transient to parent.
1422 2005-06-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1424 * pdf/ev-poppler.cc:
1426 More commenting of font stuff.
1428 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1430 * pdf/ev-poppler.cc:
1432 Comment out some more fonts stuff. Should really
1433 work without the poppler patch now.
1435 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1437 * pdf/ev-poppler.cc:
1441 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1443 * data/evince-properties.glade:
1444 * pdf/ev-poppler.cc:
1445 * shell/ev-properties.c: (setup_fonts_view):
1447 Set the column title. Show the dialog only
1448 once everything is setup.
1449 Getting font info can be very slow... will
1450 prolly need to make this threaded too.
1452 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1454 * backend/Makefile.am:
1455 * backend/ev-document-fonts.c: (ev_document_fonts_get_type),
1456 (ev_document_fonts_get_fonts_model):
1457 * backend/ev-document-fonts.h:
1458 * data/evince-properties.glade:
1459 * pdf/ev-poppler.cc:
1460 * shell/ev-properties.c: (setup_fonts_view), (ev_properties_new):
1461 * shell/ev-properties.h:
1462 * shell/ev-window.c: (ev_window_cmd_file_properties):
1464 Implement fonts list. Defined out for now, since it depends
1465 on a not yet committed poppler patch.
1467 Fri Jun 3 21:07:57 2005 Jonathan Blandford <jrb@redhat.com>
1469 * shell/ev-view.c (get_page_extents): other_page isn't necessarily
1472 * shell/ev-window.c: Make sure we add the timeout when we get a
1475 * shell/ev-view.c (view_set_adjustment_values): Add 0.5 to
1476 adjustment->value before calculating the zoom factor to average
1477 out all of our rounding errors. The page no longer 'drifts' when
1480 2005-06-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1482 * data/evince-properties.glade:
1483 * shell/ev-properties.c: (ev_properties_format_date),
1486 Labels don't expand when the dialogue is resized.
1487 strftime result needs to be converted to UTF-8. Thanks
1488 to Christian Persch <chpe@gnome.org>.
1490 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1492 * data/evince-properties.glade:
1496 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1498 * backend/ev-document-info.h:
1499 * backend/ev-document.c: (ev_document_info_free):
1500 * data/evince-properties.glade:
1501 * pdf/ev-poppler.cc:
1502 * ps/ps-document.c: (ps_document_get_info):
1503 * shell/ev-properties.c: (ev_properties_format_date),
1504 (set_property), (ev_properties_new):
1505 * shell/ev-properties.h:
1506 * shell/ev-window.c: (ev_window_cmd_file_properties):
1508 Rework properties code to take only EvPropertyInfo
1509 in the constructor so that it can be useful for
1510 nautilus plugin too.
1512 Deal with backends that doesnt support some properties.
1513 Make set property code generic.
1515 2005-06-04 Christian Persch <chpe@gnome.org>
1517 * data/evince-properties.glade:
1519 fix spacings, make resizeable, and make data labels
1520 selectable + ellipsised
1522 2005-06-03 Marco Pesenti Gritti <mpg@redhat.com>
1524 * backend/ev-document-info.h:
1526 * data/evince-ui.xml:
1527 * pdf/ev-poppler.cc:
1528 * shell/Makefile.am:
1529 * shell/ev-window.c: (update_action_sensitivity),
1530 (ev_window_cmd_file_properties):
1532 Initial go at file properties. Patch by
1533 Emil Soleyman-Zomalan <emil@soleyman.com>.
1534 Needs love see #169583
1536 2005-06-02 Marco Pesenti Gritti <mpg@redhat.com>
1538 * ps/ps-document.c: (output):
1539 * ps/ps.c: (psscan):
1541 Try to render even if psscan fails.
1543 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
1545 * ps/ps.c: (psscan), (pscopydoc):
1547 Port buffered reading code from gv
1549 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
1551 * ps/ps-document.c: (interpreter_message), (output):
1553 Do not fail on interpreter messages
1555 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
1557 * backend/ev-document-misc.c:
1558 (ev_document_misc_get_thumbnail_frame):
1560 Pages can be 0 x 0, dont assert on this case
1562 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1564 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
1565 (ev_sidebar_links_class_init), (ev_sidebar_links_set_document):
1567 Correctly manage our reference on document. Finally the reload
1568 huge leak is gone...
1570 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1572 * ps/ps-document.c: (ps_document_dispose):
1574 Forgot to chain it to the parent. Thanks chpe.
1576 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1578 * ps/ps-document.c: (ps_document_dispose),
1579 (ps_document_class_init), (stop_interpreter), (document_load):
1581 Cleanup dispose a bit. Dont leak the whole pixmap.
1583 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1585 * pdf/ev-poppler.cc:
1587 Release the poppler document on dispose
1589 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1591 * shell/ev-view.c: (ev_view_set_document):
1593 Release ref on the pixbuf cache when changing
1596 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1598 * ps/ps-document.c: (ps_document_get_info):
1602 2005-05-31 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
1604 * backend/ev-page-cache.c: (ev_page_cache_init),
1605 (_ev_page_cache_new), (ev_page_cache_get_max_label_chars):
1606 * backend/ev-page-cache.h:
1607 * shell/ev-page-action.c: (page_changed_cb):
1609 Set page action entry width depending on labels width. Fix
1612 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1614 * backend/ev-link.c: (ev_link_class_init):
1616 Allow -1 as page value (error)
1618 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1620 * shell/ev-sidebar-thumbnails.c:
1621 (ev_sidebar_thumbnails_set_document):
1622 * shell/ev-view.c: (scroll_to_current_page),
1623 (view_set_adjustment_values), (ev_view_set_scroll_adjustments),
1624 (page_changed_cb), (on_adjustment_value_changed),
1625 (ev_view_set_document):
1627 Slightly modified patch by Nickolay V. Shmyrev <nshmyrev@yandex.ru>.
1630 2005-05-29 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1633 * djvu/djvu-document.c: (djvu_document_get_page_size):
1635 Require djvulibre CVS. Now djvu loading is much faster. Fix for
1638 Sat May 28 07:38:03 2005 Jonathan Blandford <jrb@redhat.com>
1640 * shell/ev-view.c (draw_one_page): modify the expose handling to
1643 * shell/ev-window.c (update_action_sensitivity): Respect
1644 permissions field. Kowtow to the man.
1646 * pdf/ev-poppler.cc: Get the permissions field.
1648 * tiff/*c: Make a tiny bit more robust.
1650 2005-05-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1652 * djvu/djvu-document.c:
1654 Pop messages from djvu context message queue.
1656 2005-05-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1658 * configure.ac, Makefile.am, shell/Makefile.am:
1659 * tiff/Makefile.am, shell/ev-document-types.c:
1661 Cleanup tiff configure checks. Fix for bug 305218.
1663 2005-05-24 Maxim V. Dziumanenko <mvd@mylinux.ua>
1665 * configure.ac: Added "uk" to ALL_LINGUAS.
1667 2005-05-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1669 * cut-n-paste/zoom-control/ephy-zoom.c:
1670 (ephy_zoom_get_changed_zoom_level):
1671 * cut-n-paste/zoom-control/ephy-zoom.h:
1672 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_set_property),
1673 (ev_view_get_property), (ev_view_class_init), (ev_view_set_zoom):
1674 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
1675 (ev_window_cmd_view_zoom_out), (ev_window_zoom_changed_cb),
1676 (zoom_control_changed_cb), (ev_window_init):
1678 Fix minor points related to moving best fit up. Introduce
1679 "zoom" property and make zoom control change it's value on
1680 notify::zoom signals. Fix for 305080.
1682 2005-05-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1684 * data/evince-ui.xml:
1685 * shell/ev-window.c: (set_view_actions_sensitivity):
1687 Use + and - as accels for zoom in and zoom out. Fix for 305001.
1689 2005-05-22 Marco Pesenti Gritti <mpg@redhat.com>
1693 Depends on poppler 0.3.2
1695 2005-05-22 Marco Pesenti Gritti <mpg@redhat.com>
1697 * cut-n-paste/recent-files/egg-recent-item.c:
1698 (egg_recent_item_get_short_name):
1699 * cut-n-paste/toolbar-editor/Makefile.am:
1700 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
1701 (new_pixbuf_from_widget):
1702 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
1703 * cut-n-paste/toolbar-editor/egg-marshal.c:
1704 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
1705 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
1709 Sat May 21 23:18:30 2005 Jonathan Blandford <jrb@redhat.com>
1711 * tiff/tiff-document.c: Rough TIFF backend.
1713 2005-05-21 Marco Pesenti Gritti <mpg@redhat.com>
1717 * cut-n-paste/toolbar-editor/Makefile.am:
1721 2005-05-21 Marco Pesenti Gritti <mpg@redhat.com>
1723 * shell/ev-view.c: (jump_to_find_result), (ev_view_can_find_next),
1724 (ev_view_find_next), (ev_view_find_previous):
1726 Remove the locks around get_n_results
1728 2005-05-21 Juerg Billeter <j@bitron.ch>
1730 * pdf/ev-poppler.c: (pdf_document_ps_exporter_begin):
1732 Pass correct number of pages to poppler.
1734 2005-05-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1738 * data/evince.desktop.in:
1739 * data/evince.desktop.in.in:
1742 Add conditionally dvi and djvu to desktop types. Fix for 304658.
1744 Sat May 21 00:21:30 2005 Jonathan Blandford <jrb@redhat.com>
1746 * shell/ev-view.c: (view_update_adjustments),
1747 (view_set_adjustment_values): cast adjustmen->value to (int)
1748 before using it. Otherwise, we get off by a pixel in some
1751 (draw_one_page): Draw the border on expose.
1753 Fri May 20 22:05:25 2005 Jonathan Blandford <jrb@redhat.com>
1755 * *shell/ev-view.c: Patch from Nickolay V. Shmyrev to reset the
1756 adjustment when the mode changes, #304923
1758 Fri May 20 02:00:03 2005 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1760 * shell/ev-view.c: Use gdk_widget_queue_draw to remove
1761 flickering on resize but still use gdk_window_scroll on
1764 Fri May 20 01:46:57 2005 Jonathan Blandford <jrb@redhat.com>
1766 * shell/ev-view.c: Patch from Nickolay Shmyrev to fix the -p
1769 Fri May 20 01:27:01 2005 Jonathan Blandford <jrb@redhat.com>
1771 * shell/ev-view.c: Patch from Nickolay Shmyrev to to scroll to
1772 second page on page_changed if possible, #304669
1774 Fri May 20 01:07:15 2005 Jonathan Blandford <jrb@redhat.com>
1776 * shell/ev-view.c (view_update_adjustments): Use gdk_window_scroll
1777 instead of gtk_widget_queue_draw. Massive speedups in scrolling.
1779 Fri May 20 01:05:10 2005 Jonathan Blandford <jrb@redhat.com>
1782 * shell/ev-view.c:(ev_view_size_allocate), (ev_view_class_init),
1783 (zoom_for_size_fit_width), (zoom_for_size_best_fit),
1784 (ev_view_zoom_for_size_presentation),
1785 (ev_view_zoom_for_size_continuous_and_dual_page),
1786 (ev_view_zoom_for_size_continuous),
1787 (ev_view_zoom_for_size_dual_page),
1788 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size):
1790 * shell/ev-window.c: (update_view_size),
1791 (ev_window_sizing_mode_changed_cb):
1793 Patch from Nickolay Shmyrev <nshmyrev@yandex.ru> to handle
1794 the scrollbars. It's not 100% right, but it's much closer. Kills
1795 an infinite loop, #304769
1798 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
1800 * data/evince-ui.xml:
1801 * shell/ev-view.c: (ev_view_scroll_view), (ev_view_class_init):
1802 * shell/ev-window.c: (set_view_actions_sensitivity):
1804 Make PgUp/Down behave like Space
1806 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
1808 * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
1809 * backend/ev-ps-exporter.h:
1810 * pdf/ev-poppler.cc:
1811 * ps/ps-document.c: (ps_document_ps_export_begin):
1812 * shell/ev-print-job.c: (idle_print_handler):
1814 Adapt to new poppler api
1816 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
1818 * cut-n-paste/zoom-control/ephy-zoom-control.c:
1819 (ephy_zoom_control_init):
1821 Translate zoom levels
1823 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
1825 * cut-n-paste/zoom-control/ephy-zoom.c:
1826 (ephy_zoom_get_zoom_level_index):
1828 Fix current zoom -> zoom control match
1830 2005-05-18 James Bowes <bowes@cs.dal.ca>
1832 * shell/ev-window.c: (ev_window_init): Give focus to the ev-view,
1833 rather than the scrolled_window that it's in. Fixes bug #304655.
1835 Tue May 17 22:54:17 2005 Jonathan Blandford <jrb@redhat.com>
1837 * shell/ev-view.c: (view_update_adjustments),
1838 (view_set_adjustment_values), (view_update_range_and_current_page),
1839 (view_scroll_to_page), (set_scroll_adjustment),
1840 (ev_view_set_scroll_adjustments), (add_scroll_binding_keypad),
1841 (ev_view_scroll), (ev_view_scroll_view),
1842 (ensure_rectangle_is_visible), (find_page_at_location),
1843 (get_link_at_location), (go_to_link), (status_message_from_link),
1844 (ev_view_size_request_continuous_dual_page),
1845 (ev_view_size_request), (ev_view_size_allocate), (ev_view_realize),
1846 (ev_view_unrealize), (ev_view_expose_event),
1847 (ev_view_button_press_event), (ev_view_motion_notify_event),
1848 (ev_view_button_release_event), (ev_gdk_color_to_rgb),
1849 (draw_rubberband), (highlight_find_results), (draw_one_page),
1850 (ev_view_finalize), (ev_view_destroy), (ev_view_class_init),
1851 (ev_view_init), (find_changed_cb), (page_changed_cb),
1852 (on_adjustment_value_changed), (ev_view_new),
1853 (ev_view_set_document), (ev_view_set_zoom),
1854 (ev_view_set_continuous), (ev_view_set_dual_page),
1855 (ev_view_set_presentation), (ev_view_zoom_in), (ev_view_zoom_out),
1856 (zoom_for_size_fit_width), (zoom_for_size_best_fit),
1857 (ev_view_zoom_for_size_presentation),
1858 (ev_view_zoom_for_size_continuous_dual_page),
1859 (ev_view_zoom_for_size_continuous),
1860 (ev_view_zoom_for_size_dual_page),
1861 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
1862 (ev_view_get_status), (ev_view_set_status),
1863 (update_find_status_message), (ev_view_get_find_status),
1864 (ev_view_set_find_status), (jump_to_find_result),
1865 (jump_to_find_page), (compute_selections), (clear_selection),
1866 (ev_view_select_all), (get_selected_text), (ev_view_copy),
1867 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
1868 (ev_view_update_primary_selection),
1869 (ev_view_create_invisible_cursor), (ev_view_set_cursor):
1871 * shell/ev-window.c: (ev_window_open_page_label),
1872 (ev_window_cmd_view_reload), (ev_window_sizing_mode_changed_cb),
1874 * shell/ev-window.h:
1875 * shell/main.c: (load_files):
1877 Massive code clean up from Nickolay Shmyrev. Keep page offset
1878 when resizing. Remove the bin_window(). Also, patch from James
1879 Bowes to fix command line page, #300641
1881 2005-05-17 Marco Pesenti Gritti <mpg@redhat.com>
1883 * data/evince-ui.xml:
1886 * shell/ev-window.c: (update_action_sensitivity):
1888 Get rid of View->Normal Size, it's just confusing
1890 Tue May 17 00:51:21 2005 Jonathan Blandford <jrb@redhat.com>
1892 * backend/ev-document-info.h:
1893 * backend/ev-document.c: (ev_document_info_free): Free the
1896 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
1897 (clear_range), (add_range), (update_visible_range),
1898 (adjustment_changed_cb), (ev_sidebar_thumbnails_init),
1899 (ev_sidebar_thumbnails_set_document):
1900 * shell/ev-window.c: (ev_window_setup_document): Only render the
1901 visible thumbnails. It takes an instant to render, but it uses
1904 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
1906 * shell/ev-sidebar-links.c: (popup_menu_cb):
1910 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
1913 * shell/ev-sidebar-links.c: (build_popup_menu), (popup_menu_cb),
1914 (button_press_cb), (ev_sidebar_links_construct):
1916 Show the popup menu also on keybindings
1918 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
1920 * shell/ev-window.c: (ev_window_print), (ev_window_print_range):
1921 * shell/ev-window.h:
1923 Expose api to print a range (with dialog). Make private _print use
1926 * shell/ev-sidebar-links.c: (print_section_cb), (button_press_cb),
1927 (ev_sidebar_links_construct):
1929 Show a print context menu on linkx, it prints the selected
1932 2005-05-15 Carlos Garcia Campos <carlosgc@gnome.org>
1934 * shell/ev-sidebar.c: make the drop down menu as width as the toggle
1937 2005-05-12 Marco Pesenti Gritti <mpg@redhat.com>
1943 * shell/ev-window.c: (build_comments_string),
1944 (ev_window_cmd_help_about):
1946 Show poppler version/backend and authors
1948 2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
1950 * cut-n-paste/zoom-control/ephy-zoom.c:
1951 (ephy_zoom_get_zoom_level_index):
1952 * cut-n-paste/zoom-control/ephy-zoom.h:
1954 Move the best fit items at the top of the list
1956 2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
1958 * shell/ev-marshal.list:
1959 * shell/ev-page-action.c: (ev_page_action_widget_class_init),
1960 (activate_cb), (match_selected_cb), (activate_link_cb),
1961 (connect_proxy), (ev_page_action_class_init):
1962 * shell/ev-page-action.h:
1964 Use signals to notify action activation. Hopefully
1965 I did not break completion since I cant test...
1967 * shell/ev-window.c: (activate_link_cb), (activate_label_cb),
1968 (register_custom_actions):
1970 Connect to page selector actions and also grab focus on
1971 the view when activated.
1973 Wed May 11 01:18:29 2005 Jonathan Blandford <jrb@redhat.com>
1975 * pdf/ev-poppler.cc:
1976 * backend/ev-page-cache.c: make page size calculation consistent
1977 and set it to (int)( width * scale + 0.5). This makes the weird
1978 line going through the middle of the page go away.
1980 * shell/ev-view.c: move painting the background page after
1981 checking the expose area covers us.
1983 2005-05-11 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1985 * data/evince-password.glade:
1987 Mark labels as not translatable. Fix for bug 302842.
1989 2005-05-10 Francisco Javier F. Serrador <serrador@cvs.gnome.org>
1991 * configure.ac: Added "es" to ALL_LINGUAS.
1993 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
1995 * data/evince-toolbar.xml:
1996 * shell/ev-window.c: (update_action_sensitivity),
1997 (ev_window_setup_document), (ev_window_set_page_mode),
2000 Remove some leftover code from jrb first continous
2001 attempt. Use the new actions, we still need good icons
2004 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2006 * shell/ev-page-action.c: (update_pages_label), (connect_proxy):
2008 Update label when connecting proxy. Fix a warning with NULL
2011 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2013 * data/evince-ui.xml:
2014 * shell/ev-page-action.c: (ev_page_action_grab_focus):
2015 * shell/ev-page-action.h:
2016 * shell/ev-window.c: (ev_window_cmd_focus_page_selector):
2018 Add mnemonic for edit toolbar.
2019 ctrl+l focus the page entry.
2021 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2024 * shell/ev-window.c: (ev_window_cmd_edit_toolbar_cb),
2026 * shell/main.c: (main):
2028 Put the toolbar xml in evince own dot dir
2030 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2032 * shell/ev-window.c: (ev_window_init):
2034 Make the toolbar not removable
2036 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2038 * data/evince-ui.xml:
2039 * shell/ev-sidebar-links.c: (ev_sidebar_links_get_treeview):
2040 * shell/ev-sidebar-links.h:
2041 * shell/ev-sidebar-thumbnails.c:
2042 (ev_sidebar_thumbnails_get_treeview):
2043 * shell/ev-sidebar-thumbnails.h:
2044 * shell/ev-view.c: (ev_view_scroll), (ev_view_scroll_view),
2045 (ev_view_class_init):
2047 * shell/ev-window.c: (update_action_sensitivity),
2048 (ev_window_cmd_scroll_forward), (ev_window_cmd_scroll_backward),
2049 (set_view_actions_sensitivity), (view_actions_focus_in_cb),
2050 (view_actions_focus_out_cb), (enable_view_actions_for_widget),
2053 This is evil... Make space/backspace global accelerators but
2054 enable them only for some widgets (sidebars and view).
2055 I dont like it, but I dont know a better way... :/
2057 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2059 * shell/ev-page-action.c: (ev_page_action_widget_set_page_cache),
2060 (ev_page_action_widget_finalize),
2061 (ev_page_action_widget_class_init), (update_page_cache):
2063 Keep a weak reference on proxy->page_cache so that we
2064 dont try to disconnect the signal if the object is already
2065 gone. Maybe there is a better way to cleanup reference handling
2066 in page action though...
2068 2005-05-10 Juerg Billeter <j@bitron.ch>
2070 * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
2071 * backend/ev-ps-exporter.h:
2072 * pdf/ev-poppler.cc: (pdf_document_ps_exporter_begin):
2073 * ps/ps-document.c: (ps_document_ps_export_begin):
2075 Change api to pass print range to ps_exporter_begin. The pdf backend
2076 requires this information.
2078 * shell/ev-print-job.c: (idle_print_handler):
2082 2005-05-10 Juerg Billeter <j@bitron.ch>
2084 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
2085 (idle_print_handler)
2086 * shell/ev-window.c: (ev_window_print):
2088 Support printing page range, based on patch by Amaury Jacquot
2090 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2092 * data/evince-toolbar.xml:
2094 Add zoom control to available items
2096 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2098 * shell/ev-window.c: (update_action_sensitivity):
2100 Set slash action insensitive when appropriate
2102 2005-05-10 Christian Persch <chpe@gnome.org>
2104 * cut-n-paste/zoom-control/ephy-zoom-action.c: (create_menu_item):
2106 Fix warning on the overflow menu
2108 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2110 * shell/ev-window.c: (sanity_check_uri), (ev_window_open):
2112 Check for uri correctness/existence
2114 2005-05-09 Juerg Billeter <j@bitron.ch>
2116 * shell/ev-window.c: (using_postscript_printer):
2118 LPD printers use postscript, too
2120 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2122 * shell/ev-window.c: (register_custom_actions):
2124 The zoom one is actually sort of useful,
2127 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2129 * shell/ev-window.c: (register_custom_actions):
2131 Hide page/zoom controls from overflow, they
2134 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2136 * cut-n-paste/update-from-egg.sh:
2138 Share it between all cut-n-paste subdirs
2140 * cut-n-paste/recent-files/Makefile.am:
2142 Fix to use "global" update-from-egg.sh
2144 * cut-n-paste/recent-files/egg-recent-model.c:
2145 (egg_recent_model_changed_timeout), (egg_recent_model_finalize):
2146 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
2147 (egg_recent_view_gtk_clear), (egg_recent_view_gtk_set_list),
2148 (egg_recent_view_gtk_finalize), (egg_recent_view_gtk_set_menu):
2152 * cut-n-paste/toolbar-editor/Makefile.am:
2154 Fix to use "global" update-from-egg.sh
2156 * cut-n-paste/toolbar-editor/eggmarshalers.list:
2160 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2163 * cut-n-paste/Makefile.am:
2164 * cut-n-paste/recent-files/Makefile.am:
2165 * cut-n-paste/toolbar-editor/.cvsignore:
2166 * cut-n-paste/toolbar-editor/Makefile.am:
2167 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
2168 (egg_editable_toolbar_get_type), (get_toolbar_position),
2169 (get_n_toolbars), (get_dock_nth), (get_toolbar_nth), (find_action),
2170 (drag_data_delete_cb), (drag_begin_cb), (drag_end_cb),
2171 (drag_data_get_cb), (set_drag_cursor), (unset_drag_cursor),
2172 (set_item_drag_source), (create_item_from_action), (create_item),
2173 (data_is_separator), (drag_data_received_cb), (remove_toolbar_cb),
2174 (popup_toolbar_context_menu_cb), (free_dragged_item),
2175 (toolbar_drag_drop_cb), (toolbar_drag_motion_cb),
2176 (toolbar_drag_leave_cb), (create_dock), (set_fixed_style),
2177 (unset_fixed_style), (toolbar_changed_cb), (unparent_fixed),
2178 (update_fixed), (toolbar_added_cb), (toolbar_removed_cb),
2179 (item_added_cb), (item_removed_cb),
2180 (egg_editable_toolbar_construct),
2181 (egg_editable_toolbar_disconnect_model),
2182 (egg_editable_toolbar_deconstruct),
2183 (egg_editable_toolbar_set_model),
2184 (egg_editable_toolbar_set_ui_manager),
2185 (egg_editable_toolbar_set_property),
2186 (egg_editable_toolbar_get_property),
2187 (egg_editable_toolbar_class_init), (egg_editable_toolbar_init),
2188 (egg_editable_toolbar_finalize), (egg_editable_toolbar_new),
2189 (egg_editable_toolbar_new_with_model),
2190 (egg_editable_toolbar_get_edit_mode),
2191 (egg_editable_toolbar_set_edit_mode), (egg_editable_toolbar_show),
2192 (egg_editable_toolbar_hide), (egg_editable_toolbar_set_fixed),
2193 (egg_editable_toolbar_set_drag_dest), (fake_expose_widget),
2194 (new_pixbuf_from_widget), (new_separator_pixbuf),
2195 (update_separator_image), (style_set_cb),
2196 (_egg_editable_toolbar_new_separator_image),
2197 (egg_editable_toolbar_get_model):
2198 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
2199 * cut-n-paste/toolbar-editor/egg-marshal.c:
2200 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
2201 (egg_toolbar_editor_get_type), (compare_actions), (find_action),
2202 (egg_toolbar_editor_set_ui_manager), (toolbar_removed_cb),
2203 (egg_toolbar_editor_set_model), (egg_toolbar_editor_set_property),
2204 (egg_toolbar_editor_get_property), (egg_toolbar_editor_class_init),
2205 (egg_toolbar_editor_finalize), (egg_toolbar_editor_new),
2206 (drag_begin_cb), (drag_end_cb), (editor_drag_data_received_cb),
2207 (editor_drag_data_delete_cb), (drag_data_get_cb),
2208 (elide_underscores), (set_drag_cursor), (event_box_realize_cb),
2209 (editor_create_item), (update_editor_sheet), (setup_editor),
2210 (egg_toolbar_editor_init), (egg_toolbar_editor_add_action),
2211 (parse_item_list), (model_has_action), (update_actions_list),
2212 (egg_toolbar_editor_load_actions):
2213 * cut-n-paste/toolbar-editor/egg-toolbar-editor.h:
2214 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
2215 (egg_toolbars_model_get_type), (egg_toolbars_model_to_xml),
2216 (safe_save_xml), (egg_toolbars_model_save), (toolbars_toolbar_new),
2217 (toolbars_item_new), (free_toolbar_node), (free_item_node),
2218 (egg_toolbars_model_get_flags), (egg_toolbars_model_set_flags),
2219 (egg_toolbars_model_add_separator), (impl_add_item),
2220 (parse_item_list), (egg_toolbars_model_add_toolbar),
2221 (parse_toolbars), (egg_toolbars_model_load), (impl_get_item_id),
2222 (impl_get_item_data), (impl_get_item_type),
2223 (_egg_accumulator_STRING), (egg_toolbars_model_class_init),
2224 (egg_toolbars_model_init), (free_toolbar),
2225 (egg_toolbars_model_finalize), (egg_toolbars_model_new),
2226 (egg_toolbars_model_remove_toolbar),
2227 (egg_toolbars_model_remove_item), (egg_toolbars_model_move_item),
2228 (egg_toolbars_model_n_items), (egg_toolbars_model_item_nth),
2229 (egg_toolbars_model_n_toolbars), (egg_toolbars_model_toolbar_nth),
2230 (egg_toolbars_model_add_item), (egg_toolbars_model_get_item_id),
2231 (egg_toolbars_model_get_item_data),
2232 (egg_toolbars_model_get_item_type):
2233 * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
2234 * cut-n-paste/toolbar-editor/eggmarshalers.list:
2236 * data/evince-toolbar.xml:
2237 * data/evince-ui.xml:
2238 * data/hand-open.png:
2240 * shell/Makefile.am:
2241 * shell/ev-window.c: (update_chrome_visibility),
2242 (ev_window_cmd_edit_toolbar_cb), (ev_window_cmd_edit_toolbar),
2243 (ev_window_dispose), (ev_window_init):
2245 Implement epiphany like toolbar editor. Based on patch by
2246 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2248 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2250 * shell/ev-sidebar-thumbnails.c: (page_changed_cb):
2252 Use set_cursor instead of set_selection, so that
2253 the keyboard focus moves too.
2255 2005-05-09 Aleksey Kliger <akliger@gmail.com>
2257 * dvi/mdvi-lib/tfmfile.c: (lookup_font_metrics):
2259 Fix infinite loop when loading Type1 fonts
2261 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2263 * data/evince-ui.xml:
2264 * shell/ev-window.c:
2268 2005-05-09 Thomas de Grenier de Latour <degrenier@easyconnect.fr>
2272 Make --disable really disable
2274 2005-05-07 Juerg Billeter <j@bitron.ch>
2276 * backend/ev-page-cache.c: (ev_page_cache_set_page_label):
2278 Compare page labels even without has_labels set, fixes setting page
2281 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2283 * shell/ev-view.c: (ev_view_create_invisible_cursor),
2284 (ev_view_set_cursor), (ev_view_button_press_event),
2285 (ev_view_motion_notify_event), (ev_view_button_release_event),
2288 Implement middle button scrolling. Based on a patch
2289 by Tommi Komulainen <tommi.komulainen@iki.fi>.
2291 2005-05-08 Marco Pesenti Gritti <mpg@redhat.com>
2293 * shell/ev-document-types.c: (get_slow_mime_type),
2294 (get_document_type_from_mime), (ev_document_type_lookup):
2295 * shell/ev-document-types.h:
2297 Change api to lookup from uri. Do fast lookup first, if the
2298 type is unknown try with data sniffing.
2300 * shell/ev-window.c: (ev_window_open), (ev_window_open_uri_list):
2301 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
2305 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2307 * thumbnailer/Makefile.am:
2311 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2318 * data/evince-ui.xml:
2320 Hide presentation mode for now
2322 * shell/ev-view.c: (highlight_find_results):
2324 Show current find selection only on current page
2326 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2328 * shell/ev-view.c: (ev_view_select_all):
2330 Compute size of the actual page, not of
2333 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2335 * shell/ev-view.c: (clear_selection), (ev_view_finalize),
2336 (view_rect_to_doc_rect), (compute_selections),
2337 (ev_view_bin_expose), (ev_view_select_all), (get_selected_text),
2338 (ev_view_copy), (ev_view_primary_get_cb),
2339 (ev_view_primary_clear_cb), (ev_view_update_primary_selection),
2340 (ev_view_button_press_event), (ev_view_motion_notify_event),
2341 (ev_view_button_release_event), (page_changed_cb):
2345 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2347 * shell/ev-view.c: (compute_border), (get_page_extents),
2348 (doc_rect_to_view_rect), (highlight_find_results),
2349 (ev_view_bin_expose), (ev_view_select_all),
2350 (ev_view_motion_notify_event), (update_find_status_message),
2351 (jump_to_find_result), (jump_to_find_page):
2353 First go at fixing search, still buggy
2355 2005-05-04 Kristian Høgsberg <krh@redhat.com>
2357 * shell/ev-sidebar.c (ev_sidebar_init): Remove frame around
2358 dropdown box and button at the top of the sidebar.
2360 2005-05-02 James Bowes <bowes@cs.dal.ca>
2362 * configure.ac: Output zoom-control Makefile.
2363 * cut-n-paste/Makefile.am: build zoom-control subdir.
2364 * cut-n-paste/zoom-control/ephy-zoom-action.c:
2365 * cut-n-paste/zoom-control/ephy-zoom-action.h:
2366 * cut-n-paste/zoom-control/ephy-zoom-control.c:
2367 * cut-n-paste/zoom-control/ephy-zoom-control.h:
2368 * cut-n-paste/zoom-control/ephy-zoom.c:
2369 * cut-n-paste/zoom-control/ephy-zoom.h: New files imported
2370 from epiphany, and modified to add a separator into the menu.
2371 * cut-n-paste/zoom-control/Makefile.am: Build zoom-control.
2372 * data/evince-ui.xml: Replace old zoom toolbar actions with new
2373 zoom-control action.
2374 * shell/Makefile.am: Include zoom-control flags.
2375 * shell/ev-view.c: (ev_view_set_zoom), (ev_view_get_zoom),
2376 (ev_view_get_sizing_mode), (ev_view_zoom_in), (ev_view_zoom_out),
2377 (ev_view_zoom_for_size_presentation),
2378 (ev_view_zoom_for_size_continuous_and_dual_page),
2379 (ev_view_zoom_for_size_continuous),
2380 (ev_view_zoom_for_size_dual_page),
2381 (ev_view_zoom_for_size_single_page), (ev_view_zoom_normal):
2382 s/ev_view_zoom/ev_view_set_zoom/ and make public, add
2383 ev_view_get_zoom and ev_view_get_sizing_mode.
2385 * shell/ev-window.c: (update_action_sensitivity),
2386 (update_sizing_buttons), (zoom_control_changed_cb),
2387 (register_custom_actions): Initialize and use the zoom-control
2390 Sun May 1 00:46:47 2005 Jonathan Blandford <jrb@redhat.com>
2392 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init): Change the
2393 preview cache back to 1. Don't know when it got set to 0.
2395 * shell/ev-view.c: (compute_border), (ev_view_realize),
2396 (draw_one_page), (ev_view_set_property), (ev_view_get_property),
2397 (ev_view_class_init), (ev_view_init), (ev_view_set_fullscreen),
2398 (ev_view_get_fullscreen), (ev_view_set_presentation),
2399 (ev_view_get_presentation), (ev_view_set_sizing_mode),
2400 (ev_view_zoom_for_size_presentation), (ev_view_set_zoom_for_size):
2402 * shell/ev-window.c:
2403 (update_chrome_visibility),
2404 (ev_window_cmd_continuous), (ev_window_cmd_dual),
2405 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
2406 (update_document_mode), (ev_window_update_fullscreen_action),
2407 (ev_window_fullscreen), (ev_window_unfullscreen),
2408 (ev_window_cmd_view_fullscreen),
2409 (ev_window_update_presentation_action),
2410 (ev_window_run_presentation), (ev_window_stop_presentation),
2411 (ev_window_cmd_view_presentation), (ev_window_state_event),
2412 (ev_window_focus_in_event), (ev_window_focus_out_event),
2413 (ev_window_cmd_escape), (ev_window_sidebar_visibility_changed_cb):
2414 * data/evince-ui.xml: Initial presentation mode. We should
2415 probably hide this until it's done, as it's quite rough. Also,
2416 change full-screen to fullscreen and add two getters to EvView.
2418 2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
2420 * shell/ev-page-action.c: (update_page_cache),
2421 (ev_page_action_dispose):
2422 * shell/ev-window.c: (destroy_fullscreen_popup),
2423 (ev_window_create_fullscreen_popup):
2425 Use connect_object rather than explicitly
2426 disconnect on dispose.
2428 2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
2430 * shell/ev-page-action.c: (update_page_cache),
2431 (ev_page_action_dispose):
2433 2005-04-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2435 * backend/ev-page-cache.c: (_ev_page_cache_new),
2436 (ev_page_cache_set_page_label),
2437 (ev_page_cache_has_nonnumeric_page_labels):
2438 * backend/ev-page-cache.h:
2439 * shell/ev-page-action.c: (update_pages_label):
2441 If all page labels are numeric, fallback to default
2442 way to display number of pages. See bug 173185.
2444 2005-04-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2446 * shell/ev-page-action.c: (ev_page_action_dispose):
2447 * shell/ev-view.c: (view_update_range_and_current_page):
2448 * shell/ev-window.c: (ev_window_dispose):
2450 Set page on scroll in continuous mode. Fixes bug 301986.
2451 Also cleanup callbacks on destroy of EvWindow and EvPageAction.
2453 2005-04-26 Marco Pesenti Gritti <mpg@redhat.com>
2457 Require poppler 0.3.0
2459 2005-04-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2461 * shell/Makefile.am, configure.ac: Fix build problems
2462 with t1lib. Bug 301996.
2464 2005-04-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2466 * shell/ev-view.c: (ev_view_scroll_event):
2468 Scroll up increase zoom
2470 2005-04-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2472 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_class_init),
2473 (ev_view_set_sizing_mode),
2474 (ev_view_zoom_for_size_continuous_and_dual_page),
2475 (ev_view_zoom_for_size_continuous):
2476 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
2477 (ev_window_cmd_view_page_width), (ev_window_cmd_view_zoom_in),
2478 (ev_window_cmd_view_zoom_out), (ev_window_sizing_mode_changed_cb),
2481 Control + Scroll does zooming, Shift + Scroll scrolls horizontally
2482 Fix for 165473 and 165472.
2484 2005-04-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2487 * thumbnailer/Makefile.am:
2488 * thumbnailer/evince-thumbnailer-djvu.schemas.in:
2489 * thumbnailer/evince-thumbnailer-dvi.schemas.in:
2490 * thumbnailer/evince-thumbnailer.schemas.in:
2492 Make thumbnailer schemas translatable. Fix for bug 301773
2494 * thumbnailer/evince-thumbnailer-djvu.schemas:
2495 * thumbnailer/evince-thumbnailer-dvi.schemas:
2496 * thumbnailer/evince-thumbnailer.schemas:
2500 Sun Apr 24 01:37:39 2005 Jonathan Blandford <jrb@redhat.com>
2502 * shell/ev-view.c (ev_view_init): forgot to set this.
2504 Sun Apr 24 01:07:27 2005 Jonathan Blandford <jrb@redhat.com>
2506 * shell/ev-view.c: (find_page_at_location),
2507 (get_link_at_location),
2508 (ev_view_set_show_border), (ev_view_set_spacing),
2509 (ev_view_zoom_for_size_continuous_and_dual_page),
2510 (ev_view_zoom_for_size_continuous): Fix links for dual/continuous.
2511 Also, add a quick fix measuring of widths. Also, removed
2512 ev_view_set_spacing and ev_view_set_show_border.
2514 * shell/ev-window.c: (ev_window_unfullscreen),
2515 (ev_window_cmd_view_fullscreen): Don't adjust the border/spacing.
2517 2005-04-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2519 * shell/ev-view.c: (view_update_range_and_current_page),
2522 Fix crash on exit and scrolling to page in continuous view.
2524 Sat Apr 23 13:13:04 2005 Jonathan Blandford <jrb@redhat.com>
2527 * backend/ev-page-cache.c: (_ev_page_cache_new),
2528 (ev_page_cache_get_max_width_size),
2529 (ev_page_cache_get_max_height_size):
2530 * backend/ev-page-cache.h:
2531 * data/evince-ui.xml:
2532 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init):
2533 * shell/ev-view.c: (view_update_adjustments),
2534 (view_update_range_and_current_page), (get_bounding_box_size),
2535 (ev_view_size_request_continuous_and_dual_page),
2536 (ev_view_size_request_continuous),
2537 (ev_view_size_request_dual_page),
2538 (ev_view_size_request_single_page), (ev_view_size_request),
2539 (ev_view_size_allocate), (get_page_extents), (draw_one_page),
2540 (ev_view_bin_expose), (ev_view_expose_event),
2541 (ev_view_set_property), (ev_view_get_property),
2542 (ev_view_class_init), (ev_view_init), (ev_view_new),
2543 (page_changed_cb), (ev_view_zoom), (ev_view_set_continuous),
2544 (ev_view_set_dual_page), (ev_view_set_full_screen),
2545 (ev_view_set_presentation), (ev_view_set_sizing_mode),
2546 (ev_view_can_zoom_in), (ev_view_can_zoom_out), (ev_view_zoom_in),
2547 (ev_view_zoom_out), (zoom_for_size_fit_width),
2548 (zoom_for_size_best_fit),
2549 (ev_view_zoom_for_size_continuous_and_dual_page),
2550 (ev_view_zoom_for_size_continuous),
2551 (ev_view_zoom_for_size_dual_page),
2552 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
2553 (ev_view_show_cursor), (ev_sizing_mode_get_type):
2555 * shell/ev-window.c: (update_action_sensitivity),
2556 (ev_window_cmd_continuous), (ev_window_cmd_dual),
2557 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
2558 (update_sizing_buttons), (ev_window_cmd_view_zoom_in),
2559 (ev_window_cmd_view_zoom_out), (update_view_size),
2560 (ev_window_set_sizing_mode), (ev_window_init):
2562 Add Continuous and Dual page modes.
2564 2005-04-23 James Bowes <bowes@cs.dal.ca>
2566 * dvi/dvi-document.c: (dvi_document_load),
2567 (dvi_document_thumbnails_get_thumbnail),
2568 (dvi_document_init_params): Fix up some mixups between
2569 width and height to correct thumbnail rendering.
2571 2005-04-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2573 * dvi/mdvi-lib/private.h:
2574 * dvi/mdvi-lib/setup.c: (mdvi_init_kpathsea):
2576 Suppess output for kpathsea during font generation. Thanks to
2579 Fri Apr 22 19:57:46 2005 Jonathan Blandford <jrb@redhat.com>
2586 * Makefile.am: fix distcheck.
2588 2005-04-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2590 * shell/ev-sidebar-links.c: (selection_changed_callback),
2591 (update_page_callback), (row_activated_callback),
2592 (job_finished_callback), (ev_sidebar_links_set_document):
2594 Fix for bug #169901. Double click on links expands tree.
2596 2005-03-14 Bryan Clark <clarkbw@cvs.gnome.org>
2598 * shell/ev-window.c (ev_window_init): Removed fullscreen toolbar
2599 hard-coded style. Fix for bug 170111
2601 2005-04-22 Kristian Høgsberg <krh@redhat.com>
2603 * shell/ev-view.c (highlight_find_results): Remove unnecessary
2606 2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
2608 * thumbnailer/evince-thumbnailer.schemas: real fix for bug 172496
2610 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
2612 * pdf/ev-poppler.cc:
2613 * shell/ev-view.c: (highlight_find_results):
2615 Fix find on single page documents
2617 2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
2619 * data/evince.schemas.in: fix for bug 301390
2621 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
2623 * shell/ev-view.c: (ev_view_can_zoom_in), (ev_view_can_zoom_out),
2624 (ev_view_zoom_out), (ev_view_zoom_normal):
2626 * shell/ev-window.c: (update_action_sensitivity),
2627 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
2628 (ev_window_cmd_view_zoom_in), (ev_window_cmd_view_zoom_out),
2629 (ev_window_cmd_view_normal_size):
2631 Fix normal size zoom. Make zoom in/zoom out unsensitive when
2632 they are behyond the limits. Tweak MAX_ZOOM to 6, sucks but
2635 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
2639 Depend on 2.57, 2.59 doesnt seem to be necessary
2641 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
2643 * shell/ev-page-action.c: (update_pages_label), (page_changed_cb),
2646 Put back total number of pages as (1 of 1234)
2648 Thu Apr 21 23:37:52 2005 Jonathan Blandford <jrb@redhat.com>
2650 * shell/ev-pixbuf-cache.c (dispose_cache_job_info): actually
2653 * backend/ev-document.h: Remove EV_DOC_MUTEX in favor of a locking
2654 function. This helps debugging.
2656 2005-04-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2658 * djvu/djvu-document.c: (djvu_document_class_init),
2659 (djvu_document_get_info), (djvu_document_document_iface_init):
2660 * dvi/dvi-document.c: (dvi_document_class_init),
2661 (dvi_document_get_info), (dvi_document_document_iface_init):
2663 Dummy implementation of get_info method for dvi and djvu. Fix
2664 crashes with those backends
2666 2005-04-20 Marco Pesenti Gritti <mpg@redhat.com>
2668 * data/evince.desktop.in:
2670 Add application/x-gzpostscript
2672 2005-04-20 Bryan Clark <clarkbw@cvs.gnome.org>
2674 * data/evince.schemas.in: Added real long descriptions,
2677 * README: Added actual text, closes bug 171869
2679 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
2681 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
2685 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
2687 * backend/ev-document-info.h:
2689 s/GDate */GDate so we can just use g_free
2691 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
2693 * shell/ev-window.c: (update_document_mode),
2694 (ev_window_setup_document):
2696 Show the window in fullscreen when specified by
2699 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
2701 * backend/ev-document.c: (ev_document_class_init),
2702 (ev_document_get_info), (ev_document_render_pixbuf):
2703 * backend/ev-document.h:
2704 * backend/ev-page-cache.c: (_ev_page_cache_new):
2705 * pdf/ev-poppler.cc:
2706 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
2707 (pixbuf_document_get_info), (pixbuf_document_document_iface_init):
2708 * ps/ps-document.c: (ps_document_class_init), (document_load),
2709 (ps_document_get_info), (ps_document_document_iface_init):
2711 Remove get_title from the interface, we can just use document info
2713 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
2715 * backend/Makefile.am:
2716 * backend/ev-document.c: (ev_document_render_get_info):
2717 * backend/ev-document.h:
2718 * pdf/ev-poppler.cc:
2720 Initial support for document info. Based on jrb patch.
2722 2005-04-19 Paolo Borelli <pborelli@katamail.com>
2724 * shell/ev-window.c: (ev_window_state_event),
2725 (ev_window_class_init), (ev_window_init):
2727 Doesn't show resize grip when maximized. See bug #301053
2729 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2733 ev-sidebar-thumbnails now has translatable labels
2735 * shell/Makefile.am:
2736 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document),
2737 (ev_sidebar_links_support_document), (ev_sidebar_links_get_label),
2738 (ev_sidebar_links_page_iface_init):
2739 * shell/ev-sidebar-links.h:
2740 * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
2741 (ev_sidebar_page_support_document), (ev_sidebar_page_set_document),
2742 (ev_sidebar_page_get_label):
2743 * shell/ev-sidebar-page.h:
2744 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_new),
2745 (ev_sidebar_thumbnails_set_document),
2746 (ev_sidebar_thumbnails_support_document),
2747 (ev_sidebar_thumbnails_get_label),
2748 (ev_sidebar_thumbnails_page_iface_init):
2749 * shell/ev-sidebar-thumbnails.h:
2750 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
2751 (ev_sidebar_set_document):
2752 * shell/ev-sidebar.h:
2753 * shell/ev-window.c: (ev_window_setup_document), (ev_window_init):
2755 Small rework of sidebar code. Now sidebar pages should implement
2756 EvSidebarPage interface. That makes page management in EvSidebar
2757 easier. See bug #164811 for details
2759 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2761 * shell/ev-application.c: (ev_application_open):
2762 * shell/ev-document-types.c:
2764 Fix build error and small problem with application exit
2766 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2768 * thumbnailer/Makefile.am:
2769 * thumbnailer/evince-thumbnailer-djvu.schemas:
2770 * thumbnailer/evince-thumbnailer-dvi.schemas:
2772 Conditionally install schemas for djvu/dvi thumbnailer
2774 2005-04-18 David Malcolm <dmalcolm@redhat.com>
2776 * shell/ev-document-types.h:
2777 * shell/ev-document-types.c:
2778 New files, handling the mapping from mimetypes to backends
2780 * shell/ev-window.c:
2781 * thumbnailer/evince-thumbnailer.c:
2782 Use the ev-document-types code
2784 * shell/Makefile.am:
2785 Added new convenience library libevbackendfactory_la, containing
2786 the new mimetype->backend logic; moved the backends into it.
2788 * thumbnailer/Makefile.am:
2789 Make the thumbnailer link with the libevbackend.la convenience
2790 library, rather than having a duplicate of the backend logic here.
2792 2005-04-18 Paolo Borelli <pborelli@katamail.com>
2794 * shell/ev-stock-icons.c: constify some vars.
2795 * shell/ev-window.c: ditto.
2797 2005-04-18 Marco Pesenti Gritti <mpg@redhat.com>
2799 * ps/ps-document.c (get_page_orientation):
2801 Respect document orientation
2803 2005-04-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2807 * shell/Makefile.am:
2809 Move library dependencies to components.
2811 * shell/ev-window.c: (update_window_title),
2812 (start_loading_document):
2814 Fix display of uris with spaces. Bug 168358.
2816 Sat Apr 16 18:53:47 2005 Jonathan Blandford <jrb@redhat.com>
2818 * shell/ev-sidebar-links.c: (selection_changed_cb):
2819 * shell/ev-view.c: (ev_view_finalize), (go_to_link),
2820 (ev_view_button_release_event), (ev_view_set_document):
2822 * shell/ev-window.c: (find_bar_search_changed_cb):
2823 * shell/ev-window.h: Minor cleanups removing some dead code.
2825 2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2827 * backend/ev-page-cache.c: (_ev_page_cache_new):
2829 Set current page to 0 if document has pages.
2831 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
2833 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
2835 Initialize GError to NULL, fix a crash when loading fails.
2837 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
2839 * shell/ev-window.c: (update_view_size):
2841 Calculate shadow size only when there is actually
2844 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
2846 * shell/ev-view.c: (ev_view_set_spacing), (ev_view_init):
2849 Allow setting view spacing, default to 0
2851 * shell/ev-window.c: (ev_window_unfullscreen),
2852 (ev_window_cmd_view_fullscreen), (ev_window_init):
2854 Remove spacing in fullscreen mode
2856 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
2858 * shell/ev-view.c: (compute_border), (compute_zoom_factor),
2859 (ev_view_size_request), (expose_bin_window),
2860 (ev_view_set_show_border), (ev_view_init), (page_changed_cb):
2862 * shell/ev-window.c: (ev_window_unfullscreen),
2863 (ev_window_cmd_view_fullscreen):
2865 Do not draw the border in fulscreen
2867 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
2869 * shell/ev-view.c: (ev_view_get_offsets), (compute_zoom_factor),
2870 (ev_view_size_request), (expose_bin_window), (ev_view_select_all),
2871 (find_page_at_location), (page_changed_cb):
2873 Rework border calculation, so that I can more easily disable it.
2874 Code somewhat cleaner too.
2876 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
2878 * backend/ev-page-cache.c: (ev_page_cache_init),
2879 (_ev_page_cache_new):
2881 Remove some assertions, documents can have 0 pages.
2882 Make initial current page -1.
2884 * shell/ev-page-action.c: (page_changed_cb):
2886 Show "" if current page is -1
2888 * shell/ev-window.c: (update_action_sensitivity),
2889 (ev_window_setup_document):
2891 When document has 0 pages do not set the view
2892 and make nearly everything insensitive.
2894 2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2896 * shell/ev-page-view.c:
2897 * shell/ev-page-view.h:
2899 Remove unused files.
2901 * shell/ev-sidebar-thumbnails.c:
2902 (ev_sidebar_thumbnails_set_document):
2903 * shell/ev-sidebar.c: (ev_sidebar_set_document),
2904 (ev_sidebar_supports_document):
2905 * shell/ev-sidebar.h:
2906 * shell/ev-window.c: (ev_window_setup_document):
2908 Doesn't show thumbnails if document has 1 page. Make
2909 sidebar menu entries sensitive only if if they have
2910 sense. Fix bug 164811.
2912 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
2914 * shell/ev-view.c: (compute_zoom_factor), (ev_view_size_request),
2915 (page_changed_cb), (ev_view_zoom), (ev_view_zoom_in),
2916 (ev_view_zoom_out), (ev_view_set_size):
2918 Rework sizing to deal with documents with not uniform page
2921 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
2923 * backend/ev-page-cache.c: (_ev_page_cache_new):
2925 Fix several page size caching bugs
2927 2005-04-15 Luca Ferretti <elle.uca@libero.it>
2929 * shell/ev-window.c: (set_action_properties):
2931 Make all toolbar items translatable
2933 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
2935 * ps/ps-document.c: (ps_document_init), (ps_document_get_type),
2936 (save_page_list), (ps_document_save),
2937 (ps_document_document_iface_init), (ps_document_ps_export_begin),
2938 (ps_document_ps_export_do_page), (ps_document_ps_export_end),
2939 (ps_document_ps_exporter_iface_init):
2942 Based on a patch by J�rg Billeter <j@bitron.ch>
2944 Implement print and save a copy for the ps backend.
2946 2005-04-14 Marco Pesenti Gritti <mpg@redhat.com>
2948 * backend/ev-document.h:
2949 * djvu/djvu-document.c: (djvu_document_can_get_text),
2950 (djvu_document_document_iface_init):
2951 * dvi/dvi-document.c: (dvi_document_can_get_text),
2952 (dvi_document_document_iface_init):
2953 * pdf/ev-poppler.cc:
2954 * pixbuf/pixbuf-document.c: (pixbuf_document_can_get_text),
2955 (pixbuf_document_document_iface_init):
2956 * ps/ps-document.c: (ps_document_can_get_text),
2957 (ps_document_document_iface_init):
2958 * shell/ev-view.c: (ev_view_copy), (ev_view_primary_get_cb):
2959 * shell/ev-window.c: (update_action_sensitivity):
2961 Fix the crash when trying to copy in backends that doesnt
2962 support it. We can implement a better solution once we
2963 do real text selection.
2965 2005-04-12 Marco Pesenti Gritti <mpg@redhat.com>
2967 * data/evince-ui.xml:
2968 * shell/ev-window.c: (ev_window_cmd_escape):
2970 Work around the Escape conflict (find bar and unfullscreen)
2972 2005-04-12 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
2974 * backend/ev-page-cache.c: (ev_page_cache_next_page):
2976 Fix for #300233. Next page correctly handles document end.
2978 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
2979 (ev_sidebar_thumbnails_class_init),
2980 (ev_sidebar_thumbnails_set_document),
2981 (ev_sidebar_thumbnails_clear_job),
2982 (ev_sidebar_thumbnails_clear_model):
2984 Cleanup thumbnail jobs on document changes.
2986 * shell/ev-view.c: (add_scroll_binding_keypad),
2987 (add_scroll_binding_shifted), (ev_view_class_init):
2989 Shift + Space scrolls up. Fix for #173184
2991 * shell/ev-window.c: (ev_window_open_page),
2992 (ev_window_cmd_view_reload):
2994 Fix reload (Bug #300094)
2996 2005-04-09 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2999 * dvi/mdvi-lib/assoc.c:
3000 * dvi/mdvi-lib/assoc.h: Removed garbage files
3002 * dvi/mdvi-lib/bitmap.c:
3003 * dvi/mdvi-lib/color.c: (mdvi_set_color), (mdvi_push_color),
3004 (mdvi_pop_color), (mdvi_reset_color), (get_color_table):
3005 * dvi/mdvi-lib/color.h: Antialias of rules
3007 * dvi/mdvi-lib/common.h:
3008 * dvi/mdvi-lib/dviread.c: (mdvi_configure), (mdvi_init_context),
3009 (mdvi_destroy_context), (draw_shrink_rule), (draw_box), (set_rule):
3010 * dvi/mdvi-lib/files.c:
3011 * dvi/mdvi-lib/fontmap.c: (ps_init_default_paths):
3012 * dvi/mdvi-lib/mdvi.h:
3013 * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
3014 * dvi/mdvi-lib/tfmfile.c: (ofm_load_file):
3015 * dvi/mdvi-lib/util.c: Fix compile warnings
3017 * dvi/dvi-document.c:
3018 (dvi_document_load), (dvi_document_thumbnails_get_dimensions),
3019 (dvi_document_thumbnails_get_thumbnail),
3020 (dvi_document_document_thumbnails_iface_init):
3021 * dvi/mdvi-lib/Makefile.am:
3022 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
3023 (dvi_pixbuf_set_color), (mdvi_pixbuf_device_render):
3025 Dvi backend now renders thumbnails
3027 2005-04-09 Christian Persch <chpe@cvs.gnome.org>
3029 * shell/main.c: (main):
3031 Save accelerators on exit. Fixes bug #172095.
3033 Sat Apr 9 01:05:09 2005 Jonathan Blandford <jrb@redhat.com>
3035 * shell/ev-pixbuf-cache.c (move_one_job): Actually fix the "FIXME:
3036 update priority" comment.
3038 * backend/ev-job-queue.c: Give a way to change priority.
3040 Sat Apr 9 00:05:36 2005 Jonathan Blandford <jrb@redhat.com>
3042 * shell/ev-page-action.c: Fix logic.
3044 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
3046 * shell/ev-view.c: (ev_view_can_find_next):
3047 * shell/ev-window.c: (ev_window_setup_document):
3049 Check that the document supports find
3051 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
3053 * data/evince-ui.xml:
3054 * shell/ev-view.c: (ev_view_can_find_next):
3056 * shell/ev-window.c: (update_action_sensitivity),
3057 (find_changed_cb), (ev_window_setup_document),
3058 (ev_window_cmd_edit_find_next):
3062 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
3064 * pdf/ev-poppler.cc:
3065 * shell/ev-print-job.c: (idle_print_handler):
3067 Make printing work again
3069 Fri Apr 8 01:12:24 2005 Jonathan Blandford <jrb@redhat.com>
3071 * shell/ev-page-action.h:
3072 * shell/ev-page-action.c: (ev_page_action_widget_init),
3073 (ev_page_action_widget_class_init), (page_changed_cb),
3074 (create_tool_item), (update_page_cache), (build_new_tree_cb),
3075 (get_filter_model_from_model), (match_selected_cb),
3076 (display_completion_text), (match_completion), (update_model),
3077 (connect_proxy), (ev_page_action_set_property),
3078 (ev_page_action_get_property), (ev_page_action_set_document),
3079 (ev_page_action_set_model), (ev_page_action_class_init): Big
3080 reworking to make completions work iff we have >= GTK-2.7.0
3082 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_property),
3083 (ev_sidebar_links_get_property), (ev_sidebar_links_class_init),
3084 (job_finished_cb): We now have a 'model' property that is set when
3085 the links are loaded. This can be caught with "notify::model"
3087 * shell/ev-window.c: (sidebar_widget_model_set), (ev_window_init):
3088 listen for the model to be set, and propagate it to the action.
3090 2005-04-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3092 * cut-n-paste/recent-files/egg-recent-item.c:
3093 (egg_recent_item_set_uri), (make_valid_utf8),
3094 (egg_recent_item_set_mime_type), (egg_recent_item_get_mime_type):
3095 * cut-n-paste/recent-files/egg-recent-item.h:
3097 Update egg-recent from libegg. This should fix long
3098 startup problem. For details see
3099 http://bugzilla.gnome.org/show_bug.cgi?id=160531
3101 2005-04-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3103 * cut-n-paste/recent-files/Makefile.am:
3104 * data/evince-ui.xml, shell/Makefile.am:
3105 * shell/ev-application.c, shell/ev-application.h:
3106 * shell/ev-window.c: Recent files support.
3108 * configure.ac: Added "ru" to ALL_LINGUAS.
3110 * dvju: new backend to support DJVU files.
3111 * dvi: new backend to support DVI.
3113 * configure.ac, Makefile.am, shell/Makefile.am, ev-window.c:
3114 * ev-application.c: Support for new backends.
3116 * help, ev-window.c, main.c shell/Makefile.am:
3117 Evince user documentation.
3119 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
3122 * shell/ev-window.c:
3123 * thumbnailer/evince-thumbnailer.c:
3125 s/pdf-document/ev-poppler
3127 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
3134 * ps/ps-document.c: (setup_pixmap):
3138 2005-04-05 Kristian Høgsberg <krh@redhat.com>
3140 * backend/ev-page-cache.c (ev_page_cache_next_page):
3141 * shell/ev-window.c (ev_window_cmd_go_next_page)
3142 (ev_window_cmd_go_first_page): Fix of by one errors.
3144 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
3146 * ps/ps-document.c: (get_page_box):
3148 Fix page size calculation
3150 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
3152 * ps/ps-document.c: (ps_document_init), (push_pixbuf),
3153 (ps_document_cleanup), (setup_pixmap), (get_page_box),
3154 (get_page_orientation), (setup_page), (document_load),
3155 (ps_document_get_page_size), (render_pixbuf_idle):
3158 More refactoring to adapt to EvDocument changes
3160 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
3162 * ps/ps-document.c: (start_interpreter):
3164 Actually add alpha args
3166 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
3168 * pdf/ev-poppler.cc:
3170 Make clipboard work again
3172 2005-04-04 Kristian Høgsberg <krh@redhat.com>
3174 Make searching work again.
3176 * backend/ev-document.c:
3177 * backend/ev-document.h:
3178 * backend/ev-document-find.c:
3179 * backend/ev-document-find.h: Change EvDocumentIface so we no
3180 longer store the current page or zoom level in the document. The
3181 consequence is that all calls that operate on the current page now
3182 instead take the page number as an extra argument, and all
3183 coordinates are now doubles in document coordinate system.
3185 * pdf/ev-poppler.cc:
3186 * pixbuf/pixbuf-document.c:
3187 * ps/ps-document.c: Update backends accordingly.
3189 2005-04-04 Marco Pesenti Gritti <marco@gnome.org>
3193 Add required gettext version
3195 Sat Apr 2 18:57:00 2005 Jonathan Blandford <jrb@redhat.com>
3197 * shell/evwindow.c: Patch from Alberto Mesas <amesas@gmail.com> to
3198 make F1 bring up non-existent help.
3200 * shell/eggfindbar.c: Patch from Christian Persch to sync to
3201 epiphany's find bar, #167477
3203 * shell/ev-view.c (ev_view_jump): Patch from Emil Soleyman-Zomalan
3204 <emil@nishra.com> to add space-bar scrolling,
3206 * shell/ev-window.c (static GtkActionEntry entries): add default
3207 keybinding for Help (F1)
3210 * shell/ev-view.c (ev_view_show_cursor): Fix from Yuval Tanny
3211 changing EV_VIEW_CURSOR_LINK to EV_VIEW_CURSOR_NORMAL resolves bug
3214 2005-04-01 David Malcolm <dmalcolm@redhat.com>
3217 * pixbuf/pixbuf-document.c:
3219 Got pixbuf backend working again
3221 2005-04-01 Steve Murphy <murf@e-tools.com>
3223 * configure.in: Added "rw" to ALL_LINGUAS.
3225 Fri Apr 1 02:33:41 2005 Jonathan Blandford <jrb@redhat.com>
3227 * shell/ev-sidebar-links.c (create_loading_model): Fix mismatch in
3228 model types, noticed by Martin Kretzschmar.
3230 2005-04-01 Kristian Høgsberg <krh@redhat.com>
3232 * pdf/ev-poppler.cc: Implement search based on
3233 poppler_page_find_text(). Currently a bit crude since we remember
3234 all matches from all pages. Also, we grab the big document lock
3235 when we search since searching changes the underlying stream and
3236 thus conflicts with the rendering thread.
3238 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
3239 (jump_to_find_page), (ev_view_set_document), (ev_view_find_next),
3240 (ev_view_find_previous): Fix some page indexes to be 0 based,
3241 offset rubber band by view offset,
3243 Fri Apr 01 09:21:12 2005 Pablo Saratxaga <pablo@mandrakesoft.com>
3245 * configure.ac: Added Walloon (wa) to ALL_LINGUAS.
3247 Fri Apr 1 01:59:39 2005 Jonathan Blandford <jrb@redhat.com>
3249 * shell/ev-page-action.c: Changed to use page labels now. Rewrote
3250 completely because I didn't understand GtkActions. I should
3251 read Marco's code more carefully in the future.
3253 * backend/ev-page-cache.h (ev_page_cache_set_page_label): New
3256 2005-03-31 Kristian Høgsberg <krh@redhat.com>
3258 * pdf/ev-poppler.cc (pdf_document_get_links): Update to work with
3259 PopplerRectangle change from poppler CVS.
3261 Thu Mar 31 13:27:50 2005 Jonathan Blandford <jrb@redhat.com>
3263 * backend/ev-document.c: (ev_document_get_page_label):
3264 * backend/ev-document.h:
3265 * backend/ev-page-cache.c: (_ev_page_cache_new),
3266 (ev_page_cache_get_page_label):
3267 * backend/ev-page-cache.h:
3268 * pdf/ev-poppler.cc:
3269 * shell/ev-sidebar-links.c: (ev_sidebar_links_construct),
3270 (links_page_num_func):
3271 * shell/ev-sidebar-thumbnails.c:
3272 (ev_sidebar_thumbnails_set_document):
3273 * shell/ev-view.c: (status_message_from_link),
3274 (ev_view_motion_notify_event):
3275 * shell/ev-window.c: (document_supports_sidebar): Add in page
3276 label support. It's not perfect yet, but it's the first 'feature'
3278 Also, fix a bogus comment noticed by crispin.
3280 Thu Mar 31 01:21:58 2005 Jonathan Blandford <jrb@redhat.com>
3282 * Makefile.am: Remove pixbuf backend for now
3284 * configure.ac: Require poppler-glib instead of just poppler.
3286 * backend/ev-document-thumbnails.h: Add a comment
3288 * backend/ev-document.h:
3289 * backend/ev-document.c: (ev_document_class_init),
3290 (ev_document_load), (ev_document_get_link),
3291 (ev_document_get_links): Remove 3 methods and add get_links.
3294 * backend/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
3295 * backend/ev-jobs.h: now EvJobRender can grab the links for a document.
3297 * backend/ev-link.c: (ev_link_set_title),
3298 (ev_link_mapping_free_foreach), (ev_link_mapping_free),
3299 (ev_link_mapping_find):
3300 * backend/ev-link.h: Allow NULL titles. Also, introduce a mapping link.
3302 * backend/ev-page-cache.c: (ev_page_cache_init),
3303 (_ev_page_cache_new), (ev_page_cache_set_current_page),
3304 (ev_page_cache_get_size), (ev_page_cache_next_page),
3305 (ev_page_cache_prev_page): Fix to be 0 based.
3309 * pdf/ev-poppler.cc: New backend.
3311 * ps/ps-document.c: (ps_document_init), (ps_document_set_page),
3312 (ps_document_get_page), (ps_document_document_iface_init):
3314 * shell/ev-pixbuf-cache.h:
3315 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
3316 (dispose_cache_job_info), (job_finished_cb), (move_one_job),
3317 (ev_pixbuf_cache_update_range), (copy_job_to_job_info),
3318 (add_job_if_needed), (ev_pixbuf_cache_set_page_range),
3319 (ev_pixbuf_cache_get_pixbuf), (ev_pixbuf_cache_get_link_mapping):
3320 Fix up code to grab a page cache per each doc. Also, fix to be 0
3323 * shell/ev-sidebar-thumbnails.c:
3324 (ev_sidebar_tree_selection_changed), (page_changed_cb),
3325 (ev_sidebar_thumbnails_set_document): Fix to be 0 based.
3327 * shell/ev-view.c: (status_message_from_link),
3328 (find_page_at_location), (get_link_at_location),
3329 (ev_view_motion_notify_event), (ev_view_button_release_event),
3330 (ev_view_init): Use the new link code. Fix to be 0 based.
3332 * shell/ev-window.c: (update_action_sensitivity),
3333 (document_supports_sidebar): 0 based.
3335 Fri Mar 25 16:55:58 2005 Jonathan Blandford <jrb@redhat.com>
3337 * pdf/pdf-document.cc: Patch from Fernando Herrera
3338 <fherrera@onirica.com> to fix my quick fix to get_thumbnail.
3341 Wed Mar 23 23:49:41 2005 Jonathan Blandford <jrb@redhat.com>
3343 * pdf/pdf-document.cc (pdf_document_thumbnails_get_thumbnail): add
3344 1 to the page, as this seems to be 1 based. I thought we has this
3347 2005-03-23 Marco Pesenti Gritti <marco@gnome.org>
3350 * backend/Makefile.am:
3351 * backend/ev-document-links.c:
3352 (ev_document_links_has_document_links),
3353 (ev_document_links_get_links_model):
3354 * backend/ev-document-links.h:
3355 * backend/ev-document.c: (ev_document_get_page_cache),
3356 (ev_document_get_doc_mutex), (ev_document_load),
3357 (ev_document_save), (ev_document_get_title),
3358 (ev_document_get_n_pages), (ev_document_set_page),
3359 (ev_document_get_page), (ev_document_set_target),
3360 (ev_document_set_scale), (ev_document_set_page_offset),
3361 (ev_document_get_page_size), (ev_document_get_text),
3362 (ev_document_get_link), (ev_document_render),
3363 (ev_document_render_pixbuf), (ev_document_scale_changed):
3364 * backend/ev-document.h:
3365 * backend/ev-job-queue.c: (remove_object_from_queue),
3366 (notify_finished), (handle_job), (search_for_jobs_unlocked),
3367 (no_jobs_available_unlocked), (ev_render_thread),
3368 (ev_job_queue_init), (find_queue), (ev_job_queue_add_job),
3369 (ev_job_queue_remove_job):
3370 * backend/ev-job-queue.h:
3371 * backend/ev-jobs.c: (ev_job_init), (ev_job_dispose),
3372 (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
3373 (ev_job_links_class_init), (ev_job_render_init),
3374 (ev_job_render_dispose), (ev_job_render_class_init),
3375 (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
3376 (ev_job_thumbnail_class_init), (ev_job_finished),
3377 (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
3378 (ev_job_render_run), (ev_job_thumbnail_new),
3379 (ev_job_thumbnail_run):
3380 * backend/ev-jobs.h:
3381 * backend/ev-link.c:
3382 * backend/ev-link.h:
3383 * backend/ev-page-cache.c: (ev_page_cache_init),
3384 (ev_page_cache_class_init), (ev_page_cache_finalize),
3385 (_ev_page_cache_new), (ev_page_cache_get_n_pages),
3386 (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
3387 (ev_page_cache_set_link), (ev_page_cache_get_title),
3388 (ev_page_cache_get_size), (ev_page_cache_next_page),
3389 (ev_page_cache_prev_page):
3390 * backend/ev-page-cache.h:
3391 * pdf/pdf-document.cc:
3394 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
3395 (push_pixbuf), (interpreter_failed), (ps_document_cleanup),
3396 (ps_document_widget_event), (ps_document_finalize), (get_xdpi),
3397 (get_ydpi), (setup_pixmap), (setup_page), (close_pipe),
3398 (is_interpreter_ready), (output), (catchPipe), (input),
3399 (start_interpreter), (check_filecompressed), (compute_dimensions),
3400 (ps_document_enable_interpreter), (document_load),
3401 (ps_document_next_page), (render_page), (ps_document_set_page),
3402 (ps_document_set_scale), (render_pixbuf_idle),
3403 (ps_document_render_pixbuf), (ps_document_document_iface_init):
3405 * shell/Makefile.am:
3406 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
3407 (ev_pixbuf_cache_class_init), (ev_pixbuf_cache_finalize),
3408 (dispose_cache_job_info), (ev_pixbuf_cache_dispose),
3409 (ev_pixbuf_cache_new), (job_finished_cb),
3410 (check_job_size_and_unref), (move_one_job),
3411 (ev_pixbuf_cache_update_range), (find_job_cache),
3412 (ev_pixbuf_cache_clear_job_sizes), (add_job_if_needed),
3413 (ev_pixbuf_cache_add_jobs_if_needed),
3414 (ev_pixbuf_cache_set_page_range), (ev_pixbuf_cache_get_pixbuf):
3415 * shell/ev-pixbuf-cache.h:
3416 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
3417 (idle_print_handler):
3418 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
3419 (selection_changed_cb), (create_loading_model),
3420 (ev_sidebar_links_construct), (links_page_num_func),
3421 (ev_sidebar_links_clear_document), (update_page_callback_foreach),
3422 (update_page_callback), (job_finished_cb),
3423 (ev_sidebar_links_set_document):
3424 * shell/ev-sidebar-thumbnails.c:
3425 (ev_sidebar_thumbnails_class_init), (adjustment_changed_cb),
3426 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init),
3427 (page_changed_cb), (thumbnail_job_completed_callback),
3428 (ev_sidebar_thumbnails_set_document):
3429 * shell/ev-sidebar-thumbnails.h:
3430 * shell/ev-sidebar.c: (ev_sidebar_set_document):
3431 * shell/ev-view.c: (ev_view_finalize), (ev_view_destroy),
3432 (ev_view_get_offsets), (ev_view_size_request), (ev_view_realize),
3433 (ev_view_unrealize), (highlight_find_results), (expose_bin_window),
3434 (ev_view_select_all), (ev_view_copy), (ev_view_primary_get_cb),
3435 (ev_view_create_invisible_cursor), (ev_view_motion_notify_event),
3436 (ev_view_button_release_event), (ev_view_scroll_view),
3437 (ev_view_class_init), (ev_view_init), (update_find_status_message),
3438 (jump_to_find_result), (jump_to_find_page), (find_changed_cb),
3439 (ev_view_new), (job_finished_cb), (page_changed_cb),
3440 (ev_view_set_document), (go_to_link), (ev_view_zoom),
3441 (size_to_zoom_factor), (ev_view_set_size), (ev_view_find_next),
3442 (ev_view_find_previous):
3444 * shell/ev-window.c: (update_action_sensitivity),
3445 (ev_window_open_page), (update_window_title), (update_total_pages),
3446 (page_changed_cb), (ev_window_setup_document),
3447 (password_dialog_response), (ev_window_cmd_save_as),
3448 (ev_window_print), (ev_window_cmd_go_previous_page),
3449 (ev_window_cmd_go_next_page), (ev_window_cmd_go_first_page),
3450 (ev_window_cmd_go_last_page), (ev_window_cmd_view_reload),
3451 (find_bar_search_changed_cb), (goto_page_cb), (ev_window_init):
3452 * shell/main.c: (main):
3454 Merge evince-threads branch
3456 2005-03-16 Žygimantas Beručka <uid0@akl.lt>
3458 * configure.ac: Added "lt" to ALL_LINGUAS.
3460 2005-03-14 Marco Pesenti Gritti <marco@gnome.org>
3467 2005-03-13 Fernando Herrera <fherrera@onirica.com>
3469 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3471 Fix here also the thumbnails 1-basedness :)
3473 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
3480 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
3482 * pdf/pdf-document.cc:
3483 * shell/ev-sidebar-thumbnails.c: (adjustment_changed_cb),
3484 (do_one_iteration), (ev_sidebar_thumbnails_set_document):
3486 Fix the mess we did with thumbnails and 1-basedness
3488 2005-03-12 Changwoo Ryu <cwryu@debian.org>
3490 * configure.ac (ALL_LINGUAS): Added "ko" (Korean).
3492 2005-03-09 Marco Pesenti Gritti <marco@gnome.org>
3499 2005-03-08 Marco Pesenti Gritti <marco@gnome.org>
3502 * ps/gsdefaults.c: (gtk_gs_defaults_get_interpreter_cmd),
3503 (gtk_gs_defaults_get_alpha_parameters),
3504 (gtk_gs_defaults_get_ungzip_cmd),
3505 (gtk_gs_defaults_get_unbzip2_cmd):
3507 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
3508 (ps_document_get_orientation), (document_load),
3509 (ps_document_goto_page), (ps_document_set_page_size):
3512 Some more sanitization of the ps backend. Remove a lot
3513 of unused code and do not base our defaults on ggv
3516 2005-03-08 Fernando Herrera <fherrera@onirica.com>
3518 * thumbnailer/evince-thumbnailer.schemas:
3519 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
3520 (main): add -s option for thumbnail size.
3522 2005-03-07 Christian Persch <chpe@cvs.gnome.org>
3526 AC_PROG_RANLIB is rendered obsolete by AC_PROG_LIBTOOL;
3529 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
3531 * pdf/pdf-document.cc:
3533 Remove 4 pixels of useless border from the
3536 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
3538 * backend/ev-document-thumbnails.c:
3539 (ev_document_thumbnails_get_thumbnail):
3540 * backend/ev-document-thumbnails.h:
3542 Rework API a bit. Add a border flag and
3543 change sizing logic (now the size we specify
3544 applies to the bigger dimension).
3546 * pdf/pdf-document.cc:
3547 * pixbuf/pixbuf-document.c:
3548 (pixbuf_document_thumbnails_get_thumbnail):
3549 * shell/ev-sidebar-thumbnails.c: (do_one_iteration):
3550 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3552 Adapt to the new API and do not draw a border for nautilus
3555 2005-03-03 Fernando Herrera <fherrera@onirica.com>
3557 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3558 take thumbnails from page "0" instead of "1". Added a copyright header.
3560 2005-03-03 Jens Granseuer <jensgr@gmx.net>
3562 * ps/ps-document.c: (set_up_page), (start_interpreter):
3564 Make it C89 compliant
3566 2005-03-03 Marco Pesenti Gritti <marco@gnome.org>
3571 * pdf/pdf-document.cc:
3572 * thumbnailer/Makefile.am:
3573 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
3575 * thumbnailer/evince-thumbnailer.schemas:
3576 * thumbnailer/pdf-icon.png:
3578 Add a nautilus thumbnailer.
3579 Based on patch by Fernando Herrera <fherrera@onirica.com>.
3581 2005-03-02 Marco Pesenti Gritti <marco@gnome.org>
3589 2005-03-01 Kristian Høgsberg <krh@redhat.com>
3591 Use poppler instead of including xpdf source code. Poppler is a
3592 fork of xpdf to build it as a shared library. See
3593 http://freedesktop.org/wiki/Software/poppler.
3595 * pdf/xpdf/*, pdf/goo/*, pdf/splash/*, pdf/fofi/*: Remove included
3598 * pdf/Makefile.am: Build libpdfdocument.a here.
3600 * pdf/GDKSplashOutputDev.cc:
3601 * pdf/GDKSplashOutputDev.h:
3602 * pdf/GnomeVFSStream.cc:
3603 * pdf/GnomeVFSStream.h:
3606 * test-gdk-output-dev.cc
3608 * Thumb.h: Pull these files out of pdf/xpdf and adjust to compile
3611 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
3613 * shell/ev-sidebar-links.c: (ev_sidebar_links_clear_document):
3615 Clear idle stack before unsetting the document
3617 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
3619 * ps/ps-document.c: (ps_document_widget_event),
3620 (ps_document_set_target), (ps_document_finalize),
3621 (ps_document_get_page):
3623 Disconnect the widget event signal on finalize.
3626 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
3628 * ps/ps-document.c: (set_up_page):
3630 If there is no bpixmap create one, even if size
3633 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
3635 * ps/ps-document.c: (ps_document_init), (ps_document_cleanup),
3636 (set_up_page), (document_load), (ps_document_set_zoom):
3638 Default page is 0. Calculate size even when we have no
3641 2005-02-28 Carlos Garcia Campos <carlosgc@gnome.org>
3643 * shell/ev-sidebar.c: expand the selection widget to be always as
3646 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
3648 * shell/ev-sidebar-thumbnails.c:
3649 (ev_sidebar_thumbnails_set_document):
3651 Clear the list store when setting document
3653 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
3655 * shell/ev-page-action.c: (update_entry), (sync_entry),
3656 (activate_cb), (entry_size_request_cb), (create_tool_item),
3659 Use an entry for the page control instead of spinbuttons
3661 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
3663 * data/evince.schemas.in:
3665 Correct confusing string
3667 Sun Feb 27 23:00:31 2005 Jonathan Blandford <jrb@redhat.com>
3669 * shell/ev-sidebar-links.c (do_one_iteration): Handle title links
3670 for real. Gosh, how long has this been broken.
3672 * pdf/xpdf/pdf-document.cc (build_link_from_action): add back the
3673 check for a NULL link. We crash otherwise.
3675 2005-02-27 Marco Pesenti Gritti <marco@gnome.org>
3682 2005-02-25 Sebastien Bacher <seb128@debian.org>
3684 * configure.ac: add the french translation.
3686 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
3688 * shell/ev-window.c:
3690 Remove unused header -> fix distcheck
3692 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
3694 * shell/ev-window.c: (update_window_title),
3695 (ev_window_popup_password_dialog):
3697 Unescape filename for display
3699 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
3701 * pdf/xpdf/pdf-document.cc:
3703 In get_page_size deal with rotation. Also
3704 cleanup the function a bit.
3706 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
3708 * pdf/xpdf/pdf-document.cc:
3710 Fix crash when opening in new window
3712 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
3716 Check ghostscript >= 7
3718 2005-02-25 Pedro Villavicencio <pvillavi@gnome.cl>
3720 * shell/ev-window.c:
3722 Make page width the default sizing mode
3724 2005-02-25 Carlos Garcia Campos <carlosgc@gnome.org>
3725 Marco Pesenti Gritti <marco@gnome.org>
3727 * shell/ev-window.c: Remember the sidebar size
3729 * data/evince.schemas.in: Add a new gconf key to store the size of
3732 2005-02-24 Kai Willadsen <kaiw@itee.uq.edu.au>
3734 * data/evince-ui.xml:
3735 * shell/ev-window.c: (update_action_sensitivity),
3736 (ev_window_cmd_view_reload):
3738 Add a "Reload" action and menu entry
3740 Thu Feb 24 23:07:33 2005 Jonathan Blandford <jrb@redhat.com>
3742 * shell/ev-window.c (hide_sidebar_and_actions): Hide the sidebar
3743 iff the type doesn't support thumbnailing and indexing.
3745 2005-02-24 Martin Kretzschmar <martink@gnome.org>
3747 * configure.ac (ALL_LINGUAS): Added "zh_TW" (Traditional Chinese).
3749 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
3751 * pdf/splash/Splash.cc:
3753 Port fix for a crasher from kde bug
3754 http://bugs.kde.org/show_bug.cgi?id=97131
3756 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
3758 * pdf/xpdf/pdf-document.cc:
3760 Return a link even if it's of an unrecognized
3761 type. Otherwise we go in an infinte cycle.
3763 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
3765 * shell/ev-window.c: (update_sizing_buttons), (update_view_size),
3766 (size_allocate_cb), (ev_window_set_sizing_mode):
3768 Update size when switching mode
3770 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
3772 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
3773 (ev_window_cmd_view_page_width), (update_sizing_buttons),
3774 (ev_window_cmd_view_normal_size):
3776 Fix size toggle buttons behavior
3778 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
3780 * shell/ev-view.c: (ev_view_get_offsets), (view_rect_to_doc_rect),
3781 (doc_rect_to_view_rect), (ev_view_size_allocate),
3782 (expose_bin_window), (ev_view_select_all), (page_changed_callback),
3783 (scale_changed_callback):
3785 Do not cache offsets in size_allocate.
3787 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
3789 * shell/ev-view.c: (ev_view_size_allocate):
3791 Calculate offsets before calling the parent
3792 class (which does a redraw)
3794 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
3796 * pdf/xpdf/pdf-document.cc:
3798 Fix a crasher on exit. Unused code, put a TODO
3800 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
3802 * backend/ev-document.c: (ev_document_class_init),
3803 (ev_document_page_changed), (ev_document_scale_changed):
3804 * backend/ev-document.h:
3806 Separate page/scale notifications
3808 * pdf/xpdf/pdf-document.cc:
3810 Emit the new signals.
3811 Do not display the pdf page in _render, do it
3812 when scale/page are requested.
3814 * ps/ps-document.c: (ps_document_set_zoom),
3815 (ps_document_widget_event):
3818 Emit the new signals.
3820 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
3821 (ev_view_init), (page_changed_callback), (scale_changed_callback),
3822 (ev_view_set_document), (ev_view_zoom), (ev_view_zoom_in),
3823 (ev_view_zoom_out), (size_to_zoom_factor), (ev_view_set_size):
3825 * shell/ev-window.c: (ev_window_cmd_view_normal_size),
3826 (ev_window_cmd_view_page_width), (size_allocate_cb),
3827 (ev_window_set_sizing_mode):
3829 Rework sizing to be pixel based.
3830 There are bugs but should be already way better.
3832 2005-02-23 Marco Pesenti Gritti <marco@gnome.org>
3834 * shell/ev-window.c: (ev_window_init):
3836 Do not allow to shrink sidebar smaller then
3839 2005-02-23 Carlos Garcia Campos <carlosgc@gnome.org>
3841 * shell/ev-sidebar.[ch]
3842 * shell/ev-window.c:
3844 Improved sidebar widget. Fixes #166683
3846 2005-02-23 Tommi Vainikainen <thv@iki.fi>
3848 * shell/ev-view.c (update_find_status_message): Give translators
3849 more flexibility with ngettext plural handling.
3851 Mon Feb 21 17:52:08 2005 Jonathan Blandford <jrb@redhat.com>
3853 * pdf/xpdf/pdf-document.cc (pdf_document_get_page_size): Patch
3854 from Crispin Flowerday <gnome@flowerday.cx> to avoid rendering the
3855 page when we get the page size.
3857 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
3859 * ps/ps-document.c: (ps_document_set_page), (ps_document_get_page):
3861 ps pages are 0 based, convert
3863 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
3865 * ps/ps-document.c: (ps_document_class_init), (ps_document_load):
3867 Initialize correct parent class. Set GError on document load
3869 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
3871 * pdf/xpdf/pdf-document.cc:
3873 Fixup selection offset calculation
3875 * shell/ev-view.c: (view_rect_to_doc_rect),
3876 (doc_rect_to_view_rect), (ev_view_size_allocate),
3877 (expose_bin_window), (ev_view_select_all), (ev_view_copy),
3878 (ev_view_primary_get_cb), (ev_view_motion_notify_event):
3880 Store selection as document relative, so that zooming
3881 and offset changing doesnt break it.
3883 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
3885 * shell/ev-view.c: (ev_view_best_fit):
3887 Do not try to best fit if the view is not realized
3889 2005-02-20 Kostas Papadimas <pkst@gnome.org>
3891 * configure.ac (ALL_LINGUAS): Added "el" (Greek).
3893 Fri Feb 18 16:06:39 2005 Jonathan Blandford <jrb@redhat.com>
3895 * shell/ev-window.c (ev_window_focus_in_event): missed a case.
3897 Fri Feb 18 15:32:57 2005 Jonathan Blandford <jrb@redhat.com>
3899 * shell/ev-window.c: Change the fullscreen toolbar to always be in
3900 the popup window. That prevents it resizing when in full screen
3903 * shell/ev-view.c: Change Zoom epsilon as a bad hack to avoid
3904 multiple rerenders. This pretty much sucks.
3906 * data/evince-ui.xml: Change the fullscreen toolbar to include the
3907 rest of the toolbar.
3909 2005-02-18 Tommi Vainikainen <thv@iki.fi>
3911 * configure.ac (ALL_LINGUAS): Added "fi" (Finnish).
3913 2005-02-17 Alexander Shopov <ash@contact.bg>
3915 * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
3917 2005-02-16 Bryan Clark <clarkbw@cvs.gnome.org>
3919 * shell/ev-window.c: added ellipsis to Print item. Fixes bug 166915
3921 2005-02-16 Marco Pesenti Gritti <marco@gnome.org>
3923 * shell/ev-view.c: (ev_view_realize), (highlight_find_results),
3924 (ev_view_create_invisible_cursor), (ev_view_set_cursor),
3925 (set_document_page), (document_changed_callback),
3926 (ev_view_set_document), (ev_view_find_previous),
3927 (ev_view_hide_cursor), (ev_view_show_cursor):
3929 * shell/ev-window.c: (update_chrome_visibility),
3930 (fullscreen_timeout_cb), (fullscreen_set_timeout),
3931 (fullscreen_clear_timeout), (fullscreen_motion_notify_cb),
3932 (fullscreen_leave_notify_cb), (ev_window_fullscreen),
3933 (ev_window_unfullscreen):
3934 * shell/main.c: (main):
3936 Automatically hide the fullscreen button.
3937 Patch by Kristian Høgsberg <krh@redhat.com>
3939 2005-02-16 Vincent Noel <vnoel@cox.net>
3941 * shell/main.c (main): Specify an icon for the window. Patch by
3942 Jaap A. Haitsma. Fixes #166177.
3944 Wed Feb 16 06:30:13 2005 Jonathan Blandford <jrb@redhat.com>
3946 * shell/ev-view.c (ev_view_realize): get rid of the black flash.
3948 Tue Feb 15 22:27:13 2005 Jonathan Blandford <jrb@redhat.com>
3950 * backend/ev-document-misc.h:
3951 * backend/ev-document-misc.c:
3952 (ev_document_misc_get_page_border_size),
3953 (ev_document_misc_paint_one_page): New function to canonicalize
3954 sizing/painting a border.
3956 * shell/Makefile.am: Remove ev-page-view.c entirely as it's not
3959 * pdf/xpdf/pdf-document.cc: use new function
3961 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
3962 (ev_view_init), (ev_view_set_mode), (ev_view_zoom),
3963 (ev_view_best_fit), (ev_view_fit_width): * shell/ev-view.h: *
3964 shell/ev-window.c: (update_sizing_buttons),
3965 (ev_window_setup_document), (ev_window_cmd_view_zoom_in),
3966 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_best_fit),
3967 (ev_window_cmd_view_page_width), (size_allocate_cb),
3968 (ev_window_set_sizing_mode), (ev_window_init): make the "best fit"
3969 and "fit width" values act as toggle buttons so they stay
3970 toggled. It's not 100% perfect, and it's a little slow, but it's
3971 good enough to commit I think.
3973 2005-02-15 David Lodge <dave@cirt.net>
3975 * configure.ac (ALL_LINGUAS): Added "en_GB" (English (British)).
3977 2005-02-15 Martin Kretzschmar <martink@gnome.org>
3979 * shell/ev-window.c (update_window_title): replace newlines in
3980 the title by spaces. Bug #166107.
3982 2005-02-14 Martin Kretzschmar <martink@gnome.org>
3984 * shell/ev-view.c (ev_view_best_fit, ev_view_fit_width): add
3985 parameters providing allocation width and height without
3986 scrollbars and width of a possible vertical scrollbar. With this
3987 additional information the functions can work as
3988 intended. Unfortunately they're not idempotent. We should
3989 transform these commands to toggles. Fixes Bug #164976
3990 Initial patch by Stephane Loeuillet, then heavily modified.
3992 * shell/ev-view.h: update prototypes.
3994 * shell/ev-window.c (ev_window_cmd_view_best_fit)
3995 (ev_window_cmd_view_page_width): provide EvView fit functions with
3996 all the information they need. Formulas to calculate this
3997 information taken from GtkScrolledWindow.
3999 2005-02-14 Crispin Flowerday <gnome@flowerday.cx>
4001 * shell/ev-sidebar-thumbnails.c: Ensure that after we have
4002 created a thumbnail, the list store is updated to know
4003 that the thumbnail is set. Fixes bug #166792
4005 2005-02-11 Bryan Clark <clarkbw@cvs.gnome.org>
4007 * shell/ev-window.c: fixed typo, closes bug 166897
4009 * TODO: updated TODO with bug numbers that are relevant
4011 2005-02-09 Carlos Garcia Campos <carlosgc@gnome.org>
4013 * shell/ev-window.c: Support for DnD of files. Fixes #164813
4015 2005-02-09 Vincent Noel <vnoel@cox.net>
4017 * shell/ev-window.c: (set_action_properties): Set the "Previous"
4018 and "Next" toolbar buttons as important to make them stand out.
4020 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
4024 * ps/ps-document.c: (ps_document_finalize), (set_up_page),
4025 (start_interpreter), (stop_interpreter), (document_load),
4026 (ps_document_next_page), (ps_document_goto_page),
4027 (ps_document_set_page_size), (ps_document_widget_event),
4028 (ps_document_render):
4029 * shell/ev-page-view.c: (ev_page_view_dispose):
4030 * shell/ev-view.c: (ev_view_finalize), (expose_bin_window):
4032 Fix compilation on non-gcc platforms
4034 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
4041 * pdf/xpdf/Catalog.cc:
4044 Fix the fix for CAN-2004-0888
4046 2005-02-09 Luca Ferretti <elle.uca@libero.it>
4049 * data/evince-ui.xml:
4050 * shell/ev-stock-icons.c: (ev_stock_icons_init):
4051 * shell/ev-stock-icons.h:
4052 * shell/ev-window.c: (update_action_sensitivity),
4053 (ev_window_cmd_go_previous_page), (ev_window_cmd_go_next_page),
4054 (set_action_properties):
4056 Improve toolbar layout/icons
4058 2005-02-08 Marco Pesenti Gritti <marco@gnome.org>
4060 * pdf/xpdf/pdf-document.cc:
4062 Add warnings about unimplemented/unknown link
4065 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4067 * ps/ps-document.c: (set_up_page):
4071 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4073 * ps/ps-document.c: (start_interpreter):
4077 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4079 * shell/ev-page-view.c: (ev_page_view_dispose):
4080 * shell/ev-view.c: (ev_view_finalize):
4081 * shell/ev-window.c: (ev_window_setup_document),
4082 (ev_window_dispose), (ev_window_init):
4084 Solve more refs issues.
4086 I commented out the page_view initialization for now:
4087 it was never destroyed (because it's never added
4088 to a container). Because of that we was leaking
4089 gs processes. Couldnt think to a clean fix.
4090 We need to figure this out, password view has the
4091 same issue probably.
4093 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4095 * ps/ps-document.c: (ps_document_finalize),
4096 (ps_document_get_n_pages), (ps_document_get_page):
4098 Some cleanups, stop the interpreter on finalize
4100 * shell/ev-page-view.c: (ev_page_view_dispose),
4101 (ev_page_view_class_init):
4103 Release our reference on the document
4105 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4109 * doc/debugging.txt:
4112 * lib/ev-debug.c: (log_module), (trap_handler), (ev_debug_init),
4113 (ev_profiler_new), (ev_should_profile), (ev_profiler_dump),
4114 (ev_profiler_free), (ev_profiler_start), (ev_profiler_stop):
4117 Add debugging helpers
4120 * ps/ps-document.c: (set_up_page), (start_interpreter),
4121 (stop_interpreter), (document_load), (ps_document_next_page),
4122 (ps_document_goto_page), (ps_document_set_page_size),
4123 (ps_document_widget_event), (ps_document_render):
4124 * shell/Makefile.am:
4125 * shell/ev-view.c: (expose_bin_window):
4126 * shell/main.c: (main):
4130 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4132 * ps/ps-document.c: (ps_document_widget_event):
4134 Initialize message_window, this should make ps
4135 rendering really work! (Never noticed because I was
4136 testing with a ps that is causing gs to exit every time!)
4138 2005-02-07 Bryan Clark <clarkbw@cvs.gnome.org>
4140 * data/evince.schemas.in: updated simple error in applyto closing tag
4142 2005-02-07 Christian Persch <chpe@cvs.gnome.org>
4148 * data/evince-ui.xml:
4149 A data/evince.schemas.in:
4151 * shell/ev-stock-icons.c: (ev_stock_icons_init):
4152 * shell/ev-stock-icons.h:
4153 * shell/ev-window.c: (update_chrome_visibility),
4154 (update_chrome_flag), (ev_window_cmd_edit_find),
4155 (ev_window_update_fullscreen_popup), (ev_window_fullscreen),
4156 (ev_window_unfullscreen), (ev_window_focus_in_event),
4157 (ev_window_focus_out_event), (ev_window_cmd_leave_fullscreen),
4158 (ev_window_view_toolbar_cb), (ev_window_view_statusbar_cb),
4159 (ev_window_view_sidebar_cb), (find_bar_close_cb),
4160 (ev_window_dispose), (ev_window_class_init),
4161 (set_action_properties), (set_chrome_actions), (load_chrome),
4164 Implement fullscreen mode changes from bug #164776.
4165 Also implement persistent chrome toggles.
4167 2005-02-07 Jordi Mallach <jordi@sindominio.net>
4169 * configure.ac (ALL_LINGUAS): Added "ca" (Catalan).
4171 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
4177 Add another check for find interface
4181 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
4183 * shell/ev-application.c: (ev_application_open):
4184 * shell/ev-window.c: (ev_window_open):
4186 Open gzipped ps documents
4188 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
4191 * shell/ev-view.c: (set_document_page):
4193 Clamp page number, dont try to move to
4196 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
4198 * backend/ev-document-find.c: (ev_document_find_changed):
4199 * backend/ev-document-find.h:
4200 * pdf/xpdf/pdf-document.cc:
4201 * shell/ev-view.c: (jump_to_find_result), (ev_view_set_document):
4202 * shell/ev-window.c: (find_bar_search_changed_cb):
4204 Fix several bugs with find
4206 2005-02-04 Martin Kretzschmar <martink@gnome.org>
4208 * shell/ev-sidebar-thumbnails.c
4209 (ev_sidebar_thumbnails_select_page): do nothing unless we have a
4210 document. Prevents warning from scroll_to_cell.
4212 2005-02-02 Kjartan Maraas <kmaraas@gnome.org>
4214 * configure.ac: Add «nb» to ALL_LINGUAS too.
4216 Wed Feb 2 21:13:11 2005 Jonathan Blandford <jrb@redhat.com>
4218 * NOTES: New file with some random thoughts.
4222 * backend/ev-document-misc.c:
4223 (ev_document_misc_get_page_border_size): New function to
4224 canonicalize shadow drawing sizes. Possibly goofy.
4226 * shell/ev-view.c: (ev_view_size_request), (set_document_page),
4227 (ev_view_best_fit), (ev_view_fit_width):
4228 * pdf/xpdf/pdf-document.cc:
4229 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
4230 * ps/ps-document.c: (ps_document_get_page_size):
4231 * backend/ev-document-misc.h:
4232 * backend/ev-document.c: (ev_document_get_page_size):
4233 * backend/ev-document.h: get_page_size now takes a page number
4234 parameter. Made all the backends/frontends honor it.
4236 * data/evince-ui.xml: Added a multiple-page mode. Uncomment to
4237 see. Doesn't work yet.
4239 * shell/Makefile.am:
4240 * shell/ev-page-view.[ch]: New multi-page view. Really rough.
4241 Doesn't do anything yet.
4243 * shell/ev-sidebar-thumbnails.c:
4244 (ev_sidebar_thumbnails_set_document): [1..n_pages] instead of
4247 * shell/ev-window.c: (update_action_sensitivity),
4248 (ev_window_setup_document), (ev_window_set_page_mode),
4249 (ev_window_page_mode_cb), (ev_window_init): Clean up the
4250 view-swapping code a bit so we can have multiple views on a
4251 document. Add the multi-page view, though it can't be turned on
4254 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
4256 * shell/ev-application.c: (ev_application_open):
4257 * shell/ev-view.c: (expose_bin_window):
4258 * shell/ev-window.c: (ev_window_open):
4260 Support eps and check document supports find
4261 before drawing highlightings in expose.
4263 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
4265 * pixbuf/pixbuf-document.c:
4266 (pixbuf_document_thumbnails_get_dimensions),
4267 (pixbuf_document_document_thumbnails_iface_init):
4269 implement get_dimensions
4271 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
4278 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
4280 * shell/ev-view.c: (set_document_page):
4282 Scroll at the top of the page when changing page
4284 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
4286 * shell/ev-view.c: (ev_view_motion_notify_event):
4288 Do not redraw unnecessarily
4290 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
4292 * pdf/xpdf/pdf-document.cc:
4293 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
4294 (expose_bin_window), (find_changed_cb):
4296 Yay! find works now... Now to find bugs...
4298 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
4300 * backend/ev-document-find.c: (ev_document_find_base_init),
4301 (ev_document_find_changed):
4302 * backend/ev-document-find.h:
4303 * pdf/xpdf/pdf-document.cc:
4304 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
4305 (expose_bin_window), (ev_view_init), (set_document_page),
4306 (ensure_rectangle_is_visible), (jump_to_find_result),
4307 (jump_to_find_page), (find_changed_cb), (ev_view_set_document),
4308 (ev_view_find_next), (ev_view_find_previous):
4310 * shell/ev-window.c: (find_bar_previous_cb), (find_bar_next_cb):
4312 More work on find implementation, mostly there now
4314 2005-01-29 Marco Pesenti Gritti <marco@gnome.org>
4316 * backend/ev-backend-marshalers.list:
4317 * backend/ev-document-find.c: (ev_document_find_base_init),
4318 (ev_document_find_cancel), (ev_document_find_page_has_results),
4319 (ev_document_find_get_n_results), (ev_document_find_get_result),
4320 (ev_document_find_get_progress), (ev_document_find_changed):
4321 * backend/ev-document-find.h:
4323 Enanche the find interface to be really able to do
4326 * pdf/xpdf/pdf-document.cc:
4330 * shell/ev-view.c: (ev_view_finalize), (highlight_find_results),
4331 (expose_bin_window), (ev_view_init),
4332 (ev_view_get_find_status_message), (find_changed_cb),
4333 (ev_view_set_document), (set_document_page):
4335 Adapt to the new interface. A few things are regressed sorry,
4336 I will finish it soon.
4338 2005-01-28 Martin Kretzschmar <martink@gnome.org>
4340 * shell/ev-sidebar-thumbnails.c (ev_sidebar_thumbnails_destroy)
4341 (ev_sidebar_thumbnails_class_init): use G_DEFINE_TYPE-supplied
4342 ev_sidebar_thumbnails_parent_class variable, don't define another
4343 parent_class variable.
4345 * shell/ev-page-action.c (connect_proxy, ev_page_action_finalize)
4346 (ev_page_action_class_init): ditto.
4348 * pixbuf/pixbuf-document.c (pixbuf_document_finalize)
4349 (pixbuf_document_class_init): ditto.
4351 * backend/ev-link.c (ev_window_dispose, ev_link_class_init):
4354 * .cvsignore: ignore various valgrind output files.
4356 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
4358 * data/evince-ui.xml:
4359 * shell/Makefile.am:
4360 * shell/ev-history.c:
4361 * shell/ev-history.h:
4362 * shell/ev-navigation-action.c:
4363 * shell/ev-navigation-action.h:
4364 * shell/ev-view.c: (ev_view_finalize), (ev_view_go_to_link),
4365 (ev_view_set_page), (ev_view_fit_width):
4367 * shell/ev-window.c: (update_action_sensitivity),
4368 (ev_window_setup_document), (register_custom_actions):
4370 Kill session history
4372 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
4374 * shell/ev-window.c: (update_action_sensitivity):
4376 Fix inverted up/down buttons
4378 2005-01-27 Martin Kretzschmar <martink@gnome.org>
4380 * shell/ev-sidebar-thumbnails.c
4381 (ev_sidebar_thumbnails_select_page): make sure the selected
4382 thumbnail stays visible.
4384 2005-01-26 Martin Kretzschmar <martink@gnome.org>
4386 * shell/ev-window.c (ev_window_init): add GTK_SHADOW_IN to the
4387 scrolled window for Federico.
4389 2005-01-26 Ole Laursen <olau@hardworking.dk>
4391 * configure.ac: Added "da" (Danish) to ALL_LINGUAS.
4393 2005-01-26 Marco Pesenti Gritti <marco@gnome.org>
4396 * pdf/splash/SplashFTFontEngine.cc:
4398 Fix CID fonts with freetype 2.1.9
4400 2005-01-26 Bryan Clark <clarkbw@cvs.gnome.org>
4402 * TODO: added item for desktop icon thumbnailer
4404 Tue Jan 25 00:59:34 2005 Jonathan Blandford <jrb@redhat.com>
4406 * pdf/xpdf/pdf-document.cc (pdf_document_get_title): guard against
4407 unloaded docs when the title is accessed.
4409 * shell/ev-password-view.[hc]: New widget for displaying password
4412 * shell/ev-window.[ch]: Refactor password handling code to handle
4415 2005-01-24 Marco Pesenti Gritti <marco@gnome.org>
4423 2005-01-23 Stephane LOEUILLET <stephane.loeuillet@tiscali.fr>
4425 * pdf/xpdf/pdf-document.cc (pdf_document_search_page_changed):
4426 ignore page offset here, to make search results independent of it,
4428 * shell/ev-view.c (expose_bin_window): but take offsets into
4429 account here. Bug #164932
4431 * pdf/xpdf/pdf-document.cc (pdf_document_get_link): divide by
4432 scale at the right time. Bug #164996
4434 2005-01-22 Martin Kretzschmar <martink@gnome.org>
4436 * pdf/xpdf/GlobalParams.cc: My 2005-01-05 change didn't actually
4437 fix the problem. Now I just removed the Adobe font names and hope
4438 that the URW fonts are always in outline format. Bug #164934
4440 * shell/ev-window.c (update_window_title): empty titles are
4441 useless, use filename in that case too.
4443 * NEWS: Add some content.
4445 2005-01-21 Bryan Clark <clarkbw@cvs.gnome.org>
4447 * TODO: added one more TODO item and a TODONE section :)
4449 2005-01-21 Martin Kretzschmar <martink@gnome.org>
4451 * ps/ps-document.h: add page_[xy]_offset fields.
4453 * ps/ps-document.c (ps_document_set_page_offset)
4454 (ps_document_render): Keep offset in consideration in a few
4455 places. Bug #164752 "postscript documents are not centered in
4458 * data/evince.desktop.in (X-GNOME-Bugzilla-Product):
4459 s/gpdf/evince/. Spotted by Stephane Loeuillet.
4461 * pixbuf/pixbuf-document.c (pixbuf_document_get_n_pages)
4462 (pixbuf_document_get_text, pixbuf_document_document_iface_init):
4463 stub out missing methods for complete EvDocument implementation.
4464 Fixes segfaults with Save A Copy and Copy actions.
4466 * ps/ps-document.c (ps_document_save, ps_document_get_text)
4467 (ps_document_document_iface_init): ditto.
4469 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
4473 * data/evince.desktop.in:
4477 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
4479 * shell/ev-view.c: (ev_view_button_press_event),
4480 (ev_view_motion_notify_event):
4482 Make selection work in any direction
4484 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
4487 * shell/ev-window.c: (set_short_labels), (ev_window_init):
4489 Use shorter labels for some of the toolbars items
4491 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
4493 * pdf/xpdf/pdf-document.cc:
4495 Check the links info is initialized before
4496 using it. Should fix a crash on startup.
4498 2005-01-21 Martin Kretzschmar <martink@gnome.org>
4500 * pixbuf/pixbuf-document.c
4501 (pixbuf_document_thumbnails_get_dimensions): force floating point
4502 division to calculate page_ratio. Fixes crash with landscape
4505 Thu Jan 20 18:56:35 2005 Jonathan Blandford <jrb@redhat.com>
4507 * shell/ev-view.c (ev_view_realize): make the bg color darker.
4509 2005-01-20 Martin Kretzschmar <martink@gnome.org>
4511 * shell/ev-view.c (set_document_page): unset has_selection when
4513 (set_document_page): handle paper size changes when the page
4514 changes (test with Free Culture, page 2).
4516 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
4518 * shell/ev-view.c: (ev_view_size_request), (ev_view_realize),
4519 (expose_bin_window), (ev_view_class_init), (ev_view_init):
4521 Use normal style color for the widget background and
4522 draw a black box around the page.
4524 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
4526 * pdf/xpdf/pdf-document.cc:
4528 Keep offset in consideration in a few places
4530 * shell/ev-view.c: (expose_bin_window):
4532 Set the offsets so that the document is ever centered
4534 2005-01-20 Bryan Clark <clarkbw@cvs.gnome.org>
4536 * TODO: Added TODO items and finished off the first todo item
4538 * AUTHORS: Updated AUTHORS section with piece from gpdf file and
4539 reflect current authors
4541 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
4543 * pdf/xpdf/pdf-document.cc:
4544 * shell/ev-view.c: (ev_view_set_cursor),
4545 (ev_view_motion_notify_event), (document_changed_callback),
4546 (set_document_page):
4548 Show a wait cursor while the page is rendering
4550 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
4552 * shell/ev-sidebar-thumbnails.c:
4553 (ev_sidebar_tree_selection_changed),
4554 (ev_sidebar_thumbnails_select_page):
4555 * shell/ev-sidebar-thumbnails.h:
4556 * shell/ev-view.c: (ev_view_set_document), (ev_view_can_go_back),
4557 (ev_view_can_go_forward):
4558 * shell/ev-window.c: (ev_window_open_page),
4559 (ev_window_setup_document), (update_current_page),
4560 (view_page_changed_cb), (ev_window_init):
4561 * shell/ev-window.h:
4563 Ensure thumbnails selection, toolbar page control and
4564 current page are in sync.
4566 2005-01-19 Marco Pesenti Gritti <marco@gnome.org>
4572 Wed Jan 19 01:10:57 2005 Jonathan Blandford <jrb@redhat.com>
4574 * backend/Makefile.am:
4575 * backend/ev-document-links.h:
4576 * backend/ev-document-security.c: (ev_document_security_get_type),
4577 (ev_document_security_has_document_security),
4578 (ev_document_security_set_password):
4579 * backend/ev-document-security.h:
4580 * backend/ev-document.c: (ev_document_error_quark):
4581 * backend/ev-document.h:
4583 * data/evince-password.glade:
4584 * pdf/xpdf/pdf-document.cc:
4585 * shell/Makefile.am:
4586 * shell/ev-password.c: (ev_password_set_bad_password_label),
4587 (ev_window_password_entry_changed_cb), (ev_password_dialog_new),
4588 (ev_password_dialog_get_password),
4589 (ev_password_dialog_set_bad_pass):
4590 * shell/ev-password.h:
4591 * shell/ev-window.c: (ev_window_get_attribute),
4592 (ev_window_set_property), (update_action_sensitivity),
4593 (ev_window_is_empty), (mime_type_supported_by_gdk_pixbuf),
4594 (ev_window_setup_document), (ev_window_get_password),
4595 (ev_window_open), (ev_window_cmd_save_as),
4596 (using_postscript_printer), (ev_window_print),
4597 (find_not_supported_dialog), (ev_window_cmd_edit_find),
4598 (update_fullscreen_popup), (ev_window_fullscreen),
4599 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
4600 (ev_window_focus_out_cb), (ev_window_cmd_help_about),
4601 (menu_item_select_cb), (find_bar_search_changed_cb),
4602 (ev_window_dispose), (ev_window_init):
4604 Add initial support for password-supported dialogs. This could be
4605 a lot cooler, but it'll do for now.
4607 2005-01-18 Marco Pesenti Gritti <marco@gnome.org>
4609 * pdf/xpdf/pdf-document.cc:
4610 * shell/ev-view.c: (status_message_from_link),
4611 (ev_view_set_status), (ev_view_set_cursor),
4612 (ev_view_motion_notify_event), (ev_view_init):
4613 * shell/ev-window.c: (view_status_changed_cb), (ev_window_init):
4615 Fix bugs in the links implementation and change cursor
4616 when hovering a link.
4618 2005-01-17 Bryan Clark <clarkbw@cvs.gnome.org>
4620 * viewer/.cvsignore: added cvsignore file for viewer directory
4622 * TODO: created TODO document
4624 2005-01-14 Dave Malcolm <dmalcolm@redhat.com>
4627 * shell/ev-view.c (ev_view_can_go_back), (ev_view_can_go_forward):
4628 new functions to help with implementation of sensitivity code
4629 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
4630 of all actions that might require it. Fixes a crash when you
4631 click on the Zoom actions in a window lacking a document.
4633 2005-01-13 Dave Malcolm <dmalcolm@redhat.com>
4635 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
4638 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
4640 * pixbuf/pixbuf-document.c: (pixbuf_document_get_link),
4641 (pixbuf_document_document_iface_init):
4642 * ps/ps-document.c: (ps_document_get_link),
4643 (ps_document_document_iface_init):
4644 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event),
4645 (status_message_from_link), (ev_view_set_status),
4646 (ev_view_set_find_status), (ev_view_motion_notify_event),
4647 (ev_view_button_release_event), (ev_view_set_property),
4648 (ev_view_get_property), (ev_view_class_init), (ev_view_init),
4649 (ev_view_get_find_status_message), (update_find_results),
4650 (ev_view_get_status), (ev_view_get_find_status):
4652 * shell/ev-window.c: (view_status_changed_cb),
4653 (view_find_status_changed_cb), (ev_window_init):
4655 View status message support, use it to show the links.
4658 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
4660 * backend/ev-document.c: (ev_document_get_link):
4661 * backend/ev-document.h:
4662 * pdf/xpdf/pdf-document.cc:
4663 * shell/ev-application.c: (ev_application_open):
4664 * shell/ev-application.h:
4665 * shell/ev-sidebar-links.c: (selection_changed_cb):
4666 * shell/ev-view.c: (ev_view_button_release_event), (go_to_link),
4667 (ev_view_go_to_link):
4669 Add support for document links
4671 2005-01-13 Anders Carlsson <andersca@gnome.org>
4673 * shell/ev-page-action.c: (update_spin), (total_pages_changed_cb),
4675 Set the spin button limits correctly.
4677 * shell/ev-sidebar-thumbnails.c:
4678 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init):
4679 Support changing pages by clicking on the thumbnails.
4681 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
4683 * pixbuf/pixbuf-document.c:
4684 (pixbuf_document_thumbnails_get_dimensions),
4685 (pixbuf_document_document_thumbnails_iface_init):
4687 implement get_dimensions
4689 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
4691 * ps/ps-document.c: (ps_document_goto_page):
4693 Fix page switching on multipage documents
4695 2005-01-12 Jeff Muizelaar <jrmuizel@nit.ca>
4697 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
4699 check for NULL before assigning to width and height parameters
4701 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
4703 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
4704 (pixbuf_document_set_property), (pixbuf_document_get_property):
4706 implement get/set properties
4708 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
4710 * pdf/xpdf/pdf-document.cc: (pdf_info_dict_get_string):
4712 return NULL instead of "Unknown", letting the title get set to
4713 the filename when the pdf has no title.
4715 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
4717 * ps/ps-document.c: (ps_document_get_page_count),
4718 (ps_document_goto_page):
4720 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
4722 * shell/ev-history.c: (ev_history_get_property),
4723 (ev_history_set_property), (ev_history_class_init),
4724 (ev_history_add_page), (ev_history_set_current_index):
4725 * shell/ev-navigation-action.c: (ev_navigation_action_set_history),
4726 (activate_menu_item_cb), (new_history_menu_item), (build_menu),
4727 (ev_navigation_action_finalize):
4728 * shell/ev-navigation-action.h:
4729 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
4730 (ev_view_go_forward), (ev_view_get_find_status_message),
4731 (history_index_changed_cb), (ev_view_set_history):
4733 * shell/ev-window.c: (update_total_pages), (ev_window_open),
4734 (update_current_page), (register_custom_actions):
4736 Implement history dropdowns
4738 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
4740 * shell/ev-history.c: (ev_history_init), (ev_history_add_link):
4741 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
4742 (ev_view_go_forward):
4743 * shell/ev-window.c: (register_custom_actions):
4745 Fix several history bugs
4747 2005-01-11 Kjartan Maraas <kmaraas@gnome.org>
4749 * configure.ac: Add «nb» to ALL_LINGUAS.
4751 2005-01-10 Marco Pesenti Gritti <marco@gnome.org>
4753 * backend/Makefile.am:
4754 * backend/ev-bookmark.c:
4755 * backend/ev-bookmark.h:
4756 * backend/ev-document-bookmarks.c:
4757 * backend/ev-document-bookmarks.h:
4758 * backend/ev-document-links.c: (ev_document_links_get_type),
4759 (ev_document_links_has_document_links),
4760 (ev_document_links_begin_read), (ev_document_links_get_link),
4761 (ev_document_links_get_child), (ev_document_links_next),
4762 (ev_document_links_free_iter):
4763 * backend/ev-document-links.h:
4764 * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_title),
4765 (ev_link_set_title), (ev_link_get_uri), (ev_link_set_uri),
4766 (ev_link_get_link_type), (ev_link_set_link_type),
4767 (ev_link_get_page), (ev_link_set_page), (ev_link_get_property),
4768 (ev_link_set_property), (ev_window_dispose), (ev_link_init),
4769 (ev_link_class_init), (ev_link_new_title), (ev_link_new_page),
4770 (ev_link_new_external):
4771 * backend/ev-link.h:
4772 * pdf/xpdf/pdf-document.cc:
4773 * shell/Makefile.am:
4774 * shell/ev-application.c: (ev_application_open_link):
4775 * shell/ev-application.h:
4776 * shell/ev-history.c: (ev_history_add_link), (ev_history_add_page),
4777 (ev_history_get_link_nth):
4778 * shell/ev-history.h:
4779 * shell/ev-sidebar-bookmarks.c:
4780 * shell/ev-sidebar-bookmarks.h:
4781 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
4782 (ev_sidebar_links_class_init), (selection_changed_cb),
4783 (ev_sidebar_links_construct), (ev_sidebar_links_init),
4784 (links_page_num_func), (ev_sidebar_links_new), (stack_data_free),
4785 (do_one_iteration), (populate_links_idle),
4786 (ev_sidebar_links_clear_document), (ev_sidebar_links_set_document):
4787 * shell/ev-sidebar-links.h:
4788 * shell/ev-sidebar.c: (ev_sidebar_set_document):
4789 * shell/ev-view.c: (go_to_link), (ev_view_go_to_link),
4792 * shell/ev-window.c: (ev_window_open_link), (ev_window_init):
4793 * shell/ev-window.h:
4795 Rename bookmark to link, and use "Index" for the sidebar panel.
4797 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
4799 * shell/Makefile.am:
4800 * shell/ev-application.c: (ev_application_open_bookmark):
4801 * shell/ev-application.h:
4802 * shell/ev-history.c: (ev_history_init), (free_links_list),
4803 (ev_history_finalize), (ev_history_class_init),
4804 (ev_history_add_link), (ev_history_add_page),
4805 (ev_history_get_link_nth), (ev_history_get_n_links),
4806 (ev_history_get_current_index), (ev_history_set_current_index),
4808 * shell/ev-history.h:
4809 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
4810 * shell/ev-view.c: (ev_view_finalize), (ev_view_set_document),
4811 (set_document_page), (go_to_bookmark), (ev_view_go_to_bookmark),
4812 (go_to_index), (ev_view_go_back), (ev_view_go_forward),
4815 * shell/ev-window.c: (ev_window_open_bookmark),
4816 (ev_window_cmd_go_back), (ev_window_cmd_go_forward),
4817 (goto_page_cb), (register_custom_actions):
4818 * shell/ev-window.h:
4820 Initial history implementation. Needs work.
4822 2005-01-09 Martin Kretzschmar <martink@gnome.org>
4824 * pdf/xpdf/GDKSplashOutputDev.cc (redraw): fix pixbuf data offset.
4826 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
4828 * cut-n-paste/recent-files/egg-recent-item.c:
4829 * cut-n-paste/recent-files/egg-recent-item.h:
4830 * cut-n-paste/recent-files/egg-recent-model.c:
4831 * cut-n-paste/recent-files/egg-recent-util.c:
4832 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
4833 * cut-n-paste/recent-files/egg-recent-view.c:
4837 2005-01-08 Martin Kretzschmar <martink@gnome.org>
4839 * pdf/splash/Splash.cc (clear, drawPixel, drawSpan, xorSpan, getPixel)
4840 (fillGlyph, fillImageMask, drawImage):
4841 pdf/splash/SplashBitmap.cc (SplashBitmap, ~SplashBitmap, writePNMFile):
4842 pdf/splash/SplashTypes.h:
4843 pdf/xpdf/SplashOutputDev (startPage, getColor, imageSrc): implement RGB8
4844 packed mode for Splash.
4846 * pdf/xpdf/GDKSplashOutputDev.cc (GDKSplashOutputDev, redraw): use
4847 RGB8 packed mode, eliminates the pixbuf data creation loop.
4849 * shell/ev-print-job.c (ev_print_job_finalize)
4850 (ev_print_job_set_property, ev_print_job_get_property)
4851 (ev_print_job_set_gnome_print_job, ev_print_job_set_document)
4852 (ev_print_job_use_print_dialog_settings, idle_print_handler)
4853 (print_closure_finalize, ev_print_job_print): implement
4854 printing (for backends with EvPsExporter)
4856 * shell/ev_print_job.h: update prototypes.
4858 * shell/ev-window.c (ev_window_print): unref print job after
4861 * shell/ev-view.c (ev_view_set_document): don't connect to "found"
4862 unless the document implements the EvDocumentFind interface.
4864 2005-01-08 Satoru SATOH <ss@gnome.gr.jp>
4866 * configure.ac: Added ja to ALL_LINGUAS.
4868 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
4870 * pdf/xpdf/pdf-document.cc:
4872 add a FIXME. We should probably not allocate
4873 a bookmark object every time
4875 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
4877 * shell/ev-application.c: (ev_application_open),
4878 (ev_application_open_bookmark):
4879 * shell/ev-application.h:
4881 Add a way to open bookmarks
4883 * backend/ev-bookmark.c: (ev_bookmark_get_uri),
4884 (ev_bookmark_set_uri), (ev_bookmark_get_property),
4885 (ev_bookmark_set_property), (ev_bookmark_class_init),
4886 (ev_bookmark_new_title), (ev_bookmark_new_link),
4887 (ev_bookmark_new_external):
4889 Support for external uris, better constructors.
4891 * backend/ev-bookmark.h:
4892 * pdf/xpdf/pdf-document.cc:
4893 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
4895 Handle external uris
4897 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
4899 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb),
4900 (ev_sidebar_bookmarks_construct), (do_one_iteration):
4902 Hook up bookmarks navigation
4904 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
4906 * backend/Makefile.am:
4907 * backend/ev-bookmark.c: (ev_bookmark_type_get_type),
4908 (ev_bookmark_get_title), (ev_bookmark_set_title),
4909 (ev_bookmark_get_bookmark_type), (ev_bookmark_set_bookmark_type),
4910 (ev_bookmark_get_page), (ev_bookmark_set_page),
4911 (ev_bookmark_get_property), (ev_bookmark_set_property),
4912 (ev_window_dispose), (ev_bookmark_init), (ev_bookmark_class_init),
4914 * backend/ev-bookmark.h:
4915 * backend/ev-document-bookmarks.c:
4916 (ev_document_bookmarks_get_bookmark):
4917 * backend/ev-document-bookmarks.h:
4918 * pdf/xpdf/pdf-document.cc:
4919 * shell/ev-sidebar-bookmarks.c: (do_one_iteration):
4921 Add a bookmark object to the backend and use it instead of get_values
4923 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
4925 * data/evince-ui.xml:
4927 Cleanup and add select all.
4929 * shell/ev-view.c: (ev_view_select_all),
4930 (ev_view_button_press_event):
4932 * shell/ev-window.c: (ev_window_cmd_edit_select_all):
4935 Clear selection on click.
4937 Fri Jan 7 01:28:58 2005 Jonathan Blandford <jrb@redhat.com>
4939 * shell/ev-sidebar-thumbnails.c
4940 (ev_sidebar_thumbnails_set_document): forgot to unref the
4943 Fri Jan 7 01:22:48 2005 Jonathan Blandford <jrb@redhat.com>
4945 * shell/ev-sidebar-thumbnails.c: fill in the thumbnails starting
4946 at the visible page, not just linearly. This makes it look fast.
4948 Thu Jan 6 18:48:11 2005 Jonathan Blandford <jrb@redhat.com>
4950 * backend/ev-document-misc.c
4951 (ev_document_misc_get_thumbnail_frame): fill in the thumbnail with
4953 * backend/ev-document-thumbnails.h: New interface to get the size
4956 2005-01-06 Jeremy Katz <katzj@redhat.com>
4958 * shell/Makefile.am (evince_SOURCES): Add ev-utils.[ch] so that
4961 Wed Jan 5 15:38:28 2005 Jonathan Blandford <jrb@redhat.com>
4963 * pdf/xpdf/pdf-document.cc (bitmap_to_pixbuf): bypass
4964 GDKSplashOutputDev and just use a normal SplashOutputDev. Speeds
4967 * shell/ev-sidebar-thumbnail.c: start of some profiling code.
4969 2005-01-05 Martin Kretzschmar <martink@gnome.org>
4971 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): match only outline
4972 fonts. Should fix font problems on systems that have the base
4973 fonts in bitmap format. Reported by James Henstridge
4974 <james@jamesh.id.au>.
4976 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
4979 * pdf/xpdf/GfxState.cc:
4981 Fix for CAN-2004-1125
4983 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
4985 * shell/ev-view.c: (ev_view_copy):
4987 * shell/ev-window.c: (ev_window_cmd_edit_copy):
4989 Implement Edit->Copy
4991 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
4993 * backend/ev-document.c: (ev_document_get_text):
4994 * backend/ev-document.h:
4995 * pdf/xpdf/pdf-document.cc:
4996 * shell/ev-view.c: (ev_view_realize), (expose_bin_window),
4997 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
4998 (ev_view_update_primary_selection), (ev_view_button_press_event),
4999 (ev_view_motion_notify_event), (ev_view_button_release_event):
5001 Beginnings of clipboard support. Incomplete but primary sort
5004 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5006 * shell/ev-view.c: (ev_gdk_color_to_rgb), (draw_rubberband),
5007 (expose_bin_window):
5009 Nicer rubberband drawing, from GtkIconView.
5011 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5013 * backend/ev-document.c: (ev_document_save):
5014 * backend/ev-document.h:
5015 * data/evince-ui.xml:
5016 * pdf/xpdf/pdf-document.cc:
5017 * shell/ev-window.c: (save_error_dialog), (ev_window_cmd_save_as):
5019 Implement "Save a copy..." menu item
5021 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5023 * shell/ev-view.c: (ev_view_zoom):
5025 Queue a resize when zoom changes
5027 Wed Jan 5 02:33:06 2005 Jonathan Blandford <jrb@redhat.com>
5029 * backend/ev-document-misc.[ch]: New misc file to do simple drop
5032 * pdf/xpdf/pdf-document.cc: use the drop shadows in both types of
5035 Tue Jan 4 22:32:32 2005 Jonathan Blandford <jrb@redhat.com>
5037 * pdf/xpdf/pdf-document.cc
5038 (pdf_document_thumbnails_get_page_pixbuf): poor man's dropshadow.
5040 Tue Jan 4 21:25:05 2005 Jonathan Blandford <jrb@redhat.com>
5042 * pdf/xpdf/pdf-document.cc: Do real thumbnailing of PDF files.
5043 It's slow, but I'll speed it up next!
5045 2005-01-04 Jeff Muizelaar <jrmuizel@nit.ca>
5047 * shell/main.c (load_files):
5049 use gnome_vfs_make_uri_from_shell_arg so that relative paths work
5050 from the command line and because it seems more appropriate.
5052 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
5054 * data/evince-ui.xml:
5055 * shell/ev-window.c: (update_action_sensitivity),
5056 (ev_window_cmd_go_page_up), (ev_window_cmd_go_page_down):
5058 s/next page/page down
5059 s/previous page/page up
5061 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
5063 * data/evince-ui.xml:
5065 Change the layout to match clarkbw design.
5067 * shell/Makefile.am:
5068 * shell/ev-navigation-action.c: (build_menu), (menu_activated_cb),
5069 (set_tooltip_cb), (connect_proxy), (ev_navigation_action_init),
5070 (ev_navigation_action_finalize),
5071 (ev_navigation_action_set_property),
5072 (ev_navigation_action_get_property),
5073 (ev_navigation_action_class_init):
5074 * shell/ev-navigation-action.h:
5076 Implement clarkbw toolbar navigation controls (incomplete)
5078 * shell/ev-page-action.c: (update_label), (update_spin),
5079 (value_changed_cb), (create_tool_item), (connect_proxy),
5080 (ev_page_action_init), (ev_page_action_finalize),
5081 (ev_page_action_set_property), (ev_page_action_get_property),
5082 (ev_page_action_set_current_page),
5083 (ev_page_action_set_total_pages), (ev_page_action_class_init):
5084 * shell/ev-page-action.h:
5086 Implement a page switcher in the toolbar
5088 * shell/ev-view.c: (ev_view_scroll_view):
5089 * shell/ev-window.c: (update_total_pages), (ev_window_open),
5090 (update_current_page), (view_page_changed_cb), (goto_page_cb),
5091 (register_custom_actions), (ev_window_init):
5093 Change page on PageUp/Down.
5095 Tue Jan 4 03:22:56 2005 Jonathan Blandford <jrb@redhat.com>
5097 * pdf/xpdf/pdf-document.cc
5098 (pdf_document_thumbnails_get_thumbnail): initial stab at
5099 implementing thumbnail support for pdfs. It only does documents
5100 with precached pdfs now.
5102 Mon Jan 3 17:22:25 2005 Jonathan Blandford <jrb@redhat.com>
5104 * shell/ev-sidebar-thumbnails.c (do_one_iteration): move the
5105 thumbnail code into a time-based idle as well. Also, turn off the
5106 shadow temporarily as it's really slow.
5108 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
5110 * backend/ev-document.c: (ev_document_class_init):
5111 * pdf/xpdf/pdf-document.cc:
5112 * shell/ev-window.c: (ev_window_open):
5114 Fix document title bugs and fallback to
5115 filename when not available.
5117 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
5119 * backend/ev-document.c: (ev_document_get_type),
5120 (ev_document_class_init), (ev_document_load),
5121 (ev_document_get_title):
5122 * backend/ev-document.h:
5123 * pdf/xpdf/pdf-document.cc:
5124 * ps/ps-document.c: (ps_document_set_property),
5125 (ps_document_get_property), (ps_document_class_init),
5129 * shell/ev-window.c: (update_window_title), (ev_window_open),
5132 Initial support for document title. Not working yet.
5134 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
5136 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event):
5138 Grab focus on the view when clicking it
5140 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
5142 * shell/ev-marshal.list:
5143 * shell/ev-view.c: (ev_view_realize), (add_scroll_binding),
5144 (ev_view_scroll_view), (ev_view_class_init), (ev_view_init):
5146 Add key bindings to the view. Now if the focus would work
5149 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
5152 * backend/Makefile.am:
5155 * dvi/dvilib/Makefile.am:
5156 * pdf/xpdf/Makefile.am:
5162 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5164 * shell/ev-view.c: (ev_view_realize):
5166 Fix mouse wheel scrolling
5168 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5174 * ps/ps-document.c: (catchPipe), (ps_document_init),
5175 (ps_document_class_init), (ps_document_cleanup),
5176 (ps_document_finalize), (send_ps), (ps_document_get_orientation),
5177 (set_up_page), (close_pipe), (is_interpreter_ready),
5178 (interpreter_failed), (output), (input), (start_interpreter),
5179 (stop_interpreter), (file_length), (file_readable),
5180 (check_filecompressed), (check_pdf), (compute_xdpi),
5181 (compute_ydpi), (compute_size), (ps_document_enable_interpreter),
5182 (ps_document_get_type), (ps_document_emit_error_msg),
5183 (document_load), (ps_document_next_page),
5184 (ps_document_get_current_page), (ps_document_get_page_count),
5185 (ps_document_goto_page), (ps_document_set_page_size),
5186 (ps_document_zoom_to_fit), (ps_document_set_zoom),
5187 (ps_document_load), (ps_document_get_n_pages),
5188 (ps_document_set_page), (ps_document_get_page),
5189 (ps_document_widget_event), (ps_document_set_target),
5190 (ps_document_set_scale), (ps_document_set_page_offset),
5191 (ps_document_get_page_size), (ps_document_render),
5192 (ps_document_document_iface_init):
5195 * shell/ev-window.c: (ev_window_open):
5197 Rename GtkGS to PSDocument
5199 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5201 * ps/gtkgs.c: (gtk_gs_class_init):
5204 Some more leftover...
5206 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5208 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_get_orientation),
5209 (output), (stop_interpreter), (gtk_gs_emit_error_msg),
5210 (gtk_gs_zoom_to_fit), (gtk_gs_set_zoom):
5213 Remove unused code and make a lot of stuff private
5215 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5217 * ps/gsdefaults.c: (gtk_gs_defaults_gconf_client),
5218 (gtk_gs_defaults_changed):
5224 Cleanup headers dependencies
5226 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5231 * ps/gsdefaults.c: (gtk_gs_defaults_get_paper_sizes):
5233 * ps/gtkgs.c: (file_length), (file_readable),
5234 (check_filecompressed), (check_pdf), (gtk_gs_load),
5235 (gtk_gs_get_postscript):
5239 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
5244 * ps/gtkgs.c: (gtk_gs_set_zoom):
5248 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
5250 * ps/gtkgs.c: (gtk_gs_set_zoom), (gtk_gs_set_zoom_mode):
5252 Ensure the page is rerendered when changing zoom
5254 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
5256 * backend/ev-document.c: (ev_document_base_init),
5257 (ev_document_changed):
5258 * backend/ev-document.h:
5260 Add a changed event that is emitted when the page content
5261 changes. This is necessary to deal with the fact that
5262 in ps backend rendering happen asycrounously.
5263 This makes the ps backend mostly work.
5265 * pdf/xpdf/pdf-document.cc:
5269 * ps/gtkgs.c: (set_up_page), (gtk_gs_widget_event),
5270 (ps_document_set_target):
5274 * shell/ev-view.c: (document_changed_callback),
5275 (ev_view_set_document), (ev_view_set_page):
5277 Redraw on the changed signal
5279 2004-12-25 Raphael Higino <raphaelh@cvs.gnome.org>
5281 * configure.ac: Added pt_BR to ALL_LINGUAS.
5283 Fri Dec 24 00:48:44 2004 Jonathan Blandford <jrb@redhat.com>
5285 * backend/ev-document-bookmarks.c:
5286 (ev_document_bookmarks_get_child): *
5287 backend/ev-document-bookmarks.h: * pdf/xpdf/Makefile.am: *
5288 pdf/xpdf/pdf-document.cc: * pdf/xpdf/pdf-document.h: *
5289 shell/Makefile.am: * shell/ev-sidebar-bookmarks.c:
5290 (ev_sidebar_bookmarks_destroy),
5291 (ev_sidebar_bookmarks_class_init),
5292 (ev_sidebar_bookmarks_construct), (stack_data_free),
5293 (do_one_iteration), (populate_bookmarks_idle),
5294 (ev_sidebar_bookmarks_clear_document),
5295 (ev_sidebar_bookmarks_set_document): *
5296 shell/ev-sidebar-bookmarks.h: * shell/ev-sidebar.c:
5297 (ev_sidebar_add_page),
5298 (ev_sidebar_set_document): * shell/ev-window.c: (ev_window_open):
5299 Initial stab at a bookmarks sidebar. It doesn't navigate yet, but
5300 it displays both the topics and the page numbers.
5302 2004-12-23 Kristian Høgsberg <krh@redhat.com>
5304 * shell/ev-window.c (ev_window_view_sidebar_cb): Hook up sidebar
5306 * shell/ev-window.c (toggle_entries): Set sidebar default value to
5309 2004-12-23 Adam Weinberger <adamw@gnome.org>
5311 * configure.ac: Added en_CA to ALL_LINGUAS.
5313 2004-12-23 Martin Kretzschmar <martink@gnome.org>
5315 * ChangeLog: replace bottom of this ChangeLog (merged history of
5316 ggv and gpdf; where all paths were wrong and most of the files are
5317 not even in this tree) with ChangeLog (from arch) of the shell
5320 2004-12-23 Havoc Pennington <hp@redhat.com>
5322 * shell/ev-window.c: hook up potentially-questionable "find
5323 results status text" feature - something involving the sidebar or
5324 scrollbar or a continuous all-pages-on-giant-roll-of-paper-view
5325 might be better in the end.
5327 * shell/ev-view.c (ev_view_get_find_status_message): new function,
5328 with corresponding signal when it should be updated
5330 * shell/eggfindbar.c (egg_find_bar_set_status_text): new function
5332 2004-12-22 Havoc Pennington <hp@redhat.com>
5334 * pdf/xpdf/pdf-document.cc (pdf_document_find_begin): make search
5335 find stuff on other pages, sort of (only returns one result on
5336 invisible pages, to show they have results; updates full results
5337 for a page when you view it). Currently repaints the current page
5338 every time a new result is found on any page, which isn't so nice.
5340 2004-12-22 Havoc Pennington <hp@redhat.com>
5342 * shell/ev-window.c (ev_window_cmd_edit_find): display an error if
5343 the document doesn't support find (better ideas?)
5344 (find_bar_search_changed_cb): handle missing document or document
5345 that doesn't support find
5347 * pdf/xpdf/pdf-document.cc: port to implement the new
5350 * backend/ev-document-find.c: create a new interface for searching
5352 * backend/ev-document.h, backend/ev-document.c: delete the find stuff
5354 2004-12-23 Martin Kretzschmar <martink@gnome.org>
5356 * pdf/xpdf/Makefile.am (libpdfdocument_la_LIBADD): add
5359 * shell/ev-window.c (ev_window_print): add GnomePrintJob to
5360 EvPrintJob constructor arguments.
5362 * backend/ev-ps-exporter.c, backend/ev-ps-exporter.h: interface
5363 for documents that can export PostScript (page by page).
5365 * backend/Makefile.am (libevbackend_la_SOURCES): add them.
5367 * pdf/xpdf/pdf-document.cc (pdf_document_ps_export_begin)
5368 (pdf_document_ps_export_do_page, pdf_document_ps_export_end)
5369 (pdf_document_ps_exporter_iface_init:
5370 Implement EvPSExporter.
5372 * pdf/xpdf/Makefile.am (libxpdf_la_SOURCES): build PSOutputDev.
5374 2004-12-22 Anders Carlsson <andersca@gnome.org>
5376 * backend/Makefile.am:
5377 * backend/ev-document-thumbnails.c:
5378 (ev_document_thumbnails_get_type),
5379 (ev_document_thumbnails_get_thumbnail):
5380 * backend/ev-document-thumbnails.h:
5381 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
5382 (pixbuf_document_thumbnails_get_thumbnail),
5383 (pixbuf_document_document_thumbnails_iface_init):
5384 * shell/Makefile.am:
5385 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_destroy),
5386 (ev_sidebar_thumbnails_class_init), (ev_sidebar_thumbnails_init),
5387 (populate_thumbnails), (ev_sidebar_thumbnails_set_document):
5388 * shell/ev-sidebar-thumbnails.h:
5389 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
5390 (ev_sidebar_set_document):
5391 * shell/ev-utils.c: (gaussian), (create_blur_filter),
5392 (create_shadow), (ev_pixbuf_add_shadow):
5394 Add thumbnail support.
5396 2004-12-22 Martin Kretzschmar <martink@gnome.org>
5398 * shell/ev-window.c (ev_window_cmd_file_print, ev_window_print)
5399 (using_postscript_printer): Set up a print dialog for "PostScript
5402 * shell/ev-print-job.h, shell/ev-print-job.c: stub classes for
5405 * shell/Makefile.am (evince_SOURCES): add ev-print-job.[ch]
5407 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
5409 * ps/gtkgs.c: (gtk_gs_init), (set_up_page),
5410 (ps_document_set_target), (ps_document_get_page_size),
5411 (ps_document_render):
5416 2004-12-22 Christian Rose <menthos@menthos.com>
5418 * configure.ac: Added "sv" to ALL_LINGUAS.
5420 Wed Dec 22 14:47:38 2004 Jonathan Blandford <jrb@redhat.com>
5422 * backend/ev-document-bookmarks.[ch]: new interface to indicate
5423 document supports bookmarks.
5425 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
5427 * ps/ggvutils.c: (ggv_file_readable):
5429 * ps/gtkgs.c: (check_filecompressed), (check_pdf),
5430 (gtk_gs_get_postscript):
5434 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
5436 * ps/gtkgs.c: (gtk_gs_init), (gtk_gs_class_init), (gtk_gs_cleanup),
5437 (gtk_gs_finalize), (gtk_gs_set_center), (set_up_page), (output),
5438 (start_interpreter), (compute_size), (gtk_gs_enable_interpreter),
5439 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_reload),
5440 (gtk_gs_emit_error_msg), (gtk_gs_disable_interpreter),
5441 (gtk_gs_load), (gtk_gs_goto_page), (gtk_gs_set_page_size),
5442 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
5443 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
5444 (gtk_gs_set_antialiasing), (ps_document_load),
5445 (ps_document_render):
5448 Another check point for the ps backend. Now I can get it to show
5451 Wed Dec 22 13:41:01 2004 Jonathan Blandford <jrb@redhat.com>
5453 * shell/ev-sidebar.c (ev_sidebar_set_document): initial sidebar
5454 document setting code.
5456 2004-12-22 Anders Carlsson <andersca@gnome.org>
5458 * shell/eggfindbar.c: (entry_activate_callback):
5459 Animate the next button when activate is pressed.
5461 2004-12-22 Anders Carlsson <andersca@gnome.org>
5463 * shell/ev-window.c: (ev_window_cmd_edit_find),
5464 (update_fullscreen_popup), (ev_window_fullscreen),
5465 (ev_window_unfullscreen), (ev_window_state_event_cb),
5466 (ev_window_focus_out_cb), (find_bar_close_cb), (ev_window_init):
5467 Fix bugs in fullscreen code.
5469 2004-12-22 Anders Carlsson <andersca@gnome.org>
5473 * pixbuf/Makefile.am:
5474 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
5475 (pixbuf_document_load), (pixbuf_document_get_n_pages),
5476 (pixbuf_document_set_page), (pixbuf_document_get_page),
5477 (pixbuf_document_set_target), (pixbuf_document_set_scale),
5478 (pixbuf_document_set_page_offset), (pixbuf_document_get_page_size),
5479 (pixbuf_document_render), (pixbuf_document_begin_find),
5480 (pixbuf_document_end_find), (pixbuf_document_finalize),
5481 (pixbuf_document_class_init),
5482 (pixbuf_document_document_iface_init), (pixbuf_document_init):
5483 * pixbuf/pixbuf-document.h:
5484 * shell/Makefile.am:
5485 * shell/ev-application.c: (ev_application_open):
5486 * shell/ev-window.c: (mime_type_supported_by_gdk_pixbuf),
5490 Tue Dec 21 21:45:43 2004 Soeren Sandmann <sandmann@redhat.com>
5493 * dvi/dvilib/Makefile.am:
5495 * configure.ac: Auto*ify dvi and dvi/dvilib
5497 * dvi/Makefile: Remove from CVS
5499 * dvi/dvilib/dl-pkfont.cc (unpack_bitmap): Fix uchar/uint
5502 * dvi/dvilib/dl-fontdefinition.{cc,hh}: New DviFontMap class
5504 * dvi/dvilib/dl-vffont.{cc,hh}: Many bugfixes to VF code.
5506 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
5509 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_finalize),
5510 (gtk_gs_value_adjustment_changed), (compute_size),
5511 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_new_from_file),
5512 (gtk_gs_center_page), (gtk_gs_load), (gtk_gs_set_page_size),
5513 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
5514 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
5515 (gtk_gs_start_scroll), (gtk_gs_get_postscript),
5516 (gtk_gs_set_adjustments), (gtk_gs_set_available_size),
5517 (ps_document_load), (ps_document_get_n_pages),
5518 (ps_document_set_page), (ps_document_get_page),
5519 (ps_document_set_target), (ps_document_set_scale),
5520 (ps_document_set_page_offset), (ps_document_get_page_size),
5521 (ps_document_render), (ps_document_begin_find),
5522 (ps_document_end_find), (ps_document_document_iface_init):
5524 * shell/Makefile.am:
5525 * shell/ev-window.c: (ev_window_open):
5527 Some work to integrate gtkgs with EvDocument
5529 2004-12-22 Anders Carlsson <andersca@gnome.org>
5531 * shell/ev-window.c: (update_fullscreen_popup),
5532 (screen_size_changed_cb), (destroy_exit_fullscreen_popup),
5533 (exit_fullscreen_button_clicked_cb),
5534 (fullscreen_popup_size_request_cb), (ev_window_fullscreen),
5535 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
5536 (ev_window_state_event_cb), (ev_window_init):
5537 Add fullscreen support from Epiphany.
5539 2004-12-22 Mark McLoughlin <mark@skynet.ie>
5541 * data/ev-stock-zoom-fit-width.png: fit-width
5542 stock icon from gpdf.
5544 * shell/ev-stock-icons.[ch]: copied from gpdf.
5546 * shell/main.c: (main): init stock icons.
5548 * shell/ev-window.c: use the fit-width icon.
5550 * data/evince-ui.xml: add zooming toolbar items.
5552 2004-12-22 Mark McLoughlin <mark@skynet.ie>
5555 (ev_view_best_fit), (ev_view_fit_width): because
5556 get_page_size() returns the scaled page size, we
5557 need to calculate the scale factor relative to
5558 the previous scale factor. Should really just
5559 add get_real_page_size().
5561 2004-12-22 Mark McLoughlin <mark@skynet.ie>
5563 * shell/ev-view.[ch]:
5564 (ev_view_zoom), (ev_view_zoom_in), (ev_view_zoom_out),
5565 (ev_view_normal_size), (ev_view_best_fit), (ev_view_fit_width):
5568 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
5569 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_normal_size),
5570 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width):
5573 * pdf/xpdf/pdf-document.cc:
5574 (pdf_document_begin_find),
5575 (pdf_document_end_find): make static.
5577 2004-12-22 Martin Kretzschmar <martink@gnome.org>
5579 * pdf/xpdf/GlobalParams.h (setupBaseFontsFc): add prototype.
5581 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): maps base font
5582 names to fontconfig patterns.
5583 (setupBaseFontsFc): setupBaseFonts reimplemented using fontconfig.
5585 * pdf/xpdf/pdf-document.cc (pdf_document_load): use
5588 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
5604 Import ggv backend. Not hooked up yet.
5606 2004-12-22 Mark McLoughlin <mark@skynet.ie>
5608 * shell/main.c: (load_files), (main): load files
5609 from the command line.
5611 2004-12-22 Mark McLoughlin <mark@skynet.ie>
5613 * configure.ac: don't require bonobo.
5615 * cut-n-paste/recent-files/*: kill bonobo recent
5618 * shell/ev-window.c:
5619 (ev_window_is_empty): upd.
5620 (unable_to_load), (ev_window_open): load backend
5621 based on the mime type.
5623 2004-12-22 Martin Kretzschmar <martink@gnome.org>
5625 * backend/.cvsignore: ignore generated marshalers source.
5627 * shell/main.c (main): this is not epiphany.
5629 2004-12-22 Havoc Pennington <hp@redhat.com>
5631 * shell/ev-view.c (ev_view_set_document): connect to "found" signal
5632 (expose_bin_window): draw find highlights
5634 * shell/ev-window.c (find_bar_search_changed_cb): implement
5636 * pdf/xpdf/pdf-document.cc (pdf_document_begin_find)
5637 (pdf_document_end_find): implement this interface
5639 * backend/ev-document.c (ev_document_found): add this to emit
5642 Tue Dec 21 23:57:37 2004 Owen Taylor <otaylor@redhat.com>
5644 * data/evince-ui.xml: Add a few more toolbar items.
5646 * shell/ev-window.c: Hook up page navigation toolbar
5649 * shell/ev-view.[ch]: add ev_view_set/get_page and
5650 a page-changed signal.
5652 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc::
5653 Add ev_document_get_page().
5655 * shell/ev-window.c: Sensitize/desensitize navigation
5658 2004-12-21 Havoc Pennington <hp@redhat.com>
5660 * backend/ev-backend-marshal.c,
5661 backend/ev-backend-marshalers.list, backend/Makefile.am: add
5662 marshaler-generator thingy. I'm sure there's a better way to do
5663 this in the modern world.
5665 * backend/ev-document.h (struct _EvDocumentIface): add begin_find,
5666 end_find methods and "found" signal.
5668 * configure.ac: find glib-genmarshal
5670 Tue Dec 21 23:20:35 2004 Jonathan Blandford <jrb@redhat.com>
5672 * shell/ev-sidebar.c: Construct an actual sidebar.
5673 * shell/ev-sidebar-bookmarks.[ch]:
5674 * shell/ev-sidebar-thumbnails.[ch]: Stub out sidebars.
5676 Tue Dec 21 23:05:51 2004 Owen Taylor <otaylor@redhat.com>
5678 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc:
5681 * shell/ev-view.c: Track the size from the document.
5683 Tue Dec 21 22:17:04 2004 Owen Taylor <otaylor@redhat.com>
5685 * pdf/xpdf/pdf-document.cc (pdf_document_load): PDFDoc
5686 constructor assumes ownership of the string passed in.
5688 * shell/ev-window.c (ev_window_open): Destroy the error
5689 dialog once we've displayed it.
5691 Tue Dec 21 21:58:56 2004 Owen Taylor <otaylor@redhat.com>
5693 * pdf/xpdf/pdf-document.cc shell/ev-view.c: Hook things up
5694 a bit, it works! (sort of)
5696 * pdf/xpdf/Makefile.am pdf/xpdf/pdf-document.cc:
5697 Move to .cc since we need to use C++ in the implementation.
5699 * shell/dummy.cc: Add a CC file to force evince
5700 to be linked as a C++ program.
5702 Tue Dec 21 21:07:55 2004 Owen Taylor <otaylor@redhat.com>
5704 * shell/ev-view.[ch]: Start of content-area widget.
5706 * shell/ev-window.c: Create a EvView, update it
5707 as we change documents.
5709 * shell/Makefile.am shell/ev-marshal.list: Add
5710 generated marshalers.
5712 Tue Dec 21 20:28:11 2004 Jonathan Blandford <jrb@redhat.com>
5714 * Makefile.am (SUBDIRS): move shell.
5716 Tue Dec 21 19:28:55 2004 Owen Taylor <otaylor@redhat.com>
5718 * pdf/{goo,fofi,splash,xpdf}/Makefile.am: Switch from
5719 .a to libtool convenience libraries.
5721 * shell/ev-window.c (ev_window_open): Hard code loading
5724 * backend/ev-document.h: Add a boolean return to load(),
5725 fix GError * to GError **.
5727 * pdf/xpdf/pdf-document.[ch] Makefile.am: Add a stub
5728 object for a PDF backend EvDocument.
5730 Tue Dec 21 18:55:06 2004 Søren Sandmann <sandmann@redhat.com>
5732 * dvi/*: New directory with the beginning of a .dvi backend.
5734 2004-12-21 Havoc Pennington <hp@redhat.com>
5736 * shell/eggfindbar.c (egg_find_bar_init): change buttons to
5737 previous/next instead of back/forward
5739 Tue Dec 21 18:26:24 2004 Owen Taylor <otaylor@redhat.com>
5741 * backend/ev-document.[ch]: Fix a couple of problems so
5744 Tue Dec 21 18:20:40 2004 Owen Taylor <otaylor@redhat.com>
5746 * viewer/* backend/* configure.ac Makefile.am: Move viewer directory
5747 to backend/ directory, rename EvViewer to EvDocument.
5749 2004-12-21 Havoc Pennington <hp@redhat.com>
5751 * shell/ev-window.c: hook up the find bar widget; now we just need
5752 a document to find things in
5754 * shell/eggfindbar.c: a find bar widget
5756 Tue Dec 21 17:20:16 2004 Jonathan Blandford <jrb@redhat.com>
5758 * shell/ev-sidebar.[ch]: initial sidebar boilerplate.
5760 Tue Dec 21 16:30:58 2004 Owen Taylor <otaylor@redhat.com>
5762 * pdf/**: Import of xpdf code from gpdf.
5764 * pdf/xpdf/xpdfconfig.h: Move the non-config.h config.h to xpdfconfig.h
5766 * pdf/splash/SplashFTFont.{cc,h} pdf/splash/SplashFTFont.h
5767 pdf/splash/SplashFTFontEngine.h pdf/splash/SplashFTFontFile.h:
5768 Fix FreeType includes.
5770 * pdf/xpdf/{Error.h GnomeVFSStream.cc ImageOutputDev.cc PDFDoc.cc\
5771 pdffonts.cc pdfimages.cc pdfinfo.cc pdftoppm.cc pdftops.cc
5772 pdftotext.cc PSOutputDev.cc PSOutputDev.h SplashOutputDev.h
5773 Stream.cc TextOutputDev.cc XPDFApp.cc xpdf.cc XPDFViewer.cc
5774 pdf/xpdf/Error.h PSOutputDev.h SplashOutputDev.h}:
5775 Include xpdfconfig.h
5777 Tue Dec 21 16:08:17 2004 Jonathan Blandford <jrb@redhat.com>
5779 * shell/ev-window.c (ev_window_dispose): dispose can be called
5782 2004-12-21 Havoc Pennington <hp@redhat.com>
5784 * shell/ev-window.c (ev_window_init): set title to Document Viewer
5787 * data/evince-ui.xml, shell/ev-window.c: add a bunch of stub menu
5788 items; really they should be synced with the strings, etc. from
5789 current gpdf, but just getting the boring typing out of the way
5791 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
5794 * shell/ev-application.c: (window_destroy_cb):
5795 * shell/ev-window.c:
5796 * shell/main.c: (main):
5798 Actually show the window...
5800 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
5803 * shell/Makefile.am:
5804 * shell/ev-application.c: (ev_application_class_init):
5805 * shell/ev-window.c: (ev_window_dispose), (ev_window_class_init):
5809 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
5811 Import to gnome cvs.
5813 * Remove copies of gpdf and ggv trees.
5814 * Rip out all the recursive configure code.
5815 * Remove bonobo machinery.
5816 * viewer/*: GInterfaces that backends should/can implement.
5818 2004-11-09 Martin Kretzschmar <m_kretzschmar@gmx.net>
5820 * shell/ev-window.c (ev_window_cmd_help_about): fix "documentors"
5823 2004-10-28 Martin Kretzschmar <m_kretzschmar@gmx.net>
5825 * shell/ev-application.c (EV_APPLICATION_GET_PRIVATE)
5826 (ev_application_finalize, ev_application_class_init)
5827 (ev_application_init): use GType instance private data for priv.
5829 * shell/ev-window.c (EV_WINDOW_GET_PRIVATE)
5830 (ev_window_finalize, ev_window_class_init)
5831 (ev_window_init): ditto.
5833 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
5835 * shell/ev-application.c (ev_application_new_window): make public
5836 (ev_application_show_initial_window): kill.
5838 * shell/ev-application.h: update prototypes.
5840 * shell/main.cc (main): inline ev_application_show_initial_window.
5842 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
5844 * shell/ev-application.c (ev_application_new_window): impl.
5845 (ev_application_show_initial_window): use it.
5846 (is_window_empty, ev_application_get_empty_window): returns an
5847 existing empty window or a new one.
5848 (ev_application_open): from ev_window_cmd_file_open.
5850 * shell/ev-application.h: update prototypes
5852 * shell/ev-window.c (ev_window_is_empty): impl.
5853 (ev_window_open): make public.
5854 (ev_window_cmd_file_open): use ev_application_open
5856 * shell/ev-window.h: update prototypes, remove unused.
5858 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
5860 * shell/ev-window.c (ev_window_destroy, ev_window_class_init):
5861 move destroy handler out of here...
5863 * shell/ev-application.c, shell/ev-application.h: ...into this new
5864 class. Also handles initial window creation.
5866 * shell/main.cc (main): use EvApplication to create initial
5869 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
5871 * Makefile.am (SUBDIRS): add cut-n-paste
5873 * cut-n-paste/Makefile.am: add
5875 * configure.ac: generate Makefiles in cut-n-paste
5877 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
5879 * shell/ev-window.c (ev_window_dispose): new, unref the ui_manager
5880 (ev_window_class_init): install ev_window_dispose.
5882 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
5884 * shell/ev-window.h, shell/ev-window.c: replace gchar with
5885 char (gchar looks stupid).
5887 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
5889 * po/de.po: updated German translation.
5891 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
5893 * configure.ac: add more pkg-config library checks for gnome-vfs,
5896 * gpdf/configure.in: temporarily disable libpaper
5897 checks. Otherwise I'd have to add the checks for the shell, too.
5899 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
5901 * shell/ev-window.c (ev_window_cmd_file_open): add ps+pdf, ps, pdf
5902 and * file filters to the file choose.
5904 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
5906 * po/de.po: Updated German translation.
5908 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
5910 * shell/ev-window.c: use "S" as mnemonic for Statusbar.
5912 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
5914 * data/evince-ui.xml: add View->Toolbar and View->Statusbar.
5916 * shell/ev-window.c (menu_item_select_cb, menu_item_select_cb)
5917 (ev_window_init): implement those menuitems.
5919 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
5921 * data/evince-ui.xml: add a toolbar (with FileOpen action)
5923 * shell/ev-window.c (ev_window_init): use the toolbar.
5925 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
5927 * shell/ev-window.c (ev_window_init): use menu translations
5929 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
5931 * configure.ac: add "de" to ALL_LINGUAS.
5933 * po/de.po: add German translation.
5935 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
5937 * Makefile.am (SUBDIRS): add po
5939 * configure.ac: check intltool, glib-gettext etc, generate
5942 * po, po/POTFILES.in, po/POTFILES.skip: new.
5944 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
5946 * shell/Makefile.am (INCLUDES): define GNOMELOCALEDIR which we
5947 already use (#ifdef ENABLE_NLS)
5949 * shell/ev-window.c (ev_window_cmd_help_about): fix two star
5950 pointer indirection thinko.
5952 * shell/main.c: include gi18n.h for bindtextdomain etc.
5954 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5956 * shell/ev-window.c (menu_item_select_cb, menu_item_deselect_cb)
5957 (connect_proxy_cb, disconnect_proxy_cb, ev_window_init): show
5958 tooltips for menu items in the statusbar.
5960 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5962 * configure.ac, data/Makefile.am, shell/Makefile.am: use
5963 pkgdatadir drop UIDIR
5965 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5967 * data/evince-ui.xml: Add File->Open menu item
5969 * shell/ev-window.c (ev_window_cmd_file_open): impl. (shows a file
5970 chooser), hook it up in the ui manager.
5972 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5974 * shell/ev-window.c: fix Help->About tooltip.
5976 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5978 * configure.ac: set CFLAGS for libevprivate.
5980 * lib/ev-stock-icons.h, lib/ev-stock-icons.c: stock icon
5981 definitions, factory etc.
5983 * lib/Makefile.am: build libevprivate.a (only stock icon code).
5985 * shell/Makefile.am: link against libevprivate.a.
5987 * shell/ev-window.c (entries): add stock icon to Help->About.
5989 * shell/main.c (main): init stock icon code.
5991 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5993 * lib/recent-files: egg recent files code
5995 * lib/Makefile.am: add.
5997 * Makefile.am: add lib subdir.
5999 * configure.ac: gen. lib/Makefile and lib/recent-files/Makefile,
6000 set CFLAGS for recent-files.
6002 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6004 * configure.ac: disable -ansi and -pedantic gcc flags. They
6005 disable POSIX stuff in stdio.h, but egg-recent uses them.
6007 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6009 * configure.ac: add --disable-deprecated flag (defaults to on in
6012 * shell/Makefile.am (INCLUDES): use it.
6014 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6016 * shell/main.c: add missing #include.
6018 * shell/ev-window.c: fix for pedantic gcc.
6019 (ev_window_cmd_help_about): split license into paragraphs for
6020 translators and pedantic compilers.
6022 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6024 * configure.ac: add more warning flags if compiling with gcc from
6025 cvs (or explicitly requested with --enable-more-warnings).
6027 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6029 * data/evince-ui.xml: add File and File->Close menu.
6031 * shell/ev-window.c (ev_window_cmd_file_close_window): impl.
6032 (ev_window_destroy): quit after destroy.
6033 (ev_window_class_init): override GtkObject::destroy.
6034 (entries): install close_window callback.
6036 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6038 * Makefile.am (SUBDIRS): add data subdir.
6040 * configure.ac (UIDIR): gen data/Makefile, define UIDIR. Require
6041 gtk+ 2.5.0 for GtkAboutDialog.
6043 * data/Makefile.am, data/evince-ui.xml: add, ui definition for the
6046 * shell/Makefile.am (INCLUDES): propagate UIDIR definition.
6048 * shell/ev-window.c (ev_window_init): create a menubar, using a ui
6050 (ev_window_cmd_help_about): about command, using GtkAboutDialog.
6052 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6054 * shell/ev-window.c, shell/ev-window.h: Created an EvWindow class.
6056 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
6058 * shell/main.c: make it a trivial gtk+ program, adjust configure.ac
6060 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
6062 * shell/*: Added shell directory boilerplate, build it.
6064 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
6066 * configure.ac, Makefile.am: Added top-level configure.ac and