1 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
3 * shell/ev-application.c: (ev_application_init):
5 Let tbe check file existence for us.
6 Add a comment about eggrecent mime filter.
8 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
11 * shell/ev-application.c: (ev_application_shutdown),
12 (ev_application_init), (ev_application_get_toolbars_model),
13 (ev_application_get_recent_model),
14 (ev_application_save_toolbars_model):
15 * shell/ev-application.h:
16 * shell/ev-window.c: (ev_window_add_recent),
17 (ev_window_setup_recent), (ev_window_cmd_edit_toolbar_cb),
18 (ev_window_cmd_edit_toolbar), (ev_window_dispose),
21 Use common toolbar and recent models for all windows.
22 Patch by Nickolay V. Shmyrev <nshmyrev@yandex.ru>
24 Thu Jul 7 23:10:01 2005 Jonathan Blandford <jrb@redhat.com>
26 * configure.ac: add FRONTEND_CORE_LIBS to evince_save_LIBS so we
27 successfully check for gtk_icon_view_get_visible_range.
29 2005-07-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
34 Fix djvu and dvi backend build.
36 2005-07-07 Christian Persch <chpe@cvs.gnome.org>
38 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c: (new_pixbuf_from_widget),
39 (new_separator_pixbuf):
43 2005-07-07 Christian Persch <chpe@cvs.gnome.org>
45 * shell/ev-window.c: (ev_window_cmd_edit_toolbar):
47 HIGification of toolbar editor dialogue.
49 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
54 Ever build metadata manager since it's just
55 disabled at runtime now.
57 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
59 * shell/ev-metadata-manager.c: (ev_metadata_manager_init),
60 (ev_metadata_manager_get), (ev_metadata_manager_set):
61 * shell/ev-metadata-manager.h:
63 Add an _init functions that enabled metadata management
66 * shell/ev-window.c: (page_changed_cb),
67 (setup_document_from_metadata), (ev_window_setup_document),
68 (setup_view_from_metadata), (ev_window_open_uri),
69 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
70 (ev_window_run_presentation), (ev_window_stop_presentation),
71 (save_sizing_mode), (ev_window_zoom_changed_cb),
72 (ev_window_continuous_changed_cb),
73 (ev_window_dual_mode_changed_cb), (window_state_event_cb),
74 (window_configure_event_cb):
76 Remove all ugly metadata define since we deal with it
79 * shell/main.c: (load_files_remote), (main):
81 Add support for dbus cvs head. Hopefully didnt break one
82 of the other versions now!
84 If we dont get a response from the dbus server just
85 give up with it and not enable metadata.
87 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
90 * backend/Makefile.am:
92 * cut-n-paste/recent-files/Makefile.am:
93 * cut-n-paste/toolbar-editor/Makefile.am:
94 * cut-n-paste/zoom-control/Makefile.am:
98 * properties/Makefile.am:
101 * thumbnailer/Makefile.am:
104 Make frontends depend on just libev.
105 Rework and group CFLAGS/LIBS definitions.
108 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
112 do not unnecessarily save zoom
115 * lib/ev-file-helpers.c: (ev_dot_dir):
121 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
125 Remove unnecessary dependencies
127 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
129 * properties/Makefile.am:
130 * thumbnailer/Makefile.am:
133 Some more cleanups. Was really necessary
134 but I probably introduced bugs, feel free
137 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
139 * backend/Makefile.am:
141 * cut-n-paste/recent-files/Makefile.am:
142 * cut-n-paste/toolbar-editor/Makefile.am:
143 * cut-n-paste/zoom-control/Makefile.am:
146 * pixbuf/Makefile.am:
147 * properties/Makefile.am:
150 * thumbnailer/Makefile.am:
153 Use gnome-common macros when possible.
154 Cleanup dependencies.
155 Actually disable deprecated where possible.
157 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
160 * backend/Makefile.am:
161 * properties/Makefile.am:
163 * thumbnailer/Makefile.am:
165 This should solve the circular dep without
168 * shell/ev-window.c: (setup_view_from_metadata):
170 Never restore window size/position when the
171 window is already visible.
173 2005-07-06 Christian Persch <chpe@cvs.gnome.org>
175 * shell/ev-metadata-manager.c: (ev_metadata_manager_save):
177 Return a boolean from timeout func. Fix ported from gedit.
179 2005-07-07 Iñaki Larrañaga <dooteo@euskalgnu.org>
181 * configure.ac: Added "eu" (Basque) to ALL_LINGUAS.
183 2005-07-06 Carlos Garcia Campos <carlosgc@gnome.org>
185 * shell/ev-document-types.c: set "All Documents" as default filter in
188 2005-07-06 Martin Kretzschmar <martink@gnome.org>
190 * shell/ev-metadata-manager.c (ev_metadata_manager_set_int)
191 (ev_metadata_manager_set_double, ev_metadata_manager_set_string)
192 (ev_metadata_manager_set_boolean): fix value/val thinko.
194 2005-07-06 Marco Pesenti Gritti <mpg@redhat.com>
196 * shell/ev-window.c: (setup_view_from_metadata),
197 (window_state_event_cb), (window_configure_event_cb),
200 Remember window position and maximized state
202 2005-07-06 Christian Persch <chpe@cvs.gnome.org>
206 Fix DBUS configure checks.
208 * shell/ev-metadata-manager.c: (ev_metadata_manager_set_int),
209 (ev_metadata_manager_set_double), (ev_metadata_manager_set_string),
210 (ev_metadata_manager_set_boolean):
214 * shell/ev-window.c: (page_changed_cb), (ev_window_run_fullscreen),
215 (ev_window_stop_fullscreen), (ev_window_run_presentation),
216 (ev_window_stop_presentation), (ev_window_zoom_changed_cb),
217 (ev_window_continuous_changed_cb),
218 (ev_window_dual_mode_changed_cb), (ev_window_new):
220 Fix the build without DBUS.
222 2005-07-06 Marco Pesenti Gritti <mpg@redhat.com>
224 * shell/ev-metadata-manager.c: (parse_value), (save_values),
225 (ev_metadata_manager_set_int), (ev_metadata_manager_set_double),
226 (ev_metadata_manager_set_string),
227 (ev_metadata_manager_set_boolean):
228 * shell/ev-metadata-manager.h:
230 Add support for some more types
232 * shell/ev-view.c: (scroll_to_current_page),
233 (ev_view_get_continuous), (ev_view_set_continuous),
234 (ev_view_get_dual_page):
236 * shell/ev-window.c: (page_changed_cb),
237 (setup_document_from_metadata), (ev_window_setup_document),
238 (setup_view_from_metadata), (ev_window_open_uri),
239 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
240 (ev_window_run_presentation), (ev_window_stop_presentation),
241 (save_sizing_mode), (ev_window_sizing_mode_changed_cb),
242 (ev_window_zoom_changed_cb), (ev_window_update_continuous_action),
243 (ev_window_update_dual_page_action),
244 (ev_window_continuous_changed_cb),
245 (ev_window_dual_mode_changed_cb), (ev_window_init):
247 Remember a bunch of view/document properties. Prolly some
248 are still missing but it's getting interesting.
250 2005-07-05 Martin Kretzschmar <martink@gnome.org>
252 * configure.ac: check if dbus-binding-tool is installed. Not the
253 case on current Ubuntu breezy, it seems.
255 2005-07-05 Luca Ferretti <elle.uca@libero.it>
257 * data/evince.desktop.in.in:
259 Allow open uri lists and add TryExec field.
261 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
265 Enable dbus when available, do not require a configure
268 2005-07-05 Christian Persch <chpe@cvs.gnome.org>
272 Use AM_CONDITIONAL unconditionally, fixes the build with DBUS
275 2005-07-05 Carlos Garcia Campos <carlosgc@gnome.org>
276 Marco Pesenti Gritti <mpg@redhat.com>
278 * shell/Makefile.am: Add --prefix for dbus-binding-tool script
280 * shell/ev-application.[ch], shell/ev-window.c: change dbus RPC
281 functions to the format required by dbus
283 * shell/main.c: use G_TYPE instead of DBUS_TYPE to fix compilation
284 errors. Use the RPC parameters in the expected way
286 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
289 * properties/Makefile.am:
290 * properties/ev-properties-main.c: (ev_properties_get_pages):
292 Support all mime types
295 * thumbnailer/Makefile.am:
296 * thumbnailer/evince-thumbnailer.c: (get_document_from_uri),
297 (evince_thumbnail_pngenc_get):
299 Use the document factory
301 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
303 * backend/Makefile.am:
304 * backend/ev-document-factory.c:
305 (mime_type_supported_by_gdk_pixbuf),
306 (ev_document_type_get_from_mime),
307 (ev_document_factory_get_document),
308 (ev_document_factory_get_backend),
309 (ev_document_factory_get_mime_types),
310 (ev_document_factory_get_all_mime_types):
311 * backend/ev-document-factory.h:
313 * shell/ev-document-types.c: (get_document_from_uri),
314 (ev_document_types_get_document),
315 (file_filter_add_mime_list_and_free),
316 (ev_document_types_add_filters):
317 * shell/ev-document-types.h:
318 * shell/ev-job-xfer.c: (ev_job_xfer_run):
319 * shell/ev-properties-dialog.c:
320 (ev_properties_dialog_set_document):
321 * shell/ev-window.c: (ev_window_cmd_file_open),
322 (ev_window_cmd_save_as):
323 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
325 Rework document types managing to avoid code duplication
326 and actually abstract from backend implementations.
327 Also provide a minimal factory api that can be used by
328 thumbnailer/properties.
330 2005-07-05 Christian Persch <chpe@cvs.gnome.org>
332 * properties/ev-properties-view.c: (ev_properties_view_set_info):
334 * shell/ev-properties-dialog.c: (ev_properties_dialog_init):
337 2005-07-04 Matthew S. Wilson <msw@rpath.com>
339 * shell/ev-properties-dialog.c
340 (ev_properties_dialog_set_document): only call
341 ev_properties_fonts_set_document() if the document implements the
344 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
347 * properties/Makefile.am:
348 * properties/ev-properties-view.c:
349 (ev_properties_view_register_type):
350 * properties/ev-properties-view.h:
351 * properties/ev-properties-main.h:
353 Implement nautilus plugin for properties.
354 Works only for pdf atm, I need to rework the
355 document types stuff to get this to work
358 2005-07-04 Martin Kretzschmar <martink@gnome.org>
360 * shell/ev-properties-fonts.c (enum): kill redundant columns enum
361 (ev_properties_fonts_set_document): use
362 EV_DOCUMENT_FONTS_COLUMN_NUM_COLUMNS.
364 2005-07-04 Matthew S. Wilson <msw@rpath.com>
366 * tiff/tiff2ps.c: remove TRUE and FALSE definitions, glib provides
368 (PlaceImage, tiff2ps_process_page): use
369 g_ascii_dtostr to convert floats to strings in a locale-safe way.
372 2005-07-04 Martin Kretzschmar <martink@gnome.org>
374 * shell/main.c: include libgnomeui/gnome-authentication-manager.h
375 (main): to call gnome_authentication_manager_init. Should fix
378 * configure.ac: that requires libgnomeui 2.6.0.
380 2005-07-04 Matthew S. Wilson <msw@rpath.com>
382 * tiff/tiff-document.c (tiff_document_ps_export_begin)
383 (tiff_document_ps_export_do_page, tiff_document_ps_export_end):
384 use the new tiff2ps interfaces
386 * tiff/tiff2ps.h (tiff2ps_context_new, tiff2ps_process_page)
387 (tiff2ps_context_finalize): implement new interfaces for tiff2ps
389 * tiff/tiff2ps.c: refactor tiff2ps code to use a context
390 structure instead of global variables. Remove use of static
391 variables in functions.
393 2005-07-04 Carlos Garcia Campos <carlosgc@gnome.org>
395 * shell/ev-page-action.c: unref the completion after setting it to the
398 2005-07-04 Matthew S. Wilson <msw@rpath.com>
400 * tiff/tiff2ps.c (generateEPSF): disable generating encapsulated
403 2005-07-04 Matthew S. Wilson <msw@rpath.com>
405 * shell/ev-window.c (update_action_sensitivity): disable
406 File->Print if the document does not implement the ps exporter
409 2005-07-04 Marco Pesenti Gritti <mpg@redhat.com>
413 * data/evince-properties.glade:
414 * properties/.cvsignore:
415 * properties/Makefile.am:
416 * properties/ev-properties-view.c: (ev_properties_view_dispose),
417 (ev_properties_view_class_init), (ev_properties_view_format_date),
418 (make_valid_utf8), (set_property), (ev_properties_view_set_info),
419 (ev_properties_view_init), (ev_properties_view_new):
420 * properties/ev-properties-view.h:
422 * shell/ev-properties-dialog.c: (ev_properties_dialog_class_init),
423 (ev_properties_dialog_init), (ev_properties_dialog_set_document),
424 (ev_properties_dialog_new):
425 * shell/ev-properties-dialog.h:
426 * shell/ev-properties-fonts.c: (ev_properties_fonts_dispose),
427 (ev_properties_fonts_class_init), (ev_properties_fonts_init),
428 (update_progress_label), (job_fonts_finished_cb),
429 (ev_properties_fonts_set_document), (ev_properties_fonts_new):
430 * shell/ev-properties-fonts.h:
431 * shell/ev-properties.c:
432 * shell/ev-properties.h:
433 * shell/ev-window.c: (ev_window_setup_document),
434 (ev_window_cmd_file_properties):
436 Split the properties pages in two different objects, depend
437 only on the backend where possible, use widgets instead
438 of gobject for the glade part, reimplement the dialog
440 I need this to implement nautilus properties page.
442 2005-07-03 Matthew S. Wilson <msw@rpath.com>
444 * tiff/tiff-document.c (tiff_document_ps_export_begin)
445 (tiff_document_ps_export_do_page, tiff_document_ps_export_end)
446 (tiff_document_document_ps_exporter_iface_init): implement the ps
447 exporter interface for tiff documents
449 * tiff/tiff2ps.c: added a modified version of tiff2ps.c from
450 libtiff to implement TIFF postscript export
452 * tiff/tiff2ps.h: added a header file for external tiff2ps
455 * tiff/Makefile.am (libtiffdocument_la_SOURCES): add tiff2ps.c and
458 2005-07-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
460 * shell/ev-view.c: (scroll_to_current_page),
461 (ev_view_set_fullscreen), (ev_view_set_presentation):
463 Scroll to current page when exit from presentation
465 2005-07-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
467 * shell/ev-window.c: (update_document_mode),
468 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
469 (ev_window_cmd_view_fullscreen), (ev_window_stop_presentation),
470 (ev_window_cmd_view_presentation), (ev_window_cmd_escape):
472 Exit from fullscreen mode when switch to presentation. Fix for
475 2005-07-02 Matthew S. Wilson <msw@rpath.com>
477 * shell/ev-pixbuf-cache.c (ev_pixbuf_cache_get_selection_pixbuf):
478 return NULL if the document does not implement the selection
481 2005-07-02 Matthew S. Wilson <msw@rpath.com>
483 * tiff/tiff-document.c (tiff_document_get_page_size): scale the
484 reported height by using the resolution aspect ratio
485 (tiff_document_render_pixbuf): scale the pixbuf using the
486 resolution aspect ratio
488 2005-07-01 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
492 Require libgnomeprint >= 2.5.1. Thanks to Colin Slater
493 <kiltedaco@gmail.com>
495 * djvu/djvu-document.c: (djvu_document_get_orientation),
496 (djvu_document_set_orientation), (djvu_document_get_page_size),
497 (rotate_pixbuf), (djvu_document_render_pixbuf),
498 (djvu_document_document_iface_init):
499 * dvi/dvi-document.c: (dvi_document_get_orientation),
500 (dvi_document_set_orientation), (dvi_document_get_page_size),
501 (rotate_pixbuf), (dvi_document_render_pixbuf),
502 (dvi_document_document_iface_init):
504 Dvi and djvu backends are ported to new API
506 Fri Jul 1 00:10:15 2005 Jonathan Blandford <jrb@redhat.com>
508 * backend/ev-selection.c: (ev_selection_get_selection_region),
509 (ev_selection_get_selection_map):
510 * backend/ev-selection.h:
512 * shell/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
514 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info),
515 (job_finished_cb), (copy_job_to_job_info), (add_job_if_needed),
516 (ev_pixbuf_cache_get_text_mapping):
517 * shell/ev-pixbuf-cache.h:
518 * shell/ev-view.c: (location_in_text),
519 (ev_view_motion_notify_event), (ev_view_set_cursor): Add I-Beam
520 support to EvView. Now we can see where we can select! Sweet!
522 2005-06-30 Kristian Høgsberg <krh@redhat.com>
524 * shell/ev-view.c (ev_view_button_press_event): Fix
525 event->y + view->scroll_x typo.
527 2005-06-30 Kristian Høgsberg <krh@redhat.com>
529 * pdf/ev-poppler.cc: Adjust to poppler API changes; use a
530 sub-GdkPixbuf instead of passing dest_x and dest_y.
532 * shell/ev-view.c: (view_point_to_doc_point),
533 (view_rect_to_doc_rect), (ev_view_button_press_event),
534 (ev_view_motion_notify_event), (compute_new_selection_rect),
535 (gdk_rectangle_point_in), (compute_new_selection_text),
536 (compute_selections): Update selection code to keep the selection
537 around as two points and not as a normalized rectangle, and fix
538 page level selection in two-column mode.
540 2005-06-30 Alex Duggan <aldug@astrolinux.com>
542 * shell/ev-window.c: (window_configure_event_cb):
546 2005-06-30 Marco Pesenti Gritti <mpg@redhat.com>
552 2005-06-30 Marco Pesenti Gritti <mpg@redhat.com>
555 * shell/ev-metadata-manager.c: (item_free),
556 (ev_metadata_manager_init), (ev_metadata_manager_shutdown),
557 (parse_value), (parseItem), (load_values),
558 (ev_metadata_manager_get), (value_free), (ev_metadata_manager_set),
559 (save_values), (save_item), (get_oldest), (resize_items),
560 (ev_metadata_manager_save), (ev_metadata_manager_set_int):
561 * shell/ev-metadata-manager.h:
563 Metadata manager from gedit but modified to use GValue, so that
564 we dont need to keep converting from strings.
568 ENABLE_METADATA conditional, on when dbus is on
570 * shell/ev-application.c: (ev_application_open_uri):
572 Show the window after load so that we can initialize
573 window size before it's showed.
575 * shell/ev-window.c: (ev_window_setup_from_metadata),
576 (ev_window_open_uri), (window_configure_event_cb),
579 Save and load metadata information about window size.
580 Not yet keeping states in account.
582 * shell/main.c: (main):
584 Shutdown metadata manager.
586 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
588 * shell/ev-application-service.xml:
591 * shell/ev-application.c:
592 * shell/ev-application.h:
597 Add an optional dbus interface (--enable-dbus).
598 Rework application code, mainly to be easier to
600 Do not open multiple windows with the same document,
603 Thu Jun 30 01:50:14 2005 Jonathan Blandford <jrb@redhat.com>
605 * shell/ev-pixbuf-cache.c (clear_selection_if_needed): unref the
606 pixbuf iff it exists.
608 Thu Jun 30 01:43:00 2005 Jonathan Blandford <jrb@redhat.com>
611 * backend/ev-render-context.[ch]:
612 * backend/ev-selection.[ch]:
614 Massive changes. We now support text selection of pdfs, and not
615 just rectangular selection. This is pretty broken still, but I
616 want to get something into CVS.
618 2005-06-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
622 Fix for Bug 309080: crash on window close.
624 * shell/ev-page-action.c: (page_changed_cb):
626 Fix for Bug 309168: Fix build with gcc 2.95. Thanks to
627 jensgr@gmx.net (Jens Granseuer).
629 2005-06-25 Marcel Telka <marcel@telka.sk>
631 * configure.in (ALL_LINGUAS): Added sk.
633 2005-06-24 Carlos Garcia Campos <carlosgc@gnome.org>
635 * shell/ev-window.c: Make rotate menu entries unsensitive if there is
638 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
645 * cut-n-paste/recent-files/Makefile.am:
649 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
651 * pixbuf/pixbuf-document.c: (pixbuf_document_get_orientation),
652 (pixbuf_document_set_orientation), (rotate_pixbuf),
653 (pixbuf_document_get_page_size), (pixbuf_document_render_pixbuf),
654 (pixbuf_document_document_iface_init), (pixbuf_document_init):
656 Implement rotation and cleanup the code a bit.
658 * tiff/tiff-document.c: (tiff_document_get_page_size),
659 (tiff_document_get_orientation), (tiff_document_set_orientation),
660 (rotate_pixbuf), (tiff_document_render_pixbuf),
661 (tiff_document_document_iface_init), (tiff_document_init):
663 Implement rotation. Was the quicker solution for the release
664 but we really need to share this code in the shell.
666 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
670 Enable rotation, require poppler cvs. Fix a leak.
672 2005-06-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
674 * shell/ev-window.c: (update_action_sensitivity):
676 Make properties unsensitive if document backend doesn't provide
679 2005-06-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
681 * dvi/mdvi-lib/bitmap.c: (bitmap_alloc), (bitmap_alloc_raw),
682 (bitmap_flip_horizontally), (bitmap_flip_vertically),
683 (bitmap_flip_diagonally), (bitmap_rotate_clockwise),
684 (bitmap_rotate_counter_clockwise), (bitmap_flip_rotate_clockwise),
685 (bitmap_flip_rotate_counter_clockwise):
686 * dvi/mdvi-lib/color.c: (mdvi_push_color), (get_color_table):
687 * dvi/mdvi-lib/common.c: (read_string), (buff_free), (buff_add),
689 * dvi/mdvi-lib/common.h:
690 * dvi/mdvi-lib/dvimisc.c: (mdvi_push_color):
691 * dvi/mdvi-lib/dviread.c: (get_bytes), (dreset), (define_font),
692 (opendvi), (mdvi_reload), (mdvi_init_context),
693 (mdvi_destroy_context), (mdvi_dopage), (special):
694 * dvi/mdvi-lib/font.c: (font_drop_one), (font_free_unused):
695 * dvi/mdvi-lib/fontmap.c: (read_encoding), (destroy_encoding),
696 (file_hash_free), (register_encoding), (parse_spec),
697 (mdvi_load_fontmap), (free_ent), (mdvi_init_fontmaps),
698 (mdvi_add_fontmap_file), (mdvi_ps_read_fontmap),
699 (mdvi_ps_flush_fonts), (mdvi_ps_find_font), (mdvi_ps_get_metrics):
700 * dvi/mdvi-lib/fontsrch.c: (mdvi_list_font_class),
701 (mdvi_register_font_type), (mdvi_unregister_font_type),
702 (lookup_font), (mdvi_add_font), (mdvi_font_retry):
703 * dvi/mdvi-lib/gf.c: (gf_read_bitmap), (gf_load_font):
704 * dvi/mdvi-lib/hash.c: (mdvi_hash_remove), (mdvi_hash_remove_ptr),
705 (mdvi_hash_destroy_key), (mdvi_hash_reset):
706 * dvi/mdvi-lib/pagesel.c: (mdvi_parse_range),
707 (mdvi_parse_page_spec), (mdvi_free_page_spec), (main):
708 * dvi/mdvi-lib/paper.c: (mdvi_free_paper_specs):
709 * dvi/mdvi-lib/pk.c: (pk_lookup), (pk_lookupn), (pk_load_font):
710 * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
711 * dvi/mdvi-lib/special.c: (mdvi_register_special),
712 (mdvi_unregister_special), (mdvi_flush_specials):
713 * dvi/mdvi-lib/t1.c: (t1_lookup_font), (t1_really_load_font),
715 * dvi/mdvi-lib/tfm.c: (get_tfm_chars):
716 * dvi/mdvi-lib/tfmfile.c: (afm_load_file), (tfm_load_file),
717 (ofm1_load_file), (ofm_load_file), (get_font_metrics),
718 (free_font_metrics), (flush_font_metrics):
719 * dvi/mdvi-lib/tt.c: (tt_really_load_font), (tt_get_bitmap),
721 * dvi/mdvi-lib/util.c: (mdvi_malloc), (mdvi_realloc),
722 (mdvi_calloc), (mdvi_free), (mdvi_strdup), (mdvi_strncpy),
723 (mdvi_strndup), (mdvi_memdup), (xstradd), (dstring_append),
724 (dstring_insert), (dstring_new), (dstring_reset):
725 * dvi/mdvi-lib/vf.c: (vf_load_font), (vf_free_macros):
727 Rename xmalloc and xfree to mdvi_malloc and mdvi_free to
728 avoid conflict with libtool on FC4
730 * shell/ev-window.c: (ev_window_cmd_help_about):
732 Update copyright year. Fix for bug 308828.
734 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
736 * shell/ev-view.c: (add_scroll_binding_keypad),
737 (ev_view_binding_activated), (ev_view_class_init),
738 (on_adjustment_value_changed):
740 Bug 170874: Arrow keys switch pages in presentation mode
742 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
744 * shell/ev-window.c: (ev_window_sidebar_visibility_changed_cb):
746 Fix for Bug 308265: Sidebar dissappears coming out of
749 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
751 * shell/ev-application.c: (ev_application_open):
752 * shell/ev-document-types.c: (ev_document_types_add_filters),
753 (ev_document_types_add_filters_for_type):
754 * shell/ev-document-types.h:
755 * shell/ev-window.c: (ev_window_cmd_save_as):
757 Suggest basename as template when saving, provide filters
758 for save dialog. It's bug 308402
760 2005-06-20 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
763 * shell/ev-sidebar-links.c: (job_finished_callback):
764 * shell/ev-view.c: (update_find_status_message):
768 2005-06-19 Christian Persch <chpe@cvs.gnome.org>
770 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
771 (egg_recent_view_uimanager_set_list):
773 Fix buglet in !show_numbers case.
775 2005-06-19 Christian Persch <chpe@cvs.gnome.org>
777 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
778 (connect_proxy_cb), (egg_recent_view_uimanager_set_list):
780 Use pango ellipsisation.
784 Fix refcount leak, from nsh.
786 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
788 * cut-n-paste/recent-files/Makefile.am:
789 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
790 * cut-n-paste/recent-files/egg-recent-view-gtk.h:
792 Removed EggRecentViewGtk
794 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
795 * cut-n-paste/recent-files/egg-recent-view-uimanager.h:
796 * shell/ev-window.c: (ev_window_cmd_recent_file_activate),
797 (ev_window_setup_recent):
799 Use ViewUIManager instead of ViewGtk. Less leaks, more compatibility
802 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
804 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
805 (egg_recent_view_gtk_finalize):
809 * cut-n-paste/toolbar-editor/Makefile.am:
811 Fix location of cursor icon.
814 * shell/ev-page-action.c: (build_new_tree_cb), (match_selected_cb),
815 (display_completion_text), (match_completion):
816 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
817 (selection_changed_callback), (create_loading_model),
818 (print_section_cb), (links_page_num_func),
819 (update_page_callback_foreach):
820 * shell/ev-window.c: (ev_window_dispose):
822 Small memory fixes. Links model now store objects instead
823 of pointers to improve memory management.
825 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
827 * shell/ev-window.c: (zoom_control_changed_cb):
829 Fix update of zoom control (bug 308268).
831 Sat Jun 18 22:46:42 2005 Jonathan Blandford <jrb@redhat.com>
833 * shell/ev-properties.c (set_property): escape the text correctly.
834 Handles non-UTF-8 properties and escaped properties. Also, sets
835 the text to "<i>None</i>" if the property isn't set.
837 * data/evince-properties.glade: Change the label to be ellipsized,
838 and give it a minimum size.
840 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
842 * lib/ev-file-helpers.c: (ev_file_helpers_shutdown):
843 * shell/ev-sidebar-links.c: (create_loading_model):
844 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose):
845 * shell/ev-view.c: (ev_view_set_document):
846 * shell/ev-window.c: (ev_window_dispose):
848 Various small fixes, mostly memory leaks. Thanks to valgrind.
850 2005-06-19 Martin Kretzschmar <martink@gnome.org>
852 * ps/ps-document.c: remove the locale.h include again ;-). And
853 kill the (bogus) setlocale/savelocale business.
855 2005-06-19 Jaap A. Haitsma <jaap@haitsma.org>
859 Include locale.h to fix build
861 * shell/ev-sidebar.c:
863 Remove unnecessary includes
865 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
867 * dvi/dvi-document.c: (dvi_document_load):
868 * dvi/mdvi-lib/dviread.c: (mdvi_init_context):
871 Check for incorrect dvi files. Fix parsing dvi on AMD64
872 platform. Thanks to tester@tester.ca (Olivier Crete).
874 2005-06-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
876 * shell/ev-page-action.c: (match_selected_cb),
877 (display_completion_text), (match_completion), (update_model):
878 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
880 * shell/ev-sidebar.c: (ev_sidebar_destroy),
881 (ev_sidebar_menu_item_activate_cb), (ev_sidebar_add_page),
882 (ev_sidebar_set_document):
883 * shell/ev-window.c: (ev_window_xfer_job_cb),
884 (sidebar_widget_model_set), (sidebar_page_main_widget_update_cb):
886 Fixed lot's of memory leaks, for example, memory leak on reload,
887 described in bug 307793.
889 2005-06-18 Marco Pesenti Gritti <mpg@redhat.com>
892 * shell/ev-sidebar-thumbnails.c: (clear_range), (add_range),
893 (update_visible_range), (adjustment_changed_cb),
894 (ev_sidebar_thumbnails_fill_model),
895 (ev_sidebar_thumbnails_refresh),
896 (ev_sidebar_tree_selection_changed),
897 (ev_sidebar_icon_selection_changed),
898 (ev_sidebar_thumbnails_use_icon_view),
899 (ev_sidebar_thumbnails_set_document):
900 * shell/ev-sidebar-thumbnails.h:
901 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
902 (ev_window_cmd_edit_rotate_right), (ev_window_init):
904 Refresh thumbnails when changing orientation. Not fully
905 working yet becuase of a sidebar bug.
907 Set page orientation to poppler page everywhere. This sucks
908 really need to fix poppler.
910 2005-06-18 Marco Pesenti Gritti <mpg@redhat.com>
912 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
913 (egg_recent_view_gtk_new_menu_item),
914 (egg_recent_view_gtk_set_property),
915 (egg_recent_view_gtk_get_property),
916 (egg_recent_view_gtk_class_init), (egg_recent_view_gtk_init),
917 (egg_recent_view_gtk_set_tooltip_func),
918 (egg_recent_view_gtk_set_label_width),
919 (egg_recent_view_gtk_get_label_width):
920 * cut-n-paste/recent-files/egg-recent-view-gtk.h:
922 Sync with libegg (ellipsize labels)
924 2005-06-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
926 * data/evince-ui.xml:
927 * shell/ev-window.c: (ev_window_cmd_go_forward),
928 (ev_window_cmd_go_backward):
930 Shift + PageUp moves 10 Pages. Fix for 306125
932 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
936 Add a flag to check if orientation has been overriden
938 2005-06-17 Martin Kretzschmar <martink@gnome.org>
940 * ps/ps.c (psscan, psfree): read "Creator:" comment, free creator
943 * ps/ps.h: add creator field to document.
945 * ps/ps-document.c (ps_document_get_info): set format to PostScript,
948 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
950 * data/evince-properties.glade:
951 * shell/ev-properties.c: (ev_properties_set_document):
955 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
957 * shell/ev-properties.c: (ev_properties_set_document):
959 Remove unnecessary translations
961 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
963 * cut-n-paste/toolbar-editor/Makefile.am:
967 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
970 * cut-n-paste/recent-files/egg-recent-model.c:
971 (egg_recent_model_write_raw), (egg_recent_model_lock_file),
972 (egg_recent_model_unlock_file):
973 * cut-n-paste/recent-files/egg-recent-util.c:
974 (egg_recent_util_get_unique_id):
975 * cut-n-paste/recent-files/update-from-egg.sh:
976 * cut-n-paste/toolbar-editor/Makefile.am:
977 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
978 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
979 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
980 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
981 (egg_toolbars_model_get_type):
982 * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
984 Better makefile for toolbar editor and update everything
987 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
989 * shell/ev-window.c: (update_document_mode):
991 Prefer presentation mode when the document
994 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
996 * data/evince-ui.xml:
999 Add control-equal for zooming
1001 2005-06-17 Theppitak Karoonboonyanan <thep@linux.thai.net>
1003 * configure.ac: Added 'th' (Thai) to ALL_LINGUAS.
1005 2005-06-16 Marco Pesenti Gritti <mpg@redhat.com>
1007 * backend/ev-document.c: (ev_document_get_orientation):
1008 * backend/ev-document.h:
1009 * pdf/ev-poppler.cc:
1010 * ps/ps-document.c: (ps_document_get_orientation),
1011 (ps_document_set_orientation), (ps_document_document_iface_init):
1013 Add a get_orientation api. Improve set_orientation.
1015 * data/evince-ui.xml:
1016 * shell/ev-view.c: (ev_view_set_orientation),
1017 (ev_view_rotate_right), (ev_view_rotate_left):
1019 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
1020 (ev_window_cmd_edit_rotate_right):
1022 Better ui for changing document orientation
1024 2005-06-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1026 * shell/ev-sidebar-links.c: (ev_sidebar_links_get_property),
1027 (ev_sidebar_links_class_init), (ev_sidebar_links_get_label):
1028 * shell/ev-sidebar-links.h:
1029 * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
1030 (ev_sidebar_page_iface_init):
1031 * shell/ev-sidebar-page.h:
1032 * shell/ev-sidebar-thumbnails.c:
1033 (ev_sidebar_thumbnails_get_property),
1034 (ev_sidebar_thumbnails_class_init),
1035 (ev_sidebar_thumbnails_set_document):
1036 * shell/ev-sidebar-thumbnails.h:
1037 * shell/ev-view.c: (ev_view_motion_notify_event):
1038 * shell/ev-window.c: (update_chrome_visibility),
1039 (ev_window_cmd_focus_page_selector),
1040 (ev_window_update_fullscreen_popup), (view_actions_focus_in_cb),
1041 (sidebar_page_main_widget_update_cb), (ev_window_init):
1043 Autoraise toolbar on GoToPage binding and fix bindings in
1044 EvSidebarThumbnails page.
1046 2005-06-15 Christian Persch <chpe@cvs.gnome.org>
1048 * shell/ev-properties.c: (update_progress_label):
1050 Hide the progress label when finished; bug #307697.
1052 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
1054 * pdf/ev-poppler.cc:
1056 Enable is_open for links, you will need poppler cvs
1058 * shell/ev-properties.c: (job_fonts_finished_cb):
1060 Get a lock on the document when filling the tree view
1062 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
1064 * backend/ev-document-links.h:
1065 * pdf/ev-poppler.cc:
1066 * shell/ev-sidebar-links.c: (create_loading_model),
1067 (expand_open_links), (job_finished_callback):
1069 Expand links when specified by the document.
1070 Depend on a poppler api (defined out for now)
1072 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
1074 * shell/ev-properties.c: (ev_properties_dispose),
1075 (ev_properties_class_init), (dialog_destroy_cb),
1076 (ev_properties_init), (job_fonts_finished_cb), (setup_fonts_view),
1077 (ev_properties_set_document), (ev_properties_new),
1078 (ev_properties_show):
1079 * shell/ev-properties.h:
1081 Make it an object, cleanup the code, api to show it as transient
1082 and to set the document.
1084 * shell/ev-window.c: (ev_window_setup_document),
1085 (ev_window_cmd_file_properties):
1087 Adapt to EvProperties changes, do not show multiple
1088 times, update it when document changes.
1090 2005-06-14 Marco Pesenti Gritti <mpg@redhat.com>
1093 * ps/ps-document.c: (ps_document_init), (get_page_orientation),
1094 (ps_document_set_orientation), (ps_document_document_iface_init):
1097 Implement orientation here too
1099 * shell/ev-properties.c: (ev_properties_new):
1100 * data/evince-properties.glade:
1102 Hide the fonts page for backends that doesnt
1105 2005-06-14 Marco Pesenti Gritti <mpg@redhat.com>
1107 * backend/ev-document.c: (ev_document_set_orientation):
1108 * backend/ev-document.h:
1109 * pdf/ev-poppler.cc:
1111 Add orientation api. Currently poppler api is not optimal,
1112 we need to set orientation every time we _get a page.
1113 I will try to fix that at some point.
1115 * data/evince-ui.xml:
1116 * shell/ev-window.c: (ev_window_cmd_edit_landscape),
1117 (ev_window_cmd_edit_portrait), (ev_window_cmd_edit_flip):
1119 Add orientation menu items
1121 * shell/ev-page-cache.c: (ev_page_cache_clear):
1122 * shell/ev-page-cache.h:
1124 Add api to clear the cache
1126 * shell/ev-view.c: (setup_caches), (clear_caches),
1127 (ev_view_set_document), (ev_view_zoom_out),
1128 (ev_view_set_orientation):
1131 Implement orientation changing
1133 2005-06-13 Marco Pesenti Gritti <mpg@redhat.com>
1135 * backend/ev-document-fonts.c: (ev_document_fonts_get_progress),
1136 (ev_document_fonts_scan), (ev_document_fonts_fill_model):
1137 * backend/ev-document-fonts.h:
1139 Separate scan and fill so that we can incrementally fill from
1140 the main thread. Add a progress api.
1142 * data/evince-properties.glade:
1143 * pdf/ev-poppler.cc:
1144 * shell/ev-jobs.c: (ev_job_fonts_new), (ev_job_fonts_run):
1146 * shell/ev-properties.c: (update_progress_label),
1147 (job_fonts_finished_cb), (setup_fonts_view):
1149 Incrementally feel the list and show the progress
1150 percentage in a label like acrobat does.
1152 You are going to need poppler cvs
1154 2005-06-11 Marco Pesenti Gritti <mpg@redhat.com>
1156 * backend/ev-document-fonts.c: (ev_document_fonts_fill_model):
1157 * backend/ev-document-fonts.h:
1158 * pdf/ev-poppler.cc:
1160 Make fonts model fill incrementally.
1162 * shell/ev-job-queue.c: (handle_job), (search_for_jobs_unlocked),
1163 (no_jobs_available_unlocked), (ev_job_queue_init), (find_queue),
1164 (ev_job_queue_remove_job):
1165 * shell/ev-jobs.c: (ev_job_fonts_init), (ev_job_fonts_class_init),
1166 (ev_job_fonts_new), (ev_job_fonts_run):
1169 New job for fonts scanning
1171 * shell/ev-properties.c: (job_fonts_finished_cb),
1172 (fill_fonts_treeview), (setup_fonts_view), (ev_properties_new):
1173 * shell/ev-properties.h:
1174 * shell/ev-window.c: (ev_window_cmd_file_properties):
1176 Incrementally feel the treeview using the new job. Show Loading...
1177 message until scanning is completed.
1179 Hopefully I didnt break the build without the poppler patch.
1181 2005-06-10 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1183 * shell/ev-application.c: (ev_application_open):
1184 * shell/ev-document-types.c: (ev_document_type_from_from_mime),
1185 (ev_document_type_get_type), (ev_document_type_lookup):
1186 * shell/ev-document-types.h:
1187 * shell/ev-job-xfer.c: (ev_job_xfer_dispose), (ev_job_xfer_run):
1188 * shell/ev-job-xfer.h:
1189 * shell/ev-window.c: (ev_window_clear_local_uri),
1190 (ev_window_load_job_cb), (ev_window_xfer_job_cb),
1191 (ev_window_open_uri), (ev_window_add_recent), (ev_window_dispose):
1192 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
1194 Transfer remote documents to tmp directory to display them later.
1196 2005-06-10 Marco Pesenti Gritti <mpg@redhat.com>
1198 * backend/ev-document-info.h:
1199 * shell/ev-properties.c: (ev_properties_new):
1201 s/GTime*/GTime. Not sure why we was using a pointer
1204 Wed Jun 8 01:04:22 2005 Jonathan Blandford <jrb@redhat.com>
1206 * shell/ev-sidebar-thumbnails.c: Use a GtkIconView in certain
1207 situations. That situation is that you're using GTK+-HEAD with
1208 the patch at #306726 is applied, and you have a document with <
1209 1500 pages in it. It's not quite as uniformly nice as the
1210 TreeView, but should be better in the long run.
1212 I'm pretty sure I guarded against breaking compilation with
1213 HAVE_GTK_ICON_VIEW_GET_VISIBLE_RANGE gaurds, though it's possible
1216 * shell/ev-window.c (ev_window_init): We don't have our tree/list
1217 widget yet, so I commented that code out
1218 enable_view_actions_for_widget() for now. Need to figure this
1221 * shell/ev-page-action.c (match_selected_cb): emit the right
1222 signals. Our cool C-l completion now works.
1224 2005-06-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1226 * backend/Makefile.am:
1227 * backend/ev-document-fonts.c:
1228 * backend/ev-document-links.c:
1229 * backend/ev-document.c: (ev_document_load):
1230 * backend/ev-document.h:
1231 * backend/ev-job-queue.c:
1232 * backend/ev-job-queue.h:
1233 * backend/ev-jobs.c:
1234 * backend/ev-jobs.h:
1235 * backend/ev-page-cache.c:
1236 * backend/ev-page-cache.h:
1238 EvPageCache and EvJobs are moved to shell.
1240 * lib/ev-file-helpers.c: (ev_file_helpers_shutdown),
1242 * lib/ev-file-helpers.h:
1244 New helper to work with temporary files
1246 * shell/Makefile.am:
1247 * shell/ev-application.c: (ev_application_open):
1248 * shell/ev-application.h:
1249 * shell/ev-job-queue.c: (remove_job_from_queue_locked),
1250 (remove_job_from_async_queue), (add_job_to_async_queue),
1251 (add_job_to_queue_locked), (notify_finished), (job_finished_cb),
1252 (handle_job), (search_for_jobs_unlocked),
1253 (no_jobs_available_unlocked), (ev_render_thread),
1254 (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
1255 (ev_job_queue_add_job), (move_job_async), (move_job),
1256 (ev_job_queue_update_job), (ev_job_queue_remove_job):
1257 * shell/ev-job-queue.h:
1258 * shell/ev-job-xfer.c: (ev_job_xfer_init), (ev_job_xfer_dispose),
1259 (ev_job_xfer_class_init), (ev_job_xfer_new), (ev_job_xfer_run):
1260 * shell/ev-job-xfer.h:
1261 * shell/ev-jobs.c: (ev_job_init), (ev_job_dispose),
1262 (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
1263 (ev_job_links_class_init), (ev_job_render_init),
1264 (ev_job_render_dispose), (ev_job_render_class_init),
1265 (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
1266 (ev_job_thumbnail_class_init), (ev_job_load_init),
1267 (ev_job_load_dispose), (ev_job_load_class_init), (ev_job_finished),
1268 (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
1269 (render_finished_cb), (ev_job_render_run), (ev_job_thumbnail_new),
1270 (ev_job_thumbnail_run), (ev_job_load_new), (ev_job_load_run):
1272 * shell/ev-page-action.c: (ev_page_action_set_document):
1273 * shell/ev-page-cache.c: (ev_page_cache_init),
1274 (ev_page_cache_class_init), (ev_page_cache_finalize),
1275 (ev_page_cache_new), (ev_page_cache_get_n_pages),
1276 (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
1277 (ev_page_cache_set_page_label), (ev_page_cache_set_link),
1278 (ev_page_cache_get_title), (ev_page_cache_get_size),
1279 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
1280 (ev_page_cache_get_height_to_page),
1281 (ev_page_cache_get_max_label_chars),
1282 (ev_page_cache_get_page_label),
1283 (ev_page_cache_has_nonnumeric_page_labels),
1284 (ev_page_cache_get_info), (ev_page_cache_next_page),
1285 (ev_page_cache_prev_page), (ev_page_cache_get):
1286 * shell/ev-page-cache.h:
1287 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_update_range),
1288 (ev_pixbuf_cache_clear_job_sizes),
1289 (ev_pixbuf_cache_add_jobs_if_needed),
1290 (ev_pixbuf_cache_set_page_range):
1291 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings):
1292 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document):
1293 * shell/ev-sidebar-thumbnails.c:
1294 (ev_sidebar_tree_selection_changed),
1295 (ev_sidebar_thumbnails_set_document):
1296 * shell/ev-statusbar.c: (ev_statusbar_destroy),
1297 (ev_statusbar_class_init), (ev_statusbar_init), (ev_statusbar_new),
1298 (ev_statusbar_get_context_id), (ev_statusbar_push),
1299 (ev_statusbar_pop), (ev_statusbar_set_maximized),
1300 (ev_statusbar_pulse), (ev_statusbar_show_progress),
1301 (ev_statusbar_set_progress):
1302 * shell/ev-statusbar.h:
1303 * shell/ev-view.c: (ev_view_set_document), (ev_view_find_next),
1304 (ev_view_find_previous):
1305 * shell/ev-window.c: (ev_window_is_empty),
1306 (ev_window_setup_document), (password_dialog_response),
1307 (ev_window_clear_jobs), (ev_window_load_job_cb),
1308 (ev_window_xfer_job_cb), (ev_window_open_uri),
1309 (ev_window_open_uri_list), (ev_window_cmd_recent_file_activate),
1310 (ev_window_print), (ev_window_print_range),
1311 (ev_window_state_event), (ev_window_cmd_view_reload),
1312 (menu_item_select_cb), (menu_item_deselect_cb),
1313 (view_status_changed_cb), (ev_window_dispose),
1314 (drag_data_received_cb), (ev_window_init):
1315 * shell/ev-window.h:
1316 * shell/main.c: (load_files):
1318 New statusbar to show progress on idle. Two new jobs -
1319 xfer job and load job to load document in background. And update
1320 of page_cache clients to new location of code.
1322 2005-06-08 Carlos Garcia Campos <carlosgc@gnome.org>
1324 * shell/ev-application.c, shell/ev-window.[ch]: Allow multiple
1325 selection in open dialog. It also remembers the last visited directory
1326 in the current session.
1328 2005-06-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1330 * shell/ev-properties.c: (ev_properties_new):
1331 * shell/ev-properties.h:
1332 * shell/ev-window.c: (ev_window_cmd_file_properties):
1334 Get document info from page cache instead of document itself.
1335 This should fix crash related to race conditions described in
1338 2005-06-07 Marco Pesenti Gritti <mpg@redhat.com>
1340 * ps/ps-document.c: (ps_document_init),
1341 (send_ps), (get_page_box), (output), (catchPipe), (input),
1342 (stop_interpreter), (file_length), (file_readable),
1343 (check_filecompressedb), (ps_document_enable_interpreter),
1344 (document_load), (ps_async_renderer_render_pixbuf):
1347 Big cleanup of the ps code
1349 2005-06-07 Marco Pesenti Gritti <mpg@redhat.com>
1351 * backend/Makefile.am:
1352 * backend/ev-async-renderer.c: (ev_async_renderer_get_type),
1353 (ev_async_renderer_class_init), (ev_async_renderer_render_pixbuf):
1354 * backend/ev-async-renderer.h:
1356 Add an async renderer interface (method + callback) which
1357 is useful for backends like ps.
1359 * backend/ev-job-queue.c: (remove_job_from_async_queue),
1360 (add_job_to_async_queue), (job_finished_cb), (handle_job),
1361 (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
1362 (ev_job_queue_add_job), (move_job_async), (move_job),
1363 (ev_job_queue_update_job), (ev_job_queue_remove_job):
1365 Add queues for async renderer, these are executed on the
1368 * backend/ev-jobs.c: (ev_job_render_new), (render_finished_cb),
1369 (ev_job_render_run):
1370 * backend/ev-jobs.h:
1372 If the backend support async renderer interface use it.
1374 * ps/ps-document.c: (ps_document_init), (push_pixbuf),
1375 (setup_pixmap), (ps_document_get_type),
1376 (ps_async_renderer_render_pixbuf),
1377 (ps_document_document_iface_init), (ps_async_renderer_iface_init):
1379 Implement async renderer interface.
1381 2005-06-07 Nickolay V. Shmyrev <<nshmyrev@yandex.ru>>
1383 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose):
1385 Cleanup links job on exit.
1387 2005-06-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1389 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
1390 (drag_data_get_cb), (drag_data_received_cb):
1391 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
1392 (drag_data_get_cb), (parse_item_list),
1393 (egg_toolbar_editor_load_actions):
1394 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
1395 (egg_toolbars_model_to_xml), (egg_toolbars_model_save),
1396 (parse_item_list), (parse_toolbars):
1397 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
1398 (dvi_pixbuf_put_pixel):
1400 Fix gcc 4.0 warnings
1402 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
1404 * ps/ps-document.c: (start_interpreter):
1406 Fix warning when loading ps
1408 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
1410 * ps/ps-document.c: (output):
1412 Fix crash when priting gs error messages.
1414 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
1416 * backend/ev-page-cache.c: (_ev_page_cache_new):
1417 * backend/ev-page-cache.h:
1419 Use a const to return title so that we dont double
1420 free it. Small cleanup and fix a leak.
1422 * shell/ev-window.c: (update_window_title):
1424 strdup value from get_title.
1426 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
1428 * shell/ev-sidebar-links.c: (job_finished_callback),
1429 (ev_sidebar_links_set_document):
1431 Cleanup the old job when changing document
1433 2005-06-05 Nickolay V. Shmyrev <<nshmyrev@yandex.ru>>
1435 * shell/ev-stock-icons.c:
1436 * shell/ev-stock-icons.h:
1437 * shell/ev-window.c:
1439 Add stock icons for actions that can appear in toolbar. Fix for
1442 2005-06-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1444 * backend/ev-page-cache.c: (ev_page_cache_finalize),
1445 (_ev_page_cache_new), (ev_page_cache_get_max_width),
1446 (ev_page_cache_get_max_height), (ev_page_cache_get_height_to_page):
1447 * backend/ev-page-cache.h:
1448 * shell/ev-view.c: (scroll_to_current_page),
1449 (view_update_range_and_current_page), (get_page_y_offset),
1450 (get_page_extents), (ev_view_size_request_continuous_dual_page),
1451 (ev_view_size_request_continuous),
1452 (ev_view_zoom_for_size_continuous_and_dual_page),
1453 (ev_view_zoom_for_size_continuous):
1455 More compact EvView layout in document with pages of different size.
1457 Sat Jun 4 19:20:57 2005 Jonathan Blandford <jrb@redhat.com>
1459 * shell/ev-window.c (ev_window_cmd_file_properties): fix
1462 2005-06-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1464 * shell/ev-view.c: (view_set_adjustment_values):
1465 * shell/ev-window.c: (ev_window_cmd_file_properties):
1467 A bit different fix for rounding problem but it has no
1468 problems on startup. Make properties window transient to parent.
1470 2005-06-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1472 * pdf/ev-poppler.cc:
1474 More commenting of font stuff.
1476 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1478 * pdf/ev-poppler.cc:
1480 Comment out some more fonts stuff. Should really
1481 work without the poppler patch now.
1483 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1485 * pdf/ev-poppler.cc:
1489 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1491 * data/evince-properties.glade:
1492 * pdf/ev-poppler.cc:
1493 * shell/ev-properties.c: (setup_fonts_view):
1495 Set the column title. Show the dialog only
1496 once everything is setup.
1497 Getting font info can be very slow... will
1498 prolly need to make this threaded too.
1500 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1502 * backend/Makefile.am:
1503 * backend/ev-document-fonts.c: (ev_document_fonts_get_type),
1504 (ev_document_fonts_get_fonts_model):
1505 * backend/ev-document-fonts.h:
1506 * data/evince-properties.glade:
1507 * pdf/ev-poppler.cc:
1508 * shell/ev-properties.c: (setup_fonts_view), (ev_properties_new):
1509 * shell/ev-properties.h:
1510 * shell/ev-window.c: (ev_window_cmd_file_properties):
1512 Implement fonts list. Defined out for now, since it depends
1513 on a not yet committed poppler patch.
1515 Fri Jun 3 21:07:57 2005 Jonathan Blandford <jrb@redhat.com>
1517 * shell/ev-view.c (get_page_extents): other_page isn't necessarily
1520 * shell/ev-window.c: Make sure we add the timeout when we get a
1523 * shell/ev-view.c (view_set_adjustment_values): Add 0.5 to
1524 adjustment->value before calculating the zoom factor to average
1525 out all of our rounding errors. The page no longer 'drifts' when
1528 2005-06-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1530 * data/evince-properties.glade:
1531 * shell/ev-properties.c: (ev_properties_format_date),
1534 Labels don't expand when the dialogue is resized.
1535 strftime result needs to be converted to UTF-8. Thanks
1536 to Christian Persch <chpe@gnome.org>.
1538 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1540 * data/evince-properties.glade:
1544 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1546 * backend/ev-document-info.h:
1547 * backend/ev-document.c: (ev_document_info_free):
1548 * data/evince-properties.glade:
1549 * pdf/ev-poppler.cc:
1550 * ps/ps-document.c: (ps_document_get_info):
1551 * shell/ev-properties.c: (ev_properties_format_date),
1552 (set_property), (ev_properties_new):
1553 * shell/ev-properties.h:
1554 * shell/ev-window.c: (ev_window_cmd_file_properties):
1556 Rework properties code to take only EvPropertyInfo
1557 in the constructor so that it can be useful for
1558 nautilus plugin too.
1560 Deal with backends that doesnt support some properties.
1561 Make set property code generic.
1563 2005-06-04 Christian Persch <chpe@gnome.org>
1565 * data/evince-properties.glade:
1567 fix spacings, make resizeable, and make data labels
1568 selectable + ellipsised
1570 2005-06-03 Marco Pesenti Gritti <mpg@redhat.com>
1572 * backend/ev-document-info.h:
1574 * data/evince-ui.xml:
1575 * pdf/ev-poppler.cc:
1576 * shell/Makefile.am:
1577 * shell/ev-window.c: (update_action_sensitivity),
1578 (ev_window_cmd_file_properties):
1580 Initial go at file properties. Patch by
1581 Emil Soleyman-Zomalan <emil@soleyman.com>.
1582 Needs love see #169583
1584 2005-06-02 Marco Pesenti Gritti <mpg@redhat.com>
1586 * ps/ps-document.c: (output):
1587 * ps/ps.c: (psscan):
1589 Try to render even if psscan fails.
1591 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
1593 * ps/ps.c: (psscan), (pscopydoc):
1595 Port buffered reading code from gv
1597 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
1599 * ps/ps-document.c: (interpreter_message), (output):
1601 Do not fail on interpreter messages
1603 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
1605 * backend/ev-document-misc.c:
1606 (ev_document_misc_get_thumbnail_frame):
1608 Pages can be 0 x 0, dont assert on this case
1610 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1612 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
1613 (ev_sidebar_links_class_init), (ev_sidebar_links_set_document):
1615 Correctly manage our reference on document. Finally the reload
1616 huge leak is gone...
1618 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1620 * ps/ps-document.c: (ps_document_dispose):
1622 Forgot to chain it to the parent. Thanks chpe.
1624 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1626 * ps/ps-document.c: (ps_document_dispose),
1627 (ps_document_class_init), (stop_interpreter), (document_load):
1629 Cleanup dispose a bit. Dont leak the whole pixmap.
1631 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1633 * pdf/ev-poppler.cc:
1635 Release the poppler document on dispose
1637 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1639 * shell/ev-view.c: (ev_view_set_document):
1641 Release ref on the pixbuf cache when changing
1644 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1646 * ps/ps-document.c: (ps_document_get_info):
1650 2005-05-31 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
1652 * backend/ev-page-cache.c: (ev_page_cache_init),
1653 (_ev_page_cache_new), (ev_page_cache_get_max_label_chars):
1654 * backend/ev-page-cache.h:
1655 * shell/ev-page-action.c: (page_changed_cb):
1657 Set page action entry width depending on labels width. Fix
1660 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1662 * backend/ev-link.c: (ev_link_class_init):
1664 Allow -1 as page value (error)
1666 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1668 * shell/ev-sidebar-thumbnails.c:
1669 (ev_sidebar_thumbnails_set_document):
1670 * shell/ev-view.c: (scroll_to_current_page),
1671 (view_set_adjustment_values), (ev_view_set_scroll_adjustments),
1672 (page_changed_cb), (on_adjustment_value_changed),
1673 (ev_view_set_document):
1675 Slightly modified patch by Nickolay V. Shmyrev <nshmyrev@yandex.ru>.
1678 2005-05-29 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1681 * djvu/djvu-document.c: (djvu_document_get_page_size):
1683 Require djvulibre CVS. Now djvu loading is much faster. Fix for
1686 Sat May 28 07:38:03 2005 Jonathan Blandford <jrb@redhat.com>
1688 * shell/ev-view.c (draw_one_page): modify the expose handling to
1691 * shell/ev-window.c (update_action_sensitivity): Respect
1692 permissions field. Kowtow to the man.
1694 * pdf/ev-poppler.cc: Get the permissions field.
1696 * tiff/*c: Make a tiny bit more robust.
1698 2005-05-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1700 * djvu/djvu-document.c:
1702 Pop messages from djvu context message queue.
1704 2005-05-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1706 * configure.ac, Makefile.am, shell/Makefile.am:
1707 * tiff/Makefile.am, shell/ev-document-types.c:
1709 Cleanup tiff configure checks. Fix for bug 305218.
1711 2005-05-24 Maxim V. Dziumanenko <mvd@mylinux.ua>
1713 * configure.ac: Added "uk" to ALL_LINGUAS.
1715 2005-05-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1717 * cut-n-paste/zoom-control/ephy-zoom.c:
1718 (ephy_zoom_get_changed_zoom_level):
1719 * cut-n-paste/zoom-control/ephy-zoom.h:
1720 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_set_property),
1721 (ev_view_get_property), (ev_view_class_init), (ev_view_set_zoom):
1722 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
1723 (ev_window_cmd_view_zoom_out), (ev_window_zoom_changed_cb),
1724 (zoom_control_changed_cb), (ev_window_init):
1726 Fix minor points related to moving best fit up. Introduce
1727 "zoom" property and make zoom control change it's value on
1728 notify::zoom signals. Fix for 305080.
1730 2005-05-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1732 * data/evince-ui.xml:
1733 * shell/ev-window.c: (set_view_actions_sensitivity):
1735 Use + and - as accels for zoom in and zoom out. Fix for 305001.
1737 2005-05-22 Marco Pesenti Gritti <mpg@redhat.com>
1741 Depends on poppler 0.3.2
1743 2005-05-22 Marco Pesenti Gritti <mpg@redhat.com>
1745 * cut-n-paste/recent-files/egg-recent-item.c:
1746 (egg_recent_item_get_short_name):
1747 * cut-n-paste/toolbar-editor/Makefile.am:
1748 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
1749 (new_pixbuf_from_widget):
1750 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
1751 * cut-n-paste/toolbar-editor/egg-marshal.c:
1752 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
1753 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
1757 Sat May 21 23:18:30 2005 Jonathan Blandford <jrb@redhat.com>
1759 * tiff/tiff-document.c: Rough TIFF backend.
1761 2005-05-21 Marco Pesenti Gritti <mpg@redhat.com>
1765 * cut-n-paste/toolbar-editor/Makefile.am:
1769 2005-05-21 Marco Pesenti Gritti <mpg@redhat.com>
1771 * shell/ev-view.c: (jump_to_find_result), (ev_view_can_find_next),
1772 (ev_view_find_next), (ev_view_find_previous):
1774 Remove the locks around get_n_results
1776 2005-05-21 Juerg Billeter <j@bitron.ch>
1778 * pdf/ev-poppler.c: (pdf_document_ps_exporter_begin):
1780 Pass correct number of pages to poppler.
1782 2005-05-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1786 * data/evince.desktop.in:
1787 * data/evince.desktop.in.in:
1790 Add conditionally dvi and djvu to desktop types. Fix for 304658.
1792 Sat May 21 00:21:30 2005 Jonathan Blandford <jrb@redhat.com>
1794 * shell/ev-view.c: (view_update_adjustments),
1795 (view_set_adjustment_values): cast adjustmen->value to (int)
1796 before using it. Otherwise, we get off by a pixel in some
1799 (draw_one_page): Draw the border on expose.
1801 Fri May 20 22:05:25 2005 Jonathan Blandford <jrb@redhat.com>
1803 * *shell/ev-view.c: Patch from Nickolay V. Shmyrev to reset the
1804 adjustment when the mode changes, #304923
1806 Fri May 20 02:00:03 2005 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1808 * shell/ev-view.c: Use gdk_widget_queue_draw to remove
1809 flickering on resize but still use gdk_window_scroll on
1812 Fri May 20 01:46:57 2005 Jonathan Blandford <jrb@redhat.com>
1814 * shell/ev-view.c: Patch from Nickolay Shmyrev to fix the -p
1817 Fri May 20 01:27:01 2005 Jonathan Blandford <jrb@redhat.com>
1819 * shell/ev-view.c: Patch from Nickolay Shmyrev to to scroll to
1820 second page on page_changed if possible, #304669
1822 Fri May 20 01:07:15 2005 Jonathan Blandford <jrb@redhat.com>
1824 * shell/ev-view.c (view_update_adjustments): Use gdk_window_scroll
1825 instead of gtk_widget_queue_draw. Massive speedups in scrolling.
1827 Fri May 20 01:05:10 2005 Jonathan Blandford <jrb@redhat.com>
1830 * shell/ev-view.c:(ev_view_size_allocate), (ev_view_class_init),
1831 (zoom_for_size_fit_width), (zoom_for_size_best_fit),
1832 (ev_view_zoom_for_size_presentation),
1833 (ev_view_zoom_for_size_continuous_and_dual_page),
1834 (ev_view_zoom_for_size_continuous),
1835 (ev_view_zoom_for_size_dual_page),
1836 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size):
1838 * shell/ev-window.c: (update_view_size),
1839 (ev_window_sizing_mode_changed_cb):
1841 Patch from Nickolay Shmyrev <nshmyrev@yandex.ru> to handle
1842 the scrollbars. It's not 100% right, but it's much closer. Kills
1843 an infinite loop, #304769
1846 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
1848 * data/evince-ui.xml:
1849 * shell/ev-view.c: (ev_view_scroll_view), (ev_view_class_init):
1850 * shell/ev-window.c: (set_view_actions_sensitivity):
1852 Make PgUp/Down behave like Space
1854 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
1856 * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
1857 * backend/ev-ps-exporter.h:
1858 * pdf/ev-poppler.cc:
1859 * ps/ps-document.c: (ps_document_ps_export_begin):
1860 * shell/ev-print-job.c: (idle_print_handler):
1862 Adapt to new poppler api
1864 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
1866 * cut-n-paste/zoom-control/ephy-zoom-control.c:
1867 (ephy_zoom_control_init):
1869 Translate zoom levels
1871 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
1873 * cut-n-paste/zoom-control/ephy-zoom.c:
1874 (ephy_zoom_get_zoom_level_index):
1876 Fix current zoom -> zoom control match
1878 2005-05-18 James Bowes <bowes@cs.dal.ca>
1880 * shell/ev-window.c: (ev_window_init): Give focus to the ev-view,
1881 rather than the scrolled_window that it's in. Fixes bug #304655.
1883 Tue May 17 22:54:17 2005 Jonathan Blandford <jrb@redhat.com>
1885 * shell/ev-view.c: (view_update_adjustments),
1886 (view_set_adjustment_values), (view_update_range_and_current_page),
1887 (view_scroll_to_page), (set_scroll_adjustment),
1888 (ev_view_set_scroll_adjustments), (add_scroll_binding_keypad),
1889 (ev_view_scroll), (ev_view_scroll_view),
1890 (ensure_rectangle_is_visible), (find_page_at_location),
1891 (get_link_at_location), (go_to_link), (status_message_from_link),
1892 (ev_view_size_request_continuous_dual_page),
1893 (ev_view_size_request), (ev_view_size_allocate), (ev_view_realize),
1894 (ev_view_unrealize), (ev_view_expose_event),
1895 (ev_view_button_press_event), (ev_view_motion_notify_event),
1896 (ev_view_button_release_event), (ev_gdk_color_to_rgb),
1897 (draw_rubberband), (highlight_find_results), (draw_one_page),
1898 (ev_view_finalize), (ev_view_destroy), (ev_view_class_init),
1899 (ev_view_init), (find_changed_cb), (page_changed_cb),
1900 (on_adjustment_value_changed), (ev_view_new),
1901 (ev_view_set_document), (ev_view_set_zoom),
1902 (ev_view_set_continuous), (ev_view_set_dual_page),
1903 (ev_view_set_presentation), (ev_view_zoom_in), (ev_view_zoom_out),
1904 (zoom_for_size_fit_width), (zoom_for_size_best_fit),
1905 (ev_view_zoom_for_size_presentation),
1906 (ev_view_zoom_for_size_continuous_dual_page),
1907 (ev_view_zoom_for_size_continuous),
1908 (ev_view_zoom_for_size_dual_page),
1909 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
1910 (ev_view_get_status), (ev_view_set_status),
1911 (update_find_status_message), (ev_view_get_find_status),
1912 (ev_view_set_find_status), (jump_to_find_result),
1913 (jump_to_find_page), (compute_selections), (clear_selection),
1914 (ev_view_select_all), (get_selected_text), (ev_view_copy),
1915 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
1916 (ev_view_update_primary_selection),
1917 (ev_view_create_invisible_cursor), (ev_view_set_cursor):
1919 * shell/ev-window.c: (ev_window_open_page_label),
1920 (ev_window_cmd_view_reload), (ev_window_sizing_mode_changed_cb),
1922 * shell/ev-window.h:
1923 * shell/main.c: (load_files):
1925 Massive code clean up from Nickolay Shmyrev. Keep page offset
1926 when resizing. Remove the bin_window(). Also, patch from James
1927 Bowes to fix command line page, #300641
1929 2005-05-17 Marco Pesenti Gritti <mpg@redhat.com>
1931 * data/evince-ui.xml:
1934 * shell/ev-window.c: (update_action_sensitivity):
1936 Get rid of View->Normal Size, it's just confusing
1938 Tue May 17 00:51:21 2005 Jonathan Blandford <jrb@redhat.com>
1940 * backend/ev-document-info.h:
1941 * backend/ev-document.c: (ev_document_info_free): Free the
1944 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
1945 (clear_range), (add_range), (update_visible_range),
1946 (adjustment_changed_cb), (ev_sidebar_thumbnails_init),
1947 (ev_sidebar_thumbnails_set_document):
1948 * shell/ev-window.c: (ev_window_setup_document): Only render the
1949 visible thumbnails. It takes an instant to render, but it uses
1952 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
1954 * shell/ev-sidebar-links.c: (popup_menu_cb):
1958 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
1961 * shell/ev-sidebar-links.c: (build_popup_menu), (popup_menu_cb),
1962 (button_press_cb), (ev_sidebar_links_construct):
1964 Show the popup menu also on keybindings
1966 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
1968 * shell/ev-window.c: (ev_window_print), (ev_window_print_range):
1969 * shell/ev-window.h:
1971 Expose api to print a range (with dialog). Make private _print use
1974 * shell/ev-sidebar-links.c: (print_section_cb), (button_press_cb),
1975 (ev_sidebar_links_construct):
1977 Show a print context menu on linkx, it prints the selected
1980 2005-05-15 Carlos Garcia Campos <carlosgc@gnome.org>
1982 * shell/ev-sidebar.c: make the drop down menu as width as the toggle
1985 2005-05-12 Marco Pesenti Gritti <mpg@redhat.com>
1991 * shell/ev-window.c: (build_comments_string),
1992 (ev_window_cmd_help_about):
1994 Show poppler version/backend and authors
1996 2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
1998 * cut-n-paste/zoom-control/ephy-zoom.c:
1999 (ephy_zoom_get_zoom_level_index):
2000 * cut-n-paste/zoom-control/ephy-zoom.h:
2002 Move the best fit items at the top of the list
2004 2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
2006 * shell/ev-marshal.list:
2007 * shell/ev-page-action.c: (ev_page_action_widget_class_init),
2008 (activate_cb), (match_selected_cb), (activate_link_cb),
2009 (connect_proxy), (ev_page_action_class_init):
2010 * shell/ev-page-action.h:
2012 Use signals to notify action activation. Hopefully
2013 I did not break completion since I cant test...
2015 * shell/ev-window.c: (activate_link_cb), (activate_label_cb),
2016 (register_custom_actions):
2018 Connect to page selector actions and also grab focus on
2019 the view when activated.
2021 Wed May 11 01:18:29 2005 Jonathan Blandford <jrb@redhat.com>
2023 * pdf/ev-poppler.cc:
2024 * backend/ev-page-cache.c: make page size calculation consistent
2025 and set it to (int)( width * scale + 0.5). This makes the weird
2026 line going through the middle of the page go away.
2028 * shell/ev-view.c: move painting the background page after
2029 checking the expose area covers us.
2031 2005-05-11 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2033 * data/evince-password.glade:
2035 Mark labels as not translatable. Fix for bug 302842.
2037 2005-05-10 Francisco Javier F. Serrador <serrador@cvs.gnome.org>
2039 * configure.ac: Added "es" to ALL_LINGUAS.
2041 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2043 * data/evince-toolbar.xml:
2044 * shell/ev-window.c: (update_action_sensitivity),
2045 (ev_window_setup_document), (ev_window_set_page_mode),
2048 Remove some leftover code from jrb first continous
2049 attempt. Use the new actions, we still need good icons
2052 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2054 * shell/ev-page-action.c: (update_pages_label), (connect_proxy):
2056 Update label when connecting proxy. Fix a warning with NULL
2059 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2061 * data/evince-ui.xml:
2062 * shell/ev-page-action.c: (ev_page_action_grab_focus):
2063 * shell/ev-page-action.h:
2064 * shell/ev-window.c: (ev_window_cmd_focus_page_selector):
2066 Add mnemonic for edit toolbar.
2067 ctrl+l focus the page entry.
2069 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2072 * shell/ev-window.c: (ev_window_cmd_edit_toolbar_cb),
2074 * shell/main.c: (main):
2076 Put the toolbar xml in evince own dot dir
2078 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2080 * shell/ev-window.c: (ev_window_init):
2082 Make the toolbar not removable
2084 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2086 * data/evince-ui.xml:
2087 * shell/ev-sidebar-links.c: (ev_sidebar_links_get_treeview):
2088 * shell/ev-sidebar-links.h:
2089 * shell/ev-sidebar-thumbnails.c:
2090 (ev_sidebar_thumbnails_get_treeview):
2091 * shell/ev-sidebar-thumbnails.h:
2092 * shell/ev-view.c: (ev_view_scroll), (ev_view_scroll_view),
2093 (ev_view_class_init):
2095 * shell/ev-window.c: (update_action_sensitivity),
2096 (ev_window_cmd_scroll_forward), (ev_window_cmd_scroll_backward),
2097 (set_view_actions_sensitivity), (view_actions_focus_in_cb),
2098 (view_actions_focus_out_cb), (enable_view_actions_for_widget),
2101 This is evil... Make space/backspace global accelerators but
2102 enable them only for some widgets (sidebars and view).
2103 I dont like it, but I dont know a better way... :/
2105 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2107 * shell/ev-page-action.c: (ev_page_action_widget_set_page_cache),
2108 (ev_page_action_widget_finalize),
2109 (ev_page_action_widget_class_init), (update_page_cache):
2111 Keep a weak reference on proxy->page_cache so that we
2112 dont try to disconnect the signal if the object is already
2113 gone. Maybe there is a better way to cleanup reference handling
2114 in page action though...
2116 2005-05-10 Juerg Billeter <j@bitron.ch>
2118 * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
2119 * backend/ev-ps-exporter.h:
2120 * pdf/ev-poppler.cc: (pdf_document_ps_exporter_begin):
2121 * ps/ps-document.c: (ps_document_ps_export_begin):
2123 Change api to pass print range to ps_exporter_begin. The pdf backend
2124 requires this information.
2126 * shell/ev-print-job.c: (idle_print_handler):
2130 2005-05-10 Juerg Billeter <j@bitron.ch>
2132 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
2133 (idle_print_handler)
2134 * shell/ev-window.c: (ev_window_print):
2136 Support printing page range, based on patch by Amaury Jacquot
2138 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2140 * data/evince-toolbar.xml:
2142 Add zoom control to available items
2144 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2146 * shell/ev-window.c: (update_action_sensitivity):
2148 Set slash action insensitive when appropriate
2150 2005-05-10 Christian Persch <chpe@gnome.org>
2152 * cut-n-paste/zoom-control/ephy-zoom-action.c: (create_menu_item):
2154 Fix warning on the overflow menu
2156 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2158 * shell/ev-window.c: (sanity_check_uri), (ev_window_open):
2160 Check for uri correctness/existence
2162 2005-05-09 Juerg Billeter <j@bitron.ch>
2164 * shell/ev-window.c: (using_postscript_printer):
2166 LPD printers use postscript, too
2168 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2170 * shell/ev-window.c: (register_custom_actions):
2172 The zoom one is actually sort of useful,
2175 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2177 * shell/ev-window.c: (register_custom_actions):
2179 Hide page/zoom controls from overflow, they
2182 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2184 * cut-n-paste/update-from-egg.sh:
2186 Share it between all cut-n-paste subdirs
2188 * cut-n-paste/recent-files/Makefile.am:
2190 Fix to use "global" update-from-egg.sh
2192 * cut-n-paste/recent-files/egg-recent-model.c:
2193 (egg_recent_model_changed_timeout), (egg_recent_model_finalize):
2194 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
2195 (egg_recent_view_gtk_clear), (egg_recent_view_gtk_set_list),
2196 (egg_recent_view_gtk_finalize), (egg_recent_view_gtk_set_menu):
2200 * cut-n-paste/toolbar-editor/Makefile.am:
2202 Fix to use "global" update-from-egg.sh
2204 * cut-n-paste/toolbar-editor/eggmarshalers.list:
2208 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2211 * cut-n-paste/Makefile.am:
2212 * cut-n-paste/recent-files/Makefile.am:
2213 * cut-n-paste/toolbar-editor/.cvsignore:
2214 * cut-n-paste/toolbar-editor/Makefile.am:
2215 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
2216 (egg_editable_toolbar_get_type), (get_toolbar_position),
2217 (get_n_toolbars), (get_dock_nth), (get_toolbar_nth), (find_action),
2218 (drag_data_delete_cb), (drag_begin_cb), (drag_end_cb),
2219 (drag_data_get_cb), (set_drag_cursor), (unset_drag_cursor),
2220 (set_item_drag_source), (create_item_from_action), (create_item),
2221 (data_is_separator), (drag_data_received_cb), (remove_toolbar_cb),
2222 (popup_toolbar_context_menu_cb), (free_dragged_item),
2223 (toolbar_drag_drop_cb), (toolbar_drag_motion_cb),
2224 (toolbar_drag_leave_cb), (create_dock), (set_fixed_style),
2225 (unset_fixed_style), (toolbar_changed_cb), (unparent_fixed),
2226 (update_fixed), (toolbar_added_cb), (toolbar_removed_cb),
2227 (item_added_cb), (item_removed_cb),
2228 (egg_editable_toolbar_construct),
2229 (egg_editable_toolbar_disconnect_model),
2230 (egg_editable_toolbar_deconstruct),
2231 (egg_editable_toolbar_set_model),
2232 (egg_editable_toolbar_set_ui_manager),
2233 (egg_editable_toolbar_set_property),
2234 (egg_editable_toolbar_get_property),
2235 (egg_editable_toolbar_class_init), (egg_editable_toolbar_init),
2236 (egg_editable_toolbar_finalize), (egg_editable_toolbar_new),
2237 (egg_editable_toolbar_new_with_model),
2238 (egg_editable_toolbar_get_edit_mode),
2239 (egg_editable_toolbar_set_edit_mode), (egg_editable_toolbar_show),
2240 (egg_editable_toolbar_hide), (egg_editable_toolbar_set_fixed),
2241 (egg_editable_toolbar_set_drag_dest), (fake_expose_widget),
2242 (new_pixbuf_from_widget), (new_separator_pixbuf),
2243 (update_separator_image), (style_set_cb),
2244 (_egg_editable_toolbar_new_separator_image),
2245 (egg_editable_toolbar_get_model):
2246 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
2247 * cut-n-paste/toolbar-editor/egg-marshal.c:
2248 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
2249 (egg_toolbar_editor_get_type), (compare_actions), (find_action),
2250 (egg_toolbar_editor_set_ui_manager), (toolbar_removed_cb),
2251 (egg_toolbar_editor_set_model), (egg_toolbar_editor_set_property),
2252 (egg_toolbar_editor_get_property), (egg_toolbar_editor_class_init),
2253 (egg_toolbar_editor_finalize), (egg_toolbar_editor_new),
2254 (drag_begin_cb), (drag_end_cb), (editor_drag_data_received_cb),
2255 (editor_drag_data_delete_cb), (drag_data_get_cb),
2256 (elide_underscores), (set_drag_cursor), (event_box_realize_cb),
2257 (editor_create_item), (update_editor_sheet), (setup_editor),
2258 (egg_toolbar_editor_init), (egg_toolbar_editor_add_action),
2259 (parse_item_list), (model_has_action), (update_actions_list),
2260 (egg_toolbar_editor_load_actions):
2261 * cut-n-paste/toolbar-editor/egg-toolbar-editor.h:
2262 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
2263 (egg_toolbars_model_get_type), (egg_toolbars_model_to_xml),
2264 (safe_save_xml), (egg_toolbars_model_save), (toolbars_toolbar_new),
2265 (toolbars_item_new), (free_toolbar_node), (free_item_node),
2266 (egg_toolbars_model_get_flags), (egg_toolbars_model_set_flags),
2267 (egg_toolbars_model_add_separator), (impl_add_item),
2268 (parse_item_list), (egg_toolbars_model_add_toolbar),
2269 (parse_toolbars), (egg_toolbars_model_load), (impl_get_item_id),
2270 (impl_get_item_data), (impl_get_item_type),
2271 (_egg_accumulator_STRING), (egg_toolbars_model_class_init),
2272 (egg_toolbars_model_init), (free_toolbar),
2273 (egg_toolbars_model_finalize), (egg_toolbars_model_new),
2274 (egg_toolbars_model_remove_toolbar),
2275 (egg_toolbars_model_remove_item), (egg_toolbars_model_move_item),
2276 (egg_toolbars_model_n_items), (egg_toolbars_model_item_nth),
2277 (egg_toolbars_model_n_toolbars), (egg_toolbars_model_toolbar_nth),
2278 (egg_toolbars_model_add_item), (egg_toolbars_model_get_item_id),
2279 (egg_toolbars_model_get_item_data),
2280 (egg_toolbars_model_get_item_type):
2281 * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
2282 * cut-n-paste/toolbar-editor/eggmarshalers.list:
2284 * data/evince-toolbar.xml:
2285 * data/evince-ui.xml:
2286 * data/hand-open.png:
2288 * shell/Makefile.am:
2289 * shell/ev-window.c: (update_chrome_visibility),
2290 (ev_window_cmd_edit_toolbar_cb), (ev_window_cmd_edit_toolbar),
2291 (ev_window_dispose), (ev_window_init):
2293 Implement epiphany like toolbar editor. Based on patch by
2294 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2296 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2298 * shell/ev-sidebar-thumbnails.c: (page_changed_cb):
2300 Use set_cursor instead of set_selection, so that
2301 the keyboard focus moves too.
2303 2005-05-09 Aleksey Kliger <akliger@gmail.com>
2305 * dvi/mdvi-lib/tfmfile.c: (lookup_font_metrics):
2307 Fix infinite loop when loading Type1 fonts
2309 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2311 * data/evince-ui.xml:
2312 * shell/ev-window.c:
2316 2005-05-09 Thomas de Grenier de Latour <degrenier@easyconnect.fr>
2320 Make --disable really disable
2322 2005-05-07 Juerg Billeter <j@bitron.ch>
2324 * backend/ev-page-cache.c: (ev_page_cache_set_page_label):
2326 Compare page labels even without has_labels set, fixes setting page
2329 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2331 * shell/ev-view.c: (ev_view_create_invisible_cursor),
2332 (ev_view_set_cursor), (ev_view_button_press_event),
2333 (ev_view_motion_notify_event), (ev_view_button_release_event),
2336 Implement middle button scrolling. Based on a patch
2337 by Tommi Komulainen <tommi.komulainen@iki.fi>.
2339 2005-05-08 Marco Pesenti Gritti <mpg@redhat.com>
2341 * shell/ev-document-types.c: (get_slow_mime_type),
2342 (get_document_type_from_mime), (ev_document_type_lookup):
2343 * shell/ev-document-types.h:
2345 Change api to lookup from uri. Do fast lookup first, if the
2346 type is unknown try with data sniffing.
2348 * shell/ev-window.c: (ev_window_open), (ev_window_open_uri_list):
2349 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
2353 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2355 * thumbnailer/Makefile.am:
2359 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2366 * data/evince-ui.xml:
2368 Hide presentation mode for now
2370 * shell/ev-view.c: (highlight_find_results):
2372 Show current find selection only on current page
2374 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2376 * shell/ev-view.c: (ev_view_select_all):
2378 Compute size of the actual page, not of
2381 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2383 * shell/ev-view.c: (clear_selection), (ev_view_finalize),
2384 (view_rect_to_doc_rect), (compute_selections),
2385 (ev_view_bin_expose), (ev_view_select_all), (get_selected_text),
2386 (ev_view_copy), (ev_view_primary_get_cb),
2387 (ev_view_primary_clear_cb), (ev_view_update_primary_selection),
2388 (ev_view_button_press_event), (ev_view_motion_notify_event),
2389 (ev_view_button_release_event), (page_changed_cb):
2393 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2395 * shell/ev-view.c: (compute_border), (get_page_extents),
2396 (doc_rect_to_view_rect), (highlight_find_results),
2397 (ev_view_bin_expose), (ev_view_select_all),
2398 (ev_view_motion_notify_event), (update_find_status_message),
2399 (jump_to_find_result), (jump_to_find_page):
2401 First go at fixing search, still buggy
2403 2005-05-04 Kristian Høgsberg <krh@redhat.com>
2405 * shell/ev-sidebar.c (ev_sidebar_init): Remove frame around
2406 dropdown box and button at the top of the sidebar.
2408 2005-05-02 James Bowes <bowes@cs.dal.ca>
2410 * configure.ac: Output zoom-control Makefile.
2411 * cut-n-paste/Makefile.am: build zoom-control subdir.
2412 * cut-n-paste/zoom-control/ephy-zoom-action.c:
2413 * cut-n-paste/zoom-control/ephy-zoom-action.h:
2414 * cut-n-paste/zoom-control/ephy-zoom-control.c:
2415 * cut-n-paste/zoom-control/ephy-zoom-control.h:
2416 * cut-n-paste/zoom-control/ephy-zoom.c:
2417 * cut-n-paste/zoom-control/ephy-zoom.h: New files imported
2418 from epiphany, and modified to add a separator into the menu.
2419 * cut-n-paste/zoom-control/Makefile.am: Build zoom-control.
2420 * data/evince-ui.xml: Replace old zoom toolbar actions with new
2421 zoom-control action.
2422 * shell/Makefile.am: Include zoom-control flags.
2423 * shell/ev-view.c: (ev_view_set_zoom), (ev_view_get_zoom),
2424 (ev_view_get_sizing_mode), (ev_view_zoom_in), (ev_view_zoom_out),
2425 (ev_view_zoom_for_size_presentation),
2426 (ev_view_zoom_for_size_continuous_and_dual_page),
2427 (ev_view_zoom_for_size_continuous),
2428 (ev_view_zoom_for_size_dual_page),
2429 (ev_view_zoom_for_size_single_page), (ev_view_zoom_normal):
2430 s/ev_view_zoom/ev_view_set_zoom/ and make public, add
2431 ev_view_get_zoom and ev_view_get_sizing_mode.
2433 * shell/ev-window.c: (update_action_sensitivity),
2434 (update_sizing_buttons), (zoom_control_changed_cb),
2435 (register_custom_actions): Initialize and use the zoom-control
2438 Sun May 1 00:46:47 2005 Jonathan Blandford <jrb@redhat.com>
2440 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init): Change the
2441 preview cache back to 1. Don't know when it got set to 0.
2443 * shell/ev-view.c: (compute_border), (ev_view_realize),
2444 (draw_one_page), (ev_view_set_property), (ev_view_get_property),
2445 (ev_view_class_init), (ev_view_init), (ev_view_set_fullscreen),
2446 (ev_view_get_fullscreen), (ev_view_set_presentation),
2447 (ev_view_get_presentation), (ev_view_set_sizing_mode),
2448 (ev_view_zoom_for_size_presentation), (ev_view_set_zoom_for_size):
2450 * shell/ev-window.c:
2451 (update_chrome_visibility),
2452 (ev_window_cmd_continuous), (ev_window_cmd_dual),
2453 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
2454 (update_document_mode), (ev_window_update_fullscreen_action),
2455 (ev_window_fullscreen), (ev_window_unfullscreen),
2456 (ev_window_cmd_view_fullscreen),
2457 (ev_window_update_presentation_action),
2458 (ev_window_run_presentation), (ev_window_stop_presentation),
2459 (ev_window_cmd_view_presentation), (ev_window_state_event),
2460 (ev_window_focus_in_event), (ev_window_focus_out_event),
2461 (ev_window_cmd_escape), (ev_window_sidebar_visibility_changed_cb):
2462 * data/evince-ui.xml: Initial presentation mode. We should
2463 probably hide this until it's done, as it's quite rough. Also,
2464 change full-screen to fullscreen and add two getters to EvView.
2466 2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
2468 * shell/ev-page-action.c: (update_page_cache),
2469 (ev_page_action_dispose):
2470 * shell/ev-window.c: (destroy_fullscreen_popup),
2471 (ev_window_create_fullscreen_popup):
2473 Use connect_object rather than explicitly
2474 disconnect on dispose.
2476 2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
2478 * shell/ev-page-action.c: (update_page_cache),
2479 (ev_page_action_dispose):
2481 2005-04-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2483 * backend/ev-page-cache.c: (_ev_page_cache_new),
2484 (ev_page_cache_set_page_label),
2485 (ev_page_cache_has_nonnumeric_page_labels):
2486 * backend/ev-page-cache.h:
2487 * shell/ev-page-action.c: (update_pages_label):
2489 If all page labels are numeric, fallback to default
2490 way to display number of pages. See bug 173185.
2492 2005-04-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2494 * shell/ev-page-action.c: (ev_page_action_dispose):
2495 * shell/ev-view.c: (view_update_range_and_current_page):
2496 * shell/ev-window.c: (ev_window_dispose):
2498 Set page on scroll in continuous mode. Fixes bug 301986.
2499 Also cleanup callbacks on destroy of EvWindow and EvPageAction.
2501 2005-04-26 Marco Pesenti Gritti <mpg@redhat.com>
2505 Require poppler 0.3.0
2507 2005-04-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2509 * shell/Makefile.am, configure.ac: Fix build problems
2510 with t1lib. Bug 301996.
2512 2005-04-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2514 * shell/ev-view.c: (ev_view_scroll_event):
2516 Scroll up increase zoom
2518 2005-04-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2520 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_class_init),
2521 (ev_view_set_sizing_mode),
2522 (ev_view_zoom_for_size_continuous_and_dual_page),
2523 (ev_view_zoom_for_size_continuous):
2524 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
2525 (ev_window_cmd_view_page_width), (ev_window_cmd_view_zoom_in),
2526 (ev_window_cmd_view_zoom_out), (ev_window_sizing_mode_changed_cb),
2529 Control + Scroll does zooming, Shift + Scroll scrolls horizontally
2530 Fix for 165473 and 165472.
2532 2005-04-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2535 * thumbnailer/Makefile.am:
2536 * thumbnailer/evince-thumbnailer-djvu.schemas.in:
2537 * thumbnailer/evince-thumbnailer-dvi.schemas.in:
2538 * thumbnailer/evince-thumbnailer.schemas.in:
2540 Make thumbnailer schemas translatable. Fix for bug 301773
2542 * thumbnailer/evince-thumbnailer-djvu.schemas:
2543 * thumbnailer/evince-thumbnailer-dvi.schemas:
2544 * thumbnailer/evince-thumbnailer.schemas:
2548 Sun Apr 24 01:37:39 2005 Jonathan Blandford <jrb@redhat.com>
2550 * shell/ev-view.c (ev_view_init): forgot to set this.
2552 Sun Apr 24 01:07:27 2005 Jonathan Blandford <jrb@redhat.com>
2554 * shell/ev-view.c: (find_page_at_location),
2555 (get_link_at_location),
2556 (ev_view_set_show_border), (ev_view_set_spacing),
2557 (ev_view_zoom_for_size_continuous_and_dual_page),
2558 (ev_view_zoom_for_size_continuous): Fix links for dual/continuous.
2559 Also, add a quick fix measuring of widths. Also, removed
2560 ev_view_set_spacing and ev_view_set_show_border.
2562 * shell/ev-window.c: (ev_window_unfullscreen),
2563 (ev_window_cmd_view_fullscreen): Don't adjust the border/spacing.
2565 2005-04-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2567 * shell/ev-view.c: (view_update_range_and_current_page),
2570 Fix crash on exit and scrolling to page in continuous view.
2572 Sat Apr 23 13:13:04 2005 Jonathan Blandford <jrb@redhat.com>
2575 * backend/ev-page-cache.c: (_ev_page_cache_new),
2576 (ev_page_cache_get_max_width_size),
2577 (ev_page_cache_get_max_height_size):
2578 * backend/ev-page-cache.h:
2579 * data/evince-ui.xml:
2580 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init):
2581 * shell/ev-view.c: (view_update_adjustments),
2582 (view_update_range_and_current_page), (get_bounding_box_size),
2583 (ev_view_size_request_continuous_and_dual_page),
2584 (ev_view_size_request_continuous),
2585 (ev_view_size_request_dual_page),
2586 (ev_view_size_request_single_page), (ev_view_size_request),
2587 (ev_view_size_allocate), (get_page_extents), (draw_one_page),
2588 (ev_view_bin_expose), (ev_view_expose_event),
2589 (ev_view_set_property), (ev_view_get_property),
2590 (ev_view_class_init), (ev_view_init), (ev_view_new),
2591 (page_changed_cb), (ev_view_zoom), (ev_view_set_continuous),
2592 (ev_view_set_dual_page), (ev_view_set_full_screen),
2593 (ev_view_set_presentation), (ev_view_set_sizing_mode),
2594 (ev_view_can_zoom_in), (ev_view_can_zoom_out), (ev_view_zoom_in),
2595 (ev_view_zoom_out), (zoom_for_size_fit_width),
2596 (zoom_for_size_best_fit),
2597 (ev_view_zoom_for_size_continuous_and_dual_page),
2598 (ev_view_zoom_for_size_continuous),
2599 (ev_view_zoom_for_size_dual_page),
2600 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
2601 (ev_view_show_cursor), (ev_sizing_mode_get_type):
2603 * shell/ev-window.c: (update_action_sensitivity),
2604 (ev_window_cmd_continuous), (ev_window_cmd_dual),
2605 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
2606 (update_sizing_buttons), (ev_window_cmd_view_zoom_in),
2607 (ev_window_cmd_view_zoom_out), (update_view_size),
2608 (ev_window_set_sizing_mode), (ev_window_init):
2610 Add Continuous and Dual page modes.
2612 2005-04-23 James Bowes <bowes@cs.dal.ca>
2614 * dvi/dvi-document.c: (dvi_document_load),
2615 (dvi_document_thumbnails_get_thumbnail),
2616 (dvi_document_init_params): Fix up some mixups between
2617 width and height to correct thumbnail rendering.
2619 2005-04-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2621 * dvi/mdvi-lib/private.h:
2622 * dvi/mdvi-lib/setup.c: (mdvi_init_kpathsea):
2624 Suppess output for kpathsea during font generation. Thanks to
2627 Fri Apr 22 19:57:46 2005 Jonathan Blandford <jrb@redhat.com>
2634 * Makefile.am: fix distcheck.
2636 2005-04-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2638 * shell/ev-sidebar-links.c: (selection_changed_callback),
2639 (update_page_callback), (row_activated_callback),
2640 (job_finished_callback), (ev_sidebar_links_set_document):
2642 Fix for bug #169901. Double click on links expands tree.
2644 2005-03-14 Bryan Clark <clarkbw@cvs.gnome.org>
2646 * shell/ev-window.c (ev_window_init): Removed fullscreen toolbar
2647 hard-coded style. Fix for bug 170111
2649 2005-04-22 Kristian Høgsberg <krh@redhat.com>
2651 * shell/ev-view.c (highlight_find_results): Remove unnecessary
2654 2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
2656 * thumbnailer/evince-thumbnailer.schemas: real fix for bug 172496
2658 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
2660 * pdf/ev-poppler.cc:
2661 * shell/ev-view.c: (highlight_find_results):
2663 Fix find on single page documents
2665 2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
2667 * data/evince.schemas.in: fix for bug 301390
2669 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
2671 * shell/ev-view.c: (ev_view_can_zoom_in), (ev_view_can_zoom_out),
2672 (ev_view_zoom_out), (ev_view_zoom_normal):
2674 * shell/ev-window.c: (update_action_sensitivity),
2675 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
2676 (ev_window_cmd_view_zoom_in), (ev_window_cmd_view_zoom_out),
2677 (ev_window_cmd_view_normal_size):
2679 Fix normal size zoom. Make zoom in/zoom out unsensitive when
2680 they are behyond the limits. Tweak MAX_ZOOM to 6, sucks but
2683 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
2687 Depend on 2.57, 2.59 doesnt seem to be necessary
2689 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
2691 * shell/ev-page-action.c: (update_pages_label), (page_changed_cb),
2694 Put back total number of pages as (1 of 1234)
2696 Thu Apr 21 23:37:52 2005 Jonathan Blandford <jrb@redhat.com>
2698 * shell/ev-pixbuf-cache.c (dispose_cache_job_info): actually
2701 * backend/ev-document.h: Remove EV_DOC_MUTEX in favor of a locking
2702 function. This helps debugging.
2704 2005-04-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2706 * djvu/djvu-document.c: (djvu_document_class_init),
2707 (djvu_document_get_info), (djvu_document_document_iface_init):
2708 * dvi/dvi-document.c: (dvi_document_class_init),
2709 (dvi_document_get_info), (dvi_document_document_iface_init):
2711 Dummy implementation of get_info method for dvi and djvu. Fix
2712 crashes with those backends
2714 2005-04-20 Marco Pesenti Gritti <mpg@redhat.com>
2716 * data/evince.desktop.in:
2718 Add application/x-gzpostscript
2720 2005-04-20 Bryan Clark <clarkbw@cvs.gnome.org>
2722 * data/evince.schemas.in: Added real long descriptions,
2725 * README: Added actual text, closes bug 171869
2727 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
2729 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
2733 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
2735 * backend/ev-document-info.h:
2737 s/GDate */GDate so we can just use g_free
2739 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
2741 * shell/ev-window.c: (update_document_mode),
2742 (ev_window_setup_document):
2744 Show the window in fullscreen when specified by
2747 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
2749 * backend/ev-document.c: (ev_document_class_init),
2750 (ev_document_get_info), (ev_document_render_pixbuf):
2751 * backend/ev-document.h:
2752 * backend/ev-page-cache.c: (_ev_page_cache_new):
2753 * pdf/ev-poppler.cc:
2754 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
2755 (pixbuf_document_get_info), (pixbuf_document_document_iface_init):
2756 * ps/ps-document.c: (ps_document_class_init), (document_load),
2757 (ps_document_get_info), (ps_document_document_iface_init):
2759 Remove get_title from the interface, we can just use document info
2761 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
2763 * backend/Makefile.am:
2764 * backend/ev-document.c: (ev_document_render_get_info):
2765 * backend/ev-document.h:
2766 * pdf/ev-poppler.cc:
2768 Initial support for document info. Based on jrb patch.
2770 2005-04-19 Paolo Borelli <pborelli@katamail.com>
2772 * shell/ev-window.c: (ev_window_state_event),
2773 (ev_window_class_init), (ev_window_init):
2775 Doesn't show resize grip when maximized. See bug #301053
2777 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2781 ev-sidebar-thumbnails now has translatable labels
2783 * shell/Makefile.am:
2784 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document),
2785 (ev_sidebar_links_support_document), (ev_sidebar_links_get_label),
2786 (ev_sidebar_links_page_iface_init):
2787 * shell/ev-sidebar-links.h:
2788 * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
2789 (ev_sidebar_page_support_document), (ev_sidebar_page_set_document),
2790 (ev_sidebar_page_get_label):
2791 * shell/ev-sidebar-page.h:
2792 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_new),
2793 (ev_sidebar_thumbnails_set_document),
2794 (ev_sidebar_thumbnails_support_document),
2795 (ev_sidebar_thumbnails_get_label),
2796 (ev_sidebar_thumbnails_page_iface_init):
2797 * shell/ev-sidebar-thumbnails.h:
2798 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
2799 (ev_sidebar_set_document):
2800 * shell/ev-sidebar.h:
2801 * shell/ev-window.c: (ev_window_setup_document), (ev_window_init):
2803 Small rework of sidebar code. Now sidebar pages should implement
2804 EvSidebarPage interface. That makes page management in EvSidebar
2805 easier. See bug #164811 for details
2807 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2809 * shell/ev-application.c: (ev_application_open):
2810 * shell/ev-document-types.c:
2812 Fix build error and small problem with application exit
2814 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2816 * thumbnailer/Makefile.am:
2817 * thumbnailer/evince-thumbnailer-djvu.schemas:
2818 * thumbnailer/evince-thumbnailer-dvi.schemas:
2820 Conditionally install schemas for djvu/dvi thumbnailer
2822 2005-04-18 David Malcolm <dmalcolm@redhat.com>
2824 * shell/ev-document-types.h:
2825 * shell/ev-document-types.c:
2826 New files, handling the mapping from mimetypes to backends
2828 * shell/ev-window.c:
2829 * thumbnailer/evince-thumbnailer.c:
2830 Use the ev-document-types code
2832 * shell/Makefile.am:
2833 Added new convenience library libevbackendfactory_la, containing
2834 the new mimetype->backend logic; moved the backends into it.
2836 * thumbnailer/Makefile.am:
2837 Make the thumbnailer link with the libevbackend.la convenience
2838 library, rather than having a duplicate of the backend logic here.
2840 2005-04-18 Paolo Borelli <pborelli@katamail.com>
2842 * shell/ev-stock-icons.c: constify some vars.
2843 * shell/ev-window.c: ditto.
2845 2005-04-18 Marco Pesenti Gritti <mpg@redhat.com>
2847 * ps/ps-document.c (get_page_orientation):
2849 Respect document orientation
2851 2005-04-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2855 * shell/Makefile.am:
2857 Move library dependencies to components.
2859 * shell/ev-window.c: (update_window_title),
2860 (start_loading_document):
2862 Fix display of uris with spaces. Bug 168358.
2864 Sat Apr 16 18:53:47 2005 Jonathan Blandford <jrb@redhat.com>
2866 * shell/ev-sidebar-links.c: (selection_changed_cb):
2867 * shell/ev-view.c: (ev_view_finalize), (go_to_link),
2868 (ev_view_button_release_event), (ev_view_set_document):
2870 * shell/ev-window.c: (find_bar_search_changed_cb):
2871 * shell/ev-window.h: Minor cleanups removing some dead code.
2873 2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2875 * backend/ev-page-cache.c: (_ev_page_cache_new):
2877 Set current page to 0 if document has pages.
2879 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
2881 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
2883 Initialize GError to NULL, fix a crash when loading fails.
2885 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
2887 * shell/ev-window.c: (update_view_size):
2889 Calculate shadow size only when there is actually
2892 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
2894 * shell/ev-view.c: (ev_view_set_spacing), (ev_view_init):
2897 Allow setting view spacing, default to 0
2899 * shell/ev-window.c: (ev_window_unfullscreen),
2900 (ev_window_cmd_view_fullscreen), (ev_window_init):
2902 Remove spacing in fullscreen mode
2904 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
2906 * shell/ev-view.c: (compute_border), (compute_zoom_factor),
2907 (ev_view_size_request), (expose_bin_window),
2908 (ev_view_set_show_border), (ev_view_init), (page_changed_cb):
2910 * shell/ev-window.c: (ev_window_unfullscreen),
2911 (ev_window_cmd_view_fullscreen):
2913 Do not draw the border in fulscreen
2915 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
2917 * shell/ev-view.c: (ev_view_get_offsets), (compute_zoom_factor),
2918 (ev_view_size_request), (expose_bin_window), (ev_view_select_all),
2919 (find_page_at_location), (page_changed_cb):
2921 Rework border calculation, so that I can more easily disable it.
2922 Code somewhat cleaner too.
2924 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
2926 * backend/ev-page-cache.c: (ev_page_cache_init),
2927 (_ev_page_cache_new):
2929 Remove some assertions, documents can have 0 pages.
2930 Make initial current page -1.
2932 * shell/ev-page-action.c: (page_changed_cb):
2934 Show "" if current page is -1
2936 * shell/ev-window.c: (update_action_sensitivity),
2937 (ev_window_setup_document):
2939 When document has 0 pages do not set the view
2940 and make nearly everything insensitive.
2942 2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2944 * shell/ev-page-view.c:
2945 * shell/ev-page-view.h:
2947 Remove unused files.
2949 * shell/ev-sidebar-thumbnails.c:
2950 (ev_sidebar_thumbnails_set_document):
2951 * shell/ev-sidebar.c: (ev_sidebar_set_document),
2952 (ev_sidebar_supports_document):
2953 * shell/ev-sidebar.h:
2954 * shell/ev-window.c: (ev_window_setup_document):
2956 Doesn't show thumbnails if document has 1 page. Make
2957 sidebar menu entries sensitive only if if they have
2958 sense. Fix bug 164811.
2960 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
2962 * shell/ev-view.c: (compute_zoom_factor), (ev_view_size_request),
2963 (page_changed_cb), (ev_view_zoom), (ev_view_zoom_in),
2964 (ev_view_zoom_out), (ev_view_set_size):
2966 Rework sizing to deal with documents with not uniform page
2969 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
2971 * backend/ev-page-cache.c: (_ev_page_cache_new):
2973 Fix several page size caching bugs
2975 2005-04-15 Luca Ferretti <elle.uca@libero.it>
2977 * shell/ev-window.c: (set_action_properties):
2979 Make all toolbar items translatable
2981 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
2983 * ps/ps-document.c: (ps_document_init), (ps_document_get_type),
2984 (save_page_list), (ps_document_save),
2985 (ps_document_document_iface_init), (ps_document_ps_export_begin),
2986 (ps_document_ps_export_do_page), (ps_document_ps_export_end),
2987 (ps_document_ps_exporter_iface_init):
2990 Based on a patch by J�rg Billeter <j@bitron.ch>
2992 Implement print and save a copy for the ps backend.
2994 2005-04-14 Marco Pesenti Gritti <mpg@redhat.com>
2996 * backend/ev-document.h:
2997 * djvu/djvu-document.c: (djvu_document_can_get_text),
2998 (djvu_document_document_iface_init):
2999 * dvi/dvi-document.c: (dvi_document_can_get_text),
3000 (dvi_document_document_iface_init):
3001 * pdf/ev-poppler.cc:
3002 * pixbuf/pixbuf-document.c: (pixbuf_document_can_get_text),
3003 (pixbuf_document_document_iface_init):
3004 * ps/ps-document.c: (ps_document_can_get_text),
3005 (ps_document_document_iface_init):
3006 * shell/ev-view.c: (ev_view_copy), (ev_view_primary_get_cb):
3007 * shell/ev-window.c: (update_action_sensitivity):
3009 Fix the crash when trying to copy in backends that doesnt
3010 support it. We can implement a better solution once we
3011 do real text selection.
3013 2005-04-12 Marco Pesenti Gritti <mpg@redhat.com>
3015 * data/evince-ui.xml:
3016 * shell/ev-window.c: (ev_window_cmd_escape):
3018 Work around the Escape conflict (find bar and unfullscreen)
3020 2005-04-12 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
3022 * backend/ev-page-cache.c: (ev_page_cache_next_page):
3024 Fix for #300233. Next page correctly handles document end.
3026 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
3027 (ev_sidebar_thumbnails_class_init),
3028 (ev_sidebar_thumbnails_set_document),
3029 (ev_sidebar_thumbnails_clear_job),
3030 (ev_sidebar_thumbnails_clear_model):
3032 Cleanup thumbnail jobs on document changes.
3034 * shell/ev-view.c: (add_scroll_binding_keypad),
3035 (add_scroll_binding_shifted), (ev_view_class_init):
3037 Shift + Space scrolls up. Fix for #173184
3039 * shell/ev-window.c: (ev_window_open_page),
3040 (ev_window_cmd_view_reload):
3042 Fix reload (Bug #300094)
3044 2005-04-09 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3047 * dvi/mdvi-lib/assoc.c:
3048 * dvi/mdvi-lib/assoc.h: Removed garbage files
3050 * dvi/mdvi-lib/bitmap.c:
3051 * dvi/mdvi-lib/color.c: (mdvi_set_color), (mdvi_push_color),
3052 (mdvi_pop_color), (mdvi_reset_color), (get_color_table):
3053 * dvi/mdvi-lib/color.h: Antialias of rules
3055 * dvi/mdvi-lib/common.h:
3056 * dvi/mdvi-lib/dviread.c: (mdvi_configure), (mdvi_init_context),
3057 (mdvi_destroy_context), (draw_shrink_rule), (draw_box), (set_rule):
3058 * dvi/mdvi-lib/files.c:
3059 * dvi/mdvi-lib/fontmap.c: (ps_init_default_paths):
3060 * dvi/mdvi-lib/mdvi.h:
3061 * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
3062 * dvi/mdvi-lib/tfmfile.c: (ofm_load_file):
3063 * dvi/mdvi-lib/util.c: Fix compile warnings
3065 * dvi/dvi-document.c:
3066 (dvi_document_load), (dvi_document_thumbnails_get_dimensions),
3067 (dvi_document_thumbnails_get_thumbnail),
3068 (dvi_document_document_thumbnails_iface_init):
3069 * dvi/mdvi-lib/Makefile.am:
3070 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
3071 (dvi_pixbuf_set_color), (mdvi_pixbuf_device_render):
3073 Dvi backend now renders thumbnails
3075 2005-04-09 Christian Persch <chpe@cvs.gnome.org>
3077 * shell/main.c: (main):
3079 Save accelerators on exit. Fixes bug #172095.
3081 Sat Apr 9 01:05:09 2005 Jonathan Blandford <jrb@redhat.com>
3083 * shell/ev-pixbuf-cache.c (move_one_job): Actually fix the "FIXME:
3084 update priority" comment.
3086 * backend/ev-job-queue.c: Give a way to change priority.
3088 Sat Apr 9 00:05:36 2005 Jonathan Blandford <jrb@redhat.com>
3090 * shell/ev-page-action.c: Fix logic.
3092 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
3094 * shell/ev-view.c: (ev_view_can_find_next):
3095 * shell/ev-window.c: (ev_window_setup_document):
3097 Check that the document supports find
3099 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
3101 * data/evince-ui.xml:
3102 * shell/ev-view.c: (ev_view_can_find_next):
3104 * shell/ev-window.c: (update_action_sensitivity),
3105 (find_changed_cb), (ev_window_setup_document),
3106 (ev_window_cmd_edit_find_next):
3110 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
3112 * pdf/ev-poppler.cc:
3113 * shell/ev-print-job.c: (idle_print_handler):
3115 Make printing work again
3117 Fri Apr 8 01:12:24 2005 Jonathan Blandford <jrb@redhat.com>
3119 * shell/ev-page-action.h:
3120 * shell/ev-page-action.c: (ev_page_action_widget_init),
3121 (ev_page_action_widget_class_init), (page_changed_cb),
3122 (create_tool_item), (update_page_cache), (build_new_tree_cb),
3123 (get_filter_model_from_model), (match_selected_cb),
3124 (display_completion_text), (match_completion), (update_model),
3125 (connect_proxy), (ev_page_action_set_property),
3126 (ev_page_action_get_property), (ev_page_action_set_document),
3127 (ev_page_action_set_model), (ev_page_action_class_init): Big
3128 reworking to make completions work iff we have >= GTK-2.7.0
3130 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_property),
3131 (ev_sidebar_links_get_property), (ev_sidebar_links_class_init),
3132 (job_finished_cb): We now have a 'model' property that is set when
3133 the links are loaded. This can be caught with "notify::model"
3135 * shell/ev-window.c: (sidebar_widget_model_set), (ev_window_init):
3136 listen for the model to be set, and propagate it to the action.
3138 2005-04-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3140 * cut-n-paste/recent-files/egg-recent-item.c:
3141 (egg_recent_item_set_uri), (make_valid_utf8),
3142 (egg_recent_item_set_mime_type), (egg_recent_item_get_mime_type):
3143 * cut-n-paste/recent-files/egg-recent-item.h:
3145 Update egg-recent from libegg. This should fix long
3146 startup problem. For details see
3147 http://bugzilla.gnome.org/show_bug.cgi?id=160531
3149 2005-04-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3151 * cut-n-paste/recent-files/Makefile.am:
3152 * data/evince-ui.xml, shell/Makefile.am:
3153 * shell/ev-application.c, shell/ev-application.h:
3154 * shell/ev-window.c: Recent files support.
3156 * configure.ac: Added "ru" to ALL_LINGUAS.
3158 * dvju: new backend to support DJVU files.
3159 * dvi: new backend to support DVI.
3161 * configure.ac, Makefile.am, shell/Makefile.am, ev-window.c:
3162 * ev-application.c: Support for new backends.
3164 * help, ev-window.c, main.c shell/Makefile.am:
3165 Evince user documentation.
3167 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
3170 * shell/ev-window.c:
3171 * thumbnailer/evince-thumbnailer.c:
3173 s/pdf-document/ev-poppler
3175 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
3182 * ps/ps-document.c: (setup_pixmap):
3186 2005-04-05 Kristian Høgsberg <krh@redhat.com>
3188 * backend/ev-page-cache.c (ev_page_cache_next_page):
3189 * shell/ev-window.c (ev_window_cmd_go_next_page)
3190 (ev_window_cmd_go_first_page): Fix of by one errors.
3192 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
3194 * ps/ps-document.c: (get_page_box):
3196 Fix page size calculation
3198 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
3200 * ps/ps-document.c: (ps_document_init), (push_pixbuf),
3201 (ps_document_cleanup), (setup_pixmap), (get_page_box),
3202 (get_page_orientation), (setup_page), (document_load),
3203 (ps_document_get_page_size), (render_pixbuf_idle):
3206 More refactoring to adapt to EvDocument changes
3208 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
3210 * ps/ps-document.c: (start_interpreter):
3212 Actually add alpha args
3214 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
3216 * pdf/ev-poppler.cc:
3218 Make clipboard work again
3220 2005-04-04 Kristian Høgsberg <krh@redhat.com>
3222 Make searching work again.
3224 * backend/ev-document.c:
3225 * backend/ev-document.h:
3226 * backend/ev-document-find.c:
3227 * backend/ev-document-find.h: Change EvDocumentIface so we no
3228 longer store the current page or zoom level in the document. The
3229 consequence is that all calls that operate on the current page now
3230 instead take the page number as an extra argument, and all
3231 coordinates are now doubles in document coordinate system.
3233 * pdf/ev-poppler.cc:
3234 * pixbuf/pixbuf-document.c:
3235 * ps/ps-document.c: Update backends accordingly.
3237 2005-04-04 Marco Pesenti Gritti <marco@gnome.org>
3241 Add required gettext version
3243 Sat Apr 2 18:57:00 2005 Jonathan Blandford <jrb@redhat.com>
3245 * shell/evwindow.c: Patch from Alberto Mesas <amesas@gmail.com> to
3246 make F1 bring up non-existent help.
3248 * shell/eggfindbar.c: Patch from Christian Persch to sync to
3249 epiphany's find bar, #167477
3251 * shell/ev-view.c (ev_view_jump): Patch from Emil Soleyman-Zomalan
3252 <emil@nishra.com> to add space-bar scrolling,
3254 * shell/ev-window.c (static GtkActionEntry entries): add default
3255 keybinding for Help (F1)
3258 * shell/ev-view.c (ev_view_show_cursor): Fix from Yuval Tanny
3259 changing EV_VIEW_CURSOR_LINK to EV_VIEW_CURSOR_NORMAL resolves bug
3262 2005-04-01 David Malcolm <dmalcolm@redhat.com>
3265 * pixbuf/pixbuf-document.c:
3267 Got pixbuf backend working again
3269 2005-04-01 Steve Murphy <murf@e-tools.com>
3271 * configure.in: Added "rw" to ALL_LINGUAS.
3273 Fri Apr 1 02:33:41 2005 Jonathan Blandford <jrb@redhat.com>
3275 * shell/ev-sidebar-links.c (create_loading_model): Fix mismatch in
3276 model types, noticed by Martin Kretzschmar.
3278 2005-04-01 Kristian Høgsberg <krh@redhat.com>
3280 * pdf/ev-poppler.cc: Implement search based on
3281 poppler_page_find_text(). Currently a bit crude since we remember
3282 all matches from all pages. Also, we grab the big document lock
3283 when we search since searching changes the underlying stream and
3284 thus conflicts with the rendering thread.
3286 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
3287 (jump_to_find_page), (ev_view_set_document), (ev_view_find_next),
3288 (ev_view_find_previous): Fix some page indexes to be 0 based,
3289 offset rubber band by view offset,
3291 Fri Apr 01 09:21:12 2005 Pablo Saratxaga <pablo@mandrakesoft.com>
3293 * configure.ac: Added Walloon (wa) to ALL_LINGUAS.
3295 Fri Apr 1 01:59:39 2005 Jonathan Blandford <jrb@redhat.com>
3297 * shell/ev-page-action.c: Changed to use page labels now. Rewrote
3298 completely because I didn't understand GtkActions. I should
3299 read Marco's code more carefully in the future.
3301 * backend/ev-page-cache.h (ev_page_cache_set_page_label): New
3304 2005-03-31 Kristian Høgsberg <krh@redhat.com>
3306 * pdf/ev-poppler.cc (pdf_document_get_links): Update to work with
3307 PopplerRectangle change from poppler CVS.
3309 Thu Mar 31 13:27:50 2005 Jonathan Blandford <jrb@redhat.com>
3311 * backend/ev-document.c: (ev_document_get_page_label):
3312 * backend/ev-document.h:
3313 * backend/ev-page-cache.c: (_ev_page_cache_new),
3314 (ev_page_cache_get_page_label):
3315 * backend/ev-page-cache.h:
3316 * pdf/ev-poppler.cc:
3317 * shell/ev-sidebar-links.c: (ev_sidebar_links_construct),
3318 (links_page_num_func):
3319 * shell/ev-sidebar-thumbnails.c:
3320 (ev_sidebar_thumbnails_set_document):
3321 * shell/ev-view.c: (status_message_from_link),
3322 (ev_view_motion_notify_event):
3323 * shell/ev-window.c: (document_supports_sidebar): Add in page
3324 label support. It's not perfect yet, but it's the first 'feature'
3326 Also, fix a bogus comment noticed by crispin.
3328 Thu Mar 31 01:21:58 2005 Jonathan Blandford <jrb@redhat.com>
3330 * Makefile.am: Remove pixbuf backend for now
3332 * configure.ac: Require poppler-glib instead of just poppler.
3334 * backend/ev-document-thumbnails.h: Add a comment
3336 * backend/ev-document.h:
3337 * backend/ev-document.c: (ev_document_class_init),
3338 (ev_document_load), (ev_document_get_link),
3339 (ev_document_get_links): Remove 3 methods and add get_links.
3342 * backend/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
3343 * backend/ev-jobs.h: now EvJobRender can grab the links for a document.
3345 * backend/ev-link.c: (ev_link_set_title),
3346 (ev_link_mapping_free_foreach), (ev_link_mapping_free),
3347 (ev_link_mapping_find):
3348 * backend/ev-link.h: Allow NULL titles. Also, introduce a mapping link.
3350 * backend/ev-page-cache.c: (ev_page_cache_init),
3351 (_ev_page_cache_new), (ev_page_cache_set_current_page),
3352 (ev_page_cache_get_size), (ev_page_cache_next_page),
3353 (ev_page_cache_prev_page): Fix to be 0 based.
3357 * pdf/ev-poppler.cc: New backend.
3359 * ps/ps-document.c: (ps_document_init), (ps_document_set_page),
3360 (ps_document_get_page), (ps_document_document_iface_init):
3362 * shell/ev-pixbuf-cache.h:
3363 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
3364 (dispose_cache_job_info), (job_finished_cb), (move_one_job),
3365 (ev_pixbuf_cache_update_range), (copy_job_to_job_info),
3366 (add_job_if_needed), (ev_pixbuf_cache_set_page_range),
3367 (ev_pixbuf_cache_get_pixbuf), (ev_pixbuf_cache_get_link_mapping):
3368 Fix up code to grab a page cache per each doc. Also, fix to be 0
3371 * shell/ev-sidebar-thumbnails.c:
3372 (ev_sidebar_tree_selection_changed), (page_changed_cb),
3373 (ev_sidebar_thumbnails_set_document): Fix to be 0 based.
3375 * shell/ev-view.c: (status_message_from_link),
3376 (find_page_at_location), (get_link_at_location),
3377 (ev_view_motion_notify_event), (ev_view_button_release_event),
3378 (ev_view_init): Use the new link code. Fix to be 0 based.
3380 * shell/ev-window.c: (update_action_sensitivity),
3381 (document_supports_sidebar): 0 based.
3383 Fri Mar 25 16:55:58 2005 Jonathan Blandford <jrb@redhat.com>
3385 * pdf/pdf-document.cc: Patch from Fernando Herrera
3386 <fherrera@onirica.com> to fix my quick fix to get_thumbnail.
3389 Wed Mar 23 23:49:41 2005 Jonathan Blandford <jrb@redhat.com>
3391 * pdf/pdf-document.cc (pdf_document_thumbnails_get_thumbnail): add
3392 1 to the page, as this seems to be 1 based. I thought we has this
3395 2005-03-23 Marco Pesenti Gritti <marco@gnome.org>
3398 * backend/Makefile.am:
3399 * backend/ev-document-links.c:
3400 (ev_document_links_has_document_links),
3401 (ev_document_links_get_links_model):
3402 * backend/ev-document-links.h:
3403 * backend/ev-document.c: (ev_document_get_page_cache),
3404 (ev_document_get_doc_mutex), (ev_document_load),
3405 (ev_document_save), (ev_document_get_title),
3406 (ev_document_get_n_pages), (ev_document_set_page),
3407 (ev_document_get_page), (ev_document_set_target),
3408 (ev_document_set_scale), (ev_document_set_page_offset),
3409 (ev_document_get_page_size), (ev_document_get_text),
3410 (ev_document_get_link), (ev_document_render),
3411 (ev_document_render_pixbuf), (ev_document_scale_changed):
3412 * backend/ev-document.h:
3413 * backend/ev-job-queue.c: (remove_object_from_queue),
3414 (notify_finished), (handle_job), (search_for_jobs_unlocked),
3415 (no_jobs_available_unlocked), (ev_render_thread),
3416 (ev_job_queue_init), (find_queue), (ev_job_queue_add_job),
3417 (ev_job_queue_remove_job):
3418 * backend/ev-job-queue.h:
3419 * backend/ev-jobs.c: (ev_job_init), (ev_job_dispose),
3420 (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
3421 (ev_job_links_class_init), (ev_job_render_init),
3422 (ev_job_render_dispose), (ev_job_render_class_init),
3423 (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
3424 (ev_job_thumbnail_class_init), (ev_job_finished),
3425 (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
3426 (ev_job_render_run), (ev_job_thumbnail_new),
3427 (ev_job_thumbnail_run):
3428 * backend/ev-jobs.h:
3429 * backend/ev-link.c:
3430 * backend/ev-link.h:
3431 * backend/ev-page-cache.c: (ev_page_cache_init),
3432 (ev_page_cache_class_init), (ev_page_cache_finalize),
3433 (_ev_page_cache_new), (ev_page_cache_get_n_pages),
3434 (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
3435 (ev_page_cache_set_link), (ev_page_cache_get_title),
3436 (ev_page_cache_get_size), (ev_page_cache_next_page),
3437 (ev_page_cache_prev_page):
3438 * backend/ev-page-cache.h:
3439 * pdf/pdf-document.cc:
3442 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
3443 (push_pixbuf), (interpreter_failed), (ps_document_cleanup),
3444 (ps_document_widget_event), (ps_document_finalize), (get_xdpi),
3445 (get_ydpi), (setup_pixmap), (setup_page), (close_pipe),
3446 (is_interpreter_ready), (output), (catchPipe), (input),
3447 (start_interpreter), (check_filecompressed), (compute_dimensions),
3448 (ps_document_enable_interpreter), (document_load),
3449 (ps_document_next_page), (render_page), (ps_document_set_page),
3450 (ps_document_set_scale), (render_pixbuf_idle),
3451 (ps_document_render_pixbuf), (ps_document_document_iface_init):
3453 * shell/Makefile.am:
3454 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
3455 (ev_pixbuf_cache_class_init), (ev_pixbuf_cache_finalize),
3456 (dispose_cache_job_info), (ev_pixbuf_cache_dispose),
3457 (ev_pixbuf_cache_new), (job_finished_cb),
3458 (check_job_size_and_unref), (move_one_job),
3459 (ev_pixbuf_cache_update_range), (find_job_cache),
3460 (ev_pixbuf_cache_clear_job_sizes), (add_job_if_needed),
3461 (ev_pixbuf_cache_add_jobs_if_needed),
3462 (ev_pixbuf_cache_set_page_range), (ev_pixbuf_cache_get_pixbuf):
3463 * shell/ev-pixbuf-cache.h:
3464 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
3465 (idle_print_handler):
3466 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
3467 (selection_changed_cb), (create_loading_model),
3468 (ev_sidebar_links_construct), (links_page_num_func),
3469 (ev_sidebar_links_clear_document), (update_page_callback_foreach),
3470 (update_page_callback), (job_finished_cb),
3471 (ev_sidebar_links_set_document):
3472 * shell/ev-sidebar-thumbnails.c:
3473 (ev_sidebar_thumbnails_class_init), (adjustment_changed_cb),
3474 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init),
3475 (page_changed_cb), (thumbnail_job_completed_callback),
3476 (ev_sidebar_thumbnails_set_document):
3477 * shell/ev-sidebar-thumbnails.h:
3478 * shell/ev-sidebar.c: (ev_sidebar_set_document):
3479 * shell/ev-view.c: (ev_view_finalize), (ev_view_destroy),
3480 (ev_view_get_offsets), (ev_view_size_request), (ev_view_realize),
3481 (ev_view_unrealize), (highlight_find_results), (expose_bin_window),
3482 (ev_view_select_all), (ev_view_copy), (ev_view_primary_get_cb),
3483 (ev_view_create_invisible_cursor), (ev_view_motion_notify_event),
3484 (ev_view_button_release_event), (ev_view_scroll_view),
3485 (ev_view_class_init), (ev_view_init), (update_find_status_message),
3486 (jump_to_find_result), (jump_to_find_page), (find_changed_cb),
3487 (ev_view_new), (job_finished_cb), (page_changed_cb),
3488 (ev_view_set_document), (go_to_link), (ev_view_zoom),
3489 (size_to_zoom_factor), (ev_view_set_size), (ev_view_find_next),
3490 (ev_view_find_previous):
3492 * shell/ev-window.c: (update_action_sensitivity),
3493 (ev_window_open_page), (update_window_title), (update_total_pages),
3494 (page_changed_cb), (ev_window_setup_document),
3495 (password_dialog_response), (ev_window_cmd_save_as),
3496 (ev_window_print), (ev_window_cmd_go_previous_page),
3497 (ev_window_cmd_go_next_page), (ev_window_cmd_go_first_page),
3498 (ev_window_cmd_go_last_page), (ev_window_cmd_view_reload),
3499 (find_bar_search_changed_cb), (goto_page_cb), (ev_window_init):
3500 * shell/main.c: (main):
3502 Merge evince-threads branch
3504 2005-03-16 Žygimantas Beručka <uid0@akl.lt>
3506 * configure.ac: Added "lt" to ALL_LINGUAS.
3508 2005-03-14 Marco Pesenti Gritti <marco@gnome.org>
3515 2005-03-13 Fernando Herrera <fherrera@onirica.com>
3517 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3519 Fix here also the thumbnails 1-basedness :)
3521 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
3528 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
3530 * pdf/pdf-document.cc:
3531 * shell/ev-sidebar-thumbnails.c: (adjustment_changed_cb),
3532 (do_one_iteration), (ev_sidebar_thumbnails_set_document):
3534 Fix the mess we did with thumbnails and 1-basedness
3536 2005-03-12 Changwoo Ryu <cwryu@debian.org>
3538 * configure.ac (ALL_LINGUAS): Added "ko" (Korean).
3540 2005-03-09 Marco Pesenti Gritti <marco@gnome.org>
3547 2005-03-08 Marco Pesenti Gritti <marco@gnome.org>
3550 * ps/gsdefaults.c: (gtk_gs_defaults_get_interpreter_cmd),
3551 (gtk_gs_defaults_get_alpha_parameters),
3552 (gtk_gs_defaults_get_ungzip_cmd),
3553 (gtk_gs_defaults_get_unbzip2_cmd):
3555 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
3556 (ps_document_get_orientation), (document_load),
3557 (ps_document_goto_page), (ps_document_set_page_size):
3560 Some more sanitization of the ps backend. Remove a lot
3561 of unused code and do not base our defaults on ggv
3564 2005-03-08 Fernando Herrera <fherrera@onirica.com>
3566 * thumbnailer/evince-thumbnailer.schemas:
3567 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
3568 (main): add -s option for thumbnail size.
3570 2005-03-07 Christian Persch <chpe@cvs.gnome.org>
3574 AC_PROG_RANLIB is rendered obsolete by AC_PROG_LIBTOOL;
3577 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
3579 * pdf/pdf-document.cc:
3581 Remove 4 pixels of useless border from the
3584 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
3586 * backend/ev-document-thumbnails.c:
3587 (ev_document_thumbnails_get_thumbnail):
3588 * backend/ev-document-thumbnails.h:
3590 Rework API a bit. Add a border flag and
3591 change sizing logic (now the size we specify
3592 applies to the bigger dimension).
3594 * pdf/pdf-document.cc:
3595 * pixbuf/pixbuf-document.c:
3596 (pixbuf_document_thumbnails_get_thumbnail):
3597 * shell/ev-sidebar-thumbnails.c: (do_one_iteration):
3598 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3600 Adapt to the new API and do not draw a border for nautilus
3603 2005-03-03 Fernando Herrera <fherrera@onirica.com>
3605 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3606 take thumbnails from page "0" instead of "1". Added a copyright header.
3608 2005-03-03 Jens Granseuer <jensgr@gmx.net>
3610 * ps/ps-document.c: (set_up_page), (start_interpreter):
3612 Make it C89 compliant
3614 2005-03-03 Marco Pesenti Gritti <marco@gnome.org>
3619 * pdf/pdf-document.cc:
3620 * thumbnailer/Makefile.am:
3621 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
3623 * thumbnailer/evince-thumbnailer.schemas:
3624 * thumbnailer/pdf-icon.png:
3626 Add a nautilus thumbnailer.
3627 Based on patch by Fernando Herrera <fherrera@onirica.com>.
3629 2005-03-02 Marco Pesenti Gritti <marco@gnome.org>
3637 2005-03-01 Kristian Høgsberg <krh@redhat.com>
3639 Use poppler instead of including xpdf source code. Poppler is a
3640 fork of xpdf to build it as a shared library. See
3641 http://freedesktop.org/wiki/Software/poppler.
3643 * pdf/xpdf/*, pdf/goo/*, pdf/splash/*, pdf/fofi/*: Remove included
3646 * pdf/Makefile.am: Build libpdfdocument.a here.
3648 * pdf/GDKSplashOutputDev.cc:
3649 * pdf/GDKSplashOutputDev.h:
3650 * pdf/GnomeVFSStream.cc:
3651 * pdf/GnomeVFSStream.h:
3654 * test-gdk-output-dev.cc
3656 * Thumb.h: Pull these files out of pdf/xpdf and adjust to compile
3659 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
3661 * shell/ev-sidebar-links.c: (ev_sidebar_links_clear_document):
3663 Clear idle stack before unsetting the document
3665 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
3667 * ps/ps-document.c: (ps_document_widget_event),
3668 (ps_document_set_target), (ps_document_finalize),
3669 (ps_document_get_page):
3671 Disconnect the widget event signal on finalize.
3674 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
3676 * ps/ps-document.c: (set_up_page):
3678 If there is no bpixmap create one, even if size
3681 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
3683 * ps/ps-document.c: (ps_document_init), (ps_document_cleanup),
3684 (set_up_page), (document_load), (ps_document_set_zoom):
3686 Default page is 0. Calculate size even when we have no
3689 2005-02-28 Carlos Garcia Campos <carlosgc@gnome.org>
3691 * shell/ev-sidebar.c: expand the selection widget to be always as
3694 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
3696 * shell/ev-sidebar-thumbnails.c:
3697 (ev_sidebar_thumbnails_set_document):
3699 Clear the list store when setting document
3701 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
3703 * shell/ev-page-action.c: (update_entry), (sync_entry),
3704 (activate_cb), (entry_size_request_cb), (create_tool_item),
3707 Use an entry for the page control instead of spinbuttons
3709 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
3711 * data/evince.schemas.in:
3713 Correct confusing string
3715 Sun Feb 27 23:00:31 2005 Jonathan Blandford <jrb@redhat.com>
3717 * shell/ev-sidebar-links.c (do_one_iteration): Handle title links
3718 for real. Gosh, how long has this been broken.
3720 * pdf/xpdf/pdf-document.cc (build_link_from_action): add back the
3721 check for a NULL link. We crash otherwise.
3723 2005-02-27 Marco Pesenti Gritti <marco@gnome.org>
3730 2005-02-25 Sebastien Bacher <seb128@debian.org>
3732 * configure.ac: add the french translation.
3734 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
3736 * shell/ev-window.c:
3738 Remove unused header -> fix distcheck
3740 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
3742 * shell/ev-window.c: (update_window_title),
3743 (ev_window_popup_password_dialog):
3745 Unescape filename for display
3747 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
3749 * pdf/xpdf/pdf-document.cc:
3751 In get_page_size deal with rotation. Also
3752 cleanup the function a bit.
3754 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
3756 * pdf/xpdf/pdf-document.cc:
3758 Fix crash when opening in new window
3760 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
3764 Check ghostscript >= 7
3766 2005-02-25 Pedro Villavicencio <pvillavi@gnome.cl>
3768 * shell/ev-window.c:
3770 Make page width the default sizing mode
3772 2005-02-25 Carlos Garcia Campos <carlosgc@gnome.org>
3773 Marco Pesenti Gritti <marco@gnome.org>
3775 * shell/ev-window.c: Remember the sidebar size
3777 * data/evince.schemas.in: Add a new gconf key to store the size of
3780 2005-02-24 Kai Willadsen <kaiw@itee.uq.edu.au>
3782 * data/evince-ui.xml:
3783 * shell/ev-window.c: (update_action_sensitivity),
3784 (ev_window_cmd_view_reload):
3786 Add a "Reload" action and menu entry
3788 Thu Feb 24 23:07:33 2005 Jonathan Blandford <jrb@redhat.com>
3790 * shell/ev-window.c (hide_sidebar_and_actions): Hide the sidebar
3791 iff the type doesn't support thumbnailing and indexing.
3793 2005-02-24 Martin Kretzschmar <martink@gnome.org>
3795 * configure.ac (ALL_LINGUAS): Added "zh_TW" (Traditional Chinese).
3797 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
3799 * pdf/splash/Splash.cc:
3801 Port fix for a crasher from kde bug
3802 http://bugs.kde.org/show_bug.cgi?id=97131
3804 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
3806 * pdf/xpdf/pdf-document.cc:
3808 Return a link even if it's of an unrecognized
3809 type. Otherwise we go in an infinte cycle.
3811 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
3813 * shell/ev-window.c: (update_sizing_buttons), (update_view_size),
3814 (size_allocate_cb), (ev_window_set_sizing_mode):
3816 Update size when switching mode
3818 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
3820 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
3821 (ev_window_cmd_view_page_width), (update_sizing_buttons),
3822 (ev_window_cmd_view_normal_size):
3824 Fix size toggle buttons behavior
3826 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
3828 * shell/ev-view.c: (ev_view_get_offsets), (view_rect_to_doc_rect),
3829 (doc_rect_to_view_rect), (ev_view_size_allocate),
3830 (expose_bin_window), (ev_view_select_all), (page_changed_callback),
3831 (scale_changed_callback):
3833 Do not cache offsets in size_allocate.
3835 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
3837 * shell/ev-view.c: (ev_view_size_allocate):
3839 Calculate offsets before calling the parent
3840 class (which does a redraw)
3842 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
3844 * pdf/xpdf/pdf-document.cc:
3846 Fix a crasher on exit. Unused code, put a TODO
3848 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
3850 * backend/ev-document.c: (ev_document_class_init),
3851 (ev_document_page_changed), (ev_document_scale_changed):
3852 * backend/ev-document.h:
3854 Separate page/scale notifications
3856 * pdf/xpdf/pdf-document.cc:
3858 Emit the new signals.
3859 Do not display the pdf page in _render, do it
3860 when scale/page are requested.
3862 * ps/ps-document.c: (ps_document_set_zoom),
3863 (ps_document_widget_event):
3866 Emit the new signals.
3868 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
3869 (ev_view_init), (page_changed_callback), (scale_changed_callback),
3870 (ev_view_set_document), (ev_view_zoom), (ev_view_zoom_in),
3871 (ev_view_zoom_out), (size_to_zoom_factor), (ev_view_set_size):
3873 * shell/ev-window.c: (ev_window_cmd_view_normal_size),
3874 (ev_window_cmd_view_page_width), (size_allocate_cb),
3875 (ev_window_set_sizing_mode):
3877 Rework sizing to be pixel based.
3878 There are bugs but should be already way better.
3880 2005-02-23 Marco Pesenti Gritti <marco@gnome.org>
3882 * shell/ev-window.c: (ev_window_init):
3884 Do not allow to shrink sidebar smaller then
3887 2005-02-23 Carlos Garcia Campos <carlosgc@gnome.org>
3889 * shell/ev-sidebar.[ch]
3890 * shell/ev-window.c:
3892 Improved sidebar widget. Fixes #166683
3894 2005-02-23 Tommi Vainikainen <thv@iki.fi>
3896 * shell/ev-view.c (update_find_status_message): Give translators
3897 more flexibility with ngettext plural handling.
3899 Mon Feb 21 17:52:08 2005 Jonathan Blandford <jrb@redhat.com>
3901 * pdf/xpdf/pdf-document.cc (pdf_document_get_page_size): Patch
3902 from Crispin Flowerday <gnome@flowerday.cx> to avoid rendering the
3903 page when we get the page size.
3905 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
3907 * ps/ps-document.c: (ps_document_set_page), (ps_document_get_page):
3909 ps pages are 0 based, convert
3911 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
3913 * ps/ps-document.c: (ps_document_class_init), (ps_document_load):
3915 Initialize correct parent class. Set GError on document load
3917 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
3919 * pdf/xpdf/pdf-document.cc:
3921 Fixup selection offset calculation
3923 * shell/ev-view.c: (view_rect_to_doc_rect),
3924 (doc_rect_to_view_rect), (ev_view_size_allocate),
3925 (expose_bin_window), (ev_view_select_all), (ev_view_copy),
3926 (ev_view_primary_get_cb), (ev_view_motion_notify_event):
3928 Store selection as document relative, so that zooming
3929 and offset changing doesnt break it.
3931 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
3933 * shell/ev-view.c: (ev_view_best_fit):
3935 Do not try to best fit if the view is not realized
3937 2005-02-20 Kostas Papadimas <pkst@gnome.org>
3939 * configure.ac (ALL_LINGUAS): Added "el" (Greek).
3941 Fri Feb 18 16:06:39 2005 Jonathan Blandford <jrb@redhat.com>
3943 * shell/ev-window.c (ev_window_focus_in_event): missed a case.
3945 Fri Feb 18 15:32:57 2005 Jonathan Blandford <jrb@redhat.com>
3947 * shell/ev-window.c: Change the fullscreen toolbar to always be in
3948 the popup window. That prevents it resizing when in full screen
3951 * shell/ev-view.c: Change Zoom epsilon as a bad hack to avoid
3952 multiple rerenders. This pretty much sucks.
3954 * data/evince-ui.xml: Change the fullscreen toolbar to include the
3955 rest of the toolbar.
3957 2005-02-18 Tommi Vainikainen <thv@iki.fi>
3959 * configure.ac (ALL_LINGUAS): Added "fi" (Finnish).
3961 2005-02-17 Alexander Shopov <ash@contact.bg>
3963 * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
3965 2005-02-16 Bryan Clark <clarkbw@cvs.gnome.org>
3967 * shell/ev-window.c: added ellipsis to Print item. Fixes bug 166915
3969 2005-02-16 Marco Pesenti Gritti <marco@gnome.org>
3971 * shell/ev-view.c: (ev_view_realize), (highlight_find_results),
3972 (ev_view_create_invisible_cursor), (ev_view_set_cursor),
3973 (set_document_page), (document_changed_callback),
3974 (ev_view_set_document), (ev_view_find_previous),
3975 (ev_view_hide_cursor), (ev_view_show_cursor):
3977 * shell/ev-window.c: (update_chrome_visibility),
3978 (fullscreen_timeout_cb), (fullscreen_set_timeout),
3979 (fullscreen_clear_timeout), (fullscreen_motion_notify_cb),
3980 (fullscreen_leave_notify_cb), (ev_window_fullscreen),
3981 (ev_window_unfullscreen):
3982 * shell/main.c: (main):
3984 Automatically hide the fullscreen button.
3985 Patch by Kristian Høgsberg <krh@redhat.com>
3987 2005-02-16 Vincent Noel <vnoel@cox.net>
3989 * shell/main.c (main): Specify an icon for the window. Patch by
3990 Jaap A. Haitsma. Fixes #166177.
3992 Wed Feb 16 06:30:13 2005 Jonathan Blandford <jrb@redhat.com>
3994 * shell/ev-view.c (ev_view_realize): get rid of the black flash.
3996 Tue Feb 15 22:27:13 2005 Jonathan Blandford <jrb@redhat.com>
3998 * backend/ev-document-misc.h:
3999 * backend/ev-document-misc.c:
4000 (ev_document_misc_get_page_border_size),
4001 (ev_document_misc_paint_one_page): New function to canonicalize
4002 sizing/painting a border.
4004 * shell/Makefile.am: Remove ev-page-view.c entirely as it's not
4007 * pdf/xpdf/pdf-document.cc: use new function
4009 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
4010 (ev_view_init), (ev_view_set_mode), (ev_view_zoom),
4011 (ev_view_best_fit), (ev_view_fit_width): * shell/ev-view.h: *
4012 shell/ev-window.c: (update_sizing_buttons),
4013 (ev_window_setup_document), (ev_window_cmd_view_zoom_in),
4014 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_best_fit),
4015 (ev_window_cmd_view_page_width), (size_allocate_cb),
4016 (ev_window_set_sizing_mode), (ev_window_init): make the "best fit"
4017 and "fit width" values act as toggle buttons so they stay
4018 toggled. It's not 100% perfect, and it's a little slow, but it's
4019 good enough to commit I think.
4021 2005-02-15 David Lodge <dave@cirt.net>
4023 * configure.ac (ALL_LINGUAS): Added "en_GB" (English (British)).
4025 2005-02-15 Martin Kretzschmar <martink@gnome.org>
4027 * shell/ev-window.c (update_window_title): replace newlines in
4028 the title by spaces. Bug #166107.
4030 2005-02-14 Martin Kretzschmar <martink@gnome.org>
4032 * shell/ev-view.c (ev_view_best_fit, ev_view_fit_width): add
4033 parameters providing allocation width and height without
4034 scrollbars and width of a possible vertical scrollbar. With this
4035 additional information the functions can work as
4036 intended. Unfortunately they're not idempotent. We should
4037 transform these commands to toggles. Fixes Bug #164976
4038 Initial patch by Stephane Loeuillet, then heavily modified.
4040 * shell/ev-view.h: update prototypes.
4042 * shell/ev-window.c (ev_window_cmd_view_best_fit)
4043 (ev_window_cmd_view_page_width): provide EvView fit functions with
4044 all the information they need. Formulas to calculate this
4045 information taken from GtkScrolledWindow.
4047 2005-02-14 Crispin Flowerday <gnome@flowerday.cx>
4049 * shell/ev-sidebar-thumbnails.c: Ensure that after we have
4050 created a thumbnail, the list store is updated to know
4051 that the thumbnail is set. Fixes bug #166792
4053 2005-02-11 Bryan Clark <clarkbw@cvs.gnome.org>
4055 * shell/ev-window.c: fixed typo, closes bug 166897
4057 * TODO: updated TODO with bug numbers that are relevant
4059 2005-02-09 Carlos Garcia Campos <carlosgc@gnome.org>
4061 * shell/ev-window.c: Support for DnD of files. Fixes #164813
4063 2005-02-09 Vincent Noel <vnoel@cox.net>
4065 * shell/ev-window.c: (set_action_properties): Set the "Previous"
4066 and "Next" toolbar buttons as important to make them stand out.
4068 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
4072 * ps/ps-document.c: (ps_document_finalize), (set_up_page),
4073 (start_interpreter), (stop_interpreter), (document_load),
4074 (ps_document_next_page), (ps_document_goto_page),
4075 (ps_document_set_page_size), (ps_document_widget_event),
4076 (ps_document_render):
4077 * shell/ev-page-view.c: (ev_page_view_dispose):
4078 * shell/ev-view.c: (ev_view_finalize), (expose_bin_window):
4080 Fix compilation on non-gcc platforms
4082 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
4089 * pdf/xpdf/Catalog.cc:
4092 Fix the fix for CAN-2004-0888
4094 2005-02-09 Luca Ferretti <elle.uca@libero.it>
4097 * data/evince-ui.xml:
4098 * shell/ev-stock-icons.c: (ev_stock_icons_init):
4099 * shell/ev-stock-icons.h:
4100 * shell/ev-window.c: (update_action_sensitivity),
4101 (ev_window_cmd_go_previous_page), (ev_window_cmd_go_next_page),
4102 (set_action_properties):
4104 Improve toolbar layout/icons
4106 2005-02-08 Marco Pesenti Gritti <marco@gnome.org>
4108 * pdf/xpdf/pdf-document.cc:
4110 Add warnings about unimplemented/unknown link
4113 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4115 * ps/ps-document.c: (set_up_page):
4119 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4121 * ps/ps-document.c: (start_interpreter):
4125 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4127 * shell/ev-page-view.c: (ev_page_view_dispose):
4128 * shell/ev-view.c: (ev_view_finalize):
4129 * shell/ev-window.c: (ev_window_setup_document),
4130 (ev_window_dispose), (ev_window_init):
4132 Solve more refs issues.
4134 I commented out the page_view initialization for now:
4135 it was never destroyed (because it's never added
4136 to a container). Because of that we was leaking
4137 gs processes. Couldnt think to a clean fix.
4138 We need to figure this out, password view has the
4139 same issue probably.
4141 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4143 * ps/ps-document.c: (ps_document_finalize),
4144 (ps_document_get_n_pages), (ps_document_get_page):
4146 Some cleanups, stop the interpreter on finalize
4148 * shell/ev-page-view.c: (ev_page_view_dispose),
4149 (ev_page_view_class_init):
4151 Release our reference on the document
4153 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4157 * doc/debugging.txt:
4160 * lib/ev-debug.c: (log_module), (trap_handler), (ev_debug_init),
4161 (ev_profiler_new), (ev_should_profile), (ev_profiler_dump),
4162 (ev_profiler_free), (ev_profiler_start), (ev_profiler_stop):
4165 Add debugging helpers
4168 * ps/ps-document.c: (set_up_page), (start_interpreter),
4169 (stop_interpreter), (document_load), (ps_document_next_page),
4170 (ps_document_goto_page), (ps_document_set_page_size),
4171 (ps_document_widget_event), (ps_document_render):
4172 * shell/Makefile.am:
4173 * shell/ev-view.c: (expose_bin_window):
4174 * shell/main.c: (main):
4178 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4180 * ps/ps-document.c: (ps_document_widget_event):
4182 Initialize message_window, this should make ps
4183 rendering really work! (Never noticed because I was
4184 testing with a ps that is causing gs to exit every time!)
4186 2005-02-07 Bryan Clark <clarkbw@cvs.gnome.org>
4188 * data/evince.schemas.in: updated simple error in applyto closing tag
4190 2005-02-07 Christian Persch <chpe@cvs.gnome.org>
4196 * data/evince-ui.xml:
4197 A data/evince.schemas.in:
4199 * shell/ev-stock-icons.c: (ev_stock_icons_init):
4200 * shell/ev-stock-icons.h:
4201 * shell/ev-window.c: (update_chrome_visibility),
4202 (update_chrome_flag), (ev_window_cmd_edit_find),
4203 (ev_window_update_fullscreen_popup), (ev_window_fullscreen),
4204 (ev_window_unfullscreen), (ev_window_focus_in_event),
4205 (ev_window_focus_out_event), (ev_window_cmd_leave_fullscreen),
4206 (ev_window_view_toolbar_cb), (ev_window_view_statusbar_cb),
4207 (ev_window_view_sidebar_cb), (find_bar_close_cb),
4208 (ev_window_dispose), (ev_window_class_init),
4209 (set_action_properties), (set_chrome_actions), (load_chrome),
4212 Implement fullscreen mode changes from bug #164776.
4213 Also implement persistent chrome toggles.
4215 2005-02-07 Jordi Mallach <jordi@sindominio.net>
4217 * configure.ac (ALL_LINGUAS): Added "ca" (Catalan).
4219 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
4225 Add another check for find interface
4229 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
4231 * shell/ev-application.c: (ev_application_open):
4232 * shell/ev-window.c: (ev_window_open):
4234 Open gzipped ps documents
4236 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
4239 * shell/ev-view.c: (set_document_page):
4241 Clamp page number, dont try to move to
4244 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
4246 * backend/ev-document-find.c: (ev_document_find_changed):
4247 * backend/ev-document-find.h:
4248 * pdf/xpdf/pdf-document.cc:
4249 * shell/ev-view.c: (jump_to_find_result), (ev_view_set_document):
4250 * shell/ev-window.c: (find_bar_search_changed_cb):
4252 Fix several bugs with find
4254 2005-02-04 Martin Kretzschmar <martink@gnome.org>
4256 * shell/ev-sidebar-thumbnails.c
4257 (ev_sidebar_thumbnails_select_page): do nothing unless we have a
4258 document. Prevents warning from scroll_to_cell.
4260 2005-02-02 Kjartan Maraas <kmaraas@gnome.org>
4262 * configure.ac: Add «nb» to ALL_LINGUAS too.
4264 Wed Feb 2 21:13:11 2005 Jonathan Blandford <jrb@redhat.com>
4266 * NOTES: New file with some random thoughts.
4270 * backend/ev-document-misc.c:
4271 (ev_document_misc_get_page_border_size): New function to
4272 canonicalize shadow drawing sizes. Possibly goofy.
4274 * shell/ev-view.c: (ev_view_size_request), (set_document_page),
4275 (ev_view_best_fit), (ev_view_fit_width):
4276 * pdf/xpdf/pdf-document.cc:
4277 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
4278 * ps/ps-document.c: (ps_document_get_page_size):
4279 * backend/ev-document-misc.h:
4280 * backend/ev-document.c: (ev_document_get_page_size):
4281 * backend/ev-document.h: get_page_size now takes a page number
4282 parameter. Made all the backends/frontends honor it.
4284 * data/evince-ui.xml: Added a multiple-page mode. Uncomment to
4285 see. Doesn't work yet.
4287 * shell/Makefile.am:
4288 * shell/ev-page-view.[ch]: New multi-page view. Really rough.
4289 Doesn't do anything yet.
4291 * shell/ev-sidebar-thumbnails.c:
4292 (ev_sidebar_thumbnails_set_document): [1..n_pages] instead of
4295 * shell/ev-window.c: (update_action_sensitivity),
4296 (ev_window_setup_document), (ev_window_set_page_mode),
4297 (ev_window_page_mode_cb), (ev_window_init): Clean up the
4298 view-swapping code a bit so we can have multiple views on a
4299 document. Add the multi-page view, though it can't be turned on
4302 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
4304 * shell/ev-application.c: (ev_application_open):
4305 * shell/ev-view.c: (expose_bin_window):
4306 * shell/ev-window.c: (ev_window_open):
4308 Support eps and check document supports find
4309 before drawing highlightings in expose.
4311 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
4313 * pixbuf/pixbuf-document.c:
4314 (pixbuf_document_thumbnails_get_dimensions),
4315 (pixbuf_document_document_thumbnails_iface_init):
4317 implement get_dimensions
4319 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
4326 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
4328 * shell/ev-view.c: (set_document_page):
4330 Scroll at the top of the page when changing page
4332 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
4334 * shell/ev-view.c: (ev_view_motion_notify_event):
4336 Do not redraw unnecessarily
4338 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
4340 * pdf/xpdf/pdf-document.cc:
4341 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
4342 (expose_bin_window), (find_changed_cb):
4344 Yay! find works now... Now to find bugs...
4346 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
4348 * backend/ev-document-find.c: (ev_document_find_base_init),
4349 (ev_document_find_changed):
4350 * backend/ev-document-find.h:
4351 * pdf/xpdf/pdf-document.cc:
4352 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
4353 (expose_bin_window), (ev_view_init), (set_document_page),
4354 (ensure_rectangle_is_visible), (jump_to_find_result),
4355 (jump_to_find_page), (find_changed_cb), (ev_view_set_document),
4356 (ev_view_find_next), (ev_view_find_previous):
4358 * shell/ev-window.c: (find_bar_previous_cb), (find_bar_next_cb):
4360 More work on find implementation, mostly there now
4362 2005-01-29 Marco Pesenti Gritti <marco@gnome.org>
4364 * backend/ev-backend-marshalers.list:
4365 * backend/ev-document-find.c: (ev_document_find_base_init),
4366 (ev_document_find_cancel), (ev_document_find_page_has_results),
4367 (ev_document_find_get_n_results), (ev_document_find_get_result),
4368 (ev_document_find_get_progress), (ev_document_find_changed):
4369 * backend/ev-document-find.h:
4371 Enanche the find interface to be really able to do
4374 * pdf/xpdf/pdf-document.cc:
4378 * shell/ev-view.c: (ev_view_finalize), (highlight_find_results),
4379 (expose_bin_window), (ev_view_init),
4380 (ev_view_get_find_status_message), (find_changed_cb),
4381 (ev_view_set_document), (set_document_page):
4383 Adapt to the new interface. A few things are regressed sorry,
4384 I will finish it soon.
4386 2005-01-28 Martin Kretzschmar <martink@gnome.org>
4388 * shell/ev-sidebar-thumbnails.c (ev_sidebar_thumbnails_destroy)
4389 (ev_sidebar_thumbnails_class_init): use G_DEFINE_TYPE-supplied
4390 ev_sidebar_thumbnails_parent_class variable, don't define another
4391 parent_class variable.
4393 * shell/ev-page-action.c (connect_proxy, ev_page_action_finalize)
4394 (ev_page_action_class_init): ditto.
4396 * pixbuf/pixbuf-document.c (pixbuf_document_finalize)
4397 (pixbuf_document_class_init): ditto.
4399 * backend/ev-link.c (ev_window_dispose, ev_link_class_init):
4402 * .cvsignore: ignore various valgrind output files.
4404 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
4406 * data/evince-ui.xml:
4407 * shell/Makefile.am:
4408 * shell/ev-history.c:
4409 * shell/ev-history.h:
4410 * shell/ev-navigation-action.c:
4411 * shell/ev-navigation-action.h:
4412 * shell/ev-view.c: (ev_view_finalize), (ev_view_go_to_link),
4413 (ev_view_set_page), (ev_view_fit_width):
4415 * shell/ev-window.c: (update_action_sensitivity),
4416 (ev_window_setup_document), (register_custom_actions):
4418 Kill session history
4420 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
4422 * shell/ev-window.c: (update_action_sensitivity):
4424 Fix inverted up/down buttons
4426 2005-01-27 Martin Kretzschmar <martink@gnome.org>
4428 * shell/ev-sidebar-thumbnails.c
4429 (ev_sidebar_thumbnails_select_page): make sure the selected
4430 thumbnail stays visible.
4432 2005-01-26 Martin Kretzschmar <martink@gnome.org>
4434 * shell/ev-window.c (ev_window_init): add GTK_SHADOW_IN to the
4435 scrolled window for Federico.
4437 2005-01-26 Ole Laursen <olau@hardworking.dk>
4439 * configure.ac: Added "da" (Danish) to ALL_LINGUAS.
4441 2005-01-26 Marco Pesenti Gritti <marco@gnome.org>
4444 * pdf/splash/SplashFTFontEngine.cc:
4446 Fix CID fonts with freetype 2.1.9
4448 2005-01-26 Bryan Clark <clarkbw@cvs.gnome.org>
4450 * TODO: added item for desktop icon thumbnailer
4452 Tue Jan 25 00:59:34 2005 Jonathan Blandford <jrb@redhat.com>
4454 * pdf/xpdf/pdf-document.cc (pdf_document_get_title): guard against
4455 unloaded docs when the title is accessed.
4457 * shell/ev-password-view.[hc]: New widget for displaying password
4460 * shell/ev-window.[ch]: Refactor password handling code to handle
4463 2005-01-24 Marco Pesenti Gritti <marco@gnome.org>
4471 2005-01-23 Stephane LOEUILLET <stephane.loeuillet@tiscali.fr>
4473 * pdf/xpdf/pdf-document.cc (pdf_document_search_page_changed):
4474 ignore page offset here, to make search results independent of it,
4476 * shell/ev-view.c (expose_bin_window): but take offsets into
4477 account here. Bug #164932
4479 * pdf/xpdf/pdf-document.cc (pdf_document_get_link): divide by
4480 scale at the right time. Bug #164996
4482 2005-01-22 Martin Kretzschmar <martink@gnome.org>
4484 * pdf/xpdf/GlobalParams.cc: My 2005-01-05 change didn't actually
4485 fix the problem. Now I just removed the Adobe font names and hope
4486 that the URW fonts are always in outline format. Bug #164934
4488 * shell/ev-window.c (update_window_title): empty titles are
4489 useless, use filename in that case too.
4491 * NEWS: Add some content.
4493 2005-01-21 Bryan Clark <clarkbw@cvs.gnome.org>
4495 * TODO: added one more TODO item and a TODONE section :)
4497 2005-01-21 Martin Kretzschmar <martink@gnome.org>
4499 * ps/ps-document.h: add page_[xy]_offset fields.
4501 * ps/ps-document.c (ps_document_set_page_offset)
4502 (ps_document_render): Keep offset in consideration in a few
4503 places. Bug #164752 "postscript documents are not centered in
4506 * data/evince.desktop.in (X-GNOME-Bugzilla-Product):
4507 s/gpdf/evince/. Spotted by Stephane Loeuillet.
4509 * pixbuf/pixbuf-document.c (pixbuf_document_get_n_pages)
4510 (pixbuf_document_get_text, pixbuf_document_document_iface_init):
4511 stub out missing methods for complete EvDocument implementation.
4512 Fixes segfaults with Save A Copy and Copy actions.
4514 * ps/ps-document.c (ps_document_save, ps_document_get_text)
4515 (ps_document_document_iface_init): ditto.
4517 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
4521 * data/evince.desktop.in:
4525 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
4527 * shell/ev-view.c: (ev_view_button_press_event),
4528 (ev_view_motion_notify_event):
4530 Make selection work in any direction
4532 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
4535 * shell/ev-window.c: (set_short_labels), (ev_window_init):
4537 Use shorter labels for some of the toolbars items
4539 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
4541 * pdf/xpdf/pdf-document.cc:
4543 Check the links info is initialized before
4544 using it. Should fix a crash on startup.
4546 2005-01-21 Martin Kretzschmar <martink@gnome.org>
4548 * pixbuf/pixbuf-document.c
4549 (pixbuf_document_thumbnails_get_dimensions): force floating point
4550 division to calculate page_ratio. Fixes crash with landscape
4553 Thu Jan 20 18:56:35 2005 Jonathan Blandford <jrb@redhat.com>
4555 * shell/ev-view.c (ev_view_realize): make the bg color darker.
4557 2005-01-20 Martin Kretzschmar <martink@gnome.org>
4559 * shell/ev-view.c (set_document_page): unset has_selection when
4561 (set_document_page): handle paper size changes when the page
4562 changes (test with Free Culture, page 2).
4564 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
4566 * shell/ev-view.c: (ev_view_size_request), (ev_view_realize),
4567 (expose_bin_window), (ev_view_class_init), (ev_view_init):
4569 Use normal style color for the widget background and
4570 draw a black box around the page.
4572 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
4574 * pdf/xpdf/pdf-document.cc:
4576 Keep offset in consideration in a few places
4578 * shell/ev-view.c: (expose_bin_window):
4580 Set the offsets so that the document is ever centered
4582 2005-01-20 Bryan Clark <clarkbw@cvs.gnome.org>
4584 * TODO: Added TODO items and finished off the first todo item
4586 * AUTHORS: Updated AUTHORS section with piece from gpdf file and
4587 reflect current authors
4589 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
4591 * pdf/xpdf/pdf-document.cc:
4592 * shell/ev-view.c: (ev_view_set_cursor),
4593 (ev_view_motion_notify_event), (document_changed_callback),
4594 (set_document_page):
4596 Show a wait cursor while the page is rendering
4598 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
4600 * shell/ev-sidebar-thumbnails.c:
4601 (ev_sidebar_tree_selection_changed),
4602 (ev_sidebar_thumbnails_select_page):
4603 * shell/ev-sidebar-thumbnails.h:
4604 * shell/ev-view.c: (ev_view_set_document), (ev_view_can_go_back),
4605 (ev_view_can_go_forward):
4606 * shell/ev-window.c: (ev_window_open_page),
4607 (ev_window_setup_document), (update_current_page),
4608 (view_page_changed_cb), (ev_window_init):
4609 * shell/ev-window.h:
4611 Ensure thumbnails selection, toolbar page control and
4612 current page are in sync.
4614 2005-01-19 Marco Pesenti Gritti <marco@gnome.org>
4620 Wed Jan 19 01:10:57 2005 Jonathan Blandford <jrb@redhat.com>
4622 * backend/Makefile.am:
4623 * backend/ev-document-links.h:
4624 * backend/ev-document-security.c: (ev_document_security_get_type),
4625 (ev_document_security_has_document_security),
4626 (ev_document_security_set_password):
4627 * backend/ev-document-security.h:
4628 * backend/ev-document.c: (ev_document_error_quark):
4629 * backend/ev-document.h:
4631 * data/evince-password.glade:
4632 * pdf/xpdf/pdf-document.cc:
4633 * shell/Makefile.am:
4634 * shell/ev-password.c: (ev_password_set_bad_password_label),
4635 (ev_window_password_entry_changed_cb), (ev_password_dialog_new),
4636 (ev_password_dialog_get_password),
4637 (ev_password_dialog_set_bad_pass):
4638 * shell/ev-password.h:
4639 * shell/ev-window.c: (ev_window_get_attribute),
4640 (ev_window_set_property), (update_action_sensitivity),
4641 (ev_window_is_empty), (mime_type_supported_by_gdk_pixbuf),
4642 (ev_window_setup_document), (ev_window_get_password),
4643 (ev_window_open), (ev_window_cmd_save_as),
4644 (using_postscript_printer), (ev_window_print),
4645 (find_not_supported_dialog), (ev_window_cmd_edit_find),
4646 (update_fullscreen_popup), (ev_window_fullscreen),
4647 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
4648 (ev_window_focus_out_cb), (ev_window_cmd_help_about),
4649 (menu_item_select_cb), (find_bar_search_changed_cb),
4650 (ev_window_dispose), (ev_window_init):
4652 Add initial support for password-supported dialogs. This could be
4653 a lot cooler, but it'll do for now.
4655 2005-01-18 Marco Pesenti Gritti <marco@gnome.org>
4657 * pdf/xpdf/pdf-document.cc:
4658 * shell/ev-view.c: (status_message_from_link),
4659 (ev_view_set_status), (ev_view_set_cursor),
4660 (ev_view_motion_notify_event), (ev_view_init):
4661 * shell/ev-window.c: (view_status_changed_cb), (ev_window_init):
4663 Fix bugs in the links implementation and change cursor
4664 when hovering a link.
4666 2005-01-17 Bryan Clark <clarkbw@cvs.gnome.org>
4668 * viewer/.cvsignore: added cvsignore file for viewer directory
4670 * TODO: created TODO document
4672 2005-01-14 Dave Malcolm <dmalcolm@redhat.com>
4675 * shell/ev-view.c (ev_view_can_go_back), (ev_view_can_go_forward):
4676 new functions to help with implementation of sensitivity code
4677 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
4678 of all actions that might require it. Fixes a crash when you
4679 click on the Zoom actions in a window lacking a document.
4681 2005-01-13 Dave Malcolm <dmalcolm@redhat.com>
4683 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
4686 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
4688 * pixbuf/pixbuf-document.c: (pixbuf_document_get_link),
4689 (pixbuf_document_document_iface_init):
4690 * ps/ps-document.c: (ps_document_get_link),
4691 (ps_document_document_iface_init):
4692 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event),
4693 (status_message_from_link), (ev_view_set_status),
4694 (ev_view_set_find_status), (ev_view_motion_notify_event),
4695 (ev_view_button_release_event), (ev_view_set_property),
4696 (ev_view_get_property), (ev_view_class_init), (ev_view_init),
4697 (ev_view_get_find_status_message), (update_find_results),
4698 (ev_view_get_status), (ev_view_get_find_status):
4700 * shell/ev-window.c: (view_status_changed_cb),
4701 (view_find_status_changed_cb), (ev_window_init):
4703 View status message support, use it to show the links.
4706 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
4708 * backend/ev-document.c: (ev_document_get_link):
4709 * backend/ev-document.h:
4710 * pdf/xpdf/pdf-document.cc:
4711 * shell/ev-application.c: (ev_application_open):
4712 * shell/ev-application.h:
4713 * shell/ev-sidebar-links.c: (selection_changed_cb):
4714 * shell/ev-view.c: (ev_view_button_release_event), (go_to_link),
4715 (ev_view_go_to_link):
4717 Add support for document links
4719 2005-01-13 Anders Carlsson <andersca@gnome.org>
4721 * shell/ev-page-action.c: (update_spin), (total_pages_changed_cb),
4723 Set the spin button limits correctly.
4725 * shell/ev-sidebar-thumbnails.c:
4726 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init):
4727 Support changing pages by clicking on the thumbnails.
4729 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
4731 * pixbuf/pixbuf-document.c:
4732 (pixbuf_document_thumbnails_get_dimensions),
4733 (pixbuf_document_document_thumbnails_iface_init):
4735 implement get_dimensions
4737 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
4739 * ps/ps-document.c: (ps_document_goto_page):
4741 Fix page switching on multipage documents
4743 2005-01-12 Jeff Muizelaar <jrmuizel@nit.ca>
4745 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
4747 check for NULL before assigning to width and height parameters
4749 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
4751 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
4752 (pixbuf_document_set_property), (pixbuf_document_get_property):
4754 implement get/set properties
4756 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
4758 * pdf/xpdf/pdf-document.cc: (pdf_info_dict_get_string):
4760 return NULL instead of "Unknown", letting the title get set to
4761 the filename when the pdf has no title.
4763 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
4765 * ps/ps-document.c: (ps_document_get_page_count),
4766 (ps_document_goto_page):
4768 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
4770 * shell/ev-history.c: (ev_history_get_property),
4771 (ev_history_set_property), (ev_history_class_init),
4772 (ev_history_add_page), (ev_history_set_current_index):
4773 * shell/ev-navigation-action.c: (ev_navigation_action_set_history),
4774 (activate_menu_item_cb), (new_history_menu_item), (build_menu),
4775 (ev_navigation_action_finalize):
4776 * shell/ev-navigation-action.h:
4777 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
4778 (ev_view_go_forward), (ev_view_get_find_status_message),
4779 (history_index_changed_cb), (ev_view_set_history):
4781 * shell/ev-window.c: (update_total_pages), (ev_window_open),
4782 (update_current_page), (register_custom_actions):
4784 Implement history dropdowns
4786 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
4788 * shell/ev-history.c: (ev_history_init), (ev_history_add_link):
4789 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
4790 (ev_view_go_forward):
4791 * shell/ev-window.c: (register_custom_actions):
4793 Fix several history bugs
4795 2005-01-11 Kjartan Maraas <kmaraas@gnome.org>
4797 * configure.ac: Add «nb» to ALL_LINGUAS.
4799 2005-01-10 Marco Pesenti Gritti <marco@gnome.org>
4801 * backend/Makefile.am:
4802 * backend/ev-bookmark.c:
4803 * backend/ev-bookmark.h:
4804 * backend/ev-document-bookmarks.c:
4805 * backend/ev-document-bookmarks.h:
4806 * backend/ev-document-links.c: (ev_document_links_get_type),
4807 (ev_document_links_has_document_links),
4808 (ev_document_links_begin_read), (ev_document_links_get_link),
4809 (ev_document_links_get_child), (ev_document_links_next),
4810 (ev_document_links_free_iter):
4811 * backend/ev-document-links.h:
4812 * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_title),
4813 (ev_link_set_title), (ev_link_get_uri), (ev_link_set_uri),
4814 (ev_link_get_link_type), (ev_link_set_link_type),
4815 (ev_link_get_page), (ev_link_set_page), (ev_link_get_property),
4816 (ev_link_set_property), (ev_window_dispose), (ev_link_init),
4817 (ev_link_class_init), (ev_link_new_title), (ev_link_new_page),
4818 (ev_link_new_external):
4819 * backend/ev-link.h:
4820 * pdf/xpdf/pdf-document.cc:
4821 * shell/Makefile.am:
4822 * shell/ev-application.c: (ev_application_open_link):
4823 * shell/ev-application.h:
4824 * shell/ev-history.c: (ev_history_add_link), (ev_history_add_page),
4825 (ev_history_get_link_nth):
4826 * shell/ev-history.h:
4827 * shell/ev-sidebar-bookmarks.c:
4828 * shell/ev-sidebar-bookmarks.h:
4829 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
4830 (ev_sidebar_links_class_init), (selection_changed_cb),
4831 (ev_sidebar_links_construct), (ev_sidebar_links_init),
4832 (links_page_num_func), (ev_sidebar_links_new), (stack_data_free),
4833 (do_one_iteration), (populate_links_idle),
4834 (ev_sidebar_links_clear_document), (ev_sidebar_links_set_document):
4835 * shell/ev-sidebar-links.h:
4836 * shell/ev-sidebar.c: (ev_sidebar_set_document):
4837 * shell/ev-view.c: (go_to_link), (ev_view_go_to_link),
4840 * shell/ev-window.c: (ev_window_open_link), (ev_window_init):
4841 * shell/ev-window.h:
4843 Rename bookmark to link, and use "Index" for the sidebar panel.
4845 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
4847 * shell/Makefile.am:
4848 * shell/ev-application.c: (ev_application_open_bookmark):
4849 * shell/ev-application.h:
4850 * shell/ev-history.c: (ev_history_init), (free_links_list),
4851 (ev_history_finalize), (ev_history_class_init),
4852 (ev_history_add_link), (ev_history_add_page),
4853 (ev_history_get_link_nth), (ev_history_get_n_links),
4854 (ev_history_get_current_index), (ev_history_set_current_index),
4856 * shell/ev-history.h:
4857 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
4858 * shell/ev-view.c: (ev_view_finalize), (ev_view_set_document),
4859 (set_document_page), (go_to_bookmark), (ev_view_go_to_bookmark),
4860 (go_to_index), (ev_view_go_back), (ev_view_go_forward),
4863 * shell/ev-window.c: (ev_window_open_bookmark),
4864 (ev_window_cmd_go_back), (ev_window_cmd_go_forward),
4865 (goto_page_cb), (register_custom_actions):
4866 * shell/ev-window.h:
4868 Initial history implementation. Needs work.
4870 2005-01-09 Martin Kretzschmar <martink@gnome.org>
4872 * pdf/xpdf/GDKSplashOutputDev.cc (redraw): fix pixbuf data offset.
4874 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
4876 * cut-n-paste/recent-files/egg-recent-item.c:
4877 * cut-n-paste/recent-files/egg-recent-item.h:
4878 * cut-n-paste/recent-files/egg-recent-model.c:
4879 * cut-n-paste/recent-files/egg-recent-util.c:
4880 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
4881 * cut-n-paste/recent-files/egg-recent-view.c:
4885 2005-01-08 Martin Kretzschmar <martink@gnome.org>
4887 * pdf/splash/Splash.cc (clear, drawPixel, drawSpan, xorSpan, getPixel)
4888 (fillGlyph, fillImageMask, drawImage):
4889 pdf/splash/SplashBitmap.cc (SplashBitmap, ~SplashBitmap, writePNMFile):
4890 pdf/splash/SplashTypes.h:
4891 pdf/xpdf/SplashOutputDev (startPage, getColor, imageSrc): implement RGB8
4892 packed mode for Splash.
4894 * pdf/xpdf/GDKSplashOutputDev.cc (GDKSplashOutputDev, redraw): use
4895 RGB8 packed mode, eliminates the pixbuf data creation loop.
4897 * shell/ev-print-job.c (ev_print_job_finalize)
4898 (ev_print_job_set_property, ev_print_job_get_property)
4899 (ev_print_job_set_gnome_print_job, ev_print_job_set_document)
4900 (ev_print_job_use_print_dialog_settings, idle_print_handler)
4901 (print_closure_finalize, ev_print_job_print): implement
4902 printing (for backends with EvPsExporter)
4904 * shell/ev_print_job.h: update prototypes.
4906 * shell/ev-window.c (ev_window_print): unref print job after
4909 * shell/ev-view.c (ev_view_set_document): don't connect to "found"
4910 unless the document implements the EvDocumentFind interface.
4912 2005-01-08 Satoru SATOH <ss@gnome.gr.jp>
4914 * configure.ac: Added ja to ALL_LINGUAS.
4916 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
4918 * pdf/xpdf/pdf-document.cc:
4920 add a FIXME. We should probably not allocate
4921 a bookmark object every time
4923 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
4925 * shell/ev-application.c: (ev_application_open),
4926 (ev_application_open_bookmark):
4927 * shell/ev-application.h:
4929 Add a way to open bookmarks
4931 * backend/ev-bookmark.c: (ev_bookmark_get_uri),
4932 (ev_bookmark_set_uri), (ev_bookmark_get_property),
4933 (ev_bookmark_set_property), (ev_bookmark_class_init),
4934 (ev_bookmark_new_title), (ev_bookmark_new_link),
4935 (ev_bookmark_new_external):
4937 Support for external uris, better constructors.
4939 * backend/ev-bookmark.h:
4940 * pdf/xpdf/pdf-document.cc:
4941 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
4943 Handle external uris
4945 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
4947 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb),
4948 (ev_sidebar_bookmarks_construct), (do_one_iteration):
4950 Hook up bookmarks navigation
4952 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
4954 * backend/Makefile.am:
4955 * backend/ev-bookmark.c: (ev_bookmark_type_get_type),
4956 (ev_bookmark_get_title), (ev_bookmark_set_title),
4957 (ev_bookmark_get_bookmark_type), (ev_bookmark_set_bookmark_type),
4958 (ev_bookmark_get_page), (ev_bookmark_set_page),
4959 (ev_bookmark_get_property), (ev_bookmark_set_property),
4960 (ev_window_dispose), (ev_bookmark_init), (ev_bookmark_class_init),
4962 * backend/ev-bookmark.h:
4963 * backend/ev-document-bookmarks.c:
4964 (ev_document_bookmarks_get_bookmark):
4965 * backend/ev-document-bookmarks.h:
4966 * pdf/xpdf/pdf-document.cc:
4967 * shell/ev-sidebar-bookmarks.c: (do_one_iteration):
4969 Add a bookmark object to the backend and use it instead of get_values
4971 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
4973 * data/evince-ui.xml:
4975 Cleanup and add select all.
4977 * shell/ev-view.c: (ev_view_select_all),
4978 (ev_view_button_press_event):
4980 * shell/ev-window.c: (ev_window_cmd_edit_select_all):
4983 Clear selection on click.
4985 Fri Jan 7 01:28:58 2005 Jonathan Blandford <jrb@redhat.com>
4987 * shell/ev-sidebar-thumbnails.c
4988 (ev_sidebar_thumbnails_set_document): forgot to unref the
4991 Fri Jan 7 01:22:48 2005 Jonathan Blandford <jrb@redhat.com>
4993 * shell/ev-sidebar-thumbnails.c: fill in the thumbnails starting
4994 at the visible page, not just linearly. This makes it look fast.
4996 Thu Jan 6 18:48:11 2005 Jonathan Blandford <jrb@redhat.com>
4998 * backend/ev-document-misc.c
4999 (ev_document_misc_get_thumbnail_frame): fill in the thumbnail with
5001 * backend/ev-document-thumbnails.h: New interface to get the size
5004 2005-01-06 Jeremy Katz <katzj@redhat.com>
5006 * shell/Makefile.am (evince_SOURCES): Add ev-utils.[ch] so that
5009 Wed Jan 5 15:38:28 2005 Jonathan Blandford <jrb@redhat.com>
5011 * pdf/xpdf/pdf-document.cc (bitmap_to_pixbuf): bypass
5012 GDKSplashOutputDev and just use a normal SplashOutputDev. Speeds
5015 * shell/ev-sidebar-thumbnail.c: start of some profiling code.
5017 2005-01-05 Martin Kretzschmar <martink@gnome.org>
5019 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): match only outline
5020 fonts. Should fix font problems on systems that have the base
5021 fonts in bitmap format. Reported by James Henstridge
5022 <james@jamesh.id.au>.
5024 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5027 * pdf/xpdf/GfxState.cc:
5029 Fix for CAN-2004-1125
5031 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5033 * shell/ev-view.c: (ev_view_copy):
5035 * shell/ev-window.c: (ev_window_cmd_edit_copy):
5037 Implement Edit->Copy
5039 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5041 * backend/ev-document.c: (ev_document_get_text):
5042 * backend/ev-document.h:
5043 * pdf/xpdf/pdf-document.cc:
5044 * shell/ev-view.c: (ev_view_realize), (expose_bin_window),
5045 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
5046 (ev_view_update_primary_selection), (ev_view_button_press_event),
5047 (ev_view_motion_notify_event), (ev_view_button_release_event):
5049 Beginnings of clipboard support. Incomplete but primary sort
5052 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5054 * shell/ev-view.c: (ev_gdk_color_to_rgb), (draw_rubberband),
5055 (expose_bin_window):
5057 Nicer rubberband drawing, from GtkIconView.
5059 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5061 * backend/ev-document.c: (ev_document_save):
5062 * backend/ev-document.h:
5063 * data/evince-ui.xml:
5064 * pdf/xpdf/pdf-document.cc:
5065 * shell/ev-window.c: (save_error_dialog), (ev_window_cmd_save_as):
5067 Implement "Save a copy..." menu item
5069 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5071 * shell/ev-view.c: (ev_view_zoom):
5073 Queue a resize when zoom changes
5075 Wed Jan 5 02:33:06 2005 Jonathan Blandford <jrb@redhat.com>
5077 * backend/ev-document-misc.[ch]: New misc file to do simple drop
5080 * pdf/xpdf/pdf-document.cc: use the drop shadows in both types of
5083 Tue Jan 4 22:32:32 2005 Jonathan Blandford <jrb@redhat.com>
5085 * pdf/xpdf/pdf-document.cc
5086 (pdf_document_thumbnails_get_page_pixbuf): poor man's dropshadow.
5088 Tue Jan 4 21:25:05 2005 Jonathan Blandford <jrb@redhat.com>
5090 * pdf/xpdf/pdf-document.cc: Do real thumbnailing of PDF files.
5091 It's slow, but I'll speed it up next!
5093 2005-01-04 Jeff Muizelaar <jrmuizel@nit.ca>
5095 * shell/main.c (load_files):
5097 use gnome_vfs_make_uri_from_shell_arg so that relative paths work
5098 from the command line and because it seems more appropriate.
5100 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
5102 * data/evince-ui.xml:
5103 * shell/ev-window.c: (update_action_sensitivity),
5104 (ev_window_cmd_go_page_up), (ev_window_cmd_go_page_down):
5106 s/next page/page down
5107 s/previous page/page up
5109 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
5111 * data/evince-ui.xml:
5113 Change the layout to match clarkbw design.
5115 * shell/Makefile.am:
5116 * shell/ev-navigation-action.c: (build_menu), (menu_activated_cb),
5117 (set_tooltip_cb), (connect_proxy), (ev_navigation_action_init),
5118 (ev_navigation_action_finalize),
5119 (ev_navigation_action_set_property),
5120 (ev_navigation_action_get_property),
5121 (ev_navigation_action_class_init):
5122 * shell/ev-navigation-action.h:
5124 Implement clarkbw toolbar navigation controls (incomplete)
5126 * shell/ev-page-action.c: (update_label), (update_spin),
5127 (value_changed_cb), (create_tool_item), (connect_proxy),
5128 (ev_page_action_init), (ev_page_action_finalize),
5129 (ev_page_action_set_property), (ev_page_action_get_property),
5130 (ev_page_action_set_current_page),
5131 (ev_page_action_set_total_pages), (ev_page_action_class_init):
5132 * shell/ev-page-action.h:
5134 Implement a page switcher in the toolbar
5136 * shell/ev-view.c: (ev_view_scroll_view):
5137 * shell/ev-window.c: (update_total_pages), (ev_window_open),
5138 (update_current_page), (view_page_changed_cb), (goto_page_cb),
5139 (register_custom_actions), (ev_window_init):
5141 Change page on PageUp/Down.
5143 Tue Jan 4 03:22:56 2005 Jonathan Blandford <jrb@redhat.com>
5145 * pdf/xpdf/pdf-document.cc
5146 (pdf_document_thumbnails_get_thumbnail): initial stab at
5147 implementing thumbnail support for pdfs. It only does documents
5148 with precached pdfs now.
5150 Mon Jan 3 17:22:25 2005 Jonathan Blandford <jrb@redhat.com>
5152 * shell/ev-sidebar-thumbnails.c (do_one_iteration): move the
5153 thumbnail code into a time-based idle as well. Also, turn off the
5154 shadow temporarily as it's really slow.
5156 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
5158 * backend/ev-document.c: (ev_document_class_init):
5159 * pdf/xpdf/pdf-document.cc:
5160 * shell/ev-window.c: (ev_window_open):
5162 Fix document title bugs and fallback to
5163 filename when not available.
5165 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
5167 * backend/ev-document.c: (ev_document_get_type),
5168 (ev_document_class_init), (ev_document_load),
5169 (ev_document_get_title):
5170 * backend/ev-document.h:
5171 * pdf/xpdf/pdf-document.cc:
5172 * ps/ps-document.c: (ps_document_set_property),
5173 (ps_document_get_property), (ps_document_class_init),
5177 * shell/ev-window.c: (update_window_title), (ev_window_open),
5180 Initial support for document title. Not working yet.
5182 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
5184 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event):
5186 Grab focus on the view when clicking it
5188 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
5190 * shell/ev-marshal.list:
5191 * shell/ev-view.c: (ev_view_realize), (add_scroll_binding),
5192 (ev_view_scroll_view), (ev_view_class_init), (ev_view_init):
5194 Add key bindings to the view. Now if the focus would work
5197 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
5200 * backend/Makefile.am:
5203 * dvi/dvilib/Makefile.am:
5204 * pdf/xpdf/Makefile.am:
5210 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5212 * shell/ev-view.c: (ev_view_realize):
5214 Fix mouse wheel scrolling
5216 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5222 * ps/ps-document.c: (catchPipe), (ps_document_init),
5223 (ps_document_class_init), (ps_document_cleanup),
5224 (ps_document_finalize), (send_ps), (ps_document_get_orientation),
5225 (set_up_page), (close_pipe), (is_interpreter_ready),
5226 (interpreter_failed), (output), (input), (start_interpreter),
5227 (stop_interpreter), (file_length), (file_readable),
5228 (check_filecompressed), (check_pdf), (compute_xdpi),
5229 (compute_ydpi), (compute_size), (ps_document_enable_interpreter),
5230 (ps_document_get_type), (ps_document_emit_error_msg),
5231 (document_load), (ps_document_next_page),
5232 (ps_document_get_current_page), (ps_document_get_page_count),
5233 (ps_document_goto_page), (ps_document_set_page_size),
5234 (ps_document_zoom_to_fit), (ps_document_set_zoom),
5235 (ps_document_load), (ps_document_get_n_pages),
5236 (ps_document_set_page), (ps_document_get_page),
5237 (ps_document_widget_event), (ps_document_set_target),
5238 (ps_document_set_scale), (ps_document_set_page_offset),
5239 (ps_document_get_page_size), (ps_document_render),
5240 (ps_document_document_iface_init):
5243 * shell/ev-window.c: (ev_window_open):
5245 Rename GtkGS to PSDocument
5247 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5249 * ps/gtkgs.c: (gtk_gs_class_init):
5252 Some more leftover...
5254 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5256 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_get_orientation),
5257 (output), (stop_interpreter), (gtk_gs_emit_error_msg),
5258 (gtk_gs_zoom_to_fit), (gtk_gs_set_zoom):
5261 Remove unused code and make a lot of stuff private
5263 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5265 * ps/gsdefaults.c: (gtk_gs_defaults_gconf_client),
5266 (gtk_gs_defaults_changed):
5272 Cleanup headers dependencies
5274 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5279 * ps/gsdefaults.c: (gtk_gs_defaults_get_paper_sizes):
5281 * ps/gtkgs.c: (file_length), (file_readable),
5282 (check_filecompressed), (check_pdf), (gtk_gs_load),
5283 (gtk_gs_get_postscript):
5287 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
5292 * ps/gtkgs.c: (gtk_gs_set_zoom):
5296 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
5298 * ps/gtkgs.c: (gtk_gs_set_zoom), (gtk_gs_set_zoom_mode):
5300 Ensure the page is rerendered when changing zoom
5302 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
5304 * backend/ev-document.c: (ev_document_base_init),
5305 (ev_document_changed):
5306 * backend/ev-document.h:
5308 Add a changed event that is emitted when the page content
5309 changes. This is necessary to deal with the fact that
5310 in ps backend rendering happen asycrounously.
5311 This makes the ps backend mostly work.
5313 * pdf/xpdf/pdf-document.cc:
5317 * ps/gtkgs.c: (set_up_page), (gtk_gs_widget_event),
5318 (ps_document_set_target):
5322 * shell/ev-view.c: (document_changed_callback),
5323 (ev_view_set_document), (ev_view_set_page):
5325 Redraw on the changed signal
5327 2004-12-25 Raphael Higino <raphaelh@cvs.gnome.org>
5329 * configure.ac: Added pt_BR to ALL_LINGUAS.
5331 Fri Dec 24 00:48:44 2004 Jonathan Blandford <jrb@redhat.com>
5333 * backend/ev-document-bookmarks.c:
5334 (ev_document_bookmarks_get_child): *
5335 backend/ev-document-bookmarks.h: * pdf/xpdf/Makefile.am: *
5336 pdf/xpdf/pdf-document.cc: * pdf/xpdf/pdf-document.h: *
5337 shell/Makefile.am: * shell/ev-sidebar-bookmarks.c:
5338 (ev_sidebar_bookmarks_destroy),
5339 (ev_sidebar_bookmarks_class_init),
5340 (ev_sidebar_bookmarks_construct), (stack_data_free),
5341 (do_one_iteration), (populate_bookmarks_idle),
5342 (ev_sidebar_bookmarks_clear_document),
5343 (ev_sidebar_bookmarks_set_document): *
5344 shell/ev-sidebar-bookmarks.h: * shell/ev-sidebar.c:
5345 (ev_sidebar_add_page),
5346 (ev_sidebar_set_document): * shell/ev-window.c: (ev_window_open):
5347 Initial stab at a bookmarks sidebar. It doesn't navigate yet, but
5348 it displays both the topics and the page numbers.
5350 2004-12-23 Kristian Høgsberg <krh@redhat.com>
5352 * shell/ev-window.c (ev_window_view_sidebar_cb): Hook up sidebar
5354 * shell/ev-window.c (toggle_entries): Set sidebar default value to
5357 2004-12-23 Adam Weinberger <adamw@gnome.org>
5359 * configure.ac: Added en_CA to ALL_LINGUAS.
5361 2004-12-23 Martin Kretzschmar <martink@gnome.org>
5363 * ChangeLog: replace bottom of this ChangeLog (merged history of
5364 ggv and gpdf; where all paths were wrong and most of the files are
5365 not even in this tree) with ChangeLog (from arch) of the shell
5368 2004-12-23 Havoc Pennington <hp@redhat.com>
5370 * shell/ev-window.c: hook up potentially-questionable "find
5371 results status text" feature - something involving the sidebar or
5372 scrollbar or a continuous all-pages-on-giant-roll-of-paper-view
5373 might be better in the end.
5375 * shell/ev-view.c (ev_view_get_find_status_message): new function,
5376 with corresponding signal when it should be updated
5378 * shell/eggfindbar.c (egg_find_bar_set_status_text): new function
5380 2004-12-22 Havoc Pennington <hp@redhat.com>
5382 * pdf/xpdf/pdf-document.cc (pdf_document_find_begin): make search
5383 find stuff on other pages, sort of (only returns one result on
5384 invisible pages, to show they have results; updates full results
5385 for a page when you view it). Currently repaints the current page
5386 every time a new result is found on any page, which isn't so nice.
5388 2004-12-22 Havoc Pennington <hp@redhat.com>
5390 * shell/ev-window.c (ev_window_cmd_edit_find): display an error if
5391 the document doesn't support find (better ideas?)
5392 (find_bar_search_changed_cb): handle missing document or document
5393 that doesn't support find
5395 * pdf/xpdf/pdf-document.cc: port to implement the new
5398 * backend/ev-document-find.c: create a new interface for searching
5400 * backend/ev-document.h, backend/ev-document.c: delete the find stuff
5402 2004-12-23 Martin Kretzschmar <martink@gnome.org>
5404 * pdf/xpdf/Makefile.am (libpdfdocument_la_LIBADD): add
5407 * shell/ev-window.c (ev_window_print): add GnomePrintJob to
5408 EvPrintJob constructor arguments.
5410 * backend/ev-ps-exporter.c, backend/ev-ps-exporter.h: interface
5411 for documents that can export PostScript (page by page).
5413 * backend/Makefile.am (libevbackend_la_SOURCES): add them.
5415 * pdf/xpdf/pdf-document.cc (pdf_document_ps_export_begin)
5416 (pdf_document_ps_export_do_page, pdf_document_ps_export_end)
5417 (pdf_document_ps_exporter_iface_init:
5418 Implement EvPSExporter.
5420 * pdf/xpdf/Makefile.am (libxpdf_la_SOURCES): build PSOutputDev.
5422 2004-12-22 Anders Carlsson <andersca@gnome.org>
5424 * backend/Makefile.am:
5425 * backend/ev-document-thumbnails.c:
5426 (ev_document_thumbnails_get_type),
5427 (ev_document_thumbnails_get_thumbnail):
5428 * backend/ev-document-thumbnails.h:
5429 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
5430 (pixbuf_document_thumbnails_get_thumbnail),
5431 (pixbuf_document_document_thumbnails_iface_init):
5432 * shell/Makefile.am:
5433 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_destroy),
5434 (ev_sidebar_thumbnails_class_init), (ev_sidebar_thumbnails_init),
5435 (populate_thumbnails), (ev_sidebar_thumbnails_set_document):
5436 * shell/ev-sidebar-thumbnails.h:
5437 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
5438 (ev_sidebar_set_document):
5439 * shell/ev-utils.c: (gaussian), (create_blur_filter),
5440 (create_shadow), (ev_pixbuf_add_shadow):
5442 Add thumbnail support.
5444 2004-12-22 Martin Kretzschmar <martink@gnome.org>
5446 * shell/ev-window.c (ev_window_cmd_file_print, ev_window_print)
5447 (using_postscript_printer): Set up a print dialog for "PostScript
5450 * shell/ev-print-job.h, shell/ev-print-job.c: stub classes for
5453 * shell/Makefile.am (evince_SOURCES): add ev-print-job.[ch]
5455 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
5457 * ps/gtkgs.c: (gtk_gs_init), (set_up_page),
5458 (ps_document_set_target), (ps_document_get_page_size),
5459 (ps_document_render):
5464 2004-12-22 Christian Rose <menthos@menthos.com>
5466 * configure.ac: Added "sv" to ALL_LINGUAS.
5468 Wed Dec 22 14:47:38 2004 Jonathan Blandford <jrb@redhat.com>
5470 * backend/ev-document-bookmarks.[ch]: new interface to indicate
5471 document supports bookmarks.
5473 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
5475 * ps/ggvutils.c: (ggv_file_readable):
5477 * ps/gtkgs.c: (check_filecompressed), (check_pdf),
5478 (gtk_gs_get_postscript):
5482 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
5484 * ps/gtkgs.c: (gtk_gs_init), (gtk_gs_class_init), (gtk_gs_cleanup),
5485 (gtk_gs_finalize), (gtk_gs_set_center), (set_up_page), (output),
5486 (start_interpreter), (compute_size), (gtk_gs_enable_interpreter),
5487 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_reload),
5488 (gtk_gs_emit_error_msg), (gtk_gs_disable_interpreter),
5489 (gtk_gs_load), (gtk_gs_goto_page), (gtk_gs_set_page_size),
5490 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
5491 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
5492 (gtk_gs_set_antialiasing), (ps_document_load),
5493 (ps_document_render):
5496 Another check point for the ps backend. Now I can get it to show
5499 Wed Dec 22 13:41:01 2004 Jonathan Blandford <jrb@redhat.com>
5501 * shell/ev-sidebar.c (ev_sidebar_set_document): initial sidebar
5502 document setting code.
5504 2004-12-22 Anders Carlsson <andersca@gnome.org>
5506 * shell/eggfindbar.c: (entry_activate_callback):
5507 Animate the next button when activate is pressed.
5509 2004-12-22 Anders Carlsson <andersca@gnome.org>
5511 * shell/ev-window.c: (ev_window_cmd_edit_find),
5512 (update_fullscreen_popup), (ev_window_fullscreen),
5513 (ev_window_unfullscreen), (ev_window_state_event_cb),
5514 (ev_window_focus_out_cb), (find_bar_close_cb), (ev_window_init):
5515 Fix bugs in fullscreen code.
5517 2004-12-22 Anders Carlsson <andersca@gnome.org>
5521 * pixbuf/Makefile.am:
5522 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
5523 (pixbuf_document_load), (pixbuf_document_get_n_pages),
5524 (pixbuf_document_set_page), (pixbuf_document_get_page),
5525 (pixbuf_document_set_target), (pixbuf_document_set_scale),
5526 (pixbuf_document_set_page_offset), (pixbuf_document_get_page_size),
5527 (pixbuf_document_render), (pixbuf_document_begin_find),
5528 (pixbuf_document_end_find), (pixbuf_document_finalize),
5529 (pixbuf_document_class_init),
5530 (pixbuf_document_document_iface_init), (pixbuf_document_init):
5531 * pixbuf/pixbuf-document.h:
5532 * shell/Makefile.am:
5533 * shell/ev-application.c: (ev_application_open):
5534 * shell/ev-window.c: (mime_type_supported_by_gdk_pixbuf),
5538 Tue Dec 21 21:45:43 2004 Soeren Sandmann <sandmann@redhat.com>
5541 * dvi/dvilib/Makefile.am:
5543 * configure.ac: Auto*ify dvi and dvi/dvilib
5545 * dvi/Makefile: Remove from CVS
5547 * dvi/dvilib/dl-pkfont.cc (unpack_bitmap): Fix uchar/uint
5550 * dvi/dvilib/dl-fontdefinition.{cc,hh}: New DviFontMap class
5552 * dvi/dvilib/dl-vffont.{cc,hh}: Many bugfixes to VF code.
5554 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
5557 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_finalize),
5558 (gtk_gs_value_adjustment_changed), (compute_size),
5559 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_new_from_file),
5560 (gtk_gs_center_page), (gtk_gs_load), (gtk_gs_set_page_size),
5561 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
5562 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
5563 (gtk_gs_start_scroll), (gtk_gs_get_postscript),
5564 (gtk_gs_set_adjustments), (gtk_gs_set_available_size),
5565 (ps_document_load), (ps_document_get_n_pages),
5566 (ps_document_set_page), (ps_document_get_page),
5567 (ps_document_set_target), (ps_document_set_scale),
5568 (ps_document_set_page_offset), (ps_document_get_page_size),
5569 (ps_document_render), (ps_document_begin_find),
5570 (ps_document_end_find), (ps_document_document_iface_init):
5572 * shell/Makefile.am:
5573 * shell/ev-window.c: (ev_window_open):
5575 Some work to integrate gtkgs with EvDocument
5577 2004-12-22 Anders Carlsson <andersca@gnome.org>
5579 * shell/ev-window.c: (update_fullscreen_popup),
5580 (screen_size_changed_cb), (destroy_exit_fullscreen_popup),
5581 (exit_fullscreen_button_clicked_cb),
5582 (fullscreen_popup_size_request_cb), (ev_window_fullscreen),
5583 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
5584 (ev_window_state_event_cb), (ev_window_init):
5585 Add fullscreen support from Epiphany.
5587 2004-12-22 Mark McLoughlin <mark@skynet.ie>
5589 * data/ev-stock-zoom-fit-width.png: fit-width
5590 stock icon from gpdf.
5592 * shell/ev-stock-icons.[ch]: copied from gpdf.
5594 * shell/main.c: (main): init stock icons.
5596 * shell/ev-window.c: use the fit-width icon.
5598 * data/evince-ui.xml: add zooming toolbar items.
5600 2004-12-22 Mark McLoughlin <mark@skynet.ie>
5603 (ev_view_best_fit), (ev_view_fit_width): because
5604 get_page_size() returns the scaled page size, we
5605 need to calculate the scale factor relative to
5606 the previous scale factor. Should really just
5607 add get_real_page_size().
5609 2004-12-22 Mark McLoughlin <mark@skynet.ie>
5611 * shell/ev-view.[ch]:
5612 (ev_view_zoom), (ev_view_zoom_in), (ev_view_zoom_out),
5613 (ev_view_normal_size), (ev_view_best_fit), (ev_view_fit_width):
5616 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
5617 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_normal_size),
5618 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width):
5621 * pdf/xpdf/pdf-document.cc:
5622 (pdf_document_begin_find),
5623 (pdf_document_end_find): make static.
5625 2004-12-22 Martin Kretzschmar <martink@gnome.org>
5627 * pdf/xpdf/GlobalParams.h (setupBaseFontsFc): add prototype.
5629 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): maps base font
5630 names to fontconfig patterns.
5631 (setupBaseFontsFc): setupBaseFonts reimplemented using fontconfig.
5633 * pdf/xpdf/pdf-document.cc (pdf_document_load): use
5636 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
5652 Import ggv backend. Not hooked up yet.
5654 2004-12-22 Mark McLoughlin <mark@skynet.ie>
5656 * shell/main.c: (load_files), (main): load files
5657 from the command line.
5659 2004-12-22 Mark McLoughlin <mark@skynet.ie>
5661 * configure.ac: don't require bonobo.
5663 * cut-n-paste/recent-files/*: kill bonobo recent
5666 * shell/ev-window.c:
5667 (ev_window_is_empty): upd.
5668 (unable_to_load), (ev_window_open): load backend
5669 based on the mime type.
5671 2004-12-22 Martin Kretzschmar <martink@gnome.org>
5673 * backend/.cvsignore: ignore generated marshalers source.
5675 * shell/main.c (main): this is not epiphany.
5677 2004-12-22 Havoc Pennington <hp@redhat.com>
5679 * shell/ev-view.c (ev_view_set_document): connect to "found" signal
5680 (expose_bin_window): draw find highlights
5682 * shell/ev-window.c (find_bar_search_changed_cb): implement
5684 * pdf/xpdf/pdf-document.cc (pdf_document_begin_find)
5685 (pdf_document_end_find): implement this interface
5687 * backend/ev-document.c (ev_document_found): add this to emit
5690 Tue Dec 21 23:57:37 2004 Owen Taylor <otaylor@redhat.com>
5692 * data/evince-ui.xml: Add a few more toolbar items.
5694 * shell/ev-window.c: Hook up page navigation toolbar
5697 * shell/ev-view.[ch]: add ev_view_set/get_page and
5698 a page-changed signal.
5700 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc::
5701 Add ev_document_get_page().
5703 * shell/ev-window.c: Sensitize/desensitize navigation
5706 2004-12-21 Havoc Pennington <hp@redhat.com>
5708 * backend/ev-backend-marshal.c,
5709 backend/ev-backend-marshalers.list, backend/Makefile.am: add
5710 marshaler-generator thingy. I'm sure there's a better way to do
5711 this in the modern world.
5713 * backend/ev-document.h (struct _EvDocumentIface): add begin_find,
5714 end_find methods and "found" signal.
5716 * configure.ac: find glib-genmarshal
5718 Tue Dec 21 23:20:35 2004 Jonathan Blandford <jrb@redhat.com>
5720 * shell/ev-sidebar.c: Construct an actual sidebar.
5721 * shell/ev-sidebar-bookmarks.[ch]:
5722 * shell/ev-sidebar-thumbnails.[ch]: Stub out sidebars.
5724 Tue Dec 21 23:05:51 2004 Owen Taylor <otaylor@redhat.com>
5726 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc:
5729 * shell/ev-view.c: Track the size from the document.
5731 Tue Dec 21 22:17:04 2004 Owen Taylor <otaylor@redhat.com>
5733 * pdf/xpdf/pdf-document.cc (pdf_document_load): PDFDoc
5734 constructor assumes ownership of the string passed in.
5736 * shell/ev-window.c (ev_window_open): Destroy the error
5737 dialog once we've displayed it.
5739 Tue Dec 21 21:58:56 2004 Owen Taylor <otaylor@redhat.com>
5741 * pdf/xpdf/pdf-document.cc shell/ev-view.c: Hook things up
5742 a bit, it works! (sort of)
5744 * pdf/xpdf/Makefile.am pdf/xpdf/pdf-document.cc:
5745 Move to .cc since we need to use C++ in the implementation.
5747 * shell/dummy.cc: Add a CC file to force evince
5748 to be linked as a C++ program.
5750 Tue Dec 21 21:07:55 2004 Owen Taylor <otaylor@redhat.com>
5752 * shell/ev-view.[ch]: Start of content-area widget.
5754 * shell/ev-window.c: Create a EvView, update it
5755 as we change documents.
5757 * shell/Makefile.am shell/ev-marshal.list: Add
5758 generated marshalers.
5760 Tue Dec 21 20:28:11 2004 Jonathan Blandford <jrb@redhat.com>
5762 * Makefile.am (SUBDIRS): move shell.
5764 Tue Dec 21 19:28:55 2004 Owen Taylor <otaylor@redhat.com>
5766 * pdf/{goo,fofi,splash,xpdf}/Makefile.am: Switch from
5767 .a to libtool convenience libraries.
5769 * shell/ev-window.c (ev_window_open): Hard code loading
5772 * backend/ev-document.h: Add a boolean return to load(),
5773 fix GError * to GError **.
5775 * pdf/xpdf/pdf-document.[ch] Makefile.am: Add a stub
5776 object for a PDF backend EvDocument.
5778 Tue Dec 21 18:55:06 2004 Søren Sandmann <sandmann@redhat.com>
5780 * dvi/*: New directory with the beginning of a .dvi backend.
5782 2004-12-21 Havoc Pennington <hp@redhat.com>
5784 * shell/eggfindbar.c (egg_find_bar_init): change buttons to
5785 previous/next instead of back/forward
5787 Tue Dec 21 18:26:24 2004 Owen Taylor <otaylor@redhat.com>
5789 * backend/ev-document.[ch]: Fix a couple of problems so
5792 Tue Dec 21 18:20:40 2004 Owen Taylor <otaylor@redhat.com>
5794 * viewer/* backend/* configure.ac Makefile.am: Move viewer directory
5795 to backend/ directory, rename EvViewer to EvDocument.
5797 2004-12-21 Havoc Pennington <hp@redhat.com>
5799 * shell/ev-window.c: hook up the find bar widget; now we just need
5800 a document to find things in
5802 * shell/eggfindbar.c: a find bar widget
5804 Tue Dec 21 17:20:16 2004 Jonathan Blandford <jrb@redhat.com>
5806 * shell/ev-sidebar.[ch]: initial sidebar boilerplate.
5808 Tue Dec 21 16:30:58 2004 Owen Taylor <otaylor@redhat.com>
5810 * pdf/**: Import of xpdf code from gpdf.
5812 * pdf/xpdf/xpdfconfig.h: Move the non-config.h config.h to xpdfconfig.h
5814 * pdf/splash/SplashFTFont.{cc,h} pdf/splash/SplashFTFont.h
5815 pdf/splash/SplashFTFontEngine.h pdf/splash/SplashFTFontFile.h:
5816 Fix FreeType includes.
5818 * pdf/xpdf/{Error.h GnomeVFSStream.cc ImageOutputDev.cc PDFDoc.cc\
5819 pdffonts.cc pdfimages.cc pdfinfo.cc pdftoppm.cc pdftops.cc
5820 pdftotext.cc PSOutputDev.cc PSOutputDev.h SplashOutputDev.h
5821 Stream.cc TextOutputDev.cc XPDFApp.cc xpdf.cc XPDFViewer.cc
5822 pdf/xpdf/Error.h PSOutputDev.h SplashOutputDev.h}:
5823 Include xpdfconfig.h
5825 Tue Dec 21 16:08:17 2004 Jonathan Blandford <jrb@redhat.com>
5827 * shell/ev-window.c (ev_window_dispose): dispose can be called
5830 2004-12-21 Havoc Pennington <hp@redhat.com>
5832 * shell/ev-window.c (ev_window_init): set title to Document Viewer
5835 * data/evince-ui.xml, shell/ev-window.c: add a bunch of stub menu
5836 items; really they should be synced with the strings, etc. from
5837 current gpdf, but just getting the boring typing out of the way
5839 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
5842 * shell/ev-application.c: (window_destroy_cb):
5843 * shell/ev-window.c:
5844 * shell/main.c: (main):
5846 Actually show the window...
5848 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
5851 * shell/Makefile.am:
5852 * shell/ev-application.c: (ev_application_class_init):
5853 * shell/ev-window.c: (ev_window_dispose), (ev_window_class_init):
5857 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
5859 Import to gnome cvs.
5861 * Remove copies of gpdf and ggv trees.
5862 * Rip out all the recursive configure code.
5863 * Remove bonobo machinery.
5864 * viewer/*: GInterfaces that backends should/can implement.
5866 2004-11-09 Martin Kretzschmar <m_kretzschmar@gmx.net>
5868 * shell/ev-window.c (ev_window_cmd_help_about): fix "documentors"
5871 2004-10-28 Martin Kretzschmar <m_kretzschmar@gmx.net>
5873 * shell/ev-application.c (EV_APPLICATION_GET_PRIVATE)
5874 (ev_application_finalize, ev_application_class_init)
5875 (ev_application_init): use GType instance private data for priv.
5877 * shell/ev-window.c (EV_WINDOW_GET_PRIVATE)
5878 (ev_window_finalize, ev_window_class_init)
5879 (ev_window_init): ditto.
5881 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
5883 * shell/ev-application.c (ev_application_new_window): make public
5884 (ev_application_show_initial_window): kill.
5886 * shell/ev-application.h: update prototypes.
5888 * shell/main.cc (main): inline ev_application_show_initial_window.
5890 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
5892 * shell/ev-application.c (ev_application_new_window): impl.
5893 (ev_application_show_initial_window): use it.
5894 (is_window_empty, ev_application_get_empty_window): returns an
5895 existing empty window or a new one.
5896 (ev_application_open): from ev_window_cmd_file_open.
5898 * shell/ev-application.h: update prototypes
5900 * shell/ev-window.c (ev_window_is_empty): impl.
5901 (ev_window_open): make public.
5902 (ev_window_cmd_file_open): use ev_application_open
5904 * shell/ev-window.h: update prototypes, remove unused.
5906 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
5908 * shell/ev-window.c (ev_window_destroy, ev_window_class_init):
5909 move destroy handler out of here...
5911 * shell/ev-application.c, shell/ev-application.h: ...into this new
5912 class. Also handles initial window creation.
5914 * shell/main.cc (main): use EvApplication to create initial
5917 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
5919 * Makefile.am (SUBDIRS): add cut-n-paste
5921 * cut-n-paste/Makefile.am: add
5923 * configure.ac: generate Makefiles in cut-n-paste
5925 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
5927 * shell/ev-window.c (ev_window_dispose): new, unref the ui_manager
5928 (ev_window_class_init): install ev_window_dispose.
5930 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
5932 * shell/ev-window.h, shell/ev-window.c: replace gchar with
5933 char (gchar looks stupid).
5935 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
5937 * po/de.po: updated German translation.
5939 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
5941 * configure.ac: add more pkg-config library checks for gnome-vfs,
5944 * gpdf/configure.in: temporarily disable libpaper
5945 checks. Otherwise I'd have to add the checks for the shell, too.
5947 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
5949 * shell/ev-window.c (ev_window_cmd_file_open): add ps+pdf, ps, pdf
5950 and * file filters to the file choose.
5952 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
5954 * po/de.po: Updated German translation.
5956 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
5958 * shell/ev-window.c: use "S" as mnemonic for Statusbar.
5960 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
5962 * data/evince-ui.xml: add View->Toolbar and View->Statusbar.
5964 * shell/ev-window.c (menu_item_select_cb, menu_item_select_cb)
5965 (ev_window_init): implement those menuitems.
5967 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
5969 * data/evince-ui.xml: add a toolbar (with FileOpen action)
5971 * shell/ev-window.c (ev_window_init): use the toolbar.
5973 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
5975 * shell/ev-window.c (ev_window_init): use menu translations
5977 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
5979 * configure.ac: add "de" to ALL_LINGUAS.
5981 * po/de.po: add German translation.
5983 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
5985 * Makefile.am (SUBDIRS): add po
5987 * configure.ac: check intltool, glib-gettext etc, generate
5990 * po, po/POTFILES.in, po/POTFILES.skip: new.
5992 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
5994 * shell/Makefile.am (INCLUDES): define GNOMELOCALEDIR which we
5995 already use (#ifdef ENABLE_NLS)
5997 * shell/ev-window.c (ev_window_cmd_help_about): fix two star
5998 pointer indirection thinko.
6000 * shell/main.c: include gi18n.h for bindtextdomain etc.
6002 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6004 * shell/ev-window.c (menu_item_select_cb, menu_item_deselect_cb)
6005 (connect_proxy_cb, disconnect_proxy_cb, ev_window_init): show
6006 tooltips for menu items in the statusbar.
6008 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6010 * configure.ac, data/Makefile.am, shell/Makefile.am: use
6011 pkgdatadir drop UIDIR
6013 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6015 * data/evince-ui.xml: Add File->Open menu item
6017 * shell/ev-window.c (ev_window_cmd_file_open): impl. (shows a file
6018 chooser), hook it up in the ui manager.
6020 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6022 * shell/ev-window.c: fix Help->About tooltip.
6024 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6026 * configure.ac: set CFLAGS for libevprivate.
6028 * lib/ev-stock-icons.h, lib/ev-stock-icons.c: stock icon
6029 definitions, factory etc.
6031 * lib/Makefile.am: build libevprivate.a (only stock icon code).
6033 * shell/Makefile.am: link against libevprivate.a.
6035 * shell/ev-window.c (entries): add stock icon to Help->About.
6037 * shell/main.c (main): init stock icon code.
6039 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6041 * lib/recent-files: egg recent files code
6043 * lib/Makefile.am: add.
6045 * Makefile.am: add lib subdir.
6047 * configure.ac: gen. lib/Makefile and lib/recent-files/Makefile,
6048 set CFLAGS for recent-files.
6050 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6052 * configure.ac: disable -ansi and -pedantic gcc flags. They
6053 disable POSIX stuff in stdio.h, but egg-recent uses them.
6055 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6057 * configure.ac: add --disable-deprecated flag (defaults to on in
6060 * shell/Makefile.am (INCLUDES): use it.
6062 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6064 * shell/main.c: add missing #include.
6066 * shell/ev-window.c: fix for pedantic gcc.
6067 (ev_window_cmd_help_about): split license into paragraphs for
6068 translators and pedantic compilers.
6070 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6072 * configure.ac: add more warning flags if compiling with gcc from
6073 cvs (or explicitly requested with --enable-more-warnings).
6075 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6077 * data/evince-ui.xml: add File and File->Close menu.
6079 * shell/ev-window.c (ev_window_cmd_file_close_window): impl.
6080 (ev_window_destroy): quit after destroy.
6081 (ev_window_class_init): override GtkObject::destroy.
6082 (entries): install close_window callback.
6084 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6086 * Makefile.am (SUBDIRS): add data subdir.
6088 * configure.ac (UIDIR): gen data/Makefile, define UIDIR. Require
6089 gtk+ 2.5.0 for GtkAboutDialog.
6091 * data/Makefile.am, data/evince-ui.xml: add, ui definition for the
6094 * shell/Makefile.am (INCLUDES): propagate UIDIR definition.
6096 * shell/ev-window.c (ev_window_init): create a menubar, using a ui
6098 (ev_window_cmd_help_about): about command, using GtkAboutDialog.
6100 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6102 * shell/ev-window.c, shell/ev-window.h: Created an EvWindow class.
6104 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
6106 * shell/main.c: make it a trivial gtk+ program, adjust configure.ac
6108 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
6110 * shell/*: Added shell directory boilerplate, build it.
6112 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
6114 * configure.ac, Makefile.am: Added top-level configure.ac and