1 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
5 Use F5 as presentation accell
7 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
9 * shell/ev-window.c: (update_chrome_visibility),
10 (ev_window_create_fullscreen_popup), (ev_window_init):
12 Do not leak the fullscreen toolbar
14 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
16 * shell/ev-window.c: (view_actions_focus_in_cb),
17 (view_actions_focus_out_cb):
19 These has a return value! Fix totally random focus
22 2005-07-11 Carlos Garcia Campos <carlosgc@gnome.org>
24 * shell/main.c: (load_files_remote):
26 Allow open more than one file
28 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
30 * shell/main.c: (load_files_remote):
32 Fix for dbus 0.33. bug #309975
34 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
36 * properties/ev-properties-main.c: (ev_properties_get_pages):
38 Actually return NULL for types we dont support
40 2005-07-08 Christian Persch <chpe@cvs.gnome.org>
46 2005-07-08 Marco Pesenti Gritti <marco@gnome.org>
48 * backend/ev-document-factory.c:
49 (ev_document_factory_get_document):
51 Do not try to create the object if type
54 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
56 * ps/ps-document.c: (ps_document_dispose),
57 (ps_async_renderer_render_pixbuf):
60 Do not leak the target window
62 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
64 * shell/ev-application.c: (ev_application_init):
66 Let tbe check file existence for us.
67 Add a comment about eggrecent mime filter.
69 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
72 * shell/ev-application.c: (ev_application_shutdown),
73 (ev_application_init), (ev_application_get_toolbars_model),
74 (ev_application_get_recent_model),
75 (ev_application_save_toolbars_model):
76 * shell/ev-application.h:
77 * shell/ev-window.c: (ev_window_add_recent),
78 (ev_window_setup_recent), (ev_window_cmd_edit_toolbar_cb),
79 (ev_window_cmd_edit_toolbar), (ev_window_dispose),
82 Use common toolbar and recent models for all windows.
83 Patch by Nickolay V. Shmyrev <nshmyrev@yandex.ru>
85 Thu Jul 7 23:10:01 2005 Jonathan Blandford <jrb@redhat.com>
87 * configure.ac: add FRONTEND_CORE_LIBS to evince_save_LIBS so we
88 successfully check for gtk_icon_view_get_visible_range.
90 2005-07-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
95 Fix djvu and dvi backend build.
97 2005-07-07 Christian Persch <chpe@cvs.gnome.org>
99 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c: (new_pixbuf_from_widget),
100 (new_separator_pixbuf):
104 2005-07-07 Christian Persch <chpe@cvs.gnome.org>
106 * shell/ev-window.c: (ev_window_cmd_edit_toolbar):
108 HIGification of toolbar editor dialogue.
110 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
115 Ever build metadata manager since it's just
116 disabled at runtime now.
118 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
120 * shell/ev-metadata-manager.c: (ev_metadata_manager_init),
121 (ev_metadata_manager_get), (ev_metadata_manager_set):
122 * shell/ev-metadata-manager.h:
124 Add an _init functions that enabled metadata management
127 * shell/ev-window.c: (page_changed_cb),
128 (setup_document_from_metadata), (ev_window_setup_document),
129 (setup_view_from_metadata), (ev_window_open_uri),
130 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
131 (ev_window_run_presentation), (ev_window_stop_presentation),
132 (save_sizing_mode), (ev_window_zoom_changed_cb),
133 (ev_window_continuous_changed_cb),
134 (ev_window_dual_mode_changed_cb), (window_state_event_cb),
135 (window_configure_event_cb):
137 Remove all ugly metadata define since we deal with it
140 * shell/main.c: (load_files_remote), (main):
142 Add support for dbus cvs head. Hopefully didnt break one
143 of the other versions now!
145 If we dont get a response from the dbus server just
146 give up with it and not enable metadata.
148 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
151 * backend/Makefile.am:
153 * cut-n-paste/recent-files/Makefile.am:
154 * cut-n-paste/toolbar-editor/Makefile.am:
155 * cut-n-paste/zoom-control/Makefile.am:
158 * pixbuf/Makefile.am:
159 * properties/Makefile.am:
162 * thumbnailer/Makefile.am:
165 Make frontends depend on just libev.
166 Rework and group CFLAGS/LIBS definitions.
169 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
173 do not unnecessarily save zoom
176 * lib/ev-file-helpers.c: (ev_dot_dir):
182 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
186 Remove unnecessary dependencies
188 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
190 * properties/Makefile.am:
191 * thumbnailer/Makefile.am:
194 Some more cleanups. Was really necessary
195 but I probably introduced bugs, feel free
198 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
200 * backend/Makefile.am:
202 * cut-n-paste/recent-files/Makefile.am:
203 * cut-n-paste/toolbar-editor/Makefile.am:
204 * cut-n-paste/zoom-control/Makefile.am:
207 * pixbuf/Makefile.am:
208 * properties/Makefile.am:
211 * thumbnailer/Makefile.am:
214 Use gnome-common macros when possible.
215 Cleanup dependencies.
216 Actually disable deprecated where possible.
218 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
221 * backend/Makefile.am:
222 * properties/Makefile.am:
224 * thumbnailer/Makefile.am:
226 This should solve the circular dep without
229 * shell/ev-window.c: (setup_view_from_metadata):
231 Never restore window size/position when the
232 window is already visible.
234 2005-07-06 Christian Persch <chpe@cvs.gnome.org>
236 * shell/ev-metadata-manager.c: (ev_metadata_manager_save):
238 Return a boolean from timeout func. Fix ported from gedit.
240 2005-07-07 Iñaki Larrañaga <dooteo@euskalgnu.org>
242 * configure.ac: Added "eu" (Basque) to ALL_LINGUAS.
244 2005-07-06 Carlos Garcia Campos <carlosgc@gnome.org>
246 * shell/ev-document-types.c: set "All Documents" as default filter in
249 2005-07-06 Martin Kretzschmar <martink@gnome.org>
251 * shell/ev-metadata-manager.c (ev_metadata_manager_set_int)
252 (ev_metadata_manager_set_double, ev_metadata_manager_set_string)
253 (ev_metadata_manager_set_boolean): fix value/val thinko.
255 2005-07-06 Marco Pesenti Gritti <mpg@redhat.com>
257 * shell/ev-window.c: (setup_view_from_metadata),
258 (window_state_event_cb), (window_configure_event_cb),
261 Remember window position and maximized state
263 2005-07-06 Christian Persch <chpe@cvs.gnome.org>
267 Fix DBUS configure checks.
269 * shell/ev-metadata-manager.c: (ev_metadata_manager_set_int),
270 (ev_metadata_manager_set_double), (ev_metadata_manager_set_string),
271 (ev_metadata_manager_set_boolean):
275 * shell/ev-window.c: (page_changed_cb), (ev_window_run_fullscreen),
276 (ev_window_stop_fullscreen), (ev_window_run_presentation),
277 (ev_window_stop_presentation), (ev_window_zoom_changed_cb),
278 (ev_window_continuous_changed_cb),
279 (ev_window_dual_mode_changed_cb), (ev_window_new):
281 Fix the build without DBUS.
283 2005-07-06 Marco Pesenti Gritti <mpg@redhat.com>
285 * shell/ev-metadata-manager.c: (parse_value), (save_values),
286 (ev_metadata_manager_set_int), (ev_metadata_manager_set_double),
287 (ev_metadata_manager_set_string),
288 (ev_metadata_manager_set_boolean):
289 * shell/ev-metadata-manager.h:
291 Add support for some more types
293 * shell/ev-view.c: (scroll_to_current_page),
294 (ev_view_get_continuous), (ev_view_set_continuous),
295 (ev_view_get_dual_page):
297 * shell/ev-window.c: (page_changed_cb),
298 (setup_document_from_metadata), (ev_window_setup_document),
299 (setup_view_from_metadata), (ev_window_open_uri),
300 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
301 (ev_window_run_presentation), (ev_window_stop_presentation),
302 (save_sizing_mode), (ev_window_sizing_mode_changed_cb),
303 (ev_window_zoom_changed_cb), (ev_window_update_continuous_action),
304 (ev_window_update_dual_page_action),
305 (ev_window_continuous_changed_cb),
306 (ev_window_dual_mode_changed_cb), (ev_window_init):
308 Remember a bunch of view/document properties. Prolly some
309 are still missing but it's getting interesting.
311 2005-07-05 Martin Kretzschmar <martink@gnome.org>
313 * configure.ac: check if dbus-binding-tool is installed. Not the
314 case on current Ubuntu breezy, it seems.
316 2005-07-05 Luca Ferretti <elle.uca@libero.it>
318 * data/evince.desktop.in.in:
320 Allow open uri lists and add TryExec field.
322 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
326 Enable dbus when available, do not require a configure
329 2005-07-05 Christian Persch <chpe@cvs.gnome.org>
333 Use AM_CONDITIONAL unconditionally, fixes the build with DBUS
336 2005-07-05 Carlos Garcia Campos <carlosgc@gnome.org>
337 Marco Pesenti Gritti <mpg@redhat.com>
339 * shell/Makefile.am: Add --prefix for dbus-binding-tool script
341 * shell/ev-application.[ch], shell/ev-window.c: change dbus RPC
342 functions to the format required by dbus
344 * shell/main.c: use G_TYPE instead of DBUS_TYPE to fix compilation
345 errors. Use the RPC parameters in the expected way
347 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
350 * properties/Makefile.am:
351 * properties/ev-properties-main.c: (ev_properties_get_pages):
353 Support all mime types
356 * thumbnailer/Makefile.am:
357 * thumbnailer/evince-thumbnailer.c: (get_document_from_uri),
358 (evince_thumbnail_pngenc_get):
360 Use the document factory
362 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
364 * backend/Makefile.am:
365 * backend/ev-document-factory.c:
366 (mime_type_supported_by_gdk_pixbuf),
367 (ev_document_type_get_from_mime),
368 (ev_document_factory_get_document),
369 (ev_document_factory_get_backend),
370 (ev_document_factory_get_mime_types),
371 (ev_document_factory_get_all_mime_types):
372 * backend/ev-document-factory.h:
374 * shell/ev-document-types.c: (get_document_from_uri),
375 (ev_document_types_get_document),
376 (file_filter_add_mime_list_and_free),
377 (ev_document_types_add_filters):
378 * shell/ev-document-types.h:
379 * shell/ev-job-xfer.c: (ev_job_xfer_run):
380 * shell/ev-properties-dialog.c:
381 (ev_properties_dialog_set_document):
382 * shell/ev-window.c: (ev_window_cmd_file_open),
383 (ev_window_cmd_save_as):
384 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
386 Rework document types managing to avoid code duplication
387 and actually abstract from backend implementations.
388 Also provide a minimal factory api that can be used by
389 thumbnailer/properties.
391 2005-07-05 Christian Persch <chpe@cvs.gnome.org>
393 * properties/ev-properties-view.c: (ev_properties_view_set_info):
395 * shell/ev-properties-dialog.c: (ev_properties_dialog_init):
398 2005-07-04 Matthew S. Wilson <msw@rpath.com>
400 * shell/ev-properties-dialog.c
401 (ev_properties_dialog_set_document): only call
402 ev_properties_fonts_set_document() if the document implements the
405 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
408 * properties/Makefile.am:
409 * properties/ev-properties-view.c:
410 (ev_properties_view_register_type):
411 * properties/ev-properties-view.h:
412 * properties/ev-properties-main.h:
414 Implement nautilus plugin for properties.
415 Works only for pdf atm, I need to rework the
416 document types stuff to get this to work
419 2005-07-04 Martin Kretzschmar <martink@gnome.org>
421 * shell/ev-properties-fonts.c (enum): kill redundant columns enum
422 (ev_properties_fonts_set_document): use
423 EV_DOCUMENT_FONTS_COLUMN_NUM_COLUMNS.
425 2005-07-04 Matthew S. Wilson <msw@rpath.com>
427 * tiff/tiff2ps.c: remove TRUE and FALSE definitions, glib provides
429 (PlaceImage, tiff2ps_process_page): use
430 g_ascii_dtostr to convert floats to strings in a locale-safe way.
433 2005-07-04 Martin Kretzschmar <martink@gnome.org>
435 * shell/main.c: include libgnomeui/gnome-authentication-manager.h
436 (main): to call gnome_authentication_manager_init. Should fix
439 * configure.ac: that requires libgnomeui 2.6.0.
441 2005-07-04 Matthew S. Wilson <msw@rpath.com>
443 * tiff/tiff-document.c (tiff_document_ps_export_begin)
444 (tiff_document_ps_export_do_page, tiff_document_ps_export_end):
445 use the new tiff2ps interfaces
447 * tiff/tiff2ps.h (tiff2ps_context_new, tiff2ps_process_page)
448 (tiff2ps_context_finalize): implement new interfaces for tiff2ps
450 * tiff/tiff2ps.c: refactor tiff2ps code to use a context
451 structure instead of global variables. Remove use of static
452 variables in functions.
454 2005-07-04 Carlos Garcia Campos <carlosgc@gnome.org>
456 * shell/ev-page-action.c: unref the completion after setting it to the
459 2005-07-04 Matthew S. Wilson <msw@rpath.com>
461 * tiff/tiff2ps.c (generateEPSF): disable generating encapsulated
464 2005-07-04 Matthew S. Wilson <msw@rpath.com>
466 * shell/ev-window.c (update_action_sensitivity): disable
467 File->Print if the document does not implement the ps exporter
470 2005-07-04 Marco Pesenti Gritti <mpg@redhat.com>
474 * data/evince-properties.glade:
475 * properties/.cvsignore:
476 * properties/Makefile.am:
477 * properties/ev-properties-view.c: (ev_properties_view_dispose),
478 (ev_properties_view_class_init), (ev_properties_view_format_date),
479 (make_valid_utf8), (set_property), (ev_properties_view_set_info),
480 (ev_properties_view_init), (ev_properties_view_new):
481 * properties/ev-properties-view.h:
483 * shell/ev-properties-dialog.c: (ev_properties_dialog_class_init),
484 (ev_properties_dialog_init), (ev_properties_dialog_set_document),
485 (ev_properties_dialog_new):
486 * shell/ev-properties-dialog.h:
487 * shell/ev-properties-fonts.c: (ev_properties_fonts_dispose),
488 (ev_properties_fonts_class_init), (ev_properties_fonts_init),
489 (update_progress_label), (job_fonts_finished_cb),
490 (ev_properties_fonts_set_document), (ev_properties_fonts_new):
491 * shell/ev-properties-fonts.h:
492 * shell/ev-properties.c:
493 * shell/ev-properties.h:
494 * shell/ev-window.c: (ev_window_setup_document),
495 (ev_window_cmd_file_properties):
497 Split the properties pages in two different objects, depend
498 only on the backend where possible, use widgets instead
499 of gobject for the glade part, reimplement the dialog
501 I need this to implement nautilus properties page.
503 2005-07-03 Matthew S. Wilson <msw@rpath.com>
505 * tiff/tiff-document.c (tiff_document_ps_export_begin)
506 (tiff_document_ps_export_do_page, tiff_document_ps_export_end)
507 (tiff_document_document_ps_exporter_iface_init): implement the ps
508 exporter interface for tiff documents
510 * tiff/tiff2ps.c: added a modified version of tiff2ps.c from
511 libtiff to implement TIFF postscript export
513 * tiff/tiff2ps.h: added a header file for external tiff2ps
516 * tiff/Makefile.am (libtiffdocument_la_SOURCES): add tiff2ps.c and
519 2005-07-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
521 * shell/ev-view.c: (scroll_to_current_page),
522 (ev_view_set_fullscreen), (ev_view_set_presentation):
524 Scroll to current page when exit from presentation
526 2005-07-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
528 * shell/ev-window.c: (update_document_mode),
529 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
530 (ev_window_cmd_view_fullscreen), (ev_window_stop_presentation),
531 (ev_window_cmd_view_presentation), (ev_window_cmd_escape):
533 Exit from fullscreen mode when switch to presentation. Fix for
536 2005-07-02 Matthew S. Wilson <msw@rpath.com>
538 * shell/ev-pixbuf-cache.c (ev_pixbuf_cache_get_selection_pixbuf):
539 return NULL if the document does not implement the selection
542 2005-07-02 Matthew S. Wilson <msw@rpath.com>
544 * tiff/tiff-document.c (tiff_document_get_page_size): scale the
545 reported height by using the resolution aspect ratio
546 (tiff_document_render_pixbuf): scale the pixbuf using the
547 resolution aspect ratio
549 2005-07-01 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
553 Require libgnomeprint >= 2.5.1. Thanks to Colin Slater
554 <kiltedaco@gmail.com>
556 * djvu/djvu-document.c: (djvu_document_get_orientation),
557 (djvu_document_set_orientation), (djvu_document_get_page_size),
558 (rotate_pixbuf), (djvu_document_render_pixbuf),
559 (djvu_document_document_iface_init):
560 * dvi/dvi-document.c: (dvi_document_get_orientation),
561 (dvi_document_set_orientation), (dvi_document_get_page_size),
562 (rotate_pixbuf), (dvi_document_render_pixbuf),
563 (dvi_document_document_iface_init):
565 Dvi and djvu backends are ported to new API
567 Fri Jul 1 00:10:15 2005 Jonathan Blandford <jrb@redhat.com>
569 * backend/ev-selection.c: (ev_selection_get_selection_region),
570 (ev_selection_get_selection_map):
571 * backend/ev-selection.h:
573 * shell/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
575 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info),
576 (job_finished_cb), (copy_job_to_job_info), (add_job_if_needed),
577 (ev_pixbuf_cache_get_text_mapping):
578 * shell/ev-pixbuf-cache.h:
579 * shell/ev-view.c: (location_in_text),
580 (ev_view_motion_notify_event), (ev_view_set_cursor): Add I-Beam
581 support to EvView. Now we can see where we can select! Sweet!
583 2005-06-30 Kristian Høgsberg <krh@redhat.com>
585 * shell/ev-view.c (ev_view_button_press_event): Fix
586 event->y + view->scroll_x typo.
588 2005-06-30 Kristian Høgsberg <krh@redhat.com>
590 * pdf/ev-poppler.cc: Adjust to poppler API changes; use a
591 sub-GdkPixbuf instead of passing dest_x and dest_y.
593 * shell/ev-view.c: (view_point_to_doc_point),
594 (view_rect_to_doc_rect), (ev_view_button_press_event),
595 (ev_view_motion_notify_event), (compute_new_selection_rect),
596 (gdk_rectangle_point_in), (compute_new_selection_text),
597 (compute_selections): Update selection code to keep the selection
598 around as two points and not as a normalized rectangle, and fix
599 page level selection in two-column mode.
601 2005-06-30 Alex Duggan <aldug@astrolinux.com>
603 * shell/ev-window.c: (window_configure_event_cb):
607 2005-06-30 Marco Pesenti Gritti <mpg@redhat.com>
613 2005-06-30 Marco Pesenti Gritti <mpg@redhat.com>
616 * shell/ev-metadata-manager.c: (item_free),
617 (ev_metadata_manager_init), (ev_metadata_manager_shutdown),
618 (parse_value), (parseItem), (load_values),
619 (ev_metadata_manager_get), (value_free), (ev_metadata_manager_set),
620 (save_values), (save_item), (get_oldest), (resize_items),
621 (ev_metadata_manager_save), (ev_metadata_manager_set_int):
622 * shell/ev-metadata-manager.h:
624 Metadata manager from gedit but modified to use GValue, so that
625 we dont need to keep converting from strings.
629 ENABLE_METADATA conditional, on when dbus is on
631 * shell/ev-application.c: (ev_application_open_uri):
633 Show the window after load so that we can initialize
634 window size before it's showed.
636 * shell/ev-window.c: (ev_window_setup_from_metadata),
637 (ev_window_open_uri), (window_configure_event_cb),
640 Save and load metadata information about window size.
641 Not yet keeping states in account.
643 * shell/main.c: (main):
645 Shutdown metadata manager.
647 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
649 * shell/ev-application-service.xml:
652 * shell/ev-application.c:
653 * shell/ev-application.h:
658 Add an optional dbus interface (--enable-dbus).
659 Rework application code, mainly to be easier to
661 Do not open multiple windows with the same document,
664 Thu Jun 30 01:50:14 2005 Jonathan Blandford <jrb@redhat.com>
666 * shell/ev-pixbuf-cache.c (clear_selection_if_needed): unref the
667 pixbuf iff it exists.
669 Thu Jun 30 01:43:00 2005 Jonathan Blandford <jrb@redhat.com>
672 * backend/ev-render-context.[ch]:
673 * backend/ev-selection.[ch]:
675 Massive changes. We now support text selection of pdfs, and not
676 just rectangular selection. This is pretty broken still, but I
677 want to get something into CVS.
679 2005-06-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
683 Fix for Bug 309080: crash on window close.
685 * shell/ev-page-action.c: (page_changed_cb):
687 Fix for Bug 309168: Fix build with gcc 2.95. Thanks to
688 jensgr@gmx.net (Jens Granseuer).
690 2005-06-25 Marcel Telka <marcel@telka.sk>
692 * configure.in (ALL_LINGUAS): Added sk.
694 2005-06-24 Carlos Garcia Campos <carlosgc@gnome.org>
696 * shell/ev-window.c: Make rotate menu entries unsensitive if there is
699 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
706 * cut-n-paste/recent-files/Makefile.am:
710 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
712 * pixbuf/pixbuf-document.c: (pixbuf_document_get_orientation),
713 (pixbuf_document_set_orientation), (rotate_pixbuf),
714 (pixbuf_document_get_page_size), (pixbuf_document_render_pixbuf),
715 (pixbuf_document_document_iface_init), (pixbuf_document_init):
717 Implement rotation and cleanup the code a bit.
719 * tiff/tiff-document.c: (tiff_document_get_page_size),
720 (tiff_document_get_orientation), (tiff_document_set_orientation),
721 (rotate_pixbuf), (tiff_document_render_pixbuf),
722 (tiff_document_document_iface_init), (tiff_document_init):
724 Implement rotation. Was the quicker solution for the release
725 but we really need to share this code in the shell.
727 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
731 Enable rotation, require poppler cvs. Fix a leak.
733 2005-06-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
735 * shell/ev-window.c: (update_action_sensitivity):
737 Make properties unsensitive if document backend doesn't provide
740 2005-06-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
742 * dvi/mdvi-lib/bitmap.c: (bitmap_alloc), (bitmap_alloc_raw),
743 (bitmap_flip_horizontally), (bitmap_flip_vertically),
744 (bitmap_flip_diagonally), (bitmap_rotate_clockwise),
745 (bitmap_rotate_counter_clockwise), (bitmap_flip_rotate_clockwise),
746 (bitmap_flip_rotate_counter_clockwise):
747 * dvi/mdvi-lib/color.c: (mdvi_push_color), (get_color_table):
748 * dvi/mdvi-lib/common.c: (read_string), (buff_free), (buff_add),
750 * dvi/mdvi-lib/common.h:
751 * dvi/mdvi-lib/dvimisc.c: (mdvi_push_color):
752 * dvi/mdvi-lib/dviread.c: (get_bytes), (dreset), (define_font),
753 (opendvi), (mdvi_reload), (mdvi_init_context),
754 (mdvi_destroy_context), (mdvi_dopage), (special):
755 * dvi/mdvi-lib/font.c: (font_drop_one), (font_free_unused):
756 * dvi/mdvi-lib/fontmap.c: (read_encoding), (destroy_encoding),
757 (file_hash_free), (register_encoding), (parse_spec),
758 (mdvi_load_fontmap), (free_ent), (mdvi_init_fontmaps),
759 (mdvi_add_fontmap_file), (mdvi_ps_read_fontmap),
760 (mdvi_ps_flush_fonts), (mdvi_ps_find_font), (mdvi_ps_get_metrics):
761 * dvi/mdvi-lib/fontsrch.c: (mdvi_list_font_class),
762 (mdvi_register_font_type), (mdvi_unregister_font_type),
763 (lookup_font), (mdvi_add_font), (mdvi_font_retry):
764 * dvi/mdvi-lib/gf.c: (gf_read_bitmap), (gf_load_font):
765 * dvi/mdvi-lib/hash.c: (mdvi_hash_remove), (mdvi_hash_remove_ptr),
766 (mdvi_hash_destroy_key), (mdvi_hash_reset):
767 * dvi/mdvi-lib/pagesel.c: (mdvi_parse_range),
768 (mdvi_parse_page_spec), (mdvi_free_page_spec), (main):
769 * dvi/mdvi-lib/paper.c: (mdvi_free_paper_specs):
770 * dvi/mdvi-lib/pk.c: (pk_lookup), (pk_lookupn), (pk_load_font):
771 * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
772 * dvi/mdvi-lib/special.c: (mdvi_register_special),
773 (mdvi_unregister_special), (mdvi_flush_specials):
774 * dvi/mdvi-lib/t1.c: (t1_lookup_font), (t1_really_load_font),
776 * dvi/mdvi-lib/tfm.c: (get_tfm_chars):
777 * dvi/mdvi-lib/tfmfile.c: (afm_load_file), (tfm_load_file),
778 (ofm1_load_file), (ofm_load_file), (get_font_metrics),
779 (free_font_metrics), (flush_font_metrics):
780 * dvi/mdvi-lib/tt.c: (tt_really_load_font), (tt_get_bitmap),
782 * dvi/mdvi-lib/util.c: (mdvi_malloc), (mdvi_realloc),
783 (mdvi_calloc), (mdvi_free), (mdvi_strdup), (mdvi_strncpy),
784 (mdvi_strndup), (mdvi_memdup), (xstradd), (dstring_append),
785 (dstring_insert), (dstring_new), (dstring_reset):
786 * dvi/mdvi-lib/vf.c: (vf_load_font), (vf_free_macros):
788 Rename xmalloc and xfree to mdvi_malloc and mdvi_free to
789 avoid conflict with libtool on FC4
791 * shell/ev-window.c: (ev_window_cmd_help_about):
793 Update copyright year. Fix for bug 308828.
795 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
797 * shell/ev-view.c: (add_scroll_binding_keypad),
798 (ev_view_binding_activated), (ev_view_class_init),
799 (on_adjustment_value_changed):
801 Bug 170874: Arrow keys switch pages in presentation mode
803 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
805 * shell/ev-window.c: (ev_window_sidebar_visibility_changed_cb):
807 Fix for Bug 308265: Sidebar dissappears coming out of
810 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
812 * shell/ev-application.c: (ev_application_open):
813 * shell/ev-document-types.c: (ev_document_types_add_filters),
814 (ev_document_types_add_filters_for_type):
815 * shell/ev-document-types.h:
816 * shell/ev-window.c: (ev_window_cmd_save_as):
818 Suggest basename as template when saving, provide filters
819 for save dialog. It's bug 308402
821 2005-06-20 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
824 * shell/ev-sidebar-links.c: (job_finished_callback):
825 * shell/ev-view.c: (update_find_status_message):
829 2005-06-19 Christian Persch <chpe@cvs.gnome.org>
831 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
832 (egg_recent_view_uimanager_set_list):
834 Fix buglet in !show_numbers case.
836 2005-06-19 Christian Persch <chpe@cvs.gnome.org>
838 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
839 (connect_proxy_cb), (egg_recent_view_uimanager_set_list):
841 Use pango ellipsisation.
845 Fix refcount leak, from nsh.
847 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
849 * cut-n-paste/recent-files/Makefile.am:
850 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
851 * cut-n-paste/recent-files/egg-recent-view-gtk.h:
853 Removed EggRecentViewGtk
855 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
856 * cut-n-paste/recent-files/egg-recent-view-uimanager.h:
857 * shell/ev-window.c: (ev_window_cmd_recent_file_activate),
858 (ev_window_setup_recent):
860 Use ViewUIManager instead of ViewGtk. Less leaks, more compatibility
863 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
865 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
866 (egg_recent_view_gtk_finalize):
870 * cut-n-paste/toolbar-editor/Makefile.am:
872 Fix location of cursor icon.
875 * shell/ev-page-action.c: (build_new_tree_cb), (match_selected_cb),
876 (display_completion_text), (match_completion):
877 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
878 (selection_changed_callback), (create_loading_model),
879 (print_section_cb), (links_page_num_func),
880 (update_page_callback_foreach):
881 * shell/ev-window.c: (ev_window_dispose):
883 Small memory fixes. Links model now store objects instead
884 of pointers to improve memory management.
886 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
888 * shell/ev-window.c: (zoom_control_changed_cb):
890 Fix update of zoom control (bug 308268).
892 Sat Jun 18 22:46:42 2005 Jonathan Blandford <jrb@redhat.com>
894 * shell/ev-properties.c (set_property): escape the text correctly.
895 Handles non-UTF-8 properties and escaped properties. Also, sets
896 the text to "<i>None</i>" if the property isn't set.
898 * data/evince-properties.glade: Change the label to be ellipsized,
899 and give it a minimum size.
901 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
903 * lib/ev-file-helpers.c: (ev_file_helpers_shutdown):
904 * shell/ev-sidebar-links.c: (create_loading_model):
905 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose):
906 * shell/ev-view.c: (ev_view_set_document):
907 * shell/ev-window.c: (ev_window_dispose):
909 Various small fixes, mostly memory leaks. Thanks to valgrind.
911 2005-06-19 Martin Kretzschmar <martink@gnome.org>
913 * ps/ps-document.c: remove the locale.h include again ;-). And
914 kill the (bogus) setlocale/savelocale business.
916 2005-06-19 Jaap A. Haitsma <jaap@haitsma.org>
920 Include locale.h to fix build
922 * shell/ev-sidebar.c:
924 Remove unnecessary includes
926 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
928 * dvi/dvi-document.c: (dvi_document_load):
929 * dvi/mdvi-lib/dviread.c: (mdvi_init_context):
932 Check for incorrect dvi files. Fix parsing dvi on AMD64
933 platform. Thanks to tester@tester.ca (Olivier Crete).
935 2005-06-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
937 * shell/ev-page-action.c: (match_selected_cb),
938 (display_completion_text), (match_completion), (update_model):
939 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
941 * shell/ev-sidebar.c: (ev_sidebar_destroy),
942 (ev_sidebar_menu_item_activate_cb), (ev_sidebar_add_page),
943 (ev_sidebar_set_document):
944 * shell/ev-window.c: (ev_window_xfer_job_cb),
945 (sidebar_widget_model_set), (sidebar_page_main_widget_update_cb):
947 Fixed lot's of memory leaks, for example, memory leak on reload,
948 described in bug 307793.
950 2005-06-18 Marco Pesenti Gritti <mpg@redhat.com>
953 * shell/ev-sidebar-thumbnails.c: (clear_range), (add_range),
954 (update_visible_range), (adjustment_changed_cb),
955 (ev_sidebar_thumbnails_fill_model),
956 (ev_sidebar_thumbnails_refresh),
957 (ev_sidebar_tree_selection_changed),
958 (ev_sidebar_icon_selection_changed),
959 (ev_sidebar_thumbnails_use_icon_view),
960 (ev_sidebar_thumbnails_set_document):
961 * shell/ev-sidebar-thumbnails.h:
962 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
963 (ev_window_cmd_edit_rotate_right), (ev_window_init):
965 Refresh thumbnails when changing orientation. Not fully
966 working yet becuase of a sidebar bug.
968 Set page orientation to poppler page everywhere. This sucks
969 really need to fix poppler.
971 2005-06-18 Marco Pesenti Gritti <mpg@redhat.com>
973 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
974 (egg_recent_view_gtk_new_menu_item),
975 (egg_recent_view_gtk_set_property),
976 (egg_recent_view_gtk_get_property),
977 (egg_recent_view_gtk_class_init), (egg_recent_view_gtk_init),
978 (egg_recent_view_gtk_set_tooltip_func),
979 (egg_recent_view_gtk_set_label_width),
980 (egg_recent_view_gtk_get_label_width):
981 * cut-n-paste/recent-files/egg-recent-view-gtk.h:
983 Sync with libegg (ellipsize labels)
985 2005-06-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
987 * data/evince-ui.xml:
988 * shell/ev-window.c: (ev_window_cmd_go_forward),
989 (ev_window_cmd_go_backward):
991 Shift + PageUp moves 10 Pages. Fix for 306125
993 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
997 Add a flag to check if orientation has been overriden
999 2005-06-17 Martin Kretzschmar <martink@gnome.org>
1001 * ps/ps.c (psscan, psfree): read "Creator:" comment, free creator
1004 * ps/ps.h: add creator field to document.
1006 * ps/ps-document.c (ps_document_get_info): set format to PostScript,
1009 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1011 * data/evince-properties.glade:
1012 * shell/ev-properties.c: (ev_properties_set_document):
1014 s/PDF Version/Format
1016 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1018 * shell/ev-properties.c: (ev_properties_set_document):
1020 Remove unnecessary translations
1022 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1024 * cut-n-paste/toolbar-editor/Makefile.am:
1026 Correct library name
1028 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1031 * cut-n-paste/recent-files/egg-recent-model.c:
1032 (egg_recent_model_write_raw), (egg_recent_model_lock_file),
1033 (egg_recent_model_unlock_file):
1034 * cut-n-paste/recent-files/egg-recent-util.c:
1035 (egg_recent_util_get_unique_id):
1036 * cut-n-paste/recent-files/update-from-egg.sh:
1037 * cut-n-paste/toolbar-editor/Makefile.am:
1038 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
1039 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
1040 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
1041 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
1042 (egg_toolbars_model_get_type):
1043 * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
1045 Better makefile for toolbar editor and update everything
1048 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1050 * shell/ev-window.c: (update_document_mode):
1052 Prefer presentation mode when the document
1055 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1057 * data/evince-ui.xml:
1058 * shell/ev-window.c:
1060 Add control-equal for zooming
1062 2005-06-17 Theppitak Karoonboonyanan <thep@linux.thai.net>
1064 * configure.ac: Added 'th' (Thai) to ALL_LINGUAS.
1066 2005-06-16 Marco Pesenti Gritti <mpg@redhat.com>
1068 * backend/ev-document.c: (ev_document_get_orientation):
1069 * backend/ev-document.h:
1070 * pdf/ev-poppler.cc:
1071 * ps/ps-document.c: (ps_document_get_orientation),
1072 (ps_document_set_orientation), (ps_document_document_iface_init):
1074 Add a get_orientation api. Improve set_orientation.
1076 * data/evince-ui.xml:
1077 * shell/ev-view.c: (ev_view_set_orientation),
1078 (ev_view_rotate_right), (ev_view_rotate_left):
1080 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
1081 (ev_window_cmd_edit_rotate_right):
1083 Better ui for changing document orientation
1085 2005-06-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1087 * shell/ev-sidebar-links.c: (ev_sidebar_links_get_property),
1088 (ev_sidebar_links_class_init), (ev_sidebar_links_get_label):
1089 * shell/ev-sidebar-links.h:
1090 * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
1091 (ev_sidebar_page_iface_init):
1092 * shell/ev-sidebar-page.h:
1093 * shell/ev-sidebar-thumbnails.c:
1094 (ev_sidebar_thumbnails_get_property),
1095 (ev_sidebar_thumbnails_class_init),
1096 (ev_sidebar_thumbnails_set_document):
1097 * shell/ev-sidebar-thumbnails.h:
1098 * shell/ev-view.c: (ev_view_motion_notify_event):
1099 * shell/ev-window.c: (update_chrome_visibility),
1100 (ev_window_cmd_focus_page_selector),
1101 (ev_window_update_fullscreen_popup), (view_actions_focus_in_cb),
1102 (sidebar_page_main_widget_update_cb), (ev_window_init):
1104 Autoraise toolbar on GoToPage binding and fix bindings in
1105 EvSidebarThumbnails page.
1107 2005-06-15 Christian Persch <chpe@cvs.gnome.org>
1109 * shell/ev-properties.c: (update_progress_label):
1111 Hide the progress label when finished; bug #307697.
1113 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
1115 * pdf/ev-poppler.cc:
1117 Enable is_open for links, you will need poppler cvs
1119 * shell/ev-properties.c: (job_fonts_finished_cb):
1121 Get a lock on the document when filling the tree view
1123 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
1125 * backend/ev-document-links.h:
1126 * pdf/ev-poppler.cc:
1127 * shell/ev-sidebar-links.c: (create_loading_model),
1128 (expand_open_links), (job_finished_callback):
1130 Expand links when specified by the document.
1131 Depend on a poppler api (defined out for now)
1133 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
1135 * shell/ev-properties.c: (ev_properties_dispose),
1136 (ev_properties_class_init), (dialog_destroy_cb),
1137 (ev_properties_init), (job_fonts_finished_cb), (setup_fonts_view),
1138 (ev_properties_set_document), (ev_properties_new),
1139 (ev_properties_show):
1140 * shell/ev-properties.h:
1142 Make it an object, cleanup the code, api to show it as transient
1143 and to set the document.
1145 * shell/ev-window.c: (ev_window_setup_document),
1146 (ev_window_cmd_file_properties):
1148 Adapt to EvProperties changes, do not show multiple
1149 times, update it when document changes.
1151 2005-06-14 Marco Pesenti Gritti <mpg@redhat.com>
1154 * ps/ps-document.c: (ps_document_init), (get_page_orientation),
1155 (ps_document_set_orientation), (ps_document_document_iface_init):
1158 Implement orientation here too
1160 * shell/ev-properties.c: (ev_properties_new):
1161 * data/evince-properties.glade:
1163 Hide the fonts page for backends that doesnt
1166 2005-06-14 Marco Pesenti Gritti <mpg@redhat.com>
1168 * backend/ev-document.c: (ev_document_set_orientation):
1169 * backend/ev-document.h:
1170 * pdf/ev-poppler.cc:
1172 Add orientation api. Currently poppler api is not optimal,
1173 we need to set orientation every time we _get a page.
1174 I will try to fix that at some point.
1176 * data/evince-ui.xml:
1177 * shell/ev-window.c: (ev_window_cmd_edit_landscape),
1178 (ev_window_cmd_edit_portrait), (ev_window_cmd_edit_flip):
1180 Add orientation menu items
1182 * shell/ev-page-cache.c: (ev_page_cache_clear):
1183 * shell/ev-page-cache.h:
1185 Add api to clear the cache
1187 * shell/ev-view.c: (setup_caches), (clear_caches),
1188 (ev_view_set_document), (ev_view_zoom_out),
1189 (ev_view_set_orientation):
1192 Implement orientation changing
1194 2005-06-13 Marco Pesenti Gritti <mpg@redhat.com>
1196 * backend/ev-document-fonts.c: (ev_document_fonts_get_progress),
1197 (ev_document_fonts_scan), (ev_document_fonts_fill_model):
1198 * backend/ev-document-fonts.h:
1200 Separate scan and fill so that we can incrementally fill from
1201 the main thread. Add a progress api.
1203 * data/evince-properties.glade:
1204 * pdf/ev-poppler.cc:
1205 * shell/ev-jobs.c: (ev_job_fonts_new), (ev_job_fonts_run):
1207 * shell/ev-properties.c: (update_progress_label),
1208 (job_fonts_finished_cb), (setup_fonts_view):
1210 Incrementally feel the list and show the progress
1211 percentage in a label like acrobat does.
1213 You are going to need poppler cvs
1215 2005-06-11 Marco Pesenti Gritti <mpg@redhat.com>
1217 * backend/ev-document-fonts.c: (ev_document_fonts_fill_model):
1218 * backend/ev-document-fonts.h:
1219 * pdf/ev-poppler.cc:
1221 Make fonts model fill incrementally.
1223 * shell/ev-job-queue.c: (handle_job), (search_for_jobs_unlocked),
1224 (no_jobs_available_unlocked), (ev_job_queue_init), (find_queue),
1225 (ev_job_queue_remove_job):
1226 * shell/ev-jobs.c: (ev_job_fonts_init), (ev_job_fonts_class_init),
1227 (ev_job_fonts_new), (ev_job_fonts_run):
1230 New job for fonts scanning
1232 * shell/ev-properties.c: (job_fonts_finished_cb),
1233 (fill_fonts_treeview), (setup_fonts_view), (ev_properties_new):
1234 * shell/ev-properties.h:
1235 * shell/ev-window.c: (ev_window_cmd_file_properties):
1237 Incrementally feel the treeview using the new job. Show Loading...
1238 message until scanning is completed.
1240 Hopefully I didnt break the build without the poppler patch.
1242 2005-06-10 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1244 * shell/ev-application.c: (ev_application_open):
1245 * shell/ev-document-types.c: (ev_document_type_from_from_mime),
1246 (ev_document_type_get_type), (ev_document_type_lookup):
1247 * shell/ev-document-types.h:
1248 * shell/ev-job-xfer.c: (ev_job_xfer_dispose), (ev_job_xfer_run):
1249 * shell/ev-job-xfer.h:
1250 * shell/ev-window.c: (ev_window_clear_local_uri),
1251 (ev_window_load_job_cb), (ev_window_xfer_job_cb),
1252 (ev_window_open_uri), (ev_window_add_recent), (ev_window_dispose):
1253 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
1255 Transfer remote documents to tmp directory to display them later.
1257 2005-06-10 Marco Pesenti Gritti <mpg@redhat.com>
1259 * backend/ev-document-info.h:
1260 * shell/ev-properties.c: (ev_properties_new):
1262 s/GTime*/GTime. Not sure why we was using a pointer
1265 Wed Jun 8 01:04:22 2005 Jonathan Blandford <jrb@redhat.com>
1267 * shell/ev-sidebar-thumbnails.c: Use a GtkIconView in certain
1268 situations. That situation is that you're using GTK+-HEAD with
1269 the patch at #306726 is applied, and you have a document with <
1270 1500 pages in it. It's not quite as uniformly nice as the
1271 TreeView, but should be better in the long run.
1273 I'm pretty sure I guarded against breaking compilation with
1274 HAVE_GTK_ICON_VIEW_GET_VISIBLE_RANGE gaurds, though it's possible
1277 * shell/ev-window.c (ev_window_init): We don't have our tree/list
1278 widget yet, so I commented that code out
1279 enable_view_actions_for_widget() for now. Need to figure this
1282 * shell/ev-page-action.c (match_selected_cb): emit the right
1283 signals. Our cool C-l completion now works.
1285 2005-06-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1287 * backend/Makefile.am:
1288 * backend/ev-document-fonts.c:
1289 * backend/ev-document-links.c:
1290 * backend/ev-document.c: (ev_document_load):
1291 * backend/ev-document.h:
1292 * backend/ev-job-queue.c:
1293 * backend/ev-job-queue.h:
1294 * backend/ev-jobs.c:
1295 * backend/ev-jobs.h:
1296 * backend/ev-page-cache.c:
1297 * backend/ev-page-cache.h:
1299 EvPageCache and EvJobs are moved to shell.
1301 * lib/ev-file-helpers.c: (ev_file_helpers_shutdown),
1303 * lib/ev-file-helpers.h:
1305 New helper to work with temporary files
1307 * shell/Makefile.am:
1308 * shell/ev-application.c: (ev_application_open):
1309 * shell/ev-application.h:
1310 * shell/ev-job-queue.c: (remove_job_from_queue_locked),
1311 (remove_job_from_async_queue), (add_job_to_async_queue),
1312 (add_job_to_queue_locked), (notify_finished), (job_finished_cb),
1313 (handle_job), (search_for_jobs_unlocked),
1314 (no_jobs_available_unlocked), (ev_render_thread),
1315 (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
1316 (ev_job_queue_add_job), (move_job_async), (move_job),
1317 (ev_job_queue_update_job), (ev_job_queue_remove_job):
1318 * shell/ev-job-queue.h:
1319 * shell/ev-job-xfer.c: (ev_job_xfer_init), (ev_job_xfer_dispose),
1320 (ev_job_xfer_class_init), (ev_job_xfer_new), (ev_job_xfer_run):
1321 * shell/ev-job-xfer.h:
1322 * shell/ev-jobs.c: (ev_job_init), (ev_job_dispose),
1323 (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
1324 (ev_job_links_class_init), (ev_job_render_init),
1325 (ev_job_render_dispose), (ev_job_render_class_init),
1326 (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
1327 (ev_job_thumbnail_class_init), (ev_job_load_init),
1328 (ev_job_load_dispose), (ev_job_load_class_init), (ev_job_finished),
1329 (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
1330 (render_finished_cb), (ev_job_render_run), (ev_job_thumbnail_new),
1331 (ev_job_thumbnail_run), (ev_job_load_new), (ev_job_load_run):
1333 * shell/ev-page-action.c: (ev_page_action_set_document):
1334 * shell/ev-page-cache.c: (ev_page_cache_init),
1335 (ev_page_cache_class_init), (ev_page_cache_finalize),
1336 (ev_page_cache_new), (ev_page_cache_get_n_pages),
1337 (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
1338 (ev_page_cache_set_page_label), (ev_page_cache_set_link),
1339 (ev_page_cache_get_title), (ev_page_cache_get_size),
1340 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
1341 (ev_page_cache_get_height_to_page),
1342 (ev_page_cache_get_max_label_chars),
1343 (ev_page_cache_get_page_label),
1344 (ev_page_cache_has_nonnumeric_page_labels),
1345 (ev_page_cache_get_info), (ev_page_cache_next_page),
1346 (ev_page_cache_prev_page), (ev_page_cache_get):
1347 * shell/ev-page-cache.h:
1348 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_update_range),
1349 (ev_pixbuf_cache_clear_job_sizes),
1350 (ev_pixbuf_cache_add_jobs_if_needed),
1351 (ev_pixbuf_cache_set_page_range):
1352 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings):
1353 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document):
1354 * shell/ev-sidebar-thumbnails.c:
1355 (ev_sidebar_tree_selection_changed),
1356 (ev_sidebar_thumbnails_set_document):
1357 * shell/ev-statusbar.c: (ev_statusbar_destroy),
1358 (ev_statusbar_class_init), (ev_statusbar_init), (ev_statusbar_new),
1359 (ev_statusbar_get_context_id), (ev_statusbar_push),
1360 (ev_statusbar_pop), (ev_statusbar_set_maximized),
1361 (ev_statusbar_pulse), (ev_statusbar_show_progress),
1362 (ev_statusbar_set_progress):
1363 * shell/ev-statusbar.h:
1364 * shell/ev-view.c: (ev_view_set_document), (ev_view_find_next),
1365 (ev_view_find_previous):
1366 * shell/ev-window.c: (ev_window_is_empty),
1367 (ev_window_setup_document), (password_dialog_response),
1368 (ev_window_clear_jobs), (ev_window_load_job_cb),
1369 (ev_window_xfer_job_cb), (ev_window_open_uri),
1370 (ev_window_open_uri_list), (ev_window_cmd_recent_file_activate),
1371 (ev_window_print), (ev_window_print_range),
1372 (ev_window_state_event), (ev_window_cmd_view_reload),
1373 (menu_item_select_cb), (menu_item_deselect_cb),
1374 (view_status_changed_cb), (ev_window_dispose),
1375 (drag_data_received_cb), (ev_window_init):
1376 * shell/ev-window.h:
1377 * shell/main.c: (load_files):
1379 New statusbar to show progress on idle. Two new jobs -
1380 xfer job and load job to load document in background. And update
1381 of page_cache clients to new location of code.
1383 2005-06-08 Carlos Garcia Campos <carlosgc@gnome.org>
1385 * shell/ev-application.c, shell/ev-window.[ch]: Allow multiple
1386 selection in open dialog. It also remembers the last visited directory
1387 in the current session.
1389 2005-06-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1391 * shell/ev-properties.c: (ev_properties_new):
1392 * shell/ev-properties.h:
1393 * shell/ev-window.c: (ev_window_cmd_file_properties):
1395 Get document info from page cache instead of document itself.
1396 This should fix crash related to race conditions described in
1399 2005-06-07 Marco Pesenti Gritti <mpg@redhat.com>
1401 * ps/ps-document.c: (ps_document_init),
1402 (send_ps), (get_page_box), (output), (catchPipe), (input),
1403 (stop_interpreter), (file_length), (file_readable),
1404 (check_filecompressedb), (ps_document_enable_interpreter),
1405 (document_load), (ps_async_renderer_render_pixbuf):
1408 Big cleanup of the ps code
1410 2005-06-07 Marco Pesenti Gritti <mpg@redhat.com>
1412 * backend/Makefile.am:
1413 * backend/ev-async-renderer.c: (ev_async_renderer_get_type),
1414 (ev_async_renderer_class_init), (ev_async_renderer_render_pixbuf):
1415 * backend/ev-async-renderer.h:
1417 Add an async renderer interface (method + callback) which
1418 is useful for backends like ps.
1420 * backend/ev-job-queue.c: (remove_job_from_async_queue),
1421 (add_job_to_async_queue), (job_finished_cb), (handle_job),
1422 (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
1423 (ev_job_queue_add_job), (move_job_async), (move_job),
1424 (ev_job_queue_update_job), (ev_job_queue_remove_job):
1426 Add queues for async renderer, these are executed on the
1429 * backend/ev-jobs.c: (ev_job_render_new), (render_finished_cb),
1430 (ev_job_render_run):
1431 * backend/ev-jobs.h:
1433 If the backend support async renderer interface use it.
1435 * ps/ps-document.c: (ps_document_init), (push_pixbuf),
1436 (setup_pixmap), (ps_document_get_type),
1437 (ps_async_renderer_render_pixbuf),
1438 (ps_document_document_iface_init), (ps_async_renderer_iface_init):
1440 Implement async renderer interface.
1442 2005-06-07 Nickolay V. Shmyrev <<nshmyrev@yandex.ru>>
1444 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose):
1446 Cleanup links job on exit.
1448 2005-06-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1450 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
1451 (drag_data_get_cb), (drag_data_received_cb):
1452 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
1453 (drag_data_get_cb), (parse_item_list),
1454 (egg_toolbar_editor_load_actions):
1455 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
1456 (egg_toolbars_model_to_xml), (egg_toolbars_model_save),
1457 (parse_item_list), (parse_toolbars):
1458 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
1459 (dvi_pixbuf_put_pixel):
1461 Fix gcc 4.0 warnings
1463 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
1465 * ps/ps-document.c: (start_interpreter):
1467 Fix warning when loading ps
1469 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
1471 * ps/ps-document.c: (output):
1473 Fix crash when priting gs error messages.
1475 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
1477 * backend/ev-page-cache.c: (_ev_page_cache_new):
1478 * backend/ev-page-cache.h:
1480 Use a const to return title so that we dont double
1481 free it. Small cleanup and fix a leak.
1483 * shell/ev-window.c: (update_window_title):
1485 strdup value from get_title.
1487 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
1489 * shell/ev-sidebar-links.c: (job_finished_callback),
1490 (ev_sidebar_links_set_document):
1492 Cleanup the old job when changing document
1494 2005-06-05 Nickolay V. Shmyrev <<nshmyrev@yandex.ru>>
1496 * shell/ev-stock-icons.c:
1497 * shell/ev-stock-icons.h:
1498 * shell/ev-window.c:
1500 Add stock icons for actions that can appear in toolbar. Fix for
1503 2005-06-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1505 * backend/ev-page-cache.c: (ev_page_cache_finalize),
1506 (_ev_page_cache_new), (ev_page_cache_get_max_width),
1507 (ev_page_cache_get_max_height), (ev_page_cache_get_height_to_page):
1508 * backend/ev-page-cache.h:
1509 * shell/ev-view.c: (scroll_to_current_page),
1510 (view_update_range_and_current_page), (get_page_y_offset),
1511 (get_page_extents), (ev_view_size_request_continuous_dual_page),
1512 (ev_view_size_request_continuous),
1513 (ev_view_zoom_for_size_continuous_and_dual_page),
1514 (ev_view_zoom_for_size_continuous):
1516 More compact EvView layout in document with pages of different size.
1518 Sat Jun 4 19:20:57 2005 Jonathan Blandford <jrb@redhat.com>
1520 * shell/ev-window.c (ev_window_cmd_file_properties): fix
1523 2005-06-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1525 * shell/ev-view.c: (view_set_adjustment_values):
1526 * shell/ev-window.c: (ev_window_cmd_file_properties):
1528 A bit different fix for rounding problem but it has no
1529 problems on startup. Make properties window transient to parent.
1531 2005-06-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1533 * pdf/ev-poppler.cc:
1535 More commenting of font stuff.
1537 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1539 * pdf/ev-poppler.cc:
1541 Comment out some more fonts stuff. Should really
1542 work without the poppler patch now.
1544 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1546 * pdf/ev-poppler.cc:
1550 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1552 * data/evince-properties.glade:
1553 * pdf/ev-poppler.cc:
1554 * shell/ev-properties.c: (setup_fonts_view):
1556 Set the column title. Show the dialog only
1557 once everything is setup.
1558 Getting font info can be very slow... will
1559 prolly need to make this threaded too.
1561 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1563 * backend/Makefile.am:
1564 * backend/ev-document-fonts.c: (ev_document_fonts_get_type),
1565 (ev_document_fonts_get_fonts_model):
1566 * backend/ev-document-fonts.h:
1567 * data/evince-properties.glade:
1568 * pdf/ev-poppler.cc:
1569 * shell/ev-properties.c: (setup_fonts_view), (ev_properties_new):
1570 * shell/ev-properties.h:
1571 * shell/ev-window.c: (ev_window_cmd_file_properties):
1573 Implement fonts list. Defined out for now, since it depends
1574 on a not yet committed poppler patch.
1576 Fri Jun 3 21:07:57 2005 Jonathan Blandford <jrb@redhat.com>
1578 * shell/ev-view.c (get_page_extents): other_page isn't necessarily
1581 * shell/ev-window.c: Make sure we add the timeout when we get a
1584 * shell/ev-view.c (view_set_adjustment_values): Add 0.5 to
1585 adjustment->value before calculating the zoom factor to average
1586 out all of our rounding errors. The page no longer 'drifts' when
1589 2005-06-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1591 * data/evince-properties.glade:
1592 * shell/ev-properties.c: (ev_properties_format_date),
1595 Labels don't expand when the dialogue is resized.
1596 strftime result needs to be converted to UTF-8. Thanks
1597 to Christian Persch <chpe@gnome.org>.
1599 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1601 * data/evince-properties.glade:
1605 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1607 * backend/ev-document-info.h:
1608 * backend/ev-document.c: (ev_document_info_free):
1609 * data/evince-properties.glade:
1610 * pdf/ev-poppler.cc:
1611 * ps/ps-document.c: (ps_document_get_info):
1612 * shell/ev-properties.c: (ev_properties_format_date),
1613 (set_property), (ev_properties_new):
1614 * shell/ev-properties.h:
1615 * shell/ev-window.c: (ev_window_cmd_file_properties):
1617 Rework properties code to take only EvPropertyInfo
1618 in the constructor so that it can be useful for
1619 nautilus plugin too.
1621 Deal with backends that doesnt support some properties.
1622 Make set property code generic.
1624 2005-06-04 Christian Persch <chpe@gnome.org>
1626 * data/evince-properties.glade:
1628 fix spacings, make resizeable, and make data labels
1629 selectable + ellipsised
1631 2005-06-03 Marco Pesenti Gritti <mpg@redhat.com>
1633 * backend/ev-document-info.h:
1635 * data/evince-ui.xml:
1636 * pdf/ev-poppler.cc:
1637 * shell/Makefile.am:
1638 * shell/ev-window.c: (update_action_sensitivity),
1639 (ev_window_cmd_file_properties):
1641 Initial go at file properties. Patch by
1642 Emil Soleyman-Zomalan <emil@soleyman.com>.
1643 Needs love see #169583
1645 2005-06-02 Marco Pesenti Gritti <mpg@redhat.com>
1647 * ps/ps-document.c: (output):
1648 * ps/ps.c: (psscan):
1650 Try to render even if psscan fails.
1652 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
1654 * ps/ps.c: (psscan), (pscopydoc):
1656 Port buffered reading code from gv
1658 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
1660 * ps/ps-document.c: (interpreter_message), (output):
1662 Do not fail on interpreter messages
1664 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
1666 * backend/ev-document-misc.c:
1667 (ev_document_misc_get_thumbnail_frame):
1669 Pages can be 0 x 0, dont assert on this case
1671 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1673 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
1674 (ev_sidebar_links_class_init), (ev_sidebar_links_set_document):
1676 Correctly manage our reference on document. Finally the reload
1677 huge leak is gone...
1679 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1681 * ps/ps-document.c: (ps_document_dispose):
1683 Forgot to chain it to the parent. Thanks chpe.
1685 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1687 * ps/ps-document.c: (ps_document_dispose),
1688 (ps_document_class_init), (stop_interpreter), (document_load):
1690 Cleanup dispose a bit. Dont leak the whole pixmap.
1692 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1694 * pdf/ev-poppler.cc:
1696 Release the poppler document on dispose
1698 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1700 * shell/ev-view.c: (ev_view_set_document):
1702 Release ref on the pixbuf cache when changing
1705 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1707 * ps/ps-document.c: (ps_document_get_info):
1711 2005-05-31 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
1713 * backend/ev-page-cache.c: (ev_page_cache_init),
1714 (_ev_page_cache_new), (ev_page_cache_get_max_label_chars):
1715 * backend/ev-page-cache.h:
1716 * shell/ev-page-action.c: (page_changed_cb):
1718 Set page action entry width depending on labels width. Fix
1721 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1723 * backend/ev-link.c: (ev_link_class_init):
1725 Allow -1 as page value (error)
1727 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1729 * shell/ev-sidebar-thumbnails.c:
1730 (ev_sidebar_thumbnails_set_document):
1731 * shell/ev-view.c: (scroll_to_current_page),
1732 (view_set_adjustment_values), (ev_view_set_scroll_adjustments),
1733 (page_changed_cb), (on_adjustment_value_changed),
1734 (ev_view_set_document):
1736 Slightly modified patch by Nickolay V. Shmyrev <nshmyrev@yandex.ru>.
1739 2005-05-29 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1742 * djvu/djvu-document.c: (djvu_document_get_page_size):
1744 Require djvulibre CVS. Now djvu loading is much faster. Fix for
1747 Sat May 28 07:38:03 2005 Jonathan Blandford <jrb@redhat.com>
1749 * shell/ev-view.c (draw_one_page): modify the expose handling to
1752 * shell/ev-window.c (update_action_sensitivity): Respect
1753 permissions field. Kowtow to the man.
1755 * pdf/ev-poppler.cc: Get the permissions field.
1757 * tiff/*c: Make a tiny bit more robust.
1759 2005-05-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1761 * djvu/djvu-document.c:
1763 Pop messages from djvu context message queue.
1765 2005-05-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1767 * configure.ac, Makefile.am, shell/Makefile.am:
1768 * tiff/Makefile.am, shell/ev-document-types.c:
1770 Cleanup tiff configure checks. Fix for bug 305218.
1772 2005-05-24 Maxim V. Dziumanenko <mvd@mylinux.ua>
1774 * configure.ac: Added "uk" to ALL_LINGUAS.
1776 2005-05-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1778 * cut-n-paste/zoom-control/ephy-zoom.c:
1779 (ephy_zoom_get_changed_zoom_level):
1780 * cut-n-paste/zoom-control/ephy-zoom.h:
1781 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_set_property),
1782 (ev_view_get_property), (ev_view_class_init), (ev_view_set_zoom):
1783 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
1784 (ev_window_cmd_view_zoom_out), (ev_window_zoom_changed_cb),
1785 (zoom_control_changed_cb), (ev_window_init):
1787 Fix minor points related to moving best fit up. Introduce
1788 "zoom" property and make zoom control change it's value on
1789 notify::zoom signals. Fix for 305080.
1791 2005-05-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1793 * data/evince-ui.xml:
1794 * shell/ev-window.c: (set_view_actions_sensitivity):
1796 Use + and - as accels for zoom in and zoom out. Fix for 305001.
1798 2005-05-22 Marco Pesenti Gritti <mpg@redhat.com>
1802 Depends on poppler 0.3.2
1804 2005-05-22 Marco Pesenti Gritti <mpg@redhat.com>
1806 * cut-n-paste/recent-files/egg-recent-item.c:
1807 (egg_recent_item_get_short_name):
1808 * cut-n-paste/toolbar-editor/Makefile.am:
1809 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
1810 (new_pixbuf_from_widget):
1811 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
1812 * cut-n-paste/toolbar-editor/egg-marshal.c:
1813 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
1814 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
1818 Sat May 21 23:18:30 2005 Jonathan Blandford <jrb@redhat.com>
1820 * tiff/tiff-document.c: Rough TIFF backend.
1822 2005-05-21 Marco Pesenti Gritti <mpg@redhat.com>
1826 * cut-n-paste/toolbar-editor/Makefile.am:
1830 2005-05-21 Marco Pesenti Gritti <mpg@redhat.com>
1832 * shell/ev-view.c: (jump_to_find_result), (ev_view_can_find_next),
1833 (ev_view_find_next), (ev_view_find_previous):
1835 Remove the locks around get_n_results
1837 2005-05-21 Juerg Billeter <j@bitron.ch>
1839 * pdf/ev-poppler.c: (pdf_document_ps_exporter_begin):
1841 Pass correct number of pages to poppler.
1843 2005-05-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1847 * data/evince.desktop.in:
1848 * data/evince.desktop.in.in:
1851 Add conditionally dvi and djvu to desktop types. Fix for 304658.
1853 Sat May 21 00:21:30 2005 Jonathan Blandford <jrb@redhat.com>
1855 * shell/ev-view.c: (view_update_adjustments),
1856 (view_set_adjustment_values): cast adjustmen->value to (int)
1857 before using it. Otherwise, we get off by a pixel in some
1860 (draw_one_page): Draw the border on expose.
1862 Fri May 20 22:05:25 2005 Jonathan Blandford <jrb@redhat.com>
1864 * *shell/ev-view.c: Patch from Nickolay V. Shmyrev to reset the
1865 adjustment when the mode changes, #304923
1867 Fri May 20 02:00:03 2005 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1869 * shell/ev-view.c: Use gdk_widget_queue_draw to remove
1870 flickering on resize but still use gdk_window_scroll on
1873 Fri May 20 01:46:57 2005 Jonathan Blandford <jrb@redhat.com>
1875 * shell/ev-view.c: Patch from Nickolay Shmyrev to fix the -p
1878 Fri May 20 01:27:01 2005 Jonathan Blandford <jrb@redhat.com>
1880 * shell/ev-view.c: Patch from Nickolay Shmyrev to to scroll to
1881 second page on page_changed if possible, #304669
1883 Fri May 20 01:07:15 2005 Jonathan Blandford <jrb@redhat.com>
1885 * shell/ev-view.c (view_update_adjustments): Use gdk_window_scroll
1886 instead of gtk_widget_queue_draw. Massive speedups in scrolling.
1888 Fri May 20 01:05:10 2005 Jonathan Blandford <jrb@redhat.com>
1891 * shell/ev-view.c:(ev_view_size_allocate), (ev_view_class_init),
1892 (zoom_for_size_fit_width), (zoom_for_size_best_fit),
1893 (ev_view_zoom_for_size_presentation),
1894 (ev_view_zoom_for_size_continuous_and_dual_page),
1895 (ev_view_zoom_for_size_continuous),
1896 (ev_view_zoom_for_size_dual_page),
1897 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size):
1899 * shell/ev-window.c: (update_view_size),
1900 (ev_window_sizing_mode_changed_cb):
1902 Patch from Nickolay Shmyrev <nshmyrev@yandex.ru> to handle
1903 the scrollbars. It's not 100% right, but it's much closer. Kills
1904 an infinite loop, #304769
1907 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
1909 * data/evince-ui.xml:
1910 * shell/ev-view.c: (ev_view_scroll_view), (ev_view_class_init):
1911 * shell/ev-window.c: (set_view_actions_sensitivity):
1913 Make PgUp/Down behave like Space
1915 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
1917 * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
1918 * backend/ev-ps-exporter.h:
1919 * pdf/ev-poppler.cc:
1920 * ps/ps-document.c: (ps_document_ps_export_begin):
1921 * shell/ev-print-job.c: (idle_print_handler):
1923 Adapt to new poppler api
1925 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
1927 * cut-n-paste/zoom-control/ephy-zoom-control.c:
1928 (ephy_zoom_control_init):
1930 Translate zoom levels
1932 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
1934 * cut-n-paste/zoom-control/ephy-zoom.c:
1935 (ephy_zoom_get_zoom_level_index):
1937 Fix current zoom -> zoom control match
1939 2005-05-18 James Bowes <bowes@cs.dal.ca>
1941 * shell/ev-window.c: (ev_window_init): Give focus to the ev-view,
1942 rather than the scrolled_window that it's in. Fixes bug #304655.
1944 Tue May 17 22:54:17 2005 Jonathan Blandford <jrb@redhat.com>
1946 * shell/ev-view.c: (view_update_adjustments),
1947 (view_set_adjustment_values), (view_update_range_and_current_page),
1948 (view_scroll_to_page), (set_scroll_adjustment),
1949 (ev_view_set_scroll_adjustments), (add_scroll_binding_keypad),
1950 (ev_view_scroll), (ev_view_scroll_view),
1951 (ensure_rectangle_is_visible), (find_page_at_location),
1952 (get_link_at_location), (go_to_link), (status_message_from_link),
1953 (ev_view_size_request_continuous_dual_page),
1954 (ev_view_size_request), (ev_view_size_allocate), (ev_view_realize),
1955 (ev_view_unrealize), (ev_view_expose_event),
1956 (ev_view_button_press_event), (ev_view_motion_notify_event),
1957 (ev_view_button_release_event), (ev_gdk_color_to_rgb),
1958 (draw_rubberband), (highlight_find_results), (draw_one_page),
1959 (ev_view_finalize), (ev_view_destroy), (ev_view_class_init),
1960 (ev_view_init), (find_changed_cb), (page_changed_cb),
1961 (on_adjustment_value_changed), (ev_view_new),
1962 (ev_view_set_document), (ev_view_set_zoom),
1963 (ev_view_set_continuous), (ev_view_set_dual_page),
1964 (ev_view_set_presentation), (ev_view_zoom_in), (ev_view_zoom_out),
1965 (zoom_for_size_fit_width), (zoom_for_size_best_fit),
1966 (ev_view_zoom_for_size_presentation),
1967 (ev_view_zoom_for_size_continuous_dual_page),
1968 (ev_view_zoom_for_size_continuous),
1969 (ev_view_zoom_for_size_dual_page),
1970 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
1971 (ev_view_get_status), (ev_view_set_status),
1972 (update_find_status_message), (ev_view_get_find_status),
1973 (ev_view_set_find_status), (jump_to_find_result),
1974 (jump_to_find_page), (compute_selections), (clear_selection),
1975 (ev_view_select_all), (get_selected_text), (ev_view_copy),
1976 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
1977 (ev_view_update_primary_selection),
1978 (ev_view_create_invisible_cursor), (ev_view_set_cursor):
1980 * shell/ev-window.c: (ev_window_open_page_label),
1981 (ev_window_cmd_view_reload), (ev_window_sizing_mode_changed_cb),
1983 * shell/ev-window.h:
1984 * shell/main.c: (load_files):
1986 Massive code clean up from Nickolay Shmyrev. Keep page offset
1987 when resizing. Remove the bin_window(). Also, patch from James
1988 Bowes to fix command line page, #300641
1990 2005-05-17 Marco Pesenti Gritti <mpg@redhat.com>
1992 * data/evince-ui.xml:
1995 * shell/ev-window.c: (update_action_sensitivity):
1997 Get rid of View->Normal Size, it's just confusing
1999 Tue May 17 00:51:21 2005 Jonathan Blandford <jrb@redhat.com>
2001 * backend/ev-document-info.h:
2002 * backend/ev-document.c: (ev_document_info_free): Free the
2005 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
2006 (clear_range), (add_range), (update_visible_range),
2007 (adjustment_changed_cb), (ev_sidebar_thumbnails_init),
2008 (ev_sidebar_thumbnails_set_document):
2009 * shell/ev-window.c: (ev_window_setup_document): Only render the
2010 visible thumbnails. It takes an instant to render, but it uses
2013 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
2015 * shell/ev-sidebar-links.c: (popup_menu_cb):
2019 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
2022 * shell/ev-sidebar-links.c: (build_popup_menu), (popup_menu_cb),
2023 (button_press_cb), (ev_sidebar_links_construct):
2025 Show the popup menu also on keybindings
2027 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
2029 * shell/ev-window.c: (ev_window_print), (ev_window_print_range):
2030 * shell/ev-window.h:
2032 Expose api to print a range (with dialog). Make private _print use
2035 * shell/ev-sidebar-links.c: (print_section_cb), (button_press_cb),
2036 (ev_sidebar_links_construct):
2038 Show a print context menu on linkx, it prints the selected
2041 2005-05-15 Carlos Garcia Campos <carlosgc@gnome.org>
2043 * shell/ev-sidebar.c: make the drop down menu as width as the toggle
2046 2005-05-12 Marco Pesenti Gritti <mpg@redhat.com>
2052 * shell/ev-window.c: (build_comments_string),
2053 (ev_window_cmd_help_about):
2055 Show poppler version/backend and authors
2057 2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
2059 * cut-n-paste/zoom-control/ephy-zoom.c:
2060 (ephy_zoom_get_zoom_level_index):
2061 * cut-n-paste/zoom-control/ephy-zoom.h:
2063 Move the best fit items at the top of the list
2065 2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
2067 * shell/ev-marshal.list:
2068 * shell/ev-page-action.c: (ev_page_action_widget_class_init),
2069 (activate_cb), (match_selected_cb), (activate_link_cb),
2070 (connect_proxy), (ev_page_action_class_init):
2071 * shell/ev-page-action.h:
2073 Use signals to notify action activation. Hopefully
2074 I did not break completion since I cant test...
2076 * shell/ev-window.c: (activate_link_cb), (activate_label_cb),
2077 (register_custom_actions):
2079 Connect to page selector actions and also grab focus on
2080 the view when activated.
2082 Wed May 11 01:18:29 2005 Jonathan Blandford <jrb@redhat.com>
2084 * pdf/ev-poppler.cc:
2085 * backend/ev-page-cache.c: make page size calculation consistent
2086 and set it to (int)( width * scale + 0.5). This makes the weird
2087 line going through the middle of the page go away.
2089 * shell/ev-view.c: move painting the background page after
2090 checking the expose area covers us.
2092 2005-05-11 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2094 * data/evince-password.glade:
2096 Mark labels as not translatable. Fix for bug 302842.
2098 2005-05-10 Francisco Javier F. Serrador <serrador@cvs.gnome.org>
2100 * configure.ac: Added "es" to ALL_LINGUAS.
2102 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2104 * data/evince-toolbar.xml:
2105 * shell/ev-window.c: (update_action_sensitivity),
2106 (ev_window_setup_document), (ev_window_set_page_mode),
2109 Remove some leftover code from jrb first continous
2110 attempt. Use the new actions, we still need good icons
2113 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2115 * shell/ev-page-action.c: (update_pages_label), (connect_proxy):
2117 Update label when connecting proxy. Fix a warning with NULL
2120 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2122 * data/evince-ui.xml:
2123 * shell/ev-page-action.c: (ev_page_action_grab_focus):
2124 * shell/ev-page-action.h:
2125 * shell/ev-window.c: (ev_window_cmd_focus_page_selector):
2127 Add mnemonic for edit toolbar.
2128 ctrl+l focus the page entry.
2130 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2133 * shell/ev-window.c: (ev_window_cmd_edit_toolbar_cb),
2135 * shell/main.c: (main):
2137 Put the toolbar xml in evince own dot dir
2139 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2141 * shell/ev-window.c: (ev_window_init):
2143 Make the toolbar not removable
2145 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2147 * data/evince-ui.xml:
2148 * shell/ev-sidebar-links.c: (ev_sidebar_links_get_treeview):
2149 * shell/ev-sidebar-links.h:
2150 * shell/ev-sidebar-thumbnails.c:
2151 (ev_sidebar_thumbnails_get_treeview):
2152 * shell/ev-sidebar-thumbnails.h:
2153 * shell/ev-view.c: (ev_view_scroll), (ev_view_scroll_view),
2154 (ev_view_class_init):
2156 * shell/ev-window.c: (update_action_sensitivity),
2157 (ev_window_cmd_scroll_forward), (ev_window_cmd_scroll_backward),
2158 (set_view_actions_sensitivity), (view_actions_focus_in_cb),
2159 (view_actions_focus_out_cb), (enable_view_actions_for_widget),
2162 This is evil... Make space/backspace global accelerators but
2163 enable them only for some widgets (sidebars and view).
2164 I dont like it, but I dont know a better way... :/
2166 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2168 * shell/ev-page-action.c: (ev_page_action_widget_set_page_cache),
2169 (ev_page_action_widget_finalize),
2170 (ev_page_action_widget_class_init), (update_page_cache):
2172 Keep a weak reference on proxy->page_cache so that we
2173 dont try to disconnect the signal if the object is already
2174 gone. Maybe there is a better way to cleanup reference handling
2175 in page action though...
2177 2005-05-10 Juerg Billeter <j@bitron.ch>
2179 * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
2180 * backend/ev-ps-exporter.h:
2181 * pdf/ev-poppler.cc: (pdf_document_ps_exporter_begin):
2182 * ps/ps-document.c: (ps_document_ps_export_begin):
2184 Change api to pass print range to ps_exporter_begin. The pdf backend
2185 requires this information.
2187 * shell/ev-print-job.c: (idle_print_handler):
2191 2005-05-10 Juerg Billeter <j@bitron.ch>
2193 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
2194 (idle_print_handler)
2195 * shell/ev-window.c: (ev_window_print):
2197 Support printing page range, based on patch by Amaury Jacquot
2199 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2201 * data/evince-toolbar.xml:
2203 Add zoom control to available items
2205 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2207 * shell/ev-window.c: (update_action_sensitivity):
2209 Set slash action insensitive when appropriate
2211 2005-05-10 Christian Persch <chpe@gnome.org>
2213 * cut-n-paste/zoom-control/ephy-zoom-action.c: (create_menu_item):
2215 Fix warning on the overflow menu
2217 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2219 * shell/ev-window.c: (sanity_check_uri), (ev_window_open):
2221 Check for uri correctness/existence
2223 2005-05-09 Juerg Billeter <j@bitron.ch>
2225 * shell/ev-window.c: (using_postscript_printer):
2227 LPD printers use postscript, too
2229 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2231 * shell/ev-window.c: (register_custom_actions):
2233 The zoom one is actually sort of useful,
2236 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2238 * shell/ev-window.c: (register_custom_actions):
2240 Hide page/zoom controls from overflow, they
2243 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2245 * cut-n-paste/update-from-egg.sh:
2247 Share it between all cut-n-paste subdirs
2249 * cut-n-paste/recent-files/Makefile.am:
2251 Fix to use "global" update-from-egg.sh
2253 * cut-n-paste/recent-files/egg-recent-model.c:
2254 (egg_recent_model_changed_timeout), (egg_recent_model_finalize):
2255 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
2256 (egg_recent_view_gtk_clear), (egg_recent_view_gtk_set_list),
2257 (egg_recent_view_gtk_finalize), (egg_recent_view_gtk_set_menu):
2261 * cut-n-paste/toolbar-editor/Makefile.am:
2263 Fix to use "global" update-from-egg.sh
2265 * cut-n-paste/toolbar-editor/eggmarshalers.list:
2269 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2272 * cut-n-paste/Makefile.am:
2273 * cut-n-paste/recent-files/Makefile.am:
2274 * cut-n-paste/toolbar-editor/.cvsignore:
2275 * cut-n-paste/toolbar-editor/Makefile.am:
2276 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
2277 (egg_editable_toolbar_get_type), (get_toolbar_position),
2278 (get_n_toolbars), (get_dock_nth), (get_toolbar_nth), (find_action),
2279 (drag_data_delete_cb), (drag_begin_cb), (drag_end_cb),
2280 (drag_data_get_cb), (set_drag_cursor), (unset_drag_cursor),
2281 (set_item_drag_source), (create_item_from_action), (create_item),
2282 (data_is_separator), (drag_data_received_cb), (remove_toolbar_cb),
2283 (popup_toolbar_context_menu_cb), (free_dragged_item),
2284 (toolbar_drag_drop_cb), (toolbar_drag_motion_cb),
2285 (toolbar_drag_leave_cb), (create_dock), (set_fixed_style),
2286 (unset_fixed_style), (toolbar_changed_cb), (unparent_fixed),
2287 (update_fixed), (toolbar_added_cb), (toolbar_removed_cb),
2288 (item_added_cb), (item_removed_cb),
2289 (egg_editable_toolbar_construct),
2290 (egg_editable_toolbar_disconnect_model),
2291 (egg_editable_toolbar_deconstruct),
2292 (egg_editable_toolbar_set_model),
2293 (egg_editable_toolbar_set_ui_manager),
2294 (egg_editable_toolbar_set_property),
2295 (egg_editable_toolbar_get_property),
2296 (egg_editable_toolbar_class_init), (egg_editable_toolbar_init),
2297 (egg_editable_toolbar_finalize), (egg_editable_toolbar_new),
2298 (egg_editable_toolbar_new_with_model),
2299 (egg_editable_toolbar_get_edit_mode),
2300 (egg_editable_toolbar_set_edit_mode), (egg_editable_toolbar_show),
2301 (egg_editable_toolbar_hide), (egg_editable_toolbar_set_fixed),
2302 (egg_editable_toolbar_set_drag_dest), (fake_expose_widget),
2303 (new_pixbuf_from_widget), (new_separator_pixbuf),
2304 (update_separator_image), (style_set_cb),
2305 (_egg_editable_toolbar_new_separator_image),
2306 (egg_editable_toolbar_get_model):
2307 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
2308 * cut-n-paste/toolbar-editor/egg-marshal.c:
2309 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
2310 (egg_toolbar_editor_get_type), (compare_actions), (find_action),
2311 (egg_toolbar_editor_set_ui_manager), (toolbar_removed_cb),
2312 (egg_toolbar_editor_set_model), (egg_toolbar_editor_set_property),
2313 (egg_toolbar_editor_get_property), (egg_toolbar_editor_class_init),
2314 (egg_toolbar_editor_finalize), (egg_toolbar_editor_new),
2315 (drag_begin_cb), (drag_end_cb), (editor_drag_data_received_cb),
2316 (editor_drag_data_delete_cb), (drag_data_get_cb),
2317 (elide_underscores), (set_drag_cursor), (event_box_realize_cb),
2318 (editor_create_item), (update_editor_sheet), (setup_editor),
2319 (egg_toolbar_editor_init), (egg_toolbar_editor_add_action),
2320 (parse_item_list), (model_has_action), (update_actions_list),
2321 (egg_toolbar_editor_load_actions):
2322 * cut-n-paste/toolbar-editor/egg-toolbar-editor.h:
2323 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
2324 (egg_toolbars_model_get_type), (egg_toolbars_model_to_xml),
2325 (safe_save_xml), (egg_toolbars_model_save), (toolbars_toolbar_new),
2326 (toolbars_item_new), (free_toolbar_node), (free_item_node),
2327 (egg_toolbars_model_get_flags), (egg_toolbars_model_set_flags),
2328 (egg_toolbars_model_add_separator), (impl_add_item),
2329 (parse_item_list), (egg_toolbars_model_add_toolbar),
2330 (parse_toolbars), (egg_toolbars_model_load), (impl_get_item_id),
2331 (impl_get_item_data), (impl_get_item_type),
2332 (_egg_accumulator_STRING), (egg_toolbars_model_class_init),
2333 (egg_toolbars_model_init), (free_toolbar),
2334 (egg_toolbars_model_finalize), (egg_toolbars_model_new),
2335 (egg_toolbars_model_remove_toolbar),
2336 (egg_toolbars_model_remove_item), (egg_toolbars_model_move_item),
2337 (egg_toolbars_model_n_items), (egg_toolbars_model_item_nth),
2338 (egg_toolbars_model_n_toolbars), (egg_toolbars_model_toolbar_nth),
2339 (egg_toolbars_model_add_item), (egg_toolbars_model_get_item_id),
2340 (egg_toolbars_model_get_item_data),
2341 (egg_toolbars_model_get_item_type):
2342 * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
2343 * cut-n-paste/toolbar-editor/eggmarshalers.list:
2345 * data/evince-toolbar.xml:
2346 * data/evince-ui.xml:
2347 * data/hand-open.png:
2349 * shell/Makefile.am:
2350 * shell/ev-window.c: (update_chrome_visibility),
2351 (ev_window_cmd_edit_toolbar_cb), (ev_window_cmd_edit_toolbar),
2352 (ev_window_dispose), (ev_window_init):
2354 Implement epiphany like toolbar editor. Based on patch by
2355 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2357 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2359 * shell/ev-sidebar-thumbnails.c: (page_changed_cb):
2361 Use set_cursor instead of set_selection, so that
2362 the keyboard focus moves too.
2364 2005-05-09 Aleksey Kliger <akliger@gmail.com>
2366 * dvi/mdvi-lib/tfmfile.c: (lookup_font_metrics):
2368 Fix infinite loop when loading Type1 fonts
2370 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2372 * data/evince-ui.xml:
2373 * shell/ev-window.c:
2377 2005-05-09 Thomas de Grenier de Latour <degrenier@easyconnect.fr>
2381 Make --disable really disable
2383 2005-05-07 Juerg Billeter <j@bitron.ch>
2385 * backend/ev-page-cache.c: (ev_page_cache_set_page_label):
2387 Compare page labels even without has_labels set, fixes setting page
2390 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2392 * shell/ev-view.c: (ev_view_create_invisible_cursor),
2393 (ev_view_set_cursor), (ev_view_button_press_event),
2394 (ev_view_motion_notify_event), (ev_view_button_release_event),
2397 Implement middle button scrolling. Based on a patch
2398 by Tommi Komulainen <tommi.komulainen@iki.fi>.
2400 2005-05-08 Marco Pesenti Gritti <mpg@redhat.com>
2402 * shell/ev-document-types.c: (get_slow_mime_type),
2403 (get_document_type_from_mime), (ev_document_type_lookup):
2404 * shell/ev-document-types.h:
2406 Change api to lookup from uri. Do fast lookup first, if the
2407 type is unknown try with data sniffing.
2409 * shell/ev-window.c: (ev_window_open), (ev_window_open_uri_list):
2410 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
2414 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2416 * thumbnailer/Makefile.am:
2420 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2427 * data/evince-ui.xml:
2429 Hide presentation mode for now
2431 * shell/ev-view.c: (highlight_find_results):
2433 Show current find selection only on current page
2435 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2437 * shell/ev-view.c: (ev_view_select_all):
2439 Compute size of the actual page, not of
2442 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2444 * shell/ev-view.c: (clear_selection), (ev_view_finalize),
2445 (view_rect_to_doc_rect), (compute_selections),
2446 (ev_view_bin_expose), (ev_view_select_all), (get_selected_text),
2447 (ev_view_copy), (ev_view_primary_get_cb),
2448 (ev_view_primary_clear_cb), (ev_view_update_primary_selection),
2449 (ev_view_button_press_event), (ev_view_motion_notify_event),
2450 (ev_view_button_release_event), (page_changed_cb):
2454 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2456 * shell/ev-view.c: (compute_border), (get_page_extents),
2457 (doc_rect_to_view_rect), (highlight_find_results),
2458 (ev_view_bin_expose), (ev_view_select_all),
2459 (ev_view_motion_notify_event), (update_find_status_message),
2460 (jump_to_find_result), (jump_to_find_page):
2462 First go at fixing search, still buggy
2464 2005-05-04 Kristian Høgsberg <krh@redhat.com>
2466 * shell/ev-sidebar.c (ev_sidebar_init): Remove frame around
2467 dropdown box and button at the top of the sidebar.
2469 2005-05-02 James Bowes <bowes@cs.dal.ca>
2471 * configure.ac: Output zoom-control Makefile.
2472 * cut-n-paste/Makefile.am: build zoom-control subdir.
2473 * cut-n-paste/zoom-control/ephy-zoom-action.c:
2474 * cut-n-paste/zoom-control/ephy-zoom-action.h:
2475 * cut-n-paste/zoom-control/ephy-zoom-control.c:
2476 * cut-n-paste/zoom-control/ephy-zoom-control.h:
2477 * cut-n-paste/zoom-control/ephy-zoom.c:
2478 * cut-n-paste/zoom-control/ephy-zoom.h: New files imported
2479 from epiphany, and modified to add a separator into the menu.
2480 * cut-n-paste/zoom-control/Makefile.am: Build zoom-control.
2481 * data/evince-ui.xml: Replace old zoom toolbar actions with new
2482 zoom-control action.
2483 * shell/Makefile.am: Include zoom-control flags.
2484 * shell/ev-view.c: (ev_view_set_zoom), (ev_view_get_zoom),
2485 (ev_view_get_sizing_mode), (ev_view_zoom_in), (ev_view_zoom_out),
2486 (ev_view_zoom_for_size_presentation),
2487 (ev_view_zoom_for_size_continuous_and_dual_page),
2488 (ev_view_zoom_for_size_continuous),
2489 (ev_view_zoom_for_size_dual_page),
2490 (ev_view_zoom_for_size_single_page), (ev_view_zoom_normal):
2491 s/ev_view_zoom/ev_view_set_zoom/ and make public, add
2492 ev_view_get_zoom and ev_view_get_sizing_mode.
2494 * shell/ev-window.c: (update_action_sensitivity),
2495 (update_sizing_buttons), (zoom_control_changed_cb),
2496 (register_custom_actions): Initialize and use the zoom-control
2499 Sun May 1 00:46:47 2005 Jonathan Blandford <jrb@redhat.com>
2501 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init): Change the
2502 preview cache back to 1. Don't know when it got set to 0.
2504 * shell/ev-view.c: (compute_border), (ev_view_realize),
2505 (draw_one_page), (ev_view_set_property), (ev_view_get_property),
2506 (ev_view_class_init), (ev_view_init), (ev_view_set_fullscreen),
2507 (ev_view_get_fullscreen), (ev_view_set_presentation),
2508 (ev_view_get_presentation), (ev_view_set_sizing_mode),
2509 (ev_view_zoom_for_size_presentation), (ev_view_set_zoom_for_size):
2511 * shell/ev-window.c:
2512 (update_chrome_visibility),
2513 (ev_window_cmd_continuous), (ev_window_cmd_dual),
2514 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
2515 (update_document_mode), (ev_window_update_fullscreen_action),
2516 (ev_window_fullscreen), (ev_window_unfullscreen),
2517 (ev_window_cmd_view_fullscreen),
2518 (ev_window_update_presentation_action),
2519 (ev_window_run_presentation), (ev_window_stop_presentation),
2520 (ev_window_cmd_view_presentation), (ev_window_state_event),
2521 (ev_window_focus_in_event), (ev_window_focus_out_event),
2522 (ev_window_cmd_escape), (ev_window_sidebar_visibility_changed_cb):
2523 * data/evince-ui.xml: Initial presentation mode. We should
2524 probably hide this until it's done, as it's quite rough. Also,
2525 change full-screen to fullscreen and add two getters to EvView.
2527 2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
2529 * shell/ev-page-action.c: (update_page_cache),
2530 (ev_page_action_dispose):
2531 * shell/ev-window.c: (destroy_fullscreen_popup),
2532 (ev_window_create_fullscreen_popup):
2534 Use connect_object rather than explicitly
2535 disconnect on dispose.
2537 2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
2539 * shell/ev-page-action.c: (update_page_cache),
2540 (ev_page_action_dispose):
2542 2005-04-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2544 * backend/ev-page-cache.c: (_ev_page_cache_new),
2545 (ev_page_cache_set_page_label),
2546 (ev_page_cache_has_nonnumeric_page_labels):
2547 * backend/ev-page-cache.h:
2548 * shell/ev-page-action.c: (update_pages_label):
2550 If all page labels are numeric, fallback to default
2551 way to display number of pages. See bug 173185.
2553 2005-04-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2555 * shell/ev-page-action.c: (ev_page_action_dispose):
2556 * shell/ev-view.c: (view_update_range_and_current_page):
2557 * shell/ev-window.c: (ev_window_dispose):
2559 Set page on scroll in continuous mode. Fixes bug 301986.
2560 Also cleanup callbacks on destroy of EvWindow and EvPageAction.
2562 2005-04-26 Marco Pesenti Gritti <mpg@redhat.com>
2566 Require poppler 0.3.0
2568 2005-04-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2570 * shell/Makefile.am, configure.ac: Fix build problems
2571 with t1lib. Bug 301996.
2573 2005-04-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2575 * shell/ev-view.c: (ev_view_scroll_event):
2577 Scroll up increase zoom
2579 2005-04-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2581 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_class_init),
2582 (ev_view_set_sizing_mode),
2583 (ev_view_zoom_for_size_continuous_and_dual_page),
2584 (ev_view_zoom_for_size_continuous):
2585 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
2586 (ev_window_cmd_view_page_width), (ev_window_cmd_view_zoom_in),
2587 (ev_window_cmd_view_zoom_out), (ev_window_sizing_mode_changed_cb),
2590 Control + Scroll does zooming, Shift + Scroll scrolls horizontally
2591 Fix for 165473 and 165472.
2593 2005-04-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2596 * thumbnailer/Makefile.am:
2597 * thumbnailer/evince-thumbnailer-djvu.schemas.in:
2598 * thumbnailer/evince-thumbnailer-dvi.schemas.in:
2599 * thumbnailer/evince-thumbnailer.schemas.in:
2601 Make thumbnailer schemas translatable. Fix for bug 301773
2603 * thumbnailer/evince-thumbnailer-djvu.schemas:
2604 * thumbnailer/evince-thumbnailer-dvi.schemas:
2605 * thumbnailer/evince-thumbnailer.schemas:
2609 Sun Apr 24 01:37:39 2005 Jonathan Blandford <jrb@redhat.com>
2611 * shell/ev-view.c (ev_view_init): forgot to set this.
2613 Sun Apr 24 01:07:27 2005 Jonathan Blandford <jrb@redhat.com>
2615 * shell/ev-view.c: (find_page_at_location),
2616 (get_link_at_location),
2617 (ev_view_set_show_border), (ev_view_set_spacing),
2618 (ev_view_zoom_for_size_continuous_and_dual_page),
2619 (ev_view_zoom_for_size_continuous): Fix links for dual/continuous.
2620 Also, add a quick fix measuring of widths. Also, removed
2621 ev_view_set_spacing and ev_view_set_show_border.
2623 * shell/ev-window.c: (ev_window_unfullscreen),
2624 (ev_window_cmd_view_fullscreen): Don't adjust the border/spacing.
2626 2005-04-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2628 * shell/ev-view.c: (view_update_range_and_current_page),
2631 Fix crash on exit and scrolling to page in continuous view.
2633 Sat Apr 23 13:13:04 2005 Jonathan Blandford <jrb@redhat.com>
2636 * backend/ev-page-cache.c: (_ev_page_cache_new),
2637 (ev_page_cache_get_max_width_size),
2638 (ev_page_cache_get_max_height_size):
2639 * backend/ev-page-cache.h:
2640 * data/evince-ui.xml:
2641 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init):
2642 * shell/ev-view.c: (view_update_adjustments),
2643 (view_update_range_and_current_page), (get_bounding_box_size),
2644 (ev_view_size_request_continuous_and_dual_page),
2645 (ev_view_size_request_continuous),
2646 (ev_view_size_request_dual_page),
2647 (ev_view_size_request_single_page), (ev_view_size_request),
2648 (ev_view_size_allocate), (get_page_extents), (draw_one_page),
2649 (ev_view_bin_expose), (ev_view_expose_event),
2650 (ev_view_set_property), (ev_view_get_property),
2651 (ev_view_class_init), (ev_view_init), (ev_view_new),
2652 (page_changed_cb), (ev_view_zoom), (ev_view_set_continuous),
2653 (ev_view_set_dual_page), (ev_view_set_full_screen),
2654 (ev_view_set_presentation), (ev_view_set_sizing_mode),
2655 (ev_view_can_zoom_in), (ev_view_can_zoom_out), (ev_view_zoom_in),
2656 (ev_view_zoom_out), (zoom_for_size_fit_width),
2657 (zoom_for_size_best_fit),
2658 (ev_view_zoom_for_size_continuous_and_dual_page),
2659 (ev_view_zoom_for_size_continuous),
2660 (ev_view_zoom_for_size_dual_page),
2661 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
2662 (ev_view_show_cursor), (ev_sizing_mode_get_type):
2664 * shell/ev-window.c: (update_action_sensitivity),
2665 (ev_window_cmd_continuous), (ev_window_cmd_dual),
2666 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
2667 (update_sizing_buttons), (ev_window_cmd_view_zoom_in),
2668 (ev_window_cmd_view_zoom_out), (update_view_size),
2669 (ev_window_set_sizing_mode), (ev_window_init):
2671 Add Continuous and Dual page modes.
2673 2005-04-23 James Bowes <bowes@cs.dal.ca>
2675 * dvi/dvi-document.c: (dvi_document_load),
2676 (dvi_document_thumbnails_get_thumbnail),
2677 (dvi_document_init_params): Fix up some mixups between
2678 width and height to correct thumbnail rendering.
2680 2005-04-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2682 * dvi/mdvi-lib/private.h:
2683 * dvi/mdvi-lib/setup.c: (mdvi_init_kpathsea):
2685 Suppess output for kpathsea during font generation. Thanks to
2688 Fri Apr 22 19:57:46 2005 Jonathan Blandford <jrb@redhat.com>
2695 * Makefile.am: fix distcheck.
2697 2005-04-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2699 * shell/ev-sidebar-links.c: (selection_changed_callback),
2700 (update_page_callback), (row_activated_callback),
2701 (job_finished_callback), (ev_sidebar_links_set_document):
2703 Fix for bug #169901. Double click on links expands tree.
2705 2005-03-14 Bryan Clark <clarkbw@cvs.gnome.org>
2707 * shell/ev-window.c (ev_window_init): Removed fullscreen toolbar
2708 hard-coded style. Fix for bug 170111
2710 2005-04-22 Kristian Høgsberg <krh@redhat.com>
2712 * shell/ev-view.c (highlight_find_results): Remove unnecessary
2715 2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
2717 * thumbnailer/evince-thumbnailer.schemas: real fix for bug 172496
2719 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
2721 * pdf/ev-poppler.cc:
2722 * shell/ev-view.c: (highlight_find_results):
2724 Fix find on single page documents
2726 2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
2728 * data/evince.schemas.in: fix for bug 301390
2730 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
2732 * shell/ev-view.c: (ev_view_can_zoom_in), (ev_view_can_zoom_out),
2733 (ev_view_zoom_out), (ev_view_zoom_normal):
2735 * shell/ev-window.c: (update_action_sensitivity),
2736 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
2737 (ev_window_cmd_view_zoom_in), (ev_window_cmd_view_zoom_out),
2738 (ev_window_cmd_view_normal_size):
2740 Fix normal size zoom. Make zoom in/zoom out unsensitive when
2741 they are behyond the limits. Tweak MAX_ZOOM to 6, sucks but
2744 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
2748 Depend on 2.57, 2.59 doesnt seem to be necessary
2750 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
2752 * shell/ev-page-action.c: (update_pages_label), (page_changed_cb),
2755 Put back total number of pages as (1 of 1234)
2757 Thu Apr 21 23:37:52 2005 Jonathan Blandford <jrb@redhat.com>
2759 * shell/ev-pixbuf-cache.c (dispose_cache_job_info): actually
2762 * backend/ev-document.h: Remove EV_DOC_MUTEX in favor of a locking
2763 function. This helps debugging.
2765 2005-04-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2767 * djvu/djvu-document.c: (djvu_document_class_init),
2768 (djvu_document_get_info), (djvu_document_document_iface_init):
2769 * dvi/dvi-document.c: (dvi_document_class_init),
2770 (dvi_document_get_info), (dvi_document_document_iface_init):
2772 Dummy implementation of get_info method for dvi and djvu. Fix
2773 crashes with those backends
2775 2005-04-20 Marco Pesenti Gritti <mpg@redhat.com>
2777 * data/evince.desktop.in:
2779 Add application/x-gzpostscript
2781 2005-04-20 Bryan Clark <clarkbw@cvs.gnome.org>
2783 * data/evince.schemas.in: Added real long descriptions,
2786 * README: Added actual text, closes bug 171869
2788 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
2790 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
2794 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
2796 * backend/ev-document-info.h:
2798 s/GDate */GDate so we can just use g_free
2800 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
2802 * shell/ev-window.c: (update_document_mode),
2803 (ev_window_setup_document):
2805 Show the window in fullscreen when specified by
2808 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
2810 * backend/ev-document.c: (ev_document_class_init),
2811 (ev_document_get_info), (ev_document_render_pixbuf):
2812 * backend/ev-document.h:
2813 * backend/ev-page-cache.c: (_ev_page_cache_new):
2814 * pdf/ev-poppler.cc:
2815 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
2816 (pixbuf_document_get_info), (pixbuf_document_document_iface_init):
2817 * ps/ps-document.c: (ps_document_class_init), (document_load),
2818 (ps_document_get_info), (ps_document_document_iface_init):
2820 Remove get_title from the interface, we can just use document info
2822 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
2824 * backend/Makefile.am:
2825 * backend/ev-document.c: (ev_document_render_get_info):
2826 * backend/ev-document.h:
2827 * pdf/ev-poppler.cc:
2829 Initial support for document info. Based on jrb patch.
2831 2005-04-19 Paolo Borelli <pborelli@katamail.com>
2833 * shell/ev-window.c: (ev_window_state_event),
2834 (ev_window_class_init), (ev_window_init):
2836 Doesn't show resize grip when maximized. See bug #301053
2838 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2842 ev-sidebar-thumbnails now has translatable labels
2844 * shell/Makefile.am:
2845 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document),
2846 (ev_sidebar_links_support_document), (ev_sidebar_links_get_label),
2847 (ev_sidebar_links_page_iface_init):
2848 * shell/ev-sidebar-links.h:
2849 * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
2850 (ev_sidebar_page_support_document), (ev_sidebar_page_set_document),
2851 (ev_sidebar_page_get_label):
2852 * shell/ev-sidebar-page.h:
2853 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_new),
2854 (ev_sidebar_thumbnails_set_document),
2855 (ev_sidebar_thumbnails_support_document),
2856 (ev_sidebar_thumbnails_get_label),
2857 (ev_sidebar_thumbnails_page_iface_init):
2858 * shell/ev-sidebar-thumbnails.h:
2859 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
2860 (ev_sidebar_set_document):
2861 * shell/ev-sidebar.h:
2862 * shell/ev-window.c: (ev_window_setup_document), (ev_window_init):
2864 Small rework of sidebar code. Now sidebar pages should implement
2865 EvSidebarPage interface. That makes page management in EvSidebar
2866 easier. See bug #164811 for details
2868 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2870 * shell/ev-application.c: (ev_application_open):
2871 * shell/ev-document-types.c:
2873 Fix build error and small problem with application exit
2875 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2877 * thumbnailer/Makefile.am:
2878 * thumbnailer/evince-thumbnailer-djvu.schemas:
2879 * thumbnailer/evince-thumbnailer-dvi.schemas:
2881 Conditionally install schemas for djvu/dvi thumbnailer
2883 2005-04-18 David Malcolm <dmalcolm@redhat.com>
2885 * shell/ev-document-types.h:
2886 * shell/ev-document-types.c:
2887 New files, handling the mapping from mimetypes to backends
2889 * shell/ev-window.c:
2890 * thumbnailer/evince-thumbnailer.c:
2891 Use the ev-document-types code
2893 * shell/Makefile.am:
2894 Added new convenience library libevbackendfactory_la, containing
2895 the new mimetype->backend logic; moved the backends into it.
2897 * thumbnailer/Makefile.am:
2898 Make the thumbnailer link with the libevbackend.la convenience
2899 library, rather than having a duplicate of the backend logic here.
2901 2005-04-18 Paolo Borelli <pborelli@katamail.com>
2903 * shell/ev-stock-icons.c: constify some vars.
2904 * shell/ev-window.c: ditto.
2906 2005-04-18 Marco Pesenti Gritti <mpg@redhat.com>
2908 * ps/ps-document.c (get_page_orientation):
2910 Respect document orientation
2912 2005-04-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2916 * shell/Makefile.am:
2918 Move library dependencies to components.
2920 * shell/ev-window.c: (update_window_title),
2921 (start_loading_document):
2923 Fix display of uris with spaces. Bug 168358.
2925 Sat Apr 16 18:53:47 2005 Jonathan Blandford <jrb@redhat.com>
2927 * shell/ev-sidebar-links.c: (selection_changed_cb):
2928 * shell/ev-view.c: (ev_view_finalize), (go_to_link),
2929 (ev_view_button_release_event), (ev_view_set_document):
2931 * shell/ev-window.c: (find_bar_search_changed_cb):
2932 * shell/ev-window.h: Minor cleanups removing some dead code.
2934 2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2936 * backend/ev-page-cache.c: (_ev_page_cache_new):
2938 Set current page to 0 if document has pages.
2940 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
2942 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
2944 Initialize GError to NULL, fix a crash when loading fails.
2946 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
2948 * shell/ev-window.c: (update_view_size):
2950 Calculate shadow size only when there is actually
2953 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
2955 * shell/ev-view.c: (ev_view_set_spacing), (ev_view_init):
2958 Allow setting view spacing, default to 0
2960 * shell/ev-window.c: (ev_window_unfullscreen),
2961 (ev_window_cmd_view_fullscreen), (ev_window_init):
2963 Remove spacing in fullscreen mode
2965 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
2967 * shell/ev-view.c: (compute_border), (compute_zoom_factor),
2968 (ev_view_size_request), (expose_bin_window),
2969 (ev_view_set_show_border), (ev_view_init), (page_changed_cb):
2971 * shell/ev-window.c: (ev_window_unfullscreen),
2972 (ev_window_cmd_view_fullscreen):
2974 Do not draw the border in fulscreen
2976 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
2978 * shell/ev-view.c: (ev_view_get_offsets), (compute_zoom_factor),
2979 (ev_view_size_request), (expose_bin_window), (ev_view_select_all),
2980 (find_page_at_location), (page_changed_cb):
2982 Rework border calculation, so that I can more easily disable it.
2983 Code somewhat cleaner too.
2985 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
2987 * backend/ev-page-cache.c: (ev_page_cache_init),
2988 (_ev_page_cache_new):
2990 Remove some assertions, documents can have 0 pages.
2991 Make initial current page -1.
2993 * shell/ev-page-action.c: (page_changed_cb):
2995 Show "" if current page is -1
2997 * shell/ev-window.c: (update_action_sensitivity),
2998 (ev_window_setup_document):
3000 When document has 0 pages do not set the view
3001 and make nearly everything insensitive.
3003 2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3005 * shell/ev-page-view.c:
3006 * shell/ev-page-view.h:
3008 Remove unused files.
3010 * shell/ev-sidebar-thumbnails.c:
3011 (ev_sidebar_thumbnails_set_document):
3012 * shell/ev-sidebar.c: (ev_sidebar_set_document),
3013 (ev_sidebar_supports_document):
3014 * shell/ev-sidebar.h:
3015 * shell/ev-window.c: (ev_window_setup_document):
3017 Doesn't show thumbnails if document has 1 page. Make
3018 sidebar menu entries sensitive only if if they have
3019 sense. Fix bug 164811.
3021 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
3023 * shell/ev-view.c: (compute_zoom_factor), (ev_view_size_request),
3024 (page_changed_cb), (ev_view_zoom), (ev_view_zoom_in),
3025 (ev_view_zoom_out), (ev_view_set_size):
3027 Rework sizing to deal with documents with not uniform page
3030 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
3032 * backend/ev-page-cache.c: (_ev_page_cache_new):
3034 Fix several page size caching bugs
3036 2005-04-15 Luca Ferretti <elle.uca@libero.it>
3038 * shell/ev-window.c: (set_action_properties):
3040 Make all toolbar items translatable
3042 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
3044 * ps/ps-document.c: (ps_document_init), (ps_document_get_type),
3045 (save_page_list), (ps_document_save),
3046 (ps_document_document_iface_init), (ps_document_ps_export_begin),
3047 (ps_document_ps_export_do_page), (ps_document_ps_export_end),
3048 (ps_document_ps_exporter_iface_init):
3051 Based on a patch by J�rg Billeter <j@bitron.ch>
3053 Implement print and save a copy for the ps backend.
3055 2005-04-14 Marco Pesenti Gritti <mpg@redhat.com>
3057 * backend/ev-document.h:
3058 * djvu/djvu-document.c: (djvu_document_can_get_text),
3059 (djvu_document_document_iface_init):
3060 * dvi/dvi-document.c: (dvi_document_can_get_text),
3061 (dvi_document_document_iface_init):
3062 * pdf/ev-poppler.cc:
3063 * pixbuf/pixbuf-document.c: (pixbuf_document_can_get_text),
3064 (pixbuf_document_document_iface_init):
3065 * ps/ps-document.c: (ps_document_can_get_text),
3066 (ps_document_document_iface_init):
3067 * shell/ev-view.c: (ev_view_copy), (ev_view_primary_get_cb):
3068 * shell/ev-window.c: (update_action_sensitivity):
3070 Fix the crash when trying to copy in backends that doesnt
3071 support it. We can implement a better solution once we
3072 do real text selection.
3074 2005-04-12 Marco Pesenti Gritti <mpg@redhat.com>
3076 * data/evince-ui.xml:
3077 * shell/ev-window.c: (ev_window_cmd_escape):
3079 Work around the Escape conflict (find bar and unfullscreen)
3081 2005-04-12 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
3083 * backend/ev-page-cache.c: (ev_page_cache_next_page):
3085 Fix for #300233. Next page correctly handles document end.
3087 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
3088 (ev_sidebar_thumbnails_class_init),
3089 (ev_sidebar_thumbnails_set_document),
3090 (ev_sidebar_thumbnails_clear_job),
3091 (ev_sidebar_thumbnails_clear_model):
3093 Cleanup thumbnail jobs on document changes.
3095 * shell/ev-view.c: (add_scroll_binding_keypad),
3096 (add_scroll_binding_shifted), (ev_view_class_init):
3098 Shift + Space scrolls up. Fix for #173184
3100 * shell/ev-window.c: (ev_window_open_page),
3101 (ev_window_cmd_view_reload):
3103 Fix reload (Bug #300094)
3105 2005-04-09 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3108 * dvi/mdvi-lib/assoc.c:
3109 * dvi/mdvi-lib/assoc.h: Removed garbage files
3111 * dvi/mdvi-lib/bitmap.c:
3112 * dvi/mdvi-lib/color.c: (mdvi_set_color), (mdvi_push_color),
3113 (mdvi_pop_color), (mdvi_reset_color), (get_color_table):
3114 * dvi/mdvi-lib/color.h: Antialias of rules
3116 * dvi/mdvi-lib/common.h:
3117 * dvi/mdvi-lib/dviread.c: (mdvi_configure), (mdvi_init_context),
3118 (mdvi_destroy_context), (draw_shrink_rule), (draw_box), (set_rule):
3119 * dvi/mdvi-lib/files.c:
3120 * dvi/mdvi-lib/fontmap.c: (ps_init_default_paths):
3121 * dvi/mdvi-lib/mdvi.h:
3122 * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
3123 * dvi/mdvi-lib/tfmfile.c: (ofm_load_file):
3124 * dvi/mdvi-lib/util.c: Fix compile warnings
3126 * dvi/dvi-document.c:
3127 (dvi_document_load), (dvi_document_thumbnails_get_dimensions),
3128 (dvi_document_thumbnails_get_thumbnail),
3129 (dvi_document_document_thumbnails_iface_init):
3130 * dvi/mdvi-lib/Makefile.am:
3131 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
3132 (dvi_pixbuf_set_color), (mdvi_pixbuf_device_render):
3134 Dvi backend now renders thumbnails
3136 2005-04-09 Christian Persch <chpe@cvs.gnome.org>
3138 * shell/main.c: (main):
3140 Save accelerators on exit. Fixes bug #172095.
3142 Sat Apr 9 01:05:09 2005 Jonathan Blandford <jrb@redhat.com>
3144 * shell/ev-pixbuf-cache.c (move_one_job): Actually fix the "FIXME:
3145 update priority" comment.
3147 * backend/ev-job-queue.c: Give a way to change priority.
3149 Sat Apr 9 00:05:36 2005 Jonathan Blandford <jrb@redhat.com>
3151 * shell/ev-page-action.c: Fix logic.
3153 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
3155 * shell/ev-view.c: (ev_view_can_find_next):
3156 * shell/ev-window.c: (ev_window_setup_document):
3158 Check that the document supports find
3160 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
3162 * data/evince-ui.xml:
3163 * shell/ev-view.c: (ev_view_can_find_next):
3165 * shell/ev-window.c: (update_action_sensitivity),
3166 (find_changed_cb), (ev_window_setup_document),
3167 (ev_window_cmd_edit_find_next):
3171 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
3173 * pdf/ev-poppler.cc:
3174 * shell/ev-print-job.c: (idle_print_handler):
3176 Make printing work again
3178 Fri Apr 8 01:12:24 2005 Jonathan Blandford <jrb@redhat.com>
3180 * shell/ev-page-action.h:
3181 * shell/ev-page-action.c: (ev_page_action_widget_init),
3182 (ev_page_action_widget_class_init), (page_changed_cb),
3183 (create_tool_item), (update_page_cache), (build_new_tree_cb),
3184 (get_filter_model_from_model), (match_selected_cb),
3185 (display_completion_text), (match_completion), (update_model),
3186 (connect_proxy), (ev_page_action_set_property),
3187 (ev_page_action_get_property), (ev_page_action_set_document),
3188 (ev_page_action_set_model), (ev_page_action_class_init): Big
3189 reworking to make completions work iff we have >= GTK-2.7.0
3191 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_property),
3192 (ev_sidebar_links_get_property), (ev_sidebar_links_class_init),
3193 (job_finished_cb): We now have a 'model' property that is set when
3194 the links are loaded. This can be caught with "notify::model"
3196 * shell/ev-window.c: (sidebar_widget_model_set), (ev_window_init):
3197 listen for the model to be set, and propagate it to the action.
3199 2005-04-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3201 * cut-n-paste/recent-files/egg-recent-item.c:
3202 (egg_recent_item_set_uri), (make_valid_utf8),
3203 (egg_recent_item_set_mime_type), (egg_recent_item_get_mime_type):
3204 * cut-n-paste/recent-files/egg-recent-item.h:
3206 Update egg-recent from libegg. This should fix long
3207 startup problem. For details see
3208 http://bugzilla.gnome.org/show_bug.cgi?id=160531
3210 2005-04-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3212 * cut-n-paste/recent-files/Makefile.am:
3213 * data/evince-ui.xml, shell/Makefile.am:
3214 * shell/ev-application.c, shell/ev-application.h:
3215 * shell/ev-window.c: Recent files support.
3217 * configure.ac: Added "ru" to ALL_LINGUAS.
3219 * dvju: new backend to support DJVU files.
3220 * dvi: new backend to support DVI.
3222 * configure.ac, Makefile.am, shell/Makefile.am, ev-window.c:
3223 * ev-application.c: Support for new backends.
3225 * help, ev-window.c, main.c shell/Makefile.am:
3226 Evince user documentation.
3228 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
3231 * shell/ev-window.c:
3232 * thumbnailer/evince-thumbnailer.c:
3234 s/pdf-document/ev-poppler
3236 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
3243 * ps/ps-document.c: (setup_pixmap):
3247 2005-04-05 Kristian Høgsberg <krh@redhat.com>
3249 * backend/ev-page-cache.c (ev_page_cache_next_page):
3250 * shell/ev-window.c (ev_window_cmd_go_next_page)
3251 (ev_window_cmd_go_first_page): Fix of by one errors.
3253 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
3255 * ps/ps-document.c: (get_page_box):
3257 Fix page size calculation
3259 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
3261 * ps/ps-document.c: (ps_document_init), (push_pixbuf),
3262 (ps_document_cleanup), (setup_pixmap), (get_page_box),
3263 (get_page_orientation), (setup_page), (document_load),
3264 (ps_document_get_page_size), (render_pixbuf_idle):
3267 More refactoring to adapt to EvDocument changes
3269 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
3271 * ps/ps-document.c: (start_interpreter):
3273 Actually add alpha args
3275 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
3277 * pdf/ev-poppler.cc:
3279 Make clipboard work again
3281 2005-04-04 Kristian Høgsberg <krh@redhat.com>
3283 Make searching work again.
3285 * backend/ev-document.c:
3286 * backend/ev-document.h:
3287 * backend/ev-document-find.c:
3288 * backend/ev-document-find.h: Change EvDocumentIface so we no
3289 longer store the current page or zoom level in the document. The
3290 consequence is that all calls that operate on the current page now
3291 instead take the page number as an extra argument, and all
3292 coordinates are now doubles in document coordinate system.
3294 * pdf/ev-poppler.cc:
3295 * pixbuf/pixbuf-document.c:
3296 * ps/ps-document.c: Update backends accordingly.
3298 2005-04-04 Marco Pesenti Gritti <marco@gnome.org>
3302 Add required gettext version
3304 Sat Apr 2 18:57:00 2005 Jonathan Blandford <jrb@redhat.com>
3306 * shell/evwindow.c: Patch from Alberto Mesas <amesas@gmail.com> to
3307 make F1 bring up non-existent help.
3309 * shell/eggfindbar.c: Patch from Christian Persch to sync to
3310 epiphany's find bar, #167477
3312 * shell/ev-view.c (ev_view_jump): Patch from Emil Soleyman-Zomalan
3313 <emil@nishra.com> to add space-bar scrolling,
3315 * shell/ev-window.c (static GtkActionEntry entries): add default
3316 keybinding for Help (F1)
3319 * shell/ev-view.c (ev_view_show_cursor): Fix from Yuval Tanny
3320 changing EV_VIEW_CURSOR_LINK to EV_VIEW_CURSOR_NORMAL resolves bug
3323 2005-04-01 David Malcolm <dmalcolm@redhat.com>
3326 * pixbuf/pixbuf-document.c:
3328 Got pixbuf backend working again
3330 2005-04-01 Steve Murphy <murf@e-tools.com>
3332 * configure.in: Added "rw" to ALL_LINGUAS.
3334 Fri Apr 1 02:33:41 2005 Jonathan Blandford <jrb@redhat.com>
3336 * shell/ev-sidebar-links.c (create_loading_model): Fix mismatch in
3337 model types, noticed by Martin Kretzschmar.
3339 2005-04-01 Kristian Høgsberg <krh@redhat.com>
3341 * pdf/ev-poppler.cc: Implement search based on
3342 poppler_page_find_text(). Currently a bit crude since we remember
3343 all matches from all pages. Also, we grab the big document lock
3344 when we search since searching changes the underlying stream and
3345 thus conflicts with the rendering thread.
3347 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
3348 (jump_to_find_page), (ev_view_set_document), (ev_view_find_next),
3349 (ev_view_find_previous): Fix some page indexes to be 0 based,
3350 offset rubber band by view offset,
3352 Fri Apr 01 09:21:12 2005 Pablo Saratxaga <pablo@mandrakesoft.com>
3354 * configure.ac: Added Walloon (wa) to ALL_LINGUAS.
3356 Fri Apr 1 01:59:39 2005 Jonathan Blandford <jrb@redhat.com>
3358 * shell/ev-page-action.c: Changed to use page labels now. Rewrote
3359 completely because I didn't understand GtkActions. I should
3360 read Marco's code more carefully in the future.
3362 * backend/ev-page-cache.h (ev_page_cache_set_page_label): New
3365 2005-03-31 Kristian Høgsberg <krh@redhat.com>
3367 * pdf/ev-poppler.cc (pdf_document_get_links): Update to work with
3368 PopplerRectangle change from poppler CVS.
3370 Thu Mar 31 13:27:50 2005 Jonathan Blandford <jrb@redhat.com>
3372 * backend/ev-document.c: (ev_document_get_page_label):
3373 * backend/ev-document.h:
3374 * backend/ev-page-cache.c: (_ev_page_cache_new),
3375 (ev_page_cache_get_page_label):
3376 * backend/ev-page-cache.h:
3377 * pdf/ev-poppler.cc:
3378 * shell/ev-sidebar-links.c: (ev_sidebar_links_construct),
3379 (links_page_num_func):
3380 * shell/ev-sidebar-thumbnails.c:
3381 (ev_sidebar_thumbnails_set_document):
3382 * shell/ev-view.c: (status_message_from_link),
3383 (ev_view_motion_notify_event):
3384 * shell/ev-window.c: (document_supports_sidebar): Add in page
3385 label support. It's not perfect yet, but it's the first 'feature'
3387 Also, fix a bogus comment noticed by crispin.
3389 Thu Mar 31 01:21:58 2005 Jonathan Blandford <jrb@redhat.com>
3391 * Makefile.am: Remove pixbuf backend for now
3393 * configure.ac: Require poppler-glib instead of just poppler.
3395 * backend/ev-document-thumbnails.h: Add a comment
3397 * backend/ev-document.h:
3398 * backend/ev-document.c: (ev_document_class_init),
3399 (ev_document_load), (ev_document_get_link),
3400 (ev_document_get_links): Remove 3 methods and add get_links.
3403 * backend/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
3404 * backend/ev-jobs.h: now EvJobRender can grab the links for a document.
3406 * backend/ev-link.c: (ev_link_set_title),
3407 (ev_link_mapping_free_foreach), (ev_link_mapping_free),
3408 (ev_link_mapping_find):
3409 * backend/ev-link.h: Allow NULL titles. Also, introduce a mapping link.
3411 * backend/ev-page-cache.c: (ev_page_cache_init),
3412 (_ev_page_cache_new), (ev_page_cache_set_current_page),
3413 (ev_page_cache_get_size), (ev_page_cache_next_page),
3414 (ev_page_cache_prev_page): Fix to be 0 based.
3418 * pdf/ev-poppler.cc: New backend.
3420 * ps/ps-document.c: (ps_document_init), (ps_document_set_page),
3421 (ps_document_get_page), (ps_document_document_iface_init):
3423 * shell/ev-pixbuf-cache.h:
3424 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
3425 (dispose_cache_job_info), (job_finished_cb), (move_one_job),
3426 (ev_pixbuf_cache_update_range), (copy_job_to_job_info),
3427 (add_job_if_needed), (ev_pixbuf_cache_set_page_range),
3428 (ev_pixbuf_cache_get_pixbuf), (ev_pixbuf_cache_get_link_mapping):
3429 Fix up code to grab a page cache per each doc. Also, fix to be 0
3432 * shell/ev-sidebar-thumbnails.c:
3433 (ev_sidebar_tree_selection_changed), (page_changed_cb),
3434 (ev_sidebar_thumbnails_set_document): Fix to be 0 based.
3436 * shell/ev-view.c: (status_message_from_link),
3437 (find_page_at_location), (get_link_at_location),
3438 (ev_view_motion_notify_event), (ev_view_button_release_event),
3439 (ev_view_init): Use the new link code. Fix to be 0 based.
3441 * shell/ev-window.c: (update_action_sensitivity),
3442 (document_supports_sidebar): 0 based.
3444 Fri Mar 25 16:55:58 2005 Jonathan Blandford <jrb@redhat.com>
3446 * pdf/pdf-document.cc: Patch from Fernando Herrera
3447 <fherrera@onirica.com> to fix my quick fix to get_thumbnail.
3450 Wed Mar 23 23:49:41 2005 Jonathan Blandford <jrb@redhat.com>
3452 * pdf/pdf-document.cc (pdf_document_thumbnails_get_thumbnail): add
3453 1 to the page, as this seems to be 1 based. I thought we has this
3456 2005-03-23 Marco Pesenti Gritti <marco@gnome.org>
3459 * backend/Makefile.am:
3460 * backend/ev-document-links.c:
3461 (ev_document_links_has_document_links),
3462 (ev_document_links_get_links_model):
3463 * backend/ev-document-links.h:
3464 * backend/ev-document.c: (ev_document_get_page_cache),
3465 (ev_document_get_doc_mutex), (ev_document_load),
3466 (ev_document_save), (ev_document_get_title),
3467 (ev_document_get_n_pages), (ev_document_set_page),
3468 (ev_document_get_page), (ev_document_set_target),
3469 (ev_document_set_scale), (ev_document_set_page_offset),
3470 (ev_document_get_page_size), (ev_document_get_text),
3471 (ev_document_get_link), (ev_document_render),
3472 (ev_document_render_pixbuf), (ev_document_scale_changed):
3473 * backend/ev-document.h:
3474 * backend/ev-job-queue.c: (remove_object_from_queue),
3475 (notify_finished), (handle_job), (search_for_jobs_unlocked),
3476 (no_jobs_available_unlocked), (ev_render_thread),
3477 (ev_job_queue_init), (find_queue), (ev_job_queue_add_job),
3478 (ev_job_queue_remove_job):
3479 * backend/ev-job-queue.h:
3480 * backend/ev-jobs.c: (ev_job_init), (ev_job_dispose),
3481 (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
3482 (ev_job_links_class_init), (ev_job_render_init),
3483 (ev_job_render_dispose), (ev_job_render_class_init),
3484 (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
3485 (ev_job_thumbnail_class_init), (ev_job_finished),
3486 (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
3487 (ev_job_render_run), (ev_job_thumbnail_new),
3488 (ev_job_thumbnail_run):
3489 * backend/ev-jobs.h:
3490 * backend/ev-link.c:
3491 * backend/ev-link.h:
3492 * backend/ev-page-cache.c: (ev_page_cache_init),
3493 (ev_page_cache_class_init), (ev_page_cache_finalize),
3494 (_ev_page_cache_new), (ev_page_cache_get_n_pages),
3495 (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
3496 (ev_page_cache_set_link), (ev_page_cache_get_title),
3497 (ev_page_cache_get_size), (ev_page_cache_next_page),
3498 (ev_page_cache_prev_page):
3499 * backend/ev-page-cache.h:
3500 * pdf/pdf-document.cc:
3503 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
3504 (push_pixbuf), (interpreter_failed), (ps_document_cleanup),
3505 (ps_document_widget_event), (ps_document_finalize), (get_xdpi),
3506 (get_ydpi), (setup_pixmap), (setup_page), (close_pipe),
3507 (is_interpreter_ready), (output), (catchPipe), (input),
3508 (start_interpreter), (check_filecompressed), (compute_dimensions),
3509 (ps_document_enable_interpreter), (document_load),
3510 (ps_document_next_page), (render_page), (ps_document_set_page),
3511 (ps_document_set_scale), (render_pixbuf_idle),
3512 (ps_document_render_pixbuf), (ps_document_document_iface_init):
3514 * shell/Makefile.am:
3515 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
3516 (ev_pixbuf_cache_class_init), (ev_pixbuf_cache_finalize),
3517 (dispose_cache_job_info), (ev_pixbuf_cache_dispose),
3518 (ev_pixbuf_cache_new), (job_finished_cb),
3519 (check_job_size_and_unref), (move_one_job),
3520 (ev_pixbuf_cache_update_range), (find_job_cache),
3521 (ev_pixbuf_cache_clear_job_sizes), (add_job_if_needed),
3522 (ev_pixbuf_cache_add_jobs_if_needed),
3523 (ev_pixbuf_cache_set_page_range), (ev_pixbuf_cache_get_pixbuf):
3524 * shell/ev-pixbuf-cache.h:
3525 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
3526 (idle_print_handler):
3527 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
3528 (selection_changed_cb), (create_loading_model),
3529 (ev_sidebar_links_construct), (links_page_num_func),
3530 (ev_sidebar_links_clear_document), (update_page_callback_foreach),
3531 (update_page_callback), (job_finished_cb),
3532 (ev_sidebar_links_set_document):
3533 * shell/ev-sidebar-thumbnails.c:
3534 (ev_sidebar_thumbnails_class_init), (adjustment_changed_cb),
3535 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init),
3536 (page_changed_cb), (thumbnail_job_completed_callback),
3537 (ev_sidebar_thumbnails_set_document):
3538 * shell/ev-sidebar-thumbnails.h:
3539 * shell/ev-sidebar.c: (ev_sidebar_set_document):
3540 * shell/ev-view.c: (ev_view_finalize), (ev_view_destroy),
3541 (ev_view_get_offsets), (ev_view_size_request), (ev_view_realize),
3542 (ev_view_unrealize), (highlight_find_results), (expose_bin_window),
3543 (ev_view_select_all), (ev_view_copy), (ev_view_primary_get_cb),
3544 (ev_view_create_invisible_cursor), (ev_view_motion_notify_event),
3545 (ev_view_button_release_event), (ev_view_scroll_view),
3546 (ev_view_class_init), (ev_view_init), (update_find_status_message),
3547 (jump_to_find_result), (jump_to_find_page), (find_changed_cb),
3548 (ev_view_new), (job_finished_cb), (page_changed_cb),
3549 (ev_view_set_document), (go_to_link), (ev_view_zoom),
3550 (size_to_zoom_factor), (ev_view_set_size), (ev_view_find_next),
3551 (ev_view_find_previous):
3553 * shell/ev-window.c: (update_action_sensitivity),
3554 (ev_window_open_page), (update_window_title), (update_total_pages),
3555 (page_changed_cb), (ev_window_setup_document),
3556 (password_dialog_response), (ev_window_cmd_save_as),
3557 (ev_window_print), (ev_window_cmd_go_previous_page),
3558 (ev_window_cmd_go_next_page), (ev_window_cmd_go_first_page),
3559 (ev_window_cmd_go_last_page), (ev_window_cmd_view_reload),
3560 (find_bar_search_changed_cb), (goto_page_cb), (ev_window_init):
3561 * shell/main.c: (main):
3563 Merge evince-threads branch
3565 2005-03-16 Žygimantas Beručka <uid0@akl.lt>
3567 * configure.ac: Added "lt" to ALL_LINGUAS.
3569 2005-03-14 Marco Pesenti Gritti <marco@gnome.org>
3576 2005-03-13 Fernando Herrera <fherrera@onirica.com>
3578 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3580 Fix here also the thumbnails 1-basedness :)
3582 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
3589 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
3591 * pdf/pdf-document.cc:
3592 * shell/ev-sidebar-thumbnails.c: (adjustment_changed_cb),
3593 (do_one_iteration), (ev_sidebar_thumbnails_set_document):
3595 Fix the mess we did with thumbnails and 1-basedness
3597 2005-03-12 Changwoo Ryu <cwryu@debian.org>
3599 * configure.ac (ALL_LINGUAS): Added "ko" (Korean).
3601 2005-03-09 Marco Pesenti Gritti <marco@gnome.org>
3608 2005-03-08 Marco Pesenti Gritti <marco@gnome.org>
3611 * ps/gsdefaults.c: (gtk_gs_defaults_get_interpreter_cmd),
3612 (gtk_gs_defaults_get_alpha_parameters),
3613 (gtk_gs_defaults_get_ungzip_cmd),
3614 (gtk_gs_defaults_get_unbzip2_cmd):
3616 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
3617 (ps_document_get_orientation), (document_load),
3618 (ps_document_goto_page), (ps_document_set_page_size):
3621 Some more sanitization of the ps backend. Remove a lot
3622 of unused code and do not base our defaults on ggv
3625 2005-03-08 Fernando Herrera <fherrera@onirica.com>
3627 * thumbnailer/evince-thumbnailer.schemas:
3628 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
3629 (main): add -s option for thumbnail size.
3631 2005-03-07 Christian Persch <chpe@cvs.gnome.org>
3635 AC_PROG_RANLIB is rendered obsolete by AC_PROG_LIBTOOL;
3638 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
3640 * pdf/pdf-document.cc:
3642 Remove 4 pixels of useless border from the
3645 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
3647 * backend/ev-document-thumbnails.c:
3648 (ev_document_thumbnails_get_thumbnail):
3649 * backend/ev-document-thumbnails.h:
3651 Rework API a bit. Add a border flag and
3652 change sizing logic (now the size we specify
3653 applies to the bigger dimension).
3655 * pdf/pdf-document.cc:
3656 * pixbuf/pixbuf-document.c:
3657 (pixbuf_document_thumbnails_get_thumbnail):
3658 * shell/ev-sidebar-thumbnails.c: (do_one_iteration):
3659 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3661 Adapt to the new API and do not draw a border for nautilus
3664 2005-03-03 Fernando Herrera <fherrera@onirica.com>
3666 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3667 take thumbnails from page "0" instead of "1". Added a copyright header.
3669 2005-03-03 Jens Granseuer <jensgr@gmx.net>
3671 * ps/ps-document.c: (set_up_page), (start_interpreter):
3673 Make it C89 compliant
3675 2005-03-03 Marco Pesenti Gritti <marco@gnome.org>
3680 * pdf/pdf-document.cc:
3681 * thumbnailer/Makefile.am:
3682 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
3684 * thumbnailer/evince-thumbnailer.schemas:
3685 * thumbnailer/pdf-icon.png:
3687 Add a nautilus thumbnailer.
3688 Based on patch by Fernando Herrera <fherrera@onirica.com>.
3690 2005-03-02 Marco Pesenti Gritti <marco@gnome.org>
3698 2005-03-01 Kristian Høgsberg <krh@redhat.com>
3700 Use poppler instead of including xpdf source code. Poppler is a
3701 fork of xpdf to build it as a shared library. See
3702 http://freedesktop.org/wiki/Software/poppler.
3704 * pdf/xpdf/*, pdf/goo/*, pdf/splash/*, pdf/fofi/*: Remove included
3707 * pdf/Makefile.am: Build libpdfdocument.a here.
3709 * pdf/GDKSplashOutputDev.cc:
3710 * pdf/GDKSplashOutputDev.h:
3711 * pdf/GnomeVFSStream.cc:
3712 * pdf/GnomeVFSStream.h:
3715 * test-gdk-output-dev.cc
3717 * Thumb.h: Pull these files out of pdf/xpdf and adjust to compile
3720 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
3722 * shell/ev-sidebar-links.c: (ev_sidebar_links_clear_document):
3724 Clear idle stack before unsetting the document
3726 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
3728 * ps/ps-document.c: (ps_document_widget_event),
3729 (ps_document_set_target), (ps_document_finalize),
3730 (ps_document_get_page):
3732 Disconnect the widget event signal on finalize.
3735 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
3737 * ps/ps-document.c: (set_up_page):
3739 If there is no bpixmap create one, even if size
3742 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
3744 * ps/ps-document.c: (ps_document_init), (ps_document_cleanup),
3745 (set_up_page), (document_load), (ps_document_set_zoom):
3747 Default page is 0. Calculate size even when we have no
3750 2005-02-28 Carlos Garcia Campos <carlosgc@gnome.org>
3752 * shell/ev-sidebar.c: expand the selection widget to be always as
3755 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
3757 * shell/ev-sidebar-thumbnails.c:
3758 (ev_sidebar_thumbnails_set_document):
3760 Clear the list store when setting document
3762 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
3764 * shell/ev-page-action.c: (update_entry), (sync_entry),
3765 (activate_cb), (entry_size_request_cb), (create_tool_item),
3768 Use an entry for the page control instead of spinbuttons
3770 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
3772 * data/evince.schemas.in:
3774 Correct confusing string
3776 Sun Feb 27 23:00:31 2005 Jonathan Blandford <jrb@redhat.com>
3778 * shell/ev-sidebar-links.c (do_one_iteration): Handle title links
3779 for real. Gosh, how long has this been broken.
3781 * pdf/xpdf/pdf-document.cc (build_link_from_action): add back the
3782 check for a NULL link. We crash otherwise.
3784 2005-02-27 Marco Pesenti Gritti <marco@gnome.org>
3791 2005-02-25 Sebastien Bacher <seb128@debian.org>
3793 * configure.ac: add the french translation.
3795 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
3797 * shell/ev-window.c:
3799 Remove unused header -> fix distcheck
3801 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
3803 * shell/ev-window.c: (update_window_title),
3804 (ev_window_popup_password_dialog):
3806 Unescape filename for display
3808 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
3810 * pdf/xpdf/pdf-document.cc:
3812 In get_page_size deal with rotation. Also
3813 cleanup the function a bit.
3815 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
3817 * pdf/xpdf/pdf-document.cc:
3819 Fix crash when opening in new window
3821 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
3825 Check ghostscript >= 7
3827 2005-02-25 Pedro Villavicencio <pvillavi@gnome.cl>
3829 * shell/ev-window.c:
3831 Make page width the default sizing mode
3833 2005-02-25 Carlos Garcia Campos <carlosgc@gnome.org>
3834 Marco Pesenti Gritti <marco@gnome.org>
3836 * shell/ev-window.c: Remember the sidebar size
3838 * data/evince.schemas.in: Add a new gconf key to store the size of
3841 2005-02-24 Kai Willadsen <kaiw@itee.uq.edu.au>
3843 * data/evince-ui.xml:
3844 * shell/ev-window.c: (update_action_sensitivity),
3845 (ev_window_cmd_view_reload):
3847 Add a "Reload" action and menu entry
3849 Thu Feb 24 23:07:33 2005 Jonathan Blandford <jrb@redhat.com>
3851 * shell/ev-window.c (hide_sidebar_and_actions): Hide the sidebar
3852 iff the type doesn't support thumbnailing and indexing.
3854 2005-02-24 Martin Kretzschmar <martink@gnome.org>
3856 * configure.ac (ALL_LINGUAS): Added "zh_TW" (Traditional Chinese).
3858 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
3860 * pdf/splash/Splash.cc:
3862 Port fix for a crasher from kde bug
3863 http://bugs.kde.org/show_bug.cgi?id=97131
3865 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
3867 * pdf/xpdf/pdf-document.cc:
3869 Return a link even if it's of an unrecognized
3870 type. Otherwise we go in an infinte cycle.
3872 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
3874 * shell/ev-window.c: (update_sizing_buttons), (update_view_size),
3875 (size_allocate_cb), (ev_window_set_sizing_mode):
3877 Update size when switching mode
3879 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
3881 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
3882 (ev_window_cmd_view_page_width), (update_sizing_buttons),
3883 (ev_window_cmd_view_normal_size):
3885 Fix size toggle buttons behavior
3887 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
3889 * shell/ev-view.c: (ev_view_get_offsets), (view_rect_to_doc_rect),
3890 (doc_rect_to_view_rect), (ev_view_size_allocate),
3891 (expose_bin_window), (ev_view_select_all), (page_changed_callback),
3892 (scale_changed_callback):
3894 Do not cache offsets in size_allocate.
3896 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
3898 * shell/ev-view.c: (ev_view_size_allocate):
3900 Calculate offsets before calling the parent
3901 class (which does a redraw)
3903 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
3905 * pdf/xpdf/pdf-document.cc:
3907 Fix a crasher on exit. Unused code, put a TODO
3909 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
3911 * backend/ev-document.c: (ev_document_class_init),
3912 (ev_document_page_changed), (ev_document_scale_changed):
3913 * backend/ev-document.h:
3915 Separate page/scale notifications
3917 * pdf/xpdf/pdf-document.cc:
3919 Emit the new signals.
3920 Do not display the pdf page in _render, do it
3921 when scale/page are requested.
3923 * ps/ps-document.c: (ps_document_set_zoom),
3924 (ps_document_widget_event):
3927 Emit the new signals.
3929 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
3930 (ev_view_init), (page_changed_callback), (scale_changed_callback),
3931 (ev_view_set_document), (ev_view_zoom), (ev_view_zoom_in),
3932 (ev_view_zoom_out), (size_to_zoom_factor), (ev_view_set_size):
3934 * shell/ev-window.c: (ev_window_cmd_view_normal_size),
3935 (ev_window_cmd_view_page_width), (size_allocate_cb),
3936 (ev_window_set_sizing_mode):
3938 Rework sizing to be pixel based.
3939 There are bugs but should be already way better.
3941 2005-02-23 Marco Pesenti Gritti <marco@gnome.org>
3943 * shell/ev-window.c: (ev_window_init):
3945 Do not allow to shrink sidebar smaller then
3948 2005-02-23 Carlos Garcia Campos <carlosgc@gnome.org>
3950 * shell/ev-sidebar.[ch]
3951 * shell/ev-window.c:
3953 Improved sidebar widget. Fixes #166683
3955 2005-02-23 Tommi Vainikainen <thv@iki.fi>
3957 * shell/ev-view.c (update_find_status_message): Give translators
3958 more flexibility with ngettext plural handling.
3960 Mon Feb 21 17:52:08 2005 Jonathan Blandford <jrb@redhat.com>
3962 * pdf/xpdf/pdf-document.cc (pdf_document_get_page_size): Patch
3963 from Crispin Flowerday <gnome@flowerday.cx> to avoid rendering the
3964 page when we get the page size.
3966 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
3968 * ps/ps-document.c: (ps_document_set_page), (ps_document_get_page):
3970 ps pages are 0 based, convert
3972 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
3974 * ps/ps-document.c: (ps_document_class_init), (ps_document_load):
3976 Initialize correct parent class. Set GError on document load
3978 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
3980 * pdf/xpdf/pdf-document.cc:
3982 Fixup selection offset calculation
3984 * shell/ev-view.c: (view_rect_to_doc_rect),
3985 (doc_rect_to_view_rect), (ev_view_size_allocate),
3986 (expose_bin_window), (ev_view_select_all), (ev_view_copy),
3987 (ev_view_primary_get_cb), (ev_view_motion_notify_event):
3989 Store selection as document relative, so that zooming
3990 and offset changing doesnt break it.
3992 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
3994 * shell/ev-view.c: (ev_view_best_fit):
3996 Do not try to best fit if the view is not realized
3998 2005-02-20 Kostas Papadimas <pkst@gnome.org>
4000 * configure.ac (ALL_LINGUAS): Added "el" (Greek).
4002 Fri Feb 18 16:06:39 2005 Jonathan Blandford <jrb@redhat.com>
4004 * shell/ev-window.c (ev_window_focus_in_event): missed a case.
4006 Fri Feb 18 15:32:57 2005 Jonathan Blandford <jrb@redhat.com>
4008 * shell/ev-window.c: Change the fullscreen toolbar to always be in
4009 the popup window. That prevents it resizing when in full screen
4012 * shell/ev-view.c: Change Zoom epsilon as a bad hack to avoid
4013 multiple rerenders. This pretty much sucks.
4015 * data/evince-ui.xml: Change the fullscreen toolbar to include the
4016 rest of the toolbar.
4018 2005-02-18 Tommi Vainikainen <thv@iki.fi>
4020 * configure.ac (ALL_LINGUAS): Added "fi" (Finnish).
4022 2005-02-17 Alexander Shopov <ash@contact.bg>
4024 * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
4026 2005-02-16 Bryan Clark <clarkbw@cvs.gnome.org>
4028 * shell/ev-window.c: added ellipsis to Print item. Fixes bug 166915
4030 2005-02-16 Marco Pesenti Gritti <marco@gnome.org>
4032 * shell/ev-view.c: (ev_view_realize), (highlight_find_results),
4033 (ev_view_create_invisible_cursor), (ev_view_set_cursor),
4034 (set_document_page), (document_changed_callback),
4035 (ev_view_set_document), (ev_view_find_previous),
4036 (ev_view_hide_cursor), (ev_view_show_cursor):
4038 * shell/ev-window.c: (update_chrome_visibility),
4039 (fullscreen_timeout_cb), (fullscreen_set_timeout),
4040 (fullscreen_clear_timeout), (fullscreen_motion_notify_cb),
4041 (fullscreen_leave_notify_cb), (ev_window_fullscreen),
4042 (ev_window_unfullscreen):
4043 * shell/main.c: (main):
4045 Automatically hide the fullscreen button.
4046 Patch by Kristian Høgsberg <krh@redhat.com>
4048 2005-02-16 Vincent Noel <vnoel@cox.net>
4050 * shell/main.c (main): Specify an icon for the window. Patch by
4051 Jaap A. Haitsma. Fixes #166177.
4053 Wed Feb 16 06:30:13 2005 Jonathan Blandford <jrb@redhat.com>
4055 * shell/ev-view.c (ev_view_realize): get rid of the black flash.
4057 Tue Feb 15 22:27:13 2005 Jonathan Blandford <jrb@redhat.com>
4059 * backend/ev-document-misc.h:
4060 * backend/ev-document-misc.c:
4061 (ev_document_misc_get_page_border_size),
4062 (ev_document_misc_paint_one_page): New function to canonicalize
4063 sizing/painting a border.
4065 * shell/Makefile.am: Remove ev-page-view.c entirely as it's not
4068 * pdf/xpdf/pdf-document.cc: use new function
4070 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
4071 (ev_view_init), (ev_view_set_mode), (ev_view_zoom),
4072 (ev_view_best_fit), (ev_view_fit_width): * shell/ev-view.h: *
4073 shell/ev-window.c: (update_sizing_buttons),
4074 (ev_window_setup_document), (ev_window_cmd_view_zoom_in),
4075 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_best_fit),
4076 (ev_window_cmd_view_page_width), (size_allocate_cb),
4077 (ev_window_set_sizing_mode), (ev_window_init): make the "best fit"
4078 and "fit width" values act as toggle buttons so they stay
4079 toggled. It's not 100% perfect, and it's a little slow, but it's
4080 good enough to commit I think.
4082 2005-02-15 David Lodge <dave@cirt.net>
4084 * configure.ac (ALL_LINGUAS): Added "en_GB" (English (British)).
4086 2005-02-15 Martin Kretzschmar <martink@gnome.org>
4088 * shell/ev-window.c (update_window_title): replace newlines in
4089 the title by spaces. Bug #166107.
4091 2005-02-14 Martin Kretzschmar <martink@gnome.org>
4093 * shell/ev-view.c (ev_view_best_fit, ev_view_fit_width): add
4094 parameters providing allocation width and height without
4095 scrollbars and width of a possible vertical scrollbar. With this
4096 additional information the functions can work as
4097 intended. Unfortunately they're not idempotent. We should
4098 transform these commands to toggles. Fixes Bug #164976
4099 Initial patch by Stephane Loeuillet, then heavily modified.
4101 * shell/ev-view.h: update prototypes.
4103 * shell/ev-window.c (ev_window_cmd_view_best_fit)
4104 (ev_window_cmd_view_page_width): provide EvView fit functions with
4105 all the information they need. Formulas to calculate this
4106 information taken from GtkScrolledWindow.
4108 2005-02-14 Crispin Flowerday <gnome@flowerday.cx>
4110 * shell/ev-sidebar-thumbnails.c: Ensure that after we have
4111 created a thumbnail, the list store is updated to know
4112 that the thumbnail is set. Fixes bug #166792
4114 2005-02-11 Bryan Clark <clarkbw@cvs.gnome.org>
4116 * shell/ev-window.c: fixed typo, closes bug 166897
4118 * TODO: updated TODO with bug numbers that are relevant
4120 2005-02-09 Carlos Garcia Campos <carlosgc@gnome.org>
4122 * shell/ev-window.c: Support for DnD of files. Fixes #164813
4124 2005-02-09 Vincent Noel <vnoel@cox.net>
4126 * shell/ev-window.c: (set_action_properties): Set the "Previous"
4127 and "Next" toolbar buttons as important to make them stand out.
4129 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
4133 * ps/ps-document.c: (ps_document_finalize), (set_up_page),
4134 (start_interpreter), (stop_interpreter), (document_load),
4135 (ps_document_next_page), (ps_document_goto_page),
4136 (ps_document_set_page_size), (ps_document_widget_event),
4137 (ps_document_render):
4138 * shell/ev-page-view.c: (ev_page_view_dispose):
4139 * shell/ev-view.c: (ev_view_finalize), (expose_bin_window):
4141 Fix compilation on non-gcc platforms
4143 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
4150 * pdf/xpdf/Catalog.cc:
4153 Fix the fix for CAN-2004-0888
4155 2005-02-09 Luca Ferretti <elle.uca@libero.it>
4158 * data/evince-ui.xml:
4159 * shell/ev-stock-icons.c: (ev_stock_icons_init):
4160 * shell/ev-stock-icons.h:
4161 * shell/ev-window.c: (update_action_sensitivity),
4162 (ev_window_cmd_go_previous_page), (ev_window_cmd_go_next_page),
4163 (set_action_properties):
4165 Improve toolbar layout/icons
4167 2005-02-08 Marco Pesenti Gritti <marco@gnome.org>
4169 * pdf/xpdf/pdf-document.cc:
4171 Add warnings about unimplemented/unknown link
4174 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4176 * ps/ps-document.c: (set_up_page):
4180 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4182 * ps/ps-document.c: (start_interpreter):
4186 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4188 * shell/ev-page-view.c: (ev_page_view_dispose):
4189 * shell/ev-view.c: (ev_view_finalize):
4190 * shell/ev-window.c: (ev_window_setup_document),
4191 (ev_window_dispose), (ev_window_init):
4193 Solve more refs issues.
4195 I commented out the page_view initialization for now:
4196 it was never destroyed (because it's never added
4197 to a container). Because of that we was leaking
4198 gs processes. Couldnt think to a clean fix.
4199 We need to figure this out, password view has the
4200 same issue probably.
4202 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4204 * ps/ps-document.c: (ps_document_finalize),
4205 (ps_document_get_n_pages), (ps_document_get_page):
4207 Some cleanups, stop the interpreter on finalize
4209 * shell/ev-page-view.c: (ev_page_view_dispose),
4210 (ev_page_view_class_init):
4212 Release our reference on the document
4214 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4218 * doc/debugging.txt:
4221 * lib/ev-debug.c: (log_module), (trap_handler), (ev_debug_init),
4222 (ev_profiler_new), (ev_should_profile), (ev_profiler_dump),
4223 (ev_profiler_free), (ev_profiler_start), (ev_profiler_stop):
4226 Add debugging helpers
4229 * ps/ps-document.c: (set_up_page), (start_interpreter),
4230 (stop_interpreter), (document_load), (ps_document_next_page),
4231 (ps_document_goto_page), (ps_document_set_page_size),
4232 (ps_document_widget_event), (ps_document_render):
4233 * shell/Makefile.am:
4234 * shell/ev-view.c: (expose_bin_window):
4235 * shell/main.c: (main):
4239 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4241 * ps/ps-document.c: (ps_document_widget_event):
4243 Initialize message_window, this should make ps
4244 rendering really work! (Never noticed because I was
4245 testing with a ps that is causing gs to exit every time!)
4247 2005-02-07 Bryan Clark <clarkbw@cvs.gnome.org>
4249 * data/evince.schemas.in: updated simple error in applyto closing tag
4251 2005-02-07 Christian Persch <chpe@cvs.gnome.org>
4257 * data/evince-ui.xml:
4258 A data/evince.schemas.in:
4260 * shell/ev-stock-icons.c: (ev_stock_icons_init):
4261 * shell/ev-stock-icons.h:
4262 * shell/ev-window.c: (update_chrome_visibility),
4263 (update_chrome_flag), (ev_window_cmd_edit_find),
4264 (ev_window_update_fullscreen_popup), (ev_window_fullscreen),
4265 (ev_window_unfullscreen), (ev_window_focus_in_event),
4266 (ev_window_focus_out_event), (ev_window_cmd_leave_fullscreen),
4267 (ev_window_view_toolbar_cb), (ev_window_view_statusbar_cb),
4268 (ev_window_view_sidebar_cb), (find_bar_close_cb),
4269 (ev_window_dispose), (ev_window_class_init),
4270 (set_action_properties), (set_chrome_actions), (load_chrome),
4273 Implement fullscreen mode changes from bug #164776.
4274 Also implement persistent chrome toggles.
4276 2005-02-07 Jordi Mallach <jordi@sindominio.net>
4278 * configure.ac (ALL_LINGUAS): Added "ca" (Catalan).
4280 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
4286 Add another check for find interface
4290 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
4292 * shell/ev-application.c: (ev_application_open):
4293 * shell/ev-window.c: (ev_window_open):
4295 Open gzipped ps documents
4297 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
4300 * shell/ev-view.c: (set_document_page):
4302 Clamp page number, dont try to move to
4305 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
4307 * backend/ev-document-find.c: (ev_document_find_changed):
4308 * backend/ev-document-find.h:
4309 * pdf/xpdf/pdf-document.cc:
4310 * shell/ev-view.c: (jump_to_find_result), (ev_view_set_document):
4311 * shell/ev-window.c: (find_bar_search_changed_cb):
4313 Fix several bugs with find
4315 2005-02-04 Martin Kretzschmar <martink@gnome.org>
4317 * shell/ev-sidebar-thumbnails.c
4318 (ev_sidebar_thumbnails_select_page): do nothing unless we have a
4319 document. Prevents warning from scroll_to_cell.
4321 2005-02-02 Kjartan Maraas <kmaraas@gnome.org>
4323 * configure.ac: Add «nb» to ALL_LINGUAS too.
4325 Wed Feb 2 21:13:11 2005 Jonathan Blandford <jrb@redhat.com>
4327 * NOTES: New file with some random thoughts.
4331 * backend/ev-document-misc.c:
4332 (ev_document_misc_get_page_border_size): New function to
4333 canonicalize shadow drawing sizes. Possibly goofy.
4335 * shell/ev-view.c: (ev_view_size_request), (set_document_page),
4336 (ev_view_best_fit), (ev_view_fit_width):
4337 * pdf/xpdf/pdf-document.cc:
4338 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
4339 * ps/ps-document.c: (ps_document_get_page_size):
4340 * backend/ev-document-misc.h:
4341 * backend/ev-document.c: (ev_document_get_page_size):
4342 * backend/ev-document.h: get_page_size now takes a page number
4343 parameter. Made all the backends/frontends honor it.
4345 * data/evince-ui.xml: Added a multiple-page mode. Uncomment to
4346 see. Doesn't work yet.
4348 * shell/Makefile.am:
4349 * shell/ev-page-view.[ch]: New multi-page view. Really rough.
4350 Doesn't do anything yet.
4352 * shell/ev-sidebar-thumbnails.c:
4353 (ev_sidebar_thumbnails_set_document): [1..n_pages] instead of
4356 * shell/ev-window.c: (update_action_sensitivity),
4357 (ev_window_setup_document), (ev_window_set_page_mode),
4358 (ev_window_page_mode_cb), (ev_window_init): Clean up the
4359 view-swapping code a bit so we can have multiple views on a
4360 document. Add the multi-page view, though it can't be turned on
4363 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
4365 * shell/ev-application.c: (ev_application_open):
4366 * shell/ev-view.c: (expose_bin_window):
4367 * shell/ev-window.c: (ev_window_open):
4369 Support eps and check document supports find
4370 before drawing highlightings in expose.
4372 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
4374 * pixbuf/pixbuf-document.c:
4375 (pixbuf_document_thumbnails_get_dimensions),
4376 (pixbuf_document_document_thumbnails_iface_init):
4378 implement get_dimensions
4380 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
4387 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
4389 * shell/ev-view.c: (set_document_page):
4391 Scroll at the top of the page when changing page
4393 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
4395 * shell/ev-view.c: (ev_view_motion_notify_event):
4397 Do not redraw unnecessarily
4399 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
4401 * pdf/xpdf/pdf-document.cc:
4402 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
4403 (expose_bin_window), (find_changed_cb):
4405 Yay! find works now... Now to find bugs...
4407 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
4409 * backend/ev-document-find.c: (ev_document_find_base_init),
4410 (ev_document_find_changed):
4411 * backend/ev-document-find.h:
4412 * pdf/xpdf/pdf-document.cc:
4413 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
4414 (expose_bin_window), (ev_view_init), (set_document_page),
4415 (ensure_rectangle_is_visible), (jump_to_find_result),
4416 (jump_to_find_page), (find_changed_cb), (ev_view_set_document),
4417 (ev_view_find_next), (ev_view_find_previous):
4419 * shell/ev-window.c: (find_bar_previous_cb), (find_bar_next_cb):
4421 More work on find implementation, mostly there now
4423 2005-01-29 Marco Pesenti Gritti <marco@gnome.org>
4425 * backend/ev-backend-marshalers.list:
4426 * backend/ev-document-find.c: (ev_document_find_base_init),
4427 (ev_document_find_cancel), (ev_document_find_page_has_results),
4428 (ev_document_find_get_n_results), (ev_document_find_get_result),
4429 (ev_document_find_get_progress), (ev_document_find_changed):
4430 * backend/ev-document-find.h:
4432 Enanche the find interface to be really able to do
4435 * pdf/xpdf/pdf-document.cc:
4439 * shell/ev-view.c: (ev_view_finalize), (highlight_find_results),
4440 (expose_bin_window), (ev_view_init),
4441 (ev_view_get_find_status_message), (find_changed_cb),
4442 (ev_view_set_document), (set_document_page):
4444 Adapt to the new interface. A few things are regressed sorry,
4445 I will finish it soon.
4447 2005-01-28 Martin Kretzschmar <martink@gnome.org>
4449 * shell/ev-sidebar-thumbnails.c (ev_sidebar_thumbnails_destroy)
4450 (ev_sidebar_thumbnails_class_init): use G_DEFINE_TYPE-supplied
4451 ev_sidebar_thumbnails_parent_class variable, don't define another
4452 parent_class variable.
4454 * shell/ev-page-action.c (connect_proxy, ev_page_action_finalize)
4455 (ev_page_action_class_init): ditto.
4457 * pixbuf/pixbuf-document.c (pixbuf_document_finalize)
4458 (pixbuf_document_class_init): ditto.
4460 * backend/ev-link.c (ev_window_dispose, ev_link_class_init):
4463 * .cvsignore: ignore various valgrind output files.
4465 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
4467 * data/evince-ui.xml:
4468 * shell/Makefile.am:
4469 * shell/ev-history.c:
4470 * shell/ev-history.h:
4471 * shell/ev-navigation-action.c:
4472 * shell/ev-navigation-action.h:
4473 * shell/ev-view.c: (ev_view_finalize), (ev_view_go_to_link),
4474 (ev_view_set_page), (ev_view_fit_width):
4476 * shell/ev-window.c: (update_action_sensitivity),
4477 (ev_window_setup_document), (register_custom_actions):
4479 Kill session history
4481 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
4483 * shell/ev-window.c: (update_action_sensitivity):
4485 Fix inverted up/down buttons
4487 2005-01-27 Martin Kretzschmar <martink@gnome.org>
4489 * shell/ev-sidebar-thumbnails.c
4490 (ev_sidebar_thumbnails_select_page): make sure the selected
4491 thumbnail stays visible.
4493 2005-01-26 Martin Kretzschmar <martink@gnome.org>
4495 * shell/ev-window.c (ev_window_init): add GTK_SHADOW_IN to the
4496 scrolled window for Federico.
4498 2005-01-26 Ole Laursen <olau@hardworking.dk>
4500 * configure.ac: Added "da" (Danish) to ALL_LINGUAS.
4502 2005-01-26 Marco Pesenti Gritti <marco@gnome.org>
4505 * pdf/splash/SplashFTFontEngine.cc:
4507 Fix CID fonts with freetype 2.1.9
4509 2005-01-26 Bryan Clark <clarkbw@cvs.gnome.org>
4511 * TODO: added item for desktop icon thumbnailer
4513 Tue Jan 25 00:59:34 2005 Jonathan Blandford <jrb@redhat.com>
4515 * pdf/xpdf/pdf-document.cc (pdf_document_get_title): guard against
4516 unloaded docs when the title is accessed.
4518 * shell/ev-password-view.[hc]: New widget for displaying password
4521 * shell/ev-window.[ch]: Refactor password handling code to handle
4524 2005-01-24 Marco Pesenti Gritti <marco@gnome.org>
4532 2005-01-23 Stephane LOEUILLET <stephane.loeuillet@tiscali.fr>
4534 * pdf/xpdf/pdf-document.cc (pdf_document_search_page_changed):
4535 ignore page offset here, to make search results independent of it,
4537 * shell/ev-view.c (expose_bin_window): but take offsets into
4538 account here. Bug #164932
4540 * pdf/xpdf/pdf-document.cc (pdf_document_get_link): divide by
4541 scale at the right time. Bug #164996
4543 2005-01-22 Martin Kretzschmar <martink@gnome.org>
4545 * pdf/xpdf/GlobalParams.cc: My 2005-01-05 change didn't actually
4546 fix the problem. Now I just removed the Adobe font names and hope
4547 that the URW fonts are always in outline format. Bug #164934
4549 * shell/ev-window.c (update_window_title): empty titles are
4550 useless, use filename in that case too.
4552 * NEWS: Add some content.
4554 2005-01-21 Bryan Clark <clarkbw@cvs.gnome.org>
4556 * TODO: added one more TODO item and a TODONE section :)
4558 2005-01-21 Martin Kretzschmar <martink@gnome.org>
4560 * ps/ps-document.h: add page_[xy]_offset fields.
4562 * ps/ps-document.c (ps_document_set_page_offset)
4563 (ps_document_render): Keep offset in consideration in a few
4564 places. Bug #164752 "postscript documents are not centered in
4567 * data/evince.desktop.in (X-GNOME-Bugzilla-Product):
4568 s/gpdf/evince/. Spotted by Stephane Loeuillet.
4570 * pixbuf/pixbuf-document.c (pixbuf_document_get_n_pages)
4571 (pixbuf_document_get_text, pixbuf_document_document_iface_init):
4572 stub out missing methods for complete EvDocument implementation.
4573 Fixes segfaults with Save A Copy and Copy actions.
4575 * ps/ps-document.c (ps_document_save, ps_document_get_text)
4576 (ps_document_document_iface_init): ditto.
4578 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
4582 * data/evince.desktop.in:
4586 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
4588 * shell/ev-view.c: (ev_view_button_press_event),
4589 (ev_view_motion_notify_event):
4591 Make selection work in any direction
4593 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
4596 * shell/ev-window.c: (set_short_labels), (ev_window_init):
4598 Use shorter labels for some of the toolbars items
4600 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
4602 * pdf/xpdf/pdf-document.cc:
4604 Check the links info is initialized before
4605 using it. Should fix a crash on startup.
4607 2005-01-21 Martin Kretzschmar <martink@gnome.org>
4609 * pixbuf/pixbuf-document.c
4610 (pixbuf_document_thumbnails_get_dimensions): force floating point
4611 division to calculate page_ratio. Fixes crash with landscape
4614 Thu Jan 20 18:56:35 2005 Jonathan Blandford <jrb@redhat.com>
4616 * shell/ev-view.c (ev_view_realize): make the bg color darker.
4618 2005-01-20 Martin Kretzschmar <martink@gnome.org>
4620 * shell/ev-view.c (set_document_page): unset has_selection when
4622 (set_document_page): handle paper size changes when the page
4623 changes (test with Free Culture, page 2).
4625 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
4627 * shell/ev-view.c: (ev_view_size_request), (ev_view_realize),
4628 (expose_bin_window), (ev_view_class_init), (ev_view_init):
4630 Use normal style color for the widget background and
4631 draw a black box around the page.
4633 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
4635 * pdf/xpdf/pdf-document.cc:
4637 Keep offset in consideration in a few places
4639 * shell/ev-view.c: (expose_bin_window):
4641 Set the offsets so that the document is ever centered
4643 2005-01-20 Bryan Clark <clarkbw@cvs.gnome.org>
4645 * TODO: Added TODO items and finished off the first todo item
4647 * AUTHORS: Updated AUTHORS section with piece from gpdf file and
4648 reflect current authors
4650 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
4652 * pdf/xpdf/pdf-document.cc:
4653 * shell/ev-view.c: (ev_view_set_cursor),
4654 (ev_view_motion_notify_event), (document_changed_callback),
4655 (set_document_page):
4657 Show a wait cursor while the page is rendering
4659 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
4661 * shell/ev-sidebar-thumbnails.c:
4662 (ev_sidebar_tree_selection_changed),
4663 (ev_sidebar_thumbnails_select_page):
4664 * shell/ev-sidebar-thumbnails.h:
4665 * shell/ev-view.c: (ev_view_set_document), (ev_view_can_go_back),
4666 (ev_view_can_go_forward):
4667 * shell/ev-window.c: (ev_window_open_page),
4668 (ev_window_setup_document), (update_current_page),
4669 (view_page_changed_cb), (ev_window_init):
4670 * shell/ev-window.h:
4672 Ensure thumbnails selection, toolbar page control and
4673 current page are in sync.
4675 2005-01-19 Marco Pesenti Gritti <marco@gnome.org>
4681 Wed Jan 19 01:10:57 2005 Jonathan Blandford <jrb@redhat.com>
4683 * backend/Makefile.am:
4684 * backend/ev-document-links.h:
4685 * backend/ev-document-security.c: (ev_document_security_get_type),
4686 (ev_document_security_has_document_security),
4687 (ev_document_security_set_password):
4688 * backend/ev-document-security.h:
4689 * backend/ev-document.c: (ev_document_error_quark):
4690 * backend/ev-document.h:
4692 * data/evince-password.glade:
4693 * pdf/xpdf/pdf-document.cc:
4694 * shell/Makefile.am:
4695 * shell/ev-password.c: (ev_password_set_bad_password_label),
4696 (ev_window_password_entry_changed_cb), (ev_password_dialog_new),
4697 (ev_password_dialog_get_password),
4698 (ev_password_dialog_set_bad_pass):
4699 * shell/ev-password.h:
4700 * shell/ev-window.c: (ev_window_get_attribute),
4701 (ev_window_set_property), (update_action_sensitivity),
4702 (ev_window_is_empty), (mime_type_supported_by_gdk_pixbuf),
4703 (ev_window_setup_document), (ev_window_get_password),
4704 (ev_window_open), (ev_window_cmd_save_as),
4705 (using_postscript_printer), (ev_window_print),
4706 (find_not_supported_dialog), (ev_window_cmd_edit_find),
4707 (update_fullscreen_popup), (ev_window_fullscreen),
4708 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
4709 (ev_window_focus_out_cb), (ev_window_cmd_help_about),
4710 (menu_item_select_cb), (find_bar_search_changed_cb),
4711 (ev_window_dispose), (ev_window_init):
4713 Add initial support for password-supported dialogs. This could be
4714 a lot cooler, but it'll do for now.
4716 2005-01-18 Marco Pesenti Gritti <marco@gnome.org>
4718 * pdf/xpdf/pdf-document.cc:
4719 * shell/ev-view.c: (status_message_from_link),
4720 (ev_view_set_status), (ev_view_set_cursor),
4721 (ev_view_motion_notify_event), (ev_view_init):
4722 * shell/ev-window.c: (view_status_changed_cb), (ev_window_init):
4724 Fix bugs in the links implementation and change cursor
4725 when hovering a link.
4727 2005-01-17 Bryan Clark <clarkbw@cvs.gnome.org>
4729 * viewer/.cvsignore: added cvsignore file for viewer directory
4731 * TODO: created TODO document
4733 2005-01-14 Dave Malcolm <dmalcolm@redhat.com>
4736 * shell/ev-view.c (ev_view_can_go_back), (ev_view_can_go_forward):
4737 new functions to help with implementation of sensitivity code
4738 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
4739 of all actions that might require it. Fixes a crash when you
4740 click on the Zoom actions in a window lacking a document.
4742 2005-01-13 Dave Malcolm <dmalcolm@redhat.com>
4744 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
4747 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
4749 * pixbuf/pixbuf-document.c: (pixbuf_document_get_link),
4750 (pixbuf_document_document_iface_init):
4751 * ps/ps-document.c: (ps_document_get_link),
4752 (ps_document_document_iface_init):
4753 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event),
4754 (status_message_from_link), (ev_view_set_status),
4755 (ev_view_set_find_status), (ev_view_motion_notify_event),
4756 (ev_view_button_release_event), (ev_view_set_property),
4757 (ev_view_get_property), (ev_view_class_init), (ev_view_init),
4758 (ev_view_get_find_status_message), (update_find_results),
4759 (ev_view_get_status), (ev_view_get_find_status):
4761 * shell/ev-window.c: (view_status_changed_cb),
4762 (view_find_status_changed_cb), (ev_window_init):
4764 View status message support, use it to show the links.
4767 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
4769 * backend/ev-document.c: (ev_document_get_link):
4770 * backend/ev-document.h:
4771 * pdf/xpdf/pdf-document.cc:
4772 * shell/ev-application.c: (ev_application_open):
4773 * shell/ev-application.h:
4774 * shell/ev-sidebar-links.c: (selection_changed_cb):
4775 * shell/ev-view.c: (ev_view_button_release_event), (go_to_link),
4776 (ev_view_go_to_link):
4778 Add support for document links
4780 2005-01-13 Anders Carlsson <andersca@gnome.org>
4782 * shell/ev-page-action.c: (update_spin), (total_pages_changed_cb),
4784 Set the spin button limits correctly.
4786 * shell/ev-sidebar-thumbnails.c:
4787 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init):
4788 Support changing pages by clicking on the thumbnails.
4790 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
4792 * pixbuf/pixbuf-document.c:
4793 (pixbuf_document_thumbnails_get_dimensions),
4794 (pixbuf_document_document_thumbnails_iface_init):
4796 implement get_dimensions
4798 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
4800 * ps/ps-document.c: (ps_document_goto_page):
4802 Fix page switching on multipage documents
4804 2005-01-12 Jeff Muizelaar <jrmuizel@nit.ca>
4806 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
4808 check for NULL before assigning to width and height parameters
4810 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
4812 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
4813 (pixbuf_document_set_property), (pixbuf_document_get_property):
4815 implement get/set properties
4817 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
4819 * pdf/xpdf/pdf-document.cc: (pdf_info_dict_get_string):
4821 return NULL instead of "Unknown", letting the title get set to
4822 the filename when the pdf has no title.
4824 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
4826 * ps/ps-document.c: (ps_document_get_page_count),
4827 (ps_document_goto_page):
4829 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
4831 * shell/ev-history.c: (ev_history_get_property),
4832 (ev_history_set_property), (ev_history_class_init),
4833 (ev_history_add_page), (ev_history_set_current_index):
4834 * shell/ev-navigation-action.c: (ev_navigation_action_set_history),
4835 (activate_menu_item_cb), (new_history_menu_item), (build_menu),
4836 (ev_navigation_action_finalize):
4837 * shell/ev-navigation-action.h:
4838 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
4839 (ev_view_go_forward), (ev_view_get_find_status_message),
4840 (history_index_changed_cb), (ev_view_set_history):
4842 * shell/ev-window.c: (update_total_pages), (ev_window_open),
4843 (update_current_page), (register_custom_actions):
4845 Implement history dropdowns
4847 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
4849 * shell/ev-history.c: (ev_history_init), (ev_history_add_link):
4850 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
4851 (ev_view_go_forward):
4852 * shell/ev-window.c: (register_custom_actions):
4854 Fix several history bugs
4856 2005-01-11 Kjartan Maraas <kmaraas@gnome.org>
4858 * configure.ac: Add «nb» to ALL_LINGUAS.
4860 2005-01-10 Marco Pesenti Gritti <marco@gnome.org>
4862 * backend/Makefile.am:
4863 * backend/ev-bookmark.c:
4864 * backend/ev-bookmark.h:
4865 * backend/ev-document-bookmarks.c:
4866 * backend/ev-document-bookmarks.h:
4867 * backend/ev-document-links.c: (ev_document_links_get_type),
4868 (ev_document_links_has_document_links),
4869 (ev_document_links_begin_read), (ev_document_links_get_link),
4870 (ev_document_links_get_child), (ev_document_links_next),
4871 (ev_document_links_free_iter):
4872 * backend/ev-document-links.h:
4873 * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_title),
4874 (ev_link_set_title), (ev_link_get_uri), (ev_link_set_uri),
4875 (ev_link_get_link_type), (ev_link_set_link_type),
4876 (ev_link_get_page), (ev_link_set_page), (ev_link_get_property),
4877 (ev_link_set_property), (ev_window_dispose), (ev_link_init),
4878 (ev_link_class_init), (ev_link_new_title), (ev_link_new_page),
4879 (ev_link_new_external):
4880 * backend/ev-link.h:
4881 * pdf/xpdf/pdf-document.cc:
4882 * shell/Makefile.am:
4883 * shell/ev-application.c: (ev_application_open_link):
4884 * shell/ev-application.h:
4885 * shell/ev-history.c: (ev_history_add_link), (ev_history_add_page),
4886 (ev_history_get_link_nth):
4887 * shell/ev-history.h:
4888 * shell/ev-sidebar-bookmarks.c:
4889 * shell/ev-sidebar-bookmarks.h:
4890 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
4891 (ev_sidebar_links_class_init), (selection_changed_cb),
4892 (ev_sidebar_links_construct), (ev_sidebar_links_init),
4893 (links_page_num_func), (ev_sidebar_links_new), (stack_data_free),
4894 (do_one_iteration), (populate_links_idle),
4895 (ev_sidebar_links_clear_document), (ev_sidebar_links_set_document):
4896 * shell/ev-sidebar-links.h:
4897 * shell/ev-sidebar.c: (ev_sidebar_set_document):
4898 * shell/ev-view.c: (go_to_link), (ev_view_go_to_link),
4901 * shell/ev-window.c: (ev_window_open_link), (ev_window_init):
4902 * shell/ev-window.h:
4904 Rename bookmark to link, and use "Index" for the sidebar panel.
4906 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
4908 * shell/Makefile.am:
4909 * shell/ev-application.c: (ev_application_open_bookmark):
4910 * shell/ev-application.h:
4911 * shell/ev-history.c: (ev_history_init), (free_links_list),
4912 (ev_history_finalize), (ev_history_class_init),
4913 (ev_history_add_link), (ev_history_add_page),
4914 (ev_history_get_link_nth), (ev_history_get_n_links),
4915 (ev_history_get_current_index), (ev_history_set_current_index),
4917 * shell/ev-history.h:
4918 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
4919 * shell/ev-view.c: (ev_view_finalize), (ev_view_set_document),
4920 (set_document_page), (go_to_bookmark), (ev_view_go_to_bookmark),
4921 (go_to_index), (ev_view_go_back), (ev_view_go_forward),
4924 * shell/ev-window.c: (ev_window_open_bookmark),
4925 (ev_window_cmd_go_back), (ev_window_cmd_go_forward),
4926 (goto_page_cb), (register_custom_actions):
4927 * shell/ev-window.h:
4929 Initial history implementation. Needs work.
4931 2005-01-09 Martin Kretzschmar <martink@gnome.org>
4933 * pdf/xpdf/GDKSplashOutputDev.cc (redraw): fix pixbuf data offset.
4935 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
4937 * cut-n-paste/recent-files/egg-recent-item.c:
4938 * cut-n-paste/recent-files/egg-recent-item.h:
4939 * cut-n-paste/recent-files/egg-recent-model.c:
4940 * cut-n-paste/recent-files/egg-recent-util.c:
4941 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
4942 * cut-n-paste/recent-files/egg-recent-view.c:
4946 2005-01-08 Martin Kretzschmar <martink@gnome.org>
4948 * pdf/splash/Splash.cc (clear, drawPixel, drawSpan, xorSpan, getPixel)
4949 (fillGlyph, fillImageMask, drawImage):
4950 pdf/splash/SplashBitmap.cc (SplashBitmap, ~SplashBitmap, writePNMFile):
4951 pdf/splash/SplashTypes.h:
4952 pdf/xpdf/SplashOutputDev (startPage, getColor, imageSrc): implement RGB8
4953 packed mode for Splash.
4955 * pdf/xpdf/GDKSplashOutputDev.cc (GDKSplashOutputDev, redraw): use
4956 RGB8 packed mode, eliminates the pixbuf data creation loop.
4958 * shell/ev-print-job.c (ev_print_job_finalize)
4959 (ev_print_job_set_property, ev_print_job_get_property)
4960 (ev_print_job_set_gnome_print_job, ev_print_job_set_document)
4961 (ev_print_job_use_print_dialog_settings, idle_print_handler)
4962 (print_closure_finalize, ev_print_job_print): implement
4963 printing (for backends with EvPsExporter)
4965 * shell/ev_print_job.h: update prototypes.
4967 * shell/ev-window.c (ev_window_print): unref print job after
4970 * shell/ev-view.c (ev_view_set_document): don't connect to "found"
4971 unless the document implements the EvDocumentFind interface.
4973 2005-01-08 Satoru SATOH <ss@gnome.gr.jp>
4975 * configure.ac: Added ja to ALL_LINGUAS.
4977 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
4979 * pdf/xpdf/pdf-document.cc:
4981 add a FIXME. We should probably not allocate
4982 a bookmark object every time
4984 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
4986 * shell/ev-application.c: (ev_application_open),
4987 (ev_application_open_bookmark):
4988 * shell/ev-application.h:
4990 Add a way to open bookmarks
4992 * backend/ev-bookmark.c: (ev_bookmark_get_uri),
4993 (ev_bookmark_set_uri), (ev_bookmark_get_property),
4994 (ev_bookmark_set_property), (ev_bookmark_class_init),
4995 (ev_bookmark_new_title), (ev_bookmark_new_link),
4996 (ev_bookmark_new_external):
4998 Support for external uris, better constructors.
5000 * backend/ev-bookmark.h:
5001 * pdf/xpdf/pdf-document.cc:
5002 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
5004 Handle external uris
5006 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5008 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb),
5009 (ev_sidebar_bookmarks_construct), (do_one_iteration):
5011 Hook up bookmarks navigation
5013 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5015 * backend/Makefile.am:
5016 * backend/ev-bookmark.c: (ev_bookmark_type_get_type),
5017 (ev_bookmark_get_title), (ev_bookmark_set_title),
5018 (ev_bookmark_get_bookmark_type), (ev_bookmark_set_bookmark_type),
5019 (ev_bookmark_get_page), (ev_bookmark_set_page),
5020 (ev_bookmark_get_property), (ev_bookmark_set_property),
5021 (ev_window_dispose), (ev_bookmark_init), (ev_bookmark_class_init),
5023 * backend/ev-bookmark.h:
5024 * backend/ev-document-bookmarks.c:
5025 (ev_document_bookmarks_get_bookmark):
5026 * backend/ev-document-bookmarks.h:
5027 * pdf/xpdf/pdf-document.cc:
5028 * shell/ev-sidebar-bookmarks.c: (do_one_iteration):
5030 Add a bookmark object to the backend and use it instead of get_values
5032 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5034 * data/evince-ui.xml:
5036 Cleanup and add select all.
5038 * shell/ev-view.c: (ev_view_select_all),
5039 (ev_view_button_press_event):
5041 * shell/ev-window.c: (ev_window_cmd_edit_select_all):
5044 Clear selection on click.
5046 Fri Jan 7 01:28:58 2005 Jonathan Blandford <jrb@redhat.com>
5048 * shell/ev-sidebar-thumbnails.c
5049 (ev_sidebar_thumbnails_set_document): forgot to unref the
5052 Fri Jan 7 01:22:48 2005 Jonathan Blandford <jrb@redhat.com>
5054 * shell/ev-sidebar-thumbnails.c: fill in the thumbnails starting
5055 at the visible page, not just linearly. This makes it look fast.
5057 Thu Jan 6 18:48:11 2005 Jonathan Blandford <jrb@redhat.com>
5059 * backend/ev-document-misc.c
5060 (ev_document_misc_get_thumbnail_frame): fill in the thumbnail with
5062 * backend/ev-document-thumbnails.h: New interface to get the size
5065 2005-01-06 Jeremy Katz <katzj@redhat.com>
5067 * shell/Makefile.am (evince_SOURCES): Add ev-utils.[ch] so that
5070 Wed Jan 5 15:38:28 2005 Jonathan Blandford <jrb@redhat.com>
5072 * pdf/xpdf/pdf-document.cc (bitmap_to_pixbuf): bypass
5073 GDKSplashOutputDev and just use a normal SplashOutputDev. Speeds
5076 * shell/ev-sidebar-thumbnail.c: start of some profiling code.
5078 2005-01-05 Martin Kretzschmar <martink@gnome.org>
5080 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): match only outline
5081 fonts. Should fix font problems on systems that have the base
5082 fonts in bitmap format. Reported by James Henstridge
5083 <james@jamesh.id.au>.
5085 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5088 * pdf/xpdf/GfxState.cc:
5090 Fix for CAN-2004-1125
5092 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5094 * shell/ev-view.c: (ev_view_copy):
5096 * shell/ev-window.c: (ev_window_cmd_edit_copy):
5098 Implement Edit->Copy
5100 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5102 * backend/ev-document.c: (ev_document_get_text):
5103 * backend/ev-document.h:
5104 * pdf/xpdf/pdf-document.cc:
5105 * shell/ev-view.c: (ev_view_realize), (expose_bin_window),
5106 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
5107 (ev_view_update_primary_selection), (ev_view_button_press_event),
5108 (ev_view_motion_notify_event), (ev_view_button_release_event):
5110 Beginnings of clipboard support. Incomplete but primary sort
5113 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5115 * shell/ev-view.c: (ev_gdk_color_to_rgb), (draw_rubberband),
5116 (expose_bin_window):
5118 Nicer rubberband drawing, from GtkIconView.
5120 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5122 * backend/ev-document.c: (ev_document_save):
5123 * backend/ev-document.h:
5124 * data/evince-ui.xml:
5125 * pdf/xpdf/pdf-document.cc:
5126 * shell/ev-window.c: (save_error_dialog), (ev_window_cmd_save_as):
5128 Implement "Save a copy..." menu item
5130 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5132 * shell/ev-view.c: (ev_view_zoom):
5134 Queue a resize when zoom changes
5136 Wed Jan 5 02:33:06 2005 Jonathan Blandford <jrb@redhat.com>
5138 * backend/ev-document-misc.[ch]: New misc file to do simple drop
5141 * pdf/xpdf/pdf-document.cc: use the drop shadows in both types of
5144 Tue Jan 4 22:32:32 2005 Jonathan Blandford <jrb@redhat.com>
5146 * pdf/xpdf/pdf-document.cc
5147 (pdf_document_thumbnails_get_page_pixbuf): poor man's dropshadow.
5149 Tue Jan 4 21:25:05 2005 Jonathan Blandford <jrb@redhat.com>
5151 * pdf/xpdf/pdf-document.cc: Do real thumbnailing of PDF files.
5152 It's slow, but I'll speed it up next!
5154 2005-01-04 Jeff Muizelaar <jrmuizel@nit.ca>
5156 * shell/main.c (load_files):
5158 use gnome_vfs_make_uri_from_shell_arg so that relative paths work
5159 from the command line and because it seems more appropriate.
5161 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
5163 * data/evince-ui.xml:
5164 * shell/ev-window.c: (update_action_sensitivity),
5165 (ev_window_cmd_go_page_up), (ev_window_cmd_go_page_down):
5167 s/next page/page down
5168 s/previous page/page up
5170 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
5172 * data/evince-ui.xml:
5174 Change the layout to match clarkbw design.
5176 * shell/Makefile.am:
5177 * shell/ev-navigation-action.c: (build_menu), (menu_activated_cb),
5178 (set_tooltip_cb), (connect_proxy), (ev_navigation_action_init),
5179 (ev_navigation_action_finalize),
5180 (ev_navigation_action_set_property),
5181 (ev_navigation_action_get_property),
5182 (ev_navigation_action_class_init):
5183 * shell/ev-navigation-action.h:
5185 Implement clarkbw toolbar navigation controls (incomplete)
5187 * shell/ev-page-action.c: (update_label), (update_spin),
5188 (value_changed_cb), (create_tool_item), (connect_proxy),
5189 (ev_page_action_init), (ev_page_action_finalize),
5190 (ev_page_action_set_property), (ev_page_action_get_property),
5191 (ev_page_action_set_current_page),
5192 (ev_page_action_set_total_pages), (ev_page_action_class_init):
5193 * shell/ev-page-action.h:
5195 Implement a page switcher in the toolbar
5197 * shell/ev-view.c: (ev_view_scroll_view):
5198 * shell/ev-window.c: (update_total_pages), (ev_window_open),
5199 (update_current_page), (view_page_changed_cb), (goto_page_cb),
5200 (register_custom_actions), (ev_window_init):
5202 Change page on PageUp/Down.
5204 Tue Jan 4 03:22:56 2005 Jonathan Blandford <jrb@redhat.com>
5206 * pdf/xpdf/pdf-document.cc
5207 (pdf_document_thumbnails_get_thumbnail): initial stab at
5208 implementing thumbnail support for pdfs. It only does documents
5209 with precached pdfs now.
5211 Mon Jan 3 17:22:25 2005 Jonathan Blandford <jrb@redhat.com>
5213 * shell/ev-sidebar-thumbnails.c (do_one_iteration): move the
5214 thumbnail code into a time-based idle as well. Also, turn off the
5215 shadow temporarily as it's really slow.
5217 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
5219 * backend/ev-document.c: (ev_document_class_init):
5220 * pdf/xpdf/pdf-document.cc:
5221 * shell/ev-window.c: (ev_window_open):
5223 Fix document title bugs and fallback to
5224 filename when not available.
5226 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
5228 * backend/ev-document.c: (ev_document_get_type),
5229 (ev_document_class_init), (ev_document_load),
5230 (ev_document_get_title):
5231 * backend/ev-document.h:
5232 * pdf/xpdf/pdf-document.cc:
5233 * ps/ps-document.c: (ps_document_set_property),
5234 (ps_document_get_property), (ps_document_class_init),
5238 * shell/ev-window.c: (update_window_title), (ev_window_open),
5241 Initial support for document title. Not working yet.
5243 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
5245 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event):
5247 Grab focus on the view when clicking it
5249 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
5251 * shell/ev-marshal.list:
5252 * shell/ev-view.c: (ev_view_realize), (add_scroll_binding),
5253 (ev_view_scroll_view), (ev_view_class_init), (ev_view_init):
5255 Add key bindings to the view. Now if the focus would work
5258 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
5261 * backend/Makefile.am:
5264 * dvi/dvilib/Makefile.am:
5265 * pdf/xpdf/Makefile.am:
5271 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5273 * shell/ev-view.c: (ev_view_realize):
5275 Fix mouse wheel scrolling
5277 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5283 * ps/ps-document.c: (catchPipe), (ps_document_init),
5284 (ps_document_class_init), (ps_document_cleanup),
5285 (ps_document_finalize), (send_ps), (ps_document_get_orientation),
5286 (set_up_page), (close_pipe), (is_interpreter_ready),
5287 (interpreter_failed), (output), (input), (start_interpreter),
5288 (stop_interpreter), (file_length), (file_readable),
5289 (check_filecompressed), (check_pdf), (compute_xdpi),
5290 (compute_ydpi), (compute_size), (ps_document_enable_interpreter),
5291 (ps_document_get_type), (ps_document_emit_error_msg),
5292 (document_load), (ps_document_next_page),
5293 (ps_document_get_current_page), (ps_document_get_page_count),
5294 (ps_document_goto_page), (ps_document_set_page_size),
5295 (ps_document_zoom_to_fit), (ps_document_set_zoom),
5296 (ps_document_load), (ps_document_get_n_pages),
5297 (ps_document_set_page), (ps_document_get_page),
5298 (ps_document_widget_event), (ps_document_set_target),
5299 (ps_document_set_scale), (ps_document_set_page_offset),
5300 (ps_document_get_page_size), (ps_document_render),
5301 (ps_document_document_iface_init):
5304 * shell/ev-window.c: (ev_window_open):
5306 Rename GtkGS to PSDocument
5308 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5310 * ps/gtkgs.c: (gtk_gs_class_init):
5313 Some more leftover...
5315 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5317 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_get_orientation),
5318 (output), (stop_interpreter), (gtk_gs_emit_error_msg),
5319 (gtk_gs_zoom_to_fit), (gtk_gs_set_zoom):
5322 Remove unused code and make a lot of stuff private
5324 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5326 * ps/gsdefaults.c: (gtk_gs_defaults_gconf_client),
5327 (gtk_gs_defaults_changed):
5333 Cleanup headers dependencies
5335 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5340 * ps/gsdefaults.c: (gtk_gs_defaults_get_paper_sizes):
5342 * ps/gtkgs.c: (file_length), (file_readable),
5343 (check_filecompressed), (check_pdf), (gtk_gs_load),
5344 (gtk_gs_get_postscript):
5348 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
5353 * ps/gtkgs.c: (gtk_gs_set_zoom):
5357 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
5359 * ps/gtkgs.c: (gtk_gs_set_zoom), (gtk_gs_set_zoom_mode):
5361 Ensure the page is rerendered when changing zoom
5363 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
5365 * backend/ev-document.c: (ev_document_base_init),
5366 (ev_document_changed):
5367 * backend/ev-document.h:
5369 Add a changed event that is emitted when the page content
5370 changes. This is necessary to deal with the fact that
5371 in ps backend rendering happen asycrounously.
5372 This makes the ps backend mostly work.
5374 * pdf/xpdf/pdf-document.cc:
5378 * ps/gtkgs.c: (set_up_page), (gtk_gs_widget_event),
5379 (ps_document_set_target):
5383 * shell/ev-view.c: (document_changed_callback),
5384 (ev_view_set_document), (ev_view_set_page):
5386 Redraw on the changed signal
5388 2004-12-25 Raphael Higino <raphaelh@cvs.gnome.org>
5390 * configure.ac: Added pt_BR to ALL_LINGUAS.
5392 Fri Dec 24 00:48:44 2004 Jonathan Blandford <jrb@redhat.com>
5394 * backend/ev-document-bookmarks.c:
5395 (ev_document_bookmarks_get_child): *
5396 backend/ev-document-bookmarks.h: * pdf/xpdf/Makefile.am: *
5397 pdf/xpdf/pdf-document.cc: * pdf/xpdf/pdf-document.h: *
5398 shell/Makefile.am: * shell/ev-sidebar-bookmarks.c:
5399 (ev_sidebar_bookmarks_destroy),
5400 (ev_sidebar_bookmarks_class_init),
5401 (ev_sidebar_bookmarks_construct), (stack_data_free),
5402 (do_one_iteration), (populate_bookmarks_idle),
5403 (ev_sidebar_bookmarks_clear_document),
5404 (ev_sidebar_bookmarks_set_document): *
5405 shell/ev-sidebar-bookmarks.h: * shell/ev-sidebar.c:
5406 (ev_sidebar_add_page),
5407 (ev_sidebar_set_document): * shell/ev-window.c: (ev_window_open):
5408 Initial stab at a bookmarks sidebar. It doesn't navigate yet, but
5409 it displays both the topics and the page numbers.
5411 2004-12-23 Kristian Høgsberg <krh@redhat.com>
5413 * shell/ev-window.c (ev_window_view_sidebar_cb): Hook up sidebar
5415 * shell/ev-window.c (toggle_entries): Set sidebar default value to
5418 2004-12-23 Adam Weinberger <adamw@gnome.org>
5420 * configure.ac: Added en_CA to ALL_LINGUAS.
5422 2004-12-23 Martin Kretzschmar <martink@gnome.org>
5424 * ChangeLog: replace bottom of this ChangeLog (merged history of
5425 ggv and gpdf; where all paths were wrong and most of the files are
5426 not even in this tree) with ChangeLog (from arch) of the shell
5429 2004-12-23 Havoc Pennington <hp@redhat.com>
5431 * shell/ev-window.c: hook up potentially-questionable "find
5432 results status text" feature - something involving the sidebar or
5433 scrollbar or a continuous all-pages-on-giant-roll-of-paper-view
5434 might be better in the end.
5436 * shell/ev-view.c (ev_view_get_find_status_message): new function,
5437 with corresponding signal when it should be updated
5439 * shell/eggfindbar.c (egg_find_bar_set_status_text): new function
5441 2004-12-22 Havoc Pennington <hp@redhat.com>
5443 * pdf/xpdf/pdf-document.cc (pdf_document_find_begin): make search
5444 find stuff on other pages, sort of (only returns one result on
5445 invisible pages, to show they have results; updates full results
5446 for a page when you view it). Currently repaints the current page
5447 every time a new result is found on any page, which isn't so nice.
5449 2004-12-22 Havoc Pennington <hp@redhat.com>
5451 * shell/ev-window.c (ev_window_cmd_edit_find): display an error if
5452 the document doesn't support find (better ideas?)
5453 (find_bar_search_changed_cb): handle missing document or document
5454 that doesn't support find
5456 * pdf/xpdf/pdf-document.cc: port to implement the new
5459 * backend/ev-document-find.c: create a new interface for searching
5461 * backend/ev-document.h, backend/ev-document.c: delete the find stuff
5463 2004-12-23 Martin Kretzschmar <martink@gnome.org>
5465 * pdf/xpdf/Makefile.am (libpdfdocument_la_LIBADD): add
5468 * shell/ev-window.c (ev_window_print): add GnomePrintJob to
5469 EvPrintJob constructor arguments.
5471 * backend/ev-ps-exporter.c, backend/ev-ps-exporter.h: interface
5472 for documents that can export PostScript (page by page).
5474 * backend/Makefile.am (libevbackend_la_SOURCES): add them.
5476 * pdf/xpdf/pdf-document.cc (pdf_document_ps_export_begin)
5477 (pdf_document_ps_export_do_page, pdf_document_ps_export_end)
5478 (pdf_document_ps_exporter_iface_init:
5479 Implement EvPSExporter.
5481 * pdf/xpdf/Makefile.am (libxpdf_la_SOURCES): build PSOutputDev.
5483 2004-12-22 Anders Carlsson <andersca@gnome.org>
5485 * backend/Makefile.am:
5486 * backend/ev-document-thumbnails.c:
5487 (ev_document_thumbnails_get_type),
5488 (ev_document_thumbnails_get_thumbnail):
5489 * backend/ev-document-thumbnails.h:
5490 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
5491 (pixbuf_document_thumbnails_get_thumbnail),
5492 (pixbuf_document_document_thumbnails_iface_init):
5493 * shell/Makefile.am:
5494 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_destroy),
5495 (ev_sidebar_thumbnails_class_init), (ev_sidebar_thumbnails_init),
5496 (populate_thumbnails), (ev_sidebar_thumbnails_set_document):
5497 * shell/ev-sidebar-thumbnails.h:
5498 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
5499 (ev_sidebar_set_document):
5500 * shell/ev-utils.c: (gaussian), (create_blur_filter),
5501 (create_shadow), (ev_pixbuf_add_shadow):
5503 Add thumbnail support.
5505 2004-12-22 Martin Kretzschmar <martink@gnome.org>
5507 * shell/ev-window.c (ev_window_cmd_file_print, ev_window_print)
5508 (using_postscript_printer): Set up a print dialog for "PostScript
5511 * shell/ev-print-job.h, shell/ev-print-job.c: stub classes for
5514 * shell/Makefile.am (evince_SOURCES): add ev-print-job.[ch]
5516 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
5518 * ps/gtkgs.c: (gtk_gs_init), (set_up_page),
5519 (ps_document_set_target), (ps_document_get_page_size),
5520 (ps_document_render):
5525 2004-12-22 Christian Rose <menthos@menthos.com>
5527 * configure.ac: Added "sv" to ALL_LINGUAS.
5529 Wed Dec 22 14:47:38 2004 Jonathan Blandford <jrb@redhat.com>
5531 * backend/ev-document-bookmarks.[ch]: new interface to indicate
5532 document supports bookmarks.
5534 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
5536 * ps/ggvutils.c: (ggv_file_readable):
5538 * ps/gtkgs.c: (check_filecompressed), (check_pdf),
5539 (gtk_gs_get_postscript):
5543 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
5545 * ps/gtkgs.c: (gtk_gs_init), (gtk_gs_class_init), (gtk_gs_cleanup),
5546 (gtk_gs_finalize), (gtk_gs_set_center), (set_up_page), (output),
5547 (start_interpreter), (compute_size), (gtk_gs_enable_interpreter),
5548 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_reload),
5549 (gtk_gs_emit_error_msg), (gtk_gs_disable_interpreter),
5550 (gtk_gs_load), (gtk_gs_goto_page), (gtk_gs_set_page_size),
5551 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
5552 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
5553 (gtk_gs_set_antialiasing), (ps_document_load),
5554 (ps_document_render):
5557 Another check point for the ps backend. Now I can get it to show
5560 Wed Dec 22 13:41:01 2004 Jonathan Blandford <jrb@redhat.com>
5562 * shell/ev-sidebar.c (ev_sidebar_set_document): initial sidebar
5563 document setting code.
5565 2004-12-22 Anders Carlsson <andersca@gnome.org>
5567 * shell/eggfindbar.c: (entry_activate_callback):
5568 Animate the next button when activate is pressed.
5570 2004-12-22 Anders Carlsson <andersca@gnome.org>
5572 * shell/ev-window.c: (ev_window_cmd_edit_find),
5573 (update_fullscreen_popup), (ev_window_fullscreen),
5574 (ev_window_unfullscreen), (ev_window_state_event_cb),
5575 (ev_window_focus_out_cb), (find_bar_close_cb), (ev_window_init):
5576 Fix bugs in fullscreen code.
5578 2004-12-22 Anders Carlsson <andersca@gnome.org>
5582 * pixbuf/Makefile.am:
5583 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
5584 (pixbuf_document_load), (pixbuf_document_get_n_pages),
5585 (pixbuf_document_set_page), (pixbuf_document_get_page),
5586 (pixbuf_document_set_target), (pixbuf_document_set_scale),
5587 (pixbuf_document_set_page_offset), (pixbuf_document_get_page_size),
5588 (pixbuf_document_render), (pixbuf_document_begin_find),
5589 (pixbuf_document_end_find), (pixbuf_document_finalize),
5590 (pixbuf_document_class_init),
5591 (pixbuf_document_document_iface_init), (pixbuf_document_init):
5592 * pixbuf/pixbuf-document.h:
5593 * shell/Makefile.am:
5594 * shell/ev-application.c: (ev_application_open):
5595 * shell/ev-window.c: (mime_type_supported_by_gdk_pixbuf),
5599 Tue Dec 21 21:45:43 2004 Soeren Sandmann <sandmann@redhat.com>
5602 * dvi/dvilib/Makefile.am:
5604 * configure.ac: Auto*ify dvi and dvi/dvilib
5606 * dvi/Makefile: Remove from CVS
5608 * dvi/dvilib/dl-pkfont.cc (unpack_bitmap): Fix uchar/uint
5611 * dvi/dvilib/dl-fontdefinition.{cc,hh}: New DviFontMap class
5613 * dvi/dvilib/dl-vffont.{cc,hh}: Many bugfixes to VF code.
5615 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
5618 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_finalize),
5619 (gtk_gs_value_adjustment_changed), (compute_size),
5620 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_new_from_file),
5621 (gtk_gs_center_page), (gtk_gs_load), (gtk_gs_set_page_size),
5622 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
5623 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
5624 (gtk_gs_start_scroll), (gtk_gs_get_postscript),
5625 (gtk_gs_set_adjustments), (gtk_gs_set_available_size),
5626 (ps_document_load), (ps_document_get_n_pages),
5627 (ps_document_set_page), (ps_document_get_page),
5628 (ps_document_set_target), (ps_document_set_scale),
5629 (ps_document_set_page_offset), (ps_document_get_page_size),
5630 (ps_document_render), (ps_document_begin_find),
5631 (ps_document_end_find), (ps_document_document_iface_init):
5633 * shell/Makefile.am:
5634 * shell/ev-window.c: (ev_window_open):
5636 Some work to integrate gtkgs with EvDocument
5638 2004-12-22 Anders Carlsson <andersca@gnome.org>
5640 * shell/ev-window.c: (update_fullscreen_popup),
5641 (screen_size_changed_cb), (destroy_exit_fullscreen_popup),
5642 (exit_fullscreen_button_clicked_cb),
5643 (fullscreen_popup_size_request_cb), (ev_window_fullscreen),
5644 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
5645 (ev_window_state_event_cb), (ev_window_init):
5646 Add fullscreen support from Epiphany.
5648 2004-12-22 Mark McLoughlin <mark@skynet.ie>
5650 * data/ev-stock-zoom-fit-width.png: fit-width
5651 stock icon from gpdf.
5653 * shell/ev-stock-icons.[ch]: copied from gpdf.
5655 * shell/main.c: (main): init stock icons.
5657 * shell/ev-window.c: use the fit-width icon.
5659 * data/evince-ui.xml: add zooming toolbar items.
5661 2004-12-22 Mark McLoughlin <mark@skynet.ie>
5664 (ev_view_best_fit), (ev_view_fit_width): because
5665 get_page_size() returns the scaled page size, we
5666 need to calculate the scale factor relative to
5667 the previous scale factor. Should really just
5668 add get_real_page_size().
5670 2004-12-22 Mark McLoughlin <mark@skynet.ie>
5672 * shell/ev-view.[ch]:
5673 (ev_view_zoom), (ev_view_zoom_in), (ev_view_zoom_out),
5674 (ev_view_normal_size), (ev_view_best_fit), (ev_view_fit_width):
5677 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
5678 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_normal_size),
5679 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width):
5682 * pdf/xpdf/pdf-document.cc:
5683 (pdf_document_begin_find),
5684 (pdf_document_end_find): make static.
5686 2004-12-22 Martin Kretzschmar <martink@gnome.org>
5688 * pdf/xpdf/GlobalParams.h (setupBaseFontsFc): add prototype.
5690 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): maps base font
5691 names to fontconfig patterns.
5692 (setupBaseFontsFc): setupBaseFonts reimplemented using fontconfig.
5694 * pdf/xpdf/pdf-document.cc (pdf_document_load): use
5697 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
5713 Import ggv backend. Not hooked up yet.
5715 2004-12-22 Mark McLoughlin <mark@skynet.ie>
5717 * shell/main.c: (load_files), (main): load files
5718 from the command line.
5720 2004-12-22 Mark McLoughlin <mark@skynet.ie>
5722 * configure.ac: don't require bonobo.
5724 * cut-n-paste/recent-files/*: kill bonobo recent
5727 * shell/ev-window.c:
5728 (ev_window_is_empty): upd.
5729 (unable_to_load), (ev_window_open): load backend
5730 based on the mime type.
5732 2004-12-22 Martin Kretzschmar <martink@gnome.org>
5734 * backend/.cvsignore: ignore generated marshalers source.
5736 * shell/main.c (main): this is not epiphany.
5738 2004-12-22 Havoc Pennington <hp@redhat.com>
5740 * shell/ev-view.c (ev_view_set_document): connect to "found" signal
5741 (expose_bin_window): draw find highlights
5743 * shell/ev-window.c (find_bar_search_changed_cb): implement
5745 * pdf/xpdf/pdf-document.cc (pdf_document_begin_find)
5746 (pdf_document_end_find): implement this interface
5748 * backend/ev-document.c (ev_document_found): add this to emit
5751 Tue Dec 21 23:57:37 2004 Owen Taylor <otaylor@redhat.com>
5753 * data/evince-ui.xml: Add a few more toolbar items.
5755 * shell/ev-window.c: Hook up page navigation toolbar
5758 * shell/ev-view.[ch]: add ev_view_set/get_page and
5759 a page-changed signal.
5761 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc::
5762 Add ev_document_get_page().
5764 * shell/ev-window.c: Sensitize/desensitize navigation
5767 2004-12-21 Havoc Pennington <hp@redhat.com>
5769 * backend/ev-backend-marshal.c,
5770 backend/ev-backend-marshalers.list, backend/Makefile.am: add
5771 marshaler-generator thingy. I'm sure there's a better way to do
5772 this in the modern world.
5774 * backend/ev-document.h (struct _EvDocumentIface): add begin_find,
5775 end_find methods and "found" signal.
5777 * configure.ac: find glib-genmarshal
5779 Tue Dec 21 23:20:35 2004 Jonathan Blandford <jrb@redhat.com>
5781 * shell/ev-sidebar.c: Construct an actual sidebar.
5782 * shell/ev-sidebar-bookmarks.[ch]:
5783 * shell/ev-sidebar-thumbnails.[ch]: Stub out sidebars.
5785 Tue Dec 21 23:05:51 2004 Owen Taylor <otaylor@redhat.com>
5787 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc:
5790 * shell/ev-view.c: Track the size from the document.
5792 Tue Dec 21 22:17:04 2004 Owen Taylor <otaylor@redhat.com>
5794 * pdf/xpdf/pdf-document.cc (pdf_document_load): PDFDoc
5795 constructor assumes ownership of the string passed in.
5797 * shell/ev-window.c (ev_window_open): Destroy the error
5798 dialog once we've displayed it.
5800 Tue Dec 21 21:58:56 2004 Owen Taylor <otaylor@redhat.com>
5802 * pdf/xpdf/pdf-document.cc shell/ev-view.c: Hook things up
5803 a bit, it works! (sort of)
5805 * pdf/xpdf/Makefile.am pdf/xpdf/pdf-document.cc:
5806 Move to .cc since we need to use C++ in the implementation.
5808 * shell/dummy.cc: Add a CC file to force evince
5809 to be linked as a C++ program.
5811 Tue Dec 21 21:07:55 2004 Owen Taylor <otaylor@redhat.com>
5813 * shell/ev-view.[ch]: Start of content-area widget.
5815 * shell/ev-window.c: Create a EvView, update it
5816 as we change documents.
5818 * shell/Makefile.am shell/ev-marshal.list: Add
5819 generated marshalers.
5821 Tue Dec 21 20:28:11 2004 Jonathan Blandford <jrb@redhat.com>
5823 * Makefile.am (SUBDIRS): move shell.
5825 Tue Dec 21 19:28:55 2004 Owen Taylor <otaylor@redhat.com>
5827 * pdf/{goo,fofi,splash,xpdf}/Makefile.am: Switch from
5828 .a to libtool convenience libraries.
5830 * shell/ev-window.c (ev_window_open): Hard code loading
5833 * backend/ev-document.h: Add a boolean return to load(),
5834 fix GError * to GError **.
5836 * pdf/xpdf/pdf-document.[ch] Makefile.am: Add a stub
5837 object for a PDF backend EvDocument.
5839 Tue Dec 21 18:55:06 2004 Søren Sandmann <sandmann@redhat.com>
5841 * dvi/*: New directory with the beginning of a .dvi backend.
5843 2004-12-21 Havoc Pennington <hp@redhat.com>
5845 * shell/eggfindbar.c (egg_find_bar_init): change buttons to
5846 previous/next instead of back/forward
5848 Tue Dec 21 18:26:24 2004 Owen Taylor <otaylor@redhat.com>
5850 * backend/ev-document.[ch]: Fix a couple of problems so
5853 Tue Dec 21 18:20:40 2004 Owen Taylor <otaylor@redhat.com>
5855 * viewer/* backend/* configure.ac Makefile.am: Move viewer directory
5856 to backend/ directory, rename EvViewer to EvDocument.
5858 2004-12-21 Havoc Pennington <hp@redhat.com>
5860 * shell/ev-window.c: hook up the find bar widget; now we just need
5861 a document to find things in
5863 * shell/eggfindbar.c: a find bar widget
5865 Tue Dec 21 17:20:16 2004 Jonathan Blandford <jrb@redhat.com>
5867 * shell/ev-sidebar.[ch]: initial sidebar boilerplate.
5869 Tue Dec 21 16:30:58 2004 Owen Taylor <otaylor@redhat.com>
5871 * pdf/**: Import of xpdf code from gpdf.
5873 * pdf/xpdf/xpdfconfig.h: Move the non-config.h config.h to xpdfconfig.h
5875 * pdf/splash/SplashFTFont.{cc,h} pdf/splash/SplashFTFont.h
5876 pdf/splash/SplashFTFontEngine.h pdf/splash/SplashFTFontFile.h:
5877 Fix FreeType includes.
5879 * pdf/xpdf/{Error.h GnomeVFSStream.cc ImageOutputDev.cc PDFDoc.cc\
5880 pdffonts.cc pdfimages.cc pdfinfo.cc pdftoppm.cc pdftops.cc
5881 pdftotext.cc PSOutputDev.cc PSOutputDev.h SplashOutputDev.h
5882 Stream.cc TextOutputDev.cc XPDFApp.cc xpdf.cc XPDFViewer.cc
5883 pdf/xpdf/Error.h PSOutputDev.h SplashOutputDev.h}:
5884 Include xpdfconfig.h
5886 Tue Dec 21 16:08:17 2004 Jonathan Blandford <jrb@redhat.com>
5888 * shell/ev-window.c (ev_window_dispose): dispose can be called
5891 2004-12-21 Havoc Pennington <hp@redhat.com>
5893 * shell/ev-window.c (ev_window_init): set title to Document Viewer
5896 * data/evince-ui.xml, shell/ev-window.c: add a bunch of stub menu
5897 items; really they should be synced with the strings, etc. from
5898 current gpdf, but just getting the boring typing out of the way
5900 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
5903 * shell/ev-application.c: (window_destroy_cb):
5904 * shell/ev-window.c:
5905 * shell/main.c: (main):
5907 Actually show the window...
5909 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
5912 * shell/Makefile.am:
5913 * shell/ev-application.c: (ev_application_class_init):
5914 * shell/ev-window.c: (ev_window_dispose), (ev_window_class_init):
5918 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
5920 Import to gnome cvs.
5922 * Remove copies of gpdf and ggv trees.
5923 * Rip out all the recursive configure code.
5924 * Remove bonobo machinery.
5925 * viewer/*: GInterfaces that backends should/can implement.
5927 2004-11-09 Martin Kretzschmar <m_kretzschmar@gmx.net>
5929 * shell/ev-window.c (ev_window_cmd_help_about): fix "documentors"
5932 2004-10-28 Martin Kretzschmar <m_kretzschmar@gmx.net>
5934 * shell/ev-application.c (EV_APPLICATION_GET_PRIVATE)
5935 (ev_application_finalize, ev_application_class_init)
5936 (ev_application_init): use GType instance private data for priv.
5938 * shell/ev-window.c (EV_WINDOW_GET_PRIVATE)
5939 (ev_window_finalize, ev_window_class_init)
5940 (ev_window_init): ditto.
5942 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
5944 * shell/ev-application.c (ev_application_new_window): make public
5945 (ev_application_show_initial_window): kill.
5947 * shell/ev-application.h: update prototypes.
5949 * shell/main.cc (main): inline ev_application_show_initial_window.
5951 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
5953 * shell/ev-application.c (ev_application_new_window): impl.
5954 (ev_application_show_initial_window): use it.
5955 (is_window_empty, ev_application_get_empty_window): returns an
5956 existing empty window or a new one.
5957 (ev_application_open): from ev_window_cmd_file_open.
5959 * shell/ev-application.h: update prototypes
5961 * shell/ev-window.c (ev_window_is_empty): impl.
5962 (ev_window_open): make public.
5963 (ev_window_cmd_file_open): use ev_application_open
5965 * shell/ev-window.h: update prototypes, remove unused.
5967 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
5969 * shell/ev-window.c (ev_window_destroy, ev_window_class_init):
5970 move destroy handler out of here...
5972 * shell/ev-application.c, shell/ev-application.h: ...into this new
5973 class. Also handles initial window creation.
5975 * shell/main.cc (main): use EvApplication to create initial
5978 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
5980 * Makefile.am (SUBDIRS): add cut-n-paste
5982 * cut-n-paste/Makefile.am: add
5984 * configure.ac: generate Makefiles in cut-n-paste
5986 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
5988 * shell/ev-window.c (ev_window_dispose): new, unref the ui_manager
5989 (ev_window_class_init): install ev_window_dispose.
5991 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
5993 * shell/ev-window.h, shell/ev-window.c: replace gchar with
5994 char (gchar looks stupid).
5996 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
5998 * po/de.po: updated German translation.
6000 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
6002 * configure.ac: add more pkg-config library checks for gnome-vfs,
6005 * gpdf/configure.in: temporarily disable libpaper
6006 checks. Otherwise I'd have to add the checks for the shell, too.
6008 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6010 * shell/ev-window.c (ev_window_cmd_file_open): add ps+pdf, ps, pdf
6011 and * file filters to the file choose.
6013 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6015 * po/de.po: Updated German translation.
6017 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6019 * shell/ev-window.c: use "S" as mnemonic for Statusbar.
6021 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6023 * data/evince-ui.xml: add View->Toolbar and View->Statusbar.
6025 * shell/ev-window.c (menu_item_select_cb, menu_item_select_cb)
6026 (ev_window_init): implement those menuitems.
6028 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6030 * data/evince-ui.xml: add a toolbar (with FileOpen action)
6032 * shell/ev-window.c (ev_window_init): use the toolbar.
6034 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6036 * shell/ev-window.c (ev_window_init): use menu translations
6038 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6040 * configure.ac: add "de" to ALL_LINGUAS.
6042 * po/de.po: add German translation.
6044 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6046 * Makefile.am (SUBDIRS): add po
6048 * configure.ac: check intltool, glib-gettext etc, generate
6051 * po, po/POTFILES.in, po/POTFILES.skip: new.
6053 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6055 * shell/Makefile.am (INCLUDES): define GNOMELOCALEDIR which we
6056 already use (#ifdef ENABLE_NLS)
6058 * shell/ev-window.c (ev_window_cmd_help_about): fix two star
6059 pointer indirection thinko.
6061 * shell/main.c: include gi18n.h for bindtextdomain etc.
6063 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6065 * shell/ev-window.c (menu_item_select_cb, menu_item_deselect_cb)
6066 (connect_proxy_cb, disconnect_proxy_cb, ev_window_init): show
6067 tooltips for menu items in the statusbar.
6069 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6071 * configure.ac, data/Makefile.am, shell/Makefile.am: use
6072 pkgdatadir drop UIDIR
6074 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6076 * data/evince-ui.xml: Add File->Open menu item
6078 * shell/ev-window.c (ev_window_cmd_file_open): impl. (shows a file
6079 chooser), hook it up in the ui manager.
6081 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6083 * shell/ev-window.c: fix Help->About tooltip.
6085 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6087 * configure.ac: set CFLAGS for libevprivate.
6089 * lib/ev-stock-icons.h, lib/ev-stock-icons.c: stock icon
6090 definitions, factory etc.
6092 * lib/Makefile.am: build libevprivate.a (only stock icon code).
6094 * shell/Makefile.am: link against libevprivate.a.
6096 * shell/ev-window.c (entries): add stock icon to Help->About.
6098 * shell/main.c (main): init stock icon code.
6100 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6102 * lib/recent-files: egg recent files code
6104 * lib/Makefile.am: add.
6106 * Makefile.am: add lib subdir.
6108 * configure.ac: gen. lib/Makefile and lib/recent-files/Makefile,
6109 set CFLAGS for recent-files.
6111 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6113 * configure.ac: disable -ansi and -pedantic gcc flags. They
6114 disable POSIX stuff in stdio.h, but egg-recent uses them.
6116 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6118 * configure.ac: add --disable-deprecated flag (defaults to on in
6121 * shell/Makefile.am (INCLUDES): use it.
6123 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6125 * shell/main.c: add missing #include.
6127 * shell/ev-window.c: fix for pedantic gcc.
6128 (ev_window_cmd_help_about): split license into paragraphs for
6129 translators and pedantic compilers.
6131 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6133 * configure.ac: add more warning flags if compiling with gcc from
6134 cvs (or explicitly requested with --enable-more-warnings).
6136 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6138 * data/evince-ui.xml: add File and File->Close menu.
6140 * shell/ev-window.c (ev_window_cmd_file_close_window): impl.
6141 (ev_window_destroy): quit after destroy.
6142 (ev_window_class_init): override GtkObject::destroy.
6143 (entries): install close_window callback.
6145 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6147 * Makefile.am (SUBDIRS): add data subdir.
6149 * configure.ac (UIDIR): gen data/Makefile, define UIDIR. Require
6150 gtk+ 2.5.0 for GtkAboutDialog.
6152 * data/Makefile.am, data/evince-ui.xml: add, ui definition for the
6155 * shell/Makefile.am (INCLUDES): propagate UIDIR definition.
6157 * shell/ev-window.c (ev_window_init): create a menubar, using a ui
6159 (ev_window_cmd_help_about): about command, using GtkAboutDialog.
6161 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6163 * shell/ev-window.c, shell/ev-window.h: Created an EvWindow class.
6165 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
6167 * shell/main.c: make it a trivial gtk+ program, adjust configure.ac
6169 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
6171 * shell/*: Added shell directory boilerplate, build it.
6173 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
6175 * configure.ac, Makefile.am: Added top-level configure.ac and