1 2005-07-24 Artur Flinta <aflinta@cvs.gnome.org>
3 * configure.ac: Added "pl" to ALL_LINGUAS.
5 2005-07-24 Danilo Ĺ egan <danilo@gnome.org>
7 * configure.ac: Added "sr" and "sr@Latn" to ALL_LINGUAS.
9 2005-07-23 Tommi Vainikainen <thv@iki.fi>
11 * help/ChangeLog: Started this for translations of manual.
12 * configure.ac, autogen.sh, .cvsignore: Migrated to
13 gnome-doc-utils. Patch in bug #311222.
15 2005-07-22 Martin Kretzschmar <martink@gnome.org>
17 * backend/ev-document-factory.c (mime_type_supported_by_gdk_pixbuf):
18 #ifdef this away to fix an unused-function warning.
20 2005-07-22 Ignacio Casal Quinteiro <nacho.resa@gmail.com>
22 * configure.ac: Added 'gl' to ALL_LINGUAS.
24 2005-07-22 Pawan Chitrakar <pawan@nplinux.org>
26 * configure.ac: Added ne in ALL_LINGUAS
28 2005-07-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
30 * shell/ev-view.c: (ev_view_leave_notify_event):
32 Clear status message when pointer leaves view. Fix for bug
35 2005-07-20 Ankit Patel <ankit644@yahoo.com>
37 * configure.ac: Gujarati (gu) added to ALL_LINGUAS
39 2005-07-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
41 * shell/ev-view.c: (ev_view_leave_notify_event),
44 Set cursor to normal then leaving view.
46 2005-07-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
50 Fix required djvulibre version.
52 2005-07-15 Rajesh Ranjan <rajeshkajha@yahoo.com>
54 *configure.ac: Hindi (hi) language added
56 2005-07-15 Amanpreet Singh Brar <amanpreetalam@yahoo.com>
58 *configure.ac: Punjabi (pa) Language added
60 2005-07-12 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
62 * data/evince-ui.xml, shell/ev-window.c:
64 Add keypad accelerators for zooming. Fix for bug 308128.
66 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
69 * backend/Makefile.am:
70 * backend/ev-document-factory.c: (ev_document_type_get_from_mime):
72 * shell/ev-document-types.c: (ev_document_types_add_filters):
74 Allow to enable/disable the pixbuf backend.
75 Default to off for now. If we want it enabled we should
76 really put mime types in the desktop, implement properties etc.
78 * properties/evince-properties.c:
80 Initialize error to NULL.
81 Check error is not NULL before freeing.
83 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
87 Use F5 as presentation accell
89 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
91 * shell/ev-window.c: (update_chrome_visibility),
92 (ev_window_create_fullscreen_popup), (ev_window_init):
94 Do not leak the fullscreen toolbar
96 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
98 * shell/ev-window.c: (view_actions_focus_in_cb),
99 (view_actions_focus_out_cb):
101 These has a return value! Fix totally random focus
102 issues we was seeing.
104 2005-07-11 Carlos Garcia Campos <carlosgc@gnome.org>
106 * shell/main.c: (load_files_remote):
108 Allow open more than one file
110 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
112 * shell/main.c: (load_files_remote):
114 Fix for dbus 0.33. bug #309975
116 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
118 * properties/ev-properties-main.c: (ev_properties_get_pages):
120 Actually return NULL for types we dont support
122 2005-07-08 Christian Persch <chpe@cvs.gnome.org>
128 2005-07-08 Marco Pesenti Gritti <marco@gnome.org>
130 * backend/ev-document-factory.c:
131 (ev_document_factory_get_document):
133 Do not try to create the object if type
136 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
138 * ps/ps-document.c: (ps_document_dispose),
139 (ps_async_renderer_render_pixbuf):
142 Do not leak the target window
144 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
146 * shell/ev-application.c: (ev_application_init):
148 Let tbe check file existence for us.
149 Add a comment about eggrecent mime filter.
151 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
153 * data/evince-ui.xml:
154 * shell/ev-application.c: (ev_application_shutdown),
155 (ev_application_init), (ev_application_get_toolbars_model),
156 (ev_application_get_recent_model),
157 (ev_application_save_toolbars_model):
158 * shell/ev-application.h:
159 * shell/ev-window.c: (ev_window_add_recent),
160 (ev_window_setup_recent), (ev_window_cmd_edit_toolbar_cb),
161 (ev_window_cmd_edit_toolbar), (ev_window_dispose),
164 Use common toolbar and recent models for all windows.
165 Patch by Nickolay V. Shmyrev <nshmyrev@yandex.ru>
167 Thu Jul 7 23:10:01 2005 Jonathan Blandford <jrb@redhat.com>
169 * configure.ac: add FRONTEND_CORE_LIBS to evince_save_LIBS so we
170 successfully check for gtk_icon_view_get_visible_range.
172 2005-07-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
177 Fix djvu and dvi backend build.
179 2005-07-07 Christian Persch <chpe@cvs.gnome.org>
181 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c: (new_pixbuf_from_widget),
182 (new_separator_pixbuf):
186 2005-07-07 Christian Persch <chpe@cvs.gnome.org>
188 * shell/ev-window.c: (ev_window_cmd_edit_toolbar):
190 HIGification of toolbar editor dialogue.
192 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
197 Ever build metadata manager since it's just
198 disabled at runtime now.
200 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
202 * shell/ev-metadata-manager.c: (ev_metadata_manager_init),
203 (ev_metadata_manager_get), (ev_metadata_manager_set):
204 * shell/ev-metadata-manager.h:
206 Add an _init functions that enabled metadata management
209 * shell/ev-window.c: (page_changed_cb),
210 (setup_document_from_metadata), (ev_window_setup_document),
211 (setup_view_from_metadata), (ev_window_open_uri),
212 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
213 (ev_window_run_presentation), (ev_window_stop_presentation),
214 (save_sizing_mode), (ev_window_zoom_changed_cb),
215 (ev_window_continuous_changed_cb),
216 (ev_window_dual_mode_changed_cb), (window_state_event_cb),
217 (window_configure_event_cb):
219 Remove all ugly metadata define since we deal with it
222 * shell/main.c: (load_files_remote), (main):
224 Add support for dbus cvs head. Hopefully didnt break one
225 of the other versions now!
227 If we dont get a response from the dbus server just
228 give up with it and not enable metadata.
230 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
233 * backend/Makefile.am:
235 * cut-n-paste/recent-files/Makefile.am:
236 * cut-n-paste/toolbar-editor/Makefile.am:
237 * cut-n-paste/zoom-control/Makefile.am:
240 * pixbuf/Makefile.am:
241 * properties/Makefile.am:
244 * thumbnailer/Makefile.am:
247 Make frontends depend on just libev.
248 Rework and group CFLAGS/LIBS definitions.
251 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
255 do not unnecessarily save zoom
258 * lib/ev-file-helpers.c: (ev_dot_dir):
264 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
268 Remove unnecessary dependencies
270 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
272 * properties/Makefile.am:
273 * thumbnailer/Makefile.am:
276 Some more cleanups. Was really necessary
277 but I probably introduced bugs, feel free
280 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
282 * backend/Makefile.am:
284 * cut-n-paste/recent-files/Makefile.am:
285 * cut-n-paste/toolbar-editor/Makefile.am:
286 * cut-n-paste/zoom-control/Makefile.am:
289 * pixbuf/Makefile.am:
290 * properties/Makefile.am:
293 * thumbnailer/Makefile.am:
296 Use gnome-common macros when possible.
297 Cleanup dependencies.
298 Actually disable deprecated where possible.
300 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
303 * backend/Makefile.am:
304 * properties/Makefile.am:
306 * thumbnailer/Makefile.am:
308 This should solve the circular dep without
311 * shell/ev-window.c: (setup_view_from_metadata):
313 Never restore window size/position when the
314 window is already visible.
316 2005-07-06 Christian Persch <chpe@cvs.gnome.org>
318 * shell/ev-metadata-manager.c: (ev_metadata_manager_save):
320 Return a boolean from timeout func. Fix ported from gedit.
322 2005-07-07 Iñaki Larrañaga <dooteo@euskalgnu.org>
324 * configure.ac: Added "eu" (Basque) to ALL_LINGUAS.
326 2005-07-06 Carlos Garcia Campos <carlosgc@gnome.org>
328 * shell/ev-document-types.c: set "All Documents" as default filter in
331 2005-07-06 Martin Kretzschmar <martink@gnome.org>
333 * shell/ev-metadata-manager.c (ev_metadata_manager_set_int)
334 (ev_metadata_manager_set_double, ev_metadata_manager_set_string)
335 (ev_metadata_manager_set_boolean): fix value/val thinko.
337 2005-07-06 Marco Pesenti Gritti <mpg@redhat.com>
339 * shell/ev-window.c: (setup_view_from_metadata),
340 (window_state_event_cb), (window_configure_event_cb),
343 Remember window position and maximized state
345 2005-07-06 Christian Persch <chpe@cvs.gnome.org>
349 Fix DBUS configure checks.
351 * shell/ev-metadata-manager.c: (ev_metadata_manager_set_int),
352 (ev_metadata_manager_set_double), (ev_metadata_manager_set_string),
353 (ev_metadata_manager_set_boolean):
357 * shell/ev-window.c: (page_changed_cb), (ev_window_run_fullscreen),
358 (ev_window_stop_fullscreen), (ev_window_run_presentation),
359 (ev_window_stop_presentation), (ev_window_zoom_changed_cb),
360 (ev_window_continuous_changed_cb),
361 (ev_window_dual_mode_changed_cb), (ev_window_new):
363 Fix the build without DBUS.
365 2005-07-06 Marco Pesenti Gritti <mpg@redhat.com>
367 * shell/ev-metadata-manager.c: (parse_value), (save_values),
368 (ev_metadata_manager_set_int), (ev_metadata_manager_set_double),
369 (ev_metadata_manager_set_string),
370 (ev_metadata_manager_set_boolean):
371 * shell/ev-metadata-manager.h:
373 Add support for some more types
375 * shell/ev-view.c: (scroll_to_current_page),
376 (ev_view_get_continuous), (ev_view_set_continuous),
377 (ev_view_get_dual_page):
379 * shell/ev-window.c: (page_changed_cb),
380 (setup_document_from_metadata), (ev_window_setup_document),
381 (setup_view_from_metadata), (ev_window_open_uri),
382 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
383 (ev_window_run_presentation), (ev_window_stop_presentation),
384 (save_sizing_mode), (ev_window_sizing_mode_changed_cb),
385 (ev_window_zoom_changed_cb), (ev_window_update_continuous_action),
386 (ev_window_update_dual_page_action),
387 (ev_window_continuous_changed_cb),
388 (ev_window_dual_mode_changed_cb), (ev_window_init):
390 Remember a bunch of view/document properties. Prolly some
391 are still missing but it's getting interesting.
393 2005-07-05 Martin Kretzschmar <martink@gnome.org>
395 * configure.ac: check if dbus-binding-tool is installed. Not the
396 case on current Ubuntu breezy, it seems.
398 2005-07-05 Luca Ferretti <elle.uca@libero.it>
400 * data/evince.desktop.in.in:
402 Allow open uri lists and add TryExec field.
404 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
408 Enable dbus when available, do not require a configure
411 2005-07-05 Christian Persch <chpe@cvs.gnome.org>
415 Use AM_CONDITIONAL unconditionally, fixes the build with DBUS
418 2005-07-05 Carlos Garcia Campos <carlosgc@gnome.org>
419 Marco Pesenti Gritti <mpg@redhat.com>
421 * shell/Makefile.am: Add --prefix for dbus-binding-tool script
423 * shell/ev-application.[ch], shell/ev-window.c: change dbus RPC
424 functions to the format required by dbus
426 * shell/main.c: use G_TYPE instead of DBUS_TYPE to fix compilation
427 errors. Use the RPC parameters in the expected way
429 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
432 * properties/Makefile.am:
433 * properties/ev-properties-main.c: (ev_properties_get_pages):
435 Support all mime types
438 * thumbnailer/Makefile.am:
439 * thumbnailer/evince-thumbnailer.c: (get_document_from_uri),
440 (evince_thumbnail_pngenc_get):
442 Use the document factory
444 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
446 * backend/Makefile.am:
447 * backend/ev-document-factory.c:
448 (mime_type_supported_by_gdk_pixbuf),
449 (ev_document_type_get_from_mime),
450 (ev_document_factory_get_document),
451 (ev_document_factory_get_backend),
452 (ev_document_factory_get_mime_types),
453 (ev_document_factory_get_all_mime_types):
454 * backend/ev-document-factory.h:
456 * shell/ev-document-types.c: (get_document_from_uri),
457 (ev_document_types_get_document),
458 (file_filter_add_mime_list_and_free),
459 (ev_document_types_add_filters):
460 * shell/ev-document-types.h:
461 * shell/ev-job-xfer.c: (ev_job_xfer_run):
462 * shell/ev-properties-dialog.c:
463 (ev_properties_dialog_set_document):
464 * shell/ev-window.c: (ev_window_cmd_file_open),
465 (ev_window_cmd_save_as):
466 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
468 Rework document types managing to avoid code duplication
469 and actually abstract from backend implementations.
470 Also provide a minimal factory api that can be used by
471 thumbnailer/properties.
473 2005-07-05 Christian Persch <chpe@cvs.gnome.org>
475 * properties/ev-properties-view.c: (ev_properties_view_set_info):
477 * shell/ev-properties-dialog.c: (ev_properties_dialog_init):
480 2005-07-04 Matthew S. Wilson <msw@rpath.com>
482 * shell/ev-properties-dialog.c
483 (ev_properties_dialog_set_document): only call
484 ev_properties_fonts_set_document() if the document implements the
487 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
490 * properties/Makefile.am:
491 * properties/ev-properties-view.c:
492 (ev_properties_view_register_type):
493 * properties/ev-properties-view.h:
494 * properties/ev-properties-main.h:
496 Implement nautilus plugin for properties.
497 Works only for pdf atm, I need to rework the
498 document types stuff to get this to work
501 2005-07-04 Martin Kretzschmar <martink@gnome.org>
503 * shell/ev-properties-fonts.c (enum): kill redundant columns enum
504 (ev_properties_fonts_set_document): use
505 EV_DOCUMENT_FONTS_COLUMN_NUM_COLUMNS.
507 2005-07-04 Matthew S. Wilson <msw@rpath.com>
509 * tiff/tiff2ps.c: remove TRUE and FALSE definitions, glib provides
511 (PlaceImage, tiff2ps_process_page): use
512 g_ascii_dtostr to convert floats to strings in a locale-safe way.
515 2005-07-04 Martin Kretzschmar <martink@gnome.org>
517 * shell/main.c: include libgnomeui/gnome-authentication-manager.h
518 (main): to call gnome_authentication_manager_init. Should fix
521 * configure.ac: that requires libgnomeui 2.6.0.
523 2005-07-04 Matthew S. Wilson <msw@rpath.com>
525 * tiff/tiff-document.c (tiff_document_ps_export_begin)
526 (tiff_document_ps_export_do_page, tiff_document_ps_export_end):
527 use the new tiff2ps interfaces
529 * tiff/tiff2ps.h (tiff2ps_context_new, tiff2ps_process_page)
530 (tiff2ps_context_finalize): implement new interfaces for tiff2ps
532 * tiff/tiff2ps.c: refactor tiff2ps code to use a context
533 structure instead of global variables. Remove use of static
534 variables in functions.
536 2005-07-04 Carlos Garcia Campos <carlosgc@gnome.org>
538 * shell/ev-page-action.c: unref the completion after setting it to the
541 2005-07-04 Matthew S. Wilson <msw@rpath.com>
543 * tiff/tiff2ps.c (generateEPSF): disable generating encapsulated
546 2005-07-04 Matthew S. Wilson <msw@rpath.com>
548 * shell/ev-window.c (update_action_sensitivity): disable
549 File->Print if the document does not implement the ps exporter
552 2005-07-04 Marco Pesenti Gritti <mpg@redhat.com>
556 * data/evince-properties.glade:
557 * properties/.cvsignore:
558 * properties/Makefile.am:
559 * properties/ev-properties-view.c: (ev_properties_view_dispose),
560 (ev_properties_view_class_init), (ev_properties_view_format_date),
561 (make_valid_utf8), (set_property), (ev_properties_view_set_info),
562 (ev_properties_view_init), (ev_properties_view_new):
563 * properties/ev-properties-view.h:
565 * shell/ev-properties-dialog.c: (ev_properties_dialog_class_init),
566 (ev_properties_dialog_init), (ev_properties_dialog_set_document),
567 (ev_properties_dialog_new):
568 * shell/ev-properties-dialog.h:
569 * shell/ev-properties-fonts.c: (ev_properties_fonts_dispose),
570 (ev_properties_fonts_class_init), (ev_properties_fonts_init),
571 (update_progress_label), (job_fonts_finished_cb),
572 (ev_properties_fonts_set_document), (ev_properties_fonts_new):
573 * shell/ev-properties-fonts.h:
574 * shell/ev-properties.c:
575 * shell/ev-properties.h:
576 * shell/ev-window.c: (ev_window_setup_document),
577 (ev_window_cmd_file_properties):
579 Split the properties pages in two different objects, depend
580 only on the backend where possible, use widgets instead
581 of gobject for the glade part, reimplement the dialog
583 I need this to implement nautilus properties page.
585 2005-07-03 Matthew S. Wilson <msw@rpath.com>
587 * tiff/tiff-document.c (tiff_document_ps_export_begin)
588 (tiff_document_ps_export_do_page, tiff_document_ps_export_end)
589 (tiff_document_document_ps_exporter_iface_init): implement the ps
590 exporter interface for tiff documents
592 * tiff/tiff2ps.c: added a modified version of tiff2ps.c from
593 libtiff to implement TIFF postscript export
595 * tiff/tiff2ps.h: added a header file for external tiff2ps
598 * tiff/Makefile.am (libtiffdocument_la_SOURCES): add tiff2ps.c and
601 2005-07-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
603 * shell/ev-view.c: (scroll_to_current_page),
604 (ev_view_set_fullscreen), (ev_view_set_presentation):
606 Scroll to current page when exit from presentation
608 2005-07-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
610 * shell/ev-window.c: (update_document_mode),
611 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
612 (ev_window_cmd_view_fullscreen), (ev_window_stop_presentation),
613 (ev_window_cmd_view_presentation), (ev_window_cmd_escape):
615 Exit from fullscreen mode when switch to presentation. Fix for
618 2005-07-02 Matthew S. Wilson <msw@rpath.com>
620 * shell/ev-pixbuf-cache.c (ev_pixbuf_cache_get_selection_pixbuf):
621 return NULL if the document does not implement the selection
624 2005-07-02 Matthew S. Wilson <msw@rpath.com>
626 * tiff/tiff-document.c (tiff_document_get_page_size): scale the
627 reported height by using the resolution aspect ratio
628 (tiff_document_render_pixbuf): scale the pixbuf using the
629 resolution aspect ratio
631 2005-07-01 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
635 Require libgnomeprint >= 2.5.1. Thanks to Colin Slater
636 <kiltedaco@gmail.com>
638 * djvu/djvu-document.c: (djvu_document_get_orientation),
639 (djvu_document_set_orientation), (djvu_document_get_page_size),
640 (rotate_pixbuf), (djvu_document_render_pixbuf),
641 (djvu_document_document_iface_init):
642 * dvi/dvi-document.c: (dvi_document_get_orientation),
643 (dvi_document_set_orientation), (dvi_document_get_page_size),
644 (rotate_pixbuf), (dvi_document_render_pixbuf),
645 (dvi_document_document_iface_init):
647 Dvi and djvu backends are ported to new API
649 Fri Jul 1 00:10:15 2005 Jonathan Blandford <jrb@redhat.com>
651 * backend/ev-selection.c: (ev_selection_get_selection_region),
652 (ev_selection_get_selection_map):
653 * backend/ev-selection.h:
655 * shell/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
657 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info),
658 (job_finished_cb), (copy_job_to_job_info), (add_job_if_needed),
659 (ev_pixbuf_cache_get_text_mapping):
660 * shell/ev-pixbuf-cache.h:
661 * shell/ev-view.c: (location_in_text),
662 (ev_view_motion_notify_event), (ev_view_set_cursor): Add I-Beam
663 support to EvView. Now we can see where we can select! Sweet!
665 2005-06-30 Kristian Høgsberg <krh@redhat.com>
667 * shell/ev-view.c (ev_view_button_press_event): Fix
668 event->y + view->scroll_x typo.
670 2005-06-30 Kristian Høgsberg <krh@redhat.com>
672 * pdf/ev-poppler.cc: Adjust to poppler API changes; use a
673 sub-GdkPixbuf instead of passing dest_x and dest_y.
675 * shell/ev-view.c: (view_point_to_doc_point),
676 (view_rect_to_doc_rect), (ev_view_button_press_event),
677 (ev_view_motion_notify_event), (compute_new_selection_rect),
678 (gdk_rectangle_point_in), (compute_new_selection_text),
679 (compute_selections): Update selection code to keep the selection
680 around as two points and not as a normalized rectangle, and fix
681 page level selection in two-column mode.
683 2005-06-30 Alex Duggan <aldug@astrolinux.com>
685 * shell/ev-window.c: (window_configure_event_cb):
689 2005-06-30 Marco Pesenti Gritti <mpg@redhat.com>
695 2005-06-30 Marco Pesenti Gritti <mpg@redhat.com>
698 * shell/ev-metadata-manager.c: (item_free),
699 (ev_metadata_manager_init), (ev_metadata_manager_shutdown),
700 (parse_value), (parseItem), (load_values),
701 (ev_metadata_manager_get), (value_free), (ev_metadata_manager_set),
702 (save_values), (save_item), (get_oldest), (resize_items),
703 (ev_metadata_manager_save), (ev_metadata_manager_set_int):
704 * shell/ev-metadata-manager.h:
706 Metadata manager from gedit but modified to use GValue, so that
707 we dont need to keep converting from strings.
711 ENABLE_METADATA conditional, on when dbus is on
713 * shell/ev-application.c: (ev_application_open_uri):
715 Show the window after load so that we can initialize
716 window size before it's showed.
718 * shell/ev-window.c: (ev_window_setup_from_metadata),
719 (ev_window_open_uri), (window_configure_event_cb),
722 Save and load metadata information about window size.
723 Not yet keeping states in account.
725 * shell/main.c: (main):
727 Shutdown metadata manager.
729 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
731 * shell/ev-application-service.xml:
734 * shell/ev-application.c:
735 * shell/ev-application.h:
740 Add an optional dbus interface (--enable-dbus).
741 Rework application code, mainly to be easier to
743 Do not open multiple windows with the same document,
746 Thu Jun 30 01:50:14 2005 Jonathan Blandford <jrb@redhat.com>
748 * shell/ev-pixbuf-cache.c (clear_selection_if_needed): unref the
749 pixbuf iff it exists.
751 Thu Jun 30 01:43:00 2005 Jonathan Blandford <jrb@redhat.com>
754 * backend/ev-render-context.[ch]:
755 * backend/ev-selection.[ch]:
757 Massive changes. We now support text selection of pdfs, and not
758 just rectangular selection. This is pretty broken still, but I
759 want to get something into CVS.
761 2005-06-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
765 Fix for Bug 309080: crash on window close.
767 * shell/ev-page-action.c: (page_changed_cb):
769 Fix for Bug 309168: Fix build with gcc 2.95. Thanks to
770 jensgr@gmx.net (Jens Granseuer).
772 2005-06-25 Marcel Telka <marcel@telka.sk>
774 * configure.in (ALL_LINGUAS): Added sk.
776 2005-06-24 Carlos Garcia Campos <carlosgc@gnome.org>
778 * shell/ev-window.c: Make rotate menu entries unsensitive if there is
781 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
788 * cut-n-paste/recent-files/Makefile.am:
792 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
794 * pixbuf/pixbuf-document.c: (pixbuf_document_get_orientation),
795 (pixbuf_document_set_orientation), (rotate_pixbuf),
796 (pixbuf_document_get_page_size), (pixbuf_document_render_pixbuf),
797 (pixbuf_document_document_iface_init), (pixbuf_document_init):
799 Implement rotation and cleanup the code a bit.
801 * tiff/tiff-document.c: (tiff_document_get_page_size),
802 (tiff_document_get_orientation), (tiff_document_set_orientation),
803 (rotate_pixbuf), (tiff_document_render_pixbuf),
804 (tiff_document_document_iface_init), (tiff_document_init):
806 Implement rotation. Was the quicker solution for the release
807 but we really need to share this code in the shell.
809 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
813 Enable rotation, require poppler cvs. Fix a leak.
815 2005-06-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
817 * shell/ev-window.c: (update_action_sensitivity):
819 Make properties unsensitive if document backend doesn't provide
822 2005-06-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
824 * dvi/mdvi-lib/bitmap.c: (bitmap_alloc), (bitmap_alloc_raw),
825 (bitmap_flip_horizontally), (bitmap_flip_vertically),
826 (bitmap_flip_diagonally), (bitmap_rotate_clockwise),
827 (bitmap_rotate_counter_clockwise), (bitmap_flip_rotate_clockwise),
828 (bitmap_flip_rotate_counter_clockwise):
829 * dvi/mdvi-lib/color.c: (mdvi_push_color), (get_color_table):
830 * dvi/mdvi-lib/common.c: (read_string), (buff_free), (buff_add),
832 * dvi/mdvi-lib/common.h:
833 * dvi/mdvi-lib/dvimisc.c: (mdvi_push_color):
834 * dvi/mdvi-lib/dviread.c: (get_bytes), (dreset), (define_font),
835 (opendvi), (mdvi_reload), (mdvi_init_context),
836 (mdvi_destroy_context), (mdvi_dopage), (special):
837 * dvi/mdvi-lib/font.c: (font_drop_one), (font_free_unused):
838 * dvi/mdvi-lib/fontmap.c: (read_encoding), (destroy_encoding),
839 (file_hash_free), (register_encoding), (parse_spec),
840 (mdvi_load_fontmap), (free_ent), (mdvi_init_fontmaps),
841 (mdvi_add_fontmap_file), (mdvi_ps_read_fontmap),
842 (mdvi_ps_flush_fonts), (mdvi_ps_find_font), (mdvi_ps_get_metrics):
843 * dvi/mdvi-lib/fontsrch.c: (mdvi_list_font_class),
844 (mdvi_register_font_type), (mdvi_unregister_font_type),
845 (lookup_font), (mdvi_add_font), (mdvi_font_retry):
846 * dvi/mdvi-lib/gf.c: (gf_read_bitmap), (gf_load_font):
847 * dvi/mdvi-lib/hash.c: (mdvi_hash_remove), (mdvi_hash_remove_ptr),
848 (mdvi_hash_destroy_key), (mdvi_hash_reset):
849 * dvi/mdvi-lib/pagesel.c: (mdvi_parse_range),
850 (mdvi_parse_page_spec), (mdvi_free_page_spec), (main):
851 * dvi/mdvi-lib/paper.c: (mdvi_free_paper_specs):
852 * dvi/mdvi-lib/pk.c: (pk_lookup), (pk_lookupn), (pk_load_font):
853 * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
854 * dvi/mdvi-lib/special.c: (mdvi_register_special),
855 (mdvi_unregister_special), (mdvi_flush_specials):
856 * dvi/mdvi-lib/t1.c: (t1_lookup_font), (t1_really_load_font),
858 * dvi/mdvi-lib/tfm.c: (get_tfm_chars):
859 * dvi/mdvi-lib/tfmfile.c: (afm_load_file), (tfm_load_file),
860 (ofm1_load_file), (ofm_load_file), (get_font_metrics),
861 (free_font_metrics), (flush_font_metrics):
862 * dvi/mdvi-lib/tt.c: (tt_really_load_font), (tt_get_bitmap),
864 * dvi/mdvi-lib/util.c: (mdvi_malloc), (mdvi_realloc),
865 (mdvi_calloc), (mdvi_free), (mdvi_strdup), (mdvi_strncpy),
866 (mdvi_strndup), (mdvi_memdup), (xstradd), (dstring_append),
867 (dstring_insert), (dstring_new), (dstring_reset):
868 * dvi/mdvi-lib/vf.c: (vf_load_font), (vf_free_macros):
870 Rename xmalloc and xfree to mdvi_malloc and mdvi_free to
871 avoid conflict with libtool on FC4
873 * shell/ev-window.c: (ev_window_cmd_help_about):
875 Update copyright year. Fix for bug 308828.
877 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
879 * shell/ev-view.c: (add_scroll_binding_keypad),
880 (ev_view_binding_activated), (ev_view_class_init),
881 (on_adjustment_value_changed):
883 Bug 170874: Arrow keys switch pages in presentation mode
885 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
887 * shell/ev-window.c: (ev_window_sidebar_visibility_changed_cb):
889 Fix for Bug 308265: Sidebar dissappears coming out of
892 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
894 * shell/ev-application.c: (ev_application_open):
895 * shell/ev-document-types.c: (ev_document_types_add_filters),
896 (ev_document_types_add_filters_for_type):
897 * shell/ev-document-types.h:
898 * shell/ev-window.c: (ev_window_cmd_save_as):
900 Suggest basename as template when saving, provide filters
901 for save dialog. It's bug 308402
903 2005-06-20 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
906 * shell/ev-sidebar-links.c: (job_finished_callback):
907 * shell/ev-view.c: (update_find_status_message):
911 2005-06-19 Christian Persch <chpe@cvs.gnome.org>
913 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
914 (egg_recent_view_uimanager_set_list):
916 Fix buglet in !show_numbers case.
918 2005-06-19 Christian Persch <chpe@cvs.gnome.org>
920 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
921 (connect_proxy_cb), (egg_recent_view_uimanager_set_list):
923 Use pango ellipsisation.
927 Fix refcount leak, from nsh.
929 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
931 * cut-n-paste/recent-files/Makefile.am:
932 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
933 * cut-n-paste/recent-files/egg-recent-view-gtk.h:
935 Removed EggRecentViewGtk
937 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
938 * cut-n-paste/recent-files/egg-recent-view-uimanager.h:
939 * shell/ev-window.c: (ev_window_cmd_recent_file_activate),
940 (ev_window_setup_recent):
942 Use ViewUIManager instead of ViewGtk. Less leaks, more compatibility
945 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
947 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
948 (egg_recent_view_gtk_finalize):
952 * cut-n-paste/toolbar-editor/Makefile.am:
954 Fix location of cursor icon.
957 * shell/ev-page-action.c: (build_new_tree_cb), (match_selected_cb),
958 (display_completion_text), (match_completion):
959 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
960 (selection_changed_callback), (create_loading_model),
961 (print_section_cb), (links_page_num_func),
962 (update_page_callback_foreach):
963 * shell/ev-window.c: (ev_window_dispose):
965 Small memory fixes. Links model now store objects instead
966 of pointers to improve memory management.
968 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
970 * shell/ev-window.c: (zoom_control_changed_cb):
972 Fix update of zoom control (bug 308268).
974 Sat Jun 18 22:46:42 2005 Jonathan Blandford <jrb@redhat.com>
976 * shell/ev-properties.c (set_property): escape the text correctly.
977 Handles non-UTF-8 properties and escaped properties. Also, sets
978 the text to "<i>None</i>" if the property isn't set.
980 * data/evince-properties.glade: Change the label to be ellipsized,
981 and give it a minimum size.
983 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
985 * lib/ev-file-helpers.c: (ev_file_helpers_shutdown):
986 * shell/ev-sidebar-links.c: (create_loading_model):
987 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose):
988 * shell/ev-view.c: (ev_view_set_document):
989 * shell/ev-window.c: (ev_window_dispose):
991 Various small fixes, mostly memory leaks. Thanks to valgrind.
993 2005-06-19 Martin Kretzschmar <martink@gnome.org>
995 * ps/ps-document.c: remove the locale.h include again ;-). And
996 kill the (bogus) setlocale/savelocale business.
998 2005-06-19 Jaap A. Haitsma <jaap@haitsma.org>
1002 Include locale.h to fix build
1004 * shell/ev-sidebar.c:
1006 Remove unnecessary includes
1008 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1010 * dvi/dvi-document.c: (dvi_document_load):
1011 * dvi/mdvi-lib/dviread.c: (mdvi_init_context):
1014 Check for incorrect dvi files. Fix parsing dvi on AMD64
1015 platform. Thanks to tester@tester.ca (Olivier Crete).
1017 2005-06-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1019 * shell/ev-page-action.c: (match_selected_cb),
1020 (display_completion_text), (match_completion), (update_model):
1021 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
1022 (expand_open_links):
1023 * shell/ev-sidebar.c: (ev_sidebar_destroy),
1024 (ev_sidebar_menu_item_activate_cb), (ev_sidebar_add_page),
1025 (ev_sidebar_set_document):
1026 * shell/ev-window.c: (ev_window_xfer_job_cb),
1027 (sidebar_widget_model_set), (sidebar_page_main_widget_update_cb):
1029 Fixed lot's of memory leaks, for example, memory leak on reload,
1030 described in bug 307793.
1032 2005-06-18 Marco Pesenti Gritti <mpg@redhat.com>
1034 * pdf/ev-poppler.cc:
1035 * shell/ev-sidebar-thumbnails.c: (clear_range), (add_range),
1036 (update_visible_range), (adjustment_changed_cb),
1037 (ev_sidebar_thumbnails_fill_model),
1038 (ev_sidebar_thumbnails_refresh),
1039 (ev_sidebar_tree_selection_changed),
1040 (ev_sidebar_icon_selection_changed),
1041 (ev_sidebar_thumbnails_use_icon_view),
1042 (ev_sidebar_thumbnails_set_document):
1043 * shell/ev-sidebar-thumbnails.h:
1044 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
1045 (ev_window_cmd_edit_rotate_right), (ev_window_init):
1047 Refresh thumbnails when changing orientation. Not fully
1048 working yet becuase of a sidebar bug.
1050 Set page orientation to poppler page everywhere. This sucks
1051 really need to fix poppler.
1053 2005-06-18 Marco Pesenti Gritti <mpg@redhat.com>
1055 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
1056 (egg_recent_view_gtk_new_menu_item),
1057 (egg_recent_view_gtk_set_property),
1058 (egg_recent_view_gtk_get_property),
1059 (egg_recent_view_gtk_class_init), (egg_recent_view_gtk_init),
1060 (egg_recent_view_gtk_set_tooltip_func),
1061 (egg_recent_view_gtk_set_label_width),
1062 (egg_recent_view_gtk_get_label_width):
1063 * cut-n-paste/recent-files/egg-recent-view-gtk.h:
1065 Sync with libegg (ellipsize labels)
1067 2005-06-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1069 * data/evince-ui.xml:
1070 * shell/ev-window.c: (ev_window_cmd_go_forward),
1071 (ev_window_cmd_go_backward):
1073 Shift + PageUp moves 10 Pages. Fix for 306125
1075 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1077 * pdf/ev-poppler.cc:
1079 Add a flag to check if orientation has been overriden
1081 2005-06-17 Martin Kretzschmar <martink@gnome.org>
1083 * ps/ps.c (psscan, psfree): read "Creator:" comment, free creator
1086 * ps/ps.h: add creator field to document.
1088 * ps/ps-document.c (ps_document_get_info): set format to PostScript,
1091 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1093 * data/evince-properties.glade:
1094 * shell/ev-properties.c: (ev_properties_set_document):
1096 s/PDF Version/Format
1098 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1100 * shell/ev-properties.c: (ev_properties_set_document):
1102 Remove unnecessary translations
1104 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1106 * cut-n-paste/toolbar-editor/Makefile.am:
1108 Correct library name
1110 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1113 * cut-n-paste/recent-files/egg-recent-model.c:
1114 (egg_recent_model_write_raw), (egg_recent_model_lock_file),
1115 (egg_recent_model_unlock_file):
1116 * cut-n-paste/recent-files/egg-recent-util.c:
1117 (egg_recent_util_get_unique_id):
1118 * cut-n-paste/recent-files/update-from-egg.sh:
1119 * cut-n-paste/toolbar-editor/Makefile.am:
1120 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
1121 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
1122 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
1123 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
1124 (egg_toolbars_model_get_type):
1125 * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
1127 Better makefile for toolbar editor and update everything
1130 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1132 * shell/ev-window.c: (update_document_mode):
1134 Prefer presentation mode when the document
1137 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1139 * data/evince-ui.xml:
1140 * shell/ev-window.c:
1142 Add control-equal for zooming
1144 2005-06-17 Theppitak Karoonboonyanan <thep@linux.thai.net>
1146 * configure.ac: Added 'th' (Thai) to ALL_LINGUAS.
1148 2005-06-16 Marco Pesenti Gritti <mpg@redhat.com>
1150 * backend/ev-document.c: (ev_document_get_orientation):
1151 * backend/ev-document.h:
1152 * pdf/ev-poppler.cc:
1153 * ps/ps-document.c: (ps_document_get_orientation),
1154 (ps_document_set_orientation), (ps_document_document_iface_init):
1156 Add a get_orientation api. Improve set_orientation.
1158 * data/evince-ui.xml:
1159 * shell/ev-view.c: (ev_view_set_orientation),
1160 (ev_view_rotate_right), (ev_view_rotate_left):
1162 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
1163 (ev_window_cmd_edit_rotate_right):
1165 Better ui for changing document orientation
1167 2005-06-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1169 * shell/ev-sidebar-links.c: (ev_sidebar_links_get_property),
1170 (ev_sidebar_links_class_init), (ev_sidebar_links_get_label):
1171 * shell/ev-sidebar-links.h:
1172 * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
1173 (ev_sidebar_page_iface_init):
1174 * shell/ev-sidebar-page.h:
1175 * shell/ev-sidebar-thumbnails.c:
1176 (ev_sidebar_thumbnails_get_property),
1177 (ev_sidebar_thumbnails_class_init),
1178 (ev_sidebar_thumbnails_set_document):
1179 * shell/ev-sidebar-thumbnails.h:
1180 * shell/ev-view.c: (ev_view_motion_notify_event):
1181 * shell/ev-window.c: (update_chrome_visibility),
1182 (ev_window_cmd_focus_page_selector),
1183 (ev_window_update_fullscreen_popup), (view_actions_focus_in_cb),
1184 (sidebar_page_main_widget_update_cb), (ev_window_init):
1186 Autoraise toolbar on GoToPage binding and fix bindings in
1187 EvSidebarThumbnails page.
1189 2005-06-15 Christian Persch <chpe@cvs.gnome.org>
1191 * shell/ev-properties.c: (update_progress_label):
1193 Hide the progress label when finished; bug #307697.
1195 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
1197 * pdf/ev-poppler.cc:
1199 Enable is_open for links, you will need poppler cvs
1201 * shell/ev-properties.c: (job_fonts_finished_cb):
1203 Get a lock on the document when filling the tree view
1205 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
1207 * backend/ev-document-links.h:
1208 * pdf/ev-poppler.cc:
1209 * shell/ev-sidebar-links.c: (create_loading_model),
1210 (expand_open_links), (job_finished_callback):
1212 Expand links when specified by the document.
1213 Depend on a poppler api (defined out for now)
1215 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
1217 * shell/ev-properties.c: (ev_properties_dispose),
1218 (ev_properties_class_init), (dialog_destroy_cb),
1219 (ev_properties_init), (job_fonts_finished_cb), (setup_fonts_view),
1220 (ev_properties_set_document), (ev_properties_new),
1221 (ev_properties_show):
1222 * shell/ev-properties.h:
1224 Make it an object, cleanup the code, api to show it as transient
1225 and to set the document.
1227 * shell/ev-window.c: (ev_window_setup_document),
1228 (ev_window_cmd_file_properties):
1230 Adapt to EvProperties changes, do not show multiple
1231 times, update it when document changes.
1233 2005-06-14 Marco Pesenti Gritti <mpg@redhat.com>
1236 * ps/ps-document.c: (ps_document_init), (get_page_orientation),
1237 (ps_document_set_orientation), (ps_document_document_iface_init):
1240 Implement orientation here too
1242 * shell/ev-properties.c: (ev_properties_new):
1243 * data/evince-properties.glade:
1245 Hide the fonts page for backends that doesnt
1248 2005-06-14 Marco Pesenti Gritti <mpg@redhat.com>
1250 * backend/ev-document.c: (ev_document_set_orientation):
1251 * backend/ev-document.h:
1252 * pdf/ev-poppler.cc:
1254 Add orientation api. Currently poppler api is not optimal,
1255 we need to set orientation every time we _get a page.
1256 I will try to fix that at some point.
1258 * data/evince-ui.xml:
1259 * shell/ev-window.c: (ev_window_cmd_edit_landscape),
1260 (ev_window_cmd_edit_portrait), (ev_window_cmd_edit_flip):
1262 Add orientation menu items
1264 * shell/ev-page-cache.c: (ev_page_cache_clear):
1265 * shell/ev-page-cache.h:
1267 Add api to clear the cache
1269 * shell/ev-view.c: (setup_caches), (clear_caches),
1270 (ev_view_set_document), (ev_view_zoom_out),
1271 (ev_view_set_orientation):
1274 Implement orientation changing
1276 2005-06-13 Marco Pesenti Gritti <mpg@redhat.com>
1278 * backend/ev-document-fonts.c: (ev_document_fonts_get_progress),
1279 (ev_document_fonts_scan), (ev_document_fonts_fill_model):
1280 * backend/ev-document-fonts.h:
1282 Separate scan and fill so that we can incrementally fill from
1283 the main thread. Add a progress api.
1285 * data/evince-properties.glade:
1286 * pdf/ev-poppler.cc:
1287 * shell/ev-jobs.c: (ev_job_fonts_new), (ev_job_fonts_run):
1289 * shell/ev-properties.c: (update_progress_label),
1290 (job_fonts_finished_cb), (setup_fonts_view):
1292 Incrementally feel the list and show the progress
1293 percentage in a label like acrobat does.
1295 You are going to need poppler cvs
1297 2005-06-11 Marco Pesenti Gritti <mpg@redhat.com>
1299 * backend/ev-document-fonts.c: (ev_document_fonts_fill_model):
1300 * backend/ev-document-fonts.h:
1301 * pdf/ev-poppler.cc:
1303 Make fonts model fill incrementally.
1305 * shell/ev-job-queue.c: (handle_job), (search_for_jobs_unlocked),
1306 (no_jobs_available_unlocked), (ev_job_queue_init), (find_queue),
1307 (ev_job_queue_remove_job):
1308 * shell/ev-jobs.c: (ev_job_fonts_init), (ev_job_fonts_class_init),
1309 (ev_job_fonts_new), (ev_job_fonts_run):
1312 New job for fonts scanning
1314 * shell/ev-properties.c: (job_fonts_finished_cb),
1315 (fill_fonts_treeview), (setup_fonts_view), (ev_properties_new):
1316 * shell/ev-properties.h:
1317 * shell/ev-window.c: (ev_window_cmd_file_properties):
1319 Incrementally feel the treeview using the new job. Show Loading...
1320 message until scanning is completed.
1322 Hopefully I didnt break the build without the poppler patch.
1324 2005-06-10 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1326 * shell/ev-application.c: (ev_application_open):
1327 * shell/ev-document-types.c: (ev_document_type_from_from_mime),
1328 (ev_document_type_get_type), (ev_document_type_lookup):
1329 * shell/ev-document-types.h:
1330 * shell/ev-job-xfer.c: (ev_job_xfer_dispose), (ev_job_xfer_run):
1331 * shell/ev-job-xfer.h:
1332 * shell/ev-window.c: (ev_window_clear_local_uri),
1333 (ev_window_load_job_cb), (ev_window_xfer_job_cb),
1334 (ev_window_open_uri), (ev_window_add_recent), (ev_window_dispose):
1335 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
1337 Transfer remote documents to tmp directory to display them later.
1339 2005-06-10 Marco Pesenti Gritti <mpg@redhat.com>
1341 * backend/ev-document-info.h:
1342 * shell/ev-properties.c: (ev_properties_new):
1344 s/GTime*/GTime. Not sure why we was using a pointer
1347 Wed Jun 8 01:04:22 2005 Jonathan Blandford <jrb@redhat.com>
1349 * shell/ev-sidebar-thumbnails.c: Use a GtkIconView in certain
1350 situations. That situation is that you're using GTK+-HEAD with
1351 the patch at #306726 is applied, and you have a document with <
1352 1500 pages in it. It's not quite as uniformly nice as the
1353 TreeView, but should be better in the long run.
1355 I'm pretty sure I guarded against breaking compilation with
1356 HAVE_GTK_ICON_VIEW_GET_VISIBLE_RANGE gaurds, though it's possible
1359 * shell/ev-window.c (ev_window_init): We don't have our tree/list
1360 widget yet, so I commented that code out
1361 enable_view_actions_for_widget() for now. Need to figure this
1364 * shell/ev-page-action.c (match_selected_cb): emit the right
1365 signals. Our cool C-l completion now works.
1367 2005-06-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1369 * backend/Makefile.am:
1370 * backend/ev-document-fonts.c:
1371 * backend/ev-document-links.c:
1372 * backend/ev-document.c: (ev_document_load):
1373 * backend/ev-document.h:
1374 * backend/ev-job-queue.c:
1375 * backend/ev-job-queue.h:
1376 * backend/ev-jobs.c:
1377 * backend/ev-jobs.h:
1378 * backend/ev-page-cache.c:
1379 * backend/ev-page-cache.h:
1381 EvPageCache and EvJobs are moved to shell.
1383 * lib/ev-file-helpers.c: (ev_file_helpers_shutdown),
1385 * lib/ev-file-helpers.h:
1387 New helper to work with temporary files
1389 * shell/Makefile.am:
1390 * shell/ev-application.c: (ev_application_open):
1391 * shell/ev-application.h:
1392 * shell/ev-job-queue.c: (remove_job_from_queue_locked),
1393 (remove_job_from_async_queue), (add_job_to_async_queue),
1394 (add_job_to_queue_locked), (notify_finished), (job_finished_cb),
1395 (handle_job), (search_for_jobs_unlocked),
1396 (no_jobs_available_unlocked), (ev_render_thread),
1397 (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
1398 (ev_job_queue_add_job), (move_job_async), (move_job),
1399 (ev_job_queue_update_job), (ev_job_queue_remove_job):
1400 * shell/ev-job-queue.h:
1401 * shell/ev-job-xfer.c: (ev_job_xfer_init), (ev_job_xfer_dispose),
1402 (ev_job_xfer_class_init), (ev_job_xfer_new), (ev_job_xfer_run):
1403 * shell/ev-job-xfer.h:
1404 * shell/ev-jobs.c: (ev_job_init), (ev_job_dispose),
1405 (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
1406 (ev_job_links_class_init), (ev_job_render_init),
1407 (ev_job_render_dispose), (ev_job_render_class_init),
1408 (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
1409 (ev_job_thumbnail_class_init), (ev_job_load_init),
1410 (ev_job_load_dispose), (ev_job_load_class_init), (ev_job_finished),
1411 (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
1412 (render_finished_cb), (ev_job_render_run), (ev_job_thumbnail_new),
1413 (ev_job_thumbnail_run), (ev_job_load_new), (ev_job_load_run):
1415 * shell/ev-page-action.c: (ev_page_action_set_document):
1416 * shell/ev-page-cache.c: (ev_page_cache_init),
1417 (ev_page_cache_class_init), (ev_page_cache_finalize),
1418 (ev_page_cache_new), (ev_page_cache_get_n_pages),
1419 (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
1420 (ev_page_cache_set_page_label), (ev_page_cache_set_link),
1421 (ev_page_cache_get_title), (ev_page_cache_get_size),
1422 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
1423 (ev_page_cache_get_height_to_page),
1424 (ev_page_cache_get_max_label_chars),
1425 (ev_page_cache_get_page_label),
1426 (ev_page_cache_has_nonnumeric_page_labels),
1427 (ev_page_cache_get_info), (ev_page_cache_next_page),
1428 (ev_page_cache_prev_page), (ev_page_cache_get):
1429 * shell/ev-page-cache.h:
1430 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_update_range),
1431 (ev_pixbuf_cache_clear_job_sizes),
1432 (ev_pixbuf_cache_add_jobs_if_needed),
1433 (ev_pixbuf_cache_set_page_range):
1434 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings):
1435 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document):
1436 * shell/ev-sidebar-thumbnails.c:
1437 (ev_sidebar_tree_selection_changed),
1438 (ev_sidebar_thumbnails_set_document):
1439 * shell/ev-statusbar.c: (ev_statusbar_destroy),
1440 (ev_statusbar_class_init), (ev_statusbar_init), (ev_statusbar_new),
1441 (ev_statusbar_get_context_id), (ev_statusbar_push),
1442 (ev_statusbar_pop), (ev_statusbar_set_maximized),
1443 (ev_statusbar_pulse), (ev_statusbar_show_progress),
1444 (ev_statusbar_set_progress):
1445 * shell/ev-statusbar.h:
1446 * shell/ev-view.c: (ev_view_set_document), (ev_view_find_next),
1447 (ev_view_find_previous):
1448 * shell/ev-window.c: (ev_window_is_empty),
1449 (ev_window_setup_document), (password_dialog_response),
1450 (ev_window_clear_jobs), (ev_window_load_job_cb),
1451 (ev_window_xfer_job_cb), (ev_window_open_uri),
1452 (ev_window_open_uri_list), (ev_window_cmd_recent_file_activate),
1453 (ev_window_print), (ev_window_print_range),
1454 (ev_window_state_event), (ev_window_cmd_view_reload),
1455 (menu_item_select_cb), (menu_item_deselect_cb),
1456 (view_status_changed_cb), (ev_window_dispose),
1457 (drag_data_received_cb), (ev_window_init):
1458 * shell/ev-window.h:
1459 * shell/main.c: (load_files):
1461 New statusbar to show progress on idle. Two new jobs -
1462 xfer job and load job to load document in background. And update
1463 of page_cache clients to new location of code.
1465 2005-06-08 Carlos Garcia Campos <carlosgc@gnome.org>
1467 * shell/ev-application.c, shell/ev-window.[ch]: Allow multiple
1468 selection in open dialog. It also remembers the last visited directory
1469 in the current session.
1471 2005-06-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1473 * shell/ev-properties.c: (ev_properties_new):
1474 * shell/ev-properties.h:
1475 * shell/ev-window.c: (ev_window_cmd_file_properties):
1477 Get document info from page cache instead of document itself.
1478 This should fix crash related to race conditions described in
1481 2005-06-07 Marco Pesenti Gritti <mpg@redhat.com>
1483 * ps/ps-document.c: (ps_document_init),
1484 (send_ps), (get_page_box), (output), (catchPipe), (input),
1485 (stop_interpreter), (file_length), (file_readable),
1486 (check_filecompressedb), (ps_document_enable_interpreter),
1487 (document_load), (ps_async_renderer_render_pixbuf):
1490 Big cleanup of the ps code
1492 2005-06-07 Marco Pesenti Gritti <mpg@redhat.com>
1494 * backend/Makefile.am:
1495 * backend/ev-async-renderer.c: (ev_async_renderer_get_type),
1496 (ev_async_renderer_class_init), (ev_async_renderer_render_pixbuf):
1497 * backend/ev-async-renderer.h:
1499 Add an async renderer interface (method + callback) which
1500 is useful for backends like ps.
1502 * backend/ev-job-queue.c: (remove_job_from_async_queue),
1503 (add_job_to_async_queue), (job_finished_cb), (handle_job),
1504 (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
1505 (ev_job_queue_add_job), (move_job_async), (move_job),
1506 (ev_job_queue_update_job), (ev_job_queue_remove_job):
1508 Add queues for async renderer, these are executed on the
1511 * backend/ev-jobs.c: (ev_job_render_new), (render_finished_cb),
1512 (ev_job_render_run):
1513 * backend/ev-jobs.h:
1515 If the backend support async renderer interface use it.
1517 * ps/ps-document.c: (ps_document_init), (push_pixbuf),
1518 (setup_pixmap), (ps_document_get_type),
1519 (ps_async_renderer_render_pixbuf),
1520 (ps_document_document_iface_init), (ps_async_renderer_iface_init):
1522 Implement async renderer interface.
1524 2005-06-07 Nickolay V. Shmyrev <<nshmyrev@yandex.ru>>
1526 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose):
1528 Cleanup links job on exit.
1530 2005-06-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1532 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
1533 (drag_data_get_cb), (drag_data_received_cb):
1534 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
1535 (drag_data_get_cb), (parse_item_list),
1536 (egg_toolbar_editor_load_actions):
1537 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
1538 (egg_toolbars_model_to_xml), (egg_toolbars_model_save),
1539 (parse_item_list), (parse_toolbars):
1540 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
1541 (dvi_pixbuf_put_pixel):
1543 Fix gcc 4.0 warnings
1545 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
1547 * ps/ps-document.c: (start_interpreter):
1549 Fix warning when loading ps
1551 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
1553 * ps/ps-document.c: (output):
1555 Fix crash when priting gs error messages.
1557 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
1559 * backend/ev-page-cache.c: (_ev_page_cache_new):
1560 * backend/ev-page-cache.h:
1562 Use a const to return title so that we dont double
1563 free it. Small cleanup and fix a leak.
1565 * shell/ev-window.c: (update_window_title):
1567 strdup value from get_title.
1569 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
1571 * shell/ev-sidebar-links.c: (job_finished_callback),
1572 (ev_sidebar_links_set_document):
1574 Cleanup the old job when changing document
1576 2005-06-05 Nickolay V. Shmyrev <<nshmyrev@yandex.ru>>
1578 * shell/ev-stock-icons.c:
1579 * shell/ev-stock-icons.h:
1580 * shell/ev-window.c:
1582 Add stock icons for actions that can appear in toolbar. Fix for
1585 2005-06-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1587 * backend/ev-page-cache.c: (ev_page_cache_finalize),
1588 (_ev_page_cache_new), (ev_page_cache_get_max_width),
1589 (ev_page_cache_get_max_height), (ev_page_cache_get_height_to_page):
1590 * backend/ev-page-cache.h:
1591 * shell/ev-view.c: (scroll_to_current_page),
1592 (view_update_range_and_current_page), (get_page_y_offset),
1593 (get_page_extents), (ev_view_size_request_continuous_dual_page),
1594 (ev_view_size_request_continuous),
1595 (ev_view_zoom_for_size_continuous_and_dual_page),
1596 (ev_view_zoom_for_size_continuous):
1598 More compact EvView layout in document with pages of different size.
1600 Sat Jun 4 19:20:57 2005 Jonathan Blandford <jrb@redhat.com>
1602 * shell/ev-window.c (ev_window_cmd_file_properties): fix
1605 2005-06-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1607 * shell/ev-view.c: (view_set_adjustment_values):
1608 * shell/ev-window.c: (ev_window_cmd_file_properties):
1610 A bit different fix for rounding problem but it has no
1611 problems on startup. Make properties window transient to parent.
1613 2005-06-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1615 * pdf/ev-poppler.cc:
1617 More commenting of font stuff.
1619 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1621 * pdf/ev-poppler.cc:
1623 Comment out some more fonts stuff. Should really
1624 work without the poppler patch now.
1626 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1628 * pdf/ev-poppler.cc:
1632 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1634 * data/evince-properties.glade:
1635 * pdf/ev-poppler.cc:
1636 * shell/ev-properties.c: (setup_fonts_view):
1638 Set the column title. Show the dialog only
1639 once everything is setup.
1640 Getting font info can be very slow... will
1641 prolly need to make this threaded too.
1643 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1645 * backend/Makefile.am:
1646 * backend/ev-document-fonts.c: (ev_document_fonts_get_type),
1647 (ev_document_fonts_get_fonts_model):
1648 * backend/ev-document-fonts.h:
1649 * data/evince-properties.glade:
1650 * pdf/ev-poppler.cc:
1651 * shell/ev-properties.c: (setup_fonts_view), (ev_properties_new):
1652 * shell/ev-properties.h:
1653 * shell/ev-window.c: (ev_window_cmd_file_properties):
1655 Implement fonts list. Defined out for now, since it depends
1656 on a not yet committed poppler patch.
1658 Fri Jun 3 21:07:57 2005 Jonathan Blandford <jrb@redhat.com>
1660 * shell/ev-view.c (get_page_extents): other_page isn't necessarily
1663 * shell/ev-window.c: Make sure we add the timeout when we get a
1666 * shell/ev-view.c (view_set_adjustment_values): Add 0.5 to
1667 adjustment->value before calculating the zoom factor to average
1668 out all of our rounding errors. The page no longer 'drifts' when
1671 2005-06-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1673 * data/evince-properties.glade:
1674 * shell/ev-properties.c: (ev_properties_format_date),
1677 Labels don't expand when the dialogue is resized.
1678 strftime result needs to be converted to UTF-8. Thanks
1679 to Christian Persch <chpe@gnome.org>.
1681 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1683 * data/evince-properties.glade:
1687 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1689 * backend/ev-document-info.h:
1690 * backend/ev-document.c: (ev_document_info_free):
1691 * data/evince-properties.glade:
1692 * pdf/ev-poppler.cc:
1693 * ps/ps-document.c: (ps_document_get_info):
1694 * shell/ev-properties.c: (ev_properties_format_date),
1695 (set_property), (ev_properties_new):
1696 * shell/ev-properties.h:
1697 * shell/ev-window.c: (ev_window_cmd_file_properties):
1699 Rework properties code to take only EvPropertyInfo
1700 in the constructor so that it can be useful for
1701 nautilus plugin too.
1703 Deal with backends that doesnt support some properties.
1704 Make set property code generic.
1706 2005-06-04 Christian Persch <chpe@gnome.org>
1708 * data/evince-properties.glade:
1710 fix spacings, make resizeable, and make data labels
1711 selectable + ellipsised
1713 2005-06-03 Marco Pesenti Gritti <mpg@redhat.com>
1715 * backend/ev-document-info.h:
1717 * data/evince-ui.xml:
1718 * pdf/ev-poppler.cc:
1719 * shell/Makefile.am:
1720 * shell/ev-window.c: (update_action_sensitivity),
1721 (ev_window_cmd_file_properties):
1723 Initial go at file properties. Patch by
1724 Emil Soleyman-Zomalan <emil@soleyman.com>.
1725 Needs love see #169583
1727 2005-06-02 Marco Pesenti Gritti <mpg@redhat.com>
1729 * ps/ps-document.c: (output):
1730 * ps/ps.c: (psscan):
1732 Try to render even if psscan fails.
1734 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
1736 * ps/ps.c: (psscan), (pscopydoc):
1738 Port buffered reading code from gv
1740 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
1742 * ps/ps-document.c: (interpreter_message), (output):
1744 Do not fail on interpreter messages
1746 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
1748 * backend/ev-document-misc.c:
1749 (ev_document_misc_get_thumbnail_frame):
1751 Pages can be 0 x 0, dont assert on this case
1753 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1755 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
1756 (ev_sidebar_links_class_init), (ev_sidebar_links_set_document):
1758 Correctly manage our reference on document. Finally the reload
1759 huge leak is gone...
1761 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1763 * ps/ps-document.c: (ps_document_dispose):
1765 Forgot to chain it to the parent. Thanks chpe.
1767 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1769 * ps/ps-document.c: (ps_document_dispose),
1770 (ps_document_class_init), (stop_interpreter), (document_load):
1772 Cleanup dispose a bit. Dont leak the whole pixmap.
1774 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1776 * pdf/ev-poppler.cc:
1778 Release the poppler document on dispose
1780 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1782 * shell/ev-view.c: (ev_view_set_document):
1784 Release ref on the pixbuf cache when changing
1787 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1789 * ps/ps-document.c: (ps_document_get_info):
1793 2005-05-31 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
1795 * backend/ev-page-cache.c: (ev_page_cache_init),
1796 (_ev_page_cache_new), (ev_page_cache_get_max_label_chars):
1797 * backend/ev-page-cache.h:
1798 * shell/ev-page-action.c: (page_changed_cb):
1800 Set page action entry width depending on labels width. Fix
1803 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1805 * backend/ev-link.c: (ev_link_class_init):
1807 Allow -1 as page value (error)
1809 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1811 * shell/ev-sidebar-thumbnails.c:
1812 (ev_sidebar_thumbnails_set_document):
1813 * shell/ev-view.c: (scroll_to_current_page),
1814 (view_set_adjustment_values), (ev_view_set_scroll_adjustments),
1815 (page_changed_cb), (on_adjustment_value_changed),
1816 (ev_view_set_document):
1818 Slightly modified patch by Nickolay V. Shmyrev <nshmyrev@yandex.ru>.
1821 2005-05-29 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1824 * djvu/djvu-document.c: (djvu_document_get_page_size):
1826 Require djvulibre CVS. Now djvu loading is much faster. Fix for
1829 Sat May 28 07:38:03 2005 Jonathan Blandford <jrb@redhat.com>
1831 * shell/ev-view.c (draw_one_page): modify the expose handling to
1834 * shell/ev-window.c (update_action_sensitivity): Respect
1835 permissions field. Kowtow to the man.
1837 * pdf/ev-poppler.cc: Get the permissions field.
1839 * tiff/*c: Make a tiny bit more robust.
1841 2005-05-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1843 * djvu/djvu-document.c:
1845 Pop messages from djvu context message queue.
1847 2005-05-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1849 * configure.ac, Makefile.am, shell/Makefile.am:
1850 * tiff/Makefile.am, shell/ev-document-types.c:
1852 Cleanup tiff configure checks. Fix for bug 305218.
1854 2005-05-24 Maxim V. Dziumanenko <mvd@mylinux.ua>
1856 * configure.ac: Added "uk" to ALL_LINGUAS.
1858 2005-05-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1860 * cut-n-paste/zoom-control/ephy-zoom.c:
1861 (ephy_zoom_get_changed_zoom_level):
1862 * cut-n-paste/zoom-control/ephy-zoom.h:
1863 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_set_property),
1864 (ev_view_get_property), (ev_view_class_init), (ev_view_set_zoom):
1865 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
1866 (ev_window_cmd_view_zoom_out), (ev_window_zoom_changed_cb),
1867 (zoom_control_changed_cb), (ev_window_init):
1869 Fix minor points related to moving best fit up. Introduce
1870 "zoom" property and make zoom control change it's value on
1871 notify::zoom signals. Fix for 305080.
1873 2005-05-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1875 * data/evince-ui.xml:
1876 * shell/ev-window.c: (set_view_actions_sensitivity):
1878 Use + and - as accels for zoom in and zoom out. Fix for 305001.
1880 2005-05-22 Marco Pesenti Gritti <mpg@redhat.com>
1884 Depends on poppler 0.3.2
1886 2005-05-22 Marco Pesenti Gritti <mpg@redhat.com>
1888 * cut-n-paste/recent-files/egg-recent-item.c:
1889 (egg_recent_item_get_short_name):
1890 * cut-n-paste/toolbar-editor/Makefile.am:
1891 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
1892 (new_pixbuf_from_widget):
1893 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
1894 * cut-n-paste/toolbar-editor/egg-marshal.c:
1895 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
1896 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
1900 Sat May 21 23:18:30 2005 Jonathan Blandford <jrb@redhat.com>
1902 * tiff/tiff-document.c: Rough TIFF backend.
1904 2005-05-21 Marco Pesenti Gritti <mpg@redhat.com>
1908 * cut-n-paste/toolbar-editor/Makefile.am:
1912 2005-05-21 Marco Pesenti Gritti <mpg@redhat.com>
1914 * shell/ev-view.c: (jump_to_find_result), (ev_view_can_find_next),
1915 (ev_view_find_next), (ev_view_find_previous):
1917 Remove the locks around get_n_results
1919 2005-05-21 Juerg Billeter <j@bitron.ch>
1921 * pdf/ev-poppler.c: (pdf_document_ps_exporter_begin):
1923 Pass correct number of pages to poppler.
1925 2005-05-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1929 * data/evince.desktop.in:
1930 * data/evince.desktop.in.in:
1933 Add conditionally dvi and djvu to desktop types. Fix for 304658.
1935 Sat May 21 00:21:30 2005 Jonathan Blandford <jrb@redhat.com>
1937 * shell/ev-view.c: (view_update_adjustments),
1938 (view_set_adjustment_values): cast adjustmen->value to (int)
1939 before using it. Otherwise, we get off by a pixel in some
1942 (draw_one_page): Draw the border on expose.
1944 Fri May 20 22:05:25 2005 Jonathan Blandford <jrb@redhat.com>
1946 * *shell/ev-view.c: Patch from Nickolay V. Shmyrev to reset the
1947 adjustment when the mode changes, #304923
1949 Fri May 20 02:00:03 2005 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1951 * shell/ev-view.c: Use gdk_widget_queue_draw to remove
1952 flickering on resize but still use gdk_window_scroll on
1955 Fri May 20 01:46:57 2005 Jonathan Blandford <jrb@redhat.com>
1957 * shell/ev-view.c: Patch from Nickolay Shmyrev to fix the -p
1960 Fri May 20 01:27:01 2005 Jonathan Blandford <jrb@redhat.com>
1962 * shell/ev-view.c: Patch from Nickolay Shmyrev to to scroll to
1963 second page on page_changed if possible, #304669
1965 Fri May 20 01:07:15 2005 Jonathan Blandford <jrb@redhat.com>
1967 * shell/ev-view.c (view_update_adjustments): Use gdk_window_scroll
1968 instead of gtk_widget_queue_draw. Massive speedups in scrolling.
1970 Fri May 20 01:05:10 2005 Jonathan Blandford <jrb@redhat.com>
1973 * shell/ev-view.c:(ev_view_size_allocate), (ev_view_class_init),
1974 (zoom_for_size_fit_width), (zoom_for_size_best_fit),
1975 (ev_view_zoom_for_size_presentation),
1976 (ev_view_zoom_for_size_continuous_and_dual_page),
1977 (ev_view_zoom_for_size_continuous),
1978 (ev_view_zoom_for_size_dual_page),
1979 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size):
1981 * shell/ev-window.c: (update_view_size),
1982 (ev_window_sizing_mode_changed_cb):
1984 Patch from Nickolay Shmyrev <nshmyrev@yandex.ru> to handle
1985 the scrollbars. It's not 100% right, but it's much closer. Kills
1986 an infinite loop, #304769
1989 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
1991 * data/evince-ui.xml:
1992 * shell/ev-view.c: (ev_view_scroll_view), (ev_view_class_init):
1993 * shell/ev-window.c: (set_view_actions_sensitivity):
1995 Make PgUp/Down behave like Space
1997 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
1999 * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
2000 * backend/ev-ps-exporter.h:
2001 * pdf/ev-poppler.cc:
2002 * ps/ps-document.c: (ps_document_ps_export_begin):
2003 * shell/ev-print-job.c: (idle_print_handler):
2005 Adapt to new poppler api
2007 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
2009 * cut-n-paste/zoom-control/ephy-zoom-control.c:
2010 (ephy_zoom_control_init):
2012 Translate zoom levels
2014 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
2016 * cut-n-paste/zoom-control/ephy-zoom.c:
2017 (ephy_zoom_get_zoom_level_index):
2019 Fix current zoom -> zoom control match
2021 2005-05-18 James Bowes <bowes@cs.dal.ca>
2023 * shell/ev-window.c: (ev_window_init): Give focus to the ev-view,
2024 rather than the scrolled_window that it's in. Fixes bug #304655.
2026 Tue May 17 22:54:17 2005 Jonathan Blandford <jrb@redhat.com>
2028 * shell/ev-view.c: (view_update_adjustments),
2029 (view_set_adjustment_values), (view_update_range_and_current_page),
2030 (view_scroll_to_page), (set_scroll_adjustment),
2031 (ev_view_set_scroll_adjustments), (add_scroll_binding_keypad),
2032 (ev_view_scroll), (ev_view_scroll_view),
2033 (ensure_rectangle_is_visible), (find_page_at_location),
2034 (get_link_at_location), (go_to_link), (status_message_from_link),
2035 (ev_view_size_request_continuous_dual_page),
2036 (ev_view_size_request), (ev_view_size_allocate), (ev_view_realize),
2037 (ev_view_unrealize), (ev_view_expose_event),
2038 (ev_view_button_press_event), (ev_view_motion_notify_event),
2039 (ev_view_button_release_event), (ev_gdk_color_to_rgb),
2040 (draw_rubberband), (highlight_find_results), (draw_one_page),
2041 (ev_view_finalize), (ev_view_destroy), (ev_view_class_init),
2042 (ev_view_init), (find_changed_cb), (page_changed_cb),
2043 (on_adjustment_value_changed), (ev_view_new),
2044 (ev_view_set_document), (ev_view_set_zoom),
2045 (ev_view_set_continuous), (ev_view_set_dual_page),
2046 (ev_view_set_presentation), (ev_view_zoom_in), (ev_view_zoom_out),
2047 (zoom_for_size_fit_width), (zoom_for_size_best_fit),
2048 (ev_view_zoom_for_size_presentation),
2049 (ev_view_zoom_for_size_continuous_dual_page),
2050 (ev_view_zoom_for_size_continuous),
2051 (ev_view_zoom_for_size_dual_page),
2052 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
2053 (ev_view_get_status), (ev_view_set_status),
2054 (update_find_status_message), (ev_view_get_find_status),
2055 (ev_view_set_find_status), (jump_to_find_result),
2056 (jump_to_find_page), (compute_selections), (clear_selection),
2057 (ev_view_select_all), (get_selected_text), (ev_view_copy),
2058 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
2059 (ev_view_update_primary_selection),
2060 (ev_view_create_invisible_cursor), (ev_view_set_cursor):
2062 * shell/ev-window.c: (ev_window_open_page_label),
2063 (ev_window_cmd_view_reload), (ev_window_sizing_mode_changed_cb),
2065 * shell/ev-window.h:
2066 * shell/main.c: (load_files):
2068 Massive code clean up from Nickolay Shmyrev. Keep page offset
2069 when resizing. Remove the bin_window(). Also, patch from James
2070 Bowes to fix command line page, #300641
2072 2005-05-17 Marco Pesenti Gritti <mpg@redhat.com>
2074 * data/evince-ui.xml:
2077 * shell/ev-window.c: (update_action_sensitivity):
2079 Get rid of View->Normal Size, it's just confusing
2081 Tue May 17 00:51:21 2005 Jonathan Blandford <jrb@redhat.com>
2083 * backend/ev-document-info.h:
2084 * backend/ev-document.c: (ev_document_info_free): Free the
2087 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
2088 (clear_range), (add_range), (update_visible_range),
2089 (adjustment_changed_cb), (ev_sidebar_thumbnails_init),
2090 (ev_sidebar_thumbnails_set_document):
2091 * shell/ev-window.c: (ev_window_setup_document): Only render the
2092 visible thumbnails. It takes an instant to render, but it uses
2095 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
2097 * shell/ev-sidebar-links.c: (popup_menu_cb):
2101 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
2104 * shell/ev-sidebar-links.c: (build_popup_menu), (popup_menu_cb),
2105 (button_press_cb), (ev_sidebar_links_construct):
2107 Show the popup menu also on keybindings
2109 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
2111 * shell/ev-window.c: (ev_window_print), (ev_window_print_range):
2112 * shell/ev-window.h:
2114 Expose api to print a range (with dialog). Make private _print use
2117 * shell/ev-sidebar-links.c: (print_section_cb), (button_press_cb),
2118 (ev_sidebar_links_construct):
2120 Show a print context menu on linkx, it prints the selected
2123 2005-05-15 Carlos Garcia Campos <carlosgc@gnome.org>
2125 * shell/ev-sidebar.c: make the drop down menu as width as the toggle
2128 2005-05-12 Marco Pesenti Gritti <mpg@redhat.com>
2134 * shell/ev-window.c: (build_comments_string),
2135 (ev_window_cmd_help_about):
2137 Show poppler version/backend and authors
2139 2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
2141 * cut-n-paste/zoom-control/ephy-zoom.c:
2142 (ephy_zoom_get_zoom_level_index):
2143 * cut-n-paste/zoom-control/ephy-zoom.h:
2145 Move the best fit items at the top of the list
2147 2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
2149 * shell/ev-marshal.list:
2150 * shell/ev-page-action.c: (ev_page_action_widget_class_init),
2151 (activate_cb), (match_selected_cb), (activate_link_cb),
2152 (connect_proxy), (ev_page_action_class_init):
2153 * shell/ev-page-action.h:
2155 Use signals to notify action activation. Hopefully
2156 I did not break completion since I cant test...
2158 * shell/ev-window.c: (activate_link_cb), (activate_label_cb),
2159 (register_custom_actions):
2161 Connect to page selector actions and also grab focus on
2162 the view when activated.
2164 Wed May 11 01:18:29 2005 Jonathan Blandford <jrb@redhat.com>
2166 * pdf/ev-poppler.cc:
2167 * backend/ev-page-cache.c: make page size calculation consistent
2168 and set it to (int)( width * scale + 0.5). This makes the weird
2169 line going through the middle of the page go away.
2171 * shell/ev-view.c: move painting the background page after
2172 checking the expose area covers us.
2174 2005-05-11 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2176 * data/evince-password.glade:
2178 Mark labels as not translatable. Fix for bug 302842.
2180 2005-05-10 Francisco Javier F. Serrador <serrador@cvs.gnome.org>
2182 * configure.ac: Added "es" to ALL_LINGUAS.
2184 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2186 * data/evince-toolbar.xml:
2187 * shell/ev-window.c: (update_action_sensitivity),
2188 (ev_window_setup_document), (ev_window_set_page_mode),
2191 Remove some leftover code from jrb first continous
2192 attempt. Use the new actions, we still need good icons
2195 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2197 * shell/ev-page-action.c: (update_pages_label), (connect_proxy):
2199 Update label when connecting proxy. Fix a warning with NULL
2202 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2204 * data/evince-ui.xml:
2205 * shell/ev-page-action.c: (ev_page_action_grab_focus):
2206 * shell/ev-page-action.h:
2207 * shell/ev-window.c: (ev_window_cmd_focus_page_selector):
2209 Add mnemonic for edit toolbar.
2210 ctrl+l focus the page entry.
2212 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2215 * shell/ev-window.c: (ev_window_cmd_edit_toolbar_cb),
2217 * shell/main.c: (main):
2219 Put the toolbar xml in evince own dot dir
2221 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2223 * shell/ev-window.c: (ev_window_init):
2225 Make the toolbar not removable
2227 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2229 * data/evince-ui.xml:
2230 * shell/ev-sidebar-links.c: (ev_sidebar_links_get_treeview):
2231 * shell/ev-sidebar-links.h:
2232 * shell/ev-sidebar-thumbnails.c:
2233 (ev_sidebar_thumbnails_get_treeview):
2234 * shell/ev-sidebar-thumbnails.h:
2235 * shell/ev-view.c: (ev_view_scroll), (ev_view_scroll_view),
2236 (ev_view_class_init):
2238 * shell/ev-window.c: (update_action_sensitivity),
2239 (ev_window_cmd_scroll_forward), (ev_window_cmd_scroll_backward),
2240 (set_view_actions_sensitivity), (view_actions_focus_in_cb),
2241 (view_actions_focus_out_cb), (enable_view_actions_for_widget),
2244 This is evil... Make space/backspace global accelerators but
2245 enable them only for some widgets (sidebars and view).
2246 I dont like it, but I dont know a better way... :/
2248 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2250 * shell/ev-page-action.c: (ev_page_action_widget_set_page_cache),
2251 (ev_page_action_widget_finalize),
2252 (ev_page_action_widget_class_init), (update_page_cache):
2254 Keep a weak reference on proxy->page_cache so that we
2255 dont try to disconnect the signal if the object is already
2256 gone. Maybe there is a better way to cleanup reference handling
2257 in page action though...
2259 2005-05-10 Juerg Billeter <j@bitron.ch>
2261 * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
2262 * backend/ev-ps-exporter.h:
2263 * pdf/ev-poppler.cc: (pdf_document_ps_exporter_begin):
2264 * ps/ps-document.c: (ps_document_ps_export_begin):
2266 Change api to pass print range to ps_exporter_begin. The pdf backend
2267 requires this information.
2269 * shell/ev-print-job.c: (idle_print_handler):
2273 2005-05-10 Juerg Billeter <j@bitron.ch>
2275 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
2276 (idle_print_handler)
2277 * shell/ev-window.c: (ev_window_print):
2279 Support printing page range, based on patch by Amaury Jacquot
2281 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2283 * data/evince-toolbar.xml:
2285 Add zoom control to available items
2287 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2289 * shell/ev-window.c: (update_action_sensitivity):
2291 Set slash action insensitive when appropriate
2293 2005-05-10 Christian Persch <chpe@gnome.org>
2295 * cut-n-paste/zoom-control/ephy-zoom-action.c: (create_menu_item):
2297 Fix warning on the overflow menu
2299 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2301 * shell/ev-window.c: (sanity_check_uri), (ev_window_open):
2303 Check for uri correctness/existence
2305 2005-05-09 Juerg Billeter <j@bitron.ch>
2307 * shell/ev-window.c: (using_postscript_printer):
2309 LPD printers use postscript, too
2311 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2313 * shell/ev-window.c: (register_custom_actions):
2315 The zoom one is actually sort of useful,
2318 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2320 * shell/ev-window.c: (register_custom_actions):
2322 Hide page/zoom controls from overflow, they
2325 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2327 * cut-n-paste/update-from-egg.sh:
2329 Share it between all cut-n-paste subdirs
2331 * cut-n-paste/recent-files/Makefile.am:
2333 Fix to use "global" update-from-egg.sh
2335 * cut-n-paste/recent-files/egg-recent-model.c:
2336 (egg_recent_model_changed_timeout), (egg_recent_model_finalize):
2337 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
2338 (egg_recent_view_gtk_clear), (egg_recent_view_gtk_set_list),
2339 (egg_recent_view_gtk_finalize), (egg_recent_view_gtk_set_menu):
2343 * cut-n-paste/toolbar-editor/Makefile.am:
2345 Fix to use "global" update-from-egg.sh
2347 * cut-n-paste/toolbar-editor/eggmarshalers.list:
2351 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2354 * cut-n-paste/Makefile.am:
2355 * cut-n-paste/recent-files/Makefile.am:
2356 * cut-n-paste/toolbar-editor/.cvsignore:
2357 * cut-n-paste/toolbar-editor/Makefile.am:
2358 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
2359 (egg_editable_toolbar_get_type), (get_toolbar_position),
2360 (get_n_toolbars), (get_dock_nth), (get_toolbar_nth), (find_action),
2361 (drag_data_delete_cb), (drag_begin_cb), (drag_end_cb),
2362 (drag_data_get_cb), (set_drag_cursor), (unset_drag_cursor),
2363 (set_item_drag_source), (create_item_from_action), (create_item),
2364 (data_is_separator), (drag_data_received_cb), (remove_toolbar_cb),
2365 (popup_toolbar_context_menu_cb), (free_dragged_item),
2366 (toolbar_drag_drop_cb), (toolbar_drag_motion_cb),
2367 (toolbar_drag_leave_cb), (create_dock), (set_fixed_style),
2368 (unset_fixed_style), (toolbar_changed_cb), (unparent_fixed),
2369 (update_fixed), (toolbar_added_cb), (toolbar_removed_cb),
2370 (item_added_cb), (item_removed_cb),
2371 (egg_editable_toolbar_construct),
2372 (egg_editable_toolbar_disconnect_model),
2373 (egg_editable_toolbar_deconstruct),
2374 (egg_editable_toolbar_set_model),
2375 (egg_editable_toolbar_set_ui_manager),
2376 (egg_editable_toolbar_set_property),
2377 (egg_editable_toolbar_get_property),
2378 (egg_editable_toolbar_class_init), (egg_editable_toolbar_init),
2379 (egg_editable_toolbar_finalize), (egg_editable_toolbar_new),
2380 (egg_editable_toolbar_new_with_model),
2381 (egg_editable_toolbar_get_edit_mode),
2382 (egg_editable_toolbar_set_edit_mode), (egg_editable_toolbar_show),
2383 (egg_editable_toolbar_hide), (egg_editable_toolbar_set_fixed),
2384 (egg_editable_toolbar_set_drag_dest), (fake_expose_widget),
2385 (new_pixbuf_from_widget), (new_separator_pixbuf),
2386 (update_separator_image), (style_set_cb),
2387 (_egg_editable_toolbar_new_separator_image),
2388 (egg_editable_toolbar_get_model):
2389 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
2390 * cut-n-paste/toolbar-editor/egg-marshal.c:
2391 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
2392 (egg_toolbar_editor_get_type), (compare_actions), (find_action),
2393 (egg_toolbar_editor_set_ui_manager), (toolbar_removed_cb),
2394 (egg_toolbar_editor_set_model), (egg_toolbar_editor_set_property),
2395 (egg_toolbar_editor_get_property), (egg_toolbar_editor_class_init),
2396 (egg_toolbar_editor_finalize), (egg_toolbar_editor_new),
2397 (drag_begin_cb), (drag_end_cb), (editor_drag_data_received_cb),
2398 (editor_drag_data_delete_cb), (drag_data_get_cb),
2399 (elide_underscores), (set_drag_cursor), (event_box_realize_cb),
2400 (editor_create_item), (update_editor_sheet), (setup_editor),
2401 (egg_toolbar_editor_init), (egg_toolbar_editor_add_action),
2402 (parse_item_list), (model_has_action), (update_actions_list),
2403 (egg_toolbar_editor_load_actions):
2404 * cut-n-paste/toolbar-editor/egg-toolbar-editor.h:
2405 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
2406 (egg_toolbars_model_get_type), (egg_toolbars_model_to_xml),
2407 (safe_save_xml), (egg_toolbars_model_save), (toolbars_toolbar_new),
2408 (toolbars_item_new), (free_toolbar_node), (free_item_node),
2409 (egg_toolbars_model_get_flags), (egg_toolbars_model_set_flags),
2410 (egg_toolbars_model_add_separator), (impl_add_item),
2411 (parse_item_list), (egg_toolbars_model_add_toolbar),
2412 (parse_toolbars), (egg_toolbars_model_load), (impl_get_item_id),
2413 (impl_get_item_data), (impl_get_item_type),
2414 (_egg_accumulator_STRING), (egg_toolbars_model_class_init),
2415 (egg_toolbars_model_init), (free_toolbar),
2416 (egg_toolbars_model_finalize), (egg_toolbars_model_new),
2417 (egg_toolbars_model_remove_toolbar),
2418 (egg_toolbars_model_remove_item), (egg_toolbars_model_move_item),
2419 (egg_toolbars_model_n_items), (egg_toolbars_model_item_nth),
2420 (egg_toolbars_model_n_toolbars), (egg_toolbars_model_toolbar_nth),
2421 (egg_toolbars_model_add_item), (egg_toolbars_model_get_item_id),
2422 (egg_toolbars_model_get_item_data),
2423 (egg_toolbars_model_get_item_type):
2424 * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
2425 * cut-n-paste/toolbar-editor/eggmarshalers.list:
2427 * data/evince-toolbar.xml:
2428 * data/evince-ui.xml:
2429 * data/hand-open.png:
2431 * shell/Makefile.am:
2432 * shell/ev-window.c: (update_chrome_visibility),
2433 (ev_window_cmd_edit_toolbar_cb), (ev_window_cmd_edit_toolbar),
2434 (ev_window_dispose), (ev_window_init):
2436 Implement epiphany like toolbar editor. Based on patch by
2437 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2439 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2441 * shell/ev-sidebar-thumbnails.c: (page_changed_cb):
2443 Use set_cursor instead of set_selection, so that
2444 the keyboard focus moves too.
2446 2005-05-09 Aleksey Kliger <akliger@gmail.com>
2448 * dvi/mdvi-lib/tfmfile.c: (lookup_font_metrics):
2450 Fix infinite loop when loading Type1 fonts
2452 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2454 * data/evince-ui.xml:
2455 * shell/ev-window.c:
2459 2005-05-09 Thomas de Grenier de Latour <degrenier@easyconnect.fr>
2463 Make --disable really disable
2465 2005-05-07 Juerg Billeter <j@bitron.ch>
2467 * backend/ev-page-cache.c: (ev_page_cache_set_page_label):
2469 Compare page labels even without has_labels set, fixes setting page
2472 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2474 * shell/ev-view.c: (ev_view_create_invisible_cursor),
2475 (ev_view_set_cursor), (ev_view_button_press_event),
2476 (ev_view_motion_notify_event), (ev_view_button_release_event),
2479 Implement middle button scrolling. Based on a patch
2480 by Tommi Komulainen <tommi.komulainen@iki.fi>.
2482 2005-05-08 Marco Pesenti Gritti <mpg@redhat.com>
2484 * shell/ev-document-types.c: (get_slow_mime_type),
2485 (get_document_type_from_mime), (ev_document_type_lookup):
2486 * shell/ev-document-types.h:
2488 Change api to lookup from uri. Do fast lookup first, if the
2489 type is unknown try with data sniffing.
2491 * shell/ev-window.c: (ev_window_open), (ev_window_open_uri_list):
2492 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
2496 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2498 * thumbnailer/Makefile.am:
2502 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2509 * data/evince-ui.xml:
2511 Hide presentation mode for now
2513 * shell/ev-view.c: (highlight_find_results):
2515 Show current find selection only on current page
2517 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2519 * shell/ev-view.c: (ev_view_select_all):
2521 Compute size of the actual page, not of
2524 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2526 * shell/ev-view.c: (clear_selection), (ev_view_finalize),
2527 (view_rect_to_doc_rect), (compute_selections),
2528 (ev_view_bin_expose), (ev_view_select_all), (get_selected_text),
2529 (ev_view_copy), (ev_view_primary_get_cb),
2530 (ev_view_primary_clear_cb), (ev_view_update_primary_selection),
2531 (ev_view_button_press_event), (ev_view_motion_notify_event),
2532 (ev_view_button_release_event), (page_changed_cb):
2536 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2538 * shell/ev-view.c: (compute_border), (get_page_extents),
2539 (doc_rect_to_view_rect), (highlight_find_results),
2540 (ev_view_bin_expose), (ev_view_select_all),
2541 (ev_view_motion_notify_event), (update_find_status_message),
2542 (jump_to_find_result), (jump_to_find_page):
2544 First go at fixing search, still buggy
2546 2005-05-04 Kristian Høgsberg <krh@redhat.com>
2548 * shell/ev-sidebar.c (ev_sidebar_init): Remove frame around
2549 dropdown box and button at the top of the sidebar.
2551 2005-05-02 James Bowes <bowes@cs.dal.ca>
2553 * configure.ac: Output zoom-control Makefile.
2554 * cut-n-paste/Makefile.am: build zoom-control subdir.
2555 * cut-n-paste/zoom-control/ephy-zoom-action.c:
2556 * cut-n-paste/zoom-control/ephy-zoom-action.h:
2557 * cut-n-paste/zoom-control/ephy-zoom-control.c:
2558 * cut-n-paste/zoom-control/ephy-zoom-control.h:
2559 * cut-n-paste/zoom-control/ephy-zoom.c:
2560 * cut-n-paste/zoom-control/ephy-zoom.h: New files imported
2561 from epiphany, and modified to add a separator into the menu.
2562 * cut-n-paste/zoom-control/Makefile.am: Build zoom-control.
2563 * data/evince-ui.xml: Replace old zoom toolbar actions with new
2564 zoom-control action.
2565 * shell/Makefile.am: Include zoom-control flags.
2566 * shell/ev-view.c: (ev_view_set_zoom), (ev_view_get_zoom),
2567 (ev_view_get_sizing_mode), (ev_view_zoom_in), (ev_view_zoom_out),
2568 (ev_view_zoom_for_size_presentation),
2569 (ev_view_zoom_for_size_continuous_and_dual_page),
2570 (ev_view_zoom_for_size_continuous),
2571 (ev_view_zoom_for_size_dual_page),
2572 (ev_view_zoom_for_size_single_page), (ev_view_zoom_normal):
2573 s/ev_view_zoom/ev_view_set_zoom/ and make public, add
2574 ev_view_get_zoom and ev_view_get_sizing_mode.
2576 * shell/ev-window.c: (update_action_sensitivity),
2577 (update_sizing_buttons), (zoom_control_changed_cb),
2578 (register_custom_actions): Initialize and use the zoom-control
2581 Sun May 1 00:46:47 2005 Jonathan Blandford <jrb@redhat.com>
2583 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init): Change the
2584 preview cache back to 1. Don't know when it got set to 0.
2586 * shell/ev-view.c: (compute_border), (ev_view_realize),
2587 (draw_one_page), (ev_view_set_property), (ev_view_get_property),
2588 (ev_view_class_init), (ev_view_init), (ev_view_set_fullscreen),
2589 (ev_view_get_fullscreen), (ev_view_set_presentation),
2590 (ev_view_get_presentation), (ev_view_set_sizing_mode),
2591 (ev_view_zoom_for_size_presentation), (ev_view_set_zoom_for_size):
2593 * shell/ev-window.c:
2594 (update_chrome_visibility),
2595 (ev_window_cmd_continuous), (ev_window_cmd_dual),
2596 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
2597 (update_document_mode), (ev_window_update_fullscreen_action),
2598 (ev_window_fullscreen), (ev_window_unfullscreen),
2599 (ev_window_cmd_view_fullscreen),
2600 (ev_window_update_presentation_action),
2601 (ev_window_run_presentation), (ev_window_stop_presentation),
2602 (ev_window_cmd_view_presentation), (ev_window_state_event),
2603 (ev_window_focus_in_event), (ev_window_focus_out_event),
2604 (ev_window_cmd_escape), (ev_window_sidebar_visibility_changed_cb):
2605 * data/evince-ui.xml: Initial presentation mode. We should
2606 probably hide this until it's done, as it's quite rough. Also,
2607 change full-screen to fullscreen and add two getters to EvView.
2609 2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
2611 * shell/ev-page-action.c: (update_page_cache),
2612 (ev_page_action_dispose):
2613 * shell/ev-window.c: (destroy_fullscreen_popup),
2614 (ev_window_create_fullscreen_popup):
2616 Use connect_object rather than explicitly
2617 disconnect on dispose.
2619 2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
2621 * shell/ev-page-action.c: (update_page_cache),
2622 (ev_page_action_dispose):
2624 2005-04-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2626 * backend/ev-page-cache.c: (_ev_page_cache_new),
2627 (ev_page_cache_set_page_label),
2628 (ev_page_cache_has_nonnumeric_page_labels):
2629 * backend/ev-page-cache.h:
2630 * shell/ev-page-action.c: (update_pages_label):
2632 If all page labels are numeric, fallback to default
2633 way to display number of pages. See bug 173185.
2635 2005-04-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2637 * shell/ev-page-action.c: (ev_page_action_dispose):
2638 * shell/ev-view.c: (view_update_range_and_current_page):
2639 * shell/ev-window.c: (ev_window_dispose):
2641 Set page on scroll in continuous mode. Fixes bug 301986.
2642 Also cleanup callbacks on destroy of EvWindow and EvPageAction.
2644 2005-04-26 Marco Pesenti Gritti <mpg@redhat.com>
2648 Require poppler 0.3.0
2650 2005-04-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2652 * shell/Makefile.am, configure.ac: Fix build problems
2653 with t1lib. Bug 301996.
2655 2005-04-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2657 * shell/ev-view.c: (ev_view_scroll_event):
2659 Scroll up increase zoom
2661 2005-04-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2663 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_class_init),
2664 (ev_view_set_sizing_mode),
2665 (ev_view_zoom_for_size_continuous_and_dual_page),
2666 (ev_view_zoom_for_size_continuous):
2667 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
2668 (ev_window_cmd_view_page_width), (ev_window_cmd_view_zoom_in),
2669 (ev_window_cmd_view_zoom_out), (ev_window_sizing_mode_changed_cb),
2672 Control + Scroll does zooming, Shift + Scroll scrolls horizontally
2673 Fix for 165473 and 165472.
2675 2005-04-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2678 * thumbnailer/Makefile.am:
2679 * thumbnailer/evince-thumbnailer-djvu.schemas.in:
2680 * thumbnailer/evince-thumbnailer-dvi.schemas.in:
2681 * thumbnailer/evince-thumbnailer.schemas.in:
2683 Make thumbnailer schemas translatable. Fix for bug 301773
2685 * thumbnailer/evince-thumbnailer-djvu.schemas:
2686 * thumbnailer/evince-thumbnailer-dvi.schemas:
2687 * thumbnailer/evince-thumbnailer.schemas:
2691 Sun Apr 24 01:37:39 2005 Jonathan Blandford <jrb@redhat.com>
2693 * shell/ev-view.c (ev_view_init): forgot to set this.
2695 Sun Apr 24 01:07:27 2005 Jonathan Blandford <jrb@redhat.com>
2697 * shell/ev-view.c: (find_page_at_location),
2698 (get_link_at_location),
2699 (ev_view_set_show_border), (ev_view_set_spacing),
2700 (ev_view_zoom_for_size_continuous_and_dual_page),
2701 (ev_view_zoom_for_size_continuous): Fix links for dual/continuous.
2702 Also, add a quick fix measuring of widths. Also, removed
2703 ev_view_set_spacing and ev_view_set_show_border.
2705 * shell/ev-window.c: (ev_window_unfullscreen),
2706 (ev_window_cmd_view_fullscreen): Don't adjust the border/spacing.
2708 2005-04-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2710 * shell/ev-view.c: (view_update_range_and_current_page),
2713 Fix crash on exit and scrolling to page in continuous view.
2715 Sat Apr 23 13:13:04 2005 Jonathan Blandford <jrb@redhat.com>
2718 * backend/ev-page-cache.c: (_ev_page_cache_new),
2719 (ev_page_cache_get_max_width_size),
2720 (ev_page_cache_get_max_height_size):
2721 * backend/ev-page-cache.h:
2722 * data/evince-ui.xml:
2723 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init):
2724 * shell/ev-view.c: (view_update_adjustments),
2725 (view_update_range_and_current_page), (get_bounding_box_size),
2726 (ev_view_size_request_continuous_and_dual_page),
2727 (ev_view_size_request_continuous),
2728 (ev_view_size_request_dual_page),
2729 (ev_view_size_request_single_page), (ev_view_size_request),
2730 (ev_view_size_allocate), (get_page_extents), (draw_one_page),
2731 (ev_view_bin_expose), (ev_view_expose_event),
2732 (ev_view_set_property), (ev_view_get_property),
2733 (ev_view_class_init), (ev_view_init), (ev_view_new),
2734 (page_changed_cb), (ev_view_zoom), (ev_view_set_continuous),
2735 (ev_view_set_dual_page), (ev_view_set_full_screen),
2736 (ev_view_set_presentation), (ev_view_set_sizing_mode),
2737 (ev_view_can_zoom_in), (ev_view_can_zoom_out), (ev_view_zoom_in),
2738 (ev_view_zoom_out), (zoom_for_size_fit_width),
2739 (zoom_for_size_best_fit),
2740 (ev_view_zoom_for_size_continuous_and_dual_page),
2741 (ev_view_zoom_for_size_continuous),
2742 (ev_view_zoom_for_size_dual_page),
2743 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
2744 (ev_view_show_cursor), (ev_sizing_mode_get_type):
2746 * shell/ev-window.c: (update_action_sensitivity),
2747 (ev_window_cmd_continuous), (ev_window_cmd_dual),
2748 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
2749 (update_sizing_buttons), (ev_window_cmd_view_zoom_in),
2750 (ev_window_cmd_view_zoom_out), (update_view_size),
2751 (ev_window_set_sizing_mode), (ev_window_init):
2753 Add Continuous and Dual page modes.
2755 2005-04-23 James Bowes <bowes@cs.dal.ca>
2757 * dvi/dvi-document.c: (dvi_document_load),
2758 (dvi_document_thumbnails_get_thumbnail),
2759 (dvi_document_init_params): Fix up some mixups between
2760 width and height to correct thumbnail rendering.
2762 2005-04-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2764 * dvi/mdvi-lib/private.h:
2765 * dvi/mdvi-lib/setup.c: (mdvi_init_kpathsea):
2767 Suppess output for kpathsea during font generation. Thanks to
2770 Fri Apr 22 19:57:46 2005 Jonathan Blandford <jrb@redhat.com>
2777 * Makefile.am: fix distcheck.
2779 2005-04-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2781 * shell/ev-sidebar-links.c: (selection_changed_callback),
2782 (update_page_callback), (row_activated_callback),
2783 (job_finished_callback), (ev_sidebar_links_set_document):
2785 Fix for bug #169901. Double click on links expands tree.
2787 2005-03-14 Bryan Clark <clarkbw@cvs.gnome.org>
2789 * shell/ev-window.c (ev_window_init): Removed fullscreen toolbar
2790 hard-coded style. Fix for bug 170111
2792 2005-04-22 Kristian Høgsberg <krh@redhat.com>
2794 * shell/ev-view.c (highlight_find_results): Remove unnecessary
2797 2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
2799 * thumbnailer/evince-thumbnailer.schemas: real fix for bug 172496
2801 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
2803 * pdf/ev-poppler.cc:
2804 * shell/ev-view.c: (highlight_find_results):
2806 Fix find on single page documents
2808 2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
2810 * data/evince.schemas.in: fix for bug 301390
2812 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
2814 * shell/ev-view.c: (ev_view_can_zoom_in), (ev_view_can_zoom_out),
2815 (ev_view_zoom_out), (ev_view_zoom_normal):
2817 * shell/ev-window.c: (update_action_sensitivity),
2818 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
2819 (ev_window_cmd_view_zoom_in), (ev_window_cmd_view_zoom_out),
2820 (ev_window_cmd_view_normal_size):
2822 Fix normal size zoom. Make zoom in/zoom out unsensitive when
2823 they are behyond the limits. Tweak MAX_ZOOM to 6, sucks but
2826 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
2830 Depend on 2.57, 2.59 doesnt seem to be necessary
2832 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
2834 * shell/ev-page-action.c: (update_pages_label), (page_changed_cb),
2837 Put back total number of pages as (1 of 1234)
2839 Thu Apr 21 23:37:52 2005 Jonathan Blandford <jrb@redhat.com>
2841 * shell/ev-pixbuf-cache.c (dispose_cache_job_info): actually
2844 * backend/ev-document.h: Remove EV_DOC_MUTEX in favor of a locking
2845 function. This helps debugging.
2847 2005-04-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2849 * djvu/djvu-document.c: (djvu_document_class_init),
2850 (djvu_document_get_info), (djvu_document_document_iface_init):
2851 * dvi/dvi-document.c: (dvi_document_class_init),
2852 (dvi_document_get_info), (dvi_document_document_iface_init):
2854 Dummy implementation of get_info method for dvi and djvu. Fix
2855 crashes with those backends
2857 2005-04-20 Marco Pesenti Gritti <mpg@redhat.com>
2859 * data/evince.desktop.in:
2861 Add application/x-gzpostscript
2863 2005-04-20 Bryan Clark <clarkbw@cvs.gnome.org>
2865 * data/evince.schemas.in: Added real long descriptions,
2868 * README: Added actual text, closes bug 171869
2870 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
2872 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
2876 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
2878 * backend/ev-document-info.h:
2880 s/GDate */GDate so we can just use g_free
2882 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
2884 * shell/ev-window.c: (update_document_mode),
2885 (ev_window_setup_document):
2887 Show the window in fullscreen when specified by
2890 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
2892 * backend/ev-document.c: (ev_document_class_init),
2893 (ev_document_get_info), (ev_document_render_pixbuf):
2894 * backend/ev-document.h:
2895 * backend/ev-page-cache.c: (_ev_page_cache_new):
2896 * pdf/ev-poppler.cc:
2897 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
2898 (pixbuf_document_get_info), (pixbuf_document_document_iface_init):
2899 * ps/ps-document.c: (ps_document_class_init), (document_load),
2900 (ps_document_get_info), (ps_document_document_iface_init):
2902 Remove get_title from the interface, we can just use document info
2904 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
2906 * backend/Makefile.am:
2907 * backend/ev-document.c: (ev_document_render_get_info):
2908 * backend/ev-document.h:
2909 * pdf/ev-poppler.cc:
2911 Initial support for document info. Based on jrb patch.
2913 2005-04-19 Paolo Borelli <pborelli@katamail.com>
2915 * shell/ev-window.c: (ev_window_state_event),
2916 (ev_window_class_init), (ev_window_init):
2918 Doesn't show resize grip when maximized. See bug #301053
2920 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2924 ev-sidebar-thumbnails now has translatable labels
2926 * shell/Makefile.am:
2927 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document),
2928 (ev_sidebar_links_support_document), (ev_sidebar_links_get_label),
2929 (ev_sidebar_links_page_iface_init):
2930 * shell/ev-sidebar-links.h:
2931 * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
2932 (ev_sidebar_page_support_document), (ev_sidebar_page_set_document),
2933 (ev_sidebar_page_get_label):
2934 * shell/ev-sidebar-page.h:
2935 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_new),
2936 (ev_sidebar_thumbnails_set_document),
2937 (ev_sidebar_thumbnails_support_document),
2938 (ev_sidebar_thumbnails_get_label),
2939 (ev_sidebar_thumbnails_page_iface_init):
2940 * shell/ev-sidebar-thumbnails.h:
2941 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
2942 (ev_sidebar_set_document):
2943 * shell/ev-sidebar.h:
2944 * shell/ev-window.c: (ev_window_setup_document), (ev_window_init):
2946 Small rework of sidebar code. Now sidebar pages should implement
2947 EvSidebarPage interface. That makes page management in EvSidebar
2948 easier. See bug #164811 for details
2950 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2952 * shell/ev-application.c: (ev_application_open):
2953 * shell/ev-document-types.c:
2955 Fix build error and small problem with application exit
2957 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2959 * thumbnailer/Makefile.am:
2960 * thumbnailer/evince-thumbnailer-djvu.schemas:
2961 * thumbnailer/evince-thumbnailer-dvi.schemas:
2963 Conditionally install schemas for djvu/dvi thumbnailer
2965 2005-04-18 David Malcolm <dmalcolm@redhat.com>
2967 * shell/ev-document-types.h:
2968 * shell/ev-document-types.c:
2969 New files, handling the mapping from mimetypes to backends
2971 * shell/ev-window.c:
2972 * thumbnailer/evince-thumbnailer.c:
2973 Use the ev-document-types code
2975 * shell/Makefile.am:
2976 Added new convenience library libevbackendfactory_la, containing
2977 the new mimetype->backend logic; moved the backends into it.
2979 * thumbnailer/Makefile.am:
2980 Make the thumbnailer link with the libevbackend.la convenience
2981 library, rather than having a duplicate of the backend logic here.
2983 2005-04-18 Paolo Borelli <pborelli@katamail.com>
2985 * shell/ev-stock-icons.c: constify some vars.
2986 * shell/ev-window.c: ditto.
2988 2005-04-18 Marco Pesenti Gritti <mpg@redhat.com>
2990 * ps/ps-document.c (get_page_orientation):
2992 Respect document orientation
2994 2005-04-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2998 * shell/Makefile.am:
3000 Move library dependencies to components.
3002 * shell/ev-window.c: (update_window_title),
3003 (start_loading_document):
3005 Fix display of uris with spaces. Bug 168358.
3007 Sat Apr 16 18:53:47 2005 Jonathan Blandford <jrb@redhat.com>
3009 * shell/ev-sidebar-links.c: (selection_changed_cb):
3010 * shell/ev-view.c: (ev_view_finalize), (go_to_link),
3011 (ev_view_button_release_event), (ev_view_set_document):
3013 * shell/ev-window.c: (find_bar_search_changed_cb):
3014 * shell/ev-window.h: Minor cleanups removing some dead code.
3016 2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3018 * backend/ev-page-cache.c: (_ev_page_cache_new):
3020 Set current page to 0 if document has pages.
3022 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3024 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3026 Initialize GError to NULL, fix a crash when loading fails.
3028 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3030 * shell/ev-window.c: (update_view_size):
3032 Calculate shadow size only when there is actually
3035 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3037 * shell/ev-view.c: (ev_view_set_spacing), (ev_view_init):
3040 Allow setting view spacing, default to 0
3042 * shell/ev-window.c: (ev_window_unfullscreen),
3043 (ev_window_cmd_view_fullscreen), (ev_window_init):
3045 Remove spacing in fullscreen mode
3047 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3049 * shell/ev-view.c: (compute_border), (compute_zoom_factor),
3050 (ev_view_size_request), (expose_bin_window),
3051 (ev_view_set_show_border), (ev_view_init), (page_changed_cb):
3053 * shell/ev-window.c: (ev_window_unfullscreen),
3054 (ev_window_cmd_view_fullscreen):
3056 Do not draw the border in fulscreen
3058 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3060 * shell/ev-view.c: (ev_view_get_offsets), (compute_zoom_factor),
3061 (ev_view_size_request), (expose_bin_window), (ev_view_select_all),
3062 (find_page_at_location), (page_changed_cb):
3064 Rework border calculation, so that I can more easily disable it.
3065 Code somewhat cleaner too.
3067 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3069 * backend/ev-page-cache.c: (ev_page_cache_init),
3070 (_ev_page_cache_new):
3072 Remove some assertions, documents can have 0 pages.
3073 Make initial current page -1.
3075 * shell/ev-page-action.c: (page_changed_cb):
3077 Show "" if current page is -1
3079 * shell/ev-window.c: (update_action_sensitivity),
3080 (ev_window_setup_document):
3082 When document has 0 pages do not set the view
3083 and make nearly everything insensitive.
3085 2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3087 * shell/ev-page-view.c:
3088 * shell/ev-page-view.h:
3090 Remove unused files.
3092 * shell/ev-sidebar-thumbnails.c:
3093 (ev_sidebar_thumbnails_set_document):
3094 * shell/ev-sidebar.c: (ev_sidebar_set_document),
3095 (ev_sidebar_supports_document):
3096 * shell/ev-sidebar.h:
3097 * shell/ev-window.c: (ev_window_setup_document):
3099 Doesn't show thumbnails if document has 1 page. Make
3100 sidebar menu entries sensitive only if if they have
3101 sense. Fix bug 164811.
3103 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
3105 * shell/ev-view.c: (compute_zoom_factor), (ev_view_size_request),
3106 (page_changed_cb), (ev_view_zoom), (ev_view_zoom_in),
3107 (ev_view_zoom_out), (ev_view_set_size):
3109 Rework sizing to deal with documents with not uniform page
3112 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
3114 * backend/ev-page-cache.c: (_ev_page_cache_new):
3116 Fix several page size caching bugs
3118 2005-04-15 Luca Ferretti <elle.uca@libero.it>
3120 * shell/ev-window.c: (set_action_properties):
3122 Make all toolbar items translatable
3124 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
3126 * ps/ps-document.c: (ps_document_init), (ps_document_get_type),
3127 (save_page_list), (ps_document_save),
3128 (ps_document_document_iface_init), (ps_document_ps_export_begin),
3129 (ps_document_ps_export_do_page), (ps_document_ps_export_end),
3130 (ps_document_ps_exporter_iface_init):
3133 Based on a patch by J�rg Billeter <j@bitron.ch>
3135 Implement print and save a copy for the ps backend.
3137 2005-04-14 Marco Pesenti Gritti <mpg@redhat.com>
3139 * backend/ev-document.h:
3140 * djvu/djvu-document.c: (djvu_document_can_get_text),
3141 (djvu_document_document_iface_init):
3142 * dvi/dvi-document.c: (dvi_document_can_get_text),
3143 (dvi_document_document_iface_init):
3144 * pdf/ev-poppler.cc:
3145 * pixbuf/pixbuf-document.c: (pixbuf_document_can_get_text),
3146 (pixbuf_document_document_iface_init):
3147 * ps/ps-document.c: (ps_document_can_get_text),
3148 (ps_document_document_iface_init):
3149 * shell/ev-view.c: (ev_view_copy), (ev_view_primary_get_cb):
3150 * shell/ev-window.c: (update_action_sensitivity):
3152 Fix the crash when trying to copy in backends that doesnt
3153 support it. We can implement a better solution once we
3154 do real text selection.
3156 2005-04-12 Marco Pesenti Gritti <mpg@redhat.com>
3158 * data/evince-ui.xml:
3159 * shell/ev-window.c: (ev_window_cmd_escape):
3161 Work around the Escape conflict (find bar and unfullscreen)
3163 2005-04-12 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
3165 * backend/ev-page-cache.c: (ev_page_cache_next_page):
3167 Fix for #300233. Next page correctly handles document end.
3169 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
3170 (ev_sidebar_thumbnails_class_init),
3171 (ev_sidebar_thumbnails_set_document),
3172 (ev_sidebar_thumbnails_clear_job),
3173 (ev_sidebar_thumbnails_clear_model):
3175 Cleanup thumbnail jobs on document changes.
3177 * shell/ev-view.c: (add_scroll_binding_keypad),
3178 (add_scroll_binding_shifted), (ev_view_class_init):
3180 Shift + Space scrolls up. Fix for #173184
3182 * shell/ev-window.c: (ev_window_open_page),
3183 (ev_window_cmd_view_reload):
3185 Fix reload (Bug #300094)
3187 2005-04-09 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3190 * dvi/mdvi-lib/assoc.c:
3191 * dvi/mdvi-lib/assoc.h: Removed garbage files
3193 * dvi/mdvi-lib/bitmap.c:
3194 * dvi/mdvi-lib/color.c: (mdvi_set_color), (mdvi_push_color),
3195 (mdvi_pop_color), (mdvi_reset_color), (get_color_table):
3196 * dvi/mdvi-lib/color.h: Antialias of rules
3198 * dvi/mdvi-lib/common.h:
3199 * dvi/mdvi-lib/dviread.c: (mdvi_configure), (mdvi_init_context),
3200 (mdvi_destroy_context), (draw_shrink_rule), (draw_box), (set_rule):
3201 * dvi/mdvi-lib/files.c:
3202 * dvi/mdvi-lib/fontmap.c: (ps_init_default_paths):
3203 * dvi/mdvi-lib/mdvi.h:
3204 * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
3205 * dvi/mdvi-lib/tfmfile.c: (ofm_load_file):
3206 * dvi/mdvi-lib/util.c: Fix compile warnings
3208 * dvi/dvi-document.c:
3209 (dvi_document_load), (dvi_document_thumbnails_get_dimensions),
3210 (dvi_document_thumbnails_get_thumbnail),
3211 (dvi_document_document_thumbnails_iface_init):
3212 * dvi/mdvi-lib/Makefile.am:
3213 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
3214 (dvi_pixbuf_set_color), (mdvi_pixbuf_device_render):
3216 Dvi backend now renders thumbnails
3218 2005-04-09 Christian Persch <chpe@cvs.gnome.org>
3220 * shell/main.c: (main):
3222 Save accelerators on exit. Fixes bug #172095.
3224 Sat Apr 9 01:05:09 2005 Jonathan Blandford <jrb@redhat.com>
3226 * shell/ev-pixbuf-cache.c (move_one_job): Actually fix the "FIXME:
3227 update priority" comment.
3229 * backend/ev-job-queue.c: Give a way to change priority.
3231 Sat Apr 9 00:05:36 2005 Jonathan Blandford <jrb@redhat.com>
3233 * shell/ev-page-action.c: Fix logic.
3235 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
3237 * shell/ev-view.c: (ev_view_can_find_next):
3238 * shell/ev-window.c: (ev_window_setup_document):
3240 Check that the document supports find
3242 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
3244 * data/evince-ui.xml:
3245 * shell/ev-view.c: (ev_view_can_find_next):
3247 * shell/ev-window.c: (update_action_sensitivity),
3248 (find_changed_cb), (ev_window_setup_document),
3249 (ev_window_cmd_edit_find_next):
3253 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
3255 * pdf/ev-poppler.cc:
3256 * shell/ev-print-job.c: (idle_print_handler):
3258 Make printing work again
3260 Fri Apr 8 01:12:24 2005 Jonathan Blandford <jrb@redhat.com>
3262 * shell/ev-page-action.h:
3263 * shell/ev-page-action.c: (ev_page_action_widget_init),
3264 (ev_page_action_widget_class_init), (page_changed_cb),
3265 (create_tool_item), (update_page_cache), (build_new_tree_cb),
3266 (get_filter_model_from_model), (match_selected_cb),
3267 (display_completion_text), (match_completion), (update_model),
3268 (connect_proxy), (ev_page_action_set_property),
3269 (ev_page_action_get_property), (ev_page_action_set_document),
3270 (ev_page_action_set_model), (ev_page_action_class_init): Big
3271 reworking to make completions work iff we have >= GTK-2.7.0
3273 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_property),
3274 (ev_sidebar_links_get_property), (ev_sidebar_links_class_init),
3275 (job_finished_cb): We now have a 'model' property that is set when
3276 the links are loaded. This can be caught with "notify::model"
3278 * shell/ev-window.c: (sidebar_widget_model_set), (ev_window_init):
3279 listen for the model to be set, and propagate it to the action.
3281 2005-04-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3283 * cut-n-paste/recent-files/egg-recent-item.c:
3284 (egg_recent_item_set_uri), (make_valid_utf8),
3285 (egg_recent_item_set_mime_type), (egg_recent_item_get_mime_type):
3286 * cut-n-paste/recent-files/egg-recent-item.h:
3288 Update egg-recent from libegg. This should fix long
3289 startup problem. For details see
3290 http://bugzilla.gnome.org/show_bug.cgi?id=160531
3292 2005-04-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3294 * cut-n-paste/recent-files/Makefile.am:
3295 * data/evince-ui.xml, shell/Makefile.am:
3296 * shell/ev-application.c, shell/ev-application.h:
3297 * shell/ev-window.c: Recent files support.
3299 * configure.ac: Added "ru" to ALL_LINGUAS.
3301 * dvju: new backend to support DJVU files.
3302 * dvi: new backend to support DVI.
3304 * configure.ac, Makefile.am, shell/Makefile.am, ev-window.c:
3305 * ev-application.c: Support for new backends.
3307 * help, ev-window.c, main.c shell/Makefile.am:
3308 Evince user documentation.
3310 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
3313 * shell/ev-window.c:
3314 * thumbnailer/evince-thumbnailer.c:
3316 s/pdf-document/ev-poppler
3318 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
3325 * ps/ps-document.c: (setup_pixmap):
3329 2005-04-05 Kristian Høgsberg <krh@redhat.com>
3331 * backend/ev-page-cache.c (ev_page_cache_next_page):
3332 * shell/ev-window.c (ev_window_cmd_go_next_page)
3333 (ev_window_cmd_go_first_page): Fix of by one errors.
3335 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
3337 * ps/ps-document.c: (get_page_box):
3339 Fix page size calculation
3341 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
3343 * ps/ps-document.c: (ps_document_init), (push_pixbuf),
3344 (ps_document_cleanup), (setup_pixmap), (get_page_box),
3345 (get_page_orientation), (setup_page), (document_load),
3346 (ps_document_get_page_size), (render_pixbuf_idle):
3349 More refactoring to adapt to EvDocument changes
3351 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
3353 * ps/ps-document.c: (start_interpreter):
3355 Actually add alpha args
3357 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
3359 * pdf/ev-poppler.cc:
3361 Make clipboard work again
3363 2005-04-04 Kristian Høgsberg <krh@redhat.com>
3365 Make searching work again.
3367 * backend/ev-document.c:
3368 * backend/ev-document.h:
3369 * backend/ev-document-find.c:
3370 * backend/ev-document-find.h: Change EvDocumentIface so we no
3371 longer store the current page or zoom level in the document. The
3372 consequence is that all calls that operate on the current page now
3373 instead take the page number as an extra argument, and all
3374 coordinates are now doubles in document coordinate system.
3376 * pdf/ev-poppler.cc:
3377 * pixbuf/pixbuf-document.c:
3378 * ps/ps-document.c: Update backends accordingly.
3380 2005-04-04 Marco Pesenti Gritti <marco@gnome.org>
3384 Add required gettext version
3386 Sat Apr 2 18:57:00 2005 Jonathan Blandford <jrb@redhat.com>
3388 * shell/evwindow.c: Patch from Alberto Mesas <amesas@gmail.com> to
3389 make F1 bring up non-existent help.
3391 * shell/eggfindbar.c: Patch from Christian Persch to sync to
3392 epiphany's find bar, #167477
3394 * shell/ev-view.c (ev_view_jump): Patch from Emil Soleyman-Zomalan
3395 <emil@nishra.com> to add space-bar scrolling,
3397 * shell/ev-window.c (static GtkActionEntry entries): add default
3398 keybinding for Help (F1)
3401 * shell/ev-view.c (ev_view_show_cursor): Fix from Yuval Tanny
3402 changing EV_VIEW_CURSOR_LINK to EV_VIEW_CURSOR_NORMAL resolves bug
3405 2005-04-01 David Malcolm <dmalcolm@redhat.com>
3408 * pixbuf/pixbuf-document.c:
3410 Got pixbuf backend working again
3412 2005-04-01 Steve Murphy <murf@e-tools.com>
3414 * configure.in: Added "rw" to ALL_LINGUAS.
3416 Fri Apr 1 02:33:41 2005 Jonathan Blandford <jrb@redhat.com>
3418 * shell/ev-sidebar-links.c (create_loading_model): Fix mismatch in
3419 model types, noticed by Martin Kretzschmar.
3421 2005-04-01 Kristian Høgsberg <krh@redhat.com>
3423 * pdf/ev-poppler.cc: Implement search based on
3424 poppler_page_find_text(). Currently a bit crude since we remember
3425 all matches from all pages. Also, we grab the big document lock
3426 when we search since searching changes the underlying stream and
3427 thus conflicts with the rendering thread.
3429 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
3430 (jump_to_find_page), (ev_view_set_document), (ev_view_find_next),
3431 (ev_view_find_previous): Fix some page indexes to be 0 based,
3432 offset rubber band by view offset,
3434 Fri Apr 01 09:21:12 2005 Pablo Saratxaga <pablo@mandrakesoft.com>
3436 * configure.ac: Added Walloon (wa) to ALL_LINGUAS.
3438 Fri Apr 1 01:59:39 2005 Jonathan Blandford <jrb@redhat.com>
3440 * shell/ev-page-action.c: Changed to use page labels now. Rewrote
3441 completely because I didn't understand GtkActions. I should
3442 read Marco's code more carefully in the future.
3444 * backend/ev-page-cache.h (ev_page_cache_set_page_label): New
3447 2005-03-31 Kristian Høgsberg <krh@redhat.com>
3449 * pdf/ev-poppler.cc (pdf_document_get_links): Update to work with
3450 PopplerRectangle change from poppler CVS.
3452 Thu Mar 31 13:27:50 2005 Jonathan Blandford <jrb@redhat.com>
3454 * backend/ev-document.c: (ev_document_get_page_label):
3455 * backend/ev-document.h:
3456 * backend/ev-page-cache.c: (_ev_page_cache_new),
3457 (ev_page_cache_get_page_label):
3458 * backend/ev-page-cache.h:
3459 * pdf/ev-poppler.cc:
3460 * shell/ev-sidebar-links.c: (ev_sidebar_links_construct),
3461 (links_page_num_func):
3462 * shell/ev-sidebar-thumbnails.c:
3463 (ev_sidebar_thumbnails_set_document):
3464 * shell/ev-view.c: (status_message_from_link),
3465 (ev_view_motion_notify_event):
3466 * shell/ev-window.c: (document_supports_sidebar): Add in page
3467 label support. It's not perfect yet, but it's the first 'feature'
3469 Also, fix a bogus comment noticed by crispin.
3471 Thu Mar 31 01:21:58 2005 Jonathan Blandford <jrb@redhat.com>
3473 * Makefile.am: Remove pixbuf backend for now
3475 * configure.ac: Require poppler-glib instead of just poppler.
3477 * backend/ev-document-thumbnails.h: Add a comment
3479 * backend/ev-document.h:
3480 * backend/ev-document.c: (ev_document_class_init),
3481 (ev_document_load), (ev_document_get_link),
3482 (ev_document_get_links): Remove 3 methods and add get_links.
3485 * backend/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
3486 * backend/ev-jobs.h: now EvJobRender can grab the links for a document.
3488 * backend/ev-link.c: (ev_link_set_title),
3489 (ev_link_mapping_free_foreach), (ev_link_mapping_free),
3490 (ev_link_mapping_find):
3491 * backend/ev-link.h: Allow NULL titles. Also, introduce a mapping link.
3493 * backend/ev-page-cache.c: (ev_page_cache_init),
3494 (_ev_page_cache_new), (ev_page_cache_set_current_page),
3495 (ev_page_cache_get_size), (ev_page_cache_next_page),
3496 (ev_page_cache_prev_page): Fix to be 0 based.
3500 * pdf/ev-poppler.cc: New backend.
3502 * ps/ps-document.c: (ps_document_init), (ps_document_set_page),
3503 (ps_document_get_page), (ps_document_document_iface_init):
3505 * shell/ev-pixbuf-cache.h:
3506 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
3507 (dispose_cache_job_info), (job_finished_cb), (move_one_job),
3508 (ev_pixbuf_cache_update_range), (copy_job_to_job_info),
3509 (add_job_if_needed), (ev_pixbuf_cache_set_page_range),
3510 (ev_pixbuf_cache_get_pixbuf), (ev_pixbuf_cache_get_link_mapping):
3511 Fix up code to grab a page cache per each doc. Also, fix to be 0
3514 * shell/ev-sidebar-thumbnails.c:
3515 (ev_sidebar_tree_selection_changed), (page_changed_cb),
3516 (ev_sidebar_thumbnails_set_document): Fix to be 0 based.
3518 * shell/ev-view.c: (status_message_from_link),
3519 (find_page_at_location), (get_link_at_location),
3520 (ev_view_motion_notify_event), (ev_view_button_release_event),
3521 (ev_view_init): Use the new link code. Fix to be 0 based.
3523 * shell/ev-window.c: (update_action_sensitivity),
3524 (document_supports_sidebar): 0 based.
3526 Fri Mar 25 16:55:58 2005 Jonathan Blandford <jrb@redhat.com>
3528 * pdf/pdf-document.cc: Patch from Fernando Herrera
3529 <fherrera@onirica.com> to fix my quick fix to get_thumbnail.
3532 Wed Mar 23 23:49:41 2005 Jonathan Blandford <jrb@redhat.com>
3534 * pdf/pdf-document.cc (pdf_document_thumbnails_get_thumbnail): add
3535 1 to the page, as this seems to be 1 based. I thought we has this
3538 2005-03-23 Marco Pesenti Gritti <marco@gnome.org>
3541 * backend/Makefile.am:
3542 * backend/ev-document-links.c:
3543 (ev_document_links_has_document_links),
3544 (ev_document_links_get_links_model):
3545 * backend/ev-document-links.h:
3546 * backend/ev-document.c: (ev_document_get_page_cache),
3547 (ev_document_get_doc_mutex), (ev_document_load),
3548 (ev_document_save), (ev_document_get_title),
3549 (ev_document_get_n_pages), (ev_document_set_page),
3550 (ev_document_get_page), (ev_document_set_target),
3551 (ev_document_set_scale), (ev_document_set_page_offset),
3552 (ev_document_get_page_size), (ev_document_get_text),
3553 (ev_document_get_link), (ev_document_render),
3554 (ev_document_render_pixbuf), (ev_document_scale_changed):
3555 * backend/ev-document.h:
3556 * backend/ev-job-queue.c: (remove_object_from_queue),
3557 (notify_finished), (handle_job), (search_for_jobs_unlocked),
3558 (no_jobs_available_unlocked), (ev_render_thread),
3559 (ev_job_queue_init), (find_queue), (ev_job_queue_add_job),
3560 (ev_job_queue_remove_job):
3561 * backend/ev-job-queue.h:
3562 * backend/ev-jobs.c: (ev_job_init), (ev_job_dispose),
3563 (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
3564 (ev_job_links_class_init), (ev_job_render_init),
3565 (ev_job_render_dispose), (ev_job_render_class_init),
3566 (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
3567 (ev_job_thumbnail_class_init), (ev_job_finished),
3568 (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
3569 (ev_job_render_run), (ev_job_thumbnail_new),
3570 (ev_job_thumbnail_run):
3571 * backend/ev-jobs.h:
3572 * backend/ev-link.c:
3573 * backend/ev-link.h:
3574 * backend/ev-page-cache.c: (ev_page_cache_init),
3575 (ev_page_cache_class_init), (ev_page_cache_finalize),
3576 (_ev_page_cache_new), (ev_page_cache_get_n_pages),
3577 (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
3578 (ev_page_cache_set_link), (ev_page_cache_get_title),
3579 (ev_page_cache_get_size), (ev_page_cache_next_page),
3580 (ev_page_cache_prev_page):
3581 * backend/ev-page-cache.h:
3582 * pdf/pdf-document.cc:
3585 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
3586 (push_pixbuf), (interpreter_failed), (ps_document_cleanup),
3587 (ps_document_widget_event), (ps_document_finalize), (get_xdpi),
3588 (get_ydpi), (setup_pixmap), (setup_page), (close_pipe),
3589 (is_interpreter_ready), (output), (catchPipe), (input),
3590 (start_interpreter), (check_filecompressed), (compute_dimensions),
3591 (ps_document_enable_interpreter), (document_load),
3592 (ps_document_next_page), (render_page), (ps_document_set_page),
3593 (ps_document_set_scale), (render_pixbuf_idle),
3594 (ps_document_render_pixbuf), (ps_document_document_iface_init):
3596 * shell/Makefile.am:
3597 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
3598 (ev_pixbuf_cache_class_init), (ev_pixbuf_cache_finalize),
3599 (dispose_cache_job_info), (ev_pixbuf_cache_dispose),
3600 (ev_pixbuf_cache_new), (job_finished_cb),
3601 (check_job_size_and_unref), (move_one_job),
3602 (ev_pixbuf_cache_update_range), (find_job_cache),
3603 (ev_pixbuf_cache_clear_job_sizes), (add_job_if_needed),
3604 (ev_pixbuf_cache_add_jobs_if_needed),
3605 (ev_pixbuf_cache_set_page_range), (ev_pixbuf_cache_get_pixbuf):
3606 * shell/ev-pixbuf-cache.h:
3607 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
3608 (idle_print_handler):
3609 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
3610 (selection_changed_cb), (create_loading_model),
3611 (ev_sidebar_links_construct), (links_page_num_func),
3612 (ev_sidebar_links_clear_document), (update_page_callback_foreach),
3613 (update_page_callback), (job_finished_cb),
3614 (ev_sidebar_links_set_document):
3615 * shell/ev-sidebar-thumbnails.c:
3616 (ev_sidebar_thumbnails_class_init), (adjustment_changed_cb),
3617 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init),
3618 (page_changed_cb), (thumbnail_job_completed_callback),
3619 (ev_sidebar_thumbnails_set_document):
3620 * shell/ev-sidebar-thumbnails.h:
3621 * shell/ev-sidebar.c: (ev_sidebar_set_document):
3622 * shell/ev-view.c: (ev_view_finalize), (ev_view_destroy),
3623 (ev_view_get_offsets), (ev_view_size_request), (ev_view_realize),
3624 (ev_view_unrealize), (highlight_find_results), (expose_bin_window),
3625 (ev_view_select_all), (ev_view_copy), (ev_view_primary_get_cb),
3626 (ev_view_create_invisible_cursor), (ev_view_motion_notify_event),
3627 (ev_view_button_release_event), (ev_view_scroll_view),
3628 (ev_view_class_init), (ev_view_init), (update_find_status_message),
3629 (jump_to_find_result), (jump_to_find_page), (find_changed_cb),
3630 (ev_view_new), (job_finished_cb), (page_changed_cb),
3631 (ev_view_set_document), (go_to_link), (ev_view_zoom),
3632 (size_to_zoom_factor), (ev_view_set_size), (ev_view_find_next),
3633 (ev_view_find_previous):
3635 * shell/ev-window.c: (update_action_sensitivity),
3636 (ev_window_open_page), (update_window_title), (update_total_pages),
3637 (page_changed_cb), (ev_window_setup_document),
3638 (password_dialog_response), (ev_window_cmd_save_as),
3639 (ev_window_print), (ev_window_cmd_go_previous_page),
3640 (ev_window_cmd_go_next_page), (ev_window_cmd_go_first_page),
3641 (ev_window_cmd_go_last_page), (ev_window_cmd_view_reload),
3642 (find_bar_search_changed_cb), (goto_page_cb), (ev_window_init):
3643 * shell/main.c: (main):
3645 Merge evince-threads branch
3647 2005-03-16 Žygimantas Beručka <uid0@akl.lt>
3649 * configure.ac: Added "lt" to ALL_LINGUAS.
3651 2005-03-14 Marco Pesenti Gritti <marco@gnome.org>
3658 2005-03-13 Fernando Herrera <fherrera@onirica.com>
3660 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3662 Fix here also the thumbnails 1-basedness :)
3664 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
3671 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
3673 * pdf/pdf-document.cc:
3674 * shell/ev-sidebar-thumbnails.c: (adjustment_changed_cb),
3675 (do_one_iteration), (ev_sidebar_thumbnails_set_document):
3677 Fix the mess we did with thumbnails and 1-basedness
3679 2005-03-12 Changwoo Ryu <cwryu@debian.org>
3681 * configure.ac (ALL_LINGUAS): Added "ko" (Korean).
3683 2005-03-09 Marco Pesenti Gritti <marco@gnome.org>
3690 2005-03-08 Marco Pesenti Gritti <marco@gnome.org>
3693 * ps/gsdefaults.c: (gtk_gs_defaults_get_interpreter_cmd),
3694 (gtk_gs_defaults_get_alpha_parameters),
3695 (gtk_gs_defaults_get_ungzip_cmd),
3696 (gtk_gs_defaults_get_unbzip2_cmd):
3698 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
3699 (ps_document_get_orientation), (document_load),
3700 (ps_document_goto_page), (ps_document_set_page_size):
3703 Some more sanitization of the ps backend. Remove a lot
3704 of unused code and do not base our defaults on ggv
3707 2005-03-08 Fernando Herrera <fherrera@onirica.com>
3709 * thumbnailer/evince-thumbnailer.schemas:
3710 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
3711 (main): add -s option for thumbnail size.
3713 2005-03-07 Christian Persch <chpe@cvs.gnome.org>
3717 AC_PROG_RANLIB is rendered obsolete by AC_PROG_LIBTOOL;
3720 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
3722 * pdf/pdf-document.cc:
3724 Remove 4 pixels of useless border from the
3727 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
3729 * backend/ev-document-thumbnails.c:
3730 (ev_document_thumbnails_get_thumbnail):
3731 * backend/ev-document-thumbnails.h:
3733 Rework API a bit. Add a border flag and
3734 change sizing logic (now the size we specify
3735 applies to the bigger dimension).
3737 * pdf/pdf-document.cc:
3738 * pixbuf/pixbuf-document.c:
3739 (pixbuf_document_thumbnails_get_thumbnail):
3740 * shell/ev-sidebar-thumbnails.c: (do_one_iteration):
3741 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3743 Adapt to the new API and do not draw a border for nautilus
3746 2005-03-03 Fernando Herrera <fherrera@onirica.com>
3748 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3749 take thumbnails from page "0" instead of "1". Added a copyright header.
3751 2005-03-03 Jens Granseuer <jensgr@gmx.net>
3753 * ps/ps-document.c: (set_up_page), (start_interpreter):
3755 Make it C89 compliant
3757 2005-03-03 Marco Pesenti Gritti <marco@gnome.org>
3762 * pdf/pdf-document.cc:
3763 * thumbnailer/Makefile.am:
3764 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
3766 * thumbnailer/evince-thumbnailer.schemas:
3767 * thumbnailer/pdf-icon.png:
3769 Add a nautilus thumbnailer.
3770 Based on patch by Fernando Herrera <fherrera@onirica.com>.
3772 2005-03-02 Marco Pesenti Gritti <marco@gnome.org>
3780 2005-03-01 Kristian Høgsberg <krh@redhat.com>
3782 Use poppler instead of including xpdf source code. Poppler is a
3783 fork of xpdf to build it as a shared library. See
3784 http://freedesktop.org/wiki/Software/poppler.
3786 * pdf/xpdf/*, pdf/goo/*, pdf/splash/*, pdf/fofi/*: Remove included
3789 * pdf/Makefile.am: Build libpdfdocument.a here.
3791 * pdf/GDKSplashOutputDev.cc:
3792 * pdf/GDKSplashOutputDev.h:
3793 * pdf/GnomeVFSStream.cc:
3794 * pdf/GnomeVFSStream.h:
3797 * test-gdk-output-dev.cc
3799 * Thumb.h: Pull these files out of pdf/xpdf and adjust to compile
3802 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
3804 * shell/ev-sidebar-links.c: (ev_sidebar_links_clear_document):
3806 Clear idle stack before unsetting the document
3808 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
3810 * ps/ps-document.c: (ps_document_widget_event),
3811 (ps_document_set_target), (ps_document_finalize),
3812 (ps_document_get_page):
3814 Disconnect the widget event signal on finalize.
3817 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
3819 * ps/ps-document.c: (set_up_page):
3821 If there is no bpixmap create one, even if size
3824 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
3826 * ps/ps-document.c: (ps_document_init), (ps_document_cleanup),
3827 (set_up_page), (document_load), (ps_document_set_zoom):
3829 Default page is 0. Calculate size even when we have no
3832 2005-02-28 Carlos Garcia Campos <carlosgc@gnome.org>
3834 * shell/ev-sidebar.c: expand the selection widget to be always as
3837 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
3839 * shell/ev-sidebar-thumbnails.c:
3840 (ev_sidebar_thumbnails_set_document):
3842 Clear the list store when setting document
3844 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
3846 * shell/ev-page-action.c: (update_entry), (sync_entry),
3847 (activate_cb), (entry_size_request_cb), (create_tool_item),
3850 Use an entry for the page control instead of spinbuttons
3852 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
3854 * data/evince.schemas.in:
3856 Correct confusing string
3858 Sun Feb 27 23:00:31 2005 Jonathan Blandford <jrb@redhat.com>
3860 * shell/ev-sidebar-links.c (do_one_iteration): Handle title links
3861 for real. Gosh, how long has this been broken.
3863 * pdf/xpdf/pdf-document.cc (build_link_from_action): add back the
3864 check for a NULL link. We crash otherwise.
3866 2005-02-27 Marco Pesenti Gritti <marco@gnome.org>
3873 2005-02-25 Sebastien Bacher <seb128@debian.org>
3875 * configure.ac: add the french translation.
3877 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
3879 * shell/ev-window.c:
3881 Remove unused header -> fix distcheck
3883 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
3885 * shell/ev-window.c: (update_window_title),
3886 (ev_window_popup_password_dialog):
3888 Unescape filename for display
3890 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
3892 * pdf/xpdf/pdf-document.cc:
3894 In get_page_size deal with rotation. Also
3895 cleanup the function a bit.
3897 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
3899 * pdf/xpdf/pdf-document.cc:
3901 Fix crash when opening in new window
3903 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
3907 Check ghostscript >= 7
3909 2005-02-25 Pedro Villavicencio <pvillavi@gnome.cl>
3911 * shell/ev-window.c:
3913 Make page width the default sizing mode
3915 2005-02-25 Carlos Garcia Campos <carlosgc@gnome.org>
3916 Marco Pesenti Gritti <marco@gnome.org>
3918 * shell/ev-window.c: Remember the sidebar size
3920 * data/evince.schemas.in: Add a new gconf key to store the size of
3923 2005-02-24 Kai Willadsen <kaiw@itee.uq.edu.au>
3925 * data/evince-ui.xml:
3926 * shell/ev-window.c: (update_action_sensitivity),
3927 (ev_window_cmd_view_reload):
3929 Add a "Reload" action and menu entry
3931 Thu Feb 24 23:07:33 2005 Jonathan Blandford <jrb@redhat.com>
3933 * shell/ev-window.c (hide_sidebar_and_actions): Hide the sidebar
3934 iff the type doesn't support thumbnailing and indexing.
3936 2005-02-24 Martin Kretzschmar <martink@gnome.org>
3938 * configure.ac (ALL_LINGUAS): Added "zh_TW" (Traditional Chinese).
3940 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
3942 * pdf/splash/Splash.cc:
3944 Port fix for a crasher from kde bug
3945 http://bugs.kde.org/show_bug.cgi?id=97131
3947 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
3949 * pdf/xpdf/pdf-document.cc:
3951 Return a link even if it's of an unrecognized
3952 type. Otherwise we go in an infinte cycle.
3954 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
3956 * shell/ev-window.c: (update_sizing_buttons), (update_view_size),
3957 (size_allocate_cb), (ev_window_set_sizing_mode):
3959 Update size when switching mode
3961 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
3963 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
3964 (ev_window_cmd_view_page_width), (update_sizing_buttons),
3965 (ev_window_cmd_view_normal_size):
3967 Fix size toggle buttons behavior
3969 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
3971 * shell/ev-view.c: (ev_view_get_offsets), (view_rect_to_doc_rect),
3972 (doc_rect_to_view_rect), (ev_view_size_allocate),
3973 (expose_bin_window), (ev_view_select_all), (page_changed_callback),
3974 (scale_changed_callback):
3976 Do not cache offsets in size_allocate.
3978 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
3980 * shell/ev-view.c: (ev_view_size_allocate):
3982 Calculate offsets before calling the parent
3983 class (which does a redraw)
3985 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
3987 * pdf/xpdf/pdf-document.cc:
3989 Fix a crasher on exit. Unused code, put a TODO
3991 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
3993 * backend/ev-document.c: (ev_document_class_init),
3994 (ev_document_page_changed), (ev_document_scale_changed):
3995 * backend/ev-document.h:
3997 Separate page/scale notifications
3999 * pdf/xpdf/pdf-document.cc:
4001 Emit the new signals.
4002 Do not display the pdf page in _render, do it
4003 when scale/page are requested.
4005 * ps/ps-document.c: (ps_document_set_zoom),
4006 (ps_document_widget_event):
4009 Emit the new signals.
4011 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
4012 (ev_view_init), (page_changed_callback), (scale_changed_callback),
4013 (ev_view_set_document), (ev_view_zoom), (ev_view_zoom_in),
4014 (ev_view_zoom_out), (size_to_zoom_factor), (ev_view_set_size):
4016 * shell/ev-window.c: (ev_window_cmd_view_normal_size),
4017 (ev_window_cmd_view_page_width), (size_allocate_cb),
4018 (ev_window_set_sizing_mode):
4020 Rework sizing to be pixel based.
4021 There are bugs but should be already way better.
4023 2005-02-23 Marco Pesenti Gritti <marco@gnome.org>
4025 * shell/ev-window.c: (ev_window_init):
4027 Do not allow to shrink sidebar smaller then
4030 2005-02-23 Carlos Garcia Campos <carlosgc@gnome.org>
4032 * shell/ev-sidebar.[ch]
4033 * shell/ev-window.c:
4035 Improved sidebar widget. Fixes #166683
4037 2005-02-23 Tommi Vainikainen <thv@iki.fi>
4039 * shell/ev-view.c (update_find_status_message): Give translators
4040 more flexibility with ngettext plural handling.
4042 Mon Feb 21 17:52:08 2005 Jonathan Blandford <jrb@redhat.com>
4044 * pdf/xpdf/pdf-document.cc (pdf_document_get_page_size): Patch
4045 from Crispin Flowerday <gnome@flowerday.cx> to avoid rendering the
4046 page when we get the page size.
4048 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
4050 * ps/ps-document.c: (ps_document_set_page), (ps_document_get_page):
4052 ps pages are 0 based, convert
4054 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
4056 * ps/ps-document.c: (ps_document_class_init), (ps_document_load):
4058 Initialize correct parent class. Set GError on document load
4060 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
4062 * pdf/xpdf/pdf-document.cc:
4064 Fixup selection offset calculation
4066 * shell/ev-view.c: (view_rect_to_doc_rect),
4067 (doc_rect_to_view_rect), (ev_view_size_allocate),
4068 (expose_bin_window), (ev_view_select_all), (ev_view_copy),
4069 (ev_view_primary_get_cb), (ev_view_motion_notify_event):
4071 Store selection as document relative, so that zooming
4072 and offset changing doesnt break it.
4074 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
4076 * shell/ev-view.c: (ev_view_best_fit):
4078 Do not try to best fit if the view is not realized
4080 2005-02-20 Kostas Papadimas <pkst@gnome.org>
4082 * configure.ac (ALL_LINGUAS): Added "el" (Greek).
4084 Fri Feb 18 16:06:39 2005 Jonathan Blandford <jrb@redhat.com>
4086 * shell/ev-window.c (ev_window_focus_in_event): missed a case.
4088 Fri Feb 18 15:32:57 2005 Jonathan Blandford <jrb@redhat.com>
4090 * shell/ev-window.c: Change the fullscreen toolbar to always be in
4091 the popup window. That prevents it resizing when in full screen
4094 * shell/ev-view.c: Change Zoom epsilon as a bad hack to avoid
4095 multiple rerenders. This pretty much sucks.
4097 * data/evince-ui.xml: Change the fullscreen toolbar to include the
4098 rest of the toolbar.
4100 2005-02-18 Tommi Vainikainen <thv@iki.fi>
4102 * configure.ac (ALL_LINGUAS): Added "fi" (Finnish).
4104 2005-02-17 Alexander Shopov <ash@contact.bg>
4106 * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
4108 2005-02-16 Bryan Clark <clarkbw@cvs.gnome.org>
4110 * shell/ev-window.c: added ellipsis to Print item. Fixes bug 166915
4112 2005-02-16 Marco Pesenti Gritti <marco@gnome.org>
4114 * shell/ev-view.c: (ev_view_realize), (highlight_find_results),
4115 (ev_view_create_invisible_cursor), (ev_view_set_cursor),
4116 (set_document_page), (document_changed_callback),
4117 (ev_view_set_document), (ev_view_find_previous),
4118 (ev_view_hide_cursor), (ev_view_show_cursor):
4120 * shell/ev-window.c: (update_chrome_visibility),
4121 (fullscreen_timeout_cb), (fullscreen_set_timeout),
4122 (fullscreen_clear_timeout), (fullscreen_motion_notify_cb),
4123 (fullscreen_leave_notify_cb), (ev_window_fullscreen),
4124 (ev_window_unfullscreen):
4125 * shell/main.c: (main):
4127 Automatically hide the fullscreen button.
4128 Patch by Kristian Høgsberg <krh@redhat.com>
4130 2005-02-16 Vincent Noel <vnoel@cox.net>
4132 * shell/main.c (main): Specify an icon for the window. Patch by
4133 Jaap A. Haitsma. Fixes #166177.
4135 Wed Feb 16 06:30:13 2005 Jonathan Blandford <jrb@redhat.com>
4137 * shell/ev-view.c (ev_view_realize): get rid of the black flash.
4139 Tue Feb 15 22:27:13 2005 Jonathan Blandford <jrb@redhat.com>
4141 * backend/ev-document-misc.h:
4142 * backend/ev-document-misc.c:
4143 (ev_document_misc_get_page_border_size),
4144 (ev_document_misc_paint_one_page): New function to canonicalize
4145 sizing/painting a border.
4147 * shell/Makefile.am: Remove ev-page-view.c entirely as it's not
4150 * pdf/xpdf/pdf-document.cc: use new function
4152 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
4153 (ev_view_init), (ev_view_set_mode), (ev_view_zoom),
4154 (ev_view_best_fit), (ev_view_fit_width): * shell/ev-view.h: *
4155 shell/ev-window.c: (update_sizing_buttons),
4156 (ev_window_setup_document), (ev_window_cmd_view_zoom_in),
4157 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_best_fit),
4158 (ev_window_cmd_view_page_width), (size_allocate_cb),
4159 (ev_window_set_sizing_mode), (ev_window_init): make the "best fit"
4160 and "fit width" values act as toggle buttons so they stay
4161 toggled. It's not 100% perfect, and it's a little slow, but it's
4162 good enough to commit I think.
4164 2005-02-15 David Lodge <dave@cirt.net>
4166 * configure.ac (ALL_LINGUAS): Added "en_GB" (English (British)).
4168 2005-02-15 Martin Kretzschmar <martink@gnome.org>
4170 * shell/ev-window.c (update_window_title): replace newlines in
4171 the title by spaces. Bug #166107.
4173 2005-02-14 Martin Kretzschmar <martink@gnome.org>
4175 * shell/ev-view.c (ev_view_best_fit, ev_view_fit_width): add
4176 parameters providing allocation width and height without
4177 scrollbars and width of a possible vertical scrollbar. With this
4178 additional information the functions can work as
4179 intended. Unfortunately they're not idempotent. We should
4180 transform these commands to toggles. Fixes Bug #164976
4181 Initial patch by Stephane Loeuillet, then heavily modified.
4183 * shell/ev-view.h: update prototypes.
4185 * shell/ev-window.c (ev_window_cmd_view_best_fit)
4186 (ev_window_cmd_view_page_width): provide EvView fit functions with
4187 all the information they need. Formulas to calculate this
4188 information taken from GtkScrolledWindow.
4190 2005-02-14 Crispin Flowerday <gnome@flowerday.cx>
4192 * shell/ev-sidebar-thumbnails.c: Ensure that after we have
4193 created a thumbnail, the list store is updated to know
4194 that the thumbnail is set. Fixes bug #166792
4196 2005-02-11 Bryan Clark <clarkbw@cvs.gnome.org>
4198 * shell/ev-window.c: fixed typo, closes bug 166897
4200 * TODO: updated TODO with bug numbers that are relevant
4202 2005-02-09 Carlos Garcia Campos <carlosgc@gnome.org>
4204 * shell/ev-window.c: Support for DnD of files. Fixes #164813
4206 2005-02-09 Vincent Noel <vnoel@cox.net>
4208 * shell/ev-window.c: (set_action_properties): Set the "Previous"
4209 and "Next" toolbar buttons as important to make them stand out.
4211 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
4215 * ps/ps-document.c: (ps_document_finalize), (set_up_page),
4216 (start_interpreter), (stop_interpreter), (document_load),
4217 (ps_document_next_page), (ps_document_goto_page),
4218 (ps_document_set_page_size), (ps_document_widget_event),
4219 (ps_document_render):
4220 * shell/ev-page-view.c: (ev_page_view_dispose):
4221 * shell/ev-view.c: (ev_view_finalize), (expose_bin_window):
4223 Fix compilation on non-gcc platforms
4225 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
4232 * pdf/xpdf/Catalog.cc:
4235 Fix the fix for CAN-2004-0888
4237 2005-02-09 Luca Ferretti <elle.uca@libero.it>
4240 * data/evince-ui.xml:
4241 * shell/ev-stock-icons.c: (ev_stock_icons_init):
4242 * shell/ev-stock-icons.h:
4243 * shell/ev-window.c: (update_action_sensitivity),
4244 (ev_window_cmd_go_previous_page), (ev_window_cmd_go_next_page),
4245 (set_action_properties):
4247 Improve toolbar layout/icons
4249 2005-02-08 Marco Pesenti Gritti <marco@gnome.org>
4251 * pdf/xpdf/pdf-document.cc:
4253 Add warnings about unimplemented/unknown link
4256 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4258 * ps/ps-document.c: (set_up_page):
4262 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4264 * ps/ps-document.c: (start_interpreter):
4268 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4270 * shell/ev-page-view.c: (ev_page_view_dispose):
4271 * shell/ev-view.c: (ev_view_finalize):
4272 * shell/ev-window.c: (ev_window_setup_document),
4273 (ev_window_dispose), (ev_window_init):
4275 Solve more refs issues.
4277 I commented out the page_view initialization for now:
4278 it was never destroyed (because it's never added
4279 to a container). Because of that we was leaking
4280 gs processes. Couldnt think to a clean fix.
4281 We need to figure this out, password view has the
4282 same issue probably.
4284 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4286 * ps/ps-document.c: (ps_document_finalize),
4287 (ps_document_get_n_pages), (ps_document_get_page):
4289 Some cleanups, stop the interpreter on finalize
4291 * shell/ev-page-view.c: (ev_page_view_dispose),
4292 (ev_page_view_class_init):
4294 Release our reference on the document
4296 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4300 * doc/debugging.txt:
4303 * lib/ev-debug.c: (log_module), (trap_handler), (ev_debug_init),
4304 (ev_profiler_new), (ev_should_profile), (ev_profiler_dump),
4305 (ev_profiler_free), (ev_profiler_start), (ev_profiler_stop):
4308 Add debugging helpers
4311 * ps/ps-document.c: (set_up_page), (start_interpreter),
4312 (stop_interpreter), (document_load), (ps_document_next_page),
4313 (ps_document_goto_page), (ps_document_set_page_size),
4314 (ps_document_widget_event), (ps_document_render):
4315 * shell/Makefile.am:
4316 * shell/ev-view.c: (expose_bin_window):
4317 * shell/main.c: (main):
4321 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4323 * ps/ps-document.c: (ps_document_widget_event):
4325 Initialize message_window, this should make ps
4326 rendering really work! (Never noticed because I was
4327 testing with a ps that is causing gs to exit every time!)
4329 2005-02-07 Bryan Clark <clarkbw@cvs.gnome.org>
4331 * data/evince.schemas.in: updated simple error in applyto closing tag
4333 2005-02-07 Christian Persch <chpe@cvs.gnome.org>
4339 * data/evince-ui.xml:
4340 A data/evince.schemas.in:
4342 * shell/ev-stock-icons.c: (ev_stock_icons_init):
4343 * shell/ev-stock-icons.h:
4344 * shell/ev-window.c: (update_chrome_visibility),
4345 (update_chrome_flag), (ev_window_cmd_edit_find),
4346 (ev_window_update_fullscreen_popup), (ev_window_fullscreen),
4347 (ev_window_unfullscreen), (ev_window_focus_in_event),
4348 (ev_window_focus_out_event), (ev_window_cmd_leave_fullscreen),
4349 (ev_window_view_toolbar_cb), (ev_window_view_statusbar_cb),
4350 (ev_window_view_sidebar_cb), (find_bar_close_cb),
4351 (ev_window_dispose), (ev_window_class_init),
4352 (set_action_properties), (set_chrome_actions), (load_chrome),
4355 Implement fullscreen mode changes from bug #164776.
4356 Also implement persistent chrome toggles.
4358 2005-02-07 Jordi Mallach <jordi@sindominio.net>
4360 * configure.ac (ALL_LINGUAS): Added "ca" (Catalan).
4362 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
4368 Add another check for find interface
4372 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
4374 * shell/ev-application.c: (ev_application_open):
4375 * shell/ev-window.c: (ev_window_open):
4377 Open gzipped ps documents
4379 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
4382 * shell/ev-view.c: (set_document_page):
4384 Clamp page number, dont try to move to
4387 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
4389 * backend/ev-document-find.c: (ev_document_find_changed):
4390 * backend/ev-document-find.h:
4391 * pdf/xpdf/pdf-document.cc:
4392 * shell/ev-view.c: (jump_to_find_result), (ev_view_set_document):
4393 * shell/ev-window.c: (find_bar_search_changed_cb):
4395 Fix several bugs with find
4397 2005-02-04 Martin Kretzschmar <martink@gnome.org>
4399 * shell/ev-sidebar-thumbnails.c
4400 (ev_sidebar_thumbnails_select_page): do nothing unless we have a
4401 document. Prevents warning from scroll_to_cell.
4403 2005-02-02 Kjartan Maraas <kmaraas@gnome.org>
4405 * configure.ac: Add «nb» to ALL_LINGUAS too.
4407 Wed Feb 2 21:13:11 2005 Jonathan Blandford <jrb@redhat.com>
4409 * NOTES: New file with some random thoughts.
4413 * backend/ev-document-misc.c:
4414 (ev_document_misc_get_page_border_size): New function to
4415 canonicalize shadow drawing sizes. Possibly goofy.
4417 * shell/ev-view.c: (ev_view_size_request), (set_document_page),
4418 (ev_view_best_fit), (ev_view_fit_width):
4419 * pdf/xpdf/pdf-document.cc:
4420 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
4421 * ps/ps-document.c: (ps_document_get_page_size):
4422 * backend/ev-document-misc.h:
4423 * backend/ev-document.c: (ev_document_get_page_size):
4424 * backend/ev-document.h: get_page_size now takes a page number
4425 parameter. Made all the backends/frontends honor it.
4427 * data/evince-ui.xml: Added a multiple-page mode. Uncomment to
4428 see. Doesn't work yet.
4430 * shell/Makefile.am:
4431 * shell/ev-page-view.[ch]: New multi-page view. Really rough.
4432 Doesn't do anything yet.
4434 * shell/ev-sidebar-thumbnails.c:
4435 (ev_sidebar_thumbnails_set_document): [1..n_pages] instead of
4438 * shell/ev-window.c: (update_action_sensitivity),
4439 (ev_window_setup_document), (ev_window_set_page_mode),
4440 (ev_window_page_mode_cb), (ev_window_init): Clean up the
4441 view-swapping code a bit so we can have multiple views on a
4442 document. Add the multi-page view, though it can't be turned on
4445 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
4447 * shell/ev-application.c: (ev_application_open):
4448 * shell/ev-view.c: (expose_bin_window):
4449 * shell/ev-window.c: (ev_window_open):
4451 Support eps and check document supports find
4452 before drawing highlightings in expose.
4454 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
4456 * pixbuf/pixbuf-document.c:
4457 (pixbuf_document_thumbnails_get_dimensions),
4458 (pixbuf_document_document_thumbnails_iface_init):
4460 implement get_dimensions
4462 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
4469 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
4471 * shell/ev-view.c: (set_document_page):
4473 Scroll at the top of the page when changing page
4475 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
4477 * shell/ev-view.c: (ev_view_motion_notify_event):
4479 Do not redraw unnecessarily
4481 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
4483 * pdf/xpdf/pdf-document.cc:
4484 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
4485 (expose_bin_window), (find_changed_cb):
4487 Yay! find works now... Now to find bugs...
4489 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
4491 * backend/ev-document-find.c: (ev_document_find_base_init),
4492 (ev_document_find_changed):
4493 * backend/ev-document-find.h:
4494 * pdf/xpdf/pdf-document.cc:
4495 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
4496 (expose_bin_window), (ev_view_init), (set_document_page),
4497 (ensure_rectangle_is_visible), (jump_to_find_result),
4498 (jump_to_find_page), (find_changed_cb), (ev_view_set_document),
4499 (ev_view_find_next), (ev_view_find_previous):
4501 * shell/ev-window.c: (find_bar_previous_cb), (find_bar_next_cb):
4503 More work on find implementation, mostly there now
4505 2005-01-29 Marco Pesenti Gritti <marco@gnome.org>
4507 * backend/ev-backend-marshalers.list:
4508 * backend/ev-document-find.c: (ev_document_find_base_init),
4509 (ev_document_find_cancel), (ev_document_find_page_has_results),
4510 (ev_document_find_get_n_results), (ev_document_find_get_result),
4511 (ev_document_find_get_progress), (ev_document_find_changed):
4512 * backend/ev-document-find.h:
4514 Enanche the find interface to be really able to do
4517 * pdf/xpdf/pdf-document.cc:
4521 * shell/ev-view.c: (ev_view_finalize), (highlight_find_results),
4522 (expose_bin_window), (ev_view_init),
4523 (ev_view_get_find_status_message), (find_changed_cb),
4524 (ev_view_set_document), (set_document_page):
4526 Adapt to the new interface. A few things are regressed sorry,
4527 I will finish it soon.
4529 2005-01-28 Martin Kretzschmar <martink@gnome.org>
4531 * shell/ev-sidebar-thumbnails.c (ev_sidebar_thumbnails_destroy)
4532 (ev_sidebar_thumbnails_class_init): use G_DEFINE_TYPE-supplied
4533 ev_sidebar_thumbnails_parent_class variable, don't define another
4534 parent_class variable.
4536 * shell/ev-page-action.c (connect_proxy, ev_page_action_finalize)
4537 (ev_page_action_class_init): ditto.
4539 * pixbuf/pixbuf-document.c (pixbuf_document_finalize)
4540 (pixbuf_document_class_init): ditto.
4542 * backend/ev-link.c (ev_window_dispose, ev_link_class_init):
4545 * .cvsignore: ignore various valgrind output files.
4547 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
4549 * data/evince-ui.xml:
4550 * shell/Makefile.am:
4551 * shell/ev-history.c:
4552 * shell/ev-history.h:
4553 * shell/ev-navigation-action.c:
4554 * shell/ev-navigation-action.h:
4555 * shell/ev-view.c: (ev_view_finalize), (ev_view_go_to_link),
4556 (ev_view_set_page), (ev_view_fit_width):
4558 * shell/ev-window.c: (update_action_sensitivity),
4559 (ev_window_setup_document), (register_custom_actions):
4561 Kill session history
4563 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
4565 * shell/ev-window.c: (update_action_sensitivity):
4567 Fix inverted up/down buttons
4569 2005-01-27 Martin Kretzschmar <martink@gnome.org>
4571 * shell/ev-sidebar-thumbnails.c
4572 (ev_sidebar_thumbnails_select_page): make sure the selected
4573 thumbnail stays visible.
4575 2005-01-26 Martin Kretzschmar <martink@gnome.org>
4577 * shell/ev-window.c (ev_window_init): add GTK_SHADOW_IN to the
4578 scrolled window for Federico.
4580 2005-01-26 Ole Laursen <olau@hardworking.dk>
4582 * configure.ac: Added "da" (Danish) to ALL_LINGUAS.
4584 2005-01-26 Marco Pesenti Gritti <marco@gnome.org>
4587 * pdf/splash/SplashFTFontEngine.cc:
4589 Fix CID fonts with freetype 2.1.9
4591 2005-01-26 Bryan Clark <clarkbw@cvs.gnome.org>
4593 * TODO: added item for desktop icon thumbnailer
4595 Tue Jan 25 00:59:34 2005 Jonathan Blandford <jrb@redhat.com>
4597 * pdf/xpdf/pdf-document.cc (pdf_document_get_title): guard against
4598 unloaded docs when the title is accessed.
4600 * shell/ev-password-view.[hc]: New widget for displaying password
4603 * shell/ev-window.[ch]: Refactor password handling code to handle
4606 2005-01-24 Marco Pesenti Gritti <marco@gnome.org>
4614 2005-01-23 Stephane LOEUILLET <stephane.loeuillet@tiscali.fr>
4616 * pdf/xpdf/pdf-document.cc (pdf_document_search_page_changed):
4617 ignore page offset here, to make search results independent of it,
4619 * shell/ev-view.c (expose_bin_window): but take offsets into
4620 account here. Bug #164932
4622 * pdf/xpdf/pdf-document.cc (pdf_document_get_link): divide by
4623 scale at the right time. Bug #164996
4625 2005-01-22 Martin Kretzschmar <martink@gnome.org>
4627 * pdf/xpdf/GlobalParams.cc: My 2005-01-05 change didn't actually
4628 fix the problem. Now I just removed the Adobe font names and hope
4629 that the URW fonts are always in outline format. Bug #164934
4631 * shell/ev-window.c (update_window_title): empty titles are
4632 useless, use filename in that case too.
4634 * NEWS: Add some content.
4636 2005-01-21 Bryan Clark <clarkbw@cvs.gnome.org>
4638 * TODO: added one more TODO item and a TODONE section :)
4640 2005-01-21 Martin Kretzschmar <martink@gnome.org>
4642 * ps/ps-document.h: add page_[xy]_offset fields.
4644 * ps/ps-document.c (ps_document_set_page_offset)
4645 (ps_document_render): Keep offset in consideration in a few
4646 places. Bug #164752 "postscript documents are not centered in
4649 * data/evince.desktop.in (X-GNOME-Bugzilla-Product):
4650 s/gpdf/evince/. Spotted by Stephane Loeuillet.
4652 * pixbuf/pixbuf-document.c (pixbuf_document_get_n_pages)
4653 (pixbuf_document_get_text, pixbuf_document_document_iface_init):
4654 stub out missing methods for complete EvDocument implementation.
4655 Fixes segfaults with Save A Copy and Copy actions.
4657 * ps/ps-document.c (ps_document_save, ps_document_get_text)
4658 (ps_document_document_iface_init): ditto.
4660 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
4664 * data/evince.desktop.in:
4668 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
4670 * shell/ev-view.c: (ev_view_button_press_event),
4671 (ev_view_motion_notify_event):
4673 Make selection work in any direction
4675 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
4678 * shell/ev-window.c: (set_short_labels), (ev_window_init):
4680 Use shorter labels for some of the toolbars items
4682 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
4684 * pdf/xpdf/pdf-document.cc:
4686 Check the links info is initialized before
4687 using it. Should fix a crash on startup.
4689 2005-01-21 Martin Kretzschmar <martink@gnome.org>
4691 * pixbuf/pixbuf-document.c
4692 (pixbuf_document_thumbnails_get_dimensions): force floating point
4693 division to calculate page_ratio. Fixes crash with landscape
4696 Thu Jan 20 18:56:35 2005 Jonathan Blandford <jrb@redhat.com>
4698 * shell/ev-view.c (ev_view_realize): make the bg color darker.
4700 2005-01-20 Martin Kretzschmar <martink@gnome.org>
4702 * shell/ev-view.c (set_document_page): unset has_selection when
4704 (set_document_page): handle paper size changes when the page
4705 changes (test with Free Culture, page 2).
4707 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
4709 * shell/ev-view.c: (ev_view_size_request), (ev_view_realize),
4710 (expose_bin_window), (ev_view_class_init), (ev_view_init):
4712 Use normal style color for the widget background and
4713 draw a black box around the page.
4715 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
4717 * pdf/xpdf/pdf-document.cc:
4719 Keep offset in consideration in a few places
4721 * shell/ev-view.c: (expose_bin_window):
4723 Set the offsets so that the document is ever centered
4725 2005-01-20 Bryan Clark <clarkbw@cvs.gnome.org>
4727 * TODO: Added TODO items and finished off the first todo item
4729 * AUTHORS: Updated AUTHORS section with piece from gpdf file and
4730 reflect current authors
4732 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
4734 * pdf/xpdf/pdf-document.cc:
4735 * shell/ev-view.c: (ev_view_set_cursor),
4736 (ev_view_motion_notify_event), (document_changed_callback),
4737 (set_document_page):
4739 Show a wait cursor while the page is rendering
4741 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
4743 * shell/ev-sidebar-thumbnails.c:
4744 (ev_sidebar_tree_selection_changed),
4745 (ev_sidebar_thumbnails_select_page):
4746 * shell/ev-sidebar-thumbnails.h:
4747 * shell/ev-view.c: (ev_view_set_document), (ev_view_can_go_back),
4748 (ev_view_can_go_forward):
4749 * shell/ev-window.c: (ev_window_open_page),
4750 (ev_window_setup_document), (update_current_page),
4751 (view_page_changed_cb), (ev_window_init):
4752 * shell/ev-window.h:
4754 Ensure thumbnails selection, toolbar page control and
4755 current page are in sync.
4757 2005-01-19 Marco Pesenti Gritti <marco@gnome.org>
4763 Wed Jan 19 01:10:57 2005 Jonathan Blandford <jrb@redhat.com>
4765 * backend/Makefile.am:
4766 * backend/ev-document-links.h:
4767 * backend/ev-document-security.c: (ev_document_security_get_type),
4768 (ev_document_security_has_document_security),
4769 (ev_document_security_set_password):
4770 * backend/ev-document-security.h:
4771 * backend/ev-document.c: (ev_document_error_quark):
4772 * backend/ev-document.h:
4774 * data/evince-password.glade:
4775 * pdf/xpdf/pdf-document.cc:
4776 * shell/Makefile.am:
4777 * shell/ev-password.c: (ev_password_set_bad_password_label),
4778 (ev_window_password_entry_changed_cb), (ev_password_dialog_new),
4779 (ev_password_dialog_get_password),
4780 (ev_password_dialog_set_bad_pass):
4781 * shell/ev-password.h:
4782 * shell/ev-window.c: (ev_window_get_attribute),
4783 (ev_window_set_property), (update_action_sensitivity),
4784 (ev_window_is_empty), (mime_type_supported_by_gdk_pixbuf),
4785 (ev_window_setup_document), (ev_window_get_password),
4786 (ev_window_open), (ev_window_cmd_save_as),
4787 (using_postscript_printer), (ev_window_print),
4788 (find_not_supported_dialog), (ev_window_cmd_edit_find),
4789 (update_fullscreen_popup), (ev_window_fullscreen),
4790 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
4791 (ev_window_focus_out_cb), (ev_window_cmd_help_about),
4792 (menu_item_select_cb), (find_bar_search_changed_cb),
4793 (ev_window_dispose), (ev_window_init):
4795 Add initial support for password-supported dialogs. This could be
4796 a lot cooler, but it'll do for now.
4798 2005-01-18 Marco Pesenti Gritti <marco@gnome.org>
4800 * pdf/xpdf/pdf-document.cc:
4801 * shell/ev-view.c: (status_message_from_link),
4802 (ev_view_set_status), (ev_view_set_cursor),
4803 (ev_view_motion_notify_event), (ev_view_init):
4804 * shell/ev-window.c: (view_status_changed_cb), (ev_window_init):
4806 Fix bugs in the links implementation and change cursor
4807 when hovering a link.
4809 2005-01-17 Bryan Clark <clarkbw@cvs.gnome.org>
4811 * viewer/.cvsignore: added cvsignore file for viewer directory
4813 * TODO: created TODO document
4815 2005-01-14 Dave Malcolm <dmalcolm@redhat.com>
4818 * shell/ev-view.c (ev_view_can_go_back), (ev_view_can_go_forward):
4819 new functions to help with implementation of sensitivity code
4820 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
4821 of all actions that might require it. Fixes a crash when you
4822 click on the Zoom actions in a window lacking a document.
4824 2005-01-13 Dave Malcolm <dmalcolm@redhat.com>
4826 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
4829 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
4831 * pixbuf/pixbuf-document.c: (pixbuf_document_get_link),
4832 (pixbuf_document_document_iface_init):
4833 * ps/ps-document.c: (ps_document_get_link),
4834 (ps_document_document_iface_init):
4835 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event),
4836 (status_message_from_link), (ev_view_set_status),
4837 (ev_view_set_find_status), (ev_view_motion_notify_event),
4838 (ev_view_button_release_event), (ev_view_set_property),
4839 (ev_view_get_property), (ev_view_class_init), (ev_view_init),
4840 (ev_view_get_find_status_message), (update_find_results),
4841 (ev_view_get_status), (ev_view_get_find_status):
4843 * shell/ev-window.c: (view_status_changed_cb),
4844 (view_find_status_changed_cb), (ev_window_init):
4846 View status message support, use it to show the links.
4849 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
4851 * backend/ev-document.c: (ev_document_get_link):
4852 * backend/ev-document.h:
4853 * pdf/xpdf/pdf-document.cc:
4854 * shell/ev-application.c: (ev_application_open):
4855 * shell/ev-application.h:
4856 * shell/ev-sidebar-links.c: (selection_changed_cb):
4857 * shell/ev-view.c: (ev_view_button_release_event), (go_to_link),
4858 (ev_view_go_to_link):
4860 Add support for document links
4862 2005-01-13 Anders Carlsson <andersca@gnome.org>
4864 * shell/ev-page-action.c: (update_spin), (total_pages_changed_cb),
4866 Set the spin button limits correctly.
4868 * shell/ev-sidebar-thumbnails.c:
4869 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init):
4870 Support changing pages by clicking on the thumbnails.
4872 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
4874 * pixbuf/pixbuf-document.c:
4875 (pixbuf_document_thumbnails_get_dimensions),
4876 (pixbuf_document_document_thumbnails_iface_init):
4878 implement get_dimensions
4880 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
4882 * ps/ps-document.c: (ps_document_goto_page):
4884 Fix page switching on multipage documents
4886 2005-01-12 Jeff Muizelaar <jrmuizel@nit.ca>
4888 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
4890 check for NULL before assigning to width and height parameters
4892 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
4894 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
4895 (pixbuf_document_set_property), (pixbuf_document_get_property):
4897 implement get/set properties
4899 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
4901 * pdf/xpdf/pdf-document.cc: (pdf_info_dict_get_string):
4903 return NULL instead of "Unknown", letting the title get set to
4904 the filename when the pdf has no title.
4906 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
4908 * ps/ps-document.c: (ps_document_get_page_count),
4909 (ps_document_goto_page):
4911 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
4913 * shell/ev-history.c: (ev_history_get_property),
4914 (ev_history_set_property), (ev_history_class_init),
4915 (ev_history_add_page), (ev_history_set_current_index):
4916 * shell/ev-navigation-action.c: (ev_navigation_action_set_history),
4917 (activate_menu_item_cb), (new_history_menu_item), (build_menu),
4918 (ev_navigation_action_finalize):
4919 * shell/ev-navigation-action.h:
4920 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
4921 (ev_view_go_forward), (ev_view_get_find_status_message),
4922 (history_index_changed_cb), (ev_view_set_history):
4924 * shell/ev-window.c: (update_total_pages), (ev_window_open),
4925 (update_current_page), (register_custom_actions):
4927 Implement history dropdowns
4929 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
4931 * shell/ev-history.c: (ev_history_init), (ev_history_add_link):
4932 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
4933 (ev_view_go_forward):
4934 * shell/ev-window.c: (register_custom_actions):
4936 Fix several history bugs
4938 2005-01-11 Kjartan Maraas <kmaraas@gnome.org>
4940 * configure.ac: Add «nb» to ALL_LINGUAS.
4942 2005-01-10 Marco Pesenti Gritti <marco@gnome.org>
4944 * backend/Makefile.am:
4945 * backend/ev-bookmark.c:
4946 * backend/ev-bookmark.h:
4947 * backend/ev-document-bookmarks.c:
4948 * backend/ev-document-bookmarks.h:
4949 * backend/ev-document-links.c: (ev_document_links_get_type),
4950 (ev_document_links_has_document_links),
4951 (ev_document_links_begin_read), (ev_document_links_get_link),
4952 (ev_document_links_get_child), (ev_document_links_next),
4953 (ev_document_links_free_iter):
4954 * backend/ev-document-links.h:
4955 * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_title),
4956 (ev_link_set_title), (ev_link_get_uri), (ev_link_set_uri),
4957 (ev_link_get_link_type), (ev_link_set_link_type),
4958 (ev_link_get_page), (ev_link_set_page), (ev_link_get_property),
4959 (ev_link_set_property), (ev_window_dispose), (ev_link_init),
4960 (ev_link_class_init), (ev_link_new_title), (ev_link_new_page),
4961 (ev_link_new_external):
4962 * backend/ev-link.h:
4963 * pdf/xpdf/pdf-document.cc:
4964 * shell/Makefile.am:
4965 * shell/ev-application.c: (ev_application_open_link):
4966 * shell/ev-application.h:
4967 * shell/ev-history.c: (ev_history_add_link), (ev_history_add_page),
4968 (ev_history_get_link_nth):
4969 * shell/ev-history.h:
4970 * shell/ev-sidebar-bookmarks.c:
4971 * shell/ev-sidebar-bookmarks.h:
4972 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
4973 (ev_sidebar_links_class_init), (selection_changed_cb),
4974 (ev_sidebar_links_construct), (ev_sidebar_links_init),
4975 (links_page_num_func), (ev_sidebar_links_new), (stack_data_free),
4976 (do_one_iteration), (populate_links_idle),
4977 (ev_sidebar_links_clear_document), (ev_sidebar_links_set_document):
4978 * shell/ev-sidebar-links.h:
4979 * shell/ev-sidebar.c: (ev_sidebar_set_document):
4980 * shell/ev-view.c: (go_to_link), (ev_view_go_to_link),
4983 * shell/ev-window.c: (ev_window_open_link), (ev_window_init):
4984 * shell/ev-window.h:
4986 Rename bookmark to link, and use "Index" for the sidebar panel.
4988 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
4990 * shell/Makefile.am:
4991 * shell/ev-application.c: (ev_application_open_bookmark):
4992 * shell/ev-application.h:
4993 * shell/ev-history.c: (ev_history_init), (free_links_list),
4994 (ev_history_finalize), (ev_history_class_init),
4995 (ev_history_add_link), (ev_history_add_page),
4996 (ev_history_get_link_nth), (ev_history_get_n_links),
4997 (ev_history_get_current_index), (ev_history_set_current_index),
4999 * shell/ev-history.h:
5000 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
5001 * shell/ev-view.c: (ev_view_finalize), (ev_view_set_document),
5002 (set_document_page), (go_to_bookmark), (ev_view_go_to_bookmark),
5003 (go_to_index), (ev_view_go_back), (ev_view_go_forward),
5006 * shell/ev-window.c: (ev_window_open_bookmark),
5007 (ev_window_cmd_go_back), (ev_window_cmd_go_forward),
5008 (goto_page_cb), (register_custom_actions):
5009 * shell/ev-window.h:
5011 Initial history implementation. Needs work.
5013 2005-01-09 Martin Kretzschmar <martink@gnome.org>
5015 * pdf/xpdf/GDKSplashOutputDev.cc (redraw): fix pixbuf data offset.
5017 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
5019 * cut-n-paste/recent-files/egg-recent-item.c:
5020 * cut-n-paste/recent-files/egg-recent-item.h:
5021 * cut-n-paste/recent-files/egg-recent-model.c:
5022 * cut-n-paste/recent-files/egg-recent-util.c:
5023 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
5024 * cut-n-paste/recent-files/egg-recent-view.c:
5028 2005-01-08 Martin Kretzschmar <martink@gnome.org>
5030 * pdf/splash/Splash.cc (clear, drawPixel, drawSpan, xorSpan, getPixel)
5031 (fillGlyph, fillImageMask, drawImage):
5032 pdf/splash/SplashBitmap.cc (SplashBitmap, ~SplashBitmap, writePNMFile):
5033 pdf/splash/SplashTypes.h:
5034 pdf/xpdf/SplashOutputDev (startPage, getColor, imageSrc): implement RGB8
5035 packed mode for Splash.
5037 * pdf/xpdf/GDKSplashOutputDev.cc (GDKSplashOutputDev, redraw): use
5038 RGB8 packed mode, eliminates the pixbuf data creation loop.
5040 * shell/ev-print-job.c (ev_print_job_finalize)
5041 (ev_print_job_set_property, ev_print_job_get_property)
5042 (ev_print_job_set_gnome_print_job, ev_print_job_set_document)
5043 (ev_print_job_use_print_dialog_settings, idle_print_handler)
5044 (print_closure_finalize, ev_print_job_print): implement
5045 printing (for backends with EvPsExporter)
5047 * shell/ev_print_job.h: update prototypes.
5049 * shell/ev-window.c (ev_window_print): unref print job after
5052 * shell/ev-view.c (ev_view_set_document): don't connect to "found"
5053 unless the document implements the EvDocumentFind interface.
5055 2005-01-08 Satoru SATOH <ss@gnome.gr.jp>
5057 * configure.ac: Added ja to ALL_LINGUAS.
5059 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5061 * pdf/xpdf/pdf-document.cc:
5063 add a FIXME. We should probably not allocate
5064 a bookmark object every time
5066 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5068 * shell/ev-application.c: (ev_application_open),
5069 (ev_application_open_bookmark):
5070 * shell/ev-application.h:
5072 Add a way to open bookmarks
5074 * backend/ev-bookmark.c: (ev_bookmark_get_uri),
5075 (ev_bookmark_set_uri), (ev_bookmark_get_property),
5076 (ev_bookmark_set_property), (ev_bookmark_class_init),
5077 (ev_bookmark_new_title), (ev_bookmark_new_link),
5078 (ev_bookmark_new_external):
5080 Support for external uris, better constructors.
5082 * backend/ev-bookmark.h:
5083 * pdf/xpdf/pdf-document.cc:
5084 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
5086 Handle external uris
5088 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5090 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb),
5091 (ev_sidebar_bookmarks_construct), (do_one_iteration):
5093 Hook up bookmarks navigation
5095 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5097 * backend/Makefile.am:
5098 * backend/ev-bookmark.c: (ev_bookmark_type_get_type),
5099 (ev_bookmark_get_title), (ev_bookmark_set_title),
5100 (ev_bookmark_get_bookmark_type), (ev_bookmark_set_bookmark_type),
5101 (ev_bookmark_get_page), (ev_bookmark_set_page),
5102 (ev_bookmark_get_property), (ev_bookmark_set_property),
5103 (ev_window_dispose), (ev_bookmark_init), (ev_bookmark_class_init),
5105 * backend/ev-bookmark.h:
5106 * backend/ev-document-bookmarks.c:
5107 (ev_document_bookmarks_get_bookmark):
5108 * backend/ev-document-bookmarks.h:
5109 * pdf/xpdf/pdf-document.cc:
5110 * shell/ev-sidebar-bookmarks.c: (do_one_iteration):
5112 Add a bookmark object to the backend and use it instead of get_values
5114 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5116 * data/evince-ui.xml:
5118 Cleanup and add select all.
5120 * shell/ev-view.c: (ev_view_select_all),
5121 (ev_view_button_press_event):
5123 * shell/ev-window.c: (ev_window_cmd_edit_select_all):
5126 Clear selection on click.
5128 Fri Jan 7 01:28:58 2005 Jonathan Blandford <jrb@redhat.com>
5130 * shell/ev-sidebar-thumbnails.c
5131 (ev_sidebar_thumbnails_set_document): forgot to unref the
5134 Fri Jan 7 01:22:48 2005 Jonathan Blandford <jrb@redhat.com>
5136 * shell/ev-sidebar-thumbnails.c: fill in the thumbnails starting
5137 at the visible page, not just linearly. This makes it look fast.
5139 Thu Jan 6 18:48:11 2005 Jonathan Blandford <jrb@redhat.com>
5141 * backend/ev-document-misc.c
5142 (ev_document_misc_get_thumbnail_frame): fill in the thumbnail with
5144 * backend/ev-document-thumbnails.h: New interface to get the size
5147 2005-01-06 Jeremy Katz <katzj@redhat.com>
5149 * shell/Makefile.am (evince_SOURCES): Add ev-utils.[ch] so that
5152 Wed Jan 5 15:38:28 2005 Jonathan Blandford <jrb@redhat.com>
5154 * pdf/xpdf/pdf-document.cc (bitmap_to_pixbuf): bypass
5155 GDKSplashOutputDev and just use a normal SplashOutputDev. Speeds
5158 * shell/ev-sidebar-thumbnail.c: start of some profiling code.
5160 2005-01-05 Martin Kretzschmar <martink@gnome.org>
5162 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): match only outline
5163 fonts. Should fix font problems on systems that have the base
5164 fonts in bitmap format. Reported by James Henstridge
5165 <james@jamesh.id.au>.
5167 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5170 * pdf/xpdf/GfxState.cc:
5172 Fix for CAN-2004-1125
5174 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5176 * shell/ev-view.c: (ev_view_copy):
5178 * shell/ev-window.c: (ev_window_cmd_edit_copy):
5180 Implement Edit->Copy
5182 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5184 * backend/ev-document.c: (ev_document_get_text):
5185 * backend/ev-document.h:
5186 * pdf/xpdf/pdf-document.cc:
5187 * shell/ev-view.c: (ev_view_realize), (expose_bin_window),
5188 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
5189 (ev_view_update_primary_selection), (ev_view_button_press_event),
5190 (ev_view_motion_notify_event), (ev_view_button_release_event):
5192 Beginnings of clipboard support. Incomplete but primary sort
5195 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5197 * shell/ev-view.c: (ev_gdk_color_to_rgb), (draw_rubberband),
5198 (expose_bin_window):
5200 Nicer rubberband drawing, from GtkIconView.
5202 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5204 * backend/ev-document.c: (ev_document_save):
5205 * backend/ev-document.h:
5206 * data/evince-ui.xml:
5207 * pdf/xpdf/pdf-document.cc:
5208 * shell/ev-window.c: (save_error_dialog), (ev_window_cmd_save_as):
5210 Implement "Save a copy..." menu item
5212 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5214 * shell/ev-view.c: (ev_view_zoom):
5216 Queue a resize when zoom changes
5218 Wed Jan 5 02:33:06 2005 Jonathan Blandford <jrb@redhat.com>
5220 * backend/ev-document-misc.[ch]: New misc file to do simple drop
5223 * pdf/xpdf/pdf-document.cc: use the drop shadows in both types of
5226 Tue Jan 4 22:32:32 2005 Jonathan Blandford <jrb@redhat.com>
5228 * pdf/xpdf/pdf-document.cc
5229 (pdf_document_thumbnails_get_page_pixbuf): poor man's dropshadow.
5231 Tue Jan 4 21:25:05 2005 Jonathan Blandford <jrb@redhat.com>
5233 * pdf/xpdf/pdf-document.cc: Do real thumbnailing of PDF files.
5234 It's slow, but I'll speed it up next!
5236 2005-01-04 Jeff Muizelaar <jrmuizel@nit.ca>
5238 * shell/main.c (load_files):
5240 use gnome_vfs_make_uri_from_shell_arg so that relative paths work
5241 from the command line and because it seems more appropriate.
5243 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
5245 * data/evince-ui.xml:
5246 * shell/ev-window.c: (update_action_sensitivity),
5247 (ev_window_cmd_go_page_up), (ev_window_cmd_go_page_down):
5249 s/next page/page down
5250 s/previous page/page up
5252 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
5254 * data/evince-ui.xml:
5256 Change the layout to match clarkbw design.
5258 * shell/Makefile.am:
5259 * shell/ev-navigation-action.c: (build_menu), (menu_activated_cb),
5260 (set_tooltip_cb), (connect_proxy), (ev_navigation_action_init),
5261 (ev_navigation_action_finalize),
5262 (ev_navigation_action_set_property),
5263 (ev_navigation_action_get_property),
5264 (ev_navigation_action_class_init):
5265 * shell/ev-navigation-action.h:
5267 Implement clarkbw toolbar navigation controls (incomplete)
5269 * shell/ev-page-action.c: (update_label), (update_spin),
5270 (value_changed_cb), (create_tool_item), (connect_proxy),
5271 (ev_page_action_init), (ev_page_action_finalize),
5272 (ev_page_action_set_property), (ev_page_action_get_property),
5273 (ev_page_action_set_current_page),
5274 (ev_page_action_set_total_pages), (ev_page_action_class_init):
5275 * shell/ev-page-action.h:
5277 Implement a page switcher in the toolbar
5279 * shell/ev-view.c: (ev_view_scroll_view):
5280 * shell/ev-window.c: (update_total_pages), (ev_window_open),
5281 (update_current_page), (view_page_changed_cb), (goto_page_cb),
5282 (register_custom_actions), (ev_window_init):
5284 Change page on PageUp/Down.
5286 Tue Jan 4 03:22:56 2005 Jonathan Blandford <jrb@redhat.com>
5288 * pdf/xpdf/pdf-document.cc
5289 (pdf_document_thumbnails_get_thumbnail): initial stab at
5290 implementing thumbnail support for pdfs. It only does documents
5291 with precached pdfs now.
5293 Mon Jan 3 17:22:25 2005 Jonathan Blandford <jrb@redhat.com>
5295 * shell/ev-sidebar-thumbnails.c (do_one_iteration): move the
5296 thumbnail code into a time-based idle as well. Also, turn off the
5297 shadow temporarily as it's really slow.
5299 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
5301 * backend/ev-document.c: (ev_document_class_init):
5302 * pdf/xpdf/pdf-document.cc:
5303 * shell/ev-window.c: (ev_window_open):
5305 Fix document title bugs and fallback to
5306 filename when not available.
5308 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
5310 * backend/ev-document.c: (ev_document_get_type),
5311 (ev_document_class_init), (ev_document_load),
5312 (ev_document_get_title):
5313 * backend/ev-document.h:
5314 * pdf/xpdf/pdf-document.cc:
5315 * ps/ps-document.c: (ps_document_set_property),
5316 (ps_document_get_property), (ps_document_class_init),
5320 * shell/ev-window.c: (update_window_title), (ev_window_open),
5323 Initial support for document title. Not working yet.
5325 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
5327 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event):
5329 Grab focus on the view when clicking it
5331 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
5333 * shell/ev-marshal.list:
5334 * shell/ev-view.c: (ev_view_realize), (add_scroll_binding),
5335 (ev_view_scroll_view), (ev_view_class_init), (ev_view_init):
5337 Add key bindings to the view. Now if the focus would work
5340 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
5343 * backend/Makefile.am:
5346 * dvi/dvilib/Makefile.am:
5347 * pdf/xpdf/Makefile.am:
5353 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5355 * shell/ev-view.c: (ev_view_realize):
5357 Fix mouse wheel scrolling
5359 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5365 * ps/ps-document.c: (catchPipe), (ps_document_init),
5366 (ps_document_class_init), (ps_document_cleanup),
5367 (ps_document_finalize), (send_ps), (ps_document_get_orientation),
5368 (set_up_page), (close_pipe), (is_interpreter_ready),
5369 (interpreter_failed), (output), (input), (start_interpreter),
5370 (stop_interpreter), (file_length), (file_readable),
5371 (check_filecompressed), (check_pdf), (compute_xdpi),
5372 (compute_ydpi), (compute_size), (ps_document_enable_interpreter),
5373 (ps_document_get_type), (ps_document_emit_error_msg),
5374 (document_load), (ps_document_next_page),
5375 (ps_document_get_current_page), (ps_document_get_page_count),
5376 (ps_document_goto_page), (ps_document_set_page_size),
5377 (ps_document_zoom_to_fit), (ps_document_set_zoom),
5378 (ps_document_load), (ps_document_get_n_pages),
5379 (ps_document_set_page), (ps_document_get_page),
5380 (ps_document_widget_event), (ps_document_set_target),
5381 (ps_document_set_scale), (ps_document_set_page_offset),
5382 (ps_document_get_page_size), (ps_document_render),
5383 (ps_document_document_iface_init):
5386 * shell/ev-window.c: (ev_window_open):
5388 Rename GtkGS to PSDocument
5390 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5392 * ps/gtkgs.c: (gtk_gs_class_init):
5395 Some more leftover...
5397 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5399 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_get_orientation),
5400 (output), (stop_interpreter), (gtk_gs_emit_error_msg),
5401 (gtk_gs_zoom_to_fit), (gtk_gs_set_zoom):
5404 Remove unused code and make a lot of stuff private
5406 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5408 * ps/gsdefaults.c: (gtk_gs_defaults_gconf_client),
5409 (gtk_gs_defaults_changed):
5415 Cleanup headers dependencies
5417 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5422 * ps/gsdefaults.c: (gtk_gs_defaults_get_paper_sizes):
5424 * ps/gtkgs.c: (file_length), (file_readable),
5425 (check_filecompressed), (check_pdf), (gtk_gs_load),
5426 (gtk_gs_get_postscript):
5430 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
5435 * ps/gtkgs.c: (gtk_gs_set_zoom):
5439 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
5441 * ps/gtkgs.c: (gtk_gs_set_zoom), (gtk_gs_set_zoom_mode):
5443 Ensure the page is rerendered when changing zoom
5445 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
5447 * backend/ev-document.c: (ev_document_base_init),
5448 (ev_document_changed):
5449 * backend/ev-document.h:
5451 Add a changed event that is emitted when the page content
5452 changes. This is necessary to deal with the fact that
5453 in ps backend rendering happen asycrounously.
5454 This makes the ps backend mostly work.
5456 * pdf/xpdf/pdf-document.cc:
5460 * ps/gtkgs.c: (set_up_page), (gtk_gs_widget_event),
5461 (ps_document_set_target):
5465 * shell/ev-view.c: (document_changed_callback),
5466 (ev_view_set_document), (ev_view_set_page):
5468 Redraw on the changed signal
5470 2004-12-25 Raphael Higino <raphaelh@cvs.gnome.org>
5472 * configure.ac: Added pt_BR to ALL_LINGUAS.
5474 Fri Dec 24 00:48:44 2004 Jonathan Blandford <jrb@redhat.com>
5476 * backend/ev-document-bookmarks.c:
5477 (ev_document_bookmarks_get_child): *
5478 backend/ev-document-bookmarks.h: * pdf/xpdf/Makefile.am: *
5479 pdf/xpdf/pdf-document.cc: * pdf/xpdf/pdf-document.h: *
5480 shell/Makefile.am: * shell/ev-sidebar-bookmarks.c:
5481 (ev_sidebar_bookmarks_destroy),
5482 (ev_sidebar_bookmarks_class_init),
5483 (ev_sidebar_bookmarks_construct), (stack_data_free),
5484 (do_one_iteration), (populate_bookmarks_idle),
5485 (ev_sidebar_bookmarks_clear_document),
5486 (ev_sidebar_bookmarks_set_document): *
5487 shell/ev-sidebar-bookmarks.h: * shell/ev-sidebar.c:
5488 (ev_sidebar_add_page),
5489 (ev_sidebar_set_document): * shell/ev-window.c: (ev_window_open):
5490 Initial stab at a bookmarks sidebar. It doesn't navigate yet, but
5491 it displays both the topics and the page numbers.
5493 2004-12-23 Kristian Høgsberg <krh@redhat.com>
5495 * shell/ev-window.c (ev_window_view_sidebar_cb): Hook up sidebar
5497 * shell/ev-window.c (toggle_entries): Set sidebar default value to
5500 2004-12-23 Adam Weinberger <adamw@gnome.org>
5502 * configure.ac: Added en_CA to ALL_LINGUAS.
5504 2004-12-23 Martin Kretzschmar <martink@gnome.org>
5506 * ChangeLog: replace bottom of this ChangeLog (merged history of
5507 ggv and gpdf; where all paths were wrong and most of the files are
5508 not even in this tree) with ChangeLog (from arch) of the shell
5511 2004-12-23 Havoc Pennington <hp@redhat.com>
5513 * shell/ev-window.c: hook up potentially-questionable "find
5514 results status text" feature - something involving the sidebar or
5515 scrollbar or a continuous all-pages-on-giant-roll-of-paper-view
5516 might be better in the end.
5518 * shell/ev-view.c (ev_view_get_find_status_message): new function,
5519 with corresponding signal when it should be updated
5521 * shell/eggfindbar.c (egg_find_bar_set_status_text): new function
5523 2004-12-22 Havoc Pennington <hp@redhat.com>
5525 * pdf/xpdf/pdf-document.cc (pdf_document_find_begin): make search
5526 find stuff on other pages, sort of (only returns one result on
5527 invisible pages, to show they have results; updates full results
5528 for a page when you view it). Currently repaints the current page
5529 every time a new result is found on any page, which isn't so nice.
5531 2004-12-22 Havoc Pennington <hp@redhat.com>
5533 * shell/ev-window.c (ev_window_cmd_edit_find): display an error if
5534 the document doesn't support find (better ideas?)
5535 (find_bar_search_changed_cb): handle missing document or document
5536 that doesn't support find
5538 * pdf/xpdf/pdf-document.cc: port to implement the new
5541 * backend/ev-document-find.c: create a new interface for searching
5543 * backend/ev-document.h, backend/ev-document.c: delete the find stuff
5545 2004-12-23 Martin Kretzschmar <martink@gnome.org>
5547 * pdf/xpdf/Makefile.am (libpdfdocument_la_LIBADD): add
5550 * shell/ev-window.c (ev_window_print): add GnomePrintJob to
5551 EvPrintJob constructor arguments.
5553 * backend/ev-ps-exporter.c, backend/ev-ps-exporter.h: interface
5554 for documents that can export PostScript (page by page).
5556 * backend/Makefile.am (libevbackend_la_SOURCES): add them.
5558 * pdf/xpdf/pdf-document.cc (pdf_document_ps_export_begin)
5559 (pdf_document_ps_export_do_page, pdf_document_ps_export_end)
5560 (pdf_document_ps_exporter_iface_init:
5561 Implement EvPSExporter.
5563 * pdf/xpdf/Makefile.am (libxpdf_la_SOURCES): build PSOutputDev.
5565 2004-12-22 Anders Carlsson <andersca@gnome.org>
5567 * backend/Makefile.am:
5568 * backend/ev-document-thumbnails.c:
5569 (ev_document_thumbnails_get_type),
5570 (ev_document_thumbnails_get_thumbnail):
5571 * backend/ev-document-thumbnails.h:
5572 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
5573 (pixbuf_document_thumbnails_get_thumbnail),
5574 (pixbuf_document_document_thumbnails_iface_init):
5575 * shell/Makefile.am:
5576 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_destroy),
5577 (ev_sidebar_thumbnails_class_init), (ev_sidebar_thumbnails_init),
5578 (populate_thumbnails), (ev_sidebar_thumbnails_set_document):
5579 * shell/ev-sidebar-thumbnails.h:
5580 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
5581 (ev_sidebar_set_document):
5582 * shell/ev-utils.c: (gaussian), (create_blur_filter),
5583 (create_shadow), (ev_pixbuf_add_shadow):
5585 Add thumbnail support.
5587 2004-12-22 Martin Kretzschmar <martink@gnome.org>
5589 * shell/ev-window.c (ev_window_cmd_file_print, ev_window_print)
5590 (using_postscript_printer): Set up a print dialog for "PostScript
5593 * shell/ev-print-job.h, shell/ev-print-job.c: stub classes for
5596 * shell/Makefile.am (evince_SOURCES): add ev-print-job.[ch]
5598 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
5600 * ps/gtkgs.c: (gtk_gs_init), (set_up_page),
5601 (ps_document_set_target), (ps_document_get_page_size),
5602 (ps_document_render):
5607 2004-12-22 Christian Rose <menthos@menthos.com>
5609 * configure.ac: Added "sv" to ALL_LINGUAS.
5611 Wed Dec 22 14:47:38 2004 Jonathan Blandford <jrb@redhat.com>
5613 * backend/ev-document-bookmarks.[ch]: new interface to indicate
5614 document supports bookmarks.
5616 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
5618 * ps/ggvutils.c: (ggv_file_readable):
5620 * ps/gtkgs.c: (check_filecompressed), (check_pdf),
5621 (gtk_gs_get_postscript):
5625 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
5627 * ps/gtkgs.c: (gtk_gs_init), (gtk_gs_class_init), (gtk_gs_cleanup),
5628 (gtk_gs_finalize), (gtk_gs_set_center), (set_up_page), (output),
5629 (start_interpreter), (compute_size), (gtk_gs_enable_interpreter),
5630 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_reload),
5631 (gtk_gs_emit_error_msg), (gtk_gs_disable_interpreter),
5632 (gtk_gs_load), (gtk_gs_goto_page), (gtk_gs_set_page_size),
5633 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
5634 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
5635 (gtk_gs_set_antialiasing), (ps_document_load),
5636 (ps_document_render):
5639 Another check point for the ps backend. Now I can get it to show
5642 Wed Dec 22 13:41:01 2004 Jonathan Blandford <jrb@redhat.com>
5644 * shell/ev-sidebar.c (ev_sidebar_set_document): initial sidebar
5645 document setting code.
5647 2004-12-22 Anders Carlsson <andersca@gnome.org>
5649 * shell/eggfindbar.c: (entry_activate_callback):
5650 Animate the next button when activate is pressed.
5652 2004-12-22 Anders Carlsson <andersca@gnome.org>
5654 * shell/ev-window.c: (ev_window_cmd_edit_find),
5655 (update_fullscreen_popup), (ev_window_fullscreen),
5656 (ev_window_unfullscreen), (ev_window_state_event_cb),
5657 (ev_window_focus_out_cb), (find_bar_close_cb), (ev_window_init):
5658 Fix bugs in fullscreen code.
5660 2004-12-22 Anders Carlsson <andersca@gnome.org>
5664 * pixbuf/Makefile.am:
5665 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
5666 (pixbuf_document_load), (pixbuf_document_get_n_pages),
5667 (pixbuf_document_set_page), (pixbuf_document_get_page),
5668 (pixbuf_document_set_target), (pixbuf_document_set_scale),
5669 (pixbuf_document_set_page_offset), (pixbuf_document_get_page_size),
5670 (pixbuf_document_render), (pixbuf_document_begin_find),
5671 (pixbuf_document_end_find), (pixbuf_document_finalize),
5672 (pixbuf_document_class_init),
5673 (pixbuf_document_document_iface_init), (pixbuf_document_init):
5674 * pixbuf/pixbuf-document.h:
5675 * shell/Makefile.am:
5676 * shell/ev-application.c: (ev_application_open):
5677 * shell/ev-window.c: (mime_type_supported_by_gdk_pixbuf),
5681 Tue Dec 21 21:45:43 2004 Soeren Sandmann <sandmann@redhat.com>
5684 * dvi/dvilib/Makefile.am:
5686 * configure.ac: Auto*ify dvi and dvi/dvilib
5688 * dvi/Makefile: Remove from CVS
5690 * dvi/dvilib/dl-pkfont.cc (unpack_bitmap): Fix uchar/uint
5693 * dvi/dvilib/dl-fontdefinition.{cc,hh}: New DviFontMap class
5695 * dvi/dvilib/dl-vffont.{cc,hh}: Many bugfixes to VF code.
5697 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
5700 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_finalize),
5701 (gtk_gs_value_adjustment_changed), (compute_size),
5702 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_new_from_file),
5703 (gtk_gs_center_page), (gtk_gs_load), (gtk_gs_set_page_size),
5704 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
5705 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
5706 (gtk_gs_start_scroll), (gtk_gs_get_postscript),
5707 (gtk_gs_set_adjustments), (gtk_gs_set_available_size),
5708 (ps_document_load), (ps_document_get_n_pages),
5709 (ps_document_set_page), (ps_document_get_page),
5710 (ps_document_set_target), (ps_document_set_scale),
5711 (ps_document_set_page_offset), (ps_document_get_page_size),
5712 (ps_document_render), (ps_document_begin_find),
5713 (ps_document_end_find), (ps_document_document_iface_init):
5715 * shell/Makefile.am:
5716 * shell/ev-window.c: (ev_window_open):
5718 Some work to integrate gtkgs with EvDocument
5720 2004-12-22 Anders Carlsson <andersca@gnome.org>
5722 * shell/ev-window.c: (update_fullscreen_popup),
5723 (screen_size_changed_cb), (destroy_exit_fullscreen_popup),
5724 (exit_fullscreen_button_clicked_cb),
5725 (fullscreen_popup_size_request_cb), (ev_window_fullscreen),
5726 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
5727 (ev_window_state_event_cb), (ev_window_init):
5728 Add fullscreen support from Epiphany.
5730 2004-12-22 Mark McLoughlin <mark@skynet.ie>
5732 * data/ev-stock-zoom-fit-width.png: fit-width
5733 stock icon from gpdf.
5735 * shell/ev-stock-icons.[ch]: copied from gpdf.
5737 * shell/main.c: (main): init stock icons.
5739 * shell/ev-window.c: use the fit-width icon.
5741 * data/evince-ui.xml: add zooming toolbar items.
5743 2004-12-22 Mark McLoughlin <mark@skynet.ie>
5746 (ev_view_best_fit), (ev_view_fit_width): because
5747 get_page_size() returns the scaled page size, we
5748 need to calculate the scale factor relative to
5749 the previous scale factor. Should really just
5750 add get_real_page_size().
5752 2004-12-22 Mark McLoughlin <mark@skynet.ie>
5754 * shell/ev-view.[ch]:
5755 (ev_view_zoom), (ev_view_zoom_in), (ev_view_zoom_out),
5756 (ev_view_normal_size), (ev_view_best_fit), (ev_view_fit_width):
5759 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
5760 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_normal_size),
5761 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width):
5764 * pdf/xpdf/pdf-document.cc:
5765 (pdf_document_begin_find),
5766 (pdf_document_end_find): make static.
5768 2004-12-22 Martin Kretzschmar <martink@gnome.org>
5770 * pdf/xpdf/GlobalParams.h (setupBaseFontsFc): add prototype.
5772 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): maps base font
5773 names to fontconfig patterns.
5774 (setupBaseFontsFc): setupBaseFonts reimplemented using fontconfig.
5776 * pdf/xpdf/pdf-document.cc (pdf_document_load): use
5779 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
5795 Import ggv backend. Not hooked up yet.
5797 2004-12-22 Mark McLoughlin <mark@skynet.ie>
5799 * shell/main.c: (load_files), (main): load files
5800 from the command line.
5802 2004-12-22 Mark McLoughlin <mark@skynet.ie>
5804 * configure.ac: don't require bonobo.
5806 * cut-n-paste/recent-files/*: kill bonobo recent
5809 * shell/ev-window.c:
5810 (ev_window_is_empty): upd.
5811 (unable_to_load), (ev_window_open): load backend
5812 based on the mime type.
5814 2004-12-22 Martin Kretzschmar <martink@gnome.org>
5816 * backend/.cvsignore: ignore generated marshalers source.
5818 * shell/main.c (main): this is not epiphany.
5820 2004-12-22 Havoc Pennington <hp@redhat.com>
5822 * shell/ev-view.c (ev_view_set_document): connect to "found" signal
5823 (expose_bin_window): draw find highlights
5825 * shell/ev-window.c (find_bar_search_changed_cb): implement
5827 * pdf/xpdf/pdf-document.cc (pdf_document_begin_find)
5828 (pdf_document_end_find): implement this interface
5830 * backend/ev-document.c (ev_document_found): add this to emit
5833 Tue Dec 21 23:57:37 2004 Owen Taylor <otaylor@redhat.com>
5835 * data/evince-ui.xml: Add a few more toolbar items.
5837 * shell/ev-window.c: Hook up page navigation toolbar
5840 * shell/ev-view.[ch]: add ev_view_set/get_page and
5841 a page-changed signal.
5843 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc::
5844 Add ev_document_get_page().
5846 * shell/ev-window.c: Sensitize/desensitize navigation
5849 2004-12-21 Havoc Pennington <hp@redhat.com>
5851 * backend/ev-backend-marshal.c,
5852 backend/ev-backend-marshalers.list, backend/Makefile.am: add
5853 marshaler-generator thingy. I'm sure there's a better way to do
5854 this in the modern world.
5856 * backend/ev-document.h (struct _EvDocumentIface): add begin_find,
5857 end_find methods and "found" signal.
5859 * configure.ac: find glib-genmarshal
5861 Tue Dec 21 23:20:35 2004 Jonathan Blandford <jrb@redhat.com>
5863 * shell/ev-sidebar.c: Construct an actual sidebar.
5864 * shell/ev-sidebar-bookmarks.[ch]:
5865 * shell/ev-sidebar-thumbnails.[ch]: Stub out sidebars.
5867 Tue Dec 21 23:05:51 2004 Owen Taylor <otaylor@redhat.com>
5869 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc:
5872 * shell/ev-view.c: Track the size from the document.
5874 Tue Dec 21 22:17:04 2004 Owen Taylor <otaylor@redhat.com>
5876 * pdf/xpdf/pdf-document.cc (pdf_document_load): PDFDoc
5877 constructor assumes ownership of the string passed in.
5879 * shell/ev-window.c (ev_window_open): Destroy the error
5880 dialog once we've displayed it.
5882 Tue Dec 21 21:58:56 2004 Owen Taylor <otaylor@redhat.com>
5884 * pdf/xpdf/pdf-document.cc shell/ev-view.c: Hook things up
5885 a bit, it works! (sort of)
5887 * pdf/xpdf/Makefile.am pdf/xpdf/pdf-document.cc:
5888 Move to .cc since we need to use C++ in the implementation.
5890 * shell/dummy.cc: Add a CC file to force evince
5891 to be linked as a C++ program.
5893 Tue Dec 21 21:07:55 2004 Owen Taylor <otaylor@redhat.com>
5895 * shell/ev-view.[ch]: Start of content-area widget.
5897 * shell/ev-window.c: Create a EvView, update it
5898 as we change documents.
5900 * shell/Makefile.am shell/ev-marshal.list: Add
5901 generated marshalers.
5903 Tue Dec 21 20:28:11 2004 Jonathan Blandford <jrb@redhat.com>
5905 * Makefile.am (SUBDIRS): move shell.
5907 Tue Dec 21 19:28:55 2004 Owen Taylor <otaylor@redhat.com>
5909 * pdf/{goo,fofi,splash,xpdf}/Makefile.am: Switch from
5910 .a to libtool convenience libraries.
5912 * shell/ev-window.c (ev_window_open): Hard code loading
5915 * backend/ev-document.h: Add a boolean return to load(),
5916 fix GError * to GError **.
5918 * pdf/xpdf/pdf-document.[ch] Makefile.am: Add a stub
5919 object for a PDF backend EvDocument.
5921 Tue Dec 21 18:55:06 2004 Søren Sandmann <sandmann@redhat.com>
5923 * dvi/*: New directory with the beginning of a .dvi backend.
5925 2004-12-21 Havoc Pennington <hp@redhat.com>
5927 * shell/eggfindbar.c (egg_find_bar_init): change buttons to
5928 previous/next instead of back/forward
5930 Tue Dec 21 18:26:24 2004 Owen Taylor <otaylor@redhat.com>
5932 * backend/ev-document.[ch]: Fix a couple of problems so
5935 Tue Dec 21 18:20:40 2004 Owen Taylor <otaylor@redhat.com>
5937 * viewer/* backend/* configure.ac Makefile.am: Move viewer directory
5938 to backend/ directory, rename EvViewer to EvDocument.
5940 2004-12-21 Havoc Pennington <hp@redhat.com>
5942 * shell/ev-window.c: hook up the find bar widget; now we just need
5943 a document to find things in
5945 * shell/eggfindbar.c: a find bar widget
5947 Tue Dec 21 17:20:16 2004 Jonathan Blandford <jrb@redhat.com>
5949 * shell/ev-sidebar.[ch]: initial sidebar boilerplate.
5951 Tue Dec 21 16:30:58 2004 Owen Taylor <otaylor@redhat.com>
5953 * pdf/**: Import of xpdf code from gpdf.
5955 * pdf/xpdf/xpdfconfig.h: Move the non-config.h config.h to xpdfconfig.h
5957 * pdf/splash/SplashFTFont.{cc,h} pdf/splash/SplashFTFont.h
5958 pdf/splash/SplashFTFontEngine.h pdf/splash/SplashFTFontFile.h:
5959 Fix FreeType includes.
5961 * pdf/xpdf/{Error.h GnomeVFSStream.cc ImageOutputDev.cc PDFDoc.cc\
5962 pdffonts.cc pdfimages.cc pdfinfo.cc pdftoppm.cc pdftops.cc
5963 pdftotext.cc PSOutputDev.cc PSOutputDev.h SplashOutputDev.h
5964 Stream.cc TextOutputDev.cc XPDFApp.cc xpdf.cc XPDFViewer.cc
5965 pdf/xpdf/Error.h PSOutputDev.h SplashOutputDev.h}:
5966 Include xpdfconfig.h
5968 Tue Dec 21 16:08:17 2004 Jonathan Blandford <jrb@redhat.com>
5970 * shell/ev-window.c (ev_window_dispose): dispose can be called
5973 2004-12-21 Havoc Pennington <hp@redhat.com>
5975 * shell/ev-window.c (ev_window_init): set title to Document Viewer
5978 * data/evince-ui.xml, shell/ev-window.c: add a bunch of stub menu
5979 items; really they should be synced with the strings, etc. from
5980 current gpdf, but just getting the boring typing out of the way
5982 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
5985 * shell/ev-application.c: (window_destroy_cb):
5986 * shell/ev-window.c:
5987 * shell/main.c: (main):
5989 Actually show the window...
5991 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
5994 * shell/Makefile.am:
5995 * shell/ev-application.c: (ev_application_class_init):
5996 * shell/ev-window.c: (ev_window_dispose), (ev_window_class_init):
6000 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
6002 Import to gnome cvs.
6004 * Remove copies of gpdf and ggv trees.
6005 * Rip out all the recursive configure code.
6006 * Remove bonobo machinery.
6007 * viewer/*: GInterfaces that backends should/can implement.
6009 2004-11-09 Martin Kretzschmar <m_kretzschmar@gmx.net>
6011 * shell/ev-window.c (ev_window_cmd_help_about): fix "documentors"
6014 2004-10-28 Martin Kretzschmar <m_kretzschmar@gmx.net>
6016 * shell/ev-application.c (EV_APPLICATION_GET_PRIVATE)
6017 (ev_application_finalize, ev_application_class_init)
6018 (ev_application_init): use GType instance private data for priv.
6020 * shell/ev-window.c (EV_WINDOW_GET_PRIVATE)
6021 (ev_window_finalize, ev_window_class_init)
6022 (ev_window_init): ditto.
6024 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
6026 * shell/ev-application.c (ev_application_new_window): make public
6027 (ev_application_show_initial_window): kill.
6029 * shell/ev-application.h: update prototypes.
6031 * shell/main.cc (main): inline ev_application_show_initial_window.
6033 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
6035 * shell/ev-application.c (ev_application_new_window): impl.
6036 (ev_application_show_initial_window): use it.
6037 (is_window_empty, ev_application_get_empty_window): returns an
6038 existing empty window or a new one.
6039 (ev_application_open): from ev_window_cmd_file_open.
6041 * shell/ev-application.h: update prototypes
6043 * shell/ev-window.c (ev_window_is_empty): impl.
6044 (ev_window_open): make public.
6045 (ev_window_cmd_file_open): use ev_application_open
6047 * shell/ev-window.h: update prototypes, remove unused.
6049 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
6051 * shell/ev-window.c (ev_window_destroy, ev_window_class_init):
6052 move destroy handler out of here...
6054 * shell/ev-application.c, shell/ev-application.h: ...into this new
6055 class. Also handles initial window creation.
6057 * shell/main.cc (main): use EvApplication to create initial
6060 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
6062 * Makefile.am (SUBDIRS): add cut-n-paste
6064 * cut-n-paste/Makefile.am: add
6066 * configure.ac: generate Makefiles in cut-n-paste
6068 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
6070 * shell/ev-window.c (ev_window_dispose): new, unref the ui_manager
6071 (ev_window_class_init): install ev_window_dispose.
6073 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
6075 * shell/ev-window.h, shell/ev-window.c: replace gchar with
6076 char (gchar looks stupid).
6078 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
6080 * po/de.po: updated German translation.
6082 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
6084 * configure.ac: add more pkg-config library checks for gnome-vfs,
6087 * gpdf/configure.in: temporarily disable libpaper
6088 checks. Otherwise I'd have to add the checks for the shell, too.
6090 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6092 * shell/ev-window.c (ev_window_cmd_file_open): add ps+pdf, ps, pdf
6093 and * file filters to the file choose.
6095 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6097 * po/de.po: Updated German translation.
6099 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6101 * shell/ev-window.c: use "S" as mnemonic for Statusbar.
6103 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6105 * data/evince-ui.xml: add View->Toolbar and View->Statusbar.
6107 * shell/ev-window.c (menu_item_select_cb, menu_item_select_cb)
6108 (ev_window_init): implement those menuitems.
6110 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6112 * data/evince-ui.xml: add a toolbar (with FileOpen action)
6114 * shell/ev-window.c (ev_window_init): use the toolbar.
6116 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6118 * shell/ev-window.c (ev_window_init): use menu translations
6120 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6122 * configure.ac: add "de" to ALL_LINGUAS.
6124 * po/de.po: add German translation.
6126 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6128 * Makefile.am (SUBDIRS): add po
6130 * configure.ac: check intltool, glib-gettext etc, generate
6133 * po, po/POTFILES.in, po/POTFILES.skip: new.
6135 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6137 * shell/Makefile.am (INCLUDES): define GNOMELOCALEDIR which we
6138 already use (#ifdef ENABLE_NLS)
6140 * shell/ev-window.c (ev_window_cmd_help_about): fix two star
6141 pointer indirection thinko.
6143 * shell/main.c: include gi18n.h for bindtextdomain etc.
6145 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6147 * shell/ev-window.c (menu_item_select_cb, menu_item_deselect_cb)
6148 (connect_proxy_cb, disconnect_proxy_cb, ev_window_init): show
6149 tooltips for menu items in the statusbar.
6151 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6153 * configure.ac, data/Makefile.am, shell/Makefile.am: use
6154 pkgdatadir drop UIDIR
6156 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6158 * data/evince-ui.xml: Add File->Open menu item
6160 * shell/ev-window.c (ev_window_cmd_file_open): impl. (shows a file
6161 chooser), hook it up in the ui manager.
6163 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6165 * shell/ev-window.c: fix Help->About tooltip.
6167 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6169 * configure.ac: set CFLAGS for libevprivate.
6171 * lib/ev-stock-icons.h, lib/ev-stock-icons.c: stock icon
6172 definitions, factory etc.
6174 * lib/Makefile.am: build libevprivate.a (only stock icon code).
6176 * shell/Makefile.am: link against libevprivate.a.
6178 * shell/ev-window.c (entries): add stock icon to Help->About.
6180 * shell/main.c (main): init stock icon code.
6182 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6184 * lib/recent-files: egg recent files code
6186 * lib/Makefile.am: add.
6188 * Makefile.am: add lib subdir.
6190 * configure.ac: gen. lib/Makefile and lib/recent-files/Makefile,
6191 set CFLAGS for recent-files.
6193 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6195 * configure.ac: disable -ansi and -pedantic gcc flags. They
6196 disable POSIX stuff in stdio.h, but egg-recent uses them.
6198 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6200 * configure.ac: add --disable-deprecated flag (defaults to on in
6203 * shell/Makefile.am (INCLUDES): use it.
6205 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6207 * shell/main.c: add missing #include.
6209 * shell/ev-window.c: fix for pedantic gcc.
6210 (ev_window_cmd_help_about): split license into paragraphs for
6211 translators and pedantic compilers.
6213 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6215 * configure.ac: add more warning flags if compiling with gcc from
6216 cvs (or explicitly requested with --enable-more-warnings).
6218 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6220 * data/evince-ui.xml: add File and File->Close menu.
6222 * shell/ev-window.c (ev_window_cmd_file_close_window): impl.
6223 (ev_window_destroy): quit after destroy.
6224 (ev_window_class_init): override GtkObject::destroy.
6225 (entries): install close_window callback.
6227 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6229 * Makefile.am (SUBDIRS): add data subdir.
6231 * configure.ac (UIDIR): gen data/Makefile, define UIDIR. Require
6232 gtk+ 2.5.0 for GtkAboutDialog.
6234 * data/Makefile.am, data/evince-ui.xml: add, ui definition for the
6237 * shell/Makefile.am (INCLUDES): propagate UIDIR definition.
6239 * shell/ev-window.c (ev_window_init): create a menubar, using a ui
6241 (ev_window_cmd_help_about): about command, using GtkAboutDialog.
6243 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6245 * shell/ev-window.c, shell/ev-window.h: Created an EvWindow class.
6247 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
6249 * shell/main.c: make it a trivial gtk+ program, adjust configure.ac
6251 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
6253 * shell/*: Added shell directory boilerplate, build it.
6255 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
6257 * configure.ac, Makefile.am: Added top-level configure.ac and