1 2005-07-22 Pawan Chitrakar <pawan@nplinux.org>
3 * configure.ac: Added ne in ALL_LINGUAS
5 2005-07-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
7 * shell/ev-view.c: (ev_view_leave_notify_event):
9 Clear status message when pointer leaves view. Fix for bug
12 2005-07-20 Ankit Patel <ankit644@yahoo.com>
14 * configure.ac: Gujarati (gu) added to ALL_LINGUAS
16 2005-07-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
18 * shell/ev-view.c: (ev_view_leave_notify_event),
21 Set cursor to normal then leaving view.
23 2005-07-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
27 Fix required djvulibre version.
29 2005-07-15 Rajesh Ranjan <rajeshkajha@yahoo.com>
31 *configure.ac: Hindi (hi) language added
33 2005-07-15 Amanpreet Singh Brar <amanpreetalam@yahoo.com>
35 *configure.ac: Punjabi (pa) Language added
37 2005-07-12 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
39 * data/evince-ui.xml, shell/ev-window.c:
41 Add keypad accelerators for zooming. Fix for bug 308128.
43 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
46 * backend/Makefile.am:
47 * backend/ev-document-factory.c: (ev_document_type_get_from_mime):
49 * shell/ev-document-types.c: (ev_document_types_add_filters):
51 Allow to enable/disable the pixbuf backend.
52 Default to off for now. If we want it enabled we should
53 really put mime types in the desktop, implement properties etc.
55 * properties/evince-properties.c:
57 Initialize error to NULL.
58 Check error is not NULL before freeing.
60 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
64 Use F5 as presentation accell
66 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
68 * shell/ev-window.c: (update_chrome_visibility),
69 (ev_window_create_fullscreen_popup), (ev_window_init):
71 Do not leak the fullscreen toolbar
73 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
75 * shell/ev-window.c: (view_actions_focus_in_cb),
76 (view_actions_focus_out_cb):
78 These has a return value! Fix totally random focus
81 2005-07-11 Carlos Garcia Campos <carlosgc@gnome.org>
83 * shell/main.c: (load_files_remote):
85 Allow open more than one file
87 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
89 * shell/main.c: (load_files_remote):
91 Fix for dbus 0.33. bug #309975
93 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
95 * properties/ev-properties-main.c: (ev_properties_get_pages):
97 Actually return NULL for types we dont support
99 2005-07-08 Christian Persch <chpe@cvs.gnome.org>
105 2005-07-08 Marco Pesenti Gritti <marco@gnome.org>
107 * backend/ev-document-factory.c:
108 (ev_document_factory_get_document):
110 Do not try to create the object if type
113 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
115 * ps/ps-document.c: (ps_document_dispose),
116 (ps_async_renderer_render_pixbuf):
119 Do not leak the target window
121 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
123 * shell/ev-application.c: (ev_application_init):
125 Let tbe check file existence for us.
126 Add a comment about eggrecent mime filter.
128 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
130 * data/evince-ui.xml:
131 * shell/ev-application.c: (ev_application_shutdown),
132 (ev_application_init), (ev_application_get_toolbars_model),
133 (ev_application_get_recent_model),
134 (ev_application_save_toolbars_model):
135 * shell/ev-application.h:
136 * shell/ev-window.c: (ev_window_add_recent),
137 (ev_window_setup_recent), (ev_window_cmd_edit_toolbar_cb),
138 (ev_window_cmd_edit_toolbar), (ev_window_dispose),
141 Use common toolbar and recent models for all windows.
142 Patch by Nickolay V. Shmyrev <nshmyrev@yandex.ru>
144 Thu Jul 7 23:10:01 2005 Jonathan Blandford <jrb@redhat.com>
146 * configure.ac: add FRONTEND_CORE_LIBS to evince_save_LIBS so we
147 successfully check for gtk_icon_view_get_visible_range.
149 2005-07-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
154 Fix djvu and dvi backend build.
156 2005-07-07 Christian Persch <chpe@cvs.gnome.org>
158 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c: (new_pixbuf_from_widget),
159 (new_separator_pixbuf):
163 2005-07-07 Christian Persch <chpe@cvs.gnome.org>
165 * shell/ev-window.c: (ev_window_cmd_edit_toolbar):
167 HIGification of toolbar editor dialogue.
169 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
174 Ever build metadata manager since it's just
175 disabled at runtime now.
177 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
179 * shell/ev-metadata-manager.c: (ev_metadata_manager_init),
180 (ev_metadata_manager_get), (ev_metadata_manager_set):
181 * shell/ev-metadata-manager.h:
183 Add an _init functions that enabled metadata management
186 * shell/ev-window.c: (page_changed_cb),
187 (setup_document_from_metadata), (ev_window_setup_document),
188 (setup_view_from_metadata), (ev_window_open_uri),
189 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
190 (ev_window_run_presentation), (ev_window_stop_presentation),
191 (save_sizing_mode), (ev_window_zoom_changed_cb),
192 (ev_window_continuous_changed_cb),
193 (ev_window_dual_mode_changed_cb), (window_state_event_cb),
194 (window_configure_event_cb):
196 Remove all ugly metadata define since we deal with it
199 * shell/main.c: (load_files_remote), (main):
201 Add support for dbus cvs head. Hopefully didnt break one
202 of the other versions now!
204 If we dont get a response from the dbus server just
205 give up with it and not enable metadata.
207 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
210 * backend/Makefile.am:
212 * cut-n-paste/recent-files/Makefile.am:
213 * cut-n-paste/toolbar-editor/Makefile.am:
214 * cut-n-paste/zoom-control/Makefile.am:
217 * pixbuf/Makefile.am:
218 * properties/Makefile.am:
221 * thumbnailer/Makefile.am:
224 Make frontends depend on just libev.
225 Rework and group CFLAGS/LIBS definitions.
228 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
232 do not unnecessarily save zoom
235 * lib/ev-file-helpers.c: (ev_dot_dir):
241 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
245 Remove unnecessary dependencies
247 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
249 * properties/Makefile.am:
250 * thumbnailer/Makefile.am:
253 Some more cleanups. Was really necessary
254 but I probably introduced bugs, feel free
257 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
259 * backend/Makefile.am:
261 * cut-n-paste/recent-files/Makefile.am:
262 * cut-n-paste/toolbar-editor/Makefile.am:
263 * cut-n-paste/zoom-control/Makefile.am:
266 * pixbuf/Makefile.am:
267 * properties/Makefile.am:
270 * thumbnailer/Makefile.am:
273 Use gnome-common macros when possible.
274 Cleanup dependencies.
275 Actually disable deprecated where possible.
277 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
280 * backend/Makefile.am:
281 * properties/Makefile.am:
283 * thumbnailer/Makefile.am:
285 This should solve the circular dep without
288 * shell/ev-window.c: (setup_view_from_metadata):
290 Never restore window size/position when the
291 window is already visible.
293 2005-07-06 Christian Persch <chpe@cvs.gnome.org>
295 * shell/ev-metadata-manager.c: (ev_metadata_manager_save):
297 Return a boolean from timeout func. Fix ported from gedit.
299 2005-07-07 Iñaki Larrañaga <dooteo@euskalgnu.org>
301 * configure.ac: Added "eu" (Basque) to ALL_LINGUAS.
303 2005-07-06 Carlos Garcia Campos <carlosgc@gnome.org>
305 * shell/ev-document-types.c: set "All Documents" as default filter in
308 2005-07-06 Martin Kretzschmar <martink@gnome.org>
310 * shell/ev-metadata-manager.c (ev_metadata_manager_set_int)
311 (ev_metadata_manager_set_double, ev_metadata_manager_set_string)
312 (ev_metadata_manager_set_boolean): fix value/val thinko.
314 2005-07-06 Marco Pesenti Gritti <mpg@redhat.com>
316 * shell/ev-window.c: (setup_view_from_metadata),
317 (window_state_event_cb), (window_configure_event_cb),
320 Remember window position and maximized state
322 2005-07-06 Christian Persch <chpe@cvs.gnome.org>
326 Fix DBUS configure checks.
328 * shell/ev-metadata-manager.c: (ev_metadata_manager_set_int),
329 (ev_metadata_manager_set_double), (ev_metadata_manager_set_string),
330 (ev_metadata_manager_set_boolean):
334 * shell/ev-window.c: (page_changed_cb), (ev_window_run_fullscreen),
335 (ev_window_stop_fullscreen), (ev_window_run_presentation),
336 (ev_window_stop_presentation), (ev_window_zoom_changed_cb),
337 (ev_window_continuous_changed_cb),
338 (ev_window_dual_mode_changed_cb), (ev_window_new):
340 Fix the build without DBUS.
342 2005-07-06 Marco Pesenti Gritti <mpg@redhat.com>
344 * shell/ev-metadata-manager.c: (parse_value), (save_values),
345 (ev_metadata_manager_set_int), (ev_metadata_manager_set_double),
346 (ev_metadata_manager_set_string),
347 (ev_metadata_manager_set_boolean):
348 * shell/ev-metadata-manager.h:
350 Add support for some more types
352 * shell/ev-view.c: (scroll_to_current_page),
353 (ev_view_get_continuous), (ev_view_set_continuous),
354 (ev_view_get_dual_page):
356 * shell/ev-window.c: (page_changed_cb),
357 (setup_document_from_metadata), (ev_window_setup_document),
358 (setup_view_from_metadata), (ev_window_open_uri),
359 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
360 (ev_window_run_presentation), (ev_window_stop_presentation),
361 (save_sizing_mode), (ev_window_sizing_mode_changed_cb),
362 (ev_window_zoom_changed_cb), (ev_window_update_continuous_action),
363 (ev_window_update_dual_page_action),
364 (ev_window_continuous_changed_cb),
365 (ev_window_dual_mode_changed_cb), (ev_window_init):
367 Remember a bunch of view/document properties. Prolly some
368 are still missing but it's getting interesting.
370 2005-07-05 Martin Kretzschmar <martink@gnome.org>
372 * configure.ac: check if dbus-binding-tool is installed. Not the
373 case on current Ubuntu breezy, it seems.
375 2005-07-05 Luca Ferretti <elle.uca@libero.it>
377 * data/evince.desktop.in.in:
379 Allow open uri lists and add TryExec field.
381 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
385 Enable dbus when available, do not require a configure
388 2005-07-05 Christian Persch <chpe@cvs.gnome.org>
392 Use AM_CONDITIONAL unconditionally, fixes the build with DBUS
395 2005-07-05 Carlos Garcia Campos <carlosgc@gnome.org>
396 Marco Pesenti Gritti <mpg@redhat.com>
398 * shell/Makefile.am: Add --prefix for dbus-binding-tool script
400 * shell/ev-application.[ch], shell/ev-window.c: change dbus RPC
401 functions to the format required by dbus
403 * shell/main.c: use G_TYPE instead of DBUS_TYPE to fix compilation
404 errors. Use the RPC parameters in the expected way
406 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
409 * properties/Makefile.am:
410 * properties/ev-properties-main.c: (ev_properties_get_pages):
412 Support all mime types
415 * thumbnailer/Makefile.am:
416 * thumbnailer/evince-thumbnailer.c: (get_document_from_uri),
417 (evince_thumbnail_pngenc_get):
419 Use the document factory
421 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
423 * backend/Makefile.am:
424 * backend/ev-document-factory.c:
425 (mime_type_supported_by_gdk_pixbuf),
426 (ev_document_type_get_from_mime),
427 (ev_document_factory_get_document),
428 (ev_document_factory_get_backend),
429 (ev_document_factory_get_mime_types),
430 (ev_document_factory_get_all_mime_types):
431 * backend/ev-document-factory.h:
433 * shell/ev-document-types.c: (get_document_from_uri),
434 (ev_document_types_get_document),
435 (file_filter_add_mime_list_and_free),
436 (ev_document_types_add_filters):
437 * shell/ev-document-types.h:
438 * shell/ev-job-xfer.c: (ev_job_xfer_run):
439 * shell/ev-properties-dialog.c:
440 (ev_properties_dialog_set_document):
441 * shell/ev-window.c: (ev_window_cmd_file_open),
442 (ev_window_cmd_save_as):
443 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
445 Rework document types managing to avoid code duplication
446 and actually abstract from backend implementations.
447 Also provide a minimal factory api that can be used by
448 thumbnailer/properties.
450 2005-07-05 Christian Persch <chpe@cvs.gnome.org>
452 * properties/ev-properties-view.c: (ev_properties_view_set_info):
454 * shell/ev-properties-dialog.c: (ev_properties_dialog_init):
457 2005-07-04 Matthew S. Wilson <msw@rpath.com>
459 * shell/ev-properties-dialog.c
460 (ev_properties_dialog_set_document): only call
461 ev_properties_fonts_set_document() if the document implements the
464 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
467 * properties/Makefile.am:
468 * properties/ev-properties-view.c:
469 (ev_properties_view_register_type):
470 * properties/ev-properties-view.h:
471 * properties/ev-properties-main.h:
473 Implement nautilus plugin for properties.
474 Works only for pdf atm, I need to rework the
475 document types stuff to get this to work
478 2005-07-04 Martin Kretzschmar <martink@gnome.org>
480 * shell/ev-properties-fonts.c (enum): kill redundant columns enum
481 (ev_properties_fonts_set_document): use
482 EV_DOCUMENT_FONTS_COLUMN_NUM_COLUMNS.
484 2005-07-04 Matthew S. Wilson <msw@rpath.com>
486 * tiff/tiff2ps.c: remove TRUE and FALSE definitions, glib provides
488 (PlaceImage, tiff2ps_process_page): use
489 g_ascii_dtostr to convert floats to strings in a locale-safe way.
492 2005-07-04 Martin Kretzschmar <martink@gnome.org>
494 * shell/main.c: include libgnomeui/gnome-authentication-manager.h
495 (main): to call gnome_authentication_manager_init. Should fix
498 * configure.ac: that requires libgnomeui 2.6.0.
500 2005-07-04 Matthew S. Wilson <msw@rpath.com>
502 * tiff/tiff-document.c (tiff_document_ps_export_begin)
503 (tiff_document_ps_export_do_page, tiff_document_ps_export_end):
504 use the new tiff2ps interfaces
506 * tiff/tiff2ps.h (tiff2ps_context_new, tiff2ps_process_page)
507 (tiff2ps_context_finalize): implement new interfaces for tiff2ps
509 * tiff/tiff2ps.c: refactor tiff2ps code to use a context
510 structure instead of global variables. Remove use of static
511 variables in functions.
513 2005-07-04 Carlos Garcia Campos <carlosgc@gnome.org>
515 * shell/ev-page-action.c: unref the completion after setting it to the
518 2005-07-04 Matthew S. Wilson <msw@rpath.com>
520 * tiff/tiff2ps.c (generateEPSF): disable generating encapsulated
523 2005-07-04 Matthew S. Wilson <msw@rpath.com>
525 * shell/ev-window.c (update_action_sensitivity): disable
526 File->Print if the document does not implement the ps exporter
529 2005-07-04 Marco Pesenti Gritti <mpg@redhat.com>
533 * data/evince-properties.glade:
534 * properties/.cvsignore:
535 * properties/Makefile.am:
536 * properties/ev-properties-view.c: (ev_properties_view_dispose),
537 (ev_properties_view_class_init), (ev_properties_view_format_date),
538 (make_valid_utf8), (set_property), (ev_properties_view_set_info),
539 (ev_properties_view_init), (ev_properties_view_new):
540 * properties/ev-properties-view.h:
542 * shell/ev-properties-dialog.c: (ev_properties_dialog_class_init),
543 (ev_properties_dialog_init), (ev_properties_dialog_set_document),
544 (ev_properties_dialog_new):
545 * shell/ev-properties-dialog.h:
546 * shell/ev-properties-fonts.c: (ev_properties_fonts_dispose),
547 (ev_properties_fonts_class_init), (ev_properties_fonts_init),
548 (update_progress_label), (job_fonts_finished_cb),
549 (ev_properties_fonts_set_document), (ev_properties_fonts_new):
550 * shell/ev-properties-fonts.h:
551 * shell/ev-properties.c:
552 * shell/ev-properties.h:
553 * shell/ev-window.c: (ev_window_setup_document),
554 (ev_window_cmd_file_properties):
556 Split the properties pages in two different objects, depend
557 only on the backend where possible, use widgets instead
558 of gobject for the glade part, reimplement the dialog
560 I need this to implement nautilus properties page.
562 2005-07-03 Matthew S. Wilson <msw@rpath.com>
564 * tiff/tiff-document.c (tiff_document_ps_export_begin)
565 (tiff_document_ps_export_do_page, tiff_document_ps_export_end)
566 (tiff_document_document_ps_exporter_iface_init): implement the ps
567 exporter interface for tiff documents
569 * tiff/tiff2ps.c: added a modified version of tiff2ps.c from
570 libtiff to implement TIFF postscript export
572 * tiff/tiff2ps.h: added a header file for external tiff2ps
575 * tiff/Makefile.am (libtiffdocument_la_SOURCES): add tiff2ps.c and
578 2005-07-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
580 * shell/ev-view.c: (scroll_to_current_page),
581 (ev_view_set_fullscreen), (ev_view_set_presentation):
583 Scroll to current page when exit from presentation
585 2005-07-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
587 * shell/ev-window.c: (update_document_mode),
588 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
589 (ev_window_cmd_view_fullscreen), (ev_window_stop_presentation),
590 (ev_window_cmd_view_presentation), (ev_window_cmd_escape):
592 Exit from fullscreen mode when switch to presentation. Fix for
595 2005-07-02 Matthew S. Wilson <msw@rpath.com>
597 * shell/ev-pixbuf-cache.c (ev_pixbuf_cache_get_selection_pixbuf):
598 return NULL if the document does not implement the selection
601 2005-07-02 Matthew S. Wilson <msw@rpath.com>
603 * tiff/tiff-document.c (tiff_document_get_page_size): scale the
604 reported height by using the resolution aspect ratio
605 (tiff_document_render_pixbuf): scale the pixbuf using the
606 resolution aspect ratio
608 2005-07-01 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
612 Require libgnomeprint >= 2.5.1. Thanks to Colin Slater
613 <kiltedaco@gmail.com>
615 * djvu/djvu-document.c: (djvu_document_get_orientation),
616 (djvu_document_set_orientation), (djvu_document_get_page_size),
617 (rotate_pixbuf), (djvu_document_render_pixbuf),
618 (djvu_document_document_iface_init):
619 * dvi/dvi-document.c: (dvi_document_get_orientation),
620 (dvi_document_set_orientation), (dvi_document_get_page_size),
621 (rotate_pixbuf), (dvi_document_render_pixbuf),
622 (dvi_document_document_iface_init):
624 Dvi and djvu backends are ported to new API
626 Fri Jul 1 00:10:15 2005 Jonathan Blandford <jrb@redhat.com>
628 * backend/ev-selection.c: (ev_selection_get_selection_region),
629 (ev_selection_get_selection_map):
630 * backend/ev-selection.h:
632 * shell/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
634 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info),
635 (job_finished_cb), (copy_job_to_job_info), (add_job_if_needed),
636 (ev_pixbuf_cache_get_text_mapping):
637 * shell/ev-pixbuf-cache.h:
638 * shell/ev-view.c: (location_in_text),
639 (ev_view_motion_notify_event), (ev_view_set_cursor): Add I-Beam
640 support to EvView. Now we can see where we can select! Sweet!
642 2005-06-30 Kristian Høgsberg <krh@redhat.com>
644 * shell/ev-view.c (ev_view_button_press_event): Fix
645 event->y + view->scroll_x typo.
647 2005-06-30 Kristian Høgsberg <krh@redhat.com>
649 * pdf/ev-poppler.cc: Adjust to poppler API changes; use a
650 sub-GdkPixbuf instead of passing dest_x and dest_y.
652 * shell/ev-view.c: (view_point_to_doc_point),
653 (view_rect_to_doc_rect), (ev_view_button_press_event),
654 (ev_view_motion_notify_event), (compute_new_selection_rect),
655 (gdk_rectangle_point_in), (compute_new_selection_text),
656 (compute_selections): Update selection code to keep the selection
657 around as two points and not as a normalized rectangle, and fix
658 page level selection in two-column mode.
660 2005-06-30 Alex Duggan <aldug@astrolinux.com>
662 * shell/ev-window.c: (window_configure_event_cb):
666 2005-06-30 Marco Pesenti Gritti <mpg@redhat.com>
672 2005-06-30 Marco Pesenti Gritti <mpg@redhat.com>
675 * shell/ev-metadata-manager.c: (item_free),
676 (ev_metadata_manager_init), (ev_metadata_manager_shutdown),
677 (parse_value), (parseItem), (load_values),
678 (ev_metadata_manager_get), (value_free), (ev_metadata_manager_set),
679 (save_values), (save_item), (get_oldest), (resize_items),
680 (ev_metadata_manager_save), (ev_metadata_manager_set_int):
681 * shell/ev-metadata-manager.h:
683 Metadata manager from gedit but modified to use GValue, so that
684 we dont need to keep converting from strings.
688 ENABLE_METADATA conditional, on when dbus is on
690 * shell/ev-application.c: (ev_application_open_uri):
692 Show the window after load so that we can initialize
693 window size before it's showed.
695 * shell/ev-window.c: (ev_window_setup_from_metadata),
696 (ev_window_open_uri), (window_configure_event_cb),
699 Save and load metadata information about window size.
700 Not yet keeping states in account.
702 * shell/main.c: (main):
704 Shutdown metadata manager.
706 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
708 * shell/ev-application-service.xml:
711 * shell/ev-application.c:
712 * shell/ev-application.h:
717 Add an optional dbus interface (--enable-dbus).
718 Rework application code, mainly to be easier to
720 Do not open multiple windows with the same document,
723 Thu Jun 30 01:50:14 2005 Jonathan Blandford <jrb@redhat.com>
725 * shell/ev-pixbuf-cache.c (clear_selection_if_needed): unref the
726 pixbuf iff it exists.
728 Thu Jun 30 01:43:00 2005 Jonathan Blandford <jrb@redhat.com>
731 * backend/ev-render-context.[ch]:
732 * backend/ev-selection.[ch]:
734 Massive changes. We now support text selection of pdfs, and not
735 just rectangular selection. This is pretty broken still, but I
736 want to get something into CVS.
738 2005-06-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
742 Fix for Bug 309080: crash on window close.
744 * shell/ev-page-action.c: (page_changed_cb):
746 Fix for Bug 309168: Fix build with gcc 2.95. Thanks to
747 jensgr@gmx.net (Jens Granseuer).
749 2005-06-25 Marcel Telka <marcel@telka.sk>
751 * configure.in (ALL_LINGUAS): Added sk.
753 2005-06-24 Carlos Garcia Campos <carlosgc@gnome.org>
755 * shell/ev-window.c: Make rotate menu entries unsensitive if there is
758 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
765 * cut-n-paste/recent-files/Makefile.am:
769 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
771 * pixbuf/pixbuf-document.c: (pixbuf_document_get_orientation),
772 (pixbuf_document_set_orientation), (rotate_pixbuf),
773 (pixbuf_document_get_page_size), (pixbuf_document_render_pixbuf),
774 (pixbuf_document_document_iface_init), (pixbuf_document_init):
776 Implement rotation and cleanup the code a bit.
778 * tiff/tiff-document.c: (tiff_document_get_page_size),
779 (tiff_document_get_orientation), (tiff_document_set_orientation),
780 (rotate_pixbuf), (tiff_document_render_pixbuf),
781 (tiff_document_document_iface_init), (tiff_document_init):
783 Implement rotation. Was the quicker solution for the release
784 but we really need to share this code in the shell.
786 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
790 Enable rotation, require poppler cvs. Fix a leak.
792 2005-06-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
794 * shell/ev-window.c: (update_action_sensitivity):
796 Make properties unsensitive if document backend doesn't provide
799 2005-06-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
801 * dvi/mdvi-lib/bitmap.c: (bitmap_alloc), (bitmap_alloc_raw),
802 (bitmap_flip_horizontally), (bitmap_flip_vertically),
803 (bitmap_flip_diagonally), (bitmap_rotate_clockwise),
804 (bitmap_rotate_counter_clockwise), (bitmap_flip_rotate_clockwise),
805 (bitmap_flip_rotate_counter_clockwise):
806 * dvi/mdvi-lib/color.c: (mdvi_push_color), (get_color_table):
807 * dvi/mdvi-lib/common.c: (read_string), (buff_free), (buff_add),
809 * dvi/mdvi-lib/common.h:
810 * dvi/mdvi-lib/dvimisc.c: (mdvi_push_color):
811 * dvi/mdvi-lib/dviread.c: (get_bytes), (dreset), (define_font),
812 (opendvi), (mdvi_reload), (mdvi_init_context),
813 (mdvi_destroy_context), (mdvi_dopage), (special):
814 * dvi/mdvi-lib/font.c: (font_drop_one), (font_free_unused):
815 * dvi/mdvi-lib/fontmap.c: (read_encoding), (destroy_encoding),
816 (file_hash_free), (register_encoding), (parse_spec),
817 (mdvi_load_fontmap), (free_ent), (mdvi_init_fontmaps),
818 (mdvi_add_fontmap_file), (mdvi_ps_read_fontmap),
819 (mdvi_ps_flush_fonts), (mdvi_ps_find_font), (mdvi_ps_get_metrics):
820 * dvi/mdvi-lib/fontsrch.c: (mdvi_list_font_class),
821 (mdvi_register_font_type), (mdvi_unregister_font_type),
822 (lookup_font), (mdvi_add_font), (mdvi_font_retry):
823 * dvi/mdvi-lib/gf.c: (gf_read_bitmap), (gf_load_font):
824 * dvi/mdvi-lib/hash.c: (mdvi_hash_remove), (mdvi_hash_remove_ptr),
825 (mdvi_hash_destroy_key), (mdvi_hash_reset):
826 * dvi/mdvi-lib/pagesel.c: (mdvi_parse_range),
827 (mdvi_parse_page_spec), (mdvi_free_page_spec), (main):
828 * dvi/mdvi-lib/paper.c: (mdvi_free_paper_specs):
829 * dvi/mdvi-lib/pk.c: (pk_lookup), (pk_lookupn), (pk_load_font):
830 * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
831 * dvi/mdvi-lib/special.c: (mdvi_register_special),
832 (mdvi_unregister_special), (mdvi_flush_specials):
833 * dvi/mdvi-lib/t1.c: (t1_lookup_font), (t1_really_load_font),
835 * dvi/mdvi-lib/tfm.c: (get_tfm_chars):
836 * dvi/mdvi-lib/tfmfile.c: (afm_load_file), (tfm_load_file),
837 (ofm1_load_file), (ofm_load_file), (get_font_metrics),
838 (free_font_metrics), (flush_font_metrics):
839 * dvi/mdvi-lib/tt.c: (tt_really_load_font), (tt_get_bitmap),
841 * dvi/mdvi-lib/util.c: (mdvi_malloc), (mdvi_realloc),
842 (mdvi_calloc), (mdvi_free), (mdvi_strdup), (mdvi_strncpy),
843 (mdvi_strndup), (mdvi_memdup), (xstradd), (dstring_append),
844 (dstring_insert), (dstring_new), (dstring_reset):
845 * dvi/mdvi-lib/vf.c: (vf_load_font), (vf_free_macros):
847 Rename xmalloc and xfree to mdvi_malloc and mdvi_free to
848 avoid conflict with libtool on FC4
850 * shell/ev-window.c: (ev_window_cmd_help_about):
852 Update copyright year. Fix for bug 308828.
854 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
856 * shell/ev-view.c: (add_scroll_binding_keypad),
857 (ev_view_binding_activated), (ev_view_class_init),
858 (on_adjustment_value_changed):
860 Bug 170874: Arrow keys switch pages in presentation mode
862 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
864 * shell/ev-window.c: (ev_window_sidebar_visibility_changed_cb):
866 Fix for Bug 308265: Sidebar dissappears coming out of
869 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
871 * shell/ev-application.c: (ev_application_open):
872 * shell/ev-document-types.c: (ev_document_types_add_filters),
873 (ev_document_types_add_filters_for_type):
874 * shell/ev-document-types.h:
875 * shell/ev-window.c: (ev_window_cmd_save_as):
877 Suggest basename as template when saving, provide filters
878 for save dialog. It's bug 308402
880 2005-06-20 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
883 * shell/ev-sidebar-links.c: (job_finished_callback):
884 * shell/ev-view.c: (update_find_status_message):
888 2005-06-19 Christian Persch <chpe@cvs.gnome.org>
890 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
891 (egg_recent_view_uimanager_set_list):
893 Fix buglet in !show_numbers case.
895 2005-06-19 Christian Persch <chpe@cvs.gnome.org>
897 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
898 (connect_proxy_cb), (egg_recent_view_uimanager_set_list):
900 Use pango ellipsisation.
904 Fix refcount leak, from nsh.
906 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
908 * cut-n-paste/recent-files/Makefile.am:
909 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
910 * cut-n-paste/recent-files/egg-recent-view-gtk.h:
912 Removed EggRecentViewGtk
914 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
915 * cut-n-paste/recent-files/egg-recent-view-uimanager.h:
916 * shell/ev-window.c: (ev_window_cmd_recent_file_activate),
917 (ev_window_setup_recent):
919 Use ViewUIManager instead of ViewGtk. Less leaks, more compatibility
922 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
924 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
925 (egg_recent_view_gtk_finalize):
929 * cut-n-paste/toolbar-editor/Makefile.am:
931 Fix location of cursor icon.
934 * shell/ev-page-action.c: (build_new_tree_cb), (match_selected_cb),
935 (display_completion_text), (match_completion):
936 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
937 (selection_changed_callback), (create_loading_model),
938 (print_section_cb), (links_page_num_func),
939 (update_page_callback_foreach):
940 * shell/ev-window.c: (ev_window_dispose):
942 Small memory fixes. Links model now store objects instead
943 of pointers to improve memory management.
945 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
947 * shell/ev-window.c: (zoom_control_changed_cb):
949 Fix update of zoom control (bug 308268).
951 Sat Jun 18 22:46:42 2005 Jonathan Blandford <jrb@redhat.com>
953 * shell/ev-properties.c (set_property): escape the text correctly.
954 Handles non-UTF-8 properties and escaped properties. Also, sets
955 the text to "<i>None</i>" if the property isn't set.
957 * data/evince-properties.glade: Change the label to be ellipsized,
958 and give it a minimum size.
960 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
962 * lib/ev-file-helpers.c: (ev_file_helpers_shutdown):
963 * shell/ev-sidebar-links.c: (create_loading_model):
964 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose):
965 * shell/ev-view.c: (ev_view_set_document):
966 * shell/ev-window.c: (ev_window_dispose):
968 Various small fixes, mostly memory leaks. Thanks to valgrind.
970 2005-06-19 Martin Kretzschmar <martink@gnome.org>
972 * ps/ps-document.c: remove the locale.h include again ;-). And
973 kill the (bogus) setlocale/savelocale business.
975 2005-06-19 Jaap A. Haitsma <jaap@haitsma.org>
979 Include locale.h to fix build
981 * shell/ev-sidebar.c:
983 Remove unnecessary includes
985 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
987 * dvi/dvi-document.c: (dvi_document_load):
988 * dvi/mdvi-lib/dviread.c: (mdvi_init_context):
991 Check for incorrect dvi files. Fix parsing dvi on AMD64
992 platform. Thanks to tester@tester.ca (Olivier Crete).
994 2005-06-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
996 * shell/ev-page-action.c: (match_selected_cb),
997 (display_completion_text), (match_completion), (update_model):
998 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
1000 * shell/ev-sidebar.c: (ev_sidebar_destroy),
1001 (ev_sidebar_menu_item_activate_cb), (ev_sidebar_add_page),
1002 (ev_sidebar_set_document):
1003 * shell/ev-window.c: (ev_window_xfer_job_cb),
1004 (sidebar_widget_model_set), (sidebar_page_main_widget_update_cb):
1006 Fixed lot's of memory leaks, for example, memory leak on reload,
1007 described in bug 307793.
1009 2005-06-18 Marco Pesenti Gritti <mpg@redhat.com>
1011 * pdf/ev-poppler.cc:
1012 * shell/ev-sidebar-thumbnails.c: (clear_range), (add_range),
1013 (update_visible_range), (adjustment_changed_cb),
1014 (ev_sidebar_thumbnails_fill_model),
1015 (ev_sidebar_thumbnails_refresh),
1016 (ev_sidebar_tree_selection_changed),
1017 (ev_sidebar_icon_selection_changed),
1018 (ev_sidebar_thumbnails_use_icon_view),
1019 (ev_sidebar_thumbnails_set_document):
1020 * shell/ev-sidebar-thumbnails.h:
1021 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
1022 (ev_window_cmd_edit_rotate_right), (ev_window_init):
1024 Refresh thumbnails when changing orientation. Not fully
1025 working yet becuase of a sidebar bug.
1027 Set page orientation to poppler page everywhere. This sucks
1028 really need to fix poppler.
1030 2005-06-18 Marco Pesenti Gritti <mpg@redhat.com>
1032 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
1033 (egg_recent_view_gtk_new_menu_item),
1034 (egg_recent_view_gtk_set_property),
1035 (egg_recent_view_gtk_get_property),
1036 (egg_recent_view_gtk_class_init), (egg_recent_view_gtk_init),
1037 (egg_recent_view_gtk_set_tooltip_func),
1038 (egg_recent_view_gtk_set_label_width),
1039 (egg_recent_view_gtk_get_label_width):
1040 * cut-n-paste/recent-files/egg-recent-view-gtk.h:
1042 Sync with libegg (ellipsize labels)
1044 2005-06-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1046 * data/evince-ui.xml:
1047 * shell/ev-window.c: (ev_window_cmd_go_forward),
1048 (ev_window_cmd_go_backward):
1050 Shift + PageUp moves 10 Pages. Fix for 306125
1052 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1054 * pdf/ev-poppler.cc:
1056 Add a flag to check if orientation has been overriden
1058 2005-06-17 Martin Kretzschmar <martink@gnome.org>
1060 * ps/ps.c (psscan, psfree): read "Creator:" comment, free creator
1063 * ps/ps.h: add creator field to document.
1065 * ps/ps-document.c (ps_document_get_info): set format to PostScript,
1068 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1070 * data/evince-properties.glade:
1071 * shell/ev-properties.c: (ev_properties_set_document):
1073 s/PDF Version/Format
1075 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1077 * shell/ev-properties.c: (ev_properties_set_document):
1079 Remove unnecessary translations
1081 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1083 * cut-n-paste/toolbar-editor/Makefile.am:
1085 Correct library name
1087 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1090 * cut-n-paste/recent-files/egg-recent-model.c:
1091 (egg_recent_model_write_raw), (egg_recent_model_lock_file),
1092 (egg_recent_model_unlock_file):
1093 * cut-n-paste/recent-files/egg-recent-util.c:
1094 (egg_recent_util_get_unique_id):
1095 * cut-n-paste/recent-files/update-from-egg.sh:
1096 * cut-n-paste/toolbar-editor/Makefile.am:
1097 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
1098 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
1099 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
1100 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
1101 (egg_toolbars_model_get_type):
1102 * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
1104 Better makefile for toolbar editor and update everything
1107 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1109 * shell/ev-window.c: (update_document_mode):
1111 Prefer presentation mode when the document
1114 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1116 * data/evince-ui.xml:
1117 * shell/ev-window.c:
1119 Add control-equal for zooming
1121 2005-06-17 Theppitak Karoonboonyanan <thep@linux.thai.net>
1123 * configure.ac: Added 'th' (Thai) to ALL_LINGUAS.
1125 2005-06-16 Marco Pesenti Gritti <mpg@redhat.com>
1127 * backend/ev-document.c: (ev_document_get_orientation):
1128 * backend/ev-document.h:
1129 * pdf/ev-poppler.cc:
1130 * ps/ps-document.c: (ps_document_get_orientation),
1131 (ps_document_set_orientation), (ps_document_document_iface_init):
1133 Add a get_orientation api. Improve set_orientation.
1135 * data/evince-ui.xml:
1136 * shell/ev-view.c: (ev_view_set_orientation),
1137 (ev_view_rotate_right), (ev_view_rotate_left):
1139 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
1140 (ev_window_cmd_edit_rotate_right):
1142 Better ui for changing document orientation
1144 2005-06-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1146 * shell/ev-sidebar-links.c: (ev_sidebar_links_get_property),
1147 (ev_sidebar_links_class_init), (ev_sidebar_links_get_label):
1148 * shell/ev-sidebar-links.h:
1149 * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
1150 (ev_sidebar_page_iface_init):
1151 * shell/ev-sidebar-page.h:
1152 * shell/ev-sidebar-thumbnails.c:
1153 (ev_sidebar_thumbnails_get_property),
1154 (ev_sidebar_thumbnails_class_init),
1155 (ev_sidebar_thumbnails_set_document):
1156 * shell/ev-sidebar-thumbnails.h:
1157 * shell/ev-view.c: (ev_view_motion_notify_event):
1158 * shell/ev-window.c: (update_chrome_visibility),
1159 (ev_window_cmd_focus_page_selector),
1160 (ev_window_update_fullscreen_popup), (view_actions_focus_in_cb),
1161 (sidebar_page_main_widget_update_cb), (ev_window_init):
1163 Autoraise toolbar on GoToPage binding and fix bindings in
1164 EvSidebarThumbnails page.
1166 2005-06-15 Christian Persch <chpe@cvs.gnome.org>
1168 * shell/ev-properties.c: (update_progress_label):
1170 Hide the progress label when finished; bug #307697.
1172 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
1174 * pdf/ev-poppler.cc:
1176 Enable is_open for links, you will need poppler cvs
1178 * shell/ev-properties.c: (job_fonts_finished_cb):
1180 Get a lock on the document when filling the tree view
1182 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
1184 * backend/ev-document-links.h:
1185 * pdf/ev-poppler.cc:
1186 * shell/ev-sidebar-links.c: (create_loading_model),
1187 (expand_open_links), (job_finished_callback):
1189 Expand links when specified by the document.
1190 Depend on a poppler api (defined out for now)
1192 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
1194 * shell/ev-properties.c: (ev_properties_dispose),
1195 (ev_properties_class_init), (dialog_destroy_cb),
1196 (ev_properties_init), (job_fonts_finished_cb), (setup_fonts_view),
1197 (ev_properties_set_document), (ev_properties_new),
1198 (ev_properties_show):
1199 * shell/ev-properties.h:
1201 Make it an object, cleanup the code, api to show it as transient
1202 and to set the document.
1204 * shell/ev-window.c: (ev_window_setup_document),
1205 (ev_window_cmd_file_properties):
1207 Adapt to EvProperties changes, do not show multiple
1208 times, update it when document changes.
1210 2005-06-14 Marco Pesenti Gritti <mpg@redhat.com>
1213 * ps/ps-document.c: (ps_document_init), (get_page_orientation),
1214 (ps_document_set_orientation), (ps_document_document_iface_init):
1217 Implement orientation here too
1219 * shell/ev-properties.c: (ev_properties_new):
1220 * data/evince-properties.glade:
1222 Hide the fonts page for backends that doesnt
1225 2005-06-14 Marco Pesenti Gritti <mpg@redhat.com>
1227 * backend/ev-document.c: (ev_document_set_orientation):
1228 * backend/ev-document.h:
1229 * pdf/ev-poppler.cc:
1231 Add orientation api. Currently poppler api is not optimal,
1232 we need to set orientation every time we _get a page.
1233 I will try to fix that at some point.
1235 * data/evince-ui.xml:
1236 * shell/ev-window.c: (ev_window_cmd_edit_landscape),
1237 (ev_window_cmd_edit_portrait), (ev_window_cmd_edit_flip):
1239 Add orientation menu items
1241 * shell/ev-page-cache.c: (ev_page_cache_clear):
1242 * shell/ev-page-cache.h:
1244 Add api to clear the cache
1246 * shell/ev-view.c: (setup_caches), (clear_caches),
1247 (ev_view_set_document), (ev_view_zoom_out),
1248 (ev_view_set_orientation):
1251 Implement orientation changing
1253 2005-06-13 Marco Pesenti Gritti <mpg@redhat.com>
1255 * backend/ev-document-fonts.c: (ev_document_fonts_get_progress),
1256 (ev_document_fonts_scan), (ev_document_fonts_fill_model):
1257 * backend/ev-document-fonts.h:
1259 Separate scan and fill so that we can incrementally fill from
1260 the main thread. Add a progress api.
1262 * data/evince-properties.glade:
1263 * pdf/ev-poppler.cc:
1264 * shell/ev-jobs.c: (ev_job_fonts_new), (ev_job_fonts_run):
1266 * shell/ev-properties.c: (update_progress_label),
1267 (job_fonts_finished_cb), (setup_fonts_view):
1269 Incrementally feel the list and show the progress
1270 percentage in a label like acrobat does.
1272 You are going to need poppler cvs
1274 2005-06-11 Marco Pesenti Gritti <mpg@redhat.com>
1276 * backend/ev-document-fonts.c: (ev_document_fonts_fill_model):
1277 * backend/ev-document-fonts.h:
1278 * pdf/ev-poppler.cc:
1280 Make fonts model fill incrementally.
1282 * shell/ev-job-queue.c: (handle_job), (search_for_jobs_unlocked),
1283 (no_jobs_available_unlocked), (ev_job_queue_init), (find_queue),
1284 (ev_job_queue_remove_job):
1285 * shell/ev-jobs.c: (ev_job_fonts_init), (ev_job_fonts_class_init),
1286 (ev_job_fonts_new), (ev_job_fonts_run):
1289 New job for fonts scanning
1291 * shell/ev-properties.c: (job_fonts_finished_cb),
1292 (fill_fonts_treeview), (setup_fonts_view), (ev_properties_new):
1293 * shell/ev-properties.h:
1294 * shell/ev-window.c: (ev_window_cmd_file_properties):
1296 Incrementally feel the treeview using the new job. Show Loading...
1297 message until scanning is completed.
1299 Hopefully I didnt break the build without the poppler patch.
1301 2005-06-10 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1303 * shell/ev-application.c: (ev_application_open):
1304 * shell/ev-document-types.c: (ev_document_type_from_from_mime),
1305 (ev_document_type_get_type), (ev_document_type_lookup):
1306 * shell/ev-document-types.h:
1307 * shell/ev-job-xfer.c: (ev_job_xfer_dispose), (ev_job_xfer_run):
1308 * shell/ev-job-xfer.h:
1309 * shell/ev-window.c: (ev_window_clear_local_uri),
1310 (ev_window_load_job_cb), (ev_window_xfer_job_cb),
1311 (ev_window_open_uri), (ev_window_add_recent), (ev_window_dispose):
1312 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
1314 Transfer remote documents to tmp directory to display them later.
1316 2005-06-10 Marco Pesenti Gritti <mpg@redhat.com>
1318 * backend/ev-document-info.h:
1319 * shell/ev-properties.c: (ev_properties_new):
1321 s/GTime*/GTime. Not sure why we was using a pointer
1324 Wed Jun 8 01:04:22 2005 Jonathan Blandford <jrb@redhat.com>
1326 * shell/ev-sidebar-thumbnails.c: Use a GtkIconView in certain
1327 situations. That situation is that you're using GTK+-HEAD with
1328 the patch at #306726 is applied, and you have a document with <
1329 1500 pages in it. It's not quite as uniformly nice as the
1330 TreeView, but should be better in the long run.
1332 I'm pretty sure I guarded against breaking compilation with
1333 HAVE_GTK_ICON_VIEW_GET_VISIBLE_RANGE gaurds, though it's possible
1336 * shell/ev-window.c (ev_window_init): We don't have our tree/list
1337 widget yet, so I commented that code out
1338 enable_view_actions_for_widget() for now. Need to figure this
1341 * shell/ev-page-action.c (match_selected_cb): emit the right
1342 signals. Our cool C-l completion now works.
1344 2005-06-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1346 * backend/Makefile.am:
1347 * backend/ev-document-fonts.c:
1348 * backend/ev-document-links.c:
1349 * backend/ev-document.c: (ev_document_load):
1350 * backend/ev-document.h:
1351 * backend/ev-job-queue.c:
1352 * backend/ev-job-queue.h:
1353 * backend/ev-jobs.c:
1354 * backend/ev-jobs.h:
1355 * backend/ev-page-cache.c:
1356 * backend/ev-page-cache.h:
1358 EvPageCache and EvJobs are moved to shell.
1360 * lib/ev-file-helpers.c: (ev_file_helpers_shutdown),
1362 * lib/ev-file-helpers.h:
1364 New helper to work with temporary files
1366 * shell/Makefile.am:
1367 * shell/ev-application.c: (ev_application_open):
1368 * shell/ev-application.h:
1369 * shell/ev-job-queue.c: (remove_job_from_queue_locked),
1370 (remove_job_from_async_queue), (add_job_to_async_queue),
1371 (add_job_to_queue_locked), (notify_finished), (job_finished_cb),
1372 (handle_job), (search_for_jobs_unlocked),
1373 (no_jobs_available_unlocked), (ev_render_thread),
1374 (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
1375 (ev_job_queue_add_job), (move_job_async), (move_job),
1376 (ev_job_queue_update_job), (ev_job_queue_remove_job):
1377 * shell/ev-job-queue.h:
1378 * shell/ev-job-xfer.c: (ev_job_xfer_init), (ev_job_xfer_dispose),
1379 (ev_job_xfer_class_init), (ev_job_xfer_new), (ev_job_xfer_run):
1380 * shell/ev-job-xfer.h:
1381 * shell/ev-jobs.c: (ev_job_init), (ev_job_dispose),
1382 (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
1383 (ev_job_links_class_init), (ev_job_render_init),
1384 (ev_job_render_dispose), (ev_job_render_class_init),
1385 (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
1386 (ev_job_thumbnail_class_init), (ev_job_load_init),
1387 (ev_job_load_dispose), (ev_job_load_class_init), (ev_job_finished),
1388 (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
1389 (render_finished_cb), (ev_job_render_run), (ev_job_thumbnail_new),
1390 (ev_job_thumbnail_run), (ev_job_load_new), (ev_job_load_run):
1392 * shell/ev-page-action.c: (ev_page_action_set_document):
1393 * shell/ev-page-cache.c: (ev_page_cache_init),
1394 (ev_page_cache_class_init), (ev_page_cache_finalize),
1395 (ev_page_cache_new), (ev_page_cache_get_n_pages),
1396 (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
1397 (ev_page_cache_set_page_label), (ev_page_cache_set_link),
1398 (ev_page_cache_get_title), (ev_page_cache_get_size),
1399 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
1400 (ev_page_cache_get_height_to_page),
1401 (ev_page_cache_get_max_label_chars),
1402 (ev_page_cache_get_page_label),
1403 (ev_page_cache_has_nonnumeric_page_labels),
1404 (ev_page_cache_get_info), (ev_page_cache_next_page),
1405 (ev_page_cache_prev_page), (ev_page_cache_get):
1406 * shell/ev-page-cache.h:
1407 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_update_range),
1408 (ev_pixbuf_cache_clear_job_sizes),
1409 (ev_pixbuf_cache_add_jobs_if_needed),
1410 (ev_pixbuf_cache_set_page_range):
1411 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings):
1412 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document):
1413 * shell/ev-sidebar-thumbnails.c:
1414 (ev_sidebar_tree_selection_changed),
1415 (ev_sidebar_thumbnails_set_document):
1416 * shell/ev-statusbar.c: (ev_statusbar_destroy),
1417 (ev_statusbar_class_init), (ev_statusbar_init), (ev_statusbar_new),
1418 (ev_statusbar_get_context_id), (ev_statusbar_push),
1419 (ev_statusbar_pop), (ev_statusbar_set_maximized),
1420 (ev_statusbar_pulse), (ev_statusbar_show_progress),
1421 (ev_statusbar_set_progress):
1422 * shell/ev-statusbar.h:
1423 * shell/ev-view.c: (ev_view_set_document), (ev_view_find_next),
1424 (ev_view_find_previous):
1425 * shell/ev-window.c: (ev_window_is_empty),
1426 (ev_window_setup_document), (password_dialog_response),
1427 (ev_window_clear_jobs), (ev_window_load_job_cb),
1428 (ev_window_xfer_job_cb), (ev_window_open_uri),
1429 (ev_window_open_uri_list), (ev_window_cmd_recent_file_activate),
1430 (ev_window_print), (ev_window_print_range),
1431 (ev_window_state_event), (ev_window_cmd_view_reload),
1432 (menu_item_select_cb), (menu_item_deselect_cb),
1433 (view_status_changed_cb), (ev_window_dispose),
1434 (drag_data_received_cb), (ev_window_init):
1435 * shell/ev-window.h:
1436 * shell/main.c: (load_files):
1438 New statusbar to show progress on idle. Two new jobs -
1439 xfer job and load job to load document in background. And update
1440 of page_cache clients to new location of code.
1442 2005-06-08 Carlos Garcia Campos <carlosgc@gnome.org>
1444 * shell/ev-application.c, shell/ev-window.[ch]: Allow multiple
1445 selection in open dialog. It also remembers the last visited directory
1446 in the current session.
1448 2005-06-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1450 * shell/ev-properties.c: (ev_properties_new):
1451 * shell/ev-properties.h:
1452 * shell/ev-window.c: (ev_window_cmd_file_properties):
1454 Get document info from page cache instead of document itself.
1455 This should fix crash related to race conditions described in
1458 2005-06-07 Marco Pesenti Gritti <mpg@redhat.com>
1460 * ps/ps-document.c: (ps_document_init),
1461 (send_ps), (get_page_box), (output), (catchPipe), (input),
1462 (stop_interpreter), (file_length), (file_readable),
1463 (check_filecompressedb), (ps_document_enable_interpreter),
1464 (document_load), (ps_async_renderer_render_pixbuf):
1467 Big cleanup of the ps code
1469 2005-06-07 Marco Pesenti Gritti <mpg@redhat.com>
1471 * backend/Makefile.am:
1472 * backend/ev-async-renderer.c: (ev_async_renderer_get_type),
1473 (ev_async_renderer_class_init), (ev_async_renderer_render_pixbuf):
1474 * backend/ev-async-renderer.h:
1476 Add an async renderer interface (method + callback) which
1477 is useful for backends like ps.
1479 * backend/ev-job-queue.c: (remove_job_from_async_queue),
1480 (add_job_to_async_queue), (job_finished_cb), (handle_job),
1481 (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
1482 (ev_job_queue_add_job), (move_job_async), (move_job),
1483 (ev_job_queue_update_job), (ev_job_queue_remove_job):
1485 Add queues for async renderer, these are executed on the
1488 * backend/ev-jobs.c: (ev_job_render_new), (render_finished_cb),
1489 (ev_job_render_run):
1490 * backend/ev-jobs.h:
1492 If the backend support async renderer interface use it.
1494 * ps/ps-document.c: (ps_document_init), (push_pixbuf),
1495 (setup_pixmap), (ps_document_get_type),
1496 (ps_async_renderer_render_pixbuf),
1497 (ps_document_document_iface_init), (ps_async_renderer_iface_init):
1499 Implement async renderer interface.
1501 2005-06-07 Nickolay V. Shmyrev <<nshmyrev@yandex.ru>>
1503 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose):
1505 Cleanup links job on exit.
1507 2005-06-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1509 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
1510 (drag_data_get_cb), (drag_data_received_cb):
1511 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
1512 (drag_data_get_cb), (parse_item_list),
1513 (egg_toolbar_editor_load_actions):
1514 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
1515 (egg_toolbars_model_to_xml), (egg_toolbars_model_save),
1516 (parse_item_list), (parse_toolbars):
1517 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
1518 (dvi_pixbuf_put_pixel):
1520 Fix gcc 4.0 warnings
1522 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
1524 * ps/ps-document.c: (start_interpreter):
1526 Fix warning when loading ps
1528 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
1530 * ps/ps-document.c: (output):
1532 Fix crash when priting gs error messages.
1534 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
1536 * backend/ev-page-cache.c: (_ev_page_cache_new):
1537 * backend/ev-page-cache.h:
1539 Use a const to return title so that we dont double
1540 free it. Small cleanup and fix a leak.
1542 * shell/ev-window.c: (update_window_title):
1544 strdup value from get_title.
1546 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
1548 * shell/ev-sidebar-links.c: (job_finished_callback),
1549 (ev_sidebar_links_set_document):
1551 Cleanup the old job when changing document
1553 2005-06-05 Nickolay V. Shmyrev <<nshmyrev@yandex.ru>>
1555 * shell/ev-stock-icons.c:
1556 * shell/ev-stock-icons.h:
1557 * shell/ev-window.c:
1559 Add stock icons for actions that can appear in toolbar. Fix for
1562 2005-06-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1564 * backend/ev-page-cache.c: (ev_page_cache_finalize),
1565 (_ev_page_cache_new), (ev_page_cache_get_max_width),
1566 (ev_page_cache_get_max_height), (ev_page_cache_get_height_to_page):
1567 * backend/ev-page-cache.h:
1568 * shell/ev-view.c: (scroll_to_current_page),
1569 (view_update_range_and_current_page), (get_page_y_offset),
1570 (get_page_extents), (ev_view_size_request_continuous_dual_page),
1571 (ev_view_size_request_continuous),
1572 (ev_view_zoom_for_size_continuous_and_dual_page),
1573 (ev_view_zoom_for_size_continuous):
1575 More compact EvView layout in document with pages of different size.
1577 Sat Jun 4 19:20:57 2005 Jonathan Blandford <jrb@redhat.com>
1579 * shell/ev-window.c (ev_window_cmd_file_properties): fix
1582 2005-06-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1584 * shell/ev-view.c: (view_set_adjustment_values):
1585 * shell/ev-window.c: (ev_window_cmd_file_properties):
1587 A bit different fix for rounding problem but it has no
1588 problems on startup. Make properties window transient to parent.
1590 2005-06-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1592 * pdf/ev-poppler.cc:
1594 More commenting of font stuff.
1596 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1598 * pdf/ev-poppler.cc:
1600 Comment out some more fonts stuff. Should really
1601 work without the poppler patch now.
1603 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1605 * pdf/ev-poppler.cc:
1609 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1611 * data/evince-properties.glade:
1612 * pdf/ev-poppler.cc:
1613 * shell/ev-properties.c: (setup_fonts_view):
1615 Set the column title. Show the dialog only
1616 once everything is setup.
1617 Getting font info can be very slow... will
1618 prolly need to make this threaded too.
1620 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1622 * backend/Makefile.am:
1623 * backend/ev-document-fonts.c: (ev_document_fonts_get_type),
1624 (ev_document_fonts_get_fonts_model):
1625 * backend/ev-document-fonts.h:
1626 * data/evince-properties.glade:
1627 * pdf/ev-poppler.cc:
1628 * shell/ev-properties.c: (setup_fonts_view), (ev_properties_new):
1629 * shell/ev-properties.h:
1630 * shell/ev-window.c: (ev_window_cmd_file_properties):
1632 Implement fonts list. Defined out for now, since it depends
1633 on a not yet committed poppler patch.
1635 Fri Jun 3 21:07:57 2005 Jonathan Blandford <jrb@redhat.com>
1637 * shell/ev-view.c (get_page_extents): other_page isn't necessarily
1640 * shell/ev-window.c: Make sure we add the timeout when we get a
1643 * shell/ev-view.c (view_set_adjustment_values): Add 0.5 to
1644 adjustment->value before calculating the zoom factor to average
1645 out all of our rounding errors. The page no longer 'drifts' when
1648 2005-06-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1650 * data/evince-properties.glade:
1651 * shell/ev-properties.c: (ev_properties_format_date),
1654 Labels don't expand when the dialogue is resized.
1655 strftime result needs to be converted to UTF-8. Thanks
1656 to Christian Persch <chpe@gnome.org>.
1658 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1660 * data/evince-properties.glade:
1664 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1666 * backend/ev-document-info.h:
1667 * backend/ev-document.c: (ev_document_info_free):
1668 * data/evince-properties.glade:
1669 * pdf/ev-poppler.cc:
1670 * ps/ps-document.c: (ps_document_get_info):
1671 * shell/ev-properties.c: (ev_properties_format_date),
1672 (set_property), (ev_properties_new):
1673 * shell/ev-properties.h:
1674 * shell/ev-window.c: (ev_window_cmd_file_properties):
1676 Rework properties code to take only EvPropertyInfo
1677 in the constructor so that it can be useful for
1678 nautilus plugin too.
1680 Deal with backends that doesnt support some properties.
1681 Make set property code generic.
1683 2005-06-04 Christian Persch <chpe@gnome.org>
1685 * data/evince-properties.glade:
1687 fix spacings, make resizeable, and make data labels
1688 selectable + ellipsised
1690 2005-06-03 Marco Pesenti Gritti <mpg@redhat.com>
1692 * backend/ev-document-info.h:
1694 * data/evince-ui.xml:
1695 * pdf/ev-poppler.cc:
1696 * shell/Makefile.am:
1697 * shell/ev-window.c: (update_action_sensitivity),
1698 (ev_window_cmd_file_properties):
1700 Initial go at file properties. Patch by
1701 Emil Soleyman-Zomalan <emil@soleyman.com>.
1702 Needs love see #169583
1704 2005-06-02 Marco Pesenti Gritti <mpg@redhat.com>
1706 * ps/ps-document.c: (output):
1707 * ps/ps.c: (psscan):
1709 Try to render even if psscan fails.
1711 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
1713 * ps/ps.c: (psscan), (pscopydoc):
1715 Port buffered reading code from gv
1717 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
1719 * ps/ps-document.c: (interpreter_message), (output):
1721 Do not fail on interpreter messages
1723 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
1725 * backend/ev-document-misc.c:
1726 (ev_document_misc_get_thumbnail_frame):
1728 Pages can be 0 x 0, dont assert on this case
1730 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1732 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
1733 (ev_sidebar_links_class_init), (ev_sidebar_links_set_document):
1735 Correctly manage our reference on document. Finally the reload
1736 huge leak is gone...
1738 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1740 * ps/ps-document.c: (ps_document_dispose):
1742 Forgot to chain it to the parent. Thanks chpe.
1744 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1746 * ps/ps-document.c: (ps_document_dispose),
1747 (ps_document_class_init), (stop_interpreter), (document_load):
1749 Cleanup dispose a bit. Dont leak the whole pixmap.
1751 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1753 * pdf/ev-poppler.cc:
1755 Release the poppler document on dispose
1757 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1759 * shell/ev-view.c: (ev_view_set_document):
1761 Release ref on the pixbuf cache when changing
1764 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1766 * ps/ps-document.c: (ps_document_get_info):
1770 2005-05-31 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
1772 * backend/ev-page-cache.c: (ev_page_cache_init),
1773 (_ev_page_cache_new), (ev_page_cache_get_max_label_chars):
1774 * backend/ev-page-cache.h:
1775 * shell/ev-page-action.c: (page_changed_cb):
1777 Set page action entry width depending on labels width. Fix
1780 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1782 * backend/ev-link.c: (ev_link_class_init):
1784 Allow -1 as page value (error)
1786 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1788 * shell/ev-sidebar-thumbnails.c:
1789 (ev_sidebar_thumbnails_set_document):
1790 * shell/ev-view.c: (scroll_to_current_page),
1791 (view_set_adjustment_values), (ev_view_set_scroll_adjustments),
1792 (page_changed_cb), (on_adjustment_value_changed),
1793 (ev_view_set_document):
1795 Slightly modified patch by Nickolay V. Shmyrev <nshmyrev@yandex.ru>.
1798 2005-05-29 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1801 * djvu/djvu-document.c: (djvu_document_get_page_size):
1803 Require djvulibre CVS. Now djvu loading is much faster. Fix for
1806 Sat May 28 07:38:03 2005 Jonathan Blandford <jrb@redhat.com>
1808 * shell/ev-view.c (draw_one_page): modify the expose handling to
1811 * shell/ev-window.c (update_action_sensitivity): Respect
1812 permissions field. Kowtow to the man.
1814 * pdf/ev-poppler.cc: Get the permissions field.
1816 * tiff/*c: Make a tiny bit more robust.
1818 2005-05-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1820 * djvu/djvu-document.c:
1822 Pop messages from djvu context message queue.
1824 2005-05-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1826 * configure.ac, Makefile.am, shell/Makefile.am:
1827 * tiff/Makefile.am, shell/ev-document-types.c:
1829 Cleanup tiff configure checks. Fix for bug 305218.
1831 2005-05-24 Maxim V. Dziumanenko <mvd@mylinux.ua>
1833 * configure.ac: Added "uk" to ALL_LINGUAS.
1835 2005-05-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1837 * cut-n-paste/zoom-control/ephy-zoom.c:
1838 (ephy_zoom_get_changed_zoom_level):
1839 * cut-n-paste/zoom-control/ephy-zoom.h:
1840 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_set_property),
1841 (ev_view_get_property), (ev_view_class_init), (ev_view_set_zoom):
1842 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
1843 (ev_window_cmd_view_zoom_out), (ev_window_zoom_changed_cb),
1844 (zoom_control_changed_cb), (ev_window_init):
1846 Fix minor points related to moving best fit up. Introduce
1847 "zoom" property and make zoom control change it's value on
1848 notify::zoom signals. Fix for 305080.
1850 2005-05-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1852 * data/evince-ui.xml:
1853 * shell/ev-window.c: (set_view_actions_sensitivity):
1855 Use + and - as accels for zoom in and zoom out. Fix for 305001.
1857 2005-05-22 Marco Pesenti Gritti <mpg@redhat.com>
1861 Depends on poppler 0.3.2
1863 2005-05-22 Marco Pesenti Gritti <mpg@redhat.com>
1865 * cut-n-paste/recent-files/egg-recent-item.c:
1866 (egg_recent_item_get_short_name):
1867 * cut-n-paste/toolbar-editor/Makefile.am:
1868 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
1869 (new_pixbuf_from_widget):
1870 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
1871 * cut-n-paste/toolbar-editor/egg-marshal.c:
1872 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
1873 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
1877 Sat May 21 23:18:30 2005 Jonathan Blandford <jrb@redhat.com>
1879 * tiff/tiff-document.c: Rough TIFF backend.
1881 2005-05-21 Marco Pesenti Gritti <mpg@redhat.com>
1885 * cut-n-paste/toolbar-editor/Makefile.am:
1889 2005-05-21 Marco Pesenti Gritti <mpg@redhat.com>
1891 * shell/ev-view.c: (jump_to_find_result), (ev_view_can_find_next),
1892 (ev_view_find_next), (ev_view_find_previous):
1894 Remove the locks around get_n_results
1896 2005-05-21 Juerg Billeter <j@bitron.ch>
1898 * pdf/ev-poppler.c: (pdf_document_ps_exporter_begin):
1900 Pass correct number of pages to poppler.
1902 2005-05-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1906 * data/evince.desktop.in:
1907 * data/evince.desktop.in.in:
1910 Add conditionally dvi and djvu to desktop types. Fix for 304658.
1912 Sat May 21 00:21:30 2005 Jonathan Blandford <jrb@redhat.com>
1914 * shell/ev-view.c: (view_update_adjustments),
1915 (view_set_adjustment_values): cast adjustmen->value to (int)
1916 before using it. Otherwise, we get off by a pixel in some
1919 (draw_one_page): Draw the border on expose.
1921 Fri May 20 22:05:25 2005 Jonathan Blandford <jrb@redhat.com>
1923 * *shell/ev-view.c: Patch from Nickolay V. Shmyrev to reset the
1924 adjustment when the mode changes, #304923
1926 Fri May 20 02:00:03 2005 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1928 * shell/ev-view.c: Use gdk_widget_queue_draw to remove
1929 flickering on resize but still use gdk_window_scroll on
1932 Fri May 20 01:46:57 2005 Jonathan Blandford <jrb@redhat.com>
1934 * shell/ev-view.c: Patch from Nickolay Shmyrev to fix the -p
1937 Fri May 20 01:27:01 2005 Jonathan Blandford <jrb@redhat.com>
1939 * shell/ev-view.c: Patch from Nickolay Shmyrev to to scroll to
1940 second page on page_changed if possible, #304669
1942 Fri May 20 01:07:15 2005 Jonathan Blandford <jrb@redhat.com>
1944 * shell/ev-view.c (view_update_adjustments): Use gdk_window_scroll
1945 instead of gtk_widget_queue_draw. Massive speedups in scrolling.
1947 Fri May 20 01:05:10 2005 Jonathan Blandford <jrb@redhat.com>
1950 * shell/ev-view.c:(ev_view_size_allocate), (ev_view_class_init),
1951 (zoom_for_size_fit_width), (zoom_for_size_best_fit),
1952 (ev_view_zoom_for_size_presentation),
1953 (ev_view_zoom_for_size_continuous_and_dual_page),
1954 (ev_view_zoom_for_size_continuous),
1955 (ev_view_zoom_for_size_dual_page),
1956 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size):
1958 * shell/ev-window.c: (update_view_size),
1959 (ev_window_sizing_mode_changed_cb):
1961 Patch from Nickolay Shmyrev <nshmyrev@yandex.ru> to handle
1962 the scrollbars. It's not 100% right, but it's much closer. Kills
1963 an infinite loop, #304769
1966 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
1968 * data/evince-ui.xml:
1969 * shell/ev-view.c: (ev_view_scroll_view), (ev_view_class_init):
1970 * shell/ev-window.c: (set_view_actions_sensitivity):
1972 Make PgUp/Down behave like Space
1974 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
1976 * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
1977 * backend/ev-ps-exporter.h:
1978 * pdf/ev-poppler.cc:
1979 * ps/ps-document.c: (ps_document_ps_export_begin):
1980 * shell/ev-print-job.c: (idle_print_handler):
1982 Adapt to new poppler api
1984 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
1986 * cut-n-paste/zoom-control/ephy-zoom-control.c:
1987 (ephy_zoom_control_init):
1989 Translate zoom levels
1991 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
1993 * cut-n-paste/zoom-control/ephy-zoom.c:
1994 (ephy_zoom_get_zoom_level_index):
1996 Fix current zoom -> zoom control match
1998 2005-05-18 James Bowes <bowes@cs.dal.ca>
2000 * shell/ev-window.c: (ev_window_init): Give focus to the ev-view,
2001 rather than the scrolled_window that it's in. Fixes bug #304655.
2003 Tue May 17 22:54:17 2005 Jonathan Blandford <jrb@redhat.com>
2005 * shell/ev-view.c: (view_update_adjustments),
2006 (view_set_adjustment_values), (view_update_range_and_current_page),
2007 (view_scroll_to_page), (set_scroll_adjustment),
2008 (ev_view_set_scroll_adjustments), (add_scroll_binding_keypad),
2009 (ev_view_scroll), (ev_view_scroll_view),
2010 (ensure_rectangle_is_visible), (find_page_at_location),
2011 (get_link_at_location), (go_to_link), (status_message_from_link),
2012 (ev_view_size_request_continuous_dual_page),
2013 (ev_view_size_request), (ev_view_size_allocate), (ev_view_realize),
2014 (ev_view_unrealize), (ev_view_expose_event),
2015 (ev_view_button_press_event), (ev_view_motion_notify_event),
2016 (ev_view_button_release_event), (ev_gdk_color_to_rgb),
2017 (draw_rubberband), (highlight_find_results), (draw_one_page),
2018 (ev_view_finalize), (ev_view_destroy), (ev_view_class_init),
2019 (ev_view_init), (find_changed_cb), (page_changed_cb),
2020 (on_adjustment_value_changed), (ev_view_new),
2021 (ev_view_set_document), (ev_view_set_zoom),
2022 (ev_view_set_continuous), (ev_view_set_dual_page),
2023 (ev_view_set_presentation), (ev_view_zoom_in), (ev_view_zoom_out),
2024 (zoom_for_size_fit_width), (zoom_for_size_best_fit),
2025 (ev_view_zoom_for_size_presentation),
2026 (ev_view_zoom_for_size_continuous_dual_page),
2027 (ev_view_zoom_for_size_continuous),
2028 (ev_view_zoom_for_size_dual_page),
2029 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
2030 (ev_view_get_status), (ev_view_set_status),
2031 (update_find_status_message), (ev_view_get_find_status),
2032 (ev_view_set_find_status), (jump_to_find_result),
2033 (jump_to_find_page), (compute_selections), (clear_selection),
2034 (ev_view_select_all), (get_selected_text), (ev_view_copy),
2035 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
2036 (ev_view_update_primary_selection),
2037 (ev_view_create_invisible_cursor), (ev_view_set_cursor):
2039 * shell/ev-window.c: (ev_window_open_page_label),
2040 (ev_window_cmd_view_reload), (ev_window_sizing_mode_changed_cb),
2042 * shell/ev-window.h:
2043 * shell/main.c: (load_files):
2045 Massive code clean up from Nickolay Shmyrev. Keep page offset
2046 when resizing. Remove the bin_window(). Also, patch from James
2047 Bowes to fix command line page, #300641
2049 2005-05-17 Marco Pesenti Gritti <mpg@redhat.com>
2051 * data/evince-ui.xml:
2054 * shell/ev-window.c: (update_action_sensitivity):
2056 Get rid of View->Normal Size, it's just confusing
2058 Tue May 17 00:51:21 2005 Jonathan Blandford <jrb@redhat.com>
2060 * backend/ev-document-info.h:
2061 * backend/ev-document.c: (ev_document_info_free): Free the
2064 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
2065 (clear_range), (add_range), (update_visible_range),
2066 (adjustment_changed_cb), (ev_sidebar_thumbnails_init),
2067 (ev_sidebar_thumbnails_set_document):
2068 * shell/ev-window.c: (ev_window_setup_document): Only render the
2069 visible thumbnails. It takes an instant to render, but it uses
2072 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
2074 * shell/ev-sidebar-links.c: (popup_menu_cb):
2078 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
2081 * shell/ev-sidebar-links.c: (build_popup_menu), (popup_menu_cb),
2082 (button_press_cb), (ev_sidebar_links_construct):
2084 Show the popup menu also on keybindings
2086 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
2088 * shell/ev-window.c: (ev_window_print), (ev_window_print_range):
2089 * shell/ev-window.h:
2091 Expose api to print a range (with dialog). Make private _print use
2094 * shell/ev-sidebar-links.c: (print_section_cb), (button_press_cb),
2095 (ev_sidebar_links_construct):
2097 Show a print context menu on linkx, it prints the selected
2100 2005-05-15 Carlos Garcia Campos <carlosgc@gnome.org>
2102 * shell/ev-sidebar.c: make the drop down menu as width as the toggle
2105 2005-05-12 Marco Pesenti Gritti <mpg@redhat.com>
2111 * shell/ev-window.c: (build_comments_string),
2112 (ev_window_cmd_help_about):
2114 Show poppler version/backend and authors
2116 2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
2118 * cut-n-paste/zoom-control/ephy-zoom.c:
2119 (ephy_zoom_get_zoom_level_index):
2120 * cut-n-paste/zoom-control/ephy-zoom.h:
2122 Move the best fit items at the top of the list
2124 2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
2126 * shell/ev-marshal.list:
2127 * shell/ev-page-action.c: (ev_page_action_widget_class_init),
2128 (activate_cb), (match_selected_cb), (activate_link_cb),
2129 (connect_proxy), (ev_page_action_class_init):
2130 * shell/ev-page-action.h:
2132 Use signals to notify action activation. Hopefully
2133 I did not break completion since I cant test...
2135 * shell/ev-window.c: (activate_link_cb), (activate_label_cb),
2136 (register_custom_actions):
2138 Connect to page selector actions and also grab focus on
2139 the view when activated.
2141 Wed May 11 01:18:29 2005 Jonathan Blandford <jrb@redhat.com>
2143 * pdf/ev-poppler.cc:
2144 * backend/ev-page-cache.c: make page size calculation consistent
2145 and set it to (int)( width * scale + 0.5). This makes the weird
2146 line going through the middle of the page go away.
2148 * shell/ev-view.c: move painting the background page after
2149 checking the expose area covers us.
2151 2005-05-11 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2153 * data/evince-password.glade:
2155 Mark labels as not translatable. Fix for bug 302842.
2157 2005-05-10 Francisco Javier F. Serrador <serrador@cvs.gnome.org>
2159 * configure.ac: Added "es" to ALL_LINGUAS.
2161 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2163 * data/evince-toolbar.xml:
2164 * shell/ev-window.c: (update_action_sensitivity),
2165 (ev_window_setup_document), (ev_window_set_page_mode),
2168 Remove some leftover code from jrb first continous
2169 attempt. Use the new actions, we still need good icons
2172 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2174 * shell/ev-page-action.c: (update_pages_label), (connect_proxy):
2176 Update label when connecting proxy. Fix a warning with NULL
2179 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2181 * data/evince-ui.xml:
2182 * shell/ev-page-action.c: (ev_page_action_grab_focus):
2183 * shell/ev-page-action.h:
2184 * shell/ev-window.c: (ev_window_cmd_focus_page_selector):
2186 Add mnemonic for edit toolbar.
2187 ctrl+l focus the page entry.
2189 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2192 * shell/ev-window.c: (ev_window_cmd_edit_toolbar_cb),
2194 * shell/main.c: (main):
2196 Put the toolbar xml in evince own dot dir
2198 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2200 * shell/ev-window.c: (ev_window_init):
2202 Make the toolbar not removable
2204 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2206 * data/evince-ui.xml:
2207 * shell/ev-sidebar-links.c: (ev_sidebar_links_get_treeview):
2208 * shell/ev-sidebar-links.h:
2209 * shell/ev-sidebar-thumbnails.c:
2210 (ev_sidebar_thumbnails_get_treeview):
2211 * shell/ev-sidebar-thumbnails.h:
2212 * shell/ev-view.c: (ev_view_scroll), (ev_view_scroll_view),
2213 (ev_view_class_init):
2215 * shell/ev-window.c: (update_action_sensitivity),
2216 (ev_window_cmd_scroll_forward), (ev_window_cmd_scroll_backward),
2217 (set_view_actions_sensitivity), (view_actions_focus_in_cb),
2218 (view_actions_focus_out_cb), (enable_view_actions_for_widget),
2221 This is evil... Make space/backspace global accelerators but
2222 enable them only for some widgets (sidebars and view).
2223 I dont like it, but I dont know a better way... :/
2225 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2227 * shell/ev-page-action.c: (ev_page_action_widget_set_page_cache),
2228 (ev_page_action_widget_finalize),
2229 (ev_page_action_widget_class_init), (update_page_cache):
2231 Keep a weak reference on proxy->page_cache so that we
2232 dont try to disconnect the signal if the object is already
2233 gone. Maybe there is a better way to cleanup reference handling
2234 in page action though...
2236 2005-05-10 Juerg Billeter <j@bitron.ch>
2238 * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
2239 * backend/ev-ps-exporter.h:
2240 * pdf/ev-poppler.cc: (pdf_document_ps_exporter_begin):
2241 * ps/ps-document.c: (ps_document_ps_export_begin):
2243 Change api to pass print range to ps_exporter_begin. The pdf backend
2244 requires this information.
2246 * shell/ev-print-job.c: (idle_print_handler):
2250 2005-05-10 Juerg Billeter <j@bitron.ch>
2252 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
2253 (idle_print_handler)
2254 * shell/ev-window.c: (ev_window_print):
2256 Support printing page range, based on patch by Amaury Jacquot
2258 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2260 * data/evince-toolbar.xml:
2262 Add zoom control to available items
2264 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2266 * shell/ev-window.c: (update_action_sensitivity):
2268 Set slash action insensitive when appropriate
2270 2005-05-10 Christian Persch <chpe@gnome.org>
2272 * cut-n-paste/zoom-control/ephy-zoom-action.c: (create_menu_item):
2274 Fix warning on the overflow menu
2276 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2278 * shell/ev-window.c: (sanity_check_uri), (ev_window_open):
2280 Check for uri correctness/existence
2282 2005-05-09 Juerg Billeter <j@bitron.ch>
2284 * shell/ev-window.c: (using_postscript_printer):
2286 LPD printers use postscript, too
2288 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2290 * shell/ev-window.c: (register_custom_actions):
2292 The zoom one is actually sort of useful,
2295 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2297 * shell/ev-window.c: (register_custom_actions):
2299 Hide page/zoom controls from overflow, they
2302 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2304 * cut-n-paste/update-from-egg.sh:
2306 Share it between all cut-n-paste subdirs
2308 * cut-n-paste/recent-files/Makefile.am:
2310 Fix to use "global" update-from-egg.sh
2312 * cut-n-paste/recent-files/egg-recent-model.c:
2313 (egg_recent_model_changed_timeout), (egg_recent_model_finalize):
2314 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
2315 (egg_recent_view_gtk_clear), (egg_recent_view_gtk_set_list),
2316 (egg_recent_view_gtk_finalize), (egg_recent_view_gtk_set_menu):
2320 * cut-n-paste/toolbar-editor/Makefile.am:
2322 Fix to use "global" update-from-egg.sh
2324 * cut-n-paste/toolbar-editor/eggmarshalers.list:
2328 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2331 * cut-n-paste/Makefile.am:
2332 * cut-n-paste/recent-files/Makefile.am:
2333 * cut-n-paste/toolbar-editor/.cvsignore:
2334 * cut-n-paste/toolbar-editor/Makefile.am:
2335 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
2336 (egg_editable_toolbar_get_type), (get_toolbar_position),
2337 (get_n_toolbars), (get_dock_nth), (get_toolbar_nth), (find_action),
2338 (drag_data_delete_cb), (drag_begin_cb), (drag_end_cb),
2339 (drag_data_get_cb), (set_drag_cursor), (unset_drag_cursor),
2340 (set_item_drag_source), (create_item_from_action), (create_item),
2341 (data_is_separator), (drag_data_received_cb), (remove_toolbar_cb),
2342 (popup_toolbar_context_menu_cb), (free_dragged_item),
2343 (toolbar_drag_drop_cb), (toolbar_drag_motion_cb),
2344 (toolbar_drag_leave_cb), (create_dock), (set_fixed_style),
2345 (unset_fixed_style), (toolbar_changed_cb), (unparent_fixed),
2346 (update_fixed), (toolbar_added_cb), (toolbar_removed_cb),
2347 (item_added_cb), (item_removed_cb),
2348 (egg_editable_toolbar_construct),
2349 (egg_editable_toolbar_disconnect_model),
2350 (egg_editable_toolbar_deconstruct),
2351 (egg_editable_toolbar_set_model),
2352 (egg_editable_toolbar_set_ui_manager),
2353 (egg_editable_toolbar_set_property),
2354 (egg_editable_toolbar_get_property),
2355 (egg_editable_toolbar_class_init), (egg_editable_toolbar_init),
2356 (egg_editable_toolbar_finalize), (egg_editable_toolbar_new),
2357 (egg_editable_toolbar_new_with_model),
2358 (egg_editable_toolbar_get_edit_mode),
2359 (egg_editable_toolbar_set_edit_mode), (egg_editable_toolbar_show),
2360 (egg_editable_toolbar_hide), (egg_editable_toolbar_set_fixed),
2361 (egg_editable_toolbar_set_drag_dest), (fake_expose_widget),
2362 (new_pixbuf_from_widget), (new_separator_pixbuf),
2363 (update_separator_image), (style_set_cb),
2364 (_egg_editable_toolbar_new_separator_image),
2365 (egg_editable_toolbar_get_model):
2366 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
2367 * cut-n-paste/toolbar-editor/egg-marshal.c:
2368 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
2369 (egg_toolbar_editor_get_type), (compare_actions), (find_action),
2370 (egg_toolbar_editor_set_ui_manager), (toolbar_removed_cb),
2371 (egg_toolbar_editor_set_model), (egg_toolbar_editor_set_property),
2372 (egg_toolbar_editor_get_property), (egg_toolbar_editor_class_init),
2373 (egg_toolbar_editor_finalize), (egg_toolbar_editor_new),
2374 (drag_begin_cb), (drag_end_cb), (editor_drag_data_received_cb),
2375 (editor_drag_data_delete_cb), (drag_data_get_cb),
2376 (elide_underscores), (set_drag_cursor), (event_box_realize_cb),
2377 (editor_create_item), (update_editor_sheet), (setup_editor),
2378 (egg_toolbar_editor_init), (egg_toolbar_editor_add_action),
2379 (parse_item_list), (model_has_action), (update_actions_list),
2380 (egg_toolbar_editor_load_actions):
2381 * cut-n-paste/toolbar-editor/egg-toolbar-editor.h:
2382 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
2383 (egg_toolbars_model_get_type), (egg_toolbars_model_to_xml),
2384 (safe_save_xml), (egg_toolbars_model_save), (toolbars_toolbar_new),
2385 (toolbars_item_new), (free_toolbar_node), (free_item_node),
2386 (egg_toolbars_model_get_flags), (egg_toolbars_model_set_flags),
2387 (egg_toolbars_model_add_separator), (impl_add_item),
2388 (parse_item_list), (egg_toolbars_model_add_toolbar),
2389 (parse_toolbars), (egg_toolbars_model_load), (impl_get_item_id),
2390 (impl_get_item_data), (impl_get_item_type),
2391 (_egg_accumulator_STRING), (egg_toolbars_model_class_init),
2392 (egg_toolbars_model_init), (free_toolbar),
2393 (egg_toolbars_model_finalize), (egg_toolbars_model_new),
2394 (egg_toolbars_model_remove_toolbar),
2395 (egg_toolbars_model_remove_item), (egg_toolbars_model_move_item),
2396 (egg_toolbars_model_n_items), (egg_toolbars_model_item_nth),
2397 (egg_toolbars_model_n_toolbars), (egg_toolbars_model_toolbar_nth),
2398 (egg_toolbars_model_add_item), (egg_toolbars_model_get_item_id),
2399 (egg_toolbars_model_get_item_data),
2400 (egg_toolbars_model_get_item_type):
2401 * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
2402 * cut-n-paste/toolbar-editor/eggmarshalers.list:
2404 * data/evince-toolbar.xml:
2405 * data/evince-ui.xml:
2406 * data/hand-open.png:
2408 * shell/Makefile.am:
2409 * shell/ev-window.c: (update_chrome_visibility),
2410 (ev_window_cmd_edit_toolbar_cb), (ev_window_cmd_edit_toolbar),
2411 (ev_window_dispose), (ev_window_init):
2413 Implement epiphany like toolbar editor. Based on patch by
2414 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2416 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2418 * shell/ev-sidebar-thumbnails.c: (page_changed_cb):
2420 Use set_cursor instead of set_selection, so that
2421 the keyboard focus moves too.
2423 2005-05-09 Aleksey Kliger <akliger@gmail.com>
2425 * dvi/mdvi-lib/tfmfile.c: (lookup_font_metrics):
2427 Fix infinite loop when loading Type1 fonts
2429 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2431 * data/evince-ui.xml:
2432 * shell/ev-window.c:
2436 2005-05-09 Thomas de Grenier de Latour <degrenier@easyconnect.fr>
2440 Make --disable really disable
2442 2005-05-07 Juerg Billeter <j@bitron.ch>
2444 * backend/ev-page-cache.c: (ev_page_cache_set_page_label):
2446 Compare page labels even without has_labels set, fixes setting page
2449 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2451 * shell/ev-view.c: (ev_view_create_invisible_cursor),
2452 (ev_view_set_cursor), (ev_view_button_press_event),
2453 (ev_view_motion_notify_event), (ev_view_button_release_event),
2456 Implement middle button scrolling. Based on a patch
2457 by Tommi Komulainen <tommi.komulainen@iki.fi>.
2459 2005-05-08 Marco Pesenti Gritti <mpg@redhat.com>
2461 * shell/ev-document-types.c: (get_slow_mime_type),
2462 (get_document_type_from_mime), (ev_document_type_lookup):
2463 * shell/ev-document-types.h:
2465 Change api to lookup from uri. Do fast lookup first, if the
2466 type is unknown try with data sniffing.
2468 * shell/ev-window.c: (ev_window_open), (ev_window_open_uri_list):
2469 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
2473 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2475 * thumbnailer/Makefile.am:
2479 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2486 * data/evince-ui.xml:
2488 Hide presentation mode for now
2490 * shell/ev-view.c: (highlight_find_results):
2492 Show current find selection only on current page
2494 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2496 * shell/ev-view.c: (ev_view_select_all):
2498 Compute size of the actual page, not of
2501 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2503 * shell/ev-view.c: (clear_selection), (ev_view_finalize),
2504 (view_rect_to_doc_rect), (compute_selections),
2505 (ev_view_bin_expose), (ev_view_select_all), (get_selected_text),
2506 (ev_view_copy), (ev_view_primary_get_cb),
2507 (ev_view_primary_clear_cb), (ev_view_update_primary_selection),
2508 (ev_view_button_press_event), (ev_view_motion_notify_event),
2509 (ev_view_button_release_event), (page_changed_cb):
2513 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2515 * shell/ev-view.c: (compute_border), (get_page_extents),
2516 (doc_rect_to_view_rect), (highlight_find_results),
2517 (ev_view_bin_expose), (ev_view_select_all),
2518 (ev_view_motion_notify_event), (update_find_status_message),
2519 (jump_to_find_result), (jump_to_find_page):
2521 First go at fixing search, still buggy
2523 2005-05-04 Kristian Høgsberg <krh@redhat.com>
2525 * shell/ev-sidebar.c (ev_sidebar_init): Remove frame around
2526 dropdown box and button at the top of the sidebar.
2528 2005-05-02 James Bowes <bowes@cs.dal.ca>
2530 * configure.ac: Output zoom-control Makefile.
2531 * cut-n-paste/Makefile.am: build zoom-control subdir.
2532 * cut-n-paste/zoom-control/ephy-zoom-action.c:
2533 * cut-n-paste/zoom-control/ephy-zoom-action.h:
2534 * cut-n-paste/zoom-control/ephy-zoom-control.c:
2535 * cut-n-paste/zoom-control/ephy-zoom-control.h:
2536 * cut-n-paste/zoom-control/ephy-zoom.c:
2537 * cut-n-paste/zoom-control/ephy-zoom.h: New files imported
2538 from epiphany, and modified to add a separator into the menu.
2539 * cut-n-paste/zoom-control/Makefile.am: Build zoom-control.
2540 * data/evince-ui.xml: Replace old zoom toolbar actions with new
2541 zoom-control action.
2542 * shell/Makefile.am: Include zoom-control flags.
2543 * shell/ev-view.c: (ev_view_set_zoom), (ev_view_get_zoom),
2544 (ev_view_get_sizing_mode), (ev_view_zoom_in), (ev_view_zoom_out),
2545 (ev_view_zoom_for_size_presentation),
2546 (ev_view_zoom_for_size_continuous_and_dual_page),
2547 (ev_view_zoom_for_size_continuous),
2548 (ev_view_zoom_for_size_dual_page),
2549 (ev_view_zoom_for_size_single_page), (ev_view_zoom_normal):
2550 s/ev_view_zoom/ev_view_set_zoom/ and make public, add
2551 ev_view_get_zoom and ev_view_get_sizing_mode.
2553 * shell/ev-window.c: (update_action_sensitivity),
2554 (update_sizing_buttons), (zoom_control_changed_cb),
2555 (register_custom_actions): Initialize and use the zoom-control
2558 Sun May 1 00:46:47 2005 Jonathan Blandford <jrb@redhat.com>
2560 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init): Change the
2561 preview cache back to 1. Don't know when it got set to 0.
2563 * shell/ev-view.c: (compute_border), (ev_view_realize),
2564 (draw_one_page), (ev_view_set_property), (ev_view_get_property),
2565 (ev_view_class_init), (ev_view_init), (ev_view_set_fullscreen),
2566 (ev_view_get_fullscreen), (ev_view_set_presentation),
2567 (ev_view_get_presentation), (ev_view_set_sizing_mode),
2568 (ev_view_zoom_for_size_presentation), (ev_view_set_zoom_for_size):
2570 * shell/ev-window.c:
2571 (update_chrome_visibility),
2572 (ev_window_cmd_continuous), (ev_window_cmd_dual),
2573 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
2574 (update_document_mode), (ev_window_update_fullscreen_action),
2575 (ev_window_fullscreen), (ev_window_unfullscreen),
2576 (ev_window_cmd_view_fullscreen),
2577 (ev_window_update_presentation_action),
2578 (ev_window_run_presentation), (ev_window_stop_presentation),
2579 (ev_window_cmd_view_presentation), (ev_window_state_event),
2580 (ev_window_focus_in_event), (ev_window_focus_out_event),
2581 (ev_window_cmd_escape), (ev_window_sidebar_visibility_changed_cb):
2582 * data/evince-ui.xml: Initial presentation mode. We should
2583 probably hide this until it's done, as it's quite rough. Also,
2584 change full-screen to fullscreen and add two getters to EvView.
2586 2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
2588 * shell/ev-page-action.c: (update_page_cache),
2589 (ev_page_action_dispose):
2590 * shell/ev-window.c: (destroy_fullscreen_popup),
2591 (ev_window_create_fullscreen_popup):
2593 Use connect_object rather than explicitly
2594 disconnect on dispose.
2596 2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
2598 * shell/ev-page-action.c: (update_page_cache),
2599 (ev_page_action_dispose):
2601 2005-04-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2603 * backend/ev-page-cache.c: (_ev_page_cache_new),
2604 (ev_page_cache_set_page_label),
2605 (ev_page_cache_has_nonnumeric_page_labels):
2606 * backend/ev-page-cache.h:
2607 * shell/ev-page-action.c: (update_pages_label):
2609 If all page labels are numeric, fallback to default
2610 way to display number of pages. See bug 173185.
2612 2005-04-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2614 * shell/ev-page-action.c: (ev_page_action_dispose):
2615 * shell/ev-view.c: (view_update_range_and_current_page):
2616 * shell/ev-window.c: (ev_window_dispose):
2618 Set page on scroll in continuous mode. Fixes bug 301986.
2619 Also cleanup callbacks on destroy of EvWindow and EvPageAction.
2621 2005-04-26 Marco Pesenti Gritti <mpg@redhat.com>
2625 Require poppler 0.3.0
2627 2005-04-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2629 * shell/Makefile.am, configure.ac: Fix build problems
2630 with t1lib. Bug 301996.
2632 2005-04-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2634 * shell/ev-view.c: (ev_view_scroll_event):
2636 Scroll up increase zoom
2638 2005-04-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2640 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_class_init),
2641 (ev_view_set_sizing_mode),
2642 (ev_view_zoom_for_size_continuous_and_dual_page),
2643 (ev_view_zoom_for_size_continuous):
2644 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
2645 (ev_window_cmd_view_page_width), (ev_window_cmd_view_zoom_in),
2646 (ev_window_cmd_view_zoom_out), (ev_window_sizing_mode_changed_cb),
2649 Control + Scroll does zooming, Shift + Scroll scrolls horizontally
2650 Fix for 165473 and 165472.
2652 2005-04-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2655 * thumbnailer/Makefile.am:
2656 * thumbnailer/evince-thumbnailer-djvu.schemas.in:
2657 * thumbnailer/evince-thumbnailer-dvi.schemas.in:
2658 * thumbnailer/evince-thumbnailer.schemas.in:
2660 Make thumbnailer schemas translatable. Fix for bug 301773
2662 * thumbnailer/evince-thumbnailer-djvu.schemas:
2663 * thumbnailer/evince-thumbnailer-dvi.schemas:
2664 * thumbnailer/evince-thumbnailer.schemas:
2668 Sun Apr 24 01:37:39 2005 Jonathan Blandford <jrb@redhat.com>
2670 * shell/ev-view.c (ev_view_init): forgot to set this.
2672 Sun Apr 24 01:07:27 2005 Jonathan Blandford <jrb@redhat.com>
2674 * shell/ev-view.c: (find_page_at_location),
2675 (get_link_at_location),
2676 (ev_view_set_show_border), (ev_view_set_spacing),
2677 (ev_view_zoom_for_size_continuous_and_dual_page),
2678 (ev_view_zoom_for_size_continuous): Fix links for dual/continuous.
2679 Also, add a quick fix measuring of widths. Also, removed
2680 ev_view_set_spacing and ev_view_set_show_border.
2682 * shell/ev-window.c: (ev_window_unfullscreen),
2683 (ev_window_cmd_view_fullscreen): Don't adjust the border/spacing.
2685 2005-04-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2687 * shell/ev-view.c: (view_update_range_and_current_page),
2690 Fix crash on exit and scrolling to page in continuous view.
2692 Sat Apr 23 13:13:04 2005 Jonathan Blandford <jrb@redhat.com>
2695 * backend/ev-page-cache.c: (_ev_page_cache_new),
2696 (ev_page_cache_get_max_width_size),
2697 (ev_page_cache_get_max_height_size):
2698 * backend/ev-page-cache.h:
2699 * data/evince-ui.xml:
2700 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init):
2701 * shell/ev-view.c: (view_update_adjustments),
2702 (view_update_range_and_current_page), (get_bounding_box_size),
2703 (ev_view_size_request_continuous_and_dual_page),
2704 (ev_view_size_request_continuous),
2705 (ev_view_size_request_dual_page),
2706 (ev_view_size_request_single_page), (ev_view_size_request),
2707 (ev_view_size_allocate), (get_page_extents), (draw_one_page),
2708 (ev_view_bin_expose), (ev_view_expose_event),
2709 (ev_view_set_property), (ev_view_get_property),
2710 (ev_view_class_init), (ev_view_init), (ev_view_new),
2711 (page_changed_cb), (ev_view_zoom), (ev_view_set_continuous),
2712 (ev_view_set_dual_page), (ev_view_set_full_screen),
2713 (ev_view_set_presentation), (ev_view_set_sizing_mode),
2714 (ev_view_can_zoom_in), (ev_view_can_zoom_out), (ev_view_zoom_in),
2715 (ev_view_zoom_out), (zoom_for_size_fit_width),
2716 (zoom_for_size_best_fit),
2717 (ev_view_zoom_for_size_continuous_and_dual_page),
2718 (ev_view_zoom_for_size_continuous),
2719 (ev_view_zoom_for_size_dual_page),
2720 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
2721 (ev_view_show_cursor), (ev_sizing_mode_get_type):
2723 * shell/ev-window.c: (update_action_sensitivity),
2724 (ev_window_cmd_continuous), (ev_window_cmd_dual),
2725 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
2726 (update_sizing_buttons), (ev_window_cmd_view_zoom_in),
2727 (ev_window_cmd_view_zoom_out), (update_view_size),
2728 (ev_window_set_sizing_mode), (ev_window_init):
2730 Add Continuous and Dual page modes.
2732 2005-04-23 James Bowes <bowes@cs.dal.ca>
2734 * dvi/dvi-document.c: (dvi_document_load),
2735 (dvi_document_thumbnails_get_thumbnail),
2736 (dvi_document_init_params): Fix up some mixups between
2737 width and height to correct thumbnail rendering.
2739 2005-04-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2741 * dvi/mdvi-lib/private.h:
2742 * dvi/mdvi-lib/setup.c: (mdvi_init_kpathsea):
2744 Suppess output for kpathsea during font generation. Thanks to
2747 Fri Apr 22 19:57:46 2005 Jonathan Blandford <jrb@redhat.com>
2754 * Makefile.am: fix distcheck.
2756 2005-04-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2758 * shell/ev-sidebar-links.c: (selection_changed_callback),
2759 (update_page_callback), (row_activated_callback),
2760 (job_finished_callback), (ev_sidebar_links_set_document):
2762 Fix for bug #169901. Double click on links expands tree.
2764 2005-03-14 Bryan Clark <clarkbw@cvs.gnome.org>
2766 * shell/ev-window.c (ev_window_init): Removed fullscreen toolbar
2767 hard-coded style. Fix for bug 170111
2769 2005-04-22 Kristian Høgsberg <krh@redhat.com>
2771 * shell/ev-view.c (highlight_find_results): Remove unnecessary
2774 2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
2776 * thumbnailer/evince-thumbnailer.schemas: real fix for bug 172496
2778 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
2780 * pdf/ev-poppler.cc:
2781 * shell/ev-view.c: (highlight_find_results):
2783 Fix find on single page documents
2785 2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
2787 * data/evince.schemas.in: fix for bug 301390
2789 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
2791 * shell/ev-view.c: (ev_view_can_zoom_in), (ev_view_can_zoom_out),
2792 (ev_view_zoom_out), (ev_view_zoom_normal):
2794 * shell/ev-window.c: (update_action_sensitivity),
2795 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
2796 (ev_window_cmd_view_zoom_in), (ev_window_cmd_view_zoom_out),
2797 (ev_window_cmd_view_normal_size):
2799 Fix normal size zoom. Make zoom in/zoom out unsensitive when
2800 they are behyond the limits. Tweak MAX_ZOOM to 6, sucks but
2803 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
2807 Depend on 2.57, 2.59 doesnt seem to be necessary
2809 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
2811 * shell/ev-page-action.c: (update_pages_label), (page_changed_cb),
2814 Put back total number of pages as (1 of 1234)
2816 Thu Apr 21 23:37:52 2005 Jonathan Blandford <jrb@redhat.com>
2818 * shell/ev-pixbuf-cache.c (dispose_cache_job_info): actually
2821 * backend/ev-document.h: Remove EV_DOC_MUTEX in favor of a locking
2822 function. This helps debugging.
2824 2005-04-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2826 * djvu/djvu-document.c: (djvu_document_class_init),
2827 (djvu_document_get_info), (djvu_document_document_iface_init):
2828 * dvi/dvi-document.c: (dvi_document_class_init),
2829 (dvi_document_get_info), (dvi_document_document_iface_init):
2831 Dummy implementation of get_info method for dvi and djvu. Fix
2832 crashes with those backends
2834 2005-04-20 Marco Pesenti Gritti <mpg@redhat.com>
2836 * data/evince.desktop.in:
2838 Add application/x-gzpostscript
2840 2005-04-20 Bryan Clark <clarkbw@cvs.gnome.org>
2842 * data/evince.schemas.in: Added real long descriptions,
2845 * README: Added actual text, closes bug 171869
2847 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
2849 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
2853 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
2855 * backend/ev-document-info.h:
2857 s/GDate */GDate so we can just use g_free
2859 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
2861 * shell/ev-window.c: (update_document_mode),
2862 (ev_window_setup_document):
2864 Show the window in fullscreen when specified by
2867 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
2869 * backend/ev-document.c: (ev_document_class_init),
2870 (ev_document_get_info), (ev_document_render_pixbuf):
2871 * backend/ev-document.h:
2872 * backend/ev-page-cache.c: (_ev_page_cache_new):
2873 * pdf/ev-poppler.cc:
2874 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
2875 (pixbuf_document_get_info), (pixbuf_document_document_iface_init):
2876 * ps/ps-document.c: (ps_document_class_init), (document_load),
2877 (ps_document_get_info), (ps_document_document_iface_init):
2879 Remove get_title from the interface, we can just use document info
2881 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
2883 * backend/Makefile.am:
2884 * backend/ev-document.c: (ev_document_render_get_info):
2885 * backend/ev-document.h:
2886 * pdf/ev-poppler.cc:
2888 Initial support for document info. Based on jrb patch.
2890 2005-04-19 Paolo Borelli <pborelli@katamail.com>
2892 * shell/ev-window.c: (ev_window_state_event),
2893 (ev_window_class_init), (ev_window_init):
2895 Doesn't show resize grip when maximized. See bug #301053
2897 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2901 ev-sidebar-thumbnails now has translatable labels
2903 * shell/Makefile.am:
2904 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document),
2905 (ev_sidebar_links_support_document), (ev_sidebar_links_get_label),
2906 (ev_sidebar_links_page_iface_init):
2907 * shell/ev-sidebar-links.h:
2908 * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
2909 (ev_sidebar_page_support_document), (ev_sidebar_page_set_document),
2910 (ev_sidebar_page_get_label):
2911 * shell/ev-sidebar-page.h:
2912 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_new),
2913 (ev_sidebar_thumbnails_set_document),
2914 (ev_sidebar_thumbnails_support_document),
2915 (ev_sidebar_thumbnails_get_label),
2916 (ev_sidebar_thumbnails_page_iface_init):
2917 * shell/ev-sidebar-thumbnails.h:
2918 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
2919 (ev_sidebar_set_document):
2920 * shell/ev-sidebar.h:
2921 * shell/ev-window.c: (ev_window_setup_document), (ev_window_init):
2923 Small rework of sidebar code. Now sidebar pages should implement
2924 EvSidebarPage interface. That makes page management in EvSidebar
2925 easier. See bug #164811 for details
2927 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2929 * shell/ev-application.c: (ev_application_open):
2930 * shell/ev-document-types.c:
2932 Fix build error and small problem with application exit
2934 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2936 * thumbnailer/Makefile.am:
2937 * thumbnailer/evince-thumbnailer-djvu.schemas:
2938 * thumbnailer/evince-thumbnailer-dvi.schemas:
2940 Conditionally install schemas for djvu/dvi thumbnailer
2942 2005-04-18 David Malcolm <dmalcolm@redhat.com>
2944 * shell/ev-document-types.h:
2945 * shell/ev-document-types.c:
2946 New files, handling the mapping from mimetypes to backends
2948 * shell/ev-window.c:
2949 * thumbnailer/evince-thumbnailer.c:
2950 Use the ev-document-types code
2952 * shell/Makefile.am:
2953 Added new convenience library libevbackendfactory_la, containing
2954 the new mimetype->backend logic; moved the backends into it.
2956 * thumbnailer/Makefile.am:
2957 Make the thumbnailer link with the libevbackend.la convenience
2958 library, rather than having a duplicate of the backend logic here.
2960 2005-04-18 Paolo Borelli <pborelli@katamail.com>
2962 * shell/ev-stock-icons.c: constify some vars.
2963 * shell/ev-window.c: ditto.
2965 2005-04-18 Marco Pesenti Gritti <mpg@redhat.com>
2967 * ps/ps-document.c (get_page_orientation):
2969 Respect document orientation
2971 2005-04-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2975 * shell/Makefile.am:
2977 Move library dependencies to components.
2979 * shell/ev-window.c: (update_window_title),
2980 (start_loading_document):
2982 Fix display of uris with spaces. Bug 168358.
2984 Sat Apr 16 18:53:47 2005 Jonathan Blandford <jrb@redhat.com>
2986 * shell/ev-sidebar-links.c: (selection_changed_cb):
2987 * shell/ev-view.c: (ev_view_finalize), (go_to_link),
2988 (ev_view_button_release_event), (ev_view_set_document):
2990 * shell/ev-window.c: (find_bar_search_changed_cb):
2991 * shell/ev-window.h: Minor cleanups removing some dead code.
2993 2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2995 * backend/ev-page-cache.c: (_ev_page_cache_new):
2997 Set current page to 0 if document has pages.
2999 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3001 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3003 Initialize GError to NULL, fix a crash when loading fails.
3005 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3007 * shell/ev-window.c: (update_view_size):
3009 Calculate shadow size only when there is actually
3012 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3014 * shell/ev-view.c: (ev_view_set_spacing), (ev_view_init):
3017 Allow setting view spacing, default to 0
3019 * shell/ev-window.c: (ev_window_unfullscreen),
3020 (ev_window_cmd_view_fullscreen), (ev_window_init):
3022 Remove spacing in fullscreen mode
3024 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3026 * shell/ev-view.c: (compute_border), (compute_zoom_factor),
3027 (ev_view_size_request), (expose_bin_window),
3028 (ev_view_set_show_border), (ev_view_init), (page_changed_cb):
3030 * shell/ev-window.c: (ev_window_unfullscreen),
3031 (ev_window_cmd_view_fullscreen):
3033 Do not draw the border in fulscreen
3035 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3037 * shell/ev-view.c: (ev_view_get_offsets), (compute_zoom_factor),
3038 (ev_view_size_request), (expose_bin_window), (ev_view_select_all),
3039 (find_page_at_location), (page_changed_cb):
3041 Rework border calculation, so that I can more easily disable it.
3042 Code somewhat cleaner too.
3044 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3046 * backend/ev-page-cache.c: (ev_page_cache_init),
3047 (_ev_page_cache_new):
3049 Remove some assertions, documents can have 0 pages.
3050 Make initial current page -1.
3052 * shell/ev-page-action.c: (page_changed_cb):
3054 Show "" if current page is -1
3056 * shell/ev-window.c: (update_action_sensitivity),
3057 (ev_window_setup_document):
3059 When document has 0 pages do not set the view
3060 and make nearly everything insensitive.
3062 2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3064 * shell/ev-page-view.c:
3065 * shell/ev-page-view.h:
3067 Remove unused files.
3069 * shell/ev-sidebar-thumbnails.c:
3070 (ev_sidebar_thumbnails_set_document):
3071 * shell/ev-sidebar.c: (ev_sidebar_set_document),
3072 (ev_sidebar_supports_document):
3073 * shell/ev-sidebar.h:
3074 * shell/ev-window.c: (ev_window_setup_document):
3076 Doesn't show thumbnails if document has 1 page. Make
3077 sidebar menu entries sensitive only if if they have
3078 sense. Fix bug 164811.
3080 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
3082 * shell/ev-view.c: (compute_zoom_factor), (ev_view_size_request),
3083 (page_changed_cb), (ev_view_zoom), (ev_view_zoom_in),
3084 (ev_view_zoom_out), (ev_view_set_size):
3086 Rework sizing to deal with documents with not uniform page
3089 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
3091 * backend/ev-page-cache.c: (_ev_page_cache_new):
3093 Fix several page size caching bugs
3095 2005-04-15 Luca Ferretti <elle.uca@libero.it>
3097 * shell/ev-window.c: (set_action_properties):
3099 Make all toolbar items translatable
3101 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
3103 * ps/ps-document.c: (ps_document_init), (ps_document_get_type),
3104 (save_page_list), (ps_document_save),
3105 (ps_document_document_iface_init), (ps_document_ps_export_begin),
3106 (ps_document_ps_export_do_page), (ps_document_ps_export_end),
3107 (ps_document_ps_exporter_iface_init):
3110 Based on a patch by J�rg Billeter <j@bitron.ch>
3112 Implement print and save a copy for the ps backend.
3114 2005-04-14 Marco Pesenti Gritti <mpg@redhat.com>
3116 * backend/ev-document.h:
3117 * djvu/djvu-document.c: (djvu_document_can_get_text),
3118 (djvu_document_document_iface_init):
3119 * dvi/dvi-document.c: (dvi_document_can_get_text),
3120 (dvi_document_document_iface_init):
3121 * pdf/ev-poppler.cc:
3122 * pixbuf/pixbuf-document.c: (pixbuf_document_can_get_text),
3123 (pixbuf_document_document_iface_init):
3124 * ps/ps-document.c: (ps_document_can_get_text),
3125 (ps_document_document_iface_init):
3126 * shell/ev-view.c: (ev_view_copy), (ev_view_primary_get_cb):
3127 * shell/ev-window.c: (update_action_sensitivity):
3129 Fix the crash when trying to copy in backends that doesnt
3130 support it. We can implement a better solution once we
3131 do real text selection.
3133 2005-04-12 Marco Pesenti Gritti <mpg@redhat.com>
3135 * data/evince-ui.xml:
3136 * shell/ev-window.c: (ev_window_cmd_escape):
3138 Work around the Escape conflict (find bar and unfullscreen)
3140 2005-04-12 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
3142 * backend/ev-page-cache.c: (ev_page_cache_next_page):
3144 Fix for #300233. Next page correctly handles document end.
3146 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
3147 (ev_sidebar_thumbnails_class_init),
3148 (ev_sidebar_thumbnails_set_document),
3149 (ev_sidebar_thumbnails_clear_job),
3150 (ev_sidebar_thumbnails_clear_model):
3152 Cleanup thumbnail jobs on document changes.
3154 * shell/ev-view.c: (add_scroll_binding_keypad),
3155 (add_scroll_binding_shifted), (ev_view_class_init):
3157 Shift + Space scrolls up. Fix for #173184
3159 * shell/ev-window.c: (ev_window_open_page),
3160 (ev_window_cmd_view_reload):
3162 Fix reload (Bug #300094)
3164 2005-04-09 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3167 * dvi/mdvi-lib/assoc.c:
3168 * dvi/mdvi-lib/assoc.h: Removed garbage files
3170 * dvi/mdvi-lib/bitmap.c:
3171 * dvi/mdvi-lib/color.c: (mdvi_set_color), (mdvi_push_color),
3172 (mdvi_pop_color), (mdvi_reset_color), (get_color_table):
3173 * dvi/mdvi-lib/color.h: Antialias of rules
3175 * dvi/mdvi-lib/common.h:
3176 * dvi/mdvi-lib/dviread.c: (mdvi_configure), (mdvi_init_context),
3177 (mdvi_destroy_context), (draw_shrink_rule), (draw_box), (set_rule):
3178 * dvi/mdvi-lib/files.c:
3179 * dvi/mdvi-lib/fontmap.c: (ps_init_default_paths):
3180 * dvi/mdvi-lib/mdvi.h:
3181 * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
3182 * dvi/mdvi-lib/tfmfile.c: (ofm_load_file):
3183 * dvi/mdvi-lib/util.c: Fix compile warnings
3185 * dvi/dvi-document.c:
3186 (dvi_document_load), (dvi_document_thumbnails_get_dimensions),
3187 (dvi_document_thumbnails_get_thumbnail),
3188 (dvi_document_document_thumbnails_iface_init):
3189 * dvi/mdvi-lib/Makefile.am:
3190 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
3191 (dvi_pixbuf_set_color), (mdvi_pixbuf_device_render):
3193 Dvi backend now renders thumbnails
3195 2005-04-09 Christian Persch <chpe@cvs.gnome.org>
3197 * shell/main.c: (main):
3199 Save accelerators on exit. Fixes bug #172095.
3201 Sat Apr 9 01:05:09 2005 Jonathan Blandford <jrb@redhat.com>
3203 * shell/ev-pixbuf-cache.c (move_one_job): Actually fix the "FIXME:
3204 update priority" comment.
3206 * backend/ev-job-queue.c: Give a way to change priority.
3208 Sat Apr 9 00:05:36 2005 Jonathan Blandford <jrb@redhat.com>
3210 * shell/ev-page-action.c: Fix logic.
3212 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
3214 * shell/ev-view.c: (ev_view_can_find_next):
3215 * shell/ev-window.c: (ev_window_setup_document):
3217 Check that the document supports find
3219 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
3221 * data/evince-ui.xml:
3222 * shell/ev-view.c: (ev_view_can_find_next):
3224 * shell/ev-window.c: (update_action_sensitivity),
3225 (find_changed_cb), (ev_window_setup_document),
3226 (ev_window_cmd_edit_find_next):
3230 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
3232 * pdf/ev-poppler.cc:
3233 * shell/ev-print-job.c: (idle_print_handler):
3235 Make printing work again
3237 Fri Apr 8 01:12:24 2005 Jonathan Blandford <jrb@redhat.com>
3239 * shell/ev-page-action.h:
3240 * shell/ev-page-action.c: (ev_page_action_widget_init),
3241 (ev_page_action_widget_class_init), (page_changed_cb),
3242 (create_tool_item), (update_page_cache), (build_new_tree_cb),
3243 (get_filter_model_from_model), (match_selected_cb),
3244 (display_completion_text), (match_completion), (update_model),
3245 (connect_proxy), (ev_page_action_set_property),
3246 (ev_page_action_get_property), (ev_page_action_set_document),
3247 (ev_page_action_set_model), (ev_page_action_class_init): Big
3248 reworking to make completions work iff we have >= GTK-2.7.0
3250 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_property),
3251 (ev_sidebar_links_get_property), (ev_sidebar_links_class_init),
3252 (job_finished_cb): We now have a 'model' property that is set when
3253 the links are loaded. This can be caught with "notify::model"
3255 * shell/ev-window.c: (sidebar_widget_model_set), (ev_window_init):
3256 listen for the model to be set, and propagate it to the action.
3258 2005-04-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3260 * cut-n-paste/recent-files/egg-recent-item.c:
3261 (egg_recent_item_set_uri), (make_valid_utf8),
3262 (egg_recent_item_set_mime_type), (egg_recent_item_get_mime_type):
3263 * cut-n-paste/recent-files/egg-recent-item.h:
3265 Update egg-recent from libegg. This should fix long
3266 startup problem. For details see
3267 http://bugzilla.gnome.org/show_bug.cgi?id=160531
3269 2005-04-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3271 * cut-n-paste/recent-files/Makefile.am:
3272 * data/evince-ui.xml, shell/Makefile.am:
3273 * shell/ev-application.c, shell/ev-application.h:
3274 * shell/ev-window.c: Recent files support.
3276 * configure.ac: Added "ru" to ALL_LINGUAS.
3278 * dvju: new backend to support DJVU files.
3279 * dvi: new backend to support DVI.
3281 * configure.ac, Makefile.am, shell/Makefile.am, ev-window.c:
3282 * ev-application.c: Support for new backends.
3284 * help, ev-window.c, main.c shell/Makefile.am:
3285 Evince user documentation.
3287 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
3290 * shell/ev-window.c:
3291 * thumbnailer/evince-thumbnailer.c:
3293 s/pdf-document/ev-poppler
3295 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
3302 * ps/ps-document.c: (setup_pixmap):
3306 2005-04-05 Kristian Høgsberg <krh@redhat.com>
3308 * backend/ev-page-cache.c (ev_page_cache_next_page):
3309 * shell/ev-window.c (ev_window_cmd_go_next_page)
3310 (ev_window_cmd_go_first_page): Fix of by one errors.
3312 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
3314 * ps/ps-document.c: (get_page_box):
3316 Fix page size calculation
3318 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
3320 * ps/ps-document.c: (ps_document_init), (push_pixbuf),
3321 (ps_document_cleanup), (setup_pixmap), (get_page_box),
3322 (get_page_orientation), (setup_page), (document_load),
3323 (ps_document_get_page_size), (render_pixbuf_idle):
3326 More refactoring to adapt to EvDocument changes
3328 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
3330 * ps/ps-document.c: (start_interpreter):
3332 Actually add alpha args
3334 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
3336 * pdf/ev-poppler.cc:
3338 Make clipboard work again
3340 2005-04-04 Kristian Høgsberg <krh@redhat.com>
3342 Make searching work again.
3344 * backend/ev-document.c:
3345 * backend/ev-document.h:
3346 * backend/ev-document-find.c:
3347 * backend/ev-document-find.h: Change EvDocumentIface so we no
3348 longer store the current page or zoom level in the document. The
3349 consequence is that all calls that operate on the current page now
3350 instead take the page number as an extra argument, and all
3351 coordinates are now doubles in document coordinate system.
3353 * pdf/ev-poppler.cc:
3354 * pixbuf/pixbuf-document.c:
3355 * ps/ps-document.c: Update backends accordingly.
3357 2005-04-04 Marco Pesenti Gritti <marco@gnome.org>
3361 Add required gettext version
3363 Sat Apr 2 18:57:00 2005 Jonathan Blandford <jrb@redhat.com>
3365 * shell/evwindow.c: Patch from Alberto Mesas <amesas@gmail.com> to
3366 make F1 bring up non-existent help.
3368 * shell/eggfindbar.c: Patch from Christian Persch to sync to
3369 epiphany's find bar, #167477
3371 * shell/ev-view.c (ev_view_jump): Patch from Emil Soleyman-Zomalan
3372 <emil@nishra.com> to add space-bar scrolling,
3374 * shell/ev-window.c (static GtkActionEntry entries): add default
3375 keybinding for Help (F1)
3378 * shell/ev-view.c (ev_view_show_cursor): Fix from Yuval Tanny
3379 changing EV_VIEW_CURSOR_LINK to EV_VIEW_CURSOR_NORMAL resolves bug
3382 2005-04-01 David Malcolm <dmalcolm@redhat.com>
3385 * pixbuf/pixbuf-document.c:
3387 Got pixbuf backend working again
3389 2005-04-01 Steve Murphy <murf@e-tools.com>
3391 * configure.in: Added "rw" to ALL_LINGUAS.
3393 Fri Apr 1 02:33:41 2005 Jonathan Blandford <jrb@redhat.com>
3395 * shell/ev-sidebar-links.c (create_loading_model): Fix mismatch in
3396 model types, noticed by Martin Kretzschmar.
3398 2005-04-01 Kristian Høgsberg <krh@redhat.com>
3400 * pdf/ev-poppler.cc: Implement search based on
3401 poppler_page_find_text(). Currently a bit crude since we remember
3402 all matches from all pages. Also, we grab the big document lock
3403 when we search since searching changes the underlying stream and
3404 thus conflicts with the rendering thread.
3406 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
3407 (jump_to_find_page), (ev_view_set_document), (ev_view_find_next),
3408 (ev_view_find_previous): Fix some page indexes to be 0 based,
3409 offset rubber band by view offset,
3411 Fri Apr 01 09:21:12 2005 Pablo Saratxaga <pablo@mandrakesoft.com>
3413 * configure.ac: Added Walloon (wa) to ALL_LINGUAS.
3415 Fri Apr 1 01:59:39 2005 Jonathan Blandford <jrb@redhat.com>
3417 * shell/ev-page-action.c: Changed to use page labels now. Rewrote
3418 completely because I didn't understand GtkActions. I should
3419 read Marco's code more carefully in the future.
3421 * backend/ev-page-cache.h (ev_page_cache_set_page_label): New
3424 2005-03-31 Kristian Høgsberg <krh@redhat.com>
3426 * pdf/ev-poppler.cc (pdf_document_get_links): Update to work with
3427 PopplerRectangle change from poppler CVS.
3429 Thu Mar 31 13:27:50 2005 Jonathan Blandford <jrb@redhat.com>
3431 * backend/ev-document.c: (ev_document_get_page_label):
3432 * backend/ev-document.h:
3433 * backend/ev-page-cache.c: (_ev_page_cache_new),
3434 (ev_page_cache_get_page_label):
3435 * backend/ev-page-cache.h:
3436 * pdf/ev-poppler.cc:
3437 * shell/ev-sidebar-links.c: (ev_sidebar_links_construct),
3438 (links_page_num_func):
3439 * shell/ev-sidebar-thumbnails.c:
3440 (ev_sidebar_thumbnails_set_document):
3441 * shell/ev-view.c: (status_message_from_link),
3442 (ev_view_motion_notify_event):
3443 * shell/ev-window.c: (document_supports_sidebar): Add in page
3444 label support. It's not perfect yet, but it's the first 'feature'
3446 Also, fix a bogus comment noticed by crispin.
3448 Thu Mar 31 01:21:58 2005 Jonathan Blandford <jrb@redhat.com>
3450 * Makefile.am: Remove pixbuf backend for now
3452 * configure.ac: Require poppler-glib instead of just poppler.
3454 * backend/ev-document-thumbnails.h: Add a comment
3456 * backend/ev-document.h:
3457 * backend/ev-document.c: (ev_document_class_init),
3458 (ev_document_load), (ev_document_get_link),
3459 (ev_document_get_links): Remove 3 methods and add get_links.
3462 * backend/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
3463 * backend/ev-jobs.h: now EvJobRender can grab the links for a document.
3465 * backend/ev-link.c: (ev_link_set_title),
3466 (ev_link_mapping_free_foreach), (ev_link_mapping_free),
3467 (ev_link_mapping_find):
3468 * backend/ev-link.h: Allow NULL titles. Also, introduce a mapping link.
3470 * backend/ev-page-cache.c: (ev_page_cache_init),
3471 (_ev_page_cache_new), (ev_page_cache_set_current_page),
3472 (ev_page_cache_get_size), (ev_page_cache_next_page),
3473 (ev_page_cache_prev_page): Fix to be 0 based.
3477 * pdf/ev-poppler.cc: New backend.
3479 * ps/ps-document.c: (ps_document_init), (ps_document_set_page),
3480 (ps_document_get_page), (ps_document_document_iface_init):
3482 * shell/ev-pixbuf-cache.h:
3483 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
3484 (dispose_cache_job_info), (job_finished_cb), (move_one_job),
3485 (ev_pixbuf_cache_update_range), (copy_job_to_job_info),
3486 (add_job_if_needed), (ev_pixbuf_cache_set_page_range),
3487 (ev_pixbuf_cache_get_pixbuf), (ev_pixbuf_cache_get_link_mapping):
3488 Fix up code to grab a page cache per each doc. Also, fix to be 0
3491 * shell/ev-sidebar-thumbnails.c:
3492 (ev_sidebar_tree_selection_changed), (page_changed_cb),
3493 (ev_sidebar_thumbnails_set_document): Fix to be 0 based.
3495 * shell/ev-view.c: (status_message_from_link),
3496 (find_page_at_location), (get_link_at_location),
3497 (ev_view_motion_notify_event), (ev_view_button_release_event),
3498 (ev_view_init): Use the new link code. Fix to be 0 based.
3500 * shell/ev-window.c: (update_action_sensitivity),
3501 (document_supports_sidebar): 0 based.
3503 Fri Mar 25 16:55:58 2005 Jonathan Blandford <jrb@redhat.com>
3505 * pdf/pdf-document.cc: Patch from Fernando Herrera
3506 <fherrera@onirica.com> to fix my quick fix to get_thumbnail.
3509 Wed Mar 23 23:49:41 2005 Jonathan Blandford <jrb@redhat.com>
3511 * pdf/pdf-document.cc (pdf_document_thumbnails_get_thumbnail): add
3512 1 to the page, as this seems to be 1 based. I thought we has this
3515 2005-03-23 Marco Pesenti Gritti <marco@gnome.org>
3518 * backend/Makefile.am:
3519 * backend/ev-document-links.c:
3520 (ev_document_links_has_document_links),
3521 (ev_document_links_get_links_model):
3522 * backend/ev-document-links.h:
3523 * backend/ev-document.c: (ev_document_get_page_cache),
3524 (ev_document_get_doc_mutex), (ev_document_load),
3525 (ev_document_save), (ev_document_get_title),
3526 (ev_document_get_n_pages), (ev_document_set_page),
3527 (ev_document_get_page), (ev_document_set_target),
3528 (ev_document_set_scale), (ev_document_set_page_offset),
3529 (ev_document_get_page_size), (ev_document_get_text),
3530 (ev_document_get_link), (ev_document_render),
3531 (ev_document_render_pixbuf), (ev_document_scale_changed):
3532 * backend/ev-document.h:
3533 * backend/ev-job-queue.c: (remove_object_from_queue),
3534 (notify_finished), (handle_job), (search_for_jobs_unlocked),
3535 (no_jobs_available_unlocked), (ev_render_thread),
3536 (ev_job_queue_init), (find_queue), (ev_job_queue_add_job),
3537 (ev_job_queue_remove_job):
3538 * backend/ev-job-queue.h:
3539 * backend/ev-jobs.c: (ev_job_init), (ev_job_dispose),
3540 (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
3541 (ev_job_links_class_init), (ev_job_render_init),
3542 (ev_job_render_dispose), (ev_job_render_class_init),
3543 (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
3544 (ev_job_thumbnail_class_init), (ev_job_finished),
3545 (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
3546 (ev_job_render_run), (ev_job_thumbnail_new),
3547 (ev_job_thumbnail_run):
3548 * backend/ev-jobs.h:
3549 * backend/ev-link.c:
3550 * backend/ev-link.h:
3551 * backend/ev-page-cache.c: (ev_page_cache_init),
3552 (ev_page_cache_class_init), (ev_page_cache_finalize),
3553 (_ev_page_cache_new), (ev_page_cache_get_n_pages),
3554 (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
3555 (ev_page_cache_set_link), (ev_page_cache_get_title),
3556 (ev_page_cache_get_size), (ev_page_cache_next_page),
3557 (ev_page_cache_prev_page):
3558 * backend/ev-page-cache.h:
3559 * pdf/pdf-document.cc:
3562 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
3563 (push_pixbuf), (interpreter_failed), (ps_document_cleanup),
3564 (ps_document_widget_event), (ps_document_finalize), (get_xdpi),
3565 (get_ydpi), (setup_pixmap), (setup_page), (close_pipe),
3566 (is_interpreter_ready), (output), (catchPipe), (input),
3567 (start_interpreter), (check_filecompressed), (compute_dimensions),
3568 (ps_document_enable_interpreter), (document_load),
3569 (ps_document_next_page), (render_page), (ps_document_set_page),
3570 (ps_document_set_scale), (render_pixbuf_idle),
3571 (ps_document_render_pixbuf), (ps_document_document_iface_init):
3573 * shell/Makefile.am:
3574 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
3575 (ev_pixbuf_cache_class_init), (ev_pixbuf_cache_finalize),
3576 (dispose_cache_job_info), (ev_pixbuf_cache_dispose),
3577 (ev_pixbuf_cache_new), (job_finished_cb),
3578 (check_job_size_and_unref), (move_one_job),
3579 (ev_pixbuf_cache_update_range), (find_job_cache),
3580 (ev_pixbuf_cache_clear_job_sizes), (add_job_if_needed),
3581 (ev_pixbuf_cache_add_jobs_if_needed),
3582 (ev_pixbuf_cache_set_page_range), (ev_pixbuf_cache_get_pixbuf):
3583 * shell/ev-pixbuf-cache.h:
3584 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
3585 (idle_print_handler):
3586 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
3587 (selection_changed_cb), (create_loading_model),
3588 (ev_sidebar_links_construct), (links_page_num_func),
3589 (ev_sidebar_links_clear_document), (update_page_callback_foreach),
3590 (update_page_callback), (job_finished_cb),
3591 (ev_sidebar_links_set_document):
3592 * shell/ev-sidebar-thumbnails.c:
3593 (ev_sidebar_thumbnails_class_init), (adjustment_changed_cb),
3594 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init),
3595 (page_changed_cb), (thumbnail_job_completed_callback),
3596 (ev_sidebar_thumbnails_set_document):
3597 * shell/ev-sidebar-thumbnails.h:
3598 * shell/ev-sidebar.c: (ev_sidebar_set_document):
3599 * shell/ev-view.c: (ev_view_finalize), (ev_view_destroy),
3600 (ev_view_get_offsets), (ev_view_size_request), (ev_view_realize),
3601 (ev_view_unrealize), (highlight_find_results), (expose_bin_window),
3602 (ev_view_select_all), (ev_view_copy), (ev_view_primary_get_cb),
3603 (ev_view_create_invisible_cursor), (ev_view_motion_notify_event),
3604 (ev_view_button_release_event), (ev_view_scroll_view),
3605 (ev_view_class_init), (ev_view_init), (update_find_status_message),
3606 (jump_to_find_result), (jump_to_find_page), (find_changed_cb),
3607 (ev_view_new), (job_finished_cb), (page_changed_cb),
3608 (ev_view_set_document), (go_to_link), (ev_view_zoom),
3609 (size_to_zoom_factor), (ev_view_set_size), (ev_view_find_next),
3610 (ev_view_find_previous):
3612 * shell/ev-window.c: (update_action_sensitivity),
3613 (ev_window_open_page), (update_window_title), (update_total_pages),
3614 (page_changed_cb), (ev_window_setup_document),
3615 (password_dialog_response), (ev_window_cmd_save_as),
3616 (ev_window_print), (ev_window_cmd_go_previous_page),
3617 (ev_window_cmd_go_next_page), (ev_window_cmd_go_first_page),
3618 (ev_window_cmd_go_last_page), (ev_window_cmd_view_reload),
3619 (find_bar_search_changed_cb), (goto_page_cb), (ev_window_init):
3620 * shell/main.c: (main):
3622 Merge evince-threads branch
3624 2005-03-16 Žygimantas Beručka <uid0@akl.lt>
3626 * configure.ac: Added "lt" to ALL_LINGUAS.
3628 2005-03-14 Marco Pesenti Gritti <marco@gnome.org>
3635 2005-03-13 Fernando Herrera <fherrera@onirica.com>
3637 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3639 Fix here also the thumbnails 1-basedness :)
3641 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
3648 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
3650 * pdf/pdf-document.cc:
3651 * shell/ev-sidebar-thumbnails.c: (adjustment_changed_cb),
3652 (do_one_iteration), (ev_sidebar_thumbnails_set_document):
3654 Fix the mess we did with thumbnails and 1-basedness
3656 2005-03-12 Changwoo Ryu <cwryu@debian.org>
3658 * configure.ac (ALL_LINGUAS): Added "ko" (Korean).
3660 2005-03-09 Marco Pesenti Gritti <marco@gnome.org>
3667 2005-03-08 Marco Pesenti Gritti <marco@gnome.org>
3670 * ps/gsdefaults.c: (gtk_gs_defaults_get_interpreter_cmd),
3671 (gtk_gs_defaults_get_alpha_parameters),
3672 (gtk_gs_defaults_get_ungzip_cmd),
3673 (gtk_gs_defaults_get_unbzip2_cmd):
3675 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
3676 (ps_document_get_orientation), (document_load),
3677 (ps_document_goto_page), (ps_document_set_page_size):
3680 Some more sanitization of the ps backend. Remove a lot
3681 of unused code and do not base our defaults on ggv
3684 2005-03-08 Fernando Herrera <fherrera@onirica.com>
3686 * thumbnailer/evince-thumbnailer.schemas:
3687 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
3688 (main): add -s option for thumbnail size.
3690 2005-03-07 Christian Persch <chpe@cvs.gnome.org>
3694 AC_PROG_RANLIB is rendered obsolete by AC_PROG_LIBTOOL;
3697 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
3699 * pdf/pdf-document.cc:
3701 Remove 4 pixels of useless border from the
3704 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
3706 * backend/ev-document-thumbnails.c:
3707 (ev_document_thumbnails_get_thumbnail):
3708 * backend/ev-document-thumbnails.h:
3710 Rework API a bit. Add a border flag and
3711 change sizing logic (now the size we specify
3712 applies to the bigger dimension).
3714 * pdf/pdf-document.cc:
3715 * pixbuf/pixbuf-document.c:
3716 (pixbuf_document_thumbnails_get_thumbnail):
3717 * shell/ev-sidebar-thumbnails.c: (do_one_iteration):
3718 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3720 Adapt to the new API and do not draw a border for nautilus
3723 2005-03-03 Fernando Herrera <fherrera@onirica.com>
3725 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3726 take thumbnails from page "0" instead of "1". Added a copyright header.
3728 2005-03-03 Jens Granseuer <jensgr@gmx.net>
3730 * ps/ps-document.c: (set_up_page), (start_interpreter):
3732 Make it C89 compliant
3734 2005-03-03 Marco Pesenti Gritti <marco@gnome.org>
3739 * pdf/pdf-document.cc:
3740 * thumbnailer/Makefile.am:
3741 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
3743 * thumbnailer/evince-thumbnailer.schemas:
3744 * thumbnailer/pdf-icon.png:
3746 Add a nautilus thumbnailer.
3747 Based on patch by Fernando Herrera <fherrera@onirica.com>.
3749 2005-03-02 Marco Pesenti Gritti <marco@gnome.org>
3757 2005-03-01 Kristian Høgsberg <krh@redhat.com>
3759 Use poppler instead of including xpdf source code. Poppler is a
3760 fork of xpdf to build it as a shared library. See
3761 http://freedesktop.org/wiki/Software/poppler.
3763 * pdf/xpdf/*, pdf/goo/*, pdf/splash/*, pdf/fofi/*: Remove included
3766 * pdf/Makefile.am: Build libpdfdocument.a here.
3768 * pdf/GDKSplashOutputDev.cc:
3769 * pdf/GDKSplashOutputDev.h:
3770 * pdf/GnomeVFSStream.cc:
3771 * pdf/GnomeVFSStream.h:
3774 * test-gdk-output-dev.cc
3776 * Thumb.h: Pull these files out of pdf/xpdf and adjust to compile
3779 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
3781 * shell/ev-sidebar-links.c: (ev_sidebar_links_clear_document):
3783 Clear idle stack before unsetting the document
3785 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
3787 * ps/ps-document.c: (ps_document_widget_event),
3788 (ps_document_set_target), (ps_document_finalize),
3789 (ps_document_get_page):
3791 Disconnect the widget event signal on finalize.
3794 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
3796 * ps/ps-document.c: (set_up_page):
3798 If there is no bpixmap create one, even if size
3801 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
3803 * ps/ps-document.c: (ps_document_init), (ps_document_cleanup),
3804 (set_up_page), (document_load), (ps_document_set_zoom):
3806 Default page is 0. Calculate size even when we have no
3809 2005-02-28 Carlos Garcia Campos <carlosgc@gnome.org>
3811 * shell/ev-sidebar.c: expand the selection widget to be always as
3814 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
3816 * shell/ev-sidebar-thumbnails.c:
3817 (ev_sidebar_thumbnails_set_document):
3819 Clear the list store when setting document
3821 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
3823 * shell/ev-page-action.c: (update_entry), (sync_entry),
3824 (activate_cb), (entry_size_request_cb), (create_tool_item),
3827 Use an entry for the page control instead of spinbuttons
3829 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
3831 * data/evince.schemas.in:
3833 Correct confusing string
3835 Sun Feb 27 23:00:31 2005 Jonathan Blandford <jrb@redhat.com>
3837 * shell/ev-sidebar-links.c (do_one_iteration): Handle title links
3838 for real. Gosh, how long has this been broken.
3840 * pdf/xpdf/pdf-document.cc (build_link_from_action): add back the
3841 check for a NULL link. We crash otherwise.
3843 2005-02-27 Marco Pesenti Gritti <marco@gnome.org>
3850 2005-02-25 Sebastien Bacher <seb128@debian.org>
3852 * configure.ac: add the french translation.
3854 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
3856 * shell/ev-window.c:
3858 Remove unused header -> fix distcheck
3860 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
3862 * shell/ev-window.c: (update_window_title),
3863 (ev_window_popup_password_dialog):
3865 Unescape filename for display
3867 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
3869 * pdf/xpdf/pdf-document.cc:
3871 In get_page_size deal with rotation. Also
3872 cleanup the function a bit.
3874 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
3876 * pdf/xpdf/pdf-document.cc:
3878 Fix crash when opening in new window
3880 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
3884 Check ghostscript >= 7
3886 2005-02-25 Pedro Villavicencio <pvillavi@gnome.cl>
3888 * shell/ev-window.c:
3890 Make page width the default sizing mode
3892 2005-02-25 Carlos Garcia Campos <carlosgc@gnome.org>
3893 Marco Pesenti Gritti <marco@gnome.org>
3895 * shell/ev-window.c: Remember the sidebar size
3897 * data/evince.schemas.in: Add a new gconf key to store the size of
3900 2005-02-24 Kai Willadsen <kaiw@itee.uq.edu.au>
3902 * data/evince-ui.xml:
3903 * shell/ev-window.c: (update_action_sensitivity),
3904 (ev_window_cmd_view_reload):
3906 Add a "Reload" action and menu entry
3908 Thu Feb 24 23:07:33 2005 Jonathan Blandford <jrb@redhat.com>
3910 * shell/ev-window.c (hide_sidebar_and_actions): Hide the sidebar
3911 iff the type doesn't support thumbnailing and indexing.
3913 2005-02-24 Martin Kretzschmar <martink@gnome.org>
3915 * configure.ac (ALL_LINGUAS): Added "zh_TW" (Traditional Chinese).
3917 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
3919 * pdf/splash/Splash.cc:
3921 Port fix for a crasher from kde bug
3922 http://bugs.kde.org/show_bug.cgi?id=97131
3924 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
3926 * pdf/xpdf/pdf-document.cc:
3928 Return a link even if it's of an unrecognized
3929 type. Otherwise we go in an infinte cycle.
3931 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
3933 * shell/ev-window.c: (update_sizing_buttons), (update_view_size),
3934 (size_allocate_cb), (ev_window_set_sizing_mode):
3936 Update size when switching mode
3938 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
3940 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
3941 (ev_window_cmd_view_page_width), (update_sizing_buttons),
3942 (ev_window_cmd_view_normal_size):
3944 Fix size toggle buttons behavior
3946 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
3948 * shell/ev-view.c: (ev_view_get_offsets), (view_rect_to_doc_rect),
3949 (doc_rect_to_view_rect), (ev_view_size_allocate),
3950 (expose_bin_window), (ev_view_select_all), (page_changed_callback),
3951 (scale_changed_callback):
3953 Do not cache offsets in size_allocate.
3955 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
3957 * shell/ev-view.c: (ev_view_size_allocate):
3959 Calculate offsets before calling the parent
3960 class (which does a redraw)
3962 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
3964 * pdf/xpdf/pdf-document.cc:
3966 Fix a crasher on exit. Unused code, put a TODO
3968 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
3970 * backend/ev-document.c: (ev_document_class_init),
3971 (ev_document_page_changed), (ev_document_scale_changed):
3972 * backend/ev-document.h:
3974 Separate page/scale notifications
3976 * pdf/xpdf/pdf-document.cc:
3978 Emit the new signals.
3979 Do not display the pdf page in _render, do it
3980 when scale/page are requested.
3982 * ps/ps-document.c: (ps_document_set_zoom),
3983 (ps_document_widget_event):
3986 Emit the new signals.
3988 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
3989 (ev_view_init), (page_changed_callback), (scale_changed_callback),
3990 (ev_view_set_document), (ev_view_zoom), (ev_view_zoom_in),
3991 (ev_view_zoom_out), (size_to_zoom_factor), (ev_view_set_size):
3993 * shell/ev-window.c: (ev_window_cmd_view_normal_size),
3994 (ev_window_cmd_view_page_width), (size_allocate_cb),
3995 (ev_window_set_sizing_mode):
3997 Rework sizing to be pixel based.
3998 There are bugs but should be already way better.
4000 2005-02-23 Marco Pesenti Gritti <marco@gnome.org>
4002 * shell/ev-window.c: (ev_window_init):
4004 Do not allow to shrink sidebar smaller then
4007 2005-02-23 Carlos Garcia Campos <carlosgc@gnome.org>
4009 * shell/ev-sidebar.[ch]
4010 * shell/ev-window.c:
4012 Improved sidebar widget. Fixes #166683
4014 2005-02-23 Tommi Vainikainen <thv@iki.fi>
4016 * shell/ev-view.c (update_find_status_message): Give translators
4017 more flexibility with ngettext plural handling.
4019 Mon Feb 21 17:52:08 2005 Jonathan Blandford <jrb@redhat.com>
4021 * pdf/xpdf/pdf-document.cc (pdf_document_get_page_size): Patch
4022 from Crispin Flowerday <gnome@flowerday.cx> to avoid rendering the
4023 page when we get the page size.
4025 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
4027 * ps/ps-document.c: (ps_document_set_page), (ps_document_get_page):
4029 ps pages are 0 based, convert
4031 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
4033 * ps/ps-document.c: (ps_document_class_init), (ps_document_load):
4035 Initialize correct parent class. Set GError on document load
4037 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
4039 * pdf/xpdf/pdf-document.cc:
4041 Fixup selection offset calculation
4043 * shell/ev-view.c: (view_rect_to_doc_rect),
4044 (doc_rect_to_view_rect), (ev_view_size_allocate),
4045 (expose_bin_window), (ev_view_select_all), (ev_view_copy),
4046 (ev_view_primary_get_cb), (ev_view_motion_notify_event):
4048 Store selection as document relative, so that zooming
4049 and offset changing doesnt break it.
4051 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
4053 * shell/ev-view.c: (ev_view_best_fit):
4055 Do not try to best fit if the view is not realized
4057 2005-02-20 Kostas Papadimas <pkst@gnome.org>
4059 * configure.ac (ALL_LINGUAS): Added "el" (Greek).
4061 Fri Feb 18 16:06:39 2005 Jonathan Blandford <jrb@redhat.com>
4063 * shell/ev-window.c (ev_window_focus_in_event): missed a case.
4065 Fri Feb 18 15:32:57 2005 Jonathan Blandford <jrb@redhat.com>
4067 * shell/ev-window.c: Change the fullscreen toolbar to always be in
4068 the popup window. That prevents it resizing when in full screen
4071 * shell/ev-view.c: Change Zoom epsilon as a bad hack to avoid
4072 multiple rerenders. This pretty much sucks.
4074 * data/evince-ui.xml: Change the fullscreen toolbar to include the
4075 rest of the toolbar.
4077 2005-02-18 Tommi Vainikainen <thv@iki.fi>
4079 * configure.ac (ALL_LINGUAS): Added "fi" (Finnish).
4081 2005-02-17 Alexander Shopov <ash@contact.bg>
4083 * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
4085 2005-02-16 Bryan Clark <clarkbw@cvs.gnome.org>
4087 * shell/ev-window.c: added ellipsis to Print item. Fixes bug 166915
4089 2005-02-16 Marco Pesenti Gritti <marco@gnome.org>
4091 * shell/ev-view.c: (ev_view_realize), (highlight_find_results),
4092 (ev_view_create_invisible_cursor), (ev_view_set_cursor),
4093 (set_document_page), (document_changed_callback),
4094 (ev_view_set_document), (ev_view_find_previous),
4095 (ev_view_hide_cursor), (ev_view_show_cursor):
4097 * shell/ev-window.c: (update_chrome_visibility),
4098 (fullscreen_timeout_cb), (fullscreen_set_timeout),
4099 (fullscreen_clear_timeout), (fullscreen_motion_notify_cb),
4100 (fullscreen_leave_notify_cb), (ev_window_fullscreen),
4101 (ev_window_unfullscreen):
4102 * shell/main.c: (main):
4104 Automatically hide the fullscreen button.
4105 Patch by Kristian Høgsberg <krh@redhat.com>
4107 2005-02-16 Vincent Noel <vnoel@cox.net>
4109 * shell/main.c (main): Specify an icon for the window. Patch by
4110 Jaap A. Haitsma. Fixes #166177.
4112 Wed Feb 16 06:30:13 2005 Jonathan Blandford <jrb@redhat.com>
4114 * shell/ev-view.c (ev_view_realize): get rid of the black flash.
4116 Tue Feb 15 22:27:13 2005 Jonathan Blandford <jrb@redhat.com>
4118 * backend/ev-document-misc.h:
4119 * backend/ev-document-misc.c:
4120 (ev_document_misc_get_page_border_size),
4121 (ev_document_misc_paint_one_page): New function to canonicalize
4122 sizing/painting a border.
4124 * shell/Makefile.am: Remove ev-page-view.c entirely as it's not
4127 * pdf/xpdf/pdf-document.cc: use new function
4129 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
4130 (ev_view_init), (ev_view_set_mode), (ev_view_zoom),
4131 (ev_view_best_fit), (ev_view_fit_width): * shell/ev-view.h: *
4132 shell/ev-window.c: (update_sizing_buttons),
4133 (ev_window_setup_document), (ev_window_cmd_view_zoom_in),
4134 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_best_fit),
4135 (ev_window_cmd_view_page_width), (size_allocate_cb),
4136 (ev_window_set_sizing_mode), (ev_window_init): make the "best fit"
4137 and "fit width" values act as toggle buttons so they stay
4138 toggled. It's not 100% perfect, and it's a little slow, but it's
4139 good enough to commit I think.
4141 2005-02-15 David Lodge <dave@cirt.net>
4143 * configure.ac (ALL_LINGUAS): Added "en_GB" (English (British)).
4145 2005-02-15 Martin Kretzschmar <martink@gnome.org>
4147 * shell/ev-window.c (update_window_title): replace newlines in
4148 the title by spaces. Bug #166107.
4150 2005-02-14 Martin Kretzschmar <martink@gnome.org>
4152 * shell/ev-view.c (ev_view_best_fit, ev_view_fit_width): add
4153 parameters providing allocation width and height without
4154 scrollbars and width of a possible vertical scrollbar. With this
4155 additional information the functions can work as
4156 intended. Unfortunately they're not idempotent. We should
4157 transform these commands to toggles. Fixes Bug #164976
4158 Initial patch by Stephane Loeuillet, then heavily modified.
4160 * shell/ev-view.h: update prototypes.
4162 * shell/ev-window.c (ev_window_cmd_view_best_fit)
4163 (ev_window_cmd_view_page_width): provide EvView fit functions with
4164 all the information they need. Formulas to calculate this
4165 information taken from GtkScrolledWindow.
4167 2005-02-14 Crispin Flowerday <gnome@flowerday.cx>
4169 * shell/ev-sidebar-thumbnails.c: Ensure that after we have
4170 created a thumbnail, the list store is updated to know
4171 that the thumbnail is set. Fixes bug #166792
4173 2005-02-11 Bryan Clark <clarkbw@cvs.gnome.org>
4175 * shell/ev-window.c: fixed typo, closes bug 166897
4177 * TODO: updated TODO with bug numbers that are relevant
4179 2005-02-09 Carlos Garcia Campos <carlosgc@gnome.org>
4181 * shell/ev-window.c: Support for DnD of files. Fixes #164813
4183 2005-02-09 Vincent Noel <vnoel@cox.net>
4185 * shell/ev-window.c: (set_action_properties): Set the "Previous"
4186 and "Next" toolbar buttons as important to make them stand out.
4188 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
4192 * ps/ps-document.c: (ps_document_finalize), (set_up_page),
4193 (start_interpreter), (stop_interpreter), (document_load),
4194 (ps_document_next_page), (ps_document_goto_page),
4195 (ps_document_set_page_size), (ps_document_widget_event),
4196 (ps_document_render):
4197 * shell/ev-page-view.c: (ev_page_view_dispose):
4198 * shell/ev-view.c: (ev_view_finalize), (expose_bin_window):
4200 Fix compilation on non-gcc platforms
4202 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
4209 * pdf/xpdf/Catalog.cc:
4212 Fix the fix for CAN-2004-0888
4214 2005-02-09 Luca Ferretti <elle.uca@libero.it>
4217 * data/evince-ui.xml:
4218 * shell/ev-stock-icons.c: (ev_stock_icons_init):
4219 * shell/ev-stock-icons.h:
4220 * shell/ev-window.c: (update_action_sensitivity),
4221 (ev_window_cmd_go_previous_page), (ev_window_cmd_go_next_page),
4222 (set_action_properties):
4224 Improve toolbar layout/icons
4226 2005-02-08 Marco Pesenti Gritti <marco@gnome.org>
4228 * pdf/xpdf/pdf-document.cc:
4230 Add warnings about unimplemented/unknown link
4233 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4235 * ps/ps-document.c: (set_up_page):
4239 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4241 * ps/ps-document.c: (start_interpreter):
4245 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4247 * shell/ev-page-view.c: (ev_page_view_dispose):
4248 * shell/ev-view.c: (ev_view_finalize):
4249 * shell/ev-window.c: (ev_window_setup_document),
4250 (ev_window_dispose), (ev_window_init):
4252 Solve more refs issues.
4254 I commented out the page_view initialization for now:
4255 it was never destroyed (because it's never added
4256 to a container). Because of that we was leaking
4257 gs processes. Couldnt think to a clean fix.
4258 We need to figure this out, password view has the
4259 same issue probably.
4261 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4263 * ps/ps-document.c: (ps_document_finalize),
4264 (ps_document_get_n_pages), (ps_document_get_page):
4266 Some cleanups, stop the interpreter on finalize
4268 * shell/ev-page-view.c: (ev_page_view_dispose),
4269 (ev_page_view_class_init):
4271 Release our reference on the document
4273 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4277 * doc/debugging.txt:
4280 * lib/ev-debug.c: (log_module), (trap_handler), (ev_debug_init),
4281 (ev_profiler_new), (ev_should_profile), (ev_profiler_dump),
4282 (ev_profiler_free), (ev_profiler_start), (ev_profiler_stop):
4285 Add debugging helpers
4288 * ps/ps-document.c: (set_up_page), (start_interpreter),
4289 (stop_interpreter), (document_load), (ps_document_next_page),
4290 (ps_document_goto_page), (ps_document_set_page_size),
4291 (ps_document_widget_event), (ps_document_render):
4292 * shell/Makefile.am:
4293 * shell/ev-view.c: (expose_bin_window):
4294 * shell/main.c: (main):
4298 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4300 * ps/ps-document.c: (ps_document_widget_event):
4302 Initialize message_window, this should make ps
4303 rendering really work! (Never noticed because I was
4304 testing with a ps that is causing gs to exit every time!)
4306 2005-02-07 Bryan Clark <clarkbw@cvs.gnome.org>
4308 * data/evince.schemas.in: updated simple error in applyto closing tag
4310 2005-02-07 Christian Persch <chpe@cvs.gnome.org>
4316 * data/evince-ui.xml:
4317 A data/evince.schemas.in:
4319 * shell/ev-stock-icons.c: (ev_stock_icons_init):
4320 * shell/ev-stock-icons.h:
4321 * shell/ev-window.c: (update_chrome_visibility),
4322 (update_chrome_flag), (ev_window_cmd_edit_find),
4323 (ev_window_update_fullscreen_popup), (ev_window_fullscreen),
4324 (ev_window_unfullscreen), (ev_window_focus_in_event),
4325 (ev_window_focus_out_event), (ev_window_cmd_leave_fullscreen),
4326 (ev_window_view_toolbar_cb), (ev_window_view_statusbar_cb),
4327 (ev_window_view_sidebar_cb), (find_bar_close_cb),
4328 (ev_window_dispose), (ev_window_class_init),
4329 (set_action_properties), (set_chrome_actions), (load_chrome),
4332 Implement fullscreen mode changes from bug #164776.
4333 Also implement persistent chrome toggles.
4335 2005-02-07 Jordi Mallach <jordi@sindominio.net>
4337 * configure.ac (ALL_LINGUAS): Added "ca" (Catalan).
4339 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
4345 Add another check for find interface
4349 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
4351 * shell/ev-application.c: (ev_application_open):
4352 * shell/ev-window.c: (ev_window_open):
4354 Open gzipped ps documents
4356 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
4359 * shell/ev-view.c: (set_document_page):
4361 Clamp page number, dont try to move to
4364 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
4366 * backend/ev-document-find.c: (ev_document_find_changed):
4367 * backend/ev-document-find.h:
4368 * pdf/xpdf/pdf-document.cc:
4369 * shell/ev-view.c: (jump_to_find_result), (ev_view_set_document):
4370 * shell/ev-window.c: (find_bar_search_changed_cb):
4372 Fix several bugs with find
4374 2005-02-04 Martin Kretzschmar <martink@gnome.org>
4376 * shell/ev-sidebar-thumbnails.c
4377 (ev_sidebar_thumbnails_select_page): do nothing unless we have a
4378 document. Prevents warning from scroll_to_cell.
4380 2005-02-02 Kjartan Maraas <kmaraas@gnome.org>
4382 * configure.ac: Add «nb» to ALL_LINGUAS too.
4384 Wed Feb 2 21:13:11 2005 Jonathan Blandford <jrb@redhat.com>
4386 * NOTES: New file with some random thoughts.
4390 * backend/ev-document-misc.c:
4391 (ev_document_misc_get_page_border_size): New function to
4392 canonicalize shadow drawing sizes. Possibly goofy.
4394 * shell/ev-view.c: (ev_view_size_request), (set_document_page),
4395 (ev_view_best_fit), (ev_view_fit_width):
4396 * pdf/xpdf/pdf-document.cc:
4397 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
4398 * ps/ps-document.c: (ps_document_get_page_size):
4399 * backend/ev-document-misc.h:
4400 * backend/ev-document.c: (ev_document_get_page_size):
4401 * backend/ev-document.h: get_page_size now takes a page number
4402 parameter. Made all the backends/frontends honor it.
4404 * data/evince-ui.xml: Added a multiple-page mode. Uncomment to
4405 see. Doesn't work yet.
4407 * shell/Makefile.am:
4408 * shell/ev-page-view.[ch]: New multi-page view. Really rough.
4409 Doesn't do anything yet.
4411 * shell/ev-sidebar-thumbnails.c:
4412 (ev_sidebar_thumbnails_set_document): [1..n_pages] instead of
4415 * shell/ev-window.c: (update_action_sensitivity),
4416 (ev_window_setup_document), (ev_window_set_page_mode),
4417 (ev_window_page_mode_cb), (ev_window_init): Clean up the
4418 view-swapping code a bit so we can have multiple views on a
4419 document. Add the multi-page view, though it can't be turned on
4422 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
4424 * shell/ev-application.c: (ev_application_open):
4425 * shell/ev-view.c: (expose_bin_window):
4426 * shell/ev-window.c: (ev_window_open):
4428 Support eps and check document supports find
4429 before drawing highlightings in expose.
4431 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
4433 * pixbuf/pixbuf-document.c:
4434 (pixbuf_document_thumbnails_get_dimensions),
4435 (pixbuf_document_document_thumbnails_iface_init):
4437 implement get_dimensions
4439 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
4446 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
4448 * shell/ev-view.c: (set_document_page):
4450 Scroll at the top of the page when changing page
4452 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
4454 * shell/ev-view.c: (ev_view_motion_notify_event):
4456 Do not redraw unnecessarily
4458 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
4460 * pdf/xpdf/pdf-document.cc:
4461 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
4462 (expose_bin_window), (find_changed_cb):
4464 Yay! find works now... Now to find bugs...
4466 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
4468 * backend/ev-document-find.c: (ev_document_find_base_init),
4469 (ev_document_find_changed):
4470 * backend/ev-document-find.h:
4471 * pdf/xpdf/pdf-document.cc:
4472 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
4473 (expose_bin_window), (ev_view_init), (set_document_page),
4474 (ensure_rectangle_is_visible), (jump_to_find_result),
4475 (jump_to_find_page), (find_changed_cb), (ev_view_set_document),
4476 (ev_view_find_next), (ev_view_find_previous):
4478 * shell/ev-window.c: (find_bar_previous_cb), (find_bar_next_cb):
4480 More work on find implementation, mostly there now
4482 2005-01-29 Marco Pesenti Gritti <marco@gnome.org>
4484 * backend/ev-backend-marshalers.list:
4485 * backend/ev-document-find.c: (ev_document_find_base_init),
4486 (ev_document_find_cancel), (ev_document_find_page_has_results),
4487 (ev_document_find_get_n_results), (ev_document_find_get_result),
4488 (ev_document_find_get_progress), (ev_document_find_changed):
4489 * backend/ev-document-find.h:
4491 Enanche the find interface to be really able to do
4494 * pdf/xpdf/pdf-document.cc:
4498 * shell/ev-view.c: (ev_view_finalize), (highlight_find_results),
4499 (expose_bin_window), (ev_view_init),
4500 (ev_view_get_find_status_message), (find_changed_cb),
4501 (ev_view_set_document), (set_document_page):
4503 Adapt to the new interface. A few things are regressed sorry,
4504 I will finish it soon.
4506 2005-01-28 Martin Kretzschmar <martink@gnome.org>
4508 * shell/ev-sidebar-thumbnails.c (ev_sidebar_thumbnails_destroy)
4509 (ev_sidebar_thumbnails_class_init): use G_DEFINE_TYPE-supplied
4510 ev_sidebar_thumbnails_parent_class variable, don't define another
4511 parent_class variable.
4513 * shell/ev-page-action.c (connect_proxy, ev_page_action_finalize)
4514 (ev_page_action_class_init): ditto.
4516 * pixbuf/pixbuf-document.c (pixbuf_document_finalize)
4517 (pixbuf_document_class_init): ditto.
4519 * backend/ev-link.c (ev_window_dispose, ev_link_class_init):
4522 * .cvsignore: ignore various valgrind output files.
4524 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
4526 * data/evince-ui.xml:
4527 * shell/Makefile.am:
4528 * shell/ev-history.c:
4529 * shell/ev-history.h:
4530 * shell/ev-navigation-action.c:
4531 * shell/ev-navigation-action.h:
4532 * shell/ev-view.c: (ev_view_finalize), (ev_view_go_to_link),
4533 (ev_view_set_page), (ev_view_fit_width):
4535 * shell/ev-window.c: (update_action_sensitivity),
4536 (ev_window_setup_document), (register_custom_actions):
4538 Kill session history
4540 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
4542 * shell/ev-window.c: (update_action_sensitivity):
4544 Fix inverted up/down buttons
4546 2005-01-27 Martin Kretzschmar <martink@gnome.org>
4548 * shell/ev-sidebar-thumbnails.c
4549 (ev_sidebar_thumbnails_select_page): make sure the selected
4550 thumbnail stays visible.
4552 2005-01-26 Martin Kretzschmar <martink@gnome.org>
4554 * shell/ev-window.c (ev_window_init): add GTK_SHADOW_IN to the
4555 scrolled window for Federico.
4557 2005-01-26 Ole Laursen <olau@hardworking.dk>
4559 * configure.ac: Added "da" (Danish) to ALL_LINGUAS.
4561 2005-01-26 Marco Pesenti Gritti <marco@gnome.org>
4564 * pdf/splash/SplashFTFontEngine.cc:
4566 Fix CID fonts with freetype 2.1.9
4568 2005-01-26 Bryan Clark <clarkbw@cvs.gnome.org>
4570 * TODO: added item for desktop icon thumbnailer
4572 Tue Jan 25 00:59:34 2005 Jonathan Blandford <jrb@redhat.com>
4574 * pdf/xpdf/pdf-document.cc (pdf_document_get_title): guard against
4575 unloaded docs when the title is accessed.
4577 * shell/ev-password-view.[hc]: New widget for displaying password
4580 * shell/ev-window.[ch]: Refactor password handling code to handle
4583 2005-01-24 Marco Pesenti Gritti <marco@gnome.org>
4591 2005-01-23 Stephane LOEUILLET <stephane.loeuillet@tiscali.fr>
4593 * pdf/xpdf/pdf-document.cc (pdf_document_search_page_changed):
4594 ignore page offset here, to make search results independent of it,
4596 * shell/ev-view.c (expose_bin_window): but take offsets into
4597 account here. Bug #164932
4599 * pdf/xpdf/pdf-document.cc (pdf_document_get_link): divide by
4600 scale at the right time. Bug #164996
4602 2005-01-22 Martin Kretzschmar <martink@gnome.org>
4604 * pdf/xpdf/GlobalParams.cc: My 2005-01-05 change didn't actually
4605 fix the problem. Now I just removed the Adobe font names and hope
4606 that the URW fonts are always in outline format. Bug #164934
4608 * shell/ev-window.c (update_window_title): empty titles are
4609 useless, use filename in that case too.
4611 * NEWS: Add some content.
4613 2005-01-21 Bryan Clark <clarkbw@cvs.gnome.org>
4615 * TODO: added one more TODO item and a TODONE section :)
4617 2005-01-21 Martin Kretzschmar <martink@gnome.org>
4619 * ps/ps-document.h: add page_[xy]_offset fields.
4621 * ps/ps-document.c (ps_document_set_page_offset)
4622 (ps_document_render): Keep offset in consideration in a few
4623 places. Bug #164752 "postscript documents are not centered in
4626 * data/evince.desktop.in (X-GNOME-Bugzilla-Product):
4627 s/gpdf/evince/. Spotted by Stephane Loeuillet.
4629 * pixbuf/pixbuf-document.c (pixbuf_document_get_n_pages)
4630 (pixbuf_document_get_text, pixbuf_document_document_iface_init):
4631 stub out missing methods for complete EvDocument implementation.
4632 Fixes segfaults with Save A Copy and Copy actions.
4634 * ps/ps-document.c (ps_document_save, ps_document_get_text)
4635 (ps_document_document_iface_init): ditto.
4637 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
4641 * data/evince.desktop.in:
4645 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
4647 * shell/ev-view.c: (ev_view_button_press_event),
4648 (ev_view_motion_notify_event):
4650 Make selection work in any direction
4652 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
4655 * shell/ev-window.c: (set_short_labels), (ev_window_init):
4657 Use shorter labels for some of the toolbars items
4659 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
4661 * pdf/xpdf/pdf-document.cc:
4663 Check the links info is initialized before
4664 using it. Should fix a crash on startup.
4666 2005-01-21 Martin Kretzschmar <martink@gnome.org>
4668 * pixbuf/pixbuf-document.c
4669 (pixbuf_document_thumbnails_get_dimensions): force floating point
4670 division to calculate page_ratio. Fixes crash with landscape
4673 Thu Jan 20 18:56:35 2005 Jonathan Blandford <jrb@redhat.com>
4675 * shell/ev-view.c (ev_view_realize): make the bg color darker.
4677 2005-01-20 Martin Kretzschmar <martink@gnome.org>
4679 * shell/ev-view.c (set_document_page): unset has_selection when
4681 (set_document_page): handle paper size changes when the page
4682 changes (test with Free Culture, page 2).
4684 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
4686 * shell/ev-view.c: (ev_view_size_request), (ev_view_realize),
4687 (expose_bin_window), (ev_view_class_init), (ev_view_init):
4689 Use normal style color for the widget background and
4690 draw a black box around the page.
4692 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
4694 * pdf/xpdf/pdf-document.cc:
4696 Keep offset in consideration in a few places
4698 * shell/ev-view.c: (expose_bin_window):
4700 Set the offsets so that the document is ever centered
4702 2005-01-20 Bryan Clark <clarkbw@cvs.gnome.org>
4704 * TODO: Added TODO items and finished off the first todo item
4706 * AUTHORS: Updated AUTHORS section with piece from gpdf file and
4707 reflect current authors
4709 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
4711 * pdf/xpdf/pdf-document.cc:
4712 * shell/ev-view.c: (ev_view_set_cursor),
4713 (ev_view_motion_notify_event), (document_changed_callback),
4714 (set_document_page):
4716 Show a wait cursor while the page is rendering
4718 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
4720 * shell/ev-sidebar-thumbnails.c:
4721 (ev_sidebar_tree_selection_changed),
4722 (ev_sidebar_thumbnails_select_page):
4723 * shell/ev-sidebar-thumbnails.h:
4724 * shell/ev-view.c: (ev_view_set_document), (ev_view_can_go_back),
4725 (ev_view_can_go_forward):
4726 * shell/ev-window.c: (ev_window_open_page),
4727 (ev_window_setup_document), (update_current_page),
4728 (view_page_changed_cb), (ev_window_init):
4729 * shell/ev-window.h:
4731 Ensure thumbnails selection, toolbar page control and
4732 current page are in sync.
4734 2005-01-19 Marco Pesenti Gritti <marco@gnome.org>
4740 Wed Jan 19 01:10:57 2005 Jonathan Blandford <jrb@redhat.com>
4742 * backend/Makefile.am:
4743 * backend/ev-document-links.h:
4744 * backend/ev-document-security.c: (ev_document_security_get_type),
4745 (ev_document_security_has_document_security),
4746 (ev_document_security_set_password):
4747 * backend/ev-document-security.h:
4748 * backend/ev-document.c: (ev_document_error_quark):
4749 * backend/ev-document.h:
4751 * data/evince-password.glade:
4752 * pdf/xpdf/pdf-document.cc:
4753 * shell/Makefile.am:
4754 * shell/ev-password.c: (ev_password_set_bad_password_label),
4755 (ev_window_password_entry_changed_cb), (ev_password_dialog_new),
4756 (ev_password_dialog_get_password),
4757 (ev_password_dialog_set_bad_pass):
4758 * shell/ev-password.h:
4759 * shell/ev-window.c: (ev_window_get_attribute),
4760 (ev_window_set_property), (update_action_sensitivity),
4761 (ev_window_is_empty), (mime_type_supported_by_gdk_pixbuf),
4762 (ev_window_setup_document), (ev_window_get_password),
4763 (ev_window_open), (ev_window_cmd_save_as),
4764 (using_postscript_printer), (ev_window_print),
4765 (find_not_supported_dialog), (ev_window_cmd_edit_find),
4766 (update_fullscreen_popup), (ev_window_fullscreen),
4767 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
4768 (ev_window_focus_out_cb), (ev_window_cmd_help_about),
4769 (menu_item_select_cb), (find_bar_search_changed_cb),
4770 (ev_window_dispose), (ev_window_init):
4772 Add initial support for password-supported dialogs. This could be
4773 a lot cooler, but it'll do for now.
4775 2005-01-18 Marco Pesenti Gritti <marco@gnome.org>
4777 * pdf/xpdf/pdf-document.cc:
4778 * shell/ev-view.c: (status_message_from_link),
4779 (ev_view_set_status), (ev_view_set_cursor),
4780 (ev_view_motion_notify_event), (ev_view_init):
4781 * shell/ev-window.c: (view_status_changed_cb), (ev_window_init):
4783 Fix bugs in the links implementation and change cursor
4784 when hovering a link.
4786 2005-01-17 Bryan Clark <clarkbw@cvs.gnome.org>
4788 * viewer/.cvsignore: added cvsignore file for viewer directory
4790 * TODO: created TODO document
4792 2005-01-14 Dave Malcolm <dmalcolm@redhat.com>
4795 * shell/ev-view.c (ev_view_can_go_back), (ev_view_can_go_forward):
4796 new functions to help with implementation of sensitivity code
4797 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
4798 of all actions that might require it. Fixes a crash when you
4799 click on the Zoom actions in a window lacking a document.
4801 2005-01-13 Dave Malcolm <dmalcolm@redhat.com>
4803 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
4806 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
4808 * pixbuf/pixbuf-document.c: (pixbuf_document_get_link),
4809 (pixbuf_document_document_iface_init):
4810 * ps/ps-document.c: (ps_document_get_link),
4811 (ps_document_document_iface_init):
4812 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event),
4813 (status_message_from_link), (ev_view_set_status),
4814 (ev_view_set_find_status), (ev_view_motion_notify_event),
4815 (ev_view_button_release_event), (ev_view_set_property),
4816 (ev_view_get_property), (ev_view_class_init), (ev_view_init),
4817 (ev_view_get_find_status_message), (update_find_results),
4818 (ev_view_get_status), (ev_view_get_find_status):
4820 * shell/ev-window.c: (view_status_changed_cb),
4821 (view_find_status_changed_cb), (ev_window_init):
4823 View status message support, use it to show the links.
4826 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
4828 * backend/ev-document.c: (ev_document_get_link):
4829 * backend/ev-document.h:
4830 * pdf/xpdf/pdf-document.cc:
4831 * shell/ev-application.c: (ev_application_open):
4832 * shell/ev-application.h:
4833 * shell/ev-sidebar-links.c: (selection_changed_cb):
4834 * shell/ev-view.c: (ev_view_button_release_event), (go_to_link),
4835 (ev_view_go_to_link):
4837 Add support for document links
4839 2005-01-13 Anders Carlsson <andersca@gnome.org>
4841 * shell/ev-page-action.c: (update_spin), (total_pages_changed_cb),
4843 Set the spin button limits correctly.
4845 * shell/ev-sidebar-thumbnails.c:
4846 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init):
4847 Support changing pages by clicking on the thumbnails.
4849 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
4851 * pixbuf/pixbuf-document.c:
4852 (pixbuf_document_thumbnails_get_dimensions),
4853 (pixbuf_document_document_thumbnails_iface_init):
4855 implement get_dimensions
4857 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
4859 * ps/ps-document.c: (ps_document_goto_page):
4861 Fix page switching on multipage documents
4863 2005-01-12 Jeff Muizelaar <jrmuizel@nit.ca>
4865 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
4867 check for NULL before assigning to width and height parameters
4869 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
4871 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
4872 (pixbuf_document_set_property), (pixbuf_document_get_property):
4874 implement get/set properties
4876 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
4878 * pdf/xpdf/pdf-document.cc: (pdf_info_dict_get_string):
4880 return NULL instead of "Unknown", letting the title get set to
4881 the filename when the pdf has no title.
4883 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
4885 * ps/ps-document.c: (ps_document_get_page_count),
4886 (ps_document_goto_page):
4888 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
4890 * shell/ev-history.c: (ev_history_get_property),
4891 (ev_history_set_property), (ev_history_class_init),
4892 (ev_history_add_page), (ev_history_set_current_index):
4893 * shell/ev-navigation-action.c: (ev_navigation_action_set_history),
4894 (activate_menu_item_cb), (new_history_menu_item), (build_menu),
4895 (ev_navigation_action_finalize):
4896 * shell/ev-navigation-action.h:
4897 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
4898 (ev_view_go_forward), (ev_view_get_find_status_message),
4899 (history_index_changed_cb), (ev_view_set_history):
4901 * shell/ev-window.c: (update_total_pages), (ev_window_open),
4902 (update_current_page), (register_custom_actions):
4904 Implement history dropdowns
4906 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
4908 * shell/ev-history.c: (ev_history_init), (ev_history_add_link):
4909 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
4910 (ev_view_go_forward):
4911 * shell/ev-window.c: (register_custom_actions):
4913 Fix several history bugs
4915 2005-01-11 Kjartan Maraas <kmaraas@gnome.org>
4917 * configure.ac: Add «nb» to ALL_LINGUAS.
4919 2005-01-10 Marco Pesenti Gritti <marco@gnome.org>
4921 * backend/Makefile.am:
4922 * backend/ev-bookmark.c:
4923 * backend/ev-bookmark.h:
4924 * backend/ev-document-bookmarks.c:
4925 * backend/ev-document-bookmarks.h:
4926 * backend/ev-document-links.c: (ev_document_links_get_type),
4927 (ev_document_links_has_document_links),
4928 (ev_document_links_begin_read), (ev_document_links_get_link),
4929 (ev_document_links_get_child), (ev_document_links_next),
4930 (ev_document_links_free_iter):
4931 * backend/ev-document-links.h:
4932 * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_title),
4933 (ev_link_set_title), (ev_link_get_uri), (ev_link_set_uri),
4934 (ev_link_get_link_type), (ev_link_set_link_type),
4935 (ev_link_get_page), (ev_link_set_page), (ev_link_get_property),
4936 (ev_link_set_property), (ev_window_dispose), (ev_link_init),
4937 (ev_link_class_init), (ev_link_new_title), (ev_link_new_page),
4938 (ev_link_new_external):
4939 * backend/ev-link.h:
4940 * pdf/xpdf/pdf-document.cc:
4941 * shell/Makefile.am:
4942 * shell/ev-application.c: (ev_application_open_link):
4943 * shell/ev-application.h:
4944 * shell/ev-history.c: (ev_history_add_link), (ev_history_add_page),
4945 (ev_history_get_link_nth):
4946 * shell/ev-history.h:
4947 * shell/ev-sidebar-bookmarks.c:
4948 * shell/ev-sidebar-bookmarks.h:
4949 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
4950 (ev_sidebar_links_class_init), (selection_changed_cb),
4951 (ev_sidebar_links_construct), (ev_sidebar_links_init),
4952 (links_page_num_func), (ev_sidebar_links_new), (stack_data_free),
4953 (do_one_iteration), (populate_links_idle),
4954 (ev_sidebar_links_clear_document), (ev_sidebar_links_set_document):
4955 * shell/ev-sidebar-links.h:
4956 * shell/ev-sidebar.c: (ev_sidebar_set_document):
4957 * shell/ev-view.c: (go_to_link), (ev_view_go_to_link),
4960 * shell/ev-window.c: (ev_window_open_link), (ev_window_init):
4961 * shell/ev-window.h:
4963 Rename bookmark to link, and use "Index" for the sidebar panel.
4965 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
4967 * shell/Makefile.am:
4968 * shell/ev-application.c: (ev_application_open_bookmark):
4969 * shell/ev-application.h:
4970 * shell/ev-history.c: (ev_history_init), (free_links_list),
4971 (ev_history_finalize), (ev_history_class_init),
4972 (ev_history_add_link), (ev_history_add_page),
4973 (ev_history_get_link_nth), (ev_history_get_n_links),
4974 (ev_history_get_current_index), (ev_history_set_current_index),
4976 * shell/ev-history.h:
4977 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
4978 * shell/ev-view.c: (ev_view_finalize), (ev_view_set_document),
4979 (set_document_page), (go_to_bookmark), (ev_view_go_to_bookmark),
4980 (go_to_index), (ev_view_go_back), (ev_view_go_forward),
4983 * shell/ev-window.c: (ev_window_open_bookmark),
4984 (ev_window_cmd_go_back), (ev_window_cmd_go_forward),
4985 (goto_page_cb), (register_custom_actions):
4986 * shell/ev-window.h:
4988 Initial history implementation. Needs work.
4990 2005-01-09 Martin Kretzschmar <martink@gnome.org>
4992 * pdf/xpdf/GDKSplashOutputDev.cc (redraw): fix pixbuf data offset.
4994 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
4996 * cut-n-paste/recent-files/egg-recent-item.c:
4997 * cut-n-paste/recent-files/egg-recent-item.h:
4998 * cut-n-paste/recent-files/egg-recent-model.c:
4999 * cut-n-paste/recent-files/egg-recent-util.c:
5000 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
5001 * cut-n-paste/recent-files/egg-recent-view.c:
5005 2005-01-08 Martin Kretzschmar <martink@gnome.org>
5007 * pdf/splash/Splash.cc (clear, drawPixel, drawSpan, xorSpan, getPixel)
5008 (fillGlyph, fillImageMask, drawImage):
5009 pdf/splash/SplashBitmap.cc (SplashBitmap, ~SplashBitmap, writePNMFile):
5010 pdf/splash/SplashTypes.h:
5011 pdf/xpdf/SplashOutputDev (startPage, getColor, imageSrc): implement RGB8
5012 packed mode for Splash.
5014 * pdf/xpdf/GDKSplashOutputDev.cc (GDKSplashOutputDev, redraw): use
5015 RGB8 packed mode, eliminates the pixbuf data creation loop.
5017 * shell/ev-print-job.c (ev_print_job_finalize)
5018 (ev_print_job_set_property, ev_print_job_get_property)
5019 (ev_print_job_set_gnome_print_job, ev_print_job_set_document)
5020 (ev_print_job_use_print_dialog_settings, idle_print_handler)
5021 (print_closure_finalize, ev_print_job_print): implement
5022 printing (for backends with EvPsExporter)
5024 * shell/ev_print_job.h: update prototypes.
5026 * shell/ev-window.c (ev_window_print): unref print job after
5029 * shell/ev-view.c (ev_view_set_document): don't connect to "found"
5030 unless the document implements the EvDocumentFind interface.
5032 2005-01-08 Satoru SATOH <ss@gnome.gr.jp>
5034 * configure.ac: Added ja to ALL_LINGUAS.
5036 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5038 * pdf/xpdf/pdf-document.cc:
5040 add a FIXME. We should probably not allocate
5041 a bookmark object every time
5043 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5045 * shell/ev-application.c: (ev_application_open),
5046 (ev_application_open_bookmark):
5047 * shell/ev-application.h:
5049 Add a way to open bookmarks
5051 * backend/ev-bookmark.c: (ev_bookmark_get_uri),
5052 (ev_bookmark_set_uri), (ev_bookmark_get_property),
5053 (ev_bookmark_set_property), (ev_bookmark_class_init),
5054 (ev_bookmark_new_title), (ev_bookmark_new_link),
5055 (ev_bookmark_new_external):
5057 Support for external uris, better constructors.
5059 * backend/ev-bookmark.h:
5060 * pdf/xpdf/pdf-document.cc:
5061 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
5063 Handle external uris
5065 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5067 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb),
5068 (ev_sidebar_bookmarks_construct), (do_one_iteration):
5070 Hook up bookmarks navigation
5072 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5074 * backend/Makefile.am:
5075 * backend/ev-bookmark.c: (ev_bookmark_type_get_type),
5076 (ev_bookmark_get_title), (ev_bookmark_set_title),
5077 (ev_bookmark_get_bookmark_type), (ev_bookmark_set_bookmark_type),
5078 (ev_bookmark_get_page), (ev_bookmark_set_page),
5079 (ev_bookmark_get_property), (ev_bookmark_set_property),
5080 (ev_window_dispose), (ev_bookmark_init), (ev_bookmark_class_init),
5082 * backend/ev-bookmark.h:
5083 * backend/ev-document-bookmarks.c:
5084 (ev_document_bookmarks_get_bookmark):
5085 * backend/ev-document-bookmarks.h:
5086 * pdf/xpdf/pdf-document.cc:
5087 * shell/ev-sidebar-bookmarks.c: (do_one_iteration):
5089 Add a bookmark object to the backend and use it instead of get_values
5091 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5093 * data/evince-ui.xml:
5095 Cleanup and add select all.
5097 * shell/ev-view.c: (ev_view_select_all),
5098 (ev_view_button_press_event):
5100 * shell/ev-window.c: (ev_window_cmd_edit_select_all):
5103 Clear selection on click.
5105 Fri Jan 7 01:28:58 2005 Jonathan Blandford <jrb@redhat.com>
5107 * shell/ev-sidebar-thumbnails.c
5108 (ev_sidebar_thumbnails_set_document): forgot to unref the
5111 Fri Jan 7 01:22:48 2005 Jonathan Blandford <jrb@redhat.com>
5113 * shell/ev-sidebar-thumbnails.c: fill in the thumbnails starting
5114 at the visible page, not just linearly. This makes it look fast.
5116 Thu Jan 6 18:48:11 2005 Jonathan Blandford <jrb@redhat.com>
5118 * backend/ev-document-misc.c
5119 (ev_document_misc_get_thumbnail_frame): fill in the thumbnail with
5121 * backend/ev-document-thumbnails.h: New interface to get the size
5124 2005-01-06 Jeremy Katz <katzj@redhat.com>
5126 * shell/Makefile.am (evince_SOURCES): Add ev-utils.[ch] so that
5129 Wed Jan 5 15:38:28 2005 Jonathan Blandford <jrb@redhat.com>
5131 * pdf/xpdf/pdf-document.cc (bitmap_to_pixbuf): bypass
5132 GDKSplashOutputDev and just use a normal SplashOutputDev. Speeds
5135 * shell/ev-sidebar-thumbnail.c: start of some profiling code.
5137 2005-01-05 Martin Kretzschmar <martink@gnome.org>
5139 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): match only outline
5140 fonts. Should fix font problems on systems that have the base
5141 fonts in bitmap format. Reported by James Henstridge
5142 <james@jamesh.id.au>.
5144 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5147 * pdf/xpdf/GfxState.cc:
5149 Fix for CAN-2004-1125
5151 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5153 * shell/ev-view.c: (ev_view_copy):
5155 * shell/ev-window.c: (ev_window_cmd_edit_copy):
5157 Implement Edit->Copy
5159 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5161 * backend/ev-document.c: (ev_document_get_text):
5162 * backend/ev-document.h:
5163 * pdf/xpdf/pdf-document.cc:
5164 * shell/ev-view.c: (ev_view_realize), (expose_bin_window),
5165 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
5166 (ev_view_update_primary_selection), (ev_view_button_press_event),
5167 (ev_view_motion_notify_event), (ev_view_button_release_event):
5169 Beginnings of clipboard support. Incomplete but primary sort
5172 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5174 * shell/ev-view.c: (ev_gdk_color_to_rgb), (draw_rubberband),
5175 (expose_bin_window):
5177 Nicer rubberband drawing, from GtkIconView.
5179 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5181 * backend/ev-document.c: (ev_document_save):
5182 * backend/ev-document.h:
5183 * data/evince-ui.xml:
5184 * pdf/xpdf/pdf-document.cc:
5185 * shell/ev-window.c: (save_error_dialog), (ev_window_cmd_save_as):
5187 Implement "Save a copy..." menu item
5189 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5191 * shell/ev-view.c: (ev_view_zoom):
5193 Queue a resize when zoom changes
5195 Wed Jan 5 02:33:06 2005 Jonathan Blandford <jrb@redhat.com>
5197 * backend/ev-document-misc.[ch]: New misc file to do simple drop
5200 * pdf/xpdf/pdf-document.cc: use the drop shadows in both types of
5203 Tue Jan 4 22:32:32 2005 Jonathan Blandford <jrb@redhat.com>
5205 * pdf/xpdf/pdf-document.cc
5206 (pdf_document_thumbnails_get_page_pixbuf): poor man's dropshadow.
5208 Tue Jan 4 21:25:05 2005 Jonathan Blandford <jrb@redhat.com>
5210 * pdf/xpdf/pdf-document.cc: Do real thumbnailing of PDF files.
5211 It's slow, but I'll speed it up next!
5213 2005-01-04 Jeff Muizelaar <jrmuizel@nit.ca>
5215 * shell/main.c (load_files):
5217 use gnome_vfs_make_uri_from_shell_arg so that relative paths work
5218 from the command line and because it seems more appropriate.
5220 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
5222 * data/evince-ui.xml:
5223 * shell/ev-window.c: (update_action_sensitivity),
5224 (ev_window_cmd_go_page_up), (ev_window_cmd_go_page_down):
5226 s/next page/page down
5227 s/previous page/page up
5229 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
5231 * data/evince-ui.xml:
5233 Change the layout to match clarkbw design.
5235 * shell/Makefile.am:
5236 * shell/ev-navigation-action.c: (build_menu), (menu_activated_cb),
5237 (set_tooltip_cb), (connect_proxy), (ev_navigation_action_init),
5238 (ev_navigation_action_finalize),
5239 (ev_navigation_action_set_property),
5240 (ev_navigation_action_get_property),
5241 (ev_navigation_action_class_init):
5242 * shell/ev-navigation-action.h:
5244 Implement clarkbw toolbar navigation controls (incomplete)
5246 * shell/ev-page-action.c: (update_label), (update_spin),
5247 (value_changed_cb), (create_tool_item), (connect_proxy),
5248 (ev_page_action_init), (ev_page_action_finalize),
5249 (ev_page_action_set_property), (ev_page_action_get_property),
5250 (ev_page_action_set_current_page),
5251 (ev_page_action_set_total_pages), (ev_page_action_class_init):
5252 * shell/ev-page-action.h:
5254 Implement a page switcher in the toolbar
5256 * shell/ev-view.c: (ev_view_scroll_view):
5257 * shell/ev-window.c: (update_total_pages), (ev_window_open),
5258 (update_current_page), (view_page_changed_cb), (goto_page_cb),
5259 (register_custom_actions), (ev_window_init):
5261 Change page on PageUp/Down.
5263 Tue Jan 4 03:22:56 2005 Jonathan Blandford <jrb@redhat.com>
5265 * pdf/xpdf/pdf-document.cc
5266 (pdf_document_thumbnails_get_thumbnail): initial stab at
5267 implementing thumbnail support for pdfs. It only does documents
5268 with precached pdfs now.
5270 Mon Jan 3 17:22:25 2005 Jonathan Blandford <jrb@redhat.com>
5272 * shell/ev-sidebar-thumbnails.c (do_one_iteration): move the
5273 thumbnail code into a time-based idle as well. Also, turn off the
5274 shadow temporarily as it's really slow.
5276 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
5278 * backend/ev-document.c: (ev_document_class_init):
5279 * pdf/xpdf/pdf-document.cc:
5280 * shell/ev-window.c: (ev_window_open):
5282 Fix document title bugs and fallback to
5283 filename when not available.
5285 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
5287 * backend/ev-document.c: (ev_document_get_type),
5288 (ev_document_class_init), (ev_document_load),
5289 (ev_document_get_title):
5290 * backend/ev-document.h:
5291 * pdf/xpdf/pdf-document.cc:
5292 * ps/ps-document.c: (ps_document_set_property),
5293 (ps_document_get_property), (ps_document_class_init),
5297 * shell/ev-window.c: (update_window_title), (ev_window_open),
5300 Initial support for document title. Not working yet.
5302 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
5304 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event):
5306 Grab focus on the view when clicking it
5308 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
5310 * shell/ev-marshal.list:
5311 * shell/ev-view.c: (ev_view_realize), (add_scroll_binding),
5312 (ev_view_scroll_view), (ev_view_class_init), (ev_view_init):
5314 Add key bindings to the view. Now if the focus would work
5317 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
5320 * backend/Makefile.am:
5323 * dvi/dvilib/Makefile.am:
5324 * pdf/xpdf/Makefile.am:
5330 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5332 * shell/ev-view.c: (ev_view_realize):
5334 Fix mouse wheel scrolling
5336 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5342 * ps/ps-document.c: (catchPipe), (ps_document_init),
5343 (ps_document_class_init), (ps_document_cleanup),
5344 (ps_document_finalize), (send_ps), (ps_document_get_orientation),
5345 (set_up_page), (close_pipe), (is_interpreter_ready),
5346 (interpreter_failed), (output), (input), (start_interpreter),
5347 (stop_interpreter), (file_length), (file_readable),
5348 (check_filecompressed), (check_pdf), (compute_xdpi),
5349 (compute_ydpi), (compute_size), (ps_document_enable_interpreter),
5350 (ps_document_get_type), (ps_document_emit_error_msg),
5351 (document_load), (ps_document_next_page),
5352 (ps_document_get_current_page), (ps_document_get_page_count),
5353 (ps_document_goto_page), (ps_document_set_page_size),
5354 (ps_document_zoom_to_fit), (ps_document_set_zoom),
5355 (ps_document_load), (ps_document_get_n_pages),
5356 (ps_document_set_page), (ps_document_get_page),
5357 (ps_document_widget_event), (ps_document_set_target),
5358 (ps_document_set_scale), (ps_document_set_page_offset),
5359 (ps_document_get_page_size), (ps_document_render),
5360 (ps_document_document_iface_init):
5363 * shell/ev-window.c: (ev_window_open):
5365 Rename GtkGS to PSDocument
5367 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5369 * ps/gtkgs.c: (gtk_gs_class_init):
5372 Some more leftover...
5374 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5376 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_get_orientation),
5377 (output), (stop_interpreter), (gtk_gs_emit_error_msg),
5378 (gtk_gs_zoom_to_fit), (gtk_gs_set_zoom):
5381 Remove unused code and make a lot of stuff private
5383 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5385 * ps/gsdefaults.c: (gtk_gs_defaults_gconf_client),
5386 (gtk_gs_defaults_changed):
5392 Cleanup headers dependencies
5394 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5399 * ps/gsdefaults.c: (gtk_gs_defaults_get_paper_sizes):
5401 * ps/gtkgs.c: (file_length), (file_readable),
5402 (check_filecompressed), (check_pdf), (gtk_gs_load),
5403 (gtk_gs_get_postscript):
5407 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
5412 * ps/gtkgs.c: (gtk_gs_set_zoom):
5416 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
5418 * ps/gtkgs.c: (gtk_gs_set_zoom), (gtk_gs_set_zoom_mode):
5420 Ensure the page is rerendered when changing zoom
5422 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
5424 * backend/ev-document.c: (ev_document_base_init),
5425 (ev_document_changed):
5426 * backend/ev-document.h:
5428 Add a changed event that is emitted when the page content
5429 changes. This is necessary to deal with the fact that
5430 in ps backend rendering happen asycrounously.
5431 This makes the ps backend mostly work.
5433 * pdf/xpdf/pdf-document.cc:
5437 * ps/gtkgs.c: (set_up_page), (gtk_gs_widget_event),
5438 (ps_document_set_target):
5442 * shell/ev-view.c: (document_changed_callback),
5443 (ev_view_set_document), (ev_view_set_page):
5445 Redraw on the changed signal
5447 2004-12-25 Raphael Higino <raphaelh@cvs.gnome.org>
5449 * configure.ac: Added pt_BR to ALL_LINGUAS.
5451 Fri Dec 24 00:48:44 2004 Jonathan Blandford <jrb@redhat.com>
5453 * backend/ev-document-bookmarks.c:
5454 (ev_document_bookmarks_get_child): *
5455 backend/ev-document-bookmarks.h: * pdf/xpdf/Makefile.am: *
5456 pdf/xpdf/pdf-document.cc: * pdf/xpdf/pdf-document.h: *
5457 shell/Makefile.am: * shell/ev-sidebar-bookmarks.c:
5458 (ev_sidebar_bookmarks_destroy),
5459 (ev_sidebar_bookmarks_class_init),
5460 (ev_sidebar_bookmarks_construct), (stack_data_free),
5461 (do_one_iteration), (populate_bookmarks_idle),
5462 (ev_sidebar_bookmarks_clear_document),
5463 (ev_sidebar_bookmarks_set_document): *
5464 shell/ev-sidebar-bookmarks.h: * shell/ev-sidebar.c:
5465 (ev_sidebar_add_page),
5466 (ev_sidebar_set_document): * shell/ev-window.c: (ev_window_open):
5467 Initial stab at a bookmarks sidebar. It doesn't navigate yet, but
5468 it displays both the topics and the page numbers.
5470 2004-12-23 Kristian Høgsberg <krh@redhat.com>
5472 * shell/ev-window.c (ev_window_view_sidebar_cb): Hook up sidebar
5474 * shell/ev-window.c (toggle_entries): Set sidebar default value to
5477 2004-12-23 Adam Weinberger <adamw@gnome.org>
5479 * configure.ac: Added en_CA to ALL_LINGUAS.
5481 2004-12-23 Martin Kretzschmar <martink@gnome.org>
5483 * ChangeLog: replace bottom of this ChangeLog (merged history of
5484 ggv and gpdf; where all paths were wrong and most of the files are
5485 not even in this tree) with ChangeLog (from arch) of the shell
5488 2004-12-23 Havoc Pennington <hp@redhat.com>
5490 * shell/ev-window.c: hook up potentially-questionable "find
5491 results status text" feature - something involving the sidebar or
5492 scrollbar or a continuous all-pages-on-giant-roll-of-paper-view
5493 might be better in the end.
5495 * shell/ev-view.c (ev_view_get_find_status_message): new function,
5496 with corresponding signal when it should be updated
5498 * shell/eggfindbar.c (egg_find_bar_set_status_text): new function
5500 2004-12-22 Havoc Pennington <hp@redhat.com>
5502 * pdf/xpdf/pdf-document.cc (pdf_document_find_begin): make search
5503 find stuff on other pages, sort of (only returns one result on
5504 invisible pages, to show they have results; updates full results
5505 for a page when you view it). Currently repaints the current page
5506 every time a new result is found on any page, which isn't so nice.
5508 2004-12-22 Havoc Pennington <hp@redhat.com>
5510 * shell/ev-window.c (ev_window_cmd_edit_find): display an error if
5511 the document doesn't support find (better ideas?)
5512 (find_bar_search_changed_cb): handle missing document or document
5513 that doesn't support find
5515 * pdf/xpdf/pdf-document.cc: port to implement the new
5518 * backend/ev-document-find.c: create a new interface for searching
5520 * backend/ev-document.h, backend/ev-document.c: delete the find stuff
5522 2004-12-23 Martin Kretzschmar <martink@gnome.org>
5524 * pdf/xpdf/Makefile.am (libpdfdocument_la_LIBADD): add
5527 * shell/ev-window.c (ev_window_print): add GnomePrintJob to
5528 EvPrintJob constructor arguments.
5530 * backend/ev-ps-exporter.c, backend/ev-ps-exporter.h: interface
5531 for documents that can export PostScript (page by page).
5533 * backend/Makefile.am (libevbackend_la_SOURCES): add them.
5535 * pdf/xpdf/pdf-document.cc (pdf_document_ps_export_begin)
5536 (pdf_document_ps_export_do_page, pdf_document_ps_export_end)
5537 (pdf_document_ps_exporter_iface_init:
5538 Implement EvPSExporter.
5540 * pdf/xpdf/Makefile.am (libxpdf_la_SOURCES): build PSOutputDev.
5542 2004-12-22 Anders Carlsson <andersca@gnome.org>
5544 * backend/Makefile.am:
5545 * backend/ev-document-thumbnails.c:
5546 (ev_document_thumbnails_get_type),
5547 (ev_document_thumbnails_get_thumbnail):
5548 * backend/ev-document-thumbnails.h:
5549 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
5550 (pixbuf_document_thumbnails_get_thumbnail),
5551 (pixbuf_document_document_thumbnails_iface_init):
5552 * shell/Makefile.am:
5553 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_destroy),
5554 (ev_sidebar_thumbnails_class_init), (ev_sidebar_thumbnails_init),
5555 (populate_thumbnails), (ev_sidebar_thumbnails_set_document):
5556 * shell/ev-sidebar-thumbnails.h:
5557 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
5558 (ev_sidebar_set_document):
5559 * shell/ev-utils.c: (gaussian), (create_blur_filter),
5560 (create_shadow), (ev_pixbuf_add_shadow):
5562 Add thumbnail support.
5564 2004-12-22 Martin Kretzschmar <martink@gnome.org>
5566 * shell/ev-window.c (ev_window_cmd_file_print, ev_window_print)
5567 (using_postscript_printer): Set up a print dialog for "PostScript
5570 * shell/ev-print-job.h, shell/ev-print-job.c: stub classes for
5573 * shell/Makefile.am (evince_SOURCES): add ev-print-job.[ch]
5575 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
5577 * ps/gtkgs.c: (gtk_gs_init), (set_up_page),
5578 (ps_document_set_target), (ps_document_get_page_size),
5579 (ps_document_render):
5584 2004-12-22 Christian Rose <menthos@menthos.com>
5586 * configure.ac: Added "sv" to ALL_LINGUAS.
5588 Wed Dec 22 14:47:38 2004 Jonathan Blandford <jrb@redhat.com>
5590 * backend/ev-document-bookmarks.[ch]: new interface to indicate
5591 document supports bookmarks.
5593 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
5595 * ps/ggvutils.c: (ggv_file_readable):
5597 * ps/gtkgs.c: (check_filecompressed), (check_pdf),
5598 (gtk_gs_get_postscript):
5602 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
5604 * ps/gtkgs.c: (gtk_gs_init), (gtk_gs_class_init), (gtk_gs_cleanup),
5605 (gtk_gs_finalize), (gtk_gs_set_center), (set_up_page), (output),
5606 (start_interpreter), (compute_size), (gtk_gs_enable_interpreter),
5607 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_reload),
5608 (gtk_gs_emit_error_msg), (gtk_gs_disable_interpreter),
5609 (gtk_gs_load), (gtk_gs_goto_page), (gtk_gs_set_page_size),
5610 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
5611 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
5612 (gtk_gs_set_antialiasing), (ps_document_load),
5613 (ps_document_render):
5616 Another check point for the ps backend. Now I can get it to show
5619 Wed Dec 22 13:41:01 2004 Jonathan Blandford <jrb@redhat.com>
5621 * shell/ev-sidebar.c (ev_sidebar_set_document): initial sidebar
5622 document setting code.
5624 2004-12-22 Anders Carlsson <andersca@gnome.org>
5626 * shell/eggfindbar.c: (entry_activate_callback):
5627 Animate the next button when activate is pressed.
5629 2004-12-22 Anders Carlsson <andersca@gnome.org>
5631 * shell/ev-window.c: (ev_window_cmd_edit_find),
5632 (update_fullscreen_popup), (ev_window_fullscreen),
5633 (ev_window_unfullscreen), (ev_window_state_event_cb),
5634 (ev_window_focus_out_cb), (find_bar_close_cb), (ev_window_init):
5635 Fix bugs in fullscreen code.
5637 2004-12-22 Anders Carlsson <andersca@gnome.org>
5641 * pixbuf/Makefile.am:
5642 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
5643 (pixbuf_document_load), (pixbuf_document_get_n_pages),
5644 (pixbuf_document_set_page), (pixbuf_document_get_page),
5645 (pixbuf_document_set_target), (pixbuf_document_set_scale),
5646 (pixbuf_document_set_page_offset), (pixbuf_document_get_page_size),
5647 (pixbuf_document_render), (pixbuf_document_begin_find),
5648 (pixbuf_document_end_find), (pixbuf_document_finalize),
5649 (pixbuf_document_class_init),
5650 (pixbuf_document_document_iface_init), (pixbuf_document_init):
5651 * pixbuf/pixbuf-document.h:
5652 * shell/Makefile.am:
5653 * shell/ev-application.c: (ev_application_open):
5654 * shell/ev-window.c: (mime_type_supported_by_gdk_pixbuf),
5658 Tue Dec 21 21:45:43 2004 Soeren Sandmann <sandmann@redhat.com>
5661 * dvi/dvilib/Makefile.am:
5663 * configure.ac: Auto*ify dvi and dvi/dvilib
5665 * dvi/Makefile: Remove from CVS
5667 * dvi/dvilib/dl-pkfont.cc (unpack_bitmap): Fix uchar/uint
5670 * dvi/dvilib/dl-fontdefinition.{cc,hh}: New DviFontMap class
5672 * dvi/dvilib/dl-vffont.{cc,hh}: Many bugfixes to VF code.
5674 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
5677 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_finalize),
5678 (gtk_gs_value_adjustment_changed), (compute_size),
5679 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_new_from_file),
5680 (gtk_gs_center_page), (gtk_gs_load), (gtk_gs_set_page_size),
5681 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
5682 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
5683 (gtk_gs_start_scroll), (gtk_gs_get_postscript),
5684 (gtk_gs_set_adjustments), (gtk_gs_set_available_size),
5685 (ps_document_load), (ps_document_get_n_pages),
5686 (ps_document_set_page), (ps_document_get_page),
5687 (ps_document_set_target), (ps_document_set_scale),
5688 (ps_document_set_page_offset), (ps_document_get_page_size),
5689 (ps_document_render), (ps_document_begin_find),
5690 (ps_document_end_find), (ps_document_document_iface_init):
5692 * shell/Makefile.am:
5693 * shell/ev-window.c: (ev_window_open):
5695 Some work to integrate gtkgs with EvDocument
5697 2004-12-22 Anders Carlsson <andersca@gnome.org>
5699 * shell/ev-window.c: (update_fullscreen_popup),
5700 (screen_size_changed_cb), (destroy_exit_fullscreen_popup),
5701 (exit_fullscreen_button_clicked_cb),
5702 (fullscreen_popup_size_request_cb), (ev_window_fullscreen),
5703 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
5704 (ev_window_state_event_cb), (ev_window_init):
5705 Add fullscreen support from Epiphany.
5707 2004-12-22 Mark McLoughlin <mark@skynet.ie>
5709 * data/ev-stock-zoom-fit-width.png: fit-width
5710 stock icon from gpdf.
5712 * shell/ev-stock-icons.[ch]: copied from gpdf.
5714 * shell/main.c: (main): init stock icons.
5716 * shell/ev-window.c: use the fit-width icon.
5718 * data/evince-ui.xml: add zooming toolbar items.
5720 2004-12-22 Mark McLoughlin <mark@skynet.ie>
5723 (ev_view_best_fit), (ev_view_fit_width): because
5724 get_page_size() returns the scaled page size, we
5725 need to calculate the scale factor relative to
5726 the previous scale factor. Should really just
5727 add get_real_page_size().
5729 2004-12-22 Mark McLoughlin <mark@skynet.ie>
5731 * shell/ev-view.[ch]:
5732 (ev_view_zoom), (ev_view_zoom_in), (ev_view_zoom_out),
5733 (ev_view_normal_size), (ev_view_best_fit), (ev_view_fit_width):
5736 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
5737 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_normal_size),
5738 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width):
5741 * pdf/xpdf/pdf-document.cc:
5742 (pdf_document_begin_find),
5743 (pdf_document_end_find): make static.
5745 2004-12-22 Martin Kretzschmar <martink@gnome.org>
5747 * pdf/xpdf/GlobalParams.h (setupBaseFontsFc): add prototype.
5749 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): maps base font
5750 names to fontconfig patterns.
5751 (setupBaseFontsFc): setupBaseFonts reimplemented using fontconfig.
5753 * pdf/xpdf/pdf-document.cc (pdf_document_load): use
5756 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
5772 Import ggv backend. Not hooked up yet.
5774 2004-12-22 Mark McLoughlin <mark@skynet.ie>
5776 * shell/main.c: (load_files), (main): load files
5777 from the command line.
5779 2004-12-22 Mark McLoughlin <mark@skynet.ie>
5781 * configure.ac: don't require bonobo.
5783 * cut-n-paste/recent-files/*: kill bonobo recent
5786 * shell/ev-window.c:
5787 (ev_window_is_empty): upd.
5788 (unable_to_load), (ev_window_open): load backend
5789 based on the mime type.
5791 2004-12-22 Martin Kretzschmar <martink@gnome.org>
5793 * backend/.cvsignore: ignore generated marshalers source.
5795 * shell/main.c (main): this is not epiphany.
5797 2004-12-22 Havoc Pennington <hp@redhat.com>
5799 * shell/ev-view.c (ev_view_set_document): connect to "found" signal
5800 (expose_bin_window): draw find highlights
5802 * shell/ev-window.c (find_bar_search_changed_cb): implement
5804 * pdf/xpdf/pdf-document.cc (pdf_document_begin_find)
5805 (pdf_document_end_find): implement this interface
5807 * backend/ev-document.c (ev_document_found): add this to emit
5810 Tue Dec 21 23:57:37 2004 Owen Taylor <otaylor@redhat.com>
5812 * data/evince-ui.xml: Add a few more toolbar items.
5814 * shell/ev-window.c: Hook up page navigation toolbar
5817 * shell/ev-view.[ch]: add ev_view_set/get_page and
5818 a page-changed signal.
5820 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc::
5821 Add ev_document_get_page().
5823 * shell/ev-window.c: Sensitize/desensitize navigation
5826 2004-12-21 Havoc Pennington <hp@redhat.com>
5828 * backend/ev-backend-marshal.c,
5829 backend/ev-backend-marshalers.list, backend/Makefile.am: add
5830 marshaler-generator thingy. I'm sure there's a better way to do
5831 this in the modern world.
5833 * backend/ev-document.h (struct _EvDocumentIface): add begin_find,
5834 end_find methods and "found" signal.
5836 * configure.ac: find glib-genmarshal
5838 Tue Dec 21 23:20:35 2004 Jonathan Blandford <jrb@redhat.com>
5840 * shell/ev-sidebar.c: Construct an actual sidebar.
5841 * shell/ev-sidebar-bookmarks.[ch]:
5842 * shell/ev-sidebar-thumbnails.[ch]: Stub out sidebars.
5844 Tue Dec 21 23:05:51 2004 Owen Taylor <otaylor@redhat.com>
5846 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc:
5849 * shell/ev-view.c: Track the size from the document.
5851 Tue Dec 21 22:17:04 2004 Owen Taylor <otaylor@redhat.com>
5853 * pdf/xpdf/pdf-document.cc (pdf_document_load): PDFDoc
5854 constructor assumes ownership of the string passed in.
5856 * shell/ev-window.c (ev_window_open): Destroy the error
5857 dialog once we've displayed it.
5859 Tue Dec 21 21:58:56 2004 Owen Taylor <otaylor@redhat.com>
5861 * pdf/xpdf/pdf-document.cc shell/ev-view.c: Hook things up
5862 a bit, it works! (sort of)
5864 * pdf/xpdf/Makefile.am pdf/xpdf/pdf-document.cc:
5865 Move to .cc since we need to use C++ in the implementation.
5867 * shell/dummy.cc: Add a CC file to force evince
5868 to be linked as a C++ program.
5870 Tue Dec 21 21:07:55 2004 Owen Taylor <otaylor@redhat.com>
5872 * shell/ev-view.[ch]: Start of content-area widget.
5874 * shell/ev-window.c: Create a EvView, update it
5875 as we change documents.
5877 * shell/Makefile.am shell/ev-marshal.list: Add
5878 generated marshalers.
5880 Tue Dec 21 20:28:11 2004 Jonathan Blandford <jrb@redhat.com>
5882 * Makefile.am (SUBDIRS): move shell.
5884 Tue Dec 21 19:28:55 2004 Owen Taylor <otaylor@redhat.com>
5886 * pdf/{goo,fofi,splash,xpdf}/Makefile.am: Switch from
5887 .a to libtool convenience libraries.
5889 * shell/ev-window.c (ev_window_open): Hard code loading
5892 * backend/ev-document.h: Add a boolean return to load(),
5893 fix GError * to GError **.
5895 * pdf/xpdf/pdf-document.[ch] Makefile.am: Add a stub
5896 object for a PDF backend EvDocument.
5898 Tue Dec 21 18:55:06 2004 Søren Sandmann <sandmann@redhat.com>
5900 * dvi/*: New directory with the beginning of a .dvi backend.
5902 2004-12-21 Havoc Pennington <hp@redhat.com>
5904 * shell/eggfindbar.c (egg_find_bar_init): change buttons to
5905 previous/next instead of back/forward
5907 Tue Dec 21 18:26:24 2004 Owen Taylor <otaylor@redhat.com>
5909 * backend/ev-document.[ch]: Fix a couple of problems so
5912 Tue Dec 21 18:20:40 2004 Owen Taylor <otaylor@redhat.com>
5914 * viewer/* backend/* configure.ac Makefile.am: Move viewer directory
5915 to backend/ directory, rename EvViewer to EvDocument.
5917 2004-12-21 Havoc Pennington <hp@redhat.com>
5919 * shell/ev-window.c: hook up the find bar widget; now we just need
5920 a document to find things in
5922 * shell/eggfindbar.c: a find bar widget
5924 Tue Dec 21 17:20:16 2004 Jonathan Blandford <jrb@redhat.com>
5926 * shell/ev-sidebar.[ch]: initial sidebar boilerplate.
5928 Tue Dec 21 16:30:58 2004 Owen Taylor <otaylor@redhat.com>
5930 * pdf/**: Import of xpdf code from gpdf.
5932 * pdf/xpdf/xpdfconfig.h: Move the non-config.h config.h to xpdfconfig.h
5934 * pdf/splash/SplashFTFont.{cc,h} pdf/splash/SplashFTFont.h
5935 pdf/splash/SplashFTFontEngine.h pdf/splash/SplashFTFontFile.h:
5936 Fix FreeType includes.
5938 * pdf/xpdf/{Error.h GnomeVFSStream.cc ImageOutputDev.cc PDFDoc.cc\
5939 pdffonts.cc pdfimages.cc pdfinfo.cc pdftoppm.cc pdftops.cc
5940 pdftotext.cc PSOutputDev.cc PSOutputDev.h SplashOutputDev.h
5941 Stream.cc TextOutputDev.cc XPDFApp.cc xpdf.cc XPDFViewer.cc
5942 pdf/xpdf/Error.h PSOutputDev.h SplashOutputDev.h}:
5943 Include xpdfconfig.h
5945 Tue Dec 21 16:08:17 2004 Jonathan Blandford <jrb@redhat.com>
5947 * shell/ev-window.c (ev_window_dispose): dispose can be called
5950 2004-12-21 Havoc Pennington <hp@redhat.com>
5952 * shell/ev-window.c (ev_window_init): set title to Document Viewer
5955 * data/evince-ui.xml, shell/ev-window.c: add a bunch of stub menu
5956 items; really they should be synced with the strings, etc. from
5957 current gpdf, but just getting the boring typing out of the way
5959 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
5962 * shell/ev-application.c: (window_destroy_cb):
5963 * shell/ev-window.c:
5964 * shell/main.c: (main):
5966 Actually show the window...
5968 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
5971 * shell/Makefile.am:
5972 * shell/ev-application.c: (ev_application_class_init):
5973 * shell/ev-window.c: (ev_window_dispose), (ev_window_class_init):
5977 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
5979 Import to gnome cvs.
5981 * Remove copies of gpdf and ggv trees.
5982 * Rip out all the recursive configure code.
5983 * Remove bonobo machinery.
5984 * viewer/*: GInterfaces that backends should/can implement.
5986 2004-11-09 Martin Kretzschmar <m_kretzschmar@gmx.net>
5988 * shell/ev-window.c (ev_window_cmd_help_about): fix "documentors"
5991 2004-10-28 Martin Kretzschmar <m_kretzschmar@gmx.net>
5993 * shell/ev-application.c (EV_APPLICATION_GET_PRIVATE)
5994 (ev_application_finalize, ev_application_class_init)
5995 (ev_application_init): use GType instance private data for priv.
5997 * shell/ev-window.c (EV_WINDOW_GET_PRIVATE)
5998 (ev_window_finalize, ev_window_class_init)
5999 (ev_window_init): ditto.
6001 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
6003 * shell/ev-application.c (ev_application_new_window): make public
6004 (ev_application_show_initial_window): kill.
6006 * shell/ev-application.h: update prototypes.
6008 * shell/main.cc (main): inline ev_application_show_initial_window.
6010 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
6012 * shell/ev-application.c (ev_application_new_window): impl.
6013 (ev_application_show_initial_window): use it.
6014 (is_window_empty, ev_application_get_empty_window): returns an
6015 existing empty window or a new one.
6016 (ev_application_open): from ev_window_cmd_file_open.
6018 * shell/ev-application.h: update prototypes
6020 * shell/ev-window.c (ev_window_is_empty): impl.
6021 (ev_window_open): make public.
6022 (ev_window_cmd_file_open): use ev_application_open
6024 * shell/ev-window.h: update prototypes, remove unused.
6026 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
6028 * shell/ev-window.c (ev_window_destroy, ev_window_class_init):
6029 move destroy handler out of here...
6031 * shell/ev-application.c, shell/ev-application.h: ...into this new
6032 class. Also handles initial window creation.
6034 * shell/main.cc (main): use EvApplication to create initial
6037 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
6039 * Makefile.am (SUBDIRS): add cut-n-paste
6041 * cut-n-paste/Makefile.am: add
6043 * configure.ac: generate Makefiles in cut-n-paste
6045 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
6047 * shell/ev-window.c (ev_window_dispose): new, unref the ui_manager
6048 (ev_window_class_init): install ev_window_dispose.
6050 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
6052 * shell/ev-window.h, shell/ev-window.c: replace gchar with
6053 char (gchar looks stupid).
6055 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
6057 * po/de.po: updated German translation.
6059 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
6061 * configure.ac: add more pkg-config library checks for gnome-vfs,
6064 * gpdf/configure.in: temporarily disable libpaper
6065 checks. Otherwise I'd have to add the checks for the shell, too.
6067 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6069 * shell/ev-window.c (ev_window_cmd_file_open): add ps+pdf, ps, pdf
6070 and * file filters to the file choose.
6072 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6074 * po/de.po: Updated German translation.
6076 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6078 * shell/ev-window.c: use "S" as mnemonic for Statusbar.
6080 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6082 * data/evince-ui.xml: add View->Toolbar and View->Statusbar.
6084 * shell/ev-window.c (menu_item_select_cb, menu_item_select_cb)
6085 (ev_window_init): implement those menuitems.
6087 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6089 * data/evince-ui.xml: add a toolbar (with FileOpen action)
6091 * shell/ev-window.c (ev_window_init): use the toolbar.
6093 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6095 * shell/ev-window.c (ev_window_init): use menu translations
6097 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6099 * configure.ac: add "de" to ALL_LINGUAS.
6101 * po/de.po: add German translation.
6103 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6105 * Makefile.am (SUBDIRS): add po
6107 * configure.ac: check intltool, glib-gettext etc, generate
6110 * po, po/POTFILES.in, po/POTFILES.skip: new.
6112 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6114 * shell/Makefile.am (INCLUDES): define GNOMELOCALEDIR which we
6115 already use (#ifdef ENABLE_NLS)
6117 * shell/ev-window.c (ev_window_cmd_help_about): fix two star
6118 pointer indirection thinko.
6120 * shell/main.c: include gi18n.h for bindtextdomain etc.
6122 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6124 * shell/ev-window.c (menu_item_select_cb, menu_item_deselect_cb)
6125 (connect_proxy_cb, disconnect_proxy_cb, ev_window_init): show
6126 tooltips for menu items in the statusbar.
6128 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6130 * configure.ac, data/Makefile.am, shell/Makefile.am: use
6131 pkgdatadir drop UIDIR
6133 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6135 * data/evince-ui.xml: Add File->Open menu item
6137 * shell/ev-window.c (ev_window_cmd_file_open): impl. (shows a file
6138 chooser), hook it up in the ui manager.
6140 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6142 * shell/ev-window.c: fix Help->About tooltip.
6144 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6146 * configure.ac: set CFLAGS for libevprivate.
6148 * lib/ev-stock-icons.h, lib/ev-stock-icons.c: stock icon
6149 definitions, factory etc.
6151 * lib/Makefile.am: build libevprivate.a (only stock icon code).
6153 * shell/Makefile.am: link against libevprivate.a.
6155 * shell/ev-window.c (entries): add stock icon to Help->About.
6157 * shell/main.c (main): init stock icon code.
6159 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6161 * lib/recent-files: egg recent files code
6163 * lib/Makefile.am: add.
6165 * Makefile.am: add lib subdir.
6167 * configure.ac: gen. lib/Makefile and lib/recent-files/Makefile,
6168 set CFLAGS for recent-files.
6170 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6172 * configure.ac: disable -ansi and -pedantic gcc flags. They
6173 disable POSIX stuff in stdio.h, but egg-recent uses them.
6175 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6177 * configure.ac: add --disable-deprecated flag (defaults to on in
6180 * shell/Makefile.am (INCLUDES): use it.
6182 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6184 * shell/main.c: add missing #include.
6186 * shell/ev-window.c: fix for pedantic gcc.
6187 (ev_window_cmd_help_about): split license into paragraphs for
6188 translators and pedantic compilers.
6190 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6192 * configure.ac: add more warning flags if compiling with gcc from
6193 cvs (or explicitly requested with --enable-more-warnings).
6195 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6197 * data/evince-ui.xml: add File and File->Close menu.
6199 * shell/ev-window.c (ev_window_cmd_file_close_window): impl.
6200 (ev_window_destroy): quit after destroy.
6201 (ev_window_class_init): override GtkObject::destroy.
6202 (entries): install close_window callback.
6204 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6206 * Makefile.am (SUBDIRS): add data subdir.
6208 * configure.ac (UIDIR): gen data/Makefile, define UIDIR. Require
6209 gtk+ 2.5.0 for GtkAboutDialog.
6211 * data/Makefile.am, data/evince-ui.xml: add, ui definition for the
6214 * shell/Makefile.am (INCLUDES): propagate UIDIR definition.
6216 * shell/ev-window.c (ev_window_init): create a menubar, using a ui
6218 (ev_window_cmd_help_about): about command, using GtkAboutDialog.
6220 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6222 * shell/ev-window.c, shell/ev-window.h: Created an EvWindow class.
6224 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
6226 * shell/main.c: make it a trivial gtk+ program, adjust configure.ac
6228 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
6230 * shell/*: Added shell directory boilerplate, build it.
6232 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
6234 * configure.ac, Makefile.am: Added top-level configure.ac and