1 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
3 * shell/main.c: (load_files_remote):
5 Fix for dbus 0.33. bug #309975
7 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
9 * properties/ev-properties-main.c: (ev_properties_get_pages):
11 Actually return NULL for types we dont support
13 2005-07-08 Christian Persch <chpe@cvs.gnome.org>
19 2005-07-08 Marco Pesenti Gritti <marco@gnome.org>
21 * backend/ev-document-factory.c:
22 (ev_document_factory_get_document):
24 Do not try to create the object if type
27 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
29 * ps/ps-document.c: (ps_document_dispose),
30 (ps_async_renderer_render_pixbuf):
33 Do not leak the target window
35 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
37 * shell/ev-application.c: (ev_application_init):
39 Let tbe check file existence for us.
40 Add a comment about eggrecent mime filter.
42 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
45 * shell/ev-application.c: (ev_application_shutdown),
46 (ev_application_init), (ev_application_get_toolbars_model),
47 (ev_application_get_recent_model),
48 (ev_application_save_toolbars_model):
49 * shell/ev-application.h:
50 * shell/ev-window.c: (ev_window_add_recent),
51 (ev_window_setup_recent), (ev_window_cmd_edit_toolbar_cb),
52 (ev_window_cmd_edit_toolbar), (ev_window_dispose),
55 Use common toolbar and recent models for all windows.
56 Patch by Nickolay V. Shmyrev <nshmyrev@yandex.ru>
58 Thu Jul 7 23:10:01 2005 Jonathan Blandford <jrb@redhat.com>
60 * configure.ac: add FRONTEND_CORE_LIBS to evince_save_LIBS so we
61 successfully check for gtk_icon_view_get_visible_range.
63 2005-07-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
68 Fix djvu and dvi backend build.
70 2005-07-07 Christian Persch <chpe@cvs.gnome.org>
72 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c: (new_pixbuf_from_widget),
73 (new_separator_pixbuf):
77 2005-07-07 Christian Persch <chpe@cvs.gnome.org>
79 * shell/ev-window.c: (ev_window_cmd_edit_toolbar):
81 HIGification of toolbar editor dialogue.
83 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
88 Ever build metadata manager since it's just
89 disabled at runtime now.
91 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
93 * shell/ev-metadata-manager.c: (ev_metadata_manager_init),
94 (ev_metadata_manager_get), (ev_metadata_manager_set):
95 * shell/ev-metadata-manager.h:
97 Add an _init functions that enabled metadata management
100 * shell/ev-window.c: (page_changed_cb),
101 (setup_document_from_metadata), (ev_window_setup_document),
102 (setup_view_from_metadata), (ev_window_open_uri),
103 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
104 (ev_window_run_presentation), (ev_window_stop_presentation),
105 (save_sizing_mode), (ev_window_zoom_changed_cb),
106 (ev_window_continuous_changed_cb),
107 (ev_window_dual_mode_changed_cb), (window_state_event_cb),
108 (window_configure_event_cb):
110 Remove all ugly metadata define since we deal with it
113 * shell/main.c: (load_files_remote), (main):
115 Add support for dbus cvs head. Hopefully didnt break one
116 of the other versions now!
118 If we dont get a response from the dbus server just
119 give up with it and not enable metadata.
121 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
124 * backend/Makefile.am:
126 * cut-n-paste/recent-files/Makefile.am:
127 * cut-n-paste/toolbar-editor/Makefile.am:
128 * cut-n-paste/zoom-control/Makefile.am:
131 * pixbuf/Makefile.am:
132 * properties/Makefile.am:
135 * thumbnailer/Makefile.am:
138 Make frontends depend on just libev.
139 Rework and group CFLAGS/LIBS definitions.
142 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
146 do not unnecessarily save zoom
149 * lib/ev-file-helpers.c: (ev_dot_dir):
155 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
159 Remove unnecessary dependencies
161 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
163 * properties/Makefile.am:
164 * thumbnailer/Makefile.am:
167 Some more cleanups. Was really necessary
168 but I probably introduced bugs, feel free
171 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
173 * backend/Makefile.am:
175 * cut-n-paste/recent-files/Makefile.am:
176 * cut-n-paste/toolbar-editor/Makefile.am:
177 * cut-n-paste/zoom-control/Makefile.am:
180 * pixbuf/Makefile.am:
181 * properties/Makefile.am:
184 * thumbnailer/Makefile.am:
187 Use gnome-common macros when possible.
188 Cleanup dependencies.
189 Actually disable deprecated where possible.
191 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
194 * backend/Makefile.am:
195 * properties/Makefile.am:
197 * thumbnailer/Makefile.am:
199 This should solve the circular dep without
202 * shell/ev-window.c: (setup_view_from_metadata):
204 Never restore window size/position when the
205 window is already visible.
207 2005-07-06 Christian Persch <chpe@cvs.gnome.org>
209 * shell/ev-metadata-manager.c: (ev_metadata_manager_save):
211 Return a boolean from timeout func. Fix ported from gedit.
213 2005-07-07 Iñaki Larrañaga <dooteo@euskalgnu.org>
215 * configure.ac: Added "eu" (Basque) to ALL_LINGUAS.
217 2005-07-06 Carlos Garcia Campos <carlosgc@gnome.org>
219 * shell/ev-document-types.c: set "All Documents" as default filter in
222 2005-07-06 Martin Kretzschmar <martink@gnome.org>
224 * shell/ev-metadata-manager.c (ev_metadata_manager_set_int)
225 (ev_metadata_manager_set_double, ev_metadata_manager_set_string)
226 (ev_metadata_manager_set_boolean): fix value/val thinko.
228 2005-07-06 Marco Pesenti Gritti <mpg@redhat.com>
230 * shell/ev-window.c: (setup_view_from_metadata),
231 (window_state_event_cb), (window_configure_event_cb),
234 Remember window position and maximized state
236 2005-07-06 Christian Persch <chpe@cvs.gnome.org>
240 Fix DBUS configure checks.
242 * shell/ev-metadata-manager.c: (ev_metadata_manager_set_int),
243 (ev_metadata_manager_set_double), (ev_metadata_manager_set_string),
244 (ev_metadata_manager_set_boolean):
248 * shell/ev-window.c: (page_changed_cb), (ev_window_run_fullscreen),
249 (ev_window_stop_fullscreen), (ev_window_run_presentation),
250 (ev_window_stop_presentation), (ev_window_zoom_changed_cb),
251 (ev_window_continuous_changed_cb),
252 (ev_window_dual_mode_changed_cb), (ev_window_new):
254 Fix the build without DBUS.
256 2005-07-06 Marco Pesenti Gritti <mpg@redhat.com>
258 * shell/ev-metadata-manager.c: (parse_value), (save_values),
259 (ev_metadata_manager_set_int), (ev_metadata_manager_set_double),
260 (ev_metadata_manager_set_string),
261 (ev_metadata_manager_set_boolean):
262 * shell/ev-metadata-manager.h:
264 Add support for some more types
266 * shell/ev-view.c: (scroll_to_current_page),
267 (ev_view_get_continuous), (ev_view_set_continuous),
268 (ev_view_get_dual_page):
270 * shell/ev-window.c: (page_changed_cb),
271 (setup_document_from_metadata), (ev_window_setup_document),
272 (setup_view_from_metadata), (ev_window_open_uri),
273 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
274 (ev_window_run_presentation), (ev_window_stop_presentation),
275 (save_sizing_mode), (ev_window_sizing_mode_changed_cb),
276 (ev_window_zoom_changed_cb), (ev_window_update_continuous_action),
277 (ev_window_update_dual_page_action),
278 (ev_window_continuous_changed_cb),
279 (ev_window_dual_mode_changed_cb), (ev_window_init):
281 Remember a bunch of view/document properties. Prolly some
282 are still missing but it's getting interesting.
284 2005-07-05 Martin Kretzschmar <martink@gnome.org>
286 * configure.ac: check if dbus-binding-tool is installed. Not the
287 case on current Ubuntu breezy, it seems.
289 2005-07-05 Luca Ferretti <elle.uca@libero.it>
291 * data/evince.desktop.in.in:
293 Allow open uri lists and add TryExec field.
295 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
299 Enable dbus when available, do not require a configure
302 2005-07-05 Christian Persch <chpe@cvs.gnome.org>
306 Use AM_CONDITIONAL unconditionally, fixes the build with DBUS
309 2005-07-05 Carlos Garcia Campos <carlosgc@gnome.org>
310 Marco Pesenti Gritti <mpg@redhat.com>
312 * shell/Makefile.am: Add --prefix for dbus-binding-tool script
314 * shell/ev-application.[ch], shell/ev-window.c: change dbus RPC
315 functions to the format required by dbus
317 * shell/main.c: use G_TYPE instead of DBUS_TYPE to fix compilation
318 errors. Use the RPC parameters in the expected way
320 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
323 * properties/Makefile.am:
324 * properties/ev-properties-main.c: (ev_properties_get_pages):
326 Support all mime types
329 * thumbnailer/Makefile.am:
330 * thumbnailer/evince-thumbnailer.c: (get_document_from_uri),
331 (evince_thumbnail_pngenc_get):
333 Use the document factory
335 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
337 * backend/Makefile.am:
338 * backend/ev-document-factory.c:
339 (mime_type_supported_by_gdk_pixbuf),
340 (ev_document_type_get_from_mime),
341 (ev_document_factory_get_document),
342 (ev_document_factory_get_backend),
343 (ev_document_factory_get_mime_types),
344 (ev_document_factory_get_all_mime_types):
345 * backend/ev-document-factory.h:
347 * shell/ev-document-types.c: (get_document_from_uri),
348 (ev_document_types_get_document),
349 (file_filter_add_mime_list_and_free),
350 (ev_document_types_add_filters):
351 * shell/ev-document-types.h:
352 * shell/ev-job-xfer.c: (ev_job_xfer_run):
353 * shell/ev-properties-dialog.c:
354 (ev_properties_dialog_set_document):
355 * shell/ev-window.c: (ev_window_cmd_file_open),
356 (ev_window_cmd_save_as):
357 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
359 Rework document types managing to avoid code duplication
360 and actually abstract from backend implementations.
361 Also provide a minimal factory api that can be used by
362 thumbnailer/properties.
364 2005-07-05 Christian Persch <chpe@cvs.gnome.org>
366 * properties/ev-properties-view.c: (ev_properties_view_set_info):
368 * shell/ev-properties-dialog.c: (ev_properties_dialog_init):
371 2005-07-04 Matthew S. Wilson <msw@rpath.com>
373 * shell/ev-properties-dialog.c
374 (ev_properties_dialog_set_document): only call
375 ev_properties_fonts_set_document() if the document implements the
378 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
381 * properties/Makefile.am:
382 * properties/ev-properties-view.c:
383 (ev_properties_view_register_type):
384 * properties/ev-properties-view.h:
385 * properties/ev-properties-main.h:
387 Implement nautilus plugin for properties.
388 Works only for pdf atm, I need to rework the
389 document types stuff to get this to work
392 2005-07-04 Martin Kretzschmar <martink@gnome.org>
394 * shell/ev-properties-fonts.c (enum): kill redundant columns enum
395 (ev_properties_fonts_set_document): use
396 EV_DOCUMENT_FONTS_COLUMN_NUM_COLUMNS.
398 2005-07-04 Matthew S. Wilson <msw@rpath.com>
400 * tiff/tiff2ps.c: remove TRUE and FALSE definitions, glib provides
402 (PlaceImage, tiff2ps_process_page): use
403 g_ascii_dtostr to convert floats to strings in a locale-safe way.
406 2005-07-04 Martin Kretzschmar <martink@gnome.org>
408 * shell/main.c: include libgnomeui/gnome-authentication-manager.h
409 (main): to call gnome_authentication_manager_init. Should fix
412 * configure.ac: that requires libgnomeui 2.6.0.
414 2005-07-04 Matthew S. Wilson <msw@rpath.com>
416 * tiff/tiff-document.c (tiff_document_ps_export_begin)
417 (tiff_document_ps_export_do_page, tiff_document_ps_export_end):
418 use the new tiff2ps interfaces
420 * tiff/tiff2ps.h (tiff2ps_context_new, tiff2ps_process_page)
421 (tiff2ps_context_finalize): implement new interfaces for tiff2ps
423 * tiff/tiff2ps.c: refactor tiff2ps code to use a context
424 structure instead of global variables. Remove use of static
425 variables in functions.
427 2005-07-04 Carlos Garcia Campos <carlosgc@gnome.org>
429 * shell/ev-page-action.c: unref the completion after setting it to the
432 2005-07-04 Matthew S. Wilson <msw@rpath.com>
434 * tiff/tiff2ps.c (generateEPSF): disable generating encapsulated
437 2005-07-04 Matthew S. Wilson <msw@rpath.com>
439 * shell/ev-window.c (update_action_sensitivity): disable
440 File->Print if the document does not implement the ps exporter
443 2005-07-04 Marco Pesenti Gritti <mpg@redhat.com>
447 * data/evince-properties.glade:
448 * properties/.cvsignore:
449 * properties/Makefile.am:
450 * properties/ev-properties-view.c: (ev_properties_view_dispose),
451 (ev_properties_view_class_init), (ev_properties_view_format_date),
452 (make_valid_utf8), (set_property), (ev_properties_view_set_info),
453 (ev_properties_view_init), (ev_properties_view_new):
454 * properties/ev-properties-view.h:
456 * shell/ev-properties-dialog.c: (ev_properties_dialog_class_init),
457 (ev_properties_dialog_init), (ev_properties_dialog_set_document),
458 (ev_properties_dialog_new):
459 * shell/ev-properties-dialog.h:
460 * shell/ev-properties-fonts.c: (ev_properties_fonts_dispose),
461 (ev_properties_fonts_class_init), (ev_properties_fonts_init),
462 (update_progress_label), (job_fonts_finished_cb),
463 (ev_properties_fonts_set_document), (ev_properties_fonts_new):
464 * shell/ev-properties-fonts.h:
465 * shell/ev-properties.c:
466 * shell/ev-properties.h:
467 * shell/ev-window.c: (ev_window_setup_document),
468 (ev_window_cmd_file_properties):
470 Split the properties pages in two different objects, depend
471 only on the backend where possible, use widgets instead
472 of gobject for the glade part, reimplement the dialog
474 I need this to implement nautilus properties page.
476 2005-07-03 Matthew S. Wilson <msw@rpath.com>
478 * tiff/tiff-document.c (tiff_document_ps_export_begin)
479 (tiff_document_ps_export_do_page, tiff_document_ps_export_end)
480 (tiff_document_document_ps_exporter_iface_init): implement the ps
481 exporter interface for tiff documents
483 * tiff/tiff2ps.c: added a modified version of tiff2ps.c from
484 libtiff to implement TIFF postscript export
486 * tiff/tiff2ps.h: added a header file for external tiff2ps
489 * tiff/Makefile.am (libtiffdocument_la_SOURCES): add tiff2ps.c and
492 2005-07-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
494 * shell/ev-view.c: (scroll_to_current_page),
495 (ev_view_set_fullscreen), (ev_view_set_presentation):
497 Scroll to current page when exit from presentation
499 2005-07-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
501 * shell/ev-window.c: (update_document_mode),
502 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
503 (ev_window_cmd_view_fullscreen), (ev_window_stop_presentation),
504 (ev_window_cmd_view_presentation), (ev_window_cmd_escape):
506 Exit from fullscreen mode when switch to presentation. Fix for
509 2005-07-02 Matthew S. Wilson <msw@rpath.com>
511 * shell/ev-pixbuf-cache.c (ev_pixbuf_cache_get_selection_pixbuf):
512 return NULL if the document does not implement the selection
515 2005-07-02 Matthew S. Wilson <msw@rpath.com>
517 * tiff/tiff-document.c (tiff_document_get_page_size): scale the
518 reported height by using the resolution aspect ratio
519 (tiff_document_render_pixbuf): scale the pixbuf using the
520 resolution aspect ratio
522 2005-07-01 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
526 Require libgnomeprint >= 2.5.1. Thanks to Colin Slater
527 <kiltedaco@gmail.com>
529 * djvu/djvu-document.c: (djvu_document_get_orientation),
530 (djvu_document_set_orientation), (djvu_document_get_page_size),
531 (rotate_pixbuf), (djvu_document_render_pixbuf),
532 (djvu_document_document_iface_init):
533 * dvi/dvi-document.c: (dvi_document_get_orientation),
534 (dvi_document_set_orientation), (dvi_document_get_page_size),
535 (rotate_pixbuf), (dvi_document_render_pixbuf),
536 (dvi_document_document_iface_init):
538 Dvi and djvu backends are ported to new API
540 Fri Jul 1 00:10:15 2005 Jonathan Blandford <jrb@redhat.com>
542 * backend/ev-selection.c: (ev_selection_get_selection_region),
543 (ev_selection_get_selection_map):
544 * backend/ev-selection.h:
546 * shell/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
548 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info),
549 (job_finished_cb), (copy_job_to_job_info), (add_job_if_needed),
550 (ev_pixbuf_cache_get_text_mapping):
551 * shell/ev-pixbuf-cache.h:
552 * shell/ev-view.c: (location_in_text),
553 (ev_view_motion_notify_event), (ev_view_set_cursor): Add I-Beam
554 support to EvView. Now we can see where we can select! Sweet!
556 2005-06-30 Kristian Høgsberg <krh@redhat.com>
558 * shell/ev-view.c (ev_view_button_press_event): Fix
559 event->y + view->scroll_x typo.
561 2005-06-30 Kristian Høgsberg <krh@redhat.com>
563 * pdf/ev-poppler.cc: Adjust to poppler API changes; use a
564 sub-GdkPixbuf instead of passing dest_x and dest_y.
566 * shell/ev-view.c: (view_point_to_doc_point),
567 (view_rect_to_doc_rect), (ev_view_button_press_event),
568 (ev_view_motion_notify_event), (compute_new_selection_rect),
569 (gdk_rectangle_point_in), (compute_new_selection_text),
570 (compute_selections): Update selection code to keep the selection
571 around as two points and not as a normalized rectangle, and fix
572 page level selection in two-column mode.
574 2005-06-30 Alex Duggan <aldug@astrolinux.com>
576 * shell/ev-window.c: (window_configure_event_cb):
580 2005-06-30 Marco Pesenti Gritti <mpg@redhat.com>
586 2005-06-30 Marco Pesenti Gritti <mpg@redhat.com>
589 * shell/ev-metadata-manager.c: (item_free),
590 (ev_metadata_manager_init), (ev_metadata_manager_shutdown),
591 (parse_value), (parseItem), (load_values),
592 (ev_metadata_manager_get), (value_free), (ev_metadata_manager_set),
593 (save_values), (save_item), (get_oldest), (resize_items),
594 (ev_metadata_manager_save), (ev_metadata_manager_set_int):
595 * shell/ev-metadata-manager.h:
597 Metadata manager from gedit but modified to use GValue, so that
598 we dont need to keep converting from strings.
602 ENABLE_METADATA conditional, on when dbus is on
604 * shell/ev-application.c: (ev_application_open_uri):
606 Show the window after load so that we can initialize
607 window size before it's showed.
609 * shell/ev-window.c: (ev_window_setup_from_metadata),
610 (ev_window_open_uri), (window_configure_event_cb),
613 Save and load metadata information about window size.
614 Not yet keeping states in account.
616 * shell/main.c: (main):
618 Shutdown metadata manager.
620 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
622 * shell/ev-application-service.xml:
625 * shell/ev-application.c:
626 * shell/ev-application.h:
631 Add an optional dbus interface (--enable-dbus).
632 Rework application code, mainly to be easier to
634 Do not open multiple windows with the same document,
637 Thu Jun 30 01:50:14 2005 Jonathan Blandford <jrb@redhat.com>
639 * shell/ev-pixbuf-cache.c (clear_selection_if_needed): unref the
640 pixbuf iff it exists.
642 Thu Jun 30 01:43:00 2005 Jonathan Blandford <jrb@redhat.com>
645 * backend/ev-render-context.[ch]:
646 * backend/ev-selection.[ch]:
648 Massive changes. We now support text selection of pdfs, and not
649 just rectangular selection. This is pretty broken still, but I
650 want to get something into CVS.
652 2005-06-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
656 Fix for Bug 309080: crash on window close.
658 * shell/ev-page-action.c: (page_changed_cb):
660 Fix for Bug 309168: Fix build with gcc 2.95. Thanks to
661 jensgr@gmx.net (Jens Granseuer).
663 2005-06-25 Marcel Telka <marcel@telka.sk>
665 * configure.in (ALL_LINGUAS): Added sk.
667 2005-06-24 Carlos Garcia Campos <carlosgc@gnome.org>
669 * shell/ev-window.c: Make rotate menu entries unsensitive if there is
672 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
679 * cut-n-paste/recent-files/Makefile.am:
683 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
685 * pixbuf/pixbuf-document.c: (pixbuf_document_get_orientation),
686 (pixbuf_document_set_orientation), (rotate_pixbuf),
687 (pixbuf_document_get_page_size), (pixbuf_document_render_pixbuf),
688 (pixbuf_document_document_iface_init), (pixbuf_document_init):
690 Implement rotation and cleanup the code a bit.
692 * tiff/tiff-document.c: (tiff_document_get_page_size),
693 (tiff_document_get_orientation), (tiff_document_set_orientation),
694 (rotate_pixbuf), (tiff_document_render_pixbuf),
695 (tiff_document_document_iface_init), (tiff_document_init):
697 Implement rotation. Was the quicker solution for the release
698 but we really need to share this code in the shell.
700 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
704 Enable rotation, require poppler cvs. Fix a leak.
706 2005-06-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
708 * shell/ev-window.c: (update_action_sensitivity):
710 Make properties unsensitive if document backend doesn't provide
713 2005-06-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
715 * dvi/mdvi-lib/bitmap.c: (bitmap_alloc), (bitmap_alloc_raw),
716 (bitmap_flip_horizontally), (bitmap_flip_vertically),
717 (bitmap_flip_diagonally), (bitmap_rotate_clockwise),
718 (bitmap_rotate_counter_clockwise), (bitmap_flip_rotate_clockwise),
719 (bitmap_flip_rotate_counter_clockwise):
720 * dvi/mdvi-lib/color.c: (mdvi_push_color), (get_color_table):
721 * dvi/mdvi-lib/common.c: (read_string), (buff_free), (buff_add),
723 * dvi/mdvi-lib/common.h:
724 * dvi/mdvi-lib/dvimisc.c: (mdvi_push_color):
725 * dvi/mdvi-lib/dviread.c: (get_bytes), (dreset), (define_font),
726 (opendvi), (mdvi_reload), (mdvi_init_context),
727 (mdvi_destroy_context), (mdvi_dopage), (special):
728 * dvi/mdvi-lib/font.c: (font_drop_one), (font_free_unused):
729 * dvi/mdvi-lib/fontmap.c: (read_encoding), (destroy_encoding),
730 (file_hash_free), (register_encoding), (parse_spec),
731 (mdvi_load_fontmap), (free_ent), (mdvi_init_fontmaps),
732 (mdvi_add_fontmap_file), (mdvi_ps_read_fontmap),
733 (mdvi_ps_flush_fonts), (mdvi_ps_find_font), (mdvi_ps_get_metrics):
734 * dvi/mdvi-lib/fontsrch.c: (mdvi_list_font_class),
735 (mdvi_register_font_type), (mdvi_unregister_font_type),
736 (lookup_font), (mdvi_add_font), (mdvi_font_retry):
737 * dvi/mdvi-lib/gf.c: (gf_read_bitmap), (gf_load_font):
738 * dvi/mdvi-lib/hash.c: (mdvi_hash_remove), (mdvi_hash_remove_ptr),
739 (mdvi_hash_destroy_key), (mdvi_hash_reset):
740 * dvi/mdvi-lib/pagesel.c: (mdvi_parse_range),
741 (mdvi_parse_page_spec), (mdvi_free_page_spec), (main):
742 * dvi/mdvi-lib/paper.c: (mdvi_free_paper_specs):
743 * dvi/mdvi-lib/pk.c: (pk_lookup), (pk_lookupn), (pk_load_font):
744 * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
745 * dvi/mdvi-lib/special.c: (mdvi_register_special),
746 (mdvi_unregister_special), (mdvi_flush_specials):
747 * dvi/mdvi-lib/t1.c: (t1_lookup_font), (t1_really_load_font),
749 * dvi/mdvi-lib/tfm.c: (get_tfm_chars):
750 * dvi/mdvi-lib/tfmfile.c: (afm_load_file), (tfm_load_file),
751 (ofm1_load_file), (ofm_load_file), (get_font_metrics),
752 (free_font_metrics), (flush_font_metrics):
753 * dvi/mdvi-lib/tt.c: (tt_really_load_font), (tt_get_bitmap),
755 * dvi/mdvi-lib/util.c: (mdvi_malloc), (mdvi_realloc),
756 (mdvi_calloc), (mdvi_free), (mdvi_strdup), (mdvi_strncpy),
757 (mdvi_strndup), (mdvi_memdup), (xstradd), (dstring_append),
758 (dstring_insert), (dstring_new), (dstring_reset):
759 * dvi/mdvi-lib/vf.c: (vf_load_font), (vf_free_macros):
761 Rename xmalloc and xfree to mdvi_malloc and mdvi_free to
762 avoid conflict with libtool on FC4
764 * shell/ev-window.c: (ev_window_cmd_help_about):
766 Update copyright year. Fix for bug 308828.
768 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
770 * shell/ev-view.c: (add_scroll_binding_keypad),
771 (ev_view_binding_activated), (ev_view_class_init),
772 (on_adjustment_value_changed):
774 Bug 170874: Arrow keys switch pages in presentation mode
776 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
778 * shell/ev-window.c: (ev_window_sidebar_visibility_changed_cb):
780 Fix for Bug 308265: Sidebar dissappears coming out of
783 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
785 * shell/ev-application.c: (ev_application_open):
786 * shell/ev-document-types.c: (ev_document_types_add_filters),
787 (ev_document_types_add_filters_for_type):
788 * shell/ev-document-types.h:
789 * shell/ev-window.c: (ev_window_cmd_save_as):
791 Suggest basename as template when saving, provide filters
792 for save dialog. It's bug 308402
794 2005-06-20 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
797 * shell/ev-sidebar-links.c: (job_finished_callback):
798 * shell/ev-view.c: (update_find_status_message):
802 2005-06-19 Christian Persch <chpe@cvs.gnome.org>
804 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
805 (egg_recent_view_uimanager_set_list):
807 Fix buglet in !show_numbers case.
809 2005-06-19 Christian Persch <chpe@cvs.gnome.org>
811 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
812 (connect_proxy_cb), (egg_recent_view_uimanager_set_list):
814 Use pango ellipsisation.
818 Fix refcount leak, from nsh.
820 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
822 * cut-n-paste/recent-files/Makefile.am:
823 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
824 * cut-n-paste/recent-files/egg-recent-view-gtk.h:
826 Removed EggRecentViewGtk
828 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
829 * cut-n-paste/recent-files/egg-recent-view-uimanager.h:
830 * shell/ev-window.c: (ev_window_cmd_recent_file_activate),
831 (ev_window_setup_recent):
833 Use ViewUIManager instead of ViewGtk. Less leaks, more compatibility
836 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
838 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
839 (egg_recent_view_gtk_finalize):
843 * cut-n-paste/toolbar-editor/Makefile.am:
845 Fix location of cursor icon.
848 * shell/ev-page-action.c: (build_new_tree_cb), (match_selected_cb),
849 (display_completion_text), (match_completion):
850 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
851 (selection_changed_callback), (create_loading_model),
852 (print_section_cb), (links_page_num_func),
853 (update_page_callback_foreach):
854 * shell/ev-window.c: (ev_window_dispose):
856 Small memory fixes. Links model now store objects instead
857 of pointers to improve memory management.
859 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
861 * shell/ev-window.c: (zoom_control_changed_cb):
863 Fix update of zoom control (bug 308268).
865 Sat Jun 18 22:46:42 2005 Jonathan Blandford <jrb@redhat.com>
867 * shell/ev-properties.c (set_property): escape the text correctly.
868 Handles non-UTF-8 properties and escaped properties. Also, sets
869 the text to "<i>None</i>" if the property isn't set.
871 * data/evince-properties.glade: Change the label to be ellipsized,
872 and give it a minimum size.
874 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
876 * lib/ev-file-helpers.c: (ev_file_helpers_shutdown):
877 * shell/ev-sidebar-links.c: (create_loading_model):
878 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose):
879 * shell/ev-view.c: (ev_view_set_document):
880 * shell/ev-window.c: (ev_window_dispose):
882 Various small fixes, mostly memory leaks. Thanks to valgrind.
884 2005-06-19 Martin Kretzschmar <martink@gnome.org>
886 * ps/ps-document.c: remove the locale.h include again ;-). And
887 kill the (bogus) setlocale/savelocale business.
889 2005-06-19 Jaap A. Haitsma <jaap@haitsma.org>
893 Include locale.h to fix build
895 * shell/ev-sidebar.c:
897 Remove unnecessary includes
899 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
901 * dvi/dvi-document.c: (dvi_document_load):
902 * dvi/mdvi-lib/dviread.c: (mdvi_init_context):
905 Check for incorrect dvi files. Fix parsing dvi on AMD64
906 platform. Thanks to tester@tester.ca (Olivier Crete).
908 2005-06-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
910 * shell/ev-page-action.c: (match_selected_cb),
911 (display_completion_text), (match_completion), (update_model):
912 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
914 * shell/ev-sidebar.c: (ev_sidebar_destroy),
915 (ev_sidebar_menu_item_activate_cb), (ev_sidebar_add_page),
916 (ev_sidebar_set_document):
917 * shell/ev-window.c: (ev_window_xfer_job_cb),
918 (sidebar_widget_model_set), (sidebar_page_main_widget_update_cb):
920 Fixed lot's of memory leaks, for example, memory leak on reload,
921 described in bug 307793.
923 2005-06-18 Marco Pesenti Gritti <mpg@redhat.com>
926 * shell/ev-sidebar-thumbnails.c: (clear_range), (add_range),
927 (update_visible_range), (adjustment_changed_cb),
928 (ev_sidebar_thumbnails_fill_model),
929 (ev_sidebar_thumbnails_refresh),
930 (ev_sidebar_tree_selection_changed),
931 (ev_sidebar_icon_selection_changed),
932 (ev_sidebar_thumbnails_use_icon_view),
933 (ev_sidebar_thumbnails_set_document):
934 * shell/ev-sidebar-thumbnails.h:
935 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
936 (ev_window_cmd_edit_rotate_right), (ev_window_init):
938 Refresh thumbnails when changing orientation. Not fully
939 working yet becuase of a sidebar bug.
941 Set page orientation to poppler page everywhere. This sucks
942 really need to fix poppler.
944 2005-06-18 Marco Pesenti Gritti <mpg@redhat.com>
946 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
947 (egg_recent_view_gtk_new_menu_item),
948 (egg_recent_view_gtk_set_property),
949 (egg_recent_view_gtk_get_property),
950 (egg_recent_view_gtk_class_init), (egg_recent_view_gtk_init),
951 (egg_recent_view_gtk_set_tooltip_func),
952 (egg_recent_view_gtk_set_label_width),
953 (egg_recent_view_gtk_get_label_width):
954 * cut-n-paste/recent-files/egg-recent-view-gtk.h:
956 Sync with libegg (ellipsize labels)
958 2005-06-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
960 * data/evince-ui.xml:
961 * shell/ev-window.c: (ev_window_cmd_go_forward),
962 (ev_window_cmd_go_backward):
964 Shift + PageUp moves 10 Pages. Fix for 306125
966 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
970 Add a flag to check if orientation has been overriden
972 2005-06-17 Martin Kretzschmar <martink@gnome.org>
974 * ps/ps.c (psscan, psfree): read "Creator:" comment, free creator
977 * ps/ps.h: add creator field to document.
979 * ps/ps-document.c (ps_document_get_info): set format to PostScript,
982 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
984 * data/evince-properties.glade:
985 * shell/ev-properties.c: (ev_properties_set_document):
989 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
991 * shell/ev-properties.c: (ev_properties_set_document):
993 Remove unnecessary translations
995 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
997 * cut-n-paste/toolbar-editor/Makefile.am:
1001 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1004 * cut-n-paste/recent-files/egg-recent-model.c:
1005 (egg_recent_model_write_raw), (egg_recent_model_lock_file),
1006 (egg_recent_model_unlock_file):
1007 * cut-n-paste/recent-files/egg-recent-util.c:
1008 (egg_recent_util_get_unique_id):
1009 * cut-n-paste/recent-files/update-from-egg.sh:
1010 * cut-n-paste/toolbar-editor/Makefile.am:
1011 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
1012 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
1013 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
1014 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
1015 (egg_toolbars_model_get_type):
1016 * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
1018 Better makefile for toolbar editor and update everything
1021 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1023 * shell/ev-window.c: (update_document_mode):
1025 Prefer presentation mode when the document
1028 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1030 * data/evince-ui.xml:
1031 * shell/ev-window.c:
1033 Add control-equal for zooming
1035 2005-06-17 Theppitak Karoonboonyanan <thep@linux.thai.net>
1037 * configure.ac: Added 'th' (Thai) to ALL_LINGUAS.
1039 2005-06-16 Marco Pesenti Gritti <mpg@redhat.com>
1041 * backend/ev-document.c: (ev_document_get_orientation):
1042 * backend/ev-document.h:
1043 * pdf/ev-poppler.cc:
1044 * ps/ps-document.c: (ps_document_get_orientation),
1045 (ps_document_set_orientation), (ps_document_document_iface_init):
1047 Add a get_orientation api. Improve set_orientation.
1049 * data/evince-ui.xml:
1050 * shell/ev-view.c: (ev_view_set_orientation),
1051 (ev_view_rotate_right), (ev_view_rotate_left):
1053 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
1054 (ev_window_cmd_edit_rotate_right):
1056 Better ui for changing document orientation
1058 2005-06-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1060 * shell/ev-sidebar-links.c: (ev_sidebar_links_get_property),
1061 (ev_sidebar_links_class_init), (ev_sidebar_links_get_label):
1062 * shell/ev-sidebar-links.h:
1063 * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
1064 (ev_sidebar_page_iface_init):
1065 * shell/ev-sidebar-page.h:
1066 * shell/ev-sidebar-thumbnails.c:
1067 (ev_sidebar_thumbnails_get_property),
1068 (ev_sidebar_thumbnails_class_init),
1069 (ev_sidebar_thumbnails_set_document):
1070 * shell/ev-sidebar-thumbnails.h:
1071 * shell/ev-view.c: (ev_view_motion_notify_event):
1072 * shell/ev-window.c: (update_chrome_visibility),
1073 (ev_window_cmd_focus_page_selector),
1074 (ev_window_update_fullscreen_popup), (view_actions_focus_in_cb),
1075 (sidebar_page_main_widget_update_cb), (ev_window_init):
1077 Autoraise toolbar on GoToPage binding and fix bindings in
1078 EvSidebarThumbnails page.
1080 2005-06-15 Christian Persch <chpe@cvs.gnome.org>
1082 * shell/ev-properties.c: (update_progress_label):
1084 Hide the progress label when finished; bug #307697.
1086 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
1088 * pdf/ev-poppler.cc:
1090 Enable is_open for links, you will need poppler cvs
1092 * shell/ev-properties.c: (job_fonts_finished_cb):
1094 Get a lock on the document when filling the tree view
1096 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
1098 * backend/ev-document-links.h:
1099 * pdf/ev-poppler.cc:
1100 * shell/ev-sidebar-links.c: (create_loading_model),
1101 (expand_open_links), (job_finished_callback):
1103 Expand links when specified by the document.
1104 Depend on a poppler api (defined out for now)
1106 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
1108 * shell/ev-properties.c: (ev_properties_dispose),
1109 (ev_properties_class_init), (dialog_destroy_cb),
1110 (ev_properties_init), (job_fonts_finished_cb), (setup_fonts_view),
1111 (ev_properties_set_document), (ev_properties_new),
1112 (ev_properties_show):
1113 * shell/ev-properties.h:
1115 Make it an object, cleanup the code, api to show it as transient
1116 and to set the document.
1118 * shell/ev-window.c: (ev_window_setup_document),
1119 (ev_window_cmd_file_properties):
1121 Adapt to EvProperties changes, do not show multiple
1122 times, update it when document changes.
1124 2005-06-14 Marco Pesenti Gritti <mpg@redhat.com>
1127 * ps/ps-document.c: (ps_document_init), (get_page_orientation),
1128 (ps_document_set_orientation), (ps_document_document_iface_init):
1131 Implement orientation here too
1133 * shell/ev-properties.c: (ev_properties_new):
1134 * data/evince-properties.glade:
1136 Hide the fonts page for backends that doesnt
1139 2005-06-14 Marco Pesenti Gritti <mpg@redhat.com>
1141 * backend/ev-document.c: (ev_document_set_orientation):
1142 * backend/ev-document.h:
1143 * pdf/ev-poppler.cc:
1145 Add orientation api. Currently poppler api is not optimal,
1146 we need to set orientation every time we _get a page.
1147 I will try to fix that at some point.
1149 * data/evince-ui.xml:
1150 * shell/ev-window.c: (ev_window_cmd_edit_landscape),
1151 (ev_window_cmd_edit_portrait), (ev_window_cmd_edit_flip):
1153 Add orientation menu items
1155 * shell/ev-page-cache.c: (ev_page_cache_clear):
1156 * shell/ev-page-cache.h:
1158 Add api to clear the cache
1160 * shell/ev-view.c: (setup_caches), (clear_caches),
1161 (ev_view_set_document), (ev_view_zoom_out),
1162 (ev_view_set_orientation):
1165 Implement orientation changing
1167 2005-06-13 Marco Pesenti Gritti <mpg@redhat.com>
1169 * backend/ev-document-fonts.c: (ev_document_fonts_get_progress),
1170 (ev_document_fonts_scan), (ev_document_fonts_fill_model):
1171 * backend/ev-document-fonts.h:
1173 Separate scan and fill so that we can incrementally fill from
1174 the main thread. Add a progress api.
1176 * data/evince-properties.glade:
1177 * pdf/ev-poppler.cc:
1178 * shell/ev-jobs.c: (ev_job_fonts_new), (ev_job_fonts_run):
1180 * shell/ev-properties.c: (update_progress_label),
1181 (job_fonts_finished_cb), (setup_fonts_view):
1183 Incrementally feel the list and show the progress
1184 percentage in a label like acrobat does.
1186 You are going to need poppler cvs
1188 2005-06-11 Marco Pesenti Gritti <mpg@redhat.com>
1190 * backend/ev-document-fonts.c: (ev_document_fonts_fill_model):
1191 * backend/ev-document-fonts.h:
1192 * pdf/ev-poppler.cc:
1194 Make fonts model fill incrementally.
1196 * shell/ev-job-queue.c: (handle_job), (search_for_jobs_unlocked),
1197 (no_jobs_available_unlocked), (ev_job_queue_init), (find_queue),
1198 (ev_job_queue_remove_job):
1199 * shell/ev-jobs.c: (ev_job_fonts_init), (ev_job_fonts_class_init),
1200 (ev_job_fonts_new), (ev_job_fonts_run):
1203 New job for fonts scanning
1205 * shell/ev-properties.c: (job_fonts_finished_cb),
1206 (fill_fonts_treeview), (setup_fonts_view), (ev_properties_new):
1207 * shell/ev-properties.h:
1208 * shell/ev-window.c: (ev_window_cmd_file_properties):
1210 Incrementally feel the treeview using the new job. Show Loading...
1211 message until scanning is completed.
1213 Hopefully I didnt break the build without the poppler patch.
1215 2005-06-10 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1217 * shell/ev-application.c: (ev_application_open):
1218 * shell/ev-document-types.c: (ev_document_type_from_from_mime),
1219 (ev_document_type_get_type), (ev_document_type_lookup):
1220 * shell/ev-document-types.h:
1221 * shell/ev-job-xfer.c: (ev_job_xfer_dispose), (ev_job_xfer_run):
1222 * shell/ev-job-xfer.h:
1223 * shell/ev-window.c: (ev_window_clear_local_uri),
1224 (ev_window_load_job_cb), (ev_window_xfer_job_cb),
1225 (ev_window_open_uri), (ev_window_add_recent), (ev_window_dispose):
1226 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
1228 Transfer remote documents to tmp directory to display them later.
1230 2005-06-10 Marco Pesenti Gritti <mpg@redhat.com>
1232 * backend/ev-document-info.h:
1233 * shell/ev-properties.c: (ev_properties_new):
1235 s/GTime*/GTime. Not sure why we was using a pointer
1238 Wed Jun 8 01:04:22 2005 Jonathan Blandford <jrb@redhat.com>
1240 * shell/ev-sidebar-thumbnails.c: Use a GtkIconView in certain
1241 situations. That situation is that you're using GTK+-HEAD with
1242 the patch at #306726 is applied, and you have a document with <
1243 1500 pages in it. It's not quite as uniformly nice as the
1244 TreeView, but should be better in the long run.
1246 I'm pretty sure I guarded against breaking compilation with
1247 HAVE_GTK_ICON_VIEW_GET_VISIBLE_RANGE gaurds, though it's possible
1250 * shell/ev-window.c (ev_window_init): We don't have our tree/list
1251 widget yet, so I commented that code out
1252 enable_view_actions_for_widget() for now. Need to figure this
1255 * shell/ev-page-action.c (match_selected_cb): emit the right
1256 signals. Our cool C-l completion now works.
1258 2005-06-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1260 * backend/Makefile.am:
1261 * backend/ev-document-fonts.c:
1262 * backend/ev-document-links.c:
1263 * backend/ev-document.c: (ev_document_load):
1264 * backend/ev-document.h:
1265 * backend/ev-job-queue.c:
1266 * backend/ev-job-queue.h:
1267 * backend/ev-jobs.c:
1268 * backend/ev-jobs.h:
1269 * backend/ev-page-cache.c:
1270 * backend/ev-page-cache.h:
1272 EvPageCache and EvJobs are moved to shell.
1274 * lib/ev-file-helpers.c: (ev_file_helpers_shutdown),
1276 * lib/ev-file-helpers.h:
1278 New helper to work with temporary files
1280 * shell/Makefile.am:
1281 * shell/ev-application.c: (ev_application_open):
1282 * shell/ev-application.h:
1283 * shell/ev-job-queue.c: (remove_job_from_queue_locked),
1284 (remove_job_from_async_queue), (add_job_to_async_queue),
1285 (add_job_to_queue_locked), (notify_finished), (job_finished_cb),
1286 (handle_job), (search_for_jobs_unlocked),
1287 (no_jobs_available_unlocked), (ev_render_thread),
1288 (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
1289 (ev_job_queue_add_job), (move_job_async), (move_job),
1290 (ev_job_queue_update_job), (ev_job_queue_remove_job):
1291 * shell/ev-job-queue.h:
1292 * shell/ev-job-xfer.c: (ev_job_xfer_init), (ev_job_xfer_dispose),
1293 (ev_job_xfer_class_init), (ev_job_xfer_new), (ev_job_xfer_run):
1294 * shell/ev-job-xfer.h:
1295 * shell/ev-jobs.c: (ev_job_init), (ev_job_dispose),
1296 (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
1297 (ev_job_links_class_init), (ev_job_render_init),
1298 (ev_job_render_dispose), (ev_job_render_class_init),
1299 (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
1300 (ev_job_thumbnail_class_init), (ev_job_load_init),
1301 (ev_job_load_dispose), (ev_job_load_class_init), (ev_job_finished),
1302 (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
1303 (render_finished_cb), (ev_job_render_run), (ev_job_thumbnail_new),
1304 (ev_job_thumbnail_run), (ev_job_load_new), (ev_job_load_run):
1306 * shell/ev-page-action.c: (ev_page_action_set_document):
1307 * shell/ev-page-cache.c: (ev_page_cache_init),
1308 (ev_page_cache_class_init), (ev_page_cache_finalize),
1309 (ev_page_cache_new), (ev_page_cache_get_n_pages),
1310 (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
1311 (ev_page_cache_set_page_label), (ev_page_cache_set_link),
1312 (ev_page_cache_get_title), (ev_page_cache_get_size),
1313 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
1314 (ev_page_cache_get_height_to_page),
1315 (ev_page_cache_get_max_label_chars),
1316 (ev_page_cache_get_page_label),
1317 (ev_page_cache_has_nonnumeric_page_labels),
1318 (ev_page_cache_get_info), (ev_page_cache_next_page),
1319 (ev_page_cache_prev_page), (ev_page_cache_get):
1320 * shell/ev-page-cache.h:
1321 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_update_range),
1322 (ev_pixbuf_cache_clear_job_sizes),
1323 (ev_pixbuf_cache_add_jobs_if_needed),
1324 (ev_pixbuf_cache_set_page_range):
1325 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings):
1326 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document):
1327 * shell/ev-sidebar-thumbnails.c:
1328 (ev_sidebar_tree_selection_changed),
1329 (ev_sidebar_thumbnails_set_document):
1330 * shell/ev-statusbar.c: (ev_statusbar_destroy),
1331 (ev_statusbar_class_init), (ev_statusbar_init), (ev_statusbar_new),
1332 (ev_statusbar_get_context_id), (ev_statusbar_push),
1333 (ev_statusbar_pop), (ev_statusbar_set_maximized),
1334 (ev_statusbar_pulse), (ev_statusbar_show_progress),
1335 (ev_statusbar_set_progress):
1336 * shell/ev-statusbar.h:
1337 * shell/ev-view.c: (ev_view_set_document), (ev_view_find_next),
1338 (ev_view_find_previous):
1339 * shell/ev-window.c: (ev_window_is_empty),
1340 (ev_window_setup_document), (password_dialog_response),
1341 (ev_window_clear_jobs), (ev_window_load_job_cb),
1342 (ev_window_xfer_job_cb), (ev_window_open_uri),
1343 (ev_window_open_uri_list), (ev_window_cmd_recent_file_activate),
1344 (ev_window_print), (ev_window_print_range),
1345 (ev_window_state_event), (ev_window_cmd_view_reload),
1346 (menu_item_select_cb), (menu_item_deselect_cb),
1347 (view_status_changed_cb), (ev_window_dispose),
1348 (drag_data_received_cb), (ev_window_init):
1349 * shell/ev-window.h:
1350 * shell/main.c: (load_files):
1352 New statusbar to show progress on idle. Two new jobs -
1353 xfer job and load job to load document in background. And update
1354 of page_cache clients to new location of code.
1356 2005-06-08 Carlos Garcia Campos <carlosgc@gnome.org>
1358 * shell/ev-application.c, shell/ev-window.[ch]: Allow multiple
1359 selection in open dialog. It also remembers the last visited directory
1360 in the current session.
1362 2005-06-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1364 * shell/ev-properties.c: (ev_properties_new):
1365 * shell/ev-properties.h:
1366 * shell/ev-window.c: (ev_window_cmd_file_properties):
1368 Get document info from page cache instead of document itself.
1369 This should fix crash related to race conditions described in
1372 2005-06-07 Marco Pesenti Gritti <mpg@redhat.com>
1374 * ps/ps-document.c: (ps_document_init),
1375 (send_ps), (get_page_box), (output), (catchPipe), (input),
1376 (stop_interpreter), (file_length), (file_readable),
1377 (check_filecompressedb), (ps_document_enable_interpreter),
1378 (document_load), (ps_async_renderer_render_pixbuf):
1381 Big cleanup of the ps code
1383 2005-06-07 Marco Pesenti Gritti <mpg@redhat.com>
1385 * backend/Makefile.am:
1386 * backend/ev-async-renderer.c: (ev_async_renderer_get_type),
1387 (ev_async_renderer_class_init), (ev_async_renderer_render_pixbuf):
1388 * backend/ev-async-renderer.h:
1390 Add an async renderer interface (method + callback) which
1391 is useful for backends like ps.
1393 * backend/ev-job-queue.c: (remove_job_from_async_queue),
1394 (add_job_to_async_queue), (job_finished_cb), (handle_job),
1395 (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
1396 (ev_job_queue_add_job), (move_job_async), (move_job),
1397 (ev_job_queue_update_job), (ev_job_queue_remove_job):
1399 Add queues for async renderer, these are executed on the
1402 * backend/ev-jobs.c: (ev_job_render_new), (render_finished_cb),
1403 (ev_job_render_run):
1404 * backend/ev-jobs.h:
1406 If the backend support async renderer interface use it.
1408 * ps/ps-document.c: (ps_document_init), (push_pixbuf),
1409 (setup_pixmap), (ps_document_get_type),
1410 (ps_async_renderer_render_pixbuf),
1411 (ps_document_document_iface_init), (ps_async_renderer_iface_init):
1413 Implement async renderer interface.
1415 2005-06-07 Nickolay V. Shmyrev <<nshmyrev@yandex.ru>>
1417 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose):
1419 Cleanup links job on exit.
1421 2005-06-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1423 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
1424 (drag_data_get_cb), (drag_data_received_cb):
1425 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
1426 (drag_data_get_cb), (parse_item_list),
1427 (egg_toolbar_editor_load_actions):
1428 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
1429 (egg_toolbars_model_to_xml), (egg_toolbars_model_save),
1430 (parse_item_list), (parse_toolbars):
1431 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
1432 (dvi_pixbuf_put_pixel):
1434 Fix gcc 4.0 warnings
1436 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
1438 * ps/ps-document.c: (start_interpreter):
1440 Fix warning when loading ps
1442 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
1444 * ps/ps-document.c: (output):
1446 Fix crash when priting gs error messages.
1448 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
1450 * backend/ev-page-cache.c: (_ev_page_cache_new):
1451 * backend/ev-page-cache.h:
1453 Use a const to return title so that we dont double
1454 free it. Small cleanup and fix a leak.
1456 * shell/ev-window.c: (update_window_title):
1458 strdup value from get_title.
1460 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
1462 * shell/ev-sidebar-links.c: (job_finished_callback),
1463 (ev_sidebar_links_set_document):
1465 Cleanup the old job when changing document
1467 2005-06-05 Nickolay V. Shmyrev <<nshmyrev@yandex.ru>>
1469 * shell/ev-stock-icons.c:
1470 * shell/ev-stock-icons.h:
1471 * shell/ev-window.c:
1473 Add stock icons for actions that can appear in toolbar. Fix for
1476 2005-06-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1478 * backend/ev-page-cache.c: (ev_page_cache_finalize),
1479 (_ev_page_cache_new), (ev_page_cache_get_max_width),
1480 (ev_page_cache_get_max_height), (ev_page_cache_get_height_to_page):
1481 * backend/ev-page-cache.h:
1482 * shell/ev-view.c: (scroll_to_current_page),
1483 (view_update_range_and_current_page), (get_page_y_offset),
1484 (get_page_extents), (ev_view_size_request_continuous_dual_page),
1485 (ev_view_size_request_continuous),
1486 (ev_view_zoom_for_size_continuous_and_dual_page),
1487 (ev_view_zoom_for_size_continuous):
1489 More compact EvView layout in document with pages of different size.
1491 Sat Jun 4 19:20:57 2005 Jonathan Blandford <jrb@redhat.com>
1493 * shell/ev-window.c (ev_window_cmd_file_properties): fix
1496 2005-06-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1498 * shell/ev-view.c: (view_set_adjustment_values):
1499 * shell/ev-window.c: (ev_window_cmd_file_properties):
1501 A bit different fix for rounding problem but it has no
1502 problems on startup. Make properties window transient to parent.
1504 2005-06-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1506 * pdf/ev-poppler.cc:
1508 More commenting of font stuff.
1510 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1512 * pdf/ev-poppler.cc:
1514 Comment out some more fonts stuff. Should really
1515 work without the poppler patch now.
1517 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1519 * pdf/ev-poppler.cc:
1523 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1525 * data/evince-properties.glade:
1526 * pdf/ev-poppler.cc:
1527 * shell/ev-properties.c: (setup_fonts_view):
1529 Set the column title. Show the dialog only
1530 once everything is setup.
1531 Getting font info can be very slow... will
1532 prolly need to make this threaded too.
1534 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1536 * backend/Makefile.am:
1537 * backend/ev-document-fonts.c: (ev_document_fonts_get_type),
1538 (ev_document_fonts_get_fonts_model):
1539 * backend/ev-document-fonts.h:
1540 * data/evince-properties.glade:
1541 * pdf/ev-poppler.cc:
1542 * shell/ev-properties.c: (setup_fonts_view), (ev_properties_new):
1543 * shell/ev-properties.h:
1544 * shell/ev-window.c: (ev_window_cmd_file_properties):
1546 Implement fonts list. Defined out for now, since it depends
1547 on a not yet committed poppler patch.
1549 Fri Jun 3 21:07:57 2005 Jonathan Blandford <jrb@redhat.com>
1551 * shell/ev-view.c (get_page_extents): other_page isn't necessarily
1554 * shell/ev-window.c: Make sure we add the timeout when we get a
1557 * shell/ev-view.c (view_set_adjustment_values): Add 0.5 to
1558 adjustment->value before calculating the zoom factor to average
1559 out all of our rounding errors. The page no longer 'drifts' when
1562 2005-06-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1564 * data/evince-properties.glade:
1565 * shell/ev-properties.c: (ev_properties_format_date),
1568 Labels don't expand when the dialogue is resized.
1569 strftime result needs to be converted to UTF-8. Thanks
1570 to Christian Persch <chpe@gnome.org>.
1572 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1574 * data/evince-properties.glade:
1578 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1580 * backend/ev-document-info.h:
1581 * backend/ev-document.c: (ev_document_info_free):
1582 * data/evince-properties.glade:
1583 * pdf/ev-poppler.cc:
1584 * ps/ps-document.c: (ps_document_get_info):
1585 * shell/ev-properties.c: (ev_properties_format_date),
1586 (set_property), (ev_properties_new):
1587 * shell/ev-properties.h:
1588 * shell/ev-window.c: (ev_window_cmd_file_properties):
1590 Rework properties code to take only EvPropertyInfo
1591 in the constructor so that it can be useful for
1592 nautilus plugin too.
1594 Deal with backends that doesnt support some properties.
1595 Make set property code generic.
1597 2005-06-04 Christian Persch <chpe@gnome.org>
1599 * data/evince-properties.glade:
1601 fix spacings, make resizeable, and make data labels
1602 selectable + ellipsised
1604 2005-06-03 Marco Pesenti Gritti <mpg@redhat.com>
1606 * backend/ev-document-info.h:
1608 * data/evince-ui.xml:
1609 * pdf/ev-poppler.cc:
1610 * shell/Makefile.am:
1611 * shell/ev-window.c: (update_action_sensitivity),
1612 (ev_window_cmd_file_properties):
1614 Initial go at file properties. Patch by
1615 Emil Soleyman-Zomalan <emil@soleyman.com>.
1616 Needs love see #169583
1618 2005-06-02 Marco Pesenti Gritti <mpg@redhat.com>
1620 * ps/ps-document.c: (output):
1621 * ps/ps.c: (psscan):
1623 Try to render even if psscan fails.
1625 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
1627 * ps/ps.c: (psscan), (pscopydoc):
1629 Port buffered reading code from gv
1631 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
1633 * ps/ps-document.c: (interpreter_message), (output):
1635 Do not fail on interpreter messages
1637 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
1639 * backend/ev-document-misc.c:
1640 (ev_document_misc_get_thumbnail_frame):
1642 Pages can be 0 x 0, dont assert on this case
1644 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1646 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
1647 (ev_sidebar_links_class_init), (ev_sidebar_links_set_document):
1649 Correctly manage our reference on document. Finally the reload
1650 huge leak is gone...
1652 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1654 * ps/ps-document.c: (ps_document_dispose):
1656 Forgot to chain it to the parent. Thanks chpe.
1658 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1660 * ps/ps-document.c: (ps_document_dispose),
1661 (ps_document_class_init), (stop_interpreter), (document_load):
1663 Cleanup dispose a bit. Dont leak the whole pixmap.
1665 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1667 * pdf/ev-poppler.cc:
1669 Release the poppler document on dispose
1671 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1673 * shell/ev-view.c: (ev_view_set_document):
1675 Release ref on the pixbuf cache when changing
1678 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1680 * ps/ps-document.c: (ps_document_get_info):
1684 2005-05-31 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
1686 * backend/ev-page-cache.c: (ev_page_cache_init),
1687 (_ev_page_cache_new), (ev_page_cache_get_max_label_chars):
1688 * backend/ev-page-cache.h:
1689 * shell/ev-page-action.c: (page_changed_cb):
1691 Set page action entry width depending on labels width. Fix
1694 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1696 * backend/ev-link.c: (ev_link_class_init):
1698 Allow -1 as page value (error)
1700 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1702 * shell/ev-sidebar-thumbnails.c:
1703 (ev_sidebar_thumbnails_set_document):
1704 * shell/ev-view.c: (scroll_to_current_page),
1705 (view_set_adjustment_values), (ev_view_set_scroll_adjustments),
1706 (page_changed_cb), (on_adjustment_value_changed),
1707 (ev_view_set_document):
1709 Slightly modified patch by Nickolay V. Shmyrev <nshmyrev@yandex.ru>.
1712 2005-05-29 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1715 * djvu/djvu-document.c: (djvu_document_get_page_size):
1717 Require djvulibre CVS. Now djvu loading is much faster. Fix for
1720 Sat May 28 07:38:03 2005 Jonathan Blandford <jrb@redhat.com>
1722 * shell/ev-view.c (draw_one_page): modify the expose handling to
1725 * shell/ev-window.c (update_action_sensitivity): Respect
1726 permissions field. Kowtow to the man.
1728 * pdf/ev-poppler.cc: Get the permissions field.
1730 * tiff/*c: Make a tiny bit more robust.
1732 2005-05-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1734 * djvu/djvu-document.c:
1736 Pop messages from djvu context message queue.
1738 2005-05-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1740 * configure.ac, Makefile.am, shell/Makefile.am:
1741 * tiff/Makefile.am, shell/ev-document-types.c:
1743 Cleanup tiff configure checks. Fix for bug 305218.
1745 2005-05-24 Maxim V. Dziumanenko <mvd@mylinux.ua>
1747 * configure.ac: Added "uk" to ALL_LINGUAS.
1749 2005-05-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1751 * cut-n-paste/zoom-control/ephy-zoom.c:
1752 (ephy_zoom_get_changed_zoom_level):
1753 * cut-n-paste/zoom-control/ephy-zoom.h:
1754 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_set_property),
1755 (ev_view_get_property), (ev_view_class_init), (ev_view_set_zoom):
1756 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
1757 (ev_window_cmd_view_zoom_out), (ev_window_zoom_changed_cb),
1758 (zoom_control_changed_cb), (ev_window_init):
1760 Fix minor points related to moving best fit up. Introduce
1761 "zoom" property and make zoom control change it's value on
1762 notify::zoom signals. Fix for 305080.
1764 2005-05-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1766 * data/evince-ui.xml:
1767 * shell/ev-window.c: (set_view_actions_sensitivity):
1769 Use + and - as accels for zoom in and zoom out. Fix for 305001.
1771 2005-05-22 Marco Pesenti Gritti <mpg@redhat.com>
1775 Depends on poppler 0.3.2
1777 2005-05-22 Marco Pesenti Gritti <mpg@redhat.com>
1779 * cut-n-paste/recent-files/egg-recent-item.c:
1780 (egg_recent_item_get_short_name):
1781 * cut-n-paste/toolbar-editor/Makefile.am:
1782 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
1783 (new_pixbuf_from_widget):
1784 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
1785 * cut-n-paste/toolbar-editor/egg-marshal.c:
1786 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
1787 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
1791 Sat May 21 23:18:30 2005 Jonathan Blandford <jrb@redhat.com>
1793 * tiff/tiff-document.c: Rough TIFF backend.
1795 2005-05-21 Marco Pesenti Gritti <mpg@redhat.com>
1799 * cut-n-paste/toolbar-editor/Makefile.am:
1803 2005-05-21 Marco Pesenti Gritti <mpg@redhat.com>
1805 * shell/ev-view.c: (jump_to_find_result), (ev_view_can_find_next),
1806 (ev_view_find_next), (ev_view_find_previous):
1808 Remove the locks around get_n_results
1810 2005-05-21 Juerg Billeter <j@bitron.ch>
1812 * pdf/ev-poppler.c: (pdf_document_ps_exporter_begin):
1814 Pass correct number of pages to poppler.
1816 2005-05-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1820 * data/evince.desktop.in:
1821 * data/evince.desktop.in.in:
1824 Add conditionally dvi and djvu to desktop types. Fix for 304658.
1826 Sat May 21 00:21:30 2005 Jonathan Blandford <jrb@redhat.com>
1828 * shell/ev-view.c: (view_update_adjustments),
1829 (view_set_adjustment_values): cast adjustmen->value to (int)
1830 before using it. Otherwise, we get off by a pixel in some
1833 (draw_one_page): Draw the border on expose.
1835 Fri May 20 22:05:25 2005 Jonathan Blandford <jrb@redhat.com>
1837 * *shell/ev-view.c: Patch from Nickolay V. Shmyrev to reset the
1838 adjustment when the mode changes, #304923
1840 Fri May 20 02:00:03 2005 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1842 * shell/ev-view.c: Use gdk_widget_queue_draw to remove
1843 flickering on resize but still use gdk_window_scroll on
1846 Fri May 20 01:46:57 2005 Jonathan Blandford <jrb@redhat.com>
1848 * shell/ev-view.c: Patch from Nickolay Shmyrev to fix the -p
1851 Fri May 20 01:27:01 2005 Jonathan Blandford <jrb@redhat.com>
1853 * shell/ev-view.c: Patch from Nickolay Shmyrev to to scroll to
1854 second page on page_changed if possible, #304669
1856 Fri May 20 01:07:15 2005 Jonathan Blandford <jrb@redhat.com>
1858 * shell/ev-view.c (view_update_adjustments): Use gdk_window_scroll
1859 instead of gtk_widget_queue_draw. Massive speedups in scrolling.
1861 Fri May 20 01:05:10 2005 Jonathan Blandford <jrb@redhat.com>
1864 * shell/ev-view.c:(ev_view_size_allocate), (ev_view_class_init),
1865 (zoom_for_size_fit_width), (zoom_for_size_best_fit),
1866 (ev_view_zoom_for_size_presentation),
1867 (ev_view_zoom_for_size_continuous_and_dual_page),
1868 (ev_view_zoom_for_size_continuous),
1869 (ev_view_zoom_for_size_dual_page),
1870 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size):
1872 * shell/ev-window.c: (update_view_size),
1873 (ev_window_sizing_mode_changed_cb):
1875 Patch from Nickolay Shmyrev <nshmyrev@yandex.ru> to handle
1876 the scrollbars. It's not 100% right, but it's much closer. Kills
1877 an infinite loop, #304769
1880 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
1882 * data/evince-ui.xml:
1883 * shell/ev-view.c: (ev_view_scroll_view), (ev_view_class_init):
1884 * shell/ev-window.c: (set_view_actions_sensitivity):
1886 Make PgUp/Down behave like Space
1888 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
1890 * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
1891 * backend/ev-ps-exporter.h:
1892 * pdf/ev-poppler.cc:
1893 * ps/ps-document.c: (ps_document_ps_export_begin):
1894 * shell/ev-print-job.c: (idle_print_handler):
1896 Adapt to new poppler api
1898 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
1900 * cut-n-paste/zoom-control/ephy-zoom-control.c:
1901 (ephy_zoom_control_init):
1903 Translate zoom levels
1905 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
1907 * cut-n-paste/zoom-control/ephy-zoom.c:
1908 (ephy_zoom_get_zoom_level_index):
1910 Fix current zoom -> zoom control match
1912 2005-05-18 James Bowes <bowes@cs.dal.ca>
1914 * shell/ev-window.c: (ev_window_init): Give focus to the ev-view,
1915 rather than the scrolled_window that it's in. Fixes bug #304655.
1917 Tue May 17 22:54:17 2005 Jonathan Blandford <jrb@redhat.com>
1919 * shell/ev-view.c: (view_update_adjustments),
1920 (view_set_adjustment_values), (view_update_range_and_current_page),
1921 (view_scroll_to_page), (set_scroll_adjustment),
1922 (ev_view_set_scroll_adjustments), (add_scroll_binding_keypad),
1923 (ev_view_scroll), (ev_view_scroll_view),
1924 (ensure_rectangle_is_visible), (find_page_at_location),
1925 (get_link_at_location), (go_to_link), (status_message_from_link),
1926 (ev_view_size_request_continuous_dual_page),
1927 (ev_view_size_request), (ev_view_size_allocate), (ev_view_realize),
1928 (ev_view_unrealize), (ev_view_expose_event),
1929 (ev_view_button_press_event), (ev_view_motion_notify_event),
1930 (ev_view_button_release_event), (ev_gdk_color_to_rgb),
1931 (draw_rubberband), (highlight_find_results), (draw_one_page),
1932 (ev_view_finalize), (ev_view_destroy), (ev_view_class_init),
1933 (ev_view_init), (find_changed_cb), (page_changed_cb),
1934 (on_adjustment_value_changed), (ev_view_new),
1935 (ev_view_set_document), (ev_view_set_zoom),
1936 (ev_view_set_continuous), (ev_view_set_dual_page),
1937 (ev_view_set_presentation), (ev_view_zoom_in), (ev_view_zoom_out),
1938 (zoom_for_size_fit_width), (zoom_for_size_best_fit),
1939 (ev_view_zoom_for_size_presentation),
1940 (ev_view_zoom_for_size_continuous_dual_page),
1941 (ev_view_zoom_for_size_continuous),
1942 (ev_view_zoom_for_size_dual_page),
1943 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
1944 (ev_view_get_status), (ev_view_set_status),
1945 (update_find_status_message), (ev_view_get_find_status),
1946 (ev_view_set_find_status), (jump_to_find_result),
1947 (jump_to_find_page), (compute_selections), (clear_selection),
1948 (ev_view_select_all), (get_selected_text), (ev_view_copy),
1949 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
1950 (ev_view_update_primary_selection),
1951 (ev_view_create_invisible_cursor), (ev_view_set_cursor):
1953 * shell/ev-window.c: (ev_window_open_page_label),
1954 (ev_window_cmd_view_reload), (ev_window_sizing_mode_changed_cb),
1956 * shell/ev-window.h:
1957 * shell/main.c: (load_files):
1959 Massive code clean up from Nickolay Shmyrev. Keep page offset
1960 when resizing. Remove the bin_window(). Also, patch from James
1961 Bowes to fix command line page, #300641
1963 2005-05-17 Marco Pesenti Gritti <mpg@redhat.com>
1965 * data/evince-ui.xml:
1968 * shell/ev-window.c: (update_action_sensitivity):
1970 Get rid of View->Normal Size, it's just confusing
1972 Tue May 17 00:51:21 2005 Jonathan Blandford <jrb@redhat.com>
1974 * backend/ev-document-info.h:
1975 * backend/ev-document.c: (ev_document_info_free): Free the
1978 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
1979 (clear_range), (add_range), (update_visible_range),
1980 (adjustment_changed_cb), (ev_sidebar_thumbnails_init),
1981 (ev_sidebar_thumbnails_set_document):
1982 * shell/ev-window.c: (ev_window_setup_document): Only render the
1983 visible thumbnails. It takes an instant to render, but it uses
1986 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
1988 * shell/ev-sidebar-links.c: (popup_menu_cb):
1992 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
1995 * shell/ev-sidebar-links.c: (build_popup_menu), (popup_menu_cb),
1996 (button_press_cb), (ev_sidebar_links_construct):
1998 Show the popup menu also on keybindings
2000 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
2002 * shell/ev-window.c: (ev_window_print), (ev_window_print_range):
2003 * shell/ev-window.h:
2005 Expose api to print a range (with dialog). Make private _print use
2008 * shell/ev-sidebar-links.c: (print_section_cb), (button_press_cb),
2009 (ev_sidebar_links_construct):
2011 Show a print context menu on linkx, it prints the selected
2014 2005-05-15 Carlos Garcia Campos <carlosgc@gnome.org>
2016 * shell/ev-sidebar.c: make the drop down menu as width as the toggle
2019 2005-05-12 Marco Pesenti Gritti <mpg@redhat.com>
2025 * shell/ev-window.c: (build_comments_string),
2026 (ev_window_cmd_help_about):
2028 Show poppler version/backend and authors
2030 2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
2032 * cut-n-paste/zoom-control/ephy-zoom.c:
2033 (ephy_zoom_get_zoom_level_index):
2034 * cut-n-paste/zoom-control/ephy-zoom.h:
2036 Move the best fit items at the top of the list
2038 2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
2040 * shell/ev-marshal.list:
2041 * shell/ev-page-action.c: (ev_page_action_widget_class_init),
2042 (activate_cb), (match_selected_cb), (activate_link_cb),
2043 (connect_proxy), (ev_page_action_class_init):
2044 * shell/ev-page-action.h:
2046 Use signals to notify action activation. Hopefully
2047 I did not break completion since I cant test...
2049 * shell/ev-window.c: (activate_link_cb), (activate_label_cb),
2050 (register_custom_actions):
2052 Connect to page selector actions and also grab focus on
2053 the view when activated.
2055 Wed May 11 01:18:29 2005 Jonathan Blandford <jrb@redhat.com>
2057 * pdf/ev-poppler.cc:
2058 * backend/ev-page-cache.c: make page size calculation consistent
2059 and set it to (int)( width * scale + 0.5). This makes the weird
2060 line going through the middle of the page go away.
2062 * shell/ev-view.c: move painting the background page after
2063 checking the expose area covers us.
2065 2005-05-11 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2067 * data/evince-password.glade:
2069 Mark labels as not translatable. Fix for bug 302842.
2071 2005-05-10 Francisco Javier F. Serrador <serrador@cvs.gnome.org>
2073 * configure.ac: Added "es" to ALL_LINGUAS.
2075 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2077 * data/evince-toolbar.xml:
2078 * shell/ev-window.c: (update_action_sensitivity),
2079 (ev_window_setup_document), (ev_window_set_page_mode),
2082 Remove some leftover code from jrb first continous
2083 attempt. Use the new actions, we still need good icons
2086 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2088 * shell/ev-page-action.c: (update_pages_label), (connect_proxy):
2090 Update label when connecting proxy. Fix a warning with NULL
2093 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2095 * data/evince-ui.xml:
2096 * shell/ev-page-action.c: (ev_page_action_grab_focus):
2097 * shell/ev-page-action.h:
2098 * shell/ev-window.c: (ev_window_cmd_focus_page_selector):
2100 Add mnemonic for edit toolbar.
2101 ctrl+l focus the page entry.
2103 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2106 * shell/ev-window.c: (ev_window_cmd_edit_toolbar_cb),
2108 * shell/main.c: (main):
2110 Put the toolbar xml in evince own dot dir
2112 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2114 * shell/ev-window.c: (ev_window_init):
2116 Make the toolbar not removable
2118 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2120 * data/evince-ui.xml:
2121 * shell/ev-sidebar-links.c: (ev_sidebar_links_get_treeview):
2122 * shell/ev-sidebar-links.h:
2123 * shell/ev-sidebar-thumbnails.c:
2124 (ev_sidebar_thumbnails_get_treeview):
2125 * shell/ev-sidebar-thumbnails.h:
2126 * shell/ev-view.c: (ev_view_scroll), (ev_view_scroll_view),
2127 (ev_view_class_init):
2129 * shell/ev-window.c: (update_action_sensitivity),
2130 (ev_window_cmd_scroll_forward), (ev_window_cmd_scroll_backward),
2131 (set_view_actions_sensitivity), (view_actions_focus_in_cb),
2132 (view_actions_focus_out_cb), (enable_view_actions_for_widget),
2135 This is evil... Make space/backspace global accelerators but
2136 enable them only for some widgets (sidebars and view).
2137 I dont like it, but I dont know a better way... :/
2139 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2141 * shell/ev-page-action.c: (ev_page_action_widget_set_page_cache),
2142 (ev_page_action_widget_finalize),
2143 (ev_page_action_widget_class_init), (update_page_cache):
2145 Keep a weak reference on proxy->page_cache so that we
2146 dont try to disconnect the signal if the object is already
2147 gone. Maybe there is a better way to cleanup reference handling
2148 in page action though...
2150 2005-05-10 Juerg Billeter <j@bitron.ch>
2152 * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
2153 * backend/ev-ps-exporter.h:
2154 * pdf/ev-poppler.cc: (pdf_document_ps_exporter_begin):
2155 * ps/ps-document.c: (ps_document_ps_export_begin):
2157 Change api to pass print range to ps_exporter_begin. The pdf backend
2158 requires this information.
2160 * shell/ev-print-job.c: (idle_print_handler):
2164 2005-05-10 Juerg Billeter <j@bitron.ch>
2166 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
2167 (idle_print_handler)
2168 * shell/ev-window.c: (ev_window_print):
2170 Support printing page range, based on patch by Amaury Jacquot
2172 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2174 * data/evince-toolbar.xml:
2176 Add zoom control to available items
2178 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2180 * shell/ev-window.c: (update_action_sensitivity):
2182 Set slash action insensitive when appropriate
2184 2005-05-10 Christian Persch <chpe@gnome.org>
2186 * cut-n-paste/zoom-control/ephy-zoom-action.c: (create_menu_item):
2188 Fix warning on the overflow menu
2190 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2192 * shell/ev-window.c: (sanity_check_uri), (ev_window_open):
2194 Check for uri correctness/existence
2196 2005-05-09 Juerg Billeter <j@bitron.ch>
2198 * shell/ev-window.c: (using_postscript_printer):
2200 LPD printers use postscript, too
2202 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2204 * shell/ev-window.c: (register_custom_actions):
2206 The zoom one is actually sort of useful,
2209 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2211 * shell/ev-window.c: (register_custom_actions):
2213 Hide page/zoom controls from overflow, they
2216 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2218 * cut-n-paste/update-from-egg.sh:
2220 Share it between all cut-n-paste subdirs
2222 * cut-n-paste/recent-files/Makefile.am:
2224 Fix to use "global" update-from-egg.sh
2226 * cut-n-paste/recent-files/egg-recent-model.c:
2227 (egg_recent_model_changed_timeout), (egg_recent_model_finalize):
2228 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
2229 (egg_recent_view_gtk_clear), (egg_recent_view_gtk_set_list),
2230 (egg_recent_view_gtk_finalize), (egg_recent_view_gtk_set_menu):
2234 * cut-n-paste/toolbar-editor/Makefile.am:
2236 Fix to use "global" update-from-egg.sh
2238 * cut-n-paste/toolbar-editor/eggmarshalers.list:
2242 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2245 * cut-n-paste/Makefile.am:
2246 * cut-n-paste/recent-files/Makefile.am:
2247 * cut-n-paste/toolbar-editor/.cvsignore:
2248 * cut-n-paste/toolbar-editor/Makefile.am:
2249 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
2250 (egg_editable_toolbar_get_type), (get_toolbar_position),
2251 (get_n_toolbars), (get_dock_nth), (get_toolbar_nth), (find_action),
2252 (drag_data_delete_cb), (drag_begin_cb), (drag_end_cb),
2253 (drag_data_get_cb), (set_drag_cursor), (unset_drag_cursor),
2254 (set_item_drag_source), (create_item_from_action), (create_item),
2255 (data_is_separator), (drag_data_received_cb), (remove_toolbar_cb),
2256 (popup_toolbar_context_menu_cb), (free_dragged_item),
2257 (toolbar_drag_drop_cb), (toolbar_drag_motion_cb),
2258 (toolbar_drag_leave_cb), (create_dock), (set_fixed_style),
2259 (unset_fixed_style), (toolbar_changed_cb), (unparent_fixed),
2260 (update_fixed), (toolbar_added_cb), (toolbar_removed_cb),
2261 (item_added_cb), (item_removed_cb),
2262 (egg_editable_toolbar_construct),
2263 (egg_editable_toolbar_disconnect_model),
2264 (egg_editable_toolbar_deconstruct),
2265 (egg_editable_toolbar_set_model),
2266 (egg_editable_toolbar_set_ui_manager),
2267 (egg_editable_toolbar_set_property),
2268 (egg_editable_toolbar_get_property),
2269 (egg_editable_toolbar_class_init), (egg_editable_toolbar_init),
2270 (egg_editable_toolbar_finalize), (egg_editable_toolbar_new),
2271 (egg_editable_toolbar_new_with_model),
2272 (egg_editable_toolbar_get_edit_mode),
2273 (egg_editable_toolbar_set_edit_mode), (egg_editable_toolbar_show),
2274 (egg_editable_toolbar_hide), (egg_editable_toolbar_set_fixed),
2275 (egg_editable_toolbar_set_drag_dest), (fake_expose_widget),
2276 (new_pixbuf_from_widget), (new_separator_pixbuf),
2277 (update_separator_image), (style_set_cb),
2278 (_egg_editable_toolbar_new_separator_image),
2279 (egg_editable_toolbar_get_model):
2280 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
2281 * cut-n-paste/toolbar-editor/egg-marshal.c:
2282 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
2283 (egg_toolbar_editor_get_type), (compare_actions), (find_action),
2284 (egg_toolbar_editor_set_ui_manager), (toolbar_removed_cb),
2285 (egg_toolbar_editor_set_model), (egg_toolbar_editor_set_property),
2286 (egg_toolbar_editor_get_property), (egg_toolbar_editor_class_init),
2287 (egg_toolbar_editor_finalize), (egg_toolbar_editor_new),
2288 (drag_begin_cb), (drag_end_cb), (editor_drag_data_received_cb),
2289 (editor_drag_data_delete_cb), (drag_data_get_cb),
2290 (elide_underscores), (set_drag_cursor), (event_box_realize_cb),
2291 (editor_create_item), (update_editor_sheet), (setup_editor),
2292 (egg_toolbar_editor_init), (egg_toolbar_editor_add_action),
2293 (parse_item_list), (model_has_action), (update_actions_list),
2294 (egg_toolbar_editor_load_actions):
2295 * cut-n-paste/toolbar-editor/egg-toolbar-editor.h:
2296 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
2297 (egg_toolbars_model_get_type), (egg_toolbars_model_to_xml),
2298 (safe_save_xml), (egg_toolbars_model_save), (toolbars_toolbar_new),
2299 (toolbars_item_new), (free_toolbar_node), (free_item_node),
2300 (egg_toolbars_model_get_flags), (egg_toolbars_model_set_flags),
2301 (egg_toolbars_model_add_separator), (impl_add_item),
2302 (parse_item_list), (egg_toolbars_model_add_toolbar),
2303 (parse_toolbars), (egg_toolbars_model_load), (impl_get_item_id),
2304 (impl_get_item_data), (impl_get_item_type),
2305 (_egg_accumulator_STRING), (egg_toolbars_model_class_init),
2306 (egg_toolbars_model_init), (free_toolbar),
2307 (egg_toolbars_model_finalize), (egg_toolbars_model_new),
2308 (egg_toolbars_model_remove_toolbar),
2309 (egg_toolbars_model_remove_item), (egg_toolbars_model_move_item),
2310 (egg_toolbars_model_n_items), (egg_toolbars_model_item_nth),
2311 (egg_toolbars_model_n_toolbars), (egg_toolbars_model_toolbar_nth),
2312 (egg_toolbars_model_add_item), (egg_toolbars_model_get_item_id),
2313 (egg_toolbars_model_get_item_data),
2314 (egg_toolbars_model_get_item_type):
2315 * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
2316 * cut-n-paste/toolbar-editor/eggmarshalers.list:
2318 * data/evince-toolbar.xml:
2319 * data/evince-ui.xml:
2320 * data/hand-open.png:
2322 * shell/Makefile.am:
2323 * shell/ev-window.c: (update_chrome_visibility),
2324 (ev_window_cmd_edit_toolbar_cb), (ev_window_cmd_edit_toolbar),
2325 (ev_window_dispose), (ev_window_init):
2327 Implement epiphany like toolbar editor. Based on patch by
2328 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2330 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2332 * shell/ev-sidebar-thumbnails.c: (page_changed_cb):
2334 Use set_cursor instead of set_selection, so that
2335 the keyboard focus moves too.
2337 2005-05-09 Aleksey Kliger <akliger@gmail.com>
2339 * dvi/mdvi-lib/tfmfile.c: (lookup_font_metrics):
2341 Fix infinite loop when loading Type1 fonts
2343 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2345 * data/evince-ui.xml:
2346 * shell/ev-window.c:
2350 2005-05-09 Thomas de Grenier de Latour <degrenier@easyconnect.fr>
2354 Make --disable really disable
2356 2005-05-07 Juerg Billeter <j@bitron.ch>
2358 * backend/ev-page-cache.c: (ev_page_cache_set_page_label):
2360 Compare page labels even without has_labels set, fixes setting page
2363 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2365 * shell/ev-view.c: (ev_view_create_invisible_cursor),
2366 (ev_view_set_cursor), (ev_view_button_press_event),
2367 (ev_view_motion_notify_event), (ev_view_button_release_event),
2370 Implement middle button scrolling. Based on a patch
2371 by Tommi Komulainen <tommi.komulainen@iki.fi>.
2373 2005-05-08 Marco Pesenti Gritti <mpg@redhat.com>
2375 * shell/ev-document-types.c: (get_slow_mime_type),
2376 (get_document_type_from_mime), (ev_document_type_lookup):
2377 * shell/ev-document-types.h:
2379 Change api to lookup from uri. Do fast lookup first, if the
2380 type is unknown try with data sniffing.
2382 * shell/ev-window.c: (ev_window_open), (ev_window_open_uri_list):
2383 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
2387 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2389 * thumbnailer/Makefile.am:
2393 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2400 * data/evince-ui.xml:
2402 Hide presentation mode for now
2404 * shell/ev-view.c: (highlight_find_results):
2406 Show current find selection only on current page
2408 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2410 * shell/ev-view.c: (ev_view_select_all):
2412 Compute size of the actual page, not of
2415 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2417 * shell/ev-view.c: (clear_selection), (ev_view_finalize),
2418 (view_rect_to_doc_rect), (compute_selections),
2419 (ev_view_bin_expose), (ev_view_select_all), (get_selected_text),
2420 (ev_view_copy), (ev_view_primary_get_cb),
2421 (ev_view_primary_clear_cb), (ev_view_update_primary_selection),
2422 (ev_view_button_press_event), (ev_view_motion_notify_event),
2423 (ev_view_button_release_event), (page_changed_cb):
2427 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2429 * shell/ev-view.c: (compute_border), (get_page_extents),
2430 (doc_rect_to_view_rect), (highlight_find_results),
2431 (ev_view_bin_expose), (ev_view_select_all),
2432 (ev_view_motion_notify_event), (update_find_status_message),
2433 (jump_to_find_result), (jump_to_find_page):
2435 First go at fixing search, still buggy
2437 2005-05-04 Kristian Høgsberg <krh@redhat.com>
2439 * shell/ev-sidebar.c (ev_sidebar_init): Remove frame around
2440 dropdown box and button at the top of the sidebar.
2442 2005-05-02 James Bowes <bowes@cs.dal.ca>
2444 * configure.ac: Output zoom-control Makefile.
2445 * cut-n-paste/Makefile.am: build zoom-control subdir.
2446 * cut-n-paste/zoom-control/ephy-zoom-action.c:
2447 * cut-n-paste/zoom-control/ephy-zoom-action.h:
2448 * cut-n-paste/zoom-control/ephy-zoom-control.c:
2449 * cut-n-paste/zoom-control/ephy-zoom-control.h:
2450 * cut-n-paste/zoom-control/ephy-zoom.c:
2451 * cut-n-paste/zoom-control/ephy-zoom.h: New files imported
2452 from epiphany, and modified to add a separator into the menu.
2453 * cut-n-paste/zoom-control/Makefile.am: Build zoom-control.
2454 * data/evince-ui.xml: Replace old zoom toolbar actions with new
2455 zoom-control action.
2456 * shell/Makefile.am: Include zoom-control flags.
2457 * shell/ev-view.c: (ev_view_set_zoom), (ev_view_get_zoom),
2458 (ev_view_get_sizing_mode), (ev_view_zoom_in), (ev_view_zoom_out),
2459 (ev_view_zoom_for_size_presentation),
2460 (ev_view_zoom_for_size_continuous_and_dual_page),
2461 (ev_view_zoom_for_size_continuous),
2462 (ev_view_zoom_for_size_dual_page),
2463 (ev_view_zoom_for_size_single_page), (ev_view_zoom_normal):
2464 s/ev_view_zoom/ev_view_set_zoom/ and make public, add
2465 ev_view_get_zoom and ev_view_get_sizing_mode.
2467 * shell/ev-window.c: (update_action_sensitivity),
2468 (update_sizing_buttons), (zoom_control_changed_cb),
2469 (register_custom_actions): Initialize and use the zoom-control
2472 Sun May 1 00:46:47 2005 Jonathan Blandford <jrb@redhat.com>
2474 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init): Change the
2475 preview cache back to 1. Don't know when it got set to 0.
2477 * shell/ev-view.c: (compute_border), (ev_view_realize),
2478 (draw_one_page), (ev_view_set_property), (ev_view_get_property),
2479 (ev_view_class_init), (ev_view_init), (ev_view_set_fullscreen),
2480 (ev_view_get_fullscreen), (ev_view_set_presentation),
2481 (ev_view_get_presentation), (ev_view_set_sizing_mode),
2482 (ev_view_zoom_for_size_presentation), (ev_view_set_zoom_for_size):
2484 * shell/ev-window.c:
2485 (update_chrome_visibility),
2486 (ev_window_cmd_continuous), (ev_window_cmd_dual),
2487 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
2488 (update_document_mode), (ev_window_update_fullscreen_action),
2489 (ev_window_fullscreen), (ev_window_unfullscreen),
2490 (ev_window_cmd_view_fullscreen),
2491 (ev_window_update_presentation_action),
2492 (ev_window_run_presentation), (ev_window_stop_presentation),
2493 (ev_window_cmd_view_presentation), (ev_window_state_event),
2494 (ev_window_focus_in_event), (ev_window_focus_out_event),
2495 (ev_window_cmd_escape), (ev_window_sidebar_visibility_changed_cb):
2496 * data/evince-ui.xml: Initial presentation mode. We should
2497 probably hide this until it's done, as it's quite rough. Also,
2498 change full-screen to fullscreen and add two getters to EvView.
2500 2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
2502 * shell/ev-page-action.c: (update_page_cache),
2503 (ev_page_action_dispose):
2504 * shell/ev-window.c: (destroy_fullscreen_popup),
2505 (ev_window_create_fullscreen_popup):
2507 Use connect_object rather than explicitly
2508 disconnect on dispose.
2510 2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
2512 * shell/ev-page-action.c: (update_page_cache),
2513 (ev_page_action_dispose):
2515 2005-04-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2517 * backend/ev-page-cache.c: (_ev_page_cache_new),
2518 (ev_page_cache_set_page_label),
2519 (ev_page_cache_has_nonnumeric_page_labels):
2520 * backend/ev-page-cache.h:
2521 * shell/ev-page-action.c: (update_pages_label):
2523 If all page labels are numeric, fallback to default
2524 way to display number of pages. See bug 173185.
2526 2005-04-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2528 * shell/ev-page-action.c: (ev_page_action_dispose):
2529 * shell/ev-view.c: (view_update_range_and_current_page):
2530 * shell/ev-window.c: (ev_window_dispose):
2532 Set page on scroll in continuous mode. Fixes bug 301986.
2533 Also cleanup callbacks on destroy of EvWindow and EvPageAction.
2535 2005-04-26 Marco Pesenti Gritti <mpg@redhat.com>
2539 Require poppler 0.3.0
2541 2005-04-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2543 * shell/Makefile.am, configure.ac: Fix build problems
2544 with t1lib. Bug 301996.
2546 2005-04-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2548 * shell/ev-view.c: (ev_view_scroll_event):
2550 Scroll up increase zoom
2552 2005-04-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2554 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_class_init),
2555 (ev_view_set_sizing_mode),
2556 (ev_view_zoom_for_size_continuous_and_dual_page),
2557 (ev_view_zoom_for_size_continuous):
2558 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
2559 (ev_window_cmd_view_page_width), (ev_window_cmd_view_zoom_in),
2560 (ev_window_cmd_view_zoom_out), (ev_window_sizing_mode_changed_cb),
2563 Control + Scroll does zooming, Shift + Scroll scrolls horizontally
2564 Fix for 165473 and 165472.
2566 2005-04-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2569 * thumbnailer/Makefile.am:
2570 * thumbnailer/evince-thumbnailer-djvu.schemas.in:
2571 * thumbnailer/evince-thumbnailer-dvi.schemas.in:
2572 * thumbnailer/evince-thumbnailer.schemas.in:
2574 Make thumbnailer schemas translatable. Fix for bug 301773
2576 * thumbnailer/evince-thumbnailer-djvu.schemas:
2577 * thumbnailer/evince-thumbnailer-dvi.schemas:
2578 * thumbnailer/evince-thumbnailer.schemas:
2582 Sun Apr 24 01:37:39 2005 Jonathan Blandford <jrb@redhat.com>
2584 * shell/ev-view.c (ev_view_init): forgot to set this.
2586 Sun Apr 24 01:07:27 2005 Jonathan Blandford <jrb@redhat.com>
2588 * shell/ev-view.c: (find_page_at_location),
2589 (get_link_at_location),
2590 (ev_view_set_show_border), (ev_view_set_spacing),
2591 (ev_view_zoom_for_size_continuous_and_dual_page),
2592 (ev_view_zoom_for_size_continuous): Fix links for dual/continuous.
2593 Also, add a quick fix measuring of widths. Also, removed
2594 ev_view_set_spacing and ev_view_set_show_border.
2596 * shell/ev-window.c: (ev_window_unfullscreen),
2597 (ev_window_cmd_view_fullscreen): Don't adjust the border/spacing.
2599 2005-04-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2601 * shell/ev-view.c: (view_update_range_and_current_page),
2604 Fix crash on exit and scrolling to page in continuous view.
2606 Sat Apr 23 13:13:04 2005 Jonathan Blandford <jrb@redhat.com>
2609 * backend/ev-page-cache.c: (_ev_page_cache_new),
2610 (ev_page_cache_get_max_width_size),
2611 (ev_page_cache_get_max_height_size):
2612 * backend/ev-page-cache.h:
2613 * data/evince-ui.xml:
2614 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init):
2615 * shell/ev-view.c: (view_update_adjustments),
2616 (view_update_range_and_current_page), (get_bounding_box_size),
2617 (ev_view_size_request_continuous_and_dual_page),
2618 (ev_view_size_request_continuous),
2619 (ev_view_size_request_dual_page),
2620 (ev_view_size_request_single_page), (ev_view_size_request),
2621 (ev_view_size_allocate), (get_page_extents), (draw_one_page),
2622 (ev_view_bin_expose), (ev_view_expose_event),
2623 (ev_view_set_property), (ev_view_get_property),
2624 (ev_view_class_init), (ev_view_init), (ev_view_new),
2625 (page_changed_cb), (ev_view_zoom), (ev_view_set_continuous),
2626 (ev_view_set_dual_page), (ev_view_set_full_screen),
2627 (ev_view_set_presentation), (ev_view_set_sizing_mode),
2628 (ev_view_can_zoom_in), (ev_view_can_zoom_out), (ev_view_zoom_in),
2629 (ev_view_zoom_out), (zoom_for_size_fit_width),
2630 (zoom_for_size_best_fit),
2631 (ev_view_zoom_for_size_continuous_and_dual_page),
2632 (ev_view_zoom_for_size_continuous),
2633 (ev_view_zoom_for_size_dual_page),
2634 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
2635 (ev_view_show_cursor), (ev_sizing_mode_get_type):
2637 * shell/ev-window.c: (update_action_sensitivity),
2638 (ev_window_cmd_continuous), (ev_window_cmd_dual),
2639 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
2640 (update_sizing_buttons), (ev_window_cmd_view_zoom_in),
2641 (ev_window_cmd_view_zoom_out), (update_view_size),
2642 (ev_window_set_sizing_mode), (ev_window_init):
2644 Add Continuous and Dual page modes.
2646 2005-04-23 James Bowes <bowes@cs.dal.ca>
2648 * dvi/dvi-document.c: (dvi_document_load),
2649 (dvi_document_thumbnails_get_thumbnail),
2650 (dvi_document_init_params): Fix up some mixups between
2651 width and height to correct thumbnail rendering.
2653 2005-04-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2655 * dvi/mdvi-lib/private.h:
2656 * dvi/mdvi-lib/setup.c: (mdvi_init_kpathsea):
2658 Suppess output for kpathsea during font generation. Thanks to
2661 Fri Apr 22 19:57:46 2005 Jonathan Blandford <jrb@redhat.com>
2668 * Makefile.am: fix distcheck.
2670 2005-04-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2672 * shell/ev-sidebar-links.c: (selection_changed_callback),
2673 (update_page_callback), (row_activated_callback),
2674 (job_finished_callback), (ev_sidebar_links_set_document):
2676 Fix for bug #169901. Double click on links expands tree.
2678 2005-03-14 Bryan Clark <clarkbw@cvs.gnome.org>
2680 * shell/ev-window.c (ev_window_init): Removed fullscreen toolbar
2681 hard-coded style. Fix for bug 170111
2683 2005-04-22 Kristian Høgsberg <krh@redhat.com>
2685 * shell/ev-view.c (highlight_find_results): Remove unnecessary
2688 2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
2690 * thumbnailer/evince-thumbnailer.schemas: real fix for bug 172496
2692 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
2694 * pdf/ev-poppler.cc:
2695 * shell/ev-view.c: (highlight_find_results):
2697 Fix find on single page documents
2699 2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
2701 * data/evince.schemas.in: fix for bug 301390
2703 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
2705 * shell/ev-view.c: (ev_view_can_zoom_in), (ev_view_can_zoom_out),
2706 (ev_view_zoom_out), (ev_view_zoom_normal):
2708 * shell/ev-window.c: (update_action_sensitivity),
2709 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
2710 (ev_window_cmd_view_zoom_in), (ev_window_cmd_view_zoom_out),
2711 (ev_window_cmd_view_normal_size):
2713 Fix normal size zoom. Make zoom in/zoom out unsensitive when
2714 they are behyond the limits. Tweak MAX_ZOOM to 6, sucks but
2717 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
2721 Depend on 2.57, 2.59 doesnt seem to be necessary
2723 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
2725 * shell/ev-page-action.c: (update_pages_label), (page_changed_cb),
2728 Put back total number of pages as (1 of 1234)
2730 Thu Apr 21 23:37:52 2005 Jonathan Blandford <jrb@redhat.com>
2732 * shell/ev-pixbuf-cache.c (dispose_cache_job_info): actually
2735 * backend/ev-document.h: Remove EV_DOC_MUTEX in favor of a locking
2736 function. This helps debugging.
2738 2005-04-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2740 * djvu/djvu-document.c: (djvu_document_class_init),
2741 (djvu_document_get_info), (djvu_document_document_iface_init):
2742 * dvi/dvi-document.c: (dvi_document_class_init),
2743 (dvi_document_get_info), (dvi_document_document_iface_init):
2745 Dummy implementation of get_info method for dvi and djvu. Fix
2746 crashes with those backends
2748 2005-04-20 Marco Pesenti Gritti <mpg@redhat.com>
2750 * data/evince.desktop.in:
2752 Add application/x-gzpostscript
2754 2005-04-20 Bryan Clark <clarkbw@cvs.gnome.org>
2756 * data/evince.schemas.in: Added real long descriptions,
2759 * README: Added actual text, closes bug 171869
2761 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
2763 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
2767 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
2769 * backend/ev-document-info.h:
2771 s/GDate */GDate so we can just use g_free
2773 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
2775 * shell/ev-window.c: (update_document_mode),
2776 (ev_window_setup_document):
2778 Show the window in fullscreen when specified by
2781 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
2783 * backend/ev-document.c: (ev_document_class_init),
2784 (ev_document_get_info), (ev_document_render_pixbuf):
2785 * backend/ev-document.h:
2786 * backend/ev-page-cache.c: (_ev_page_cache_new):
2787 * pdf/ev-poppler.cc:
2788 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
2789 (pixbuf_document_get_info), (pixbuf_document_document_iface_init):
2790 * ps/ps-document.c: (ps_document_class_init), (document_load),
2791 (ps_document_get_info), (ps_document_document_iface_init):
2793 Remove get_title from the interface, we can just use document info
2795 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
2797 * backend/Makefile.am:
2798 * backend/ev-document.c: (ev_document_render_get_info):
2799 * backend/ev-document.h:
2800 * pdf/ev-poppler.cc:
2802 Initial support for document info. Based on jrb patch.
2804 2005-04-19 Paolo Borelli <pborelli@katamail.com>
2806 * shell/ev-window.c: (ev_window_state_event),
2807 (ev_window_class_init), (ev_window_init):
2809 Doesn't show resize grip when maximized. See bug #301053
2811 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2815 ev-sidebar-thumbnails now has translatable labels
2817 * shell/Makefile.am:
2818 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document),
2819 (ev_sidebar_links_support_document), (ev_sidebar_links_get_label),
2820 (ev_sidebar_links_page_iface_init):
2821 * shell/ev-sidebar-links.h:
2822 * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
2823 (ev_sidebar_page_support_document), (ev_sidebar_page_set_document),
2824 (ev_sidebar_page_get_label):
2825 * shell/ev-sidebar-page.h:
2826 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_new),
2827 (ev_sidebar_thumbnails_set_document),
2828 (ev_sidebar_thumbnails_support_document),
2829 (ev_sidebar_thumbnails_get_label),
2830 (ev_sidebar_thumbnails_page_iface_init):
2831 * shell/ev-sidebar-thumbnails.h:
2832 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
2833 (ev_sidebar_set_document):
2834 * shell/ev-sidebar.h:
2835 * shell/ev-window.c: (ev_window_setup_document), (ev_window_init):
2837 Small rework of sidebar code. Now sidebar pages should implement
2838 EvSidebarPage interface. That makes page management in EvSidebar
2839 easier. See bug #164811 for details
2841 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2843 * shell/ev-application.c: (ev_application_open):
2844 * shell/ev-document-types.c:
2846 Fix build error and small problem with application exit
2848 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2850 * thumbnailer/Makefile.am:
2851 * thumbnailer/evince-thumbnailer-djvu.schemas:
2852 * thumbnailer/evince-thumbnailer-dvi.schemas:
2854 Conditionally install schemas for djvu/dvi thumbnailer
2856 2005-04-18 David Malcolm <dmalcolm@redhat.com>
2858 * shell/ev-document-types.h:
2859 * shell/ev-document-types.c:
2860 New files, handling the mapping from mimetypes to backends
2862 * shell/ev-window.c:
2863 * thumbnailer/evince-thumbnailer.c:
2864 Use the ev-document-types code
2866 * shell/Makefile.am:
2867 Added new convenience library libevbackendfactory_la, containing
2868 the new mimetype->backend logic; moved the backends into it.
2870 * thumbnailer/Makefile.am:
2871 Make the thumbnailer link with the libevbackend.la convenience
2872 library, rather than having a duplicate of the backend logic here.
2874 2005-04-18 Paolo Borelli <pborelli@katamail.com>
2876 * shell/ev-stock-icons.c: constify some vars.
2877 * shell/ev-window.c: ditto.
2879 2005-04-18 Marco Pesenti Gritti <mpg@redhat.com>
2881 * ps/ps-document.c (get_page_orientation):
2883 Respect document orientation
2885 2005-04-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2889 * shell/Makefile.am:
2891 Move library dependencies to components.
2893 * shell/ev-window.c: (update_window_title),
2894 (start_loading_document):
2896 Fix display of uris with spaces. Bug 168358.
2898 Sat Apr 16 18:53:47 2005 Jonathan Blandford <jrb@redhat.com>
2900 * shell/ev-sidebar-links.c: (selection_changed_cb):
2901 * shell/ev-view.c: (ev_view_finalize), (go_to_link),
2902 (ev_view_button_release_event), (ev_view_set_document):
2904 * shell/ev-window.c: (find_bar_search_changed_cb):
2905 * shell/ev-window.h: Minor cleanups removing some dead code.
2907 2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2909 * backend/ev-page-cache.c: (_ev_page_cache_new):
2911 Set current page to 0 if document has pages.
2913 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
2915 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
2917 Initialize GError to NULL, fix a crash when loading fails.
2919 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
2921 * shell/ev-window.c: (update_view_size):
2923 Calculate shadow size only when there is actually
2926 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
2928 * shell/ev-view.c: (ev_view_set_spacing), (ev_view_init):
2931 Allow setting view spacing, default to 0
2933 * shell/ev-window.c: (ev_window_unfullscreen),
2934 (ev_window_cmd_view_fullscreen), (ev_window_init):
2936 Remove spacing in fullscreen mode
2938 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
2940 * shell/ev-view.c: (compute_border), (compute_zoom_factor),
2941 (ev_view_size_request), (expose_bin_window),
2942 (ev_view_set_show_border), (ev_view_init), (page_changed_cb):
2944 * shell/ev-window.c: (ev_window_unfullscreen),
2945 (ev_window_cmd_view_fullscreen):
2947 Do not draw the border in fulscreen
2949 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
2951 * shell/ev-view.c: (ev_view_get_offsets), (compute_zoom_factor),
2952 (ev_view_size_request), (expose_bin_window), (ev_view_select_all),
2953 (find_page_at_location), (page_changed_cb):
2955 Rework border calculation, so that I can more easily disable it.
2956 Code somewhat cleaner too.
2958 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
2960 * backend/ev-page-cache.c: (ev_page_cache_init),
2961 (_ev_page_cache_new):
2963 Remove some assertions, documents can have 0 pages.
2964 Make initial current page -1.
2966 * shell/ev-page-action.c: (page_changed_cb):
2968 Show "" if current page is -1
2970 * shell/ev-window.c: (update_action_sensitivity),
2971 (ev_window_setup_document):
2973 When document has 0 pages do not set the view
2974 and make nearly everything insensitive.
2976 2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2978 * shell/ev-page-view.c:
2979 * shell/ev-page-view.h:
2981 Remove unused files.
2983 * shell/ev-sidebar-thumbnails.c:
2984 (ev_sidebar_thumbnails_set_document):
2985 * shell/ev-sidebar.c: (ev_sidebar_set_document),
2986 (ev_sidebar_supports_document):
2987 * shell/ev-sidebar.h:
2988 * shell/ev-window.c: (ev_window_setup_document):
2990 Doesn't show thumbnails if document has 1 page. Make
2991 sidebar menu entries sensitive only if if they have
2992 sense. Fix bug 164811.
2994 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
2996 * shell/ev-view.c: (compute_zoom_factor), (ev_view_size_request),
2997 (page_changed_cb), (ev_view_zoom), (ev_view_zoom_in),
2998 (ev_view_zoom_out), (ev_view_set_size):
3000 Rework sizing to deal with documents with not uniform page
3003 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
3005 * backend/ev-page-cache.c: (_ev_page_cache_new):
3007 Fix several page size caching bugs
3009 2005-04-15 Luca Ferretti <elle.uca@libero.it>
3011 * shell/ev-window.c: (set_action_properties):
3013 Make all toolbar items translatable
3015 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
3017 * ps/ps-document.c: (ps_document_init), (ps_document_get_type),
3018 (save_page_list), (ps_document_save),
3019 (ps_document_document_iface_init), (ps_document_ps_export_begin),
3020 (ps_document_ps_export_do_page), (ps_document_ps_export_end),
3021 (ps_document_ps_exporter_iface_init):
3024 Based on a patch by J�rg Billeter <j@bitron.ch>
3026 Implement print and save a copy for the ps backend.
3028 2005-04-14 Marco Pesenti Gritti <mpg@redhat.com>
3030 * backend/ev-document.h:
3031 * djvu/djvu-document.c: (djvu_document_can_get_text),
3032 (djvu_document_document_iface_init):
3033 * dvi/dvi-document.c: (dvi_document_can_get_text),
3034 (dvi_document_document_iface_init):
3035 * pdf/ev-poppler.cc:
3036 * pixbuf/pixbuf-document.c: (pixbuf_document_can_get_text),
3037 (pixbuf_document_document_iface_init):
3038 * ps/ps-document.c: (ps_document_can_get_text),
3039 (ps_document_document_iface_init):
3040 * shell/ev-view.c: (ev_view_copy), (ev_view_primary_get_cb):
3041 * shell/ev-window.c: (update_action_sensitivity):
3043 Fix the crash when trying to copy in backends that doesnt
3044 support it. We can implement a better solution once we
3045 do real text selection.
3047 2005-04-12 Marco Pesenti Gritti <mpg@redhat.com>
3049 * data/evince-ui.xml:
3050 * shell/ev-window.c: (ev_window_cmd_escape):
3052 Work around the Escape conflict (find bar and unfullscreen)
3054 2005-04-12 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
3056 * backend/ev-page-cache.c: (ev_page_cache_next_page):
3058 Fix for #300233. Next page correctly handles document end.
3060 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
3061 (ev_sidebar_thumbnails_class_init),
3062 (ev_sidebar_thumbnails_set_document),
3063 (ev_sidebar_thumbnails_clear_job),
3064 (ev_sidebar_thumbnails_clear_model):
3066 Cleanup thumbnail jobs on document changes.
3068 * shell/ev-view.c: (add_scroll_binding_keypad),
3069 (add_scroll_binding_shifted), (ev_view_class_init):
3071 Shift + Space scrolls up. Fix for #173184
3073 * shell/ev-window.c: (ev_window_open_page),
3074 (ev_window_cmd_view_reload):
3076 Fix reload (Bug #300094)
3078 2005-04-09 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3081 * dvi/mdvi-lib/assoc.c:
3082 * dvi/mdvi-lib/assoc.h: Removed garbage files
3084 * dvi/mdvi-lib/bitmap.c:
3085 * dvi/mdvi-lib/color.c: (mdvi_set_color), (mdvi_push_color),
3086 (mdvi_pop_color), (mdvi_reset_color), (get_color_table):
3087 * dvi/mdvi-lib/color.h: Antialias of rules
3089 * dvi/mdvi-lib/common.h:
3090 * dvi/mdvi-lib/dviread.c: (mdvi_configure), (mdvi_init_context),
3091 (mdvi_destroy_context), (draw_shrink_rule), (draw_box), (set_rule):
3092 * dvi/mdvi-lib/files.c:
3093 * dvi/mdvi-lib/fontmap.c: (ps_init_default_paths):
3094 * dvi/mdvi-lib/mdvi.h:
3095 * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
3096 * dvi/mdvi-lib/tfmfile.c: (ofm_load_file):
3097 * dvi/mdvi-lib/util.c: Fix compile warnings
3099 * dvi/dvi-document.c:
3100 (dvi_document_load), (dvi_document_thumbnails_get_dimensions),
3101 (dvi_document_thumbnails_get_thumbnail),
3102 (dvi_document_document_thumbnails_iface_init):
3103 * dvi/mdvi-lib/Makefile.am:
3104 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
3105 (dvi_pixbuf_set_color), (mdvi_pixbuf_device_render):
3107 Dvi backend now renders thumbnails
3109 2005-04-09 Christian Persch <chpe@cvs.gnome.org>
3111 * shell/main.c: (main):
3113 Save accelerators on exit. Fixes bug #172095.
3115 Sat Apr 9 01:05:09 2005 Jonathan Blandford <jrb@redhat.com>
3117 * shell/ev-pixbuf-cache.c (move_one_job): Actually fix the "FIXME:
3118 update priority" comment.
3120 * backend/ev-job-queue.c: Give a way to change priority.
3122 Sat Apr 9 00:05:36 2005 Jonathan Blandford <jrb@redhat.com>
3124 * shell/ev-page-action.c: Fix logic.
3126 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
3128 * shell/ev-view.c: (ev_view_can_find_next):
3129 * shell/ev-window.c: (ev_window_setup_document):
3131 Check that the document supports find
3133 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
3135 * data/evince-ui.xml:
3136 * shell/ev-view.c: (ev_view_can_find_next):
3138 * shell/ev-window.c: (update_action_sensitivity),
3139 (find_changed_cb), (ev_window_setup_document),
3140 (ev_window_cmd_edit_find_next):
3144 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
3146 * pdf/ev-poppler.cc:
3147 * shell/ev-print-job.c: (idle_print_handler):
3149 Make printing work again
3151 Fri Apr 8 01:12:24 2005 Jonathan Blandford <jrb@redhat.com>
3153 * shell/ev-page-action.h:
3154 * shell/ev-page-action.c: (ev_page_action_widget_init),
3155 (ev_page_action_widget_class_init), (page_changed_cb),
3156 (create_tool_item), (update_page_cache), (build_new_tree_cb),
3157 (get_filter_model_from_model), (match_selected_cb),
3158 (display_completion_text), (match_completion), (update_model),
3159 (connect_proxy), (ev_page_action_set_property),
3160 (ev_page_action_get_property), (ev_page_action_set_document),
3161 (ev_page_action_set_model), (ev_page_action_class_init): Big
3162 reworking to make completions work iff we have >= GTK-2.7.0
3164 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_property),
3165 (ev_sidebar_links_get_property), (ev_sidebar_links_class_init),
3166 (job_finished_cb): We now have a 'model' property that is set when
3167 the links are loaded. This can be caught with "notify::model"
3169 * shell/ev-window.c: (sidebar_widget_model_set), (ev_window_init):
3170 listen for the model to be set, and propagate it to the action.
3172 2005-04-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3174 * cut-n-paste/recent-files/egg-recent-item.c:
3175 (egg_recent_item_set_uri), (make_valid_utf8),
3176 (egg_recent_item_set_mime_type), (egg_recent_item_get_mime_type):
3177 * cut-n-paste/recent-files/egg-recent-item.h:
3179 Update egg-recent from libegg. This should fix long
3180 startup problem. For details see
3181 http://bugzilla.gnome.org/show_bug.cgi?id=160531
3183 2005-04-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3185 * cut-n-paste/recent-files/Makefile.am:
3186 * data/evince-ui.xml, shell/Makefile.am:
3187 * shell/ev-application.c, shell/ev-application.h:
3188 * shell/ev-window.c: Recent files support.
3190 * configure.ac: Added "ru" to ALL_LINGUAS.
3192 * dvju: new backend to support DJVU files.
3193 * dvi: new backend to support DVI.
3195 * configure.ac, Makefile.am, shell/Makefile.am, ev-window.c:
3196 * ev-application.c: Support for new backends.
3198 * help, ev-window.c, main.c shell/Makefile.am:
3199 Evince user documentation.
3201 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
3204 * shell/ev-window.c:
3205 * thumbnailer/evince-thumbnailer.c:
3207 s/pdf-document/ev-poppler
3209 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
3216 * ps/ps-document.c: (setup_pixmap):
3220 2005-04-05 Kristian Høgsberg <krh@redhat.com>
3222 * backend/ev-page-cache.c (ev_page_cache_next_page):
3223 * shell/ev-window.c (ev_window_cmd_go_next_page)
3224 (ev_window_cmd_go_first_page): Fix of by one errors.
3226 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
3228 * ps/ps-document.c: (get_page_box):
3230 Fix page size calculation
3232 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
3234 * ps/ps-document.c: (ps_document_init), (push_pixbuf),
3235 (ps_document_cleanup), (setup_pixmap), (get_page_box),
3236 (get_page_orientation), (setup_page), (document_load),
3237 (ps_document_get_page_size), (render_pixbuf_idle):
3240 More refactoring to adapt to EvDocument changes
3242 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
3244 * ps/ps-document.c: (start_interpreter):
3246 Actually add alpha args
3248 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
3250 * pdf/ev-poppler.cc:
3252 Make clipboard work again
3254 2005-04-04 Kristian Høgsberg <krh@redhat.com>
3256 Make searching work again.
3258 * backend/ev-document.c:
3259 * backend/ev-document.h:
3260 * backend/ev-document-find.c:
3261 * backend/ev-document-find.h: Change EvDocumentIface so we no
3262 longer store the current page or zoom level in the document. The
3263 consequence is that all calls that operate on the current page now
3264 instead take the page number as an extra argument, and all
3265 coordinates are now doubles in document coordinate system.
3267 * pdf/ev-poppler.cc:
3268 * pixbuf/pixbuf-document.c:
3269 * ps/ps-document.c: Update backends accordingly.
3271 2005-04-04 Marco Pesenti Gritti <marco@gnome.org>
3275 Add required gettext version
3277 Sat Apr 2 18:57:00 2005 Jonathan Blandford <jrb@redhat.com>
3279 * shell/evwindow.c: Patch from Alberto Mesas <amesas@gmail.com> to
3280 make F1 bring up non-existent help.
3282 * shell/eggfindbar.c: Patch from Christian Persch to sync to
3283 epiphany's find bar, #167477
3285 * shell/ev-view.c (ev_view_jump): Patch from Emil Soleyman-Zomalan
3286 <emil@nishra.com> to add space-bar scrolling,
3288 * shell/ev-window.c (static GtkActionEntry entries): add default
3289 keybinding for Help (F1)
3292 * shell/ev-view.c (ev_view_show_cursor): Fix from Yuval Tanny
3293 changing EV_VIEW_CURSOR_LINK to EV_VIEW_CURSOR_NORMAL resolves bug
3296 2005-04-01 David Malcolm <dmalcolm@redhat.com>
3299 * pixbuf/pixbuf-document.c:
3301 Got pixbuf backend working again
3303 2005-04-01 Steve Murphy <murf@e-tools.com>
3305 * configure.in: Added "rw" to ALL_LINGUAS.
3307 Fri Apr 1 02:33:41 2005 Jonathan Blandford <jrb@redhat.com>
3309 * shell/ev-sidebar-links.c (create_loading_model): Fix mismatch in
3310 model types, noticed by Martin Kretzschmar.
3312 2005-04-01 Kristian Høgsberg <krh@redhat.com>
3314 * pdf/ev-poppler.cc: Implement search based on
3315 poppler_page_find_text(). Currently a bit crude since we remember
3316 all matches from all pages. Also, we grab the big document lock
3317 when we search since searching changes the underlying stream and
3318 thus conflicts with the rendering thread.
3320 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
3321 (jump_to_find_page), (ev_view_set_document), (ev_view_find_next),
3322 (ev_view_find_previous): Fix some page indexes to be 0 based,
3323 offset rubber band by view offset,
3325 Fri Apr 01 09:21:12 2005 Pablo Saratxaga <pablo@mandrakesoft.com>
3327 * configure.ac: Added Walloon (wa) to ALL_LINGUAS.
3329 Fri Apr 1 01:59:39 2005 Jonathan Blandford <jrb@redhat.com>
3331 * shell/ev-page-action.c: Changed to use page labels now. Rewrote
3332 completely because I didn't understand GtkActions. I should
3333 read Marco's code more carefully in the future.
3335 * backend/ev-page-cache.h (ev_page_cache_set_page_label): New
3338 2005-03-31 Kristian Høgsberg <krh@redhat.com>
3340 * pdf/ev-poppler.cc (pdf_document_get_links): Update to work with
3341 PopplerRectangle change from poppler CVS.
3343 Thu Mar 31 13:27:50 2005 Jonathan Blandford <jrb@redhat.com>
3345 * backend/ev-document.c: (ev_document_get_page_label):
3346 * backend/ev-document.h:
3347 * backend/ev-page-cache.c: (_ev_page_cache_new),
3348 (ev_page_cache_get_page_label):
3349 * backend/ev-page-cache.h:
3350 * pdf/ev-poppler.cc:
3351 * shell/ev-sidebar-links.c: (ev_sidebar_links_construct),
3352 (links_page_num_func):
3353 * shell/ev-sidebar-thumbnails.c:
3354 (ev_sidebar_thumbnails_set_document):
3355 * shell/ev-view.c: (status_message_from_link),
3356 (ev_view_motion_notify_event):
3357 * shell/ev-window.c: (document_supports_sidebar): Add in page
3358 label support. It's not perfect yet, but it's the first 'feature'
3360 Also, fix a bogus comment noticed by crispin.
3362 Thu Mar 31 01:21:58 2005 Jonathan Blandford <jrb@redhat.com>
3364 * Makefile.am: Remove pixbuf backend for now
3366 * configure.ac: Require poppler-glib instead of just poppler.
3368 * backend/ev-document-thumbnails.h: Add a comment
3370 * backend/ev-document.h:
3371 * backend/ev-document.c: (ev_document_class_init),
3372 (ev_document_load), (ev_document_get_link),
3373 (ev_document_get_links): Remove 3 methods and add get_links.
3376 * backend/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
3377 * backend/ev-jobs.h: now EvJobRender can grab the links for a document.
3379 * backend/ev-link.c: (ev_link_set_title),
3380 (ev_link_mapping_free_foreach), (ev_link_mapping_free),
3381 (ev_link_mapping_find):
3382 * backend/ev-link.h: Allow NULL titles. Also, introduce a mapping link.
3384 * backend/ev-page-cache.c: (ev_page_cache_init),
3385 (_ev_page_cache_new), (ev_page_cache_set_current_page),
3386 (ev_page_cache_get_size), (ev_page_cache_next_page),
3387 (ev_page_cache_prev_page): Fix to be 0 based.
3391 * pdf/ev-poppler.cc: New backend.
3393 * ps/ps-document.c: (ps_document_init), (ps_document_set_page),
3394 (ps_document_get_page), (ps_document_document_iface_init):
3396 * shell/ev-pixbuf-cache.h:
3397 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
3398 (dispose_cache_job_info), (job_finished_cb), (move_one_job),
3399 (ev_pixbuf_cache_update_range), (copy_job_to_job_info),
3400 (add_job_if_needed), (ev_pixbuf_cache_set_page_range),
3401 (ev_pixbuf_cache_get_pixbuf), (ev_pixbuf_cache_get_link_mapping):
3402 Fix up code to grab a page cache per each doc. Also, fix to be 0
3405 * shell/ev-sidebar-thumbnails.c:
3406 (ev_sidebar_tree_selection_changed), (page_changed_cb),
3407 (ev_sidebar_thumbnails_set_document): Fix to be 0 based.
3409 * shell/ev-view.c: (status_message_from_link),
3410 (find_page_at_location), (get_link_at_location),
3411 (ev_view_motion_notify_event), (ev_view_button_release_event),
3412 (ev_view_init): Use the new link code. Fix to be 0 based.
3414 * shell/ev-window.c: (update_action_sensitivity),
3415 (document_supports_sidebar): 0 based.
3417 Fri Mar 25 16:55:58 2005 Jonathan Blandford <jrb@redhat.com>
3419 * pdf/pdf-document.cc: Patch from Fernando Herrera
3420 <fherrera@onirica.com> to fix my quick fix to get_thumbnail.
3423 Wed Mar 23 23:49:41 2005 Jonathan Blandford <jrb@redhat.com>
3425 * pdf/pdf-document.cc (pdf_document_thumbnails_get_thumbnail): add
3426 1 to the page, as this seems to be 1 based. I thought we has this
3429 2005-03-23 Marco Pesenti Gritti <marco@gnome.org>
3432 * backend/Makefile.am:
3433 * backend/ev-document-links.c:
3434 (ev_document_links_has_document_links),
3435 (ev_document_links_get_links_model):
3436 * backend/ev-document-links.h:
3437 * backend/ev-document.c: (ev_document_get_page_cache),
3438 (ev_document_get_doc_mutex), (ev_document_load),
3439 (ev_document_save), (ev_document_get_title),
3440 (ev_document_get_n_pages), (ev_document_set_page),
3441 (ev_document_get_page), (ev_document_set_target),
3442 (ev_document_set_scale), (ev_document_set_page_offset),
3443 (ev_document_get_page_size), (ev_document_get_text),
3444 (ev_document_get_link), (ev_document_render),
3445 (ev_document_render_pixbuf), (ev_document_scale_changed):
3446 * backend/ev-document.h:
3447 * backend/ev-job-queue.c: (remove_object_from_queue),
3448 (notify_finished), (handle_job), (search_for_jobs_unlocked),
3449 (no_jobs_available_unlocked), (ev_render_thread),
3450 (ev_job_queue_init), (find_queue), (ev_job_queue_add_job),
3451 (ev_job_queue_remove_job):
3452 * backend/ev-job-queue.h:
3453 * backend/ev-jobs.c: (ev_job_init), (ev_job_dispose),
3454 (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
3455 (ev_job_links_class_init), (ev_job_render_init),
3456 (ev_job_render_dispose), (ev_job_render_class_init),
3457 (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
3458 (ev_job_thumbnail_class_init), (ev_job_finished),
3459 (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
3460 (ev_job_render_run), (ev_job_thumbnail_new),
3461 (ev_job_thumbnail_run):
3462 * backend/ev-jobs.h:
3463 * backend/ev-link.c:
3464 * backend/ev-link.h:
3465 * backend/ev-page-cache.c: (ev_page_cache_init),
3466 (ev_page_cache_class_init), (ev_page_cache_finalize),
3467 (_ev_page_cache_new), (ev_page_cache_get_n_pages),
3468 (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
3469 (ev_page_cache_set_link), (ev_page_cache_get_title),
3470 (ev_page_cache_get_size), (ev_page_cache_next_page),
3471 (ev_page_cache_prev_page):
3472 * backend/ev-page-cache.h:
3473 * pdf/pdf-document.cc:
3476 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
3477 (push_pixbuf), (interpreter_failed), (ps_document_cleanup),
3478 (ps_document_widget_event), (ps_document_finalize), (get_xdpi),
3479 (get_ydpi), (setup_pixmap), (setup_page), (close_pipe),
3480 (is_interpreter_ready), (output), (catchPipe), (input),
3481 (start_interpreter), (check_filecompressed), (compute_dimensions),
3482 (ps_document_enable_interpreter), (document_load),
3483 (ps_document_next_page), (render_page), (ps_document_set_page),
3484 (ps_document_set_scale), (render_pixbuf_idle),
3485 (ps_document_render_pixbuf), (ps_document_document_iface_init):
3487 * shell/Makefile.am:
3488 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
3489 (ev_pixbuf_cache_class_init), (ev_pixbuf_cache_finalize),
3490 (dispose_cache_job_info), (ev_pixbuf_cache_dispose),
3491 (ev_pixbuf_cache_new), (job_finished_cb),
3492 (check_job_size_and_unref), (move_one_job),
3493 (ev_pixbuf_cache_update_range), (find_job_cache),
3494 (ev_pixbuf_cache_clear_job_sizes), (add_job_if_needed),
3495 (ev_pixbuf_cache_add_jobs_if_needed),
3496 (ev_pixbuf_cache_set_page_range), (ev_pixbuf_cache_get_pixbuf):
3497 * shell/ev-pixbuf-cache.h:
3498 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
3499 (idle_print_handler):
3500 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
3501 (selection_changed_cb), (create_loading_model),
3502 (ev_sidebar_links_construct), (links_page_num_func),
3503 (ev_sidebar_links_clear_document), (update_page_callback_foreach),
3504 (update_page_callback), (job_finished_cb),
3505 (ev_sidebar_links_set_document):
3506 * shell/ev-sidebar-thumbnails.c:
3507 (ev_sidebar_thumbnails_class_init), (adjustment_changed_cb),
3508 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init),
3509 (page_changed_cb), (thumbnail_job_completed_callback),
3510 (ev_sidebar_thumbnails_set_document):
3511 * shell/ev-sidebar-thumbnails.h:
3512 * shell/ev-sidebar.c: (ev_sidebar_set_document):
3513 * shell/ev-view.c: (ev_view_finalize), (ev_view_destroy),
3514 (ev_view_get_offsets), (ev_view_size_request), (ev_view_realize),
3515 (ev_view_unrealize), (highlight_find_results), (expose_bin_window),
3516 (ev_view_select_all), (ev_view_copy), (ev_view_primary_get_cb),
3517 (ev_view_create_invisible_cursor), (ev_view_motion_notify_event),
3518 (ev_view_button_release_event), (ev_view_scroll_view),
3519 (ev_view_class_init), (ev_view_init), (update_find_status_message),
3520 (jump_to_find_result), (jump_to_find_page), (find_changed_cb),
3521 (ev_view_new), (job_finished_cb), (page_changed_cb),
3522 (ev_view_set_document), (go_to_link), (ev_view_zoom),
3523 (size_to_zoom_factor), (ev_view_set_size), (ev_view_find_next),
3524 (ev_view_find_previous):
3526 * shell/ev-window.c: (update_action_sensitivity),
3527 (ev_window_open_page), (update_window_title), (update_total_pages),
3528 (page_changed_cb), (ev_window_setup_document),
3529 (password_dialog_response), (ev_window_cmd_save_as),
3530 (ev_window_print), (ev_window_cmd_go_previous_page),
3531 (ev_window_cmd_go_next_page), (ev_window_cmd_go_first_page),
3532 (ev_window_cmd_go_last_page), (ev_window_cmd_view_reload),
3533 (find_bar_search_changed_cb), (goto_page_cb), (ev_window_init):
3534 * shell/main.c: (main):
3536 Merge evince-threads branch
3538 2005-03-16 Žygimantas Beručka <uid0@akl.lt>
3540 * configure.ac: Added "lt" to ALL_LINGUAS.
3542 2005-03-14 Marco Pesenti Gritti <marco@gnome.org>
3549 2005-03-13 Fernando Herrera <fherrera@onirica.com>
3551 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3553 Fix here also the thumbnails 1-basedness :)
3555 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
3562 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
3564 * pdf/pdf-document.cc:
3565 * shell/ev-sidebar-thumbnails.c: (adjustment_changed_cb),
3566 (do_one_iteration), (ev_sidebar_thumbnails_set_document):
3568 Fix the mess we did with thumbnails and 1-basedness
3570 2005-03-12 Changwoo Ryu <cwryu@debian.org>
3572 * configure.ac (ALL_LINGUAS): Added "ko" (Korean).
3574 2005-03-09 Marco Pesenti Gritti <marco@gnome.org>
3581 2005-03-08 Marco Pesenti Gritti <marco@gnome.org>
3584 * ps/gsdefaults.c: (gtk_gs_defaults_get_interpreter_cmd),
3585 (gtk_gs_defaults_get_alpha_parameters),
3586 (gtk_gs_defaults_get_ungzip_cmd),
3587 (gtk_gs_defaults_get_unbzip2_cmd):
3589 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
3590 (ps_document_get_orientation), (document_load),
3591 (ps_document_goto_page), (ps_document_set_page_size):
3594 Some more sanitization of the ps backend. Remove a lot
3595 of unused code and do not base our defaults on ggv
3598 2005-03-08 Fernando Herrera <fherrera@onirica.com>
3600 * thumbnailer/evince-thumbnailer.schemas:
3601 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
3602 (main): add -s option for thumbnail size.
3604 2005-03-07 Christian Persch <chpe@cvs.gnome.org>
3608 AC_PROG_RANLIB is rendered obsolete by AC_PROG_LIBTOOL;
3611 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
3613 * pdf/pdf-document.cc:
3615 Remove 4 pixels of useless border from the
3618 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
3620 * backend/ev-document-thumbnails.c:
3621 (ev_document_thumbnails_get_thumbnail):
3622 * backend/ev-document-thumbnails.h:
3624 Rework API a bit. Add a border flag and
3625 change sizing logic (now the size we specify
3626 applies to the bigger dimension).
3628 * pdf/pdf-document.cc:
3629 * pixbuf/pixbuf-document.c:
3630 (pixbuf_document_thumbnails_get_thumbnail):
3631 * shell/ev-sidebar-thumbnails.c: (do_one_iteration):
3632 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3634 Adapt to the new API and do not draw a border for nautilus
3637 2005-03-03 Fernando Herrera <fherrera@onirica.com>
3639 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3640 take thumbnails from page "0" instead of "1". Added a copyright header.
3642 2005-03-03 Jens Granseuer <jensgr@gmx.net>
3644 * ps/ps-document.c: (set_up_page), (start_interpreter):
3646 Make it C89 compliant
3648 2005-03-03 Marco Pesenti Gritti <marco@gnome.org>
3653 * pdf/pdf-document.cc:
3654 * thumbnailer/Makefile.am:
3655 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
3657 * thumbnailer/evince-thumbnailer.schemas:
3658 * thumbnailer/pdf-icon.png:
3660 Add a nautilus thumbnailer.
3661 Based on patch by Fernando Herrera <fherrera@onirica.com>.
3663 2005-03-02 Marco Pesenti Gritti <marco@gnome.org>
3671 2005-03-01 Kristian Høgsberg <krh@redhat.com>
3673 Use poppler instead of including xpdf source code. Poppler is a
3674 fork of xpdf to build it as a shared library. See
3675 http://freedesktop.org/wiki/Software/poppler.
3677 * pdf/xpdf/*, pdf/goo/*, pdf/splash/*, pdf/fofi/*: Remove included
3680 * pdf/Makefile.am: Build libpdfdocument.a here.
3682 * pdf/GDKSplashOutputDev.cc:
3683 * pdf/GDKSplashOutputDev.h:
3684 * pdf/GnomeVFSStream.cc:
3685 * pdf/GnomeVFSStream.h:
3688 * test-gdk-output-dev.cc
3690 * Thumb.h: Pull these files out of pdf/xpdf and adjust to compile
3693 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
3695 * shell/ev-sidebar-links.c: (ev_sidebar_links_clear_document):
3697 Clear idle stack before unsetting the document
3699 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
3701 * ps/ps-document.c: (ps_document_widget_event),
3702 (ps_document_set_target), (ps_document_finalize),
3703 (ps_document_get_page):
3705 Disconnect the widget event signal on finalize.
3708 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
3710 * ps/ps-document.c: (set_up_page):
3712 If there is no bpixmap create one, even if size
3715 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
3717 * ps/ps-document.c: (ps_document_init), (ps_document_cleanup),
3718 (set_up_page), (document_load), (ps_document_set_zoom):
3720 Default page is 0. Calculate size even when we have no
3723 2005-02-28 Carlos Garcia Campos <carlosgc@gnome.org>
3725 * shell/ev-sidebar.c: expand the selection widget to be always as
3728 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
3730 * shell/ev-sidebar-thumbnails.c:
3731 (ev_sidebar_thumbnails_set_document):
3733 Clear the list store when setting document
3735 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
3737 * shell/ev-page-action.c: (update_entry), (sync_entry),
3738 (activate_cb), (entry_size_request_cb), (create_tool_item),
3741 Use an entry for the page control instead of spinbuttons
3743 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
3745 * data/evince.schemas.in:
3747 Correct confusing string
3749 Sun Feb 27 23:00:31 2005 Jonathan Blandford <jrb@redhat.com>
3751 * shell/ev-sidebar-links.c (do_one_iteration): Handle title links
3752 for real. Gosh, how long has this been broken.
3754 * pdf/xpdf/pdf-document.cc (build_link_from_action): add back the
3755 check for a NULL link. We crash otherwise.
3757 2005-02-27 Marco Pesenti Gritti <marco@gnome.org>
3764 2005-02-25 Sebastien Bacher <seb128@debian.org>
3766 * configure.ac: add the french translation.
3768 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
3770 * shell/ev-window.c:
3772 Remove unused header -> fix distcheck
3774 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
3776 * shell/ev-window.c: (update_window_title),
3777 (ev_window_popup_password_dialog):
3779 Unescape filename for display
3781 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
3783 * pdf/xpdf/pdf-document.cc:
3785 In get_page_size deal with rotation. Also
3786 cleanup the function a bit.
3788 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
3790 * pdf/xpdf/pdf-document.cc:
3792 Fix crash when opening in new window
3794 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
3798 Check ghostscript >= 7
3800 2005-02-25 Pedro Villavicencio <pvillavi@gnome.cl>
3802 * shell/ev-window.c:
3804 Make page width the default sizing mode
3806 2005-02-25 Carlos Garcia Campos <carlosgc@gnome.org>
3807 Marco Pesenti Gritti <marco@gnome.org>
3809 * shell/ev-window.c: Remember the sidebar size
3811 * data/evince.schemas.in: Add a new gconf key to store the size of
3814 2005-02-24 Kai Willadsen <kaiw@itee.uq.edu.au>
3816 * data/evince-ui.xml:
3817 * shell/ev-window.c: (update_action_sensitivity),
3818 (ev_window_cmd_view_reload):
3820 Add a "Reload" action and menu entry
3822 Thu Feb 24 23:07:33 2005 Jonathan Blandford <jrb@redhat.com>
3824 * shell/ev-window.c (hide_sidebar_and_actions): Hide the sidebar
3825 iff the type doesn't support thumbnailing and indexing.
3827 2005-02-24 Martin Kretzschmar <martink@gnome.org>
3829 * configure.ac (ALL_LINGUAS): Added "zh_TW" (Traditional Chinese).
3831 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
3833 * pdf/splash/Splash.cc:
3835 Port fix for a crasher from kde bug
3836 http://bugs.kde.org/show_bug.cgi?id=97131
3838 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
3840 * pdf/xpdf/pdf-document.cc:
3842 Return a link even if it's of an unrecognized
3843 type. Otherwise we go in an infinte cycle.
3845 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
3847 * shell/ev-window.c: (update_sizing_buttons), (update_view_size),
3848 (size_allocate_cb), (ev_window_set_sizing_mode):
3850 Update size when switching mode
3852 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
3854 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
3855 (ev_window_cmd_view_page_width), (update_sizing_buttons),
3856 (ev_window_cmd_view_normal_size):
3858 Fix size toggle buttons behavior
3860 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
3862 * shell/ev-view.c: (ev_view_get_offsets), (view_rect_to_doc_rect),
3863 (doc_rect_to_view_rect), (ev_view_size_allocate),
3864 (expose_bin_window), (ev_view_select_all), (page_changed_callback),
3865 (scale_changed_callback):
3867 Do not cache offsets in size_allocate.
3869 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
3871 * shell/ev-view.c: (ev_view_size_allocate):
3873 Calculate offsets before calling the parent
3874 class (which does a redraw)
3876 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
3878 * pdf/xpdf/pdf-document.cc:
3880 Fix a crasher on exit. Unused code, put a TODO
3882 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
3884 * backend/ev-document.c: (ev_document_class_init),
3885 (ev_document_page_changed), (ev_document_scale_changed):
3886 * backend/ev-document.h:
3888 Separate page/scale notifications
3890 * pdf/xpdf/pdf-document.cc:
3892 Emit the new signals.
3893 Do not display the pdf page in _render, do it
3894 when scale/page are requested.
3896 * ps/ps-document.c: (ps_document_set_zoom),
3897 (ps_document_widget_event):
3900 Emit the new signals.
3902 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
3903 (ev_view_init), (page_changed_callback), (scale_changed_callback),
3904 (ev_view_set_document), (ev_view_zoom), (ev_view_zoom_in),
3905 (ev_view_zoom_out), (size_to_zoom_factor), (ev_view_set_size):
3907 * shell/ev-window.c: (ev_window_cmd_view_normal_size),
3908 (ev_window_cmd_view_page_width), (size_allocate_cb),
3909 (ev_window_set_sizing_mode):
3911 Rework sizing to be pixel based.
3912 There are bugs but should be already way better.
3914 2005-02-23 Marco Pesenti Gritti <marco@gnome.org>
3916 * shell/ev-window.c: (ev_window_init):
3918 Do not allow to shrink sidebar smaller then
3921 2005-02-23 Carlos Garcia Campos <carlosgc@gnome.org>
3923 * shell/ev-sidebar.[ch]
3924 * shell/ev-window.c:
3926 Improved sidebar widget. Fixes #166683
3928 2005-02-23 Tommi Vainikainen <thv@iki.fi>
3930 * shell/ev-view.c (update_find_status_message): Give translators
3931 more flexibility with ngettext plural handling.
3933 Mon Feb 21 17:52:08 2005 Jonathan Blandford <jrb@redhat.com>
3935 * pdf/xpdf/pdf-document.cc (pdf_document_get_page_size): Patch
3936 from Crispin Flowerday <gnome@flowerday.cx> to avoid rendering the
3937 page when we get the page size.
3939 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
3941 * ps/ps-document.c: (ps_document_set_page), (ps_document_get_page):
3943 ps pages are 0 based, convert
3945 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
3947 * ps/ps-document.c: (ps_document_class_init), (ps_document_load):
3949 Initialize correct parent class. Set GError on document load
3951 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
3953 * pdf/xpdf/pdf-document.cc:
3955 Fixup selection offset calculation
3957 * shell/ev-view.c: (view_rect_to_doc_rect),
3958 (doc_rect_to_view_rect), (ev_view_size_allocate),
3959 (expose_bin_window), (ev_view_select_all), (ev_view_copy),
3960 (ev_view_primary_get_cb), (ev_view_motion_notify_event):
3962 Store selection as document relative, so that zooming
3963 and offset changing doesnt break it.
3965 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
3967 * shell/ev-view.c: (ev_view_best_fit):
3969 Do not try to best fit if the view is not realized
3971 2005-02-20 Kostas Papadimas <pkst@gnome.org>
3973 * configure.ac (ALL_LINGUAS): Added "el" (Greek).
3975 Fri Feb 18 16:06:39 2005 Jonathan Blandford <jrb@redhat.com>
3977 * shell/ev-window.c (ev_window_focus_in_event): missed a case.
3979 Fri Feb 18 15:32:57 2005 Jonathan Blandford <jrb@redhat.com>
3981 * shell/ev-window.c: Change the fullscreen toolbar to always be in
3982 the popup window. That prevents it resizing when in full screen
3985 * shell/ev-view.c: Change Zoom epsilon as a bad hack to avoid
3986 multiple rerenders. This pretty much sucks.
3988 * data/evince-ui.xml: Change the fullscreen toolbar to include the
3989 rest of the toolbar.
3991 2005-02-18 Tommi Vainikainen <thv@iki.fi>
3993 * configure.ac (ALL_LINGUAS): Added "fi" (Finnish).
3995 2005-02-17 Alexander Shopov <ash@contact.bg>
3997 * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
3999 2005-02-16 Bryan Clark <clarkbw@cvs.gnome.org>
4001 * shell/ev-window.c: added ellipsis to Print item. Fixes bug 166915
4003 2005-02-16 Marco Pesenti Gritti <marco@gnome.org>
4005 * shell/ev-view.c: (ev_view_realize), (highlight_find_results),
4006 (ev_view_create_invisible_cursor), (ev_view_set_cursor),
4007 (set_document_page), (document_changed_callback),
4008 (ev_view_set_document), (ev_view_find_previous),
4009 (ev_view_hide_cursor), (ev_view_show_cursor):
4011 * shell/ev-window.c: (update_chrome_visibility),
4012 (fullscreen_timeout_cb), (fullscreen_set_timeout),
4013 (fullscreen_clear_timeout), (fullscreen_motion_notify_cb),
4014 (fullscreen_leave_notify_cb), (ev_window_fullscreen),
4015 (ev_window_unfullscreen):
4016 * shell/main.c: (main):
4018 Automatically hide the fullscreen button.
4019 Patch by Kristian Høgsberg <krh@redhat.com>
4021 2005-02-16 Vincent Noel <vnoel@cox.net>
4023 * shell/main.c (main): Specify an icon for the window. Patch by
4024 Jaap A. Haitsma. Fixes #166177.
4026 Wed Feb 16 06:30:13 2005 Jonathan Blandford <jrb@redhat.com>
4028 * shell/ev-view.c (ev_view_realize): get rid of the black flash.
4030 Tue Feb 15 22:27:13 2005 Jonathan Blandford <jrb@redhat.com>
4032 * backend/ev-document-misc.h:
4033 * backend/ev-document-misc.c:
4034 (ev_document_misc_get_page_border_size),
4035 (ev_document_misc_paint_one_page): New function to canonicalize
4036 sizing/painting a border.
4038 * shell/Makefile.am: Remove ev-page-view.c entirely as it's not
4041 * pdf/xpdf/pdf-document.cc: use new function
4043 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
4044 (ev_view_init), (ev_view_set_mode), (ev_view_zoom),
4045 (ev_view_best_fit), (ev_view_fit_width): * shell/ev-view.h: *
4046 shell/ev-window.c: (update_sizing_buttons),
4047 (ev_window_setup_document), (ev_window_cmd_view_zoom_in),
4048 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_best_fit),
4049 (ev_window_cmd_view_page_width), (size_allocate_cb),
4050 (ev_window_set_sizing_mode), (ev_window_init): make the "best fit"
4051 and "fit width" values act as toggle buttons so they stay
4052 toggled. It's not 100% perfect, and it's a little slow, but it's
4053 good enough to commit I think.
4055 2005-02-15 David Lodge <dave@cirt.net>
4057 * configure.ac (ALL_LINGUAS): Added "en_GB" (English (British)).
4059 2005-02-15 Martin Kretzschmar <martink@gnome.org>
4061 * shell/ev-window.c (update_window_title): replace newlines in
4062 the title by spaces. Bug #166107.
4064 2005-02-14 Martin Kretzschmar <martink@gnome.org>
4066 * shell/ev-view.c (ev_view_best_fit, ev_view_fit_width): add
4067 parameters providing allocation width and height without
4068 scrollbars and width of a possible vertical scrollbar. With this
4069 additional information the functions can work as
4070 intended. Unfortunately they're not idempotent. We should
4071 transform these commands to toggles. Fixes Bug #164976
4072 Initial patch by Stephane Loeuillet, then heavily modified.
4074 * shell/ev-view.h: update prototypes.
4076 * shell/ev-window.c (ev_window_cmd_view_best_fit)
4077 (ev_window_cmd_view_page_width): provide EvView fit functions with
4078 all the information they need. Formulas to calculate this
4079 information taken from GtkScrolledWindow.
4081 2005-02-14 Crispin Flowerday <gnome@flowerday.cx>
4083 * shell/ev-sidebar-thumbnails.c: Ensure that after we have
4084 created a thumbnail, the list store is updated to know
4085 that the thumbnail is set. Fixes bug #166792
4087 2005-02-11 Bryan Clark <clarkbw@cvs.gnome.org>
4089 * shell/ev-window.c: fixed typo, closes bug 166897
4091 * TODO: updated TODO with bug numbers that are relevant
4093 2005-02-09 Carlos Garcia Campos <carlosgc@gnome.org>
4095 * shell/ev-window.c: Support for DnD of files. Fixes #164813
4097 2005-02-09 Vincent Noel <vnoel@cox.net>
4099 * shell/ev-window.c: (set_action_properties): Set the "Previous"
4100 and "Next" toolbar buttons as important to make them stand out.
4102 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
4106 * ps/ps-document.c: (ps_document_finalize), (set_up_page),
4107 (start_interpreter), (stop_interpreter), (document_load),
4108 (ps_document_next_page), (ps_document_goto_page),
4109 (ps_document_set_page_size), (ps_document_widget_event),
4110 (ps_document_render):
4111 * shell/ev-page-view.c: (ev_page_view_dispose):
4112 * shell/ev-view.c: (ev_view_finalize), (expose_bin_window):
4114 Fix compilation on non-gcc platforms
4116 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
4123 * pdf/xpdf/Catalog.cc:
4126 Fix the fix for CAN-2004-0888
4128 2005-02-09 Luca Ferretti <elle.uca@libero.it>
4131 * data/evince-ui.xml:
4132 * shell/ev-stock-icons.c: (ev_stock_icons_init):
4133 * shell/ev-stock-icons.h:
4134 * shell/ev-window.c: (update_action_sensitivity),
4135 (ev_window_cmd_go_previous_page), (ev_window_cmd_go_next_page),
4136 (set_action_properties):
4138 Improve toolbar layout/icons
4140 2005-02-08 Marco Pesenti Gritti <marco@gnome.org>
4142 * pdf/xpdf/pdf-document.cc:
4144 Add warnings about unimplemented/unknown link
4147 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4149 * ps/ps-document.c: (set_up_page):
4153 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4155 * ps/ps-document.c: (start_interpreter):
4159 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4161 * shell/ev-page-view.c: (ev_page_view_dispose):
4162 * shell/ev-view.c: (ev_view_finalize):
4163 * shell/ev-window.c: (ev_window_setup_document),
4164 (ev_window_dispose), (ev_window_init):
4166 Solve more refs issues.
4168 I commented out the page_view initialization for now:
4169 it was never destroyed (because it's never added
4170 to a container). Because of that we was leaking
4171 gs processes. Couldnt think to a clean fix.
4172 We need to figure this out, password view has the
4173 same issue probably.
4175 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4177 * ps/ps-document.c: (ps_document_finalize),
4178 (ps_document_get_n_pages), (ps_document_get_page):
4180 Some cleanups, stop the interpreter on finalize
4182 * shell/ev-page-view.c: (ev_page_view_dispose),
4183 (ev_page_view_class_init):
4185 Release our reference on the document
4187 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4191 * doc/debugging.txt:
4194 * lib/ev-debug.c: (log_module), (trap_handler), (ev_debug_init),
4195 (ev_profiler_new), (ev_should_profile), (ev_profiler_dump),
4196 (ev_profiler_free), (ev_profiler_start), (ev_profiler_stop):
4199 Add debugging helpers
4202 * ps/ps-document.c: (set_up_page), (start_interpreter),
4203 (stop_interpreter), (document_load), (ps_document_next_page),
4204 (ps_document_goto_page), (ps_document_set_page_size),
4205 (ps_document_widget_event), (ps_document_render):
4206 * shell/Makefile.am:
4207 * shell/ev-view.c: (expose_bin_window):
4208 * shell/main.c: (main):
4212 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4214 * ps/ps-document.c: (ps_document_widget_event):
4216 Initialize message_window, this should make ps
4217 rendering really work! (Never noticed because I was
4218 testing with a ps that is causing gs to exit every time!)
4220 2005-02-07 Bryan Clark <clarkbw@cvs.gnome.org>
4222 * data/evince.schemas.in: updated simple error in applyto closing tag
4224 2005-02-07 Christian Persch <chpe@cvs.gnome.org>
4230 * data/evince-ui.xml:
4231 A data/evince.schemas.in:
4233 * shell/ev-stock-icons.c: (ev_stock_icons_init):
4234 * shell/ev-stock-icons.h:
4235 * shell/ev-window.c: (update_chrome_visibility),
4236 (update_chrome_flag), (ev_window_cmd_edit_find),
4237 (ev_window_update_fullscreen_popup), (ev_window_fullscreen),
4238 (ev_window_unfullscreen), (ev_window_focus_in_event),
4239 (ev_window_focus_out_event), (ev_window_cmd_leave_fullscreen),
4240 (ev_window_view_toolbar_cb), (ev_window_view_statusbar_cb),
4241 (ev_window_view_sidebar_cb), (find_bar_close_cb),
4242 (ev_window_dispose), (ev_window_class_init),
4243 (set_action_properties), (set_chrome_actions), (load_chrome),
4246 Implement fullscreen mode changes from bug #164776.
4247 Also implement persistent chrome toggles.
4249 2005-02-07 Jordi Mallach <jordi@sindominio.net>
4251 * configure.ac (ALL_LINGUAS): Added "ca" (Catalan).
4253 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
4259 Add another check for find interface
4263 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
4265 * shell/ev-application.c: (ev_application_open):
4266 * shell/ev-window.c: (ev_window_open):
4268 Open gzipped ps documents
4270 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
4273 * shell/ev-view.c: (set_document_page):
4275 Clamp page number, dont try to move to
4278 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
4280 * backend/ev-document-find.c: (ev_document_find_changed):
4281 * backend/ev-document-find.h:
4282 * pdf/xpdf/pdf-document.cc:
4283 * shell/ev-view.c: (jump_to_find_result), (ev_view_set_document):
4284 * shell/ev-window.c: (find_bar_search_changed_cb):
4286 Fix several bugs with find
4288 2005-02-04 Martin Kretzschmar <martink@gnome.org>
4290 * shell/ev-sidebar-thumbnails.c
4291 (ev_sidebar_thumbnails_select_page): do nothing unless we have a
4292 document. Prevents warning from scroll_to_cell.
4294 2005-02-02 Kjartan Maraas <kmaraas@gnome.org>
4296 * configure.ac: Add «nb» to ALL_LINGUAS too.
4298 Wed Feb 2 21:13:11 2005 Jonathan Blandford <jrb@redhat.com>
4300 * NOTES: New file with some random thoughts.
4304 * backend/ev-document-misc.c:
4305 (ev_document_misc_get_page_border_size): New function to
4306 canonicalize shadow drawing sizes. Possibly goofy.
4308 * shell/ev-view.c: (ev_view_size_request), (set_document_page),
4309 (ev_view_best_fit), (ev_view_fit_width):
4310 * pdf/xpdf/pdf-document.cc:
4311 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
4312 * ps/ps-document.c: (ps_document_get_page_size):
4313 * backend/ev-document-misc.h:
4314 * backend/ev-document.c: (ev_document_get_page_size):
4315 * backend/ev-document.h: get_page_size now takes a page number
4316 parameter. Made all the backends/frontends honor it.
4318 * data/evince-ui.xml: Added a multiple-page mode. Uncomment to
4319 see. Doesn't work yet.
4321 * shell/Makefile.am:
4322 * shell/ev-page-view.[ch]: New multi-page view. Really rough.
4323 Doesn't do anything yet.
4325 * shell/ev-sidebar-thumbnails.c:
4326 (ev_sidebar_thumbnails_set_document): [1..n_pages] instead of
4329 * shell/ev-window.c: (update_action_sensitivity),
4330 (ev_window_setup_document), (ev_window_set_page_mode),
4331 (ev_window_page_mode_cb), (ev_window_init): Clean up the
4332 view-swapping code a bit so we can have multiple views on a
4333 document. Add the multi-page view, though it can't be turned on
4336 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
4338 * shell/ev-application.c: (ev_application_open):
4339 * shell/ev-view.c: (expose_bin_window):
4340 * shell/ev-window.c: (ev_window_open):
4342 Support eps and check document supports find
4343 before drawing highlightings in expose.
4345 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
4347 * pixbuf/pixbuf-document.c:
4348 (pixbuf_document_thumbnails_get_dimensions),
4349 (pixbuf_document_document_thumbnails_iface_init):
4351 implement get_dimensions
4353 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
4360 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
4362 * shell/ev-view.c: (set_document_page):
4364 Scroll at the top of the page when changing page
4366 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
4368 * shell/ev-view.c: (ev_view_motion_notify_event):
4370 Do not redraw unnecessarily
4372 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
4374 * pdf/xpdf/pdf-document.cc:
4375 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
4376 (expose_bin_window), (find_changed_cb):
4378 Yay! find works now... Now to find bugs...
4380 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
4382 * backend/ev-document-find.c: (ev_document_find_base_init),
4383 (ev_document_find_changed):
4384 * backend/ev-document-find.h:
4385 * pdf/xpdf/pdf-document.cc:
4386 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
4387 (expose_bin_window), (ev_view_init), (set_document_page),
4388 (ensure_rectangle_is_visible), (jump_to_find_result),
4389 (jump_to_find_page), (find_changed_cb), (ev_view_set_document),
4390 (ev_view_find_next), (ev_view_find_previous):
4392 * shell/ev-window.c: (find_bar_previous_cb), (find_bar_next_cb):
4394 More work on find implementation, mostly there now
4396 2005-01-29 Marco Pesenti Gritti <marco@gnome.org>
4398 * backend/ev-backend-marshalers.list:
4399 * backend/ev-document-find.c: (ev_document_find_base_init),
4400 (ev_document_find_cancel), (ev_document_find_page_has_results),
4401 (ev_document_find_get_n_results), (ev_document_find_get_result),
4402 (ev_document_find_get_progress), (ev_document_find_changed):
4403 * backend/ev-document-find.h:
4405 Enanche the find interface to be really able to do
4408 * pdf/xpdf/pdf-document.cc:
4412 * shell/ev-view.c: (ev_view_finalize), (highlight_find_results),
4413 (expose_bin_window), (ev_view_init),
4414 (ev_view_get_find_status_message), (find_changed_cb),
4415 (ev_view_set_document), (set_document_page):
4417 Adapt to the new interface. A few things are regressed sorry,
4418 I will finish it soon.
4420 2005-01-28 Martin Kretzschmar <martink@gnome.org>
4422 * shell/ev-sidebar-thumbnails.c (ev_sidebar_thumbnails_destroy)
4423 (ev_sidebar_thumbnails_class_init): use G_DEFINE_TYPE-supplied
4424 ev_sidebar_thumbnails_parent_class variable, don't define another
4425 parent_class variable.
4427 * shell/ev-page-action.c (connect_proxy, ev_page_action_finalize)
4428 (ev_page_action_class_init): ditto.
4430 * pixbuf/pixbuf-document.c (pixbuf_document_finalize)
4431 (pixbuf_document_class_init): ditto.
4433 * backend/ev-link.c (ev_window_dispose, ev_link_class_init):
4436 * .cvsignore: ignore various valgrind output files.
4438 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
4440 * data/evince-ui.xml:
4441 * shell/Makefile.am:
4442 * shell/ev-history.c:
4443 * shell/ev-history.h:
4444 * shell/ev-navigation-action.c:
4445 * shell/ev-navigation-action.h:
4446 * shell/ev-view.c: (ev_view_finalize), (ev_view_go_to_link),
4447 (ev_view_set_page), (ev_view_fit_width):
4449 * shell/ev-window.c: (update_action_sensitivity),
4450 (ev_window_setup_document), (register_custom_actions):
4452 Kill session history
4454 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
4456 * shell/ev-window.c: (update_action_sensitivity):
4458 Fix inverted up/down buttons
4460 2005-01-27 Martin Kretzschmar <martink@gnome.org>
4462 * shell/ev-sidebar-thumbnails.c
4463 (ev_sidebar_thumbnails_select_page): make sure the selected
4464 thumbnail stays visible.
4466 2005-01-26 Martin Kretzschmar <martink@gnome.org>
4468 * shell/ev-window.c (ev_window_init): add GTK_SHADOW_IN to the
4469 scrolled window for Federico.
4471 2005-01-26 Ole Laursen <olau@hardworking.dk>
4473 * configure.ac: Added "da" (Danish) to ALL_LINGUAS.
4475 2005-01-26 Marco Pesenti Gritti <marco@gnome.org>
4478 * pdf/splash/SplashFTFontEngine.cc:
4480 Fix CID fonts with freetype 2.1.9
4482 2005-01-26 Bryan Clark <clarkbw@cvs.gnome.org>
4484 * TODO: added item for desktop icon thumbnailer
4486 Tue Jan 25 00:59:34 2005 Jonathan Blandford <jrb@redhat.com>
4488 * pdf/xpdf/pdf-document.cc (pdf_document_get_title): guard against
4489 unloaded docs when the title is accessed.
4491 * shell/ev-password-view.[hc]: New widget for displaying password
4494 * shell/ev-window.[ch]: Refactor password handling code to handle
4497 2005-01-24 Marco Pesenti Gritti <marco@gnome.org>
4505 2005-01-23 Stephane LOEUILLET <stephane.loeuillet@tiscali.fr>
4507 * pdf/xpdf/pdf-document.cc (pdf_document_search_page_changed):
4508 ignore page offset here, to make search results independent of it,
4510 * shell/ev-view.c (expose_bin_window): but take offsets into
4511 account here. Bug #164932
4513 * pdf/xpdf/pdf-document.cc (pdf_document_get_link): divide by
4514 scale at the right time. Bug #164996
4516 2005-01-22 Martin Kretzschmar <martink@gnome.org>
4518 * pdf/xpdf/GlobalParams.cc: My 2005-01-05 change didn't actually
4519 fix the problem. Now I just removed the Adobe font names and hope
4520 that the URW fonts are always in outline format. Bug #164934
4522 * shell/ev-window.c (update_window_title): empty titles are
4523 useless, use filename in that case too.
4525 * NEWS: Add some content.
4527 2005-01-21 Bryan Clark <clarkbw@cvs.gnome.org>
4529 * TODO: added one more TODO item and a TODONE section :)
4531 2005-01-21 Martin Kretzschmar <martink@gnome.org>
4533 * ps/ps-document.h: add page_[xy]_offset fields.
4535 * ps/ps-document.c (ps_document_set_page_offset)
4536 (ps_document_render): Keep offset in consideration in a few
4537 places. Bug #164752 "postscript documents are not centered in
4540 * data/evince.desktop.in (X-GNOME-Bugzilla-Product):
4541 s/gpdf/evince/. Spotted by Stephane Loeuillet.
4543 * pixbuf/pixbuf-document.c (pixbuf_document_get_n_pages)
4544 (pixbuf_document_get_text, pixbuf_document_document_iface_init):
4545 stub out missing methods for complete EvDocument implementation.
4546 Fixes segfaults with Save A Copy and Copy actions.
4548 * ps/ps-document.c (ps_document_save, ps_document_get_text)
4549 (ps_document_document_iface_init): ditto.
4551 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
4555 * data/evince.desktop.in:
4559 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
4561 * shell/ev-view.c: (ev_view_button_press_event),
4562 (ev_view_motion_notify_event):
4564 Make selection work in any direction
4566 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
4569 * shell/ev-window.c: (set_short_labels), (ev_window_init):
4571 Use shorter labels for some of the toolbars items
4573 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
4575 * pdf/xpdf/pdf-document.cc:
4577 Check the links info is initialized before
4578 using it. Should fix a crash on startup.
4580 2005-01-21 Martin Kretzschmar <martink@gnome.org>
4582 * pixbuf/pixbuf-document.c
4583 (pixbuf_document_thumbnails_get_dimensions): force floating point
4584 division to calculate page_ratio. Fixes crash with landscape
4587 Thu Jan 20 18:56:35 2005 Jonathan Blandford <jrb@redhat.com>
4589 * shell/ev-view.c (ev_view_realize): make the bg color darker.
4591 2005-01-20 Martin Kretzschmar <martink@gnome.org>
4593 * shell/ev-view.c (set_document_page): unset has_selection when
4595 (set_document_page): handle paper size changes when the page
4596 changes (test with Free Culture, page 2).
4598 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
4600 * shell/ev-view.c: (ev_view_size_request), (ev_view_realize),
4601 (expose_bin_window), (ev_view_class_init), (ev_view_init):
4603 Use normal style color for the widget background and
4604 draw a black box around the page.
4606 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
4608 * pdf/xpdf/pdf-document.cc:
4610 Keep offset in consideration in a few places
4612 * shell/ev-view.c: (expose_bin_window):
4614 Set the offsets so that the document is ever centered
4616 2005-01-20 Bryan Clark <clarkbw@cvs.gnome.org>
4618 * TODO: Added TODO items and finished off the first todo item
4620 * AUTHORS: Updated AUTHORS section with piece from gpdf file and
4621 reflect current authors
4623 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
4625 * pdf/xpdf/pdf-document.cc:
4626 * shell/ev-view.c: (ev_view_set_cursor),
4627 (ev_view_motion_notify_event), (document_changed_callback),
4628 (set_document_page):
4630 Show a wait cursor while the page is rendering
4632 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
4634 * shell/ev-sidebar-thumbnails.c:
4635 (ev_sidebar_tree_selection_changed),
4636 (ev_sidebar_thumbnails_select_page):
4637 * shell/ev-sidebar-thumbnails.h:
4638 * shell/ev-view.c: (ev_view_set_document), (ev_view_can_go_back),
4639 (ev_view_can_go_forward):
4640 * shell/ev-window.c: (ev_window_open_page),
4641 (ev_window_setup_document), (update_current_page),
4642 (view_page_changed_cb), (ev_window_init):
4643 * shell/ev-window.h:
4645 Ensure thumbnails selection, toolbar page control and
4646 current page are in sync.
4648 2005-01-19 Marco Pesenti Gritti <marco@gnome.org>
4654 Wed Jan 19 01:10:57 2005 Jonathan Blandford <jrb@redhat.com>
4656 * backend/Makefile.am:
4657 * backend/ev-document-links.h:
4658 * backend/ev-document-security.c: (ev_document_security_get_type),
4659 (ev_document_security_has_document_security),
4660 (ev_document_security_set_password):
4661 * backend/ev-document-security.h:
4662 * backend/ev-document.c: (ev_document_error_quark):
4663 * backend/ev-document.h:
4665 * data/evince-password.glade:
4666 * pdf/xpdf/pdf-document.cc:
4667 * shell/Makefile.am:
4668 * shell/ev-password.c: (ev_password_set_bad_password_label),
4669 (ev_window_password_entry_changed_cb), (ev_password_dialog_new),
4670 (ev_password_dialog_get_password),
4671 (ev_password_dialog_set_bad_pass):
4672 * shell/ev-password.h:
4673 * shell/ev-window.c: (ev_window_get_attribute),
4674 (ev_window_set_property), (update_action_sensitivity),
4675 (ev_window_is_empty), (mime_type_supported_by_gdk_pixbuf),
4676 (ev_window_setup_document), (ev_window_get_password),
4677 (ev_window_open), (ev_window_cmd_save_as),
4678 (using_postscript_printer), (ev_window_print),
4679 (find_not_supported_dialog), (ev_window_cmd_edit_find),
4680 (update_fullscreen_popup), (ev_window_fullscreen),
4681 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
4682 (ev_window_focus_out_cb), (ev_window_cmd_help_about),
4683 (menu_item_select_cb), (find_bar_search_changed_cb),
4684 (ev_window_dispose), (ev_window_init):
4686 Add initial support for password-supported dialogs. This could be
4687 a lot cooler, but it'll do for now.
4689 2005-01-18 Marco Pesenti Gritti <marco@gnome.org>
4691 * pdf/xpdf/pdf-document.cc:
4692 * shell/ev-view.c: (status_message_from_link),
4693 (ev_view_set_status), (ev_view_set_cursor),
4694 (ev_view_motion_notify_event), (ev_view_init):
4695 * shell/ev-window.c: (view_status_changed_cb), (ev_window_init):
4697 Fix bugs in the links implementation and change cursor
4698 when hovering a link.
4700 2005-01-17 Bryan Clark <clarkbw@cvs.gnome.org>
4702 * viewer/.cvsignore: added cvsignore file for viewer directory
4704 * TODO: created TODO document
4706 2005-01-14 Dave Malcolm <dmalcolm@redhat.com>
4709 * shell/ev-view.c (ev_view_can_go_back), (ev_view_can_go_forward):
4710 new functions to help with implementation of sensitivity code
4711 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
4712 of all actions that might require it. Fixes a crash when you
4713 click on the Zoom actions in a window lacking a document.
4715 2005-01-13 Dave Malcolm <dmalcolm@redhat.com>
4717 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
4720 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
4722 * pixbuf/pixbuf-document.c: (pixbuf_document_get_link),
4723 (pixbuf_document_document_iface_init):
4724 * ps/ps-document.c: (ps_document_get_link),
4725 (ps_document_document_iface_init):
4726 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event),
4727 (status_message_from_link), (ev_view_set_status),
4728 (ev_view_set_find_status), (ev_view_motion_notify_event),
4729 (ev_view_button_release_event), (ev_view_set_property),
4730 (ev_view_get_property), (ev_view_class_init), (ev_view_init),
4731 (ev_view_get_find_status_message), (update_find_results),
4732 (ev_view_get_status), (ev_view_get_find_status):
4734 * shell/ev-window.c: (view_status_changed_cb),
4735 (view_find_status_changed_cb), (ev_window_init):
4737 View status message support, use it to show the links.
4740 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
4742 * backend/ev-document.c: (ev_document_get_link):
4743 * backend/ev-document.h:
4744 * pdf/xpdf/pdf-document.cc:
4745 * shell/ev-application.c: (ev_application_open):
4746 * shell/ev-application.h:
4747 * shell/ev-sidebar-links.c: (selection_changed_cb):
4748 * shell/ev-view.c: (ev_view_button_release_event), (go_to_link),
4749 (ev_view_go_to_link):
4751 Add support for document links
4753 2005-01-13 Anders Carlsson <andersca@gnome.org>
4755 * shell/ev-page-action.c: (update_spin), (total_pages_changed_cb),
4757 Set the spin button limits correctly.
4759 * shell/ev-sidebar-thumbnails.c:
4760 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init):
4761 Support changing pages by clicking on the thumbnails.
4763 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
4765 * pixbuf/pixbuf-document.c:
4766 (pixbuf_document_thumbnails_get_dimensions),
4767 (pixbuf_document_document_thumbnails_iface_init):
4769 implement get_dimensions
4771 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
4773 * ps/ps-document.c: (ps_document_goto_page):
4775 Fix page switching on multipage documents
4777 2005-01-12 Jeff Muizelaar <jrmuizel@nit.ca>
4779 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
4781 check for NULL before assigning to width and height parameters
4783 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
4785 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
4786 (pixbuf_document_set_property), (pixbuf_document_get_property):
4788 implement get/set properties
4790 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
4792 * pdf/xpdf/pdf-document.cc: (pdf_info_dict_get_string):
4794 return NULL instead of "Unknown", letting the title get set to
4795 the filename when the pdf has no title.
4797 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
4799 * ps/ps-document.c: (ps_document_get_page_count),
4800 (ps_document_goto_page):
4802 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
4804 * shell/ev-history.c: (ev_history_get_property),
4805 (ev_history_set_property), (ev_history_class_init),
4806 (ev_history_add_page), (ev_history_set_current_index):
4807 * shell/ev-navigation-action.c: (ev_navigation_action_set_history),
4808 (activate_menu_item_cb), (new_history_menu_item), (build_menu),
4809 (ev_navigation_action_finalize):
4810 * shell/ev-navigation-action.h:
4811 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
4812 (ev_view_go_forward), (ev_view_get_find_status_message),
4813 (history_index_changed_cb), (ev_view_set_history):
4815 * shell/ev-window.c: (update_total_pages), (ev_window_open),
4816 (update_current_page), (register_custom_actions):
4818 Implement history dropdowns
4820 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
4822 * shell/ev-history.c: (ev_history_init), (ev_history_add_link):
4823 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
4824 (ev_view_go_forward):
4825 * shell/ev-window.c: (register_custom_actions):
4827 Fix several history bugs
4829 2005-01-11 Kjartan Maraas <kmaraas@gnome.org>
4831 * configure.ac: Add «nb» to ALL_LINGUAS.
4833 2005-01-10 Marco Pesenti Gritti <marco@gnome.org>
4835 * backend/Makefile.am:
4836 * backend/ev-bookmark.c:
4837 * backend/ev-bookmark.h:
4838 * backend/ev-document-bookmarks.c:
4839 * backend/ev-document-bookmarks.h:
4840 * backend/ev-document-links.c: (ev_document_links_get_type),
4841 (ev_document_links_has_document_links),
4842 (ev_document_links_begin_read), (ev_document_links_get_link),
4843 (ev_document_links_get_child), (ev_document_links_next),
4844 (ev_document_links_free_iter):
4845 * backend/ev-document-links.h:
4846 * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_title),
4847 (ev_link_set_title), (ev_link_get_uri), (ev_link_set_uri),
4848 (ev_link_get_link_type), (ev_link_set_link_type),
4849 (ev_link_get_page), (ev_link_set_page), (ev_link_get_property),
4850 (ev_link_set_property), (ev_window_dispose), (ev_link_init),
4851 (ev_link_class_init), (ev_link_new_title), (ev_link_new_page),
4852 (ev_link_new_external):
4853 * backend/ev-link.h:
4854 * pdf/xpdf/pdf-document.cc:
4855 * shell/Makefile.am:
4856 * shell/ev-application.c: (ev_application_open_link):
4857 * shell/ev-application.h:
4858 * shell/ev-history.c: (ev_history_add_link), (ev_history_add_page),
4859 (ev_history_get_link_nth):
4860 * shell/ev-history.h:
4861 * shell/ev-sidebar-bookmarks.c:
4862 * shell/ev-sidebar-bookmarks.h:
4863 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
4864 (ev_sidebar_links_class_init), (selection_changed_cb),
4865 (ev_sidebar_links_construct), (ev_sidebar_links_init),
4866 (links_page_num_func), (ev_sidebar_links_new), (stack_data_free),
4867 (do_one_iteration), (populate_links_idle),
4868 (ev_sidebar_links_clear_document), (ev_sidebar_links_set_document):
4869 * shell/ev-sidebar-links.h:
4870 * shell/ev-sidebar.c: (ev_sidebar_set_document):
4871 * shell/ev-view.c: (go_to_link), (ev_view_go_to_link),
4874 * shell/ev-window.c: (ev_window_open_link), (ev_window_init):
4875 * shell/ev-window.h:
4877 Rename bookmark to link, and use "Index" for the sidebar panel.
4879 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
4881 * shell/Makefile.am:
4882 * shell/ev-application.c: (ev_application_open_bookmark):
4883 * shell/ev-application.h:
4884 * shell/ev-history.c: (ev_history_init), (free_links_list),
4885 (ev_history_finalize), (ev_history_class_init),
4886 (ev_history_add_link), (ev_history_add_page),
4887 (ev_history_get_link_nth), (ev_history_get_n_links),
4888 (ev_history_get_current_index), (ev_history_set_current_index),
4890 * shell/ev-history.h:
4891 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
4892 * shell/ev-view.c: (ev_view_finalize), (ev_view_set_document),
4893 (set_document_page), (go_to_bookmark), (ev_view_go_to_bookmark),
4894 (go_to_index), (ev_view_go_back), (ev_view_go_forward),
4897 * shell/ev-window.c: (ev_window_open_bookmark),
4898 (ev_window_cmd_go_back), (ev_window_cmd_go_forward),
4899 (goto_page_cb), (register_custom_actions):
4900 * shell/ev-window.h:
4902 Initial history implementation. Needs work.
4904 2005-01-09 Martin Kretzschmar <martink@gnome.org>
4906 * pdf/xpdf/GDKSplashOutputDev.cc (redraw): fix pixbuf data offset.
4908 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
4910 * cut-n-paste/recent-files/egg-recent-item.c:
4911 * cut-n-paste/recent-files/egg-recent-item.h:
4912 * cut-n-paste/recent-files/egg-recent-model.c:
4913 * cut-n-paste/recent-files/egg-recent-util.c:
4914 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
4915 * cut-n-paste/recent-files/egg-recent-view.c:
4919 2005-01-08 Martin Kretzschmar <martink@gnome.org>
4921 * pdf/splash/Splash.cc (clear, drawPixel, drawSpan, xorSpan, getPixel)
4922 (fillGlyph, fillImageMask, drawImage):
4923 pdf/splash/SplashBitmap.cc (SplashBitmap, ~SplashBitmap, writePNMFile):
4924 pdf/splash/SplashTypes.h:
4925 pdf/xpdf/SplashOutputDev (startPage, getColor, imageSrc): implement RGB8
4926 packed mode for Splash.
4928 * pdf/xpdf/GDKSplashOutputDev.cc (GDKSplashOutputDev, redraw): use
4929 RGB8 packed mode, eliminates the pixbuf data creation loop.
4931 * shell/ev-print-job.c (ev_print_job_finalize)
4932 (ev_print_job_set_property, ev_print_job_get_property)
4933 (ev_print_job_set_gnome_print_job, ev_print_job_set_document)
4934 (ev_print_job_use_print_dialog_settings, idle_print_handler)
4935 (print_closure_finalize, ev_print_job_print): implement
4936 printing (for backends with EvPsExporter)
4938 * shell/ev_print_job.h: update prototypes.
4940 * shell/ev-window.c (ev_window_print): unref print job after
4943 * shell/ev-view.c (ev_view_set_document): don't connect to "found"
4944 unless the document implements the EvDocumentFind interface.
4946 2005-01-08 Satoru SATOH <ss@gnome.gr.jp>
4948 * configure.ac: Added ja to ALL_LINGUAS.
4950 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
4952 * pdf/xpdf/pdf-document.cc:
4954 add a FIXME. We should probably not allocate
4955 a bookmark object every time
4957 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
4959 * shell/ev-application.c: (ev_application_open),
4960 (ev_application_open_bookmark):
4961 * shell/ev-application.h:
4963 Add a way to open bookmarks
4965 * backend/ev-bookmark.c: (ev_bookmark_get_uri),
4966 (ev_bookmark_set_uri), (ev_bookmark_get_property),
4967 (ev_bookmark_set_property), (ev_bookmark_class_init),
4968 (ev_bookmark_new_title), (ev_bookmark_new_link),
4969 (ev_bookmark_new_external):
4971 Support for external uris, better constructors.
4973 * backend/ev-bookmark.h:
4974 * pdf/xpdf/pdf-document.cc:
4975 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
4977 Handle external uris
4979 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
4981 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb),
4982 (ev_sidebar_bookmarks_construct), (do_one_iteration):
4984 Hook up bookmarks navigation
4986 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
4988 * backend/Makefile.am:
4989 * backend/ev-bookmark.c: (ev_bookmark_type_get_type),
4990 (ev_bookmark_get_title), (ev_bookmark_set_title),
4991 (ev_bookmark_get_bookmark_type), (ev_bookmark_set_bookmark_type),
4992 (ev_bookmark_get_page), (ev_bookmark_set_page),
4993 (ev_bookmark_get_property), (ev_bookmark_set_property),
4994 (ev_window_dispose), (ev_bookmark_init), (ev_bookmark_class_init),
4996 * backend/ev-bookmark.h:
4997 * backend/ev-document-bookmarks.c:
4998 (ev_document_bookmarks_get_bookmark):
4999 * backend/ev-document-bookmarks.h:
5000 * pdf/xpdf/pdf-document.cc:
5001 * shell/ev-sidebar-bookmarks.c: (do_one_iteration):
5003 Add a bookmark object to the backend and use it instead of get_values
5005 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5007 * data/evince-ui.xml:
5009 Cleanup and add select all.
5011 * shell/ev-view.c: (ev_view_select_all),
5012 (ev_view_button_press_event):
5014 * shell/ev-window.c: (ev_window_cmd_edit_select_all):
5017 Clear selection on click.
5019 Fri Jan 7 01:28:58 2005 Jonathan Blandford <jrb@redhat.com>
5021 * shell/ev-sidebar-thumbnails.c
5022 (ev_sidebar_thumbnails_set_document): forgot to unref the
5025 Fri Jan 7 01:22:48 2005 Jonathan Blandford <jrb@redhat.com>
5027 * shell/ev-sidebar-thumbnails.c: fill in the thumbnails starting
5028 at the visible page, not just linearly. This makes it look fast.
5030 Thu Jan 6 18:48:11 2005 Jonathan Blandford <jrb@redhat.com>
5032 * backend/ev-document-misc.c
5033 (ev_document_misc_get_thumbnail_frame): fill in the thumbnail with
5035 * backend/ev-document-thumbnails.h: New interface to get the size
5038 2005-01-06 Jeremy Katz <katzj@redhat.com>
5040 * shell/Makefile.am (evince_SOURCES): Add ev-utils.[ch] so that
5043 Wed Jan 5 15:38:28 2005 Jonathan Blandford <jrb@redhat.com>
5045 * pdf/xpdf/pdf-document.cc (bitmap_to_pixbuf): bypass
5046 GDKSplashOutputDev and just use a normal SplashOutputDev. Speeds
5049 * shell/ev-sidebar-thumbnail.c: start of some profiling code.
5051 2005-01-05 Martin Kretzschmar <martink@gnome.org>
5053 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): match only outline
5054 fonts. Should fix font problems on systems that have the base
5055 fonts in bitmap format. Reported by James Henstridge
5056 <james@jamesh.id.au>.
5058 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5061 * pdf/xpdf/GfxState.cc:
5063 Fix for CAN-2004-1125
5065 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5067 * shell/ev-view.c: (ev_view_copy):
5069 * shell/ev-window.c: (ev_window_cmd_edit_copy):
5071 Implement Edit->Copy
5073 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5075 * backend/ev-document.c: (ev_document_get_text):
5076 * backend/ev-document.h:
5077 * pdf/xpdf/pdf-document.cc:
5078 * shell/ev-view.c: (ev_view_realize), (expose_bin_window),
5079 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
5080 (ev_view_update_primary_selection), (ev_view_button_press_event),
5081 (ev_view_motion_notify_event), (ev_view_button_release_event):
5083 Beginnings of clipboard support. Incomplete but primary sort
5086 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5088 * shell/ev-view.c: (ev_gdk_color_to_rgb), (draw_rubberband),
5089 (expose_bin_window):
5091 Nicer rubberband drawing, from GtkIconView.
5093 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5095 * backend/ev-document.c: (ev_document_save):
5096 * backend/ev-document.h:
5097 * data/evince-ui.xml:
5098 * pdf/xpdf/pdf-document.cc:
5099 * shell/ev-window.c: (save_error_dialog), (ev_window_cmd_save_as):
5101 Implement "Save a copy..." menu item
5103 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5105 * shell/ev-view.c: (ev_view_zoom):
5107 Queue a resize when zoom changes
5109 Wed Jan 5 02:33:06 2005 Jonathan Blandford <jrb@redhat.com>
5111 * backend/ev-document-misc.[ch]: New misc file to do simple drop
5114 * pdf/xpdf/pdf-document.cc: use the drop shadows in both types of
5117 Tue Jan 4 22:32:32 2005 Jonathan Blandford <jrb@redhat.com>
5119 * pdf/xpdf/pdf-document.cc
5120 (pdf_document_thumbnails_get_page_pixbuf): poor man's dropshadow.
5122 Tue Jan 4 21:25:05 2005 Jonathan Blandford <jrb@redhat.com>
5124 * pdf/xpdf/pdf-document.cc: Do real thumbnailing of PDF files.
5125 It's slow, but I'll speed it up next!
5127 2005-01-04 Jeff Muizelaar <jrmuizel@nit.ca>
5129 * shell/main.c (load_files):
5131 use gnome_vfs_make_uri_from_shell_arg so that relative paths work
5132 from the command line and because it seems more appropriate.
5134 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
5136 * data/evince-ui.xml:
5137 * shell/ev-window.c: (update_action_sensitivity),
5138 (ev_window_cmd_go_page_up), (ev_window_cmd_go_page_down):
5140 s/next page/page down
5141 s/previous page/page up
5143 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
5145 * data/evince-ui.xml:
5147 Change the layout to match clarkbw design.
5149 * shell/Makefile.am:
5150 * shell/ev-navigation-action.c: (build_menu), (menu_activated_cb),
5151 (set_tooltip_cb), (connect_proxy), (ev_navigation_action_init),
5152 (ev_navigation_action_finalize),
5153 (ev_navigation_action_set_property),
5154 (ev_navigation_action_get_property),
5155 (ev_navigation_action_class_init):
5156 * shell/ev-navigation-action.h:
5158 Implement clarkbw toolbar navigation controls (incomplete)
5160 * shell/ev-page-action.c: (update_label), (update_spin),
5161 (value_changed_cb), (create_tool_item), (connect_proxy),
5162 (ev_page_action_init), (ev_page_action_finalize),
5163 (ev_page_action_set_property), (ev_page_action_get_property),
5164 (ev_page_action_set_current_page),
5165 (ev_page_action_set_total_pages), (ev_page_action_class_init):
5166 * shell/ev-page-action.h:
5168 Implement a page switcher in the toolbar
5170 * shell/ev-view.c: (ev_view_scroll_view):
5171 * shell/ev-window.c: (update_total_pages), (ev_window_open),
5172 (update_current_page), (view_page_changed_cb), (goto_page_cb),
5173 (register_custom_actions), (ev_window_init):
5175 Change page on PageUp/Down.
5177 Tue Jan 4 03:22:56 2005 Jonathan Blandford <jrb@redhat.com>
5179 * pdf/xpdf/pdf-document.cc
5180 (pdf_document_thumbnails_get_thumbnail): initial stab at
5181 implementing thumbnail support for pdfs. It only does documents
5182 with precached pdfs now.
5184 Mon Jan 3 17:22:25 2005 Jonathan Blandford <jrb@redhat.com>
5186 * shell/ev-sidebar-thumbnails.c (do_one_iteration): move the
5187 thumbnail code into a time-based idle as well. Also, turn off the
5188 shadow temporarily as it's really slow.
5190 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
5192 * backend/ev-document.c: (ev_document_class_init):
5193 * pdf/xpdf/pdf-document.cc:
5194 * shell/ev-window.c: (ev_window_open):
5196 Fix document title bugs and fallback to
5197 filename when not available.
5199 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
5201 * backend/ev-document.c: (ev_document_get_type),
5202 (ev_document_class_init), (ev_document_load),
5203 (ev_document_get_title):
5204 * backend/ev-document.h:
5205 * pdf/xpdf/pdf-document.cc:
5206 * ps/ps-document.c: (ps_document_set_property),
5207 (ps_document_get_property), (ps_document_class_init),
5211 * shell/ev-window.c: (update_window_title), (ev_window_open),
5214 Initial support for document title. Not working yet.
5216 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
5218 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event):
5220 Grab focus on the view when clicking it
5222 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
5224 * shell/ev-marshal.list:
5225 * shell/ev-view.c: (ev_view_realize), (add_scroll_binding),
5226 (ev_view_scroll_view), (ev_view_class_init), (ev_view_init):
5228 Add key bindings to the view. Now if the focus would work
5231 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
5234 * backend/Makefile.am:
5237 * dvi/dvilib/Makefile.am:
5238 * pdf/xpdf/Makefile.am:
5244 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5246 * shell/ev-view.c: (ev_view_realize):
5248 Fix mouse wheel scrolling
5250 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5256 * ps/ps-document.c: (catchPipe), (ps_document_init),
5257 (ps_document_class_init), (ps_document_cleanup),
5258 (ps_document_finalize), (send_ps), (ps_document_get_orientation),
5259 (set_up_page), (close_pipe), (is_interpreter_ready),
5260 (interpreter_failed), (output), (input), (start_interpreter),
5261 (stop_interpreter), (file_length), (file_readable),
5262 (check_filecompressed), (check_pdf), (compute_xdpi),
5263 (compute_ydpi), (compute_size), (ps_document_enable_interpreter),
5264 (ps_document_get_type), (ps_document_emit_error_msg),
5265 (document_load), (ps_document_next_page),
5266 (ps_document_get_current_page), (ps_document_get_page_count),
5267 (ps_document_goto_page), (ps_document_set_page_size),
5268 (ps_document_zoom_to_fit), (ps_document_set_zoom),
5269 (ps_document_load), (ps_document_get_n_pages),
5270 (ps_document_set_page), (ps_document_get_page),
5271 (ps_document_widget_event), (ps_document_set_target),
5272 (ps_document_set_scale), (ps_document_set_page_offset),
5273 (ps_document_get_page_size), (ps_document_render),
5274 (ps_document_document_iface_init):
5277 * shell/ev-window.c: (ev_window_open):
5279 Rename GtkGS to PSDocument
5281 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5283 * ps/gtkgs.c: (gtk_gs_class_init):
5286 Some more leftover...
5288 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5290 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_get_orientation),
5291 (output), (stop_interpreter), (gtk_gs_emit_error_msg),
5292 (gtk_gs_zoom_to_fit), (gtk_gs_set_zoom):
5295 Remove unused code and make a lot of stuff private
5297 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5299 * ps/gsdefaults.c: (gtk_gs_defaults_gconf_client),
5300 (gtk_gs_defaults_changed):
5306 Cleanup headers dependencies
5308 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5313 * ps/gsdefaults.c: (gtk_gs_defaults_get_paper_sizes):
5315 * ps/gtkgs.c: (file_length), (file_readable),
5316 (check_filecompressed), (check_pdf), (gtk_gs_load),
5317 (gtk_gs_get_postscript):
5321 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
5326 * ps/gtkgs.c: (gtk_gs_set_zoom):
5330 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
5332 * ps/gtkgs.c: (gtk_gs_set_zoom), (gtk_gs_set_zoom_mode):
5334 Ensure the page is rerendered when changing zoom
5336 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
5338 * backend/ev-document.c: (ev_document_base_init),
5339 (ev_document_changed):
5340 * backend/ev-document.h:
5342 Add a changed event that is emitted when the page content
5343 changes. This is necessary to deal with the fact that
5344 in ps backend rendering happen asycrounously.
5345 This makes the ps backend mostly work.
5347 * pdf/xpdf/pdf-document.cc:
5351 * ps/gtkgs.c: (set_up_page), (gtk_gs_widget_event),
5352 (ps_document_set_target):
5356 * shell/ev-view.c: (document_changed_callback),
5357 (ev_view_set_document), (ev_view_set_page):
5359 Redraw on the changed signal
5361 2004-12-25 Raphael Higino <raphaelh@cvs.gnome.org>
5363 * configure.ac: Added pt_BR to ALL_LINGUAS.
5365 Fri Dec 24 00:48:44 2004 Jonathan Blandford <jrb@redhat.com>
5367 * backend/ev-document-bookmarks.c:
5368 (ev_document_bookmarks_get_child): *
5369 backend/ev-document-bookmarks.h: * pdf/xpdf/Makefile.am: *
5370 pdf/xpdf/pdf-document.cc: * pdf/xpdf/pdf-document.h: *
5371 shell/Makefile.am: * shell/ev-sidebar-bookmarks.c:
5372 (ev_sidebar_bookmarks_destroy),
5373 (ev_sidebar_bookmarks_class_init),
5374 (ev_sidebar_bookmarks_construct), (stack_data_free),
5375 (do_one_iteration), (populate_bookmarks_idle),
5376 (ev_sidebar_bookmarks_clear_document),
5377 (ev_sidebar_bookmarks_set_document): *
5378 shell/ev-sidebar-bookmarks.h: * shell/ev-sidebar.c:
5379 (ev_sidebar_add_page),
5380 (ev_sidebar_set_document): * shell/ev-window.c: (ev_window_open):
5381 Initial stab at a bookmarks sidebar. It doesn't navigate yet, but
5382 it displays both the topics and the page numbers.
5384 2004-12-23 Kristian Høgsberg <krh@redhat.com>
5386 * shell/ev-window.c (ev_window_view_sidebar_cb): Hook up sidebar
5388 * shell/ev-window.c (toggle_entries): Set sidebar default value to
5391 2004-12-23 Adam Weinberger <adamw@gnome.org>
5393 * configure.ac: Added en_CA to ALL_LINGUAS.
5395 2004-12-23 Martin Kretzschmar <martink@gnome.org>
5397 * ChangeLog: replace bottom of this ChangeLog (merged history of
5398 ggv and gpdf; where all paths were wrong and most of the files are
5399 not even in this tree) with ChangeLog (from arch) of the shell
5402 2004-12-23 Havoc Pennington <hp@redhat.com>
5404 * shell/ev-window.c: hook up potentially-questionable "find
5405 results status text" feature - something involving the sidebar or
5406 scrollbar or a continuous all-pages-on-giant-roll-of-paper-view
5407 might be better in the end.
5409 * shell/ev-view.c (ev_view_get_find_status_message): new function,
5410 with corresponding signal when it should be updated
5412 * shell/eggfindbar.c (egg_find_bar_set_status_text): new function
5414 2004-12-22 Havoc Pennington <hp@redhat.com>
5416 * pdf/xpdf/pdf-document.cc (pdf_document_find_begin): make search
5417 find stuff on other pages, sort of (only returns one result on
5418 invisible pages, to show they have results; updates full results
5419 for a page when you view it). Currently repaints the current page
5420 every time a new result is found on any page, which isn't so nice.
5422 2004-12-22 Havoc Pennington <hp@redhat.com>
5424 * shell/ev-window.c (ev_window_cmd_edit_find): display an error if
5425 the document doesn't support find (better ideas?)
5426 (find_bar_search_changed_cb): handle missing document or document
5427 that doesn't support find
5429 * pdf/xpdf/pdf-document.cc: port to implement the new
5432 * backend/ev-document-find.c: create a new interface for searching
5434 * backend/ev-document.h, backend/ev-document.c: delete the find stuff
5436 2004-12-23 Martin Kretzschmar <martink@gnome.org>
5438 * pdf/xpdf/Makefile.am (libpdfdocument_la_LIBADD): add
5441 * shell/ev-window.c (ev_window_print): add GnomePrintJob to
5442 EvPrintJob constructor arguments.
5444 * backend/ev-ps-exporter.c, backend/ev-ps-exporter.h: interface
5445 for documents that can export PostScript (page by page).
5447 * backend/Makefile.am (libevbackend_la_SOURCES): add them.
5449 * pdf/xpdf/pdf-document.cc (pdf_document_ps_export_begin)
5450 (pdf_document_ps_export_do_page, pdf_document_ps_export_end)
5451 (pdf_document_ps_exporter_iface_init:
5452 Implement EvPSExporter.
5454 * pdf/xpdf/Makefile.am (libxpdf_la_SOURCES): build PSOutputDev.
5456 2004-12-22 Anders Carlsson <andersca@gnome.org>
5458 * backend/Makefile.am:
5459 * backend/ev-document-thumbnails.c:
5460 (ev_document_thumbnails_get_type),
5461 (ev_document_thumbnails_get_thumbnail):
5462 * backend/ev-document-thumbnails.h:
5463 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
5464 (pixbuf_document_thumbnails_get_thumbnail),
5465 (pixbuf_document_document_thumbnails_iface_init):
5466 * shell/Makefile.am:
5467 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_destroy),
5468 (ev_sidebar_thumbnails_class_init), (ev_sidebar_thumbnails_init),
5469 (populate_thumbnails), (ev_sidebar_thumbnails_set_document):
5470 * shell/ev-sidebar-thumbnails.h:
5471 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
5472 (ev_sidebar_set_document):
5473 * shell/ev-utils.c: (gaussian), (create_blur_filter),
5474 (create_shadow), (ev_pixbuf_add_shadow):
5476 Add thumbnail support.
5478 2004-12-22 Martin Kretzschmar <martink@gnome.org>
5480 * shell/ev-window.c (ev_window_cmd_file_print, ev_window_print)
5481 (using_postscript_printer): Set up a print dialog for "PostScript
5484 * shell/ev-print-job.h, shell/ev-print-job.c: stub classes for
5487 * shell/Makefile.am (evince_SOURCES): add ev-print-job.[ch]
5489 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
5491 * ps/gtkgs.c: (gtk_gs_init), (set_up_page),
5492 (ps_document_set_target), (ps_document_get_page_size),
5493 (ps_document_render):
5498 2004-12-22 Christian Rose <menthos@menthos.com>
5500 * configure.ac: Added "sv" to ALL_LINGUAS.
5502 Wed Dec 22 14:47:38 2004 Jonathan Blandford <jrb@redhat.com>
5504 * backend/ev-document-bookmarks.[ch]: new interface to indicate
5505 document supports bookmarks.
5507 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
5509 * ps/ggvutils.c: (ggv_file_readable):
5511 * ps/gtkgs.c: (check_filecompressed), (check_pdf),
5512 (gtk_gs_get_postscript):
5516 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
5518 * ps/gtkgs.c: (gtk_gs_init), (gtk_gs_class_init), (gtk_gs_cleanup),
5519 (gtk_gs_finalize), (gtk_gs_set_center), (set_up_page), (output),
5520 (start_interpreter), (compute_size), (gtk_gs_enable_interpreter),
5521 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_reload),
5522 (gtk_gs_emit_error_msg), (gtk_gs_disable_interpreter),
5523 (gtk_gs_load), (gtk_gs_goto_page), (gtk_gs_set_page_size),
5524 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
5525 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
5526 (gtk_gs_set_antialiasing), (ps_document_load),
5527 (ps_document_render):
5530 Another check point for the ps backend. Now I can get it to show
5533 Wed Dec 22 13:41:01 2004 Jonathan Blandford <jrb@redhat.com>
5535 * shell/ev-sidebar.c (ev_sidebar_set_document): initial sidebar
5536 document setting code.
5538 2004-12-22 Anders Carlsson <andersca@gnome.org>
5540 * shell/eggfindbar.c: (entry_activate_callback):
5541 Animate the next button when activate is pressed.
5543 2004-12-22 Anders Carlsson <andersca@gnome.org>
5545 * shell/ev-window.c: (ev_window_cmd_edit_find),
5546 (update_fullscreen_popup), (ev_window_fullscreen),
5547 (ev_window_unfullscreen), (ev_window_state_event_cb),
5548 (ev_window_focus_out_cb), (find_bar_close_cb), (ev_window_init):
5549 Fix bugs in fullscreen code.
5551 2004-12-22 Anders Carlsson <andersca@gnome.org>
5555 * pixbuf/Makefile.am:
5556 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
5557 (pixbuf_document_load), (pixbuf_document_get_n_pages),
5558 (pixbuf_document_set_page), (pixbuf_document_get_page),
5559 (pixbuf_document_set_target), (pixbuf_document_set_scale),
5560 (pixbuf_document_set_page_offset), (pixbuf_document_get_page_size),
5561 (pixbuf_document_render), (pixbuf_document_begin_find),
5562 (pixbuf_document_end_find), (pixbuf_document_finalize),
5563 (pixbuf_document_class_init),
5564 (pixbuf_document_document_iface_init), (pixbuf_document_init):
5565 * pixbuf/pixbuf-document.h:
5566 * shell/Makefile.am:
5567 * shell/ev-application.c: (ev_application_open):
5568 * shell/ev-window.c: (mime_type_supported_by_gdk_pixbuf),
5572 Tue Dec 21 21:45:43 2004 Soeren Sandmann <sandmann@redhat.com>
5575 * dvi/dvilib/Makefile.am:
5577 * configure.ac: Auto*ify dvi and dvi/dvilib
5579 * dvi/Makefile: Remove from CVS
5581 * dvi/dvilib/dl-pkfont.cc (unpack_bitmap): Fix uchar/uint
5584 * dvi/dvilib/dl-fontdefinition.{cc,hh}: New DviFontMap class
5586 * dvi/dvilib/dl-vffont.{cc,hh}: Many bugfixes to VF code.
5588 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
5591 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_finalize),
5592 (gtk_gs_value_adjustment_changed), (compute_size),
5593 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_new_from_file),
5594 (gtk_gs_center_page), (gtk_gs_load), (gtk_gs_set_page_size),
5595 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
5596 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
5597 (gtk_gs_start_scroll), (gtk_gs_get_postscript),
5598 (gtk_gs_set_adjustments), (gtk_gs_set_available_size),
5599 (ps_document_load), (ps_document_get_n_pages),
5600 (ps_document_set_page), (ps_document_get_page),
5601 (ps_document_set_target), (ps_document_set_scale),
5602 (ps_document_set_page_offset), (ps_document_get_page_size),
5603 (ps_document_render), (ps_document_begin_find),
5604 (ps_document_end_find), (ps_document_document_iface_init):
5606 * shell/Makefile.am:
5607 * shell/ev-window.c: (ev_window_open):
5609 Some work to integrate gtkgs with EvDocument
5611 2004-12-22 Anders Carlsson <andersca@gnome.org>
5613 * shell/ev-window.c: (update_fullscreen_popup),
5614 (screen_size_changed_cb), (destroy_exit_fullscreen_popup),
5615 (exit_fullscreen_button_clicked_cb),
5616 (fullscreen_popup_size_request_cb), (ev_window_fullscreen),
5617 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
5618 (ev_window_state_event_cb), (ev_window_init):
5619 Add fullscreen support from Epiphany.
5621 2004-12-22 Mark McLoughlin <mark@skynet.ie>
5623 * data/ev-stock-zoom-fit-width.png: fit-width
5624 stock icon from gpdf.
5626 * shell/ev-stock-icons.[ch]: copied from gpdf.
5628 * shell/main.c: (main): init stock icons.
5630 * shell/ev-window.c: use the fit-width icon.
5632 * data/evince-ui.xml: add zooming toolbar items.
5634 2004-12-22 Mark McLoughlin <mark@skynet.ie>
5637 (ev_view_best_fit), (ev_view_fit_width): because
5638 get_page_size() returns the scaled page size, we
5639 need to calculate the scale factor relative to
5640 the previous scale factor. Should really just
5641 add get_real_page_size().
5643 2004-12-22 Mark McLoughlin <mark@skynet.ie>
5645 * shell/ev-view.[ch]:
5646 (ev_view_zoom), (ev_view_zoom_in), (ev_view_zoom_out),
5647 (ev_view_normal_size), (ev_view_best_fit), (ev_view_fit_width):
5650 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
5651 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_normal_size),
5652 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width):
5655 * pdf/xpdf/pdf-document.cc:
5656 (pdf_document_begin_find),
5657 (pdf_document_end_find): make static.
5659 2004-12-22 Martin Kretzschmar <martink@gnome.org>
5661 * pdf/xpdf/GlobalParams.h (setupBaseFontsFc): add prototype.
5663 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): maps base font
5664 names to fontconfig patterns.
5665 (setupBaseFontsFc): setupBaseFonts reimplemented using fontconfig.
5667 * pdf/xpdf/pdf-document.cc (pdf_document_load): use
5670 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
5686 Import ggv backend. Not hooked up yet.
5688 2004-12-22 Mark McLoughlin <mark@skynet.ie>
5690 * shell/main.c: (load_files), (main): load files
5691 from the command line.
5693 2004-12-22 Mark McLoughlin <mark@skynet.ie>
5695 * configure.ac: don't require bonobo.
5697 * cut-n-paste/recent-files/*: kill bonobo recent
5700 * shell/ev-window.c:
5701 (ev_window_is_empty): upd.
5702 (unable_to_load), (ev_window_open): load backend
5703 based on the mime type.
5705 2004-12-22 Martin Kretzschmar <martink@gnome.org>
5707 * backend/.cvsignore: ignore generated marshalers source.
5709 * shell/main.c (main): this is not epiphany.
5711 2004-12-22 Havoc Pennington <hp@redhat.com>
5713 * shell/ev-view.c (ev_view_set_document): connect to "found" signal
5714 (expose_bin_window): draw find highlights
5716 * shell/ev-window.c (find_bar_search_changed_cb): implement
5718 * pdf/xpdf/pdf-document.cc (pdf_document_begin_find)
5719 (pdf_document_end_find): implement this interface
5721 * backend/ev-document.c (ev_document_found): add this to emit
5724 Tue Dec 21 23:57:37 2004 Owen Taylor <otaylor@redhat.com>
5726 * data/evince-ui.xml: Add a few more toolbar items.
5728 * shell/ev-window.c: Hook up page navigation toolbar
5731 * shell/ev-view.[ch]: add ev_view_set/get_page and
5732 a page-changed signal.
5734 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc::
5735 Add ev_document_get_page().
5737 * shell/ev-window.c: Sensitize/desensitize navigation
5740 2004-12-21 Havoc Pennington <hp@redhat.com>
5742 * backend/ev-backend-marshal.c,
5743 backend/ev-backend-marshalers.list, backend/Makefile.am: add
5744 marshaler-generator thingy. I'm sure there's a better way to do
5745 this in the modern world.
5747 * backend/ev-document.h (struct _EvDocumentIface): add begin_find,
5748 end_find methods and "found" signal.
5750 * configure.ac: find glib-genmarshal
5752 Tue Dec 21 23:20:35 2004 Jonathan Blandford <jrb@redhat.com>
5754 * shell/ev-sidebar.c: Construct an actual sidebar.
5755 * shell/ev-sidebar-bookmarks.[ch]:
5756 * shell/ev-sidebar-thumbnails.[ch]: Stub out sidebars.
5758 Tue Dec 21 23:05:51 2004 Owen Taylor <otaylor@redhat.com>
5760 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc:
5763 * shell/ev-view.c: Track the size from the document.
5765 Tue Dec 21 22:17:04 2004 Owen Taylor <otaylor@redhat.com>
5767 * pdf/xpdf/pdf-document.cc (pdf_document_load): PDFDoc
5768 constructor assumes ownership of the string passed in.
5770 * shell/ev-window.c (ev_window_open): Destroy the error
5771 dialog once we've displayed it.
5773 Tue Dec 21 21:58:56 2004 Owen Taylor <otaylor@redhat.com>
5775 * pdf/xpdf/pdf-document.cc shell/ev-view.c: Hook things up
5776 a bit, it works! (sort of)
5778 * pdf/xpdf/Makefile.am pdf/xpdf/pdf-document.cc:
5779 Move to .cc since we need to use C++ in the implementation.
5781 * shell/dummy.cc: Add a CC file to force evince
5782 to be linked as a C++ program.
5784 Tue Dec 21 21:07:55 2004 Owen Taylor <otaylor@redhat.com>
5786 * shell/ev-view.[ch]: Start of content-area widget.
5788 * shell/ev-window.c: Create a EvView, update it
5789 as we change documents.
5791 * shell/Makefile.am shell/ev-marshal.list: Add
5792 generated marshalers.
5794 Tue Dec 21 20:28:11 2004 Jonathan Blandford <jrb@redhat.com>
5796 * Makefile.am (SUBDIRS): move shell.
5798 Tue Dec 21 19:28:55 2004 Owen Taylor <otaylor@redhat.com>
5800 * pdf/{goo,fofi,splash,xpdf}/Makefile.am: Switch from
5801 .a to libtool convenience libraries.
5803 * shell/ev-window.c (ev_window_open): Hard code loading
5806 * backend/ev-document.h: Add a boolean return to load(),
5807 fix GError * to GError **.
5809 * pdf/xpdf/pdf-document.[ch] Makefile.am: Add a stub
5810 object for a PDF backend EvDocument.
5812 Tue Dec 21 18:55:06 2004 Søren Sandmann <sandmann@redhat.com>
5814 * dvi/*: New directory with the beginning of a .dvi backend.
5816 2004-12-21 Havoc Pennington <hp@redhat.com>
5818 * shell/eggfindbar.c (egg_find_bar_init): change buttons to
5819 previous/next instead of back/forward
5821 Tue Dec 21 18:26:24 2004 Owen Taylor <otaylor@redhat.com>
5823 * backend/ev-document.[ch]: Fix a couple of problems so
5826 Tue Dec 21 18:20:40 2004 Owen Taylor <otaylor@redhat.com>
5828 * viewer/* backend/* configure.ac Makefile.am: Move viewer directory
5829 to backend/ directory, rename EvViewer to EvDocument.
5831 2004-12-21 Havoc Pennington <hp@redhat.com>
5833 * shell/ev-window.c: hook up the find bar widget; now we just need
5834 a document to find things in
5836 * shell/eggfindbar.c: a find bar widget
5838 Tue Dec 21 17:20:16 2004 Jonathan Blandford <jrb@redhat.com>
5840 * shell/ev-sidebar.[ch]: initial sidebar boilerplate.
5842 Tue Dec 21 16:30:58 2004 Owen Taylor <otaylor@redhat.com>
5844 * pdf/**: Import of xpdf code from gpdf.
5846 * pdf/xpdf/xpdfconfig.h: Move the non-config.h config.h to xpdfconfig.h
5848 * pdf/splash/SplashFTFont.{cc,h} pdf/splash/SplashFTFont.h
5849 pdf/splash/SplashFTFontEngine.h pdf/splash/SplashFTFontFile.h:
5850 Fix FreeType includes.
5852 * pdf/xpdf/{Error.h GnomeVFSStream.cc ImageOutputDev.cc PDFDoc.cc\
5853 pdffonts.cc pdfimages.cc pdfinfo.cc pdftoppm.cc pdftops.cc
5854 pdftotext.cc PSOutputDev.cc PSOutputDev.h SplashOutputDev.h
5855 Stream.cc TextOutputDev.cc XPDFApp.cc xpdf.cc XPDFViewer.cc
5856 pdf/xpdf/Error.h PSOutputDev.h SplashOutputDev.h}:
5857 Include xpdfconfig.h
5859 Tue Dec 21 16:08:17 2004 Jonathan Blandford <jrb@redhat.com>
5861 * shell/ev-window.c (ev_window_dispose): dispose can be called
5864 2004-12-21 Havoc Pennington <hp@redhat.com>
5866 * shell/ev-window.c (ev_window_init): set title to Document Viewer
5869 * data/evince-ui.xml, shell/ev-window.c: add a bunch of stub menu
5870 items; really they should be synced with the strings, etc. from
5871 current gpdf, but just getting the boring typing out of the way
5873 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
5876 * shell/ev-application.c: (window_destroy_cb):
5877 * shell/ev-window.c:
5878 * shell/main.c: (main):
5880 Actually show the window...
5882 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
5885 * shell/Makefile.am:
5886 * shell/ev-application.c: (ev_application_class_init):
5887 * shell/ev-window.c: (ev_window_dispose), (ev_window_class_init):
5891 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
5893 Import to gnome cvs.
5895 * Remove copies of gpdf and ggv trees.
5896 * Rip out all the recursive configure code.
5897 * Remove bonobo machinery.
5898 * viewer/*: GInterfaces that backends should/can implement.
5900 2004-11-09 Martin Kretzschmar <m_kretzschmar@gmx.net>
5902 * shell/ev-window.c (ev_window_cmd_help_about): fix "documentors"
5905 2004-10-28 Martin Kretzschmar <m_kretzschmar@gmx.net>
5907 * shell/ev-application.c (EV_APPLICATION_GET_PRIVATE)
5908 (ev_application_finalize, ev_application_class_init)
5909 (ev_application_init): use GType instance private data for priv.
5911 * shell/ev-window.c (EV_WINDOW_GET_PRIVATE)
5912 (ev_window_finalize, ev_window_class_init)
5913 (ev_window_init): ditto.
5915 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
5917 * shell/ev-application.c (ev_application_new_window): make public
5918 (ev_application_show_initial_window): kill.
5920 * shell/ev-application.h: update prototypes.
5922 * shell/main.cc (main): inline ev_application_show_initial_window.
5924 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
5926 * shell/ev-application.c (ev_application_new_window): impl.
5927 (ev_application_show_initial_window): use it.
5928 (is_window_empty, ev_application_get_empty_window): returns an
5929 existing empty window or a new one.
5930 (ev_application_open): from ev_window_cmd_file_open.
5932 * shell/ev-application.h: update prototypes
5934 * shell/ev-window.c (ev_window_is_empty): impl.
5935 (ev_window_open): make public.
5936 (ev_window_cmd_file_open): use ev_application_open
5938 * shell/ev-window.h: update prototypes, remove unused.
5940 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
5942 * shell/ev-window.c (ev_window_destroy, ev_window_class_init):
5943 move destroy handler out of here...
5945 * shell/ev-application.c, shell/ev-application.h: ...into this new
5946 class. Also handles initial window creation.
5948 * shell/main.cc (main): use EvApplication to create initial
5951 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
5953 * Makefile.am (SUBDIRS): add cut-n-paste
5955 * cut-n-paste/Makefile.am: add
5957 * configure.ac: generate Makefiles in cut-n-paste
5959 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
5961 * shell/ev-window.c (ev_window_dispose): new, unref the ui_manager
5962 (ev_window_class_init): install ev_window_dispose.
5964 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
5966 * shell/ev-window.h, shell/ev-window.c: replace gchar with
5967 char (gchar looks stupid).
5969 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
5971 * po/de.po: updated German translation.
5973 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
5975 * configure.ac: add more pkg-config library checks for gnome-vfs,
5978 * gpdf/configure.in: temporarily disable libpaper
5979 checks. Otherwise I'd have to add the checks for the shell, too.
5981 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
5983 * shell/ev-window.c (ev_window_cmd_file_open): add ps+pdf, ps, pdf
5984 and * file filters to the file choose.
5986 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
5988 * po/de.po: Updated German translation.
5990 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
5992 * shell/ev-window.c: use "S" as mnemonic for Statusbar.
5994 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
5996 * data/evince-ui.xml: add View->Toolbar and View->Statusbar.
5998 * shell/ev-window.c (menu_item_select_cb, menu_item_select_cb)
5999 (ev_window_init): implement those menuitems.
6001 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6003 * data/evince-ui.xml: add a toolbar (with FileOpen action)
6005 * shell/ev-window.c (ev_window_init): use the toolbar.
6007 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6009 * shell/ev-window.c (ev_window_init): use menu translations
6011 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6013 * configure.ac: add "de" to ALL_LINGUAS.
6015 * po/de.po: add German translation.
6017 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6019 * Makefile.am (SUBDIRS): add po
6021 * configure.ac: check intltool, glib-gettext etc, generate
6024 * po, po/POTFILES.in, po/POTFILES.skip: new.
6026 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6028 * shell/Makefile.am (INCLUDES): define GNOMELOCALEDIR which we
6029 already use (#ifdef ENABLE_NLS)
6031 * shell/ev-window.c (ev_window_cmd_help_about): fix two star
6032 pointer indirection thinko.
6034 * shell/main.c: include gi18n.h for bindtextdomain etc.
6036 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6038 * shell/ev-window.c (menu_item_select_cb, menu_item_deselect_cb)
6039 (connect_proxy_cb, disconnect_proxy_cb, ev_window_init): show
6040 tooltips for menu items in the statusbar.
6042 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6044 * configure.ac, data/Makefile.am, shell/Makefile.am: use
6045 pkgdatadir drop UIDIR
6047 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6049 * data/evince-ui.xml: Add File->Open menu item
6051 * shell/ev-window.c (ev_window_cmd_file_open): impl. (shows a file
6052 chooser), hook it up in the ui manager.
6054 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6056 * shell/ev-window.c: fix Help->About tooltip.
6058 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6060 * configure.ac: set CFLAGS for libevprivate.
6062 * lib/ev-stock-icons.h, lib/ev-stock-icons.c: stock icon
6063 definitions, factory etc.
6065 * lib/Makefile.am: build libevprivate.a (only stock icon code).
6067 * shell/Makefile.am: link against libevprivate.a.
6069 * shell/ev-window.c (entries): add stock icon to Help->About.
6071 * shell/main.c (main): init stock icon code.
6073 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6075 * lib/recent-files: egg recent files code
6077 * lib/Makefile.am: add.
6079 * Makefile.am: add lib subdir.
6081 * configure.ac: gen. lib/Makefile and lib/recent-files/Makefile,
6082 set CFLAGS for recent-files.
6084 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6086 * configure.ac: disable -ansi and -pedantic gcc flags. They
6087 disable POSIX stuff in stdio.h, but egg-recent uses them.
6089 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6091 * configure.ac: add --disable-deprecated flag (defaults to on in
6094 * shell/Makefile.am (INCLUDES): use it.
6096 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6098 * shell/main.c: add missing #include.
6100 * shell/ev-window.c: fix for pedantic gcc.
6101 (ev_window_cmd_help_about): split license into paragraphs for
6102 translators and pedantic compilers.
6104 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6106 * configure.ac: add more warning flags if compiling with gcc from
6107 cvs (or explicitly requested with --enable-more-warnings).
6109 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6111 * data/evince-ui.xml: add File and File->Close menu.
6113 * shell/ev-window.c (ev_window_cmd_file_close_window): impl.
6114 (ev_window_destroy): quit after destroy.
6115 (ev_window_class_init): override GtkObject::destroy.
6116 (entries): install close_window callback.
6118 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6120 * Makefile.am (SUBDIRS): add data subdir.
6122 * configure.ac (UIDIR): gen data/Makefile, define UIDIR. Require
6123 gtk+ 2.5.0 for GtkAboutDialog.
6125 * data/Makefile.am, data/evince-ui.xml: add, ui definition for the
6128 * shell/Makefile.am (INCLUDES): propagate UIDIR definition.
6130 * shell/ev-window.c (ev_window_init): create a menubar, using a ui
6132 (ev_window_cmd_help_about): about command, using GtkAboutDialog.
6134 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6136 * shell/ev-window.c, shell/ev-window.h: Created an EvWindow class.
6138 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
6140 * shell/main.c: make it a trivial gtk+ program, adjust configure.ac
6142 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
6144 * shell/*: Added shell directory boilerplate, build it.
6146 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
6148 * configure.ac, Makefile.am: Added top-level configure.ac and