1 2005-07-22 Martin Kretzschmar <martink@gnome.org>
3 * backend/ev-document-factory.c (mime_type_supported_by_gdk_pixbuf):
4 #ifdef this away to fix an unused-function warning.
6 2005-07-22 Ignacio Casal Quinteiro <nacho.resa@gmail.com>
8 * configure.ac: Added 'gl' to ALL_LINGUAS.
10 2005-07-22 Pawan Chitrakar <pawan@nplinux.org>
12 * configure.ac: Added ne in ALL_LINGUAS
14 2005-07-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
16 * shell/ev-view.c: (ev_view_leave_notify_event):
18 Clear status message when pointer leaves view. Fix for bug
21 2005-07-20 Ankit Patel <ankit644@yahoo.com>
23 * configure.ac: Gujarati (gu) added to ALL_LINGUAS
25 2005-07-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
27 * shell/ev-view.c: (ev_view_leave_notify_event),
30 Set cursor to normal then leaving view.
32 2005-07-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
36 Fix required djvulibre version.
38 2005-07-15 Rajesh Ranjan <rajeshkajha@yahoo.com>
40 *configure.ac: Hindi (hi) language added
42 2005-07-15 Amanpreet Singh Brar <amanpreetalam@yahoo.com>
44 *configure.ac: Punjabi (pa) Language added
46 2005-07-12 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
48 * data/evince-ui.xml, shell/ev-window.c:
50 Add keypad accelerators for zooming. Fix for bug 308128.
52 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
55 * backend/Makefile.am:
56 * backend/ev-document-factory.c: (ev_document_type_get_from_mime):
58 * shell/ev-document-types.c: (ev_document_types_add_filters):
60 Allow to enable/disable the pixbuf backend.
61 Default to off for now. If we want it enabled we should
62 really put mime types in the desktop, implement properties etc.
64 * properties/evince-properties.c:
66 Initialize error to NULL.
67 Check error is not NULL before freeing.
69 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
73 Use F5 as presentation accell
75 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
77 * shell/ev-window.c: (update_chrome_visibility),
78 (ev_window_create_fullscreen_popup), (ev_window_init):
80 Do not leak the fullscreen toolbar
82 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
84 * shell/ev-window.c: (view_actions_focus_in_cb),
85 (view_actions_focus_out_cb):
87 These has a return value! Fix totally random focus
90 2005-07-11 Carlos Garcia Campos <carlosgc@gnome.org>
92 * shell/main.c: (load_files_remote):
94 Allow open more than one file
96 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
98 * shell/main.c: (load_files_remote):
100 Fix for dbus 0.33. bug #309975
102 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
104 * properties/ev-properties-main.c: (ev_properties_get_pages):
106 Actually return NULL for types we dont support
108 2005-07-08 Christian Persch <chpe@cvs.gnome.org>
114 2005-07-08 Marco Pesenti Gritti <marco@gnome.org>
116 * backend/ev-document-factory.c:
117 (ev_document_factory_get_document):
119 Do not try to create the object if type
122 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
124 * ps/ps-document.c: (ps_document_dispose),
125 (ps_async_renderer_render_pixbuf):
128 Do not leak the target window
130 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
132 * shell/ev-application.c: (ev_application_init):
134 Let tbe check file existence for us.
135 Add a comment about eggrecent mime filter.
137 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
139 * data/evince-ui.xml:
140 * shell/ev-application.c: (ev_application_shutdown),
141 (ev_application_init), (ev_application_get_toolbars_model),
142 (ev_application_get_recent_model),
143 (ev_application_save_toolbars_model):
144 * shell/ev-application.h:
145 * shell/ev-window.c: (ev_window_add_recent),
146 (ev_window_setup_recent), (ev_window_cmd_edit_toolbar_cb),
147 (ev_window_cmd_edit_toolbar), (ev_window_dispose),
150 Use common toolbar and recent models for all windows.
151 Patch by Nickolay V. Shmyrev <nshmyrev@yandex.ru>
153 Thu Jul 7 23:10:01 2005 Jonathan Blandford <jrb@redhat.com>
155 * configure.ac: add FRONTEND_CORE_LIBS to evince_save_LIBS so we
156 successfully check for gtk_icon_view_get_visible_range.
158 2005-07-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
163 Fix djvu and dvi backend build.
165 2005-07-07 Christian Persch <chpe@cvs.gnome.org>
167 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c: (new_pixbuf_from_widget),
168 (new_separator_pixbuf):
172 2005-07-07 Christian Persch <chpe@cvs.gnome.org>
174 * shell/ev-window.c: (ev_window_cmd_edit_toolbar):
176 HIGification of toolbar editor dialogue.
178 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
183 Ever build metadata manager since it's just
184 disabled at runtime now.
186 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
188 * shell/ev-metadata-manager.c: (ev_metadata_manager_init),
189 (ev_metadata_manager_get), (ev_metadata_manager_set):
190 * shell/ev-metadata-manager.h:
192 Add an _init functions that enabled metadata management
195 * shell/ev-window.c: (page_changed_cb),
196 (setup_document_from_metadata), (ev_window_setup_document),
197 (setup_view_from_metadata), (ev_window_open_uri),
198 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
199 (ev_window_run_presentation), (ev_window_stop_presentation),
200 (save_sizing_mode), (ev_window_zoom_changed_cb),
201 (ev_window_continuous_changed_cb),
202 (ev_window_dual_mode_changed_cb), (window_state_event_cb),
203 (window_configure_event_cb):
205 Remove all ugly metadata define since we deal with it
208 * shell/main.c: (load_files_remote), (main):
210 Add support for dbus cvs head. Hopefully didnt break one
211 of the other versions now!
213 If we dont get a response from the dbus server just
214 give up with it and not enable metadata.
216 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
219 * backend/Makefile.am:
221 * cut-n-paste/recent-files/Makefile.am:
222 * cut-n-paste/toolbar-editor/Makefile.am:
223 * cut-n-paste/zoom-control/Makefile.am:
226 * pixbuf/Makefile.am:
227 * properties/Makefile.am:
230 * thumbnailer/Makefile.am:
233 Make frontends depend on just libev.
234 Rework and group CFLAGS/LIBS definitions.
237 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
241 do not unnecessarily save zoom
244 * lib/ev-file-helpers.c: (ev_dot_dir):
250 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
254 Remove unnecessary dependencies
256 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
258 * properties/Makefile.am:
259 * thumbnailer/Makefile.am:
262 Some more cleanups. Was really necessary
263 but I probably introduced bugs, feel free
266 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
268 * backend/Makefile.am:
270 * cut-n-paste/recent-files/Makefile.am:
271 * cut-n-paste/toolbar-editor/Makefile.am:
272 * cut-n-paste/zoom-control/Makefile.am:
275 * pixbuf/Makefile.am:
276 * properties/Makefile.am:
279 * thumbnailer/Makefile.am:
282 Use gnome-common macros when possible.
283 Cleanup dependencies.
284 Actually disable deprecated where possible.
286 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
289 * backend/Makefile.am:
290 * properties/Makefile.am:
292 * thumbnailer/Makefile.am:
294 This should solve the circular dep without
297 * shell/ev-window.c: (setup_view_from_metadata):
299 Never restore window size/position when the
300 window is already visible.
302 2005-07-06 Christian Persch <chpe@cvs.gnome.org>
304 * shell/ev-metadata-manager.c: (ev_metadata_manager_save):
306 Return a boolean from timeout func. Fix ported from gedit.
308 2005-07-07 Iñaki Larrañaga <dooteo@euskalgnu.org>
310 * configure.ac: Added "eu" (Basque) to ALL_LINGUAS.
312 2005-07-06 Carlos Garcia Campos <carlosgc@gnome.org>
314 * shell/ev-document-types.c: set "All Documents" as default filter in
317 2005-07-06 Martin Kretzschmar <martink@gnome.org>
319 * shell/ev-metadata-manager.c (ev_metadata_manager_set_int)
320 (ev_metadata_manager_set_double, ev_metadata_manager_set_string)
321 (ev_metadata_manager_set_boolean): fix value/val thinko.
323 2005-07-06 Marco Pesenti Gritti <mpg@redhat.com>
325 * shell/ev-window.c: (setup_view_from_metadata),
326 (window_state_event_cb), (window_configure_event_cb),
329 Remember window position and maximized state
331 2005-07-06 Christian Persch <chpe@cvs.gnome.org>
335 Fix DBUS configure checks.
337 * shell/ev-metadata-manager.c: (ev_metadata_manager_set_int),
338 (ev_metadata_manager_set_double), (ev_metadata_manager_set_string),
339 (ev_metadata_manager_set_boolean):
343 * shell/ev-window.c: (page_changed_cb), (ev_window_run_fullscreen),
344 (ev_window_stop_fullscreen), (ev_window_run_presentation),
345 (ev_window_stop_presentation), (ev_window_zoom_changed_cb),
346 (ev_window_continuous_changed_cb),
347 (ev_window_dual_mode_changed_cb), (ev_window_new):
349 Fix the build without DBUS.
351 2005-07-06 Marco Pesenti Gritti <mpg@redhat.com>
353 * shell/ev-metadata-manager.c: (parse_value), (save_values),
354 (ev_metadata_manager_set_int), (ev_metadata_manager_set_double),
355 (ev_metadata_manager_set_string),
356 (ev_metadata_manager_set_boolean):
357 * shell/ev-metadata-manager.h:
359 Add support for some more types
361 * shell/ev-view.c: (scroll_to_current_page),
362 (ev_view_get_continuous), (ev_view_set_continuous),
363 (ev_view_get_dual_page):
365 * shell/ev-window.c: (page_changed_cb),
366 (setup_document_from_metadata), (ev_window_setup_document),
367 (setup_view_from_metadata), (ev_window_open_uri),
368 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
369 (ev_window_run_presentation), (ev_window_stop_presentation),
370 (save_sizing_mode), (ev_window_sizing_mode_changed_cb),
371 (ev_window_zoom_changed_cb), (ev_window_update_continuous_action),
372 (ev_window_update_dual_page_action),
373 (ev_window_continuous_changed_cb),
374 (ev_window_dual_mode_changed_cb), (ev_window_init):
376 Remember a bunch of view/document properties. Prolly some
377 are still missing but it's getting interesting.
379 2005-07-05 Martin Kretzschmar <martink@gnome.org>
381 * configure.ac: check if dbus-binding-tool is installed. Not the
382 case on current Ubuntu breezy, it seems.
384 2005-07-05 Luca Ferretti <elle.uca@libero.it>
386 * data/evince.desktop.in.in:
388 Allow open uri lists and add TryExec field.
390 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
394 Enable dbus when available, do not require a configure
397 2005-07-05 Christian Persch <chpe@cvs.gnome.org>
401 Use AM_CONDITIONAL unconditionally, fixes the build with DBUS
404 2005-07-05 Carlos Garcia Campos <carlosgc@gnome.org>
405 Marco Pesenti Gritti <mpg@redhat.com>
407 * shell/Makefile.am: Add --prefix for dbus-binding-tool script
409 * shell/ev-application.[ch], shell/ev-window.c: change dbus RPC
410 functions to the format required by dbus
412 * shell/main.c: use G_TYPE instead of DBUS_TYPE to fix compilation
413 errors. Use the RPC parameters in the expected way
415 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
418 * properties/Makefile.am:
419 * properties/ev-properties-main.c: (ev_properties_get_pages):
421 Support all mime types
424 * thumbnailer/Makefile.am:
425 * thumbnailer/evince-thumbnailer.c: (get_document_from_uri),
426 (evince_thumbnail_pngenc_get):
428 Use the document factory
430 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
432 * backend/Makefile.am:
433 * backend/ev-document-factory.c:
434 (mime_type_supported_by_gdk_pixbuf),
435 (ev_document_type_get_from_mime),
436 (ev_document_factory_get_document),
437 (ev_document_factory_get_backend),
438 (ev_document_factory_get_mime_types),
439 (ev_document_factory_get_all_mime_types):
440 * backend/ev-document-factory.h:
442 * shell/ev-document-types.c: (get_document_from_uri),
443 (ev_document_types_get_document),
444 (file_filter_add_mime_list_and_free),
445 (ev_document_types_add_filters):
446 * shell/ev-document-types.h:
447 * shell/ev-job-xfer.c: (ev_job_xfer_run):
448 * shell/ev-properties-dialog.c:
449 (ev_properties_dialog_set_document):
450 * shell/ev-window.c: (ev_window_cmd_file_open),
451 (ev_window_cmd_save_as):
452 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
454 Rework document types managing to avoid code duplication
455 and actually abstract from backend implementations.
456 Also provide a minimal factory api that can be used by
457 thumbnailer/properties.
459 2005-07-05 Christian Persch <chpe@cvs.gnome.org>
461 * properties/ev-properties-view.c: (ev_properties_view_set_info):
463 * shell/ev-properties-dialog.c: (ev_properties_dialog_init):
466 2005-07-04 Matthew S. Wilson <msw@rpath.com>
468 * shell/ev-properties-dialog.c
469 (ev_properties_dialog_set_document): only call
470 ev_properties_fonts_set_document() if the document implements the
473 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
476 * properties/Makefile.am:
477 * properties/ev-properties-view.c:
478 (ev_properties_view_register_type):
479 * properties/ev-properties-view.h:
480 * properties/ev-properties-main.h:
482 Implement nautilus plugin for properties.
483 Works only for pdf atm, I need to rework the
484 document types stuff to get this to work
487 2005-07-04 Martin Kretzschmar <martink@gnome.org>
489 * shell/ev-properties-fonts.c (enum): kill redundant columns enum
490 (ev_properties_fonts_set_document): use
491 EV_DOCUMENT_FONTS_COLUMN_NUM_COLUMNS.
493 2005-07-04 Matthew S. Wilson <msw@rpath.com>
495 * tiff/tiff2ps.c: remove TRUE and FALSE definitions, glib provides
497 (PlaceImage, tiff2ps_process_page): use
498 g_ascii_dtostr to convert floats to strings in a locale-safe way.
501 2005-07-04 Martin Kretzschmar <martink@gnome.org>
503 * shell/main.c: include libgnomeui/gnome-authentication-manager.h
504 (main): to call gnome_authentication_manager_init. Should fix
507 * configure.ac: that requires libgnomeui 2.6.0.
509 2005-07-04 Matthew S. Wilson <msw@rpath.com>
511 * tiff/tiff-document.c (tiff_document_ps_export_begin)
512 (tiff_document_ps_export_do_page, tiff_document_ps_export_end):
513 use the new tiff2ps interfaces
515 * tiff/tiff2ps.h (tiff2ps_context_new, tiff2ps_process_page)
516 (tiff2ps_context_finalize): implement new interfaces for tiff2ps
518 * tiff/tiff2ps.c: refactor tiff2ps code to use a context
519 structure instead of global variables. Remove use of static
520 variables in functions.
522 2005-07-04 Carlos Garcia Campos <carlosgc@gnome.org>
524 * shell/ev-page-action.c: unref the completion after setting it to the
527 2005-07-04 Matthew S. Wilson <msw@rpath.com>
529 * tiff/tiff2ps.c (generateEPSF): disable generating encapsulated
532 2005-07-04 Matthew S. Wilson <msw@rpath.com>
534 * shell/ev-window.c (update_action_sensitivity): disable
535 File->Print if the document does not implement the ps exporter
538 2005-07-04 Marco Pesenti Gritti <mpg@redhat.com>
542 * data/evince-properties.glade:
543 * properties/.cvsignore:
544 * properties/Makefile.am:
545 * properties/ev-properties-view.c: (ev_properties_view_dispose),
546 (ev_properties_view_class_init), (ev_properties_view_format_date),
547 (make_valid_utf8), (set_property), (ev_properties_view_set_info),
548 (ev_properties_view_init), (ev_properties_view_new):
549 * properties/ev-properties-view.h:
551 * shell/ev-properties-dialog.c: (ev_properties_dialog_class_init),
552 (ev_properties_dialog_init), (ev_properties_dialog_set_document),
553 (ev_properties_dialog_new):
554 * shell/ev-properties-dialog.h:
555 * shell/ev-properties-fonts.c: (ev_properties_fonts_dispose),
556 (ev_properties_fonts_class_init), (ev_properties_fonts_init),
557 (update_progress_label), (job_fonts_finished_cb),
558 (ev_properties_fonts_set_document), (ev_properties_fonts_new):
559 * shell/ev-properties-fonts.h:
560 * shell/ev-properties.c:
561 * shell/ev-properties.h:
562 * shell/ev-window.c: (ev_window_setup_document),
563 (ev_window_cmd_file_properties):
565 Split the properties pages in two different objects, depend
566 only on the backend where possible, use widgets instead
567 of gobject for the glade part, reimplement the dialog
569 I need this to implement nautilus properties page.
571 2005-07-03 Matthew S. Wilson <msw@rpath.com>
573 * tiff/tiff-document.c (tiff_document_ps_export_begin)
574 (tiff_document_ps_export_do_page, tiff_document_ps_export_end)
575 (tiff_document_document_ps_exporter_iface_init): implement the ps
576 exporter interface for tiff documents
578 * tiff/tiff2ps.c: added a modified version of tiff2ps.c from
579 libtiff to implement TIFF postscript export
581 * tiff/tiff2ps.h: added a header file for external tiff2ps
584 * tiff/Makefile.am (libtiffdocument_la_SOURCES): add tiff2ps.c and
587 2005-07-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
589 * shell/ev-view.c: (scroll_to_current_page),
590 (ev_view_set_fullscreen), (ev_view_set_presentation):
592 Scroll to current page when exit from presentation
594 2005-07-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
596 * shell/ev-window.c: (update_document_mode),
597 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
598 (ev_window_cmd_view_fullscreen), (ev_window_stop_presentation),
599 (ev_window_cmd_view_presentation), (ev_window_cmd_escape):
601 Exit from fullscreen mode when switch to presentation. Fix for
604 2005-07-02 Matthew S. Wilson <msw@rpath.com>
606 * shell/ev-pixbuf-cache.c (ev_pixbuf_cache_get_selection_pixbuf):
607 return NULL if the document does not implement the selection
610 2005-07-02 Matthew S. Wilson <msw@rpath.com>
612 * tiff/tiff-document.c (tiff_document_get_page_size): scale the
613 reported height by using the resolution aspect ratio
614 (tiff_document_render_pixbuf): scale the pixbuf using the
615 resolution aspect ratio
617 2005-07-01 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
621 Require libgnomeprint >= 2.5.1. Thanks to Colin Slater
622 <kiltedaco@gmail.com>
624 * djvu/djvu-document.c: (djvu_document_get_orientation),
625 (djvu_document_set_orientation), (djvu_document_get_page_size),
626 (rotate_pixbuf), (djvu_document_render_pixbuf),
627 (djvu_document_document_iface_init):
628 * dvi/dvi-document.c: (dvi_document_get_orientation),
629 (dvi_document_set_orientation), (dvi_document_get_page_size),
630 (rotate_pixbuf), (dvi_document_render_pixbuf),
631 (dvi_document_document_iface_init):
633 Dvi and djvu backends are ported to new API
635 Fri Jul 1 00:10:15 2005 Jonathan Blandford <jrb@redhat.com>
637 * backend/ev-selection.c: (ev_selection_get_selection_region),
638 (ev_selection_get_selection_map):
639 * backend/ev-selection.h:
641 * shell/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
643 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info),
644 (job_finished_cb), (copy_job_to_job_info), (add_job_if_needed),
645 (ev_pixbuf_cache_get_text_mapping):
646 * shell/ev-pixbuf-cache.h:
647 * shell/ev-view.c: (location_in_text),
648 (ev_view_motion_notify_event), (ev_view_set_cursor): Add I-Beam
649 support to EvView. Now we can see where we can select! Sweet!
651 2005-06-30 Kristian Høgsberg <krh@redhat.com>
653 * shell/ev-view.c (ev_view_button_press_event): Fix
654 event->y + view->scroll_x typo.
656 2005-06-30 Kristian Høgsberg <krh@redhat.com>
658 * pdf/ev-poppler.cc: Adjust to poppler API changes; use a
659 sub-GdkPixbuf instead of passing dest_x and dest_y.
661 * shell/ev-view.c: (view_point_to_doc_point),
662 (view_rect_to_doc_rect), (ev_view_button_press_event),
663 (ev_view_motion_notify_event), (compute_new_selection_rect),
664 (gdk_rectangle_point_in), (compute_new_selection_text),
665 (compute_selections): Update selection code to keep the selection
666 around as two points and not as a normalized rectangle, and fix
667 page level selection in two-column mode.
669 2005-06-30 Alex Duggan <aldug@astrolinux.com>
671 * shell/ev-window.c: (window_configure_event_cb):
675 2005-06-30 Marco Pesenti Gritti <mpg@redhat.com>
681 2005-06-30 Marco Pesenti Gritti <mpg@redhat.com>
684 * shell/ev-metadata-manager.c: (item_free),
685 (ev_metadata_manager_init), (ev_metadata_manager_shutdown),
686 (parse_value), (parseItem), (load_values),
687 (ev_metadata_manager_get), (value_free), (ev_metadata_manager_set),
688 (save_values), (save_item), (get_oldest), (resize_items),
689 (ev_metadata_manager_save), (ev_metadata_manager_set_int):
690 * shell/ev-metadata-manager.h:
692 Metadata manager from gedit but modified to use GValue, so that
693 we dont need to keep converting from strings.
697 ENABLE_METADATA conditional, on when dbus is on
699 * shell/ev-application.c: (ev_application_open_uri):
701 Show the window after load so that we can initialize
702 window size before it's showed.
704 * shell/ev-window.c: (ev_window_setup_from_metadata),
705 (ev_window_open_uri), (window_configure_event_cb),
708 Save and load metadata information about window size.
709 Not yet keeping states in account.
711 * shell/main.c: (main):
713 Shutdown metadata manager.
715 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
717 * shell/ev-application-service.xml:
720 * shell/ev-application.c:
721 * shell/ev-application.h:
726 Add an optional dbus interface (--enable-dbus).
727 Rework application code, mainly to be easier to
729 Do not open multiple windows with the same document,
732 Thu Jun 30 01:50:14 2005 Jonathan Blandford <jrb@redhat.com>
734 * shell/ev-pixbuf-cache.c (clear_selection_if_needed): unref the
735 pixbuf iff it exists.
737 Thu Jun 30 01:43:00 2005 Jonathan Blandford <jrb@redhat.com>
740 * backend/ev-render-context.[ch]:
741 * backend/ev-selection.[ch]:
743 Massive changes. We now support text selection of pdfs, and not
744 just rectangular selection. This is pretty broken still, but I
745 want to get something into CVS.
747 2005-06-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
751 Fix for Bug 309080: crash on window close.
753 * shell/ev-page-action.c: (page_changed_cb):
755 Fix for Bug 309168: Fix build with gcc 2.95. Thanks to
756 jensgr@gmx.net (Jens Granseuer).
758 2005-06-25 Marcel Telka <marcel@telka.sk>
760 * configure.in (ALL_LINGUAS): Added sk.
762 2005-06-24 Carlos Garcia Campos <carlosgc@gnome.org>
764 * shell/ev-window.c: Make rotate menu entries unsensitive if there is
767 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
774 * cut-n-paste/recent-files/Makefile.am:
778 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
780 * pixbuf/pixbuf-document.c: (pixbuf_document_get_orientation),
781 (pixbuf_document_set_orientation), (rotate_pixbuf),
782 (pixbuf_document_get_page_size), (pixbuf_document_render_pixbuf),
783 (pixbuf_document_document_iface_init), (pixbuf_document_init):
785 Implement rotation and cleanup the code a bit.
787 * tiff/tiff-document.c: (tiff_document_get_page_size),
788 (tiff_document_get_orientation), (tiff_document_set_orientation),
789 (rotate_pixbuf), (tiff_document_render_pixbuf),
790 (tiff_document_document_iface_init), (tiff_document_init):
792 Implement rotation. Was the quicker solution for the release
793 but we really need to share this code in the shell.
795 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
799 Enable rotation, require poppler cvs. Fix a leak.
801 2005-06-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
803 * shell/ev-window.c: (update_action_sensitivity):
805 Make properties unsensitive if document backend doesn't provide
808 2005-06-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
810 * dvi/mdvi-lib/bitmap.c: (bitmap_alloc), (bitmap_alloc_raw),
811 (bitmap_flip_horizontally), (bitmap_flip_vertically),
812 (bitmap_flip_diagonally), (bitmap_rotate_clockwise),
813 (bitmap_rotate_counter_clockwise), (bitmap_flip_rotate_clockwise),
814 (bitmap_flip_rotate_counter_clockwise):
815 * dvi/mdvi-lib/color.c: (mdvi_push_color), (get_color_table):
816 * dvi/mdvi-lib/common.c: (read_string), (buff_free), (buff_add),
818 * dvi/mdvi-lib/common.h:
819 * dvi/mdvi-lib/dvimisc.c: (mdvi_push_color):
820 * dvi/mdvi-lib/dviread.c: (get_bytes), (dreset), (define_font),
821 (opendvi), (mdvi_reload), (mdvi_init_context),
822 (mdvi_destroy_context), (mdvi_dopage), (special):
823 * dvi/mdvi-lib/font.c: (font_drop_one), (font_free_unused):
824 * dvi/mdvi-lib/fontmap.c: (read_encoding), (destroy_encoding),
825 (file_hash_free), (register_encoding), (parse_spec),
826 (mdvi_load_fontmap), (free_ent), (mdvi_init_fontmaps),
827 (mdvi_add_fontmap_file), (mdvi_ps_read_fontmap),
828 (mdvi_ps_flush_fonts), (mdvi_ps_find_font), (mdvi_ps_get_metrics):
829 * dvi/mdvi-lib/fontsrch.c: (mdvi_list_font_class),
830 (mdvi_register_font_type), (mdvi_unregister_font_type),
831 (lookup_font), (mdvi_add_font), (mdvi_font_retry):
832 * dvi/mdvi-lib/gf.c: (gf_read_bitmap), (gf_load_font):
833 * dvi/mdvi-lib/hash.c: (mdvi_hash_remove), (mdvi_hash_remove_ptr),
834 (mdvi_hash_destroy_key), (mdvi_hash_reset):
835 * dvi/mdvi-lib/pagesel.c: (mdvi_parse_range),
836 (mdvi_parse_page_spec), (mdvi_free_page_spec), (main):
837 * dvi/mdvi-lib/paper.c: (mdvi_free_paper_specs):
838 * dvi/mdvi-lib/pk.c: (pk_lookup), (pk_lookupn), (pk_load_font):
839 * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
840 * dvi/mdvi-lib/special.c: (mdvi_register_special),
841 (mdvi_unregister_special), (mdvi_flush_specials):
842 * dvi/mdvi-lib/t1.c: (t1_lookup_font), (t1_really_load_font),
844 * dvi/mdvi-lib/tfm.c: (get_tfm_chars):
845 * dvi/mdvi-lib/tfmfile.c: (afm_load_file), (tfm_load_file),
846 (ofm1_load_file), (ofm_load_file), (get_font_metrics),
847 (free_font_metrics), (flush_font_metrics):
848 * dvi/mdvi-lib/tt.c: (tt_really_load_font), (tt_get_bitmap),
850 * dvi/mdvi-lib/util.c: (mdvi_malloc), (mdvi_realloc),
851 (mdvi_calloc), (mdvi_free), (mdvi_strdup), (mdvi_strncpy),
852 (mdvi_strndup), (mdvi_memdup), (xstradd), (dstring_append),
853 (dstring_insert), (dstring_new), (dstring_reset):
854 * dvi/mdvi-lib/vf.c: (vf_load_font), (vf_free_macros):
856 Rename xmalloc and xfree to mdvi_malloc and mdvi_free to
857 avoid conflict with libtool on FC4
859 * shell/ev-window.c: (ev_window_cmd_help_about):
861 Update copyright year. Fix for bug 308828.
863 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
865 * shell/ev-view.c: (add_scroll_binding_keypad),
866 (ev_view_binding_activated), (ev_view_class_init),
867 (on_adjustment_value_changed):
869 Bug 170874: Arrow keys switch pages in presentation mode
871 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
873 * shell/ev-window.c: (ev_window_sidebar_visibility_changed_cb):
875 Fix for Bug 308265: Sidebar dissappears coming out of
878 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
880 * shell/ev-application.c: (ev_application_open):
881 * shell/ev-document-types.c: (ev_document_types_add_filters),
882 (ev_document_types_add_filters_for_type):
883 * shell/ev-document-types.h:
884 * shell/ev-window.c: (ev_window_cmd_save_as):
886 Suggest basename as template when saving, provide filters
887 for save dialog. It's bug 308402
889 2005-06-20 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
892 * shell/ev-sidebar-links.c: (job_finished_callback):
893 * shell/ev-view.c: (update_find_status_message):
897 2005-06-19 Christian Persch <chpe@cvs.gnome.org>
899 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
900 (egg_recent_view_uimanager_set_list):
902 Fix buglet in !show_numbers case.
904 2005-06-19 Christian Persch <chpe@cvs.gnome.org>
906 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
907 (connect_proxy_cb), (egg_recent_view_uimanager_set_list):
909 Use pango ellipsisation.
913 Fix refcount leak, from nsh.
915 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
917 * cut-n-paste/recent-files/Makefile.am:
918 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
919 * cut-n-paste/recent-files/egg-recent-view-gtk.h:
921 Removed EggRecentViewGtk
923 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
924 * cut-n-paste/recent-files/egg-recent-view-uimanager.h:
925 * shell/ev-window.c: (ev_window_cmd_recent_file_activate),
926 (ev_window_setup_recent):
928 Use ViewUIManager instead of ViewGtk. Less leaks, more compatibility
931 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
933 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
934 (egg_recent_view_gtk_finalize):
938 * cut-n-paste/toolbar-editor/Makefile.am:
940 Fix location of cursor icon.
943 * shell/ev-page-action.c: (build_new_tree_cb), (match_selected_cb),
944 (display_completion_text), (match_completion):
945 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
946 (selection_changed_callback), (create_loading_model),
947 (print_section_cb), (links_page_num_func),
948 (update_page_callback_foreach):
949 * shell/ev-window.c: (ev_window_dispose):
951 Small memory fixes. Links model now store objects instead
952 of pointers to improve memory management.
954 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
956 * shell/ev-window.c: (zoom_control_changed_cb):
958 Fix update of zoom control (bug 308268).
960 Sat Jun 18 22:46:42 2005 Jonathan Blandford <jrb@redhat.com>
962 * shell/ev-properties.c (set_property): escape the text correctly.
963 Handles non-UTF-8 properties and escaped properties. Also, sets
964 the text to "<i>None</i>" if the property isn't set.
966 * data/evince-properties.glade: Change the label to be ellipsized,
967 and give it a minimum size.
969 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
971 * lib/ev-file-helpers.c: (ev_file_helpers_shutdown):
972 * shell/ev-sidebar-links.c: (create_loading_model):
973 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose):
974 * shell/ev-view.c: (ev_view_set_document):
975 * shell/ev-window.c: (ev_window_dispose):
977 Various small fixes, mostly memory leaks. Thanks to valgrind.
979 2005-06-19 Martin Kretzschmar <martink@gnome.org>
981 * ps/ps-document.c: remove the locale.h include again ;-). And
982 kill the (bogus) setlocale/savelocale business.
984 2005-06-19 Jaap A. Haitsma <jaap@haitsma.org>
988 Include locale.h to fix build
990 * shell/ev-sidebar.c:
992 Remove unnecessary includes
994 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
996 * dvi/dvi-document.c: (dvi_document_load):
997 * dvi/mdvi-lib/dviread.c: (mdvi_init_context):
1000 Check for incorrect dvi files. Fix parsing dvi on AMD64
1001 platform. Thanks to tester@tester.ca (Olivier Crete).
1003 2005-06-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1005 * shell/ev-page-action.c: (match_selected_cb),
1006 (display_completion_text), (match_completion), (update_model):
1007 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
1008 (expand_open_links):
1009 * shell/ev-sidebar.c: (ev_sidebar_destroy),
1010 (ev_sidebar_menu_item_activate_cb), (ev_sidebar_add_page),
1011 (ev_sidebar_set_document):
1012 * shell/ev-window.c: (ev_window_xfer_job_cb),
1013 (sidebar_widget_model_set), (sidebar_page_main_widget_update_cb):
1015 Fixed lot's of memory leaks, for example, memory leak on reload,
1016 described in bug 307793.
1018 2005-06-18 Marco Pesenti Gritti <mpg@redhat.com>
1020 * pdf/ev-poppler.cc:
1021 * shell/ev-sidebar-thumbnails.c: (clear_range), (add_range),
1022 (update_visible_range), (adjustment_changed_cb),
1023 (ev_sidebar_thumbnails_fill_model),
1024 (ev_sidebar_thumbnails_refresh),
1025 (ev_sidebar_tree_selection_changed),
1026 (ev_sidebar_icon_selection_changed),
1027 (ev_sidebar_thumbnails_use_icon_view),
1028 (ev_sidebar_thumbnails_set_document):
1029 * shell/ev-sidebar-thumbnails.h:
1030 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
1031 (ev_window_cmd_edit_rotate_right), (ev_window_init):
1033 Refresh thumbnails when changing orientation. Not fully
1034 working yet becuase of a sidebar bug.
1036 Set page orientation to poppler page everywhere. This sucks
1037 really need to fix poppler.
1039 2005-06-18 Marco Pesenti Gritti <mpg@redhat.com>
1041 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
1042 (egg_recent_view_gtk_new_menu_item),
1043 (egg_recent_view_gtk_set_property),
1044 (egg_recent_view_gtk_get_property),
1045 (egg_recent_view_gtk_class_init), (egg_recent_view_gtk_init),
1046 (egg_recent_view_gtk_set_tooltip_func),
1047 (egg_recent_view_gtk_set_label_width),
1048 (egg_recent_view_gtk_get_label_width):
1049 * cut-n-paste/recent-files/egg-recent-view-gtk.h:
1051 Sync with libegg (ellipsize labels)
1053 2005-06-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1055 * data/evince-ui.xml:
1056 * shell/ev-window.c: (ev_window_cmd_go_forward),
1057 (ev_window_cmd_go_backward):
1059 Shift + PageUp moves 10 Pages. Fix for 306125
1061 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1063 * pdf/ev-poppler.cc:
1065 Add a flag to check if orientation has been overriden
1067 2005-06-17 Martin Kretzschmar <martink@gnome.org>
1069 * ps/ps.c (psscan, psfree): read "Creator:" comment, free creator
1072 * ps/ps.h: add creator field to document.
1074 * ps/ps-document.c (ps_document_get_info): set format to PostScript,
1077 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1079 * data/evince-properties.glade:
1080 * shell/ev-properties.c: (ev_properties_set_document):
1082 s/PDF Version/Format
1084 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1086 * shell/ev-properties.c: (ev_properties_set_document):
1088 Remove unnecessary translations
1090 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1092 * cut-n-paste/toolbar-editor/Makefile.am:
1094 Correct library name
1096 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1099 * cut-n-paste/recent-files/egg-recent-model.c:
1100 (egg_recent_model_write_raw), (egg_recent_model_lock_file),
1101 (egg_recent_model_unlock_file):
1102 * cut-n-paste/recent-files/egg-recent-util.c:
1103 (egg_recent_util_get_unique_id):
1104 * cut-n-paste/recent-files/update-from-egg.sh:
1105 * cut-n-paste/toolbar-editor/Makefile.am:
1106 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
1107 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
1108 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
1109 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
1110 (egg_toolbars_model_get_type):
1111 * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
1113 Better makefile for toolbar editor and update everything
1116 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1118 * shell/ev-window.c: (update_document_mode):
1120 Prefer presentation mode when the document
1123 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1125 * data/evince-ui.xml:
1126 * shell/ev-window.c:
1128 Add control-equal for zooming
1130 2005-06-17 Theppitak Karoonboonyanan <thep@linux.thai.net>
1132 * configure.ac: Added 'th' (Thai) to ALL_LINGUAS.
1134 2005-06-16 Marco Pesenti Gritti <mpg@redhat.com>
1136 * backend/ev-document.c: (ev_document_get_orientation):
1137 * backend/ev-document.h:
1138 * pdf/ev-poppler.cc:
1139 * ps/ps-document.c: (ps_document_get_orientation),
1140 (ps_document_set_orientation), (ps_document_document_iface_init):
1142 Add a get_orientation api. Improve set_orientation.
1144 * data/evince-ui.xml:
1145 * shell/ev-view.c: (ev_view_set_orientation),
1146 (ev_view_rotate_right), (ev_view_rotate_left):
1148 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
1149 (ev_window_cmd_edit_rotate_right):
1151 Better ui for changing document orientation
1153 2005-06-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1155 * shell/ev-sidebar-links.c: (ev_sidebar_links_get_property),
1156 (ev_sidebar_links_class_init), (ev_sidebar_links_get_label):
1157 * shell/ev-sidebar-links.h:
1158 * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
1159 (ev_sidebar_page_iface_init):
1160 * shell/ev-sidebar-page.h:
1161 * shell/ev-sidebar-thumbnails.c:
1162 (ev_sidebar_thumbnails_get_property),
1163 (ev_sidebar_thumbnails_class_init),
1164 (ev_sidebar_thumbnails_set_document):
1165 * shell/ev-sidebar-thumbnails.h:
1166 * shell/ev-view.c: (ev_view_motion_notify_event):
1167 * shell/ev-window.c: (update_chrome_visibility),
1168 (ev_window_cmd_focus_page_selector),
1169 (ev_window_update_fullscreen_popup), (view_actions_focus_in_cb),
1170 (sidebar_page_main_widget_update_cb), (ev_window_init):
1172 Autoraise toolbar on GoToPage binding and fix bindings in
1173 EvSidebarThumbnails page.
1175 2005-06-15 Christian Persch <chpe@cvs.gnome.org>
1177 * shell/ev-properties.c: (update_progress_label):
1179 Hide the progress label when finished; bug #307697.
1181 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
1183 * pdf/ev-poppler.cc:
1185 Enable is_open for links, you will need poppler cvs
1187 * shell/ev-properties.c: (job_fonts_finished_cb):
1189 Get a lock on the document when filling the tree view
1191 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
1193 * backend/ev-document-links.h:
1194 * pdf/ev-poppler.cc:
1195 * shell/ev-sidebar-links.c: (create_loading_model),
1196 (expand_open_links), (job_finished_callback):
1198 Expand links when specified by the document.
1199 Depend on a poppler api (defined out for now)
1201 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
1203 * shell/ev-properties.c: (ev_properties_dispose),
1204 (ev_properties_class_init), (dialog_destroy_cb),
1205 (ev_properties_init), (job_fonts_finished_cb), (setup_fonts_view),
1206 (ev_properties_set_document), (ev_properties_new),
1207 (ev_properties_show):
1208 * shell/ev-properties.h:
1210 Make it an object, cleanup the code, api to show it as transient
1211 and to set the document.
1213 * shell/ev-window.c: (ev_window_setup_document),
1214 (ev_window_cmd_file_properties):
1216 Adapt to EvProperties changes, do not show multiple
1217 times, update it when document changes.
1219 2005-06-14 Marco Pesenti Gritti <mpg@redhat.com>
1222 * ps/ps-document.c: (ps_document_init), (get_page_orientation),
1223 (ps_document_set_orientation), (ps_document_document_iface_init):
1226 Implement orientation here too
1228 * shell/ev-properties.c: (ev_properties_new):
1229 * data/evince-properties.glade:
1231 Hide the fonts page for backends that doesnt
1234 2005-06-14 Marco Pesenti Gritti <mpg@redhat.com>
1236 * backend/ev-document.c: (ev_document_set_orientation):
1237 * backend/ev-document.h:
1238 * pdf/ev-poppler.cc:
1240 Add orientation api. Currently poppler api is not optimal,
1241 we need to set orientation every time we _get a page.
1242 I will try to fix that at some point.
1244 * data/evince-ui.xml:
1245 * shell/ev-window.c: (ev_window_cmd_edit_landscape),
1246 (ev_window_cmd_edit_portrait), (ev_window_cmd_edit_flip):
1248 Add orientation menu items
1250 * shell/ev-page-cache.c: (ev_page_cache_clear):
1251 * shell/ev-page-cache.h:
1253 Add api to clear the cache
1255 * shell/ev-view.c: (setup_caches), (clear_caches),
1256 (ev_view_set_document), (ev_view_zoom_out),
1257 (ev_view_set_orientation):
1260 Implement orientation changing
1262 2005-06-13 Marco Pesenti Gritti <mpg@redhat.com>
1264 * backend/ev-document-fonts.c: (ev_document_fonts_get_progress),
1265 (ev_document_fonts_scan), (ev_document_fonts_fill_model):
1266 * backend/ev-document-fonts.h:
1268 Separate scan and fill so that we can incrementally fill from
1269 the main thread. Add a progress api.
1271 * data/evince-properties.glade:
1272 * pdf/ev-poppler.cc:
1273 * shell/ev-jobs.c: (ev_job_fonts_new), (ev_job_fonts_run):
1275 * shell/ev-properties.c: (update_progress_label),
1276 (job_fonts_finished_cb), (setup_fonts_view):
1278 Incrementally feel the list and show the progress
1279 percentage in a label like acrobat does.
1281 You are going to need poppler cvs
1283 2005-06-11 Marco Pesenti Gritti <mpg@redhat.com>
1285 * backend/ev-document-fonts.c: (ev_document_fonts_fill_model):
1286 * backend/ev-document-fonts.h:
1287 * pdf/ev-poppler.cc:
1289 Make fonts model fill incrementally.
1291 * shell/ev-job-queue.c: (handle_job), (search_for_jobs_unlocked),
1292 (no_jobs_available_unlocked), (ev_job_queue_init), (find_queue),
1293 (ev_job_queue_remove_job):
1294 * shell/ev-jobs.c: (ev_job_fonts_init), (ev_job_fonts_class_init),
1295 (ev_job_fonts_new), (ev_job_fonts_run):
1298 New job for fonts scanning
1300 * shell/ev-properties.c: (job_fonts_finished_cb),
1301 (fill_fonts_treeview), (setup_fonts_view), (ev_properties_new):
1302 * shell/ev-properties.h:
1303 * shell/ev-window.c: (ev_window_cmd_file_properties):
1305 Incrementally feel the treeview using the new job. Show Loading...
1306 message until scanning is completed.
1308 Hopefully I didnt break the build without the poppler patch.
1310 2005-06-10 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1312 * shell/ev-application.c: (ev_application_open):
1313 * shell/ev-document-types.c: (ev_document_type_from_from_mime),
1314 (ev_document_type_get_type), (ev_document_type_lookup):
1315 * shell/ev-document-types.h:
1316 * shell/ev-job-xfer.c: (ev_job_xfer_dispose), (ev_job_xfer_run):
1317 * shell/ev-job-xfer.h:
1318 * shell/ev-window.c: (ev_window_clear_local_uri),
1319 (ev_window_load_job_cb), (ev_window_xfer_job_cb),
1320 (ev_window_open_uri), (ev_window_add_recent), (ev_window_dispose):
1321 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
1323 Transfer remote documents to tmp directory to display them later.
1325 2005-06-10 Marco Pesenti Gritti <mpg@redhat.com>
1327 * backend/ev-document-info.h:
1328 * shell/ev-properties.c: (ev_properties_new):
1330 s/GTime*/GTime. Not sure why we was using a pointer
1333 Wed Jun 8 01:04:22 2005 Jonathan Blandford <jrb@redhat.com>
1335 * shell/ev-sidebar-thumbnails.c: Use a GtkIconView in certain
1336 situations. That situation is that you're using GTK+-HEAD with
1337 the patch at #306726 is applied, and you have a document with <
1338 1500 pages in it. It's not quite as uniformly nice as the
1339 TreeView, but should be better in the long run.
1341 I'm pretty sure I guarded against breaking compilation with
1342 HAVE_GTK_ICON_VIEW_GET_VISIBLE_RANGE gaurds, though it's possible
1345 * shell/ev-window.c (ev_window_init): We don't have our tree/list
1346 widget yet, so I commented that code out
1347 enable_view_actions_for_widget() for now. Need to figure this
1350 * shell/ev-page-action.c (match_selected_cb): emit the right
1351 signals. Our cool C-l completion now works.
1353 2005-06-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1355 * backend/Makefile.am:
1356 * backend/ev-document-fonts.c:
1357 * backend/ev-document-links.c:
1358 * backend/ev-document.c: (ev_document_load):
1359 * backend/ev-document.h:
1360 * backend/ev-job-queue.c:
1361 * backend/ev-job-queue.h:
1362 * backend/ev-jobs.c:
1363 * backend/ev-jobs.h:
1364 * backend/ev-page-cache.c:
1365 * backend/ev-page-cache.h:
1367 EvPageCache and EvJobs are moved to shell.
1369 * lib/ev-file-helpers.c: (ev_file_helpers_shutdown),
1371 * lib/ev-file-helpers.h:
1373 New helper to work with temporary files
1375 * shell/Makefile.am:
1376 * shell/ev-application.c: (ev_application_open):
1377 * shell/ev-application.h:
1378 * shell/ev-job-queue.c: (remove_job_from_queue_locked),
1379 (remove_job_from_async_queue), (add_job_to_async_queue),
1380 (add_job_to_queue_locked), (notify_finished), (job_finished_cb),
1381 (handle_job), (search_for_jobs_unlocked),
1382 (no_jobs_available_unlocked), (ev_render_thread),
1383 (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
1384 (ev_job_queue_add_job), (move_job_async), (move_job),
1385 (ev_job_queue_update_job), (ev_job_queue_remove_job):
1386 * shell/ev-job-queue.h:
1387 * shell/ev-job-xfer.c: (ev_job_xfer_init), (ev_job_xfer_dispose),
1388 (ev_job_xfer_class_init), (ev_job_xfer_new), (ev_job_xfer_run):
1389 * shell/ev-job-xfer.h:
1390 * shell/ev-jobs.c: (ev_job_init), (ev_job_dispose),
1391 (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
1392 (ev_job_links_class_init), (ev_job_render_init),
1393 (ev_job_render_dispose), (ev_job_render_class_init),
1394 (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
1395 (ev_job_thumbnail_class_init), (ev_job_load_init),
1396 (ev_job_load_dispose), (ev_job_load_class_init), (ev_job_finished),
1397 (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
1398 (render_finished_cb), (ev_job_render_run), (ev_job_thumbnail_new),
1399 (ev_job_thumbnail_run), (ev_job_load_new), (ev_job_load_run):
1401 * shell/ev-page-action.c: (ev_page_action_set_document):
1402 * shell/ev-page-cache.c: (ev_page_cache_init),
1403 (ev_page_cache_class_init), (ev_page_cache_finalize),
1404 (ev_page_cache_new), (ev_page_cache_get_n_pages),
1405 (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
1406 (ev_page_cache_set_page_label), (ev_page_cache_set_link),
1407 (ev_page_cache_get_title), (ev_page_cache_get_size),
1408 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
1409 (ev_page_cache_get_height_to_page),
1410 (ev_page_cache_get_max_label_chars),
1411 (ev_page_cache_get_page_label),
1412 (ev_page_cache_has_nonnumeric_page_labels),
1413 (ev_page_cache_get_info), (ev_page_cache_next_page),
1414 (ev_page_cache_prev_page), (ev_page_cache_get):
1415 * shell/ev-page-cache.h:
1416 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_update_range),
1417 (ev_pixbuf_cache_clear_job_sizes),
1418 (ev_pixbuf_cache_add_jobs_if_needed),
1419 (ev_pixbuf_cache_set_page_range):
1420 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings):
1421 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document):
1422 * shell/ev-sidebar-thumbnails.c:
1423 (ev_sidebar_tree_selection_changed),
1424 (ev_sidebar_thumbnails_set_document):
1425 * shell/ev-statusbar.c: (ev_statusbar_destroy),
1426 (ev_statusbar_class_init), (ev_statusbar_init), (ev_statusbar_new),
1427 (ev_statusbar_get_context_id), (ev_statusbar_push),
1428 (ev_statusbar_pop), (ev_statusbar_set_maximized),
1429 (ev_statusbar_pulse), (ev_statusbar_show_progress),
1430 (ev_statusbar_set_progress):
1431 * shell/ev-statusbar.h:
1432 * shell/ev-view.c: (ev_view_set_document), (ev_view_find_next),
1433 (ev_view_find_previous):
1434 * shell/ev-window.c: (ev_window_is_empty),
1435 (ev_window_setup_document), (password_dialog_response),
1436 (ev_window_clear_jobs), (ev_window_load_job_cb),
1437 (ev_window_xfer_job_cb), (ev_window_open_uri),
1438 (ev_window_open_uri_list), (ev_window_cmd_recent_file_activate),
1439 (ev_window_print), (ev_window_print_range),
1440 (ev_window_state_event), (ev_window_cmd_view_reload),
1441 (menu_item_select_cb), (menu_item_deselect_cb),
1442 (view_status_changed_cb), (ev_window_dispose),
1443 (drag_data_received_cb), (ev_window_init):
1444 * shell/ev-window.h:
1445 * shell/main.c: (load_files):
1447 New statusbar to show progress on idle. Two new jobs -
1448 xfer job and load job to load document in background. And update
1449 of page_cache clients to new location of code.
1451 2005-06-08 Carlos Garcia Campos <carlosgc@gnome.org>
1453 * shell/ev-application.c, shell/ev-window.[ch]: Allow multiple
1454 selection in open dialog. It also remembers the last visited directory
1455 in the current session.
1457 2005-06-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1459 * shell/ev-properties.c: (ev_properties_new):
1460 * shell/ev-properties.h:
1461 * shell/ev-window.c: (ev_window_cmd_file_properties):
1463 Get document info from page cache instead of document itself.
1464 This should fix crash related to race conditions described in
1467 2005-06-07 Marco Pesenti Gritti <mpg@redhat.com>
1469 * ps/ps-document.c: (ps_document_init),
1470 (send_ps), (get_page_box), (output), (catchPipe), (input),
1471 (stop_interpreter), (file_length), (file_readable),
1472 (check_filecompressedb), (ps_document_enable_interpreter),
1473 (document_load), (ps_async_renderer_render_pixbuf):
1476 Big cleanup of the ps code
1478 2005-06-07 Marco Pesenti Gritti <mpg@redhat.com>
1480 * backend/Makefile.am:
1481 * backend/ev-async-renderer.c: (ev_async_renderer_get_type),
1482 (ev_async_renderer_class_init), (ev_async_renderer_render_pixbuf):
1483 * backend/ev-async-renderer.h:
1485 Add an async renderer interface (method + callback) which
1486 is useful for backends like ps.
1488 * backend/ev-job-queue.c: (remove_job_from_async_queue),
1489 (add_job_to_async_queue), (job_finished_cb), (handle_job),
1490 (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
1491 (ev_job_queue_add_job), (move_job_async), (move_job),
1492 (ev_job_queue_update_job), (ev_job_queue_remove_job):
1494 Add queues for async renderer, these are executed on the
1497 * backend/ev-jobs.c: (ev_job_render_new), (render_finished_cb),
1498 (ev_job_render_run):
1499 * backend/ev-jobs.h:
1501 If the backend support async renderer interface use it.
1503 * ps/ps-document.c: (ps_document_init), (push_pixbuf),
1504 (setup_pixmap), (ps_document_get_type),
1505 (ps_async_renderer_render_pixbuf),
1506 (ps_document_document_iface_init), (ps_async_renderer_iface_init):
1508 Implement async renderer interface.
1510 2005-06-07 Nickolay V. Shmyrev <<nshmyrev@yandex.ru>>
1512 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose):
1514 Cleanup links job on exit.
1516 2005-06-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1518 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
1519 (drag_data_get_cb), (drag_data_received_cb):
1520 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
1521 (drag_data_get_cb), (parse_item_list),
1522 (egg_toolbar_editor_load_actions):
1523 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
1524 (egg_toolbars_model_to_xml), (egg_toolbars_model_save),
1525 (parse_item_list), (parse_toolbars):
1526 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
1527 (dvi_pixbuf_put_pixel):
1529 Fix gcc 4.0 warnings
1531 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
1533 * ps/ps-document.c: (start_interpreter):
1535 Fix warning when loading ps
1537 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
1539 * ps/ps-document.c: (output):
1541 Fix crash when priting gs error messages.
1543 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
1545 * backend/ev-page-cache.c: (_ev_page_cache_new):
1546 * backend/ev-page-cache.h:
1548 Use a const to return title so that we dont double
1549 free it. Small cleanup and fix a leak.
1551 * shell/ev-window.c: (update_window_title):
1553 strdup value from get_title.
1555 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
1557 * shell/ev-sidebar-links.c: (job_finished_callback),
1558 (ev_sidebar_links_set_document):
1560 Cleanup the old job when changing document
1562 2005-06-05 Nickolay V. Shmyrev <<nshmyrev@yandex.ru>>
1564 * shell/ev-stock-icons.c:
1565 * shell/ev-stock-icons.h:
1566 * shell/ev-window.c:
1568 Add stock icons for actions that can appear in toolbar. Fix for
1571 2005-06-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1573 * backend/ev-page-cache.c: (ev_page_cache_finalize),
1574 (_ev_page_cache_new), (ev_page_cache_get_max_width),
1575 (ev_page_cache_get_max_height), (ev_page_cache_get_height_to_page):
1576 * backend/ev-page-cache.h:
1577 * shell/ev-view.c: (scroll_to_current_page),
1578 (view_update_range_and_current_page), (get_page_y_offset),
1579 (get_page_extents), (ev_view_size_request_continuous_dual_page),
1580 (ev_view_size_request_continuous),
1581 (ev_view_zoom_for_size_continuous_and_dual_page),
1582 (ev_view_zoom_for_size_continuous):
1584 More compact EvView layout in document with pages of different size.
1586 Sat Jun 4 19:20:57 2005 Jonathan Blandford <jrb@redhat.com>
1588 * shell/ev-window.c (ev_window_cmd_file_properties): fix
1591 2005-06-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1593 * shell/ev-view.c: (view_set_adjustment_values):
1594 * shell/ev-window.c: (ev_window_cmd_file_properties):
1596 A bit different fix for rounding problem but it has no
1597 problems on startup. Make properties window transient to parent.
1599 2005-06-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1601 * pdf/ev-poppler.cc:
1603 More commenting of font stuff.
1605 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1607 * pdf/ev-poppler.cc:
1609 Comment out some more fonts stuff. Should really
1610 work without the poppler patch now.
1612 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1614 * pdf/ev-poppler.cc:
1618 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1620 * data/evince-properties.glade:
1621 * pdf/ev-poppler.cc:
1622 * shell/ev-properties.c: (setup_fonts_view):
1624 Set the column title. Show the dialog only
1625 once everything is setup.
1626 Getting font info can be very slow... will
1627 prolly need to make this threaded too.
1629 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1631 * backend/Makefile.am:
1632 * backend/ev-document-fonts.c: (ev_document_fonts_get_type),
1633 (ev_document_fonts_get_fonts_model):
1634 * backend/ev-document-fonts.h:
1635 * data/evince-properties.glade:
1636 * pdf/ev-poppler.cc:
1637 * shell/ev-properties.c: (setup_fonts_view), (ev_properties_new):
1638 * shell/ev-properties.h:
1639 * shell/ev-window.c: (ev_window_cmd_file_properties):
1641 Implement fonts list. Defined out for now, since it depends
1642 on a not yet committed poppler patch.
1644 Fri Jun 3 21:07:57 2005 Jonathan Blandford <jrb@redhat.com>
1646 * shell/ev-view.c (get_page_extents): other_page isn't necessarily
1649 * shell/ev-window.c: Make sure we add the timeout when we get a
1652 * shell/ev-view.c (view_set_adjustment_values): Add 0.5 to
1653 adjustment->value before calculating the zoom factor to average
1654 out all of our rounding errors. The page no longer 'drifts' when
1657 2005-06-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1659 * data/evince-properties.glade:
1660 * shell/ev-properties.c: (ev_properties_format_date),
1663 Labels don't expand when the dialogue is resized.
1664 strftime result needs to be converted to UTF-8. Thanks
1665 to Christian Persch <chpe@gnome.org>.
1667 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1669 * data/evince-properties.glade:
1673 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1675 * backend/ev-document-info.h:
1676 * backend/ev-document.c: (ev_document_info_free):
1677 * data/evince-properties.glade:
1678 * pdf/ev-poppler.cc:
1679 * ps/ps-document.c: (ps_document_get_info):
1680 * shell/ev-properties.c: (ev_properties_format_date),
1681 (set_property), (ev_properties_new):
1682 * shell/ev-properties.h:
1683 * shell/ev-window.c: (ev_window_cmd_file_properties):
1685 Rework properties code to take only EvPropertyInfo
1686 in the constructor so that it can be useful for
1687 nautilus plugin too.
1689 Deal with backends that doesnt support some properties.
1690 Make set property code generic.
1692 2005-06-04 Christian Persch <chpe@gnome.org>
1694 * data/evince-properties.glade:
1696 fix spacings, make resizeable, and make data labels
1697 selectable + ellipsised
1699 2005-06-03 Marco Pesenti Gritti <mpg@redhat.com>
1701 * backend/ev-document-info.h:
1703 * data/evince-ui.xml:
1704 * pdf/ev-poppler.cc:
1705 * shell/Makefile.am:
1706 * shell/ev-window.c: (update_action_sensitivity),
1707 (ev_window_cmd_file_properties):
1709 Initial go at file properties. Patch by
1710 Emil Soleyman-Zomalan <emil@soleyman.com>.
1711 Needs love see #169583
1713 2005-06-02 Marco Pesenti Gritti <mpg@redhat.com>
1715 * ps/ps-document.c: (output):
1716 * ps/ps.c: (psscan):
1718 Try to render even if psscan fails.
1720 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
1722 * ps/ps.c: (psscan), (pscopydoc):
1724 Port buffered reading code from gv
1726 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
1728 * ps/ps-document.c: (interpreter_message), (output):
1730 Do not fail on interpreter messages
1732 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
1734 * backend/ev-document-misc.c:
1735 (ev_document_misc_get_thumbnail_frame):
1737 Pages can be 0 x 0, dont assert on this case
1739 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1741 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
1742 (ev_sidebar_links_class_init), (ev_sidebar_links_set_document):
1744 Correctly manage our reference on document. Finally the reload
1745 huge leak is gone...
1747 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1749 * ps/ps-document.c: (ps_document_dispose):
1751 Forgot to chain it to the parent. Thanks chpe.
1753 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1755 * ps/ps-document.c: (ps_document_dispose),
1756 (ps_document_class_init), (stop_interpreter), (document_load):
1758 Cleanup dispose a bit. Dont leak the whole pixmap.
1760 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1762 * pdf/ev-poppler.cc:
1764 Release the poppler document on dispose
1766 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1768 * shell/ev-view.c: (ev_view_set_document):
1770 Release ref on the pixbuf cache when changing
1773 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1775 * ps/ps-document.c: (ps_document_get_info):
1779 2005-05-31 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
1781 * backend/ev-page-cache.c: (ev_page_cache_init),
1782 (_ev_page_cache_new), (ev_page_cache_get_max_label_chars):
1783 * backend/ev-page-cache.h:
1784 * shell/ev-page-action.c: (page_changed_cb):
1786 Set page action entry width depending on labels width. Fix
1789 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1791 * backend/ev-link.c: (ev_link_class_init):
1793 Allow -1 as page value (error)
1795 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1797 * shell/ev-sidebar-thumbnails.c:
1798 (ev_sidebar_thumbnails_set_document):
1799 * shell/ev-view.c: (scroll_to_current_page),
1800 (view_set_adjustment_values), (ev_view_set_scroll_adjustments),
1801 (page_changed_cb), (on_adjustment_value_changed),
1802 (ev_view_set_document):
1804 Slightly modified patch by Nickolay V. Shmyrev <nshmyrev@yandex.ru>.
1807 2005-05-29 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1810 * djvu/djvu-document.c: (djvu_document_get_page_size):
1812 Require djvulibre CVS. Now djvu loading is much faster. Fix for
1815 Sat May 28 07:38:03 2005 Jonathan Blandford <jrb@redhat.com>
1817 * shell/ev-view.c (draw_one_page): modify the expose handling to
1820 * shell/ev-window.c (update_action_sensitivity): Respect
1821 permissions field. Kowtow to the man.
1823 * pdf/ev-poppler.cc: Get the permissions field.
1825 * tiff/*c: Make a tiny bit more robust.
1827 2005-05-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1829 * djvu/djvu-document.c:
1831 Pop messages from djvu context message queue.
1833 2005-05-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1835 * configure.ac, Makefile.am, shell/Makefile.am:
1836 * tiff/Makefile.am, shell/ev-document-types.c:
1838 Cleanup tiff configure checks. Fix for bug 305218.
1840 2005-05-24 Maxim V. Dziumanenko <mvd@mylinux.ua>
1842 * configure.ac: Added "uk" to ALL_LINGUAS.
1844 2005-05-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1846 * cut-n-paste/zoom-control/ephy-zoom.c:
1847 (ephy_zoom_get_changed_zoom_level):
1848 * cut-n-paste/zoom-control/ephy-zoom.h:
1849 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_set_property),
1850 (ev_view_get_property), (ev_view_class_init), (ev_view_set_zoom):
1851 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
1852 (ev_window_cmd_view_zoom_out), (ev_window_zoom_changed_cb),
1853 (zoom_control_changed_cb), (ev_window_init):
1855 Fix minor points related to moving best fit up. Introduce
1856 "zoom" property and make zoom control change it's value on
1857 notify::zoom signals. Fix for 305080.
1859 2005-05-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1861 * data/evince-ui.xml:
1862 * shell/ev-window.c: (set_view_actions_sensitivity):
1864 Use + and - as accels for zoom in and zoom out. Fix for 305001.
1866 2005-05-22 Marco Pesenti Gritti <mpg@redhat.com>
1870 Depends on poppler 0.3.2
1872 2005-05-22 Marco Pesenti Gritti <mpg@redhat.com>
1874 * cut-n-paste/recent-files/egg-recent-item.c:
1875 (egg_recent_item_get_short_name):
1876 * cut-n-paste/toolbar-editor/Makefile.am:
1877 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
1878 (new_pixbuf_from_widget):
1879 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
1880 * cut-n-paste/toolbar-editor/egg-marshal.c:
1881 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
1882 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
1886 Sat May 21 23:18:30 2005 Jonathan Blandford <jrb@redhat.com>
1888 * tiff/tiff-document.c: Rough TIFF backend.
1890 2005-05-21 Marco Pesenti Gritti <mpg@redhat.com>
1894 * cut-n-paste/toolbar-editor/Makefile.am:
1898 2005-05-21 Marco Pesenti Gritti <mpg@redhat.com>
1900 * shell/ev-view.c: (jump_to_find_result), (ev_view_can_find_next),
1901 (ev_view_find_next), (ev_view_find_previous):
1903 Remove the locks around get_n_results
1905 2005-05-21 Juerg Billeter <j@bitron.ch>
1907 * pdf/ev-poppler.c: (pdf_document_ps_exporter_begin):
1909 Pass correct number of pages to poppler.
1911 2005-05-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1915 * data/evince.desktop.in:
1916 * data/evince.desktop.in.in:
1919 Add conditionally dvi and djvu to desktop types. Fix for 304658.
1921 Sat May 21 00:21:30 2005 Jonathan Blandford <jrb@redhat.com>
1923 * shell/ev-view.c: (view_update_adjustments),
1924 (view_set_adjustment_values): cast adjustmen->value to (int)
1925 before using it. Otherwise, we get off by a pixel in some
1928 (draw_one_page): Draw the border on expose.
1930 Fri May 20 22:05:25 2005 Jonathan Blandford <jrb@redhat.com>
1932 * *shell/ev-view.c: Patch from Nickolay V. Shmyrev to reset the
1933 adjustment when the mode changes, #304923
1935 Fri May 20 02:00:03 2005 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1937 * shell/ev-view.c: Use gdk_widget_queue_draw to remove
1938 flickering on resize but still use gdk_window_scroll on
1941 Fri May 20 01:46:57 2005 Jonathan Blandford <jrb@redhat.com>
1943 * shell/ev-view.c: Patch from Nickolay Shmyrev to fix the -p
1946 Fri May 20 01:27:01 2005 Jonathan Blandford <jrb@redhat.com>
1948 * shell/ev-view.c: Patch from Nickolay Shmyrev to to scroll to
1949 second page on page_changed if possible, #304669
1951 Fri May 20 01:07:15 2005 Jonathan Blandford <jrb@redhat.com>
1953 * shell/ev-view.c (view_update_adjustments): Use gdk_window_scroll
1954 instead of gtk_widget_queue_draw. Massive speedups in scrolling.
1956 Fri May 20 01:05:10 2005 Jonathan Blandford <jrb@redhat.com>
1959 * shell/ev-view.c:(ev_view_size_allocate), (ev_view_class_init),
1960 (zoom_for_size_fit_width), (zoom_for_size_best_fit),
1961 (ev_view_zoom_for_size_presentation),
1962 (ev_view_zoom_for_size_continuous_and_dual_page),
1963 (ev_view_zoom_for_size_continuous),
1964 (ev_view_zoom_for_size_dual_page),
1965 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size):
1967 * shell/ev-window.c: (update_view_size),
1968 (ev_window_sizing_mode_changed_cb):
1970 Patch from Nickolay Shmyrev <nshmyrev@yandex.ru> to handle
1971 the scrollbars. It's not 100% right, but it's much closer. Kills
1972 an infinite loop, #304769
1975 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
1977 * data/evince-ui.xml:
1978 * shell/ev-view.c: (ev_view_scroll_view), (ev_view_class_init):
1979 * shell/ev-window.c: (set_view_actions_sensitivity):
1981 Make PgUp/Down behave like Space
1983 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
1985 * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
1986 * backend/ev-ps-exporter.h:
1987 * pdf/ev-poppler.cc:
1988 * ps/ps-document.c: (ps_document_ps_export_begin):
1989 * shell/ev-print-job.c: (idle_print_handler):
1991 Adapt to new poppler api
1993 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
1995 * cut-n-paste/zoom-control/ephy-zoom-control.c:
1996 (ephy_zoom_control_init):
1998 Translate zoom levels
2000 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
2002 * cut-n-paste/zoom-control/ephy-zoom.c:
2003 (ephy_zoom_get_zoom_level_index):
2005 Fix current zoom -> zoom control match
2007 2005-05-18 James Bowes <bowes@cs.dal.ca>
2009 * shell/ev-window.c: (ev_window_init): Give focus to the ev-view,
2010 rather than the scrolled_window that it's in. Fixes bug #304655.
2012 Tue May 17 22:54:17 2005 Jonathan Blandford <jrb@redhat.com>
2014 * shell/ev-view.c: (view_update_adjustments),
2015 (view_set_adjustment_values), (view_update_range_and_current_page),
2016 (view_scroll_to_page), (set_scroll_adjustment),
2017 (ev_view_set_scroll_adjustments), (add_scroll_binding_keypad),
2018 (ev_view_scroll), (ev_view_scroll_view),
2019 (ensure_rectangle_is_visible), (find_page_at_location),
2020 (get_link_at_location), (go_to_link), (status_message_from_link),
2021 (ev_view_size_request_continuous_dual_page),
2022 (ev_view_size_request), (ev_view_size_allocate), (ev_view_realize),
2023 (ev_view_unrealize), (ev_view_expose_event),
2024 (ev_view_button_press_event), (ev_view_motion_notify_event),
2025 (ev_view_button_release_event), (ev_gdk_color_to_rgb),
2026 (draw_rubberband), (highlight_find_results), (draw_one_page),
2027 (ev_view_finalize), (ev_view_destroy), (ev_view_class_init),
2028 (ev_view_init), (find_changed_cb), (page_changed_cb),
2029 (on_adjustment_value_changed), (ev_view_new),
2030 (ev_view_set_document), (ev_view_set_zoom),
2031 (ev_view_set_continuous), (ev_view_set_dual_page),
2032 (ev_view_set_presentation), (ev_view_zoom_in), (ev_view_zoom_out),
2033 (zoom_for_size_fit_width), (zoom_for_size_best_fit),
2034 (ev_view_zoom_for_size_presentation),
2035 (ev_view_zoom_for_size_continuous_dual_page),
2036 (ev_view_zoom_for_size_continuous),
2037 (ev_view_zoom_for_size_dual_page),
2038 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
2039 (ev_view_get_status), (ev_view_set_status),
2040 (update_find_status_message), (ev_view_get_find_status),
2041 (ev_view_set_find_status), (jump_to_find_result),
2042 (jump_to_find_page), (compute_selections), (clear_selection),
2043 (ev_view_select_all), (get_selected_text), (ev_view_copy),
2044 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
2045 (ev_view_update_primary_selection),
2046 (ev_view_create_invisible_cursor), (ev_view_set_cursor):
2048 * shell/ev-window.c: (ev_window_open_page_label),
2049 (ev_window_cmd_view_reload), (ev_window_sizing_mode_changed_cb),
2051 * shell/ev-window.h:
2052 * shell/main.c: (load_files):
2054 Massive code clean up from Nickolay Shmyrev. Keep page offset
2055 when resizing. Remove the bin_window(). Also, patch from James
2056 Bowes to fix command line page, #300641
2058 2005-05-17 Marco Pesenti Gritti <mpg@redhat.com>
2060 * data/evince-ui.xml:
2063 * shell/ev-window.c: (update_action_sensitivity):
2065 Get rid of View->Normal Size, it's just confusing
2067 Tue May 17 00:51:21 2005 Jonathan Blandford <jrb@redhat.com>
2069 * backend/ev-document-info.h:
2070 * backend/ev-document.c: (ev_document_info_free): Free the
2073 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
2074 (clear_range), (add_range), (update_visible_range),
2075 (adjustment_changed_cb), (ev_sidebar_thumbnails_init),
2076 (ev_sidebar_thumbnails_set_document):
2077 * shell/ev-window.c: (ev_window_setup_document): Only render the
2078 visible thumbnails. It takes an instant to render, but it uses
2081 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
2083 * shell/ev-sidebar-links.c: (popup_menu_cb):
2087 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
2090 * shell/ev-sidebar-links.c: (build_popup_menu), (popup_menu_cb),
2091 (button_press_cb), (ev_sidebar_links_construct):
2093 Show the popup menu also on keybindings
2095 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
2097 * shell/ev-window.c: (ev_window_print), (ev_window_print_range):
2098 * shell/ev-window.h:
2100 Expose api to print a range (with dialog). Make private _print use
2103 * shell/ev-sidebar-links.c: (print_section_cb), (button_press_cb),
2104 (ev_sidebar_links_construct):
2106 Show a print context menu on linkx, it prints the selected
2109 2005-05-15 Carlos Garcia Campos <carlosgc@gnome.org>
2111 * shell/ev-sidebar.c: make the drop down menu as width as the toggle
2114 2005-05-12 Marco Pesenti Gritti <mpg@redhat.com>
2120 * shell/ev-window.c: (build_comments_string),
2121 (ev_window_cmd_help_about):
2123 Show poppler version/backend and authors
2125 2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
2127 * cut-n-paste/zoom-control/ephy-zoom.c:
2128 (ephy_zoom_get_zoom_level_index):
2129 * cut-n-paste/zoom-control/ephy-zoom.h:
2131 Move the best fit items at the top of the list
2133 2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
2135 * shell/ev-marshal.list:
2136 * shell/ev-page-action.c: (ev_page_action_widget_class_init),
2137 (activate_cb), (match_selected_cb), (activate_link_cb),
2138 (connect_proxy), (ev_page_action_class_init):
2139 * shell/ev-page-action.h:
2141 Use signals to notify action activation. Hopefully
2142 I did not break completion since I cant test...
2144 * shell/ev-window.c: (activate_link_cb), (activate_label_cb),
2145 (register_custom_actions):
2147 Connect to page selector actions and also grab focus on
2148 the view when activated.
2150 Wed May 11 01:18:29 2005 Jonathan Blandford <jrb@redhat.com>
2152 * pdf/ev-poppler.cc:
2153 * backend/ev-page-cache.c: make page size calculation consistent
2154 and set it to (int)( width * scale + 0.5). This makes the weird
2155 line going through the middle of the page go away.
2157 * shell/ev-view.c: move painting the background page after
2158 checking the expose area covers us.
2160 2005-05-11 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2162 * data/evince-password.glade:
2164 Mark labels as not translatable. Fix for bug 302842.
2166 2005-05-10 Francisco Javier F. Serrador <serrador@cvs.gnome.org>
2168 * configure.ac: Added "es" to ALL_LINGUAS.
2170 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2172 * data/evince-toolbar.xml:
2173 * shell/ev-window.c: (update_action_sensitivity),
2174 (ev_window_setup_document), (ev_window_set_page_mode),
2177 Remove some leftover code from jrb first continous
2178 attempt. Use the new actions, we still need good icons
2181 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2183 * shell/ev-page-action.c: (update_pages_label), (connect_proxy):
2185 Update label when connecting proxy. Fix a warning with NULL
2188 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2190 * data/evince-ui.xml:
2191 * shell/ev-page-action.c: (ev_page_action_grab_focus):
2192 * shell/ev-page-action.h:
2193 * shell/ev-window.c: (ev_window_cmd_focus_page_selector):
2195 Add mnemonic for edit toolbar.
2196 ctrl+l focus the page entry.
2198 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2201 * shell/ev-window.c: (ev_window_cmd_edit_toolbar_cb),
2203 * shell/main.c: (main):
2205 Put the toolbar xml in evince own dot dir
2207 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2209 * shell/ev-window.c: (ev_window_init):
2211 Make the toolbar not removable
2213 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2215 * data/evince-ui.xml:
2216 * shell/ev-sidebar-links.c: (ev_sidebar_links_get_treeview):
2217 * shell/ev-sidebar-links.h:
2218 * shell/ev-sidebar-thumbnails.c:
2219 (ev_sidebar_thumbnails_get_treeview):
2220 * shell/ev-sidebar-thumbnails.h:
2221 * shell/ev-view.c: (ev_view_scroll), (ev_view_scroll_view),
2222 (ev_view_class_init):
2224 * shell/ev-window.c: (update_action_sensitivity),
2225 (ev_window_cmd_scroll_forward), (ev_window_cmd_scroll_backward),
2226 (set_view_actions_sensitivity), (view_actions_focus_in_cb),
2227 (view_actions_focus_out_cb), (enable_view_actions_for_widget),
2230 This is evil... Make space/backspace global accelerators but
2231 enable them only for some widgets (sidebars and view).
2232 I dont like it, but I dont know a better way... :/
2234 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2236 * shell/ev-page-action.c: (ev_page_action_widget_set_page_cache),
2237 (ev_page_action_widget_finalize),
2238 (ev_page_action_widget_class_init), (update_page_cache):
2240 Keep a weak reference on proxy->page_cache so that we
2241 dont try to disconnect the signal if the object is already
2242 gone. Maybe there is a better way to cleanup reference handling
2243 in page action though...
2245 2005-05-10 Juerg Billeter <j@bitron.ch>
2247 * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
2248 * backend/ev-ps-exporter.h:
2249 * pdf/ev-poppler.cc: (pdf_document_ps_exporter_begin):
2250 * ps/ps-document.c: (ps_document_ps_export_begin):
2252 Change api to pass print range to ps_exporter_begin. The pdf backend
2253 requires this information.
2255 * shell/ev-print-job.c: (idle_print_handler):
2259 2005-05-10 Juerg Billeter <j@bitron.ch>
2261 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
2262 (idle_print_handler)
2263 * shell/ev-window.c: (ev_window_print):
2265 Support printing page range, based on patch by Amaury Jacquot
2267 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2269 * data/evince-toolbar.xml:
2271 Add zoom control to available items
2273 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2275 * shell/ev-window.c: (update_action_sensitivity):
2277 Set slash action insensitive when appropriate
2279 2005-05-10 Christian Persch <chpe@gnome.org>
2281 * cut-n-paste/zoom-control/ephy-zoom-action.c: (create_menu_item):
2283 Fix warning on the overflow menu
2285 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2287 * shell/ev-window.c: (sanity_check_uri), (ev_window_open):
2289 Check for uri correctness/existence
2291 2005-05-09 Juerg Billeter <j@bitron.ch>
2293 * shell/ev-window.c: (using_postscript_printer):
2295 LPD printers use postscript, too
2297 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2299 * shell/ev-window.c: (register_custom_actions):
2301 The zoom one is actually sort of useful,
2304 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2306 * shell/ev-window.c: (register_custom_actions):
2308 Hide page/zoom controls from overflow, they
2311 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2313 * cut-n-paste/update-from-egg.sh:
2315 Share it between all cut-n-paste subdirs
2317 * cut-n-paste/recent-files/Makefile.am:
2319 Fix to use "global" update-from-egg.sh
2321 * cut-n-paste/recent-files/egg-recent-model.c:
2322 (egg_recent_model_changed_timeout), (egg_recent_model_finalize):
2323 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
2324 (egg_recent_view_gtk_clear), (egg_recent_view_gtk_set_list),
2325 (egg_recent_view_gtk_finalize), (egg_recent_view_gtk_set_menu):
2329 * cut-n-paste/toolbar-editor/Makefile.am:
2331 Fix to use "global" update-from-egg.sh
2333 * cut-n-paste/toolbar-editor/eggmarshalers.list:
2337 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2340 * cut-n-paste/Makefile.am:
2341 * cut-n-paste/recent-files/Makefile.am:
2342 * cut-n-paste/toolbar-editor/.cvsignore:
2343 * cut-n-paste/toolbar-editor/Makefile.am:
2344 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
2345 (egg_editable_toolbar_get_type), (get_toolbar_position),
2346 (get_n_toolbars), (get_dock_nth), (get_toolbar_nth), (find_action),
2347 (drag_data_delete_cb), (drag_begin_cb), (drag_end_cb),
2348 (drag_data_get_cb), (set_drag_cursor), (unset_drag_cursor),
2349 (set_item_drag_source), (create_item_from_action), (create_item),
2350 (data_is_separator), (drag_data_received_cb), (remove_toolbar_cb),
2351 (popup_toolbar_context_menu_cb), (free_dragged_item),
2352 (toolbar_drag_drop_cb), (toolbar_drag_motion_cb),
2353 (toolbar_drag_leave_cb), (create_dock), (set_fixed_style),
2354 (unset_fixed_style), (toolbar_changed_cb), (unparent_fixed),
2355 (update_fixed), (toolbar_added_cb), (toolbar_removed_cb),
2356 (item_added_cb), (item_removed_cb),
2357 (egg_editable_toolbar_construct),
2358 (egg_editable_toolbar_disconnect_model),
2359 (egg_editable_toolbar_deconstruct),
2360 (egg_editable_toolbar_set_model),
2361 (egg_editable_toolbar_set_ui_manager),
2362 (egg_editable_toolbar_set_property),
2363 (egg_editable_toolbar_get_property),
2364 (egg_editable_toolbar_class_init), (egg_editable_toolbar_init),
2365 (egg_editable_toolbar_finalize), (egg_editable_toolbar_new),
2366 (egg_editable_toolbar_new_with_model),
2367 (egg_editable_toolbar_get_edit_mode),
2368 (egg_editable_toolbar_set_edit_mode), (egg_editable_toolbar_show),
2369 (egg_editable_toolbar_hide), (egg_editable_toolbar_set_fixed),
2370 (egg_editable_toolbar_set_drag_dest), (fake_expose_widget),
2371 (new_pixbuf_from_widget), (new_separator_pixbuf),
2372 (update_separator_image), (style_set_cb),
2373 (_egg_editable_toolbar_new_separator_image),
2374 (egg_editable_toolbar_get_model):
2375 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
2376 * cut-n-paste/toolbar-editor/egg-marshal.c:
2377 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
2378 (egg_toolbar_editor_get_type), (compare_actions), (find_action),
2379 (egg_toolbar_editor_set_ui_manager), (toolbar_removed_cb),
2380 (egg_toolbar_editor_set_model), (egg_toolbar_editor_set_property),
2381 (egg_toolbar_editor_get_property), (egg_toolbar_editor_class_init),
2382 (egg_toolbar_editor_finalize), (egg_toolbar_editor_new),
2383 (drag_begin_cb), (drag_end_cb), (editor_drag_data_received_cb),
2384 (editor_drag_data_delete_cb), (drag_data_get_cb),
2385 (elide_underscores), (set_drag_cursor), (event_box_realize_cb),
2386 (editor_create_item), (update_editor_sheet), (setup_editor),
2387 (egg_toolbar_editor_init), (egg_toolbar_editor_add_action),
2388 (parse_item_list), (model_has_action), (update_actions_list),
2389 (egg_toolbar_editor_load_actions):
2390 * cut-n-paste/toolbar-editor/egg-toolbar-editor.h:
2391 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
2392 (egg_toolbars_model_get_type), (egg_toolbars_model_to_xml),
2393 (safe_save_xml), (egg_toolbars_model_save), (toolbars_toolbar_new),
2394 (toolbars_item_new), (free_toolbar_node), (free_item_node),
2395 (egg_toolbars_model_get_flags), (egg_toolbars_model_set_flags),
2396 (egg_toolbars_model_add_separator), (impl_add_item),
2397 (parse_item_list), (egg_toolbars_model_add_toolbar),
2398 (parse_toolbars), (egg_toolbars_model_load), (impl_get_item_id),
2399 (impl_get_item_data), (impl_get_item_type),
2400 (_egg_accumulator_STRING), (egg_toolbars_model_class_init),
2401 (egg_toolbars_model_init), (free_toolbar),
2402 (egg_toolbars_model_finalize), (egg_toolbars_model_new),
2403 (egg_toolbars_model_remove_toolbar),
2404 (egg_toolbars_model_remove_item), (egg_toolbars_model_move_item),
2405 (egg_toolbars_model_n_items), (egg_toolbars_model_item_nth),
2406 (egg_toolbars_model_n_toolbars), (egg_toolbars_model_toolbar_nth),
2407 (egg_toolbars_model_add_item), (egg_toolbars_model_get_item_id),
2408 (egg_toolbars_model_get_item_data),
2409 (egg_toolbars_model_get_item_type):
2410 * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
2411 * cut-n-paste/toolbar-editor/eggmarshalers.list:
2413 * data/evince-toolbar.xml:
2414 * data/evince-ui.xml:
2415 * data/hand-open.png:
2417 * shell/Makefile.am:
2418 * shell/ev-window.c: (update_chrome_visibility),
2419 (ev_window_cmd_edit_toolbar_cb), (ev_window_cmd_edit_toolbar),
2420 (ev_window_dispose), (ev_window_init):
2422 Implement epiphany like toolbar editor. Based on patch by
2423 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2425 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2427 * shell/ev-sidebar-thumbnails.c: (page_changed_cb):
2429 Use set_cursor instead of set_selection, so that
2430 the keyboard focus moves too.
2432 2005-05-09 Aleksey Kliger <akliger@gmail.com>
2434 * dvi/mdvi-lib/tfmfile.c: (lookup_font_metrics):
2436 Fix infinite loop when loading Type1 fonts
2438 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2440 * data/evince-ui.xml:
2441 * shell/ev-window.c:
2445 2005-05-09 Thomas de Grenier de Latour <degrenier@easyconnect.fr>
2449 Make --disable really disable
2451 2005-05-07 Juerg Billeter <j@bitron.ch>
2453 * backend/ev-page-cache.c: (ev_page_cache_set_page_label):
2455 Compare page labels even without has_labels set, fixes setting page
2458 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2460 * shell/ev-view.c: (ev_view_create_invisible_cursor),
2461 (ev_view_set_cursor), (ev_view_button_press_event),
2462 (ev_view_motion_notify_event), (ev_view_button_release_event),
2465 Implement middle button scrolling. Based on a patch
2466 by Tommi Komulainen <tommi.komulainen@iki.fi>.
2468 2005-05-08 Marco Pesenti Gritti <mpg@redhat.com>
2470 * shell/ev-document-types.c: (get_slow_mime_type),
2471 (get_document_type_from_mime), (ev_document_type_lookup):
2472 * shell/ev-document-types.h:
2474 Change api to lookup from uri. Do fast lookup first, if the
2475 type is unknown try with data sniffing.
2477 * shell/ev-window.c: (ev_window_open), (ev_window_open_uri_list):
2478 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
2482 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2484 * thumbnailer/Makefile.am:
2488 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2495 * data/evince-ui.xml:
2497 Hide presentation mode for now
2499 * shell/ev-view.c: (highlight_find_results):
2501 Show current find selection only on current page
2503 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2505 * shell/ev-view.c: (ev_view_select_all):
2507 Compute size of the actual page, not of
2510 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2512 * shell/ev-view.c: (clear_selection), (ev_view_finalize),
2513 (view_rect_to_doc_rect), (compute_selections),
2514 (ev_view_bin_expose), (ev_view_select_all), (get_selected_text),
2515 (ev_view_copy), (ev_view_primary_get_cb),
2516 (ev_view_primary_clear_cb), (ev_view_update_primary_selection),
2517 (ev_view_button_press_event), (ev_view_motion_notify_event),
2518 (ev_view_button_release_event), (page_changed_cb):
2522 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2524 * shell/ev-view.c: (compute_border), (get_page_extents),
2525 (doc_rect_to_view_rect), (highlight_find_results),
2526 (ev_view_bin_expose), (ev_view_select_all),
2527 (ev_view_motion_notify_event), (update_find_status_message),
2528 (jump_to_find_result), (jump_to_find_page):
2530 First go at fixing search, still buggy
2532 2005-05-04 Kristian Høgsberg <krh@redhat.com>
2534 * shell/ev-sidebar.c (ev_sidebar_init): Remove frame around
2535 dropdown box and button at the top of the sidebar.
2537 2005-05-02 James Bowes <bowes@cs.dal.ca>
2539 * configure.ac: Output zoom-control Makefile.
2540 * cut-n-paste/Makefile.am: build zoom-control subdir.
2541 * cut-n-paste/zoom-control/ephy-zoom-action.c:
2542 * cut-n-paste/zoom-control/ephy-zoom-action.h:
2543 * cut-n-paste/zoom-control/ephy-zoom-control.c:
2544 * cut-n-paste/zoom-control/ephy-zoom-control.h:
2545 * cut-n-paste/zoom-control/ephy-zoom.c:
2546 * cut-n-paste/zoom-control/ephy-zoom.h: New files imported
2547 from epiphany, and modified to add a separator into the menu.
2548 * cut-n-paste/zoom-control/Makefile.am: Build zoom-control.
2549 * data/evince-ui.xml: Replace old zoom toolbar actions with new
2550 zoom-control action.
2551 * shell/Makefile.am: Include zoom-control flags.
2552 * shell/ev-view.c: (ev_view_set_zoom), (ev_view_get_zoom),
2553 (ev_view_get_sizing_mode), (ev_view_zoom_in), (ev_view_zoom_out),
2554 (ev_view_zoom_for_size_presentation),
2555 (ev_view_zoom_for_size_continuous_and_dual_page),
2556 (ev_view_zoom_for_size_continuous),
2557 (ev_view_zoom_for_size_dual_page),
2558 (ev_view_zoom_for_size_single_page), (ev_view_zoom_normal):
2559 s/ev_view_zoom/ev_view_set_zoom/ and make public, add
2560 ev_view_get_zoom and ev_view_get_sizing_mode.
2562 * shell/ev-window.c: (update_action_sensitivity),
2563 (update_sizing_buttons), (zoom_control_changed_cb),
2564 (register_custom_actions): Initialize and use the zoom-control
2567 Sun May 1 00:46:47 2005 Jonathan Blandford <jrb@redhat.com>
2569 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init): Change the
2570 preview cache back to 1. Don't know when it got set to 0.
2572 * shell/ev-view.c: (compute_border), (ev_view_realize),
2573 (draw_one_page), (ev_view_set_property), (ev_view_get_property),
2574 (ev_view_class_init), (ev_view_init), (ev_view_set_fullscreen),
2575 (ev_view_get_fullscreen), (ev_view_set_presentation),
2576 (ev_view_get_presentation), (ev_view_set_sizing_mode),
2577 (ev_view_zoom_for_size_presentation), (ev_view_set_zoom_for_size):
2579 * shell/ev-window.c:
2580 (update_chrome_visibility),
2581 (ev_window_cmd_continuous), (ev_window_cmd_dual),
2582 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
2583 (update_document_mode), (ev_window_update_fullscreen_action),
2584 (ev_window_fullscreen), (ev_window_unfullscreen),
2585 (ev_window_cmd_view_fullscreen),
2586 (ev_window_update_presentation_action),
2587 (ev_window_run_presentation), (ev_window_stop_presentation),
2588 (ev_window_cmd_view_presentation), (ev_window_state_event),
2589 (ev_window_focus_in_event), (ev_window_focus_out_event),
2590 (ev_window_cmd_escape), (ev_window_sidebar_visibility_changed_cb):
2591 * data/evince-ui.xml: Initial presentation mode. We should
2592 probably hide this until it's done, as it's quite rough. Also,
2593 change full-screen to fullscreen and add two getters to EvView.
2595 2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
2597 * shell/ev-page-action.c: (update_page_cache),
2598 (ev_page_action_dispose):
2599 * shell/ev-window.c: (destroy_fullscreen_popup),
2600 (ev_window_create_fullscreen_popup):
2602 Use connect_object rather than explicitly
2603 disconnect on dispose.
2605 2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
2607 * shell/ev-page-action.c: (update_page_cache),
2608 (ev_page_action_dispose):
2610 2005-04-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2612 * backend/ev-page-cache.c: (_ev_page_cache_new),
2613 (ev_page_cache_set_page_label),
2614 (ev_page_cache_has_nonnumeric_page_labels):
2615 * backend/ev-page-cache.h:
2616 * shell/ev-page-action.c: (update_pages_label):
2618 If all page labels are numeric, fallback to default
2619 way to display number of pages. See bug 173185.
2621 2005-04-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2623 * shell/ev-page-action.c: (ev_page_action_dispose):
2624 * shell/ev-view.c: (view_update_range_and_current_page):
2625 * shell/ev-window.c: (ev_window_dispose):
2627 Set page on scroll in continuous mode. Fixes bug 301986.
2628 Also cleanup callbacks on destroy of EvWindow and EvPageAction.
2630 2005-04-26 Marco Pesenti Gritti <mpg@redhat.com>
2634 Require poppler 0.3.0
2636 2005-04-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2638 * shell/Makefile.am, configure.ac: Fix build problems
2639 with t1lib. Bug 301996.
2641 2005-04-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2643 * shell/ev-view.c: (ev_view_scroll_event):
2645 Scroll up increase zoom
2647 2005-04-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2649 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_class_init),
2650 (ev_view_set_sizing_mode),
2651 (ev_view_zoom_for_size_continuous_and_dual_page),
2652 (ev_view_zoom_for_size_continuous):
2653 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
2654 (ev_window_cmd_view_page_width), (ev_window_cmd_view_zoom_in),
2655 (ev_window_cmd_view_zoom_out), (ev_window_sizing_mode_changed_cb),
2658 Control + Scroll does zooming, Shift + Scroll scrolls horizontally
2659 Fix for 165473 and 165472.
2661 2005-04-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2664 * thumbnailer/Makefile.am:
2665 * thumbnailer/evince-thumbnailer-djvu.schemas.in:
2666 * thumbnailer/evince-thumbnailer-dvi.schemas.in:
2667 * thumbnailer/evince-thumbnailer.schemas.in:
2669 Make thumbnailer schemas translatable. Fix for bug 301773
2671 * thumbnailer/evince-thumbnailer-djvu.schemas:
2672 * thumbnailer/evince-thumbnailer-dvi.schemas:
2673 * thumbnailer/evince-thumbnailer.schemas:
2677 Sun Apr 24 01:37:39 2005 Jonathan Blandford <jrb@redhat.com>
2679 * shell/ev-view.c (ev_view_init): forgot to set this.
2681 Sun Apr 24 01:07:27 2005 Jonathan Blandford <jrb@redhat.com>
2683 * shell/ev-view.c: (find_page_at_location),
2684 (get_link_at_location),
2685 (ev_view_set_show_border), (ev_view_set_spacing),
2686 (ev_view_zoom_for_size_continuous_and_dual_page),
2687 (ev_view_zoom_for_size_continuous): Fix links for dual/continuous.
2688 Also, add a quick fix measuring of widths. Also, removed
2689 ev_view_set_spacing and ev_view_set_show_border.
2691 * shell/ev-window.c: (ev_window_unfullscreen),
2692 (ev_window_cmd_view_fullscreen): Don't adjust the border/spacing.
2694 2005-04-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2696 * shell/ev-view.c: (view_update_range_and_current_page),
2699 Fix crash on exit and scrolling to page in continuous view.
2701 Sat Apr 23 13:13:04 2005 Jonathan Blandford <jrb@redhat.com>
2704 * backend/ev-page-cache.c: (_ev_page_cache_new),
2705 (ev_page_cache_get_max_width_size),
2706 (ev_page_cache_get_max_height_size):
2707 * backend/ev-page-cache.h:
2708 * data/evince-ui.xml:
2709 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init):
2710 * shell/ev-view.c: (view_update_adjustments),
2711 (view_update_range_and_current_page), (get_bounding_box_size),
2712 (ev_view_size_request_continuous_and_dual_page),
2713 (ev_view_size_request_continuous),
2714 (ev_view_size_request_dual_page),
2715 (ev_view_size_request_single_page), (ev_view_size_request),
2716 (ev_view_size_allocate), (get_page_extents), (draw_one_page),
2717 (ev_view_bin_expose), (ev_view_expose_event),
2718 (ev_view_set_property), (ev_view_get_property),
2719 (ev_view_class_init), (ev_view_init), (ev_view_new),
2720 (page_changed_cb), (ev_view_zoom), (ev_view_set_continuous),
2721 (ev_view_set_dual_page), (ev_view_set_full_screen),
2722 (ev_view_set_presentation), (ev_view_set_sizing_mode),
2723 (ev_view_can_zoom_in), (ev_view_can_zoom_out), (ev_view_zoom_in),
2724 (ev_view_zoom_out), (zoom_for_size_fit_width),
2725 (zoom_for_size_best_fit),
2726 (ev_view_zoom_for_size_continuous_and_dual_page),
2727 (ev_view_zoom_for_size_continuous),
2728 (ev_view_zoom_for_size_dual_page),
2729 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
2730 (ev_view_show_cursor), (ev_sizing_mode_get_type):
2732 * shell/ev-window.c: (update_action_sensitivity),
2733 (ev_window_cmd_continuous), (ev_window_cmd_dual),
2734 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
2735 (update_sizing_buttons), (ev_window_cmd_view_zoom_in),
2736 (ev_window_cmd_view_zoom_out), (update_view_size),
2737 (ev_window_set_sizing_mode), (ev_window_init):
2739 Add Continuous and Dual page modes.
2741 2005-04-23 James Bowes <bowes@cs.dal.ca>
2743 * dvi/dvi-document.c: (dvi_document_load),
2744 (dvi_document_thumbnails_get_thumbnail),
2745 (dvi_document_init_params): Fix up some mixups between
2746 width and height to correct thumbnail rendering.
2748 2005-04-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2750 * dvi/mdvi-lib/private.h:
2751 * dvi/mdvi-lib/setup.c: (mdvi_init_kpathsea):
2753 Suppess output for kpathsea during font generation. Thanks to
2756 Fri Apr 22 19:57:46 2005 Jonathan Blandford <jrb@redhat.com>
2763 * Makefile.am: fix distcheck.
2765 2005-04-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2767 * shell/ev-sidebar-links.c: (selection_changed_callback),
2768 (update_page_callback), (row_activated_callback),
2769 (job_finished_callback), (ev_sidebar_links_set_document):
2771 Fix for bug #169901. Double click on links expands tree.
2773 2005-03-14 Bryan Clark <clarkbw@cvs.gnome.org>
2775 * shell/ev-window.c (ev_window_init): Removed fullscreen toolbar
2776 hard-coded style. Fix for bug 170111
2778 2005-04-22 Kristian Høgsberg <krh@redhat.com>
2780 * shell/ev-view.c (highlight_find_results): Remove unnecessary
2783 2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
2785 * thumbnailer/evince-thumbnailer.schemas: real fix for bug 172496
2787 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
2789 * pdf/ev-poppler.cc:
2790 * shell/ev-view.c: (highlight_find_results):
2792 Fix find on single page documents
2794 2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
2796 * data/evince.schemas.in: fix for bug 301390
2798 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
2800 * shell/ev-view.c: (ev_view_can_zoom_in), (ev_view_can_zoom_out),
2801 (ev_view_zoom_out), (ev_view_zoom_normal):
2803 * shell/ev-window.c: (update_action_sensitivity),
2804 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
2805 (ev_window_cmd_view_zoom_in), (ev_window_cmd_view_zoom_out),
2806 (ev_window_cmd_view_normal_size):
2808 Fix normal size zoom. Make zoom in/zoom out unsensitive when
2809 they are behyond the limits. Tweak MAX_ZOOM to 6, sucks but
2812 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
2816 Depend on 2.57, 2.59 doesnt seem to be necessary
2818 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
2820 * shell/ev-page-action.c: (update_pages_label), (page_changed_cb),
2823 Put back total number of pages as (1 of 1234)
2825 Thu Apr 21 23:37:52 2005 Jonathan Blandford <jrb@redhat.com>
2827 * shell/ev-pixbuf-cache.c (dispose_cache_job_info): actually
2830 * backend/ev-document.h: Remove EV_DOC_MUTEX in favor of a locking
2831 function. This helps debugging.
2833 2005-04-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2835 * djvu/djvu-document.c: (djvu_document_class_init),
2836 (djvu_document_get_info), (djvu_document_document_iface_init):
2837 * dvi/dvi-document.c: (dvi_document_class_init),
2838 (dvi_document_get_info), (dvi_document_document_iface_init):
2840 Dummy implementation of get_info method for dvi and djvu. Fix
2841 crashes with those backends
2843 2005-04-20 Marco Pesenti Gritti <mpg@redhat.com>
2845 * data/evince.desktop.in:
2847 Add application/x-gzpostscript
2849 2005-04-20 Bryan Clark <clarkbw@cvs.gnome.org>
2851 * data/evince.schemas.in: Added real long descriptions,
2854 * README: Added actual text, closes bug 171869
2856 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
2858 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
2862 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
2864 * backend/ev-document-info.h:
2866 s/GDate */GDate so we can just use g_free
2868 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
2870 * shell/ev-window.c: (update_document_mode),
2871 (ev_window_setup_document):
2873 Show the window in fullscreen when specified by
2876 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
2878 * backend/ev-document.c: (ev_document_class_init),
2879 (ev_document_get_info), (ev_document_render_pixbuf):
2880 * backend/ev-document.h:
2881 * backend/ev-page-cache.c: (_ev_page_cache_new):
2882 * pdf/ev-poppler.cc:
2883 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
2884 (pixbuf_document_get_info), (pixbuf_document_document_iface_init):
2885 * ps/ps-document.c: (ps_document_class_init), (document_load),
2886 (ps_document_get_info), (ps_document_document_iface_init):
2888 Remove get_title from the interface, we can just use document info
2890 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
2892 * backend/Makefile.am:
2893 * backend/ev-document.c: (ev_document_render_get_info):
2894 * backend/ev-document.h:
2895 * pdf/ev-poppler.cc:
2897 Initial support for document info. Based on jrb patch.
2899 2005-04-19 Paolo Borelli <pborelli@katamail.com>
2901 * shell/ev-window.c: (ev_window_state_event),
2902 (ev_window_class_init), (ev_window_init):
2904 Doesn't show resize grip when maximized. See bug #301053
2906 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2910 ev-sidebar-thumbnails now has translatable labels
2912 * shell/Makefile.am:
2913 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document),
2914 (ev_sidebar_links_support_document), (ev_sidebar_links_get_label),
2915 (ev_sidebar_links_page_iface_init):
2916 * shell/ev-sidebar-links.h:
2917 * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
2918 (ev_sidebar_page_support_document), (ev_sidebar_page_set_document),
2919 (ev_sidebar_page_get_label):
2920 * shell/ev-sidebar-page.h:
2921 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_new),
2922 (ev_sidebar_thumbnails_set_document),
2923 (ev_sidebar_thumbnails_support_document),
2924 (ev_sidebar_thumbnails_get_label),
2925 (ev_sidebar_thumbnails_page_iface_init):
2926 * shell/ev-sidebar-thumbnails.h:
2927 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
2928 (ev_sidebar_set_document):
2929 * shell/ev-sidebar.h:
2930 * shell/ev-window.c: (ev_window_setup_document), (ev_window_init):
2932 Small rework of sidebar code. Now sidebar pages should implement
2933 EvSidebarPage interface. That makes page management in EvSidebar
2934 easier. See bug #164811 for details
2936 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2938 * shell/ev-application.c: (ev_application_open):
2939 * shell/ev-document-types.c:
2941 Fix build error and small problem with application exit
2943 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2945 * thumbnailer/Makefile.am:
2946 * thumbnailer/evince-thumbnailer-djvu.schemas:
2947 * thumbnailer/evince-thumbnailer-dvi.schemas:
2949 Conditionally install schemas for djvu/dvi thumbnailer
2951 2005-04-18 David Malcolm <dmalcolm@redhat.com>
2953 * shell/ev-document-types.h:
2954 * shell/ev-document-types.c:
2955 New files, handling the mapping from mimetypes to backends
2957 * shell/ev-window.c:
2958 * thumbnailer/evince-thumbnailer.c:
2959 Use the ev-document-types code
2961 * shell/Makefile.am:
2962 Added new convenience library libevbackendfactory_la, containing
2963 the new mimetype->backend logic; moved the backends into it.
2965 * thumbnailer/Makefile.am:
2966 Make the thumbnailer link with the libevbackend.la convenience
2967 library, rather than having a duplicate of the backend logic here.
2969 2005-04-18 Paolo Borelli <pborelli@katamail.com>
2971 * shell/ev-stock-icons.c: constify some vars.
2972 * shell/ev-window.c: ditto.
2974 2005-04-18 Marco Pesenti Gritti <mpg@redhat.com>
2976 * ps/ps-document.c (get_page_orientation):
2978 Respect document orientation
2980 2005-04-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2984 * shell/Makefile.am:
2986 Move library dependencies to components.
2988 * shell/ev-window.c: (update_window_title),
2989 (start_loading_document):
2991 Fix display of uris with spaces. Bug 168358.
2993 Sat Apr 16 18:53:47 2005 Jonathan Blandford <jrb@redhat.com>
2995 * shell/ev-sidebar-links.c: (selection_changed_cb):
2996 * shell/ev-view.c: (ev_view_finalize), (go_to_link),
2997 (ev_view_button_release_event), (ev_view_set_document):
2999 * shell/ev-window.c: (find_bar_search_changed_cb):
3000 * shell/ev-window.h: Minor cleanups removing some dead code.
3002 2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3004 * backend/ev-page-cache.c: (_ev_page_cache_new):
3006 Set current page to 0 if document has pages.
3008 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3010 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3012 Initialize GError to NULL, fix a crash when loading fails.
3014 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3016 * shell/ev-window.c: (update_view_size):
3018 Calculate shadow size only when there is actually
3021 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3023 * shell/ev-view.c: (ev_view_set_spacing), (ev_view_init):
3026 Allow setting view spacing, default to 0
3028 * shell/ev-window.c: (ev_window_unfullscreen),
3029 (ev_window_cmd_view_fullscreen), (ev_window_init):
3031 Remove spacing in fullscreen mode
3033 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3035 * shell/ev-view.c: (compute_border), (compute_zoom_factor),
3036 (ev_view_size_request), (expose_bin_window),
3037 (ev_view_set_show_border), (ev_view_init), (page_changed_cb):
3039 * shell/ev-window.c: (ev_window_unfullscreen),
3040 (ev_window_cmd_view_fullscreen):
3042 Do not draw the border in fulscreen
3044 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3046 * shell/ev-view.c: (ev_view_get_offsets), (compute_zoom_factor),
3047 (ev_view_size_request), (expose_bin_window), (ev_view_select_all),
3048 (find_page_at_location), (page_changed_cb):
3050 Rework border calculation, so that I can more easily disable it.
3051 Code somewhat cleaner too.
3053 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3055 * backend/ev-page-cache.c: (ev_page_cache_init),
3056 (_ev_page_cache_new):
3058 Remove some assertions, documents can have 0 pages.
3059 Make initial current page -1.
3061 * shell/ev-page-action.c: (page_changed_cb):
3063 Show "" if current page is -1
3065 * shell/ev-window.c: (update_action_sensitivity),
3066 (ev_window_setup_document):
3068 When document has 0 pages do not set the view
3069 and make nearly everything insensitive.
3071 2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3073 * shell/ev-page-view.c:
3074 * shell/ev-page-view.h:
3076 Remove unused files.
3078 * shell/ev-sidebar-thumbnails.c:
3079 (ev_sidebar_thumbnails_set_document):
3080 * shell/ev-sidebar.c: (ev_sidebar_set_document),
3081 (ev_sidebar_supports_document):
3082 * shell/ev-sidebar.h:
3083 * shell/ev-window.c: (ev_window_setup_document):
3085 Doesn't show thumbnails if document has 1 page. Make
3086 sidebar menu entries sensitive only if if they have
3087 sense. Fix bug 164811.
3089 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
3091 * shell/ev-view.c: (compute_zoom_factor), (ev_view_size_request),
3092 (page_changed_cb), (ev_view_zoom), (ev_view_zoom_in),
3093 (ev_view_zoom_out), (ev_view_set_size):
3095 Rework sizing to deal with documents with not uniform page
3098 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
3100 * backend/ev-page-cache.c: (_ev_page_cache_new):
3102 Fix several page size caching bugs
3104 2005-04-15 Luca Ferretti <elle.uca@libero.it>
3106 * shell/ev-window.c: (set_action_properties):
3108 Make all toolbar items translatable
3110 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
3112 * ps/ps-document.c: (ps_document_init), (ps_document_get_type),
3113 (save_page_list), (ps_document_save),
3114 (ps_document_document_iface_init), (ps_document_ps_export_begin),
3115 (ps_document_ps_export_do_page), (ps_document_ps_export_end),
3116 (ps_document_ps_exporter_iface_init):
3119 Based on a patch by J�rg Billeter <j@bitron.ch>
3121 Implement print and save a copy for the ps backend.
3123 2005-04-14 Marco Pesenti Gritti <mpg@redhat.com>
3125 * backend/ev-document.h:
3126 * djvu/djvu-document.c: (djvu_document_can_get_text),
3127 (djvu_document_document_iface_init):
3128 * dvi/dvi-document.c: (dvi_document_can_get_text),
3129 (dvi_document_document_iface_init):
3130 * pdf/ev-poppler.cc:
3131 * pixbuf/pixbuf-document.c: (pixbuf_document_can_get_text),
3132 (pixbuf_document_document_iface_init):
3133 * ps/ps-document.c: (ps_document_can_get_text),
3134 (ps_document_document_iface_init):
3135 * shell/ev-view.c: (ev_view_copy), (ev_view_primary_get_cb):
3136 * shell/ev-window.c: (update_action_sensitivity):
3138 Fix the crash when trying to copy in backends that doesnt
3139 support it. We can implement a better solution once we
3140 do real text selection.
3142 2005-04-12 Marco Pesenti Gritti <mpg@redhat.com>
3144 * data/evince-ui.xml:
3145 * shell/ev-window.c: (ev_window_cmd_escape):
3147 Work around the Escape conflict (find bar and unfullscreen)
3149 2005-04-12 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
3151 * backend/ev-page-cache.c: (ev_page_cache_next_page):
3153 Fix for #300233. Next page correctly handles document end.
3155 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
3156 (ev_sidebar_thumbnails_class_init),
3157 (ev_sidebar_thumbnails_set_document),
3158 (ev_sidebar_thumbnails_clear_job),
3159 (ev_sidebar_thumbnails_clear_model):
3161 Cleanup thumbnail jobs on document changes.
3163 * shell/ev-view.c: (add_scroll_binding_keypad),
3164 (add_scroll_binding_shifted), (ev_view_class_init):
3166 Shift + Space scrolls up. Fix for #173184
3168 * shell/ev-window.c: (ev_window_open_page),
3169 (ev_window_cmd_view_reload):
3171 Fix reload (Bug #300094)
3173 2005-04-09 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3176 * dvi/mdvi-lib/assoc.c:
3177 * dvi/mdvi-lib/assoc.h: Removed garbage files
3179 * dvi/mdvi-lib/bitmap.c:
3180 * dvi/mdvi-lib/color.c: (mdvi_set_color), (mdvi_push_color),
3181 (mdvi_pop_color), (mdvi_reset_color), (get_color_table):
3182 * dvi/mdvi-lib/color.h: Antialias of rules
3184 * dvi/mdvi-lib/common.h:
3185 * dvi/mdvi-lib/dviread.c: (mdvi_configure), (mdvi_init_context),
3186 (mdvi_destroy_context), (draw_shrink_rule), (draw_box), (set_rule):
3187 * dvi/mdvi-lib/files.c:
3188 * dvi/mdvi-lib/fontmap.c: (ps_init_default_paths):
3189 * dvi/mdvi-lib/mdvi.h:
3190 * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
3191 * dvi/mdvi-lib/tfmfile.c: (ofm_load_file):
3192 * dvi/mdvi-lib/util.c: Fix compile warnings
3194 * dvi/dvi-document.c:
3195 (dvi_document_load), (dvi_document_thumbnails_get_dimensions),
3196 (dvi_document_thumbnails_get_thumbnail),
3197 (dvi_document_document_thumbnails_iface_init):
3198 * dvi/mdvi-lib/Makefile.am:
3199 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
3200 (dvi_pixbuf_set_color), (mdvi_pixbuf_device_render):
3202 Dvi backend now renders thumbnails
3204 2005-04-09 Christian Persch <chpe@cvs.gnome.org>
3206 * shell/main.c: (main):
3208 Save accelerators on exit. Fixes bug #172095.
3210 Sat Apr 9 01:05:09 2005 Jonathan Blandford <jrb@redhat.com>
3212 * shell/ev-pixbuf-cache.c (move_one_job): Actually fix the "FIXME:
3213 update priority" comment.
3215 * backend/ev-job-queue.c: Give a way to change priority.
3217 Sat Apr 9 00:05:36 2005 Jonathan Blandford <jrb@redhat.com>
3219 * shell/ev-page-action.c: Fix logic.
3221 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
3223 * shell/ev-view.c: (ev_view_can_find_next):
3224 * shell/ev-window.c: (ev_window_setup_document):
3226 Check that the document supports find
3228 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
3230 * data/evince-ui.xml:
3231 * shell/ev-view.c: (ev_view_can_find_next):
3233 * shell/ev-window.c: (update_action_sensitivity),
3234 (find_changed_cb), (ev_window_setup_document),
3235 (ev_window_cmd_edit_find_next):
3239 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
3241 * pdf/ev-poppler.cc:
3242 * shell/ev-print-job.c: (idle_print_handler):
3244 Make printing work again
3246 Fri Apr 8 01:12:24 2005 Jonathan Blandford <jrb@redhat.com>
3248 * shell/ev-page-action.h:
3249 * shell/ev-page-action.c: (ev_page_action_widget_init),
3250 (ev_page_action_widget_class_init), (page_changed_cb),
3251 (create_tool_item), (update_page_cache), (build_new_tree_cb),
3252 (get_filter_model_from_model), (match_selected_cb),
3253 (display_completion_text), (match_completion), (update_model),
3254 (connect_proxy), (ev_page_action_set_property),
3255 (ev_page_action_get_property), (ev_page_action_set_document),
3256 (ev_page_action_set_model), (ev_page_action_class_init): Big
3257 reworking to make completions work iff we have >= GTK-2.7.0
3259 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_property),
3260 (ev_sidebar_links_get_property), (ev_sidebar_links_class_init),
3261 (job_finished_cb): We now have a 'model' property that is set when
3262 the links are loaded. This can be caught with "notify::model"
3264 * shell/ev-window.c: (sidebar_widget_model_set), (ev_window_init):
3265 listen for the model to be set, and propagate it to the action.
3267 2005-04-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3269 * cut-n-paste/recent-files/egg-recent-item.c:
3270 (egg_recent_item_set_uri), (make_valid_utf8),
3271 (egg_recent_item_set_mime_type), (egg_recent_item_get_mime_type):
3272 * cut-n-paste/recent-files/egg-recent-item.h:
3274 Update egg-recent from libegg. This should fix long
3275 startup problem. For details see
3276 http://bugzilla.gnome.org/show_bug.cgi?id=160531
3278 2005-04-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3280 * cut-n-paste/recent-files/Makefile.am:
3281 * data/evince-ui.xml, shell/Makefile.am:
3282 * shell/ev-application.c, shell/ev-application.h:
3283 * shell/ev-window.c: Recent files support.
3285 * configure.ac: Added "ru" to ALL_LINGUAS.
3287 * dvju: new backend to support DJVU files.
3288 * dvi: new backend to support DVI.
3290 * configure.ac, Makefile.am, shell/Makefile.am, ev-window.c:
3291 * ev-application.c: Support for new backends.
3293 * help, ev-window.c, main.c shell/Makefile.am:
3294 Evince user documentation.
3296 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
3299 * shell/ev-window.c:
3300 * thumbnailer/evince-thumbnailer.c:
3302 s/pdf-document/ev-poppler
3304 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
3311 * ps/ps-document.c: (setup_pixmap):
3315 2005-04-05 Kristian Høgsberg <krh@redhat.com>
3317 * backend/ev-page-cache.c (ev_page_cache_next_page):
3318 * shell/ev-window.c (ev_window_cmd_go_next_page)
3319 (ev_window_cmd_go_first_page): Fix of by one errors.
3321 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
3323 * ps/ps-document.c: (get_page_box):
3325 Fix page size calculation
3327 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
3329 * ps/ps-document.c: (ps_document_init), (push_pixbuf),
3330 (ps_document_cleanup), (setup_pixmap), (get_page_box),
3331 (get_page_orientation), (setup_page), (document_load),
3332 (ps_document_get_page_size), (render_pixbuf_idle):
3335 More refactoring to adapt to EvDocument changes
3337 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
3339 * ps/ps-document.c: (start_interpreter):
3341 Actually add alpha args
3343 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
3345 * pdf/ev-poppler.cc:
3347 Make clipboard work again
3349 2005-04-04 Kristian Høgsberg <krh@redhat.com>
3351 Make searching work again.
3353 * backend/ev-document.c:
3354 * backend/ev-document.h:
3355 * backend/ev-document-find.c:
3356 * backend/ev-document-find.h: Change EvDocumentIface so we no
3357 longer store the current page or zoom level in the document. The
3358 consequence is that all calls that operate on the current page now
3359 instead take the page number as an extra argument, and all
3360 coordinates are now doubles in document coordinate system.
3362 * pdf/ev-poppler.cc:
3363 * pixbuf/pixbuf-document.c:
3364 * ps/ps-document.c: Update backends accordingly.
3366 2005-04-04 Marco Pesenti Gritti <marco@gnome.org>
3370 Add required gettext version
3372 Sat Apr 2 18:57:00 2005 Jonathan Blandford <jrb@redhat.com>
3374 * shell/evwindow.c: Patch from Alberto Mesas <amesas@gmail.com> to
3375 make F1 bring up non-existent help.
3377 * shell/eggfindbar.c: Patch from Christian Persch to sync to
3378 epiphany's find bar, #167477
3380 * shell/ev-view.c (ev_view_jump): Patch from Emil Soleyman-Zomalan
3381 <emil@nishra.com> to add space-bar scrolling,
3383 * shell/ev-window.c (static GtkActionEntry entries): add default
3384 keybinding for Help (F1)
3387 * shell/ev-view.c (ev_view_show_cursor): Fix from Yuval Tanny
3388 changing EV_VIEW_CURSOR_LINK to EV_VIEW_CURSOR_NORMAL resolves bug
3391 2005-04-01 David Malcolm <dmalcolm@redhat.com>
3394 * pixbuf/pixbuf-document.c:
3396 Got pixbuf backend working again
3398 2005-04-01 Steve Murphy <murf@e-tools.com>
3400 * configure.in: Added "rw" to ALL_LINGUAS.
3402 Fri Apr 1 02:33:41 2005 Jonathan Blandford <jrb@redhat.com>
3404 * shell/ev-sidebar-links.c (create_loading_model): Fix mismatch in
3405 model types, noticed by Martin Kretzschmar.
3407 2005-04-01 Kristian Høgsberg <krh@redhat.com>
3409 * pdf/ev-poppler.cc: Implement search based on
3410 poppler_page_find_text(). Currently a bit crude since we remember
3411 all matches from all pages. Also, we grab the big document lock
3412 when we search since searching changes the underlying stream and
3413 thus conflicts with the rendering thread.
3415 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
3416 (jump_to_find_page), (ev_view_set_document), (ev_view_find_next),
3417 (ev_view_find_previous): Fix some page indexes to be 0 based,
3418 offset rubber band by view offset,
3420 Fri Apr 01 09:21:12 2005 Pablo Saratxaga <pablo@mandrakesoft.com>
3422 * configure.ac: Added Walloon (wa) to ALL_LINGUAS.
3424 Fri Apr 1 01:59:39 2005 Jonathan Blandford <jrb@redhat.com>
3426 * shell/ev-page-action.c: Changed to use page labels now. Rewrote
3427 completely because I didn't understand GtkActions. I should
3428 read Marco's code more carefully in the future.
3430 * backend/ev-page-cache.h (ev_page_cache_set_page_label): New
3433 2005-03-31 Kristian Høgsberg <krh@redhat.com>
3435 * pdf/ev-poppler.cc (pdf_document_get_links): Update to work with
3436 PopplerRectangle change from poppler CVS.
3438 Thu Mar 31 13:27:50 2005 Jonathan Blandford <jrb@redhat.com>
3440 * backend/ev-document.c: (ev_document_get_page_label):
3441 * backend/ev-document.h:
3442 * backend/ev-page-cache.c: (_ev_page_cache_new),
3443 (ev_page_cache_get_page_label):
3444 * backend/ev-page-cache.h:
3445 * pdf/ev-poppler.cc:
3446 * shell/ev-sidebar-links.c: (ev_sidebar_links_construct),
3447 (links_page_num_func):
3448 * shell/ev-sidebar-thumbnails.c:
3449 (ev_sidebar_thumbnails_set_document):
3450 * shell/ev-view.c: (status_message_from_link),
3451 (ev_view_motion_notify_event):
3452 * shell/ev-window.c: (document_supports_sidebar): Add in page
3453 label support. It's not perfect yet, but it's the first 'feature'
3455 Also, fix a bogus comment noticed by crispin.
3457 Thu Mar 31 01:21:58 2005 Jonathan Blandford <jrb@redhat.com>
3459 * Makefile.am: Remove pixbuf backend for now
3461 * configure.ac: Require poppler-glib instead of just poppler.
3463 * backend/ev-document-thumbnails.h: Add a comment
3465 * backend/ev-document.h:
3466 * backend/ev-document.c: (ev_document_class_init),
3467 (ev_document_load), (ev_document_get_link),
3468 (ev_document_get_links): Remove 3 methods and add get_links.
3471 * backend/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
3472 * backend/ev-jobs.h: now EvJobRender can grab the links for a document.
3474 * backend/ev-link.c: (ev_link_set_title),
3475 (ev_link_mapping_free_foreach), (ev_link_mapping_free),
3476 (ev_link_mapping_find):
3477 * backend/ev-link.h: Allow NULL titles. Also, introduce a mapping link.
3479 * backend/ev-page-cache.c: (ev_page_cache_init),
3480 (_ev_page_cache_new), (ev_page_cache_set_current_page),
3481 (ev_page_cache_get_size), (ev_page_cache_next_page),
3482 (ev_page_cache_prev_page): Fix to be 0 based.
3486 * pdf/ev-poppler.cc: New backend.
3488 * ps/ps-document.c: (ps_document_init), (ps_document_set_page),
3489 (ps_document_get_page), (ps_document_document_iface_init):
3491 * shell/ev-pixbuf-cache.h:
3492 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
3493 (dispose_cache_job_info), (job_finished_cb), (move_one_job),
3494 (ev_pixbuf_cache_update_range), (copy_job_to_job_info),
3495 (add_job_if_needed), (ev_pixbuf_cache_set_page_range),
3496 (ev_pixbuf_cache_get_pixbuf), (ev_pixbuf_cache_get_link_mapping):
3497 Fix up code to grab a page cache per each doc. Also, fix to be 0
3500 * shell/ev-sidebar-thumbnails.c:
3501 (ev_sidebar_tree_selection_changed), (page_changed_cb),
3502 (ev_sidebar_thumbnails_set_document): Fix to be 0 based.
3504 * shell/ev-view.c: (status_message_from_link),
3505 (find_page_at_location), (get_link_at_location),
3506 (ev_view_motion_notify_event), (ev_view_button_release_event),
3507 (ev_view_init): Use the new link code. Fix to be 0 based.
3509 * shell/ev-window.c: (update_action_sensitivity),
3510 (document_supports_sidebar): 0 based.
3512 Fri Mar 25 16:55:58 2005 Jonathan Blandford <jrb@redhat.com>
3514 * pdf/pdf-document.cc: Patch from Fernando Herrera
3515 <fherrera@onirica.com> to fix my quick fix to get_thumbnail.
3518 Wed Mar 23 23:49:41 2005 Jonathan Blandford <jrb@redhat.com>
3520 * pdf/pdf-document.cc (pdf_document_thumbnails_get_thumbnail): add
3521 1 to the page, as this seems to be 1 based. I thought we has this
3524 2005-03-23 Marco Pesenti Gritti <marco@gnome.org>
3527 * backend/Makefile.am:
3528 * backend/ev-document-links.c:
3529 (ev_document_links_has_document_links),
3530 (ev_document_links_get_links_model):
3531 * backend/ev-document-links.h:
3532 * backend/ev-document.c: (ev_document_get_page_cache),
3533 (ev_document_get_doc_mutex), (ev_document_load),
3534 (ev_document_save), (ev_document_get_title),
3535 (ev_document_get_n_pages), (ev_document_set_page),
3536 (ev_document_get_page), (ev_document_set_target),
3537 (ev_document_set_scale), (ev_document_set_page_offset),
3538 (ev_document_get_page_size), (ev_document_get_text),
3539 (ev_document_get_link), (ev_document_render),
3540 (ev_document_render_pixbuf), (ev_document_scale_changed):
3541 * backend/ev-document.h:
3542 * backend/ev-job-queue.c: (remove_object_from_queue),
3543 (notify_finished), (handle_job), (search_for_jobs_unlocked),
3544 (no_jobs_available_unlocked), (ev_render_thread),
3545 (ev_job_queue_init), (find_queue), (ev_job_queue_add_job),
3546 (ev_job_queue_remove_job):
3547 * backend/ev-job-queue.h:
3548 * backend/ev-jobs.c: (ev_job_init), (ev_job_dispose),
3549 (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
3550 (ev_job_links_class_init), (ev_job_render_init),
3551 (ev_job_render_dispose), (ev_job_render_class_init),
3552 (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
3553 (ev_job_thumbnail_class_init), (ev_job_finished),
3554 (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
3555 (ev_job_render_run), (ev_job_thumbnail_new),
3556 (ev_job_thumbnail_run):
3557 * backend/ev-jobs.h:
3558 * backend/ev-link.c:
3559 * backend/ev-link.h:
3560 * backend/ev-page-cache.c: (ev_page_cache_init),
3561 (ev_page_cache_class_init), (ev_page_cache_finalize),
3562 (_ev_page_cache_new), (ev_page_cache_get_n_pages),
3563 (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
3564 (ev_page_cache_set_link), (ev_page_cache_get_title),
3565 (ev_page_cache_get_size), (ev_page_cache_next_page),
3566 (ev_page_cache_prev_page):
3567 * backend/ev-page-cache.h:
3568 * pdf/pdf-document.cc:
3571 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
3572 (push_pixbuf), (interpreter_failed), (ps_document_cleanup),
3573 (ps_document_widget_event), (ps_document_finalize), (get_xdpi),
3574 (get_ydpi), (setup_pixmap), (setup_page), (close_pipe),
3575 (is_interpreter_ready), (output), (catchPipe), (input),
3576 (start_interpreter), (check_filecompressed), (compute_dimensions),
3577 (ps_document_enable_interpreter), (document_load),
3578 (ps_document_next_page), (render_page), (ps_document_set_page),
3579 (ps_document_set_scale), (render_pixbuf_idle),
3580 (ps_document_render_pixbuf), (ps_document_document_iface_init):
3582 * shell/Makefile.am:
3583 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
3584 (ev_pixbuf_cache_class_init), (ev_pixbuf_cache_finalize),
3585 (dispose_cache_job_info), (ev_pixbuf_cache_dispose),
3586 (ev_pixbuf_cache_new), (job_finished_cb),
3587 (check_job_size_and_unref), (move_one_job),
3588 (ev_pixbuf_cache_update_range), (find_job_cache),
3589 (ev_pixbuf_cache_clear_job_sizes), (add_job_if_needed),
3590 (ev_pixbuf_cache_add_jobs_if_needed),
3591 (ev_pixbuf_cache_set_page_range), (ev_pixbuf_cache_get_pixbuf):
3592 * shell/ev-pixbuf-cache.h:
3593 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
3594 (idle_print_handler):
3595 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
3596 (selection_changed_cb), (create_loading_model),
3597 (ev_sidebar_links_construct), (links_page_num_func),
3598 (ev_sidebar_links_clear_document), (update_page_callback_foreach),
3599 (update_page_callback), (job_finished_cb),
3600 (ev_sidebar_links_set_document):
3601 * shell/ev-sidebar-thumbnails.c:
3602 (ev_sidebar_thumbnails_class_init), (adjustment_changed_cb),
3603 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init),
3604 (page_changed_cb), (thumbnail_job_completed_callback),
3605 (ev_sidebar_thumbnails_set_document):
3606 * shell/ev-sidebar-thumbnails.h:
3607 * shell/ev-sidebar.c: (ev_sidebar_set_document):
3608 * shell/ev-view.c: (ev_view_finalize), (ev_view_destroy),
3609 (ev_view_get_offsets), (ev_view_size_request), (ev_view_realize),
3610 (ev_view_unrealize), (highlight_find_results), (expose_bin_window),
3611 (ev_view_select_all), (ev_view_copy), (ev_view_primary_get_cb),
3612 (ev_view_create_invisible_cursor), (ev_view_motion_notify_event),
3613 (ev_view_button_release_event), (ev_view_scroll_view),
3614 (ev_view_class_init), (ev_view_init), (update_find_status_message),
3615 (jump_to_find_result), (jump_to_find_page), (find_changed_cb),
3616 (ev_view_new), (job_finished_cb), (page_changed_cb),
3617 (ev_view_set_document), (go_to_link), (ev_view_zoom),
3618 (size_to_zoom_factor), (ev_view_set_size), (ev_view_find_next),
3619 (ev_view_find_previous):
3621 * shell/ev-window.c: (update_action_sensitivity),
3622 (ev_window_open_page), (update_window_title), (update_total_pages),
3623 (page_changed_cb), (ev_window_setup_document),
3624 (password_dialog_response), (ev_window_cmd_save_as),
3625 (ev_window_print), (ev_window_cmd_go_previous_page),
3626 (ev_window_cmd_go_next_page), (ev_window_cmd_go_first_page),
3627 (ev_window_cmd_go_last_page), (ev_window_cmd_view_reload),
3628 (find_bar_search_changed_cb), (goto_page_cb), (ev_window_init):
3629 * shell/main.c: (main):
3631 Merge evince-threads branch
3633 2005-03-16 Žygimantas Beručka <uid0@akl.lt>
3635 * configure.ac: Added "lt" to ALL_LINGUAS.
3637 2005-03-14 Marco Pesenti Gritti <marco@gnome.org>
3644 2005-03-13 Fernando Herrera <fherrera@onirica.com>
3646 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3648 Fix here also the thumbnails 1-basedness :)
3650 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
3657 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
3659 * pdf/pdf-document.cc:
3660 * shell/ev-sidebar-thumbnails.c: (adjustment_changed_cb),
3661 (do_one_iteration), (ev_sidebar_thumbnails_set_document):
3663 Fix the mess we did with thumbnails and 1-basedness
3665 2005-03-12 Changwoo Ryu <cwryu@debian.org>
3667 * configure.ac (ALL_LINGUAS): Added "ko" (Korean).
3669 2005-03-09 Marco Pesenti Gritti <marco@gnome.org>
3676 2005-03-08 Marco Pesenti Gritti <marco@gnome.org>
3679 * ps/gsdefaults.c: (gtk_gs_defaults_get_interpreter_cmd),
3680 (gtk_gs_defaults_get_alpha_parameters),
3681 (gtk_gs_defaults_get_ungzip_cmd),
3682 (gtk_gs_defaults_get_unbzip2_cmd):
3684 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
3685 (ps_document_get_orientation), (document_load),
3686 (ps_document_goto_page), (ps_document_set_page_size):
3689 Some more sanitization of the ps backend. Remove a lot
3690 of unused code and do not base our defaults on ggv
3693 2005-03-08 Fernando Herrera <fherrera@onirica.com>
3695 * thumbnailer/evince-thumbnailer.schemas:
3696 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
3697 (main): add -s option for thumbnail size.
3699 2005-03-07 Christian Persch <chpe@cvs.gnome.org>
3703 AC_PROG_RANLIB is rendered obsolete by AC_PROG_LIBTOOL;
3706 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
3708 * pdf/pdf-document.cc:
3710 Remove 4 pixels of useless border from the
3713 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
3715 * backend/ev-document-thumbnails.c:
3716 (ev_document_thumbnails_get_thumbnail):
3717 * backend/ev-document-thumbnails.h:
3719 Rework API a bit. Add a border flag and
3720 change sizing logic (now the size we specify
3721 applies to the bigger dimension).
3723 * pdf/pdf-document.cc:
3724 * pixbuf/pixbuf-document.c:
3725 (pixbuf_document_thumbnails_get_thumbnail):
3726 * shell/ev-sidebar-thumbnails.c: (do_one_iteration):
3727 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3729 Adapt to the new API and do not draw a border for nautilus
3732 2005-03-03 Fernando Herrera <fherrera@onirica.com>
3734 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3735 take thumbnails from page "0" instead of "1". Added a copyright header.
3737 2005-03-03 Jens Granseuer <jensgr@gmx.net>
3739 * ps/ps-document.c: (set_up_page), (start_interpreter):
3741 Make it C89 compliant
3743 2005-03-03 Marco Pesenti Gritti <marco@gnome.org>
3748 * pdf/pdf-document.cc:
3749 * thumbnailer/Makefile.am:
3750 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
3752 * thumbnailer/evince-thumbnailer.schemas:
3753 * thumbnailer/pdf-icon.png:
3755 Add a nautilus thumbnailer.
3756 Based on patch by Fernando Herrera <fherrera@onirica.com>.
3758 2005-03-02 Marco Pesenti Gritti <marco@gnome.org>
3766 2005-03-01 Kristian Høgsberg <krh@redhat.com>
3768 Use poppler instead of including xpdf source code. Poppler is a
3769 fork of xpdf to build it as a shared library. See
3770 http://freedesktop.org/wiki/Software/poppler.
3772 * pdf/xpdf/*, pdf/goo/*, pdf/splash/*, pdf/fofi/*: Remove included
3775 * pdf/Makefile.am: Build libpdfdocument.a here.
3777 * pdf/GDKSplashOutputDev.cc:
3778 * pdf/GDKSplashOutputDev.h:
3779 * pdf/GnomeVFSStream.cc:
3780 * pdf/GnomeVFSStream.h:
3783 * test-gdk-output-dev.cc
3785 * Thumb.h: Pull these files out of pdf/xpdf and adjust to compile
3788 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
3790 * shell/ev-sidebar-links.c: (ev_sidebar_links_clear_document):
3792 Clear idle stack before unsetting the document
3794 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
3796 * ps/ps-document.c: (ps_document_widget_event),
3797 (ps_document_set_target), (ps_document_finalize),
3798 (ps_document_get_page):
3800 Disconnect the widget event signal on finalize.
3803 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
3805 * ps/ps-document.c: (set_up_page):
3807 If there is no bpixmap create one, even if size
3810 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
3812 * ps/ps-document.c: (ps_document_init), (ps_document_cleanup),
3813 (set_up_page), (document_load), (ps_document_set_zoom):
3815 Default page is 0. Calculate size even when we have no
3818 2005-02-28 Carlos Garcia Campos <carlosgc@gnome.org>
3820 * shell/ev-sidebar.c: expand the selection widget to be always as
3823 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
3825 * shell/ev-sidebar-thumbnails.c:
3826 (ev_sidebar_thumbnails_set_document):
3828 Clear the list store when setting document
3830 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
3832 * shell/ev-page-action.c: (update_entry), (sync_entry),
3833 (activate_cb), (entry_size_request_cb), (create_tool_item),
3836 Use an entry for the page control instead of spinbuttons
3838 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
3840 * data/evince.schemas.in:
3842 Correct confusing string
3844 Sun Feb 27 23:00:31 2005 Jonathan Blandford <jrb@redhat.com>
3846 * shell/ev-sidebar-links.c (do_one_iteration): Handle title links
3847 for real. Gosh, how long has this been broken.
3849 * pdf/xpdf/pdf-document.cc (build_link_from_action): add back the
3850 check for a NULL link. We crash otherwise.
3852 2005-02-27 Marco Pesenti Gritti <marco@gnome.org>
3859 2005-02-25 Sebastien Bacher <seb128@debian.org>
3861 * configure.ac: add the french translation.
3863 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
3865 * shell/ev-window.c:
3867 Remove unused header -> fix distcheck
3869 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
3871 * shell/ev-window.c: (update_window_title),
3872 (ev_window_popup_password_dialog):
3874 Unescape filename for display
3876 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
3878 * pdf/xpdf/pdf-document.cc:
3880 In get_page_size deal with rotation. Also
3881 cleanup the function a bit.
3883 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
3885 * pdf/xpdf/pdf-document.cc:
3887 Fix crash when opening in new window
3889 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
3893 Check ghostscript >= 7
3895 2005-02-25 Pedro Villavicencio <pvillavi@gnome.cl>
3897 * shell/ev-window.c:
3899 Make page width the default sizing mode
3901 2005-02-25 Carlos Garcia Campos <carlosgc@gnome.org>
3902 Marco Pesenti Gritti <marco@gnome.org>
3904 * shell/ev-window.c: Remember the sidebar size
3906 * data/evince.schemas.in: Add a new gconf key to store the size of
3909 2005-02-24 Kai Willadsen <kaiw@itee.uq.edu.au>
3911 * data/evince-ui.xml:
3912 * shell/ev-window.c: (update_action_sensitivity),
3913 (ev_window_cmd_view_reload):
3915 Add a "Reload" action and menu entry
3917 Thu Feb 24 23:07:33 2005 Jonathan Blandford <jrb@redhat.com>
3919 * shell/ev-window.c (hide_sidebar_and_actions): Hide the sidebar
3920 iff the type doesn't support thumbnailing and indexing.
3922 2005-02-24 Martin Kretzschmar <martink@gnome.org>
3924 * configure.ac (ALL_LINGUAS): Added "zh_TW" (Traditional Chinese).
3926 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
3928 * pdf/splash/Splash.cc:
3930 Port fix for a crasher from kde bug
3931 http://bugs.kde.org/show_bug.cgi?id=97131
3933 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
3935 * pdf/xpdf/pdf-document.cc:
3937 Return a link even if it's of an unrecognized
3938 type. Otherwise we go in an infinte cycle.
3940 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
3942 * shell/ev-window.c: (update_sizing_buttons), (update_view_size),
3943 (size_allocate_cb), (ev_window_set_sizing_mode):
3945 Update size when switching mode
3947 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
3949 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
3950 (ev_window_cmd_view_page_width), (update_sizing_buttons),
3951 (ev_window_cmd_view_normal_size):
3953 Fix size toggle buttons behavior
3955 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
3957 * shell/ev-view.c: (ev_view_get_offsets), (view_rect_to_doc_rect),
3958 (doc_rect_to_view_rect), (ev_view_size_allocate),
3959 (expose_bin_window), (ev_view_select_all), (page_changed_callback),
3960 (scale_changed_callback):
3962 Do not cache offsets in size_allocate.
3964 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
3966 * shell/ev-view.c: (ev_view_size_allocate):
3968 Calculate offsets before calling the parent
3969 class (which does a redraw)
3971 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
3973 * pdf/xpdf/pdf-document.cc:
3975 Fix a crasher on exit. Unused code, put a TODO
3977 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
3979 * backend/ev-document.c: (ev_document_class_init),
3980 (ev_document_page_changed), (ev_document_scale_changed):
3981 * backend/ev-document.h:
3983 Separate page/scale notifications
3985 * pdf/xpdf/pdf-document.cc:
3987 Emit the new signals.
3988 Do not display the pdf page in _render, do it
3989 when scale/page are requested.
3991 * ps/ps-document.c: (ps_document_set_zoom),
3992 (ps_document_widget_event):
3995 Emit the new signals.
3997 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
3998 (ev_view_init), (page_changed_callback), (scale_changed_callback),
3999 (ev_view_set_document), (ev_view_zoom), (ev_view_zoom_in),
4000 (ev_view_zoom_out), (size_to_zoom_factor), (ev_view_set_size):
4002 * shell/ev-window.c: (ev_window_cmd_view_normal_size),
4003 (ev_window_cmd_view_page_width), (size_allocate_cb),
4004 (ev_window_set_sizing_mode):
4006 Rework sizing to be pixel based.
4007 There are bugs but should be already way better.
4009 2005-02-23 Marco Pesenti Gritti <marco@gnome.org>
4011 * shell/ev-window.c: (ev_window_init):
4013 Do not allow to shrink sidebar smaller then
4016 2005-02-23 Carlos Garcia Campos <carlosgc@gnome.org>
4018 * shell/ev-sidebar.[ch]
4019 * shell/ev-window.c:
4021 Improved sidebar widget. Fixes #166683
4023 2005-02-23 Tommi Vainikainen <thv@iki.fi>
4025 * shell/ev-view.c (update_find_status_message): Give translators
4026 more flexibility with ngettext plural handling.
4028 Mon Feb 21 17:52:08 2005 Jonathan Blandford <jrb@redhat.com>
4030 * pdf/xpdf/pdf-document.cc (pdf_document_get_page_size): Patch
4031 from Crispin Flowerday <gnome@flowerday.cx> to avoid rendering the
4032 page when we get the page size.
4034 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
4036 * ps/ps-document.c: (ps_document_set_page), (ps_document_get_page):
4038 ps pages are 0 based, convert
4040 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
4042 * ps/ps-document.c: (ps_document_class_init), (ps_document_load):
4044 Initialize correct parent class. Set GError on document load
4046 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
4048 * pdf/xpdf/pdf-document.cc:
4050 Fixup selection offset calculation
4052 * shell/ev-view.c: (view_rect_to_doc_rect),
4053 (doc_rect_to_view_rect), (ev_view_size_allocate),
4054 (expose_bin_window), (ev_view_select_all), (ev_view_copy),
4055 (ev_view_primary_get_cb), (ev_view_motion_notify_event):
4057 Store selection as document relative, so that zooming
4058 and offset changing doesnt break it.
4060 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
4062 * shell/ev-view.c: (ev_view_best_fit):
4064 Do not try to best fit if the view is not realized
4066 2005-02-20 Kostas Papadimas <pkst@gnome.org>
4068 * configure.ac (ALL_LINGUAS): Added "el" (Greek).
4070 Fri Feb 18 16:06:39 2005 Jonathan Blandford <jrb@redhat.com>
4072 * shell/ev-window.c (ev_window_focus_in_event): missed a case.
4074 Fri Feb 18 15:32:57 2005 Jonathan Blandford <jrb@redhat.com>
4076 * shell/ev-window.c: Change the fullscreen toolbar to always be in
4077 the popup window. That prevents it resizing when in full screen
4080 * shell/ev-view.c: Change Zoom epsilon as a bad hack to avoid
4081 multiple rerenders. This pretty much sucks.
4083 * data/evince-ui.xml: Change the fullscreen toolbar to include the
4084 rest of the toolbar.
4086 2005-02-18 Tommi Vainikainen <thv@iki.fi>
4088 * configure.ac (ALL_LINGUAS): Added "fi" (Finnish).
4090 2005-02-17 Alexander Shopov <ash@contact.bg>
4092 * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
4094 2005-02-16 Bryan Clark <clarkbw@cvs.gnome.org>
4096 * shell/ev-window.c: added ellipsis to Print item. Fixes bug 166915
4098 2005-02-16 Marco Pesenti Gritti <marco@gnome.org>
4100 * shell/ev-view.c: (ev_view_realize), (highlight_find_results),
4101 (ev_view_create_invisible_cursor), (ev_view_set_cursor),
4102 (set_document_page), (document_changed_callback),
4103 (ev_view_set_document), (ev_view_find_previous),
4104 (ev_view_hide_cursor), (ev_view_show_cursor):
4106 * shell/ev-window.c: (update_chrome_visibility),
4107 (fullscreen_timeout_cb), (fullscreen_set_timeout),
4108 (fullscreen_clear_timeout), (fullscreen_motion_notify_cb),
4109 (fullscreen_leave_notify_cb), (ev_window_fullscreen),
4110 (ev_window_unfullscreen):
4111 * shell/main.c: (main):
4113 Automatically hide the fullscreen button.
4114 Patch by Kristian Høgsberg <krh@redhat.com>
4116 2005-02-16 Vincent Noel <vnoel@cox.net>
4118 * shell/main.c (main): Specify an icon for the window. Patch by
4119 Jaap A. Haitsma. Fixes #166177.
4121 Wed Feb 16 06:30:13 2005 Jonathan Blandford <jrb@redhat.com>
4123 * shell/ev-view.c (ev_view_realize): get rid of the black flash.
4125 Tue Feb 15 22:27:13 2005 Jonathan Blandford <jrb@redhat.com>
4127 * backend/ev-document-misc.h:
4128 * backend/ev-document-misc.c:
4129 (ev_document_misc_get_page_border_size),
4130 (ev_document_misc_paint_one_page): New function to canonicalize
4131 sizing/painting a border.
4133 * shell/Makefile.am: Remove ev-page-view.c entirely as it's not
4136 * pdf/xpdf/pdf-document.cc: use new function
4138 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
4139 (ev_view_init), (ev_view_set_mode), (ev_view_zoom),
4140 (ev_view_best_fit), (ev_view_fit_width): * shell/ev-view.h: *
4141 shell/ev-window.c: (update_sizing_buttons),
4142 (ev_window_setup_document), (ev_window_cmd_view_zoom_in),
4143 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_best_fit),
4144 (ev_window_cmd_view_page_width), (size_allocate_cb),
4145 (ev_window_set_sizing_mode), (ev_window_init): make the "best fit"
4146 and "fit width" values act as toggle buttons so they stay
4147 toggled. It's not 100% perfect, and it's a little slow, but it's
4148 good enough to commit I think.
4150 2005-02-15 David Lodge <dave@cirt.net>
4152 * configure.ac (ALL_LINGUAS): Added "en_GB" (English (British)).
4154 2005-02-15 Martin Kretzschmar <martink@gnome.org>
4156 * shell/ev-window.c (update_window_title): replace newlines in
4157 the title by spaces. Bug #166107.
4159 2005-02-14 Martin Kretzschmar <martink@gnome.org>
4161 * shell/ev-view.c (ev_view_best_fit, ev_view_fit_width): add
4162 parameters providing allocation width and height without
4163 scrollbars and width of a possible vertical scrollbar. With this
4164 additional information the functions can work as
4165 intended. Unfortunately they're not idempotent. We should
4166 transform these commands to toggles. Fixes Bug #164976
4167 Initial patch by Stephane Loeuillet, then heavily modified.
4169 * shell/ev-view.h: update prototypes.
4171 * shell/ev-window.c (ev_window_cmd_view_best_fit)
4172 (ev_window_cmd_view_page_width): provide EvView fit functions with
4173 all the information they need. Formulas to calculate this
4174 information taken from GtkScrolledWindow.
4176 2005-02-14 Crispin Flowerday <gnome@flowerday.cx>
4178 * shell/ev-sidebar-thumbnails.c: Ensure that after we have
4179 created a thumbnail, the list store is updated to know
4180 that the thumbnail is set. Fixes bug #166792
4182 2005-02-11 Bryan Clark <clarkbw@cvs.gnome.org>
4184 * shell/ev-window.c: fixed typo, closes bug 166897
4186 * TODO: updated TODO with bug numbers that are relevant
4188 2005-02-09 Carlos Garcia Campos <carlosgc@gnome.org>
4190 * shell/ev-window.c: Support for DnD of files. Fixes #164813
4192 2005-02-09 Vincent Noel <vnoel@cox.net>
4194 * shell/ev-window.c: (set_action_properties): Set the "Previous"
4195 and "Next" toolbar buttons as important to make them stand out.
4197 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
4201 * ps/ps-document.c: (ps_document_finalize), (set_up_page),
4202 (start_interpreter), (stop_interpreter), (document_load),
4203 (ps_document_next_page), (ps_document_goto_page),
4204 (ps_document_set_page_size), (ps_document_widget_event),
4205 (ps_document_render):
4206 * shell/ev-page-view.c: (ev_page_view_dispose):
4207 * shell/ev-view.c: (ev_view_finalize), (expose_bin_window):
4209 Fix compilation on non-gcc platforms
4211 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
4218 * pdf/xpdf/Catalog.cc:
4221 Fix the fix for CAN-2004-0888
4223 2005-02-09 Luca Ferretti <elle.uca@libero.it>
4226 * data/evince-ui.xml:
4227 * shell/ev-stock-icons.c: (ev_stock_icons_init):
4228 * shell/ev-stock-icons.h:
4229 * shell/ev-window.c: (update_action_sensitivity),
4230 (ev_window_cmd_go_previous_page), (ev_window_cmd_go_next_page),
4231 (set_action_properties):
4233 Improve toolbar layout/icons
4235 2005-02-08 Marco Pesenti Gritti <marco@gnome.org>
4237 * pdf/xpdf/pdf-document.cc:
4239 Add warnings about unimplemented/unknown link
4242 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4244 * ps/ps-document.c: (set_up_page):
4248 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4250 * ps/ps-document.c: (start_interpreter):
4254 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4256 * shell/ev-page-view.c: (ev_page_view_dispose):
4257 * shell/ev-view.c: (ev_view_finalize):
4258 * shell/ev-window.c: (ev_window_setup_document),
4259 (ev_window_dispose), (ev_window_init):
4261 Solve more refs issues.
4263 I commented out the page_view initialization for now:
4264 it was never destroyed (because it's never added
4265 to a container). Because of that we was leaking
4266 gs processes. Couldnt think to a clean fix.
4267 We need to figure this out, password view has the
4268 same issue probably.
4270 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4272 * ps/ps-document.c: (ps_document_finalize),
4273 (ps_document_get_n_pages), (ps_document_get_page):
4275 Some cleanups, stop the interpreter on finalize
4277 * shell/ev-page-view.c: (ev_page_view_dispose),
4278 (ev_page_view_class_init):
4280 Release our reference on the document
4282 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4286 * doc/debugging.txt:
4289 * lib/ev-debug.c: (log_module), (trap_handler), (ev_debug_init),
4290 (ev_profiler_new), (ev_should_profile), (ev_profiler_dump),
4291 (ev_profiler_free), (ev_profiler_start), (ev_profiler_stop):
4294 Add debugging helpers
4297 * ps/ps-document.c: (set_up_page), (start_interpreter),
4298 (stop_interpreter), (document_load), (ps_document_next_page),
4299 (ps_document_goto_page), (ps_document_set_page_size),
4300 (ps_document_widget_event), (ps_document_render):
4301 * shell/Makefile.am:
4302 * shell/ev-view.c: (expose_bin_window):
4303 * shell/main.c: (main):
4307 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4309 * ps/ps-document.c: (ps_document_widget_event):
4311 Initialize message_window, this should make ps
4312 rendering really work! (Never noticed because I was
4313 testing with a ps that is causing gs to exit every time!)
4315 2005-02-07 Bryan Clark <clarkbw@cvs.gnome.org>
4317 * data/evince.schemas.in: updated simple error in applyto closing tag
4319 2005-02-07 Christian Persch <chpe@cvs.gnome.org>
4325 * data/evince-ui.xml:
4326 A data/evince.schemas.in:
4328 * shell/ev-stock-icons.c: (ev_stock_icons_init):
4329 * shell/ev-stock-icons.h:
4330 * shell/ev-window.c: (update_chrome_visibility),
4331 (update_chrome_flag), (ev_window_cmd_edit_find),
4332 (ev_window_update_fullscreen_popup), (ev_window_fullscreen),
4333 (ev_window_unfullscreen), (ev_window_focus_in_event),
4334 (ev_window_focus_out_event), (ev_window_cmd_leave_fullscreen),
4335 (ev_window_view_toolbar_cb), (ev_window_view_statusbar_cb),
4336 (ev_window_view_sidebar_cb), (find_bar_close_cb),
4337 (ev_window_dispose), (ev_window_class_init),
4338 (set_action_properties), (set_chrome_actions), (load_chrome),
4341 Implement fullscreen mode changes from bug #164776.
4342 Also implement persistent chrome toggles.
4344 2005-02-07 Jordi Mallach <jordi@sindominio.net>
4346 * configure.ac (ALL_LINGUAS): Added "ca" (Catalan).
4348 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
4354 Add another check for find interface
4358 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
4360 * shell/ev-application.c: (ev_application_open):
4361 * shell/ev-window.c: (ev_window_open):
4363 Open gzipped ps documents
4365 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
4368 * shell/ev-view.c: (set_document_page):
4370 Clamp page number, dont try to move to
4373 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
4375 * backend/ev-document-find.c: (ev_document_find_changed):
4376 * backend/ev-document-find.h:
4377 * pdf/xpdf/pdf-document.cc:
4378 * shell/ev-view.c: (jump_to_find_result), (ev_view_set_document):
4379 * shell/ev-window.c: (find_bar_search_changed_cb):
4381 Fix several bugs with find
4383 2005-02-04 Martin Kretzschmar <martink@gnome.org>
4385 * shell/ev-sidebar-thumbnails.c
4386 (ev_sidebar_thumbnails_select_page): do nothing unless we have a
4387 document. Prevents warning from scroll_to_cell.
4389 2005-02-02 Kjartan Maraas <kmaraas@gnome.org>
4391 * configure.ac: Add «nb» to ALL_LINGUAS too.
4393 Wed Feb 2 21:13:11 2005 Jonathan Blandford <jrb@redhat.com>
4395 * NOTES: New file with some random thoughts.
4399 * backend/ev-document-misc.c:
4400 (ev_document_misc_get_page_border_size): New function to
4401 canonicalize shadow drawing sizes. Possibly goofy.
4403 * shell/ev-view.c: (ev_view_size_request), (set_document_page),
4404 (ev_view_best_fit), (ev_view_fit_width):
4405 * pdf/xpdf/pdf-document.cc:
4406 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
4407 * ps/ps-document.c: (ps_document_get_page_size):
4408 * backend/ev-document-misc.h:
4409 * backend/ev-document.c: (ev_document_get_page_size):
4410 * backend/ev-document.h: get_page_size now takes a page number
4411 parameter. Made all the backends/frontends honor it.
4413 * data/evince-ui.xml: Added a multiple-page mode. Uncomment to
4414 see. Doesn't work yet.
4416 * shell/Makefile.am:
4417 * shell/ev-page-view.[ch]: New multi-page view. Really rough.
4418 Doesn't do anything yet.
4420 * shell/ev-sidebar-thumbnails.c:
4421 (ev_sidebar_thumbnails_set_document): [1..n_pages] instead of
4424 * shell/ev-window.c: (update_action_sensitivity),
4425 (ev_window_setup_document), (ev_window_set_page_mode),
4426 (ev_window_page_mode_cb), (ev_window_init): Clean up the
4427 view-swapping code a bit so we can have multiple views on a
4428 document. Add the multi-page view, though it can't be turned on
4431 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
4433 * shell/ev-application.c: (ev_application_open):
4434 * shell/ev-view.c: (expose_bin_window):
4435 * shell/ev-window.c: (ev_window_open):
4437 Support eps and check document supports find
4438 before drawing highlightings in expose.
4440 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
4442 * pixbuf/pixbuf-document.c:
4443 (pixbuf_document_thumbnails_get_dimensions),
4444 (pixbuf_document_document_thumbnails_iface_init):
4446 implement get_dimensions
4448 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
4455 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
4457 * shell/ev-view.c: (set_document_page):
4459 Scroll at the top of the page when changing page
4461 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
4463 * shell/ev-view.c: (ev_view_motion_notify_event):
4465 Do not redraw unnecessarily
4467 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
4469 * pdf/xpdf/pdf-document.cc:
4470 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
4471 (expose_bin_window), (find_changed_cb):
4473 Yay! find works now... Now to find bugs...
4475 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
4477 * backend/ev-document-find.c: (ev_document_find_base_init),
4478 (ev_document_find_changed):
4479 * backend/ev-document-find.h:
4480 * pdf/xpdf/pdf-document.cc:
4481 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
4482 (expose_bin_window), (ev_view_init), (set_document_page),
4483 (ensure_rectangle_is_visible), (jump_to_find_result),
4484 (jump_to_find_page), (find_changed_cb), (ev_view_set_document),
4485 (ev_view_find_next), (ev_view_find_previous):
4487 * shell/ev-window.c: (find_bar_previous_cb), (find_bar_next_cb):
4489 More work on find implementation, mostly there now
4491 2005-01-29 Marco Pesenti Gritti <marco@gnome.org>
4493 * backend/ev-backend-marshalers.list:
4494 * backend/ev-document-find.c: (ev_document_find_base_init),
4495 (ev_document_find_cancel), (ev_document_find_page_has_results),
4496 (ev_document_find_get_n_results), (ev_document_find_get_result),
4497 (ev_document_find_get_progress), (ev_document_find_changed):
4498 * backend/ev-document-find.h:
4500 Enanche the find interface to be really able to do
4503 * pdf/xpdf/pdf-document.cc:
4507 * shell/ev-view.c: (ev_view_finalize), (highlight_find_results),
4508 (expose_bin_window), (ev_view_init),
4509 (ev_view_get_find_status_message), (find_changed_cb),
4510 (ev_view_set_document), (set_document_page):
4512 Adapt to the new interface. A few things are regressed sorry,
4513 I will finish it soon.
4515 2005-01-28 Martin Kretzschmar <martink@gnome.org>
4517 * shell/ev-sidebar-thumbnails.c (ev_sidebar_thumbnails_destroy)
4518 (ev_sidebar_thumbnails_class_init): use G_DEFINE_TYPE-supplied
4519 ev_sidebar_thumbnails_parent_class variable, don't define another
4520 parent_class variable.
4522 * shell/ev-page-action.c (connect_proxy, ev_page_action_finalize)
4523 (ev_page_action_class_init): ditto.
4525 * pixbuf/pixbuf-document.c (pixbuf_document_finalize)
4526 (pixbuf_document_class_init): ditto.
4528 * backend/ev-link.c (ev_window_dispose, ev_link_class_init):
4531 * .cvsignore: ignore various valgrind output files.
4533 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
4535 * data/evince-ui.xml:
4536 * shell/Makefile.am:
4537 * shell/ev-history.c:
4538 * shell/ev-history.h:
4539 * shell/ev-navigation-action.c:
4540 * shell/ev-navigation-action.h:
4541 * shell/ev-view.c: (ev_view_finalize), (ev_view_go_to_link),
4542 (ev_view_set_page), (ev_view_fit_width):
4544 * shell/ev-window.c: (update_action_sensitivity),
4545 (ev_window_setup_document), (register_custom_actions):
4547 Kill session history
4549 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
4551 * shell/ev-window.c: (update_action_sensitivity):
4553 Fix inverted up/down buttons
4555 2005-01-27 Martin Kretzschmar <martink@gnome.org>
4557 * shell/ev-sidebar-thumbnails.c
4558 (ev_sidebar_thumbnails_select_page): make sure the selected
4559 thumbnail stays visible.
4561 2005-01-26 Martin Kretzschmar <martink@gnome.org>
4563 * shell/ev-window.c (ev_window_init): add GTK_SHADOW_IN to the
4564 scrolled window for Federico.
4566 2005-01-26 Ole Laursen <olau@hardworking.dk>
4568 * configure.ac: Added "da" (Danish) to ALL_LINGUAS.
4570 2005-01-26 Marco Pesenti Gritti <marco@gnome.org>
4573 * pdf/splash/SplashFTFontEngine.cc:
4575 Fix CID fonts with freetype 2.1.9
4577 2005-01-26 Bryan Clark <clarkbw@cvs.gnome.org>
4579 * TODO: added item for desktop icon thumbnailer
4581 Tue Jan 25 00:59:34 2005 Jonathan Blandford <jrb@redhat.com>
4583 * pdf/xpdf/pdf-document.cc (pdf_document_get_title): guard against
4584 unloaded docs when the title is accessed.
4586 * shell/ev-password-view.[hc]: New widget for displaying password
4589 * shell/ev-window.[ch]: Refactor password handling code to handle
4592 2005-01-24 Marco Pesenti Gritti <marco@gnome.org>
4600 2005-01-23 Stephane LOEUILLET <stephane.loeuillet@tiscali.fr>
4602 * pdf/xpdf/pdf-document.cc (pdf_document_search_page_changed):
4603 ignore page offset here, to make search results independent of it,
4605 * shell/ev-view.c (expose_bin_window): but take offsets into
4606 account here. Bug #164932
4608 * pdf/xpdf/pdf-document.cc (pdf_document_get_link): divide by
4609 scale at the right time. Bug #164996
4611 2005-01-22 Martin Kretzschmar <martink@gnome.org>
4613 * pdf/xpdf/GlobalParams.cc: My 2005-01-05 change didn't actually
4614 fix the problem. Now I just removed the Adobe font names and hope
4615 that the URW fonts are always in outline format. Bug #164934
4617 * shell/ev-window.c (update_window_title): empty titles are
4618 useless, use filename in that case too.
4620 * NEWS: Add some content.
4622 2005-01-21 Bryan Clark <clarkbw@cvs.gnome.org>
4624 * TODO: added one more TODO item and a TODONE section :)
4626 2005-01-21 Martin Kretzschmar <martink@gnome.org>
4628 * ps/ps-document.h: add page_[xy]_offset fields.
4630 * ps/ps-document.c (ps_document_set_page_offset)
4631 (ps_document_render): Keep offset in consideration in a few
4632 places. Bug #164752 "postscript documents are not centered in
4635 * data/evince.desktop.in (X-GNOME-Bugzilla-Product):
4636 s/gpdf/evince/. Spotted by Stephane Loeuillet.
4638 * pixbuf/pixbuf-document.c (pixbuf_document_get_n_pages)
4639 (pixbuf_document_get_text, pixbuf_document_document_iface_init):
4640 stub out missing methods for complete EvDocument implementation.
4641 Fixes segfaults with Save A Copy and Copy actions.
4643 * ps/ps-document.c (ps_document_save, ps_document_get_text)
4644 (ps_document_document_iface_init): ditto.
4646 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
4650 * data/evince.desktop.in:
4654 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
4656 * shell/ev-view.c: (ev_view_button_press_event),
4657 (ev_view_motion_notify_event):
4659 Make selection work in any direction
4661 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
4664 * shell/ev-window.c: (set_short_labels), (ev_window_init):
4666 Use shorter labels for some of the toolbars items
4668 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
4670 * pdf/xpdf/pdf-document.cc:
4672 Check the links info is initialized before
4673 using it. Should fix a crash on startup.
4675 2005-01-21 Martin Kretzschmar <martink@gnome.org>
4677 * pixbuf/pixbuf-document.c
4678 (pixbuf_document_thumbnails_get_dimensions): force floating point
4679 division to calculate page_ratio. Fixes crash with landscape
4682 Thu Jan 20 18:56:35 2005 Jonathan Blandford <jrb@redhat.com>
4684 * shell/ev-view.c (ev_view_realize): make the bg color darker.
4686 2005-01-20 Martin Kretzschmar <martink@gnome.org>
4688 * shell/ev-view.c (set_document_page): unset has_selection when
4690 (set_document_page): handle paper size changes when the page
4691 changes (test with Free Culture, page 2).
4693 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
4695 * shell/ev-view.c: (ev_view_size_request), (ev_view_realize),
4696 (expose_bin_window), (ev_view_class_init), (ev_view_init):
4698 Use normal style color for the widget background and
4699 draw a black box around the page.
4701 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
4703 * pdf/xpdf/pdf-document.cc:
4705 Keep offset in consideration in a few places
4707 * shell/ev-view.c: (expose_bin_window):
4709 Set the offsets so that the document is ever centered
4711 2005-01-20 Bryan Clark <clarkbw@cvs.gnome.org>
4713 * TODO: Added TODO items and finished off the first todo item
4715 * AUTHORS: Updated AUTHORS section with piece from gpdf file and
4716 reflect current authors
4718 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
4720 * pdf/xpdf/pdf-document.cc:
4721 * shell/ev-view.c: (ev_view_set_cursor),
4722 (ev_view_motion_notify_event), (document_changed_callback),
4723 (set_document_page):
4725 Show a wait cursor while the page is rendering
4727 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
4729 * shell/ev-sidebar-thumbnails.c:
4730 (ev_sidebar_tree_selection_changed),
4731 (ev_sidebar_thumbnails_select_page):
4732 * shell/ev-sidebar-thumbnails.h:
4733 * shell/ev-view.c: (ev_view_set_document), (ev_view_can_go_back),
4734 (ev_view_can_go_forward):
4735 * shell/ev-window.c: (ev_window_open_page),
4736 (ev_window_setup_document), (update_current_page),
4737 (view_page_changed_cb), (ev_window_init):
4738 * shell/ev-window.h:
4740 Ensure thumbnails selection, toolbar page control and
4741 current page are in sync.
4743 2005-01-19 Marco Pesenti Gritti <marco@gnome.org>
4749 Wed Jan 19 01:10:57 2005 Jonathan Blandford <jrb@redhat.com>
4751 * backend/Makefile.am:
4752 * backend/ev-document-links.h:
4753 * backend/ev-document-security.c: (ev_document_security_get_type),
4754 (ev_document_security_has_document_security),
4755 (ev_document_security_set_password):
4756 * backend/ev-document-security.h:
4757 * backend/ev-document.c: (ev_document_error_quark):
4758 * backend/ev-document.h:
4760 * data/evince-password.glade:
4761 * pdf/xpdf/pdf-document.cc:
4762 * shell/Makefile.am:
4763 * shell/ev-password.c: (ev_password_set_bad_password_label),
4764 (ev_window_password_entry_changed_cb), (ev_password_dialog_new),
4765 (ev_password_dialog_get_password),
4766 (ev_password_dialog_set_bad_pass):
4767 * shell/ev-password.h:
4768 * shell/ev-window.c: (ev_window_get_attribute),
4769 (ev_window_set_property), (update_action_sensitivity),
4770 (ev_window_is_empty), (mime_type_supported_by_gdk_pixbuf),
4771 (ev_window_setup_document), (ev_window_get_password),
4772 (ev_window_open), (ev_window_cmd_save_as),
4773 (using_postscript_printer), (ev_window_print),
4774 (find_not_supported_dialog), (ev_window_cmd_edit_find),
4775 (update_fullscreen_popup), (ev_window_fullscreen),
4776 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
4777 (ev_window_focus_out_cb), (ev_window_cmd_help_about),
4778 (menu_item_select_cb), (find_bar_search_changed_cb),
4779 (ev_window_dispose), (ev_window_init):
4781 Add initial support for password-supported dialogs. This could be
4782 a lot cooler, but it'll do for now.
4784 2005-01-18 Marco Pesenti Gritti <marco@gnome.org>
4786 * pdf/xpdf/pdf-document.cc:
4787 * shell/ev-view.c: (status_message_from_link),
4788 (ev_view_set_status), (ev_view_set_cursor),
4789 (ev_view_motion_notify_event), (ev_view_init):
4790 * shell/ev-window.c: (view_status_changed_cb), (ev_window_init):
4792 Fix bugs in the links implementation and change cursor
4793 when hovering a link.
4795 2005-01-17 Bryan Clark <clarkbw@cvs.gnome.org>
4797 * viewer/.cvsignore: added cvsignore file for viewer directory
4799 * TODO: created TODO document
4801 2005-01-14 Dave Malcolm <dmalcolm@redhat.com>
4804 * shell/ev-view.c (ev_view_can_go_back), (ev_view_can_go_forward):
4805 new functions to help with implementation of sensitivity code
4806 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
4807 of all actions that might require it. Fixes a crash when you
4808 click on the Zoom actions in a window lacking a document.
4810 2005-01-13 Dave Malcolm <dmalcolm@redhat.com>
4812 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
4815 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
4817 * pixbuf/pixbuf-document.c: (pixbuf_document_get_link),
4818 (pixbuf_document_document_iface_init):
4819 * ps/ps-document.c: (ps_document_get_link),
4820 (ps_document_document_iface_init):
4821 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event),
4822 (status_message_from_link), (ev_view_set_status),
4823 (ev_view_set_find_status), (ev_view_motion_notify_event),
4824 (ev_view_button_release_event), (ev_view_set_property),
4825 (ev_view_get_property), (ev_view_class_init), (ev_view_init),
4826 (ev_view_get_find_status_message), (update_find_results),
4827 (ev_view_get_status), (ev_view_get_find_status):
4829 * shell/ev-window.c: (view_status_changed_cb),
4830 (view_find_status_changed_cb), (ev_window_init):
4832 View status message support, use it to show the links.
4835 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
4837 * backend/ev-document.c: (ev_document_get_link):
4838 * backend/ev-document.h:
4839 * pdf/xpdf/pdf-document.cc:
4840 * shell/ev-application.c: (ev_application_open):
4841 * shell/ev-application.h:
4842 * shell/ev-sidebar-links.c: (selection_changed_cb):
4843 * shell/ev-view.c: (ev_view_button_release_event), (go_to_link),
4844 (ev_view_go_to_link):
4846 Add support for document links
4848 2005-01-13 Anders Carlsson <andersca@gnome.org>
4850 * shell/ev-page-action.c: (update_spin), (total_pages_changed_cb),
4852 Set the spin button limits correctly.
4854 * shell/ev-sidebar-thumbnails.c:
4855 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init):
4856 Support changing pages by clicking on the thumbnails.
4858 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
4860 * pixbuf/pixbuf-document.c:
4861 (pixbuf_document_thumbnails_get_dimensions),
4862 (pixbuf_document_document_thumbnails_iface_init):
4864 implement get_dimensions
4866 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
4868 * ps/ps-document.c: (ps_document_goto_page):
4870 Fix page switching on multipage documents
4872 2005-01-12 Jeff Muizelaar <jrmuizel@nit.ca>
4874 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
4876 check for NULL before assigning to width and height parameters
4878 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
4880 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
4881 (pixbuf_document_set_property), (pixbuf_document_get_property):
4883 implement get/set properties
4885 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
4887 * pdf/xpdf/pdf-document.cc: (pdf_info_dict_get_string):
4889 return NULL instead of "Unknown", letting the title get set to
4890 the filename when the pdf has no title.
4892 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
4894 * ps/ps-document.c: (ps_document_get_page_count),
4895 (ps_document_goto_page):
4897 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
4899 * shell/ev-history.c: (ev_history_get_property),
4900 (ev_history_set_property), (ev_history_class_init),
4901 (ev_history_add_page), (ev_history_set_current_index):
4902 * shell/ev-navigation-action.c: (ev_navigation_action_set_history),
4903 (activate_menu_item_cb), (new_history_menu_item), (build_menu),
4904 (ev_navigation_action_finalize):
4905 * shell/ev-navigation-action.h:
4906 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
4907 (ev_view_go_forward), (ev_view_get_find_status_message),
4908 (history_index_changed_cb), (ev_view_set_history):
4910 * shell/ev-window.c: (update_total_pages), (ev_window_open),
4911 (update_current_page), (register_custom_actions):
4913 Implement history dropdowns
4915 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
4917 * shell/ev-history.c: (ev_history_init), (ev_history_add_link):
4918 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
4919 (ev_view_go_forward):
4920 * shell/ev-window.c: (register_custom_actions):
4922 Fix several history bugs
4924 2005-01-11 Kjartan Maraas <kmaraas@gnome.org>
4926 * configure.ac: Add «nb» to ALL_LINGUAS.
4928 2005-01-10 Marco Pesenti Gritti <marco@gnome.org>
4930 * backend/Makefile.am:
4931 * backend/ev-bookmark.c:
4932 * backend/ev-bookmark.h:
4933 * backend/ev-document-bookmarks.c:
4934 * backend/ev-document-bookmarks.h:
4935 * backend/ev-document-links.c: (ev_document_links_get_type),
4936 (ev_document_links_has_document_links),
4937 (ev_document_links_begin_read), (ev_document_links_get_link),
4938 (ev_document_links_get_child), (ev_document_links_next),
4939 (ev_document_links_free_iter):
4940 * backend/ev-document-links.h:
4941 * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_title),
4942 (ev_link_set_title), (ev_link_get_uri), (ev_link_set_uri),
4943 (ev_link_get_link_type), (ev_link_set_link_type),
4944 (ev_link_get_page), (ev_link_set_page), (ev_link_get_property),
4945 (ev_link_set_property), (ev_window_dispose), (ev_link_init),
4946 (ev_link_class_init), (ev_link_new_title), (ev_link_new_page),
4947 (ev_link_new_external):
4948 * backend/ev-link.h:
4949 * pdf/xpdf/pdf-document.cc:
4950 * shell/Makefile.am:
4951 * shell/ev-application.c: (ev_application_open_link):
4952 * shell/ev-application.h:
4953 * shell/ev-history.c: (ev_history_add_link), (ev_history_add_page),
4954 (ev_history_get_link_nth):
4955 * shell/ev-history.h:
4956 * shell/ev-sidebar-bookmarks.c:
4957 * shell/ev-sidebar-bookmarks.h:
4958 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
4959 (ev_sidebar_links_class_init), (selection_changed_cb),
4960 (ev_sidebar_links_construct), (ev_sidebar_links_init),
4961 (links_page_num_func), (ev_sidebar_links_new), (stack_data_free),
4962 (do_one_iteration), (populate_links_idle),
4963 (ev_sidebar_links_clear_document), (ev_sidebar_links_set_document):
4964 * shell/ev-sidebar-links.h:
4965 * shell/ev-sidebar.c: (ev_sidebar_set_document):
4966 * shell/ev-view.c: (go_to_link), (ev_view_go_to_link),
4969 * shell/ev-window.c: (ev_window_open_link), (ev_window_init):
4970 * shell/ev-window.h:
4972 Rename bookmark to link, and use "Index" for the sidebar panel.
4974 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
4976 * shell/Makefile.am:
4977 * shell/ev-application.c: (ev_application_open_bookmark):
4978 * shell/ev-application.h:
4979 * shell/ev-history.c: (ev_history_init), (free_links_list),
4980 (ev_history_finalize), (ev_history_class_init),
4981 (ev_history_add_link), (ev_history_add_page),
4982 (ev_history_get_link_nth), (ev_history_get_n_links),
4983 (ev_history_get_current_index), (ev_history_set_current_index),
4985 * shell/ev-history.h:
4986 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
4987 * shell/ev-view.c: (ev_view_finalize), (ev_view_set_document),
4988 (set_document_page), (go_to_bookmark), (ev_view_go_to_bookmark),
4989 (go_to_index), (ev_view_go_back), (ev_view_go_forward),
4992 * shell/ev-window.c: (ev_window_open_bookmark),
4993 (ev_window_cmd_go_back), (ev_window_cmd_go_forward),
4994 (goto_page_cb), (register_custom_actions):
4995 * shell/ev-window.h:
4997 Initial history implementation. Needs work.
4999 2005-01-09 Martin Kretzschmar <martink@gnome.org>
5001 * pdf/xpdf/GDKSplashOutputDev.cc (redraw): fix pixbuf data offset.
5003 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
5005 * cut-n-paste/recent-files/egg-recent-item.c:
5006 * cut-n-paste/recent-files/egg-recent-item.h:
5007 * cut-n-paste/recent-files/egg-recent-model.c:
5008 * cut-n-paste/recent-files/egg-recent-util.c:
5009 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
5010 * cut-n-paste/recent-files/egg-recent-view.c:
5014 2005-01-08 Martin Kretzschmar <martink@gnome.org>
5016 * pdf/splash/Splash.cc (clear, drawPixel, drawSpan, xorSpan, getPixel)
5017 (fillGlyph, fillImageMask, drawImage):
5018 pdf/splash/SplashBitmap.cc (SplashBitmap, ~SplashBitmap, writePNMFile):
5019 pdf/splash/SplashTypes.h:
5020 pdf/xpdf/SplashOutputDev (startPage, getColor, imageSrc): implement RGB8
5021 packed mode for Splash.
5023 * pdf/xpdf/GDKSplashOutputDev.cc (GDKSplashOutputDev, redraw): use
5024 RGB8 packed mode, eliminates the pixbuf data creation loop.
5026 * shell/ev-print-job.c (ev_print_job_finalize)
5027 (ev_print_job_set_property, ev_print_job_get_property)
5028 (ev_print_job_set_gnome_print_job, ev_print_job_set_document)
5029 (ev_print_job_use_print_dialog_settings, idle_print_handler)
5030 (print_closure_finalize, ev_print_job_print): implement
5031 printing (for backends with EvPsExporter)
5033 * shell/ev_print_job.h: update prototypes.
5035 * shell/ev-window.c (ev_window_print): unref print job after
5038 * shell/ev-view.c (ev_view_set_document): don't connect to "found"
5039 unless the document implements the EvDocumentFind interface.
5041 2005-01-08 Satoru SATOH <ss@gnome.gr.jp>
5043 * configure.ac: Added ja to ALL_LINGUAS.
5045 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5047 * pdf/xpdf/pdf-document.cc:
5049 add a FIXME. We should probably not allocate
5050 a bookmark object every time
5052 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5054 * shell/ev-application.c: (ev_application_open),
5055 (ev_application_open_bookmark):
5056 * shell/ev-application.h:
5058 Add a way to open bookmarks
5060 * backend/ev-bookmark.c: (ev_bookmark_get_uri),
5061 (ev_bookmark_set_uri), (ev_bookmark_get_property),
5062 (ev_bookmark_set_property), (ev_bookmark_class_init),
5063 (ev_bookmark_new_title), (ev_bookmark_new_link),
5064 (ev_bookmark_new_external):
5066 Support for external uris, better constructors.
5068 * backend/ev-bookmark.h:
5069 * pdf/xpdf/pdf-document.cc:
5070 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
5072 Handle external uris
5074 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5076 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb),
5077 (ev_sidebar_bookmarks_construct), (do_one_iteration):
5079 Hook up bookmarks navigation
5081 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5083 * backend/Makefile.am:
5084 * backend/ev-bookmark.c: (ev_bookmark_type_get_type),
5085 (ev_bookmark_get_title), (ev_bookmark_set_title),
5086 (ev_bookmark_get_bookmark_type), (ev_bookmark_set_bookmark_type),
5087 (ev_bookmark_get_page), (ev_bookmark_set_page),
5088 (ev_bookmark_get_property), (ev_bookmark_set_property),
5089 (ev_window_dispose), (ev_bookmark_init), (ev_bookmark_class_init),
5091 * backend/ev-bookmark.h:
5092 * backend/ev-document-bookmarks.c:
5093 (ev_document_bookmarks_get_bookmark):
5094 * backend/ev-document-bookmarks.h:
5095 * pdf/xpdf/pdf-document.cc:
5096 * shell/ev-sidebar-bookmarks.c: (do_one_iteration):
5098 Add a bookmark object to the backend and use it instead of get_values
5100 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5102 * data/evince-ui.xml:
5104 Cleanup and add select all.
5106 * shell/ev-view.c: (ev_view_select_all),
5107 (ev_view_button_press_event):
5109 * shell/ev-window.c: (ev_window_cmd_edit_select_all):
5112 Clear selection on click.
5114 Fri Jan 7 01:28:58 2005 Jonathan Blandford <jrb@redhat.com>
5116 * shell/ev-sidebar-thumbnails.c
5117 (ev_sidebar_thumbnails_set_document): forgot to unref the
5120 Fri Jan 7 01:22:48 2005 Jonathan Blandford <jrb@redhat.com>
5122 * shell/ev-sidebar-thumbnails.c: fill in the thumbnails starting
5123 at the visible page, not just linearly. This makes it look fast.
5125 Thu Jan 6 18:48:11 2005 Jonathan Blandford <jrb@redhat.com>
5127 * backend/ev-document-misc.c
5128 (ev_document_misc_get_thumbnail_frame): fill in the thumbnail with
5130 * backend/ev-document-thumbnails.h: New interface to get the size
5133 2005-01-06 Jeremy Katz <katzj@redhat.com>
5135 * shell/Makefile.am (evince_SOURCES): Add ev-utils.[ch] so that
5138 Wed Jan 5 15:38:28 2005 Jonathan Blandford <jrb@redhat.com>
5140 * pdf/xpdf/pdf-document.cc (bitmap_to_pixbuf): bypass
5141 GDKSplashOutputDev and just use a normal SplashOutputDev. Speeds
5144 * shell/ev-sidebar-thumbnail.c: start of some profiling code.
5146 2005-01-05 Martin Kretzschmar <martink@gnome.org>
5148 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): match only outline
5149 fonts. Should fix font problems on systems that have the base
5150 fonts in bitmap format. Reported by James Henstridge
5151 <james@jamesh.id.au>.
5153 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5156 * pdf/xpdf/GfxState.cc:
5158 Fix for CAN-2004-1125
5160 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5162 * shell/ev-view.c: (ev_view_copy):
5164 * shell/ev-window.c: (ev_window_cmd_edit_copy):
5166 Implement Edit->Copy
5168 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5170 * backend/ev-document.c: (ev_document_get_text):
5171 * backend/ev-document.h:
5172 * pdf/xpdf/pdf-document.cc:
5173 * shell/ev-view.c: (ev_view_realize), (expose_bin_window),
5174 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
5175 (ev_view_update_primary_selection), (ev_view_button_press_event),
5176 (ev_view_motion_notify_event), (ev_view_button_release_event):
5178 Beginnings of clipboard support. Incomplete but primary sort
5181 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5183 * shell/ev-view.c: (ev_gdk_color_to_rgb), (draw_rubberband),
5184 (expose_bin_window):
5186 Nicer rubberband drawing, from GtkIconView.
5188 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5190 * backend/ev-document.c: (ev_document_save):
5191 * backend/ev-document.h:
5192 * data/evince-ui.xml:
5193 * pdf/xpdf/pdf-document.cc:
5194 * shell/ev-window.c: (save_error_dialog), (ev_window_cmd_save_as):
5196 Implement "Save a copy..." menu item
5198 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5200 * shell/ev-view.c: (ev_view_zoom):
5202 Queue a resize when zoom changes
5204 Wed Jan 5 02:33:06 2005 Jonathan Blandford <jrb@redhat.com>
5206 * backend/ev-document-misc.[ch]: New misc file to do simple drop
5209 * pdf/xpdf/pdf-document.cc: use the drop shadows in both types of
5212 Tue Jan 4 22:32:32 2005 Jonathan Blandford <jrb@redhat.com>
5214 * pdf/xpdf/pdf-document.cc
5215 (pdf_document_thumbnails_get_page_pixbuf): poor man's dropshadow.
5217 Tue Jan 4 21:25:05 2005 Jonathan Blandford <jrb@redhat.com>
5219 * pdf/xpdf/pdf-document.cc: Do real thumbnailing of PDF files.
5220 It's slow, but I'll speed it up next!
5222 2005-01-04 Jeff Muizelaar <jrmuizel@nit.ca>
5224 * shell/main.c (load_files):
5226 use gnome_vfs_make_uri_from_shell_arg so that relative paths work
5227 from the command line and because it seems more appropriate.
5229 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
5231 * data/evince-ui.xml:
5232 * shell/ev-window.c: (update_action_sensitivity),
5233 (ev_window_cmd_go_page_up), (ev_window_cmd_go_page_down):
5235 s/next page/page down
5236 s/previous page/page up
5238 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
5240 * data/evince-ui.xml:
5242 Change the layout to match clarkbw design.
5244 * shell/Makefile.am:
5245 * shell/ev-navigation-action.c: (build_menu), (menu_activated_cb),
5246 (set_tooltip_cb), (connect_proxy), (ev_navigation_action_init),
5247 (ev_navigation_action_finalize),
5248 (ev_navigation_action_set_property),
5249 (ev_navigation_action_get_property),
5250 (ev_navigation_action_class_init):
5251 * shell/ev-navigation-action.h:
5253 Implement clarkbw toolbar navigation controls (incomplete)
5255 * shell/ev-page-action.c: (update_label), (update_spin),
5256 (value_changed_cb), (create_tool_item), (connect_proxy),
5257 (ev_page_action_init), (ev_page_action_finalize),
5258 (ev_page_action_set_property), (ev_page_action_get_property),
5259 (ev_page_action_set_current_page),
5260 (ev_page_action_set_total_pages), (ev_page_action_class_init):
5261 * shell/ev-page-action.h:
5263 Implement a page switcher in the toolbar
5265 * shell/ev-view.c: (ev_view_scroll_view):
5266 * shell/ev-window.c: (update_total_pages), (ev_window_open),
5267 (update_current_page), (view_page_changed_cb), (goto_page_cb),
5268 (register_custom_actions), (ev_window_init):
5270 Change page on PageUp/Down.
5272 Tue Jan 4 03:22:56 2005 Jonathan Blandford <jrb@redhat.com>
5274 * pdf/xpdf/pdf-document.cc
5275 (pdf_document_thumbnails_get_thumbnail): initial stab at
5276 implementing thumbnail support for pdfs. It only does documents
5277 with precached pdfs now.
5279 Mon Jan 3 17:22:25 2005 Jonathan Blandford <jrb@redhat.com>
5281 * shell/ev-sidebar-thumbnails.c (do_one_iteration): move the
5282 thumbnail code into a time-based idle as well. Also, turn off the
5283 shadow temporarily as it's really slow.
5285 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
5287 * backend/ev-document.c: (ev_document_class_init):
5288 * pdf/xpdf/pdf-document.cc:
5289 * shell/ev-window.c: (ev_window_open):
5291 Fix document title bugs and fallback to
5292 filename when not available.
5294 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
5296 * backend/ev-document.c: (ev_document_get_type),
5297 (ev_document_class_init), (ev_document_load),
5298 (ev_document_get_title):
5299 * backend/ev-document.h:
5300 * pdf/xpdf/pdf-document.cc:
5301 * ps/ps-document.c: (ps_document_set_property),
5302 (ps_document_get_property), (ps_document_class_init),
5306 * shell/ev-window.c: (update_window_title), (ev_window_open),
5309 Initial support for document title. Not working yet.
5311 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
5313 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event):
5315 Grab focus on the view when clicking it
5317 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
5319 * shell/ev-marshal.list:
5320 * shell/ev-view.c: (ev_view_realize), (add_scroll_binding),
5321 (ev_view_scroll_view), (ev_view_class_init), (ev_view_init):
5323 Add key bindings to the view. Now if the focus would work
5326 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
5329 * backend/Makefile.am:
5332 * dvi/dvilib/Makefile.am:
5333 * pdf/xpdf/Makefile.am:
5339 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5341 * shell/ev-view.c: (ev_view_realize):
5343 Fix mouse wheel scrolling
5345 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5351 * ps/ps-document.c: (catchPipe), (ps_document_init),
5352 (ps_document_class_init), (ps_document_cleanup),
5353 (ps_document_finalize), (send_ps), (ps_document_get_orientation),
5354 (set_up_page), (close_pipe), (is_interpreter_ready),
5355 (interpreter_failed), (output), (input), (start_interpreter),
5356 (stop_interpreter), (file_length), (file_readable),
5357 (check_filecompressed), (check_pdf), (compute_xdpi),
5358 (compute_ydpi), (compute_size), (ps_document_enable_interpreter),
5359 (ps_document_get_type), (ps_document_emit_error_msg),
5360 (document_load), (ps_document_next_page),
5361 (ps_document_get_current_page), (ps_document_get_page_count),
5362 (ps_document_goto_page), (ps_document_set_page_size),
5363 (ps_document_zoom_to_fit), (ps_document_set_zoom),
5364 (ps_document_load), (ps_document_get_n_pages),
5365 (ps_document_set_page), (ps_document_get_page),
5366 (ps_document_widget_event), (ps_document_set_target),
5367 (ps_document_set_scale), (ps_document_set_page_offset),
5368 (ps_document_get_page_size), (ps_document_render),
5369 (ps_document_document_iface_init):
5372 * shell/ev-window.c: (ev_window_open):
5374 Rename GtkGS to PSDocument
5376 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5378 * ps/gtkgs.c: (gtk_gs_class_init):
5381 Some more leftover...
5383 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5385 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_get_orientation),
5386 (output), (stop_interpreter), (gtk_gs_emit_error_msg),
5387 (gtk_gs_zoom_to_fit), (gtk_gs_set_zoom):
5390 Remove unused code and make a lot of stuff private
5392 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5394 * ps/gsdefaults.c: (gtk_gs_defaults_gconf_client),
5395 (gtk_gs_defaults_changed):
5401 Cleanup headers dependencies
5403 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5408 * ps/gsdefaults.c: (gtk_gs_defaults_get_paper_sizes):
5410 * ps/gtkgs.c: (file_length), (file_readable),
5411 (check_filecompressed), (check_pdf), (gtk_gs_load),
5412 (gtk_gs_get_postscript):
5416 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
5421 * ps/gtkgs.c: (gtk_gs_set_zoom):
5425 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
5427 * ps/gtkgs.c: (gtk_gs_set_zoom), (gtk_gs_set_zoom_mode):
5429 Ensure the page is rerendered when changing zoom
5431 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
5433 * backend/ev-document.c: (ev_document_base_init),
5434 (ev_document_changed):
5435 * backend/ev-document.h:
5437 Add a changed event that is emitted when the page content
5438 changes. This is necessary to deal with the fact that
5439 in ps backend rendering happen asycrounously.
5440 This makes the ps backend mostly work.
5442 * pdf/xpdf/pdf-document.cc:
5446 * ps/gtkgs.c: (set_up_page), (gtk_gs_widget_event),
5447 (ps_document_set_target):
5451 * shell/ev-view.c: (document_changed_callback),
5452 (ev_view_set_document), (ev_view_set_page):
5454 Redraw on the changed signal
5456 2004-12-25 Raphael Higino <raphaelh@cvs.gnome.org>
5458 * configure.ac: Added pt_BR to ALL_LINGUAS.
5460 Fri Dec 24 00:48:44 2004 Jonathan Blandford <jrb@redhat.com>
5462 * backend/ev-document-bookmarks.c:
5463 (ev_document_bookmarks_get_child): *
5464 backend/ev-document-bookmarks.h: * pdf/xpdf/Makefile.am: *
5465 pdf/xpdf/pdf-document.cc: * pdf/xpdf/pdf-document.h: *
5466 shell/Makefile.am: * shell/ev-sidebar-bookmarks.c:
5467 (ev_sidebar_bookmarks_destroy),
5468 (ev_sidebar_bookmarks_class_init),
5469 (ev_sidebar_bookmarks_construct), (stack_data_free),
5470 (do_one_iteration), (populate_bookmarks_idle),
5471 (ev_sidebar_bookmarks_clear_document),
5472 (ev_sidebar_bookmarks_set_document): *
5473 shell/ev-sidebar-bookmarks.h: * shell/ev-sidebar.c:
5474 (ev_sidebar_add_page),
5475 (ev_sidebar_set_document): * shell/ev-window.c: (ev_window_open):
5476 Initial stab at a bookmarks sidebar. It doesn't navigate yet, but
5477 it displays both the topics and the page numbers.
5479 2004-12-23 Kristian Høgsberg <krh@redhat.com>
5481 * shell/ev-window.c (ev_window_view_sidebar_cb): Hook up sidebar
5483 * shell/ev-window.c (toggle_entries): Set sidebar default value to
5486 2004-12-23 Adam Weinberger <adamw@gnome.org>
5488 * configure.ac: Added en_CA to ALL_LINGUAS.
5490 2004-12-23 Martin Kretzschmar <martink@gnome.org>
5492 * ChangeLog: replace bottom of this ChangeLog (merged history of
5493 ggv and gpdf; where all paths were wrong and most of the files are
5494 not even in this tree) with ChangeLog (from arch) of the shell
5497 2004-12-23 Havoc Pennington <hp@redhat.com>
5499 * shell/ev-window.c: hook up potentially-questionable "find
5500 results status text" feature - something involving the sidebar or
5501 scrollbar or a continuous all-pages-on-giant-roll-of-paper-view
5502 might be better in the end.
5504 * shell/ev-view.c (ev_view_get_find_status_message): new function,
5505 with corresponding signal when it should be updated
5507 * shell/eggfindbar.c (egg_find_bar_set_status_text): new function
5509 2004-12-22 Havoc Pennington <hp@redhat.com>
5511 * pdf/xpdf/pdf-document.cc (pdf_document_find_begin): make search
5512 find stuff on other pages, sort of (only returns one result on
5513 invisible pages, to show they have results; updates full results
5514 for a page when you view it). Currently repaints the current page
5515 every time a new result is found on any page, which isn't so nice.
5517 2004-12-22 Havoc Pennington <hp@redhat.com>
5519 * shell/ev-window.c (ev_window_cmd_edit_find): display an error if
5520 the document doesn't support find (better ideas?)
5521 (find_bar_search_changed_cb): handle missing document or document
5522 that doesn't support find
5524 * pdf/xpdf/pdf-document.cc: port to implement the new
5527 * backend/ev-document-find.c: create a new interface for searching
5529 * backend/ev-document.h, backend/ev-document.c: delete the find stuff
5531 2004-12-23 Martin Kretzschmar <martink@gnome.org>
5533 * pdf/xpdf/Makefile.am (libpdfdocument_la_LIBADD): add
5536 * shell/ev-window.c (ev_window_print): add GnomePrintJob to
5537 EvPrintJob constructor arguments.
5539 * backend/ev-ps-exporter.c, backend/ev-ps-exporter.h: interface
5540 for documents that can export PostScript (page by page).
5542 * backend/Makefile.am (libevbackend_la_SOURCES): add them.
5544 * pdf/xpdf/pdf-document.cc (pdf_document_ps_export_begin)
5545 (pdf_document_ps_export_do_page, pdf_document_ps_export_end)
5546 (pdf_document_ps_exporter_iface_init:
5547 Implement EvPSExporter.
5549 * pdf/xpdf/Makefile.am (libxpdf_la_SOURCES): build PSOutputDev.
5551 2004-12-22 Anders Carlsson <andersca@gnome.org>
5553 * backend/Makefile.am:
5554 * backend/ev-document-thumbnails.c:
5555 (ev_document_thumbnails_get_type),
5556 (ev_document_thumbnails_get_thumbnail):
5557 * backend/ev-document-thumbnails.h:
5558 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
5559 (pixbuf_document_thumbnails_get_thumbnail),
5560 (pixbuf_document_document_thumbnails_iface_init):
5561 * shell/Makefile.am:
5562 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_destroy),
5563 (ev_sidebar_thumbnails_class_init), (ev_sidebar_thumbnails_init),
5564 (populate_thumbnails), (ev_sidebar_thumbnails_set_document):
5565 * shell/ev-sidebar-thumbnails.h:
5566 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
5567 (ev_sidebar_set_document):
5568 * shell/ev-utils.c: (gaussian), (create_blur_filter),
5569 (create_shadow), (ev_pixbuf_add_shadow):
5571 Add thumbnail support.
5573 2004-12-22 Martin Kretzschmar <martink@gnome.org>
5575 * shell/ev-window.c (ev_window_cmd_file_print, ev_window_print)
5576 (using_postscript_printer): Set up a print dialog for "PostScript
5579 * shell/ev-print-job.h, shell/ev-print-job.c: stub classes for
5582 * shell/Makefile.am (evince_SOURCES): add ev-print-job.[ch]
5584 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
5586 * ps/gtkgs.c: (gtk_gs_init), (set_up_page),
5587 (ps_document_set_target), (ps_document_get_page_size),
5588 (ps_document_render):
5593 2004-12-22 Christian Rose <menthos@menthos.com>
5595 * configure.ac: Added "sv" to ALL_LINGUAS.
5597 Wed Dec 22 14:47:38 2004 Jonathan Blandford <jrb@redhat.com>
5599 * backend/ev-document-bookmarks.[ch]: new interface to indicate
5600 document supports bookmarks.
5602 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
5604 * ps/ggvutils.c: (ggv_file_readable):
5606 * ps/gtkgs.c: (check_filecompressed), (check_pdf),
5607 (gtk_gs_get_postscript):
5611 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
5613 * ps/gtkgs.c: (gtk_gs_init), (gtk_gs_class_init), (gtk_gs_cleanup),
5614 (gtk_gs_finalize), (gtk_gs_set_center), (set_up_page), (output),
5615 (start_interpreter), (compute_size), (gtk_gs_enable_interpreter),
5616 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_reload),
5617 (gtk_gs_emit_error_msg), (gtk_gs_disable_interpreter),
5618 (gtk_gs_load), (gtk_gs_goto_page), (gtk_gs_set_page_size),
5619 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
5620 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
5621 (gtk_gs_set_antialiasing), (ps_document_load),
5622 (ps_document_render):
5625 Another check point for the ps backend. Now I can get it to show
5628 Wed Dec 22 13:41:01 2004 Jonathan Blandford <jrb@redhat.com>
5630 * shell/ev-sidebar.c (ev_sidebar_set_document): initial sidebar
5631 document setting code.
5633 2004-12-22 Anders Carlsson <andersca@gnome.org>
5635 * shell/eggfindbar.c: (entry_activate_callback):
5636 Animate the next button when activate is pressed.
5638 2004-12-22 Anders Carlsson <andersca@gnome.org>
5640 * shell/ev-window.c: (ev_window_cmd_edit_find),
5641 (update_fullscreen_popup), (ev_window_fullscreen),
5642 (ev_window_unfullscreen), (ev_window_state_event_cb),
5643 (ev_window_focus_out_cb), (find_bar_close_cb), (ev_window_init):
5644 Fix bugs in fullscreen code.
5646 2004-12-22 Anders Carlsson <andersca@gnome.org>
5650 * pixbuf/Makefile.am:
5651 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
5652 (pixbuf_document_load), (pixbuf_document_get_n_pages),
5653 (pixbuf_document_set_page), (pixbuf_document_get_page),
5654 (pixbuf_document_set_target), (pixbuf_document_set_scale),
5655 (pixbuf_document_set_page_offset), (pixbuf_document_get_page_size),
5656 (pixbuf_document_render), (pixbuf_document_begin_find),
5657 (pixbuf_document_end_find), (pixbuf_document_finalize),
5658 (pixbuf_document_class_init),
5659 (pixbuf_document_document_iface_init), (pixbuf_document_init):
5660 * pixbuf/pixbuf-document.h:
5661 * shell/Makefile.am:
5662 * shell/ev-application.c: (ev_application_open):
5663 * shell/ev-window.c: (mime_type_supported_by_gdk_pixbuf),
5667 Tue Dec 21 21:45:43 2004 Soeren Sandmann <sandmann@redhat.com>
5670 * dvi/dvilib/Makefile.am:
5672 * configure.ac: Auto*ify dvi and dvi/dvilib
5674 * dvi/Makefile: Remove from CVS
5676 * dvi/dvilib/dl-pkfont.cc (unpack_bitmap): Fix uchar/uint
5679 * dvi/dvilib/dl-fontdefinition.{cc,hh}: New DviFontMap class
5681 * dvi/dvilib/dl-vffont.{cc,hh}: Many bugfixes to VF code.
5683 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
5686 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_finalize),
5687 (gtk_gs_value_adjustment_changed), (compute_size),
5688 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_new_from_file),
5689 (gtk_gs_center_page), (gtk_gs_load), (gtk_gs_set_page_size),
5690 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
5691 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
5692 (gtk_gs_start_scroll), (gtk_gs_get_postscript),
5693 (gtk_gs_set_adjustments), (gtk_gs_set_available_size),
5694 (ps_document_load), (ps_document_get_n_pages),
5695 (ps_document_set_page), (ps_document_get_page),
5696 (ps_document_set_target), (ps_document_set_scale),
5697 (ps_document_set_page_offset), (ps_document_get_page_size),
5698 (ps_document_render), (ps_document_begin_find),
5699 (ps_document_end_find), (ps_document_document_iface_init):
5701 * shell/Makefile.am:
5702 * shell/ev-window.c: (ev_window_open):
5704 Some work to integrate gtkgs with EvDocument
5706 2004-12-22 Anders Carlsson <andersca@gnome.org>
5708 * shell/ev-window.c: (update_fullscreen_popup),
5709 (screen_size_changed_cb), (destroy_exit_fullscreen_popup),
5710 (exit_fullscreen_button_clicked_cb),
5711 (fullscreen_popup_size_request_cb), (ev_window_fullscreen),
5712 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
5713 (ev_window_state_event_cb), (ev_window_init):
5714 Add fullscreen support from Epiphany.
5716 2004-12-22 Mark McLoughlin <mark@skynet.ie>
5718 * data/ev-stock-zoom-fit-width.png: fit-width
5719 stock icon from gpdf.
5721 * shell/ev-stock-icons.[ch]: copied from gpdf.
5723 * shell/main.c: (main): init stock icons.
5725 * shell/ev-window.c: use the fit-width icon.
5727 * data/evince-ui.xml: add zooming toolbar items.
5729 2004-12-22 Mark McLoughlin <mark@skynet.ie>
5732 (ev_view_best_fit), (ev_view_fit_width): because
5733 get_page_size() returns the scaled page size, we
5734 need to calculate the scale factor relative to
5735 the previous scale factor. Should really just
5736 add get_real_page_size().
5738 2004-12-22 Mark McLoughlin <mark@skynet.ie>
5740 * shell/ev-view.[ch]:
5741 (ev_view_zoom), (ev_view_zoom_in), (ev_view_zoom_out),
5742 (ev_view_normal_size), (ev_view_best_fit), (ev_view_fit_width):
5745 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
5746 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_normal_size),
5747 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width):
5750 * pdf/xpdf/pdf-document.cc:
5751 (pdf_document_begin_find),
5752 (pdf_document_end_find): make static.
5754 2004-12-22 Martin Kretzschmar <martink@gnome.org>
5756 * pdf/xpdf/GlobalParams.h (setupBaseFontsFc): add prototype.
5758 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): maps base font
5759 names to fontconfig patterns.
5760 (setupBaseFontsFc): setupBaseFonts reimplemented using fontconfig.
5762 * pdf/xpdf/pdf-document.cc (pdf_document_load): use
5765 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
5781 Import ggv backend. Not hooked up yet.
5783 2004-12-22 Mark McLoughlin <mark@skynet.ie>
5785 * shell/main.c: (load_files), (main): load files
5786 from the command line.
5788 2004-12-22 Mark McLoughlin <mark@skynet.ie>
5790 * configure.ac: don't require bonobo.
5792 * cut-n-paste/recent-files/*: kill bonobo recent
5795 * shell/ev-window.c:
5796 (ev_window_is_empty): upd.
5797 (unable_to_load), (ev_window_open): load backend
5798 based on the mime type.
5800 2004-12-22 Martin Kretzschmar <martink@gnome.org>
5802 * backend/.cvsignore: ignore generated marshalers source.
5804 * shell/main.c (main): this is not epiphany.
5806 2004-12-22 Havoc Pennington <hp@redhat.com>
5808 * shell/ev-view.c (ev_view_set_document): connect to "found" signal
5809 (expose_bin_window): draw find highlights
5811 * shell/ev-window.c (find_bar_search_changed_cb): implement
5813 * pdf/xpdf/pdf-document.cc (pdf_document_begin_find)
5814 (pdf_document_end_find): implement this interface
5816 * backend/ev-document.c (ev_document_found): add this to emit
5819 Tue Dec 21 23:57:37 2004 Owen Taylor <otaylor@redhat.com>
5821 * data/evince-ui.xml: Add a few more toolbar items.
5823 * shell/ev-window.c: Hook up page navigation toolbar
5826 * shell/ev-view.[ch]: add ev_view_set/get_page and
5827 a page-changed signal.
5829 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc::
5830 Add ev_document_get_page().
5832 * shell/ev-window.c: Sensitize/desensitize navigation
5835 2004-12-21 Havoc Pennington <hp@redhat.com>
5837 * backend/ev-backend-marshal.c,
5838 backend/ev-backend-marshalers.list, backend/Makefile.am: add
5839 marshaler-generator thingy. I'm sure there's a better way to do
5840 this in the modern world.
5842 * backend/ev-document.h (struct _EvDocumentIface): add begin_find,
5843 end_find methods and "found" signal.
5845 * configure.ac: find glib-genmarshal
5847 Tue Dec 21 23:20:35 2004 Jonathan Blandford <jrb@redhat.com>
5849 * shell/ev-sidebar.c: Construct an actual sidebar.
5850 * shell/ev-sidebar-bookmarks.[ch]:
5851 * shell/ev-sidebar-thumbnails.[ch]: Stub out sidebars.
5853 Tue Dec 21 23:05:51 2004 Owen Taylor <otaylor@redhat.com>
5855 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc:
5858 * shell/ev-view.c: Track the size from the document.
5860 Tue Dec 21 22:17:04 2004 Owen Taylor <otaylor@redhat.com>
5862 * pdf/xpdf/pdf-document.cc (pdf_document_load): PDFDoc
5863 constructor assumes ownership of the string passed in.
5865 * shell/ev-window.c (ev_window_open): Destroy the error
5866 dialog once we've displayed it.
5868 Tue Dec 21 21:58:56 2004 Owen Taylor <otaylor@redhat.com>
5870 * pdf/xpdf/pdf-document.cc shell/ev-view.c: Hook things up
5871 a bit, it works! (sort of)
5873 * pdf/xpdf/Makefile.am pdf/xpdf/pdf-document.cc:
5874 Move to .cc since we need to use C++ in the implementation.
5876 * shell/dummy.cc: Add a CC file to force evince
5877 to be linked as a C++ program.
5879 Tue Dec 21 21:07:55 2004 Owen Taylor <otaylor@redhat.com>
5881 * shell/ev-view.[ch]: Start of content-area widget.
5883 * shell/ev-window.c: Create a EvView, update it
5884 as we change documents.
5886 * shell/Makefile.am shell/ev-marshal.list: Add
5887 generated marshalers.
5889 Tue Dec 21 20:28:11 2004 Jonathan Blandford <jrb@redhat.com>
5891 * Makefile.am (SUBDIRS): move shell.
5893 Tue Dec 21 19:28:55 2004 Owen Taylor <otaylor@redhat.com>
5895 * pdf/{goo,fofi,splash,xpdf}/Makefile.am: Switch from
5896 .a to libtool convenience libraries.
5898 * shell/ev-window.c (ev_window_open): Hard code loading
5901 * backend/ev-document.h: Add a boolean return to load(),
5902 fix GError * to GError **.
5904 * pdf/xpdf/pdf-document.[ch] Makefile.am: Add a stub
5905 object for a PDF backend EvDocument.
5907 Tue Dec 21 18:55:06 2004 Søren Sandmann <sandmann@redhat.com>
5909 * dvi/*: New directory with the beginning of a .dvi backend.
5911 2004-12-21 Havoc Pennington <hp@redhat.com>
5913 * shell/eggfindbar.c (egg_find_bar_init): change buttons to
5914 previous/next instead of back/forward
5916 Tue Dec 21 18:26:24 2004 Owen Taylor <otaylor@redhat.com>
5918 * backend/ev-document.[ch]: Fix a couple of problems so
5921 Tue Dec 21 18:20:40 2004 Owen Taylor <otaylor@redhat.com>
5923 * viewer/* backend/* configure.ac Makefile.am: Move viewer directory
5924 to backend/ directory, rename EvViewer to EvDocument.
5926 2004-12-21 Havoc Pennington <hp@redhat.com>
5928 * shell/ev-window.c: hook up the find bar widget; now we just need
5929 a document to find things in
5931 * shell/eggfindbar.c: a find bar widget
5933 Tue Dec 21 17:20:16 2004 Jonathan Blandford <jrb@redhat.com>
5935 * shell/ev-sidebar.[ch]: initial sidebar boilerplate.
5937 Tue Dec 21 16:30:58 2004 Owen Taylor <otaylor@redhat.com>
5939 * pdf/**: Import of xpdf code from gpdf.
5941 * pdf/xpdf/xpdfconfig.h: Move the non-config.h config.h to xpdfconfig.h
5943 * pdf/splash/SplashFTFont.{cc,h} pdf/splash/SplashFTFont.h
5944 pdf/splash/SplashFTFontEngine.h pdf/splash/SplashFTFontFile.h:
5945 Fix FreeType includes.
5947 * pdf/xpdf/{Error.h GnomeVFSStream.cc ImageOutputDev.cc PDFDoc.cc\
5948 pdffonts.cc pdfimages.cc pdfinfo.cc pdftoppm.cc pdftops.cc
5949 pdftotext.cc PSOutputDev.cc PSOutputDev.h SplashOutputDev.h
5950 Stream.cc TextOutputDev.cc XPDFApp.cc xpdf.cc XPDFViewer.cc
5951 pdf/xpdf/Error.h PSOutputDev.h SplashOutputDev.h}:
5952 Include xpdfconfig.h
5954 Tue Dec 21 16:08:17 2004 Jonathan Blandford <jrb@redhat.com>
5956 * shell/ev-window.c (ev_window_dispose): dispose can be called
5959 2004-12-21 Havoc Pennington <hp@redhat.com>
5961 * shell/ev-window.c (ev_window_init): set title to Document Viewer
5964 * data/evince-ui.xml, shell/ev-window.c: add a bunch of stub menu
5965 items; really they should be synced with the strings, etc. from
5966 current gpdf, but just getting the boring typing out of the way
5968 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
5971 * shell/ev-application.c: (window_destroy_cb):
5972 * shell/ev-window.c:
5973 * shell/main.c: (main):
5975 Actually show the window...
5977 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
5980 * shell/Makefile.am:
5981 * shell/ev-application.c: (ev_application_class_init):
5982 * shell/ev-window.c: (ev_window_dispose), (ev_window_class_init):
5986 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
5988 Import to gnome cvs.
5990 * Remove copies of gpdf and ggv trees.
5991 * Rip out all the recursive configure code.
5992 * Remove bonobo machinery.
5993 * viewer/*: GInterfaces that backends should/can implement.
5995 2004-11-09 Martin Kretzschmar <m_kretzschmar@gmx.net>
5997 * shell/ev-window.c (ev_window_cmd_help_about): fix "documentors"
6000 2004-10-28 Martin Kretzschmar <m_kretzschmar@gmx.net>
6002 * shell/ev-application.c (EV_APPLICATION_GET_PRIVATE)
6003 (ev_application_finalize, ev_application_class_init)
6004 (ev_application_init): use GType instance private data for priv.
6006 * shell/ev-window.c (EV_WINDOW_GET_PRIVATE)
6007 (ev_window_finalize, ev_window_class_init)
6008 (ev_window_init): ditto.
6010 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
6012 * shell/ev-application.c (ev_application_new_window): make public
6013 (ev_application_show_initial_window): kill.
6015 * shell/ev-application.h: update prototypes.
6017 * shell/main.cc (main): inline ev_application_show_initial_window.
6019 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
6021 * shell/ev-application.c (ev_application_new_window): impl.
6022 (ev_application_show_initial_window): use it.
6023 (is_window_empty, ev_application_get_empty_window): returns an
6024 existing empty window or a new one.
6025 (ev_application_open): from ev_window_cmd_file_open.
6027 * shell/ev-application.h: update prototypes
6029 * shell/ev-window.c (ev_window_is_empty): impl.
6030 (ev_window_open): make public.
6031 (ev_window_cmd_file_open): use ev_application_open
6033 * shell/ev-window.h: update prototypes, remove unused.
6035 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
6037 * shell/ev-window.c (ev_window_destroy, ev_window_class_init):
6038 move destroy handler out of here...
6040 * shell/ev-application.c, shell/ev-application.h: ...into this new
6041 class. Also handles initial window creation.
6043 * shell/main.cc (main): use EvApplication to create initial
6046 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
6048 * Makefile.am (SUBDIRS): add cut-n-paste
6050 * cut-n-paste/Makefile.am: add
6052 * configure.ac: generate Makefiles in cut-n-paste
6054 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
6056 * shell/ev-window.c (ev_window_dispose): new, unref the ui_manager
6057 (ev_window_class_init): install ev_window_dispose.
6059 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
6061 * shell/ev-window.h, shell/ev-window.c: replace gchar with
6062 char (gchar looks stupid).
6064 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
6066 * po/de.po: updated German translation.
6068 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
6070 * configure.ac: add more pkg-config library checks for gnome-vfs,
6073 * gpdf/configure.in: temporarily disable libpaper
6074 checks. Otherwise I'd have to add the checks for the shell, too.
6076 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6078 * shell/ev-window.c (ev_window_cmd_file_open): add ps+pdf, ps, pdf
6079 and * file filters to the file choose.
6081 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6083 * po/de.po: Updated German translation.
6085 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6087 * shell/ev-window.c: use "S" as mnemonic for Statusbar.
6089 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6091 * data/evince-ui.xml: add View->Toolbar and View->Statusbar.
6093 * shell/ev-window.c (menu_item_select_cb, menu_item_select_cb)
6094 (ev_window_init): implement those menuitems.
6096 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6098 * data/evince-ui.xml: add a toolbar (with FileOpen action)
6100 * shell/ev-window.c (ev_window_init): use the toolbar.
6102 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6104 * shell/ev-window.c (ev_window_init): use menu translations
6106 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6108 * configure.ac: add "de" to ALL_LINGUAS.
6110 * po/de.po: add German translation.
6112 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6114 * Makefile.am (SUBDIRS): add po
6116 * configure.ac: check intltool, glib-gettext etc, generate
6119 * po, po/POTFILES.in, po/POTFILES.skip: new.
6121 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6123 * shell/Makefile.am (INCLUDES): define GNOMELOCALEDIR which we
6124 already use (#ifdef ENABLE_NLS)
6126 * shell/ev-window.c (ev_window_cmd_help_about): fix two star
6127 pointer indirection thinko.
6129 * shell/main.c: include gi18n.h for bindtextdomain etc.
6131 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6133 * shell/ev-window.c (menu_item_select_cb, menu_item_deselect_cb)
6134 (connect_proxy_cb, disconnect_proxy_cb, ev_window_init): show
6135 tooltips for menu items in the statusbar.
6137 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6139 * configure.ac, data/Makefile.am, shell/Makefile.am: use
6140 pkgdatadir drop UIDIR
6142 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6144 * data/evince-ui.xml: Add File->Open menu item
6146 * shell/ev-window.c (ev_window_cmd_file_open): impl. (shows a file
6147 chooser), hook it up in the ui manager.
6149 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6151 * shell/ev-window.c: fix Help->About tooltip.
6153 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6155 * configure.ac: set CFLAGS for libevprivate.
6157 * lib/ev-stock-icons.h, lib/ev-stock-icons.c: stock icon
6158 definitions, factory etc.
6160 * lib/Makefile.am: build libevprivate.a (only stock icon code).
6162 * shell/Makefile.am: link against libevprivate.a.
6164 * shell/ev-window.c (entries): add stock icon to Help->About.
6166 * shell/main.c (main): init stock icon code.
6168 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6170 * lib/recent-files: egg recent files code
6172 * lib/Makefile.am: add.
6174 * Makefile.am: add lib subdir.
6176 * configure.ac: gen. lib/Makefile and lib/recent-files/Makefile,
6177 set CFLAGS for recent-files.
6179 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6181 * configure.ac: disable -ansi and -pedantic gcc flags. They
6182 disable POSIX stuff in stdio.h, but egg-recent uses them.
6184 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6186 * configure.ac: add --disable-deprecated flag (defaults to on in
6189 * shell/Makefile.am (INCLUDES): use it.
6191 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6193 * shell/main.c: add missing #include.
6195 * shell/ev-window.c: fix for pedantic gcc.
6196 (ev_window_cmd_help_about): split license into paragraphs for
6197 translators and pedantic compilers.
6199 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6201 * configure.ac: add more warning flags if compiling with gcc from
6202 cvs (or explicitly requested with --enable-more-warnings).
6204 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6206 * data/evince-ui.xml: add File and File->Close menu.
6208 * shell/ev-window.c (ev_window_cmd_file_close_window): impl.
6209 (ev_window_destroy): quit after destroy.
6210 (ev_window_class_init): override GtkObject::destroy.
6211 (entries): install close_window callback.
6213 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6215 * Makefile.am (SUBDIRS): add data subdir.
6217 * configure.ac (UIDIR): gen data/Makefile, define UIDIR. Require
6218 gtk+ 2.5.0 for GtkAboutDialog.
6220 * data/Makefile.am, data/evince-ui.xml: add, ui definition for the
6223 * shell/Makefile.am (INCLUDES): propagate UIDIR definition.
6225 * shell/ev-window.c (ev_window_init): create a menubar, using a ui
6227 (ev_window_cmd_help_about): about command, using GtkAboutDialog.
6229 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6231 * shell/ev-window.c, shell/ev-window.h: Created an EvWindow class.
6233 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
6235 * shell/main.c: make it a trivial gtk+ program, adjust configure.ac
6237 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
6239 * shell/*: Added shell directory boilerplate, build it.
6241 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
6243 * configure.ac, Makefile.am: Added top-level configure.ac and